genesys-spark-components-react 3.7.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Genesys Cloud Services, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,126 @@
1
+ /// <reference types="react" />
2
+ import type { JSX } from 'genesys-spark-components';
3
+ export declare const GuxAccordion: import("react").ForwardRefExoticComponent<JSX.GuxAccordion & Omit<import("react").HTMLAttributes<HTMLGuxAccordionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxAccordionElement>>;
4
+ export declare const GuxAccordionLegacy: import("react").ForwardRefExoticComponent<JSX.GuxAccordionLegacy & Omit<import("react").HTMLAttributes<HTMLGuxAccordionLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxAccordionLegacyElement>>;
5
+ export declare const GuxAccordionSection: import("react").ForwardRefExoticComponent<JSX.GuxAccordionSection & Omit<import("react").HTMLAttributes<HTMLGuxAccordionSectionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxAccordionSectionElement>>;
6
+ export declare const GuxActionButton: import("react").ForwardRefExoticComponent<JSX.GuxActionButton & Omit<import("react").HTMLAttributes<HTMLGuxActionButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxActionButtonElement>>;
7
+ export declare const GuxActionButtonLegacy: import("react").ForwardRefExoticComponent<JSX.GuxActionButtonLegacy & Omit<import("react").HTMLAttributes<HTMLGuxActionButtonLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxActionButtonLegacyElement>>;
8
+ export declare const GuxActionItem: import("react").ForwardRefExoticComponent<JSX.GuxActionItem & Omit<import("react").HTMLAttributes<HTMLGuxActionItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxActionItemElement>>;
9
+ export declare const GuxActionListDivider: import("react").ForwardRefExoticComponent<JSX.GuxActionListDivider & Omit<import("react").HTMLAttributes<HTMLGuxActionListDividerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxActionListDividerElement>>;
10
+ export declare const GuxActionListLegacy: import("react").ForwardRefExoticComponent<JSX.GuxActionListLegacy & Omit<import("react").HTMLAttributes<HTMLGuxActionListLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxActionListLegacyElement>>;
11
+ export declare const GuxActionToast: import("react").ForwardRefExoticComponent<JSX.GuxActionToast & Omit<import("react").HTMLAttributes<HTMLGuxActionToastElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxActionToastElement>>;
12
+ export declare const GuxAdvancedDropdown: import("react").ForwardRefExoticComponent<JSX.GuxAdvancedDropdown & Omit<import("react").HTMLAttributes<HTMLGuxAdvancedDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxAdvancedDropdownElement>>;
13
+ export declare const GuxAllRowSelect: import("react").ForwardRefExoticComponent<JSX.GuxAllRowSelect & Omit<import("react").HTMLAttributes<HTMLGuxAllRowSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxAllRowSelectElement>>;
14
+ export declare const GuxBadgeBeta: import("react").ForwardRefExoticComponent<JSX.GuxBadgeBeta & Omit<import("react").HTMLAttributes<HTMLGuxBadgeBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxBadgeBetaElement>>;
15
+ export declare const GuxBreadcrumbItem: import("react").ForwardRefExoticComponent<JSX.GuxBreadcrumbItem & Omit<import("react").HTMLAttributes<HTMLGuxBreadcrumbItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxBreadcrumbItemElement>>;
16
+ export declare const GuxBreadcrumbs: import("react").ForwardRefExoticComponent<JSX.GuxBreadcrumbs & Omit<import("react").HTMLAttributes<HTMLGuxBreadcrumbsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxBreadcrumbsElement>>;
17
+ export declare const GuxButton: import("react").ForwardRefExoticComponent<JSX.GuxButton & Omit<import("react").HTMLAttributes<HTMLGuxButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxButtonElement>>;
18
+ export declare const GuxButtonMulti: import("react").ForwardRefExoticComponent<JSX.GuxButtonMulti & Omit<import("react").HTMLAttributes<HTMLGuxButtonMultiElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxButtonMultiElement>>;
19
+ export declare const GuxButtonMultiLegacy: import("react").ForwardRefExoticComponent<JSX.GuxButtonMultiLegacy & Omit<import("react").HTMLAttributes<HTMLGuxButtonMultiLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxButtonMultiLegacyElement>>;
20
+ export declare const GuxButtonSlotBeta: import("react").ForwardRefExoticComponent<JSX.GuxButtonSlotBeta & Omit<import("react").HTMLAttributes<HTMLGuxButtonSlotBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxButtonSlotBetaElement>>;
21
+ export declare const GuxCalendar: import("react").ForwardRefExoticComponent<JSX.GuxCalendar & Omit<import("react").HTMLAttributes<HTMLGuxCalendarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxCalendarElement>>;
22
+ export declare const GuxCardBeta: import("react").ForwardRefExoticComponent<JSX.GuxCardBeta & Omit<import("react").HTMLAttributes<HTMLGuxCardBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxCardBetaElement>>;
23
+ export declare const GuxChartColumnBeta: import("react").ForwardRefExoticComponent<JSX.GuxChartColumnBeta & Omit<import("react").HTMLAttributes<HTMLGuxChartColumnBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxChartColumnBetaElement>>;
24
+ export declare const GuxChartDonutBeta: import("react").ForwardRefExoticComponent<JSX.GuxChartDonutBeta & Omit<import("react").HTMLAttributes<HTMLGuxChartDonutBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxChartDonutBetaElement>>;
25
+ export declare const GuxChartLineBeta: import("react").ForwardRefExoticComponent<JSX.GuxChartLineBeta & Omit<import("react").HTMLAttributes<HTMLGuxChartLineBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxChartLineBetaElement>>;
26
+ export declare const GuxChartPieBeta: import("react").ForwardRefExoticComponent<JSX.GuxChartPieBeta & Omit<import("react").HTMLAttributes<HTMLGuxChartPieBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxChartPieBetaElement>>;
27
+ export declare const GuxChartScatterPlotBeta: import("react").ForwardRefExoticComponent<JSX.GuxChartScatterPlotBeta & Omit<import("react").HTMLAttributes<HTMLGuxChartScatterPlotBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxChartScatterPlotBetaElement>>;
28
+ export declare const GuxColorSelect: import("react").ForwardRefExoticComponent<JSX.GuxColorSelect & Omit<import("react").HTMLAttributes<HTMLGuxColorSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxColorSelectElement>>;
29
+ export declare const GuxCommandAction: import("react").ForwardRefExoticComponent<JSX.GuxCommandAction & Omit<import("react").HTMLAttributes<HTMLGuxCommandActionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxCommandActionElement>>;
30
+ export declare const GuxCommandPaletteLegacy: import("react").ForwardRefExoticComponent<JSX.GuxCommandPaletteLegacy & Omit<import("react").HTMLAttributes<HTMLGuxCommandPaletteLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxCommandPaletteLegacyElement>>;
31
+ export declare const GuxContentSearch: import("react").ForwardRefExoticComponent<JSX.GuxContentSearch & Omit<import("react").HTMLAttributes<HTMLGuxContentSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxContentSearchElement>>;
32
+ export declare const GuxCopyToClipboardBeta: import("react").ForwardRefExoticComponent<JSX.GuxCopyToClipboardBeta & Omit<import("react").HTMLAttributes<HTMLGuxCopyToClipboardBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxCopyToClipboardBetaElement>>;
33
+ export declare const GuxDatepicker: import("react").ForwardRefExoticComponent<JSX.GuxDatepicker & Omit<import("react").HTMLAttributes<HTMLGuxDatepickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDatepickerElement>>;
34
+ export declare const GuxDisclosureButton: import("react").ForwardRefExoticComponent<JSX.GuxDisclosureButton & Omit<import("react").HTMLAttributes<HTMLGuxDisclosureButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDisclosureButtonElement>>;
35
+ export declare const GuxDismissButton: import("react").ForwardRefExoticComponent<JSX.GuxDismissButton & Omit<import("react").HTMLAttributes<HTMLGuxDismissButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDismissButtonElement>>;
36
+ export declare const GuxDropdown: import("react").ForwardRefExoticComponent<JSX.GuxDropdown & Omit<import("react").HTMLAttributes<HTMLGuxDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDropdownElement>>;
37
+ export declare const GuxDropdownLegacy: import("react").ForwardRefExoticComponent<JSX.GuxDropdownLegacy & Omit<import("react").HTMLAttributes<HTMLGuxDropdownLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDropdownLegacyElement>>;
38
+ export declare const GuxDropdownMultiBeta: import("react").ForwardRefExoticComponent<JSX.GuxDropdownMultiBeta & Omit<import("react").HTMLAttributes<HTMLGuxDropdownMultiBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDropdownMultiBetaElement>>;
39
+ export declare const GuxDropdownMultiTag: import("react").ForwardRefExoticComponent<JSX.GuxDropdownMultiTag & Omit<import("react").HTMLAttributes<HTMLGuxDropdownMultiTagElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDropdownMultiTagElement>>;
40
+ export declare const GuxDropdownOption: import("react").ForwardRefExoticComponent<JSX.GuxDropdownOption & Omit<import("react").HTMLAttributes<HTMLGuxDropdownOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxDropdownOptionElement>>;
41
+ export declare const GuxErrorMessageBeta: import("react").ForwardRefExoticComponent<JSX.GuxErrorMessageBeta & Omit<import("react").HTMLAttributes<HTMLGuxErrorMessageBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxErrorMessageBetaElement>>;
42
+ export declare const GuxFlyoutMenuBeta: import("react").ForwardRefExoticComponent<JSX.GuxFlyoutMenuBeta & Omit<import("react").HTMLAttributes<HTMLGuxFlyoutMenuBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFlyoutMenuBetaElement>>;
43
+ export declare const GuxFormFieldCheckbox: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldCheckbox & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldCheckboxElement>>;
44
+ export declare const GuxFormFieldColor: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldColor & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldColorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldColorElement>>;
45
+ export declare const GuxFormFieldDropdown: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldDropdown & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldDropdownElement>>;
46
+ export declare const GuxFormFieldInputClearButton: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldInputClearButton & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldInputClearButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldInputClearButtonElement>>;
47
+ export declare const GuxFormFieldLegacy: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldLegacy & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldLegacyElement>>;
48
+ export declare const GuxFormFieldNumber: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldNumber & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldNumberElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldNumberElement>>;
49
+ export declare const GuxFormFieldRadio: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldRadio & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldRadioElement>>;
50
+ export declare const GuxFormFieldRange: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldRange & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldRangeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldRangeElement>>;
51
+ export declare const GuxFormFieldSearch: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldSearch & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldSearchElement>>;
52
+ export declare const GuxFormFieldSelect: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldSelect & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldSelectElement>>;
53
+ export declare const GuxFormFieldTextLike: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldTextLike & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldTextLikeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldTextLikeElement>>;
54
+ export declare const GuxFormFieldTextarea: import("react").ForwardRefExoticComponent<JSX.GuxFormFieldTextarea & Omit<import("react").HTMLAttributes<HTMLGuxFormFieldTextareaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxFormFieldTextareaElement>>;
55
+ export declare const GuxIcon: import("react").ForwardRefExoticComponent<JSX.GuxIcon & Omit<import("react").HTMLAttributes<HTMLGuxIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxIconElement>>;
56
+ export declare const GuxInputCheckbox: import("react").ForwardRefExoticComponent<JSX.GuxInputCheckbox & Omit<import("react").HTMLAttributes<HTMLGuxInputCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputCheckboxElement>>;
57
+ export declare const GuxInputColor: import("react").ForwardRefExoticComponent<JSX.GuxInputColor & Omit<import("react").HTMLAttributes<HTMLGuxInputColorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputColorElement>>;
58
+ export declare const GuxInputColorOption: import("react").ForwardRefExoticComponent<JSX.GuxInputColorOption & Omit<import("react").HTMLAttributes<HTMLGuxInputColorOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputColorOptionElement>>;
59
+ export declare const GuxInputNumber: import("react").ForwardRefExoticComponent<JSX.GuxInputNumber & Omit<import("react").HTMLAttributes<HTMLGuxInputNumberElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputNumberElement>>;
60
+ export declare const GuxInputRadio: import("react").ForwardRefExoticComponent<JSX.GuxInputRadio & Omit<import("react").HTMLAttributes<HTMLGuxInputRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputRadioElement>>;
61
+ export declare const GuxInputRange: import("react").ForwardRefExoticComponent<JSX.GuxInputRange & Omit<import("react").HTMLAttributes<HTMLGuxInputRangeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputRangeElement>>;
62
+ export declare const GuxInputSearch: import("react").ForwardRefExoticComponent<JSX.GuxInputSearch & Omit<import("react").HTMLAttributes<HTMLGuxInputSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputSearchElement>>;
63
+ export declare const GuxInputSelect: import("react").ForwardRefExoticComponent<JSX.GuxInputSelect & Omit<import("react").HTMLAttributes<HTMLGuxInputSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputSelectElement>>;
64
+ export declare const GuxInputTextLike: import("react").ForwardRefExoticComponent<JSX.GuxInputTextLike & Omit<import("react").HTMLAttributes<HTMLGuxInputTextLikeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputTextLikeElement>>;
65
+ export declare const GuxInputTextarea: import("react").ForwardRefExoticComponent<JSX.GuxInputTextarea & Omit<import("react").HTMLAttributes<HTMLGuxInputTextareaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxInputTextareaElement>>;
66
+ export declare const GuxList: import("react").ForwardRefExoticComponent<JSX.GuxList & Omit<import("react").HTMLAttributes<HTMLGuxListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListElement>>;
67
+ export declare const GuxListDivider: import("react").ForwardRefExoticComponent<JSX.GuxListDivider & Omit<import("react").HTMLAttributes<HTMLGuxListDividerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListDividerElement>>;
68
+ export declare const GuxListDividerLegacy: import("react").ForwardRefExoticComponent<JSX.GuxListDividerLegacy & Omit<import("react").HTMLAttributes<HTMLGuxListDividerLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListDividerLegacyElement>>;
69
+ export declare const GuxListItem: import("react").ForwardRefExoticComponent<JSX.GuxListItem & Omit<import("react").HTMLAttributes<HTMLGuxListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListItemElement>>;
70
+ export declare const GuxListItemLegacy: import("react").ForwardRefExoticComponent<JSX.GuxListItemLegacy & Omit<import("react").HTMLAttributes<HTMLGuxListItemLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListItemLegacyElement>>;
71
+ export declare const GuxListLegacy: import("react").ForwardRefExoticComponent<JSX.GuxListLegacy & Omit<import("react").HTMLAttributes<HTMLGuxListLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListLegacyElement>>;
72
+ export declare const GuxListbox: import("react").ForwardRefExoticComponent<JSX.GuxListbox & Omit<import("react").HTMLAttributes<HTMLGuxListboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListboxElement>>;
73
+ export declare const GuxListboxMulti: import("react").ForwardRefExoticComponent<JSX.GuxListboxMulti & Omit<import("react").HTMLAttributes<HTMLGuxListboxMultiElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxListboxMultiElement>>;
74
+ export declare const GuxMenu: import("react").ForwardRefExoticComponent<JSX.GuxMenu & Omit<import("react").HTMLAttributes<HTMLGuxMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxMenuElement>>;
75
+ export declare const GuxMenuOption: import("react").ForwardRefExoticComponent<JSX.GuxMenuOption & Omit<import("react").HTMLAttributes<HTMLGuxMenuOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxMenuOptionElement>>;
76
+ export declare const GuxModal: import("react").ForwardRefExoticComponent<JSX.GuxModal & Omit<import("react").HTMLAttributes<HTMLGuxModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxModalElement>>;
77
+ export declare const GuxNotificationToast: import("react").ForwardRefExoticComponent<JSX.GuxNotificationToast & Omit<import("react").HTMLAttributes<HTMLGuxNotificationToastElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxNotificationToastElement>>;
78
+ export declare const GuxOption: import("react").ForwardRefExoticComponent<JSX.GuxOption & Omit<import("react").HTMLAttributes<HTMLGuxOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxOptionElement>>;
79
+ export declare const GuxOptionLegacy: import("react").ForwardRefExoticComponent<JSX.GuxOptionLegacy & Omit<import("react").HTMLAttributes<HTMLGuxOptionLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxOptionLegacyElement>>;
80
+ export declare const GuxOptionMulti: import("react").ForwardRefExoticComponent<JSX.GuxOptionMulti & Omit<import("react").HTMLAttributes<HTMLGuxOptionMultiElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxOptionMultiElement>>;
81
+ export declare const GuxPageLoadingSpinner: import("react").ForwardRefExoticComponent<JSX.GuxPageLoadingSpinner & Omit<import("react").HTMLAttributes<HTMLGuxPageLoadingSpinnerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPageLoadingSpinnerElement>>;
82
+ export declare const GuxPagination: import("react").ForwardRefExoticComponent<JSX.GuxPagination & Omit<import("react").HTMLAttributes<HTMLGuxPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationElement>>;
83
+ export declare const GuxPaginationBeta: import("react").ForwardRefExoticComponent<JSX.GuxPaginationBeta & Omit<import("react").HTMLAttributes<HTMLGuxPaginationBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationBetaElement>>;
84
+ export declare const GuxPaginationButtons: import("react").ForwardRefExoticComponent<JSX.GuxPaginationButtons & Omit<import("react").HTMLAttributes<HTMLGuxPaginationButtonsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationButtonsElement>>;
85
+ export declare const GuxPaginationButtonsBeta: import("react").ForwardRefExoticComponent<JSX.GuxPaginationButtonsBeta & Omit<import("react").HTMLAttributes<HTMLGuxPaginationButtonsBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationButtonsBetaElement>>;
86
+ export declare const GuxPaginationCursor: import("react").ForwardRefExoticComponent<JSX.GuxPaginationCursor & Omit<import("react").HTMLAttributes<HTMLGuxPaginationCursorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationCursorElement>>;
87
+ export declare const GuxPaginationItemCounts: import("react").ForwardRefExoticComponent<JSX.GuxPaginationItemCounts & Omit<import("react").HTMLAttributes<HTMLGuxPaginationItemCountsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationItemCountsElement>>;
88
+ export declare const GuxPaginationItemCountsBeta: import("react").ForwardRefExoticComponent<JSX.GuxPaginationItemCountsBeta & Omit<import("react").HTMLAttributes<HTMLGuxPaginationItemCountsBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationItemCountsBetaElement>>;
89
+ export declare const GuxPaginationItemsPerPage: import("react").ForwardRefExoticComponent<JSX.GuxPaginationItemsPerPage & Omit<import("react").HTMLAttributes<HTMLGuxPaginationItemsPerPageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationItemsPerPageElement>>;
90
+ export declare const GuxPaginationItemsPerPageBeta: import("react").ForwardRefExoticComponent<JSX.GuxPaginationItemsPerPageBeta & Omit<import("react").HTMLAttributes<HTMLGuxPaginationItemsPerPageBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPaginationItemsPerPageBetaElement>>;
91
+ export declare const GuxPanelFrameLegacy: import("react").ForwardRefExoticComponent<JSX.GuxPanelFrameLegacy & Omit<import("react").HTMLAttributes<HTMLGuxPanelFrameLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPanelFrameLegacyElement>>;
92
+ export declare const GuxPopover: import("react").ForwardRefExoticComponent<JSX.GuxPopover & Omit<import("react").HTMLAttributes<HTMLGuxPopoverElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPopoverElement>>;
93
+ export declare const GuxPopoverList: import("react").ForwardRefExoticComponent<JSX.GuxPopoverList & Omit<import("react").HTMLAttributes<HTMLGuxPopoverListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPopoverListElement>>;
94
+ export declare const GuxPopup: import("react").ForwardRefExoticComponent<JSX.GuxPopup & Omit<import("react").HTMLAttributes<HTMLGuxPopupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxPopupElement>>;
95
+ export declare const GuxRadialLoading: import("react").ForwardRefExoticComponent<JSX.GuxRadialLoading & Omit<import("react").HTMLAttributes<HTMLGuxRadialLoadingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxRadialLoadingElement>>;
96
+ export declare const GuxRadialProgress: import("react").ForwardRefExoticComponent<JSX.GuxRadialProgress & Omit<import("react").HTMLAttributes<HTMLGuxRadialProgressElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxRadialProgressElement>>;
97
+ export declare const GuxRating: import("react").ForwardRefExoticComponent<JSX.GuxRating & Omit<import("react").HTMLAttributes<HTMLGuxRatingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxRatingElement>>;
98
+ export declare const GuxRowSelect: import("react").ForwardRefExoticComponent<JSX.GuxRowSelect & Omit<import("react").HTMLAttributes<HTMLGuxRowSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxRowSelectElement>>;
99
+ export declare const GuxSidePanelButton: import("react").ForwardRefExoticComponent<JSX.GuxSidePanelButton & Omit<import("react").HTMLAttributes<HTMLGuxSidePanelButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSidePanelButtonElement>>;
100
+ export declare const GuxSidePanelLegacy: import("react").ForwardRefExoticComponent<JSX.GuxSidePanelLegacy & Omit<import("react").HTMLAttributes<HTMLGuxSidePanelLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSidePanelLegacyElement>>;
101
+ export declare const GuxSimpleToast: import("react").ForwardRefExoticComponent<JSX.GuxSimpleToast & Omit<import("react").HTMLAttributes<HTMLGuxSimpleToastElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSimpleToastElement>>;
102
+ export declare const GuxSortControl: import("react").ForwardRefExoticComponent<JSX.GuxSortControl & Omit<import("react").HTMLAttributes<HTMLGuxSortControlElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSortControlElement>>;
103
+ export declare const GuxSubmenu: import("react").ForwardRefExoticComponent<JSX.GuxSubmenu & Omit<import("react").HTMLAttributes<HTMLGuxSubmenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSubmenuElement>>;
104
+ export declare const GuxSwitch: import("react").ForwardRefExoticComponent<JSX.GuxSwitch & Omit<import("react").HTMLAttributes<HTMLGuxSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSwitchElement>>;
105
+ export declare const GuxSwitchItem: import("react").ForwardRefExoticComponent<JSX.GuxSwitchItem & Omit<import("react").HTMLAttributes<HTMLGuxSwitchItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxSwitchItemElement>>;
106
+ export declare const GuxTab: import("react").ForwardRefExoticComponent<JSX.GuxTab & Omit<import("react").HTMLAttributes<HTMLGuxTabElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabElement>>;
107
+ export declare const GuxTabAdvanced: import("react").ForwardRefExoticComponent<JSX.GuxTabAdvanced & Omit<import("react").HTMLAttributes<HTMLGuxTabAdvancedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabAdvancedElement>>;
108
+ export declare const GuxTabAdvancedList: import("react").ForwardRefExoticComponent<JSX.GuxTabAdvancedList & Omit<import("react").HTMLAttributes<HTMLGuxTabAdvancedListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabAdvancedListElement>>;
109
+ export declare const GuxTabAdvancedPanel: import("react").ForwardRefExoticComponent<JSX.GuxTabAdvancedPanel & Omit<import("react").HTMLAttributes<HTMLGuxTabAdvancedPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabAdvancedPanelElement>>;
110
+ export declare const GuxTabDropdownOptionLegacy: import("react").ForwardRefExoticComponent<JSX.GuxTabDropdownOptionLegacy & Omit<import("react").HTMLAttributes<HTMLGuxTabDropdownOptionLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabDropdownOptionLegacyElement>>;
111
+ export declare const GuxTabLegacy: import("react").ForwardRefExoticComponent<JSX.GuxTabLegacy & Omit<import("react").HTMLAttributes<HTMLGuxTabLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabLegacyElement>>;
112
+ export declare const GuxTabList: import("react").ForwardRefExoticComponent<JSX.GuxTabList & Omit<import("react").HTMLAttributes<HTMLGuxTabListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabListElement>>;
113
+ export declare const GuxTabPanel: import("react").ForwardRefExoticComponent<JSX.GuxTabPanel & Omit<import("react").HTMLAttributes<HTMLGuxTabPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabPanelElement>>;
114
+ export declare const GuxTableBeta: import("react").ForwardRefExoticComponent<JSX.GuxTableBeta & Omit<import("react").HTMLAttributes<HTMLGuxTableBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTableBetaElement>>;
115
+ export declare const GuxTabs: import("react").ForwardRefExoticComponent<JSX.GuxTabs & Omit<import("react").HTMLAttributes<HTMLGuxTabsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabsElement>>;
116
+ export declare const GuxTabsAdvanced: import("react").ForwardRefExoticComponent<JSX.GuxTabsAdvanced & Omit<import("react").HTMLAttributes<HTMLGuxTabsAdvancedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabsAdvancedElement>>;
117
+ export declare const GuxTabsLegacy: import("react").ForwardRefExoticComponent<JSX.GuxTabsLegacy & Omit<import("react").HTMLAttributes<HTMLGuxTabsLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTabsLegacyElement>>;
118
+ export declare const GuxTagBeta: import("react").ForwardRefExoticComponent<JSX.GuxTagBeta & Omit<import("react").HTMLAttributes<HTMLGuxTagBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTagBetaElement>>;
119
+ export declare const GuxTextHighlight: import("react").ForwardRefExoticComponent<JSX.GuxTextHighlight & Omit<import("react").HTMLAttributes<HTMLGuxTextHighlightElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTextHighlightElement>>;
120
+ export declare const GuxTextLabelLegacy: import("react").ForwardRefExoticComponent<JSX.GuxTextLabelLegacy & Omit<import("react").HTMLAttributes<HTMLGuxTextLabelLegacyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTextLabelLegacyElement>>;
121
+ export declare const GuxTimePickerBeta: import("react").ForwardRefExoticComponent<JSX.GuxTimePickerBeta & Omit<import("react").HTMLAttributes<HTMLGuxTimePickerBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTimePickerBetaElement>>;
122
+ export declare const GuxToggle: import("react").ForwardRefExoticComponent<JSX.GuxToggle & Omit<import("react").HTMLAttributes<HTMLGuxToggleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxToggleElement>>;
123
+ export declare const GuxToggleSlider: import("react").ForwardRefExoticComponent<JSX.GuxToggleSlider & Omit<import("react").HTMLAttributes<HTMLGuxToggleSliderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxToggleSliderElement>>;
124
+ export declare const GuxTooltip: import("react").ForwardRefExoticComponent<JSX.GuxTooltip & Omit<import("react").HTMLAttributes<HTMLGuxTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTooltipElement>>;
125
+ export declare const GuxTooltipTitle: import("react").ForwardRefExoticComponent<JSX.GuxTooltipTitle & Omit<import("react").HTMLAttributes<HTMLGuxTooltipTitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxTooltipTitleElement>>;
126
+ export declare const GuxVisualizationBeta: import("react").ForwardRefExoticComponent<JSX.GuxVisualizationBeta & Omit<import("react").HTMLAttributes<HTMLGuxVisualizationBetaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLGuxVisualizationBetaElement>>;
package/dist/index.js ADDED
@@ -0,0 +1,128 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /* auto-generated react proxies */
4
+ import { createReactComponent } from './react-component-lib';
5
+ export const GuxAccordion = /*@__PURE__*/ createReactComponent('gux-accordion');
6
+ export const GuxAccordionLegacy = /*@__PURE__*/ createReactComponent('gux-accordion-legacy');
7
+ export const GuxAccordionSection = /*@__PURE__*/ createReactComponent('gux-accordion-section');
8
+ export const GuxActionButton = /*@__PURE__*/ createReactComponent('gux-action-button');
9
+ export const GuxActionButtonLegacy = /*@__PURE__*/ createReactComponent('gux-action-button-legacy');
10
+ export const GuxActionItem = /*@__PURE__*/ createReactComponent('gux-action-item');
11
+ export const GuxActionListDivider = /*@__PURE__*/ createReactComponent('gux-action-list-divider');
12
+ export const GuxActionListLegacy = /*@__PURE__*/ createReactComponent('gux-action-list-legacy');
13
+ export const GuxActionToast = /*@__PURE__*/ createReactComponent('gux-action-toast');
14
+ export const GuxAdvancedDropdown = /*@__PURE__*/ createReactComponent('gux-advanced-dropdown');
15
+ export const GuxAllRowSelect = /*@__PURE__*/ createReactComponent('gux-all-row-select');
16
+ export const GuxBadgeBeta = /*@__PURE__*/ createReactComponent('gux-badge-beta');
17
+ export const GuxBreadcrumbItem = /*@__PURE__*/ createReactComponent('gux-breadcrumb-item');
18
+ export const GuxBreadcrumbs = /*@__PURE__*/ createReactComponent('gux-breadcrumbs');
19
+ export const GuxButton = /*@__PURE__*/ createReactComponent('gux-button');
20
+ export const GuxButtonMulti = /*@__PURE__*/ createReactComponent('gux-button-multi');
21
+ export const GuxButtonMultiLegacy = /*@__PURE__*/ createReactComponent('gux-button-multi-legacy');
22
+ export const GuxButtonSlotBeta = /*@__PURE__*/ createReactComponent('gux-button-slot-beta');
23
+ export const GuxCalendar = /*@__PURE__*/ createReactComponent('gux-calendar');
24
+ export const GuxCardBeta = /*@__PURE__*/ createReactComponent('gux-card-beta');
25
+ export const GuxChartColumnBeta = /*@__PURE__*/ createReactComponent('gux-chart-column-beta');
26
+ export const GuxChartDonutBeta = /*@__PURE__*/ createReactComponent('gux-chart-donut-beta');
27
+ export const GuxChartLineBeta = /*@__PURE__*/ createReactComponent('gux-chart-line-beta');
28
+ export const GuxChartPieBeta = /*@__PURE__*/ createReactComponent('gux-chart-pie-beta');
29
+ export const GuxChartScatterPlotBeta = /*@__PURE__*/ createReactComponent('gux-chart-scatter-plot-beta');
30
+ export const GuxColorSelect = /*@__PURE__*/ createReactComponent('gux-color-select');
31
+ export const GuxCommandAction = /*@__PURE__*/ createReactComponent('gux-command-action');
32
+ export const GuxCommandPaletteLegacy = /*@__PURE__*/ createReactComponent('gux-command-palette-legacy');
33
+ export const GuxContentSearch = /*@__PURE__*/ createReactComponent('gux-content-search');
34
+ export const GuxCopyToClipboardBeta = /*@__PURE__*/ createReactComponent('gux-copy-to-clipboard-beta');
35
+ export const GuxDatepicker = /*@__PURE__*/ createReactComponent('gux-datepicker');
36
+ export const GuxDisclosureButton = /*@__PURE__*/ createReactComponent('gux-disclosure-button');
37
+ export const GuxDismissButton = /*@__PURE__*/ createReactComponent('gux-dismiss-button');
38
+ export const GuxDropdown = /*@__PURE__*/ createReactComponent('gux-dropdown');
39
+ export const GuxDropdownLegacy = /*@__PURE__*/ createReactComponent('gux-dropdown-legacy');
40
+ export const GuxDropdownMultiBeta = /*@__PURE__*/ createReactComponent('gux-dropdown-multi-beta');
41
+ export const GuxDropdownMultiTag = /*@__PURE__*/ createReactComponent('gux-dropdown-multi-tag');
42
+ export const GuxDropdownOption = /*@__PURE__*/ createReactComponent('gux-dropdown-option');
43
+ export const GuxErrorMessageBeta = /*@__PURE__*/ createReactComponent('gux-error-message-beta');
44
+ export const GuxFlyoutMenuBeta = /*@__PURE__*/ createReactComponent('gux-flyout-menu-beta');
45
+ export const GuxFormFieldCheckbox = /*@__PURE__*/ createReactComponent('gux-form-field-checkbox');
46
+ export const GuxFormFieldColor = /*@__PURE__*/ createReactComponent('gux-form-field-color');
47
+ export const GuxFormFieldDropdown = /*@__PURE__*/ createReactComponent('gux-form-field-dropdown');
48
+ export const GuxFormFieldInputClearButton = /*@__PURE__*/ createReactComponent('gux-form-field-input-clear-button');
49
+ export const GuxFormFieldLegacy = /*@__PURE__*/ createReactComponent('gux-form-field-legacy');
50
+ export const GuxFormFieldNumber = /*@__PURE__*/ createReactComponent('gux-form-field-number');
51
+ export const GuxFormFieldRadio = /*@__PURE__*/ createReactComponent('gux-form-field-radio');
52
+ export const GuxFormFieldRange = /*@__PURE__*/ createReactComponent('gux-form-field-range');
53
+ export const GuxFormFieldSearch = /*@__PURE__*/ createReactComponent('gux-form-field-search');
54
+ export const GuxFormFieldSelect = /*@__PURE__*/ createReactComponent('gux-form-field-select');
55
+ export const GuxFormFieldTextLike = /*@__PURE__*/ createReactComponent('gux-form-field-text-like');
56
+ export const GuxFormFieldTextarea = /*@__PURE__*/ createReactComponent('gux-form-field-textarea');
57
+ export const GuxIcon = /*@__PURE__*/ createReactComponent('gux-icon');
58
+ export const GuxInputCheckbox = /*@__PURE__*/ createReactComponent('gux-input-checkbox');
59
+ export const GuxInputColor = /*@__PURE__*/ createReactComponent('gux-input-color');
60
+ export const GuxInputColorOption = /*@__PURE__*/ createReactComponent('gux-input-color-option');
61
+ export const GuxInputNumber = /*@__PURE__*/ createReactComponent('gux-input-number');
62
+ export const GuxInputRadio = /*@__PURE__*/ createReactComponent('gux-input-radio');
63
+ export const GuxInputRange = /*@__PURE__*/ createReactComponent('gux-input-range');
64
+ export const GuxInputSearch = /*@__PURE__*/ createReactComponent('gux-input-search');
65
+ export const GuxInputSelect = /*@__PURE__*/ createReactComponent('gux-input-select');
66
+ export const GuxInputTextLike = /*@__PURE__*/ createReactComponent('gux-input-text-like');
67
+ export const GuxInputTextarea = /*@__PURE__*/ createReactComponent('gux-input-textarea');
68
+ export const GuxList = /*@__PURE__*/ createReactComponent('gux-list');
69
+ export const GuxListDivider = /*@__PURE__*/ createReactComponent('gux-list-divider');
70
+ export const GuxListDividerLegacy = /*@__PURE__*/ createReactComponent('gux-list-divider-legacy');
71
+ export const GuxListItem = /*@__PURE__*/ createReactComponent('gux-list-item');
72
+ export const GuxListItemLegacy = /*@__PURE__*/ createReactComponent('gux-list-item-legacy');
73
+ export const GuxListLegacy = /*@__PURE__*/ createReactComponent('gux-list-legacy');
74
+ export const GuxListbox = /*@__PURE__*/ createReactComponent('gux-listbox');
75
+ export const GuxListboxMulti = /*@__PURE__*/ createReactComponent('gux-listbox-multi');
76
+ export const GuxMenu = /*@__PURE__*/ createReactComponent('gux-menu');
77
+ export const GuxMenuOption = /*@__PURE__*/ createReactComponent('gux-menu-option');
78
+ export const GuxModal = /*@__PURE__*/ createReactComponent('gux-modal');
79
+ export const GuxNotificationToast = /*@__PURE__*/ createReactComponent('gux-notification-toast');
80
+ export const GuxOption = /*@__PURE__*/ createReactComponent('gux-option');
81
+ export const GuxOptionLegacy = /*@__PURE__*/ createReactComponent('gux-option-legacy');
82
+ export const GuxOptionMulti = /*@__PURE__*/ createReactComponent('gux-option-multi');
83
+ export const GuxPageLoadingSpinner = /*@__PURE__*/ createReactComponent('gux-page-loading-spinner');
84
+ export const GuxPagination = /*@__PURE__*/ createReactComponent('gux-pagination');
85
+ export const GuxPaginationBeta = /*@__PURE__*/ createReactComponent('gux-pagination-beta');
86
+ export const GuxPaginationButtons = /*@__PURE__*/ createReactComponent('gux-pagination-buttons');
87
+ export const GuxPaginationButtonsBeta = /*@__PURE__*/ createReactComponent('gux-pagination-buttons-beta');
88
+ export const GuxPaginationCursor = /*@__PURE__*/ createReactComponent('gux-pagination-cursor');
89
+ export const GuxPaginationItemCounts = /*@__PURE__*/ createReactComponent('gux-pagination-item-counts');
90
+ export const GuxPaginationItemCountsBeta = /*@__PURE__*/ createReactComponent('gux-pagination-item-counts-beta');
91
+ export const GuxPaginationItemsPerPage = /*@__PURE__*/ createReactComponent('gux-pagination-items-per-page');
92
+ export const GuxPaginationItemsPerPageBeta = /*@__PURE__*/ createReactComponent('gux-pagination-items-per-page-beta');
93
+ export const GuxPanelFrameLegacy = /*@__PURE__*/ createReactComponent('gux-panel-frame-legacy');
94
+ export const GuxPopover = /*@__PURE__*/ createReactComponent('gux-popover');
95
+ export const GuxPopoverList = /*@__PURE__*/ createReactComponent('gux-popover-list');
96
+ export const GuxPopup = /*@__PURE__*/ createReactComponent('gux-popup');
97
+ export const GuxRadialLoading = /*@__PURE__*/ createReactComponent('gux-radial-loading');
98
+ export const GuxRadialProgress = /*@__PURE__*/ createReactComponent('gux-radial-progress');
99
+ export const GuxRating = /*@__PURE__*/ createReactComponent('gux-rating');
100
+ export const GuxRowSelect = /*@__PURE__*/ createReactComponent('gux-row-select');
101
+ export const GuxSidePanelButton = /*@__PURE__*/ createReactComponent('gux-side-panel-button');
102
+ export const GuxSidePanelLegacy = /*@__PURE__*/ createReactComponent('gux-side-panel-legacy');
103
+ export const GuxSimpleToast = /*@__PURE__*/ createReactComponent('gux-simple-toast');
104
+ export const GuxSortControl = /*@__PURE__*/ createReactComponent('gux-sort-control');
105
+ export const GuxSubmenu = /*@__PURE__*/ createReactComponent('gux-submenu');
106
+ export const GuxSwitch = /*@__PURE__*/ createReactComponent('gux-switch');
107
+ export const GuxSwitchItem = /*@__PURE__*/ createReactComponent('gux-switch-item');
108
+ export const GuxTab = /*@__PURE__*/ createReactComponent('gux-tab');
109
+ export const GuxTabAdvanced = /*@__PURE__*/ createReactComponent('gux-tab-advanced');
110
+ export const GuxTabAdvancedList = /*@__PURE__*/ createReactComponent('gux-tab-advanced-list');
111
+ export const GuxTabAdvancedPanel = /*@__PURE__*/ createReactComponent('gux-tab-advanced-panel');
112
+ export const GuxTabDropdownOptionLegacy = /*@__PURE__*/ createReactComponent('gux-tab-dropdown-option-legacy');
113
+ export const GuxTabLegacy = /*@__PURE__*/ createReactComponent('gux-tab-legacy');
114
+ export const GuxTabList = /*@__PURE__*/ createReactComponent('gux-tab-list');
115
+ export const GuxTabPanel = /*@__PURE__*/ createReactComponent('gux-tab-panel');
116
+ export const GuxTableBeta = /*@__PURE__*/ createReactComponent('gux-table-beta');
117
+ export const GuxTabs = /*@__PURE__*/ createReactComponent('gux-tabs');
118
+ export const GuxTabsAdvanced = /*@__PURE__*/ createReactComponent('gux-tabs-advanced');
119
+ export const GuxTabsLegacy = /*@__PURE__*/ createReactComponent('gux-tabs-legacy');
120
+ export const GuxTagBeta = /*@__PURE__*/ createReactComponent('gux-tag-beta');
121
+ export const GuxTextHighlight = /*@__PURE__*/ createReactComponent('gux-text-highlight');
122
+ export const GuxTextLabelLegacy = /*@__PURE__*/ createReactComponent('gux-text-label-legacy');
123
+ export const GuxTimePickerBeta = /*@__PURE__*/ createReactComponent('gux-time-picker-beta');
124
+ export const GuxToggle = /*@__PURE__*/ createReactComponent('gux-toggle');
125
+ export const GuxToggleSlider = /*@__PURE__*/ createReactComponent('gux-toggle-slider');
126
+ export const GuxTooltip = /*@__PURE__*/ createReactComponent('gux-tooltip');
127
+ export const GuxTooltipTitle = /*@__PURE__*/ createReactComponent('gux-tooltip-title');
128
+ export const GuxVisualizationBeta = /*@__PURE__*/ createReactComponent('gux-visualization-beta');
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface HTMLStencilElement extends HTMLElement {
3
+ componentOnReady(): Promise<this>;
4
+ }
5
+ interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
6
+ forwardedRef: React.RefObject<ElementType>;
7
+ ref?: React.Ref<any>;
8
+ }
9
+ export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & import("./interfaces").StyleReactProps> & React.RefAttributes<ElementType>>;
10
+ export {};
@@ -0,0 +1,74 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { createElement } from 'react';
13
+ import { attachProps, camelToDashCase, createForwardRef, dashToPascalCase, isCoveredByReact, mergeRefs, } from './utils';
14
+ export const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) => {
15
+ if (defineCustomElement !== undefined) {
16
+ defineCustomElement();
17
+ }
18
+ const displayName = dashToPascalCase(tagName);
19
+ const ReactComponent = class extends React.Component {
20
+ constructor(props) {
21
+ super(props);
22
+ this.setComponentElRef = (element) => {
23
+ this.componentEl = element;
24
+ };
25
+ }
26
+ componentDidMount() {
27
+ this.componentDidUpdate(this.props);
28
+ }
29
+ componentDidUpdate(prevProps) {
30
+ attachProps(this.componentEl, this.props, prevProps);
31
+ }
32
+ render() {
33
+ const _a = this.props, { children, forwardedRef, style, className, ref } = _a, cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
34
+ let propsToPass = Object.keys(cProps).reduce((acc, name) => {
35
+ const value = cProps[name];
36
+ if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
37
+ const eventName = name.substring(2).toLowerCase();
38
+ if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
39
+ acc[name] = value;
40
+ }
41
+ }
42
+ else {
43
+ // we should only render strings, booleans, and numbers as attrs in html.
44
+ // objects, functions, arrays etc get synced via properties on mount.
45
+ const type = typeof value;
46
+ if (type === 'string' || type === 'boolean' || type === 'number') {
47
+ acc[camelToDashCase(name)] = value;
48
+ }
49
+ }
50
+ return acc;
51
+ }, {});
52
+ if (manipulatePropsFunction) {
53
+ propsToPass = manipulatePropsFunction(this.props, propsToPass);
54
+ }
55
+ const newProps = Object.assign(Object.assign({}, propsToPass), { ref: mergeRefs(forwardedRef, this.setComponentElRef), style });
56
+ /**
57
+ * We use createElement here instead of
58
+ * React.createElement to work around a
59
+ * bug in Vite (https://github.com/vitejs/vite/issues/6104).
60
+ * React.createElement causes all elements to be rendered
61
+ * as <tagname> instead of the actual Web Component.
62
+ */
63
+ return createElement(tagName, newProps, children);
64
+ }
65
+ static get displayName() {
66
+ return displayName;
67
+ }
68
+ };
69
+ // If context was passed to createReactComponent then conditionally add it to the Component Class
70
+ if (ReactComponentContext) {
71
+ ReactComponent.contextType = ReactComponentContext;
72
+ }
73
+ return createForwardRef(ReactComponent, displayName);
74
+ };
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { OverlayEventDetail } from './interfaces';
3
+ import { StencilReactForwardedRef } from './utils';
4
+ interface OverlayElement extends HTMLElement {
5
+ present: () => Promise<void>;
6
+ dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
7
+ }
8
+ export interface ReactOverlayProps {
9
+ children?: React.ReactNode;
10
+ isOpen: boolean;
11
+ onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
12
+ onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
13
+ onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
14
+ onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
15
+ }
16
+ export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(tagName: string, controller: {
17
+ create: (options: any) => Promise<OverlayType>;
18
+ }, customElement?: any) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
19
+ forwardedRef?: StencilReactForwardedRef<OverlayType>;
20
+ }> & React.RefAttributes<OverlayType>>;
21
+ export {};
@@ -0,0 +1,95 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React from 'react';
13
+ import ReactDOM from 'react-dom';
14
+ import { attachProps, dashToPascalCase, defineCustomElement, setRef, } from './utils';
15
+ export const createOverlayComponent = (tagName, controller, customElement) => {
16
+ defineCustomElement(tagName, customElement);
17
+ const displayName = dashToPascalCase(tagName);
18
+ const didDismissEventName = `on${displayName}DidDismiss`;
19
+ const didPresentEventName = `on${displayName}DidPresent`;
20
+ const willDismissEventName = `on${displayName}WillDismiss`;
21
+ const willPresentEventName = `on${displayName}WillPresent`;
22
+ let isDismissing = false;
23
+ class Overlay extends React.Component {
24
+ constructor(props) {
25
+ super(props);
26
+ if (typeof document !== 'undefined') {
27
+ this.el = document.createElement('div');
28
+ }
29
+ this.handleDismiss = this.handleDismiss.bind(this);
30
+ }
31
+ static get displayName() {
32
+ return displayName;
33
+ }
34
+ componentDidMount() {
35
+ if (this.props.isOpen) {
36
+ this.present();
37
+ }
38
+ }
39
+ componentWillUnmount() {
40
+ if (this.overlay) {
41
+ this.overlay.dismiss();
42
+ }
43
+ }
44
+ handleDismiss(event) {
45
+ if (this.props.onDidDismiss) {
46
+ this.props.onDidDismiss(event);
47
+ }
48
+ setRef(this.props.forwardedRef, null);
49
+ }
50
+ shouldComponentUpdate(nextProps) {
51
+ // Check if the overlay component is about to dismiss
52
+ if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {
53
+ isDismissing = true;
54
+ }
55
+ return true;
56
+ }
57
+ async componentDidUpdate(prevProps) {
58
+ if (this.overlay) {
59
+ attachProps(this.overlay, this.props, prevProps);
60
+ }
61
+ if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {
62
+ this.present(prevProps);
63
+ }
64
+ if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {
65
+ await this.overlay.dismiss();
66
+ isDismissing = false;
67
+ /**
68
+ * Now that the overlay is dismissed
69
+ * we need to render again so that any
70
+ * inner components will be unmounted
71
+ */
72
+ this.forceUpdate();
73
+ }
74
+ }
75
+ async present(prevProps) {
76
+ const _a = this.props, { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent } = _a, cProps = __rest(_a, ["children", "isOpen", "onDidDismiss", "onDidPresent", "onWillDismiss", "onWillPresent"]);
77
+ const elementProps = Object.assign(Object.assign({}, cProps), { ref: this.props.forwardedRef, [didDismissEventName]: this.handleDismiss, [didPresentEventName]: (e) => this.props.onDidPresent && this.props.onDidPresent(e), [willDismissEventName]: (e) => this.props.onWillDismiss && this.props.onWillDismiss(e), [willPresentEventName]: (e) => this.props.onWillPresent && this.props.onWillPresent(e) });
78
+ this.overlay = await controller.create(Object.assign(Object.assign({}, elementProps), { component: this.el, componentProps: {} }));
79
+ setRef(this.props.forwardedRef, this.overlay);
80
+ attachProps(this.overlay, elementProps, prevProps);
81
+ await this.overlay.present();
82
+ }
83
+ render() {
84
+ /**
85
+ * Continue to render the component even when
86
+ * overlay is dismissing otherwise component
87
+ * will be hidden before animation is done.
88
+ */
89
+ return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el);
90
+ }
91
+ }
92
+ return React.forwardRef((props, ref) => {
93
+ return React.createElement(Overlay, Object.assign({}, props, { forwardedRef: ref }));
94
+ });
95
+ };
@@ -0,0 +1,2 @@
1
+ export { createReactComponent } from './createComponent';
2
+ export { createOverlayComponent } from './createOverlayComponent';
@@ -0,0 +1,2 @@
1
+ export { createReactComponent } from './createComponent';
2
+ export { createOverlayComponent } from './createOverlayComponent';
@@ -0,0 +1,29 @@
1
+ export interface EventEmitter<T = any> {
2
+ emit: (data?: T) => CustomEvent<T>;
3
+ }
4
+ export interface StyleReactProps {
5
+ class?: string;
6
+ className?: string;
7
+ style?: {
8
+ [key: string]: any;
9
+ };
10
+ }
11
+ export interface OverlayEventDetail<T = any> {
12
+ data?: T;
13
+ role?: string;
14
+ }
15
+ export interface OverlayInterface {
16
+ el: HTMLElement;
17
+ animated: boolean;
18
+ keyboardClose: boolean;
19
+ overlayIndex: number;
20
+ presented: boolean;
21
+ enterAnimation?: any;
22
+ leaveAnimation?: any;
23
+ didPresent: EventEmitter<void>;
24
+ willPresent: EventEmitter<void>;
25
+ willDismiss: EventEmitter<OverlayEventDetail>;
26
+ didDismiss: EventEmitter<OverlayEventDetail>;
27
+ present(): Promise<void>;
28
+ dismiss(data?: any, role?: string): Promise<boolean>;
29
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
2
+ export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
3
+ /**
4
+ * Checks if an event is supported in the current execution environment.
5
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
6
+ */
7
+ export declare const isCoveredByReact: (eventNameSuffix: string) => boolean;
8
+ export declare const syncEvent: (node: Element & {
9
+ __events?: {
10
+ [key: string]: (e: Event) => any;
11
+ };
12
+ }, eventName: string, newEventHandler?: (e: Event) => any) => void;
@@ -0,0 +1,97 @@
1
+ import { camelToDashCase } from './case';
2
+ export const attachProps = (node, newProps, oldProps = {}) => {
3
+ // some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first
4
+ if (node instanceof Element) {
5
+ // add any classes in className to the class list
6
+ const className = getClassName(node.classList, newProps, oldProps);
7
+ if (className !== '') {
8
+ node.className = className;
9
+ }
10
+ Object.keys(newProps).forEach((name) => {
11
+ if (name === 'children' ||
12
+ name === 'style' ||
13
+ name === 'ref' ||
14
+ name === 'class' ||
15
+ name === 'className' ||
16
+ name === 'forwardedRef') {
17
+ return;
18
+ }
19
+ if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
20
+ const eventName = name.substring(2);
21
+ const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);
22
+ if (!isCoveredByReact(eventNameLc)) {
23
+ syncEvent(node, eventNameLc, newProps[name]);
24
+ }
25
+ }
26
+ else {
27
+ node[name] = newProps[name];
28
+ const propType = typeof newProps[name];
29
+ if (propType === 'string') {
30
+ node.setAttribute(camelToDashCase(name), newProps[name]);
31
+ }
32
+ }
33
+ });
34
+ }
35
+ };
36
+ export const getClassName = (classList, newProps, oldProps) => {
37
+ const newClassProp = newProps.className || newProps.class;
38
+ const oldClassProp = oldProps.className || oldProps.class;
39
+ // map the classes to Maps for performance
40
+ const currentClasses = arrayToMap(classList);
41
+ const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);
42
+ const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);
43
+ const finalClassNames = [];
44
+ // loop through each of the current classes on the component
45
+ // to see if it should be a part of the classNames added
46
+ currentClasses.forEach((currentClass) => {
47
+ if (incomingPropClasses.has(currentClass)) {
48
+ // add it as its already included in classnames coming in from newProps
49
+ finalClassNames.push(currentClass);
50
+ incomingPropClasses.delete(currentClass);
51
+ }
52
+ else if (!oldPropClasses.has(currentClass)) {
53
+ // add it as it has NOT been removed by user
54
+ finalClassNames.push(currentClass);
55
+ }
56
+ });
57
+ incomingPropClasses.forEach((s) => finalClassNames.push(s));
58
+ return finalClassNames.join(' ');
59
+ };
60
+ /**
61
+ * Checks if an event is supported in the current execution environment.
62
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
63
+ */
64
+ export const isCoveredByReact = (eventNameSuffix) => {
65
+ if (typeof document === 'undefined') {
66
+ return true;
67
+ }
68
+ else {
69
+ const eventName = 'on' + eventNameSuffix;
70
+ let isSupported = eventName in document;
71
+ if (!isSupported) {
72
+ const element = document.createElement('div');
73
+ element.setAttribute(eventName, 'return;');
74
+ isSupported = typeof element[eventName] === 'function';
75
+ }
76
+ return isSupported;
77
+ }
78
+ };
79
+ export const syncEvent = (node, eventName, newEventHandler) => {
80
+ const eventStore = node.__events || (node.__events = {});
81
+ const oldEventHandler = eventStore[eventName];
82
+ // Remove old listener so they don't double up.
83
+ if (oldEventHandler) {
84
+ node.removeEventListener(eventName, oldEventHandler);
85
+ }
86
+ // Bind new listener.
87
+ node.addEventListener(eventName, (eventStore[eventName] = function handler(e) {
88
+ if (newEventHandler) {
89
+ newEventHandler.call(this, e);
90
+ }
91
+ }));
92
+ };
93
+ const arrayToMap = (arr) => {
94
+ const map = new Map();
95
+ arr.forEach((s) => map.set(s, s));
96
+ return map;
97
+ };
@@ -0,0 +1,2 @@
1
+ export declare const dashToPascalCase: (str: string) => string;
2
+ export declare const camelToDashCase: (str: string) => string;
@@ -0,0 +1,6 @@
1
+ export const dashToPascalCase = (str) => str
2
+ .toLowerCase()
3
+ .split('-')
4
+ .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))
5
+ .join('');
6
+ export const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
@@ -0,0 +1,2 @@
1
+ export declare const isDevMode: () => boolean;
2
+ export declare const deprecationWarning: (key: string, message: string) => void;
@@ -0,0 +1,12 @@
1
+ export const isDevMode = () => {
2
+ return process && process.env && process.env.NODE_ENV === 'development';
3
+ };
4
+ const warnings = {};
5
+ export const deprecationWarning = (key, message) => {
6
+ if (isDevMode()) {
7
+ if (!warnings[key]) {
8
+ console.warn(message);
9
+ warnings[key] = true;
10
+ }
11
+ }
12
+ };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { StyleReactProps } from '../interfaces';
3
+ export declare type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
+ export declare type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
5
+ export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
6
+ export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
7
+ export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
8
+ export declare const defineCustomElement: (tagName: string, customElement: any) => void;
9
+ export * from './attachProps';
10
+ export * from './case';
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ export const setRef = (ref, value) => {
3
+ if (typeof ref === 'function') {
4
+ ref(value);
5
+ }
6
+ else if (ref != null) {
7
+ // Cast as a MutableRef so we can assign current
8
+ ref.current = value;
9
+ }
10
+ };
11
+ export const mergeRefs = (...refs) => {
12
+ return (value) => {
13
+ refs.forEach(ref => {
14
+ setRef(ref, value);
15
+ });
16
+ };
17
+ };
18
+ export const createForwardRef = (ReactComponent, displayName) => {
19
+ const forwardRef = (props, ref) => {
20
+ return React.createElement(ReactComponent, Object.assign({}, props, { forwardedRef: ref }));
21
+ };
22
+ forwardRef.displayName = displayName;
23
+ return React.forwardRef(forwardRef);
24
+ };
25
+ export const defineCustomElement = (tagName, customElement) => {
26
+ if (customElement !== undefined &&
27
+ typeof customElements !== 'undefined' &&
28
+ !customElements.get(tagName)) {
29
+ customElements.define(tagName, customElement);
30
+ }
31
+ };
32
+ export * from './attachProps';
33
+ export * from './case';
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "genesys-spark-components-react",
3
+ "version": "3.7.2",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "build": "npm run clean && tsc",
8
+ "clean": "rm -r ./dist || true",
9
+ "test": "echo \"Error: no test specified\" && exit 1"
10
+ },
11
+ "author": "",
12
+ "license": "MIT",
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "dependencies": {
17
+ "@types/react": "^17.0.37",
18
+ "@types/react-dom": "^17.0.11"
19
+ },
20
+ "devDependencies": {
21
+ "react": "^17.0.2",
22
+ "react-dom": "17.0.2",
23
+ "typescript": "^4.5.4"
24
+ },
25
+ "peerDependencies": {
26
+ "genesys-spark-components": "3",
27
+ "react": "16 - 17",
28
+ "react-dom": "16 - 17"
29
+ }
30
+ }