nexaas-ui-components 1.0.55 → 1.0.57
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 +18 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +18 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ var variants = {
|
|
|
115
115
|
text: "shadow-button text-left text-blue-500 hover:text-blue-600 hover:underline active:text-blue-600 disabled:text-blue-400 disabled:no-underline outline-none focus:outline-none shadow-none font-normal"
|
|
116
116
|
},
|
|
117
117
|
dangerOutline: {
|
|
118
|
-
text: "shadow-button text-dangerous-500 bg-surface border-[0.5px] border-dangerous-
|
|
118
|
+
text: "shadow-button text-dangerous-500 bg-surface border-[0.5px] border-dangerous-300 hover:bg-dangerous-100 hover:text-dangerous-600 active:bg-dangerous-500 active:text-white disabled:opacity-50 disabled:bg-white disabled:text-dangerous-500 active:shadow-none"
|
|
119
119
|
},
|
|
120
120
|
danger: {
|
|
121
121
|
text: "shadow-button text-white bg-gradient-to-b from-danger-start to-danger-end hover:from-[#fe6464] hover:to-[#e24e4e] active:from-dangerous-600 active:to-dangerous-600 disabled:opacity-50 disabled:from-dangerous-500 disabled:to-dangerous-500 active:shadow-none"
|
|
@@ -139,7 +139,7 @@ var variants = {
|
|
|
139
139
|
text: "bg-white text-rose-500 hover:shadow-button hover:text-rose-600 active:bg-rose-500 active:text-white disabled:text-neutral-400 disabled:border-disabled disabled:bg-white disabled:opacity-50 active:shadow-none"
|
|
140
140
|
},
|
|
141
141
|
dangerLight: {
|
|
142
|
-
text: "active:shadow-none shadow-red-sm text-danger-500 font-bold bg-white border-[0.5px] border-
|
|
142
|
+
text: "active:shadow-none shadow-red-sm text-danger-500 font-bold bg-white border-[0.5px] border-dangerous-300 hover:bg-dangerous-100 active:bg-danger-500 active:text-white disabled:opacity-50 disabled:bg-white disabled:text-danger-500"
|
|
143
143
|
},
|
|
144
144
|
ghost: {
|
|
145
145
|
text: "bg-transparent hover:bg-neutral-100 !rounded-full text-paragraph active:bg-neutral-200 disabled:opacity-50"
|
|
@@ -1820,7 +1820,7 @@ var FilterOptions = ({
|
|
|
1820
1820
|
className: clsx9__default.default({
|
|
1821
1821
|
["text-label group-active:text-blue-500"]: !field.value && !open,
|
|
1822
1822
|
["text-blue-500"]: open && !field.value,
|
|
1823
|
-
["text-blue-500 group-hover:text-
|
|
1823
|
+
["text-blue-500 group-hover:text-white"]: open && field.value
|
|
1824
1824
|
}),
|
|
1825
1825
|
children: icon
|
|
1826
1826
|
}
|
|
@@ -1832,7 +1832,7 @@ var FilterOptions = ({
|
|
|
1832
1832
|
{
|
|
1833
1833
|
["text-paragraph group-active:text-blue-500"]: !field.value && !open,
|
|
1834
1834
|
["text-blue-500"]: open && !field.value,
|
|
1835
|
-
["text-blue-500 group-hover:text-
|
|
1835
|
+
["text-blue-500 group-hover:text-white"]: open && field.value
|
|
1836
1836
|
},
|
|
1837
1837
|
"truncate cursor-pointer"
|
|
1838
1838
|
),
|
|
@@ -1840,14 +1840,26 @@ var FilterOptions = ({
|
|
|
1840
1840
|
}
|
|
1841
1841
|
),
|
|
1842
1842
|
isMulti && field.value && field.value.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-blue-500 text-white text-p-xs px-1 py-[2px] rounded group-hover:bg-blue-500", children: field.value.length }),
|
|
1843
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1843
|
+
open ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1844
|
+
"i",
|
|
1845
|
+
{
|
|
1846
|
+
className: clsx9__default.default(
|
|
1847
|
+
{
|
|
1848
|
+
["text-label group-active:text-blue-500"]: !field.value && !open,
|
|
1849
|
+
["text-blue-500"]: open && !field.value,
|
|
1850
|
+
["text-blue-500 group-hover:text-white"]: open && field.value
|
|
1851
|
+
},
|
|
1852
|
+
"uil uil-angle-up text-[18px]"
|
|
1853
|
+
)
|
|
1854
|
+
}
|
|
1855
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1844
1856
|
"i",
|
|
1845
1857
|
{
|
|
1846
1858
|
className: clsx9__default.default(
|
|
1847
1859
|
{
|
|
1848
1860
|
["text-label group-active:text-blue-500"]: !field.value && !open,
|
|
1849
1861
|
["text-blue-500"]: open && !field.value,
|
|
1850
|
-
["text-blue-500 group-hover:text-
|
|
1862
|
+
["text-blue-500 group-hover:text-white"]: open && field.value
|
|
1851
1863
|
},
|
|
1852
1864
|
"uil uil-angle-down text-[18px]"
|
|
1853
1865
|
)
|