@yahoo/uds 3.59.0-beta.1 → 3.59.0-beta.2

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 (304) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-darwin-x64 +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/dist/components/Box.d.ts +2 -2
  6. package/dist/components/Box.d.ts.map +1 -1
  7. package/dist/components/Divider/Divider.d.cts +2 -2
  8. package/dist/components/Divider/Divider.d.ts +2 -2
  9. package/dist/components/Divider/DividerCore.d.cts +2 -2
  10. package/dist/components/Divider/DividerCore.d.ts +2 -2
  11. package/dist/components/Divider/DividerInternal.d.cts +2 -2
  12. package/dist/components/Divider/DividerInternal.d.ts +2 -2
  13. package/dist/components/FormLabel.d.ts +2 -2
  14. package/dist/components/HStack.d.ts +2 -2
  15. package/dist/components/Icon.d.ts +2 -2
  16. package/dist/components/Link.d.ts +2 -2
  17. package/dist/components/Text.d.cts +5 -5
  18. package/dist/components/Text.d.cts.map +1 -1
  19. package/dist/components/Text.d.ts +8 -8
  20. package/dist/components/Text.d.ts.map +1 -1
  21. package/dist/components/VStack.d.ts +2 -2
  22. package/dist/components/VStack.d.ts.map +1 -1
  23. package/dist/components/client/AnimateHeightChange.d.cts +2 -2
  24. package/dist/components/client/AnimateHeightChange.d.ts +2 -2
  25. package/dist/components/client/Avatar/Avatar.d.cts +2 -2
  26. package/dist/components/client/Avatar/Avatar.d.cts.map +1 -1
  27. package/dist/components/client/Avatar/Avatar.d.ts +2 -2
  28. package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -2
  29. package/dist/components/client/Avatar/AvatarIcon.d.cts.map +1 -1
  30. package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -2
  31. package/dist/components/client/Avatar/AvatarImage.d.cts +2 -2
  32. package/dist/components/client/Avatar/AvatarImage.d.ts +2 -2
  33. package/dist/components/client/Avatar/AvatarText.d.cts +2 -2
  34. package/dist/components/client/Avatar/AvatarText.d.ts +2 -2
  35. package/dist/components/client/IconButton.d.cts +2 -2
  36. package/dist/components/client/IconButton.d.ts +2 -2
  37. package/dist/components/client/IconButton.d.ts.map +1 -1
  38. package/dist/components/client/Input/Input.d.cts +2 -2
  39. package/dist/components/client/Input/Input.d.ts +2 -2
  40. package/dist/components/client/Input/InputHelpText.d.cts +2 -2
  41. package/dist/components/client/Input/InputHelpText.d.cts.map +1 -1
  42. package/dist/components/client/Input/InputHelpText.d.ts +2 -2
  43. package/dist/components/client/Input/InputHelpTextInternal.d.cts +4 -4
  44. package/dist/components/client/Input/InputHelpTextInternal.d.cts.map +1 -1
  45. package/dist/components/client/Input/InputHelpTextInternal.d.ts +4 -4
  46. package/dist/components/client/Menu/Menu.Content.d.cts +2 -2
  47. package/dist/components/client/Menu/Menu.Content.d.ts +2 -2
  48. package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
  49. package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
  50. package/dist/components/client/Menu/Menu.Item.d.cts +2 -2
  51. package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -2
  52. package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -2
  53. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
  54. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
  55. package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
  56. package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
  57. package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
  58. package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
  59. package/dist/components/client/Pressable.d.cts +2 -2
  60. package/dist/components/client/Pressable.d.ts +2 -2
  61. package/dist/components/client/Pressable.d.ts.map +1 -1
  62. package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
  63. package/dist/components/client/SpringMotionConfig.d.cts +3 -3
  64. package/dist/components/client/SpringMotionConfig.d.ts +3 -3
  65. package/dist/components/client/SpringMotionConfig.d.ts.map +1 -1
  66. package/dist/components/experimental/Spinner.d.cts +2 -2
  67. package/dist/components/experimental/Spinner.d.cts.map +1 -1
  68. package/dist/components/experimental/Spinner.d.ts +2 -2
  69. package/dist/components/experimental/Table.d.cts +2 -2
  70. package/dist/components/experimental/Table.d.ts +2 -2
  71. package/dist/components/experimental/client/Accordion.d.cts +2 -2
  72. package/dist/components/experimental/client/Accordion.d.cts.map +1 -1
  73. package/dist/components/experimental/client/Accordion.d.ts +2 -2
  74. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
  75. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +2 -2
  76. package/dist/components/experimental/client/Modal.d.cts +3 -3
  77. package/dist/components/experimental/client/Modal.d.cts.map +1 -1
  78. package/dist/components/experimental/client/Modal.d.ts +3 -3
  79. package/dist/components/experimental/client/Popover.d.cts +3 -3
  80. package/dist/components/experimental/client/Popover.d.cts.map +1 -1
  81. package/dist/components/experimental/client/Popover.d.ts +3 -3
  82. package/dist/components/experimental/client/Tabs.d.cts +3 -3
  83. package/dist/components/experimental/client/Tabs.d.ts +6 -6
  84. package/dist/components/experimental/client/Toast.d.cts +2 -2
  85. package/dist/components/experimental/client/Toast.d.ts +2 -2
  86. package/dist/providers/ColorModeProvider.d.cts +4 -4
  87. package/dist/providers/ColorModeProvider.d.cts.map +1 -1
  88. package/dist/providers/ColorModeProvider.d.ts +4 -4
  89. package/dist/providers/ColorModeProvider.d.ts.map +1 -1
  90. package/dist/providers/ScaleModeProvider.d.cts +4 -4
  91. package/dist/providers/ScaleModeProvider.d.cts.map +1 -1
  92. package/dist/providers/ScaleModeProvider.d.ts +4 -4
  93. package/dist/providers/ScaleModeProvider.d.ts.map +1 -1
  94. package/dist/providers/ThemeProvider.d.cts +2 -2
  95. package/dist/providers/ThemeProvider.d.cts.map +1 -1
  96. package/dist/providers/ThemeProvider.d.ts +2 -2
  97. package/dist/styles/styler.d.cts +33 -33
  98. package/dist/styles/styler.d.ts +33 -33
  99. package/dist/styles/stylerTypes.d.ts.map +1 -1
  100. package/dist/tailwind/tailwind.config.d.ts +3 -3
  101. package/dist/tailwind/tailwindPlugin.d.ts +3 -3
  102. package/dist/tailwind/utils/getMotionStyles.d.cts +1 -1
  103. package/dist/tailwind/utils/getMotionStyles.d.ts +1 -1
  104. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +2 -2
  105. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts.map +1 -1
  106. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +2 -2
  107. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts.map +1 -1
  108. package/dist/tokens/types.d.cts.map +1 -1
  109. package/dist/tokens/types.d.ts.map +1 -1
  110. package/dist/utils/intersperse.d.cts +2 -2
  111. package/dist/utils/intersperse.d.ts +2 -2
  112. package/package.json +1 -3
  113. package/cli/FlattenButtonVariant.mock.tsx +0 -17
  114. package/src/components/Box.tsx +0 -181
  115. package/src/components/Divider/Divider.tsx +0 -44
  116. package/src/components/Divider/DividerCore.tsx +0 -101
  117. package/src/components/Divider/DividerInternal.tsx +0 -56
  118. package/src/components/Divider/index.ts +0 -1
  119. package/src/components/FormLabel.tsx +0 -66
  120. package/src/components/HStack.tsx +0 -53
  121. package/src/components/Icon.tsx +0 -82
  122. package/src/components/IconSlot.tsx +0 -82
  123. package/src/components/Image.tsx +0 -162
  124. package/src/components/Link.tsx +0 -134
  125. package/src/components/Text.tsx +0 -272
  126. package/src/components/VStack.tsx +0 -53
  127. package/src/components/client/AnimateHeightChange.tsx +0 -50
  128. package/src/components/client/Avatar/Avatar.tsx +0 -31
  129. package/src/components/client/Avatar/AvatarIcon.tsx +0 -103
  130. package/src/components/client/Avatar/AvatarImage.tsx +0 -147
  131. package/src/components/client/Avatar/AvatarText.tsx +0 -88
  132. package/src/components/client/Avatar/index.ts +0 -4
  133. package/src/components/client/Avatar/utils.ts +0 -105
  134. package/src/components/client/Badge.tsx +0 -133
  135. package/src/components/client/Button.tsx +0 -312
  136. package/src/components/client/Checkbox.tsx +0 -377
  137. package/src/components/client/Chip/Chip.tsx +0 -81
  138. package/src/components/client/Chip/ChipBase.tsx +0 -151
  139. package/src/components/client/Chip/ChipButton.tsx +0 -54
  140. package/src/components/client/Chip/ChipDismissible.tsx +0 -90
  141. package/src/components/client/Chip/ChipLink.tsx +0 -60
  142. package/src/components/client/Chip/ChipToggle.tsx +0 -79
  143. package/src/components/client/Chip/index.ts +0 -5
  144. package/src/components/client/IconButton.tsx +0 -198
  145. package/src/components/client/Input/Input.tsx +0 -323
  146. package/src/components/client/Input/InputHelpText.tsx +0 -52
  147. package/src/components/client/Input/InputHelpTextInternal.tsx +0 -81
  148. package/src/components/client/Input/index.ts +0 -2
  149. package/src/components/client/Menu/Menu.Content.tsx +0 -391
  150. package/src/components/client/Menu/Menu.Divider.tsx +0 -102
  151. package/src/components/client/Menu/Menu.Item.tsx +0 -114
  152. package/src/components/client/Menu/Menu.ItemBase.tsx +0 -265
  153. package/src/components/client/Menu/Menu.ItemCheckbox.tsx +0 -197
  154. package/src/components/client/Menu/Menu.Provider.tsx +0 -154
  155. package/src/components/client/Menu/Menu.Trigger.tsx +0 -119
  156. package/src/components/client/Menu/Menu.index.tsx +0 -9
  157. package/src/components/client/Menu/Menu.tsx +0 -2
  158. package/src/components/client/Menu/index.ts +0 -7
  159. package/src/components/client/Menu/utils/transformAriakitPlacement.ts +0 -66
  160. package/src/components/client/Pressable.tsx +0 -194
  161. package/src/components/client/Radio/Radio.tsx +0 -351
  162. package/src/components/client/Radio/RadioGroupProvider.tsx +0 -122
  163. package/src/components/client/Radio/RadioGroupStore.tsx +0 -56
  164. package/src/components/client/Radio/index.ts +0 -2
  165. package/src/components/client/Radio/useRadioGroup.ts +0 -149
  166. package/src/components/client/SpringMotionConfig.tsx +0 -151
  167. package/src/components/client/Switch.tsx +0 -377
  168. package/src/components/client/index.ts +0 -30
  169. package/src/components/client/motionFeatures/domAnimation.ts +0 -2
  170. package/src/components/client/motionFeatures/domMax.ts +0 -2
  171. package/src/components/experimental/Spinner.tsx +0 -30
  172. package/src/components/experimental/Table.mocks.tsx +0 -38
  173. package/src/components/experimental/Table.tsx +0 -239
  174. package/src/components/experimental/client/Accordion.tsx +0 -77
  175. package/src/components/experimental/client/AvoidMotionLibraryProvider.tsx +0 -10
  176. package/src/components/experimental/client/Modal.tsx +0 -68
  177. package/src/components/experimental/client/Popover.tsx +0 -63
  178. package/src/components/experimental/client/SwitchV2.tsx +0 -343
  179. package/src/components/experimental/client/Tabs.tsx +0 -106
  180. package/src/components/experimental/client/Toast.tsx +0 -186
  181. package/src/components/experimental/client/index.ts +0 -15
  182. package/src/components/experimental/index.ts +0 -48
  183. package/src/components/index.ts +0 -41
  184. package/src/defaultTokensConfig.ts +0 -31
  185. package/src/fixtures/index.ts +0 -638
  186. package/src/fixtures/macros/typesToConstants.ts +0 -42
  187. package/src/fixtures/utils/getScaleModeRamp.ts +0 -48
  188. package/src/fixtures/utils/getTailwindAsUdsColors.ts +0 -115
  189. package/src/flags.ts +0 -45
  190. package/src/hooks/useForkRef.ts +0 -34
  191. package/src/hooks/useNestedBorderRadius.ts +0 -138
  192. package/src/hooks/useRtl.ts +0 -64
  193. package/src/index.ts +0 -4
  194. package/src/providers/ColorModeProvider.tsx +0 -21
  195. package/src/providers/ScaleModeProvider.tsx +0 -29
  196. package/src/providers/ThemeProvider.tsx +0 -26
  197. package/src/styles/styler.ts +0 -194
  198. package/src/styles/stylerTypes.ts +0 -81
  199. package/src/styles/toast.css +0 -0
  200. package/src/styles/variants.ts +0 -1351
  201. package/src/tailwind/base/addColorModeVars.ts +0 -23
  202. package/src/tailwind/base/addColorModeVarsV2.ts +0 -57
  203. package/src/tailwind/base/addFontFaceDeclarations.ts +0 -13
  204. package/src/tailwind/base/addFontVars.ts +0 -9
  205. package/src/tailwind/base/addMotionVars.ts +0 -9
  206. package/src/tailwind/base/addScaleModeVars.ts +0 -33
  207. package/src/tailwind/base/types.ts +0 -8
  208. package/src/tailwind/components/getButtonStyles.ts +0 -240
  209. package/src/tailwind/components/getFocusRingStyles.ts +0 -32
  210. package/src/tailwind/components/getGroupedTextStyles.ts +0 -29
  211. package/src/tailwind/components/getHitTargetStyles.ts +0 -23
  212. package/src/tailwind/components/getIconButtonStyles.ts +0 -49
  213. package/src/tailwind/components/getIconStyles.ts +0 -13
  214. package/src/tailwind/components/getInputStyles.ts +0 -20
  215. package/src/tailwind/components/getResponsiveTextStyles.ts +0 -161
  216. package/src/tailwind/components/types.ts +0 -14
  217. package/src/tailwind/components/utils.ts +0 -73
  218. package/src/tailwind/defaultTailwindThemeAsUdsConfig.ts +0 -78
  219. package/src/tailwind/postcss.config.ts +0 -6
  220. package/src/tailwind/purger/index.ts +0 -1
  221. package/src/tailwind/tailwind.config.ts +0 -50
  222. package/src/tailwind/tailwind.d.ts +0 -5
  223. package/src/tailwind/tailwindPlugin.ts +0 -724
  224. package/src/tailwind/theme/getFontFamilyTheme.ts +0 -28
  225. package/src/tailwind/tsMorph.ts +0 -1
  226. package/src/tailwind/uds.css +0 -3
  227. package/src/tailwind/utils/addFontsPlugin.ts +0 -17
  228. package/src/tailwind/utils/getColorModeStyles.ts +0 -21
  229. package/src/tailwind/utils/getFontFaceDeclarations.ts +0 -12
  230. package/src/tailwind/utils/getFontStyles.ts +0 -38
  231. package/src/tailwind/utils/getMotionStyles.ts +0 -35
  232. package/src/tailwind/utils/getScaleModeStyles.ts +0 -23
  233. package/src/tailwind/utils/getShadowPresetValues.ts +0 -133
  234. package/src/tailwind/utils/getShadowStyles.ts +0 -26
  235. package/src/tailwind/utils/getShadowVars.ts +0 -40
  236. package/src/tailwind/utils/index.ts +0 -9
  237. package/src/tokens/automation/configs/avatar.ts +0 -297
  238. package/src/tokens/automation/configs/badge.ts +0 -306
  239. package/src/tokens/automation/configs/checkbox.ts +0 -226
  240. package/src/tokens/automation/configs/chip.ts +0 -521
  241. package/src/tokens/automation/configs/divider.ts +0 -112
  242. package/src/tokens/automation/configs/index.ts +0 -10
  243. package/src/tokens/automation/configs/input.ts +0 -496
  244. package/src/tokens/automation/configs/link.ts +0 -183
  245. package/src/tokens/automation/configs/menu.ts +0 -344
  246. package/src/tokens/automation/configs/radio.ts +0 -225
  247. package/src/tokens/automation/configs/switch.ts +0 -323
  248. package/src/tokens/automation/index.ts +0 -5
  249. package/src/tokens/automation/mapTextVariantFixtureToValue.ts +0 -8
  250. package/src/tokens/automation/properties.ts +0 -433
  251. package/src/tokens/automation/types/ComponentConfig.ts +0 -116
  252. package/src/tokens/automation/types/ComponentDB.ts +0 -1
  253. package/src/tokens/automation/types/ComponentStyles.ts +0 -47
  254. package/src/tokens/automation/types/index.ts +0 -2
  255. package/src/tokens/automation/utils/cartesianProduct.ts +0 -13
  256. package/src/tokens/automation/utils/coalesceConfigVariant.ts +0 -49
  257. package/src/tokens/automation/utils/defaults.ts +0 -29
  258. package/src/tokens/automation/utils/generateKeyFromFlatConfigPath.ts +0 -15
  259. package/src/tokens/automation/utils/generateSchemaKey.ts +0 -29
  260. package/src/tokens/automation/utils/getConfigComponentVariant.ts +0 -28
  261. package/src/tokens/automation/utils/getConfigVariantComponentStatesMatrix.ts +0 -40
  262. package/src/tokens/automation/utils/getConfigVariantProperties.ts +0 -32
  263. package/src/tokens/automation/utils/getConfigVariantPseudoStates.ts +0 -70
  264. package/src/tokens/automation/utils/getConfigVariants.ts +0 -73
  265. package/src/tokens/automation/utils/index.ts +0 -939
  266. package/src/tokens/automation/utils/mapColorFixtureToValue.ts +0 -34
  267. package/src/tokens/automation/utils/subcomponents.ts +0 -13
  268. package/src/tokens/automation/utils/variableData.ts +0 -79
  269. package/src/tokens/automation/utils/variantConfigGuards.ts +0 -17
  270. package/src/tokens/configs/borderRadius.ts +0 -23
  271. package/src/tokens/configs/borderWidth.ts +0 -17
  272. package/src/tokens/configs/button.ts +0 -888
  273. package/src/tokens/configs/colorMode.ts +0 -14
  274. package/src/tokens/configs/font.ts +0 -9
  275. package/src/tokens/configs/iconButton.ts +0 -28
  276. package/src/tokens/configs/motion.ts +0 -135
  277. package/src/tokens/configs/palette.ts +0 -124
  278. package/src/tokens/configs/scaleMode.ts +0 -28
  279. package/src/tokens/configs/shadow.ts +0 -286
  280. package/src/tokens/configs/sizes.ts +0 -23
  281. package/src/tokens/configs/spectrum.ts +0 -729
  282. package/src/tokens/configs/typography.ts +0 -417
  283. package/src/tokens/configs/yosConfig.ts +0 -7651
  284. package/src/tokens/consts/buttonMotionTokens.ts +0 -99
  285. package/src/tokens/consts/cssTokens.ts +0 -110
  286. package/src/tokens/consts/defaultModes.ts +0 -15
  287. package/src/tokens/consts/fontDeclarationsMap.ts +0 -509
  288. package/src/tokens/index.ts +0 -15
  289. package/src/tokens/parseButtonVariants.ts +0 -59
  290. package/src/tokens/parseTokens.ts +0 -122
  291. package/src/tokens/types.ts +0 -1882
  292. package/src/tokens/utils/entries.ts +0 -14
  293. package/src/tokens/utils/fromEntries.ts +0 -11
  294. package/src/tokens/utils/mapValues.ts +0 -15
  295. package/src/types.ts +0 -2
  296. package/src/utils/assertUnreachable.ts +0 -6
  297. package/src/utils/composeRefs.ts +0 -23
  298. package/src/utils/createSlot.tsx +0 -131
  299. package/src/utils/entries.ts +0 -6
  300. package/src/utils/falsyToString.ts +0 -3
  301. package/src/utils/getMotionVar.ts +0 -18
  302. package/src/utils/intersperse.ts +0 -45
  303. package/src/utils/mapValues.ts +0 -15
  304. package/src/utils/mergeSlotProps.ts +0 -70
@@ -1,417 +0,0 @@
1
- import type {
2
- FontFamilyConfig,
3
- FontSizeConfig,
4
- FontSlantConfig,
5
- FontWeightConfig,
6
- FontWeightDescriptive,
7
- FontWeightNumeric,
8
- FontWidthConfig,
9
- LineHeightConfig,
10
- TextTransformConfig,
11
- } from '../types';
12
-
13
- export const fontFamily: FontFamilyConfig = {
14
- display1: 'sans',
15
- display2: 'sans',
16
- display3: 'sans',
17
- title1: 'sans',
18
- title2: 'sans',
19
- title3: 'sans',
20
- title4: 'sans',
21
- headline1: 'sans',
22
- body1: 'sans',
23
- label1: 'sans',
24
- label2: 'sans',
25
- label3: 'sans',
26
- label4: 'sans',
27
- caption1: 'sans',
28
- caption2: 'sans',
29
- legal1: 'sans',
30
- ui1: 'sans',
31
- ui2: 'sans',
32
- ui3: 'sans',
33
- ui4: 'sans',
34
- ui5: 'sans',
35
- ui6: 'sans',
36
- };
37
-
38
- /** @deprecated Descriptive font weights vary based on font, so this is not correct for each font we support
39
- * This is used as a baseline for using native font weights in the system IE. <Text fontWeight="bold" />
40
- */
41
- export const fontWeightMap: Record<FontWeightDescriptive, FontWeightNumeric> = {
42
- thin: '100',
43
- extralight: '200',
44
- light: '300',
45
- regular: '400',
46
- medium: '500',
47
- semibold: '600',
48
- bold: '700',
49
- extrabold: '800',
50
- black: '900',
51
- };
52
-
53
- export const fontWeight: FontWeightConfig = {
54
- display1: 850,
55
- display2: 800,
56
- display3: 800,
57
- title1: 700,
58
- title2: 700,
59
- title3: 700,
60
- title4: 700,
61
- headline1: 600,
62
- body1: 450,
63
- label1: 600,
64
- label2: 450,
65
- label3: 450,
66
- label4: 450,
67
- caption1: 600,
68
- caption2: 450,
69
- legal1: 600,
70
- ui1: 450,
71
- ui2: 450,
72
- ui3: 450,
73
- ui4: 450,
74
- ui5: 450,
75
- ui6: 450,
76
- };
77
-
78
- export const fontSlant: FontSlantConfig = {
79
- display1: 0,
80
- display2: 0,
81
- display3: 0,
82
- title1: 0,
83
- title2: 0,
84
- title3: 0,
85
- title4: 0,
86
- headline1: 0,
87
- body1: 0,
88
- label1: 0,
89
- label2: 0,
90
- label3: 0,
91
- label4: 0,
92
- caption1: 0,
93
- caption2: 0,
94
- legal1: 0,
95
- ui1: 0,
96
- ui2: 0,
97
- ui3: 0,
98
- ui4: 0,
99
- ui5: 0,
100
- ui6: 0,
101
- };
102
-
103
- export const fontWidth: FontWidthConfig = {
104
- display1: 75,
105
- display2: 75,
106
- display3: 75,
107
- title1: 75,
108
- title2: 75,
109
- title3: 75,
110
- title4: 75,
111
- headline1: 75,
112
- body1: 75,
113
- label1: 75,
114
- label2: 75,
115
- label3: 75,
116
- label4: 75,
117
- caption1: 75,
118
- caption2: 75,
119
- legal1: 75,
120
- ui1: 75,
121
- ui2: 75,
122
- ui3: 75,
123
- ui4: 75,
124
- ui5: 75,
125
- ui6: 75,
126
- };
127
-
128
- export const textTransform: TextTransformConfig = {
129
- display1: 'uppercase',
130
- display2: 'none',
131
- display3: 'none',
132
- title1: 'none',
133
- title2: 'none',
134
- title3: 'none',
135
- title4: 'none',
136
- headline1: 'none',
137
- body1: 'none',
138
- label1: 'none',
139
- label2: 'none',
140
- label3: 'none',
141
- label4: 'none',
142
- caption1: 'none',
143
- caption2: 'none',
144
- legal1: 'none',
145
- ui1: 'none',
146
- ui2: 'none',
147
- ui3: 'none',
148
- ui4: 'none',
149
- ui5: 'none',
150
- ui6: 'none',
151
- };
152
-
153
- export const xSmall = {
154
- fontSize: {
155
- display1: 46,
156
- display2: 37,
157
- display3: 33,
158
- title1: 29,
159
- title2: 25,
160
- title3: 21,
161
- title4: 17,
162
- headline1: 13,
163
- body1: 13,
164
- label1: 12,
165
- label2: 12,
166
- label3: 12,
167
- label4: 10,
168
- caption1: 11,
169
- caption2: 11,
170
- legal1: 10,
171
- ui1: 12,
172
- ui2: 12,
173
- ui3: 12,
174
- ui4: 12,
175
- ui5: 12,
176
- ui6: 12,
177
- } satisfies FontSizeConfig,
178
- lineHeight: {
179
- display1: 44,
180
- display3: 44,
181
- display2: 44,
182
- title1: 36,
183
- title2: 32,
184
- title3: 28,
185
- title4: 24,
186
- headline1: 16,
187
- body1: 16,
188
- label1: 16,
189
- label2: 16,
190
- label3: 16,
191
- label4: 13.5,
192
- caption1: 16,
193
- caption2: 16,
194
- legal1: 12,
195
- ui1: 12,
196
- ui2: 12,
197
- ui3: 12,
198
- ui4: 12,
199
- ui5: 12,
200
- ui6: 12,
201
- } satisfies LineHeightConfig,
202
- };
203
-
204
- export const small = {
205
- fontSize: {
206
- display1: 46,
207
- display2: 38,
208
- display3: 34,
209
- title1: 30,
210
- title2: 26,
211
- title3: 22,
212
- title4: 18,
213
- headline1: 14,
214
- body1: 14,
215
- label1: 13,
216
- label2: 13,
217
- label3: 13,
218
- label4: 11,
219
- caption1: 12,
220
- caption2: 12,
221
- legal1: 11,
222
- ui1: 12,
223
- ui2: 12,
224
- ui3: 12,
225
- ui4: 12,
226
- ui5: 12,
227
- ui6: 12,
228
- } satisfies FontSizeConfig,
229
- lineHeight: {
230
- ...xSmall.lineHeight,
231
- title1: 40,
232
- headline1: 20,
233
- body1: 20,
234
- legal1: 16,
235
- label3: 16,
236
- label4: 13.5,
237
- } satisfies LineHeightConfig,
238
- };
239
-
240
- export const medium = {
241
- fontSize: {
242
- display1: 47,
243
- display2: 39,
244
- display3: 35,
245
- title1: 31,
246
- title2: 27,
247
- title3: 23,
248
- title4: 19,
249
- headline1: 15,
250
- body1: 15,
251
- label1: 13,
252
- label2: 13,
253
- label3: 13,
254
- label4: 11,
255
- caption1: 12,
256
- caption2: 12,
257
- legal1: 11,
258
- ui1: 12,
259
- ui2: 12,
260
- ui3: 12,
261
- ui4: 12,
262
- ui5: 12,
263
- ui6: 12,
264
- } satisfies FontSizeConfig,
265
- lineHeight: {
266
- ...small.lineHeight,
267
- title2: 36,
268
- title3: 32,
269
- label3: 16,
270
- label4: 13.5,
271
- } satisfies LineHeightConfig,
272
- };
273
-
274
- export const large = {
275
- fontSize: {
276
- ...medium.fontSize,
277
- display1: 48,
278
- display2: 40,
279
- display3: 36,
280
- title1: 32,
281
- title2: 28,
282
- title3: 24,
283
- title4: 20,
284
- headline1: 16,
285
- body1: 16,
286
- label1: 14,
287
- label2: 14,
288
- label3: 14,
289
- label4: 12,
290
- } satisfies FontSizeConfig,
291
- lineHeight: {
292
- ...medium.lineHeight,
293
- title2: 36,
294
- title3: 32,
295
- headline1: 20,
296
- body1: 20,
297
- label1: 20,
298
- label2: 20,
299
- label3: 20,
300
- label4: 17.5,
301
- } satisfies LineHeightConfig,
302
- };
303
-
304
- export const xLarge = {
305
- fontSize: {
306
- display1: 50,
307
- display2: 42,
308
- display3: 38,
309
- title1: 34,
310
- title2: 30,
311
- title3: 26,
312
- title4: 22,
313
- headline1: 18,
314
- body1: 16,
315
- label1: 16,
316
- label2: 16,
317
- label3: 16,
318
- label4: 14,
319
- caption1: 14,
320
- caption2: 14,
321
- legal1: 13,
322
- ui1: 14,
323
- ui2: 14,
324
- ui3: 14,
325
- ui4: 14,
326
- ui5: 14,
327
- ui6: 14,
328
- } satisfies FontSizeConfig,
329
- lineHeight: {
330
- ...large.lineHeight,
331
- title1: 44,
332
- headline1: 24,
333
- body1: 24,
334
- caption1: 20,
335
- caption2: 20,
336
- label3: 20,
337
- label4: 17.5,
338
- } satisfies LineHeightConfig,
339
- };
340
-
341
- export const xxLarge = {
342
- fontSize: {
343
- display1: 52,
344
- display2: 44,
345
- display3: 40,
346
- title1: 36,
347
- title2: 32,
348
- title3: 28,
349
- title4: 26,
350
- headline1: 20,
351
- body1: 20,
352
- label1: 18,
353
- label2: 18,
354
- label3: 18,
355
- label4: 16,
356
- caption1: 16,
357
- caption2: 16,
358
- legal1: 15,
359
- ui1: 16,
360
- ui2: 16,
361
- ui3: 16,
362
- ui4: 16,
363
- ui5: 16,
364
- ui6: 16,
365
- } satisfies FontSizeConfig,
366
- lineHeight: {
367
- ...xLarge.lineHeight,
368
- title2: 40,
369
- title3: 36,
370
- headline1: 28,
371
- body1: 28,
372
- label1: 24,
373
- label2: 24,
374
- label3: 24,
375
- label4: 21.5,
376
- legal1: 20,
377
- } satisfies LineHeightConfig,
378
- };
379
-
380
- export const xxxLarge = {
381
- fontSize: {
382
- display1: 54,
383
- display2: 46,
384
- display3: 42,
385
- title1: 38,
386
- title2: 34,
387
- title3: 30,
388
- title4: 28,
389
- headline1: 22,
390
- body1: 22,
391
- label1: 20,
392
- label2: 20,
393
- label3: 20,
394
- label4: 18,
395
- caption1: 18,
396
- caption2: 18,
397
- legal1: 17,
398
- ui1: 18,
399
- ui2: 18,
400
- ui3: 18,
401
- ui4: 18,
402
- ui5: 18,
403
- ui6: 18,
404
- } satisfies FontSizeConfig,
405
- lineHeight: {
406
- ...xxLarge.lineHeight,
407
- title1: 48,
408
- title2: 44,
409
- title4: 32,
410
- label1: 28,
411
- label2: 28,
412
- label3: 28,
413
- label4: 25.5,
414
- caption1: 24,
415
- caption2: 24,
416
- } satisfies LineHeightConfig,
417
- };