@xleddyl/443-components-vue 0.16.13 → 0.16.15

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.
Files changed (36) hide show
  1. package/CATALOG.md +124 -118
  2. package/README.md +4 -0
  3. package/dist/components/data/RecordList.vue +55 -0
  4. package/dist/components/data/RecordList.vue.d.ts +237 -0
  5. package/dist/components/data/index.d.ts +1 -0
  6. package/dist/components/data/index.mjs +1 -0
  7. package/dist/components/data/types.d.ts +9 -0
  8. package/dist/components/overlays/CommandButton.vue +21 -0
  9. package/dist/components/overlays/CommandButton.vue.d.ts +249 -0
  10. package/dist/components/overlays/CommandPalette.vue +13 -2
  11. package/dist/components/overlays/index.d.ts +2 -0
  12. package/dist/components/overlays/index.mjs +2 -0
  13. package/dist/components/overlays/types.d.ts +4 -0
  14. package/dist/components/templates/DashboardLayout.vue +22 -6
  15. package/dist/components/templates/DashboardLayout.vue.d.ts +1 -0
  16. package/dist/components/templates/FormDrawer.vue +59 -9
  17. package/dist/components/templates/FormDrawer.vue.d.ts +3 -1
  18. package/dist/components/templates/types.d.ts +4 -0
  19. package/dist/composables/layout.d.ts +1 -0
  20. package/dist/composables/layout.mjs +1 -0
  21. package/dist/composables/templates.d.ts +1 -0
  22. package/dist/composables/templates.mjs +1 -0
  23. package/dist/composables/useConfirm.d.ts +4 -1
  24. package/dist/composables/useConfirm.mjs +16 -2
  25. package/dist/composables/usePageCommands.d.ts +6 -0
  26. package/dist/composables/usePageCommands.mjs +9 -0
  27. package/dist/composables/useRouteRecord.d.ts +24 -0
  28. package/dist/composables/useRouteRecord.mjs +55 -0
  29. package/dist/grid/data-grid.css +7 -3
  30. package/dist/locale/de.mjs +1 -0
  31. package/dist/locale/en.mjs +1 -0
  32. package/dist/locale/it.mjs +1 -0
  33. package/dist/locale/types.d.ts +1 -0
  34. package/dist/styles/data/record-list.css +57 -0
  35. package/dist/styles/data.css +1 -0
  36. package/package.json +1 -1
@@ -167,6 +167,7 @@ import { computed, ref, useTemplateRef } from "vue";
167
167
  import { useLocale } from "../../composables/useLocale";
168
168
  import { navCommands, toNavSections } from "../../internal/layout/navigation";
169
169
  import { matchesSearch } from "../../internal/core/text";
170
+ import { usePageCommandItems } from "../../composables/usePageCommands";
170
171
  import AppShell from "../layout/AppShell.vue";
171
172
  import Breadcrumbs from "../layout/Breadcrumbs.vue";
172
173
  import Sidebar from "../layout/Sidebar.vue";
@@ -206,6 +207,7 @@ const props = defineProps({
206
207
  searchPlaceholder: { type: String, required: false },
207
208
  searchShortcut: { type: [String, Boolean], required: false, default: "mod+k" },
208
209
  searchNavigationLabel: { type: String, required: false },
210
+ searchPageLabel: { type: String, required: false },
209
211
  themeSwitch: { type: [String, Boolean], required: false, default: false },
210
212
  collapsible: { type: Boolean, required: false, default: true },
211
213
  storageKey: { type: [String, Boolean], required: false, default: "k-sidebar-collapsed" },
@@ -238,6 +240,7 @@ const navigationGroupLabel = computed(
238
240
  () => props.searchNavigationLabel ?? t("dashboardLayout.pages")
239
241
  );
240
242
  const shell = useTemplateRef("shell");
243
+ const pageGroupLabel = computed(() => props.searchPageLabel ?? t("dashboardLayout.pageCommands"));
241
244
  const searchOpen = ref(false);
242
245
  const hasDesktopTopbar = computed(
243
246
  () => Boolean(
@@ -262,21 +265,34 @@ const settingsSlots = computed(
262
265
  const navigationCommands = computed(
263
266
  () => navCommands(toNavSections(props.navigation))
264
267
  );
268
+ const pageCommands = usePageCommandItems();
269
+ function matchingCommands(items, query) {
270
+ return items.filter(
271
+ (item) => matchesSearch([item.label, item.description, ...item.keywords ?? []], query)
272
+ );
273
+ }
265
274
  const searchFunction = computed(() => {
266
275
  const search = props.search;
267
276
  if (typeof search !== "function") return void 0;
268
- if (!props.searchNavigation) return search;
269
277
  return async (query, signal) => {
270
278
  const groups = await search(query, signal);
271
- const items = navigationCommands.value.filter(
272
- (item) => matchesSearch([item.label, item.description, ...item.keywords ?? []], query)
273
- );
274
- if (!items.length) return groups;
275
- return [{ id: "navigation", label: navigationGroupLabel.value, items }, ...groups];
279
+ const page = matchingCommands(pageCommands.value, query);
280
+ const navigation = props.searchNavigation ? matchingCommands(navigationCommands.value, query) : [];
281
+ return [
282
+ ...page.length ? [{ id: "page", label: pageGroupLabel.value, items: page }] : [],
283
+ ...navigation.length ? [{ id: "navigation", label: navigationGroupLabel.value, items: navigation }] : [],
284
+ ...groups
285
+ ];
276
286
  };
277
287
  });
278
288
  const commandGroups = computed(() => {
279
289
  const groups = [];
290
+ if (pageCommands.value.length)
291
+ groups.push({
292
+ id: "page",
293
+ label: pageGroupLabel.value,
294
+ items: pageCommands.value
295
+ });
280
296
  if (navigationCommands.value.length)
281
297
  groups.push({
282
298
  id: "navigation",
@@ -36,6 +36,7 @@ declare const __VLS_export: <T = unknown>(__VLS_props: NonNullable<Awaited<typeo
36
36
  searchPlaceholder?: string;
37
37
  searchShortcut?: string | false;
38
38
  searchNavigationLabel?: string;
39
+ searchPageLabel?: string;
39
40
  themeSwitch?: ThemeSwitchPlacement;
40
41
  collapsible?: boolean;
41
42
  storageKey?: string | false;
@@ -2,14 +2,14 @@
2
2
  <Drawer
3
3
  ref="drawer"
4
4
  v-model:open="open"
5
- v-model:tab="tab"
5
+ v-model:tab="activeTab"
6
6
  class="k-form-drawer"
7
7
  :title="title"
8
8
  :description="description"
9
9
  :label="label"
10
10
  :side="side"
11
11
  :size="size"
12
- :tabs="tabs"
12
+ :tabs="tabItems"
13
13
  :trail="trail"
14
14
  :back-label="backLabel"
15
15
  :before-close="beforeClose"
@@ -27,7 +27,14 @@
27
27
  <slot v-if="loading" name="skeleton">
28
28
  <SkeletonForm />
29
29
  </slot>
30
- <Form v-else-if="form" :id="formId" :key="formKey" class="k-form-drawer-form" :form="form">
30
+ <Form
31
+ v-else-if="form"
32
+ :id="formId"
33
+ :key="formKey"
34
+ class="k-form-drawer-form"
35
+ :form="form"
36
+ @invalid="openErrorTab"
37
+ >
31
38
  <slot :tab="active" />
32
39
  </Form>
33
40
  <slot v-else :tab="active" />
@@ -80,6 +87,12 @@ import { useLocale } from "../../composables/useLocale";
80
87
  import Button from "../core/Button.vue";
81
88
  import Form from "../core/Form.vue";
82
89
  import SkeletonForm from "../feedback/SkeletonForm.vue";
90
+ import {
91
+ useDefaultRouteLocation,
92
+ useRouteValue,
93
+ writeRouteValue
94
+ } from "../../internal/layout/query";
95
+ import { useRouterLike } from "../../internal/layout/route";
83
96
  import Drawer from "../overlays/Drawer.vue";
84
97
  const props = defineProps({
85
98
  title: { type: String, required: false },
@@ -88,6 +101,7 @@ const props = defineProps({
88
101
  side: { type: String, required: false },
89
102
  size: { type: String, required: false, default: "md" },
90
103
  tabs: { type: Array, required: false },
104
+ tabRoute: { type: String, required: false },
91
105
  trail: { type: Array, required: false },
92
106
  backLabel: { type: String, required: false },
93
107
  form: { type: Object, required: false },
@@ -122,6 +136,45 @@ const formKey = computed(() => {
122
136
  if (!formKeys.has(form)) formKeys.set(form, nextFormKey++);
123
137
  return formKeys.get(form);
124
138
  });
139
+ const router = useRouterLike();
140
+ const routeLocation = useDefaultRouteLocation();
141
+ const routeTab = useRouteValue(router, () => props.tabRoute, routeLocation);
142
+ function inField(name, field) {
143
+ return name === field || name.startsWith(`${field}.`) || name.startsWith(`${field}[`);
144
+ }
145
+ function hasError(item) {
146
+ const errors = props.form?.errors;
147
+ if (!errors || !item.fields?.length) return false;
148
+ return Object.entries(errors).some(
149
+ ([name, message]) => !!message && item.fields.some((field) => inField(name, field))
150
+ );
151
+ }
152
+ const tabItems = computed(
153
+ () => props.tabs?.map(({ fields, ...item }) => ({
154
+ ...item,
155
+ dot: item.dot || hasError({ ...item, fields })
156
+ }))
157
+ );
158
+ function firstTab() {
159
+ return props.tabs?.find((item) => !item.disabled)?.value;
160
+ }
161
+ const activeTab = computed({
162
+ get: () => {
163
+ const wanted = props.tabRoute ? routeTab.value : tab.value;
164
+ const match = props.tabs?.find((item) => item.value === wanted && !item.disabled);
165
+ return match ? match.value : firstTab();
166
+ },
167
+ set: (value) => {
168
+ tab.value = value;
169
+ if (!props.tabRoute || !router) return;
170
+ const stored = value === firstTab() || value === void 0 ? void 0 : String(value);
171
+ void writeRouteValue(router, props.tabRoute, stored, "replace", routeLocation);
172
+ }
173
+ });
174
+ function openErrorTab() {
175
+ const target = props.tabs?.find(hasError);
176
+ if (target && target.value !== activeTab.value) activeTab.value = target.value;
177
+ }
125
178
  const isDirty = computed(() => Boolean(props.form?.dirty.value));
126
179
  const isSaving = computed(() => Boolean(props.form?.submitting.value));
127
180
  const needsDirty = computed(() => props.requireDirty ?? !props.creating);
@@ -135,12 +188,9 @@ const cancelText = computed(
135
188
  const deleteText = computed(() => props.deleteLabel ?? t("common.delete"));
136
189
  async function confirmDiscard() {
137
190
  if (!props.guard || props.readonly || props.loading || !isDirty.value) return true;
138
- return confirm({
139
- tone: "danger",
140
- title: props.guardTitle ?? t("dirtyGuard.title"),
141
- description: props.guardMessage ?? t("formDrawer.discardDescription"),
142
- confirmLabel: t("dirtyGuard.confirm"),
143
- cancelLabel: t("dirtyGuard.cancel")
191
+ return confirm.discard({
192
+ ...props.guardTitle ? { title: props.guardTitle } : {},
193
+ ...props.guardMessage ? { description: props.guardMessage } : {}
144
194
  });
145
195
  }
146
196
  async function beforeClose(reason) {
@@ -1,5 +1,6 @@
1
1
  import type { FormSchema, UseFormReturn } from '../../composables/useForm';
2
2
  import type { TabItem } from '../layout/types';
3
+ import type { FormDrawerTab } from './types';
3
4
  import type { DialogBeforeClose, DrawerSide, DrawerSize } from '../overlays/types';
4
5
  declare const __VLS_export: <S extends FormSchema, V extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
6
  props: import("vue").PublicProps & __VLS_PrettifyLocal<({
@@ -8,7 +9,8 @@ declare const __VLS_export: <S extends FormSchema, V extends object>(__VLS_props
8
9
  label?: string;
9
10
  side?: DrawerSide;
10
11
  size?: DrawerSize;
11
- tabs?: TabItem[];
12
+ tabs?: FormDrawerTab[];
13
+ tabRoute?: string;
12
14
  trail?: string[];
13
15
  backLabel?: string;
14
16
  form?: UseFormReturn<S, V>;
@@ -1,3 +1,4 @@
1
+ import type { TabItem } from '../layout/types';
1
2
  import type { Component } from 'vue';
2
3
  import type { LinkTarget, Tone } from '../core/types';
3
4
  import type { DescriptionItem, StatTrend } from '../data/types';
@@ -156,3 +157,6 @@ export interface DashboardRuntimeState {
156
157
  breadcrumbs?: BreadcrumbItem[];
157
158
  badges?: Record<string, string | number>;
158
159
  }
160
+ export interface FormDrawerTab extends TabItem {
161
+ fields?: string[];
162
+ }
@@ -1,2 +1,3 @@
1
1
  export * from './useAppShell';
2
2
  export * from './useRouteState';
3
+ export * from './useRouteRecord';
@@ -1,2 +1,3 @@
1
1
  export * from "./useAppShell.mjs";
2
2
  export * from "./useRouteState.mjs";
3
+ export * from "./useRouteRecord.mjs";
@@ -1 +1,2 @@
1
1
  export * from './useDirtyGuard';
2
+ export * from './usePageCommands';
@@ -1 +1,2 @@
1
1
  export * from "./useDirtyGuard.mjs";
2
+ export * from "./usePageCommands.mjs";
@@ -1,3 +1,6 @@
1
1
  import type { ConfirmOptions } from '../internal/overlays/confirm';
2
2
  export type { ConfirmOptions } from '../internal/overlays/confirm';
3
- export declare function useConfirm(): (input?: string | ConfirmOptions) => Promise<boolean>;
3
+ export declare function useConfirm(): ((input?: string | ConfirmOptions) => Promise<boolean>) & {
4
+ delete: (title: string, options?: Omit<ConfirmOptions, "title">) => Promise<boolean>;
5
+ discard: (options?: ConfirmOptions) => Promise<boolean>;
6
+ };
@@ -12,12 +12,26 @@ async function nativeConfirm(options, fallback) {
12
12
  }
13
13
  export function useConfirm() {
14
14
  const { t } = useLocale();
15
- return function confirm(input = {}) {
15
+ function confirm(input = {}) {
16
16
  const options = typeof input === "string" ? { description: input } : input;
17
17
  if (!isClient()) return Promise.resolve(false);
18
18
  if (!hasConfirmHost()) return nativeConfirm(options, t("common.areYouSure"));
19
19
  return new Promise((resolve) => {
20
20
  enqueueDialog({ ...options, kind: "confirm", resolve });
21
21
  });
22
- };
22
+ }
23
+ function confirmDelete(title, options = {}) {
24
+ return confirm({ tone: "danger", confirmLabel: t("common.delete"), ...options, title });
25
+ }
26
+ function confirmDiscard(options = {}) {
27
+ return confirm({
28
+ tone: "danger",
29
+ title: t("dirtyGuard.title"),
30
+ description: t("formDrawer.discardDescription"),
31
+ confirmLabel: t("dirtyGuard.confirm"),
32
+ cancelLabel: t("dirtyGuard.cancel"),
33
+ ...options
34
+ });
35
+ }
36
+ return Object.assign(confirm, { delete: confirmDelete, discard: confirmDiscard });
23
37
  }
@@ -0,0 +1,6 @@
1
+ import type { MaybeRefOrGetter } from 'vue';
2
+ import type { CommandItem } from '../components/overlays/types';
3
+ type CommandSource = MaybeRefOrGetter<CommandItem[]>;
4
+ export declare function usePageCommands(commands: CommandSource): void;
5
+ export declare function usePageCommandItems(): import("vue").ComputedRef<CommandItem<unknown>[]>;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import { computed, onBeforeUnmount, onMounted, shallowReactive, toValue } from "vue";
2
+ const sources = shallowReactive(/* @__PURE__ */ new Set());
3
+ export function usePageCommands(commands) {
4
+ onMounted(() => sources.add(commands));
5
+ onBeforeUnmount(() => sources.delete(commands));
6
+ }
7
+ export function usePageCommandItems() {
8
+ return computed(() => [...sources].flatMap((source) => toValue(source)));
9
+ }
@@ -0,0 +1,24 @@
1
+ import type { MaybeRefOrGetter } from 'vue';
2
+ import type { RouteLocation } from '../internal/layout/query';
3
+ export declare const NEW_ROUTE_RECORD = "new";
4
+ export interface RouteRecordOptions<T> {
5
+ find?: (id: string) => T | undefined;
6
+ loaded?: MaybeRefOrGetter<boolean>;
7
+ canCreate?: MaybeRefOrGetter<boolean>;
8
+ linkedKeys?: string[];
9
+ newId?: string;
10
+ location?: RouteLocation;
11
+ }
12
+ type RouteChanges = Record<string, string | undefined>;
13
+ export declare function useRouteRecord<T = never>(key: string, options?: RouteRecordOptions<T>): {
14
+ param: import("vue").Ref<string | undefined, string | undefined>;
15
+ id: import("vue").ComputedRef<string | null>;
16
+ isNew: import("vue").ComputedRef<boolean>;
17
+ current: import("vue").ComputedRef<T | undefined>;
18
+ loading: import("vue").ComputedRef<boolean>;
19
+ open: import("vue").WritableComputedRef<boolean, boolean>;
20
+ openRecord: (recordId: string | null, linked?: RouteChanges) => Promise<boolean>;
21
+ close: () => Promise<boolean>;
22
+ replaceId: (recordId: string, linked?: RouteChanges) => Promise<boolean>;
23
+ };
24
+ export {};
@@ -0,0 +1,55 @@
1
+ import { computed, toValue, watch } from "vue";
2
+ import { useDefaultRouteLocation, writeRouteValue } from "../internal/layout/query.mjs";
3
+ import { useRouterLike } from "../internal/layout/route.mjs";
4
+ import { useRouteState } from "./useRouteState.mjs";
5
+ export const NEW_ROUTE_RECORD = "new";
6
+ export function useRouteRecord(key, options = {}) {
7
+ const router = useRouterLike();
8
+ const location = options.location ?? useDefaultRouteLocation();
9
+ const newId = options.newId ?? NEW_ROUTE_RECORD;
10
+ const param = useRouteState(key, { location });
11
+ const id = computed(() => param.value && param.value !== newId ? param.value : null);
12
+ const isNew = computed(() => param.value === newId);
13
+ const loaded = computed(() => toValue(options.loaded) ?? true);
14
+ const current = computed(() => id.value ? options.find?.(id.value) : void 0);
15
+ const loading = computed(() => !!id.value && !loaded.value);
16
+ function cleared() {
17
+ return Object.fromEntries((options.linkedKeys ?? []).map((name) => [name, void 0]));
18
+ }
19
+ function write(changes, history) {
20
+ if (!router) {
21
+ param.value = changes[key];
22
+ return Promise.resolve(true);
23
+ }
24
+ const writes = Object.entries(changes).map(
25
+ ([name, value]) => writeRouteValue(router, name, value, history, location)
26
+ );
27
+ return Promise.all(writes).then((results) => results.every(Boolean));
28
+ }
29
+ function openRecord(recordId, linked = {}) {
30
+ return write({ ...cleared(), ...linked, [key]: recordId ?? newId }, "push");
31
+ }
32
+ function close() {
33
+ return write({ ...cleared(), [key]: void 0 }, "push");
34
+ }
35
+ function replaceId(recordId, linked = {}) {
36
+ return write({ ...linked, [key]: recordId }, "replace");
37
+ }
38
+ const open = computed({
39
+ get: () => isNew.value ? toValue(options.canCreate) ?? true : !!id.value,
40
+ set: (value) => {
41
+ if (!value) close();
42
+ }
43
+ });
44
+ if (options.find) {
45
+ watch(
46
+ [loaded, id, current],
47
+ () => {
48
+ if (loaded.value && id.value && !current.value)
49
+ write({ ...cleared(), [key]: void 0 }, "replace");
50
+ },
51
+ { immediate: true }
52
+ );
53
+ }
54
+ return { param, id, isNew, current, loading, open, openRecord, close, replaceId };
55
+ }
@@ -160,6 +160,7 @@
160
160
 
161
161
  .k-data-grid-boolean {
162
162
  display: inline-flex;
163
+ vertical-align: middle;
163
164
  align-items: center;
164
165
  gap: 0.375rem;
165
166
  --k-icon-size: 1rem;
@@ -184,6 +185,7 @@
184
185
  .k-data-grid-badge {
185
186
  --k-badge-tone: var(--k-text-muted);
186
187
  display: inline-flex;
188
+ vertical-align: middle;
187
189
  align-items: center;
188
190
  padding: 0.125rem 0.5rem;
189
191
  font-size: 0.75rem;
@@ -197,7 +199,8 @@
197
199
  }
198
200
 
199
201
  .k-data-grid-badges {
200
- display: flex;
202
+ display: inline-flex;
203
+ vertical-align: middle;
201
204
  flex-wrap: nowrap;
202
205
  align-items: center;
203
206
  gap: 0.25rem;
@@ -241,7 +244,8 @@
241
244
  }
242
245
 
243
246
  .k-data-grid-image {
244
- display: block;
247
+ display: inline-block;
248
+ vertical-align: middle;
245
249
  width: var(--k-grid-image-size, 1.75rem);
246
250
  height: var(--k-grid-image-size, 1.75rem);
247
251
  object-fit: cover;
@@ -250,7 +254,7 @@
250
254
  }
251
255
 
252
256
  .k-data-grid-image.is-empty {
253
- display: grid;
257
+ display: inline-grid;
254
258
  place-items: center;
255
259
  color: var(--k-text-dimmed);
256
260
  --k-icon-size: 1rem;
@@ -187,6 +187,7 @@ export const de = {
187
187
  label: "Kontextmen\xFC"
188
188
  },
189
189
  dashboardLayout: {
190
+ pageCommands: "Diese Seite",
190
191
  pages: "Seiten",
191
192
  searchPlaceholder: "Seiten und Aktionen suchen"
192
193
  },
@@ -187,6 +187,7 @@ export const en = {
187
187
  label: "Context menu"
188
188
  },
189
189
  dashboardLayout: {
190
+ pageCommands: "This page",
190
191
  pages: "Pages",
191
192
  searchPlaceholder: "Search pages and actions"
192
193
  },
@@ -187,6 +187,7 @@ export const it = {
187
187
  label: "Menu contestuale"
188
188
  },
189
189
  dashboardLayout: {
190
+ pageCommands: "Questa pagina",
190
191
  pages: "Pagine",
191
192
  searchPlaceholder: "Cerca pagine e azioni"
192
193
  },
@@ -185,6 +185,7 @@ export interface KMessages {
185
185
  label: string;
186
186
  };
187
187
  dashboardLayout: {
188
+ pageCommands: string;
188
189
  pages: string;
189
190
  searchPlaceholder: string;
190
191
  };
@@ -0,0 +1,57 @@
1
+ .k-record-list {
2
+ display: flex;
3
+ flex-direction: column;
4
+ margin: 0;
5
+ padding: 0;
6
+ list-style: none;
7
+ }
8
+
9
+ .k-record-list-item {
10
+ display: flex;
11
+ align-items: center;
12
+ gap: 0.75rem;
13
+ padding-block: 0.75rem;
14
+ }
15
+
16
+ .k-record-list-item + .k-record-list-item {
17
+ border-top: 1px solid var(--k-line);
18
+ }
19
+
20
+ .k-record-list-item:first-child {
21
+ padding-top: 0;
22
+ }
23
+
24
+ .k-record-list-item:last-child {
25
+ padding-bottom: 0;
26
+ }
27
+
28
+ .k-record-list-text {
29
+ display: flex;
30
+ flex: 1;
31
+ flex-direction: column;
32
+ gap: 0.125rem;
33
+ min-width: 0;
34
+ }
35
+
36
+ .k-record-list-title-row {
37
+ display: flex;
38
+ align-items: center;
39
+ gap: 0.5rem;
40
+ min-width: 0;
41
+ }
42
+
43
+ .k-record-list-title {
44
+ overflow: hidden;
45
+ font-weight: var(--k-font-weight-medium, 500);
46
+ color: var(--k-text);
47
+ text-overflow: ellipsis;
48
+ white-space: nowrap;
49
+ }
50
+
51
+ .k-record-list-description {
52
+ overflow: hidden;
53
+ font-size: 0.8125rem;
54
+ color: var(--k-text-muted);
55
+ text-overflow: ellipsis;
56
+ white-space: nowrap;
57
+ }
@@ -3,6 +3,7 @@
3
3
  @import './data/badge.css';
4
4
  @import './data/tag.css';
5
5
  @import './data/tag-list.css';
6
+ @import './data/record-list.css';
6
7
  @import './data/avatar.css';
7
8
  @import './data/description-list.css';
8
9
  @import './data/stat.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.13",
3
+ "version": "0.16.15",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",