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.
Files changed (102) hide show
  1. package/components/Avatar/Avatar.tsx +6 -12
  2. package/components/Block/Block.tsx +22 -0
  3. package/components/Block/index.ts +1 -0
  4. package/components/Button/Button.tsx +2 -2
  5. package/components/DropDown/Dropdown.tsx +61 -0
  6. package/components/DropDown/index.ts +1 -0
  7. package/components/{FormElements/FormInput.tsx → FormField/FormField.tsx} +21 -15
  8. package/components/FormField/index.ts +1 -0
  9. package/components/{FormElements/FormInputLabel.tsx → FormLabel/FormLabel.tsx} +5 -5
  10. package/components/FormLabel/index.ts +1 -0
  11. package/components/FormTextInput/FormTextInput.tsx +93 -0
  12. package/components/FormTextInput/index.ts +1 -0
  13. package/components/Layout/Main.tsx +21 -14
  14. package/components/Modal/Modal.tsx +3 -3
  15. package/components/Search/Search.tsx +7 -4
  16. package/components/SlideOut/SlideOut.tsx +71 -0
  17. package/components/SlideOut/index.ts +1 -0
  18. package/components/index.ts +6 -1
  19. package/dist/athameui.cjs +204 -64
  20. package/dist/athameui.cjs.map +1 -1
  21. package/dist/athameui.mjs +199 -63
  22. package/dist/athameui.mjs.map +1 -1
  23. package/dist/components/Avatar/Avatar.d.ts +1 -1
  24. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  25. package/dist/components/Block/Block.d.ts +13 -0
  26. package/dist/components/Block/Block.d.ts.map +1 -0
  27. package/dist/components/Block/index.d.ts +2 -0
  28. package/dist/components/Block/index.d.ts.map +1 -0
  29. package/dist/components/DropDown/Dropdown.d.ts +14 -0
  30. package/dist/components/DropDown/Dropdown.d.ts.map +1 -0
  31. package/dist/components/DropDown/index.d.ts +2 -0
  32. package/dist/components/DropDown/index.d.ts.map +1 -0
  33. package/dist/components/{FormElements/FormInput.d.ts → FormField/FormField.d.ts} +6 -4
  34. package/dist/components/FormField/FormField.d.ts.map +1 -0
  35. package/dist/components/FormField/index.d.ts +2 -0
  36. package/dist/components/FormField/index.d.ts.map +1 -0
  37. package/dist/components/{FormElements/FormInputLabel.d.ts → FormLabel/FormLabel.d.ts} +3 -3
  38. package/dist/components/FormLabel/FormLabel.d.ts.map +1 -0
  39. package/dist/components/FormLabel/index.d.ts +2 -0
  40. package/dist/components/FormLabel/index.d.ts.map +1 -0
  41. package/dist/components/FormTextInput/FormTextInput.d.ts +27 -0
  42. package/dist/components/FormTextInput/FormTextInput.d.ts.map +1 -0
  43. package/dist/components/FormTextInput/index.d.ts +2 -0
  44. package/dist/components/FormTextInput/index.d.ts.map +1 -0
  45. package/dist/components/Layout/Main.d.ts +7 -3
  46. package/dist/components/Layout/Main.d.ts.map +1 -1
  47. package/dist/components/Search/Search.d.ts +2 -1
  48. package/dist/components/Search/Search.d.ts.map +1 -1
  49. package/dist/components/SlideOut/SlideOut.d.ts +21 -0
  50. package/dist/components/SlideOut/SlideOut.d.ts.map +1 -0
  51. package/dist/components/SlideOut/index.d.ts +2 -0
  52. package/dist/components/SlideOut/index.d.ts.map +1 -0
  53. package/dist/components/index.d.ts +6 -1
  54. package/dist/components/index.d.ts.map +1 -1
  55. package/dist/styles/breakpoints.d.ts +13 -0
  56. package/dist/styles/breakpoints.d.ts.map +1 -0
  57. package/dist/styles/breakpoints.ts +13 -0
  58. package/dist/styles/components/accordion.css +38 -35
  59. package/dist/styles/components/avatar.css +25 -4
  60. package/dist/styles/components/block.css +8 -0
  61. package/dist/styles/components/button.css +2 -2
  62. package/dist/styles/components/dropdown.css +18 -0
  63. package/dist/styles/components/footer.css +0 -1
  64. package/dist/styles/components/{form-elements.css → form-input.css} +8 -51
  65. package/dist/styles/components/form-label.css +42 -0
  66. package/dist/styles/components/main.css +11 -2
  67. package/dist/styles/components/modals.css +2 -1
  68. package/dist/styles/components/slide-out.css +69 -0
  69. package/dist/styles/index.d.ts +1 -1
  70. package/dist/styles/index.d.ts.map +1 -1
  71. package/dist/styles/index.ts +1 -1
  72. package/dist/styles/theme.css +5 -1
  73. package/dist/styles/tokens.css +45 -25
  74. package/dist/styles/tokens.d.ts +0 -10
  75. package/dist/styles/tokens.d.ts.map +1 -1
  76. package/dist/styles/tokens.ts +16 -26
  77. package/package.json +1 -1
  78. package/styles/breakpoints.ts +13 -0
  79. package/styles/components/accordion.css +38 -35
  80. package/styles/components/avatar.css +25 -4
  81. package/styles/components/block.css +8 -0
  82. package/styles/components/button.css +2 -2
  83. package/styles/components/dropdown.css +18 -0
  84. package/styles/components/footer.css +0 -1
  85. package/styles/components/{form-elements.css → form-input.css} +8 -51
  86. package/styles/components/form-label.css +42 -0
  87. package/styles/components/main.css +11 -2
  88. package/styles/components/modals.css +2 -1
  89. package/styles/components/slide-out.css +69 -0
  90. package/styles/index.ts +1 -1
  91. package/styles/theme.css +5 -1
  92. package/styles/tokens.css +45 -25
  93. package/styles/tokens.ts +16 -26
  94. package/components/FormElements/index.ts +0 -2
  95. package/dist/components/FormElements/FormInput.d.ts.map +0 -1
  96. package/dist/components/FormElements/FormInputLabel.d.ts.map +0 -1
  97. package/dist/components/FormElements/index.d.ts +0 -3
  98. package/dist/components/FormElements/index.d.ts.map +0 -1
  99. package/dist/styles/mediaQueries.d.ts +0 -11
  100. package/dist/styles/mediaQueries.d.ts.map +0 -1
  101. package/dist/styles/mediaQueries.ts +0 -10
  102. package/styles/mediaQueries.ts +0 -10
@@ -0,0 +1,42 @@
1
+ @import "../tokens.css";
2
+
3
+ @layer components {
4
+ .ath-form-input-label {
5
+ font-size: var(--font-size-md);
6
+ font-weight: 500;
7
+ display: flex;
8
+ gap: 0.25rem;
9
+ color: var(--color-primary-900);
10
+ }
11
+
12
+ .ath-form-input-label-dark {
13
+ color: var(--color-tertiary-50);
14
+ }
15
+
16
+ .ath-form-input-label-left {
17
+ flex-direction: row;
18
+ margin-right: 0.5rem;
19
+ align-self: flex-start;
20
+ }
21
+
22
+ .ath-form-input-label-right {
23
+ flex-direction: row-reverse;
24
+ margin-left: 0.5rem;
25
+ align-self: flex-end;
26
+ }
27
+
28
+ .ath-form-input-label-above {
29
+ /* flex-direction: column; */
30
+ margin-bottom: 0.25rem;
31
+ }
32
+
33
+ .ath-form-input-label-below {
34
+ flex-direction: column-reverse;
35
+ margin-top: 0.25rem;
36
+ }
37
+
38
+ .ath-form-input-label-required {
39
+ color: var(--color-error-500);
40
+ font-size: var(--font-size-md);
41
+ }
42
+ }
@@ -4,11 +4,20 @@
4
4
  .ath-main {
5
5
  overflow-x: hidden;
6
6
  position: relative;
7
- padding: 32px;
7
+ padding: 25px 0;
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  flex-wrap: wrap;
11
11
  gap: 20px;
12
- flex-grow: 1;
12
+ flex: 1;
13
+ min-height: 100vh;
14
+ }
15
+
16
+ .ath-main-content {
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 15px;
20
+ max-width: 1200px;
21
+ padding: 0 15px;
13
22
  }
14
23
  }
@@ -52,7 +52,8 @@
52
52
 
53
53
  .ath-modal-content {
54
54
  padding: 1.5rem;
55
- overflow: auto;
55
+ overflow-y: auto;
56
+ overflow-x: hidden;
56
57
  flex: 1;
57
58
  display: flex;
58
59
  justify-content: center;
@@ -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
+ }
@@ -1,3 +1,3 @@
1
- export * from "./mediaQueries";
1
+ export * from "./breakpoints";
2
2
  export * from "./tokens";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from "./mediaQueries";
1
+ export * from "./breakpoints";
2
2
  export * from "./tokens";
@@ -1,12 +1,16 @@
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/dropdown.css";
5
7
  @import "./components/footer.css";
6
- @import "./components/form-elements.css";
8
+ @import "./components/form-input.css";
9
+ @import "./components/form-label.css";
7
10
  @import "./components/header.css";
8
11
  @import "./components/list.css";
9
12
  @import "./components/main.css";
10
13
  @import "./components/modals.css";
11
14
  @import "./components/search.css";
15
+ @import "./components/slide-out.css";
12
16
  @import "./tokens.css";
@@ -126,36 +126,46 @@
126
126
  --radius-lg: 8px;
127
127
 
128
128
  /* ----- Font Sizes ----- */
129
- --font-size-xs: 0.625rem;
130
- --font-size-sm: 0.75rem;
131
- --font-size-md: 0.875rem;
132
- --font-size-lg: 1rem;
133
- --font-size-xl: 1.25rem;
134
- --font-size-2xl: 1.5rem;
135
- --font-size-3xl: 2rem;
136
- --font-size-4xl: 2.5rem;
137
- --font-size-5xl: 3rem;
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
138
 
139
139
  /* ----- Screen Sizes ----- */
140
- --screen-xs: 360px;
140
+ /* --screen-xs: 320px;
141
141
  --screen-sm: 480px;
142
- --screen-md: 768px;
143
- --screen-lg: 896px;
144
- --screen-xl: 1024px;
145
- --screen-2xl: 1280px;
146
- --screen-3xl: 1536px;
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
+ --screen-xs: 320;
150
+ --screen-sm: 480;
151
+ --screen-md: 620;
152
+ --screen-lg: 768;
153
+ --screen-xl: 896;
154
+ --screen-2xl: 1024;
155
+ --screen-3xl: 1280;
156
+ --screen-4xl: 1536;
147
157
 
148
158
  /* ----- Media Queries ----- */
149
159
  /* Only useful for CSS-in-JS media query handling */
150
- --media-min-xs: @media (min-width: 360px);
160
+ --media-min-xs: @media (min-width: 320px);
151
161
  --media-min-sm: @media (min-width: 480px);
152
- --media-min-md: @media (min-width: 768px);
153
- --media-min-lg: @media (min-width: 896px);
154
- --media-min-xl: @media (min-width: 1024px);
155
- --media-min-2xl: @media (min-width: 1280px);
156
- --media-min-3xl: @media (min-width: 1536px);
162
+ --media-min-md: @media (min-width: 620px);
163
+ --media-min-lg: @media (min-width: 768px);
164
+ --media-min-xl: @media (min-width: 896px);
165
+ --media-min-2xl: @media (min-width: 1024px);
166
+ --media-min-3xl: @media (min-width: 1280px);
157
167
 
158
- --media-max-xs: @media (max-width: 359px);
168
+ --media-max-xs: @media (max-width: 319px);
159
169
  --media-max-sm: @media (max-width: 479px);
160
170
  --media-max-md: @media (max-width: 767px);
161
171
  --media-max-lg: @media (max-width: 895px);
@@ -174,30 +184,39 @@
174
184
  -moz-osx-font-smoothing: grayscale;
175
185
  margin: 0;
176
186
  }
187
+
177
188
  h1 {
178
189
  color: var(--color-text-light);
179
- font-size: var(--font-size-3xl);
190
+ font-size: var(--font-size-2xl);
191
+ /* font-size: var(--font-size-3xl); */
180
192
  font-weight: 300;
181
193
  margin: 0 0 1rem;
182
194
  line-height: normal;
195
+ @media (max-width: var(--screen-lg)) {
196
+ font-size: var(--font-size-4xl);
197
+ }
183
198
  }
199
+
184
200
  h2 {
185
201
  color: var(--color-primary-300);
186
202
  font-size: var(--font-size-lg);
187
203
  font-weight: 400;
188
204
  margin: 0;
189
205
  }
206
+
190
207
  h3 {
191
208
  color: var(--color-primary-200);
192
- font-size: var(--font-size-xl);
209
+ font-size: var(--font-size-lg);
193
210
  font-weight: 500;
194
- margin: 0;
211
+ margin: 0 0 0.5rem 0;
195
212
  }
213
+
196
214
  p {
197
215
  margin: 0;
198
216
  margin-bottom: 1rem;
199
217
  line-height: 1.5;
200
218
  }
219
+
201
220
  button {
202
221
  font-family: inherit;
203
222
  background-color: transparent;
@@ -207,6 +226,7 @@
207
226
  outline: none;
208
227
  }
209
228
  }
229
+
210
230
  a {
211
231
  text-decoration: none;
212
232
  color: inherit;
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../styles/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiLlB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC;AAGnC,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC;AAC5C,MAAM,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC,KAAK,CAAC;AAC9C,MAAM,MAAM,aAAa,GAAG,OAAO,MAAM,CAAC,OAAO,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC;AAChD,MAAM,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC,KAAK,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../styles/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwKlB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC;AAGnC,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC;AAC5C,MAAM,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC,KAAK,CAAC;AAC9C,MAAM,MAAM,aAAa,GAAG,OAAO,MAAM,CAAC,OAAO,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,MAAM,CAAC,KAAK,CAAC"}
@@ -5,15 +5,15 @@ export const tokens = {
5
5
  serif: "Libre Baskerville, serif"
6
6
  },
7
7
  size: {
8
- xs: "0.625rem",
9
- sm: "0.75rem",
10
- md: "0.875rem",
11
- lg: "1rem",
12
- xl: "1.25rem",
13
- "2xl": "1.5rem",
14
- "3xl": "2rem",
15
- "4xl": "2.5rem",
16
- "5xl": "3rem"
8
+ xs: "0.75rem",
9
+ sm: "0.875rem",
10
+ md: "1rem",
11
+ lg: "1.25rem",
12
+ xl: "1.5rem",
13
+ "2xl": "2rem",
14
+ "3xl": "2.5rem",
15
+ "4xl": "3rem",
16
+ "5xl": "3.5rem"
17
17
  }
18
18
  },
19
19
  color: {
@@ -146,27 +146,18 @@ export const tokens = {
146
146
  md: "5px",
147
147
  lg: "8px"
148
148
  },
149
- screen: {
150
- xs: "360px",
151
- sm: "480px",
152
- md: "768px",
153
- lg: "896px",
154
- xl: "1024px",
155
- "2xl": "1280px",
156
- "3xl": "1536px"
157
- },
158
149
  media: {
159
150
  min: {
160
- xs: "@media (min-width: 360px)",
151
+ xs: "@media (min-width: 320px)",
161
152
  sm: "@media (min-width: 480px)",
162
- md: "@media (min-width: 768px)",
163
- lg: "@media (min-width: 896px)",
164
- xl: "@media (min-width: 1024px)",
165
- "2xl": "@media (min-width: 1280px)",
166
- "3xl": "@media (min-width: 1536px)"
153
+ md: "@media (min-width: 620px)",
154
+ lg: "@media (min-width: 768px)",
155
+ xl: "@media (min-width: 896px)",
156
+ "2xl": "@media (min-width: 1024px)",
157
+ "3xl": "@media (min-width: 1280px)"
167
158
  },
168
159
  max: {
169
- xs: "@media (max-width: 359px)",
160
+ xs: "@media (max-width: 319px)",
170
161
  sm: "@media (max-width: 479px)",
171
162
  md: "@media (max-width: 767px)",
172
163
  lg: "@media (max-width: 895px)",
@@ -184,5 +175,4 @@ export type FontTokens = typeof tokens.font;
184
175
  export type ColorTokens = typeof tokens.color;
185
176
  export type PaddingTokens = typeof tokens.padding;
186
177
  export type RadiusTokens = typeof tokens.radius;
187
- export type ScreenTokens = typeof tokens.screen;
188
178
  export type MediaTokens = typeof tokens.media;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "athameui",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.9-c",
5
5
  "type": "module",
6
6
  "main": "./dist/athameui.cjs",
7
7
  "module": "./dist/athameui.mjs",
@@ -0,0 +1,13 @@
1
+ export const breakpoints = {
2
+ xs: 320,
3
+ sm: 480,
4
+ md: 620,
5
+ lg: 768,
6
+ xl: 896,
7
+ "2xl": 1024,
8
+ "3xl": 1280,
9
+ "4xl": 1536,
10
+ } as const;
11
+
12
+ export type Breakpoints = typeof breakpoints;
13
+ export type Breakpoint = keyof typeof breakpoints;
@@ -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
- .ath-accordion-item {
15
- width: 100%;
16
- border-bottom: 1px solid var(--color-primary-200);
17
- list-style-type: none;
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
- .ath-accordion-item-heading {
21
- width: 100%;
22
- padding: 12px 20px;
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
- &:active {
37
- scale: 1;
38
- }
33
+ &:hover {
34
+ background-color: var(--color-primary-50);
35
+ color: var(--color-primary-600);
36
+ }
39
37
 
40
- &:hover {
41
- background-color: var(--color-primary-50);
42
- color: var(--color-primary-600);
38
+ &:focus {
39
+ color: var(--color-primary-600);
40
+ background-color: var(--color-primary-50);
41
+ }
43
42
  }
43
+ }
44
44
 
45
- &:focus {
46
- color: var(--color-primary-600);
47
- background-color: var(--color-primary-50);
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: 18px;
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 40px;
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%;
@@ -0,0 +1,8 @@
1
+ @layer components {
2
+ .ath-block {
3
+ /* width: 100%; */
4
+ display: flex;
5
+ flex-direction: column;
6
+ margin-bottom: 15px;
7
+ }
8
+ }
@@ -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 0s ease-in-out,
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
+ }
@@ -4,7 +4,6 @@
4
4
  .ath-footer {
5
5
  background-color: var(--color-secondary-700);
6
6
  overflow-x: hidden;
7
- width: 100%;
8
7
  padding: 16px 32px;
9
8
  display: flex;
10
9
  flex-wrap: wrap;