@ironsource/shared-ui 2.2.0-rc.5 → 2.2.0-rc.50
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/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
- package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
- package/README.md +2 -2
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
- package/Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/alert/Alert.vue.d.ts +3 -8
- package/components/alert/Alert.vue.js +2 -2
- package/components/alert/Alert.vue2.js +48 -46
- package/components/alert/index.d.ts +8 -27
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +44 -45
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +17 -15
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +2 -2
- package/components/chart/composables/useChartHeight.d.ts +1 -1
- package/components/chart/composables/useChartHeight.js +16 -15
- package/components/chart/index.d.ts +20 -1
- package/components/chart/types.d.ts +1 -0
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
- package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
- package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
- package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
- package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
- package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +1 -1
- package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
- package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
- package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
- package/components/columnPicker/ColumnPicker.vue.js +3 -3
- package/components/columnPicker/ColumnPicker.vue2.js +173 -153
- package/components/columnPicker/index.d.ts +7 -1
- package/components/dateRange/common/CalendarMonth.common.js +46 -41
- package/components/dateRange/common/DateRange.common.d.ts +1 -0
- package/components/dateRange/common/DateRange.common.js +39 -38
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -0
- package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
- package/components/dateRange/v3/DateRange.vue.d.ts +8 -3
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +2 -1
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +27 -8
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +8 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
- package/components/dateRange/v4/index.d.ts +27 -8
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +2 -2
- package/components/dropdown/v4/GroupOption.vue.js +3 -3
- package/components/dropdown/v4/GroupOption.vue2.js +1 -1
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +13 -12
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +5 -5
- package/components/helpText/HelpText.vue.d.ts +68 -0
- package/components/helpText/HelpText.vue.js +7 -0
- package/components/helpText/HelpText.vue2.js +45 -0
- package/components/helpText/index.d.ts +190 -0
- package/components/helpText/index.js +6 -0
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +2 -2
- package/components/icon/v4/IconV4.vue2.js +27 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +1 -1
- package/components/link/Link.vue.d.ts +3 -3
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +1 -1
- package/components/link/index.d.ts +7 -7
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +11 -9
- package/components/popover/v4/index.d.ts +41 -1
- package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
- package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
- package/components/switch/v4/SwitchV4.vue.js +4 -4
- package/components/switch/v4/SwitchV4.vue2.js +14 -13
- package/components/switch/v4/index.d.ts +9 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +126 -124
- package/components/table/v4/index.d.ts +7 -1
- package/components/tag/Tag.vue.d.ts +131 -0
- package/components/tag/Tag.vue.js +7 -0
- package/components/tag/Tag.vue2.js +295 -0
- package/components/tag/index.d.ts +192 -0
- package/components/tag/index.js +6 -0
- package/components/tagsField/index.d.ts +42 -3
- package/components/tagsField/index.js +6 -4
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
- package/components/tooltip/v4/index.d.ts +20 -1
- package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
- package/index.d.ts +270 -44
- package/index.js +108 -98
- package/package.json +12 -3
- package/style/v4/colors.scss +89 -84
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/testids/index.d.ts +4 -0
- package/testids/index.js +38 -37
- package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_3bc0f416_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_445ebb01_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
- package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import i from "./TagsField.vue.js";
|
|
2
|
+
import o from "./TagsFieldChip.vue.js";
|
|
3
|
+
const r = () => [i, o];
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
i as TagsField,
|
|
6
|
+
o as TagsFieldChip,
|
|
7
|
+
r as TagsFieldTypes
|
|
6
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextAreaV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextAreaV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0feea75e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TextAreaV4.
|
|
1
|
+
import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
|
|
2
2
|
import v from "../../shared/FieldLabel.vue.js";
|
|
3
3
|
import k from "../../shared/FieldMaxLength.vue.js";
|
|
4
4
|
import T from "../../shared/FieldHelpText.vue.js";
|
|
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
shown?: boolean;
|
|
15
15
|
autoHide?: boolean;
|
|
16
16
|
dontWrapDisabled?: boolean;
|
|
17
|
+
maxWidth?: string;
|
|
17
18
|
}>, {
|
|
18
19
|
text: any;
|
|
19
20
|
header: any;
|
|
@@ -29,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
30
|
shown: any;
|
|
30
31
|
autoHide: boolean;
|
|
31
32
|
dontWrapDisabled: boolean;
|
|
33
|
+
maxWidth: string;
|
|
32
34
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
35
|
show: () => void;
|
|
34
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -46,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
48
|
shown?: boolean;
|
|
47
49
|
autoHide?: boolean;
|
|
48
50
|
dontWrapDisabled?: boolean;
|
|
51
|
+
maxWidth?: string;
|
|
49
52
|
}>, {
|
|
50
53
|
text: any;
|
|
51
54
|
header: any;
|
|
@@ -61,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
64
|
shown: any;
|
|
62
65
|
autoHide: boolean;
|
|
63
66
|
dontWrapDisabled: boolean;
|
|
67
|
+
maxWidth: string;
|
|
64
68
|
}>>> & {
|
|
65
69
|
onShow?: () => any;
|
|
66
70
|
}, {
|
|
@@ -78,6 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
78
82
|
shown: boolean;
|
|
79
83
|
autoHide: boolean;
|
|
80
84
|
dontWrapDisabled: boolean;
|
|
85
|
+
maxWidth: string;
|
|
81
86
|
}>, {
|
|
82
87
|
default?(_: {}): any;
|
|
83
88
|
tooltip?(_: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./TooltipV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TooltipV4.
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; //*');
|
|
4
4
|
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a8aebfee"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../../TooltipV4.
|
|
2
|
-
import
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import { TooltipTestIdModifiers as
|
|
5
|
-
import
|
|
6
|
-
import { tooltipCommon as
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as T, computed as C, onMounted as N, watch as B, onUnmounted as E, renderSlot as i, openBlock as c, createBlock as u, unref as n, mergeProps as g, withCtx as f, createTextVNode as b, toDisplayString as $, createElementVNode as I } from "vue";
|
|
2
|
+
import V from "./TextWithTitleContent.vue.js";
|
|
3
|
+
import { Tooltip as W } from "floating-vue";
|
|
4
|
+
import { TooltipTestIdModifiers as p } from "../../../testids/index.js";
|
|
5
|
+
import k from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { tooltipCommon as S } from "../common/Tooltip.common.js";
|
|
7
|
+
import { useTestIdAttrs as A } from "../../../utils/testIds.js";
|
|
8
|
+
const z = {
|
|
9
9
|
ref: "container",
|
|
10
10
|
class: "container"
|
|
11
|
-
},
|
|
11
|
+
}, F = /* @__PURE__ */ T({
|
|
12
12
|
__name: "TooltipV4",
|
|
13
13
|
props: {
|
|
14
14
|
text: { default: null },
|
|
@@ -24,45 +24,85 @@ const B = {
|
|
|
24
24
|
container: { default: "body" },
|
|
25
25
|
shown: { type: Boolean, default: null },
|
|
26
26
|
autoHide: { type: Boolean, default: !0 },
|
|
27
|
-
dontWrapDisabled: { type: Boolean, default: !1 }
|
|
27
|
+
dontWrapDisabled: { type: Boolean, default: !1 },
|
|
28
|
+
maxWidth: { default: "21.875rem" }
|
|
28
29
|
},
|
|
29
30
|
emits: ["show"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
setup(t, { emit: v }) {
|
|
32
|
+
const a = t, { textForDisplay: m } = S(a), h = A(a.testId, p), d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, r = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, x = (e) => {
|
|
33
|
+
const o = r(e), l = d(e);
|
|
34
|
+
return `
|
|
35
|
+
.v-popper--theme-light-theme-v4.v4-tooltip.${o} .v-popper__wrapper {
|
|
36
|
+
max-width: var(${l}, 21.875rem)
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
}, w = C(
|
|
40
|
+
() => [
|
|
41
|
+
a.theme,
|
|
42
|
+
a.placement,
|
|
43
|
+
"v4-tooltip",
|
|
44
|
+
a.maxWidth ? r(a.maxWidth) : ""
|
|
45
|
+
// This is the class name that will be used as a selector for the tooltip
|
|
46
|
+
].filter(Boolean)
|
|
47
|
+
), y = (e) => {
|
|
48
|
+
const o = d(e), l = r(e);
|
|
49
|
+
if (document.documentElement.style.setProperty(o, e), !document.getElementById(l)) {
|
|
50
|
+
const s = document.createElement("style");
|
|
51
|
+
s.id = l, s.textContent = x(e), document.head.appendChild(s);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
return N(() => {
|
|
55
|
+
a.maxWidth && y(a.maxWidth);
|
|
56
|
+
}), B(
|
|
57
|
+
() => a.maxWidth,
|
|
58
|
+
(e, o) => {
|
|
59
|
+
if (o) {
|
|
60
|
+
const l = d(o);
|
|
61
|
+
document.documentElement.style.removeProperty(l);
|
|
62
|
+
}
|
|
63
|
+
e && y(e);
|
|
64
|
+
}
|
|
65
|
+
), E(() => {
|
|
66
|
+
if (a.maxWidth) {
|
|
67
|
+
const e = d(a.maxWidth);
|
|
68
|
+
document.documentElement.style.removeProperty(e);
|
|
69
|
+
const o = r(a.maxWidth), l = document.getElementById(o), s = document.getElementsByClassName(o);
|
|
70
|
+
l && s.length === 0 && l.remove();
|
|
71
|
+
}
|
|
72
|
+
}), (e, o) => (t.disabled || !t.text) && t.dontWrapDisabled ? i(e.$slots, "default", { key: 0 }, void 0, !0) : (c(), u(n(W), g({ key: 1 }, { ...e.$props, ...n(h)[n(p).TRIGGER] }, {
|
|
73
|
+
theme: t.theme,
|
|
34
74
|
"no-auto-focus": "",
|
|
35
|
-
triggers:
|
|
36
|
-
delay: { show:
|
|
37
|
-
placement:
|
|
38
|
-
disabled:
|
|
39
|
-
"popper-class":
|
|
75
|
+
triggers: t.triggers,
|
|
76
|
+
delay: { show: t.delay, hide: 0 },
|
|
77
|
+
placement: t.placement,
|
|
78
|
+
disabled: t.disabled || t.text && !n(m),
|
|
79
|
+
"popper-class": n(w),
|
|
40
80
|
class: ["v4-tooltip"],
|
|
41
|
-
distance:
|
|
42
|
-
"auto-hide":
|
|
43
|
-
shown:
|
|
44
|
-
onApplyShow:
|
|
81
|
+
distance: t.distance,
|
|
82
|
+
"auto-hide": t.autoHide,
|
|
83
|
+
shown: t.shown,
|
|
84
|
+
onApplyShow: o[0] || (o[0] = (l) => v("show"))
|
|
45
85
|
}), {
|
|
46
|
-
popper:
|
|
47
|
-
|
|
48
|
-
|
|
86
|
+
popper: f(() => [
|
|
87
|
+
i(e.$slots, "tooltip", { text: n(m) }, () => [
|
|
88
|
+
t.header ? (c(), u(V, {
|
|
49
89
|
key: 1,
|
|
50
|
-
text:
|
|
51
|
-
header:
|
|
52
|
-
}, null, 8, ["text", "header"])) : (
|
|
90
|
+
text: t.text,
|
|
91
|
+
header: t.header
|
|
92
|
+
}, null, 8, ["text", "header"])) : (c(), u(n(k), g({
|
|
53
93
|
key: 0,
|
|
54
94
|
variant: "body2"
|
|
55
|
-
},
|
|
56
|
-
default:
|
|
57
|
-
|
|
95
|
+
}, n(h)[n(p).TEXT]), {
|
|
96
|
+
default: f(() => [
|
|
97
|
+
b($(n(m)), 1)
|
|
58
98
|
]),
|
|
59
99
|
_: 1
|
|
60
100
|
}, 16))
|
|
61
101
|
], !0)
|
|
62
102
|
]),
|
|
63
|
-
default:
|
|
64
|
-
|
|
65
|
-
|
|
103
|
+
default: f(() => [
|
|
104
|
+
I("div", z, [
|
|
105
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
66
106
|
], 512)
|
|
67
107
|
]),
|
|
68
108
|
_: 3
|
|
@@ -70,5 +110,5 @@ const B = {
|
|
|
70
110
|
}
|
|
71
111
|
});
|
|
72
112
|
export {
|
|
73
|
-
|
|
113
|
+
F as default
|
|
74
114
|
};
|
|
@@ -18,6 +18,7 @@ declare const TooltipTypes: () => ({
|
|
|
18
18
|
shown: boolean;
|
|
19
19
|
autoHide: boolean;
|
|
20
20
|
dontWrapDisabled: boolean;
|
|
21
|
+
maxWidth: string;
|
|
21
22
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
22
23
|
header: {
|
|
23
24
|
type: import("vue").PropType<string>;
|
|
@@ -75,9 +76,13 @@ declare const TooltipTypes: () => ({
|
|
|
75
76
|
type: import("vue").PropType<boolean>;
|
|
76
77
|
default: boolean;
|
|
77
78
|
};
|
|
79
|
+
maxWidth: {
|
|
80
|
+
type: import("vue").PropType<string>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
78
83
|
}>> & {
|
|
79
84
|
onShow?: () => any;
|
|
80
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled">;
|
|
85
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth">;
|
|
81
86
|
$attrs: {
|
|
82
87
|
[x: string]: unknown;
|
|
83
88
|
};
|
|
@@ -148,6 +153,10 @@ declare const TooltipTypes: () => ({
|
|
|
148
153
|
type: import("vue").PropType<boolean>;
|
|
149
154
|
default: boolean;
|
|
150
155
|
};
|
|
156
|
+
maxWidth: {
|
|
157
|
+
type: import("vue").PropType<string>;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
151
160
|
}>> & {
|
|
152
161
|
onShow?: () => any;
|
|
153
162
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -167,6 +176,7 @@ declare const TooltipTypes: () => ({
|
|
|
167
176
|
shown: boolean;
|
|
168
177
|
autoHide: boolean;
|
|
169
178
|
dontWrapDisabled: boolean;
|
|
179
|
+
maxWidth: string;
|
|
170
180
|
}, {}, string> & {
|
|
171
181
|
beforeCreate?: (() => void) | (() => void)[];
|
|
172
182
|
created?: (() => void) | (() => void)[];
|
|
@@ -244,6 +254,10 @@ declare const TooltipTypes: () => ({
|
|
|
244
254
|
type: import("vue").PropType<boolean>;
|
|
245
255
|
default: boolean;
|
|
246
256
|
};
|
|
257
|
+
maxWidth: {
|
|
258
|
+
type: import("vue").PropType<string>;
|
|
259
|
+
default: string;
|
|
260
|
+
};
|
|
247
261
|
}>> & {
|
|
248
262
|
onShow?: () => any;
|
|
249
263
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -307,6 +321,10 @@ declare const TooltipTypes: () => ({
|
|
|
307
321
|
type: import("vue").PropType<boolean>;
|
|
308
322
|
default: boolean;
|
|
309
323
|
};
|
|
324
|
+
maxWidth: {
|
|
325
|
+
type: import("vue").PropType<string>;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
310
328
|
}>> & {
|
|
311
329
|
onShow?: () => any;
|
|
312
330
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -326,6 +344,7 @@ declare const TooltipTypes: () => ({
|
|
|
326
344
|
shown: boolean;
|
|
327
345
|
autoHide: boolean;
|
|
328
346
|
dontWrapDisabled: boolean;
|
|
347
|
+
maxWidth: string;
|
|
329
348
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
330
349
|
$slots: {
|
|
331
350
|
default?(_: {}): any;
|
|
@@ -2,18 +2,19 @@ export declare const colorPaletteLight: {
|
|
|
2
2
|
background: {
|
|
3
3
|
default: string;
|
|
4
4
|
paper: string;
|
|
5
|
-
backdrop: string;
|
|
6
5
|
'modal-elevation': string;
|
|
7
|
-
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
6
|
+
backdrop: string;
|
|
7
|
+
'paper-elevation-0': string;
|
|
8
|
+
'paper-elevation-1': string;
|
|
9
|
+
'paper-elevation-2': string;
|
|
10
|
+
'paper-elevation-3': string;
|
|
11
|
+
'paper-elevation-4': string;
|
|
12
|
+
'paper-elevation-5': string;
|
|
13
|
+
'paper-elevation-6': string;
|
|
14
|
+
'paper-elevation-7': string;
|
|
15
|
+
'paper-elevation-8': string;
|
|
16
|
+
'paper-elevation-9': string;
|
|
17
|
+
inset: string;
|
|
17
18
|
};
|
|
18
19
|
action: {
|
|
19
20
|
primary: string;
|
|
@@ -21,23 +22,27 @@ export declare const colorPaletteLight: {
|
|
|
21
22
|
hover: string;
|
|
22
23
|
selected: string;
|
|
23
24
|
disabled: string;
|
|
24
|
-
|
|
25
|
+
'disabled-background': string;
|
|
25
26
|
focus: string;
|
|
26
|
-
|
|
27
|
+
'outlined-border': string;
|
|
27
28
|
};
|
|
28
29
|
default: {
|
|
29
|
-
light: string;
|
|
30
30
|
main: string;
|
|
31
|
+
lighter: string;
|
|
32
|
+
light: string;
|
|
31
33
|
dark: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
darker: string;
|
|
35
|
+
'contrast-text': string;
|
|
36
|
+
'outlined-border': string;
|
|
37
|
+
'main-8-p': string;
|
|
38
|
+
'main-50-p': string;
|
|
39
|
+
'button-contrast-text': string;
|
|
35
40
|
};
|
|
36
41
|
common: {
|
|
37
42
|
white: string;
|
|
38
43
|
black: string;
|
|
39
|
-
|
|
40
|
-
|
|
44
|
+
'inverse-white': string;
|
|
45
|
+
'inverse-black': string;
|
|
41
46
|
divider: string;
|
|
42
47
|
'divider-elevation-0': string;
|
|
43
48
|
};
|
|
@@ -50,64 +55,64 @@ export declare const colorPaletteLight: {
|
|
|
50
55
|
lighter: string;
|
|
51
56
|
light: string;
|
|
52
57
|
main: string;
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
'main-8-p': string;
|
|
59
|
+
'main-50-p': string;
|
|
55
60
|
dark: string;
|
|
56
61
|
darker: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
'outlined-border': string;
|
|
63
|
+
'contrast-text': string;
|
|
64
|
+
'button-contrast-text': string;
|
|
60
65
|
};
|
|
61
66
|
info: {
|
|
62
67
|
lighter: string;
|
|
63
68
|
light: string;
|
|
64
69
|
main: string;
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
'main-8-p': string;
|
|
71
|
+
'main-50-p': string;
|
|
67
72
|
dark: string;
|
|
68
73
|
darker: string;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
74
|
+
'outlined-border': string;
|
|
75
|
+
'contrast-text': string;
|
|
76
|
+
'button-contrast-text': string;
|
|
72
77
|
};
|
|
73
78
|
success: {
|
|
74
79
|
lighter: string;
|
|
75
80
|
light: string;
|
|
76
81
|
main: string;
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
'main-8-p': string;
|
|
83
|
+
'main-50-p': string;
|
|
79
84
|
dark: string;
|
|
80
85
|
darker: string;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
86
|
+
'outlined-border': string;
|
|
87
|
+
'contrast-text': string;
|
|
88
|
+
'button-contrast-text': string;
|
|
84
89
|
};
|
|
85
90
|
warning: {
|
|
86
91
|
lighter: string;
|
|
87
92
|
light: string;
|
|
88
93
|
main: string;
|
|
89
|
-
|
|
90
|
-
|
|
94
|
+
'main-8-p': string;
|
|
95
|
+
'main-50-p': string;
|
|
91
96
|
dark: string;
|
|
92
97
|
darker: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
98
|
+
'outlined-border': string;
|
|
99
|
+
'contrast-text': string;
|
|
100
|
+
'button-contrast-text': string;
|
|
96
101
|
};
|
|
97
102
|
error: {
|
|
98
103
|
lighter: string;
|
|
99
104
|
light: string;
|
|
100
105
|
main: string;
|
|
101
|
-
|
|
102
|
-
|
|
106
|
+
'main-8-p': string;
|
|
107
|
+
'main-50-p': string;
|
|
103
108
|
dark: string;
|
|
104
109
|
darker: string;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
'outlined-border': string;
|
|
111
|
+
'contrast-text': string;
|
|
112
|
+
'button-contrast-text': string;
|
|
108
113
|
};
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
114
|
+
ab: {
|
|
115
|
+
a: string;
|
|
116
|
+
b: string;
|
|
112
117
|
};
|
|
113
118
|
};
|