@lofid/react 1.0.0 → 1.1.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/dist/index.d.ts +45 -10
- package/dist/index.js +57 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent, HTMLAttributes, ReactNode, RefAttributes } from 'react';
|
|
2
2
|
import * as W from '@lofid/web';
|
|
3
|
-
export { LofAccordion as LofAccordionElement, LofAlert as LofAlertElement, LofAutocomplete as LofAutocompleteElement, LofAvatar as LofAvatarElement, LofAvatarGroup as LofAvatarGroupElement, LofBadge as LofBadgeElement, LofBreadcrumbs as LofBreadcrumbsElement, LofButton as LofButtonElement, LofCalendar as LofCalendarElement, LofCard as LofCardElement, LofCardMedia as LofCardMediaElement, LofCarousel as LofCarouselElement, LofCheckbox as LofCheckboxElement, LofChip as LofChipElement, LofContainer as LofContainerElement, LofDatePicker as LofDatePickerElement, LofDivider as LofDividerElement, LofDrawer as LofDrawerElement, LofDrawerFooter as LofDrawerFooterElement, LofKbd as LofKbdElement, LofKbdGroup as LofKbdGroupElement, LofLayout as LofLayoutElement, LofMenu as LofMenuElement, LofMenuItem as LofMenuItemElement, LofMenubar as LofMenubarElement, LofMenubarMenu as LofMenubarMenuElement, LofModal as LofModalElement, LofOtp as LofOtpElement, LofPagination as LofPaginationElement, LofPopoverContent as LofPopoverContentElement, LofPopover as LofPopoverElement, LofProgress as LofProgressElement, LofRadio as LofRadioElement, LofRangePicker as LofRangePickerElement, LofResizableGroup as LofResizableGroupElement, LofResizableHandle as LofResizableHandleElement, LofResizablePanel as LofResizablePanelElement, LofSegmentedButton as LofSegmentedButtonElement, LofSelect as LofSelectElement, LofSignaturePad as LofSignaturePadElement, LofSkeleton as LofSkeletonElement, LofSlider as LofSliderElement, LofSnackbar as LofSnackbarElement, LofSplitButton as LofSplitButtonElement, LofStepper as LofStepperElement, LofSwitch as LofSwitchElement, LofTab as LofTabElement, LofTabItem as LofTabItemElement, LofTextfield as LofTextfieldElement, LofTimePicker as LofTimePickerElement, LofToast as LofToastElement, LofTooltip as LofTooltipElement, LofTree as LofTreeElement, LofUploadActions as LofUploadActionsElement, LofUpload as LofUploadElement } from '@lofid/web';
|
|
3
|
+
export { LofAccordion as LofAccordionElement, LofAlert as LofAlertElement, LofAutocomplete as LofAutocompleteElement, LofAvatar as LofAvatarElement, LofAvatarGroup as LofAvatarGroupElement, LofBadge as LofBadgeElement, LofBreadcrumbs as LofBreadcrumbsElement, LofButton as LofButtonElement, LofCalendar as LofCalendarElement, LofCard as LofCardElement, LofCardMedia as LofCardMediaElement, LofCarousel as LofCarouselElement, LofCheckbox as LofCheckboxElement, LofChip as LofChipElement, LofContainer as LofContainerElement, LofDatePicker as LofDatePickerElement, LofDivider as LofDividerElement, LofDrawer as LofDrawerElement, LofDrawerFooter as LofDrawerFooterElement, LofEmptyState as LofEmptyStateElement, LofImageInput as LofImageInputElement, LofKbd as LofKbdElement, LofKbdGroup as LofKbdGroupElement, LofLayout as LofLayoutElement, LofLink as LofLinkElement, LofMenu as LofMenuElement, LofMenuItem as LofMenuItemElement, LofMenubar as LofMenubarElement, LofMenubarMenu as LofMenubarMenuElement, LofModal as LofModalElement, LofNav as LofNavElement, LofOtp as LofOtpElement, LofPageHeader as LofPageHeaderElement, LofPagination as LofPaginationElement, LofPopoverContent as LofPopoverContentElement, LofPopover as LofPopoverElement, LofProgress as LofProgressElement, LofRadio as LofRadioElement, LofRangePicker as LofRangePickerElement, LofRating as LofRatingElement, LofResizableGroup as LofResizableGroupElement, LofResizableHandle as LofResizableHandleElement, LofResizablePanel as LofResizablePanelElement, LofSegmentedButton as LofSegmentedButtonElement, LofSelect as LofSelectElement, LofSignaturePad as LofSignaturePadElement, LofSkeleton as LofSkeletonElement, LofSlider as LofSliderElement, LofSnackbar as LofSnackbarElement, LofSplitButton as LofSplitButtonElement, LofStat as LofStatElement, LofStepper as LofStepperElement, LofSwitch as LofSwitchElement, LofTab as LofTabElement, LofTabItem as LofTabItemElement, LofTable as LofTableElement, LofTextfield as LofTextfieldElement, LofTimePicker as LofTimePickerElement, LofToast as LofToastElement, LofTooltip as LofTooltipElement, LofTree as LofTreeElement, LofUploadActions as LofUploadActionsElement, LofUpload as LofUploadElement } from '@lofid/web';
|
|
4
4
|
|
|
5
5
|
/** Event handler props, e.g. `{ onLofChange: (e: CustomEvent<{ value: string }>) => void }`. */
|
|
6
6
|
type EventHandlers<Events> = {
|
|
@@ -92,7 +92,7 @@ declare const LofCalendar: LofComponent<W.LofCalendar, "disabled" | "value" | "m
|
|
|
92
92
|
}>;
|
|
93
93
|
}>;
|
|
94
94
|
/** React wrapper for `<lof-card>`. */
|
|
95
|
-
declare const LofCard: LofComponent<W.LofCard, "type", {}>;
|
|
95
|
+
declare const LofCard: LofComponent<W.LofCard, "description" | "type" | "flush" | "heading", {}>;
|
|
96
96
|
/** React wrapper for `<lof-card-media>`. */
|
|
97
97
|
declare const LofCardMedia: LofComponent<W.LofCardMedia, "title" | "imageAlt" | "imageSrc" | "subtitle", {}>;
|
|
98
98
|
/** React wrapper for `<lof-carousel>`. */
|
|
@@ -141,12 +141,25 @@ declare const LofDrawer: LofComponent<W.LofDrawer, "draggable" | "title" | "desc
|
|
|
141
141
|
}>;
|
|
142
142
|
/** React wrapper for `<lof-drawer-footer>`. */
|
|
143
143
|
declare const LofDrawerFooter: LofComponent<W.LofDrawerFooter, never, {}>;
|
|
144
|
+
/** React wrapper for `<lof-empty-state>`. */
|
|
145
|
+
declare const LofEmptyState: LofComponent<W.LofEmptyState, "description" | "size" | "icon" | "heading" | "align" | "headingLevel", {}>;
|
|
146
|
+
/** React wrapper for `<lof-image-input>`. */
|
|
147
|
+
declare const LofImageInput: LofComponent<W.LofImageInput, "disabled" | "size" | "fieldAriaLabel" | "name" | "src" | "accept" | "maxSize" | "noRemove" | "shape", {
|
|
148
|
+
onLofChange: CustomEvent<W.ImageInputChangeDetail>;
|
|
149
|
+
onLofError: CustomEvent<{
|
|
150
|
+
reason: string;
|
|
151
|
+
file: File;
|
|
152
|
+
}>;
|
|
153
|
+
onLofRemove: CustomEvent<undefined>;
|
|
154
|
+
}>;
|
|
144
155
|
/** React wrapper for `<lof-kbd>`. */
|
|
145
156
|
declare const LofKbd: LofComponent<W.LofKbd, "size" | "variant" | "inset" | "keyName" | "pill" | "platform", {}>;
|
|
146
157
|
/** React wrapper for `<lof-kbd-group>`. */
|
|
147
158
|
declare const LofKbdGroup: LofComponent<W.LofKbdGroup, "size" | "items" | "variant" | "platform", {}>;
|
|
148
159
|
/** React wrapper for `<lof-layout>`. */
|
|
149
160
|
declare const LofLayout: LofComponent<W.LofLayout, "gap" | "columns" | "responsive", {}>;
|
|
161
|
+
/** React wrapper for `<lof-link>`. */
|
|
162
|
+
declare const LofLink: LofComponent<W.LofLink, "rel" | "disabled" | "size" | "tone" | "arrow" | "href" | "inherit" | "target" | "underline", {}>;
|
|
150
163
|
/** React wrapper for `<lof-menu>`. */
|
|
151
164
|
declare const LofMenu: LofComponent<W.LofMenu, "type" | "size" | "items" | "width", {
|
|
152
165
|
onLofCheck: CustomEvent<{
|
|
@@ -186,6 +199,14 @@ declare const LofMenubarMenu: LofComponent<W.LofMenubarMenu, "label" | "disabled
|
|
|
186
199
|
declare const LofModal: LofComponent<W.LofModal, "title" | "description" | "autoFocus" | "disabled" | "open" | "size" | "dismissible" | "loading" | "variant" | "subtitle" | "closeOnEscape" | "modal" | "side" | "breakpoint" | "closeOnBackdropClick" | "restoreFocus" | "scrollable" | "showCloseButton" | "zIndex", {
|
|
187
200
|
onLofOpenChange: CustomEvent<boolean>;
|
|
188
201
|
}>;
|
|
202
|
+
/** React wrapper for `<lof-nav>`. */
|
|
203
|
+
declare const LofNav: LofComponent<W.LofNav, "fieldAriaLabel" | "items" | "value" | "collapsed" | "indicator", {
|
|
204
|
+
onLofSelect: CustomEvent<W.NavSelectDetail>;
|
|
205
|
+
onLofToggle: CustomEvent<{
|
|
206
|
+
value: string;
|
|
207
|
+
open: boolean;
|
|
208
|
+
}>;
|
|
209
|
+
}>;
|
|
189
210
|
/** React wrapper for `<lof-otp>`. */
|
|
190
211
|
declare const LofOtp: LofComponent<W.LofOtp, "ariaLabel" | "inputMode" | "length" | "mask" | "pattern" | "type" | "invalid" | "disabled" | "size" | "name" | "placeholder" | "readonly" | "required" | "value" | "autocomplete" | "groupSize" | "inputmode" | "showSeparator", {
|
|
191
212
|
onLofChange: CustomEvent<{
|
|
@@ -196,6 +217,8 @@ declare const LofOtp: LofComponent<W.LofOtp, "ariaLabel" | "inputMode" | "length
|
|
|
196
217
|
value: string;
|
|
197
218
|
}>;
|
|
198
219
|
}>;
|
|
220
|
+
/** React wrapper for `<lof-page-header>`. */
|
|
221
|
+
declare const LofPageHeader: LofComponent<W.LofPageHeader, "description" | "heading" | "headingLevel" | "divider" | "layout", {}>;
|
|
199
222
|
/** React wrapper for `<lof-pagination>`. */
|
|
200
223
|
declare const LofPagination: LofComponent<W.LofPagination, "ariaLabel" | "type" | "disabled" | "defaultPage" | "hrefTemplate" | "page" | "perPage" | "rowsPerPageLabel" | "rowsPerPageOptions" | "showLabel" | "showRowsPerPage" | "totalItems" | "totalPages", {
|
|
201
224
|
onLofChange: CustomEvent<{
|
|
@@ -206,7 +229,7 @@ declare const LofPagination: LofComponent<W.LofPagination, "ariaLabel" | "type"
|
|
|
206
229
|
}>;
|
|
207
230
|
}>;
|
|
208
231
|
/** React wrapper for `<lof-popover>`. */
|
|
209
|
-
declare const LofPopover: LofComponent<W.LofPopover, "disabled" | "open" | "closeOnEscape" | "side" | "align" | "
|
|
232
|
+
declare const LofPopover: LofComponent<W.LofPopover, "disabled" | "open" | "closeOnEscape" | "side" | "align" | "arrow" | "alignOffset" | "closeOnOutsideClick" | "defaultOpen" | "hasPopup" | "sideOffset" | "trapFocus", {
|
|
210
233
|
onLofOpenChange: CustomEvent<{
|
|
211
234
|
open: boolean;
|
|
212
235
|
}>;
|
|
@@ -236,6 +259,10 @@ declare const LofRangePicker: LofComponent<W.LofRangePicker, "disabled" | "open"
|
|
|
236
259
|
open: false;
|
|
237
260
|
}>;
|
|
238
261
|
}>;
|
|
262
|
+
/** React wrapper for `<lof-rating>`. */
|
|
263
|
+
declare const LofRating: LofComponent<W.LofRating, "disabled" | "size" | "fieldAriaLabel" | "name" | "readonly" | "value" | "max" | "showValue" | "step", {
|
|
264
|
+
onLofChange: CustomEvent<W.RatingChangeDetail>;
|
|
265
|
+
}>;
|
|
239
266
|
/** React wrapper for `<lof-resizable-group>`. */
|
|
240
267
|
declare const LofResizableGroup: LofComponent<W.LofResizableGroup, "direction", {
|
|
241
268
|
onLofResize: CustomEvent<{
|
|
@@ -250,7 +277,7 @@ declare const LofResizableGroup: LofComponent<W.LofResizableGroup, "direction",
|
|
|
250
277
|
/** React wrapper for `<lof-resizable-handle>`. */
|
|
251
278
|
declare const LofResizableHandle: LofComponent<W.LofResizableHandle, "orientation", {}>;
|
|
252
279
|
/** React wrapper for `<lof-resizable-panel>`. */
|
|
253
|
-
declare const LofResizablePanel: LofComponent<W.LofResizablePanel, "
|
|
280
|
+
declare const LofResizablePanel: LofComponent<W.LofResizablePanel, "maxSize" | "defaultSize" | "minSize" | "panelLabel", {}>;
|
|
254
281
|
/** React wrapper for `<lof-segmented-button>`. */
|
|
255
282
|
declare const LofSegmentedButton: LofComponent<W.LofSegmentedButton, "disabled" | "size" | "fieldAriaLabel" | "align" | "options" | "active", {
|
|
256
283
|
onChanged: CustomEvent<{
|
|
@@ -276,9 +303,9 @@ declare const LofSignaturePad: LofComponent<W.LofSignaturePad, "label" | "error"
|
|
|
276
303
|
onLofEnd: CustomEvent<{}>;
|
|
277
304
|
}>;
|
|
278
305
|
/** React wrapper for `<lof-skeleton>`. */
|
|
279
|
-
declare const LofSkeleton: LofComponent<W.LofSkeleton, "width" | "
|
|
306
|
+
declare const LofSkeleton: LofComponent<W.LofSkeleton, "width" | "shape" | "height" | "animation" | "lines" | "loaded", {}>;
|
|
280
307
|
/** React wrapper for `<lof-slider>`. */
|
|
281
|
-
declare const LofSlider: LofComponent<W.LofSlider, "track" | "type" | "disabled" | "size" | "fieldAriaLabel" | "value" | "max" | "min" | "
|
|
308
|
+
declare const LofSlider: LofComponent<W.LofSlider, "track" | "type" | "disabled" | "size" | "fieldAriaLabel" | "value" | "max" | "min" | "step" | "showBubble" | "showTickLabels" | "showTicks" | "valueEnd", {
|
|
282
309
|
onLofChange: CustomEvent<{
|
|
283
310
|
value: number;
|
|
284
311
|
valueEnd: number;
|
|
@@ -298,6 +325,8 @@ declare const LofSplitButton: LofComponent<W.LofSplitButton, "ariaLabel" | "labe
|
|
|
298
325
|
}>;
|
|
299
326
|
onLofSelect: CustomEvent<W.SplitButtonSelectDetail>;
|
|
300
327
|
}>;
|
|
328
|
+
/** React wrapper for `<lof-stat>`. */
|
|
329
|
+
declare const LofStat: LofComponent<W.LofStat, "label" | "change" | "appearance" | "size" | "value" | "changeLabel" | "trend", {}>;
|
|
301
330
|
/** React wrapper for `<lof-stepper>`. */
|
|
302
331
|
declare const LofStepper: LofComponent<W.LofStepper, "type" | "size" | "orientation" | "connector" | "labelPlacement" | "steps" | "textAlign", {
|
|
303
332
|
onLofStepChange: CustomEvent<{
|
|
@@ -319,8 +348,14 @@ declare const LofTab: LofComponent<W.LofTab, "size" | "orientation" | "activeInd
|
|
|
319
348
|
}>;
|
|
320
349
|
/** React wrapper for `<lof-tab-item>`. */
|
|
321
350
|
declare const LofTabItem: LofComponent<W.LofTabItem, "label" | "disabled" | "value" | "badge" | "icon" | "badgeDot", {}>;
|
|
351
|
+
/** React wrapper for `<lof-table>`. */
|
|
352
|
+
declare const LofTable: LofComponent<W.LofTable, "appearance" | "fieldAriaLabel" | "loading" | "heading" | "density" | "columns" | "page" | "totalItems" | "selected" | "emptyText" | "grid" | "pageSize" | "pageSizeLabel" | "pageSizeOptions" | "pageSizeSuffix" | "rangeTemplate" | "rowKey" | "rows" | "selectable" | "serverSide" | "sortDirection" | "sortKey" | "stickyHeader", {
|
|
353
|
+
onLofPageChange: CustomEvent<W.TablePageDetail>;
|
|
354
|
+
onLofSelectionChange: CustomEvent<W.TableSelectionDetail>;
|
|
355
|
+
onLofSort: CustomEvent<W.TableSortDetail>;
|
|
356
|
+
}>;
|
|
322
357
|
/** React wrapper for `<lof-textfield>`. */
|
|
323
|
-
declare const LofTextfield: LofComponent<W.LofTextfield, "label" | "type" | "error" | "disabled" | "size" | "errorMessage" | "fieldAriaLabel" | "fieldAriaLabelledby" | "floatingLabel" | "fullWidth" | "helperText" | "labelStyle" | "name" | "placeholder" | "prefixIcon" | "readonly" | "required" | "value" | "variant" | "state" | "supportingText" | "leftIcon" | "rightIcon" | "clickableRightIcon" | "helperIcon" | "maxLength" | "multiline" | "prefixIconAriaLabel" | "prefixStyle" | "prefixText" | "rightIconAriaLabel" | "
|
|
358
|
+
declare const LofTextfield: LofComponent<W.LofTextfield, "label" | "type" | "error" | "disabled" | "size" | "errorMessage" | "fieldAriaLabel" | "fieldAriaLabelledby" | "floatingLabel" | "fullWidth" | "helperText" | "labelStyle" | "name" | "placeholder" | "prefixIcon" | "readonly" | "required" | "value" | "variant" | "state" | "supportingText" | "leftIcon" | "rightIcon" | "rows" | "clickableRightIcon" | "helperIcon" | "maxLength" | "multiline" | "prefixIconAriaLabel" | "prefixStyle" | "prefixText" | "rightIconAriaLabel" | "suffixDivider" | "suffixText", {
|
|
324
359
|
onLofChange: CustomEvent<string>;
|
|
325
360
|
onLofRightIconClick: CustomEvent<undefined>;
|
|
326
361
|
}>;
|
|
@@ -358,7 +393,7 @@ declare const LofTree: LofComponent<W.LofTree, "fieldAriaLabel" | "items" | "sel
|
|
|
358
393
|
}>;
|
|
359
394
|
}>;
|
|
360
395
|
/** React wrapper for `<lof-upload>`. */
|
|
361
|
-
declare const LofUpload: LofComponent<W.LofUpload, "disabled" | "multiple" | "
|
|
396
|
+
declare const LofUpload: LofComponent<W.LofUpload, "disabled" | "multiple" | "accept" | "maxSize" | "browseLabel" | "concurrency" | "delayThreshold" | "dropzoneTitle" | "files" | "hint" | "maxFiles" | "uploader", {
|
|
362
397
|
onLofCancel: CustomEvent<undefined>;
|
|
363
398
|
onLofChange: CustomEvent<{
|
|
364
399
|
files: W.UploadFile[];
|
|
@@ -409,7 +444,7 @@ declare const LofUploadActions: LofComponent<W.LofUploadActions, "cancelLabel" |
|
|
|
409
444
|
}>;
|
|
410
445
|
|
|
411
446
|
/** Every tag these wrappers render. */
|
|
412
|
-
declare const WRAPPED_TAGS: readonly ["lof-accordion", "lof-alert", "lof-autocomplete", "lof-avatar", "lof-avatar-group", "lof-badge", "lof-breadcrumbs", "lof-button", "lof-calendar", "lof-card", "lof-card-media", "lof-carousel", "lof-checkbox", "lof-chip", "lof-container", "lof-date-picker", "lof-divider", "lof-drawer", "lof-drawer-footer", "lof-kbd", "lof-kbd-group", "lof-layout", "lof-menu", "lof-menu-item", "lof-menubar", "lof-menubar-menu", "lof-modal", "lof-otp", "lof-pagination", "lof-popover", "lof-popover-content", "lof-progress", "lof-radio", "lof-range-picker", "lof-resizable-group", "lof-resizable-handle", "lof-resizable-panel", "lof-segmented-button", "lof-select", "lof-signature-pad", "lof-skeleton", "lof-slider", "lof-snackbar", "lof-split-button", "lof-stepper", "lof-switch", "lof-tab", "lof-tab-item", "lof-textfield", "lof-time-picker", "lof-toast", "lof-tooltip", "lof-tree", "lof-upload", "lof-upload-actions"];
|
|
447
|
+
declare const WRAPPED_TAGS: readonly ["lof-accordion", "lof-alert", "lof-autocomplete", "lof-avatar", "lof-avatar-group", "lof-badge", "lof-breadcrumbs", "lof-button", "lof-calendar", "lof-card", "lof-card-media", "lof-carousel", "lof-checkbox", "lof-chip", "lof-container", "lof-date-picker", "lof-divider", "lof-drawer", "lof-drawer-footer", "lof-empty-state", "lof-image-input", "lof-kbd", "lof-kbd-group", "lof-layout", "lof-link", "lof-menu", "lof-menu-item", "lof-menubar", "lof-menubar-menu", "lof-modal", "lof-nav", "lof-otp", "lof-page-header", "lof-pagination", "lof-popover", "lof-popover-content", "lof-progress", "lof-radio", "lof-range-picker", "lof-rating", "lof-resizable-group", "lof-resizable-handle", "lof-resizable-panel", "lof-segmented-button", "lof-select", "lof-signature-pad", "lof-skeleton", "lof-slider", "lof-snackbar", "lof-split-button", "lof-stat", "lof-stepper", "lof-switch", "lof-tab", "lof-tab-item", "lof-table", "lof-textfield", "lof-time-picker", "lof-toast", "lof-tooltip", "lof-tree", "lof-upload", "lof-upload-actions"];
|
|
413
448
|
|
|
414
449
|
/**
|
|
415
450
|
* Registers every lof-* element (and lof-icon) by loading @lofid/web.
|
|
@@ -418,4 +453,4 @@ declare const WRAPPED_TAGS: readonly ["lof-accordion", "lof-alert", "lof-autocom
|
|
|
418
453
|
*/
|
|
419
454
|
declare function defineElements(): Promise<void>;
|
|
420
455
|
|
|
421
|
-
export { type AttributeSpec, type EventHandlers, LofAccordion, LofAlert, LofAutocomplete, LofAvatar, LofAvatarGroup, LofBadge, LofBreadcrumbs, LofButton, LofCalendar, LofCard, LofCardMedia, LofCarousel, LofCheckbox, LofChip, type LofComponent, LofContainer, LofDatePicker, LofDivider, LofDrawer, LofDrawerFooter, LofKbd, LofKbdGroup, LofLayout, LofMenu, LofMenuItem, LofMenubar, LofMenubarMenu, LofModal, LofOtp, LofPagination, LofPopover, LofPopoverContent, LofProgress, type LofProps, LofRadio, LofRangePicker, LofResizableGroup, LofResizableHandle, LofResizablePanel, LofSegmentedButton, LofSelect, LofSignaturePad, LofSkeleton, LofSlider, LofSnackbar, LofSplitButton, LofStepper, LofSwitch, LofTab, LofTabItem, LofTextfield, LofTimePicker, LofToast, LofTooltip, LofTree, LofUpload, LofUploadActions, WRAPPED_TAGS, createComponent, defineElements };
|
|
456
|
+
export { type AttributeSpec, type EventHandlers, LofAccordion, LofAlert, LofAutocomplete, LofAvatar, LofAvatarGroup, LofBadge, LofBreadcrumbs, LofButton, LofCalendar, LofCard, LofCardMedia, LofCarousel, LofCheckbox, LofChip, type LofComponent, LofContainer, LofDatePicker, LofDivider, LofDrawer, LofDrawerFooter, LofEmptyState, LofImageInput, LofKbd, LofKbdGroup, LofLayout, LofLink, LofMenu, LofMenuItem, LofMenubar, LofMenubarMenu, LofModal, LofNav, LofOtp, LofPageHeader, LofPagination, LofPopover, LofPopoverContent, LofProgress, type LofProps, LofRadio, LofRangePicker, LofRating, LofResizableGroup, LofResizableHandle, LofResizablePanel, LofSegmentedButton, LofSelect, LofSignaturePad, LofSkeleton, LofSlider, LofSnackbar, LofSplitButton, LofStat, LofStepper, LofSwitch, LofTab, LofTabItem, LofTable, LofTextfield, LofTimePicker, LofToast, LofTooltip, LofTree, LofUpload, LofUploadActions, WRAPPED_TAGS, createComponent, defineElements };
|
package/dist/index.js
CHANGED
|
@@ -147,7 +147,7 @@ var LofCalendar = /* @__PURE__ */ createComponent(
|
|
|
147
147
|
);
|
|
148
148
|
var LofCard = /* @__PURE__ */ createComponent(
|
|
149
149
|
"lof-card",
|
|
150
|
-
{ type: "type" },
|
|
150
|
+
{ description: "description", flush: "?flush", heading: "heading", type: "type" },
|
|
151
151
|
{}
|
|
152
152
|
);
|
|
153
153
|
var LofCardMedia = /* @__PURE__ */ createComponent(
|
|
@@ -195,6 +195,16 @@ var LofDrawerFooter = /* @__PURE__ */ createComponent(
|
|
|
195
195
|
{},
|
|
196
196
|
{}
|
|
197
197
|
);
|
|
198
|
+
var LofEmptyState = /* @__PURE__ */ createComponent(
|
|
199
|
+
"lof-empty-state",
|
|
200
|
+
{ align: "align", description: "description", heading: "heading", headingLevel: "heading-level", icon: "icon", size: "size" },
|
|
201
|
+
{}
|
|
202
|
+
);
|
|
203
|
+
var LofImageInput = /* @__PURE__ */ createComponent(
|
|
204
|
+
"lof-image-input",
|
|
205
|
+
{ accept: "accept", disabled: "?disabled", fieldAriaLabel: "field-aria-label", maxSize: "max-size", name: "name", noRemove: "?no-remove", shape: "shape", size: "size", src: "src" },
|
|
206
|
+
{ onLofChange: "lof-change", onLofError: "lof-error", onLofRemove: "lof-remove" }
|
|
207
|
+
);
|
|
198
208
|
var LofKbd = /* @__PURE__ */ createComponent(
|
|
199
209
|
"lof-kbd",
|
|
200
210
|
{ inset: "?inset", keyName: "key-name", pill: "?pill", platform: "platform", size: "size", variant: "variant" },
|
|
@@ -210,6 +220,11 @@ var LofLayout = /* @__PURE__ */ createComponent(
|
|
|
210
220
|
{ columns: "columns", gap: "gap", responsive: "?responsive" },
|
|
211
221
|
{}
|
|
212
222
|
);
|
|
223
|
+
var LofLink = /* @__PURE__ */ createComponent(
|
|
224
|
+
"lof-link",
|
|
225
|
+
{ arrow: "?arrow", disabled: "?disabled", href: "href", inherit: "?inherit", rel: "rel", size: "size", target: "target", tone: "tone", underline: "underline" },
|
|
226
|
+
{}
|
|
227
|
+
);
|
|
213
228
|
var LofMenu = /* @__PURE__ */ createComponent(
|
|
214
229
|
"lof-menu",
|
|
215
230
|
{ items: null, size: "size", type: "type", width: "width" },
|
|
@@ -235,11 +250,21 @@ var LofModal = /* @__PURE__ */ createComponent(
|
|
|
235
250
|
{ autoFocus: "?auto-focus", breakpoint: "breakpoint", closeOnBackdropClick: "?close-on-backdrop-click", closeOnEscape: "?close-on-escape", description: "description", disabled: "?disabled", dismissible: "?dismissible", loading: "?loading", modal: "?modal", open: "?open", restoreFocus: "?restore-focus", scrollable: "?scrollable", showCloseButton: "?show-close-button", side: "side", size: "size", subtitle: "subtitle", title: "title", variant: "variant", zIndex: "z-index" },
|
|
236
251
|
{ onLofOpenChange: "lof-open-change" }
|
|
237
252
|
);
|
|
253
|
+
var LofNav = /* @__PURE__ */ createComponent(
|
|
254
|
+
"lof-nav",
|
|
255
|
+
{ collapsed: "?collapsed", fieldAriaLabel: "field-aria-label", indicator: "indicator", items: null, value: "value" },
|
|
256
|
+
{ onLofSelect: "lof-select", onLofToggle: "lof-toggle" }
|
|
257
|
+
);
|
|
238
258
|
var LofOtp = /* @__PURE__ */ createComponent(
|
|
239
259
|
"lof-otp",
|
|
240
260
|
{ ariaLabel: "aria-label", autocomplete: "autocomplete", disabled: "?disabled", groupSize: "group-size", inputmode: "inputmode", inputMode: "input-mode", invalid: "?invalid", length: "length", mask: "?mask", name: "name", pattern: "pattern", placeholder: "placeholder", readonly: "?readonly", required: "?required", showSeparator: "?show-separator", size: "size", type: "type", value: "value" },
|
|
241
261
|
{ onLofChange: "lof-change", onLofComplete: "lof-complete" }
|
|
242
262
|
);
|
|
263
|
+
var LofPageHeader = /* @__PURE__ */ createComponent(
|
|
264
|
+
"lof-page-header",
|
|
265
|
+
{ description: "description", divider: "?divider", heading: "heading", headingLevel: "heading-level", layout: "layout" },
|
|
266
|
+
{}
|
|
267
|
+
);
|
|
243
268
|
var LofPagination = /* @__PURE__ */ createComponent(
|
|
244
269
|
"lof-pagination",
|
|
245
270
|
{ ariaLabel: "arialabel", defaultPage: "default-page", disabled: "?disabled", hrefTemplate: "href-template", page: "page", perPage: "per-page", rowsPerPageLabel: "rows-per-page-label", rowsPerPageOptions: null, showLabel: "?show-label", showRowsPerPage: "?show-rows-per-page", totalItems: "total-items", totalPages: "total-pages", type: "type" },
|
|
@@ -270,6 +295,11 @@ var LofRangePicker = /* @__PURE__ */ createComponent(
|
|
|
270
295
|
{ clearable: "?clearable", disabled: "?disabled", from: "from", fullWidth: "?full-width", height: "height", locale: "locale", maxDate: "max-date", maxHeight: "max-height", maxWidth: "max-width", minDate: "min-date", minHeight: "min-height", minWidth: "min-width", mode: "mode", open: "?open", placeholder: "placeholder", size: "size", to: "to", triggerVariant: "trigger-variant", weekStart: "week-start", width: "width" },
|
|
271
296
|
{ onLofBlur: "lof-blur", onLofChange: "lof-change", onLofOpenChange: "lof-open-change" }
|
|
272
297
|
);
|
|
298
|
+
var LofRating = /* @__PURE__ */ createComponent(
|
|
299
|
+
"lof-rating",
|
|
300
|
+
{ disabled: "?disabled", fieldAriaLabel: "field-aria-label", max: "max", name: "name", readonly: "?readonly", showValue: "?show-value", size: "size", step: "step", value: "value" },
|
|
301
|
+
{ onLofChange: "lof-change" }
|
|
302
|
+
);
|
|
273
303
|
var LofResizableGroup = /* @__PURE__ */ createComponent(
|
|
274
304
|
"lof-resizable-group",
|
|
275
305
|
{ direction: "direction" },
|
|
@@ -320,6 +350,11 @@ var LofSplitButton = /* @__PURE__ */ createComponent(
|
|
|
320
350
|
{ ariaLabel: "aria-label", disabled: "?disabled", icon: "icon", iconOnly: "?icon-only", items: null, label: "label", loading: "?loading", menuLabel: "menu-label", open: "?open", size: "size", tone: "tone", variant: "variant" },
|
|
321
351
|
{ onLofOpenChange: "lof-open-change", onLofSelect: "lof-select" }
|
|
322
352
|
);
|
|
353
|
+
var LofStat = /* @__PURE__ */ createComponent(
|
|
354
|
+
"lof-stat",
|
|
355
|
+
{ appearance: "appearance", change: "change", changeLabel: "change-label", label: "label", size: "size", trend: "trend", value: "value" },
|
|
356
|
+
{}
|
|
357
|
+
);
|
|
323
358
|
var LofStepper = /* @__PURE__ */ createComponent(
|
|
324
359
|
"lof-stepper",
|
|
325
360
|
{ connector: "connector", labelPlacement: "label-placement", orientation: "orientation", size: "size", steps: null, textAlign: "textalign", type: "type" },
|
|
@@ -340,6 +375,11 @@ var LofTabItem = /* @__PURE__ */ createComponent(
|
|
|
340
375
|
{ badge: "badge", badgeDot: "?badge-dot", disabled: "?disabled", icon: "icon", label: "label", value: "value" },
|
|
341
376
|
{}
|
|
342
377
|
);
|
|
378
|
+
var LofTable = /* @__PURE__ */ createComponent(
|
|
379
|
+
"lof-table",
|
|
380
|
+
{ appearance: "appearance", columns: null, density: "density", emptyText: "empty-text", fieldAriaLabel: "field-aria-label", grid: "?grid", heading: "heading", loading: "?loading", page: "page", pageSize: "page-size", pageSizeLabel: "page-size-label", pageSizeOptions: null, pageSizeSuffix: "page-size-suffix", rangeTemplate: "range-template", rowKey: "row-key", rows: null, selectable: "?selectable", selected: null, serverSide: "?server-side", sortDirection: "sort-direction", sortKey: "sort-key", stickyHeader: "?sticky-header", totalItems: "total-items" },
|
|
381
|
+
{ onLofPageChange: "lof-page-change", onLofSelectionChange: "lof-selection-change", onLofSort: "lof-sort" }
|
|
382
|
+
);
|
|
343
383
|
var LofTextfield = /* @__PURE__ */ createComponent(
|
|
344
384
|
"lof-textfield",
|
|
345
385
|
{ clickableRightIcon: "?clickable-right-icon", disabled: "?disabled", error: "?error", errorMessage: "error-message", fieldAriaLabel: "field-aria-label", fieldAriaLabelledby: "field-aria-labelledby", floatingLabel: "?floatinglabel", fullWidth: "?full-width", helperIcon: "helper-icon", helperText: "helper-text", label: "label", labelStyle: "label-style", leftIcon: "left-icon", maxLength: "maxlength", multiline: "?multiline", name: "name", placeholder: "placeholder", prefixIcon: "prefix-icon", prefixIconAriaLabel: "prefix-icon-aria-label", prefixStyle: "prefix-style", prefixText: "prefix-text", readonly: "?readonly", required: "?required", rightIcon: "right-icon", rightIconAriaLabel: "right-icon-aria-label", rows: "rows", size: "size", state: "state", suffixDivider: "?suffix-divider", suffixText: "suffix-text", supportingText: "supportingtext", type: "type", value: "value", variant: "variant" },
|
|
@@ -395,21 +435,27 @@ var WRAPPED_TAGS = [
|
|
|
395
435
|
"lof-divider",
|
|
396
436
|
"lof-drawer",
|
|
397
437
|
"lof-drawer-footer",
|
|
438
|
+
"lof-empty-state",
|
|
439
|
+
"lof-image-input",
|
|
398
440
|
"lof-kbd",
|
|
399
441
|
"lof-kbd-group",
|
|
400
442
|
"lof-layout",
|
|
443
|
+
"lof-link",
|
|
401
444
|
"lof-menu",
|
|
402
445
|
"lof-menu-item",
|
|
403
446
|
"lof-menubar",
|
|
404
447
|
"lof-menubar-menu",
|
|
405
448
|
"lof-modal",
|
|
449
|
+
"lof-nav",
|
|
406
450
|
"lof-otp",
|
|
451
|
+
"lof-page-header",
|
|
407
452
|
"lof-pagination",
|
|
408
453
|
"lof-popover",
|
|
409
454
|
"lof-popover-content",
|
|
410
455
|
"lof-progress",
|
|
411
456
|
"lof-radio",
|
|
412
457
|
"lof-range-picker",
|
|
458
|
+
"lof-rating",
|
|
413
459
|
"lof-resizable-group",
|
|
414
460
|
"lof-resizable-handle",
|
|
415
461
|
"lof-resizable-panel",
|
|
@@ -420,10 +466,12 @@ var WRAPPED_TAGS = [
|
|
|
420
466
|
"lof-slider",
|
|
421
467
|
"lof-snackbar",
|
|
422
468
|
"lof-split-button",
|
|
469
|
+
"lof-stat",
|
|
423
470
|
"lof-stepper",
|
|
424
471
|
"lof-switch",
|
|
425
472
|
"lof-tab",
|
|
426
473
|
"lof-tab-item",
|
|
474
|
+
"lof-table",
|
|
427
475
|
"lof-textfield",
|
|
428
476
|
"lof-time-picker",
|
|
429
477
|
"lof-toast",
|
|
@@ -460,21 +508,27 @@ export {
|
|
|
460
508
|
LofDivider,
|
|
461
509
|
LofDrawer,
|
|
462
510
|
LofDrawerFooter,
|
|
511
|
+
LofEmptyState,
|
|
512
|
+
LofImageInput,
|
|
463
513
|
LofKbd,
|
|
464
514
|
LofKbdGroup,
|
|
465
515
|
LofLayout,
|
|
516
|
+
LofLink,
|
|
466
517
|
LofMenu,
|
|
467
518
|
LofMenuItem,
|
|
468
519
|
LofMenubar,
|
|
469
520
|
LofMenubarMenu,
|
|
470
521
|
LofModal,
|
|
522
|
+
LofNav,
|
|
471
523
|
LofOtp,
|
|
524
|
+
LofPageHeader,
|
|
472
525
|
LofPagination,
|
|
473
526
|
LofPopover,
|
|
474
527
|
LofPopoverContent,
|
|
475
528
|
LofProgress,
|
|
476
529
|
LofRadio,
|
|
477
530
|
LofRangePicker,
|
|
531
|
+
LofRating,
|
|
478
532
|
LofResizableGroup,
|
|
479
533
|
LofResizableHandle,
|
|
480
534
|
LofResizablePanel,
|
|
@@ -485,10 +539,12 @@ export {
|
|
|
485
539
|
LofSlider,
|
|
486
540
|
LofSnackbar,
|
|
487
541
|
LofSplitButton,
|
|
542
|
+
LofStat,
|
|
488
543
|
LofStepper,
|
|
489
544
|
LofSwitch,
|
|
490
545
|
LofTab,
|
|
491
546
|
LofTabItem,
|
|
547
|
+
LofTable,
|
|
492
548
|
LofTextfield,
|
|
493
549
|
LofTimePicker,
|
|
494
550
|
LofToast,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/create-component.ts","../src/generated.ts","../src/index.ts"],"sourcesContent":["import {\n createElement,\n forwardRef,\n useCallback,\n useEffect,\n useLayoutEffect,\n useRef,\n version,\n type ForwardRefExoticComponent,\n type HTMLAttributes,\n type ReactNode,\n type RefAttributes,\n} from \"react\";\n\n/** Event handler props, e.g. `{ onLofChange: (e: CustomEvent<{ value: string }>) => void }`. */\nexport type EventHandlers<Events> = { [K in keyof Events]?: (event: Events[K]) => void };\n\n/**\n * Props of a wrapper: the element's public properties (typed from the element class),\n * its event handlers, and ordinary HTML attributes (className, style, id, slot, aria-*, data-*).\n */\nexport type LofProps<E extends HTMLElement, P extends keyof E, Events> = { [K in P]?: E[K] } & EventHandlers<Events> &\n Omit<HTMLAttributes<E>, P | keyof Events> & { children?: ReactNode };\n\nexport type LofComponent<E extends HTMLElement, P extends keyof E, Events> = ForwardRefExoticComponent<\n LofProps<E, P, Events> & RefAttributes<E>\n>;\n\n// useLayoutEffect warns during server rendering; neither effect runs there anyway.\nconst useClientLayoutEffect = typeof window === \"undefined\" ? useEffect : useLayoutEffect;\n\nconst NO_DEFAULT = Symbol(\"no-default\");\n\n// React 18 writes `className` on a custom element as a literal \"classname\"\n// attribute; React 19 maps it to `class` itself.\nconst CLASS_PROP = Number.parseInt(version, 10) >= 19 ? \"className\" : \"class\";\n\n/**\n * How a property also renders as an attribute: `\"attr\"` for strings and numbers,\n * `\"?attr\"` for booleans (present only when `true`), `null` for property-only\n * values such as arrays, objects and functions.\n */\nexport type AttributeSpec = string | null;\n\n/**\n * Builds a React component that renders `tag` and bridges what React 18 cannot:\n *\n * - **Properties.** Every key of `props` is assigned to the element as a JS\n * property after each render, before paint. React 18 alone would set a string\n * attribute, which breaks arrays, objects, `false` booleans and camelCase names\n * whose attribute differs (`selectedValues` is `selected-values`). A property\n * dropped from the props goes back to the element's default.\n * - **Attributes.** Strings, numbers and `true` booleans are also rendered under\n * their attribute name, so server-rendered HTML carries them and the element\n * looks right the moment it is defined, before React hydrates.\n * - **Events.** Each `onX` key of `events` listens for the custom event it names.\n * Only events the element itself dispatches reach the handler: the events bubble,\n * so a `<LofSelect>` inside a `<LofTab>` would otherwise call the tab's\n * `onLofChange` with the select's detail.\n *\n * Nothing here imports the web package, so wrappers render on the server as plain\n * tags. Register the elements once on the client (see `defineElements`).\n */\nexport function createComponent<E extends HTMLElement, P extends keyof E & string, Events extends Record<string, Event>>(\n tag: string,\n props: { readonly [K in P]: AttributeSpec },\n events: { readonly [K in keyof Events]: string }\n): LofComponent<E, P, Events> {\n const specs = props as Record<string, AttributeSpec>;\n const eventEntries = Object.entries(events) as [keyof Events & string, string][];\n\n const Component = forwardRef<E, LofProps<E, P, Events>>((props, forwardedRef) => {\n const node = useRef<E | null>(null);\n const handlers = useRef<Record<string, unknown>>({});\n const defaults = useRef(new Map<string, unknown>());\n const applied = useRef(new Set<string>());\n\n const domProps: Record<string, unknown> = {};\n const attributes: Record<string, unknown> = {};\n const elementProps: Record<string, unknown> = {};\n const handlerProps: Record<string, unknown> = {};\n for (const key in props) {\n const value = (props as Record<string, unknown>)[key];\n if (key in events) handlerProps[key] = value;\n else if (key in specs) {\n elementProps[key] = value;\n const spec = specs[key];\n if (spec === null || value == null) continue;\n if (spec[0] === \"?\") {\n if (value === true) attributes[spec.slice(1)] = true;\n } else if (typeof value === \"string\" || typeof value === \"number\") attributes[spec] = value;\n } else domProps[key === \"className\" ? CLASS_PROP : key] = value;\n }\n handlers.current = handlerProps;\n\n useClientLayoutEffect(() => {\n const el = node.current as unknown as Record<string, unknown> | null;\n if (!el) return;\n const upgraded = customElements.get(tag) !== undefined;\n for (const key in elementProps) {\n if (!defaults.current.has(key)) defaults.current.set(key, upgraded ? el[key] : NO_DEFAULT);\n const value = elementProps[key];\n if (el[key] !== value) el[key] = value;\n applied.current.add(key);\n }\n for (const key of applied.current) {\n if (key in elementProps) continue;\n const fallback = defaults.current.get(key);\n el[key] = fallback === NO_DEFAULT ? undefined : fallback;\n applied.current.delete(key);\n }\n });\n\n // Lit keeps properties set before the element upgrades, but only its reactive\n // ones. Any other accessor (lof-checkbox `checked`) would stay shadowed by the\n // own property, so re-assign those once the class is defined.\n useClientLayoutEffect(() => {\n if (customElements.get(tag)) return;\n let live = true;\n customElements.whenDefined(tag).then(() => {\n const el = node.current as unknown as Record<string, unknown> | null;\n if (!live || !el) return;\n for (const key of applied.current) {\n if (!Object.prototype.hasOwnProperty.call(el, key)) continue;\n const value = el[key];\n delete el[key];\n el[key] = value;\n }\n });\n return () => {\n live = false;\n };\n }, []);\n\n useClientLayoutEffect(() => {\n const el = node.current;\n if (!el || eventEntries.length === 0) return;\n const off = eventEntries.map(([prop, type]) => {\n const listener = (event: Event) => {\n if (event.target !== el) return;\n (handlers.current[prop] as ((e: Event) => void) | undefined)?.(event);\n };\n el.addEventListener(type, listener);\n return () => el.removeEventListener(type, listener);\n });\n return () => off.forEach((fn) => fn());\n }, []);\n\n const ref = useCallback(\n (el: E | null) => {\n node.current = el;\n if (typeof forwardedRef === \"function\") forwardedRef(el);\n else if (forwardedRef) forwardedRef.current = el;\n },\n [forwardedRef]\n );\n\n return createElement(tag, { ...domProps, ...attributes, ref });\n });\n Component.displayName = tag\n .split(\"-\")\n .map((p) => p[0].toUpperCase() + p.slice(1))\n .join(\"\");\n return Component as LofComponent<E, P, Events>;\n}\n","// Generated by scripts/generate.mjs from packages/web/src. Do not edit by hand:\n// change the web component, then run `npm run generate -w @lofid/react`.\n\nimport type * as W from \"@lofid/web\";\nimport { createComponent } from \"./create-component\";\n\n/** React wrapper for `<lof-accordion>`. */\nexport const LofAccordion = /* @__PURE__ */ createComponent<W.LofAccordion, \"appearance\" | \"contentType\" | \"disabled\" | \"open\" | \"size\" | \"title\" | \"type\", { onOpenChange: CustomEvent<boolean> }>(\n \"lof-accordion\",\n { appearance: \"appearance\", contentType: \"content-type\", disabled: \"?disabled\", open: \"?open\", size: \"size\", title: \"title\", type: \"type\" },\n { onOpenChange: \"open-change\" },\n);\n\n/** React wrapper for `<lof-alert>`. */\nexport const LofAlert = /* @__PURE__ */ createComponent<W.LofAlert, \"appearance\" | \"dismissed\" | \"dismissible\" | \"message1\" | \"message2\" | \"tone\" | \"type\" | \"urlHref\" | \"urlText\", { onDismiss: CustomEvent<undefined> }>(\n \"lof-alert\",\n { appearance: \"appearance\", dismissed: \"?dismissed\", dismissible: \"?dismissible\", message1: \"message1\", message2: \"message2\", tone: \"tone\", type: \"type\", urlHref: \"url-href\", urlText: \"url-text\" },\n { onDismiss: \"dismiss\" },\n);\n\n/** React wrapper for `<lof-autocomplete>`. */\nexport const LofAutocomplete = /* @__PURE__ */ createComponent<W.LofAutocomplete, \"clearable\" | \"debounceMs\" | \"disabled\" | \"displayField\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"fieldAriaLabelledby\" | \"filter\" | \"floatingLabel\" | \"fullWidth\" | \"helperText\" | \"items\" | \"label\" | \"labelStyle\" | \"loading\" | \"loadingText\" | \"maxSuggestions\" | \"minSearchLength\" | \"multiple\" | \"name\" | \"noResultsText\" | \"placeholder\" | \"prefixIcon\" | \"readonly\" | \"required\" | \"searchFn\" | \"selectAllLabel\" | \"selectedValues\" | \"size\" | \"supportingField\" | \"value\" | \"valueField\" | \"variant\", { onChanged: CustomEvent<{ value: string; item: W.AutocompleteItem; } | { value: string[]; item: null; } | { value: string; item: null; }>; onLofChange: CustomEvent<string>; onLofClear: CustomEvent<undefined>; onLofSearchError: CustomEvent<{ query: string; error: unknown; }> }>(\n \"lof-autocomplete\",\n { clearable: \"?clearable\", debounceMs: \"debounce-ms\", disabled: \"?disabled\", displayField: \"display-field\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", fieldAriaLabelledby: \"field-aria-labelledby\", filter: \"filter\", floatingLabel: \"?floating-label\", fullWidth: \"?full-width\", helperText: \"helper-text\", items: null, label: \"label\", labelStyle: \"label-style\", loading: \"?loading\", loadingText: \"loading-text\", maxSuggestions: \"max-suggestions\", minSearchLength: \"min-search-length\", multiple: \"?multiple\", name: \"name\", noResultsText: \"no-results-text\", placeholder: \"placeholder\", prefixIcon: \"prefix-icon\", readonly: \"?readonly\", required: \"?required\", searchFn: null, selectAllLabel: \"select-all-label\", selectedValues: null, size: \"size\", supportingField: \"supporting-field\", value: \"value\", valueField: \"value-field\", variant: \"variant\" },\n { onChanged: \"changed\", onLofChange: \"lof-change\", onLofClear: \"lof-clear\", onLofSearchError: \"lof-search-error\" },\n);\n\n/** React wrapper for `<lof-avatar>`. */\nexport const LofAvatar = /* @__PURE__ */ createComponent<W.LofAvatar, \"alt\" | \"badge\" | \"badgeIcon\" | \"badgeLabel\" | \"bg\" | \"color\" | \"icon\" | \"ring\" | \"size\" | \"src\" | \"text\" | \"type\" | \"variant\", {}>(\n \"lof-avatar\",\n { alt: \"alt\", badge: \"badge\", badgeIcon: \"badge-icon\", badgeLabel: \"badge-label\", bg: \"bg\", color: \"color\", icon: \"icon\", ring: \"?ring\", size: \"size\", src: \"src\", text: \"text\", type: \"type\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-avatar-group>`. */\nexport const LofAvatarGroup = /* @__PURE__ */ createComponent<W.LofAvatarGroup, \"label\" | \"max\" | \"overflowLabel\" | \"size\" | \"total\", {}>(\n \"lof-avatar-group\",\n { label: \"label\", max: \"max\", overflowLabel: \"overflow-label\", size: \"size\", total: \"total\" },\n {},\n);\n\n/** React wrapper for `<lof-badge>`. */\nexport const LofBadge = /* @__PURE__ */ createComponent<W.LofBadge, \"ariaLabel\" | \"color\" | \"live\" | \"number\" | \"size\" | \"suffix\" | \"textColor\" | \"variant\", {}>(\n \"lof-badge\",\n { ariaLabel: \"arialabel\", color: \"color\", live: \"?live\", number: \"number\", size: \"size\", suffix: \"suffix\", textColor: \"text-color\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-breadcrumbs>`. */\nexport const LofBreadcrumbs = /* @__PURE__ */ createComponent<W.LofBreadcrumbs, \"ariaLabel\" | \"items\", {}>(\n \"lof-breadcrumbs\",\n { ariaLabel: \"aria-label\", items: null },\n {},\n);\n\n/** React wrapper for `<lof-button>`. */\nexport const LofButton = /* @__PURE__ */ createComponent<W.LofButton, \"ariaLabel\" | \"badge\" | \"badgeDot\" | \"border\" | \"disabled\" | \"iconOnly\" | \"loading\" | \"size\" | \"tone\" | \"variant\", {}>(\n \"lof-button\",\n { ariaLabel: \"aria-label\", badge: \"badge\", badgeDot: \"?badge-dot\", border: \"border\", disabled: \"?disabled\", iconOnly: \"?icon-only\", loading: \"?loading\", size: \"size\", tone: \"tone\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-calendar>`. */\nexport const LofCalendar = /* @__PURE__ */ createComponent<W.LofCalendar, \"disabled\" | \"isDateDisabled\" | \"locale\" | \"max\" | \"min\" | \"value\" | \"weekStart\", { onLofChange: CustomEvent<{ value: string; date: Date; }> }>(\n \"lof-calendar\",\n { disabled: \"?disabled\", isDateDisabled: null, locale: \"locale\", max: \"max\", min: \"min\", value: \"value\", weekStart: \"week-start\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-card>`. */\nexport const LofCard = /* @__PURE__ */ createComponent<W.LofCard, \"type\", {}>(\n \"lof-card\",\n { type: \"type\" },\n {},\n);\n\n/** React wrapper for `<lof-card-media>`. */\nexport const LofCardMedia = /* @__PURE__ */ createComponent<W.LofCardMedia, \"imageAlt\" | \"imageSrc\" | \"subtitle\" | \"title\", {}>(\n \"lof-card-media\",\n { imageAlt: \"image-alt\", imageSrc: \"image-src\", subtitle: \"subtitle\", title: \"title\" },\n {},\n);\n\n/** React wrapper for `<lof-carousel>`. */\nexport const LofCarousel = /* @__PURE__ */ createComponent<W.LofCarousel, \"autoplay\" | \"disabled\" | \"gap\" | \"interval\" | \"label\" | \"loop\" | \"orientation\" | \"panels\" | \"pauseOnHover\" | \"showButtons\" | \"showDots\" | \"type\" | \"value\", { onLofChange: CustomEvent<{ value: number; }> }>(\n \"lof-carousel\",\n { autoplay: \"?autoplay\", disabled: \"?disabled\", gap: \"gap\", interval: \"interval\", label: \"label\", loop: \"?loop\", orientation: \"orientation\", panels: \"panels\", pauseOnHover: \"?pause-on-hover\", showButtons: \"?show-buttons\", showDots: null, type: \"type\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-checkbox>`. */\nexport const LofCheckbox = /* @__PURE__ */ createComponent<W.LofCheckbox, \"alignment\" | \"checked\" | \"density\" | \"disabled\" | \"fieldAriaLabel\" | \"icon\" | \"label\" | \"size\" | \"state\" | \"status\" | \"supportingtext\" | \"supportingText\" | \"value\", { onLofChange: CustomEvent<{ checked: boolean; value: string; }> }>(\n \"lof-checkbox\",\n { alignment: \"alignment\", checked: null, density: \"density\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", icon: \"icon\", label: \"label\", size: \"size\", state: \"state\", status: \"status\", supportingtext: \"supporting-text\", supportingText: null, value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-chip>`. */\nexport const LofChip = /* @__PURE__ */ createComponent<W.LofChip, \"avatar\" | \"border\" | \"draggableChip\" | \"fieldAriaLabel\" | \"label\" | \"leadingIcon\" | \"presentational\" | \"removable\" | \"removed\" | \"size\" | \"tone\" | \"trailingIcon\" | \"variant\", { onChipMove: CustomEvent<{ direction: number; }>; onRemoved: CustomEvent<undefined> }>(\n \"lof-chip\",\n { avatar: \"avatar\", border: \"border\", draggableChip: \"?draggable-chip\", fieldAriaLabel: \"field-aria-label\", label: \"label\", leadingIcon: \"leading-icon\", presentational: \"?presentational\", removable: \"?removable\", removed: \"?removed\", size: \"size\", tone: \"tone\", trailingIcon: \"trailing-icon\", variant: \"variant\" },\n { onChipMove: \"chip-move\", onRemoved: \"removed\" },\n);\n\n/** React wrapper for `<lof-container>`. */\nexport const LofContainer = /* @__PURE__ */ createComponent<W.LofContainer, \"background\" | \"padding\" | \"shadow\" | \"surface\", {}>(\n \"lof-container\",\n { background: \"background\", padding: \"padding\", shadow: \"?shadow\", surface: \"surface\" },\n {},\n);\n\n/** React wrapper for `<lof-date-picker>`. */\nexport const LofDatePicker = /* @__PURE__ */ createComponent<W.LofDatePicker, \"clearable\" | \"closeOnSelect\" | \"disabled\" | \"displayFormat\" | \"error\" | \"errorMessage\" | \"formatDate\" | \"fullWidth\" | \"helperText\" | \"isDateDisabled\" | \"label\" | \"locale\" | \"max\" | \"maxDate\" | \"min\" | \"minDate\" | \"name\" | \"open\" | \"placeholder\" | \"readonly\" | \"required\" | \"showShortcuts\" | \"size\" | \"value\" | \"variant\" | \"weekStart\", { onLofBlur: CustomEvent<undefined>; onLofChange: CustomEvent<{ value: string | null; date: Date; } | { value: null; date: null; }>; onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-date-picker\",\n { clearable: \"?clearable\", closeOnSelect: \"?close-on-select\", disabled: \"?disabled\", displayFormat: \"display-format\", error: \"?error\", errorMessage: \"error-message\", formatDate: null, fullWidth: \"?full-width\", helperText: \"helper-text\", isDateDisabled: null, label: \"label\", locale: \"locale\", max: \"max\", maxDate: \"max-date\", min: \"min\", minDate: \"min-date\", name: \"name\", open: \"?open\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", showShortcuts: null, size: \"size\", value: \"value\", variant: \"variant\", weekStart: \"week-start\" },\n { onLofBlur: \"lof-blur\", onLofChange: \"lof-change\", onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-divider>`. */\nexport const LofDivider = /* @__PURE__ */ createComponent<W.LofDivider, \"orientation\", {}>(\n \"lof-divider\",\n { orientation: \"orientation\" },\n {},\n);\n\n/** React wrapper for `<lof-drawer>`. */\nexport const LofDrawer = /* @__PURE__ */ createComponent<W.LofDrawer, \"closeOnBackdrop\" | \"closeOnEscape\" | \"description\" | \"dismissible\" | \"draggable\" | \"maxHeight\" | \"modal\" | \"open\" | \"showHandle\" | \"side\" | \"snapThreshold\" | \"title\" | \"width\", { onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-drawer\",\n { closeOnBackdrop: \"?close-on-backdrop\", closeOnEscape: \"?close-on-escape\", description: \"description\", dismissible: \"?dismissible\", draggable: \"?draggable\", maxHeight: \"max-height\", modal: \"?modal\", open: \"?open\", showHandle: \"?show-handle\", side: \"side\", snapThreshold: \"snap-threshold\", title: \"title\", width: \"width\" },\n { onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-drawer-footer>`. */\nexport const LofDrawerFooter = /* @__PURE__ */ createComponent<W.LofDrawerFooter, never, {}>(\n \"lof-drawer-footer\",\n {},\n {},\n);\n\n/** React wrapper for `<lof-kbd>`. */\nexport const LofKbd = /* @__PURE__ */ createComponent<W.LofKbd, \"inset\" | \"keyName\" | \"pill\" | \"platform\" | \"size\" | \"variant\", {}>(\n \"lof-kbd\",\n { inset: \"?inset\", keyName: \"key-name\", pill: \"?pill\", platform: \"platform\", size: \"size\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-kbd-group>`. */\nexport const LofKbdGroup = /* @__PURE__ */ createComponent<W.LofKbdGroup, \"items\" | \"platform\" | \"size\" | \"variant\", {}>(\n \"lof-kbd-group\",\n { items: null, platform: \"platform\", size: \"size\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-layout>`. */\nexport const LofLayout = /* @__PURE__ */ createComponent<W.LofLayout, \"columns\" | \"gap\" | \"responsive\", {}>(\n \"lof-layout\",\n { columns: \"columns\", gap: \"gap\", responsive: \"?responsive\" },\n {},\n);\n\n/** React wrapper for `<lof-menu>`. */\nexport const LofMenu = /* @__PURE__ */ createComponent<W.LofMenu, \"items\" | \"size\" | \"type\" | \"width\", { onLofCheck: CustomEvent<{ item: { checked: boolean; label: string; active?: boolean; disabled?: boolean; submenu?: W.MenuItem[]; open?: boolean; icon?: string; }; checked: boolean; }>; onLofSelect: CustomEvent<{ item: W.MenuItem; }>; onLofSubmenuSelect: CustomEvent<{ parent: W.MenuItem; sub: W.MenuItem | undefined; }> }>(\n \"lof-menu\",\n { items: null, size: \"size\", type: \"type\", width: \"width\" },\n { onLofCheck: \"lof-check\", onLofSelect: \"lof-select\", onLofSubmenuSelect: \"lof-submenu-select\" },\n);\n\n/** React wrapper for `<lof-menu-item>`. */\nexport const LofMenuItem = /* @__PURE__ */ createComponent<W.LofMenuItem, \"disabled\" | \"icon\" | \"label\" | \"value\", {}>(\n \"lof-menu-item\",\n { disabled: \"?disabled\", icon: \"icon\", label: \"label\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-menubar>`. */\nexport const LofMenubar = /* @__PURE__ */ createComponent<W.LofMenubar, \"bindShortcuts\" | \"type\", { onLofMenubarChange: CustomEvent<W.MenubarChangeDetail>; onLofMenubarSelect: CustomEvent<W.MenubarSelectDetail | { label: string; value: string | undefined; shortcut: string | undefined; }> }>(\n \"lof-menubar\",\n { bindShortcuts: \"?bind-shortcuts\", type: \"type\" },\n { onLofMenubarChange: \"lof-menubar-change\", onLofMenubarSelect: \"lof-menubar-select\" },\n);\n\n/** React wrapper for `<lof-menubar-menu>`. */\nexport const LofMenubarMenu = /* @__PURE__ */ createComponent<W.LofMenubarMenu, \"disabled\" | \"label\", {}>(\n \"lof-menubar-menu\",\n { disabled: \"?disabled\", label: \"label\" },\n {},\n);\n\n/** React wrapper for `<lof-modal>`. */\nexport const LofModal = /* @__PURE__ */ createComponent<W.LofModal, \"autoFocus\" | \"breakpoint\" | \"closeOnBackdropClick\" | \"closeOnEscape\" | \"description\" | \"disabled\" | \"dismissible\" | \"loading\" | \"modal\" | \"open\" | \"restoreFocus\" | \"scrollable\" | \"showCloseButton\" | \"side\" | \"size\" | \"subtitle\" | \"title\" | \"variant\" | \"zIndex\", { onLofOpenChange: CustomEvent<boolean> }>(\n \"lof-modal\",\n { autoFocus: \"?auto-focus\", breakpoint: \"breakpoint\", closeOnBackdropClick: \"?close-on-backdrop-click\", closeOnEscape: \"?close-on-escape\", description: \"description\", disabled: \"?disabled\", dismissible: \"?dismissible\", loading: \"?loading\", modal: \"?modal\", open: \"?open\", restoreFocus: \"?restore-focus\", scrollable: \"?scrollable\", showCloseButton: \"?show-close-button\", side: \"side\", size: \"size\", subtitle: \"subtitle\", title: \"title\", variant: \"variant\", zIndex: \"z-index\" },\n { onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-otp>`. */\nexport const LofOtp = /* @__PURE__ */ createComponent<W.LofOtp, \"ariaLabel\" | \"autocomplete\" | \"disabled\" | \"groupSize\" | \"inputmode\" | \"inputMode\" | \"invalid\" | \"length\" | \"mask\" | \"name\" | \"pattern\" | \"placeholder\" | \"readonly\" | \"required\" | \"showSeparator\" | \"size\" | \"type\" | \"value\", { onLofChange: CustomEvent<{ value: string; complete: boolean; }>; onLofComplete: CustomEvent<{ value: string; }> }>(\n \"lof-otp\",\n { ariaLabel: \"aria-label\", autocomplete: \"autocomplete\", disabled: \"?disabled\", groupSize: \"group-size\", inputmode: \"inputmode\", inputMode: \"input-mode\", invalid: \"?invalid\", length: \"length\", mask: \"?mask\", name: \"name\", pattern: \"pattern\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", showSeparator: \"?show-separator\", size: \"size\", type: \"type\", value: \"value\" },\n { onLofChange: \"lof-change\", onLofComplete: \"lof-complete\" },\n);\n\n/** React wrapper for `<lof-pagination>`. */\nexport const LofPagination = /* @__PURE__ */ createComponent<W.LofPagination, \"ariaLabel\" | \"defaultPage\" | \"disabled\" | \"hrefTemplate\" | \"page\" | \"perPage\" | \"rowsPerPageLabel\" | \"rowsPerPageOptions\" | \"showLabel\" | \"showRowsPerPage\" | \"totalItems\" | \"totalPages\" | \"type\", { onLofChange: CustomEvent<{ page: number; }>; onLofPerPageChange: CustomEvent<{ perPage: number; }> }>(\n \"lof-pagination\",\n { ariaLabel: \"arialabel\", defaultPage: \"default-page\", disabled: \"?disabled\", hrefTemplate: \"href-template\", page: \"page\", perPage: \"per-page\", rowsPerPageLabel: \"rows-per-page-label\", rowsPerPageOptions: null, showLabel: \"?show-label\", showRowsPerPage: \"?show-rows-per-page\", totalItems: \"total-items\", totalPages: \"total-pages\", type: \"type\" },\n { onLofChange: \"lof-change\", onLofPerPageChange: \"lof-per-page-change\" },\n);\n\n/** React wrapper for `<lof-popover>`. */\nexport const LofPopover = /* @__PURE__ */ createComponent<W.LofPopover, \"align\" | \"alignOffset\" | \"arrow\" | \"closeOnEscape\" | \"closeOnOutsideClick\" | \"defaultOpen\" | \"disabled\" | \"hasPopup\" | \"open\" | \"side\" | \"sideOffset\" | \"trapFocus\", { onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-popover\",\n { align: \"align\", alignOffset: \"align-offset\", arrow: \"?arrow\", closeOnEscape: \"?close-on-escape\", closeOnOutsideClick: \"?close-on-outside-click\", defaultOpen: \"?default-open\", disabled: \"?disabled\", hasPopup: \"has-popup\", open: \"?open\", side: \"side\", sideOffset: \"side-offset\", trapFocus: \"?trap-focus\" },\n { onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-popover-content>`. */\nexport const LofPopoverContent = /* @__PURE__ */ createComponent<W.LofPopoverContent, \"ariaLabel\" | \"size\", {}>(\n \"lof-popover-content\",\n { ariaLabel: \"aria-label\", size: \"size\" },\n {},\n);\n\n/** React wrapper for `<lof-progress>`. */\nexport const LofProgress = /* @__PURE__ */ createComponent<W.LofProgress, \"label\" | \"mode\" | \"value\", {}>(\n \"lof-progress\",\n { label: \"label\", mode: \"mode\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-radio>`. */\nexport const LofRadio = /* @__PURE__ */ createComponent<W.LofRadio, \"alignment\" | \"density\" | \"disabled\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"name\" | \"options\" | \"orientation\" | \"selectedValue\" | \"size\" | \"value\", { onLofChange: CustomEvent<{ value: string; checked: true; }> }>(\n \"lof-radio\",\n { alignment: \"alignment\", density: \"density\", disabled: \"?disabled\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", name: \"name\", options: null, orientation: \"orientation\", selectedValue: \"selected-value\", size: \"size\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-range-picker>`. */\nexport const LofRangePicker = /* @__PURE__ */ createComponent<W.LofRangePicker, \"clearable\" | \"disabled\" | \"from\" | \"fullWidth\" | \"height\" | \"locale\" | \"maxDate\" | \"maxHeight\" | \"maxWidth\" | \"minDate\" | \"minHeight\" | \"minWidth\" | \"mode\" | \"open\" | \"placeholder\" | \"size\" | \"to\" | \"triggerVariant\" | \"weekStart\" | \"width\", { onLofBlur: CustomEvent<undefined>; onLofChange: CustomEvent<{ from: string; to: string; label: string; }>; onLofOpenChange: CustomEvent<{ open: true; } | { open: false; }> }>(\n \"lof-range-picker\",\n { clearable: \"?clearable\", disabled: \"?disabled\", from: \"from\", fullWidth: \"?full-width\", height: \"height\", locale: \"locale\", maxDate: \"max-date\", maxHeight: \"max-height\", maxWidth: \"max-width\", minDate: \"min-date\", minHeight: \"min-height\", minWidth: \"min-width\", mode: \"mode\", open: \"?open\", placeholder: \"placeholder\", size: \"size\", to: \"to\", triggerVariant: \"trigger-variant\", weekStart: \"week-start\", width: \"width\" },\n { onLofBlur: \"lof-blur\", onLofChange: \"lof-change\", onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-resizable-group>`. */\nexport const LofResizableGroup = /* @__PURE__ */ createComponent<W.LofResizableGroup, \"direction\", { onLofResize: CustomEvent<{ direction: W.ResizableOrientation; sizes: number[]; }>; onLofResizeEnd: CustomEvent<{ direction: W.ResizableOrientation; sizes: number[]; }> }>(\n \"lof-resizable-group\",\n { direction: \"direction\" },\n { onLofResize: \"lof-resize\", onLofResizeEnd: \"lof-resize-end\" },\n);\n\n/** React wrapper for `<lof-resizable-handle>`. */\nexport const LofResizableHandle = /* @__PURE__ */ createComponent<W.LofResizableHandle, \"orientation\", {}>(\n \"lof-resizable-handle\",\n { orientation: \"orientation\" },\n {},\n);\n\n/** React wrapper for `<lof-resizable-panel>`. */\nexport const LofResizablePanel = /* @__PURE__ */ createComponent<W.LofResizablePanel, \"defaultSize\" | \"maxSize\" | \"minSize\" | \"panelLabel\", {}>(\n \"lof-resizable-panel\",\n { defaultSize: \"default-size\", maxSize: \"max-size\", minSize: \"min-size\", panelLabel: \"panel-label\" },\n {},\n);\n\n/** React wrapper for `<lof-segmented-button>`. */\nexport const LofSegmentedButton = /* @__PURE__ */ createComponent<W.LofSegmentedButton, \"active\" | \"align\" | \"disabled\" | \"fieldAriaLabel\" | \"options\" | \"size\", { onChanged: CustomEvent<{ value: string; }>; onLofChange: CustomEvent<{ value: string; }> }>(\n \"lof-segmented-button\",\n { active: \"active\", align: \"align\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", options: null, size: \"size\" },\n { onChanged: \"changed\", onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-select>`. */\nexport const LofSelect = /* @__PURE__ */ createComponent<W.LofSelect, \"border\" | \"fieldAriaLabel\" | \"fieldAriaLabelledby\" | \"label\" | \"labelStyle\" | \"leftIcon\" | \"maxVisibleChips\" | \"multiple\" | \"noSearch\" | \"options\" | \"placeholder\" | \"rightIcon\" | \"searchPlaceholder\" | \"selectAllLabel\" | \"selected\" | \"selectedValues\" | \"size\" | \"state\" | \"supportingIcon\" | \"supportingText\", { onChanged: CustomEvent<{ value: string | string[]; }>; onLofChange: CustomEvent<{ value: string | string[]; }> }>(\n \"lof-select\",\n { border: \"border\", fieldAriaLabel: \"field-aria-label\", fieldAriaLabelledby: \"field-aria-labelledby\", label: \"label\", labelStyle: \"label-style\", leftIcon: \"left-icon\", maxVisibleChips: \"max-visible-chips\", multiple: \"?multiple\", noSearch: \"?no-search\", options: null, placeholder: \"placeholder\", rightIcon: \"right-icon\", searchPlaceholder: \"search-placeholder\", selectAllLabel: \"select-all-label\", selected: \"selected\", selectedValues: null, size: \"size\", state: \"state\", supportingIcon: \"supporting-icon\", supportingText: \"supporting-text\" },\n { onChanged: \"changed\", onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-signature-pad>`. */\nexport const LofSignaturePad = /* @__PURE__ */ createComponent<W.LofSignaturePad, \"disabled\" | \"disabledText\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"helperText\" | \"label\" | \"mode\" | \"name\" | \"placeholder\" | \"readonly\" | \"required\" | \"strokes\" | \"typedName\" | \"value\", { onLofBegin: CustomEvent<{}>; onLofChange: CustomEvent<W.SignaturePadChangeDetail>; onLofEnd: CustomEvent<{}> }>(\n \"lof-signature-pad\",\n { disabled: \"?disabled\", disabledText: \"disabled-text\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", helperText: \"helper-text\", label: \"label\", mode: \"mode\", name: \"name\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", strokes: null, typedName: \"typed-name\", value: null },\n { onLofBegin: \"lof-begin\", onLofChange: \"lof-change\", onLofEnd: \"lof-end\" },\n);\n\n/** React wrapper for `<lof-skeleton>`. */\nexport const LofSkeleton = /* @__PURE__ */ createComponent<W.LofSkeleton, \"animation\" | \"height\" | \"lines\" | \"loaded\" | \"shape\" | \"width\", {}>(\n \"lof-skeleton\",\n { animation: \"animation\", height: \"height\", lines: \"lines\", loaded: \"?loaded\", shape: \"shape\", width: \"width\" },\n {},\n);\n\n/** React wrapper for `<lof-slider>`. */\nexport const LofSlider = /* @__PURE__ */ createComponent<W.LofSlider, \"disabled\" | \"fieldAriaLabel\" | \"max\" | \"min\" | \"showBubble\" | \"showTickLabels\" | \"showTicks\" | \"size\" | \"step\" | \"track\" | \"type\" | \"value\" | \"valueEnd\", { onLofChange: CustomEvent<{ value: number; valueEnd: number; } | { value: number; }> }>(\n \"lof-slider\",\n { disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", max: \"max\", min: \"min\", showBubble: \"?show-bubble\", showTickLabels: \"?show-tick-labels\", showTicks: \"?show-ticks\", size: \"size\", step: \"step\", track: \"track\", type: \"type\", value: \"value\", valueEnd: \"value-end\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-snackbar>`. */\nexport const LofSnackbar = /* @__PURE__ */ createComponent<W.LofSnackbar, \"action\" | \"duration\" | \"iconClose\" | \"lines\" | \"longerAction\" | \"message\" | \"show\" | \"tone\" | \"type\" | \"variant\", { onActionClick: CustomEvent<undefined>; onClose: CustomEvent<undefined> }>(\n \"lof-snackbar\",\n { action: \"action\", duration: \"duration\", iconClose: \"?icon-close\", lines: \"lines\", longerAction: \"?longeraction\", message: \"message\", show: \"?show\", tone: \"tone\", type: \"type\", variant: \"variant\" },\n { onActionClick: \"actionClick\", onClose: \"close\" },\n);\n\n/** React wrapper for `<lof-split-button>`. */\nexport const LofSplitButton = /* @__PURE__ */ createComponent<W.LofSplitButton, \"ariaLabel\" | \"disabled\" | \"icon\" | \"iconOnly\" | \"items\" | \"label\" | \"loading\" | \"menuLabel\" | \"open\" | \"size\" | \"tone\" | \"variant\", { onLofOpenChange: CustomEvent<{ open: boolean; }>; onLofSelect: CustomEvent<W.SplitButtonSelectDetail> }>(\n \"lof-split-button\",\n { ariaLabel: \"aria-label\", disabled: \"?disabled\", icon: \"icon\", iconOnly: \"?icon-only\", items: null, label: \"label\", loading: \"?loading\", menuLabel: \"menu-label\", open: \"?open\", size: \"size\", tone: \"tone\", variant: \"variant\" },\n { onLofOpenChange: \"lof-open-change\", onLofSelect: \"lof-select\" },\n);\n\n/** React wrapper for `<lof-stepper>`. */\nexport const LofStepper = /* @__PURE__ */ createComponent<W.LofStepper, \"connector\" | \"labelPlacement\" | \"orientation\" | \"size\" | \"steps\" | \"textAlign\" | \"type\", { onLofStepChange: CustomEvent<{ index: number; step: W.Step; }> }>(\n \"lof-stepper\",\n { connector: \"connector\", labelPlacement: \"label-placement\", orientation: \"orientation\", size: \"size\", steps: null, textAlign: \"textalign\", type: \"type\" },\n { onLofStepChange: \"lof-step-change\" },\n);\n\n/** React wrapper for `<lof-switch>`. */\nexport const LofSwitch = /* @__PURE__ */ createComponent<W.LofSwitch, \"checked\" | \"disabled\" | \"fieldAriaLabel\" | \"label\" | \"labelPlacement\" | \"size\" | \"type\" | \"value\", { onLofChange: CustomEvent<{ checked: boolean; value: string; }> }>(\n \"lof-switch\",\n { checked: \"?checked\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", label: \"label\", labelPlacement: \"label-placement\", size: \"size\", type: \"type\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-tab>`. */\nexport const LofTab = /* @__PURE__ */ createComponent<W.LofTab, \"activeIndex\" | \"iconPlacement\" | \"orientation\" | \"size\" | \"tabs\", { onLofChange: CustomEvent<number>; onLofTabChange: CustomEvent<number> }>(\n \"lof-tab\",\n { activeIndex: \"active-index\", iconPlacement: \"icon-placement\", orientation: \"orientation\", size: \"size\", tabs: null },\n { onLofChange: \"lof-change\", onLofTabChange: \"lof-tab-change\" },\n);\n\n/** React wrapper for `<lof-tab-item>`. */\nexport const LofTabItem = /* @__PURE__ */ createComponent<W.LofTabItem, \"badge\" | \"badgeDot\" | \"disabled\" | \"icon\" | \"label\" | \"value\", {}>(\n \"lof-tab-item\",\n { badge: \"badge\", badgeDot: \"?badge-dot\", disabled: \"?disabled\", icon: \"icon\", label: \"label\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-textfield>`. */\nexport const LofTextfield = /* @__PURE__ */ createComponent<W.LofTextfield, \"clickableRightIcon\" | \"disabled\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"fieldAriaLabelledby\" | \"floatingLabel\" | \"fullWidth\" | \"helperIcon\" | \"helperText\" | \"label\" | \"labelStyle\" | \"leftIcon\" | \"maxLength\" | \"multiline\" | \"name\" | \"placeholder\" | \"prefixIcon\" | \"prefixIconAriaLabel\" | \"prefixStyle\" | \"prefixText\" | \"readonly\" | \"required\" | \"rightIcon\" | \"rightIconAriaLabel\" | \"rows\" | \"size\" | \"state\" | \"suffixDivider\" | \"suffixText\" | \"supportingText\" | \"type\" | \"value\" | \"variant\", { onLofChange: CustomEvent<string>; onLofRightIconClick: CustomEvent<undefined> }>(\n \"lof-textfield\",\n { clickableRightIcon: \"?clickable-right-icon\", disabled: \"?disabled\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", fieldAriaLabelledby: \"field-aria-labelledby\", floatingLabel: \"?floatinglabel\", fullWidth: \"?full-width\", helperIcon: \"helper-icon\", helperText: \"helper-text\", label: \"label\", labelStyle: \"label-style\", leftIcon: \"left-icon\", maxLength: \"maxlength\", multiline: \"?multiline\", name: \"name\", placeholder: \"placeholder\", prefixIcon: \"prefix-icon\", prefixIconAriaLabel: \"prefix-icon-aria-label\", prefixStyle: \"prefix-style\", prefixText: \"prefix-text\", readonly: \"?readonly\", required: \"?required\", rightIcon: \"right-icon\", rightIconAriaLabel: \"right-icon-aria-label\", rows: \"rows\", size: \"size\", state: \"state\", suffixDivider: \"?suffix-divider\", suffixText: \"suffix-text\", supportingText: \"supportingtext\", type: \"type\", value: \"value\", variant: \"variant\" },\n { onLofChange: \"lof-change\", onLofRightIconClick: \"lof-right-icon-click\" },\n);\n\n/** React wrapper for `<lof-time-picker>`. */\nexport const LofTimePicker = /* @__PURE__ */ createComponent<W.LofTimePicker, \"clearable\" | \"disabled\" | \"error\" | \"errorMessage\" | \"format\" | \"fullWidth\" | \"helperText\" | \"invalid\" | \"label\" | \"maxTime\" | \"minTime\" | \"minuteStep\" | \"name\" | \"open\" | \"placeholder\" | \"readonly\" | \"required\" | \"seconds\" | \"size\" | \"value\" | \"variant\", { onLofBlur: CustomEvent<undefined>; onLofChange: CustomEvent<{ value: string | null; }>; onLofFocus: CustomEvent<undefined>; onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-time-picker\",\n { clearable: \"?clearable\", disabled: \"?disabled\", error: \"?error\", errorMessage: \"error-message\", format: \"format\", fullWidth: \"?full-width\", helperText: \"helper-text\", invalid: \"?invalid\", label: \"label\", maxTime: \"max-time\", minTime: \"min-time\", minuteStep: \"minute-step\", name: \"name\", open: \"?open\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", seconds: \"?seconds\", size: \"size\", value: \"value\", variant: \"variant\" },\n { onLofBlur: \"lof-blur\", onLofChange: \"lof-change\", onLofFocus: \"lof-focus\", onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-toast>`. */\nexport const LofToast = /* @__PURE__ */ createComponent<W.LofToast, \"actionLabel\" | \"dismissible\" | \"duration\" | \"maxVisible\" | \"message\" | \"position\" | \"show\" | \"size\" | \"tone\" | \"type\", { onAction: CustomEvent<undefined>; onDismissed: CustomEvent<undefined> }>(\n \"lof-toast\",\n { actionLabel: \"action-label\", dismissible: \"?dismissible\", duration: \"duration\", maxVisible: \"max-visible\", message: \"message\", position: \"position\", show: \"?show\", size: \"size\", tone: \"tone\", type: \"type\" },\n { onAction: \"action\", onDismissed: \"dismissed\" },\n);\n\n/** React wrapper for `<lof-tooltip>`. */\nexport const LofTooltip = /* @__PURE__ */ createComponent<W.LofTooltip, \"position\" | \"showTail\" | \"text\" | \"tone\" | \"type\", {}>(\n \"lof-tooltip\",\n { position: \"position\", showTail: \"?show-tail\", text: \"text\", tone: \"tone\", type: \"type\" },\n {},\n);\n\n/** React wrapper for `<lof-tree>`. */\nexport const LofTree = /* @__PURE__ */ createComponent<W.LofTree, \"expandedValues\" | \"fieldAriaLabel\" | \"items\" | \"selected\" | \"selectedValues\" | \"selection\" | \"showGuides\", { onLofChange: CustomEvent<{ value: string[]; } | { value: string; }>; onLofExpandedChange: CustomEvent<{ value: string; expanded: boolean; }>; onLofLoadChildren: CustomEvent<{ value: string; }> }>(\n \"lof-tree\",\n { expandedValues: null, fieldAriaLabel: \"field-aria-label\", items: null, selected: \"selected\", selectedValues: null, selection: \"selection\", showGuides: \"?show-guides\" },\n { onLofChange: \"lof-change\", onLofExpandedChange: \"lof-expanded-change\", onLofLoadChildren: \"lof-load-children\" },\n);\n\n/** React wrapper for `<lof-upload>`. */\nexport const LofUpload = /* @__PURE__ */ createComponent<W.LofUpload, \"accept\" | \"browseLabel\" | \"concurrency\" | \"delayThreshold\" | \"disabled\" | \"dropzoneTitle\" | \"files\" | \"hint\" | \"maxFiles\" | \"maxSize\" | \"multiple\" | \"uploader\", { onLofCancel: CustomEvent<undefined>; onLofChange: CustomEvent<{ files: W.UploadFile[]; }>; onLofComplete: CustomEvent<{ succeeded: W.UploadFile[]; failed: W.UploadFile[]; }>; onLofFileComplete: CustomEvent<{ id: string; file: File; }>; onLofFileError: CustomEvent<{ id: string; file: File; error: string; }>; onLofFileReplaced: CustomEvent<W.FileReplacedDetail>; onLofFilesAdded: CustomEvent<{ added: W.UploadFile[]; rejected: W.UploadRejection[]; }>; onLofInvalid: CustomEvent<{ rejected: W.UploadRejection[]; }>; onLofProgress: CustomEvent<{ id: string; progress: number; loaded: number; total: number; }>; onLofRemove: CustomEvent<{ id: string; file: File | undefined; }>; onLofRetry: CustomEvent<{ files: W.UploadFile[]; }>; onLofState: CustomEvent<W.UploadState>; onLofUpload: CustomEvent<{ files: W.UploadFile[]; }>; onLofUploadComplete: CustomEvent<W.UploadCompleteDetail> }>(\n \"lof-upload\",\n { accept: \"accept\", browseLabel: \"browse-label\", concurrency: \"concurrency\", delayThreshold: \"delay-threshold\", disabled: \"?disabled\", dropzoneTitle: \"dropzone-title\", files: null, hint: \"hint\", maxFiles: \"max-files\", maxSize: \"max-size\", multiple: \"?multiple\", uploader: null },\n { onLofCancel: \"lof-cancel\", onLofChange: \"lof-change\", onLofComplete: \"lof-complete\", onLofFileComplete: \"lof-file-complete\", onLofFileError: \"lof-file-error\", onLofFileReplaced: \"lof-file-replaced\", onLofFilesAdded: \"lof-files-added\", onLofInvalid: \"lof-invalid\", onLofProgress: \"lof-progress\", onLofRemove: \"lof-remove\", onLofRetry: \"lof-retry\", onLofState: \"lof-state\", onLofUpload: \"lof-upload\", onLofUploadComplete: \"lof-upload-complete\" },\n);\n\n/** React wrapper for `<lof-upload-actions>`. */\nexport const LofUploadActions = /* @__PURE__ */ createComponent<W.LofUploadActions, \"cancelLabel\" | \"for\" | \"noCancel\", { onLofCancel: CustomEvent<undefined> }>(\n \"lof-upload-actions\",\n { cancelLabel: \"cancel-label\", for: \"for\", noCancel: \"?no-cancel\" },\n { onLofCancel: \"lof-cancel\" },\n);\n\n/** The element instance behind each wrapper, for typing refs: `useRef<LofSelectElement>(null)`. */\nexport type {\n LofAccordion as LofAccordionElement,\n LofAlert as LofAlertElement,\n LofAutocomplete as LofAutocompleteElement,\n LofAvatar as LofAvatarElement,\n LofAvatarGroup as LofAvatarGroupElement,\n LofBadge as LofBadgeElement,\n LofBreadcrumbs as LofBreadcrumbsElement,\n LofButton as LofButtonElement,\n LofCalendar as LofCalendarElement,\n LofCard as LofCardElement,\n LofCardMedia as LofCardMediaElement,\n LofCarousel as LofCarouselElement,\n LofCheckbox as LofCheckboxElement,\n LofChip as LofChipElement,\n LofContainer as LofContainerElement,\n LofDatePicker as LofDatePickerElement,\n LofDivider as LofDividerElement,\n LofDrawer as LofDrawerElement,\n LofDrawerFooter as LofDrawerFooterElement,\n LofKbd as LofKbdElement,\n LofKbdGroup as LofKbdGroupElement,\n LofLayout as LofLayoutElement,\n LofMenu as LofMenuElement,\n LofMenuItem as LofMenuItemElement,\n LofMenubar as LofMenubarElement,\n LofMenubarMenu as LofMenubarMenuElement,\n LofModal as LofModalElement,\n LofOtp as LofOtpElement,\n LofPagination as LofPaginationElement,\n LofPopover as LofPopoverElement,\n LofPopoverContent as LofPopoverContentElement,\n LofProgress as LofProgressElement,\n LofRadio as LofRadioElement,\n LofRangePicker as LofRangePickerElement,\n LofResizableGroup as LofResizableGroupElement,\n LofResizableHandle as LofResizableHandleElement,\n LofResizablePanel as LofResizablePanelElement,\n LofSegmentedButton as LofSegmentedButtonElement,\n LofSelect as LofSelectElement,\n LofSignaturePad as LofSignaturePadElement,\n LofSkeleton as LofSkeletonElement,\n LofSlider as LofSliderElement,\n LofSnackbar as LofSnackbarElement,\n LofSplitButton as LofSplitButtonElement,\n LofStepper as LofStepperElement,\n LofSwitch as LofSwitchElement,\n LofTab as LofTabElement,\n LofTabItem as LofTabItemElement,\n LofTextfield as LofTextfieldElement,\n LofTimePicker as LofTimePickerElement,\n LofToast as LofToastElement,\n LofTooltip as LofTooltipElement,\n LofTree as LofTreeElement,\n LofUpload as LofUploadElement,\n LofUploadActions as LofUploadActionsElement,\n} from \"@lofid/web\";\n\n/** Every tag these wrappers render. */\nexport const WRAPPED_TAGS = [\n \"lof-accordion\",\n \"lof-alert\",\n \"lof-autocomplete\",\n \"lof-avatar\",\n \"lof-avatar-group\",\n \"lof-badge\",\n \"lof-breadcrumbs\",\n \"lof-button\",\n \"lof-calendar\",\n \"lof-card\",\n \"lof-card-media\",\n \"lof-carousel\",\n \"lof-checkbox\",\n \"lof-chip\",\n \"lof-container\",\n \"lof-date-picker\",\n \"lof-divider\",\n \"lof-drawer\",\n \"lof-drawer-footer\",\n \"lof-kbd\",\n \"lof-kbd-group\",\n \"lof-layout\",\n \"lof-menu\",\n \"lof-menu-item\",\n \"lof-menubar\",\n \"lof-menubar-menu\",\n \"lof-modal\",\n \"lof-otp\",\n \"lof-pagination\",\n \"lof-popover\",\n \"lof-popover-content\",\n \"lof-progress\",\n \"lof-radio\",\n \"lof-range-picker\",\n \"lof-resizable-group\",\n \"lof-resizable-handle\",\n \"lof-resizable-panel\",\n \"lof-segmented-button\",\n \"lof-select\",\n \"lof-signature-pad\",\n \"lof-skeleton\",\n \"lof-slider\",\n \"lof-snackbar\",\n \"lof-split-button\",\n \"lof-stepper\",\n \"lof-switch\",\n \"lof-tab\",\n \"lof-tab-item\",\n \"lof-textfield\",\n \"lof-time-picker\",\n \"lof-toast\",\n \"lof-tooltip\",\n \"lof-tree\",\n \"lof-upload\",\n \"lof-upload-actions\"\n] as const;\n","// @lofid/react: React wrappers for every @lofid/web element.\nexport * from \"./generated\";\nexport { createComponent } from \"./create-component\";\nexport type { AttributeSpec, EventHandlers, LofComponent, LofProps } from \"./create-component\";\n\nlet defined: Promise<void> | undefined;\n\n/**\n * Registers every lof-* element (and lof-icon) by loading @lofid/web.\n * Safe to call from anywhere and any number of times; it does nothing on the\n * server. Bundled SPAs can import \"@lofid/web\" at their entry instead.\n */\nexport function defineElements(): Promise<void> {\n if (typeof window === \"undefined\") return Promise.resolve();\n defined ??= import(\"@lofid/web\").then(() => undefined);\n return defined;\n}\n"],"mappings":";;;AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AAiBP,IAAM,wBAAwB,OAAO,WAAW,cAAc,YAAY;AAE1E,IAAM,aAAa,uBAAO,YAAY;AAItC,IAAM,aAAa,OAAO,SAAS,SAAS,EAAE,KAAK,KAAK,cAAc;AA4B/D,SAAS,gBACd,KACA,OACA,QAC4B;AAC5B,QAAM,QAAQ;AACd,QAAM,eAAe,OAAO,QAAQ,MAAM;AAE1C,QAAM,YAAY,WAAsC,CAACA,QAAO,iBAAiB;AAC/E,UAAM,OAAO,OAAiB,IAAI;AAClC,UAAM,WAAW,OAAgC,CAAC,CAAC;AACnD,UAAM,WAAW,OAAO,oBAAI,IAAqB,CAAC;AAClD,UAAM,UAAU,OAAO,oBAAI,IAAY,CAAC;AAExC,UAAM,WAAoC,CAAC;AAC3C,UAAM,aAAsC,CAAC;AAC7C,UAAM,eAAwC,CAAC;AAC/C,UAAM,eAAwC,CAAC;AAC/C,eAAW,OAAOA,QAAO;AACvB,YAAM,QAASA,OAAkC,GAAG;AACpD,UAAI,OAAO,OAAQ,cAAa,GAAG,IAAI;AAAA,eAC9B,OAAO,OAAO;AACrB,qBAAa,GAAG,IAAI;AAC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,cAAc,aAAa,cAAc,eAAe,gBAAgB,mBAAmB,qBAAqB,gBAAgB,kBAAkB,mBAAmB,qBAAqB,iBAAiB,mBAAmB,cAAc,eAAe,eAAe,gBAAgB,aAAa,cAAc,YAAY,aAAa,YAAY,aAAa,aAAa,cAAc,qBAAqB,sBAAsB;AAC9b;AAGO,IAAM,mBAAmC;AAAA,EAC9C;AAAA,EACA,EAAE,aAAa,gBAAgB,KAAK,OAAO,UAAU,aAAa;AAAA,EAClE,EAAE,aAAa,aAAa;AAC9B;AA8DO,IAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;ACtfA,IAAI;AAOG,SAAS,iBAAgC;AAC9C,MAAI,OAAO,WAAW,YAAa,QAAO,QAAQ,QAAQ;AAC1D,cAAY,OAAO,YAAY,EAAE,KAAK,MAAM,MAAS;AACrD,SAAO;AACT;","names":["props"]}
|
|
1
|
+
{"version":3,"sources":["../src/create-component.ts","../src/generated.ts","../src/index.ts"],"sourcesContent":["import {\n createElement,\n forwardRef,\n useCallback,\n useEffect,\n useLayoutEffect,\n useRef,\n version,\n type ForwardRefExoticComponent,\n type HTMLAttributes,\n type ReactNode,\n type RefAttributes,\n} from \"react\";\n\n/** Event handler props, e.g. `{ onLofChange: (e: CustomEvent<{ value: string }>) => void }`. */\nexport type EventHandlers<Events> = { [K in keyof Events]?: (event: Events[K]) => void };\n\n/**\n * Props of a wrapper: the element's public properties (typed from the element class),\n * its event handlers, and ordinary HTML attributes (className, style, id, slot, aria-*, data-*).\n */\nexport type LofProps<E extends HTMLElement, P extends keyof E, Events> = { [K in P]?: E[K] } & EventHandlers<Events> &\n Omit<HTMLAttributes<E>, P | keyof Events> & { children?: ReactNode };\n\nexport type LofComponent<E extends HTMLElement, P extends keyof E, Events> = ForwardRefExoticComponent<\n LofProps<E, P, Events> & RefAttributes<E>\n>;\n\n// useLayoutEffect warns during server rendering; neither effect runs there anyway.\nconst useClientLayoutEffect = typeof window === \"undefined\" ? useEffect : useLayoutEffect;\n\nconst NO_DEFAULT = Symbol(\"no-default\");\n\n// React 18 writes `className` on a custom element as a literal \"classname\"\n// attribute; React 19 maps it to `class` itself.\nconst CLASS_PROP = Number.parseInt(version, 10) >= 19 ? \"className\" : \"class\";\n\n/**\n * How a property also renders as an attribute: `\"attr\"` for strings and numbers,\n * `\"?attr\"` for booleans (present only when `true`), `null` for property-only\n * values such as arrays, objects and functions.\n */\nexport type AttributeSpec = string | null;\n\n/**\n * Builds a React component that renders `tag` and bridges what React 18 cannot:\n *\n * - **Properties.** Every key of `props` is assigned to the element as a JS\n * property after each render, before paint. React 18 alone would set a string\n * attribute, which breaks arrays, objects, `false` booleans and camelCase names\n * whose attribute differs (`selectedValues` is `selected-values`). A property\n * dropped from the props goes back to the element's default.\n * - **Attributes.** Strings, numbers and `true` booleans are also rendered under\n * their attribute name, so server-rendered HTML carries them and the element\n * looks right the moment it is defined, before React hydrates.\n * - **Events.** Each `onX` key of `events` listens for the custom event it names.\n * Only events the element itself dispatches reach the handler: the events bubble,\n * so a `<LofSelect>` inside a `<LofTab>` would otherwise call the tab's\n * `onLofChange` with the select's detail.\n *\n * Nothing here imports the web package, so wrappers render on the server as plain\n * tags. Register the elements once on the client (see `defineElements`).\n */\nexport function createComponent<E extends HTMLElement, P extends keyof E & string, Events extends Record<string, Event>>(\n tag: string,\n props: { readonly [K in P]: AttributeSpec },\n events: { readonly [K in keyof Events]: string }\n): LofComponent<E, P, Events> {\n const specs = props as Record<string, AttributeSpec>;\n const eventEntries = Object.entries(events) as [keyof Events & string, string][];\n\n const Component = forwardRef<E, LofProps<E, P, Events>>((props, forwardedRef) => {\n const node = useRef<E | null>(null);\n const handlers = useRef<Record<string, unknown>>({});\n const defaults = useRef(new Map<string, unknown>());\n const applied = useRef(new Set<string>());\n\n const domProps: Record<string, unknown> = {};\n const attributes: Record<string, unknown> = {};\n const elementProps: Record<string, unknown> = {};\n const handlerProps: Record<string, unknown> = {};\n for (const key in props) {\n const value = (props as Record<string, unknown>)[key];\n if (key in events) handlerProps[key] = value;\n else if (key in specs) {\n elementProps[key] = value;\n const spec = specs[key];\n if (spec === null || value == null) continue;\n if (spec[0] === \"?\") {\n if (value === true) attributes[spec.slice(1)] = true;\n } else if (typeof value === \"string\" || typeof value === \"number\") attributes[spec] = value;\n } else domProps[key === \"className\" ? CLASS_PROP : key] = value;\n }\n handlers.current = handlerProps;\n\n useClientLayoutEffect(() => {\n const el = node.current as unknown as Record<string, unknown> | null;\n if (!el) return;\n const upgraded = customElements.get(tag) !== undefined;\n for (const key in elementProps) {\n if (!defaults.current.has(key)) defaults.current.set(key, upgraded ? el[key] : NO_DEFAULT);\n const value = elementProps[key];\n if (el[key] !== value) el[key] = value;\n applied.current.add(key);\n }\n for (const key of applied.current) {\n if (key in elementProps) continue;\n const fallback = defaults.current.get(key);\n el[key] = fallback === NO_DEFAULT ? undefined : fallback;\n applied.current.delete(key);\n }\n });\n\n // Lit keeps properties set before the element upgrades, but only its reactive\n // ones. Any other accessor (lof-checkbox `checked`) would stay shadowed by the\n // own property, so re-assign those once the class is defined.\n useClientLayoutEffect(() => {\n if (customElements.get(tag)) return;\n let live = true;\n customElements.whenDefined(tag).then(() => {\n const el = node.current as unknown as Record<string, unknown> | null;\n if (!live || !el) return;\n for (const key of applied.current) {\n if (!Object.prototype.hasOwnProperty.call(el, key)) continue;\n const value = el[key];\n delete el[key];\n el[key] = value;\n }\n });\n return () => {\n live = false;\n };\n }, []);\n\n useClientLayoutEffect(() => {\n const el = node.current;\n if (!el || eventEntries.length === 0) return;\n const off = eventEntries.map(([prop, type]) => {\n const listener = (event: Event) => {\n if (event.target !== el) return;\n (handlers.current[prop] as ((e: Event) => void) | undefined)?.(event);\n };\n el.addEventListener(type, listener);\n return () => el.removeEventListener(type, listener);\n });\n return () => off.forEach((fn) => fn());\n }, []);\n\n const ref = useCallback(\n (el: E | null) => {\n node.current = el;\n if (typeof forwardedRef === \"function\") forwardedRef(el);\n else if (forwardedRef) forwardedRef.current = el;\n },\n [forwardedRef]\n );\n\n return createElement(tag, { ...domProps, ...attributes, ref });\n });\n Component.displayName = tag\n .split(\"-\")\n .map((p) => p[0].toUpperCase() + p.slice(1))\n .join(\"\");\n return Component as LofComponent<E, P, Events>;\n}\n","// Generated by scripts/generate.mjs from packages/web/src. Do not edit by hand:\n// change the web component, then run `npm run generate -w @lofid/react`.\n\nimport type * as W from \"@lofid/web\";\nimport { createComponent } from \"./create-component\";\n\n/** React wrapper for `<lof-accordion>`. */\nexport const LofAccordion = /* @__PURE__ */ createComponent<W.LofAccordion, \"appearance\" | \"contentType\" | \"disabled\" | \"open\" | \"size\" | \"title\" | \"type\", { onOpenChange: CustomEvent<boolean> }>(\n \"lof-accordion\",\n { appearance: \"appearance\", contentType: \"content-type\", disabled: \"?disabled\", open: \"?open\", size: \"size\", title: \"title\", type: \"type\" },\n { onOpenChange: \"open-change\" },\n);\n\n/** React wrapper for `<lof-alert>`. */\nexport const LofAlert = /* @__PURE__ */ createComponent<W.LofAlert, \"appearance\" | \"dismissed\" | \"dismissible\" | \"message1\" | \"message2\" | \"tone\" | \"type\" | \"urlHref\" | \"urlText\", { onDismiss: CustomEvent<undefined> }>(\n \"lof-alert\",\n { appearance: \"appearance\", dismissed: \"?dismissed\", dismissible: \"?dismissible\", message1: \"message1\", message2: \"message2\", tone: \"tone\", type: \"type\", urlHref: \"url-href\", urlText: \"url-text\" },\n { onDismiss: \"dismiss\" },\n);\n\n/** React wrapper for `<lof-autocomplete>`. */\nexport const LofAutocomplete = /* @__PURE__ */ createComponent<W.LofAutocomplete, \"clearable\" | \"debounceMs\" | \"disabled\" | \"displayField\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"fieldAriaLabelledby\" | \"filter\" | \"floatingLabel\" | \"fullWidth\" | \"helperText\" | \"items\" | \"label\" | \"labelStyle\" | \"loading\" | \"loadingText\" | \"maxSuggestions\" | \"minSearchLength\" | \"multiple\" | \"name\" | \"noResultsText\" | \"placeholder\" | \"prefixIcon\" | \"readonly\" | \"required\" | \"searchFn\" | \"selectAllLabel\" | \"selectedValues\" | \"size\" | \"supportingField\" | \"value\" | \"valueField\" | \"variant\", { onChanged: CustomEvent<{ value: string; item: W.AutocompleteItem; } | { value: string[]; item: null; } | { value: string; item: null; }>; onLofChange: CustomEvent<string>; onLofClear: CustomEvent<undefined>; onLofSearchError: CustomEvent<{ query: string; error: unknown; }> }>(\n \"lof-autocomplete\",\n { clearable: \"?clearable\", debounceMs: \"debounce-ms\", disabled: \"?disabled\", displayField: \"display-field\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", fieldAriaLabelledby: \"field-aria-labelledby\", filter: \"filter\", floatingLabel: \"?floating-label\", fullWidth: \"?full-width\", helperText: \"helper-text\", items: null, label: \"label\", labelStyle: \"label-style\", loading: \"?loading\", loadingText: \"loading-text\", maxSuggestions: \"max-suggestions\", minSearchLength: \"min-search-length\", multiple: \"?multiple\", name: \"name\", noResultsText: \"no-results-text\", placeholder: \"placeholder\", prefixIcon: \"prefix-icon\", readonly: \"?readonly\", required: \"?required\", searchFn: null, selectAllLabel: \"select-all-label\", selectedValues: null, size: \"size\", supportingField: \"supporting-field\", value: \"value\", valueField: \"value-field\", variant: \"variant\" },\n { onChanged: \"changed\", onLofChange: \"lof-change\", onLofClear: \"lof-clear\", onLofSearchError: \"lof-search-error\" },\n);\n\n/** React wrapper for `<lof-avatar>`. */\nexport const LofAvatar = /* @__PURE__ */ createComponent<W.LofAvatar, \"alt\" | \"badge\" | \"badgeIcon\" | \"badgeLabel\" | \"bg\" | \"color\" | \"icon\" | \"ring\" | \"size\" | \"src\" | \"text\" | \"type\" | \"variant\", {}>(\n \"lof-avatar\",\n { alt: \"alt\", badge: \"badge\", badgeIcon: \"badge-icon\", badgeLabel: \"badge-label\", bg: \"bg\", color: \"color\", icon: \"icon\", ring: \"?ring\", size: \"size\", src: \"src\", text: \"text\", type: \"type\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-avatar-group>`. */\nexport const LofAvatarGroup = /* @__PURE__ */ createComponent<W.LofAvatarGroup, \"label\" | \"max\" | \"overflowLabel\" | \"size\" | \"total\", {}>(\n \"lof-avatar-group\",\n { label: \"label\", max: \"max\", overflowLabel: \"overflow-label\", size: \"size\", total: \"total\" },\n {},\n);\n\n/** React wrapper for `<lof-badge>`. */\nexport const LofBadge = /* @__PURE__ */ createComponent<W.LofBadge, \"ariaLabel\" | \"color\" | \"live\" | \"number\" | \"size\" | \"suffix\" | \"textColor\" | \"variant\", {}>(\n \"lof-badge\",\n { ariaLabel: \"arialabel\", color: \"color\", live: \"?live\", number: \"number\", size: \"size\", suffix: \"suffix\", textColor: \"text-color\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-breadcrumbs>`. */\nexport const LofBreadcrumbs = /* @__PURE__ */ createComponent<W.LofBreadcrumbs, \"ariaLabel\" | \"items\", {}>(\n \"lof-breadcrumbs\",\n { ariaLabel: \"aria-label\", items: null },\n {},\n);\n\n/** React wrapper for `<lof-button>`. */\nexport const LofButton = /* @__PURE__ */ createComponent<W.LofButton, \"ariaLabel\" | \"badge\" | \"badgeDot\" | \"border\" | \"disabled\" | \"iconOnly\" | \"loading\" | \"size\" | \"tone\" | \"variant\", {}>(\n \"lof-button\",\n { ariaLabel: \"aria-label\", badge: \"badge\", badgeDot: \"?badge-dot\", border: \"border\", disabled: \"?disabled\", iconOnly: \"?icon-only\", loading: \"?loading\", size: \"size\", tone: \"tone\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-calendar>`. */\nexport const LofCalendar = /* @__PURE__ */ createComponent<W.LofCalendar, \"disabled\" | \"isDateDisabled\" | \"locale\" | \"max\" | \"min\" | \"value\" | \"weekStart\", { onLofChange: CustomEvent<{ value: string; date: Date; }> }>(\n \"lof-calendar\",\n { disabled: \"?disabled\", isDateDisabled: null, locale: \"locale\", max: \"max\", min: \"min\", value: \"value\", weekStart: \"week-start\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-card>`. */\nexport const LofCard = /* @__PURE__ */ createComponent<W.LofCard, \"description\" | \"flush\" | \"heading\" | \"type\", {}>(\n \"lof-card\",\n { description: \"description\", flush: \"?flush\", heading: \"heading\", type: \"type\" },\n {},\n);\n\n/** React wrapper for `<lof-card-media>`. */\nexport const LofCardMedia = /* @__PURE__ */ createComponent<W.LofCardMedia, \"imageAlt\" | \"imageSrc\" | \"subtitle\" | \"title\", {}>(\n \"lof-card-media\",\n { imageAlt: \"image-alt\", imageSrc: \"image-src\", subtitle: \"subtitle\", title: \"title\" },\n {},\n);\n\n/** React wrapper for `<lof-carousel>`. */\nexport const LofCarousel = /* @__PURE__ */ createComponent<W.LofCarousel, \"autoplay\" | \"disabled\" | \"gap\" | \"interval\" | \"label\" | \"loop\" | \"orientation\" | \"panels\" | \"pauseOnHover\" | \"showButtons\" | \"showDots\" | \"type\" | \"value\", { onLofChange: CustomEvent<{ value: number; }> }>(\n \"lof-carousel\",\n { autoplay: \"?autoplay\", disabled: \"?disabled\", gap: \"gap\", interval: \"interval\", label: \"label\", loop: \"?loop\", orientation: \"orientation\", panels: \"panels\", pauseOnHover: \"?pause-on-hover\", showButtons: \"?show-buttons\", showDots: null, type: \"type\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-checkbox>`. */\nexport const LofCheckbox = /* @__PURE__ */ createComponent<W.LofCheckbox, \"alignment\" | \"checked\" | \"density\" | \"disabled\" | \"fieldAriaLabel\" | \"icon\" | \"label\" | \"size\" | \"state\" | \"status\" | \"supportingtext\" | \"supportingText\" | \"value\", { onLofChange: CustomEvent<{ checked: boolean; value: string; }> }>(\n \"lof-checkbox\",\n { alignment: \"alignment\", checked: null, density: \"density\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", icon: \"icon\", label: \"label\", size: \"size\", state: \"state\", status: \"status\", supportingtext: \"supporting-text\", supportingText: null, value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-chip>`. */\nexport const LofChip = /* @__PURE__ */ createComponent<W.LofChip, \"avatar\" | \"border\" | \"draggableChip\" | \"fieldAriaLabel\" | \"label\" | \"leadingIcon\" | \"presentational\" | \"removable\" | \"removed\" | \"size\" | \"tone\" | \"trailingIcon\" | \"variant\", { onChipMove: CustomEvent<{ direction: number; }>; onRemoved: CustomEvent<undefined> }>(\n \"lof-chip\",\n { avatar: \"avatar\", border: \"border\", draggableChip: \"?draggable-chip\", fieldAriaLabel: \"field-aria-label\", label: \"label\", leadingIcon: \"leading-icon\", presentational: \"?presentational\", removable: \"?removable\", removed: \"?removed\", size: \"size\", tone: \"tone\", trailingIcon: \"trailing-icon\", variant: \"variant\" },\n { onChipMove: \"chip-move\", onRemoved: \"removed\" },\n);\n\n/** React wrapper for `<lof-container>`. */\nexport const LofContainer = /* @__PURE__ */ createComponent<W.LofContainer, \"background\" | \"padding\" | \"shadow\" | \"surface\", {}>(\n \"lof-container\",\n { background: \"background\", padding: \"padding\", shadow: \"?shadow\", surface: \"surface\" },\n {},\n);\n\n/** React wrapper for `<lof-date-picker>`. */\nexport const LofDatePicker = /* @__PURE__ */ createComponent<W.LofDatePicker, \"clearable\" | \"closeOnSelect\" | \"disabled\" | \"displayFormat\" | \"error\" | \"errorMessage\" | \"formatDate\" | \"fullWidth\" | \"helperText\" | \"isDateDisabled\" | \"label\" | \"locale\" | \"max\" | \"maxDate\" | \"min\" | \"minDate\" | \"name\" | \"open\" | \"placeholder\" | \"readonly\" | \"required\" | \"showShortcuts\" | \"size\" | \"value\" | \"variant\" | \"weekStart\", { onLofBlur: CustomEvent<undefined>; onLofChange: CustomEvent<{ value: string | null; date: Date; } | { value: null; date: null; }>; onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-date-picker\",\n { clearable: \"?clearable\", closeOnSelect: \"?close-on-select\", disabled: \"?disabled\", displayFormat: \"display-format\", error: \"?error\", errorMessage: \"error-message\", formatDate: null, fullWidth: \"?full-width\", helperText: \"helper-text\", isDateDisabled: null, label: \"label\", locale: \"locale\", max: \"max\", maxDate: \"max-date\", min: \"min\", minDate: \"min-date\", name: \"name\", open: \"?open\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", showShortcuts: null, size: \"size\", value: \"value\", variant: \"variant\", weekStart: \"week-start\" },\n { onLofBlur: \"lof-blur\", onLofChange: \"lof-change\", onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-divider>`. */\nexport const LofDivider = /* @__PURE__ */ createComponent<W.LofDivider, \"orientation\", {}>(\n \"lof-divider\",\n { orientation: \"orientation\" },\n {},\n);\n\n/** React wrapper for `<lof-drawer>`. */\nexport const LofDrawer = /* @__PURE__ */ createComponent<W.LofDrawer, \"closeOnBackdrop\" | \"closeOnEscape\" | \"description\" | \"dismissible\" | \"draggable\" | \"maxHeight\" | \"modal\" | \"open\" | \"showHandle\" | \"side\" | \"snapThreshold\" | \"title\" | \"width\", { onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-drawer\",\n { closeOnBackdrop: \"?close-on-backdrop\", closeOnEscape: \"?close-on-escape\", description: \"description\", dismissible: \"?dismissible\", draggable: \"?draggable\", maxHeight: \"max-height\", modal: \"?modal\", open: \"?open\", showHandle: \"?show-handle\", side: \"side\", snapThreshold: \"snap-threshold\", title: \"title\", width: \"width\" },\n { onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-drawer-footer>`. */\nexport const LofDrawerFooter = /* @__PURE__ */ createComponent<W.LofDrawerFooter, never, {}>(\n \"lof-drawer-footer\",\n {},\n {},\n);\n\n/** React wrapper for `<lof-empty-state>`. */\nexport const LofEmptyState = /* @__PURE__ */ createComponent<W.LofEmptyState, \"align\" | \"description\" | \"heading\" | \"headingLevel\" | \"icon\" | \"size\", {}>(\n \"lof-empty-state\",\n { align: \"align\", description: \"description\", heading: \"heading\", headingLevel: \"heading-level\", icon: \"icon\", size: \"size\" },\n {},\n);\n\n/** React wrapper for `<lof-image-input>`. */\nexport const LofImageInput = /* @__PURE__ */ createComponent<W.LofImageInput, \"accept\" | \"disabled\" | \"fieldAriaLabel\" | \"maxSize\" | \"name\" | \"noRemove\" | \"shape\" | \"size\" | \"src\", { onLofChange: CustomEvent<W.ImageInputChangeDetail>; onLofError: CustomEvent<{ reason: string; file: File; }>; onLofRemove: CustomEvent<undefined> }>(\n \"lof-image-input\",\n { accept: \"accept\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", maxSize: \"max-size\", name: \"name\", noRemove: \"?no-remove\", shape: \"shape\", size: \"size\", src: \"src\" },\n { onLofChange: \"lof-change\", onLofError: \"lof-error\", onLofRemove: \"lof-remove\" },\n);\n\n/** React wrapper for `<lof-kbd>`. */\nexport const LofKbd = /* @__PURE__ */ createComponent<W.LofKbd, \"inset\" | \"keyName\" | \"pill\" | \"platform\" | \"size\" | \"variant\", {}>(\n \"lof-kbd\",\n { inset: \"?inset\", keyName: \"key-name\", pill: \"?pill\", platform: \"platform\", size: \"size\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-kbd-group>`. */\nexport const LofKbdGroup = /* @__PURE__ */ createComponent<W.LofKbdGroup, \"items\" | \"platform\" | \"size\" | \"variant\", {}>(\n \"lof-kbd-group\",\n { items: null, platform: \"platform\", size: \"size\", variant: \"variant\" },\n {},\n);\n\n/** React wrapper for `<lof-layout>`. */\nexport const LofLayout = /* @__PURE__ */ createComponent<W.LofLayout, \"columns\" | \"gap\" | \"responsive\", {}>(\n \"lof-layout\",\n { columns: \"columns\", gap: \"gap\", responsive: \"?responsive\" },\n {},\n);\n\n/** React wrapper for `<lof-link>`. */\nexport const LofLink = /* @__PURE__ */ createComponent<W.LofLink, \"arrow\" | \"disabled\" | \"href\" | \"inherit\" | \"rel\" | \"size\" | \"target\" | \"tone\" | \"underline\", {}>(\n \"lof-link\",\n { arrow: \"?arrow\", disabled: \"?disabled\", href: \"href\", inherit: \"?inherit\", rel: \"rel\", size: \"size\", target: \"target\", tone: \"tone\", underline: \"underline\" },\n {},\n);\n\n/** React wrapper for `<lof-menu>`. */\nexport const LofMenu = /* @__PURE__ */ createComponent<W.LofMenu, \"items\" | \"size\" | \"type\" | \"width\", { onLofCheck: CustomEvent<{ item: { checked: boolean; label: string; active?: boolean; disabled?: boolean; submenu?: W.MenuItem[]; open?: boolean; icon?: string; }; checked: boolean; }>; onLofSelect: CustomEvent<{ item: W.MenuItem; }>; onLofSubmenuSelect: CustomEvent<{ parent: W.MenuItem; sub: W.MenuItem | undefined; }> }>(\n \"lof-menu\",\n { items: null, size: \"size\", type: \"type\", width: \"width\" },\n { onLofCheck: \"lof-check\", onLofSelect: \"lof-select\", onLofSubmenuSelect: \"lof-submenu-select\" },\n);\n\n/** React wrapper for `<lof-menu-item>`. */\nexport const LofMenuItem = /* @__PURE__ */ createComponent<W.LofMenuItem, \"disabled\" | \"icon\" | \"label\" | \"value\", {}>(\n \"lof-menu-item\",\n { disabled: \"?disabled\", icon: \"icon\", label: \"label\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-menubar>`. */\nexport const LofMenubar = /* @__PURE__ */ createComponent<W.LofMenubar, \"bindShortcuts\" | \"type\", { onLofMenubarChange: CustomEvent<W.MenubarChangeDetail>; onLofMenubarSelect: CustomEvent<W.MenubarSelectDetail | { label: string; value: string | undefined; shortcut: string | undefined; }> }>(\n \"lof-menubar\",\n { bindShortcuts: \"?bind-shortcuts\", type: \"type\" },\n { onLofMenubarChange: \"lof-menubar-change\", onLofMenubarSelect: \"lof-menubar-select\" },\n);\n\n/** React wrapper for `<lof-menubar-menu>`. */\nexport const LofMenubarMenu = /* @__PURE__ */ createComponent<W.LofMenubarMenu, \"disabled\" | \"label\", {}>(\n \"lof-menubar-menu\",\n { disabled: \"?disabled\", label: \"label\" },\n {},\n);\n\n/** React wrapper for `<lof-modal>`. */\nexport const LofModal = /* @__PURE__ */ createComponent<W.LofModal, \"autoFocus\" | \"breakpoint\" | \"closeOnBackdropClick\" | \"closeOnEscape\" | \"description\" | \"disabled\" | \"dismissible\" | \"loading\" | \"modal\" | \"open\" | \"restoreFocus\" | \"scrollable\" | \"showCloseButton\" | \"side\" | \"size\" | \"subtitle\" | \"title\" | \"variant\" | \"zIndex\", { onLofOpenChange: CustomEvent<boolean> }>(\n \"lof-modal\",\n { autoFocus: \"?auto-focus\", breakpoint: \"breakpoint\", closeOnBackdropClick: \"?close-on-backdrop-click\", closeOnEscape: \"?close-on-escape\", description: \"description\", disabled: \"?disabled\", dismissible: \"?dismissible\", loading: \"?loading\", modal: \"?modal\", open: \"?open\", restoreFocus: \"?restore-focus\", scrollable: \"?scrollable\", showCloseButton: \"?show-close-button\", side: \"side\", size: \"size\", subtitle: \"subtitle\", title: \"title\", variant: \"variant\", zIndex: \"z-index\" },\n { onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-nav>`. */\nexport const LofNav = /* @__PURE__ */ createComponent<W.LofNav, \"collapsed\" | \"fieldAriaLabel\" | \"indicator\" | \"items\" | \"value\", { onLofSelect: CustomEvent<W.NavSelectDetail>; onLofToggle: CustomEvent<{ value: string; open: boolean; }> }>(\n \"lof-nav\",\n { collapsed: \"?collapsed\", fieldAriaLabel: \"field-aria-label\", indicator: \"indicator\", items: null, value: \"value\" },\n { onLofSelect: \"lof-select\", onLofToggle: \"lof-toggle\" },\n);\n\n/** React wrapper for `<lof-otp>`. */\nexport const LofOtp = /* @__PURE__ */ createComponent<W.LofOtp, \"ariaLabel\" | \"autocomplete\" | \"disabled\" | \"groupSize\" | \"inputmode\" | \"inputMode\" | \"invalid\" | \"length\" | \"mask\" | \"name\" | \"pattern\" | \"placeholder\" | \"readonly\" | \"required\" | \"showSeparator\" | \"size\" | \"type\" | \"value\", { onLofChange: CustomEvent<{ value: string; complete: boolean; }>; onLofComplete: CustomEvent<{ value: string; }> }>(\n \"lof-otp\",\n { ariaLabel: \"aria-label\", autocomplete: \"autocomplete\", disabled: \"?disabled\", groupSize: \"group-size\", inputmode: \"inputmode\", inputMode: \"input-mode\", invalid: \"?invalid\", length: \"length\", mask: \"?mask\", name: \"name\", pattern: \"pattern\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", showSeparator: \"?show-separator\", size: \"size\", type: \"type\", value: \"value\" },\n { onLofChange: \"lof-change\", onLofComplete: \"lof-complete\" },\n);\n\n/** React wrapper for `<lof-page-header>`. */\nexport const LofPageHeader = /* @__PURE__ */ createComponent<W.LofPageHeader, \"description\" | \"divider\" | \"heading\" | \"headingLevel\" | \"layout\", {}>(\n \"lof-page-header\",\n { description: \"description\", divider: \"?divider\", heading: \"heading\", headingLevel: \"heading-level\", layout: \"layout\" },\n {},\n);\n\n/** React wrapper for `<lof-pagination>`. */\nexport const LofPagination = /* @__PURE__ */ createComponent<W.LofPagination, \"ariaLabel\" | \"defaultPage\" | \"disabled\" | \"hrefTemplate\" | \"page\" | \"perPage\" | \"rowsPerPageLabel\" | \"rowsPerPageOptions\" | \"showLabel\" | \"showRowsPerPage\" | \"totalItems\" | \"totalPages\" | \"type\", { onLofChange: CustomEvent<{ page: number; }>; onLofPerPageChange: CustomEvent<{ perPage: number; }> }>(\n \"lof-pagination\",\n { ariaLabel: \"arialabel\", defaultPage: \"default-page\", disabled: \"?disabled\", hrefTemplate: \"href-template\", page: \"page\", perPage: \"per-page\", rowsPerPageLabel: \"rows-per-page-label\", rowsPerPageOptions: null, showLabel: \"?show-label\", showRowsPerPage: \"?show-rows-per-page\", totalItems: \"total-items\", totalPages: \"total-pages\", type: \"type\" },\n { onLofChange: \"lof-change\", onLofPerPageChange: \"lof-per-page-change\" },\n);\n\n/** React wrapper for `<lof-popover>`. */\nexport const LofPopover = /* @__PURE__ */ createComponent<W.LofPopover, \"align\" | \"alignOffset\" | \"arrow\" | \"closeOnEscape\" | \"closeOnOutsideClick\" | \"defaultOpen\" | \"disabled\" | \"hasPopup\" | \"open\" | \"side\" | \"sideOffset\" | \"trapFocus\", { onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-popover\",\n { align: \"align\", alignOffset: \"align-offset\", arrow: \"?arrow\", closeOnEscape: \"?close-on-escape\", closeOnOutsideClick: \"?close-on-outside-click\", defaultOpen: \"?default-open\", disabled: \"?disabled\", hasPopup: \"has-popup\", open: \"?open\", side: \"side\", sideOffset: \"side-offset\", trapFocus: \"?trap-focus\" },\n { onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-popover-content>`. */\nexport const LofPopoverContent = /* @__PURE__ */ createComponent<W.LofPopoverContent, \"ariaLabel\" | \"size\", {}>(\n \"lof-popover-content\",\n { ariaLabel: \"aria-label\", size: \"size\" },\n {},\n);\n\n/** React wrapper for `<lof-progress>`. */\nexport const LofProgress = /* @__PURE__ */ createComponent<W.LofProgress, \"label\" | \"mode\" | \"value\", {}>(\n \"lof-progress\",\n { label: \"label\", mode: \"mode\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-radio>`. */\nexport const LofRadio = /* @__PURE__ */ createComponent<W.LofRadio, \"alignment\" | \"density\" | \"disabled\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"name\" | \"options\" | \"orientation\" | \"selectedValue\" | \"size\" | \"value\", { onLofChange: CustomEvent<{ value: string; checked: true; }> }>(\n \"lof-radio\",\n { alignment: \"alignment\", density: \"density\", disabled: \"?disabled\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", name: \"name\", options: null, orientation: \"orientation\", selectedValue: \"selected-value\", size: \"size\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-range-picker>`. */\nexport const LofRangePicker = /* @__PURE__ */ createComponent<W.LofRangePicker, \"clearable\" | \"disabled\" | \"from\" | \"fullWidth\" | \"height\" | \"locale\" | \"maxDate\" | \"maxHeight\" | \"maxWidth\" | \"minDate\" | \"minHeight\" | \"minWidth\" | \"mode\" | \"open\" | \"placeholder\" | \"size\" | \"to\" | \"triggerVariant\" | \"weekStart\" | \"width\", { onLofBlur: CustomEvent<undefined>; onLofChange: CustomEvent<{ from: string; to: string; label: string; }>; onLofOpenChange: CustomEvent<{ open: true; } | { open: false; }> }>(\n \"lof-range-picker\",\n { clearable: \"?clearable\", disabled: \"?disabled\", from: \"from\", fullWidth: \"?full-width\", height: \"height\", locale: \"locale\", maxDate: \"max-date\", maxHeight: \"max-height\", maxWidth: \"max-width\", minDate: \"min-date\", minHeight: \"min-height\", minWidth: \"min-width\", mode: \"mode\", open: \"?open\", placeholder: \"placeholder\", size: \"size\", to: \"to\", triggerVariant: \"trigger-variant\", weekStart: \"week-start\", width: \"width\" },\n { onLofBlur: \"lof-blur\", onLofChange: \"lof-change\", onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-rating>`. */\nexport const LofRating = /* @__PURE__ */ createComponent<W.LofRating, \"disabled\" | \"fieldAriaLabel\" | \"max\" | \"name\" | \"readonly\" | \"showValue\" | \"size\" | \"step\" | \"value\", { onLofChange: CustomEvent<W.RatingChangeDetail> }>(\n \"lof-rating\",\n { disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", max: \"max\", name: \"name\", readonly: \"?readonly\", showValue: \"?show-value\", size: \"size\", step: \"step\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-resizable-group>`. */\nexport const LofResizableGroup = /* @__PURE__ */ createComponent<W.LofResizableGroup, \"direction\", { onLofResize: CustomEvent<{ direction: W.ResizableOrientation; sizes: number[]; }>; onLofResizeEnd: CustomEvent<{ direction: W.ResizableOrientation; sizes: number[]; }> }>(\n \"lof-resizable-group\",\n { direction: \"direction\" },\n { onLofResize: \"lof-resize\", onLofResizeEnd: \"lof-resize-end\" },\n);\n\n/** React wrapper for `<lof-resizable-handle>`. */\nexport const LofResizableHandle = /* @__PURE__ */ createComponent<W.LofResizableHandle, \"orientation\", {}>(\n \"lof-resizable-handle\",\n { orientation: \"orientation\" },\n {},\n);\n\n/** React wrapper for `<lof-resizable-panel>`. */\nexport const LofResizablePanel = /* @__PURE__ */ createComponent<W.LofResizablePanel, \"defaultSize\" | \"maxSize\" | \"minSize\" | \"panelLabel\", {}>(\n \"lof-resizable-panel\",\n { defaultSize: \"default-size\", maxSize: \"max-size\", minSize: \"min-size\", panelLabel: \"panel-label\" },\n {},\n);\n\n/** React wrapper for `<lof-segmented-button>`. */\nexport const LofSegmentedButton = /* @__PURE__ */ createComponent<W.LofSegmentedButton, \"active\" | \"align\" | \"disabled\" | \"fieldAriaLabel\" | \"options\" | \"size\", { onChanged: CustomEvent<{ value: string; }>; onLofChange: CustomEvent<{ value: string; }> }>(\n \"lof-segmented-button\",\n { active: \"active\", align: \"align\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", options: null, size: \"size\" },\n { onChanged: \"changed\", onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-select>`. */\nexport const LofSelect = /* @__PURE__ */ createComponent<W.LofSelect, \"border\" | \"fieldAriaLabel\" | \"fieldAriaLabelledby\" | \"label\" | \"labelStyle\" | \"leftIcon\" | \"maxVisibleChips\" | \"multiple\" | \"noSearch\" | \"options\" | \"placeholder\" | \"rightIcon\" | \"searchPlaceholder\" | \"selectAllLabel\" | \"selected\" | \"selectedValues\" | \"size\" | \"state\" | \"supportingIcon\" | \"supportingText\", { onChanged: CustomEvent<{ value: string | string[]; }>; onLofChange: CustomEvent<{ value: string | string[]; }> }>(\n \"lof-select\",\n { border: \"border\", fieldAriaLabel: \"field-aria-label\", fieldAriaLabelledby: \"field-aria-labelledby\", label: \"label\", labelStyle: \"label-style\", leftIcon: \"left-icon\", maxVisibleChips: \"max-visible-chips\", multiple: \"?multiple\", noSearch: \"?no-search\", options: null, placeholder: \"placeholder\", rightIcon: \"right-icon\", searchPlaceholder: \"search-placeholder\", selectAllLabel: \"select-all-label\", selected: \"selected\", selectedValues: null, size: \"size\", state: \"state\", supportingIcon: \"supporting-icon\", supportingText: \"supporting-text\" },\n { onChanged: \"changed\", onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-signature-pad>`. */\nexport const LofSignaturePad = /* @__PURE__ */ createComponent<W.LofSignaturePad, \"disabled\" | \"disabledText\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"helperText\" | \"label\" | \"mode\" | \"name\" | \"placeholder\" | \"readonly\" | \"required\" | \"strokes\" | \"typedName\" | \"value\", { onLofBegin: CustomEvent<{}>; onLofChange: CustomEvent<W.SignaturePadChangeDetail>; onLofEnd: CustomEvent<{}> }>(\n \"lof-signature-pad\",\n { disabled: \"?disabled\", disabledText: \"disabled-text\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", helperText: \"helper-text\", label: \"label\", mode: \"mode\", name: \"name\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", strokes: null, typedName: \"typed-name\", value: null },\n { onLofBegin: \"lof-begin\", onLofChange: \"lof-change\", onLofEnd: \"lof-end\" },\n);\n\n/** React wrapper for `<lof-skeleton>`. */\nexport const LofSkeleton = /* @__PURE__ */ createComponent<W.LofSkeleton, \"animation\" | \"height\" | \"lines\" | \"loaded\" | \"shape\" | \"width\", {}>(\n \"lof-skeleton\",\n { animation: \"animation\", height: \"height\", lines: \"lines\", loaded: \"?loaded\", shape: \"shape\", width: \"width\" },\n {},\n);\n\n/** React wrapper for `<lof-slider>`. */\nexport const LofSlider = /* @__PURE__ */ createComponent<W.LofSlider, \"disabled\" | \"fieldAriaLabel\" | \"max\" | \"min\" | \"showBubble\" | \"showTickLabels\" | \"showTicks\" | \"size\" | \"step\" | \"track\" | \"type\" | \"value\" | \"valueEnd\", { onLofChange: CustomEvent<{ value: number; valueEnd: number; } | { value: number; }> }>(\n \"lof-slider\",\n { disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", max: \"max\", min: \"min\", showBubble: \"?show-bubble\", showTickLabels: \"?show-tick-labels\", showTicks: \"?show-ticks\", size: \"size\", step: \"step\", track: \"track\", type: \"type\", value: \"value\", valueEnd: \"value-end\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-snackbar>`. */\nexport const LofSnackbar = /* @__PURE__ */ createComponent<W.LofSnackbar, \"action\" | \"duration\" | \"iconClose\" | \"lines\" | \"longerAction\" | \"message\" | \"show\" | \"tone\" | \"type\" | \"variant\", { onActionClick: CustomEvent<undefined>; onClose: CustomEvent<undefined> }>(\n \"lof-snackbar\",\n { action: \"action\", duration: \"duration\", iconClose: \"?icon-close\", lines: \"lines\", longerAction: \"?longeraction\", message: \"message\", show: \"?show\", tone: \"tone\", type: \"type\", variant: \"variant\" },\n { onActionClick: \"actionClick\", onClose: \"close\" },\n);\n\n/** React wrapper for `<lof-split-button>`. */\nexport const LofSplitButton = /* @__PURE__ */ createComponent<W.LofSplitButton, \"ariaLabel\" | \"disabled\" | \"icon\" | \"iconOnly\" | \"items\" | \"label\" | \"loading\" | \"menuLabel\" | \"open\" | \"size\" | \"tone\" | \"variant\", { onLofOpenChange: CustomEvent<{ open: boolean; }>; onLofSelect: CustomEvent<W.SplitButtonSelectDetail> }>(\n \"lof-split-button\",\n { ariaLabel: \"aria-label\", disabled: \"?disabled\", icon: \"icon\", iconOnly: \"?icon-only\", items: null, label: \"label\", loading: \"?loading\", menuLabel: \"menu-label\", open: \"?open\", size: \"size\", tone: \"tone\", variant: \"variant\" },\n { onLofOpenChange: \"lof-open-change\", onLofSelect: \"lof-select\" },\n);\n\n/** React wrapper for `<lof-stat>`. */\nexport const LofStat = /* @__PURE__ */ createComponent<W.LofStat, \"appearance\" | \"change\" | \"changeLabel\" | \"label\" | \"size\" | \"trend\" | \"value\", {}>(\n \"lof-stat\",\n { appearance: \"appearance\", change: \"change\", changeLabel: \"change-label\", label: \"label\", size: \"size\", trend: \"trend\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-stepper>`. */\nexport const LofStepper = /* @__PURE__ */ createComponent<W.LofStepper, \"connector\" | \"labelPlacement\" | \"orientation\" | \"size\" | \"steps\" | \"textAlign\" | \"type\", { onLofStepChange: CustomEvent<{ index: number; step: W.Step; }> }>(\n \"lof-stepper\",\n { connector: \"connector\", labelPlacement: \"label-placement\", orientation: \"orientation\", size: \"size\", steps: null, textAlign: \"textalign\", type: \"type\" },\n { onLofStepChange: \"lof-step-change\" },\n);\n\n/** React wrapper for `<lof-switch>`. */\nexport const LofSwitch = /* @__PURE__ */ createComponent<W.LofSwitch, \"checked\" | \"disabled\" | \"fieldAriaLabel\" | \"label\" | \"labelPlacement\" | \"size\" | \"type\" | \"value\", { onLofChange: CustomEvent<{ checked: boolean; value: string; }> }>(\n \"lof-switch\",\n { checked: \"?checked\", disabled: \"?disabled\", fieldAriaLabel: \"field-aria-label\", label: \"label\", labelPlacement: \"label-placement\", size: \"size\", type: \"type\", value: \"value\" },\n { onLofChange: \"lof-change\" },\n);\n\n/** React wrapper for `<lof-tab>`. */\nexport const LofTab = /* @__PURE__ */ createComponent<W.LofTab, \"activeIndex\" | \"iconPlacement\" | \"orientation\" | \"size\" | \"tabs\", { onLofChange: CustomEvent<number>; onLofTabChange: CustomEvent<number> }>(\n \"lof-tab\",\n { activeIndex: \"active-index\", iconPlacement: \"icon-placement\", orientation: \"orientation\", size: \"size\", tabs: null },\n { onLofChange: \"lof-change\", onLofTabChange: \"lof-tab-change\" },\n);\n\n/** React wrapper for `<lof-tab-item>`. */\nexport const LofTabItem = /* @__PURE__ */ createComponent<W.LofTabItem, \"badge\" | \"badgeDot\" | \"disabled\" | \"icon\" | \"label\" | \"value\", {}>(\n \"lof-tab-item\",\n { badge: \"badge\", badgeDot: \"?badge-dot\", disabled: \"?disabled\", icon: \"icon\", label: \"label\", value: \"value\" },\n {},\n);\n\n/** React wrapper for `<lof-table>`. */\nexport const LofTable = /* @__PURE__ */ createComponent<W.LofTable, \"appearance\" | \"columns\" | \"density\" | \"emptyText\" | \"fieldAriaLabel\" | \"grid\" | \"heading\" | \"loading\" | \"page\" | \"pageSize\" | \"pageSizeLabel\" | \"pageSizeOptions\" | \"pageSizeSuffix\" | \"rangeTemplate\" | \"rowKey\" | \"rows\" | \"selectable\" | \"selected\" | \"serverSide\" | \"sortDirection\" | \"sortKey\" | \"stickyHeader\" | \"totalItems\", { onLofPageChange: CustomEvent<W.TablePageDetail>; onLofSelectionChange: CustomEvent<W.TableSelectionDetail>; onLofSort: CustomEvent<W.TableSortDetail> }>(\n \"lof-table\",\n { appearance: \"appearance\", columns: null, density: \"density\", emptyText: \"empty-text\", fieldAriaLabel: \"field-aria-label\", grid: \"?grid\", heading: \"heading\", loading: \"?loading\", page: \"page\", pageSize: \"page-size\", pageSizeLabel: \"page-size-label\", pageSizeOptions: null, pageSizeSuffix: \"page-size-suffix\", rangeTemplate: \"range-template\", rowKey: \"row-key\", rows: null, selectable: \"?selectable\", selected: null, serverSide: \"?server-side\", sortDirection: \"sort-direction\", sortKey: \"sort-key\", stickyHeader: \"?sticky-header\", totalItems: \"total-items\" },\n { onLofPageChange: \"lof-page-change\", onLofSelectionChange: \"lof-selection-change\", onLofSort: \"lof-sort\" },\n);\n\n/** React wrapper for `<lof-textfield>`. */\nexport const LofTextfield = /* @__PURE__ */ createComponent<W.LofTextfield, \"clickableRightIcon\" | \"disabled\" | \"error\" | \"errorMessage\" | \"fieldAriaLabel\" | \"fieldAriaLabelledby\" | \"floatingLabel\" | \"fullWidth\" | \"helperIcon\" | \"helperText\" | \"label\" | \"labelStyle\" | \"leftIcon\" | \"maxLength\" | \"multiline\" | \"name\" | \"placeholder\" | \"prefixIcon\" | \"prefixIconAriaLabel\" | \"prefixStyle\" | \"prefixText\" | \"readonly\" | \"required\" | \"rightIcon\" | \"rightIconAriaLabel\" | \"rows\" | \"size\" | \"state\" | \"suffixDivider\" | \"suffixText\" | \"supportingText\" | \"type\" | \"value\" | \"variant\", { onLofChange: CustomEvent<string>; onLofRightIconClick: CustomEvent<undefined> }>(\n \"lof-textfield\",\n { clickableRightIcon: \"?clickable-right-icon\", disabled: \"?disabled\", error: \"?error\", errorMessage: \"error-message\", fieldAriaLabel: \"field-aria-label\", fieldAriaLabelledby: \"field-aria-labelledby\", floatingLabel: \"?floatinglabel\", fullWidth: \"?full-width\", helperIcon: \"helper-icon\", helperText: \"helper-text\", label: \"label\", labelStyle: \"label-style\", leftIcon: \"left-icon\", maxLength: \"maxlength\", multiline: \"?multiline\", name: \"name\", placeholder: \"placeholder\", prefixIcon: \"prefix-icon\", prefixIconAriaLabel: \"prefix-icon-aria-label\", prefixStyle: \"prefix-style\", prefixText: \"prefix-text\", readonly: \"?readonly\", required: \"?required\", rightIcon: \"right-icon\", rightIconAriaLabel: \"right-icon-aria-label\", rows: \"rows\", size: \"size\", state: \"state\", suffixDivider: \"?suffix-divider\", suffixText: \"suffix-text\", supportingText: \"supportingtext\", type: \"type\", value: \"value\", variant: \"variant\" },\n { onLofChange: \"lof-change\", onLofRightIconClick: \"lof-right-icon-click\" },\n);\n\n/** React wrapper for `<lof-time-picker>`. */\nexport const LofTimePicker = /* @__PURE__ */ createComponent<W.LofTimePicker, \"clearable\" | \"disabled\" | \"error\" | \"errorMessage\" | \"format\" | \"fullWidth\" | \"helperText\" | \"invalid\" | \"label\" | \"maxTime\" | \"minTime\" | \"minuteStep\" | \"name\" | \"open\" | \"placeholder\" | \"readonly\" | \"required\" | \"seconds\" | \"size\" | \"value\" | \"variant\", { onLofBlur: CustomEvent<undefined>; onLofChange: CustomEvent<{ value: string | null; }>; onLofFocus: CustomEvent<undefined>; onLofOpenChange: CustomEvent<{ open: boolean; }> }>(\n \"lof-time-picker\",\n { clearable: \"?clearable\", disabled: \"?disabled\", error: \"?error\", errorMessage: \"error-message\", format: \"format\", fullWidth: \"?full-width\", helperText: \"helper-text\", invalid: \"?invalid\", label: \"label\", maxTime: \"max-time\", minTime: \"min-time\", minuteStep: \"minute-step\", name: \"name\", open: \"?open\", placeholder: \"placeholder\", readonly: \"?readonly\", required: \"?required\", seconds: \"?seconds\", size: \"size\", value: \"value\", variant: \"variant\" },\n { onLofBlur: \"lof-blur\", onLofChange: \"lof-change\", onLofFocus: \"lof-focus\", onLofOpenChange: \"lof-open-change\" },\n);\n\n/** React wrapper for `<lof-toast>`. */\nexport const LofToast = /* @__PURE__ */ createComponent<W.LofToast, \"actionLabel\" | \"dismissible\" | \"duration\" | \"maxVisible\" | \"message\" | \"position\" | \"show\" | \"size\" | \"tone\" | \"type\", { onAction: CustomEvent<undefined>; onDismissed: CustomEvent<undefined> }>(\n \"lof-toast\",\n { actionLabel: \"action-label\", dismissible: \"?dismissible\", duration: \"duration\", maxVisible: \"max-visible\", message: \"message\", position: \"position\", show: \"?show\", size: \"size\", tone: \"tone\", type: \"type\" },\n { onAction: \"action\", onDismissed: \"dismissed\" },\n);\n\n/** React wrapper for `<lof-tooltip>`. */\nexport const LofTooltip = /* @__PURE__ */ createComponent<W.LofTooltip, \"position\" | \"showTail\" | \"text\" | \"tone\" | \"type\", {}>(\n \"lof-tooltip\",\n { position: \"position\", showTail: \"?show-tail\", text: \"text\", tone: \"tone\", type: \"type\" },\n {},\n);\n\n/** React wrapper for `<lof-tree>`. */\nexport const LofTree = /* @__PURE__ */ createComponent<W.LofTree, \"expandedValues\" | \"fieldAriaLabel\" | \"items\" | \"selected\" | \"selectedValues\" | \"selection\" | \"showGuides\", { onLofChange: CustomEvent<{ value: string[]; } | { value: string; }>; onLofExpandedChange: CustomEvent<{ value: string; expanded: boolean; }>; onLofLoadChildren: CustomEvent<{ value: string; }> }>(\n \"lof-tree\",\n { expandedValues: null, fieldAriaLabel: \"field-aria-label\", items: null, selected: \"selected\", selectedValues: null, selection: \"selection\", showGuides: \"?show-guides\" },\n { onLofChange: \"lof-change\", onLofExpandedChange: \"lof-expanded-change\", onLofLoadChildren: \"lof-load-children\" },\n);\n\n/** React wrapper for `<lof-upload>`. */\nexport const LofUpload = /* @__PURE__ */ createComponent<W.LofUpload, \"accept\" | \"browseLabel\" | \"concurrency\" | \"delayThreshold\" | \"disabled\" | \"dropzoneTitle\" | \"files\" | \"hint\" | \"maxFiles\" | \"maxSize\" | \"multiple\" | \"uploader\", { onLofCancel: CustomEvent<undefined>; onLofChange: CustomEvent<{ files: W.UploadFile[]; }>; onLofComplete: CustomEvent<{ succeeded: W.UploadFile[]; failed: W.UploadFile[]; }>; onLofFileComplete: CustomEvent<{ id: string; file: File; }>; onLofFileError: CustomEvent<{ id: string; file: File; error: string; }>; onLofFileReplaced: CustomEvent<W.FileReplacedDetail>; onLofFilesAdded: CustomEvent<{ added: W.UploadFile[]; rejected: W.UploadRejection[]; }>; onLofInvalid: CustomEvent<{ rejected: W.UploadRejection[]; }>; onLofProgress: CustomEvent<{ id: string; progress: number; loaded: number; total: number; }>; onLofRemove: CustomEvent<{ id: string; file: File | undefined; }>; onLofRetry: CustomEvent<{ files: W.UploadFile[]; }>; onLofState: CustomEvent<W.UploadState>; onLofUpload: CustomEvent<{ files: W.UploadFile[]; }>; onLofUploadComplete: CustomEvent<W.UploadCompleteDetail> }>(\n \"lof-upload\",\n { accept: \"accept\", browseLabel: \"browse-label\", concurrency: \"concurrency\", delayThreshold: \"delay-threshold\", disabled: \"?disabled\", dropzoneTitle: \"dropzone-title\", files: null, hint: \"hint\", maxFiles: \"max-files\", maxSize: \"max-size\", multiple: \"?multiple\", uploader: null },\n { onLofCancel: \"lof-cancel\", onLofChange: \"lof-change\", onLofComplete: \"lof-complete\", onLofFileComplete: \"lof-file-complete\", onLofFileError: \"lof-file-error\", onLofFileReplaced: \"lof-file-replaced\", onLofFilesAdded: \"lof-files-added\", onLofInvalid: \"lof-invalid\", onLofProgress: \"lof-progress\", onLofRemove: \"lof-remove\", onLofRetry: \"lof-retry\", onLofState: \"lof-state\", onLofUpload: \"lof-upload\", onLofUploadComplete: \"lof-upload-complete\" },\n);\n\n/** React wrapper for `<lof-upload-actions>`. */\nexport const LofUploadActions = /* @__PURE__ */ createComponent<W.LofUploadActions, \"cancelLabel\" | \"for\" | \"noCancel\", { onLofCancel: CustomEvent<undefined> }>(\n \"lof-upload-actions\",\n { cancelLabel: \"cancel-label\", for: \"for\", noCancel: \"?no-cancel\" },\n { onLofCancel: \"lof-cancel\" },\n);\n\n/** The element instance behind each wrapper, for typing refs: `useRef<LofSelectElement>(null)`. */\nexport type {\n LofAccordion as LofAccordionElement,\n LofAlert as LofAlertElement,\n LofAutocomplete as LofAutocompleteElement,\n LofAvatar as LofAvatarElement,\n LofAvatarGroup as LofAvatarGroupElement,\n LofBadge as LofBadgeElement,\n LofBreadcrumbs as LofBreadcrumbsElement,\n LofButton as LofButtonElement,\n LofCalendar as LofCalendarElement,\n LofCard as LofCardElement,\n LofCardMedia as LofCardMediaElement,\n LofCarousel as LofCarouselElement,\n LofCheckbox as LofCheckboxElement,\n LofChip as LofChipElement,\n LofContainer as LofContainerElement,\n LofDatePicker as LofDatePickerElement,\n LofDivider as LofDividerElement,\n LofDrawer as LofDrawerElement,\n LofDrawerFooter as LofDrawerFooterElement,\n LofEmptyState as LofEmptyStateElement,\n LofImageInput as LofImageInputElement,\n LofKbd as LofKbdElement,\n LofKbdGroup as LofKbdGroupElement,\n LofLayout as LofLayoutElement,\n LofLink as LofLinkElement,\n LofMenu as LofMenuElement,\n LofMenuItem as LofMenuItemElement,\n LofMenubar as LofMenubarElement,\n LofMenubarMenu as LofMenubarMenuElement,\n LofModal as LofModalElement,\n LofNav as LofNavElement,\n LofOtp as LofOtpElement,\n LofPageHeader as LofPageHeaderElement,\n LofPagination as LofPaginationElement,\n LofPopover as LofPopoverElement,\n LofPopoverContent as LofPopoverContentElement,\n LofProgress as LofProgressElement,\n LofRadio as LofRadioElement,\n LofRangePicker as LofRangePickerElement,\n LofRating as LofRatingElement,\n LofResizableGroup as LofResizableGroupElement,\n LofResizableHandle as LofResizableHandleElement,\n LofResizablePanel as LofResizablePanelElement,\n LofSegmentedButton as LofSegmentedButtonElement,\n LofSelect as LofSelectElement,\n LofSignaturePad as LofSignaturePadElement,\n LofSkeleton as LofSkeletonElement,\n LofSlider as LofSliderElement,\n LofSnackbar as LofSnackbarElement,\n LofSplitButton as LofSplitButtonElement,\n LofStat as LofStatElement,\n LofStepper as LofStepperElement,\n LofSwitch as LofSwitchElement,\n LofTab as LofTabElement,\n LofTabItem as LofTabItemElement,\n LofTable as LofTableElement,\n LofTextfield as LofTextfieldElement,\n LofTimePicker as LofTimePickerElement,\n LofToast as LofToastElement,\n LofTooltip as LofTooltipElement,\n LofTree as LofTreeElement,\n LofUpload as LofUploadElement,\n LofUploadActions as LofUploadActionsElement,\n} from \"@lofid/web\";\n\n/** Every tag these wrappers render. */\nexport const WRAPPED_TAGS = [\n \"lof-accordion\",\n \"lof-alert\",\n \"lof-autocomplete\",\n \"lof-avatar\",\n \"lof-avatar-group\",\n \"lof-badge\",\n \"lof-breadcrumbs\",\n \"lof-button\",\n \"lof-calendar\",\n \"lof-card\",\n \"lof-card-media\",\n \"lof-carousel\",\n \"lof-checkbox\",\n \"lof-chip\",\n \"lof-container\",\n \"lof-date-picker\",\n \"lof-divider\",\n \"lof-drawer\",\n \"lof-drawer-footer\",\n \"lof-empty-state\",\n \"lof-image-input\",\n \"lof-kbd\",\n \"lof-kbd-group\",\n \"lof-layout\",\n \"lof-link\",\n \"lof-menu\",\n \"lof-menu-item\",\n \"lof-menubar\",\n \"lof-menubar-menu\",\n \"lof-modal\",\n \"lof-nav\",\n \"lof-otp\",\n \"lof-page-header\",\n \"lof-pagination\",\n \"lof-popover\",\n \"lof-popover-content\",\n \"lof-progress\",\n \"lof-radio\",\n \"lof-range-picker\",\n \"lof-rating\",\n \"lof-resizable-group\",\n \"lof-resizable-handle\",\n \"lof-resizable-panel\",\n \"lof-segmented-button\",\n \"lof-select\",\n \"lof-signature-pad\",\n \"lof-skeleton\",\n \"lof-slider\",\n \"lof-snackbar\",\n \"lof-split-button\",\n \"lof-stat\",\n \"lof-stepper\",\n \"lof-switch\",\n \"lof-tab\",\n \"lof-tab-item\",\n \"lof-table\",\n \"lof-textfield\",\n \"lof-time-picker\",\n \"lof-toast\",\n \"lof-tooltip\",\n \"lof-tree\",\n \"lof-upload\",\n \"lof-upload-actions\"\n] as const;\n","// @lofid/react: React wrappers for every @lofid/web element.\nexport * from \"./generated\";\nexport { createComponent } from \"./create-component\";\nexport type { AttributeSpec, EventHandlers, LofComponent, LofProps } from \"./create-component\";\n\nlet defined: Promise<void> | undefined;\n\n/**\n * Registers every lof-* element (and lof-icon) by loading @lofid/web.\n * Safe to call from anywhere and any number of times; it does nothing on the\n * server. Bundled SPAs can import \"@lofid/web\" at their entry instead.\n */\nexport function defineElements(): Promise<void> {\n if (typeof window === \"undefined\") return Promise.resolve();\n defined ??= import(\"@lofid/web\").then(() => undefined);\n return defined;\n}\n"],"mappings":";;;AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AAiBP,IAAM,wBAAwB,OAAO,WAAW,cAAc,YAAY;AAE1E,IAAM,aAAa,uBAAO,YAAY;AAItC,IAAM,aAAa,OAAO,SAAS,SAAS,EAAE,KAAK,KAAK,cAAc;AA4B/D,SAAS,gBACd,KACA,OACA,QAC4B;AAC5B,QAAM,QAAQ;AAC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AAU,aAAa;AAAA,EAClE,EAAE,aAAa,aAAa;AAC9B;AAsEO,IAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;AC9jBA,IAAI;AAOG,SAAS,iBAAgC;AAC9C,MAAI,OAAO,WAAW,YAAa,QAAO,QAAQ,QAAQ;AAC1D,cAAY,OAAO,YAAY,EAAE,KAAK,MAAM,MAAS;AACrD,SAAO;AACT;","names":["props"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lofid/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "React wrappers for the Lofid Design System web components, generated from @lofid/web",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "node --test test/ssr.test.mjs && node test/browser.mjs"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@lofid/web": "^1.
|
|
28
|
+
"@lofid/web": "^1.1.1",
|
|
29
29
|
"react": "^18.0.0 || ^19.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|