@1001-digital/components 2.0.0 → 2.0.1

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": "@1001-digital/components",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "sideEffects": [
@@ -6,7 +6,7 @@
6
6
  </nav>
7
7
  </template>
8
8
 
9
- <style>
9
+ <style scoped>
10
10
  @layer components {
11
11
  .bottom-nav {
12
12
  position: fixed;
@@ -104,7 +104,7 @@ const resolveDisplayValue = (val: any) => {
104
104
  }
105
105
  </script>
106
106
 
107
- <style>
107
+ <style scoped>
108
108
  @layer components {
109
109
  .combobox-root {
110
110
  inline-size: 100%;
@@ -71,7 +71,7 @@ const props = withDefaults(
71
71
  const open = defineModel<boolean>('open', { required: true })
72
72
  </script>
73
73
 
74
- <style>
74
+ <style scoped>
75
75
  @layer components {
76
76
  .dropdown {
77
77
  background: var(--dropdown-background);
@@ -187,7 +187,7 @@ const open = defineModel<boolean>('open')
187
187
  const placeholderValue = ref(props.placeholder) as ReturnType<typeof ref<DateValue | undefined>>
188
188
  </script>
189
189
 
190
- <style>
190
+ <style scoped>
191
191
  @layer components {
192
192
  .form-date-picker-anchor {
193
193
  display: inline-flex;
@@ -25,7 +25,15 @@
25
25
  </template>
26
26
 
27
27
  <script setup lang="ts">
28
- import { ref, reactive, computed, watch, watchEffect, onMounted, onBeforeUnmount } from 'vue'
28
+ import {
29
+ ref,
30
+ reactive,
31
+ computed,
32
+ watch,
33
+ watchEffect,
34
+ onMounted,
35
+ onBeforeUnmount,
36
+ } from 'vue'
29
37
  import { useMediaQuery, useScrollLock, useElementSize } from '@vueuse/core'
30
38
 
31
39
  const open = defineModel<boolean>('open', { default: false })
@@ -206,7 +214,7 @@ defineExpose({
206
214
  })
207
215
  </script>
208
216
 
209
- <style>
217
+ <style scoped>
210
218
  @layer components {
211
219
  .sidebar {
212
220
  position: fixed;
@@ -64,7 +64,7 @@ const props = withDefaults(
64
64
  )
65
65
  </script>
66
66
 
67
- <style>
67
+ <style scoped>
68
68
  @layer components {
69
69
  .tooltip {
70
70
  background: var(--tooltip-background);