bianic-ui 0.5.17 → 0.5.18
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/index.js +163 -168
- package/dist/cjs/lib.css +1 -1
- package/dist/cjs/types/components/Avatar/Avatar.d.ts +2 -1
- package/dist/cjs/types/components/Avatar/config.d.ts +5 -5
- package/dist/cjs/types/components/Breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/cjs/types/components/Button/configs.d.ts +20 -20
- package/dist/cjs/types/components/Button/index.d.ts +1 -1
- package/dist/cjs/types/components/Forms/Checkbox/Checkbox.d.ts +6 -6
- package/dist/cjs/types/components/Forms/Checkbox/Simulation.d.ts +1 -1
- package/dist/cjs/types/components/Forms/Checkbox/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/DropdownItem/Custom.d.ts +1 -1
- package/dist/cjs/types/components/Forms/DropdownItem/Default.d.ts +1 -1
- package/dist/cjs/types/components/Forms/DropdownItem/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/LiveSearch/LiveSearch.d.ts +4 -4
- package/dist/cjs/types/components/Forms/LiveSearch/Simulation.d.ts +1 -1
- package/dist/cjs/types/components/Forms/LiveSearch/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/Radio/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/Radio/index.d.ts +6 -6
- package/dist/cjs/types/components/Forms/SegmentButton/SegmentButtonItem.d.ts +3 -3
- package/dist/cjs/types/components/Forms/SegmentButton/SegmentButtonSimulation.d.ts +1 -1
- package/dist/cjs/types/components/Forms/SegmentButton/config.d.ts +12 -12
- package/dist/cjs/types/components/Forms/SelectInput/SelectedInput.d.ts +4 -4
- package/dist/cjs/types/components/Forms/SelectInput/Simulation.d.ts +1 -1
- package/dist/cjs/types/components/Forms/SelectInput/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/TextArea/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/TextArea/index.d.ts +3 -3
- package/dist/cjs/types/components/Forms/TextInput/Simulation.d.ts +1 -1
- package/dist/cjs/types/components/Forms/TextInput/TextInput.d.ts +4 -4
- package/dist/cjs/types/components/Forms/TextInput/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/Toggle/configs.d.ts +2 -2
- package/dist/cjs/types/components/Forms/Toggle/index.d.ts +6 -6
- package/dist/cjs/types/components/Modal/Modal.d.ts +1 -1
- package/dist/cjs/types/components/Modal/ModalContent.d.ts +1 -1
- package/dist/cjs/types/components/PaginationBar/PaginationBar.d.ts +1 -1
- package/dist/cjs/types/components/PaginationBar/config.d.ts +2 -2
- package/dist/cjs/types/components/Popover/index.d.ts +2 -2
- package/dist/cjs/types/components/Slider/index.d.ts +1 -0
- package/dist/cjs/types/components/Tab/ConfigTab.d.ts +2 -2
- package/dist/cjs/types/components/Tab/DividerConfig.d.ts +8 -8
- package/dist/cjs/types/components/Tab/Tab.d.ts +1 -1
- package/dist/cjs/types/components/Tab/TabHead.d.ts +1 -1
- package/dist/cjs/types/components/Table/Table.d.ts +1 -1
- package/dist/cjs/types/components/Table/TableCol.d.ts +1 -1
- package/dist/cjs/types/components/Table/TableDemo.d.ts +1 -1
- package/dist/cjs/types/components/Table/configs.d.ts +6 -6
- package/dist/cjs/types/components/TagLabel/CloseIcon.d.ts +1 -1
- package/dist/cjs/types/components/TagLabel/configs.d.ts +24 -24
- package/dist/cjs/types/components/TagLabel/index.d.ts +1 -1
- package/dist/cjs/types/stories/Button.stories.d.ts +4 -0
- package/dist/esm/index.js +163 -168
- package/dist/esm/lib.css +1 -1
- package/dist/esm/types/components/Avatar/Avatar.d.ts +2 -1
- package/dist/esm/types/components/Avatar/config.d.ts +5 -5
- package/dist/esm/types/components/Breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/esm/types/components/Button/configs.d.ts +20 -20
- package/dist/esm/types/components/Button/index.d.ts +1 -1
- package/dist/esm/types/components/Forms/Checkbox/Checkbox.d.ts +6 -6
- package/dist/esm/types/components/Forms/Checkbox/Simulation.d.ts +1 -1
- package/dist/esm/types/components/Forms/Checkbox/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/DropdownItem/Custom.d.ts +1 -1
- package/dist/esm/types/components/Forms/DropdownItem/Default.d.ts +1 -1
- package/dist/esm/types/components/Forms/DropdownItem/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/LiveSearch/LiveSearch.d.ts +4 -4
- package/dist/esm/types/components/Forms/LiveSearch/Simulation.d.ts +1 -1
- package/dist/esm/types/components/Forms/LiveSearch/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/Radio/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/Radio/index.d.ts +6 -6
- package/dist/esm/types/components/Forms/SegmentButton/SegmentButtonItem.d.ts +3 -3
- package/dist/esm/types/components/Forms/SegmentButton/SegmentButtonSimulation.d.ts +1 -1
- package/dist/esm/types/components/Forms/SegmentButton/config.d.ts +12 -12
- package/dist/esm/types/components/Forms/SelectInput/SelectedInput.d.ts +4 -4
- package/dist/esm/types/components/Forms/SelectInput/Simulation.d.ts +1 -1
- package/dist/esm/types/components/Forms/SelectInput/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/TextArea/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/TextArea/index.d.ts +3 -3
- package/dist/esm/types/components/Forms/TextInput/Simulation.d.ts +1 -1
- package/dist/esm/types/components/Forms/TextInput/TextInput.d.ts +4 -4
- package/dist/esm/types/components/Forms/TextInput/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/Toggle/configs.d.ts +2 -2
- package/dist/esm/types/components/Forms/Toggle/index.d.ts +6 -6
- package/dist/esm/types/components/Modal/Modal.d.ts +1 -1
- package/dist/esm/types/components/Modal/ModalContent.d.ts +1 -1
- package/dist/esm/types/components/PaginationBar/PaginationBar.d.ts +1 -1
- package/dist/esm/types/components/PaginationBar/config.d.ts +2 -2
- package/dist/esm/types/components/Popover/index.d.ts +2 -2
- package/dist/esm/types/components/Slider/index.d.ts +1 -0
- package/dist/esm/types/components/Tab/ConfigTab.d.ts +2 -2
- package/dist/esm/types/components/Tab/DividerConfig.d.ts +8 -8
- package/dist/esm/types/components/Tab/Tab.d.ts +1 -1
- package/dist/esm/types/components/Tab/TabHead.d.ts +1 -1
- package/dist/esm/types/components/Table/Table.d.ts +1 -1
- package/dist/esm/types/components/Table/TableCol.d.ts +1 -1
- package/dist/esm/types/components/Table/TableDemo.d.ts +1 -1
- package/dist/esm/types/components/Table/configs.d.ts +6 -6
- package/dist/esm/types/components/TagLabel/CloseIcon.d.ts +1 -1
- package/dist/esm/types/components/TagLabel/configs.d.ts +24 -24
- package/dist/esm/types/components/TagLabel/index.d.ts +1 -1
- package/dist/esm/types/stories/Button.stories.d.ts +4 -0
- package/dist/index.d.ts +55 -54
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import TbCloseAbleGraySmall from './Small/TbCloseAbleGraySmall';
|
|
|
9
9
|
import TbCloseable from './Medium/TbCloseable';
|
|
10
10
|
declare const TagLabelConfig: {
|
|
11
11
|
default: {
|
|
12
|
-
|
|
12
|
+
md: {
|
|
13
13
|
iconColor: string;
|
|
14
14
|
XColor: string;
|
|
15
15
|
XcolorV: string;
|
|
@@ -35,7 +35,7 @@ declare const TagLabelConfig: {
|
|
|
35
35
|
Xicon: typeof TbCheckBlack;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
sm: {
|
|
39
39
|
iconColor: string;
|
|
40
40
|
XColor: string;
|
|
41
41
|
XcolorV: string;
|
|
@@ -61,7 +61,7 @@ declare const TagLabelConfig: {
|
|
|
61
61
|
Xicon: typeof TbCheckBlackSmall;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
|
|
64
|
+
tn: {
|
|
65
65
|
iconColor: string;
|
|
66
66
|
XColor: string;
|
|
67
67
|
XcolorV: string;
|
|
@@ -89,7 +89,7 @@ declare const TagLabelConfig: {
|
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
blue: {
|
|
92
|
-
|
|
92
|
+
md: {
|
|
93
93
|
iconColor: string;
|
|
94
94
|
XColor: string;
|
|
95
95
|
XcolorV: string;
|
|
@@ -115,7 +115,7 @@ declare const TagLabelConfig: {
|
|
|
115
115
|
Xicon: typeof TbCheck;
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
|
|
118
|
+
sm: {
|
|
119
119
|
iconColor: string;
|
|
120
120
|
XColor: string;
|
|
121
121
|
XcolorV: string;
|
|
@@ -141,7 +141,7 @@ declare const TagLabelConfig: {
|
|
|
141
141
|
Xicon: typeof TbCheckWhiteSmall;
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
|
|
144
|
+
tn: {
|
|
145
145
|
iconColor: string;
|
|
146
146
|
XColor: string;
|
|
147
147
|
XcolorV: string;
|
|
@@ -169,7 +169,7 @@ declare const TagLabelConfig: {
|
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
171
|
teal: {
|
|
172
|
-
|
|
172
|
+
md: {
|
|
173
173
|
iconColor: string;
|
|
174
174
|
XColor: string;
|
|
175
175
|
XcolorV: string;
|
|
@@ -195,7 +195,7 @@ declare const TagLabelConfig: {
|
|
|
195
195
|
Xicon: typeof TbCheck;
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
sm: {
|
|
199
199
|
iconColor: string;
|
|
200
200
|
XColor: string;
|
|
201
201
|
XcolorV: string;
|
|
@@ -221,7 +221,7 @@ declare const TagLabelConfig: {
|
|
|
221
221
|
Xicon: typeof TbCheckWhiteSmall;
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
-
|
|
224
|
+
tn: {
|
|
225
225
|
iconColor: string;
|
|
226
226
|
XColor: string;
|
|
227
227
|
XcolorV: string;
|
|
@@ -249,7 +249,7 @@ declare const TagLabelConfig: {
|
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
251
|
green: {
|
|
252
|
-
|
|
252
|
+
md: {
|
|
253
253
|
iconColor: string;
|
|
254
254
|
XColor: string;
|
|
255
255
|
XcolorV: string;
|
|
@@ -275,7 +275,7 @@ declare const TagLabelConfig: {
|
|
|
275
275
|
Xicon: typeof TbCheck;
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
|
-
|
|
278
|
+
sm: {
|
|
279
279
|
iconColor: string;
|
|
280
280
|
XColor: string;
|
|
281
281
|
XcolorV: string;
|
|
@@ -301,7 +301,7 @@ declare const TagLabelConfig: {
|
|
|
301
301
|
Xicon: typeof TbCheckWhiteSmall;
|
|
302
302
|
};
|
|
303
303
|
};
|
|
304
|
-
|
|
304
|
+
tn: {
|
|
305
305
|
iconColor: string;
|
|
306
306
|
XColor: string;
|
|
307
307
|
XcolorV: string;
|
|
@@ -329,7 +329,7 @@ declare const TagLabelConfig: {
|
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
yellow: {
|
|
332
|
-
|
|
332
|
+
md: {
|
|
333
333
|
iconColor: string;
|
|
334
334
|
XColor: string;
|
|
335
335
|
XcolorV: string;
|
|
@@ -355,7 +355,7 @@ declare const TagLabelConfig: {
|
|
|
355
355
|
Xicon: typeof TbCheck;
|
|
356
356
|
};
|
|
357
357
|
};
|
|
358
|
-
|
|
358
|
+
sm: {
|
|
359
359
|
iconColor: string;
|
|
360
360
|
XColor: string;
|
|
361
361
|
XcolorV: string;
|
|
@@ -381,7 +381,7 @@ declare const TagLabelConfig: {
|
|
|
381
381
|
Xicon: typeof TbCheckWhiteSmall;
|
|
382
382
|
};
|
|
383
383
|
};
|
|
384
|
-
|
|
384
|
+
tn: {
|
|
385
385
|
iconColor: string;
|
|
386
386
|
XColor: string;
|
|
387
387
|
XcolorV: string;
|
|
@@ -409,7 +409,7 @@ declare const TagLabelConfig: {
|
|
|
409
409
|
};
|
|
410
410
|
};
|
|
411
411
|
red: {
|
|
412
|
-
|
|
412
|
+
md: {
|
|
413
413
|
iconColor: string;
|
|
414
414
|
XColor: string;
|
|
415
415
|
XcolorV: string;
|
|
@@ -435,7 +435,7 @@ declare const TagLabelConfig: {
|
|
|
435
435
|
Xicon: typeof TbCheck;
|
|
436
436
|
};
|
|
437
437
|
};
|
|
438
|
-
|
|
438
|
+
sm: {
|
|
439
439
|
iconColor: string;
|
|
440
440
|
XColor: string;
|
|
441
441
|
XcolorV: string;
|
|
@@ -461,7 +461,7 @@ declare const TagLabelConfig: {
|
|
|
461
461
|
Xicon: typeof TbCheckWhiteSmall;
|
|
462
462
|
};
|
|
463
463
|
};
|
|
464
|
-
|
|
464
|
+
tn: {
|
|
465
465
|
iconColor: string;
|
|
466
466
|
XColor: string;
|
|
467
467
|
XcolorV: string;
|
|
@@ -489,7 +489,7 @@ declare const TagLabelConfig: {
|
|
|
489
489
|
};
|
|
490
490
|
};
|
|
491
491
|
black: {
|
|
492
|
-
|
|
492
|
+
md: {
|
|
493
493
|
iconColor: string;
|
|
494
494
|
XColor: string;
|
|
495
495
|
XcolorV: string;
|
|
@@ -515,7 +515,7 @@ declare const TagLabelConfig: {
|
|
|
515
515
|
Xicon: typeof TbCheck;
|
|
516
516
|
};
|
|
517
517
|
};
|
|
518
|
-
|
|
518
|
+
sm: {
|
|
519
519
|
iconColor: string;
|
|
520
520
|
XColor: string;
|
|
521
521
|
XcolorV: string;
|
|
@@ -541,7 +541,7 @@ declare const TagLabelConfig: {
|
|
|
541
541
|
Xicon: typeof TbCheckWhiteSmall;
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
|
-
|
|
544
|
+
tn: {
|
|
545
545
|
iconColor: string;
|
|
546
546
|
XColor: string;
|
|
547
547
|
XcolorV: string;
|
|
@@ -569,7 +569,7 @@ declare const TagLabelConfig: {
|
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
571
|
white: {
|
|
572
|
-
|
|
572
|
+
md: {
|
|
573
573
|
iconColor: string;
|
|
574
574
|
XColor: string;
|
|
575
575
|
XcolorV: string;
|
|
@@ -595,7 +595,7 @@ declare const TagLabelConfig: {
|
|
|
595
595
|
Xicon: typeof TbCheckBlack;
|
|
596
596
|
};
|
|
597
597
|
};
|
|
598
|
-
|
|
598
|
+
sm: {
|
|
599
599
|
iconColor: string;
|
|
600
600
|
XColor: string;
|
|
601
601
|
XcolorV: string;
|
|
@@ -621,7 +621,7 @@ declare const TagLabelConfig: {
|
|
|
621
621
|
Xicon: typeof TbCheckBlackSmall;
|
|
622
622
|
};
|
|
623
623
|
};
|
|
624
|
-
|
|
624
|
+
tn: {
|
|
625
625
|
iconColor: string;
|
|
626
626
|
XColor: string;
|
|
627
627
|
XcolorV: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
interface TagLabelProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
color: 'default' | 'blue' | 'teal' | 'green' | 'yellow' | 'red' | 'black' | 'white';
|
|
4
|
-
size?: '
|
|
4
|
+
size?: 'md' | 'sm' | 'tn';
|
|
5
5
|
variant?: 'label' | 'icon' | 'closeable';
|
|
6
6
|
closeHandler?: () => void;
|
|
7
7
|
isShow?: boolean;
|
|
@@ -26,3 +26,7 @@ export declare const InfoOutlined: Story;
|
|
|
26
26
|
export declare const PrimaryOutlined: Story;
|
|
27
27
|
export declare const SuccessOutlined: Story;
|
|
28
28
|
export declare const WarningOutlined: Story;
|
|
29
|
+
export declare const DemoWithIconLeft: Story;
|
|
30
|
+
export declare const DemoWithIconRight: Story;
|
|
31
|
+
export declare const DemoWithIconBoth: Story;
|
|
32
|
+
export declare const DemoWithIconOnly: Story;
|