boreal-ui 0.0.60 → 0.0.61

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea-FZ2to7QC.js","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/core/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","import { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport \"./TextArea.scss\";\r\n\r\nconst classes = {\r\n textArea: \"textArea\",\r\n textInput: \"textArea_text_input\",\r\n icon: \"textArea_icon\",\r\n\r\n primary: \"textArea_primary\",\r\n secondary: \"textArea_secondary\",\r\n tertiary: \"textArea_tertiary\",\r\n quaternary: \"textArea_quaternary\",\r\n\r\n success: \"textArea_success\",\r\n error: \"textArea_error\",\r\n warning: \"textArea_warning\",\r\n\r\n clear: \"textArea_clear\",\r\n\r\n outline: \"textArea_outline\",\r\n\r\n disabled: \"textArea_disabled\",\r\n\r\n errorMessage: \"textArea_errorMessage\",\r\n iconContainer: \"textArea_iconContainer\",\r\n errorMessageContainer: \"textArea_errorMessageContainer\",\r\n\r\n shadowNone: \"textArea_shadow-None\",\r\n shadowLight: \"textArea_shadow-Light\",\r\n shadowMedium: \"textArea_shadow-Medium\",\r\n shadowStrong: \"textArea_shadow-Strong\",\r\n shadowIntense: \"textArea_shadow-Intense\",\r\n\r\n roundNone: \"textArea_round-None\",\r\n roundSmall: \"textArea_round-Small\",\r\n roundMedium: \"textArea_round-Medium\",\r\n roundLarge: \"textArea_round-Large\",\r\n};\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={classes} />;\r\n }\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";\r\n\r\nexport default TextArea;\r\n"],"names":[],"mappings":";;;;;AAUA,MAAM,eAAe;AAAA,EAInB,CACE;AAAA,IACE,MAAM;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,UAAU;AAAA,IACV,eAAe;AAAA,IACf;AAAA,IACA,QAAQ,gBAAA;AAAA,IACR,WAAW,mBAAA;AAAA,IACX,SAAS,iBAAA;AAAA,IACT,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ,eAAe,SAAS;AAAA,IACxB,IAAI;AAAA,IACJ;AAAA,IACA,GAAG;AAAA,EAAA,GAEL,QACG;AACH,UAAM,SAAS,MAAA;AACf,UAAM,KAAK,UAAU;AAErB,UAAM,gBAAgB,kBAAkB,GAAG,EAAE,iBAAiB;AAE9D,UAAM,eAAe;AAAA,MACnB,MACE;AAAA,QACE,SAAS;AAAA,QACT,SAAS,KAAK;AAAA,QACd,SAAS,KAAK;AAAA,QACd,W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QAAC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;ACrH3B,MAAM,UAAU;AAAA,EACd,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EAEN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AAAA,EAEZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EAET,OAAO;AAAA,EAEP,SAAS;AAAA,EAET,UAAU;AAAA,EAEV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,uBAAuB;AAAA,EAEvB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,cAAc;AAAA,EACd,cAAc;AAAA,EACd,eAAe;AAAA,EAEf,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,YAAY;AACd;AAEA,MAAM,WAAW;AAAA,EACf,CAAC,OAAO,QAAQ;AACd,+BAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,SAAS;AAAA,EAC/D;AACF;AAEA,SAAS,cAAc;"}
1
+ {"version":3,"file":"TextArea-FZ2to7QC.js","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/core/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","import { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport \"./TextArea.scss\";\r\n\r\nconst classes = {\r\n textArea: \"textArea\",\r\n textInput: \"textArea_text_input\",\r\n icon: \"textArea_icon\",\r\n\r\n primary: \"textArea_primary\",\r\n secondary: \"textArea_secondary\",\r\n tertiary: \"textArea_tertiary\",\r\n quaternary: \"textArea_quaternary\",\r\n\r\n success: \"textArea_success\",\r\n error: \"textArea_error\",\r\n warning: \"textArea_warning\",\r\n\r\n clear: \"textArea_clear\",\r\n\r\n outline: \"textArea_outline\",\r\n\r\n disabled: \"textArea_disabled\",\r\n\r\n errorMessage: \"textArea_errorMessage\",\r\n iconContainer: \"textArea_iconContainer\",\r\n errorMessageContainer: \"textArea_errorMessageContainer\",\r\n\r\n shadowNone: \"textArea_shadow-None\",\r\n shadowLight: \"textArea_shadow-Light\",\r\n shadowMedium: \"textArea_shadow-Medium\",\r\n shadowStrong: \"textArea_shadow-Strong\",\r\n shadowIntense: \"textArea_shadow-Intense\",\r\n\r\n roundNone: \"textArea_round-None\",\r\n roundSmall: \"textArea_round-Small\",\r\n roundMedium: \"textArea_round-Medium\",\r\n roundLarge: \"textArea_round-Large\",\r\n};\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={classes} />;\r\n },\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";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AEf,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,YAAY;AACd;AAEA,MAAM,WAAW;AAAA,EACf,CAAC,OAAO,QAAQ;AACd,+BAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,SAAS;AAAA,EAC/D;AACF;AAEA,SAAS,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea-tRdQdCYT.cjs","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/core/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","import { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport \"./TextArea.scss\";\r\n\r\nconst classes = {\r\n textArea: \"textArea\",\r\n textInput: \"textArea_text_input\",\r\n icon: \"textArea_icon\",\r\n\r\n primary: \"textArea_primary\",\r\n secondary: \"textArea_secondary\",\r\n tertiary: \"textArea_tertiary\",\r\n quaternary: \"textArea_quaternary\",\r\n\r\n success: \"textArea_success\",\r\n error: \"textArea_error\",\r\n warning: \"textArea_warning\",\r\n\r\n clear: \"textArea_clear\",\r\n\r\n outline: \"textArea_outline\",\r\n\r\n disabled: \"textArea_disabled\",\r\n\r\n errorMessage: \"textArea_errorMessage\",\r\n iconContainer: \"textArea_iconContainer\",\r\n errorMessageContainer: \"textArea_errorMessageContainer\",\r\n\r\n shadowNone: \"textArea_shadow-None\",\r\n shadowLight: \"textArea_shadow-Light\",\r\n shadowMedium: \"textArea_shadow-Medium\",\r\n shadowStrong: \"textArea_shadow-Strong\",\r\n shadowIntense: \"textArea_shadow-Intense\",\r\n\r\n roundNone: \"textArea_round-None\",\r\n roundSmall: \"textArea_round-Small\",\r\n roundMedium: \"textArea_round-Medium\",\r\n roundLarge: \"textArea_round-Large\",\r\n};\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={classes} />;\r\n }\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";\r\n\r\nexport default TextArea;\r\n"],"names":["forwardRef","getDefaultTheme","getDefaultRounding","getDefaultShadow","useId","useMemo","combineClassNames","capitalize","jsxs","jsx"],"mappings":";;;;;;AAUA,MAAM,eAAeA,MAAAA;AAAAA,EAInB,CACE;AAAA,IACE,MAAM;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,UAAU;AAAA,IACV,eAAe;AAAA,IACf;AAAA,IACA,QAAQC,kBAAAA,gBAAA;AAAA,IACR,WAAWC,kBAAAA,mBAAA;AAAA,IACX,SAASC,kBAAAA,iBAAA;AAAA,IACT,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ,eAAe,SAAS;AAAA,IACxB,IAAI;AAAA,IACJ;AAAA,IACA,GAAG;AAAA,EAAA,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;AAAA,YACA,QAAQ,YAAY,SAAY;AAAA,UAAA;AAAA,UAElC,WAAW,SAAS;AAAA,UACpB,eAAa,GAAG,MAAM;AAAA,UACrB,GAAG;AAAA,QAAA;AAAA,MAAA;AAAA,MAGNA,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,SAAS;AAAA,UACpB,eAAY;AAAA,UACZ,eAAa,GAAG,MAAM;AAAA,QAAA;AAAA,MAAA;AAAA,MAGvB,mBACCA,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;ACrH3B,MAAM,UAAU;AAAA,EACd,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EAEN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AAAA,EAEZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EAET,OAAO;AAAA,EAEP,SAAS;AAAA,EAET,UAAU;AAAA,EAEV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,uBAAuB;AAAA,EAEvB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,cAAc;AAAA,EACd,cAAc;AAAA,EACd,eAAe;AAAA,EAEf,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,YAAY;AACd;AAEA,MAAM,WAAWT,MAAAA;AAAAA,EACf,CAAC,OAAO,QAAQ;AACd,0CAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,SAAS;AAAA,EAC/D;AACF;AAEA,SAAS,cAAc;;"}
1
+ {"version":3,"file":"TextArea-tRdQdCYT.cjs","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/core/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","import { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport \"./TextArea.scss\";\r\n\r\nconst classes = {\r\n textArea: \"textArea\",\r\n textInput: \"textArea_text_input\",\r\n icon: \"textArea_icon\",\r\n\r\n primary: \"textArea_primary\",\r\n secondary: \"textArea_secondary\",\r\n tertiary: \"textArea_tertiary\",\r\n quaternary: \"textArea_quaternary\",\r\n\r\n success: \"textArea_success\",\r\n error: \"textArea_error\",\r\n warning: \"textArea_warning\",\r\n\r\n clear: \"textArea_clear\",\r\n\r\n outline: \"textArea_outline\",\r\n\r\n disabled: \"textArea_disabled\",\r\n\r\n errorMessage: \"textArea_errorMessage\",\r\n iconContainer: \"textArea_iconContainer\",\r\n errorMessageContainer: \"textArea_errorMessageContainer\",\r\n\r\n shadowNone: \"textArea_shadow-None\",\r\n shadowLight: \"textArea_shadow-Light\",\r\n shadowMedium: \"textArea_shadow-Medium\",\r\n shadowStrong: \"textArea_shadow-Strong\",\r\n shadowIntense: \"textArea_shadow-Intense\",\r\n\r\n roundNone: \"textArea_round-None\",\r\n roundSmall: \"textArea_round-Small\",\r\n roundMedium: \"textArea_round-Medium\",\r\n roundLarge: \"textArea_round-Large\",\r\n};\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={classes} />;\r\n },\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";\r\n\r\nexport default TextArea;\r\n"],"names":["forwardRef","getDefaultTheme","getDefaultRounding","getDefaultShadow","useId","useMemo","combineClassNames","capitalize","jsxs","jsx"],"mappings":";;;;;;AAUA,MAAM,eAAeA,MAAAA;AAAAA,EAInB,CACE;AAAA,IACE,MAAM;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,UAAU;AAAA,IACV,eAAe;AAAA,IACf;AAAA,IACA,QAAQC,kBAAAA,gBAAA;AAAA,IACR,WAAWC,kBAAAA,mBAAA;AAAA,IACX,SAASC,kBAAAA,iBAAA;AAAA,IACT,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ,eAAe,SAAS;AAAA,IACxB,IAAI;AAAA,IACJ;AAAA,IACA,GAAG;AAAA,EAAA,GAEL,QACG;AACH,UAAM,SAASC,MAAAA,MAAA;AACf,UAAM,KAAK,UAAU;AAErB,UAAM,gBAAgB,kBAAkB,GAAG,EAAE,iBAAiB;AAE9D,UAAM,eAAeC,MAAAA;AAAAA,MACnB,MACEC,WAAAA;AAAAA,QACE,SAAS;AAAA,QACT,SAAS,KAAK;AAAA,QACd,SAAS,KAAK;AAAA,QACd,WAAW,SAAS;AAAA,QACpB,YAAY,SAAS;AAAA,QACrB,UAAU,SAAS,SAASC,WAAAA,WAAW,MAAM,CAAC,EAAE;AAAA,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,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;ACrH3B,MAAM,UAAU;AAAA,EACd,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EAEN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AAAA,EAEZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EAET,OAAO;AAAA,EAEP,SAAS;AAAA,EAET,UAAU;AAAA,EAEV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,uBAAuB;AAAA,EAEvB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,cAAc;AAAA,EACd,cAAc;AAAA,EACd,eAAe;AAAA,EAEf,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,YAAY;AACd;AAEA,MAAM,WAAWT,MAAAA;AAAAA,EACf,CAAC,OAAO,QAAQ;AACd,0CAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,SAAS;AAAA,EAC/D;AACF;AAEA,SAAS,cAAc;;"}
@@ -32445,10 +32445,11 @@ a:hover {
32445
32445
  * Use this map to loop over breakpoints or access named values.
32446
32446
  */
32447
32447
  .textArea {
32448
- display: flex;
32449
- width: fit-content;
32450
- justify-content: center;
32448
+ display: inline-flex;
32449
+ justify-content: space-between;
32451
32450
  align-items: center;
32451
+ width: fit-content;
32452
+ margin: 8px;
32452
32453
  transition: 0.3s ease-in-out;
32453
32454
  background: transparent;
32454
32455
  }
@@ -103,30 +103,30 @@ const TextAreaBase = forwardRef(
103
103
  }
104
104
  );
105
105
  TextAreaBase.displayName = "TextAreaBase";
106
- const textArea = "_textArea_wfb6i_85";
107
- const primary = "_primary_wfb6i_103";
108
- const outline = "_outline_wfb6i_106";
109
- const secondary = "_secondary_wfb6i_112";
110
- const tertiary = "_tertiary_wfb6i_121";
111
- const quaternary = "_quaternary_wfb6i_130";
112
- const clear = "_clear_wfb6i_139";
113
- const success = "_success_wfb6i_148";
114
- const error = "_error_wfb6i_151";
115
- const warning = "_warning_wfb6i_154";
116
- const disabled = "_disabled_wfb6i_160";
117
- const textInput = "_textInput_wfb6i_166";
118
- const roundNone = "_roundNone_wfb6i_171";
119
- const roundSmall = "_roundSmall_wfb6i_175";
120
- const roundMedium = "_roundMedium_wfb6i_179";
121
- const roundLarge = "_roundLarge_wfb6i_183";
122
- const roundFull = "_roundFull_wfb6i_187";
123
- const shadowNone = "_shadowNone_wfb6i_191";
124
- const shadowLight = "_shadowLight_wfb6i_195";
125
- const shadowMedium = "_shadowMedium_wfb6i_199";
126
- const shadowStrong = "_shadowStrong_wfb6i_203";
127
- const shadowIntense = "_shadowIntense_wfb6i_207";
128
- const iconContainer = "_iconContainer_wfb6i_251";
129
- const togglePassword = "_togglePassword_wfb6i_277";
106
+ const textArea = "_textArea_14dic_85";
107
+ const primary = "_primary_14dic_104";
108
+ const outline = "_outline_14dic_107";
109
+ const secondary = "_secondary_14dic_113";
110
+ const tertiary = "_tertiary_14dic_122";
111
+ const quaternary = "_quaternary_14dic_131";
112
+ const clear = "_clear_14dic_140";
113
+ const success = "_success_14dic_149";
114
+ const error = "_error_14dic_152";
115
+ const warning = "_warning_14dic_155";
116
+ const disabled = "_disabled_14dic_161";
117
+ const textInput = "_textInput_14dic_167";
118
+ const roundNone = "_roundNone_14dic_172";
119
+ const roundSmall = "_roundSmall_14dic_176";
120
+ const roundMedium = "_roundMedium_14dic_180";
121
+ const roundLarge = "_roundLarge_14dic_184";
122
+ const roundFull = "_roundFull_14dic_188";
123
+ const shadowNone = "_shadowNone_14dic_192";
124
+ const shadowLight = "_shadowLight_14dic_196";
125
+ const shadowMedium = "_shadowMedium_14dic_200";
126
+ const shadowStrong = "_shadowStrong_14dic_204";
127
+ const shadowIntense = "_shadowIntense_14dic_208";
128
+ const iconContainer = "_iconContainer_14dic_252";
129
+ const togglePassword = "_togglePassword_14dic_278";
130
130
  const styles = {
131
131
  textArea,
132
132
  primary,
@@ -162,4 +162,4 @@ TextArea.displayName = "TextArea";
162
162
  export {
163
163
  TextArea as T
164
164
  };
165
- //# sourceMappingURL=TextArea-BDOiqHNv.js.map
165
+ //# sourceMappingURL=TextArea-BHJx395o.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea-BDOiqHNv.js","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/next/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","\"use client\";\r\n\r\nimport { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport styles from \"./TextArea.module.scss\";\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={styles} />;\r\n }\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AEtB,UAAA,oBAAC,MAAA,EAAK,eAAY,OAAA,CAAO;AAAA,QAAA;AAAA,MAAA;AAAA,MAI7B;AAAA,QAAC;AAAA,QAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA;AAAA,UACA,cAAY;AAAA,UACZ,oBAAkB;AAAA,UAClB,gBAAc,WAAW;AAAA,UACzB,iBAAe,YAAY;AAAA,UAC3B,iBAAe,YAAY;AAAA,UAC3B,iBAAeA,aAAY;AAAA,UAC3B,cAAc,eAAe,OAAO;AAAA,UACpC,UAAU,CAAC,MAAM,qCAAW,EAAE,cAAc;AAAA,UAC5C;AAAA,UACA,UAAAA;AAAA,UACA;AAAA,UACA,OAAO;AAAA,YACL;AAAA,YACA,QAAQ,YAAY,SAAY;AAAA,UAAA;AAAA,UAElC,WAAW,SAAS;AAAA,UACpB,eAAa,GAAG,MAAM;AAAA,UACrB,GAAG;AAAA,QAAA;AAAA,MAAA;AAAA,MAGN;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,SAAS;AAAA,UACpB,eAAY;AAAA,UACZ,eAAa,GAAG,MAAM;AAAA,QAAA;AAAA,MAAA;AAAA,MAGvB,mBACC;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnH3B,MAAM,WAAW;AAAA,EACf,CAAC,OAAO,QAAQ;AACd,+BAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,QAAQ;AAAA,EAC9D;AACF;AAEA,SAAS,cAAc;"}
1
+ {"version":3,"file":"TextArea-BHJx395o.js","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/next/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","\"use client\";\r\n\r\nimport { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport styles from \"./TextArea.module.scss\";\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={styles} />;\r\n }\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";\r\n\r\nexport default TextArea;\r\n"],"names":["outline","disabled"],"mappings":";;;;;AAUA,MAAM,eAAe;AAAA,EAInB,CACE;AAAA,IACE,MAAM;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,SAAAA,WAAU;AAAA,IACV,eAAe;AAAA,IACf;AAAA,IACA,QAAQ,gBAAA;AAAA,IACR,WAAW,mBAAA;AAAA,IACX,SAAS,iBAAA;AAAA,IACT,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,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Ac;AAAA,UAC5C;AAAA,UACA,UAAAA;AAAA,UACA;AAAA,UACA,OAAO;AAAA,YACL;AAAA,YACA,QAAQ,YAAY,SAAY;AAAA,UAAA;AAAA,UAElC,WAAW,SAAS;AAAA,UACpB,eAAa,GAAG,MAAM;AAAA,UACrB,GAAG;AAAA,QAAA;AAAA,MAAA;AAAA,MAGN;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,SAAS;AAAA,UACpB,eAAY;AAAA,UACZ,eAAa,GAAG,MAAM;AAAA,QAAA;AAAA,MAAA;AAAA,MAGvB,mBACC;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnH3B,MAAM,WAAW;AAAA,EACf,CAAC,OAAO,QAAQ;AACd,+BAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,QAAQ;AAAA,EAC9D;AACF;AAEA,SAAS,cAAc;"}
@@ -104,30 +104,30 @@ const TextAreaBase = React.forwardRef(
104
104
  }
105
105
  );
106
106
  TextAreaBase.displayName = "TextAreaBase";
107
- const textArea = "_textArea_wfb6i_85";
108
- const primary = "_primary_wfb6i_103";
109
- const outline = "_outline_wfb6i_106";
110
- const secondary = "_secondary_wfb6i_112";
111
- const tertiary = "_tertiary_wfb6i_121";
112
- const quaternary = "_quaternary_wfb6i_130";
113
- const clear = "_clear_wfb6i_139";
114
- const success = "_success_wfb6i_148";
115
- const error = "_error_wfb6i_151";
116
- const warning = "_warning_wfb6i_154";
117
- const disabled = "_disabled_wfb6i_160";
118
- const textInput = "_textInput_wfb6i_166";
119
- const roundNone = "_roundNone_wfb6i_171";
120
- const roundSmall = "_roundSmall_wfb6i_175";
121
- const roundMedium = "_roundMedium_wfb6i_179";
122
- const roundLarge = "_roundLarge_wfb6i_183";
123
- const roundFull = "_roundFull_wfb6i_187";
124
- const shadowNone = "_shadowNone_wfb6i_191";
125
- const shadowLight = "_shadowLight_wfb6i_195";
126
- const shadowMedium = "_shadowMedium_wfb6i_199";
127
- const shadowStrong = "_shadowStrong_wfb6i_203";
128
- const shadowIntense = "_shadowIntense_wfb6i_207";
129
- const iconContainer = "_iconContainer_wfb6i_251";
130
- const togglePassword = "_togglePassword_wfb6i_277";
107
+ const textArea = "_textArea_14dic_85";
108
+ const primary = "_primary_14dic_104";
109
+ const outline = "_outline_14dic_107";
110
+ const secondary = "_secondary_14dic_113";
111
+ const tertiary = "_tertiary_14dic_122";
112
+ const quaternary = "_quaternary_14dic_131";
113
+ const clear = "_clear_14dic_140";
114
+ const success = "_success_14dic_149";
115
+ const error = "_error_14dic_152";
116
+ const warning = "_warning_14dic_155";
117
+ const disabled = "_disabled_14dic_161";
118
+ const textInput = "_textInput_14dic_167";
119
+ const roundNone = "_roundNone_14dic_172";
120
+ const roundSmall = "_roundSmall_14dic_176";
121
+ const roundMedium = "_roundMedium_14dic_180";
122
+ const roundLarge = "_roundLarge_14dic_184";
123
+ const roundFull = "_roundFull_14dic_188";
124
+ const shadowNone = "_shadowNone_14dic_192";
125
+ const shadowLight = "_shadowLight_14dic_196";
126
+ const shadowMedium = "_shadowMedium_14dic_200";
127
+ const shadowStrong = "_shadowStrong_14dic_204";
128
+ const shadowIntense = "_shadowIntense_14dic_208";
129
+ const iconContainer = "_iconContainer_14dic_252";
130
+ const togglePassword = "_togglePassword_14dic_278";
131
131
  const styles = {
132
132
  textArea,
133
133
  primary,
@@ -161,4 +161,4 @@ const TextArea = React.forwardRef(
161
161
  );
162
162
  TextArea.displayName = "TextArea";
163
163
  exports.TextArea = TextArea;
164
- //# sourceMappingURL=TextArea-uz-lx3iR.cjs.map
164
+ //# sourceMappingURL=TextArea-Bux5Ojjs.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea-uz-lx3iR.cjs","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/next/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","\"use client\";\r\n\r\nimport { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport styles from \"./TextArea.module.scss\";\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={styles} />;\r\n }\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";\r\n\r\nexport default TextArea;\r\n"],"names":["forwardRef","outline","getDefaultTheme","getDefaultRounding","getDefaultShadow","disabled","useId","useMemo","combineClassNames","capitalize","jsxs","jsx"],"mappings":";;;;;;AAUA,MAAM,eAAeA,MAAAA;AAAAA,EAInB,CACE;AAAA,IACE,MAAM;AAAA,IACN,cAAc;A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AAA,MAAA;AAAA,MAI7BA,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA;AAAA,UACA,cAAY;AAAA,UACZ,oBAAkB;AAAA,UAClB,gBAAc,WAAW;AAAA,UACzB,iBAAe,YAAY;AAAA,UAC3B,iBAAe,YAAY;AAAA,UAC3B,iBAAeN,aAAY;AAAA,UAC3B,cAAc,eAAe,OAAO;AAAA,UACpC,UAAU,CAAC,MAAM,qCAAW,EAAE,cAAc;AAAA,UAC5C;AAAA,UACA,UAAAA;AAAA,UACA;AAAA,UACA,OAAO;AAAA,YACL;AAAA,YACA,QAAQ,YAAY,SAAY;AAAA,UAAA;AAAA,UAElC,WAAW,SAAS;AAAA,UACpB,eAAa,GAAG,MAAM;AAAA,UACrB,GAAG;AAAA,QAAA;AAAA,MAAA;AAAA,MAGNM,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,SAAS;AAAA,UACpB,eAAY;AAAA,UACZ,eAAa,GAAG,MAAM;AAAA,QAAA;AAAA,MAAA;AAAA,MAGvB,mBACCA,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnH3B,MAAM,WAAWX,MAAAA;AAAAA,EACf,CAAC,OAAO,QAAQ;AACd,0CAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,QAAQ;AAAA,EAC9D;AACF;AAEA,SAAS,cAAc;;"}
1
+ {"version":3,"file":"TextArea-Bux5Ojjs.cjs","sources":["../../src/components/TextArea/TextAreaBase.tsx","../../src/components/TextArea/next/TextArea.tsx"],"sourcesContent":["import { forwardRef, useId, useMemo } from \"react\";\r\nimport { combineClassNames } from \"../../utils/classNames\";\r\nimport { TextAreaProps } from \"./TextArea.types\";\r\nimport { capitalize } from \"../../utils/capitalize\";\r\nimport {\r\n getDefaultRounding,\r\n getDefaultShadow,\r\n getDefaultTheme,\r\n} from \"../../config/boreal-style-config\";\r\n\r\nconst TextAreaBase = forwardRef<\r\n HTMLTextAreaElement,\r\n TextAreaProps & { classMap: Record<string, string> }\r\n>(\r\n (\r\n {\r\n icon: Icon,\r\n placeholder = \"Enter text\",\r\n readOnly = false,\r\n outline = false,\r\n autocomplete = false,\r\n onChange,\r\n theme = getDefaultTheme(),\r\n rounding = getDefaultRounding(),\r\n shadow = getDefaultShadow(),\r\n state = \"\",\r\n resizable = true,\r\n ariaLabel,\r\n ariaDescription,\r\n disabled = false,\r\n height,\r\n classMap,\r\n className = \"\",\r\n \"data-testid\": testId = \"text-area\",\r\n id: idProp,\r\n required,\r\n ...props\r\n },\r\n ref,\r\n ) => {\r\n const autoId = useId();\r\n const id = idProp || autoId;\r\n\r\n const descriptionId = ariaDescription ? `${id}-description` : undefined;\r\n\r\n const wrapperClass = useMemo(\r\n () =>\r\n combineClassNames(\r\n classMap.textArea,\r\n classMap[theme],\r\n classMap[state],\r\n outline && classMap.outline,\r\n disabled && classMap.disabled,\r\n shadow && classMap[`shadow${capitalize(shadow)}`],\r\n rounding && classMap[`round${capitalize(rounding)}`],\r\n className,\r\n ),\r\n [classMap, theme, state, outline, disabled, shadow, rounding, className],\r\n );\r\n\r\n const computedLabel = ariaLabel || placeholder;\r\n\r\n const describedBy = descriptionId || undefined;\r\n\r\n const isError = state === \"error\";\r\n\r\n return (\r\n <div className={wrapperClass} data-testid={testId}>\r\n {Icon && (\r\n <div\r\n className={classMap.iconContainer}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-icon`}\r\n >\r\n <Icon aria-hidden=\"true\" />\r\n </div>\r\n )}\r\n\r\n <textarea\r\n ref={ref}\r\n id={id}\r\n placeholder={placeholder}\r\n aria-label={computedLabel}\r\n aria-describedby={describedBy}\r\n aria-invalid={isError || undefined}\r\n aria-required={required || undefined}\r\n aria-readonly={readOnly || undefined}\r\n aria-disabled={disabled || undefined}\r\n autoComplete={autocomplete ? \"on\" : \"off\"}\r\n onChange={(e) => onChange?.(e.currentTarget.value)}\r\n readOnly={readOnly}\r\n disabled={disabled}\r\n required={required}\r\n style={{\r\n height,\r\n resize: resizable ? undefined : \"none\",\r\n }}\r\n className={classMap.textInput}\r\n data-testid={`${testId}-input`}\r\n {...props}\r\n />\r\n\r\n <div\r\n className={classMap.customResizeHandle}\r\n aria-hidden=\"true\"\r\n data-testid={`${testId}-resize-handle`}\r\n />\r\n\r\n {ariaDescription && (\r\n <span\r\n id={descriptionId}\r\n className=\"sr_only\"\r\n data-testid={`${testId}-description`}\r\n >\r\n {ariaDescription}\r\n </span>\r\n )}\r\n </div>\r\n );\r\n },\r\n);\r\n\r\nTextAreaBase.displayName = \"TextAreaBase\";\r\n\r\nexport default TextAreaBase;\r\n","\"use client\";\r\n\r\nimport { forwardRef } from \"react\";\r\nimport TextAreaBase from \"../TextAreaBase\";\r\nimport type { TextAreaProps } from \"../TextArea.types\";\r\nimport styles from \"./TextArea.module.scss\";\r\n\r\nconst TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(\r\n (props, ref) => {\r\n return <TextAreaBase {...props} ref={ref} classMap={styles} />;\r\n }\r\n);\r\n\r\nTextArea.displayName = \"TextArea\";\r\n\r\nexport default TextArea;\r\n"],"names":["forwardRef","outline","getDefaultTheme","getDefaultRounding","getDefaultShadow","disabled","useId","useMemo","combineClassNames","capitalize","jsxs","jsx"],"mappings":";;;;;;AAUA,MAAM,eAAeA,MAAAA;AAAAA,EAInB,CACE;AAAA,IACE,MAAM;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,SAAAC,WAAU;AAAA,IACV,eAAe;AAAA,IACf;AAAA,IACA,QAAQC,kBAAAA,gBAAA;AAAA,IACR,WAAWC,kBAAAA,mBAA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A,UAClB,gBAAc,WAAW;AAAA,UACzB,iBAAe,YAAY;AAAA,UAC3B,iBAAe,YAAY;AAAA,UAC3B,iBAAeN,aAAY;AAAA,UAC3B,cAAc,eAAe,OAAO;AAAA,UACpC,UAAU,CAAC,MAAM,qCAAW,EAAE,cAAc;AAAA,UAC5C;AAAA,UACA,UAAAA;AAAA,UACA;AAAA,UACA,OAAO;AAAA,YACL;AAAA,YACA,QAAQ,YAAY,SAAY;AAAA,UAAA;AAAA,UAElC,WAAW,SAAS;AAAA,UACpB,eAAa,GAAG,MAAM;AAAA,UACrB,GAAG;AAAA,QAAA;AAAA,MAAA;AAAA,MAGNM,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,SAAS;AAAA,UACpB,eAAY;AAAA,UACZ,eAAa,GAAG,MAAM;AAAA,QAAA;AAAA,MAAA;AAAA,MAGvB,mBACCA,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,UACJ,WAAU;AAAA,UACV,eAAa,GAAG,MAAM;AAAA,UAErB,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,GAEJ;AAAA,EAEJ;AACF;AAEA,aAAa,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnH3B,MAAM,WAAWX,MAAAA;AAAAA,EACf,CAAC,OAAO,QAAQ;AACd,0CAAQ,cAAA,EAAc,GAAG,OAAO,KAAU,UAAU,QAAQ;AAAA,EAC9D;AACF;AAEA,SAAS,cAAc;;"}
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const TextArea = require("./TextArea-uz-lx3iR.cjs");
2
+ const TextArea = require("./TextArea-Bux5Ojjs.cjs");
3
3
  module.exports = TextArea.TextArea;
4
4
  //# sourceMappingURL=TextArea.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { T } from "./TextArea-BDOiqHNv.js";
1
+ import { T } from "./TextArea-BHJx395o.js";
2
2
  export {
3
3
  T as default
4
4
  };
@@ -29144,133 +29144,134 @@ a:hover {
29144
29144
  * $breakpoints map:
29145
29145
  * Use this map to loop over breakpoints or access named values.
29146
29146
  */
29147
- ._textArea_wfb6i_85 {
29148
- display: flex;
29149
- width: fit-content;
29150
- justify-content: center;
29147
+ ._textArea_14dic_85 {
29148
+ display: inline-flex;
29149
+ justify-content: space-between;
29151
29150
  align-items: center;
29151
+ width: fit-content;
29152
+ margin: 8px;
29152
29153
  transition: 0.3s ease-in-out;
29153
29154
  background: transparent;
29154
29155
  }
29155
29156
  @media (width <= 479.98px) {
29156
- ._textArea_wfb6i_85 {
29157
+ ._textArea_14dic_85 {
29157
29158
  width: 100%;
29158
29159
  }
29159
29160
  }
29160
- ._textArea_wfb6i_85:focus-within {
29161
+ ._textArea_14dic_85:focus-within {
29161
29162
  outline: 2px solid var(--focus-outline-color, var(--primary-color));
29162
29163
  outline-offset: 3px;
29163
29164
  border-radius: 5px;
29164
29165
  }
29165
- ._textArea_wfb6i_85._primary_wfb6i_103 {
29166
+ ._textArea_14dic_85._primary_14dic_104 {
29166
29167
  background-color: var(--primary-color);
29167
29168
  }
29168
- ._textArea_wfb6i_85._primary_wfb6i_103._outline_wfb6i_106 {
29169
+ ._textArea_14dic_85._primary_14dic_104._outline_14dic_107 {
29169
29170
  background-color: transparent;
29170
29171
  color: var(--text-color-primary);
29171
29172
  box-shadow: none;
29172
29173
  border: 2px solid var(--primary-color);
29173
29174
  }
29174
- ._textArea_wfb6i_85._secondary_wfb6i_112 {
29175
+ ._textArea_14dic_85._secondary_14dic_113 {
29175
29176
  background-color: var(--secondary-color);
29176
29177
  }
29177
- ._textArea_wfb6i_85._secondary_wfb6i_112._outline_wfb6i_106 {
29178
+ ._textArea_14dic_85._secondary_14dic_113._outline_14dic_107 {
29178
29179
  background-color: transparent;
29179
29180
  color: var(--text-color-secondary);
29180
29181
  box-shadow: none;
29181
29182
  border: 2px solid var(--secondary-color);
29182
29183
  }
29183
- ._textArea_wfb6i_85._tertiary_wfb6i_121 {
29184
+ ._textArea_14dic_85._tertiary_14dic_122 {
29184
29185
  background-color: var(--tertiary-color);
29185
29186
  }
29186
- ._textArea_wfb6i_85._tertiary_wfb6i_121._outline_wfb6i_106 {
29187
+ ._textArea_14dic_85._tertiary_14dic_122._outline_14dic_107 {
29187
29188
  background-color: transparent;
29188
29189
  color: var(--text-color-primary);
29189
29190
  box-shadow: none;
29190
29191
  border: 2px solid var(--tertiary-color);
29191
29192
  }
29192
- ._textArea_wfb6i_85._quaternary_wfb6i_130 {
29193
+ ._textArea_14dic_85._quaternary_14dic_131 {
29193
29194
  background-color: var(--quaternary-color);
29194
29195
  }
29195
- ._textArea_wfb6i_85._quaternary_wfb6i_130._outline_wfb6i_106 {
29196
+ ._textArea_14dic_85._quaternary_14dic_131._outline_14dic_107 {
29196
29197
  background-color: transparent;
29197
29198
  color: var(--text-color-primary);
29198
29199
  box-shadow: none;
29199
29200
  border: 2px solid var(--quaternary-color);
29200
29201
  }
29201
- ._textArea_wfb6i_85._clear_wfb6i_139 {
29202
+ ._textArea_14dic_85._clear_14dic_140 {
29202
29203
  background-color: transparent;
29203
29204
  }
29204
- ._textArea_wfb6i_85._clear_wfb6i_139._outline_wfb6i_106 {
29205
+ ._textArea_14dic_85._clear_14dic_140._outline_14dic_107 {
29205
29206
  background-color: transparent;
29206
29207
  color: var(--text-color-primary);
29207
29208
  box-shadow: none;
29208
29209
  border: 2px solid var(--text-color-primary);
29209
29210
  }
29210
- ._textArea_wfb6i_85._success_wfb6i_148 {
29211
+ ._textArea_14dic_85._success_14dic_149 {
29211
29212
  border: 2px solid var(--success-color);
29212
29213
  }
29213
- ._textArea_wfb6i_85._error_wfb6i_151 {
29214
+ ._textArea_14dic_85._error_14dic_152 {
29214
29215
  border: 2px solid var(--error-color);
29215
29216
  }
29216
- ._textArea_wfb6i_85._warning_wfb6i_154 {
29217
+ ._textArea_14dic_85._warning_14dic_155 {
29217
29218
  border: 2px solid var(--warning-color);
29218
29219
  }
29219
- ._textArea_wfb6i_85._clear_wfb6i_139 {
29220
+ ._textArea_14dic_85._clear_14dic_140 {
29220
29221
  box-shadow: none;
29221
29222
  }
29222
- ._textArea_wfb6i_85._disabled_wfb6i_160 {
29223
+ ._textArea_14dic_85._disabled_14dic_161 {
29223
29224
  opacity: 0.6;
29224
29225
  pointer-events: none;
29225
29226
  cursor: not-allowed;
29226
29227
  background-color: rgba(184, 184, 184, 0.8666666667);
29227
29228
  }
29228
- ._textArea_wfb6i_85._disabled_wfb6i_160 ._textInput_wfb6i_166 {
29229
+ ._textArea_14dic_85._disabled_14dic_161 ._textInput_14dic_167 {
29229
29230
  background-color: transparent;
29230
29231
  color: var(--text-color-primary);
29231
29232
  }
29232
29233
 
29233
- ._roundNone_wfb6i_171 {
29234
+ ._roundNone_14dic_172 {
29234
29235
  border-radius: var(--border-radius-none);
29235
29236
  }
29236
29237
 
29237
- ._roundSmall_wfb6i_175 {
29238
+ ._roundSmall_14dic_176 {
29238
29239
  border-radius: var(--border-radius-sm);
29239
29240
  }
29240
29241
 
29241
- ._roundMedium_wfb6i_179 {
29242
+ ._roundMedium_14dic_180 {
29242
29243
  border-radius: var(--border-radius-md);
29243
29244
  }
29244
29245
 
29245
- ._roundLarge_wfb6i_183 {
29246
+ ._roundLarge_14dic_184 {
29246
29247
  border-radius: var(--border-radius-lg);
29247
29248
  }
29248
29249
 
29249
- ._roundFull_wfb6i_187 {
29250
+ ._roundFull_14dic_188 {
29250
29251
  border-radius: var(--border-radius-full);
29251
29252
  }
29252
29253
 
29253
- ._shadowNone_wfb6i_191 {
29254
+ ._shadowNone_14dic_192 {
29254
29255
  box-shadow: var(--box-shadow-none);
29255
29256
  }
29256
29257
 
29257
- ._shadowLight_wfb6i_195 {
29258
+ ._shadowLight_14dic_196 {
29258
29259
  box-shadow: var(--box-shadow-light);
29259
29260
  }
29260
29261
 
29261
- ._shadowMedium_wfb6i_199 {
29262
+ ._shadowMedium_14dic_200 {
29262
29263
  box-shadow: var(--box-shadow-medium);
29263
29264
  }
29264
29265
 
29265
- ._shadowStrong_wfb6i_203 {
29266
+ ._shadowStrong_14dic_204 {
29266
29267
  box-shadow: var(--box-shadow-heavy);
29267
29268
  }
29268
29269
 
29269
- ._shadowIntense_wfb6i_207 {
29270
+ ._shadowIntense_14dic_208 {
29270
29271
  box-shadow: var(--box-shadow-intense);
29271
29272
  }
29272
29273
 
29273
- ._textInput_wfb6i_166 {
29274
+ ._textInput_14dic_167 {
29274
29275
  width: 100%;
29275
29276
  flex: 1;
29276
29277
  resize: vertical;
@@ -29286,31 +29287,31 @@ a:hover {
29286
29287
  min-height: 2.5em;
29287
29288
  line-height: 1.4;
29288
29289
  }
29289
- ._textInput_wfb6i_166::placeholder {
29290
+ ._textInput_14dic_167::placeholder {
29290
29291
  color: var(--text-color-primary);
29291
29292
  opacity: 0.7;
29292
29293
  }
29293
- ._textInput_wfb6i_166:focus-visible {
29294
+ ._textInput_14dic_167:focus-visible {
29294
29295
  outline: 2px solid var(--focus-outline-color, var(--primary-color));
29295
29296
  outline-offset: 2px;
29296
29297
  border-radius: 2.5px;
29297
29298
  }
29298
29299
  @media (width <= 319.98px) {
29299
- ._textInput_wfb6i_166 {
29300
+ ._textInput_14dic_167 {
29300
29301
  font-size: 16.2px;
29301
29302
  padding: 4px;
29302
29303
  margin: 4px;
29303
29304
  }
29304
29305
  }
29305
29306
  @media (min-width: 1024px) {
29306
- ._textInput_wfb6i_166 {
29307
+ ._textInput_14dic_167 {
29307
29308
  font-size: 18px;
29308
29309
  padding: 16px;
29309
29310
  margin: 8px;
29310
29311
  }
29311
29312
  }
29312
29313
 
29313
- ._iconContainer_wfb6i_251 {
29314
+ ._iconContainer_14dic_252 {
29314
29315
  display: flex;
29315
29316
  align-items: center;
29316
29317
  justify-content: center;
@@ -29318,25 +29319,25 @@ a:hover {
29318
29319
  margin-top: -0.1em;
29319
29320
  margin-left: 0.5em;
29320
29321
  }
29321
- ._iconContainer_wfb6i_251 svg {
29322
+ ._iconContainer_14dic_252 svg {
29322
29323
  width: 1em;
29323
29324
  height: 1em;
29324
29325
  color: var(--text-color-primary);
29325
29326
  }
29326
29327
  @media (width <= 319.98px) {
29327
- ._iconContainer_wfb6i_251 svg {
29328
+ ._iconContainer_14dic_252 svg {
29328
29329
  width: 15px;
29329
29330
  height: 15px;
29330
29331
  }
29331
29332
  }
29332
29333
  @media (min-width: 1024px) {
29333
- ._iconContainer_wfb6i_251 svg {
29334
+ ._iconContainer_14dic_252 svg {
29334
29335
  width: 1.1em;
29335
29336
  height: 1.1em;
29336
29337
  }
29337
29338
  }
29338
29339
 
29339
- ._togglePassword_wfb6i_277 {
29340
+ ._togglePassword_14dic_278 {
29340
29341
  background: none;
29341
29342
  border: none;
29342
29343
  cursor: pointer;
@@ -29346,49 +29347,49 @@ a:hover {
29346
29347
  margin-right: 0.5em;
29347
29348
  color: inherit;
29348
29349
  }
29349
- ._togglePassword_wfb6i_277:focus-visible {
29350
+ ._togglePassword_14dic_278:focus-visible {
29350
29351
  outline: 2px solid var(--focus-outline-color, var(--primary-color));
29351
29352
  outline-offset: 2px;
29352
29353
  }
29353
- ._togglePassword_wfb6i_277 svg {
29354
+ ._togglePassword_14dic_278 svg {
29354
29355
  width: 1.5em;
29355
29356
  height: 1.5em;
29356
29357
  }
29357
29358
  @media (width <= 319.98px) {
29358
- ._togglePassword_wfb6i_277 svg {
29359
+ ._togglePassword_14dic_278 svg {
29359
29360
  width: 18px;
29360
29361
  height: 18px;
29361
29362
  }
29362
29363
  }
29363
29364
  @media (width <= 319.98px) {
29364
- ._togglePassword_wfb6i_277 {
29365
+ ._togglePassword_14dic_278 {
29365
29366
  margin-top: 4px;
29366
29367
  }
29367
29368
  }
29368
29369
 
29369
29370
  @media (prefers-reduced-motion: reduce) {
29370
- ._textArea_wfb6i_85,
29371
- ._textArea_wfb6i_85 * {
29371
+ ._textArea_14dic_85,
29372
+ ._textArea_14dic_85 * {
29372
29373
  transition: none !important;
29373
29374
  }
29374
29375
  }
29375
29376
  @media (hover: none) {
29376
- ._textArea_wfb6i_85[class*=outline]:hover {
29377
+ ._textArea_14dic_85[class*=outline]:hover {
29377
29378
  background-color: inherit;
29378
29379
  }
29379
29380
  }
29380
29381
  @media (forced-colors: active) {
29381
- ._textArea_wfb6i_85 {
29382
+ ._textArea_14dic_85 {
29382
29383
  background: Canvas !important;
29383
29384
  color: CanvasText !important;
29384
29385
  border: 1px solid ButtonText !important;
29385
29386
  }
29386
- ._textInput_wfb6i_166 {
29387
+ ._textInput_14dic_167 {
29387
29388
  background: Canvas !important;
29388
29389
  color: CanvasText !important;
29389
29390
  }
29390
- ._textInput_wfb6i_166:focus-visible,
29391
- ._textArea_wfb6i_85:focus-within {
29391
+ ._textInput_14dic_167:focus-visible,
29392
+ ._textArea_14dic_85:focus-within {
29392
29393
  outline: 2px solid Highlight !important;
29393
29394
  outline-offset: 2px !important;
29394
29395
  }
@@ -9,7 +9,7 @@ const Button = require("./Button-DPoX7ahh.cjs");
9
9
  const IconButton = require("./IconButton-aF7cTy19.cjs");
10
10
  const STT = require("./STT-GyAuX3-m.cjs");
11
11
  const TextInput = require("./TextInput-CKv7Umxo.cjs");
12
- const TextArea = require("./TextArea-uz-lx3iR.cjs");
12
+ const TextArea = require("./TextArea-Bux5Ojjs.cjs");
13
13
  const Select = require("./Select-BDse5K69.cjs");
14
14
  const Footer = require("./Footer-2VxzlCzU.cjs");
15
15
  const FileUpload = require("./FileUpload-Cj99fQhe.cjs");
@@ -8,7 +8,7 @@ import { B } from "./Button-DhH3Gy0J.js";
8
8
  import { I } from "./IconButton-Ct3YtlG9.js";
9
9
  import { S } from "./STT-CFFr1_Ls.js";
10
10
  import { T as T2 } from "./TextInput-D0zTOb7y.js";
11
- import { T as T3 } from "./TextArea-BDOiqHNv.js";
11
+ import { T as T3 } from "./TextArea-BHJx395o.js";
12
12
  import { S as S2 } from "./Select-1sLV4ar_.js";
13
13
  import { F, U } from "./Footer-DMT3GtKq.js";
14
14
  import { F as F2 } from "./FileUpload-St2eEaTn.js";