@altinn/altinn-components 0.24.6 → 0.24.8

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 (268) hide show
  1. package/dist/altinn-ds-overrides.css +9 -14
  2. package/dist/altinn-ds.css +18 -18
  3. package/dist/altinn-theme.css +5 -6
  4. package/dist/assets/ActionHeader.css +1 -1
  5. package/dist/assets/Badge.css +1 -1
  6. package/dist/assets/ButtonBase.css +1 -1
  7. package/dist/assets/DatepickerTable.css +1 -1
  8. package/dist/assets/DialogListItem.css +1 -1
  9. package/dist/assets/DialogSelect.css +1 -1
  10. package/dist/assets/DropdownBase.css +1 -1
  11. package/dist/assets/Icon.css +1 -1
  12. package/dist/assets/LayoutBase.css +1 -1
  13. package/dist/assets/ListItemBase.css +1 -1
  14. package/dist/assets/ListItemHeader.css +1 -1
  15. package/dist/assets/ListItemLabel.css +1 -1
  16. package/dist/assets/ListItemSelect.css +1 -1
  17. package/dist/assets/MenuBase.css +1 -1
  18. package/dist/assets/MenuInputField.css +1 -1
  19. package/dist/assets/MenuItemBase.css +1 -1
  20. package/dist/assets/MetaItemBase.css +1 -1
  21. package/dist/assets/PageMenu.css +1 -1
  22. package/dist/assets/ProgressIcon.css +1 -1
  23. package/dist/assets/SnackbarItem.css +1 -1
  24. package/dist/assets/TimelineBase.css +1 -1
  25. package/dist/components/Badge/Badge.js +6 -6
  26. package/dist/components/Button/ButtonBase.js +14 -14
  27. package/dist/components/Datepicker/DatepickerTable.js +1 -1
  28. package/dist/components/Dialog/DialogActivityLog.js +1 -1
  29. package/dist/components/Dialog/DialogLayout.js +13 -14
  30. package/dist/components/Dialog/DialogList.js +11 -11
  31. package/dist/components/Dialog/DialogListItem.js +68 -68
  32. package/dist/components/Dialog/DialogSeenBy.js +4 -4
  33. package/dist/components/Dialog/DialogSelect.js +9 -9
  34. package/dist/components/Dialog/DialogStatus.js +2 -2
  35. package/dist/components/Dropdown/DropdownBase.js +5 -5
  36. package/dist/components/DsComponents/index.js +17 -16
  37. package/dist/components/Icon/Icon.js +4 -4
  38. package/dist/components/Icon/ProgressIcon.js +7 -7
  39. package/dist/components/Layout/LayoutBase.js +1 -1
  40. package/dist/components/LayoutAction/ActionHeader.js +14 -14
  41. package/dist/components/List/ListItemBase.js +19 -19
  42. package/dist/components/List/ListItemHeader.js +32 -32
  43. package/dist/components/List/ListItemLabel.js +11 -11
  44. package/dist/components/List/ListItemSelect.js +7 -7
  45. package/dist/components/Menu/MenuBase.js +10 -10
  46. package/dist/components/Menu/MenuInputField.js +10 -10
  47. package/dist/components/Menu/MenuItemBase.js +27 -27
  48. package/dist/components/Meta/MetaItemBase.js +19 -19
  49. package/dist/components/Meta/Metadata.js +24 -0
  50. package/dist/components/Meta/index.js +15 -15
  51. package/dist/components/Page/AccordionSection.js +16 -0
  52. package/dist/components/Page/ArticleHeader.js +16 -0
  53. package/dist/components/Page/ContactButtons.js +12 -0
  54. package/dist/components/Page/ContactSection.js +20 -21
  55. package/dist/components/Page/DashboardCard.js +49 -0
  56. package/dist/components/Page/DashboardHeader.js +24 -0
  57. package/dist/components/Page/PageDetails.js +9 -0
  58. package/dist/components/Page/PageMenu.js +6 -6
  59. package/dist/components/Page/index.js +28 -18
  60. package/dist/components/Profile/AccountList.js +12 -0
  61. package/dist/components/Profile/AccountListItem.js +88 -0
  62. package/dist/components/Profile/index.js +6 -0
  63. package/dist/components/Snackbar/SnackbarItem.js +12 -12
  64. package/dist/components/Timeline/TimelineBase.js +19 -19
  65. package/dist/components/index.js +184 -169
  66. package/dist/floating-ui.react-BQwG1HOM.js +2840 -0
  67. package/dist/global.css +3 -2
  68. package/dist/index-C8BS_2GY.js +64 -0
  69. package/dist/index-DcykCrjD.js +115 -0
  70. package/dist/index.js +190 -175
  71. package/dist/padding.css +22 -0
  72. package/dist/tokens/$metadata.json +10 -5
  73. package/dist/tokens/$themes.json +46 -14
  74. package/dist/tokens/README.md +8 -7
  75. package/dist/tokens/alert.css +8 -6
  76. package/dist/tokens/alert.json +18 -14
  77. package/dist/tokens/altinn-ds/color/alert.css +8 -6
  78. package/dist/tokens/altinn-ds/color/article.css +8 -6
  79. package/dist/tokens/altinn-ds/color/company.css +6 -5
  80. package/dist/tokens/altinn-ds/color/danger.css +25 -0
  81. package/dist/tokens/altinn-ds/color/info.css +25 -0
  82. package/dist/tokens/altinn-ds/color/neutral.css +25 -0
  83. package/dist/tokens/altinn-ds/color/person.css +8 -6
  84. package/dist/tokens/altinn-ds/color/success.css +25 -0
  85. package/dist/tokens/altinn-ds/color/warning.css +25 -0
  86. package/dist/tokens/altinn-ds/color-scheme/dark.css +252 -412
  87. package/dist/tokens/altinn-ds/color-scheme/light.css +222 -382
  88. package/dist/tokens/altinn-ds/semantic.css +54 -54
  89. package/dist/tokens/altinn-ds/typography/primary.css +10 -15
  90. package/dist/tokens/altinn-ds/typography/secondary.css +10 -15
  91. package/dist/tokens/altinn-ds.css +682 -987
  92. package/dist/tokens/altinn-ds.json +14 -12
  93. package/dist/tokens/article.css +8 -6
  94. package/dist/tokens/article.json +18 -14
  95. package/dist/tokens/color/alert.css +8 -6
  96. package/dist/tokens/color/article.css +8 -6
  97. package/dist/tokens/color/company.css +6 -5
  98. package/dist/tokens/color/danger.css +25 -0
  99. package/dist/tokens/color/info.css +25 -0
  100. package/dist/tokens/color/neutral.css +25 -0
  101. package/dist/tokens/color/person.css +8 -6
  102. package/dist/tokens/color/success.css +25 -0
  103. package/dist/tokens/color/warning.css +25 -0
  104. package/dist/tokens/color-scheme/dark/altinn-ds.json +100 -80
  105. package/dist/tokens/color-scheme/dark/global.json +99 -141
  106. package/dist/tokens/color-scheme/dark.css +252 -412
  107. package/dist/tokens/color-scheme/light/altinn-ds.json +94 -74
  108. package/dist/tokens/color-scheme/light/global.json +90 -132
  109. package/dist/tokens/color-scheme/light.css +222 -382
  110. package/dist/tokens/color.json +185 -141
  111. package/dist/tokens/colors.d.ts +2 -2
  112. package/dist/tokens/company.css +6 -5
  113. package/dist/tokens/company.json +18 -14
  114. package/dist/tokens/danger.css +25 -0
  115. package/dist/tokens/dark/altinn-ds.json +100 -80
  116. package/dist/tokens/dark/global.json +99 -141
  117. package/dist/tokens/dark.css +252 -412
  118. package/dist/tokens/design-tokens/$metadata.json +10 -5
  119. package/dist/tokens/design-tokens/$themes.json +46 -14
  120. package/dist/tokens/design-tokens/primitives/globals.json +2 -14
  121. package/dist/tokens/design-tokens/primitives/modes/color-scheme/dark/altinn-ds.json +100 -80
  122. package/dist/tokens/design-tokens/primitives/modes/color-scheme/dark/global.json +99 -141
  123. package/dist/tokens/design-tokens/primitives/modes/color-scheme/light/altinn-ds.json +94 -74
  124. package/dist/tokens/design-tokens/primitives/modes/color-scheme/light/global.json +90 -132
  125. package/dist/tokens/design-tokens/primitives/modes/size/global.json +21 -21
  126. package/dist/tokens/design-tokens/primitives/modes/typography/primary/altinn-ds.json +14 -12
  127. package/dist/tokens/design-tokens/primitives/modes/typography/secondary/altinn-ds.json +14 -12
  128. package/dist/tokens/design-tokens/primitives/modes/typography/size/large.json +8 -12
  129. package/dist/tokens/design-tokens/primitives/modes/typography/size/medium.json +8 -12
  130. package/dist/tokens/design-tokens/primitives/modes/typography/size/small.json +8 -12
  131. package/dist/tokens/design-tokens/semantic/color.json +185 -141
  132. package/dist/tokens/design-tokens/semantic/modes/main-color/company.json +18 -14
  133. package/dist/tokens/design-tokens/semantic/modes/main-color/person.json +18 -14
  134. package/dist/tokens/design-tokens/semantic/modes/support-color/alert.json +18 -14
  135. package/dist/tokens/design-tokens/semantic/modes/support-color/article.json +18 -14
  136. package/dist/tokens/design-tokens/semantic/style.json +104 -182
  137. package/dist/tokens/design-tokens/themes/altinn-ds.json +61 -39
  138. package/dist/tokens/design-tokens-build/altinn-ds/color/alert.css +8 -6
  139. package/dist/tokens/design-tokens-build/altinn-ds/color/article.css +8 -6
  140. package/dist/tokens/design-tokens-build/altinn-ds/color/company.css +6 -5
  141. package/dist/tokens/design-tokens-build/altinn-ds/color/danger.css +25 -0
  142. package/dist/tokens/design-tokens-build/altinn-ds/color/info.css +25 -0
  143. package/dist/tokens/design-tokens-build/altinn-ds/color/neutral.css +25 -0
  144. package/dist/tokens/design-tokens-build/altinn-ds/color/person.css +8 -6
  145. package/dist/tokens/design-tokens-build/altinn-ds/color/success.css +25 -0
  146. package/dist/tokens/design-tokens-build/altinn-ds/color/warning.css +25 -0
  147. package/dist/tokens/design-tokens-build/altinn-ds/color-scheme/dark.css +252 -412
  148. package/dist/tokens/design-tokens-build/altinn-ds/color-scheme/light.css +222 -382
  149. package/dist/tokens/design-tokens-build/altinn-ds/semantic.css +54 -54
  150. package/dist/tokens/design-tokens-build/altinn-ds/typography/primary.css +10 -15
  151. package/dist/tokens/design-tokens-build/altinn-ds/typography/secondary.css +10 -15
  152. package/dist/tokens/design-tokens-build/altinn-ds.css +682 -987
  153. package/dist/tokens/design-tokens-build/colors.d.ts +2 -2
  154. package/dist/tokens/global.json +90 -132
  155. package/dist/tokens/globals.json +2 -14
  156. package/dist/tokens/info.css +25 -0
  157. package/dist/tokens/large.json +8 -12
  158. package/dist/tokens/light/altinn-ds.json +94 -74
  159. package/dist/tokens/light/global.json +90 -132
  160. package/dist/tokens/light.css +222 -382
  161. package/dist/tokens/main-color/company.json +18 -14
  162. package/dist/tokens/main-color/person.json +18 -14
  163. package/dist/tokens/medium.json +8 -12
  164. package/dist/tokens/modes/color-scheme/dark/altinn-ds.json +100 -80
  165. package/dist/tokens/modes/color-scheme/dark/global.json +99 -141
  166. package/dist/tokens/modes/color-scheme/light/altinn-ds.json +94 -74
  167. package/dist/tokens/modes/color-scheme/light/global.json +90 -132
  168. package/dist/tokens/modes/main-color/company.json +18 -14
  169. package/dist/tokens/modes/main-color/person.json +18 -14
  170. package/dist/tokens/modes/size/global.json +21 -21
  171. package/dist/tokens/modes/support-color/alert.json +18 -14
  172. package/dist/tokens/modes/support-color/article.json +18 -14
  173. package/dist/tokens/modes/typography/primary/altinn-ds.json +14 -12
  174. package/dist/tokens/modes/typography/secondary/altinn-ds.json +14 -12
  175. package/dist/tokens/modes/typography/size/large.json +8 -12
  176. package/dist/tokens/modes/typography/size/medium.json +8 -12
  177. package/dist/tokens/modes/typography/size/small.json +8 -12
  178. package/dist/tokens/neutral.css +25 -0
  179. package/dist/tokens/person.css +8 -6
  180. package/dist/tokens/person.json +18 -14
  181. package/dist/tokens/primary/altinn-ds.json +14 -12
  182. package/dist/tokens/primary.css +10 -15
  183. package/dist/tokens/primitives/globals.json +2 -14
  184. package/dist/tokens/primitives/modes/color-scheme/dark/altinn-ds.json +100 -80
  185. package/dist/tokens/primitives/modes/color-scheme/dark/global.json +99 -141
  186. package/dist/tokens/primitives/modes/color-scheme/light/altinn-ds.json +94 -74
  187. package/dist/tokens/primitives/modes/color-scheme/light/global.json +90 -132
  188. package/dist/tokens/primitives/modes/size/global.json +21 -21
  189. package/dist/tokens/primitives/modes/typography/primary/altinn-ds.json +14 -12
  190. package/dist/tokens/primitives/modes/typography/secondary/altinn-ds.json +14 -12
  191. package/dist/tokens/primitives/modes/typography/size/large.json +8 -12
  192. package/dist/tokens/primitives/modes/typography/size/medium.json +8 -12
  193. package/dist/tokens/primitives/modes/typography/size/small.json +8 -12
  194. package/dist/tokens/secondary/altinn-ds.json +14 -12
  195. package/dist/tokens/secondary.css +10 -15
  196. package/dist/tokens/semantic/color.json +185 -141
  197. package/dist/tokens/semantic/modes/main-color/company.json +18 -14
  198. package/dist/tokens/semantic/modes/main-color/person.json +18 -14
  199. package/dist/tokens/semantic/modes/support-color/alert.json +18 -14
  200. package/dist/tokens/semantic/modes/support-color/article.json +18 -14
  201. package/dist/tokens/semantic/style.json +104 -182
  202. package/dist/tokens/semantic.css +54 -54
  203. package/dist/tokens/size/global.json +21 -21
  204. package/dist/tokens/size/large.json +8 -12
  205. package/dist/tokens/size/medium.json +8 -12
  206. package/dist/tokens/size/small.json +8 -12
  207. package/dist/tokens/small.json +8 -12
  208. package/dist/tokens/style.json +104 -182
  209. package/dist/tokens/success.css +25 -0
  210. package/dist/tokens/support-color/alert.json +18 -14
  211. package/dist/tokens/support-color/article.json +18 -14
  212. package/dist/tokens/themes/altinn-ds.json +61 -39
  213. package/dist/tokens/typography/primary/altinn-ds.json +14 -12
  214. package/dist/tokens/typography/primary.css +10 -15
  215. package/dist/tokens/typography/secondary/altinn-ds.json +14 -12
  216. package/dist/tokens/typography/secondary.css +10 -15
  217. package/dist/tokens/typography/size/large.json +8 -12
  218. package/dist/tokens/typography/size/medium.json +8 -12
  219. package/dist/tokens/typography/size/small.json +8 -12
  220. package/dist/tokens/warning.css +25 -0
  221. package/dist/types/lib/components/Dialog/DialogList.d.ts +2 -1
  222. package/dist/types/lib/components/Dialog/DialogList.stories.d.ts +2 -1
  223. package/dist/types/lib/components/Menu/Examples.stories.d.ts +17 -0
  224. package/dist/types/lib/components/Meta/MetaItemBase.d.ts +1 -1
  225. package/dist/types/lib/components/Meta/{MetaList.d.ts → Metadata.d.ts} +6 -4
  226. package/dist/types/lib/components/Meta/index.d.ts +1 -1
  227. package/dist/types/lib/components/Page/AccordionSection.d.ts +10 -0
  228. package/dist/types/lib/components/Page/ArticleHeader.d.ts +8 -0
  229. package/dist/types/lib/components/Page/ArticleHeader.stories.d.ts +14 -0
  230. package/dist/types/lib/components/Page/ContactButtons.d.ts +7 -0
  231. package/dist/types/lib/components/Page/ContactSection.d.ts +2 -2
  232. package/dist/types/lib/components/Page/DashboardCard.d.ts +10 -0
  233. package/dist/types/lib/components/Page/DashboardHeader.d.ts +10 -0
  234. package/dist/types/lib/components/Page/PageDetails.d.ts +6 -0
  235. package/dist/types/lib/components/Page/Patterns.stories.d.ts +14 -1
  236. package/dist/types/lib/components/Page/index.d.ts +7 -2
  237. package/dist/types/lib/components/Profile/AccountList.d.ts +5 -0
  238. package/dist/types/lib/components/{Meta/MetaList.stories.d.ts → Profile/AccountList.stories.d.ts} +2 -4
  239. package/dist/types/lib/components/Profile/AccountListItem.d.ts +11 -0
  240. package/dist/types/lib/components/Profile/index.d.ts +2 -0
  241. package/dist/types/lib/components/index.d.ts +1 -0
  242. package/dist/usePagination-B2I-a3Aq.js +1089 -0
  243. package/package.json +3 -1
  244. package/dist/assets/MetaList.css +0 -1
  245. package/dist/companyMenuItems-E0wNQAfZ.js +0 -105
  246. package/dist/components/Meta/MetaList.js +0 -22
  247. package/dist/components/Page/Article.js +0 -6
  248. package/dist/tokens/Figma/components.json +0 -22
  249. package/dist/tokens/accent.css +0 -23
  250. package/dist/tokens/accent.json +0 -66
  251. package/dist/tokens/altinn-ds/builtin-colors.css +0 -87
  252. package/dist/tokens/altinn-ds/color/accent.css +0 -23
  253. package/dist/tokens/builtin-colors.css +0 -87
  254. package/dist/tokens/color/accent.css +0 -23
  255. package/dist/tokens/components.json +0 -22
  256. package/dist/tokens/default.json +0 -175
  257. package/dist/tokens/design-tokens/Figma/components.json +0 -22
  258. package/dist/tokens/design-tokens/primitives/size/default.json +0 -175
  259. package/dist/tokens/design-tokens/semantic/modes/main-color/accent.json +0 -66
  260. package/dist/tokens/design-tokens-build/altinn-ds/builtin-colors.css +0 -87
  261. package/dist/tokens/design-tokens-build/altinn-ds/color/accent.css +0 -23
  262. package/dist/tokens/main-color/accent.json +0 -66
  263. package/dist/tokens/modes/main-color/accent.json +0 -66
  264. package/dist/tokens/primitives/size/default.json +0 -175
  265. package/dist/tokens/semantic/modes/main-color/accent.json +0 -66
  266. package/dist/tokens/size/default.json +0 -175
  267. package/dist/types/lib/components/Page/Article.d.ts +0 -6
  268. package/dist/usePagination-CBMPUKt_.js +0 -4073
@@ -4,70 +4,70 @@
4
4
  "2xl": {
5
5
  "$type": "typography",
6
6
  "$value": {
7
- "fontFamily": "{font.family}",
7
+ "fontFamily": "{font-family}",
8
8
  "fontWeight": "{font-weight.medium}",
9
9
  "lineHeight": "{line-height.sm}",
10
- "fontSize": "{font-size.11}",
10
+ "fontSize": "{font-size.10}",
11
11
  "letterSpacing": "{letter-spacing.1}"
12
12
  }
13
13
  },
14
14
  "xl": {
15
15
  "$type": "typography",
16
16
  "$value": {
17
- "fontFamily": "{font.family}",
17
+ "fontFamily": "{font-family}",
18
18
  "fontWeight": "{font-weight.medium}",
19
19
  "lineHeight": "{line-height.sm}",
20
- "fontSize": "{font-size.10}",
20
+ "fontSize": "{font-size.9}",
21
21
  "letterSpacing": "{letter-spacing.1}"
22
22
  }
23
23
  },
24
24
  "lg": {
25
25
  "$type": "typography",
26
26
  "$value": {
27
- "fontFamily": "{font.family}",
27
+ "fontFamily": "{font-family}",
28
28
  "fontWeight": "{font-weight.medium}",
29
29
  "lineHeight": "{line-height.sm}",
30
- "fontSize": "{font-size.9}",
30
+ "fontSize": "{font-size.8}",
31
31
  "letterSpacing": "{letter-spacing.2}"
32
32
  }
33
33
  },
34
34
  "md": {
35
35
  "$type": "typography",
36
36
  "$value": {
37
- "fontFamily": "{font.family}",
37
+ "fontFamily": "{font-family}",
38
38
  "fontWeight": "{font-weight.medium}",
39
39
  "lineHeight": "{line-height.sm}",
40
- "fontSize": "{font-size.8}",
40
+ "fontSize": "{font-size.7}",
41
41
  "letterSpacing": "{letter-spacing.3}"
42
42
  }
43
43
  },
44
44
  "sm": {
45
45
  "$type": "typography",
46
46
  "$value": {
47
- "fontFamily": "{font.family}",
47
+ "fontFamily": "{font-family}",
48
48
  "fontWeight": "{font-weight.medium}",
49
49
  "lineHeight": "{line-height.sm}",
50
- "fontSize": "{font-size.7}",
50
+ "fontSize": "{font-size.6}",
51
51
  "letterSpacing": "{letter-spacing.5}"
52
52
  }
53
53
  },
54
54
  "xs": {
55
55
  "$type": "typography",
56
56
  "$value": {
57
- "fontFamily": "{font.family}",
57
+ "fontFamily": "{font-family}",
58
58
  "fontWeight": "{font-weight.medium}",
59
59
  "lineHeight": "{line-height.sm}",
60
- "fontSize": "{font-size.6}",
60
+ "fontSize": "{font-size.5}",
61
61
  "letterSpacing": "{letter-spacing.6}"
62
62
  }
63
63
  },
64
64
  "2xs": {
65
65
  "$type": "typography",
66
66
  "$value": {
67
- "fontFamily": "{font.family}",
67
+ "fontFamily": "{font-family}",
68
68
  "fontWeight": "{font-weight.medium}",
69
69
  "lineHeight": "{line-height.sm}",
70
- "fontSize": "{font-size.5}",
70
+ "fontSize": "{font-size.4}",
71
71
  "letterSpacing": "{letter-spacing.6}"
72
72
  }
73
73
  }
@@ -76,50 +76,50 @@
76
76
  "xl": {
77
77
  "$type": "typography",
78
78
  "$value": {
79
- "fontFamily": "{font.family}",
79
+ "fontFamily": "{font-family}",
80
80
  "fontWeight": "{font-weight.regular}",
81
81
  "lineHeight": "{line-height.md}",
82
- "fontSize": "{font-size.7}",
82
+ "fontSize": "{font-size.6}",
83
83
  "letterSpacing": "{letter-spacing.8}"
84
84
  }
85
85
  },
86
86
  "lg": {
87
87
  "$type": "typography",
88
88
  "$value": {
89
- "fontFamily": "{font.family}",
89
+ "fontFamily": "{font-family}",
90
90
  "fontWeight": "{font-weight.regular}",
91
91
  "lineHeight": "{line-height.md}",
92
- "fontSize": "{font-size.6}",
92
+ "fontSize": "{font-size.5}",
93
93
  "letterSpacing": "{letter-spacing.8}"
94
94
  }
95
95
  },
96
96
  "md": {
97
97
  "$type": "typography",
98
98
  "$value": {
99
- "fontFamily": "{font.family}",
99
+ "fontFamily": "{font-family}",
100
100
  "fontWeight": "{font-weight.regular}",
101
101
  "lineHeight": "{line-height.md}",
102
- "fontSize": "{font-size.5}",
102
+ "fontSize": "{font-size.4}",
103
103
  "letterSpacing": "{letter-spacing.8}"
104
104
  }
105
105
  },
106
106
  "sm": {
107
107
  "$type": "typography",
108
108
  "$value": {
109
- "fontFamily": "{font.family}",
109
+ "fontFamily": "{font-family}",
110
110
  "fontWeight": "{font-weight.regular}",
111
111
  "lineHeight": "{line-height.md}",
112
- "fontSize": "{font-size.4}",
112
+ "fontSize": "{font-size.3}",
113
113
  "letterSpacing": "{letter-spacing.7}"
114
114
  }
115
115
  },
116
116
  "xs": {
117
117
  "$type": "typography",
118
118
  "$value": {
119
- "fontFamily": "{font.family}",
119
+ "fontFamily": "{font-family}",
120
120
  "fontWeight": "{font-weight.regular}",
121
121
  "lineHeight": "{line-height.md}",
122
- "fontSize": "{font-size.3}",
122
+ "fontSize": "{font-size.2}",
123
123
  "letterSpacing": "{letter-spacing.6}"
124
124
  }
125
125
  },
@@ -127,50 +127,50 @@
127
127
  "xl": {
128
128
  "$type": "typography",
129
129
  "$value": {
130
- "fontFamily": "{font.family}",
130
+ "fontFamily": "{font-family}",
131
131
  "fontWeight": "{font-weight.regular}",
132
132
  "lineHeight": "{line-height.sm}",
133
- "fontSize": "{font-size.7}",
133
+ "fontSize": "{font-size.6}",
134
134
  "letterSpacing": "{letter-spacing.8}"
135
135
  }
136
136
  },
137
137
  "lg": {
138
138
  "$type": "typography",
139
139
  "$value": {
140
- "fontFamily": "{font.family}",
140
+ "fontFamily": "{font-family}",
141
141
  "fontWeight": "{font-weight.regular}",
142
142
  "lineHeight": "{line-height.sm}",
143
- "fontSize": "{font-size.6}",
143
+ "fontSize": "{font-size.5}",
144
144
  "letterSpacing": "{letter-spacing.8}"
145
145
  }
146
146
  },
147
147
  "md": {
148
148
  "$type": "typography",
149
149
  "$value": {
150
- "fontFamily": "{font.family}",
150
+ "fontFamily": "{font-family}",
151
151
  "fontWeight": "{font-weight.regular}",
152
152
  "lineHeight": "{line-height.sm}",
153
- "fontSize": "{font-size.5}",
153
+ "fontSize": "{font-size.4}",
154
154
  "letterSpacing": "{letter-spacing.8}"
155
155
  }
156
156
  },
157
157
  "sm": {
158
158
  "$type": "typography",
159
159
  "$value": {
160
- "fontFamily": "{font.family}",
160
+ "fontFamily": "{font-family}",
161
161
  "fontWeight": "{font-weight.regular}",
162
162
  "lineHeight": "{line-height.sm}",
163
- "fontSize": "{font-size.4}",
163
+ "fontSize": "{font-size.3}",
164
164
  "letterSpacing": "{letter-spacing.7}"
165
165
  }
166
166
  },
167
167
  "xs": {
168
168
  "$type": "typography",
169
169
  "$value": {
170
- "fontFamily": "{font.family}",
170
+ "fontFamily": "{font-family}",
171
171
  "fontWeight": "{font-weight.regular}",
172
172
  "lineHeight": "{line-height.sm}",
173
- "fontSize": "{font-size.3}",
173
+ "fontSize": "{font-size.2}",
174
174
  "letterSpacing": "{letter-spacing.6}"
175
175
  }
176
176
  }
@@ -179,278 +179,200 @@
179
179
  "xl": {
180
180
  "$type": "typography",
181
181
  "$value": {
182
- "fontFamily": "{font.family}",
182
+ "fontFamily": "{font-family}",
183
183
  "fontWeight": "{font-weight.regular}",
184
184
  "lineHeight": "{line-height.lg}",
185
- "fontSize": "{font-size.7}",
185
+ "fontSize": "{font-size.6}",
186
186
  "letterSpacing": "{letter-spacing.8}"
187
187
  }
188
188
  },
189
189
  "lg": {
190
190
  "$type": "typography",
191
191
  "$value": {
192
- "fontFamily": "{font.family}",
192
+ "fontFamily": "{font-family}",
193
193
  "fontWeight": "{font-weight.regular}",
194
194
  "lineHeight": "{line-height.lg}",
195
- "fontSize": "{font-size.6}",
195
+ "fontSize": "{font-size.5}",
196
196
  "letterSpacing": "{letter-spacing.8}"
197
197
  }
198
198
  },
199
199
  "md": {
200
200
  "$type": "typography",
201
201
  "$value": {
202
- "fontFamily": "{font.family}",
202
+ "fontFamily": "{font-family}",
203
203
  "fontWeight": "{font-weight.regular}",
204
204
  "lineHeight": "{line-height.lg}",
205
- "fontSize": "{font-size.5}",
205
+ "fontSize": "{font-size.4}",
206
206
  "letterSpacing": "{letter-spacing.8}"
207
207
  }
208
208
  },
209
209
  "sm": {
210
210
  "$type": "typography",
211
211
  "$value": {
212
- "fontFamily": "{font.family}",
212
+ "fontFamily": "{font-family}",
213
213
  "fontWeight": "{font-weight.regular}",
214
214
  "lineHeight": "{line-height.lg}",
215
- "fontSize": "{font-size.4}",
215
+ "fontSize": "{font-size.3}",
216
216
  "letterSpacing": "{letter-spacing.7}"
217
217
  }
218
218
  },
219
219
  "xs": {
220
220
  "$type": "typography",
221
221
  "$value": {
222
- "fontFamily": "{font.family}",
222
+ "fontFamily": "{font-family}",
223
223
  "fontWeight": "{font-weight.regular}",
224
224
  "lineHeight": "{line-height.lg}",
225
- "fontSize": "{font-size.3}",
225
+ "fontSize": "{font-size.2}",
226
226
  "letterSpacing": "{letter-spacing.6}"
227
227
  }
228
228
  }
229
229
  }
230
230
  }
231
231
  },
232
- "disabled": {
233
- "opacity": {
232
+ "opacity": {
233
+ "disabled": {
234
234
  "$type": "opacity",
235
235
  "$value": "{opacity.30}"
236
236
  }
237
237
  },
238
- "border-radius": {
239
- "sm": {
240
- "$type": "borderRadius",
241
- "$value": "{border-radius.1}"
242
- },
243
- "md": {
244
- "$type": "borderRadius",
245
- "$value": "{border-radius.2}"
246
- },
247
- "lg": {
248
- "$type": "borderRadius",
249
- "$value": "{border-radius.3}"
250
- },
238
+ "border-width": {
251
239
  "default": {
252
- "$type": "borderRadius",
253
- "$value": "{border-radius.4}"
240
+ "$type": "borderWidth",
241
+ "$value": "{border-width.1}"
254
242
  },
255
- "full": {
256
- "$type": "borderRadius",
257
- "$value": "{border-radius.5}"
243
+ "focus": {
244
+ "$type": "borderWidth",
245
+ "$value": "{border-width.3}"
258
246
  }
259
247
  },
260
- "spacing": {
261
- "0": {
262
- "$type": "dimension",
263
- "$value": "{spacing.scale}*0"
264
- },
265
- "1": {
266
- "$type": "dimension",
267
- "$value": "{spacing.scale}*1"
268
- },
269
- "2": {
270
- "$type": "dimension",
271
- "$value": "{spacing.scale}*2"
272
- },
273
- "3": {
274
- "$type": "dimension",
275
- "$value": "{spacing.scale}*3"
276
- },
277
- "4": {
278
- "$type": "dimension",
279
- "$value": "{spacing.scale}*4"
280
- },
281
- "5": {
282
- "$type": "dimension",
283
- "$value": "{spacing.scale}*5"
284
- },
285
- "6": {
286
- "$type": "dimension",
287
- "$value": "{spacing.scale}*6"
288
- },
289
- "7": {
290
- "$type": "dimension",
291
- "$value": "{spacing.scale}*7"
292
- },
293
- "8": {
294
- "$type": "dimension",
295
- "$value": "{spacing.scale}*8"
296
- },
297
- "9": {
298
- "$type": "dimension",
299
- "$value": "{spacing.scale}*9"
300
- },
301
- "10": {
302
- "$type": "dimension",
303
- "$value": "{spacing.scale}*10"
248
+ "shadow": {
249
+ "xs": {
250
+ "$type": "boxShadow",
251
+ "$value": "{shadow.100}"
304
252
  },
305
- "11": {
306
- "$type": "dimension",
307
- "$value": "{spacing.scale}*11"
253
+ "sm": {
254
+ "$type": "boxShadow",
255
+ "$value": "{shadow.200}"
308
256
  },
309
- "12": {
310
- "$type": "dimension",
311
- "$value": "{spacing.scale}*12"
257
+ "md": {
258
+ "$type": "boxShadow",
259
+ "$value": "{shadow.300}"
312
260
  },
313
- "13": {
314
- "$type": "dimension",
315
- "$value": "{spacing.scale}*13"
261
+ "lg": {
262
+ "$type": "boxShadow",
263
+ "$value": "{shadow.400}"
316
264
  },
317
- "14": {
265
+ "xl": {
266
+ "$type": "boxShadow",
267
+ "$value": "{shadow.500}"
268
+ }
269
+ },
270
+ "border-radius": {
271
+ "sm": {
318
272
  "$type": "dimension",
319
- "$value": "{spacing.scale}*14"
273
+ "$value": "{border-radius.1}"
320
274
  },
321
- "15": {
275
+ "md": {
322
276
  "$type": "dimension",
323
- "$value": "{spacing.scale}*15"
277
+ "$value": "{border-radius.2}"
324
278
  },
325
- "18": {
279
+ "lg": {
326
280
  "$type": "dimension",
327
- "$value": "{spacing.scale}*18"
281
+ "$value": "{border-radius.3}"
328
282
  },
329
- "22": {
283
+ "xl": {
330
284
  "$type": "dimension",
331
- "$value": "{spacing.scale}*22"
285
+ "$value": "{border-radius.4}"
332
286
  },
333
- "26": {
287
+ "default": {
334
288
  "$type": "dimension",
335
- "$value": "{spacing.scale}*26"
289
+ "$value": "{border-radius.5}"
336
290
  },
337
- "30": {
291
+ "full": {
338
292
  "$type": "dimension",
339
- "$value": "{spacing.scale}*30"
293
+ "$value": "{border-radius.6}"
340
294
  }
341
295
  },
342
- "sizing": {
296
+ "size": {
343
297
  "0": {
344
298
  "$type": "dimension",
345
- "$value": "{sizing.scale}*0"
299
+ "$value": "{_size.0}"
346
300
  },
347
301
  "1": {
348
302
  "$type": "dimension",
349
- "$value": "{sizing.scale}*1"
303
+ "$value": "{_size.1}"
350
304
  },
351
305
  "2": {
352
306
  "$type": "dimension",
353
- "$value": "{sizing.scale}*2"
307
+ "$value": "{_size.2}"
354
308
  },
355
309
  "3": {
356
310
  "$type": "dimension",
357
- "$value": "{sizing.scale}*3"
311
+ "$value": "{_size.3}"
358
312
  },
359
313
  "4": {
360
314
  "$type": "dimension",
361
- "$value": "{sizing.scale}*4"
315
+ "$value": "{_size.4}"
362
316
  },
363
317
  "5": {
364
318
  "$type": "dimension",
365
- "$value": "{sizing.scale}*5"
319
+ "$value": "{_size.5}"
366
320
  },
367
321
  "6": {
368
322
  "$type": "dimension",
369
- "$value": "{sizing.scale}*6"
323
+ "$value": "{_size.6}"
370
324
  },
371
325
  "7": {
372
326
  "$type": "dimension",
373
- "$value": "{sizing.scale}*7"
327
+ "$value": "{_size.7}"
374
328
  },
375
329
  "8": {
376
330
  "$type": "dimension",
377
- "$value": "{sizing.scale}*8"
331
+ "$value": "{_size.8}"
378
332
  },
379
333
  "9": {
380
334
  "$type": "dimension",
381
- "$value": "{sizing.scale}*9"
335
+ "$value": "{_size.9}"
382
336
  },
383
337
  "10": {
384
338
  "$type": "dimension",
385
- "$value": "{sizing.scale}*10"
339
+ "$value": "{_size.10}"
386
340
  },
387
341
  "11": {
388
342
  "$type": "dimension",
389
- "$value": "{sizing.scale}*11"
343
+ "$value": "{_size.11}"
390
344
  },
391
345
  "12": {
392
346
  "$type": "dimension",
393
- "$value": "{sizing.scale}*12"
347
+ "$value": "{_size.12}"
394
348
  },
395
349
  "13": {
396
350
  "$type": "dimension",
397
- "$value": "{sizing.scale}*13"
351
+ "$value": "{_size.13}"
398
352
  },
399
353
  "14": {
400
354
  "$type": "dimension",
401
- "$value": "{sizing.scale}*14"
355
+ "$value": "{_size.14}"
402
356
  },
403
357
  "15": {
404
358
  "$type": "dimension",
405
- "$value": "{sizing.scale}*15"
359
+ "$value": "{_size.15}"
406
360
  },
407
361
  "18": {
408
362
  "$type": "dimension",
409
- "$value": "{sizing.scale}*18"
363
+ "$value": "{_size.18}"
410
364
  },
411
365
  "22": {
412
366
  "$type": "dimension",
413
- "$value": "{sizing.scale}*22"
367
+ "$value": "{_size.22}"
414
368
  },
415
369
  "26": {
416
370
  "$type": "dimension",
417
- "$value": "{sizing.scale}*26"
371
+ "$value": "{_size.26}"
418
372
  },
419
373
  "30": {
420
374
  "$type": "dimension",
421
- "$value": "{sizing.scale}*30"
422
- }
423
- },
424
- "border-width": {
425
- "default": {
426
- "$type": "borderWidth",
427
- "$value": "{border-width.1}"
428
- },
429
- "highlight": {
430
- "$type": "borderWidth",
431
- "$value": "{border-width.2}"
432
- }
433
- },
434
- "shadow": {
435
- "xs": {
436
- "$type": "boxShadow",
437
- "$value": "{shadow.100}"
438
- },
439
- "sm": {
440
- "$type": "boxShadow",
441
- "$value": "{shadow.200}"
442
- },
443
- "md": {
444
- "$type": "boxShadow",
445
- "$value": "{shadow.300}"
446
- },
447
- "lg": {
448
- "$type": "boxShadow",
449
- "$value": "{shadow.400}"
450
- },
451
- "xl": {
452
- "$type": "boxShadow",
453
- "$value": "{shadow.500}"
375
+ "$value": "{_size.30}"
454
376
  }
455
377
  }
456
378
  }