@itcase/ui 1.2.18 → 1.2.20

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 (207) hide show
  1. package/dist/{Group-BDuYmoBK.js → Group-B2oTJg0t.js} +1 -1
  2. package/dist/{Group-12uup5mu.js → Group-CVUfaHaS.js} +1 -1
  3. package/dist/cjs/components/Accordion.js +3 -2
  4. package/dist/cjs/components/Choice.js +11 -3
  5. package/dist/cjs/components/CookiesWarning.js +1 -1
  6. package/dist/cjs/components/Group.js +1 -1
  7. package/dist/cjs/components/InputPassword.js +6 -6
  8. package/dist/cjs/components/Panel.js +1 -1
  9. package/dist/cjs/components/Radio.js +85 -8
  10. package/dist/cjs/components/Response.js +1 -1
  11. package/dist/cjs/components/Select.js +1 -1
  12. package/dist/cjs/components/Switch.js +12 -8
  13. package/dist/cjs/components/Tile.js +3 -3
  14. package/dist/cjs/constants/componentProps/textColor.js +1 -1
  15. package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
  16. package/dist/cjs/hooks/useViewportFix.js +43 -0
  17. package/dist/components/Accordion.js +3 -2
  18. package/dist/components/Choice.js +11 -3
  19. package/dist/components/CookiesWarning.js +1 -1
  20. package/dist/components/Group.js +1 -1
  21. package/dist/components/InputPassword.js +6 -6
  22. package/dist/components/Panel.js +1 -1
  23. package/dist/components/Radio.js +86 -5
  24. package/dist/components/Response.js +1 -1
  25. package/dist/components/Select.js +1 -1
  26. package/dist/components/Switch.js +12 -4
  27. package/dist/components/Tile.js +3 -3
  28. package/dist/constants/componentProps/textColor.js +1 -1
  29. package/dist/constants/componentProps/textColorHover.js +1 -1
  30. package/dist/css/components/Accordion/Accordion.css +1 -0
  31. package/dist/css/components/Choice/Choice.css +14 -0
  32. package/dist/css/components/DatePicker/DatePicker.css +12 -12
  33. package/dist/css/components/Icon/Icon.css +14 -8
  34. package/dist/css/components/Select/Select.css +1 -1
  35. package/dist/css/components/Select/css/__input-container/select__input-container.css +1 -1
  36. package/dist/css/mixins/mixin_animation.css +1 -1
  37. package/dist/css/mixins/mixin_elevation.css +0 -2
  38. package/dist/css/mixins/mixin_typography.css +105 -84
  39. package/dist/css/mixins/mixin_utils.css +1 -1
  40. package/dist/css/styles/border-color/border-color.css +4 -2
  41. package/dist/css/styles/text-gradient/text-gradient.css +9 -4
  42. package/dist/css/styles/width/width.css +1 -1
  43. package/dist/css/tokens/colors.css +105 -0
  44. package/dist/css/tokens/elevation.css +10 -0
  45. package/dist/css/tokens/settings.css +31 -0
  46. package/dist/css/tokens/typography.css +127 -0
  47. package/dist/hooks/useViewportFix.js +41 -0
  48. package/dist/stories/Accordion.mdx +11 -0
  49. package/dist/stories/Accordion.stories.js +49 -32
  50. package/dist/stories/AccordionItem.mdx +15 -0
  51. package/dist/stories/AccordionItem.stories.js +69 -69
  52. package/dist/stories/AlignContent.mdx +85 -0
  53. package/dist/stories/AlignItems.mdx +74 -0
  54. package/dist/stories/AlignItems.stories.js +88 -0
  55. package/dist/stories/AlignSelf.mdx +85 -0
  56. package/dist/stories/AlignSelf.stories.js +101 -0
  57. package/dist/stories/Appearance.mdx +35 -0
  58. package/dist/stories/Appearance.stories.js +101 -0
  59. package/dist/stories/Avatar.mdx +23 -0
  60. package/dist/stories/Avatar.stories.js +69 -64
  61. package/dist/stories/Badge.mdx +20 -0
  62. package/dist/stories/Badge.stories.js +43 -44
  63. package/dist/stories/Button.mdx +48 -0
  64. package/dist/stories/Button.stories.js +26 -186
  65. package/dist/stories/Cell.mdx +23 -0
  66. package/dist/stories/Cell.stories.js +119 -119
  67. package/dist/stories/Checkbox.mdx +24 -0
  68. package/dist/stories/Checkbox.stories.js +42 -34
  69. package/dist/stories/Chips.mdx +31 -0
  70. package/dist/stories/Chips.stories.js +22 -67
  71. package/dist/stories/Choice.mdx +11 -0
  72. package/dist/stories/Choice.stories.js +59 -61
  73. package/dist/stories/Code.mdx +11 -0
  74. package/dist/stories/Code.stories.js +37 -40
  75. package/dist/stories/Columns.mdx +51 -0
  76. package/dist/stories/Columns.stories.js +80 -0
  77. package/dist/stories/Configure.mdx +364 -0
  78. package/dist/stories/DatePicker.mdx +31 -0
  79. package/dist/stories/DatePicker.stories.js +58 -59
  80. package/dist/stories/Dev.mdx +9 -0
  81. package/dist/stories/DevMode.mdx +8 -0
  82. package/dist/stories/Direction.mdx +84 -0
  83. package/dist/stories/Direction.stories.js +93 -0
  84. package/dist/stories/Divider.mdx +35 -0
  85. package/dist/stories/Divider.stories.js +28 -29
  86. package/dist/stories/Dot.mdx +19 -0
  87. package/dist/stories/Dot.stories.js +38 -39
  88. package/dist/stories/Drawer.mdx +11 -0
  89. package/dist/stories/Drawer.stories.js +75 -0
  90. package/dist/stories/Dropdown.mdx +12 -0
  91. package/dist/stories/Dropdown.stories.js +30 -29
  92. package/dist/stories/DropdownItem.mdx +19 -0
  93. package/dist/stories/DropdownItem.stories.js +76 -78
  94. package/dist/stories/Flex.stories.js +47 -0
  95. package/dist/stories/FlexAlignContent.stories.js +102 -0
  96. package/dist/stories/FlexAlignItems.stories.js +91 -0
  97. package/dist/stories/FlexAlignSelf.stories.js +97 -0
  98. package/dist/stories/FlexDirection.stories.js +112 -0
  99. package/dist/stories/FlexGrow.stories.js +69 -0
  100. package/dist/stories/FlexJustifyContent.stories.js +98 -0
  101. package/dist/stories/FlexOrder.stories.js +76 -0
  102. package/dist/stories/FlexWrap.stories.js +89 -0
  103. package/dist/stories/Grid.stories.js +202 -0
  104. package/dist/stories/Group.mdx +9 -0
  105. package/dist/stories/{Tab.group.stories.js → Group.stories.js} +60 -56
  106. package/dist/stories/Grow.mdx +40 -0
  107. package/dist/stories/Header.stories.js +29 -0
  108. package/dist/stories/Icon.mdx +15 -0
  109. package/dist/stories/Icon.stories.js +84 -82
  110. package/dist/stories/Image.mdx +15 -0
  111. package/dist/stories/Image.stories.js +134 -0
  112. package/dist/stories/Input.mdx +31 -0
  113. package/dist/stories/Input.stories.js +26 -26
  114. package/dist/stories/InputPassword.mdx +15 -0
  115. package/dist/stories/InputPassword.stories.js +32 -34
  116. package/dist/stories/JustifyContent.mdx +89 -0
  117. package/dist/stories/JustifyContent.stories.js +96 -0
  118. package/dist/stories/Label.mdx +31 -0
  119. package/dist/stories/Label.stories.js +63 -53
  120. package/dist/stories/Loader.mdx +31 -0
  121. package/dist/stories/Loader.stories.js +26 -28
  122. package/dist/stories/Logo.mdx +19 -0
  123. package/dist/stories/Logo.stories.js +28 -28
  124. package/dist/stories/MenuItem.mdx +15 -0
  125. package/dist/stories/MenuItem.stories.js +156 -91
  126. package/dist/stories/Message.mdx +12 -0
  127. package/dist/stories/Message.stories.js +34 -0
  128. package/dist/stories/ModalConfirm.stories.js +48 -47
  129. package/dist/stories/ModalDefault.stories.js +21 -20
  130. package/dist/stories/Notification.mdx +23 -0
  131. package/dist/stories/Notification.stories.js +24 -47
  132. package/dist/stories/Order.mdx +52 -0
  133. package/dist/stories/Overview.mdx +11 -0
  134. package/dist/stories/Page.stories.js +28 -0
  135. package/dist/stories/Pagination.mdx +11 -0
  136. package/dist/stories/Pagination.stories.js +24 -27
  137. package/dist/stories/Playground.mdx +10 -0
  138. package/dist/stories/Radio.mdx +29 -0
  139. package/dist/stories/Radio.stories.js +32 -33
  140. package/dist/stories/Response.mdx +18 -0
  141. package/dist/stories/Response.stories.js +66 -0
  142. package/dist/stories/SearchInput.mdx +19 -0
  143. package/dist/stories/{Search-input.stories.js → SearchInput.stories.js} +79 -62
  144. package/dist/stories/Segmented.mdx +11 -0
  145. package/dist/stories/Segmented.stories.js +49 -50
  146. package/dist/stories/Select.stories.js +155 -155
  147. package/dist/stories/Size.mdx +35 -0
  148. package/dist/stories/Size.stories.js +101 -0
  149. package/dist/stories/Skeleton.mdx +9 -0
  150. package/dist/stories/State.mdx +19 -0
  151. package/dist/stories/State.stories.js +70 -0
  152. package/dist/stories/Switch.mdx +23 -0
  153. package/dist/stories/Switch.stories.js +23 -23
  154. package/dist/stories/Text.mdx +35 -0
  155. package/dist/stories/Text.stories.js +172 -0
  156. package/dist/stories/Textarea.mdx +15 -0
  157. package/dist/stories/Textarea.stories.js +27 -27
  158. package/dist/stories/Tile.mdx +19 -0
  159. package/dist/stories/Tile.stories.js +112 -97
  160. package/dist/stories/Title.mdx +31 -0
  161. package/dist/stories/Title.stories.js +168 -0
  162. package/dist/stories/Tooltip.mdx +19 -0
  163. package/dist/stories/Tooltip.stories.js +164 -0
  164. package/dist/stories/WithTooltip.mdx +9 -0
  165. package/dist/stories/Wrap.mdx +52 -0
  166. package/dist/stories/Wrap.stories.js +74 -0
  167. package/dist/types/components/Accordion/Accordion.interface.d.ts +4 -0
  168. package/dist/types/components/Choice/Choice.interface.d.ts +2 -2
  169. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +10 -8
  170. package/dist/types/components/Tile/Tile.d.ts +1 -1
  171. package/dist/types/components/Tile/Tile.interface.d.ts +3 -1
  172. package/dist/types/config/forms/datepicker.d.ts +18 -0
  173. package/dist/types/config/forms/index.d.ts +4 -0
  174. package/dist/types/config/forms/input.d.ts +14 -0
  175. package/dist/types/config/forms/select.d.ts +50 -0
  176. package/dist/types/hooks/useViewportFix.d.ts +2 -0
  177. package/dist/types/types/componentProps/flexWrap.d.ts +1 -1
  178. package/dist/types/types/componentProps/wrap.d.ts +1 -1
  179. package/package.json +38 -22
  180. package/dist/Radio-BQo97TZL.js +0 -89
  181. package/dist/Radio-oMf0vN7T.js +0 -86
  182. package/dist/Switch-B5yVEqxz.js +0 -14
  183. package/dist/Switch-DEXsrPCo.js +0 -12
  184. package/dist/cjs/components/FormField.js +0 -122
  185. package/dist/components/FormField.js +0 -116
  186. package/dist/css/mixins/mixin.css +0 -73
  187. package/dist/stories/FormFieldCheckbox.stories.js +0 -77
  188. package/dist/stories/FormFieldChoice.stories.js +0 -75
  189. package/dist/stories/FormFieldDatepicker.stories.js +0 -51
  190. package/dist/stories/FormFieldFileInput.stories.js +0 -58
  191. package/dist/stories/FormFieldInput.stories.js +0 -66
  192. package/dist/stories/FormFieldInputPassword.stories.js +0 -66
  193. package/dist/stories/FormFieldMultiBadgeSelect.stories.js +0 -132
  194. package/dist/stories/FormFieldMultiSelect.stories.js +0 -127
  195. package/dist/stories/FormFieldSelect.stories.js +0 -99
  196. package/dist/stories/FormFieldSelectGroup.stories.js +0 -84
  197. package/dist/stories/NotFound.stories.js +0 -93
  198. package/dist/stories/Tab.appearance.stories.js +0 -260
  199. package/dist/stories/Tab.size.stories.js +0 -259
  200. package/dist/stories/Tab.state.stories.js +0 -227
  201. package/dist/types/components/FormField/ChoiceField.d.ts +0 -8
  202. package/dist/types/components/FormField/FormField.d.ts +0 -9
  203. package/dist/types/components/FormField/FormFiled.interface.d.ts +0 -77
  204. package/dist/types/components/FormField/PasswordField.d.ts +0 -9
  205. package/dist/types/components/FormField/SelectField.d.ts +0 -9
  206. package/dist/types/components/FormField/SwitchField.d.ts +0 -8
  207. package/dist/types/components/FormField/index.d.ts +0 -6
@@ -1,153 +1,174 @@
1
- @define-mixin h1-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
2
- @mixin font $weight, var(--typography-h1-min), var(--typography-h1-max), $minLetterSpacing,
3
- var(--typography-h1-min-line-height), var(--typography-h1-max-line-height), $maxLetterSpacing,
4
- var(--typography-h1-font);
1
+ @define-mixin h1 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
2
+ @mixin font $weight, var(--typography-h1-min, 32px), var(--typography-h1-max, 38px),
3
+ $minLetterSpacing, var(--typography-h1-min-line-height, 64px),
4
+ var(--typography-h1-max-line-height, 80px), $maxLetterSpacing,
5
+ var(--typography-h1-font, system-ui);
5
6
  }
6
7
 
7
- @define-mixin h2-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
8
- @mixin font $weight, var(--typography-h2-min), var(--typography-h2-max), $minLetterSpacing,
9
- var(--typography-h2-min-line-height), var(--typography-h2-max-line-height), $maxLetterSpacing,
10
- var(--typography-h2-font);
8
+ @define-mixin h2 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
9
+ @mixin font $weight, var(--typography-h2-min, 26px), var(--typography-h2-max, 32px),
10
+ $minLetterSpacing, var(--typography-h2-min-line-height, 46px),
11
+ var(--typography-h2-max-line-height, 58px), $maxLetterSpacing,
12
+ var(--typography-h2-font, system-ui);
11
13
  }
12
14
 
13
- @define-mixin h3-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
14
- @mixin font $weight, var(--typography-h3-min), var(--typography-h3-max), $minLetterSpacing,
15
- var(--typography-h3-min-line-height), var(--typography-h3-max-line-height), $maxLetterSpacing,
16
- var(--typography-h3-font);
15
+ @define-mixin h3 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
16
+ @mixin font $weight, var(--typography-h3-min, 18px), var(--typography-h3-max, 24px),
17
+ $minLetterSpacing, var(--typography-h3-min-line-height, 32px),
18
+ var(--typography-h3-max-line-height, 40px), $maxLetterSpacing,
19
+ var(--typography-h3-font, system-ui);
17
20
  }
18
21
 
19
- @define-mixin h4-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
20
- @mixin font $weight, var(--typography-h4-min), var(--typography-h4-max), $minLetterSpacing,
21
- var(--typography-h4-min-line-height), var(--typography-h4-max-line-height), $maxLetterSpacing,
22
- var(--typography-h4-font);
22
+ @define-mixin h4 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
23
+ @mixin font $weight, var(--typography-h4-min, 16px), var(--typography-h4-max, 18px),
24
+ $minLetterSpacing, var(--typography-h4-min-line-height, 24px),
25
+ var(--typography-h4-max-line-height, 30px), $maxLetterSpacing,
26
+ var(--typography-h4-font, system-ui);
23
27
  }
24
28
 
25
- @define-mixin h5-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
26
- @mixin font $weight, var(--typography-h5-min), var(--typography-h5-max), $minLetterSpacing,
27
- var(--typography-h5-min-line-height), var(--typography-h5-max-line-height), $maxLetterSpacing,
28
- var(--typography-h5-font);
29
+ @define-mixin h5 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
30
+ @mixin font $weight, var(--typography-h5-min, 14px), var(--typography-h5-max, 16px),
31
+ $minLetterSpacing, var(--typography-h5-min-line-height, 18px),
32
+ var(--typography-h5-max-line-height, 26px), $maxLetterSpacing,
33
+ var(--typography-h5-font, system-ui);
29
34
  }
30
35
 
31
- @define-mixin h6-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
32
- @mixin font $weight, var(--typography-h6-min), var(--typography-h6-max), $minLetterSpacing,
33
- var(--typography-h6-min-line-height), var(--typography-h6-max-line-height), $maxLetterSpacing,
34
- var(--typography-h6-font);
36
+ @define-mixin h6 $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
37
+ @mixin font $weight, var(--typography-h6-min, 12px), var(--typography-h6-max, 18px),
38
+ $minLetterSpacing, var(--typography-h6-min-line-height, 16px),
39
+ var(--typography-h6-max-line-height, 24px), $maxLetterSpacing,
40
+ var(--typography-h6-font, system-ui);
35
41
  }
36
42
 
37
- @define-mixin p-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
38
- @mixin font $weight, var(--typography-p-min), var(--typography-p-max), $minLetterSpacing,
39
- var(--typography-p-min-line-height), var(--typography-p-max-line-height), $maxLetterSpacing,
40
- var(--typography-p-font);
43
+ @define-mixin p $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
44
+ @mixin font $weight, var(--typography-p-min, 16px), var(--typography-p-max, 24px),
45
+ $minLetterSpacing, var(--typography-p-min-line-height, 24px),
46
+ var(--typography-p-max-line-height, 36px), $maxLetterSpacing,
47
+ var(--typography-p-font, system-ui);
41
48
  }
42
49
 
43
- @define-mixin text-xxl-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
44
- @mixin font $weight, var(--typography-text-xxl-min), var(--typography-text-xxl-max),
45
- $minLetterSpacing, var(--typography-text-xxl-min-line-height),
46
- var(--typography-text-xxl-max-line-height), $maxLetterSpacing, var(--typography-text-xxl-font);
50
+ @define-mixin text-xxl $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
51
+ @mixin font $weight, var(--typography-text-xxl-min, 24px), var(--typography-text-xxl-max, 28px),
52
+ $minLetterSpacing, var(--typography-text-xxl-min-line-height, 24px),
53
+ var(--typography-text-xxl-max-line-height, 28px), $maxLetterSpacing,
54
+ var(--typography-text-xxl-font, system-ui);
47
55
  }
48
56
 
49
- @define-mixin text-xl-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
50
- @mixin font $weight, var(--typography-text-xl-min), var(--typography-text-xl-max),
51
- $minLetterSpacing, var(--typography-text-xl-min-line-height),
52
- var(--typography-text-xl-max-line-height), $maxLetterSpacing, var(--typography-text-xl-font);
57
+ @define-mixin text-xl $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
58
+ @mixin font $weight, var(--typography-text-xl-min, 20px), var(--typography-text-xl-max, 24px),
59
+ $minLetterSpacing, var(--typography-text-xl-min-line-height, 20px),
60
+ var(--typography-text-xl-max-line-height, 24px), $maxLetterSpacing,
61
+ var(--typography-text-xl-font, system-ui);
53
62
  }
54
63
 
55
- @define-mixin text-l-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
56
- @mixin font $weight, var(--typography-text-l-min), var(--typography-text-l-max), $minLetterSpacing,
57
- var(--typography-text-l-min-line-height), var(--typography-text-l-max-line-height),
58
- $maxLetterSpacing, var(--typography-text-l-font);
64
+ @define-mixin text-l $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
65
+ @mixin font $weight, var(--typography-text-l-min, 18px), var(--typography-text-l-max, 24px),
66
+ $minLetterSpacing, var(--typography-text-l-min-line-height, 18px),
67
+ var(--typography-text-l-max-line-height, 24px), $maxLetterSpacing,
68
+ var(--typography-text-l-font, system-ui);
59
69
  }
60
70
 
61
- @define-mixin text-m-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
62
- @mixin font $weight, var(--typography-text-m-min), var(--typography-text-m-max), $minLetterSpacing,
63
- var(--typography-text-m-min-line-height), var(--typography-text-m-max-line-height),
64
- $maxLetterSpacing, var(--typography-text-m-font);
71
+ @define-mixin text-m $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
72
+ @mixin font $weight, var(--typography-text-m-min, 16px), var(--typography-text-m-max, 18px),
73
+ $minLetterSpacing, var(--typography-text-m-min-line-height, 16px),
74
+ var(--typography-text-m-max-line-height, 20px), $maxLetterSpacing,
75
+ var(--typography-text-m-font, system-ui);
65
76
  }
66
77
 
67
- @define-mixin text-s-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
68
- @mixin font $weight, var(--typography-text-s-min), var(--typography-text-s-max), $minLetterSpacing,
69
- var(--typography-text-s-min-line-height), var(--typography-text-s-max-line-height),
70
- $maxLetterSpacing, var(--typography-text-s-font);
78
+ @define-mixin text-s $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
79
+ @mixin font $weight, var(--typography-text-s-min, 14px), var(--typography-text-s-max, 18px),
80
+ $minLetterSpacing, var(--typography-text-s-min-line-height, 14px),
81
+ var(--typography-text-s-max-line-height, 18px), $maxLetterSpacing,
82
+ var(--typography-text-s-font, system-ui);
71
83
  }
72
84
 
73
- @define-mixin text-xs-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
74
- @mixin font $weight, var(--typography-text-xs-min), var(--typography-text-xs-max),
75
- $minLetterSpacing, var(--typography-text-xs-min-line-height),
76
- var(--typography-text-xs-max-line-height), $maxLetterSpacing, var(--typography-text-xs-font);
85
+ @define-mixin text-xs $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
86
+ @mixin font $weight, var(--typography-text-xs-min, 12px), var(--typography-text-xs-max, 16px),
87
+ $minLetterSpacing, var(--typography-text-xs-min-line-height, 12px),
88
+ var(--typography-text-xs-max-line-height, 16px), $maxLetterSpacing,
89
+ var(--typography-text-xs-font, system-ui);
77
90
  }
78
91
 
79
- @define-mixin text-xxs-new $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
80
- @mixin font $weight, var(--typography-text-xxs-min), var(--typography-text-xxs-max),
81
- $minLetterSpacing, var(--typography-text-xxs-min-line-height),
82
- var(--typography-text-xxs-max-line-height), $maxLetterSpacing, var(--typography-text-xxs-font);
92
+ @define-mixin text-xxs $weight: normal, $minLetterSpacing: 0, $maxLetterSpacing: 0 {
93
+ @mixin font $weight, var(--typography-text-xxs-min, 10px), var(--typography-text-xxs-max, 14px),
94
+ $minLetterSpacing, var(--typography-text-xxs-min-line-height, 10px),
95
+ var(--typography-text-xxs-max-line-height, 14px), $maxLetterSpacing,
96
+ var(--typography-text-xxs-font, system-ui);
83
97
  }
84
98
 
85
99
  @define-mixin email-h1 $weight: normal {
86
- @mixin font-fixed $weight, $weight, var(--typography-email-h1), $letterSpacing,
87
- var(--typography-email-h1-line-height), var(--typography-email-h1-font);
100
+ @mixin font-fixed $weight, var(--typography-email-h1, 32px),
101
+ var(--typography-email-h1-line-height, 38px), var(--font-email);
88
102
  }
89
103
 
90
104
  @define-mixin email-h2 $weight: normal {
91
- @mixin font-fixed $weight, $weight, var(--typography-email-h2), $letterSpacing,
92
- var(--typography-email-h2-line-height), var(--typography-email-h2-font);
105
+ @mixin font-fixed $weight, var(--typography-email-h2, 26px),
106
+ var(--typography-email-h2-line-height, 32px), var(--font-email);
93
107
  }
94
108
 
95
109
  @define-mixin email-h3 $weight: normal {
96
- @mixin font-fixed $weight, $weight, var(--typography-email-h3), $letterSpacing,
97
- var(--typography-email-h3-line-height), var(--typography-email-h3-font);
110
+ @mixin font-fixed $weight, var(--typography-email-h3, 18px),
111
+ var(--typography-email-h3-line-height, 24px), var(--font-email);
98
112
  }
99
113
 
100
114
  @define-mixin email-h4 $weight: normal {
101
- @mixin font-fixed $weight, $weight, var(--typography-email-h4), $letterSpacing,
102
- var(--typography-email-h4-line-height), var(--typography-email-h4-font);
115
+ @mixin font-fixed $weight, var(--typography-email-h4, 24px),
116
+ var(--typography-email-h4-line-height, 30px), var(--font-email);
103
117
  }
104
118
 
105
119
  @define-mixin email-h5 $weight: normal {
106
- @mixin font-fixed $weight, $weight, var(--typography-email-h5), $letterSpacing,
107
- var(--typography-email-h5-line-height), var(--typography-email-h5-font);
120
+ @mixin font-fixed $weight, var(--typography-email-h5, 18px),
121
+ var(--typography-email-h5-line-height, 24px), var(--font-email);
108
122
  }
109
123
 
110
124
  @define-mixin email-h6 $weight: normal {
111
- @mixin font-fixed $weight, $weight, var(--typography-email-h6), $letterSpacing,
112
- var(--typography-email-h6-line-height), var(--typography-email-h6-font);
125
+ @mixin font-fixed $weight, var(--typography-email-h6, 12px),
126
+ var(--typography-email-h6-line-height, 18px), var(--font-email);
113
127
  }
114
128
 
115
129
  @define-mixin email-p $weight: normal {
116
- @mixin font-fixed $weight, $weight, var(--typography-email-p), $letterSpacing,
117
- var(--typography-email-p-line-height), var(--typography-email-p-font);
130
+ @mixin font-fixed $weight, var(--typography-email-p, 16px),
131
+ var(--typography-email-p-line-height, 24px), var(--font-email);
118
132
  }
119
133
 
120
134
  @define-mixin email-text-xxl $weight: normal {
121
- @mixin font-fixed $weight, $weight, var(--typography-email-text-xxl), $letterSpacing,
122
- var(--typography-email-text-xxl-line-height), var(--typography-email-text-xxl-font);
135
+ @mixin font-fixed $weight, var(--typography-email-text-xxl, 24px),
136
+ var(--typography-email-text-xxl-line-height, 28px), var(--font-email);
123
137
  }
124
138
 
125
139
  @define-mixin email-text-xl $weight: normal {
126
- @mixin font-fixed $weight, $weight, var(--typography-email-text-xl), $letterSpacing,
127
- var(--typography-email-text-xl-line-height), var(--typography-email-text-xl-font);
140
+ @mixin font-fixed $weight, var(--typography-email-text-xl, 20px),
141
+ var(--typography-email-text-xl-line-height, 24px), var(--font-email);
128
142
  }
129
143
 
130
144
  @define-mixin email-text-l $weight: normal {
131
- @mixin font-fixed $weight, $weight, var(--typography-email-text-l), $letterSpacing,
132
- var(--typography-email-text-l-line-height), var(--typography-email-text-l-font);
145
+ @mixin font-fixed $weight, var(--typography-email-text-l, 18px),
146
+ var(--typography-email-text-l-line-height, 24px), var(--font-email);
133
147
  }
134
148
 
135
149
  @define-mixin email-text-m $weight: normal {
136
- @mixin font-fixed $weight, $weight, var(--typography-email-text-m), $letterSpacing,
137
- var(--typography-email-text-m-line-height), var(--typography-email-text-m-font);
150
+ @mixin font-fixed $weight, var(--typography-email-text-m, 16px),
151
+ var(--typography-email-text-m-line-height, 18px), var(--font-email);
138
152
  }
139
153
 
140
154
  @define-mixin email-text-s $weight: normal {
141
- @mixin font-fixed $weight, $weight, var(--typography-email-text-s), $letterSpacing,
142
- var(--typography-email-text-s-line-height), var(--typography-email-text-s-font);
155
+ @mixin font-fixed $weight, var(--typography-email-text-s, 14px),
156
+ var(--typography-email-text-s-line-height, 18px), var(--font-email);
143
157
  }
144
158
 
145
159
  @define-mixin email-text-xs $weight: normal {
146
- @mixin font-fixed $weight, $weight, var(--typographyemail-text-xs), $letterSpacing,
147
- var(--typographyemail-text-xs-line-height), var(--typographyemail-text-xs-font);
160
+ @mixin font-fixed $weight, var(--typography-email-text-xs, 12px),
161
+ var(--typographyemail-text-xs-line-height, 16px), var(--font-email);
148
162
  }
149
163
 
150
164
  @define-mixin email-text-xxs $weight: normal {
151
- @mixin font-fixed $weight, $weight, var(--typography-email-text-xxs), $letterSpacing,
152
- var(--typography-email-text-xxs-line-height), var(--typography-email-text-xxs-font);
165
+ @mixin font-fixed $weight, var(--typography-email-text-xxs, 10px),
166
+ var(--typography-email-text-xxs-line-height, 14px), var(--font-email);
167
+ }
168
+
169
+ @define-mixin text-gradient-primary {
170
+ color: transparent;
171
+ background: linear-gradient(90deg, hsla(266, 100%, 64%, 1) 0%, hsla(213, 79%, 68%, 1) 50%);
172
+ background-clip: text;
173
+ text-fill-color: transparent;
153
174
  }
@@ -1,4 +1,4 @@
1
- @define-mixin font $fontWeight, $minFontSize, $minLineHeight, $minLetterSpacing, $maxFontSize,
1
+ @define-mixin font $fontWeight, $minFontSize, $maxFontSize, $minLetterSpacing, $minLineHeight,
2
2
  $maxLineHeight, $maxLetterSpacing, $fontFamily {
3
3
  font-size: responsive $minFontSize $maxFontSize;
4
4
  font-range: var(--min-max);
@@ -1,8 +1,10 @@
1
1
  .border-color {
2
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, error, success, warning, info, danger, gradient {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, error,
3
+ success, warning, info, danger, gradient {
3
4
  &_$(type) {
4
5
  &-border {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active, disabled, hover, invert {
6
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, active,
7
+ disabled, hover, inverse {
6
8
  &-$(color) {
7
9
  border-width: 1px;
8
10
  border-color: var(--color-$(type)-border-$(color));
@@ -4,14 +4,19 @@
4
4
  }
5
5
  @each $type in accent, primary, secondary, tertiary, surface, success, error {
6
6
  &_$(type) {
7
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
7
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
8
+ hover {
8
9
  &-$(color) {
9
- @each $direction in left, top, right, bottom {
10
+ @each $direction in left, top, right, bottom {
10
11
  &-$(direction) {
11
- background: linear-gradient(to $(direction), var(--color-$(type)-text-gradient-$(color)-start) 0%, var(--color-$(type)-text-gradient-$(color)-end) 100%);
12
+ color: transparent;
13
+ background: linear-gradient(
14
+ to $(direction),
15
+ var(--color-$(type)-text-gradient-$(color)-start) 0%,
16
+ var(--color-$(type)-text-gradient-$(color)-end) 100%
17
+ );
12
18
  background-clip: text;
13
19
  text-fill-color: transparent;
14
- color: transparent;
15
20
  }
16
21
  }
17
22
  }
@@ -8,4 +8,4 @@
8
8
  &_auto {
9
9
  width: auto;
10
10
  }
11
- }
11
+ }
@@ -0,0 +1,105 @@
1
+ /* stylelint-disable custom-property-empty-line-before, value-keyword-case */
2
+
3
+ :root {
4
+ --color-accent-primary: hsla(216, 99%, 63%, 1);
5
+ --color-accent-primary-hover: hsla(216, 99%, 55%, 1);
6
+
7
+ --color-accent-text-primary: hsla(0, 0%, 100%, 1);
8
+ --color-accent-text-secondary: hsla(216, 99%, 63%, 1);
9
+
10
+ --color-accent-item-primary: hsla(0, 0%, 100%, 1);
11
+ --color-accent-item-secondary: hsla(216, 99%, 63%, 1);
12
+
13
+ --color-accent-border-primary: hsla(216, 99%, 63%, 1);
14
+ --color-accent-border-primary-hover: hsla(216, 99%, 73%, 1);
15
+
16
+ --color-primary: hsla(0, 94%, 66%, 1);
17
+ --color-primary-primary: hsla(0, 94%, 66%, 1);
18
+ --color-primary-secondary: hsla(360, 94%, 80%, 1);
19
+ --color-primary-hover-primary: hsla(0, 94%, 66%, 1);
20
+ --color-primary-hover-secondary: hsla(0, 94%, 95%, 1);
21
+
22
+ --color-primary-text-primary: hsla(0, 0%, 100%, 1);
23
+ --color-primary-text-secondary: hsla(0, 94%, 66%, 1);
24
+
25
+ --color-primary-item-primary: hsla(0, 0%, 100%, 1);
26
+ --color-primary-item-secondary: hsla(0, 94%, 66%, 1);
27
+
28
+ --color-primary-border-primary: hsla(0, 0%, 100%, 1);
29
+ --color-primary-border-secondary: hsla(0, 94%, 66%, 1);
30
+
31
+ --color-secondary: hsla(210, 8%, 75%, 1);
32
+ --color-secondary-primary: hsla(210, 8%, 75%, 1);
33
+ --color-secondary-primary-hover: hsla(210, 8%, 1%, 1);
34
+
35
+ --color-secondary-secondary: hsla(210, 7%, 85%, 1);
36
+ --color-secondary-secondary-hover: hsla(210, 8%, 95%, 1);
37
+
38
+ --color-secondary-text-primary: hsla(0, 0%, 100%, 1);
39
+ --color-secondary-text-secondary: hsla(0, 0%, 59%, 1);
40
+ --color-secondary-text-tertiary: hsla(0, 0%, 34%, 1);
41
+
42
+ --color-secondary-item-primary: hsla(0, 0%, 100%, 1);
43
+ --color-secondary-item-secondary: hsla(0, 0%, 59%, 1);
44
+
45
+ --color-secondary-border-primary: hsla(0, 0%, 59%, 1);
46
+
47
+ --color-tertiary-primary: hsla(50, 100%, 62%, 1);
48
+ --color-tertiary-secondary: hsla(50, 100%, 77%, 1);
49
+
50
+ --color-tertiary-text-primary: hsla(0, 0%, 34%, 1);
51
+ --color-tertiary-text-secondary: hsla(50, 100%, 62%, 1);
52
+
53
+ --color-tertiary-item-primary: hsla(0, 0%, 34%, 1);
54
+
55
+ --color-surface-primary: hsla(0, 0%, 100%, 1);
56
+ --color-surface-primary-hover: hsla(0, 0%, 98%, 1);
57
+
58
+ --color-surface-secondary: hsla(220, 14%, 96%, 1);
59
+ --color-surface-secondary-hover: hsla(0, 0%, 98%, 1);
60
+
61
+ --color-surface-tertiary: hsla(0, 0%, 85%, 1);
62
+ --color-surface-tertiary-hover: hsla(0, 0%, 95%, 1);
63
+
64
+ --color-surface-quaternary: hsla(0, 0%, 97%, 1);
65
+ --color-surface-quaternary-hover: hsla(0, 0%, 95%, 1);
66
+
67
+ --color-surface-text-primary: hsla(0, 0%, 34%, 1);
68
+ --color-surface-text-primary-hover: hsla(216, 99%, 63%, 1);
69
+ --color-surface-text-secondary: hsla(210, 9%, 56%, 1);
70
+ --color-surface-text-tertiary: hsla(210, 12%, 76%, 1);
71
+ --color-surface-text-quaternary: hsla(0, 94%, 66%, 1);
72
+
73
+ --color-surface-text-accent: hsla(216, 99%, 63%, 1);
74
+ --color-surface-text-accent-hover: hsla(216, 99%, 43%, 1);
75
+
76
+ --color-surface-item-primary: hsla(0, 0%, 34%, 1);
77
+ --color-surface-item-secondary: hsla(210, 8%, 75%, 1);
78
+ --color-surface-item-accent: hsla(216, 99%, 63%, 1);
79
+
80
+ --color-surface-border-primary: hsla(0, 0%, 34%, 1);
81
+ --color-surface-border-secondary: hsla(0, 0%, 59%, 1);
82
+ --color-surface-border-tertiary: hsla(210, 5%, 89%, 1);
83
+ --color-surface-border-accent: hsla(216, 99%, 63%, 1);
84
+
85
+ --color-gradient-primary: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
86
+
87
+ --color-success: hsla(107, 100%, 34%, 1);
88
+
89
+ --color-success-item-primary: hsla(0, 0%, 100%, 1);
90
+
91
+ --color-success-text-primary: hsla(107, 100%, 34%, 1);
92
+ --color-success-text-secondary: hsla(0, 0%, 100%, 1);
93
+
94
+ --color-success-border-primary: hsla(107, 100%, 34%, 1);
95
+
96
+ --color-error-primary: hsla(6, 99%, 57%, 1);
97
+ --color-error-text-primary: hsla(0, 0%, 100%, 1);
98
+ --color-error-text-secondary: hsla(6, 99%, 57%, 1);
99
+
100
+ --color-error-item-primary: hsla(0, 0%, 100%, 1);
101
+
102
+ --color-error-border-primary: hsla(6, 99%, 57%, 1);
103
+
104
+ --color-fader: hsla(0, 0%, 59%, 0.2);
105
+ }
@@ -0,0 +1,10 @@
1
+ :root {
2
+ --elevation-1: 0px 1px 1px rgba(0, 0, 0, 0.24);
3
+ --elevation-2: 0px 2px 4px rgba(0, 0, 0, 0.24);
4
+ --elevation-4: 0px 2px 6px rgba(0, 0, 0, 0.24);
5
+ --elevation-6: 0px 2px 6px rgba(0, 0, 0, 0.24);
6
+ --elevation-8: 0px 4px 8px rgba(0, 0, 0, 0.16);
7
+ --elevation-12: 0px 6px 12px rgba(0, 0, 0, 0.16);
8
+ --elevation-16: 0px 8px 16px rgba(0, 0, 0, 0.16);
9
+ --elevation-24: 0px 16px 24px rgba(0, 0, 0, 0.12);
10
+ }
@@ -0,0 +1,31 @@
1
+ /* stylelint-disable custom-property-empty-line-before, value-keyword-case */
2
+
3
+ :root {
4
+ --min-max: 375px 1440px;
5
+ --min: 320px;
6
+ --max: 1440px;
7
+ }
8
+
9
+ @media (--mobile) {
10
+ :root {
11
+ --wrapper-margin: 16px;
12
+ }
13
+ }
14
+
15
+ @media (--tablet), (--desktop-small), (--desktop-medium) {
16
+ :root {
17
+ --wrapper-margin: 24px;
18
+ }
19
+ }
20
+
21
+ @media (--desktop-normal) {
22
+ :root {
23
+ --wrapper-margin: 40px;
24
+ }
25
+ }
26
+
27
+ @media (--desktop) {
28
+ :root {
29
+ --wrapper-margin: 96px;
30
+ }
31
+ }
@@ -0,0 +1,127 @@
1
+ :root {
2
+ --typography-h1-min: 32px;
3
+ --typography-h1-max: 38px;
4
+ --typography-h1-min-line-height: 64px;
5
+ --typography-h1-max-line-height: 80px;
6
+ --typography-h1-font: var(--font-primary);
7
+
8
+ --typography-h2-min: 26px;
9
+ --typography-h2-max: 32px;
10
+ --typography-h2-min-line-height: 46px;
11
+ --typography-h2-max-line-height: 58px;
12
+ --typography-h2-font: var(--font-primary);
13
+
14
+ --typography-h3-min: 18px;
15
+ --typography-h3-max: 24px;
16
+ --typography-h3-min-line-height: 32px;
17
+ --typography-h3-max-line-height: 40px;
18
+ --typography-h3-font: var(--font-primary);
19
+
20
+ --typography-h4-min: 16px;
21
+ --typography-h4-max: 18px;
22
+ --typography-h4-min-line-height: 24px;
23
+ --typography-h4-max-line-height: 30px;
24
+ --typography-h4-font: var(--font-primary);
25
+
26
+ --typography-h5-min: 14px;
27
+ --typography-h5-max: 16px;
28
+ --typography-h5-min-line-height: 18px;
29
+ --typography-h5-max-line-height: 26px;
30
+ --typography-h5-font: var(--font-primary);
31
+
32
+ --typography-h6-min: 12px;
33
+ --typography-h6-max: 18px;
34
+ --typography-h6-min-line-height: 16px;
35
+ --typography-h6-max-line-height: 24px;
36
+ --typography-h6-font: var(--font-primary);
37
+
38
+ --typography-p-min: 16px;
39
+ --typography-p-max: 24px;
40
+ --typography-p-min-line-height: 24px;
41
+ --typography-p-max-line-height: 36px;
42
+ --typography-p-font: var(--font-primary);
43
+
44
+ --typography-text-xxl-min: 24px;
45
+ --typography-text-xxl-max: 28px;
46
+ --typography-text-xxl-min-line-height: 24px;
47
+ --typography-text-xxl-max-line-height: 28px;
48
+ --typography-text-xxl-font: var(--font-primary);
49
+
50
+ --typography-text-xl-min: 20px;
51
+ --typography-text-xl-max: 24px;
52
+ --typography-text-xl-min-line-height: 20px;
53
+ --typography-text-xl-max-line-height: 24px;
54
+ --typography-text-xl-font: var(--font-primary);
55
+
56
+ --typography-text-l-min: 18px;
57
+ --typography-text-l-max: 24px;
58
+ --typography-text-l-min-line-height: 18px;
59
+ --typography-text-l-max-line-height: 24px;
60
+ --typography-text-l-font: var(--font-primary);
61
+
62
+ --typography-text-m-min: 16px;
63
+ --typography-text-m-max: 18px;
64
+ --typography-text-m-min-line-height: 16px;
65
+ --typography-text-m-max-line-height: 20px;
66
+ --typography-text-m-font: var(--font-primary);
67
+
68
+ --typography-text-s-min: 14px;
69
+ --typography-text-s-max: 18px;
70
+ --typography-text-s-min-line-height: 14px;
71
+ --typography-text-s-max-line-height: 18px;
72
+ --typography-text-s-font: var(--font-primary);
73
+
74
+ --typography-text-xs-min: 12px;
75
+ --typography-text-xs-max: 16px;
76
+ --typography-text-xs-min-line-height: 12px;
77
+ --typography-text-xs-max-line-height: 16px;
78
+ --typography-text-xs-font: var(--font-primary);
79
+
80
+ --typography-text-xxs-min: 10px;
81
+ --typography-text-xxs-max: 14px;
82
+ --typography-text-xxs-min-line-height: 10px;
83
+ --typography-text-xxs-max-line-height: 14px;
84
+ --typography-text-xxs-font: var(--font-primary);
85
+
86
+ --typography-email-h1: 32px;
87
+ --typography-email-h1-line-height: 38px;
88
+
89
+ --typography-email-h2: 26px;
90
+ --typography-email-h2-line-height: 32px;
91
+
92
+ --typography-email-h3: 18px;
93
+ --typography-email-h3-line-height: 24px;
94
+
95
+ --typography-email-h4: 24px;
96
+ --typography-email-h4-line-height: 30px;
97
+
98
+ --typography-email-h5: 18px;
99
+ --typography-email-h5-line-height: 24px;
100
+
101
+ --typography-email-h6: 12px;
102
+ --typography-email-h6-line-height: 18px;
103
+
104
+ --typography-email-p: 16px;
105
+ --typography-email-p-line-height: 24px;
106
+
107
+ --typography-email-text-xxl: 24px;
108
+ --typography-email-text-xxl-line-height: 28px;
109
+
110
+ --typography-email-text-xl: 20px;
111
+ --typography-email-text-xl-line-height: 24px;
112
+
113
+ --typography-email-text-l: 18px;
114
+ --typography-email-text-l-line-height: 24px;
115
+
116
+ --typography-email-text-m: 16px;
117
+ --typography-email-text-m-line-height: 18px;
118
+
119
+ --typography-email-text-s: 14px;
120
+ --typography-email-text-s-line-height: 18px;
121
+
122
+ --typography-email-text-xs: 12px;
123
+ --typography-email-text-xs-line-height: 16px;
124
+
125
+ --typography-email-text-xxs: 10px;
126
+ --typography-email-text-xxs-line-height: 14px;
127
+ }
@@ -0,0 +1,41 @@
1
+ import { useEffect } from 'react';
2
+
3
+ function useViewportFix() {
4
+ useEffect(function () {
5
+ // https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
6
+ var setViewportProperty = function () {
7
+ // "vh" unit is equal to 1% of the height of the initial containing block
8
+ // https://www.w3.org/TR/css-values-3/#viewport-relative-lengths
9
+ var vh = window.innerHeight * 0.01;
10
+ /** NOTE:
11
+ * In JavaScript, you can always get the value of the current viewport
12
+ * by using the global variable window.innerHeight. This value takes
13
+ * the browser’s interface into account and is updated when its
14
+ * visibility changes. The trick is to store the viewport value
15
+ * in a CSS variable and apply that to the element instead of the vh unit.
16
+ * Let’s say our CSS custom variable is --vh for this example.
17
+ * That means we will want to apply it in our CSS like this:
18
+ * ```
19
+ * .my-element {
20
+ * height: 100vh; (Fallback for browsers that do not support Custom Properties)
21
+ * height: calc(var(--vh, 1vh) * 100);
22
+ * }
23
+ * ```
24
+ * We told JavaScript to grab the height of the viewport and then
25
+ * drilled it down into 1/100th of that total so we have a value
26
+ * to assign as our viewport height unit value.
27
+ * Then we politely asked JS to create the CSS variable "--vh" at the ":root":
28
+ */
29
+ document.documentElement.style.setProperty('--vh', "".concat(vh, "px"));
30
+ };
31
+ // Update the value of "--vh" after render
32
+ setViewportProperty();
33
+ // Update the value of "--vh" by listening to the window resize event
34
+ window.addEventListener('resize', setViewportProperty);
35
+ return function () {
36
+ window.removeEventListener('resize', setViewportProperty);
37
+ };
38
+ }, []);
39
+ }
40
+
41
+ export { useViewportFix };
@@ -0,0 +1,11 @@
1
+ import { Canvas, Meta } from '@storybook/blocks'
2
+
3
+ import * as AccordionStories from './Accordion.stories.js'
4
+
5
+ <Meta of={AccordionStories} />
6
+
7
+ # Accordion
8
+
9
+ ## Default
10
+
11
+ <Canvas of={AccordionStories.Default} />