@edux-design/forms 0.0.4 → 0.0.5
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -133,7 +133,7 @@ var Input = (0, import_react4.forwardRef)(
|
|
|
133
133
|
}, ref) => {
|
|
134
134
|
const { labelHTMLForId } = useFieldContext();
|
|
135
135
|
const hasValue = Boolean(props.value);
|
|
136
|
-
const defaults = "h-[44px] w-full border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5";
|
|
136
|
+
const defaults = "h-[44px] bg-white w-full border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5";
|
|
137
137
|
const fonts = "font-normal text-base";
|
|
138
138
|
const variants = {
|
|
139
139
|
primary: "hover:border-2 hover:border-border-primary-base focus:border-2 focus:border-border-primary-base focus-within:border-2 focus-within:border-border-primary-base",
|
|
@@ -303,7 +303,7 @@ var Textarea = (0, import_react7.forwardRef)(
|
|
|
303
303
|
}, ref) => {
|
|
304
304
|
const { labelHTMLForId } = useFieldContext();
|
|
305
305
|
const hasValue = Boolean(props.value);
|
|
306
|
-
const defaults = "w-full border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5 py-3 resize-y";
|
|
306
|
+
const defaults = "w-full bg-white border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5 py-3 resize-y";
|
|
307
307
|
const fonts = "font-normal text-base leading-relaxed";
|
|
308
308
|
const variants = {
|
|
309
309
|
primary: "hover:border-2 hover:border-border-primary-base focus:border-2 focus:border-border-primary-base focus-within:border-2 focus-within:border-border-primary-base",
|
package/dist/index.mjs
CHANGED
|
@@ -100,7 +100,7 @@ var Input = forwardRef(
|
|
|
100
100
|
}, ref) => {
|
|
101
101
|
const { labelHTMLForId } = useFieldContext();
|
|
102
102
|
const hasValue = Boolean(props.value);
|
|
103
|
-
const defaults = "h-[44px] w-full border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5";
|
|
103
|
+
const defaults = "h-[44px] bg-white w-full border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5";
|
|
104
104
|
const fonts = "font-normal text-base";
|
|
105
105
|
const variants = {
|
|
106
106
|
primary: "hover:border-2 hover:border-border-primary-base focus:border-2 focus:border-border-primary-base focus-within:border-2 focus-within:border-border-primary-base",
|
|
@@ -270,7 +270,7 @@ var Textarea = forwardRef2(
|
|
|
270
270
|
}, ref) => {
|
|
271
271
|
const { labelHTMLForId } = useFieldContext();
|
|
272
272
|
const hasValue = Boolean(props.value);
|
|
273
|
-
const defaults = "w-full border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5 py-3 resize-y";
|
|
273
|
+
const defaults = "w-full bg-white border-2 rounded-md border-border-base focus:shadow-focus focus-visible:shadow-focus outline-none transition-all duration-300 ease-in-out pl-5 py-3 resize-y";
|
|
274
274
|
const fonts = "font-normal text-base leading-relaxed";
|
|
275
275
|
const variants = {
|
|
276
276
|
primary: "hover:border-2 hover:border-border-primary-base focus:border-2 focus:border-border-primary-base focus-within:border-2 focus-within:border-border-primary-base",
|