@artsy/palette 44.1.0 → 44.2.0

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 (210) hide show
  1. package/dist/elements/AutocompleteInput/AutocompleteInput.story.d.ts +105 -6
  2. package/dist/elements/AutocompleteInput/AutocompleteInput.story.js +78 -365
  3. package/dist/elements/AutocompleteInput/AutocompleteInput.story.js.map +1 -1
  4. package/dist/elements/Avatar/Avatar.story.d.ts +74 -5
  5. package/dist/elements/Avatar/Avatar.story.js +69 -85
  6. package/dist/elements/Avatar/Avatar.story.js.map +1 -1
  7. package/dist/elements/Banner/Banner.story.d.ts +53 -2
  8. package/dist/elements/Banner/Banner.story.js +55 -24
  9. package/dist/elements/Banner/Banner.story.js.map +1 -1
  10. package/dist/elements/BaseTabs/BaseTabs.story.d.ts +45 -20
  11. package/dist/elements/BaseTabs/BaseTabs.story.js +99 -154
  12. package/dist/elements/BaseTabs/BaseTabs.story.js.map +1 -1
  13. package/dist/elements/BorderedRadio/BorderedRadio.story.d.ts +30 -1
  14. package/dist/elements/BorderedRadio/BorderedRadio.story.js +92 -19
  15. package/dist/elements/BorderedRadio/BorderedRadio.story.js.map +1 -1
  16. package/dist/elements/Box/Box.story.d.ts +35 -1
  17. package/dist/elements/Box/Box.story.js +54 -28
  18. package/dist/elements/Box/Box.story.js.map +1 -1
  19. package/dist/elements/Breadcrumbs/Breadcrumbs.story.d.ts +27 -1
  20. package/dist/elements/Breadcrumbs/Breadcrumbs.story.js +43 -26
  21. package/dist/elements/Breadcrumbs/Breadcrumbs.story.js.map +1 -1
  22. package/dist/elements/Button/Button.story.d.ts +132 -19
  23. package/dist/elements/Button/Button.story.js +133 -228
  24. package/dist/elements/Button/Button.story.js.map +1 -1
  25. package/dist/elements/CSSGrid/CSSGrid.story.d.ts +35 -10
  26. package/dist/elements/CSSGrid/CSSGrid.story.js +57 -20
  27. package/dist/elements/CSSGrid/CSSGrid.story.js.map +1 -1
  28. package/dist/elements/Cards/Cards.story.d.ts +56 -14
  29. package/dist/elements/Cards/Cards.story.js +65 -55
  30. package/dist/elements/Cards/Cards.story.js.map +1 -1
  31. package/dist/elements/Carousel/Carousel.story.d.ts +135 -48
  32. package/dist/elements/Carousel/Carousel.story.js +399 -303
  33. package/dist/elements/Carousel/Carousel.story.js.map +1 -1
  34. package/dist/elements/CarouselBar/CarouselBar.story.d.ts +37 -2
  35. package/dist/elements/CarouselBar/CarouselBar.story.js +38 -19
  36. package/dist/elements/CarouselBar/CarouselBar.story.js.map +1 -1
  37. package/dist/elements/Checkbox/Check.story.d.ts +75 -2
  38. package/dist/elements/Checkbox/Check.story.js +77 -32
  39. package/dist/elements/Checkbox/Check.story.js.map +1 -1
  40. package/dist/elements/Checkbox/Checkbox.story.d.ts +79 -3
  41. package/dist/elements/Checkbox/Checkbox.story.js +81 -79
  42. package/dist/elements/Checkbox/Checkbox.story.js.map +1 -1
  43. package/dist/elements/Clickable/Clickable.story.d.ts +50 -5
  44. package/dist/elements/Clickable/Clickable.story.js +52 -58
  45. package/dist/elements/Clickable/Clickable.story.js.map +1 -1
  46. package/dist/elements/Drawer/Drawer.story.d.ts +36 -2
  47. package/dist/elements/Drawer/Drawer.story.js +42 -9
  48. package/dist/elements/Drawer/Drawer.story.js.map +1 -1
  49. package/dist/elements/Dropdown/Dropdown.story.d.ts +53 -18
  50. package/dist/elements/Dropdown/Dropdown.story.js +244 -237
  51. package/dist/elements/Dropdown/Dropdown.story.js.map +1 -1
  52. package/dist/elements/EntityHeader/EntityHeader.story.d.ts +245 -1
  53. package/dist/elements/EntityHeader/EntityHeader.story.js +209 -76
  54. package/dist/elements/EntityHeader/EntityHeader.story.js.map +1 -1
  55. package/dist/elements/Expandable/Expandable.story.d.ts +54 -2
  56. package/dist/elements/Expandable/Expandable.story.js +76 -65
  57. package/dist/elements/Expandable/Expandable.story.js.map +1 -1
  58. package/dist/elements/FilterSelect/FilterSelect.story.d.ts +153 -2
  59. package/dist/elements/FilterSelect/FilterSelect.story.js +159 -62
  60. package/dist/elements/FilterSelect/FilterSelect.story.js.map +1 -1
  61. package/dist/elements/FullBleed/FullBleed.story.d.ts +30 -1
  62. package/dist/elements/FullBleed/FullBleed.story.js +44 -21
  63. package/dist/elements/FullBleed/FullBleed.story.js.map +1 -1
  64. package/dist/elements/GridColumns/GridColumns.story.d.ts +47 -9
  65. package/dist/elements/GridColumns/GridColumns.story.js +188 -204
  66. package/dist/elements/GridColumns/GridColumns.story.js.map +1 -1
  67. package/dist/elements/HTML/HTML.story.d.ts +56 -9
  68. package/dist/elements/HTML/HTML.story.js +56 -28
  69. package/dist/elements/HTML/HTML.story.js.map +1 -1
  70. package/dist/elements/HorizontalOverflow/HorizontalOverflow.story.d.ts +52 -2
  71. package/dist/elements/HorizontalOverflow/HorizontalOverflow.story.js +83 -46
  72. package/dist/elements/HorizontalOverflow/HorizontalOverflow.story.js.map +1 -1
  73. package/dist/elements/Image/Image.story.d.ts +56 -17
  74. package/dist/elements/Image/Image.story.js +106 -88
  75. package/dist/elements/Image/Image.story.js.map +1 -1
  76. package/dist/elements/Input/Input.story.d.ts +111 -6
  77. package/dist/elements/Input/Input.story.js +108 -106
  78. package/dist/elements/Input/Input.story.js.map +1 -1
  79. package/dist/elements/Join/Join.d.ts +1 -2
  80. package/dist/elements/Join/Join.js.map +1 -1
  81. package/dist/elements/Join/Join.story.d.ts +55 -10
  82. package/dist/elements/Join/Join.story.js +122 -58
  83. package/dist/elements/Join/Join.story.js.map +1 -1
  84. package/dist/elements/Label/Label.story.d.ts +44 -2
  85. package/dist/elements/Label/Label.story.js +68 -24
  86. package/dist/elements/Label/Label.story.js.map +1 -1
  87. package/dist/elements/LabeledInput/LabeledInput.story.d.ts +50 -3
  88. package/dist/elements/LabeledInput/LabeledInput.story.js +62 -68
  89. package/dist/elements/LabeledInput/LabeledInput.story.js.map +1 -1
  90. package/dist/elements/Marquee/Marquee.story.d.ts +57 -1
  91. package/dist/elements/Marquee/Marquee.story.js +82 -20
  92. package/dist/elements/Marquee/Marquee.story.js.map +1 -1
  93. package/dist/elements/Message/Message.story.d.ts +56 -1
  94. package/dist/elements/Message/Message.story.js +84 -25
  95. package/dist/elements/Message/Message.story.js.map +1 -1
  96. package/dist/elements/Modal/ModalBase.story.d.ts +53 -4
  97. package/dist/elements/Modal/ModalBase.story.js +78 -33
  98. package/dist/elements/Modal/ModalBase.story.js.map +1 -1
  99. package/dist/elements/ModalDialog/ModalDialog.story.d.ts +58 -1
  100. package/dist/elements/ModalDialog/ModalDialog.story.js +93 -144
  101. package/dist/elements/ModalDialog/ModalDialog.story.js.map +1 -1
  102. package/dist/elements/ModalDialog/ModalDialogContent.story.d.ts +112 -1
  103. package/dist/elements/ModalDialog/ModalDialogContent.story.js +190 -65
  104. package/dist/elements/ModalDialog/ModalDialogContent.story.js.map +1 -1
  105. package/dist/elements/MultiSelect/MultiSelect.story.d.ts +119 -2
  106. package/dist/elements/MultiSelect/MultiSelect.story.js +102 -46
  107. package/dist/elements/MultiSelect/MultiSelect.story.js.map +1 -1
  108. package/dist/elements/Pagination/Pagination.story.d.ts +88 -4
  109. package/dist/elements/Pagination/Pagination.story.js +64 -23
  110. package/dist/elements/Pagination/Pagination.story.js.map +1 -1
  111. package/dist/elements/PasswordInput/PasswordInput.story.d.ts +54 -2
  112. package/dist/elements/PasswordInput/PasswordInput.story.js +54 -16
  113. package/dist/elements/PasswordInput/PasswordInput.story.js.map +1 -1
  114. package/dist/elements/Pill/Pill.story.d.ts +114 -9
  115. package/dist/elements/Pill/Pill.story.js +282 -169
  116. package/dist/elements/Pill/Pill.story.js.map +1 -1
  117. package/dist/elements/Popover/Popover.story.d.ts +162 -13
  118. package/dist/elements/Popover/Popover.story.js +351 -190
  119. package/dist/elements/Popover/Popover.story.js.map +1 -1
  120. package/dist/elements/ProgressBar/ProgressBar.story.d.ts +43 -7
  121. package/dist/elements/ProgressBar/ProgressBar.story.js +73 -35
  122. package/dist/elements/ProgressBar/ProgressBar.story.js.map +1 -1
  123. package/dist/elements/ProgressDots/ProgressDots.story.d.ts +69 -7
  124. package/dist/elements/ProgressDots/ProgressDots.story.js +108 -41
  125. package/dist/elements/ProgressDots/ProgressDots.story.js.map +1 -1
  126. package/dist/elements/Radio/Radio.story.d.ts +103 -2
  127. package/dist/elements/Radio/Radio.story.js +112 -57
  128. package/dist/elements/Radio/Radio.story.js.map +1 -1
  129. package/dist/elements/RadioGroup/RadioGroup.story.d.ts +104 -5
  130. package/dist/elements/RadioGroup/RadioGroup.story.js +183 -65
  131. package/dist/elements/RadioGroup/RadioGroup.story.js.map +1 -1
  132. package/dist/elements/Range/Range.story.d.ts +89 -8
  133. package/dist/elements/Range/Range.story.js +170 -94
  134. package/dist/elements/Range/Range.story.js.map +1 -1
  135. package/dist/elements/ReadMore/ReadMore.story.d.ts +85 -25
  136. package/dist/elements/ReadMore/ReadMore.story.js +123 -80
  137. package/dist/elements/ReadMore/ReadMore.story.js.map +1 -1
  138. package/dist/elements/ResponsiveBox/ResponsiveBox.story.d.ts +40 -5
  139. package/dist/elements/ResponsiveBox/ResponsiveBox.story.js +87 -51
  140. package/dist/elements/ResponsiveBox/ResponsiveBox.story.js.map +1 -1
  141. package/dist/elements/Select/Select.story.d.ts +260 -2
  142. package/dist/elements/Select/Select.story.js +216 -48
  143. package/dist/elements/Select/Select.story.js.map +1 -1
  144. package/dist/elements/SelectInput/SelectInput.story.d.ts +304 -3
  145. package/dist/elements/SelectInput/SelectInput.story.js +347 -99
  146. package/dist/elements/SelectInput/SelectInput.story.js.map +1 -1
  147. package/dist/elements/SelectInput/SelectInputList.story.d.ts +31 -1
  148. package/dist/elements/SelectInput/SelectInputList.story.js +35 -164
  149. package/dist/elements/SelectInput/SelectInputList.story.js.map +1 -1
  150. package/dist/elements/Separator/Separator.story.d.ts +64 -2
  151. package/dist/elements/Separator/Separator.story.js +65 -18
  152. package/dist/elements/Separator/Separator.story.js.map +1 -1
  153. package/dist/elements/Shelf/Shelf.story.d.ts +140 -8
  154. package/dist/elements/Shelf/Shelf.story.js +224 -56
  155. package/dist/elements/Shelf/Shelf.story.js.map +1 -1
  156. package/dist/elements/ShowMore/ShowMore.story.d.ts +46 -4
  157. package/dist/elements/ShowMore/ShowMore.story.js +102 -48
  158. package/dist/elements/ShowMore/ShowMore.story.js.map +1 -1
  159. package/dist/elements/Skeleton/Skeleton.story.d.ts +68 -4
  160. package/dist/elements/Skeleton/Skeleton.story.js +84 -58
  161. package/dist/elements/Skeleton/Skeleton.story.js.map +1 -1
  162. package/dist/elements/Skip/Skip.story.d.ts +50 -11
  163. package/dist/elements/Skip/Skip.story.js +69 -31
  164. package/dist/elements/Skip/Skip.story.js.map +1 -1
  165. package/dist/elements/Spacer/Spacer.story.d.ts +39 -4
  166. package/dist/elements/Spacer/Spacer.story.js +53 -51
  167. package/dist/elements/Spacer/Spacer.story.js.map +1 -1
  168. package/dist/elements/Spinner/Spinner.story.d.ts +47 -7
  169. package/dist/elements/Spinner/Spinner.story.js +47 -27
  170. package/dist/elements/Spinner/Spinner.story.js.map +1 -1
  171. package/dist/elements/Stack/Stack.story.d.ts +45 -1
  172. package/dist/elements/Stack/Stack.story.js +81 -33
  173. package/dist/elements/Stack/Stack.story.js.map +1 -1
  174. package/dist/elements/StackableBorderBox/StackableBorderBox.story.d.ts +24 -1
  175. package/dist/elements/StackableBorderBox/StackableBorderBox.story.js +28 -9
  176. package/dist/elements/StackableBorderBox/StackableBorderBox.story.js.map +1 -1
  177. package/dist/elements/Stepper/Stepper.story.d.ts +99 -2
  178. package/dist/elements/Stepper/Stepper.story.js +166 -64
  179. package/dist/elements/Stepper/Stepper.story.js.map +1 -1
  180. package/dist/elements/Sup/Sup.story.d.ts +47 -1
  181. package/dist/elements/Sup/Sup.story.js +57 -15
  182. package/dist/elements/Sup/Sup.story.js.map +1 -1
  183. package/dist/elements/Swiper/Swiper.story.d.ts +32 -45
  184. package/dist/elements/Swiper/Swiper.story.js +234 -235
  185. package/dist/elements/Swiper/Swiper.story.js.map +1 -1
  186. package/dist/elements/Tabs/Tabs.story.d.ts +41 -18
  187. package/dist/elements/Tabs/Tabs.story.js +255 -238
  188. package/dist/elements/Tabs/Tabs.story.js.map +1 -1
  189. package/dist/elements/Text/Text.story.d.ts +117 -5
  190. package/dist/elements/Text/Text.story.js +119 -97
  191. package/dist/elements/Text/Text.story.js.map +1 -1
  192. package/dist/elements/TextArea/TextArea.story.d.ts +45 -2
  193. package/dist/elements/TextArea/TextArea.story.js +106 -49
  194. package/dist/elements/TextArea/TextArea.story.js.map +1 -1
  195. package/dist/elements/Toasts/Toast.story.d.ts +91 -2
  196. package/dist/elements/Toasts/Toast.story.js +90 -24
  197. package/dist/elements/Toasts/Toast.story.js.map +1 -1
  198. package/dist/elements/Toasts/Toasts.story.d.ts +13 -1
  199. package/dist/elements/Toasts/Toasts.story.js +78 -64
  200. package/dist/elements/Toasts/Toasts.story.js.map +1 -1
  201. package/dist/elements/Toggle/Toggle.story.d.ts +66 -2
  202. package/dist/elements/Toggle/Toggle.story.js +97 -41
  203. package/dist/elements/Toggle/Toggle.story.js.map +1 -1
  204. package/dist/elements/Tooltip/Tooltip.story.d.ts +53 -19
  205. package/dist/elements/Tooltip/Tooltip.story.js +201 -212
  206. package/dist/elements/Tooltip/Tooltip.story.js.map +1 -1
  207. package/dist/utils/storybookBlocklist.d.ts +6 -0
  208. package/dist/utils/storybookBlocklist.js +47 -0
  209. package/dist/utils/storybookBlocklist.js.map +1 -0
  210. package/package.json +3 -2
@@ -1,6 +1,264 @@
1
- import React from "react";
2
1
  declare const _default: {
2
+ component: import("react").ForwardRefExoticComponent<import("./Select").SelectProps & import("react").RefAttributes<HTMLElement>>;
3
3
  title: string;
4
+ tags: string[];
5
+ parameters: {
6
+ docs: {
7
+ description: {
8
+ component: string;
9
+ };
10
+ };
11
+ controls: {
12
+ exclude: string[];
13
+ };
14
+ };
4
15
  };
5
16
  export default _default;
6
- export declare const Default: () => React.JSX.Element;
17
+ export declare const Default: {
18
+ args: {
19
+ options: {
20
+ text: string;
21
+ value: string;
22
+ }[];
23
+ };
24
+ parameters: {
25
+ docs: {
26
+ description: {
27
+ story: string;
28
+ };
29
+ };
30
+ };
31
+ };
32
+ export declare const Focus: {
33
+ args: {
34
+ options: {
35
+ text: string;
36
+ value: string;
37
+ }[];
38
+ focus: boolean;
39
+ };
40
+ parameters: {
41
+ docs: {
42
+ description: {
43
+ story: string;
44
+ };
45
+ };
46
+ };
47
+ };
48
+ export declare const Hover: {
49
+ args: {
50
+ options: {
51
+ text: string;
52
+ value: string;
53
+ }[];
54
+ hover: boolean;
55
+ };
56
+ parameters: {
57
+ docs: {
58
+ description: {
59
+ story: string;
60
+ };
61
+ };
62
+ };
63
+ };
64
+ export declare const WithError: {
65
+ args: {
66
+ options: {
67
+ text: string;
68
+ value: string;
69
+ }[];
70
+ error: string;
71
+ };
72
+ parameters: {
73
+ docs: {
74
+ description: {
75
+ story: string;
76
+ };
77
+ };
78
+ };
79
+ };
80
+ export declare const Disabled: {
81
+ args: {
82
+ options: {
83
+ text: string;
84
+ value: string;
85
+ }[];
86
+ disabled: boolean;
87
+ };
88
+ parameters: {
89
+ docs: {
90
+ description: {
91
+ story: string;
92
+ };
93
+ };
94
+ };
95
+ };
96
+ export declare const WithTitle: {
97
+ args: {
98
+ options: {
99
+ text: string;
100
+ value: string;
101
+ }[];
102
+ title: string;
103
+ };
104
+ parameters: {
105
+ docs: {
106
+ description: {
107
+ story: string;
108
+ };
109
+ };
110
+ };
111
+ };
112
+ export declare const WithTitleAndDescription: {
113
+ args: {
114
+ options: {
115
+ text: string;
116
+ value: string;
117
+ }[];
118
+ title: string;
119
+ description: string;
120
+ };
121
+ parameters: {
122
+ docs: {
123
+ description: {
124
+ story: string;
125
+ };
126
+ };
127
+ };
128
+ };
129
+ export declare const WithTitleAndFocus: {
130
+ args: {
131
+ options: {
132
+ text: string;
133
+ value: string;
134
+ }[];
135
+ title: string;
136
+ focus: boolean;
137
+ };
138
+ parameters: {
139
+ docs: {
140
+ description: {
141
+ story: string;
142
+ };
143
+ };
144
+ };
145
+ };
146
+ export declare const WithTitleAndHover: {
147
+ args: {
148
+ options: {
149
+ text: string;
150
+ value: string;
151
+ }[];
152
+ title: string;
153
+ hover: boolean;
154
+ };
155
+ parameters: {
156
+ docs: {
157
+ description: {
158
+ story: string;
159
+ };
160
+ };
161
+ };
162
+ };
163
+ export declare const WithTitleAndError: {
164
+ args: {
165
+ options: {
166
+ text: string;
167
+ value: string;
168
+ }[];
169
+ title: string;
170
+ error: string;
171
+ };
172
+ parameters: {
173
+ docs: {
174
+ description: {
175
+ story: string;
176
+ };
177
+ };
178
+ };
179
+ };
180
+ export declare const WithTitleDisabled: {
181
+ args: {
182
+ options: {
183
+ text: string;
184
+ value: string;
185
+ }[];
186
+ title: string;
187
+ disabled: boolean;
188
+ };
189
+ parameters: {
190
+ docs: {
191
+ description: {
192
+ story: string;
193
+ };
194
+ };
195
+ };
196
+ };
197
+ export declare const Required: {
198
+ args: {
199
+ options: {
200
+ text: string;
201
+ value: string;
202
+ }[];
203
+ title: string;
204
+ required: boolean;
205
+ };
206
+ parameters: {
207
+ docs: {
208
+ description: {
209
+ story: string;
210
+ };
211
+ };
212
+ };
213
+ };
214
+ export declare const WithSelectedValue: {
215
+ args: {
216
+ options: {
217
+ text: string;
218
+ value: string;
219
+ }[];
220
+ selected: string;
221
+ };
222
+ parameters: {
223
+ docs: {
224
+ description: {
225
+ story: string;
226
+ };
227
+ };
228
+ };
229
+ };
230
+ export declare const WithCustomId: {
231
+ args: {
232
+ options: {
233
+ text: string;
234
+ value: string;
235
+ }[];
236
+ title: string;
237
+ required: boolean;
238
+ id: string;
239
+ };
240
+ parameters: {
241
+ docs: {
242
+ description: {
243
+ story: string;
244
+ };
245
+ };
246
+ };
247
+ };
248
+ export declare const WithDescriptionOnly: {
249
+ args: {
250
+ options: {
251
+ text: string;
252
+ value: string;
253
+ }[];
254
+ title: string;
255
+ description: string;
256
+ };
257
+ parameters: {
258
+ docs: {
259
+ description: {
260
+ story: string;
261
+ };
262
+ };
263
+ };
264
+ };
@@ -3,13 +3,23 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.Default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _storybookStates = require("storybook-states");
6
+ exports.default = exports.WithTitleDisabled = exports.WithTitleAndHover = exports.WithTitleAndFocus = exports.WithTitleAndError = exports.WithTitleAndDescription = exports.WithTitle = exports.WithSelectedValue = exports.WithError = exports.WithDescriptionOnly = exports.WithCustomId = exports.Required = exports.Hover = exports.Focus = exports.Disabled = exports.Default = void 0;
9
7
  var _Select = require("./Select");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _storybookBlocklist = require("../../utils/storybookBlocklist");
11
9
  var _default = exports.default = {
12
- title: "Components/Select"
10
+ component: _Select.Select,
11
+ title: "Components/Select",
12
+ tags: ["autodocs"],
13
+ parameters: {
14
+ docs: {
15
+ description: {
16
+ component: "A styled select dropdown component with options, states, and form validation."
17
+ }
18
+ },
19
+ controls: {
20
+ exclude: _storybookBlocklist.STORYBOOK_PROPS_BLOCKLIST
21
+ }
22
+ }
13
23
  };
14
24
  var OPTIONS = [{
15
25
  text: "Please select",
@@ -36,49 +46,207 @@ var OPTIONS = [{
36
46
  text: "Artwork year (asc.)",
37
47
  value: "year"
38
48
  }];
39
- var Default = exports.Default = function Default() {
40
- return /*#__PURE__*/_react.default.createElement(_storybookStates.States, {
41
- states: [{}, {
42
- focus: true
43
- }, {
44
- hover: true
45
- }, {
46
- error: "Something went wrong."
47
- }, {
48
- disabled: true
49
- }, {
50
- title: "Sort"
51
- }, {
52
- title: "Sort",
53
- description: "A description of sorting"
54
- }, {
55
- title: "Sort",
56
- focus: true
57
- }, {
58
- title: "Sort",
59
- hover: true
60
- }, {
61
- title: "Sort",
62
- error: "Something went wrong."
63
- }, {
64
- title: "Sort",
65
- disabled: true
66
- }, {
67
- title: "Sort",
68
- required: true
69
- }, {
70
- selected: "year"
71
- }, {
72
- title: "Pick something",
73
- required: true,
74
- id: "pick"
75
- }, {
76
- title: "Pick something",
77
- description: "This matters a lot."
78
- }]
79
- }, /*#__PURE__*/_react.default.createElement(_Select.Select, {
49
+ var Default = exports.Default = {
50
+ args: {
80
51
  options: OPTIONS
81
- }));
52
+ },
53
+ parameters: {
54
+ docs: {
55
+ description: {
56
+ story: "Default Select component."
57
+ }
58
+ }
59
+ }
60
+ };
61
+ var Focus = exports.Focus = {
62
+ args: {
63
+ options: OPTIONS,
64
+ focus: true
65
+ },
66
+ parameters: {
67
+ docs: {
68
+ description: {
69
+ story: "Select with focus state."
70
+ }
71
+ }
72
+ }
73
+ };
74
+ var Hover = exports.Hover = {
75
+ args: {
76
+ options: OPTIONS,
77
+ hover: true
78
+ },
79
+ parameters: {
80
+ docs: {
81
+ description: {
82
+ story: "Select with hover state."
83
+ }
84
+ }
85
+ }
86
+ };
87
+ var WithError = exports.WithError = {
88
+ args: {
89
+ options: OPTIONS,
90
+ error: "Something went wrong."
91
+ },
92
+ parameters: {
93
+ docs: {
94
+ description: {
95
+ story: "Select with error state."
96
+ }
97
+ }
98
+ }
99
+ };
100
+ var Disabled = exports.Disabled = {
101
+ args: {
102
+ options: OPTIONS,
103
+ disabled: true
104
+ },
105
+ parameters: {
106
+ docs: {
107
+ description: {
108
+ story: "Select disabled state."
109
+ }
110
+ }
111
+ }
112
+ };
113
+ var WithTitle = exports.WithTitle = {
114
+ args: {
115
+ options: OPTIONS,
116
+ title: "Sort"
117
+ },
118
+ parameters: {
119
+ docs: {
120
+ description: {
121
+ story: "Select with title."
122
+ }
123
+ }
124
+ }
125
+ };
126
+ var WithTitleAndDescription = exports.WithTitleAndDescription = {
127
+ args: {
128
+ options: OPTIONS,
129
+ title: "Sort",
130
+ description: "A description of sorting"
131
+ },
132
+ parameters: {
133
+ docs: {
134
+ description: {
135
+ story: "Select with title and description."
136
+ }
137
+ }
138
+ }
139
+ };
140
+ var WithTitleAndFocus = exports.WithTitleAndFocus = {
141
+ args: {
142
+ options: OPTIONS,
143
+ title: "Sort",
144
+ focus: true
145
+ },
146
+ parameters: {
147
+ docs: {
148
+ description: {
149
+ story: "Select with title and focus state."
150
+ }
151
+ }
152
+ }
153
+ };
154
+ var WithTitleAndHover = exports.WithTitleAndHover = {
155
+ args: {
156
+ options: OPTIONS,
157
+ title: "Sort",
158
+ hover: true
159
+ },
160
+ parameters: {
161
+ docs: {
162
+ description: {
163
+ story: "Select with title and hover state."
164
+ }
165
+ }
166
+ }
167
+ };
168
+ var WithTitleAndError = exports.WithTitleAndError = {
169
+ args: {
170
+ options: OPTIONS,
171
+ title: "Sort",
172
+ error: "Something went wrong."
173
+ },
174
+ parameters: {
175
+ docs: {
176
+ description: {
177
+ story: "Select with title and error state."
178
+ }
179
+ }
180
+ }
181
+ };
182
+ var WithTitleDisabled = exports.WithTitleDisabled = {
183
+ args: {
184
+ options: OPTIONS,
185
+ title: "Sort",
186
+ disabled: true
187
+ },
188
+ parameters: {
189
+ docs: {
190
+ description: {
191
+ story: "Select with title and disabled state."
192
+ }
193
+ }
194
+ }
195
+ };
196
+ var Required = exports.Required = {
197
+ args: {
198
+ options: OPTIONS,
199
+ title: "Sort",
200
+ required: true
201
+ },
202
+ parameters: {
203
+ docs: {
204
+ description: {
205
+ story: "Select with required state."
206
+ }
207
+ }
208
+ }
209
+ };
210
+ var WithSelectedValue = exports.WithSelectedValue = {
211
+ args: {
212
+ options: OPTIONS,
213
+ selected: "year"
214
+ },
215
+ parameters: {
216
+ docs: {
217
+ description: {
218
+ story: "Select with pre-selected value."
219
+ }
220
+ }
221
+ }
222
+ };
223
+ var WithCustomId = exports.WithCustomId = {
224
+ args: {
225
+ options: OPTIONS,
226
+ title: "Pick something",
227
+ required: true,
228
+ id: "pick"
229
+ },
230
+ parameters: {
231
+ docs: {
232
+ description: {
233
+ story: "Select with custom id."
234
+ }
235
+ }
236
+ }
237
+ };
238
+ var WithDescriptionOnly = exports.WithDescriptionOnly = {
239
+ args: {
240
+ options: OPTIONS,
241
+ title: "Pick something",
242
+ description: "This matters a lot."
243
+ },
244
+ parameters: {
245
+ docs: {
246
+ description: {
247
+ story: "Select with descriptive text."
248
+ }
249
+ }
250
+ }
82
251
  };
83
- Default.displayName = "Default";
84
252
  //# sourceMappingURL=Select.story.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.story.js","names":["_react","_interopRequireDefault","require","_storybookStates","_Select","obj","__esModule","default","_default","exports","title","OPTIONS","text","value","Default","createElement","States","states","focus","hover","error","disabled","description","required","selected","id","Select","options","displayName"],"sources":["../../../src/elements/Select/Select.story.tsx"],"sourcesContent":["import React from \"react\"\nimport { States } from \"storybook-states\"\nimport { Select, SelectProps } from \"./Select\"\n\nexport default {\n title: \"Components/Select\",\n}\n\nconst OPTIONS = [\n { text: \"Please select\", value: \"\" },\n { text: \"Default\", value: \"-decayed_merch\" },\n { text: \"Price (desc.)\", value: \"-has_price,-prices\" },\n { text: \"Price (asc.)\", value: \"-has_price,prices\" },\n { text: \"Recently updated\", value: \"-partner_updated_at\" },\n { text: \"Recently added\", value: \"-published_at\" },\n { text: \"Artwork year (desc.)\", value: \"-year\" },\n { text: \"Artwork year (asc.)\", value: \"year\" },\n]\n\nexport const Default = () => {\n return (\n <States<Partial<SelectProps>>\n states={[\n {},\n { focus: true },\n { hover: true },\n { error: \"Something went wrong.\" },\n { disabled: true },\n { title: \"Sort\" },\n { title: \"Sort\", description: \"A description of sorting\" },\n { title: \"Sort\", focus: true },\n { title: \"Sort\", hover: true },\n { title: \"Sort\", error: \"Something went wrong.\" },\n { title: \"Sort\", disabled: true },\n { title: \"Sort\", required: true },\n { selected: \"year\" },\n { title: \"Pick something\", required: true, id: \"pick\" },\n { title: \"Pick something\", description: \"This matters a lot.\" },\n ]}\n >\n <Select options={OPTIONS} />\n </States>\n )\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,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E,MAAM;MAAEQ,KAAK,EAAE;IAAK,CAAC,EAC9B;MAAER,KAAK,EAAE,MAAM;MAAES,KAAK,EAAE;IAAK,CAAC,EAC9B;MAAET,KAAK,EAAE,MAAM;MAAEU,KAAK,EAAE;IAAwB,CAAC,EACjD;MAAEV,KAAK,EAAE,MAAM;MAAEW,QAAQ,EAAE;IAAK,CAAC,EACjC;MAAEX,KAAK,EAAE,MAAM;MAAEa,QAAQ,EAAE;IAAK,CAAC,EACjC;MAAEC,QAAQ,EAAE;IAAO,CAAC,EACpB;MAAEd,KAAK,EAAE,gBAAgB;MAAEa,QAAQ,EAAE,IAAI;MAAEE,EAAE,EAAE;IAAO,CAAC,EACvD;MAAEf,KAAK,EAAE,gBAAgB;MAAEY,WAAW,EAAE;IAAsB,CAAC;EAC/D,gBAEFtB,MAAA,CAAAO,OAAA,CAAAQ,aAAA,CAACX,OAAA,CAAAsB,MAAM;IAACC,OAAO,EAAEhB;EAAQ,EAAG,CACrB;AAEb,CAAC;AAxBYG,OAAO,CAAAc,WAAA"}
1
+ {"version":3,"file":"Select.story.js","names":["_Select","require","_storybookBlocklist","_default","exports","default","component","Select","title","tags","parameters","docs","description","controls","exclude","STORYBOOK_PROPS_BLOCKLIST","OPTIONS","text","value","Default","args","options","story","Focus","focus","Hover","hover","WithError","error","Disabled","disabled","WithTitle","WithTitleAndDescription","WithTitleAndFocus","WithTitleAndHover","WithTitleAndError","WithTitleDisabled","Required","required","WithSelectedValue","selected","WithCustomId","id","WithDescriptionOnly"],"sources":["../../../src/elements/Select/Select.story.tsx"],"sourcesContent":["import { Select } from \"./Select\"\nimport { STORYBOOK_PROPS_BLOCKLIST } from \"../../utils/storybookBlocklist\"\n\nexport default {\n component: Select,\n title: \"Components/Select\",\n tags: [\"autodocs\"],\n parameters: {\n docs: {\n description: {\n component:\n \"A styled select dropdown component with options, states, and form validation.\",\n },\n },\n controls: {\n exclude: STORYBOOK_PROPS_BLOCKLIST,\n },\n },\n}\n\nconst OPTIONS = [\n { text: \"Please select\", value: \"\" },\n { text: \"Default\", value: \"-decayed_merch\" },\n { text: \"Price (desc.)\", value: \"-has_price,-prices\" },\n { text: \"Price (asc.)\", value: \"-has_price,prices\" },\n { text: \"Recently updated\", value: \"-partner_updated_at\" },\n { text: \"Recently added\", value: \"-published_at\" },\n { text: \"Artwork year (desc.)\", value: \"-year\" },\n { text: \"Artwork year (asc.)\", value: \"year\" },\n]\n\nexport const Default = {\n args: {\n options: OPTIONS,\n },\n parameters: {\n docs: {\n description: {\n story: \"Default Select component.\",\n },\n },\n },\n}\n\nexport const Focus = {\n args: {\n options: OPTIONS,\n focus: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with focus state.\",\n },\n },\n },\n}\n\nexport const Hover = {\n args: {\n options: OPTIONS,\n hover: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with hover state.\",\n },\n },\n },\n}\n\nexport const WithError = {\n args: {\n options: OPTIONS,\n error: \"Something went wrong.\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with error state.\",\n },\n },\n },\n}\n\nexport const Disabled = {\n args: {\n options: OPTIONS,\n disabled: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select disabled state.\",\n },\n },\n },\n}\n\nexport const WithTitle = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with title.\",\n },\n },\n },\n}\n\nexport const WithTitleAndDescription = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n description: \"A description of sorting\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with title and description.\",\n },\n },\n },\n}\n\nexport const WithTitleAndFocus = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n focus: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with title and focus state.\",\n },\n },\n },\n}\n\nexport const WithTitleAndHover = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n hover: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with title and hover state.\",\n },\n },\n },\n}\n\nexport const WithTitleAndError = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n error: \"Something went wrong.\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with title and error state.\",\n },\n },\n },\n}\n\nexport const WithTitleDisabled = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n disabled: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with title and disabled state.\",\n },\n },\n },\n}\n\nexport const Required = {\n args: {\n options: OPTIONS,\n title: \"Sort\",\n required: true,\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with required state.\",\n },\n },\n },\n}\n\nexport const WithSelectedValue = {\n args: {\n options: OPTIONS,\n selected: \"year\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with pre-selected value.\",\n },\n },\n },\n}\n\nexport const WithCustomId = {\n args: {\n options: OPTIONS,\n title: \"Pick something\",\n required: true,\n id: \"pick\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with custom id.\",\n },\n },\n },\n}\n\nexport const WithDescriptionOnly = {\n args: {\n options: OPTIONS,\n title: \"Pick something\",\n description: \"This matters a lot.\",\n },\n parameters: {\n docs: {\n description: {\n story: \"Select with descriptive text.\",\n },\n },\n },\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AAA0E,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAE3D;EACbC,SAAS,EAAEC,cAAM;EACjBC,KAAK,EAAE,mBAAmB;EAC1BC,IAAI,EAAE,CAAC,UAAU,CAAC;EAClBC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXN,SAAS,EACP;MACJ;IACF,CAAC;IACDO,QAAQ,EAAE;MACNC,OAAO,EAAEC;IACX;EACJ;AACF,CAAC;AAED,IAAMC,OAAO,GAAG,CACd;EAAEC,IAAI,EAAE,eAAe;EAAEC,KAAK,EAAE;AAAG,CAAC,EACpC;EAAED,IAAI,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