@luzmo/react-lucero 2.0.0 → 2.1.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/split-view.d.ts +17 -0
- package/esm/components/split-view.js +22 -0
- package/esm/index.d.ts +3 -2
- package/esm/index.js +4 -0
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoSplitView as LuzmoSplitViewClass } from '@luzmo/lucero/split-view';
|
|
3
|
+
/**
|
|
4
|
+
* Divides two panes with an optionally interactive separator.
|
|
5
|
+
*
|
|
6
|
+
* @event onInput - The splitter position changes during interaction.
|
|
7
|
+
* @event onChange - A splitter position change is committed.
|
|
8
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoSplitView: ReactWebComponent<LuzmoSplitViewClass, {
|
|
11
|
+
onType: EventName<Event>;
|
|
12
|
+
onInput: EventName<CustomEvent>;
|
|
13
|
+
onChange: EventName<CustomEvent>;
|
|
14
|
+
onKeydown: EventName<KeyboardEvent>;
|
|
15
|
+
}>;
|
|
16
|
+
/** The underlying custom element type for LuzmoSplitView */
|
|
17
|
+
export type LuzmoSplitViewElement = LuzmoSplitViewClass;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoSplitView as LuzmoSplitViewClass } from '@luzmo/lucero/split-view';
|
|
4
|
+
const LuzmoSplitViewComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-split-view',
|
|
6
|
+
elementClass: LuzmoSplitViewClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onType: 'type',
|
|
10
|
+
onInput: 'input',
|
|
11
|
+
onChange: 'change',
|
|
12
|
+
onKeydown: 'keydown'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Divides two panes with an optionally interactive separator.
|
|
17
|
+
*
|
|
18
|
+
* @event onInput - The splitter position changes during interaction.
|
|
19
|
+
* @event onChange - A splitter position change is committed.
|
|
20
|
+
* @event onKeydown - Trick :focus-visible polyfill into thinking keyboard based focus
|
|
21
|
+
*/
|
|
22
|
+
export const LuzmoSplitView = LuzmoSplitViewComponent;
|
package/esm/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export { LuzmoSelect, type LuzmoSelectElement } from './components/select.js';
|
|
|
59
59
|
export { LuzmoSkeletonLoader, type LuzmoSkeletonLoaderElement } from './components/skeleton-loader.js';
|
|
60
60
|
export { LuzmoSlider, type LuzmoSliderElement } from './components/slider.js';
|
|
61
61
|
export { LuzmoSliderHandle, type LuzmoSliderHandleElement } from './components/slider-handle.js';
|
|
62
|
+
export { LuzmoSplitView, type LuzmoSplitViewElement } from './components/split-view.js';
|
|
62
63
|
export { LuzmoStatusLight, type LuzmoStatusLightElement } from './components/status-light.js';
|
|
63
64
|
export { LuzmoSwatch, type LuzmoSwatchElement } from './components/swatch.js';
|
|
64
65
|
export { LuzmoSwatchGroup, type LuzmoSwatchGroupElement } from './components/swatch-group.js';
|
|
@@ -74,6 +75,6 @@ export { LuzmoToast, type LuzmoToastElement } from './components/toast.js';
|
|
|
74
75
|
export { LuzmoTooltip, type LuzmoTooltipElement } from './components/tooltip.js';
|
|
75
76
|
export { LuzmoTopNav, type LuzmoTopNavElement } from './components/top-nav.js';
|
|
76
77
|
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"];
|
|
78
|
+
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, any];
|
|
79
|
+
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", "LuzmoSplitView", "LuzmoStatusLight", "LuzmoSwatch", "LuzmoSwatchGroup", "LuzmoSwitch", "LuzmoTab", "LuzmoTabPanel", "LuzmoTabs", "LuzmoTabsOverflow", "LuzmoTag", "LuzmoTags", "LuzmoTextField", "LuzmoToast", "LuzmoTooltip", "LuzmoTopNav", "LuzmoTopNavItem"];
|
|
79
80
|
export type LuzmoReactComponentName = typeof LUZMO_REACT_COMPONENT_NAMES[number];
|
package/esm/index.js
CHANGED
|
@@ -61,6 +61,7 @@ import { LuzmoSelect } from './components/select.js';
|
|
|
61
61
|
import { LuzmoSkeletonLoader } from './components/skeleton-loader.js';
|
|
62
62
|
import { LuzmoSlider } from './components/slider.js';
|
|
63
63
|
import { LuzmoSliderHandle } from './components/slider-handle.js';
|
|
64
|
+
import { LuzmoSplitView } from './components/split-view.js';
|
|
64
65
|
import { LuzmoStatusLight } from './components/status-light.js';
|
|
65
66
|
import { LuzmoSwatch } from './components/swatch.js';
|
|
66
67
|
import { LuzmoSwatchGroup } from './components/swatch-group.js';
|
|
@@ -137,6 +138,7 @@ export { LuzmoSelect } from './components/select.js';
|
|
|
137
138
|
export { LuzmoSkeletonLoader } from './components/skeleton-loader.js';
|
|
138
139
|
export { LuzmoSlider } from './components/slider.js';
|
|
139
140
|
export { LuzmoSliderHandle } from './components/slider-handle.js';
|
|
141
|
+
export { LuzmoSplitView } from './components/split-view.js';
|
|
140
142
|
export { LuzmoStatusLight } from './components/status-light.js';
|
|
141
143
|
export { LuzmoSwatch } from './components/swatch.js';
|
|
142
144
|
export { LuzmoSwatchGroup } from './components/swatch-group.js';
|
|
@@ -215,6 +217,7 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
215
217
|
LuzmoSkeletonLoader,
|
|
216
218
|
LuzmoSlider,
|
|
217
219
|
LuzmoSliderHandle,
|
|
220
|
+
LuzmoSplitView,
|
|
218
221
|
LuzmoStatusLight,
|
|
219
222
|
LuzmoSwatch,
|
|
220
223
|
LuzmoSwatchGroup,
|
|
@@ -294,6 +297,7 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
294
297
|
'LuzmoSkeletonLoader',
|
|
295
298
|
'LuzmoSlider',
|
|
296
299
|
'LuzmoSliderHandle',
|
|
300
|
+
'LuzmoSplitView',
|
|
297
301
|
'LuzmoStatusLight',
|
|
298
302
|
'LuzmoSwatch',
|
|
299
303
|
'LuzmoSwatchGroup',
|