bitboss-ui 2.1.116 → 2.1.118
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/ai/BaseRating.md +2 -2
- package/dist/ai/BaseTag.md +0 -1
- package/dist/ai/BbAccordion.md +1 -2
- package/dist/ai/BbAlert.md +1 -2
- package/dist/ai/BbAvatar.md +0 -1
- package/dist/ai/BbBadge.md +107 -49
- package/dist/ai/BbBreadcrumbs.md +0 -1
- package/dist/ai/BbButton.md +0 -1
- package/dist/ai/BbCheckbox.md +0 -1
- package/dist/ai/BbCheckboxGroup.md +0 -5
- package/dist/ai/BbChip.md +0 -1
- package/dist/ai/BbCollapsible.md +0 -1
- package/dist/ai/BbColorInput.md +0 -1
- package/dist/ai/BbColorPalette.md +0 -1
- package/dist/ai/BbDatePickerInput.md +0 -6
- package/dist/ai/BbDialog.md +0 -6
- package/dist/ai/BbDropdown.md +0 -7
- package/dist/ai/BbDropdownButton.md +0 -1
- package/dist/ai/BbDropzone.md +0 -6
- package/dist/ai/BbIcon.md +0 -1
- package/dist/ai/BbIntersection.md +0 -1
- package/dist/ai/BbNumberInput.md +0 -1
- package/dist/ai/BbOffCanvas.md +0 -1
- package/dist/ai/BbPagination.md +0 -1
- package/dist/ai/BbPopover.md +0 -1
- package/dist/ai/BbProgress.md +0 -1
- package/dist/ai/BbRadio.md +0 -1
- package/dist/ai/BbRadioGroup.md +0 -1
- package/dist/ai/BbRating.md +0 -1
- package/dist/ai/BbRatio.md +0 -1
- package/dist/ai/BbSelect.md +1 -2
- package/dist/ai/BbSelectPopover.md +5 -348
- package/dist/ai/BbSlider.md +0 -1
- package/dist/ai/BbSmoothHeight.md +0 -1
- package/dist/ai/BbSpinner.md +0 -1
- package/dist/ai/BbSwitch.md +0 -1
- package/dist/ai/BbSwitchGroup.md +0 -1
- package/dist/ai/BbTab.md +0 -7
- package/dist/ai/BbTag.md +0 -1
- package/dist/ai/BbTextInput.md +0 -1
- package/dist/ai/BbTextarea.md +0 -1
- package/dist/ai/BbToast.md +0 -1
- package/dist/ai/BbTooltip.md +0 -1
- package/dist/ai/BbTree.md +0 -1
- package/dist/ai/ChipsBox.md +0 -1
- package/dist/ai/ClearableButton.md +0 -10
- package/dist/ai/CommaBox.md +0 -1
- package/dist/ai/CommonInputInnerContainer.md +0 -5
- package/dist/ai/CommonInputOuterContainer.md +0 -1
- package/dist/ai/CommonPopover.md +0 -2
- package/dist/ai/ErrorIcon.md +1 -4
- package/dist/ai/FlatListBox.md +0 -1
- package/dist/ai/GroupedListBox.md +0 -1
- package/dist/ai/ListBox.md +0 -1
- package/dist/ai/OptionsContainer.md +0 -2
- package/dist/components/BaseRating/types.d.ts +1 -1
- package/dist/components/BaseTag/BaseTag.vue.d.ts +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -2
- package/dist/components/BbAccordion/types.d.ts +1 -1
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -2
- package/dist/components/BbAlert/types.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +0 -1
- package/dist/components/BbBadge/BbBadge.vue.d.ts +0 -1
- package/dist/components/BbBadge/types.d.ts +4 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -2
- package/dist/components/BbButton/BbButton.vue.d.ts +0 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +15 -7
- package/dist/components/BbChip/BbChip.vue.d.ts +1 -2
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +0 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +1 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +1 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -3
- package/dist/components/BbDialog/BbDialog.vue.d.ts +0 -1
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -2
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -2
- package/dist/components/BbIcon/BbIcon.vue.d.ts +0 -1
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -2
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -3
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -2
- package/dist/components/BbProgress/BbProgress.vue.d.ts +0 -1
- package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +15 -7
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -2
- package/dist/components/BbRatio/BbRatio.vue.d.ts +0 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +13 -7
- package/dist/components/BbSelect/types.d.ts +1 -1
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +1 -312
- package/dist/components/BbSlider/BbSlider.vue.d.ts +1 -2
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +0 -1
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +0 -1
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +1 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +15 -7
- package/dist/components/BbTag/BbTag.vue.d.ts +1 -2
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -2
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -2
- package/dist/components/BbToast/BbToast.vue.d.ts +0 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
- package/dist/components/BbTree/BbTree.vue.d.ts +0 -1
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +1 -2
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +0 -2
- package/dist/components/CommaBox/CommaBox.vue.d.ts +1 -2
- package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +1 -2
- package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +0 -1
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +0 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +0 -2
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +31 -0
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +31 -0
- package/dist/components/ListBox/ListBox.vue.d.ts +19 -18
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +2 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +44 -44
- package/dist/index109.js +9 -9
- package/dist/index110.js +49 -50
- package/dist/index118.js +1 -1
- package/dist/index124.js +2 -2
- package/dist/index126.js +12 -12
- package/dist/index134.js +1 -1
- package/dist/index136.js +5 -5
- package/dist/index138.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index140.js +17 -18
- package/dist/index144.js +1 -1
- package/dist/index146.js +2 -2
- package/dist/index148.js +1 -1
- package/dist/index16.js +3 -3
- package/dist/index18.js +3 -3
- package/dist/index20.js +8 -8
- package/dist/index22.js +5 -5
- package/dist/index221.js +2 -2
- package/dist/index222.js +2 -138
- package/dist/index223.js +138 -2
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +2 -4
- package/dist/index227.js +2 -13
- package/dist/index228.js +3 -20
- package/dist/index229.js +7 -2
- package/dist/index230.js +2 -2
- package/dist/index231.js +86 -3
- package/dist/index233.js +32 -0
- package/dist/index234.js +15 -28
- package/dist/index235.js +49 -15
- package/dist/index236.js +15 -48
- package/dist/index237.js +3 -18
- package/dist/index238.js +12 -3
- package/dist/index239.js +17 -11
- package/dist/index24.js +9 -9
- package/dist/index240.js +4 -18
- package/dist/index242.js +12 -33
- package/dist/index243.js +11 -8
- package/dist/index244.js +135 -3
- package/dist/index246.js +4 -13
- package/dist/index247.js +19 -131
- package/dist/index248.js +6 -0
- package/dist/index249.js +18 -21
- package/dist/index250.js +34 -5
- package/dist/index251.js +13 -5
- package/dist/index252.js +9 -5
- package/dist/index253.js +21 -5
- package/dist/index254.js +188 -5
- package/dist/index255.js +3 -5
- package/dist/index256.js +5 -3
- package/dist/index257.js +5 -25
- package/dist/index258.js +5 -3
- package/dist/index259.js +5 -13
- package/dist/index26.js +3 -3
- package/dist/index260.js +1 -1
- package/dist/index263.js +7 -7
- package/dist/index264.js +1 -1
- package/dist/index267.js +1 -1
- package/dist/index268.js +53 -9
- package/dist/index269.js +5 -2
- package/dist/index270.js +5 -2
- package/dist/index271.js +5 -4
- package/dist/index272.js +3 -9
- package/dist/index273.js +9 -53
- package/dist/index274.js +32 -10
- package/dist/index275.js +27 -17
- package/dist/index277.js +11 -32
- package/dist/index278.js +20 -0
- package/dist/index279.js +12 -107
- package/dist/index28.js +1 -1
- package/dist/index280.js +105 -5
- package/dist/index282.js +100 -7
- package/dist/index284.js +107 -23
- package/dist/index285.js +2 -106
- package/dist/index286.js +9 -0
- package/dist/index287.js +7 -100
- package/dist/index288.js +27 -0
- package/dist/index289.js +6 -2
- package/dist/index290.js +3 -7
- package/dist/index291.js +6 -7
- package/dist/index292.js +16 -5
- package/dist/index293.js +2 -3
- package/dist/index294.js +8 -27
- package/dist/index295.js +25 -0
- package/dist/index296.js +3 -67
- package/dist/index297.js +10 -373
- package/dist/index298.js +5 -0
- package/dist/index299.js +67 -6
- package/dist/index30.js +3 -3
- package/dist/index300.js +371 -14
- package/dist/index302.js +3 -3
- package/dist/index303.js +17 -2
- package/dist/index304.js +28 -3
- package/dist/index305.js +3 -6
- package/dist/index306.js +7 -3
- package/dist/index307.js +2 -17
- package/dist/index308.js +3 -27
- package/dist/index309.js +3 -5
- package/dist/index32.js +2 -2
- package/dist/index324.js +7 -2
- package/dist/index325.js +3 -15
- package/dist/index326.js +125 -2
- package/dist/index327.js +2 -19
- package/dist/index328.js +15 -2
- package/dist/index329.js +2 -3
- package/dist/index330.js +19 -2
- package/dist/index331.js +2 -4
- package/dist/index332.js +3 -4
- package/dist/index333.js +1 -1
- package/dist/index334.js +2 -3
- package/dist/index335.js +2 -2
- package/dist/index336.js +719 -6
- package/dist/index337.js +366 -3
- package/dist/index338.js +57 -2
- package/dist/index339.js +5 -3
- package/dist/index34.js +8 -8
- package/dist/index340.js +5 -6
- package/dist/index341.js +2 -19
- package/dist/index342.js +67 -9
- package/dist/index343.js +66 -14
- package/dist/index344.js +7 -5
- package/dist/index345.js +5 -7
- package/dist/index346.js +3 -67
- package/dist/index347.js +7 -67
- package/dist/index348.js +17 -226
- package/dist/index349.js +8 -34
- package/dist/index350.js +12 -126
- package/dist/index351.js +30 -393
- package/dist/index352.js +129 -719
- package/dist/index353.js +397 -365
- package/dist/index354.js +21 -56
- package/dist/index356.js +91 -257
- package/dist/index357.js +133 -21
- package/dist/{index355.js → index358.js} +6 -6
- package/dist/index359.js +259 -7
- package/dist/index36.js +4 -4
- package/dist/index360.js +225 -131
- package/dist/index361.js +2 -93
- package/dist/index362.js +1 -1
- package/dist/index363.js +441 -2
- package/dist/index364.js +114 -427
- package/dist/index365.js +46 -127
- package/dist/index366.js +67 -44
- package/dist/index367.js +516 -66
- package/dist/index368.js +45 -515
- package/dist/index38.js +19 -19
- package/dist/index40.js +6 -6
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +5 -5
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +25 -20
- package/dist/index60.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index74.js +4 -4
- package/dist/index82.js +6 -6
- package/dist/index84.js +1 -1
- package/dist/index86.js +2 -2
- package/dist/index88.js +2 -2
- package/dist/index90.js +1 -1
- package/dist/index93.js +3 -3
- package/dist/index95.js +2 -2
- package/dist/index97.js +5 -5
- package/dist/index99.js +1 -1
- package/package.json +2 -2
- package/dist/index232.js +0 -88
- package/dist/index245.js +0 -6
- package/dist/index276.js +0 -14
- package/dist/index281.js +0 -23
- package/dist/index283.js +0 -11
- package/dist/index301.js +0 -190
- package/dist/index323.js +0 -127
- package/dist/index369.js +0 -52
package/dist/ai/BaseRating.md
CHANGED
|
@@ -69,7 +69,7 @@ import type {
|
|
|
69
69
|
BaseRatingEvents,
|
|
70
70
|
BaseRatingSlots,
|
|
71
71
|
} from './types';
|
|
72
|
-
import type { Size } from '../BbIcon/
|
|
72
|
+
import type { Size } from '../BbIcon/types';
|
|
73
73
|
import { useLocale } from '@/composables/useLocale';
|
|
74
74
|
|
|
75
75
|
type Option = {
|
|
@@ -236,7 +236,7 @@ const outerContainerAttributes = computed(() => {
|
|
|
236
236
|
|
|
237
237
|
```ts
|
|
238
238
|
import type { InputHTMLAttributes, HTMLAttributes } from 'vue';
|
|
239
|
-
import type { BbIconProps
|
|
239
|
+
import type { BbIconProps } from '../BbIcon/types';
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* Props for the star rating input component with customizable star count and visual feedback.
|
package/dist/ai/BaseTag.md
CHANGED
|
@@ -92,7 +92,6 @@ import CommonInputOuterContainer from '../CommonInputOuterContainer/CommonInputO
|
|
|
92
92
|
import type { Option as BaseOption } from '@/types/Option';
|
|
93
93
|
import { isEmpty } from '@/utilities/functions/empty';
|
|
94
94
|
import type { BaseTagProps, BaseTagEvents, BaseTagSlots } from './types';
|
|
95
|
-
export type { BaseTagProps, BaseTagEvents, BaseTagSlots };
|
|
96
95
|
|
|
97
96
|
const props = withDefaults(defineProps<BaseTagProps>(), {
|
|
98
97
|
autocomplete: 'off',
|
package/dist/ai/BbAccordion.md
CHANGED
|
@@ -36,7 +36,6 @@ import type {
|
|
|
36
36
|
BbAccordionEvents,
|
|
37
37
|
BbAccordionSlots,
|
|
38
38
|
} from './types';
|
|
39
|
-
export type { BbAccordionProps, BbAccordionEvents, BbAccordionSlots };
|
|
40
39
|
|
|
41
40
|
const emit = defineEmits<BbAccordionEvents>();
|
|
42
41
|
|
|
@@ -75,7 +74,7 @@ defineSlots<BbAccordionSlots>();
|
|
|
75
74
|
## Types
|
|
76
75
|
|
|
77
76
|
```ts
|
|
78
|
-
import type { BbCollapsibleProps } from '../BbCollapsible/
|
|
77
|
+
import type { BbCollapsibleProps } from '../BbCollapsible/types';
|
|
79
78
|
import type { CommonProps } from '@/types/CommonProps';
|
|
80
79
|
|
|
81
80
|
export type BbAccordionProps = Pick<
|
package/dist/ai/BbAlert.md
CHANGED
|
@@ -57,7 +57,6 @@ import BbCollapsible from '../BbCollapsible/BbCollapsible.vue';
|
|
|
57
57
|
import BbIcon from '../BbIcon/BbIcon.vue';
|
|
58
58
|
import { useLocale } from '@/composables/useLocale';
|
|
59
59
|
import type { BbAlertProps, BbAlertEvents, BbAlertSlots } from './types';
|
|
60
|
-
export type { BbAlertProps, BbAlertEvents, BbAlertSlots };
|
|
61
60
|
|
|
62
61
|
const props = withDefaults(defineProps<BbAlertProps>(), {
|
|
63
62
|
theme: 'default',
|
|
@@ -97,7 +96,7 @@ const onClickClose = () => {
|
|
|
97
96
|
|
|
98
97
|
```ts
|
|
99
98
|
import type { CommonProps } from '@/types/CommonProps';
|
|
100
|
-
import type { BbIconProps } from '../BbIcon/
|
|
99
|
+
import type { BbIconProps } from '../BbIcon/types';
|
|
101
100
|
|
|
102
101
|
export type BbAlertProps = Pick<
|
|
103
102
|
CommonProps,
|
package/dist/ai/BbAvatar.md
CHANGED
|
@@ -28,7 +28,6 @@ import { isCssColor } from '@/utilities/functions/isCssColor';
|
|
|
28
28
|
import type { Classes } from '@/types/Classes';
|
|
29
29
|
import { wait } from '@/utilities/functions/wait';
|
|
30
30
|
import type { BbAvatarProps, BbAvatarSlots, Size } from './types';
|
|
31
|
-
export type { BbAvatarProps, BbAvatarSlots };
|
|
32
31
|
|
|
33
32
|
const props = withDefaults(defineProps<BbAvatarProps>(), {
|
|
34
33
|
timeout: 400,
|
package/dist/ai/BbBadge.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<span class="bb-badge__wrapper">
|
|
9
9
|
<slot></slot>
|
|
10
10
|
<span class="bb-badge__content-container" v-bind="contentAttributes">
|
|
11
|
-
<span class="bb-badge__content-inner"
|
|
11
|
+
<span v-if="!props.dot" class="bb-badge__content-inner"
|
|
12
12
|
><slot name="content">{{ content }}</slot></span
|
|
13
13
|
>
|
|
14
14
|
</span>
|
|
@@ -21,7 +21,6 @@ import { computed, useSlots } from 'vue';
|
|
|
21
21
|
import { isCssColor } from '@/utilities/functions/isCssColor';
|
|
22
22
|
import { isNil } from '@/utilities/functions/isNil';
|
|
23
23
|
import type { BbBadgeProps, BbBadgeSlots } from './types';
|
|
24
|
-
export type { BbBadgeProps, BbBadgeSlots };
|
|
25
24
|
|
|
26
25
|
const slots = useSlots();
|
|
27
26
|
|
|
@@ -36,7 +35,8 @@ const classes = computed(() => {
|
|
|
36
35
|
'bb-badge--left': props.left,
|
|
37
36
|
'bb-badge--positioned': slots.default,
|
|
38
37
|
'bb-badge--floating': props.floating,
|
|
39
|
-
'bb-badge--
|
|
38
|
+
'bb-badge--dot': props.dot,
|
|
39
|
+
'bb-badge--empty': !props.dot && isNil(props.content),
|
|
40
40
|
[`bb-badge--${props.color}`]: props.color && !isCssColor(props.color),
|
|
41
41
|
};
|
|
42
42
|
});
|
|
@@ -78,6 +78,10 @@ export type BbBadgeProps = Pick<CommonProps, 'color'> & {
|
|
|
78
78
|
* Text content of the badge.
|
|
79
79
|
*/
|
|
80
80
|
content?: string | number | null;
|
|
81
|
+
/**
|
|
82
|
+
* Renders a small dot with no content instead of the full badge.
|
|
83
|
+
*/
|
|
84
|
+
dot?: boolean;
|
|
81
85
|
/**
|
|
82
86
|
* Renders the badge a little further from the wrapped component,
|
|
83
87
|
* making it look like it's floating and not stacked.
|
|
@@ -105,77 +109,131 @@ export type BbBadgeSlots = {
|
|
|
105
109
|
|
|
106
110
|
```css
|
|
107
111
|
.bb-badge {
|
|
108
|
-
|
|
109
|
-
--
|
|
112
|
+
/* ── Configurable tokens ─────────────────────────────────── */
|
|
113
|
+
--bb-badge-bg: var(--bb-primary);
|
|
114
|
+
--bb-badge-color: var(--bb-contrasting);
|
|
115
|
+
--bb-badge-radius: 999px;
|
|
116
|
+
--bb-badge-font-size: 0.75rem;
|
|
117
|
+
--bb-badge-min-size: 1.375rem;
|
|
118
|
+
--bb-badge-dot-size: 0.625rem;
|
|
119
|
+
--bb-badge-border-width: 0px;
|
|
120
|
+
--bb-badge-border-color: transparent;
|
|
121
|
+
--bb-badge-offset: 0.625rem;
|
|
122
|
+
--bb-badge-float-offset: 1.25rem;
|
|
123
|
+
--bb-badge-dot-offset: 0.125rem;
|
|
124
|
+
--bb-badge-dot-float-offset: 0.5rem;
|
|
125
|
+
|
|
110
126
|
display: inline-flex;
|
|
111
127
|
|
|
128
|
+
/* ── Positioned mode ─────────────────────────────────────── */
|
|
112
129
|
&--positioned {
|
|
113
130
|
position: relative;
|
|
114
131
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
132
|
+
.bb-badge__content-container {
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: calc(0% - var(--bb-badge-offset));
|
|
135
|
+
right: calc(0% - var(--bb-badge-offset));
|
|
136
|
+
bottom: auto;
|
|
137
|
+
left: auto;
|
|
119
138
|
}
|
|
120
139
|
|
|
121
|
-
&.bb-badge--
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
140
|
+
&.bb-badge--left .bb-badge__content-container {
|
|
141
|
+
right: auto;
|
|
142
|
+
left: calc(0% - var(--bb-badge-offset));
|
|
125
143
|
}
|
|
126
144
|
|
|
127
|
-
&.bb-badge--
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
145
|
+
&.bb-badge--bottom .bb-badge__content-container {
|
|
146
|
+
top: auto;
|
|
147
|
+
bottom: calc(0% - var(--bb-badge-offset));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.bb-badge--empty .bb-badge__content-container {
|
|
151
|
+
transform: scale(0);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Dot: smaller so it needs a tighter offset */
|
|
155
|
+
&.bb-badge--dot .bb-badge__content-container {
|
|
156
|
+
top: calc(0% - var(--bb-badge-dot-offset));
|
|
157
|
+
right: calc(0% - var(--bb-badge-dot-offset));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&.bb-badge--dot.bb-badge--left .bb-badge__content-container {
|
|
161
|
+
right: auto;
|
|
162
|
+
left: calc(0% - var(--bb-badge-dot-offset));
|
|
131
163
|
}
|
|
132
164
|
|
|
133
|
-
&.bb-badge--
|
|
165
|
+
&.bb-badge--dot.bb-badge--bottom .bb-badge__content-container {
|
|
166
|
+
top: auto;
|
|
167
|
+
bottom: calc(0% - var(--bb-badge-dot-offset));
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Floating */
|
|
171
|
+
&.bb-badge--floating .bb-badge__content-container {
|
|
172
|
+
top: calc(0% - var(--bb-badge-float-offset));
|
|
173
|
+
right: calc(0% - var(--bb-badge-float-offset));
|
|
174
|
+
bottom: auto;
|
|
175
|
+
left: auto;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.bb-badge--floating.bb-badge--left .bb-badge__content-container {
|
|
179
|
+
right: auto;
|
|
180
|
+
left: calc(0% - var(--bb-badge-float-offset));
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&.bb-badge--floating.bb-badge--bottom .bb-badge__content-container {
|
|
184
|
+
top: auto;
|
|
185
|
+
bottom: calc(0% - var(--bb-badge-float-offset));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Floating dot */
|
|
189
|
+
&.bb-badge--floating.bb-badge--dot .bb-badge__content-container {
|
|
190
|
+
top: calc(0% - var(--bb-badge-dot-float-offset));
|
|
191
|
+
right: calc(0% - var(--bb-badge-dot-float-offset));
|
|
192
|
+
bottom: auto;
|
|
193
|
+
left: auto;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&.bb-badge--floating.bb-badge--dot.bb-badge--left
|
|
134
197
|
.bb-badge__content-container {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
&.bb-badge--left {
|
|
139
|
-
left: calc(0% + 4px);
|
|
140
|
-
transform: translateX(-100%);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.bb-badge--bottom {
|
|
144
|
-
bottom: calc(0% + 4px);
|
|
145
|
-
transform: translateY(100%);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
198
|
+
right: auto;
|
|
199
|
+
left: calc(0% - var(--bb-badge-dot-float-offset));
|
|
148
200
|
}
|
|
149
201
|
|
|
150
|
-
.bb-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
min-width: 18px;
|
|
155
|
-
position: absolute;
|
|
202
|
+
&.bb-badge--floating.bb-badge--dot.bb-badge--bottom
|
|
203
|
+
.bb-badge__content-container {
|
|
204
|
+
top: auto;
|
|
205
|
+
bottom: calc(0% - var(--bb-badge-dot-float-offset));
|
|
156
206
|
}
|
|
157
207
|
}
|
|
158
208
|
|
|
209
|
+
/* ── Badge bubble ────────────────────────────────────────── */
|
|
159
210
|
&__content-container {
|
|
160
211
|
align-items: center;
|
|
161
|
-
background-color: var(--
|
|
162
|
-
border
|
|
163
|
-
|
|
212
|
+
background-color: var(--bb-badge-bg);
|
|
213
|
+
border: var(--bb-badge-border-width) solid var(--bb-badge-border-color);
|
|
214
|
+
border-radius: var(--bb-badge-radius);
|
|
215
|
+
color: var(--bb-badge-color);
|
|
164
216
|
display: inline-flex;
|
|
165
|
-
font-size:
|
|
217
|
+
font-size: var(--bb-badge-font-size);
|
|
218
|
+
font-weight: 600;
|
|
166
219
|
justify-content: center;
|
|
167
|
-
line-height:
|
|
168
|
-
min-height:
|
|
169
|
-
|
|
170
|
-
padding-
|
|
171
|
-
padding-
|
|
172
|
-
padding-top: 3px;
|
|
220
|
+
line-height: 1;
|
|
221
|
+
min-height: var(--bb-badge-min-size);
|
|
222
|
+
min-width: var(--bb-badge-min-size);
|
|
223
|
+
padding-block: 0.1875rem;
|
|
224
|
+
padding-inline: 0.375rem;
|
|
173
225
|
transition:
|
|
174
226
|
color 0.2s,
|
|
175
|
-
background-color 0.2s
|
|
227
|
+
background-color 0.2s,
|
|
228
|
+
transform 0.15s;
|
|
229
|
+
white-space: nowrap;
|
|
176
230
|
}
|
|
177
231
|
|
|
178
|
-
|
|
232
|
+
/* ── Dot mode ────────────────────────────────────────────── */
|
|
233
|
+
&--dot .bb-badge__content-container {
|
|
234
|
+
min-height: var(--bb-badge-dot-size);
|
|
235
|
+
min-width: var(--bb-badge-dot-size);
|
|
236
|
+
padding: 0;
|
|
179
237
|
}
|
|
180
238
|
|
|
181
239
|
&__wrapper {
|
package/dist/ai/BbBreadcrumbs.md
CHANGED
|
@@ -129,7 +129,6 @@ import {
|
|
|
129
129
|
estimateEllipsisWidth,
|
|
130
130
|
} from './estimateBreadcrumbItemWidth';
|
|
131
131
|
import type { BbBreadcrumbsProps, BbBreadcrumbsSlots, Item } from './types';
|
|
132
|
-
export type { BbBreadcrumbsProps, BbBreadcrumbsSlots, Item };
|
|
133
132
|
|
|
134
133
|
const props = withDefaults(defineProps<BbBreadcrumbsProps>(), {
|
|
135
134
|
divider: '/',
|
package/dist/ai/BbButton.md
CHANGED
|
@@ -66,7 +66,6 @@ import { useLocale } from '@/composables/useLocale';
|
|
|
66
66
|
import { extractDomContainer } from '@/utilities/functions/extractDomContainer';
|
|
67
67
|
import { isEqual } from '@/utilities/functions/isEqual';
|
|
68
68
|
import type { BbButtonProps, BbButtonSlots } from './types';
|
|
69
|
-
export type { BbButtonProps, BbButtonSlots };
|
|
70
69
|
|
|
71
70
|
const BbTooltipAsync = defineAsyncComponent(
|
|
72
71
|
() => import('../BbTooltip/BbTooltip.vue')
|
package/dist/ai/BbCheckbox.md
CHANGED
|
@@ -80,11 +80,6 @@ import type {
|
|
|
80
80
|
BbCheckboxGroupEvents,
|
|
81
81
|
BbCheckboxGroupSlots,
|
|
82
82
|
} from './types';
|
|
83
|
-
export type {
|
|
84
|
-
BbCheckboxGroupProps,
|
|
85
|
-
BbCheckboxGroupEvents,
|
|
86
|
-
BbCheckboxGroupSlots,
|
|
87
|
-
};
|
|
88
83
|
|
|
89
84
|
const props = withDefaults(defineProps<BbCheckboxGroupProps<T>>(), {
|
|
90
85
|
inputPosition: 'left',
|
package/dist/ai/BbChip.md
CHANGED
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
<script setup lang="ts">
|
|
27
27
|
import { useLocale } from '@/composables/useLocale';
|
|
28
28
|
import type { BbChipProps, BbChipEvents, BbChipSlots } from './types';
|
|
29
|
-
export type { BbChipProps, BbChipEvents, BbChipSlots };
|
|
30
29
|
|
|
31
30
|
withDefaults(defineProps<BbChipProps>(), {
|
|
32
31
|
clearable: true,
|
package/dist/ai/BbCollapsible.md
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
<script setup lang="ts">
|
|
19
19
|
import { computed, ref, watch } from 'vue';
|
|
20
20
|
import type { BbCollapsibleProps, BbCollapsibleSlots } from './types';
|
|
21
|
-
export type { BbCollapsibleProps, BbCollapsibleSlots };
|
|
22
21
|
|
|
23
22
|
const props = withDefaults(defineProps<BbCollapsibleProps>(), {
|
|
24
23
|
transitionDuration: 250,
|
package/dist/ai/BbColorInput.md
CHANGED
|
@@ -72,12 +72,6 @@ import type {
|
|
|
72
72
|
BbDatePickerInputSlots,
|
|
73
73
|
DatePickerInputError,
|
|
74
74
|
} from './types';
|
|
75
|
-
export type {
|
|
76
|
-
BbDatePickerInputProps,
|
|
77
|
-
BbDatePickerInputEvents,
|
|
78
|
-
BbDatePickerInputSlots,
|
|
79
|
-
};
|
|
80
|
-
export type { DatePickerInputError } from './types';
|
|
81
75
|
|
|
82
76
|
const props = withDefaults(defineProps<BbDatePickerInputProps>(), {
|
|
83
77
|
allowWriting: true,
|
package/dist/ai/BbDialog.md
CHANGED
|
@@ -33,12 +33,6 @@ import type {
|
|
|
33
33
|
BaseDialogEvents,
|
|
34
34
|
BaseDialogSlots,
|
|
35
35
|
} from '../BaseDialog/types';
|
|
36
|
-
export type {
|
|
37
|
-
BbDialogProps,
|
|
38
|
-
BbDialogEvents,
|
|
39
|
-
BbDialogSlots,
|
|
40
|
-
Sizes,
|
|
41
|
-
} from './types';
|
|
42
36
|
|
|
43
37
|
const props = withDefaults(defineProps<BaseDialogProps>(), {
|
|
44
38
|
showClose: true,
|
package/dist/ai/BbDropdown.md
CHANGED
|
@@ -129,13 +129,6 @@ import type {
|
|
|
129
129
|
MappedItem,
|
|
130
130
|
DropdownTrigger,
|
|
131
131
|
} from './types';
|
|
132
|
-
export type {
|
|
133
|
-
BbDropdownProps,
|
|
134
|
-
BbDropdownSlots,
|
|
135
|
-
Item,
|
|
136
|
-
MappedItem,
|
|
137
|
-
DropdownTrigger,
|
|
138
|
-
};
|
|
139
132
|
|
|
140
133
|
type InferredBodySlots = ColumnName<BbDropdownProps['items'][number]['key']>;
|
|
141
134
|
defineSlots<BbDropdownSlots>();
|
|
@@ -104,7 +104,6 @@ import { ref } from 'vue';
|
|
|
104
104
|
import { BbIcon, BbSpinner } from '@/index';
|
|
105
105
|
import { useLocale } from '@/composables/useLocale';
|
|
106
106
|
import type { BbDropdownButtonProps, BbDropdownButtonSlots } from './types';
|
|
107
|
-
export type { BbDropdownButtonProps, BbDropdownButtonSlots };
|
|
108
107
|
|
|
109
108
|
type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
110
109
|
|
package/dist/ai/BbDropzone.md
CHANGED
package/dist/ai/BbIcon.md
CHANGED
|
@@ -21,7 +21,6 @@ import { isCssColor } from '@/utilities/functions/isCssColor';
|
|
|
21
21
|
import { get } from '@/utilities/functions/get';
|
|
22
22
|
import { useLogger } from '@/composables/useLogger';
|
|
23
23
|
import type { BbIconProps, Size } from './types';
|
|
24
|
-
export type { BbIconProps, Size };
|
|
25
24
|
|
|
26
25
|
const props = withDefaults(defineProps<BbIconProps>(), {
|
|
27
26
|
size: 'md',
|
package/dist/ai/BbNumberInput.md
CHANGED
package/dist/ai/BbOffCanvas.md
CHANGED
package/dist/ai/BbPagination.md
CHANGED
package/dist/ai/BbPopover.md
CHANGED
package/dist/ai/BbProgress.md
CHANGED
|
@@ -19,7 +19,6 @@ import { clamp } from '@/utilities/functions/clamp';
|
|
|
19
19
|
import { getAsPercentageBetween } from '@/utilities/functions/percentage';
|
|
20
20
|
import { computed } from 'vue';
|
|
21
21
|
import type { BbProgressProps } from './types';
|
|
22
|
-
export type { BbProgressProps };
|
|
23
22
|
|
|
24
23
|
/**
|
|
25
24
|
* You can get percentage between 250 and 370 and have it compute it automatically.
|
package/dist/ai/BbRadio.md
CHANGED
|
@@ -49,7 +49,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
|
|
|
49
49
|
import BaseRadio from '../BaseRadio/BaseRadio.vue';
|
|
50
50
|
import { ref, computed } from 'vue';
|
|
51
51
|
import type { BbRadioProps, BbRadioEvents, BbRadioSlots } from './types';
|
|
52
|
-
export type { BbRadioProps, BbRadioEvents, BbRadioSlots };
|
|
53
52
|
|
|
54
53
|
const props = withDefaults(defineProps<BbRadioProps>(), {
|
|
55
54
|
direction: 'auto',
|
package/dist/ai/BbRadioGroup.md
CHANGED
package/dist/ai/BbRating.md
CHANGED
|
@@ -54,7 +54,6 @@ import BaseRating from '../BaseRating/BaseRating.vue';
|
|
|
54
54
|
import type { BaseRatingEvents } from '../BaseRating/types';
|
|
55
55
|
import { ref, computed } from 'vue';
|
|
56
56
|
import type { BbRatingProps, BbRatingEvents, BbRatingSlots } from './types';
|
|
57
|
-
export type { BbRatingProps, BbRatingEvents, BbRatingSlots };
|
|
58
57
|
|
|
59
58
|
const props = withDefaults(defineProps<BbRatingProps>(), {
|
|
60
59
|
inputPosition: 'left',
|
package/dist/ai/BbRatio.md
CHANGED
package/dist/ai/BbSelect.md
CHANGED
|
@@ -111,7 +111,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
|
|
|
111
111
|
import BaseSelect from '../BaseSelect/BaseSelect.vue';
|
|
112
112
|
import { ref, computed } from 'vue';
|
|
113
113
|
import type { BbSelectProps, BbSelectEvents, BbSelectSlots } from './types';
|
|
114
|
-
export type { BbSelectProps, BbSelectEvents, BbSelectSlots };
|
|
115
114
|
|
|
116
115
|
const props = withDefaults(defineProps<BbSelectProps<T>>(), {
|
|
117
116
|
allowWriting: true,
|
|
@@ -157,7 +156,7 @@ import type { NestedKeyOf } from '@/types/NestedKeyOf';
|
|
|
157
156
|
import type { IconType } from '@/types/Icon';
|
|
158
157
|
import type { BaseSelectEvents } from '../BaseSelect/types';
|
|
159
158
|
|
|
160
|
-
export type BbSelectProps<T> = {
|
|
159
|
+
export type BbSelectProps<T = any> = {
|
|
161
160
|
/**
|
|
162
161
|
* Allows typing into the input.
|
|
163
162
|
*/
|