@vc-shell/vc-app-skill 2.0.0-alpha.33 → 2.0.0-alpha.33-pr220.455e322
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 +52 -55
- package/README.md +18 -12
- package/package.json +4 -4
- package/runtime/agents/api-analyzer.md +31 -16
- package/runtime/agents/blade-enhancer.md +15 -9
- package/runtime/agents/details-blade-generator.md +47 -31
- package/runtime/agents/list-blade-generator.md +21 -37
- package/runtime/agents/locales-generator.md +3 -0
- package/runtime/agents/migration-agent.md +18 -7
- package/runtime/agents/module-analyzer.md +2 -0
- package/runtime/agents/module-assembler.md +15 -0
- package/runtime/agents/promote-agent.md +15 -4
- package/runtime/agents/type-checker.md +11 -0
- package/runtime/knowledge/docs/core/api/platform.docs.md +30 -30
- package/runtime/knowledge/docs/core/blade-navigation/blade-nav-composables.docs.md +41 -41
- package/runtime/knowledge/docs/core/composables/bladeContext/index.docs.md +12 -10
- package/runtime/knowledge/docs/core/composables/useApiClient/useApiClient.docs.md +11 -14
- package/runtime/knowledge/docs/core/composables/useAppBarMobileButtons/useAppBarMobileButtons.docs.md +35 -35
- package/runtime/knowledge/docs/core/composables/useAppBarWidget/useAppBarWidget.docs.md +35 -35
- package/runtime/knowledge/docs/core/composables/useAppInsights/useAppInsights.docs.md +15 -15
- package/runtime/knowledge/docs/core/composables/useAssets/useAssets.docs.md +21 -18
- package/runtime/knowledge/docs/core/composables/useAssetsManager/useAssetsManager.docs.md +31 -27
- package/runtime/knowledge/docs/core/composables/useAsync/useAsync.docs.md +90 -61
- package/runtime/knowledge/docs/core/composables/useBeforeUnload/useBeforeUnload.docs.md +19 -18
- package/runtime/knowledge/docs/core/composables/useBlade/useBlade.docs.md +89 -68
- package/runtime/knowledge/docs/core/composables/useBladeForm/useBladeForm.docs.md +27 -25
- package/runtime/knowledge/docs/core/composables/useBladeRegistry/useBladeRegistry.docs.md +15 -15
- package/runtime/knowledge/docs/core/composables/useBladeWidgets/index.docs.md +74 -78
- package/runtime/knowledge/docs/core/composables/useBreadcrumbs/useBreadcrumbs.docs.md +11 -11
- package/runtime/knowledge/docs/core/composables/useConnectionStatus/useConnectionStatus.docs.md +27 -15
- package/runtime/knowledge/docs/core/composables/useDashboard/useDashboard.docs.md +30 -30
- package/runtime/knowledge/docs/core/composables/useDynamicProperties/useDynamicProperties.docs.md +34 -36
- package/runtime/knowledge/docs/core/composables/useErrorHandler/useErrorHandler.docs.md +44 -23
- package/runtime/knowledge/docs/core/composables/useFunctions/useFunctions.docs.md +14 -11
- package/runtime/knowledge/docs/core/composables/useKeyboardNavigation/useKeyboardNavigation.docs.md +47 -38
- package/runtime/knowledge/docs/core/composables/useLanguages/useLanguages.docs.md +37 -28
- package/runtime/knowledge/docs/core/composables/useLoading/useLoading.docs.md +23 -17
- package/runtime/knowledge/docs/core/composables/useMenuExpanded/index.docs.md +10 -10
- package/runtime/knowledge/docs/core/composables/useMenuService/useMenuService.docs.md +42 -42
- package/runtime/knowledge/docs/core/composables/useModificationTracker/useModificationTracker.docs.md +22 -12
- package/runtime/knowledge/docs/core/composables/useNotifications/useNotifications.docs.md +33 -41
- package/runtime/knowledge/docs/core/composables/usePermissions/usePermissions.docs.md +16 -16
- package/runtime/knowledge/docs/core/composables/usePopup/usePopup.docs.md +32 -24
- package/runtime/knowledge/docs/core/composables/useResponsive/useResponsive.docs.md +32 -11
- package/runtime/knowledge/docs/core/composables/useSettings/useSettings.docs.md +24 -15
- package/runtime/knowledge/docs/core/composables/useSettingsMenu/useSettingsMenu.docs.md +7 -7
- package/runtime/knowledge/docs/core/composables/useSidebarState/useSidebarState.docs.md +32 -24
- package/runtime/knowledge/docs/core/composables/useSlowNetworkDetection/useSlowNetworkDetection.docs.md +21 -17
- package/runtime/knowledge/docs/core/composables/useTheme/useTheme.docs.md +24 -24
- package/runtime/knowledge/docs/core/composables/useToolbar/useToolbar.docs.md +28 -31
- package/runtime/knowledge/docs/core/composables/useUser/useUser.docs.md +43 -24
- package/runtime/knowledge/docs/core/composables/useUserManagement/useUserManagement.docs.md +68 -48
- package/runtime/knowledge/docs/core/composables/useWebVitals/useWebVitals.docs.md +19 -19
- package/runtime/knowledge/docs/core/composables/useWidgets/useWidgets.docs.md +42 -47
- package/runtime/knowledge/docs/core/directives/autofocus/autofocus.docs.md +10 -4
- package/runtime/knowledge/docs/core/directives/loading/loading.docs.md +35 -20
- package/runtime/knowledge/docs/core/notifications/notifications.docs.md +36 -35
- package/runtime/knowledge/docs/core/plugins/ai-agent/ai-agent.docs.md +38 -38
- package/runtime/knowledge/docs/core/plugins/extension-points/extension-points.docs.md +107 -91
- package/runtime/knowledge/docs/core/plugins/global-error-handler/global-error-handler.docs.md +10 -10
- package/runtime/knowledge/docs/core/plugins/i18n/i18n.docs.md +21 -23
- package/runtime/knowledge/docs/core/plugins/modularity/modularity.docs.md +98 -90
- package/runtime/knowledge/docs/core/plugins/permissions/permissions.docs.md +10 -16
- package/runtime/knowledge/docs/core/plugins/signalR/signalR.docs.md +9 -9
- package/runtime/knowledge/docs/core/plugins/validation/validation.docs.md +65 -22
- package/runtime/knowledge/docs/core/services/services.docs.md +19 -22
- package/runtime/knowledge/docs/core/types/types.docs.md +40 -40
- package/runtime/knowledge/docs/core/utilities/date/date-utilities.docs.md +27 -27
- package/runtime/knowledge/docs/core/utilities/shared-utilities.docs.md +23 -23
- package/runtime/knowledge/docs/core/utilities/thumbnail/thumbnail.docs.md +22 -25
- package/runtime/knowledge/docs/core/utilities/utilities.docs.md +64 -64
- package/runtime/knowledge/docs/injection-keys.docs.md +52 -51
- package/runtime/knowledge/docs/modules/assets-manager/assets-manager.docs.md +9 -9
- package/runtime/knowledge/docs/shell/_internal/popup/common/popup-common.docs.md +23 -43
- package/runtime/knowledge/docs/shell/auth/ChangePasswordPage/change-password-page.docs.md +5 -5
- package/runtime/knowledge/docs/shell/auth/ForgotPasswordPage/forgot-password-page.docs.md +5 -5
- package/runtime/knowledge/docs/shell/auth/InvitePage/invite-page.docs.md +8 -7
- package/runtime/knowledge/docs/shell/auth/LoginPage/login-page.docs.md +7 -7
- package/runtime/knowledge/docs/shell/auth/ResetPasswordPage/reset-password-page.docs.md +8 -7
- package/runtime/knowledge/docs/shell/auth/sign-in/sign-in.docs.md +29 -13
- package/runtime/knowledge/docs/shell/components/change-password/change-password.docs.md +13 -16
- package/runtime/knowledge/docs/shell/components/change-password-button/change-password-button.docs.md +1 -7
- package/runtime/knowledge/docs/shell/components/error-interceptor/error-interceptor.docs.md +5 -5
- package/runtime/knowledge/docs/shell/components/language-selector/language-selector.docs.md +1 -1
- package/runtime/knowledge/docs/shell/components/logout-button/logout-button.docs.md +1 -1
- package/runtime/knowledge/docs/shell/components/notification-template/notification-template.docs.md +17 -9
- package/runtime/knowledge/docs/shell/components/settings-menu/settings-menu.docs.md +12 -18
- package/runtime/knowledge/docs/shell/components/settings-menu-item/settings-menu-item.docs.md +34 -65
- package/runtime/knowledge/docs/shell/components/sidebar/sidebar.docs.md +16 -26
- package/runtime/knowledge/docs/shell/components/theme-selector/theme-selector.docs.md +2 -2
- package/runtime/knowledge/docs/shell/components/user-dropdown-button/user-dropdown-button.docs.md +7 -9
- package/runtime/knowledge/docs/shell/dashboard/dashboard-charts/dashboard-charts.docs.md +30 -40
- package/runtime/knowledge/docs/shell/dashboard/dashboard-widget-card/dashboard-widget-card.docs.md +26 -19
- package/runtime/knowledge/docs/shell/dashboard/draggable-dashboard/draggable-dashboard.docs.md +15 -12
- package/runtime/knowledge/docs/ui/components/atoms/vc-badge/vc-badge.docs.md +15 -26
- package/runtime/knowledge/docs/ui/components/atoms/vc-banner/vc-banner.docs.md +21 -19
- package/runtime/knowledge/docs/ui/components/atoms/vc-button/vc-button.docs.md +83 -67
- package/runtime/knowledge/docs/ui/components/atoms/vc-card/vc-card.docs.md +100 -59
- package/runtime/knowledge/docs/ui/components/atoms/vc-col/vc-col.docs.md +28 -11
- package/runtime/knowledge/docs/ui/components/atoms/vc-container/vc-container.docs.md +20 -17
- package/runtime/knowledge/docs/ui/components/atoms/vc-hint/vc-hint.docs.md +26 -17
- package/runtime/knowledge/docs/ui/components/atoms/vc-icon/vc-icon.docs.md +30 -32
- package/runtime/knowledge/docs/ui/components/atoms/vc-image/vc-image.docs.md +25 -48
- package/runtime/knowledge/docs/ui/components/atoms/vc-label/vc-label.docs.md +29 -24
- package/runtime/knowledge/docs/ui/components/atoms/vc-link/vc-link.docs.md +23 -15
- package/runtime/knowledge/docs/ui/components/atoms/vc-loading/vc-loading.docs.md +22 -13
- package/runtime/knowledge/docs/ui/components/atoms/vc-progress/vc-progress.docs.md +33 -18
- package/runtime/knowledge/docs/ui/components/atoms/vc-row/vc-row.docs.md +56 -15
- package/runtime/knowledge/docs/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.docs.md +28 -15
- package/runtime/knowledge/docs/ui/components/atoms/vc-skeleton/vc-skeleton.docs.md +40 -20
- package/runtime/knowledge/docs/ui/components/atoms/vc-status/vc-status.docs.md +25 -14
- package/runtime/knowledge/docs/ui/components/atoms/vc-status-icon/vc-status-icon.docs.md +40 -14
- package/runtime/knowledge/docs/ui/components/atoms/vc-tooltip/vc-tooltip.docs.md +54 -42
- package/runtime/knowledge/docs/ui/components/atoms/vc-video/vc-video.docs.md +17 -17
- package/runtime/knowledge/docs/ui/components/atoms/vc-widget/vc-widget.docs.md +21 -21
- package/runtime/knowledge/docs/ui/components/molecules/multilanguage-selector/multilanguage-selector.docs.md +23 -10
- package/runtime/knowledge/docs/ui/components/molecules/vc-accordion/vc-accordion.docs.md +55 -44
- package/runtime/knowledge/docs/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.docs.md +23 -20
- package/runtime/knowledge/docs/ui/components/molecules/vc-checkbox/vc-checkbox.docs.md +92 -65
- package/runtime/knowledge/docs/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.docs.md +22 -36
- package/runtime/knowledge/docs/ui/components/molecules/vc-color-input/vc-color-input.docs.md +65 -23
- package/runtime/knowledge/docs/ui/components/molecules/vc-date-picker/vc-date-picker.docs.md +52 -73
- package/runtime/knowledge/docs/ui/components/molecules/vc-dropdown/vc-dropdown.docs.md +91 -85
- package/runtime/knowledge/docs/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.docs.md +38 -42
- package/runtime/knowledge/docs/ui/components/molecules/vc-editor/vc-editor.docs.md +56 -73
- package/runtime/knowledge/docs/ui/components/molecules/vc-field/vc-field.docs.md +61 -27
- package/runtime/knowledge/docs/ui/components/molecules/vc-file-upload/vc-file-upload.docs.md +42 -50
- package/runtime/knowledge/docs/ui/components/molecules/vc-form/vc-form.docs.md +35 -64
- package/runtime/knowledge/docs/ui/components/molecules/vc-image-tile/vc-image-tile.docs.md +38 -41
- package/runtime/knowledge/docs/ui/components/molecules/vc-input/vc-input.docs.md +109 -131
- package/runtime/knowledge/docs/ui/components/molecules/vc-input-currency/vc-input-currency.docs.md +47 -88
- package/runtime/knowledge/docs/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.docs.md +50 -64
- package/runtime/knowledge/docs/ui/components/molecules/vc-input-group/vc-input-group.docs.md +29 -24
- package/runtime/knowledge/docs/ui/components/molecules/vc-menu/vc-menu.docs.md +32 -28
- package/runtime/knowledge/docs/ui/components/molecules/vc-multivalue/vc-multivalue.docs.md +57 -65
- package/runtime/knowledge/docs/ui/components/molecules/vc-pagination/vc-pagination.docs.md +28 -26
- package/runtime/knowledge/docs/ui/components/molecules/vc-radio-button/vc-radio-button.docs.md +55 -20
- package/runtime/knowledge/docs/ui/components/molecules/vc-radio-group/vc-radio-group.docs.md +21 -35
- package/runtime/knowledge/docs/ui/components/molecules/vc-rating/vc-rating.docs.md +38 -33
- package/runtime/knowledge/docs/ui/components/molecules/vc-select/vc-select.docs.md +72 -83
- package/runtime/knowledge/docs/ui/components/molecules/vc-slider/vc-slider.docs.md +21 -16
- package/runtime/knowledge/docs/ui/components/molecules/vc-switch/vc-switch.docs.md +55 -64
- package/runtime/knowledge/docs/ui/components/molecules/vc-textarea/vc-textarea.docs.md +51 -70
- package/runtime/knowledge/docs/ui/components/molecules/vc-toast/vc-toast.docs.md +58 -57
- package/runtime/knowledge/docs/ui/components/organisms/vc-app/vc-app.docs.md +49 -26
- package/runtime/knowledge/docs/ui/components/organisms/vc-auth-layout/vc-auth-layout.docs.md +82 -28
- package/runtime/knowledge/docs/ui/components/organisms/vc-blade/vc-blade.docs.md +90 -75
- package/runtime/knowledge/docs/ui/components/organisms/vc-data-table/composables/table-composables.docs.md +30 -44
- package/runtime/knowledge/docs/ui/components/organisms/vc-data-table/vc-data-table.docs.md +512 -369
- package/runtime/knowledge/docs/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.docs.md +35 -52
- package/runtime/knowledge/docs/ui/components/organisms/vc-gallery/vc-gallery.docs.md +33 -62
- package/runtime/knowledge/docs/ui/components/organisms/vc-image-upload/vc-image-upload.docs.md +17 -23
- package/runtime/knowledge/docs/ui/components/organisms/vc-popup/vc-popup.docs.md +109 -68
- package/runtime/knowledge/docs/ui/components/organisms/vc-sidebar/vc-sidebar.docs.md +82 -44
- package/runtime/knowledge/docs/ui/composables/ui-composables.docs.md +8 -8
- package/runtime/knowledge/docs/ui/composables/useDataTablePagination.docs.md +164 -0
- package/runtime/knowledge/docs/ui/composables/useDataTableSort.docs.md +34 -26
- package/runtime/knowledge/docs/ui/composables/useTableSelection.docs.md +48 -40
- package/runtime/knowledge/docs/ui/composables/useTableSort.docs.md +30 -17
- package/runtime/knowledge/docs/ui/types/ui-types.docs.md +40 -29
- package/runtime/knowledge/examples/offers-module.md +15 -13
- package/runtime/knowledge/examples/team-module.md +82 -119
- package/runtime/knowledge/examples/videos-module.md +44 -17
- package/runtime/knowledge/index.md +22 -0
- package/runtime/knowledge/migration-prompts/blade-form-migration.md +17 -8
- package/runtime/knowledge/migration-prompts/blade-props-migration.md +1 -2
- package/runtime/knowledge/migration-prompts/datatable-migration.md +801 -0
- package/runtime/knowledge/migration-prompts/icon-migration.md +97 -0
- package/runtime/knowledge/migration-prompts/manual-migration-audit.md +117 -0
- package/runtime/knowledge/migration-prompts/notifications-migration.md +8 -3
- package/runtime/knowledge/migration-prompts/nswag-migration.md +25 -29
- package/runtime/knowledge/migration-prompts/use-assets-migration.md +164 -0
- package/runtime/knowledge/migration-prompts/use-data-table-pagination-migration.md +176 -0
- package/runtime/knowledge/migration-prompts/widgets-migration.md +48 -27
- package/runtime/knowledge/patterns/assets-management.md +20 -20
- package/runtime/knowledge/patterns/blade-navigation.md +7 -14
- package/runtime/knowledge/patterns/blade-widget.md +19 -17
- package/runtime/knowledge/patterns/child-blade-flow.md +19 -7
- package/runtime/knowledge/patterns/composable-details.md +20 -50
- package/runtime/knowledge/patterns/composable-list.md +43 -31
- package/runtime/knowledge/patterns/dashboard-widget.md +14 -16
- package/runtime/knowledge/patterns/datatable-pattern.md +521 -0
- package/runtime/knowledge/patterns/details-blade-pattern.md +78 -116
- package/runtime/knowledge/patterns/extension-points-usage.md +53 -44
- package/runtime/knowledge/patterns/form-validation.md +28 -64
- package/runtime/knowledge/patterns/list-blade-pattern.md +33 -21
- package/runtime/knowledge/patterns/module-structure.md +7 -1
- package/runtime/knowledge/patterns/multilanguage-fields.md +8 -14
- package/runtime/knowledge/patterns/notification-template.md +21 -14
- package/runtime/knowledge/patterns/signalr-notifications.md +30 -32
- package/runtime/knowledge/patterns/toolbar-pattern.md +18 -20
- package/runtime/vc-app.md +241 -62
|
@@ -7,7 +7,11 @@ A floating tooltip that appears on hover or focus to provide contextual informat
|
|
|
7
7
|
```vue
|
|
8
8
|
<template>
|
|
9
9
|
<VcTooltip>
|
|
10
|
-
<VcButton
|
|
10
|
+
<VcButton
|
|
11
|
+
size="icon"
|
|
12
|
+
icon="lucide-trash-2"
|
|
13
|
+
aria-label="Delete"
|
|
14
|
+
/>
|
|
11
15
|
<template #tooltip>Delete selected items</template>
|
|
12
16
|
</VcTooltip>
|
|
13
17
|
</template>
|
|
@@ -32,12 +36,12 @@ VcTooltip supports 12 placement positions relative to the trigger element. The t
|
|
|
32
36
|
|
|
33
37
|
### All placement options
|
|
34
38
|
|
|
35
|
-
| Primary
|
|
36
|
-
|
|
37
|
-
| `top`
|
|
39
|
+
| Primary | Start Variant | End Variant |
|
|
40
|
+
| -------- | -------------- | ------------ |
|
|
41
|
+
| `top` | `top-start` | `top-end` |
|
|
38
42
|
| `bottom` | `bottom-start` | `bottom-end` |
|
|
39
|
-
| `left`
|
|
40
|
-
| `right`
|
|
43
|
+
| `left` | `left-start` | `left-end` |
|
|
44
|
+
| `right` | `right-start` | `right-end` |
|
|
41
45
|
|
|
42
46
|
The `start` and `end` variants align the tooltip to the beginning or end of the trigger element along the cross axis:
|
|
43
47
|
|
|
@@ -70,11 +74,11 @@ Three visual themes control the tooltip's appearance.
|
|
|
70
74
|
</VcTooltip>
|
|
71
75
|
```
|
|
72
76
|
|
|
73
|
-
| Variant
|
|
74
|
-
|
|
75
|
-
| `default` | `var(--additional-50)` (light) | `var(--neutrals-700)`
|
|
76
|
-
| `dark`
|
|
77
|
-
| `info`
|
|
77
|
+
| Variant | Background | Text Color | Use Case |
|
|
78
|
+
| --------- | ------------------------------ | ------------------------------ | ------------------------------------- |
|
|
79
|
+
| `default` | `var(--additional-50)` (light) | `var(--neutrals-700)` | General-purpose tooltips |
|
|
80
|
+
| `dark` | `var(--neutrals-800)` | `var(--additional-50)` (white) | High-contrast tooltips, dark UI areas |
|
|
81
|
+
| `info` | `var(--primary-600)` | `var(--additional-50)` (white) | Branded or informational tooltips |
|
|
78
82
|
|
|
79
83
|
## Delayed Display
|
|
80
84
|
|
|
@@ -115,10 +119,10 @@ Control the distance between the trigger and the tooltip:
|
|
|
115
119
|
<VcTooltip :offset="{ mainAxis: 8, crossAxis: 10 }">...</VcTooltip>
|
|
116
120
|
```
|
|
117
121
|
|
|
118
|
-
| Axis
|
|
119
|
-
|
|
120
|
-
| `mainAxis`
|
|
121
|
-
| `crossAxis` | Along the trigger edge (parallel to placement edge)
|
|
122
|
+
| Axis | Direction | Default |
|
|
123
|
+
| ----------- | ------------------------------------------------------- | ------- |
|
|
124
|
+
| `mainAxis` | Away from the trigger (perpendicular to placement edge) | `8` |
|
|
125
|
+
| `crossAxis` | Along the trigger edge (parallel to placement edge) | `0` |
|
|
122
126
|
|
|
123
127
|
## Width Control
|
|
124
128
|
|
|
@@ -177,7 +181,12 @@ The `#tooltip` slot accepts any HTML or Vue components, not just text:
|
|
|
177
181
|
```vue
|
|
178
182
|
<template>
|
|
179
183
|
<div class="tw-flex tw-gap-1">
|
|
180
|
-
<VcTooltip
|
|
184
|
+
<VcTooltip
|
|
185
|
+
v-for="action in actions"
|
|
186
|
+
:key="action.id"
|
|
187
|
+
placement="top"
|
|
188
|
+
variant="dark"
|
|
189
|
+
>
|
|
181
190
|
<VcButton
|
|
182
191
|
variant="ghost"
|
|
183
192
|
size="icon"
|
|
@@ -203,7 +212,10 @@ const actions = [
|
|
|
203
212
|
|
|
204
213
|
```vue
|
|
205
214
|
<template>
|
|
206
|
-
<VcTooltip
|
|
215
|
+
<VcTooltip
|
|
216
|
+
placement="top"
|
|
217
|
+
:max-width="400"
|
|
218
|
+
>
|
|
207
219
|
<span class="tw-truncate tw-max-w-[200px] tw-block">
|
|
208
220
|
{{ longProductName }}
|
|
209
221
|
</span>
|
|
@@ -270,38 +282,38 @@ const actions = [
|
|
|
270
282
|
|
|
271
283
|
## Props
|
|
272
284
|
|
|
273
|
-
| Prop
|
|
274
|
-
|
|
275
|
-
| `placement` | `TooltipPlacement`
|
|
276
|
-
| `variant`
|
|
277
|
-
| `arrow`
|
|
278
|
-
| `delay`
|
|
279
|
-
| `maxWidth`
|
|
280
|
-
| `offset`
|
|
281
|
-
| `disabled`
|
|
285
|
+
| Prop | Type | Default | Description |
|
|
286
|
+
| ----------- | ------------------------------------------- | ----------------- | ----------------------------------------------- |
|
|
287
|
+
| `placement` | `TooltipPlacement` | `"bottom"` | Position relative to the trigger (12 options) |
|
|
288
|
+
| `variant` | `"default" \| "dark" \| "info"` | `"default"` | Visual theme |
|
|
289
|
+
| `arrow` | `boolean` | `true` | Show directional arrow pointing at the trigger |
|
|
290
|
+
| `delay` | `number` | `0` | Milliseconds to wait before showing |
|
|
291
|
+
| `maxWidth` | `number \| string` | `240` | Maximum width (number = px, string = CSS value) |
|
|
292
|
+
| `offset` | `{ mainAxis?: number; crossAxis?: number }` | `{ mainAxis: 8 }` | Distance from the trigger element |
|
|
293
|
+
| `disabled` | `boolean` | `false` | Suppress the tooltip entirely |
|
|
282
294
|
|
|
283
295
|
## Slots
|
|
284
296
|
|
|
285
|
-
| Slot
|
|
286
|
-
|
|
297
|
+
| Slot | Description |
|
|
298
|
+
| --------- | --------------------------------------------------------- |
|
|
287
299
|
| `default` | Trigger element that activates the tooltip on hover/focus |
|
|
288
|
-
| `tooltip` | Content rendered inside the floating tooltip panel
|
|
300
|
+
| `tooltip` | Content rendered inside the floating tooltip panel |
|
|
289
301
|
|
|
290
302
|
## CSS Custom Properties
|
|
291
303
|
|
|
292
|
-
| Variable
|
|
293
|
-
|
|
294
|
-
| `--tooltip-bg`
|
|
295
|
-
| `--tooltip-text`
|
|
296
|
-
| `--tooltip-dark-bg`
|
|
297
|
-
| `--tooltip-dark-text`
|
|
298
|
-
| `--tooltip-info-bg`
|
|
299
|
-
| `--tooltip-info-text`
|
|
300
|
-
| `--tooltip-border-radius` | `6px`
|
|
301
|
-
| `--tooltip-font-size`
|
|
302
|
-
| `--tooltip-padding-x`
|
|
303
|
-
| `--tooltip-padding-y`
|
|
304
|
-
| `--tooltip-z-index`
|
|
304
|
+
| Variable | Default | Description |
|
|
305
|
+
| ------------------------- | ---------------------- | -------------------------- |
|
|
306
|
+
| `--tooltip-bg` | `var(--additional-50)` | Default variant background |
|
|
307
|
+
| `--tooltip-text` | `var(--neutrals-700)` | Default variant text color |
|
|
308
|
+
| `--tooltip-dark-bg` | `var(--neutrals-800)` | Dark variant background |
|
|
309
|
+
| `--tooltip-dark-text` | `var(--additional-50)` | Dark variant text color |
|
|
310
|
+
| `--tooltip-info-bg` | `var(--primary-600)` | Info variant background |
|
|
311
|
+
| `--tooltip-info-text` | `var(--additional-50)` | Info variant text color |
|
|
312
|
+
| `--tooltip-border-radius` | `6px` | Corner radius |
|
|
313
|
+
| `--tooltip-font-size` | `12px` | Text size |
|
|
314
|
+
| `--tooltip-padding-x` | `10px` | Horizontal padding |
|
|
315
|
+
| `--tooltip-padding-y` | `6px` | Vertical padding |
|
|
316
|
+
| `--tooltip-z-index` | `1002` | Stacking order |
|
|
305
317
|
|
|
306
318
|
## Accessibility
|
|
307
319
|
|
|
@@ -26,22 +26,18 @@ import { VcVideo } from "@vc-shell/framework";
|
|
|
26
26
|
|
|
27
27
|
## Key Props
|
|
28
28
|
|
|
29
|
-
| Prop
|
|
30
|
-
|
|
31
|
-
| `source`
|
|
32
|
-
| `label`
|
|
33
|
-
| `tooltip` | `string` | --
|
|
29
|
+
| Prop | Type | Default | Description |
|
|
30
|
+
| --------- | -------- | ------- | -------------------------------------------------- |
|
|
31
|
+
| `source` | `string` | -- | Embed URL for the video (e.g., YouTube embed link) |
|
|
32
|
+
| `label` | `string` | -- | Label text displayed above the video |
|
|
33
|
+
| `tooltip` | `string` | -- | Tooltip text shown on the label's info icon |
|
|
34
34
|
|
|
35
35
|
## Common Patterns
|
|
36
36
|
|
|
37
37
|
### Video with Label and Tooltip
|
|
38
38
|
|
|
39
39
|
```vue
|
|
40
|
-
<VcVideo
|
|
41
|
-
source="https://www.youtube.com/embed/dQw4w9WgXcQ"
|
|
42
|
-
label="Setup Guide"
|
|
43
|
-
tooltip="This video walks through the initial configuration steps"
|
|
44
|
-
/>
|
|
40
|
+
<VcVideo source="https://www.youtube.com/embed/dQw4w9WgXcQ" label="Setup Guide" tooltip="This video walks through the initial configuration steps" />
|
|
45
41
|
```
|
|
46
42
|
|
|
47
43
|
### Placeholder When Source Is Missing
|
|
@@ -57,7 +53,11 @@ When `source` is not provided, VcVideo renders a centered film icon placeholder
|
|
|
57
53
|
```vue
|
|
58
54
|
<template>
|
|
59
55
|
<VcBlade title="Product Details">
|
|
60
|
-
<VcInput
|
|
56
|
+
<VcInput
|
|
57
|
+
label="Video URL"
|
|
58
|
+
v-model="product.videoUrl"
|
|
59
|
+
placeholder="https://youtube.com/embed/..."
|
|
60
|
+
/>
|
|
61
61
|
<VcVideo
|
|
62
62
|
:source="product.videoUrl"
|
|
63
63
|
label="Product Video"
|
|
@@ -89,12 +89,12 @@ When `source` is not provided, VcVideo renders a centered film icon placeholder
|
|
|
89
89
|
|
|
90
90
|
## CSS Custom Properties
|
|
91
91
|
|
|
92
|
-
| Variable
|
|
93
|
-
|
|
94
|
-
| `--video-icon-color`
|
|
95
|
-
| `--video-placeholder-bg` | `var(--neutrals-100)` | Placeholder background
|
|
96
|
-
| `--video-border-radius`
|
|
97
|
-
| `--video-border-color`
|
|
92
|
+
| Variable | Default | Description |
|
|
93
|
+
| ------------------------ | --------------------- | ----------------------- |
|
|
94
|
+
| `--video-icon-color` | `var(--neutrals-400)` | Placeholder icon color |
|
|
95
|
+
| `--video-placeholder-bg` | `var(--neutrals-100)` | Placeholder background |
|
|
96
|
+
| `--video-border-radius` | `6px` | Container corner radius |
|
|
97
|
+
| `--video-border-color` | `var(--neutrals-200)` | Container border color |
|
|
98
98
|
|
|
99
99
|
## Tips
|
|
100
100
|
|
|
@@ -34,20 +34,20 @@ function openNotifications() {
|
|
|
34
34
|
|
|
35
35
|
## Key Props
|
|
36
36
|
|
|
37
|
-
| Prop
|
|
38
|
-
|
|
39
|
-
| `icon`
|
|
40
|
-
| `title`
|
|
41
|
-
| `value`
|
|
42
|
-
| `disabled`
|
|
43
|
-
| `isExpanded` | `boolean`
|
|
44
|
-
| `horizontal` | `boolean`
|
|
37
|
+
| Prop | Type | Default | Description |
|
|
38
|
+
| ------------ | ------------------ | ------- | ----------------------------------------------------------------- |
|
|
39
|
+
| `icon` | `string` | -- | Icon name (Lucide format, e.g., `"lucide-save"`) |
|
|
40
|
+
| `title` | `string` | -- | Label text below (or beside) the icon |
|
|
41
|
+
| `value` | `string \| number` | -- | Badge count displayed on the icon; numbers above 99 show as "99+" |
|
|
42
|
+
| `disabled` | `boolean` | `false` | Prevents clicks and applies muted styling |
|
|
43
|
+
| `isExpanded` | `boolean` | `false` | Expanded visual state |
|
|
44
|
+
| `horizontal` | `boolean` | `false` | Arranges icon and title side by side instead of stacked |
|
|
45
45
|
|
|
46
46
|
## Events
|
|
47
47
|
|
|
48
|
-
| Event
|
|
49
|
-
|
|
50
|
-
| `click` | none
|
|
48
|
+
| Event | Payload | Description |
|
|
49
|
+
| ------- | ------- | ------------------------------------------------------------- |
|
|
50
|
+
| `click` | none | Fired when the widget is clicked (suppressed when `disabled`) |
|
|
51
51
|
|
|
52
52
|
## Common Patterns
|
|
53
53
|
|
|
@@ -87,16 +87,16 @@ Badge values above 99 are automatically displayed as "99+".
|
|
|
87
87
|
|
|
88
88
|
## CSS Custom Properties
|
|
89
89
|
|
|
90
|
-
| Variable
|
|
91
|
-
|
|
92
|
-
| `--widget-bg-color`
|
|
93
|
-
| `--widget-bg-hover-color`
|
|
94
|
-
| `--widget-icon-color`
|
|
95
|
-
| `--widget-icon-hover-color`
|
|
96
|
-
| `--widget-title-color`
|
|
97
|
-
| `--widget-title-hover-color` | `var(--primary-600)`
|
|
98
|
-
| `--widget-border-radius`
|
|
99
|
-
| `--widget-focus-ring-color`
|
|
90
|
+
| Variable | Default | Description |
|
|
91
|
+
| ---------------------------- | --------------------- | -------------------- |
|
|
92
|
+
| `--widget-bg-color` | `transparent` | Background color |
|
|
93
|
+
| `--widget-bg-hover-color` | `var(--neutrals-50)` | Background on hover |
|
|
94
|
+
| `--widget-icon-color` | `var(--neutrals-700)` | Icon color |
|
|
95
|
+
| `--widget-icon-hover-color` | `var(--primary-600)` | Icon color on hover |
|
|
96
|
+
| `--widget-title-color` | `var(--neutrals-600)` | Title text color |
|
|
97
|
+
| `--widget-title-hover-color` | `var(--primary-600)` | Title color on hover |
|
|
98
|
+
| `--widget-border-radius` | `8px` | Corner radius |
|
|
99
|
+
| `--widget-focus-ring-color` | `var(--primary-300)` | Focus ring color |
|
|
100
100
|
|
|
101
101
|
## Accessibility
|
|
102
102
|
|
|
@@ -33,11 +33,11 @@ const languages = [
|
|
|
33
33
|
|
|
34
34
|
## Key Props
|
|
35
35
|
|
|
36
|
-
| Prop
|
|
37
|
-
|
|
38
|
-
| `modelValue` | `string`
|
|
39
|
-
| `options`
|
|
40
|
-
| `disabled`
|
|
36
|
+
| Prop | Type | Default | Description |
|
|
37
|
+
| ------------ | ------------------ | ------- | --------------------------------- |
|
|
38
|
+
| `modelValue` | `string` | `""` | Currently selected language value |
|
|
39
|
+
| `options` | `LanguageOption[]` | `[]` | Available language options |
|
|
40
|
+
| `disabled` | `boolean` | `false` | Disables interaction |
|
|
41
41
|
|
|
42
42
|
Each `LanguageOption` has: `{ value: string; label: string; flag?: string }`.
|
|
43
43
|
|
|
@@ -65,23 +65,36 @@ const languages = [
|
|
|
65
65
|
|
|
66
66
|
const currentName = computed({
|
|
67
67
|
get: () => product.value.names[currentLang.value] ?? "",
|
|
68
|
-
set: (val) => {
|
|
68
|
+
set: (val) => {
|
|
69
|
+
product.value.names[currentLang.value] = val;
|
|
70
|
+
},
|
|
69
71
|
});
|
|
70
72
|
|
|
71
73
|
const currentDescription = computed({
|
|
72
74
|
get: () => product.value.descriptions[currentLang.value] ?? "",
|
|
73
|
-
set: (val) => {
|
|
75
|
+
set: (val) => {
|
|
76
|
+
product.value.descriptions[currentLang.value] = val;
|
|
77
|
+
},
|
|
74
78
|
});
|
|
75
79
|
</script>
|
|
76
80
|
|
|
77
81
|
<template>
|
|
78
82
|
<VcBlade title="Edit Product">
|
|
79
83
|
<template #actions>
|
|
80
|
-
<MultilanguageSelector
|
|
84
|
+
<MultilanguageSelector
|
|
85
|
+
v-model="currentLang"
|
|
86
|
+
:options="languages"
|
|
87
|
+
/>
|
|
81
88
|
</template>
|
|
82
89
|
|
|
83
|
-
<VcInput
|
|
84
|
-
|
|
90
|
+
<VcInput
|
|
91
|
+
v-model="currentName"
|
|
92
|
+
label="Name"
|
|
93
|
+
/>
|
|
94
|
+
<VcTextarea
|
|
95
|
+
v-model="currentDescription"
|
|
96
|
+
label="Description"
|
|
97
|
+
/>
|
|
85
98
|
</VcBlade>
|
|
86
99
|
</template>
|
|
87
100
|
```
|
|
@@ -10,6 +10,7 @@ Collapsible content sections with smooth CSS grid animations, customizable colla
|
|
|
10
10
|
- Expandable form sections or configuration panels
|
|
11
11
|
|
|
12
12
|
When NOT to use:
|
|
13
|
+
|
|
13
14
|
- For navigation groups -- use `VcMenuGroup`
|
|
14
15
|
- For tab-based content switching -- use `VcTabs`
|
|
15
16
|
- For single collapsible panels without siblings -- use `VcAccordionItem` directly
|
|
@@ -18,7 +19,10 @@ When NOT to use:
|
|
|
18
19
|
|
|
19
20
|
```vue
|
|
20
21
|
<template>
|
|
21
|
-
<VcAccordion
|
|
22
|
+
<VcAccordion
|
|
23
|
+
:items="faqItems"
|
|
24
|
+
variant="bordered"
|
|
25
|
+
/>
|
|
22
26
|
</template>
|
|
23
27
|
|
|
24
28
|
<script setup lang="ts">
|
|
@@ -38,12 +42,12 @@ const faqItems = [
|
|
|
38
42
|
|
|
39
43
|
Four variants control the visual grouping and spacing of accordion items.
|
|
40
44
|
|
|
41
|
-
| Variant
|
|
42
|
-
|
|
43
|
-
| `default`
|
|
44
|
-
| `bordered`
|
|
45
|
-
| `separated` | Card-like items with 12px gaps between them, each with its own border
|
|
46
|
-
| `ghost`
|
|
45
|
+
| Variant | Description |
|
|
46
|
+
| ----------- | ------------------------------------------------------------------------ |
|
|
47
|
+
| `default` | Items stacked with shared top/bottom borders, no gaps |
|
|
48
|
+
| `bordered` | Single outer border wrapping all items, items separated by inner borders |
|
|
49
|
+
| `separated` | Card-like items with 12px gaps between them, each with its own border |
|
|
50
|
+
| `ghost` | Transparent background, minimal styling, no borders or padding |
|
|
47
51
|
|
|
48
52
|
```vue
|
|
49
53
|
<VcAccordion :items="items" variant="separated" />
|
|
@@ -55,7 +59,10 @@ Use `v-model` to control which items are expanded. In single mode, the value is
|
|
|
55
59
|
|
|
56
60
|
```vue
|
|
57
61
|
<template>
|
|
58
|
-
<VcAccordion
|
|
62
|
+
<VcAccordion
|
|
63
|
+
v-model="openItem"
|
|
64
|
+
:items="items"
|
|
65
|
+
/>
|
|
59
66
|
<p>Currently open: {{ openItem }}</p>
|
|
60
67
|
</template>
|
|
61
68
|
|
|
@@ -136,7 +143,11 @@ The `content` property in `AccordionItem` accepts both strings and Vue component
|
|
|
136
143
|
|
|
137
144
|
```vue
|
|
138
145
|
<template>
|
|
139
|
-
<VcAccordion
|
|
146
|
+
<VcAccordion
|
|
147
|
+
v-model="activeQuestion"
|
|
148
|
+
:items="faqs"
|
|
149
|
+
variant="separated"
|
|
150
|
+
/>
|
|
140
151
|
</template>
|
|
141
152
|
|
|
142
153
|
<script setup lang="ts">
|
|
@@ -181,61 +192,61 @@ Both render together -- items-prop items appear first, then slot content. Omit `
|
|
|
181
192
|
|
|
182
193
|
```ts
|
|
183
194
|
interface AccordionItem {
|
|
184
|
-
id?: string | number;
|
|
185
|
-
title: string;
|
|
195
|
+
id?: string | number; // Unique identifier (falls back to array index)
|
|
196
|
+
title: string; // Header text
|
|
186
197
|
content?: string | Component; // Body content (string or Vue component)
|
|
187
|
-
titleSlot?: Component;
|
|
188
|
-
collapsedHeight?: number;
|
|
189
|
-
maxExpandedHeight?: number;
|
|
190
|
-
disabled?: boolean;
|
|
198
|
+
titleSlot?: Component; // Custom title component (alternative to #title slot)
|
|
199
|
+
collapsedHeight?: number; // Per-item collapsed height override (px)
|
|
200
|
+
maxExpandedHeight?: number; // Per-item max expanded height override (px)
|
|
201
|
+
disabled?: boolean; // Prevents toggling this item
|
|
191
202
|
}
|
|
192
203
|
```
|
|
193
204
|
|
|
194
205
|
## Props
|
|
195
206
|
|
|
196
|
-
| Prop
|
|
197
|
-
|
|
198
|
-
| `items`
|
|
199
|
-
| `modelValue`
|
|
200
|
-
| `multiple`
|
|
201
|
-
| `variant`
|
|
202
|
-
| `collapsedHeight`
|
|
203
|
-
| `maxExpandedHeight` | `number`
|
|
207
|
+
| Prop | Type | Default | Description |
|
|
208
|
+
| ------------------- | --------------------------------------------------- | ----------- | ----------------------------------------------------- |
|
|
209
|
+
| `items` | `AccordionItem[]` | `[]` | Array of items to render |
|
|
210
|
+
| `modelValue` | `(string \| number) \| (string \| number)[]` | -- | Controlled expanded state via `v-model` |
|
|
211
|
+
| `multiple` | `boolean` | `false` | Allow multiple items to be expanded simultaneously |
|
|
212
|
+
| `variant` | `"default" \| "bordered" \| "separated" \| "ghost"` | `"default"` | Visual style variant |
|
|
213
|
+
| `collapsedHeight` | `number` | `0` | Default collapsed height in pixels for all items |
|
|
214
|
+
| `maxExpandedHeight` | `number` | -- | Maximum expanded height (content scrolls if exceeded) |
|
|
204
215
|
|
|
205
216
|
## Events
|
|
206
217
|
|
|
207
|
-
| Event
|
|
208
|
-
|
|
218
|
+
| Event | Payload | Description |
|
|
219
|
+
| ------------------- | -------------------------------------------- | ------------------------------------ |
|
|
209
220
|
| `update:modelValue` | `(string \| number) \| (string \| number)[]` | Emitted when expanded item(s) change |
|
|
210
221
|
|
|
211
222
|
## Slots
|
|
212
223
|
|
|
213
|
-
| Slot
|
|
214
|
-
|
|
224
|
+
| Slot | Description |
|
|
225
|
+
| --------- | ---------------------------------------------------------------- |
|
|
215
226
|
| `default` | Place `VcAccordionItem` components directly for custom rendering |
|
|
216
227
|
|
|
217
228
|
### VcAccordionItem Slots
|
|
218
229
|
|
|
219
|
-
| Slot
|
|
220
|
-
|
|
221
|
-
| `title`
|
|
222
|
-
| `default` | Content body of the accordion item
|
|
230
|
+
| Slot | Description |
|
|
231
|
+
| --------- | ------------------------------------------------------- |
|
|
232
|
+
| `title` | Custom title rendering (replaces the `title` prop text) |
|
|
233
|
+
| `default` | Content body of the accordion item |
|
|
223
234
|
|
|
224
235
|
## CSS Variables
|
|
225
236
|
|
|
226
|
-
| Variable
|
|
227
|
-
|
|
228
|
-
| `--accordion-item-border-color`
|
|
229
|
-
| `--accordion-item-border-radius`
|
|
230
|
-
| `--accordion-item-header-padding`
|
|
231
|
-
| `--accordion-item-header-background`
|
|
232
|
-
| `--accordion-item-header-background-hover` | `var(--neutrals-50)`
|
|
233
|
-
| `--accordion-item-header-color`
|
|
234
|
-
| `--accordion-item-content-padding`
|
|
235
|
-
| `--accordion-item-content-background`
|
|
236
|
-
| `--accordion-item-transition-duration`
|
|
237
|
-
| `--accordion-item-fade-height`
|
|
238
|
-
| `--accordion-item-focus-ring-color`
|
|
237
|
+
| Variable | Default | Description |
|
|
238
|
+
| ------------------------------------------ | ---------------------- | ----------------------------------------- |
|
|
239
|
+
| `--accordion-item-border-color` | `var(--neutrals-200)` | Border color for items and dividers |
|
|
240
|
+
| `--accordion-item-border-radius` | `6px` | Border radius of item containers |
|
|
241
|
+
| `--accordion-item-header-padding` | `12px 16px` | Header button padding |
|
|
242
|
+
| `--accordion-item-header-background` | `var(--additional-50)` | Header background color |
|
|
243
|
+
| `--accordion-item-header-background-hover` | `var(--neutrals-50)` | Header background on hover |
|
|
244
|
+
| `--accordion-item-header-color` | `var(--secondary-950)` | Header text color |
|
|
245
|
+
| `--accordion-item-content-padding` | `16px` | Content body padding |
|
|
246
|
+
| `--accordion-item-content-background` | `var(--additional-50)` | Content body background |
|
|
247
|
+
| `--accordion-item-transition-duration` | `300ms` | Expand/collapse animation duration |
|
|
248
|
+
| `--accordion-item-fade-height` | `60px` | Fade gradient height on collapsed preview |
|
|
249
|
+
| `--accordion-item-focus-ring-color` | `var(--primary-100)` | Focus ring color for keyboard navigation |
|
|
239
250
|
|
|
240
251
|
> **Note:** The `ghost` variant overrides several variables to transparent/zero values for minimal appearance.
|
|
241
252
|
|
package/runtime/knowledge/docs/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.docs.md
CHANGED
|
@@ -123,7 +123,10 @@ For applications built on the VC-Shell framework, manage breadcrumb state reacti
|
|
|
123
123
|
|
|
124
124
|
```vue
|
|
125
125
|
<template>
|
|
126
|
-
<VcBreadcrumbs
|
|
126
|
+
<VcBreadcrumbs
|
|
127
|
+
:items="breadcrumbs"
|
|
128
|
+
separated
|
|
129
|
+
/>
|
|
127
130
|
</template>
|
|
128
131
|
|
|
129
132
|
<script setup lang="ts">
|
|
@@ -148,11 +151,11 @@ remove(["products", "categories"]);
|
|
|
148
151
|
|
|
149
152
|
**Composable API:**
|
|
150
153
|
|
|
151
|
-
| Method
|
|
152
|
-
|
|
153
|
-
| `breadcrumbs` | `ComputedRef<Breadcrumbs[]>`
|
|
154
|
-
| `push`
|
|
155
|
-
| `remove`
|
|
154
|
+
| Method | Signature | Description |
|
|
155
|
+
| ------------- | ----------------------------- | ---------------------------------- |
|
|
156
|
+
| `breadcrumbs` | `ComputedRef<Breadcrumbs[]>` | Reactive array of current items |
|
|
157
|
+
| `push` | `(item: Breadcrumbs) => void` | Add an item (deduplicates by `id`) |
|
|
158
|
+
| `remove` | `(ids: string[]) => void` | Remove items by their IDs |
|
|
156
159
|
|
|
157
160
|
> **Note:** When `push` is called with an `id` that already exists, the existing entry is updated in place rather than duplicated.
|
|
158
161
|
|
|
@@ -237,27 +240,27 @@ clickHandler: () => { navigate(); return true; }
|
|
|
237
240
|
|
|
238
241
|
## Props
|
|
239
242
|
|
|
240
|
-
| Prop
|
|
241
|
-
|
|
242
|
-
| `items`
|
|
243
|
-
| `variant`
|
|
244
|
-
| `separated` | `boolean`
|
|
245
|
-
| `collapsed` | `boolean`
|
|
243
|
+
| Prop | Type | Default | Description |
|
|
244
|
+
| ----------- | ---------------------- | ----------- | ------------------------------------ |
|
|
245
|
+
| `items` | `Breadcrumbs[]` | `[]` | Array of breadcrumb items to display |
|
|
246
|
+
| `variant` | `"default" \| "light"` | `"default"` | Visual style variant |
|
|
247
|
+
| `separated` | `boolean` | `false` | Show `/` separators between items |
|
|
248
|
+
| `collapsed` | `boolean` | `false` | Force all items into the dropdown |
|
|
246
249
|
|
|
247
250
|
## Slots
|
|
248
251
|
|
|
249
|
-
| Slot
|
|
250
|
-
|
|
252
|
+
| Slot | Scope | Description |
|
|
253
|
+
| --------- | ------------------------------------------ | ------------------------------------------------------------------ |
|
|
251
254
|
| `trigger` | `{ click: () => void, isActive: boolean }` | Custom dropdown trigger button replacing the default ellipsis icon |
|
|
252
255
|
|
|
253
256
|
## CSS Variables
|
|
254
257
|
|
|
255
|
-
| Variable
|
|
256
|
-
|
|
257
|
-
| `--separator-color`
|
|
258
|
-
| `--breadcrumbs-item-border-color`
|
|
259
|
-
| `--breadcrumbs-expand-button-color`
|
|
260
|
-
| `--breadcrumbs-expand-button-color-hover` | `var(--neutrals-600)`
|
|
258
|
+
| Variable | Default | Description |
|
|
259
|
+
| ----------------------------------------- | ---------------------- | ------------------------------------ |
|
|
260
|
+
| `--separator-color` | `var(--neutrals-400)` | Color of the `/` separator character |
|
|
261
|
+
| `--breadcrumbs-item-border-color` | `var(--secondary-300)` | Border color of breadcrumb items |
|
|
262
|
+
| `--breadcrumbs-expand-button-color` | `var(--neutrals-500)` | Color of the overflow "more" button |
|
|
263
|
+
| `--breadcrumbs-expand-button-color-hover` | `var(--neutrals-600)` | Hover color of the overflow button |
|
|
261
264
|
|
|
262
265
|
## Accessibility
|
|
263
266
|
|