Gregor Wassmann
d139d19524
feat(v11): Popover
...
* Breaking changes *
- The `Popover` now uses a different markup. The trigger becomes a child of the component.
- The new `PopoverContent` becomes an additional child of the `Popover` component.
- remove `relative` property
2023-10-07 14:07:51 +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
Maxime Fafard
0f8a57b9d2
fix(popover): fire "click:outside" event when clicking sibling elements ( #1570 )
2022-12-07 20:10:45 -08:00
metonym
88d5152343
fix(types): narrow dispatched events without detail to use null
instead of any
( #1295 )
...
* chore(deps-dev): upgrade sveld to v0.15.2
* Run "yarn build:docs"
2022-05-13 09:56:21 -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
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 Liu
5fad0cb3c7
Alignment with Carbon version 10.31 ( #571 )
...
* chore(deps-dev): upgrade carbon-components to v10.31.0
* fix(slider): use CSS to hide input if hideTextInput is true
* docs(slider): add hidden text input, invalid, disabled examples
* feat(tabs): support "container" type for TabsSkeleton
* chore(list-box): remove hotfix inline style to center dropdown chevron
* fix(number-input): use add, subtract icons and update markup
* feat(select): add warning state
* docs(select): add invalid state example
* docs(select): add helper text example
* fix(structured-list): add "rowgroup" role to StructuredListBody
* docs: release code snippet max-width
* docs(select): add skeleton hidden label example
* feat(popover): add Popover component
* feat(pagination): dispatch button click events to be consistent with PaginationNav
* fix(multi-select): type clear as a custom event
* docs(radio-button): add disabled buttons example
* chore(tabs): use absolute icon import
* fix(link): remove line breaks within anchor link
* docs(radio-button): adjust section copy verbiage
* chore(deps-dev): upgrade carbon-icons-svelte to v10.27
v10.27 uses the SvelteComponentTyped interface
* docs(accordion): adjust section title verbiage
* test(types): fix warnings from svelte-check
* fix(search): only set autofocus attribute if equals true
* feat(popover): add closeOnOutsideClick prop
* docs: style [data-outline] as relative positioned
* feat(context-menu): add initial ContextMenu
* feat(context-menu): annotate props, generate types
* feat(context-menu): add initial focus logic
* fix(context-menu): correctly tab in/out of nested menus
* chore(context-menu): update types
* fix(context-menu): obtain radio id from node directly
* docs(context-menu): add examples and test
* fix(context-menu): prevent default keydown behavior
2021-03-20 10:39:14 -07:00