@akinon/ui-theme 0.5.0 → 0.7.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/esm/theme.js CHANGED
@@ -49,6 +49,91 @@ export const theme = {
49
49
  fontSize: fontSize * 0.875
50
50
  },
51
51
  components: {
52
+ Button: {
53
+ // type: primary
54
+ colorPrimary: colors.azure['500'],
55
+ colorPrimaryHover: colors.azure['600'],
56
+ colorPrimaryActive: colors.azure['700'],
57
+ colorPrimaryText: colors.neutral['50'],
58
+ primaryShadow: 'unset',
59
+ // type: default (secondary)
60
+ defaultBg: colors.neutral['50'],
61
+ defaultColor: colors.azure['500'],
62
+ defaultHoverBg: colors.neutral['100'],
63
+ defaultHoverColor: colors.azure['500'],
64
+ defaultActiveBg: colors.neutral['50'],
65
+ defaultActiveColor: colors.azure['500'],
66
+ defaultBorderColor: colors.azure['500'],
67
+ defaultShadow: 'unset',
68
+ defaultBgSm: colors.gray['750'],
69
+ defaultBgSmHover: colors.gray['800'],
70
+ // prop: danger
71
+ colorError: colors.red['450'],
72
+ colorErrorHover: colors.red['500'],
73
+ colorErrorActive: colors.red['600'],
74
+ colorErrorBorder: colors.red['500'],
75
+ dangerShadow: 'unset',
76
+ colorErrorBgSM: colors.red['425'],
77
+ colorErrorBgSMHover: colors.red['450'],
78
+ colorErrorSMHover: colors.neutral['50'],
79
+ // type: success
80
+ colorSuccessBg: colors.green['500'],
81
+ colorSuccessBorder: colors.green['500'],
82
+ colorSuccessHover: colors.green['600'],
83
+ colorSuccessActive: colors.green['700'],
84
+ // type: warning
85
+ colorWarningBg: colors.neutral['50'],
86
+ colorWarningBorder: colors.neutral['50'],
87
+ colorWarningHover: colors.neutral['100'],
88
+ colorWarningActive: colors.neutral['50'],
89
+ colorWarningText: colors.orange['450'],
90
+ // prop: disabled
91
+ colorBgContainerDisabled: colors.neutral['100'],
92
+ colorTextDisabled: colors.neutral['350'],
93
+ borderColorDisabled: colors.neutral['350'],
94
+ // prop: ghost
95
+ defaultGhostBorderColor: 'transparent',
96
+ defaultGhostColor: colors.azure['500'],
97
+ // all buttons
98
+ contentFontSizeSM: fontSize * 0.75,
99
+ borderRadiusSM: 11,
100
+ paddingBlockSM: 1,
101
+ paddingInlineSM: 20,
102
+ colorText: colors.neutral['50'],
103
+ colorTextHover: colors.neutral['50'],
104
+ contentLineHeightSM: 1,
105
+ controlHeight: 40,
106
+ borderRadius: 5,
107
+ paddingBlock: 10,
108
+ paddingInline: 45,
109
+ contentLineHeight: 1,
110
+ fontWeight: 600
111
+ },
112
+ Checkbox: {
113
+ colorPrimary: colors.ebonyClay['25'],
114
+ colorBgContainer: colors.gray['150'],
115
+ colorText: colors.neutral['350'],
116
+ colorChecked: colors.neutral['50'],
117
+ controlInteractiveSize: 20
118
+ },
119
+ Badge: {
120
+ colorText: colors.neutral['50']
121
+ },
122
+ Radio: {
123
+ radioSize: 14,
124
+ dotSize: 5,
125
+ colorPrimary: colors.azure['500'],
126
+ colorBgContainer: colors.gray['150'],
127
+ colorText: colors.neutral['350'],
128
+ colorChecked: colors.neutral['50'],
129
+ colorBorder: colors.neutral['550'],
130
+ buttonBg: colors.ebonyClay['600'],
131
+ buttonColor: colors.neutral['50'],
132
+ buttonSolidCheckedBg: colors.ebonyClay['600'],
133
+ buttonSolidCheckedColor: colors.neutral['50'],
134
+ buttonSolidCheckedBorder: colors.azure['500'],
135
+ borderRadiusSM: 100
136
+ },
52
137
  Layout: {
53
138
  headerBg: colors.ebonyClay['500'],
54
139
  siderBg: colors.ebonyClay['500']
@@ -69,13 +154,82 @@ export const theme = {
69
154
  },
70
155
  Breadcrumb: {
71
156
  fontSize: fontSize * 0.625,
72
- lastItemColor: colors.azure['500']
157
+ itemColor: colors.azure['500'],
158
+ lastItemColor: colors.gray['500'],
159
+ paddingBottom: fontSize * 0.5,
160
+ borderBottom: '1px solid var(--color-gray-900)',
161
+ paddingLeft: 20,
162
+ paddingRight: 20,
163
+ marginLeft: 8,
164
+ marginRight: 8,
165
+ fontWeight: 600,
166
+ lineHeight: 1.5,
167
+ separatorColor: colors.azure['500'],
168
+ letterSpacing: fontSize * 0.03,
169
+ marginInline: 0,
170
+ height: 'auto'
171
+ },
172
+ Tag: {
173
+ defaultColorSuccess: colors.green['951'],
174
+ defaultBorderColorSuccess: colors.green['952'],
175
+ defaultBgSuccess: colors.green['953'],
176
+ defaultColorWaiting1: colors.orange['951'],
177
+ defaultBorderColorWaiting1: colors.orange['952'],
178
+ defaultBgWaiting1: colors.orange['953'],
179
+ defaultColorWaiting2: colors.blue['951'],
180
+ defaultBorderColorWaiting2: colors.blue['952'],
181
+ defaultBgWaiting2: colors.blue['953'],
182
+ defaultColorWaiting3: colors.purple['951'],
183
+ defaultBorderColorWaiting3: colors.purple['952'],
184
+ defaultBgWaiting3: colors.purple['953'],
185
+ defaultColorFailed: colors.red['951'],
186
+ defaultBorderColorFailed: colors.red['450'],
187
+ defaultBgFailed: colors.red['952'],
188
+ borderRadius: 5,
189
+ fontSize: fontSize * 0.8125,
190
+ paddingLeft: 15,
191
+ paddingRight: 15,
192
+ fontSizeClose: fontSize * 0.6875,
193
+ fontWeight: 500
194
+ },
195
+ Tooltip: {
196
+ bgColor: colors.ebonyClay['951']
197
+ },
198
+ Flex: {},
199
+ Spin: {},
200
+ Alert: {
201
+ defaultColorSuccess: colors.green['951'],
202
+ defaultBorderColorSuccess: colors.green['952'],
203
+ defaultBgSuccess: colors.green['953'],
204
+ defaultColorWaiting1: colors.orange['951'],
205
+ defaultBorderColorWaiting1: colors.orange['952'],
206
+ defaultBgWaiting1: colors.orange['953'],
207
+ defaultColorWaiting2: colors.blue['951'],
208
+ defaultBorderColorWaiting2: colors.blue['952'],
209
+ defaultBgWaiting2: colors.blue['953'],
210
+ defaultColorWaiting3: colors.purple['951'],
211
+ defaultBorderColorWaiting3: colors.purple['952'],
212
+ defaultBgWaiting3: colors.purple['953'],
213
+ defaultColorFailed: colors.red['951'],
214
+ defaultBorderColorFailed: colors.red['450'],
215
+ defaultBgFailed: colors.red['952']
216
+ },
217
+ Grid: {
218
+ rowMaxWidth: 1368,
219
+ gutter: 24
73
220
  },
74
221
  Card: {
75
222
  colorBgContainer: colors.ebonyClay['450'],
76
223
  colorTextDescription: colors.neutral['100'],
77
224
  headerFontSize: fontSize * 1.25,
78
- fontSize: fontSize * 0.875
225
+ fontSize: fontSize * 0.875,
226
+ borderRadiusLG: 10,
227
+ paddingLG: 40,
228
+ padding: 24,
229
+ headerHeight: fontSize * 1.25,
230
+ lineHeight: 1,
231
+ colorBorderSecondary: colors.ebonyClay['550'],
232
+ lineWidth: 2
79
233
  },
80
234
  Collapse: {
81
235
  headerPadding: '0 0 12px',
@@ -87,7 +241,12 @@ export const theme = {
87
241
  Form: {
88
242
  itemMarginBottom: 16,
89
243
  labelColor: colors.neutral['100'],
90
- verticalLabelPadding: 4
244
+ verticalLabelPadding: '7px 0',
245
+ // TODO: contribute to antd to use normal and percentage
246
+ lineHeight: 'normal',
247
+ fontWeight: 600,
248
+ colorError: colors.red['425'],
249
+ verticalErrorPadding: '7px 0'
91
250
  },
92
251
  Pagination: {
93
252
  colorText: colors.ebonyClay['950'],
@@ -111,13 +270,104 @@ export const theme = {
111
270
  colorBgContainer: colors.ebonyClay['475'],
112
271
  fontSizeLG: fontSize * 0.875,
113
272
  colorBorder: colors.ebonyClay['550'],
114
- lineWidth: 2
273
+ lineWidth: 2,
274
+ activeShadow: 'unset',
275
+ errorActiveShadow: 'unset',
276
+ warningActiveShadow: 'unset',
277
+ fontWeight: 600,
278
+ colorBgContainerDisabled: colors.gray['850'],
279
+ colorTextDisabled: colors.ebonyClay['375']
115
280
  },
116
281
  InputNumber: {
117
282
  colorBgContainer: colors.ebonyClay['475'],
118
283
  fontSizeLG: fontSize * 0.875,
119
284
  colorBorder: colors.ebonyClay['550'],
120
285
  lineWidth: 2
286
+ },
287
+ Modal: {
288
+ titleFontSize: fontSize * 1.25,
289
+ padding: '20px 35px',
290
+ fontWeight: 500,
291
+ borderBottom: `1px solid ${colors.blue['954']}`,
292
+ footerPadding: '0 35px 20px 35px',
293
+ closeIconColor: colors.neutral['100'],
294
+ contentPadding: 0,
295
+ footerMarginTop: 0,
296
+ closeTop: 20,
297
+ closeRight: 27,
298
+ headerMarginBottom: 0,
299
+ badgeColorContent: '',
300
+ badgeColorTop: 27,
301
+ badgeColorLeft: 0,
302
+ badgeColorWidth: 4,
303
+ badgeColorHeight: 16,
304
+ badgeColorPosition: 'absolute',
305
+ badgeColorBackgroundColor: colors.red['425']
306
+ },
307
+ Progress: {
308
+ strokeColor: colors.green['100'],
309
+ trailColor: colors.ebonyClay['850'],
310
+ borderRadius: '0',
311
+ height: '18px !important',
312
+ successBgColor: 'repeating-linear-gradient(60deg, rgba(36, 180, 19, 1) 0, rgba(36, 180, 19, 1) 5px, rgba(72, 192, 62, 1) 5px, rgba(72, 192, 62, 1) 10px) !important'
313
+ },
314
+ Steps: {
315
+ zero: '0 !important',
316
+ auto: 'auto !important',
317
+ none: 'none !important',
318
+ full: '100% !important',
319
+ flex: 'flex !important',
320
+ rowGap: '10px',
321
+ iconWidthHeight: '38px !important',
322
+ iconSize: '18px !important',
323
+ paddingInlineEnd: '16px',
324
+ tailTop: '16px',
325
+ tailHeight: '3px',
326
+ titleFontSize: '14px !important',
327
+ iconColor: 'white',
328
+ tailColor: 'linear-gradient(to right, #343639 50%, transparent 50%) !important',
329
+ tailLastChildColor: 'linear-gradient(to right, #4482ff 50%, transparent 50%) !important',
330
+ tailFirstChildColor: 'linear-gradient(to right, transparent 50%, #4482ff 50%) !important',
331
+ tailProcessFirstChildColor: 'linear-gradient(to right, transparent 50%, #3b404c 50%) !important',
332
+ tailProcessColor: 'linear-gradient(to right, #4482ff 50%, #3b404c 50%) !important',
333
+ tailWaitLastChildColor: 'linear-gradient(to right, #3b404c 50%, transparent 50%) !important',
334
+ finishIconBgColor: `${colors.green['952']} !important`,
335
+ finishTailColor: `${colors.azure['500']} !important`,
336
+ processIconBgColor: `${colors.orange['425']} !important`,
337
+ waitIconBgColor: `${colors.neutral['50']} !important`,
338
+ waitIconColor: `${colors.ebonyClay['951']} !important`,
339
+ waitTitleColor: `${colors.neutral['50']} !important`,
340
+ waitTailColor: `${colors.gray['900']} !important`,
341
+ manyItemsTransform: 'rotate(-40deg)',
342
+ manyItemsWidth: '90px',
343
+ manyItemsHeight: '80px',
344
+ manyItemsWhiteSpace: 'break-spaces',
345
+ manyItemsMarginInlineStart: '40px',
346
+ manyItemsIconWidthHeight: '22px !important',
347
+ manyItemsTailHeight: '4px',
348
+ manyItemsTailBottom: '10px'
349
+ },
350
+ Switch: {
351
+ colorPrimary: colors.green['952'],
352
+ colorPrimaryHover: colors.green['951'],
353
+ colorPrimaryActive: colors.green['954'],
354
+ trackHeight: 26,
355
+ trackMinWidth: 57,
356
+ handleSize: 22,
357
+ colorTextQuaternary: colors.gray['250'],
358
+ colorTextTertiary: colors.gray['300'],
359
+ handleBg: colors.neutral['80'],
360
+ handleShadow: '1px 1px 2px 0 rgba(156, 169, 194, 0.5)',
361
+ fontSizeSM: fontSize * 0.5625,
362
+ innerMinMargin: 0
363
+ },
364
+ Divider: {
365
+ colorSplit: colors.ebonyClay['175'],
366
+ colorText: colors.gray['500'],
367
+ colorTextHeading: colors.gray['500'],
368
+ fontWeight: 500,
369
+ textPaddingInline: 8,
370
+ margin: 48
121
371
  }
122
372
  }
123
373
  };
@@ -138,8 +388,8 @@ export const useToken = antdTheme.useToken;
138
388
  * --color-{object_key}-{object_key}: {color_value};
139
389
  */
140
390
  export const getCssVariables = () => {
141
- const { colors } = theme;
142
- const prefix = '--color';
391
+ const { colors, token } = theme;
392
+ let prefix = '--color';
143
393
  const result = {};
144
394
  for (const [colorType, colorObject] of Object.entries(colors)) {
145
395
  for (const [colorShade, colorValue] of Object.entries(colorObject)) {
@@ -147,5 +397,14 @@ export const getCssVariables = () => {
147
397
  result[variableName] = colorValue;
148
398
  }
149
399
  }
400
+ prefix = '--token';
401
+ if (token) {
402
+ for (const [key, value] of Object.entries(token)) {
403
+ const variableName = `${prefix}-${key}`;
404
+ if (typeof value === 'string' || typeof value === 'number') {
405
+ result[variableName] = value;
406
+ }
407
+ }
408
+ }
150
409
  return result;
151
410
  };
@@ -0,0 +1,238 @@
1
+ import { ComponentToken as AntdAlertToken } from 'antd/lib/alert/style';
2
+ import { ComponentToken as AntdBadgeToken } from 'antd/lib/badge/style';
3
+ import { ComponentToken as AntdBreadcrumbToken } from 'antd/lib/breadcrumb/style';
4
+ import { ComponentToken as AntdButtonToken } from 'antd/lib/button/style';
5
+ import { ComponentToken as AntdCheckboxToken } from 'antd/lib/checkbox/style';
6
+ import { ComponentToken as AntdFlexToken } from 'antd/lib/flex/style';
7
+ import { ComponentToken as AntdGridToken } from 'antd/lib/grid/style';
8
+ import { ComponentToken as AntdInputToken } from 'antd/lib/input/style';
9
+ import { ComponentToken as AntdLayoutToken } from 'antd/lib/layout/style';
10
+ import { ComponentToken as AntdModalToken } from 'antd/lib/modal/style';
11
+ import { ComponentToken as AntdProgressToken } from 'antd/lib/progress/style';
12
+ import { ComponentToken as AntdRadioToken } from 'antd/lib/radio/style';
13
+ import { ComponentToken as AntdSpinToken } from 'antd/lib/spin/style';
14
+ import { ComponentToken as AntdStepsToken } from 'antd/lib/steps/style';
15
+ import { ComponentToken as AntdTagToken } from 'antd/lib/tag/style';
16
+ import { GlobalToken as AntdGlobalToken } from 'antd/lib/theme/interface';
17
+ import { AliasToken } from 'antd/lib/theme/internal';
18
+ import { ComponentToken as AntdTooltipToken } from 'antd/lib/tooltip/style';
19
+
20
+ type PositionTypes = 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
21
+
22
+ export type ButtonToken = AntdButtonToken &
23
+ AliasToken & {
24
+ colorText: string;
25
+ colorTextHover: string;
26
+ defaultBgSm: string;
27
+ defaultBgSmHover: string;
28
+ colorErrorBgSM: string;
29
+ colorErrorBgSMHover: string;
30
+ colorErrorSMHover: string;
31
+ };
32
+
33
+ export type CheckboxToken = AntdCheckboxToken &
34
+ AliasToken & {
35
+ colorChecked: string;
36
+ };
37
+
38
+ export type RadioToken = AntdRadioToken &
39
+ AliasToken & {
40
+ colorChecked: string;
41
+ buttonSolidCheckedBorder: string;
42
+ };
43
+
44
+ export type BadgeToken = AntdBadgeToken &
45
+ AliasToken & {
46
+ colorText: string;
47
+ };
48
+
49
+ export type InputToken = AntdInputToken &
50
+ AliasToken & {
51
+ fontWeight: number;
52
+ };
53
+
54
+ export type BreadcrumbToken = AntdBreadcrumbToken &
55
+ AliasToken & {
56
+ paddingBottom: number;
57
+ borderBottom: string;
58
+ paddingLeft: number;
59
+ paddingRight: number;
60
+ marginLeft: number;
61
+ marginRight: number;
62
+ fontWeight: number;
63
+ letterSpacing: number;
64
+ borderBottom: string;
65
+ marginInline: number;
66
+ height: number | string;
67
+ };
68
+
69
+ export type TagToken = AntdTagToken &
70
+ AliasToken & {
71
+ defaultColorSuccess: string;
72
+ defaultBorderColorSuccess: string;
73
+ defaultBgSuccess: string;
74
+ defaultColorWaiting1: string;
75
+ defaultBorderColorWaiting1: string;
76
+ defaultBgWaiting1: string;
77
+ defaultColorWaiting2: string;
78
+ defaultBorderColorWaiting2: string;
79
+ defaultBgWaiting2: string;
80
+ defaultColorWaiting3: string;
81
+ defaultBorderColorWaiting3: string;
82
+ defaultBgWaiting3: string;
83
+ defaultColorFailed: string;
84
+ defaultBorderColorFailed: string;
85
+ defaultBgFailed: string;
86
+ fontSize: number;
87
+ paddingLeft: number;
88
+ paddingRight: number;
89
+ paddingTop: number;
90
+ paddingBottom: number;
91
+ fontSizeClose: number;
92
+ fontWeight: number;
93
+ };
94
+
95
+ export type TooltipToken = AntdTooltipToken &
96
+ AliasToken & {
97
+ bgColor: string;
98
+ };
99
+
100
+ export type FlexToken = AntdFlexToken & AliasToken;
101
+
102
+ export type GridToken = AntdGridToken &
103
+ AliasToken & {
104
+ rowMaxWidth: number;
105
+ gutter: number;
106
+ };
107
+
108
+ export type LayoutToken = AntdLayoutToken & AliasToken;
109
+
110
+ export type SpinToken = AntdSpinToken & AliasToken;
111
+
112
+ export type ModalToken = AntdModalToken &
113
+ AliasToken & {
114
+ padding: number | string;
115
+ fontWeight: number;
116
+ borderBottom: string;
117
+ footerPadding: string;
118
+ closeIconColor: string;
119
+ contentPadding: string;
120
+ footerMarginTop: string;
121
+ closeTop: string;
122
+ closeRight: string;
123
+ headerMarginBottom: number;
124
+ badgeColorContent: string;
125
+ badgeColorTop: number;
126
+ badgeColorLeft: number;
127
+ badgeColorWidth: number;
128
+ badgeColorHeight: number;
129
+ badgeColorPosition: PositionTypes;
130
+ badgeColorBackgroundColor: string;
131
+ };
132
+
133
+ export type AlertToken = AntdAlertToken &
134
+ AliasToken & {
135
+ defaultColorSuccess: string;
136
+ defaultBorderColorSuccess: string;
137
+ defaultBgSuccess: string;
138
+ defaultColorWaiting1: string;
139
+ defaultBorderColorWaiting1: string;
140
+ defaultBgWaiting1: string;
141
+ defaultColorWaiting2: string;
142
+ defaultBorderColorWaiting2: string;
143
+ defaultBgWaiting2: string;
144
+ defaultColorWaiting3: string;
145
+ defaultBorderColorWaiting3: string;
146
+ defaultBgWaiting3: string;
147
+ defaultColorFailed: string;
148
+ defaultBorderColorFailed: string;
149
+ defaultBgFailed: string;
150
+ };
151
+
152
+ export type ProgressToken = AntdProgressToken &
153
+ AliasToken & {
154
+ strokeColor: string;
155
+ trailColor: string;
156
+ borderRadius: string;
157
+ height: string;
158
+ successBgColor: string;
159
+ };
160
+
161
+ export type StepsToken = AntdStepsToken &
162
+ AliasToken & {
163
+ zero?: string;
164
+ auto?: string;
165
+ none?: string;
166
+ full?: string;
167
+ flex?: string;
168
+ rowGap?: string;
169
+ iconWidthHeight?: string;
170
+ iconSize?: string;
171
+ paddingInlineEnd?: string;
172
+ tailTop?: string;
173
+ tailHeight?: string;
174
+ titleFontSize?: string;
175
+ iconColor?: string;
176
+ tailColor?: string;
177
+ tailLastChildColor?: string;
178
+ tailFirstChildColor?: string;
179
+ tailProcessFirstChildColor?: string;
180
+ tailProcessColor?: string;
181
+ tailWaitLastChildColor?: string;
182
+ finishIconBgColor?: string;
183
+ finishTailColor?: string;
184
+ processIconBgColor?: string;
185
+ waitIconBgColor?: string;
186
+ waitIconColor?: string;
187
+ waitTitleColor?: string;
188
+ waitTailColor?: string;
189
+ manyItemsTransform?: string;
190
+ manyItemsWidth?: string;
191
+ manyItemsHeight?: string;
192
+ manyItemsWhiteSpace?: string;
193
+ manyItemsMarginInlineStart?: string;
194
+ manyItemsIconWidthHeight?: string;
195
+ manyItemsTailHeight?: string;
196
+ manyItemsTailBottom?: string;
197
+ };
198
+
199
+ export type FormToken = AntdFormToken &
200
+ AliasToken & {
201
+ lineHeight: number | string;
202
+ fontWeight: number;
203
+ verticalErrorPadding: string;
204
+ };
205
+
206
+ export type GlobalToken = AntdGlobalToken & {
207
+ Button: ButtonToken;
208
+ Checkbox: CheckboxToken;
209
+ Radio: RadioToken;
210
+ Input: InputToken;
211
+ Breadcrumb: BreadcrumbToken;
212
+ Tag: TagToken;
213
+ Tooltip: TooltipToken;
214
+ Flex: FlexToken;
215
+ Grid: GridToken;
216
+ Layout: LayoutToken;
217
+ Spin: SpinToken;
218
+ Modal: ModalToken;
219
+ Alert: AlertToken;
220
+ Badge: BadgeToken;
221
+ Progress: ProgressToken;
222
+ Steps: StepsToken;
223
+ Form: FormToken;
224
+ Divider: DividerToken;
225
+ };
226
+
227
+ export type DividerToken = AntdDividerToken &
228
+ AliasToken & {
229
+ fontWeight: number;
230
+ };
231
+
232
+ /**
233
+ * This is a type that is used to prevent the use of custom styles.
234
+ * Type name joke is stolen from React's internal props.
235
+ */
236
+ export type DO_NOT_USE_OR_YOU_WILL_BE_FIRED_INTERNAL_STYLE = {
237
+ [key: string]: never;
238
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/ui-theme",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "description": "Akinon UI's default theme values.",
6
6
  "type": "module",
@@ -17,9 +17,7 @@
17
17
  "copyfiles": "^2.4.1",
18
18
  "rimraf": "^5.0.5",
19
19
  "typescript": "^5.2.2",
20
- "@akinon/vite-config": "0.4.0",
21
- "@akinon/eslint-config": "0.1.0",
22
- "@akinon/typescript-config": "0.2.0"
20
+ "@akinon/typescript-config": "0.4.0"
23
21
  },
24
22
  "peerDependencies": {
25
23
  "react": ">=18",
@@ -39,12 +37,8 @@
39
37
  "build": "pnpm run build:esm && pnpm run build:commonjs && pnpm run copy:files",
40
38
  "build:esm": "tsc --outDir dist/esm",
41
39
  "build:commonjs": "tsc --module commonjs --outDir dist/cjs",
42
- "copy:files": "copyfiles -u 1 src/**/*.css dist/esm && copyfiles -u 1 src/**/*.css dist/cjs",
40
+ "copy:files": "copyfiles -u 1 \"src/**/*.!(ts|tsx)\" dist/esm && copyfiles -u 1 \"src/**/*.!(ts|tsx)\" dist/cjs",
43
41
  "clean": "rimraf dist/",
44
- "lint": "eslint *.ts*",
45
- "test": "vitest run",
46
- "test:ui": "vitest --ui",
47
- "test:watch": "vitest watch",
48
42
  "typecheck": "tsc --noEmit"
49
43
  }
50
44
  }