nexaas-ui-components 1.0.62 → 1.0.63
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 +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -295,7 +295,7 @@ var variants2 = {
|
|
|
295
295
|
text: "shadow-button text-button-label bg-gradient-to-b hover:text-white from-rose-start to-rose-end active:bg-gradient-to-b active:from-rose-800 active:to-rose-800 disabled:bg-gradient-to-b disabled:from-rose-800 disabled:to-rose-800 disabled:opacity-50 hover:from-[#FD467F] hover:to-[#DF4573]"
|
|
296
296
|
},
|
|
297
297
|
secondary: {
|
|
298
|
-
text: "shadow-button bg-white border-[0.5px] border-paragraph text-blue-500 hover:text-blue-600 hover:bg-[#f5f5f5] active:text-blue-600 active:bg-light-gray-100 disabled:text-
|
|
298
|
+
text: "shadow-button bg-white border-[0.5px] border-paragraph text-blue-500 hover:text-blue-600 hover:bg-[#f5f5f5] active:text-blue-600 active:bg-light-gray-100 disabled:text-neutral-400 disabled:bg-white disabled:border-[0.5px] disabled:border-neutral-400"
|
|
299
299
|
},
|
|
300
300
|
link: {
|
|
301
301
|
text: "text-blue-500 hover:text-blue-600 hover:underline border-none active:text-blue-600 active:underline disabled:text-blue-500 disabled:no-underline shadow-none font-normal"
|
|
@@ -304,10 +304,10 @@ var variants2 = {
|
|
|
304
304
|
text: "text-dangerous-500 hover:text-dangerous-600 hover:underline border-none active:text-dangerous-600 active:underline disabled:text-dangerous-500 disabled:no-underline shadow-none font-normal"
|
|
305
305
|
},
|
|
306
306
|
icon: {
|
|
307
|
-
text: "bg-white border-[0.5px] border-
|
|
307
|
+
text: "bg-white border-[0.5px] border-neutral-300 text-blue-500 hover:text-blue-600 hover:bg-[#f5f5f5] active:text-blue-600 active:bg-light-gray-100 disabled:text-neutral-400 disabled:border-[0.5px] disabled:border-disabled disabled:bg-white disabled:opacity-50"
|
|
308
308
|
},
|
|
309
309
|
iconSecondary: {
|
|
310
|
-
text: "border-[1px] border-none text-white active:bg-[#0A0A0A40]/20 hover:bg-[#F5F5F526]/10 hover:text-white disabled:text-
|
|
310
|
+
text: "border-[1px] border-none text-white active:bg-[#0A0A0A40]/20 hover:bg-[#F5F5F526]/10 hover:text-white disabled:text-neutral-400 disabled:border-[0.5px] disabled:border-disabled disabled:bg-white disabled:opacity-50"
|
|
311
311
|
},
|
|
312
312
|
outline: {
|
|
313
313
|
text: "shadow-button bg-white border-[0.5px] border-rose-700 text-blue-500 hover:text-blue-600 hover:bg-[#f5f5f5] active:text-blue-600 active:bg-light-gray-100 disabled:text-rose-700 disabled:bg-white disabled:border-[0.5px] disabled:border-rose-700 disabled:opacity-50"
|
|
@@ -331,7 +331,7 @@ var variants2 = {
|
|
|
331
331
|
text: "shadow-button bg-blue-700 text-white text-bold"
|
|
332
332
|
},
|
|
333
333
|
filter: {
|
|
334
|
-
text: "shadow-button rounded-3xl border border-
|
|
334
|
+
text: "shadow-button rounded-3xl border border-neutral-300 text-blue-500 hover:text-blue-600 hover:bg-light-gray-100 active:border active:border-blue-700 active:text-blue-600 active:bg-blue-100 focus:border focus:border-blue-700 focus:text-blue-500 focus:bg-blue-100"
|
|
335
335
|
},
|
|
336
336
|
filterActive: {
|
|
337
337
|
text: "shadow-button rounded-3xl border border-blue-700 text-blue-500 bg-blue-100 shadow-button hover:bg-blue-700 hover:text-white active:text-white active:bg-blue-900 active:border-blue-900 focus:text-white focus:bg-blue-900 focus:border-blue-900"
|
|
@@ -2783,7 +2783,7 @@ var customStyles = {
|
|
|
2783
2783
|
control: (provided, state) => ({
|
|
2784
2784
|
...provided,
|
|
2785
2785
|
cursor: "pointer",
|
|
2786
|
-
border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--
|
|
2786
|
+
border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--neutral-300)",
|
|
2787
2787
|
boxShadow: "none",
|
|
2788
2788
|
outline: "none",
|
|
2789
2789
|
borderRadius: "0.5rem",
|
|
@@ -2991,7 +2991,7 @@ var SelectField = ({
|
|
|
2991
2991
|
const NoOptionsMessage = (props) => {
|
|
2992
2992
|
var _a2, _b;
|
|
2993
2993
|
if (props.selectProps.inputValue.length == 0 && debounce2 > 0 || debounce2 > 0 && props.selectProps.inputValue.length < debounce2) {
|
|
2994
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-2 text-
|
|
2994
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-2 text-neutral-300", children: [
|
|
2995
2995
|
"Digite ",
|
|
2996
2996
|
debounce2,
|
|
2997
2997
|
" ou mais caracteres para pesquisar"
|
|
@@ -2999,7 +2999,7 @@ var SelectField = ({
|
|
|
2999
2999
|
} else if (initialMessage && !debounce2 && isSearchable && props.selectProps.inputValue.length === 0) {
|
|
3000
3000
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-2 text-neutral-300", children: initialMessage });
|
|
3001
3001
|
} else if ((props.selectProps.inputValue.length > 0 && isSearchable || !isSearchable || isSearchable && ((_a2 = props == null ? void 0 : props.options) == null ? void 0 : _a2.length) == 0) && ((_b = props == null ? void 0 : props.options) == null ? void 0 : _b.length) == 0) {
|
|
3002
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-2 text-
|
|
3002
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-2 text-neutral-300", children: emptyMessage || "Sem opc\u0327o\u0303es disponi\u0301veis" });
|
|
3003
3003
|
}
|
|
3004
3004
|
};
|
|
3005
3005
|
const DropdownIndicatorCustom = (props) => {
|
|
@@ -3175,7 +3175,7 @@ var customStyles2 = {
|
|
|
3175
3175
|
menu: (provided) => ({
|
|
3176
3176
|
...provided,
|
|
3177
3177
|
marginTop: "4px",
|
|
3178
|
-
border: "1px solid var(--
|
|
3178
|
+
border: "1px solid var(--neutral-300)",
|
|
3179
3179
|
boxShadow: "none",
|
|
3180
3180
|
borderRadius: "8px",
|
|
3181
3181
|
background: "white",
|
|
@@ -3199,7 +3199,7 @@ var customStyles2 = {
|
|
|
3199
3199
|
control: (provided, state) => ({
|
|
3200
3200
|
...provided,
|
|
3201
3201
|
cursor: "pointer",
|
|
3202
|
-
border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--
|
|
3202
|
+
border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--neutral-300)",
|
|
3203
3203
|
boxShadow: "none",
|
|
3204
3204
|
outline: "none",
|
|
3205
3205
|
borderRadius: "0.5rem",
|
|
@@ -3207,7 +3207,7 @@ var customStyles2 = {
|
|
|
3207
3207
|
height: "46px",
|
|
3208
3208
|
backgroundColor: state.isDisabled ? "var(--light-100)" : "white",
|
|
3209
3209
|
":hover": {
|
|
3210
|
-
border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--
|
|
3210
|
+
border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--neutral-300)"
|
|
3211
3211
|
}
|
|
3212
3212
|
}),
|
|
3213
3213
|
multiValue: (provided) => ({
|
|
@@ -3222,7 +3222,7 @@ var customStyles2 = {
|
|
|
3222
3222
|
}),
|
|
3223
3223
|
multiValueRemove: (provided) => ({
|
|
3224
3224
|
...provided,
|
|
3225
|
-
color: "var(--
|
|
3225
|
+
color: "var(--neutral-400)",
|
|
3226
3226
|
":hover": {
|
|
3227
3227
|
color: "var(--dangerous-700)"
|
|
3228
3228
|
}
|