@entur/utils 0.12.5 → 0.12.6-beta.0
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/dist/layers.scss +11 -0
- package/package.json +16 -2
package/dist/layers.scss
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Top-level layer order (lowest to highest precedence)
|
|
2
|
+
@layer core, third-party, components, utilities, app;
|
|
3
|
+
|
|
4
|
+
// Foundation: resets, design tokens (CSS variables), and base element styles
|
|
5
|
+
@layer core.reset, core.tokens, core.base;
|
|
6
|
+
|
|
7
|
+
// Third-party: vendor CSS imports, then DS overrides to tame them
|
|
8
|
+
@layer third-party.imports, third-party.overrides;
|
|
9
|
+
|
|
10
|
+
// Components: primitives (buttons, icons), composites (datepicker, dropdown), then cross-component overrides
|
|
11
|
+
@layer components.primitives, components.composites, components.overrides;
|
package/package.json
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/utils",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.6-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/utils.cjs.js",
|
|
6
6
|
"module": "dist/utils.esm.js",
|
|
7
7
|
"typings": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/utils.esm.js",
|
|
12
|
+
"require": "./dist/utils.cjs.js",
|
|
13
|
+
"default": "./dist/utils.esm.js"
|
|
14
|
+
},
|
|
15
|
+
"./styles/layers": "./dist/layers.scss",
|
|
16
|
+
"./package.json": "./package.json",
|
|
17
|
+
"./dist/*": "./dist/*"
|
|
18
|
+
},
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"./dist/**/*.css"
|
|
21
|
+
],
|
|
8
22
|
"files": [
|
|
9
23
|
"dist"
|
|
10
24
|
],
|
|
@@ -41,5 +55,5 @@
|
|
|
41
55
|
"vite": "^7.1.3",
|
|
42
56
|
"vite-plugin-dts": "^4.5.4"
|
|
43
57
|
},
|
|
44
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "89f96eb3e2da5ec84f0a1224bc6e20021255e389"
|
|
45
59
|
}
|