@pingux/astro 2.128.0 → 2.129.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +4 -4
- 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/HelpHint/HelpHint.styles.js +2 -1
- 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/Input/Input.styles.js +1 -1
- 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/Select.styles.js +1 -0
- package/lib/cjs/components/SelectField/SelectField.stories.d.ts +32 -24
- package/lib/cjs/components/SelectField/SelectField.stories.js +49 -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.js +5 -3
- 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/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.d.ts +8 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +8 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -1
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +11 -2
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +7 -1
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.d.ts +4 -2
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.js +4 -2
- package/lib/cjs/styles/themes/next-gen/variants/tooltip.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/tooltip.js +3 -2
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +5 -2
- package/lib/cjs/types/tooltipTrigger.d.ts +1 -0
- 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 +4 -4
- 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/HelpHint/HelpHint.styles.js +2 -1
- 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/Input/Input.styles.js +1 -1
- 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/Select.styles.js +1 -0
- package/lib/components/SelectField/SelectField.stories.js +49 -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.js +5 -3
- 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/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +8 -0
- package/lib/styles/themes/next-gen/colors/colors.js +1 -1
- package/lib/styles/themes/next-gen/variants/button.js +7 -1
- package/lib/styles/themes/next-gen/variants/popoverMenu.js +4 -2
- package/lib/styles/themes/next-gen/variants/tooltip.js +3 -2
- package/package.json +2 -1
@@ -146,9 +146,6 @@ export default {
|
|
146
146
|
docs: {
|
147
147
|
page: function page() {
|
148
148
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(ComboBoxFieldReadme, null), ___EmotionJSX(DocsLayout, null));
|
149
|
-
},
|
150
|
-
source: {
|
151
|
-
type: 'code'
|
152
149
|
}
|
153
150
|
}
|
154
151
|
},
|
@@ -231,6 +228,9 @@ export var WithSections = function WithSections(args) {
|
|
231
228
|
});
|
232
229
|
}));
|
233
230
|
};
|
231
|
+
WithSections.parameters = {
|
232
|
+
codesandbox: false
|
233
|
+
};
|
234
234
|
export var AsyncLoading = function AsyncLoading() {
|
235
235
|
// This example uses `useAsyncList` from "@react-stately/data"
|
236
236
|
var list = useAsyncList({
|
@@ -252,7 +252,7 @@ export var AsyncLoading = function AsyncLoading() {
|
|
252
252
|
// Otherwise, the cursor is the next URL to load,
|
253
253
|
// as returned from the previous page.
|
254
254
|
_context.next = 4;
|
255
|
-
return fetch(cursor || "https://swapi.
|
255
|
+
return fetch(cursor || "https://swapi.py4e.com/api/people/?search=".concat(filterText), {
|
256
256
|
signal: signal
|
257
257
|
});
|
258
258
|
case 4:
|
@@ -19,6 +19,11 @@ export default {
|
|
19
19
|
page: function page() {
|
20
20
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(CopyTextReadme, null), ___EmotionJSX(DocsLayout, null));
|
21
21
|
}
|
22
|
+
},
|
23
|
+
codesandbox: {
|
24
|
+
mapComponent: {
|
25
|
+
'@pingux/astro': ['Box', 'CopyText', 'Text', 'Link', 'TextField']
|
26
|
+
}
|
22
27
|
}
|
23
28
|
},
|
24
29
|
argTypes: {
|
@@ -41,11 +41,9 @@ export default {
|
|
41
41
|
docs: {
|
42
42
|
page: function page() {
|
43
43
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(DataTableReadme, null), ___EmotionJSX(DocsLayout, null));
|
44
|
-
},
|
45
|
-
source: {
|
46
|
-
type: 'code'
|
47
44
|
}
|
48
|
-
}
|
45
|
+
},
|
46
|
+
codesandbox: false
|
49
47
|
},
|
50
48
|
argTypes: _objectSpread({
|
51
49
|
density: {
|
@@ -157,7 +155,7 @@ var getCellProps = function getCellProps(columnKey, align) {
|
|
157
155
|
align: align
|
158
156
|
};
|
159
157
|
};
|
160
|
-
export var Default = function Default(
|
158
|
+
export var Default = function Default() {
|
161
159
|
var date = '2023-05-03';
|
162
160
|
var time = '07:16:30 pm UTC';
|
163
161
|
var timestampCell = ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, null, date), ___EmotionJSX(Box, null, time));
|
@@ -237,10 +235,11 @@ export var Default = function Default(args) {
|
|
237
235
|
userIdentity: 'Vincent Diep',
|
238
236
|
menu: ___EmotionJSX(DataTableMenu, null)
|
239
237
|
}];
|
240
|
-
return ___EmotionJSX(DataTable,
|
238
|
+
return ___EmotionJSX(DataTable, {
|
241
239
|
"aria-label": "Static table",
|
242
|
-
height: "100%"
|
243
|
-
|
240
|
+
height: "100%",
|
241
|
+
density: "spacious"
|
242
|
+
}, ___EmotionJSX(DataTableHeader, {
|
244
243
|
columns: columns
|
245
244
|
}, function (column) {
|
246
245
|
return ___EmotionJSX(DataTableColumn, _extends({}, getCellProps(column.key, false), getHeaderProps(), {
|
@@ -267,7 +266,7 @@ Default.parameters = {
|
|
267
266
|
}
|
268
267
|
}
|
269
268
|
};
|
270
|
-
export var OnyxDefault = function OnyxDefault(
|
269
|
+
export var OnyxDefault = function OnyxDefault() {
|
271
270
|
var date = '2023-05-03';
|
272
271
|
var time = '07:16:30 pm UTC';
|
273
272
|
var timestampCell = ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, null, date), ___EmotionJSX(Box, null, time));
|
@@ -346,11 +345,11 @@ export var OnyxDefault = function OnyxDefault(args) {
|
|
346
345
|
userIdentity: 'Vincent Diep',
|
347
346
|
menu: ___EmotionJSX(DataTableMenu, null)
|
348
347
|
}];
|
349
|
-
return ___EmotionJSX(DataTable,
|
348
|
+
return ___EmotionJSX(DataTable, {
|
350
349
|
"aria-label": "Onyx table",
|
351
350
|
height: "100%",
|
352
351
|
scale: "xl"
|
353
|
-
}
|
352
|
+
}, ___EmotionJSX(DataTableHeader, {
|
354
353
|
columns: columns
|
355
354
|
}, function (column) {
|
356
355
|
return ___EmotionJSX(DataTableColumn, {
|
@@ -27,12 +27,10 @@ export default {
|
|
27
27
|
component: DatePicker,
|
28
28
|
parameters: {
|
29
29
|
docs: {
|
30
|
-
source: {
|
31
|
-
type: 'code'
|
32
|
-
},
|
33
30
|
page: function page() {
|
34
31
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(DatePickerReadme, null), ___EmotionJSX(DocsLayout, null));
|
35
|
-
}
|
32
|
+
},
|
33
|
+
codesandbox: false
|
36
34
|
},
|
37
35
|
a11y: {
|
38
36
|
config: {
|
@@ -105,7 +103,7 @@ export default {
|
|
105
103
|
isReadOnly: false,
|
106
104
|
isRequired: false,
|
107
105
|
label: 'Example Label',
|
108
|
-
onChange:
|
106
|
+
onChange: function onChange() {}
|
109
107
|
}
|
110
108
|
};
|
111
109
|
export var Default = function Default(args) {
|
@@ -31,9 +31,11 @@ export default {
|
|
31
31
|
docs: {
|
32
32
|
page: function page() {
|
33
33
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(EnvironmentBreadcrumbReadme, null), ___EmotionJSX(DocsLayout, null));
|
34
|
-
}
|
35
|
-
|
36
|
-
|
34
|
+
}
|
35
|
+
},
|
36
|
+
codesandbox: {
|
37
|
+
mapComponent: {
|
38
|
+
'@pingux/astro': ['EnvironmentBreadcrumb', 'Badge', 'Box', 'Item', 'Section', 'Text']
|
37
39
|
}
|
38
40
|
}
|
39
41
|
}
|
@@ -262,10 +264,13 @@ export var WithSections = function WithSections() {
|
|
262
264
|
});
|
263
265
|
});
|
264
266
|
};
|
265
|
-
|
266
|
-
|
267
|
+
WithSections.parameters = {
|
268
|
+
codesandbox: false
|
269
|
+
};
|
270
|
+
export var OrgLevel = function OrgLevel(args) {
|
271
|
+
return ___EmotionJSX(EnvironmentBreadcrumb, _extends({
|
267
272
|
name: "Organization"
|
268
|
-
});
|
273
|
+
}, args));
|
269
274
|
};
|
270
275
|
export var DefaultOpen = function DefaultOpen() {
|
271
276
|
var _useState9 = useState(defaultEnvironments[0]),
|
@@ -312,6 +317,9 @@ export var DefaultOpen = function DefaultOpen() {
|
|
312
317
|
}) : null);
|
313
318
|
});
|
314
319
|
};
|
320
|
+
DefaultOpen.parameters = {
|
321
|
+
codesandbox: false
|
322
|
+
};
|
315
323
|
export var ControlledMenu = function ControlledMenu() {
|
316
324
|
var _useState11 = useState(false),
|
317
325
|
_useState12 = _slicedToArray(_useState11, 2),
|
@@ -361,4 +369,7 @@ export var ControlledMenu = function ControlledMenu() {
|
|
361
369
|
align: "right"
|
362
370
|
}) : null);
|
363
371
|
});
|
372
|
+
};
|
373
|
+
ControlledMenu.parameters = {
|
374
|
+
codesandbox: false
|
364
375
|
};
|
@@ -6,6 +6,7 @@ import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/inst
|
|
6
6
|
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
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
|
+
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
9
10
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
10
11
|
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; }
|
11
12
|
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; }
|
@@ -21,18 +22,18 @@ export default {
|
|
21
22
|
export var Default = function Default(args) {
|
22
23
|
return ___EmotionJSX(FieldHelperText, args, "Look at me!");
|
23
24
|
};
|
24
|
-
export var Error = function Error() {
|
25
|
-
return ___EmotionJSX(FieldHelperText, {
|
25
|
+
export var Error = function Error(args) {
|
26
|
+
return ___EmotionJSX(FieldHelperText, _extends({}, args, {
|
26
27
|
status: "error"
|
27
|
-
}, "Look at me!");
|
28
|
+
}), "Look at me!");
|
28
29
|
};
|
29
|
-
export var Success = function Success() {
|
30
|
-
return ___EmotionJSX(FieldHelperText, {
|
30
|
+
export var Success = function Success(args) {
|
31
|
+
return ___EmotionJSX(FieldHelperText, _extends({}, args, {
|
31
32
|
status: "success"
|
32
|
-
}, "Look at me!");
|
33
|
+
}), "Look at me!");
|
33
34
|
};
|
34
|
-
export var Warning = function Warning() {
|
35
|
-
return ___EmotionJSX(FieldHelperText, {
|
35
|
+
export var Warning = function Warning(args) {
|
36
|
+
return ___EmotionJSX(FieldHelperText, _extends({}, args, {
|
36
37
|
status: "warning"
|
37
|
-
}, "Look at me!");
|
38
|
+
}), "Look at me!");
|
38
39
|
};
|
@@ -29,9 +29,6 @@ export default {
|
|
29
29
|
docs: {
|
30
30
|
page: function page() {
|
31
31
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(FileInputFieldReadme, null), ___EmotionJSX(DocsLayout, null));
|
32
|
-
},
|
33
|
-
source: {
|
34
|
-
type: 'code'
|
35
32
|
}
|
36
33
|
}
|
37
34
|
},
|
@@ -94,14 +91,14 @@ export var Default = function Default(args) {
|
|
94
91
|
sx: fitContentWidthSx
|
95
92
|
}, args));
|
96
93
|
};
|
97
|
-
export var CustomButtonText = function CustomButtonText() {
|
98
|
-
return ___EmotionJSX(FileInputField, {
|
94
|
+
export var CustomButtonText = function CustomButtonText(args) {
|
95
|
+
return ___EmotionJSX(FileInputField, _extends({}, args, {
|
99
96
|
defaultButtonText: "Original Button Name",
|
100
97
|
label: "Custom Button Text",
|
101
98
|
sx: fitContentWidthSx
|
102
|
-
});
|
99
|
+
}));
|
103
100
|
};
|
104
|
-
export var ControlledState = function ControlledState() {
|
101
|
+
export var ControlledState = function ControlledState(args) {
|
105
102
|
var _useState = useState([]),
|
106
103
|
_useState2 = _slicedToArray(_useState, 2),
|
107
104
|
userFiles = _useState2[0],
|
@@ -130,7 +127,7 @@ export var ControlledState = function ControlledState() {
|
|
130
127
|
setUserFiles([]);
|
131
128
|
setError(null);
|
132
129
|
};
|
133
|
-
return ___EmotionJSX(FileInputField, {
|
130
|
+
return ___EmotionJSX(FileInputField, _extends({}, args, {
|
134
131
|
label: "Controlled State With limit on file size upload below 2 mb",
|
135
132
|
onFileSelect: handleFileSelect,
|
136
133
|
onRemove: handleFileRemove,
|
@@ -139,7 +136,7 @@ export var ControlledState = function ControlledState() {
|
|
139
136
|
status: error && statuses.ERROR,
|
140
137
|
helperText: error,
|
141
138
|
isMultiple: true
|
142
|
-
});
|
139
|
+
}));
|
143
140
|
};
|
144
141
|
export var DefaultFileListUncontrolled = function DefaultFileListUncontrolled() {
|
145
142
|
return ___EmotionJSX(FileInputField, {
|
@@ -161,8 +158,8 @@ export var DefaultFileListUncontrolled = function DefaultFileListUncontrolled()
|
|
161
158
|
sx: fitContentWidthSx
|
162
159
|
});
|
163
160
|
};
|
164
|
-
export var ErrorStatusSingleFile = function ErrorStatusSingleFile() {
|
165
|
-
return ___EmotionJSX(FileInputField, {
|
161
|
+
export var ErrorStatusSingleFile = function ErrorStatusSingleFile(args) {
|
162
|
+
return ___EmotionJSX(FileInputField, _extends({}, args, {
|
166
163
|
defaultFileList: [{
|
167
164
|
id: 'test-id3',
|
168
165
|
name: 'PingId Desktop (Windows)',
|
@@ -173,10 +170,10 @@ export var ErrorStatusSingleFile = function ErrorStatusSingleFile() {
|
|
173
170
|
sx: fitContentWidthSx,
|
174
171
|
helperText: "There is an error",
|
175
172
|
status: statuses.ERROR
|
176
|
-
});
|
173
|
+
}));
|
177
174
|
};
|
178
|
-
export var ErrorWithMultipleFiles = function ErrorWithMultipleFiles() {
|
179
|
-
return ___EmotionJSX(FileInputField, {
|
175
|
+
export var ErrorWithMultipleFiles = function ErrorWithMultipleFiles(args) {
|
176
|
+
return ___EmotionJSX(FileInputField, _extends({}, args, {
|
180
177
|
defaultFileList: [{
|
181
178
|
id: 'test-id3',
|
182
179
|
name: 'PingId Desktop (Windows)',
|
@@ -191,9 +188,9 @@ export var ErrorWithMultipleFiles = function ErrorWithMultipleFiles() {
|
|
191
188
|
sx: fitContentWidthSx,
|
192
189
|
helperText: "There is an error but helperText text will be default since no status passed",
|
193
190
|
isMultiple: true
|
194
|
-
});
|
191
|
+
}));
|
195
192
|
};
|
196
|
-
export var WithCustomWidth = function WithCustomWidth() {
|
193
|
+
export var WithCustomWidth = function WithCustomWidth(args) {
|
197
194
|
var textSx = {
|
198
195
|
textOverflow: 'ellipsis',
|
199
196
|
overflow: 'hidden',
|
@@ -201,7 +198,7 @@ export var WithCustomWidth = function WithCustomWidth() {
|
|
201
198
|
};
|
202
199
|
return ___EmotionJSX(Box, {
|
203
200
|
width: 200
|
204
|
-
}, ___EmotionJSX(FileInputField, {
|
201
|
+
}, ___EmotionJSX(FileInputField, _extends({}, args, {
|
205
202
|
defaultButtonText: "Long Long Button Text With A Lot of Words In It",
|
206
203
|
defaultFileList: [{
|
207
204
|
id: 'test-id1',
|
@@ -213,7 +210,7 @@ export var WithCustomWidth = function WithCustomWidth() {
|
|
213
210
|
sx: textSx
|
214
211
|
},
|
215
212
|
isMultiple: true
|
216
|
-
}));
|
213
|
+
})));
|
217
214
|
};
|
218
215
|
export var WithFileTypePdfAndImage = function WithFileTypePdfAndImage() {
|
219
216
|
var fileTypes = ['application/pdf', 'image/*'];
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
1
2
|
import React from 'react';
|
2
3
|
import DocsLayout from '../../../.storybook/storybookDocsLayout';
|
3
4
|
import { Box, Grid, Text } from '../../index';
|
@@ -11,16 +12,40 @@ export default {
|
|
11
12
|
page: function page() {
|
12
13
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(GridReadme, null), ___EmotionJSX(DocsLayout, null));
|
13
14
|
}
|
15
|
+
},
|
16
|
+
codesandbox: {
|
17
|
+
mapComponent: {
|
18
|
+
'@pingux/astro': ['Box', 'Grid', 'Text']
|
19
|
+
}
|
20
|
+
}
|
21
|
+
},
|
22
|
+
argTypes: {
|
23
|
+
repeat: {
|
24
|
+
options: ['fit', 'fill'],
|
25
|
+
control: {
|
26
|
+
type: 'select'
|
27
|
+
}
|
28
|
+
},
|
29
|
+
gap: {
|
30
|
+
control: {
|
31
|
+
type: 'number'
|
32
|
+
}
|
33
|
+
},
|
34
|
+
width: {
|
35
|
+
control: false
|
36
|
+
},
|
37
|
+
columns: {
|
38
|
+
control: false
|
14
39
|
}
|
15
40
|
}
|
16
41
|
};
|
17
|
-
export var Default = function Default() {
|
42
|
+
export var Default = function Default(args) {
|
18
43
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Text, {
|
19
44
|
mb: "sm",
|
20
45
|
fontStyle: "italic"
|
21
|
-
}, "Minimum width of child elements at responsive breakpoints"), ___EmotionJSX(Grid, {
|
46
|
+
}, "Minimum width of child elements at responsive breakpoints"), ___EmotionJSX(Grid, _extends({
|
22
47
|
width: [128, null, 192]
|
23
|
-
}, ___EmotionJSX(Box, {
|
48
|
+
}, args), ___EmotionJSX(Box, {
|
24
49
|
bg: "accent.90"
|
25
50
|
}, "Box"), ___EmotionJSX(Box, {
|
26
51
|
bg: "neutral.80"
|
@@ -32,10 +57,10 @@ export var Default = function Default() {
|
|
32
57
|
mt: "xl",
|
33
58
|
mb: "sm",
|
34
59
|
fontStyle: "italic"
|
35
|
-
}, "Defined number of equally-sized columns at responsive breakpoints"), ___EmotionJSX(Grid, {
|
60
|
+
}, "Defined number of equally-sized columns at responsive breakpoints"), ___EmotionJSX(Grid, _extends({
|
36
61
|
gap: 2,
|
37
62
|
columns: [2, null, 4]
|
38
|
-
}, ___EmotionJSX(Box, {
|
63
|
+
}, args), ___EmotionJSX(Box, {
|
39
64
|
bg: "accent.90"
|
40
65
|
}, "Box"), ___EmotionJSX(Box, {
|
41
66
|
bg: "neutral.80"
|
@@ -47,10 +72,10 @@ export var Default = function Default() {
|
|
47
72
|
mt: "xl",
|
48
73
|
mb: "sm",
|
49
74
|
fontStyle: "italic"
|
50
|
-
}, "Columns using grid syntax sizing at responsive breakpoints"), ___EmotionJSX(Grid, {
|
75
|
+
}, "Columns using grid syntax sizing at responsive breakpoints"), ___EmotionJSX(Grid, _extends({
|
51
76
|
gap: 2,
|
52
77
|
columns: [2, '1fr 2fr']
|
53
|
-
}, ___EmotionJSX(Box, {
|
78
|
+
}, args), ___EmotionJSX(Box, {
|
54
79
|
bg: "accent.90"
|
55
80
|
}, "Box"), ___EmotionJSX(Box, {
|
56
81
|
bg: "neutral.80"
|
@@ -15,6 +15,11 @@ export default {
|
|
15
15
|
page: function page() {
|
16
16
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(HelpHintReadme, null), ___EmotionJSX(DocsLayout, null));
|
17
17
|
}
|
18
|
+
},
|
19
|
+
codesandbox: {
|
20
|
+
mapComponent: {
|
21
|
+
'@pingux/astro': ['Box', 'HelpHint', 'Link', 'Text']
|
22
|
+
}
|
18
23
|
}
|
19
24
|
},
|
20
25
|
argTypes: {
|
@@ -40,10 +45,10 @@ Default.parameters = {
|
|
40
45
|
url: FIGMA_LINKS.helpHint["default"]
|
41
46
|
}
|
42
47
|
};
|
43
|
-
export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps() {
|
48
|
+
export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps(args) {
|
44
49
|
return ___EmotionJSX(Box, {
|
45
50
|
p: 100
|
46
|
-
}, ___EmotionJSX(HelpHint, {
|
51
|
+
}, ___EmotionJSX(HelpHint, _extends({}, args, {
|
47
52
|
popoverProps: {
|
48
53
|
'data-testid': 'popover-container'
|
49
54
|
},
|
@@ -51,12 +56,12 @@ export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProp
|
|
51
56
|
'aria-label': 'Help hint'
|
52
57
|
},
|
53
58
|
direction: "bottom"
|
54
|
-
}, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
|
59
|
+
}), "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
|
55
60
|
};
|
56
|
-
export var ContentWithLink = function ContentWithLink() {
|
61
|
+
export var ContentWithLink = function ContentWithLink(args) {
|
57
62
|
return ___EmotionJSX(Box, {
|
58
63
|
p: 100
|
59
|
-
}, ___EmotionJSX(HelpHint,
|
64
|
+
}, ___EmotionJSX(HelpHint, args, ___EmotionJSX(Text, {
|
60
65
|
variant: "popover"
|
61
66
|
}, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"), ___EmotionJSX(Link, {
|
62
67
|
variant: "popover",
|
@@ -77,10 +82,10 @@ export var WithDelay = function WithDelay(args) {
|
|
77
82
|
closeDelay: 5000
|
78
83
|
})));
|
79
84
|
};
|
80
|
-
export var Customization = function Customization() {
|
85
|
+
export var Customization = function Customization(args) {
|
81
86
|
return ___EmotionJSX(Box, {
|
82
87
|
p: 100
|
83
|
-
}, ___EmotionJSX(HelpHint, {
|
88
|
+
}, ___EmotionJSX(HelpHint, _extends({}, args, {
|
84
89
|
direction: "bottom"
|
85
|
-
}, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
|
90
|
+
}), "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"));
|
86
91
|
};
|
@@ -35,9 +35,15 @@ export default {
|
|
35
35
|
docs: {
|
36
36
|
page: function page() {
|
37
37
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconReadme, null), ___EmotionJSX(DocsLayout, null));
|
38
|
-
}
|
39
|
-
|
40
|
-
|
38
|
+
}
|
39
|
+
},
|
40
|
+
codesandbox: {
|
41
|
+
mapComponent: {
|
42
|
+
'@pingux/mdi-react/AccountGroupIcon': 'AccountGroupIcon',
|
43
|
+
'@pingux/mdi-react/AccountIcon': 'AccountIcon',
|
44
|
+
'@pingux/mdi-react/LockIcon': 'LockIcon',
|
45
|
+
'@pingux/mdi-react/SearchIcon': 'SearchIcon',
|
46
|
+
'@pingux/mdi-react/TagIcon': 'TagIcon'
|
41
47
|
}
|
42
48
|
}
|
43
49
|
},
|
@@ -79,7 +85,7 @@ Default.parameters = {
|
|
79
85
|
url: FIGMA_LINKS.icon["default"]
|
80
86
|
}
|
81
87
|
};
|
82
|
-
export var SVGIcons = function SVGIcons() {
|
88
|
+
export var SVGIcons = function SVGIcons(args) {
|
83
89
|
// SVGR can used to convert .svg files to components instead of doing this manually
|
84
90
|
var SVGComponent = function SVGComponent(props) {
|
85
91
|
var id = uuid();
|
@@ -95,11 +101,11 @@ export var SVGIcons = function SVGIcons() {
|
|
95
101
|
d: "M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"
|
96
102
|
}));
|
97
103
|
};
|
98
|
-
return ___EmotionJSX(Icon, {
|
104
|
+
return ___EmotionJSX(Icon, _extends({}, args, {
|
99
105
|
icon: SVGComponent,
|
100
106
|
color: "active",
|
101
107
|
size: "sm"
|
102
|
-
});
|
108
|
+
}));
|
103
109
|
};
|
104
110
|
var rowHeadings = ['SVG Size', 'Code Example', 'Icon Example'];
|
105
111
|
export var Sizes = function Sizes() {
|
@@ -160,6 +166,9 @@ export var Sizes = function Sizes() {
|
|
160
166
|
}
|
161
167
|
})))));
|
162
168
|
};
|
169
|
+
Sizes.parameters = {
|
170
|
+
codesandbox: false
|
171
|
+
};
|
163
172
|
export var CommonlyUsed = function CommonlyUsed() {
|
164
173
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, {
|
165
174
|
isRow: true,
|
@@ -227,4 +236,7 @@ export var CommonlyUsed = function CommonlyUsed() {
|
|
227
236
|
}), ___EmotionJSX(Text, {
|
228
237
|
fontFamily: "monospace"
|
229
238
|
}, "import TagIcon from '@pingux/mdi-react/TagIcon'; ")));
|
239
|
+
};
|
240
|
+
CommonlyUsed.parameters = {
|
241
|
+
codesandbox: false
|
230
242
|
};
|
@@ -16,9 +16,13 @@ export default {
|
|
16
16
|
docs: {
|
17
17
|
page: function page() {
|
18
18
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconBadgeReadme, null), ___EmotionJSX(DocsLayout, null));
|
19
|
-
}
|
20
|
-
|
21
|
-
|
19
|
+
}
|
20
|
+
},
|
21
|
+
codesandbox: {
|
22
|
+
mapComponent: {
|
23
|
+
'@pingux/mdi-react/AccountGroupIcon': 'GroupIcon',
|
24
|
+
'@pingux/mdi-react/ArrowTopRightThickIcon': 'ArrowIcon',
|
25
|
+
'@pingux/astro': ['Box', 'Icon', 'IconBadge']
|
22
26
|
}
|
23
27
|
}
|
24
28
|
}
|
@@ -20,9 +20,16 @@ export default {
|
|
20
20
|
docs: {
|
21
21
|
page: function page() {
|
22
22
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconButtonReadme, null), ___EmotionJSX(DocsLayout, null));
|
23
|
-
}
|
24
|
-
|
25
|
-
|
23
|
+
}
|
24
|
+
},
|
25
|
+
codesandbox: {
|
26
|
+
mapComponent: {
|
27
|
+
'@pingux/astro': ['Box', 'Icon', 'IconButton', 'Text'],
|
28
|
+
'@pingux/mdi-react/CreateIcon': 'CreateIcon',
|
29
|
+
'@pingux/mdi-react/DeleteIcon': 'DeleteIcon',
|
30
|
+
'@pingux/mdi-react/DotsVerticalIcon': 'DotsVerticalIcon',
|
31
|
+
'@pingux/mdi-react/PencilIcon': 'PencilIcon',
|
32
|
+
'@pingux/mdi-react/PlusIcon': 'PlusIcon'
|
26
33
|
}
|
27
34
|
}
|
28
35
|
},
|
@@ -63,11 +70,11 @@ Inverted.parameters = {
|
|
63
70
|
url: FIGMA_LINKS.iconButton.inverted
|
64
71
|
}
|
65
72
|
};
|
66
|
-
export var WithTooltip = function WithTooltip() {
|
67
|
-
return ___EmotionJSX(IconButton, {
|
73
|
+
export var WithTooltip = function WithTooltip(args) {
|
74
|
+
return ___EmotionJSX(IconButton, _extends({
|
68
75
|
"aria-label": "icon button with tooltip",
|
69
76
|
title: "Edit"
|
70
|
-
}, ___EmotionJSX(Icon, {
|
77
|
+
}, args), ___EmotionJSX(Icon, {
|
71
78
|
icon: CreateIcon,
|
72
79
|
size: "sm",
|
73
80
|
title: {
|
@@ -206,7 +213,8 @@ Sizes.parameters = {
|
|
206
213
|
design: {
|
207
214
|
type: 'figma',
|
208
215
|
url: FIGMA_LINKS.iconButton.sizes
|
209
|
-
}
|
216
|
+
},
|
217
|
+
codesandbox: false
|
210
218
|
};
|
211
219
|
export var CommonlyUsed = function CommonlyUsed() {
|
212
220
|
return (
|
@@ -534,5 +542,6 @@ CommonlyUsed.parameters = {
|
|
534
542
|
design: {
|
535
543
|
type: 'figma',
|
536
544
|
url: FIGMA_LINKS.iconButton.commonlyUsed
|
537
|
-
}
|
545
|
+
},
|
546
|
+
codesandbox: false
|
538
547
|
};
|
@@ -15,6 +15,13 @@ export default {
|
|
15
15
|
page: function page() {
|
16
16
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconButtonToggleReadme, null), ___EmotionJSX(DocsLayout, null));
|
17
17
|
}
|
18
|
+
},
|
19
|
+
codesandbox: {
|
20
|
+
mapComponent: {
|
21
|
+
'@pingux/astro': ['IconButtonToggle'],
|
22
|
+
'@pingux/mdi-react/EyeOffOutlineIcon': 'EyeOffIcon',
|
23
|
+
'@pingux/mdi-react/EyeOutlineIcon': 'EyeIcon'
|
24
|
+
}
|
18
25
|
}
|
19
26
|
}
|
20
27
|
};
|
@@ -23,9 +23,12 @@ export default {
|
|
23
23
|
docs: {
|
24
24
|
page: function page() {
|
25
25
|
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconWrapperReadme, null), ___EmotionJSX(DocsLayout, null));
|
26
|
-
}
|
27
|
-
|
28
|
-
|
26
|
+
}
|
27
|
+
},
|
28
|
+
codesandbox: {
|
29
|
+
mapComponent: {
|
30
|
+
'@pingux/astro': ['IconWrapper'],
|
31
|
+
'@pingux/mdi-react/DeleteIcon': 'DeleteIcon'
|
29
32
|
}
|
30
33
|
}
|
31
34
|
},
|