@marigold/components 0.1.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/CHANGELOG.md +180 -0
  2. package/dist/ActionGroup/ActionGroup.d.ts +8 -0
  3. package/dist/ActionGroup/ActionGroup.stories.d.ts +5 -0
  4. package/dist/ActionGroup/index.d.ts +1 -0
  5. package/dist/Alert/Alert.d.ts +22 -1
  6. package/dist/Alert/Alert.stories.d.ts +5 -0
  7. package/dist/Badge/Badge.d.ts +5 -0
  8. package/dist/Badge/Badge.stories.d.ts +5 -0
  9. package/dist/Box.d.ts +2 -0
  10. package/dist/Button/Button.d.ts +9 -6
  11. package/dist/Button/Button.stories.d.ts +5 -0
  12. package/dist/Card/Card.d.ts +14 -0
  13. package/dist/Card/Card.stories.d.ts +5 -0
  14. package/dist/Card/index.d.ts +1 -0
  15. package/dist/Checkbox/Checkbox.d.ts +12 -4
  16. package/dist/Checkbox/Checkbox.stories.d.ts +5 -0
  17. package/dist/Checkbox/CheckboxIcons.d.ts +9 -0
  18. package/dist/Column/Column.d.ts +3 -1
  19. package/dist/Column/Column.stories.d.ts +5 -0
  20. package/dist/Columns/Columns.d.ts +2 -2
  21. package/dist/Columns/Columns.stories.d.ts +5 -0
  22. package/dist/Container/Container.stories.d.ts +5 -0
  23. package/dist/Dialog/Dialog.d.ts +12 -2
  24. package/dist/Dialog/Dialog.stories.d.ts +5 -0
  25. package/dist/Dialog/ModalDialog.d.ts +8 -0
  26. package/dist/Divider/Divider.d.ts +7 -3
  27. package/dist/Divider/Divider.stories.d.ts +5 -0
  28. package/dist/Field/Field.d.ts +5 -1
  29. package/dist/Field/Field.stories.d.ts +5 -0
  30. package/dist/Image/Image.d.ts +5 -0
  31. package/dist/Image/Image.stories.d.ts +5 -0
  32. package/dist/Inline/Inline.d.ts +7 -0
  33. package/dist/Inline/Inline.stories.d.ts +5 -0
  34. package/dist/Inline/index.d.ts +1 -0
  35. package/dist/Input/Input.d.ts +5 -0
  36. package/dist/Input/Input.stories.d.ts +5 -0
  37. package/dist/Label/Label.d.ts +14 -2
  38. package/dist/Label/Label.stories.d.ts +5 -0
  39. package/dist/Link/Link.d.ts +3 -0
  40. package/dist/Link/Link.stories.d.ts +5 -0
  41. package/dist/Menu/Menu.d.ts +3 -0
  42. package/dist/Menu/Menu.stories.d.ts +5 -0
  43. package/dist/MenuItem/MenuItem.d.ts +5 -0
  44. package/dist/MenuItem/MenuItem.stories.d.ts +5 -0
  45. package/dist/Message/Message.d.ts +5 -0
  46. package/dist/Message/Message.stories.d.ts +5 -0
  47. package/dist/Provider/MarigoldProvider.d.ts +11 -0
  48. package/dist/Provider/index.d.ts +3 -0
  49. package/dist/Radio/Radio.d.ts +11 -4
  50. package/dist/Radio/Radio.stories.d.ts +5 -0
  51. package/dist/Radio/RadioIcon.d.ts +9 -0
  52. package/dist/Select/ListBox.d.ts +9 -0
  53. package/dist/Select/ListBoxSection.d.ts +9 -0
  54. package/dist/Select/Option.d.ts +9 -0
  55. package/dist/Select/Popover.d.ts +9 -0
  56. package/dist/Select/Select.d.ts +25 -4
  57. package/dist/Select/Select.stories.d.ts +5 -0
  58. package/dist/Slider/Slider.d.ts +5 -0
  59. package/dist/Slider/Slider.stories.d.ts +5 -0
  60. package/dist/Stack/Stack.d.ts +1 -3
  61. package/dist/Stack/Stack.stories.d.ts +5 -0
  62. package/dist/Text/Text.d.ts +5 -0
  63. package/dist/Text/Text.stories.d.ts +5 -0
  64. package/dist/Textarea/Textarea.d.ts +7 -1
  65. package/dist/Textarea/Textarea.stories.d.ts +5 -0
  66. package/dist/ValidationMessage/ValidationMessage.d.ts +5 -0
  67. package/dist/ValidationMessage/ValidationMessage.stories.d.ts +5 -0
  68. package/dist/VisuallyHidden/VisuallyHidden.d.ts +1 -0
  69. package/dist/VisuallyHidden/VisuallyHidden.stories.d.ts +5 -0
  70. package/dist/VisuallyHidden/index.d.ts +1 -0
  71. package/dist/components.cjs.development.js +1068 -601
  72. package/dist/components.cjs.development.js.map +1 -1
  73. package/dist/components.cjs.production.min.js +1 -1
  74. package/dist/components.cjs.production.min.js.map +1 -1
  75. package/dist/components.esm.js +1003 -579
  76. package/dist/components.esm.js.map +1 -1
  77. package/dist/index.d.ts +6 -2
  78. package/dist/theme.d.ts +23 -48
  79. package/package.json +22 -3
  80. package/src/ActionGroup/ActionGroup.stories.tsx +47 -0
  81. package/src/ActionGroup/ActionGroup.test.tsx +83 -0
  82. package/src/ActionGroup/ActionGroup.tsx +32 -0
  83. package/src/ActionGroup/index.ts +1 -0
  84. package/src/Alert/Alert.stories.tsx +32 -0
  85. package/src/Alert/Alert.test.tsx +5 -2
  86. package/src/Alert/Alert.tsx +27 -34
  87. package/src/Badge/Badge.stories.tsx +38 -0
  88. package/src/Badge/Badge.test.tsx +12 -16
  89. package/src/Badge/Badge.tsx +14 -3
  90. package/src/Box.ts +2 -0
  91. package/src/Button/Button.stories.tsx +57 -0
  92. package/src/Button/Button.test.tsx +76 -13
  93. package/src/Button/Button.tsx +61 -18
  94. package/src/Card/Card.stories.tsx +41 -0
  95. package/src/Card/Card.test.tsx +71 -0
  96. package/src/Card/Card.tsx +48 -0
  97. package/src/Card/index.ts +1 -0
  98. package/src/Checkbox/Checkbox.stories.tsx +78 -0
  99. package/src/Checkbox/Checkbox.test.tsx +138 -23
  100. package/src/Checkbox/Checkbox.tsx +67 -68
  101. package/src/Checkbox/CheckboxIcons.tsx +59 -0
  102. package/src/Column/Column.stories.tsx +33 -0
  103. package/src/Column/Column.test.tsx +8 -0
  104. package/src/Column/Column.tsx +12 -2
  105. package/src/Columns/Columns.stories.tsx +75 -0
  106. package/src/Columns/Columns.test.tsx +34 -23
  107. package/src/Columns/Columns.tsx +30 -30
  108. package/src/Container/Container.stories.tsx +14 -0
  109. package/src/Dialog/Dialog.stories.tsx +88 -0
  110. package/src/Dialog/Dialog.test.tsx +129 -18
  111. package/src/Dialog/Dialog.tsx +113 -15
  112. package/src/Dialog/ModalDialog.tsx +76 -0
  113. package/src/Divider/Divider.stories.tsx +30 -0
  114. package/src/Divider/Divider.test.tsx +32 -23
  115. package/src/Divider/Divider.tsx +27 -7
  116. package/src/Field/Field.stories.tsx +110 -0
  117. package/src/Field/Field.test.tsx +74 -33
  118. package/src/Field/Field.tsx +27 -20
  119. package/src/Image/Image.stories.tsx +34 -0
  120. package/src/Image/Image.test.tsx +4 -1
  121. package/src/Image/Image.tsx +13 -1
  122. package/src/Inline/Inline.stories.tsx +39 -0
  123. package/src/Inline/Inline.test.tsx +99 -0
  124. package/src/Inline/Inline.tsx +38 -0
  125. package/src/Inline/index.ts +1 -0
  126. package/src/Input/Input.stories.tsx +54 -0
  127. package/src/Input/Input.test.tsx +7 -3
  128. package/src/Input/Input.tsx +13 -1
  129. package/src/Label/Label.stories.tsx +41 -0
  130. package/src/Label/Label.test.tsx +40 -5
  131. package/src/Label/Label.tsx +54 -8
  132. package/src/Link/Link.stories.tsx +35 -0
  133. package/src/Link/Link.test.tsx +6 -2
  134. package/src/Link/Link.tsx +12 -1
  135. package/src/Menu/Menu.stories.tsx +62 -0
  136. package/src/Menu/Menu.test.tsx +11 -6
  137. package/src/Menu/Menu.tsx +22 -14
  138. package/src/MenuItem/MenuItem.stories.tsx +30 -0
  139. package/src/MenuItem/MenuItem.test.tsx +22 -13
  140. package/src/MenuItem/MenuItem.tsx +19 -10
  141. package/src/Message/Message.stories.tsx +30 -0
  142. package/src/Message/Message.test.tsx +4 -1
  143. package/src/Message/Message.tsx +18 -14
  144. package/src/Provider/MarigoldProvider.test.tsx +136 -0
  145. package/src/Provider/MarigoldProvider.tsx +47 -0
  146. package/src/Provider/index.ts +4 -0
  147. package/src/Radio/Radio.stories.tsx +78 -0
  148. package/src/Radio/Radio.test.tsx +129 -18
  149. package/src/Radio/Radio.tsx +62 -71
  150. package/src/Radio/RadioIcon.tsx +49 -0
  151. package/src/Select/ListBox.tsx +40 -0
  152. package/src/Select/ListBoxSection.tsx +40 -0
  153. package/src/Select/Option.tsx +48 -0
  154. package/src/Select/Popover.tsx +50 -0
  155. package/src/Select/Select.stories.tsx +81 -0
  156. package/src/Select/Select.test.tsx +317 -35
  157. package/src/Select/Select.tsx +162 -18
  158. package/src/Slider/Slider.stories.tsx +24 -0
  159. package/src/Slider/Slider.test.tsx +10 -6
  160. package/src/Slider/Slider.tsx +25 -13
  161. package/src/Stack/Stack.stories.tsx +57 -0
  162. package/src/Stack/Stack.test.tsx +93 -65
  163. package/src/Stack/Stack.tsx +25 -41
  164. package/src/Text/Text.stories.tsx +61 -0
  165. package/src/Text/Text.test.tsx +2 -2
  166. package/src/Text/Text.tsx +25 -14
  167. package/src/Textarea/Textarea.stories.tsx +64 -0
  168. package/src/Textarea/Textarea.test.tsx +11 -8
  169. package/src/Textarea/Textarea.tsx +41 -38
  170. package/src/ValidationMessage/ValidationMessage.stories.tsx +27 -0
  171. package/src/ValidationMessage/ValidationMessage.test.tsx +9 -4
  172. package/src/ValidationMessage/ValidationMessage.tsx +23 -12
  173. package/src/VisuallyHidden/VisuallyHidden.stories.tsx +19 -0
  174. package/src/VisuallyHidden/VisuallyHidden.test.tsx +10 -0
  175. package/src/VisuallyHidden/VisuallyHidden.tsx +1 -0
  176. package/src/VisuallyHidden/index.ts +1 -0
  177. package/src/index.ts +7 -2
  178. package/src/theme.ts +49 -48
  179. package/dist/Box/Box.d.ts +0 -46
  180. package/dist/Box/index.d.ts +0 -1
  181. package/dist/Heading/Heading.d.ts +0 -7
  182. package/dist/Heading/index.d.ts +0 -1
  183. package/dist/Hidden/Hidden.d.ts +0 -5
  184. package/dist/Hidden/index.d.ts +0 -1
  185. package/src/Alert/Alert.stories.mdx +0 -45
  186. package/src/Badge/Badge.stories.mdx +0 -43
  187. package/src/Box/Box.stories.mdx +0 -38
  188. package/src/Box/Box.test.tsx +0 -133
  189. package/src/Box/Box.tsx +0 -157
  190. package/src/Box/index.ts +0 -1
  191. package/src/Button/Button.stories.mdx +0 -176
  192. package/src/Checkbox/Checkbox.stories.mdx +0 -81
  193. package/src/Column/Column.stories.mdx +0 -74
  194. package/src/Columns/Columns.stories.mdx +0 -247
  195. package/src/Container/Container.stories.mdx +0 -36
  196. package/src/Dialog/Dialog.stories.mdx +0 -64
  197. package/src/Divider/Divider.stories.mdx +0 -43
  198. package/src/Field/Field.stories.mdx +0 -57
  199. package/src/Heading/Heading.stories.mdx +0 -91
  200. package/src/Heading/Heading.test.tsx +0 -77
  201. package/src/Heading/Heading.tsx +0 -19
  202. package/src/Heading/index.ts +0 -1
  203. package/src/Hidden/Hidden.stories.mdx +0 -64
  204. package/src/Hidden/Hidden.test.tsx +0 -24
  205. package/src/Hidden/Hidden.tsx +0 -16
  206. package/src/Hidden/index.ts +0 -1
  207. package/src/Image/Image.stories.mdx +0 -40
  208. package/src/Input/Input.stories.mdx +0 -45
  209. package/src/Label/Label.stories.mdx +0 -34
  210. package/src/Link/Link.stories.mdx +0 -38
  211. package/src/Menu/Menu.stories.mdx +0 -49
  212. package/src/MenuItem/MenuItem.stories.mdx +0 -32
  213. package/src/Message/Message.stories.mdx +0 -44
  214. package/src/Radio/Radio.stories.mdx +0 -100
  215. package/src/Select/Select.stories.mdx +0 -44
  216. package/src/Slider/Slider.stories.mdx +0 -58
  217. package/src/Stack/Stack.stories.mdx +0 -105
  218. package/src/Text/Text.stories.mdx +0 -60
  219. package/src/Textarea/Textarea.stories.mdx +0 -65
  220. package/src/ValidationMessage/ValidationMessage.stories.mdx +0 -36
package/CHANGELOG.md ADDED
@@ -0,0 +1,180 @@
1
+ # @marigold/components
2
+
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1701](https://github.com/marigold-ui/marigold/pull/1701) [`45b05af2`](https://github.com/marigold-ui/marigold/commit/45b05af2d93eb21d50ed21363d7177d9161865be) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): rewrite Divider and add react-aria
8
+
9
+ ## 0.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1634](https://github.com/marigold-ui/marigold/pull/1634) [`26ff3618`](https://github.com/marigold-ui/marigold/commit/26ff361822fe31d466bfeae988b0193ac5999f3b) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): Radio component rewrite
14
+
15
+ * [#1676](https://github.com/marigold-ui/marigold/pull/1676) [`379041bc`](https://github.com/marigold-ui/marigold/commit/379041bc7d4502bca98029a95afe43ce693222cd) Thanks [@ti10le](https://github.com/ti10le)! - remove the last mdx stories
16
+
17
+ * Updated dependencies [[`379041bc`](https://github.com/marigold-ui/marigold/commit/379041bc7d4502bca98029a95afe43ce693222cd)]:
18
+ - @marigold/icons@0.3.1
19
+ - @marigold/system@0.3.1
20
+
21
+ ## 0.3.0
22
+
23
+ ### Patch Changes
24
+
25
+ - [#1269](https://github.com/marigold-ui/marigold/pull/1269) [`ebb704dd`](https://github.com/marigold-ui/marigold/commit/ebb704dd5fe1697482220face07bd4390ab34293) Thanks [@ti10le](https://github.com/ti10le)! - feature: section to select component
26
+
27
+ * [#1189](https://github.com/marigold-ui/marigold/pull/1189) [`be8dc989`](https://github.com/marigold-ui/marigold/commit/be8dc989a418884fe12b0c772db71d10657a661d) Thanks [@sebald](https://github.com/sebald)! - feat(components): <Stack> correctly uses whitespace and supports usage as list
28
+
29
+ - [#1378](https://github.com/marigold-ui/marigold/pull/1378) [`b0c967de`](https://github.com/marigold-ui/marigold/commit/b0c967de1097de50ff4de4c3b14a5bd6e236319b) Thanks [@ti10le](https://github.com/ti10le)! - feature: Textarea - make error boolean and add errorMessage
30
+
31
+ * [#1510](https://github.com/marigold-ui/marigold/pull/1510) [`a9b8b083`](https://github.com/marigold-ui/marigold/commit/a9b8b08316c0e9bf1308e64c78eb1ecc81f8febf) Thanks [@ti10le](https://github.com/ti10le)! - refa(comp): Stack
32
+
33
+ - [#1515](https://github.com/marigold-ui/marigold/pull/1515) [`8eda245f`](https://github.com/marigold-ui/marigold/commit/8eda245f01a918fcdaa9f0ac211889ed869aa375) Thanks [@sebald](https://github.com/sebald)! - feat: add normalization for body and html & fix emotion leak
34
+
35
+ * [#1651](https://github.com/marigold-ui/marigold/pull/1651) [`4452b39c`](https://github.com/marigold-ui/marigold/commit/4452b39c822fa82671530e4c475c0cf1df967c60) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): Checkbox component rewrite
36
+
37
+ - [#1316](https://github.com/marigold-ui/marigold/pull/1316) [`edfec8d9`](https://github.com/marigold-ui/marigold/commit/edfec8d9a7a4e4a0e45cc912838789804c0cace1) Thanks [@ti10le](https://github.com/ti10le)! - aria-label for all usages of select component
38
+ use SSR Provider which is exported from package components/Provider in Gatsby wrapper
39
+
40
+ * [#1440](https://github.com/marigold-ui/marigold/pull/1440) [`c1da52c0`](https://github.com/marigold-ui/marigold/commit/c1da52c0f035b141608fd606e6ba3bc2b5482dc1) Thanks [@ti10le](https://github.com/ti10le)! - feature: use Element in Box + necessary fix changes
41
+
42
+ - [#1658](https://github.com/marigold-ui/marigold/pull/1658) [`af485505`](https://github.com/marigold-ui/marigold/commit/af4855058358e75a6ae9f8594f1b4d3d4d383f3c) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): refa + react-aria Hidden component
43
+
44
+ * [#1228](https://github.com/marigold-ui/marigold/pull/1228) [`ccebc98e`](https://github.com/marigold-ui/marigold/commit/ccebc98e4c27a597557e06ad32521249afd7c401) Thanks [@ti10le](https://github.com/ti10le)! - docs: Use Select component in ThemeSelect
45
+
46
+ - [#1514](https://github.com/marigold-ui/marigold/pull/1514) [`5107b943`](https://github.com/marigold-ui/marigold/commit/5107b943cb3085eb3137d84e79966acad6173a26) Thanks [@sebald](https://github.com/sebald)! - feat(system): Use emotion's context
47
+
48
+ * [#1631](https://github.com/marigold-ui/marigold/pull/1631) [`9d0e0b96`](https://github.com/marigold-ui/marigold/commit/9d0e0b961afc21ef7a649e8d4dbf584ece6f0e57) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): improve Label and add color prop
49
+
50
+ - [#1488](https://github.com/marigold-ui/marigold/pull/1488) [`5ea6ac42`](https://github.com/marigold-ui/marigold/commit/5ea6ac428b67e6802a640ac65ccaf79b07327d45) Thanks [@ti10le](https://github.com/ti10le)! - fix(comp): Select coverage
51
+
52
+ * [#1235](https://github.com/marigold-ui/marigold/pull/1235) [`657d508b`](https://github.com/marigold-ui/marigold/commit/657d508b00f13df6269228af396fd5ccebe2d0a4) Thanks [@ti10le](https://github.com/ti10le)! - feature: ActionGroup component
53
+
54
+ - [#1618](https://github.com/marigold-ui/marigold/pull/1618) [`bd51a81b`](https://github.com/marigold-ui/marigold/commit/bd51a81b4d961f3366c28f34732e13840e78b346) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): change Input default variant
55
+
56
+ * [#1660](https://github.com/marigold-ui/marigold/pull/1660) [`6f9a9d61`](https://github.com/marigold-ui/marigold/commit/6f9a9d61473b715cd492ef765815251c14575768) Thanks [@ti10le](https://github.com/ti10le)! - feat(storybook): rewrite stories from mdx to tsx
57
+
58
+ - [#1313](https://github.com/marigold-ui/marigold/pull/1313) [`2203155c`](https://github.com/marigold-ui/marigold/commit/2203155c406c91289e36f2a82c24bc6474b687bf) Thanks [@ti10le](https://github.com/ti10le)! - Slider component - design update
59
+
60
+ * [#1447](https://github.com/marigold-ui/marigold/pull/1447) [`29e4dcc5`](https://github.com/marigold-ui/marigold/commit/29e4dcc589f9bc97db56e554804b4cd78c0d2ec8) Thanks [@ti10le](https://github.com/ti10le)! - feature: Card component
61
+
62
+ - [#1556](https://github.com/marigold-ui/marigold/pull/1556) [`470f6e8d`](https://github.com/marigold-ui/marigold/commit/470f6e8d9a4c71f504a05f67b3b83d0554d7b480) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove span from button and add some styles to the button element, add space prop to button
63
+
64
+ * [#1521](https://github.com/marigold-ui/marigold/pull/1521) [`00588fef`](https://github.com/marigold-ui/marigold/commit/00588fef28270bdd0483701ffa8ec1f6bdbc3f01) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp/docs): change Inline component default align + use it in DoAndDont
65
+
66
+ - [#1616](https://github.com/marigold-ui/marigold/pull/1616) [`ac186e8c`](https://github.com/marigold-ui/marigold/commit/ac186e8c6658bcd6a2892bbe4717c0d60c67e0b4) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove hardcoded variants in <Dialog>
67
+
68
+ * [#1639](https://github.com/marigold-ui/marigold/pull/1639) [`71551547`](https://github.com/marigold-ui/marigold/commit/71551547e8da4a65ccb69cd785f1be19256aac3c) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove hard coded label from Select
69
+
70
+ - [#1451](https://github.com/marigold-ui/marigold/pull/1451) [`6f24c585`](https://github.com/marigold-ui/marigold/commit/6f24c585d0f78fac0bf4037e13c53dfdb6138037) Thanks [@ti10le](https://github.com/ti10le)! - bugfix: change Stack that pt has higher priority than base
71
+
72
+ * [#1374](https://github.com/marigold-ui/marigold/pull/1374) [`90dd906c`](https://github.com/marigold-ui/marigold/commit/90dd906c0ba660ba695efbd39ff52ecc69f9a98f) Thanks [@ti10le](https://github.com/ti10le)! - feature: Field - make error boolean and add errorMessage
73
+
74
+ - [#1230](https://github.com/marigold-ui/marigold/pull/1230) [`ebd6e26f`](https://github.com/marigold-ui/marigold/commit/ebd6e26f71f675b98b663bc45c6a2d5badddcd47) Thanks [@viktoria-schwarz](https://github.com/viktoria-schwarz)! - feat: add GlobalStyles via theme
75
+
76
+ * [#1196](https://github.com/marigold-ui/marigold/pull/1196) [`d3a0698f`](https://github.com/marigold-ui/marigold/commit/d3a0698fc6503c208298537c1385a981af93d1d4) Thanks [@ti10le](https://github.com/ti10le)! - Add error and required prop to <Select>
77
+
78
+ - [#1513](https://github.com/marigold-ui/marigold/pull/1513) [`686c4572`](https://github.com/marigold-ui/marigold/commit/686c4572bc75a3e2016a1ecc49cba9f4307719af) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): inline Component
79
+
80
+ * [#1493](https://github.com/marigold-ui/marigold/pull/1493) [`45d022dc`](https://github.com/marigold-ui/marigold/commit/45d022dc2459f6e0053e8ba760dc7a6502cd52f1) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove useStyles from Slider
81
+
82
+ - [#1498](https://github.com/marigold-ui/marigold/pull/1498) [`9e46b437`](https://github.com/marigold-ui/marigold/commit/9e46b4376497b45445aefed138a14e9a82cff705) Thanks [@ti10le](https://github.com/ti10le)! - feat: add GlobalStyles
83
+
84
+ * [#1563](https://github.com/marigold-ui/marigold/pull/1563) [`6e485f5a`](https://github.com/marigold-ui/marigold/commit/6e485f5a8800094fe54c075a2b21f8abe726b3cd) Thanks [@sebald](https://github.com/sebald)! - feat: Introduce a `Theme` with all available scales
85
+
86
+ - [#1482](https://github.com/marigold-ui/marigold/pull/1482) [`bf19214e`](https://github.com/marigold-ui/marigold/commit/bf19214e3c1c75d7ba9fbd31bb7e02fb491f2af7) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove useStyles from Card
87
+
88
+ * [#1448](https://github.com/marigold-ui/marigold/pull/1448) [`ab879e66`](https://github.com/marigold-ui/marigold/commit/ab879e6645ccaf8f9671a8b0231ed4cdf3081753) Thanks [@ti10le](https://github.com/ti10le)! - feature: replace useStyles in Badge, Menu, Message and ValidationMessage
89
+
90
+ - [#1232](https://github.com/marigold-ui/marigold/pull/1232) [`4c32db13`](https://github.com/marigold-ui/marigold/commit/4c32db13dfc9d76e05e2c015fa99872a49bf920b) Thanks [@ti10le](https://github.com/ti10le)! - Field component redesign
91
+
92
+ * [#1579](https://github.com/marigold-ui/marigold/pull/1579) [`e13e3cc1`](https://github.com/marigold-ui/marigold/commit/e13e3cc1fc66b261209973b1fc90eb48117076e9) Thanks [@ti10le](https://github.com/ti10le)! - feat: remove Heading from marigold
93
+
94
+ - [#1234](https://github.com/marigold-ui/marigold/pull/1234) [`cf2a345d`](https://github.com/marigold-ui/marigold/commit/cf2a345d49aedfcea82f8030ba840bbcbf523ee8) Thanks [@ti10le](https://github.com/ti10le)! - fix Dialog component example + styles
95
+
96
+ * [#1622](https://github.com/marigold-ui/marigold/pull/1622) [`1829cf17`](https://github.com/marigold-ui/marigold/commit/1829cf17e16c574e5577b3e1709c34dc7ed4faaf) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): change Card default variant
97
+
98
+ - [#1619](https://github.com/marigold-ui/marigold/pull/1619) [`57d955ee`](https://github.com/marigold-ui/marigold/commit/57d955ee7c04350a4cdabc582f7d1a1937cb4802) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): change Textarea default variant
99
+
100
+ * [#1501](https://github.com/marigold-ui/marigold/pull/1501) [`1c1f8648`](https://github.com/marigold-ui/marigold/commit/1c1f864820a060214406ef711f4ed873746c16c4) Thanks [@ti10le](https://github.com/ti10le)! - feat(storybook): remove use styles stories
101
+
102
+ - [#1366](https://github.com/marigold-ui/marigold/pull/1366) [`78a8e5c8`](https://github.com/marigold-ui/marigold/commit/78a8e5c879760ba666be4566935dd773996159cf) Thanks [@ti10le](https://github.com/ti10le)! - feature: renew radio component
103
+
104
+ * [#1483](https://github.com/marigold-ui/marigold/pull/1483) [`f725277b`](https://github.com/marigold-ui/marigold/commit/f725277bf66a6e2d51b69608d1b2ebb55330a46e) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove useStyles from Checkbox + Radio
105
+
106
+ - [#1365](https://github.com/marigold-ui/marigold/pull/1365) [`6d1e47c1`](https://github.com/marigold-ui/marigold/commit/6d1e47c190c527f3a1ae014f87523c7fcc70c8c8) Thanks [@ti10le](https://github.com/ti10le)! - feature: redesign dialog component
107
+
108
+ * [#1492](https://github.com/marigold-ui/marigold/pull/1492) [`57a6d470`](https://github.com/marigold-ui/marigold/commit/57a6d47058eb1a5fc46b3ccaa831513b8806e257) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove useStyles from Columns
109
+
110
+ - [#1264](https://github.com/marigold-ui/marigold/pull/1264) [`c6c8f986`](https://github.com/marigold-ui/marigold/commit/c6c8f9860633570177a978719d5fbe4159415cf0) Thanks [@ti10le](https://github.com/ti10le)! - bugfix/feature: link + menu component
111
+
112
+ * [#1651](https://github.com/marigold-ui/marigold/pull/1651) [`4452b39c`](https://github.com/marigold-ui/marigold/commit/4452b39c822fa82671530e4c475c0cf1df967c60) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): refa + react-aria Hidden component
113
+
114
+ - [#1506](https://github.com/marigold-ui/marigold/pull/1506) [`7b2a0374`](https://github.com/marigold-ui/marigold/commit/7b2a0374b2ca4546a7e616d99313028da3ef412e) Thanks [@ti10le](https://github.com/ti10le)! - infra(packages): add icons package as dependency to component package
115
+
116
+ * [#1367](https://github.com/marigold-ui/marigold/pull/1367) [`902be38c`](https://github.com/marigold-ui/marigold/commit/902be38ca9efb3018a0f6c0cf981229c7ae2bf7f) Thanks [@ti10le](https://github.com/ti10le)! - feature: renew checkbox component
117
+
118
+ - [#1499](https://github.com/marigold-ui/marigold/pull/1499) [`ec5baf85`](https://github.com/marigold-ui/marigold/commit/ec5baf85a9a0f82a4fca5bbd1e1680316c186593) Thanks [@sebald](https://github.com/sebald)! - feat: Update and simplify normalization
119
+
120
+ * [#1375](https://github.com/marigold-ui/marigold/pull/1375) [`dd237e6d`](https://github.com/marigold-ui/marigold/commit/dd237e6d904826e8b3701f4a8470f75c88b0bd78) Thanks [@ti10le](https://github.com/ti10le)! - feature: Select - make error boolean and add errorMessage
121
+
122
+ - [#1221](https://github.com/marigold-ui/marigold/pull/1221) [`3885f64c`](https://github.com/marigold-ui/marigold/commit/3885f64c353a056ccb9a5368ac4f105b4b9efb62) Thanks [@viktoria-schwarz](https://github.com/viktoria-schwarz)! - feat(storybook): add Welcome stories and additional config
123
+
124
+ * [#1485](https://github.com/marigold-ui/marigold/pull/1485) [`1bb6f32e`](https://github.com/marigold-ui/marigold/commit/1bb6f32e69b5eac37d67357e46c868a87855bd6f) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove useStyles from Label
125
+
126
+ - [#1466](https://github.com/marigold-ui/marigold/pull/1466) [`80984f41`](https://github.com/marigold-ui/marigold/commit/80984f41391f42cc17928a8127190ea6fd9abe53) Thanks [@ti10le](https://github.com/ti10le)! - feat(docs): doAndDont + CodePreview component - e.g. button
127
+
128
+ * [#1131](https://github.com/marigold-ui/marigold/pull/1131) [`0ccc10de`](https://github.com/marigold-ui/marigold/commit/0ccc10dec290ed3e5ce042277a6c6e51c40ae4c3) Thanks [@sebald](https://github.com/sebald)! - feat(types): Clarify and improve polymorphic types by calling it by its actual name ... polymorphic! We also added types when no `ref` should be passed.
129
+
130
+ - [#1633](https://github.com/marigold-ui/marigold/pull/1633) [`ab786e92`](https://github.com/marigold-ui/marigold/commit/ab786e927ab1069a83aeed7bb3b223d0c0d1bd50) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove hard coded label variant in radio
131
+
132
+ * [#1617](https://github.com/marigold-ui/marigold/pull/1617) [`e5aed4bf`](https://github.com/marigold-ui/marigold/commit/e5aed4bffc4cb81ab531bb1ed8b5da871c9b8b00) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): change Slider default variant
133
+
134
+ - [#1621](https://github.com/marigold-ui/marigold/pull/1621) [`2f7b936f`](https://github.com/marigold-ui/marigold/commit/2f7b936f5b07eade00a51cb138c3c492f1e08c9d) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): change Badge default variant
135
+
136
+ * [#1589](https://github.com/marigold-ui/marigold/pull/1589) [`8cbcb91a`](https://github.com/marigold-ui/marigold/commit/8cbcb91a7b63ce8f10ee79ed76121e5022cbe07b) Thanks [@sebald](https://github.com/sebald)! - feat: normalize <SVG> and move to system package
137
+
138
+ BREAKING: <SVG> moved from `@marigold/icons` to `@marigold/system`
139
+
140
+ - [#1641](https://github.com/marigold-ui/marigold/pull/1641) [`c49e5049`](https://github.com/marigold-ui/marigold/commit/c49e5049b1cb9621957ad14fa1e8b7bc8df9505d) Thanks [@sebald](https://github.com/sebald)! - chore(config): Update storyboook configuration and used CSF again
141
+
142
+ * [#1636](https://github.com/marigold-ui/marigold/pull/1636) [`4aeac33f`](https://github.com/marigold-ui/marigold/commit/4aeac33f619e6f9caee36a71223b312cfe1b9401) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): Field fix default variant + remove hardcoded variants
143
+
144
+ - [#1550](https://github.com/marigold-ui/marigold/pull/1550) [`846eb640`](https://github.com/marigold-ui/marigold/commit/846eb640ad035c7f3410b4a8a451f8de56e62339) Thanks [@sebald](https://github.com/sebald)! - feat: Merge <Box> and <Element>
145
+
146
+ * [#1509](https://github.com/marigold-ui/marigold/pull/1509) [`12b74338`](https://github.com/marigold-ui/marigold/commit/12b7433843c477ab722e464fde3aa1e1f058ee46) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): improve Column + Columns component
147
+
148
+ - [#1449](https://github.com/marigold-ui/marigold/pull/1449) [`a89bd85c`](https://github.com/marigold-ui/marigold/commit/a89bd85c349ef9d8098ccaeb0261bf09cefd22e1) Thanks [@ti10le](https://github.com/ti10le)! - Replace useStyles in ListBox, Textarea and Field.test
149
+
150
+ * [#1182](https://github.com/marigold-ui/marigold/pull/1182) [`f3f61456`](https://github.com/marigold-ui/marigold/commit/f3f61456afa65ddeec8c9f1346c439bd91f3aa12) Thanks [@ti10le](https://github.com/ti10le)! - improve Button component with react-aria
151
+
152
+ - [#1132](https://github.com/marigold-ui/marigold/pull/1132) [`b6614f1f`](https://github.com/marigold-ui/marigold/commit/b6614f1f54165bc295709fa2e7f1c50892163fc3) Thanks [@sebald](https://github.com/sebald)! - feat(compoents): Make `<Text>` and `<Link>` polymorphic
153
+
154
+ **`<Text>`**
155
+
156
+ - the `as` prop supports arbitrary inputs
157
+ - supporst ref
158
+ - supports style props (text-align, color, cursor, user-select)
159
+
160
+ **`<Link>`**
161
+
162
+ - the `as` prop supports arbitrary inputs
163
+ - does not support `ref`!
164
+ - improved accessibility (react-aria)
165
+
166
+ * [#1572](https://github.com/marigold-ui/marigold/pull/1572) [`4add22cc`](https://github.com/marigold-ui/marigold/commit/4add22ccf06313b79802919205643a859665c7f3) Thanks [@sebald](https://github.com/sebald)! - feat(components): Harden types in theme
167
+
168
+ - [#1474](https://github.com/marigold-ui/marigold/pull/1474) [`abdde032`](https://github.com/marigold-ui/marigold/commit/abdde0326428a1fa5db340197e71ca0190e7780e) Thanks [@sebald](https://github.com/sebald)! - refa: remove useStyles from <Alert>
169
+
170
+ * [#1484](https://github.com/marigold-ui/marigold/pull/1484) [`24367e63`](https://github.com/marigold-ui/marigold/commit/24367e63477a2345b856302115bb59d931da1ba4) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove useStyles from Select
171
+
172
+ - [#1632](https://github.com/marigold-ui/marigold/pull/1632) [`c96d54a2`](https://github.com/marigold-ui/marigold/commit/c96d54a21901a72aeb6af71837c9642ace394c78) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): remove hard coded label variant in checkbox
173
+
174
+ * [#1229](https://github.com/marigold-ui/marigold/pull/1229) [`bd00c6da`](https://github.com/marigold-ui/marigold/commit/bd00c6da6515a320c37ee48946f2ac9a505e6d36) Thanks [@ti10le](https://github.com/ti10le)! - Label component redesign
175
+
176
+ - [#1522](https://github.com/marigold-ui/marigold/pull/1522) [`6a82a490`](https://github.com/marigold-ui/marigold/commit/6a82a490865c709a354141f68d65b9af38184f24) Thanks [@ti10le](https://github.com/ti10le)! - feat(comp): use Inline in ActionGroup
177
+
178
+ - Updated dependencies [[`c030aa85`](https://github.com/marigold-ui/marigold/commit/c030aa85156356c294bafe9831024f6b6f2ce4db), [`8eda245f`](https://github.com/marigold-ui/marigold/commit/8eda245f01a918fcdaa9f0ac211889ed869aa375), [`5a04de11`](https://github.com/marigold-ui/marigold/commit/5a04de110637d004f5824679697ee4d6a90eaf34), [`c1da52c0`](https://github.com/marigold-ui/marigold/commit/c1da52c0f035b141608fd606e6ba3bc2b5482dc1), [`1448ddca`](https://github.com/marigold-ui/marigold/commit/1448ddcaa0f647f48b018fa74a8686af30eccc53), [`5107b943`](https://github.com/marigold-ui/marigold/commit/5107b943cb3085eb3137d84e79966acad6173a26), [`cd3a0d3e`](https://github.com/marigold-ui/marigold/commit/cd3a0d3edb3f2ddc1f561e8007e1c20000f7855a), [`ebd6e26f`](https://github.com/marigold-ui/marigold/commit/ebd6e26f71f675b98b663bc45c6a2d5badddcd47), [`6e485f5a`](https://github.com/marigold-ui/marigold/commit/6e485f5a8800094fe54c075a2b21f8abe726b3cd), [`80a2abe5`](https://github.com/marigold-ui/marigold/commit/80a2abe5804ba2c5a48cc6b05211245c37baf266), [`e13e3cc1`](https://github.com/marigold-ui/marigold/commit/e13e3cc1fc66b261209973b1fc90eb48117076e9), [`1829cf17`](https://github.com/marigold-ui/marigold/commit/1829cf17e16c574e5577b3e1709c34dc7ed4faaf), [`1c1f8648`](https://github.com/marigold-ui/marigold/commit/1c1f864820a060214406ef711f4ed873746c16c4), [`51af6693`](https://github.com/marigold-ui/marigold/commit/51af669330fd52e4e31fe5ad71d2b202ab8d2231), [`a00b7eb9`](https://github.com/marigold-ui/marigold/commit/a00b7eb971131634414d3912d059fb505bb7a370), [`7b2a0374`](https://github.com/marigold-ui/marigold/commit/7b2a0374b2ca4546a7e616d99313028da3ef412e), [`ec5baf85`](https://github.com/marigold-ui/marigold/commit/ec5baf85a9a0f82a4fca5bbd1e1680316c186593), [`0bb8f19e`](https://github.com/marigold-ui/marigold/commit/0bb8f19ebdec0e2f9dc3f6164f4373cac5c10880), [`c4ae5c5c`](https://github.com/marigold-ui/marigold/commit/c4ae5c5ca442f93034ff8f4c70adc295547951d4), [`a1ef2108`](https://github.com/marigold-ui/marigold/commit/a1ef2108dd6c8e6838b517dd58c82d38e71dae2b), [`2f7b936f`](https://github.com/marigold-ui/marigold/commit/2f7b936f5b07eade00a51cb138c3c492f1e08c9d), [`8cbcb91a`](https://github.com/marigold-ui/marigold/commit/8cbcb91a7b63ce8f10ee79ed76121e5022cbe07b), [`846eb640`](https://github.com/marigold-ui/marigold/commit/846eb640ad035c7f3410b4a8a451f8de56e62339), [`5d63cd9c`](https://github.com/marigold-ui/marigold/commit/5d63cd9c14578787083c82c85d93bbd2ff0efac6), [`46aede50`](https://github.com/marigold-ui/marigold/commit/46aede50c43e2dce0cacdc8f4c7da55fa18962b9)]:
179
+ - @marigold/system@0.3.0
180
+ - @marigold/icons@0.3.0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ResponsiveStyleValue } from '@marigold/system';
3
+ import { ComponentProps } from '@marigold/types';
4
+ export declare type ActionGroupProps = {
5
+ space?: ResponsiveStyleValue<string>;
6
+ verticalAlignment?: boolean;
7
+ } & ComponentProps<'div'>;
8
+ export declare const ActionGroup: React.FC<ActionGroupProps>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { ActionGroup } from './ActionGroup';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof ActionGroup>;
@@ -0,0 +1 @@
1
+ export * from './ActionGroup';
@@ -1,6 +1,27 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
+ declare const ICON_MAP: {
4
+ readonly success: ({ className, ...props }: {
5
+ [x: string]: any;
6
+ className?: string | undefined;
7
+ }) => JSX.Element;
8
+ readonly warning: ({ className, ...props }: {
9
+ [x: string]: any;
10
+ className?: string | undefined;
11
+ }) => JSX.Element;
12
+ readonly error: ({ className, ...props }: {
13
+ [x: string]: any;
14
+ className?: string | undefined;
15
+ }) => JSX.Element;
16
+ };
17
+ export declare type AlertVariants = keyof typeof ICON_MAP;
18
+ export interface AlertThemeExtension<Value> {
19
+ alert?: {
20
+ [key in AlertVariants]?: Value;
21
+ };
22
+ }
3
23
  export declare type AlertProps = {
4
- variant?: string;
24
+ variant?: AlertVariants;
5
25
  } & ComponentProps<'div'>;
6
26
  export declare const Alert: React.FC<AlertProps>;
27
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Alert } from './Alert';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Alert>;
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
+ export interface BadgeThemeExtension<Value> {
4
+ badge?: {
5
+ [key: string]: Value;
6
+ };
7
+ }
3
8
  export declare type BadgeProps = {
4
9
  variant?: string;
5
10
  bgColor?: string;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Badge } from './Badge';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Badge>;
package/dist/Box.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { Box } from '@marigold/system';
2
+ export type { BoxProps, BoxOwnProps, StyleProps } from '@marigold/system';
@@ -1,6 +1,9 @@
1
- import React from 'react';
2
- import { ComponentPropsWithRef } from '@marigold/types';
3
- export declare type ButtonProps = {
4
- variant?: string;
5
- } & ComponentPropsWithRef<'button'>;
6
- export declare const Button: React.FC<ButtonProps>;
1
+ import { PolymorphicComponentWithRef, PolymorphicPropsWithRef } from '@marigold/types';
2
+ import { BoxOwnProps } from '../Box';
3
+ export interface ButtonThemeExtension<Value> {
4
+ button?: {
5
+ [key: string]: Value;
6
+ };
7
+ }
8
+ export declare type ButtonProps = PolymorphicPropsWithRef<BoxOwnProps, 'button'>;
9
+ export declare const Button: PolymorphicComponentWithRef<BoxOwnProps, 'button'>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Button } from './Button';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Button>;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ResponsiveStyleValue } from '@marigold/system';
3
+ import { ComponentProps } from '@marigold/types';
4
+ export interface CardThemeExtension<Value> {
5
+ card?: {
6
+ [key: string]: Value;
7
+ };
8
+ }
9
+ export declare type CardProps = {
10
+ title?: string;
11
+ width?: ResponsiveStyleValue<string>;
12
+ variant?: string;
13
+ } & ComponentProps<'div'>;
14
+ export declare const Card: React.FC<CardProps>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Card } from './Card';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Card>;
@@ -0,0 +1 @@
1
+ export * from './Card';
@@ -1,12 +1,20 @@
1
1
  import React from 'react';
2
+ import { ToggleProps } from '@react-types/checkbox';
2
3
  import { ComponentProps } from '@marigold/types';
3
- declare type CheckboxInputProps = {
4
- variant?: string;
5
- } & ComponentProps<'input'>;
4
+ import { CheckboxIconProps } from './CheckboxIcons';
5
+ export interface CheckboxThemeExtension<Value> {
6
+ checkbox?: {
7
+ [key: string]: Value;
8
+ };
9
+ }
10
+ declare type CheckboxInputProps = CheckboxIconProps & ToggleProps & ComponentProps<'input'>;
6
11
  export declare type CheckboxProps = {
7
12
  id: string;
8
- label?: string;
13
+ label: string;
9
14
  required?: boolean;
15
+ labelVariant?: string;
16
+ error?: boolean;
17
+ errorMessage?: string;
10
18
  } & CheckboxInputProps;
11
19
  export declare const Checkbox: React.FC<CheckboxProps>;
12
20
  export {};
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Checkbox } from './Checkbox';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Checkbox>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export declare type CheckboxIconProps = {
3
+ variant?: string;
4
+ checked?: boolean;
5
+ disabled?: boolean;
6
+ error?: boolean;
7
+ children?: never;
8
+ };
9
+ export declare const CheckboxIcon: React.FC<CheckboxIconProps>;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
+ declare type WidthValues = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
2
3
  export declare type ColumnProps = {
3
4
  className?: string;
4
- width?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
5
+ width?: WidthValues | WidthValues[];
5
6
  };
6
7
  export declare const Column: React.FC<ColumnProps>;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Column } from './Column';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Column>;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
+ import { ResponsiveStyleValue } from '@marigold/system';
2
3
  declare type ColumnsProps = {
3
4
  className?: string;
4
- space?: number;
5
+ space?: ResponsiveStyleValue<string>;
5
6
  horizontalAlign?: 'left' | 'right' | 'center';
6
7
  verticalAlign?: 'top' | 'bottom' | 'center';
7
- title?: string;
8
8
  };
9
9
  export declare const Columns: React.FC<ColumnsProps>;
10
10
  export {};
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Columns } from '@marigold/components';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Columns>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Container } from './Container';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Container>;
@@ -1,7 +1,17 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
3
  import { Button } from '../Button';
4
+ import { ModalDialogProps } from './ModalDialog';
4
5
  export declare type DialogProps = {
5
- onClose?: ComponentProps<typeof Button>['onClick'];
6
- } & ComponentProps<'div'>;
6
+ backdropVariant?: string;
7
+ close: ComponentProps<typeof Button>['onClick'];
8
+ isOpen: boolean;
9
+ title?: string;
10
+ variant?: string;
11
+ } & ModalDialogProps & ComponentProps<'div'>;
7
12
  export declare const Dialog: React.FC<DialogProps>;
13
+ export declare const useDialogButtonProps: () => {
14
+ state: import("@react-stately/overlays").OverlayTriggerState;
15
+ openButtonProps: React.HTMLAttributes<HTMLSpanElement>;
16
+ openButtonRef: React.RefObject<HTMLElement>;
17
+ };
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Dialog } from './Dialog';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Dialog>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { OverlayProps } from '@react-aria/overlays';
3
+ import { AriaDialogProps } from '@react-types/dialog';
4
+ export declare type ModalDialogProps = {
5
+ variant?: string;
6
+ backdropVariant?: string;
7
+ } & OverlayProps & AriaDialogProps;
8
+ export declare const ModalDialog: React.FC<ModalDialogProps>;
@@ -1,7 +1,11 @@
1
1
  import React from 'react';
2
+ import { SeparatorProps } from '@react-aria/separator';
3
+ export interface DividerThemeExtension<Value> {
4
+ divider?: {
5
+ [key: string]: Value;
6
+ };
7
+ }
2
8
  export declare type DividerProps = {
3
- className?: string;
4
9
  variant?: string;
5
- title?: string;
6
- };
10
+ } & SeparatorProps;
7
11
  export declare const Divider: React.FC<DividerProps>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Divider } from './Divider';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Divider>;
@@ -2,8 +2,12 @@ import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
3
  export declare type FieldProps = {
4
4
  variant?: string;
5
+ labelVariant?: string;
5
6
  htmlFor: string;
6
7
  label: string;
7
- error?: string;
8
+ required?: boolean;
9
+ error?: boolean;
10
+ errorMessage?: string;
11
+ disabled?: boolean;
8
12
  } & ComponentProps<'input'>;
9
13
  export declare const Field: React.FC<FieldProps>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Field } from './Field';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Field>;
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
+ export interface ImageThemeExtension<Value> {
4
+ image?: {
5
+ [key: string]: Value;
6
+ };
7
+ }
3
8
  export declare type ImageProps = {
4
9
  variant?: string;
5
10
  children?: never;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Image } from './Image';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Image>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ResponsiveStyleValue } from '@marigold/system';
3
+ export declare type InlineProps = {
4
+ space?: ResponsiveStyleValue<string>;
5
+ align?: 'top' | 'center' | 'bottom';
6
+ };
7
+ export declare const Inline: React.FC<InlineProps>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Inline } from './Inline';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Inline>;
@@ -0,0 +1 @@
1
+ export * from './Inline';
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
+ export interface InputThemeExtension<Value> {
4
+ input?: {
5
+ [key: string]: Value;
6
+ };
7
+ }
3
8
  export declare type InputProps = {
4
9
  variant?: string;
5
10
  } & ComponentProps<'input'>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Input } from './Input';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Input>;
@@ -1,7 +1,19 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '@marigold/types';
3
- export declare type LabelProps = {
4
- htmlFor: string;
3
+ import { ResponsiveStyleValue } from '@marigold/system';
4
+ export interface LabelThemeExtension<Value> {
5
+ label?: {
6
+ [key: string]: Value;
7
+ };
8
+ }
9
+ export declare type LabelBaseProps = {
10
+ htmlFor?: string;
5
11
  variant?: string;
12
+ required?: boolean;
13
+ color?: ResponsiveStyleValue<string>;
6
14
  } & ComponentProps<'label'>;
15
+ export declare const LabelBase: React.FC<LabelProps>;
16
+ export declare type LabelProps = {
17
+ required?: boolean;
18
+ } & LabelBaseProps;
7
19
  export declare const Label: React.FC<LabelProps>;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Label } from './Label';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Label>;
@@ -1,5 +1,8 @@
1
1
  import { PolymorphicComponent, PolymorphicProps } from '@marigold/types';
2
2
  import { TextOwnProps } from '../Text';
3
+ export interface LinkThemeExtension<Value> {
4
+ link?: Value;
5
+ }
3
6
  export declare type LinkOwnProps = {
4
7
  disabled?: boolean;
5
8
  } & TextOwnProps;
@@ -0,0 +1,5 @@
1
+ import type { ComponentStory } from '@storybook/react';
2
+ import { Link } from './Link';
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: ComponentStory<typeof Link>;