@ayseaistudio/ui-components 1.0.2 → 2.0.0
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/dist/Activity/Activity.d.ts +15 -0
- package/dist/Activity/Activity.js +10 -0
- package/dist/Activity/index.d.ts +1 -0
- package/dist/Activity/index.js +1 -0
- package/dist/Activity/style.css +84 -0
- package/dist/Avatar/Avatar.d.ts +21 -0
- package/dist/Avatar/Avatar.js +23 -0
- package/dist/Avatar/index.d.ts +1 -0
- package/dist/Avatar/index.js +1 -0
- package/dist/Avatar/style.css +324 -0
- package/dist/Dot/Dot.d.ts +15 -0
- package/dist/Dot/Dot.js +10 -0
- package/dist/Dot/index.d.ts +1 -0
- package/dist/Dot/index.js +1 -0
- package/dist/Dot/style.css +24 -0
- package/dist/InputField/InputField.d.ts +56 -0
- package/dist/InputField/InputField.js +81 -0
- package/dist/InputField/index.d.ts +1 -0
- package/dist/InputField/index.js +1 -0
- package/dist/InputField/style.css +239 -0
- package/dist/Label/style.css +2 -0
- package/dist/Loader/Loader.d.ts +8 -0
- package/dist/Loader/Loader.js +8 -0
- package/dist/Loader/index.d.ts +1 -0
- package/dist/Loader/index.js +1 -0
- package/dist/Loader/style.css +21 -0
- package/dist/LoginInput/LoginInput.d.ts +33 -0
- package/dist/LoginInput/LoginInput.js +97 -0
- package/dist/LoginInput/index.d.ts +1 -0
- package/dist/LoginInput/index.js +1 -0
- package/dist/LoginInput/style.css +109 -0
- package/dist/Page/Page.d.ts +20 -0
- package/dist/Page/Page.js +16 -0
- package/dist/Page/index.d.ts +1 -0
- package/dist/Page/index.js +1 -0
- package/dist/Page/style.css +65 -0
- package/dist/PlatformSelector/PlatformSelector.d.ts +16 -0
- package/dist/PlatformSelector/PlatformSelector.js +11 -0
- package/dist/PlatformSelector/index.d.ts +1 -0
- package/dist/PlatformSelector/index.js +1 -0
- package/dist/PlatformSelector/style.css +61 -0
- package/dist/PlatformsButton/PlatformsButton.d.ts +20 -0
- package/dist/PlatformsButton/PlatformsButton.js +35 -0
- package/dist/PlatformsButton/index.d.ts +1 -0
- package/dist/PlatformsButton/index.js +1 -0
- package/dist/PlatformsButton/style.css +88 -0
- package/dist/SingleSlider/SingleSlider.d.ts +23 -0
- package/dist/SingleSlider/SingleSlider.js +17 -0
- package/dist/SingleSlider/index.d.ts +1 -0
- package/dist/SingleSlider/index.js +1 -0
- package/dist/SingleSlider/style.css +54 -0
- package/dist/Tags/Tags.d.ts +25 -0
- package/dist/Tags/Tags.js +47 -0
- package/dist/Tags/index.d.ts +1 -0
- package/dist/Tags/index.js +1 -0
- package/dist/Tags/style.css +173 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/package.json +2 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.platform-selector {
|
|
2
|
+
align-items: center;
|
|
3
|
+
border: 1px solid;
|
|
4
|
+
border-color: #e7e7e7;
|
|
5
|
+
border-radius: 8px;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
padding: 4px;
|
|
9
|
+
position: relative;
|
|
10
|
+
width: inherit;
|
|
11
|
+
height: 32px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.platform-selector .frame-platform-selector {
|
|
15
|
+
align-items: center;
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
flex: 0 0 auto;
|
|
18
|
+
gap: 6px;
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.platform-selector .icon-agent {
|
|
23
|
+
align-items: center;
|
|
24
|
+
background: linear-gradient(
|
|
25
|
+
225deg,
|
|
26
|
+
rgba(255, 255, 255, 1) 0%,
|
|
27
|
+
rgba(218, 243, 159, 1) 48%,
|
|
28
|
+
rgba(177, 230, 53, 1) 100%
|
|
29
|
+
);
|
|
30
|
+
border-radius: 5px;
|
|
31
|
+
display: inline-flex;
|
|
32
|
+
flex: 0 0 auto;
|
|
33
|
+
gap: 10px;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
padding: 4px;
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.platform-selector .icons {
|
|
40
|
+
height: 16px !important;
|
|
41
|
+
position: relative !important;
|
|
42
|
+
width: 16px !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.platform-selector .text-wrapper {
|
|
46
|
+
-webkit-box-orient: vertical;
|
|
47
|
+
-webkit-line-clamp: 1;
|
|
48
|
+
color: #454545;
|
|
49
|
+
display: -webkit-box;
|
|
50
|
+
font-family: var(--b1-bold-font-family);
|
|
51
|
+
font-size: var(--b1-bold-font-size);
|
|
52
|
+
font-style: var(--b1-bold-font-style);
|
|
53
|
+
font-weight: var(--b1-bold-font-weight);
|
|
54
|
+
letter-spacing: var(--b1-bold-letter-spacing);
|
|
55
|
+
line-height: var(--b1-bold-line-height);
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
position: relative;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
width: fit-content;
|
|
61
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import PropTypes from "prop-types";
|
|
2
|
+
import "./style.css";
|
|
3
|
+
interface Props {
|
|
4
|
+
titleText: string;
|
|
5
|
+
subtext: string;
|
|
6
|
+
property1: "hover" | "default";
|
|
7
|
+
className: any;
|
|
8
|
+
icon: React.JSX.Element;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const PlatformsButton: {
|
|
13
|
+
({ titleText, subtext, property1, className, icon, onClick, disabled, }: Props): React.JSX.Element;
|
|
14
|
+
propTypes: {
|
|
15
|
+
titleText: PropTypes.Requireable<string>;
|
|
16
|
+
subtext: PropTypes.Requireable<string>;
|
|
17
|
+
property1: PropTypes.Requireable<string>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { IconLayoutDashboard } from "@tabler/icons-react";
|
|
6
|
+
export const PlatformsButton = ({ titleText = "Agentmaker", subtext = "Create AI Agents", property1, className, icon = _jsx(IconLayoutDashboard, { className: "icons" }), onClick, disabled = false, }) => {
|
|
7
|
+
const [state, dispatch] = useReducer(reducer, {
|
|
8
|
+
property1: property1 || "default",
|
|
9
|
+
});
|
|
10
|
+
return (_jsxs("div", { className: `platforms-button ${state.property1} ${className} ${disabled ? "disabled" : ""}`, onMouseLeave: () => {
|
|
11
|
+
dispatch("mouse_leave");
|
|
12
|
+
}, onMouseEnter: () => {
|
|
13
|
+
dispatch("mouse_enter");
|
|
14
|
+
}, onClick: disabled ? undefined : onClick, style: { cursor: disabled ? 'not-allowed' : 'pointer', opacity: disabled ? 0.5 : 1 }, children: [_jsx("div", { className: "icon-agent", children: icon }), _jsxs("div", { className: "frame", children: [_jsx("div", { className: "agentmaker", children: titleText }), _jsx("div", { className: "create-AI-agents", children: subtext })] })] }));
|
|
15
|
+
};
|
|
16
|
+
function reducer(state, action) {
|
|
17
|
+
switch (action) {
|
|
18
|
+
case "mouse_enter":
|
|
19
|
+
return {
|
|
20
|
+
...state,
|
|
21
|
+
property1: "hover",
|
|
22
|
+
};
|
|
23
|
+
case "mouse_leave":
|
|
24
|
+
return {
|
|
25
|
+
...state,
|
|
26
|
+
property1: "default",
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
return state;
|
|
30
|
+
}
|
|
31
|
+
PlatformsButton.propTypes = {
|
|
32
|
+
titleText: PropTypes.string,
|
|
33
|
+
subtext: PropTypes.string,
|
|
34
|
+
property1: PropTypes.oneOf(["hover", "default"]),
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PlatformsButton } from "./PlatformsButton";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PlatformsButton } from "./PlatformsButton";
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.platforms-button {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
padding: 6px;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 183px;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.platforms-button .icon-agent {
|
|
12
|
+
align-items: center;
|
|
13
|
+
background: linear-gradient(
|
|
14
|
+
225deg,
|
|
15
|
+
rgba(255, 255, 255, 1) 0%,
|
|
16
|
+
rgba(218, 243, 159, 1) 48%,
|
|
17
|
+
rgba(177, 230, 53, 1) 100%
|
|
18
|
+
);
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
flex: 0 0 auto;
|
|
22
|
+
gap: 10px;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
padding: 6px;
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.platforms-button .frame {
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
position: relative;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.platforms-button .agentmaker {
|
|
36
|
+
-webkit-box-orient: vertical;
|
|
37
|
+
-webkit-line-clamp: 0;
|
|
38
|
+
color: #454545;
|
|
39
|
+
display: -webkit-box;
|
|
40
|
+
font-family: var(--b1-medium-font-family);
|
|
41
|
+
font-size: var(--b1-medium-font-size);
|
|
42
|
+
font-style: var(--b1-medium-font-style);
|
|
43
|
+
font-weight: var(--b1-medium-font-weight);
|
|
44
|
+
letter-spacing: var(--b1-medium-letter-spacing);
|
|
45
|
+
line-height: var(--b1-medium-line-height);
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
position: relative;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.platforms-button .create-AI-agents {
|
|
54
|
+
align-self: stretch;
|
|
55
|
+
color: #888888;
|
|
56
|
+
font-family: var(--b3-medium-font-family);
|
|
57
|
+
font-size: var(--b3-medium-font-size);
|
|
58
|
+
font-style: var(--b3-medium-font-style);
|
|
59
|
+
font-weight: var(--b3-medium-font-weight);
|
|
60
|
+
height: 14px;
|
|
61
|
+
letter-spacing: var(--b3-medium-letter-spacing);
|
|
62
|
+
line-height: var(--b3-medium-line-height);
|
|
63
|
+
position: relative;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.platforms-button .icons {
|
|
69
|
+
height: 22px !important;
|
|
70
|
+
position: relative !important;
|
|
71
|
+
width: 22px !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.platforms-button.hover {
|
|
75
|
+
background-color: #f1f1f1;
|
|
76
|
+
border-radius: 6px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.platforms-button.hover .frame {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex: 1;
|
|
82
|
+
flex-grow: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.platforms-button.default .frame {
|
|
86
|
+
display: inline-flex;
|
|
87
|
+
flex: 0 0 auto;
|
|
88
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import PropTypes from "prop-types";
|
|
2
|
+
import "./style.css";
|
|
3
|
+
interface Props {
|
|
4
|
+
size: "large";
|
|
5
|
+
status: "zero";
|
|
6
|
+
value?: number;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
onChange?: (value: number) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const SingleSlider: {
|
|
14
|
+
({ size, status, value, min, max, onChange, className, disabled, }: Props): React.JSX.Element;
|
|
15
|
+
propTypes: {
|
|
16
|
+
size: PropTypes.Requireable<string>;
|
|
17
|
+
status: PropTypes.Requireable<string>;
|
|
18
|
+
value: PropTypes.Requireable<number>;
|
|
19
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
className: PropTypes.Requireable<string>;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import "./style.css";
|
|
4
|
+
export const SingleSlider = ({ size, status, value = 0, min = 0, max = 100, onChange, className, disabled = false, }) => {
|
|
5
|
+
const handleChange = (e) => {
|
|
6
|
+
const newValue = parseFloat(e.target.value);
|
|
7
|
+
onChange?.(newValue);
|
|
8
|
+
};
|
|
9
|
+
return (_jsxs("div", { className: `single-slider ${size} ${status} ${className || ''}`, style: disabled ? { opacity: 0.5, pointerEvents: 'none' } : {}, children: [_jsx("input", { type: "range", min: min, max: max, value: value, onChange: handleChange, className: "slider-input", disabled: disabled }), _jsx("div", { className: "slider-progress", style: { width: `${(value / max) * 100}%` } })] }));
|
|
10
|
+
};
|
|
11
|
+
SingleSlider.propTypes = {
|
|
12
|
+
size: PropTypes.oneOf(["large"]),
|
|
13
|
+
status: PropTypes.oneOf(["zero"]),
|
|
14
|
+
value: PropTypes.number,
|
|
15
|
+
onChange: PropTypes.func,
|
|
16
|
+
className: PropTypes.string,
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SingleSlider } from "./SingleSlider";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SingleSlider } from "./SingleSlider";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.single-slider {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 12px !important;
|
|
5
|
+
border-radius: 96px;
|
|
6
|
+
background-color: rgba(36, 36, 36, 0.2);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.slider-input {
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
z-index: 2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.slider-progress {
|
|
19
|
+
position: absolute;
|
|
20
|
+
height: 100%;
|
|
21
|
+
background-color: #303030;
|
|
22
|
+
border-radius: 96px;
|
|
23
|
+
transition: width 0.1s ease;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.slider-input::-webkit-slider-thumb {
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
width: 16px;
|
|
29
|
+
height: 16px;
|
|
30
|
+
background: #303030;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
margin-top: -6px;
|
|
34
|
+
z-index: 3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.slider-input::-moz-range-thumb {
|
|
38
|
+
width: 16px;
|
|
39
|
+
height: 16px;
|
|
40
|
+
background: #303030;
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
border: none;
|
|
44
|
+
z-index: 3;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.slider-input::-ms-thumb {
|
|
48
|
+
width: 16px;
|
|
49
|
+
height: 16px;
|
|
50
|
+
background: #303030;
|
|
51
|
+
border-radius: 50%;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
z-index: 3;
|
|
54
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import "./style.css";
|
|
4
|
+
interface Props {
|
|
5
|
+
text?: string;
|
|
6
|
+
size: "large" | "x-small" | "medium" | "small";
|
|
7
|
+
colors: "mauve" | "lime" | "black" | "blue" | "orange" | "galliano" | "green" | "red";
|
|
8
|
+
version?: "vertical" | "horizontal";
|
|
9
|
+
disabled?: "off" | "on";
|
|
10
|
+
className?: any;
|
|
11
|
+
icon?: React.JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
export declare const Tags: {
|
|
14
|
+
({ text, size, colors, version, disabled, className, icon, }: Props): React.JSX.Element;
|
|
15
|
+
propTypes: {
|
|
16
|
+
text: PropTypes.Requireable<string>;
|
|
17
|
+
withText: PropTypes.Requireable<boolean>;
|
|
18
|
+
withIcon: PropTypes.Requireable<boolean>;
|
|
19
|
+
size: PropTypes.Requireable<string>;
|
|
20
|
+
colors: PropTypes.Requireable<string>;
|
|
21
|
+
version: PropTypes.Requireable<string>;
|
|
22
|
+
disabled: PropTypes.Requireable<string>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import "./style.css";
|
|
5
|
+
const getIconColor = (colors, disabled) => {
|
|
6
|
+
if (disabled === "on") {
|
|
7
|
+
return "#B0B0B0";
|
|
8
|
+
}
|
|
9
|
+
if (disabled === "off") {
|
|
10
|
+
const colorMap = {
|
|
11
|
+
black: "#3D3D3D",
|
|
12
|
+
lime: "#567C0F",
|
|
13
|
+
mauve: "#9320D0",
|
|
14
|
+
blue: "#7240E7",
|
|
15
|
+
red: "#ED1515",
|
|
16
|
+
orange: "#E44012",
|
|
17
|
+
galliano: "#B98915",
|
|
18
|
+
green: "#289140"
|
|
19
|
+
};
|
|
20
|
+
return colorMap[colors];
|
|
21
|
+
}
|
|
22
|
+
return undefined;
|
|
23
|
+
};
|
|
24
|
+
export const Tags = ({ text = "Text", size, colors, version, disabled, className, icon, }) => {
|
|
25
|
+
return (_jsxs("div", { className: `tags ${colors} ${size} ${version} ${className}`, children: [icon && (React.cloneElement(icon, {
|
|
26
|
+
className: `${["small", "x-small"].includes(size) ? "class" : "class-2"}`,
|
|
27
|
+
color: getIconColor(colors, disabled)
|
|
28
|
+
})), text && (_jsx("div", { className: `text size-${size} ${disabled} version-${version} colors-${colors}`, children: text }))] }));
|
|
29
|
+
};
|
|
30
|
+
Tags.propTypes = {
|
|
31
|
+
text: PropTypes.string,
|
|
32
|
+
withText: PropTypes.bool,
|
|
33
|
+
withIcon: PropTypes.bool,
|
|
34
|
+
size: PropTypes.oneOf(["large", "x-small", "medium", "small"]),
|
|
35
|
+
colors: PropTypes.oneOf([
|
|
36
|
+
"mauve",
|
|
37
|
+
"lime",
|
|
38
|
+
"black",
|
|
39
|
+
"blue",
|
|
40
|
+
"orange",
|
|
41
|
+
"galliano",
|
|
42
|
+
"green",
|
|
43
|
+
"red",
|
|
44
|
+
]),
|
|
45
|
+
version: PropTypes.oneOf(["vertical", "horizontal"]),
|
|
46
|
+
disabled: PropTypes.oneOf(["off", "on"]),
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tags } from "./Tags";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tags } from "./Tags";
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
.tags {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.tags .class {
|
|
9
|
+
height: 16px !important;
|
|
10
|
+
position: relative !important;
|
|
11
|
+
width: 16px !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.tags .class-2 {
|
|
15
|
+
height: 20px !important;
|
|
16
|
+
position: relative !important;
|
|
17
|
+
width: 20px !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tags .text {
|
|
21
|
+
position: relative;
|
|
22
|
+
text-align: center;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
width: fit-content;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tags.mauve {
|
|
28
|
+
background-color: #a931ec1a;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tags.large {
|
|
32
|
+
border-radius: 12px;
|
|
33
|
+
gap: 6px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tags.black {
|
|
37
|
+
background-color: #2424240d;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.tags.small {
|
|
41
|
+
border-radius: 8px;
|
|
42
|
+
gap: 4px;
|
|
43
|
+
padding: 6px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.tags.red {
|
|
47
|
+
background-color: #ed15150d;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tags.medium {
|
|
51
|
+
border-radius: 8px;
|
|
52
|
+
gap: 4px;
|
|
53
|
+
padding: 6px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.tags.green {
|
|
57
|
+
background-color: #2891401a;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.tags.blue {
|
|
61
|
+
background-color: #7240e71a;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.tags.vertical {
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tags.lime {
|
|
69
|
+
background-color: #71a30d1a;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tags.orange {
|
|
73
|
+
background-color: #e440121a;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.tags.x-small {
|
|
77
|
+
border-radius: 8px;
|
|
78
|
+
gap: 4px;
|
|
79
|
+
padding: 4px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tags.galliano {
|
|
83
|
+
background-color: #b989150d;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.tags.horizontal.large {
|
|
87
|
+
padding: 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.tags.vertical.large {
|
|
91
|
+
padding: 12px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tags .size-large {
|
|
95
|
+
font-family: var(--h6-medium-font-family);
|
|
96
|
+
font-size: var(--h6-medium-font-size);
|
|
97
|
+
font-style: var(--h6-medium-font-style);
|
|
98
|
+
font-weight: var(--h6-medium-font-weight);
|
|
99
|
+
letter-spacing: var(--h6-medium-letter-spacing);
|
|
100
|
+
line-height: var(--h6-medium-line-height);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.tags .size-small {
|
|
104
|
+
font-family: var(--b2-medium-font-family);
|
|
105
|
+
font-size: var(--b2-medium-font-size);
|
|
106
|
+
font-style: var(--b2-medium-font-style);
|
|
107
|
+
font-weight: var(--b2-medium-font-weight);
|
|
108
|
+
letter-spacing: var(--b2-medium-letter-spacing);
|
|
109
|
+
line-height: var(--b2-medium-line-height);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.tags .on {
|
|
113
|
+
color: #b0b0b0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.tags .size-medium {
|
|
117
|
+
font-family: var(--b1-medium-font-family);
|
|
118
|
+
font-size: var(--b1-medium-font-size);
|
|
119
|
+
font-style: var(--b1-medium-font-style);
|
|
120
|
+
font-weight: var(--b1-medium-font-weight);
|
|
121
|
+
letter-spacing: var(--b1-medium-letter-spacing);
|
|
122
|
+
line-height: var(--b1-medium-line-height);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.tags .size-x-small {
|
|
126
|
+
font-family: var(--b2-medium-font-family);
|
|
127
|
+
font-size: var(--b2-medium-font-size);
|
|
128
|
+
font-style: var(--b2-medium-font-style);
|
|
129
|
+
font-weight: var(--b2-medium-font-weight);
|
|
130
|
+
letter-spacing: var(--b2-medium-letter-spacing);
|
|
131
|
+
line-height: var(--b2-medium-line-height);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.tags .version-horizontal {
|
|
135
|
+
-webkit-box-orient: vertical;
|
|
136
|
+
-webkit-line-clamp: 1;
|
|
137
|
+
display: -webkit-box;
|
|
138
|
+
margin-top: -1.00px;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
text-overflow: ellipsis;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.tags .off.colors-red {
|
|
144
|
+
color: #ed1515;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.tags .colors-green.off {
|
|
148
|
+
color: #289140;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.tags .off.colors-galliano {
|
|
152
|
+
color: #b98915;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.tags .off.colors-mauve {
|
|
156
|
+
color: #9320d0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.tags .off.colors-blue {
|
|
160
|
+
color: #7240e7;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tags .colors-orange.off {
|
|
164
|
+
color: #e44012;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.tags .colors-black.off {
|
|
168
|
+
color: #3d3d3d;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.tags .colors-lime.off {
|
|
172
|
+
color: #567c0f;
|
|
173
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,3 +3,14 @@ export { SecondaryButton } from "./SecondaryButton/SecondaryButton";
|
|
|
3
3
|
export { TertiaryButton } from "./TertiaryButton/TertiaryButton";
|
|
4
4
|
export { SelectionButton } from "./SelectionButton/SelectionButton";
|
|
5
5
|
export { Label } from "./Label/Label";
|
|
6
|
+
export { Tags } from "./Tags/Tags";
|
|
7
|
+
export { Dot } from "./Dot/Dot";
|
|
8
|
+
export { Activity } from "./Activity/Activity";
|
|
9
|
+
export { Avatar } from "./Avatar/Avatar";
|
|
10
|
+
export { InputField } from "./InputField/InputField";
|
|
11
|
+
export { Loader } from "./Loader/Loader";
|
|
12
|
+
export { LoginInput } from "./LoginInput/LoginInput";
|
|
13
|
+
export { Page } from "./Page/Page";
|
|
14
|
+
export { PlatformsButton } from "./PlatformsButton/PlatformsButton";
|
|
15
|
+
export { PlatformSelector } from "./PlatformSelector/PlatformSelector";
|
|
16
|
+
export { SingleSlider } from "./SingleSlider/SingleSlider";
|
package/dist/index.js
CHANGED
|
@@ -3,3 +3,14 @@ export { SecondaryButton } from "./SecondaryButton/SecondaryButton";
|
|
|
3
3
|
export { TertiaryButton } from "./TertiaryButton/TertiaryButton";
|
|
4
4
|
export { SelectionButton } from "./SelectionButton/SelectionButton";
|
|
5
5
|
export { Label } from "./Label/Label";
|
|
6
|
+
export { Tags } from "./Tags/Tags";
|
|
7
|
+
export { Dot } from "./Dot/Dot";
|
|
8
|
+
export { Activity } from "./Activity/Activity";
|
|
9
|
+
export { Avatar } from "./Avatar/Avatar";
|
|
10
|
+
export { InputField } from "./InputField/InputField";
|
|
11
|
+
export { Loader } from "./Loader/Loader";
|
|
12
|
+
export { LoginInput } from "./LoginInput/LoginInput";
|
|
13
|
+
export { Page } from "./Page/Page";
|
|
14
|
+
export { PlatformsButton } from "./PlatformsButton/PlatformsButton";
|
|
15
|
+
export { PlatformSelector } from "./PlatformSelector/PlatformSelector";
|
|
16
|
+
export { SingleSlider } from "./SingleSlider/SingleSlider";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ayseaistudio/ui-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^5.9.3"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"@tabler/icons-react": "^3.35.0",
|
|
25
26
|
"prop-types": "^15.8.1"
|
|
26
27
|
}
|
|
27
28
|
}
|