@luzmo/react-lucero 1.0.3-alpha.14

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.
Files changed (116) hide show
  1. package/README.md +28 -0
  2. package/esm/components/accordion.d.ts +8 -0
  3. package/esm/components/accordion.js +13 -0
  4. package/esm/components/action-bar.d.ts +10 -0
  5. package/esm/components/action-bar.js +15 -0
  6. package/esm/components/action-button.d.ts +16 -0
  7. package/esm/components/action-button.js +21 -0
  8. package/esm/components/action-group.d.ts +12 -0
  9. package/esm/components/action-group.js +17 -0
  10. package/esm/components/action-menu.d.ts +14 -0
  11. package/esm/components/action-menu.js +19 -0
  12. package/esm/components/avatar.d.ts +12 -0
  13. package/esm/components/avatar.js +17 -0
  14. package/esm/components/badge.d.ts +8 -0
  15. package/esm/components/badge.js +13 -0
  16. package/esm/components/button-group.d.ts +8 -0
  17. package/esm/components/button-group.js +13 -0
  18. package/esm/components/button.d.ts +14 -0
  19. package/esm/components/button.js +19 -0
  20. package/esm/components/calendar.d.ts +13 -0
  21. package/esm/components/calendar.js +18 -0
  22. package/esm/components/chat-message-group.d.ts +11 -0
  23. package/esm/components/chat-message-group.js +16 -0
  24. package/esm/components/chat-message.d.ts +8 -0
  25. package/esm/components/chat-message.js +13 -0
  26. package/esm/components/checkbox.d.ts +12 -0
  27. package/esm/components/checkbox.js +17 -0
  28. package/esm/components/color-area.d.ts +14 -0
  29. package/esm/components/color-area.js +19 -0
  30. package/esm/components/color-field.d.ts +18 -0
  31. package/esm/components/color-field.js +23 -0
  32. package/esm/components/color-handle.d.ts +8 -0
  33. package/esm/components/color-handle.js +13 -0
  34. package/esm/components/color-loupe.d.ts +8 -0
  35. package/esm/components/color-loupe.js +13 -0
  36. package/esm/components/color-menu.d.ts +14 -0
  37. package/esm/components/color-menu.js +19 -0
  38. package/esm/components/color-palette-group.d.ts +12 -0
  39. package/esm/components/color-palette-group.js +17 -0
  40. package/esm/components/color-palette.d.ts +12 -0
  41. package/esm/components/color-palette.js +17 -0
  42. package/esm/components/color-picker.d.ts +14 -0
  43. package/esm/components/color-picker.js +19 -0
  44. package/esm/components/color-slider.d.ts +16 -0
  45. package/esm/components/color-slider.js +21 -0
  46. package/esm/components/date-range-picker.d.ts +16 -0
  47. package/esm/components/date-range-picker.js +21 -0
  48. package/esm/components/date-time-picker.d.ts +16 -0
  49. package/esm/components/date-time-picker.js +21 -0
  50. package/esm/components/divider.d.ts +8 -0
  51. package/esm/components/divider.js +13 -0
  52. package/esm/components/field-group.d.ts +8 -0
  53. package/esm/components/field-group.js +13 -0
  54. package/esm/components/field-label.d.ts +8 -0
  55. package/esm/components/field-label.js +13 -0
  56. package/esm/components/icon.d.ts +8 -0
  57. package/esm/components/icon.js +13 -0
  58. package/esm/components/infield-button.d.ts +12 -0
  59. package/esm/components/infield-button.js +17 -0
  60. package/esm/components/label.d.ts +8 -0
  61. package/esm/components/label.js +13 -0
  62. package/esm/components/menu.d.ts +13 -0
  63. package/esm/components/menu.js +18 -0
  64. package/esm/components/multi-language-field.d.ts +12 -0
  65. package/esm/components/multi-language-field.js +17 -0
  66. package/esm/components/number-field.d.ts +18 -0
  67. package/esm/components/number-field.js +23 -0
  68. package/esm/components/options.d.ts +18 -0
  69. package/esm/components/options.js +23 -0
  70. package/esm/components/overlay.d.ts +16 -0
  71. package/esm/components/overlay.js +21 -0
  72. package/esm/components/picker-button.d.ts +12 -0
  73. package/esm/components/picker-button.js +17 -0
  74. package/esm/components/picker.d.ts +19 -0
  75. package/esm/components/picker.js +24 -0
  76. package/esm/components/popover.d.ts +8 -0
  77. package/esm/components/popover.js +13 -0
  78. package/esm/components/progress-bar.d.ts +8 -0
  79. package/esm/components/progress-bar.js +13 -0
  80. package/esm/components/progress-circle.d.ts +8 -0
  81. package/esm/components/progress-circle.js +13 -0
  82. package/esm/components/progress-steps.d.ts +14 -0
  83. package/esm/components/progress-steps.js +19 -0
  84. package/esm/components/prompt-box.d.ts +30 -0
  85. package/esm/components/prompt-box.js +35 -0
  86. package/esm/components/radio.d.ts +14 -0
  87. package/esm/components/radio.js +19 -0
  88. package/esm/components/search.d.ts +20 -0
  89. package/esm/components/search.js +25 -0
  90. package/esm/components/select.d.ts +22 -0
  91. package/esm/components/select.js +27 -0
  92. package/esm/components/skeleton-loader.d.ts +11 -0
  93. package/esm/components/skeleton-loader.js +16 -0
  94. package/esm/components/slider.d.ts +10 -0
  95. package/esm/components/slider.js +15 -0
  96. package/esm/components/status-light.d.ts +8 -0
  97. package/esm/components/status-light.js +13 -0
  98. package/esm/components/swatch.d.ts +13 -0
  99. package/esm/components/swatch.js +18 -0
  100. package/esm/components/switch.d.ts +14 -0
  101. package/esm/components/switch.js +19 -0
  102. package/esm/components/tabs.d.ts +14 -0
  103. package/esm/components/tabs.js +19 -0
  104. package/esm/components/tags.d.ts +8 -0
  105. package/esm/components/tags.js +13 -0
  106. package/esm/components/text-field.d.ts +18 -0
  107. package/esm/components/text-field.js +23 -0
  108. package/esm/components/toast.d.ts +12 -0
  109. package/esm/components/toast.js +17 -0
  110. package/esm/components/tooltip.d.ts +8 -0
  111. package/esm/components/tooltip.js +13 -0
  112. package/esm/components/top-nav.d.ts +14 -0
  113. package/esm/components/top-nav.js +19 -0
  114. package/esm/index.d.ts +59 -0
  115. package/esm/index.js +232 -0
  116. package/package.json +36 -0
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoProgressBar as LuzmoProgressBarClass } from '@luzmo/lucero/progress-bar';
4
+ const LuzmoProgressBarComponent = createComponent({
5
+ tagName: 'luzmo-progress-bar',
6
+ elementClass: LuzmoProgressBarClass,
7
+ react: React,
8
+ events: {}
9
+ });
10
+ /**
11
+ * React wrapper for <luzmo-progress-bar>
12
+ */
13
+ export const LuzmoProgressBar = LuzmoProgressBarComponent;
@@ -0,0 +1,8 @@
1
+ import { ReactWebComponent } from '@lit/react';
2
+ import { LuzmoProgressCircle as LuzmoProgressCircleClass } from '@luzmo/lucero/progress-circle';
3
+ /**
4
+ * React wrapper for <luzmo-progress-circle>
5
+ */
6
+ export declare const LuzmoProgressCircle: ReactWebComponent<LuzmoProgressCircleClass>;
7
+ /** The underlying custom element type for LuzmoProgressCircle */
8
+ export type LuzmoProgressCircleElement = LuzmoProgressCircleClass;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoProgressCircle as LuzmoProgressCircleClass } from '@luzmo/lucero/progress-circle';
4
+ const LuzmoProgressCircleComponent = createComponent({
5
+ tagName: 'luzmo-progress-circle',
6
+ elementClass: LuzmoProgressCircleClass,
7
+ react: React,
8
+ events: {}
9
+ });
10
+ /**
11
+ * React wrapper for <luzmo-progress-circle>
12
+ */
13
+ export const LuzmoProgressCircle = LuzmoProgressCircleComponent;
@@ -0,0 +1,14 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoProgressSteps as LuzmoProgressStepsClass } from '@luzmo/lucero/progress-steps';
3
+ /**
4
+ * React wrapper for <luzmo-progress-steps>
5
+ *
6
+ * @event onLuzmoStepCollapsed - Fired when a step is collapsed
7
+ * @event onLuzmoStepExpanded - Fired when a step is expanded
8
+ */
9
+ export declare const LuzmoProgressSteps: ReactWebComponent<LuzmoProgressStepsClass, {
10
+ onLuzmoStepCollapsed: EventName<CustomEvent>;
11
+ onLuzmoStepExpanded: EventName<CustomEvent>;
12
+ }>;
13
+ /** The underlying custom element type for LuzmoProgressSteps */
14
+ export type LuzmoProgressStepsElement = LuzmoProgressStepsClass;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoProgressSteps as LuzmoProgressStepsClass } from '@luzmo/lucero/progress-steps';
4
+ const LuzmoProgressStepsComponent = createComponent({
5
+ tagName: 'luzmo-progress-steps',
6
+ elementClass: LuzmoProgressStepsClass,
7
+ react: React,
8
+ events: {
9
+ onLuzmoStepCollapsed: 'luzmo-step-collapsed',
10
+ onLuzmoStepExpanded: 'luzmo-step-expanded'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-progress-steps>
15
+ *
16
+ * @event onLuzmoStepCollapsed - Fired when a step is collapsed
17
+ * @event onLuzmoStepExpanded - Fired when a step is expanded
18
+ */
19
+ export const LuzmoProgressSteps = LuzmoProgressStepsComponent;
@@ -0,0 +1,30 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoPromptBox as LuzmoPromptBoxClass } from '@luzmo/lucero/prompt-box';
3
+ /**
4
+ * A prompt box component for chat/AI interfaces with text input and action slots.
5
+ *
6
+ * @event onLuzmoSubmit - Fired when the prompt is submitted.
7
+ * @event onLuzmoStop - Fired when the stop button is clicked.
8
+ * @event onLuzmoTriggerChange - Fired when a trigger menu opens, closes, or the search string changes.
9
+ * @event onLuzmoElementInserted - Fired when an inline element badge is inserted.
10
+ * @event onLuzmoElementRemoved - Fired when an inline element badge is removed.
11
+ * @event onLuzmoAttachmentsChange - Fired when attachments change.
12
+ * @event onLuzmoRecord - Fired when recording state changes.
13
+ * @event onLuzmoRecordingComplete - Fired when recording finishes.
14
+ * @event onLuzmoRecordCancel - Fired when recording is cancelled.
15
+ * @event onLuzmoRecordError - Fired when recording errors.
16
+ */
17
+ export declare const LuzmoPromptBox: ReactWebComponent<LuzmoPromptBoxClass, {
18
+ onLuzmoSubmit: EventName<CustomEvent>;
19
+ onLuzmoStop: EventName<CustomEvent>;
20
+ onLuzmoTriggerChange: EventName<CustomEvent>;
21
+ onLuzmoElementInserted: EventName<CustomEvent>;
22
+ onLuzmoElementRemoved: EventName<CustomEvent>;
23
+ onLuzmoAttachmentsChange: EventName<CustomEvent>;
24
+ onLuzmoRecord: EventName<CustomEvent>;
25
+ onLuzmoRecordingComplete: EventName<CustomEvent>;
26
+ onLuzmoRecordCancel: EventName<CustomEvent>;
27
+ onLuzmoRecordError: EventName<CustomEvent>;
28
+ }>;
29
+ /** The underlying custom element type for LuzmoPromptBox */
30
+ export type LuzmoPromptBoxElement = LuzmoPromptBoxClass;
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoPromptBox as LuzmoPromptBoxClass } from '@luzmo/lucero/prompt-box';
4
+ const LuzmoPromptBoxComponent = createComponent({
5
+ tagName: 'luzmo-prompt-box',
6
+ elementClass: LuzmoPromptBoxClass,
7
+ react: React,
8
+ events: {
9
+ onLuzmoSubmit: 'luzmo-submit',
10
+ onLuzmoStop: 'luzmo-stop',
11
+ onLuzmoTriggerChange: 'luzmo-trigger-change',
12
+ onLuzmoElementInserted: 'luzmo-element-inserted',
13
+ onLuzmoElementRemoved: 'luzmo-element-removed',
14
+ onLuzmoAttachmentsChange: 'luzmo-attachments-change',
15
+ onLuzmoRecord: 'luzmo-record',
16
+ onLuzmoRecordingComplete: 'luzmo-recording-complete',
17
+ onLuzmoRecordCancel: 'luzmo-record-cancel',
18
+ onLuzmoRecordError: 'luzmo-record-error'
19
+ }
20
+ });
21
+ /**
22
+ * A prompt box component for chat/AI interfaces with text input and action slots.
23
+ *
24
+ * @event onLuzmoSubmit - Fired when the prompt is submitted.
25
+ * @event onLuzmoStop - Fired when the stop button is clicked.
26
+ * @event onLuzmoTriggerChange - Fired when a trigger menu opens, closes, or the search string changes.
27
+ * @event onLuzmoElementInserted - Fired when an inline element badge is inserted.
28
+ * @event onLuzmoElementRemoved - Fired when an inline element badge is removed.
29
+ * @event onLuzmoAttachmentsChange - Fired when attachments change.
30
+ * @event onLuzmoRecord - Fired when recording state changes.
31
+ * @event onLuzmoRecordingComplete - Fired when recording finishes.
32
+ * @event onLuzmoRecordCancel - Fired when recording is cancelled.
33
+ * @event onLuzmoRecordError - Fired when recording errors.
34
+ */
35
+ export const LuzmoPromptBox = LuzmoPromptBoxComponent;
@@ -0,0 +1,14 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoRadio as LuzmoRadioClass } from '@luzmo/lucero/radio';
3
+ /**
4
+ * React wrapper for <luzmo-radio>
5
+ *
6
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
7
+ * @event onChange - When the input is interacted with and its state is changed
8
+ */
9
+ export declare const LuzmoRadio: ReactWebComponent<LuzmoRadioClass, {
10
+ onKeydown: EventName<KeyboardEvent>;
11
+ onChange: EventName<Event>;
12
+ }>;
13
+ /** The underlying custom element type for LuzmoRadio */
14
+ export type LuzmoRadioElement = LuzmoRadioClass;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoRadio as LuzmoRadioClass } from '@luzmo/lucero/radio';
4
+ const LuzmoRadioComponent = createComponent({
5
+ tagName: 'luzmo-radio',
6
+ elementClass: LuzmoRadioClass,
7
+ react: React,
8
+ events: {
9
+ onKeydown: 'keydown',
10
+ onChange: 'change'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-radio>
15
+ *
16
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
17
+ * @event onChange - When the input is interacted with and its state is changed
18
+ */
19
+ export const LuzmoRadio = LuzmoRadioComponent;
@@ -0,0 +1,20 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoSearch as LuzmoSearchClass } from '@luzmo/lucero/search';
3
+ /**
4
+ * React wrapper for <luzmo-search>
5
+ *
6
+ * @event onSubmit - The search form has been submitted.
7
+ * @event onChange - An alteration to the value of the element has been committed by the user.
8
+ * @event onInput - The value of the element has changed.
9
+ * @event onKeypress - A key has been pressed.
10
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
11
+ */
12
+ export declare const LuzmoSearch: ReactWebComponent<LuzmoSearchClass, {
13
+ onSubmit: EventName<Event>;
14
+ onChange: EventName<Event>;
15
+ onInput: EventName<CustomEvent>;
16
+ onKeypress: EventName<CustomEvent>;
17
+ onKeydown: EventName<KeyboardEvent>;
18
+ }>;
19
+ /** The underlying custom element type for LuzmoSearch */
20
+ export type LuzmoSearchElement = LuzmoSearchClass;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoSearch as LuzmoSearchClass } from '@luzmo/lucero/search';
4
+ const LuzmoSearchComponent = createComponent({
5
+ tagName: 'luzmo-search',
6
+ elementClass: LuzmoSearchClass,
7
+ react: React,
8
+ events: {
9
+ onSubmit: 'submit',
10
+ onChange: 'change',
11
+ onInput: 'input',
12
+ onKeypress: 'keypress',
13
+ onKeydown: 'keydown'
14
+ }
15
+ });
16
+ /**
17
+ * React wrapper for <luzmo-search>
18
+ *
19
+ * @event onSubmit - The search form has been submitted.
20
+ * @event onChange - An alteration to the value of the element has been committed by the user.
21
+ * @event onInput - The value of the element has changed.
22
+ * @event onKeypress - A key has been pressed.
23
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
24
+ */
25
+ export const LuzmoSearch = LuzmoSearchComponent;
@@ -0,0 +1,22 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoSelect as LuzmoSelectClass } from '@luzmo/lucero/select';
3
+ /**
4
+ * React wrapper for <luzmo-select>
5
+ *
6
+ * @event onChange - Announces that the `value` of the element has changed
7
+ * @event onLuzmoScrolled - Announces that the user has scrolled within the options menu. Only fires when the options menu is virtualized.
8
+ * @event onLuzmoSearch - Announces that the search has been updated
9
+ * @event onLuzmoOpened - Announces that the overlay has been opened
10
+ * @event onLuzmoClosed - Announces that the overlay has been closed
11
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
12
+ */
13
+ export declare const LuzmoSelect: ReactWebComponent<LuzmoSelectClass, {
14
+ onChange: EventName<CustomEvent>;
15
+ onLuzmoScrolled: EventName<CustomEvent>;
16
+ onLuzmoSearch: EventName<CustomEvent>;
17
+ onLuzmoOpened: EventName<CustomEvent>;
18
+ onLuzmoClosed: EventName<CustomEvent>;
19
+ onKeydown: EventName<KeyboardEvent>;
20
+ }>;
21
+ /** The underlying custom element type for LuzmoSelect */
22
+ export type LuzmoSelectElement = LuzmoSelectClass;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoSelect as LuzmoSelectClass } from '@luzmo/lucero/select';
4
+ const LuzmoSelectComponent = createComponent({
5
+ tagName: 'luzmo-select',
6
+ elementClass: LuzmoSelectClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change',
10
+ onLuzmoScrolled: 'luzmo-scrolled',
11
+ onLuzmoSearch: 'luzmo-search',
12
+ onLuzmoOpened: 'luzmo-opened',
13
+ onLuzmoClosed: 'luzmo-closed',
14
+ onKeydown: 'keydown'
15
+ }
16
+ });
17
+ /**
18
+ * React wrapper for <luzmo-select>
19
+ *
20
+ * @event onChange - Announces that the `value` of the element has changed
21
+ * @event onLuzmoScrolled - Announces that the user has scrolled within the options menu. Only fires when the options menu is virtualized.
22
+ * @event onLuzmoSearch - Announces that the search has been updated
23
+ * @event onLuzmoOpened - Announces that the overlay has been opened
24
+ * @event onLuzmoClosed - Announces that the overlay has been closed
25
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
26
+ */
27
+ export const LuzmoSelect = LuzmoSelectComponent;
@@ -0,0 +1,11 @@
1
+ import { ReactWebComponent } from '@lit/react';
2
+ import { LuzmoSkeletonLoader as LuzmoSkeletonLoaderClass } from '@luzmo/lucero/skeleton-loader';
3
+ /**
4
+ * A decorative loading placeholder block that renders a single skeleton with a
5
+ * built-in shimmer sweep. Fills its container by default; size it with the
6
+ * `width`/`height` attributes or by constraining the parent (e.g. a CSS grid
7
+ * cell). It is purely visual and is hidden from assistive technology.
8
+ */
9
+ export declare const LuzmoSkeletonLoader: ReactWebComponent<LuzmoSkeletonLoaderClass>;
10
+ /** The underlying custom element type for LuzmoSkeletonLoader */
11
+ export type LuzmoSkeletonLoaderElement = LuzmoSkeletonLoaderClass;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoSkeletonLoader as LuzmoSkeletonLoaderClass } from '@luzmo/lucero/skeleton-loader';
4
+ const LuzmoSkeletonLoaderComponent = createComponent({
5
+ tagName: 'luzmo-skeleton-loader',
6
+ elementClass: LuzmoSkeletonLoaderClass,
7
+ react: React,
8
+ events: {}
9
+ });
10
+ /**
11
+ * A decorative loading placeholder block that renders a single skeleton with a
12
+ * built-in shimmer sweep. Fills its container by default; size it with the
13
+ * `width`/`height` attributes or by constraining the parent (e.g. a CSS grid
14
+ * cell). It is purely visual and is hidden from assistive technology.
15
+ */
16
+ export const LuzmoSkeletonLoader = LuzmoSkeletonLoaderComponent;
@@ -0,0 +1,10 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoSlider as LuzmoSliderClass } from '@luzmo/lucero/slider';
3
+ /**
4
+ * React wrapper for <luzmo-slider>
5
+ */
6
+ export declare const LuzmoSlider: ReactWebComponent<LuzmoSliderClass, {
7
+ onChange: EventName<CustomEvent>;
8
+ }>;
9
+ /** The underlying custom element type for LuzmoSlider */
10
+ export type LuzmoSliderElement = LuzmoSliderClass;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoSlider as LuzmoSliderClass } from '@luzmo/lucero/slider';
4
+ const LuzmoSliderComponent = createComponent({
5
+ tagName: 'luzmo-slider',
6
+ elementClass: LuzmoSliderClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change'
10
+ }
11
+ });
12
+ /**
13
+ * React wrapper for <luzmo-slider>
14
+ */
15
+ export const LuzmoSlider = LuzmoSliderComponent;
@@ -0,0 +1,8 @@
1
+ import { ReactWebComponent } from '@lit/react';
2
+ import { LuzmoStatusLight as LuzmoStatusLightClass } from '@luzmo/lucero/status-light';
3
+ /**
4
+ * React wrapper for <luzmo-status-light>
5
+ */
6
+ export declare const LuzmoStatusLight: ReactWebComponent<LuzmoStatusLightClass>;
7
+ /** The underlying custom element type for LuzmoStatusLight */
8
+ export type LuzmoStatusLightElement = LuzmoStatusLightClass;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoStatusLight as LuzmoStatusLightClass } from '@luzmo/lucero/status-light';
4
+ const LuzmoStatusLightComponent = createComponent({
5
+ tagName: 'luzmo-status-light',
6
+ elementClass: LuzmoStatusLightClass,
7
+ react: React,
8
+ events: {}
9
+ });
10
+ /**
11
+ * React wrapper for <luzmo-status-light>
12
+ */
13
+ export const LuzmoStatusLight = LuzmoStatusLightComponent;
@@ -0,0 +1,13 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoSwatch as LuzmoSwatchClass } from '@luzmo/lucero/swatch';
3
+ /**
4
+ * React wrapper for <luzmo-swatch>
5
+ *
6
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
7
+ */
8
+ export declare const LuzmoSwatch: ReactWebComponent<LuzmoSwatchClass, {
9
+ onChange: EventName<Event>;
10
+ onKeydown: EventName<KeyboardEvent>;
11
+ }>;
12
+ /** The underlying custom element type for LuzmoSwatch */
13
+ export type LuzmoSwatchElement = LuzmoSwatchClass;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoSwatch as LuzmoSwatchClass } from '@luzmo/lucero/swatch';
4
+ const LuzmoSwatchComponent = createComponent({
5
+ tagName: 'luzmo-swatch',
6
+ elementClass: LuzmoSwatchClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change',
10
+ onKeydown: 'keydown'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-swatch>
15
+ *
16
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
17
+ */
18
+ export const LuzmoSwatch = LuzmoSwatchComponent;
@@ -0,0 +1,14 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoSwitch as LuzmoSwitchClass } from '@luzmo/lucero/switch';
3
+ /**
4
+ * React wrapper for <luzmo-switch>
5
+ *
6
+ * @event onChange - Announces a change in the `checked` property of a Switch
7
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
8
+ */
9
+ export declare const LuzmoSwitch: ReactWebComponent<LuzmoSwitchClass, {
10
+ onChange: EventName<CustomEvent>;
11
+ onKeydown: EventName<KeyboardEvent>;
12
+ }>;
13
+ /** The underlying custom element type for LuzmoSwitch */
14
+ export type LuzmoSwitchElement = LuzmoSwitchClass;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoSwitch as LuzmoSwitchClass } from '@luzmo/lucero/switch';
4
+ const LuzmoSwitchComponent = createComponent({
5
+ tagName: 'luzmo-switch',
6
+ elementClass: LuzmoSwitchClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change',
10
+ onKeydown: 'keydown'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-switch>
15
+ *
16
+ * @event onChange - Announces a change in the `checked` property of a Switch
17
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
18
+ */
19
+ export const LuzmoSwitch = LuzmoSwitchComponent;
@@ -0,0 +1,14 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoTabs as LuzmoTabsClass } from '@luzmo/lucero/tabs';
3
+ /**
4
+ * React wrapper for <luzmo-tabs>
5
+ *
6
+ * @event onChange - The selected Tab child has changed.
7
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
8
+ */
9
+ export declare const LuzmoTabs: ReactWebComponent<LuzmoTabsClass, {
10
+ onChange: EventName<Event>;
11
+ onKeydown: EventName<KeyboardEvent>;
12
+ }>;
13
+ /** The underlying custom element type for LuzmoTabs */
14
+ export type LuzmoTabsElement = LuzmoTabsClass;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoTabs as LuzmoTabsClass } from '@luzmo/lucero/tabs';
4
+ const LuzmoTabsComponent = createComponent({
5
+ tagName: 'luzmo-tabs',
6
+ elementClass: LuzmoTabsClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change',
10
+ onKeydown: 'keydown'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-tabs>
15
+ *
16
+ * @event onChange - The selected Tab child has changed.
17
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
18
+ */
19
+ export const LuzmoTabs = LuzmoTabsComponent;
@@ -0,0 +1,8 @@
1
+ import { ReactWebComponent } from '@lit/react';
2
+ import { LuzmoTags as LuzmoTagsClass } from '@luzmo/lucero/tags';
3
+ /**
4
+ * React wrapper for <luzmo-tags>
5
+ */
6
+ export declare const LuzmoTags: ReactWebComponent<LuzmoTagsClass>;
7
+ /** The underlying custom element type for LuzmoTags */
8
+ export type LuzmoTagsElement = LuzmoTagsClass;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoTags as LuzmoTagsClass } from '@luzmo/lucero/tags';
4
+ const LuzmoTagsComponent = createComponent({
5
+ tagName: 'luzmo-tags',
6
+ elementClass: LuzmoTagsClass,
7
+ react: React,
8
+ events: {}
9
+ });
10
+ /**
11
+ * React wrapper for <luzmo-tags>
12
+ */
13
+ export const LuzmoTags = LuzmoTagsComponent;
@@ -0,0 +1,18 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoTextField as LuzmoTextFieldClass } from '@luzmo/lucero/text-field';
3
+ /**
4
+ * React wrapper for <luzmo-text-field>
5
+ *
6
+ * @event onChange - An alteration to the value of the element has been committed by the user.
7
+ * @event onInput - The value of the element has changed.
8
+ * @event onKeypress - A key has been pressed.
9
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
10
+ */
11
+ export declare const LuzmoTextField: ReactWebComponent<LuzmoTextFieldClass, {
12
+ onChange: EventName<Event>;
13
+ onInput: EventName<CustomEvent>;
14
+ onKeypress: EventName<CustomEvent>;
15
+ onKeydown: EventName<KeyboardEvent>;
16
+ }>;
17
+ /** The underlying custom element type for LuzmoTextField */
18
+ export type LuzmoTextFieldElement = LuzmoTextFieldClass;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoTextField as LuzmoTextFieldClass } from '@luzmo/lucero/text-field';
4
+ const LuzmoTextFieldComponent = createComponent({
5
+ tagName: 'luzmo-text-field',
6
+ elementClass: LuzmoTextFieldClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change',
10
+ onInput: 'input',
11
+ onKeypress: 'keypress',
12
+ onKeydown: 'keydown'
13
+ }
14
+ });
15
+ /**
16
+ * React wrapper for <luzmo-text-field>
17
+ *
18
+ * @event onChange - An alteration to the value of the element has been committed by the user.
19
+ * @event onInput - The value of the element has changed.
20
+ * @event onKeypress - A key has been pressed.
21
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
22
+ */
23
+ export const LuzmoTextField = LuzmoTextFieldComponent;
@@ -0,0 +1,12 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoToast as LuzmoToastClass } from '@luzmo/lucero/toast';
3
+ /**
4
+ * React wrapper for <luzmo-toast>
5
+ *
6
+ * @event onClose - Announces that the Toast has been closed by the user or by its timeout.
7
+ */
8
+ export declare const LuzmoToast: ReactWebComponent<LuzmoToastClass, {
9
+ onClose: EventName<CustomEvent>;
10
+ }>;
11
+ /** The underlying custom element type for LuzmoToast */
12
+ export type LuzmoToastElement = LuzmoToastClass;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoToast as LuzmoToastClass } from '@luzmo/lucero/toast';
4
+ const LuzmoToastComponent = createComponent({
5
+ tagName: 'luzmo-toast',
6
+ elementClass: LuzmoToastClass,
7
+ react: React,
8
+ events: {
9
+ onClose: 'close'
10
+ }
11
+ });
12
+ /**
13
+ * React wrapper for <luzmo-toast>
14
+ *
15
+ * @event onClose - Announces that the Toast has been closed by the user or by its timeout.
16
+ */
17
+ export const LuzmoToast = LuzmoToastComponent;
@@ -0,0 +1,8 @@
1
+ import { ReactWebComponent } from '@lit/react';
2
+ import { LuzmoTooltip as LuzmoTooltipClass } from '@luzmo/lucero/tooltip';
3
+ /**
4
+ * React wrapper for <luzmo-tooltip>
5
+ */
6
+ export declare const LuzmoTooltip: ReactWebComponent<LuzmoTooltipClass>;
7
+ /** The underlying custom element type for LuzmoTooltip */
8
+ export type LuzmoTooltipElement = LuzmoTooltipClass;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoTooltip as LuzmoTooltipClass } from '@luzmo/lucero/tooltip';
4
+ const LuzmoTooltipComponent = createComponent({
5
+ tagName: 'luzmo-tooltip',
6
+ elementClass: LuzmoTooltipClass,
7
+ react: React,
8
+ events: {}
9
+ });
10
+ /**
11
+ * React wrapper for <luzmo-tooltip>
12
+ */
13
+ export const LuzmoTooltip = LuzmoTooltipComponent;
@@ -0,0 +1,14 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoTopNav as LuzmoTopNavClass } from '@luzmo/lucero/top-nav';
3
+ /**
4
+ * React wrapper for <luzmo-top-nav>
5
+ *
6
+ * @event onChange - The selected navigation item has changed.
7
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
8
+ */
9
+ export declare const LuzmoTopNav: ReactWebComponent<LuzmoTopNavClass, {
10
+ onChange: EventName<Event>;
11
+ onKeydown: EventName<KeyboardEvent>;
12
+ }>;
13
+ /** The underlying custom element type for LuzmoTopNav */
14
+ export type LuzmoTopNavElement = LuzmoTopNavClass;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoTopNav as LuzmoTopNavClass } from '@luzmo/lucero/top-nav';
4
+ const LuzmoTopNavComponent = createComponent({
5
+ tagName: 'luzmo-top-nav',
6
+ elementClass: LuzmoTopNavClass,
7
+ react: React,
8
+ events: {
9
+ onChange: 'change',
10
+ onKeydown: 'keydown'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-top-nav>
15
+ *
16
+ * @event onChange - The selected navigation item has changed.
17
+ * @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
18
+ */
19
+ export const LuzmoTopNav = LuzmoTopNavComponent;