@pingux/astro 2.138.0-alpha.4 → 2.138.0-alpha.6
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.
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.js +1 -4
- package/lib/cjs/components/AIComponents/Prompt/Prompt.stories.js +1 -4
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.js +1 -2
- package/lib/cjs/components/AIComponents/Response/Response.stories.js +1 -2
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.js +1 -2
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +1 -2
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.d.ts +3 -22
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +5 -23
- package/lib/cjs/components/ArrayField/ArrayField.stories.js +0 -1
- package/lib/cjs/components/AstroProvider/AstroProvider.stories.js +1 -2
- package/lib/cjs/components/Box/Box.stories.d.ts +1 -6
- package/lib/cjs/components/Box/Box.stories.js +1 -9
- package/lib/cjs/components/Bracket/Bracket.stories.js +0 -5
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +1 -8
- package/lib/cjs/components/Button/Button.stories.js +0 -7
- package/lib/cjs/components/ButtonBar/ButtonBar.stories.js +0 -5
- package/lib/cjs/components/Callout/Callout.stories.js +0 -5
- package/lib/cjs/components/Card/Card.stories.js +0 -5
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +1 -13
- package/lib/cjs/components/CodeView/CodeView.stories.js +2 -9
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +0 -5
- package/lib/cjs/components/ColorField/ColorField.stories.js +0 -5
- package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +0 -3
- package/lib/cjs/components/CopyText/CopyText.stories.js +0 -5
- package/lib/cjs/components/DataTable/DataTable.stories.js +1 -2
- package/lib/cjs/components/DatePicker/DatePicker.stories.js +1 -2
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.d.ts +3 -18
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +1 -15
- package/lib/cjs/components/ExpandableText/ExpandableText.stories.js +1 -2
- package/lib/cjs/components/Footer/Footer.stories.js +1 -2
- package/lib/cjs/components/Grid/Grid.stories.js +0 -5
- package/lib/cjs/components/HelpHint/HelpHint.stories.js +0 -5
- package/lib/cjs/components/Icon/Icon.stories.js +1 -16
- package/lib/cjs/components/IconBadge/IconBadge.stories.js +0 -7
- package/lib/cjs/components/IconButton/IconButton.stories.d.ts +0 -2
- package/lib/cjs/components/IconButton/IconButton.stories.js +2 -14
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.stories.js +0 -7
- package/lib/cjs/components/IconWrapper/IconWrapper.stories.js +0 -6
- package/lib/cjs/components/Image/Image.stories.js +1 -12
- package/lib/cjs/components/Link/Link.stories.js +0 -5
- package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +2 -11
- package/lib/cjs/components/ListView/ListView.stories.js +1 -2
- package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +1 -2
- package/lib/cjs/components/Loader/Loader.stories.js +0 -5
- package/lib/cjs/components/Messages/Messages.stories.d.ts +0 -6
- package/lib/cjs/components/Messages/Messages.stories.js +6 -18
- package/lib/cjs/components/Modal/Modal.stories.js +1 -2
- package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +1 -2
- package/lib/cjs/components/NavBar/NavBar.stories.js +1 -2
- package/lib/cjs/components/NavSideBar/NavSideBar.stories.js +1 -2
- package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.js +1 -2
- package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +1 -2
- package/lib/cjs/components/PageHeader/PageHeader.stories.js +0 -5
- package/lib/cjs/components/Pagination/Pagination.stories.js +1 -2
- package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +0 -7
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +1 -2
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.stories.js +1 -2
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +1 -2
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.js +0 -9
- package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.js +0 -5
- package/lib/cjs/components/RequirementsList/RequirementsList.stories.js +0 -5
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.stories.js +1 -18
- package/lib/cjs/components/SearchField/SearchField.stories.js +0 -5
- package/lib/cjs/components/SelectField/SelectField.stories.js +0 -5
- package/lib/cjs/components/Skeleton/Skeleton.stories.js +0 -5
- package/lib/cjs/components/StatusIcon/StatusIcon.stories.js +0 -5
- package/lib/cjs/components/Stepper/Stepper.stories.js +1 -13
- package/lib/cjs/components/Table/Table.stories.js +0 -5
- package/lib/cjs/components/Tabs/Tabs.stories.js +1 -30
- package/lib/cjs/components/Text/Text.stories.js +0 -8
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +0 -6
- package/lib/cjs/components/TreeView/TreeView.stories.js +1 -2
- package/lib/cjs/recipes/AccordionCard.stories.js +1 -4
- package/lib/cjs/recipes/AttributeMapping.stories.js +1 -4
- package/lib/cjs/recipes/CollapsiblePanel.stories.js +1 -4
- package/lib/cjs/recipes/ConditionFilter.stories.js +1 -2
- package/lib/cjs/recipes/CopyToClipboard.stories.js +1 -4
- package/lib/cjs/recipes/CountryPicker.stories.js +1 -4
- package/lib/cjs/recipes/DataVisualization.stories.js +1 -4
- package/lib/cjs/recipes/DateTimeRangePicker.stories.js +1 -4
- package/lib/cjs/recipes/InlineEditing.stories.js +1 -4
- package/lib/cjs/recipes/ListAndPanel.stories.js +1 -2
- package/lib/cjs/recipes/LogoTabs.stories.js +1 -4
- package/lib/cjs/recipes/MaskedValue.stories.js +1 -2
- package/lib/cjs/recipes/MultipagePopup.stories.js +1 -2
- package/lib/cjs/recipes/NoAccess.stories.js +1 -4
- package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +1 -4
- package/lib/cjs/recipes/PanelContent.stories.js +1 -2
- package/lib/cjs/recipes/ScrollableListView.stories.js +1 -4
- package/lib/cjs/recipes/Slider.stories.js +1 -4
- package/lib/cjs/recipes/TrialExperienceIndustryButtons.stories.js +1 -4
- package/lib/cjs/recipes/TrialExperienceStatusBar.stories.js +1 -4
- package/lib/cjs/styles/templates/Nav/Nav.stories.js +1 -2
- package/lib/components/AIComponents/AIPanel/AIPanel.stories.js +1 -4
- package/lib/components/AIComponents/Prompt/Prompt.stories.js +1 -4
- package/lib/components/AIComponents/PromptInput/PromptInput.stories.js +1 -2
- package/lib/components/AIComponents/Response/Response.stories.js +1 -2
- package/lib/components/AIComponents/Suggestions/Suggestions.stories.js +1 -2
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +1 -2
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +4 -22
- package/lib/components/ArrayField/ArrayField.stories.js +0 -1
- package/lib/components/AstroProvider/AstroProvider.stories.js +1 -2
- package/lib/components/Box/Box.stories.js +0 -8
- package/lib/components/Bracket/Bracket.stories.js +0 -5
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +1 -8
- package/lib/components/Button/Button.stories.js +0 -7
- package/lib/components/ButtonBar/ButtonBar.stories.js +0 -5
- package/lib/components/Callout/Callout.stories.js +0 -5
- package/lib/components/Card/Card.stories.js +0 -5
- package/lib/components/CheckboxField/CheckboxField.stories.js +1 -13
- package/lib/components/CodeView/CodeView.stories.js +2 -9
- package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +0 -5
- package/lib/components/ColorField/ColorField.stories.js +0 -5
- package/lib/components/ComboBoxField/ComboBoxField.stories.js +0 -3
- package/lib/components/CopyText/CopyText.stories.js +0 -5
- package/lib/components/DataTable/DataTable.stories.js +1 -2
- package/lib/components/DatePicker/DatePicker.stories.js +1 -2
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +0 -14
- package/lib/components/ExpandableText/ExpandableText.stories.js +1 -2
- package/lib/components/Footer/Footer.stories.js +1 -2
- package/lib/components/Grid/Grid.stories.js +0 -5
- package/lib/components/HelpHint/HelpHint.stories.js +0 -5
- package/lib/components/Icon/Icon.stories.js +0 -15
- package/lib/components/IconBadge/IconBadge.stories.js +0 -7
- package/lib/components/IconButton/IconButton.stories.js +2 -14
- package/lib/components/IconButtonToggle/IconButtonToggle.stories.js +0 -7
- package/lib/components/IconWrapper/IconWrapper.stories.js +0 -6
- package/lib/components/Image/Image.stories.js +0 -11
- package/lib/components/Link/Link.stories.js +0 -5
- package/lib/components/LinkSelectField/LinkSelectField.stories.js +1 -10
- package/lib/components/ListView/ListView.stories.js +1 -2
- package/lib/components/ListViewItem/ListViewItem.stories.js +1 -2
- package/lib/components/Loader/Loader.stories.js +0 -5
- package/lib/components/Messages/Messages.stories.js +6 -18
- package/lib/components/Modal/Modal.stories.js +1 -2
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +1 -2
- package/lib/components/NavBar/NavBar.stories.js +1 -2
- package/lib/components/NavSideBar/NavSideBar.stories.js +1 -2
- package/lib/components/NavigationHeader/NavigationHeader.stories.js +1 -2
- package/lib/components/OverlayPanel/OverlayPanel.stories.js +1 -2
- package/lib/components/PageHeader/PageHeader.stories.js +0 -5
- package/lib/components/Pagination/Pagination.stories.js +1 -2
- package/lib/components/PanelHeader/PanelHeader.stories.js +0 -7
- package/lib/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +1 -2
- package/lib/components/PanelHeader/controls/PanelHeaderMenu.stories.js +1 -2
- package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +1 -2
- package/lib/components/PopoverMenu/PopoverMenu.stories.js +0 -9
- package/lib/components/RadioGroupField/RadioGroupField.stories.js +0 -5
- package/lib/components/RequirementsList/RequirementsList.stories.js +0 -5
- package/lib/components/RockerButtonGroup/RockerButtonGroup.stories.js +0 -17
- package/lib/components/SearchField/SearchField.stories.js +0 -5
- package/lib/components/SelectField/SelectField.stories.js +0 -5
- package/lib/components/Skeleton/Skeleton.stories.js +0 -5
- package/lib/components/StatusIcon/StatusIcon.stories.js +0 -5
- package/lib/components/Stepper/Stepper.stories.js +0 -12
- package/lib/components/Table/Table.stories.js +0 -5
- package/lib/components/Tabs/Tabs.stories.js +0 -29
- package/lib/components/Text/Text.stories.js +0 -8
- package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +0 -6
- package/lib/components/TreeView/TreeView.stories.js +1 -2
- package/lib/recipes/AccordionCard.stories.js +1 -4
- package/lib/recipes/AttributeMapping.stories.js +1 -4
- package/lib/recipes/CollapsiblePanel.stories.js +1 -4
- package/lib/recipes/ConditionFilter.stories.js +1 -2
- package/lib/recipes/CopyToClipboard.stories.js +1 -4
- package/lib/recipes/CountryPicker.stories.js +1 -4
- package/lib/recipes/DataVisualization.stories.js +1 -4
- package/lib/recipes/DateTimeRangePicker.stories.js +1 -4
- package/lib/recipes/InlineEditing.stories.js +1 -4
- package/lib/recipes/ListAndPanel.stories.js +1 -2
- package/lib/recipes/LogoTabs.stories.js +1 -4
- package/lib/recipes/MaskedValue.stories.js +1 -2
- package/lib/recipes/MultipagePopup.stories.js +1 -2
- package/lib/recipes/NoAccess.stories.js +1 -4
- package/lib/recipes/OneWayToBidirectionalArrow.stories.js +1 -4
- package/lib/recipes/PanelContent.stories.js +1 -2
- package/lib/recipes/ScrollableListView.stories.js +1 -4
- package/lib/recipes/Slider.stories.js +1 -4
- package/lib/recipes/TrialExperienceIndustryButtons.stories.js +1 -4
- package/lib/recipes/TrialExperienceStatusBar.stories.js +1 -4
- package/lib/styles/templates/Nav/Nav.stories.js +1 -2
- package/package.json +1 -2
@@ -54,11 +54,6 @@ var _default = {
|
|
54
54
|
page: function page() {
|
55
55
|
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Tabs["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
|
56
56
|
}
|
57
|
-
},
|
58
|
-
codesandbox: {
|
59
|
-
mapComponent: {
|
60
|
-
'@pingux/astro': ['Badge', 'Box', 'Icon', 'Tab', 'Tabs', 'Text']
|
61
|
-
}
|
62
57
|
}
|
63
58
|
}
|
64
59
|
};
|
@@ -103,9 +98,6 @@ var Controlled = function Controlled() {
|
|
103
98
|
});
|
104
99
|
};
|
105
100
|
exports.Controlled = Controlled;
|
106
|
-
Controlled.parameters = {
|
107
|
-
codesandbox: false
|
108
|
-
};
|
109
101
|
var Centered = function Centered() {
|
110
102
|
return (0, _react2.jsx)(_index.Tabs, {
|
111
103
|
tabListProps: {
|
@@ -120,9 +112,6 @@ var Centered = function Centered() {
|
|
120
112
|
});
|
121
113
|
};
|
122
114
|
exports.Centered = Centered;
|
123
|
-
Centered.parameters = {
|
124
|
-
codesandbox: false
|
125
|
-
};
|
126
115
|
var DisabledSingleTab = function DisabledSingleTab() {
|
127
116
|
return (0, _react2.jsx)(_index.Tabs, {
|
128
117
|
items: tabs,
|
@@ -135,9 +124,6 @@ var DisabledSingleTab = function DisabledSingleTab() {
|
|
135
124
|
});
|
136
125
|
};
|
137
126
|
exports.DisabledSingleTab = DisabledSingleTab;
|
138
|
-
DisabledSingleTab.parameters = {
|
139
|
-
codesandbox: false
|
140
|
-
};
|
141
127
|
var DisabledAllTabs = function DisabledAllTabs() {
|
142
128
|
return (0, _react2.jsx)(_index.Tabs, {
|
143
129
|
isDisabled: true,
|
@@ -150,9 +136,6 @@ var DisabledAllTabs = function DisabledAllTabs() {
|
|
150
136
|
});
|
151
137
|
};
|
152
138
|
exports.DisabledAllTabs = DisabledAllTabs;
|
153
|
-
DisabledAllTabs.parameters = {
|
154
|
-
codesandbox: false
|
155
|
-
};
|
156
139
|
var ContentSlots = function ContentSlots() {
|
157
140
|
var beforeTabNode = (0, _react2.jsx)(_index.Icon, {
|
158
141
|
icon: _LockIcon["default"],
|
@@ -199,9 +182,6 @@ var ContentSlots = function ContentSlots() {
|
|
199
182
|
}, (0, _react2.jsx)(_index.Text, null, "Users Matched"))));
|
200
183
|
};
|
201
184
|
exports.ContentSlots = ContentSlots;
|
202
|
-
ContentSlots.parameters = {
|
203
|
-
codesandbox: false
|
204
|
-
};
|
205
185
|
var WithList = function WithList() {
|
206
186
|
var _context;
|
207
187
|
var allTabs = (0, _concat["default"])(_context = []).call(_context, tabs, [{
|
@@ -231,9 +211,6 @@ var WithList = function WithList() {
|
|
231
211
|
});
|
232
212
|
};
|
233
213
|
exports.WithList = WithList;
|
234
|
-
WithList.parameters = {
|
235
|
-
codesandbox: false
|
236
|
-
};
|
237
214
|
var CustomTabLine = function CustomTabLine() {
|
238
215
|
return (0, _react2.jsx)(_index.Tabs, {
|
239
216
|
items: tabs
|
@@ -248,9 +225,6 @@ var CustomTabLine = function CustomTabLine() {
|
|
248
225
|
});
|
249
226
|
};
|
250
227
|
exports.CustomTabLine = CustomTabLine;
|
251
|
-
CustomTabLine.parameters = {
|
252
|
-
codesandbox: false
|
253
|
-
};
|
254
228
|
var CustomPanelProps = function CustomPanelProps() {
|
255
229
|
return (0, _react2.jsx)(_index.Tabs, {
|
256
230
|
tabPanelProps: {
|
@@ -266,7 +240,4 @@ var CustomPanelProps = function CustomPanelProps() {
|
|
266
240
|
}, item.children);
|
267
241
|
});
|
268
242
|
};
|
269
|
-
exports.CustomPanelProps = CustomPanelProps;
|
270
|
-
CustomPanelProps.parameters = {
|
271
|
-
codesandbox: false
|
272
|
-
};
|
243
|
+
exports.CustomPanelProps = CustomPanelProps;
|
@@ -25,11 +25,6 @@ var _default = {
|
|
25
25
|
page: function page() {
|
26
26
|
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Text["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
|
27
27
|
}
|
28
|
-
},
|
29
|
-
codesandbox: {
|
30
|
-
mapComponent: {
|
31
|
-
'@pingux/astro': ['Box', 'Text', 'Separator']
|
32
|
-
}
|
33
28
|
}
|
34
29
|
},
|
35
30
|
argTypes: {
|
@@ -434,9 +429,6 @@ var Default = function Default() {
|
|
434
429
|
}))));
|
435
430
|
};
|
436
431
|
exports.Default = Default;
|
437
|
-
Default.parameters = {
|
438
|
-
codesandbox: false
|
439
|
-
};
|
440
432
|
var CustomWidth = function CustomWidth(args) {
|
441
433
|
return (0, _react2.jsx)(_index.Box, {
|
442
434
|
width: 200
|
@@ -23,12 +23,6 @@ var _default = {
|
|
23
23
|
page: function page() {
|
24
24
|
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_TooltipTrigger["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
|
25
25
|
}
|
26
|
-
},
|
27
|
-
codesandbox: {
|
28
|
-
mapComponent: {
|
29
|
-
'@pingux/astro': ['Box', 'Button', 'Icon', 'IconButton', 'Text', 'Tooltip', 'TooltipTrigger'],
|
30
|
-
'@pingux/mdi-react/AccountIcon': 'AccountIcon'
|
31
|
-
}
|
32
26
|
}
|
33
27
|
}
|
34
28
|
};
|
@@ -28,10 +28,7 @@ var _react2 = require("@emotion/react");
|
|
28
28
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
29
29
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
30
30
|
var _default = {
|
31
|
-
title: 'Recipes/AccordionCard'
|
32
|
-
parameters: {
|
33
|
-
codesandbox: false
|
34
|
-
}
|
31
|
+
title: 'Recipes/AccordionCard'
|
35
32
|
};
|
36
33
|
exports["default"] = _default;
|
37
34
|
var accordionItemSX = {
|
@@ -26,10 +26,7 @@ var _react2 = require("@emotion/react");
|
|
26
26
|
function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
27
27
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
28
28
|
var _default = {
|
29
|
-
title: 'Recipes/Attribute Mappings'
|
30
|
-
parameters: {
|
31
|
-
codesandbox: false
|
32
|
-
}
|
29
|
+
title: 'Recipes/Attribute Mappings'
|
33
30
|
};
|
34
31
|
exports["default"] = _default;
|
35
32
|
var sx = {
|
@@ -36,10 +36,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
36
36
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty2(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
37
37
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
38
38
|
var _default = {
|
39
|
-
title: 'Recipes/CollapsiblePanel with List'
|
40
|
-
parameters: {
|
41
|
-
codesandbox: false
|
42
|
-
}
|
39
|
+
title: 'Recipes/CollapsiblePanel with List'
|
43
40
|
};
|
44
41
|
exports["default"] = _default;
|
45
42
|
var data = [{
|
@@ -11,10 +11,7 @@ var _useCopyToClipboard = _interopRequireDefault(require("../hooks/useCopyToClip
|
|
11
11
|
var _index = require("../index");
|
12
12
|
var _react2 = require("@emotion/react");
|
13
13
|
var _default = {
|
14
|
-
title: 'Recipes/Copy to Clipboard'
|
15
|
-
parameters: {
|
16
|
-
codesandbox: false
|
17
|
-
}
|
14
|
+
title: 'Recipes/Copy to Clipboard'
|
18
15
|
};
|
19
16
|
exports["default"] = _default;
|
20
17
|
var Default = function Default() {
|
@@ -24,10 +24,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "functi
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
25
25
|
var _default = {
|
26
26
|
title: 'Recipes/Country Picker',
|
27
|
-
decorators: [_storybookAddonDesigns.withDesign]
|
28
|
-
parameters: {
|
29
|
-
codesandbox: false
|
30
|
-
}
|
27
|
+
decorators: [_storybookAddonDesigns.withDesign]
|
31
28
|
};
|
32
29
|
exports["default"] = _default;
|
33
30
|
var validatePhoneNumber = function validatePhoneNumber(str) {
|
@@ -36,10 +36,7 @@ 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'
|
40
|
-
parameters: {
|
41
|
-
codesandbox: false
|
42
|
-
}
|
39
|
+
title: 'Recipes/Data Visualization with Filtering'
|
43
40
|
};
|
44
41
|
exports["default"] = _default;
|
45
42
|
var columns = [{
|
@@ -24,10 +24,7 @@ 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]
|
28
|
-
parameters: {
|
29
|
-
codesandbox: false
|
30
|
-
}
|
27
|
+
decorators: [_storybookAddonDesigns.withDesign]
|
31
28
|
};
|
32
29
|
exports["default"] = _default;
|
33
30
|
var dropdownItems = [{
|
@@ -34,10 +34,7 @@ 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]
|
38
|
-
parameters: {
|
39
|
-
codesandbox: false
|
40
|
-
}
|
37
|
+
decorators: [_storybookAddonDesigns.withDesign]
|
41
38
|
};
|
42
39
|
exports["default"] = _default;
|
43
40
|
var EditableAreaContext = /*#__PURE__*/(0, _react.createContext)();
|
@@ -29,10 +29,7 @@ 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'
|
33
|
-
parameters: {
|
34
|
-
codesandbox: false
|
35
|
-
}
|
32
|
+
title: 'Recipes/Logo Tabs'
|
36
33
|
};
|
37
34
|
exports["default"] = _default;
|
38
35
|
var P14CLogo = function P14CLogo(props) {
|
@@ -15,10 +15,7 @@ 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]
|
19
|
-
parameters: {
|
20
|
-
codesandbox: false
|
21
|
-
}
|
18
|
+
decorators: [_storybookAddonDesigns.withDesign]
|
22
19
|
};
|
23
20
|
exports["default"] = _default;
|
24
21
|
var Default = function Default() {
|
@@ -15,10 +15,7 @@ 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'
|
19
|
-
parameters: {
|
20
|
-
codesandbox: false
|
21
|
-
}
|
18
|
+
title: 'Recipes/One Way to Bidirectional Arrow'
|
22
19
|
};
|
23
20
|
exports["default"] = _default;
|
24
21
|
var items = [{
|
@@ -20,10 +20,7 @@ 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'
|
24
|
-
parameters: {
|
25
|
-
codesandbox: false
|
26
|
-
}
|
23
|
+
title: 'Recipes/Scrollable List View'
|
27
24
|
};
|
28
25
|
exports["default"] = _default;
|
29
26
|
var ScrollableListView = function ScrollableListView() {
|
@@ -27,10 +27,7 @@ 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'
|
31
|
-
parameters: {
|
32
|
-
codesandbox: false
|
33
|
-
}
|
30
|
+
title: 'Recipes/Slider'
|
34
31
|
};
|
35
32
|
exports["default"] = _default;
|
36
33
|
var sx = {
|
@@ -15,10 +15,7 @@ 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'
|
19
|
-
parameters: {
|
20
|
-
codesandbox: false
|
21
|
-
}
|
18
|
+
title: 'Recipes/Trial Experience Buttons'
|
22
19
|
};
|
23
20
|
exports["default"] = _default;
|
24
21
|
var sx = {
|
@@ -21,10 +21,7 @@ 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'
|
25
|
-
parameters: {
|
26
|
-
codesandbox: false
|
27
|
-
}
|
24
|
+
title: 'Recipes/Trial Experience Nav'
|
28
25
|
};
|
29
26
|
exports["default"] = _default;
|
30
27
|
var ArtIcon = function ArtIcon() {
|
@@ -9,10 +9,7 @@ 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'
|
13
|
-
parameters: {
|
14
|
-
codesandbox: false
|
15
|
-
}
|
12
|
+
title: 'AI Components/AI Panel'
|
16
13
|
};
|
17
14
|
var AIMenuPopover = function AIMenuPopover() {
|
18
15
|
var _useState = useState(false),
|
@@ -4,10 +4,7 @@ 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
|
8
|
-
parameters: {
|
9
|
-
codesandbox: false
|
10
|
-
}
|
7
|
+
component: Prompt
|
11
8
|
};
|
12
9
|
export var Default = function Default() {
|
13
10
|
return ___EmotionJSX(Prompt, null, ___EmotionJSX(Text, null, "Did my number of registrations go up or down in the last month?"));
|
@@ -26,8 +26,7 @@ export default {
|
|
26
26
|
page: function page() {
|
27
27
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(PromptInputReadMe, null), ___EmotionJSX(DocsLayout, null));
|
28
28
|
}
|
29
|
-
}
|
30
|
-
codesandbox: false
|
29
|
+
}
|
31
30
|
},
|
32
31
|
argTypes: {
|
33
32
|
isLoading: _objectSpread({}, booleanArg),
|
@@ -23,8 +23,7 @@ export default {
|
|
23
23
|
page: function page() {
|
24
24
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ResponseReadme, null), ___EmotionJSX(DocsLayout, null));
|
25
25
|
}
|
26
|
-
}
|
27
|
-
codesandbox: false
|
26
|
+
}
|
28
27
|
}
|
29
28
|
};
|
30
29
|
var testText = 'Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet';
|
@@ -3,8 +3,7 @@ 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
|
7
|
-
codesandbox: false
|
6
|
+
component: Suggestions
|
8
7
|
};
|
9
8
|
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.';
|
10
9
|
export var Default = function Default() {
|
@@ -53,11 +53,6 @@ export default {
|
|
53
53
|
page: function page() {
|
54
54
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(AccordionReadme, null), ___EmotionJSX(DocsLayout, null));
|
55
55
|
}
|
56
|
-
},
|
57
|
-
codesandbox: {
|
58
|
-
mapComponent: {
|
59
|
-
'@pingux/astro': ['AccordionGroup', 'Badge', 'Box', 'Button', 'HelpHint', 'Item', 'Text', 'TextField']
|
60
|
-
}
|
61
56
|
}
|
62
57
|
},
|
63
58
|
argTypes: {
|
@@ -123,8 +118,7 @@ DifferentLevels.parameters = {
|
|
123
118
|
design: {
|
124
119
|
type: 'figma',
|
125
120
|
url: FIGMA_LINKS.accordionGroup.differentLevels
|
126
|
-
}
|
127
|
-
codesandbox: false
|
121
|
+
}
|
128
122
|
};
|
129
123
|
export var Multiple = function Multiple() {
|
130
124
|
return (
|
@@ -153,8 +147,7 @@ Multiple.parameters = {
|
|
153
147
|
design: {
|
154
148
|
type: 'figma',
|
155
149
|
url: FIGMA_LINKS.accordionGroup.multiple
|
156
|
-
}
|
157
|
-
codesandbox: false
|
150
|
+
}
|
158
151
|
};
|
159
152
|
export var ControlledExpanded = function ControlledExpanded() {
|
160
153
|
var _useState = useState(['t3']),
|
@@ -188,9 +181,6 @@ export var ControlledExpanded = function ControlledExpanded() {
|
|
188
181
|
})
|
189
182
|
);
|
190
183
|
};
|
191
|
-
ControlledExpanded.parameters = {
|
192
|
-
codesandbox: false
|
193
|
-
};
|
194
184
|
export var UncontrolledExpanded = function UncontrolledExpanded() {
|
195
185
|
return (
|
196
186
|
/*
|
@@ -214,9 +204,6 @@ export var UncontrolledExpanded = function UncontrolledExpanded() {
|
|
214
204
|
})
|
215
205
|
);
|
216
206
|
};
|
217
|
-
UncontrolledExpanded.parameters = {
|
218
|
-
codesandbox: false
|
219
|
-
};
|
220
207
|
export var DisabledState = function DisabledState() {
|
221
208
|
return (
|
222
209
|
/*
|
@@ -244,8 +231,7 @@ DisabledState.parameters = {
|
|
244
231
|
design: {
|
245
232
|
type: 'figma',
|
246
233
|
url: FIGMA_LINKS.accordionGroup.disabledState
|
247
|
-
}
|
248
|
-
codesandbox: false
|
234
|
+
}
|
249
235
|
};
|
250
236
|
export var CustomPresentation = function CustomPresentation() {
|
251
237
|
return (
|
@@ -283,8 +269,7 @@ CustomPresentation.parameters = {
|
|
283
269
|
description: {
|
284
270
|
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.'
|
285
271
|
}
|
286
|
-
}
|
287
|
-
codesandbox: false
|
272
|
+
}
|
288
273
|
};
|
289
274
|
export var LabelWithBadge = function LabelWithBadge(args) {
|
290
275
|
return ___EmotionJSX(AccordionGroup, _extends({}, args, {
|
@@ -320,7 +305,4 @@ export var AccordionWithSlot = function AccordionWithSlot() {
|
|
320
305
|
postHeading: ___EmotionJSX(HelpHint, null, " Text of the popover right here...")
|
321
306
|
}
|
322
307
|
}, ___EmotionJSX(Text, null, "Render me!")));
|
323
|
-
};
|
324
|
-
AccordionWithSlot.parameters = {
|
325
|
-
codesandbox: false
|
326
308
|
};
|
@@ -11,8 +11,7 @@ export default {
|
|
11
11
|
page: function page() {
|
12
12
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(AstroProviderReadme, null), ___EmotionJSX(DocsLayout, null));
|
13
13
|
}
|
14
|
-
}
|
15
|
-
codesandbox: false
|
14
|
+
}
|
16
15
|
},
|
17
16
|
decorators: [function (Story) {
|
18
17
|
return ___EmotionJSX("div", null, ___EmotionJSX(Story, null));
|
@@ -18,11 +18,6 @@ export default {
|
|
18
18
|
page: function page() {
|
19
19
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(BoxReadme, null), ___EmotionJSX(DocsLayout, null));
|
20
20
|
}
|
21
|
-
},
|
22
|
-
codesandbox: {
|
23
|
-
mapComponent: {
|
24
|
-
'@pingux/astro': ['Box', 'Image', 'Text']
|
25
|
-
}
|
26
21
|
}
|
27
22
|
},
|
28
23
|
argTypes: {
|
@@ -265,7 +260,4 @@ export var BoxesWithGaps = function BoxesWithGaps() {
|
|
265
260
|
height: 50,
|
266
261
|
bg: "decorativeDark.10"
|
267
262
|
})));
|
268
|
-
};
|
269
|
-
BoxesWithGaps.parameters = {
|
270
|
-
codesandbox: false
|
271
263
|
};
|
@@ -12,11 +12,6 @@ export default {
|
|
12
12
|
page: function page() {
|
13
13
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(BracketReadme, null), ___EmotionJSX(DocsLayout, null));
|
14
14
|
}
|
15
|
-
},
|
16
|
-
codesandbox: {
|
17
|
-
mapComponent: {
|
18
|
-
'@pingux/astro': ['Box', 'Bracket']
|
19
|
-
}
|
20
15
|
}
|
21
16
|
},
|
22
17
|
argTypes: {
|