@afluem/tokens 0.5.0 → 0.6.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 -0
- package/dist/index.js +4 -1
- package/dist/tailwind.css +1 -0
- package/dist/tokens.css +5 -0
- package/dist/tokens.json +22 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -177,10 +177,13 @@ export declare const tokens: {
|
|
|
177
177
|
"stagger": string;
|
|
178
178
|
"icon": string;
|
|
179
179
|
"icon-stagger": string;
|
|
180
|
+
"sparkline": string;
|
|
181
|
+
"loader": string;
|
|
180
182
|
};
|
|
181
183
|
"easing": {
|
|
182
184
|
"out": string;
|
|
183
185
|
"in": string;
|
|
186
|
+
"trace": string;
|
|
184
187
|
"in-out": string;
|
|
185
188
|
};
|
|
186
189
|
"z": {
|
package/dist/index.js
CHANGED
|
@@ -176,11 +176,14 @@ export const tokens = {
|
|
|
176
176
|
"slow": "200ms",
|
|
177
177
|
"stagger": "40ms",
|
|
178
178
|
"icon": "700ms",
|
|
179
|
-
"icon-stagger": "160ms"
|
|
179
|
+
"icon-stagger": "160ms",
|
|
180
|
+
"sparkline": "1200ms",
|
|
181
|
+
"loader": "2400ms"
|
|
180
182
|
},
|
|
181
183
|
"easing": {
|
|
182
184
|
"out": "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
183
185
|
"in": "cubic-bezier(0.7, 0, 0.84, 0)",
|
|
186
|
+
"trace": "cubic-bezier(0.25, 0.1, 0.4, 0.85)",
|
|
184
187
|
"in-out": "cubic-bezier(0.65, 0, 0.35, 1)"
|
|
185
188
|
},
|
|
186
189
|
"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
|
@@ -117,8 +117,11 @@
|
|
|
117
117
|
--af-duration-stagger: 40ms;
|
|
118
118
|
--af-duration-icon: 700ms;
|
|
119
119
|
--af-duration-icon-stagger: 160ms;
|
|
120
|
+
--af-duration-sparkline: 1200ms;
|
|
121
|
+
--af-duration-loader: 2400ms;
|
|
120
122
|
--af-easing-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
121
123
|
--af-easing-in: cubic-bezier(0.7, 0, 0.84, 0);
|
|
124
|
+
--af-easing-trace: cubic-bezier(0.25, 0.1, 0.4, 0.85);
|
|
122
125
|
--af-easing-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
123
126
|
--af-z-band: 30;
|
|
124
127
|
--af-z-hint: 40;
|
|
@@ -311,5 +314,7 @@
|
|
|
311
314
|
--af-duration-stagger: 0s;
|
|
312
315
|
--af-duration-icon: 0s;
|
|
313
316
|
--af-duration-icon-stagger: 0s;
|
|
317
|
+
--af-duration-sparkline: 0s;
|
|
318
|
+
--af-duration-loader: 0s;
|
|
314
319
|
}
|
|
315
320
|
}
|
package/dist/tokens.json
CHANGED
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
"variable": "--af-duration-icon",
|
|
817
817
|
"group": "duration",
|
|
818
818
|
"value": "700ms",
|
|
819
|
-
"description": "One part of a navigation icon motion: long enough to watch the icon act out its page.
|
|
819
|
+
"description": "One part of a navigation icon motion: long enough to watch the icon act out its page. With duration-loader and duration-sparkline, the only motions above duration-slow."
|
|
820
820
|
},
|
|
821
821
|
{
|
|
822
822
|
"name": "duration-icon-stagger",
|
|
@@ -825,6 +825,20 @@
|
|
|
825
825
|
"value": "160ms",
|
|
826
826
|
"description": "Delay between the parts of a navigation icon motion. Never a duration on its own."
|
|
827
827
|
},
|
|
828
|
+
{
|
|
829
|
+
"name": "duration-sparkline",
|
|
830
|
+
"variable": "--af-duration-sparkline",
|
|
831
|
+
"group": "duration",
|
|
832
|
+
"value": "1200ms",
|
|
833
|
+
"description": "A sparkline replaying its series from the oldest value when its metric is hovered: long enough to read the series as time passing."
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "duration-loader",
|
|
837
|
+
"variable": "--af-duration-loader",
|
|
838
|
+
"group": "duration",
|
|
839
|
+
"value": "2400ms",
|
|
840
|
+
"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."
|
|
841
|
+
},
|
|
828
842
|
{
|
|
829
843
|
"name": "easing-out",
|
|
830
844
|
"variable": "--af-easing-out",
|
|
@@ -839,6 +853,13 @@
|
|
|
839
853
|
"value": "cubic-bezier(0.7, 0, 0.84, 0)",
|
|
840
854
|
"description": "Exits only, at duration-fast."
|
|
841
855
|
},
|
|
856
|
+
{
|
|
857
|
+
"name": "easing-trace",
|
|
858
|
+
"variable": "--af-easing-trace",
|
|
859
|
+
"group": "easing",
|
|
860
|
+
"value": "cubic-bezier(0.25, 0.1, 0.4, 0.85)",
|
|
861
|
+
"description": "The sparkline replay only: eases in and lands on the last value without braking to a stop."
|
|
862
|
+
},
|
|
842
863
|
{
|
|
843
864
|
"name": "easing-in-out",
|
|
844
865
|
"variable": "--af-easing-in-out",
|
package/package.json
CHANGED