@vaneui/ui 1.6.1-alpha.20261116194641.g4c449a4 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/types/stylesheet.d.cts +1 -0
- package/dist/types/stylesheet.d.mts +1 -0
- package/package.json +25 -4
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,23 @@ rather than on a fixed calendar.
|
|
|
10
10
|
|
|
11
11
|
## Unreleased
|
|
12
12
|
|
|
13
|
+
## 1.6.1
|
|
14
|
+
|
|
15
|
+
`2026-11-19`
|
|
16
|
+
|
|
17
|
+
The stylesheet import paths resolve for TypeScript, so a project on TypeScript 6 or later can
|
|
18
|
+
import `@vaneui/ui/css` from a `.ts` or `.tsx` file.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- `import '@vaneui/ui/css'` in a TypeScript file passes the type check on TypeScript 6 and
|
|
23
|
+
later. The stylesheet import paths (`@vaneui/ui/css`, `/vars` and `/tokens`) had no type
|
|
24
|
+
declarations. TypeScript 6 reports a side-effect import it cannot resolve as an error
|
|
25
|
+
(`TS2882`), where earlier versions skipped it unless `noUncheckedSideEffectImports` was set.
|
|
26
|
+
Each path now has a `types` target, an empty module, under the `bundler`, `node16` and
|
|
27
|
+
`nodenext` resolution modes. `@import "@vaneui/ui/css"` in a CSS file was not affected and
|
|
28
|
+
resolves to the same file as before.
|
|
29
|
+
|
|
13
30
|
## 1.6.0
|
|
14
31
|
|
|
15
32
|
`2026-11-16`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaneui/ui",
|
|
3
|
-
"version": "1.6.1
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "React component library with a boolean props API, built on Tailwind CSS v4. Write <Button primary lg filled> instead of variant strings.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -519,15 +519,36 @@
|
|
|
519
519
|
}
|
|
520
520
|
},
|
|
521
521
|
"./vars": {
|
|
522
|
-
"import":
|
|
522
|
+
"import": {
|
|
523
|
+
"types": "./dist/types/stylesheet.d.mts",
|
|
524
|
+
"default": "./dist/vars.css"
|
|
525
|
+
},
|
|
526
|
+
"require": {
|
|
527
|
+
"types": "./dist/types/stylesheet.d.cts",
|
|
528
|
+
"default": "./dist/vars.css"
|
|
529
|
+
},
|
|
523
530
|
"default": "./dist/vars.css"
|
|
524
531
|
},
|
|
525
532
|
"./tokens": {
|
|
526
|
-
"import":
|
|
533
|
+
"import": {
|
|
534
|
+
"types": "./dist/types/stylesheet.d.mts",
|
|
535
|
+
"default": "./dist/tokens.css"
|
|
536
|
+
},
|
|
537
|
+
"require": {
|
|
538
|
+
"types": "./dist/types/stylesheet.d.cts",
|
|
539
|
+
"default": "./dist/tokens.css"
|
|
540
|
+
},
|
|
527
541
|
"default": "./dist/tokens.css"
|
|
528
542
|
},
|
|
529
543
|
"./css": {
|
|
530
|
-
"import":
|
|
544
|
+
"import": {
|
|
545
|
+
"types": "./dist/types/stylesheet.d.mts",
|
|
546
|
+
"default": "./dist/ui.css"
|
|
547
|
+
},
|
|
548
|
+
"require": {
|
|
549
|
+
"types": "./dist/types/stylesheet.d.cts",
|
|
550
|
+
"default": "./dist/ui.css"
|
|
551
|
+
},
|
|
531
552
|
"default": "./dist/ui.css"
|
|
532
553
|
},
|
|
533
554
|
"./package.json": "./package.json"
|