@luzmo/react-analytics-components-kit 1.0.9-beta.8 → 1.1.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.
@@ -0,0 +1,14 @@
1
+ import { EventName, ReactWebComponent } from '@lit/react';
2
+ import { LuzmoAddToDashboard as LuzmoAddToDashboardClass, AddToDashboardChartAddFailedEventDetail, AddToDashboardChartAddedEventDetail } from '@luzmo/analytics-components-kit/add-to-dashboard';
3
+ /**
4
+ * React wrapper for <luzmo-add-to-dashboard>
5
+ *
6
+ * @event onLuzmoChartAdded - Fired after the chart was saved to a dashboard, a new dashboard or a variant.
7
+ * @event onLuzmoChartAddFailed - Fired when saving the chart failed.
8
+ */
9
+ export declare const LuzmoAddToDashboard: ReactWebComponent<LuzmoAddToDashboardClass, {
10
+ onLuzmoChartAdded: EventName<CustomEvent<AddToDashboardChartAddedEventDetail>>;
11
+ onLuzmoChartAddFailed: EventName<CustomEvent<AddToDashboardChartAddFailedEventDetail>>;
12
+ }>;
13
+ /** The underlying custom element type for LuzmoAddToDashboard */
14
+ export type LuzmoAddToDashboardElement = LuzmoAddToDashboardClass;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { LuzmoAddToDashboard as LuzmoAddToDashboardClass } from '@luzmo/analytics-components-kit/add-to-dashboard';
4
+ const LuzmoAddToDashboardComponent = createComponent({
5
+ tagName: 'luzmo-add-to-dashboard',
6
+ elementClass: LuzmoAddToDashboardClass,
7
+ react: React,
8
+ events: {
9
+ onLuzmoChartAdded: 'luzmo-chart-added',
10
+ onLuzmoChartAddFailed: 'luzmo-chart-add-failed'
11
+ }
12
+ });
13
+ /**
14
+ * React wrapper for <luzmo-add-to-dashboard>
15
+ *
16
+ * @event onLuzmoChartAdded - Fired after the chart was saved to a dashboard, a new dashboard or a variant.
17
+ * @event onLuzmoChartAddFailed - Fired when saving the chart failed.
18
+ */
19
+ export const LuzmoAddToDashboard = LuzmoAddToDashboardComponent;
@@ -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,16 +1,20 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
2
+ import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, AddToDashboardChartAddFailedEventDetail, AddToDashboardChartAddedEventDetail, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
3
3
  /**
4
4
  * React wrapper for <luzmo-interactive-viz-item>
5
5
  *
6
- * @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options.
7
- * @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart).
8
- * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating.
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.
8
+ * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes.
9
+ * @event onLuzmoChartAdded - Fired by the inner `luzmo-add-to-dashboard` after the chart was saved.
10
+ * @event onLuzmoChartAddFailed - Fired by the inner `luzmo-add-to-dashboard` when saving failed.
9
11
  */
10
12
  export declare const LuzmoInteractiveVizItem: ReactWebComponent<LuzmoInteractiveVizItemClass, {
11
13
  onLuzmoChartOptionsChanged: EventName<CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>>;
12
14
  onLuzmoChartChanged: EventName<CustomEvent<InteractiveVizItemChartChangedEventDetail>>;
13
15
  onLuzmoFeedbackChanged: EventName<CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>>;
16
+ onLuzmoChartAdded: EventName<CustomEvent<AddToDashboardChartAddedEventDetail>>;
17
+ onLuzmoChartAddFailed: EventName<CustomEvent<AddToDashboardChartAddFailedEventDetail>>;
14
18
  }>;
15
19
  /** The underlying custom element type for LuzmoInteractiveVizItem */
16
20
  export type LuzmoInteractiveVizItemElement = LuzmoInteractiveVizItemClass;
@@ -8,14 +8,18 @@ const LuzmoInteractiveVizItemComponent = createComponent({
8
8
  events: {
9
9
  onLuzmoChartOptionsChanged: 'luzmo-chart-options-changed',
10
10
  onLuzmoChartChanged: 'luzmo-chart-changed',
11
- onLuzmoFeedbackChanged: 'luzmo-feedback-changed'
11
+ onLuzmoFeedbackChanged: 'luzmo-feedback-changed',
12
+ onLuzmoChartAdded: 'luzmo-chart-added',
13
+ onLuzmoChartAddFailed: 'luzmo-chart-add-failed'
12
14
  }
13
15
  });
14
16
  /**
15
17
  * React wrapper for <luzmo-interactive-viz-item>
16
18
  *
17
- * @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options.
18
- * @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart).
19
- * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating.
19
+ * @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.
21
+ * @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes.
22
+ * @event onLuzmoChartAdded - Fired by the inner `luzmo-add-to-dashboard` after the chart was saved.
23
+ * @event onLuzmoChartAddFailed - Fired by the inner `luzmo-add-to-dashboard` when saving failed.
20
24
  */
21
25
  export const LuzmoInteractiveVizItem = LuzmoInteractiveVizItemComponent;
@@ -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)
package/esm/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { LuzmoAddToDashboard, type LuzmoAddToDashboardElement } from './components/add-to-dashboard.component';
1
2
  export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.component';
2
3
  export { LuzmoAiInteractionTextarea, type LuzmoAiInteractionTextareaElement } from './components/ai-interaction-textarea.component';
3
4
  export { LuzmoDataField, type LuzmoDataFieldElement } from './components/data-field.component';
@@ -26,6 +27,7 @@ export { LuzmoFormulaEditor, type LuzmoFormulaEditorElement } from './components
26
27
  export { LuzmoFormulaField, type LuzmoFormulaFieldElement } from './components/formula-field.component';
27
28
  export { LuzmoInteractiveVizItem, type LuzmoInteractiveVizItemElement } from './components/interactive-viz-item.component';
28
29
  export { LuzmoItemGrid, type LuzmoItemGridElement } from './components/item-grid.component';
30
+ export { LuzmoItemGridItemActionsMenu, type LuzmoItemGridItemActionsMenuElement } from './components/item-grid-item-actions-menu.component';
29
31
  export { LuzmoItemOption, type LuzmoItemOptionElement } from './components/item-option.component';
30
32
  export { LuzmoItemOptionActionButtonGroup, type LuzmoItemOptionActionButtonGroupElement } from './components/item-option-action-button-group.component';
31
33
  export { LuzmoItemOptionColorPalettePicker, type LuzmoItemOptionColorPalettePickerElement } from './components/item-option-color-palette-picker.component';
@@ -48,7 +50,6 @@ export { LuzmoItemSlotPicker, type LuzmoItemSlotPickerElement } from './componen
48
50
  export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from './components/item-slot-picker-panel.component';
49
51
  export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.component';
50
52
  export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.component';
51
- export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz-item-menu.component';
52
- 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];
53
- export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["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", "LuzmoVizItemMenu"];
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", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList"];
54
55
  export type LuzmoReactComponentName = typeof LUZMO_REACT_COMPONENT_NAMES[number];
package/esm/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Auto-generated React wrappers for Luzmo Analytics Components Kit
2
2
  // Generated using @lit/react
3
+ import { LuzmoAddToDashboard } from './components/add-to-dashboard.component';
3
4
  import { LuzmoAiChat } from './components/ai-chat.component';
4
5
  import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.component';
5
6
  import { LuzmoDataField } from './components/data-field.component';
@@ -28,6 +29,7 @@ import { LuzmoFormulaEditor } from './components/formula-editor.component';
28
29
  import { LuzmoFormulaField } from './components/formula-field.component';
29
30
  import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.component';
30
31
  import { LuzmoItemGrid } from './components/item-grid.component';
32
+ import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.component';
31
33
  import { LuzmoItemOption } from './components/item-option.component';
32
34
  import { LuzmoItemOptionActionButtonGroup } from './components/item-option-action-button-group.component';
33
35
  import { LuzmoItemOptionColorPalettePicker } from './components/item-option-color-palette-picker.component';
@@ -50,7 +52,7 @@ import { LuzmoItemSlotPicker } from './components/item-slot-picker.component';
50
52
  import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.component';
51
53
  import { LuzmoSlotMenu } from './components/slot-menu.component';
52
54
  import { LuzmoSlotMenuList } from './components/slot-menu-list.component';
53
- import { LuzmoVizItemMenu } from './components/viz-item-menu.component';
55
+ export { LuzmoAddToDashboard } from './components/add-to-dashboard.component';
54
56
  export { LuzmoAiChat } from './components/ai-chat.component';
55
57
  export { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.component';
56
58
  export { LuzmoDataField } from './components/data-field.component';
@@ -79,6 +81,7 @@ export { LuzmoFormulaEditor } from './components/formula-editor.component';
79
81
  export { LuzmoFormulaField } from './components/formula-field.component';
80
82
  export { LuzmoInteractiveVizItem } from './components/interactive-viz-item.component';
81
83
  export { LuzmoItemGrid } from './components/item-grid.component';
84
+ export { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.component';
82
85
  export { LuzmoItemOption } from './components/item-option.component';
83
86
  export { LuzmoItemOptionActionButtonGroup } from './components/item-option-action-button-group.component';
84
87
  export { LuzmoItemOptionColorPalettePicker } from './components/item-option-color-palette-picker.component';
@@ -101,9 +104,9 @@ export { LuzmoItemSlotPicker } from './components/item-slot-picker.component';
101
104
  export { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.component';
102
105
  export { LuzmoSlotMenu } from './components/slot-menu.component';
103
106
  export { LuzmoSlotMenuList } from './components/slot-menu-list.component';
104
- export { LuzmoVizItemMenu } from './components/viz-item-menu.component';
105
107
  // Array of all React component classes for easy imports
106
108
  export const LUZMO_REACT_COMPONENTS = [
109
+ LuzmoAddToDashboard,
107
110
  LuzmoAiChat,
108
111
  LuzmoAiInteractionTextarea,
109
112
  LuzmoDataField,
@@ -132,6 +135,7 @@ export const LUZMO_REACT_COMPONENTS = [
132
135
  LuzmoFormulaField,
133
136
  LuzmoInteractiveVizItem,
134
137
  LuzmoItemGrid,
138
+ LuzmoItemGridItemActionsMenu,
135
139
  LuzmoItemOption,
136
140
  LuzmoItemOptionActionButtonGroup,
137
141
  LuzmoItemOptionColorPalettePicker,
@@ -153,11 +157,11 @@ export const LUZMO_REACT_COMPONENTS = [
153
157
  LuzmoItemSlotPicker,
154
158
  LuzmoItemSlotPickerPanel,
155
159
  LuzmoSlotMenu,
156
- LuzmoSlotMenuList,
157
- LuzmoVizItemMenu
160
+ LuzmoSlotMenuList
158
161
  ];
159
162
  // List of all available React component names
160
163
  export const LUZMO_REACT_COMPONENT_NAMES = [
164
+ 'LuzmoAddToDashboard',
161
165
  'LuzmoAiChat',
162
166
  'LuzmoAiInteractionTextarea',
163
167
  'LuzmoDataField',
@@ -186,6 +190,7 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
186
190
  'LuzmoFormulaField',
187
191
  'LuzmoInteractiveVizItem',
188
192
  'LuzmoItemGrid',
193
+ 'LuzmoItemGridItemActionsMenu',
189
194
  'LuzmoItemOption',
190
195
  'LuzmoItemOptionActionButtonGroup',
191
196
  'LuzmoItemOptionColorPalettePicker',
@@ -207,6 +212,5 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
207
212
  'LuzmoItemSlotPicker',
208
213
  'LuzmoItemSlotPickerPanel',
209
214
  'LuzmoSlotMenu',
210
- 'LuzmoSlotMenuList',
211
- 'LuzmoVizItemMenu'
215
+ 'LuzmoSlotMenuList'
212
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.0.9-beta.8"
32
+ "@luzmo/analytics-components-kit": "^1.1.1"
33
33
  },
34
- "version": "1.0.9-beta.8"
34
+ "version": "1.1.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;