design-system-next 2.15.0 → 2.15.1
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/design-system-next.es.js +62 -57
- package/dist/design-system-next.es.js.gz +0 -0
- package/dist/design-system-next.umd.js +2 -2
- package/dist/design-system-next.umd.js.gz +0 -0
- package/dist/package.json.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/select/select-ladderized/select-ladderized.ts +1 -1
- package/src/components/select/select.ts +2 -2
- package/src/components/select/select.vue +50 -47
|
@@ -15466,7 +15466,7 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
15466
15466
|
},
|
|
15467
15467
|
autoHide: {
|
|
15468
15468
|
type: Boolean,
|
|
15469
|
-
default: !
|
|
15469
|
+
default: !1
|
|
15470
15470
|
},
|
|
15471
15471
|
wrapperPosition: {
|
|
15472
15472
|
type: String,
|
|
@@ -16331,7 +16331,7 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16331
16331
|
triggers: {
|
|
16332
16332
|
type: Array,
|
|
16333
16333
|
validator: (e) => e.every((t) => Wa.includes(t)),
|
|
16334
|
-
default: () => [
|
|
16334
|
+
default: () => []
|
|
16335
16335
|
},
|
|
16336
16336
|
popperTriggers: {
|
|
16337
16337
|
type: Array,
|
|
@@ -16340,7 +16340,7 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16340
16340
|
},
|
|
16341
16341
|
autoHide: {
|
|
16342
16342
|
type: Boolean,
|
|
16343
|
-
default: !
|
|
16343
|
+
default: !1
|
|
16344
16344
|
},
|
|
16345
16345
|
popperStrategy: {
|
|
16346
16346
|
type: String,
|
|
@@ -16602,7 +16602,7 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16602
16602
|
], 10, Uf)) : z("", !0),
|
|
16603
16603
|
Q(o(mt), {
|
|
16604
16604
|
shown: o(a),
|
|
16605
|
-
"onUpdate:shown": m[
|
|
16605
|
+
"onUpdate:shown": m[6] || (m[6] = (S) => $e(a) ? a.value = S : null),
|
|
16606
16606
|
"aria-id": "select-wrapper",
|
|
16607
16607
|
distance: r.distance,
|
|
16608
16608
|
placement: r.placement,
|
|
@@ -16630,13 +16630,13 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16630
16630
|
key: 0,
|
|
16631
16631
|
modelValue: o(p),
|
|
16632
16632
|
"onUpdate:modelValue": [
|
|
16633
|
-
m[
|
|
16633
|
+
m[4] || (m[4] = (S) => $e(p) ? p.value = S : null),
|
|
16634
16634
|
o(N)
|
|
16635
16635
|
],
|
|
16636
16636
|
"menu-list": o(d),
|
|
16637
16637
|
"group-items-by": r.groupItemsBy,
|
|
16638
16638
|
"pre-selected-items": Array.isArray(o(u)) ? o(u).flat() : [o(u)]
|
|
16639
|
-
}, null, 8, ["modelValue", "menu-list", "group-items-by", "pre-selected-items", "onUpdate:modelValue"])) : (g(), v("div", Gf, [...m[
|
|
16639
|
+
}, null, 8, ["modelValue", "menu-list", "group-items-by", "pre-selected-items", "onUpdate:modelValue"])) : (g(), v("div", Gf, [...m[8] || (m[8] = [
|
|
16640
16640
|
I("span", { class: "spr-body-sm-regular spr-m-0" }, "No results found", -1)
|
|
16641
16641
|
])]))
|
|
16642
16642
|
], 64)) : (g(), v(ne, { key: 0 }, [
|
|
@@ -16644,13 +16644,13 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16644
16644
|
key: 0,
|
|
16645
16645
|
modelValue: o(p),
|
|
16646
16646
|
"onUpdate:modelValue": [
|
|
16647
|
-
m[
|
|
16647
|
+
m[3] || (m[3] = (S) => $e(p) ? p.value = S : null),
|
|
16648
16648
|
o(N)
|
|
16649
16649
|
],
|
|
16650
16650
|
"menu-list": o(c),
|
|
16651
16651
|
"group-items-by": r.groupItemsBy,
|
|
16652
16652
|
"pre-selected-items": Array.isArray(o(u)) ? o(u).flat() : [o(u)]
|
|
16653
|
-
}, null, 8, ["modelValue", "menu-list", "group-items-by", "pre-selected-items", "onUpdate:modelValue"])) : (g(), v("div", Hf, [...m[
|
|
16653
|
+
}, null, 8, ["modelValue", "menu-list", "group-items-by", "pre-selected-items", "onUpdate:modelValue"])) : (g(), v("div", Hf, [...m[7] || (m[7] = [
|
|
16654
16654
|
I("span", { class: "spr-body-sm-regular spr-m-0" }, "No results found", -1)
|
|
16655
16655
|
])]))
|
|
16656
16656
|
], 64))
|
|
@@ -16659,13 +16659,13 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16659
16659
|
key: 0,
|
|
16660
16660
|
modelValue: o(p),
|
|
16661
16661
|
"onUpdate:modelValue": [
|
|
16662
|
-
m[
|
|
16662
|
+
m[5] || (m[5] = (S) => $e(p) ? p.value = S : null),
|
|
16663
16663
|
o(N)
|
|
16664
16664
|
],
|
|
16665
16665
|
"menu-list": o(d),
|
|
16666
16666
|
"group-items-by": r.groupItemsBy,
|
|
16667
16667
|
"pre-selected-items": Array.isArray(o(u)) ? o(u).flat() : [o(u)]
|
|
16668
|
-
}, null, 8, ["modelValue", "menu-list", "group-items-by", "pre-selected-items", "onUpdate:modelValue"])) : (g(), v("div", Zf, [...m[
|
|
16668
|
+
}, null, 8, ["modelValue", "menu-list", "group-items-by", "pre-selected-items", "onUpdate:modelValue"])) : (g(), v("div", Zf, [...m[9] || (m[9] = [
|
|
16669
16669
|
I("span", { class: "spr-body-sm-regular spr-m-0" }, "No results found", -1)
|
|
16670
16670
|
])]))
|
|
16671
16671
|
], 64))
|
|
@@ -16676,53 +16676,58 @@ const S7 = ["white", "dark", "gray", "green"], T7 = [
|
|
|
16676
16676
|
ref_key: "selectRef",
|
|
16677
16677
|
ref: i
|
|
16678
16678
|
}, [
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
modelValue: o(f),
|
|
16682
|
-
"onUpdate:modelValue": m[0] || (m[0] = (S) => $e(f) ? f.value = S : null),
|
|
16683
|
-
class: A({
|
|
16684
|
-
"spr-cursor-pointer": !r.searchable
|
|
16685
|
-
}),
|
|
16686
|
-
placeholder: r.placeholder,
|
|
16687
|
-
autocomplete: "off",
|
|
16688
|
-
"helper-text": r.helperText,
|
|
16689
|
-
"helper-icon": r.helperIcon,
|
|
16690
|
-
"display-helper": r.displayHelper,
|
|
16691
|
-
active: r.active,
|
|
16692
|
-
readonly: !r.searchable,
|
|
16693
|
-
disabled: r.disabled,
|
|
16694
|
-
error: r.error,
|
|
16695
|
-
onKeyup: o(y)
|
|
16696
|
-
}, {
|
|
16697
|
-
icon: W(() => [
|
|
16698
|
-
I("div", Bf, [
|
|
16699
|
-
r.clearable && o(f) ? (g(), re(o(ee), {
|
|
16700
|
-
key: 0,
|
|
16701
|
-
class: "spr-cursor-pointer",
|
|
16702
|
-
icon: "ph:x",
|
|
16703
|
-
onClick: er(o(b), ["stop"])
|
|
16704
|
-
}, null, 8, ["onClick"])) : z("", !0),
|
|
16705
|
-
Q(o(ee), { icon: "ph:caret-down" })
|
|
16706
|
-
])
|
|
16707
|
-
]),
|
|
16708
|
-
helperMessage: W(() => [
|
|
16709
|
-
le(x.$slots, "helperMessage")
|
|
16710
|
-
]),
|
|
16711
|
-
_: 3
|
|
16712
|
-
}, 8, ["id", "modelValue", "class", "placeholder", "helper-text", "helper-icon", "display-helper", "active", "readonly", "disabled", "error", "onKeyup"]),
|
|
16713
|
-
o(d) && o(d).length ? (g(), v("select", {
|
|
16714
|
-
key: 0,
|
|
16715
|
-
value: Array.isArray(o(u)) ? o(u)[0] : o(u),
|
|
16716
|
-
"data-testid": "qa-hidden-select",
|
|
16717
|
-
tabindex: "-1",
|
|
16718
|
-
"aria-hidden": "true",
|
|
16719
|
-
hidden: ""
|
|
16679
|
+
I("div", {
|
|
16680
|
+
onClick: m[2] || (m[2] = (S) => r.searchable ? null : a.value = !o(a))
|
|
16720
16681
|
}, [
|
|
16721
|
-
(
|
|
16722
|
-
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16682
|
+
Q(pt, {
|
|
16683
|
+
id: `input-${r.id}`,
|
|
16684
|
+
modelValue: o(f),
|
|
16685
|
+
"onUpdate:modelValue": m[0] || (m[0] = (S) => $e(f) ? f.value = S : null),
|
|
16686
|
+
class: A({
|
|
16687
|
+
"spr-cursor-pointer": !r.searchable
|
|
16688
|
+
}),
|
|
16689
|
+
placeholder: r.placeholder,
|
|
16690
|
+
autocomplete: "off",
|
|
16691
|
+
"helper-text": r.helperText,
|
|
16692
|
+
"helper-icon": r.helperIcon,
|
|
16693
|
+
"display-helper": r.displayHelper,
|
|
16694
|
+
active: r.active,
|
|
16695
|
+
readonly: !r.searchable,
|
|
16696
|
+
disabled: r.disabled,
|
|
16697
|
+
error: r.error,
|
|
16698
|
+
onKeyup: o(y),
|
|
16699
|
+
onClick: m[1] || (m[1] = (S) => r.searchable ? a.value = !0 : null)
|
|
16700
|
+
}, {
|
|
16701
|
+
icon: W(() => [
|
|
16702
|
+
I("div", Bf, [
|
|
16703
|
+
r.clearable && o(f) ? (g(), re(o(ee), {
|
|
16704
|
+
key: 0,
|
|
16705
|
+
class: "spr-cursor-pointer",
|
|
16706
|
+
icon: "ph:x",
|
|
16707
|
+
onClick: er(o(b), ["stop"])
|
|
16708
|
+
}, null, 8, ["onClick"])) : z("", !0),
|
|
16709
|
+
Q(o(ee), { icon: "ph:caret-down" })
|
|
16710
|
+
])
|
|
16711
|
+
]),
|
|
16712
|
+
helperMessage: W(() => [
|
|
16713
|
+
le(x.$slots, "helperMessage")
|
|
16714
|
+
]),
|
|
16715
|
+
_: 3
|
|
16716
|
+
}, 8, ["id", "modelValue", "class", "placeholder", "helper-text", "helper-icon", "display-helper", "active", "readonly", "disabled", "error", "onKeyup"]),
|
|
16717
|
+
o(d) && o(d).length ? (g(), v("select", {
|
|
16718
|
+
key: 0,
|
|
16719
|
+
value: Array.isArray(o(u)) ? o(u)[0] : o(u),
|
|
16720
|
+
"data-testid": "qa-hidden-select",
|
|
16721
|
+
tabindex: "-1",
|
|
16722
|
+
"aria-hidden": "true",
|
|
16723
|
+
hidden: ""
|
|
16724
|
+
}, [
|
|
16725
|
+
(g(!0), v(ne, null, De(o(d), (S) => (g(), v("option", {
|
|
16726
|
+
key: S.value,
|
|
16727
|
+
value: S.value
|
|
16728
|
+
}, q(S.text), 9, Vf))), 128))
|
|
16729
|
+
], 8, Rf)) : z("", !0)
|
|
16730
|
+
]),
|
|
16726
16731
|
I("div", {
|
|
16727
16732
|
id: r.id,
|
|
16728
16733
|
style: Ue({
|
|
@@ -22384,7 +22389,7 @@ const yy = (e, t) => {
|
|
|
22384
22389
|
}), hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22385
22390
|
__proto__: null,
|
|
22386
22391
|
default: gm
|
|
22387
|
-
}, Symbol.toStringTag, { value: "Module" })), vm = "2.15.
|
|
22392
|
+
}, Symbol.toStringTag, { value: "Module" })), vm = "2.15.1", ym = {
|
|
22388
22393
|
version: vm
|
|
22389
22394
|
}, mm = "spr-", Cm = /* @__PURE__ */ Object.assign({ "../src/components/accordion/accordion.vue": b1, "../src/components/avatar/avatar.vue": E1, "../src/components/badge/badge.vue": k1, "../src/components/banner/banner.vue": R1, "../src/components/button/button-dropdown/button-dropdown.vue": e3, "../src/components/button/button.vue": p1, "../src/components/calendar-cell/calendar-cell.vue": c3, "../src/components/calendar/calendar.vue": D4, "../src/components/card/card.vue": C3, "../src/components/checkbox/checkbox.vue": qd, "../src/components/chips/chips.vue": E4, "../src/components/collapsible/collapsible.vue": Iu, "../src/components/date-picker/date-picker.vue": Cp, "../src/components/date-picker/date-range-picker/date-range-picker.vue": r6, "../src/components/dropdown/dropdown.vue": Jc, "../src/components/empty-state/empty-state.vue": P3, "../src/components/file-upload/file-upload.vue": N6, "../src/components/filter/filter.vue": Y6, "../src/components/floating-action/floating-action.vue": Q6, "../src/components/input/input-contact-number/input-contact-number.vue": v8, "../src/components/input/input-currency/input-currency.vue": M8, "../src/components/input/input-dropdown/input-dropdown.vue": N8, "../src/components/input/input-email/input-email.vue": I8, "../src/components/input/input-password/input-password.vue": A8, "../src/components/input/input-search/input-search.vue": dc, "../src/components/input/input-url/input-url.vue": T8, "../src/components/input/input-username/input-username.vue": _8, "../src/components/input/input.vue": uc, "../src/components/list/ladderized-list/ladderized-list-back.vue": Rc, "../src/components/list/ladderized-list/ladderized-list.vue": Hc, "../src/components/list/list.vue": Yc, "../src/components/logo/logo.vue": k7, "../src/components/lozenge/lozenge.vue": bc, "../src/components/modal/modal.vue": B7, "../src/components/progress-bar/progress-bar.vue": W7, "../src/components/radio/radio.vue": sf, "../src/components/select/select-ladderized/select-ladderized.vue": yf, "../src/components/select/select-multiple/select-multiple.vue": Of, "../src/components/select/select.vue": Kf, "../src/components/sidenav/sidenav-menu-links.vue": Ng, "../src/components/sidenav/sidenav.vue": Qg, "../src/components/sidepanel/sidepanel.vue": qg, "../src/components/sidepanel/stacking-sidepanel/stacking-sidepanel.vue": sh, "../src/components/slider/slider.vue": dh, "../src/components/snackbar/snack/snack.vue": yh, "../src/components/snackbar/snackbar.vue": Xh, "../src/components/status/status.vue": u3, "../src/components/stepper/step/step.vue": av, "../src/components/stepper/stepper.vue": lv, "../src/components/switch/switch.vue": mv, "../src/components/table/table-actions/table-actions.vue": Dv, "../src/components/table/table-chips-title/table-chips-title.vue": xv, "../src/components/table/table-lozenge-title/table-lozenge-title.vue": Tv, "../src/components/table/table-pagination/table-pagination.vue": Yv, "../src/components/table/table.vue": By, "../src/components/tabs/tabs.vue": Jy, "../src/components/textarea/textarea.vue": am, "../src/components/time-picker/time-picker.vue": hm, "../src/components/tooltip/tooltip.vue": tg }), bm = ["sidenav-menu-links.vue"], Mm = (e) => {
|
|
22390
22395
|
Object.entries(Cm).filter(([t]) => {
|
|
Binary file
|