@pingux/astro 2.208.3 → 2.209.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.js +3 -1
- package/lib/cjs/components/AIComponents/AIPanel/aiPanelAttributes.d.ts +17 -0
- package/lib/cjs/components/AIComponents/AIPanel/aiPanelAttributes.js +42 -0
- package/lib/cjs/components/AIComponents/Prompt/Prompt.stories.js +7 -1
- package/lib/cjs/components/AIComponents/Response/Response.stories.js +3 -1
- package/lib/cjs/components/AIComponents/Response/responseAttributes.d.ts +20 -0
- package/lib/cjs/components/AIComponents/Response/responseAttributes.js +27 -0
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.js +17 -1
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +4 -23
- package/lib/cjs/components/AccordionGroup/accordionGroupAttributes.d.ts +21 -0
- package/lib/cjs/components/AccordionGroup/accordionGroupAttributes.js +29 -0
- package/lib/cjs/components/ArrayField/ArrayField.stories.js +2 -28
- package/lib/cjs/components/ArrayField/arrayFieldAttributes.d.ts +99 -0
- package/lib/cjs/components/ArrayField/arrayFieldAttributes.js +46 -0
- package/lib/cjs/components/AstroProvider/AstroProvider.stories.js +21 -1
- package/lib/cjs/components/Avatar/Avatar.stories.js +2 -23
- package/lib/cjs/components/Avatar/avatarAttributes.d.ts +23 -0
- package/lib/cjs/components/Avatar/avatarAttributes.js +30 -0
- package/lib/cjs/components/Bracket/Bracket.stories.js +2 -25
- package/lib/cjs/components/Bracket/bracketAttributes.d.ts +25 -0
- package/lib/cjs/components/Bracket/bracketAttributes.js +32 -0
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +2 -34
- package/lib/cjs/components/CheckboxField/checkboxFieldAttributes.d.ts +1 -0
- package/lib/cjs/components/CheckboxField/checkboxFieldAttributes.js +52 -0
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +12 -12
- package/lib/cjs/components/CollapsiblePanel/collapsiblePanelAttributes.d.ts +12 -0
- package/lib/cjs/components/CollapsiblePanel/collapsiblePanelAttributes.js +19 -0
- package/lib/cjs/components/ColorField/ColorField.stories.js +2 -26
- package/lib/cjs/components/ColorField/colorFieldAttributes.d.ts +1 -0
- package/lib/cjs/components/ColorField/colorFieldAttributes.js +44 -0
- package/lib/cjs/components/DataTable/DataTable.stories.js +3 -101
- package/lib/cjs/components/DataTable/dataTableAttributes.d.ts +162 -0
- package/lib/cjs/components/DataTable/dataTableAttributes.js +109 -0
- package/lib/cjs/components/ExpandableText/ExpandableText.stories.js +13 -1
- package/lib/cjs/components/ExpandableText/expandableTextAttributes.d.ts +26 -0
- package/lib/cjs/components/ExpandableText/expandableTextAttributes.js +33 -0
- package/lib/cjs/components/Footer/Footer.stories.js +6 -0
- package/lib/cjs/components/Grid/Grid.stories.js +2 -19
- package/lib/cjs/components/Grid/gridAttributes.d.ts +19 -0
- package/lib/cjs/components/Grid/gridAttributes.js +26 -0
- package/lib/cjs/components/IconBadge/IconBadge.stories.js +32 -1
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.stories.js +3 -1
- package/lib/cjs/components/IconButtonToggle/iconButtonToggleAttributes.d.ts +40 -0
- package/lib/cjs/components/IconButtonToggle/iconButtonToggleAttributes.js +63 -0
- package/lib/cjs/components/Image/Image.stories.js +2 -16
- package/lib/cjs/components/Image/imageAttributes.d.ts +15 -0
- package/lib/cjs/components/Image/imageAttributes.js +23 -0
- package/lib/cjs/components/Input/Input.stories.js +12 -6
- package/lib/cjs/components/Input/inputAttributes.d.ts +6 -0
- package/lib/cjs/components/Input/inputAttributes.js +13 -0
- package/lib/cjs/components/Label/Label.stories.js +2 -13
- package/lib/cjs/components/Label/labelAttributes.d.ts +17 -0
- package/lib/cjs/components/Label/labelAttributes.js +21 -0
- package/lib/cjs/components/Link/Link.stories.js +2 -33
- package/lib/cjs/components/Link/linkAttributes.d.ts +28 -0
- package/lib/cjs/components/Link/linkAttributes.js +41 -0
- package/lib/cjs/components/ListView/stories/ListViewOnyxDark.stories.js +51 -1
- package/lib/cjs/components/ListView/stories/listViewOnyxDarkAttributes.d.ts +31 -0
- package/lib/cjs/components/ListView/stories/listViewOnyxDarkAttributes.js +58 -0
- package/lib/cjs/components/Modal/Convenience/ModalBody.stories.js +13 -1
- package/lib/cjs/components/Modal/Convenience/ModalFooter.stories.js +13 -1
- package/lib/cjs/components/Modal/Convenience/ModalHeader.stories.js +13 -1
- package/lib/cjs/components/Modal/Convenience/modalBodyAttributes.d.ts +21 -0
- package/lib/cjs/components/Modal/Convenience/modalBodyAttributes.js +42 -0
- package/lib/cjs/components/Modal/Convenience/modalFooterAttributes.d.ts +28 -0
- package/lib/cjs/components/Modal/Convenience/modalFooterAttributes.js +51 -0
- package/lib/cjs/components/Modal/Convenience/modalHeaderAttributes.d.ts +35 -0
- package/lib/cjs/components/Modal/Convenience/modalHeaderAttributes.js +60 -0
- package/lib/cjs/components/Modal/Modal.stories.js +13 -58
- package/lib/cjs/components/Modal/modalAttributes.d.ts +55 -0
- package/lib/cjs/components/Modal/modalAttributes.js +63 -0
- package/lib/cjs/components/NavBar/NavBar.stories.js +13 -2
- package/lib/cjs/components/NavBar/navBarAttributes.d.ts +30 -0
- package/lib/cjs/components/NavBar/navBarAttributes.js +55 -0
- package/lib/cjs/components/NavBar/stories/NavBar.Onyx.stories.js +13 -1
- package/lib/cjs/components/NavBar/stories/navBarOnyxAttributes.d.ts +24 -0
- package/lib/cjs/components/NavBar/stories/navBarOnyxAttributes.js +49 -0
- package/lib/cjs/components/Pagination/Pagination.stories.js +2 -24
- package/lib/cjs/components/Pagination/paginationAttributes.d.ts +24 -0
- package/lib/cjs/components/Pagination/paginationAttributes.js +31 -0
- package/lib/cjs/components/PhoneNumberField/PhoneNumberField.d.ts +4 -0
- package/lib/cjs/components/PhoneNumberField/PhoneNumberField.js +299 -0
- package/lib/cjs/components/PhoneNumberField/PhoneNumberField.mdx +32 -0
- package/lib/cjs/components/PhoneNumberField/PhoneNumberField.stories.js +136 -0
- package/lib/cjs/components/PhoneNumberField/PhoneNumberField.test.js +158 -0
- package/lib/cjs/components/PhoneNumberField/index.d.ts +1 -0
- package/lib/cjs/components/PhoneNumberField/index.js +14 -0
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.js +2 -13
- package/lib/cjs/components/PopoverMenu/popoverMenuAttributes.d.ts +13 -0
- package/lib/cjs/components/PopoverMenu/popoverMenuAttributes.js +20 -0
- package/lib/cjs/components/ProgressBar/ProgressBar.stories.js +2 -27
- package/lib/cjs/components/ProgressBar/progressBarAttributes.d.ts +42 -0
- package/lib/cjs/components/ProgressBar/progressBarAttributes.js +65 -0
- package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.js +2 -28
- package/lib/cjs/components/RadioGroupField/radioGroupFieldAttributes.d.ts +1 -0
- package/lib/cjs/components/RadioGroupField/radioGroupFieldAttributes.js +46 -0
- package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.js +4 -13
- package/lib/cjs/components/RangeCalendar/rangeCalendarAttributes.d.ts +121 -0
- package/lib/cjs/components/RangeCalendar/rangeCalendarAttributes.js +91 -0
- package/lib/cjs/components/SearchField/SearchField.stories.js +2 -27
- package/lib/cjs/components/SearchField/searchFieldAttributes.d.ts +1 -0
- package/lib/cjs/components/SearchField/searchFieldAttributes.js +45 -0
- package/lib/cjs/components/SelectField/SelectField.stories.js +2 -41
- package/lib/cjs/components/SelectField/selectFieldAttributes.d.ts +1 -0
- package/lib/cjs/components/SelectField/selectFieldAttributes.js +61 -0
- package/lib/cjs/components/Separator/Separator.stories.js +21 -1
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.stories.js +2 -0
- package/lib/cjs/components/ServerErrorBoundary/serverErrorBoundaryAttributes.d.ts +33 -0
- package/lib/cjs/components/ServerErrorBoundary/serverErrorBoundaryAttributes.js +54 -0
- package/lib/cjs/components/SliderField/SliderField.stories.js +2 -38
- package/lib/cjs/components/SliderField/sliderFieldAttributes.d.ts +38 -0
- package/lib/cjs/components/SliderField/sliderFieldAttributes.js +45 -0
- package/lib/cjs/components/StatusIcon/StatusIcon.stories.js +30 -0
- package/lib/cjs/components/Table/Table.stories.js +20 -4
- package/lib/cjs/components/TableBase/TableBase.stories.js +3 -1
- package/lib/cjs/components/TableBase/tableBaseAttributes.d.ts +33 -0
- package/lib/cjs/components/TableBase/tableBaseAttributes.js +62 -0
- package/lib/cjs/components/Tabs/Tabs.stories.js +2 -18
- package/lib/cjs/components/Tabs/tabsAttributes.d.ts +18 -0
- package/lib/cjs/components/Tabs/tabsAttributes.js +25 -0
- package/lib/cjs/components/Text/Text.stories.js +2 -26
- package/lib/cjs/components/Text/textAttributes.d.ts +26 -0
- package/lib/cjs/components/Text/textAttributes.js +33 -0
- package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +2 -41
- package/lib/cjs/components/TextAreaField/textAreaFieldAttributes.d.ts +1 -0
- package/lib/cjs/components/TextAreaField/textAreaFieldAttributes.js +61 -0
- package/lib/cjs/components/TimeField/TimeField.stories.js +2 -1
- package/lib/cjs/components/TimeField/timeFieldAttributes.d.ts +89 -0
- package/lib/cjs/components/TimeField/timeFieldAttributes.js +132 -0
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.stories.js +55 -0
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +3 -1
- package/lib/cjs/components/TooltipTrigger/tooltipTriggerAttributes.d.ts +130 -0
- package/lib/cjs/components/TooltipTrigger/tooltipTriggerAttributes.js +90 -0
- package/lib/cjs/components/TreeView/TreeView.stories.js +61 -1
- package/lib/cjs/index.d.ts +2 -0
- package/lib/cjs/index.js +56 -37
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/types/index.d.ts +1 -0
- package/lib/cjs/types/index.js +32 -21
- package/lib/cjs/types/phoneNumberField.d.ts +45 -0
- package/lib/cjs/types/phoneNumberField.js +6 -0
- package/lib/cjs/utils/designUtils/figmaLinks.d.ts +3 -0
- package/lib/cjs/utils/designUtils/figmaLinks.js +3 -0
- package/lib/cjs/utils/testUtils/universalFormSubmitTest.js +25 -11
- package/lib/components/AIComponents/AIPanel/AIPanel.stories.js +3 -1
- package/lib/components/AIComponents/AIPanel/aiPanelAttributes.js +35 -0
- package/lib/components/AIComponents/Prompt/Prompt.stories.js +7 -1
- package/lib/components/AIComponents/Response/Response.stories.js +3 -1
- package/lib/components/AIComponents/Response/responseAttributes.js +20 -0
- package/lib/components/AIComponents/Suggestions/Suggestions.stories.js +18 -1
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +4 -23
- package/lib/components/AccordionGroup/accordionGroupAttributes.js +22 -0
- package/lib/components/ArrayField/ArrayField.stories.js +2 -28
- package/lib/components/ArrayField/arrayFieldAttributes.js +39 -0
- package/lib/components/AstroProvider/AstroProvider.stories.js +21 -1
- package/lib/components/Avatar/Avatar.stories.js +2 -23
- package/lib/components/Avatar/avatarAttributes.js +23 -0
- package/lib/components/Bracket/Bracket.stories.js +2 -25
- package/lib/components/Bracket/bracketAttributes.js +25 -0
- package/lib/components/CheckboxField/CheckboxField.stories.js +2 -34
- package/lib/components/CheckboxField/checkboxFieldAttributes.js +45 -0
- package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +13 -12
- package/lib/components/CollapsiblePanel/collapsiblePanelAttributes.js +12 -0
- package/lib/components/ColorField/ColorField.stories.js +2 -26
- package/lib/components/ColorField/colorFieldAttributes.js +37 -0
- package/lib/components/DataTable/DataTable.stories.js +2 -101
- package/lib/components/DataTable/dataTableAttributes.js +102 -0
- package/lib/components/ExpandableText/ExpandableText.stories.js +14 -1
- package/lib/components/ExpandableText/expandableTextAttributes.js +26 -0
- package/lib/components/Footer/Footer.stories.js +6 -0
- package/lib/components/Grid/Grid.stories.js +2 -19
- package/lib/components/Grid/gridAttributes.js +19 -0
- package/lib/components/IconBadge/IconBadge.stories.js +33 -1
- package/lib/components/IconButtonToggle/IconButtonToggle.stories.js +3 -1
- package/lib/components/IconButtonToggle/iconButtonToggleAttributes.js +56 -0
- package/lib/components/Image/Image.stories.js +2 -16
- package/lib/components/Image/imageAttributes.js +16 -0
- package/lib/components/Input/Input.stories.js +13 -6
- package/lib/components/Input/inputAttributes.js +6 -0
- package/lib/components/Label/Label.stories.js +2 -13
- package/lib/components/Label/labelAttributes.js +14 -0
- package/lib/components/Link/Link.stories.js +2 -33
- package/lib/components/Link/linkAttributes.js +33 -0
- package/lib/components/ListView/stories/ListViewOnyxDark.stories.js +52 -1
- package/lib/components/ListView/stories/listViewOnyxDarkAttributes.js +51 -0
- package/lib/components/Modal/Convenience/ModalBody.stories.js +14 -1
- package/lib/components/Modal/Convenience/ModalFooter.stories.js +14 -1
- package/lib/components/Modal/Convenience/ModalHeader.stories.js +14 -1
- package/lib/components/Modal/Convenience/modalBodyAttributes.js +35 -0
- package/lib/components/Modal/Convenience/modalFooterAttributes.js +44 -0
- package/lib/components/Modal/Convenience/modalHeaderAttributes.js +53 -0
- package/lib/components/Modal/Modal.stories.js +13 -56
- package/lib/components/Modal/modalAttributes.js +56 -0
- package/lib/components/NavBar/NavBar.stories.js +13 -0
- package/lib/components/NavBar/navBarAttributes.js +48 -0
- package/lib/components/NavBar/stories/NavBar.Onyx.stories.js +14 -1
- package/lib/components/NavBar/stories/navBarOnyxAttributes.js +42 -0
- package/lib/components/Pagination/Pagination.stories.js +2 -24
- package/lib/components/Pagination/paginationAttributes.js +24 -0
- package/lib/components/PhoneNumberField/PhoneNumberField.js +288 -0
- package/lib/components/PhoneNumberField/PhoneNumberField.mdx +32 -0
- package/lib/components/PhoneNumberField/PhoneNumberField.stories.js +126 -0
- package/lib/components/PhoneNumberField/PhoneNumberField.test.js +155 -0
- package/lib/components/PhoneNumberField/index.js +1 -0
- package/lib/components/PopoverMenu/PopoverMenu.stories.js +2 -13
- package/lib/components/PopoverMenu/popoverMenuAttributes.js +13 -0
- package/lib/components/ProgressBar/ProgressBar.stories.js +2 -27
- package/lib/components/ProgressBar/progressBarAttributes.js +58 -0
- package/lib/components/RadioGroupField/RadioGroupField.stories.js +2 -28
- package/lib/components/RadioGroupField/radioGroupFieldAttributes.js +39 -0
- package/lib/components/RangeCalendar/RangeCalendar.stories.js +2 -13
- package/lib/components/RangeCalendar/rangeCalendarAttributes.js +84 -0
- package/lib/components/SearchField/SearchField.stories.js +2 -27
- package/lib/components/SearchField/searchFieldAttributes.js +38 -0
- package/lib/components/SelectField/SelectField.stories.js +2 -41
- package/lib/components/SelectField/selectFieldAttributes.js +54 -0
- package/lib/components/Separator/Separator.stories.js +22 -1
- package/lib/components/ServerErrorBoundary/ServerErrorBoundary.stories.js +2 -0
- package/lib/components/ServerErrorBoundary/serverErrorBoundaryAttributes.js +47 -0
- package/lib/components/SliderField/SliderField.stories.js +2 -38
- package/lib/components/SliderField/sliderFieldAttributes.js +38 -0
- package/lib/components/StatusIcon/StatusIcon.stories.js +31 -0
- package/lib/components/Table/Table.stories.js +21 -4
- package/lib/components/TableBase/TableBase.stories.js +3 -1
- package/lib/components/TableBase/tableBaseAttributes.js +55 -0
- package/lib/components/Tabs/Tabs.stories.js +2 -18
- package/lib/components/Tabs/tabsAttributes.js +18 -0
- package/lib/components/Text/Text.stories.js +2 -26
- package/lib/components/Text/textAttributes.js +26 -0
- package/lib/components/TextAreaField/TextAreaField.stories.js +2 -41
- package/lib/components/TextAreaField/textAreaFieldAttributes.js +54 -0
- package/lib/components/TimeField/TimeField.stories.js +2 -1
- package/lib/components/TimeField/timeFieldAttributes.js +125 -0
- package/lib/components/TimeZonePicker/TimeZonePicker.stories.js +56 -0
- package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +3 -1
- package/lib/components/TooltipTrigger/tooltipTriggerAttributes.js +83 -0
- package/lib/components/TreeView/TreeView.stories.js +60 -0
- package/lib/index.js +2 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/types/index.js +1 -0
- package/lib/types/phoneNumberField.js +1 -0
- package/lib/utils/designUtils/figmaLinks.js +3 -0
- package/lib/utils/testUtils/universalFormSubmitTest.js +25 -11
- package/package.json +1 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export declare const tooltipTriggerArgTypes: {
|
|
2
|
+
'aria-controls': {
|
|
3
|
+
control: {
|
|
4
|
+
type: string;
|
|
5
|
+
};
|
|
6
|
+
table: {
|
|
7
|
+
type: {
|
|
8
|
+
summary: string;
|
|
9
|
+
};
|
|
10
|
+
category: string;
|
|
11
|
+
};
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
'aria-describedby': {
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
table: {
|
|
19
|
+
type: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
category: string;
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
'aria-details': {
|
|
27
|
+
control: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
table: {
|
|
31
|
+
type: {
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
category: string;
|
|
35
|
+
};
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
'aria-errormessage': {
|
|
39
|
+
control: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
table: {
|
|
43
|
+
type: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
category: string;
|
|
47
|
+
};
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
'aria-label': {
|
|
51
|
+
control: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
table: {
|
|
55
|
+
type: {
|
|
56
|
+
summary: string;
|
|
57
|
+
};
|
|
58
|
+
category: string;
|
|
59
|
+
};
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
'aria-labelledby': {
|
|
63
|
+
control: {
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
table: {
|
|
67
|
+
type: {
|
|
68
|
+
summary: string;
|
|
69
|
+
};
|
|
70
|
+
category: string;
|
|
71
|
+
};
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
align: {
|
|
75
|
+
description: string;
|
|
76
|
+
control: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
options: string[];
|
|
80
|
+
};
|
|
81
|
+
direction: {
|
|
82
|
+
description: string;
|
|
83
|
+
control: {
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
options: string[];
|
|
87
|
+
};
|
|
88
|
+
offset: {
|
|
89
|
+
description: string;
|
|
90
|
+
control: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
crossOffset: {
|
|
95
|
+
description: string;
|
|
96
|
+
control: {
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
delay: {
|
|
101
|
+
description: string;
|
|
102
|
+
control: {
|
|
103
|
+
type: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
arrowCrossOffset: {
|
|
107
|
+
description: string;
|
|
108
|
+
control: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
width: {
|
|
113
|
+
description: string;
|
|
114
|
+
control: {
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
placement: {
|
|
119
|
+
description: string;
|
|
120
|
+
control: {
|
|
121
|
+
type: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
isDarkMode: any;
|
|
125
|
+
isDefaultOpen: any;
|
|
126
|
+
isNotFlippable: any;
|
|
127
|
+
hasNoArrow: any;
|
|
128
|
+
isOpen: any;
|
|
129
|
+
isDisabled: any;
|
|
130
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
|
4
|
+
var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
|
|
5
|
+
var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
|
|
6
|
+
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
7
|
+
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
8
|
+
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
|
|
9
|
+
var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
|
|
10
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
12
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
exports.tooltipTriggerArgTypes = void 0;
|
|
16
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
17
|
+
var _ariaAttributes = require("../../utils/docUtils/ariaAttributes");
|
|
18
|
+
var _docArgTypes = require("../../utils/docUtils/docArgTypes");
|
|
19
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21
|
+
var tooltipTriggerArgTypes = exports.tooltipTriggerArgTypes = _objectSpread({
|
|
22
|
+
align: {
|
|
23
|
+
description: 'Alignment of the tooltip relative to the trigger element.',
|
|
24
|
+
control: {
|
|
25
|
+
type: 'select'
|
|
26
|
+
},
|
|
27
|
+
options: ['start', 'end', 'middle']
|
|
28
|
+
},
|
|
29
|
+
direction: {
|
|
30
|
+
description: 'Where the tooltip opens relative to its trigger.',
|
|
31
|
+
control: {
|
|
32
|
+
type: 'select'
|
|
33
|
+
},
|
|
34
|
+
options: ['top', 'right', 'bottom', 'left']
|
|
35
|
+
},
|
|
36
|
+
offset: {
|
|
37
|
+
description: 'Offset of the tooltip relative to its trigger along the primary axis.',
|
|
38
|
+
control: {
|
|
39
|
+
type: 'number'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
crossOffset: {
|
|
43
|
+
description: 'Additional offset applied along the cross axis between the tooltip and its anchor.',
|
|
44
|
+
control: {
|
|
45
|
+
type: 'number'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
delay: {
|
|
49
|
+
description: 'Delay in milliseconds before the tooltip is shown after hovering.',
|
|
50
|
+
control: {
|
|
51
|
+
type: 'number'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
arrowCrossOffset: {
|
|
55
|
+
description: 'Arrow offset relative to the left of the tooltip. Must be a px or percentage value.',
|
|
56
|
+
control: {
|
|
57
|
+
type: 'text'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
width: {
|
|
61
|
+
description: 'Width applied to the wrapper of the tooltip component.',
|
|
62
|
+
control: {
|
|
63
|
+
type: 'text'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
placement: {
|
|
67
|
+
description: 'The placement of the tooltip with respect to its anchor element.',
|
|
68
|
+
control: {
|
|
69
|
+
type: 'text'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
isDarkMode: _objectSpread(_objectSpread({}, _docArgTypes.booleanArg), {}, {
|
|
73
|
+
description: 'Whether the tooltip uses dark styling with white text (defaults to true).'
|
|
74
|
+
}),
|
|
75
|
+
isDefaultOpen: _objectSpread(_objectSpread({}, _docArgTypes.booleanArg), {}, {
|
|
76
|
+
description: 'Whether the tooltip is open by default (uncontrolled).'
|
|
77
|
+
}),
|
|
78
|
+
isNotFlippable: _objectSpread(_objectSpread({}, _docArgTypes.booleanArg), {}, {
|
|
79
|
+
description: 'Whether the tooltip is prevented from flipping when there is insufficient space for the given direction.'
|
|
80
|
+
}),
|
|
81
|
+
hasNoArrow: _objectSpread(_objectSpread({}, _docArgTypes.booleanArg), {}, {
|
|
82
|
+
description: 'Whether the tooltip arrow indicator is hidden.'
|
|
83
|
+
}),
|
|
84
|
+
isOpen: _objectSpread(_objectSpread({}, _docArgTypes.booleanArg), {}, {
|
|
85
|
+
description: 'Whether the tooltip is currently open (controlled).'
|
|
86
|
+
}),
|
|
87
|
+
isDisabled: _objectSpread(_objectSpread({}, _docArgTypes.booleanArg), {}, {
|
|
88
|
+
description: 'Whether the tooltip trigger is disabled, preventing the tooltip from appearing.'
|
|
89
|
+
})
|
|
90
|
+
}, _ariaAttributes.ariaAttributeBaseArgTypes);
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _typeof = require("@babel/runtime-corejs3/helpers/typeof");
|
|
4
|
+
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
|
5
|
+
var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
|
|
6
|
+
var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
|
|
7
|
+
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
8
|
+
var _forEachInstanceProperty2 = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
9
|
+
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
|
|
10
|
+
var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
|
|
4
11
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
5
12
|
var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
|
|
6
13
|
var _Object$create = require("@babel/runtime-corejs3/core-js-stable/object/create");
|
|
@@ -12,7 +19,6 @@ var _Promise2 = require("@babel/runtime-corejs3/core-js-stable/promise");
|
|
|
12
19
|
var _Symbol$iterator = require("@babel/runtime-corejs3/core-js-stable/symbol/iterator");
|
|
13
20
|
var _reverseInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/reverse");
|
|
14
21
|
var _WeakMap = require("@babel/runtime-corejs3/core-js-stable/weak-map");
|
|
15
|
-
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
16
22
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
17
23
|
_Object$defineProperty(exports, "__esModule", {
|
|
18
24
|
value: true
|
|
@@ -28,9 +34,11 @@ var _splice = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-sta
|
|
|
28
34
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/asyncToGenerator"));
|
|
29
35
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
|
|
30
36
|
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
37
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
31
38
|
var _react = _interopRequireWildcard(require("react"));
|
|
32
39
|
var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
|
|
33
40
|
var _index = require("../../index");
|
|
41
|
+
var _docArgTypes = require("../../utils/docUtils/docArgTypes");
|
|
34
42
|
var _TreeView = _interopRequireDefault(require("./TreeView.mdx"));
|
|
35
43
|
var _react2 = require("@emotion/react");
|
|
36
44
|
function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t2 in e) "default" !== _t2 && {}.hasOwnProperty.call(e, _t2) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t2)) && (i.get || i.set) ? o(f, _t2, i) : f[_t2] = e[_t2]); return f; })(e, t); }
|
|
@@ -43,6 +51,8 @@ function _regeneratorAsyncIterator(t, e) { function n(r, o, i, f) { try { var c
|
|
|
43
51
|
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof _Symbol ? _Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = _Object$create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: _bindInstanceProperty(d).call(d, e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = _Object$getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(c); function f(e) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = _Object$create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
44
52
|
function _regeneratorDefine2(e, r, n, t) { var i = _Object$defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
45
53
|
function _OverloadYield(e, d) { this.v = e, this.k = d; }
|
|
54
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
55
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context5, _context6; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty2(_context5 = ownKeys(Object(t), !0)).call(_context5, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty2(_context6 = ownKeys(Object(t))).call(_context6, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
46
56
|
var _default = exports["default"] = {
|
|
47
57
|
title: 'Experimental/TreeView',
|
|
48
58
|
component: _index.TreeView,
|
|
@@ -66,6 +76,56 @@ var _default = exports["default"] = {
|
|
|
66
76
|
}]
|
|
67
77
|
}
|
|
68
78
|
}
|
|
79
|
+
},
|
|
80
|
+
argTypes: {
|
|
81
|
+
onExpandedChange: _objectSpread(_objectSpread({}, _docArgTypes.funcArg), {}, {
|
|
82
|
+
description: 'Callback invoked when the set of expanded tree nodes changes.'
|
|
83
|
+
}),
|
|
84
|
+
onKeyDown: _objectSpread(_objectSpread({}, _docArgTypes.funcArg), {}, {
|
|
85
|
+
description: 'Callback invoked when a key is pressed while the tree has focus.'
|
|
86
|
+
}),
|
|
87
|
+
onDragStart: _objectSpread(_objectSpread({}, _docArgTypes.funcArg), {}, {
|
|
88
|
+
description: 'Callback invoked when a drag operation on a tree item starts.'
|
|
89
|
+
}),
|
|
90
|
+
onDrop: _objectSpread(_objectSpread({}, _docArgTypes.funcArg), {}, {
|
|
91
|
+
description: 'Callback invoked when an item is dropped onto the tree.'
|
|
92
|
+
}),
|
|
93
|
+
pageLength: {
|
|
94
|
+
description: 'Number of items to move focus by when Page Up or Page Down is pressed.',
|
|
95
|
+
control: {
|
|
96
|
+
type: 'number'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
'aria-label': {
|
|
100
|
+
description: 'Defines an accessible label for the tree.',
|
|
101
|
+
control: {
|
|
102
|
+
type: 'text'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
tree: {
|
|
106
|
+
description: 'The tree data object returned by useTreeData, used to manage tree state.',
|
|
107
|
+
control: {
|
|
108
|
+
type: null
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
items: {
|
|
112
|
+
description: 'The iterable list of top-level tree items to render.',
|
|
113
|
+
control: {
|
|
114
|
+
type: null
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
disabledKeys: {
|
|
118
|
+
description: 'Keys of items that are disabled and cannot be interacted with.',
|
|
119
|
+
control: {
|
|
120
|
+
type: null
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
loadingNodes: {
|
|
124
|
+
description: 'Array of node loading state objects indicating which nodes are currently loading children.',
|
|
125
|
+
control: {
|
|
126
|
+
type: null
|
|
127
|
+
}
|
|
128
|
+
}
|
|
69
129
|
}
|
|
70
130
|
};
|
|
71
131
|
var data = [{
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -148,6 +148,8 @@ export { default as PanelHeaderMenu } from './components/PanelHeader/controls/Pa
|
|
|
148
148
|
export { default as PanelHeaderSwitchField } from './components/PanelHeader/controls/PanelHeaderSwitchField';
|
|
149
149
|
export { default as PasswordField } from './components/PasswordField';
|
|
150
150
|
export * from './components/PasswordField';
|
|
151
|
+
export { default as PhoneNumberField } from './components/PhoneNumberField';
|
|
152
|
+
export * from './components/PhoneNumberField';
|
|
151
153
|
export { default as PopoverContainer } from './components/PopoverContainer';
|
|
152
154
|
export * from './components/PopoverContainer';
|
|
153
155
|
export { default as PopoverMenu } from './components/PopoverMenu';
|