@versini/ui-dialog 10.0.3 → 10.1.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.js +13 -15
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-dialog v10.
|
|
2
|
+
@versini/ui-dialog v10.1.1
|
|
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-
|
|
125
|
+
closeButton: clsx("flex items-center justify-center", "size-4", "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("
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
opacity: "1"
|
|
331
|
-
})
|
|
319
|
+
children: /*#__PURE__*/ jsx("svg", {
|
|
320
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
321
|
+
className: "size-3",
|
|
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.
|
|
3
|
+
"version": "10.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"sideEffects": [
|
|
55
55
|
"**/*.css"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "dc84d8c40407d438867502d189727904fc1aca02"
|
|
58
58
|
}
|