@aristobyte-ui/utils 1.0.68 → 1.0.72
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/package.json +4 -10
- package/dist/styles/_settings.scss +0 -205
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aristobyte-ui/utils",
|
|
3
3
|
"description": "A collection of shared utility functions for AristoByte projects, designed to provide reusable helpers, streamline common operations, and ensure consistency across applications and packages.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.72",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"author": "AristoByte <info@aristobyte.com>",
|
|
@@ -58,23 +58,17 @@
|
|
|
58
58
|
"check-types": "tsc --noEmit"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"esbuild-sass-plugin": "^3.3.1",
|
|
62
61
|
"react": "^19.1.0",
|
|
63
|
-
"react-dom": "^19.1.0"
|
|
64
|
-
"sass": "^1.89.0",
|
|
65
|
-
"tsup": "^8.5.0"
|
|
62
|
+
"react-dom": "^19.1.0"
|
|
66
63
|
},
|
|
67
64
|
"devDependencies": {
|
|
68
|
-
"@aristobyte-ui/eslint-config": "^1.0.
|
|
69
|
-
"@aristobyte-ui/typescript-config": "^1.0.
|
|
65
|
+
"@aristobyte-ui/eslint-config": "^1.0.72",
|
|
66
|
+
"@aristobyte-ui/typescript-config": "^1.0.72",
|
|
70
67
|
"@turbo/gen": "^2.5.0",
|
|
71
68
|
"@types/node": "^24.3.0",
|
|
72
69
|
"@types/react": "19.1.0",
|
|
73
70
|
"@types/react-dom": "19.1.1",
|
|
74
|
-
"autoprefixer": "^10.4.21",
|
|
75
71
|
"eslint": "^9.27.0",
|
|
76
|
-
"postcss": "^8.5.3",
|
|
77
|
-
"sass-embedded": "^1.91.0",
|
|
78
72
|
"tsup": "^8.5.0",
|
|
79
73
|
"typescript": "^5.8.3"
|
|
80
74
|
}
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
// =========================================== //
|
|
2
|
-
// AristoByte UI - Style Settings //
|
|
3
|
-
// =========================================== //
|
|
4
|
-
|
|
5
|
-
// === Design Tokens — Color Palette === //
|
|
6
|
-
// Logo
|
|
7
|
-
$logo-color-1: #ffee27;
|
|
8
|
-
$logo-color-2: #fec800;
|
|
9
|
-
$logo-color-3: #f18e35;
|
|
10
|
-
$logo-color-4: #e95f32;
|
|
11
|
-
$logo-color-5: #e2312d;
|
|
12
|
-
$logo-gradient: linear-gradient(
|
|
13
|
-
90deg,
|
|
14
|
-
$logo-color-1,
|
|
15
|
-
$logo-color-2,
|
|
16
|
-
$logo-color-3,
|
|
17
|
-
$logo-color-4,
|
|
18
|
-
$logo-color-5
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
// Base
|
|
22
|
-
$white: #ffffff;
|
|
23
|
-
$white-hover: #dddddd;
|
|
24
|
-
$black: #000000;
|
|
25
|
-
$black-hover: #222222;
|
|
26
|
-
$transparent: transparent;
|
|
27
|
-
|
|
28
|
-
// === Black Transparent Scale === //
|
|
29
|
-
$black-transparent-100: rgba(0, 0, 0, 0.1);
|
|
30
|
-
$black-transparent-200: rgba(0, 0, 0, 0.2);
|
|
31
|
-
$black-transparent-300: rgba(0, 0, 0, 0.3);
|
|
32
|
-
$black-transparent-400: rgba(0, 0, 0, 0.4);
|
|
33
|
-
$black-transparent-500: rgba(0, 0, 0, 0.5);
|
|
34
|
-
$black-transparent-600: rgba(0, 0, 0, 0.6);
|
|
35
|
-
$black-transparent-700: rgba(0, 0, 0, 0.7);
|
|
36
|
-
$black-transparent-800: rgba(0, 0, 0, 0.8);
|
|
37
|
-
$black-transparent-900: rgba(0, 0, 0, 0.9);
|
|
38
|
-
|
|
39
|
-
// === Black Transparent Scale === //
|
|
40
|
-
$white-transparent-100: rgba(255, 255, 255, 0.1);
|
|
41
|
-
$white-transparent-200: rgba(255, 255, 255, 0.2);
|
|
42
|
-
$white-transparent-300: rgba(255, 255, 255, 0.3);
|
|
43
|
-
$white-transparent-400: rgba(255, 255, 255, 0.4);
|
|
44
|
-
$white-transparent-500: rgba(255, 255, 255, 0.5);
|
|
45
|
-
$white-transparent-600: rgba(255, 255, 255, 0.6);
|
|
46
|
-
$white-transparent-700: rgba(255, 255, 255, 0.7);
|
|
47
|
-
$white-transparent-800: rgba(255, 255, 255, 0.8);
|
|
48
|
-
$white-transparent-900: rgba(255, 255, 255, 0.9);
|
|
49
|
-
|
|
50
|
-
// === Neutral Scale (Grey) === //
|
|
51
|
-
$grey-50: #f9fafb;
|
|
52
|
-
$grey-100: #f3f4f6;
|
|
53
|
-
$grey-200: #e5e7eb;
|
|
54
|
-
$grey-300: #d1d5db;
|
|
55
|
-
$grey-400: #9ca3af;
|
|
56
|
-
$grey-500: #6b7280;
|
|
57
|
-
$grey-600: #4b5563;
|
|
58
|
-
$grey-700: #374151;
|
|
59
|
-
$grey-800: #1f2937;
|
|
60
|
-
$grey-900: #111827;
|
|
61
|
-
|
|
62
|
-
// === Primary Scale (Blue) === //
|
|
63
|
-
$blue-50: #eff6ff;
|
|
64
|
-
$blue-100: #dbeafe;
|
|
65
|
-
$blue-200: #bfdbfe;
|
|
66
|
-
$blue-300: #93c5fd;
|
|
67
|
-
$blue-400: #60a5fa;
|
|
68
|
-
$blue-500: #3b82f6;
|
|
69
|
-
$blue-600: #2563eb; // Main
|
|
70
|
-
$blue-700: #1d4ed8; // Hover
|
|
71
|
-
$blue-800: #1e40af;
|
|
72
|
-
$blue-900: #1e3a8a;
|
|
73
|
-
|
|
74
|
-
// === Secondary Scale (Indigo) === //
|
|
75
|
-
$indigo-50: #eef2ff;
|
|
76
|
-
$indigo-100: #e0e7ff;
|
|
77
|
-
$indigo-200: #c7d2fe;
|
|
78
|
-
$indigo-300: #a5b4fc;
|
|
79
|
-
$indigo-400: #818cf8;
|
|
80
|
-
$indigo-500: #6366f1;
|
|
81
|
-
$indigo-600: #4f46e5; // Main
|
|
82
|
-
$indigo-700: #4338ca; // Hover
|
|
83
|
-
|
|
84
|
-
// === Error Scale (Red) === //
|
|
85
|
-
$red-50: #fef2f2;
|
|
86
|
-
$red-100: #fee2e2;
|
|
87
|
-
$red-200: #fecaca;
|
|
88
|
-
$red-300: #fca5a5;
|
|
89
|
-
$red-400: #f87171;
|
|
90
|
-
$red-500: #ef4444;
|
|
91
|
-
$red-600: #dc2626; // Main
|
|
92
|
-
$red-700: #b91c1c; // Hover
|
|
93
|
-
|
|
94
|
-
// === Success Scale (Green) === //
|
|
95
|
-
$green-50: #f0fdf4;
|
|
96
|
-
$green-100: #dcfce7;
|
|
97
|
-
$green-200: #bbf7d0;
|
|
98
|
-
$green-300: #86efac;
|
|
99
|
-
$green-400: #4ade80;
|
|
100
|
-
$green-500: #22c55e;
|
|
101
|
-
$green-600: #16a34a; // Main
|
|
102
|
-
$green-700: #15803d; // Hover
|
|
103
|
-
|
|
104
|
-
// === Warning Scale (Amber) === //
|
|
105
|
-
$amber-50: #fffbeb;
|
|
106
|
-
$amber-100: #fef3c7;
|
|
107
|
-
$amber-200: #fde68a;
|
|
108
|
-
$amber-300: #fcd34d;
|
|
109
|
-
$amber-400: #fbbf24;
|
|
110
|
-
$amber-500: #f59e0b;
|
|
111
|
-
$amber-600: #d97706; // Main
|
|
112
|
-
$amber-700: #b45309; // Hover
|
|
113
|
-
|
|
114
|
-
// === Semantic Tokens === //
|
|
115
|
-
$color-default: $grey-800;
|
|
116
|
-
$color-default-hover: $grey-900;
|
|
117
|
-
$color-default-disabled: rgba($color-default, 0.5);
|
|
118
|
-
|
|
119
|
-
$color-primary: $blue-600;
|
|
120
|
-
$color-primary-hover: $blue-700;
|
|
121
|
-
$color-primary-disabled: rgba($color-primary, 0.5);
|
|
122
|
-
|
|
123
|
-
$color-secondary: $indigo-600;
|
|
124
|
-
$color-secondary-hover: $indigo-700;
|
|
125
|
-
$color-secondary-disabled: rgba($color-secondary, 0.5);
|
|
126
|
-
|
|
127
|
-
$color-error: $red-600;
|
|
128
|
-
$color-error-hover: $red-700;
|
|
129
|
-
$color-error-disabled: rgba($color-error, 0.5);
|
|
130
|
-
|
|
131
|
-
$color-success: $green-600;
|
|
132
|
-
$color-success-hover: $green-700;
|
|
133
|
-
$color-success-disabled: rgba($color-success, 0.5);
|
|
134
|
-
|
|
135
|
-
$color-warning: $amber-600;
|
|
136
|
-
$color-warning-hover: $amber-700;
|
|
137
|
-
$color-warning-disabled: rgba($color-warning, 0.5);
|
|
138
|
-
|
|
139
|
-
$text-color-white: $white;
|
|
140
|
-
$text-color-black: $black;
|
|
141
|
-
$text-color-white-disabled: rgba($white, 0.5);
|
|
142
|
-
$text-color-black-disabled: rgba($black, 0.5);
|
|
143
|
-
|
|
144
|
-
$title-color-dark: $white;
|
|
145
|
-
$subtitle-color-dark: #99a1af;
|
|
146
|
-
$description-color-dark: #d1d5dc;
|
|
147
|
-
$icon-color-dark: #99a1af;
|
|
148
|
-
|
|
149
|
-
// === Shadows === //
|
|
150
|
-
//@TODO: @SHADOW
|
|
151
|
-
$shadow-sm: 0 1px 2px 0 rgba($black, 0.05);
|
|
152
|
-
$shadow-md:
|
|
153
|
-
0 4px 6px -1px rgba($black, 0.1),
|
|
154
|
-
0 2px 4px -1px rgba($black, 0.06);
|
|
155
|
-
$shadow-lg:
|
|
156
|
-
0 10px 15px -3px rgba($black, 0.1),
|
|
157
|
-
0 4px 6px -2px rgba($black, 0.05);
|
|
158
|
-
|
|
159
|
-
// === Font families === //
|
|
160
|
-
$font-family-sans: "Inter", sans-serif;
|
|
161
|
-
$font-family-serif: "Georgia", serif;
|
|
162
|
-
$font-family-mono: "Fira Code", monospace;
|
|
163
|
-
|
|
164
|
-
// === Font weights === //
|
|
165
|
-
$font-weight-regular: 400;
|
|
166
|
-
$font-weight-medium: 500;
|
|
167
|
-
$font-weight-semibold: 600;
|
|
168
|
-
$font-weight-bold: 700;
|
|
169
|
-
|
|
170
|
-
// === Line heights === //
|
|
171
|
-
$line-height-tight: 1.2;
|
|
172
|
-
$line-height-snug: 1.375;
|
|
173
|
-
$line-height-normal: 1.5;
|
|
174
|
-
$line-height-loose: 1.625;
|
|
175
|
-
|
|
176
|
-
// === Font Sizes — Semantic Tokens === //
|
|
177
|
-
|
|
178
|
-
// === Titles === //
|
|
179
|
-
$font-size-hero: 3rem; // 48px
|
|
180
|
-
$font-size-title-1: 2.25rem; // 36px
|
|
181
|
-
$font-size-title-2: 1.875rem; // 30px
|
|
182
|
-
$font-size-title-3: 1.5rem; // 24px
|
|
183
|
-
|
|
184
|
-
// === Subtitles === //
|
|
185
|
-
$font-size-subtitle-1: 1.25rem; // 20px
|
|
186
|
-
$font-size-subtitle-2: 1.125rem; // 18px
|
|
187
|
-
|
|
188
|
-
// === Body text === //
|
|
189
|
-
$font-size-body-lg: 1rem; // 16px
|
|
190
|
-
$font-size-body-md: 0.9375rem; // 15px
|
|
191
|
-
$font-size-body-sm: 0.875rem; // 14px
|
|
192
|
-
|
|
193
|
-
// === Captions / Descriptions === //
|
|
194
|
-
$font-size-caption: 0.75rem; // 12px
|
|
195
|
-
$font-size-footnote: 0.6875rem; // 11px
|
|
196
|
-
|
|
197
|
-
// === Buttons === //
|
|
198
|
-
$font-size-button-lg: 1rem; // 16px
|
|
199
|
-
$font-size-button-md: 0.875rem; // 14px
|
|
200
|
-
$font-size-button-sm: 0.75rem; // 12px
|
|
201
|
-
|
|
202
|
-
// === Animations === //
|
|
203
|
-
|
|
204
|
-
$cubic-bezier-primary: cubic-bezier(0.55, -0.19, 0.59, 0.95);
|
|
205
|
-
$cubic-bezier-secondary: cubic-bezier(0.175, 0.885, 0.32, 1.275);
|