@webitel/ui-sdk 23.12.110 → 23.12.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "23.12.110",
3
+ "version": "23.12.112",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -40,9 +40,13 @@ const props = defineProps({
40
40
  type: String,
41
41
  default: 'md',
42
42
  },
43
+ collapsed: {
44
+ type: Boolean,
45
+ default: false,
46
+ },
43
47
  });
44
48
 
45
- const opened = ref(true);
49
+ const opened = ref(!props.collapsed);
46
50
 
47
51
  function open() {
48
52
  if (!opened.value) opened.value = true;
@@ -298,20 +298,6 @@ onMounted(() => {
298
298
  border-radius: var(--border-radius);
299
299
  background: transparent;
300
300
 
301
- // disable arrows
302
- /* Chrome, Safari, Edge, Opera */
303
- &::-webkit-outer-spin-button,
304
- &::-webkit-inner-spin-button {
305
- -webkit-appearance: none;
306
- margin: 0;
307
- }
308
-
309
- // disable arrows
310
- /* Firefox */
311
- &[type=number] {
312
- -moz-appearance: textfield;
313
- }
314
-
315
301
  .wt-input--invalid &,
316
302
  .wt-input--invalid:hover & {
317
303
  @include wt-placeholder('error');
@@ -132,20 +132,6 @@ export default {
132
132
  background: transparent;
133
133
  transition: var(--transition);
134
134
 
135
- // disable arrows
136
- /* Chrome, Safari, Edge, Opera */
137
- &::-webkit-outer-spin-button,
138
- &::-webkit-inner-spin-button {
139
- -webkit-appearance: none;
140
- margin: 0;
141
- }
142
-
143
- // disable arrows
144
- /* Firefox */
145
- &[type=number] {
146
- -moz-appearance: textfield;
147
- }
148
-
149
135
  .wt-time-input--invalid &,
150
136
  .wt-time-input--invalid:hover & {
151
137
  @include wt-placeholder('error');