itube-specs 0.0.556 → 0.0.557

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.
@@ -12,8 +12,9 @@
12
12
  ]"
13
13
  >
14
14
  <label
15
- v-if="isTextArea || label"
15
+ v-if="label"
16
16
  class="s-input__label"
17
+ :class="{'_visually-hidden': hideLabel}"
17
18
  :for="name"
18
19
  >
19
20
  <SIcon
@@ -100,6 +101,7 @@ const props = withDefaults(defineProps<{
100
101
  autocomplete?: string
101
102
  name?: string
102
103
  label?: string
104
+ hideLabel?: boolean
103
105
  placeholder?: string
104
106
  icon?: string
105
107
  labelIcon?: string
@@ -64,14 +64,12 @@
64
64
  </template>
65
65
 
66
66
  <script setup lang="ts">
67
- import { onBackdropClick, isMobileWidth } from '../../runtime';
68
- import type { CssBreakpoints } from '../../types';
67
+ import { onBackdropClick } from '../../runtime';
69
68
 
70
69
  const { scrollLock, scrollUnlock } = useGlobalScrollLock();
71
70
 
72
71
  const {resetSnackbar} = useSnackbar();
73
72
 
74
- const breakpoints = useAppConfig().cssBreakpoints as Record<CssBreakpoints, number>;
75
73
  const popupRef = ref()
76
74
  const emit = defineEmits<{
77
75
  (eventName: 'update:modelValue', value: boolean): void
@@ -91,9 +89,7 @@ const props = defineProps<{
91
89
  onMounted(() => {
92
90
  isSnackBarInPopup.value = true;
93
91
  resetSnackbar();
94
- setTimeout(() => {
95
- scrollLock()
96
- }, 0);
92
+ scrollLock();
97
93
  if (props.notModal) {
98
94
  popupRef.value.show();
99
95
  } else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.556",
4
+ "version": "0.0.557",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {