bitboss-ui 2.1.126 → 2.1.128
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/BbButton.md +0 -10
- package/dist/ai/BbTable.md +635 -2
- package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +6 -6
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -6
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -4
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +6 -6
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +1 -1
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +8 -8
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +6 -6
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +3 -3
- package/dist/components/BaseRating/BaseRating.vue.d.ts +6 -6
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +2 -2
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +7 -7
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +6 -6
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -3
- package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -6
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +6 -6
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +6 -6
- package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +7 -7
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +6 -6
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -4
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -3
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +8 -8
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
- package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
- package/dist/components/BbRadio/BbRadio.vue.d.ts +7 -7
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +3 -3
- package/dist/components/BbRating/BbRating.vue.d.ts +6 -6
- package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +2 -2
- package/dist/components/BbSlider/BbSlider.vue.d.ts +6 -6
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +7 -7
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +3 -3
- package/dist/components/BbTable/types.d.ts +32 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +6 -6
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +6 -6
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +6 -6
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/composables/useTableWidthContext.d.ts +35 -0
- package/dist/directives/bbDropdown.d.ts +8 -2
- package/dist/directives/bbTooltip.d.ts +7 -2
- package/dist/index.css +1 -1
- package/dist/index.js +9 -9
- package/dist/index240.js +58 -61
- package/dist/index270.js +1 -1
- package/dist/index325.js +34 -41
- package/dist/index326.js +40 -447
- package/dist/index327.js +632 -0
- package/dist/index329.js +5 -154
- package/dist/index330.js +155 -0
- package/dist/index332.js +5 -141
- package/dist/index333.js +142 -0
- package/dist/index335.js +5 -154
- package/dist/index336.js +155 -0
- package/dist/index338.js +5 -57
- package/dist/index339.js +57 -4
- package/dist/index340.js +4 -19
- package/dist/index341.js +20 -0
- package/dist/index343.js +5 -141
- package/dist/index344.js +142 -0
- package/dist/index346.js +5 -3
- package/dist/index347.js +3 -108
- package/dist/index348.js +109 -0
- package/dist/index350.js +5 -54
- package/dist/index351.js +54 -23
- package/dist/index352.js +12 -11
- package/dist/index353.js +22 -838
- package/dist/index354.js +811 -446
- package/dist/index355.js +472 -50
- package/dist/index356.js +51 -6
- package/dist/index357.js +7 -0
- package/package.json +1 -1
- package/dist/index328.js +0 -6
- package/dist/index331.js +0 -6
- package/dist/index334.js +0 -6
- package/dist/index337.js +0 -6
- package/dist/index342.js +0 -6
- package/dist/index345.js +0 -6
- package/dist/index349.js +0 -6
package/dist/ai/BbButton.md
CHANGED
|
@@ -62,7 +62,6 @@ import { computed, defineAsyncComponent, ref, toRef, useAttrs } from 'vue';
|
|
|
62
62
|
import { pickBy } from '@/utilities/functions/pickBy';
|
|
63
63
|
import { noop } from '@/utilities/functions/noop';
|
|
64
64
|
import { useLocale } from '@/composables/useLocale';
|
|
65
|
-
import { useLogger } from '@/composables/useLogger';
|
|
66
65
|
import { extractDomContainer } from '@/utilities/functions/extractDomContainer';
|
|
67
66
|
import { isEqual } from '@/utilities/functions/isEqual';
|
|
68
67
|
import type { BbButtonProps, BbButtonSlots } from './types';
|
|
@@ -70,7 +69,6 @@ import type { BbButtonProps, BbButtonSlots } from './types';
|
|
|
70
69
|
const BbTooltipAsync = defineAsyncComponent(
|
|
71
70
|
() => import('../BbTooltip/BbTooltip.vue')
|
|
72
71
|
);
|
|
73
|
-
let hasWarnedDeprecatedTooltipProp = false;
|
|
74
72
|
type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
75
73
|
|
|
76
74
|
defineOptions({
|
|
@@ -91,7 +89,6 @@ const isPressed = computed(() => isEqual(modelValue.value, props.trueValue));
|
|
|
91
89
|
defineSlots<BbButtonSlots>();
|
|
92
90
|
|
|
93
91
|
const { t } = useLocale();
|
|
94
|
-
const logger = useLogger();
|
|
95
92
|
const attrs = useAttrs();
|
|
96
93
|
const buttonDom = ref<HTMLElement>();
|
|
97
94
|
|
|
@@ -99,13 +96,6 @@ const setButtonRef = (el: unknown) => {
|
|
|
99
96
|
buttonDom.value = extractDomContainer(el) ?? undefined;
|
|
100
97
|
};
|
|
101
98
|
|
|
102
|
-
if (import.meta.env.DEV && props.tooltip && !hasWarnedDeprecatedTooltipProp) {
|
|
103
|
-
logger.warn(
|
|
104
|
-
'BbButton: the `tooltip` prop is deprecated and will be removed in the next major version. Use `v-bb-tooltip` for more flexible handling and uniform behavior across components.'
|
|
105
|
-
);
|
|
106
|
-
hasWarnedDeprecatedTooltipProp = true;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
99
|
const forwardedAttrs = computed(() => {
|
|
110
100
|
const { onClick: _, ...rest } = attrs;
|
|
111
101
|
return rest;
|