Gregor Wassmann
3350a412da
feat(v11): TooltipDefinition
...
In v11 the definintion tooltip uses the `Popover` component internally. While the component is called `DefinitionTooltip` in the reference implementation, it is not renamed at this point.
- rename `tooltipText` to `definition`
- rename `tooltip` slot to `definition`
- remove `direction` (see `align`)
- use `align` values from `Popover` and set to `bottom-left` as default instead of `center`
2023-10-07 14:07:57 +02:00
Eric Liu
2f026f792a
feat(typescript)!: support svelte 4 ( #1773 )
...
Closes #1753
The minimum Svelte version required for TypeScript users is now 3.55.
2023-07-19 09:44:56 -07:00
Eric Liu
7fdc2ef7f0
fix(types): allow data-*
attributes for props forwarded to HTML elements ( #1741 )
...
* chore(deps-dev): upgrade `sveld` to v0.18.1
* Run "yarn build:docs"
* test: assert that `data-*` attributes are valid
2023-07-08 16:41:44 -07:00
metonym
ea38cd2568
feat(types): support sveltekit:prefetch
, sveltekit:noscroll
attributes in type definitions ( #1234 )
...
* chore(deps-dev): upgrade sveld to 0.14.0
* Run "yarn build:docs"
2022-04-09 14:13:56 -07:00
metonym
714f47a635
fix(types): dispatched events without a detail value should be null
( #1124 )
...
Currently, dispatched events without `e.detail` have a type of `any`.
We can be more specific as a `CustomEvent` detail value is `null`.
2022-02-21 09:42:42 -08:00
metonym
20e61724c1
feat(tooltip-definition): export open prop, dispatch open/close events ( #1057 )
2022-02-09 20:00:38 -08:00
Eric Liu
3203e7a61f
Upgrade sveld to v0.10 ( #856 )
...
* chore(deps-dev): upgrade sveld to v0.10.2
* feat(types): regenerate types using sveld@0.10.2
* fix(types): update @extends to use .svelte extension
2021-10-16 12:34:29 -07:00
Eric Y Liu
913186ef9c
v0.38.0
2021-06-27 08:50:34 -07:00
Eric Liu
bcd28de86e
feat(types): use the SvelteComponentTyped interface in the TypeScript definitions ( #515 )
2021-02-07 11:25:20 -08:00
Eric Liu
75d4b4cf03
refactor(types): shorten ref, id JSDocs, use CarbonIcon type, export component props
2020-11-06 11:30:46 -08:00
Eric Liu
3c04f122b0
refactor(types): rewrite type definitions to account for intrinsic attributes
2020-11-03 05:44:11 -08:00