@versini/ui-dialog 10.0.2 → 10.1.0

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -15
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-dialog v10.0.2
2
+ @versini/ui-dialog v10.1.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -122,7 +122,7 @@ const getDialogClassName = ({ className, kind, borderMode, animation, maxWidth =
122
122
  }),
123
123
  title: "mb-0 pt-2 pl-4 pr-2 pb-2",
124
124
  closeWrapper: "pr-[18px]",
125
- closeButton: clsx("flex items-center justify-center", "size-3", "p-1", "rounded-full", "border", "border-transparent", "cursor-pointer", "text-[rgba(255,96,92,1)]", "bg-[rgba(255,96,92,1)]", "shadow-[0_0_0_0.5px_red]", "focus:outline", "focus:outline-2", "focus:outline-offset-2", "focus:outline-focus-light", "hover:text-copy-dark", "focus:text-copy-dark", "active:bg-[#ba504a]", // Extended touch target using pseudo-element
125
+ closeButton: clsx("flex items-center justify-center", "size-3", "rounded-full", "cursor-pointer", "border border-border-danger-dark", "bg-[radial-gradient(circle_at_35%_25%,_#ff9d98_0%,_#ff6055_45%,_#e0352e_100%)]", "shadow-[0_1px_2px_rgba(0,0,0,0.35),inset_0_1px_1px_rgba(255,255,255,0.35),inset_0_-1px_1px_rgba(0,0,0,0.15)]", "text-transparent", "hover:text-copy-dark", "focus:text-copy-dark", "focus:outline-1", "focus:outline-offset-2", "focus:outline-focus-light", "active:bg-[radial-gradient(circle_at_35%_25%,_#d08580_0%,_#ba504a_45%,_#8a2a25_100%)]", "active:shadow-[inset_0_1px_3px_rgba(0,0,0,0.3)]", // Extended touch target using pseudo-element
126
126
  "relative", "before:content-['']", "before:absolute", "before:-top-4", "before:-right-4", "before:-bottom-4", "before:-left-4"),
127
127
  content: "p-4 rounded-3xl"
128
128
  };
@@ -316,19 +316,17 @@ const Dialog = ({ open, onOpenChange, title, children, footer, borderMode = "lig
316
316
  type: "button",
317
317
  "aria-label": "Close",
318
318
  onClick: handleClose,
319
- children: /*#__PURE__*/ jsx("span", {
320
- children: /*#__PURE__*/ jsx("svg", {
321
- xmlns: "http://www.w3.org/2000/svg",
322
- className: "size-3",
323
- viewBox: "0 0 384 512",
324
- fill: "currentColor",
325
- role: "img",
326
- "aria-hidden": "true",
327
- focusable: "false",
328
- children: /*#__PURE__*/ jsx("path", {
329
- d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
330
- opacity: "1"
331
- })
319
+ children: /*#__PURE__*/ jsx("svg", {
320
+ xmlns: "http://www.w3.org/2000/svg",
321
+ className: "size-2",
322
+ viewBox: "0 0 384 512",
323
+ fill: "currentColor",
324
+ role: "img",
325
+ "aria-hidden": "true",
326
+ focusable: "false",
327
+ children: /*#__PURE__*/ jsx("path", {
328
+ d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
329
+ opacity: "1"
332
330
  })
333
331
  })
334
332
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-dialog",
3
- "version": "10.0.2",
3
+ "version": "10.1.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@testing-library/jest-dom": "6.9.1",
46
- "@versini/ui-button": "12.0.2",
46
+ "@versini/ui-button": "12.0.3",
47
47
  "@versini/ui-system": "6.0.4",
48
48
  "@versini/ui-types": "8.3.0"
49
49
  },
@@ -54,5 +54,5 @@
54
54
  "sideEffects": [
55
55
  "**/*.css"
56
56
  ],
57
- "gitHead": "84d5ac4ea694792080c881a50b4fd5c4ce3750c0"
57
+ "gitHead": "035ac8eb3b64582a12e51e27a56a1cc2a7050a34"
58
58
  }