1mpacto-react-ui 0.2.0-beta.3 → 0.2.0-beta.5
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/assets/_colors.scss +247 -1
- package/dist/assets/_mixins.scss +22 -0
- package/dist/assets/_screen.scss +6 -0
- package/dist/assets/_typography.scss +72 -0
- package/dist/assets/colors.css +1 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/screen.css +8 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/typography.css +36 -0
- package/dist/index.cjs +65 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2922 -2838
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +10 -6
- package/dist/src/components/Collapse/CollapseV2.d.ts +3 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +18 -0
- package/dist/src/components/Colors/Colors.stories.d.ts +13 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +350 -2
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +171 -2
- package/dist/src/components/Table/Table.stories.d.ts +247 -1
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +75 -1
- package/dist/src/components/Typography/Typography.stories.d.ts +13 -0
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/config/components/typography.d.ts +13 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +7 -0
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +1 -3
- package/package.json +10 -6
|
@@ -6,7 +6,253 @@ declare const meta: {
|
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
9
|
+
argTypes: {
|
|
10
|
+
tableInstance: {
|
|
11
|
+
control: {
|
|
12
|
+
disable: true;
|
|
13
|
+
};
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
category: string;
|
|
17
|
+
type: {
|
|
18
|
+
summary: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
classNameWrapperTable: {
|
|
23
|
+
control: "text";
|
|
24
|
+
description: string;
|
|
25
|
+
table: {
|
|
26
|
+
category: string;
|
|
27
|
+
type: {
|
|
28
|
+
summary: string;
|
|
29
|
+
};
|
|
30
|
+
defaultValue: {
|
|
31
|
+
summary: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
classNameTable: {
|
|
36
|
+
control: "text";
|
|
37
|
+
description: string;
|
|
38
|
+
table: {
|
|
39
|
+
category: string;
|
|
40
|
+
type: {
|
|
41
|
+
summary: string;
|
|
42
|
+
};
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
collapseAll: {
|
|
49
|
+
control: "boolean";
|
|
50
|
+
description: string;
|
|
51
|
+
table: {
|
|
52
|
+
category: string;
|
|
53
|
+
type: {
|
|
54
|
+
summary: string;
|
|
55
|
+
};
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
handlerRowClick: {
|
|
62
|
+
control: {
|
|
63
|
+
disable: true;
|
|
64
|
+
};
|
|
65
|
+
description: string;
|
|
66
|
+
table: {
|
|
67
|
+
category: string;
|
|
68
|
+
type: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
privillageRowClick: {
|
|
74
|
+
control: "boolean";
|
|
75
|
+
description: string;
|
|
76
|
+
table: {
|
|
77
|
+
category: string;
|
|
78
|
+
type: {
|
|
79
|
+
summary: string;
|
|
80
|
+
};
|
|
81
|
+
defaultValue: {
|
|
82
|
+
summary: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
virtualization: {
|
|
87
|
+
control: "boolean";
|
|
88
|
+
description: string;
|
|
89
|
+
table: {
|
|
90
|
+
category: string;
|
|
91
|
+
type: {
|
|
92
|
+
summary: string;
|
|
93
|
+
};
|
|
94
|
+
defaultValue: {
|
|
95
|
+
summary: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
virtualizationProps: {
|
|
100
|
+
control: {
|
|
101
|
+
disable: true;
|
|
102
|
+
};
|
|
103
|
+
description: string;
|
|
104
|
+
table: {
|
|
105
|
+
category: string;
|
|
106
|
+
type: {
|
|
107
|
+
summary: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
headerId: {
|
|
112
|
+
control: "text";
|
|
113
|
+
description: string;
|
|
114
|
+
table: {
|
|
115
|
+
category: string;
|
|
116
|
+
type: {
|
|
117
|
+
summary: string;
|
|
118
|
+
};
|
|
119
|
+
defaultValue: {
|
|
120
|
+
summary: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
tbodyTrId: {
|
|
125
|
+
control: {
|
|
126
|
+
disable: true;
|
|
127
|
+
};
|
|
128
|
+
description: string;
|
|
129
|
+
table: {
|
|
130
|
+
category: string;
|
|
131
|
+
type: {
|
|
132
|
+
summary: string;
|
|
133
|
+
};
|
|
134
|
+
defaultValue: {
|
|
135
|
+
summary: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
maxHeight: {
|
|
140
|
+
control: "number";
|
|
141
|
+
description: string;
|
|
142
|
+
table: {
|
|
143
|
+
category: string;
|
|
144
|
+
type: {
|
|
145
|
+
summary: string;
|
|
146
|
+
};
|
|
147
|
+
defaultValue: {
|
|
148
|
+
summary: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
idCalculateHeight: {
|
|
153
|
+
control: "text";
|
|
154
|
+
description: string;
|
|
155
|
+
table: {
|
|
156
|
+
category: string;
|
|
157
|
+
type: {
|
|
158
|
+
summary: string;
|
|
159
|
+
};
|
|
160
|
+
defaultValue: {
|
|
161
|
+
summary: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
kind: {
|
|
166
|
+
control: {
|
|
167
|
+
type: "select";
|
|
168
|
+
};
|
|
169
|
+
options: string[];
|
|
170
|
+
description: string;
|
|
171
|
+
table: {
|
|
172
|
+
category: string;
|
|
173
|
+
type: {
|
|
174
|
+
summary: string;
|
|
175
|
+
};
|
|
176
|
+
defaultValue: {
|
|
177
|
+
summary: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
variant: {
|
|
182
|
+
control: {
|
|
183
|
+
type: "select";
|
|
184
|
+
};
|
|
185
|
+
options: string[];
|
|
186
|
+
description: string;
|
|
187
|
+
table: {
|
|
188
|
+
category: string;
|
|
189
|
+
type: {
|
|
190
|
+
summary: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
componentSortASC: {
|
|
195
|
+
control: {
|
|
196
|
+
disable: true;
|
|
197
|
+
};
|
|
198
|
+
description: string;
|
|
199
|
+
table: {
|
|
200
|
+
category: string;
|
|
201
|
+
type: {
|
|
202
|
+
summary: string;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
componentSortDESC: {
|
|
207
|
+
control: {
|
|
208
|
+
disable: true;
|
|
209
|
+
};
|
|
210
|
+
description: string;
|
|
211
|
+
table: {
|
|
212
|
+
category: string;
|
|
213
|
+
type: {
|
|
214
|
+
summary: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
scrollTop: {
|
|
219
|
+
control: "boolean";
|
|
220
|
+
description: string;
|
|
221
|
+
table: {
|
|
222
|
+
category: string;
|
|
223
|
+
type: {
|
|
224
|
+
summary: string;
|
|
225
|
+
};
|
|
226
|
+
defaultValue: {
|
|
227
|
+
summary: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
emptyPlaceholder: {
|
|
232
|
+
control: {
|
|
233
|
+
disable: true;
|
|
234
|
+
};
|
|
235
|
+
description: string;
|
|
236
|
+
table: {
|
|
237
|
+
category: string;
|
|
238
|
+
type: {
|
|
239
|
+
summary: string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
renderSubComponent: {
|
|
244
|
+
control: {
|
|
245
|
+
disable: true;
|
|
246
|
+
};
|
|
247
|
+
description: string;
|
|
248
|
+
table: {
|
|
249
|
+
category: string;
|
|
250
|
+
type: {
|
|
251
|
+
summary: string;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
10
256
|
args: {};
|
|
11
257
|
render: (args: import('../../interfaces/components/Table').ITable<unknown>) => import("react/jsx-runtime").JSX.Element;
|
|
12
258
|
};
|
|
@@ -6,7 +6,81 @@ declare const meta: {
|
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
9
|
+
argTypes: {
|
|
10
|
+
id: {
|
|
11
|
+
control: "text";
|
|
12
|
+
description: string;
|
|
13
|
+
table: {
|
|
14
|
+
category: string;
|
|
15
|
+
type: {
|
|
16
|
+
summary: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
label: {
|
|
21
|
+
control: "text";
|
|
22
|
+
description: string;
|
|
23
|
+
table: {
|
|
24
|
+
category: string;
|
|
25
|
+
type: {
|
|
26
|
+
summary: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
initialValue: {
|
|
31
|
+
control: "text";
|
|
32
|
+
description: string;
|
|
33
|
+
table: {
|
|
34
|
+
category: string;
|
|
35
|
+
type: {
|
|
36
|
+
summary: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
value: {
|
|
41
|
+
control: "text";
|
|
42
|
+
description: string;
|
|
43
|
+
table: {
|
|
44
|
+
category: string;
|
|
45
|
+
type: {
|
|
46
|
+
summary: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
onEditorChange: {
|
|
51
|
+
action: string;
|
|
52
|
+
description: string;
|
|
53
|
+
table: {
|
|
54
|
+
category: string;
|
|
55
|
+
type: {
|
|
56
|
+
summary: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
control: "boolean";
|
|
62
|
+
description: string;
|
|
63
|
+
table: {
|
|
64
|
+
category: string;
|
|
65
|
+
type: {
|
|
66
|
+
summary: string;
|
|
67
|
+
};
|
|
68
|
+
defaultValue: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
init: {
|
|
74
|
+
control: "object";
|
|
75
|
+
description: string;
|
|
76
|
+
table: {
|
|
77
|
+
category: string;
|
|
78
|
+
type: {
|
|
79
|
+
summary: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
10
84
|
render: (args: import('..').ITextEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
85
|
};
|
|
12
86
|
export default meta;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {};
|
|
9
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
@@ -72,8 +72,9 @@ import { default as GradientBarChart } from './Chart/GradientBarChart';
|
|
|
72
72
|
import { default as StepIndicator } from './Step/StepIndicator';
|
|
73
73
|
import { default as TextEditor } from './TextEditor/TextEditor';
|
|
74
74
|
import { ITextEditorProps } from '../interfaces/components/TextEditor';
|
|
75
|
+
import { default as CollapseV2 } from './Collapse/CollapseV2';
|
|
75
76
|
import * as utilTable from '@tanstack/react-table';
|
|
76
77
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
77
78
|
import type * as FilterContainerType from '../interfaces/components/FilterContainer';
|
|
78
|
-
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, };
|
|
79
|
+
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, };
|
|
79
80
|
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-esr' | 'payhere-body-esm' | 'laba-h1' | 'laba-h2' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr';
|
|
1
|
+
export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-esr' | 'payhere-body-esm' | 'laba-title-lb' | 'laba-title-ls' | 'laba-title-lr' | 'laba-title-mb' | 'laba-title-ms' | 'laba-title-mr' | 'laba-h1' | 'laba-h1-b' | 'laba-h1-sb' | 'laba-h1-r' | 'laba-h2' | 'laba-h2-b' | 'laba-h2-sb' | 'laba-h2-r' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr';
|
|
2
2
|
export declare const configtypography: {
|
|
3
3
|
'payhere-h1': string;
|
|
4
4
|
'payhere-h2': string;
|
|
@@ -20,8 +20,20 @@ export declare const configtypography: {
|
|
|
20
20
|
'payhere-body-sm': string;
|
|
21
21
|
'payhere-body-esr': string;
|
|
22
22
|
'payhere-body-esm': string;
|
|
23
|
+
'laba-title-lb': string;
|
|
24
|
+
'laba-title-ls': string;
|
|
25
|
+
'laba-title-lr': string;
|
|
26
|
+
'laba-title-mb': string;
|
|
27
|
+
'laba-title-ms': string;
|
|
28
|
+
'laba-title-mr': string;
|
|
23
29
|
'laba-h1': string;
|
|
30
|
+
'laba-h1-b': string;
|
|
31
|
+
'laba-h1-sb': string;
|
|
32
|
+
'laba-h1-r': string;
|
|
24
33
|
'laba-h2': string;
|
|
34
|
+
'laba-h2-b': string;
|
|
35
|
+
'laba-h2-sb': string;
|
|
36
|
+
'laba-h2-r': string;
|
|
25
37
|
'laba-base-rb': string;
|
|
26
38
|
'laba-base-rs': string;
|
|
27
39
|
'laba-base-rr': string;
|
|
@@ -9,3 +9,10 @@ export interface ICollapse {
|
|
|
9
9
|
triggerCalCulateContainer?: number | string | boolean | object;
|
|
10
10
|
delayTriggerCalculateHeight?: number;
|
|
11
11
|
}
|
|
12
|
+
export interface ICollapseV2 {
|
|
13
|
+
children: ReactNode | ReactNode[];
|
|
14
|
+
open: boolean;
|
|
15
|
+
id: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
classNameContainer?: string | undefined;
|
|
18
|
+
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export interface ITruncateComponent extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
2
|
children: React.ReactNode[] | React.ReactNode;
|
|
3
|
-
initialVisibleCount: number;
|
|
4
3
|
maxWidth?: string;
|
|
5
|
-
moreElement: (count: number) => React.ReactNode |
|
|
4
|
+
moreElement: (count: number) => React.ReactNode | React.ReactNode[];
|
|
6
5
|
style?: React.CSSProperties;
|
|
7
6
|
className?: string;
|
|
8
7
|
gap?: number;
|
|
9
8
|
gapStyle?: string;
|
|
10
|
-
triggerCalCulateContainer?: number | string | boolean | object;
|
|
11
9
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "1mpacto-react-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.0-beta.
|
|
4
|
+
"version": "0.2.0-beta.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.19.4",
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
+
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
12
13
|
"dev": "vite",
|
|
13
|
-
"transform:
|
|
14
|
-
"transform:color": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-color.js",
|
|
14
|
+
"transform:style": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
|
|
15
15
|
"postProcess:fontfamily": "node ./src/utils/post-process-css.js",
|
|
16
|
-
"process:transformStyle": "npm run
|
|
17
|
-
"
|
|
16
|
+
"process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
|
|
17
|
+
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
18
|
+
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
18
19
|
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
|
19
20
|
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
20
21
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
@@ -87,7 +88,10 @@
|
|
|
87
88
|
"./dist/assets/colors.css": "./dist/assets/colors.css",
|
|
88
89
|
"./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
|
|
89
90
|
"./dist/assets/typography.css": "./dist/assets/typography.css",
|
|
90
|
-
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss"
|
|
91
|
+
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
|
|
92
|
+
"./dist/assets/screen.css": "./dist/assets/screen.css",
|
|
93
|
+
"./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
|
|
94
|
+
"./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
|
|
91
95
|
},
|
|
92
96
|
"files": [
|
|
93
97
|
"/dist"
|