@webitel/ui-sdk 0.9.65 → 1.0.2

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 (129) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/fonts/Montserrat-Black.27e3649b.ttf +0 -0
  3. package/dist/fonts/Montserrat-BlackItalic.d9b6ba59.ttf +0 -0
  4. package/dist/fonts/Montserrat-Bold.ade91f47.ttf +0 -0
  5. package/dist/fonts/Montserrat-BoldItalic.1b384149.ttf +0 -0
  6. package/dist/fonts/Montserrat-ExtraBold.19ba7aa5.ttf +0 -0
  7. package/dist/fonts/Montserrat-ExtraBoldItalic.52a50ca0.ttf +0 -0
  8. package/dist/fonts/Montserrat-ExtraLight.570a244c.ttf +0 -0
  9. package/dist/fonts/Montserrat-ExtraLightItalic.1170df55.ttf +0 -0
  10. package/dist/fonts/Montserrat-Italic.a7063e0c.ttf +0 -0
  11. package/dist/fonts/Montserrat-Light.409c7f79.ttf +0 -0
  12. package/dist/fonts/Montserrat-LightItalic.01c4560c.ttf +0 -0
  13. package/dist/fonts/Montserrat-Medium.c8b6e083.ttf +0 -0
  14. package/dist/fonts/Montserrat-MediumItalic.40a74702.ttf +0 -0
  15. package/dist/fonts/Montserrat-SemiBoldItalic.83c1ec1f.ttf +0 -0
  16. package/dist/fonts/Montserrat-Thin.43dd5b7a.ttf +0 -0
  17. package/dist/fonts/Montserrat-ThinItalic.3c2b290f.ttf +0 -0
  18. package/dist/ui-sdk.common.js +948 -929
  19. package/dist/ui-sdk.common.js.map +1 -1
  20. package/dist/ui-sdk.css +1 -1
  21. package/dist/ui-sdk.umd.js +948 -929
  22. package/dist/ui-sdk.umd.js.map +1 -1
  23. package/dist/ui-sdk.umd.min.js +2 -2
  24. package/dist/ui-sdk.umd.min.js.map +1 -1
  25. package/package.json +5 -5
  26. package/src/components/atoms/wt-button/wt-button.vue +187 -150
  27. package/src/components/atoms/wt-chip/__tests__/WtChip.spec.js +19 -0
  28. package/src/components/atoms/wt-chip/wt-chip.vue +23 -0
  29. package/src/components/atoms/wt-context-menu/wt-context-menu.vue +1 -1
  30. package/src/components/atoms/wt-icon/wt-icon.vue +4 -0
  31. package/src/components/atoms/wt-indicator/wt-indicator.vue +39 -6
  32. package/src/components/atoms/wt-input-info/wt-input-info.vue +1 -1
  33. package/src/components/atoms/wt-loader/_internals/wt-loader--sm.vue +34 -153
  34. package/src/components/atoms/wt-loader/wt-loader.vue +2 -4
  35. package/src/components/atoms/wt-rounded-action/__tests__/WtRoundedAction.spec.js +0 -11
  36. package/src/components/atoms/wt-rounded-action/wt-rounded-action.vue +27 -179
  37. package/src/components/atoms/wt-tooltip/wt-tooltip.vue +2 -2
  38. package/src/components/index.js +2 -2
  39. package/src/components/molecules/wt-button-select/wt-button-select.vue +2 -1
  40. package/src/components/molecules/wt-datepicker/wt-datepicker.vue +59 -62
  41. package/src/components/molecules/wt-datetimepicker/wt-datetimepicker.vue +2 -7
  42. package/src/components/molecules/wt-input/wt-input.vue +4 -25
  43. package/src/components/molecules/wt-label/wt-label.vue +5 -2
  44. package/src/components/molecules/wt-notification/wt-notification.vue +3 -2
  45. package/src/components/molecules/wt-popup/__tests__/WtPopup.spec.js +1 -1
  46. package/src/components/molecules/wt-popup/wt-popup.vue +26 -28
  47. package/src/components/molecules/wt-progress-bar/wt-progress-bar.vue +3 -4
  48. package/src/components/molecules/wt-radio/wt-radio.vue +0 -2
  49. package/src/components/molecules/wt-search-bar/wt-search-bar.vue +4 -20
  50. package/src/components/molecules/wt-select/wt-select.vue +26 -28
  51. package/src/components/molecules/wt-tabs/wt-tabs.vue +6 -18
  52. package/src/components/molecules/wt-tags-input/wt-tags-input.vue +31 -25
  53. package/src/components/molecules/wt-textarea/wt-textarea.vue +6 -17
  54. package/src/components/molecules/wt-time-input/wt-time-input.vue +1 -3
  55. package/src/components/molecules/wt-timepicker/wt-timepicker.vue +0 -3
  56. package/src/components/organisms/wt-app-header/wt-app-header.vue +1 -0
  57. package/src/components/organisms/wt-app-header/wt-app-navigator.vue +32 -33
  58. package/src/components/organisms/wt-app-header/wt-header-actions.vue +145 -144
  59. package/src/components/organisms/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +3 -3
  60. package/src/components/organisms/wt-headline/wt-headline.vue +1 -2
  61. package/src/components/organisms/wt-navigation-bar/wt-navigation-bar.vue +8 -11
  62. package/src/components/organisms/wt-page-wrapper/wt-page-wrapper.vue +6 -14
  63. package/src/components/organisms/wt-pagination/wt-pagination.vue +5 -5
  64. package/src/components/organisms/wt-player/wt-player.vue +1 -1
  65. package/src/components/organisms/wt-status-select/wt-status-select.vue +24 -4
  66. package/src/components/organisms/wt-table/wt-table.vue +15 -12
  67. package/src/components/organisms/wt-table-actions/wt-table-actions.vue +2 -4
  68. package/src/components/organisms/wt-table-column-select/wt-table-column-select.vue +1 -1
  69. package/src/css/components/_components.scss +1 -1
  70. package/src/css/components/atoms/wt-button/_variables.scss +22 -24
  71. package/src/css/components/atoms/wt-chip/_variables.scss +7 -0
  72. package/src/css/components/atoms/{wt-badge/wt-badge.scss → wt-chip/wt-chip.scss} +12 -7
  73. package/src/css/components/atoms/wt-context-menu/_variables.scss +1 -1
  74. package/src/css/components/atoms/wt-indicator/_variables.scss +6 -2
  75. package/src/css/components/atoms/wt-label/_variables.scss +0 -1
  76. package/src/css/components/atoms/wt-rounded-action/_variables.scss +3 -26
  77. package/src/css/components/atoms/wt-tooltip/_variables.scss +7 -5
  78. package/src/css/components/molecules/wt-button-select/_variables.scss +5 -8
  79. package/src/css/components/molecules/wt-checkbox/_variables.scss +1 -1
  80. package/src/css/components/molecules/wt-datepicker/_variables.scss +15 -14
  81. package/src/css/components/molecules/wt-datepicker/datepicker-calendar.scss +20 -31
  82. package/src/css/components/molecules/wt-datetimepicker/_variables.scss +5 -5
  83. package/src/css/components/molecules/wt-input/_variables.scss +3 -3
  84. package/src/css/components/molecules/wt-notification/_variables.scss +4 -4
  85. package/src/css/components/molecules/wt-popup/_variables.scss +16 -8
  86. package/src/css/components/molecules/wt-progress-bar/_variables.scss +3 -3
  87. package/src/css/components/molecules/wt-radio/_variables.scss +1 -1
  88. package/src/css/components/molecules/wt-search-bar/_variables.scss +5 -1
  89. package/src/css/components/molecules/wt-select/_variables.scss +49 -13
  90. package/src/css/components/molecules/wt-switcher/_variables.scss +1 -1
  91. package/src/css/components/molecules/wt-tabs/_variables.scss +2 -2
  92. package/src/css/components/molecules/wt-tags-input/_variables.scss +4 -5
  93. package/src/css/components/molecules/wt-textarea/_variables.scss +9 -1
  94. package/src/css/components/molecules/wt-timepicker/_variables.scss +1 -1
  95. package/src/css/components/organisms/wt-app-header/_variables.scss +13 -9
  96. package/src/css/components/organisms/wt-headline/_variables.scss +3 -4
  97. package/src/css/components/organisms/wt-navigation-bar/_variables.scss +10 -10
  98. package/src/css/components/organisms/wt-notifications-bar/_variables.scss +2 -2
  99. package/src/css/components/organisms/wt-page-wrapper/_variables.scss +3 -3
  100. package/src/css/components/organisms/wt-pagination/_variables.scss +1 -3
  101. package/src/css/components/organisms/wt-player/_variables.scss +2 -2
  102. package/src/css/components/organisms/wt-status-select/_variables.scss +3 -3
  103. package/src/css/components/organisms/wt-table/_variables.scss +9 -9
  104. package/src/css/components/organisms/wt-table-actions/_variables.scss +2 -1
  105. package/src/css/main.scss +7 -5
  106. package/src/css/styleguide/_styleguide.scss +8 -3
  107. package/src/css/styleguide/border-radius/_border-radius.scss +4 -0
  108. package/src/css/{colors → styleguide/colors}/_colors.scss +5 -7
  109. package/src/css/{display-helpers → styleguide/display-helpers}/_display-helpers.scss +2 -0
  110. package/src/css/styleguide/elevations/_elevations.scss +13 -0
  111. package/src/css/styleguide/fonts/_fonts.scss +126 -0
  112. package/src/css/styleguide/placeholder/_placeholder.scss +49 -0
  113. package/src/css/styleguide/spacings/_spacings.scss +15 -0
  114. package/src/css/styleguide/transitions/_transitions.scss +1 -0
  115. package/src/css/{transitions → styleguide/transitions}/fade/_fade.scss +0 -0
  116. package/src/css/styleguide/typography/_typography.scss +102 -0
  117. package/src/css/{sizes → styleguide/viewport-breakpoints}/_viewport-breakpoints.scss +0 -0
  118. package/src/locale/en/en.js +28 -3
  119. package/src/locale/ru/ru.js +26 -1
  120. package/src/locale/ua/ua.js +26 -1
  121. package/src/components/atoms/wt-badge/__tests__/WtBadge.spec.js +0 -19
  122. package/src/components/atoms/wt-badge/wt-badge.vue +0 -23
  123. package/src/css/components/atoms/wt-badge/_variables.scss +0 -7
  124. package/src/css/fonts/_fonts.scss +0 -9
  125. package/src/css/shadows/_shadows.scss +0 -7
  126. package/src/css/sizes/_sizes.scss +0 -2
  127. package/src/css/sizes/_spacing.scss +0 -33
  128. package/src/css/transitions/_transitions.scss +0 -1
  129. package/src/css/typography/_typography.scss +0 -72
@@ -1,20 +1,10 @@
1
- <!--https://codepen.io/adityapunjani/pen/YyQmBZ-->
1
+ <!--https://codepen.io/zapdev/pen/MYJRaj-->
2
2
 
3
3
  <template>
4
4
  <div class="wt-loader--sm" :class="`wt-loader--sm--${color}`">
5
- <div class="wt-loader--sm__container active common">
6
- <div class="wt-loader--sm__layer layer-1 common">
7
- <div class="circle-clipper left common">
8
- <div class="circle common" style="border-width:3px;"></div>
9
- </div>
10
- <div class="gap-patch common">
11
- <div class="circle common" style="border-width:3px;"></div>
12
- </div>
13
- <div class="circle-clipper right common">
14
- <div class="circle common" style="border-width:3px;"></div>
15
- </div>
16
- </div>
17
- </div>
5
+ <svg viewBox="0 0 24 24">
6
+ <circle cx="12" cy="12" r="8" />
7
+ </svg>
18
8
  </div>
19
9
  </template>
20
10
 
@@ -31,159 +21,50 @@ export default {
31
21
  </script>
32
22
 
33
23
  <style lang="scss" scoped>
34
- .common {
35
- display: inline-block;
36
- position: relative;
37
- }
38
-
39
24
  .wt-loader--sm {
40
- width: 14px;
41
- height: 14px;
42
- display: block;
43
- position: relative;
44
- text-align: initial;
45
- color: var(--contrast-color);
25
+ width: 24px;
26
+ height: 24px;
46
27
 
47
- &--main {
48
- color: var(--main-color);
49
- }
50
- &--contrast {
51
- color: var(--contrast-color);
28
+ svg {
29
+ animation: rotate 1.5s linear infinite;
30
+ height: 100%;
31
+ width: 100%;
52
32
  }
53
- }
54
-
55
- .wt-loader--sm__container {
56
- width: 100%;
57
- height: 100%;
58
- direction: ltr;
59
- }
60
-
61
- .wt-loader--sm__container.active {
62
- animation: container-rotate 1568ms linear infinite;
63
- }
64
-
65
- @keyframes container-rotate {
66
- to {
67
- transform: rotate(360deg)
68
- }
69
- }
70
33
 
71
- .wt-loader--sm__layer {
72
- position: absolute;
73
- width: 100%;
74
- height: 100%;
75
- }
76
-
77
- .active .wt-loader--sm__layer.layer-1 {
78
- animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
79
- }
80
-
81
- @keyframes fill-unfill-rotate {
82
- 12.5% {
83
- transform: rotate(135deg);
84
- }
85
- 25% {
86
- transform: rotate(270deg);
87
- }
88
- 37.5% {
89
- transform: rotate(405deg);
90
- }
91
- 50% {
92
- transform: rotate(540deg);
93
- }
94
- 62.5% {
95
- transform: rotate(675deg);
96
- }
97
- 75% {
98
- transform: rotate(810deg);
99
- }
100
- 87.5% {
101
- transform: rotate(945deg);
34
+ circle {
35
+ stroke-dasharray: 1, 200;
36
+ stroke-dashoffset: 0;
37
+ animation: dash 1.5s ease-in-out infinite 0s;
38
+ //color 6s ease-in-out infinite -0.75s
39
+ stroke-linecap: round;
40
+ fill: none;
41
+ stroke: var(--contrast-color);
42
+ stroke-width: 3;
102
43
  }
103
- to {
104
- transform: rotate(1080deg);
44
+ &--main circle {
45
+ stroke: var(--main-color);
105
46
  }
106
47
  }
107
48
 
108
- .gap-patch {
109
- position: absolute;
110
- box-sizing: border-box;
111
- top: 0;
112
- left: 45%;
113
- width: 10%;
114
- height: 100%;
115
- overflow: hidden;
116
- border-color: inherit;
117
- }
118
-
119
- .gap-patch .circle {
120
- width: 1000%;
121
- left: -450%;
122
- }
123
-
124
- .circle-clipper {
125
- display: inline-block;
126
- position: relative;
127
- width: 50%;
128
- height: 100%;
129
- overflow: hidden;
130
- border-color: inherit;
131
- }
132
-
133
- .circle-clipper .circle {
134
- width: 200%;
135
- }
136
-
137
- .circle {
138
- box-sizing: border-box;
139
- height: 100%;
140
- border-style: solid;
141
- border-color: inherit;
142
- border-bottom-color: transparent !important;
143
- border-radius: 50%;
144
- animation: none;
145
- }
146
-
147
- .circle-clipper.left .circle {
148
- border-right-color: transparent !important;
149
- transform: rotate(129deg);
150
- }
151
-
152
- .circle-clipper.right .circle {
153
- left: -100%;
154
- border-left-color: transparent !important;
155
- transform: rotate(-129deg);
156
- }
157
-
158
- .active .circle-clipper.left .circle {
159
- animation: left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
160
- }
161
-
162
- .active .circle-clipper.right .circle {
163
- animation: right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
164
- }
165
-
166
- @keyframes left-spin {
167
- from {
168
- transform: rotate(130deg);
169
- }
170
- 50% {
171
- transform: rotate(-5deg);
172
- }
173
- to {
174
- transform: rotate(130deg);
49
+ @keyframes rotate {
50
+ 100% {
51
+ -webkit-transform: rotate(360deg);
52
+ transform: rotate(360deg);
175
53
  }
176
54
  }
177
55
 
178
- @keyframes right-spin {
179
- from {
180
- transform: rotate(-130deg);
56
+ @keyframes dash {
57
+ 0% {
58
+ stroke-dasharray: 1, 200;
59
+ stroke-dashoffset: 0;
181
60
  }
182
61
  50% {
183
- transform: rotate(5deg);
62
+ stroke-dasharray: 89, 200;
63
+ stroke-dashoffset: -35;
184
64
  }
185
- to {
186
- transform: rotate(-130deg);
65
+ 100% {
66
+ stroke-dasharray: 89, 200;
67
+ stroke-dashoffset: -124;
187
68
  }
188
69
  }
189
70
  </style>
@@ -1,8 +1,6 @@
1
1
  <template>
2
- <div class="wt-loader">
3
- <wt-loader-sm v-if="size === 'sm'" :color="color"></wt-loader-sm>
4
- <wt-loader-md v-if="size === 'md'"></wt-loader-md>
5
- </div>
2
+ <wt-loader-sm class="wt-loader" v-if="size === 'sm'" :color="color"></wt-loader-sm>
3
+ <wt-loader-md class="wt-loader" v-else-if="size === 'md'"></wt-loader-md>
6
4
  </template>
7
5
 
8
6
  <script>
@@ -1,20 +1,9 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import WtRoundedAction from '../wt-rounded-action.vue';
3
- import WtLoader from '../../wt-loader/wt-loader.vue';
4
3
 
5
4
  describe('WtRoundedAction', () => {
6
5
  it('renders a component', () => {
7
6
  const wrapper = shallowMount(WtRoundedAction, { propsData: { icon: 'call' } });
8
7
  expect(wrapper.classes('wt-rounded-action')).toBe(true);
9
8
  });
10
-
11
- it('renders button spinner', () => {
12
- const wrapper = shallowMount(WtRoundedAction, {
13
- propsData: {
14
- icon: 'call',
15
- loading: true,
16
- },
17
- });
18
- expect(wrapper.findComponent(WtLoader).exists()).toBe(true);
19
- });
20
9
  });
@@ -1,25 +1,19 @@
1
1
  <template>
2
- <button
2
+ <wt-button
3
3
  class="wt-rounded-action"
4
4
  :class="[
5
- colorClass,
6
- `wt-rounded-action--${size}`,
7
- {
8
- 'wt-rounded-action--disabled': disabled,
9
- }
5
+ { 'wt-rounded-action--disabled': disabled },
10
6
  ]"
11
- type="button"
12
- :disabled="disabled"
7
+ v-bind="{ ...$attrs, ...$props }"
8
+ color="secondary"
13
9
  @click="$emit('click', $event)"
14
10
  >
15
- <wt-loader v-if="loading" size="sm" :color="loaderColor"/>
16
- <slot v-else>
17
- <wt-icon
18
- :icon="icon"
19
- :color="computeIconColor"
20
- ></wt-icon>
21
- </slot>
22
- </button>
11
+ <wt-icon
12
+ :icon="icon"
13
+ :color="iColor"
14
+ :size="size"
15
+ ></wt-icon>
16
+ </wt-button>
23
17
  </template>
24
18
 
25
19
  <script>
@@ -40,188 +34,42 @@ export default {
40
34
  size: {
41
35
  type: String,
42
36
  default: 'md',
37
+ options: ['sm', 'md'],
43
38
  },
44
39
  disabled: {
45
40
  type: Boolean,
46
41
  default: false,
47
42
  },
48
- loading: {
49
- type: Boolean,
50
- default: false,
51
- },
52
43
  },
53
44
  computed: {
54
- colorClass() {
55
- if (!this.disabled) return `${this.color}`;
56
- return '';
57
- },
58
- computeIconColor() {
45
+ iColor() {
59
46
  if (this.iconColor) return this.iconColor;
60
- switch (this.colorClass) {
61
- case 'secondary':
62
- return 'default';
47
+ if (this.disabled) return 'secondary-50';
48
+ switch (this.color) {
63
49
  case 'success':
64
- return 'contrast';
65
- case 'transfer':
66
- return 'contrast';
50
+ return 'success';
51
+ case 'accent':
52
+ return 'accent';
67
53
  case 'danger':
68
- return 'contrast';
54
+ return 'danger';
69
55
  default:
70
- return 'active';
56
+ return 'default';
71
57
  }
72
58
  },
73
- loaderColor() {
74
- if (['success', 'transfer', 'danger'].includes(this.color)) return 'main';
75
- return 'contrast';
76
- },
77
59
  },
78
60
  };
79
61
  </script>
80
62
 
81
63
  <!--not scoped to change .icon colors-->
82
64
  <style lang="scss" scoped>
83
- .wt-rounded-action {
84
- position: relative;
85
- display: flex;
86
- align-items: center;
87
- justify-content: center;
88
- border: var(--rounded-action-border);
89
- color: var(--rounded-action-dark-font-color);
90
- background: var(--rounded-action-primary-color);
91
- border-color: var(--rounded-action-primary-color);
92
- border-radius: 50%;
93
- transition: var(--transition);
94
- cursor: pointer;
95
-
96
- &--sm {
97
- width: var(--rounded-action-size--sm);
98
- height: var(--rounded-action-size--sm);
99
- }
100
-
101
- &--md {
102
- width: var(--rounded-action-size--md);
103
- height: var(--rounded-action-size--md);
104
- }
105
-
106
- &--lg {
107
- width: var(--rounded-action-size--lg);
108
- height: var(--rounded-action-size--lg);
109
- }
110
-
111
- @media screen and (max-width: 1336px) {
112
- .wt-icon.sm {
113
- width: 14px;
114
- height: 14px;
115
- }
116
-
117
- .wt-icon.md {
118
- width: 20px;
119
- height: 20px;
120
- }
121
-
122
- .wt-icon.lg {
123
- width: 25px;
124
- height: 25px;
125
- }
126
-
127
- &--sm {
128
- width: calc(var(--rounded-action-size--sm) * 0.8);
129
- height: calc(var(--rounded-action-size--sm) * 0.8);
130
- }
131
-
132
- &--md {
133
- width: calc(var(--rounded-action-size--md) * 0.8);
134
- height: calc(var(--rounded-action-size--md) * 0.8);
135
- }
136
-
137
- &--lg {
138
- width: calc(var(--rounded-action-size--lg) * 0.8);
139
- height: calc(var(--rounded-action-size--lg) * 0.8);
140
- }
141
- }
142
-
143
- &--disabled {
144
- color: var(--text--disabled-color);
145
- background: var(--rounded-action-disabled-bg-color);
146
- border-color: var(--disabled-color);
147
- cursor: auto;
148
- pointer-events: none;
149
-
150
- .wt-icon ::v-deep .wt-icon__icon {
151
- fill: var(--icon-color-disabled);
152
- }
153
- }
154
-
155
- &:hover {
156
- background: var(--rounded-action-primary--hover-color);
157
- border-color: var(--rounded-action-primary--hover-color);
158
- }
159
-
160
- &.active,
161
- &:active {
162
- background: var(--rounded-action-primary--hover-color);
163
- border-color: var(--rounded-action-primary--hover-color);
164
- }
165
-
166
- &.secondary {
167
- border-color: var(--rounded-action-secondary-color);
168
- background: var(--rounded-action-secondary-bg-color);
169
-
170
- &:hover{
171
- border-color: var(--rounded-action-secondary--hover-color);
172
- background: var(--rounded-action-secondary-bg-color);
173
-
174
- .wt-icon ::v-deep .wt-icon__icon {
175
- fill: var(--icon-color--hover);
176
- }
177
- }
178
-
179
- &.active,
180
- &:active {
181
- color: var(--text-primary-color);
182
- border-color: var(--rounded-action-secondary--active-color);
183
- background: var(--rounded-action-secondary-bg-color);
184
-
185
- .wt-icon ::v-deep .wt-icon__icon {
186
- fill: var(--icon-color-active);
187
- }
188
- }
189
- }
190
-
191
- &.success {
192
- color: var(--text-contrast-color);
193
- background: var(--rounded-action-true-color);
194
- border-color: var(--rounded-action-true-color);
195
-
196
- &:hover,
197
- &:active {
198
- background: var(--rounded-action-true--hover-color);
199
- border-color: var(--rounded-action-true--hover-color);
200
- }
201
- }
202
-
203
- &.transfer {
204
- color: var(--text-contrast-color);
205
- background: var(--rounded-action-transfer-color);
206
- border-color: var(--rounded-action-transfer-color);
207
-
208
- &:hover,
209
- &:active {
210
- background: var(--rounded-action-transfer--hover-color);
211
- border-color: var(--rounded-action-transfer--hover-color);
212
- }
213
- }
214
-
215
- &.danger {
216
- color: var(--text-contrast-color);
217
- background: var(--rounded-action-false-color);
218
- border-color: var(--rounded-action-false-color);
219
-
220
- &:hover,
221
- &:active {
222
- background: var(--rounded-action-false--hover-color);
223
- border-color: var(--rounded-action-false--hover-color);
224
- }
65
+ .wt-button.wt-rounded-action {
66
+ min-width: auto;
67
+ line-height: 0;
68
+ padding: var(--rounded-action-padding);
69
+
70
+ &:not(.wt-rounded-action--disabled) {
71
+ background: var(--rounded-action-bg-color);
72
+ box-shadow: var(--elevation-1);
225
73
  }
226
74
  }
227
75
  </style>
@@ -28,14 +28,14 @@
28
28
 
29
29
  <style lang="scss" scoped>
30
30
  .wt-tooltip {
31
- @extend %typo-body-lg;
31
+ @extend %typo-body-1;
32
32
  display: inline-block;
33
33
  min-width: 0;
34
34
  padding: var(--tooltip-padding);
35
35
  color: var(--tooltip-light-text-color);
36
36
  background: var(--tooltip-light-bg-color);
37
37
  border-radius: var(--border-radius);
38
- box-shadow: var(--box-shadow);
38
+ box-shadow: var(--tooltip-elevation);
39
39
  transition: var(--transition);
40
40
  opacity: 0;
41
41
  pointer-events: none;
@@ -3,7 +3,7 @@ import WtIcon from './atoms/wt-icon/wt-icon.vue';
3
3
  import WtIndicator from './atoms/wt-indicator/wt-indicator.vue';
4
4
  import WtInputInfo from './atoms/wt-input-info/wt-input-info.vue';
5
5
  import WtButton from './atoms/wt-button/wt-button.vue';
6
- import WtBadge from './atoms/wt-badge/wt-badge.vue';
6
+ import WtChip from './atoms/wt-chip/wt-chip.vue';
7
7
  import WtDivider from './atoms/wt-divider/wt-divider.vue';
8
8
  import WtTooltip from './atoms/wt-tooltip/wt-tooltip.vue';
9
9
  import WtRoundedAction from './atoms/wt-rounded-action/wt-rounded-action.vue';
@@ -52,7 +52,7 @@ const Components = {
52
52
  WtIndicator,
53
53
  WtInputInfo,
54
54
  WtButton,
55
- WtBadge,
55
+ WtChip,
56
56
  WtDivider,
57
57
  WtTooltip,
58
58
  WtLabel,
@@ -83,6 +83,7 @@ export default {
83
83
  }
84
84
 
85
85
  .wt-button-select__select-btn {
86
+ min-width: auto;
86
87
  padding: var(--button-select-icon-button-padding);
87
88
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
88
89
 
@@ -171,7 +172,7 @@ export default {
171
172
 
172
173
  // DISABLED MODE
173
174
  &.wt-button--disabled .wt-icon::v-deep .wt-icon__icon {
174
- fill: var(--icon-color-disabled);
175
+ fill: var(--icon-color-secondary-50);
175
176
  }
176
177
 
177
178
  // OPEN AND SHUT ARROW