@afluem/tokens 0.5.0 → 0.7.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/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/tailwind.css +1 -0
- package/dist/tokens.css +5 -2
- package/dist/tokens.json +20 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -176,11 +176,13 @@ export declare const tokens: {
|
|
|
176
176
|
"slow": string;
|
|
177
177
|
"stagger": string;
|
|
178
178
|
"icon": string;
|
|
179
|
-
"
|
|
179
|
+
"sparkline": string;
|
|
180
|
+
"loader": string;
|
|
180
181
|
};
|
|
181
182
|
"easing": {
|
|
182
183
|
"out": string;
|
|
183
184
|
"in": string;
|
|
185
|
+
"trace": string;
|
|
184
186
|
"in-out": string;
|
|
185
187
|
};
|
|
186
188
|
"z": {
|
package/dist/index.js
CHANGED
|
@@ -176,11 +176,13 @@ export const tokens = {
|
|
|
176
176
|
"slow": "200ms",
|
|
177
177
|
"stagger": "40ms",
|
|
178
178
|
"icon": "700ms",
|
|
179
|
-
"
|
|
179
|
+
"sparkline": "1200ms",
|
|
180
|
+
"loader": "2400ms"
|
|
180
181
|
},
|
|
181
182
|
"easing": {
|
|
182
183
|
"out": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
183
184
|
"in": "cubic-bezier(0.7, 0, 0.84, 0)",
|
|
185
|
+
"trace": "cubic-bezier(0.25, 0.1, 0.4, 0.85)",
|
|
184
186
|
"in-out": "cubic-bezier(0.65, 0, 0.35, 1)"
|
|
185
187
|
},
|
|
186
188
|
"z": {
|
package/dist/tailwind.css
CHANGED
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
--shadow-focus-ring: var(--af-shadow-focus-ring);
|
|
63
63
|
--ease-out: var(--af-easing-out);
|
|
64
64
|
--ease-in: var(--af-easing-in);
|
|
65
|
+
--ease-trace: var(--af-easing-trace);
|
|
65
66
|
--ease-in-out: var(--af-easing-in-out);
|
|
66
67
|
--spacing: var(--af-space-1);
|
|
67
68
|
--text-display-xl: var(--af-text-display-xl-size);
|
package/dist/tokens.css
CHANGED
|
@@ -116,9 +116,11 @@
|
|
|
116
116
|
--af-duration-slow: 200ms;
|
|
117
117
|
--af-duration-stagger: 40ms;
|
|
118
118
|
--af-duration-icon: 700ms;
|
|
119
|
-
--af-duration-
|
|
119
|
+
--af-duration-sparkline: 1200ms;
|
|
120
|
+
--af-duration-loader: 2400ms;
|
|
120
121
|
--af-easing-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
121
122
|
--af-easing-in: cubic-bezier(0.7, 0, 0.84, 0);
|
|
123
|
+
--af-easing-trace: cubic-bezier(0.25, 0.1, 0.4, 0.85);
|
|
122
124
|
--af-easing-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
123
125
|
--af-z-band: 30;
|
|
124
126
|
--af-z-hint: 40;
|
|
@@ -310,6 +312,7 @@
|
|
|
310
312
|
--af-duration-slow: 0s;
|
|
311
313
|
--af-duration-stagger: 0s;
|
|
312
314
|
--af-duration-icon: 0s;
|
|
313
|
-
--af-duration-
|
|
315
|
+
--af-duration-sparkline: 0s;
|
|
316
|
+
--af-duration-loader: 0s;
|
|
314
317
|
}
|
|
315
318
|
}
|
package/dist/tokens.json
CHANGED
|
@@ -816,14 +816,21 @@
|
|
|
816
816
|
"variable": "--af-duration-icon",
|
|
817
817
|
"group": "duration",
|
|
818
818
|
"value": "700ms",
|
|
819
|
-
"description": "
|
|
819
|
+
"description": "A page icon drawn again by its brush when its nav link or menu item is hovered: long enough to watch the stroke run. With duration-loader and duration-sparkline, the only motions above duration-slow."
|
|
820
820
|
},
|
|
821
821
|
{
|
|
822
|
-
"name": "duration-
|
|
823
|
-
"variable": "--af-duration-
|
|
822
|
+
"name": "duration-sparkline",
|
|
823
|
+
"variable": "--af-duration-sparkline",
|
|
824
824
|
"group": "duration",
|
|
825
|
-
"value": "
|
|
826
|
-
"description": "
|
|
825
|
+
"value": "1200ms",
|
|
826
|
+
"description": "A sparkline replaying its series from the oldest value when its metric is hovered: long enough to read the series as time passing."
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "duration-loader",
|
|
830
|
+
"variable": "--af-duration-loader",
|
|
831
|
+
"group": "duration",
|
|
832
|
+
"value": "2400ms",
|
|
833
|
+
"description": "One cycle of the loader, repeated while the work runs: the brush draws the mark's circle, holds, and lifts off through the gap."
|
|
827
834
|
},
|
|
828
835
|
{
|
|
829
836
|
"name": "easing-out",
|
|
@@ -839,12 +846,19 @@
|
|
|
839
846
|
"value": "cubic-bezier(0.7, 0, 0.84, 0)",
|
|
840
847
|
"description": "Exits only, at duration-fast."
|
|
841
848
|
},
|
|
849
|
+
{
|
|
850
|
+
"name": "easing-trace",
|
|
851
|
+
"variable": "--af-easing-trace",
|
|
852
|
+
"group": "easing",
|
|
853
|
+
"value": "cubic-bezier(0.25, 0.1, 0.4, 0.85)",
|
|
854
|
+
"description": "The sparkline replay only: eases in and lands on the last value without braking to a stop."
|
|
855
|
+
},
|
|
842
856
|
{
|
|
843
857
|
"name": "easing-in-out",
|
|
844
858
|
"variable": "--af-easing-in-out",
|
|
845
859
|
"group": "easing",
|
|
846
860
|
"value": "cubic-bezier(0.65, 0, 0.35, 1)",
|
|
847
|
-
"description": "
|
|
861
|
+
"description": "A brush stroke being drawn, in the loader and in a page icon: it starts and ends at rest."
|
|
848
862
|
},
|
|
849
863
|
{
|
|
850
864
|
"name": "z-band",
|
package/package.json
CHANGED