@primer/primitives 10.0.0-rc.d2acd2c0 → 10.0.0-rc.dd3dde40

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.
Files changed (121) hide show
  1. package/README.md +2 -2
  2. package/dist/build/PrimerStyleDictionary.js +27 -26
  3. package/dist/build/filters/isCubicBezier.d.ts +7 -0
  4. package/dist/build/filters/isCubicBezier.js +10 -0
  5. package/dist/build/formats/typescriptExportDefinition.js +2 -2
  6. package/dist/build/parsers/w3cJsonParser.js +2 -2
  7. package/dist/build/platforms/css.js +1 -0
  8. package/dist/build/schemas/borderToken.d.ts +3 -3
  9. package/dist/build/schemas/colorToken.d.ts +3 -3
  10. package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
  11. package/dist/build/schemas/cubicBezierToken.js +8 -0
  12. package/dist/build/schemas/designToken.js +2 -1
  13. package/dist/build/schemas/dimensionToken.d.ts +3 -3
  14. package/dist/build/schemas/durationToken.d.ts +3 -3
  15. package/dist/build/schemas/fontFamilyToken.d.ts +3 -3
  16. package/dist/build/schemas/fontWeightToken.d.ts +3 -3
  17. package/dist/build/schemas/numberToken.d.ts +3 -3
  18. package/dist/build/schemas/shadowToken.d.ts +3 -3
  19. package/dist/build/schemas/stringToken.d.ts +3 -3
  20. package/dist/build/schemas/tokenType.d.ts +1 -1
  21. package/dist/build/schemas/typographyToken.d.ts +3 -3
  22. package/dist/build/schemas/validTokenType.d.ts +1 -1
  23. package/dist/build/schemas/validTokenType.js +1 -0
  24. package/dist/build/schemas/viewportRangeToken.d.ts +3 -3
  25. package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
  26. package/dist/build/transformers/cubicBezierToCss.js +23 -0
  27. package/dist/build/transformers/durationToCss.js +2 -2
  28. package/dist/build/transformers/index.d.ts +1 -0
  29. package/dist/build/transformers/index.js +1 -0
  30. package/dist/css/base/motion/motion.css +17 -0
  31. package/dist/css/functional/motion/motion.css +4 -3
  32. package/dist/css/functional/themes/dark-colorblind.css +58 -38
  33. package/dist/css/functional/themes/dark-dimmed.css +44 -24
  34. package/dist/css/functional/themes/dark-high-contrast.css +42 -22
  35. package/dist/css/functional/themes/dark-tritanopia.css +44 -24
  36. package/dist/css/functional/themes/dark.css +42 -22
  37. package/dist/css/functional/themes/light-colorblind.css +60 -40
  38. package/dist/css/functional/themes/light-high-contrast.css +44 -24
  39. package/dist/css/functional/themes/light-tritanopia.css +42 -22
  40. package/dist/css/functional/themes/light.css +42 -22
  41. package/dist/css/functional/typography/typography.css +43 -43
  42. package/dist/css/primitives.css +64 -46
  43. package/dist/docs/base/motion/motion.json +205 -0
  44. package/dist/docs/functional/motion/motion.json +18 -3
  45. package/dist/docs/functional/themes/dark-colorblind.json +564 -282
  46. package/dist/docs/functional/themes/dark-dimmed.json +580 -276
  47. package/dist/docs/functional/themes/dark-high-contrast.json +408 -168
  48. package/dist/docs/functional/themes/dark-tritanopia.json +558 -280
  49. package/dist/docs/functional/themes/dark.json +564 -276
  50. package/dist/docs/functional/themes/light-colorblind.json +388 -108
  51. package/dist/docs/functional/themes/light-high-contrast.json +353 -83
  52. package/dist/docs/functional/themes/light-tritanopia.json +327 -81
  53. package/dist/docs/functional/themes/light.json +356 -78
  54. package/dist/fallbacks/base/motion/motion.json +17 -0
  55. package/dist/fallbacks/functional/motion/motion.json +1 -0
  56. package/dist/figma/dimension/dimension.json +518 -518
  57. package/dist/figma/figma.json +19 -19
  58. package/dist/figma/scales/dark-dimmed.json +3536 -656
  59. package/dist/figma/scales/dark-high-constrast.json +3535 -655
  60. package/dist/figma/scales/dark.json +3371 -491
  61. package/dist/figma/scales/light-high-constrast.json +3533 -653
  62. package/dist/figma/scales/light.json +3370 -490
  63. package/dist/figma/shadows/dark-colorblind.json +285 -285
  64. package/dist/figma/shadows/dark-dimmed.json +285 -285
  65. package/dist/figma/shadows/dark-high-contrast.json +285 -285
  66. package/dist/figma/shadows/dark-tritanopia.json +285 -285
  67. package/dist/figma/shadows/dark.json +285 -285
  68. package/dist/figma/shadows/light-colorblind.json +254 -254
  69. package/dist/figma/shadows/light-high-contrast.json +254 -254
  70. package/dist/figma/shadows/light-tritanopia.json +254 -254
  71. package/dist/figma/shadows/light.json +254 -254
  72. package/dist/figma/themes/dark-colorblind.json +5197 -5068
  73. package/dist/figma/themes/dark-dimmed.json +5526 -5351
  74. package/dist/figma/themes/dark-high-contrast.json +4361 -4251
  75. package/dist/figma/themes/dark-tritanopia.json +5315 -5187
  76. package/dist/figma/themes/dark.json +5740 -5581
  77. package/dist/figma/themes/light-colorblind.json +5104 -4929
  78. package/dist/figma/themes/light-high-contrast.json +4462 -4319
  79. package/dist/figma/themes/light-tritanopia.json +5176 -5050
  80. package/dist/figma/themes/light.json +5657 -5500
  81. package/dist/figma/typography/typography.json +162 -162
  82. package/dist/internalCss/dark-colorblind.css +58 -38
  83. package/dist/internalCss/dark-dimmed.css +44 -24
  84. package/dist/internalCss/dark-high-contrast.css +42 -22
  85. package/dist/internalCss/dark-tritanopia.css +44 -24
  86. package/dist/internalCss/dark.css +42 -22
  87. package/dist/internalCss/light-colorblind.css +60 -40
  88. package/dist/internalCss/light-high-contrast.css +44 -24
  89. package/dist/internalCss/light-tritanopia.css +42 -22
  90. package/dist/internalCss/light.css +42 -22
  91. package/dist/styleLint/base/motion/motion.json +205 -0
  92. package/dist/styleLint/functional/motion/motion.json +18 -3
  93. package/dist/styleLint/functional/themes/dark-colorblind.json +564 -282
  94. package/dist/styleLint/functional/themes/dark-dimmed.json +580 -276
  95. package/dist/styleLint/functional/themes/dark-high-contrast.json +407 -167
  96. package/dist/styleLint/functional/themes/dark-tritanopia.json +558 -280
  97. package/dist/styleLint/functional/themes/dark.json +564 -276
  98. package/dist/styleLint/functional/themes/light-colorblind.json +388 -108
  99. package/dist/styleLint/functional/themes/light-high-contrast.json +353 -83
  100. package/dist/styleLint/functional/themes/light-tritanopia.json +327 -81
  101. package/dist/styleLint/functional/themes/light.json +356 -78
  102. package/package.json +21 -29
  103. package/src/tokens/base/motion/easing.json5 +26 -0
  104. package/src/tokens/base/motion/timing.json5 +50 -0
  105. package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
  106. package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
  107. package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
  108. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
  109. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +39 -26
  110. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +56 -30
  111. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +37 -14
  112. package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
  113. package/src/tokens/functional/color/dark/primitives-dark.json5 +1 -1
  114. package/src/tokens/functional/color/light/app-light.json5 +195 -85
  115. package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
  116. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
  117. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +61 -33
  118. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +62 -10
  119. package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
  120. package/src/tokens/functional/motion/loading.json5 +1 -1
  121. package/src/tokens/functional/motion/patterns.json5 +9 -2
@@ -1,3 +1,20 @@
1
+ :root {
2
+ --base-easing-linear: cubic-bezier(0, 0, 1, 1); /* Ideal for non-movement properties, like opacity or background color. */
3
+ --base-easing-easeIn: cubic-bezier(0.7, 0.1, 0.75, 0.9); /* Ideal for movement that starts on the page and ends off the page. */
4
+ --base-easing-easeOut: cubic-bezier(0.16, 1, 0.3, 1); /* Ideal for movement that starts off the page and ends on the page. */
5
+ --base-easing-easeInOut: cubic-bezier(0.6, 0, 0.2, 1); /* Ideal for movement that starts and ends on the page. */
6
+ --base-duration-0: 0ms;
7
+ --base-duration-75: 75ms;
8
+ --base-duration-200: 200ms;
9
+ --base-duration-300: 300ms;
10
+ --base-duration-400: 400ms;
11
+ --base-duration-500: 500ms;
12
+ --base-duration-600: 600ms;
13
+ --base-duration-700: 700ms;
14
+ --base-duration-800: 800ms;
15
+ --base-duration-900: 900ms;
16
+ --base-duration-1000: 1s;
17
+ }
1
18
  :root {
2
19
  --base-size-2: 0.125rem;
3
20
  --base-size-4: 0.25rem;
@@ -26,9 +43,10 @@
26
43
  --base-text-weight-semibold: 600;
27
44
  }
28
45
  :root {
29
- --motion-skeletonLoader-shimmer-duration-scale: 1s; /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
30
- --motion-spinner-duration-rotation: 1s; /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
31
- --motion-loading-delay-default: 1s; /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
46
+ --motion-loading-delay-default: var(--base-duration-1000); /* The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies. */
47
+ --motion-spinner-duration-rotation: var(--base-duration-1000); /* The amount of time it takes the "Spinner" loading indicator to make a full 360deg rotation */
48
+ --motion-spinner-easing-rotation: var(--base-easing-linear); /* The easing curve for the "Spinner" loading indicator rotation */
49
+ --motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
32
50
  }
33
51
  :root {
34
52
  --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
@@ -136,50 +154,50 @@
136
154
  --overlay-offset: 0.25rem;
137
155
  }
138
156
  :root {
139
- --text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace); /* Inline code blocks using em units to inherit size from its parent. */
140
- --text-codeInline-weight: var(--base-text-weight-normal);
141
- --text-codeInline-size: 0.9285em;
142
- --text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size) / var(--text-codeBlock-lineHeight) var(--fontStack-monospace); /* Default style for rendering code blocks. */
143
- --text-codeBlock-weight: var(--base-text-weight-normal);
144
- --text-codeBlock-lineHeight: 1.5385;
145
- --text-codeBlock-size: 0.8125rem;
146
- --text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size) / var(--text-caption-lineHeight) var(--fontStack-sansSerif); /* Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements. */
147
- --text-caption-weight: var(--base-text-weight-normal);
148
- --text-caption-lineHeight: 1.3333;
149
- --text-caption-size: 0.75rem;
150
- --text-body-shorthand-small: var(--text-body-weight) var(--text-body-size-small) / var(--text-body-lineHeight-small) var(--fontStack-sansSerif); /* Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px. */
151
- --text-body-shorthand-medium: var(--text-body-weight) var(--text-body-size-medium) / var(--text-body-lineHeight-medium) var(--fontStack-sansSerif); /* Default UI font. Most commonly used for body text. */
152
- --text-body-shorthand-large: var(--text-body-weight) var(--text-body-size-large) / var(--text-body-lineHeight-large) var(--fontStack-sansSerif); /* User-generated content, markdown rendering. */
153
- --text-body-weight: var(--base-text-weight-normal);
154
- --text-body-lineHeight-small: 1.6666;
155
- --text-body-lineHeight-medium: 1.4285;
156
- --text-body-lineHeight-large: 1.5;
157
- --text-body-size-small: 0.75rem;
158
- --text-body-size-medium: 0.875rem;
159
- --text-body-size-large: 1rem;
160
- --text-subtitle-shorthand: var(--text-subtitle-weight) var(--text-subtitle-size) / var(--text-subtitle-lineHeight) var(--fontStack-sansSerifDisplay); /* Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium). */
161
- --text-subtitle-weight: var(--base-text-weight-normal);
162
- --text-subtitle-lineHeight: 1.6;
157
+ --fontStack-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
158
+ --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
159
+ --fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
160
+ --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
161
+ --text-display-lineBoxHeight: 1.4;
162
+ --text-display-size: 2.5rem;
163
+ --text-display-lineHeight: 1.4;
164
+ --text-title-size-large: 2rem;
165
+ --text-title-size-medium: 1.25rem;
166
+ --text-title-size-small: 1rem;
167
+ --text-title-lineHeight-large: 1.5;
168
+ --text-title-lineHeight-medium: 1.6;
169
+ --text-title-lineHeight-small: 1.5;
163
170
  --text-subtitle-size: 1.25rem;
164
- --text-title-shorthand-small: var(--text-title-weight-small) var(--text-title-size-small) / var(--text-title-lineHeight-small) var(--fontStack-sansSerif); /* Uses the same size as body (large) with a heavier weight of semibold (600). */
165
- --text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium) / var(--text-title-lineHeight-medium) var(--fontStack-sansSerifDisplay); /* Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition. */
166
- --text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large) / var(--text-title-lineHeight-large) var(--fontStack-sansSerifDisplay); /* Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports. */
167
- --text-title-weight-small: var(--base-text-weight-semibold);
168
- --text-title-weight-medium: var(--base-text-weight-semibold);
171
+ --text-subtitle-lineHeight: 1.6;
172
+ --text-body-size-large: 1rem;
173
+ --text-body-size-medium: 0.875rem;
174
+ --text-body-size-small: 0.75rem;
175
+ --text-body-lineHeight-large: 1.5;
176
+ --text-body-lineHeight-medium: 1.4285;
177
+ --text-body-lineHeight-small: 1.6666;
178
+ --text-caption-size: 0.75rem;
179
+ --text-caption-lineHeight: 1.3333;
180
+ --text-codeBlock-size: 0.8125rem;
181
+ --text-codeBlock-lineHeight: 1.5385;
182
+ --text-codeInline-size: 0.9285em;
183
+ --text-display-weight: var(--base-text-weight-medium);
169
184
  --text-title-weight-large: var(--base-text-weight-semibold);
170
- --text-title-lineHeight-small: 1.5;
171
- --text-title-lineHeight-medium: 1.6;
172
- --text-title-lineHeight-large: 1.5;
173
- --text-title-size-small: 1rem;
174
- --text-title-size-medium: 1.25rem;
175
- --text-title-size-large: 2rem;
185
+ --text-title-weight-medium: var(--base-text-weight-semibold);
186
+ --text-title-weight-small: var(--base-text-weight-semibold);
187
+ --text-subtitle-weight: var(--base-text-weight-normal);
188
+ --text-body-weight: var(--base-text-weight-normal);
189
+ --text-caption-weight: var(--base-text-weight-normal);
190
+ --text-codeBlock-weight: var(--base-text-weight-normal);
191
+ --text-codeInline-weight: var(--base-text-weight-normal);
176
192
  --text-display-shorthand: var(--text-display-weight) var(--text-display-size) / var(--text-display-lineHeight) var(--fontStack-sansSerifDisplay); /* Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports. */
177
- --text-display-weight: var(--base-text-weight-medium);
178
- --text-display-lineHeight: 1.4;
179
- --text-display-size: 2.5rem;
180
- --text-display-lineBoxHeight: 1.4;
181
- --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
182
- --fontStack-sansSerifDisplay: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
183
- --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
184
- --fontStack-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
193
+ --text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large) / var(--text-title-lineHeight-large) var(--fontStack-sansSerifDisplay); /* Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports. */
194
+ --text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium) / var(--text-title-lineHeight-medium) var(--fontStack-sansSerifDisplay); /* Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition. */
195
+ --text-title-shorthand-small: var(--text-title-weight-small) var(--text-title-size-small) / var(--text-title-lineHeight-small) var(--fontStack-sansSerif); /* Uses the same size as body (large) with a heavier weight of semibold (600). */
196
+ --text-subtitle-shorthand: var(--text-subtitle-weight) var(--text-subtitle-size) / var(--text-subtitle-lineHeight) var(--fontStack-sansSerifDisplay); /* Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium). */
197
+ --text-body-shorthand-large: var(--text-body-weight) var(--text-body-size-large) / var(--text-body-lineHeight-large) var(--fontStack-sansSerif); /* User-generated content, markdown rendering. */
198
+ --text-body-shorthand-medium: var(--text-body-weight) var(--text-body-size-medium) / var(--text-body-lineHeight-medium) var(--fontStack-sansSerif); /* Default UI font. Most commonly used for body text. */
199
+ --text-body-shorthand-small: var(--text-body-weight) var(--text-body-size-small) / var(--text-body-lineHeight-small) var(--fontStack-sansSerif); /* Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px. */
200
+ --text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size) / var(--text-caption-lineHeight) var(--fontStack-sansSerif); /* Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements. */
201
+ --text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size) / var(--text-codeBlock-lineHeight) var(--fontStack-monospace); /* Default style for rendering code blocks. */
202
+ --text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace); /* Inline code blocks using em units to inherit size from its parent. */
185
203
  }
@@ -0,0 +1,205 @@
1
+ {
2
+ "base-easing-linear": {
3
+ "filePath": "src/tokens/base/motion/easing.json5",
4
+ "isSource": true,
5
+ "original": {
6
+ "$value": [0, 0, 1, 1],
7
+ "$type": "cubicBezier",
8
+ "$description": "Ideal for non-movement properties, like opacity or background color."
9
+ },
10
+ "name": "base-easing-linear",
11
+ "attributes": {},
12
+ "path": ["base", "easing", "linear"],
13
+ "value": [0, 0, 1, 1],
14
+ "type": "cubicBezier",
15
+ "description": "Ideal for non-movement properties, like opacity or background color."
16
+ },
17
+ "base-easing-easeIn": {
18
+ "filePath": "src/tokens/base/motion/easing.json5",
19
+ "isSource": true,
20
+ "original": {
21
+ "$value": [0.7, 0.1, 0.75, 0.9],
22
+ "$type": "cubicBezier",
23
+ "$description": "Ideal for movement that starts on the page and ends off the page."
24
+ },
25
+ "name": "base-easing-easeIn",
26
+ "attributes": {},
27
+ "path": ["base", "easing", "easeIn"],
28
+ "value": [0.7, 0.1, 0.75, 0.9],
29
+ "type": "cubicBezier",
30
+ "description": "Ideal for movement that starts on the page and ends off the page."
31
+ },
32
+ "base-easing-easeOut": {
33
+ "filePath": "src/tokens/base/motion/easing.json5",
34
+ "isSource": true,
35
+ "original": {
36
+ "$value": [0.16, 1, 0.3, 1],
37
+ "$type": "cubicBezier",
38
+ "$description": "Ideal for movement that starts off the page and ends on the page."
39
+ },
40
+ "name": "base-easing-easeOut",
41
+ "attributes": {},
42
+ "path": ["base", "easing", "easeOut"],
43
+ "value": [0.16, 1, 0.3, 1],
44
+ "type": "cubicBezier",
45
+ "description": "Ideal for movement that starts off the page and ends on the page."
46
+ },
47
+ "base-easing-easeInOut": {
48
+ "filePath": "src/tokens/base/motion/easing.json5",
49
+ "isSource": true,
50
+ "original": {
51
+ "$value": [0.6, 0, 0.2, 1],
52
+ "$type": "cubicBezier",
53
+ "$description": "Ideal for movement that starts and ends on the page."
54
+ },
55
+ "name": "base-easing-easeInOut",
56
+ "attributes": {},
57
+ "path": ["base", "easing", "easeInOut"],
58
+ "value": [0.6, 0, 0.2, 1],
59
+ "type": "cubicBezier",
60
+ "description": "Ideal for movement that starts and ends on the page."
61
+ },
62
+ "base-duration-0": {
63
+ "filePath": "src/tokens/base/motion/timing.json5",
64
+ "isSource": true,
65
+ "original": {
66
+ "$value": "0ms",
67
+ "$type": "duration"
68
+ },
69
+ "name": "base-duration-0",
70
+ "attributes": {},
71
+ "path": ["base", "duration", "0"],
72
+ "value": "0ms",
73
+ "type": "duration"
74
+ },
75
+ "base-duration-75": {
76
+ "filePath": "src/tokens/base/motion/timing.json5",
77
+ "isSource": true,
78
+ "original": {
79
+ "$value": "75ms",
80
+ "$type": "duration"
81
+ },
82
+ "name": "base-duration-75",
83
+ "attributes": {},
84
+ "path": ["base", "duration", "75"],
85
+ "value": "75ms",
86
+ "type": "duration"
87
+ },
88
+ "base-duration-200": {
89
+ "filePath": "src/tokens/base/motion/timing.json5",
90
+ "isSource": true,
91
+ "original": {
92
+ "$value": "200ms",
93
+ "$type": "duration"
94
+ },
95
+ "name": "base-duration-200",
96
+ "attributes": {},
97
+ "path": ["base", "duration", "200"],
98
+ "value": "200ms",
99
+ "type": "duration"
100
+ },
101
+ "base-duration-300": {
102
+ "filePath": "src/tokens/base/motion/timing.json5",
103
+ "isSource": true,
104
+ "original": {
105
+ "$value": "300ms",
106
+ "$type": "duration"
107
+ },
108
+ "name": "base-duration-300",
109
+ "attributes": {},
110
+ "path": ["base", "duration", "300"],
111
+ "value": "300ms",
112
+ "type": "duration"
113
+ },
114
+ "base-duration-400": {
115
+ "filePath": "src/tokens/base/motion/timing.json5",
116
+ "isSource": true,
117
+ "original": {
118
+ "$value": "400ms",
119
+ "$type": "duration"
120
+ },
121
+ "name": "base-duration-400",
122
+ "attributes": {},
123
+ "path": ["base", "duration", "400"],
124
+ "value": "400ms",
125
+ "type": "duration"
126
+ },
127
+ "base-duration-500": {
128
+ "filePath": "src/tokens/base/motion/timing.json5",
129
+ "isSource": true,
130
+ "original": {
131
+ "$value": "500ms",
132
+ "$type": "duration"
133
+ },
134
+ "name": "base-duration-500",
135
+ "attributes": {},
136
+ "path": ["base", "duration", "500"],
137
+ "value": "500ms",
138
+ "type": "duration"
139
+ },
140
+ "base-duration-600": {
141
+ "filePath": "src/tokens/base/motion/timing.json5",
142
+ "isSource": true,
143
+ "original": {
144
+ "$value": "600ms",
145
+ "$type": "duration"
146
+ },
147
+ "name": "base-duration-600",
148
+ "attributes": {},
149
+ "path": ["base", "duration", "600"],
150
+ "value": "600ms",
151
+ "type": "duration"
152
+ },
153
+ "base-duration-700": {
154
+ "filePath": "src/tokens/base/motion/timing.json5",
155
+ "isSource": true,
156
+ "original": {
157
+ "$value": "700ms",
158
+ "$type": "duration"
159
+ },
160
+ "name": "base-duration-700",
161
+ "attributes": {},
162
+ "path": ["base", "duration", "700"],
163
+ "value": "700ms",
164
+ "type": "duration"
165
+ },
166
+ "base-duration-800": {
167
+ "filePath": "src/tokens/base/motion/timing.json5",
168
+ "isSource": true,
169
+ "original": {
170
+ "$value": "800ms",
171
+ "$type": "duration"
172
+ },
173
+ "name": "base-duration-800",
174
+ "attributes": {},
175
+ "path": ["base", "duration", "800"],
176
+ "value": "800ms",
177
+ "type": "duration"
178
+ },
179
+ "base-duration-900": {
180
+ "filePath": "src/tokens/base/motion/timing.json5",
181
+ "isSource": true,
182
+ "original": {
183
+ "$value": "900ms",
184
+ "$type": "duration"
185
+ },
186
+ "name": "base-duration-900",
187
+ "attributes": {},
188
+ "path": ["base", "duration", "900"],
189
+ "value": "900ms",
190
+ "type": "duration"
191
+ },
192
+ "base-duration-1000": {
193
+ "filePath": "src/tokens/base/motion/timing.json5",
194
+ "isSource": true,
195
+ "original": {
196
+ "$value": "1000ms",
197
+ "$type": "duration"
198
+ },
199
+ "name": "base-duration-1000",
200
+ "attributes": {},
201
+ "path": ["base", "duration", "1000"],
202
+ "value": "1000ms",
203
+ "type": "duration"
204
+ }
205
+ }
@@ -3,7 +3,7 @@
3
3
  "filePath": "src/tokens/functional/motion/loading.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
- "$value": "1000ms",
6
+ "$value": "{base.duration.1000}",
7
7
  "$type": "duration",
8
8
  "$description": "The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies."
9
9
  },
@@ -18,7 +18,7 @@
18
18
  "filePath": "src/tokens/functional/motion/patterns.json5",
19
19
  "isSource": true,
20
20
  "original": {
21
- "$value": "1000ms",
21
+ "$value": "{base.duration.1000}",
22
22
  "$type": "duration",
23
23
  "$description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
24
24
  },
@@ -29,11 +29,26 @@
29
29
  "type": "duration",
30
30
  "description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
31
31
  },
32
+ "motion-spinner-easing-rotation": {
33
+ "filePath": "src/tokens/functional/motion/patterns.json5",
34
+ "isSource": true,
35
+ "original": {
36
+ "$value": "{base.easing.linear}",
37
+ "$type": "cubicBezier",
38
+ "$description": "The easing curve for the \"Spinner\" loading indicator rotation"
39
+ },
40
+ "name": "motion-spinner-easing-rotation",
41
+ "attributes": {},
42
+ "path": ["motion", "spinner", "easing", "rotation"],
43
+ "value": [0, 0, 1, 1],
44
+ "type": "cubicBezier",
45
+ "description": "The easing curve for the \"Spinner\" loading indicator rotation"
46
+ },
32
47
  "motion-skeletonLoader-shimmer-duration-scale": {
33
48
  "filePath": "src/tokens/functional/motion/patterns.json5",
34
49
  "isSource": true,
35
50
  "original": {
36
- "$value": "1000ms",
51
+ "$value": "{base.duration.1000}",
37
52
  "$type": "duration",
38
53
  "$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
39
54
  },