@meistrari/tela-build 1.9.2 → 1.9.3

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.
@@ -40,12 +40,14 @@ const props = withDefaults(defineProps<{
40
40
  priority?: 'low' | 'normal' | 'high'
41
41
  inline?: boolean
42
42
  to?: string | HTMLElement
43
+ hideTrigger?: boolean
43
44
  }>(), {
44
45
  closeOnOutsideClick: true,
45
46
  closeOnEscape: true,
46
47
  comboSide: 'top',
47
48
  priority: 'normal',
48
49
  inline: false,
50
+ hideTrigger: false,
49
51
  })
50
52
 
51
53
  const emit = defineEmits<{
@@ -242,6 +244,7 @@ watch(innerValue, (value) => {
242
244
  <ComboboxTrigger
243
245
  as="button"
244
246
  class="group select-none flex items-center justify-center gap-3 rounded-full size-3.5 hover:size-6 bg-white border-[1.5px] border-gray-200 transition-[width,height] outline-none data-[state=open]:bg-gray-50 data-[state=open]:size-6"
247
+ :class="{ 'sr-only': hideTrigger }"
245
248
  >
246
249
  <TelaIcon name="i-ph-plus-bold" size="14px" class="text-gray-400 group-hover:text-gray-400 opacity-0 duration-200 group-hover:opacity-100 group-data-[state=open]:rotate-45 group-data-[state=open]:text-gray-400 group-data-[state=open]:opacity-100" />
247
250
  </ComboboxTrigger>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/tela-build",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "app.config.ts",