athameui 0.0.9-c → 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 -1
- 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 +0 -1
- package/components/index.ts +1 -0
- package/dist/athameui.cjs +79 -4
- package/dist/athameui.cjs.map +1 -1
- package/dist/athameui.mjs +80 -6
- package/dist/athameui.mjs.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/styles/components/carousel.css +43 -0
- package/dist/styles/components/form-input.css +10 -1
- package/dist/styles/components/main.css +3 -1
- package/dist/styles/theme.css +1 -0
- package/dist/styles/tokens.css +6 -10
- package/package.json +1 -1
- package/styles/components/carousel.css +43 -0
- package/styles/components/form-input.css +10 -1
- package/styles/components/main.css +3 -1
- package/styles/theme.css +1 -0
- package/styles/tokens.css +6 -10
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
|
@@ -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,IAAI,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,EAAE,CAAC,EAAE,SAAS,GAAG;QAAE,MAAM,CAAC,EAAE,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC9D,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,MAAM,
|
|
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,IAAI,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,EAAE,CAAC,EAAE,SAAS,GAAG;QAAE,MAAM,CAAC,EAAE,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC9D,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IACpD,YAAY,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,YAAY,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,MAAM,2GA8FlB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { CSSObject } from "@emotion/react";
|
|
3
|
+
export type CarouselProps = {
|
|
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"}
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -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,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"}
|
|
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,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
|
+
}
|
|
@@ -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
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
padding: 25px 0;
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
|
-
|
|
10
|
+
align-items: stretch;
|
|
11
11
|
gap: 20px;
|
|
12
12
|
flex: 1;
|
|
13
13
|
min-height: 100vh;
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
gap: 15px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
margin-inline: auto;
|
|
20
22
|
max-width: 1200px;
|
|
21
23
|
padding: 0 15px;
|
|
22
24
|
}
|
package/dist/styles/theme.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@import "./components/block.css";
|
|
4
4
|
@import "./components/button.css";
|
|
5
5
|
@import "./components/button-group.css";
|
|
6
|
+
@import "./components/carousel.css";
|
|
6
7
|
@import "./components/dropdown.css";
|
|
7
8
|
@import "./components/footer.css";
|
|
8
9
|
@import "./components/form-input.css";
|
package/dist/styles/tokens.css
CHANGED
|
@@ -136,16 +136,6 @@
|
|
|
136
136
|
--font-size-4xl: 3rem;
|
|
137
137
|
--font-size-5xl: 3.5rem;
|
|
138
138
|
|
|
139
|
-
/* ----- Screen Sizes ----- */
|
|
140
|
-
/* --screen-xs: 320px;
|
|
141
|
-
--screen-sm: 480px;
|
|
142
|
-
--screen-md: 620px;
|
|
143
|
-
--screen-lg: 768px;
|
|
144
|
-
--screen-xl: 896px;
|
|
145
|
-
--screen-2xl: 1024px;
|
|
146
|
-
--screen-3xl: 1280px;
|
|
147
|
-
--screen-4xl: 1536px; */
|
|
148
|
-
|
|
149
139
|
--screen-xs: 320;
|
|
150
140
|
--screen-sm: 480;
|
|
151
141
|
--screen-md: 620;
|
|
@@ -175,6 +165,12 @@
|
|
|
175
165
|
}
|
|
176
166
|
|
|
177
167
|
@layer base {
|
|
168
|
+
|
|
169
|
+
*,
|
|
170
|
+
::before,
|
|
171
|
+
::after {
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
}
|
|
178
174
|
body {
|
|
179
175
|
background-color: var(--color-primary-500);
|
|
180
176
|
color: var(--color-text-light);
|
package/package.json
CHANGED
|
@@ -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
|
+
}
|
|
@@ -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
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
padding: 25px 0;
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
|
-
|
|
10
|
+
align-items: stretch;
|
|
11
11
|
gap: 20px;
|
|
12
12
|
flex: 1;
|
|
13
13
|
min-height: 100vh;
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
gap: 15px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
margin-inline: auto;
|
|
20
22
|
max-width: 1200px;
|
|
21
23
|
padding: 0 15px;
|
|
22
24
|
}
|
package/styles/theme.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@import "./components/block.css";
|
|
4
4
|
@import "./components/button.css";
|
|
5
5
|
@import "./components/button-group.css";
|
|
6
|
+
@import "./components/carousel.css";
|
|
6
7
|
@import "./components/dropdown.css";
|
|
7
8
|
@import "./components/footer.css";
|
|
8
9
|
@import "./components/form-input.css";
|
package/styles/tokens.css
CHANGED
|
@@ -136,16 +136,6 @@
|
|
|
136
136
|
--font-size-4xl: 3rem;
|
|
137
137
|
--font-size-5xl: 3.5rem;
|
|
138
138
|
|
|
139
|
-
/* ----- Screen Sizes ----- */
|
|
140
|
-
/* --screen-xs: 320px;
|
|
141
|
-
--screen-sm: 480px;
|
|
142
|
-
--screen-md: 620px;
|
|
143
|
-
--screen-lg: 768px;
|
|
144
|
-
--screen-xl: 896px;
|
|
145
|
-
--screen-2xl: 1024px;
|
|
146
|
-
--screen-3xl: 1280px;
|
|
147
|
-
--screen-4xl: 1536px; */
|
|
148
|
-
|
|
149
139
|
--screen-xs: 320;
|
|
150
140
|
--screen-sm: 480;
|
|
151
141
|
--screen-md: 620;
|
|
@@ -175,6 +165,12 @@
|
|
|
175
165
|
}
|
|
176
166
|
|
|
177
167
|
@layer base {
|
|
168
|
+
|
|
169
|
+
*,
|
|
170
|
+
::before,
|
|
171
|
+
::after {
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
}
|
|
178
174
|
body {
|
|
179
175
|
background-color: var(--color-primary-500);
|
|
180
176
|
color: var(--color-text-light);
|