@akinon/ui-theme 1.0.0 → 1.0.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.
- package/dist/cjs/colors.d.ts +7 -0
- package/dist/cjs/colors.d.ts.map +1 -1
- package/dist/cjs/colors.js +8 -1
- package/dist/cjs/theme.d.ts +11 -2
- package/dist/cjs/theme.d.ts.map +1 -1
- package/dist/cjs/theme.js +173 -107
- package/dist/cjs/types.d.ts +27 -66
- package/dist/esm/colors.d.ts +7 -0
- package/dist/esm/colors.d.ts.map +1 -1
- package/dist/esm/colors.js +8 -1
- package/dist/esm/theme.d.ts +11 -2
- package/dist/esm/theme.d.ts.map +1 -1
- package/dist/esm/theme.js +172 -107
- package/dist/esm/types.d.ts +27 -66
- package/package.json +2 -2
package/dist/esm/types.d.ts
CHANGED
|
@@ -70,8 +70,6 @@ export type BreadcrumbToken = AntdBreadcrumbToken &
|
|
|
70
70
|
fontWeight: number;
|
|
71
71
|
letterSpacing: number;
|
|
72
72
|
borderBottom: string;
|
|
73
|
-
marginInline: number;
|
|
74
|
-
height: number | string;
|
|
75
73
|
};
|
|
76
74
|
|
|
77
75
|
export type TagToken = AntdTagToken &
|
|
@@ -100,7 +98,6 @@ export type TagToken = AntdTagToken &
|
|
|
100
98
|
paddingTop: number;
|
|
101
99
|
paddingBottom: number;
|
|
102
100
|
fontSizeClose: number;
|
|
103
|
-
fontWeight: number;
|
|
104
101
|
};
|
|
105
102
|
|
|
106
103
|
export type TooltipToken = AntdTooltipToken &
|
|
@@ -126,21 +123,14 @@ export type SpinToken = AntdSpinToken & AliasToken;
|
|
|
126
123
|
export type ModalToken = AntdModalToken &
|
|
127
124
|
AliasToken & {
|
|
128
125
|
padding: number | string;
|
|
129
|
-
fontWeight: number;
|
|
130
126
|
borderBottom: string;
|
|
131
127
|
footerPadding: string;
|
|
132
128
|
closeIconColor: string;
|
|
133
|
-
contentPadding: string;
|
|
134
|
-
footerMarginTop: string;
|
|
135
129
|
closeTop: string;
|
|
136
130
|
closeRight: string;
|
|
137
|
-
headerMarginBottom: number;
|
|
138
|
-
badgeColorContent: string;
|
|
139
131
|
badgeColorTop: number;
|
|
140
|
-
badgeColorLeft: number;
|
|
141
132
|
badgeColorWidth: number;
|
|
142
133
|
badgeColorHeight: number;
|
|
143
|
-
badgeColorPosition: PositionTypes;
|
|
144
134
|
badgeColorBackgroundColor: string;
|
|
145
135
|
};
|
|
146
136
|
|
|
@@ -167,18 +157,12 @@ export type ProgressToken = AntdProgressToken &
|
|
|
167
157
|
AliasToken & {
|
|
168
158
|
strokeColor: string;
|
|
169
159
|
trailColor: string;
|
|
170
|
-
borderRadius: string;
|
|
171
160
|
height: string;
|
|
172
161
|
successBgColor: string;
|
|
173
162
|
};
|
|
174
163
|
|
|
175
164
|
export type StepsToken = AntdStepsToken &
|
|
176
165
|
AliasToken & {
|
|
177
|
-
zero?: string;
|
|
178
|
-
auto?: string;
|
|
179
|
-
none?: string;
|
|
180
|
-
full?: string;
|
|
181
|
-
flex?: string;
|
|
182
166
|
rowGap?: string;
|
|
183
167
|
iconWidthHeight?: string;
|
|
184
168
|
iconSize?: string;
|
|
@@ -206,7 +190,6 @@ export type StepsToken = AntdStepsToken &
|
|
|
206
190
|
manyItemsTransform?: string;
|
|
207
191
|
manyItemsWidth?: string;
|
|
208
192
|
manyItemsHeight?: string;
|
|
209
|
-
manyItemsWhiteSpace?: string;
|
|
210
193
|
manyItemsMarginInlineStart?: string;
|
|
211
194
|
manyItemsIconWidthHeight?: string;
|
|
212
195
|
manyItemsTailHeight?: string;
|
|
@@ -232,29 +215,21 @@ export type MenuToken = AntdMenuToken &
|
|
|
232
215
|
lightchildItemBg: string;
|
|
233
216
|
lightChildItemColor: string;
|
|
234
217
|
lightSubTitleColor: string;
|
|
235
|
-
none: string;
|
|
236
|
-
unset: string;
|
|
237
|
-
iconPosition: string;
|
|
238
218
|
mainBorder: string;
|
|
239
219
|
mainMenuExpandIconSize: string;
|
|
240
220
|
mainMenuIconSize: string;
|
|
241
221
|
mainMenuColor: string;
|
|
242
|
-
mainMenuFontWeight: string;
|
|
243
222
|
subMenuTitleColor: string;
|
|
244
223
|
subMenuTitleIconMargin: string;
|
|
245
224
|
subMenuItemSelectedChildColor: string;
|
|
246
|
-
subMenufontWeigth: string;
|
|
247
225
|
subMenuOnlyChildSize: string;
|
|
248
|
-
subMenuOnlyChildRadius: string;
|
|
249
226
|
subMenuOnlyChildBgColor: string;
|
|
250
227
|
subMenuOnlyChildMargin: string;
|
|
251
|
-
subMenuOnlyChildOpacity: string;
|
|
252
228
|
subMenuIconSize: string;
|
|
253
229
|
childMenuItemSelectedChildWidth: string;
|
|
254
230
|
childMenuItemSelectedChildHeight: string;
|
|
255
231
|
childMenuItemSelectedChildRadius: string;
|
|
256
232
|
childMenuItemSelectedChildMargin: string;
|
|
257
|
-
childMenuItemSelectedChildOpacity: string;
|
|
258
233
|
childMenuItemSelectedChildBgColor: string;
|
|
259
234
|
};
|
|
260
235
|
|
|
@@ -262,11 +237,9 @@ export type DatePickerToken = AntdDatePickerToken &
|
|
|
262
237
|
AliasToken & {
|
|
263
238
|
general: {
|
|
264
239
|
fontSize: string;
|
|
265
|
-
fontWeight: string;
|
|
266
240
|
fontColor: string;
|
|
267
241
|
bgDarkBlue: string;
|
|
268
242
|
wideBorder: string;
|
|
269
|
-
itemCenter: string;
|
|
270
243
|
inputMarginBottom: string;
|
|
271
244
|
inputPadding: string;
|
|
272
245
|
lightThemeBorder: string;
|
|
@@ -274,17 +247,6 @@ export type DatePickerToken = AntdDatePickerToken &
|
|
|
274
247
|
title: {
|
|
275
248
|
lightColor: string;
|
|
276
249
|
};
|
|
277
|
-
pickerTriangle: {
|
|
278
|
-
transform: string;
|
|
279
|
-
beforeTop: string;
|
|
280
|
-
beforeBorderX: string;
|
|
281
|
-
beforeBorderBottom: string;
|
|
282
|
-
beforeZIndex: string;
|
|
283
|
-
afterTop: string;
|
|
284
|
-
afterBorderX: string;
|
|
285
|
-
afterBorderBottom: string;
|
|
286
|
-
afterZIndex: string;
|
|
287
|
-
};
|
|
288
250
|
pickerPanel: {
|
|
289
251
|
shadow: string;
|
|
290
252
|
width: string;
|
|
@@ -338,7 +300,6 @@ export type DatePickerToken = AntdDatePickerToken &
|
|
|
338
300
|
borderRadius: string;
|
|
339
301
|
datePickerBorderTop: string;
|
|
340
302
|
datePickerPadding: string;
|
|
341
|
-
rangeDirection: string;
|
|
342
303
|
rangeColGap: string;
|
|
343
304
|
rangeBorder: string;
|
|
344
305
|
rangePadding: string;
|
|
@@ -354,7 +315,10 @@ export type DividerToken = AntdDividerToken &
|
|
|
354
315
|
fontWeight: number;
|
|
355
316
|
};
|
|
356
317
|
|
|
357
|
-
export type UploadToken = AntdUploadToken &
|
|
318
|
+
export type UploadToken = AntdUploadToken &
|
|
319
|
+
AliasToken & {
|
|
320
|
+
svgColor: string;
|
|
321
|
+
};
|
|
358
322
|
|
|
359
323
|
export type CustomTokens = {
|
|
360
324
|
layout: {
|
|
@@ -364,11 +328,18 @@ export type CustomTokens = {
|
|
|
364
328
|
displayInline: string;
|
|
365
329
|
displayInlineBlock: string;
|
|
366
330
|
displayNone: string;
|
|
331
|
+
displayContents: string;
|
|
367
332
|
positionAbsolute: string;
|
|
368
333
|
positionRelative: string;
|
|
369
334
|
positionFixed: string;
|
|
370
335
|
positionSticky: string;
|
|
371
336
|
positionStatic: string;
|
|
337
|
+
flexStart: string;
|
|
338
|
+
flexCenter: string;
|
|
339
|
+
flexDirectionRow: string;
|
|
340
|
+
flexDirectionRowReverse: string;
|
|
341
|
+
flexDirectionColumn: string;
|
|
342
|
+
flexDirectionColumnReverse: string;
|
|
372
343
|
};
|
|
373
344
|
typography: {
|
|
374
345
|
textTransformUppercase: string;
|
|
@@ -383,9 +354,13 @@ export type CustomTokens = {
|
|
|
383
354
|
whiteSpacePre: string;
|
|
384
355
|
whiteSpacePreLine: string;
|
|
385
356
|
whiteSpacePreWrap: string;
|
|
357
|
+
whiteSpaceBreakSpaces: string;
|
|
358
|
+
wordBreak: string;
|
|
386
359
|
textDecorationUnderline: string;
|
|
387
360
|
textDecorationOverline: string;
|
|
388
361
|
textDecorationLineThrough: string;
|
|
362
|
+
fontWeightBold: string;
|
|
363
|
+
fontWeightMedium: string;
|
|
389
364
|
};
|
|
390
365
|
sizing: {
|
|
391
366
|
sizeMaxContent: string;
|
|
@@ -397,6 +372,7 @@ export type CustomTokens = {
|
|
|
397
372
|
valueQuarter: string;
|
|
398
373
|
valueZero: string;
|
|
399
374
|
valueAuto: string;
|
|
375
|
+
valueInherit: string;
|
|
400
376
|
};
|
|
401
377
|
others: {
|
|
402
378
|
colorTransparent: string;
|
|
@@ -405,6 +381,11 @@ export type CustomTokens = {
|
|
|
405
381
|
emptyContent: string;
|
|
406
382
|
lineHeightShort: string;
|
|
407
383
|
lineHeightTall: string;
|
|
384
|
+
cursorNotAllowed: string;
|
|
385
|
+
cursorPointer: string;
|
|
386
|
+
verticalAlignMiddle: string;
|
|
387
|
+
opacityFull: string;
|
|
388
|
+
opacityNone: string;
|
|
408
389
|
};
|
|
409
390
|
border: {
|
|
410
391
|
borderNone: string;
|
|
@@ -413,6 +394,7 @@ export type CustomTokens = {
|
|
|
413
394
|
borderDotted: string;
|
|
414
395
|
borderWidthThin: string;
|
|
415
396
|
borderWidthThick: string;
|
|
397
|
+
borderRadiusSm: string;
|
|
416
398
|
};
|
|
417
399
|
overflow: {
|
|
418
400
|
overflowVisible: string;
|
|
@@ -423,32 +405,16 @@ export type CustomTokens = {
|
|
|
423
405
|
|
|
424
406
|
export type PaginationToken = AntdPaginationToken &
|
|
425
407
|
AliasToken & {
|
|
426
|
-
zero: string;
|
|
427
|
-
none: string;
|
|
428
|
-
unset: string;
|
|
429
|
-
maxContent: string;
|
|
430
408
|
fontSize: string;
|
|
431
|
-
transparent: string;
|
|
432
|
-
displayFlex: string;
|
|
433
|
-
displayFlexRow: string;
|
|
434
|
-
displayContents: string;
|
|
435
|
-
displayGrid: string;
|
|
436
|
-
center: string;
|
|
437
|
-
full: string;
|
|
438
|
-
lineHeight: string;
|
|
439
|
-
auto: string;
|
|
440
|
-
hidden: string;
|
|
441
409
|
Simple: {
|
|
442
410
|
minWidth: string;
|
|
443
411
|
fontWeight: string;
|
|
444
412
|
color: string;
|
|
445
413
|
input: {
|
|
446
414
|
textColor: string;
|
|
447
|
-
fontWeight: string;
|
|
448
415
|
};
|
|
449
416
|
prevNextButton: {
|
|
450
417
|
svgWidth: string;
|
|
451
|
-
svgHeight: string;
|
|
452
418
|
svgFill: string;
|
|
453
419
|
};
|
|
454
420
|
slashPadding: string;
|
|
@@ -457,8 +423,6 @@ export type PaginationToken = AntdPaginationToken &
|
|
|
457
423
|
};
|
|
458
424
|
Table: {
|
|
459
425
|
totalText: {
|
|
460
|
-
width: string;
|
|
461
|
-
fontWeight: string;
|
|
462
426
|
color: string;
|
|
463
427
|
margin: string;
|
|
464
428
|
};
|
|
@@ -483,7 +447,6 @@ export type PaginationToken = AntdPaginationToken &
|
|
|
483
447
|
sizeChanger: {
|
|
484
448
|
bgColor: string;
|
|
485
449
|
textColor: string;
|
|
486
|
-
width: string;
|
|
487
450
|
colGap: string;
|
|
488
451
|
border: string;
|
|
489
452
|
borderRadius: string;
|
|
@@ -494,14 +457,11 @@ export type PaginationToken = AntdPaginationToken &
|
|
|
494
457
|
};
|
|
495
458
|
item2: {
|
|
496
459
|
textColor: string;
|
|
497
|
-
fontWeight: string;
|
|
498
460
|
};
|
|
499
461
|
icon: {
|
|
500
462
|
bgColor: string;
|
|
501
463
|
textColor: string;
|
|
502
464
|
width: string;
|
|
503
|
-
position: string;
|
|
504
|
-
fontWeight: string;
|
|
505
465
|
};
|
|
506
466
|
};
|
|
507
467
|
};
|
|
@@ -509,12 +469,8 @@ export type PaginationToken = AntdPaginationToken &
|
|
|
509
469
|
border: string;
|
|
510
470
|
bgColor: string;
|
|
511
471
|
textColor: string;
|
|
512
|
-
fontWeight: string;
|
|
513
472
|
minWidth: string;
|
|
514
473
|
height: string;
|
|
515
|
-
spanVisibility: string;
|
|
516
|
-
spanWhiteSpace: string;
|
|
517
|
-
spanPosition: string;
|
|
518
474
|
};
|
|
519
475
|
};
|
|
520
476
|
|
|
@@ -528,6 +484,10 @@ export type SelectToken = AntdSelectToken &
|
|
|
528
484
|
|
|
529
485
|
export type TableToken = AntdTableToken & AliasToken & {};
|
|
530
486
|
|
|
487
|
+
export type NavCardToken = AliasToken & {
|
|
488
|
+
shadow: string;
|
|
489
|
+
};
|
|
490
|
+
|
|
531
491
|
export type GlobalToken = AntdGlobalToken & {
|
|
532
492
|
Button: ButtonToken;
|
|
533
493
|
Checkbox: CheckboxToken;
|
|
@@ -554,6 +514,7 @@ export type GlobalToken = AntdGlobalToken & {
|
|
|
554
514
|
CustomTokens: CustomTokens;
|
|
555
515
|
Select: SelectToken;
|
|
556
516
|
Table: TableToken;
|
|
517
|
+
NavCardTokens: NavCardToken;
|
|
557
518
|
};
|
|
558
519
|
|
|
559
520
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Akinon UI's default theme values.",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"copyfiles": "^2.4.1",
|
|
18
18
|
"rimraf": "^5.0.5",
|
|
19
19
|
"typescript": "*",
|
|
20
|
-
"@akinon/typescript-config": "1.0.
|
|
20
|
+
"@akinon/typescript-config": "1.0.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=18",
|