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.
Files changed (100) hide show
  1. package/dist/cjs/index.js +163 -168
  2. package/dist/cjs/lib.css +1 -1
  3. package/dist/cjs/types/components/Avatar/Avatar.d.ts +2 -1
  4. package/dist/cjs/types/components/Avatar/config.d.ts +5 -5
  5. package/dist/cjs/types/components/Breadcrumb/Breadcrumb.d.ts +3 -3
  6. package/dist/cjs/types/components/Button/configs.d.ts +20 -20
  7. package/dist/cjs/types/components/Button/index.d.ts +1 -1
  8. package/dist/cjs/types/components/Forms/Checkbox/Checkbox.d.ts +6 -6
  9. package/dist/cjs/types/components/Forms/Checkbox/Simulation.d.ts +1 -1
  10. package/dist/cjs/types/components/Forms/Checkbox/configs.d.ts +2 -2
  11. package/dist/cjs/types/components/Forms/DropdownItem/Custom.d.ts +1 -1
  12. package/dist/cjs/types/components/Forms/DropdownItem/Default.d.ts +1 -1
  13. package/dist/cjs/types/components/Forms/DropdownItem/configs.d.ts +2 -2
  14. package/dist/cjs/types/components/Forms/LiveSearch/LiveSearch.d.ts +4 -4
  15. package/dist/cjs/types/components/Forms/LiveSearch/Simulation.d.ts +1 -1
  16. package/dist/cjs/types/components/Forms/LiveSearch/configs.d.ts +2 -2
  17. package/dist/cjs/types/components/Forms/Radio/configs.d.ts +2 -2
  18. package/dist/cjs/types/components/Forms/Radio/index.d.ts +6 -6
  19. package/dist/cjs/types/components/Forms/SegmentButton/SegmentButtonItem.d.ts +3 -3
  20. package/dist/cjs/types/components/Forms/SegmentButton/SegmentButtonSimulation.d.ts +1 -1
  21. package/dist/cjs/types/components/Forms/SegmentButton/config.d.ts +12 -12
  22. package/dist/cjs/types/components/Forms/SelectInput/SelectedInput.d.ts +4 -4
  23. package/dist/cjs/types/components/Forms/SelectInput/Simulation.d.ts +1 -1
  24. package/dist/cjs/types/components/Forms/SelectInput/configs.d.ts +2 -2
  25. package/dist/cjs/types/components/Forms/TextArea/configs.d.ts +2 -2
  26. package/dist/cjs/types/components/Forms/TextArea/index.d.ts +3 -3
  27. package/dist/cjs/types/components/Forms/TextInput/Simulation.d.ts +1 -1
  28. package/dist/cjs/types/components/Forms/TextInput/TextInput.d.ts +4 -4
  29. package/dist/cjs/types/components/Forms/TextInput/configs.d.ts +2 -2
  30. package/dist/cjs/types/components/Forms/Toggle/configs.d.ts +2 -2
  31. package/dist/cjs/types/components/Forms/Toggle/index.d.ts +6 -6
  32. package/dist/cjs/types/components/Modal/Modal.d.ts +1 -1
  33. package/dist/cjs/types/components/Modal/ModalContent.d.ts +1 -1
  34. package/dist/cjs/types/components/PaginationBar/PaginationBar.d.ts +1 -1
  35. package/dist/cjs/types/components/PaginationBar/config.d.ts +2 -2
  36. package/dist/cjs/types/components/Popover/index.d.ts +2 -2
  37. package/dist/cjs/types/components/Slider/index.d.ts +1 -0
  38. package/dist/cjs/types/components/Tab/ConfigTab.d.ts +2 -2
  39. package/dist/cjs/types/components/Tab/DividerConfig.d.ts +8 -8
  40. package/dist/cjs/types/components/Tab/Tab.d.ts +1 -1
  41. package/dist/cjs/types/components/Tab/TabHead.d.ts +1 -1
  42. package/dist/cjs/types/components/Table/Table.d.ts +1 -1
  43. package/dist/cjs/types/components/Table/TableCol.d.ts +1 -1
  44. package/dist/cjs/types/components/Table/TableDemo.d.ts +1 -1
  45. package/dist/cjs/types/components/Table/configs.d.ts +6 -6
  46. package/dist/cjs/types/components/TagLabel/CloseIcon.d.ts +1 -1
  47. package/dist/cjs/types/components/TagLabel/configs.d.ts +24 -24
  48. package/dist/cjs/types/components/TagLabel/index.d.ts +1 -1
  49. package/dist/cjs/types/stories/Button.stories.d.ts +4 -0
  50. package/dist/esm/index.js +163 -168
  51. package/dist/esm/lib.css +1 -1
  52. package/dist/esm/types/components/Avatar/Avatar.d.ts +2 -1
  53. package/dist/esm/types/components/Avatar/config.d.ts +5 -5
  54. package/dist/esm/types/components/Breadcrumb/Breadcrumb.d.ts +3 -3
  55. package/dist/esm/types/components/Button/configs.d.ts +20 -20
  56. package/dist/esm/types/components/Button/index.d.ts +1 -1
  57. package/dist/esm/types/components/Forms/Checkbox/Checkbox.d.ts +6 -6
  58. package/dist/esm/types/components/Forms/Checkbox/Simulation.d.ts +1 -1
  59. package/dist/esm/types/components/Forms/Checkbox/configs.d.ts +2 -2
  60. package/dist/esm/types/components/Forms/DropdownItem/Custom.d.ts +1 -1
  61. package/dist/esm/types/components/Forms/DropdownItem/Default.d.ts +1 -1
  62. package/dist/esm/types/components/Forms/DropdownItem/configs.d.ts +2 -2
  63. package/dist/esm/types/components/Forms/LiveSearch/LiveSearch.d.ts +4 -4
  64. package/dist/esm/types/components/Forms/LiveSearch/Simulation.d.ts +1 -1
  65. package/dist/esm/types/components/Forms/LiveSearch/configs.d.ts +2 -2
  66. package/dist/esm/types/components/Forms/Radio/configs.d.ts +2 -2
  67. package/dist/esm/types/components/Forms/Radio/index.d.ts +6 -6
  68. package/dist/esm/types/components/Forms/SegmentButton/SegmentButtonItem.d.ts +3 -3
  69. package/dist/esm/types/components/Forms/SegmentButton/SegmentButtonSimulation.d.ts +1 -1
  70. package/dist/esm/types/components/Forms/SegmentButton/config.d.ts +12 -12
  71. package/dist/esm/types/components/Forms/SelectInput/SelectedInput.d.ts +4 -4
  72. package/dist/esm/types/components/Forms/SelectInput/Simulation.d.ts +1 -1
  73. package/dist/esm/types/components/Forms/SelectInput/configs.d.ts +2 -2
  74. package/dist/esm/types/components/Forms/TextArea/configs.d.ts +2 -2
  75. package/dist/esm/types/components/Forms/TextArea/index.d.ts +3 -3
  76. package/dist/esm/types/components/Forms/TextInput/Simulation.d.ts +1 -1
  77. package/dist/esm/types/components/Forms/TextInput/TextInput.d.ts +4 -4
  78. package/dist/esm/types/components/Forms/TextInput/configs.d.ts +2 -2
  79. package/dist/esm/types/components/Forms/Toggle/configs.d.ts +2 -2
  80. package/dist/esm/types/components/Forms/Toggle/index.d.ts +6 -6
  81. package/dist/esm/types/components/Modal/Modal.d.ts +1 -1
  82. package/dist/esm/types/components/Modal/ModalContent.d.ts +1 -1
  83. package/dist/esm/types/components/PaginationBar/PaginationBar.d.ts +1 -1
  84. package/dist/esm/types/components/PaginationBar/config.d.ts +2 -2
  85. package/dist/esm/types/components/Popover/index.d.ts +2 -2
  86. package/dist/esm/types/components/Slider/index.d.ts +1 -0
  87. package/dist/esm/types/components/Tab/ConfigTab.d.ts +2 -2
  88. package/dist/esm/types/components/Tab/DividerConfig.d.ts +8 -8
  89. package/dist/esm/types/components/Tab/Tab.d.ts +1 -1
  90. package/dist/esm/types/components/Tab/TabHead.d.ts +1 -1
  91. package/dist/esm/types/components/Table/Table.d.ts +1 -1
  92. package/dist/esm/types/components/Table/TableCol.d.ts +1 -1
  93. package/dist/esm/types/components/Table/TableDemo.d.ts +1 -1
  94. package/dist/esm/types/components/Table/configs.d.ts +6 -6
  95. package/dist/esm/types/components/TagLabel/CloseIcon.d.ts +1 -1
  96. package/dist/esm/types/components/TagLabel/configs.d.ts +24 -24
  97. package/dist/esm/types/components/TagLabel/index.d.ts +1 -1
  98. package/dist/esm/types/stories/Button.stories.d.ts +4 -0
  99. package/dist/index.d.ts +55 -54
  100. 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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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
- medium: {
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
- small: {
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
- tiny: {
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?: 'medium' | 'small' | 'tiny';
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;