athameui 0.0.7 → 0.0.9-c
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/components/Avatar/Avatar.tsx +6 -12
- package/components/Block/Block.tsx +22 -0
- package/components/Block/index.ts +1 -0
- package/components/Button/Button.tsx +2 -2
- package/components/DropDown/Dropdown.tsx +61 -0
- package/components/DropDown/index.ts +1 -0
- package/components/{FormElements/FormInput.tsx → FormField/FormField.tsx} +21 -15
- package/components/FormField/index.ts +1 -0
- package/components/{FormElements/FormInputLabel.tsx → FormLabel/FormLabel.tsx} +5 -5
- package/components/FormLabel/index.ts +1 -0
- package/components/FormTextInput/FormTextInput.tsx +93 -0
- package/components/FormTextInput/index.ts +1 -0
- package/components/Layout/Main.tsx +21 -14
- package/components/Modal/Modal.tsx +3 -3
- package/components/Search/Search.tsx +7 -4
- package/components/SlideOut/SlideOut.tsx +71 -0
- package/components/SlideOut/index.ts +1 -0
- package/components/index.ts +6 -1
- package/dist/athameui.cjs +204 -64
- package/dist/athameui.cjs.map +1 -1
- package/dist/athameui.mjs +199 -63
- package/dist/athameui.mjs.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Block/Block.d.ts +13 -0
- package/dist/components/Block/Block.d.ts.map +1 -0
- package/dist/components/Block/index.d.ts +2 -0
- package/dist/components/Block/index.d.ts.map +1 -0
- package/dist/components/DropDown/Dropdown.d.ts +14 -0
- package/dist/components/DropDown/Dropdown.d.ts.map +1 -0
- package/dist/components/DropDown/index.d.ts +2 -0
- package/dist/components/DropDown/index.d.ts.map +1 -0
- package/dist/components/{FormElements/FormInput.d.ts → FormField/FormField.d.ts} +6 -4
- package/dist/components/FormField/FormField.d.ts.map +1 -0
- package/dist/components/FormField/index.d.ts +2 -0
- package/dist/components/FormField/index.d.ts.map +1 -0
- package/dist/components/{FormElements/FormInputLabel.d.ts → FormLabel/FormLabel.d.ts} +3 -3
- package/dist/components/FormLabel/FormLabel.d.ts.map +1 -0
- package/dist/components/FormLabel/index.d.ts +2 -0
- package/dist/components/FormLabel/index.d.ts.map +1 -0
- package/dist/components/FormTextInput/FormTextInput.d.ts +27 -0
- package/dist/components/FormTextInput/FormTextInput.d.ts.map +1 -0
- package/dist/components/FormTextInput/index.d.ts +2 -0
- package/dist/components/FormTextInput/index.d.ts.map +1 -0
- package/dist/components/Layout/Main.d.ts +7 -3
- package/dist/components/Layout/Main.d.ts.map +1 -1
- package/dist/components/Search/Search.d.ts +2 -1
- package/dist/components/Search/Search.d.ts.map +1 -1
- package/dist/components/SlideOut/SlideOut.d.ts +21 -0
- package/dist/components/SlideOut/SlideOut.d.ts.map +1 -0
- package/dist/components/SlideOut/index.d.ts +2 -0
- package/dist/components/SlideOut/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +6 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/styles/breakpoints.d.ts +13 -0
- package/dist/styles/breakpoints.d.ts.map +1 -0
- package/dist/styles/breakpoints.ts +13 -0
- package/dist/styles/components/accordion.css +38 -35
- package/dist/styles/components/avatar.css +25 -4
- package/dist/styles/components/block.css +8 -0
- package/dist/styles/components/button.css +2 -2
- package/dist/styles/components/dropdown.css +18 -0
- package/dist/styles/components/footer.css +0 -1
- package/dist/styles/components/{form-elements.css → form-input.css} +8 -51
- package/dist/styles/components/form-label.css +42 -0
- package/dist/styles/components/main.css +11 -2
- package/dist/styles/components/modals.css +2 -1
- package/dist/styles/components/slide-out.css +69 -0
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.ts +1 -1
- package/dist/styles/theme.css +5 -1
- package/dist/styles/tokens.css +45 -25
- package/dist/styles/tokens.d.ts +0 -10
- package/dist/styles/tokens.d.ts.map +1 -1
- package/dist/styles/tokens.ts +16 -26
- package/package.json +1 -1
- package/styles/breakpoints.ts +13 -0
- package/styles/components/accordion.css +38 -35
- package/styles/components/avatar.css +25 -4
- package/styles/components/block.css +8 -0
- package/styles/components/button.css +2 -2
- package/styles/components/dropdown.css +18 -0
- package/styles/components/footer.css +0 -1
- package/styles/components/{form-elements.css → form-input.css} +8 -51
- package/styles/components/form-label.css +42 -0
- package/styles/components/main.css +11 -2
- package/styles/components/modals.css +2 -1
- package/styles/components/slide-out.css +69 -0
- package/styles/index.ts +1 -1
- package/styles/theme.css +5 -1
- package/styles/tokens.css +45 -25
- package/styles/tokens.ts +16 -26
- package/components/FormElements/index.ts +0 -2
- package/dist/components/FormElements/FormInput.d.ts.map +0 -1
- package/dist/components/FormElements/FormInputLabel.d.ts.map +0 -1
- package/dist/components/FormElements/index.d.ts +0 -3
- package/dist/components/FormElements/index.d.ts.map +0 -1
- package/dist/styles/mediaQueries.d.ts +0 -11
- package/dist/styles/mediaQueries.d.ts.map +0 -1
- package/dist/styles/mediaQueries.ts +0 -10
- package/styles/mediaQueries.ts +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../components/Avatar/Avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KAEnB,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAChD,EAAE,CAAC,EAAE;QACH,MAAM,CAAC,EAAE,SAAS,CAAC;QACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;KAEtB,CAAC;CACH,CAAC;AAGF,eAAO,MAAM,MAAM,GAAI,uCAKpB,WAAW,qDAmBb,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSObject } from "@emotion/react";
|
|
2
|
+
type BlockProps = {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: {
|
|
5
|
+
block?: string | false | null | undefined;
|
|
6
|
+
};
|
|
7
|
+
sx?: {
|
|
8
|
+
block: CSSObject;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const Block: ({ children, className, sx }: BlockProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=Block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../components/Block/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KAC3C,CAAC;IACF,EAAE,CAAC,EAAE;QACH,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,6BAA6B,UAAU,qDAQ5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Block/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSObject } from "@emotion/react";
|
|
2
|
+
export type DropdownProps = {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: {
|
|
5
|
+
dropdown?: string | false | null | undefined;
|
|
6
|
+
};
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
sx?: {
|
|
9
|
+
dropdown?: CSSObject;
|
|
10
|
+
};
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const Dropdown: ({ children, className, isOpen, sx, onClose, }: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../components/DropDown/Dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KAC9C,CAAC;IACF,MAAM,EAAE,OAAO,CAAC;IAChB,EAAE,CAAC,EAAE;QACH,QAAQ,CAAC,EAAE,SAAS,CAAC;KACtB,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,+CAOtB,aAAa,qDAmCf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/DropDown/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
import { CSSObject } from "@emotion/react";
|
|
3
|
-
|
|
3
|
+
import "../FormTextInput";
|
|
4
|
+
export type FormFieldProps = {
|
|
4
5
|
autoComplete?: string;
|
|
5
6
|
autoFocus?: boolean;
|
|
6
7
|
autoResize?: boolean;
|
|
@@ -16,11 +17,12 @@ export type FormInputProps = {
|
|
|
16
17
|
disabled?: boolean;
|
|
17
18
|
error?: string;
|
|
18
19
|
helperText?: string | ReactNode;
|
|
20
|
+
id?: string;
|
|
19
21
|
label?: string | ReactNode;
|
|
20
22
|
labelPosition?: "left" | "right" | "above" | "below";
|
|
21
23
|
name?: string;
|
|
22
24
|
placeholder?: string;
|
|
23
|
-
|
|
25
|
+
readOnly?: boolean;
|
|
24
26
|
required?: boolean;
|
|
25
27
|
role?: string;
|
|
26
28
|
size?: "large" | "medium" | "small";
|
|
@@ -38,5 +40,5 @@ export type FormInputProps = {
|
|
|
38
40
|
onChange: (e: React.ChangeEvent<HTMLInputElement> | React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
39
41
|
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
40
42
|
};
|
|
41
|
-
export declare const
|
|
42
|
-
//# sourceMappingURL=
|
|
43
|
+
export declare const FormField: React.FC<FormFieldProps>;
|
|
44
|
+
//# sourceMappingURL=FormField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../components/FormField/FormField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA2B,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI3C,OAAO,kBAAkB,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE;QACV,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC1C,UAAU,CA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IAExB,QAAQ,EAAE,CACR,CAAC,EACG,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,GACnC,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KACvC,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CACpC,gBAAgB,GAAG,mBAAmB,CACvC,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAgL9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/FormField/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { CSSObject } from "@emotion/react";
|
|
3
|
-
type
|
|
3
|
+
type FormLabelProps = React.LabelHTMLAttributes<HTMLLabelElement> & {
|
|
4
4
|
label: string | ReactNode;
|
|
5
5
|
required?: boolean;
|
|
6
6
|
className?: {
|
|
@@ -14,6 +14,6 @@ type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement> & {
|
|
|
14
14
|
required?: CSSObject;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const FormLabel: ({ label, required, className, labelPosition, dark, sx, ...other }: FormLabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
19
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=FormLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../../components/FormLabel/FormLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,KAAK,cAAc,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IAClE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC1C,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KAC9C,CAAC;IACF,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;IACrD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,SAAS,CAAC;QAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,mEAQvB,cAAc,qDA4BhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/FormLabel/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CSSObject } from "@emotion/react";
|
|
2
|
+
type FormTextInputProps = {
|
|
3
|
+
autoComplete?: string;
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
className?: {
|
|
6
|
+
input?: string | false | null | undefined;
|
|
7
|
+
};
|
|
8
|
+
dark?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
error?: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
size?: "large" | "medium" | "small";
|
|
16
|
+
sx?: {
|
|
17
|
+
input?: CSSObject;
|
|
18
|
+
};
|
|
19
|
+
tabIndex?: number;
|
|
20
|
+
type?: "text" | "email" | "password" | "tel" | "url" | "search" | "number" | "date";
|
|
21
|
+
value?: string | number;
|
|
22
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
23
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
24
|
+
};
|
|
25
|
+
export declare const FormTextInput: ({ autoComplete, autoFocus, className, dark, error, disabled, id, name, placeholder, readOnly, size, sx, tabIndex, type, value, onChange, onKeyDown, ...other }: FormTextInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=FormTextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormTextInput.d.ts","sourceRoot":"","sources":["../../../components/FormTextInput/FormTextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,KAAK,kBAAkB,GAAG;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KAC3C,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,EAAE,CAAC,EAAE;QACH,KAAK,CAAC,EAAE,SAAS,CAAC;KACnB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EACD,MAAM,GACN,OAAO,GACP,UAAU,GACV,KAAK,GACL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,gKAoB3B,kBAAkB,qDAoCpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/FormTextInput/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { CSSObject } from "@emotion/react";
|
|
2
2
|
type MainProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
-
className?:
|
|
4
|
+
className?: {
|
|
5
5
|
main?: string | false | null | undefined;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
mainContent?: string | false | null | undefined;
|
|
7
|
+
};
|
|
8
|
+
sx?: {
|
|
9
|
+
main?: CSSObject;
|
|
10
|
+
mainContent?: CSSObject;
|
|
11
|
+
};
|
|
8
12
|
};
|
|
9
13
|
export declare const Main: ({ children, className, sx }: MainProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../components/Layout/Main.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../components/Layout/Main.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QACzC,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KACjD,CAAC;IAEF,EAAE,CAAC,EAAE;QACH,IAAI,CAAC,EAAE,SAAS,CAAC;QACjB,WAAW,CAAC,EAAE,SAAS,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,6BAA6B,SAAS,qDAoB1D,CAAC"}
|
|
@@ -13,6 +13,7 @@ type SearchProps = {
|
|
|
13
13
|
searchButton?: string | CSSObject;
|
|
14
14
|
};
|
|
15
15
|
dark?: boolean;
|
|
16
|
+
id?: string;
|
|
16
17
|
inputSize?: "large" | "medium" | "small";
|
|
17
18
|
label?: string;
|
|
18
19
|
labelPosition?: "left" | "right" | "above" | "below";
|
|
@@ -35,6 +36,6 @@ type SearchProps = {
|
|
|
35
36
|
onSearch?: (searchTerm: string | number | undefined) => void;
|
|
36
37
|
setSearchTerm: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
37
38
|
};
|
|
38
|
-
export declare const Search: ({ autoFocus, buttonSize, buttonText, buttonVariant, className, dark, inputSize, label, labelPosition, resultsAriaLive, resultsLabel, searchLabel, searchRole, searchTerm, showResultsCount, showSearchButton, sx, totalResultsCount, onSearch, setSearchTerm, ...
|
|
39
|
+
export declare const Search: ({ autoFocus, buttonSize, buttonText, buttonVariant, className, dark, id, inputSize, label, labelPosition, resultsAriaLive, resultsLabel, searchLabel, searchRole, searchTerm, showResultsCount, showSearchButton, sx, totalResultsCount, onSearch, setSearchTerm, ...other }: SearchProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
39
40
|
export {};
|
|
40
41
|
//# sourceMappingURL=Search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../components/Search/Search.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,CAAC;IAC3E,SAAS,CAAC,EAAE;QACV,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACnC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACjC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAChC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1C,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACnC,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IACrD,eAAe,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,KAAK,CAAC;IACjD,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAA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: React.ReactNode;
|
|
4
|
+
className?: {
|
|
5
|
+
slideOut?: string | false | null | undefined;
|
|
6
|
+
overlay?: string | false | null | undefined;
|
|
7
|
+
panel?: string | false | null | undefined;
|
|
8
|
+
closeButton?: string | false | null | undefined;
|
|
9
|
+
};
|
|
10
|
+
from?: "left" | "right";
|
|
11
|
+
isOpen?: boolean;
|
|
12
|
+
sx?: {
|
|
13
|
+
slideOut?: CSSObject;
|
|
14
|
+
overlay?: CSSObject;
|
|
15
|
+
panel?: CSSObject;
|
|
16
|
+
closeButton?: CSSObject;
|
|
17
|
+
};
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
};
|
|
20
|
+
export declare const SlideOut: ({ children, className, from, isOpen, sx, onClose, }: SlideOutProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=SlideOut.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlideOut.d.ts","sourceRoot":"","sources":["../../../components/SlideOut/SlideOut.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAM3C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC7C,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KACjD,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE;QACH,QAAQ,CAAC,EAAE,SAAS,CAAC;QACrB,OAAO,CAAC,EAAE,SAAS,CAAC;QACpB,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,WAAW,CAAC,EAAE,SAAS,CAAC;KACzB,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,qDAQtB,aAAa,qDAoCf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/SlideOut/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
export * from "./Accordion";
|
|
2
2
|
export * from "./Avatar";
|
|
3
|
+
export * from "./Block";
|
|
3
4
|
export * from "./Button";
|
|
4
5
|
export * from "./ButtonGroup";
|
|
6
|
+
export * from "./DropDown";
|
|
5
7
|
export * from "./ContainerScalingText";
|
|
6
|
-
export * from "./
|
|
8
|
+
export * from "./FormField";
|
|
9
|
+
export * from "./FormLabel";
|
|
10
|
+
export * from "./FormTextInput";
|
|
7
11
|
export * from "./Header";
|
|
8
12
|
export * from "./Layout";
|
|
9
13
|
export * from "./List";
|
|
10
14
|
export * from "./Modal";
|
|
11
15
|
export * from "./Search";
|
|
16
|
+
export * from "./SlideOut";
|
|
12
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const breakpoints: {
|
|
2
|
+
readonly xs: 320;
|
|
3
|
+
readonly sm: 480;
|
|
4
|
+
readonly md: 620;
|
|
5
|
+
readonly lg: 768;
|
|
6
|
+
readonly xl: 896;
|
|
7
|
+
readonly "2xl": 1024;
|
|
8
|
+
readonly "3xl": 1280;
|
|
9
|
+
readonly "4xl": 1536;
|
|
10
|
+
};
|
|
11
|
+
export type Breakpoints = typeof breakpoints;
|
|
12
|
+
export type Breakpoint = keyof typeof breakpoints;
|
|
13
|
+
//# sourceMappingURL=breakpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../styles/breakpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;CASd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC;AAC7C,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -4,48 +4,48 @@
|
|
|
4
4
|
.ath-accordion {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
font-size: var(--font-size-md);
|
|
8
7
|
margin: 0;
|
|
9
8
|
width: 100%;
|
|
10
9
|
border-radius: 3px;
|
|
11
10
|
overflow: hidden;
|
|
12
|
-
}
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
.ath-accordion-item-heading {
|
|
13
|
+
white-space: normal;
|
|
14
|
+
width: 100%;
|
|
15
|
+
padding: 10px;
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
border: none;
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
color: var(--color-tertiary-50);
|
|
23
|
+
text-align: left;
|
|
24
|
+
transition:
|
|
25
|
+
background-color 0.2s ease,
|
|
26
|
+
color 0.2s ease;
|
|
27
|
+
border-radius: 0;
|
|
19
28
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
background-color: transparent;
|
|
24
|
-
border: none;
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
align-items: center;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
color: var(--color-tertiary-50);
|
|
30
|
-
text-align: left;
|
|
31
|
-
transition:
|
|
32
|
-
background-color 0.2s ease,
|
|
33
|
-
color 0.2s ease;
|
|
34
|
-
border-radius: 0;
|
|
29
|
+
&:active {
|
|
30
|
+
scale: 1;
|
|
31
|
+
}
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
&:hover {
|
|
34
|
+
background-color: var(--color-primary-50);
|
|
35
|
+
color: var(--color-primary-600);
|
|
36
|
+
}
|
|
39
37
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
&:focus {
|
|
39
|
+
color: var(--color-primary-600);
|
|
40
|
+
background-color: var(--color-primary-50);
|
|
41
|
+
}
|
|
43
42
|
}
|
|
43
|
+
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
.ath-accordion-item {
|
|
46
|
+
width: 100%;
|
|
47
|
+
border-bottom: 1px solid var(--color-primary-200);
|
|
48
|
+
list-style-type: none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ath-accordion-item-heading-disabled {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
flex: 1;
|
|
72
72
|
margin-right: 12px;
|
|
73
73
|
font-weight: 600;
|
|
74
|
-
font-size:
|
|
74
|
+
font-size: var(--font-size-md);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.ath-accordion-item-icon {
|
|
@@ -91,8 +91,11 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.ath-accordion-content-wrapper {
|
|
94
|
-
padding: 14px 20px 14px
|
|
94
|
+
padding: 14px 20px 14px 20px;
|
|
95
|
+
/* padding: 14px 20px 14px 40px; */
|
|
95
96
|
background-color: rgb(from var(--color-primary-50) r g b / 0.01);
|
|
96
|
-
font-size: var(--font-size-lg);
|
|
97
|
+
/* font-size: var(--font-size-lg); */
|
|
98
|
+
font-size: var(--font-size-md);
|
|
99
|
+
line-height: 1.5;
|
|
97
100
|
}
|
|
98
101
|
}
|
|
@@ -2,18 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
@layer components {
|
|
4
4
|
.ath-avatar {
|
|
5
|
-
border-radius: 50%;
|
|
6
5
|
display: flex;
|
|
7
6
|
align-items: center;
|
|
8
7
|
justify-content: center;
|
|
9
8
|
background-color: var(--color-secondary-700);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.ath-avatar-initials {
|
|
9
|
+
border-radius: 50%;
|
|
13
10
|
color: var(--color-tertiary-100);
|
|
14
11
|
font-weight: 500;
|
|
15
12
|
}
|
|
16
13
|
|
|
14
|
+
.ath-avatar-small {
|
|
15
|
+
width: 32px;
|
|
16
|
+
height: 32px;
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ath-avatar-medium {
|
|
21
|
+
width: 42px;
|
|
22
|
+
height: 42px;
|
|
23
|
+
font-size: 24px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ath-avatar-large {
|
|
27
|
+
width: 64px;
|
|
28
|
+
height: 64px;
|
|
29
|
+
font-size: 32px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ath-avatar-profile {
|
|
33
|
+
width: 135px;
|
|
34
|
+
height: 135px;
|
|
35
|
+
font-size: 60px;
|
|
36
|
+
}
|
|
37
|
+
|
|
17
38
|
.ath-avatar-image {
|
|
18
39
|
width: 100%;
|
|
19
40
|
height: 100%;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
transition:
|
|
13
13
|
box-shadow 0.2s ease-in-out,
|
|
14
14
|
scale 0.1s ease-in-out,
|
|
15
|
-
text-shadow
|
|
15
|
+
text-shadow 0.1s ease-in-out,
|
|
16
16
|
transform 0.1s ease-in-out,
|
|
17
17
|
filter 0.2s ease-in-out;
|
|
18
18
|
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
.ath-button-full {
|
|
117
117
|
font-size: var(--font-size-lg);
|
|
118
118
|
line-height: var(--font-size-xl);
|
|
119
|
-
width: 100%;
|
|
119
|
+
/* width: 100%; */
|
|
120
120
|
justify-content: center;
|
|
121
121
|
padding: 10px 40px;
|
|
122
122
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import "../tokens.css";
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ath-dropdown {
|
|
5
|
+
display: none;
|
|
6
|
+
position: absolute;
|
|
7
|
+
z-index: 10;
|
|
8
|
+
background-color: var(--color-tertiary-100);
|
|
9
|
+
border-radius: var(--radius-sm);
|
|
10
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
11
|
+
padding: 8px;
|
|
12
|
+
min-width: 160px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ath-dropdown-open {
|
|
16
|
+
display: block;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,49 +1,6 @@
|
|
|
1
1
|
@import "../tokens.css";
|
|
2
2
|
|
|
3
3
|
@layer component {
|
|
4
|
-
/* ----- Form Input Label Styles ----- */
|
|
5
|
-
.ath-form-input-label {
|
|
6
|
-
font-size: var(--font-size-md);
|
|
7
|
-
font-weight: 500;
|
|
8
|
-
display: flex;
|
|
9
|
-
gap: 0.25rem;
|
|
10
|
-
color: var(--color-primary-900);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.ath-form-input-label-dark {
|
|
14
|
-
color: var(--color-tertiary-50);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ath-form-input-label-left {
|
|
18
|
-
flex-direction: row;
|
|
19
|
-
margin-right: 0.5rem;
|
|
20
|
-
align-self: flex-start;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ath-form-input-label-right {
|
|
24
|
-
flex-direction: row-reverse;
|
|
25
|
-
margin-left: 0.5rem;
|
|
26
|
-
align-self: flex-end;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ath-form-input-label-above {
|
|
30
|
-
/* flex-direction: column; */
|
|
31
|
-
margin-bottom: 0.25rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ath-form-input-label-below {
|
|
35
|
-
flex-direction: column-reverse;
|
|
36
|
-
margin-top: 0.25rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ath-form-input-label-required {
|
|
40
|
-
color: var(--color-error-500);
|
|
41
|
-
font-size: var(--font-size-md);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* ----- Form Input Styles ----- */
|
|
45
|
-
|
|
46
|
-
/* Container styles */
|
|
47
4
|
.ath-form-input-container {
|
|
48
5
|
display: flex;
|
|
49
6
|
flex-direction: column;
|
|
@@ -59,7 +16,7 @@
|
|
|
59
16
|
}
|
|
60
17
|
|
|
61
18
|
/* Base input styles */
|
|
62
|
-
.ath-form-input {
|
|
19
|
+
.ath-form-text-input {
|
|
63
20
|
margin-top: 3px;
|
|
64
21
|
border-radius: var(--radius-md);
|
|
65
22
|
border: none;
|
|
@@ -68,26 +25,26 @@
|
|
|
68
25
|
transition: all 0.2s ease;
|
|
69
26
|
min-width: 0;
|
|
70
27
|
}
|
|
71
|
-
.ath-form-input:focus {
|
|
28
|
+
.ath-form-text-input:focus {
|
|
72
29
|
outline: 2px solid var(--color-primary-vibrant-500);
|
|
73
30
|
outline-offset: 2px;
|
|
74
31
|
border-color: var(--color-primary-vibrant-500);
|
|
75
32
|
}
|
|
76
|
-
.ath-form-input::placeholder {
|
|
33
|
+
.ath-form-text-input::placeholder {
|
|
77
34
|
color: var(--color-primary-300);
|
|
78
35
|
}
|
|
79
36
|
|
|
80
37
|
/* Size variants */
|
|
81
|
-
.ath-form-input-large {
|
|
38
|
+
.ath-form-text-input-large {
|
|
82
39
|
padding: 0.75rem;
|
|
83
40
|
font-size: var(--font-size-lg);
|
|
84
41
|
}
|
|
85
|
-
.ath-form-input-medium {
|
|
42
|
+
.ath-form-text-input-medium {
|
|
86
43
|
font-size: var(--font-size-md);
|
|
87
44
|
line-height: var(--font-size-lg);
|
|
88
45
|
padding: 8px 15px;
|
|
89
46
|
}
|
|
90
|
-
.ath-form-input-small {
|
|
47
|
+
.ath-form-text-input-small {
|
|
91
48
|
padding: 0.3rem;
|
|
92
49
|
font-size: var(--font-size-xs);
|
|
93
50
|
}
|
|
@@ -119,11 +76,11 @@
|
|
|
119
76
|
}
|
|
120
77
|
|
|
121
78
|
/* State variants */
|
|
122
|
-
.ath-form-input-error,
|
|
79
|
+
.ath-form-text-input-error,
|
|
123
80
|
.ath-form-textarea-error {
|
|
124
81
|
border-color: var(--color-error-vibrant-500);
|
|
125
82
|
}
|
|
126
|
-
.ath-form-input-error:focus,
|
|
83
|
+
.ath-form-text-input-error:focus,
|
|
127
84
|
.ath-form-textarea-error:focus {
|
|
128
85
|
outline: 2px solid var(--color-error-vibrant-500);
|
|
129
86
|
border-color: var(--color-error-vibrant-500);
|