@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
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
1
2
  import React from 'react';
2
3
  import DocsLayout from '../../../.storybook/storybookDocsLayout';
3
4
  import { Box, Grid, Text } from '../../index';
@@ -11,16 +12,40 @@ export default {
11
12
  page: function page() {
12
13
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(GridReadme, null), ___EmotionJSX(DocsLayout, null));
13
14
  }
15
+ },
16
+ codesandbox: {
17
+ mapComponent: {
18
+ '@pingux/astro': ['Box', 'Grid', 'Text']
19
+ }
20
+ }
21
+ },
22
+ argTypes: {
23
+ repeat: {
24
+ options: ['fit', 'fill'],
25
+ control: {
26
+ type: 'select'
27
+ }
28
+ },
29
+ gap: {
30
+ control: {
31
+ type: 'number'
32
+ }
33
+ },
34
+ width: {
35
+ control: false
36
+ },
37
+ columns: {
38
+ control: false
14
39
  }
15
40
  }
16
41
  };
17
- export var Default = function Default() {
42
+ export var Default = function Default(args) {
18
43
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Text, {
19
44
  mb: "sm",
20
45
  fontStyle: "italic"
21
- }, "Minimum width of child elements at responsive breakpoints"), ___EmotionJSX(Grid, {
46
+ }, "Minimum width of child elements at responsive breakpoints"), ___EmotionJSX(Grid, _extends({
22
47
  width: [128, null, 192]
23
- }, ___EmotionJSX(Box, {
48
+ }, args), ___EmotionJSX(Box, {
24
49
  bg: "accent.90"
25
50
  }, "Box"), ___EmotionJSX(Box, {
26
51
  bg: "neutral.80"
@@ -32,10 +57,10 @@ export var Default = function Default() {
32
57
  mt: "xl",
33
58
  mb: "sm",
34
59
  fontStyle: "italic"
35
- }, "Defined number of equally-sized columns at responsive breakpoints"), ___EmotionJSX(Grid, {
60
+ }, "Defined number of equally-sized columns at responsive breakpoints"), ___EmotionJSX(Grid, _extends({
36
61
  gap: 2,
37
62
  columns: [2, null, 4]
38
- }, ___EmotionJSX(Box, {
63
+ }, args), ___EmotionJSX(Box, {
39
64
  bg: "accent.90"
40
65
  }, "Box"), ___EmotionJSX(Box, {
41
66
  bg: "neutral.80"
@@ -47,10 +72,10 @@ export var Default = function Default() {
47
72
  mt: "xl",
48
73
  mb: "sm",
49
74
  fontStyle: "italic"
50
- }, "Columns using grid syntax sizing at responsive breakpoints"), ___EmotionJSX(Grid, {
75
+ }, "Columns using grid syntax sizing at responsive breakpoints"), ___EmotionJSX(Grid, _extends({
51
76
  gap: 2,
52
77
  columns: [2, '1fr 2fr']
53
- }, ___EmotionJSX(Box, {
78
+ }, args), ___EmotionJSX(Box, {
54
79
  bg: "accent.90"
55
80
  }, "Box"), ___EmotionJSX(Box, {
56
81
  bg: "neutral.80"
@@ -15,6 +15,11 @@ export default {
15
15
  page: function page() {
16
16
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(HelpHintReadme, null), ___EmotionJSX(DocsLayout, null));
17
17
  }
18
+ },
19
+ codesandbox: {
20
+ mapComponent: {
21
+ '@pingux/astro': ['Box', 'HelpHint', 'Link', 'Text']
22
+ }
18
23
  }
19
24
  },
20
25
  argTypes: {
@@ -40,10 +45,10 @@ Default.parameters = {
40
45
  url: FIGMA_LINKS.helpHint["default"]
41
46
  }
42
47
  };
43
- export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps() {
48
+ export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps(args) {
44
49
  return ___EmotionJSX(Box, {
45
50
  p: 100
46
- }, ___EmotionJSX(HelpHint, {
51
+ }, ___EmotionJSX(HelpHint, _extends({}, args, {
47
52
  popoverProps: {
48
53
  'data-testid': 'popover-container'
49
54
  },
@@ -51,12 +56,12 @@ export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProp
51
56
  'aria-label': 'Help hint'
52
57
  },
53
58
  direction: "bottom"
54
- }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
59
+ }), "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
55
60
  };
56
- export var ContentWithLink = function ContentWithLink() {
61
+ export var ContentWithLink = function ContentWithLink(args) {
57
62
  return ___EmotionJSX(Box, {
58
63
  p: 100
59
- }, ___EmotionJSX(HelpHint, null, ___EmotionJSX(Text, {
64
+ }, ___EmotionJSX(HelpHint, args, ___EmotionJSX(Text, {
60
65
  variant: "popover"
61
66
  }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"), ___EmotionJSX(Link, {
62
67
  variant: "popover",
@@ -77,10 +82,10 @@ export var WithDelay = function WithDelay(args) {
77
82
  closeDelay: 5000
78
83
  })));
79
84
  };
80
- export var Customization = function Customization() {
85
+ export var Customization = function Customization(args) {
81
86
  return ___EmotionJSX(Box, {
82
87
  p: 100
83
- }, ___EmotionJSX(HelpHint, {
88
+ }, ___EmotionJSX(HelpHint, _extends({}, args, {
84
89
  direction: "bottom"
85
- }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
90
+ }), "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
86
91
  };
@@ -35,9 +35,15 @@ export default {
35
35
  docs: {
36
36
  page: function page() {
37
37
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconReadme, null), ___EmotionJSX(DocsLayout, null));
38
- },
39
- source: {
40
- type: 'code'
38
+ }
39
+ },
40
+ codesandbox: {
41
+ mapComponent: {
42
+ '@pingux/mdi-react/AccountGroupIcon': 'AccountGroupIcon',
43
+ '@pingux/mdi-react/AccountIcon': 'AccountIcon',
44
+ '@pingux/mdi-react/LockIcon': 'LockIcon',
45
+ '@pingux/mdi-react/SearchIcon': 'SearchIcon',
46
+ '@pingux/mdi-react/TagIcon': 'TagIcon'
41
47
  }
42
48
  }
43
49
  },
@@ -79,7 +85,7 @@ Default.parameters = {
79
85
  url: FIGMA_LINKS.icon["default"]
80
86
  }
81
87
  };
82
- export var SVGIcons = function SVGIcons() {
88
+ export var SVGIcons = function SVGIcons(args) {
83
89
  // SVGR can used to convert .svg files to components instead of doing this manually
84
90
  var SVGComponent = function SVGComponent(props) {
85
91
  var id = uuid();
@@ -95,11 +101,11 @@ export var SVGIcons = function SVGIcons() {
95
101
  d: "M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"
96
102
  }));
97
103
  };
98
- return ___EmotionJSX(Icon, {
104
+ return ___EmotionJSX(Icon, _extends({}, args, {
99
105
  icon: SVGComponent,
100
106
  color: "active",
101
107
  size: "sm"
102
- });
108
+ }));
103
109
  };
104
110
  var rowHeadings = ['SVG Size', 'Code Example', 'Icon Example'];
105
111
  export var Sizes = function Sizes() {
@@ -160,6 +166,9 @@ export var Sizes = function Sizes() {
160
166
  }
161
167
  })))));
162
168
  };
169
+ Sizes.parameters = {
170
+ codesandbox: false
171
+ };
163
172
  export var CommonlyUsed = function CommonlyUsed() {
164
173
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, {
165
174
  isRow: true,
@@ -227,4 +236,7 @@ export var CommonlyUsed = function CommonlyUsed() {
227
236
  }), ___EmotionJSX(Text, {
228
237
  fontFamily: "monospace"
229
238
  }, "import TagIcon from '@pingux/mdi-react/TagIcon'; ")));
239
+ };
240
+ CommonlyUsed.parameters = {
241
+ codesandbox: false
230
242
  };
@@ -16,9 +16,13 @@ export default {
16
16
  docs: {
17
17
  page: function page() {
18
18
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconBadgeReadme, null), ___EmotionJSX(DocsLayout, null));
19
- },
20
- source: {
21
- type: 'code'
19
+ }
20
+ },
21
+ codesandbox: {
22
+ mapComponent: {
23
+ '@pingux/mdi-react/AccountGroupIcon': 'GroupIcon',
24
+ '@pingux/mdi-react/ArrowTopRightThickIcon': 'ArrowIcon',
25
+ '@pingux/astro': ['Box', 'Icon', 'IconBadge']
22
26
  }
23
27
  }
24
28
  }
@@ -20,9 +20,16 @@ export default {
20
20
  docs: {
21
21
  page: function page() {
22
22
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconButtonReadme, null), ___EmotionJSX(DocsLayout, null));
23
- },
24
- source: {
25
- type: 'code'
23
+ }
24
+ },
25
+ codesandbox: {
26
+ mapComponent: {
27
+ '@pingux/astro': ['Box', 'Icon', 'IconButton', 'Text'],
28
+ '@pingux/mdi-react/CreateIcon': 'CreateIcon',
29
+ '@pingux/mdi-react/DeleteIcon': 'DeleteIcon',
30
+ '@pingux/mdi-react/DotsVerticalIcon': 'DotsVerticalIcon',
31
+ '@pingux/mdi-react/PencilIcon': 'PencilIcon',
32
+ '@pingux/mdi-react/PlusIcon': 'PlusIcon'
26
33
  }
27
34
  }
28
35
  },
@@ -63,11 +70,11 @@ Inverted.parameters = {
63
70
  url: FIGMA_LINKS.iconButton.inverted
64
71
  }
65
72
  };
66
- export var WithTooltip = function WithTooltip() {
67
- return ___EmotionJSX(IconButton, {
73
+ export var WithTooltip = function WithTooltip(args) {
74
+ return ___EmotionJSX(IconButton, _extends({
68
75
  "aria-label": "icon button with tooltip",
69
76
  title: "Edit"
70
- }, ___EmotionJSX(Icon, {
77
+ }, args), ___EmotionJSX(Icon, {
71
78
  icon: CreateIcon,
72
79
  size: "sm",
73
80
  title: {
@@ -206,7 +213,8 @@ Sizes.parameters = {
206
213
  design: {
207
214
  type: 'figma',
208
215
  url: FIGMA_LINKS.iconButton.sizes
209
- }
216
+ },
217
+ codesandbox: false
210
218
  };
211
219
  export var CommonlyUsed = function CommonlyUsed() {
212
220
  return (
@@ -534,5 +542,6 @@ CommonlyUsed.parameters = {
534
542
  design: {
535
543
  type: 'figma',
536
544
  url: FIGMA_LINKS.iconButton.commonlyUsed
537
- }
545
+ },
546
+ codesandbox: false
538
547
  };
@@ -15,6 +15,13 @@ export default {
15
15
  page: function page() {
16
16
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconButtonToggleReadme, null), ___EmotionJSX(DocsLayout, null));
17
17
  }
18
+ },
19
+ codesandbox: {
20
+ mapComponent: {
21
+ '@pingux/astro': ['IconButtonToggle'],
22
+ '@pingux/mdi-react/EyeOffOutlineIcon': 'EyeOffIcon',
23
+ '@pingux/mdi-react/EyeOutlineIcon': 'EyeIcon'
24
+ }
18
25
  }
19
26
  }
20
27
  };
@@ -23,9 +23,12 @@ export default {
23
23
  docs: {
24
24
  page: function page() {
25
25
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconWrapperReadme, null), ___EmotionJSX(DocsLayout, null));
26
- },
27
- source: {
28
- type: 'code'
26
+ }
27
+ },
28
+ codesandbox: {
29
+ mapComponent: {
30
+ '@pingux/astro': ['IconWrapper'],
31
+ '@pingux/mdi-react/DeleteIcon': 'DeleteIcon'
29
32
  }
30
33
  }
31
34
  },
@@ -17,6 +17,11 @@ export default {
17
17
  page: function page() {
18
18
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ImageReadme, null), ___EmotionJSX(DocsLayout, null));
19
19
  }
20
+ },
21
+ codesandbox: {
22
+ mapComponent: {
23
+ '@pingux/astro': ['Box', 'Button', 'Image']
24
+ }
20
25
  }
21
26
  },
22
27
  argTypes: {
@@ -49,15 +54,17 @@ export var Default = function Default(_ref) {
49
54
  alt: "Ping identity square logo"
50
55
  }));
51
56
  };
52
- export var Avatar = function Avatar() {
53
- return ___EmotionJSX(Image, {
57
+ export var Avatar = function Avatar(_ref2) {
58
+ var args = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));
59
+ return ___EmotionJSX(Image, _extends({}, args, {
54
60
  src: pingImg,
55
61
  variant: "images.avatar",
56
62
  alt: "Ping identity round avatar"
57
- });
63
+ }));
58
64
  };
59
- export var CustomSizeAndRadius = function CustomSizeAndRadius() {
60
- return ___EmotionJSX(Image, {
65
+ export var CustomSizeAndRadius = function CustomSizeAndRadius(_ref3) {
66
+ var args = _extends({}, (_objectDestructuringEmpty(_ref3), _ref3));
67
+ return ___EmotionJSX(Image, _extends({}, args, {
61
68
  src: chiefIdentityChampions,
62
69
  sx: {
63
70
  width: '70px',
@@ -66,17 +73,19 @@ export var CustomSizeAndRadius = function CustomSizeAndRadius() {
66
73
  bg: 'neutral.90'
67
74
  },
68
75
  alt: "Terry Crews in a red suite"
69
- });
76
+ }));
70
77
  };
71
- export var Disabled = function Disabled() {
72
- return ___EmotionJSX(Image, {
78
+ export var Disabled = function Disabled(_ref4) {
79
+ var args = _extends({}, (_objectDestructuringEmpty(_ref4), _ref4));
80
+ return ___EmotionJSX(Image, _extends({}, args, {
73
81
  src: pingImg,
74
82
  isDisabled: true,
75
83
  alt: "Ping identity square logo"
76
- });
84
+ }));
77
85
  };
78
- export var FallbackImage = function FallbackImage() {
79
- return ___EmotionJSX(Image, {
86
+ export var FallbackImage = function FallbackImage(_ref5) {
87
+ var args = _extends({}, (_objectDestructuringEmpty(_ref5), _ref5));
88
+ return ___EmotionJSX(Image, _extends({}, args, {
80
89
  fallbackImage: fallbackImg,
81
90
  fallbackAlt: "Ping Identity",
82
91
  src: "https://deelay.me/7000/https://picsum.photos/150/150",
@@ -85,7 +94,7 @@ export var FallbackImage = function FallbackImage() {
85
94
  height: '150px'
86
95
  },
87
96
  alt: "Random image"
88
- });
97
+ }));
89
98
  };
90
99
  export var WithSkeletonLoadSuccess = function WithSkeletonLoadSuccess() {
91
100
  var imageSrc = isChromatic() ? pingImg : 'https://app.requestly.io/delay/3000/https://picsum.photos/150/150';
@@ -98,6 +107,9 @@ export var WithSkeletonLoadSuccess = function WithSkeletonLoadSuccess() {
98
107
  alt: "Random image"
99
108
  });
100
109
  };
110
+ WithSkeletonLoadSuccess.parameters = {
111
+ codesandbox: false
112
+ };
101
113
  export var WithSkeletonLoadTimeout = function WithSkeletonLoadTimeout() {
102
114
  return ___EmotionJSX(Image, {
103
115
  src: "https://app.requestly.io/delay/7000/https://picsum.photos/150/150",
@@ -132,4 +144,7 @@ export var UpdatingImageSrc = function UpdatingImageSrc() {
132
144
  },
133
145
  alt: image === pingImg ? 'Ping identity square logo' : 'Terry Crews in a red suite'
134
146
  }));
147
+ };
148
+ UpdatingImageSrc.parameters = {
149
+ codesandbox: false
135
150
  };
@@ -13,9 +13,9 @@ import _Object$setPrototypeOf from "@babel/runtime-corejs3/core-js-stable/object
13
13
  import _reverseInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/reverse";
14
14
  import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/slice";
15
15
  import _typeof from "@babel/runtime-corejs3/helpers/esm/typeof";
16
- import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
17
16
  import _asyncToGenerator from "@babel/runtime-corejs3/helpers/esm/asyncToGenerator";
18
17
  import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
18
+ import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
19
19
  import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
20
20
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = _Object$defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof _Symbol ? _Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return _Object$defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = _Object$create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = _Object$getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); function defineIteratorMethods(prototype) { var _context5; _forEachInstanceProperty(_context5 = ["next", "throw", "return"]).call(_context5, function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], _forEachInstanceProperty(tryLocsList).call(tryLocsList, pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = _Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return _reverseInstanceProperty(keys).call(keys), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { var _context6; if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty(_context6 = this.tryEntries).call(_context6, resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
21
21
  import _Promise from "@babel/runtime-corejs3/core-js-stable/promise";
@@ -37,9 +37,6 @@ export default {
37
37
  docs: {
38
38
  page: function page() {
39
39
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ImageUploadFieldReadme, null), ___EmotionJSX(DocsLayout, null));
40
- },
41
- source: {
42
- type: 'code'
43
40
  }
44
41
  }
45
42
  },
@@ -104,36 +101,36 @@ export var Default = function Default(args) {
104
101
  ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, args))
105
102
  );
106
103
  };
107
- export var CustomDefaultImage = function CustomDefaultImage() {
104
+ export var CustomDefaultImage = function CustomDefaultImage(args) {
108
105
  return (
109
106
  // Application must be wrapped in an OverlayProvider so that it can be hidden from screen
110
107
  // readers when an overlay opens.
111
- ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, {
108
+ ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, _extends({}, args, {
112
109
  label: "Upload Image",
113
110
  defaultPreviewImage: "https://picsum.photos/id/1056/200/300",
114
111
  previewHeight: 150,
115
112
  previewWidth: 150
116
- }))
113
+ })))
117
114
  );
118
115
  };
119
- export var CustomItemText = function CustomItemText() {
116
+ export var CustomItemText = function CustomItemText(args) {
120
117
  return (
121
118
  // Application must be wrapped in an OverlayProvider so that it can be hidden from screen
122
119
  // readers when an overlay opens.
123
- ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, {
120
+ ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, _extends({}, args, {
124
121
  label: "Upload Image",
125
122
  previewHeight: 150,
126
123
  previewWidth: 150,
127
124
  uploadItemText: "Custom Upload String",
128
125
  removeItemText: "Custom Remove String"
129
- }))
126
+ })))
130
127
  );
131
128
  };
132
- export var ComponentAsDefaultImage = function ComponentAsDefaultImage() {
129
+ export var ComponentAsDefaultImage = function ComponentAsDefaultImage(args) {
133
130
  return (
134
131
  // Application must be wrapped in an OverlayProvider so that it can be hidden from screen
135
132
  // readers when an overlay opens.
136
- ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, {
133
+ ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(ImageUploadField, _extends({}, args, {
137
134
  label: "Upload Image with component as default image",
138
135
  previewHeight: 150,
139
136
  previewWidth: 150,
@@ -141,7 +138,7 @@ export var ComponentAsDefaultImage = function ComponentAsDefaultImage() {
141
138
  alt: "uploaded file preview",
142
139
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAYAAAA+s9J6AAAAIGNI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HGdW6JzoCkCbB5cvSAgyt28iOW75NtK5eCXACUD2hAiMao+UvT+ObUU3Hcy/S9PtHiDZM/D59Jyrjv06oOCbQPB6cuQHLP9Q0VSa1iWMC1gkVxwRmLE4iFktvNaCYOJQIFRYi/Y9iglGvPIXCZpQIFQqbUSJUKGxGiVChsBklQoXCZpQIFQqbUSJUKGxGiVChsBklQoXCZpQIFQqbUSJUKGxGiVChsJn/D0GKtZYtFq7OAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA2LTAxVDE0OjIzOjMyKzAwOjAw8a3O2AAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNi0wMVQxNDoyMzozMiswMDowMIDwdmQAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjMtMDYtMDFUMTQ6MjM6NDMrMDA6MDB7V1UWAAAAAElFTkSuQmCC"
143
140
  })
144
- }))
141
+ })))
145
142
  );
146
143
  };
147
144
  export var ExistingImage = function ExistingImage() {
@@ -26,10 +26,10 @@ export default {
26
26
  export var Default = function Default(args) {
27
27
  return ___EmotionJSX(Label, args, "This is a label");
28
28
  };
29
- export var Float = function Float() {
30
- return ___EmotionJSX(Label, {
29
+ export var Float = function Float(args) {
30
+ return ___EmotionJSX(Label, _extends({}, args, {
31
31
  mode: "float"
32
- }, "This is a float label");
32
+ }), "This is a float label");
33
33
  };
34
34
  export var WithHelpHint = function WithHelpHint(args) {
35
35
  return ___EmotionJSX(Label, _extends({
@@ -21,6 +21,11 @@ export default {
21
21
  page: function page() {
22
22
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(LinkReadme, null), ___EmotionJSX(DocsLayout, null));
23
23
  }
24
+ },
25
+ codesandbox: {
26
+ mapComponent: {
27
+ '@pingux/astro': ['Link', 'Text']
28
+ }
24
29
  }
25
30
  },
26
31
  argTypes: {
@@ -42,9 +42,11 @@ export default {
42
42
  docs: {
43
43
  page: function page() {
44
44
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(LinkSelectFieldReadme, null), ___EmotionJSX(DocsLayout, null));
45
- },
46
- source: {
47
- type: 'code'
45
+ }
46
+ },
47
+ codesandbox: {
48
+ mapComponent: {
49
+ '@pingux/astro': ['Box', 'Item', 'LinkSelectField', 'Section']
48
50
  }
49
51
  }
50
52
  },
@@ -176,11 +178,11 @@ export var WithNoneOption = function WithNoneOption() {
176
178
  key: "yellow"
177
179
  }, "Yellow")));
178
180
  };
179
- export var DisabledField = function DisabledField() {
180
- return ___EmotionJSX(LinkSelectField, {
181
+ export var DisabledField = function DisabledField(args) {
182
+ return ___EmotionJSX(LinkSelectField, _extends({}, args, {
181
183
  label: "What's your favorite color?",
182
184
  isDisabled: true
183
- }, ___EmotionJSX(Item, {
185
+ }), ___EmotionJSX(Item, {
184
186
  key: "red"
185
187
  }, "Red"), ___EmotionJSX(Item, {
186
188
  key: "blue"
@@ -188,11 +190,11 @@ export var DisabledField = function DisabledField() {
188
190
  key: "yellow"
189
191
  }, "Yellow"));
190
192
  };
191
- export var DisabledOptions = function DisabledOptions() {
192
- return ___EmotionJSX(LinkSelectField, {
193
+ export var DisabledOptions = function DisabledOptions(args) {
194
+ return ___EmotionJSX(LinkSelectField, _extends({}, args, {
193
195
  label: "What's your favorite color?",
194
196
  disabledKeys: ['blue']
195
- }, ___EmotionJSX(Item, {
197
+ }), ___EmotionJSX(Item, {
196
198
  key: "red"
197
199
  }, "Red"), ___EmotionJSX(Item, {
198
200
  key: "blue"
@@ -200,19 +202,19 @@ export var DisabledOptions = function DisabledOptions() {
200
202
  key: "yellow"
201
203
  }, "Yellow"));
202
204
  };
203
- export var NoOptionsAvailable = function NoOptionsAvailable() {
204
- return ___EmotionJSX(LinkSelectField, {
205
+ export var NoOptionsAvailable = function NoOptionsAvailable(args) {
206
+ return ___EmotionJSX(LinkSelectField, _extends({}, args, {
205
207
  label: "Select an option...",
206
208
  isDisabled: true,
207
209
  defaultText: "No options available"
208
- });
210
+ }));
209
211
  };
210
- export var HelperText = function HelperText() {
211
- return ___EmotionJSX(LinkSelectField, {
212
+ export var HelperText = function HelperText(args) {
213
+ return ___EmotionJSX(LinkSelectField, _extends({}, args, {
212
214
  status: "error",
213
215
  helperText: "Here is some helpful text...",
214
216
  label: "What's your favorite color?"
215
- }, ___EmotionJSX(Item, {
217
+ }), ___EmotionJSX(Item, {
216
218
  key: "red"
217
219
  }, "Red"), ___EmotionJSX(Item, {
218
220
  key: "blue"
@@ -243,7 +245,8 @@ export var DynamicItems = function DynamicItems() {
243
245
  DynamicItems.parameters = {
244
246
  docs: {
245
247
  storyDescription: 'If using a long list or one that is dynamically updated, use the `items` prop and a function to render the children. See [the React Stately docs](https://react-spectrum.adobe.com/react-stately/collections.html#dynamic-collections) for more information about this.'
246
- }
248
+ },
249
+ codesandbox: false
247
250
  };
248
251
  export var AsyncLoading = function AsyncLoading() {
249
252
  // This example uses `useAsyncList` from "@react-stately/data"
@@ -292,4 +295,7 @@ export var AsyncLoading = function AsyncLoading() {
292
295
  key: item.name
293
296
  }, item.name);
294
297
  }));
298
+ };
299
+ AsyncLoading.parameters = {
300
+ codesandbox: false
295
301
  };