@luzmo/react-lucero 2.3.0-beta.0 → 2.4.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.
@@ -3,12 +3,12 @@ import { LuzmoProgressSteps as LuzmoProgressStepsClass } from '@luzmo/lucero/pro
3
3
  /**
4
4
  * React wrapper for <luzmo-progress-steps>
5
5
  *
6
- * @event onLuzmoStepCollapsed - Fired when a step is collapsed
7
- * @event onLuzmoStepExpanded - Fired when a step is expanded
6
+ * @event onLuzmoStepExpanded - The user opened the step history. `detail.nodeId` is the progress root id.
7
+ * @event onLuzmoStepCollapsed - The user closed the step history. `detail.nodeId` is the progress root id.
8
8
  */
9
9
  export declare const LuzmoProgressSteps: ReactWebComponent<LuzmoProgressStepsClass, {
10
- onLuzmoStepCollapsed: EventName<CustomEvent>;
11
10
  onLuzmoStepExpanded: EventName<CustomEvent>;
11
+ onLuzmoStepCollapsed: EventName<CustomEvent>;
12
12
  }>;
13
13
  /** The underlying custom element type for LuzmoProgressSteps */
14
14
  export type LuzmoProgressStepsElement = LuzmoProgressStepsClass;
@@ -6,14 +6,14 @@ const LuzmoProgressStepsComponent = createComponent({
6
6
  elementClass: LuzmoProgressStepsClass,
7
7
  react: React,
8
8
  events: {
9
- onLuzmoStepCollapsed: 'luzmo-step-collapsed',
10
- onLuzmoStepExpanded: 'luzmo-step-expanded'
9
+ onLuzmoStepExpanded: 'luzmo-step-expanded',
10
+ onLuzmoStepCollapsed: 'luzmo-step-collapsed'
11
11
  }
12
12
  });
13
13
  /**
14
14
  * React wrapper for <luzmo-progress-steps>
15
15
  *
16
- * @event onLuzmoStepCollapsed - Fired when a step is collapsed
17
- * @event onLuzmoStepExpanded - Fired when a step is expanded
16
+ * @event onLuzmoStepExpanded - The user opened the step history. `detail.nodeId` is the progress root id.
17
+ * @event onLuzmoStepCollapsed - The user closed the step history. `detail.nodeId` is the progress root id.
18
18
  */
19
19
  export const LuzmoProgressSteps = LuzmoProgressStepsComponent;
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "@lit/react": "^1.0.8",
31
31
  "react": "^18.0.0 || ^19.0.0",
32
32
  "react-dom": "^18.0.0 || ^19.0.0",
33
- "@luzmo/lucero": "2.3.0-beta.0"
33
+ "@luzmo/lucero": "2.4.1"
34
34
  },
35
- "version": "2.3.0-beta.0"
35
+ "version": "2.4.1"
36
36
  }