@revojs/ui 0.2.16 → 0.2.18

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.
@@ -4,7 +4,7 @@
4
4
  direction="horizontal"
5
5
  align="start"
6
6
  gap="3"
7
- class="group"
7
+ class="group select-none"
8
8
  :class="interactionVariants[interaction]"
9
9
  >
10
10
  <input
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <span
3
3
  aria-hidden="true"
4
- class="block shrink-0"
4
+ class="block shrink-0 select-none"
5
5
  :style="{ height: size === undefined ? '1em' : `${size}px`, width: size === undefined ? '1em' : `${size}px` }"
6
6
  >
7
7
  <component :is="is" class="block size-full" />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <Stack
3
3
  v-bind="rootAttributes"
4
- is="span"
4
+ is="label"
5
5
  direction="horizontal"
6
6
  align="center"
7
7
  gap="0"
@@ -4,7 +4,7 @@
4
4
  direction="horizontal"
5
5
  align="start"
6
6
  gap="3"
7
- class="group"
7
+ class="group select-none"
8
8
  :class="interactionVariants[interaction]"
9
9
  >
10
10
  <input
@@ -10,7 +10,7 @@
10
10
 
11
11
  <div
12
12
  ref="track"
13
- class="relative h-2 w-full touch-none rounded-ui bg-input outline-ring focus-visible:outline-2 focus-visible:outline-offset-2"
13
+ class="relative h-2 w-full touch-none rounded-ui bg-input outline-ring select-none focus-visible:outline-2 focus-visible:outline-offset-2"
14
14
  :class="disabled ? 'cursor-not-allowed opacity-50' : 'cursor-pointer'"
15
15
  role="slider"
16
16
  :tabindex="disabled ? -1 : 0"
@@ -82,7 +82,13 @@
82
82
  @keydown.arrow-up.prevent="stepHighlight(-1)"
83
83
  />
84
84
 
85
- <button type="button" tabindex="-1" class="shrink-0" :disabled="disabled" @click.stop="open = !open">
85
+ <button
86
+ type="button"
87
+ tabindex="-1"
88
+ class="shrink-0 select-none"
89
+ :disabled="disabled"
90
+ @click.stop="open = !open"
91
+ >
86
92
  <Icon :is="open ? ArrowUpIcon : ArrowDownIcon" :size="iconSize" />
87
93
  </button>
88
94
  </Stack>
@@ -4,7 +4,7 @@
4
4
  direction="horizontal"
5
5
  align="center"
6
6
  gap="3"
7
- class="group"
7
+ class="group select-none"
8
8
  :class="interactionVariants[interaction]"
9
9
  >
10
10
  <input v-if="name" type="hidden" :name="name" :value="modelValue ? 'on' : 'off'" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revojs/ui",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",