@xleddyl/443-components-vue 0.16.20 → 0.16.21

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/CATALOG.md CHANGED
@@ -187,21 +187,21 @@ All field components work inside `FormField` and take `invalid`, `disabled`, `re
187
187
 
188
188
  Mount `OverlayHost` once for the imperative hooks (see [Composables](#composables)).
189
189
 
190
- | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
191
- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
192
- | `Modal` | Centered dialog for forms and content. Use `Drawer` for a side panel, `useConfirm` for a yes or no question. | Models: `v-model:open`, `v-model:tab`. Props: `title`, `description`, `size` (sm to xl, full, fit, fullscreen), `width`, `minHeight`, `dismissible`, `hideClose`, `sheet`, `flush`, `loading`, `beforeClose(reason)`, `tabs` (tabs in the header), `trail` (breadcrumb title and back button), `backLabel`. Slots: default (`{ tab }`), `header`, `actions` (header, before the close button), `footer`, `title-trailing`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. | `overlays/modal.vue` |
193
- | `Drawer` | Panel from the side or bottom for details and edit forms. Use `Modal` for short focused dialogs. | Models: `v-model:open`, `v-model:tab`. Props: `title`, `description`, `side` (left, right, bottom), `size` (sm to xl, full), `dismissible`, `hideClose`, `flush`, `loading`, `beforeClose(reason)`, `tabs`, `trail`, `backLabel`. Slots like `Modal`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. | `overlays/drawer.vue` |
194
- | `ConfirmDialog` | Declarative confirm dialog. Prefer `useConfirm()`. Use this one only when the dialog state lives in the template. | Model: `v-model:open`. Props: `title`, `description`, `confirmLabel`, `cancelLabel`, `tone`, `icon`, `hideCancel`, `onConfirm`. Events: `resolve(confirmed)`, `cancel`, `afterLeave`. | `overlays/confirm-dialog.vue` |
195
- | `ConfirmHost` | Renders the dialogs of `useConfirm`, `useAlert`, `usePrompt`. `OverlayHost` includes it. Do not mount it alone. | None. | - |
196
- | `OverlayHost` | One mount point for toasts, confirm dialogs, programmatic modals and loading indicators. | Props: `toaster` (true or options), `confirm`, `modals`, `loading` (true or `{ bar, delay, label }`). | `overlays/hooks.vue` |
197
- | `Toaster` | Renders toasts. `OverlayHost` includes it. Use it directly only for custom options. The stack moves out of the way of an open side Drawer (beside it, or above its footer). | Props: `position`, `max`, `duration`, `gap`, `expand`, `progress`, `hotkey`. | `overlays/toast.vue` |
198
- | `DropdownMenu` | Menu opened by its trigger. Items can have icons, shortcuts, checkboxes, radios, sub menus and links. | Model: `v-model:open`. Props: `items` (`label`, `icon`, `to`, `href`, `tone: danger`, `shortcut`, `disabled`, `children`, `onSelect`; also `type`: checkbox, radio, label, separator), `placement`, `offset`, `matchTriggerWidth`, `minWidth`. Slot: default (the trigger). Event: `select`. | `overlays/dropdown-menu.vue` |
199
- | `ContextMenu` | Menu on right click of the wrapped area. | Model: `v-model:open`. Props: `items` (same as `DropdownMenu`), `disabled`. Slot: default (the area). Event: `select`. | `overlays/context-menu.vue` |
200
- | `Popover` | Floating panel with any content (a form, filters) opened by its trigger. Use `DropdownMenu` for a list of actions. | Model: `v-model:open`. Props: `placement`, `offset`, `arrow`, `label`, `initialFocus`. Slots: default (the trigger), `content`. | `overlays/popover.vue` |
201
- | `HoverCard` | Rich preview on hover or focus (user card, link preview). Use `Tooltip` for plain text. | Model: `v-model:open`. Props: `placement`, `openDelay`, `closeDelay`, `arrow`, `disabled`. Slots: default (trigger), `content`. | `overlays/hover-card.vue` |
202
- | `Tooltip` | Short text on hover or focus. Optional shortcut. | Props: `text`, `placement`, `openDelay`, `closeDelay`, `arrow`, `shortcut`, `disabled`. Slots: default (trigger), `content`. | `overlays/tooltip.vue` |
203
- | `CommandPalette` | Search and command dialog (Cmd+K) with groups, recent items, async search and typed item data. Groups take `icon` (default item icon) and `more` (a last "show all" item). Matching (`matchesSearch`, exported) finds every word in any order, without case or accents. | Models: `v-model:open`, `v-model:query`. Props: `groups` (items with `id`, `label`, `description`, `icon`, `shortcut`, `keywords`, `to`, `data`, `onSelect`), `search(query, signal)`, `shortcut`, `trigger`, `recentKey`, `emptyText`, `notice`. Slots: `item`, `empty`, `group-label`, `after-results`. Events: `select`, `open`, `close`. | `overlays/command-palette.vue` |
204
- | `CommandButton` | A `Button` made from a `CommandItem`: label, icon, `to`, `href`, `disabled` and `onSelect` come from the command. | Props: `command`, `label`, `icon`, and every `Button` prop (size, variant, tone). | `overlays/command-palette.vue` |
190
+ | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
191
+ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
192
+ | `Modal` | Centered dialog for forms and content. Use `Drawer` for a side panel, `useConfirm` for a yes or no question. | Models: `v-model:open`, `v-model:tab`. Props: `title`, `description`, `size` (sm to xl, full, fit, fullscreen), `width`, `minHeight`, `dismissible`, `hideClose`, `sheet`, `flush`, `fill`, `loading`, `beforeClose(reason)`, `tabs` (tabs in the header), `trail` (breadcrumb title and back button), `backLabel`. Slots: default (`{ tab }`), `header`, `actions` (header, before the close button), `footer`, `title-trailing`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. | `overlays/modal.vue` |
193
+ | `Drawer` | Panel from the side or bottom for details and edit forms. Use `Modal` for short focused dialogs. | Models: `v-model:open`, `v-model:tab`. Props: `title`, `description`, `side` (left, right, bottom), `size` (sm to xl, full), `dismissible`, `hideClose`, `flush`, `fill` (the body content takes the full height, for a table or a grid), `loading`, `beforeClose(reason)`, `tabs`, `trail`, `backLabel`. Slots like `Modal`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. | `overlays/drawer.vue` |
194
+ | `ConfirmDialog` | Declarative confirm dialog. Prefer `useConfirm()`. Use this one only when the dialog state lives in the template. | Model: `v-model:open`. Props: `title`, `description`, `confirmLabel`, `cancelLabel`, `tone`, `icon`, `hideCancel`, `onConfirm`. Events: `resolve(confirmed)`, `cancel`, `afterLeave`. | `overlays/confirm-dialog.vue` |
195
+ | `ConfirmHost` | Renders the dialogs of `useConfirm`, `useAlert`, `usePrompt`. `OverlayHost` includes it. Do not mount it alone. | None. | - |
196
+ | `OverlayHost` | One mount point for toasts, confirm dialogs, programmatic modals and loading indicators. | Props: `toaster` (true or options), `confirm`, `modals`, `loading` (true or `{ bar, delay, label }`). | `overlays/hooks.vue` |
197
+ | `Toaster` | Renders toasts. `OverlayHost` includes it. Use it directly only for custom options. The stack moves out of the way of an open side Drawer (beside it, or above its footer). | Props: `position`, `max`, `duration`, `gap`, `expand`, `progress`, `hotkey`. | `overlays/toast.vue` |
198
+ | `DropdownMenu` | Menu opened by its trigger. Items can have icons, shortcuts, checkboxes, radios, sub menus and links. | Model: `v-model:open`. Props: `items` (`label`, `icon`, `to`, `href`, `tone: danger`, `shortcut`, `disabled`, `children`, `onSelect`; also `type`: checkbox, radio, label, separator), `placement`, `offset`, `matchTriggerWidth`, `minWidth`. Slot: default (the trigger). Event: `select`. | `overlays/dropdown-menu.vue` |
199
+ | `ContextMenu` | Menu on right click of the wrapped area. | Model: `v-model:open`. Props: `items` (same as `DropdownMenu`), `disabled`. Slot: default (the area). Event: `select`. | `overlays/context-menu.vue` |
200
+ | `Popover` | Floating panel with any content (a form, filters) opened by its trigger. Use `DropdownMenu` for a list of actions. | Model: `v-model:open`. Props: `placement`, `offset`, `arrow`, `label`, `initialFocus`. Slots: default (the trigger), `content`. | `overlays/popover.vue` |
201
+ | `HoverCard` | Rich preview on hover or focus (user card, link preview). Use `Tooltip` for plain text. | Model: `v-model:open`. Props: `placement`, `openDelay`, `closeDelay`, `arrow`, `disabled`. Slots: default (trigger), `content`. | `overlays/hover-card.vue` |
202
+ | `Tooltip` | Short text on hover or focus. Optional shortcut. | Props: `text`, `placement`, `openDelay`, `closeDelay`, `arrow`, `shortcut`, `disabled`. Slots: default (trigger), `content`. | `overlays/tooltip.vue` |
203
+ | `CommandPalette` | Search and command dialog (Cmd+K) with groups, recent items, async search and typed item data. Groups take `icon` (default item icon) and `more` (a last "show all" item). Matching (`matchesSearch`, exported) finds every word in any order, without case or accents. | Models: `v-model:open`, `v-model:query`. Props: `groups` (items with `id`, `label`, `description`, `icon`, `shortcut`, `keywords`, `to`, `data`, `onSelect`), `search(query, signal)`, `shortcut`, `trigger`, `recentKey`, `emptyText`, `notice`. Slots: `item`, `empty`, `group-label`, `after-results`. Events: `select`, `open`, `close`. | `overlays/command-palette.vue` |
204
+ | `CommandButton` | A `Button` made from a `CommandItem`: label, icon, `to`, `href`, `disabled` and `onSelect` come from the command. | Props: `command`, `label`, `icon`, and every `Button` prop (size, variant, tone). | `overlays/command-palette.vue` |
205
205
 
206
206
  ## Data
207
207
 
@@ -269,7 +269,7 @@ Templates combine core parts into whole pages and layouts. Start from them for n
269
269
  | `AuthLayout` | Login, sign up and reset password frame. Centered card or split with aside. | Props: `variant` (centered, split), `title`, `description`, `footer`, `brandName`, `brandIcon`, `brandLogo`, `asideTitle`, `asideDescription`, `themeSwitch`. Slots: default, `links`, `footer`, `brand`, `aside`, `corner`. | `templates/auth-layout.vue` |
270
270
  | `ListPage` | Whole list page: header, search, filters, table, pagination, bulk actions, loading, empty, no results and error states. Client or server mode (`total`). | Models: `page`, `pageSize`, `search`, `filter`, `sort`, `selected`. Props: `title`, `rows`, `columns`, `rowKey`, `rowTo`, `selectable`, `loading`, `error`, `total`, `paginate`, `searchable`, `searchKeys`, `filters`, `filterKey`, `filterMultiple`, `emptyTitle`. Slots: `actions`, `toolbar`, `toolbar-end`, `bulk`, `empty`, `empty-actions`, `no-results`, `error`, `cell-<key>`, `table`. Events: `retry`, `clear`, `rowClick`. | `templates/list-page.vue` |
271
271
  | `DetailPage` | Record page: back link, title, status, actions, tabs, main column and aside with description lists. | Model: `v-model:tab`. Props: `title`, `backTo`, `backLabel`, `status` (`label`, `tone`, `dot`), `tabs`, `sections` (`title`, `items`), `loading`, `error`. Slots: default, `actions`, `badge`, `meta`, `aside`, `aside-before`, `panel-<value>`. | `templates/detail-page.vue` |
272
- | `FormDrawer` | Drawer with a form: `Form` around the body, footer with delete (left), cancel and submit, a discard confirmation on close when the form is dirty, `SkeletonForm` while `loading`. | Models: `v-model:open`, `v-model:tab`. Props: `title`, `description`, `side`, `size`, `tabs` (`FormDrawerTab`: `fields` gives the error dot and opens the tab on a failed submit), `tabRoute` (keeps the tab in the hash under this key), `trail`, `backLabel`, `form`, `loading`, `readonly`, `creating` (submit says Create, no dirty needed), `requireDirty`, `deletable`, `deleteDisabled`, `deleteHint`, `submitLabel`, `cancelLabel`, `deleteLabel`, `guard`, `guardTitle`, `guardMessage`, `beforeClose`, `onCancel`. Slots: default (`{ tab }`), `actions`, `title-trailing`, `skeleton`, `footer`. Events: `delete`, `navigate`, `afterLeave`. Exposes `confirmDiscard()`, `close()`. | `templates/form-drawer.vue` |
272
+ | `FormDrawer` | Drawer with a form: `Form` around the body, footer with delete (left), cancel and submit, a discard confirmation on close when the form is dirty, `SkeletonForm` while `loading`. | Models: `v-model:open`, `v-model:tab`. Props: `title`, `description`, `side`, `size`, `fill` (per tab, for a full height table), `tabs` (`FormDrawerTab`: `fields` gives the error dot and opens the tab on a failed submit), `tabRoute` (keeps the tab in the hash under this key), `trail`, `backLabel`, `form`, `loading`, `readonly`, `creating` (submit says Create, no dirty needed), `requireDirty`, `deletable`, `deleteDisabled`, `deleteHint`, `submitLabel`, `cancelLabel`, `deleteLabel`, `guard`, `guardTitle`, `guardMessage`, `beforeClose`, `onCancel`. Slots: default (`{ tab }`), `actions`, `title-trailing`, `skeleton`, `footer`. Events: `delete`, `navigate`, `afterLeave`. Exposes `confirmDiscard()`, `close()`. | `templates/form-drawer.vue` |
273
273
  | `FormPage` | Form page: header, cards in a `Form`, sticky submit and cancel footer, dirty guard. | Props: `title`, `backTo`, `form` (from `useForm`), `dirty`, `saving`, `guard`, `requireDirty`, `submitLabel`, `cancelLabel`, `cancelTo`, `width`, `sticky`. Slots: default, `actions`, `footer`, `status`. Events: `submit`, `submitted`, `invalid`, `reset`, `cancel`. | `templates/form-page.vue` |
274
274
  | `DashboardPage` | Overview page: header, stat grid, content grid. | Props: `title`, `eyebrow`, `description`, `stats` (`PageStat[]`), `statsColumns`, `columns`, `loading`. Slots: default, `actions`, `stats`, `sparkline`, `before`, `after`, `eyebrow`. | `templates/dashboard-page.vue` |
275
275
  | `SettingsPage` | Settings as a page: section nav, panels, floating save bar when `dirty`. | Model: `v-model:section`. Props: `title`, `sections` (`value`, `label`, `icon`, `to`), `dirty`, `saving`, `saveBar`, `form`. Slots: `section-<value>`, `actions`, `nav-footer`. Events: `save`, `discard`. | `templates/settings-page.vue` |
@@ -21,6 +21,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
21
21
  key?: PropertyKey | undefined;
22
22
  loading?: boolean;
23
23
  prefix?: "k-modal" | "k-drawer" | undefined;
24
+ fill?: boolean;
24
25
  size?: import("./types.ts").ModalSize;
25
26
  tabs?: import("../layout/types.ts").TabItem[];
26
27
  label?: string;
@@ -257,6 +258,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
257
258
  key?: PropertyKey | undefined;
258
259
  loading?: boolean;
259
260
  prefix?: "k-modal" | "k-drawer" | undefined;
261
+ fill?: boolean;
260
262
  size?: import("./types.ts").ModalSize;
261
263
  tabs?: import("../layout/types.ts").TabItem[];
262
264
  label?: string;
@@ -11,6 +11,7 @@ declare const __VLS_export: import("vue").DefineComponent<Partial<NonNullable<{
11
11
  readonly key?: PropertyKey | undefined;
12
12
  readonly loading?: boolean | undefined;
13
13
  readonly prefix?: "k-modal" | "k-drawer" | undefined;
14
+ readonly fill?: boolean | undefined;
14
15
  readonly size?: import("./types.ts").ModalSize | undefined;
15
16
  readonly tabs?: import("../layout/types.ts").TabItem[] | undefined;
16
17
  readonly label?: string | undefined;
@@ -243,6 +244,7 @@ declare const __VLS_export: import("vue").DefineComponent<Partial<NonNullable<{
243
244
  readonly key?: PropertyKey | undefined;
244
245
  readonly loading?: boolean | undefined;
245
246
  readonly prefix?: "k-modal" | "k-drawer" | undefined;
247
+ readonly fill?: boolean | undefined;
246
248
  readonly size?: import("./types.ts").ModalSize | undefined;
247
249
  readonly tabs?: import("../layout/types.ts").TabItem[] | undefined;
248
250
  readonly label?: string | undefined;
@@ -11,6 +11,7 @@
11
11
  :hide-close="hideClose"
12
12
  :close-label="closeLabel"
13
13
  :flush="flush"
14
+ :fill="fill"
14
15
  :loading="loading"
15
16
  :before-close="beforeClose"
16
17
  :tabs="tabs"
@@ -41,6 +42,7 @@ defineProps({
41
42
  hideClose: { type: Boolean, required: false },
42
43
  closeLabel: { type: String, required: false },
43
44
  flush: { type: Boolean, required: false },
45
+ fill: { type: Boolean, required: false },
44
46
  loading: { type: Boolean, required: false },
45
47
  beforeClose: { type: Function, required: false },
46
48
  tabs: { type: Array, required: false },
@@ -12,6 +12,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
12
12
  hideClose?: boolean;
13
13
  closeLabel?: string;
14
14
  flush?: boolean;
15
+ fill?: boolean;
15
16
  loading?: boolean;
16
17
  beforeClose?: DialogBeforeClose;
17
18
  tabs?: TabItem[];
@@ -239,6 +240,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
239
240
  hideClose?: boolean;
240
241
  closeLabel?: string;
241
242
  flush?: boolean;
243
+ fill?: boolean;
242
244
  loading?: boolean;
243
245
  beforeClose?: DialogBeforeClose;
244
246
  tabs?: TabItem[];
@@ -12,6 +12,7 @@
12
12
  :hide-close="hideClose"
13
13
  :close-label="closeLabel"
14
14
  :flush="flush"
15
+ :fill="fill"
15
16
  :loading="loading"
16
17
  :before-close="beforeClose"
17
18
  :tabs="tabs"
@@ -42,6 +43,7 @@ const props = defineProps({
42
43
  closeLabel: { type: String, required: false },
43
44
  sheet: { type: Boolean, required: false, default: true },
44
45
  flush: { type: Boolean, required: false },
46
+ fill: { type: Boolean, required: false },
45
47
  loading: { type: Boolean, required: false },
46
48
  beforeClose: { type: Function, required: false },
47
49
  tabs: { type: Array, required: false },
@@ -12,6 +12,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
12
12
  closeLabel?: string;
13
13
  sheet?: boolean;
14
14
  flush?: boolean;
15
+ fill?: boolean;
15
16
  loading?: boolean;
16
17
  beforeClose?: DialogBeforeClose;
17
18
  tabs?: TabItem[];
@@ -241,6 +242,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
241
242
  closeLabel?: string;
242
243
  sheet?: boolean;
243
244
  flush?: boolean;
245
+ fill?: boolean;
244
246
  loading?: boolean;
245
247
  beforeClose?: DialogBeforeClose;
246
248
  tabs?: TabItem[];
@@ -9,6 +9,7 @@
9
9
  :label="label"
10
10
  :side="side"
11
11
  :size="size"
12
+ :fill="fill"
12
13
  :tabs="tabItems"
13
14
  :trail="trail"
14
15
  :back-label="backLabel"
@@ -100,6 +101,7 @@ const props = defineProps({
100
101
  label: { type: String, required: false },
101
102
  side: { type: String, required: false },
102
103
  size: { type: String, required: false, default: "md" },
104
+ fill: { type: Boolean, required: false },
103
105
  tabs: { type: Array, required: false },
104
106
  tabRoute: { type: String, required: false },
105
107
  trail: { type: Array, required: false },
@@ -9,6 +9,7 @@ declare const __VLS_export: <S extends FormSchema, V extends object>(__VLS_props
9
9
  label?: string;
10
10
  side?: DrawerSide;
11
11
  size?: DrawerSize;
12
+ fill?: boolean;
12
13
  tabs?: FormDrawerTab[];
13
14
  tabRoute?: string;
14
15
  trail?: string[];
@@ -48,6 +49,7 @@ declare const __VLS_export: <S extends FormSchema, V extends object>(__VLS_props
48
49
  readonly hideClose?: boolean | undefined;
49
50
  readonly closeLabel?: string | undefined;
50
51
  readonly flush?: boolean | undefined;
52
+ readonly fill?: boolean | undefined;
51
53
  readonly loading?: boolean | undefined;
52
54
  readonly beforeClose?: DialogBeforeClose | undefined;
53
55
  readonly tabs?: TabItem[] | undefined;
@@ -43,6 +43,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
43
43
  key?: PropertyKey | undefined;
44
44
  loading?: boolean;
45
45
  prefix?: "k-modal" | "k-drawer" | undefined;
46
+ fill?: boolean;
46
47
  size?: import("../overlays/types").ModalSize;
47
48
  tabs?: import("../layout/types.ts").TabItem[];
48
49
  label?: string;
@@ -294,6 +295,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
294
295
  key?: PropertyKey | undefined;
295
296
  loading?: boolean;
296
297
  prefix?: "k-modal" | "k-drawer" | undefined;
298
+ fill?: boolean;
297
299
  size?: import("../overlays/types").ModalSize;
298
300
  tabs?: import("../layout/types.ts").TabItem[];
299
301
  label?: string;
@@ -86,6 +86,7 @@
86
86
  `${prefix}-body`,
87
87
  {
88
88
  'is-flush': flush,
89
+ 'is-fill': fill,
89
90
  'is-overflow-top': overflowTop,
90
91
  'is-overflow-bottom': overflowBottom
91
92
  }
@@ -120,6 +121,7 @@ const props = defineProps({
120
121
  hideClose: { type: Boolean, required: false },
121
122
  closeLabel: { type: String, required: false },
122
123
  flush: { type: Boolean, required: false },
124
+ fill: { type: Boolean, required: false },
123
125
  loading: { type: Boolean, required: false },
124
126
  beforeClose: { type: Function, required: false },
125
127
  tabs: { type: Array, required: false },
@@ -34,6 +34,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
34
34
  hideClose?: boolean;
35
35
  closeLabel?: string;
36
36
  flush?: boolean;
37
+ fill?: boolean;
37
38
  loading?: boolean;
38
39
  beforeClose?: DialogBeforeClose;
39
40
  tabs?: TabItem[];
@@ -253,6 +254,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
253
254
  hideClose?: boolean;
254
255
  closeLabel?: string;
255
256
  flush?: boolean;
257
+ fill?: boolean;
256
258
  loading?: boolean;
257
259
  beforeClose?: DialogBeforeClose;
258
260
  tabs?: TabItem[];
@@ -4,6 +4,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
4
4
  key?: PropertyKey | undefined;
5
5
  loading?: boolean;
6
6
  prefix?: "k-modal" | "k-drawer" | undefined;
7
+ fill?: boolean;
7
8
  size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
8
9
  tabs?: import("../../index.ts").TabItem[];
9
10
  label?: string;
@@ -233,6 +234,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
233
234
  key?: PropertyKey | undefined;
234
235
  loading?: boolean;
235
236
  prefix?: "k-modal" | "k-drawer" | undefined;
237
+ fill?: boolean;
236
238
  size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
237
239
  tabs?: import("../../index.ts").TabItem[];
238
240
  label?: string;
@@ -302,6 +302,17 @@
302
302
  padding: 0;
303
303
  }
304
304
 
305
+ .k-modal-body.is-fill,
306
+ .k-drawer-body.is-fill {
307
+ display: flex;
308
+ flex-direction: column;
309
+ }
310
+
311
+ :is(.k-modal-body, .k-drawer-body).is-fill > * {
312
+ flex: 1;
313
+ min-height: 0;
314
+ }
315
+
305
316
  .k-modal-footer,
306
317
  .k-drawer-footer {
307
318
  display: flex;
@@ -4,3 +4,13 @@
4
4
  gap: 0.5rem;
5
5
  margin-inline-start: auto;
6
6
  }
7
+
8
+ .k-drawer-body.is-fill > .k-form-drawer-form {
9
+ display: flex;
10
+ flex-direction: column;
11
+ }
12
+
13
+ .k-drawer-body.is-fill > .k-form-drawer-form > * {
14
+ flex: 1;
15
+ min-height: 0;
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.20",
3
+ "version": "0.16.21",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",