@idds/vue 1.0.67 → 1.0.68
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/components/Chip.vue.d.ts.map +1 -1
- package/dist/components/Skeleton.vue.d.ts +23 -18
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/index.es.js +21 -13
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4154,53 +4154,53 @@ declare const _default: {
|
|
|
4154
4154
|
};
|
|
4155
4155
|
});
|
|
4156
4156
|
Skeleton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4157
|
-
|
|
4158
|
-
type: import('vue').PropType<
|
|
4159
|
-
default: string;
|
|
4160
|
-
};
|
|
4161
|
-
animation: {
|
|
4162
|
-
type: import('vue').PropType<"none" | "pulse" | "wave">;
|
|
4157
|
+
className: {
|
|
4158
|
+
type: import('vue').PropType<string>;
|
|
4163
4159
|
default: string;
|
|
4164
4160
|
};
|
|
4165
4161
|
width: {
|
|
4166
|
-
type: import('vue').PropType<string
|
|
4167
|
-
default:
|
|
4162
|
+
type: import('vue').PropType<string>;
|
|
4163
|
+
default: any;
|
|
4168
4164
|
};
|
|
4169
4165
|
height: {
|
|
4170
|
-
type: import('vue').PropType<string
|
|
4166
|
+
type: import('vue').PropType<string>;
|
|
4171
4167
|
default: string;
|
|
4172
4168
|
};
|
|
4173
|
-
|
|
4174
|
-
type: import('vue').PropType<"
|
|
4169
|
+
rounded: {
|
|
4170
|
+
type: import('vue').PropType<"none" | "sm" | "md" | "lg" | "full" | "xs">;
|
|
4175
4171
|
default: string;
|
|
4176
4172
|
};
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
type: import('vue').PropType<"sm" | "md" | "lg">;
|
|
4173
|
+
color: {
|
|
4174
|
+
type: import('vue').PropType<"gray" | "blue" | "green" | "red" | "yellow">;
|
|
4180
4175
|
default: string;
|
|
4181
4176
|
};
|
|
4182
|
-
|
|
4183
|
-
|
|
4177
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4178
|
+
className: {
|
|
4179
|
+
type: import('vue').PropType<string>;
|
|
4184
4180
|
default: string;
|
|
4185
4181
|
};
|
|
4186
4182
|
width: {
|
|
4187
|
-
type: import('vue').PropType<string
|
|
4188
|
-
default:
|
|
4183
|
+
type: import('vue').PropType<string>;
|
|
4184
|
+
default: any;
|
|
4189
4185
|
};
|
|
4190
4186
|
height: {
|
|
4191
|
-
type: import('vue').PropType<string
|
|
4187
|
+
type: import('vue').PropType<string>;
|
|
4192
4188
|
default: string;
|
|
4193
4189
|
};
|
|
4194
|
-
|
|
4195
|
-
type: import('vue').PropType<"
|
|
4190
|
+
rounded: {
|
|
4191
|
+
type: import('vue').PropType<"none" | "sm" | "md" | "lg" | "full" | "xs">;
|
|
4192
|
+
default: string;
|
|
4193
|
+
};
|
|
4194
|
+
color: {
|
|
4195
|
+
type: import('vue').PropType<"gray" | "blue" | "green" | "red" | "yellow">;
|
|
4196
4196
|
default: string;
|
|
4197
4197
|
};
|
|
4198
4198
|
}>> & Readonly<{}>, {
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4199
|
+
className: string;
|
|
4200
|
+
width: string;
|
|
4201
|
+
height: string;
|
|
4202
|
+
rounded: "none" | "xs" | "sm" | "md" | "lg" | "full";
|
|
4203
|
+
color: "gray" | "blue" | "green" | "red" | "yellow";
|
|
4204
4204
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4205
4205
|
Spinner: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4206
4206
|
size: {
|
package/dist/index.es.js
CHANGED
|
@@ -2738,6 +2738,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2738
2738
|
"model-value": tempValue.value,
|
|
2739
2739
|
class: "ina-chip__input",
|
|
2740
2740
|
placeholder: "Masukkan data yang Anda inginkan",
|
|
2741
|
+
"show-clear-button": false,
|
|
2741
2742
|
"onUpdate:modelValue": setTempValue,
|
|
2742
2743
|
onBlur: handleBlur,
|
|
2743
2744
|
onKeydown: handleKeydown
|
|
@@ -7711,28 +7712,35 @@ const Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-d
|
|
|
7711
7712
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
7712
7713
|
__name: "Skeleton",
|
|
7713
7714
|
props: {
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7715
|
+
className: { default: "" },
|
|
7716
|
+
color: { default: "gray" },
|
|
7717
|
+
width: { default: void 0 },
|
|
7718
|
+
height: { default: "32px" },
|
|
7719
|
+
rounded: { default: "md" }
|
|
7719
7720
|
},
|
|
7720
7721
|
setup(__props) {
|
|
7721
7722
|
const props = __props;
|
|
7722
7723
|
const skeletonClasses = computed(() => {
|
|
7723
7724
|
const classes = ["ina-skeleton"];
|
|
7724
|
-
classes.push(`ina-skeleton--
|
|
7725
|
-
classes.push(`ina-skeleton--
|
|
7726
|
-
|
|
7725
|
+
classes.push(`ina-skeleton--rounded-${props.rounded}`);
|
|
7726
|
+
classes.push(`ina-skeleton--color-${props.color}`);
|
|
7727
|
+
if (props.className) {
|
|
7728
|
+
classes.push(props.className);
|
|
7729
|
+
}
|
|
7727
7730
|
return classes;
|
|
7728
7731
|
});
|
|
7729
7732
|
const skeletonStyle = computed(() => {
|
|
7730
7733
|
const style = {};
|
|
7731
|
-
|
|
7732
|
-
style.width = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
7733
|
-
}
|
|
7734
|
+
const isFixed = typeof props.width !== "undefined";
|
|
7734
7735
|
if (props.height) {
|
|
7735
|
-
style.height =
|
|
7736
|
+
style.height = props.height;
|
|
7737
|
+
}
|
|
7738
|
+
if (isFixed) {
|
|
7739
|
+
style.flex = "0 0 auto";
|
|
7740
|
+
style.width = props.width;
|
|
7741
|
+
} else {
|
|
7742
|
+
style.flex = "1 1 auto";
|
|
7743
|
+
style.width = "auto";
|
|
7736
7744
|
}
|
|
7737
7745
|
return style;
|
|
7738
7746
|
});
|
|
@@ -7741,7 +7749,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
7741
7749
|
class: normalizeClass(["ina-skeleton", skeletonClasses.value]),
|
|
7742
7750
|
style: normalizeStyle(skeletonStyle.value)
|
|
7743
7751
|
}, [..._cache[0] || (_cache[0] = [
|
|
7744
|
-
createElementVNode("div", { class: "ina-
|
|
7752
|
+
createElementVNode("div", { class: "ina-skeleton__wave" }, null, -1)
|
|
7745
7753
|
])], 6);
|
|
7746
7754
|
};
|
|
7747
7755
|
}
|