anentrypoint-design 0.0.258 → 0.0.259

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anentrypoint-design",
3
- "version": "0.0.258",
3
+ "version": "0.0.259",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
@@ -173,7 +173,7 @@ export function ConfirmDialog({ title = 'Are you sure?', message, confirmLabel =
173
173
  body: [message || '', modalError(error)].filter(Boolean),
174
174
  actions: [
175
175
  Btn({ onClick: onCancel, disabled: busy, children: cancelLabel }),
176
- Btn({ variant: 'primary', disabled: busy, onClick: onConfirm, children: busy ? busyLabel : confirmLabel })
176
+ Btn({ variant: destructive ? 'danger' : 'primary', disabled: busy, onClick: onConfirm, children: busy ? busyLabel : confirmLabel })
177
177
  ]
178
178
  });
179
179
  }