@luzmo/react-lucero 1.0.3-alpha.18 → 2.0.0
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/esm/components/accordion-item.d.ts +14 -0
- package/esm/components/accordion-item.js +19 -0
- package/esm/components/button.d.ts +0 -2
- package/esm/components/button.js +0 -2
- package/esm/components/clear-button.d.ts +12 -0
- package/esm/components/clear-button.js +17 -0
- package/esm/components/close-button.d.ts +12 -0
- package/esm/components/close-button.js +17 -0
- package/esm/components/help-text.d.ts +8 -0
- package/esm/components/help-text.js +13 -0
- package/esm/components/menu-divider.d.ts +8 -0
- package/esm/components/menu-divider.js +13 -0
- package/esm/components/menu-group.d.ts +13 -0
- package/esm/components/menu-group.js +18 -0
- package/esm/components/menu-item.d.ts +14 -0
- package/esm/components/menu-item.js +19 -0
- package/esm/components/option.d.ts +12 -0
- package/esm/components/option.js +17 -0
- package/esm/components/options-divider.d.ts +8 -0
- package/esm/components/options-divider.js +13 -0
- package/esm/components/overlay-trigger.d.ts +14 -0
- package/esm/components/overlay-trigger.js +19 -0
- package/esm/components/radio-group.d.ts +12 -0
- package/esm/components/radio-group.js +17 -0
- package/esm/components/slider-handle.d.ts +15 -0
- package/esm/components/slider-handle.js +20 -0
- package/esm/components/slider.d.ts +8 -2
- package/esm/components/slider.js +8 -2
- package/esm/components/swatch-group.d.ts +10 -0
- package/esm/components/swatch-group.js +15 -0
- package/esm/components/tab-panel.d.ts +8 -0
- package/esm/components/tab-panel.js +13 -0
- package/esm/components/tab.d.ts +8 -0
- package/esm/components/tab.js +13 -0
- package/esm/components/tabs-overflow.d.ts +8 -0
- package/esm/components/tabs-overflow.js +13 -0
- package/esm/components/tag.d.ts +10 -0
- package/esm/components/tag.js +15 -0
- package/esm/components/top-nav-item.d.ts +8 -0
- package/esm/components/top-nav-item.js +13 -0
- package/esm/index.d.ts +20 -2
- package/esm/index.js +74 -2
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoAccordionItem as LuzmoAccordionItemClass } from '@luzmo/lucero/accordion';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-accordion-item>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoAccordionItemToggle - Announce that an accordion item has been toggled while allowing the event to be cancelled.
|
|
7
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoAccordionItem: ReactWebComponent<LuzmoAccordionItemClass, {
|
|
10
|
+
onLuzmoAccordionItemToggle: EventName<CustomEvent>;
|
|
11
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoAccordionItem */
|
|
14
|
+
export type LuzmoAccordionItemElement = LuzmoAccordionItemClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoAccordionItem as LuzmoAccordionItemClass } from '@luzmo/lucero/accordion';
|
|
4
|
+
const LuzmoAccordionItemComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-accordion-item',
|
|
6
|
+
elementClass: LuzmoAccordionItemClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoAccordionItemToggle: 'luzmo-accordion-item-toggle',
|
|
10
|
+
onKeydown: 'keydown'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-accordion-item>
|
|
15
|
+
*
|
|
16
|
+
* @event onLuzmoAccordionItemToggle - Announce that an accordion item has been toggled while allowing the event to be cancelled.
|
|
17
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoAccordionItem = LuzmoAccordionItemComponent;
|
|
@@ -3,11 +3,9 @@ import { LuzmoButton as LuzmoButtonClass } from '@luzmo/lucero/button';
|
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-button>
|
|
5
5
|
*
|
|
6
|
-
* @event onChange - Announces that the `value` of the element has changed
|
|
7
6
|
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
8
7
|
*/
|
|
9
8
|
export declare const LuzmoButton: ReactWebComponent<LuzmoButtonClass, {
|
|
10
|
-
onChange: EventName<CustomEvent>;
|
|
11
9
|
onKeydown: EventName<KeyboardEvent>;
|
|
12
10
|
}>;
|
|
13
11
|
/** The underlying custom element type for LuzmoButton */
|
package/esm/components/button.js
CHANGED
|
@@ -6,14 +6,12 @@ const LuzmoButtonComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoButtonClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onChange: 'change',
|
|
10
9
|
onKeydown: 'keydown'
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
12
|
/**
|
|
14
13
|
* React wrapper for <luzmo-button>
|
|
15
14
|
*
|
|
16
|
-
* @event onChange - Announces that the `value` of the element has changed
|
|
17
15
|
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
18
16
|
*/
|
|
19
17
|
export const LuzmoButton = LuzmoButtonComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoClearButton as LuzmoClearButtonClass } from '@luzmo/lucero/button';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-clear-button>
|
|
5
|
+
*
|
|
6
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoClearButton: ReactWebComponent<LuzmoClearButtonClass, {
|
|
9
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoClearButton */
|
|
12
|
+
export type LuzmoClearButtonElement = LuzmoClearButtonClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoClearButton as LuzmoClearButtonClass } from '@luzmo/lucero/button';
|
|
4
|
+
const LuzmoClearButtonComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-clear-button',
|
|
6
|
+
elementClass: LuzmoClearButtonClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onKeydown: 'keydown'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-clear-button>
|
|
14
|
+
*
|
|
15
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoClearButton = LuzmoClearButtonComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoCloseButton as LuzmoCloseButtonClass } from '@luzmo/lucero/button';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-close-button>
|
|
5
|
+
*
|
|
6
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoCloseButton: ReactWebComponent<LuzmoCloseButtonClass, {
|
|
9
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoCloseButton */
|
|
12
|
+
export type LuzmoCloseButtonElement = LuzmoCloseButtonClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoCloseButton as LuzmoCloseButtonClass } from '@luzmo/lucero/button';
|
|
4
|
+
const LuzmoCloseButtonComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-close-button',
|
|
6
|
+
elementClass: LuzmoCloseButtonClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onKeydown: 'keydown'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-close-button>
|
|
14
|
+
*
|
|
15
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoCloseButton = LuzmoCloseButtonComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoHelpText as LuzmoHelpTextClass } from '@luzmo/lucero/text-field';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-help-text>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoHelpText: ReactWebComponent<LuzmoHelpTextClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoHelpText */
|
|
8
|
+
export type LuzmoHelpTextElement = LuzmoHelpTextClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoHelpText as LuzmoHelpTextClass } from '@luzmo/lucero/text-field';
|
|
4
|
+
const LuzmoHelpTextComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-help-text',
|
|
6
|
+
elementClass: LuzmoHelpTextClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-help-text>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoHelpText = LuzmoHelpTextComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoMenuDivider as LuzmoMenuDividerClass } from '@luzmo/lucero/menu';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-menu-divider>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoMenuDivider: ReactWebComponent<LuzmoMenuDividerClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoMenuDivider */
|
|
8
|
+
export type LuzmoMenuDividerElement = LuzmoMenuDividerClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoMenuDivider as LuzmoMenuDividerClass } from '@luzmo/lucero/menu';
|
|
4
|
+
const LuzmoMenuDividerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-menu-divider',
|
|
6
|
+
elementClass: LuzmoMenuDividerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-menu-divider>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoMenuDivider = LuzmoMenuDividerComponent;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoMenuGroup as LuzmoMenuGroupClass } from '@luzmo/lucero/menu';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-menu-group>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoMenuGroup: ReactWebComponent<LuzmoMenuGroupClass, {
|
|
9
|
+
onChange: EventName<Event>;
|
|
10
|
+
onClose: EventName<Event>;
|
|
11
|
+
}>;
|
|
12
|
+
/** The underlying custom element type for LuzmoMenuGroup */
|
|
13
|
+
export type LuzmoMenuGroupElement = LuzmoMenuGroupClass;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoMenuGroup as LuzmoMenuGroupClass } from '@luzmo/lucero/menu';
|
|
4
|
+
const LuzmoMenuGroupComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-menu-group',
|
|
6
|
+
elementClass: LuzmoMenuGroupClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change',
|
|
10
|
+
onClose: 'close'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-menu-group>
|
|
15
|
+
*
|
|
16
|
+
* @event onChange - Announces that the `value` of the element has changed
|
|
17
|
+
*/
|
|
18
|
+
export const LuzmoMenuGroup = LuzmoMenuGroupComponent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoMenuItem as LuzmoMenuItemClass } from '@luzmo/lucero/menu';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-menu-item>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoMenuItemAddedOrUpdated - announces the item has been added or updated so a parent menu can take ownership
|
|
7
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoMenuItem: ReactWebComponent<LuzmoMenuItemClass, {
|
|
10
|
+
onLuzmoMenuItemAddedOrUpdated: EventName<CustomEvent>;
|
|
11
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoMenuItem */
|
|
14
|
+
export type LuzmoMenuItemElement = LuzmoMenuItemClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoMenuItem as LuzmoMenuItemClass } from '@luzmo/lucero/menu';
|
|
4
|
+
const LuzmoMenuItemComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-menu-item',
|
|
6
|
+
elementClass: LuzmoMenuItemClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoMenuItemAddedOrUpdated: 'luzmo-menu-item-added-or-updated',
|
|
10
|
+
onKeydown: 'keydown'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-menu-item>
|
|
15
|
+
*
|
|
16
|
+
* @event onLuzmoMenuItemAddedOrUpdated - announces the item has been added or updated so a parent menu can take ownership
|
|
17
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoMenuItem = LuzmoMenuItemComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoOption as LuzmoOptionClass } from '@luzmo/lucero/options';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-option>
|
|
5
|
+
*
|
|
6
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoOption: ReactWebComponent<LuzmoOptionClass, {
|
|
9
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoOption */
|
|
12
|
+
export type LuzmoOptionElement = LuzmoOptionClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoOption as LuzmoOptionClass } from '@luzmo/lucero/options';
|
|
4
|
+
const LuzmoOptionComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-option',
|
|
6
|
+
elementClass: LuzmoOptionClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onKeydown: 'keydown'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-option>
|
|
14
|
+
*
|
|
15
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoOption = LuzmoOptionComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoOptionsDivider as LuzmoOptionsDividerClass } from '@luzmo/lucero/options';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-options-divider>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoOptionsDivider: ReactWebComponent<LuzmoOptionsDividerClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoOptionsDivider */
|
|
8
|
+
export type LuzmoOptionsDividerElement = LuzmoOptionsDividerClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoOptionsDivider as LuzmoOptionsDividerClass } from '@luzmo/lucero/options';
|
|
4
|
+
const LuzmoOptionsDividerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-options-divider',
|
|
6
|
+
elementClass: LuzmoOptionsDividerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-options-divider>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoOptionsDivider = LuzmoOptionsDividerComponent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoOverlayTrigger as LuzmoOverlayTriggerClass } from '@luzmo/lucero/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-overlay-trigger>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOpened - Announces that the overlay has been opened
|
|
7
|
+
* @event onLuzmoClosed - Announces that the overlay has been closed
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoOverlayTrigger: ReactWebComponent<LuzmoOverlayTriggerClass, {
|
|
10
|
+
onLuzmoOpened: EventName<CustomEvent>;
|
|
11
|
+
onLuzmoClosed: EventName<CustomEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoOverlayTrigger */
|
|
14
|
+
export type LuzmoOverlayTriggerElement = LuzmoOverlayTriggerClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoOverlayTrigger as LuzmoOverlayTriggerClass } from '@luzmo/lucero/overlay';
|
|
4
|
+
const LuzmoOverlayTriggerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-overlay-trigger',
|
|
6
|
+
elementClass: LuzmoOverlayTriggerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOpened: 'luzmo-opened',
|
|
10
|
+
onLuzmoClosed: 'luzmo-closed'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-overlay-trigger>
|
|
15
|
+
*
|
|
16
|
+
* @event onLuzmoOpened - Announces that the overlay has been opened
|
|
17
|
+
* @event onLuzmoClosed - Announces that the overlay has been closed
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoOverlayTrigger = LuzmoOverlayTriggerComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoRadioGroup as LuzmoRadioGroupClass } from '@luzmo/lucero/radio';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-radio-group>
|
|
5
|
+
*
|
|
6
|
+
* @event onChange - An alteration to the value of the element has been committed by the user.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoRadioGroup: ReactWebComponent<LuzmoRadioGroupClass, {
|
|
9
|
+
onChange: EventName<Event>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoRadioGroup */
|
|
12
|
+
export type LuzmoRadioGroupElement = LuzmoRadioGroupClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoRadioGroup as LuzmoRadioGroupClass } from '@luzmo/lucero/radio';
|
|
4
|
+
const LuzmoRadioGroupComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-radio-group',
|
|
6
|
+
elementClass: LuzmoRadioGroupClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-radio-group>
|
|
14
|
+
*
|
|
15
|
+
* @event onChange - An alteration to the value of the element has been committed by the user.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoRadioGroup = LuzmoRadioGroupComponent;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoSliderHandle as LuzmoSliderHandleClass } from '@luzmo/lucero/slider';
|
|
3
|
+
/**
|
|
4
|
+
* A value model for a handle slotted into `luzmo-slider`. It renders nothing
|
|
5
|
+
* itself; the parent slider draws the thumb and owns the interaction.
|
|
6
|
+
*
|
|
7
|
+
* @event onInput - The handle value changed during user interaction.
|
|
8
|
+
* @event onChange - The handle value change was committed.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoSliderHandle: ReactWebComponent<LuzmoSliderHandleClass, {
|
|
11
|
+
onInput: EventName<Event>;
|
|
12
|
+
onChange: EventName<Event>;
|
|
13
|
+
}>;
|
|
14
|
+
/** The underlying custom element type for LuzmoSliderHandle */
|
|
15
|
+
export type LuzmoSliderHandleElement = LuzmoSliderHandleClass;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoSliderHandle as LuzmoSliderHandleClass } from '@luzmo/lucero/slider';
|
|
4
|
+
const LuzmoSliderHandleComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-slider-handle',
|
|
6
|
+
elementClass: LuzmoSliderHandleClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onInput: 'input',
|
|
10
|
+
onChange: 'change'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* A value model for a handle slotted into `luzmo-slider`. It renders nothing
|
|
15
|
+
* itself; the parent slider draws the thumb and owns the interaction.
|
|
16
|
+
*
|
|
17
|
+
* @event onInput - The handle value changed during user interaction.
|
|
18
|
+
* @event onChange - The handle value change was committed.
|
|
19
|
+
*/
|
|
20
|
+
export const LuzmoSliderHandle = LuzmoSliderHandleComponent;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
2
|
import { LuzmoSlider as LuzmoSliderClass } from '@luzmo/lucero/slider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* A numeric slider with one or more handles.
|
|
5
|
+
*
|
|
6
|
+
* @event onInput - The value changes during user interaction.
|
|
7
|
+
* @event onChange - A user value change is committed.
|
|
8
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
5
9
|
*/
|
|
6
10
|
export declare const LuzmoSlider: ReactWebComponent<LuzmoSliderClass, {
|
|
7
|
-
|
|
11
|
+
onInput: EventName<Event>;
|
|
12
|
+
onChange: EventName<Event>;
|
|
13
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
8
14
|
}>;
|
|
9
15
|
/** The underlying custom element type for LuzmoSlider */
|
|
10
16
|
export type LuzmoSliderElement = LuzmoSliderClass;
|
package/esm/components/slider.js
CHANGED
|
@@ -6,10 +6,16 @@ const LuzmoSliderComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoSliderClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
|
|
9
|
+
onInput: 'input',
|
|
10
|
+
onChange: 'change',
|
|
11
|
+
onKeydown: 'keydown'
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* A numeric slider with one or more handles.
|
|
16
|
+
*
|
|
17
|
+
* @event onInput - The value changes during user interaction.
|
|
18
|
+
* @event onChange - A user value change is committed.
|
|
19
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
14
20
|
*/
|
|
15
21
|
export const LuzmoSlider = LuzmoSliderComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoSwatchGroup as LuzmoSwatchGroupClass } from '@luzmo/lucero/swatch';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-swatch-group>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoSwatchGroup: ReactWebComponent<LuzmoSwatchGroupClass, {
|
|
7
|
+
onChange: EventName<Event>;
|
|
8
|
+
}>;
|
|
9
|
+
/** The underlying custom element type for LuzmoSwatchGroup */
|
|
10
|
+
export type LuzmoSwatchGroupElement = LuzmoSwatchGroupClass;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoSwatchGroup as LuzmoSwatchGroupClass } from '@luzmo/lucero/swatch';
|
|
4
|
+
const LuzmoSwatchGroupComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-swatch-group',
|
|
6
|
+
elementClass: LuzmoSwatchGroupClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onChange: 'change'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-swatch-group>
|
|
14
|
+
*/
|
|
15
|
+
export const LuzmoSwatchGroup = LuzmoSwatchGroupComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoTabPanel as LuzmoTabPanelClass } from '@luzmo/lucero/tabs';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-tab-panel>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoTabPanel: ReactWebComponent<LuzmoTabPanelClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoTabPanel */
|
|
8
|
+
export type LuzmoTabPanelElement = LuzmoTabPanelClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoTabPanel as LuzmoTabPanelClass } from '@luzmo/lucero/tabs';
|
|
4
|
+
const LuzmoTabPanelComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-tab-panel',
|
|
6
|
+
elementClass: LuzmoTabPanelClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-tab-panel>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoTabPanel = LuzmoTabPanelComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoTab as LuzmoTabClass } from '@luzmo/lucero/tabs';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-tab>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoTab: ReactWebComponent<LuzmoTabClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoTab */
|
|
8
|
+
export type LuzmoTabElement = LuzmoTabClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoTab as LuzmoTabClass } from '@luzmo/lucero/tabs';
|
|
4
|
+
const LuzmoTabComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-tab',
|
|
6
|
+
elementClass: LuzmoTabClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-tab>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoTab = LuzmoTabComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoTabsOverflow as LuzmoTabsOverflowClass } from '@luzmo/lucero/tabs';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-tabs-overflow>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoTabsOverflow: ReactWebComponent<LuzmoTabsOverflowClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoTabsOverflow */
|
|
8
|
+
export type LuzmoTabsOverflowElement = LuzmoTabsOverflowClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoTabsOverflow as LuzmoTabsOverflowClass } from '@luzmo/lucero/tabs';
|
|
4
|
+
const LuzmoTabsOverflowComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-tabs-overflow',
|
|
6
|
+
elementClass: LuzmoTabsOverflowClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-tabs-overflow>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoTabsOverflow = LuzmoTabsOverflowComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoTag as LuzmoTagClass } from '@luzmo/lucero/tags';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-tag>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoTag: ReactWebComponent<LuzmoTagClass, {
|
|
7
|
+
onDelete: EventName<Event>;
|
|
8
|
+
}>;
|
|
9
|
+
/** The underlying custom element type for LuzmoTag */
|
|
10
|
+
export type LuzmoTagElement = LuzmoTagClass;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoTag as LuzmoTagClass } from '@luzmo/lucero/tags';
|
|
4
|
+
const LuzmoTagComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-tag',
|
|
6
|
+
elementClass: LuzmoTagClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onDelete: 'delete'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-tag>
|
|
14
|
+
*/
|
|
15
|
+
export const LuzmoTag = LuzmoTagComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoTopNavItem as LuzmoTopNavItemClass } from '@luzmo/lucero/top-nav';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-top-nav-item>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoTopNavItem: ReactWebComponent<LuzmoTopNavItemClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoTopNavItem */
|
|
8
|
+
export type LuzmoTopNavItemElement = LuzmoTopNavItemClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoTopNavItem as LuzmoTopNavItemClass } from '@luzmo/lucero/top-nav';
|
|
4
|
+
const LuzmoTopNavItemComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-top-nav-item',
|
|
6
|
+
elementClass: LuzmoTopNavItemClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-top-nav-item>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoTopNavItem = LuzmoTopNavItemComponent;
|
package/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { LuzmoAccordion, type LuzmoAccordionElement } from './components/accordion.js';
|
|
2
|
+
export { LuzmoAccordionItem, type LuzmoAccordionItemElement } from './components/accordion-item.js';
|
|
2
3
|
export { LuzmoActionBar, type LuzmoActionBarElement } from './components/action-bar.js';
|
|
3
4
|
export { LuzmoActionButton, type LuzmoActionButtonElement } from './components/action-button.js';
|
|
4
5
|
export { LuzmoActionGroup, type LuzmoActionGroupElement } from './components/action-group.js';
|
|
@@ -11,6 +12,8 @@ export { LuzmoCalendar, type LuzmoCalendarElement } from './components/calendar.
|
|
|
11
12
|
export { LuzmoChatMessage, type LuzmoChatMessageElement } from './components/chat-message.js';
|
|
12
13
|
export { LuzmoChatMessageGroup, type LuzmoChatMessageGroupElement } from './components/chat-message-group.js';
|
|
13
14
|
export { LuzmoCheckbox, type LuzmoCheckboxElement } from './components/checkbox.js';
|
|
15
|
+
export { LuzmoClearButton, type LuzmoClearButtonElement } from './components/clear-button.js';
|
|
16
|
+
export { LuzmoCloseButton, type LuzmoCloseButtonElement } from './components/close-button.js';
|
|
14
17
|
export { LuzmoColorArea, type LuzmoColorAreaElement } from './components/color-area.js';
|
|
15
18
|
export { LuzmoColorField, type LuzmoColorFieldElement } from './components/color-field.js';
|
|
16
19
|
export { LuzmoColorHandle, type LuzmoColorHandleElement } from './components/color-handle.js';
|
|
@@ -25,15 +28,22 @@ export { LuzmoDateTimePicker, type LuzmoDateTimePickerElement } from './componen
|
|
|
25
28
|
export { LuzmoDivider, type LuzmoDividerElement } from './components/divider.js';
|
|
26
29
|
export { LuzmoFieldGroup, type LuzmoFieldGroupElement } from './components/field-group.js';
|
|
27
30
|
export { LuzmoFieldLabel, type LuzmoFieldLabelElement } from './components/field-label.js';
|
|
31
|
+
export { LuzmoHelpText, type LuzmoHelpTextElement } from './components/help-text.js';
|
|
28
32
|
export { LuzmoIcon, type LuzmoIconElement } from './components/icon.js';
|
|
29
33
|
export { LuzmoInfieldButton, type LuzmoInfieldButtonElement } from './components/infield-button.js';
|
|
30
34
|
export { LuzmoLabel, type LuzmoLabelElement } from './components/label.js';
|
|
31
35
|
export { LuzmoMenu, type LuzmoMenuElement } from './components/menu.js';
|
|
36
|
+
export { LuzmoMenuDivider, type LuzmoMenuDividerElement } from './components/menu-divider.js';
|
|
37
|
+
export { LuzmoMenuGroup, type LuzmoMenuGroupElement } from './components/menu-group.js';
|
|
38
|
+
export { LuzmoMenuItem, type LuzmoMenuItemElement } from './components/menu-item.js';
|
|
32
39
|
export { LuzmoMultiLanguageField, type LuzmoMultiLanguageFieldElement } from './components/multi-language-field.js';
|
|
33
40
|
export { LuzmoNotice, type LuzmoNoticeElement } from './components/notice.js';
|
|
34
41
|
export { LuzmoNumberField, type LuzmoNumberFieldElement } from './components/number-field.js';
|
|
42
|
+
export { LuzmoOption, type LuzmoOptionElement } from './components/option.js';
|
|
35
43
|
export { LuzmoOptions, type LuzmoOptionsElement } from './components/options.js';
|
|
44
|
+
export { LuzmoOptionsDivider, type LuzmoOptionsDividerElement } from './components/options-divider.js';
|
|
36
45
|
export { LuzmoOverlay, type LuzmoOverlayElement } from './components/overlay.js';
|
|
46
|
+
export { LuzmoOverlayTrigger, type LuzmoOverlayTriggerElement } from './components/overlay-trigger.js';
|
|
37
47
|
export { LuzmoPicker, type LuzmoPickerElement } from './components/picker.js';
|
|
38
48
|
export { LuzmoPickerButton, type LuzmoPickerButtonElement } from './components/picker-button.js';
|
|
39
49
|
export { LuzmoPopover, type LuzmoPopoverElement } from './components/popover.js';
|
|
@@ -43,19 +53,27 @@ export { LuzmoProgressSteps, type LuzmoProgressStepsElement } from './components
|
|
|
43
53
|
export { LuzmoPromptBox, type LuzmoPromptBoxElement } from './components/prompt-box.js';
|
|
44
54
|
export { LuzmoQuestionBox, type LuzmoQuestionBoxElement } from './components/question-box.js';
|
|
45
55
|
export { LuzmoRadio, type LuzmoRadioElement } from './components/radio.js';
|
|
56
|
+
export { LuzmoRadioGroup, type LuzmoRadioGroupElement } from './components/radio-group.js';
|
|
46
57
|
export { LuzmoSearch, type LuzmoSearchElement } from './components/search.js';
|
|
47
58
|
export { LuzmoSelect, type LuzmoSelectElement } from './components/select.js';
|
|
48
59
|
export { LuzmoSkeletonLoader, type LuzmoSkeletonLoaderElement } from './components/skeleton-loader.js';
|
|
49
60
|
export { LuzmoSlider, type LuzmoSliderElement } from './components/slider.js';
|
|
61
|
+
export { LuzmoSliderHandle, type LuzmoSliderHandleElement } from './components/slider-handle.js';
|
|
50
62
|
export { LuzmoStatusLight, type LuzmoStatusLightElement } from './components/status-light.js';
|
|
51
63
|
export { LuzmoSwatch, type LuzmoSwatchElement } from './components/swatch.js';
|
|
64
|
+
export { LuzmoSwatchGroup, type LuzmoSwatchGroupElement } from './components/swatch-group.js';
|
|
52
65
|
export { LuzmoSwitch, type LuzmoSwitchElement } from './components/switch.js';
|
|
66
|
+
export { LuzmoTab, type LuzmoTabElement } from './components/tab.js';
|
|
67
|
+
export { LuzmoTabPanel, type LuzmoTabPanelElement } from './components/tab-panel.js';
|
|
53
68
|
export { LuzmoTabs, type LuzmoTabsElement } from './components/tabs.js';
|
|
69
|
+
export { LuzmoTabsOverflow, type LuzmoTabsOverflowElement } from './components/tabs-overflow.js';
|
|
70
|
+
export { LuzmoTag, type LuzmoTagElement } from './components/tag.js';
|
|
54
71
|
export { LuzmoTags, type LuzmoTagsElement } from './components/tags.js';
|
|
55
72
|
export { LuzmoTextField, type LuzmoTextFieldElement } from './components/text-field.js';
|
|
56
73
|
export { LuzmoToast, type LuzmoToastElement } from './components/toast.js';
|
|
57
74
|
export { LuzmoTooltip, type LuzmoTooltipElement } from './components/tooltip.js';
|
|
58
75
|
export { LuzmoTopNav, type LuzmoTopNavElement } from './components/top-nav.js';
|
|
59
|
-
export
|
|
60
|
-
export declare const
|
|
76
|
+
export { LuzmoTopNavItem, type LuzmoTopNavItemElement } from './components/top-nav-item.js';
|
|
77
|
+
export declare const LUZMO_REACT_COMPONENTS: readonly [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any];
|
|
78
|
+
export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAccordion", "LuzmoAccordionItem", "LuzmoActionBar", "LuzmoActionButton", "LuzmoActionGroup", "LuzmoActionMenu", "LuzmoAvatar", "LuzmoBadge", "LuzmoButton", "LuzmoButtonGroup", "LuzmoCalendar", "LuzmoChatMessage", "LuzmoChatMessageGroup", "LuzmoCheckbox", "LuzmoClearButton", "LuzmoCloseButton", "LuzmoColorArea", "LuzmoColorField", "LuzmoColorHandle", "LuzmoColorLoupe", "LuzmoColorMenu", "LuzmoColorPalette", "LuzmoColorPaletteGroup", "LuzmoColorPicker", "LuzmoColorSlider", "LuzmoDateRangePicker", "LuzmoDateTimePicker", "LuzmoDivider", "LuzmoFieldGroup", "LuzmoFieldLabel", "LuzmoHelpText", "LuzmoIcon", "LuzmoInfieldButton", "LuzmoLabel", "LuzmoMenu", "LuzmoMenuDivider", "LuzmoMenuGroup", "LuzmoMenuItem", "LuzmoMultiLanguageField", "LuzmoNotice", "LuzmoNumberField", "LuzmoOption", "LuzmoOptions", "LuzmoOptionsDivider", "LuzmoOverlay", "LuzmoOverlayTrigger", "LuzmoPicker", "LuzmoPickerButton", "LuzmoPopover", "LuzmoProgressBar", "LuzmoProgressCircle", "LuzmoProgressSteps", "LuzmoPromptBox", "LuzmoQuestionBox", "LuzmoRadio", "LuzmoRadioGroup", "LuzmoSearch", "LuzmoSelect", "LuzmoSkeletonLoader", "LuzmoSlider", "LuzmoSliderHandle", "LuzmoStatusLight", "LuzmoSwatch", "LuzmoSwatchGroup", "LuzmoSwitch", "LuzmoTab", "LuzmoTabPanel", "LuzmoTabs", "LuzmoTabsOverflow", "LuzmoTag", "LuzmoTags", "LuzmoTextField", "LuzmoToast", "LuzmoTooltip", "LuzmoTopNav", "LuzmoTopNavItem"];
|
|
61
79
|
export type LuzmoReactComponentName = typeof LUZMO_REACT_COMPONENT_NAMES[number];
|
package/esm/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Auto-generated React wrappers for Luzmo Lucero Design System
|
|
2
2
|
// Generated using @lit/react
|
|
3
3
|
import { LuzmoAccordion } from './components/accordion.js';
|
|
4
|
+
import { LuzmoAccordionItem } from './components/accordion-item.js';
|
|
4
5
|
import { LuzmoActionBar } from './components/action-bar.js';
|
|
5
6
|
import { LuzmoActionButton } from './components/action-button.js';
|
|
6
7
|
import { LuzmoActionGroup } from './components/action-group.js';
|
|
@@ -13,6 +14,8 @@ import { LuzmoCalendar } from './components/calendar.js';
|
|
|
13
14
|
import { LuzmoChatMessage } from './components/chat-message.js';
|
|
14
15
|
import { LuzmoChatMessageGroup } from './components/chat-message-group.js';
|
|
15
16
|
import { LuzmoCheckbox } from './components/checkbox.js';
|
|
17
|
+
import { LuzmoClearButton } from './components/clear-button.js';
|
|
18
|
+
import { LuzmoCloseButton } from './components/close-button.js';
|
|
16
19
|
import { LuzmoColorArea } from './components/color-area.js';
|
|
17
20
|
import { LuzmoColorField } from './components/color-field.js';
|
|
18
21
|
import { LuzmoColorHandle } from './components/color-handle.js';
|
|
@@ -27,15 +30,22 @@ import { LuzmoDateTimePicker } from './components/date-time-picker.js';
|
|
|
27
30
|
import { LuzmoDivider } from './components/divider.js';
|
|
28
31
|
import { LuzmoFieldGroup } from './components/field-group.js';
|
|
29
32
|
import { LuzmoFieldLabel } from './components/field-label.js';
|
|
33
|
+
import { LuzmoHelpText } from './components/help-text.js';
|
|
30
34
|
import { LuzmoIcon } from './components/icon.js';
|
|
31
35
|
import { LuzmoInfieldButton } from './components/infield-button.js';
|
|
32
36
|
import { LuzmoLabel } from './components/label.js';
|
|
33
37
|
import { LuzmoMenu } from './components/menu.js';
|
|
38
|
+
import { LuzmoMenuDivider } from './components/menu-divider.js';
|
|
39
|
+
import { LuzmoMenuGroup } from './components/menu-group.js';
|
|
40
|
+
import { LuzmoMenuItem } from './components/menu-item.js';
|
|
34
41
|
import { LuzmoMultiLanguageField } from './components/multi-language-field.js';
|
|
35
42
|
import { LuzmoNotice } from './components/notice.js';
|
|
36
43
|
import { LuzmoNumberField } from './components/number-field.js';
|
|
44
|
+
import { LuzmoOption } from './components/option.js';
|
|
37
45
|
import { LuzmoOptions } from './components/options.js';
|
|
46
|
+
import { LuzmoOptionsDivider } from './components/options-divider.js';
|
|
38
47
|
import { LuzmoOverlay } from './components/overlay.js';
|
|
48
|
+
import { LuzmoOverlayTrigger } from './components/overlay-trigger.js';
|
|
39
49
|
import { LuzmoPicker } from './components/picker.js';
|
|
40
50
|
import { LuzmoPickerButton } from './components/picker-button.js';
|
|
41
51
|
import { LuzmoPopover } from './components/popover.js';
|
|
@@ -45,20 +55,29 @@ import { LuzmoProgressSteps } from './components/progress-steps.js';
|
|
|
45
55
|
import { LuzmoPromptBox } from './components/prompt-box.js';
|
|
46
56
|
import { LuzmoQuestionBox } from './components/question-box.js';
|
|
47
57
|
import { LuzmoRadio } from './components/radio.js';
|
|
58
|
+
import { LuzmoRadioGroup } from './components/radio-group.js';
|
|
48
59
|
import { LuzmoSearch } from './components/search.js';
|
|
49
60
|
import { LuzmoSelect } from './components/select.js';
|
|
50
61
|
import { LuzmoSkeletonLoader } from './components/skeleton-loader.js';
|
|
51
62
|
import { LuzmoSlider } from './components/slider.js';
|
|
63
|
+
import { LuzmoSliderHandle } from './components/slider-handle.js';
|
|
52
64
|
import { LuzmoStatusLight } from './components/status-light.js';
|
|
53
65
|
import { LuzmoSwatch } from './components/swatch.js';
|
|
66
|
+
import { LuzmoSwatchGroup } from './components/swatch-group.js';
|
|
54
67
|
import { LuzmoSwitch } from './components/switch.js';
|
|
68
|
+
import { LuzmoTab } from './components/tab.js';
|
|
69
|
+
import { LuzmoTabPanel } from './components/tab-panel.js';
|
|
55
70
|
import { LuzmoTabs } from './components/tabs.js';
|
|
71
|
+
import { LuzmoTabsOverflow } from './components/tabs-overflow.js';
|
|
72
|
+
import { LuzmoTag } from './components/tag.js';
|
|
56
73
|
import { LuzmoTags } from './components/tags.js';
|
|
57
74
|
import { LuzmoTextField } from './components/text-field.js';
|
|
58
75
|
import { LuzmoToast } from './components/toast.js';
|
|
59
76
|
import { LuzmoTooltip } from './components/tooltip.js';
|
|
60
77
|
import { LuzmoTopNav } from './components/top-nav.js';
|
|
78
|
+
import { LuzmoTopNavItem } from './components/top-nav-item.js';
|
|
61
79
|
export { LuzmoAccordion } from './components/accordion.js';
|
|
80
|
+
export { LuzmoAccordionItem } from './components/accordion-item.js';
|
|
62
81
|
export { LuzmoActionBar } from './components/action-bar.js';
|
|
63
82
|
export { LuzmoActionButton } from './components/action-button.js';
|
|
64
83
|
export { LuzmoActionGroup } from './components/action-group.js';
|
|
@@ -71,6 +90,8 @@ export { LuzmoCalendar } from './components/calendar.js';
|
|
|
71
90
|
export { LuzmoChatMessage } from './components/chat-message.js';
|
|
72
91
|
export { LuzmoChatMessageGroup } from './components/chat-message-group.js';
|
|
73
92
|
export { LuzmoCheckbox } from './components/checkbox.js';
|
|
93
|
+
export { LuzmoClearButton } from './components/clear-button.js';
|
|
94
|
+
export { LuzmoCloseButton } from './components/close-button.js';
|
|
74
95
|
export { LuzmoColorArea } from './components/color-area.js';
|
|
75
96
|
export { LuzmoColorField } from './components/color-field.js';
|
|
76
97
|
export { LuzmoColorHandle } from './components/color-handle.js';
|
|
@@ -85,15 +106,22 @@ export { LuzmoDateTimePicker } from './components/date-time-picker.js';
|
|
|
85
106
|
export { LuzmoDivider } from './components/divider.js';
|
|
86
107
|
export { LuzmoFieldGroup } from './components/field-group.js';
|
|
87
108
|
export { LuzmoFieldLabel } from './components/field-label.js';
|
|
109
|
+
export { LuzmoHelpText } from './components/help-text.js';
|
|
88
110
|
export { LuzmoIcon } from './components/icon.js';
|
|
89
111
|
export { LuzmoInfieldButton } from './components/infield-button.js';
|
|
90
112
|
export { LuzmoLabel } from './components/label.js';
|
|
91
113
|
export { LuzmoMenu } from './components/menu.js';
|
|
114
|
+
export { LuzmoMenuDivider } from './components/menu-divider.js';
|
|
115
|
+
export { LuzmoMenuGroup } from './components/menu-group.js';
|
|
116
|
+
export { LuzmoMenuItem } from './components/menu-item.js';
|
|
92
117
|
export { LuzmoMultiLanguageField } from './components/multi-language-field.js';
|
|
93
118
|
export { LuzmoNotice } from './components/notice.js';
|
|
94
119
|
export { LuzmoNumberField } from './components/number-field.js';
|
|
120
|
+
export { LuzmoOption } from './components/option.js';
|
|
95
121
|
export { LuzmoOptions } from './components/options.js';
|
|
122
|
+
export { LuzmoOptionsDivider } from './components/options-divider.js';
|
|
96
123
|
export { LuzmoOverlay } from './components/overlay.js';
|
|
124
|
+
export { LuzmoOverlayTrigger } from './components/overlay-trigger.js';
|
|
97
125
|
export { LuzmoPicker } from './components/picker.js';
|
|
98
126
|
export { LuzmoPickerButton } from './components/picker-button.js';
|
|
99
127
|
export { LuzmoPopover } from './components/popover.js';
|
|
@@ -103,22 +131,31 @@ export { LuzmoProgressSteps } from './components/progress-steps.js';
|
|
|
103
131
|
export { LuzmoPromptBox } from './components/prompt-box.js';
|
|
104
132
|
export { LuzmoQuestionBox } from './components/question-box.js';
|
|
105
133
|
export { LuzmoRadio } from './components/radio.js';
|
|
134
|
+
export { LuzmoRadioGroup } from './components/radio-group.js';
|
|
106
135
|
export { LuzmoSearch } from './components/search.js';
|
|
107
136
|
export { LuzmoSelect } from './components/select.js';
|
|
108
137
|
export { LuzmoSkeletonLoader } from './components/skeleton-loader.js';
|
|
109
138
|
export { LuzmoSlider } from './components/slider.js';
|
|
139
|
+
export { LuzmoSliderHandle } from './components/slider-handle.js';
|
|
110
140
|
export { LuzmoStatusLight } from './components/status-light.js';
|
|
111
141
|
export { LuzmoSwatch } from './components/swatch.js';
|
|
142
|
+
export { LuzmoSwatchGroup } from './components/swatch-group.js';
|
|
112
143
|
export { LuzmoSwitch } from './components/switch.js';
|
|
144
|
+
export { LuzmoTab } from './components/tab.js';
|
|
145
|
+
export { LuzmoTabPanel } from './components/tab-panel.js';
|
|
113
146
|
export { LuzmoTabs } from './components/tabs.js';
|
|
147
|
+
export { LuzmoTabsOverflow } from './components/tabs-overflow.js';
|
|
148
|
+
export { LuzmoTag } from './components/tag.js';
|
|
114
149
|
export { LuzmoTags } from './components/tags.js';
|
|
115
150
|
export { LuzmoTextField } from './components/text-field.js';
|
|
116
151
|
export { LuzmoToast } from './components/toast.js';
|
|
117
152
|
export { LuzmoTooltip } from './components/tooltip.js';
|
|
118
153
|
export { LuzmoTopNav } from './components/top-nav.js';
|
|
154
|
+
export { LuzmoTopNavItem } from './components/top-nav-item.js';
|
|
119
155
|
// Array of all React component classes for easy imports
|
|
120
156
|
export const LUZMO_REACT_COMPONENTS = [
|
|
121
157
|
LuzmoAccordion,
|
|
158
|
+
LuzmoAccordionItem,
|
|
122
159
|
LuzmoActionBar,
|
|
123
160
|
LuzmoActionButton,
|
|
124
161
|
LuzmoActionGroup,
|
|
@@ -131,6 +168,8 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
131
168
|
LuzmoChatMessage,
|
|
132
169
|
LuzmoChatMessageGroup,
|
|
133
170
|
LuzmoCheckbox,
|
|
171
|
+
LuzmoClearButton,
|
|
172
|
+
LuzmoCloseButton,
|
|
134
173
|
LuzmoColorArea,
|
|
135
174
|
LuzmoColorField,
|
|
136
175
|
LuzmoColorHandle,
|
|
@@ -145,15 +184,22 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
145
184
|
LuzmoDivider,
|
|
146
185
|
LuzmoFieldGroup,
|
|
147
186
|
LuzmoFieldLabel,
|
|
187
|
+
LuzmoHelpText,
|
|
148
188
|
LuzmoIcon,
|
|
149
189
|
LuzmoInfieldButton,
|
|
150
190
|
LuzmoLabel,
|
|
151
191
|
LuzmoMenu,
|
|
192
|
+
LuzmoMenuDivider,
|
|
193
|
+
LuzmoMenuGroup,
|
|
194
|
+
LuzmoMenuItem,
|
|
152
195
|
LuzmoMultiLanguageField,
|
|
153
196
|
LuzmoNotice,
|
|
154
197
|
LuzmoNumberField,
|
|
198
|
+
LuzmoOption,
|
|
155
199
|
LuzmoOptions,
|
|
200
|
+
LuzmoOptionsDivider,
|
|
156
201
|
LuzmoOverlay,
|
|
202
|
+
LuzmoOverlayTrigger,
|
|
157
203
|
LuzmoPicker,
|
|
158
204
|
LuzmoPickerButton,
|
|
159
205
|
LuzmoPopover,
|
|
@@ -163,23 +209,32 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
163
209
|
LuzmoPromptBox,
|
|
164
210
|
LuzmoQuestionBox,
|
|
165
211
|
LuzmoRadio,
|
|
212
|
+
LuzmoRadioGroup,
|
|
166
213
|
LuzmoSearch,
|
|
167
214
|
LuzmoSelect,
|
|
168
215
|
LuzmoSkeletonLoader,
|
|
169
216
|
LuzmoSlider,
|
|
217
|
+
LuzmoSliderHandle,
|
|
170
218
|
LuzmoStatusLight,
|
|
171
219
|
LuzmoSwatch,
|
|
220
|
+
LuzmoSwatchGroup,
|
|
172
221
|
LuzmoSwitch,
|
|
222
|
+
LuzmoTab,
|
|
223
|
+
LuzmoTabPanel,
|
|
173
224
|
LuzmoTabs,
|
|
225
|
+
LuzmoTabsOverflow,
|
|
226
|
+
LuzmoTag,
|
|
174
227
|
LuzmoTags,
|
|
175
228
|
LuzmoTextField,
|
|
176
229
|
LuzmoToast,
|
|
177
230
|
LuzmoTooltip,
|
|
178
|
-
LuzmoTopNav
|
|
231
|
+
LuzmoTopNav,
|
|
232
|
+
LuzmoTopNavItem
|
|
179
233
|
];
|
|
180
234
|
// List of all available React component names
|
|
181
235
|
export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
182
236
|
'LuzmoAccordion',
|
|
237
|
+
'LuzmoAccordionItem',
|
|
183
238
|
'LuzmoActionBar',
|
|
184
239
|
'LuzmoActionButton',
|
|
185
240
|
'LuzmoActionGroup',
|
|
@@ -192,6 +247,8 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
192
247
|
'LuzmoChatMessage',
|
|
193
248
|
'LuzmoChatMessageGroup',
|
|
194
249
|
'LuzmoCheckbox',
|
|
250
|
+
'LuzmoClearButton',
|
|
251
|
+
'LuzmoCloseButton',
|
|
195
252
|
'LuzmoColorArea',
|
|
196
253
|
'LuzmoColorField',
|
|
197
254
|
'LuzmoColorHandle',
|
|
@@ -206,15 +263,22 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
206
263
|
'LuzmoDivider',
|
|
207
264
|
'LuzmoFieldGroup',
|
|
208
265
|
'LuzmoFieldLabel',
|
|
266
|
+
'LuzmoHelpText',
|
|
209
267
|
'LuzmoIcon',
|
|
210
268
|
'LuzmoInfieldButton',
|
|
211
269
|
'LuzmoLabel',
|
|
212
270
|
'LuzmoMenu',
|
|
271
|
+
'LuzmoMenuDivider',
|
|
272
|
+
'LuzmoMenuGroup',
|
|
273
|
+
'LuzmoMenuItem',
|
|
213
274
|
'LuzmoMultiLanguageField',
|
|
214
275
|
'LuzmoNotice',
|
|
215
276
|
'LuzmoNumberField',
|
|
277
|
+
'LuzmoOption',
|
|
216
278
|
'LuzmoOptions',
|
|
279
|
+
'LuzmoOptionsDivider',
|
|
217
280
|
'LuzmoOverlay',
|
|
281
|
+
'LuzmoOverlayTrigger',
|
|
218
282
|
'LuzmoPicker',
|
|
219
283
|
'LuzmoPickerButton',
|
|
220
284
|
'LuzmoPopover',
|
|
@@ -224,17 +288,25 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
224
288
|
'LuzmoPromptBox',
|
|
225
289
|
'LuzmoQuestionBox',
|
|
226
290
|
'LuzmoRadio',
|
|
291
|
+
'LuzmoRadioGroup',
|
|
227
292
|
'LuzmoSearch',
|
|
228
293
|
'LuzmoSelect',
|
|
229
294
|
'LuzmoSkeletonLoader',
|
|
230
295
|
'LuzmoSlider',
|
|
296
|
+
'LuzmoSliderHandle',
|
|
231
297
|
'LuzmoStatusLight',
|
|
232
298
|
'LuzmoSwatch',
|
|
299
|
+
'LuzmoSwatchGroup',
|
|
233
300
|
'LuzmoSwitch',
|
|
301
|
+
'LuzmoTab',
|
|
302
|
+
'LuzmoTabPanel',
|
|
234
303
|
'LuzmoTabs',
|
|
304
|
+
'LuzmoTabsOverflow',
|
|
305
|
+
'LuzmoTag',
|
|
235
306
|
'LuzmoTags',
|
|
236
307
|
'LuzmoTextField',
|
|
237
308
|
'LuzmoToast',
|
|
238
309
|
'LuzmoTooltip',
|
|
239
|
-
'LuzmoTopNav'
|
|
310
|
+
'LuzmoTopNav',
|
|
311
|
+
'LuzmoTopNavItem'
|
|
240
312
|
];
|