@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
@@ -36,7 +36,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "functi
36
36
  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; }
37
37
  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 _context6; _forEachInstanceProperty(_context6 = ["next", "throw", "return"]).call(_context6, 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 _context7; 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(_context7 = this.tryEntries).call(_context7, 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; }
38
38
  var _default = {
39
- title: 'Recipes/Data Visualization with Filtering'
39
+ title: 'Recipes/Data Visualization with Filtering',
40
+ parameters: {
41
+ codesandbox: false
42
+ }
40
43
  };
41
44
  exports["default"] = _default;
42
45
  var columns = [{
@@ -24,7 +24,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "functi
24
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
  var _default = {
26
26
  title: 'Recipes/DateTimeRangePicker',
27
- decorators: [_storybookAddonDesigns.withDesign]
27
+ decorators: [_storybookAddonDesigns.withDesign],
28
+ parameters: {
29
+ codesandbox: false
30
+ }
28
31
  };
29
32
  exports["default"] = _default;
30
33
  var dropdownItems = [{
@@ -34,7 +34,10 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (
34
34
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
35
35
  var _default = {
36
36
  title: 'Recipes/Inline Editing',
37
- decorators: [_storybookAddonDesigns.withDesign]
37
+ decorators: [_storybookAddonDesigns.withDesign],
38
+ parameters: {
39
+ codesandbox: false
40
+ }
38
41
  };
39
42
  exports["default"] = _default;
40
43
  var EditableAreaContext = /*#__PURE__*/(0, _react.createContext)();
@@ -37,7 +37,8 @@ var _default = {
37
37
  source: {
38
38
  type: 'code'
39
39
  }
40
- }
40
+ },
41
+ codesandbox: false
41
42
  }
42
43
  };
43
44
  exports["default"] = _default;
@@ -29,7 +29,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
29
29
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
30
30
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
31
31
  var _default = {
32
- title: 'Recipes/Logo Tabs'
32
+ title: 'Recipes/Logo Tabs',
33
+ parameters: {
34
+ codesandbox: false
35
+ }
33
36
  };
34
37
  exports["default"] = _default;
35
38
  var P14CLogo = function P14CLogo(props) {
@@ -43,7 +43,8 @@ var _default = {
43
43
  source: {
44
44
  type: 'code'
45
45
  }
46
- }
46
+ },
47
+ codesandbox: false
47
48
  }
48
49
  };
49
50
  exports["default"] = _default;
@@ -44,7 +44,8 @@ var _default = {
44
44
  name: 'accent',
45
45
  value: 'accent.99'
46
46
  }]
47
- }
47
+ },
48
+ codesandbox: false
48
49
  }
49
50
  };
50
51
  exports["default"] = _default;
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- decorators: ((...args: any) => any)[];
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: {
8
5
  (): React.JSX.Element;
@@ -15,7 +15,10 @@ var _figmaLinks = require("../utils/designUtils/figmaLinks");
15
15
  var _react2 = require("@emotion/react");
16
16
  var _default = {
17
17
  title: 'Recipes/No Access',
18
- decorators: [_storybookAddonDesigns.withDesign]
18
+ decorators: [_storybookAddonDesigns.withDesign],
19
+ parameters: {
20
+ codesandbox: false
21
+ }
19
22
  };
20
23
  exports["default"] = _default;
21
24
  var Default = function Default() {
@@ -15,7 +15,10 @@ var _index = require("../index");
15
15
  var _figmaLinks = require("../utils/designUtils/figmaLinks.ts");
16
16
  var _react2 = require("@emotion/react");
17
17
  var _default = {
18
- title: 'Recipes/One Way to Bidirectional Arrow'
18
+ title: 'Recipes/One Way to Bidirectional Arrow',
19
+ parameters: {
20
+ codesandbox: false
21
+ }
19
22
  };
20
23
  exports["default"] = _default;
21
24
  var items = [{
@@ -33,7 +33,8 @@ var _default = {
33
33
  source: {
34
34
  type: 'code'
35
35
  }
36
- }
36
+ },
37
+ codesandbox: false
37
38
  }
38
39
  };
39
40
  exports["default"] = _default;
@@ -20,7 +20,10 @@ var _react2 = require("@emotion/react");
20
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
21
  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; }
22
22
  var _default = {
23
- title: 'Recipes/Scrollable List View'
23
+ title: 'Recipes/Scrollable List View',
24
+ parameters: {
25
+ codesandbox: false
26
+ }
24
27
  };
25
28
  exports["default"] = _default;
26
29
  var ScrollableListView = function ScrollableListView() {
@@ -27,7 +27,10 @@ var _react2 = require("@emotion/react");
27
27
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
28
28
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; } /* eslint-disable no-nested-ternary */
29
29
  var _default = {
30
- title: 'Recipes/Slider'
30
+ title: 'Recipes/Slider',
31
+ parameters: {
32
+ codesandbox: false
33
+ }
31
34
  };
32
35
  exports["default"] = _default;
33
36
  var sx = {
@@ -15,7 +15,10 @@ var _index = require("../index");
15
15
  var _figmaLinks = require("../utils/designUtils/figmaLinks.ts");
16
16
  var _react2 = require("@emotion/react");
17
17
  var _default = {
18
- title: 'Recipes/Trial Experience Buttons'
18
+ title: 'Recipes/Trial Experience Buttons',
19
+ parameters: {
20
+ codesandbox: false
21
+ }
19
22
  };
20
23
  exports["default"] = _default;
21
24
  var sx = {
@@ -21,7 +21,10 @@ var _react2 = require("@emotion/react");
21
21
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
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
- title: 'Recipes/Trial Experience Nav'
24
+ title: 'Recipes/Trial Experience Nav',
25
+ parameters: {
26
+ codesandbox: false
27
+ }
25
28
  };
26
29
  exports["default"] = _default;
27
30
  var ArtIcon = function ArtIcon() {
@@ -27,7 +27,8 @@ var _default = {
27
27
  name: 'accent',
28
28
  value: '#F7F8FD'
29
29
  }]
30
- }
30
+ },
31
+ codesandbox: false
31
32
  }
32
33
  };
33
34
  exports["default"] = _default;
@@ -9,7 +9,10 @@ import AIPanelHeader from './AIPanelHeader';
9
9
  import { jsx as ___EmotionJSX } from "@emotion/react";
10
10
  export default {
11
11
  component: AIPanel,
12
- title: 'AI Components/AI Panel'
12
+ title: 'AI Components/AI Panel',
13
+ parameters: {
14
+ codesandbox: false
15
+ }
13
16
  };
14
17
  var AIMenuPopover = function AIMenuPopover() {
15
18
  var _useState = useState(false),
@@ -4,7 +4,10 @@ import Prompt from './Prompt';
4
4
  import { jsx as ___EmotionJSX } from "@emotion/react";
5
5
  export default {
6
6
  title: 'AI Components/Prompt',
7
- component: Prompt
7
+ component: Prompt,
8
+ parameters: {
9
+ codesandbox: false
10
+ }
8
11
  };
9
12
  export var Default = function Default() {
10
13
  return ___EmotionJSX(Prompt, null, ___EmotionJSX(Text, null, "Did my number of registrations go up or down in the last month?"));
@@ -25,11 +25,9 @@ export default {
25
25
  docs: {
26
26
  page: function page() {
27
27
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(PromptInputReadMe, null), ___EmotionJSX(DocsLayout, null));
28
- },
29
- source: {
30
- type: 'code'
31
28
  }
32
- }
29
+ },
30
+ codesandbox: false
33
31
  },
34
32
  argTypes: {
35
33
  isLoading: _objectSpread({}, booleanArg),
@@ -22,15 +22,13 @@ export default {
22
22
  docs: {
23
23
  page: function page() {
24
24
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ResponseReadme, null), ___EmotionJSX(DocsLayout, null));
25
- },
26
- source: {
27
- type: 'code'
28
25
  }
29
- }
26
+ },
27
+ codesandbox: false
30
28
  }
31
29
  };
32
30
  var testText = 'Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet';
33
- export var Default = function Default(args) {
31
+ export var Default = function Default() {
34
32
  var icons = [{
35
33
  title: 'Read aloud',
36
34
  icon: VolumeHighIcon
@@ -3,7 +3,8 @@ import { AstroWrapper, NextGenTheme, Suggestion, Suggestions } from '../../../in
3
3
  import { jsx as ___EmotionJSX } from "@emotion/react";
4
4
  export default {
5
5
  title: 'Ai Components/Suggestions',
6
- component: Suggestions
6
+ component: Suggestions,
7
+ codesandbox: false
7
8
  };
8
9
  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.';
9
10
  export var Default = function Default() {
@@ -70,7 +70,8 @@ export default {
70
70
  mdx: AccordionGridReadme
71
71
  }, {
72
72
  label: 'Implementation'
73
- }]
73
+ }],
74
+ codesandbox: false
74
75
  },
75
76
  argTypes: {
76
77
  id: {
@@ -1,10 +1,9 @@
1
1
  import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
2
2
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
3
3
  import React, { useState } from 'react';
4
- import { Item } from 'react-stately';
5
4
  import { withDesign } from 'storybook-addon-designs';
6
5
  import DocsLayout from '../../../.storybook/storybookDocsLayout';
7
- import { AccordionGroup, Badge, Box, Button, HelpHint, Text, TextField } from '../../index';
6
+ import { AccordionGroup, Badge, Box, Button, HelpHint, Item, Text, TextField } from '../../index';
8
7
  import { FIGMA_LINKS } from '../../utils/designUtils/figmaLinks';
9
8
  import { validHeadingTags } from '../AccordionItem/AccordionItem';
10
9
  import AccordionReadme from './AccordionGroup';
@@ -53,9 +52,11 @@ export default {
53
52
  docs: {
54
53
  page: function page() {
55
54
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(AccordionReadme, null), ___EmotionJSX(DocsLayout, null));
56
- },
57
- source: {
58
- type: 'code'
55
+ }
56
+ },
57
+ codesandbox: {
58
+ mapComponent: {
59
+ '@pingux/astro': ['AccordionGroup', 'Badge', 'Box', 'Button', 'HelpHint', 'Item', 'Text', 'TextField']
59
60
  }
60
61
  }
61
62
  },
@@ -122,7 +123,8 @@ DifferentLevels.parameters = {
122
123
  design: {
123
124
  type: 'figma',
124
125
  url: FIGMA_LINKS.accordionGroup.differentLevels
125
- }
126
+ },
127
+ codesandbox: false
126
128
  };
127
129
  export var Multiple = function Multiple() {
128
130
  return (
@@ -151,7 +153,8 @@ Multiple.parameters = {
151
153
  design: {
152
154
  type: 'figma',
153
155
  url: FIGMA_LINKS.accordionGroup.multiple
154
- }
156
+ },
157
+ codesandbox: false
155
158
  };
156
159
  export var ControlledExpanded = function ControlledExpanded() {
157
160
  var _useState = useState(['t3']),
@@ -185,6 +188,9 @@ export var ControlledExpanded = function ControlledExpanded() {
185
188
  })
186
189
  );
187
190
  };
191
+ ControlledExpanded.parameters = {
192
+ codesandbox: false
193
+ };
188
194
  export var UncontrolledExpanded = function UncontrolledExpanded() {
189
195
  return (
190
196
  /*
@@ -208,6 +214,9 @@ export var UncontrolledExpanded = function UncontrolledExpanded() {
208
214
  })
209
215
  );
210
216
  };
217
+ UncontrolledExpanded.parameters = {
218
+ codesandbox: false
219
+ };
211
220
  export var DisabledState = function DisabledState() {
212
221
  return (
213
222
  /*
@@ -235,7 +244,8 @@ DisabledState.parameters = {
235
244
  design: {
236
245
  type: 'figma',
237
246
  url: FIGMA_LINKS.accordionGroup.disabledState
238
- }
247
+ },
248
+ codesandbox: false
239
249
  };
240
250
  export var CustomPresentation = function CustomPresentation() {
241
251
  return (
@@ -273,7 +283,8 @@ CustomPresentation.parameters = {
273
283
  description: {
274
284
  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.'
275
285
  }
276
- }
286
+ },
287
+ codesandbox: false
277
288
  };
278
289
  export var LabelWithBadge = function LabelWithBadge(args) {
279
290
  return ___EmotionJSX(AccordionGroup, _extends({}, args, {
@@ -297,10 +308,10 @@ export var LabelWithBadge = function LabelWithBadge(args) {
297
308
  "data-id": "accordionItem"
298
309
  }, ___EmotionJSX(Text, null, "Render me!")));
299
310
  };
300
- export var AccordionWithSlot = function AccordionWithSlot(args) {
301
- return ___EmotionJSX(AccordionGroup, _extends({
311
+ export var AccordionWithSlot = function AccordionWithSlot() {
312
+ return ___EmotionJSX(AccordionGroup, {
302
313
  labelHeadingTag: "h3"
303
- }, args), ___EmotionJSX(Item, {
314
+ }, ___EmotionJSX(Item, {
304
315
  key: "accordionKey",
305
316
  textValue: "accordionKey",
306
317
  label: "Accordion Label",
@@ -309,4 +320,7 @@ export var AccordionWithSlot = function AccordionWithSlot(args) {
309
320
  postHeading: ___EmotionJSX(HelpHint, null, " Text of the popover right here...")
310
321
  }
311
322
  }, ___EmotionJSX(Text, null, "Render me!")));
323
+ };
324
+ AccordionWithSlot.parameters = {
325
+ codesandbox: false
312
326
  };
@@ -25,15 +25,13 @@ export default {
25
25
  title: 'Form/ArrayField',
26
26
  component: ArrayField,
27
27
  parameters: {
28
+ codesandbox: false,
28
29
  actions: {
29
30
  argTypesRegex: '^on.*'
30
31
  },
31
32
  docs: {
32
33
  page: function page() {
33
34
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ArrayFieldReadme, null), ___EmotionJSX(DocsLayout, null));
34
- },
35
- source: {
36
- type: 'code'
37
35
  }
38
36
  }
39
37
  },
@@ -79,8 +77,11 @@ var defaultData = [{
79
77
  }];
80
78
  export var Uncontrolled = function Uncontrolled(_ref) {
81
79
  var args = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
82
- return ___EmotionJSX(ArrayField, _extends({
80
+ return ___EmotionJSX(ArrayField, {
83
81
  defaultValue: defaultData,
82
+ label: "Array field label",
83
+ helperText: "Helper text info...",
84
+ addButtonLabel: "+ Add field",
84
85
  labelProps: {
85
86
  hintText: 'Example Hint',
86
87
  isRequired: true,
@@ -109,7 +110,7 @@ export var Uncontrolled = function Uncontrolled(_ref) {
109
110
  sx: {
110
111
  width: '400px'
111
112
  }
112
- }, args));
113
+ });
113
114
  };
114
115
  export var Controlled = function Controlled(_ref2) {
115
116
  var args = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));
@@ -235,12 +236,11 @@ export var Controlled = function Controlled(_ref2) {
235
236
  sx: {
236
237
  width: '400px'
237
238
  },
238
- label: args.label
239
+ label: "Array field label"
239
240
  });
240
241
  };
241
- export var WithLimitedItemsNumber = function WithLimitedItemsNumber(_ref4) {
242
- var args = _extends({}, (_objectDestructuringEmpty(_ref4), _ref4));
243
- return ___EmotionJSX(ArrayField, _extends({
242
+ export var WithLimitedItemsNumber = function WithLimitedItemsNumber() {
243
+ return ___EmotionJSX(ArrayField, {
244
244
  defaultValue: defaultData,
245
245
  renderField: function renderField(id, fieldValue, onFieldValueChange, onFieldDelete, isDisabled, otherFieldProps) {
246
246
  return ___EmotionJSX(TextField, _extends({
@@ -263,12 +263,14 @@ export var WithLimitedItemsNumber = function WithLimitedItemsNumber(_ref4) {
263
263
  sx: {
264
264
  width: '400px'
265
265
  },
266
- maxSize: 3
267
- }, args));
266
+ maxSize: 3,
267
+ label: "Array field label",
268
+ helperText: "Helper text info...",
269
+ addButtonLabel: "+ Add field"
270
+ });
268
271
  };
269
- export var Customizations = function Customizations(_ref5) {
270
- var args = _extends({}, (_objectDestructuringEmpty(_ref5), _ref5));
271
- return ___EmotionJSX(ArrayField, _extends({
272
+ export var Customizations = function Customizations() {
273
+ return ___EmotionJSX(ArrayField, {
272
274
  fieldControlWrapperProps: {
273
275
  overflowY: 'scroll',
274
276
  maxHeight: '150px'
@@ -303,11 +305,13 @@ export var Customizations = function Customizations(_ref5) {
303
305
  })
304
306
  }
305
307
  }, otherFieldProps)));
306
- }
307
- }, args));
308
+ },
309
+ label: "Array field label",
310
+ helperText: "Helper text info...",
311
+ addButtonLabel: "+ Add field"
312
+ });
308
313
  };
309
- export var WithBothSlots = function WithBothSlots(_ref6) {
310
- var args = _extends({}, (_objectDestructuringEmpty(_ref6), _ref6));
314
+ export var WithBothSlots = function WithBothSlots() {
311
315
  var LeftSlot = ___EmotionJSX(Button, {
312
316
  "aria-label": "Add field",
313
317
  variant: "link",
@@ -330,7 +334,7 @@ export var WithBothSlots = function WithBothSlots(_ref6) {
330
334
  variant: "label",
331
335
  color: "active"
332
336
  }, "Right slot"));
333
- return ___EmotionJSX(ArrayField, _extends({
337
+ return ___EmotionJSX(ArrayField, {
334
338
  defaultValue: defaultData,
335
339
  sx: {
336
340
  width: '450px'
@@ -365,6 +369,9 @@ export var WithBothSlots = function WithBothSlots(_ref6) {
365
369
  })
366
370
  }
367
371
  }, otherFieldProps)));
368
- }
369
- }, args));
372
+ },
373
+ label: "Array field label",
374
+ helperText: "Helper text info...",
375
+ addButtonLabel: "+ Add field"
376
+ });
370
377
  };
@@ -11,7 +11,8 @@ export default {
11
11
  page: function page() {
12
12
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(AstroProviderReadme, null), ___EmotionJSX(DocsLayout, null));
13
13
  }
14
- }
14
+ },
15
+ codesandbox: false
15
16
  },
16
17
  decorators: [function (Story) {
17
18
  return ___EmotionJSX("div", null, ___EmotionJSX(Story, null));
@@ -1,6 +1,7 @@
1
1
  import _objectDestructuringEmpty from "@babel/runtime-corejs3/helpers/esm/objectDestructuringEmpty";
2
2
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
3
3
  import React from 'react';
4
+ import { withDesign } from 'storybook-addon-designs';
4
5
  import DocsLayout from '../../../.storybook/storybookDocsLayout';
5
6
  import { Avatar } from '../../index';
6
7
  import { pingImg } from '../../utils/devUtils/constants/images';
@@ -9,13 +10,11 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
9
10
  export default {
10
11
  title: 'Components/Avatar',
11
12
  component: Avatar,
13
+ decorators: [withDesign],
12
14
  parameters: {
13
15
  docs: {
14
16
  page: function page() {
15
17
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(AvatarReadme, null), ___EmotionJSX(DocsLayout, null));
16
- },
17
- source: {
18
- type: 'code'
19
18
  }
20
19
  }
21
20
  },
@@ -24,6 +23,24 @@ export default {
24
23
  control: {
25
24
  type: 'none'
26
25
  }
26
+ },
27
+ size: {
28
+ control: {
29
+ type: 'text'
30
+ },
31
+ description: 'Size of the avatar. Can be a string. like 50px'
32
+ },
33
+ alt: {
34
+ control: {
35
+ type: 'text'
36
+ },
37
+ description: 'Alternative text for the image.'
38
+ },
39
+ defaultText: {
40
+ control: {
41
+ type: 'text'
42
+ },
43
+ description: 'Default text to be displayed when src is not available.'
27
44
  }
28
45
  },
29
46
  args: {