dowel-ui 0.36.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 +11 -7
- package/dist/history.json +170 -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 +180 -113
- package/dist/theme.css +25 -4
- package/package.json +1 -1
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
|
|
@@ -912,10 +933,10 @@
|
|
|
912
933
|
* `quick` for a colour or an opacity that should feel immediate, `base` for
|
|
913
934
|
* something that moves, `slow` for something arriving from off-screen.
|
|
914
935
|
*
|
|
915
|
-
*
|
|
916
|
-
*
|
|
917
|
-
*
|
|
918
|
-
*
|
|
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)]`.
|
|
919
940
|
*
|
|
920
941
|
* Every duration here is for people who want motion: `prefers-reduced-
|
|
921
942
|
* motion` cuts them to nothing further down.
|
package/package.json
CHANGED