@ayseaistudio/ui-components 2.1.1 → 2.2.2

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.
@@ -0,0 +1,17 @@
1
+ import PropTypes from "prop-types";
2
+ import "./style.css";
3
+ interface Props {
4
+ number?: string;
5
+ size: "large" | "x-small" | "XX-small" | "small" | "medium";
6
+ color?: "lime" | "grey" | "green" | "galliano" | "red";
7
+ className?: any;
8
+ }
9
+ export declare const Badge: {
10
+ ({ number, size, color, className, }: Props): React.JSX.Element;
11
+ propTypes: {
12
+ number: PropTypes.Requireable<string>;
13
+ size: PropTypes.Requireable<string>;
14
+ color: PropTypes.Requireable<string>;
15
+ };
16
+ };
17
+ export {};
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import PropTypes from "prop-types";
3
+ import "./style.css";
4
+ export const Badge = ({ number = "1", size, color, className, }) => {
5
+ return (_jsx("div", { className: `badge ${color} ${size} ${className}`, children: ["large", "medium", "small"].includes(size) && (_jsx("div", { className: "element", children: number })) }));
6
+ };
7
+ Badge.propTypes = {
8
+ number: PropTypes.string,
9
+ size: PropTypes.oneOf(["large", "x-small", "XX-small", "small", "medium"]),
10
+ color: PropTypes.oneOf(["lime", "grey", "green", "galliano", "red"]),
11
+ };
@@ -0,0 +1 @@
1
+ export { Badge } from "./Badge";
@@ -0,0 +1 @@
1
+ export { Badge } from "./Badge";
@@ -0,0 +1,150 @@
1
+ .badge {
2
+ border-radius: 96px;
3
+ box-shadow: inset 0px 0px 10px #ffffff40;
4
+ position: relative;
5
+ }
6
+
7
+ .badge .element {
8
+ align-items: center;
9
+ display: flex;
10
+ flex: 1;
11
+ justify-content: center;
12
+ position: relative;
13
+ text-align: center;
14
+ }
15
+
16
+ .badge.galliano {
17
+ background-color: #e6c629;
18
+ top: 180px;
19
+ }
20
+
21
+ .badge.large {
22
+ align-items: center;
23
+ display: flex;
24
+ height: 32px;
25
+ justify-content: center;
26
+ left: 12px;
27
+ padding: 6px;
28
+ width: 32px;
29
+ }
30
+
31
+ .badge.small {
32
+ align-items: center;
33
+ display: flex;
34
+ height: 14px;
35
+ justify-content: center;
36
+ left: 116px;
37
+ padding: 4px;
38
+ width: 14px;
39
+ }
40
+
41
+ .badge.XX-small {
42
+ height: 6px;
43
+ left: 186px;
44
+ width: 6px;
45
+ }
46
+
47
+ .badge.lime {
48
+ background-color: #b1e635;
49
+ top: 68px;
50
+ }
51
+
52
+ .badge.medium {
53
+ align-items: center;
54
+ display: flex;
55
+ height: 24px;
56
+ justify-content: center;
57
+ left: 68px;
58
+ padding: 4px;
59
+ width: 24px;
60
+ }
61
+
62
+ .badge.grey {
63
+ background-color: #3d3d3d;
64
+ top: 12px;
65
+ }
66
+
67
+ .badge.red {
68
+ background-color: #ff6464;
69
+ top: 124px;
70
+ }
71
+
72
+ .badge.x-small {
73
+ height: 8px;
74
+ left: 154px;
75
+ width: 8px;
76
+ }
77
+
78
+ .badge.green {
79
+ background-color: #6ed184;
80
+ top: 236px;
81
+ }
82
+
83
+ .badge.galliano .element {
84
+ color: #3d230b;
85
+ }
86
+
87
+ .badge.large .element {
88
+ font-family: var(--b3-bold-font-family);
89
+ font-size: var(--b3-bold-font-size);
90
+ font-style: var(--b3-bold-font-style);
91
+ font-weight: var(--b3-bold-font-weight);
92
+ letter-spacing: var(--b3-bold-letter-spacing);
93
+ line-height: var(--b3-bold-line-height);
94
+ }
95
+
96
+ .badge.small .element {
97
+ font-family: var(--b4-black-font-family);
98
+ font-size: var(--b4-black-font-size);
99
+ font-style: var(--b4-black-font-style);
100
+ font-weight: var(--b4-black-font-weight);
101
+ letter-spacing: var(--b4-black-letter-spacing);
102
+ line-height: var(--b4-black-line-height);
103
+ margin-bottom: -4.00px;
104
+ margin-top: -6.00px;
105
+ }
106
+
107
+ .badge.XX-small .element {
108
+ font-family: var(--b3-bold-font-family);
109
+ font-size: var(--b3-bold-font-size);
110
+ font-style: var(--b3-bold-font-style);
111
+ font-weight: var(--b3-bold-font-weight);
112
+ letter-spacing: var(--b3-bold-letter-spacing);
113
+ line-height: var(--b3-bold-line-height);
114
+ }
115
+
116
+ .badge.lime .element {
117
+ color: #1d2e05;
118
+ }
119
+
120
+ .badge.medium .element {
121
+ font-family: var(--b3-bold-font-family);
122
+ font-size: var(--b3-bold-font-size);
123
+ font-style: var(--b3-bold-font-style);
124
+ font-weight: var(--b3-bold-font-weight);
125
+ letter-spacing: var(--b3-bold-letter-spacing);
126
+ line-height: var(--b3-bold-line-height);
127
+ margin-top: -1.00px;
128
+ }
129
+
130
+ .badge.grey .element {
131
+ color: #f1f1f1;
132
+ }
133
+
134
+ .badge.red .element {
135
+ color: #fff1f1;
136
+ }
137
+
138
+ .badge.x-small .element {
139
+ font-family: var(--b3-bold-font-family);
140
+ font-size: var(--b3-bold-font-size);
141
+ font-style: var(--b3-bold-font-style);
142
+ font-weight: var(--b3-bold-font-weight);
143
+ letter-spacing: var(--b3-bold-letter-spacing);
144
+ line-height: var(--b3-bold-line-height);
145
+ }
146
+
147
+ .badge.green .element {
148
+ color: #0a2913;
149
+ }
150
+
@@ -0,0 +1,18 @@
1
+ import PropTypes from "prop-types";
2
+ import "./style.css";
3
+ interface Props {
4
+ size: "large" | "medium";
5
+ version: "month-day" | "different-month-day";
6
+ status: "two-task" | "non-task" | "one-task" | "selected" | "focus" | "four-task" | "three-task" | "five-task" | "on-date";
7
+ className: any;
8
+ text: string;
9
+ }
10
+ export declare const CalendarYearDay: {
11
+ ({ size, version, status, className, text, }: Props): React.JSX.Element;
12
+ propTypes: {
13
+ size: PropTypes.Requireable<string>;
14
+ version: PropTypes.Requireable<string>;
15
+ status: PropTypes.Requireable<string>;
16
+ };
17
+ };
18
+ export {};
@@ -0,0 +1,54 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import PropTypes from "prop-types";
3
+ import "./style.css";
4
+ import { Badge } from "../Badge";
5
+ import { TertiaryButton } from "../TertiaryButton";
6
+ import { PrimaryButton } from "../PrimaryButton";
7
+ export const CalendarYearDay = ({ size, version, status, className, text, }) => {
8
+ const getBadgeCount = () => {
9
+ switch (status) {
10
+ case "one-task":
11
+ return 1;
12
+ case "two-task":
13
+ return 2;
14
+ case "three-task":
15
+ return 3;
16
+ case "four-task":
17
+ return 4;
18
+ case "five-task":
19
+ return 5;
20
+ default:
21
+ return 0;
22
+ }
23
+ };
24
+ const getTertiaryButtonClass = () => {
25
+ if (size === "medium") {
26
+ return ["five-task", "focus", "selected"].includes(status) ? "class-5" : "class-3";
27
+ }
28
+ // size === "large"
29
+ if (status === "selected")
30
+ return "class-4";
31
+ if (version === "month-day" && ["five-task", "focus"].includes(status))
32
+ return "class-4";
33
+ return "class-3";
34
+ };
35
+ const badgeCount = getBadgeCount();
36
+ const showTertiaryButton = status !== "on-date";
37
+ const tertiaryButtonClass = getTertiaryButtonClass();
38
+ return (_jsxs("div", { className: `calendar-year-day ${status} ${version} size-0-${size} ${className}`, children: [showTertiaryButton && (_jsx(TertiaryButton, { className: tertiaryButtonClass, color: "black", size: size === "medium" ? "medium" : "large", status: version === "different-month-day" ? "disabled" : "default", text: text })), badgeCount > 0 && (_jsx("div", { className: "frame", children: Array.from({ length: badgeCount }).map((_, idx) => (_jsx(Badge, { size: "XX-small", color: "grey", className: "instance-node" }, idx))) })), status === "on-date" && (_jsx(PrimaryButton, { className: `${size === "medium" ? "class-5" : "class-4"}`, color: "black", size: size === "medium" ? "medium" : "large", status: "default", text: text }))] }));
39
+ };
40
+ CalendarYearDay.propTypes = {
41
+ size: PropTypes.oneOf(["large", "medium"]),
42
+ version: PropTypes.oneOf(["month-day", "different-month-day"]),
43
+ status: PropTypes.oneOf([
44
+ "two-task",
45
+ "non-task",
46
+ "one-task",
47
+ "selected",
48
+ "focus",
49
+ "four-task",
50
+ "three-task",
51
+ "five-task",
52
+ "on-date",
53
+ ]),
54
+ };
@@ -0,0 +1 @@
1
+ export { CalendarYearDay } from "./CalendarYearDay";
@@ -0,0 +1 @@
1
+ export { CalendarYearDay } from "./CalendarYearDay";
@@ -0,0 +1,152 @@
1
+ .calendar-year-day {
2
+ align-items: center;
3
+ flex-direction: column;
4
+ position: relative;
5
+ }
6
+
7
+ .calendar-year-day .class {
8
+ margin-bottom: -1.00px !important;
9
+ margin-left: -0.50px !important;
10
+ margin-right: -0.50px !important;
11
+ margin-top: -3.00px !important;
12
+ }
13
+
14
+ .calendar-year-day .class-2 {
15
+ margin-bottom: -1.00px !important;
16
+ margin-top: -3.00px !important;
17
+ }
18
+
19
+ .calendar-year-day .class-3 {
20
+ align-self: stretch !important;
21
+ display: flex !important;
22
+ }
23
+
24
+ .calendar-year-day .class-4 {
25
+ align-self: stretch !important;
26
+ display: flex !important;
27
+ height: 44px !important;
28
+ left: unset !important;
29
+ top: unset !important;
30
+ width: 100% !important;
31
+ }
32
+
33
+ .calendar-year-day .class-5 {
34
+ align-self: stretch !important;
35
+ display: flex !important;
36
+ height: 36px !important;
37
+ left: unset !important;
38
+ top: unset !important;
39
+ width: 100% !important;
40
+ }
41
+
42
+ .calendar-year-day .frame {
43
+ align-items: flex-start;
44
+ flex: 0 0 auto;
45
+ gap: 2px;
46
+ position: relative;
47
+ }
48
+
49
+ .calendar-year-day.non-task {
50
+ justify-content: space-around;
51
+ }
52
+
53
+ .calendar-year-day.focus {
54
+ border: 1px solid;
55
+ border-radius: 8px;
56
+ }
57
+
58
+ .calendar-year-day.on-date {
59
+ background-color: #e7e7e7;
60
+ border-radius: 8px;
61
+ }
62
+
63
+ .calendar-year-day.month-day {
64
+ display: flex;
65
+ }
66
+
67
+ .calendar-year-day.size-0-medium {
68
+ display: flex;
69
+ width: 36px;
70
+ }
71
+
72
+ .calendar-year-day.selected {
73
+ background-color: #e7e7e7;
74
+ border-radius: 8px;
75
+ }
76
+
77
+ .calendar-year-day.focus.different-month-day {
78
+ background-color: #eeeeee;
79
+ border-color: #b0b0b0;
80
+ }
81
+
82
+ .calendar-year-day.size-0-medium.one-task {
83
+ height: 36px;
84
+ }
85
+
86
+ .calendar-year-day.four-task.size-0-large {
87
+ height: 44px;
88
+ }
89
+
90
+ .calendar-year-day.three-task.size-0-medium {
91
+ height: 36px;
92
+ }
93
+
94
+ .calendar-year-day.two-task.size-0-large {
95
+ height: 44px;
96
+ }
97
+
98
+ .calendar-year-day.focus.month-day {
99
+ background-color: #e7e7e7;
100
+ border-color: #888888;
101
+ }
102
+
103
+ .calendar-year-day.non-task.size-0-large {
104
+ height: 44px;
105
+ }
106
+
107
+ .calendar-year-day.three-task.size-0-large {
108
+ height: 44px;
109
+ }
110
+
111
+ .calendar-year-day.four-task.size-0-medium {
112
+ height: 36px;
113
+ }
114
+
115
+ .calendar-year-day.two-task.size-0-medium {
116
+ height: 36px;
117
+ }
118
+
119
+ .calendar-year-day.size-0-large.month-day {
120
+ width: 44px;
121
+ }
122
+
123
+ .calendar-year-day.size-0-large.different-month-day {
124
+ display: inline-flex;
125
+ }
126
+
127
+ .calendar-year-day.non-task.size-0-medium {
128
+ height: 36px;
129
+ }
130
+
131
+ .calendar-year-day.size-0-large.one-task {
132
+ height: 44px;
133
+ }
134
+
135
+ .calendar-year-day.focus.size-0-large.different-month-day {
136
+ height: 44px;
137
+ }
138
+
139
+ .calendar-year-day.five-task.size-0-large.different-month-day {
140
+ height: 44px;
141
+ }
142
+
143
+ .calendar-year-day.size-0-large .frame {
144
+ display: inline-flex;
145
+ }
146
+
147
+ .calendar-year-day.size-0-medium .frame {
148
+ align-self: stretch;
149
+ display: flex;
150
+ justify-content: center;
151
+ width: 100%;
152
+ }
@@ -0,0 +1,22 @@
1
+ import PropTypes from "prop-types";
2
+ import "./style.css";
3
+ interface Props {
4
+ text?: string;
5
+ size?: "large" | "x-small" | "medium" | "small";
6
+ status?: "default" | "selected" | "hover";
7
+ color?: "mauve" | "lime" | "black" | "blue" | "galliano" | "red";
8
+ className?: string;
9
+ fieldClassName?: string;
10
+ onClick?: () => void;
11
+ }
12
+ export declare const Checkbox: {
13
+ ({ text, size, status, color, className, fieldClassName, onClick, }: Props): React.JSX.Element;
14
+ propTypes: {
15
+ text: PropTypes.Requireable<string>;
16
+ withText: PropTypes.Requireable<boolean>;
17
+ size: PropTypes.Requireable<string>;
18
+ status: PropTypes.Requireable<string>;
19
+ color: PropTypes.Requireable<string>;
20
+ };
21
+ };
22
+ export {};
@@ -0,0 +1,40 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import PropTypes from "prop-types";
3
+ import { useReducer } from "react";
4
+ import "./style.css";
5
+ import { IconCheck } from "@tabler/icons-react";
6
+ export const Checkbox = ({ text, size, status, color, className, fieldClassName, onClick, }) => {
7
+ const initialState = {
8
+ size: size ?? "large",
9
+ status: status ?? "selected",
10
+ color: color ?? "black",
11
+ };
12
+ const [state, dispatch] = useReducer(reducer, initialState);
13
+ return (_jsxs("div", { className: `checkbox ${state.size} ${state.color} ${state.status} ${className}`, onMouseEnter: () => {
14
+ dispatch("mouse_enter");
15
+ }, onMouseLeave: () => {
16
+ dispatch("mouse_leave");
17
+ }, onClick: () => {
18
+ dispatch("click");
19
+ onClick?.();
20
+ }, children: [_jsx("div", { className: `field ${fieldClassName}`, children: state.status === "selected" && (_jsx(IconCheck, { className: `${state.size === "large" ? "class" : (state.size === "x-small") ? "class-2" : "class-3"}`, color: ["lime", "mauve"].includes(state.color) ? "#3D3D3D" : "#F1F1F1" })) }), text && _jsx("div", { className: "text", children: text })] }));
21
+ };
22
+ function reducer(state, action) {
23
+ switch (action) {
24
+ case "mouse_enter":
25
+ return state.status === "default" ? { ...state, status: "hover" } : state;
26
+ case "mouse_leave":
27
+ return state.status === "hover" ? { ...state, status: "default" } : state;
28
+ case "click":
29
+ return { ...state, status: state.status === "selected" ? "default" : "selected" };
30
+ default:
31
+ return state;
32
+ }
33
+ }
34
+ Checkbox.propTypes = {
35
+ text: PropTypes.string,
36
+ withText: PropTypes.bool,
37
+ size: PropTypes.oneOf(["large", "x-small", "medium", "small"]),
38
+ status: PropTypes.oneOf(["default", "selected", "hover"]),
39
+ color: PropTypes.oneOf(["mauve", "lime", "black", "blue", "galliano", "red"]),
40
+ };
@@ -0,0 +1 @@
1
+ export { Checkbox } from "./Checkbox";
@@ -0,0 +1 @@
1
+ export { Checkbox } from "./Checkbox";
@@ -0,0 +1,406 @@
1
+ .checkbox {
2
+ align-items: center;
3
+ background-color: #f7f7f7;
4
+ border: 1px solid;
5
+ border-color: #e7e7e7;
6
+ display: inline-flex;
7
+ padding: 6px 8px 6px 6px;
8
+ position: relative;
9
+ cursor: pointer;
10
+ }
11
+
12
+ .checkbox .field {
13
+ position: relative;
14
+ }
15
+
16
+ .checkbox .class {
17
+ height: 20px !important;
18
+ left: calc(50.00% - 10px) !important;
19
+ position: absolute !important;
20
+ top: calc(50.00% - 10px) !important;
21
+ width: 20px !important;
22
+ }
23
+
24
+ .checkbox .class-2 {
25
+ height: 12px !important;
26
+ left: calc(50.00% - 6px) !important;
27
+ position: absolute !important;
28
+ top: calc(50.00% - 6px) !important;
29
+ width: 12px !important;
30
+ }
31
+
32
+ .checkbox .class-3 {
33
+ height: 16px !important;
34
+ left: calc(50.00% - 8px) !important;
35
+ position: absolute !important;
36
+ top: calc(50.00% - 8px) !important;
37
+ width: 16px !important;
38
+ }
39
+
40
+ .checkbox .text {
41
+ align-items: center;
42
+ display: flex;
43
+ justify-content: center;
44
+ position: relative;
45
+ text-align: center;
46
+ white-space: nowrap;
47
+ width: fit-content;
48
+ }
49
+
50
+ .checkbox.large {
51
+ border-radius: 16px;
52
+ gap: 4px;
53
+ }
54
+
55
+ .checkbox.small {
56
+ border-radius: 12px;
57
+ gap: 4px;
58
+ }
59
+
60
+ .checkbox.medium {
61
+ border-radius: 12px;
62
+ gap: 4px;
63
+ }
64
+
65
+ .checkbox.x-small {
66
+ border-radius: 8px;
67
+ gap: 6px;
68
+ }
69
+
70
+ .checkbox.large .field {
71
+ border-radius: 12px;
72
+ height: 30px;
73
+ width: 30px;
74
+ }
75
+
76
+ .checkbox.small .field {
77
+ border-radius: 8px;
78
+ height: 22px;
79
+ width: 22px;
80
+ }
81
+
82
+ .checkbox.default .field {
83
+ border: 1px solid;
84
+ box-shadow: inset 0px 0px 4px #0000001a;
85
+ }
86
+
87
+ .checkbox.medium .field {
88
+ border-radius: 8px;
89
+ height: 24px;
90
+ width: 24px;
91
+ }
92
+
93
+ .checkbox.selected .field {
94
+ box-shadow: inset 0px 0px 10px #ffffff40;
95
+ overflow: hidden;
96
+ }
97
+
98
+ .checkbox.hover .field {
99
+ border: 1px solid;
100
+ box-shadow: inset 0px 0px 4px #0000001a;
101
+ }
102
+
103
+ .checkbox.x-small .field {
104
+ border-radius: 4px;
105
+ height: 18px;
106
+ width: 18px;
107
+ }
108
+
109
+ .checkbox.lime.selected .field {
110
+ background-color: #b1e635;
111
+ }
112
+
113
+ .checkbox.x-small.selected .field {
114
+ aspect-ratio: 1;
115
+ }
116
+
117
+ .checkbox.hover.galliano .field {
118
+ background-color: #b989151a;
119
+ }
120
+
121
+ .checkbox.lime.default .field {
122
+ background-color: #71a30d1a;
123
+ border-color: #71a30d66;
124
+ }
125
+
126
+ .checkbox.hover.black .field {
127
+ background-color: #d1d1d1;
128
+ border-color: #b0b0b0;
129
+ }
130
+
131
+ .checkbox.red.default .field {
132
+ background-color: #ed15151a;
133
+ border-color: #ed15151a;
134
+ }
135
+
136
+ .checkbox.default.mauve .field {
137
+ background-color: #a931ec1a;
138
+ border-color: #a931ec33;
139
+ }
140
+
141
+ .checkbox.x-small.hover .field {
142
+ aspect-ratio: 1;
143
+ }
144
+
145
+ .checkbox.default.black .field {
146
+ background-color: #e7e7e7;
147
+ border-color: #d1d1d1;
148
+ }
149
+
150
+ .checkbox.galliano.default .field {
151
+ background-color: #b989151a;
152
+ border-color: #b989151a;
153
+ }
154
+
155
+ .checkbox.lime.hover .field {
156
+ background-color: #71a30d1a;
157
+ }
158
+
159
+ .checkbox.black.selected .field {
160
+ background-color: #454545;
161
+ }
162
+
163
+ .checkbox.galliano.selected .field {
164
+ background-color: #b98915;
165
+ }
166
+
167
+ .checkbox.mauve.selected .field {
168
+ background-color: #cf82fe;
169
+ }
170
+
171
+ .checkbox.hover.mauve .field {
172
+ background-color: #a931ec1a;
173
+ }
174
+
175
+ .checkbox.red.hover .field {
176
+ background-color: #ed15151a;
177
+ }
178
+
179
+ .checkbox.red.selected .field {
180
+ background-color: #ed1515;
181
+ }
182
+
183
+ .checkbox.medium.blue.selected .field {
184
+ background-color: #8361f1;
185
+ }
186
+
187
+ .checkbox.lime.hover.x-small .field {
188
+ border-color: #71a30d66;
189
+ }
190
+
191
+ .checkbox.x-small.hover.mauve .field {
192
+ border-color: #71a30d66;
193
+ }
194
+
195
+ .checkbox.default.blue.medium .field {
196
+ background-color: #7240e71a;
197
+ border-color: #7240e733;
198
+ }
199
+
200
+ .checkbox.lime.hover.small .field {
201
+ border-color: #71a30d99;
202
+ }
203
+
204
+ .checkbox.x-small.hover.blue .field {
205
+ border-color: #71a30d66;
206
+ }
207
+
208
+ .checkbox.x-small.red.hover .field {
209
+ border-color: #71a30d66;
210
+ }
211
+
212
+ .checkbox.hover.mauve.large .field {
213
+ border-color: #a931ec66;
214
+ }
215
+
216
+ .checkbox.hover.red.large .field {
217
+ border-color: #ed15151a;
218
+ }
219
+
220
+ .checkbox.lime.default.medium .field {
221
+ aspect-ratio: 1;
222
+ }
223
+
224
+ .checkbox.hover.galliano.medium .field {
225
+ border-color: #b989151a;
226
+ }
227
+
228
+ .checkbox.default.blue.large .field {
229
+ background-color: #7240e71a;
230
+ border-color: #7240e733;
231
+ }
232
+
233
+ .checkbox.lime.hover.large .field {
234
+ border-color: #71a30d99;
235
+ }
236
+
237
+ .checkbox.large.blue.selected .field {
238
+ background-color: #8361f1;
239
+ }
240
+
241
+ .checkbox.hover.blue.medium .field {
242
+ background-color: #7240e71a;
243
+ border-color: #7240e74c;
244
+ }
245
+
246
+ .checkbox.hover.small.blue .field {
247
+ background-color: #ed15151a;
248
+ border-color: #ed15151a;
249
+ }
250
+
251
+ .checkbox.x-small.hover.galliano .field {
252
+ border-color: #71a30d66;
253
+ }
254
+
255
+ .checkbox.hover.galliano.small .field {
256
+ border-color: #b989151a;
257
+ }
258
+
259
+ .checkbox.red.small.hover .field {
260
+ border-color: #ed15151a;
261
+ }
262
+
263
+ .checkbox.hover.mauve.medium .field {
264
+ border-color: #a931ec66;
265
+ }
266
+
267
+ .checkbox.hover.red.medium .field {
268
+ border-color: #ed15151a;
269
+ }
270
+
271
+ .checkbox.default.small.blue .field {
272
+ background-color: #ed15151a;
273
+ border-color: #ed15151a;
274
+ }
275
+
276
+ .checkbox.lime.hover.medium .field {
277
+ border-color: #71a30d99;
278
+ }
279
+
280
+ .checkbox.small.blue.selected .field {
281
+ background-color: #ed1515;
282
+ }
283
+
284
+ .checkbox.hover.blue.large .field {
285
+ background-color: #7240e71a;
286
+ border-color: #7240e74c;
287
+ }
288
+
289
+ .checkbox.hover.small.mauve .field {
290
+ border-color: #a931ec66;
291
+ }
292
+
293
+ .checkbox.hover.galliano.large .field {
294
+ border-color: #b989151a;
295
+ }
296
+
297
+ .checkbox.large .text {
298
+ font-family: var(--b1-medium-font-family);
299
+ font-size: var(--b1-medium-font-size);
300
+ font-style: var(--b1-medium-font-style);
301
+ font-weight: var(--b1-medium-font-weight);
302
+ letter-spacing: var(--b1-medium-letter-spacing);
303
+ line-height: var(--b1-medium-line-height);
304
+ }
305
+
306
+ .checkbox.default .text {
307
+ color: #888888;
308
+ }
309
+
310
+ .checkbox.medium .text {
311
+ font-family: var(--b1-medium-font-family);
312
+ font-size: var(--b1-medium-font-size);
313
+ font-style: var(--b1-medium-font-style);
314
+ font-weight: var(--b1-medium-font-weight);
315
+ letter-spacing: var(--b1-medium-letter-spacing);
316
+ line-height: var(--b1-medium-line-height);
317
+ }
318
+
319
+ .checkbox.selected .text {
320
+ color: #3d3d3d;
321
+ }
322
+
323
+ .checkbox.x-small .text {
324
+ font-family: var(--b2-medium-font-family);
325
+ font-size: var(--b2-medium-font-size);
326
+ font-style: var(--b2-medium-font-style);
327
+ font-weight: var(--b2-medium-font-weight);
328
+ letter-spacing: var(--b2-medium-letter-spacing);
329
+ line-height: var(--b2-medium-line-height);
330
+ }
331
+
332
+ .checkbox.galliano.small .text {
333
+ font-family: var(--b2-medium-font-family);
334
+ font-size: var(--b2-medium-font-size);
335
+ font-style: var(--b2-medium-font-style);
336
+ font-weight: var(--b2-medium-font-weight);
337
+ letter-spacing: var(--b2-medium-letter-spacing);
338
+ line-height: var(--b2-medium-line-height);
339
+ }
340
+
341
+ .checkbox.small.blue .text {
342
+ font-family: var(--b2-medium-font-family);
343
+ font-size: var(--b2-medium-font-size);
344
+ font-style: var(--b2-medium-font-style);
345
+ font-weight: var(--b2-medium-font-weight);
346
+ letter-spacing: var(--b2-medium-letter-spacing);
347
+ line-height: var(--b2-medium-line-height);
348
+ }
349
+
350
+ .checkbox.hover.small .text {
351
+ color: #5d5d5d;
352
+ font-family: var(--b2-medium-font-family);
353
+ font-size: var(--b2-medium-font-size);
354
+ font-style: var(--b2-medium-font-style);
355
+ font-weight: var(--b2-medium-font-weight);
356
+ letter-spacing: var(--b2-medium-letter-spacing);
357
+ line-height: var(--b2-medium-line-height);
358
+ }
359
+
360
+ .checkbox.x-small.hover .text {
361
+ color: #3d3d3d;
362
+ }
363
+
364
+ .checkbox.small.mauve .text {
365
+ font-family: var(--b2-medium-font-family);
366
+ font-size: var(--b2-medium-font-size);
367
+ font-style: var(--b2-medium-font-style);
368
+ font-weight: var(--b2-medium-font-weight);
369
+ letter-spacing: var(--b2-medium-letter-spacing);
370
+ line-height: var(--b2-medium-line-height);
371
+ }
372
+
373
+ .checkbox.hover.medium .text {
374
+ color: #5d5d5d;
375
+ }
376
+
377
+ .checkbox.hover.large .text {
378
+ color: #5d5d5d;
379
+ }
380
+
381
+ .checkbox.small.selected .text {
382
+ font-family: var(--b2-medium-font-family);
383
+ font-size: var(--b2-medium-font-size);
384
+ font-style: var(--b2-medium-font-style);
385
+ font-weight: var(--b2-medium-font-weight);
386
+ letter-spacing: var(--b2-medium-letter-spacing);
387
+ line-height: var(--b2-medium-line-height);
388
+ }
389
+
390
+ .checkbox.small.black .text {
391
+ font-family: var(--b2-medium-font-family);
392
+ font-size: var(--b2-medium-font-size);
393
+ font-style: var(--b2-medium-font-style);
394
+ font-weight: var(--b2-medium-font-weight);
395
+ letter-spacing: var(--b2-medium-letter-spacing);
396
+ line-height: var(--b2-medium-line-height);
397
+ }
398
+
399
+ .checkbox.lime.default.small .text {
400
+ font-family: var(--b2-medium-font-family);
401
+ font-size: var(--b2-medium-font-size);
402
+ font-style: var(--b2-medium-font-style);
403
+ font-weight: var(--b2-medium-font-weight);
404
+ letter-spacing: var(--b2-medium-letter-spacing);
405
+ line-height: var(--b2-medium-line-height);
406
+ }
package/dist/Tags/Tags.js CHANGED
@@ -21,7 +21,7 @@ const getIconColor = (colors, disabled) => {
21
21
  }
22
22
  return undefined;
23
23
  };
24
- export const Tags = ({ text = "Text", size, colors, version, disabled, className, icon, }) => {
24
+ export const Tags = ({ text, size, colors, version, disabled, className, icon, }) => {
25
25
  return (_jsxs("div", { className: `tags ${colors} ${size} ${version} ${className}`, children: [icon && (React.cloneElement(icon, {
26
26
  className: `${["small", "x-small"].includes(size) ? "class" : "class-2"}`,
27
27
  color: getIconColor(colors, disabled)
package/dist/index.d.ts CHANGED
@@ -15,3 +15,6 @@ export { PlatformsButton } from "./PlatformsButton/PlatformsButton";
15
15
  export { PlatformSelector } from "./PlatformSelector/PlatformSelector";
16
16
  export { SingleSlider } from "./SingleSlider/SingleSlider";
17
17
  export { ProfileButton } from "./ProfileButton/ProfileButton";
18
+ export { Checkbox } from "./Checkbox/Checkbox";
19
+ export { Badge } from "./Badge/Badge";
20
+ export { CalendarYearDay } from "./CalendarYearDay/CalendarYearDay";
package/dist/index.js CHANGED
@@ -15,3 +15,6 @@ export { PlatformsButton } from "./PlatformsButton/PlatformsButton";
15
15
  export { PlatformSelector } from "./PlatformSelector/PlatformSelector";
16
16
  export { SingleSlider } from "./SingleSlider/SingleSlider";
17
17
  export { ProfileButton } from "./ProfileButton/ProfileButton";
18
+ export { Checkbox } from "./Checkbox/Checkbox";
19
+ export { Badge } from "./Badge/Badge";
20
+ export { CalendarYearDay } from "./CalendarYearDay/CalendarYearDay";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayseaistudio/ui-components",
3
- "version": "2.1.1",
3
+ "version": "2.2.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",