@commmerce/ui-react 1.9.0 → 1.9.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/dist/index.d.ts CHANGED
@@ -146,7 +146,9 @@ export declare const SaveBar: import("@lit/react").ReactWebComponent<CmSaveBar,
146
146
  export declare const InfoPanel: import("@lit/react").ReactWebComponent<CmInfoPanel, {
147
147
  onAction: EventName<CustomEvent>;
148
148
  }>;
149
- export declare const InfoItem: import("@lit/react").ReactWebComponent<CmInfoItem, {}>;
149
+ export declare const InfoItem: import("@lit/react").ReactWebComponent<CmInfoItem, {
150
+ onEdit: EventName<CustomEvent>;
151
+ }>;
150
152
  export declare const Accordion: import("@lit/react").ReactWebComponent<CmAccordion, {
151
153
  onToggle: EventName<CustomEvent<{
152
154
  open: boolean;
package/dist/index.js CHANGED
@@ -213,7 +213,12 @@ export const InfoPanel = createComponent({
213
213
  react: React,
214
214
  events: { onAction: 'cm-action' },
215
215
  });
216
- export const InfoItem = createComponent({ tagName: 'cm-info-item', elementClass: CmInfoItem, react: React });
216
+ export const InfoItem = createComponent({
217
+ tagName: 'cm-info-item',
218
+ elementClass: CmInfoItem,
219
+ react: React,
220
+ events: { onEdit: 'cm-edit' }, // 1.9.1: the pencil of an `editable` item
221
+ });
217
222
  export const Accordion = createComponent({
218
223
  tagName: 'cm-accordion',
219
224
  elementClass: CmAccordion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commmerce/ui-react",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "React components for Commmerce UI, generated from the web components.",
5
5
  "keywords": [
6
6
  "react",
@@ -39,7 +39,7 @@
39
39
  "test:react19": "npm ci --prefix react19 --no-audit --no-fund && vitest run --config vitest.react19.config.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@commmerce/ui": "1.9.0",
42
+ "@commmerce/ui": "1.9.1",
43
43
  "@lit/react": "1.0.6"
44
44
  },
45
45
  "peerDependencies": {