Commit graph

418 commits

Author SHA1 Message Date
Eric Liu
21f014d43f
chore(deps-dev): bump deps (#2101) 2025-02-24 09:42:54 -08:00
Eric Liu
7256a7987c chore(deps-dev): upgrade vitest 2025-02-17 11:30:03 -08:00
Eric Liu
74933e976b v0.87.5 2025-02-04 14:29:51 -08:00
Eric Liu
5f9a4156d6 v0.87.4 2025-02-02 19:51:09 -08:00
Eric Liu
6bf72d4602
fix(types): loosen icon prop type to any (#2095)
Fixes https://github.com/carbon-design-system/carbon-icons-svelte/issues/207

`carbon-icons-svelte@13` and `carbon-pictograms-svelte@13` now  
only support TypeScript for Svelte 4/5.

The new `Component` type is incompatible with the `icon` prop in  
`carbon-components-svelte`, causing a type error with Svelte 5, as  
`typeof SvelteComponent` doesn't match the new `Component` type.

Since `Component` isn't available in Svelte 3/4, this PR changes  
the `icon` prop type to `any` for compatibility across Svelte 3, 4, and 5.
2025-02-02 19:49:53 -08:00
Eric Liu
bf792daa96 v0.87.3 2025-01-30 09:01:03 -08:00
Eric Liu
f61e316788 v0.87.2 2025-01-22 11:59:22 -08:00
Eric Liu
8b096444f0 v0.87.1 2025-01-19 18:50:29 -08:00
Eric Liu
107b77df6e chore(deps-dev): use culls to prune package.json (#2078) 2024-12-25 10:15:30 -08:00
Eric Liu
b5d5420094 v0.87.0 2024-12-09 12:36:49 -08:00
Eric Liu
c7f4b16bf3 v0.86.2 2024-11-30 10:48:32 -08:00
Eric Liu
0cc377eeb9 build(scripts): format COMPONENT_API.json 2024-11-24 13:32:50 -08:00
Eric Liu
5fe5db919a chore: use cache for formatting [ci skip] 2024-11-23 15:52:36 -08:00
Eric Liu
8b477b12f9 test: scaffold component testing with Vitest 2024-11-23 13:36:31 -08:00
Eric Liu
817482cc6b v0.86.1 2024-11-22 13:51:25 -08:00
Eric Liu
128da10475 v0.86.0 2024-11-19 18:51:41 -08:00
Eric Liu
cc03d3c75d chore: remove redundant format script [ci skip] 2024-11-11 21:35:48 -08:00
Eric Liu
1dcd09bd98 chore(deps-dev): upgrade prettier to v3 2024-11-11 21:35:48 -08:00
Eric Liu
9234119d7b build(package)!: set type="module" 2024-11-11 21:24:06 -08:00
metonym
066fea5180 build!: remove bundled ESM/UMD support 2024-11-11 21:24:06 -08:00
Eric Liu
9f1b997765
chore(deps-dev): upgrade sveld to v0.22 (#2048) 2024-11-10 15:35:29 -08:00
Eric Liu
fd9d7ee943 chore(deps-dev): upgrade svelte-check to v4 (#2043) 2024-11-10 10:53:02 -08:00
Eric Liu
c7529fe3f8 build(scripts): replace glob with tinyglobby (#2041) 2024-11-10 10:10:51 -08:00
metonym
1c64f4717d chore: add script to test generated types 2024-11-09 14:46:39 -08:00
Eric Liu
57e99f3a4c chore(deps-dev): upgrade sveld to 0.21.0 2024-11-09 14:41:28 -08:00
Eric Liu
d8b936dc0b v0.85.4 2024-11-09 14:36:21 -08:00
Eric Liu
79ec465dbd chore(deps-dev): upgrade svelte-check 2024-11-09 10:07:46 -08:00
metonym
070a02127f chore(deps-dev): upgrade typescript 4.7.4 --> 5.6.3 2024-10-25 15:53:36 -07:00
metonym
e8237b2575 chore(deps-dev): patch sveld 0.20.2 --> 0.20.3 2024-10-25 15:40:59 -07:00
metonym
fc44ef42cd v0.85.3 2024-10-25 10:51:04 -07:00
Eric Liu
05b1095814
chore(deps-dev): upgrade sveld to 0.20.2 (#1999) 2024-09-13 09:13:32 -07:00
Eric Liu
07c23af870
chore(deps-dev): upgrade sveld for generics support (#1996) 2024-08-23 11:50:57 -07:00
Eric Liu
96cfb4be44
build: replace Yarn with npm (#1993) 2024-08-20 07:00:23 -07:00
Eric Liu
3d67d26c70 chore(package): replace contributors with maintainers 2024-08-18 11:28:20 -07:00
metonym
a5178d518e v0.85.2 2024-08-14 09:26:13 -07:00
metonym
38fe6f8147 v0.85.1 2024-08-09 06:03:47 -07:00
Francine Lucca
b4f9d8bb26
feat: instrument telemetry JS scope (#1966) 2024-04-29 22:08:54 -07:00
Eric Liu
8a7583e8fc chore(package): normalize repository.url [ci skip]
Run "npm pkg fix" to auto-fix the error.
2024-03-23 14:52:15 -07:00
Eric Liu
1fc8fff2d9 v0.85.0 2024-03-23 14:05:12 -07:00
Eric Liu
240a87a8e9 v0.84.1 2024-03-16 09:42:25 -07:00
Eric Liu
8ce0c6b66d v0.84.0 2024-03-07 21:18:33 -08:00
metonym
0405edee7d
fix(exports): resolve imports with explicit *.js extension (#1927)
Fixes #1925

Importing using the explicit `.*js` extension will throw an error as these are not included in the package exports map. Normally, this would be acceptable if it's not part of the API.

However, the `optimizeImports` Carbon preprocessor rewrites certain imports (e.g., `breakpoints`) to the source `*.js` file.

```sh
Internal server error: Failed to resolve import "carbon-components-svelte/src/Breakpoint/breakpoints.js" from "src/App.svelte".
```
2024-03-07 20:35:08 -08:00
Enrico Sacchetti
0071990803
v0.83.0 2024-03-06 22:53:25 -05:00
Francine Lucca
44a2989dff
chore(deps): add @ibm/telemetry-js (#1912) 2024-02-29 15:09:13 -08:00
metonym
0ef0f9b593 v0.82.11 2024-02-26 07:58:47 -08:00
metonym
17f4c49519 v0.82.10 2024-02-12 14:09:40 -08:00
Eric Liu
5c95891079 chore(deps-dev): bump svelte, svelte-check 2024-02-10 20:33:42 -08:00
metonym
5a758b5c60 v0.82.9 2024-02-07 14:40:41 -08:00
Eric Liu
6aa0ef61ad v0.82.8 2024-01-09 20:19:40 -08:00
Eric Liu
d3e5b3dd54 chore: re-install sveld and run yarn build:docs 2024-01-09 20:15:04 -08:00