dowel-ui 0.35.0 → 0.37.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 +32 -9
- package/dist/history.json +3919 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- 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 +300 -119
- package/dist/theme.css +36 -4
- package/package.json +4 -3
package/dist/theme.css
CHANGED
|
@@ -644,6 +644,27 @@
|
|
|
644
644
|
--ease-out: cubic-bezier(0.2, 0, 0, 1);
|
|
645
645
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
646
646
|
|
|
647
|
+
/*
|
|
648
|
+
* Durations, as the namespace Tailwind's `duration-*` reads, so
|
|
649
|
+
* `duration-quick` is a class. The steps are declared once, as `--duration-*`
|
|
650
|
+
* further down; these only name them for the compiler.
|
|
651
|
+
*
|
|
652
|
+
* Until v0.37 they were not here, and the comment beside the steps said a
|
|
653
|
+
* named duration could not be a class. It can - the namespace is
|
|
654
|
+
* `--transition-duration-*` - and eight primitives had been writing
|
|
655
|
+
* `duration-quick` and `duration-base` all along: classes that compiled to
|
|
656
|
+
* nothing, so every one of those transitions ran on Tailwind's 150ms. The
|
|
657
|
+
* motion gate now compiles every class of motion the set writes.
|
|
658
|
+
*
|
|
659
|
+
* The default is a step too. A bare `transition-colors` - most of the set's
|
|
660
|
+
* transitions - takes it, and 150ms was the one duration in the set nobody
|
|
661
|
+
* had chosen.
|
|
662
|
+
*/
|
|
663
|
+
--transition-duration-quick: var(--duration-quick);
|
|
664
|
+
--transition-duration-base: var(--duration-base);
|
|
665
|
+
--transition-duration-slow: var(--duration-slow);
|
|
666
|
+
--default-transition-duration: var(--duration-quick);
|
|
667
|
+
|
|
647
668
|
/*
|
|
648
669
|
* Elevation. Three steps, because the products had one and used it for a
|
|
649
670
|
* toast, a dropdown and a modal alike - so a modal never sat further from
|
|
@@ -719,6 +740,17 @@
|
|
|
719
740
|
*/
|
|
720
741
|
--spacing-rail-compact: 56px;
|
|
721
742
|
|
|
743
|
+
/*
|
|
744
|
+
* A list beside what is open in it: `ListDetail`'s column of rows.
|
|
745
|
+
*
|
|
746
|
+
* Wider than the rail on purpose. The rail holds a destination per line -
|
|
747
|
+
* one word and an icon - and a list holds a title with a line under it and
|
|
748
|
+
* a date at the end, which at 216px is cut to three words. kilna drew six
|
|
749
|
+
* such screens with five widths and three gaps before settling on two
|
|
750
|
+
* widths, this and the rail's; 264 is the one its rows read at.
|
|
751
|
+
*/
|
|
752
|
+
--spacing-list: 264px;
|
|
753
|
+
|
|
722
754
|
/*
|
|
723
755
|
* How much of a frameless window's edge can be grabbed to resize it.
|
|
724
756
|
*
|
|
@@ -901,10 +933,10 @@
|
|
|
901
933
|
* `quick` for a colour or an opacity that should feel immediate, `base` for
|
|
902
934
|
* something that moves, `slow` for something arriving from off-screen.
|
|
903
935
|
*
|
|
904
|
-
*
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
*
|
|
936
|
+
* Declared here rather than in `@theme`, so the token keeps its name - the
|
|
937
|
+
* `@theme` block above maps each to `--transition-duration-*`, which is what
|
|
938
|
+
* makes `duration-quick` a class. Inside an arbitrary transition they are
|
|
939
|
+
* read directly: `[transition:opacity_var(--duration-quick)_var(--ease-out)]`.
|
|
908
940
|
*
|
|
909
941
|
* Every duration here is for people who want motion: `prefers-reduced-
|
|
910
942
|
* motion` cuts them to nothing further down.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dowel-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.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",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"./prose.css": "./dist/prose.css",
|
|
55
55
|
"./tokens.json": "./dist/tokens.json",
|
|
56
56
|
"./registry.json": "./dist/registry.json",
|
|
57
|
+
"./history.json": "./dist/history.json",
|
|
57
58
|
"./accents/*.css": "./dist/accents/*.css",
|
|
58
59
|
"./palettes/*.json": "./dist/palettes/*.json"
|
|
59
60
|
},
|
|
@@ -68,11 +69,11 @@
|
|
|
68
69
|
"react-dom": "^19.0.0"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
|
-
"@types/node": "^26.6.
|
|
72
|
+
"@types/node": "^26.6.5",
|
|
72
73
|
"@types/react": "^19.3.0",
|
|
73
74
|
"@types/react-dom": "^19.3.0",
|
|
74
75
|
"class-variance-authority": "^0.7.1",
|
|
75
|
-
"eslint": "^10.
|
|
76
|
+
"eslint": "^10.12.0",
|
|
76
77
|
"react": "^19.3.0",
|
|
77
78
|
"react-dom": "^19.3.0"
|
|
78
79
|
},
|