@exem-ui/react 0.3.4-next.20260828070546 → 0.3.4-next.20260902003121
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 +4 -8
- package/dist/index.mjs +4 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -571,24 +571,20 @@ var Button = React.forwardRef(
|
|
|
571
571
|
}, ref) => {
|
|
572
572
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
573
573
|
icon && React.cloneElement(icon, {
|
|
574
|
-
className: utils.cn(
|
|
575
|
-
"shrink-0 [&>path]:fill-current",
|
|
576
|
-
colorStyles[color][variant].icon,
|
|
577
|
-
icon.props.className
|
|
578
|
-
),
|
|
574
|
+
className: utils.cn("shrink-0", colorStyles[color][variant].icon, icon.props.className),
|
|
579
575
|
size: icon.props.size ?? IconSizeMap[size]
|
|
580
576
|
}),
|
|
581
|
-
|
|
577
|
+
children != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
582
578
|
"span",
|
|
583
579
|
{
|
|
584
580
|
className: utils.cn(
|
|
585
|
-
"truncate",
|
|
581
|
+
"min-w-0 truncate",
|
|
586
582
|
size === "xlarge" ? "px-1" : "px-0.5",
|
|
587
583
|
colorStyles[color][variant].text
|
|
588
584
|
),
|
|
589
585
|
children
|
|
590
586
|
}
|
|
591
|
-
)
|
|
587
|
+
)
|
|
592
588
|
] });
|
|
593
589
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
594
590
|
"button",
|
package/dist/index.mjs
CHANGED
|
@@ -546,24 +546,20 @@ var Button = forwardRef(
|
|
|
546
546
|
}, ref) => {
|
|
547
547
|
const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
548
548
|
icon && cloneElement(icon, {
|
|
549
|
-
className: cn(
|
|
550
|
-
"shrink-0 [&>path]:fill-current",
|
|
551
|
-
colorStyles[color][variant].icon,
|
|
552
|
-
icon.props.className
|
|
553
|
-
),
|
|
549
|
+
className: cn("shrink-0", colorStyles[color][variant].icon, icon.props.className),
|
|
554
550
|
size: icon.props.size ?? IconSizeMap[size]
|
|
555
551
|
}),
|
|
556
|
-
|
|
552
|
+
children != null && /* @__PURE__ */ jsx(
|
|
557
553
|
"span",
|
|
558
554
|
{
|
|
559
555
|
className: cn(
|
|
560
|
-
"truncate",
|
|
556
|
+
"min-w-0 truncate",
|
|
561
557
|
size === "xlarge" ? "px-1" : "px-0.5",
|
|
562
558
|
colorStyles[color][variant].text
|
|
563
559
|
),
|
|
564
560
|
children
|
|
565
561
|
}
|
|
566
|
-
)
|
|
562
|
+
)
|
|
567
563
|
] });
|
|
568
564
|
return /* @__PURE__ */ jsx(
|
|
569
565
|
"button",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exem-ui/react",
|
|
3
|
-
"version": "0.3.4-next.
|
|
3
|
+
"version": "0.3.4-next.20260902003121",
|
|
4
4
|
"description": "Exem Design System - React Components",
|
|
5
5
|
"author": "Exem Design Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"tailwind-merge": "^3.3.1",
|
|
101
101
|
"tailwind-scrollbar-hide": "^4.0.0",
|
|
102
102
|
"tiny-invariant": "^1.3.3",
|
|
103
|
-
"@exem-ui/core": "0.3.3-next.
|
|
103
|
+
"@exem-ui/core": "0.3.3-next.20260902003121"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@eslint/js": "^9.15.0",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"tsup": "^8.5.0",
|
|
137
137
|
"typescript": "^5.8.2",
|
|
138
138
|
"typescript-eslint": "^8.16.0",
|
|
139
|
-
"@exem-ui/tailwindcss3": "0.3.2-next.
|
|
139
|
+
"@exem-ui/tailwindcss3": "0.3.2-next.20260902003121"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"generate": "node scripts/generate-icons.js",
|