dowel-ui 0.30.0 → 0.32.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/README.md +8 -9
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +55 -19
- package/dist/cli/index.js.map +1 -1
- package/dist/eslint/index.d.ts +1 -0
- package/dist/eslint/index.d.ts.map +1 -1
- package/dist/eslint/index.js +13 -4
- package/dist/eslint/index.js.map +1 -1
- package/dist/eslint/no-implicit-locale.d.ts +3 -0
- package/dist/eslint/no-implicit-locale.d.ts.map +1 -0
- package/dist/eslint/no-implicit-locale.js +83 -0
- package/dist/eslint/no-implicit-locale.js.map +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/locale.d.ts +16 -0
- package/dist/locale.d.ts.map +1 -0
- package/dist/locale.js +55 -0
- package/dist/locale.js.map +1 -0
- package/dist/marks/atlas-L.svg +3 -0
- package/dist/marks/atlas-M.svg +1 -0
- package/dist/marks/atlas-S.svg +1 -0
- package/dist/marks/austeris-L.svg +6 -0
- package/dist/marks/austeris-M.svg +1 -0
- package/dist/marks/austeris-S.svg +1 -0
- package/dist/marks/dowel-L.svg +5 -0
- package/dist/marks/dowel-M.svg +1 -0
- package/dist/marks/dowel-S.svg +1 -0
- package/dist/marks/efema-L.svg +8 -0
- package/dist/marks/efema-M.svg +1 -0
- package/dist/marks/efema-S.svg +1 -0
- package/dist/marks/furca-L.svg +7 -0
- package/dist/marks/furca-M.svg +1 -0
- package/dist/marks/furca-S.svg +1 -0
- package/dist/marks/hilvan-L.svg +3 -0
- package/dist/marks/hilvan-M.svg +1 -0
- package/dist/marks/hilvan-S.svg +1 -0
- package/dist/marks/kasl-L.svg +4 -0
- package/dist/marks/kasl-M.svg +1 -0
- package/dist/marks/kasl-S.svg +1 -0
- package/dist/marks/kasl-server-L.svg +4 -0
- package/dist/marks/kasl-server-M.svg +1 -0
- package/dist/marks/kasl-server-S.svg +1 -0
- package/dist/marks/kilna-L.svg +3 -0
- package/dist/marks/kilna-M.svg +1 -0
- package/dist/marks/kilna-S.svg +1 -0
- package/dist/marks/lacodda-L.svg +1 -0
- package/dist/marks/lacodda-M.svg +1 -0
- package/dist/marks/lacodda-S.svg +1 -0
- package/dist/marks/lyrid-L.svg +8 -0
- package/dist/marks/lyrid-M.svg +1 -0
- package/dist/marks/lyrid-S.svg +1 -0
- package/dist/marks/lyrn-L.svg +3 -0
- package/dist/marks/lyrn-M.svg +1 -0
- package/dist/marks/lyrn-S.svg +1 -0
- package/dist/marks/midda-L.svg +4 -0
- package/dist/marks/midda-M.svg +1 -0
- package/dist/marks/midda-S.svg +1 -0
- package/dist/marks/nitid-L.svg +4 -0
- package/dist/marks/nitid-M.svg +1 -0
- package/dist/marks/nitid-S.svg +1 -0
- package/dist/marks/nooma-L.svg +12 -0
- package/dist/marks/nooma-M.svg +1 -0
- package/dist/marks/nooma-S.svg +1 -0
- package/dist/marks/rhapsod-L.svg +4 -0
- package/dist/marks/rhapsod-M.svg +1 -0
- package/dist/marks/rhapsod-S.svg +1 -0
- package/dist/marks/rigger-L.svg +8 -0
- package/dist/marks/rigger-M.svg +1 -0
- package/dist/marks/rigger-S.svg +1 -0
- package/dist/marks/scheda-L.svg +5 -0
- package/dist/marks/scheda-M.svg +1 -0
- package/dist/marks/scheda-S.svg +1 -0
- package/dist/marks/sefy-L.svg +4 -0
- package/dist/marks/sefy-M.svg +1 -0
- package/dist/marks/sefy-S.svg +1 -0
- package/dist/marks/turnout-L.svg +4 -0
- package/dist/marks/turnout-M.svg +1 -0
- package/dist/marks/turnout-S.svg +1 -0
- package/dist/marks.d.ts +12 -0
- package/dist/marks.d.ts.map +1 -0
- package/dist/marks.js +121 -0
- package/dist/marks.js.map +1 -0
- package/dist/palettes/atlas.json +1 -1
- package/dist/palettes/austeris.json +1 -1
- package/dist/palettes/dowel.json +1 -1
- package/dist/palettes/efema.json +1 -1
- package/dist/palettes/furca.json +1 -1
- package/dist/palettes/hilvan.json +1 -1
- package/dist/palettes/kasl-server.json +1 -1
- package/dist/palettes/kasl.json +1 -1
- package/dist/palettes/kilna.json +1 -1
- package/dist/palettes/lyrid.json +1 -1
- package/dist/palettes/lyrn.json +1 -1
- package/dist/palettes/midda.json +1 -1
- package/dist/palettes/nitid.json +1 -1
- package/dist/palettes/nooma.json +1 -1
- package/dist/palettes/rhapsod.json +1 -1
- package/dist/palettes/rigger.json +1 -1
- package/dist/palettes/scheda.json +1 -1
- package/dist/palettes/sefy.json +1 -1
- package/dist/palettes/turnout.json +1 -1
- package/dist/registry.json +378 -121
- package/dist/theme.css +39 -0
- package/dist/tokens.json +7 -0
- package/package.json +8 -3
package/dist/theme.css
CHANGED
|
@@ -901,9 +901,48 @@ body {
|
|
|
901
901
|
background-color: var(--bg);
|
|
902
902
|
color: var(--text);
|
|
903
903
|
font-family: var(--font-sans);
|
|
904
|
+
/* The base step, so text nobody gave a class reads at the scale's own body
|
|
905
|
+
* size. Without it that text inherited the browser's 16px - an empty
|
|
906
|
+
* state's heading and a card's name came out a step and a half above the
|
|
907
|
+
* 12px beside them, in every product of the line.
|
|
908
|
+
*
|
|
909
|
+
* The line height is the base step's own 20 over 14, written as a ratio
|
|
910
|
+
* rather than read from `--text-base--line-height`, and that is deliberate.
|
|
911
|
+
* A length is inherited as a length: with 20px here, every element that
|
|
912
|
+
* sets a size of its own without a line height - a 10px chart label -
|
|
913
|
+
* inherited 20px and stood five pixels taller, found in the pictures of
|
|
914
|
+
* the stand. A ratio is inherited as a ratio. The theme test holds the two
|
|
915
|
+
* numbers to the tokens. */
|
|
916
|
+
font-size: var(--text-base);
|
|
917
|
+
line-height: calc(20 / 14);
|
|
904
918
|
-webkit-font-smoothing: antialiased;
|
|
905
919
|
}
|
|
906
920
|
|
|
921
|
+
/*
|
|
922
|
+
* How heavy an icon's line is.
|
|
923
|
+
*
|
|
924
|
+
* lucide draws at 2 by default, which is tuned for its own 24px; at the 14 and
|
|
925
|
+
* 16 the line actually uses, a 2px stroke reads heavier than the text beside
|
|
926
|
+
* it. 1.75 is the owner's call for the whole line (24.09), made here once
|
|
927
|
+
* rather than as a `strokeWidth` at every one of a few hundred call sites.
|
|
928
|
+
*
|
|
929
|
+
* Only an icon still on lucide's default is changed. `[stroke-width='2']` is
|
|
930
|
+
* how lucide writes the default, and an icon given another width - by a call
|
|
931
|
+
* site, or by `absoluteStrokeWidth`, which computes one - keeps it. In
|
|
932
|
+
* `@layer base` so a `stroke-*` utility on the icon wins too. A product that
|
|
933
|
+
* draws with some other icon set is untouched: the rule keys off lucide's own
|
|
934
|
+
* class.
|
|
935
|
+
*/
|
|
936
|
+
:root {
|
|
937
|
+
--icon-stroke: 1.75;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
@layer base {
|
|
941
|
+
svg.lucide[stroke-width='2'] {
|
|
942
|
+
stroke-width: var(--icon-stroke);
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
907
946
|
/*
|
|
908
947
|
* In `@layer base`, so a component can turn it off.
|
|
909
948
|
*
|
package/dist/tokens.json
CHANGED
|
@@ -393,6 +393,13 @@
|
|
|
393
393
|
"$value": 600
|
|
394
394
|
}
|
|
395
395
|
},
|
|
396
|
+
"icon": {
|
|
397
|
+
"$type": "number",
|
|
398
|
+
"$description": "The weight of an icon's line, in the icon's own units (lucide draws on a 24-unit grid). Lighter than lucide's default 2, because the line draws its icons at 14 and 16px, where 2 reads heavier than the text beside it.",
|
|
399
|
+
"stroke": {
|
|
400
|
+
"$value": 1.75
|
|
401
|
+
}
|
|
402
|
+
},
|
|
396
403
|
"duration": {
|
|
397
404
|
"$type": "duration",
|
|
398
405
|
"$description": "Motion. Cut to nothing under `prefers-reduced-motion`.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dowel-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "The lacodda line design system: theme tokens and React primitives, distributed as a shadcn-compatible registry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,6 +45,11 @@
|
|
|
45
45
|
"types": "./dist/cli/index.d.ts",
|
|
46
46
|
"import": "./dist/cli/index.js"
|
|
47
47
|
},
|
|
48
|
+
"./marks": {
|
|
49
|
+
"types": "./dist/marks.d.ts",
|
|
50
|
+
"import": "./dist/marks.js"
|
|
51
|
+
},
|
|
52
|
+
"./marks/*.svg": "./dist/marks/*.svg",
|
|
48
53
|
"./theme.css": "./dist/theme.css",
|
|
49
54
|
"./prose.css": "./dist/prose.css",
|
|
50
55
|
"./tokens.json": "./dist/tokens.json",
|
|
@@ -63,11 +68,11 @@
|
|
|
63
68
|
"react-dom": "^19.0.0"
|
|
64
69
|
},
|
|
65
70
|
"devDependencies": {
|
|
66
|
-
"@types/node": "^26.
|
|
71
|
+
"@types/node": "^26.6.2",
|
|
67
72
|
"@types/react": "^19.3.0",
|
|
68
73
|
"@types/react-dom": "^19.3.0",
|
|
69
74
|
"class-variance-authority": "^0.7.1",
|
|
70
|
-
"eslint": "^10.
|
|
75
|
+
"eslint": "^10.11.0",
|
|
71
76
|
"react": "^19.3.0",
|
|
72
77
|
"react-dom": "^19.3.0"
|
|
73
78
|
},
|