Skip to content

Commit 1740bdc

Browse files
1 parent 606dd4b commit 1740bdc

File tree

19 files changed

+106
-114
lines changed

19 files changed

+106
-114
lines changed

client-app/ui-kit/components/atoms/badge/vc-badge.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ withDefaults(defineProps<IProps>(), {
3434
color: "primary",
3535
size: "md",
3636
variant: "solid",
37-
maxWidth: "",
3837
});
3938
</script>
4039

client-app/ui-kit/components/atoms/container/vc-container.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ interface IProps {
3030
}
3131
3232
const props = withDefaults(defineProps<IProps>(), {
33-
maxWidth: "",
34-
bgColor: "",
3533
hasBgImage: true,
3634
});
3735

client-app/ui-kit/components/atoms/dialog/vc-dialog.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ interface IProps {
1818
maxHeight?: string;
1919
}
2020
21-
const props = withDefaults(defineProps<IProps>(), {
22-
width: "",
23-
maxHeight: "",
24-
});
21+
const props = defineProps<IProps>();
2522
</script>
2623

2724
<style lang="scss">

client-app/ui-kit/components/atoms/radio-button/vc-radio-button.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ const checked = computed(() => model.value === props.value);
8686
$left: "";
8787
$right: "";
8888
89-
--props-max-lines: v-bind(props.maxLines ? props.maxLines: null);
90-
--props-word-break: v-bind(props.wordBreak ? props.wordBreak: null);
89+
--props-max-lines: v-bind(props.maxLines);
90+
--props-word-break: v-bind(props.wordBreak);
9191
9292
--base-color: var(--vc-radio-button-base-color, var(--color-primary-500));
9393
--focus-color: rgb(from var(--base-color) r g b / 0.3);

client-app/ui-kit/components/atoms/scrollbar/vc-scrollbar.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ const props = withDefaults(defineProps<IProps>(), {
3232
horizontal: false,
3333
disabled: false,
3434
tag: "div",
35-
trackColor: "",
36-
thumbColor: "",
3735
});
3836
3937
const _trackColor = computed(() => getColorValue(props.trackColor));

client-app/ui-kit/components/atoms/typography/vc-typography.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ interface IProps {
3030
const props = withDefaults(defineProps<IProps>(), {
3131
tag: "p",
3232
align: "left",
33-
fontSize: "",
34-
fontWeight: "",
35-
textTransform: "",
36-
color: "",
3733
});
3834
3935
const isHeader = computed(() => /^(h[1-6])$/.test(props.tag));

client-app/ui-kit/components/molecules/button/vc-button.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ const props = withDefaults(defineProps<IProps>(), {
104104
truncate: false,
105105
fullWidth: false,
106106
noWrap: false,
107-
minWidth: "",
108107
tag: "",
109-
iconSize: "",
110108
});
111109
112110
const inputContext = inject<VcInputContextType | null>("inputContext", null);

client-app/ui-kit/components/molecules/chip/vc-chip.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const props = withDefaults(defineProps<IProps>(), {
6969
nowrap: true,
7070
});
7171
72-
const _iconColor = computed(() => (props.iconColor ? getColorValue(props.iconColor) : ""));
72+
const _iconColor = computed(() => getColorValue(props.iconColor));
7373
</script>
7474

7575
<style lang="scss">

client-app/ui-kit/components/molecules/collapsible-content/vc-collapsible-content.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ interface IProps {
3838
}
3939
4040
const emit = defineEmits<IEmits>();
41-
const props = withDefaults(defineProps<IProps>(), {
42-
maxHeight: "",
43-
});
41+
const props = defineProps<IProps>();
4442
4543
const contentWrapperElement = shallowRef<HTMLDivElement>();
4644
const contentElement = shallowRef<ComponentPublicInstance>();
@@ -68,7 +66,7 @@ watch(showAll, (value: boolean) => {
6866

6967
<style lang="scss">
7068
.vc-collapsible-content {
71-
--props-max-height: v-bind("props.maxHeight");
69+
--props-max-height: v-bind(props.maxHeight);
7270
--max-height: var(--props-max-height, var(--vc-collapsible-content-max-height));
7371
7472
&__wrapper {

client-app/ui-kit/components/molecules/composite-shape/vc-composite-shape.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ interface IProps {
2626
}
2727
2828
const props = withDefaults(defineProps<IProps>(), {
29-
size: "",
30-
iconSize: "",
3129
iconBgColor: "",
3230
});
3331
</script>

0 commit comments

Comments
 (0)