metonym
6fbd8ae6a9
fix(types): use type alias instead of interface for $$restProps
2024-11-09 14:41:28 -08: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
f4d12b805a
fix(toggle): add missing hideLabel
prop ( #1414 )
...
* fix(toggle): add missing hideLabel prop
* Run "yarn build:docs"
* test(toggle): assert hideLabel prop
* docs(toggle): add "Hidden label text" example
2022-07-26 07:12:57 -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
0d78c30b9d
fix(types): include @default
annotations for props that are undefined
by default ( #1020 )
...
* chore(deps-dev): upgrade sveld to v0.12.1
* Run "yarn build:lib"
* Re-run "yarn build:lib"
2022-01-20 19:29:06 -08:00
Eric Liu
32edfa59dd
Make Toggle
labels slottable ( #1002 )
...
* feat(toggle): support slottable labels
* yarn build:lib
* docs(toggle): add "Slottable labels" example
2022-01-12 16:43:27 -10: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
8ddf2def8b
Align v10.36 ( #696 )
...
* chore(deps-dev): upgrade carbon-components to v10.36.0
* feat(structured-list): add condensed, flush props
* fix(structured-list): deprecate the border prop
* fix(code-snippet): set min/max height for multi-line code snippet #656
Fixes #656
* fix(image-loader): make SSR compatible using a window type check guard
* docs(tag): add separate disabled example for filterable/interactive tags
* docs: update number of supported chart types
* feat(side-nav): support rail variant
* feat(ui-shell): add isSelected prop to HeaderNavItem
* fix(ui-shell): default isSelected to false in SideNavMenuItem
* fix(text-area): forward missing keydown event #665
Fixes #665
* feat: forward keyup event to components with inputs
* feat(checkbox): make labelText slottable #563
Closes #563
* feat: make labelText slottable
Related #563
* docs(component-api): account for undefined type
* docs(ui-shell): link to correct rail source
* fix(ui-shell): default isSelected in HeaderNavItem to false
2021-06-26 14:39:49 -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
7cd3723960
Alignment with Carbon version 10.28 ( #505 )
...
* chore(deps-dev): remove @carbon/themes
* chore(deps-dev): bump devDependencies
* fix(tabs): forward click event to Tab
* feat(toggle): dispatch toggle event
* feat(tag): dispatch close event
* feat(tooltip-icon): make tooltipText slottable
* feat(dropdown): add hideLabel prop
* docs(select): add "Hidden label" example
* refactor(modal): use class directive
* feat(modal): dispatch transitionend event
* chore(deps-dev): upgrade carbon-components to 10.28.0-rc.0
* feat(date-picker): add warn state
* feat(tag): support small size variant
* fix(search): add semantic role
* feat(toolbar-search): add disabled state
* fix(composed-modal): add aria-label prop, update header semantic tags
* chore(deps-dev): upgrade carbon-components to v10.28
* docs(overflow-menu): add light variant example
* docs(link): document OutboundLink in Component API
* chore(tooltip-icon): rename slot to "tooltipText"
* docs(component-api): wrap code blocks to minimize width
* docs(aspect-ratio): remove inline outline style
* fix(tab): do not trigger focus when mounting
* docs(tabs): add reactive example
Closes #438
2021-02-05 05:59:10 -08:00
Eric Liu
8b7dfbe540
v0.25.0
2020-11-27 06:16:59 -08:00
Daniel Miedzik
c670964e93
fix types for FileUploader component ( #422 )
...
* fix types for FileUploader component
* correction of a mistaken change
Co-authored-by: Daniel Miedzik <dmiedzik@bethel.jw.org>
2020-11-27 04:15:01 -08:00
Eric Liu
1e3eef992c
feat(toggle): support small size, deprecate ToggleSmall
2020-11-19 15:20:01 -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
d38e6d8be6
refactor: update/fix JSDoc props
2020-11-04 06:04:25 -08:00
Eric Liu
3c04f122b0
refactor(types): rewrite type definitions to account for intrinsic attributes
2020-11-03 05:44:11 -08:00