@xleddyl/443-components-vue 0.16.98 → 0.16.100

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
@@ -253,7 +253,7 @@ Mount `OverlayHost` once for the imperative hooks (see [Composables](#composable
253
253
  | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
254
254
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
255
255
  | `Card` | Container with optional title, description, icon, actions and footer. Can be a link or a selectable button. | Props: `title`, `description`, `icon`, `variant` (raised, outline, subtle, dashed: a centered add or empty tile), `padding`, `as`, `to`, `href`, `selected`, `disabled`, `disabledReason` (with `disabled` on a button or link card: it stays focusable with `aria-disabled`, ignores clicks and shows the reason in a tooltip and as its description), `animated`, `fill` (takes the rest of the parent height, the body is a scrolling flex column, the footer pinned at the bottom). Slots: default, `header`, `title`, `description`, `icon`, `actions`, `footer`. | `layout/card.vue` |
256
- | `PageHeader` | Page title with description, breadcrumbs, badge and actions. The page templates include it. | Props: `title`, `description`, `icon`, `breadcrumbs` (small trail above the title), `trail` (the earlier levels as links: the title becomes a breadcrumb trail whose last item is the heading), `trailLabel`, `level`, `bordered`, `align`, `truncate`, `size` (`md`, `sm` for a panel or inspector header). Slots: `actions`, `badge`, `description`, `title`, `icon`, `breadcrumbs`. | `layout/page-header.vue` |
256
+ | `PageHeader` | Page title with description, breadcrumbs, badge and actions. The page templates include it. | Props: `title`, `description`, `icon`, `breadcrumbs` (small trail above the title), `trail` (the earlier levels as links: the title becomes a breadcrumb trail whose last item is the heading), `trailLabel`, `level`, `bordered`, `align`, `truncate` (one line; with a `trail` the title keeps a minimum width and the earlier crumbs truncate), `size` (`md`, `sm` for a panel or inspector header). Slots: `actions`, `badge`, `description`, `title`, `icon`, `breadcrumbs`. | `layout/page-header.vue` |
257
257
  | `Breadcrumbs` | Path navigation. | Props: `items` (`label`, `to`, `href`, `icon`), `separator`, `linkLast`, `ancestors`, `size` (`sm` for panel headers, `md`, `lg` for a title sized trail), `heading` (the current item is a heading of that level). Slot: `item`. | `layout/breadcrumbs.vue` |
258
258
  | `Stepper` | Step indicator for wizards and multi step flows (import, checkout). Horizontal or vertical, compact on narrow widths. | Model: `v-model` (current step value). Props: `steps` (`value`, `label`, `description`, `icon`, `disabled`, `state`: `complete` or `error`), `label`, `orientation`, `size`, `linear` (only completed and current steps clickable), `readonly`, `compact` (`'auto'` by default, `true`, `false`), `summary` (false hides the compact "Step 2 of 4" line), `positionLabel`, `completeLabel`, `errorLabel`. Event: `select`. | `layout/stepper.vue` |
259
259
  | `Tabs` | Tabs with panels, badges and dots. Segmented or underline. | Model: `v-model` (active value). Props: `items` (`value`, `label`, `icon`, `color` (a palette name or hex, a dot before the label), `badge`, `badgeTone`, `dot`, `title` (a tooltip on hover and focus, also on a disabled tab; native `title` until mount), `disabled`), `variant`, `size`, `lazy`, `fill`, `stretch`, `inset`, `controls` (id of a panel outside the component: only the tab list renders). Slots: `panel-<value>`, `panel`. | `layout/tabs.vue` |
@@ -292,7 +292,7 @@ Templates combine core parts into whole pages and layouts. Start from them for n
292
292
  | Component | Purpose and when to use it | Main props, models, slots, events | Playground |
293
293
  | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
294
294
  | `DashboardLayout` | Ready app frame: brand, navigation, command search, account menu, settings modal, breadcrumbs, theme switch. Put it in `layouts/default.vue`. | Models: `v-model:collapsed`, `v-model:open`, `v-model:settingsOpen`, `v-model:settingsSection`. Props: `navigation` (`NavItem[]` or `NavSection[]`), `account` (`name`, `email`, `avatar`, `role`, `menu`), `brandName`, `brandIcon`, `brandLogo`, `breadcrumbs`, `search` (true, groups or function), `settingsSections`, `settingsRoute`, `settingsRouteLocation`, `settingsAccountSection`, `settingsResolvePage`, `settingsHideSession`, `variant`, `content` (`page`, `fill`, `centered`, `bleed`; per page with `definePageMeta({ content })` in `k-dashboard`), `fluid`, `fill`, `loading` (page skeleton while a navigation is pending: bind `useNavigationPending()` in Nuxt), `loadingLabel`, `onSignOut`. Slots: default, `loading`, `actions`, `brand`, `sidebar-top`, `sidebar`, `sidebar-footer`, `account`, `topbar`, `search-item`, `settings-account-start`, `settings-account-fields`, `settings-section-<id>`, `settings-actions-<id>`, `settings-tabs-<id>`, `settings-nav-footer`. Event: `accountSelect`. | `templates/dashboard-layout.vue` |
295
- | `WorkspaceLayout` | Full height editor workspace: top bar (`start`, `center`, `end`) and up to three panes, the side panes resizable, collapsible and persisted, tabs under a container breakpoint. | Models: `v-model:pane` (active tab in compact mode), `v-model:left-collapsed`, `v-model:right-collapsed`, `v-model:left-width`, `v-model:right-width`. Props: `left`, `right` (`label`, `min`, `max`, `initial`, tab `badge`, `badgeTone`, `badgeLabel`, `dot`, `icon`), `main` (`label`, badge), `storageKey`, `breakpoint` (1024), `step`, `panesLabel`, `resizeLabel`. Slots: `start`, `center`, `end`, `left`, `left-header`, `main`, `main-header`, `right`, `right-header` (scope `{ compact, pane, collapsed, toggle, reveal }`). Exposed: `toggle`, `reveal`, `compact`. | `templates/workspace-layout.vue` |
295
+ | `WorkspaceLayout` | Full height editor workspace: top bar (`start`, `center`, `end`) and up to three panes, the side panes resizable, collapsible and persisted, tabs under a container breakpoint. | Models: `v-model:pane` (active tab in compact mode), `v-model:left-collapsed`, `v-model:right-collapsed`, `v-model:left-width`, `v-model:right-width`. Props: `left`, `right` (`label`, `min`, `max`, `initial`, tab `badge`, `badgeTone`, `badgeLabel`, `dot`, `icon`), `main` (`label`, badge), `storageKey`, `breakpoint` (1024), `step`, `panesLabel`, `resizeLabel`. Slots: `start`, `center`, `end`, `left`, `left-header`, `main`, `main-header`, `right`, `right-header` (scope `{ compact, pane, collapsed, toggle, reveal }`; a `PageHeader` in `start` or a pane header fills the row and shrinks, its actions stay on the title row). Exposed: `toggle`, `reveal`, `compact`. | `templates/workspace-layout.vue` |
296
296
  | `AuthLayout` | Frame of sign in, sign up and reset password pages: left column with brand, title (or a large breadcrumb), form and footer; aside panel on the right from 960px. | Props: `title`, `description`, `breadcrumbs`, `footer`, `brandName`, `brandIcon`, `brandLogo`, `aside`, `asideTitle`, `asideDescription`, `themeSwitch`. Slots: default, `links`, `footer`, `brand`, `aside`, `corner`. | `templates/auth-layout.vue` |
297
297
  | `AuthLogin` | Complete sign in page in two steps (email, then password with a breadcrumb back). Offers to sign in again after `AuthLogout`. | Props: `submit` (`{ email, password }`), `submitError`, `title`, `description`, `emailLabel`, `emailPlaceholder`, `passwordLabel`, `submitLabel`, `stepKey`, `reasonKey`, frame props of `AuthLayout`. Slots: `links` (`{ email, step }`), `footer`, `brand`, `aside`, `corner`. | `templates/auth-login.vue` |
298
298
  | `AuthLogout` | Sign out page: runs `logout()`, remembers the account, reloads the sign in page. Retry on error. | Props: `logout`, `account` (`{ email, name }`), `loginTo`, `reasonKey`, frame props of `AuthLayout`. Slots: `footer`, `brand`, `aside`, `corner`. Helpers: `rememberSignedOutAccount`, `takeSignedOutAccount`, `SIGNED_OUT_REASON`. | `templates/auth-login.vue` |
package/README.md CHANGED
@@ -558,7 +558,7 @@ On your own elements, `paletteClass(color)` gives the class of a palette name an
558
558
  - `Tabs` items take `dot: true` for a small indicator without a number (`dotTone`, default `danger`; `dotLabel` is the hidden text, default "Needs attention"). `color` (a palette name or a hex, `ColorValue`) draws a small color dot before the label, separate from the status dot. `title` shows a tooltip on hover and keyboard focus (the native `title` only until mount) and becomes the tab description; a disabled tab keeps it (it uses `aria-disabled`, cannot be selected and is skipped by Tab and the arrow keys), so it can say why it is disabled. The same items work in the `tabs` of `Modal`, `Drawer`, `FormDrawer` and `DetailPage`.
559
559
  - `Card` takes `variant="dashed"` (`CardVariant`) for a placeholder tile: a dashed `--k-line-strong` border on `--k-subtle`, with the icon, title and description centered in a column (the icon in a raised box, the title at 0.8125rem). As a button (`as="button"`) or a link (`to`, `href`) it gets the hover and focus of the `FileInput` dropzone (`--k-fill` and a `--k-text-dimmed` border on hover, a solid `--k-ring` border and the focus ring on focus); `disabled` dims it, and `selected` tints it with the accent, for a drop target while something is dragged over it. Use it for an "Add" tile at the end of a grid of items and for an empty area: `<KCard variant="dashed" as="button" icon="plus" title="Add block" @click="add" />`.
560
560
  - `DropdownMenu` takes `matchTriggerWidth` (the menu is at least as wide as its trigger) and `minWidth` (a CSS length).
561
- - `PageHeader` takes `align` (`'end'` by default, `'start'` or `'center'`) for the title block and the actions, and `truncate` to keep the title on one line with an ellipsis (the full title is in its `title` attribute). `trail` (`BreadcrumbItem[]`, the earlier levels as links) turns the title into a breadcrumb trail that ends with `title`, at the page title size: a `nav` (named by `trailLabel`, default "Breadcrumb") around an ordered list whose last item is the heading (`h<level>`, `aria-current="page"`, only the title, `#title` fills it). With `truncate` the trail stays on one line and the title gets the ellipsis. Use it for a record or a nested page instead of `Breadcrumbs` in `#title` (a `nav` inside a heading). `breadcrumbs` stays the small trail above the title. `size="sm"` (`PageHeaderSize`, default `md`) is the compact header of a panel or an inspector: the title at the card title size (0.9375rem, 600), a 1.75rem icon box, tighter gaps, a 0.75rem description, `breadcrumbs` at `Breadcrumbs` size `sm` and the `trail` at the title size.
561
+ - `PageHeader` takes `align` (`'end'` by default, `'start'` or `'center'`) for the title block and the actions, and `truncate` to keep the title on one line with an ellipsis (the full title is in its `title` attribute). `trail` (`BreadcrumbItem[]`, the earlier levels as links) turns the title into a breadcrumb trail that ends with `title`, at the page title size: a `nav` (named by `trailLabel`, default "Breadcrumb") around an ordered list whose last item is the heading (`h<level>`, `aria-current="page"`, only the title, `#title` fills it). With `truncate` the trail stays on one line: the title truncates down to a minimum width (6em, or its own width when shorter), then the earlier crumbs truncate with an ellipsis (the full label in their `title`), so the current item never shrinks to nothing. Use it for a record or a nested page instead of `Breadcrumbs` in `#title` (a `nav` inside a heading). `breadcrumbs` stays the small trail above the title. `size="sm"` (`PageHeaderSize`, default `md`) is the compact header of a panel or an inspector: the title at the card title size (0.9375rem, 600), a 1.75rem icon box, tighter gaps, a 0.75rem description, `breadcrumbs` at `Breadcrumbs` size `sm` and the `trail` at the title size.
562
562
  - `ResizeHandle` is a focusable `separator` that resizes the panel next to it: `v-model` is the size in pixels (`aria-valuenow`), `min` (default 0) and `max` clamp it (`aria-valuemin`, `aria-valuemax`), `orientation` is `vertical` (default, a vertical line that resizes a width, Left and Right arrows) or `horizontal` (a height, Up and Down arrows), and `target` says where the panel is: `before` (default, left or above, dragging right or down grows it) or `after` (an inspector on the right). The arrow keys move it by `step` (default 16), Home and End jump to `min` and `max`, a double click calls `onReset`. Dragging captures the pointer (it keeps working over iframes) and emits `resizeStart` and `resizeEnd(size)`. Name it with `label` and point `aria-controls` at the panel. The 1px line has a 11px hit area and turns `--k-ring` on hover, while dragging and on focus (with the `--k-ring-soft` halo).
563
563
  - `RichTextEditor` accepts `'underline'` in `toolbar` (not in the default toolbar).
564
564
  - `RichTextEditor` takes `linkTypes` (`EditorLinkType[]`, `'url' | 'email' | 'phone'`, default `['url']`). With more than one type the link form shows a type select; email links get `mailto:` and phone links `tel:` (spaces and separators removed). When no text is selected the form asks for the link text too (`editor.linkText`) and inserts it as a link, falling back to the address.
@@ -661,7 +661,7 @@ On your own elements, `paletteClass(color)` gives the class of a palette name an
661
661
 
662
662
  - `FileDropOverlay` shows the `over` state of `useFileDrop` over a whole area (a media gallery): it covers its positioned container (`position: relative`) with a dashed `--k-ring` border on a translucent blurred surface, an icon (`icon`, default `arrow-up-tray`, or the `#icon` slot), a title (`title` or the default slot for rich text, default "Release to add files", `fileInput.drop`) and a `description` (or `#description`). `active` shows it (default `true`, bind `over`); it fades in, ignores the pointer so the drop reaches the container, and is hidden from assistive technology like the drag itself. `--k-file-drop-overlay-inset` (default 0, a negative value bleeds past the container) and `--k-file-drop-overlay-radius` (default `--k-radius-lg`) adjust it: `<KFileDropOverlay :active="over">Drop to upload to <strong>{{ folder }}</strong></KFileDropOverlay>`.
663
663
  - `useFileDialog({ accept, multiple, directory, onChange })` opens the native file dialog from any action (a menu item `onSelect`, a button) without a visible input. `open(overrides?)` must run inside the user gesture and resolves to the chosen `File[]` (empty when the dialog is cancelled); `files` keeps the last choice and `reset()` clears it. The options take refs or getters, `open({ accept, multiple, directory })` overrides them for one call: `const [file] = await useFileDialog({ accept: '.csv' }).open()`.
664
- - `useFileDrop` returns `{ over, reset }` and takes `ignore(event)`. A drop handled by a nested drop zone is skipped by the outer ones, and the state resets after any drop, even when a child stops propagation. `readDroppedFiles(dataTransfer)` walks dropped folders (call it synchronously in the drop handler) and resolves to `[{ file, path }]`; `readDroppedFiles(dataTransfer, { directories: true })` resolves to `{ files, directories }` with every folder path, empty ones included, and `skipHidden: true` leaves out dot entries.
664
+ - `useFileDrop` returns `{ over, reset }` and takes `ignore(event)`, called before the composable prevents the default, so `ignore: (event) => event.defaultPrevented` skips the drags a nested element has already taken (an inner drop target) and keeps `over` on for the rest of the area. A drop handled by a nested drop zone is skipped by the outer ones, and the state resets after any drop, even when a child stops propagation. `readDroppedFiles(dataTransfer)` walks dropped folders (call it synchronously in the drop handler) and resolves to `[{ file, path }]`; `readDroppedFiles(dataTransfer, { directories: true })` resolves to `{ files, directories }` with every folder path, empty ones included, and `skipHidden: true` leaves out dot entries.
665
665
  - `Tabs` items take `badgeTone` and `badgeLabel` (the accessible name of the badge); the `#panel="{ item }"` slot renders a single panel for the active tab. `stretch` makes the tabs fill the remaining height of a flex column and the active panel grow with it (`flex: 1; min-height: 0`), and `inset` spaces the tab list from the container edges with the panel flush below it, for inspectors and side panes. `Breadcrumbs` items take `attrs` and `onClick` (an item without a link renders a button, handy for drop targets), `#item` customizes the content, and `ancestors` links every item and ends with a separator (`breadcrumbsAncestors` on `PageHeader`). `heading` (a heading level) renders the current item as that heading, for a trail that is the title of the page. `size` is `sm` (0.75rem with tighter gaps, for panel headers and inspectors), `md` (default) or `lg` (a title sized trail). `Accordion` takes `variant` `card` (default), `outline` (the same card without a shadow), `separated` or `plain`; items take `description`, and `contentVariant="neutral"` drops the text styling of the content (it inherits font size and color, for forms) and keeps the padding of the item, aligned with the trigger. `:padded="false"` drops the content padding for content that brings its own spacing or reaches the edges (a list, a table, a tree), with either content variant. `divided` draws a `--k-line` divider between the trigger and the open content (the line between the items of the `card` and `outline` variants), with a matching top padding when the content is padded; use it for a form section in `contentVariant="neutral"`.
666
666
  - `RichTextEditor` labels heading buttons by their real level (`headingLabel="relative"` numbers them from 1) and `toolbar` picks and orders the buttons: `['headings', '|', 'bold', 'italic', 'link']`.
667
667
 
@@ -943,7 +943,7 @@ A full height app workspace for editors (a visual page editor, a mail client, a
943
943
  ```
944
944
 
945
945
  - Top bar: a `header` with the slots `start`, `center` (centered, on its own row under 40rem of workspace width) and `end`, rendered only when one of them is set.
946
- - Panes: `left` and `right` are `aside` landmarks and `main` is `main` (a `section`, named by its label, inside an `AppShell` or `DashboardLayout`, which already have the main landmark). A side pane renders when its slot is set. `left-header`, `main-header` and `right-header` add a header strip above the scrolling pane body (a `PageHeader size="sm"` fits there). The pane bodies are flex columns that scroll.
946
+ - Panes: `left` and `right` are `aside` landmarks and `main` is `main` (a `section`, named by its label, inside an `AppShell` or `DashboardLayout`, which already have the main landmark). A side pane renders when its slot is set. `left-header`, `main-header` and `right-header` add a header strip above the scrolling pane body (a `PageHeader size="sm"` fits there). A `PageHeader` placed directly in `start` or in a pane header takes the free width and can shrink below its content (`min-width: 0`), and its actions stay on the title row while the title truncates (`truncate`) or wraps, so no `flex: 1` is needed on it. The pane bodies are flex columns that scroll.
947
947
  - Side panes: `left` and `right` take `label` (the landmark and tab name, default "Left panel" and "Right panel"), `min`, `max` and `initial` widths in pixels (default 200, 480, 280). A `ResizeHandle` sits on the inner edge: drag it, or focus it and use the arrow keys (`step`, default 16), Home and End; a double click goes back to `initial`. While dragging, the workspace gets `is-resizing` (column cursor, iframes ignore the pointer). `v-model:left-width` and `v-model:right-width` bind the widths, `v-model:left-collapsed` and `v-model:right-collapsed` hide a pane (it stays mounted, so its state survives).
948
948
  - Persistence: with `storageKey` the widths and the collapsed state go to the preferences store under `workspace:<storageKey>` (`PREFERENCE_KEYS.workspace(key)`), restored after mount with a `localStorage` store or on the first render with a server snapshot.
949
949
  - Compact mode: under `breakpoint` (default 1024, the width of the workspace itself, not the viewport; 0 turns it off) the panes become `Tabs` under the top bar, one panel at a time, with the active pane in `v-model:pane` (`'left' | 'main' | 'right'`, default `main`). The tab labels come from the pane `label`s, and `badge`, `badgeTone`, `badgeLabel`, `dot`, `dotTone`, `dotLabel` and `icon` on `left`, `main` and `right` show on the tabs (an error count on the fields pane). `panesLabel` names the tab list.
@@ -33,12 +33,13 @@
33
33
  :label="trailLabel"
34
34
  :heading="level"
35
35
  :size="size === 'sm' ? 'md' : 'lg'"
36
+ :style="{ '--k-page-header-crumbs': String(trail.length) }"
36
37
  >
37
38
  <template #item="{ item, current }">
38
39
  <slot v-if="current" name="title">{{ item.label }}</slot>
39
40
  <template v-else>
40
41
  <Icon v-if="item.icon" :name="item.icon" />
41
- {{ item.label }}
42
+ <span class="k-page-header-crumb">{{ item.label }}</span>
42
43
  </template>
43
44
  </template>
44
45
  </Breadcrumbs>
@@ -86,7 +87,9 @@ const props = defineProps({
86
87
  size: { type: String, required: false, default: "md" }
87
88
  });
88
89
  const trailItems = computed(() => [
89
- ...props.trail ?? [],
90
+ ...(props.trail ?? []).map(
91
+ (item) => props.truncate ? { ...item, attrs: { title: item.label, ...item.attrs } } : item
92
+ ),
90
93
  {
91
94
  label: props.title ?? "",
92
95
  attrs: props.truncate && props.title ? { title: props.title } : void 0
@@ -89,22 +89,19 @@ export function useFileDrop(target, options) {
89
89
  over.value = false;
90
90
  watchWindow(false);
91
91
  }
92
- function track(event) {
93
- covered = isIgnored(event);
94
- if (!covered) claimedEvents.add(event);
92
+ function track(event, ignored) {
93
+ covered = ignored;
94
+ if (!ignored) {
95
+ event.preventDefault();
96
+ claimedEvents.add(event);
97
+ }
95
98
  sync();
96
99
  }
97
100
  function onDragEnter(event) {
98
101
  if (!carriesFiles(event) || isDisabled()) return;
99
102
  depth++;
100
103
  watchWindow(true);
101
- if (isIgnored(event)) {
102
- covered = true;
103
- sync();
104
- return;
105
- }
106
- event.preventDefault();
107
- track(event);
104
+ track(event, isIgnored(event));
108
105
  }
109
106
  function onDragOver(event) {
110
107
  if (!carriesFiles(event)) return;
@@ -115,14 +112,9 @@ export function useFileDrop(target, options) {
115
112
  }
116
113
  return;
117
114
  }
118
- if (isIgnored(event)) {
119
- covered = true;
120
- sync();
121
- return;
122
- }
123
- event.preventDefault();
124
- if (event.dataTransfer) event.dataTransfer.dropEffect = "copy";
125
- track(event);
115
+ const ignored = isIgnored(event);
116
+ track(event, ignored);
117
+ if (!ignored && event.dataTransfer) event.dataTransfer.dropEffect = "copy";
126
118
  }
127
119
  function onDragLeave(event) {
128
120
  if (!carriesFiles(event)) return;
@@ -1,5 +1,6 @@
1
1
  .k-tile-grid {
2
2
  --k-tile-grid-tile-radius: var(--k-tile-grid-radius, var(--k-radius-lg));
3
+ position: relative;
3
4
  min-width: 0;
4
5
  }
5
6
 
@@ -240,6 +240,7 @@
240
240
  }
241
241
 
242
242
  .k-card.is-fill > .k-card-body {
243
+ position: relative;
243
244
  display: flex;
244
245
  flex-direction: column;
245
246
  min-height: 0;
@@ -114,8 +114,23 @@
114
114
  flex-wrap: nowrap;
115
115
  }
116
116
 
117
- .k-page-header.is-truncated .k-page-header-trail .k-breadcrumbs-item:not(:last-child) {
118
- flex: none;
117
+ .k-page-header.is-truncated .k-page-header-trail .k-breadcrumbs-item {
118
+ flex: 0 1 content;
119
+ width: calc(2.5em + 0%);
120
+ min-width: auto;
121
+ }
122
+
123
+ .k-page-header.is-truncated .k-page-header-trail .k-breadcrumbs-item:last-child {
124
+ flex-shrink: 100;
125
+ width: calc(6em + 0%);
126
+ max-width: calc(100% - var(--k-page-header-crumbs, 0) * 3em);
127
+ }
128
+
129
+ .k-page-header.is-truncated .k-page-header-crumb {
130
+ min-width: 0;
131
+ overflow: hidden;
132
+ text-overflow: ellipsis;
133
+ white-space: nowrap;
119
134
  }
120
135
 
121
136
  .k-page-header.is-truncated .k-page-header-trail .k-breadcrumbs-current {
@@ -60,6 +60,7 @@
60
60
  }
61
61
 
62
62
  .k-list-scroll {
63
+ position: relative;
63
64
  overflow: auto;
64
65
  overscroll-behavior: contain;
65
66
  }
@@ -106,6 +106,15 @@
106
106
  border-bottom: 0;
107
107
  }
108
108
 
109
+ :is(.k-workspace-bar-start, .k-workspace-pane-head) > .k-page-header {
110
+ flex: 1 1 auto;
111
+ min-width: 0;
112
+ }
113
+
114
+ :is(.k-workspace-bar-start, .k-workspace-pane-head) > .k-page-header > .k-page-header-heading {
115
+ flex-basis: 0;
116
+ }
117
+
109
118
  .k-workspace-pane-body {
110
119
  display: flex;
111
120
  flex: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.98",
3
+ "version": "0.16.100",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",