@luzmo/react-analytics-components-kit 1.0.9-beta.9 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/ai-chat.component.d.ts +3 -1
- package/esm/components/ai-chat.component.js +3 -1
- package/esm/components/interactive-viz-item.component.d.ts +8 -2
- package/esm/components/interactive-viz-item.component.js +7 -1
- package/esm/components/item-grid-item-actions-menu.component.d.ts +14 -0
- package/esm/components/item-grid-item-actions-menu.component.js +19 -0
- package/esm/components/item-grid.component.d.ts +3 -1
- package/esm/components/item-grid.component.js +2 -0
- package/esm/components/item-option-color-picker.component.d.ts +6 -2
- package/esm/components/item-option-color-picker.component.js +6 -2
- package/esm/components/item-option-color-range.component.d.ts +6 -2
- package/esm/components/item-option-color-range.component.js +6 -2
- package/esm/components/item-option-guidelines.component.d.ts +6 -2
- package/esm/components/item-option-guidelines.component.js +6 -2
- package/esm/components/item-option-panel.component.d.ts +8 -2
- package/esm/components/item-option-panel.component.js +8 -2
- package/esm/components/item-option-slider.component.d.ts +8 -2
- package/esm/components/item-option-slider.component.js +8 -2
- package/esm/components/item-option.component.d.ts +8 -2
- package/esm/components/item-option.component.js +8 -2
- package/esm/index.d.ts +2 -2
- package/esm/index.js +6 -6
- package/package.json +6 -2
- package/esm/components/viz-item-menu.component.d.ts +0 -16
- package/esm/components/viz-item-menu.component.js +0 -21
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoAiChat as LuzmoAiChatClass, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatMessageSentEventDetail, AiChatStepEvent, AssistantMessageActionEventDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
2
|
+
import { LuzmoAiChat as LuzmoAiChatClass, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatMessageSentEventDetail, AiChatStepEvent, AssistantMessageActionEventDetail, AssistantMessageFeedbackEventDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-ai-chat>
|
|
5
5
|
*
|
|
@@ -10,6 +10,7 @@ import { LuzmoAiChat as LuzmoAiChatClass, AiChatCompleteEvent, AiChatConversatio
|
|
|
10
10
|
* @event onLuzmoStop - Fired when an in-flight prompt is stopped
|
|
11
11
|
* @event onLuzmoConversationIdChanged - Fired when the conversation ID is updated from the API
|
|
12
12
|
* @event onLuzmoAssistantMessageAction - Fired when a built-in assistant message action is activated (after confirmation when `confirm` is set)
|
|
13
|
+
* @event onLuzmoAssistantMessageFeedback - Fired once when the user selects, switches or clears a thumbs rating, after the session holds the new rating. Not fired for programmatic updates.
|
|
13
14
|
*/
|
|
14
15
|
export declare const LuzmoAiChat: ReactWebComponent<LuzmoAiChatClass, {
|
|
15
16
|
onLuzmoMessageSent: EventName<CustomEvent<AiChatMessageSentEventDetail>>;
|
|
@@ -19,6 +20,7 @@ export declare const LuzmoAiChat: ReactWebComponent<LuzmoAiChatClass, {
|
|
|
19
20
|
onLuzmoStop: EventName<CustomEvent<void>>;
|
|
20
21
|
onLuzmoConversationIdChanged: EventName<CustomEvent<AiChatConversationIdChangedEventDetail>>;
|
|
21
22
|
onLuzmoAssistantMessageAction: EventName<CustomEvent<AssistantMessageActionEventDetail>>;
|
|
23
|
+
onLuzmoAssistantMessageFeedback: EventName<CustomEvent<AssistantMessageFeedbackEventDetail>>;
|
|
22
24
|
}>;
|
|
23
25
|
/** The underlying custom element type for LuzmoAiChat */
|
|
24
26
|
export type LuzmoAiChatElement = LuzmoAiChatClass;
|
|
@@ -12,7 +12,8 @@ const LuzmoAiChatComponent = createComponent({
|
|
|
12
12
|
onLuzmoComplete: 'luzmo-complete',
|
|
13
13
|
onLuzmoStop: 'luzmo-stop',
|
|
14
14
|
onLuzmoConversationIdChanged: 'luzmo-conversation-id-changed',
|
|
15
|
-
onLuzmoAssistantMessageAction: 'luzmo-assistant-message-action'
|
|
15
|
+
onLuzmoAssistantMessageAction: 'luzmo-assistant-message-action',
|
|
16
|
+
onLuzmoAssistantMessageFeedback: 'luzmo-assistant-message-feedback'
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
19
|
/**
|
|
@@ -25,5 +26,6 @@ const LuzmoAiChatComponent = createComponent({
|
|
|
25
26
|
* @event onLuzmoStop - Fired when an in-flight prompt is stopped
|
|
26
27
|
* @event onLuzmoConversationIdChanged - Fired when the conversation ID is updated from the API
|
|
27
28
|
* @event onLuzmoAssistantMessageAction - Fired when a built-in assistant message action is activated (after confirmation when `confirm` is set)
|
|
29
|
+
* @event onLuzmoAssistantMessageFeedback - Fired once when the user selects, switches or clears a thumbs rating, after the session holds the new rating. Not fired for programmatic updates.
|
|
28
30
|
*/
|
|
29
31
|
export const LuzmoAiChat = LuzmoAiChatComponent;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, AddToDashboardChartAddFailedEventDetail, AddToDashboardChartAddedEventDetail, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
2
|
+
import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, AddToDashboardChartAddFailedEventDetail, AddToDashboardChartAddedEventDetail, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail, InteractiveVizItemInteractionEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-interactive-viz-item>
|
|
5
5
|
*
|
|
6
6
|
* @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options. Applied to `chart` first unless `controlled` is set.
|
|
7
|
-
* @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set.
|
|
7
|
+
* @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set. With `live-interactions`, option updates inside a gesture carry `interaction`.
|
|
8
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: an option drag or held key in the config panel first changed its value, right before that `luzmo-chart-changed`; `detail.optionKey` names the option and `detail.chart` is the chart it started on.
|
|
9
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended, after its last `luzmo-chart-changed`. `detail.changed` is false when the value is back at its start; `detail.chart` is still the chart it started on.
|
|
10
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: the gesture was cancelled and the control reverted to its start value.
|
|
8
11
|
* @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes.
|
|
9
12
|
* @event onLuzmoChartAdded - Fired by the inner `luzmo-add-to-dashboard` after the chart was saved.
|
|
10
13
|
* @event onLuzmoChartAddFailed - Fired by the inner `luzmo-add-to-dashboard` when saving failed.
|
|
@@ -12,6 +15,9 @@ import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, AddToDashboard
|
|
|
12
15
|
export declare const LuzmoInteractiveVizItem: ReactWebComponent<LuzmoInteractiveVizItemClass, {
|
|
13
16
|
onLuzmoChartOptionsChanged: EventName<CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>>;
|
|
14
17
|
onLuzmoChartChanged: EventName<CustomEvent<InteractiveVizItemChartChangedEventDetail>>;
|
|
18
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<InteractiveVizItemInteractionEventDetail>>;
|
|
19
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<InteractiveVizItemInteractionEventDetail>>;
|
|
20
|
+
onLuzmoOptionInteractionCancel: EventName<CustomEvent<InteractiveVizItemInteractionEventDetail>>;
|
|
15
21
|
onLuzmoFeedbackChanged: EventName<CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>>;
|
|
16
22
|
onLuzmoChartAdded: EventName<CustomEvent<AddToDashboardChartAddedEventDetail>>;
|
|
17
23
|
onLuzmoChartAddFailed: EventName<CustomEvent<AddToDashboardChartAddFailedEventDetail>>;
|
|
@@ -8,6 +8,9 @@ const LuzmoInteractiveVizItemComponent = createComponent({
|
|
|
8
8
|
events: {
|
|
9
9
|
onLuzmoChartOptionsChanged: 'luzmo-chart-options-changed',
|
|
10
10
|
onLuzmoChartChanged: 'luzmo-chart-changed',
|
|
11
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
12
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end',
|
|
13
|
+
onLuzmoOptionInteractionCancel: 'luzmo-option-interaction-cancel',
|
|
11
14
|
onLuzmoFeedbackChanged: 'luzmo-feedback-changed',
|
|
12
15
|
onLuzmoChartAdded: 'luzmo-chart-added',
|
|
13
16
|
onLuzmoChartAddFailed: 'luzmo-chart-add-failed'
|
|
@@ -17,7 +20,10 @@ const LuzmoInteractiveVizItemComponent = createComponent({
|
|
|
17
20
|
* React wrapper for <luzmo-interactive-viz-item>
|
|
18
21
|
*
|
|
19
22
|
* @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options. Applied to `chart` first unless `controlled` is set.
|
|
20
|
-
* @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set.
|
|
23
|
+
* @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set. With `live-interactions`, option updates inside a gesture carry `interaction`.
|
|
24
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: an option drag or held key in the config panel first changed its value, right before that `luzmo-chart-changed`; `detail.optionKey` names the option and `detail.chart` is the chart it started on.
|
|
25
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended, after its last `luzmo-chart-changed`. `detail.changed` is false when the value is back at its start; `detail.chart` is still the chart it started on.
|
|
26
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: the gesture was cancelled and the control reverted to its start value.
|
|
21
27
|
* @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes.
|
|
22
28
|
* @event onLuzmoChartAdded - Fired by the inner `luzmo-add-to-dashboard` after the chart was saved.
|
|
23
29
|
* @event onLuzmoChartAddFailed - Fired by the inner `luzmo-add-to-dashboard` when saving failed.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemGridItemActionsMenu as LuzmoItemGridItemActionsMenuClass, ItemGridItemActionEventDetail, ItemGridItemActionHoverEventDetail } from '@luzmo/analytics-components-kit/item-grid-item-actions-menu';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-grid-item-actions-menu>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoItemGridItemAction - Fired when the user activates an action.
|
|
7
|
+
* @event onLuzmoItemGridItemActionHover - Fired when the pointer enters an action, for example to preload what it opens.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoItemGridItemActionsMenu: ReactWebComponent<LuzmoItemGridItemActionsMenuClass, {
|
|
10
|
+
onLuzmoItemGridItemAction: EventName<CustomEvent<ItemGridItemActionEventDetail>>;
|
|
11
|
+
onLuzmoItemGridItemActionHover: EventName<CustomEvent<ItemGridItemActionHoverEventDetail>>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoItemGridItemActionsMenu */
|
|
14
|
+
export type LuzmoItemGridItemActionsMenuElement = LuzmoItemGridItemActionsMenuClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemGridItemActionsMenu as LuzmoItemGridItemActionsMenuClass } from '@luzmo/analytics-components-kit/item-grid-item-actions-menu';
|
|
4
|
+
const LuzmoItemGridItemActionsMenuComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-grid-item-actions-menu',
|
|
6
|
+
elementClass: LuzmoItemGridItemActionsMenuClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoItemGridItemAction: 'luzmo-item-grid-item-action',
|
|
10
|
+
onLuzmoItemGridItemActionHover: 'luzmo-item-grid-item-action-hover'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-item-grid-item-actions-menu>
|
|
15
|
+
*
|
|
16
|
+
* @event onLuzmoItemGridItemAction - Fired when the user activates an action.
|
|
17
|
+
* @event onLuzmoItemGridItemActionHover - Fired when the pointer enters an action, for example to preload what it opens.
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoItemGridItemActionsMenu = LuzmoItemGridItemActionsMenuComponent;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemGrid as LuzmoItemGridClass, GridItemActionEventDetail, GridItemStatesChangedEventDetail, GridLifecycleEventDetail } from '@luzmo/analytics-components-kit/item-grid';
|
|
2
|
+
import { LuzmoItemGrid as LuzmoItemGridClass, GridItemActionEventDetail, GridItemStatesChangedEventDetail, GridLifecycleEventDetail, ItemGridItemActionHoverEventDetail } from '@luzmo/analytics-components-kit/item-grid';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-grid>
|
|
5
5
|
*
|
|
6
6
|
* @event onLuzmoItemGridItemAction - Fired when an item action is performed
|
|
7
|
+
* @event onLuzmoItemGridItemActionHover - Bubbles from the item actions menu when the pointer enters an action. The detail has only `action` and `type`, not the item.
|
|
7
8
|
* @event onLuzmoItemGridLayoutChanged - Fired when the grid layout is changed
|
|
8
9
|
* @event onLuzmoItemGridReady - Fired when the grid is ready
|
|
9
10
|
* @event onLuzmoItemGridItemStatesChanged - Fired when item states change (controlled and uncontrolled mode)
|
|
10
11
|
*/
|
|
11
12
|
export declare const LuzmoItemGrid: ReactWebComponent<LuzmoItemGridClass, {
|
|
12
13
|
onLuzmoItemGridItemAction: EventName<CustomEvent<GridItemActionEventDetail>>;
|
|
14
|
+
onLuzmoItemGridItemActionHover: EventName<CustomEvent<ItemGridItemActionHoverEventDetail>>;
|
|
13
15
|
onLuzmoItemGridLayoutChanged: EventName<CustomEvent<GridLifecycleEventDetail>>;
|
|
14
16
|
onLuzmoItemGridReady: EventName<CustomEvent<GridLifecycleEventDetail>>;
|
|
15
17
|
onLuzmoItemGridItemStatesChanged: EventName<CustomEvent<GridItemStatesChangedEventDetail>>;
|
|
@@ -7,6 +7,7 @@ const LuzmoItemGridComponent = createComponent({
|
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
9
|
onLuzmoItemGridItemAction: 'luzmo-item-grid-item-action',
|
|
10
|
+
onLuzmoItemGridItemActionHover: 'luzmo-item-grid-item-action-hover',
|
|
10
11
|
onLuzmoItemGridLayoutChanged: 'luzmo-item-grid-layout-changed',
|
|
11
12
|
onLuzmoItemGridReady: 'luzmo-item-grid-ready',
|
|
12
13
|
onLuzmoItemGridItemStatesChanged: 'luzmo-item-grid-item-states-changed'
|
|
@@ -16,6 +17,7 @@ const LuzmoItemGridComponent = createComponent({
|
|
|
16
17
|
* React wrapper for <luzmo-item-grid>
|
|
17
18
|
*
|
|
18
19
|
* @event onLuzmoItemGridItemAction - Fired when an item action is performed
|
|
20
|
+
* @event onLuzmoItemGridItemActionHover - Bubbles from the item actions menu when the pointer enters an action. The detail has only `action` and `type`, not the item.
|
|
19
21
|
* @event onLuzmoItemGridLayoutChanged - Fired when the grid layout is changed
|
|
20
22
|
* @event onLuzmoItemGridReady - Fired when the grid is ready
|
|
21
23
|
* @event onLuzmoItemGridItemStatesChanged - Fired when item states change (controlled and uncontrolled mode)
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-picker';
|
|
2
|
+
import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass, ItemOptionChangedEventDetail, ItemOptionInteractionEventDetail } from '@luzmo/analytics-components-kit/item-option-color-picker';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-option-color-picker>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes. With `live-interactions`, emitted on every color change and carries `interaction` inside a gesture.
|
|
7
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a color area, hue or opacity drag or held key first changed the color, right before that value update. A press that never changes the color emits no lifecycle.
|
|
8
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended (including when the popover closes), after its last value update.
|
|
7
9
|
*/
|
|
8
10
|
export declare const LuzmoItemOptionColorPicker: ReactWebComponent<LuzmoItemOptionColorPickerClass, {
|
|
9
11
|
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
12
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
13
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
10
14
|
}>;
|
|
11
15
|
/** The underlying custom element type for LuzmoItemOptionColorPicker */
|
|
12
16
|
export type LuzmoItemOptionColorPickerElement = LuzmoItemOptionColorPickerClass;
|
|
@@ -6,12 +6,16 @@ const LuzmoItemOptionColorPickerComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoItemOptionColorPickerClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed',
|
|
10
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
11
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end'
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
/**
|
|
13
15
|
* React wrapper for <luzmo-item-option-color-picker>
|
|
14
16
|
*
|
|
15
|
-
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes. With `live-interactions`, emitted on every color change and carries `interaction` inside a gesture.
|
|
18
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a color area, hue or opacity drag or held key first changed the color, right before that value update. A press that never changes the color emits no lifecycle.
|
|
19
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended (including when the popover closes), after its last value update.
|
|
16
20
|
*/
|
|
17
21
|
export const LuzmoItemOptionColorPicker = LuzmoItemOptionColorPickerComponent;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-range';
|
|
2
|
+
import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass, ItemOptionChangedEventDetail, ItemOptionInteractionEventDetail } from '@luzmo/analytics-components-kit/item-option-color-range';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-option-color-range>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes. With `live-interactions`, emitted immediately and carries `interaction` while a stop's color is dragged.
|
|
7
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a color drag or held key on one stop first changed its color, right before that value update. Each stop has its own gestures; one that never changes its color emits no lifecycle.
|
|
8
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: that stop's gesture ended, after its last value update.
|
|
7
9
|
*/
|
|
8
10
|
export declare const LuzmoItemOptionColorRange: ReactWebComponent<LuzmoItemOptionColorRangeClass, {
|
|
9
11
|
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
12
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
13
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
10
14
|
}>;
|
|
11
15
|
/** The underlying custom element type for LuzmoItemOptionColorRange */
|
|
12
16
|
export type LuzmoItemOptionColorRangeElement = LuzmoItemOptionColorRangeClass;
|
|
@@ -6,12 +6,16 @@ const LuzmoItemOptionColorRangeComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoItemOptionColorRangeClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed',
|
|
10
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
11
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end'
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
/**
|
|
13
15
|
* React wrapper for <luzmo-item-option-color-range>
|
|
14
16
|
*
|
|
15
|
-
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes. With `live-interactions`, emitted immediately and carries `interaction` while a stop's color is dragged.
|
|
18
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a color drag or held key on one stop first changed its color, right before that value update. Each stop has its own gestures; one that never changes its color emits no lifecycle.
|
|
19
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: that stop's gesture ended, after its last value update.
|
|
16
20
|
*/
|
|
17
21
|
export const LuzmoItemOptionColorRange = LuzmoItemOptionColorRangeComponent;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemOptionGuidelines as LuzmoItemOptionGuidelinesClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-guidelines';
|
|
2
|
+
import { LuzmoItemOptionGuidelines as LuzmoItemOptionGuidelinesClass, ItemOptionChangedEventDetail, ItemOptionInteractionEventDetail } from '@luzmo/analytics-components-kit/item-option-guidelines';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-option-guidelines>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoOptionChanged - Emitted when the guidelines value changes.
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the guidelines value changes. With `live-interactions`, emitted immediately and carries `interaction` while a line's color is dragged.
|
|
7
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a color drag or held key on one line first changed its color, right before that value update. Each line has its own gestures; one that never changes its color emits no lifecycle.
|
|
8
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: that line's gesture ended, after its last value update.
|
|
7
9
|
*/
|
|
8
10
|
export declare const LuzmoItemOptionGuidelines: ReactWebComponent<LuzmoItemOptionGuidelinesClass, {
|
|
9
11
|
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
12
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
13
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
10
14
|
}>;
|
|
11
15
|
/** The underlying custom element type for LuzmoItemOptionGuidelines */
|
|
12
16
|
export type LuzmoItemOptionGuidelinesElement = LuzmoItemOptionGuidelinesClass;
|
|
@@ -6,12 +6,16 @@ const LuzmoItemOptionGuidelinesComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoItemOptionGuidelinesClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed',
|
|
10
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
11
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end'
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
/**
|
|
13
15
|
* React wrapper for <luzmo-item-option-guidelines>
|
|
14
16
|
*
|
|
15
|
-
* @event onLuzmoOptionChanged - Emitted when the guidelines value changes.
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the guidelines value changes. With `live-interactions`, emitted immediately and carries `interaction` while a line's color is dragged.
|
|
18
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a color drag or held key on one line first changed its color, right before that value update. Each line has its own gestures; one that never changes its color emits no lifecycle.
|
|
19
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: that line's gesture ended, after its last value update.
|
|
16
20
|
*/
|
|
17
21
|
export const LuzmoItemOptionGuidelines = LuzmoItemOptionGuidelinesComponent;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-panel';
|
|
2
|
+
import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass, ItemOptionInteractionEventDetail, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-panel';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-option-panel>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
|
|
6
|
+
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`.
|
|
7
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: bubbles from the option whose drag or held key first changed its value, right before that options update; `detail.optionKey` names it.
|
|
8
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: bubbles from the option whose gesture ended, after its last options update.
|
|
9
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: bubbles from the option whose gesture was cancelled and reverted.
|
|
7
10
|
*/
|
|
8
11
|
export declare const LuzmoItemOptionPanel: ReactWebComponent<LuzmoItemOptionPanelClass, {
|
|
9
12
|
onLuzmoOptionsChanged: EventName<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
13
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
14
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
15
|
+
onLuzmoOptionInteractionCancel: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
10
16
|
}>;
|
|
11
17
|
/** The underlying custom element type for LuzmoItemOptionPanel */
|
|
12
18
|
export type LuzmoItemOptionPanelElement = LuzmoItemOptionPanelClass;
|
|
@@ -6,12 +6,18 @@ const LuzmoItemOptionPanelComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoItemOptionPanelClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoOptionsChanged: 'luzmo-options-changed'
|
|
9
|
+
onLuzmoOptionsChanged: 'luzmo-options-changed',
|
|
10
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
11
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end',
|
|
12
|
+
onLuzmoOptionInteractionCancel: 'luzmo-option-interaction-cancel'
|
|
10
13
|
}
|
|
11
14
|
});
|
|
12
15
|
/**
|
|
13
16
|
* React wrapper for <luzmo-item-option-panel>
|
|
14
17
|
*
|
|
15
|
-
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
|
|
18
|
+
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`.
|
|
19
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: bubbles from the option whose drag or held key first changed its value, right before that options update; `detail.optionKey` names it.
|
|
20
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: bubbles from the option whose gesture ended, after its last options update.
|
|
21
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: bubbles from the option whose gesture was cancelled and reverted.
|
|
16
22
|
*/
|
|
17
23
|
export const LuzmoItemOptionPanel = LuzmoItemOptionPanelComponent;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemOptionSlider as LuzmoItemOptionSliderClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-slider';
|
|
2
|
+
import { LuzmoItemOptionSlider as LuzmoItemOptionSliderClass, ItemOptionChangedEventDetail, ItemOptionInteractionEventDetail } from '@luzmo/analytics-components-kit/item-option-slider';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-option-slider>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes. With `live-interactions`, emitted on every drag or key step and carries `interaction` inside a gesture.
|
|
7
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a drag or held key first changed the value, right before that value update. A press that never changes the value emits no lifecycle.
|
|
8
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended, after its last value update. `changed` is false when the value is back at its start.
|
|
9
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: the pointer was cancelled and the slider reverted to its start value.
|
|
7
10
|
*/
|
|
8
11
|
export declare const LuzmoItemOptionSlider: ReactWebComponent<LuzmoItemOptionSliderClass, {
|
|
9
12
|
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
13
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
14
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
15
|
+
onLuzmoOptionInteractionCancel: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
10
16
|
}>;
|
|
11
17
|
/** The underlying custom element type for LuzmoItemOptionSlider */
|
|
12
18
|
export type LuzmoItemOptionSliderElement = LuzmoItemOptionSliderClass;
|
|
@@ -6,12 +6,18 @@ const LuzmoItemOptionSliderComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoItemOptionSliderClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed',
|
|
10
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
11
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end',
|
|
12
|
+
onLuzmoOptionInteractionCancel: 'luzmo-option-interaction-cancel'
|
|
10
13
|
}
|
|
11
14
|
});
|
|
12
15
|
/**
|
|
13
16
|
* React wrapper for <luzmo-item-option-slider>
|
|
14
17
|
*
|
|
15
|
-
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
18
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes. With `live-interactions`, emitted on every drag or key step and carries `interaction` inside a gesture.
|
|
19
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a drag or held key first changed the value, right before that value update. A press that never changes the value emits no lifecycle.
|
|
20
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended, after its last value update. `changed` is false when the value is back at its start.
|
|
21
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: the pointer was cancelled and the slider reverted to its start value.
|
|
16
22
|
*/
|
|
17
23
|
export const LuzmoItemOptionSlider = LuzmoItemOptionSliderComponent;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoItemOption as LuzmoItemOptionClass, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
2
|
+
import { LuzmoItemOption as LuzmoItemOptionClass, ItemOptionInteractionEventDetail, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-item-option>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
|
|
6
|
+
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`.
|
|
7
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a drag or held key first changed the control's value, right before that options update. A press that never changes the value emits no lifecycle. `detail.optionKey` is set.
|
|
8
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended, after its last options update. `detail.changed` is false when the value is back at its start.
|
|
9
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: the gesture was cancelled and the control reverted to its start value.
|
|
7
10
|
*/
|
|
8
11
|
export declare const LuzmoItemOption: ReactWebComponent<LuzmoItemOptionClass, {
|
|
9
12
|
onLuzmoOptionsChanged: EventName<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
13
|
+
onLuzmoOptionInteractionStart: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
14
|
+
onLuzmoOptionInteractionEnd: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
15
|
+
onLuzmoOptionInteractionCancel: EventName<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
10
16
|
}>;
|
|
11
17
|
/** The underlying custom element type for LuzmoItemOption */
|
|
12
18
|
export type LuzmoItemOptionElement = LuzmoItemOptionClass;
|
|
@@ -6,12 +6,18 @@ const LuzmoItemOptionComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoItemOptionClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoOptionsChanged: 'luzmo-options-changed'
|
|
9
|
+
onLuzmoOptionsChanged: 'luzmo-options-changed',
|
|
10
|
+
onLuzmoOptionInteractionStart: 'luzmo-option-interaction-start',
|
|
11
|
+
onLuzmoOptionInteractionEnd: 'luzmo-option-interaction-end',
|
|
12
|
+
onLuzmoOptionInteractionCancel: 'luzmo-option-interaction-cancel'
|
|
10
13
|
}
|
|
11
14
|
});
|
|
12
15
|
/**
|
|
13
16
|
* React wrapper for <luzmo-item-option>
|
|
14
17
|
*
|
|
15
|
-
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
|
|
18
|
+
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`.
|
|
19
|
+
* @event onLuzmoOptionInteractionStart - With `live-interactions`: a drag or held key first changed the control's value, right before that options update. A press that never changes the value emits no lifecycle. `detail.optionKey` is set.
|
|
20
|
+
* @event onLuzmoOptionInteractionEnd - With `live-interactions`: the gesture ended, after its last options update. `detail.changed` is false when the value is back at its start.
|
|
21
|
+
* @event onLuzmoOptionInteractionCancel - With `live-interactions`: the gesture was cancelled and the control reverted to its start value.
|
|
16
22
|
*/
|
|
17
23
|
export const LuzmoItemOption = LuzmoItemOptionComponent;
|
package/esm/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { LuzmoFormulaEditor, type LuzmoFormulaEditorElement } from './components
|
|
|
27
27
|
export { LuzmoFormulaField, type LuzmoFormulaFieldElement } from './components/formula-field.component';
|
|
28
28
|
export { LuzmoInteractiveVizItem, type LuzmoInteractiveVizItemElement } from './components/interactive-viz-item.component';
|
|
29
29
|
export { LuzmoItemGrid, type LuzmoItemGridElement } from './components/item-grid.component';
|
|
30
|
+
export { LuzmoItemGridItemActionsMenu, type LuzmoItemGridItemActionsMenuElement } from './components/item-grid-item-actions-menu.component';
|
|
30
31
|
export { LuzmoItemOption, type LuzmoItemOptionElement } from './components/item-option.component';
|
|
31
32
|
export { LuzmoItemOptionActionButtonGroup, type LuzmoItemOptionActionButtonGroupElement } from './components/item-option-action-button-group.component';
|
|
32
33
|
export { LuzmoItemOptionColorPalettePicker, type LuzmoItemOptionColorPalettePickerElement } from './components/item-option-color-palette-picker.component';
|
|
@@ -49,7 +50,6 @@ export { LuzmoItemSlotPicker, type LuzmoItemSlotPickerElement } from './componen
|
|
|
49
50
|
export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from './components/item-slot-picker-panel.component';
|
|
50
51
|
export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.component';
|
|
51
52
|
export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.component';
|
|
52
|
-
export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz-item-menu.component';
|
|
53
53
|
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];
|
|
54
|
-
export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAddToDashboard", "LuzmoAiChat", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList"
|
|
54
|
+
export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAddToDashboard", "LuzmoAiChat", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList"];
|
|
55
55
|
export type LuzmoReactComponentName = typeof LUZMO_REACT_COMPONENT_NAMES[number];
|
package/esm/index.js
CHANGED
|
@@ -29,6 +29,7 @@ import { LuzmoFormulaEditor } from './components/formula-editor.component';
|
|
|
29
29
|
import { LuzmoFormulaField } from './components/formula-field.component';
|
|
30
30
|
import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.component';
|
|
31
31
|
import { LuzmoItemGrid } from './components/item-grid.component';
|
|
32
|
+
import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.component';
|
|
32
33
|
import { LuzmoItemOption } from './components/item-option.component';
|
|
33
34
|
import { LuzmoItemOptionActionButtonGroup } from './components/item-option-action-button-group.component';
|
|
34
35
|
import { LuzmoItemOptionColorPalettePicker } from './components/item-option-color-palette-picker.component';
|
|
@@ -51,7 +52,6 @@ import { LuzmoItemSlotPicker } from './components/item-slot-picker.component';
|
|
|
51
52
|
import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.component';
|
|
52
53
|
import { LuzmoSlotMenu } from './components/slot-menu.component';
|
|
53
54
|
import { LuzmoSlotMenuList } from './components/slot-menu-list.component';
|
|
54
|
-
import { LuzmoVizItemMenu } from './components/viz-item-menu.component';
|
|
55
55
|
export { LuzmoAddToDashboard } from './components/add-to-dashboard.component';
|
|
56
56
|
export { LuzmoAiChat } from './components/ai-chat.component';
|
|
57
57
|
export { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.component';
|
|
@@ -81,6 +81,7 @@ export { LuzmoFormulaEditor } from './components/formula-editor.component';
|
|
|
81
81
|
export { LuzmoFormulaField } from './components/formula-field.component';
|
|
82
82
|
export { LuzmoInteractiveVizItem } from './components/interactive-viz-item.component';
|
|
83
83
|
export { LuzmoItemGrid } from './components/item-grid.component';
|
|
84
|
+
export { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.component';
|
|
84
85
|
export { LuzmoItemOption } from './components/item-option.component';
|
|
85
86
|
export { LuzmoItemOptionActionButtonGroup } from './components/item-option-action-button-group.component';
|
|
86
87
|
export { LuzmoItemOptionColorPalettePicker } from './components/item-option-color-palette-picker.component';
|
|
@@ -103,7 +104,6 @@ export { LuzmoItemSlotPicker } from './components/item-slot-picker.component';
|
|
|
103
104
|
export { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.component';
|
|
104
105
|
export { LuzmoSlotMenu } from './components/slot-menu.component';
|
|
105
106
|
export { LuzmoSlotMenuList } from './components/slot-menu-list.component';
|
|
106
|
-
export { LuzmoVizItemMenu } from './components/viz-item-menu.component';
|
|
107
107
|
// Array of all React component classes for easy imports
|
|
108
108
|
export const LUZMO_REACT_COMPONENTS = [
|
|
109
109
|
LuzmoAddToDashboard,
|
|
@@ -135,6 +135,7 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
135
135
|
LuzmoFormulaField,
|
|
136
136
|
LuzmoInteractiveVizItem,
|
|
137
137
|
LuzmoItemGrid,
|
|
138
|
+
LuzmoItemGridItemActionsMenu,
|
|
138
139
|
LuzmoItemOption,
|
|
139
140
|
LuzmoItemOptionActionButtonGroup,
|
|
140
141
|
LuzmoItemOptionColorPalettePicker,
|
|
@@ -156,8 +157,7 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
156
157
|
LuzmoItemSlotPicker,
|
|
157
158
|
LuzmoItemSlotPickerPanel,
|
|
158
159
|
LuzmoSlotMenu,
|
|
159
|
-
LuzmoSlotMenuList
|
|
160
|
-
LuzmoVizItemMenu
|
|
160
|
+
LuzmoSlotMenuList
|
|
161
161
|
];
|
|
162
162
|
// List of all available React component names
|
|
163
163
|
export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
@@ -190,6 +190,7 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
190
190
|
'LuzmoFormulaField',
|
|
191
191
|
'LuzmoInteractiveVizItem',
|
|
192
192
|
'LuzmoItemGrid',
|
|
193
|
+
'LuzmoItemGridItemActionsMenu',
|
|
193
194
|
'LuzmoItemOption',
|
|
194
195
|
'LuzmoItemOptionActionButtonGroup',
|
|
195
196
|
'LuzmoItemOptionColorPalettePicker',
|
|
@@ -211,6 +212,5 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
211
212
|
'LuzmoItemSlotPicker',
|
|
212
213
|
'LuzmoItemSlotPickerPanel',
|
|
213
214
|
'LuzmoSlotMenu',
|
|
214
|
-
'LuzmoSlotMenuList'
|
|
215
|
-
'LuzmoVizItemMenu'
|
|
215
|
+
'LuzmoSlotMenuList'
|
|
216
216
|
];
|
package/package.json
CHANGED
|
@@ -29,7 +29,11 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@lit/react": "^1.0.6",
|
|
31
31
|
"react": "^18.0.0 || ^19.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "^1.
|
|
32
|
+
"@luzmo/analytics-components-kit": "^1.2.1"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.
|
|
34
|
+
"version": "1.2.1",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/cumulio-internal/analytics-components-kit.git"
|
|
38
|
+
}
|
|
35
39
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoVizItemMenu as LuzmoVizItemMenuClass, VizItemMenuButtonClickedEventDetail, VizItemMenuSelectedChangedEventDetail } from '@luzmo/analytics-components-kit/viz-item-menu';
|
|
3
|
-
/**
|
|
4
|
-
* React wrapper for <luzmo-viz-item-menu>
|
|
5
|
-
*
|
|
6
|
-
* @event onSelectedChanged - Emitted when the selected button changes
|
|
7
|
-
* @event onButtonClicked - Emitted when any menu item is clicked
|
|
8
|
-
* @event onEditButtonHovered - Emitted when hovering over the edit button
|
|
9
|
-
*/
|
|
10
|
-
export declare const LuzmoVizItemMenu: ReactWebComponent<LuzmoVizItemMenuClass, {
|
|
11
|
-
onSelectedChanged: EventName<CustomEvent<VizItemMenuSelectedChangedEventDetail>>;
|
|
12
|
-
onButtonClicked: EventName<CustomEvent<VizItemMenuButtonClickedEventDetail>>;
|
|
13
|
-
onEditButtonHovered: EventName<CustomEvent<void>>;
|
|
14
|
-
}>;
|
|
15
|
-
/** The underlying custom element type for LuzmoVizItemMenu */
|
|
16
|
-
export type LuzmoVizItemMenuElement = LuzmoVizItemMenuClass;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { createComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoVizItemMenu as LuzmoVizItemMenuClass } from '@luzmo/analytics-components-kit/viz-item-menu';
|
|
4
|
-
const LuzmoVizItemMenuComponent = createComponent({
|
|
5
|
-
tagName: 'luzmo-viz-item-menu',
|
|
6
|
-
elementClass: LuzmoVizItemMenuClass,
|
|
7
|
-
react: React,
|
|
8
|
-
events: {
|
|
9
|
-
onSelectedChanged: 'selected-changed',
|
|
10
|
-
onButtonClicked: 'button-clicked',
|
|
11
|
-
onEditButtonHovered: 'edit-button-hovered'
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
/**
|
|
15
|
-
* React wrapper for <luzmo-viz-item-menu>
|
|
16
|
-
*
|
|
17
|
-
* @event onSelectedChanged - Emitted when the selected button changes
|
|
18
|
-
* @event onButtonClicked - Emitted when any menu item is clicked
|
|
19
|
-
* @event onEditButtonHovered - Emitted when hovering over the edit button
|
|
20
|
-
*/
|
|
21
|
-
export const LuzmoVizItemMenu = LuzmoVizItemMenuComponent;
|