@pingux/astro 2.128.1-alpha.0 → 2.129.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.d.ts +1 -4
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.js +4 -1
- package/lib/cjs/components/AIComponents/Prompt/Prompt.stories.js +4 -1
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.d.ts +1 -16
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.js +2 -4
- package/lib/cjs/components/AIComponents/Response/Response.stories.d.ts +2 -13
- package/lib/cjs/components/AIComponents/Response/Response.stories.js +3 -5
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.d.ts +1 -4
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.js +2 -1
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +2 -1
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.d.ts +22 -3
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +35 -21
- package/lib/cjs/components/ArrayField/ArrayField.stories.d.ts +2 -6
- package/lib/cjs/components/ArrayField/ArrayField.stories.js +28 -21
- package/lib/cjs/components/AstroProvider/AstroProvider.stories.js +2 -1
- package/lib/cjs/components/Avatar/Avatar.stories.js +20 -3
- package/lib/cjs/components/Badge/Badge.stories.js +26 -22
- package/lib/cjs/components/Box/Box.stories.d.ts +43 -0
- package/lib/cjs/components/Box/Box.stories.js +9 -4
- package/lib/cjs/components/Bracket/Bracket.stories.js +32 -5
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +15 -12
- package/lib/cjs/components/Button/Button.stories.d.ts +6 -23
- package/lib/cjs/components/Button/Button.stories.js +30 -26
- package/lib/cjs/components/ButtonBar/ButtonBar.stories.js +14 -11
- package/lib/cjs/components/Callout/Callout.stories.js +15 -12
- package/lib/cjs/components/Card/Card.stories.d.ts +3 -3
- package/lib/cjs/components/Card/Card.stories.js +20 -15
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +28 -18
- package/lib/cjs/components/CodeEditor/CodeEditor.stories.d.ts +0 -3
- package/lib/cjs/components/CodeEditor/CodeEditor.stories.js +10 -12
- package/lib/cjs/components/CodeView/CodeView.stories.js +22 -15
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -3
- package/lib/cjs/components/ColorField/ColorField.stories.js +5 -3
- package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +3 -3
- package/lib/cjs/components/CopyText/CopyText.stories.d.ts +1 -1
- package/lib/cjs/components/CopyText/CopyText.stories.js +5 -0
- package/lib/cjs/components/DataTable/DataTable.stories.d.ts +3 -180
- package/lib/cjs/components/DataTable/DataTable.stories.js +10 -11
- package/lib/cjs/components/DatePicker/DatePicker.stories.js +3 -5
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.d.ts +19 -4
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +18 -7
- package/lib/cjs/components/FieldHelperText/FieldHelperText.stories.d.ts +3 -3
- package/lib/cjs/components/FieldHelperText/FieldHelperText.stories.js +10 -9
- package/lib/cjs/components/FileInputField/FileInputField.stories.js +15 -18
- package/lib/cjs/components/Footer/Footer.stories.js +2 -1
- package/lib/cjs/components/Grid/Grid.stories.js +32 -7
- package/lib/cjs/components/HelpHint/HelpHint.stories.js +13 -8
- package/lib/cjs/components/Icon/Icon.stories.js +19 -7
- package/lib/cjs/components/IconBadge/IconBadge.stories.js +7 -3
- package/lib/cjs/components/IconButton/IconButton.stories.d.ts +3 -1
- package/lib/cjs/components/IconButton/IconButton.stories.js +17 -8
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.stories.js +7 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.stories.js +6 -3
- package/lib/cjs/components/Image/Image.stories.d.ts +1 -33
- package/lib/cjs/components/Image/Image.stories.js +28 -13
- package/lib/cjs/components/ImageUploadField/ImageUploadField.stories.js +10 -13
- package/lib/cjs/components/Input/Input.stories.d.ts +1 -14
- package/lib/cjs/components/Label/Label.stories.js +3 -3
- package/lib/cjs/components/Link/Link.stories.js +5 -0
- package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +23 -17
- package/lib/cjs/components/ListView/ListView.stories.d.ts +1 -132
- package/lib/cjs/components/ListView/ListView.stories.js +11 -13
- package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +2 -1
- package/lib/cjs/components/Loader/Loader.stories.js +8 -3
- package/lib/cjs/components/Messages/Messages.stories.d.ts +10 -29
- package/lib/cjs/components/Messages/Messages.stories.js +40 -32
- package/lib/cjs/components/Modal/Modal.stories.js +2 -1
- package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +2 -4
- package/lib/cjs/components/NavBar/NavBar.stories.js +2 -1
- package/lib/cjs/components/NavSideBar/NavSideBar.stories.js +2 -1
- package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.js +2 -4
- package/lib/cjs/components/NumberField/NumberField.stories.js +25 -27
- package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +2 -4
- package/lib/cjs/components/PageHeader/PageHeader.stories.js +14 -12
- package/lib/cjs/components/Pagination/Pagination.stories.d.ts +1 -33
- package/lib/cjs/components/Pagination/Pagination.stories.js +2 -1
- package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +10 -6
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +2 -1
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.stories.js +2 -1
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +2 -1
- package/lib/cjs/components/PasswordField/PasswordField.stories.js +0 -3
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.js +22 -15
- package/lib/cjs/components/ProgressBar/ProgressBar.stories.js +0 -3
- package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.d.ts +5 -18
- package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.js +18 -12
- package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.d.ts +1 -93
- package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.js +9 -12
- package/lib/cjs/components/RequirementsList/RequirementsList.stories.js +5 -0
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.stories.js +18 -4
- package/lib/cjs/components/SearchField/SearchField.stories.js +8 -6
- package/lib/cjs/components/SelectField/SelectField.stories.d.ts +9 -25
- package/lib/cjs/components/SelectField/SelectField.stories.js +29 -27
- package/lib/cjs/components/Separator/Separator.stories.d.ts +3 -1
- package/lib/cjs/components/Separator/Separator.stories.js +5 -4
- package/lib/cjs/components/Skeleton/Skeleton.stories.d.ts +1 -1
- package/lib/cjs/components/Skeleton/Skeleton.stories.js +13 -8
- package/lib/cjs/components/SliderField/SliderField.stories.d.ts +2 -2
- package/lib/cjs/components/SliderField/SliderField.stories.js +6 -6
- package/lib/cjs/components/Stepper/Stepper.stories.js +24 -16
- package/lib/cjs/components/SwitchField/SwitchField.stories.js +13 -15
- package/lib/cjs/components/Table/Table.stories.js +13 -2
- package/lib/cjs/components/Tabs/Tabs.stories.js +30 -4
- package/lib/cjs/components/Text/Text.stories.d.ts +2 -1
- package/lib/cjs/components/Text/Text.stories.js +28 -17
- package/lib/cjs/components/TextAreaField/TextAreaField.stories.d.ts +11 -35
- package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +30 -33
- package/lib/cjs/components/TextField/TextField.stories.js +44 -47
- package/lib/cjs/components/TimeField/TimeField.stories.d.ts +1 -25
- package/lib/cjs/components/TimeField/TimeField.stories.js +3 -6
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.stories.js +7 -6
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +34 -27
- package/lib/cjs/components/TreeView/TreeView.stories.js +2 -4
- package/lib/cjs/recipes/AccordionCard.stories.js +4 -1
- package/lib/cjs/recipes/AttributeMapping.stories.js +4 -1
- package/lib/cjs/recipes/CollapsiblePanel.stories.js +4 -1
- package/lib/cjs/recipes/ConditionFilter.stories.js +2 -1
- package/lib/cjs/recipes/CopyToClipboard.stories.js +4 -1
- package/lib/cjs/recipes/CountryPicker.stories.js +4 -1
- package/lib/cjs/recipes/DataVisualization.stories.js +4 -1
- package/lib/cjs/recipes/DateTimeRangePicker.stories.js +4 -1
- package/lib/cjs/recipes/InlineEditing.stories.js +4 -1
- package/lib/cjs/recipes/ListAndPanel.stories.js +2 -1
- package/lib/cjs/recipes/LogoTabs.stories.js +4 -1
- package/lib/cjs/recipes/MaskedValue.stories.js +2 -1
- package/lib/cjs/recipes/MultipagePopup.stories.js +2 -1
- package/lib/cjs/recipes/NoAccess.stories.d.ts +1 -4
- package/lib/cjs/recipes/NoAccess.stories.js +4 -1
- package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +4 -1
- package/lib/cjs/recipes/PanelContent.stories.js +2 -1
- package/lib/cjs/recipes/ScrollableListView.stories.js +4 -1
- package/lib/cjs/recipes/Slider.stories.js +4 -1
- package/lib/cjs/recipes/TrialExperienceIndustryButtons.stories.js +4 -1
- package/lib/cjs/recipes/TrialExperienceStatusBar.stories.js +4 -1
- package/lib/cjs/styles/templates/Nav/Nav.stories.js +2 -1
- package/lib/components/AIComponents/AIPanel/AIPanel.stories.js +4 -1
- package/lib/components/AIComponents/Prompt/Prompt.stories.js +4 -1
- package/lib/components/AIComponents/PromptInput/PromptInput.stories.js +2 -4
- package/lib/components/AIComponents/Response/Response.stories.js +3 -5
- package/lib/components/AIComponents/Suggestions/Suggestions.stories.js +2 -1
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +2 -1
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +26 -12
- package/lib/components/ArrayField/ArrayField.stories.js +28 -21
- package/lib/components/AstroProvider/AstroProvider.stories.js +2 -1
- package/lib/components/Avatar/Avatar.stories.js +20 -3
- package/lib/components/Badge/Badge.stories.js +26 -22
- package/lib/components/Box/Box.stories.js +8 -3
- package/lib/components/Bracket/Bracket.stories.js +32 -5
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +9 -6
- package/lib/components/Button/Button.stories.js +30 -26
- package/lib/components/ButtonBar/ButtonBar.stories.js +14 -11
- package/lib/components/Callout/Callout.stories.js +15 -12
- package/lib/components/Card/Card.stories.js +20 -15
- package/lib/components/CheckboxField/CheckboxField.stories.js +28 -18
- package/lib/components/CodeEditor/CodeEditor.stories.js +10 -12
- package/lib/components/CodeView/CodeView.stories.js +22 -15
- package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +5 -3
- package/lib/components/ColorField/ColorField.stories.js +5 -3
- package/lib/components/ComboBoxField/ComboBoxField.stories.js +3 -3
- package/lib/components/CopyText/CopyText.stories.js +5 -0
- package/lib/components/DataTable/DataTable.stories.js +10 -11
- package/lib/components/DatePicker/DatePicker.stories.js +3 -5
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +17 -6
- package/lib/components/FieldHelperText/FieldHelperText.stories.js +10 -9
- package/lib/components/FileInputField/FileInputField.stories.js +15 -18
- package/lib/components/Footer/Footer.stories.js +2 -1
- package/lib/components/Grid/Grid.stories.js +32 -7
- package/lib/components/HelpHint/HelpHint.stories.js +13 -8
- package/lib/components/Icon/Icon.stories.js +18 -6
- package/lib/components/IconBadge/IconBadge.stories.js +7 -3
- package/lib/components/IconButton/IconButton.stories.js +17 -8
- package/lib/components/IconButtonToggle/IconButtonToggle.stories.js +7 -0
- package/lib/components/IconWrapper/IconWrapper.stories.js +6 -3
- package/lib/components/Image/Image.stories.js +27 -12
- package/lib/components/ImageUploadField/ImageUploadField.stories.js +10 -13
- package/lib/components/Label/Label.stories.js +3 -3
- package/lib/components/Link/Link.stories.js +5 -0
- package/lib/components/LinkSelectField/LinkSelectField.stories.js +22 -16
- package/lib/components/ListView/ListView.stories.js +4 -6
- package/lib/components/ListViewItem/ListViewItem.stories.js +2 -1
- package/lib/components/Loader/Loader.stories.js +8 -3
- package/lib/components/Messages/Messages.stories.js +28 -20
- package/lib/components/Modal/Modal.stories.js +2 -1
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +2 -4
- package/lib/components/NavBar/NavBar.stories.js +2 -1
- package/lib/components/NavSideBar/NavSideBar.stories.js +2 -1
- package/lib/components/NavigationHeader/NavigationHeader.stories.js +2 -4
- package/lib/components/NumberField/NumberField.stories.js +25 -27
- package/lib/components/OverlayPanel/OverlayPanel.stories.js +2 -4
- package/lib/components/PageHeader/PageHeader.stories.js +14 -12
- package/lib/components/Pagination/Pagination.stories.js +2 -1
- package/lib/components/PanelHeader/PanelHeader.stories.js +10 -6
- package/lib/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +2 -1
- package/lib/components/PanelHeader/controls/PanelHeaderMenu.stories.js +2 -1
- package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +2 -1
- package/lib/components/PasswordField/PasswordField.stories.js +0 -3
- package/lib/components/PopoverMenu/PopoverMenu.stories.js +22 -15
- package/lib/components/ProgressBar/ProgressBar.stories.js +0 -3
- package/lib/components/RadioGroupField/RadioGroupField.stories.js +18 -12
- package/lib/components/RangeCalendar/RangeCalendar.stories.js +9 -12
- package/lib/components/RequirementsList/RequirementsList.stories.js +5 -0
- package/lib/components/RockerButtonGroup/RockerButtonGroup.stories.js +17 -3
- package/lib/components/SearchField/SearchField.stories.js +8 -6
- package/lib/components/SelectField/SelectField.stories.js +29 -27
- package/lib/components/Separator/Separator.stories.js +5 -4
- package/lib/components/Skeleton/Skeleton.stories.js +13 -8
- package/lib/components/SliderField/SliderField.stories.js +6 -6
- package/lib/components/Stepper/Stepper.stories.js +13 -5
- package/lib/components/SwitchField/SwitchField.stories.js +13 -15
- package/lib/components/Table/Table.stories.js +13 -2
- package/lib/components/Tabs/Tabs.stories.js +29 -3
- package/lib/components/Text/Text.stories.js +28 -17
- package/lib/components/TextAreaField/TextAreaField.stories.js +30 -33
- package/lib/components/TextField/TextField.stories.js +44 -47
- package/lib/components/TimeField/TimeField.stories.js +3 -6
- package/lib/components/TimeZonePicker/TimeZonePicker.stories.js +7 -6
- package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +34 -27
- package/lib/components/TreeView/TreeView.stories.js +2 -4
- package/lib/recipes/AccordionCard.stories.js +4 -1
- package/lib/recipes/AttributeMapping.stories.js +4 -1
- package/lib/recipes/CollapsiblePanel.stories.js +4 -1
- package/lib/recipes/ConditionFilter.stories.js +2 -1
- package/lib/recipes/CopyToClipboard.stories.js +4 -1
- package/lib/recipes/CountryPicker.stories.js +4 -1
- package/lib/recipes/DataVisualization.stories.js +4 -1
- package/lib/recipes/DateTimeRangePicker.stories.js +4 -1
- package/lib/recipes/InlineEditing.stories.js +4 -1
- package/lib/recipes/ListAndPanel.stories.js +2 -1
- package/lib/recipes/LogoTabs.stories.js +4 -1
- package/lib/recipes/MaskedValue.stories.js +2 -1
- package/lib/recipes/MultipagePopup.stories.js +2 -1
- package/lib/recipes/NoAccess.stories.js +4 -1
- package/lib/recipes/OneWayToBidirectionalArrow.stories.js +4 -1
- package/lib/recipes/PanelContent.stories.js +2 -1
- package/lib/recipes/ScrollableListView.stories.js +4 -1
- package/lib/recipes/Slider.stories.js +4 -1
- package/lib/recipes/TrialExperienceIndustryButtons.stories.js +4 -1
- package/lib/recipes/TrialExperienceStatusBar.stories.js +4 -1
- package/lib/styles/templates/Nav/Nav.stories.js +2 -1
- package/package.json +2 -1
@@ -30,14 +30,14 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
30
30
|
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; }
|
31
31
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context14, _context15; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context14 = ownKeys(Object(source), !0)).call(_context14, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context15 = ownKeys(Object(source))).call(_context15, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
32
32
|
import React, { useRef, useState } from 'react';
|
33
|
-
import {
|
33
|
+
import { useAsyncList } from 'react-stately';
|
34
34
|
import ClockTimeEightOutlineIcon from '@pingux/mdi-react/ClockTimeEightOutlineIcon';
|
35
35
|
import CogIcon from '@pingux/mdi-react/CogIcon';
|
36
36
|
import FormSelectIcon from '@pingux/mdi-react/FormSelectIcon';
|
37
37
|
import { action } from '@storybook/addon-actions';
|
38
38
|
import isChromatic from 'chromatic/isChromatic';
|
39
39
|
import DocsLayout from '../../../.storybook/storybookDocsLayout';
|
40
|
-
import { Box, Button, ListView, ListViewItem, ListViewItemChart, ListViewItemMenu, ListViewItemSwitchField, SearchField, Text } from '../..';
|
40
|
+
import { Box, Button, Item, ListView, ListViewItem, ListViewItemChart, ListViewItemMenu, ListViewItemSwitchField, SearchField, Text } from '../..';
|
41
41
|
import { FIGMA_LINKS } from '../../utils/designUtils/figmaLinks';
|
42
42
|
import animals from '../../utils/devUtils/constants/animals';
|
43
43
|
import loadingStates from '../../utils/devUtils/constants/loadingStates';
|
@@ -52,11 +52,9 @@ export default {
|
|
52
52
|
docs: {
|
53
53
|
page: function page() {
|
54
54
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ListViewReadme, null), ___EmotionJSX(DocsLayout, null));
|
55
|
-
},
|
56
|
-
source: {
|
57
|
-
type: 'code'
|
58
55
|
}
|
59
|
-
}
|
56
|
+
},
|
57
|
+
codesandbox: false
|
60
58
|
},
|
61
59
|
argTypes: _objectSpread({}, listViewArgTypes),
|
62
60
|
args: {
|
@@ -30,6 +30,11 @@ export default {
|
|
30
30
|
page: function page() {
|
31
31
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(LoaderReadme, null), ___EmotionJSX(DocsLayout, null));
|
32
32
|
}
|
33
|
+
},
|
34
|
+
codesandbox: {
|
35
|
+
mapComponent: {
|
36
|
+
'@pingux/astro': ['Loader']
|
37
|
+
}
|
33
38
|
}
|
34
39
|
},
|
35
40
|
argTypes: {
|
@@ -60,10 +65,10 @@ Default.parameters = {
|
|
60
65
|
url: FIGMA_LINKS.loader["default"]
|
61
66
|
}
|
62
67
|
};
|
63
|
-
export var CustomColor = function CustomColor() {
|
64
|
-
return ___EmotionJSX(Loader, {
|
68
|
+
export var CustomColor = function CustomColor(args) {
|
69
|
+
return ___EmotionJSX(Loader, _extends({}, args, {
|
65
70
|
color: "neutral.50"
|
66
|
-
});
|
71
|
+
}));
|
67
72
|
};
|
68
73
|
export var CustomSize = function CustomSize(args) {
|
69
74
|
return ___EmotionJSX(Loader, _extends({}, args, {
|
@@ -16,11 +16,10 @@ import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/insta
|
|
16
16
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
17
17
|
import _Object$values from "@babel/runtime-corejs3/core-js-stable/object/values";
|
18
18
|
import React, { useEffect, useReducer, useState } from 'react';
|
19
|
-
import { Item } from 'react-stately';
|
20
19
|
import AccountIcon from '@pingux/mdi-react/AccountIcon';
|
21
20
|
import { withDesign } from 'storybook-addon-designs';
|
22
21
|
import DocsLayout from '../../../.storybook/storybookDocsLayout';
|
23
|
-
import { Box, Button, Link, Messages } from '../../index';
|
22
|
+
import { Box, Button, Item, Link, Messages } from '../../index';
|
24
23
|
import { FIGMA_LINKS } from '../../utils/designUtils/figmaLinks';
|
25
24
|
import statuses from '../../utils/devUtils/constants/statuses';
|
26
25
|
import { messagesReducerStory as messagesReducer, multiMessagesReducerStory as multiMessagesReducer } from './index';
|
@@ -46,9 +45,12 @@ export default {
|
|
46
45
|
docs: {
|
47
46
|
page: function page() {
|
48
47
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(MessagesReadme, null), ___EmotionJSX(DocsLayout, null));
|
49
|
-
}
|
50
|
-
|
51
|
-
|
48
|
+
}
|
49
|
+
},
|
50
|
+
codesandbox: {
|
51
|
+
mapComponent: {
|
52
|
+
'@pingux/astro': ['Box', 'Button', 'Item', 'Link', 'Messages'],
|
53
|
+
'@pingux/mdi-react/AccountIcon': 'AccountIcon'
|
52
54
|
}
|
53
55
|
}
|
54
56
|
}
|
@@ -111,9 +113,10 @@ DefaultDynamic.parameters = {
|
|
111
113
|
enabled: false
|
112
114
|
}]
|
113
115
|
}
|
114
|
-
}
|
116
|
+
},
|
117
|
+
codesandbox: false
|
115
118
|
};
|
116
|
-
export var Controlled = function Controlled(
|
119
|
+
export var Controlled = function Controlled() {
|
117
120
|
var _useState = useState([]),
|
118
121
|
_useState2 = _slicedToArray(_useState, 2),
|
119
122
|
items = _useState2[0],
|
@@ -133,10 +136,10 @@ export var Controlled = function Controlled(args) {
|
|
133
136
|
}));
|
134
137
|
}, 200);
|
135
138
|
};
|
136
|
-
return ___EmotionJSX(Messages,
|
139
|
+
return ___EmotionJSX(Messages, {
|
137
140
|
items: items,
|
138
141
|
onClose: removeMessage
|
139
|
-
}
|
142
|
+
}, function (item) {
|
140
143
|
return ___EmotionJSX(Item, item, item.text);
|
141
144
|
});
|
142
145
|
};
|
@@ -150,9 +153,10 @@ Controlled.parameters = {
|
|
150
153
|
enabled: false
|
151
154
|
}]
|
152
155
|
}
|
153
|
-
}
|
156
|
+
},
|
157
|
+
codesandbox: false
|
154
158
|
};
|
155
|
-
export var ControlledWithButton = function ControlledWithButton(
|
159
|
+
export var ControlledWithButton = function ControlledWithButton() {
|
156
160
|
var _useState3 = useState([]),
|
157
161
|
_useState4 = _slicedToArray(_useState3, 2),
|
158
162
|
items = _useState4[0],
|
@@ -179,10 +183,10 @@ export var ControlledWithButton = function ControlledWithButton(args) {
|
|
179
183
|
};
|
180
184
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Button, {
|
181
185
|
onPress: addMessage
|
182
|
-
}, "Click me!"), ___EmotionJSX(Messages,
|
186
|
+
}, "Click me!"), ___EmotionJSX(Messages, {
|
183
187
|
items: items,
|
184
188
|
onClose: removeMessage
|
185
|
-
}
|
189
|
+
}, function (item) {
|
186
190
|
return ___EmotionJSX(Item, item, item.text);
|
187
191
|
}));
|
188
192
|
};
|
@@ -196,7 +200,8 @@ ControlledWithButton.parameters = {
|
|
196
200
|
enabled: false
|
197
201
|
}]
|
198
202
|
}
|
199
|
-
}
|
203
|
+
},
|
204
|
+
codesandbox: false
|
200
205
|
};
|
201
206
|
export var UseReducer = function UseReducer() {
|
202
207
|
// import { messagesReducer as messagesReducerCore } from '@pingux/astro';
|
@@ -250,7 +255,8 @@ UseReducer.parameters = {
|
|
250
255
|
enabled: false
|
251
256
|
}]
|
252
257
|
}
|
253
|
-
}
|
258
|
+
},
|
259
|
+
codesandbox: false
|
254
260
|
};
|
255
261
|
export var UseReducerWithMultipleContainers = function UseReducerWithMultipleContainers() {
|
256
262
|
var _useReducer3 = useReducer(multiMessagesReducer, {
|
@@ -313,9 +319,10 @@ UseReducerWithMultipleContainers.parameters = {
|
|
313
319
|
enabled: false
|
314
320
|
}]
|
315
321
|
}
|
316
|
-
}
|
322
|
+
},
|
323
|
+
codesandbox: false
|
317
324
|
};
|
318
|
-
export var WithTextStyling = function WithTextStyling(
|
325
|
+
export var WithTextStyling = function WithTextStyling() {
|
319
326
|
var items = [{
|
320
327
|
key: 'message1',
|
321
328
|
node: ___EmotionJSX("strong", null, loremText)
|
@@ -324,9 +331,9 @@ export var WithTextStyling = function WithTextStyling(args) {
|
|
324
331
|
node: ___EmotionJSX(React.Fragment, null, ___EmotionJSX("b", null, "Lorem Ipsum! "), "dolor sit amet, consectetur adipiscing elit"),
|
325
332
|
status: 'error'
|
326
333
|
}];
|
327
|
-
return ___EmotionJSX(Messages,
|
334
|
+
return ___EmotionJSX(Messages, {
|
328
335
|
items: items
|
329
|
-
}
|
336
|
+
}, function (item) {
|
330
337
|
return ___EmotionJSX(Item, item, item.node || item.text);
|
331
338
|
});
|
332
339
|
};
|
@@ -344,7 +351,8 @@ WithTextStyling.parameters = {
|
|
344
351
|
enabled: false
|
345
352
|
}]
|
346
353
|
}
|
347
|
-
}
|
354
|
+
},
|
355
|
+
codesandbox: false
|
348
356
|
};
|
349
357
|
export var WithLink = function WithLink(args) {
|
350
358
|
return ___EmotionJSX(Messages, args, ___EmotionJSX(Item, {
|
@@ -87,9 +87,6 @@ export default {
|
|
87
87
|
docs: {
|
88
88
|
page: function page() {
|
89
89
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(MultivaluesFieldReadme, null), ___EmotionJSX(DocsLayout, null));
|
90
|
-
},
|
91
|
-
source: {
|
92
|
-
type: 'code'
|
93
90
|
}
|
94
91
|
},
|
95
92
|
a11y: {
|
@@ -103,7 +100,8 @@ export default {
|
|
103
100
|
enabled: false
|
104
101
|
}]
|
105
102
|
}
|
106
|
-
}
|
103
|
+
},
|
104
|
+
codesandbox: false
|
107
105
|
}
|
108
106
|
};
|
109
107
|
var VariableIcon = function VariableIcon(props) {
|
@@ -53,7 +53,8 @@ export default {
|
|
53
53
|
page: function page() {
|
54
54
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NavBarReadme, null), ___EmotionJSX(DocsLayout, null));
|
55
55
|
}
|
56
|
-
}
|
56
|
+
},
|
57
|
+
codesandbox: false
|
57
58
|
}
|
58
59
|
};
|
59
60
|
var Credentials = function Credentials(props) {
|
@@ -18,11 +18,9 @@ export default {
|
|
18
18
|
docs: {
|
19
19
|
page: function page() {
|
20
20
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NavigationHeaderReadme, null), ___EmotionJSX(DocsLayout, null));
|
21
|
-
},
|
22
|
-
source: {
|
23
|
-
type: 'code'
|
24
21
|
}
|
25
|
-
}
|
22
|
+
},
|
23
|
+
codesandbox: false
|
26
24
|
},
|
27
25
|
argTypes: {
|
28
26
|
src: {
|
@@ -7,6 +7,7 @@ import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-st
|
|
7
7
|
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
8
8
|
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
9
9
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
10
|
+
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
10
11
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
11
12
|
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; }
|
12
13
|
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) { _defineProperty(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; }
|
@@ -25,9 +26,6 @@ export default {
|
|
25
26
|
docs: {
|
26
27
|
page: function page() {
|
27
28
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NumberFieldReadme, null), ___EmotionJSX(DocsLayout, null));
|
28
|
-
},
|
29
|
-
source: {
|
30
|
-
type: 'code'
|
31
29
|
}
|
32
30
|
}
|
33
31
|
},
|
@@ -104,8 +102,8 @@ export default {
|
|
104
102
|
export var Default = function Default(args) {
|
105
103
|
return ___EmotionJSX(NumberField, args);
|
106
104
|
};
|
107
|
-
export var Decimals = function Decimals() {
|
108
|
-
return ___EmotionJSX(NumberField, {
|
105
|
+
export var Decimals = function Decimals(args) {
|
106
|
+
return ___EmotionJSX(NumberField, _extends({}, args, {
|
109
107
|
label: "Adjust exposure",
|
110
108
|
defaultValue: 0,
|
111
109
|
formatOptions: {
|
@@ -113,7 +111,7 @@ export var Decimals = function Decimals() {
|
|
113
111
|
minimumFractionDigits: 1,
|
114
112
|
maximumFractionDigits: 2
|
115
113
|
}
|
116
|
-
});
|
114
|
+
}));
|
117
115
|
};
|
118
116
|
export var ControlledState = function ControlledState() {
|
119
117
|
var _useState = useState(12),
|
@@ -126,8 +124,8 @@ export var ControlledState = function ControlledState() {
|
|
126
124
|
onChange: setValue
|
127
125
|
});
|
128
126
|
};
|
129
|
-
export var CurrencyValues = function CurrencyValues() {
|
130
|
-
return ___EmotionJSX(NumberField, {
|
127
|
+
export var CurrencyValues = function CurrencyValues(args) {
|
128
|
+
return ___EmotionJSX(NumberField, _extends({}, args, {
|
131
129
|
label: "Transaction amount",
|
132
130
|
defaultValue: 45,
|
133
131
|
formatOptions: {
|
@@ -136,14 +134,14 @@ export var CurrencyValues = function CurrencyValues() {
|
|
136
134
|
currencyDisplay: 'code',
|
137
135
|
currencySign: 'accounting'
|
138
136
|
}
|
139
|
-
});
|
137
|
+
}));
|
140
138
|
};
|
141
|
-
export var DisabledAndReadOnly = function DisabledAndReadOnly() {
|
142
|
-
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NumberField, {
|
139
|
+
export var DisabledAndReadOnly = function DisabledAndReadOnly(args) {
|
140
|
+
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NumberField, _extends({}, args, {
|
143
141
|
label: "Disabled",
|
144
142
|
isDisabled: true,
|
145
143
|
value: 25
|
146
|
-
}), ___EmotionJSX(NumberField, {
|
144
|
+
})), ___EmotionJSX(NumberField, _extends({}, args, {
|
147
145
|
label: "Read only",
|
148
146
|
isReadOnly: true,
|
149
147
|
value: 32,
|
@@ -152,19 +150,19 @@ export var DisabledAndReadOnly = function DisabledAndReadOnly() {
|
|
152
150
|
marginTop: '15px'
|
153
151
|
}
|
154
152
|
}
|
155
|
-
}));
|
153
|
+
})));
|
156
154
|
};
|
157
|
-
export var MinimumAndMaximumValues = function MinimumAndMaximumValues() {
|
158
|
-
return ___EmotionJSX(NumberField, {
|
155
|
+
export var MinimumAndMaximumValues = function MinimumAndMaximumValues(args) {
|
156
|
+
return ___EmotionJSX(NumberField, _extends({}, args, {
|
159
157
|
label: "Enter your age",
|
160
158
|
minValue: 0
|
161
|
-
});
|
159
|
+
}));
|
162
160
|
};
|
163
|
-
export var StepValues = function StepValues() {
|
164
|
-
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NumberField, {
|
161
|
+
export var StepValues = function StepValues(args) {
|
162
|
+
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(NumberField, _extends({}, args, {
|
165
163
|
label: "Step",
|
166
164
|
step: 10
|
167
|
-
}), ___EmotionJSX(NumberField, {
|
165
|
+
})), ___EmotionJSX(NumberField, _extends({}, args, {
|
168
166
|
label: "Step + minValue",
|
169
167
|
minValue: 2,
|
170
168
|
step: 3,
|
@@ -173,7 +171,7 @@ export var StepValues = function StepValues() {
|
|
173
171
|
marginTop: '15px'
|
174
172
|
}
|
175
173
|
}
|
176
|
-
}), ___EmotionJSX(NumberField, {
|
174
|
+
})), ___EmotionJSX(NumberField, _extends({}, args, {
|
177
175
|
label: "Step + minValue + maxValue",
|
178
176
|
minValue: 2,
|
179
177
|
maxValue: 21,
|
@@ -186,17 +184,17 @@ export var StepValues = function StepValues() {
|
|
186
184
|
marginTop: '15px'
|
187
185
|
}
|
188
186
|
}
|
189
|
-
}));
|
187
|
+
})));
|
190
188
|
};
|
191
|
-
export var WithHelperText = function WithHelperText() {
|
192
|
-
return ___EmotionJSX(NumberField, {
|
189
|
+
export var WithHelperText = function WithHelperText(args) {
|
190
|
+
return ___EmotionJSX(NumberField, _extends({}, args, {
|
193
191
|
label: "Helper Text",
|
194
192
|
defaultValue: 88,
|
195
193
|
helperText: "Useful Text"
|
196
|
-
});
|
194
|
+
}));
|
197
195
|
};
|
198
|
-
export var Units = function Units() {
|
199
|
-
return ___EmotionJSX(NumberField, {
|
196
|
+
export var Units = function Units(args) {
|
197
|
+
return ___EmotionJSX(NumberField, _extends({}, args, {
|
200
198
|
label: "Package width",
|
201
199
|
defaultValue: 4,
|
202
200
|
formatOptions: {
|
@@ -204,5 +202,5 @@ export var Units = function Units() {
|
|
204
202
|
unit: 'inch',
|
205
203
|
unitDisplay: 'long'
|
206
204
|
}
|
207
|
-
});
|
205
|
+
}));
|
208
206
|
};
|
@@ -37,11 +37,9 @@ export default {
|
|
37
37
|
docs: {
|
38
38
|
page: function page() {
|
39
39
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(OverlayPanelReadme, null), ___EmotionJSX(DocsLayout, null));
|
40
|
-
},
|
41
|
-
source: {
|
42
|
-
type: 'code'
|
43
40
|
}
|
44
|
-
}
|
41
|
+
},
|
42
|
+
codesandbox: false
|
45
43
|
}
|
46
44
|
};
|
47
45
|
export var Default = function Default(_ref) {
|
@@ -12,9 +12,11 @@ export default {
|
|
12
12
|
docs: {
|
13
13
|
page: function page() {
|
14
14
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(PageHeaderReadMe, null), ___EmotionJSX(DocsLayout, null));
|
15
|
-
}
|
16
|
-
|
17
|
-
|
15
|
+
}
|
16
|
+
},
|
17
|
+
codesandbox: {
|
18
|
+
mapComponent: {
|
19
|
+
'@pingux/astro': ['Link', 'PageHeader']
|
18
20
|
}
|
19
21
|
}
|
20
22
|
},
|
@@ -43,10 +45,10 @@ Default.parameters = {
|
|
43
45
|
url: FIGMA_LINKS.pageHeader["default"]
|
44
46
|
}
|
45
47
|
};
|
46
|
-
export var WithoutButton = function WithoutButton() {
|
47
|
-
return ___EmotionJSX(PageHeader, {
|
48
|
+
export var WithoutButton = function WithoutButton(args) {
|
49
|
+
return ___EmotionJSX(PageHeader, _extends({
|
48
50
|
title: "Lorem ipsum"
|
49
|
-
}, description, ___EmotionJSX(Link, {
|
51
|
+
}, args), description, ___EmotionJSX(Link, {
|
50
52
|
href: "https://uilibrary.ping-eng.com/"
|
51
53
|
}, "Learn more"));
|
52
54
|
};
|
@@ -56,13 +58,13 @@ WithoutButton.parameters = {
|
|
56
58
|
url: FIGMA_LINKS.pageHeader.withoutButton
|
57
59
|
}
|
58
60
|
};
|
59
|
-
export var WithoutLink = function WithoutLink() {
|
60
|
-
return ___EmotionJSX(PageHeader, {
|
61
|
+
export var WithoutLink = function WithoutLink(args) {
|
62
|
+
return ___EmotionJSX(PageHeader, _extends({
|
61
63
|
buttonProps: {
|
62
64
|
onPress: function onPress() {}
|
63
65
|
},
|
64
66
|
title: "Lorem ipsum"
|
65
|
-
}, description);
|
67
|
+
}, args), description);
|
66
68
|
};
|
67
69
|
WithoutLink.parameters = {
|
68
70
|
design: {
|
@@ -70,13 +72,13 @@ WithoutLink.parameters = {
|
|
70
72
|
url: FIGMA_LINKS.pageHeader.withoutLink
|
71
73
|
}
|
72
74
|
};
|
73
|
-
export var Customization = function Customization() {
|
74
|
-
return ___EmotionJSX(PageHeader, {
|
75
|
+
export var Customization = function Customization(args) {
|
76
|
+
return ___EmotionJSX(PageHeader, _extends({
|
75
77
|
buttonProps: {
|
76
78
|
bg: 'critical.bright'
|
77
79
|
},
|
78
80
|
title: "Lorem ipsum"
|
79
|
-
}, description, ___EmotionJSX(Link, {
|
81
|
+
}, args), description, ___EmotionJSX(Link, {
|
80
82
|
href: "https://uilibrary.ping-eng.com/"
|
81
83
|
}, "Learn more"));
|
82
84
|
};
|
@@ -17,9 +17,13 @@ export default {
|
|
17
17
|
docs: {
|
18
18
|
page: function page() {
|
19
19
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(PanelHeaderReadMe, null), ___EmotionJSX(DocsLayout, null));
|
20
|
-
}
|
21
|
-
|
22
|
-
|
20
|
+
}
|
21
|
+
},
|
22
|
+
codesandbox: {
|
23
|
+
mapComponent: {
|
24
|
+
'@pingux/astro': ['Box', 'Breadcrumbs', 'Item', 'PanelHeader', 'PanelHeaderCloseButton', 'PanelHeaderMenu', 'PanelHeaderSwitchField'],
|
25
|
+
'@pingux/mdi-react/ChevronRightIcon': 'ChevronRightIcon',
|
26
|
+
'@pingux/mdi-react/AccountIcon': 'AccountIcon'
|
23
27
|
}
|
24
28
|
}
|
25
29
|
},
|
@@ -78,8 +82,8 @@ WithControls.parameters = {
|
|
78
82
|
url: FIGMA_LINKS.panelHeader.withControls
|
79
83
|
}
|
80
84
|
};
|
81
|
-
export var WithImage = function WithImage() {
|
82
|
-
return ___EmotionJSX(PanelHeader, {
|
85
|
+
export var WithImage = function WithImage(args) {
|
86
|
+
return ___EmotionJSX(PanelHeader, _extends({}, args, {
|
83
87
|
data: {
|
84
88
|
image: {
|
85
89
|
src: pingImg,
|
@@ -88,7 +92,7 @@ export var WithImage = function WithImage() {
|
|
88
92
|
},
|
89
93
|
text: 'Fons Vernall'
|
90
94
|
}
|
91
|
-
});
|
95
|
+
}));
|
92
96
|
};
|
93
97
|
WithImage.parameters = {
|
94
98
|
design: {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
2
|
+
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
2
3
|
import React, { useState } from 'react';
|
3
4
|
import DotsVerticalIcon from '@pingux/mdi-react/DotsVerticalIcon';
|
4
5
|
import { action } from '@storybook/addon-actions';
|
@@ -16,9 +17,12 @@ export default {
|
|
16
17
|
docs: {
|
17
18
|
page: function page() {
|
18
19
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(PopoverMenuReadme, null), ___EmotionJSX(DocsLayout, null));
|
19
|
-
}
|
20
|
-
|
21
|
-
|
20
|
+
}
|
21
|
+
},
|
22
|
+
codesandbox: {
|
23
|
+
mapComponent: {
|
24
|
+
'@pingux/astro': ['Icon', 'IconButton', 'Item', 'Menu', 'OverlayProvider', 'PopoverMenu', 'Section', 'Text'],
|
25
|
+
'@pingux/mdi-react/DotsVerticalIcon': 'DotsVerticalIcon'
|
22
26
|
}
|
23
27
|
}
|
24
28
|
},
|
@@ -71,13 +75,13 @@ Default.parameters = {
|
|
71
75
|
url: FIGMA_LINKS.popoverMenu["default"]
|
72
76
|
}
|
73
77
|
};
|
74
|
-
export var DefaultOpen = function DefaultOpen() {
|
78
|
+
export var DefaultOpen = function DefaultOpen(args) {
|
75
79
|
return (
|
76
80
|
// Application must be wrapped in an OverlayProvider so that it can be hidden from screen
|
77
81
|
// readers when an overlay opens.
|
78
|
-
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, {
|
82
|
+
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, _extends({}, args, {
|
79
83
|
isDefaultOpen: true
|
80
|
-
}, ___EmotionJSX(IconButton, {
|
84
|
+
}), ___EmotionJSX(IconButton, {
|
81
85
|
"aria-label": "more options",
|
82
86
|
variant: "inverted"
|
83
87
|
}, ___EmotionJSX(Icon, {
|
@@ -135,13 +139,16 @@ export var Controlled = function Controlled() {
|
|
135
139
|
}, "Delete")))))
|
136
140
|
);
|
137
141
|
};
|
138
|
-
|
142
|
+
Controlled.parameters = {
|
143
|
+
codesandbox: false
|
144
|
+
};
|
145
|
+
export var Placement = function Placement(args) {
|
139
146
|
return (
|
140
147
|
// Application must be wrapped in an OverlayProvider so that it can be hidden from screen
|
141
148
|
// readers when an overlay opens.
|
142
|
-
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, {
|
149
|
+
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, _extends({}, args, {
|
143
150
|
direction: "left"
|
144
|
-
}, ___EmotionJSX(IconButton, {
|
151
|
+
}), ___EmotionJSX(IconButton, {
|
145
152
|
"aria-label": "more options",
|
146
153
|
variant: "inverted"
|
147
154
|
}, ___EmotionJSX(Icon, {
|
@@ -164,14 +171,14 @@ export var Placement = function Placement() {
|
|
164
171
|
}, "Delete")))))
|
165
172
|
);
|
166
173
|
};
|
167
|
-
export var NotFlippable = function NotFlippable() {
|
174
|
+
export var NotFlippable = function NotFlippable(args) {
|
168
175
|
return (
|
169
176
|
// Application must be wrapped in an OverlayProvider so that it can be hidden from screen
|
170
177
|
// readers when an overlay opens.
|
171
|
-
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, {
|
178
|
+
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, _extends({}, args, {
|
172
179
|
direction: "left",
|
173
180
|
isNotFlippable: true
|
174
|
-
}, ___EmotionJSX(IconButton, {
|
181
|
+
}), ___EmotionJSX(IconButton, {
|
175
182
|
"aria-label": "more options",
|
176
183
|
variant: "inverted"
|
177
184
|
}, ___EmotionJSX(Icon, {
|
@@ -194,13 +201,13 @@ export var NotFlippable = function NotFlippable() {
|
|
194
201
|
}, "Delete")))))
|
195
202
|
);
|
196
203
|
};
|
197
|
-
export var NotClosedOnSelect = function NotClosedOnSelect() {
|
204
|
+
export var NotClosedOnSelect = function NotClosedOnSelect(args) {
|
198
205
|
return (
|
199
206
|
// Application must be wrapped in an OverlayProvider so that it can be hidden from screen
|
200
207
|
// readers when an overlay opens.
|
201
|
-
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, {
|
208
|
+
___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, _extends({}, args, {
|
202
209
|
isNotClosedOnSelect: true
|
203
|
-
}, ___EmotionJSX(IconButton, {
|
210
|
+
}), ___EmotionJSX(IconButton, {
|
204
211
|
"aria-label": "more options",
|
205
212
|
variant: "inverted"
|
206
213
|
}, ___EmotionJSX(Icon, {
|