Eric Liu
c02b4738bc
fix: resolve a11y
warnings from Svelte version 3.58 ( #1732 )
...
* chore(deps-dev): upgrade svelte to 3.58
* chore(a11y): ignore false positives
Referencing the upstream Carbon React implementation, these warnings can be ignored.
* fix(list-box-menu-item): set `tabindex` to `-1`
* chore: fix `tabindex` capitalization
The Svelte Language server does not detect `tabIndex` as a valid attribute.
Note, however, that `tabIndex` is correct when using it in JavaScript (e.g., `node.tabIndex`).
2023-05-18 14:53:17 -04:00
metonym
c00df40216
chore(a11y): silence new a11y warnings from svelte@3.57 ( #1703 )
...
* chore(deps-dev): upgrade svelte to 3.57
* chore(deps-dev): upgrade svelte-check
* chore(a11y): silence new a11y warnings from svelte@3.57
* Revert "chore(deps-dev): upgrade svelte-check"
This reverts commit 78106587a2
.
* fix(progress-step): remove unnecessary `aria-disabled`
https://github.com/carbon-design-system/carbon-components-svelte/pull/1703#pullrequestreview-1357928713
2023-03-26 15:28:48 -04:00
dependabot[bot]
eaa4af14d1
build(deps): bump minimatch from 3.0.4 to 3.1.2 ( #1580 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 12:55:59 -05:00
Jonathan Quintin
7ddbf17cbb
feat(progress-bar): add status
prop ( #1560 )
...
* ProgressBar status feature added
* ProgressBar: Removed the css variables and use carbon-css instead.
The way of assigning the ProgressBar value has change. It is now a style
variable and scale-x is calculated in the css. This way prevent the
override of carbon css.
* Removed an unessacery span.
* Removed an unnecessary span.
* Added the status for the ProgressBarUx
* Remove `style css` and update docs.
* - Fixed the `capped` variable for more readability
- Updated docs `label` and `helperText`
- Updated docs and css
* fix: finished/error states cannot be indeterminate
* Run "yarn build:css"
* Re-run "yarn build:docs"
* test(progress-bar): assert `status` prop
* chore: add aria-busy and set valuenow to 0 when not active
---------
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
Co-authored-by: Enrico Sacchetti <enrico@theetrain.ca>
2023-02-19 12:34:41 -05:00
Enrico Sacchetti
6d2e21f027
chore: improve lint, release workflows ( #1627 )
...
* Add standard-version to automate releases
* Remove husky
* Add lint script; run lint in GitHub Actions
* Run lint script
* Add Enrico to contributors
2023-01-15 15:34:09 -08:00
metonym
724d90bd7b
chore(types)!: remove sveltekit:
attributes from types ( #1581 )
...
* chore(deps-dev): upgrade sveld 0.17.2 -> 0.18.0
* Run "yarn build:docs"
2022-12-11 15:58:19 -05:00
metonym
c6373dc9b6
fix(a11y): ignore false positive a11y warnings ( #1522 )
...
Fixes #1517
2022-10-13 21:37:52 -07:00
metonym
73385bf598
fix(a11y): resolve accessibility warnings in Svelte 3.50.0 ( #1480 )
...
Fixes #1479
* chore(deps-dev): upgrade svelte 3.47.0 -> 3.50.0
* fix(toggle): ignore `a11y-role-has-required-aria-props` warning
* fix(header-search): resolve a11y warnings
2022-09-05 08:22:58 -07:00
metonym
cba0a21f74
chore(deps-dev): bump deps
2022-08-23 08:23:43 -07:00
dependabot[bot]
03d18ca27c
chore(deps): bump terser from 5.3.0 to 5.14.2 ( #1408 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.3.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 08:14:12 -07:00
dependabot[bot]
b571821397
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 ( #1410 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 08:12:34 -07:00
dependabot[bot]
6f7bd9f2dd
chore(deps-dev): bump svelte from 3.46.6 to 3.49.0 ( #1394 )
...
Bumps [svelte](https://github.com/sveltejs/svelte ) from 3.46.6 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases )
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/svelte/compare/v3.46.6...v3.49.0 )
---
updated-dependencies:
- dependency-name: svelte
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-08-01 08:11:58 -07:00
metonym
e230db8115
feat: forward paste event to input/textarea elements ( #1332 )
...
* chore(deps-dev): upgrade sveld, svelte-check
* feat: forward paste event to input/textarea elements
* Run "yarn build:docs"
* test: assert paste event
2022-06-02 18:39:49 -07:00
metonym
04d758f869
fix: CopyButton
text prop and Dropdown
selectedId prop should be required ( #1311 )
...
* chore(deps-dev): upgrade sveld to v0.17.0
* fix(copy-button): text prop is required
* fix(dropdown): selectedId prop is required
* Run "yarn build:docs"
* docs: display "Required" tag for required props
2022-05-22 12:39:53 -07:00
metonym
37b40d640b
fix(types): use @see
tag for flatpickr options link ( #1299 )
...
* chore(deps-dev): upgrade sveld to v0.15.3
* Run "yarn build:docs"
* fix(types): use `@see` tag for flatpickr options link
2022-05-14 12:43:12 -07: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
2d26ce115d
chore(deps-dev): upgrade sveld to v0.15.0 ( #1247 )
...
* chore(deps-dev): upgrade sveld to v0.15.0
* Run "yarn build:docs"
2022-04-15 08:28:00 -07:00
metonym
4c0d6ea5a2
chore: upgrade husky, lint-staged ( #1239 )
...
* chore: add husky auto-setup
* chore: update husky, lint-staged
2022-04-10 10:53:14 -07:00
Eric Liu
26e5ce5572
refactor(scripts): remove carbon-components-10.47
2022-04-10 08:47:21 -07:00
dependabot[bot]
c84bf427ce
build(deps): bump minimist from 1.2.5 to 1.2.6 ( #1236 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 14:18:47 -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
ba58ba8f00
refactor: use icons from carbon-icons-svelte@11
( #1227 )
...
* chore: update ignore rules, remove unused files
* refactor(icons): use icons from carbon-icons-svelte@11
* docs(time-picker): fix default value
* chore: upgrade carbon-icons-svelte to v11
* docs: update examples to use icons from carbon-icons-svelte@11
* docs: update number of icons [ci skip]
2022-04-03 11:57:28 -07:00
Eric Liu
755a8aa5bc
chore(deps-dev): bump deps
2022-04-02 16:53:37 -07:00
metonym
ade0557448
feat: upgrade carbon-components to v10.56.0 ( #1213 )
...
* chore(deps-dev): upgrade carbon-components to v10.56.0
* feat(progress-bar): add kind prop
* Run "yarn build:docs"
* test(progress-bar): assert kind prop
2022-03-27 08:27:23 -07:00
metonym
2657ce71c2
docs: fix formatting, broken link ( #1172 )
...
* chore: remove extra space in description comment
* docs(data-table): fix formatting
* docs(checkbox): fix broken link
* chore(deps-dev): bump deps
* Run "yarn build:docs"
2022-03-13 19:03:15 -07:00
metonym
cb014219fd
chore(deps-dev): upgrade svelte-check to v2.4.5 ( #1159 )
2022-03-12 13:50:47 -08:00
metonym
a3d116215d
Align v10.54 ( #1133 )
...
* chore(deps-dev): bump carbon-components to v10.54.0
* feat(progress-bar): add size prop
* docs(progress-bar): add "Small size" example
* docs(progress-bar): add descriptions
* refactor(structured-list): remove monkey patch
* feat(radio-button-group): add hideLegend prop
* docs(radio-button): add "Hidden legend" example
2022-02-26 11:26:31 -08:00
metonym
78072a1c66
Align v10.53 ( #1109 )
...
* chore(deps): upgrade carbon-components to v10.53.0
* feat(text-area): add maxCount prop
* docs(text-area): add maximum character count
* feat(file-uploader): add disabled prop
* docs(file-uploader): add disabled state example
2022-02-21 13:40:57 -08:00
metonym
63f52b4683
fix(multi-select): non-filterable MultiSelect
should dispatch a blur event ( #1080 )
...
The non-filterable `MultiSelect` is missing a `blur` event.
Implementation-wise, we have to dispatch it and include the event as the `detail`. Otherwise, the filterable variant will dispatch "blur" twice because it has both a button and input.
The filterable `MultiSelect` continues to forward the blur event to the input.
2022-02-10 08:27:09 -08:00
metonym
5103e13321
feat(css): upgrade carbon-components
to v10.52.0 ( #1078 )
...
Fixes:
- move `FileUploaderDropContainer` input outside of label to fix a11y error
- prevent inadvertent text selection when clicking through flatpickr months
2022-02-10 06:47:36 -08:00
Eric Liu
e37b632fef
build: decouple typegen/docgen from yarn build:lib
( #1038 )
...
* chore(deps-dev): upgrade sveld to v0.13.1
* build: separate sveld into a separate build script
* docs(contributing): update guideline on re-building docs
2022-01-24 14:16:31 -08:00
Eric Liu
4d51250173
Align 10.51 ( #1021 )
...
* chore(deps-dev): upgrade carbon-components to v10.51.0
* fix(slider): input should also be labelled
* refactor(date-picker): remove hotfix logic to prevent disabled icon from being clickable
Ref: https://github.com/carbon-design-system/carbon-components-svelte/pull/860
* feat(progress-step): update icons for current, incomplete steps
2022-01-22 08:02:24 -08:00
dependabot[bot]
8094fd4fef
build(deps): bump nanoid from 3.1.30 to 3.2.0 ( #1023 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
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-21 18:31:07 -08: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
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
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
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
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
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
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
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
Florian-Schoenherr
dbf1f225dc
fix(DataTable): useStaticWidth fix for title/description ( #824 )
...
* fix(DataTable): useStaticWidth title/description
Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>
* docs(DataTable): useStaticWidth title/description
Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>
* chore(deps-dev): upgrade carbon-components, sass
Co-authored-by: metonym <ericyl.us@gmail.com>
2021-09-23 08:55:06 -07:00
Eric
6db4112b40
Fix a11y-mouse-events warning, update docs ( #765 )
...
* docs: update number of available Carbon icons
* docs: add svelte:head example for loading CDN styles
* chore(deps-dev): upgrade svelte to 3.40.1
* fix(a11y): disable a11y-mouse-events-have-key-events warning #760
* fix(deps): upgrade carbon-icons-svelte to v10.36.0 to avoid a11y warnings #760
* refactor(overflow-menu): remove formatStyle utility
* docs: links in paragraphs should be inline
* docs: add note on using all styles for dynamic theming
2021-07-26 08:40:05 -07:00
Eric Liu
9114298f76
Align 10.40 ( #763 )
...
* docs: fix typo [ci skip]
* docs(tree-view): update expanded nodes guidance
* chore(deps-dev): upgrade carbon-components to v10.40.0
* build(css): omit treeview SCSS import
treeview.scss is included in global styles.css by default in v10.40.0
* feat(date-picker): add helperText prop
Ref: 4b5b5fdf8
2021-07-22 16:56:51 -07:00
Eric Liu
54e1e07872
fix(types): upgrade sveld and type constant props as accessors ( #742 )
2021-07-11 07:21:50 -07:00
Eric Liu
18c6f03224
Fix TypeScript definitions; function declarations should be typed as accessors, not props ( #740 )
...
* chore(deps-dev): upgrade svelte to v0.8.1
* chore: regenerate types to correctly type function declarations
* test: fix svelte-check warnings
2021-07-10 09:00:57 -07:00
Eric Liu
b6fa25c3e7
Align v10.39 ( #738 )
...
* chore(deps-dev): upgrade carbon-components to v10.39.0
* fix(data-table): deprecate Table shouldShowBorder prop
Ref: 0f7324156
* fix(form-group): add legendId
Ref: 4fc56c30b
* feat(number-input): support readonly variant
Ref: d0bd8eddb
* feat(multi-select): export multiSelectRef, fieldRef, selectionRef
* feat(local-storage): add clearItem, clearAll instance methods
* docs(local-storage): simplify clear example
* docs(local-storage): add instructions [ci skip]
* chore(local-storage): reset value on clear [ci skip]
* chore(local-storage): revert value clear [ci skip]
2021-07-09 13:40:25 -07:00