@xleddyl/443-components-vue 0.16.66 → 0.16.68

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
@@ -161,30 +161,31 @@ Playground paths in this file are relative to `playground/nuxt/app/pages/compone
161
161
 
162
162
  All field components work inside `FormField` and take `invalid`, `disabled`, `readonly`, `required` and `size`, except: `Select` has no `readonly`, `Slider` and `PaletteSelect` have no `required`, `Calendar` takes only `disabled` and `readonly`. They use `v-model`.
163
163
 
164
- | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
165
- | ------------------ | ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
166
- | `Checkbox` | One boolean, or one value in an array model. Use `Switch` for an instant setting. | Model: boolean or array. Props: `label`, `description`, `value`, `indeterminate`. Slots: default, `description`. | `forms/checkbox.vue` |
167
- | `CheckboxGroup` | Several choices as checkboxes from `options`. | Model: `T[]`. Props: `options` (`label`, `value`, `description`, `disabled`, `icon`), `legend`, `orientation`, `columns`, `variant` (default, filled), `name`. | `forms/checkbox-group.vue` |
168
- | `Radio` | One radio option, used inside `RadioGroup`. | Props: `value`, `label`, `description`, `icon`. Slots: default, `description`. | `forms/radio-group.vue` |
169
- | `RadioGroup` | One choice from a short list. Use `Select` for long lists, `SegmentedControl` for a compact toggle. | Model: value or null. Props: `options`, `legend`, `orientation`, `variant` (default, card), `name`. | `forms/radio-group.vue` |
170
- | `SegmentedControl` | Compact toggle between 2 to 5 options (view mode, period). | Model: value (with `required` it is never null). Props: `options` (`label`, `value`, `icon`, `title`, `muted`), `iconOnly`, `block`, `label`. Slot: `option`. | `forms/segmented-control.vue` |
171
- | `Select` | Native styled select. Use `Combobox` when search or async options are needed. | Model: `T or null`. Props: `options` (items or groups with `label`, `value`, `disabled`), `placeholder`, `icon`. Option values can be string, number or boolean. | `forms/select.vue` |
172
- | `Combobox` | Searchable select. Local filter, async `search`, `multiple` with tags, `creatable`. | Models: `v-model`, `v-model:query`. Props: `options` (`label`, `value`, `description`, `icon`, `color` (dot and tag color), `group` (divider with the group name, also the tooltip of a selected tag), `keywords`), `search(query, signal)`, `filter`, `multiple`, `hideTags`, `creatable`, `createActions`, `createTransform`, `createValidate` (a returned string is the inline error), `debounce`, `minQueryLength`, `maxSelected`, `clearable`, `loading`, `placeholder`, `emptyText`. Slots: `option`, `empty`, `header` (top of the panel, for example quick filter pills). Events: `create`, `open`, `close`. | `forms/combobox.vue` |
173
- | `TreeSelect` | Pick one node of a hierarchy (category, folder) with a drill-down panel, one level at a time. | Model: `TreeNodeId or null`. Props: `nodes` (`TreeNode`: `id`, `label`, `description`, `icon`, `disabled`, `children`), `leavesOnly` (parents only navigate), `separator` (path in the control and in search results, default `' / '`), `clearable`, `placeholder`, `searchPlaceholder`, `emptyText`, `icon`. Search lists every match with its path. Slots: `node` (`node`, `selected`, `path`), `empty`. Events: `open`, `close`. | `forms/tree-select.vue` |
174
- | `Switch` | On or off setting that applies at once. | Model: boolean. Props: `label`, `description`, `labelPosition`, `checkedIcon`, `uncheckedIcon`, `name`. Slots: default, `description`. | `forms/switch.vue` |
175
- | `NumberInput` | Locale aware number with stepper, min, max, step. | Model: number or null. Props: `min`, `max`, `step`, `largeStep`, `locale`, `formatOptions` (currency, percent), `decimalSeparator` (`'.'` or `','`, default from the locale), `stepper`, `wheel`, `align` (`start`, the default, or `end`), `icon`, `placeholder`. Numbers are left aligned like every other field. Typing keeps only digits, one decimal separator (a typed `.` or `,` becomes the separator) and a leading `-` when `min` allows negatives. | `forms/number-input.vue` |
176
- | `PasswordInput` | Password with show or hide, optional generator, copy and strength meter. | Model: string. Props: `generate` (true or a function), `copy`, `strength`, `minLength`, `autocomplete`. Event: `generate`. | `forms/password-input.vue` |
177
- | `PinInput` | One time code or PIN in separate cells. | Model: string. Props: `length`, `mode` (numeric, alphanumeric, alphabetic), `mask`, `uppercase`, `separatorAfter`, `autocomplete`. Event: `complete(value)`. | `forms/pin-input.vue` |
178
- | `InputGroup` | Join an input with addons or buttons on its sides. | Props: `label`, `size`, `block`. Slot: default (inputs, `InputAddon`, `Button`). | `forms/input-group.vue` |
179
- | `InputAddon` | Static text or icon (currency, domain, unit) inside an `InputGroup`. | Props: `label`, `icon`, `size`. Slot: default. | `forms/input-group.vue` |
180
- | `DateInput` | Native date, datetime-local, month or week input. Use `DatePicker` for a calendar popover or ranges. | Model: ISO string or null. Props: `type`, `min`, `max`, `step`, `clearable`. | `forms/date-input.vue` |
181
- | `DatePicker` | Input with a calendar popover. Single date or `range`. | Model: ISO string, range object (`start`, `end`) or null. Props: `range`, `min`, `max`, `isDateDisabled`, `locale`, `weekStartsOn`, `format`, `closeOnSelect`, `clearable`. Slot: `footer`. | `forms/date-picker.vue` |
182
- | `Calendar` | Inline calendar. Use it for availability views, or as a building block. | Models: `v-model` (date or range), `v-model:month`. Props: `range`, `min`, `max`, `isDateDisabled`, `locale`, `weekStartsOn`, `dayText(iso)`. Slots: `day`, `footer`. Event: `select`. | `forms/calendar.vue` |
183
- | `TimeInput` | Time of day (HH:MM, optional seconds). | Model: string or null. Props: `min`, `max`, `step`, `seconds`, `clearable`. | `forms/time-input.vue` |
184
- | `ColorInput` | Color text field with picker and swatches. | Model: hex string or null. Props: `swatches` (strings or `{ value, label }`), `placeholder`, `invalidText`. | `forms/color-input.vue` |
185
- | `PaletteSelect` | Select of a palette color, with the dot and the localized color name. | Model: `ColorValue` (palette name or `#rrggbb`) or null. Props: `colors` (subset of `PALETTE_COLORS`), `clearable` (placeholder "Automatic"), `custom` (adds "Custom": choosing it shows a `ColorInput` under the select and the model becomes the hex), `customLabel` (name of the color input), `placeholder`, `size`, `disabled`, `readonly`, `invalid`. | `forms/palette-select.vue` |
186
- | `Slider` | Number in a range with drag handle. | Model: number. Props: `min`, `max`, `step`, `bubble` (true, always), `marks`, `format(value)`, `label`. Event: `change` (on release). | `forms/slider.vue` |
187
- | `FileInput` | Drop zone and file picker. Validates type, size and count. Supports folders and previews. | Model: `File`, `File[]` or null. Props: `accept`, `acceptMode`, `maxSize`, `maxFiles`, `multiple`, `directory`, `directoryAction`, `previews`, `list`, `loading`, `capture`, `title`, `dropText`, `hint`. Slots: `title`, `hint`, `actions`. Events: `add`, `remove`, `invalid`, `reject`. | `forms/file-input.vue` |
164
+ | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
165
+ | ------------------ | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
166
+ | `Checkbox` | One boolean, or one value in an array model. Use `Switch` for an instant setting. | Model: boolean or array. Props: `label`, `description`, `value`, `indeterminate`. Slots: default, `description`. | `forms/checkbox.vue` |
167
+ | `CheckboxGroup` | Several choices as checkboxes from `options`. | Model: `T[]`. Props: `options` (`label`, `value`, `description`, `disabled`, `icon`), `legend`, `orientation`, `columns`, `variant` (default, filled), `name`. | `forms/checkbox-group.vue` |
168
+ | `Radio` | One radio option, used inside `RadioGroup`. | Props: `value`, `label`, `description`, `icon`. Slots: default, `description`. | `forms/radio-group.vue` |
169
+ | `RadioGroup` | One choice from a short list. Use `Select` for long lists, `SegmentedControl` for a compact toggle. | Model: value or null. Props: `options`, `legend`, `orientation`, `variant` (default, card), `name`. | `forms/radio-group.vue` |
170
+ | `SegmentedControl` | Compact toggle between 2 to 5 options (view mode, period). | Model: value (with `required` it is never null). Props: `options` (`label`, `value`, `icon`, `title`, `muted`), `iconOnly`, `block`, `label`. Slot: `option`. | `forms/segmented-control.vue` |
171
+ | `Select` | Native styled select. Use `Combobox` when search or async options are needed. | Model: `T or null`. Props: `options` (items or groups with `label`, `value`, `disabled`), `placeholder`, `icon`. Option values can be string, number or boolean. | `forms/select.vue` |
172
+ | `Combobox` | Searchable select. Local filter, async `search`, `multiple` with tags, `creatable`. | Models: `v-model`, `v-model:query`. Props: `options` (`label`, `value`, `description`, `icon`, `color` (dot and tag color), `group` (divider with the group name, also the tooltip of a selected tag), `keywords`), `search(query, signal)`, `filter`, `multiple`, `hideTags`, `creatable`, `createActions`, `createTransform`, `createValidate` (a returned string is the inline error), `debounce`, `minQueryLength`, `maxSelected`, `clearable`, `loading`, `placeholder`, `emptyText`. Slots: `option`, `empty`, `header` (top of the panel, for example quick filter pills). Events: `create`, `open`, `close`. | `forms/combobox.vue` |
173
+ | `TreeSelect` | Pick one node of a hierarchy (category, folder) with a drill-down panel, one level at a time. | Model: `TreeNodeId or null`. Props: `nodes` (`TreeNode`: `id`, `label`, `description`, `icon`, `disabled`, `children`), `leavesOnly` (parents only navigate), `separator` (path in the control and in search results, default `' / '`), `clearable`, `placeholder`, `searchPlaceholder`, `emptyText`, `icon`. Search lists every match with its path. Slots: `node` (`node`, `selected`, `path`), `empty`. Events: `open`, `close`. | `forms/tree-select.vue` |
174
+ | `Switch` | On or off setting that applies at once. | Model: boolean. Props: `label`, `description`, `labelPosition`, `checkedIcon`, `uncheckedIcon`, `name`. Slots: default, `description`. | `forms/switch.vue` |
175
+ | `NumberInput` | Locale aware number with stepper, min, max, step. | Model: number or null. Props: `min`, `max`, `step`, `largeStep`, `locale`, `formatOptions` (currency, percent), `decimalSeparator` (`'.'` or `','`, default from the locale), `stepper`, `wheel`, `align` (`start`, the default, or `end`), `icon`, `placeholder`. Numbers are left aligned like every other field. Typing keeps only digits, one decimal separator (a typed `.` or `,` becomes the separator) and a leading `-` when `min` allows negatives. | `forms/number-input.vue` |
176
+ | `PasswordInput` | Password with show or hide, optional generator, copy and strength meter. | Model: string. Props: `generate` (true or a function), `copy`, `strength`, `minLength`, `autocomplete`. Event: `generate`. | `forms/password-input.vue` |
177
+ | `PinInput` | One time code or PIN in separate cells. | Model: string. Props: `length`, `mode` (numeric, alphanumeric, alphabetic), `mask`, `uppercase`, `separatorAfter`, `autocomplete`. Event: `complete(value)`. | `forms/pin-input.vue` |
178
+ | `InputGroup` | Join an input with addons or buttons on its sides. | Props: `label`, `size`, `block`. Slot: default (inputs, `InputAddon`, `Button`). | `forms/input-group.vue` |
179
+ | `Fieldset` | Group of fields that can be disabled together, outside or inside a `Form` (a read only part of a page). | Props: `disabled` (every field inside is disabled, the same as `Form` `disabled`; without it the group inherits the state of its parent), `legend`. Slot: default. | `forms/fieldset.vue` |
180
+ | `InputAddon` | Static text or icon (currency, domain, unit) inside an `InputGroup`. | Props: `label`, `icon`, `size`. Slot: default. | `forms/input-group.vue` |
181
+ | `DateInput` | Native date, datetime-local, month or week input. Use `DatePicker` for a calendar popover or ranges. | Model: ISO string or null. Props: `type`, `min`, `max`, `step`, `clearable`. | `forms/date-input.vue` |
182
+ | `DatePicker` | Input with a calendar popover. Single date or `range`. | Model: ISO string, range object (`start`, `end`) or null. Props: `range`, `min`, `max`, `isDateDisabled`, `locale`, `weekStartsOn`, `format`, `closeOnSelect`, `clearable`. Slot: `footer`. | `forms/date-picker.vue` |
183
+ | `Calendar` | Inline calendar. Use it for availability views, or as a building block. | Models: `v-model` (date or range), `v-model:month`. Props: `range`, `min`, `max`, `isDateDisabled`, `locale`, `weekStartsOn`, `dayText(iso)`. Slots: `day`, `footer`. Event: `select`. | `forms/calendar.vue` |
184
+ | `TimeInput` | Time of day (HH:MM, optional seconds). | Model: string or null. Props: `min`, `max`, `step`, `seconds`, `clearable`. | `forms/time-input.vue` |
185
+ | `ColorInput` | Color text field with picker and swatches. | Model: hex string or null. Props: `swatches` (strings or `{ value, label }`), `placeholder`, `invalidText`. | `forms/color-input.vue` |
186
+ | `PaletteSelect` | Select of a palette color, with the dot and the localized color name. | Model: `ColorValue` (palette name or `#rrggbb`) or null. Props: `colors` (subset of `PALETTE_COLORS`), `clearable` (placeholder "Automatic"), `custom` (adds "Custom": choosing it shows a `ColorInput` under the select and the model becomes the hex), `customLabel` (name of the color input), `placeholder`, `size`, `disabled`, `readonly`, `invalid`. | `forms/palette-select.vue` |
187
+ | `Slider` | Number in a range with drag handle. | Model: number. Props: `min`, `max`, `step`, `bubble` (true, always), `marks`, `format(value)`, `label`. Event: `change` (on release). | `forms/slider.vue` |
188
+ | `FileInput` | Drop zone and file picker. Validates type, size and count. Supports folders and previews. | Model: `File`, `File[]` or null. Props: `accept`, `acceptMode`, `maxSize`, `maxFiles`, `multiple`, `directory`, `directoryAction`, `previews`, `list`, `loading`, `capture`, `title`, `dropText`, `hint`. Slots: `title`, `hint`, `actions`. Events: `add`, `remove`, `invalid`, `reject`. | `forms/file-input.vue` |
188
189
 
189
190
  ## Overlays
190
191
 
@@ -208,23 +209,23 @@ Mount `OverlayHost` once for the imperative hooks (see [Composables](#composable
208
209
 
209
210
  ## Data
210
211
 
211
- | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
212
- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------- |
213
- | `Table` | Small to medium table with sort, selection, links and loading rows. For thousands of rows or editing use `DataGrid`. | Models: `v-model:sort` (`{ key, direction }`), `v-model:selected` (row keys). Props: `rows`, `columns` (`key`, `label`, `align`, `width`, `numeric`, `sortable`, `value`, `format`), `rowKey`, `selectable`, `rowTo`, `loading`, `emptyText`, `density`, `stickyHeader`, `maxHeight`, `bordered`, `caption`. Slots: `cell-<key>`, `header-<key>`, `empty`. Event: `rowClick`. | `data/table.vue` |
214
- | `Pagination` | Page buttons, page size select and summary. Client or server paging. | Models: `v-model:page`, `v-model:pageSize`. Props: `total`, `pageSizes` (numbers, `'all'` for every row), `allLabel`, `showEdges`, `showJump`, `compact`, `loading`, `showSummary`. Slot: `summary`. | `data/pagination.vue` |
215
- | `SelectionBar` | Shows the selected count and bulk actions for a list or table. | Props: `count`, `total`, `placement` (inline, sticky, floating), `onSelectAll`, `onClear`. Slots: `actions`, `count`. With `count` 0 it renders nothing visible. | `data/selection-bar.vue` |
216
- | `FilterPills` | Quick filters as pills: single, multiple, menu or panel pills, removable active filters. | Model: value, array (`multiple`) or null. Props: `options` (`value`, `label`, `valueLabel`, `count`, `icon`, `color`, `menu`, `panel`, `removable`), `multiple`, `required`, `clearable`, `size`. Slots: `pill`, `panel-<value>`. Events: `select`, `remove`. | `data/filter-pills.vue` |
217
- | `FilterPill` | One pill button. Use it alone for a custom filter trigger. `FilterPills` uses it. | Props: `label`, `valueLabel`, `icon`, `count`, `active`, `pressed`, `caret`, `size`, `disabled`. Slot: default. | `data/filter-pills.vue` |
218
- | `Tag` | Chip or label, optionally removable. Use `Badge` for a status. | Props: `label`, `tone`, `color` (palette name or hex), `size`, `icon`, `removable`, `removeLabel`, `removeTabindex`, `disabled`. Slot: default. Event: `remove`. | `data/tag.vue` |
219
- | `TagList` | A list of `Tag` chips, reorderable by drag, by keyboard (Alt with an arrow key) or move buttons, removable, and a drop target for items dragged from another panel (columns of an export). | Model: `v-model` (`TagListItem[]`: `value`, `label`, `tone`, `icon`, `removable`, `disabled`). Props: `label`, `sortable`, `removable`, `moveButtons`, `accept` (MIME types or a function), `dropEffect`, `tone`, `size`, `disabled`, `emptyText`, `removeLabel`. Slots: `item`, `empty`. Events: `remove`, `move`, `itemDrop` (`{ index, dataTransfer, event }`). | `data/tag-list.vue` |
220
- | `Badge` | Status label, counter or dot. Not interactive. | Props: `label` (string or number), `tone`, `color` (palette name or hex), `variant` (soft, solid, outline), `size`, `dot`, `pulse`, `icon`. Slot: default. | `data/badge.vue` |
221
- | `Avatar` | User picture with initials fallback and status dot. | Props: `src`, `name`, `alt`, `size` (xs to xl), `shape` (circle, square), `status` (online, away, busy, offline), `decorative`. Slot: `fallback`. | `data/avatar.vue` |
222
- | `AvatarGroup` | Overlapping stack of avatars with "+N". | Props: `items` (`src`, `name`, `alt`), `max`, `size`, `shape`, `moreLabel`. | `data/avatar.vue` |
223
- | `Stat` | Key figure (KPI) with unit, delta, trend, hint and optional sparkline. Can be a link. | Props: `label`, `value`, `unit`, `delta`, `trend` (up, down, flat), `invert` (down is good), `hint`, `icon`, `loading`, `to`, `href`, `plain`. Slots: `label`, `value`, `icon`, `sparkline`, `footer`. | `data/stat.vue` |
224
- | `RecordList` | Short list of records (settings, users, tokens): title, badge, description, leading and action slots, `SkeletonList` while `loading`, empty state. | Props: `items` (`RecordListItem`: `id`, `title` (truncated, full text on hover), `description`, `badge` `{ label, tone }`), `loading`, `avatar`, `action`, `label`, `skeletonRows`, `emptyText`, `emptyDescription`, `emptyIcon`, `emptyVariant` (card, the default, or plain). Event: `row-click` (`item`, `event`): the whole row is clickable, clicks on buttons, links and inputs inside the row are ignored. Slots: `leading`, `action` (`{ item }`), `empty`, `empty-actions` (buttons in the default empty state). | `data/record-list.vue` |
225
- | `DescriptionList` | Label and value pairs for a record. Use it on detail views. | Props: `items` (`key`, `label`, `value`, `hint`), `layout` (stacked, inline, grid), `columns`, `divided`, `emptyText`. Slots: `term`, `value`, `value-<key>`. | `data/description-list.vue` |
226
- | `Timeline` | Vertical list of events or activity. | Props: `items` (`title`, `description`, `time`, `datetime`, `icon`, `tone`), `compact`. Slot: `item`. | `data/timeline.vue` |
227
- | `Tree` | Expandable hierarchy with selection, drag to reorder and nesting. | Models: `v-model:expanded`, `v-model:selected`. Props: `nodes` (`id`, `label`, `description`, `meta`, `icon`, `children`, `disabled`), `selectable`, `reorderable`, `nestable`, `moveButtons` (default `true`; `false` hides the row arrows, drag and Alt+arrow keys still work), `canDrop`, `size`, `checkmark`, `emptyText`, `emptyDescription`, `emptyIcon`, `emptyVariant` (card, the default, or plain). Slots: `label`, `meta`, `empty`, `empty-actions` (buttons in the default empty state). Events: `select`, `move`. | `data/tree.vue` |
212
+ | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
213
+ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
214
+ | `Table` | Small to medium table with sort, selection, links and loading rows. For thousands of rows or editing use `DataGrid`. | Models: `v-model:sort` (`{ key, direction }`), `v-model:selected` (row keys). Props: `rows`, `columns` (`key`, `label`, `align`, `width`, `numeric`, `sortable`, `value`, `format`), `rowKey`, `selectable`, `rowTo`, `loading`, `emptyText`, `density`, `stickyHeader`, `maxHeight`, `bordered`, `caption`. Slots: `cell-<key>`, `header-<key>`, `empty`. Event: `rowClick`. | `data/table.vue` |
215
+ | `Pagination` | Page buttons, page size select and summary. Client or server paging. | Models: `v-model:page`, `v-model:pageSize`. Props: `total`, `pageSizes` (numbers, `'all'` for every row), `allLabel`, `showEdges`, `showJump`, `compact`, `loading`, `showSummary`. Slot: `summary`. | `data/pagination.vue` |
216
+ | `SelectionBar` | Shows the selected count and bulk actions for a list or table. | Props: `count`, `total`, `placement` (inline, sticky, floating), `onSelectAll`, `onClear`. Slots: `actions`, `count`. With `count` 0 it renders nothing visible. | `data/selection-bar.vue` |
217
+ | `FilterPills` | Quick filters as pills: single, multiple, menu or panel pills, removable active filters. | Model: value, array (`multiple`) or null. Props: `options` (`value`, `label`, `valueLabel`, `count`, `icon`, `color`, `menu`, `panel`, `removable`), `multiple`, `required`, `clearable`, `size`. Slots: `pill`, `panel-<value>`. Events: `select`, `remove`. | `data/filter-pills.vue` |
218
+ | `FilterPill` | One pill button. Use it alone for a custom filter trigger. `FilterPills` uses it. | Props: `label`, `valueLabel`, `icon`, `count`, `active`, `pressed`, `caret`, `size`, `disabled`. Slot: default. | `data/filter-pills.vue` |
219
+ | `Tag` | Chip or label, optionally removable. Use `Badge` for a status. | Props: `label`, `tone`, `color` (palette name or hex), `size`, `icon`, `removable`, `removeLabel`, `removeTabindex`, `disabled`. Slot: default. Event: `remove`. | `data/tag.vue` |
220
+ | `TagList` | A list of `Tag` chips, reorderable by drag, by keyboard (Alt with an arrow key) or move buttons, removable, and a drop target for items dragged from another panel (columns of an export). | Model: `v-model` (`TagListItem[]`: `value`, `label`, `tone`, `icon`, `removable`, `disabled`). Props: `label`, `sortable`, `removable`, `moveButtons`, `accept` (MIME types or a function), `dropEffect`, `tone`, `size`, `disabled`, `emptyText`, `removeLabel`. Slots: `item`, `empty`. Events: `remove`, `move`, `itemDrop` (`{ index, dataTransfer, event }`). | `data/tag-list.vue` |
221
+ | `Badge` | Status label, counter or dot. Not interactive. | Props: `label` (string or number), `tone`, `color` (palette name or hex), `variant` (soft, solid, outline), `size`, `dot`, `pulse`, `icon`. Slot: default. | `data/badge.vue` |
222
+ | `Avatar` | User picture with initials fallback and status dot. | Props: `src`, `name`, `alt`, `size` (xs to xl), `shape` (circle, square), `status` (online, away, busy, offline), `decorative`. Slot: `fallback`. | `data/avatar.vue` |
223
+ | `AvatarGroup` | Overlapping stack of avatars with "+N". | Props: `items` (`src`, `name`, `alt`), `max`, `size`, `shape`, `moreLabel`. | `data/avatar.vue` |
224
+ | `Stat` | Key figure (KPI) with unit, delta, trend, hint and optional sparkline. Can be a link. | Props: `label`, `value`, `unit`, `delta`, `trend` (up, down, flat), `invert` (down is good), `hint`, `icon`, `loading`, `to`, `href`, `plain`. Slots: `label`, `value`, `icon`, `sparkline`, `footer`. | `data/stat.vue` |
225
+ | `RecordList` | Short list of records (settings, users, tokens): title, badge, description, leading and action slots, `SkeletonList` while `loading`, empty state. | Props: `items` (`RecordListItem`: `id`, `title` (truncated, full text on hover), `description`, `badge` `{ label, tone }`), `loading`, `avatar`, `action`, `label`, `skeletonRows`, `emptyText`, `emptyDescription`, `emptyIcon`, `emptyVariant` (card, the default, or plain). Event: `row-click` (`item`, `event`): each row becomes a navigation item (padding, hover and press background like a ghost button, no separators), clicks on buttons, links and inputs inside the row are ignored. Slots: `leading`, `action` (`{ item }`), `empty`, `empty-actions` (buttons in the default empty state). | `data/record-list.vue` |
226
+ | `DescriptionList` | Label and value pairs for a record. Use it on detail views. | Props: `items` (`key`, `label`, `value`, `hint`), `layout` (stacked, inline, grid), `columns`, `divided`, `emptyText`. Slots: `term`, `value`, `value-<key>`. | `data/description-list.vue` |
227
+ | `Timeline` | Vertical list of events or activity. | Props: `items` (`title`, `description`, `time`, `datetime`, `icon`, `tone`), `compact`. Slot: `item`. | `data/timeline.vue` |
228
+ | `Tree` | Expandable hierarchy with selection, drag to reorder and nesting. | Models: `v-model:expanded`, `v-model:selected`. Props: `nodes` (`id`, `label`, `description`, `meta`, `icon`, `children`, `disabled`), `selectable`, `reorderable`, `nestable`, `moveButtons` (default `true`; `false` hides the row arrows, drag and Alt+arrow keys still work), `canDrop`, `size`, `checkmark`, `emptyText`, `emptyDescription`, `emptyIcon`, `emptyVariant` (card, the default, or plain). Slots: `label`, `meta`, `empty`, `empty-actions` (buttons in the default empty state). Events: `select`, `move`. | `data/tree.vue` |
228
229
 
229
230
  ## Layout
230
231
 
package/README.md CHANGED
@@ -470,7 +470,7 @@ On your own elements, `paletteClass(color)` gives the class of a palette name an
470
470
  - `Combobox` with `creatable` takes `createTransform` (`ComboboxCreateTransform`, `(input) => string | null | undefined`) and `createValidate` (`ComboboxCreateValidate`, `(input) => string | true | undefined`). The transform runs on the typed text first: the "Create" option shows its result, and an empty result (or `null`) shows no create option. The validator gets the transformed text when the user picks the create option: a returned string is the error, shown inline through the surrounding `FormField` (`useFieldControl().setControlError`, or a `FieldMessage` under the control and an announcement without a field) with `aria-invalid` on the input, and nothing is created; `true` or nothing accepts it. The error clears when the query changes. Both work with `multiple`, where created values become tags: `<KCombobox v-model="tags" multiple creatable :create-transform="(input) => input.toLowerCase()" :create-validate="(input) => input.length >= 3 || 'Too short'" />`.
471
471
  - `Combobox` takes `createActions` (`ComboboxCreateActions`, `(query) => ComboboxCreateAction[]`) to show several create items instead of the single "Create" item. Each action has `id` (the item key is `__create:<id>`), `label`, `icon` (default `plus`) and `run(query)`. The actions show at the end of the list under the same conditions as the create item: a non-empty query after `createTransform`, with no option whose label or value matches it exactly. The function gets that text, and an empty array shows no action. `createValidate` runs before `run`. When `run` returns an option, the combobox remembers it, emits `create` and selects it. When it returns nothing (for example it opens a form for the full record), nothing is selected: the query clears and the list closes (with `multiple`, only the query clears). Errors from `run` are logged. `createActions` replaces `creatable`: `<KCombobox v-model="category" :options="categories" :create-actions="(query) => [{ id: 'quick', label: 'Create here', run: createCategory }, { id: 'form', label: 'Create with details', icon: 'pencil-square', run: openForm }]" />`.
472
472
  - `Combobox` with `multiple` takes `hideTags`: the selected values are not rendered as tags inside the control (the host shows them elsewhere), the placeholder stays visible and Backspace no longer removes the last value. Selection is still announced through the options. A long tag label is truncated with an ellipsis and the full label (with the option group or description) is in the tag tooltip.
473
- - `RecordList` keeps each title on one line with an ellipsis; the full title is in its `title` attribute. With a `row-click` listener the whole row is clickable (pointer cursor); a click on a button, link or input inside the row does not emit it, so keep a button in `#action` for the keyboard.
473
+ - `RecordList` keeps each title on one line with an ellipsis; the full title is in its `title` attribute. With a `row-click` listener each row is a navigation item (padding, the hover and press background of a ghost button, no separators, the list bleeds into the inline padding so the text stays aligned); a click on a button, link or input inside the row does not emit it, so keep a button in `#action` for the keyboard.
474
474
  - `Pagination` takes `showEdges` (first and last page buttons, `firstLabel`, `lastLabel`) and `showJump` (a typed page number, `jumpLabel`). Both are off by default. `page` is clamped to the page count only when `total` is known: while `total` is `0` or `loading` is set (it also sets `aria-busy`), the page is kept, so a server reload does not reset it.
475
475
  - Page sizes are `PageSize` values (`number | 'all'`): `pageSizes: [25, 50, 100, 'all']` adds an "All" option (`pagination.all`, override with `allLabel`). With `'all'` the page size model is `'all'`, there is one page and the summary reads `1-<total> of <total>`. `Pagination`, `ListPage` and `DataGrid` take it; with `serverPagination` the grid emits `'all'` through `v-model:page-size` and your API returns every row.
476
476
  - `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.
@@ -0,0 +1,15 @@
1
+ <template>
2
+ <fieldset class="k-fieldset" :disabled="inactive">
3
+ <legend v-if="legend" class="k-fieldset-legend">{{ legend }}</legend>
4
+ <slot />
5
+ </fieldset>
6
+ </template>
7
+
8
+ <script setup>
9
+ import { provideFormDisabled } from "../../internal/forms/disabled";
10
+ const props = defineProps({
11
+ disabled: { type: Boolean, required: false, default: void 0 },
12
+ legend: { type: String, required: false }
13
+ });
14
+ const inactive = provideFormDisabled(() => props.disabled);
15
+ </script>
@@ -0,0 +1,409 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{
6
+ disabled?: (boolean | "true" | "false") | undefined;
7
+ legend?: string;
8
+ form?: string | undefined | undefined;
9
+ name?: string | undefined | undefined;
10
+ innerHTML?: string | undefined | undefined;
11
+ class?: import("vue").ClassValue;
12
+ style?: import("vue").StyleValue;
13
+ accesskey?: string | undefined | undefined;
14
+ contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
15
+ contextmenu?: string | undefined | undefined;
16
+ dir?: string | undefined | undefined;
17
+ draggable?: (boolean | "true" | "false") | undefined;
18
+ enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
19
+ enterKeyHint?: "search" | "done" | "previous" | "next" | "enter" | "go" | "send" | undefined;
20
+ hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
21
+ id?: string | undefined | undefined;
22
+ inert?: (boolean | "true" | "false") | undefined;
23
+ lang?: string | undefined | undefined;
24
+ placeholder?: string | undefined | undefined;
25
+ spellcheck?: (boolean | "true" | "false") | undefined;
26
+ tabindex?: (string | number) | undefined;
27
+ title?: string | undefined | undefined;
28
+ translate?: "yes" | "no" | undefined | undefined;
29
+ radiogroup?: string | undefined | undefined;
30
+ role?: string | undefined | undefined;
31
+ about?: string | undefined | undefined;
32
+ datatype?: string | undefined | undefined;
33
+ inlist?: any;
34
+ prefix?: string | undefined | undefined;
35
+ property?: string | undefined | undefined;
36
+ resource?: string | undefined | undefined;
37
+ typeof?: string | undefined | undefined;
38
+ vocab?: string | undefined | undefined;
39
+ autocapitalize?: string | undefined | undefined;
40
+ autocorrect?: string | undefined | undefined;
41
+ autosave?: string | undefined | undefined;
42
+ color?: string | undefined | undefined;
43
+ itemprop?: string | undefined | undefined;
44
+ itemscope?: (boolean | "true" | "false") | undefined;
45
+ itemtype?: string | undefined | undefined;
46
+ itemid?: string | undefined | undefined;
47
+ itemref?: string | undefined | undefined;
48
+ results?: (string | number) | undefined;
49
+ security?: string | undefined | undefined;
50
+ unselectable?: "on" | "off" | undefined | undefined;
51
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
52
+ is?: string | undefined | undefined;
53
+ exportparts?: string | undefined;
54
+ part?: string | undefined;
55
+ popover?: (import("../..").PopoverMode | "" | boolean) | undefined;
56
+ 'aria-activedescendant'?: string | undefined | undefined;
57
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
58
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
59
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
60
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
61
+ 'aria-colcount'?: (string | number) | undefined;
62
+ 'aria-colindex'?: (string | number) | undefined;
63
+ 'aria-colspan'?: (string | number) | undefined;
64
+ 'aria-controls'?: string | undefined | undefined;
65
+ 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
66
+ 'aria-describedby'?: string | undefined | undefined;
67
+ 'aria-details'?: string | undefined | undefined;
68
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
69
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
70
+ 'aria-errormessage'?: string | undefined | undefined;
71
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
72
+ 'aria-flowto'?: string | undefined | undefined;
73
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
74
+ 'aria-haspopup'?: "grid" | "tree" | "dialog" | "menu" | (boolean | "true" | "false") | "listbox" | undefined;
75
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
76
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
77
+ 'aria-keyshortcuts'?: string | undefined | undefined;
78
+ 'aria-label'?: string | undefined | undefined;
79
+ 'aria-labelledby'?: string | undefined | undefined;
80
+ 'aria-level'?: (string | number) | undefined;
81
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
82
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
83
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
84
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
85
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
86
+ 'aria-owns'?: string | undefined | undefined;
87
+ 'aria-placeholder'?: string | undefined | undefined;
88
+ 'aria-posinset'?: (string | number) | undefined;
89
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
90
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
91
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
92
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
93
+ 'aria-roledescription'?: string | undefined | undefined;
94
+ 'aria-rowcount'?: (string | number) | undefined;
95
+ 'aria-rowindex'?: (string | number) | undefined;
96
+ 'aria-rowspan'?: (string | number) | undefined;
97
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-setsize'?: (string | number) | undefined;
99
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
100
+ 'aria-valuemax'?: (string | number) | undefined;
101
+ 'aria-valuemin'?: (string | number) | undefined;
102
+ 'aria-valuenow'?: (string | number) | undefined;
103
+ 'aria-valuetext'?: string | undefined | undefined;
104
+ onCopy?: ((payload: ClipboardEvent) => void) | undefined;
105
+ onCut?: ((payload: ClipboardEvent) => void) | undefined;
106
+ onPaste?: ((payload: ClipboardEvent) => void) | undefined;
107
+ onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
108
+ onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
109
+ onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
110
+ onDrag?: ((payload: DragEvent) => void) | undefined;
111
+ onDragend?: ((payload: DragEvent) => void) | undefined;
112
+ onDragenter?: ((payload: DragEvent) => void) | undefined;
113
+ onDragexit?: ((payload: DragEvent) => void) | undefined;
114
+ onDragleave?: ((payload: DragEvent) => void) | undefined;
115
+ onDragover?: ((payload: DragEvent) => void) | undefined;
116
+ onDragstart?: ((payload: DragEvent) => void) | undefined;
117
+ onDrop?: ((payload: DragEvent) => void) | undefined;
118
+ onFocus?: ((payload: FocusEvent) => void) | undefined;
119
+ onFocusin?: ((payload: FocusEvent) => void) | undefined;
120
+ onFocusout?: ((payload: FocusEvent) => void) | undefined;
121
+ onBlur?: ((payload: FocusEvent) => void) | undefined;
122
+ onChange?: ((payload: Event) => void) | undefined;
123
+ onBeforeinput?: ((payload: InputEvent) => void) | undefined;
124
+ onFormdata?: ((payload: FormDataEvent) => void) | undefined;
125
+ onInput?: ((payload: InputEvent) => void) | undefined;
126
+ onReset?: ((payload: Event) => void) | undefined;
127
+ onSubmit?: ((payload: SubmitEvent) => void) | undefined;
128
+ onInvalid?: ((payload: Event) => void) | undefined;
129
+ onFullscreenchange?: ((payload: Event) => void) | undefined;
130
+ onFullscreenerror?: ((payload: Event) => void) | undefined;
131
+ onLoad?: ((payload: Event) => void) | undefined;
132
+ onError?: ((payload: Event) => void) | undefined;
133
+ onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
134
+ onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
135
+ onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
136
+ onDblclick?: ((payload: MouseEvent) => void) | undefined;
137
+ onMousedown?: ((payload: MouseEvent) => void) | undefined;
138
+ onMouseenter?: ((payload: MouseEvent) => void) | undefined;
139
+ onMouseleave?: ((payload: MouseEvent) => void) | undefined;
140
+ onMousemove?: ((payload: MouseEvent) => void) | undefined;
141
+ onMouseout?: ((payload: MouseEvent) => void) | undefined;
142
+ onMouseover?: ((payload: MouseEvent) => void) | undefined;
143
+ onMouseup?: ((payload: MouseEvent) => void) | undefined;
144
+ onAbort?: ((payload: UIEvent) => void) | undefined;
145
+ onCanplay?: ((payload: Event) => void) | undefined;
146
+ onCanplaythrough?: ((payload: Event) => void) | undefined;
147
+ onDurationchange?: ((payload: Event) => void) | undefined;
148
+ onEmptied?: ((payload: Event) => void) | undefined;
149
+ onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
150
+ onEnded?: ((payload: Event) => void) | undefined;
151
+ onLoadeddata?: ((payload: Event) => void) | undefined;
152
+ onLoadedmetadata?: ((payload: Event) => void) | undefined;
153
+ onLoadstart?: ((payload: Event) => void) | undefined;
154
+ onPause?: ((payload: Event) => void) | undefined;
155
+ onPlay?: ((payload: Event) => void) | undefined;
156
+ onPlaying?: ((payload: Event) => void) | undefined;
157
+ onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
158
+ onRatechange?: ((payload: Event) => void) | undefined;
159
+ onSeeked?: ((payload: Event) => void) | undefined;
160
+ onSeeking?: ((payload: Event) => void) | undefined;
161
+ onStalled?: ((payload: Event) => void) | undefined;
162
+ onSuspend?: ((payload: Event) => void) | undefined;
163
+ onTimeupdate?: ((payload: Event) => void) | undefined;
164
+ onVolumechange?: ((payload: Event) => void) | undefined;
165
+ onWaiting?: ((payload: Event) => void) | undefined;
166
+ onSelect?: ((payload: Event) => void) | undefined;
167
+ onScroll?: ((payload: Event) => void) | undefined;
168
+ onScrollend?: ((payload: Event) => void) | undefined;
169
+ onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
170
+ onTouchend?: ((payload: TouchEvent) => void) | undefined;
171
+ onTouchmove?: ((payload: TouchEvent) => void) | undefined;
172
+ onTouchstart?: ((payload: TouchEvent) => void) | undefined;
173
+ onAuxclick?: ((payload: PointerEvent) => void) | undefined;
174
+ onClick?: ((payload: PointerEvent) => void) | undefined;
175
+ onContextmenu?: ((payload: PointerEvent) => void) | undefined;
176
+ onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
177
+ onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
178
+ onPointerdown?: ((payload: PointerEvent) => void) | undefined;
179
+ onPointermove?: ((payload: PointerEvent) => void) | undefined;
180
+ onPointerup?: ((payload: PointerEvent) => void) | undefined;
181
+ onPointercancel?: ((payload: PointerEvent) => void) | undefined;
182
+ onPointerenter?: ((payload: PointerEvent) => void) | undefined;
183
+ onPointerleave?: ((payload: PointerEvent) => void) | undefined;
184
+ onPointerover?: ((payload: PointerEvent) => void) | undefined;
185
+ onPointerout?: ((payload: PointerEvent) => void) | undefined;
186
+ onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
187
+ onToggle?: ((payload: ToggleEvent) => void) | undefined;
188
+ onWheel?: ((payload: WheelEvent) => void) | undefined;
189
+ onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
190
+ onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
191
+ onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
192
+ onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
193
+ onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
194
+ onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
195
+ onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
196
+ onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
197
+ onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
198
+ key?: PropertyKey | undefined;
199
+ ref?: import("vue").VNodeRef | undefined;
200
+ ref_for?: boolean | undefined | undefined;
201
+ ref_key?: string | undefined | undefined;
202
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
203
+ disabled?: (boolean | "true" | "false") | undefined;
204
+ legend?: string;
205
+ form?: string | undefined | undefined;
206
+ name?: string | undefined | undefined;
207
+ innerHTML?: string | undefined | undefined;
208
+ class?: import("vue").ClassValue;
209
+ style?: import("vue").StyleValue;
210
+ accesskey?: string | undefined | undefined;
211
+ contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
212
+ contextmenu?: string | undefined | undefined;
213
+ dir?: string | undefined | undefined;
214
+ draggable?: (boolean | "true" | "false") | undefined;
215
+ enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
216
+ enterKeyHint?: "search" | "done" | "previous" | "next" | "enter" | "go" | "send" | undefined;
217
+ hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
218
+ id?: string | undefined | undefined;
219
+ inert?: (boolean | "true" | "false") | undefined;
220
+ lang?: string | undefined | undefined;
221
+ placeholder?: string | undefined | undefined;
222
+ spellcheck?: (boolean | "true" | "false") | undefined;
223
+ tabindex?: (string | number) | undefined;
224
+ title?: string | undefined | undefined;
225
+ translate?: "yes" | "no" | undefined | undefined;
226
+ radiogroup?: string | undefined | undefined;
227
+ role?: string | undefined | undefined;
228
+ about?: string | undefined | undefined;
229
+ datatype?: string | undefined | undefined;
230
+ inlist?: any;
231
+ prefix?: string | undefined | undefined;
232
+ property?: string | undefined | undefined;
233
+ resource?: string | undefined | undefined;
234
+ typeof?: string | undefined | undefined;
235
+ vocab?: string | undefined | undefined;
236
+ autocapitalize?: string | undefined | undefined;
237
+ autocorrect?: string | undefined | undefined;
238
+ autosave?: string | undefined | undefined;
239
+ color?: string | undefined | undefined;
240
+ itemprop?: string | undefined | undefined;
241
+ itemscope?: (boolean | "true" | "false") | undefined;
242
+ itemtype?: string | undefined | undefined;
243
+ itemid?: string | undefined | undefined;
244
+ itemref?: string | undefined | undefined;
245
+ results?: (string | number) | undefined;
246
+ security?: string | undefined | undefined;
247
+ unselectable?: "on" | "off" | undefined | undefined;
248
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
249
+ is?: string | undefined | undefined;
250
+ exportparts?: string | undefined;
251
+ part?: string | undefined;
252
+ popover?: (import("../..").PopoverMode | "" | boolean) | undefined;
253
+ 'aria-activedescendant'?: string | undefined | undefined;
254
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
255
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
256
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
257
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
258
+ 'aria-colcount'?: (string | number) | undefined;
259
+ 'aria-colindex'?: (string | number) | undefined;
260
+ 'aria-colspan'?: (string | number) | undefined;
261
+ 'aria-controls'?: string | undefined | undefined;
262
+ 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
263
+ 'aria-describedby'?: string | undefined | undefined;
264
+ 'aria-details'?: string | undefined | undefined;
265
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
266
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
267
+ 'aria-errormessage'?: string | undefined | undefined;
268
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
269
+ 'aria-flowto'?: string | undefined | undefined;
270
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
271
+ 'aria-haspopup'?: "grid" | "tree" | "dialog" | "menu" | (boolean | "true" | "false") | "listbox" | undefined;
272
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
273
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
274
+ 'aria-keyshortcuts'?: string | undefined | undefined;
275
+ 'aria-label'?: string | undefined | undefined;
276
+ 'aria-labelledby'?: string | undefined | undefined;
277
+ 'aria-level'?: (string | number) | undefined;
278
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined | undefined;
279
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
280
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
281
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
282
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined | undefined;
283
+ 'aria-owns'?: string | undefined | undefined;
284
+ 'aria-placeholder'?: string | undefined | undefined;
285
+ 'aria-posinset'?: (string | number) | undefined;
286
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
287
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
288
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
289
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
290
+ 'aria-roledescription'?: string | undefined | undefined;
291
+ 'aria-rowcount'?: (string | number) | undefined;
292
+ 'aria-rowindex'?: (string | number) | undefined;
293
+ 'aria-rowspan'?: (string | number) | undefined;
294
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
295
+ 'aria-setsize'?: (string | number) | undefined;
296
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
297
+ 'aria-valuemax'?: (string | number) | undefined;
298
+ 'aria-valuemin'?: (string | number) | undefined;
299
+ 'aria-valuenow'?: (string | number) | undefined;
300
+ 'aria-valuetext'?: string | undefined | undefined;
301
+ onCopy?: ((payload: ClipboardEvent) => void) | undefined;
302
+ onCut?: ((payload: ClipboardEvent) => void) | undefined;
303
+ onPaste?: ((payload: ClipboardEvent) => void) | undefined;
304
+ onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
305
+ onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
306
+ onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
307
+ onDrag?: ((payload: DragEvent) => void) | undefined;
308
+ onDragend?: ((payload: DragEvent) => void) | undefined;
309
+ onDragenter?: ((payload: DragEvent) => void) | undefined;
310
+ onDragexit?: ((payload: DragEvent) => void) | undefined;
311
+ onDragleave?: ((payload: DragEvent) => void) | undefined;
312
+ onDragover?: ((payload: DragEvent) => void) | undefined;
313
+ onDragstart?: ((payload: DragEvent) => void) | undefined;
314
+ onDrop?: ((payload: DragEvent) => void) | undefined;
315
+ onFocus?: ((payload: FocusEvent) => void) | undefined;
316
+ onFocusin?: ((payload: FocusEvent) => void) | undefined;
317
+ onFocusout?: ((payload: FocusEvent) => void) | undefined;
318
+ onBlur?: ((payload: FocusEvent) => void) | undefined;
319
+ onChange?: ((payload: Event) => void) | undefined;
320
+ onBeforeinput?: ((payload: InputEvent) => void) | undefined;
321
+ onFormdata?: ((payload: FormDataEvent) => void) | undefined;
322
+ onInput?: ((payload: InputEvent) => void) | undefined;
323
+ onReset?: ((payload: Event) => void) | undefined;
324
+ onSubmit?: ((payload: SubmitEvent) => void) | undefined;
325
+ onInvalid?: ((payload: Event) => void) | undefined;
326
+ onFullscreenchange?: ((payload: Event) => void) | undefined;
327
+ onFullscreenerror?: ((payload: Event) => void) | undefined;
328
+ onLoad?: ((payload: Event) => void) | undefined;
329
+ onError?: ((payload: Event) => void) | undefined;
330
+ onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
331
+ onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
332
+ onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
333
+ onDblclick?: ((payload: MouseEvent) => void) | undefined;
334
+ onMousedown?: ((payload: MouseEvent) => void) | undefined;
335
+ onMouseenter?: ((payload: MouseEvent) => void) | undefined;
336
+ onMouseleave?: ((payload: MouseEvent) => void) | undefined;
337
+ onMousemove?: ((payload: MouseEvent) => void) | undefined;
338
+ onMouseout?: ((payload: MouseEvent) => void) | undefined;
339
+ onMouseover?: ((payload: MouseEvent) => void) | undefined;
340
+ onMouseup?: ((payload: MouseEvent) => void) | undefined;
341
+ onAbort?: ((payload: UIEvent) => void) | undefined;
342
+ onCanplay?: ((payload: Event) => void) | undefined;
343
+ onCanplaythrough?: ((payload: Event) => void) | undefined;
344
+ onDurationchange?: ((payload: Event) => void) | undefined;
345
+ onEmptied?: ((payload: Event) => void) | undefined;
346
+ onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
347
+ onEnded?: ((payload: Event) => void) | undefined;
348
+ onLoadeddata?: ((payload: Event) => void) | undefined;
349
+ onLoadedmetadata?: ((payload: Event) => void) | undefined;
350
+ onLoadstart?: ((payload: Event) => void) | undefined;
351
+ onPause?: ((payload: Event) => void) | undefined;
352
+ onPlay?: ((payload: Event) => void) | undefined;
353
+ onPlaying?: ((payload: Event) => void) | undefined;
354
+ onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
355
+ onRatechange?: ((payload: Event) => void) | undefined;
356
+ onSeeked?: ((payload: Event) => void) | undefined;
357
+ onSeeking?: ((payload: Event) => void) | undefined;
358
+ onStalled?: ((payload: Event) => void) | undefined;
359
+ onSuspend?: ((payload: Event) => void) | undefined;
360
+ onTimeupdate?: ((payload: Event) => void) | undefined;
361
+ onVolumechange?: ((payload: Event) => void) | undefined;
362
+ onWaiting?: ((payload: Event) => void) | undefined;
363
+ onSelect?: ((payload: Event) => void) | undefined;
364
+ onScroll?: ((payload: Event) => void) | undefined;
365
+ onScrollend?: ((payload: Event) => void) | undefined;
366
+ onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
367
+ onTouchend?: ((payload: TouchEvent) => void) | undefined;
368
+ onTouchmove?: ((payload: TouchEvent) => void) | undefined;
369
+ onTouchstart?: ((payload: TouchEvent) => void) | undefined;
370
+ onAuxclick?: ((payload: PointerEvent) => void) | undefined;
371
+ onClick?: ((payload: PointerEvent) => void) | undefined;
372
+ onContextmenu?: ((payload: PointerEvent) => void) | undefined;
373
+ onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
374
+ onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
375
+ onPointerdown?: ((payload: PointerEvent) => void) | undefined;
376
+ onPointermove?: ((payload: PointerEvent) => void) | undefined;
377
+ onPointerup?: ((payload: PointerEvent) => void) | undefined;
378
+ onPointercancel?: ((payload: PointerEvent) => void) | undefined;
379
+ onPointerenter?: ((payload: PointerEvent) => void) | undefined;
380
+ onPointerleave?: ((payload: PointerEvent) => void) | undefined;
381
+ onPointerover?: ((payload: PointerEvent) => void) | undefined;
382
+ onPointerout?: ((payload: PointerEvent) => void) | undefined;
383
+ onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
384
+ onToggle?: ((payload: ToggleEvent) => void) | undefined;
385
+ onWheel?: ((payload: WheelEvent) => void) | undefined;
386
+ onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
387
+ onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
388
+ onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
389
+ onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
390
+ onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
391
+ onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
392
+ onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
393
+ onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
394
+ onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
395
+ key?: PropertyKey | undefined;
396
+ ref?: import("vue").VNodeRef | undefined;
397
+ ref_for?: boolean | undefined | undefined;
398
+ ref_key?: string | undefined | undefined;
399
+ }> & Readonly<{}>, {
400
+ disabled: boolean;
401
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
402
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
403
+ declare const _default: typeof __VLS_export;
404
+ export default _default;
405
+ type __VLS_WithSlots<T, S> = T & {
406
+ new (): {
407
+ $slots: S;
408
+ };
409
+ };
@@ -6,6 +6,7 @@ export { default as PaletteSelect } from './PaletteSelect.vue';
6
6
  export { default as Combobox } from './Combobox.vue';
7
7
  export { default as DateInput } from './DateInput.vue';
8
8
  export { default as DatePicker } from './DatePicker.vue';
9
+ export { default as Fieldset } from './Fieldset.vue';
9
10
  export { default as FileInput } from './FileInput.vue';
10
11
  export { default as InputAddon } from './InputAddon.vue';
11
12
  export { default as InputGroup } from './InputGroup.vue';
@@ -6,6 +6,7 @@ export { default as PaletteSelect } from "./PaletteSelect.vue";
6
6
  export { default as Combobox } from "./Combobox.vue";
7
7
  export { default as DateInput } from "./DateInput.vue";
8
8
  export { default as DatePicker } from "./DatePicker.vue";
9
+ export { default as Fieldset } from "./Fieldset.vue";
9
10
  export { default as FileInput } from "./FileInput.vue";
10
11
  export { default as InputAddon } from "./InputAddon.vue";
11
12
  export { default as InputGroup } from "./InputGroup.vue";
@@ -13,10 +13,6 @@
13
13
  padding-block: 0.75rem;
14
14
  }
15
15
 
16
- .k-record-list.is-interactive .k-record-list-item {
17
- cursor: pointer;
18
- }
19
-
20
16
  .k-record-list-item + .k-record-list-item {
21
17
  border-top: 1px solid var(--k-line);
22
18
  }
@@ -57,3 +53,24 @@
57
53
  color: var(--k-text-muted);
58
54
  overflow-wrap: anywhere;
59
55
  }
56
+
57
+ .k-record-list.is-interactive {
58
+ gap: 0.125rem;
59
+ margin-inline: -0.75rem;
60
+ }
61
+
62
+ .k-record-list.is-interactive .k-record-list-item {
63
+ padding: 0.75rem;
64
+ border-top: 0;
65
+ border-radius: var(--k-radius-md);
66
+ cursor: pointer;
67
+ transition: background-color var(--k-duration) var(--k-ease);
68
+ }
69
+
70
+ .k-record-list.is-interactive .k-record-list-item:hover {
71
+ background: var(--k-hover);
72
+ }
73
+
74
+ .k-record-list.is-interactive .k-record-list-item:active {
75
+ background: var(--k-press);
76
+ }
@@ -0,0 +1,13 @@
1
+ .k-fieldset {
2
+ min-inline-size: 0;
3
+ margin: 0;
4
+ padding: 0;
5
+ border: 0;
6
+ }
7
+
8
+ .k-fieldset-legend {
9
+ padding: 0;
10
+ margin-bottom: 0.5rem;
11
+ font-weight: var(--k-font-weight-medium, 500);
12
+ color: var(--k-text);
13
+ }
@@ -18,3 +18,4 @@
18
18
  @import './forms/password-input.css';
19
19
  @import './forms/pin-input.css';
20
20
  @import './forms/input-group.css';
21
+ @import './forms/fieldset.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.66",
3
+ "version": "0.16.68",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",