Commit graph

369 commits

Author SHA1 Message Date
Gregor Wassmann
d5e1f5ab59 chore: Use @carbon/styles
See upgrade guide here: https://carbondesignsystem.com/migrating/guide/develop

As proposed in https://github.com/carbon-design-system/carbon-components-svelte/pull/1881 we can now start adopting v11 styles and merge incremental changes and fixes onto `next/v11-styles` branch. I would propose to merge small steps onto this new branch and discuss separte topics individually. This allows many contributors to propose small changes.

The v11 style adoption should be held as minimal as possible since many components already have some notable changes in Carbon v11.
2024-01-11 12:55:05 +01:00
Eric Liu
fe0b0c2b18 v0.82.7 2023-12-17 09:45:39 -08:00
Eric Liu
1d82eb67a0 v0.82.6 2023-12-16 17:43:52 -08:00
metonym
053beeef7c
fix(package): include types in exports map (#1865)
Fixes #1863
2023-12-16 17:42:57 -08:00
Eric Liu
2dde45a831 v0.82.5 2023-12-16 09:24:44 -08:00
Hyunseung
7bef3fae62
chore: add exports field to package.json (#1864)
Add an `exports` field to resolve a Vite development warning. The `package.json#svelte` entry field is deprecated and will eventually no longer be used.
2023-12-16 09:19:57 -08:00
Eric Liu
decf966dd7 v0.82.4 2023-11-21 11:59:20 -08:00
metonym
f630007220 v0.82.3 2023-11-21 10:18:02 -08:00
Eric Liu
5d8e9aceb4 v0.82.2 2023-11-20 13:44:58 -08:00
metonym
6b80f10a4c v0.82.1 2023-11-18 10:21:43 -08:00
metonym
116c7bf245 v0.82.0 2023-11-13 07:59:15 -08:00
metonym
0fdb9aa9e2
docs: update CONTRIBUTING.md (#1842) 2023-11-12 14:25:37 -08:00
Eric Liu
417102d01f v0.81.3 2023-11-07 19:27:07 -08:00
Enrico Sacchetti
2780367f77 v0.81.2 2023-10-26 21:25:21 -04:00
metonym
33214e02d1 v0.81.1 2023-10-23 10:26:46 -07:00
Eric Liu
6855633aec
chore(deps-dev): patch carbon-components to 10.58.12 (#1833) 2023-10-23 08:01:36 -07:00
metonym
7eef53d57c v0.81.0 2023-10-13 08:37:39 -07:00
Eric Liu
519bd8616a feat(deps-dev): upgrade carbon-components to 10.58 (#1828)
* feat(deps-dev): upgrade `carbon-components` to 10.58

* Run "yarn build:css"
2023-10-13 08:33:30 -07:00
Eric Liu
b00ccc1d92
chore(deps-dev): upgrade svelte to v4.2.0 (#1804) 2023-09-01 17:42:32 -07:00
Eric Liu
9beca838a1 v0.80.0 2023-08-26 10:32:19 -07:00
metonym
540521f5eb v0.79.0 2023-07-24 09:39:44 -07:00
Eric Liu
dfa83bec9a
chore(deps-dev): upgrade sveld to v19 (#1776) 2023-07-23 12:26:02 -07:00
metonym
ad711cdb38 v0.78.0 2023-07-19 09:47:27 -07: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
778b2c357f v0.77.0 2023-07-13 10:59:25 -07:00
Eric Liu
d8259af657 v0.76.1 2023-07-08 16:45:08 -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
Eric Liu
7381a03951
chore(deps-dev): upgrade svelte-check to version 3 (#1739)
* chore(deps-dev): upgrade svelte-check, @tsconfig/svelte

* chore(types): fix type error in `TreeView`

* chore: adjust `test:types` command to ignore folders
2023-07-04 14:00:24 -07:00
Enrico Sacchetti
d75dca98d9
v0.76.0 2023-06-21 16:05:19 -04:00
Enrico Sacchetti
e2d7e04397
v0.75.1 2023-06-02 13:09:43 -04:00
Enrico Sacchetti
4460f5b5f8
v0.75.0 2023-05-21 14:09:58 -04:00
Enrico Sacchetti
edcb14b3c9
v0.74.0 2023-05-18 21:31:41 -04:00
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
Enrico Sacchetti
b4a2ea2758
v0.73.5 2023-03-26 15:31:02 -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
Enrico Sacchetti
4960504ace
v0.73.4 2023-03-20 21:29:25 -04:00
Enrico Sacchetti
53899cf537
v0.73.3 2023-03-11 14:52:20 -05:00
Enrico Sacchetti
185f1da7ef
v0.73.2 2023-02-26 20:53:43 -05:00
Enrico Sacchetti
65a8bbf1f9
v0.73.1 2023-02-19 14:54:32 -05:00
Enrico Sacchetti
8f88a0f0b2
v0.73.0 2023-02-19 12:39:30 -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
7e4fd91bd3
v0.72.3 2023-02-11 13:51:13 -05:00
Enrico Sacchetti
09330552f9
v0.72.2 2023-02-04 20:33:10 -05:00
Enrico Sacchetti
57b6ea68b5
v0.72.1 2023-01-24 22:32:09 -05:00
Enrico Sacchetti
5bb2197371
v0.72.0 2023-01-17 21:02:23 -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
Enrico Sacchetti
bdf0e109c8
v0.71.0 2022-12-31 15:31:06 -05: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
Eric Liu
3ba5ba7ccb v0.70.13 2022-12-08 07:41:42 -08:00
Eric Liu
43b3029d50 v0.70.12 2022-10-13 22:06:06 -07:00