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
Eric Liu
f6eb958732
fix(combo-box): reset values when manually clearing input field ( #992 )
2022-01-10 13:05:32 -10:00
István Pató
a2a5159a59
fix(combobox): filtered ComboBox handling with keyboard ( #926 )
...
* fix(combobox): filtered ComboBox handling with keyboard
* fix: dispatching filteredItems
* fix: default value settings (init) on inputValue
* fix: multiple event dispatch, and item selection bug
* fix(ComboBox): programmatically setting selectedIndex has no effect
* fix(ComboBox): selectedIndex prog. setting on filtered items
* fix(ComboBox): removed unnecessary blur code fragment, fix mouse selection after keyboard editing
2022-01-10 12:45:37 -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
Eric Liu
502f9379fa
Fix a11y warnings emitted by Svelte v3.45 ( #989 )
...
* chore(deps-dev): bump svelte to version 3.45
* fix: resolve a11y violations
Fixes #988
2022-01-10 11:57:52 -10:00
Eric Liu
e4a4f136fa
chore(examples): bump deps
2022-01-08 10:00:33 -08: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
dependabot[bot]
74785feddf
build(deps): bump lodash from 4.17.20 to 4.17.21 ( #982 )
...
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:45 -08:00
dependabot[bot]
9494bb9892
build(deps-dev): bump postcss from 8.2.4 to 8.2.13 ( #981 )
...
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:47:36 -08:00
Eric Liu
3ca0297b5e
docs(modal): add multiple modals example ( #980 )
...
Refs: #975
2022-01-08 09:41:00 -08:00
Eric Liu
75dcf24ae5
ci: only trigger workflow on pull requests
2022-01-08 09:40:31 -08:00
Eric Liu
d4db64e2d1
docs(radio-tile): add reactive examples ( #979 )
...
Enabled by #971
2022-01-08 09:37:53 -08:00
brunnerh
e8be9280c7
Update TileGroup on programmatic selection change. ( #971 )
...
Only fire `select` event for user interaction (from RadioTile).
Uses `set` function instead of `$` to prevent cyclic dependency error.
2022-01-08 09:24:33 -08:00
metonym
31a11e6800
v0.51.1
2022-01-03 11:06: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
26db657868
fix(css): set global theme variable first ( #969 )
...
Fixes #966
2022-01-03 10:43:14 -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
Eric Liu
406d8dca25
v0.51.0
2021-12-30 14:24:42 -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
8443b2d7c1
v0.50.5
2021-12-30 13:15:21 -08:00
Eric Liu
66150609aa
chore: rebuild docs/types
2021-12-30 13:14:22 -08:00
Eric Liu
997eeb7b48
Fix filterable MultiSelect keydown behavior ( #961 )
...
* fix(multi-select): blur input when tabbing away
Fixes #938
* fix(multi-select): close a filterable menu on "Escape"
* fix(multi-select): open filterable menu on [Space]
2021-12-30 13:00:21 -08:00
Eric Liu
f955b09c09
fix(date-picker): input should not lose focus when pressing "Enter" ( #958 )
...
Fixes #876
2021-12-30 13:00:11 -08:00
Eric Liu
9698625b15
fix(toolbar-search): input should expand if value is programmatically set ( #956 )
...
Fixes #673
2021-12-30 13:00:03 -08:00
Eric Liu
001d62c001
v0.50.4
2021-12-30 07:21:51 -08:00
Eric Liu
a522a55596
fix(date-picker): stop "Escape" from closing modal ( #955 )
...
Fixes #952
2021-12-29 06:02:55 -08:00
Eric Liu
3277527929
hotfix(multi-select): prevent double trigger in a filterable multiseelct ( #954 )
...
Fixes #940
2021-12-29 06:01:31 -08:00
Eric Liu
0214e30edf
chore: update COMPONENT_INDEX.md [ci skip]
2021-12-28 14:15:53 -08:00
Eric Liu
f4512027a5
v0.50.3
2021-12-28 14:04:22 -08:00
Eric Liu
ae96fdf3d9
fix(data-table): forgo "click", "click:row" events if target is a checkbox, radio button ( #951 )
...
Fixes #933
2021-12-28 13:26:09 -08:00
Eric Liu
a32bcbccd7
fix(label-text): correctly render "labelText" slots ( #949 )
...
Fixes #944
2021-12-28 12:59:33 -08:00
brunnerh
d5a6b5873b
Modify click events to prevent navigation. ( #946 )
...
Without preventDefault the link will navigate the page instead of opening the dropdown when the tabs are in the compact mode.
Because the parent element also toggles on click, there is an additional stopPropagation to not toggle twice which in a no-op.
2021-12-28 12:59:26 -08:00
István Pató
a1377f07de
fix(textinput): displaying empty input value if value is undefined or null ( #936 )
...
#935
2021-12-28 12:59:20 -08:00
Eric Liu
3cadf2c001
v0.50.2
2021-11-27 10:06:03 -08:00
Eric Liu
4de0fab859
Fix filterable multiselect keyboard selection behavior ( #923 )
...
* fix(multi-select): correctly select correct item in filterable multiselect
Fixes #922
* fix(multiselect): do not mutate sortedItems
2021-11-27 10:04:22 -08:00
metonym
96930a4065
v0.50.1
2021-11-19 08:33:07 -08:00
Eric Liu
4f83b2d1e1
fix(data-table): forgo "click", "click:row" events if target is an OverflowMenu ( #918 )
...
#917
2021-11-19 08:29:16 -08:00
metonym
6ba20fdd65
v0.50.0
2021-11-18 13:48:14 -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
metonym
d8f8ac2b73
v0.49.2
2021-11-18 07:49:42 -08:00
Daniel Miedzik
9bbc7698a9
Fix: Tabs dispatch change event on init ( #882 )
...
* fix tabs on change problem
* fix(tabs): dispatch change event in update/change context methods
Co-authored-by: metonym <ericyl.us@gmail.com>
2021-11-18 07:45:47 -08:00
Bilux
1aad3153b5
Correct page number when dispatching update ( #911 )
...
* Correct page number when dispatching update
When in last page of data and the page size get changed to a bigger size the current page number will be out of range of total pages.
This code will set the page number in range of total pages.
* fix(pagination): page value should not exceed totalPages
Co-authored-by: metonym <ericyl.us@gmail.com>
2021-11-18 07:41:33 -08:00
Eric Liu
914f9af3be
hotfix(popover): manually apply relative style if relative
is true ( #915 )
2021-11-18 07:28:40 -08:00