@pingux/astro 2.128.1-alpha.0 → 2.129.0-alpha.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 (239) hide show
  1. package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.d.ts +1 -4
  2. package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.js +4 -1
  3. package/lib/cjs/components/AIComponents/Prompt/Prompt.stories.js +4 -1
  4. package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.d.ts +1 -16
  5. package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.js +2 -4
  6. package/lib/cjs/components/AIComponents/Response/Response.stories.d.ts +2 -13
  7. package/lib/cjs/components/AIComponents/Response/Response.stories.js +3 -5
  8. package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.d.ts +1 -4
  9. package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.js +2 -1
  10. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +2 -1
  11. package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.d.ts +22 -3
  12. package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +35 -21
  13. package/lib/cjs/components/ArrayField/ArrayField.stories.d.ts +2 -6
  14. package/lib/cjs/components/ArrayField/ArrayField.stories.js +28 -21
  15. package/lib/cjs/components/AstroProvider/AstroProvider.stories.js +2 -1
  16. package/lib/cjs/components/Avatar/Avatar.stories.js +20 -3
  17. package/lib/cjs/components/Badge/Badge.stories.js +26 -22
  18. package/lib/cjs/components/Box/Box.stories.d.ts +43 -0
  19. package/lib/cjs/components/Box/Box.stories.js +9 -4
  20. package/lib/cjs/components/Bracket/Bracket.stories.js +32 -5
  21. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +15 -12
  22. package/lib/cjs/components/Button/Button.stories.d.ts +6 -23
  23. package/lib/cjs/components/Button/Button.stories.js +30 -26
  24. package/lib/cjs/components/ButtonBar/ButtonBar.stories.js +14 -11
  25. package/lib/cjs/components/Callout/Callout.stories.js +15 -12
  26. package/lib/cjs/components/Card/Card.stories.d.ts +3 -3
  27. package/lib/cjs/components/Card/Card.stories.js +20 -15
  28. package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +28 -18
  29. package/lib/cjs/components/CodeEditor/CodeEditor.stories.d.ts +0 -3
  30. package/lib/cjs/components/CodeEditor/CodeEditor.stories.js +10 -12
  31. package/lib/cjs/components/CodeView/CodeView.stories.js +22 -15
  32. package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -3
  33. package/lib/cjs/components/ColorField/ColorField.stories.js +5 -3
  34. package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +3 -3
  35. package/lib/cjs/components/CopyText/CopyText.stories.d.ts +1 -1
  36. package/lib/cjs/components/CopyText/CopyText.stories.js +5 -0
  37. package/lib/cjs/components/DataTable/DataTable.stories.d.ts +3 -180
  38. package/lib/cjs/components/DataTable/DataTable.stories.js +10 -11
  39. package/lib/cjs/components/DatePicker/DatePicker.stories.js +3 -5
  40. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.d.ts +19 -4
  41. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +18 -7
  42. package/lib/cjs/components/FieldHelperText/FieldHelperText.stories.d.ts +3 -3
  43. package/lib/cjs/components/FieldHelperText/FieldHelperText.stories.js +10 -9
  44. package/lib/cjs/components/FileInputField/FileInputField.stories.js +15 -18
  45. package/lib/cjs/components/Footer/Footer.stories.js +2 -1
  46. package/lib/cjs/components/Grid/Grid.stories.js +32 -7
  47. package/lib/cjs/components/HelpHint/HelpHint.stories.js +13 -8
  48. package/lib/cjs/components/Icon/Icon.stories.js +19 -7
  49. package/lib/cjs/components/IconBadge/IconBadge.stories.js +7 -3
  50. package/lib/cjs/components/IconButton/IconButton.stories.d.ts +3 -1
  51. package/lib/cjs/components/IconButton/IconButton.stories.js +17 -8
  52. package/lib/cjs/components/IconButtonToggle/IconButtonToggle.stories.js +7 -0
  53. package/lib/cjs/components/IconWrapper/IconWrapper.stories.js +6 -3
  54. package/lib/cjs/components/Image/Image.stories.d.ts +1 -33
  55. package/lib/cjs/components/Image/Image.stories.js +28 -13
  56. package/lib/cjs/components/ImageUploadField/ImageUploadField.stories.js +10 -13
  57. package/lib/cjs/components/Input/Input.stories.d.ts +1 -14
  58. package/lib/cjs/components/Label/Label.stories.js +3 -3
  59. package/lib/cjs/components/Link/Link.stories.js +5 -0
  60. package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +23 -17
  61. package/lib/cjs/components/ListView/ListView.stories.d.ts +1 -132
  62. package/lib/cjs/components/ListView/ListView.stories.js +11 -13
  63. package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +2 -1
  64. package/lib/cjs/components/Loader/Loader.stories.js +8 -3
  65. package/lib/cjs/components/Messages/Messages.stories.d.ts +10 -29
  66. package/lib/cjs/components/Messages/Messages.stories.js +40 -32
  67. package/lib/cjs/components/Modal/Modal.stories.js +2 -1
  68. package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +2 -4
  69. package/lib/cjs/components/NavBar/NavBar.stories.js +2 -1
  70. package/lib/cjs/components/NavSideBar/NavSideBar.stories.js +2 -1
  71. package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.js +2 -4
  72. package/lib/cjs/components/NumberField/NumberField.stories.js +25 -27
  73. package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +2 -4
  74. package/lib/cjs/components/PageHeader/PageHeader.stories.js +14 -12
  75. package/lib/cjs/components/Pagination/Pagination.stories.d.ts +1 -33
  76. package/lib/cjs/components/Pagination/Pagination.stories.js +2 -1
  77. package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +10 -6
  78. package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +2 -1
  79. package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.stories.js +2 -1
  80. package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +2 -1
  81. package/lib/cjs/components/PasswordField/PasswordField.stories.js +0 -3
  82. package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.js +22 -15
  83. package/lib/cjs/components/ProgressBar/ProgressBar.stories.js +0 -3
  84. package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.d.ts +5 -18
  85. package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.js +18 -12
  86. package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.d.ts +1 -93
  87. package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.js +9 -12
  88. package/lib/cjs/components/RequirementsList/RequirementsList.stories.js +5 -0
  89. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.stories.js +18 -4
  90. package/lib/cjs/components/SearchField/SearchField.stories.js +8 -6
  91. package/lib/cjs/components/SelectField/SelectField.stories.d.ts +9 -25
  92. package/lib/cjs/components/SelectField/SelectField.stories.js +29 -27
  93. package/lib/cjs/components/Separator/Separator.stories.d.ts +3 -1
  94. package/lib/cjs/components/Separator/Separator.stories.js +5 -4
  95. package/lib/cjs/components/Skeleton/Skeleton.stories.d.ts +1 -1
  96. package/lib/cjs/components/Skeleton/Skeleton.stories.js +13 -8
  97. package/lib/cjs/components/SliderField/SliderField.stories.d.ts +2 -2
  98. package/lib/cjs/components/SliderField/SliderField.stories.js +6 -6
  99. package/lib/cjs/components/Stepper/Stepper.stories.js +24 -16
  100. package/lib/cjs/components/SwitchField/SwitchField.stories.js +13 -15
  101. package/lib/cjs/components/Table/Table.stories.js +13 -2
  102. package/lib/cjs/components/Tabs/Tabs.stories.js +30 -4
  103. package/lib/cjs/components/Text/Text.stories.d.ts +2 -1
  104. package/lib/cjs/components/Text/Text.stories.js +28 -17
  105. package/lib/cjs/components/TextAreaField/TextAreaField.stories.d.ts +11 -35
  106. package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +30 -33
  107. package/lib/cjs/components/TextField/TextField.stories.js +44 -47
  108. package/lib/cjs/components/TimeField/TimeField.stories.d.ts +1 -25
  109. package/lib/cjs/components/TimeField/TimeField.stories.js +3 -6
  110. package/lib/cjs/components/TimeZonePicker/TimeZonePicker.stories.js +7 -6
  111. package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +34 -27
  112. package/lib/cjs/components/TreeView/TreeView.stories.js +2 -4
  113. package/lib/cjs/recipes/AccordionCard.stories.js +4 -1
  114. package/lib/cjs/recipes/AttributeMapping.stories.js +4 -1
  115. package/lib/cjs/recipes/CollapsiblePanel.stories.js +4 -1
  116. package/lib/cjs/recipes/ConditionFilter.stories.js +2 -1
  117. package/lib/cjs/recipes/CopyToClipboard.stories.js +4 -1
  118. package/lib/cjs/recipes/CountryPicker.stories.js +4 -1
  119. package/lib/cjs/recipes/DataVisualization.stories.js +4 -1
  120. package/lib/cjs/recipes/DateTimeRangePicker.stories.js +4 -1
  121. package/lib/cjs/recipes/InlineEditing.stories.js +4 -1
  122. package/lib/cjs/recipes/ListAndPanel.stories.js +2 -1
  123. package/lib/cjs/recipes/LogoTabs.stories.js +4 -1
  124. package/lib/cjs/recipes/MaskedValue.stories.js +2 -1
  125. package/lib/cjs/recipes/MultipagePopup.stories.js +2 -1
  126. package/lib/cjs/recipes/NoAccess.stories.d.ts +1 -4
  127. package/lib/cjs/recipes/NoAccess.stories.js +4 -1
  128. package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +4 -1
  129. package/lib/cjs/recipes/PanelContent.stories.js +2 -1
  130. package/lib/cjs/recipes/ScrollableListView.stories.js +4 -1
  131. package/lib/cjs/recipes/Slider.stories.js +4 -1
  132. package/lib/cjs/recipes/TrialExperienceIndustryButtons.stories.js +4 -1
  133. package/lib/cjs/recipes/TrialExperienceStatusBar.stories.js +4 -1
  134. package/lib/cjs/styles/templates/Nav/Nav.stories.js +2 -1
  135. package/lib/components/AIComponents/AIPanel/AIPanel.stories.js +4 -1
  136. package/lib/components/AIComponents/Prompt/Prompt.stories.js +4 -1
  137. package/lib/components/AIComponents/PromptInput/PromptInput.stories.js +2 -4
  138. package/lib/components/AIComponents/Response/Response.stories.js +3 -5
  139. package/lib/components/AIComponents/Suggestions/Suggestions.stories.js +2 -1
  140. package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +2 -1
  141. package/lib/components/AccordionGroup/AccordionGroup.stories.js +26 -12
  142. package/lib/components/ArrayField/ArrayField.stories.js +28 -21
  143. package/lib/components/AstroProvider/AstroProvider.stories.js +2 -1
  144. package/lib/components/Avatar/Avatar.stories.js +20 -3
  145. package/lib/components/Badge/Badge.stories.js +26 -22
  146. package/lib/components/Box/Box.stories.js +8 -3
  147. package/lib/components/Bracket/Bracket.stories.js +32 -5
  148. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +9 -6
  149. package/lib/components/Button/Button.stories.js +30 -26
  150. package/lib/components/ButtonBar/ButtonBar.stories.js +14 -11
  151. package/lib/components/Callout/Callout.stories.js +15 -12
  152. package/lib/components/Card/Card.stories.js +20 -15
  153. package/lib/components/CheckboxField/CheckboxField.stories.js +28 -18
  154. package/lib/components/CodeEditor/CodeEditor.stories.js +10 -12
  155. package/lib/components/CodeView/CodeView.stories.js +22 -15
  156. package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -3
  157. package/lib/components/ColorField/ColorField.stories.js +5 -3
  158. package/lib/components/ComboBoxField/ComboBoxField.stories.js +3 -3
  159. package/lib/components/CopyText/CopyText.stories.js +5 -0
  160. package/lib/components/DataTable/DataTable.stories.js +10 -11
  161. package/lib/components/DatePicker/DatePicker.stories.js +3 -5
  162. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +17 -6
  163. package/lib/components/FieldHelperText/FieldHelperText.stories.js +10 -9
  164. package/lib/components/FileInputField/FileInputField.stories.js +15 -18
  165. package/lib/components/Footer/Footer.stories.js +2 -1
  166. package/lib/components/Grid/Grid.stories.js +32 -7
  167. package/lib/components/HelpHint/HelpHint.stories.js +13 -8
  168. package/lib/components/Icon/Icon.stories.js +18 -6
  169. package/lib/components/IconBadge/IconBadge.stories.js +7 -3
  170. package/lib/components/IconButton/IconButton.stories.js +17 -8
  171. package/lib/components/IconButtonToggle/IconButtonToggle.stories.js +7 -0
  172. package/lib/components/IconWrapper/IconWrapper.stories.js +6 -3
  173. package/lib/components/Image/Image.stories.js +27 -12
  174. package/lib/components/ImageUploadField/ImageUploadField.stories.js +10 -13
  175. package/lib/components/Label/Label.stories.js +3 -3
  176. package/lib/components/Link/Link.stories.js +5 -0
  177. package/lib/components/LinkSelectField/LinkSelectField.stories.js +22 -16
  178. package/lib/components/ListView/ListView.stories.js +4 -6
  179. package/lib/components/ListViewItem/ListViewItem.stories.js +2 -1
  180. package/lib/components/Loader/Loader.stories.js +8 -3
  181. package/lib/components/Messages/Messages.stories.js +28 -20
  182. package/lib/components/Modal/Modal.stories.js +2 -1
  183. package/lib/components/MultivaluesField/MultivaluesField.stories.js +2 -4
  184. package/lib/components/NavBar/NavBar.stories.js +2 -1
  185. package/lib/components/NavSideBar/NavSideBar.stories.js +2 -1
  186. package/lib/components/NavigationHeader/NavigationHeader.stories.js +2 -4
  187. package/lib/components/NumberField/NumberField.stories.js +25 -27
  188. package/lib/components/OverlayPanel/OverlayPanel.stories.js +2 -4
  189. package/lib/components/PageHeader/PageHeader.stories.js +14 -12
  190. package/lib/components/Pagination/Pagination.stories.js +2 -1
  191. package/lib/components/PanelHeader/PanelHeader.stories.js +10 -6
  192. package/lib/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +2 -1
  193. package/lib/components/PanelHeader/controls/PanelHeaderMenu.stories.js +2 -1
  194. package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +2 -1
  195. package/lib/components/PasswordField/PasswordField.stories.js +0 -3
  196. package/lib/components/PopoverMenu/PopoverMenu.stories.js +22 -15
  197. package/lib/components/ProgressBar/ProgressBar.stories.js +0 -3
  198. package/lib/components/RadioGroupField/RadioGroupField.stories.js +18 -12
  199. package/lib/components/RangeCalendar/RangeCalendar.stories.js +9 -12
  200. package/lib/components/RequirementsList/RequirementsList.stories.js +5 -0
  201. package/lib/components/RockerButtonGroup/RockerButtonGroup.stories.js +17 -3
  202. package/lib/components/SearchField/SearchField.stories.js +8 -6
  203. package/lib/components/SelectField/SelectField.stories.js +29 -27
  204. package/lib/components/Separator/Separator.stories.js +5 -4
  205. package/lib/components/Skeleton/Skeleton.stories.js +13 -8
  206. package/lib/components/SliderField/SliderField.stories.js +6 -6
  207. package/lib/components/Stepper/Stepper.stories.js +13 -5
  208. package/lib/components/SwitchField/SwitchField.stories.js +13 -15
  209. package/lib/components/Table/Table.stories.js +13 -2
  210. package/lib/components/Tabs/Tabs.stories.js +29 -3
  211. package/lib/components/Text/Text.stories.js +28 -17
  212. package/lib/components/TextAreaField/TextAreaField.stories.js +30 -33
  213. package/lib/components/TextField/TextField.stories.js +44 -47
  214. package/lib/components/TimeField/TimeField.stories.js +3 -6
  215. package/lib/components/TimeZonePicker/TimeZonePicker.stories.js +7 -6
  216. package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +34 -27
  217. package/lib/components/TreeView/TreeView.stories.js +2 -4
  218. package/lib/recipes/AccordionCard.stories.js +4 -1
  219. package/lib/recipes/AttributeMapping.stories.js +4 -1
  220. package/lib/recipes/CollapsiblePanel.stories.js +4 -1
  221. package/lib/recipes/ConditionFilter.stories.js +2 -1
  222. package/lib/recipes/CopyToClipboard.stories.js +4 -1
  223. package/lib/recipes/CountryPicker.stories.js +4 -1
  224. package/lib/recipes/DataVisualization.stories.js +4 -1
  225. package/lib/recipes/DateTimeRangePicker.stories.js +4 -1
  226. package/lib/recipes/InlineEditing.stories.js +4 -1
  227. package/lib/recipes/ListAndPanel.stories.js +2 -1
  228. package/lib/recipes/LogoTabs.stories.js +4 -1
  229. package/lib/recipes/MaskedValue.stories.js +2 -1
  230. package/lib/recipes/MultipagePopup.stories.js +2 -1
  231. package/lib/recipes/NoAccess.stories.js +4 -1
  232. package/lib/recipes/OneWayToBidirectionalArrow.stories.js +4 -1
  233. package/lib/recipes/PanelContent.stories.js +2 -1
  234. package/lib/recipes/ScrollableListView.stories.js +4 -1
  235. package/lib/recipes/Slider.stories.js +4 -1
  236. package/lib/recipes/TrialExperienceIndustryButtons.stories.js +4 -1
  237. package/lib/recipes/TrialExperienceStatusBar.stories.js +4 -1
  238. package/lib/styles/templates/Nav/Nav.stories.js +2 -1
  239. package/package.json +2 -1
@@ -40,9 +40,6 @@ var _default = {
40
40
  docs: {
41
41
  page: function page() {
42
42
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_TextAreaField["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
43
- },
44
- source: {
45
- type: 'code'
46
43
  }
47
44
  },
48
45
  a11y: {
@@ -112,7 +109,7 @@ var Default = function Default(args) {
112
109
  return (0, _react2.jsx)(_index.TextAreaField, args);
113
110
  };
114
111
  exports.Default = Default;
115
- var WithSlots = function WithSlots(args) {
112
+ var WithSlots = function WithSlots() {
116
113
  return (
117
114
  // This is an example of a slot that can be passed into the component
118
115
  // const IconSlot = (
@@ -122,19 +119,19 @@ var WithSlots = function WithSlots(args) {
122
119
  // />
123
120
  // </Box>
124
121
  // );
125
- (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
122
+ (0, _react2.jsx)(_index.TextAreaField, {
126
123
  slots: {
127
124
  inContainer: IconSlot
128
125
  }
129
- }))
126
+ })
130
127
  );
131
128
  };
132
129
  exports.WithSlots = WithSlots;
133
- var FloatLabel = function FloatLabel() {
134
- return (0, _react2.jsx)(_index.TextAreaField, {
130
+ var FloatLabel = function FloatLabel(args) {
131
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
135
132
  label: "Example label",
136
133
  labelMode: "float"
137
- });
134
+ }));
138
135
  };
139
136
  exports.FloatLabel = FloatLabel;
140
137
  var Controlled = function Controlled() {
@@ -151,62 +148,62 @@ var Controlled = function Controlled() {
151
148
  });
152
149
  };
153
150
  exports.Controlled = Controlled;
154
- var Disabled = function Disabled() {
155
- return (0, _react2.jsx)(_index.TextAreaField, {
151
+ var Disabled = function Disabled(args) {
152
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
156
153
  isDisabled: true,
157
154
  label: "Example Label",
158
155
  value: "This is disabled"
159
- });
156
+ }));
160
157
  };
161
158
  exports.Disabled = Disabled;
162
- var ReadOnly = function ReadOnly() {
163
- return (0, _react2.jsx)(_index.TextAreaField, {
159
+ var ReadOnly = function ReadOnly(args) {
160
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
164
161
  isReadOnly: true,
165
162
  label: "Example Label",
166
163
  value: "This is read only"
167
- });
164
+ }));
168
165
  };
169
166
  exports.ReadOnly = ReadOnly;
170
- var Required = function Required() {
171
- return (0, _react2.jsx)(_index.TextAreaField, {
167
+ var Required = function Required(args) {
168
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
172
169
  isRequired: true,
173
170
  label: "Example Label"
174
- });
171
+ }));
175
172
  };
176
173
  exports.Required = Required;
177
- var Rows = function Rows() {
178
- return (0, _react2.jsx)(_index.TextAreaField, {
174
+ var Rows = function Rows(args) {
175
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
179
176
  label: "Example label",
180
177
  rows: 5
181
- });
178
+ }));
182
179
  };
183
180
  exports.Rows = Rows;
184
- var Unresizable = function Unresizable() {
185
- return (0, _react2.jsx)(_index.TextAreaField, {
181
+ var Unresizable = function Unresizable(args) {
182
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
186
183
  isUnresizable: true,
187
184
  label: "Example label"
188
- });
185
+ }));
189
186
  };
190
187
  exports.Unresizable = Unresizable;
191
- var Error = function Error() {
192
- return (0, _react2.jsx)(_index.TextAreaField, {
188
+ var Error = function Error(args) {
189
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
193
190
  helperText: "Here is some helpful text...",
194
191
  label: "Example Label",
195
192
  status: "error"
196
- });
193
+ }));
197
194
  };
198
195
  exports.Error = Error;
199
- var WithoutStatusIndicator = function WithoutStatusIndicator() {
200
- return (0, _react2.jsx)(_index.TextAreaField, {
196
+ var WithoutStatusIndicator = function WithoutStatusIndicator(args) {
197
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
201
198
  label: "Example Label",
202
199
  hasNoStatusIndicator: true
203
- });
200
+ }));
204
201
  };
205
202
  exports.WithoutStatusIndicator = WithoutStatusIndicator;
206
- var MaxLength = function MaxLength() {
207
- return (0, _react2.jsx)(_index.TextAreaField, {
203
+ var MaxLength = function MaxLength(args) {
204
+ return (0, _react2.jsx)(_index.TextAreaField, (0, _extends2["default"])({}, args, {
208
205
  label: "Example label",
209
206
  maxLength: 9
210
- });
207
+ }));
211
208
  };
212
209
  exports.MaxLength = MaxLength;
@@ -44,9 +44,6 @@ var _default = {
44
44
  docs: {
45
45
  page: function page() {
46
46
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_TextField["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
47
- },
48
- source: {
49
- type: 'code'
50
47
  }
51
48
  }
52
49
  },
@@ -87,22 +84,22 @@ var Default = function Default(_ref) {
87
84
  }, args));
88
85
  };
89
86
  exports.Default = Default;
90
- var SmallVariant = function SmallVariant() {
91
- return (0, _react2.jsx)(_index.TextField, {
87
+ var SmallVariant = function SmallVariant(args) {
88
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
92
89
  id: "small-variant-id",
93
90
  name: "custom-name",
94
91
  label: "Example Label",
95
92
  controlProps: {
96
93
  variant: 'input.small'
97
94
  }
98
- });
95
+ }));
99
96
  };
100
97
  exports.SmallVariant = SmallVariant;
101
- var FloatLabel = function FloatLabel() {
102
- return (0, _react2.jsx)(_index.TextField, {
98
+ var FloatLabel = function FloatLabel(args) {
99
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
103
100
  label: "Example Label",
104
101
  labelMode: "float"
105
- });
102
+ }));
106
103
  };
107
104
 
108
105
  // Added to bypass color contrast issue
@@ -117,18 +114,18 @@ FloatLabel.parameters = {
117
114
  }
118
115
  }
119
116
  };
120
- var LeftLabel = function LeftLabel() {
117
+ var LeftLabel = function LeftLabel(args) {
121
118
  return (0, _react2.jsx)(_index.Box, {
122
119
  gap: "xl",
123
120
  width: "100%"
124
- }, (0, _react2.jsx)(_index.TextField, {
121
+ }, (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
125
122
  helperText: "Here is some helpful text...",
126
123
  label: "Example Label",
127
124
  labelMode: "left"
128
- }), (0, _react2.jsx)(_index.TextField, {
125
+ })), (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
129
126
  label: "Example Label that is much longer than the previous one",
130
127
  labelMode: "left"
131
- }), (0, _react2.jsx)(_index.TextField, {
128
+ })), (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
132
129
  label: "Example label with set width",
133
130
  labelMode: "left",
134
131
  containerProps: {
@@ -136,7 +133,7 @@ var LeftLabel = function LeftLabel() {
136
133
  gridTemplateColumns: '120px auto'
137
134
  }
138
135
  }
139
- }));
136
+ })));
140
137
  };
141
138
  exports.LeftLabel = LeftLabel;
142
139
  LeftLabel.parameters = {
@@ -160,33 +157,33 @@ var Controlled = function Controlled() {
160
157
  });
161
158
  };
162
159
  exports.Controlled = Controlled;
163
- var Password = function Password() {
164
- return (0, _react2.jsx)(_index.TextField, {
160
+ var Password = function Password(args) {
161
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
165
162
  label: "Example Label",
166
163
  type: "password"
167
- });
164
+ }));
168
165
  };
169
166
  exports.Password = Password;
170
- var Disabled = function Disabled() {
171
- return (0, _react2.jsx)(_index.TextField, {
167
+ var Disabled = function Disabled(args) {
168
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
172
169
  isDisabled: true,
173
170
  label: "Example Label"
174
- });
171
+ }));
175
172
  };
176
173
  exports.Disabled = Disabled;
177
- var ReadOnly = function ReadOnly() {
178
- return (0, _react2.jsx)(_index.TextField, {
174
+ var ReadOnly = function ReadOnly(args) {
175
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
179
176
  isReadOnly: true,
180
177
  label: "Example Label",
181
178
  value: "This is read only"
182
- });
179
+ }));
183
180
  };
184
181
  exports.ReadOnly = ReadOnly;
185
- var Required = function Required() {
186
- return (0, _react2.jsx)(_index.TextField, {
182
+ var Required = function Required(args) {
183
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
187
184
  isRequired: true,
188
185
  label: "Example Label"
189
- });
186
+ }));
190
187
  };
191
188
  exports.Required = Required;
192
189
  var DynamicRequired = function DynamicRequired() {
@@ -204,41 +201,41 @@ var DynamicRequired = function DynamicRequired() {
204
201
  });
205
202
  };
206
203
  exports.DynamicRequired = DynamicRequired;
207
- var Error = function Error() {
208
- return (0, _react2.jsx)(_index.TextField, {
204
+ var Error = function Error(args) {
205
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
209
206
  helperText: "Here is some helpful text...",
210
207
  label: "Example Label",
211
208
  status: "error"
212
- });
209
+ }));
213
210
  };
214
211
  exports.Error = Error;
215
- var Success = function Success() {
216
- return (0, _react2.jsx)(_index.TextField, {
212
+ var Success = function Success(args) {
213
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
217
214
  helperText: "Here is some helpful text...",
218
215
  label: "Example Label",
219
216
  status: "success"
220
- });
217
+ }));
221
218
  };
222
219
  exports.Success = Success;
223
- var Warning = function Warning() {
224
- return (0, _react2.jsx)(_index.TextField, {
220
+ var Warning = function Warning(args) {
221
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
225
222
  helperText: "Here is some helpful text...",
226
223
  label: "Example Label",
227
224
  status: "warning"
228
- });
225
+ }));
229
226
  };
230
227
  exports.Warning = Warning;
231
- var WithHelpHint = function WithHelpHint() {
232
- return (0, _react2.jsx)(_index.TextField, {
228
+ var WithHelpHint = function WithHelpHint(args) {
229
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
233
230
  id: "with-help-hint-id",
234
231
  name: "custom-name",
235
232
  hintText: "Example Hint",
236
233
  label: "Example Label"
237
- });
234
+ }));
238
235
  };
239
236
  exports.WithHelpHint = WithHelpHint;
240
- var WithHelpHintCustomWidth = function WithHelpHintCustomWidth() {
241
- return (0, _react2.jsx)(_index.TextField, {
237
+ var WithHelpHintCustomWidth = function WithHelpHintCustomWidth(args) {
238
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
242
239
  id: "with-help-hint-id",
243
240
  name: "custom-name",
244
241
  hintText: "Example Hint",
@@ -246,7 +243,7 @@ var WithHelpHintCustomWidth = function WithHelpHintCustomWidth() {
246
243
  helpHintProps: {
247
244
  width: '300px'
248
245
  }
249
- });
246
+ }));
250
247
  };
251
248
 
252
249
  // Added to bypass color contrast issue
@@ -261,18 +258,18 @@ WithHelpHintCustomWidth.parameters = {
261
258
  }
262
259
  }
263
260
  };
264
- var WithoutStatusIndicator = function WithoutStatusIndicator() {
265
- return (0, _react2.jsx)(_index.TextField, {
261
+ var WithoutStatusIndicator = function WithoutStatusIndicator(args) {
262
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
266
263
  label: "Example Label",
267
264
  hasNoStatusIndicator: true
268
- });
265
+ }));
269
266
  };
270
267
  exports.WithoutStatusIndicator = WithoutStatusIndicator;
271
- var MaxLength = function MaxLength() {
272
- return (0, _react2.jsx)(_index.TextField, {
268
+ var MaxLength = function MaxLength(args) {
269
+ return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({}, args, {
273
270
  label: "Example label",
274
271
  maxLength: 9
275
- });
272
+ }));
276
273
  };
277
274
  exports.MaxLength = MaxLength;
278
275
  var WithSlots = function WithSlots() {
@@ -1,30 +1,6 @@
1
- import React from 'react';
2
1
  import { StoryFn } from '@storybook/react';
3
2
  import { TimeFieldProps } from '../../types';
4
- declare const _default: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<TimeFieldProps & React.RefAttributes<HTMLDivElement>>;
7
- parameters: {
8
- actions: {
9
- argTypesRegex: string;
10
- };
11
- docs: {
12
- source: {
13
- type: string;
14
- };
15
- page: () => React.JSX.Element;
16
- };
17
- a11y: {
18
- config: {
19
- rules: {
20
- id: string;
21
- enabled: boolean;
22
- }[];
23
- };
24
- };
25
- };
26
- argTypes: {};
27
- };
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
28
4
  export default _default;
29
5
  export declare const Default: StoryFn<TimeFieldProps>;
30
6
  export declare const DefaultValue: StoryFn<TimeFieldProps>;
@@ -26,9 +26,6 @@ var _default = {
26
26
  argTypesRegex: '^on.*'
27
27
  },
28
28
  docs: {
29
- source: {
30
- type: 'code'
31
- },
32
29
  page: function page() {
33
30
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_TimeField["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
34
31
  }
@@ -58,7 +55,7 @@ var DefaultValue = function DefaultValue(args) {
58
55
  }));
59
56
  };
60
57
  exports.DefaultValue = DefaultValue;
61
- var Controlled = function Controlled(args) {
58
+ var Controlled = function Controlled() {
62
59
  var _useState = (0, _react.useState)('12:30'),
63
60
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
64
61
  time = _useState2[0],
@@ -66,11 +63,11 @@ var Controlled = function Controlled(args) {
66
63
  var onChangeHandler = function onChangeHandler(value) {
67
64
  return setTime(value.toString());
68
65
  };
69
- return (0, _react2.jsx)(_index.TimeField, (0, _extends2["default"])({}, args, {
66
+ return (0, _react2.jsx)(_index.TimeField, {
70
67
  "aria-label": "timefield-default",
71
68
  value: time,
72
69
  onChange: onChangeHandler
73
- }));
70
+ });
74
71
  };
75
72
  exports.Controlled = Controlled;
76
73
  var Disabled = function Disabled(args) {
@@ -6,6 +6,7 @@ _Object$defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports["default"] = exports.WithCustomTimeZone = exports.Default = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
9
10
  var _react = _interopRequireDefault(require("react"));
10
11
  var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
11
12
  var _index = require("../../index");
@@ -23,19 +24,19 @@ var _default = {
23
24
  }
24
25
  };
25
26
  exports["default"] = _default;
26
- var Default = function Default() {
27
- return (0, _react2.jsx)(_index.TimeZonePicker, {
27
+ var Default = function Default(args) {
28
+ return (0, _react2.jsx)(_index.TimeZonePicker, (0, _extends2["default"])({}, args, {
28
29
  label: "Default Example"
29
- });
30
+ }));
30
31
  };
31
32
  exports.Default = Default;
32
- var WithCustomTimeZone = function WithCustomTimeZone() {
33
+ var WithCustomTimeZone = function WithCustomTimeZone(args) {
33
34
  var customTimeZone = {
34
35
  '(GMT+02:00) Africa/Juba': 'Africa/Juba'
35
36
  };
36
- return (0, _react2.jsx)(_index.TimeZonePicker, {
37
+ return (0, _react2.jsx)(_index.TimeZonePicker, (0, _extends2["default"])({}, args, {
37
38
  additionalTimeZones: customTimeZone,
38
39
  label: "With Custom Time Zone (Africa/Juba)"
39
- });
40
+ }));
40
41
  };
41
42
  exports.WithCustomTimeZone = WithCustomTimeZone;
@@ -6,6 +6,7 @@ _Object$defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.withDirectionProp = exports.withDelayProp = exports.withArrowCrossOffsetProp = exports.withAlignProp = exports.isOpen = exports["default"] = exports.customWidth = exports.TextWithTooltip = exports.IconWithTooltip = exports.Disabled = exports.Default = exports.BadgeWithTooltip = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
9
10
  var _react = _interopRequireDefault(require("react"));
10
11
  var _AccountIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountIcon"));
11
12
  var _EarthIcon = _interopRequireDefault(require("@pingux/mdi-react/EarthIcon"));
@@ -22,6 +23,12 @@ var _default = {
22
23
  page: function page() {
23
24
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_TooltipTrigger["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
24
25
  }
26
+ },
27
+ codesandbox: {
28
+ mapComponent: {
29
+ '@pingux/astro': ['Box', 'Button', 'Icon', 'IconButton', 'Text', 'Tooltip', 'TooltipTrigger'],
30
+ '@pingux/mdi-react/AccountIcon': 'AccountIcon'
31
+ }
25
32
  }
26
33
  }
27
34
  };
@@ -30,35 +37,35 @@ var Default = function Default(args) {
30
37
  return (0, _react2.jsx)(_index.TooltipTrigger, args, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Tooltip Content"));
31
38
  };
32
39
  exports.Default = Default;
33
- var withAlignProp = function withAlignProp() {
34
- return (0, _react2.jsx)(_index.TooltipTrigger, {
40
+ var withAlignProp = function withAlignProp(args) {
41
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
35
42
  align: "end"
36
- }, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "End aligned"));
43
+ }), (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "End aligned"));
37
44
  };
38
45
  exports.withAlignProp = withAlignProp;
39
- var withDirectionProp = function withDirectionProp() {
40
- return (0, _react2.jsx)(_index.TooltipTrigger, {
46
+ var withDirectionProp = function withDirectionProp(args) {
47
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
41
48
  direction: "right"
42
- }, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Display on the right"));
49
+ }), (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Display on the right"));
43
50
  };
44
51
  exports.withDirectionProp = withDirectionProp;
45
- var withArrowCrossOffsetProp = function withArrowCrossOffsetProp() {
46
- return (0, _react2.jsx)(_index.TooltipTrigger, {
52
+ var withArrowCrossOffsetProp = function withArrowCrossOffsetProp(args) {
53
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
47
54
  arrowCrossOffset: "30px",
48
55
  isOpen: true
49
- }, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "With arrowCrossOffset=\"30px\""));
56
+ }), (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "With arrowCrossOffset=\"30px\""));
50
57
  };
51
58
  exports.withArrowCrossOffsetProp = withArrowCrossOffsetProp;
52
- var isOpen = function isOpen() {
53
- return (0, _react2.jsx)(_index.TooltipTrigger, {
59
+ var isOpen = function isOpen(args) {
60
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
54
61
  isOpen: true
55
- }, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Display by default"));
62
+ }), (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Display by default"));
56
63
  };
57
64
  exports.isOpen = isOpen;
58
- var IconWithTooltip = function IconWithTooltip() {
65
+ var IconWithTooltip = function IconWithTooltip(args) {
59
66
  return (0, _react2.jsx)(_index.Box, {
60
67
  pl: 50
61
- }, (0, _react2.jsx)(_index.TooltipTrigger, null, (0, _react2.jsx)(_index.IconButton, {
68
+ }, (0, _react2.jsx)(_index.TooltipTrigger, args, (0, _react2.jsx)(_index.IconButton, {
62
69
  variant: "tooltip.button"
63
70
  }, (0, _react2.jsx)(_index.Icon, {
64
71
  icon: _AccountIcon["default"],
@@ -68,10 +75,10 @@ var IconWithTooltip = function IconWithTooltip() {
68
75
  })), (0, _react2.jsx)(_index.Tooltip, null, "Useful tooltip")));
69
76
  };
70
77
  exports.IconWithTooltip = IconWithTooltip;
71
- var BadgeWithTooltip = function BadgeWithTooltip() {
78
+ var BadgeWithTooltip = function BadgeWithTooltip(args) {
72
79
  return (0, _react2.jsx)(_index.Box, {
73
80
  pl: 50
74
- }, (0, _react2.jsx)(_index.TooltipTrigger, null, (0, _react2.jsx)(_index.Button, {
81
+ }, (0, _react2.jsx)(_index.TooltipTrigger, args, (0, _react2.jsx)(_index.Button, {
75
82
  variant: "variants.tooltip.badge",
76
83
  bg: "neutral.10"
77
84
  }, (0, _react2.jsx)(_index.Text, {
@@ -91,19 +98,19 @@ BadgeWithTooltip.parameters = {
91
98
  url: _figmaLinks.FIGMA_LINKS.tooltipTrigger.badgeWithTooltip
92
99
  }
93
100
  };
94
- var TextWithTooltip = function TextWithTooltip() {
101
+ var TextWithTooltip = function TextWithTooltip(args) {
95
102
  return (0, _react2.jsx)(_index.Box, {
96
103
  pl: 50
97
- }, (0, _react2.jsx)(_index.TooltipTrigger, null, (0, _react2.jsx)(_index.Button, {
104
+ }, (0, _react2.jsx)(_index.TooltipTrigger, args, (0, _react2.jsx)(_index.Button, {
98
105
  variant: "variants.tooltip.inline"
99
106
  }, "Some text"), (0, _react2.jsx)(_index.Tooltip, null, "Useful tooltip")));
100
107
  };
101
108
  exports.TextWithTooltip = TextWithTooltip;
102
- var Disabled = function Disabled() {
103
- return (0, _react2.jsx)(_index.TooltipTrigger, {
109
+ var Disabled = function Disabled(args) {
110
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
104
111
  delay: 0,
105
112
  isDisabled: true
106
- }, (0, _react2.jsx)(_index.IconButton, {
113
+ }), (0, _react2.jsx)(_index.IconButton, {
107
114
  "aria-label": "Earth Icon"
108
115
  }, (0, _react2.jsx)(_index.Icon, {
109
116
  icon: _EarthIcon["default"],
@@ -120,15 +127,15 @@ Disabled.parameters = {
120
127
  }
121
128
  }
122
129
  };
123
- var withDelayProp = function withDelayProp() {
124
- return (0, _react2.jsx)(_index.TooltipTrigger, {
130
+ var withDelayProp = function withDelayProp(args) {
131
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
125
132
  delay: 700
126
- }, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Display with a delay"));
133
+ }), (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Display with a delay"));
127
134
  };
128
135
  exports.withDelayProp = withDelayProp;
129
- var customWidth = function customWidth() {
130
- return (0, _react2.jsx)(_index.TooltipTrigger, {
136
+ var customWidth = function customWidth(args) {
137
+ return (0, _react2.jsx)(_index.TooltipTrigger, (0, _extends2["default"])({}, args, {
131
138
  width: "200px"
132
- }, (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Custom width display"));
139
+ }), (0, _react2.jsx)(_index.Button, null, "Hover Over Me!"), (0, _react2.jsx)(_index.Tooltip, null, "Custom width display"));
133
140
  };
134
141
  exports.customWidth = customWidth;
@@ -42,9 +42,6 @@ var _default = {
42
42
  docs: {
43
43
  page: function page() {
44
44
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_TreeView["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
45
- },
46
- source: {
47
- type: 'code'
48
45
  }
49
46
  },
50
47
  a11y: {
@@ -60,7 +57,8 @@ var _default = {
60
57
  enabled: false
61
58
  }]
62
59
  }
63
- }
60
+ },
61
+ codesandbox: false
64
62
  }
65
63
  };
66
64
  exports["default"] = _default;
@@ -28,7 +28,10 @@ var _react2 = require("@emotion/react");
28
28
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
29
29
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
30
30
  var _default = {
31
- title: 'Recipes/AccordionCard'
31
+ title: 'Recipes/AccordionCard',
32
+ parameters: {
33
+ codesandbox: false
34
+ }
32
35
  };
33
36
  exports["default"] = _default;
34
37
  var accordionItemSX = {
@@ -26,7 +26,10 @@ var _react2 = require("@emotion/react");
26
26
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
27
27
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
28
28
  var _default = {
29
- title: 'Recipes/Attribute Mappings'
29
+ title: 'Recipes/Attribute Mappings',
30
+ parameters: {
31
+ codesandbox: false
32
+ }
30
33
  };
31
34
  exports["default"] = _default;
32
35
  var sx = {
@@ -36,7 +36,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
36
36
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty2(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
37
37
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
38
38
  var _default = {
39
- title: 'Recipes/CollapsiblePanel with List'
39
+ title: 'Recipes/CollapsiblePanel with List',
40
+ parameters: {
41
+ codesandbox: false
42
+ }
40
43
  };
41
44
  exports["default"] = _default;
42
45
  var data = [{
@@ -37,7 +37,8 @@ var _default = {
37
37
  enabled: false
38
38
  }]
39
39
  }
40
- }
40
+ },
41
+ codesandbox: false
41
42
  }
42
43
  };
43
44
  exports["default"] = _default;
@@ -11,7 +11,10 @@ var _useCopyToClipboard = _interopRequireDefault(require("../hooks/useCopyToClip
11
11
  var _index = require("../index");
12
12
  var _react2 = require("@emotion/react");
13
13
  var _default = {
14
- title: 'Recipes/Copy to Clipboard'
14
+ title: 'Recipes/Copy to Clipboard',
15
+ parameters: {
16
+ codesandbox: false
17
+ }
15
18
  };
16
19
  exports["default"] = _default;
17
20
  var Default = function Default() {
@@ -24,7 +24,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "functi
24
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
  var _default = {
26
26
  title: 'Recipes/Country Picker',
27
- decorators: [_storybookAddonDesigns.withDesign]
27
+ decorators: [_storybookAddonDesigns.withDesign],
28
+ parameters: {
29
+ codesandbox: false
30
+ }
28
31
  };
29
32
  exports["default"] = _default;
30
33
  var validatePhoneNumber = function validatePhoneNumber(str) {