@xplor-education/react-wrappers 5.3.0 → 6.0.1
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/README.md +36 -20
- package/dist/components.d.ts +372 -0
- package/dist/index.cjs +1 -28182
- package/dist/index.d.ts +2 -223
- package/dist/index.js +595 -60092
- package/dist/status-badges.d.ts +29 -0
- package/package.json +21 -51
- package/CHANGELOG.md +0 -50
package/README.md
CHANGED
|
@@ -1,30 +1,46 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @xplor-education/react-wrappers
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
React wrappers for the [Stardust Design System](https://masonmaddy.github.io/stardust4/) web components, auto-generated from [`@xplor-education/core-stencil-components`](https://www.npmjs.com/package/@xplor-education/core-stencil-components) via the Stencil React output target.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install @xplor-education/react-wrappers @xplor-education/core-stencil-components
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Peer dependencies: `react` (`^18.0.0 || ^19.0.0`) and `@xplor-education/core-stencil-components`.
|
|
9
12
|
|
|
10
|
-
##
|
|
13
|
+
## Usage
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
Load fonts and tokens once at app entry, then import components by name:
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
```tsx
|
|
18
|
+
import '@xplor-education/core-stencil-components/fonts.css';
|
|
19
|
+
import '@xplor-education/core-stencil-components/tokens.css';
|
|
20
|
+
import { XplorButton } from '@xplor-education/react-wrappers';
|
|
15
21
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
23
|
-
tsconfigRootDir: __dirname,
|
|
24
|
-
},
|
|
22
|
+
function App() {
|
|
23
|
+
return (
|
|
24
|
+
<XplorButton type="solid" onSdClick={() => save()}>
|
|
25
|
+
Save
|
|
26
|
+
</XplorButton>
|
|
27
|
+
);
|
|
25
28
|
}
|
|
26
29
|
```
|
|
27
30
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
+
- Each wrapper registers its underlying custom element on first use — no manual `defineCustomElements()` call needed.
|
|
32
|
+
- Custom events are exposed as typed React props: `sd-click` → `onSdClick`, `sd-change` → `onSdChange`, and so on.
|
|
33
|
+
- The wrappers are client components (the generated module is marked `'use client'`); there is no SSR/hydrate build yet.
|
|
34
|
+
|
|
35
|
+
See the [core package README](https://www.npmjs.com/package/@xplor-education/core-stencil-components) for fonts, tokens, Tailwind preset, and icons.
|
|
36
|
+
|
|
37
|
+
## Components
|
|
38
|
+
|
|
39
|
+
`XplorAccordion`, `XplorAccordionItem`, `XplorAvatar`, `XplorBottomSheet`, `XplorButton`, `XplorCalendar`, `XplorCard`, `XplorCheckbox`, `XplorDatatable`, `XplorDatePicker`, `XplorFab`, `XplorFileUpload`, `XplorInput`, `XplorMenu`, `XplorMenuItem`, `XplorMessageBox`, `XplorModal`, `XplorPill`, `XplorRadioButton`, `XplorSelectionPill`, `XplorTabPanel`, `XplorTabs`, `XplorTimePicker`, `XplorTitleBlock`, `XplorToast`, `XplorToastStack`, `XplorToggle`, `XplorTooltip`
|
|
40
|
+
|
|
41
|
+
Props, events, and design guidance for each component live on the [Stardust docs site](https://masonmaddy.github.io/stardust4/).
|
|
42
|
+
|
|
43
|
+
## Links
|
|
44
|
+
|
|
45
|
+
- [Stardust Design System docs](https://masonmaddy.github.io/stardust4/) — the design reference
|
|
46
|
+
- [Repository](https://github.com/myxplor/stardust-components)
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
2
|
+
import { AutocompleteItem, ComboboxItem, DatatablePagination, DatatableRow, MenuOption, XplorAccordionCustomEvent, XplorAccordionItemCustomEvent, XplorAlertDialogCustomEvent, XplorAlertMessageCustomEvent, XplorAutocompleteCustomEvent, XplorBottomSheetCustomEvent, XplorBtnBackCustomEvent, XplorBtnBackToParentCustomEvent, XplorBtnIconCustomEvent, XplorBtnMenuCustomEvent, XplorBtnToggleCustomEvent, XplorBtnToggleSecondaryCustomEvent, XplorCalendarCustomEvent, XplorCardCustomEvent, XplorCheckboxCustomEvent, XplorComboboxCustomEvent, XplorDatatableCustomEvent, XplorDatePickerCustomEvent, XplorDragAndDropInputCustomEvent, XplorDropdownCustomEvent, XplorExpansionPanelCustomEvent, XplorFabCustomEvent, XplorFileUploadCustomEvent, XplorInlineCheckboxCustomEvent, XplorInlineDatePickerCustomEvent, XplorInlineSwitchCustomEvent, XplorInputCustomEvent, XplorInputFileCustomEvent, XplorInputSearchCustomEvent, XplorInputSelectCustomEvent, XplorInputSendCustomEvent, XplorInputTextAreaCustomEvent, XplorInputTextCustomEvent, XplorInputTextSecondaryCustomEvent, XplorInputTitleCustomEvent, XplorMenuCustomEvent, XplorMenuItemCustomEvent, XplorMessageBoxCustomEvent, XplorModalPersistentCustomEvent, XplorNavTabsCustomEvent, XplorRadioBtnCustomEvent, XplorRadioButtonCustomEvent, XplorSelectionPillCustomEvent, XplorTableCustomEvent, XplorTabsCustomEvent, XplorTextFieldCustomEvent, XplorTimePickerCustomEvent, XplorToastCustomEvent, XplorToggleCustomEvent, XplorTooltipCustomEvent, XplorUploadedFile } from '@xplor-education/core-stencil-components';
|
|
3
|
+
import { Components } from '@xplor-education/core-stencil-components/components';
|
|
4
|
+
import { XplorAccordionItem as XplorAccordionItemElement } from '@xplor-education/core-stencil-components/components/xplor-accordion-item.js';
|
|
5
|
+
import { XplorAccordion as XplorAccordionElement } from '@xplor-education/core-stencil-components/components/xplor-accordion.js';
|
|
6
|
+
import { XplorAlertDialog as XplorAlertDialogElement } from '@xplor-education/core-stencil-components/components/xplor-alert-dialog.js';
|
|
7
|
+
import { XplorAlertMessage as XplorAlertMessageElement } from '@xplor-education/core-stencil-components/components/xplor-alert-message.js';
|
|
8
|
+
import { XplorAutocomplete as XplorAutocompleteElement } from '@xplor-education/core-stencil-components/components/xplor-autocomplete.js';
|
|
9
|
+
import { XplorAvatarAndName as XplorAvatarAndNameElement } from '@xplor-education/core-stencil-components/components/xplor-avatar-and-name.js';
|
|
10
|
+
import { XplorAvatar as XplorAvatarElement } from '@xplor-education/core-stencil-components/components/xplor-avatar.js';
|
|
11
|
+
import { XplorBadgeSessionBooking as XplorBadgeSessionBookingElement } from '@xplor-education/core-stencil-components/components/xplor-badge-session-booking.js';
|
|
12
|
+
import { XplorBadge as XplorBadgeElement } from '@xplor-education/core-stencil-components/components/xplor-badge.js';
|
|
13
|
+
import { XplorBottomSheet as XplorBottomSheetElement } from '@xplor-education/core-stencil-components/components/xplor-bottom-sheet.js';
|
|
14
|
+
import { XplorBtnBackToParent as XplorBtnBackToParentElement } from '@xplor-education/core-stencil-components/components/xplor-btn-back-to-parent.js';
|
|
15
|
+
import { XplorBtnBack as XplorBtnBackElement } from '@xplor-education/core-stencil-components/components/xplor-btn-back.js';
|
|
16
|
+
import { XplorBtnIcon as XplorBtnIconElement } from '@xplor-education/core-stencil-components/components/xplor-btn-icon.js';
|
|
17
|
+
import { XplorBtnMenu as XplorBtnMenuElement } from '@xplor-education/core-stencil-components/components/xplor-btn-menu.js';
|
|
18
|
+
import { XplorBtnToggleGroup as XplorBtnToggleGroupElement } from '@xplor-education/core-stencil-components/components/xplor-btn-toggle-group.js';
|
|
19
|
+
import { XplorBtnToggleSecondary as XplorBtnToggleSecondaryElement } from '@xplor-education/core-stencil-components/components/xplor-btn-toggle-secondary.js';
|
|
20
|
+
import { XplorBtnToggle as XplorBtnToggleElement } from '@xplor-education/core-stencil-components/components/xplor-btn-toggle.js';
|
|
21
|
+
import { XplorBtnTooltip as XplorBtnTooltipElement } from '@xplor-education/core-stencil-components/components/xplor-btn-tooltip.js';
|
|
22
|
+
import { XplorCalendar as XplorCalendarElement } from '@xplor-education/core-stencil-components/components/xplor-calendar.js';
|
|
23
|
+
import { XplorCard as XplorCardElement } from '@xplor-education/core-stencil-components/components/xplor-card.js';
|
|
24
|
+
import { XplorCheckbox as XplorCheckboxElement } from '@xplor-education/core-stencil-components/components/xplor-checkbox.js';
|
|
25
|
+
import { XplorCombobox as XplorComboboxElement } from '@xplor-education/core-stencil-components/components/xplor-combobox.js';
|
|
26
|
+
import { XplorDatatable as XplorDatatableElement } from '@xplor-education/core-stencil-components/components/xplor-datatable.js';
|
|
27
|
+
import { XplorDatePicker as XplorDatePickerElement } from '@xplor-education/core-stencil-components/components/xplor-date-picker.js';
|
|
28
|
+
import { XplorDragAndDropInput as XplorDragAndDropInputElement } from '@xplor-education/core-stencil-components/components/xplor-drag-and-drop-input.js';
|
|
29
|
+
import { XplorDropdown as XplorDropdownElement } from '@xplor-education/core-stencil-components/components/xplor-dropdown.js';
|
|
30
|
+
import { XplorExpansionPanel as XplorExpansionPanelElement } from '@xplor-education/core-stencil-components/components/xplor-expansion-panel.js';
|
|
31
|
+
import { XplorExpansionPanels as XplorExpansionPanelsElement } from '@xplor-education/core-stencil-components/components/xplor-expansion-panels.js';
|
|
32
|
+
import { XplorFab as XplorFabElement } from '@xplor-education/core-stencil-components/components/xplor-fab.js';
|
|
33
|
+
import { XplorFileUpload as XplorFileUploadElement } from '@xplor-education/core-stencil-components/components/xplor-file-upload.js';
|
|
34
|
+
import { XplorInlineCheckbox as XplorInlineCheckboxElement } from '@xplor-education/core-stencil-components/components/xplor-inline-checkbox.js';
|
|
35
|
+
import { XplorInlineDatePicker as XplorInlineDatePickerElement } from '@xplor-education/core-stencil-components/components/xplor-inline-date-picker.js';
|
|
36
|
+
import { XplorInlineSwitch as XplorInlineSwitchElement } from '@xplor-education/core-stencil-components/components/xplor-inline-switch.js';
|
|
37
|
+
import { XplorInputFile as XplorInputFileElement } from '@xplor-education/core-stencil-components/components/xplor-input-file.js';
|
|
38
|
+
import { XplorInputSearch as XplorInputSearchElement } from '@xplor-education/core-stencil-components/components/xplor-input-search.js';
|
|
39
|
+
import { XplorInputSelect as XplorInputSelectElement } from '@xplor-education/core-stencil-components/components/xplor-input-select.js';
|
|
40
|
+
import { XplorInputSend as XplorInputSendElement } from '@xplor-education/core-stencil-components/components/xplor-input-send.js';
|
|
41
|
+
import { XplorInputTextArea as XplorInputTextAreaElement } from '@xplor-education/core-stencil-components/components/xplor-input-text-area.js';
|
|
42
|
+
import { XplorInputTextSecondary as XplorInputTextSecondaryElement } from '@xplor-education/core-stencil-components/components/xplor-input-text-secondary.js';
|
|
43
|
+
import { XplorInputText as XplorInputTextElement } from '@xplor-education/core-stencil-components/components/xplor-input-text.js';
|
|
44
|
+
import { XplorInputTitle as XplorInputTitleElement } from '@xplor-education/core-stencil-components/components/xplor-input-title.js';
|
|
45
|
+
import { XplorInput as XplorInputElement } from '@xplor-education/core-stencil-components/components/xplor-input.js';
|
|
46
|
+
import { XplorLinks as XplorLinksElement } from '@xplor-education/core-stencil-components/components/xplor-links.js';
|
|
47
|
+
import { XplorMenuItem as XplorMenuItemElement } from '@xplor-education/core-stencil-components/components/xplor-menu-item.js';
|
|
48
|
+
import { XplorMenu as XplorMenuElement } from '@xplor-education/core-stencil-components/components/xplor-menu.js';
|
|
49
|
+
import { XplorMessageBox as XplorMessageBoxElement } from '@xplor-education/core-stencil-components/components/xplor-message-box.js';
|
|
50
|
+
import { XplorModalPersistent as XplorModalPersistentElement } from '@xplor-education/core-stencil-components/components/xplor-modal-persistent.js';
|
|
51
|
+
import { XplorNavTabs as XplorNavTabsElement } from '@xplor-education/core-stencil-components/components/xplor-nav-tabs.js';
|
|
52
|
+
import { XplorPill as XplorPillElement } from '@xplor-education/core-stencil-components/components/xplor-pill.js';
|
|
53
|
+
import { XplorRadioBtn as XplorRadioBtnElement } from '@xplor-education/core-stencil-components/components/xplor-radio-btn.js';
|
|
54
|
+
import { XplorRadioButton as XplorRadioButtonElement } from '@xplor-education/core-stencil-components/components/xplor-radio-button.js';
|
|
55
|
+
import { XplorSectionCard as XplorSectionCardElement } from '@xplor-education/core-stencil-components/components/xplor-section-card.js';
|
|
56
|
+
import { XplorSectionHeading as XplorSectionHeadingElement } from '@xplor-education/core-stencil-components/components/xplor-section-heading.js';
|
|
57
|
+
import { XplorSelectionPill as XplorSelectionPillElement } from '@xplor-education/core-stencil-components/components/xplor-selection-pill.js';
|
|
58
|
+
import { XplorTabPanel as XplorTabPanelElement } from '@xplor-education/core-stencil-components/components/xplor-tab-panel.js';
|
|
59
|
+
import { XplorTable as XplorTableElement } from '@xplor-education/core-stencil-components/components/xplor-table.js';
|
|
60
|
+
import { XplorTabs as XplorTabsElement } from '@xplor-education/core-stencil-components/components/xplor-tabs.js';
|
|
61
|
+
import { XplorTextBubble as XplorTextBubbleElement } from '@xplor-education/core-stencil-components/components/xplor-text-bubble.js';
|
|
62
|
+
import { XplorTextField as XplorTextFieldElement } from '@xplor-education/core-stencil-components/components/xplor-text-field.js';
|
|
63
|
+
import { XplorTimePicker as XplorTimePickerElement } from '@xplor-education/core-stencil-components/components/xplor-time-picker.js';
|
|
64
|
+
import { XplorTitleBlock as XplorTitleBlockElement } from '@xplor-education/core-stencil-components/components/xplor-title-block.js';
|
|
65
|
+
import { XplorToastStack as XplorToastStackElement } from '@xplor-education/core-stencil-components/components/xplor-toast-stack.js';
|
|
66
|
+
import { XplorToast as XplorToastElement } from '@xplor-education/core-stencil-components/components/xplor-toast.js';
|
|
67
|
+
import { XplorToggle as XplorToggleElement } from '@xplor-education/core-stencil-components/components/xplor-toggle.js';
|
|
68
|
+
import { XplorTooltip as XplorTooltipElement } from '@xplor-education/core-stencil-components/components/xplor-tooltip.js';
|
|
69
|
+
export type XplorAccordionEvents = {
|
|
70
|
+
onSdToggle: EventName<XplorAccordionCustomEvent<number>>;
|
|
71
|
+
};
|
|
72
|
+
export declare const XplorAccordion: StencilReactComponent<XplorAccordionElement, XplorAccordionEvents, Components.XplorAccordion>;
|
|
73
|
+
export type XplorAccordionItemEvents = {
|
|
74
|
+
onSdItemToggle: EventName<XplorAccordionItemCustomEvent<void>>;
|
|
75
|
+
};
|
|
76
|
+
export declare const XplorAccordionItem: StencilReactComponent<XplorAccordionItemElement, XplorAccordionItemEvents, Components.XplorAccordionItem>;
|
|
77
|
+
export type XplorAlertDialogEvents = {
|
|
78
|
+
onXplorClose: EventName<XplorAlertDialogCustomEvent<void>>;
|
|
79
|
+
onXplorDialogChange: EventName<XplorAlertDialogCustomEvent<boolean>>;
|
|
80
|
+
};
|
|
81
|
+
export declare const XplorAlertDialog: StencilReactComponent<XplorAlertDialogElement, XplorAlertDialogEvents, Components.XplorAlertDialog>;
|
|
82
|
+
export type XplorAlertMessageEvents = {
|
|
83
|
+
onXplorDismiss: EventName<XplorAlertMessageCustomEvent<void>>;
|
|
84
|
+
};
|
|
85
|
+
export declare const XplorAlertMessage: StencilReactComponent<XplorAlertMessageElement, XplorAlertMessageEvents, Components.XplorAlertMessage>;
|
|
86
|
+
export type XplorAutocompleteEvents = {
|
|
87
|
+
onXplorChange: EventName<XplorAutocompleteCustomEvent<string | number | boolean | (string | number | boolean)[] | null>>;
|
|
88
|
+
onXplorSelect: EventName<XplorAutocompleteCustomEvent<AutocompleteItem>>;
|
|
89
|
+
onXplorClear: EventName<XplorAutocompleteCustomEvent<void>>;
|
|
90
|
+
onXplorSearch: EventName<XplorAutocompleteCustomEvent<string>>;
|
|
91
|
+
};
|
|
92
|
+
export declare const XplorAutocomplete: StencilReactComponent<XplorAutocompleteElement, XplorAutocompleteEvents, Components.XplorAutocomplete>;
|
|
93
|
+
export type XplorAvatarEvents = NonNullable<unknown>;
|
|
94
|
+
export declare const XplorAvatar: StencilReactComponent<XplorAvatarElement, XplorAvatarEvents, Components.XplorAvatar>;
|
|
95
|
+
export type XplorAvatarAndNameEvents = NonNullable<unknown>;
|
|
96
|
+
export declare const XplorAvatarAndName: StencilReactComponent<XplorAvatarAndNameElement, XplorAvatarAndNameEvents, Components.XplorAvatarAndName>;
|
|
97
|
+
export type XplorBadgeEvents = NonNullable<unknown>;
|
|
98
|
+
export declare const XplorBadge: StencilReactComponent<XplorBadgeElement, XplorBadgeEvents, Components.XplorBadge>;
|
|
99
|
+
export type XplorBadgeSessionBookingEvents = NonNullable<unknown>;
|
|
100
|
+
export declare const XplorBadgeSessionBooking: StencilReactComponent<XplorBadgeSessionBookingElement, XplorBadgeSessionBookingEvents, Components.XplorBadgeSessionBooking, 'booking' | 'item'>;
|
|
101
|
+
export type XplorBottomSheetEvents = {
|
|
102
|
+
onSdClose: EventName<XplorBottomSheetCustomEvent<void>>;
|
|
103
|
+
};
|
|
104
|
+
export declare const XplorBottomSheet: StencilReactComponent<XplorBottomSheetElement, XplorBottomSheetEvents, Components.XplorBottomSheet>;
|
|
105
|
+
export type XplorBtnBackEvents = {
|
|
106
|
+
onXplorClick: EventName<XplorBtnBackCustomEvent<MouseEvent>>;
|
|
107
|
+
};
|
|
108
|
+
export declare const XplorBtnBack: StencilReactComponent<XplorBtnBackElement, XplorBtnBackEvents, Components.XplorBtnBack>;
|
|
109
|
+
export type XplorBtnBackToParentEvents = {
|
|
110
|
+
onBack: EventName<XplorBtnBackToParentCustomEvent<void>>;
|
|
111
|
+
};
|
|
112
|
+
export declare const XplorBtnBackToParent: StencilReactComponent<XplorBtnBackToParentElement, XplorBtnBackToParentEvents, Components.XplorBtnBackToParent>;
|
|
113
|
+
export type XplorBtnIconEvents = {
|
|
114
|
+
onXplorClick: EventName<XplorBtnIconCustomEvent<MouseEvent>>;
|
|
115
|
+
};
|
|
116
|
+
export declare const XplorBtnIcon: StencilReactComponent<XplorBtnIconElement, XplorBtnIconEvents, Components.XplorBtnIcon>;
|
|
117
|
+
export type XplorBtnMenuEvents = {
|
|
118
|
+
onXplorClick: EventName<XplorBtnMenuCustomEvent<MenuOption>>;
|
|
119
|
+
};
|
|
120
|
+
export declare const XplorBtnMenu: StencilReactComponent<XplorBtnMenuElement, XplorBtnMenuEvents, Components.XplorBtnMenu>;
|
|
121
|
+
export type XplorBtnToggleEvents = {
|
|
122
|
+
onXplorToggle: EventName<XplorBtnToggleCustomEvent<any>>;
|
|
123
|
+
};
|
|
124
|
+
export declare const XplorBtnToggle: StencilReactComponent<XplorBtnToggleElement, XplorBtnToggleEvents, Components.XplorBtnToggle>;
|
|
125
|
+
export type XplorBtnToggleGroupEvents = NonNullable<unknown>;
|
|
126
|
+
export declare const XplorBtnToggleGroup: StencilReactComponent<XplorBtnToggleGroupElement, XplorBtnToggleGroupEvents, Components.XplorBtnToggleGroup>;
|
|
127
|
+
export type XplorBtnToggleSecondaryEvents = {
|
|
128
|
+
onXplorToggle: EventName<XplorBtnToggleSecondaryCustomEvent<boolean>>;
|
|
129
|
+
};
|
|
130
|
+
export declare const XplorBtnToggleSecondary: StencilReactComponent<XplorBtnToggleSecondaryElement, XplorBtnToggleSecondaryEvents, Components.XplorBtnToggleSecondary>;
|
|
131
|
+
export type XplorBtnTooltipEvents = NonNullable<unknown>;
|
|
132
|
+
export declare const XplorBtnTooltip: StencilReactComponent<XplorBtnTooltipElement, XplorBtnTooltipEvents, Components.XplorBtnTooltip>;
|
|
133
|
+
export type XplorCalendarEvents = {
|
|
134
|
+
onSdSelect: EventName<XplorCalendarCustomEvent<string>>;
|
|
135
|
+
onSdMonthChange: EventName<XplorCalendarCustomEvent<{
|
|
136
|
+
month: number;
|
|
137
|
+
year: number;
|
|
138
|
+
}>>;
|
|
139
|
+
};
|
|
140
|
+
export declare const XplorCalendar: StencilReactComponent<XplorCalendarElement, XplorCalendarEvents, Components.XplorCalendar>;
|
|
141
|
+
export type XplorCardEvents = {
|
|
142
|
+
onSdClick: EventName<XplorCardCustomEvent<void>>;
|
|
143
|
+
onSdChange: EventName<XplorCardCustomEvent<boolean>>;
|
|
144
|
+
onXplorCardClick: EventName<XplorCardCustomEvent<{
|
|
145
|
+
href: string;
|
|
146
|
+
}>>;
|
|
147
|
+
};
|
|
148
|
+
export declare const XplorCard: StencilReactComponent<XplorCardElement, XplorCardEvents, Components.XplorCard>;
|
|
149
|
+
export type XplorCheckboxEvents = {
|
|
150
|
+
onSdChange: EventName<XplorCheckboxCustomEvent<boolean>>;
|
|
151
|
+
onCheckboxChange: EventName<XplorCheckboxCustomEvent<{
|
|
152
|
+
checked: boolean;
|
|
153
|
+
indeterminate: boolean;
|
|
154
|
+
}>>;
|
|
155
|
+
};
|
|
156
|
+
export declare const XplorCheckbox: StencilReactComponent<XplorCheckboxElement, XplorCheckboxEvents, Components.XplorCheckbox>;
|
|
157
|
+
export type XplorComboboxEvents = {
|
|
158
|
+
onXplorChange: EventName<XplorComboboxCustomEvent<string | number | boolean | (string | number | boolean)[] | null>>;
|
|
159
|
+
onXplorSelect: EventName<XplorComboboxCustomEvent<ComboboxItem>>;
|
|
160
|
+
onXplorCreate: EventName<XplorComboboxCustomEvent<string>>;
|
|
161
|
+
onXplorClear: EventName<XplorComboboxCustomEvent<void>>;
|
|
162
|
+
onXplorSearch: EventName<XplorComboboxCustomEvent<string>>;
|
|
163
|
+
};
|
|
164
|
+
export declare const XplorCombobox: StencilReactComponent<XplorComboboxElement, XplorComboboxEvents, Components.XplorCombobox>;
|
|
165
|
+
export type XplorDatatableEvents = {
|
|
166
|
+
onRowClick: EventName<XplorDatatableCustomEvent<DatatableRow>>;
|
|
167
|
+
onXplorSelectionChange: EventName<XplorDatatableCustomEvent<DatatableRow[]>>;
|
|
168
|
+
onPaginationChange: EventName<XplorDatatableCustomEvent<DatatablePagination>>;
|
|
169
|
+
onSortChange: EventName<XplorDatatableCustomEvent<{
|
|
170
|
+
column: string;
|
|
171
|
+
direction: 'asc' | 'desc' | null;
|
|
172
|
+
}>>;
|
|
173
|
+
};
|
|
174
|
+
export declare const XplorDatatable: StencilReactComponent<XplorDatatableElement, XplorDatatableEvents, Components.XplorDatatable>;
|
|
175
|
+
export type XplorDatePickerEvents = {
|
|
176
|
+
onDateChange: EventName<XplorDatePickerCustomEvent<string>>;
|
|
177
|
+
onXplorFocus: EventName<XplorDatePickerCustomEvent<FocusEvent>>;
|
|
178
|
+
onXplorBlur: EventName<XplorDatePickerCustomEvent<FocusEvent>>;
|
|
179
|
+
onXplorClear: EventName<XplorDatePickerCustomEvent<void>>;
|
|
180
|
+
};
|
|
181
|
+
export declare const XplorDatePicker: StencilReactComponent<XplorDatePickerElement, XplorDatePickerEvents, Components.XplorDatePicker>;
|
|
182
|
+
export type XplorDragAndDropInputEvents = {
|
|
183
|
+
onFileSelect: EventName<XplorDragAndDropInputCustomEvent<File>>;
|
|
184
|
+
onFileClear: EventName<XplorDragAndDropInputCustomEvent<void>>;
|
|
185
|
+
};
|
|
186
|
+
export declare const XplorDragAndDropInput: StencilReactComponent<XplorDragAndDropInputElement, XplorDragAndDropInputEvents, Components.XplorDragAndDropInput>;
|
|
187
|
+
export type XplorDropdownEvents = {
|
|
188
|
+
onXplorChange: EventName<XplorDropdownCustomEvent<string>>;
|
|
189
|
+
};
|
|
190
|
+
export declare const XplorDropdown: StencilReactComponent<XplorDropdownElement, XplorDropdownEvents, Components.XplorDropdown>;
|
|
191
|
+
export type XplorExpansionPanelEvents = {
|
|
192
|
+
onXplorPanelToggle: EventName<XplorExpansionPanelCustomEvent<{
|
|
193
|
+
id: string;
|
|
194
|
+
isOpen: boolean;
|
|
195
|
+
}>>;
|
|
196
|
+
};
|
|
197
|
+
export declare const XplorExpansionPanel: StencilReactComponent<XplorExpansionPanelElement, XplorExpansionPanelEvents, Components.XplorExpansionPanel>;
|
|
198
|
+
export type XplorExpansionPanelsEvents = NonNullable<unknown>;
|
|
199
|
+
export declare const XplorExpansionPanels: StencilReactComponent<XplorExpansionPanelsElement, XplorExpansionPanelsEvents, Components.XplorExpansionPanels>;
|
|
200
|
+
export type XplorFabEvents = {
|
|
201
|
+
onSdClick: EventName<XplorFabCustomEvent<void>>;
|
|
202
|
+
};
|
|
203
|
+
export declare const XplorFab: StencilReactComponent<XplorFabElement, XplorFabEvents, Components.XplorFab>;
|
|
204
|
+
export type XplorFileUploadEvents = {
|
|
205
|
+
onSdFilesSelected: EventName<XplorFileUploadCustomEvent<File[]>>;
|
|
206
|
+
onSdFileRemoved: EventName<XplorFileUploadCustomEvent<File>>;
|
|
207
|
+
onSdFileError: EventName<XplorFileUploadCustomEvent<{
|
|
208
|
+
file: File;
|
|
209
|
+
reason: string;
|
|
210
|
+
}>>;
|
|
211
|
+
onXplorFileAdd: EventName<XplorFileUploadCustomEvent<XplorUploadedFile[]>>;
|
|
212
|
+
onXplorFileRemove: EventName<XplorFileUploadCustomEvent<XplorUploadedFile>>;
|
|
213
|
+
onXplorError: EventName<XplorFileUploadCustomEvent<string>>;
|
|
214
|
+
};
|
|
215
|
+
export declare const XplorFileUpload: StencilReactComponent<XplorFileUploadElement, XplorFileUploadEvents, Components.XplorFileUpload>;
|
|
216
|
+
export type XplorInlineCheckboxEvents = {
|
|
217
|
+
onXplorChange: EventName<XplorInlineCheckboxCustomEvent<boolean>>;
|
|
218
|
+
};
|
|
219
|
+
export declare const XplorInlineCheckbox: StencilReactComponent<XplorInlineCheckboxElement, XplorInlineCheckboxEvents, Components.XplorInlineCheckbox>;
|
|
220
|
+
export type XplorInlineDatePickerEvents = {
|
|
221
|
+
onDateSelected: EventName<XplorInlineDatePickerCustomEvent<string>>;
|
|
222
|
+
onMonthChanged: EventName<XplorInlineDatePickerCustomEvent<{
|
|
223
|
+
year: number;
|
|
224
|
+
month: number;
|
|
225
|
+
}>>;
|
|
226
|
+
};
|
|
227
|
+
export declare const XplorInlineDatePicker: StencilReactComponent<XplorInlineDatePickerElement, XplorInlineDatePickerEvents, Components.XplorInlineDatePicker>;
|
|
228
|
+
export type XplorInlineSwitchEvents = {
|
|
229
|
+
onXplorChange: EventName<XplorInlineSwitchCustomEvent<boolean>>;
|
|
230
|
+
};
|
|
231
|
+
export declare const XplorInlineSwitch: StencilReactComponent<XplorInlineSwitchElement, XplorInlineSwitchEvents, Components.XplorInlineSwitch>;
|
|
232
|
+
export type XplorInputEvents = {
|
|
233
|
+
onSdChange: EventName<XplorInputCustomEvent<string>>;
|
|
234
|
+
onSdInput: EventName<XplorInputCustomEvent<string>>;
|
|
235
|
+
onSdClear: EventName<XplorInputCustomEvent<void>>;
|
|
236
|
+
onSdSearch: EventName<XplorInputCustomEvent<string>>;
|
|
237
|
+
onSdSend: EventName<XplorInputCustomEvent<string>>;
|
|
238
|
+
onSdFocus: EventName<XplorInputCustomEvent<FocusEvent>>;
|
|
239
|
+
onSdBlur: EventName<XplorInputCustomEvent<FocusEvent>>;
|
|
240
|
+
};
|
|
241
|
+
export declare const XplorInput: StencilReactComponent<XplorInputElement, XplorInputEvents, Components.XplorInput>;
|
|
242
|
+
export type XplorInputFileEvents = {
|
|
243
|
+
onAttach: EventName<XplorInputFileCustomEvent<File[]>>;
|
|
244
|
+
onXplorClear: EventName<XplorInputFileCustomEvent<void>>;
|
|
245
|
+
};
|
|
246
|
+
export declare const XplorInputFile: StencilReactComponent<XplorInputFileElement, XplorInputFileEvents, Components.XplorInputFile>;
|
|
247
|
+
export type XplorInputSearchEvents = {
|
|
248
|
+
onSearch: EventName<XplorInputSearchCustomEvent<string>>;
|
|
249
|
+
};
|
|
250
|
+
export declare const XplorInputSearch: StencilReactComponent<XplorInputSearchElement, XplorInputSearchEvents, Components.XplorInputSearch>;
|
|
251
|
+
export type XplorInputSelectEvents = {
|
|
252
|
+
onXplorChange: EventName<XplorInputSelectCustomEvent<string | number | boolean | (string | number | boolean)[] | null>>;
|
|
253
|
+
};
|
|
254
|
+
export declare const XplorInputSelect: StencilReactComponent<XplorInputSelectElement, XplorInputSelectEvents, Components.XplorInputSelect>;
|
|
255
|
+
export type XplorInputSendEvents = {
|
|
256
|
+
onXplorSend: EventName<XplorInputSendCustomEvent<string>>;
|
|
257
|
+
onXplorValueChange: EventName<XplorInputSendCustomEvent<string>>;
|
|
258
|
+
};
|
|
259
|
+
export declare const XplorInputSend: StencilReactComponent<XplorInputSendElement, XplorInputSendEvents, Components.XplorInputSend>;
|
|
260
|
+
export type XplorInputTextEvents = {
|
|
261
|
+
onXplorInput: EventName<XplorInputTextCustomEvent<string>>;
|
|
262
|
+
onXplorChange: EventName<XplorInputTextCustomEvent<string>>;
|
|
263
|
+
onXplorFocus: EventName<XplorInputTextCustomEvent<FocusEvent>>;
|
|
264
|
+
onXplorBlur: EventName<XplorInputTextCustomEvent<FocusEvent>>;
|
|
265
|
+
};
|
|
266
|
+
export declare const XplorInputText: StencilReactComponent<XplorInputTextElement, XplorInputTextEvents, Components.XplorInputText>;
|
|
267
|
+
export type XplorInputTextAreaEvents = {
|
|
268
|
+
onXplorInput: EventName<XplorInputTextAreaCustomEvent<string>>;
|
|
269
|
+
onXplorChange: EventName<XplorInputTextAreaCustomEvent<string>>;
|
|
270
|
+
onXplorClear: EventName<XplorInputTextAreaCustomEvent<void>>;
|
|
271
|
+
};
|
|
272
|
+
export declare const XplorInputTextArea: StencilReactComponent<XplorInputTextAreaElement, XplorInputTextAreaEvents, Components.XplorInputTextArea>;
|
|
273
|
+
export type XplorInputTextSecondaryEvents = {
|
|
274
|
+
onXplorInput: EventName<XplorInputTextSecondaryCustomEvent<string>>;
|
|
275
|
+
onXplorChange: EventName<XplorInputTextSecondaryCustomEvent<string>>;
|
|
276
|
+
onXplorFocus: EventName<XplorInputTextSecondaryCustomEvent<FocusEvent>>;
|
|
277
|
+
onXplorBlur: EventName<XplorInputTextSecondaryCustomEvent<FocusEvent>>;
|
|
278
|
+
};
|
|
279
|
+
export declare const XplorInputTextSecondary: StencilReactComponent<XplorInputTextSecondaryElement, XplorInputTextSecondaryEvents, Components.XplorInputTextSecondary>;
|
|
280
|
+
export type XplorInputTitleEvents = {
|
|
281
|
+
onXplorInput: EventName<XplorInputTitleCustomEvent<string>>;
|
|
282
|
+
onXplorChange: EventName<XplorInputTitleCustomEvent<string>>;
|
|
283
|
+
};
|
|
284
|
+
export declare const XplorInputTitle: StencilReactComponent<XplorInputTitleElement, XplorInputTitleEvents, Components.XplorInputTitle>;
|
|
285
|
+
export type XplorLinksEvents = NonNullable<unknown>;
|
|
286
|
+
export declare const XplorLinks: StencilReactComponent<XplorLinksElement, XplorLinksEvents, Components.XplorLinks>;
|
|
287
|
+
export type XplorMenuEvents = {
|
|
288
|
+
onSdClose: EventName<XplorMenuCustomEvent<void>>;
|
|
289
|
+
};
|
|
290
|
+
export declare const XplorMenu: StencilReactComponent<XplorMenuElement, XplorMenuEvents, Components.XplorMenu>;
|
|
291
|
+
export type XplorMenuItemEvents = {
|
|
292
|
+
onSdSelect: EventName<XplorMenuItemCustomEvent<void>>;
|
|
293
|
+
};
|
|
294
|
+
export declare const XplorMenuItem: StencilReactComponent<XplorMenuItemElement, XplorMenuItemEvents, Components.XplorMenuItem>;
|
|
295
|
+
export type XplorMessageBoxEvents = {
|
|
296
|
+
onSdDismiss: EventName<XplorMessageBoxCustomEvent<void>>;
|
|
297
|
+
};
|
|
298
|
+
export declare const XplorMessageBox: StencilReactComponent<XplorMessageBoxElement, XplorMessageBoxEvents, Components.XplorMessageBox>;
|
|
299
|
+
export type XplorModalPersistentEvents = {
|
|
300
|
+
onXplorClose: EventName<XplorModalPersistentCustomEvent<void>>;
|
|
301
|
+
};
|
|
302
|
+
export declare const XplorModalPersistent: StencilReactComponent<XplorModalPersistentElement, XplorModalPersistentEvents, Components.XplorModalPersistent>;
|
|
303
|
+
export type XplorNavTabsEvents = {
|
|
304
|
+
onXplorChange: EventName<XplorNavTabsCustomEvent<string>>;
|
|
305
|
+
};
|
|
306
|
+
export declare const XplorNavTabs: StencilReactComponent<XplorNavTabsElement, XplorNavTabsEvents, Components.XplorNavTabs>;
|
|
307
|
+
export type XplorPillEvents = NonNullable<unknown>;
|
|
308
|
+
export declare const XplorPill: StencilReactComponent<XplorPillElement, XplorPillEvents, Components.XplorPill>;
|
|
309
|
+
export type XplorRadioBtnEvents = {
|
|
310
|
+
onRadioChange: EventName<XplorRadioBtnCustomEvent<{
|
|
311
|
+
value: string;
|
|
312
|
+
checked: boolean;
|
|
313
|
+
}>>;
|
|
314
|
+
};
|
|
315
|
+
export declare const XplorRadioBtn: StencilReactComponent<XplorRadioBtnElement, XplorRadioBtnEvents, Components.XplorRadioBtn>;
|
|
316
|
+
export type XplorRadioButtonEvents = {
|
|
317
|
+
onSdChange: EventName<XplorRadioButtonCustomEvent<string>>;
|
|
318
|
+
};
|
|
319
|
+
export declare const XplorRadioButton: StencilReactComponent<XplorRadioButtonElement, XplorRadioButtonEvents, Components.XplorRadioButton>;
|
|
320
|
+
export type XplorSectionCardEvents = NonNullable<unknown>;
|
|
321
|
+
export declare const XplorSectionCard: StencilReactComponent<XplorSectionCardElement, XplorSectionCardEvents, Components.XplorSectionCard>;
|
|
322
|
+
export type XplorSectionHeadingEvents = NonNullable<unknown>;
|
|
323
|
+
export declare const XplorSectionHeading: StencilReactComponent<XplorSectionHeadingElement, XplorSectionHeadingEvents, Components.XplorSectionHeading>;
|
|
324
|
+
export type XplorSelectionPillEvents = {
|
|
325
|
+
onSdSelect: EventName<XplorSelectionPillCustomEvent<void>>;
|
|
326
|
+
onSdDismiss: EventName<XplorSelectionPillCustomEvent<void>>;
|
|
327
|
+
};
|
|
328
|
+
export declare const XplorSelectionPill: StencilReactComponent<XplorSelectionPillElement, XplorSelectionPillEvents, Components.XplorSelectionPill>;
|
|
329
|
+
export type XplorTabPanelEvents = NonNullable<unknown>;
|
|
330
|
+
export declare const XplorTabPanel: StencilReactComponent<XplorTabPanelElement, XplorTabPanelEvents, Components.XplorTabPanel>;
|
|
331
|
+
export type XplorTableEvents = {
|
|
332
|
+
onTableSelect: EventName<XplorTableCustomEvent<any>>;
|
|
333
|
+
};
|
|
334
|
+
export declare const XplorTable: StencilReactComponent<XplorTableElement, XplorTableEvents, Components.XplorTable>;
|
|
335
|
+
export type XplorTabsEvents = {
|
|
336
|
+
onSdTabChange: EventName<XplorTabsCustomEvent<number>>;
|
|
337
|
+
};
|
|
338
|
+
export declare const XplorTabs: StencilReactComponent<XplorTabsElement, XplorTabsEvents, Components.XplorTabs>;
|
|
339
|
+
export type XplorTextBubbleEvents = NonNullable<unknown>;
|
|
340
|
+
export declare const XplorTextBubble: StencilReactComponent<XplorTextBubbleElement, XplorTextBubbleEvents, Components.XplorTextBubble>;
|
|
341
|
+
export type XplorTextFieldEvents = {
|
|
342
|
+
onValueChange: EventName<XplorTextFieldCustomEvent<string>>;
|
|
343
|
+
onInputBlur: EventName<XplorTextFieldCustomEvent<FocusEvent>>;
|
|
344
|
+
onInputFocus: EventName<XplorTextFieldCustomEvent<FocusEvent>>;
|
|
345
|
+
onClearClick: EventName<XplorTextFieldCustomEvent<void>>;
|
|
346
|
+
};
|
|
347
|
+
export declare const XplorTextField: StencilReactComponent<XplorTextFieldElement, XplorTextFieldEvents, Components.XplorTextField>;
|
|
348
|
+
export type XplorTimePickerEvents = {
|
|
349
|
+
onSdChange: EventName<XplorTimePickerCustomEvent<string>>;
|
|
350
|
+
onTimeChange: EventName<XplorTimePickerCustomEvent<string>>;
|
|
351
|
+
onXplorFocus: EventName<XplorTimePickerCustomEvent<FocusEvent>>;
|
|
352
|
+
onXplorBlur: EventName<XplorTimePickerCustomEvent<FocusEvent>>;
|
|
353
|
+
onXplorClear: EventName<XplorTimePickerCustomEvent<void>>;
|
|
354
|
+
};
|
|
355
|
+
export declare const XplorTimePicker: StencilReactComponent<XplorTimePickerElement, XplorTimePickerEvents, Components.XplorTimePicker>;
|
|
356
|
+
export type XplorTitleBlockEvents = NonNullable<unknown>;
|
|
357
|
+
export declare const XplorTitleBlock: StencilReactComponent<XplorTitleBlockElement, XplorTitleBlockEvents, Components.XplorTitleBlock>;
|
|
358
|
+
export type XplorToastEvents = {
|
|
359
|
+
onSdDismiss: EventName<XplorToastCustomEvent<void>>;
|
|
360
|
+
};
|
|
361
|
+
export declare const XplorToast: StencilReactComponent<XplorToastElement, XplorToastEvents, Components.XplorToast>;
|
|
362
|
+
export type XplorToastStackEvents = NonNullable<unknown>;
|
|
363
|
+
export declare const XplorToastStack: StencilReactComponent<XplorToastStackElement, XplorToastStackEvents, Components.XplorToastStack>;
|
|
364
|
+
export type XplorToggleEvents = {
|
|
365
|
+
onSdChange: EventName<XplorToggleCustomEvent<boolean>>;
|
|
366
|
+
};
|
|
367
|
+
export declare const XplorToggle: StencilReactComponent<XplorToggleElement, XplorToggleEvents, Components.XplorToggle>;
|
|
368
|
+
export type XplorTooltipEvents = {
|
|
369
|
+
onSdOpen: EventName<XplorTooltipCustomEvent<void>>;
|
|
370
|
+
onSdClose: EventName<XplorTooltipCustomEvent<void>>;
|
|
371
|
+
};
|
|
372
|
+
export declare const XplorTooltip: StencilReactComponent<XplorTooltipElement, XplorTooltipEvents, Components.XplorTooltip>;
|