@davincihealthcare/elty-design-system-vue 1.71.3 → 1.71.4
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/ElTabGroup.vue.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ElTabGroup.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElTabColors } from './ElTab.vue';
|
|
2
2
|
|
|
3
|
-
export type
|
|
3
|
+
export type ElTabItem = {
|
|
4
4
|
value?: string;
|
|
5
5
|
label: string;
|
|
6
6
|
disabled?: boolean;
|
|
@@ -11,13 +11,13 @@ export type ElTab = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
modelValue: string;
|
|
14
|
-
tabs:
|
|
14
|
+
tabs: ElTabItem[];
|
|
15
15
|
color?: ElTabColors;
|
|
16
16
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (modelValue: string) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
19
|
modelValue: string;
|
|
20
|
-
tabs:
|
|
20
|
+
tabs: ElTabItem[];
|
|
21
21
|
color?: ElTabColors;
|
|
22
22
|
}>>> & {
|
|
23
23
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
package/dist/index.js
CHANGED
|
@@ -21399,7 +21399,7 @@ const AB = [
|
|
|
21399
21399
|
], 2);
|
|
21400
21400
|
};
|
|
21401
21401
|
}
|
|
21402
|
-
}), cB = { class: "
|
|
21402
|
+
}), cB = { class: "w-full" }, uB = { class: "flex flex-wrap sm:flex-nowrap" }, TO = /* @__PURE__ */ fe({
|
|
21403
21403
|
__name: "ElTabGroup",
|
|
21404
21404
|
props: {
|
|
21405
21405
|
modelValue: {},
|
|
@@ -21417,7 +21417,7 @@ const AB = [
|
|
|
21417
21417
|
key: `tab-${N}`,
|
|
21418
21418
|
color: r.color,
|
|
21419
21419
|
badge: u.badge,
|
|
21420
|
-
class: "grow",
|
|
21420
|
+
class: "grow min-w-[120px]",
|
|
21421
21421
|
label: u.label,
|
|
21422
21422
|
status: i(u),
|
|
21423
21423
|
onClick: (S) => o(u.value ?? u.label)
|
|
@@ -22457,7 +22457,7 @@ const DB = () => {
|
|
|
22457
22457
|
})
|
|
22458
22458
|
]));
|
|
22459
22459
|
}
|
|
22460
|
-
}), rm = { class: "flex flex-col gap-2 min-w-80 min-h-20" }, nm = ["for"], am = {
|
|
22460
|
+
}), rm = { class: "flex flex-col gap-2 min-w-0 sm:min-w-80 min-h-20" }, nm = ["for"], am = {
|
|
22461
22461
|
key: 0,
|
|
22462
22462
|
class: "text-xs"
|
|
22463
22463
|
}, Am = ["id", "accept", "disabled", "name", "multiple"], BZ = [
|
|
@@ -22613,7 +22613,7 @@ const DB = () => {
|
|
|
22613
22613
|
label: h.label,
|
|
22614
22614
|
"error-message": r.errorMessage === !1 ? !1 : r.errorMessage || U(S),
|
|
22615
22615
|
"hidden-error-message": h.hiddenErrorMessage,
|
|
22616
|
-
class: "relative inline-block"
|
|
22616
|
+
class: "relative inline-block w-full"
|
|
22617
22617
|
}), {
|
|
22618
22618
|
default: Pe(() => [
|
|
22619
22619
|
O("div", rm, [
|
|
@@ -22621,7 +22621,7 @@ const DB = () => {
|
|
|
22621
22621
|
key: 0,
|
|
22622
22622
|
tabIndex: "0",
|
|
22623
22623
|
for: U(R),
|
|
22624
|
-
class: ee(["min-h-20 p-4 flex flex-col gap-2 items-center justify-center rounded border outline-none border-dashed", {
|
|
22624
|
+
class: ee(["min-h-20 p-4 flex flex-col gap-2 items-center justify-center rounded border outline-none border-dashed w-full", {
|
|
22625
22625
|
"bg-white": !a.value,
|
|
22626
22626
|
"bg-primary-light-hover": a.value,
|
|
22627
22627
|
"hover:bg-primary-light-hover hover:text-primary-hover hover:border-primary-hover group-focus-within:bg-primary-light-focused group-focus-within:text-primary-focused group-focus-within:border-primary-light-focused": !h.disabled,
|
|
@@ -23123,7 +23123,7 @@ const DB = () => {
|
|
|
23123
23123
|
}
|
|
23124
23124
|
}), dm = ["name", "disabled", "data-cy", "onMousedown", "onFocus", "onBlur", "onKeydown"], Nm = {
|
|
23125
23125
|
key: 0,
|
|
23126
|
-
class: "text-neutral-inactive truncate"
|
|
23126
|
+
class: "text-neutral-inactive truncate w-full block"
|
|
23127
23127
|
}, Cm = {
|
|
23128
23128
|
key: 1,
|
|
23129
23129
|
class: "flex h-full w-full items-center justify-start truncate"
|