sit-onyx 1.6.0-dev-20251216104923 → 1.6.0-dev-20251216122743

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/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { computed as m, provide as Fe, inject as we, toRef as ce, ref as P, watc
2
2
  import { iconChevronDownSmall as Yl, iconCircleAttention as Ao, iconXSmall as ot, iconMoreVertical as To, iconX as Io, iconMoreHorizontalSmall as On, iconCircleCheck as Jl, iconCircleX as Mn, iconCircleInformation as Bt, iconUser as Zl, iconArrowSmallUpRight as Xl, iconChevronRightSmall as Xt, iconArrowSmallLeft as An, iconHome as Ql, iconMoreHorizontal as jo, iconChevronLeftSmall as Qt, iconFileCopy as ea, iconSearch as Tn, iconCheck as ta, iconSearchX as oa, iconChevronDownUp as na, iconCheckSmall as Dt, iconPlusSmall as In, iconEyeDisabled as la, iconListArrowUp as Rn, iconListArrowDown as Ln, iconArrowsSort as aa, iconCircleBlock as sa, iconEyeClosed as ra, iconEye as ia, iconFileDisabled as ca, iconCircleContrast as ua, iconTranslate as da, iconMenu as pa, iconNotificationFlag as ma, iconMinus as ya, iconPlus as fa, iconMinusSmall as va, iconClock as ba, iconFile as ha, iconFilePdf as ga, iconFileCsv as _a, iconAudio as xa, iconVideocam as ka, iconPicture as wa, iconFileRtf as Sa, iconFilePpt as $a, iconFileXls as Ca, iconFileXlsx as Ea, iconFileDoc as Ba, iconFileGlobe as Oa, iconFileArchive as Ma, iconFileText as Aa, iconCloudArrowUp as Ta, iconTrash as Ia, iconShareIos as Ra, iconArrowSmallRight as La, iconSettings as Da, iconLogout as Va } from "@sit-onyx/icons";
3
3
  const Ym = ["compact", "default", "cozy"], K = (n) => ({
4
4
  densityClass: m(() => ({ [`onyx-density-${n.density}`]: !!n.density }))
5
- }), Na = void 0, Dn = Symbol(), le = Symbol("SKELETON_INJECTED_SYMBOL"), Vn = (n) => (t) => m(() => typeof t.skeleton != "symbol" ? t.skeleton : t.skeleton === le && n?.skeleton === !0 ? 3 : !1), eo = (n) => Fe(Dn, Vn(n)), za = Vn(), re = (n) => we(
5
+ }), Na = void 0, Dn = /* @__PURE__ */ Symbol(), le = /* @__PURE__ */ Symbol("SKELETON_INJECTED_SYMBOL"), Vn = (n) => (t) => m(() => typeof t.skeleton != "symbol" ? t.skeleton : t.skeleton === le && n?.skeleton === !0 ? 3 : !1), eo = (n) => Fe(Dn, Vn(n)), za = Vn(), re = (n) => we(
6
6
  Dn,
7
7
  /** Default */
8
8
  za
@@ -16,7 +16,7 @@ const Ym = ["compact", "default", "cozy"], K = (n) => ({
16
16
  }
17
17
  });
18
18
  return a;
19
- }, Nn = Symbol(), Jm = ["default", "nested-large", "nested-small", "card"], Zm = /* @__PURE__ */ I({
19
+ }, Nn = /* @__PURE__ */ Symbol(), Jm = ["default", "nested-large", "nested-small", "card"], Zm = /* @__PURE__ */ I({
20
20
  __name: "OnyxAccordion",
21
21
  props: {
22
22
  density: {},
@@ -249,7 +249,7 @@ const Pa = ["innerHTML"], G = /* @__PURE__ */ I({
249
249
  itemsPerPage: Is
250
250
  }, Rs = {
251
251
  decimal: { style: "decimal" }
252
- }, zn = Symbol(), Pn = (n = {}) => {
252
+ }, zn = /* @__PURE__ */ Symbol(), Pn = (n = {}) => {
253
253
  const t = Ht(ce(n?.locale ?? "en-US")), e = m(() => n.messages?.[t.value] ?? ho), o = m(() => (i, u = {}) => {
254
254
  let c = Yo(i, e.value) ?? Yo(i, ho) ?? "";
255
255
  return c = Ds(c, u.n), Vs(c, u);
@@ -1434,7 +1434,7 @@ const zs = Xe((n) => {
1434
1434
  }, tn = (n) => {
1435
1435
  const t = n.trim();
1436
1436
  return t === "" ? "/" : t === "/" ? t : t.replace(/\/+$/, "");
1437
- }, Zn = Symbol(), qe = /* @__PURE__ */ I({
1437
+ }, Zn = /* @__PURE__ */ Symbol(), qe = /* @__PURE__ */ I({
1438
1438
  __name: "OnyxVisuallyHidden",
1439
1439
  props: {
1440
1440
  is: { default: "span" }
@@ -1546,7 +1546,7 @@ const zs = Xe((n) => {
1546
1546
  { once: !0 }
1547
1547
  );
1548
1548
  });
1549
- }, Xn = Symbol(), ae = Symbol("FORM_INJECTED_SYMBOL"), uo = (n, t, e, o) => m(() => {
1549
+ }, Xn = /* @__PURE__ */ Symbol(), ae = /* @__PURE__ */ Symbol("FORM_INJECTED_SYMBOL"), uo = (n, t, e, o) => m(() => {
1550
1550
  const a = t.value[e];
1551
1551
  return a != null && typeof a != "symbol" ? a : a === ae ? n?.value[e] ?? o : o;
1552
1552
  }), Qn = (n) => (t) => ({
@@ -1722,7 +1722,7 @@ const zs = Xe((n) => {
1722
1722
  */
1723
1723
  restAttrs: e
1724
1724
  };
1725
- }, vt = Symbol("MERGED_REFS"), br = (...n) => {
1725
+ }, vt = /* @__PURE__ */ Symbol("MERGED_REFS"), br = (...n) => {
1726
1726
  let t;
1727
1727
  const e = Gl((o, a) => ({
1728
1728
  [vt]: n ?? [],
@@ -2271,7 +2271,7 @@ const xr = ["role", "aria-label"], Mt = /* @__PURE__ */ I({
2271
2271
  /* FULL_PROPS */
2272
2272
  ));
2273
2273
  }
2274
- }), nl = Symbol(), $r = () => {
2274
+ }), nl = /* @__PURE__ */ Symbol(), $r = () => {
2275
2275
  const n = lt([]), t = (o) => {
2276
2276
  n.value = n.value.concat(ce(o));
2277
2277
  }, e = (o) => {
@@ -2641,7 +2641,7 @@ const ko = /* @__PURE__ */ oo(Ar, [["render", Ir]]), Ne = /* @__PURE__ */ I({
2641
2641
  } : void 0
2642
2642
  ]), 1032, ["class", "headline", "icon", "style", "aria-label"]));
2643
2643
  }
2644
- }), al = Symbol(), Gr = () => {
2644
+ }), al = /* @__PURE__ */ Symbol(), Gr = () => {
2645
2645
  let n = 1;
2646
2646
  const t = P([]), e = (a) => {
2647
2647
  const s = n++;
@@ -2814,7 +2814,7 @@ const ko = /* @__PURE__ */ oo(Ar, [["render", Ir]]), Ne = /* @__PURE__ */ I({
2814
2814
  /* STABLE */
2815
2815
  }, 8, ["class", "role", "aria-label"]));
2816
2816
  }
2817
- }), rl = Symbol(), ei = () => {
2817
+ }), rl = /* @__PURE__ */ Symbol(), ei = () => {
2818
2818
  let n = 1;
2819
2819
  const t = P([]), e = (a) => {
2820
2820
  const s = n++;
@@ -3099,7 +3099,7 @@ const ko = /* @__PURE__ */ oo(Ar, [["render", Ir]]), Ne = /* @__PURE__ */ I({
3099
3099
  */
3100
3100
  isVisible: s
3101
3101
  };
3102
- }, cl = Symbol(), ul = Symbol(), wo = /* @__PURE__ */ I({
3102
+ }, cl = /* @__PURE__ */ Symbol(), ul = /* @__PURE__ */ Symbol(), wo = /* @__PURE__ */ I({
3103
3103
  __name: "OnyxExternalLinkIcon",
3104
3104
  props: {
3105
3105
  href: {},
@@ -4656,7 +4656,7 @@ const ko = /* @__PURE__ */ oo(Ar, [["render", Ir]]), Ne = /* @__PURE__ */ I({
4656
4656
  )
4657
4657
  ], 10, Yi));
4658
4658
  }
4659
- }), bl = Symbol(), hl = Symbol(), Zi = ["disabled"], Xi = { class: "onyx-tab__label" }, dn = /* @__PURE__ */ I({
4659
+ }), bl = /* @__PURE__ */ Symbol(), hl = /* @__PURE__ */ Symbol(), Zi = ["disabled"], Xi = { class: "onyx-tab__label" }, dn = /* @__PURE__ */ I({
4660
4660
  inheritAttrs: !1,
4661
4661
  __name: "OnyxTab",
4662
4662
  props: {
@@ -5280,7 +5280,7 @@ const ko = /* @__PURE__ */ oo(Ar, [["render", Ir]]), Ne = /* @__PURE__ */ I({
5280
5280
  /* FULL_PROPS */
5281
5281
  ));
5282
5282
  }
5283
- }), kc = (n, t) => n.flatMap((e) => e[t]).filter((e) => e?.func).sort((e, o) => (e?.order ?? 0) - (o?.order ?? 0)), wc = (n, t) => n.reduce((e, o) => o.func(e), t), Yt = Symbol("RowOptions"), Sc = { class: "onyx-component onyx-data-grid-header-cell" }, $c = { class: "onyx-data-grid-header-cell__label" }, Cc = {
5283
+ }), kc = (n, t) => n.flatMap((e) => e[t]).filter((e) => e?.func).sort((e, o) => (e?.order ?? 0) - (o?.order ?? 0)), wc = (n, t) => n.reduce((e, o) => o.func(e), t), Yt = /* @__PURE__ */ Symbol("RowOptions"), Sc = { class: "onyx-component onyx-data-grid-header-cell" }, $c = { class: "onyx-data-grid-header-cell__label" }, Cc = {
5284
5284
  key: 0,
5285
5285
  class: "onyx-data-grid-header-cell__actions"
5286
5286
  }, mt = /* @__PURE__ */ I({
@@ -5542,7 +5542,7 @@ const Ec = (n, t) => {
5542
5542
  */
5543
5543
  isAsync: o
5544
5544
  };
5545
- }, Oc = Symbol("Filtering"), Fo = 0, Mc = (n) => (t) => {
5545
+ }, Oc = /* @__PURE__ */ Symbol("Filtering"), Fo = 0, Mc = (n) => (t) => {
5546
5546
  const { i18n: e } = t, o = ce(n?.filterState ?? {}), a = m(() => H(n?.columns)), { isEnabled: s, isAsync: i } = kt(t, n), u = (d) => i.value ? d : d.filter(
5547
5547
  (v) => Object.entries(o.value).every(
5548
5548
  ([g, _]) => {
@@ -6736,7 +6736,7 @@ const Ec = (n, t) => {
6736
6736
  /* FULL_PROPS */
6737
6737
  ));
6738
6738
  }
6739
- }), cu = Symbol("Selection"), Tl = 1e3, uu = (n) => (t) => {
6739
+ }), cu = /* @__PURE__ */ Symbol("Selection"), Tl = 1e3, uu = (n) => (t) => {
6740
6740
  const e = `selection-column-${ve()}`, o = ce(
6741
6741
  n?.selectionState ?? {
6742
6742
  selectMode: "include",
@@ -6807,7 +6807,7 @@ const Ec = (n, t) => {
6807
6807
  })
6808
6808
  }
6809
6809
  };
6810
- }, du = Symbol("Pagination"), pu = Symbol("LazyLoadingRow"), bn = Symbol("LazyLoadingRenderer"), mu = Symbol("ButtonLoadingRow"), hn = Symbol("ButtonLoadingRenderer"), Il = Math.min(Fo, Tl) - 1, yu = (n = {}) => (t) => {
6810
+ }, du = /* @__PURE__ */ Symbol("Pagination"), pu = /* @__PURE__ */ Symbol("LazyLoadingRow"), bn = /* @__PURE__ */ Symbol("LazyLoadingRenderer"), mu = /* @__PURE__ */ Symbol("ButtonLoadingRow"), hn = /* @__PURE__ */ Symbol("ButtonLoadingRenderer"), Il = Math.min(Fo, Tl) - 1, yu = (n = {}) => (t) => {
6811
6811
  const e = ce(
6812
6812
  n?.paginationState ?? { current: 1, pages: 1, pageSize: n?.pageSize ?? 25 }
6813
6813
  ), { isEnabled: o, isAsync: a } = kt(t, n), s = m(() => n.disabled?.value ?? !1), i = m(
@@ -6900,7 +6900,7 @@ const Ec = (n, t) => {
6900
6900
  }
6901
6901
  })
6902
6902
  };
6903
- }, fu = Symbol("Base"), vu = Math.max(Fo, Il) + 1, bu = (n) => ({ skeleton: t }) => {
6903
+ }, fu = /* @__PURE__ */ Symbol("Base"), vu = Math.max(Fo, Il) + 1, bu = (n) => ({ skeleton: t }) => {
6904
6904
  const e = P(0), o = m(() => {
6905
6905
  const a = H(n?.headline);
6906
6906
  if (a)
@@ -7024,7 +7024,7 @@ const Ec = (n, t) => {
7024
7024
  } : void 0
7025
7025
  ]), 1040, ["column-groups", "columns", "rows", "scroll-container-attrs"]));
7026
7026
  }
7027
- }), hu = Symbol("HideColumnsFeature"), yo = Symbol("HiddenColumn"), gu = (n) => (t) => {
7027
+ }), hu = /* @__PURE__ */ Symbol("HideColumnsFeature"), yo = /* @__PURE__ */ Symbol("HiddenColumn"), gu = (n) => (t) => {
7028
7028
  const { i18n: e } = t, { isEnabled: o } = kt(t, n), a = P([]), s = ce(n?.state ?? /* @__PURE__ */ new Set()), i = m(
7029
7029
  () => a.value.filter((p) => s.value.has(p.key))
7030
7030
  ), u = () => de(
@@ -7184,7 +7184,7 @@ const Ec = (n, t) => {
7184
7184
  /* CLASS, NEED_HYDRATION */
7185
7185
  ));
7186
7186
  }
7187
- }), _u = Symbol("Resizing"), Ft = Symbol("FILLER_COLUMN"), xu = (n) => (t) => {
7187
+ }), _u = /* @__PURE__ */ Symbol("Resizing"), Ft = /* @__PURE__ */ Symbol("FILLER_COLUMN"), xu = (n) => (t) => {
7188
7188
  const e = P(), o = 48, a = P(/* @__PURE__ */ new Map()), { isEnabled: s } = kt(t, n), i = ce(n?.resizeState ?? /* @__PURE__ */ new Map()), u = P();
7189
7189
  ne(
7190
7190
  [a, i],
@@ -7324,7 +7324,7 @@ const Ec = (n, t) => {
7324
7324
  default:
7325
7325
  return "asc";
7326
7326
  }
7327
- }, Su = Symbol("Sorting"), $u = (n) => (t) => {
7327
+ }, Su = /* @__PURE__ */ Symbol("Sorting"), $u = (n) => (t) => {
7328
7328
  const e = ce(
7329
7329
  n?.sortState ?? {
7330
7330
  column: void 0,
@@ -7410,7 +7410,7 @@ const Ec = (n, t) => {
7410
7410
  ].filter((C) => C !== null) : []
7411
7411
  }
7412
7412
  };
7413
- }, Cu = Symbol("StickyColumns"), Eu = (n) => () => {
7413
+ }, Cu = /* @__PURE__ */ Symbol("StickyColumns"), Eu = (n) => () => {
7414
7414
  const t = m(() => H(n?.columns) ?? []), e = m(() => H(n?.position) ?? "left"), o = P({}), a = P({}), s = ve(), i = P(!1), u = (d) => `--onyx-data-grid-sticky-column-position-${s}-${Vo(d)}`;
7415
7415
  Re(() => {
7416
7416
  if (!("ResizeObserver" in window)) return;
@@ -7746,7 +7746,7 @@ const Ec = (n, t) => {
7746
7746
  */
7747
7747
  maxLength: a
7748
7748
  };
7749
- }, so = Symbol(), kn = Symbol(), Ll = Symbol(), Dl = Symbol(), Lu = ["aria-orientation"], Jt = /* @__PURE__ */ I({
7749
+ }, so = /* @__PURE__ */ Symbol(), kn = /* @__PURE__ */ Symbol(), Ll = /* @__PURE__ */ Symbol(), Dl = /* @__PURE__ */ Symbol(), Lu = ["aria-orientation"], Jt = /* @__PURE__ */ I({
7750
7750
  __name: "OnyxSeparator",
7751
7751
  props: {
7752
7752
  orientation: { default: "horizontal" }
@@ -7915,7 +7915,7 @@ const Ec = (n, t) => {
7915
7915
  /* FULL_PROPS */
7916
7916
  ));
7917
7917
  }
7918
- }), qo = Symbol(), zu = { class: "onyx-global-search__footer onyx-text--small" }, Pu = { class: "onyx-global-search__shortcut" }, Fu = { class: "onyx-global-search__shortcut-label" }, Uu = { class: "onyx-global-search__shortcut" }, Hu = { class: "onyx-global-search__shortcut-label" }, Gu = { class: "onyx-global-search__shortcut" }, qu = { class: "onyx-global-search__shortcut-label" }, Ku = {}, fy = /* @__PURE__ */ I({
7918
+ }), qo = /* @__PURE__ */ Symbol(), zu = { class: "onyx-global-search__footer onyx-text--small" }, Pu = { class: "onyx-global-search__shortcut" }, Fu = { class: "onyx-global-search__shortcut-label" }, Uu = { class: "onyx-global-search__shortcut" }, Hu = { class: "onyx-global-search__shortcut-label" }, Gu = { class: "onyx-global-search__shortcut" }, qu = { class: "onyx-global-search__shortcut-label" }, Ku = {}, fy = /* @__PURE__ */ I({
7919
7919
  ...Ku,
7920
7920
  __name: "OnyxGlobalSearch",
7921
7921
  props: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sit-onyx",
3
3
  "description": "A design system and Vue.js component library created by Schwarz IT",
4
- "version": "1.6.0-dev-20251216104923",
4
+ "version": "1.6.0-dev-20251216122743",
5
5
  "type": "module",
6
6
  "author": "Schwarz IT KG",
7
7
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "@axe-core/playwright": "^4.11.0",
47
47
  "@playwright/experimental-ct-vue": "1.57.0",
48
48
  "@playwright/test": "1.57.0",
49
- "@storybook/addon-a11y": "^10.1.8",
49
+ "@storybook/addon-a11y": "^10.1.9",
50
50
  "@vue/compiler-dom": "3.5.25",
51
51
  "@vue/test-utils": "^2.4.6",
52
52
  "axe-core": "^4.11.0",
@@ -59,8 +59,8 @@
59
59
  "vue-i18n": "^11.2.2",
60
60
  "vue-router": "^4.6.4",
61
61
  "@sit-onyx/flags": "^1.0.0",
62
- "@sit-onyx/playwright-utils": "^1.0.0",
63
62
  "@sit-onyx/headless": "^0.4.0",
63
+ "@sit-onyx/playwright-utils": "^1.0.0",
64
64
  "@sit-onyx/shared": "^0.1.0",
65
65
  "@sit-onyx/storybook-utils": "^1.1.0"
66
66
  },