@xleddyl/443-components-vue 0.16.80 → 0.16.82

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
@@ -41,6 +41,7 @@ Playground paths in this file are relative to `playground/nuxt/app/pages/compone
41
41
  | Single line text | `Input` |
42
42
  | Multi line text | `Textarea` |
43
43
  | Rich text (bold, lists, links) | `RichTextEditor` (group `editor`) |
44
+ | Template with placeholders ({name} {size}) | `TemplateEditor`, `TemplateText` (group `editor`) |
44
45
  | Password with strength meter and generator | `PasswordInput` |
45
46
  | Number with stepper, locale format | `NumberInput` |
46
47
  | Money or unit prefix and suffix around an input | `InputGroup` + `InputAddon` |
@@ -193,21 +194,21 @@ All field components work inside `FormField` and take `invalid`, `disabled`, `re
193
194
 
194
195
  Mount `OverlayHost` once for the imperative hooks (see [Composables](#composables)).
195
196
 
196
- | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
197
- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
198
- | `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; a long trail stays on one line, the middle crumbs collapse into a "..." menu and the current title truncates), `backLabel`, `guard` (default `true`: closing, or a trail navigation, with a dirty `Form` inside asks to discard first; `beforeClose` runs after), `guardTitle`, `guardMessage`. Slots: default (`{ tab }`), `header`, `actions` (header, before the close button), `footer`, `title-trailing`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. Exposes `close()`, `confirmLeave()`, `dirty`. | `overlays/modal.vue` |
199
- | `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`, `guard`, `guardTitle`, `guardMessage` (as `Modal`). Slots like `Modal`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. Exposes `close()`, `confirmLeave()`, `dirty`. | `overlays/drawer.vue` |
200
- | `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` |
201
- | `ConfirmHost` | Renders the dialogs of `useConfirm`, `useAlert`, `usePrompt`. `OverlayHost` includes it. Do not mount it alone. | None. | - |
202
- | `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` |
203
- | `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` |
204
- | `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`, `color` (palette name or hex dot, or `muted` for a grey dot of an empty state), `to`, `href`, `tone: danger`, `shortcut`, `disabled`, `disabledReason` (with `disabled`: a tooltip on hover and keyboard focus, linked with `aria-describedby`; the item stays reachable but not selectable), `children`, `onSelect`; also `type`: checkbox, radio, label, separator), `placement`, `offset`, `matchTriggerWidth`, `minWidth`. Slot: default (the trigger). Event: `select`. | `overlays/dropdown-menu.vue` |
205
- | `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` |
206
- | `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` |
207
- | `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` |
208
- | `Tooltip` | Short text on hover or focus. Optional shortcut. `Button` already shows one for icon-only buttons, `tooltip` and `disabledReason`. | Props: `text`, `placement`, `openDelay`, `closeDelay`, `arrow`, `shortcut`, `disabled`. Slots: default (trigger), `content`. | `overlays/tooltip.vue` |
209
- | `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`, `badge`, `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` |
210
- | `CommandButton` | A `Button` made from a `CommandItem`: label, icon, `to`, `href`, `disabled`, `disabledReason` (tooltip on the disabled button) and `onSelect` come from the command. | Props: `command`, `label`, `icon`, `iconOnly` (a square button with the icon only, the label as `aria-label` and tooltip), and every `Button` prop (size, variant, tone). | `overlays/command-palette.vue` |
197
+ | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
198
+ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
199
+ | `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`, `height` (fixed, capped at the viewport), `dismissible`, `hideClose`, `sheet`, `flush`, `fill`, `loading`, `beforeClose(reason)`, `tabs` (tabs in the header), `trail` (breadcrumb title and back button; a long trail stays on one line, the middle crumbs collapse into a "..." menu and the current title truncates), `backLabel`, `guard` (default `true`: closing, or a trail navigation, with a dirty `Form` inside asks to discard first; `beforeClose` runs after), `guardTitle`, `guardMessage`. Slots: default (`{ tab }`), `header`, `actions` (header, before the close button), `footer`, `title-trailing`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. Exposes `close()`, `confirmLeave()`, `dirty`. | `overlays/modal.vue` |
200
+ | `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`, `guard`, `guardTitle`, `guardMessage` (as `Modal`). Slots like `Modal`. Events: `open`, `close`, `afterLeave`, `navigate(index)`. Exposes `close()`, `confirmLeave()`, `dirty`. | `overlays/drawer.vue` |
201
+ | `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` |
202
+ | `ConfirmHost` | Renders the dialogs of `useConfirm`, `useAlert`, `usePrompt`. `OverlayHost` includes it. Do not mount it alone. | None. | - |
203
+ | `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` |
204
+ | `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` |
205
+ | `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`, `color` (palette name or hex dot, or `muted` for a grey dot of an empty state), `to`, `href`, `tone: danger`, `shortcut`, `disabled`, `disabledReason` (with `disabled`: a tooltip on hover and keyboard focus, linked with `aria-describedby`; the item stays reachable but not selectable), `children`, `onSelect`; also `type`: checkbox, radio, label, separator), `placement`, `offset`, `matchTriggerWidth`, `minWidth`. Slot: default (the trigger). Event: `select`. | `overlays/dropdown-menu.vue` |
206
+ | `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` |
207
+ | `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` |
208
+ | `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` |
209
+ | `Tooltip` | Short text on hover or focus. Optional shortcut. `Button` already shows one for icon-only buttons, `tooltip` and `disabledReason`. | Props: `text`, `placement`, `openDelay`, `closeDelay`, `arrow`, `shortcut`, `disabled`. Slots: default (trigger), `content`. | `overlays/tooltip.vue` |
210
+ | `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`, `badge`, `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` |
211
+ | `CommandButton` | A `Button` made from a `CommandItem`: label, icon, `to`, `href`, `disabled`, `disabledReason` (tooltip on the disabled button) and `onSelect` come from the command. | Props: `command`, `label`, `icon`, `iconOnly` (a square button with the icon only, the label as `aria-label` and tooltip), and every `Button` prop (size, variant, tone). | `overlays/command-palette.vue` |
211
212
 
212
213
  ## Data
213
214
 
@@ -310,9 +311,11 @@ Grid helpers: `registerGridModules`, `registerGridEditorModules`, `registerGridF
310
311
 
311
312
  ## Editor (group `editor`)
312
313
 
313
- | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
314
- | ---------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
315
- | `RichTextEditor` | Rich text field (Tiptap): headings, bold, italic, lists, quote, code, links. Use `Textarea` for plain text. | Model: `v-model` (HTML string or JSON, per `format`). Props: `format` (html, json), `placeholder`, `readonly`, `disabled`, `invalid`, `required`, `maxLength`, `showCount`, `minHeight`, `maxHeight`, `toolbar` (items and `'\|'` separators, `'source'` for the raw value toggle), `source` (adds the raw value toggle to the default toolbar), `headings`, `headingLabel`, `linkTypes` (url, email, phone), `extensions`, `messages`. Works inside `FormField`. | `editor/rich-text-editor.vue` |
314
+ | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
315
+ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
316
+ | `RichTextEditor` | Rich text field (Tiptap): headings, bold, italic, lists, quote, code, links. Use `Textarea` for plain text. | Model: `v-model` (HTML string or JSON, per `format`). Props: `format` (html, json), `placeholder`, `readonly`, `disabled`, `invalid`, `required`, `maxLength`, `showCount`, `minHeight`, `maxHeight`, `toolbar` (items and `'\|'` separators, `'source'` for the raw value toggle), `source` (adds the raw value toggle to the default toolbar), `headings`, `headingLabel`, `linkTypes` (url, email, phone), `extensions`, `messages`. Works inside `FormField`. | `editor/rich-text-editor.vue` |
317
+ | `TemplateEditor` | Single line template with `{key}` placeholders for users who do not know the syntax: each placeholder is one block with its label, an insert button lists the tokens with their description, a click on a block changes or removes it, typed or pasted `{key}` becomes a block. | Model: `v-model` (plain text with `{key}`). Props: `tokens` (`TemplateToken[]`: `key`, `label`, `description`, `group`), `preview` (result text under the field, empty shows `editor.previewEmpty`), `placeholder`, `readonly`, `disabled`, `invalid`, `required`, `maxLength` (of the stored text), `label`, `messages`. Slot: `preview` (`{ value }`). Works inside `FormField`. | `editor/template-editor.vue` |
318
+ | `TemplateText` | Read only render of a template value with the same blocks (lists, grid cells). | Props: `value`, `tokens`. Helpers: `templateParts(value, tokens)` (text and token parts, unknown `{key}` stays text), `templateToken(key)`, `TEMPLATE_TOKEN_PATTERN`. | `editor/template-editor.vue` |
316
319
 
317
320
  ## Chart (group `chart`)
318
321
 
package/README.md CHANGED
@@ -63,7 +63,7 @@ Every component is registered with the prefix (`Button.vue` becomes `<KButton>`)
63
63
  | `icons.defaultCollection` | none | Collection tried for names without a prefix that are not registered or built in. |
64
64
  | `icons.aliases` | `{}` | Replaces any icon, built-ins included: `{ 'x-mark': 'lucide:x', logo: 'brand-logo' }` (a collection icon or a file of `icons.dir`). |
65
65
  | `grid` | `false` | Registers `KDataGrid` and `KGridToolbar` and injects their CSS. An object (`{ density, columnMenu, exportable, pageSizes }`, `GridConfig`) does the same and sets these props for every grid of the app; a prop on a grid still wins. See [Grid defaults](#grid-defaults). |
66
- | `editor` | `false` | Registers `KRichTextEditor` and injects its CSS. |
66
+ | `editor` | `false` | Registers `KRichTextEditor`, `KTemplateEditor`, `KTemplateText` and injects their CSS. |
67
67
  | `chart` | `false` | Registers `KChartPanel`, `KChartLegend`, `KLineChart`, `KBarChart`, `KDoughnutChart` and injects their CSS. |
68
68
  | `layouts` | `false` | Registers the ready Nuxt layouts `k-dashboard` and `k-auth` (configured from `app.config.ts`, see [Layouts](#layouts-and-page-templates)). Pass `{ dashboard: 'admin', auth: false }` to rename or skip one. |
69
69
  | `cssTarget` | modern browsers | Sets `vite.build.cssTarget` when the host did not, so Lightning CSS keeps `light-dark()`. Pass `false` to leave the build target alone. |
@@ -471,7 +471,7 @@ async function switchView() {
471
471
  | templates | DashboardLayout, AuthLayout, AuthLogin, AuthLogout, DashboardPage, ListPage, DetailPage, FormPage, SettingsPage, SettingsSection, SettingsModal, SettingsGroup, AppearanceSettings, SaveBar, ErrorPage, NotFoundPage, EmptyPage, Brand, AccountMenu, FormDrawer |
472
472
  | feedback | Alert, EmptyState, LoadingOverlay, Meter, Progress, ProgressRing, Skeleton, SkeletonForm, SkeletonList |
473
473
  | grid | DataGrid, GridToolbar, cell renderers (BadgeCell, BooleanCell, ButtonCell, DateCell, EmptyCell, ImageCell, LinkCell) |
474
- | editor | RichTextEditor |
474
+ | editor | RichTextEditor, TemplateEditor, TemplateText |
475
475
  | chart | ChartPanel, ChartLegend, LineChart, BarChart, DoughnutChart |
476
476
 
477
477
  Composables: `useTheme`, `usePreset`, `useForm`, `useField`, `useFieldControl`, `useToast` (and `toast`), `useConfirm`, `useAlert`, `usePrompt`, `useModal`, `useDrawer`, `useOverlay`, `useModalContext`, `useLoading` (and `withLoading`), `useLoadingState`, `useHotkey`, `useCopy`, `useFileDrop` (with `readDroppedFiles`), `useSortable`, `usePasswordStrength`, `useTableSort`, `useAppShell`, `useRouteState`, `useRouteRecord`, `usePageCommands`, `usePreference` (with `usePreferences`, `createPreferences`, `providePreferences`), `useScrollLock`, `useLeaveGuard` (with `useLeaveScope`, `provideLeaveScope`), `useDirtyGuard`, `useIcons` helpers and `useLinkComponent`, `provideFieldBoundary`, `provideAuxiliaryControls`, `provideForm`, `provideGridConfig` (with `createGridConfig`, `useGridConfig`), `useLocale`. With the Nuxt module also `useDashboard()` (runtime account, breadcrumbs and badges for the `k-dashboard` layout) and `useNavigationPending()` (`true` while a navigation to another path renders the new page).
@@ -520,7 +520,7 @@ On your own elements, `paletteClass(color)` gives the class of a palette name an
520
520
  - `FilterPills` can list active filters: options with `removable: true` render as active pills with a remove button (`removeLabel`, a `'Remove {label}'` template). Clicking the pill emits `select(value)`, the button emits `remove(value)` (and drops the value from the model when it is selected); focus moves to the next pill when the removed one disappears.
521
521
  - `Calendar` takes `dayText: (iso) => string | undefined`, a short line under each day number that is also added to the day's accessible name (availability, prices). The `#day` slot (`{ date, number, text, selected, unavailable, outOfRange, inMonth }`) replaces the cell content; it is decorative, so announced text still comes from `dayText`. Days before `min` or after `max` get the `is-out-of-range` class (and `is-unavailable`, like days rejected by `isDateDisabled`), so the `--k-calendar-out-of-range-*` tokens style them apart from disabled days.
522
522
  - `Separator` takes `description` (or `#description`) under its label, and an `#actions` slot rendered next to them (a small add or edit button). `variant="heading"` (`SeparatorVariant`, `'label' | 'heading'`, default `'label'`) shows the label as a section title on its own (an `h3`, `level` changes it) with the description below and the actions at the end, under one line above instead of the small muted label between two lines. `:lines="false"` (default `true`) hides the lines of either variant. `align` (`SeparatorAlign`, `'start' | 'center'`, default `'start'`) centers the heading title and description. `--k-separator-heading-font-size` (0.9375rem) sizes the heading, `--k-separator-heading-color` (default `--k-text`) colors it, and `--k-separator-label-font-size` (0.75rem) sizes the small label of `variant="label"`, with or without lines.
523
- - `Modal` takes `width` (any CSS length, overrides `size`) and `minHeight` (keeps the height steady while tabs or steps change). The size widths are tokens: `--k-modal-width-sm` (26rem), `--k-modal-width-md` (32rem), `--k-modal-width-lg` (50rem), `--k-modal-width-xl` (64rem).
523
+ - `Modal` takes `width` (any CSS length, overrides `size`), `minHeight` (keeps the height steady while tabs or steps change) and `height` (a fixed height, capped at the viewport: every tab or step has the same size and the body scrolls). The size widths are tokens: `--k-modal-width-sm` (26rem), `--k-modal-width-md` (32rem), `--k-modal-width-lg` (50rem), `--k-modal-width-xl` (64rem).
524
524
  - `Stepper` shows the steps of a wizard: `steps` (`StepperStep[]`: `value`, `label`, `description`, `icon`, `disabled`, `state` `'complete' | 'error'`) and `v-model` for the current value. It renders a `nav` (named by `label`, default "Progress") around an ordered list; the current step has `aria-current="step"`, every step carries a hidden "Step 2 of 4" (`stepper.position`, `positionLabel` overrides it) and its state ("completed", "has errors"). Clickable steps are buttons with one tab stop and arrow keys, Home and End between them. `linear` makes only completed steps (`state: 'complete'` or before the current one) and the current step clickable; `readonly` renders no buttons. `orientation="vertical"` stacks the steps; `size="sm"` is denser. `compact` is `'auto'` by default: below 36rem of container width the labels are visually hidden (still read) and a "Step 2 of 4 Columns" line shows the current step; `true` forces it, `false` turns it off. `:summary="false"` keeps only the numbers in compact mode, without that line (a stepper in a modal header). `select(step)` fires on a click before the model changes.
525
525
 
526
526
  ```vue
@@ -133,6 +133,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
133
133
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
134
134
  innerHTML?: string | undefined;
135
135
  color?: string | undefined;
136
+ height?: string;
136
137
  lang?: string | undefined;
137
138
  width?: string;
138
139
  tabindex?: (string | number) | undefined;
@@ -373,6 +374,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
373
374
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
374
375
  innerHTML?: string | undefined;
375
376
  color?: string | undefined;
377
+ height?: string;
376
378
  lang?: string | undefined;
377
379
  width?: string;
378
380
  tabindex?: (string | number) | undefined;
@@ -123,6 +123,7 @@ declare const __VLS_export: import("vue").DefineComponent<Partial<NonNullable<{
123
123
  readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
124
124
  readonly innerHTML?: string | undefined | undefined;
125
125
  readonly color?: string | undefined | undefined;
126
+ readonly height?: string | undefined;
126
127
  readonly lang?: string | undefined | undefined;
127
128
  readonly width?: string | undefined;
128
129
  readonly tabindex?: (string | number) | undefined;
@@ -359,6 +360,7 @@ declare const __VLS_export: import("vue").DefineComponent<Partial<NonNullable<{
359
360
  readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
360
361
  readonly innerHTML?: string | undefined | undefined;
361
362
  readonly color?: string | undefined | undefined;
363
+ readonly height?: string | undefined;
362
364
  readonly lang?: string | undefined | undefined;
363
365
  readonly width?: string | undefined;
364
366
  readonly tabindex?: (string | number) | undefined;
@@ -56,11 +56,13 @@ const props = defineProps({
56
56
  guardTitle: { type: String, required: false },
57
57
  guardMessage: { type: String, required: false },
58
58
  width: { type: String, required: false },
59
- minHeight: { type: String, required: false }
59
+ minHeight: { type: String, required: false },
60
+ height: { type: String, required: false }
60
61
  });
61
62
  const sizeStyle = computed(() => ({
62
63
  "--k-modal-custom-width": props.width,
63
- "--k-modal-min-height": props.minHeight
64
+ "--k-modal-min-height": props.minHeight,
65
+ "--k-modal-height": props.height
64
66
  }));
65
67
  const slots = defineSlots();
66
68
  const slotNames = () => Object.keys(slots);
@@ -23,6 +23,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
23
23
  guardMessage?: string;
24
24
  width?: string;
25
25
  minHeight?: string;
26
+ height?: string;
26
27
  open?: boolean | undefined;
27
28
  tab?: TabItem["value"];
28
29
  key?: PropertyKey | undefined;
@@ -258,6 +259,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
258
259
  guardMessage?: string;
259
260
  width?: string;
260
261
  minHeight?: string;
262
+ height?: string;
261
263
  open?: boolean | undefined;
262
264
  tab?: TabItem["value"];
263
265
  key?: PropertyKey | undefined;
@@ -60,6 +60,7 @@ declare const __VLS_export: <S extends FormSchema, V extends object>(__VLS_props
60
60
  readonly guardMessage?: string | undefined;
61
61
  readonly width?: string | undefined;
62
62
  readonly minHeight?: string | undefined;
63
+ readonly height?: string | undefined;
63
64
  readonly open?: boolean | undefined;
64
65
  readonly tab?: import("../layout/types.ts").TabItem["value"] | undefined;
65
66
  readonly key?: PropertyKey | undefined;
@@ -168,6 +168,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
168
168
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
169
169
  innerHTML?: string | undefined;
170
170
  color?: string | undefined;
171
+ height?: string;
171
172
  lang?: string | undefined;
172
173
  width?: string;
173
174
  tabindex?: (string | number) | undefined;
@@ -423,6 +424,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
423
424
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
424
425
  innerHTML?: string | undefined;
425
426
  color?: string | undefined;
427
+ height?: string;
426
428
  lang?: string | undefined;
427
429
  width?: string;
428
430
  tabindex?: (string | number) | undefined;