bitboss-ui 2.0.94 → 2.0.96

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 (181) hide show
  1. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +1 -1
  2. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
  3. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +5 -1
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +9 -4
  5. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +2 -0
  6. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +4 -0
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +5 -1
  9. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +1 -1
  10. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
  11. package/dist/components/BaseRating/BaseRating.vue.d.ts +1 -1
  12. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +8 -0
  13. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
  14. package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -1
  15. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +5 -1
  16. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +5 -1
  17. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -1
  18. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +5 -1
  19. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +5 -1
  20. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
  21. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -2
  22. package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -1
  23. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +5 -1
  24. package/dist/components/BbRating/BbRating.vue.d.ts +5 -1
  25. package/dist/components/BbRows/BbRows.vue.d.ts +1 -1
  26. package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
  27. package/dist/components/BbSlider/BbSlider.vue.d.ts +5 -1
  28. package/dist/components/BbTable/types.d.ts +1 -1
  29. package/dist/components/BbTag/BbTag.vue.d.ts +5 -1
  30. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +5 -1
  31. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +5 -1
  32. package/dist/components/ListBox.vue.d.ts +4 -0
  33. package/dist/index100.js +10 -10
  34. package/dist/index101.js +18 -15
  35. package/dist/index103.js +11 -9
  36. package/dist/index105.js +10 -10
  37. package/dist/index107.js +16 -14
  38. package/dist/index111.js +5 -5
  39. package/dist/index113.js +12 -9
  40. package/dist/index115.js +27 -24
  41. package/dist/index117.js +27 -24
  42. package/dist/index119.js +1 -1
  43. package/dist/index121.js +5 -5
  44. package/dist/index123.js +1 -1
  45. package/dist/index128.js +1 -1
  46. package/dist/index13.js +1 -1
  47. package/dist/index134.js +2 -2
  48. package/dist/index15.js +24 -22
  49. package/dist/index17.js +14 -15
  50. package/dist/index19.js +57 -51
  51. package/dist/index208.js +7 -125
  52. package/dist/index209.js +126 -5
  53. package/dist/index21.js +77 -72
  54. package/dist/index210.js +5 -125
  55. package/dist/index211.js +123 -17
  56. package/dist/index212.js +18 -15
  57. package/dist/index213.js +10 -10
  58. package/dist/index214.js +16 -2
  59. package/dist/index215.js +2 -2
  60. package/dist/index216.js +2 -41
  61. package/dist/index217.js +41 -20
  62. package/dist/index218.js +20 -6
  63. package/dist/index219.js +5 -52
  64. package/dist/index220.js +55 -0
  65. package/dist/index222.js +12 -4
  66. package/dist/index223.js +5 -12
  67. package/dist/index224.js +12 -369
  68. package/dist/index225.js +369 -3
  69. package/dist/index226.js +19 -4
  70. package/dist/index227.js +22 -14
  71. package/dist/index228.js +3 -27
  72. package/dist/index229.js +250 -3
  73. package/dist/index23.js +28 -26
  74. package/dist/index230.js +50 -6
  75. package/dist/index231.js +36 -241
  76. package/dist/index232.js +5 -52
  77. package/dist/index233.js +47 -31
  78. package/dist/index234.js +164 -5
  79. package/dist/index235.js +78 -54
  80. package/dist/index237.js +3 -84
  81. package/dist/index238.js +9 -0
  82. package/dist/index240.js +1 -1
  83. package/dist/index242.js +4 -3
  84. package/dist/index243.js +3 -7
  85. package/dist/index246.js +1 -1
  86. package/dist/index248.js +1 -1
  87. package/dist/index25.js +6 -6
  88. package/dist/index253.js +9 -224
  89. package/dist/index254.js +23 -281
  90. package/dist/index255.js +89 -6
  91. package/dist/index257.js +6 -2
  92. package/dist/index258.js +16 -2
  93. package/dist/index259.js +9 -2
  94. package/dist/index260.js +9 -2
  95. package/dist/index261.js +8 -126
  96. package/dist/index262.js +3 -431
  97. package/dist/index263.js +11 -175
  98. package/dist/index264.js +9 -3
  99. package/dist/index265.js +19 -0
  100. package/dist/index266.js +4 -7
  101. package/dist/index267.js +281 -22
  102. package/dist/index268.js +8 -0
  103. package/dist/index269.js +2 -2
  104. package/dist/index27.js +9 -7
  105. package/dist/index270.js +2 -6
  106. package/dist/index271.js +2 -16
  107. package/dist/index272.js +2 -9
  108. package/dist/index273.js +2 -23
  109. package/dist/index274.js +2 -89
  110. package/dist/index275.js +4 -0
  111. package/dist/index276.js +2 -9
  112. package/dist/index277.js +2 -2
  113. package/dist/index278.js +2 -2
  114. package/dist/index279.js +28 -2
  115. package/dist/index280.js +21 -1
  116. package/dist/index282.js +7 -2
  117. package/dist/index283.js +2 -28
  118. package/dist/index284.js +125 -21
  119. package/dist/index285.js +433 -0
  120. package/dist/index286.js +167 -427
  121. package/dist/index287.js +3 -127
  122. package/dist/index289.js +22 -3
  123. package/dist/index29.js +10 -8
  124. package/dist/index291.js +2 -9
  125. package/dist/index292.js +4 -9
  126. package/dist/index293.js +197 -14
  127. package/dist/index294.js +435 -3
  128. package/dist/index295.js +127 -8
  129. package/dist/index296.js +88 -3
  130. package/dist/index297.js +218 -83
  131. package/dist/index300.js +23 -21
  132. package/dist/index302.js +5 -2
  133. package/dist/index303.js +2 -5
  134. package/dist/index304.js +3 -5
  135. package/dist/index305.js +3 -8
  136. package/dist/index306.js +3 -3
  137. package/dist/index307.js +58 -3
  138. package/dist/index308.js +10 -57
  139. package/dist/index309.js +6 -3
  140. package/dist/index31.js +4 -4
  141. package/dist/index310.js +19 -3
  142. package/dist/index311.js +6 -6
  143. package/dist/index312.js +32 -18
  144. package/dist/index313.js +46 -32
  145. package/dist/index314.js +4 -6
  146. package/dist/index315.js +7 -10
  147. package/dist/index316.js +2 -47
  148. package/dist/index317.js +4 -2
  149. package/dist/{index319.js → index318.js} +1 -1
  150. package/dist/index33.js +12 -12
  151. package/dist/index35.js +33 -33
  152. package/dist/index37.js +54 -50
  153. package/dist/index39.js +2 -2
  154. package/dist/index41.js +1 -1
  155. package/dist/index43.js +3 -3
  156. package/dist/index45.js +44 -42
  157. package/dist/index47.js +31 -29
  158. package/dist/index49.js +18 -16
  159. package/dist/index63.js +9 -9
  160. package/dist/index65.js +11 -9
  161. package/dist/index67.js +24 -21
  162. package/dist/index71.js +8 -5
  163. package/dist/index75.js +3 -3
  164. package/dist/index79.js +2 -2
  165. package/dist/index81.js +1 -1
  166. package/dist/index82.js +24 -21
  167. package/dist/index84.js +3 -3
  168. package/dist/index86.js +1 -1
  169. package/dist/index88.js +3 -3
  170. package/dist/index92.js +6 -6
  171. package/dist/index94.js +11 -9
  172. package/dist/index96.js +13 -11
  173. package/dist/style.css +1 -1
  174. package/dist/types/CommonProps.d.ts +1 -1
  175. package/package.json +2 -2
  176. package/dist/index221.js +0 -15
  177. package/dist/index236.js +0 -166
  178. package/dist/index256.js +0 -4
  179. package/dist/index281.js +0 -4
  180. package/dist/index288.js +0 -202
  181. package/dist/index290.js +0 -14
@@ -46,7 +46,7 @@ export type BaseCheckboxProps = {
46
46
  /**
47
47
  * Sets the input in a readonly state.
48
48
  */
49
- readonly?: InputHTMLAttributes['readonly'];
49
+ readonly?: boolean;
50
50
  /**
51
51
  * Sets the input as required.
52
52
  */
@@ -92,7 +92,7 @@ export type BaseCheckboxGroupProps<T> = {
92
92
  /**
93
93
  * Sets the input in a readonly state.
94
94
  */
95
- readonly?: InputHTMLAttributes['readonly'];
95
+ readonly?: boolean;
96
96
  };
97
97
  export type BaseCheckboxGroupEvents = {
98
98
  (e: 'blur', event: FocusEvent): void;
@@ -16,6 +16,10 @@ export type BaseColorInputProps = {
16
16
  * Sets autofocus on page load.
17
17
  */
18
18
  autofocus?: InputHTMLAttributes['autofocus'];
19
+ /**
20
+ * Displays the component in a compact version.
21
+ */
22
+ compact?: boolean;
19
23
  /**
20
24
  * Disables the component
21
25
  */
@@ -52,7 +56,7 @@ export type BaseColorInputProps = {
52
56
  /**
53
57
  * Sets the input in a readonly state.
54
58
  */
55
- readonly?: InputHTMLAttributes['readonly'];
59
+ readonly?: boolean;
56
60
  /**
57
61
  * Sets the input as required.
58
62
  */
@@ -1,17 +1,22 @@
1
1
  import { default as it } from 'dayjs/locale/it';
2
+ import { HTMLAttributes } from 'vue';
2
3
  export type BaseDatePickerProps = {
3
4
  /**
4
5
  * Disables the component
5
6
  */
6
7
  disabled?: boolean;
7
- /**
8
- * Shows or hides the header of the component
9
- */
10
- header?: boolean;
11
8
  /**
12
9
  * Defines the first day of the week with `0` meaning Sunday and `6` meaning Saturday
13
10
  */
14
11
  firstDayOfWeek?: (typeof it)['weekStart'];
12
+ /**
13
+ * The identifier of the component.
14
+ */
15
+ id?: HTMLAttributes['id'];
16
+ /**
17
+ * Shows or hides the header of the component
18
+ */
19
+ header?: boolean;
15
20
  /**
16
21
  * Maximum selectable date
17
22
  */
@@ -1,9 +1,11 @@
1
+ import { HTMLAttributes } from 'vue';
1
2
  import { default as dayjs, Dayjs } from 'dayjs';
2
3
  type Props = {
3
4
  cursor: Dayjs;
4
5
  current: boolean;
5
6
  disabled: boolean;
6
7
  firstDayOfWeek: number;
8
+ id?: HTMLAttributes['id'];
7
9
  /**
8
10
  * Used by v-model. Can be null, a single string, or an array of strings based on whether a range or single date is needed
9
11
  */
@@ -17,6 +17,10 @@ export type BaseDatePickerInputProps = {
17
17
  * Sets autofocus on page load.
18
18
  */
19
19
  autofocus?: InputHTMLAttributes['autofocus'];
20
+ /**
21
+ * Sets the component in a compact state.
22
+ */
23
+ compact?: boolean;
20
24
  /**
21
25
  * Disables the component
22
26
  */
@@ -1,5 +1,9 @@
1
1
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
2
  export type BaseInputContainerProps = {
3
+ /**
4
+ * Displays the component in a compact version.
5
+ */
6
+ compact?: boolean;
3
7
  /**
4
8
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
5
9
  */
@@ -16,6 +16,10 @@ export type BaseNumberInputProps = {
16
16
  * Sets autofocus on page load.
17
17
  */
18
18
  autofocus?: InputHTMLAttributes['autofocus'];
19
+ /**
20
+ * Sets the component in a compact state.
21
+ */
22
+ compact?: boolean;
19
23
  /**
20
24
  * Disables the component
21
25
  */
@@ -60,7 +64,7 @@ export type BaseNumberInputProps = {
60
64
  /**
61
65
  * Sets the input in a readonly state.
62
66
  */
63
- readonly?: InputHTMLAttributes['readonly'];
67
+ readonly?: boolean;
64
68
  /**
65
69
  * Sets the input as required.
66
70
  */
@@ -42,7 +42,7 @@ export type BaseRadioProps = {
42
42
  /**
43
43
  * Sets the input in a readonly state.
44
44
  */
45
- readonly?: InputHTMLAttributes['readonly'];
45
+ readonly?: boolean;
46
46
  /**
47
47
  * Sets the input as required.
48
48
  */
@@ -88,7 +88,7 @@ export type BaseRadioGroupProps<T> = {
88
88
  /**
89
89
  * Sets the input in a readonly state.
90
90
  */
91
- readonly?: InputHTMLAttributes['readonly'];
91
+ readonly?: boolean;
92
92
  /**
93
93
  * Sets the input as required.
94
94
  */
@@ -39,7 +39,7 @@ export type BaseRatingProps = {
39
39
  /**
40
40
  * Sets the input in a readonly state.
41
41
  */
42
- readonly?: InputHTMLAttributes['readonly'];
42
+ readonly?: boolean;
43
43
  /**
44
44
  * Sets the input as required.
45
45
  */
@@ -34,6 +34,10 @@ export type BaseSelectProps = {
34
34
  * cannot deselect an option by pressing the close button.
35
35
  */
36
36
  comma?: boolean;
37
+ /**
38
+ * Sets the component in a compact mode.
39
+ */
40
+ compact?: boolean;
37
41
  /**
38
42
  * Defines an array of dependencies that will trigger actions in the component upon change.
39
43
  */
@@ -428,6 +432,7 @@ declare function __VLS_template(): {
428
432
  $: import('vue').ComponentInternalInstance;
429
433
  $data: {};
430
434
  $props: {
435
+ readonly compact?: boolean | undefined;
431
436
  readonly options: BaseOption[];
432
437
  readonly open?: boolean | undefined;
433
438
  readonly loading?: boolean | undefined;
@@ -452,6 +457,7 @@ declare function __VLS_template(): {
452
457
  $emit: ((event: "option:unselected", option: BaseOption) => void) & ((event: "option:selected", option: BaseOption) => void);
453
458
  $el: any;
454
459
  $options: import('vue').ComponentOptionsBase<Readonly<{
460
+ compact?: boolean;
455
461
  options: BaseOption[];
456
462
  open?: boolean;
457
463
  loading?: boolean;
@@ -504,6 +510,7 @@ declare function __VLS_template(): {
504
510
  loadingText: string;
505
511
  noDataText: string;
506
512
  }> & Omit<Readonly<{
513
+ compact?: boolean;
507
514
  options: BaseOption[];
508
515
  open?: boolean;
509
516
  loading?: boolean;
@@ -560,6 +567,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseSelectProps, {}
560
567
  onFocus?: ((event: FocusEvent) => any) | undefined;
561
568
  onInactive?: (() => any) | undefined;
562
569
  }>, {
570
+ autocomplete: string;
563
571
  transitionDuration: number;
564
572
  allowWriting: boolean | "not-mobile";
565
573
  dependencies: any[];
@@ -51,7 +51,7 @@ export type BaseSliderProps = {
51
51
  /**
52
52
  * Sets the input in a readonly state.
53
53
  */
54
- readonly?: InputHTMLAttributes['readonly'];
54
+ readonly?: boolean;
55
55
  /**
56
56
  * Sets the input as required.
57
57
  */
@@ -23,6 +23,10 @@ export type BaseTagProps = {
23
23
  * cannot deselect an option by pressing the close button.
24
24
  */
25
25
  comma?: boolean;
26
+ /**
27
+ * Sets the component in a compact mode.
28
+ */
29
+ compact?: boolean;
26
30
  /**
27
31
  * Disables the component
28
32
  */
@@ -71,7 +75,7 @@ export type BaseTagProps = {
71
75
  /**
72
76
  * Sets the input in a readonly state.
73
77
  */
74
- readonly?: InputHTMLAttributes['readonly'];
78
+ readonly?: boolean;
75
79
  /**
76
80
  * Sets the input as required.
77
81
  */
@@ -296,6 +300,7 @@ declare const __VLS_component: import('vue').DefineComponent<BaseTagProps, {}, {
296
300
  }, string, import('vue').PublicProps, Readonly<BaseTagProps> & Readonly<{
297
301
  [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
298
302
  }>, {
303
+ autocomplete: string;
299
304
  multiple: boolean;
300
305
  divider: KeyboardEvent["key"];
301
306
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -16,6 +16,10 @@ export type BaseTextInputProps = {
16
16
  * Sets autofocus on page load.
17
17
  */
18
18
  autofocus?: InputHTMLAttributes['autofocus'];
19
+ /**
20
+ * Displays the component in a compact version.
21
+ */
22
+ compact?: boolean;
19
23
  /**
20
24
  * Disables the component
21
25
  */
@@ -52,7 +56,7 @@ export type BaseTextInputProps = {
52
56
  /**
53
57
  * Sets the input in a readonly state.
54
58
  */
55
- readonly?: InputHTMLAttributes['readonly'];
59
+ readonly?: boolean;
56
60
  /**
57
61
  * Sets the input as required.
58
62
  */
@@ -20,6 +20,10 @@ export type BaseTextareaProps = {
20
20
  * Sets autofocus on page load.
21
21
  */
22
22
  autofocus?: InputHTMLAttributes['autofocus'];
23
+ /**
24
+ * Sets the component in a compact state.
25
+ */
26
+ compact?: boolean;
23
27
  /**
24
28
  * Disables the component
25
29
  */
@@ -56,7 +60,7 @@ export type BaseTextareaProps = {
56
60
  /**
57
61
  * Sets the input in a readonly state.
58
62
  */
59
- readonly?: InputHTMLAttributes['readonly'];
63
+ readonly?: boolean;
60
64
  /**
61
65
  * Sets the input as required.
62
66
  */
@@ -79,7 +79,7 @@ export type BbCheckboxProps = {
79
79
  /**
80
80
  * Sets the input in a readonly state.
81
81
  */
82
- readonly?: InputHTMLAttributes['readonly'];
82
+ readonly?: boolean;
83
83
  /**
84
84
  * Sets the input as required.
85
85
  */
@@ -13,6 +13,10 @@ export type BbCheckboxGroupProps<T> = {
13
13
  * Either a custom color or a coded color in common HEX, RGB, etc... format.
14
14
  */
15
15
  color?: string;
16
+ /**
17
+ * Displays the component in a compact version.
18
+ */
19
+ compact?: boolean;
16
20
  /**
17
21
  * Defines an array of dependencies that will trigger actions in the component upon change.
18
22
  */
@@ -109,7 +113,7 @@ export type BbCheckboxGroupProps<T> = {
109
113
  /**
110
114
  * Sets the input in a readonly state.
111
115
  */
112
- readonly?: InputHTMLAttributes['readonly'];
116
+ readonly?: boolean;
113
117
  /**
114
118
  * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
115
119
  */
@@ -13,6 +13,10 @@ export type BbColorInputProps = {
13
13
  * Sets autofocus on page load.
14
14
  */
15
15
  autofocus?: InputHTMLAttributes['autofocus'];
16
+ /**
17
+ * Displays the component in a compact version.
18
+ */
19
+ compact?: boolean;
16
20
  /**
17
21
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
18
22
  */
@@ -77,7 +81,7 @@ export type BbColorInputProps = {
77
81
  /**
78
82
  * Sets the input in a readonly state.
79
83
  */
80
- readonly?: InputHTMLAttributes['readonly'];
84
+ readonly?: boolean;
81
85
  /**
82
86
  * Sets the input as required.
83
87
  */
@@ -18,6 +18,10 @@ export type BbDatePickerInputProps = {
18
18
  * Sets autofocus on page load.
19
19
  */
20
20
  autofocus?: InputHTMLAttributes['autofocus'];
21
+ /**
22
+ * Sets the component in a compact state.
23
+ */
24
+ compact?: boolean;
21
25
  /**
22
26
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
23
27
  */
@@ -13,6 +13,10 @@ export type BbNumberInputProps = {
13
13
  * Sets autofocus on page load.
14
14
  */
15
15
  autofocus?: InputHTMLAttributes['autofocus'];
16
+ /**
17
+ * Sets the component in a compact state.
18
+ */
19
+ compact?: boolean;
16
20
  /**
17
21
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
18
22
  */
@@ -85,7 +89,7 @@ export type BbNumberInputProps = {
85
89
  /**
86
90
  * Sets the input in a readonly state.
87
91
  */
88
- readonly?: InputHTMLAttributes['readonly'];
92
+ readonly?: boolean;
89
93
  /**
90
94
  * Sets the input as required.
91
95
  */
@@ -124,6 +128,7 @@ declare function __VLS_template(): {
124
128
  readonly ariaDescribedby?: InputHTMLAttributes["aria-describedby"];
125
129
  readonly autocomplete?: InputHTMLAttributes["autocomplete"];
126
130
  readonly autofocus?: InputHTMLAttributes["autofocus"];
131
+ readonly compact?: boolean | undefined;
127
132
  readonly disabled?: boolean | undefined;
128
133
  readonly hasErrors?: boolean | undefined;
129
134
  readonly id?: HTMLAttributes["id"];
@@ -134,7 +139,7 @@ declare function __VLS_template(): {
134
139
  readonly name?: InputHTMLAttributes["name"];
135
140
  readonly placeholder?: InputHTMLAttributes["placeholder"];
136
141
  readonly 'prepend:icon'?: string | undefined;
137
- readonly readonly?: InputHTMLAttributes["readonly"];
142
+ readonly readonly?: boolean | undefined;
138
143
  readonly required?: boolean | undefined;
139
144
  readonly step?: number | undefined;
140
145
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -71,7 +71,7 @@ export type BbRadioProps = {
71
71
  /**
72
72
  * Sets the input in a readonly state.
73
73
  */
74
- readonly?: InputHTMLAttributes['readonly'];
74
+ readonly?: boolean;
75
75
  /**
76
76
  * Sets the input as required.
77
77
  */
@@ -14,6 +14,10 @@ export type BbRadioGroupProps<T> = {
14
14
  * Either a custom color or a coded color in common HEX, RGB, etc... format.
15
15
  */
16
16
  color?: string;
17
+ /**
18
+ * Sets the component in a compact state.
19
+ */
20
+ compact?: boolean;
17
21
  /**
18
22
  * Defines an array of dependencies that will trigger actions in the component upon change.
19
23
  */
@@ -106,7 +110,7 @@ export type BbRadioGroupProps<T> = {
106
110
  /**
107
111
  * Sets the input in a readonly state.
108
112
  */
109
- readonly?: InputHTMLAttributes['readonly'];
113
+ readonly?: boolean;
110
114
  /**
111
115
  * Sets the input as required.
112
116
  */
@@ -12,6 +12,10 @@ export type BbRatingProps = {
12
12
  * Either a custom color or a coded color in common HEX, RGB, etc... format.
13
13
  */
14
14
  color?: string;
15
+ /**
16
+ * Sets the component in a compact state.
17
+ */
18
+ compact?: boolean;
15
19
  /**
16
20
  * Disables the component
17
21
  */
@@ -64,7 +68,7 @@ export type BbRatingProps = {
64
68
  /**
65
69
  * Sets the input in a readonly state.
66
70
  */
67
- readonly?: InputHTMLAttributes['readonly'];
71
+ readonly?: boolean;
68
72
  /**
69
73
  * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
70
74
  */
@@ -67,11 +67,11 @@ declare function __VLS_template(): {
67
67
  }): any;
68
68
  default?(_: {
69
69
  key: string;
70
+ checked: boolean | undefined;
70
71
  columns: Record<string, ItemColumn>;
71
72
  disabled: boolean | undefined;
72
73
  item: any;
73
74
  select: () => void;
74
- selected: boolean | undefined;
75
75
  unselect: () => void;
76
76
  value: any;
77
77
  }): any;
@@ -31,6 +31,10 @@ export type BbSelectProps<T> = {
31
31
  * cannot deselect an option by pressing the close button.
32
32
  */
33
33
  comma?: boolean;
34
+ /**
35
+ * Sets the component in a compact mode.
36
+ */
37
+ compact?: boolean;
34
38
  /**
35
39
  * Defines an array of dependencies that will trigger actions in the component upon change.
36
40
  */
@@ -11,6 +11,10 @@ export type BbSliderProps = {
11
11
  * Either a custom color or a coded color in common HEX, RGB, etc... format.
12
12
  */
13
13
  color?: string;
14
+ /**
15
+ * Set the component in compact mode.
16
+ */
17
+ compact?: boolean;
14
18
  /**
15
19
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
16
20
  */
@@ -76,7 +80,7 @@ export type BbSliderProps = {
76
80
  /**
77
81
  * Sets the input in a readonly state.
78
82
  */
79
- readonly?: InputHTMLAttributes['readonly'];
83
+ readonly?: boolean;
80
84
  /**
81
85
  * Sets the input as required.
82
86
  */
@@ -153,7 +153,7 @@ export type BbTableProps = {
153
153
  /**
154
154
  * Sets the input in a readonly state.
155
155
  */
156
- readonly?: InputHTMLAttributes['readonly'];
156
+ readonly?: boolean;
157
157
  /**
158
158
  * Defines whether the table is selectable.
159
159
  * Can be a global boolean that affects all rows or a function
@@ -19,6 +19,10 @@ export type BbTagProps = {
19
19
  * cannot deselect an option by pressing the close button.
20
20
  */
21
21
  comma?: boolean;
22
+ /**
23
+ * Sets the component in a compact mode.
24
+ */
25
+ compact?: boolean;
22
26
  /**
23
27
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
24
28
  */
@@ -95,7 +99,7 @@ export type BbTagProps = {
95
99
  /**
96
100
  * Sets the input in a readonly state.
97
101
  */
98
- readonly?: InputHTMLAttributes['readonly'];
102
+ readonly?: boolean;
99
103
  /**
100
104
  * Sets the input as required.
101
105
  */
@@ -13,6 +13,10 @@ export type BbTextInputProps = {
13
13
  * Sets autofocus on page load.
14
14
  */
15
15
  autofocus?: InputHTMLAttributes['autofocus'];
16
+ /**
17
+ * Displays the component in a compact version.
18
+ */
19
+ compact?: boolean;
16
20
  /**
17
21
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
18
22
  */
@@ -77,7 +81,7 @@ export type BbTextInputProps = {
77
81
  /**
78
82
  * Sets the input in a readonly state.
79
83
  */
80
- readonly?: InputHTMLAttributes['readonly'];
84
+ readonly?: boolean;
81
85
  /**
82
86
  * Sets the input as required.
83
87
  */
@@ -17,6 +17,10 @@ export type BbTextareaProps = {
17
17
  * Expands the textarea to match its content
18
18
  */
19
19
  autoGrow?: boolean;
20
+ /**
21
+ * Sets the component in a compact state.
22
+ */
23
+ compact?: boolean;
20
24
  /**
21
25
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
22
26
  */
@@ -81,7 +85,7 @@ export type BbTextareaProps = {
81
85
  /**
82
86
  * Sets the input in a readonly state.
83
87
  */
84
- readonly?: InputHTMLAttributes['readonly'];
88
+ readonly?: boolean;
85
89
  /**
86
90
  * Sets the input as required.
87
91
  */
@@ -1,5 +1,9 @@
1
1
  import { Option } from '../types/Option';
2
2
  type Props = {
3
+ /**
4
+ * Sets the listbox in a compact state.
5
+ */
6
+ compact?: boolean;
3
7
  options: Option[];
4
8
  open?: boolean;
5
9
  loading?: boolean;
package/dist/index100.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as S, mergeModels as v, computed as y, toRef as u, reactive as $, useModel as b, watch as A, openBlock as h, createElementBlock as V, Fragment as g, renderSlot as r, unref as L, createCommentVNode as R, renderList as q } from "vue";
2
- import { useOptions as E } from "./index236.js";
3
- import { useItemValue as Q } from "./index292.js";
4
- import { isNil as k } from "./index130.js";
5
- import { indexBy as j } from "./index295.js";
6
- import { hash as B } from "./index229.js";
1
+ import { defineComponent as S, mergeModels as v, computed as y, toRef as u, reactive as $, useModel as b, watch as A, openBlock as h, createElementBlock as V, Fragment as k, renderSlot as r, unref as L, createCommentVNode as R, renderList as q } from "vue";
2
+ import { useOptions as E } from "./index234.js";
3
+ import { useItemValue as Q } from "./index260.js";
4
+ import { isNil as g } from "./index130.js";
5
+ import { indexBy as j } from "./index261.js";
6
+ import { hash as B } from "./index228.js";
7
7
  const X = /* @__PURE__ */ S({
8
8
  __name: "BbRows",
9
9
  props: /* @__PURE__ */ v({
@@ -53,7 +53,7 @@ const X = /* @__PURE__ */ S({
53
53
  const { label: F, key: N } = t;
54
54
  let o = x(e.item, t.key);
55
55
  return t.formatter && // By default the formatter runs anyway
56
- (!k(o) || t.formatOnNull !== !1) && (o = t.formatter(o, t.key, e.item)), t.placeholder && k(o) && (o = t.placeholder), {
56
+ (!g(o) || t.formatOnNull !== !1) && (o = t.formatter(o, t.key, e.item)), t.placeholder && g(o) && (o = t.placeholder), {
57
57
  value: o,
58
58
  key: N,
59
59
  label: F
@@ -78,18 +78,18 @@ const X = /* @__PURE__ */ S({
78
78
  let c = b(d, "select-all");
79
79
  return A(c, () => {
80
80
  i.clear(), n.value = [], m("update:modelValue", []);
81
- }), (e, s) => (h(), V(g, null, [
81
+ }), (e, s) => (h(), V(k, null, [
82
82
  p.value ? r(e.$slots, "loading", {
83
83
  key: 0,
84
84
  items: L(H)
85
85
  }) : R("", !0),
86
- f.value.length ? (h(!0), V(g, { key: 2 }, q(f.value, (a) => r(e.$slots, "default", {
86
+ f.value.length ? (h(!0), V(k, { key: 2 }, q(f.value, (a) => r(e.$slots, "default", {
87
87
  key: a.valueHash,
88
+ checked: a.selected,
88
89
  columns: a.columns,
89
90
  disabled: a.disabled,
90
91
  item: a.item,
91
92
  select: () => w(a),
92
- selected: a.selected,
93
93
  unselect: () => C(a),
94
94
  value: a.value
95
95
  })), 128)) : r(e.$slots, "no-data", {