@heartlandone/vega-react 2.3.0 → 2.4.0-RTE-preview
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/dist/components.d.ts +55 -30
- package/dist/components.js +25 -0
- package/dist/global.d.ts +6 -0
- package/dist/global.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/react-component-lib/utils/attachProps.js +6 -2
- package/dist/testing/utils.js +2 -11
- package/package.json +7 -5
package/dist/components.d.ts
CHANGED
|
@@ -2,41 +2,52 @@
|
|
|
2
2
|
import type { JSX } from '@heartlandone/vega';
|
|
3
3
|
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
4
|
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
|
|
5
|
+
export declare const VegaAppHeaderButton: import("react").ForwardRefExoticComponent<VegaReactComponentWithNativeEvent<JSX.VegaAppHeaderButton, Omit<import("react").HTMLAttributes<HTMLVegaAppHeaderButtonElement>, "style">, "onClick"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaAppHeaderButtonElement>>;
|
|
6
6
|
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
|
+
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>>;
|
|
7
8
|
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>>;
|
|
8
9
|
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>>;
|
|
9
|
-
export declare const VegaBreadcrumb: import("react").ForwardRefExoticComponent<JSX.VegaBreadcrumb
|
|
10
|
-
export declare const VegaButton: import("react").ForwardRefExoticComponent<JSX.VegaButton
|
|
11
|
-
export declare const VegaButtonCircle: import("react").ForwardRefExoticComponent<JSX.VegaButtonCircle
|
|
12
|
-
export declare const
|
|
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
|
+
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<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 VegaCalendarEventSlot: import("react").ForwardRefExoticComponent<JSX.VegaCalendarEventSlot & Omit<import("react").HTMLAttributes<HTMLVegaCalendarEventSlotElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVegaCalendarEventSlotElement>>;
|
|
13
19
|
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>>;
|
|
14
20
|
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>>;
|
|
15
|
-
export declare const VegaCheckbox: import("react").ForwardRefExoticComponent<JSX.VegaCheckbox
|
|
16
|
-
export declare const VegaCheckboxGroup: import("react").ForwardRefExoticComponent<JSX.VegaCheckboxGroup
|
|
17
|
-
export declare const VegaChip: import("react").ForwardRefExoticComponent<JSX.VegaChip
|
|
18
|
-
export declare const VegaColorPicker: import("react").ForwardRefExoticComponent<JSX.VegaColorPicker
|
|
19
|
-
export declare const VegaComboBox: import("react").ForwardRefExoticComponent<JSX.VegaComboBox
|
|
21
|
+
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>>;
|
|
22
|
+
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>>;
|
|
23
|
+
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>>;
|
|
24
|
+
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>>;
|
|
25
|
+
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>>;
|
|
20
26
|
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>>;
|
|
21
|
-
export declare const VegaDatePicker: import("react").ForwardRefExoticComponent<JSX.VegaDatePicker
|
|
27
|
+
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>>;
|
|
22
28
|
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>>;
|
|
23
29
|
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>>;
|
|
30
|
+
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>>;
|
|
24
31
|
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>>;
|
|
25
32
|
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>>;
|
|
26
33
|
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>>;
|
|
27
|
-
export declare const VegaDropdownItem: import("react").ForwardRefExoticComponent<JSX.VegaDropdownItem
|
|
34
|
+
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>>;
|
|
28
35
|
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>>;
|
|
29
|
-
export declare const VegaFieldLabel: import("react").ForwardRefExoticComponent<JSX.VegaFieldLabel
|
|
36
|
+
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>>;
|
|
37
|
+
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>>;
|
|
30
38
|
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>>;
|
|
31
39
|
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>>;
|
|
32
40
|
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>>;
|
|
33
41
|
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>>;
|
|
42
|
+
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>>;
|
|
34
43
|
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>>;
|
|
35
|
-
export declare const VegaImageUploader: import("react").ForwardRefExoticComponent<JSX.VegaImageUploader
|
|
36
|
-
export declare const VegaInput: import("react").ForwardRefExoticComponent<JSX.VegaInput
|
|
37
|
-
export declare const VegaInputCreditCard: import("react").ForwardRefExoticComponent<JSX.VegaInputCreditCard
|
|
38
|
-
export declare const
|
|
39
|
-
export declare const
|
|
44
|
+
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>>;
|
|
45
|
+
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>>;
|
|
46
|
+
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>>;
|
|
47
|
+
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>>;
|
|
48
|
+
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>>;
|
|
49
|
+
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>>;
|
|
50
|
+
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>>;
|
|
40
51
|
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>>;
|
|
41
52
|
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>>;
|
|
42
53
|
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>>;
|
|
@@ -49,32 +60,46 @@ export declare const VegaModal: import("react").ForwardRefExoticComponent<JSX.Ve
|
|
|
49
60
|
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>>;
|
|
50
61
|
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>>;
|
|
51
62
|
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>>;
|
|
52
|
-
export declare const VegaPagination: import("react").ForwardRefExoticComponent<JSX.VegaPagination
|
|
63
|
+
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>>;
|
|
53
64
|
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>>;
|
|
54
65
|
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>>;
|
|
55
66
|
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>>;
|
|
56
67
|
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>>;
|
|
57
|
-
export declare const VegaRadio: import("react").ForwardRefExoticComponent<JSX.VegaRadio
|
|
58
|
-
export declare const VegaRadioGroup: import("react").ForwardRefExoticComponent<JSX.VegaRadioGroup
|
|
68
|
+
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>>;
|
|
69
|
+
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>>;
|
|
70
|
+
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>>;
|
|
71
|
+
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>>;
|
|
72
|
+
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>>;
|
|
73
|
+
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>>;
|
|
74
|
+
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>>;
|
|
59
75
|
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>>;
|
|
60
|
-
export declare const VegaSegmentControl: import("react").ForwardRefExoticComponent<JSX.VegaSegmentControl
|
|
76
|
+
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>>;
|
|
77
|
+
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>>;
|
|
78
|
+
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>>;
|
|
79
|
+
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>>;
|
|
80
|
+
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>>;
|
|
81
|
+
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>>;
|
|
82
|
+
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>>;
|
|
83
|
+
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>>;
|
|
84
|
+
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>>;
|
|
85
|
+
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>>;
|
|
61
86
|
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>>;
|
|
62
|
-
export declare const VegaStepper: import("react").ForwardRefExoticComponent<JSX.VegaStepper
|
|
63
|
-
export declare const VegaTabGroup: import("react").ForwardRefExoticComponent<JSX.VegaTabGroup
|
|
87
|
+
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>>;
|
|
88
|
+
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>>;
|
|
64
89
|
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>>;
|
|
65
|
-
export declare const VegaTable: import("react").ForwardRefExoticComponent<JSX.VegaTable
|
|
90
|
+
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>>;
|
|
66
91
|
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>>;
|
|
67
92
|
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>>;
|
|
68
93
|
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>>;
|
|
69
94
|
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>>;
|
|
70
|
-
export declare const VegaTableHeadCell: import("react").ForwardRefExoticComponent<JSX.VegaTableHeadCell
|
|
95
|
+
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>>;
|
|
71
96
|
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>>;
|
|
72
|
-
export declare const VegaTableRow: import("react").ForwardRefExoticComponent<JSX.VegaTableRow
|
|
97
|
+
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>>;
|
|
73
98
|
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>>;
|
|
74
|
-
export declare const VegaTextarea: import("react").ForwardRefExoticComponent<JSX.VegaTextarea
|
|
75
|
-
export declare const VegaTimePicker: import("react").ForwardRefExoticComponent<JSX.VegaTimePicker
|
|
99
|
+
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>>;
|
|
100
|
+
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>>;
|
|
76
101
|
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>>;
|
|
77
|
-
export declare const VegaToggleSwitch: import("react").ForwardRefExoticComponent<JSX.VegaToggleSwitch
|
|
102
|
+
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>>;
|
|
78
103
|
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>>;
|
|
79
104
|
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>>;
|
|
80
105
|
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>>;
|
package/dist/components.js
CHANGED
|
@@ -10,12 +10,18 @@ export const VegaAccordion = /*@__PURE__*/ createReactComponent('vega-accordion'
|
|
|
10
10
|
export const VegaAppFooter = /*@__PURE__*/ createReactComponent('vega-app-footer');
|
|
11
11
|
export const VegaAppHeaderButton = /*@__PURE__*/ createReactComponent('vega-app-header-button');
|
|
12
12
|
export const VegaBackdrop = /*@__PURE__*/ createReactComponent('vega-backdrop');
|
|
13
|
+
export const VegaBanner = /*@__PURE__*/ createReactComponent('vega-banner');
|
|
13
14
|
export const VegaBarChart = /*@__PURE__*/ createReactComponent('vega-bar-chart');
|
|
14
15
|
export const VegaBox = /*@__PURE__*/ createReactComponent('vega-box');
|
|
15
16
|
export const VegaBreadcrumb = /*@__PURE__*/ createReactComponent('vega-breadcrumb');
|
|
16
17
|
export const VegaButton = /*@__PURE__*/ createReactComponent('vega-button');
|
|
17
18
|
export const VegaButtonCircle = /*@__PURE__*/ createReactComponent('vega-button-circle');
|
|
19
|
+
export const VegaButtonGroup = /*@__PURE__*/ createReactComponent('vega-button-group');
|
|
20
|
+
export const VegaButtonGroupItem = /*@__PURE__*/ createReactComponent('vega-button-group-item');
|
|
18
21
|
export const VegaButtonLink = /*@__PURE__*/ createReactComponent('vega-button-link');
|
|
22
|
+
export const VegaCalendar = /*@__PURE__*/ createReactComponent('vega-calendar');
|
|
23
|
+
export const VegaCalendarEvent = /*@__PURE__*/ createReactComponent('vega-calendar-event');
|
|
24
|
+
export const VegaCalendarEventSlot = /*@__PURE__*/ createReactComponent('vega-calendar-event-slot');
|
|
19
25
|
export const VegaCard = /*@__PURE__*/ createReactComponent('vega-card');
|
|
20
26
|
export const VegaCarousel = /*@__PURE__*/ createReactComponent('vega-carousel');
|
|
21
27
|
export const VegaCheckbox = /*@__PURE__*/ createReactComponent('vega-checkbox');
|
|
@@ -27,20 +33,25 @@ export const VegaCounterBadge = /*@__PURE__*/ createReactComponent('vega-counter
|
|
|
27
33
|
export const VegaDatePicker = /*@__PURE__*/ createReactComponent('vega-date-picker');
|
|
28
34
|
export const VegaDatePickerCalendar = /*@__PURE__*/ createReactComponent('vega-date-picker-calendar');
|
|
29
35
|
export const VegaDialog = /*@__PURE__*/ createReactComponent('vega-dialog');
|
|
36
|
+
export const VegaDivider = /*@__PURE__*/ createReactComponent('vega-divider');
|
|
30
37
|
export const VegaDropdown = /*@__PURE__*/ createReactComponent('vega-dropdown');
|
|
31
38
|
export const VegaDropdownContentBox = /*@__PURE__*/ createReactComponent('vega-dropdown-content-box');
|
|
32
39
|
export const VegaDropdownGroup = /*@__PURE__*/ createReactComponent('vega-dropdown-group');
|
|
33
40
|
export const VegaDropdownItem = /*@__PURE__*/ createReactComponent('vega-dropdown-item');
|
|
34
41
|
export const VegaFieldError = /*@__PURE__*/ createReactComponent('vega-field-error');
|
|
35
42
|
export const VegaFieldLabel = /*@__PURE__*/ createReactComponent('vega-field-label');
|
|
43
|
+
export const VegaFileUploader = /*@__PURE__*/ createReactComponent('vega-file-uploader');
|
|
36
44
|
export const VegaFlex = /*@__PURE__*/ createReactComponent('vega-flex');
|
|
37
45
|
export const VegaFont = /*@__PURE__*/ createReactComponent('vega-font');
|
|
38
46
|
export const VegaForm = /*@__PURE__*/ createReactComponent('vega-form');
|
|
39
47
|
export const VegaGrid = /*@__PURE__*/ createReactComponent('vega-grid');
|
|
48
|
+
export const VegaHint = /*@__PURE__*/ createReactComponent('vega-hint');
|
|
40
49
|
export const VegaIcon = /*@__PURE__*/ createReactComponent('vega-icon');
|
|
41
50
|
export const VegaImageUploader = /*@__PURE__*/ createReactComponent('vega-image-uploader');
|
|
42
51
|
export const VegaInput = /*@__PURE__*/ createReactComponent('vega-input');
|
|
43
52
|
export const VegaInputCreditCard = /*@__PURE__*/ createReactComponent('vega-input-credit-card');
|
|
53
|
+
export const VegaInputNumeric = /*@__PURE__*/ createReactComponent('vega-input-numeric');
|
|
54
|
+
export const VegaInputPhoneNumber = /*@__PURE__*/ createReactComponent('vega-input-phone-number');
|
|
44
55
|
export const VegaInputRange = /*@__PURE__*/ createReactComponent('vega-input-range');
|
|
45
56
|
export const VegaInputSelect = /*@__PURE__*/ createReactComponent('vega-input-select');
|
|
46
57
|
export const VegaItemToggle = /*@__PURE__*/ createReactComponent('vega-item-toggle');
|
|
@@ -62,8 +73,22 @@ export const VegaPopoverContentBox = /*@__PURE__*/ createReactComponent('vega-po
|
|
|
62
73
|
export const VegaProgressTracker = /*@__PURE__*/ createReactComponent('vega-progress-tracker');
|
|
63
74
|
export const VegaRadio = /*@__PURE__*/ createReactComponent('vega-radio');
|
|
64
75
|
export const VegaRadioGroup = /*@__PURE__*/ createReactComponent('vega-radio-group');
|
|
76
|
+
export const VegaRichTextContent = /*@__PURE__*/ createReactComponent('vega-rich-text-content');
|
|
77
|
+
export const VegaRichTextEditor = /*@__PURE__*/ createReactComponent('vega-rich-text-editor');
|
|
78
|
+
export const VegaRichTextEditorToolbarButton = /*@__PURE__*/ createReactComponent('vega-rich-text-editor-toolbar-button');
|
|
79
|
+
export const VegaRichTextImageEditor = /*@__PURE__*/ createReactComponent('vega-rich-text-image-editor');
|
|
80
|
+
export const VegaRichTextLinkEditor = /*@__PURE__*/ createReactComponent('vega-rich-text-link-editor');
|
|
65
81
|
export const VegaSectionTitle = /*@__PURE__*/ createReactComponent('vega-section-title');
|
|
66
82
|
export const VegaSegmentControl = /*@__PURE__*/ createReactComponent('vega-segment-control');
|
|
83
|
+
export const VegaSelectionChip = /*@__PURE__*/ createReactComponent('vega-selection-chip');
|
|
84
|
+
export const VegaSelectionChipGroup = /*@__PURE__*/ createReactComponent('vega-selection-chip-group');
|
|
85
|
+
export const VegaSelectionTile = /*@__PURE__*/ createReactComponent('vega-selection-tile');
|
|
86
|
+
export const VegaSelectionTileGroup = /*@__PURE__*/ createReactComponent('vega-selection-tile-group');
|
|
87
|
+
export const VegaSidenav = /*@__PURE__*/ createReactComponent('vega-sidenav');
|
|
88
|
+
export const VegaSidenavGroup = /*@__PURE__*/ createReactComponent('vega-sidenav-group');
|
|
89
|
+
export const VegaSidenavLink = /*@__PURE__*/ createReactComponent('vega-sidenav-link');
|
|
90
|
+
export const VegaSignatureCapture = /*@__PURE__*/ createReactComponent('vega-signature-capture');
|
|
91
|
+
export const VegaSkeleton = /*@__PURE__*/ createReactComponent('vega-skeleton');
|
|
67
92
|
export const VegaSlotContainer = /*@__PURE__*/ createReactComponent('vega-slot-container');
|
|
68
93
|
export const VegaStepper = /*@__PURE__*/ createReactComponent('vega-stepper');
|
|
69
94
|
export const VegaTabGroup = /*@__PURE__*/ createReactComponent('vega-tab-group');
|
package/dist/global.d.ts
ADDED
package/dist/global.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -112,8 +112,12 @@ const arrayToMap = (arr) => {
|
|
|
112
112
|
function shouldAddSyncEventFallback(eventName) {
|
|
113
113
|
// onChange handle not works for custom component before react 19
|
|
114
114
|
// https://github.com/facebook/react/issues/22888
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
// TODO: we should support a general method to handle those issues.
|
|
116
|
+
// https://gethired.atlassian.net/browse/VD-3818
|
|
117
|
+
if ((eventName === "Change" &&
|
|
118
|
+
FeatureFlag.isEnabled("VEGA_REACT.ENABLE_ON_CHANGE_HANDLE_UNDER_LOW_VERSION")) ||
|
|
119
|
+
(eventName === "Close" &&
|
|
120
|
+
FeatureFlag.isEnabled("VEGA_REACT.ENABLE_ON_CLOSE_HANDLE_UNDER_LOW_VERSION"))) {
|
|
117
121
|
return true;
|
|
118
122
|
}
|
|
119
123
|
return false;
|
package/dist/testing/utils.js
CHANGED
|
@@ -7,19 +7,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { waitForVega } from "@heartlandone/vega";
|
|
11
11
|
export function waitForVegaReady(renderResult, delay = 300) {
|
|
12
12
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13
|
-
yield
|
|
14
|
-
renderResult.baseElement
|
|
15
|
-
.querySelectorAll("*:not(.hydrated)")
|
|
16
|
-
// eslint-disable-next-line unicorn/no-array-for-each
|
|
17
|
-
.forEach((element) => {
|
|
18
|
-
if (element.tagName.startsWith("VEGA")) {
|
|
19
|
-
throw new Error("Vega component is not rendered yet, retrying...");
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
});
|
|
13
|
+
yield waitForVega();
|
|
23
14
|
/*
|
|
24
15
|
* The following code is added to load the vega component, and the attribute value is set after each component is loaded.
|
|
25
16
|
* To determine whether there is a hydrated style that cannot meet the requirements after the component is loaded,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0-RTE-preview",
|
|
5
5
|
"description": "React specific wrapper for @heartlandone/vega",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"stencil-postbuild": "node ./src/scripts/stencil-post-build-script.js",
|
|
8
|
-
"build": "npm run clean && npm run compile",
|
|
8
|
+
"build": "npm run clean && npm run compile && npm run override-type",
|
|
9
9
|
"clean": "rm -rf dist",
|
|
10
10
|
"compile": "npm run tsc",
|
|
11
11
|
"tsc": "tsc -p .",
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"release": "npm run build",
|
|
14
14
|
"publish:patch": "node ../scripts/publish-version.js patch",
|
|
15
15
|
"publish:minor": "node ../scripts/publish-version.js minor",
|
|
16
|
-
"publish:major": "node ../scripts/publish-version.js major"
|
|
16
|
+
"publish:major": "node ../scripts/publish-version.js major",
|
|
17
|
+
"override-type": "node ./src/scripts/override-component-native-event-type.js",
|
|
18
|
+
"pr-codesandbox-auto": "node ../scripts/pr-codesandbox-auto/change-package-name.js"
|
|
17
19
|
},
|
|
18
20
|
"main": "./dist/index.js",
|
|
19
21
|
"module": "./dist/index.js",
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
"typescript": "^4.0.0"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@heartlandone/vega": "2.
|
|
43
|
+
"@heartlandone/vega": "2.4.0-RTE-preview"
|
|
42
44
|
},
|
|
43
45
|
"peerDependencies": {
|
|
44
46
|
"react": ">=16.7.0",
|
|
@@ -52,4 +54,4 @@
|
|
|
52
54
|
"dist"
|
|
53
55
|
]
|
|
54
56
|
}
|
|
55
|
-
}
|
|
57
|
+
}
|