@pingux/astro 2.128.1-alpha.0 → 2.129.0-alpha.1

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
@@ -1,7 +1,4 @@
1
1
  import React from 'react';
2
- declare const _default: {
3
- component: (props: import("../../../types/aiPanel").AIPanelProps) => React.JSX.Element;
4
- title: string;
5
- };
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
6
3
  export default _default;
7
4
  export declare const Default: () => React.JSX.Element;
@@ -22,7 +22,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "functi
22
22
  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; }
23
23
  var _default = {
24
24
  component: _AIPanel["default"],
25
- title: 'AI Components/AI Panel'
25
+ title: 'AI Components/AI Panel',
26
+ parameters: {
27
+ codesandbox: false
28
+ }
26
29
  };
27
30
  exports["default"] = _default;
28
31
  var AIMenuPopover = function AIMenuPopover() {
@@ -12,7 +12,10 @@ var _Prompt = _interopRequireDefault(require("./Prompt"));
12
12
  var _react2 = require("@emotion/react");
13
13
  var _default = {
14
14
  title: 'AI Components/Prompt',
15
- component: _Prompt["default"]
15
+ component: _Prompt["default"],
16
+ parameters: {
17
+ codesandbox: false
18
+ }
16
19
  };
17
20
  exports["default"] = _default;
18
21
  var Default = function Default() {
@@ -1,19 +1,4 @@
1
1
  import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- component: React.ForwardRefExoticComponent<import("../../../types/promptInput").PromptInputProps & React.RefAttributes<HTMLInputElement>>;
5
- parameters: {
6
- docs: {
7
- page: () => React.JSX.Element;
8
- source: {
9
- type: string;
10
- };
11
- };
12
- };
13
- argTypes: {
14
- isLoading: any;
15
- isUploadButtonHidden: any;
16
- };
17
- };
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
18
3
  export default _default;
19
4
  export declare const Default: (args: any) => React.JSX.Element;
@@ -36,11 +36,9 @@ var _default = {
36
36
  docs: {
37
37
  page: function page() {
38
38
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_PromptInputReadMe["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
39
- },
40
- source: {
41
- type: 'code'
42
39
  }
43
- }
40
+ },
41
+ codesandbox: false
44
42
  },
45
43
  argTypes: {
46
44
  isLoading: _objectSpread({}, _docArgTypes.booleanArg),
@@ -1,16 +1,5 @@
1
1
  import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- component: (props: import("../../../types/response").ResponseProps) => React.JSX.Element;
5
- parameters: {
6
- docs: {
7
- page: () => React.JSX.Element;
8
- source: {
9
- type: string;
10
- };
11
- };
12
- };
13
- };
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
14
3
  export default _default;
15
- export declare const Default: (args: any) => React.JSX.Element;
4
+ export declare const Default: () => React.JSX.Element;
16
5
  export declare const MarkdownStory: () => React.JSX.Element;
@@ -30,16 +30,14 @@ var _default = {
30
30
  docs: {
31
31
  page: function page() {
32
32
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Response["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
33
- },
34
- source: {
35
- type: 'code'
36
33
  }
37
- }
34
+ },
35
+ codesandbox: false
38
36
  }
39
37
  };
40
38
  exports["default"] = _default;
41
39
  var testText = 'Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet';
42
- var Default = function Default(args) {
40
+ var Default = function Default() {
43
41
  var icons = [{
44
42
  title: 'Read aloud',
45
43
  icon: _VolumeHighIcon["default"]
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- component: (props: import("../../../types/suggestions").SuggestionsProps) => React.JSX.Element;
5
- };
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
6
3
  export default _default;
7
4
  export declare const Default: () => React.JSX.Element;
8
5
  export declare const FullScreen: () => React.JSX.Element;
@@ -11,7 +11,8 @@ var _index = require("../../../index");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _default = {
13
13
  title: 'Ai Components/Suggestions',
14
- component: _index.Suggestions
14
+ component: _index.Suggestions,
15
+ codesandbox: false
15
16
  };
16
17
  exports["default"] = _default;
17
18
  var lorem = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.';
@@ -81,7 +81,8 @@ var _default = {
81
81
  mdx: _AccordionGridGroup["default"]
82
82
  }, {
83
83
  label: 'Implementation'
84
- }]
84
+ }],
85
+ codesandbox: false
85
86
  },
86
87
  argTypes: {
87
88
  id: {
@@ -17,6 +17,7 @@ export declare const DifferentLevels: {
17
17
  type: string;
18
18
  url: string;
19
19
  };
20
+ codesandbox: boolean;
20
21
  };
21
22
  };
22
23
  export declare const Multiple: {
@@ -26,10 +27,21 @@ export declare const Multiple: {
26
27
  type: string;
27
28
  url: string;
28
29
  };
30
+ codesandbox: boolean;
31
+ };
32
+ };
33
+ export declare const ControlledExpanded: {
34
+ (): React.JSX.Element;
35
+ parameters: {
36
+ codesandbox: boolean;
37
+ };
38
+ };
39
+ export declare const UncontrolledExpanded: {
40
+ (): React.JSX.Element;
41
+ parameters: {
42
+ codesandbox: boolean;
29
43
  };
30
44
  };
31
- export declare const ControlledExpanded: () => React.JSX.Element;
32
- export declare const UncontrolledExpanded: () => React.JSX.Element;
33
45
  export declare const DisabledState: {
34
46
  (): React.JSX.Element;
35
47
  parameters: {
@@ -37,6 +49,7 @@ export declare const DisabledState: {
37
49
  type: string;
38
50
  url: string;
39
51
  };
52
+ codesandbox: boolean;
40
53
  };
41
54
  };
42
55
  export declare const CustomPresentation: {
@@ -47,7 +60,13 @@ export declare const CustomPresentation: {
47
60
  story: string;
48
61
  };
49
62
  };
63
+ codesandbox: boolean;
50
64
  };
51
65
  };
52
66
  export declare const LabelWithBadge: (args: any) => React.JSX.Element;
53
- export declare const AccordionWithSlot: (args: any) => React.JSX.Element;
67
+ export declare const AccordionWithSlot: {
68
+ (): React.JSX.Element;
69
+ parameters: {
70
+ codesandbox: boolean;
71
+ };
72
+ };
@@ -12,7 +12,6 @@ exports["default"] = exports.UncontrolledExpanded = exports.Multiple = exports.L
12
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
14
14
  var _react = _interopRequireWildcard(require("react"));
15
- var _reactStately = require("react-stately");
16
15
  var _storybookAddonDesigns = require("storybook-addon-designs");
17
16
  var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
18
17
  var _index = require("../../index");
@@ -66,9 +65,11 @@ var _default = {
66
65
  docs: {
67
66
  page: function page() {
68
67
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_AccordionGroup["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
69
- },
70
- source: {
71
- type: 'code'
68
+ }
69
+ },
70
+ codesandbox: {
71
+ mapComponent: {
72
+ '@pingux/astro': ['AccordionGroup', 'Badge', 'Box', 'Button', 'HelpHint', 'Item', 'Text', 'TextField']
72
73
  }
73
74
  }
74
75
  },
@@ -102,7 +103,7 @@ exports["default"] = _default;
102
103
  var Default = function Default(args) {
103
104
  return (0, _react2.jsx)(_index.AccordionGroup, (0, _extends2["default"])({
104
105
  labelHeadingTag: "h3"
105
- }, args), (0, _react2.jsx)(_reactStately.Item, {
106
+ }, args), (0, _react2.jsx)(_index.Item, {
106
107
  key: "accordionKey",
107
108
  textValue: "accordionKey",
108
109
  label: "Accordion Label",
@@ -119,14 +120,14 @@ Default.parameters = {
119
120
  var DifferentLevels = function DifferentLevels() {
120
121
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_index.AccordionGroup, {
121
122
  labelHeadingTag: "h3"
122
- }, (0, _react2.jsx)(_reactStately.Item, {
123
+ }, (0, _react2.jsx)(_index.Item, {
123
124
  key: "accordionLabelH3Key",
124
125
  textValue: "accordionLabelH3Key",
125
126
  label: "Accordion Label H3",
126
127
  "data-id": "accordionItem"
127
128
  }, (0, _react2.jsx)(_index.Text, null, "Render me!"))), (0, _react2.jsx)(_index.AccordionGroup, {
128
129
  labelHeadingTag: "h2"
129
- }, (0, _react2.jsx)(_reactStately.Item, {
130
+ }, (0, _react2.jsx)(_index.Item, {
130
131
  key: "accordionLabelH2Key",
131
132
  textValue: "accordionLabelH2Key",
132
133
  label: "Accordion Label H2",
@@ -138,7 +139,8 @@ DifferentLevels.parameters = {
138
139
  design: {
139
140
  type: 'figma',
140
141
  url: _figmaLinks.FIGMA_LINKS.accordionGroup.differentLevels
141
- }
142
+ },
143
+ codesandbox: false
142
144
  };
143
145
  var Multiple = function Multiple() {
144
146
  return (
@@ -155,7 +157,7 @@ var Multiple = function Multiple() {
155
157
  labelHeadingTag: "h3"
156
158
  }, function (item) {
157
159
  var _label;
158
- return (0, _react2.jsx)(_reactStately.Item, {
160
+ return (0, _react2.jsx)(_index.Item, {
159
161
  key: item.key,
160
162
  textValue: (_label = item.label) === null || _label === void 0 ? void 0 : _label.toString(),
161
163
  label: item.label
@@ -168,7 +170,8 @@ Multiple.parameters = {
168
170
  design: {
169
171
  type: 'figma',
170
172
  url: _figmaLinks.FIGMA_LINKS.accordionGroup.multiple
171
- }
173
+ },
174
+ codesandbox: false
172
175
  };
173
176
  var ControlledExpanded = function ControlledExpanded() {
174
177
  var _useState = (0, _react.useState)(['t3']),
@@ -194,7 +197,7 @@ var ControlledExpanded = function ControlledExpanded() {
194
197
  labelHeadingTag: "h3"
195
198
  }, function (item) {
196
199
  var _label2;
197
- return (0, _react2.jsx)(_reactStately.Item, {
200
+ return (0, _react2.jsx)(_index.Item, {
198
201
  key: item.key,
199
202
  textValue: (_label2 = item.label) === null || _label2 === void 0 ? void 0 : _label2.toString(),
200
203
  label: item.label
@@ -203,6 +206,9 @@ var ControlledExpanded = function ControlledExpanded() {
203
206
  );
204
207
  };
205
208
  exports.ControlledExpanded = ControlledExpanded;
209
+ ControlledExpanded.parameters = {
210
+ codesandbox: false
211
+ };
206
212
  var UncontrolledExpanded = function UncontrolledExpanded() {
207
213
  return (
208
214
  /*
@@ -218,7 +224,7 @@ var UncontrolledExpanded = function UncontrolledExpanded() {
218
224
  labelHeadingTag: "h3"
219
225
  }, function (item) {
220
226
  var _label3;
221
- return (0, _react2.jsx)(_reactStately.Item, {
227
+ return (0, _react2.jsx)(_index.Item, {
222
228
  key: item.key,
223
229
  textValue: (_label3 = item.label) === null || _label3 === void 0 ? void 0 : _label3.toString(),
224
230
  label: item.label
@@ -227,6 +233,9 @@ var UncontrolledExpanded = function UncontrolledExpanded() {
227
233
  );
228
234
  };
229
235
  exports.UncontrolledExpanded = UncontrolledExpanded;
236
+ UncontrolledExpanded.parameters = {
237
+ codesandbox: false
238
+ };
230
239
  var DisabledState = function DisabledState() {
231
240
  return (
232
241
  /*
@@ -242,7 +251,7 @@ var DisabledState = function DisabledState() {
242
251
  labelHeadingTag: "h3"
243
252
  }, function (item) {
244
253
  var _label4;
245
- return (0, _react2.jsx)(_reactStately.Item, {
254
+ return (0, _react2.jsx)(_index.Item, {
246
255
  key: item.key,
247
256
  textValue: (_label4 = item.label) === null || _label4 === void 0 ? void 0 : _label4.toString(),
248
257
  label: item.label
@@ -255,7 +264,8 @@ DisabledState.parameters = {
255
264
  design: {
256
265
  type: 'figma',
257
266
  url: _figmaLinks.FIGMA_LINKS.accordionGroup.disabledState
258
- }
267
+ },
268
+ codesandbox: false
259
269
  };
260
270
  var CustomPresentation = function CustomPresentation() {
261
271
  return (
@@ -271,7 +281,7 @@ var CustomPresentation = function CustomPresentation() {
271
281
  labelHeadingTag: "h3"
272
282
  }, function (item) {
273
283
  var _label5;
274
- return (0, _react2.jsx)(_reactStately.Item, {
284
+ return (0, _react2.jsx)(_index.Item, {
275
285
  key: item.key,
276
286
  textValue: (_label5 = item.label) === null || _label5 === void 0 ? void 0 : _label5.toString(),
277
287
  label: item.label,
@@ -294,12 +304,13 @@ CustomPresentation.parameters = {
294
304
  description: {
295
305
  story: 'In addition to customizing the theme, prop objects can be passed to certain elements. This allows for simple customization in a pinch. See the source code below for an example.'
296
306
  }
297
- }
307
+ },
308
+ codesandbox: false
298
309
  };
299
310
  var LabelWithBadge = function LabelWithBadge(args) {
300
311
  return (0, _react2.jsx)(_index.AccordionGroup, (0, _extends2["default"])({}, args, {
301
312
  labelHeadingTag: "h4"
302
- }), (0, _react2.jsx)(_reactStately.Item, {
313
+ }), (0, _react2.jsx)(_index.Item, {
303
314
  key: "accordionKey",
304
315
  textValue: "accordionKey",
305
316
  label: (0, _react2.jsx)(_index.Box, {
@@ -319,10 +330,10 @@ var LabelWithBadge = function LabelWithBadge(args) {
319
330
  }, (0, _react2.jsx)(_index.Text, null, "Render me!")));
320
331
  };
321
332
  exports.LabelWithBadge = LabelWithBadge;
322
- var AccordionWithSlot = function AccordionWithSlot(args) {
323
- return (0, _react2.jsx)(_index.AccordionGroup, (0, _extends2["default"])({
333
+ var AccordionWithSlot = function AccordionWithSlot() {
334
+ return (0, _react2.jsx)(_index.AccordionGroup, {
324
335
  labelHeadingTag: "h3"
325
- }, args), (0, _react2.jsx)(_reactStately.Item, {
336
+ }, (0, _react2.jsx)(_index.Item, {
326
337
  key: "accordionKey",
327
338
  textValue: "accordionKey",
328
339
  label: "Accordion Label",
@@ -332,4 +343,7 @@ var AccordionWithSlot = function AccordionWithSlot(args) {
332
343
  }
333
344
  }, (0, _react2.jsx)(_index.Text, null, "Render me!")));
334
345
  };
335
- exports.AccordionWithSlot = AccordionWithSlot;
346
+ exports.AccordionWithSlot = AccordionWithSlot;
347
+ AccordionWithSlot.parameters = {
348
+ codesandbox: false
349
+ };
@@ -6,9 +6,5 @@ export default _default;
6
6
  export declare const Uncontrolled: StoryFn<ArrayFieldProps>;
7
7
  export declare const Controlled: StoryFn<ArrayFieldProps>;
8
8
  export declare const WithLimitedItemsNumber: StoryFn<ArrayFieldProps>;
9
- export declare const Customizations: ({ ...args }: {
10
- [x: string]: any;
11
- }) => React.JSX.Element;
12
- export declare const WithBothSlots: ({ ...args }: {
13
- [x: string]: any;
14
- }) => React.JSX.Element;
9
+ export declare const Customizations: () => React.JSX.Element;
10
+ export declare const WithBothSlots: () => React.JSX.Element;
@@ -33,15 +33,13 @@ var _default = {
33
33
  title: 'Form/ArrayField',
34
34
  component: _index.ArrayField,
35
35
  parameters: {
36
+ codesandbox: false,
36
37
  actions: {
37
38
  argTypesRegex: '^on.*'
38
39
  },
39
40
  docs: {
40
41
  page: function page() {
41
42
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_ArrayField["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
42
- },
43
- source: {
44
- type: 'code'
45
43
  }
46
44
  }
47
45
  },
@@ -88,8 +86,11 @@ var defaultData = [{
88
86
  }];
89
87
  var Uncontrolled = function Uncontrolled(_ref) {
90
88
  var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref), _ref));
91
- return (0, _react2.jsx)(_index.ArrayField, (0, _extends2["default"])({
89
+ return (0, _react2.jsx)(_index.ArrayField, {
92
90
  defaultValue: defaultData,
91
+ label: "Array field label",
92
+ helperText: "Helper text info...",
93
+ addButtonLabel: "+ Add field",
93
94
  labelProps: {
94
95
  hintText: 'Example Hint',
95
96
  isRequired: true,
@@ -118,7 +119,7 @@ var Uncontrolled = function Uncontrolled(_ref) {
118
119
  sx: {
119
120
  width: '400px'
120
121
  }
121
- }, args));
122
+ });
122
123
  };
123
124
  exports.Uncontrolled = Uncontrolled;
124
125
  var Controlled = function Controlled(_ref2) {
@@ -245,13 +246,12 @@ var Controlled = function Controlled(_ref2) {
245
246
  sx: {
246
247
  width: '400px'
247
248
  },
248
- label: args.label
249
+ label: "Array field label"
249
250
  });
250
251
  };
251
252
  exports.Controlled = Controlled;
252
- var WithLimitedItemsNumber = function WithLimitedItemsNumber(_ref4) {
253
- var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref4), _ref4));
254
- return (0, _react2.jsx)(_index.ArrayField, (0, _extends2["default"])({
253
+ var WithLimitedItemsNumber = function WithLimitedItemsNumber() {
254
+ return (0, _react2.jsx)(_index.ArrayField, {
255
255
  defaultValue: defaultData,
256
256
  renderField: function renderField(id, fieldValue, onFieldValueChange, onFieldDelete, isDisabled, otherFieldProps) {
257
257
  return (0, _react2.jsx)(_index.TextField, (0, _extends2["default"])({
@@ -274,13 +274,15 @@ var WithLimitedItemsNumber = function WithLimitedItemsNumber(_ref4) {
274
274
  sx: {
275
275
  width: '400px'
276
276
  },
277
- maxSize: 3
278
- }, args));
277
+ maxSize: 3,
278
+ label: "Array field label",
279
+ helperText: "Helper text info...",
280
+ addButtonLabel: "+ Add field"
281
+ });
279
282
  };
280
283
  exports.WithLimitedItemsNumber = WithLimitedItemsNumber;
281
- var Customizations = function Customizations(_ref5) {
282
- var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref5), _ref5));
283
- return (0, _react2.jsx)(_index.ArrayField, (0, _extends2["default"])({
284
+ var Customizations = function Customizations() {
285
+ return (0, _react2.jsx)(_index.ArrayField, {
284
286
  fieldControlWrapperProps: {
285
287
  overflowY: 'scroll',
286
288
  maxHeight: '150px'
@@ -315,12 +317,14 @@ var Customizations = function Customizations(_ref5) {
315
317
  })
316
318
  }
317
319
  }, otherFieldProps)));
318
- }
319
- }, args));
320
+ },
321
+ label: "Array field label",
322
+ helperText: "Helper text info...",
323
+ addButtonLabel: "+ Add field"
324
+ });
320
325
  };
321
326
  exports.Customizations = Customizations;
322
- var WithBothSlots = function WithBothSlots(_ref6) {
323
- var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref6), _ref6));
327
+ var WithBothSlots = function WithBothSlots() {
324
328
  var LeftSlot = (0, _react2.jsx)(_index.Button, {
325
329
  "aria-label": "Add field",
326
330
  variant: "link",
@@ -343,7 +347,7 @@ var WithBothSlots = function WithBothSlots(_ref6) {
343
347
  variant: "label",
344
348
  color: "active"
345
349
  }, "Right slot"));
346
- return (0, _react2.jsx)(_index.ArrayField, (0, _extends2["default"])({
350
+ return (0, _react2.jsx)(_index.ArrayField, {
347
351
  defaultValue: defaultData,
348
352
  sx: {
349
353
  width: '450px'
@@ -378,7 +382,10 @@ var WithBothSlots = function WithBothSlots(_ref6) {
378
382
  })
379
383
  }
380
384
  }, otherFieldProps)));
381
- }
382
- }, args));
385
+ },
386
+ label: "Array field label",
387
+ helperText: "Helper text info...",
388
+ addButtonLabel: "+ Add field"
389
+ });
383
390
  };
384
391
  exports.WithBothSlots = WithBothSlots;
@@ -19,7 +19,8 @@ var _default = {
19
19
  page: function page() {
20
20
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_AstroProvider["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
21
21
  }
22
- }
22
+ },
23
+ codesandbox: false
23
24
  },
24
25
  decorators: [function (Story) {
25
26
  return (0, _react2.jsx)("div", null, (0, _react2.jsx)(Story, null));
@@ -9,6 +9,7 @@ exports["default"] = exports.Default = void 0;
9
9
  var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectDestructuringEmpty"));
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
11
11
  var _react = _interopRequireDefault(require("react"));
12
+ var _storybookAddonDesigns = require("storybook-addon-designs");
12
13
  var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
13
14
  var _index = require("../../index");
14
15
  var _images = require("../../utils/devUtils/constants/images");
@@ -17,13 +18,11 @@ var _react2 = require("@emotion/react");
17
18
  var _default = {
18
19
  title: 'Components/Avatar',
19
20
  component: _index.Avatar,
21
+ decorators: [_storybookAddonDesigns.withDesign],
20
22
  parameters: {
21
23
  docs: {
22
24
  page: function page() {
23
25
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Avatar["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
24
- },
25
- source: {
26
- type: 'code'
27
26
  }
28
27
  }
29
28
  },
@@ -32,6 +31,24 @@ var _default = {
32
31
  control: {
33
32
  type: 'none'
34
33
  }
34
+ },
35
+ size: {
36
+ control: {
37
+ type: 'text'
38
+ },
39
+ description: 'Size of the avatar. Can be a string. like 50px'
40
+ },
41
+ alt: {
42
+ control: {
43
+ type: 'text'
44
+ },
45
+ description: 'Alternative text for the image.'
46
+ },
47
+ defaultText: {
48
+ control: {
49
+ type: 'text'
50
+ },
51
+ description: 'Default text to be displayed when src is not available.'
35
52
  }
36
53
  },
37
54
  args: {
@@ -63,12 +63,14 @@ var _default = {
63
63
  },
64
64
  parameters: {
65
65
  docs: {
66
- source: {
67
- type: 'code'
68
- },
69
66
  page: function page() {
70
67
  return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Badge["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
71
68
  }
69
+ },
70
+ codesandbox: {
71
+ mapComponent: {
72
+ '@pingux/astro': ['Badge', 'Box', 'Icon', 'IconButton']
73
+ }
72
74
  }
73
75
  }
74
76
  };
@@ -115,17 +117,17 @@ Default.parameters = {
115
117
  url: _figmaLinks.FIGMA_LINKS.badge["default"]
116
118
  }
117
119
  };
118
- var CountBadge = function CountBadge() {
120
+ var CountBadge = function CountBadge(args) {
119
121
  return (0, _react2.jsx)(_index.Box, {
120
122
  isRow: true,
121
123
  gap: "xs"
122
- }, (0, _react2.jsx)(_index.Badge, {
124
+ }, (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
123
125
  label: "4",
124
126
  variant: "countBadge"
125
- }), (0, _react2.jsx)(_index.Badge, {
127
+ })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
126
128
  label: "4",
127
129
  variant: "countNeutral"
128
- }));
130
+ })));
129
131
  };
130
132
  exports.CountBadge = CountBadge;
131
133
  CountBadge.parameters = {
@@ -134,12 +136,12 @@ CountBadge.parameters = {
134
136
  url: _figmaLinks.FIGMA_LINKS.badge.countBadge
135
137
  }
136
138
  };
137
- var BadgeWithCustomColors = function BadgeWithCustomColors() {
138
- return (0, _react2.jsx)(_index.Badge, {
139
+ var BadgeWithCustomColors = function BadgeWithCustomColors(args) {
140
+ return (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
139
141
  label: "Custom Colors",
140
142
  bg: "green",
141
143
  textColor: "#ffffff"
142
- });
144
+ }));
143
145
  };
144
146
  exports.BadgeWithCustomColors = BadgeWithCustomColors;
145
147
  var BadgeWithIcon = function BadgeWithIcon() {
@@ -192,6 +194,9 @@ var BadgeWithIcon = function BadgeWithIcon() {
192
194
  })));
193
195
  };
194
196
  exports.BadgeWithIcon = BadgeWithIcon;
197
+ BadgeWithIcon.parameters = {
198
+ codesandbox: false
199
+ };
195
200
  var BadgeWithLeftSlotAndIcon = function BadgeWithLeftSlotAndIcon() {
196
201
  return (0, _react2.jsx)(_index.Badge, {
197
202
  label: "Badge with Icon Button and Left Slot",
@@ -215,26 +220,25 @@ var BadgeWithLeftSlotAndIcon = function BadgeWithLeftSlotAndIcon() {
215
220
  })));
216
221
  };
217
222
  exports.BadgeWithLeftSlotAndIcon = BadgeWithLeftSlotAndIcon;
223
+ BadgeWithLeftSlotAndIcon.parameters = {
224
+ codesandbox: false
225
+ };
218
226
  var StatusBadgeVariants = function StatusBadgeVariants(_ref6) {
219
227
  var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref6), _ref6));
220
- return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({
221
- variant: "criticalStatusBadge"
222
- }, args, {
228
+ return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
229
+ variant: "criticalStatusBadge",
223
230
  label: "Critical",
224
231
  mb: "lg"
225
- })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({
226
- variant: "warningStatusBadge"
227
- }, args, {
232
+ })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
233
+ variant: "warningStatusBadge",
228
234
  label: "Warning",
229
235
  mb: "lg"
230
- })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({
231
- variant: "healthyStatusBadge"
232
- }, args, {
236
+ })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
237
+ variant: "healthyStatusBadge",
233
238
  label: "Healthy",
234
239
  mb: "lg"
235
- })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({
236
- variant: "activeStatusBadge"
237
- }, args, {
240
+ })), (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
241
+ variant: "activeStatusBadge",
238
242
  label: "Active"
239
243
  })));
240
244
  };