@ironsource/shared-ui 2.1.8-rc.3 → 2.1.8-rc.5

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.
Files changed (118) hide show
  1. package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +1 -0
  2. package/DataGrid.vue_vue_type_style_index_0_scoped_46d53424_lang.css +1 -0
  3. package/Typography.vue_vue_type_style_index_0_scoped_b00956b7_lang.css +1 -0
  4. package/components/alert/Alert.vue.d.ts +1 -1
  5. package/components/alert/index.d.ts +20 -20
  6. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  7. package/components/appHeader/index.d.ts +9 -9
  8. package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
  9. package/components/appTrigger/index.d.ts +20 -20
  10. package/components/autocomplete/Autocomplete.vue.d.ts +4 -4
  11. package/components/autocomplete/index.d.ts +27 -27
  12. package/components/button/v3/Button.vue.d.ts +1 -1
  13. package/components/button/v3/ScrollButton.vue.d.ts +1 -1
  14. package/components/button/v3/index.d.ts +28 -28
  15. package/components/button/v4/ButtonV4.vue.d.ts +1 -1
  16. package/components/button/v4/IconButtonV4.vue.d.ts +1 -1
  17. package/components/button/v4/index.d.ts +40 -40
  18. package/components/checkbox/v3/Checkbox.vue.d.ts +1 -1
  19. package/components/checkbox/v3/index.d.ts +20 -20
  20. package/components/checkbox/v4/CheckboxV4.vue.d.ts +1 -1
  21. package/components/checkbox/v4/index.d.ts +20 -20
  22. package/components/chip/v3/Chip.vue.d.ts +1 -1
  23. package/components/chip/v3/index.d.ts +20 -20
  24. package/components/chip/v4/ChipV4.vue.d.ts +20 -14
  25. package/components/chip/v4/ChipV4.vue.js +3 -3
  26. package/components/chip/v4/ChipV4.vue2.js +15 -13
  27. package/components/chip/v4/index.d.ts +139 -31
  28. package/components/dateRange/common/DateRange.common.d.ts +1 -1
  29. package/components/dateRange/v3/DateRange.vue.d.ts +1 -1
  30. package/components/dateRange/v3/DateRangePicker.vue.d.ts +1 -1
  31. package/components/dateRange/v3/index.d.ts +20 -20
  32. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +1 -1
  33. package/components/dateRange/v4/DateRangeV4.vue.d.ts +1 -1
  34. package/components/dateRange/v4/index.d.ts +20 -20
  35. package/components/dialog/v3/Dialog.vue.d.ts +1 -1
  36. package/components/dialog/v3/index.d.ts +20 -20
  37. package/components/dialog/v4/DialogV4.vue.d.ts +1 -1
  38. package/components/dialog/v4/index.d.ts +20 -20
  39. package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
  40. package/components/dropdown/v3/index.d.ts +96 -96
  41. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  42. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
  43. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.d.ts +1 -1
  44. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  45. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +4 -4
  46. package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -5
  47. package/components/dropdown/v4/OptionV4.vue.d.ts +3 -3
  48. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  49. package/components/dropdown/v4/index.d.ts +188 -188
  50. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  51. package/components/filterDropdown/index.d.ts +9 -9
  52. package/components/forms/CardPanel.vue.d.ts +3 -3
  53. package/components/forms/FormRow.vue.d.ts +4 -4
  54. package/components/forms/index.d.ts +34 -34
  55. package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
  56. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  57. package/components/includeExclude/index.d.ts +78 -78
  58. package/components/inlineCopy/InlineCopy.vue.d.ts +3 -3
  59. package/components/inlineCopy/index.d.ts +25 -25
  60. package/components/input/v3/Input.vue.d.ts +1 -1
  61. package/components/input/v3/index.d.ts +44 -44
  62. package/components/input/v4/TextField.vue.d.ts +1 -1
  63. package/components/input/v4/index.d.ts +34 -34
  64. package/components/layout/FoldableSection.vue.d.ts +1 -1
  65. package/components/layout/index.d.ts +20 -20
  66. package/components/menu/Menu.vue.d.ts +1 -1
  67. package/components/menu/index.d.ts +20 -20
  68. package/components/multibar/MultiBar.vue.d.ts +1 -1
  69. package/components/multibar/index.d.ts +12 -12
  70. package/components/popover/v3/Popover.vue.d.ts +4 -4
  71. package/components/popover/v3/index.d.ts +43 -43
  72. package/components/popover/v4/PopoverV4.vue.d.ts +4 -4
  73. package/components/popover/v4/index.d.ts +27 -27
  74. package/components/radioButton/v3/RadioGroup.vue.d.ts +1 -1
  75. package/components/radioButton/v3/index.d.ts +20 -20
  76. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +1 -1
  77. package/components/radioButton/v4/index.d.ts +20 -20
  78. package/components/search/v3/Search.vue.d.ts +1 -1
  79. package/components/search/v3/index.d.ts +9 -9
  80. package/components/search/v4/SearchV4.vue.d.ts +1 -1
  81. package/components/search/v4/index.d.ts +9 -9
  82. package/components/shared/FieldHelpText.vue.d.ts +1 -1
  83. package/components/shared/FieldLabel.vue.d.ts +1 -1
  84. package/components/snackbar/common/snackbar.common.d.ts +1 -1
  85. package/components/snackbar/v4/SnackbarV4.vue.d.ts +13 -13
  86. package/components/switch/v3/Switch.vue.d.ts +1 -1
  87. package/components/switch/v3/index.d.ts +20 -20
  88. package/components/table/v3/index.d.ts +16 -16
  89. package/components/table/v4/DataGrid.vue.js +2 -2
  90. package/components/table/v4/DataGrid.vue2.js +6 -6
  91. package/components/table/v4/index.d.ts +16 -16
  92. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  93. package/components/tabs/v3/index.d.ts +20 -20
  94. package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
  95. package/components/tabs/v4/index.d.ts +20 -20
  96. package/components/textArea/v3/TextArea.vue.d.ts +1 -1
  97. package/components/textArea/v3/index.d.ts +9 -9
  98. package/components/textArea/v4/TextAreaV4.vue.d.ts +1 -1
  99. package/components/textArea/v4/index.d.ts +12 -12
  100. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  101. package/components/toggle/v3/index.d.ts +5 -5
  102. package/components/toggle/v4/ToggleV4.vue.d.ts +4 -4
  103. package/components/toggle/v4/index.d.ts +27 -27
  104. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  105. package/components/tooltip/v3/index.d.ts +34 -34
  106. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -5
  107. package/components/tooltip/v4/index.d.ts +53 -53
  108. package/components/typography/Text.vue.d.ts +1 -1
  109. package/components/typography/index.d.ts +32 -32
  110. package/components/typography/v4/Typography.vue.d.ts +20 -0
  111. package/components/typography/v4/Typography.vue.js +3 -3
  112. package/components/typography/v4/Typography.vue2.js +40 -13
  113. package/components/typography/v4/index.d.ts +89 -13
  114. package/index.d.ts +1520 -1304
  115. package/package.json +1 -1
  116. package/ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css +0 -1
  117. package/DataGrid.vue_vue_type_style_index_0_scoped_7524407f_lang.css +0 -1
  118. package/Typography.vue_vue_type_style_index_0_scoped_4c2254ef_lang.css +0 -1
@@ -4,13 +4,17 @@ declare const CheckboxTypes: () => ({
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  label: string;
7
- size: "sm" | "md" | "lg";
8
7
  testId: string;
8
+ size: "sm" | "md" | "lg";
9
9
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
10
10
  label: {
11
11
  type: import("vue").PropType<string>;
12
12
  default: string;
13
13
  };
14
+ testId: {
15
+ type: import("vue").PropType<string>;
16
+ default: string;
17
+ };
14
18
  disabled: {
15
19
  type: import("vue").PropType<boolean>;
16
20
  };
@@ -18,10 +22,6 @@ declare const CheckboxTypes: () => ({
18
22
  type: import("vue").PropType<"sm" | "md" | "lg">;
19
23
  default: string;
20
24
  };
21
- testId: {
22
- type: import("vue").PropType<string>;
23
- default: string;
24
- };
25
25
  isIndeterminate: {
26
26
  type: import("vue").PropType<boolean>;
27
27
  };
@@ -32,7 +32,7 @@ declare const CheckboxTypes: () => ({
32
32
  }>> & {
33
33
  onClick?: (event: MouseEvent) => any;
34
34
  "onUpdate:isChecked"?: (value: boolean) => any;
35
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "size" | "testId">;
35
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "size">;
36
36
  $attrs: {
37
37
  [x: string]: unknown;
38
38
  };
@@ -51,6 +51,10 @@ declare const CheckboxTypes: () => ({
51
51
  type: import("vue").PropType<string>;
52
52
  default: string;
53
53
  };
54
+ testId: {
55
+ type: import("vue").PropType<string>;
56
+ default: string;
57
+ };
54
58
  disabled: {
55
59
  type: import("vue").PropType<boolean>;
56
60
  };
@@ -58,10 +62,6 @@ declare const CheckboxTypes: () => ({
58
62
  type: import("vue").PropType<"sm" | "md" | "lg">;
59
63
  default: string;
60
64
  };
61
- testId: {
62
- type: import("vue").PropType<string>;
63
- default: string;
64
- };
65
65
  isIndeterminate: {
66
66
  type: import("vue").PropType<boolean>;
67
67
  };
@@ -77,8 +77,8 @@ declare const CheckboxTypes: () => ({
77
77
  click: (event: MouseEvent) => void;
78
78
  }, string, {
79
79
  label: string;
80
- size: "sm" | "md" | "lg";
81
80
  testId: string;
81
+ size: "sm" | "md" | "lg";
82
82
  }, {}, string> & {
83
83
  beforeCreate?: (() => void) | (() => void)[];
84
84
  created?: (() => void) | (() => void)[];
@@ -104,6 +104,10 @@ declare const CheckboxTypes: () => ({
104
104
  type: import("vue").PropType<string>;
105
105
  default: string;
106
106
  };
107
+ testId: {
108
+ type: import("vue").PropType<string>;
109
+ default: string;
110
+ };
107
111
  disabled: {
108
112
  type: import("vue").PropType<boolean>;
109
113
  };
@@ -111,10 +115,6 @@ declare const CheckboxTypes: () => ({
111
115
  type: import("vue").PropType<"sm" | "md" | "lg">;
112
116
  default: string;
113
117
  };
114
- testId: {
115
- type: import("vue").PropType<string>;
116
- default: string;
117
- };
118
118
  isIndeterminate: {
119
119
  type: import("vue").PropType<boolean>;
120
120
  };
@@ -134,6 +134,10 @@ declare const CheckboxTypes: () => ({
134
134
  type: import("vue").PropType<string>;
135
135
  default: string;
136
136
  };
137
+ testId: {
138
+ type: import("vue").PropType<string>;
139
+ default: string;
140
+ };
137
141
  disabled: {
138
142
  type: import("vue").PropType<boolean>;
139
143
  };
@@ -141,10 +145,6 @@ declare const CheckboxTypes: () => ({
141
145
  type: import("vue").PropType<"sm" | "md" | "lg">;
142
146
  default: string;
143
147
  };
144
- testId: {
145
- type: import("vue").PropType<string>;
146
- default: string;
147
- };
148
148
  isIndeterminate: {
149
149
  type: import("vue").PropType<boolean>;
150
150
  };
@@ -160,8 +160,8 @@ declare const CheckboxTypes: () => ({
160
160
  click: (event: MouseEvent) => void;
161
161
  }, string, {
162
162
  label: string;
163
- size: "sm" | "md" | "lg";
164
163
  testId: string;
164
+ size: "sm" | "md" | "lg";
165
165
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
166
166
  $slots: {
167
167
  default?(_: {}): any;
@@ -28,8 +28,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
28
  "onUpdate:isChecked"?: (value: boolean) => any;
29
29
  }, {
30
30
  label: string;
31
- color: string;
32
31
  testId: string;
32
+ color: string;
33
33
  }>, {
34
34
  default?(_: {}): any;
35
35
  }>;
@@ -4,13 +4,17 @@ declare const CheckboxTypes: () => ({
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  label: string;
7
- color: string;
8
7
  testId: string;
8
+ color: string;
9
9
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
10
10
  label: {
11
11
  type: import("vue").PropType<string>;
12
12
  default: string;
13
13
  };
14
+ testId: {
15
+ type: import("vue").PropType<string>;
16
+ default: string;
17
+ };
14
18
  disabled: {
15
19
  type: import("vue").PropType<boolean>;
16
20
  };
@@ -18,10 +22,6 @@ declare const CheckboxTypes: () => ({
18
22
  type: import("vue").PropType<string>;
19
23
  default: any;
20
24
  };
21
- testId: {
22
- type: import("vue").PropType<string>;
23
- default: string;
24
- };
25
25
  isIndeterminate: {
26
26
  type: import("vue").PropType<boolean>;
27
27
  };
@@ -32,7 +32,7 @@ declare const CheckboxTypes: () => ({
32
32
  }>> & {
33
33
  onClick?: (event: MouseEvent) => any;
34
34
  "onUpdate:isChecked"?: (value: boolean) => any;
35
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "color" | "testId">;
35
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "color">;
36
36
  $attrs: {
37
37
  [x: string]: unknown;
38
38
  };
@@ -51,6 +51,10 @@ declare const CheckboxTypes: () => ({
51
51
  type: import("vue").PropType<string>;
52
52
  default: string;
53
53
  };
54
+ testId: {
55
+ type: import("vue").PropType<string>;
56
+ default: string;
57
+ };
54
58
  disabled: {
55
59
  type: import("vue").PropType<boolean>;
56
60
  };
@@ -58,10 +62,6 @@ declare const CheckboxTypes: () => ({
58
62
  type: import("vue").PropType<string>;
59
63
  default: any;
60
64
  };
61
- testId: {
62
- type: import("vue").PropType<string>;
63
- default: string;
64
- };
65
65
  isIndeterminate: {
66
66
  type: import("vue").PropType<boolean>;
67
67
  };
@@ -77,8 +77,8 @@ declare const CheckboxTypes: () => ({
77
77
  click: (event: MouseEvent) => void;
78
78
  }, string, {
79
79
  label: string;
80
- color: string;
81
80
  testId: string;
81
+ color: string;
82
82
  }, {}, string> & {
83
83
  beforeCreate?: (() => void) | (() => void)[];
84
84
  created?: (() => void) | (() => void)[];
@@ -104,6 +104,10 @@ declare const CheckboxTypes: () => ({
104
104
  type: import("vue").PropType<string>;
105
105
  default: string;
106
106
  };
107
+ testId: {
108
+ type: import("vue").PropType<string>;
109
+ default: string;
110
+ };
107
111
  disabled: {
108
112
  type: import("vue").PropType<boolean>;
109
113
  };
@@ -111,10 +115,6 @@ declare const CheckboxTypes: () => ({
111
115
  type: import("vue").PropType<string>;
112
116
  default: any;
113
117
  };
114
- testId: {
115
- type: import("vue").PropType<string>;
116
- default: string;
117
- };
118
118
  isIndeterminate: {
119
119
  type: import("vue").PropType<boolean>;
120
120
  };
@@ -134,6 +134,10 @@ declare const CheckboxTypes: () => ({
134
134
  type: import("vue").PropType<string>;
135
135
  default: string;
136
136
  };
137
+ testId: {
138
+ type: import("vue").PropType<string>;
139
+ default: string;
140
+ };
137
141
  disabled: {
138
142
  type: import("vue").PropType<boolean>;
139
143
  };
@@ -141,10 +145,6 @@ declare const CheckboxTypes: () => ({
141
145
  type: import("vue").PropType<string>;
142
146
  default: any;
143
147
  };
144
- testId: {
145
- type: import("vue").PropType<string>;
146
- default: string;
147
- };
148
148
  isIndeterminate: {
149
149
  type: import("vue").PropType<boolean>;
150
150
  };
@@ -160,8 +160,8 @@ declare const CheckboxTypes: () => ({
160
160
  click: (event: MouseEvent) => void;
161
161
  }, string, {
162
162
  label: string;
163
- color: string;
164
163
  testId: string;
164
+ color: string;
165
165
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
166
166
  $slots: {
167
167
  default?(_: {}): any;
@@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  }>>> & {
28
28
  onCleared?: (...args: any[]) => any;
29
29
  }, {
30
- disabled: boolean;
31
30
  testId: string;
31
+ disabled: boolean;
32
32
  selected: boolean;
33
33
  prefix: string;
34
34
  clearable: boolean;
@@ -3,20 +3,20 @@ declare const ChipTypes: () => ({
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- disabled: boolean;
7
6
  testId: string;
7
+ disabled: boolean;
8
8
  selected: boolean;
9
9
  prefix: string;
10
10
  clearable: boolean;
11
11
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
- disabled: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
12
  testId: {
17
13
  type: import("vue").PropType<string>;
18
14
  default: string;
19
15
  };
16
+ disabled: {
17
+ type: import("vue").PropType<boolean>;
18
+ default: boolean;
19
+ };
20
20
  selected: {
21
21
  type: import("vue").PropType<boolean>;
22
22
  default: boolean;
@@ -31,7 +31,7 @@ declare const ChipTypes: () => ({
31
31
  };
32
32
  }>> & {
33
33
  onCleared?: (...args: any[]) => any;
34
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "selected" | "prefix" | "clearable">;
34
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "selected" | "prefix" | "clearable">;
35
35
  $attrs: {
36
36
  [x: string]: unknown;
37
37
  };
@@ -46,14 +46,14 @@ declare const ChipTypes: () => ({
46
46
  $emit: (event: "cleared", ...args: any[]) => void;
47
47
  $el: any;
48
48
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
49
- disabled: {
50
- type: import("vue").PropType<boolean>;
51
- default: boolean;
52
- };
53
49
  testId: {
54
50
  type: import("vue").PropType<string>;
55
51
  default: string;
56
52
  };
53
+ disabled: {
54
+ type: import("vue").PropType<boolean>;
55
+ default: boolean;
56
+ };
57
57
  selected: {
58
58
  type: import("vue").PropType<boolean>;
59
59
  default: boolean;
@@ -71,8 +71,8 @@ declare const ChipTypes: () => ({
71
71
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
72
  cleared: (...args: any[]) => void;
73
73
  }, string, {
74
- disabled: boolean;
75
74
  testId: string;
75
+ disabled: boolean;
76
76
  selected: boolean;
77
77
  prefix: string;
78
78
  clearable: boolean;
@@ -97,14 +97,14 @@ declare const ChipTypes: () => ({
97
97
  $nextTick: typeof import("vue").nextTick;
98
98
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
99
99
  } & Readonly<import("vue").ExtractPropTypes<{
100
- disabled: {
101
- type: import("vue").PropType<boolean>;
102
- default: boolean;
103
- };
104
100
  testId: {
105
101
  type: import("vue").PropType<string>;
106
102
  default: string;
107
103
  };
104
+ disabled: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
108
108
  selected: {
109
109
  type: import("vue").PropType<boolean>;
110
110
  default: boolean;
@@ -124,14 +124,14 @@ declare const ChipTypes: () => ({
124
124
  __isTeleport?: never;
125
125
  __isSuspense?: never;
126
126
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
127
- disabled: {
128
- type: import("vue").PropType<boolean>;
129
- default: boolean;
130
- };
131
127
  testId: {
132
128
  type: import("vue").PropType<string>;
133
129
  default: string;
134
130
  };
131
+ disabled: {
132
+ type: import("vue").PropType<boolean>;
133
+ default: boolean;
134
+ };
135
135
  selected: {
136
136
  type: import("vue").PropType<boolean>;
137
137
  default: boolean;
@@ -149,8 +149,8 @@ declare const ChipTypes: () => ({
149
149
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
150
150
  cleared: (...args: any[]) => void;
151
151
  }, string, {
152
- disabled: boolean;
153
152
  testId: string;
153
+ disabled: boolean;
154
154
  selected: boolean;
155
155
  prefix: string;
156
156
  clearable: boolean;
@@ -1,10 +1,9 @@
1
- import { ChipColor, ChipSize, ChipVariant } from './Chip.types';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- label: string;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ label?: string;
4
3
  testId?: string;
5
- size?: ChipSize;
6
- color?: ChipColor;
7
- variant?: ChipVariant;
4
+ size?: "small" | "medium";
5
+ color?: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
6
+ variant?: "filled" | "outlined";
8
7
  disabled?: boolean;
9
8
  }>, {
10
9
  label: string;
@@ -14,11 +13,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
14
13
  variant: string;
15
14
  disabled: boolean;
16
15
  }>, {}, 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<{
17
- label: string;
16
+ label?: string;
18
17
  testId?: string;
19
- size?: ChipSize;
20
- color?: ChipColor;
21
- variant?: ChipVariant;
18
+ size?: "small" | "medium";
19
+ color?: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
20
+ variant?: "filled" | "outlined";
22
21
  disabled?: boolean;
23
22
  }>, {
24
23
  label: string;
@@ -29,11 +28,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
29
28
  disabled: boolean;
30
29
  }>>>, {
31
30
  label: string;
32
- variant: ChipVariant;
33
- disabled: boolean;
34
- color: ChipColor;
35
- size: ChipSize;
36
31
  testId: string;
32
+ variant: "filled" | "outlined";
33
+ disabled: boolean;
34
+ color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
35
+ size: "small" | "medium";
36
+ }>, {
37
+ default?(_: {}): any;
37
38
  }>;
38
39
  export default _default;
39
40
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -53,3 +54,8 @@ type __VLS_WithDefaults<P, D> = {
53
54
  type __VLS_Prettify<T> = {
54
55
  [K in keyof T]: T[K];
55
56
  } & {};
57
+ type __VLS_WithTemplateSlots<T, S> = T & {
58
+ new (): {
59
+ $slots: S;
60
+ };
61
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./ChipV4.vue2.js";
2
- /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css"; //*');
4
- const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-12c0f396"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a4d3a12e"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import "../../../ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css"; import { defineComponent as i, openBlock as o, createElementBlock as r, mergeProps as d, unref as t, createVNode as s, withCtx as c, createTextVNode as f, toDisplayString as n } from "vue";
1
+ import "../../../ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css"; import { defineComponent as i, openBlock as o, createElementBlock as d, mergeProps as s, unref as t, renderSlot as c, createVNode as f, withCtx as n, createTextVNode as p, toDisplayString as u } from "vue";
2
2
  import { ChipTestIdModifiers as a } from "../../../testids/index.js";
3
- import { useTestIdAttrs as p } from "../../../utils/testIds.js";
4
- import m from "../../typography/v4/Typography.vue.js";
5
- const C = /* @__PURE__ */ i({
3
+ import { useTestIdAttrs as m } from "../../../utils/testIds.js";
4
+ import h from "../../typography/v4/Typography.vue.js";
5
+ const $ = /* @__PURE__ */ i({
6
6
  __name: "ChipV4",
7
7
  props: {
8
8
  label: { default: "" },
@@ -13,8 +13,8 @@ const C = /* @__PURE__ */ i({
13
13
  disabled: { type: Boolean, default: !1 }
14
14
  },
15
15
  setup(e) {
16
- const l = p(e.testId, a);
17
- return (h, b) => (o(), r("div", d({
16
+ const l = m(e.testId, a);
17
+ return (r, I) => (o(), d("div", s({
18
18
  class: ["chip", [
19
19
  `chip--${e.size}`,
20
20
  `chip--${e.color}`,
@@ -22,15 +22,17 @@ const C = /* @__PURE__ */ i({
22
22
  e.disabled ? "chip--disabled" : ""
23
23
  ]]
24
24
  }, t(l)[t(a).WRAPPER]), [
25
- s(t(m), { variant: "chipLabel" }, {
26
- default: c(() => [
27
- f(n(e.label), 1)
28
- ]),
29
- _: 1
30
- })
25
+ c(r.$slots, "default", {}, () => [
26
+ f(t(h), { variant: "chipLabel" }, {
27
+ default: n(() => [
28
+ p(u(e.label), 1)
29
+ ]),
30
+ _: 1
31
+ })
32
+ ], !0)
31
33
  ], 16));
32
34
  }
33
35
  });
34
36
  export {
35
- C as default
37
+ $ as default
36
38
  };