@ironsource/shared-ui 1.4.3 → 2.0.0-rc.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/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -0
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Label.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Option.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Popover.vue_vue_type_style_index_0_lang.css +1 -1
- package/README.md +1 -1
- package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_1_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Typography.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/commonCssVariables.scss +623 -0
- package/components/ThemeWrapper/ThemeStrore.d.ts +4 -0
- package/components/ThemeWrapper/ThemeWrapper.vue.d.ts +15 -0
- package/components/appTrigger/AppTrigger.vue.js +4 -4
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +4 -3
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +2 -2
- package/components/autocompleteDropdown/GroupOption.vue.js +2 -2
- package/components/button/common/ButtonBase.vue.d.ts +48 -0
- package/components/button/{ButtonBase.vue.js → common/ButtonBase.vue.js} +7 -7
- package/components/button/{Button.vue.d.ts → common/ButtonSuper.vue.d.ts} +3 -3
- package/components/button/{ButtonBase.vue.d.ts → v3/Button.vue.d.ts} +20 -4
- package/components/button/v3/Button.vue.js +102 -0
- package/components/button/{IconButton.vue.js → v3/IconButton.vue.js} +7 -7
- package/components/button/{ScrollButton.vue.js → v3/ScrollButton.vue.js} +6 -6
- package/components/button/v3/index.d.ts +79 -0
- package/components/button/v4/ButtonV4.vue.d.ts +57 -0
- package/components/button/v4/ButtonV4.vue.js +99 -0
- package/components/button/{index.d.ts → v4/index.d.ts} +33 -76
- package/components/button/v4/index.vue.js +6 -0
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/index.d.ts +9 -9
- package/components/chip/{Chip.vue.js → v3/Chip.vue.js} +5 -5
- package/components/chip/v4/ChipV4.vue.d.ts +48 -0
- package/components/chip/v4/ChipV4.vue.js +76 -0
- package/components/chip/v4/index.d.ts +63 -0
- package/components/chip/v4/index.vue.js +6 -0
- package/components/dateRange/CalendarMonth.vue.js +3 -3
- package/components/dateRange/DateRange.vue.js +4 -4
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +8 -7
- package/components/dialog/index.d.ts +11 -11
- package/components/dropdown/common/Dropdown.common.d.ts +36 -0
- package/components/dropdown/common/Dropdown.common.vue.js +456 -0
- package/components/dropdown/{Label.vue.js → common/Label.vue.js} +5 -5
- package/components/dropdown/{Option.vue.js → common/Option.vue.js} +7 -7
- package/components/dropdown/{SearchInput.vue.js → common/SearchInput.vue.js} +8 -7
- package/components/dropdown/{Dropdown.vue.d.ts → v3/Dropdown.vue.d.ts} +15 -5
- package/components/dropdown/v3/Dropdown.vue.js +391 -0
- package/components/dropdown/{index.d.ts → v3/index.d.ts} +42 -20
- package/components/dropdown/v3/index.vue.js +12 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +223 -0
- package/components/dropdown/v4/DropdownV4.vue.js +408 -0
- package/components/dropdown/v4/index.d.ts +433 -0
- package/components/dropdown/v4/index.vue.js +6 -0
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +4 -4
- package/components/emptyState/index.d.ts +11 -11
- package/components/filterDropdown/AddFilterButton.vue.js +2 -2
- package/components/filterDropdown/FilterDropdown.vue.js +5 -4
- package/components/filtersPanel/Filter.d.ts +1 -1
- package/components/filtersPanel/FilterSearchInput.vue.js +6 -6
- package/components/floatingToolbar/FloatingToolbar.vue.js +6 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +2 -2
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
- package/components/includeExclude/index.d.ts +22 -22
- package/components/input/Input.vue.d.ts +2 -2
- package/components/input/Input.vue.js +4 -4
- package/components/input/index.d.ts +16 -16
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +5 -5
- package/components/search/common/Search.common.d.ts +9 -0
- package/components/search/common/Search.common.vue.js +52 -0
- package/components/search/{Search.vue.js → v3/Search.vue.js} +19 -46
- package/components/search/{index.d.ts → v3/index.d.ts} +3 -3
- package/components/search/v4/SearchV4.vue.d.ts +51 -0
- package/components/search/v4/SearchV4.vue.js +70 -0
- package/components/search/v4/index.d.ts +72 -0
- package/components/search/v4/index.vue.js +6 -0
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +6 -5
- package/components/switch/{Switch.vue.js → v3/Switch.vue.js} +5 -5
- package/components/switch/v4/SwitchV4.vue.d.ts +37 -0
- package/components/switch/v4/SwitchV4.vue.js +87 -0
- package/components/switch/v4/index.d.ts +46 -0
- package/components/switch/v4/index.vue.js +6 -0
- package/components/table/Table.vue.js +3 -3
- package/components/table-cells/Editable.vue.js +1 -1
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/index.d.ts +5 -5
- package/components/typography/index.d.ts +9 -9
- package/components/typography/v4/Typography.vue.d.ts +34 -0
- package/components/typography/v4/Typography.vue.js +68 -0
- package/components/typography/v4/index.d.ts +23 -0
- package/components/typography/v4/index.vue.js +6 -0
- package/design-foundation.stories/border-radius/BorderRadiusData.d.ts +5 -0
- package/design-foundation.stories/border-radius/BorderRadiusWrapper.vue.d.ts +4 -0
- package/design-foundation.stories/border-radius/index.d.ts +1 -0
- package/design-foundation.stories/colors/ColorsData.d.ts +114 -0
- package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +3 -0
- package/design-foundation.stories/colors/index.d.ts +1 -0
- package/design-foundation.stories/elevations/ElevationStoryWrapper.vue.d.ts +4 -0
- package/design-foundation.stories/elevations/ElevationsData.d.ts +10 -0
- package/design-foundation.stories/elevations/index.d.ts +1 -0
- package/design-foundation.stories/typography/TypographyData.d.ts +7 -0
- package/design-foundation.stories/typography/TypographyStoryWrapper.vue.d.ts +3 -0
- package/design-foundation.stories/typography/index.d.ts +1 -0
- package/index.d.ts +1532 -5
- package/index.vue.js +28 -16
- package/package.json +39 -14
- package/styleguide.scss +77 -78
- package/styles/v4/border-radius.css +8 -0
- package/styles/v4/colors.css +100 -0
- package/styles/v4/elevations.css +10 -0
- package/styles/v4/fonts.css +1 -0
- package/styles/v4/fonts.css.map +1 -0
- package/styles/v4/fonts.scss +258 -0
- package/components/button/Button.vue.js +0 -65
- package/components/dropdown/Dropdown.vue.js +0 -785
- package/components/dropdown/index.vue.js +0 -12
- /package/components/button/{IconButton.vue.d.ts → v3/IconButton.vue.d.ts} +0 -0
- /package/components/button/{ScrollButton.vue.d.ts → v3/ScrollButton.vue.d.ts} +0 -0
- /package/components/button/{index.vue.js → v3/index.vue.js} +0 -0
- /package/components/chip/{Chip.vue.d.ts → v3/Chip.vue.d.ts} +0 -0
- /package/components/chip/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/chip/{index.vue.js → v3/index.vue.js} +0 -0
- /package/components/dropdown/{DropdownContext.d.ts → common/DropdownContext.d.ts} +0 -0
- /package/components/dropdown/{DropdownContext.vue.js → common/DropdownContext.vue.js} +0 -0
- /package/components/dropdown/{Label.vue.d.ts → common/Label.vue.d.ts} +0 -0
- /package/components/dropdown/{Option.vue.d.ts → common/Option.vue.d.ts} +0 -0
- /package/components/dropdown/{SearchInput.vue.d.ts → common/SearchInput.vue.d.ts} +0 -0
- /package/components/search/{Search.vue.d.ts → v3/Search.vue.d.ts} +0 -0
- /package/components/search/{index.vue.js → v3/index.vue.js} +0 -0
- /package/components/switch/{Switch.vue.d.ts → v3/Switch.vue.d.ts} +0 -0
- /package/components/switch/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/switch/{index.vue.js → v3/index.vue.js} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string;
|
|
3
|
+
placeholder: string;
|
|
4
|
+
variant?: 'default' | 'inline-table' | 'transparent';
|
|
5
|
+
size?: 'sm' | 'md';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
testId?: string;
|
|
8
|
+
}>, {
|
|
9
|
+
variant: string;
|
|
10
|
+
size: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
testId: string;
|
|
13
|
+
}>, {
|
|
14
|
+
inputRef: import("vue").Ref<HTMLInputElement>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
modelValue: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
variant?: 'default' | 'inline-table' | 'transparent';
|
|
21
|
+
size?: 'sm' | 'md';
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
testId?: string;
|
|
24
|
+
}>, {
|
|
25
|
+
variant: string;
|
|
26
|
+
size: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
testId: string;
|
|
29
|
+
}>>> & {
|
|
30
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
31
|
+
}, {
|
|
32
|
+
size: 'sm' | 'md';
|
|
33
|
+
testId: string;
|
|
34
|
+
variant: 'default' | 'inline-table' | 'transparent';
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
}>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
} : P[K];
|
|
51
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode } from 'vue';
|
|
2
|
+
import Icon from '../../icon/Icon.vue.js';
|
|
3
|
+
import { SearchTestIdModifiers } from '../../../testids/index.vue.js';
|
|
4
|
+
import { searchCommon } from '../common/Search.common.vue.js';
|
|
5
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
|
+
|
|
7
|
+
import "../../../SearchV4.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
|
+
const _hoisted_1 = ["data-testid"];
|
|
9
|
+
const _hoisted_2 = ["value", "placeholder", "disabled", "data-testid"];
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "SearchV4",
|
|
12
|
+
props: {
|
|
13
|
+
modelValue: null,
|
|
14
|
+
placeholder: null,
|
|
15
|
+
variant: { default: "default" },
|
|
16
|
+
size: { default: "sm" },
|
|
17
|
+
disabled: { type: Boolean, default: false },
|
|
18
|
+
testId: { default: "" }
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(__props, { expose, emit }) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const {
|
|
24
|
+
showLeftIcon,
|
|
25
|
+
updateValue,
|
|
26
|
+
showRightIcon,
|
|
27
|
+
showClear,
|
|
28
|
+
rightIcon,
|
|
29
|
+
onRightIconClick,
|
|
30
|
+
inputRef
|
|
31
|
+
} = searchCommon(props, emit);
|
|
32
|
+
expose({
|
|
33
|
+
inputRef
|
|
34
|
+
});
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return openBlock(), createElementBlock("div", {
|
|
37
|
+
class: normalizeClass(["search-container", `${__props.size}`]),
|
|
38
|
+
"data-testid": `${__props.testId}-${unref(SearchTestIdModifiers).CONTAINER}`
|
|
39
|
+
}, [
|
|
40
|
+
unref(showLeftIcon) ? (openBlock(), createBlock(unref(Icon), {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: "search-left-icon",
|
|
43
|
+
name: "search-bold",
|
|
44
|
+
"font-size": "sm"
|
|
45
|
+
})) : createCommentVNode("", true),
|
|
46
|
+
createElementVNode("input", {
|
|
47
|
+
ref_key: "inputRef",
|
|
48
|
+
ref: inputRef,
|
|
49
|
+
class: normalizeClass({ [__props.variant]: true, activated: __props.modelValue !== "" }),
|
|
50
|
+
value: __props.modelValue,
|
|
51
|
+
placeholder: __props.placeholder,
|
|
52
|
+
disabled: __props.disabled,
|
|
53
|
+
"data-testid": `${__props.testId}-${unref(SearchTestIdModifiers).FIELD}`,
|
|
54
|
+
onInput: _cache[0] || (_cache[0] = (...args) => unref(updateValue) && unref(updateValue)(...args))
|
|
55
|
+
}, null, 42, _hoisted_2),
|
|
56
|
+
unref(showRightIcon) ? (openBlock(), createBlock(unref(Icon), {
|
|
57
|
+
key: 1,
|
|
58
|
+
class: normalizeClass(["search-right-icon", { "search-right-icon-clear": unref(showClear) }]),
|
|
59
|
+
name: unref(rightIcon),
|
|
60
|
+
"font-size": "sm",
|
|
61
|
+
"data-testid": `${__props.testId}-${unref(SearchTestIdModifiers).CLOSE}`,
|
|
62
|
+
onClick: unref(onRightIconClick)
|
|
63
|
+
}, null, 8, ["class", "name", "data-testid", "onClick"])) : createCommentVNode("", true)
|
|
64
|
+
], 10, _hoisted_1);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
var Search = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2c679efe"]]);
|
|
69
|
+
|
|
70
|
+
export { Search as default };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
4
|
+
} & {
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
testId: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
} & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: import("vue").PropType<"default" | "transparent" | "inline-table">;
|
|
14
|
+
} & {
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
} & {
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
placeholder: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
inputRef: import("vue").Ref<HTMLInputElement>;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (value: string) => void;
|
|
34
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
size: {
|
|
36
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
37
|
+
} & {
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
testId: {
|
|
41
|
+
type: import("vue").PropType<string>;
|
|
42
|
+
} & {
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
variant: {
|
|
46
|
+
type: import("vue").PropType<"default" | "transparent" | "inline-table">;
|
|
47
|
+
} & {
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
} & {
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: import("vue").PropType<string>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
placeholder: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
65
|
+
}, {
|
|
66
|
+
size: "md" | "sm";
|
|
67
|
+
testId: string;
|
|
68
|
+
variant: "default" | "transparent" | "inline-table";
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
}>[];
|
|
71
|
+
export { default as Search } from './SearchV4.vue';
|
|
72
|
+
export { SearchTypes };
|
|
@@ -46,8 +46,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
46
46
|
}>>> & {
|
|
47
47
|
onDestroy?: (...args: any[]) => any;
|
|
48
48
|
}, {
|
|
49
|
-
title: string;
|
|
50
49
|
type: 'success' | 'error' | 'info';
|
|
50
|
+
title: string;
|
|
51
51
|
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
52
52
|
zIndex: number;
|
|
53
53
|
duration: number;
|
|
@@ -3,10 +3,11 @@ import { useEventListener, useTimeoutFn } from '@vueuse/core';
|
|
|
3
3
|
import Icon from '../icon/Icon.vue.js';
|
|
4
4
|
import Close from '../icon/icons/Close.vue.js';
|
|
5
5
|
import Check from '../icon/icons/Check.vue.js';
|
|
6
|
-
import
|
|
6
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
7
7
|
import Text from '../typography/Text.vue.js';
|
|
8
|
-
/* empty css
|
|
9
|
-
|
|
8
|
+
/* empty css */import IconButton from '../button/v3/IconButton.vue.js';
|
|
9
|
+
/* empty css */import 'floating-vue';
|
|
10
|
+
/* empty css *//* empty css *//* empty css */
|
|
10
11
|
import "../../Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
11
12
|
const _hoisted_1 = ["id"];
|
|
12
13
|
const _hoisted_2 = { class: "container" };
|
|
@@ -148,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
149
|
[vShow, __props.message]
|
|
149
150
|
])
|
|
150
151
|
]),
|
|
151
|
-
__props.showClose ? (openBlock(), createBlock(IconButton, {
|
|
152
|
+
__props.showClose ? (openBlock(), createBlock(unref(IconButton), {
|
|
152
153
|
key: 0,
|
|
153
154
|
theme: "third",
|
|
154
155
|
size: "sm",
|
|
@@ -176,6 +177,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
176
177
|
};
|
|
177
178
|
}
|
|
178
179
|
});
|
|
179
|
-
var SnackbarConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
180
|
+
var SnackbarConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fdd11e8e"]]);
|
|
180
181
|
|
|
181
182
|
export { SnackbarConstructor as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, Fragment, renderList, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
-
import Text from '
|
|
4
|
-
import { SwitchTestIdModifiers } from '
|
|
5
|
-
/* empty css */import _export_sfc from '
|
|
3
|
+
import Text from '../../typography/Text.vue.js';
|
|
4
|
+
import { SwitchTestIdModifiers } from '../../../testids/index.vue.js';
|
|
5
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
6
|
|
|
7
|
-
import "
|
|
7
|
+
import "../../../Switch.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
8
|
const _hoisted_1 = ["data-testid"];
|
|
9
9
|
const _hoisted_2 = ["aria-label", "data-testid", "onClick"];
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -82,6 +82,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
85
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0266f48c"]]);
|
|
86
86
|
|
|
87
87
|
export { Switch as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
options: string[];
|
|
3
|
+
modelValue: string;
|
|
4
|
+
size?: 'sm' | 'lg';
|
|
5
|
+
testId?: string;
|
|
6
|
+
}>, {
|
|
7
|
+
size: string;
|
|
8
|
+
testId: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
options: string[];
|
|
11
|
+
modelValue: string;
|
|
12
|
+
size?: 'sm' | 'lg';
|
|
13
|
+
testId?: string;
|
|
14
|
+
}>, {
|
|
15
|
+
size: string;
|
|
16
|
+
testId: string;
|
|
17
|
+
}>>> & {
|
|
18
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
19
|
+
}, {
|
|
20
|
+
size: 'sm' | 'lg';
|
|
21
|
+
testId: string;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
} : P[K];
|
|
37
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, Fragment, renderList, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
3
|
+
import Text from '../../typography/Text.vue.js';
|
|
4
|
+
import { SwitchTestIdModifiers } from '../../../testids/index.vue.js';
|
|
5
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
|
+
|
|
7
|
+
import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
|
+
const _hoisted_1 = ["data-testid"];
|
|
9
|
+
const _hoisted_2 = ["aria-label", "data-testid", "onClick"];
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "SwitchV4",
|
|
12
|
+
props: {
|
|
13
|
+
options: null,
|
|
14
|
+
modelValue: null,
|
|
15
|
+
size: { default: "lg" },
|
|
16
|
+
testId: { default: "" }
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(__props, { emit }) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const box = ref(null);
|
|
22
|
+
const data = useVModel(props, "modelValue", emit);
|
|
23
|
+
const optionsRefs = ref([]);
|
|
24
|
+
const skipUnwrap = { optionsRefs };
|
|
25
|
+
const selected = ref();
|
|
26
|
+
const selectedPosition = computed(() => {
|
|
27
|
+
return {
|
|
28
|
+
left: optionsRefs.value[selected.value]?.offsetLeft,
|
|
29
|
+
width: optionsRefs.value[selected.value]?.offsetWidth
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
onMounted(() => {
|
|
33
|
+
selected.value = props.options.findIndex(
|
|
34
|
+
(option) => option === props.modelValue
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
const onClick = (option, index) => {
|
|
38
|
+
selected.value = index;
|
|
39
|
+
data.value = option;
|
|
40
|
+
};
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return openBlock(), createElementBlock("div", {
|
|
43
|
+
class: normalizeClass(["switch", { "switch--lg": __props.size === "lg", "switch--sm": __props.size === "sm" }]),
|
|
44
|
+
"data-testid": `${__props.testId}-${unref(SwitchTestIdModifiers).WRAPPER}`
|
|
45
|
+
}, [
|
|
46
|
+
createElementVNode("span", {
|
|
47
|
+
ref_key: "box",
|
|
48
|
+
ref: box,
|
|
49
|
+
class: normalizeClass(["box", { "box--lg": __props.size === "lg", "box--sm": __props.size === "sm" }]),
|
|
50
|
+
style: normalizeStyle({
|
|
51
|
+
transform: `translateX(${unref(selectedPosition)?.left}px)`,
|
|
52
|
+
width: unref(selectedPosition)?.width + "px"
|
|
53
|
+
})
|
|
54
|
+
}, null, 6),
|
|
55
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option, index) => {
|
|
56
|
+
return openBlock(), createElementBlock("button", {
|
|
57
|
+
ref_for: true,
|
|
58
|
+
ref: skipUnwrap.optionsRefs,
|
|
59
|
+
key: index,
|
|
60
|
+
"aria-label": option,
|
|
61
|
+
class: normalizeClass([{ "option--selected": selected.value === index }, "option"]),
|
|
62
|
+
"data-testid": `${__props.testId}-${unref(SwitchTestIdModifiers).BUTTON}`,
|
|
63
|
+
onClick: ($event) => onClick(option, index)
|
|
64
|
+
}, [
|
|
65
|
+
renderSlot(_ctx.$slots, "default", {
|
|
66
|
+
option,
|
|
67
|
+
selected: selected.value === index
|
|
68
|
+
}, () => [
|
|
69
|
+
createVNode(Text, {
|
|
70
|
+
size: "caption",
|
|
71
|
+
"data-testid": `${__props.testId}-${unref(SwitchTestIdModifiers).TEXT}`
|
|
72
|
+
}, {
|
|
73
|
+
default: withCtx(() => [
|
|
74
|
+
createTextVNode(toDisplayString(option), 1)
|
|
75
|
+
]),
|
|
76
|
+
_: 2
|
|
77
|
+
}, 1032, ["data-testid"])
|
|
78
|
+
], true)
|
|
79
|
+
], 10, _hoisted_2);
|
|
80
|
+
}), 128))
|
|
81
|
+
], 10, _hoisted_1);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0bfee819"]]);
|
|
86
|
+
|
|
87
|
+
export { Switch as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
4
|
+
} & {
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
testId: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
} & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
options: {
|
|
13
|
+
type: import("vue").PropType<string[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
size: {
|
|
22
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
23
|
+
} & {
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
testId: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
} & {
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
options: {
|
|
32
|
+
type: import("vue").PropType<string[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
}>> & {
|
|
40
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
41
|
+
}, {
|
|
42
|
+
size: "sm" | "lg";
|
|
43
|
+
testId: string;
|
|
44
|
+
}>[];
|
|
45
|
+
export { default as Switch } from './SwitchV4.vue';
|
|
46
|
+
export { SwitchTypes };
|
|
@@ -2,7 +2,7 @@ import { defineComponent, useCssVars, unref, ref, provide, computed, useSlots, o
|
|
|
2
2
|
import { TableTestIdModifiers } from '../../testids/index.vue.js';
|
|
3
3
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
4
|
import Text from '../typography/Text.vue.js';
|
|
5
|
-
/* empty css *//* empty css
|
|
5
|
+
/* empty css *//* empty css *//* empty css *//* empty css */import ScrollButton from '../button/v3/ScrollButton.vue.js';
|
|
6
6
|
import Skeleton from '../skeleton/Skeleton.vue.js';
|
|
7
7
|
import EmptyState from '../emptyState/EmptyState.vue.js';
|
|
8
8
|
import TableHeaderSorter from './TableHeaderSorter.vue.js';
|
|
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
setup(__props, { emit }) {
|
|
48
48
|
const props = __props;
|
|
49
49
|
useCssVars((_ctx) => ({
|
|
50
|
-
"
|
|
50
|
+
"64720abd": unref(gridColumnTemplate)
|
|
51
51
|
}));
|
|
52
52
|
const savingRows = ref([]);
|
|
53
53
|
provide(TableContext, {
|
|
@@ -363,6 +363,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
|
-
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
366
|
+
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37cabae5"]]);
|
|
367
367
|
|
|
368
368
|
export { Table as default };
|
|
@@ -84,6 +84,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
|
-
var Editable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
87
|
+
var Editable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-73de8e4d"]]);
|
|
88
88
|
|
|
89
89
|
export { Editable as default };
|
|
@@ -41,8 +41,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
41
41
|
}>>>, {
|
|
42
42
|
header: string;
|
|
43
43
|
text: string;
|
|
44
|
-
testId: string;
|
|
45
44
|
theme: string;
|
|
45
|
+
testId: string;
|
|
46
46
|
delay: number;
|
|
47
47
|
triggers: ("hover" | "click" | "focus" | "touch")[];
|
|
48
48
|
forceShowWithTruncate: boolean;
|
|
@@ -9,12 +9,12 @@ declare const TooltipTypes: () => import("vue").DefineComponent<{
|
|
|
9
9
|
} & {
|
|
10
10
|
default: any;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
theme: {
|
|
13
13
|
type: import("vue").PropType<string>;
|
|
14
14
|
} & {
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
testId: {
|
|
18
18
|
type: import("vue").PropType<string>;
|
|
19
19
|
} & {
|
|
20
20
|
default: string;
|
|
@@ -55,12 +55,12 @@ declare const TooltipTypes: () => import("vue").DefineComponent<{
|
|
|
55
55
|
} & {
|
|
56
56
|
default: any;
|
|
57
57
|
};
|
|
58
|
-
|
|
58
|
+
theme: {
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
60
60
|
} & {
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
|
-
|
|
63
|
+
testId: {
|
|
64
64
|
type: import("vue").PropType<string>;
|
|
65
65
|
} & {
|
|
66
66
|
default: string;
|
|
@@ -93,8 +93,8 @@ declare const TooltipTypes: () => import("vue").DefineComponent<{
|
|
|
93
93
|
}>>, {
|
|
94
94
|
header: string;
|
|
95
95
|
text: string;
|
|
96
|
-
testId: string;
|
|
97
96
|
theme: string;
|
|
97
|
+
testId: string;
|
|
98
98
|
delay: number;
|
|
99
99
|
triggers: ("hover" | "click" | "focus" | "touch")[];
|
|
100
100
|
forceShowWithTruncate: boolean;
|
|
@@ -30,14 +30,14 @@ declare const TypographyTypes: () => (import("vue").DefineComponent<{
|
|
|
30
30
|
level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
|
|
31
31
|
testId: string;
|
|
32
32
|
}> | import("vue").DefineComponent<{
|
|
33
|
+
strong: {
|
|
34
|
+
type: import("vue").PropType<boolean>;
|
|
35
|
+
};
|
|
33
36
|
size: {
|
|
34
|
-
type: import("vue").PropType<"
|
|
37
|
+
type: import("vue").PropType<"caption" | "md" | "sm" | "lg" | "xs">;
|
|
35
38
|
} & {
|
|
36
39
|
default: string;
|
|
37
40
|
};
|
|
38
|
-
strong: {
|
|
39
|
-
type: import("vue").PropType<boolean>;
|
|
40
|
-
};
|
|
41
41
|
testId: {
|
|
42
42
|
type: import("vue").PropType<string>;
|
|
43
43
|
} & {
|
|
@@ -47,14 +47,14 @@ declare const TypographyTypes: () => (import("vue").DefineComponent<{
|
|
|
47
47
|
type: import("vue").PropType<boolean>;
|
|
48
48
|
};
|
|
49
49
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
strong: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
};
|
|
50
53
|
size: {
|
|
51
|
-
type: import("vue").PropType<"
|
|
54
|
+
type: import("vue").PropType<"caption" | "md" | "sm" | "lg" | "xs">;
|
|
52
55
|
} & {
|
|
53
56
|
default: string;
|
|
54
57
|
};
|
|
55
|
-
strong: {
|
|
56
|
-
type: import("vue").PropType<boolean>;
|
|
57
|
-
};
|
|
58
58
|
testId: {
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
60
60
|
} & {
|
|
@@ -64,7 +64,7 @@ declare const TypographyTypes: () => (import("vue").DefineComponent<{
|
|
|
64
64
|
type: import("vue").PropType<boolean>;
|
|
65
65
|
};
|
|
66
66
|
}>>, {
|
|
67
|
-
size: "
|
|
67
|
+
size: "caption" | "md" | "sm" | "lg" | "xs";
|
|
68
68
|
testId: string;
|
|
69
69
|
}>)[];
|
|
70
70
|
export { default as Heading } from './Heading.vue';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isTruncated?: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Typography variant to use
|
|
5
|
+
*/
|
|
6
|
+
variant?: 'title' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'button' | 'caption' | 'tableLabel' | 'inputLabel' | 'tabLabel1' | 'tabLabel2' | 'chipLabel' | 'chart1' | 'chart2' | 'overline';
|
|
7
|
+
}>, {
|
|
8
|
+
variant: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
isTruncated?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Typography variant to use
|
|
13
|
+
*/
|
|
14
|
+
variant?: 'title' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'button' | 'caption' | 'tableLabel' | 'inputLabel' | 'tabLabel1' | 'tabLabel2' | 'chipLabel' | 'chart1' | 'chart2' | 'overline';
|
|
15
|
+
}>, {
|
|
16
|
+
variant: string;
|
|
17
|
+
}>>>, {
|
|
18
|
+
variant: 'title' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'subtitle1' | 'subtitle2' | 'button' | 'caption' | 'tableLabel' | 'inputLabel' | 'tabLabel1' | 'tabLabel2' | 'chipLabel' | 'chart1' | 'chart2' | 'overline';
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
} : P[K];
|
|
34
|
+
};
|