@openedx/paragon 23.0.0-alpha.3 → 23.0.0-alpha.4

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 (209) hide show
  1. package/bin/paragon-scripts.js +10 -0
  2. package/dist/Annotation/index.scss +16 -0
  3. package/dist/Card/CardDeck.js +0 -2
  4. package/dist/Card/CardDeck.js.map +1 -1
  5. package/dist/Card/index.scss +6 -6
  6. package/dist/Carousel/index.scss +24 -1
  7. package/dist/Chip/ChipIcon.d.ts +1 -1
  8. package/dist/CloseButton/index.scss +8 -0
  9. package/dist/ColorPicker/index.scss +1 -1
  10. package/dist/DataTable/index.scss +12 -0
  11. package/dist/Dropdown/dropdown-bootstrap.scss +6 -0
  12. package/dist/Dropzone/index.scss +34 -0
  13. package/dist/Form/_FormText.scss +1 -1
  14. package/dist/Form/_bootstrap-custom-forms.scss +40 -0
  15. package/dist/Form/_index.scss +9 -0
  16. package/dist/Form/_mixins.scss +22 -0
  17. package/dist/IconButton/index.d.ts +1 -1
  18. package/dist/IconButton/index.scss +146 -0
  19. package/dist/Menu/index.scss +8 -0
  20. package/dist/Modal/ModalDialog.js +8 -4
  21. package/dist/Modal/ModalDialog.js.map +1 -1
  22. package/dist/Modal/_ModalDialog.scss +22 -2
  23. package/dist/Nav/index.scss +8 -0
  24. package/dist/Overlay/index.d.ts +2 -2
  25. package/dist/PageBanner/index.scss +2 -2
  26. package/dist/Pagination/pagination-bootstrap.scss +9 -0
  27. package/dist/Popover/index.scss +1 -1
  28. package/dist/ProductTour/Checkpoint.scss +1 -1
  29. package/dist/ProgressBar/bootstrap-progress.scss +20 -5
  30. package/dist/ProgressBar/index.scss +3 -3
  31. package/dist/Stepper/index.scss +1 -1
  32. package/dist/Sticky/index.scss +12 -0
  33. package/dist/Toast/index.scss +13 -1
  34. package/dist/Tooltip/index.scss +16 -0
  35. package/dist/core.css +911 -470
  36. package/dist/core.css.map +1 -1
  37. package/dist/core.min.css +1 -1
  38. package/dist/light.css +2035 -1315
  39. package/dist/light.css.map +1 -1
  40. package/dist/light.min.css +1 -1
  41. package/lib/build-tokens.js +67 -31
  42. package/package.json +7 -4
  43. package/src/Annotation/index.scss +16 -0
  44. package/src/Card/CardDeck.jsx +0 -3
  45. package/src/Card/README.md +0 -31
  46. package/src/Card/index.scss +6 -6
  47. package/src/Carousel/index.scss +24 -1
  48. package/src/CloseButton/index.scss +8 -0
  49. package/src/ColorPicker/index.scss +1 -1
  50. package/src/DataTable/index.scss +12 -0
  51. package/src/Dropdown/dropdown-bootstrap.scss +6 -0
  52. package/src/Dropzone/index.scss +34 -0
  53. package/src/Form/_FormText.scss +1 -1
  54. package/src/Form/_bootstrap-custom-forms.scss +40 -0
  55. package/src/Form/_index.scss +9 -0
  56. package/src/Form/_mixins.scss +22 -0
  57. package/src/IconButton/index.scss +146 -0
  58. package/src/Menu/index.scss +8 -0
  59. package/src/Modal/ModalDialog.jsx +7 -3
  60. package/src/Modal/_ModalDialog.scss +22 -2
  61. package/src/Modal/modal-dialog.mdx +95 -6
  62. package/src/Modal/tests/ModalDialog.test.jsx +2 -0
  63. package/src/Nav/index.scss +8 -0
  64. package/src/PageBanner/index.scss +2 -2
  65. package/src/Pagination/pagination-bootstrap.scss +9 -0
  66. package/src/Popover/index.scss +1 -1
  67. package/src/ProductTour/Checkpoint.scss +1 -1
  68. package/src/ProgressBar/bootstrap-progress.scss +20 -5
  69. package/src/ProgressBar/index.scss +3 -3
  70. package/src/Stepper/index.scss +1 -1
  71. package/src/Sticky/index.scss +12 -0
  72. package/src/Toast/index.scss +13 -1
  73. package/src/Tooltip/index.scss +16 -0
  74. package/styles/css/core/abstraction-variables.css +44 -0
  75. package/styles/css/core/custom-media-breakpoints.css +3 -4
  76. package/styles/css/core/index.css +2 -1
  77. package/styles/css/core/variables.css +494 -430
  78. package/styles/css/themes/light/abstraction-variables.css +304 -0
  79. package/styles/css/themes/light/index.css +1 -0
  80. package/styles/css/themes/light/utility-classes.css +2 -3
  81. package/styles/css/themes/light/variables.css +1753 -1334
  82. package/styles/scss/core/_typography.scss +16 -4
  83. package/styles/scss/core/_utilities.scss +7 -3
  84. package/styles/scss/core/_variables.scss +43 -30
  85. package/styles/scss/core/core.scss +1 -0
  86. package/tokens/src/core/alias/size.json +6 -5
  87. package/tokens/src/core/components/ActionRow.json +3 -2
  88. package/tokens/src/core/components/Alert.json +12 -10
  89. package/tokens/src/core/components/Annotation.json +9 -7
  90. package/tokens/src/core/components/Avatar.json +9 -9
  91. package/tokens/src/core/components/AvatarButton.json +4 -3
  92. package/tokens/src/core/components/Badge.json +12 -9
  93. package/tokens/src/core/components/Breadcrumb.json +7 -5
  94. package/tokens/src/core/components/Bubble.json +4 -3
  95. package/tokens/src/core/components/Button/core.json +35 -59
  96. package/tokens/src/core/components/Card.json +33 -44
  97. package/tokens/src/core/components/Carousel.json +39 -13
  98. package/tokens/src/core/components/Chip.json +13 -21
  99. package/tokens/src/core/components/ChipCarousel.json +4 -5
  100. package/tokens/src/core/components/CloseButton.json +2 -6
  101. package/tokens/src/core/components/Code.json +9 -8
  102. package/tokens/src/core/components/Collapsible.json +10 -13
  103. package/tokens/src/core/components/ColorPicker.json +3 -2
  104. package/tokens/src/core/components/Container.json +6 -5
  105. package/tokens/src/core/components/DataTable.json +17 -9
  106. package/tokens/src/core/components/Dropdown.json +24 -29
  107. package/tokens/src/core/components/Dropzone.json +5 -7
  108. package/tokens/src/core/components/Form/other.json +5 -4
  109. package/tokens/src/core/components/Form/size.json +72 -119
  110. package/tokens/src/core/components/Form/spacing.json +39 -83
  111. package/tokens/src/core/components/Form/transition.json +43 -7
  112. package/tokens/src/core/components/Form/typography.json +24 -88
  113. package/tokens/src/core/components/Icon.json +6 -5
  114. package/tokens/src/core/components/IconButton.json +4 -7
  115. package/tokens/src/core/components/Image.json +7 -6
  116. package/tokens/src/core/components/Menu.json +14 -12
  117. package/tokens/src/core/components/Modal.json +26 -21
  118. package/tokens/src/core/components/Nav.json +14 -16
  119. package/tokens/src/core/components/Navbar.json +15 -30
  120. package/tokens/src/core/components/Pagination.json +23 -24
  121. package/tokens/src/core/components/Popover.json +18 -14
  122. package/tokens/src/core/components/ProductTour.json +8 -14
  123. package/tokens/src/core/components/ProgressBar.json +29 -14
  124. package/tokens/src/core/components/SearchField.json +7 -9
  125. package/tokens/src/core/components/SelectableBox.json +4 -3
  126. package/tokens/src/core/components/Sheet.json +3 -2
  127. package/tokens/src/core/components/Spinner.json +9 -7
  128. package/tokens/src/core/components/Stack.json +2 -1
  129. package/tokens/src/core/components/Stepper.json +12 -14
  130. package/tokens/src/core/components/Sticky.json +2 -1
  131. package/tokens/src/core/components/Tab.json +8 -7
  132. package/tokens/src/core/components/Tabs.json +5 -5
  133. package/tokens/src/core/components/Toast.json +11 -8
  134. package/tokens/src/core/components/Tooltip.json +13 -11
  135. package/tokens/src/core/components/general/caret.json +5 -3
  136. package/tokens/src/core/components/general/headings.json +5 -4
  137. package/tokens/src/core/components/general/hr.json +3 -2
  138. package/tokens/src/core/components/general/input.json +19 -19
  139. package/tokens/src/core/components/general/link.json +13 -12
  140. package/tokens/src/core/components/general/list.json +9 -6
  141. package/tokens/src/core/components/general/text.json +6 -12
  142. package/tokens/src/core/global/breakpoints.json +25 -6
  143. package/tokens/src/core/global/elevation.json +55 -13
  144. package/tokens/src/core/global/other.json +5 -1
  145. package/tokens/src/core/global/spacing.json +70 -17
  146. package/tokens/src/core/global/transition.json +41 -4
  147. package/tokens/src/core/global/typography.json +248 -53
  148. package/tokens/src/core/utilities/color.json +35 -4
  149. package/tokens/src/themes/light/alias/color.json +276 -75
  150. package/tokens/src/themes/light/components/Alert.json +15 -26
  151. package/tokens/src/themes/light/components/Annotation.json +27 -13
  152. package/tokens/src/themes/light/components/Avatar.json +2 -1
  153. package/tokens/src/themes/light/components/Badge.json +57 -122
  154. package/tokens/src/themes/light/components/Breadcrumb.json +6 -5
  155. package/tokens/src/themes/light/components/Bubble.json +9 -8
  156. package/tokens/src/themes/light/components/Button/brand.json +171 -119
  157. package/tokens/src/themes/light/components/Button/core.json +8 -9
  158. package/tokens/src/themes/light/components/Button/danger.json +171 -112
  159. package/tokens/src/themes/light/components/Button/dark.json +188 -106
  160. package/tokens/src/themes/light/components/Button/info.json +186 -112
  161. package/tokens/src/themes/light/components/Button/light.json +186 -110
  162. package/tokens/src/themes/light/components/Button/primary.json +178 -116
  163. package/tokens/src/themes/light/components/Button/secondary.json +166 -132
  164. package/tokens/src/themes/light/components/Button/success.json +176 -117
  165. package/tokens/src/themes/light/components/Button/tertiary.json +34 -60
  166. package/tokens/src/themes/light/components/Button/warning.json +164 -128
  167. package/tokens/src/themes/light/components/Card.json +10 -21
  168. package/tokens/src/themes/light/components/Carousel.json +12 -11
  169. package/tokens/src/themes/light/components/Chip.json +14 -26
  170. package/tokens/src/themes/light/components/CloseButton.json +12 -2
  171. package/tokens/src/themes/light/components/Code.json +7 -9
  172. package/tokens/src/themes/light/components/DataTable.json +7 -11
  173. package/tokens/src/themes/light/components/Dropdown.json +17 -20
  174. package/tokens/src/themes/light/components/Dropzone.json +49 -11
  175. package/tokens/src/themes/light/components/Form/color.json +101 -155
  176. package/tokens/src/themes/light/components/Form/elevation.json +38 -42
  177. package/tokens/src/themes/light/components/Form/other.json +44 -41
  178. package/tokens/src/themes/light/components/IconButton.json +408 -256
  179. package/tokens/src/themes/light/components/Image.json +7 -4
  180. package/tokens/src/themes/light/components/Menu.json +12 -10
  181. package/tokens/src/themes/light/components/Modal.json +22 -12
  182. package/tokens/src/themes/light/components/Nav.json +82 -94
  183. package/tokens/src/themes/light/components/Navbar.json +32 -76
  184. package/tokens/src/themes/light/components/OverflowScroll.json +3 -1
  185. package/tokens/src/themes/light/components/PageBanner.json +11 -10
  186. package/tokens/src/themes/light/components/Pagination.json +19 -23
  187. package/tokens/src/themes/light/components/Popover.json +22 -27
  188. package/tokens/src/themes/light/components/ProductTour.json +9 -20
  189. package/tokens/src/themes/light/components/ProgressBar.json +12 -10
  190. package/tokens/src/themes/light/components/Scrollable.json +3 -3
  191. package/tokens/src/themes/light/components/SearchField.json +9 -9
  192. package/tokens/src/themes/light/components/Sheet.json +6 -7
  193. package/tokens/src/themes/light/components/Stepper.json +12 -17
  194. package/tokens/src/themes/light/components/Sticky.json +31 -6
  195. package/tokens/src/themes/light/components/Tab.json +47 -24
  196. package/tokens/src/themes/light/components/Toast.json +26 -14
  197. package/tokens/src/themes/light/components/Tooltip.json +25 -10
  198. package/tokens/src/themes/light/components/general/body.json +3 -2
  199. package/tokens/src/themes/light/components/general/headings.json +2 -1
  200. package/tokens/src/themes/light/components/general/hr.json +3 -6
  201. package/tokens/src/themes/light/components/general/input.json +11 -4
  202. package/tokens/src/themes/light/components/general/link.json +34 -43
  203. package/tokens/src/themes/light/components/general/list.json +15 -19
  204. package/tokens/src/themes/light/components/general/text.json +5 -6
  205. package/tokens/src/themes/light/global/color.json +1592 -867
  206. package/tokens/src/themes/light/global/elevation.json +481 -93
  207. package/tokens/style-dictionary.js +342 -144
  208. package/tokens/utils.js +176 -6
  209. package/tokens/src/core/global/display.json +0 -22
@@ -1,47 +1,51 @@
1
1
  {
2
2
  "typography": {
3
+ "$type": "dimension",
3
4
  "popover": {
4
- "font-size": { "value": "{typography.font.size.sm}", "type": "dimension", "source": "$popover-font-size" }
5
+ "font-size": { "source": "$popover-font-size", "$value": "{typography.font.size.sm}" }
5
6
  }
6
7
  },
7
8
  "size": {
9
+ "$type": "dimension",
8
10
  "popover": {
9
- "max-width": { "value": "480px", "type": "dimension", "source": "$popover-max-width" },
11
+ "max-width": { "source": "$popover-max-width", "$value": "480px" },
10
12
  "border": {
11
- "width": { "value": "{size.border.width}", "type": "dimension", "source": "$popover-border-width" },
12
- "radius": { "value": "{size.border.radius.sm}", "type": "dimension", "source": "$popover-border-radius" }
13
+ "width": { "source": "$popover-border-width", "$value": "{size.border.width}" },
14
+ "radius": { "source": "$popover-border-radius", "$value": "{size.border.radius.sm}" }
13
15
  },
14
16
  "icon": {
15
- "height": { "value": "1rem", "type": "dimension", "source": "$popover-icon-height" },
16
- "width": { "value": "1rem", "type": "dimension", "source": "$popover-icon-width" }
17
+ "height": { "source": "$popover-icon-height", "$value": "1rem" },
18
+ "width": { "source": "$popover-icon-width", "$value": "1rem" }
17
19
  },
18
20
  "arrow": {
19
- "width": { "value": "1rem", "type": "dimension", "source": "$popover-arrow-width" },
20
- "height": { "value": ".5rem", "type": "dimension", "source": "$popover-arrow-height" }
21
+ "width": { "source": "$popover-arrow-width", "$value": "1rem" },
22
+ "height": { "source": "$popover-arrow-height", "$value": ".5rem" }
21
23
  }
22
24
  }
23
25
  },
24
26
  "elevation": {
27
+ "$type": "number",
25
28
  "popover": {
26
- "zindex": { "value": "1060", "type": "ratio", "source": "$zindex-popover" }
29
+ "zindex": { "source": "$zindex-popover", "$value": "1060" }
27
30
  }
28
31
  },
29
32
  "spacing": {
33
+ "$type": "dimension",
30
34
  "popover": {
31
35
  "header": {
32
36
  "padding": {
33
- "y": { "value": ".5rem", "type": "dimension", "source": "$popover-header-padding-y" },
34
- "x": { "value": "1rem", "type": "dimension", "source": "$popover-header-padding-x" }
37
+ "y": { "source": "$popover-header-padding-y", "$value": ".5rem" },
38
+ "x": { "source": "$popover-header-padding-x", "$value": "1rem" }
35
39
  }
36
40
  },
37
41
  "body": {
38
42
  "padding": {
39
- "y": { "value": "{spacing.popover.header.padding.y}", "type": "dimension", "source": "$popover-body-padding-y" },
40
- "x": { "value": "{spacing.popover.header.padding.x}", "type": "dimension", "source": "$popover-body-padding-x" }
43
+ "y": { "source": "$popover-body-padding-y", "$value": "{spacing.popover.header.padding.y}" },
44
+ "x": { "source": "$popover-body-padding-x", "$value": "{spacing.popover.header.padding.x}" }
41
45
  }
42
46
  },
43
47
  "icon": {
44
- "margin-right": { "value": ".5rem", "type": "dimension", "source": "$popover-icon-margin-right" }
48
+ "margin-right": { "source": "$popover-icon-margin-right", "$value": ".5rem" }
45
49
  }
46
50
  }
47
51
  }
@@ -1,31 +1,25 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "product-tour": {
4
5
  "checkpoint": {
5
6
  "width": {
6
- "border": { "value": "8px", "type": "dimension", "source": "$checkpoint-border-width" },
7
- "arrow": { "value": "15px", "type": "dimension", "source": "$checkpoint-arrow-width" },
8
- "max": { "value": "480px", "type": "dimension", "source": "$checkpoint-max-width" }
7
+ "border": { "source": "$checkpoint-border-width", "$value": "8px" },
8
+ "arrow": { "source": "$checkpoint-arrow-width", "$value": "15px" },
9
+ "max": { "source": "$checkpoint-max-width", "$value": "480px" }
9
10
  },
10
11
  "arrow": {
11
- "top": {
12
- "value": "{size.product-tour.checkpoint.width.arrow}",
13
- "type": "dimension",
14
- "source": "$checkpoint-arrow-border-top"
15
- },
16
- "transparent": {
17
- "value": "{size.product-tour.checkpoint.width.arrow}",
18
- "type": "dimension",
19
- "source": "$checkpoint-arrow-border-transparent"
20
- }
12
+ "top": { "source": "$checkpoint-arrow-border-top", "$value": "{size.product-tour.checkpoint.width.arrow}" },
13
+ "transparent": { "source": "$checkpoint-arrow-border-transparent", "$value": "{size.product-tour.checkpoint.width.arrow}" }
21
14
  }
22
15
  }
23
16
  }
24
17
  },
25
18
  "elevation": {
19
+ "$type": "number",
26
20
  "product-tour": {
27
21
  "checkpoint": {
28
- "zindex": { "value": "1060", "type": "ratio", "source": "$checkpoint-z-index" }
22
+ "zindex": { "source": "$checkpoint-z-index", "$value": "1060" }
29
23
  }
30
24
  }
31
25
  }
@@ -1,38 +1,53 @@
1
1
  {
2
2
  "typography": {
3
+ "$type": "dimension",
3
4
  "progress-bar": {
4
- "font-size": {
5
- "value": "calc({typography.font.size.base} * .75)", "type": "dimension", "source": "$progress-font-size"
6
- }
5
+ "font-size": { "source": "$progress-font-size", "$value": "calc({typography.font.size.base} * .75)" }
7
6
  }
8
7
  },
9
8
  "size": {
9
+ "$type": "dimension",
10
10
  "progress-bar": {
11
11
  "height": {
12
- "base": { "value": "1rem", "type": "dimension", "source": "$progress-height" },
13
- "annotated": { "value": ".3125rem", "type": "dimension", "source": "$annotated-progress-height" }
12
+ "base": { "source": "$progress-height", "$value": "1rem" },
13
+ "annotated": { "source": "$annotated-progress-height", "$value": ".3125rem" }
14
14
  },
15
15
  "border": {
16
- "width": { "value": "1px", "type": "dimension", "source": "$progress-bar-border-width" },
17
- "radius": { "value": "0", "type": "dimension", "source": "$progress-border-radius" }
16
+ "width": { "source": "$progress-bar-border-width", "$value": "1px" },
17
+ "radius": { "source": "$progress-border-radius", "$value": "0" }
18
18
  },
19
- "threshold-circle": { "value": ".5625rem", "type": "dimension", "source": "$progress-threshold-circle" }
19
+ "threshold-circle": { "source": "$progress-threshold-circle", "$value": ".5625rem" }
20
20
  }
21
21
  },
22
22
  "spacing": {
23
+ "$type": "dimension",
23
24
  "progress-bar": {
24
25
  "hint": {
25
- "annotation-gap": { "value": ".5rem", "type": "dimension", "source": "$progress-hint-annotation-gap" }
26
+ "annotation-gap": { "source": "$progress-hint-annotation-gap", "$value": ".5rem" }
26
27
  }
27
28
  }
28
29
  },
29
30
  "transition": {
31
+ "$type": "transition",
30
32
  "progress-bar": {
31
- "bar": {
32
- "animation-timing": {
33
- "value": "1s linear infinite", "type": "transition", "source": "$progress-bar-animation-timing"
34
- },
35
- "transition": { "value": "width .6s ease", "type": "transition", "source": "$progress-bar-transition" }
33
+ "animation-timing": {
34
+ "source": "$progress-bar-animation-timing",
35
+ "$value": {
36
+ "duration": "1s",
37
+ "timing-function": "linear",
38
+ "delay": "0s",
39
+ "iteration-count": "infinite"
40
+ }
41
+ },
42
+ "transition": {
43
+ "source": "$progress-bar-transition",
44
+ "$value": {
45
+ "property": "width",
46
+ "duration": ".6s",
47
+ "timing-function": "ease",
48
+ "delay": "0s",
49
+ "behavior": "normal"
50
+ }
36
51
  }
37
52
  }
38
53
  }
@@ -1,23 +1,21 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "search-field": {
4
5
  "border": {
5
6
  "width": {
6
- "base": { "value": ".0625rem", "type": "dimension", "source": "$search-border-width" },
7
- "focus": { "value": ".3125rem", "type": "dimension", "source": "$search-border-focus-width" }
7
+ "base": { "source": "$search-border-width", "$value": ".0625rem" },
8
+ "focus": { "source": "$search-border-focus-width", "$value": ".3125rem" }
8
9
  },
9
- "radius": { "value": "0", "type": "dimension", "source": "$search-border-radius" }
10
+ "radius": { "source": "$search-border-radius", "$value": "0" }
10
11
  },
11
- "search-input-height": {
12
- "value": "calc({typography.form.input.line-height.base} * 1em + {spacing.form.input.padding.y.base} * 2)",
13
- "type": "dimension",
14
- "source": "$input-height-search"
15
- }
12
+ "search-input-height": { "source": "$input-height-search", "$value": "calc({typography.form.input.line-height.base} * 1em + {spacing.form.input.padding.y.base} * 2)" }
16
13
  }
17
14
  },
18
15
  "spacing": {
16
+ "$type": "dimension",
19
17
  "search-field": {
20
- "margin-button": { "value": ".5rem", "type": "dimension", "source": "$search-button-margin" }
18
+ "margin-button": { "source": "$search-button-margin", "$value": ".5rem" }
21
19
  }
22
20
  }
23
21
  }
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "spacing": {
3
+ "$type": "dimension",
3
4
  "selectable-box": {
4
- "padding": { "value": "1rem", "type": "dimension", "source": "$selectable-box-padding" },
5
- "border-radius": { "value": ".25rem", "type": "dimension", "source": "$selectable-box-border-radius" },
6
- "box-space": { "value": ".75rem", "type": "dimension", "source": "$selectable-box-space" }
5
+ "padding": { "source": "$selectable-box-padding", "$value": "1rem" },
6
+ "border-radius": { "source": "$selectable-box-border-radius", "$value": ".25rem" },
7
+ "box-space": { "source": "$selectable-box-space", "$value": ".75rem" }
7
8
  }
8
9
  }
9
10
  }
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "elevation": {
3
+ "$type": "number",
3
4
  "sheet": {
4
5
  "zindex": {
5
- "backdrop": { "value": "1031", "type": "ratio", "source": "$zindex-sheet-backdrop" },
6
- "main": { "value": "1032", "type": "ratio", "source": "$zindex-sheet" }
6
+ "backdrop": { "source": "$zindex-sheet-backdrop", "$value": "1031" },
7
+ "main": { "source": "$zindex-sheet", "$value": "1032" }
7
8
  }
8
9
  }
9
10
  }
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "spinner": {
4
5
  "base": {
5
- "width": { "value": "2rem", "type": "dimension", "source": "$spinner-width" },
6
- "height": { "value": "{size.spinner.base.width}", "type": "dimension", "source": "$spinner-height" },
7
- "border-width": { "value": ".25em", "type": "dimension", "source": "$spinner-border-width" }
6
+ "width": { "source": "$spinner-width", "$value": "2rem" },
7
+ "height": { "source": "$spinner-height", "$value": "{size.spinner.base.width}" },
8
+ "border-width": { "source": "$spinner-border-width", "$value": ".25em" }
8
9
  },
9
10
  "sm": {
10
- "width": { "value": "1rem", "type": "dimension", "source": "$spinner-width-sm" },
11
- "height": { "value": "{size.spinner.sm.width}", "type": "dimension", "source": "$spinner-height-sm" },
12
- "border-width": { "value": ".2em", "type": "dimension", "source": "$spinner-border-width-sm" }
11
+ "width": { "source": "$spinner-width-sm", "$value": "1rem" },
12
+ "height": { "source": "$spinner-height-sm", "$value": "{size.spinner.sm.width}" },
13
+ "border-width": { "source": "$spinner-border-width-sm", "$value": ".2em" }
13
14
  }
14
15
  }
15
16
  },
16
17
  "spacing": {
17
- "vertical-align": { "value": ".125em", "type": "dimension", "source": "$spinner-vertical-align" }
18
+ "$type": "dimension",
19
+ "vertical-align": { "source": "$spinner-vertical-align", "$value": ".125em" }
18
20
  }
19
21
  }
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "stack": {
4
- "gap": { "value": "0", "type": "dimension", "source": "$stack-gap" }
5
+ "gap": { "source": "$stack-gap", "$value": "0" }
5
6
  }
6
7
  }
7
8
  }
@@ -1,42 +1,40 @@
1
1
  {
2
2
  "spacing": {
3
+ "$type": "dimension",
3
4
  "stepper": {
4
5
  "header": {
5
6
  "padding": {
6
- "y": { "value": ".75rem", "type": "dimension", "source": "$stepper-header-padding-y" },
7
- "x": { "value": "{spacing.spacer.base}", "type": "dimension", "source": "$stepper-header-padding-x" }
7
+ "y": { "source": "$stepper-header-padding-y", "$value": ".75rem" },
8
+ "x": { "source": "$stepper-header-padding-x", "$value": "{spacing.spacer.base}" }
8
9
  },
9
10
  "step": {
10
- "padding": {
11
- "value": ".25rem", "type": "dimension", "source": "$stepper-header-step-padding"
12
- },
11
+ "padding": { "source": "$stepper-header-step-padding", "$value": ".25rem" },
13
12
  "list": {
14
13
  "padding": {
15
- "y": { "value": ".25rem", "type": "dimension", "source": "$stepper-header-step-list-padding-y" },
16
- "x": { "value": "0", "type": "dimension", "source": "$stepper-header-step-list-padding-x" }
14
+ "y": { "source": "$stepper-header-step-list-padding-y", "$value": ".25rem" },
15
+ "x": { "source": "$stepper-header-step-list-padding-x", "$value": "0" }
17
16
  },
18
- "margin": { "value": "0", "type": "dimension", "source": "$stepper-header-step-list-margin" }
17
+ "margin": { "source": "$stepper-header-step-list-margin", "$value": "0" }
19
18
  }
20
19
  }
21
20
  }
22
21
  }
23
22
  },
24
23
  "size": {
24
+ "$type": "dimension",
25
25
  "stepper": {
26
26
  "header": {
27
- "height-min": { "value": "5.13rem", "type": "dimension", "source": "$stepper-header-min-height" }
27
+ "height-min": { "source": "$stepper-header-min-height", "$value": "5.13rem" }
28
28
  },
29
29
  "step": {
30
- "width-min": { "value": "0", "type": "dimension", "source": "$stepper-header-step-min-width" },
31
- "bubble-error-shadow-width": {
32
- "value": "3px", "type": "dimension", "source": "$stepper-header-step-error-bubble-shadow-width"
33
- }
30
+ "width-min": { "source": "$stepper-header-step-min-width", "$value": "0" },
31
+ "bubble-error-shadow-width": { "source": "$stepper-header-step-error-bubble-shadow-width", "$value": "3px" }
34
32
  }
35
33
  }
36
34
  },
37
35
  "typography": {
38
36
  "spacer": {
39
- "line-height": { "value": "1px", "type": "dimension", "source": "$stepper-header-line-height" }
37
+ "line-height": { "source": "$stepper-header-line-height", "$value": "1px", "$type": "number" }
40
38
  }
41
39
  }
42
40
  }
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "spacing": {
3
+ "$type": "dimension",
3
4
  "sticky": {
4
- "offset": { "value": "0", "type": "dimension", "source": "$sticky-offset" }
5
+ "offset": { "source": "$sticky-offset", "$value": "0" }
5
6
  }
6
7
  }
7
8
  }
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "spacing": {
3
+ "$type": "dimension",
3
4
  "tab": {
4
5
  "more-link-dropdown-toggle": {
5
- "padding-x": { "value": ".7rem", "type": "dimension", "source": "$tab-more-link-dropdown-toggle-padding-x" },
6
- "padding-y": { "value": "{spacing.spacer.base}", "type": "dimension", "source": "$tab-more-link-dropdown-toggle-padding-y" }
6
+ "padding-x": { "source": "$tab-more-link-dropdown-toggle-padding-x", "$value": ".7rem" },
7
+ "padding-y": { "source": "$tab-more-link-dropdown-toggle-padding-y", "$value": "{spacing.spacer.base}" }
7
8
  },
8
9
  "inverse-pills-link-dropdown-toggle": {
9
- "padding-x": { "value": ".625rem", "type": "dimension", "source": "$tab-inverse-pills-link-dropdown-toggle-padding-x" },
10
- "padding-y": { "value": "{spacing.spacer.base}", "type": "dimension", "source": "$tab-inverse-pills-link-dropdown-toggle-padding-y" }
10
+ "padding-x": { "source": "$tab-inverse-pills-link-dropdown-toggle-padding-x", "$value": ".625rem" },
11
+ "padding-y": { "source": "$tab-inverse-pills-link-dropdown-toggle-padding-y", "$value": "{spacing.spacer.base}" }
11
12
  },
12
13
  "inverse-tabs-link-dropdown-toggle": {
13
- "padding-x": { "value": ".625rem", "type": "dimension", "source": "$tab-inverse-tabs-link-dropdown-toggle-padding-x" },
14
- "padding-y": { "value": "{spacing.spacer.base}", "type": "dimension", "source": "$tab-inverse-tabs-link-dropdown-toggle-padding-y" },
15
- "distance": { "value": "5px", "type": "dimension", "source": "$tab-inverse-pills-link-dropdown-distance" }
14
+ "padding-x": { "source": "$tab-inverse-tabs-link-dropdown-toggle-padding-x", "$value": ".625rem" },
15
+ "padding-y": { "source": "$tab-inverse-tabs-link-dropdown-toggle-padding-y", "$value": "{spacing.spacer.base}" },
16
+ "distance": { "source": "$tab-inverse-pills-link-dropdown-distance", "$value": "5px" }
16
17
  }
17
18
  }
18
19
  }
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "tabs": {
4
5
  "notification": {
5
- "height": { "value": "1rem", "type": "dimension", "source": "$tab-notification-height" },
6
- "width": { "value": "1rem", "type": "dimension", "source": "$tab-notification-width" }
6
+ "height": { "source": "$tab-notification-height", "$value": "1rem" },
7
+ "width": { "source": "$tab-notification-width", "$value": "1rem" }
7
8
  }
8
9
  }
9
10
  },
10
11
  "typography": {
12
+ "$type": "dimension",
11
13
  "tabs": {
12
14
  "notification": {
13
- "font-size": {
14
- "value": "{typography.font.size.xs}", "type": "dimension", "source": "$tab-notification-font-size"
15
- }
15
+ "font-size": { "source": "$tab-notification-font-size", "$value": "{typography.font.size.xs}" }
16
16
  }
17
17
  }
18
18
  }
@@ -1,28 +1,31 @@
1
1
  {
2
2
  "typography": {
3
+ "$type": "dimension",
3
4
  "toast": {
4
- "font-size": { "value": ".875rem", "type": "dimension", "source": "$toast-font-size" }
5
+ "font-size": { "source": "$toast-font-size", "$value": ".875rem" }
5
6
  }
6
7
  },
7
8
  "size": {
9
+ "$type": "dimension",
8
10
  "toast": {
9
- "max-width": { "value": "400px", "type": "dimension", "source": "$toast-max-width" },
11
+ "max-width": { "source": "$toast-max-width", "$value": "400px" },
10
12
  "border": {
11
- "width": { "value": "1px", "type": "dimension", "source": "$toast-border-width" },
12
- "radius": { "value": ".25rem", "type": "dimension", "source": "$toast-border-radius" }
13
+ "width": { "source": "$toast-border-width", "$value": "1px" },
14
+ "radius": { "source": "$toast-border-radius", "$value": ".25rem" }
13
15
  }
14
16
  }
15
17
  },
16
18
  "spacing": {
19
+ "$type": "dimension",
17
20
  "toast": {
18
21
  "padding": {
19
- "x": { "value": ".75rem", "type": "dimension", "source": "$toast-padding-x" },
20
- "y": { "value": ".25rem", "type": "dimension", "source": "$toast-padding-y" }
22
+ "x": { "source": "$toast-padding-x", "$value": ".75rem" },
23
+ "y": { "source": "$toast-padding-y", "$value": ".25rem" }
21
24
  },
22
25
  "container": {
23
26
  "gutter": {
24
- "lg": { "value": "1.25rem", "type": "dimension", "source": "$toast-container-gutter-lg" },
25
- "sm": { "value": ".625rem", "type": "dimension", "source": "$toast-container-gutter-sm" }
27
+ "lg": { "source": "$toast-container-gutter-lg", "$value": "1.25rem" },
28
+ "sm": { "source": "$toast-container-gutter-sm", "$value": ".625rem" }
26
29
  }
27
30
  }
28
31
  }
@@ -1,33 +1,35 @@
1
1
  {
2
2
  "typography": {
3
+ "$type": "dimension",
3
4
  "tooltip": {
4
- "font-size": { "value": "{typography.font.size.sm}", "type": "dimension", "source": "$tooltip-font-size" }
5
+ "font-size": { "source": "$tooltip-font-size", "$value": "{typography.font.size.sm}" }
5
6
  }
6
7
  },
7
8
  "spacing": {
9
+ "$type": "dimension",
8
10
  "tooltip": {
9
11
  "padding": {
10
- "y": { "value": ".5rem", "type": "dimension", "source": "$tooltip-padding-y" },
11
- "x": { "value": ".5rem", "type": "dimension", "source": "$tooltip-padding-x" }
12
+ "y": { "source": "$tooltip-padding-y", "$value": ".5rem" },
13
+ "x": { "source": "$tooltip-padding-x", "$value": ".5rem" }
12
14
  },
13
- "margin": { "value": "0", "type": "dimension", "source": "$tooltip-margin" }
15
+ "margin": { "source": "$tooltip-margin", "$value": "0" }
14
16
  }
15
17
  },
16
18
  "elevation": {
19
+ "$type": "number",
17
20
  "tooltip": {
18
- "zindex": { "value": "1070", "type": "ratio", "source": "$zindex-tooltip" }
21
+ "zindex": { "source": "$zindex-tooltip", "$value": "1070" }
19
22
  }
20
23
  },
21
24
  "size": {
25
+ "$type": "dimension",
22
26
  "tooltip": {
23
- "max-width": { "value": "200px", "type": "dimension", "source": "$tooltip-max-width" },
27
+ "max-width": { "source": "$tooltip-max-width", "$value": "200px" },
24
28
  "arrow": {
25
- "height": { "value": ".4rem", "type": "dimension", "source": "$tooltip-arrow-height" },
26
- "width": { "value": ".8rem", "type": "dimension", "source": "$tooltip-arrow-width" }
29
+ "height": { "source": "$tooltip-arrow-height", "$value": ".4rem" },
30
+ "width": { "source": "$tooltip-arrow-width", "$value": ".8rem" }
27
31
  },
28
- "border-radius": {
29
- "value": "{size.border.radius.base}", "type": "dimension", "source": "$tooltip-border-radius"
30
- }
32
+ "border-radius": { "source": "$tooltip-border-radius", "$value": "{size.border.radius.base}" }
31
33
  }
32
34
  }
33
35
  }
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "caret": {
4
- "width": { "value": ".3em", "type": "dimension", "source": "$caret-width" }
5
+ "width": { "source": "$caret-width", "$value": ".3em" }
5
6
  }
6
7
  },
7
8
  "spacing": {
9
+ "$type": "dimension",
8
10
  "caret": {
9
- "base": { "value": ".255em", "type": "dimension", "source": "$caret-spacing" },
10
- "vertical-align": { "value": ".255em", "type": "dimension", "source": "$caret-vertical-align" }
11
+ "base": { "source": "$caret-spacing", "$value": ".255em" },
12
+ "vertical-align": { "source": "$caret-vertical-align", "$value": ".255em" }
11
13
  }
12
14
  }
13
15
  }
@@ -2,15 +2,16 @@
2
2
  "typography": {
3
3
  "headings": {
4
4
  "font": {
5
- "family": { "value": "inherit", "type": "fontFamily", "source": "$headings-font-family" },
6
- "weight": { "value": "{typography.font.weight.bold}", "type": "fontWeight", "source": "$headings-font-weight" }
5
+ "family": { "source": "$headings-font-family", "$value": "inherit", "$type": "fontFamily" },
6
+ "weight": { "source": "$headings-font-weight", "$value": "{typography.font.weight.bold}", "$type": "fontWeight" }
7
7
  },
8
- "line-height": { "value": "1.25", "type": "dimension", "source": "$headings-line-height" }
8
+ "line-height": { "source": "$headings-line-height", "$value": "1.25", "$type": "number" }
9
9
  }
10
10
  },
11
11
  "spacing": {
12
+ "$type": "dimension",
12
13
  "headings": {
13
- "margin-bottom": { "value": ".5rem", "type": "dimension", "source": "$headings-margin-bottom" }
14
+ "margin-bottom": { "source": "$headings-margin-bottom", "$value": ".5rem" }
14
15
  }
15
16
  }
16
17
  }
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "size": {
3
+ "$type": "dimension",
3
4
  "hr": {
4
5
  "border": {
5
- "width": { "value": "{size.border.width}", "type": "dimension", "source": "$hr-border-width" },
6
- "margin-y": { "value": "{spacing.spacer.base}", "type": "dimension", "source": "$hr-margin-y" }
6
+ "width": { "source": "$hr-border-width", "$value": "{size.border.width}" },
7
+ "margin-y": { "source": "$hr-margin-y", "$value": "{spacing.spacer.base}" }
7
8
  }
8
9
  }
9
10
  }