highsoft-ui 1.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/README.md +75 -0
- package/dist/assets/BNWEVODB.css +1 -0
- package/dist/assets/BNg9mG7F.css +1 -0
- package/dist/assets/CNQu2ZQT.css +1 -0
- package/dist/assets/DKSgUKZL.css +1 -0
- package/dist/assets/DpPCaDl_.css +1 -0
- package/dist/assets/main.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Button/index.d.ts +11 -0
- package/dist/components/Button/index.js +45 -0
- package/dist/components/Container/index.d.ts +5 -0
- package/dist/components/Container/index.js +16 -0
- package/dist/components/GPTInput/index.d.ts +4 -0
- package/dist/components/GPTInput/index.js +57 -0
- package/dist/components/Header/index.d.ts +4 -0
- package/dist/components/Header/index.js +158 -0
- package/dist/components/Logo/index.d.ts +8 -0
- package/dist/components/Logo/index.js +249 -0
- package/dist/components/Notification/index.d.ts +7 -0
- package/dist/components/Notification/index.js +9 -0
- package/dist/components/icons/Bubble.d.ts +1 -0
- package/dist/components/icons/Bubble.js +54 -0
- package/dist/components/icons/Plane.d.ts +1 -0
- package/dist/components/icons/Plane.js +24 -0
- package/dist/index-Be2c8Jmk.js +57 -0
- package/dist/main.d.ts +6 -0
- package/dist/main.js +14 -0
- package/dist/php.d.ts +3 -0
- package/dist/php.js +28879 -0
- package/dist/scss/variables.scss +226 -0
- package/package.json +89 -0
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
$neutral-0: var(--primitives-neutral-0);
|
|
2
|
+
$neutral-25: var(--primitives-neutral-25);
|
|
3
|
+
$neutral-50: var(--primitives-neutral-50);
|
|
4
|
+
$neutral-100: var(--primitives-neutral-100);
|
|
5
|
+
$neutral-200: var(--primitives-neutral-200);
|
|
6
|
+
$neutral-300: var(--primitives-neutral-300);
|
|
7
|
+
$neutral-400: var(--primitives-neutral-400);
|
|
8
|
+
$neutral-500: var(--primitives-neutral-500);
|
|
9
|
+
$neutral-600: var(--primitives-neutral-600);
|
|
10
|
+
$neutral-700: var(--primitives-neutral-700);
|
|
11
|
+
$neutral-800: var(--primitives-neutral-800);
|
|
12
|
+
$neutral-900: var(--primitives-neutral-900);
|
|
13
|
+
$neutral-1000: var(--primitives-neutral-1000);
|
|
14
|
+
|
|
15
|
+
$brand-0: var(--primitives-brand-0);
|
|
16
|
+
$brand-100: var(--primitives-brand-100);
|
|
17
|
+
$brand-200: var(--primitives-brand-200);
|
|
18
|
+
$brand-300: var(--primitives-brand-300);
|
|
19
|
+
$brand-400: var(--primitives-brand-400);
|
|
20
|
+
$brand-500: var(--primitives-brand-500);
|
|
21
|
+
$brand-600: var(--primitives-brand-600);
|
|
22
|
+
$brand-700: var(--primitives-brand-700);
|
|
23
|
+
$brand-800: var(--primitives-brand-800);
|
|
24
|
+
$brand-900: var(--primitives-brand-900);
|
|
25
|
+
$brand-1000: var(--primitives-brand-1000);
|
|
26
|
+
|
|
27
|
+
$success-0: var(--primitives-success-0);
|
|
28
|
+
$success-100: var(--primitives-success-100);
|
|
29
|
+
$success-200: var(--primitives-success-200);
|
|
30
|
+
$success-300: var(--primitives-success-300);
|
|
31
|
+
$success-400: var(--primitives-success-400);
|
|
32
|
+
$success-500: var(--primitives-success-500);
|
|
33
|
+
$success-600: var(--primitives-success-600);
|
|
34
|
+
$success-700: var(--primitives-success-700);
|
|
35
|
+
$success-800: var(--primitives-success-800);
|
|
36
|
+
$success-900: var(--primitives-success-900);
|
|
37
|
+
$success-1000: var(--primitives-success-1000);
|
|
38
|
+
|
|
39
|
+
$attention-0: var(--primitives-attention-0);
|
|
40
|
+
$attention-100: var(--primitives-attention-100);
|
|
41
|
+
$attention-200: var(--primitives-attention-200);
|
|
42
|
+
$attention-300: var(--primitives-attention-300);
|
|
43
|
+
$attention-400: var(--primitives-attention-400);
|
|
44
|
+
$attention-500: var(--primitives-attention-500);
|
|
45
|
+
$attention-600: var(--primitives-attention-600);
|
|
46
|
+
$attention-700: var(--primitives-attention-700);
|
|
47
|
+
$attention-800: var(--primitives-attention-800);
|
|
48
|
+
$attention-900: var(--primitives-attention-900);
|
|
49
|
+
$attention-1000: var(--primitives-attention-1000);
|
|
50
|
+
|
|
51
|
+
$danger-0: var(--primitives-danger-0);
|
|
52
|
+
$danger-100: var(--primitives-danger-100);
|
|
53
|
+
$danger-200: var(--primitives-danger-200);
|
|
54
|
+
$danger-300: var(--primitives-danger-300);
|
|
55
|
+
$danger-400: var(--primitives-danger-400);
|
|
56
|
+
$danger-500: var(--primitives-danger-500);
|
|
57
|
+
$danger-600: var(--primitives-danger-600);
|
|
58
|
+
$danger-700: var(--primitives-danger-700);
|
|
59
|
+
$danger-800: var(--primitives-danger-800);
|
|
60
|
+
$danger-900: var(--primitives-danger-900);
|
|
61
|
+
$danger-1000: var(--primitives-danger-1000);
|
|
62
|
+
|
|
63
|
+
$shadow-50: var(--shadow-size-50);
|
|
64
|
+
$shadow-100: var(--shadow-size-100);
|
|
65
|
+
$shadow-200: var(--shadow-size-200);
|
|
66
|
+
$shadow-300: var(--shadow-size-300);
|
|
67
|
+
|
|
68
|
+
$s0: 4px;
|
|
69
|
+
$s1: 8px;
|
|
70
|
+
$s2: 16px;
|
|
71
|
+
$s3: 24px;
|
|
72
|
+
$s4: 32px;
|
|
73
|
+
$s5: 48px;
|
|
74
|
+
$s6: 64px;
|
|
75
|
+
$s7: 96px;
|
|
76
|
+
$s8: 128px;
|
|
77
|
+
/*
|
|
78
|
+
@mixin h($font-size) {
|
|
79
|
+
font-size: $font-size;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
line-height: 130%;
|
|
82
|
+
}
|
|
83
|
+
@mixin h1 {
|
|
84
|
+
@include h(3.5rem);
|
|
85
|
+
}
|
|
86
|
+
@mixin h2 {
|
|
87
|
+
@include h(2.66rem);
|
|
88
|
+
}
|
|
89
|
+
@mixin h3 {
|
|
90
|
+
@include h(2rem);
|
|
91
|
+
}
|
|
92
|
+
*/
|
|
93
|
+
$body-50: 0.625rem;
|
|
94
|
+
$body-75: 0.75rem;
|
|
95
|
+
$body-100: 0.875rem;
|
|
96
|
+
$body-200: 1rem;
|
|
97
|
+
$body-300: 1.125rem;
|
|
98
|
+
$body-400: 1.25rem;
|
|
99
|
+
$body-500: 1.375rem;
|
|
100
|
+
$body-600: 1.5625rem;
|
|
101
|
+
$body-700: 1.75rem;
|
|
102
|
+
$body-800: 2rem;
|
|
103
|
+
$body-900: 2.25rem;
|
|
104
|
+
$body-1000: 2.5rem;
|
|
105
|
+
|
|
106
|
+
@mixin body($font-size: 1rem, $font-weight: 400) {
|
|
107
|
+
font-size: $font-size;
|
|
108
|
+
font-weight: $font-weight;
|
|
109
|
+
line-height: 130%;
|
|
110
|
+
}
|
|
111
|
+
@mixin body-50 {
|
|
112
|
+
@include body($body-50);
|
|
113
|
+
}
|
|
114
|
+
@mixin body-75 {
|
|
115
|
+
@include body($body-75);
|
|
116
|
+
}
|
|
117
|
+
@mixin body-100 {
|
|
118
|
+
@include body($body-100);
|
|
119
|
+
}
|
|
120
|
+
@mixin body-200 {
|
|
121
|
+
@include body($body-200);
|
|
122
|
+
}
|
|
123
|
+
@mixin body-300 {
|
|
124
|
+
@include body($body-300);
|
|
125
|
+
}
|
|
126
|
+
@mixin body-400 {
|
|
127
|
+
@include body($body-400);
|
|
128
|
+
}
|
|
129
|
+
@mixin body-500 {
|
|
130
|
+
@include body($body-500);
|
|
131
|
+
}
|
|
132
|
+
@mixin body-600 {
|
|
133
|
+
@include body($body-600);
|
|
134
|
+
}
|
|
135
|
+
@mixin body-700 {
|
|
136
|
+
@include body($body-700);
|
|
137
|
+
}
|
|
138
|
+
@mixin body-800 {
|
|
139
|
+
@include body($body-800);
|
|
140
|
+
}
|
|
141
|
+
@mixin body-900 {
|
|
142
|
+
@include body($body-900);
|
|
143
|
+
}
|
|
144
|
+
@mixin body-1000 {
|
|
145
|
+
@include body($body-1000);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@mixin body-medium($font-size: 1rem) {
|
|
149
|
+
@include body($font-size, $font-weight: 500);
|
|
150
|
+
}
|
|
151
|
+
@mixin body-medium-50 {
|
|
152
|
+
@include body-medium($body-50);
|
|
153
|
+
}
|
|
154
|
+
@mixin body-medium-75 {
|
|
155
|
+
@include body-medium($body-75);
|
|
156
|
+
}
|
|
157
|
+
@mixin body-medium-100 {
|
|
158
|
+
@include body-medium($body-100);
|
|
159
|
+
}
|
|
160
|
+
@mixin body-medium-200 {
|
|
161
|
+
@include body-medium($body-200);
|
|
162
|
+
}
|
|
163
|
+
@mixin body-medium-300 {
|
|
164
|
+
@include body-medium($body-300);
|
|
165
|
+
}
|
|
166
|
+
@mixin body-medium-400 {
|
|
167
|
+
@include body-medium($body-400);
|
|
168
|
+
}
|
|
169
|
+
@mixin body-medium-500 {
|
|
170
|
+
@include body-medium($body-500);
|
|
171
|
+
}
|
|
172
|
+
@mixin body-medium-600 {
|
|
173
|
+
@include body-medium($body-600);
|
|
174
|
+
}
|
|
175
|
+
@mixin body-medium-700 {
|
|
176
|
+
@include body-medium($body-700);
|
|
177
|
+
}
|
|
178
|
+
@mixin body-medium-800 {
|
|
179
|
+
@include body-medium($body-800);
|
|
180
|
+
}
|
|
181
|
+
@mixin body-medium-900 {
|
|
182
|
+
@include body-medium($body-900);
|
|
183
|
+
}
|
|
184
|
+
@mixin body-medium-1000 {
|
|
185
|
+
@include body-medium($body-1000);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@mixin body-semi($font-size: 1rem) {
|
|
189
|
+
@include body($font-size, $font-weight: 600);
|
|
190
|
+
}
|
|
191
|
+
@mixin body-semi-50 {
|
|
192
|
+
@include body-semi($body-50);
|
|
193
|
+
}
|
|
194
|
+
@mixin body-semi-75 {
|
|
195
|
+
@include body-semi($body-75);
|
|
196
|
+
}
|
|
197
|
+
@mixin body-semi-100 {
|
|
198
|
+
@include body-semi($body-100);
|
|
199
|
+
}
|
|
200
|
+
@mixin body-semi-200 {
|
|
201
|
+
@include body-semi($body-200);
|
|
202
|
+
}
|
|
203
|
+
@mixin body-semi-300 {
|
|
204
|
+
@include body-semi($body-300);
|
|
205
|
+
}
|
|
206
|
+
@mixin body-semi-400 {
|
|
207
|
+
@include body-semi($body-400);
|
|
208
|
+
}
|
|
209
|
+
@mixin body-semi-500 {
|
|
210
|
+
@include body-semi($body-500);
|
|
211
|
+
}
|
|
212
|
+
@mixin body-semi-600 {
|
|
213
|
+
@include body-semi($body-600);
|
|
214
|
+
}
|
|
215
|
+
@mixin body-semi-700 {
|
|
216
|
+
@include body-semi($body-700);
|
|
217
|
+
}
|
|
218
|
+
@mixin body-semi-800 {
|
|
219
|
+
@include body-semi($body-800);
|
|
220
|
+
}
|
|
221
|
+
@mixin body-semi-900 {
|
|
222
|
+
@include body-semi($body-900);
|
|
223
|
+
}
|
|
224
|
+
@mixin body-semi-1000 {
|
|
225
|
+
@include body-semi($body-1000);
|
|
226
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "highsoft-ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Highsoft UI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/main.js",
|
|
7
|
+
"types": "dist/main.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./dist/main.js",
|
|
10
|
+
"./stylelint": "./stylelint.config.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"stylelint.config.js"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"dev": "vite",
|
|
18
|
+
"build": "tsc -p ./tsconfig.build.json && vite build",
|
|
19
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
20
|
+
"preview": "vite preview",
|
|
21
|
+
"prettier": "npx prettier . --write",
|
|
22
|
+
"prettier-ci": "npx prettier . --check",
|
|
23
|
+
"stylelint": "npx stylelint '**/*.css'",
|
|
24
|
+
"prepare": "husky && husky install"
|
|
25
|
+
},
|
|
26
|
+
"lint-staged": {
|
|
27
|
+
"*.{js,jsx,ts,tsx}": [
|
|
28
|
+
"prettier --write"
|
|
29
|
+
],
|
|
30
|
+
"*.css": [
|
|
31
|
+
"prettier --write"
|
|
32
|
+
],
|
|
33
|
+
"*.scss": [
|
|
34
|
+
"prettier --write"
|
|
35
|
+
],
|
|
36
|
+
"!(*.css|*.scss|*.js|*.jsx|*.ts|*.tsx)": [
|
|
37
|
+
"prettier --write"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"keywords": [],
|
|
41
|
+
"author": "",
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@untitled-ui/icons-react": "^0.1.4",
|
|
45
|
+
"clsx": "^2.1.0",
|
|
46
|
+
"highsoft-design-tokens": "^2.2.1",
|
|
47
|
+
"modern-normalize": "^3.0.1"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@babel/runtime": "^7.27.0",
|
|
51
|
+
"@eslint/js": "^9.2.0",
|
|
52
|
+
"@fontsource-variable/ibm-plex-sans": "^5.2.5",
|
|
53
|
+
"@types/node": "^20.12.7",
|
|
54
|
+
"@types/react": "^18.2.66",
|
|
55
|
+
"@types/react-dom": "^18.2.22",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
57
|
+
"@typescript-eslint/parser": "^8.31.1",
|
|
58
|
+
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
59
|
+
"eslint": "^9.25.1",
|
|
60
|
+
"eslint-config-prettier": "^10.1.2",
|
|
61
|
+
"eslint-plugin-react": "^7.34.1",
|
|
62
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
63
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
64
|
+
"glob": "^11.0.2",
|
|
65
|
+
"globals": "^16.0.0",
|
|
66
|
+
"husky": "^9.0.11",
|
|
67
|
+
"lint-staged": "^15.2.2",
|
|
68
|
+
"prettier": "^3.5.3",
|
|
69
|
+
"react": "^18.2.0",
|
|
70
|
+
"react-dom": "^18.2.0",
|
|
71
|
+
"sass": "^1.75.0",
|
|
72
|
+
"stylelint": "^16.5.0",
|
|
73
|
+
"stylelint-config-standard": "^38.0.0",
|
|
74
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
|
75
|
+
"typescript": "^5.2.2",
|
|
76
|
+
"typescript-eslint": "^8.31.1",
|
|
77
|
+
"vite": "^6.3.3",
|
|
78
|
+
"vite-plugin-dts": "^4.5.3",
|
|
79
|
+
"vite-plugin-lib-inject-css": "^2.0.1",
|
|
80
|
+
"vite-plugin-static-copy": "^2.3.1"
|
|
81
|
+
},
|
|
82
|
+
"peerDependencies": {
|
|
83
|
+
"react": "^18.2.0",
|
|
84
|
+
"react-dom": "^18.2.0"
|
|
85
|
+
},
|
|
86
|
+
"sideEffects": [
|
|
87
|
+
"**/*.css"
|
|
88
|
+
]
|
|
89
|
+
}
|