@adyen/bento-mcp 0.5.3 → 0.5.4
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/CHANGELOG.md +5 -0
- package/dist/assets/components/alert/alert.docs.mdx +17 -17
- package/dist/assets/components/alert/alert.vue +1 -1
- package/dist/assets/components/country/country.vue +1 -1
- package/dist/assets/components/data-grid/data-grid.docs.mdx +3 -0
- package/dist/assets/components/data-grid/data-grid.vue +1 -1
- package/dist/assets/components/date/date.vue +1 -1
- package/dist/assets/components/date-picker/date-picker.docs.mdx +6 -0
- package/dist/assets/components/date-picker/date-picker.stories.ts +1 -1
- package/dist/assets/components/date-picker/date-picker.types.ts +1 -1
- package/dist/assets/components/date-picker/date-picker.vue +1 -1
- package/dist/assets/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue +1 -1
- package/dist/assets/components/date-range-picker/components/date-time-input/date-time-input.types.ts +1 -0
- package/dist/assets/components/date-range-picker/components/date-time-input/date-time-input.vue +1 -0
- package/dist/assets/components/date-range-picker/date-range-picker.docs.mdx +6 -0
- package/dist/assets/components/date-range-picker/date-range-picker.stories.ts +1 -1
- package/dist/assets/components/date-range-picker/date-range-picker.types.ts +1 -1
- package/dist/assets/components/date-range-picker/date-range-picker.vue +1 -1
- package/dist/assets/components/date-time-picker/date-time-picker.vue +1 -1
- package/dist/assets/components/draggable/draggable.vue +1 -1
- package/dist/assets/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue +1 -1
- package/dist/assets/components/dropdown/components/variants/dropdown-country/dropdown-country.types.ts +1 -1
- package/dist/assets/components/dropdown/dropdown.types.ts +1 -1
- package/dist/assets/components/dropdown/dropdown.vue +1 -1
- package/dist/assets/components/filter-bar/components/checkbox-group-filter/checkbox-group-filter.vue +1 -1
- package/dist/assets/components/filter-bar/components/date-filter/date-filter.vue +1 -1
- package/dist/assets/components/filter-bar/components/date-range-filter/date-range-filter.vue +1 -1
- package/dist/assets/components/filter-bar/filter-bar.docs.mdx +8 -2
- package/dist/assets/components/filter-bar/filter-bar.stories.ts +1 -1
- package/dist/assets/components/filter-bar/filter-bar.types.ts +1 -1
- package/dist/assets/components/filter-bar/filter-bar.vue +1 -1
- package/dist/assets/components/input-field-password/input-field-password.vue +1 -1
- package/dist/assets/components/internal/calendar/calendar.stories.ts +1 -1
- package/dist/assets/components/internal/calendar/calendar.types.ts +1 -1
- package/dist/assets/components/internal/calendar/calendar.vue +1 -1
- package/dist/assets/components/internal/calendar/components/calendar-month/calendar-month.types.ts +1 -1
- package/dist/assets/components/internal/calendar/components/calendar-month/calendar-month.vue +1 -1
- package/dist/assets/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue +1 -1
- package/dist/assets/components/internal/calendar/components/calendar-year/calendar-year.types.ts +1 -1
- package/dist/assets/components/internal/calendar/components/calendar-year/calendar-year.vue +1 -1
- package/dist/assets/components/internal/calendar/components/calendar-year-selector/calendar-year-selector.types.ts +1 -0
- package/dist/assets/components/internal/calendar/components/calendar-year-selector/calendar-year-selector.vue +1 -0
- package/dist/assets/components/internal/header-meta/header-meta.vue +1 -1
- package/dist/assets/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue +1 -1
- package/dist/assets/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue +1 -1
- package/dist/assets/components/list/components/list-item/list-item.types.ts +1 -1
- package/dist/assets/components/list/components/list-item/list-item.vue +1 -1
- package/dist/assets/components/list/list.docs.mdx +62 -0
- package/dist/assets/components/list/list.stories.ts +1 -1
- package/dist/assets/components/list/list.types.ts +1 -1
- package/dist/assets/components/list/list.vue +1 -1
- package/dist/assets/components/popover/popover.docs.mdx +5 -1
- package/dist/assets/components/summary-grid/summary-grid.vue +1 -1
- package/dist/assets/components/tabs/tabs.docs.mdx +6 -1
- package/dist/assets/composables/use-bento-delayed-hover/use-bento-delayed-hover.docs.mdx +5 -1
- package/dist/assets/deprecations.md +156 -156
- package/dist/assets/usage.json +74 -74
- package/dist/main.js +135 -48
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import { BentoButton } from '@/components/button'; import { BentoToggle } from '@/components/toggle'; import BentoList from './list.vue'; import BentoListItem from './components/list-item/list-item.vue'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import ListDefault from './__tests__/list-default.vue?raw'; import { isVue2 } from 'vue-demi'; import type { Meta, StoryObj } from '@storybook/vue'; const meta: Meta = { title: 'List', component: BentoList, argTypes: { type: { options: ['unordered', 'ordered'], control: { type: 'select', }, }, }, }; export default meta; type Story = StoryObj<typeof BentoList>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoList, BentoListItem, BentoButton, BentoToggle }, props: Object.keys(argTypes), template: ` <bento-list v-bind="args"> <bento-list-item label="Payment details" description="Updated 2 hours ago" :tag="{ label: 'Live', variant: 'green' }" show-bottom-divider > <template #start> <bento-toggle aria-label="Payment details" /> </template> <template #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> <bento-list-item label="Payout settings" description="Updated yesterday" :tag="{ label: 'Review', variant: 'orange' }" show-bottom-divider > <template #start> <bento-toggle aria-label="Payout settings" /> </template> <template #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> <bento-list-item label="Risk configuration" description="Updated 3 days ago" :tag="{ label: 'Draft', variant: 'grey' }" > <template #start> <bento-toggle aria-label="Risk configuration" /> </template> <template #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> </bento-list> `, setup(props) { return { args: isVue2 ? props : _args, }; }, }), args: { type: 'unordered', }, parameters: storybookDocsParameter(ListDefault), };
|
|
1
|
+
import { ref } from 'vue'; import { action } from '@storybook/addon-actions'; import { BentoButton } from '@/components/button'; import { BentoToggle } from '@/components/toggle'; import BentoList from './list.vue'; import BentoListItem from './components/list-item/list-item.vue'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import ListDefault from './__tests__/list-default.vue?raw'; import ListEverythingBagel from './__tests__/list-everything-bagel.vue?raw'; import { isVue2 } from 'vue-demi'; import type { Meta, StoryObj } from '@storybook/vue'; const meta: Meta = { title: 'List', component: BentoList, argTypes: { type: { options: ['unordered', 'ordered'], control: { type: 'select', }, }, }, }; export default meta; type Story = StoryObj<typeof BentoList>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoList, BentoListItem, BentoButton, BentoToggle }, props: Object.keys(argTypes), template: ` <bento-list v-bind="args"> <bento-list-item label="Payment details" description="Updated 2 hours ago" :tag="{ label: 'Live', variant: 'green' }" show-bottom-divider > <template #start> <bento-toggle aria-label="Payment details" /> </template> <template #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> <bento-list-item label="Payout settings" description="Updated yesterday" :tag="{ label: 'Review', variant: 'orange' }" show-bottom-divider > <template #start> <bento-toggle aria-label="Payout settings" /> </template> <template #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> <bento-list-item label="Risk configuration" description="Updated 3 days ago" :tag="{ label: 'Draft', variant: 'grey' }" > <template #start> <bento-toggle aria-label="Risk configuration" /> </template> <template #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> </bento-list> `, setup(props) { return { args: isVue2 ? props : _args, }; }, }), args: { type: 'unordered', }, parameters: storybookDocsParameter(ListDefault), }; export const EverythingBagel: Story = { render: (_args, { argTypes }) => ({ components: { BentoList, BentoListItem, BentoButton, BentoToggle }, props: Object.keys(argTypes), template: ` <bento-list v-bind="args" @reorder="onReorder"> <bento-list-item v-for="item in items" :key="item.id" :label="item.label" :description="item.description" :tag="item.tag" :show-status="item.showStatus" :status-color="item.statusColor" :draggable-options="item.draggableOptions" show-bottom-divider > <template v-if="item.showToggle" #start> <bento-toggle :aria-label="item.label" /> </template> <template v-if="item.showEdit" #end> <bento-button variant="secondary">Edit</bento-button> </template> </bento-list-item> </bento-list> `, setup(props) { const items = ref([ { id: 'payment', label: 'Payment details', description: 'Updated 2 hours ago', tag: { label: 'Live', variant: 'green' }, showStatus: true, statusColor: 'green', showToggle: true, showEdit: true, }, { id: 'payout', label: 'Payout settings', description: 'Updated yesterday', tag: { label: 'Review', variant: 'orange' }, showStatus: true, statusColor: 'orange', showToggle: true, showEdit: true, }, { id: 'risk', label: 'Risk configuration', description: 'Updated 3 days ago', tag: { label: 'Draft', variant: 'grey' }, showStatus: true, }, { id: 'compliance', label: 'Compliance check', description: 'Locked by admin', draggableOptions: { disabled: true }, }, ]); const reorderAction = action('reorder'); const onReorder = ({ oldIndex, newIndex }: { oldIndex: number; newIndex: number }) => { const updated = [...items.value]; const [moved] = updated.splice(oldIndex, 1); updated.splice(newIndex, 0, moved); items.value = updated; reorderAction({ oldIndex, newIndex, order: updated.map(i => i.label) }); }; return { args: isVue2 ? props : _args, items, onReorder, }; }, }), args: { type: 'unordered', draggable: true, draggableOptions: { animation: 150 }, }, parameters: storybookDocsParameter(ListEverythingBagel), };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type BentoListType = 'unordered' | 'ordered'; export interface BentoListProps { /** * Defines if the list should render as unordered (`ul`) or ordered (`ol`). * @values unordered, ordered */ type?: BentoListType; }
|
|
1
|
+
import type { BentoDraggableOptions } from '@/components/draggable/draggable.types'; export type BentoListType = 'unordered' | 'ordered'; export interface BentoListProps { /** * Defines if the list should render as unordered (`ul`) or ordered (`ol`). * @values unordered, ordered */ type?: BentoListType; /** * Enables drag-and-drop reordering for list items. * Requires rendering `BentoDraggableHandle` inside each item. */ draggable?: boolean; /** * Drag options forwarded to draggable behavior. */ draggableOptions?: BentoDraggableOptions & { dragAnnouncement?: string | 'disabled' }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<template> <component :is="listElement" class="b-
|
|
1
|
+
<template> <div class="b-list"> <component :is="listElement" ref="listRef" v-bind="$attrs" class="b-list__list"> <slot /> </component> <div v-if="isDraggable" class="b-list__announcement" role="status" aria-live="polite"> {{ announcementMessage }} </div> </div> </template> <script setup lang="ts"> import { useMutationObserver } from '@vueuse/core'; import { computed, provide, ref, watch } from 'vue'; import { useBentoDraggable } from '@/components/draggable/composables/use-bento-draggable/use-bento-draggable'; import { useDraggableAnnouncement } from '@/components/draggable/composables/use-draggable-announcement/use-draggable-announcement'; import type { BentoDraggableOptions, BentoDraggableSortableEvent } from '@/components/draggable/draggable.types'; import { BENTO_LIST_DRAGGABLE_INJECTION_KEY } from './list.keys'; import type { BentoListDraggableContext } from './list.keys'; import type { BentoListProps } from './list.types'; // used for announcement composable import draggableMessages from '@/components/draggable/composables/use-draggable-announcement/messages.json'; const ITEM_SELECTOR = '.b-list-item'; const props = withDefaults(defineProps<BentoListProps>(), { type: 'unordered', draggable: false, draggableOptions: () => ({}), }); const emit = defineEmits<{ /** * Emitted after items are reordered, with the old and new indices. */ (e: 'reorder', value: { oldIndex: number; newIndex: number }): void; }>(); const listElement = computed(() => (props.type === 'ordered' ? 'ol' : 'ul')); const listRef = ref<HTMLElement | null>(null); const listItems = ref<Array<HTMLElement>>([]); const isDraggable = computed(() => props.draggable); const getListItems = (): Array<HTMLElement> => listRef.value ? (Array.from(listRef.value.children).filter(child => child.matches(ITEM_SELECTOR)) as Array<HTMLElement>) : []; const syncListItems = () => { listItems.value = getListItems(); }; watch( listRef, newElement => { if (!newElement) { listItems.value = []; return; } syncListItems(); }, { immediate: true } ); useMutationObserver(listRef, syncListItems, { childList: true }); const getItemIndex = (el: HTMLElement | null) => (el ? listItems.value.indexOf(el) : -1); const getItemLabel = (el: HTMLElement | null, fallbackIndex: number) => el?.querySelector('[data-list-item-label]')?.textContent?.trim() || `List item ${fallbackIndex + 1}`; const announceMoveAt = (fromIndex: number, toIndex: number) => { if (!isDraggable.value) { return; } const items = getListItems(); announceMove({ itemLabel: getItemLabel(items[toIndex] ?? null, toIndex), fromIndex, toIndex, total: items.length, announcement: props.draggableOptions?.dragAnnouncement, }); }; const moveItemDOM = (fromIndex: number, toIndex: number) => { const items = getListItems(); const itemToMove = items[fromIndex]; const targetItem = items[toIndex]; if (fromIndex < toIndex) { listRef.value!.insertBefore(itemToMove, targetItem.nextSibling); } else { listRef.value!.insertBefore(itemToMove, targetItem); } syncListItems(); announceMoveAt(fromIndex, toIndex); emit('reorder', { oldIndex: fromIndex, newIndex: toIndex }); }; const computedDraggableOptions = computed<BentoDraggableOptions>(() => ({ ...props.draggableOptions, onSort: (event: BentoDraggableSortableEvent) => { syncListItems(); if (event.oldIndex !== undefined && event.newIndex !== undefined) { announceMoveAt(event.oldIndex, event.newIndex); emit('reorder', { oldIndex: event.oldIndex, newIndex: event.newIndex }); } props.draggableOptions?.onSort?.(event); }, })); const { announcementMessage, announceMove } = useDraggableAnnouncement(); const { moveItemUp, moveItemDown, moveItemTop, moveItemBottom, getDisabledMenus } = useBentoDraggable( listRef, computedDraggableOptions, { getItemCount: () => listItems.value.length, getItemIndex, onMoveItem: moveItemDOM, } ); provide<BentoListDraggableContext>(BENTO_LIST_DRAGGABLE_INJECTION_KEY, { isDraggable, moveItemUp, moveItemDown, moveItemTop, moveItemBottom, getDisabledMenus, }); </script> <script lang="ts"> /** * `BentoList` renders an ordered or unordered list container for `BentoListItem` rows. * * @example * import { BentoList, BentoListItem } from '@adyen/bento-vue2'; * * export default { * components: { BentoList, BentoListItem }, * template: ` * <bento-list> * <bento-list-item * label="Payment details" * description="Updated 2 hours ago" * :tag="{ label: 'Live', variant: 'green' }" * show-bottom-divider * /> * <bento-list-item * label="Risk configuration" * description="Updated yesterday" * :tag="{ label: 'Review', variant: 'orange' }" * /> * </bento-list> * ` * } */ export default { name: 'bento-list', inheritAttrs: false, i18n: { messages: draggableMessages }, }; </script> <style lang="scss" scoped src="./list.scss" />
|
|
@@ -71,13 +71,17 @@ Bind the handlers on the trigger via `v-on="hoverEvents"`:
|
|
|
71
71
|
When the popover is **NOT** a descendant of the trigger element (for example, rendered as a sibling or teleported
|
|
72
72
|
elsewhere in the DOM), also bind `hoverEvents` on the popover so that hovering or focusing its content keeps it open:
|
|
73
73
|
|
|
74
|
+
For hover-triggered popovers, pass `disable-focus-trap`. A focus trap can move focus back into the popover while the
|
|
75
|
+
delayed hover handlers are trying to close it, which can cause unexpected open/close behavior when multiple
|
|
76
|
+
hover-triggered popovers are present.
|
|
77
|
+
|
|
74
78
|
<Source
|
|
75
79
|
format={'html'}
|
|
76
80
|
dark
|
|
77
81
|
code={`
|
|
78
82
|
<span ref="triggerRef" v-on="hoverEvents">Hover me</span>
|
|
79
83
|
|
|
80
|
-
<bento-popover v-on="hoverEvents" :open="isOpen" :target-element="triggerRef">
|
|
84
|
+
<bento-popover v-on="hoverEvents" :open="isOpen" :target-element="triggerRef" disable-focus-trap>
|
|
81
85
|
Popover content
|
|
82
86
|
</bento-popover>
|
|
83
87
|
`}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<template> <div class="b-summary-grid"> <grid-layout v-for="index in numberOfRows" :key="`summary-grid-row-${index}`" :data-testid="`summary-grid-row-${index}`" :column-width="columnWidth?.[`row${index}`]" > <template v-if="hasSlot(`cell-${index}-1`)" #col-1> <slot :name="`cell-${index}-1`" /> </template> <template v-if="hasSlot(`cell-${index}-2`)" #col-2> <slot :name="`cell-${index}-2`" /> </template> <template v-if="hasSlot(`cell-${index}-3`)" #col-3> <slot :name="`cell-${index}-3`" /> </template> <template v-if="hasSlot(`cell-${index}-4`)" #col-4> <slot :name="`cell-${index}-4`" /> </template> <template v-if="hasSlot(`cell-${index}-5`)" #col-5> <slot :name="`cell-${index}-5`" /> </template> <template v-if="hasSlot(`cell-${index}-6`)" #col-6> <slot :name="`cell-${index}-6`" /> </template> </grid-layout> </div> </template> <script setup lang="ts"> import { onMounted, provide, toRef, useSlots } from 'vue'; import type { BentoSummaryGridLayout, BentoSummaryGridProps } from './summary-grid.types'; import { GridLayout } from '@/components/internal'; import { useHasSlot } from '@/composables'; import { SUMMARY_GRID_LAYOUT_INJECTION_KEY, SUMMARY_GRID_SLASHED_ZERO, } from '@/components/summary-grid/summary-grid.keys'; const props = withDefaults(defineProps<BentoSummaryGridProps>(), { columnWidth: null, slashedZero: false, }); const slots = useSlots(); const hasSlot = useHasSlot(slots); let numberOfRows = 1; if (slots) { const slotRows = Object.keys(slots) ?.filter(slotName => slotName.includes('cell-')) ?.map(slotName => parseInt(slotName.split('-')?.[1], 10)); numberOfRows = Math.max(...slotRows); } onMounted(() => { if (numberOfRows > 3) { throw new Error( 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.' ); } }); const registerComponentsInSummaryGrid: BentoSummaryGridLayout = () => { const isSummaryGridLayout = true; return { isSummaryGridLayout }; }; provide(SUMMARY_GRID_LAYOUT_INJECTION_KEY, registerComponentsInSummaryGrid); provide(SUMMARY_GRID_SLASHED_ZERO, toRef(props, 'slashedZero')); </script> <script lang="ts"> /** * A summary grid component that displays a collection items. * * @example * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2'; * * export default { * components: { BentoSummaryGrid, BentoSummaryGridItemAmount }, * template: ` * <bento-summary-grid> * <template #cell-2-2> * <bento-summary-grid-item-amount * title="Text Item" * label="14" * info-icon-tooltip-text="text for icon" * copy="copy this to clipboard" * /> * </template> * </bento-summary-grid> * ` * } */ export default {}; </script> <style lang="scss" scoped src="./summary-grid.scss" />
|
|
1
|
+
<template> <div class="b-summary-grid"> <grid-layout v-for="index in numberOfRows" :key="`summary-grid-row-${index}`" :data-testid="`summary-grid-row-${index}`" :column-width="columnWidth?.[`row${index}`]" > <template v-if="hasSlot(`cell-${index}-1`)" #col-1> <slot :name="`cell-${index}-1`" /> </template> <template v-if="hasSlot(`cell-${index}-2`)" #col-2> <slot :name="`cell-${index}-2`" /> </template> <template v-if="hasSlot(`cell-${index}-3`)" #col-3> <slot :name="`cell-${index}-3`" /> </template> <template v-if="hasSlot(`cell-${index}-4`)" #col-4> <slot :name="`cell-${index}-4`" /> </template> <template v-if="hasSlot(`cell-${index}-5`)" #col-5> <slot :name="`cell-${index}-5`" /> </template> <template v-if="hasSlot(`cell-${index}-6`)" #col-6> <slot :name="`cell-${index}-6`" /> </template> </grid-layout> </div> </template> <script setup lang="ts"> import { onMounted, provide, toRef, useSlots } from 'vue'; import type { BentoSummaryGridLayout, BentoSummaryGridProps } from './summary-grid.types'; import { GridLayout } from '@/components/internal/grid-layout'; import { useHasSlot } from '@/composables'; import { SUMMARY_GRID_LAYOUT_INJECTION_KEY, SUMMARY_GRID_SLASHED_ZERO, } from '@/components/summary-grid/summary-grid.keys'; const props = withDefaults(defineProps<BentoSummaryGridProps>(), { columnWidth: null, slashedZero: false, }); const slots = useSlots(); const hasSlot = useHasSlot(slots); let numberOfRows = 1; if (slots) { const slotRows = Object.keys(slots) ?.filter(slotName => slotName.includes('cell-')) ?.map(slotName => parseInt(slotName.split('-')?.[1], 10)); numberOfRows = Math.max(...slotRows); } onMounted(() => { if (numberOfRows > 3) { throw new Error( 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.' ); } }); const registerComponentsInSummaryGrid: BentoSummaryGridLayout = () => { const isSummaryGridLayout = true; return { isSummaryGridLayout }; }; provide(SUMMARY_GRID_LAYOUT_INJECTION_KEY, registerComponentsInSummaryGrid); provide(SUMMARY_GRID_SLASHED_ZERO, toRef(props, 'slashedZero')); </script> <script lang="ts"> /** * A summary grid component that displays a collection items. * * @example * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2'; * * export default { * components: { BentoSummaryGrid, BentoSummaryGridItemAmount }, * template: ` * <bento-summary-grid> * <template #cell-2-2> * <bento-summary-grid-item-amount * title="Text Item" * label="14" * info-icon-tooltip-text="text for icon" * copy="copy this to clipboard" * /> * </template> * </bento-summary-grid> * ` * } */ export default {}; </script> <style lang="scss" scoped src="./summary-grid.scss" />
|
|
@@ -23,12 +23,17 @@ page. Selecting another tab replaces content with the new tab’s content.
|
|
|
23
23
|
|
|
24
24
|
## Variations
|
|
25
25
|
|
|
26
|
+
<Canvas of={TabsStories.EverythingBagel} />
|
|
27
|
+
|
|
26
28
|
### Notification indicators
|
|
27
29
|
|
|
28
30
|
If there’s something requiring user attention, the tab gets a blue notification dot. To set/unset this notification dot,
|
|
29
31
|
set the `withNotificationIndicator` prop to `true` or `false` for the designated `bento-tab`.
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
### Error counter
|
|
34
|
+
|
|
35
|
+
To display an error count alongside a tab title, use the `error-counter` prop on `bento-tab`. This renders a red tag
|
|
36
|
+
with an error icon and the given count. It is useful for signalling validation errors or issues within a tab's content.
|
|
32
37
|
|
|
33
38
|
## Modifiers
|
|
34
39
|
|
|
@@ -31,6 +31,10 @@ Bind `hoverEvents` on the trigger element:
|
|
|
31
31
|
When the content is **not** a descendant of the trigger (e.g. rendered as a sibling or teleported elsewhere in the DOM),
|
|
32
32
|
also bind `hoverEvents` on a wrapper around the content so that hovering or focusing it cancels the pending close:
|
|
33
33
|
|
|
34
|
+
When the content is a `bento-popover`, always pass `disable-focus-trap`. A focus trap can move focus back into the
|
|
35
|
+
popover while the delayed hover handlers are trying to close it, which can make multiple hover-triggered popovers appear
|
|
36
|
+
to reopen or close each other unexpectedly.
|
|
37
|
+
|
|
34
38
|
<Source
|
|
35
39
|
format={'html'}
|
|
36
40
|
dark
|
|
@@ -38,7 +42,7 @@ also bind `hoverEvents` on a wrapper around the content so that hovering or focu
|
|
|
38
42
|
<span ref="triggerRef" v-on="hoverEvents">Hover me</span>
|
|
39
43
|
|
|
40
44
|
<span v-on="hoverEvents">
|
|
41
|
-
<bento-popover :open="isOpen" :target-element="triggerRef">
|
|
45
|
+
<bento-popover :open="isOpen" :target-element="triggerRef" disable-focus-trap>
|
|
42
46
|
Popover content
|
|
43
47
|
</bento-popover>
|
|
44
48
|
</span>
|
|
@@ -45,19 +45,35 @@ This file contains a list of all deprecated components, properties, and features
|
|
|
45
45
|
### Deprecation Found
|
|
46
46
|
|
|
47
47
|
- deprecate(
|
|
48
|
-
- ../vue2/src/
|
|
49
|
-
-
|
|
50
|
-
- ../vue2/src/
|
|
51
|
-
- ../vue2/src/
|
|
52
|
-
- ../vue2/src/
|
|
48
|
+
- ../vue2/src/install.ts- Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin
|
|
49
|
+
- //adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables
|
|
50
|
+
- ../vue2/src/install.ts- 2.0.0
|
|
51
|
+
- ../vue2/src/install.ts- );
|
|
52
|
+
- ../vue2/src/install.ts- // Make sure to put all awaited CSS imports below this point and not above!
|
|
53
|
+
### Deprecation Found
|
|
54
|
+
|
|
55
|
+
- deprecate(Using `BentoTheme.BENTO`, Please use `BentoTheme.BENTO_LIGHT` instead, 2.0.0);
|
|
56
|
+
- ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
|
|
57
|
+
- ../vue2/src/install.ts- } else {
|
|
58
|
+
- ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
|
|
59
|
+
- ../vue2/src/install.ts- }
|
|
60
|
+
- ../vue2/src/install.ts- }
|
|
53
61
|
### Deprecation Found
|
|
54
62
|
|
|
55
63
|
- deprecate(
|
|
56
|
-
- ../vue2/src/components/
|
|
57
|
-
- ../vue2/src/components/
|
|
58
|
-
- ../vue2/src/components/
|
|
59
|
-
- ../vue2/src/components/
|
|
60
|
-
- ../vue2/src/components/
|
|
64
|
+
- ../vue2/src/components/modal/modal.vue- BentoModal overflow-visible property
|
|
65
|
+
- ../vue2/src/components/modal/modal.vue- `overflow-visible property was made redundant. BentoModal can work correctly without the need to pass the propery.
|
|
66
|
+
- ../vue2/src/components/modal/modal.vue- Remove the overflow-visible prop from BentoModal to remove this error.`
|
|
67
|
+
- ../vue2/src/components/modal/modal.vue- 2.0.0
|
|
68
|
+
- ../vue2/src/components/modal/modal.vue- );
|
|
69
|
+
### Deprecation Found
|
|
70
|
+
|
|
71
|
+
- deprecate(
|
|
72
|
+
- ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- Boolean filter BentoFilterItemType.BOOLEAN
|
|
73
|
+
- ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- `Use the Radio group filter type BentoFilterItemType.RADIO_GROUP instead.`
|
|
74
|
+
- ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- 2.0.0
|
|
75
|
+
- ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- );
|
|
76
|
+
- ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- });
|
|
61
77
|
### Deprecation Found
|
|
62
78
|
|
|
63
79
|
- deprecate(
|
|
@@ -85,27 +101,35 @@ This file contains a list of all deprecated components, properties, and features
|
|
|
85
101
|
### Deprecation Found
|
|
86
102
|
|
|
87
103
|
- deprecate(
|
|
88
|
-
- ../vue2/src/components/
|
|
89
|
-
- ../vue2/src/components/
|
|
90
|
-
- ../vue2/src/components/
|
|
91
|
-
- ../vue2/src/components/
|
|
92
|
-
- ../vue2/src/components/
|
|
104
|
+
- ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- BentoInputFieldPhoneNumber value property
|
|
105
|
+
- ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- `The use of value prop in BentoInputFieldPhoneNumber is no longer supported.
|
|
106
|
+
- ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- Use the v-model or model-value property instead.`
|
|
107
|
+
- ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- 2.0.0
|
|
108
|
+
- ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- );
|
|
93
109
|
### Deprecation Found
|
|
94
110
|
|
|
95
111
|
- deprecate(
|
|
96
|
-
- ../vue2/src/components/
|
|
97
|
-
- ../vue2/src/components/
|
|
98
|
-
- ../vue2/src/components/
|
|
99
|
-
- ../vue2/src/components/
|
|
100
|
-
- ../vue2/src/components/
|
|
112
|
+
- ../vue2/src/components/input-field-password/input-field-password.vue- BentoInputFieldPassword value property
|
|
113
|
+
- ../vue2/src/components/input-field-password/input-field-password.vue- `The use of value prop in BentoInputFieldPassword is no longer supported.
|
|
114
|
+
- ../vue2/src/components/input-field-password/input-field-password.vue- Use the v-model or model-value property instead.`
|
|
115
|
+
- ../vue2/src/components/input-field-password/input-field-password.vue- 2.0.0
|
|
116
|
+
- ../vue2/src/components/input-field-password/input-field-password.vue- );
|
|
101
117
|
### Deprecation Found
|
|
102
118
|
|
|
103
119
|
- deprecate(
|
|
104
|
-
- ../vue2/src/components/
|
|
105
|
-
- ../vue2/src/components/
|
|
106
|
-
- ../vue2/src/components/
|
|
107
|
-
- ../vue2/src/components/
|
|
108
|
-
- ../vue2/src/components/
|
|
120
|
+
- ../vue2/src/components/card/card.vue- BentoCard @click property
|
|
121
|
+
- ../vue2/src/components/card/card.vue- `Use the BentoCard @click with the clickable property to enable accessible styles.`
|
|
122
|
+
- ../vue2/src/components/card/card.vue- 2.0.0
|
|
123
|
+
- ../vue2/src/components/card/card.vue- );
|
|
124
|
+
- ../vue2/src/components/card/card.vue- }
|
|
125
|
+
### Deprecation Found
|
|
126
|
+
|
|
127
|
+
- deprecate(
|
|
128
|
+
- ../vue2/src/components/date-picker/date-picker.vue- BentoDatePicker value property
|
|
129
|
+
- ../vue2/src/components/date-picker/date-picker.vue- `The use of value prop in BentoDatePicker is no longer supported. Use the v-model or model-value property instead.`
|
|
130
|
+
- ../vue2/src/components/date-picker/date-picker.vue- 2.0.0
|
|
131
|
+
- ../vue2/src/components/date-picker/date-picker.vue- );
|
|
132
|
+
- ../vue2/src/components/date-picker/date-picker.vue- }
|
|
109
133
|
### Deprecation Found
|
|
110
134
|
|
|
111
135
|
- deprecate(
|
|
@@ -117,67 +141,89 @@ This file contains a list of all deprecated components, properties, and features
|
|
|
117
141
|
### Deprecation Found
|
|
118
142
|
|
|
119
143
|
- deprecate(
|
|
120
|
-
- ../vue2/src/components/
|
|
121
|
-
- ../vue2/src/components/
|
|
122
|
-
- ../vue2/src/components/
|
|
123
|
-
- ../vue2/src/components/
|
|
124
|
-
- ../vue2/src/components/
|
|
144
|
+
- ../vue2/src/components/dropdown/dropdown.vue- BentoDropdown error property
|
|
145
|
+
- ../vue2/src/components/dropdown/dropdown.vue- `Use the BentoDropdown errorMessage property instead to indicate that there is a modifier error.
|
|
146
|
+
- ../vue2/src/components/dropdown/dropdown.vue- Having the field as undefined will hide/remove the error.
|
|
147
|
+
- ../vue2/src/components/dropdown/dropdown.vue- <bento-dropdown errorMessage=Error message text />`
|
|
148
|
+
- ../vue2/src/components/dropdown/dropdown.vue- 2.0.0
|
|
149
|
+
### Deprecation Found
|
|
150
|
+
|
|
151
|
+
- deprecate(BentoDropdown size property, `Do not use. Only default size should be used.`, 2.0.0);
|
|
152
|
+
- ../vue2/src/components/dropdown/dropdown.vue- }
|
|
153
|
+
- ../vue2/src/components/dropdown/dropdown.vue-
|
|
154
|
+
- ../vue2/src/components/dropdown/dropdown.vue- if (props.value) {
|
|
125
155
|
### Deprecation Found
|
|
126
156
|
|
|
127
157
|
- deprecate(
|
|
128
|
-
- ../vue2/src/components/
|
|
129
|
-
- ../vue2/src/components/
|
|
130
|
-
- ../vue2/src/components/
|
|
131
|
-
- ../vue2/src/components/
|
|
132
|
-
- ../vue2/src/components/
|
|
158
|
+
- ../vue2/src/components/dropdown/dropdown.vue- BentoDropdown value property
|
|
159
|
+
- ../vue2/src/components/dropdown/dropdown.vue- `The use of value prop in BentoDropdown is no longer supported.
|
|
160
|
+
- ../vue2/src/components/dropdown/dropdown.vue- Use the v-model or model-value property instead.`
|
|
161
|
+
- ../vue2/src/components/dropdown/dropdown.vue- 2.0.0
|
|
162
|
+
- ../vue2/src/components/dropdown/dropdown.vue- );
|
|
133
163
|
### Deprecation Found
|
|
134
164
|
|
|
135
165
|
- deprecate(
|
|
136
|
-
- ../vue2/src/components/
|
|
137
|
-
- ../vue2/src/components/
|
|
138
|
-
- ../vue2/src/components/
|
|
139
|
-
- ../vue2/src/components/
|
|
140
|
-
- ../vue2/src/components/
|
|
166
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- BentoDropdownPaymentMethod value property
|
|
167
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- `The use of value prop in BentoDropdownPaymentMethod is no longer supported.
|
|
168
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- Use the v-model or model-value property instead.`
|
|
169
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- 2.0.0
|
|
170
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- );
|
|
141
171
|
### Deprecation Found
|
|
142
172
|
|
|
143
173
|
- deprecate(
|
|
144
|
-
- ../vue2/src/components/
|
|
145
|
-
- ../vue2/src/components/
|
|
146
|
-
- ../vue2/src/components/
|
|
147
|
-
- ../vue2/src/components/
|
|
148
|
-
- ../vue2/src/components/
|
|
174
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- BentoDropdownAvatar value property
|
|
175
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- `The use of value prop in BentoDropdownAvatar is no longer supported.
|
|
176
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- Use the v-model or model-value property instead.`
|
|
177
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- 2.0.0
|
|
178
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- );
|
|
149
179
|
### Deprecation Found
|
|
150
180
|
|
|
151
181
|
- deprecate(
|
|
152
|
-
- ../vue2/src/components/
|
|
153
|
-
- ../vue2/src/components/
|
|
154
|
-
- ../vue2/src/components/
|
|
155
|
-
- ../vue2/src/components/
|
|
156
|
-
- ../vue2/src/components/
|
|
182
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- BentoDropdownTag value property
|
|
183
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- `The use of value prop in BentoDropdownTag is no longer supported.
|
|
184
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- Use the v-model or model-value property instead.`
|
|
185
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- 2.0.0
|
|
186
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- );
|
|
157
187
|
### Deprecation Found
|
|
158
188
|
|
|
159
189
|
- deprecate(
|
|
160
|
-
- ../vue2/src/components/
|
|
161
|
-
- ../vue2/src/components/
|
|
162
|
-
- ../vue2/src/components/
|
|
163
|
-
- ../vue2/src/components/
|
|
164
|
-
- ../vue2/src/components/
|
|
190
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- BentoDropdownCountry custom variant and items prop label key
|
|
191
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels
|
|
192
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- 2.0.0
|
|
193
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- );
|
|
194
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- }
|
|
165
195
|
### Deprecation Found
|
|
166
196
|
|
|
167
197
|
- deprecate(
|
|
168
|
-
- ../vue2/src/components/
|
|
169
|
-
- ../vue2/src/components/
|
|
170
|
-
- ../vue2/src/components/
|
|
171
|
-
-
|
|
172
|
-
- ../vue2/src/components/
|
|
198
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- BentoDropdownCountry value property
|
|
199
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- `The use of value prop in BentoDropdownCountry is no longer supported.
|
|
200
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- Use the v-model or model-value property instead.`
|
|
201
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- 2.0.0
|
|
202
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- );
|
|
173
203
|
### Deprecation Found
|
|
174
204
|
|
|
175
205
|
- deprecate(
|
|
176
|
-
-
|
|
177
|
-
- ../vue2/src/components/
|
|
178
|
-
-
|
|
179
|
-
- ../vue2/src/components/
|
|
180
|
-
- ../vue2/src/components/
|
|
206
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- BentoDropdownCurrency value property
|
|
207
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- `The use of value prop in BentoDropdownCurrency is no longer supported.
|
|
208
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- Use the v-model or model-value property instead.`
|
|
209
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- 2.0.0
|
|
210
|
+
- ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- );
|
|
211
|
+
### Deprecation Found
|
|
212
|
+
|
|
213
|
+
- deprecate(
|
|
214
|
+
- string | Array<string> | File | Array<File>
|
|
215
|
+
- ../vue2/src/components/file-uploader/file-uploader.vue- Use FileList instead.
|
|
216
|
+
- ../vue2/src/components/file-uploader/file-uploader.vue- 2.0.0
|
|
217
|
+
- ../vue2/src/components/file-uploader/file-uploader.vue- );
|
|
218
|
+
- ../vue2/src/components/file-uploader/file-uploader.vue- }
|
|
219
|
+
### Deprecation Found
|
|
220
|
+
|
|
221
|
+
- deprecate(
|
|
222
|
+
- ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- BentoTimelineItem variant property
|
|
223
|
+
- ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- `Use the BentoTimelineItem status modifier instead to modify the color of the timeline icon.
|
|
224
|
+
- ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- <bento-timeline-item status=red />`
|
|
225
|
+
- ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- 2.0.0
|
|
226
|
+
- ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- );
|
|
181
227
|
### Deprecation Found
|
|
182
228
|
|
|
183
229
|
- deprecate(
|
|
@@ -204,30 +250,6 @@ This file contains a list of all deprecated components, properties, and features
|
|
|
204
250
|
- ../vue2/src/components/input-field/input-field.vue- );
|
|
205
251
|
### Deprecation Found
|
|
206
252
|
|
|
207
|
-
- deprecate(
|
|
208
|
-
- ../vue2/src/components/radio-group/radio-group.vue- BentoRadioGroup hasError property
|
|
209
|
-
- ../vue2/src/components/radio-group/radio-group.vue- `Use the BentoRadioGroup errorMessage property instead to indicate that there is a modifier error.
|
|
210
|
-
- ../vue2/src/components/radio-group/radio-group.vue- Having the field as undefined will hide/remove the error.
|
|
211
|
-
- ../vue2/src/components/radio-group/radio-group.vue- <bento-radio-group errorMessage=Error message text />`
|
|
212
|
-
- ../vue2/src/components/radio-group/radio-group.vue- 2.0.0
|
|
213
|
-
### Deprecation Found
|
|
214
|
-
|
|
215
|
-
- deprecate(
|
|
216
|
-
- string | Array<string> | File | Array<File>
|
|
217
|
-
- ../vue2/src/components/file-uploader/file-uploader.vue- Use FileList instead.
|
|
218
|
-
- ../vue2/src/components/file-uploader/file-uploader.vue- 2.0.0
|
|
219
|
-
- ../vue2/src/components/file-uploader/file-uploader.vue- );
|
|
220
|
-
- ../vue2/src/components/file-uploader/file-uploader.vue- }
|
|
221
|
-
### Deprecation Found
|
|
222
|
-
|
|
223
|
-
- deprecate(
|
|
224
|
-
- ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible property’s behavior
|
|
225
|
-
- ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible will no longer hide the close button. Use hideCloseButton=true instead.
|
|
226
|
-
- ../vue2/src/components/sidepanel/sidepanel.vue- 2.0.0
|
|
227
|
-
- ../vue2/src/components/sidepanel/sidepanel.vue- );
|
|
228
|
-
- ../vue2/src/components/sidepanel/sidepanel.vue- }
|
|
229
|
-
### Deprecation Found
|
|
230
|
-
|
|
231
253
|
- deprecate(
|
|
232
254
|
- ../vue2/src/components/inspector/inspector.vue- BentoInspector active-page as optional
|
|
233
255
|
- active-page.
|
|
@@ -237,94 +259,72 @@ This file contains a list of all deprecated components, properties, and features
|
|
|
237
259
|
### Deprecation Found
|
|
238
260
|
|
|
239
261
|
- deprecate(
|
|
240
|
-
- ../vue2/src/components/
|
|
241
|
-
- ../vue2/src/components/
|
|
242
|
-
- ../vue2/src/components/
|
|
243
|
-
- ../vue2/src/components/
|
|
244
|
-
- ../vue2/src/components/
|
|
245
|
-
### Deprecation Found
|
|
246
|
-
|
|
247
|
-
- deprecate(
|
|
248
|
-
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- BentoDropdownTag value property
|
|
249
|
-
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- `The use of value prop in BentoDropdownTag is no longer supported.
|
|
250
|
-
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- Use the v-model or model-value property instead.`
|
|
251
|
-
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- 2.0.0
|
|
252
|
-
- ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- );
|
|
262
|
+
- ../vue2/src/components/textarea/textarea.vue- BentoTextarea value property
|
|
263
|
+
- ../vue2/src/components/textarea/textarea.vue- `The use of value prop in BentoTextarea is no longer supported.
|
|
264
|
+
- ../vue2/src/components/textarea/textarea.vue- Use the v-model or model-value property instead.`
|
|
265
|
+
- ../vue2/src/components/textarea/textarea.vue- 2.0.0
|
|
266
|
+
- ../vue2/src/components/textarea/textarea.vue- );
|
|
253
267
|
### Deprecation Found
|
|
254
268
|
|
|
255
269
|
- deprecate(
|
|
256
|
-
- ../vue2/src/components/
|
|
257
|
-
- ../vue2/src/components/
|
|
258
|
-
- ../vue2/src/components/
|
|
259
|
-
- ../vue2/src/components/
|
|
260
|
-
- ../vue2/src/components/
|
|
270
|
+
- ../vue2/src/components/country/country.vue- BentoCountry custom variant and label prop
|
|
271
|
+
- ../vue2/src/components/country/country.vue- Use any of the other BentoCountry variants instead OR BentoTypography component for custom text
|
|
272
|
+
- ../vue2/src/components/country/country.vue- 2.0.0
|
|
273
|
+
- ../vue2/src/components/country/country.vue- );
|
|
274
|
+
- ../vue2/src/components/country/country.vue- }
|
|
261
275
|
### Deprecation Found
|
|
262
276
|
|
|
263
277
|
- deprecate(
|
|
264
|
-
- ../vue2/src/components/
|
|
265
|
-
- ../vue2/src/components/
|
|
266
|
-
- ../vue2/src/components/
|
|
267
|
-
- ../vue2/src/components/
|
|
268
|
-
- ../vue2/src/components/
|
|
278
|
+
- ../vue2/src/components/radio-group/radio-group.vue- BentoRadioGroup hasError property
|
|
279
|
+
- ../vue2/src/components/radio-group/radio-group.vue- `Use the BentoRadioGroup errorMessage property instead to indicate that there is a modifier error.
|
|
280
|
+
- ../vue2/src/components/radio-group/radio-group.vue- Having the field as undefined will hide/remove the error.
|
|
281
|
+
- ../vue2/src/components/radio-group/radio-group.vue- <bento-radio-group errorMessage=Error message text />`
|
|
282
|
+
- ../vue2/src/components/radio-group/radio-group.vue- 2.0.0
|
|
269
283
|
### Deprecation Found
|
|
270
284
|
|
|
271
285
|
- deprecate(
|
|
272
|
-
- ../vue2/src/components/
|
|
273
|
-
- ../vue2/src/components/
|
|
274
|
-
- ../vue2/src/components/
|
|
275
|
-
-
|
|
276
|
-
- ../vue2/src/components/
|
|
286
|
+
- ../vue2/src/components/currency/currency.vue- BentoCurrency default slot
|
|
287
|
+
- ../vue2/src/components/currency/currency.vue- `The use of default slot in BentoCurrency is no longer supported as it causes issues with dynamic content.
|
|
288
|
+
- ../vue2/src/components/currency/currency.vue- Use the value property instead.
|
|
289
|
+
- value=12345.67 currency=USD major-units=false />`
|
|
290
|
+
- ../vue2/src/components/currency/currency.vue- 2.0.0
|
|
277
291
|
### Deprecation Found
|
|
278
292
|
|
|
279
293
|
- deprecate(
|
|
280
|
-
-
|
|
281
|
-
- ../vue2/src/components/
|
|
282
|
-
-
|
|
283
|
-
- ../vue2/src/components/
|
|
284
|
-
- ../vue2/src/components/
|
|
294
|
+
- The property \`label\` will always be rendered by default.`
|
|
295
|
+
- ../vue2/src/components/internal/controls-group/controls-group.vue- `After version 2.0.0, the label will be shown by default.
|
|
296
|
+
- hide-label=true\`. Up until version 2.0.0, to display the label set \`hide-label=false\`.
|
|
297
|
+
- ../vue2/src/components/internal/controls-group/controls-group.vue- \`label\` will always be rendered when \`description\` is passed alongside with \`label\``
|
|
298
|
+
- ../vue2/src/components/internal/controls-group/controls-group.vue- `2.0.0`
|
|
285
299
|
### Deprecation Found
|
|
286
300
|
|
|
287
301
|
- deprecate(
|
|
288
|
-
- ../vue2/src/components/
|
|
289
|
-
- ../vue2/src/components/
|
|
290
|
-
- ../vue2/src/components/
|
|
291
|
-
- ../vue2/src/components/
|
|
292
|
-
- ../vue2/src/components/
|
|
293
|
-
### Deprecation Found
|
|
294
|
-
|
|
295
|
-
- deprecate(BentoDropdown size property, `Do not use. Only default size should be used.`, 2.0.0);
|
|
296
|
-
- ../vue2/src/components/dropdown/dropdown.vue- }
|
|
297
|
-
- ../vue2/src/components/dropdown/dropdown.vue-
|
|
298
|
-
- ../vue2/src/components/dropdown/dropdown.vue- if (props.value) {
|
|
302
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- BentoDateRangePicker hasActions property
|
|
303
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- `Set the BentoDateRangePicker hasActions property true which will display the Apply and Cancel buttons.
|
|
304
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- This will be the default behavior in the v2 and hasActions will be removed.`
|
|
305
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- 2.0.0
|
|
306
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- );
|
|
299
307
|
### Deprecation Found
|
|
300
308
|
|
|
301
309
|
- deprecate(
|
|
302
|
-
- ../vue2/src/components/
|
|
303
|
-
- ../vue2/src/components/
|
|
304
|
-
- ../vue2/src/components/
|
|
305
|
-
- ../vue2/src/components/
|
|
306
|
-
- ../vue2/src/components/
|
|
310
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- BentoDateRangePicker value property
|
|
311
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- The use of value prop in BentoDateRangePicker is no longer supported. Use the v-model or model-value property instead.
|
|
312
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- 2.0.0
|
|
313
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- );
|
|
314
|
+
- ../vue2/src/components/date-range-picker/date-range-picker.vue- }
|
|
307
315
|
### Deprecation Found
|
|
308
316
|
|
|
309
317
|
- deprecate(
|
|
310
|
-
- ../vue2/src/components/
|
|
311
|
-
- ../vue2/src/components/
|
|
312
|
-
- ../vue2/src/components/
|
|
313
|
-
- ../vue2/src/components/
|
|
314
|
-
- ../vue2/src/components/
|
|
318
|
+
- ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- BentoCheckboxGroup hasError property
|
|
319
|
+
- ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- `Use the BentoCheckboxGroup errorMessage property instead to indicate that there is a modifier error.
|
|
320
|
+
- ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- Having the field as undefined will hide/remove the error.
|
|
321
|
+
- ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- <bento-checkbox-group errorMessage=Error message text />`
|
|
322
|
+
- ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- 2.0.0
|
|
315
323
|
### Deprecation Found
|
|
316
324
|
|
|
317
325
|
- deprecate(
|
|
318
|
-
- ../vue2/src/
|
|
319
|
-
-
|
|
320
|
-
- ../vue2/src/
|
|
321
|
-
- ../vue2/src/
|
|
322
|
-
- ../vue2/src/
|
|
323
|
-
### Deprecation Found
|
|
324
|
-
|
|
325
|
-
- deprecate(Using `BentoTheme.BENTO`, Please use `BentoTheme.BENTO_LIGHT` instead, 2.0.0);
|
|
326
|
-
- ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
|
|
327
|
-
- ../vue2/src/install.ts- } else {
|
|
328
|
-
- ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
|
|
329
|
-
- ../vue2/src/install.ts- }
|
|
330
|
-
- ../vue2/src/install.ts- }
|
|
326
|
+
- ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible property’s behavior
|
|
327
|
+
- ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible will no longer hide the close button. Use hideCloseButton=true instead.
|
|
328
|
+
- ../vue2/src/components/sidepanel/sidepanel.vue- 2.0.0
|
|
329
|
+
- ../vue2/src/components/sidepanel/sidepanel.vue- );
|
|
330
|
+
- ../vue2/src/components/sidepanel/sidepanel.vue- }
|