nexaas-ui-components 1.0.97 → 1.0.98
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 +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -832,8 +832,13 @@ var DatePickerInput = React6.forwardRef(
|
|
|
832
832
|
];
|
|
833
833
|
const hasError = fieldValidationMessages.some((item) => item !== void 0);
|
|
834
834
|
const styles = {
|
|
835
|
-
|
|
836
|
-
|
|
835
|
+
// Borda e sombra iguais as do Input: `rounded-lg` (era `rounded`, 4px contra os 8px do
|
|
836
|
+
// Input) e o mesmo bloco de disabled, com os tokens `--input-bg-disabled` /
|
|
837
|
+
// `--input-border-disabled` em vez de `bg-light-gray-100` — os tokens trocam de valor no
|
|
838
|
+
// tema escuro, a cor fixa nao.
|
|
839
|
+
input: `text-p-md text-paragraph bg-surface shadow-input border-[0.5px] rounded-lg block pb-[10px] h-[46px] w-full disabled:bg-[var(--input-bg-disabled)] disabled:border-[var(--input-border-disabled)] disabled:text-disabled disabled:cursor-not-allowed disabled:shadow-none input-focus-ring ${hasError ? "border-dangerous-500 text-dangerous-500" : "border-stroke"}`,
|
|
840
|
+
// left-[1.5px] como no Input: cobre a borda de 0.5px sem deixar fiapo aparecendo.
|
|
841
|
+
icon: `absolute bg-neutral-100 h-[44px] w-[38px] top-[1px] left-[1.5px] rounded-l-lg rounded-r-none ${hasError ? "text-dangerous-700" : "text-label"}`,
|
|
837
842
|
label: "absolute text-label text-sm",
|
|
838
843
|
clear: "absolute top-[8px] right-[8px] cursor-pointer text-label text-[22px]"
|
|
839
844
|
};
|