Eric Liu
58de79d66b
docs(radio-button): simplify reactive example ( #1012 )
...
* docs(radio-button): simplify reactive radio button example
* docs(radio-button): rename to "Reactive example"
2022-01-16 15:06:29 -08:00
Eric Liu
e5f77aa614
docs(select): add reactive example ( #1011 )
2022-01-16 14:53:22 -08:00
Eric Liu
653a601f9b
Revert "Refactor prop types to omit redundant null
for null | HTMLElement
types" ( #1008 )
...
#996
2022-01-14 11:29:37 -10:00
Eric Liu
49a94b0ee4
fix(modal): shouldSubmitOnEnter should also dispatch "click:button--primary" ( #1007 )
...
* fix(modal): shouldSubmitOnEnter should also dispatch "click:button--primary"
Fixes #1005
* yarn build:lib
2022-01-14 08:51:48 -10: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
37f19d2171
Add option to not re-focus ComboBox
when invoking clear()
( #1000 )
...
* feat(combo-box): add option to clear accessor to not re-focus input
Closes #994
* yarn build:lib
* test(combo-box): validate clear accessor params
* docs(combo-box): add clear without focus to "Clear selection" example
2022-01-12 16:12:43 -10:00
Eric Liu
d4dd33e28c
Update docs ( #1001 )
...
* docs(tree-view): avoid redundant copy
* docs(search): "clear" is dispatched when pressing "Escape"
* docs(search): refactor "Expandable variant" to demonstrate reactivity
2022-01-12 16:12:14 -10:00
metonym
e6f905228f
v0.51.3
2022-01-12 13:44:50 -10:00
Eric Liu
6de73f86fb
Refactor prop types to omit redundant null
for null | HTMLElement
types ( #998 )
...
* refactor: omit redundant `null` prop type for HTMLElements
* yarn build:lib
* test: assert updated element prop types
2022-01-12 13:36:47 -10:00
István Pató
d31e529ca9
fix(ComboBox): programmatically set selected index ( #995 )
...
* fix(ComboBox): programmatically set selected index
* refactor(ComboBox): renaming example to Reactive example
2022-01-12 13:36:37 -10:00
metonym
8936b9b5fa
chore: re-generate api docs
2022-01-10 13:58:38 -10:00
metonym
6a6713d068
v0.51.2
2022-01-10 13:41:02 -10:00
metonym
483eff6c9b
docs: prefer <strong> over <code>
2022-01-10 12:32:01 -10:00
metonym
6731f944ab
docs: do not use backticks in inline notifications
2022-01-10 12:24:11 -10:00
Eric Liu
01a548fee0
Document DatePicker
usage with a Rollup set-up ( #990 )
...
* chore(example): add inlineDynamicImports: true
* docs(date-picker): add note for using DatePicker with Rollup
Closes #986
2022-01-10 12:03:14 -10:00
dependabot[bot]
93571eb5b7
build(deps-dev): bump postcss from 8.2.4 to 8.2.13 in /docs ( #984 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.4 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.4...8.2.13 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-08 09:48:35 -08:00
dependabot[bot]
5aeba4567b
build(deps): bump lodash from 4.17.20 to 4.17.21 in /docs ( #983 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
---
updated-dependencies:
- dependency-name: lodash
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-08 09:47:53 -08:00
Eric Liu
3ca0297b5e
docs(modal): add multiple modals example ( #980 )
...
Refs: #975
2022-01-08 09:41:00 -08:00
Eric Liu
d4db64e2d1
docs(radio-tile): add reactive examples ( #979 )
...
Enabled by #971
2022-01-08 09:37:53 -08:00
brunnerh
6458c97c1a
Add required
prop to Select. ( #968 )
...
Upgrade sveld to set paths correctly on Windows.
Make Prettier script compatible with Windows and run it.
2022-01-03 10:46:12 -08:00
Eric Liu
f8b69d23c4
chore(prettier): remove deprecated svelteBracketNewLine option [ci skip]
2022-01-01 11:05:19 -08:00
Eric Liu
dce2dda72a
Update docs ( #965 )
...
* chore(docs): run "npx browserslist@latest --update-db"
* chore(docs): upgrade carbon-icons-svelte to latest
* refactor(docs): re-use styles from css/all.scss
* chore(docs): add pnpm install command
* chore(docs): upgrade prettier, prettier-plugin-svelte
* docs(date-picker): improve "DatePicker in a modal" example
* fix(docs): restore "scripts-markup-styles" svelte sort order
* chore(docs): upgrade mdsvex
* chore(deps-dev): bump prettier, prettier-plugin-svelte, svelte
* refactor(docs): use svelte:fragment where applicable
* fix(docs): include missing "options" in svelteSortOrder prettier config
2022-01-01 10:58:42 -08:00
brunnerh
1bc04c5b42
Switch from svite to vite + vite-plugin-svelte. ( #962 )
...
Use cross-env to set environment variables platform independently in scripts.
2021-12-31 10:11:48 -08:00
Gregor Wassmann
f0cf4e7ba5
Enhance Checkbox to use bind:group ( #947 )
...
* Enhance Checkbox to use bind:group
* Use custom logic
* Move multiple checkboxes above skeleton
* Incorprate PR feedback
* Any instead of string
2021-12-30 13:31:33 -08:00
Eric Liu
66150609aa
chore: rebuild docs/types
2021-12-30 13:14:22 -08:00
Eric Liu
ccc733f3f7
Support custom target(s) for ContextMenu
( #916 )
...
* feat(context-menu): add target prop to selectively trigger context menu
* feat(context-menu): include clicked element in "open" event detail
* docs(context-menu): add target, multiple target examples
2021-11-18 13:32:13 -08:00
Eric Liu
1a0e990bdf
hotfix(popover): include missing Popover styles from carbon-components version 10.47 ( #913 )
...
* chore(deps-dev): install carbon-components@10.47 for Popover styles
* hotfix(popover): import popover styles from carbon-components@10.47
2021-11-17 09:17:24 -08:00
Eric Liu
27ba4350cf
Align v10.48 ( #907 )
...
* chore(deps-dev): upgrade carbon-components to v10.48.0
* feat(ui-shell): support HeaderNavMenu with current item
* refactor(tile): remove unnecessary "position: relative" style
* refactor(tile): remove unused ref
* feat(inline-notification): make title/subtitle slottable
Closes #883
* feat(toast-notification): make title/subtitle/caption slottable
* chore(notification): deprecate NotificationTextDetails
2021-11-12 16:25:02 -08:00
Eric Liu
a308c89e42
fix(date-picker): type locale prop using flatpickr types ( #906 )
...
Fixes #855
2021-11-12 14:36:46 -08:00
Eric Liu
040e3d3372
Inline carbon icons, remove carbon-icons-svelte
from dependencies ( #904 )
...
* feat(icons): inline carbon icons used by components
* feat(icons): update svelte components to use inlined carbon icons
* breaking(deps): remove carbon-icons-svelte
* chore(deps-dev): install carbon-icons-svelte as a devDependency
2021-11-11 08:54:45 -08:00
Eric Liu
ea6757d020
Add autoWidth prop to Tabs
( #901 )
...
* feat(tabs): support auto width tabs
Closes #899
* docs(tabs): add auto width example
2021-11-10 19:46:20 -08:00
Eric Liu
08402e54bf
feat(form): add ref prop ( #900 )
...
Closes #877
2021-11-10 19:46:14 -08:00
Eric Liu
a298a1bf15
Revert "docs(tooltip): hotfix reactive example #872 [ci skip]"
...
This reverts commit 3a0e2e92b8
.
2021-11-07 12:04:06 -08:00
Nicco
a317c7ed52
document static property on datepicker modal ( #879 )
...
* document static property on datepicker modal
* move to frame
* docs(date-picker): add missing props to DatePickerModal.svelte
Co-authored-by: metonym <ericyl.us@gmail.com>
2021-11-05 10:02:56 -07:00
metonym
3a0e2e92b8
docs(tooltip): hotfix reactive example #872 [ci skip]
2021-10-21 09:49:16 -07:00
Eric Liu
7b65a15345
Omit explicit "from carbon-icons-svelte" from icon
prop definitions ( #866 )
...
* fix(types): update description for icon props #865
* docs(component-api): remove hardcoded Carbon Svelte icon description
2021-10-20 13:48:52 -07:00
Eric Liu
c64075acbe
fix(data-table): include border style for non-expandable rows ( #864 )
...
* fix(data-table): include border style for non-expandable rows
Fixes #861
* docs(data-table): use batchExpansion for non-expandable rows example [ci skip]
2021-10-20 10:02:10 -07:00
Eric Liu
96d848e9ef
feat(data-table): add nonExpandableRowIds prop ( #862 )
...
* feat(data-table): add nonExpandableRowIds prop #861
* test(data-table): validate nonExpandableRowIds prop
* docs(data-table): add Non-expandable rows example
2021-10-19 07:25:22 -07:00
Eric Liu
2cc8953eb5
docs: omit explicit treeview scss import
2021-10-17 12:58:44 -07:00
Eric Liu
5a96f3f49d
docs: fix sidenav overlay z-index
2021-10-16 14:54:54 -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
c6fc8548d3
Align v10.46 ( #854 )
...
* chore(deps-dev): upgrade carbon-components to v10.46.0
* feat(tag): support outline type
* feat(multi-select): add hideLabel prop
* chore: delete unused publish-examples.js
* chore(deps-dev): remove gh-pages
* chore: remove publish-examples script
* chore(deps-dev): upgrade carbon-components to v10.46.0
* feat(tag): support outline type
* feat(multi-select): add hideLabel prop
* chore: delete unused publish-examples.js
* chore(deps-dev): remove gh-pages
* chore: remove publish-examples script
* chore: rebuild component index
2021-10-15 17:03:45 -07:00
Eric Liu
b21600c9d6
feat(types): loosen icon
prop type to allow any Svelte component #806 ( #853 )
...
* feat(types): loosen type for Carbon icons #806
* Add closeIcon option and remove stopPropagation on:click in HeaderAction (#840 )
* Remove stopPropagation on:click
Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs
* fix bug for default icon
* add closeIcon attribute to HeaderAction
* feat(types): loosen type for Carbon icons #806
* chore: update TreeView, HeaderAction icon types
Co-authored-by: Daniel Miedzik <daniel.miedzik@gmail.com>
2021-10-15 16:40:23 -07:00
Daniel Miedzik
1581bc0122
Add closeIcon option and remove stopPropagation on:click in HeaderAction ( #840 )
...
* Remove stopPropagation on:click
Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs
* fix bug for default icon
* add closeIcon attribute to HeaderAction
2021-10-15 16:23:34 -07:00
Eric Liu
c4413636a4
Programmatically expand/collapse TreeView nodes ( #850 )
...
* feat(tree-view): add accessors to programmatically expand/collapse nodes
* feat(tree-view): update docs/types
* test(tree-view): test updated TreeView accessors
* docs(tree-view): document TreeView accessors
2021-10-13 08:54:37 -07:00
KoichiKiyokawa
fed34e40ed
fix: add a value prop to Checkbox ( #849 )
2021-10-13 07:38:51 -07:00
Eric Liu
e0d5e6133e
docs: fix link to source [ci skip]
...
TODO: refactor to use exact file path from component API
2021-10-11 18:33:24 -07:00
metonym
bf39b268c5
chore: delete vercel.json [ci skip]
2021-10-05 15:22:48 -07:00
Eric Liu
b2623a0695
docs: remove vercel, add Deploy to Render button ( #832 )
...
* chore: remove vercel
* docs: add Deploy to Render button
2021-09-29 09:49:15 -07:00
Eric Liu
ee9bb22768
fix(clickable-tile): explicitly type restProps ( #831 )
2021-09-28 08:55:16 -07:00