@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.
- package/README.md +28 -0
- package/esm/components/accordion.d.ts +8 -0
- package/esm/components/accordion.js +13 -0
- package/esm/components/action-bar.d.ts +10 -0
- package/esm/components/action-bar.js +15 -0
- package/esm/components/action-button.d.ts +16 -0
- package/esm/components/action-button.js +21 -0
- package/esm/components/action-group.d.ts +12 -0
- package/esm/components/action-group.js +17 -0
- package/esm/components/action-menu.d.ts +14 -0
- package/esm/components/action-menu.js +19 -0
- package/esm/components/avatar.d.ts +12 -0
- package/esm/components/avatar.js +17 -0
- package/esm/components/badge.d.ts +8 -0
- package/esm/components/badge.js +13 -0
- package/esm/components/button-group.d.ts +8 -0
- package/esm/components/button-group.js +13 -0
- package/esm/components/button.d.ts +14 -0
- package/esm/components/button.js +19 -0
- package/esm/components/calendar.d.ts +13 -0
- package/esm/components/calendar.js +18 -0
- package/esm/components/chat-message-group.d.ts +11 -0
- package/esm/components/chat-message-group.js +16 -0
- package/esm/components/chat-message.d.ts +8 -0
- package/esm/components/chat-message.js +13 -0
- package/esm/components/checkbox.d.ts +12 -0
- package/esm/components/checkbox.js +17 -0
- package/esm/components/color-area.d.ts +14 -0
- package/esm/components/color-area.js +19 -0
- package/esm/components/color-field.d.ts +18 -0
- package/esm/components/color-field.js +23 -0
- package/esm/components/color-handle.d.ts +8 -0
- package/esm/components/color-handle.js +13 -0
- package/esm/components/color-loupe.d.ts +8 -0
- package/esm/components/color-loupe.js +13 -0
- package/esm/components/color-menu.d.ts +14 -0
- package/esm/components/color-menu.js +19 -0
- package/esm/components/color-palette-group.d.ts +12 -0
- package/esm/components/color-palette-group.js +17 -0
- package/esm/components/color-palette.d.ts +12 -0
- package/esm/components/color-palette.js +17 -0
- package/esm/components/color-picker.d.ts +14 -0
- package/esm/components/color-picker.js +19 -0
- package/esm/components/color-slider.d.ts +16 -0
- package/esm/components/color-slider.js +21 -0
- package/esm/components/date-range-picker.d.ts +16 -0
- package/esm/components/date-range-picker.js +21 -0
- package/esm/components/date-time-picker.d.ts +16 -0
- package/esm/components/date-time-picker.js +21 -0
- package/esm/components/divider.d.ts +8 -0
- package/esm/components/divider.js +13 -0
- package/esm/components/field-group.d.ts +8 -0
- package/esm/components/field-group.js +13 -0
- package/esm/components/field-label.d.ts +8 -0
- package/esm/components/field-label.js +13 -0
- package/esm/components/icon.d.ts +8 -0
- package/esm/components/icon.js +13 -0
- package/esm/components/infield-button.d.ts +12 -0
- package/esm/components/infield-button.js +17 -0
- package/esm/components/label.d.ts +8 -0
- package/esm/components/label.js +13 -0
- package/esm/components/menu.d.ts +13 -0
- package/esm/components/menu.js +18 -0
- package/esm/components/multi-language-field.d.ts +12 -0
- package/esm/components/multi-language-field.js +17 -0
- package/esm/components/number-field.d.ts +18 -0
- package/esm/components/number-field.js +23 -0
- package/esm/components/options.d.ts +18 -0
- package/esm/components/options.js +23 -0
- package/esm/components/overlay.d.ts +16 -0
- package/esm/components/overlay.js +21 -0
- package/esm/components/picker-button.d.ts +12 -0
- package/esm/components/picker-button.js +17 -0
- package/esm/components/picker.d.ts +19 -0
- package/esm/components/picker.js +24 -0
- package/esm/components/popover.d.ts +8 -0
- package/esm/components/popover.js +13 -0
- package/esm/components/progress-bar.d.ts +8 -0
- package/esm/components/progress-bar.js +13 -0
- package/esm/components/progress-circle.d.ts +8 -0
- package/esm/components/progress-circle.js +13 -0
- package/esm/components/progress-steps.d.ts +14 -0
- package/esm/components/progress-steps.js +19 -0
- package/esm/components/prompt-box.d.ts +30 -0
- package/esm/components/prompt-box.js +35 -0
- package/esm/components/radio.d.ts +14 -0
- package/esm/components/radio.js +19 -0
- package/esm/components/search.d.ts +20 -0
- package/esm/components/search.js +25 -0
- package/esm/components/select.d.ts +22 -0
- package/esm/components/select.js +27 -0
- package/esm/components/skeleton-loader.d.ts +11 -0
- package/esm/components/skeleton-loader.js +16 -0
- package/esm/components/slider.d.ts +10 -0
- package/esm/components/slider.js +15 -0
- package/esm/components/status-light.d.ts +8 -0
- package/esm/components/status-light.js +13 -0
- package/esm/components/swatch.d.ts +13 -0
- package/esm/components/swatch.js +18 -0
- package/esm/components/switch.d.ts +14 -0
- package/esm/components/switch.js +19 -0
- package/esm/components/tabs.d.ts +14 -0
- package/esm/components/tabs.js +19 -0
- package/esm/components/tags.d.ts +8 -0
- package/esm/components/tags.js +13 -0
- package/esm/components/text-field.d.ts +18 -0
- package/esm/components/text-field.js +23 -0
- package/esm/components/toast.d.ts +12 -0
- package/esm/components/toast.js +17 -0
- package/esm/components/tooltip.d.ts +8 -0
- package/esm/components/tooltip.js +13 -0
- package/esm/components/top-nav.d.ts +14 -0
- package/esm/components/top-nav.js +19 -0
- package/esm/index.d.ts +59 -0
- package/esm/index.js +232 -0
- package/package.json +36 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoColorPalette as LuzmoColorPaletteClass } from '@luzmo/lucero/color-palette';
|
|
4
|
+
const LuzmoColorPaletteComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-color-palette',
|
|
6
|
+
elementClass: LuzmoColorPaletteClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onKeydown: 'keydown'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-color-palette>
|
|
14
|
+
*
|
|
15
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoColorPalette = LuzmoColorPaletteComponent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoColorPicker as LuzmoColorPickerClass } from '@luzmo/lucero/color-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-color-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - An alteration to the value of the Color Picker has been committed by the user.
|
|
7
|
+
* @event onInput - The value of the Color Picker has changed.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoColorPicker: ReactWebComponent<LuzmoColorPickerClass, {
|
|
10
|
+
onChange: EventName<Event>;
|
|
11
|
+
onInput: EventName<CustomEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoColorPicker */
|
|
14
|
+
export type LuzmoColorPickerElement = LuzmoColorPickerClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoColorPicker as LuzmoColorPickerClass } from '@luzmo/lucero/color-picker';
|
|
4
|
+
const LuzmoColorPickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-color-picker',
|
|
6
|
+
elementClass: LuzmoColorPickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change',
|
|
10
|
+
onInput: 'input'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-color-picker>
|
|
15
|
+
*
|
|
16
|
+
* @event onChange - An alteration to the value of the Color Picker has been committed by the user.
|
|
17
|
+
* @event onInput - The value of the Color Picker has changed.
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoColorPicker = LuzmoColorPickerComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoColorSlider as LuzmoColorSliderClass } from '@luzmo/lucero/color-slider';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-color-slider>
|
|
5
|
+
*
|
|
6
|
+
* @event onInput - The value of the Color Slider has changed.
|
|
7
|
+
* @event onChange - An alteration to the value of the Color Slider has been committed by the user.
|
|
8
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoColorSlider: ReactWebComponent<LuzmoColorSliderClass, {
|
|
11
|
+
onInput: EventName<Event>;
|
|
12
|
+
onChange: EventName<Event>;
|
|
13
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
14
|
+
}>;
|
|
15
|
+
/** The underlying custom element type for LuzmoColorSlider */
|
|
16
|
+
export type LuzmoColorSliderElement = LuzmoColorSliderClass;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoColorSlider as LuzmoColorSliderClass } from '@luzmo/lucero/color-slider';
|
|
4
|
+
const LuzmoColorSliderComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-color-slider',
|
|
6
|
+
elementClass: LuzmoColorSliderClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onInput: 'input',
|
|
10
|
+
onChange: 'change',
|
|
11
|
+
onKeydown: 'keydown'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* React wrapper for <luzmo-color-slider>
|
|
16
|
+
*
|
|
17
|
+
* @event onInput - The value of the Color Slider has changed.
|
|
18
|
+
* @event onChange - An alteration to the value of the Color Slider has been committed by the user.
|
|
19
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
20
|
+
*/
|
|
21
|
+
export const LuzmoColorSlider = LuzmoColorSliderComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoDateRangePicker as LuzmoDateRangePickerClass } from '@luzmo/lucero/date-range-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-date-range-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - Announces when a new date range is committed by the user
|
|
7
|
+
* @event onInput - Announces when the user's input changes the component's segments
|
|
8
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoDateRangePicker: ReactWebComponent<LuzmoDateRangePickerClass, {
|
|
11
|
+
onChange: EventName<CustomEvent>;
|
|
12
|
+
onInput: EventName<CustomEvent>;
|
|
13
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
14
|
+
}>;
|
|
15
|
+
/** The underlying custom element type for LuzmoDateRangePicker */
|
|
16
|
+
export type LuzmoDateRangePickerElement = LuzmoDateRangePickerClass;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoDateRangePicker as LuzmoDateRangePickerClass } from '@luzmo/lucero/date-range-picker';
|
|
4
|
+
const LuzmoDateRangePickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-date-range-picker',
|
|
6
|
+
elementClass: LuzmoDateRangePickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change',
|
|
10
|
+
onInput: 'input',
|
|
11
|
+
onKeydown: 'keydown'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* React wrapper for <luzmo-date-range-picker>
|
|
16
|
+
*
|
|
17
|
+
* @event onChange - Announces when a new date range is committed by the user
|
|
18
|
+
* @event onInput - Announces when the user's input changes the component's segments
|
|
19
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
20
|
+
*/
|
|
21
|
+
export const LuzmoDateRangePicker = LuzmoDateRangePickerComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoDateTimePicker as LuzmoDateTimePickerClass } from '@luzmo/lucero/date-time-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-date-time-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - Announces when a new date/time is committed by the user
|
|
7
|
+
* @event onInput - Announces when the user's input changes the component's segments
|
|
8
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoDateTimePicker: ReactWebComponent<LuzmoDateTimePickerClass, {
|
|
11
|
+
onChange: EventName<CustomEvent>;
|
|
12
|
+
onInput: EventName<CustomEvent>;
|
|
13
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
14
|
+
}>;
|
|
15
|
+
/** The underlying custom element type for LuzmoDateTimePicker */
|
|
16
|
+
export type LuzmoDateTimePickerElement = LuzmoDateTimePickerClass;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoDateTimePicker as LuzmoDateTimePickerClass } from '@luzmo/lucero/date-time-picker';
|
|
4
|
+
const LuzmoDateTimePickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-date-time-picker',
|
|
6
|
+
elementClass: LuzmoDateTimePickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change',
|
|
10
|
+
onInput: 'input',
|
|
11
|
+
onKeydown: 'keydown'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* React wrapper for <luzmo-date-time-picker>
|
|
16
|
+
*
|
|
17
|
+
* @event onChange - Announces when a new date/time is committed by the user
|
|
18
|
+
* @event onInput - Announces when the user's input changes the component's segments
|
|
19
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
20
|
+
*/
|
|
21
|
+
export const LuzmoDateTimePicker = LuzmoDateTimePickerComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoDivider as LuzmoDividerClass } from '@luzmo/lucero/divider';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-divider>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoDivider: ReactWebComponent<LuzmoDividerClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoDivider */
|
|
8
|
+
export type LuzmoDividerElement = LuzmoDividerClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoDivider as LuzmoDividerClass } from '@luzmo/lucero/divider';
|
|
4
|
+
const LuzmoDividerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-divider',
|
|
6
|
+
elementClass: LuzmoDividerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-divider>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoDivider = LuzmoDividerComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFieldGroup as LuzmoFieldGroupClass } from '@luzmo/lucero/field-group';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-field-group>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoFieldGroup: ReactWebComponent<LuzmoFieldGroupClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoFieldGroup */
|
|
8
|
+
export type LuzmoFieldGroupElement = LuzmoFieldGroupClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFieldGroup as LuzmoFieldGroupClass } from '@luzmo/lucero/field-group';
|
|
4
|
+
const LuzmoFieldGroupComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-field-group',
|
|
6
|
+
elementClass: LuzmoFieldGroupClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-field-group>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoFieldGroup = LuzmoFieldGroupComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFieldLabel as LuzmoFieldLabelClass } from '@luzmo/lucero/field-label';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-field-label>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoFieldLabel: ReactWebComponent<LuzmoFieldLabelClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoFieldLabel */
|
|
8
|
+
export type LuzmoFieldLabelElement = LuzmoFieldLabelClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFieldLabel as LuzmoFieldLabelClass } from '@luzmo/lucero/field-label';
|
|
4
|
+
const LuzmoFieldLabelComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-field-label',
|
|
6
|
+
elementClass: LuzmoFieldLabelClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-field-label>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoFieldLabel = LuzmoFieldLabelComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoIcon as LuzmoIconClass } from '@luzmo/lucero/icon';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-icon>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoIcon: ReactWebComponent<LuzmoIconClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoIcon */
|
|
8
|
+
export type LuzmoIconElement = LuzmoIconClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoIcon as LuzmoIconClass } from '@luzmo/lucero/icon';
|
|
4
|
+
const LuzmoIconComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-icon',
|
|
6
|
+
elementClass: LuzmoIconClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-icon>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoIcon = LuzmoIconComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoInfieldButton as LuzmoInfieldButtonClass } from '@luzmo/lucero/infield-button';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-infield-button>
|
|
5
|
+
*
|
|
6
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoInfieldButton: ReactWebComponent<LuzmoInfieldButtonClass, {
|
|
9
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoInfieldButton */
|
|
12
|
+
export type LuzmoInfieldButtonElement = LuzmoInfieldButtonClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoInfieldButton as LuzmoInfieldButtonClass } from '@luzmo/lucero/infield-button';
|
|
4
|
+
const LuzmoInfieldButtonComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-infield-button',
|
|
6
|
+
elementClass: LuzmoInfieldButtonClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onKeydown: 'keydown'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-infield-button>
|
|
14
|
+
*
|
|
15
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoInfieldButton = LuzmoInfieldButtonComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoLabel as LuzmoLabelClass } from '@luzmo/lucero/label';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-label>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoLabel: ReactWebComponent<LuzmoLabelClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoLabel */
|
|
8
|
+
export type LuzmoLabelElement = LuzmoLabelClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoLabel as LuzmoLabelClass } from '@luzmo/lucero/label';
|
|
4
|
+
const LuzmoLabelComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-label',
|
|
6
|
+
elementClass: LuzmoLabelClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-label>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoLabel = LuzmoLabelComponent;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoMenu as LuzmoMenuClass } from '@luzmo/lucero/menu';
|
|
3
|
+
/**
|
|
4
|
+
* Luzmo Menu Component
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoMenu: ReactWebComponent<LuzmoMenuClass, {
|
|
9
|
+
onChange: EventName<Event>;
|
|
10
|
+
onClose: EventName<Event>;
|
|
11
|
+
}>;
|
|
12
|
+
/** The underlying custom element type for LuzmoMenu */
|
|
13
|
+
export type LuzmoMenuElement = LuzmoMenuClass;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoMenu as LuzmoMenuClass } from '@luzmo/lucero/menu';
|
|
4
|
+
const LuzmoMenuComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-menu',
|
|
6
|
+
elementClass: LuzmoMenuClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change',
|
|
10
|
+
onClose: 'close'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* Luzmo Menu Component
|
|
15
|
+
*
|
|
16
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
17
|
+
*/
|
|
18
|
+
export const LuzmoMenu = LuzmoMenuComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoMultiLangField as LuzmoMultiLangFieldClass } from '@luzmo/lucero/multi-language-field';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-multi-language-field>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - An change of the i18n value happened by the user
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoMultiLanguageField: ReactWebComponent<LuzmoMultiLangFieldClass, {
|
|
9
|
+
onChange: EventName<CustomEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoMultiLanguageField */
|
|
12
|
+
export type LuzmoMultiLanguageFieldElement = LuzmoMultiLangFieldClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoMultiLangField as LuzmoMultiLangFieldClass } from '@luzmo/lucero/multi-language-field';
|
|
4
|
+
const LuzmoMultiLanguageFieldComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-multi-language-field',
|
|
6
|
+
elementClass: LuzmoMultiLangFieldClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-multi-language-field>
|
|
14
|
+
*
|
|
15
|
+
* @event onChange - An change of the i18n value happened by the user
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoMultiLanguageField = LuzmoMultiLanguageFieldComponent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoNumberField as LuzmoNumberFieldClass } from '@luzmo/lucero/number-field';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-number-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 LuzmoNumberField: ReactWebComponent<LuzmoNumberFieldClass, {
|
|
12
|
+
onChange: EventName<Event>;
|
|
13
|
+
onInput: EventName<CustomEvent>;
|
|
14
|
+
onKeypress: EventName<CustomEvent>;
|
|
15
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
16
|
+
}>;
|
|
17
|
+
/** The underlying custom element type for LuzmoNumberField */
|
|
18
|
+
export type LuzmoNumberFieldElement = LuzmoNumberFieldClass;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoNumberField as LuzmoNumberFieldClass } from '@luzmo/lucero/number-field';
|
|
4
|
+
const LuzmoNumberFieldComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-number-field',
|
|
6
|
+
elementClass: LuzmoNumberFieldClass,
|
|
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-number-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 LuzmoNumberField = LuzmoNumberFieldComponent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoOptions as LuzmoOptionsClass } from '@luzmo/lucero/options';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-options>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoScrolled - Announces that the user has scrolled within the options menu. Only fires when the options menu is virtualized.
|
|
7
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
8
|
+
* @event onLuzmoExceededTop - Announces that the `arrowUp` key has been pressed and the top of the options menu has been exceeded
|
|
9
|
+
* @event onLuzmoExceededBottom - Announces that the `arrowDown` key has been pressed and the bottom of the options menu has been exceeded
|
|
10
|
+
*/
|
|
11
|
+
export declare const LuzmoOptions: ReactWebComponent<LuzmoOptionsClass, {
|
|
12
|
+
onLuzmoScrolled: EventName<CustomEvent>;
|
|
13
|
+
onChange: EventName<CustomEvent>;
|
|
14
|
+
onLuzmoExceededTop: EventName<CustomEvent>;
|
|
15
|
+
onLuzmoExceededBottom: EventName<CustomEvent>;
|
|
16
|
+
}>;
|
|
17
|
+
/** The underlying custom element type for LuzmoOptions */
|
|
18
|
+
export type LuzmoOptionsElement = LuzmoOptionsClass;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoOptions as LuzmoOptionsClass } from '@luzmo/lucero/options';
|
|
4
|
+
const LuzmoOptionsComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-options',
|
|
6
|
+
elementClass: LuzmoOptionsClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoScrolled: 'luzmo-scrolled',
|
|
10
|
+
onChange: 'change',
|
|
11
|
+
onLuzmoExceededTop: 'luzmo-exceeded-top',
|
|
12
|
+
onLuzmoExceededBottom: 'luzmo-exceeded-bottom'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* React wrapper for <luzmo-options>
|
|
17
|
+
*
|
|
18
|
+
* @event onLuzmoScrolled - Announces that the user has scrolled within the options menu. Only fires when the options menu is virtualized.
|
|
19
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
20
|
+
* @event onLuzmoExceededTop - Announces that the `arrowUp` key has been pressed and the top of the options menu has been exceeded
|
|
21
|
+
* @event onLuzmoExceededBottom - Announces that the `arrowDown` key has been pressed and the bottom of the options menu has been exceeded
|
|
22
|
+
*/
|
|
23
|
+
export const LuzmoOptions = LuzmoOptionsComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoOverlay as LuzmoOverlayClass } from '@luzmo/lucero/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-overlay>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOpened - announces that an overlay has completed any entry animations
|
|
7
|
+
* @event onLuzmoClosed - announce that an overlay has compelted any exit animations
|
|
8
|
+
* @event onSlottableRequest - requests to add or remove slottable content
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoOverlay: ReactWebComponent<LuzmoOverlayClass, {
|
|
11
|
+
onLuzmoOpened: EventName<CustomEvent>;
|
|
12
|
+
onLuzmoClosed: EventName<CustomEvent>;
|
|
13
|
+
onSlottableRequest: EventName<CustomEvent>;
|
|
14
|
+
}>;
|
|
15
|
+
/** The underlying custom element type for LuzmoOverlay */
|
|
16
|
+
export type LuzmoOverlayElement = LuzmoOverlayClass;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoOverlay as LuzmoOverlayClass } from '@luzmo/lucero/overlay';
|
|
4
|
+
const LuzmoOverlayComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-overlay',
|
|
6
|
+
elementClass: LuzmoOverlayClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOpened: 'luzmo-opened',
|
|
10
|
+
onLuzmoClosed: 'luzmo-closed',
|
|
11
|
+
onSlottableRequest: 'slottable-request'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* React wrapper for <luzmo-overlay>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOpened - announces that an overlay has completed any entry animations
|
|
18
|
+
* @event onLuzmoClosed - announce that an overlay has compelted any exit animations
|
|
19
|
+
* @event onSlottableRequest - requests to add or remove slottable content
|
|
20
|
+
*/
|
|
21
|
+
export const LuzmoOverlay = LuzmoOverlayComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoPickerButton as LuzmoPickerButtonClass } from '@luzmo/lucero/picker-button';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-picker-button>
|
|
5
|
+
*
|
|
6
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoPickerButton: ReactWebComponent<LuzmoPickerButtonClass, {
|
|
9
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoPickerButton */
|
|
12
|
+
export type LuzmoPickerButtonElement = LuzmoPickerButtonClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoPickerButton as LuzmoPickerButtonClass } from '@luzmo/lucero/picker-button';
|
|
4
|
+
const LuzmoPickerButtonComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-picker-button',
|
|
6
|
+
elementClass: LuzmoPickerButtonClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onKeydown: 'keydown'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-picker-button>
|
|
14
|
+
*
|
|
15
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoPickerButton = LuzmoPickerButtonComponent;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoPicker as LuzmoPickerClass } from '@luzmo/lucero/picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
7
|
+
* @event onLuzmoOpened - Announces that the overlay has been opened
|
|
8
|
+
* @event onLuzmoClosed - Announces that the overlay has been closed
|
|
9
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
10
|
+
*/
|
|
11
|
+
export declare const LuzmoPicker: ReactWebComponent<LuzmoPickerClass, {
|
|
12
|
+
onChange: EventName<CustomEvent>;
|
|
13
|
+
onLuzmoOpened: EventName<CustomEvent>;
|
|
14
|
+
onLuzmoClosed: EventName<CustomEvent>;
|
|
15
|
+
onScroll: EventName<Event>;
|
|
16
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
17
|
+
}>;
|
|
18
|
+
/** The underlying custom element type for LuzmoPicker */
|
|
19
|
+
export type LuzmoPickerElement = LuzmoPickerClass;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoPicker as LuzmoPickerClass } from '@luzmo/lucero/picker';
|
|
4
|
+
const LuzmoPickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-picker',
|
|
6
|
+
elementClass: LuzmoPickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change',
|
|
10
|
+
onLuzmoOpened: 'luzmo-opened',
|
|
11
|
+
onLuzmoClosed: 'luzmo-closed',
|
|
12
|
+
onScroll: 'scroll',
|
|
13
|
+
onKeydown: 'keydown'
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* React wrapper for <luzmo-picker>
|
|
18
|
+
*
|
|
19
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
20
|
+
* @event onLuzmoOpened - Announces that the overlay has been opened
|
|
21
|
+
* @event onLuzmoClosed - Announces that the overlay has been closed
|
|
22
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
23
|
+
*/
|
|
24
|
+
export const LuzmoPicker = LuzmoPickerComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoPopover as LuzmoPopoverClass } from '@luzmo/lucero/popover';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-popover>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoPopover: ReactWebComponent<LuzmoPopoverClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoPopover */
|
|
8
|
+
export type LuzmoPopoverElement = LuzmoPopoverClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoPopover as LuzmoPopoverClass } from '@luzmo/lucero/popover';
|
|
4
|
+
const LuzmoPopoverComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-popover',
|
|
6
|
+
elementClass: LuzmoPopoverClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-popover>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoPopover = LuzmoPopoverComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoProgressBar as LuzmoProgressBarClass } from '@luzmo/lucero/progress-bar';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-progress-bar>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoProgressBar: ReactWebComponent<LuzmoProgressBarClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoProgressBar */
|
|
8
|
+
export type LuzmoProgressBarElement = LuzmoProgressBarClass;
|