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,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);
|
|
@@ -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:
|
|
7
|
+
padding: 25px 0;
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
flex-wrap: wrap;
|
|
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
|
+
max-width: 1200px;
|
|
21
|
+
padding: 0 15px;
|
|
13
22
|
}
|
|
14
23
|
}
|
|
@@ -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/styles/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./breakpoints";
|
|
2
2
|
export * from "./tokens";
|
package/styles/theme.css
CHANGED
|
@@ -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-
|
|
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";
|
package/styles/tokens.css
CHANGED
|
@@ -126,36 +126,46 @@
|
|
|
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:
|
|
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:
|
|
140
|
+
/* --screen-xs: 320px;
|
|
141
141
|
--screen-sm: 480px;
|
|
142
|
-
--screen-md:
|
|
143
|
-
--screen-lg:
|
|
144
|
-
--screen-xl:
|
|
145
|
-
--screen-2xl:
|
|
146
|
-
--screen-3xl:
|
|
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:
|
|
160
|
+
--media-min-xs: @media (min-width: 320px);
|
|
151
161
|
--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:
|
|
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:
|
|
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-
|
|
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-
|
|
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;
|
package/styles/tokens.ts
CHANGED
|
@@ -5,15 +5,15 @@ export const tokens = {
|
|
|
5
5
|
serif: "Libre Baskerville, serif"
|
|
6
6
|
},
|
|
7
7
|
size: {
|
|
8
|
-
xs: "0.
|
|
9
|
-
sm: "0.
|
|
10
|
-
md: "
|
|
11
|
-
lg: "
|
|
12
|
-
xl: "1.
|
|
13
|
-
"2xl": "
|
|
14
|
-
"3xl": "
|
|
15
|
-
"4xl": "
|
|
16
|
-
"5xl": "
|
|
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:
|
|
151
|
+
xs: "@media (min-width: 320px)",
|
|
161
152
|
sm: "@media (min-width: 480px)",
|
|
162
|
-
md: "@media (min-width:
|
|
163
|
-
lg: "@media (min-width:
|
|
164
|
-
xl: "@media (min-width:
|
|
165
|
-
"2xl": "@media (min-width:
|
|
166
|
-
"3xl": "@media (min-width:
|
|
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:
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["../../../components/FormElements/FormInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA2B,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI3C,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,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;QAC/C,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,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,EAAE,CAAC,EAAE;QACH,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,UAAU,CAAC,EAAE,SAAS,CAAC;QACvB,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EACD,MAAM,GACN,OAAO,GACP,UAAU,GACV,KAAK,GACL,KAAK,GACL,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;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,CA6K9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormInputLabel.d.ts","sourceRoot":"","sources":["../../../components/FormElements/FormInputLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,KAAK,UAAU,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IAC9D,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,cAAc,GAAI,kEAQ5B,UAAU,qDA4BZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/FormElements/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mediaQueries.d.ts","sourceRoot":"","sources":["../../styles/mediaQueries.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;CASvB,CAAC"}
|