@photoroom/ui 0.1.526 → 0.1.528

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/index.mjs CHANGED
@@ -51382,11 +51382,15 @@ var Ege = /*#__PURE__*/ z.forwardRef(function(e, t) {
51382
51382
  r?.(), this.dismissNotification(e);
51383
51383
  }
51384
51384
  }), n);
51385
- }, this.#n = (e) => ({
51386
- ...this.#e.defaultNotificationProps,
51387
- ...e,
51388
- className: U(this.#e.defaultNotificationProps.className, e.className)
51389
- }), this.confirm = (e) => new Promise((n) => {
51385
+ }, this.#n = (e) => {
51386
+ let { closeLabel: t, ...n } = this.#e.defaultNotificationProps;
51387
+ return {
51388
+ ...n,
51389
+ closeLabel: typeof t == "function" ? t() : t,
51390
+ ...e,
51391
+ className: U(this.#e.defaultNotificationProps.className, e.className)
51392
+ };
51393
+ }, this.confirm = (e) => new Promise((n) => {
51390
51394
  let r = this.#t({
51391
51395
  label: e.label,
51392
51396
  className: "w-[480px]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.526",
3
+ "version": "0.1.528",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [