athameui 0.0.8 → 0.0.10
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 +0 -2
- package/components/Block/Block.tsx +22 -0
- package/components/Block/index.ts +1 -0
- package/components/Button/Button.tsx +14 -0
- package/components/Carousel/Carousel.tsx +84 -0
- package/components/Carousel/index.ts +1 -0
- package/components/DropDown/Dropdown.tsx +60 -0
- package/components/DropDown/index.ts +1 -0
- package/components/Layout/Main.tsx +21 -14
- package/components/Modal/Modal.tsx +1 -1
- package/components/SlideOut/SlideOut.tsx +71 -0
- package/components/SlideOut/index.ts +1 -0
- package/components/index.ts +4 -0
- package/dist/athameui.cjs +200 -39
- package/dist/athameui.cjs.map +1 -1
- package/dist/athameui.mjs +198 -41
- package/dist/athameui.mjs.map +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/Button/Button.d.ts +2 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +14 -0
- package/dist/components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/components/Carousel/index.d.ts +2 -0
- package/dist/components/Carousel/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/Layout/Main.d.ts +7 -3
- package/dist/components/Layout/Main.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 +4 -0
- 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 +8 -5
- package/dist/styles/components/block.css +8 -0
- package/dist/styles/components/button.css +1 -1
- package/dist/styles/components/carousel.css +43 -0
- package/dist/styles/components/dropdown.css +18 -0
- package/dist/styles/components/form-input.css +10 -1
- package/dist/styles/components/main.css +14 -3
- 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 +4 -0
- package/dist/styles/tokens.css +44 -28
- 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 +8 -5
- package/styles/components/block.css +8 -0
- package/styles/components/button.css +1 -1
- package/styles/components/carousel.css +43 -0
- package/styles/components/dropdown.css +18 -0
- package/styles/components/form-input.css +10 -1
- package/styles/components/main.css +14 -3
- package/styles/components/slide-out.css +69 -0
- package/styles/index.ts +1 -1
- package/styles/theme.css +4 -0
- package/styles/tokens.css +44 -28
- package/styles/tokens.ts +16 -26
- 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,qDAkBb,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"}
|
|
@@ -24,6 +24,8 @@ export type ButtonProps = {
|
|
|
24
24
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
25
25
|
onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
|
|
26
26
|
onKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
|
|
27
|
+
onMouseEnter?: MouseEventHandler<HTMLButtonElement>;
|
|
28
|
+
onMouseLeave?: MouseEventHandler<HTMLButtonElement>;
|
|
27
29
|
};
|
|
28
30
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
29
31
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACb,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,aAAa,EACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACpC,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC3C,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KAC1C,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB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Props = {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: {
|
|
6
|
+
carousel?: string | false | null | undefined;
|
|
7
|
+
};
|
|
8
|
+
emptyMessage?: string;
|
|
9
|
+
sx?: {
|
|
10
|
+
carousel?: CSSObject;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const Carousel: ({ children, className, emptyMessage, sx, }: CarouselProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../components/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAM3C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;KAC9C,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE;QACH,QAAQ,CAAC,EAAE,SAAS,CAAC;KACtB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,4CAKtB,aAAa,qDA4Df,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Carousel/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,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,qDAkCf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/DropDown/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSObject } from "@emotion/react";
|
|
2
|
+
export type SlideOutProps = {
|
|
3
|
+
children: 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,7 +1,10 @@
|
|
|
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 "./Carousel";
|
|
7
|
+
export * from "./DropDown";
|
|
5
8
|
export * from "./ContainerScalingText";
|
|
6
9
|
export * from "./FormField";
|
|
7
10
|
export * from "./FormLabel";
|
|
@@ -11,4 +14,5 @@ export * from "./Layout";
|
|
|
11
14
|
export * from "./List";
|
|
12
15
|
export * from "./Modal";
|
|
13
16
|
export * from "./Search";
|
|
17
|
+
export * from "./SlideOut";
|
|
14
18
|
//# 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,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"}
|
|
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,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,15 +4,15 @@
|
|
|
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
11
|
|
|
13
12
|
.ath-accordion-item-heading {
|
|
13
|
+
white-space: normal;
|
|
14
14
|
width: 100%;
|
|
15
|
-
padding:
|
|
15
|
+
padding: 10px;
|
|
16
16
|
background-color: transparent;
|
|
17
17
|
border: none;
|
|
18
18
|
display: flex;
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import "../tokens.css";
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ath-carousel-wrapper {
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
.ath-carousel {
|
|
8
|
+
display: flex;
|
|
9
|
+
width: 100%;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
max-width: 100%;
|
|
12
|
+
border: 5px solid var(--color-secondary-800);
|
|
13
|
+
border-radius: 10px;
|
|
14
|
+
padding: 10px;
|
|
15
|
+
overflow-x: auto;
|
|
16
|
+
gap: 10px;
|
|
17
|
+
scrollbar-width: none;
|
|
18
|
+
&::-webkit-scrollbar {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.ath-carousel-arrow {
|
|
23
|
+
position: absolute;
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
background-color: var(--color-secondary-200);
|
|
26
|
+
opacity: 0;
|
|
27
|
+
top: 50%;
|
|
28
|
+
transform: translateY(-50%);
|
|
29
|
+
z-index: 1;
|
|
30
|
+
transition: opacity 0.2s ease-in-out;
|
|
31
|
+
}
|
|
32
|
+
.ath-carousel-left-arrow {
|
|
33
|
+
left: 5px;
|
|
34
|
+
}
|
|
35
|
+
.ath-carousel-right-arrow {
|
|
36
|
+
right: 5px;
|
|
37
|
+
}
|
|
38
|
+
.ath-carousel-hover {
|
|
39
|
+
.ath-carousel-arrow {
|
|
40
|
+
opacity: 0.75;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -24,6 +24,12 @@
|
|
|
24
24
|
outline-offset: -1px;
|
|
25
25
|
transition: all 0.2s ease;
|
|
26
26
|
min-width: 0;
|
|
27
|
+
&:read-only {
|
|
28
|
+
background-color: transparent;
|
|
29
|
+
outline: none;
|
|
30
|
+
color: var(--color-tertiary-600);
|
|
31
|
+
padding-left: 0;
|
|
32
|
+
}
|
|
27
33
|
}
|
|
28
34
|
.ath-form-text-input:focus {
|
|
29
35
|
outline: 2px solid var(--color-primary-vibrant-500);
|
|
@@ -52,13 +58,16 @@
|
|
|
52
58
|
/* Textarea specific */
|
|
53
59
|
.ath-form-textarea {
|
|
54
60
|
margin-top: 3px;
|
|
61
|
+
font-size: inherit;
|
|
62
|
+
line-height: 1.5;
|
|
63
|
+
padding: 0.75rem;
|
|
55
64
|
border: 1px solid var(--color-tertiary-500);
|
|
56
65
|
border-radius: var(--radius-md);
|
|
57
66
|
transition:
|
|
58
67
|
border-color 0.2s ease,
|
|
59
68
|
box-shadow 0.2s ease;
|
|
60
69
|
min-width: 0;
|
|
61
|
-
min-height:
|
|
70
|
+
min-height: 6rem;
|
|
62
71
|
resize: vertical;
|
|
63
72
|
overflow: auto;
|
|
64
73
|
}
|
|
@@ -4,11 +4,22 @@
|
|
|
4
4
|
.ath-main {
|
|
5
5
|
overflow-x: hidden;
|
|
6
6
|
position: relative;
|
|
7
|
-
padding:
|
|
7
|
+
padding: 25px 0;
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
|
-
|
|
10
|
+
align-items: stretch;
|
|
11
11
|
gap: 20px;
|
|
12
|
-
flex
|
|
12
|
+
flex: 1;
|
|
13
|
+
min-height: 100vh;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ath-main-content {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 15px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
margin-inline: auto;
|
|
22
|
+
max-width: 1200px;
|
|
23
|
+
padding: 0 15px;
|
|
13
24
|
}
|
|
14
25
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@import "../tokens.css";
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.ath-slide-out {
|
|
5
|
+
display: flex;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ath-slide-out-overlay {
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
16
|
+
z-index: 100;
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: flex-end;
|
|
19
|
+
opacity: 0;
|
|
20
|
+
visibility: hidden;
|
|
21
|
+
transition:
|
|
22
|
+
opacity 0.3s ease,
|
|
23
|
+
visibility 0.3s ease;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ath-slide-out-overlay-open {
|
|
27
|
+
opacity: 1;
|
|
28
|
+
visibility: visible;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ath-slide-out-panel {
|
|
32
|
+
position: fixed;
|
|
33
|
+
top: 0;
|
|
34
|
+
z-index: 100;
|
|
35
|
+
background-color: var(--color-primary-500);
|
|
36
|
+
width: 280px;
|
|
37
|
+
height: 100%;
|
|
38
|
+
padding: 20px;
|
|
39
|
+
overflow-y: auto;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
transition: transform 0.1s ease-in-out;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ath-slide-out-from-left {
|
|
46
|
+
left: 0;
|
|
47
|
+
transform: translateX(-100%);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ath-slide-out-from-right {
|
|
51
|
+
right: 0;
|
|
52
|
+
transform: translateX(100%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ath-slide-out-panel-open {
|
|
56
|
+
transform: translateX(0);
|
|
57
|
+
box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ath-slide-out-close-button {
|
|
61
|
+
padding: 0;
|
|
62
|
+
align-self: flex-end;
|
|
63
|
+
margin-bottom: 10px;
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
box-shadow: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
|
package/dist/styles/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./breakpoints";
|
|
2
2
|
export * from "./tokens";
|
package/dist/styles/theme.css
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
@import "./components/accordion.css";
|
|
2
2
|
@import "./components/avatar.css";
|
|
3
|
+
@import "./components/block.css";
|
|
3
4
|
@import "./components/button.css";
|
|
4
5
|
@import "./components/button-group.css";
|
|
6
|
+
@import "./components/carousel.css";
|
|
7
|
+
@import "./components/dropdown.css";
|
|
5
8
|
@import "./components/footer.css";
|
|
6
9
|
@import "./components/form-input.css";
|
|
7
10
|
@import "./components/form-label.css";
|
|
@@ -10,4 +13,5 @@
|
|
|
10
13
|
@import "./components/main.css";
|
|
11
14
|
@import "./components/modals.css";
|
|
12
15
|
@import "./components/search.css";
|
|
16
|
+
@import "./components/slide-out.css";
|
|
13
17
|
@import "./tokens.css";
|
package/dist/styles/tokens.css
CHANGED
|
@@ -126,36 +126,36 @@
|
|
|
126
126
|
--radius-lg: 8px;
|
|
127
127
|
|
|
128
128
|
/* ----- Font Sizes ----- */
|
|
129
|
-
--font-size-xs: 0.
|
|
130
|
-
--font-size-sm: 0.
|
|
131
|
-
--font-size-md:
|
|
132
|
-
--font-size-lg:
|
|
133
|
-
--font-size-xl: 1.
|
|
134
|
-
--font-size-2xl:
|
|
135
|
-
--font-size-3xl:
|
|
136
|
-
--font-size-4xl:
|
|
137
|
-
--font-size-5xl:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
--screen-
|
|
141
|
-
--screen-
|
|
142
|
-
--screen-
|
|
143
|
-
--screen-
|
|
144
|
-
--screen-
|
|
145
|
-
--screen-
|
|
146
|
-
--screen-
|
|
129
|
+
--font-size-xs: 0.75rem;
|
|
130
|
+
--font-size-sm: 0.875rem;
|
|
131
|
+
--font-size-md: 1rem;
|
|
132
|
+
--font-size-lg: 1.25rem;
|
|
133
|
+
--font-size-xl: 1.5rem;
|
|
134
|
+
--font-size-2xl: 2rem;
|
|
135
|
+
--font-size-3xl: 2.5rem;
|
|
136
|
+
--font-size-4xl: 3rem;
|
|
137
|
+
--font-size-5xl: 3.5rem;
|
|
138
|
+
|
|
139
|
+
--screen-xs: 320;
|
|
140
|
+
--screen-sm: 480;
|
|
141
|
+
--screen-md: 620;
|
|
142
|
+
--screen-lg: 768;
|
|
143
|
+
--screen-xl: 896;
|
|
144
|
+
--screen-2xl: 1024;
|
|
145
|
+
--screen-3xl: 1280;
|
|
146
|
+
--screen-4xl: 1536;
|
|
147
147
|
|
|
148
148
|
/* ----- Media Queries ----- */
|
|
149
149
|
/* Only useful for CSS-in-JS media query handling */
|
|
150
|
-
--media-min-xs: @media (min-width:
|
|
150
|
+
--media-min-xs: @media (min-width: 320px);
|
|
151
151
|
--media-min-sm: @media (min-width: 480px);
|
|
152
|
-
--media-min-md: @media (min-width:
|
|
153
|
-
--media-min-lg: @media (min-width:
|
|
154
|
-
--media-min-xl: @media (min-width:
|
|
155
|
-
--media-min-2xl: @media (min-width:
|
|
156
|
-
--media-min-3xl: @media (min-width:
|
|
152
|
+
--media-min-md: @media (min-width: 620px);
|
|
153
|
+
--media-min-lg: @media (min-width: 768px);
|
|
154
|
+
--media-min-xl: @media (min-width: 896px);
|
|
155
|
+
--media-min-2xl: @media (min-width: 1024px);
|
|
156
|
+
--media-min-3xl: @media (min-width: 1280px);
|
|
157
157
|
|
|
158
|
-
--media-max-xs: @media (max-width:
|
|
158
|
+
--media-max-xs: @media (max-width: 319px);
|
|
159
159
|
--media-max-sm: @media (max-width: 479px);
|
|
160
160
|
--media-max-md: @media (max-width: 767px);
|
|
161
161
|
--media-max-lg: @media (max-width: 895px);
|
|
@@ -165,6 +165,12 @@
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
@layer base {
|
|
168
|
+
|
|
169
|
+
*,
|
|
170
|
+
::before,
|
|
171
|
+
::after {
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
}
|
|
168
174
|
body {
|
|
169
175
|
background-color: var(--color-primary-500);
|
|
170
176
|
color: var(--color-text-light);
|
|
@@ -174,30 +180,39 @@
|
|
|
174
180
|
-moz-osx-font-smoothing: grayscale;
|
|
175
181
|
margin: 0;
|
|
176
182
|
}
|
|
183
|
+
|
|
177
184
|
h1 {
|
|
178
185
|
color: var(--color-text-light);
|
|
179
|
-
font-size: var(--font-size-
|
|
186
|
+
font-size: var(--font-size-2xl);
|
|
187
|
+
/* font-size: var(--font-size-3xl); */
|
|
180
188
|
font-weight: 300;
|
|
181
189
|
margin: 0 0 1rem;
|
|
182
190
|
line-height: normal;
|
|
191
|
+
@media (max-width: var(--screen-lg)) {
|
|
192
|
+
font-size: var(--font-size-4xl);
|
|
193
|
+
}
|
|
183
194
|
}
|
|
195
|
+
|
|
184
196
|
h2 {
|
|
185
197
|
color: var(--color-primary-300);
|
|
186
198
|
font-size: var(--font-size-lg);
|
|
187
199
|
font-weight: 400;
|
|
188
200
|
margin: 0;
|
|
189
201
|
}
|
|
202
|
+
|
|
190
203
|
h3 {
|
|
191
204
|
color: var(--color-primary-200);
|
|
192
|
-
font-size: var(--font-size-
|
|
205
|
+
font-size: var(--font-size-lg);
|
|
193
206
|
font-weight: 500;
|
|
194
|
-
margin: 0;
|
|
207
|
+
margin: 0 0 0.5rem 0;
|
|
195
208
|
}
|
|
209
|
+
|
|
196
210
|
p {
|
|
197
211
|
margin: 0;
|
|
198
212
|
margin-bottom: 1rem;
|
|
199
213
|
line-height: 1.5;
|
|
200
214
|
}
|
|
215
|
+
|
|
201
216
|
button {
|
|
202
217
|
font-family: inherit;
|
|
203
218
|
background-color: transparent;
|
|
@@ -207,6 +222,7 @@
|
|
|
207
222
|
outline: none;
|
|
208
223
|
}
|
|
209
224
|
}
|
|
225
|
+
|
|
210
226
|
a {
|
|
211
227
|
text-decoration: none;
|
|
212
228
|
color: inherit;
|
package/dist/styles/tokens.d.ts
CHANGED
|
@@ -146,15 +146,6 @@ export declare const tokens: {
|
|
|
146
146
|
md: string;
|
|
147
147
|
lg: string;
|
|
148
148
|
};
|
|
149
|
-
screen: {
|
|
150
|
-
xs: string;
|
|
151
|
-
sm: string;
|
|
152
|
-
md: string;
|
|
153
|
-
lg: string;
|
|
154
|
-
xl: string;
|
|
155
|
-
"2xl": string;
|
|
156
|
-
"3xl": string;
|
|
157
|
-
};
|
|
158
149
|
media: {
|
|
159
150
|
min: {
|
|
160
151
|
xs: string;
|
|
@@ -181,6 +172,5 @@ export type FontTokens = typeof tokens.font;
|
|
|
181
172
|
export type ColorTokens = typeof tokens.color;
|
|
182
173
|
export type PaddingTokens = typeof tokens.padding;
|
|
183
174
|
export type RadiusTokens = typeof tokens.radius;
|
|
184
|
-
export type ScreenTokens = typeof tokens.screen;
|
|
185
175
|
export type MediaTokens = typeof tokens.media;
|
|
186
176
|
//# sourceMappingURL=tokens.d.ts.map
|