@globalpayments/vega-react 2.13.0 → 2.86.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/LICENSE CHANGED
@@ -1,21 +1,13 @@
1
- MIT License
1
+ Company Proprietary License
2
2
 
3
- Copyright (c) 2019 Ionic
3
+ Copyright (c) 2025 Global Payments Inc. All rights reserved.
4
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:
5
+ This software and associated documentation files (the "Software") are the proprietary property of Global Payments Inc. and are protected by copyright law.
11
6
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
7
+ Permission is hereby granted to Global Payments Inc. employees and authorized contractors to use, copy, modify, and distribute the Software within Global Payments Inc. for internal purposes only, subject to the following conditions:
14
8
 
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.
9
+ 1. The Software may not be used, copied, modified, or distributed outside of Global Payments Inc. without prior written permission from Global Payments Inc.
10
+ 2. The Software may not be used for commercial purposes outside of Global Payments Inc.
11
+ 3. Unauthorized use, reproduction, or distribution of the Software is strictly prohibited.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL GLOBAL PAYMENTS INC. BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # Vega React
2
2
  > React specific wrapper for [@heartlandone/vega](https://www.npmjs.com/package/@heartlandone/vega)
3
3
 
4
- For installation guidance, please refer to https://vega.hlprd.com/guides/getting-started-developers#react
4
+ For installation guidance, please refer to https://vega.globalpayments.com/guides/getting-started-developers#react
@@ -1,46 +1,59 @@
1
- /// <reference types="react" />
2
1
  import type { JSX } from '@globalpayments/vega';
3
2
  export declare const VegaAccordion: import("react").ForwardRefExoticComponent<JSX.VegaAccordion & Omit<import("react").HTMLAttributes<HTMLVegaAccordionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaAccordionElement>>;
4
3
  export declare const VegaAppFooter: import("react").ForwardRefExoticComponent<JSX.VegaAppFooter & Omit<import("react").HTMLAttributes<HTMLVegaAppFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaAppFooterElement>>;
5
- export declare const VegaAppHeaderButton: import("react").ForwardRefExoticComponent<JSX.VegaAppHeaderButton & Omit<import("react").HTMLAttributes<HTMLVegaAppHeaderButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaAppHeaderButtonElement>>;
4
+ export declare const VegaAppHeaderButton: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaAppHeaderButton, Omit<import("react").HTMLAttributes<HTMLVegaAppHeaderButtonElement>, "style">, "onClick"|"onReset"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaAppHeaderButtonElement>>;
6
5
  export declare const VegaBackdrop: import("react").ForwardRefExoticComponent<JSX.VegaBackdrop & Omit<import("react").HTMLAttributes<HTMLVegaBackdropElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBackdropElement>>;
7
6
  export declare const VegaBanner: import("react").ForwardRefExoticComponent<JSX.VegaBanner & Omit<import("react").HTMLAttributes<HTMLVegaBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBannerElement>>;
8
7
  export declare const VegaBarChart: import("react").ForwardRefExoticComponent<JSX.VegaBarChart & Omit<import("react").HTMLAttributes<HTMLVegaBarChartElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBarChartElement>>;
9
8
  export declare const VegaBox: import("react").ForwardRefExoticComponent<JSX.VegaBox & Omit<import("react").HTMLAttributes<HTMLVegaBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBoxElement>>;
10
- export declare const VegaBreadcrumb: import("react").ForwardRefExoticComponent<JSX.VegaBreadcrumb & Omit<import("react").HTMLAttributes<HTMLVegaBreadcrumbElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBreadcrumbElement>>;
11
- export declare const VegaButton: import("react").ForwardRefExoticComponent<JSX.VegaButton & Omit<import("react").HTMLAttributes<HTMLVegaButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonElement>>;
12
- export declare const VegaButtonCircle: import("react").ForwardRefExoticComponent<JSX.VegaButtonCircle & Omit<import("react").HTMLAttributes<HTMLVegaButtonCircleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonCircleElement>>;
13
- export declare const VegaButtonGroup: import("react").ForwardRefExoticComponent<JSX.VegaButtonGroup & Omit<import("react").HTMLAttributes<HTMLVegaButtonGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonGroupElement>>;
9
+ export declare const VegaBrandLogo: import("react").ForwardRefExoticComponent<JSX.VegaBrandLogo & Omit<import("react").HTMLAttributes<HTMLVegaBrandLogoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBrandLogoElement>>;
10
+ export declare const VegaBreadcrumb: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaBreadcrumb, Omit<import("react").HTMLAttributes<HTMLVegaBreadcrumbElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaBreadcrumbElement>>;
11
+ export declare const VegaButton: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaButton, Omit<import("react").HTMLAttributes<HTMLVegaButtonElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonElement>>;
12
+ export declare const VegaButtonCircle: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaButtonCircle, Omit<import("react").HTMLAttributes<HTMLVegaButtonCircleElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonCircleElement>>;
13
+ export declare const VegaButtonGroup: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaButtonGroup, Omit<import("react").HTMLAttributes<HTMLVegaButtonGroupElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonGroupElement>>;
14
14
  export declare const VegaButtonGroupItem: import("react").ForwardRefExoticComponent<JSX.VegaButtonGroupItem & Omit<import("react").HTMLAttributes<HTMLVegaButtonGroupItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonGroupItemElement>>;
15
- export declare const VegaButtonLink: import("react").ForwardRefExoticComponent<JSX.VegaButtonLink & Omit<import("react").HTMLAttributes<HTMLVegaButtonLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonLinkElement>>;
15
+ export declare const VegaButtonLink: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaButtonLink, Omit<import("react").HTMLAttributes<HTMLVegaButtonLinkElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaButtonLinkElement>>;
16
+ export declare const VegaCalendar: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaCalendar, Omit<import("react").HTMLAttributes<HTMLVegaCalendarElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCalendarElement>>;
17
+ export declare const VegaCalendarEvent: import("react").ForwardRefExoticComponent<JSX.VegaCalendarEvent & Omit<import("react").HTMLAttributes<HTMLVegaCalendarEventElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCalendarEventElement>>;
18
+ export declare const VegaCalendarEventPreview: import("react").ForwardRefExoticComponent<JSX.VegaCalendarEventPreview & Omit<import("react").HTMLAttributes<HTMLVegaCalendarEventPreviewElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCalendarEventPreviewElement>>;
19
+ export declare const VegaCalendarEventSlot: import("react").ForwardRefExoticComponent<JSX.VegaCalendarEventSlot & Omit<import("react").HTMLAttributes<HTMLVegaCalendarEventSlotElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCalendarEventSlotElement>>;
16
20
  export declare const VegaCard: import("react").ForwardRefExoticComponent<JSX.VegaCard & Omit<import("react").HTMLAttributes<HTMLVegaCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCardElement>>;
17
21
  export declare const VegaCarousel: import("react").ForwardRefExoticComponent<JSX.VegaCarousel & Omit<import("react").HTMLAttributes<HTMLVegaCarouselElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCarouselElement>>;
18
- export declare const VegaCheckbox: import("react").ForwardRefExoticComponent<JSX.VegaCheckbox & Omit<import("react").HTMLAttributes<HTMLVegaCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCheckboxElement>>;
19
- export declare const VegaCheckboxGroup: import("react").ForwardRefExoticComponent<JSX.VegaCheckboxGroup & Omit<import("react").HTMLAttributes<HTMLVegaCheckboxGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCheckboxGroupElement>>;
20
- export declare const VegaChip: import("react").ForwardRefExoticComponent<JSX.VegaChip & Omit<import("react").HTMLAttributes<HTMLVegaChipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaChipElement>>;
21
- export declare const VegaColorPicker: import("react").ForwardRefExoticComponent<JSX.VegaColorPicker & Omit<import("react").HTMLAttributes<HTMLVegaColorPickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaColorPickerElement>>;
22
- export declare const VegaComboBox: import("react").ForwardRefExoticComponent<JSX.VegaComboBox & Omit<import("react").HTMLAttributes<HTMLVegaComboBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaComboBoxElement>>;
22
+ export declare const VegaCheckbox: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaCheckbox, Omit<import("react").HTMLAttributes<HTMLVegaCheckboxElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCheckboxElement>>;
23
+ export declare const VegaCheckboxGroup: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaCheckboxGroup, Omit<import("react").HTMLAttributes<HTMLVegaCheckboxGroupElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCheckboxGroupElement>>;
24
+ export declare const VegaChip: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaChip, Omit<import("react").HTMLAttributes<HTMLVegaChipElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaChipElement>>;
25
+ export declare const VegaCodeBlock: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaCodeBlock, Omit<import("react").HTMLAttributes<HTMLVegaCodeBlockElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCodeBlockElement>>;
26
+ export declare const VegaColorPicker: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaColorPicker, Omit<import("react").HTMLAttributes<HTMLVegaColorPickerElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaColorPickerElement>>;
27
+ export declare const VegaColorSwatch: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaColorSwatch, Omit<import("react").HTMLAttributes<HTMLVegaColorSwatchElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaColorSwatchElement>>;
28
+ export declare const VegaColorSwatchPicker: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaColorSwatchPicker, Omit<import("react").HTMLAttributes<HTMLVegaColorSwatchPickerElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaColorSwatchPickerElement>>;
29
+ export declare const VegaComboBox: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaComboBox, Omit<import("react").HTMLAttributes<HTMLVegaComboBoxElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaComboBoxElement>>;
23
30
  export declare const VegaCounterBadge: import("react").ForwardRefExoticComponent<JSX.VegaCounterBadge & Omit<import("react").HTMLAttributes<HTMLVegaCounterBadgeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCounterBadgeElement>>;
24
- export declare const VegaDatePicker: import("react").ForwardRefExoticComponent<JSX.VegaDatePicker & Omit<import("react").HTMLAttributes<HTMLVegaDatePickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDatePickerElement>>;
31
+ export declare const VegaDatePicker: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaDatePicker, Omit<import("react").HTMLAttributes<HTMLVegaDatePickerElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDatePickerElement>>;
25
32
  export declare const VegaDatePickerCalendar: import("react").ForwardRefExoticComponent<JSX.VegaDatePickerCalendar & Omit<import("react").HTMLAttributes<HTMLVegaDatePickerCalendarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDatePickerCalendarElement>>;
26
33
  export declare const VegaDialog: import("react").ForwardRefExoticComponent<JSX.VegaDialog & Omit<import("react").HTMLAttributes<HTMLVegaDialogElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDialogElement>>;
27
34
  export declare const VegaDivider: import("react").ForwardRefExoticComponent<JSX.VegaDivider & Omit<import("react").HTMLAttributes<HTMLVegaDividerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDividerElement>>;
28
- export declare const VegaDropdown: import("react").ForwardRefExoticComponent<JSX.VegaDropdown & Omit<import("react").HTMLAttributes<HTMLVegaDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDropdownElement>>;
35
+ export declare const VegaDropdown: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaDropdown, Omit<import("react").HTMLAttributes<HTMLVegaDropdownElement>, "style">, "onReset"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDropdownElement>>;
29
36
  export declare const VegaDropdownContentBox: import("react").ForwardRefExoticComponent<JSX.VegaDropdownContentBox & Omit<import("react").HTMLAttributes<HTMLVegaDropdownContentBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDropdownContentBoxElement>>;
30
37
  export declare const VegaDropdownGroup: import("react").ForwardRefExoticComponent<JSX.VegaDropdownGroup & Omit<import("react").HTMLAttributes<HTMLVegaDropdownGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDropdownGroupElement>>;
31
- export declare const VegaDropdownItem: import("react").ForwardRefExoticComponent<JSX.VegaDropdownItem & Omit<import("react").HTMLAttributes<HTMLVegaDropdownItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDropdownItemElement>>;
38
+ export declare const VegaDropdownItem: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaDropdownItem, Omit<import("react").HTMLAttributes<HTMLVegaDropdownItemElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaDropdownItemElement>>;
32
39
  export declare const VegaFieldError: import("react").ForwardRefExoticComponent<JSX.VegaFieldError & Omit<import("react").HTMLAttributes<HTMLVegaFieldErrorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFieldErrorElement>>;
33
- export declare const VegaFieldLabel: import("react").ForwardRefExoticComponent<JSX.VegaFieldLabel & Omit<import("react").HTMLAttributes<HTMLVegaFieldLabelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFieldLabelElement>>;
40
+ export declare const VegaFieldLabel: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaFieldLabel, Omit<import("react").HTMLAttributes<HTMLVegaFieldLabelElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFieldLabelElement>>;
41
+ export declare const VegaFileUploader: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaFileUploader, Omit<import("react").HTMLAttributes<HTMLVegaFileUploaderElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFileUploaderElement>>;
42
+ export declare const VegaFlagIcon: import("react").ForwardRefExoticComponent<JSX.VegaFlagIcon & Omit<import("react").HTMLAttributes<HTMLVegaFlagIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFlagIconElement>>;
34
43
  export declare const VegaFlex: import("react").ForwardRefExoticComponent<JSX.VegaFlex & Omit<import("react").HTMLAttributes<HTMLVegaFlexElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFlexElement>>;
35
44
  export declare const VegaFont: import("react").ForwardRefExoticComponent<JSX.VegaFont & Omit<import("react").HTMLAttributes<HTMLVegaFontElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFontElement>>;
36
45
  export declare const VegaForm: import("react").ForwardRefExoticComponent<JSX.VegaForm & Omit<import("react").HTMLAttributes<HTMLVegaFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaFormElement>>;
37
46
  export declare const VegaGrid: import("react").ForwardRefExoticComponent<JSX.VegaGrid & Omit<import("react").HTMLAttributes<HTMLVegaGridElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaGridElement>>;
47
+ export declare const VegaHint: import("react").ForwardRefExoticComponent<JSX.VegaHint & Omit<import("react").HTMLAttributes<HTMLVegaHintElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaHintElement>>;
38
48
  export declare const VegaIcon: import("react").ForwardRefExoticComponent<JSX.VegaIcon & Omit<import("react").HTMLAttributes<HTMLVegaIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaIconElement>>;
39
- export declare const VegaImageUploader: import("react").ForwardRefExoticComponent<JSX.VegaImageUploader & Omit<import("react").HTMLAttributes<HTMLVegaImageUploaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaImageUploaderElement>>;
40
- export declare const VegaInput: import("react").ForwardRefExoticComponent<JSX.VegaInput & Omit<import("react").HTMLAttributes<HTMLVegaInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputElement>>;
41
- export declare const VegaInputCreditCard: import("react").ForwardRefExoticComponent<JSX.VegaInputCreditCard & Omit<import("react").HTMLAttributes<HTMLVegaInputCreditCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputCreditCardElement>>;
42
- export declare const VegaInputRange: import("react").ForwardRefExoticComponent<JSX.VegaInputRange & Omit<import("react").HTMLAttributes<HTMLVegaInputRangeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputRangeElement>>;
43
- export declare const VegaInputSelect: import("react").ForwardRefExoticComponent<JSX.VegaInputSelect & Omit<import("react").HTMLAttributes<HTMLVegaInputSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputSelectElement>>;
49
+ export declare const VegaImageUploader: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaImageUploader, Omit<import("react").HTMLAttributes<HTMLVegaImageUploaderElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaImageUploaderElement>>;
50
+ export declare const VegaInput: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInput, Omit<import("react").HTMLAttributes<HTMLVegaInputElement>, "style">, "onChange"|"onFocus"|"onBlur"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputElement>>;
51
+ export declare const VegaInputCreditCard: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInputCreditCard, Omit<import("react").HTMLAttributes<HTMLVegaInputCreditCardElement>, "style">, "onChange"|"onBlur"|"onFocus"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputCreditCardElement>>;
52
+ export declare const VegaInputNumeric: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInputNumeric, Omit<import("react").HTMLAttributes<HTMLVegaInputNumericElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputNumericElement>>;
53
+ export declare const VegaInputPasscode: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInputPasscode, Omit<import("react").HTMLAttributes<HTMLVegaInputPasscodeElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputPasscodeElement>>;
54
+ export declare const VegaInputPhoneNumber: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInputPhoneNumber, Omit<import("react").HTMLAttributes<HTMLVegaInputPhoneNumberElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputPhoneNumberElement>>;
55
+ export declare const VegaInputRange: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInputRange, Omit<import("react").HTMLAttributes<HTMLVegaInputRangeElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputRangeElement>>;
56
+ export declare const VegaInputSelect: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaInputSelect, Omit<import("react").HTMLAttributes<HTMLVegaInputSelectElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaInputSelectElement>>;
44
57
  export declare const VegaItemToggle: import("react").ForwardRefExoticComponent<JSX.VegaItemToggle & Omit<import("react").HTMLAttributes<HTMLVegaItemToggleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaItemToggleElement>>;
45
58
  export declare const VegaLeftNav: import("react").ForwardRefExoticComponent<JSX.VegaLeftNav & Omit<import("react").HTMLAttributes<HTMLVegaLeftNavElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaLeftNavElement>>;
46
59
  export declare const VegaLeftNavGroup: import("react").ForwardRefExoticComponent<JSX.VegaLeftNavGroup & Omit<import("react").HTMLAttributes<HTMLVegaLeftNavGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaLeftNavGroupElement>>;
@@ -53,34 +66,55 @@ export declare const VegaModal: import("react").ForwardRefExoticComponent<JSX.Ve
53
66
  export declare const VegaNavCard: import("react").ForwardRefExoticComponent<JSX.VegaNavCard & Omit<import("react").HTMLAttributes<HTMLVegaNavCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaNavCardElement>>;
54
67
  export declare const VegaPageNotification: import("react").ForwardRefExoticComponent<JSX.VegaPageNotification & Omit<import("react").HTMLAttributes<HTMLVegaPageNotificationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPageNotificationElement>>;
55
68
  export declare const VegaPageNotificationList: import("react").ForwardRefExoticComponent<JSX.VegaPageNotificationList & Omit<import("react").HTMLAttributes<HTMLVegaPageNotificationListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPageNotificationListElement>>;
56
- export declare const VegaPagination: import("react").ForwardRefExoticComponent<JSX.VegaPagination & Omit<import("react").HTMLAttributes<HTMLVegaPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPaginationElement>>;
69
+ export declare const VegaPagination: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaPagination, Omit<import("react").HTMLAttributes<HTMLVegaPaginationElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPaginationElement>>;
70
+ export declare const VegaPaginationPageSelectorMobile: import("react").ForwardRefExoticComponent<JSX.VegaPaginationPageSelectorMobile & Omit<import("react").HTMLAttributes<HTMLVegaPaginationPageSelectorMobileElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPaginationPageSelectorMobileElement>>;
71
+ export declare const VegaPaginationPageSizeSelectorMobile: import("react").ForwardRefExoticComponent<JSX.VegaPaginationPageSizeSelectorMobile & Omit<import("react").HTMLAttributes<HTMLVegaPaginationPageSizeSelectorMobileElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPaginationPageSizeSelectorMobileElement>>;
57
72
  export declare const VegaPieChart: import("react").ForwardRefExoticComponent<JSX.VegaPieChart & Omit<import("react").HTMLAttributes<HTMLVegaPieChartElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPieChartElement>>;
58
73
  export declare const VegaPopover: import("react").ForwardRefExoticComponent<JSX.VegaPopover & Omit<import("react").HTMLAttributes<HTMLVegaPopoverElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPopoverElement>>;
59
74
  export declare const VegaPopoverContentBox: import("react").ForwardRefExoticComponent<JSX.VegaPopoverContentBox & Omit<import("react").HTMLAttributes<HTMLVegaPopoverContentBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaPopoverContentBoxElement>>;
60
75
  export declare const VegaProgressTracker: import("react").ForwardRefExoticComponent<JSX.VegaProgressTracker & Omit<import("react").HTMLAttributes<HTMLVegaProgressTrackerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaProgressTrackerElement>>;
61
- export declare const VegaRadio: import("react").ForwardRefExoticComponent<JSX.VegaRadio & Omit<import("react").HTMLAttributes<HTMLVegaRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRadioElement>>;
62
- export declare const VegaRadioGroup: import("react").ForwardRefExoticComponent<JSX.VegaRadioGroup & Omit<import("react").HTMLAttributes<HTMLVegaRadioGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRadioGroupElement>>;
76
+ export declare const VegaProgressTrackerStep: import("react").ForwardRefExoticComponent<JSX.VegaProgressTrackerStep & Omit<import("react").HTMLAttributes<HTMLVegaProgressTrackerStepElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaProgressTrackerStepElement>>;
77
+ export declare const VegaRadio: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaRadio, Omit<import("react").HTMLAttributes<HTMLVegaRadioElement>, "style">, "onChange"|"onFocus"|"onBlur"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRadioElement>>;
78
+ export declare const VegaRadioGroup: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaRadioGroup, Omit<import("react").HTMLAttributes<HTMLVegaRadioGroupElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRadioGroupElement>>;
79
+ export declare const VegaRichTextContent: import("react").ForwardRefExoticComponent<JSX.VegaRichTextContent & Omit<import("react").HTMLAttributes<HTMLVegaRichTextContentElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextContentElement>>;
80
+ export declare const VegaRichTextEditor: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaRichTextEditor, Omit<import("react").HTMLAttributes<HTMLVegaRichTextEditorElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextEditorElement>>;
81
+ export declare const VegaRichTextEditorToolbarButton: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaRichTextEditorToolbarButton, Omit<import("react").HTMLAttributes<HTMLVegaRichTextEditorToolbarButtonElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextEditorToolbarButtonElement>>;
82
+ export declare const VegaRichTextImageEditor: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaRichTextImageEditor, Omit<import("react").HTMLAttributes<HTMLVegaRichTextImageEditorElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextImageEditorElement>>;
83
+ export declare const VegaRichTextLinkEditor: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaRichTextLinkEditor, Omit<import("react").HTMLAttributes<HTMLVegaRichTextLinkEditorElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextLinkEditorElement>>;
84
+ export declare const VegaRichTextTableProperties: import("react").ForwardRefExoticComponent<JSX.VegaRichTextTableProperties & Omit<import("react").HTMLAttributes<HTMLVegaRichTextTablePropertiesElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextTablePropertiesElement>>;
85
+ export declare const VegaRichTextTableSelectionWidget: import("react").ForwardRefExoticComponent<JSX.VegaRichTextTableSelectionWidget & Omit<import("react").HTMLAttributes<HTMLVegaRichTextTableSelectionWidgetElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextTableSelectionWidgetElement>>;
86
+ export declare const VegaRichTextTableSetting: import("react").ForwardRefExoticComponent<JSX.VegaRichTextTableSetting & Omit<import("react").HTMLAttributes<HTMLVegaRichTextTableSettingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaRichTextTableSettingElement>>;
63
87
  export declare const VegaSectionTitle: import("react").ForwardRefExoticComponent<JSX.VegaSectionTitle & Omit<import("react").HTMLAttributes<HTMLVegaSectionTitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSectionTitleElement>>;
64
- export declare const VegaSegmentControl: import("react").ForwardRefExoticComponent<JSX.VegaSegmentControl & Omit<import("react").HTMLAttributes<HTMLVegaSegmentControlElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSegmentControlElement>>;
65
- export declare const VegaSelectionTile: import("react").ForwardRefExoticComponent<JSX.VegaSelectionTile & Omit<import("react").HTMLAttributes<HTMLVegaSelectionTileElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSelectionTileElement>>;
66
- export declare const VegaSelectionTileGroup: import("react").ForwardRefExoticComponent<JSX.VegaSelectionTileGroup & Omit<import("react").HTMLAttributes<HTMLVegaSelectionTileGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSelectionTileGroupElement>>;
88
+ export declare const VegaSegmentControl: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSegmentControl, Omit<import("react").HTMLAttributes<HTMLVegaSegmentControlElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSegmentControlElement>>;
89
+ export declare const VegaSelectionChip: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSelectionChip, Omit<import("react").HTMLAttributes<HTMLVegaSelectionChipElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSelectionChipElement>>;
90
+ export declare const VegaSelectionChipGroup: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSelectionChipGroup, Omit<import("react").HTMLAttributes<HTMLVegaSelectionChipGroupElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSelectionChipGroupElement>>;
91
+ export declare const VegaSelectionTile: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSelectionTile, Omit<import("react").HTMLAttributes<HTMLVegaSelectionTileElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSelectionTileElement>>;
92
+ export declare const VegaSelectionTileGroup: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSelectionTileGroup, Omit<import("react").HTMLAttributes<HTMLVegaSelectionTileGroupElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSelectionTileGroupElement>>;
93
+ export declare const VegaSidenav: import("react").ForwardRefExoticComponent<JSX.VegaSidenav & Omit<import("react").HTMLAttributes<HTMLVegaSidenavElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSidenavElement>>;
94
+ export declare const VegaSidenavGroup: import("react").ForwardRefExoticComponent<JSX.VegaSidenavGroup & Omit<import("react").HTMLAttributes<HTMLVegaSidenavGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSidenavGroupElement>>;
95
+ export declare const VegaSidenavLink: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSidenavLink, Omit<import("react").HTMLAttributes<HTMLVegaSidenavLinkElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSidenavLinkElement>>;
96
+ export declare const VegaSignatureCapture: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaSignatureCapture, Omit<import("react").HTMLAttributes<HTMLVegaSignatureCaptureElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSignatureCaptureElement>>;
97
+ export declare const VegaSkeleton: import("react").ForwardRefExoticComponent<JSX.VegaSkeleton & Omit<import("react").HTMLAttributes<HTMLVegaSkeletonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSkeletonElement>>;
67
98
  export declare const VegaSlotContainer: import("react").ForwardRefExoticComponent<JSX.VegaSlotContainer & Omit<import("react").HTMLAttributes<HTMLVegaSlotContainerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaSlotContainerElement>>;
68
- export declare const VegaStepper: import("react").ForwardRefExoticComponent<JSX.VegaStepper & Omit<import("react").HTMLAttributes<HTMLVegaStepperElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaStepperElement>>;
69
- export declare const VegaTabGroup: import("react").ForwardRefExoticComponent<JSX.VegaTabGroup & Omit<import("react").HTMLAttributes<HTMLVegaTabGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTabGroupElement>>;
99
+ export declare const VegaStepper: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaStepper, Omit<import("react").HTMLAttributes<HTMLVegaStepperElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaStepperElement>>;
100
+ export declare const VegaTabGroup: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaTabGroup, Omit<import("react").HTMLAttributes<HTMLVegaTabGroupElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTabGroupElement>>;
70
101
  export declare const VegaTabGroupPanel: import("react").ForwardRefExoticComponent<JSX.VegaTabGroupPanel & Omit<import("react").HTMLAttributes<HTMLVegaTabGroupPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTabGroupPanelElement>>;
71
- export declare const VegaTable: import("react").ForwardRefExoticComponent<JSX.VegaTable & Omit<import("react").HTMLAttributes<HTMLVegaTableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableElement>>;
102
+ export declare const VegaTable: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaTable, Omit<import("react").HTMLAttributes<HTMLVegaTableElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableElement>>;
72
103
  export declare const VegaTableBody: import("react").ForwardRefExoticComponent<JSX.VegaTableBody & Omit<import("react").HTMLAttributes<HTMLVegaTableBodyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableBodyElement>>;
73
104
  export declare const VegaTableCell: import("react").ForwardRefExoticComponent<JSX.VegaTableCell & Omit<import("react").HTMLAttributes<HTMLVegaTableCellElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableCellElement>>;
74
105
  export declare const VegaTableExpandRow: import("react").ForwardRefExoticComponent<JSX.VegaTableExpandRow & Omit<import("react").HTMLAttributes<HTMLVegaTableExpandRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableExpandRowElement>>;
106
+ export declare const VegaTableFoot: import("react").ForwardRefExoticComponent<JSX.VegaTableFoot & Omit<import("react").HTMLAttributes<HTMLVegaTableFootElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableFootElement>>;
107
+ export declare const VegaTableFootCell: import("react").ForwardRefExoticComponent<JSX.VegaTableFootCell & Omit<import("react").HTMLAttributes<HTMLVegaTableFootCellElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableFootCellElement>>;
108
+ export declare const VegaTableFootRow: import("react").ForwardRefExoticComponent<JSX.VegaTableFootRow & Omit<import("react").HTMLAttributes<HTMLVegaTableFootRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableFootRowElement>>;
75
109
  export declare const VegaTableHead: import("react").ForwardRefExoticComponent<JSX.VegaTableHead & Omit<import("react").HTMLAttributes<HTMLVegaTableHeadElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableHeadElement>>;
76
- export declare const VegaTableHeadCell: import("react").ForwardRefExoticComponent<JSX.VegaTableHeadCell & Omit<import("react").HTMLAttributes<HTMLVegaTableHeadCellElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableHeadCellElement>>;
110
+ export declare const VegaTableHeadCell: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaTableHeadCell, Omit<import("react").HTMLAttributes<HTMLVegaTableHeadCellElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableHeadCellElement>>;
77
111
  export declare const VegaTableHeadRow: import("react").ForwardRefExoticComponent<JSX.VegaTableHeadRow & Omit<import("react").HTMLAttributes<HTMLVegaTableHeadRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableHeadRowElement>>;
78
- export declare const VegaTableRow: import("react").ForwardRefExoticComponent<JSX.VegaTableRow & Omit<import("react").HTMLAttributes<HTMLVegaTableRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableRowElement>>;
112
+ export declare const VegaTableRow: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaTableRow, Omit<import("react").HTMLAttributes<HTMLVegaTableRowElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTableRowElement>>;
79
113
  export declare const VegaText: import("react").ForwardRefExoticComponent<JSX.VegaText & Omit<import("react").HTMLAttributes<HTMLVegaTextElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTextElement>>;
80
- export declare const VegaTextarea: import("react").ForwardRefExoticComponent<JSX.VegaTextarea & Omit<import("react").HTMLAttributes<HTMLVegaTextareaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTextareaElement>>;
81
- export declare const VegaTimePicker: import("react").ForwardRefExoticComponent<JSX.VegaTimePicker & Omit<import("react").HTMLAttributes<HTMLVegaTimePickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTimePickerElement>>;
114
+ export declare const VegaTextarea: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaTextarea, Omit<import("react").HTMLAttributes<HTMLVegaTextareaElement>, "style">, "onChange"|"onBlur"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTextareaElement>>;
115
+ export declare const VegaTimePicker: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaTimePicker, Omit<import("react").HTMLAttributes<HTMLVegaTimePickerElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTimePickerElement>>;
82
116
  export declare const VegaTimePickerDropdown: import("react").ForwardRefExoticComponent<JSX.VegaTimePickerDropdown & Omit<import("react").HTMLAttributes<HTMLVegaTimePickerDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTimePickerDropdownElement>>;
83
- export declare const VegaToggleSwitch: import("react").ForwardRefExoticComponent<JSX.VegaToggleSwitch & Omit<import("react").HTMLAttributes<HTMLVegaToggleSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaToggleSwitchElement>>;
117
+ export declare const VegaToggleSwitch: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaToggleSwitch, Omit<import("react").HTMLAttributes<HTMLVegaToggleSwitchElement>, "style">, "onChange"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaToggleSwitchElement>>;
84
118
  export declare const VegaTooltip: import("react").ForwardRefExoticComponent<JSX.VegaTooltip & Omit<import("react").HTMLAttributes<HTMLVegaTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTooltipElement>>;
85
119
  export declare const VegaTooltipContentBox: import("react").ForwardRefExoticComponent<JSX.VegaTooltipContentBox & Omit<import("react").HTMLAttributes<HTMLVegaTooltipContentBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaTooltipContentBoxElement>>;
86
120
  export declare const VegaVirtualScroll: import("react").ForwardRefExoticComponent<JSX.VegaVirtualScroll & Omit<import("react").HTMLAttributes<HTMLVegaVirtualScrollElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaVirtualScrollElement>>;
@@ -13,18 +13,26 @@ export const VegaBackdrop = /*@__PURE__*/ createReactComponent('vega-backdrop');
13
13
  export const VegaBanner = /*@__PURE__*/ createReactComponent('vega-banner');
14
14
  export const VegaBarChart = /*@__PURE__*/ createReactComponent('vega-bar-chart');
15
15
  export const VegaBox = /*@__PURE__*/ createReactComponent('vega-box');
16
+ export const VegaBrandLogo = /*@__PURE__*/ createReactComponent('vega-brand-logo');
16
17
  export const VegaBreadcrumb = /*@__PURE__*/ createReactComponent('vega-breadcrumb');
17
18
  export const VegaButton = /*@__PURE__*/ createReactComponent('vega-button');
18
19
  export const VegaButtonCircle = /*@__PURE__*/ createReactComponent('vega-button-circle');
19
20
  export const VegaButtonGroup = /*@__PURE__*/ createReactComponent('vega-button-group');
20
21
  export const VegaButtonGroupItem = /*@__PURE__*/ createReactComponent('vega-button-group-item');
21
22
  export const VegaButtonLink = /*@__PURE__*/ createReactComponent('vega-button-link');
23
+ export const VegaCalendar = /*@__PURE__*/ createReactComponent('vega-calendar');
24
+ export const VegaCalendarEvent = /*@__PURE__*/ createReactComponent('vega-calendar-event');
25
+ export const VegaCalendarEventPreview = /*@__PURE__*/ createReactComponent('vega-calendar-event-preview');
26
+ export const VegaCalendarEventSlot = /*@__PURE__*/ createReactComponent('vega-calendar-event-slot');
22
27
  export const VegaCard = /*@__PURE__*/ createReactComponent('vega-card');
23
28
  export const VegaCarousel = /*@__PURE__*/ createReactComponent('vega-carousel');
24
29
  export const VegaCheckbox = /*@__PURE__*/ createReactComponent('vega-checkbox');
25
30
  export const VegaCheckboxGroup = /*@__PURE__*/ createReactComponent('vega-checkbox-group');
26
31
  export const VegaChip = /*@__PURE__*/ createReactComponent('vega-chip');
32
+ export const VegaCodeBlock = /*@__PURE__*/ createReactComponent('vega-code-block');
27
33
  export const VegaColorPicker = /*@__PURE__*/ createReactComponent('vega-color-picker');
34
+ export const VegaColorSwatch = /*@__PURE__*/ createReactComponent('vega-color-swatch');
35
+ export const VegaColorSwatchPicker = /*@__PURE__*/ createReactComponent('vega-color-swatch-picker');
28
36
  export const VegaComboBox = /*@__PURE__*/ createReactComponent('vega-combo-box');
29
37
  export const VegaCounterBadge = /*@__PURE__*/ createReactComponent('vega-counter-badge');
30
38
  export const VegaDatePicker = /*@__PURE__*/ createReactComponent('vega-date-picker');
@@ -37,14 +45,20 @@ export const VegaDropdownGroup = /*@__PURE__*/ createReactComponent('vega-dropdo
37
45
  export const VegaDropdownItem = /*@__PURE__*/ createReactComponent('vega-dropdown-item');
38
46
  export const VegaFieldError = /*@__PURE__*/ createReactComponent('vega-field-error');
39
47
  export const VegaFieldLabel = /*@__PURE__*/ createReactComponent('vega-field-label');
48
+ export const VegaFileUploader = /*@__PURE__*/ createReactComponent('vega-file-uploader');
49
+ export const VegaFlagIcon = /*@__PURE__*/ createReactComponent('vega-flag-icon');
40
50
  export const VegaFlex = /*@__PURE__*/ createReactComponent('vega-flex');
41
51
  export const VegaFont = /*@__PURE__*/ createReactComponent('vega-font');
42
52
  export const VegaForm = /*@__PURE__*/ createReactComponent('vega-form');
43
53
  export const VegaGrid = /*@__PURE__*/ createReactComponent('vega-grid');
54
+ export const VegaHint = /*@__PURE__*/ createReactComponent('vega-hint');
44
55
  export const VegaIcon = /*@__PURE__*/ createReactComponent('vega-icon');
45
56
  export const VegaImageUploader = /*@__PURE__*/ createReactComponent('vega-image-uploader');
46
57
  export const VegaInput = /*@__PURE__*/ createReactComponent('vega-input');
47
58
  export const VegaInputCreditCard = /*@__PURE__*/ createReactComponent('vega-input-credit-card');
59
+ export const VegaInputNumeric = /*@__PURE__*/ createReactComponent('vega-input-numeric');
60
+ export const VegaInputPasscode = /*@__PURE__*/ createReactComponent('vega-input-passcode');
61
+ export const VegaInputPhoneNumber = /*@__PURE__*/ createReactComponent('vega-input-phone-number');
48
62
  export const VegaInputRange = /*@__PURE__*/ createReactComponent('vega-input-range');
49
63
  export const VegaInputSelect = /*@__PURE__*/ createReactComponent('vega-input-select');
50
64
  export const VegaItemToggle = /*@__PURE__*/ createReactComponent('vega-item-toggle');
@@ -60,16 +74,34 @@ export const VegaNavCard = /*@__PURE__*/ createReactComponent('vega-nav-card');
60
74
  export const VegaPageNotification = /*@__PURE__*/ createReactComponent('vega-page-notification');
61
75
  export const VegaPageNotificationList = /*@__PURE__*/ createReactComponent('vega-page-notification-list');
62
76
  export const VegaPagination = /*@__PURE__*/ createReactComponent('vega-pagination');
77
+ export const VegaPaginationPageSelectorMobile = /*@__PURE__*/ createReactComponent('vega-pagination-page-selector-mobile');
78
+ export const VegaPaginationPageSizeSelectorMobile = /*@__PURE__*/ createReactComponent('vega-pagination-page-size-selector-mobile');
63
79
  export const VegaPieChart = /*@__PURE__*/ createReactComponent('vega-pie-chart');
64
80
  export const VegaPopover = /*@__PURE__*/ createReactComponent('vega-popover');
65
81
  export const VegaPopoverContentBox = /*@__PURE__*/ createReactComponent('vega-popover-content-box');
66
82
  export const VegaProgressTracker = /*@__PURE__*/ createReactComponent('vega-progress-tracker');
83
+ export const VegaProgressTrackerStep = /*@__PURE__*/ createReactComponent('vega-progress-tracker-step');
67
84
  export const VegaRadio = /*@__PURE__*/ createReactComponent('vega-radio');
68
85
  export const VegaRadioGroup = /*@__PURE__*/ createReactComponent('vega-radio-group');
86
+ export const VegaRichTextContent = /*@__PURE__*/ createReactComponent('vega-rich-text-content');
87
+ export const VegaRichTextEditor = /*@__PURE__*/ createReactComponent('vega-rich-text-editor');
88
+ export const VegaRichTextEditorToolbarButton = /*@__PURE__*/ createReactComponent('vega-rich-text-editor-toolbar-button');
89
+ export const VegaRichTextImageEditor = /*@__PURE__*/ createReactComponent('vega-rich-text-image-editor');
90
+ export const VegaRichTextLinkEditor = /*@__PURE__*/ createReactComponent('vega-rich-text-link-editor');
91
+ export const VegaRichTextTableProperties = /*@__PURE__*/ createReactComponent('vega-rich-text-table-properties');
92
+ export const VegaRichTextTableSelectionWidget = /*@__PURE__*/ createReactComponent('vega-rich-text-table-selection-widget');
93
+ export const VegaRichTextTableSetting = /*@__PURE__*/ createReactComponent('vega-rich-text-table-setting');
69
94
  export const VegaSectionTitle = /*@__PURE__*/ createReactComponent('vega-section-title');
70
95
  export const VegaSegmentControl = /*@__PURE__*/ createReactComponent('vega-segment-control');
96
+ export const VegaSelectionChip = /*@__PURE__*/ createReactComponent('vega-selection-chip');
97
+ export const VegaSelectionChipGroup = /*@__PURE__*/ createReactComponent('vega-selection-chip-group');
71
98
  export const VegaSelectionTile = /*@__PURE__*/ createReactComponent('vega-selection-tile');
72
99
  export const VegaSelectionTileGroup = /*@__PURE__*/ createReactComponent('vega-selection-tile-group');
100
+ export const VegaSidenav = /*@__PURE__*/ createReactComponent('vega-sidenav');
101
+ export const VegaSidenavGroup = /*@__PURE__*/ createReactComponent('vega-sidenav-group');
102
+ export const VegaSidenavLink = /*@__PURE__*/ createReactComponent('vega-sidenav-link');
103
+ export const VegaSignatureCapture = /*@__PURE__*/ createReactComponent('vega-signature-capture');
104
+ export const VegaSkeleton = /*@__PURE__*/ createReactComponent('vega-skeleton');
73
105
  export const VegaSlotContainer = /*@__PURE__*/ createReactComponent('vega-slot-container');
74
106
  export const VegaStepper = /*@__PURE__*/ createReactComponent('vega-stepper');
75
107
  export const VegaTabGroup = /*@__PURE__*/ createReactComponent('vega-tab-group');
@@ -78,6 +110,9 @@ export const VegaTable = /*@__PURE__*/ createReactComponent('vega-table');
78
110
  export const VegaTableBody = /*@__PURE__*/ createReactComponent('vega-table-body');
79
111
  export const VegaTableCell = /*@__PURE__*/ createReactComponent('vega-table-cell');
80
112
  export const VegaTableExpandRow = /*@__PURE__*/ createReactComponent('vega-table-expand-row');
113
+ export const VegaTableFoot = /*@__PURE__*/ createReactComponent('vega-table-foot');
114
+ export const VegaTableFootCell = /*@__PURE__*/ createReactComponent('vega-table-foot-cell');
115
+ export const VegaTableFootRow = /*@__PURE__*/ createReactComponent('vega-table-foot-row');
81
116
  export const VegaTableHead = /*@__PURE__*/ createReactComponent('vega-table-head');
82
117
  export const VegaTableHeadCell = /*@__PURE__*/ createReactComponent('vega-table-head-cell');
83
118
  export const VegaTableHeadRow = /*@__PURE__*/ createReactComponent('vega-table-head-row');
@@ -0,0 +1,6 @@
1
+ declare global {
2
+ type VegaReactComponentWithNativeEvent<T extends unknown, P extends unknown, V extends keyof T & keyof P> = Omit<T, V> & Omit<P, V> & {
3
+ [Property in V]?: T[Property] | P[Property];
4
+ };
5
+ }
6
+ export {};
package/dist/global.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from "./components";
2
+ export { VegaPopover } from "./overrides/vega-popover";
2
3
  export * from "./hooks/use-vega-ref";
4
+ export * from "./global";
package/dist/index.js CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from "./components";
2
+ export { VegaPopover } from "./overrides/vega-popover";
2
3
  export * from "./hooks/use-vega-ref";
4
+ export * from "./global";
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { StencilReactExternalProps } from "../../react-component-lib/utils";
3
+ import type { JSX } from "@globalpayments/vega";
4
+ declare type VegaPopoverProps = React.PropsWithChildren<StencilReactExternalProps<JSX.VegaPopover, HTMLVegaPopoverElement>>;
5
+ declare type VegaPopoverComponent = React.ForwardRefExoticComponent<React.PropsWithoutRef<VegaPopoverProps> & React.RefAttributes<HTMLVegaPopoverElement>>;
6
+ export declare const VegaPopover: VegaPopoverComponent;
7
+ export {};
@@ -0,0 +1,151 @@
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 { createReactComponent } from "../../react-component-lib";
15
+ import { setRef, } from "../../react-component-lib/utils";
16
+ const VegaPopoverBase = createReactComponent("vega-popover");
17
+ /** Splits children into `[slot="popover"]` overlay nodes and all others (trigger etc.). */
18
+ function splitChildren(children) {
19
+ const popover = [];
20
+ const other = [];
21
+ React.Children.forEach(children, (child) => {
22
+ if (!React.isValidElement(child)) {
23
+ other.push(child);
24
+ return;
25
+ }
26
+ const slot = child.props
27
+ .slot;
28
+ (slot === "popover" ? popover : other).push(child);
29
+ });
30
+ return [popover, other];
31
+ }
32
+ class VegaPopoverInner extends React.PureComponent {
33
+ constructor(props) {
34
+ super(props);
35
+ this.host = null;
36
+ this.popoverMount = null;
37
+ this.contentBox = null;
38
+ this.contentBoxObserver = null;
39
+ this.isUnmounting = false;
40
+ this.disconnectContentBoxObserver = () => {
41
+ if (this.contentBoxObserver) {
42
+ this.contentBoxObserver.disconnect();
43
+ this.contentBoxObserver = null;
44
+ }
45
+ };
46
+ this.syncContentBox = () => {
47
+ var _a, _b, _c;
48
+ const nextContentBox = (_c = (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("vega-popover-content-box")) !== null && _c !== void 0 ? _c : null;
49
+ if (this.contentBox === nextContentBox) {
50
+ this.ensurePopoverMount();
51
+ return;
52
+ }
53
+ this.contentBox = nextContentBox;
54
+ this.ensurePopoverMount();
55
+ };
56
+ this.ensurePopoverMount = () => {
57
+ if (!this.contentBox || !this.popoverMount) {
58
+ return;
59
+ }
60
+ if (this.popoverMount.parentElement !== this.contentBox) {
61
+ this.contentBox.appendChild(this.popoverMount);
62
+ }
63
+ };
64
+ this.attachContentBoxObserver = (host) => {
65
+ this.disconnectContentBoxObserver();
66
+ if (typeof MutationObserver === "undefined" || !host.shadowRoot) {
67
+ return;
68
+ }
69
+ this.contentBoxObserver = new MutationObserver(() => {
70
+ this.syncContentBox();
71
+ });
72
+ this.contentBoxObserver.observe(host.shadowRoot, {
73
+ childList: true,
74
+ subtree: true,
75
+ });
76
+ };
77
+ this.connectHost = (host) => {
78
+ // Reset the unmounting flag so re-connections work after React 18 StrictMode
79
+ // simulates unmount+remount on the same class instance.
80
+ this.isUnmounting = false;
81
+ // Re-create popoverMount if componentWillUnmount destroyed it (StrictMode remount).
82
+ let needsRender = false;
83
+ if (!this.popoverMount && typeof document !== "undefined") {
84
+ this.popoverMount = document.createElement("div");
85
+ this.popoverMount.setAttribute("slot", "popover");
86
+ needsRender = true;
87
+ }
88
+ const ready = typeof host.componentOnReady === "function"
89
+ ? host.componentOnReady()
90
+ : Promise.resolve();
91
+ void ready.then(() => {
92
+ if (this.host !== host || this.isUnmounting) {
93
+ return;
94
+ }
95
+ this.syncContentBox();
96
+ this.attachContentBoxObserver(host);
97
+ // If popoverMount was recreated we need a new render pass so the portal
98
+ // picks up the fresh mount node.
99
+ if (needsRender) {
100
+ this.forceUpdate();
101
+ }
102
+ });
103
+ };
104
+ this.setHostRef = (el) => {
105
+ const { forwardedRef } = this.props;
106
+ setRef(forwardedRef, el);
107
+ if (this.host === el) {
108
+ return;
109
+ }
110
+ if (el === null && this.host !== null && !this.isUnmounting) {
111
+ return;
112
+ }
113
+ if (this.host && el !== this.host) {
114
+ this.disconnectContentBoxObserver();
115
+ }
116
+ this.host = el;
117
+ if (el) {
118
+ this.connectHost(el);
119
+ }
120
+ else {
121
+ this.contentBox = null;
122
+ }
123
+ };
124
+ if (typeof document !== "undefined") {
125
+ this.popoverMount = document.createElement("div");
126
+ this.popoverMount.setAttribute("slot", "popover");
127
+ }
128
+ }
129
+ componentWillUnmount() {
130
+ var _a;
131
+ this.isUnmounting = true;
132
+ this.disconnectContentBoxObserver();
133
+ if ((_a = this.popoverMount) === null || _a === void 0 ? void 0 : _a.parentElement) {
134
+ this.popoverMount.parentElement.removeChild(this.popoverMount);
135
+ }
136
+ this.host = null;
137
+ this.popoverMount = null;
138
+ this.contentBox = null;
139
+ }
140
+ render() {
141
+ const _a = this.props, { children, forwardedRef } = _a, restProps = __rest(_a, ["children", "forwardedRef"]);
142
+ const [popoverChildren, otherChildren] = splitChildren(children);
143
+ return (React.createElement(React.Fragment, null,
144
+ React.createElement(VegaPopoverBase, Object.assign({}, restProps, { ref: this.setHostRef }), otherChildren),
145
+ popoverChildren.length > 0 &&
146
+ this.popoverMount &&
147
+ ReactDOM.createPortal(popoverChildren, this.popoverMount)));
148
+ }
149
+ }
150
+ export const VegaPopover = React.forwardRef((props, ref) => React.createElement(VegaPopoverInner, Object.assign({}, props, { forwardedRef: ref })));
151
+ VegaPopover.displayName = "VegaPopover";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * NOTE: This test file is for vega-popover React wrapper.
3
+ * It validates portal wrapping and slot-based child routing.
4
+ * Tests use the real VegaPopover component with mocked Shadow DOM support.
5
+ */
6
+ import "jest";
@@ -0,0 +1,108 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ /**
11
+ * NOTE: This test file is for vega-popover React wrapper.
12
+ * It validates portal wrapping and slot-based child routing.
13
+ * Tests use the real VegaPopover component with mocked Shadow DOM support.
14
+ */
15
+ import "jest";
16
+ import React from "react";
17
+ import ReactDOM from "react-dom";
18
+ import { VegaPopover } from "../index";
19
+ // @ts-ignore - @testing-library/react is installed and resolved by jest, but TypeScript LSP may not find it
20
+ import { render, waitFor } from "@testing-library/react";
21
+ jest.mock("@globalpayments/vega", () => ({
22
+ FeatureFlag: {
23
+ isEnabled: () => false,
24
+ },
25
+ }), { virtual: true });
26
+ /**
27
+ * Helper to inject a mocked Shadow DOM structure into an element.
28
+ * Used for jsdom compatibility where native Shadow DOM is not supported.
29
+ */
30
+ function injectShadowRootMock(element) {
31
+ if (!element.shadowRoot) {
32
+ const contentBox = document.createElement("vega-popover-content-box");
33
+ Object.defineProperty(element, "shadowRoot", {
34
+ configurable: true,
35
+ value: {
36
+ querySelector: (selector) => {
37
+ return selector === "vega-popover-content-box" ? contentBox : null;
38
+ },
39
+ },
40
+ });
41
+ element.componentOnReady = () => Promise.resolve(element);
42
+ }
43
+ return element;
44
+ }
45
+ describe("VegaPopover (React portal wrapper)", () => {
46
+ beforeEach(() => {
47
+ // Mock createElement to inject shadowRoot on vega-popover elements
48
+ const originalCreateElement = document.createElement;
49
+ jest
50
+ .spyOn(document, "createElement")
51
+ .mockImplementation(function (tagName, ...args) {
52
+ const element = originalCreateElement.call(document, tagName, ...args);
53
+ if (tagName.toLowerCase() === "vega-popover") {
54
+ injectShadowRootMock(element);
55
+ }
56
+ return element;
57
+ });
58
+ });
59
+ afterEach(() => {
60
+ jest.restoreAllMocks();
61
+ document.body.innerHTML = "";
62
+ });
63
+ test("creates host and content-box portals for trigger and popover content", () => __awaiter(void 0, void 0, void 0, function* () {
64
+ var _a;
65
+ const createPortalSpy = jest.spyOn(ReactDOM, "createPortal");
66
+ createPortalSpy.mockImplementation((children) => children);
67
+ render(React.createElement(VegaPopover, { placement: "top", alignment: "start" },
68
+ React.createElement("button", { slot: "popover-content" }, "Click Me"),
69
+ React.createElement("div", { slot: "popover" }, "Popover Content")));
70
+ const host = document.querySelector("vega-popover");
71
+ const contentBox = (_a = host === null || host === void 0 ? void 0 : host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("vega-popover-content-box");
72
+ expect(host).toBeTruthy();
73
+ expect(contentBox).toBeTruthy();
74
+ yield waitFor(() => {
75
+ expect(createPortalSpy).toHaveBeenCalled();
76
+ const containers = createPortalSpy.mock.calls.map((call) => call[1]);
77
+ expect(containers).toContain(host);
78
+ expect(containers).toContain(contentBox);
79
+ });
80
+ }));
81
+ test("routes children by slot to the expected portal container", () => __awaiter(void 0, void 0, void 0, function* () {
82
+ var _b;
83
+ const createPortalSpy = jest.spyOn(ReactDOM, "createPortal");
84
+ createPortalSpy.mockImplementation((children) => children);
85
+ render(React.createElement(VegaPopover, { placement: "top", alignment: "start" },
86
+ React.createElement("button", { slot: "popover-content" }, "Trigger Button"),
87
+ React.createElement("div", { slot: "popover" }, "Popover Body")));
88
+ const host = document.querySelector("vega-popover");
89
+ const contentBox = (_b = host === null || host === void 0 ? void 0 : host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector("vega-popover-content-box");
90
+ yield waitFor(() => {
91
+ expect(createPortalSpy.mock.calls.length).toBeGreaterThanOrEqual(2);
92
+ });
93
+ const hostPortalCall = createPortalSpy.mock.calls.find((call) => call[1] === host);
94
+ const contentPortalCall = createPortalSpy.mock.calls.find((call) => call[1] === contentBox);
95
+ expect(hostPortalCall).toBeTruthy();
96
+ expect(contentPortalCall).toBeTruthy();
97
+ const hostChildren = hostPortalCall
98
+ ? React.Children.toArray(hostPortalCall[0])
99
+ : [];
100
+ const contentChildren = contentPortalCall
101
+ ? React.Children.toArray(contentPortalCall[0])
102
+ : [];
103
+ if (hostChildren[0] && contentChildren[0]) {
104
+ expect(hostChildren[0].props.children).toBe("Trigger Button");
105
+ expect(contentChildren[0].props.children).toBe("Popover Body");
106
+ }
107
+ }));
108
+ });
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@globalpayments/vega-react",
3
+ "version": "2.85.0",
4
+ "description": "React specific wrapper for @globalpayments/vega",
5
+ "license": "UNLICENSED",
6
+ "sideEffects": false,
7
+ "main": "./index.js",
8
+ "module": "./index.js",
9
+ "types": "./index.d.ts",
10
+ "dependencies": {
11
+ "@globalpayments/vega": "2.85.0"
12
+ },
13
+ "peerDependencies": {
14
+ "react": ">=16.7.0",
15
+ "react-dom": ">=16.7.0"
16
+ }
17
+ }
@@ -1,8 +1,21 @@
1
1
  import type { RenderResult } from "@testing-library/react";
2
2
  export declare type Nullable<T> = T | undefined | null;
3
+ /**
4
+ * @deprecated This utility is deprecated. Use `waitForVega` from `@heartlandone/vega-testing-library` directly.
5
+ * The `vega-testing-library` package supports Jest fake timers and does not require a `RenderResult` argument.
6
+ * Install it separately: `npm install @heartlandone/vega-testing-library`
7
+ */
3
8
  export declare function waitForVegaReady(renderResult: RenderResult, delay?: number): Promise<RenderResult>;
9
+ /**
10
+ * @deprecated This type is deprecated. Use `MockedResizeObserverController` from `@heartlandone/vega-testing-library` directly.
11
+ * Install it separately: `npm install @heartlandone/vega-testing-library`
12
+ */
4
13
  export declare type MockedResizeObserverController = {
5
14
  hide: (selector: string, container?: HTMLElement) => void;
6
15
  show: (selector: string, container?: HTMLElement) => void;
7
16
  };
17
+ /**
18
+ * @deprecated This function is deprecated. Use `mockResizeObserver` from `@heartlandone/vega-testing-library` directly.
19
+ * Install it separately: `npm install @heartlandone/vega-testing-library`
20
+ */
8
21
  export declare function mockResizeObserver(): MockedResizeObserverController;
@@ -8,6 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { waitForVega } from "@globalpayments/vega";
11
+ /**
12
+ * @deprecated This utility is deprecated. Use `waitForVega` from `@heartlandone/vega-testing-library` directly.
13
+ * The `vega-testing-library` package supports Jest fake timers and does not require a `RenderResult` argument.
14
+ * Install it separately: `npm install @heartlandone/vega-testing-library`
15
+ */
11
16
  export function waitForVegaReady(renderResult, delay = 300) {
12
17
  return __awaiter(this, void 0, void 0, function* () {
13
18
  yield waitForVega();
@@ -22,6 +27,10 @@ export function waitForVegaReady(renderResult, delay = 300) {
22
27
  return renderResult;
23
28
  });
24
29
  }
30
+ /**
31
+ * @deprecated This function is deprecated. Use `mockResizeObserver` from `@heartlandone/vega-testing-library` directly.
32
+ * Install it separately: `npm install @heartlandone/vega-testing-library`
33
+ */
25
34
  export function mockResizeObserver() {
26
35
  const resizeObserverElementMap = new Map();
27
36
  global.ResizeObserver = class {
@@ -0,0 +1,11 @@
1
+ /**
2
+ * NOTE: This utility is only for **SPEC** test cases.
3
+ *
4
+ * Mocked MutationObserver for testing in jsdom environment.
5
+ * Provides observe, disconnect, and trigger methods for controlling
6
+ * mutation observations in tests.
7
+ *
8
+ * @callback MutationCallback - The callback function triggered when mutations occur
9
+ * @returns {jest.Mock} - A Jest mock function constructor for MutationObserver
10
+ */
11
+ export declare const MockedMutationObserver: jest.Mock;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * NOTE: This utility is only for **SPEC** test cases.
3
+ *
4
+ * Mocked MutationObserver for testing in jsdom environment.
5
+ * Provides observe, disconnect, and trigger methods for controlling
6
+ * mutation observations in tests.
7
+ *
8
+ * @callback MutationCallback - The callback function triggered when mutations occur
9
+ * @returns {jest.Mock} - A Jest mock function constructor for MutationObserver
10
+ */
11
+ export const MockedMutationObserver = jest.fn(function MutationObserver(callback) {
12
+ this.observe = jest.fn();
13
+ this.disconnect = jest.fn();
14
+ /**
15
+ * Mock the trigger for spec test to trigger observer callback
16
+ *
17
+ * @param {MutationRecord[]} mutations - mocked MutationObserver entries
18
+ */
19
+ this.trigger = (mutations) => {
20
+ callback(mutations, this);
21
+ };
22
+ });
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@globalpayments/vega-react",
3
3
  "sideEffects": false,
4
- "version": "2.13.0",
4
+ "version": "2.86.0",
5
5
  "description": "React specific wrapper for @globalpayments/vega",
6
+ "license": "UNLICENSED",
6
7
  "scripts": {
7
8
  "stencil-postbuild": "node ./src/scripts/stencil-post-build-script.js",
8
- "build": "npm run clean && npm run compile",
9
+ "build": "npm run clean && npm run compile && npm run override-type && npm run create-dist-package-json",
9
10
  "clean": "rm -rf dist",
10
11
  "compile": "npm run tsc",
11
12
  "tsc": "tsc -p .",
@@ -13,7 +14,11 @@
13
14
  "release": "npm run build",
14
15
  "publish:patch": "node ../scripts/publish-version.js patch",
15
16
  "publish:minor": "node ../scripts/publish-version.js minor",
16
- "publish:major": "node ../scripts/publish-version.js major"
17
+ "publish:major": "node ../scripts/publish-version.js major",
18
+ "override-type": "node ./src/scripts/override-component-native-event-type.js",
19
+ "create-dist-package-json": "node ./src/scripts/create-dist-package-json.js",
20
+ "test": "jest",
21
+ "pr-codesandbox-auto": "node ../scripts/pr-codesandbox-auto/change-package-name.js"
17
22
  },
18
23
  "main": "./dist/index.js",
19
24
  "module": "./dist/index.js",
@@ -35,10 +40,11 @@
35
40
  "np": "^3.1.0",
36
41
  "react": "^16.7.0",
37
42
  "react-dom": "^16.7.0",
43
+ "ts-jest": "^23.10.5",
38
44
  "typescript": "^4.0.0"
39
45
  },
40
46
  "dependencies": {
41
- "@globalpayments/vega": "2.13.0"
47
+ "@globalpayments/vega": "2.86.0"
42
48
  },
43
49
  "peerDependencies": {
44
50
  "react": ">=16.7.0",
@@ -50,6 +56,14 @@
50
56
  "testPathIgnorePatterns": [
51
57
  "node_modules",
52
58
  "dist"
53
- ]
59
+ ],
60
+ "globals": {
61
+ "ts-jest": {
62
+ "tsConfig": "tsconfig.test.json"
63
+ }
64
+ }
65
+ },
66
+ "resolutions": {
67
+ "yargs-parser": "^21.1.1"
54
68
  }
55
69
  }