@ironsource/shared-ui 1.4.3-rc.2 → 1.4.3-rc.4

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 (120) hide show
  1. package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  2. package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  3. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  4. package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  5. package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  6. package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  7. package/ButtonBase.vue_vue_type_style_index_1_scoped_true_lang.css +1 -0
  8. package/ButtonSuper.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  9. package/ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  10. package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  11. package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  12. package/ChipV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  13. package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  14. package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  15. package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  16. package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
  17. package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  18. package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  19. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  20. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  21. package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  22. package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  23. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  24. package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  25. package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  26. package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
  27. package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  28. package/Popover.vue_vue_type_style_index_0_lang.css +1 -1
  29. package/README.md +21 -36
  30. package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  31. package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  32. package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  33. package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  34. package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  35. package/SwitchV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  36. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  37. package/Table.vue_vue_type_style_index_1_lang.css +1 -1
  38. package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  39. package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  40. package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  41. package/components/ThemeWrapper/ThemeStrore.d.ts +4 -0
  42. package/components/ThemeWrapper/ThemeWrapper.vue.d.ts +15 -0
  43. package/components/appTrigger/AppTrigger.vue.js +3 -3
  44. package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +2 -1
  45. package/components/button/{ButtonBase.vue.d.ts → common/ButtonBase.vue.d.ts} +9 -9
  46. package/components/button/{ButtonBase.vue.js → common/ButtonBase.vue.js} +8 -8
  47. package/components/button/common/ButtonSuper.vue.d.ts +42 -0
  48. package/components/button/{Button.vue.js → common/ButtonSuper.vue.js} +7 -7
  49. package/components/button/v3/Button.vue.js +40 -0
  50. package/components/button/{IconButton.vue.js → v3/IconButton.vue.js} +7 -7
  51. package/components/button/{ScrollButton.vue.js → v3/ScrollButton.vue.js} +6 -6
  52. package/components/button/v3/index.d.ts +126 -0
  53. package/components/button/v4/ButtonV4.vue.d.ts +52 -0
  54. package/components/button/v4/ButtonV4.vue.js +44 -0
  55. package/components/button/v4/index.d.ts +72 -0
  56. package/components/button/v4/index.vue.js +6 -0
  57. package/components/checkbox/Checkbox.vue.d.ts +1 -1
  58. package/components/checkbox/index.d.ts +9 -9
  59. package/components/chip/{Chip.vue.js → v3/Chip.vue.js} +5 -5
  60. package/components/chip/v4/ChipV4.vue.d.ts +48 -0
  61. package/components/chip/v4/ChipV4.vue.js +76 -0
  62. package/components/chip/v4/index.d.ts +63 -0
  63. package/components/chip/v4/index.vue.js +6 -0
  64. package/components/dateRange/CalendarMonth.vue.js +3 -3
  65. package/components/dateRange/DateRange.vue.js +4 -4
  66. package/components/dialog/Dialog.vue.d.ts +1 -1
  67. package/components/dialog/Dialog.vue.js +7 -6
  68. package/components/dialog/index.d.ts +11 -11
  69. package/components/dropdown/Dropdown.vue.d.ts +2 -2
  70. package/components/dropdown/Dropdown.vue.js +5 -5
  71. package/components/dropdown/SearchInput.vue.js +6 -5
  72. package/components/dropdown/index.d.ts +16 -16
  73. package/components/emptyState/EmptyState.vue.d.ts +1 -1
  74. package/components/emptyState/EmptyState.vue.js +4 -4
  75. package/components/emptyState/index.d.ts +14 -14
  76. package/components/filterDropdown/AddFilterButton.vue.js +2 -2
  77. package/components/filterDropdown/FilterDropdown.vue.js +2 -1
  78. package/components/filtersPanel/FilterSearchInput.vue.js +2 -2
  79. package/components/floatingToolbar/FloatingToolbar.vue.js +6 -5
  80. package/components/icon/Icon.vue.js +0 -1
  81. package/components/icon/icons/index.d.ts +0 -3
  82. package/components/icon/icons/index.vue.js +0 -3
  83. package/components/icon/index.d.ts +0 -3
  84. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  85. package/components/includeExclude/IncludeExcludeAppHeader.vue.js +1 -1
  86. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
  87. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +4 -4
  88. package/components/input/Input.vue.d.ts +2 -2
  89. package/components/input/Input.vue.js +3 -3
  90. package/components/input/index.d.ts +16 -16
  91. package/components/menu/Menu.vue.d.ts +1 -1
  92. package/components/menu/index.d.ts +5 -5
  93. package/components/snackbar/Snackbar.vue.d.ts +1 -1
  94. package/components/snackbar/Snackbar.vue.js +6 -5
  95. package/components/switch/{Switch.vue.js → v3/Switch.vue.js} +5 -5
  96. package/components/switch/v4/SwitchV4.vue.d.ts +37 -0
  97. package/components/switch/v4/SwitchV4.vue.js +87 -0
  98. package/components/switch/v4/index.d.ts +46 -0
  99. package/components/switch/v4/index.vue.js +6 -0
  100. package/components/table/Table.vue.js +3 -3
  101. package/components/tooltip/Tooltip.vue.d.ts +1 -1
  102. package/components/tooltip/index.d.ts +5 -5
  103. package/components/typography/index.d.ts +9 -9
  104. package/index.d.ts +429 -3
  105. package/index.vue.js +18 -9
  106. package/package.json +20 -11
  107. package/styleguide.scss +77 -78
  108. package/components/button/index.d.ts +0 -126
  109. package/components/icon/icons/Hammer.vue.d.ts +0 -2
  110. package/components/icon/icons/Hammer.vue.js +0 -26
  111. /package/components/button/{Button.vue.d.ts → v3/Button.vue.d.ts} +0 -0
  112. /package/components/button/{IconButton.vue.d.ts → v3/IconButton.vue.d.ts} +0 -0
  113. /package/components/button/{ScrollButton.vue.d.ts → v3/ScrollButton.vue.d.ts} +0 -0
  114. /package/components/button/{index.vue.js → v3/index.vue.js} +0 -0
  115. /package/components/chip/{Chip.vue.d.ts → v3/Chip.vue.d.ts} +0 -0
  116. /package/components/chip/{index.d.ts → v3/index.d.ts} +0 -0
  117. /package/components/chip/{index.vue.js → v3/index.vue.js} +0 -0
  118. /package/components/switch/{Switch.vue.d.ts → v3/Switch.vue.d.ts} +0 -0
  119. /package/components/switch/{index.d.ts → v3/index.d.ts} +0 -0
  120. /package/components/switch/{index.vue.js → v3/index.vue.js} +0 -0
@@ -1 +1 @@
1
- .label[data-v-6b2024eb]{color:#41454d}.loader[data-v-6b2024eb]{width:10px;height:10px;border:1.2px solid #D2D5D8;border-bottom-color:transparent;border-radius:100%;display:inline-block;box-sizing:border-box;animation:rotation-6b2024eb 1s linear infinite}.loader.loader-active[data-v-6b2024eb]{border:1.2px solid var(--189a2944);border-bottom-color:transparent}@keyframes rotation-6b2024eb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.toggle-body[data-v-6b2024eb]{background-color:#d2d5d8;border-radius:100px;width:1.75rem;height:1rem;position:relative;cursor:pointer;display:inline-block}.toggle-body.toggle-disabled[data-v-6b2024eb]{cursor:default;background-color:#d2d5d8b3}.toggle-body.toggle-active.toggle-disabled[data-v-6b2024eb]{background-color:var(--189a2944);opacity:.7}.toggle-head[data-v-6b2024eb]{background-color:#fff;border-radius:100px;width:.75rem;height:.75rem;position:absolute;left:.125rem;top:.125rem;transition:transform .25s linear;display:flex;justify-content:center;align-items:center}.toggle-active.toggle-body[data-v-6b2024eb]{background-color:var(--189a2944)}.toggle-active .toggle-head[data-v-6b2024eb]{transform:translate(.75rem)}.checkbox[data-v-6b2024eb]{display:none}.item-text[data-v-6b2024eb]{display:inline-block;padding-left:.5rem;line-height:1rem;color:#53575b}.item-text.text-disabled[data-v-6b2024eb]{color:#8e959d}.helper-text[data-v-6b2024eb]{display:block;color:#696a6b;padding-top:.375rem}.error-text[data-v-6b2024eb]{display:block;color:#da564f;padding-top:.375rem}.error-and-help[data-v-6b2024eb]{padding-top:0}.toggle-wrap[data-v-6b2024eb]{height:1rem}
1
+ .label[data-v-6b2024eb]{color:#41454d}.loader[data-v-6b2024eb]{width:10px;height:10px;border:1.2px solid #d2d5d8;border-bottom-color:transparent;border-radius:100%;display:inline-block;box-sizing:border-box;animation:rotation-6b2024eb 1s linear infinite}.loader.loader-active[data-v-6b2024eb]{border:1.2px solid var(--189a2944);border-bottom-color:transparent}@keyframes rotation-6b2024eb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.toggle-body[data-v-6b2024eb]{background-color:#d2d5d8;border-radius:100px;width:1.75rem;height:1rem;position:relative;cursor:pointer;display:inline-block}.toggle-body.toggle-disabled[data-v-6b2024eb]{cursor:default;background-color:#d2d5d8b3}.toggle-body.toggle-active.toggle-disabled[data-v-6b2024eb]{background-color:var(--189a2944);opacity:.7}.toggle-head[data-v-6b2024eb]{background-color:#fff;border-radius:100px;width:.75rem;height:.75rem;position:absolute;left:.125rem;top:.125rem;transition:transform .25s linear;display:flex;justify-content:center;align-items:center}.toggle-active.toggle-body[data-v-6b2024eb]{background-color:var(--189a2944)}.toggle-active .toggle-head[data-v-6b2024eb]{transform:translate(.75rem)}.checkbox[data-v-6b2024eb]{display:none}.item-text[data-v-6b2024eb]{display:inline-block;padding-left:.5rem;line-height:1rem;color:#53575b}.item-text.text-disabled[data-v-6b2024eb]{color:#8e959d}.helper-text[data-v-6b2024eb]{display:block;color:#696a6b;padding-top:.375rem}.error-text[data-v-6b2024eb]{display:block;color:#da564f;padding-top:.375rem}.error-and-help[data-v-6b2024eb]{padding-top:0}.toggle-wrap[data-v-6b2024eb]{height:1rem}
@@ -0,0 +1,4 @@
1
+ export declare const useThemeStore: () => {
2
+ theme: import("vue").Ref<string>;
3
+ toggleTheme: () => void;
4
+ };
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ version: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ version: string;
5
+ }>>>, {}>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -4,9 +4,9 @@ import Icon from '../icon/Icon.vue.js';
4
4
  import { AppTriggerTestIdModifiers } from '../../testids/index.vue.js';
5
5
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
6
6
  import Text from '../typography/Text.vue.js';
7
- /* empty css *//* empty css */import IconButton from '../button/IconButton.vue.js';
7
+ /* empty css *//* empty css *//* empty css *//* empty css */import IconButton from '../button/v3/IconButton.vue.js';
8
8
  import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
9
- /* empty css *//* empty css */
9
+ /* empty css *//* empty css */
10
10
  import "../../AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css";
11
11
  const _hoisted_1 = ["data-testid"];
12
12
  const _hoisted_2 = { class: "app-trigger__left-image" };
@@ -193,6 +193,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
193
193
  };
194
194
  }
195
195
  });
196
- var AppTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-180b1bc2"]]);
196
+ var AppTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1313b5bc"]]);
197
197
 
198
198
  export { AppTrigger as default };
@@ -2,7 +2,8 @@ import { defineComponent, ref, computed, watch, nextTick, openBlock, createBlock
2
2
  import Dropdown from '../dropdown/Dropdown.vue.js';
3
3
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
4
4
  /* empty css *//* empty css *//* empty css */import '@vue/shared';
5
- /* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import GroupOption from './GroupOption.vue.js';
5
+ /* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import 'floating-vue';
6
+ /* empty css *//* empty css *//* empty css */import GroupOption from './GroupOption.vue.js';
6
7
  import AutocompleteInput from './AutocompleteInput.vue.js';
7
8
  import { DEFAULT_PLACEHOLDER, GROUP_OPTION_FLAG } from './consts.vue.js';
8
9
  import { useKeyboardNavigation } from './useKeyboardNavigation.vue.js';
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- size?: 'xs' | 'sm' | 'md' | 'lg';
3
- variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized';
4
- theme?: 'primary' | 'secondary' | 'third' | 'danger';
2
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
3
+ variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized' | 'contained' | 'outlined' | 'text';
4
+ theme?: 'secondary' | 'third' | 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
5
5
  loading?: boolean;
6
6
  isTruncated?: boolean;
7
7
  strong?: boolean;
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
12
12
  loading: boolean;
13
13
  strong: boolean;
14
14
  }>, {}, 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<{
15
- size?: 'xs' | 'sm' | 'md' | 'lg';
16
- variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized';
17
- theme?: 'primary' | 'secondary' | 'third' | 'danger';
15
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
16
+ variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized' | 'contained' | 'outlined' | 'text';
17
+ theme?: 'secondary' | 'third' | 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
18
18
  loading?: boolean;
19
19
  isTruncated?: boolean;
20
20
  strong?: boolean;
@@ -25,10 +25,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  loading: boolean;
26
26
  strong: boolean;
27
27
  }>>>, {
28
- size: 'xs' | 'sm' | 'md' | 'lg';
29
28
  strong: boolean;
30
- variant: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized';
31
- theme: 'primary' | 'secondary' | 'third' | 'danger';
29
+ theme: 'secondary' | 'third' | 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
30
+ size: 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
31
+ variant: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized' | 'contained' | 'outlined' | 'text';
32
32
  loading: boolean;
33
33
  }>;
34
34
  export default _default;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, mergeProps, renderSlot, createVNode, unref, withCtx, createCommentVNode } from 'vue';
2
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
3
- import Text from '../typography/Text.vue.js';
4
- import Icon from '../icon/Icon.vue.js';
5
- import { sizeToFont } from './consts.vue.js';
6
- import LoaderDotsIcon from './icon/LoaderDotsIcon.vue.js';
7
- /* empty css */
8
- import "../../ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css";
2
+ /* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
+ import Text from '../../typography/Text.vue.js';
4
+ import Icon from '../../icon/Icon.vue.js';
5
+ import { sizeToFont } from '../consts.vue.js';
6
+ import LoaderDotsIcon from '../icon/LoaderDotsIcon.vue.js';
7
+ /* empty css *//* empty css */
8
+ ////import "../../ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css";
9
9
  const _hoisted_1 = { key: 0 };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  __name: "ButtonBase",
@@ -58,6 +58,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  };
59
59
  }
60
60
  });
61
- var ButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2650dac1"]]);
61
+ var ButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5425b1e1"]]);
62
62
 
63
63
  export { ButtonBase as default };
@@ -0,0 +1,42 @@
1
+ import { IconName } from '@/components/icon';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ leftIconName?: IconName;
4
+ rightIconName?: IconName;
5
+ size?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
6
+ testId?: string;
7
+ }>, {
8
+ leftIconName: any;
9
+ rightIconName: any;
10
+ size: string;
11
+ testId: string;
12
+ }>, {}, 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<{
13
+ leftIconName?: IconName;
14
+ rightIconName?: IconName;
15
+ size?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
16
+ testId?: string;
17
+ }>, {
18
+ leftIconName: any;
19
+ rightIconName: any;
20
+ size: string;
21
+ testId: string;
22
+ }>>>, {
23
+ size: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
24
+ testId: string;
25
+ leftIconName: IconName;
26
+ rightIconName: IconName;
27
+ }>;
28
+ export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
40
+ default: D[K];
41
+ } : P[K];
42
+ };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, normalizeClass, unref, createCommentVNode, renderSlot } from 'vue';
2
- import Icon from '../icon/Icon.vue.js';
2
+ import Icon from '../../icon/Icon.vue.js';
3
3
  import ButtonBase from './ButtonBase.vue.js';
4
- import { iconSizeMap } from './consts.vue.js';
5
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
4
+ import { iconSizeMap } from '../consts.vue.js';
5
+ /* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
6
6
 
7
- import "../../Button.vue_vue_type_style_index_0_scoped_true_lang.css";
7
+ ////import "../../ButtonSuper.vue_vue_type_style_index_0_scoped_true_lang.css";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
- __name: "Button",
9
+ __name: "ButtonSuper",
10
10
  props: {
11
11
  leftIconName: { default: null },
12
12
  rightIconName: { default: null },
@@ -60,6 +60,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  };
61
61
  }
62
62
  });
63
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-195cffac"]]);
63
+ var ButtonSuper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2fbb82ae"]]);
64
64
 
65
- export { Button as default };
65
+ export { ButtonSuper as default };
@@ -0,0 +1,40 @@
1
+ import { defineComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
2
+ import ButtonSuper from '../common/ButtonSuper.vue.js';
3
+ /* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
4
+
5
+ import "../../../Button.vue_vue_type_style_index_0_scoped_true_lang.css";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "Button",
8
+ props: {
9
+ leftIconName: { default: null },
10
+ rightIconName: { default: null },
11
+ size: { default: "md" },
12
+ testId: { default: "" }
13
+ },
14
+ setup(__props) {
15
+ const props = __props;
16
+ return (_ctx, _cache) => {
17
+ return openBlock(), createBlock(ButtonSuper, mergeProps({
18
+ class: [
19
+ __props.size,
20
+ {
21
+ "with-left-icon": !!__props.leftIconName,
22
+ "with-right-icon": !!__props.rightIconName
23
+ }
24
+ ],
25
+ size: __props.size,
26
+ "data-testid": props.testId,
27
+ "left-icon-name": __props.leftIconName,
28
+ "right-icon-name": __props.rightIconName
29
+ }, _ctx.$attrs), {
30
+ default: withCtx(() => [
31
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
32
+ ]),
33
+ _: 3
34
+ }, 16, ["class", "size", "data-testid", "left-icon-name", "right-icon-name"]);
35
+ };
36
+ }
37
+ });
38
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64003b2c"]]);
39
+
40
+ export { Button as default };
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeClass, renderSlot, createVNode, unref } from 'vue';
2
- import Icon from '../icon/Icon.vue.js';
3
- import ButtonBase from './ButtonBase.vue.js';
4
- import { loaderSizeMap } from './consts.vue.js';
5
- import LoaderCircleIcon from './icon/LoaderCircleIcon.vue.js';
6
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
2
+ import Icon from '../../icon/Icon.vue.js';
3
+ import ButtonBase from '../common/ButtonBase.vue.js';
4
+ import { loaderSizeMap } from '../consts.vue.js';
5
+ import LoaderCircleIcon from '../icon/LoaderCircleIcon.vue.js';
6
+ /* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
7
7
 
8
- import "../../IconButton.vue_vue_type_style_index_0_scoped_true_lang.css";
8
+ import "../../../IconButton.vue_vue_type_style_index_0_scoped_true_lang.css";
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "IconButton",
11
11
  props: {
@@ -46,6 +46,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  };
47
47
  }
48
48
  });
49
- var IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1d38d347"]]);
49
+ var IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e3fa1ea6"]]);
50
50
 
51
51
  export { IconButton as default };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createVNode, createCommentVNode } from 'vue';
2
- import Icon from '../icon/Icon.vue.js';
3
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
4
- /* empty css *//* empty css *//* empty css */import IconButton from './IconButton.vue.js';
5
- import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
2
+ import Icon from '../../icon/Icon.vue.js';
3
+ /* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
4
+ /* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import IconButton from './IconButton.vue.js';
5
+ import _sfc_main$1 from '../../tooltip/Tooltip.vue.js';
6
6
  /* empty css */
7
- import "../../ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css";
7
+ import "../../../ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "ScrollButton",
10
10
  props: {
@@ -43,6 +43,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  };
44
44
  }
45
45
  });
46
- var ScrollButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1a43437e"]]);
46
+ var ScrollButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fbd33082"]]);
47
47
 
48
48
  export { ScrollButton as default };
@@ -0,0 +1,126 @@
1
+ import Button from './Button.vue';
2
+ import IconButton from './IconButton.vue';
3
+ import ScrollButton from './ScrollButton.vue';
4
+ declare const ButtonTypes: () => (import("vue").DefineComponent<{
5
+ size: {
6
+ type: import("vue").PropType<"md" | "sm" | "lg">;
7
+ } & {
8
+ default: string;
9
+ };
10
+ testId: {
11
+ type: import("vue").PropType<string>;
12
+ } & {
13
+ default: string;
14
+ };
15
+ leftIconName: {
16
+ type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
17
+ } & {
18
+ default: any;
19
+ };
20
+ rightIconName: {
21
+ type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
22
+ } & {
23
+ default: any;
24
+ };
25
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ size: {
27
+ type: import("vue").PropType<"md" | "sm" | "lg">;
28
+ } & {
29
+ default: string;
30
+ };
31
+ testId: {
32
+ type: import("vue").PropType<string>;
33
+ } & {
34
+ default: string;
35
+ };
36
+ leftIconName: {
37
+ type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
38
+ } & {
39
+ default: any;
40
+ };
41
+ rightIconName: {
42
+ type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
43
+ } & {
44
+ default: any;
45
+ };
46
+ }>>, {
47
+ size: "md" | "sm" | "lg";
48
+ testId: string;
49
+ leftIconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
50
+ rightIconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
51
+ }> | import("vue").DefineComponent<{
52
+ size: {
53
+ type: import("vue").PropType<"md" | "sm" | "lg">;
54
+ } & {
55
+ default: string;
56
+ };
57
+ variant: {
58
+ type: import("vue").PropType<"link" | "solid" | "border" | "borderless" | "ghost" | "colorized">;
59
+ } & {
60
+ default: string;
61
+ };
62
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ size: {
64
+ type: import("vue").PropType<"md" | "sm" | "lg">;
65
+ } & {
66
+ default: string;
67
+ };
68
+ variant: {
69
+ type: import("vue").PropType<"link" | "solid" | "border" | "borderless" | "ghost" | "colorized">;
70
+ } & {
71
+ default: string;
72
+ };
73
+ }>>, {
74
+ size: "md" | "sm" | "lg";
75
+ variant: "link" | "solid" | "border" | "borderless" | "ghost" | "colorized";
76
+ }> | import("vue").DefineComponent<{
77
+ show: {
78
+ type: import("vue").PropType<boolean>;
79
+ } & {
80
+ default: boolean;
81
+ };
82
+ iconName: {
83
+ type: import("vue").PropType<string>;
84
+ } & {
85
+ default: string;
86
+ };
87
+ tooltipText: {
88
+ type: import("vue").PropType<string>;
89
+ } & {
90
+ default: string;
91
+ };
92
+ position: {
93
+ type: import("vue").PropType<"bottom-right" | "bottom-left" | "top-right" | "top-left">;
94
+ } & {
95
+ default: string;
96
+ };
97
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scrolled"[], "scrolled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
98
+ show: {
99
+ type: import("vue").PropType<boolean>;
100
+ } & {
101
+ default: boolean;
102
+ };
103
+ iconName: {
104
+ type: import("vue").PropType<string>;
105
+ } & {
106
+ default: string;
107
+ };
108
+ tooltipText: {
109
+ type: import("vue").PropType<string>;
110
+ } & {
111
+ default: string;
112
+ };
113
+ position: {
114
+ type: import("vue").PropType<"bottom-right" | "bottom-left" | "top-right" | "top-left">;
115
+ } & {
116
+ default: string;
117
+ };
118
+ }>> & {
119
+ onScrolled?: (...args: any[]) => any;
120
+ }, {
121
+ show: boolean;
122
+ iconName: string;
123
+ tooltipText: string;
124
+ position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
125
+ }>)[];
126
+ export { Button, IconButton, ScrollButton, ButtonTypes };
@@ -0,0 +1,52 @@
1
+ import { IconName } from '@/components/icon';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ size?: 'small' | 'medium' | 'large' | 'extraLarge';
4
+ variant?: 'contained' | 'outlined' | 'text';
5
+ color?: 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
6
+ testId?: string;
7
+ leftIconName?: IconName;
8
+ rightIconName?: IconName;
9
+ }>, {
10
+ leftIconName: any;
11
+ rightIconName: any;
12
+ size: string;
13
+ testId: string;
14
+ variant: string;
15
+ color: string;
16
+ }>, {}, 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
+ size?: 'small' | 'medium' | 'large' | 'extraLarge';
18
+ variant?: 'contained' | 'outlined' | 'text';
19
+ color?: 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
20
+ testId?: string;
21
+ leftIconName?: IconName;
22
+ rightIconName?: IconName;
23
+ }>, {
24
+ leftIconName: any;
25
+ rightIconName: any;
26
+ size: string;
27
+ testId: string;
28
+ variant: string;
29
+ color: string;
30
+ }>>>, {
31
+ size: 'small' | 'medium' | 'large' | 'extraLarge';
32
+ testId: string;
33
+ variant: 'contained' | 'outlined' | 'text';
34
+ leftIconName: IconName;
35
+ rightIconName: IconName;
36
+ color: 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
37
+ }>;
38
+ export default _default;
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToRuntimeProps<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
50
+ default: D[K];
51
+ } : P[K];
52
+ };
@@ -0,0 +1,44 @@
1
+ import { defineComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
2
+ import ButtonSuper from '../common/ButtonSuper.vue.js';
3
+ /* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
4
+
5
+ import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "ButtonV4",
8
+ props: {
9
+ size: { default: "medium" },
10
+ variant: { default: "contained" },
11
+ color: { default: "primary" },
12
+ testId: { default: "" },
13
+ leftIconName: { default: null },
14
+ rightIconName: { default: null }
15
+ },
16
+ setup(__props) {
17
+ const props = __props;
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createBlock(ButtonSuper, mergeProps({
20
+ class: [
21
+ __props.size,
22
+ {
23
+ "with-left-icon": !!__props.leftIconName,
24
+ "with-right-icon": !!__props.rightIconName
25
+ }
26
+ ],
27
+ size: __props.size,
28
+ "data-testid": props.testId,
29
+ "left-icon-name": __props.leftIconName,
30
+ "right-icon-name": __props.rightIconName,
31
+ variant: __props.variant,
32
+ theme: __props.color
33
+ }, _ctx.$attrs), {
34
+ default: withCtx(() => [
35
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
36
+ ]),
37
+ _: 3
38
+ }, 16, ["class", "size", "data-testid", "left-icon-name", "right-icon-name", "variant", "theme"]);
39
+ };
40
+ }
41
+ });
42
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-48ad2f11"]]);
43
+
44
+ export { Button as default };