@sofya-ds/react 1.1.10 → 1.1.12
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.cjs +5 -7
- package/dist/index.js +5 -7
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2075,17 +2075,15 @@ var DialogContent = React10.forwardRef(
|
|
|
2075
2075
|
style: dialogCardStyle,
|
|
2076
2076
|
children: [
|
|
2077
2077
|
children,
|
|
2078
|
-
showCloseButton ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.
|
|
2078
|
+
showCloseButton ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
2079
2079
|
Button,
|
|
2080
2080
|
{
|
|
2081
2081
|
type: "button",
|
|
2082
|
-
variant: "
|
|
2082
|
+
variant: "icon",
|
|
2083
2083
|
size: "icon",
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Close" })
|
|
2088
|
-
]
|
|
2084
|
+
"aria-label": "Close",
|
|
2085
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "x", size: 18 }),
|
|
2086
|
+
className: "absolute right-4 top-4 z-10 h-11 w-11 rounded-full bg-background text-muted-foreground hover:bg-muted hover:text-foreground"
|
|
2089
2087
|
}
|
|
2090
2088
|
) }) : null
|
|
2091
2089
|
]
|
package/dist/index.js
CHANGED
|
@@ -1879,17 +1879,15 @@ var DialogContent = React10.forwardRef(
|
|
|
1879
1879
|
style: dialogCardStyle,
|
|
1880
1880
|
children: [
|
|
1881
1881
|
children,
|
|
1882
|
-
showCloseButton ? /* @__PURE__ */ jsx12(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */
|
|
1882
|
+
showCloseButton ? /* @__PURE__ */ jsx12(DialogPrimitive.Close, { asChild: true, children: /* @__PURE__ */ jsx12(
|
|
1883
1883
|
Button,
|
|
1884
1884
|
{
|
|
1885
1885
|
type: "button",
|
|
1886
|
-
variant: "
|
|
1886
|
+
variant: "icon",
|
|
1887
1887
|
size: "icon",
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
/* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Close" })
|
|
1892
|
-
]
|
|
1888
|
+
"aria-label": "Close",
|
|
1889
|
+
leftIcon: /* @__PURE__ */ jsx12(Icon, { name: "x", size: 18 }),
|
|
1890
|
+
className: "absolute right-4 top-4 z-10 h-11 w-11 rounded-full bg-background text-muted-foreground hover:bg-muted hover:text-foreground"
|
|
1893
1891
|
}
|
|
1894
1892
|
) }) : null
|
|
1895
1893
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sofya-ds/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Sofya React design system with official brand tokens, provider and UI components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"motion": "^12.38.0",
|
|
59
59
|
"sonner": "^2.0.7",
|
|
60
60
|
"tailwind-merge": "^3.5.0",
|
|
61
|
-
"@sofya-ds/tokens": "1.1.
|
|
61
|
+
"@sofya-ds/tokens": "1.1.12"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@testing-library/jest-dom": "^6.9.1",
|