arvue-ui 0.6.0 → 0.7.0

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.
Files changed (102) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/aspect-ratio/aspectRatio.js +24 -0
  3. package/dist/aspect-ratio/aspectRatio.js.map +1 -0
  4. package/dist/autocomplete/autocomplete.js +1 -1
  5. package/dist/autocomplete/autocompleteContent.js +1 -1
  6. package/dist/autocomplete/autocompleteEmpty.js +1 -1
  7. package/dist/autocomplete/autocompleteInput.js +1 -1
  8. package/dist/autocomplete/autocompleteItem.js +3 -1
  9. package/dist/autocomplete/autocompleteItem.js.map +1 -1
  10. package/dist/autocomplete/autocompleteLabel.js +1 -1
  11. package/dist/autocomplete/autocompleteSeparator.js +1 -1
  12. package/dist/combobox/combobox.js +1 -1
  13. package/dist/combobox/comboboxContent.js +1 -1
  14. package/dist/combobox/comboboxEmpty.js +1 -1
  15. package/dist/combobox/comboboxInput.js +1 -1
  16. package/dist/combobox/comboboxItem.js +3 -1
  17. package/dist/combobox/comboboxItem.js.map +1 -1
  18. package/dist/combobox/comboboxLabel.js +1 -1
  19. package/dist/combobox/comboboxSeparator.js +1 -1
  20. package/dist/dialog/dialogContent.js +1 -1
  21. package/dist/dialog/dialogDescription.js +1 -1
  22. package/dist/dialog/dialogFooter.js +1 -1
  23. package/dist/dialog/dialogHeader.js +1 -1
  24. package/dist/dialog/dialogOverlay.js +1 -1
  25. package/dist/dialog/dialogTitle.js +1 -1
  26. package/dist/drawer/drawerContent.js +1 -1
  27. package/dist/drawer/drawerDescription.js +1 -1
  28. package/dist/drawer/drawerFooter.js +1 -1
  29. package/dist/drawer/drawerHeader.js +1 -1
  30. package/dist/drawer/drawerOverlay.js +1 -1
  31. package/dist/drawer/drawerTitle.js +1 -1
  32. package/dist/dropdown-menu/dropdownMenuCheckboxItem.js +1 -1
  33. package/dist/dropdown-menu/dropdownMenuContent.js +1 -1
  34. package/dist/dropdown-menu/dropdownMenuItem.js +1 -1
  35. package/dist/dropdown-menu/dropdownMenuLabel.js +1 -1
  36. package/dist/dropdown-menu/dropdownMenuRadioItem.js +1 -1
  37. package/dist/dropdown-menu/dropdownMenuSeparator.js +1 -1
  38. package/dist/dropdown-menu/dropdownMenuShortcut.js +1 -1
  39. package/dist/dropdown-menu/dropdownMenuSubContent.js +1 -1
  40. package/dist/dropdown-menu/dropdownMenuSubTrigger.js +1 -1
  41. package/dist/index.d.ts +353 -189
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +82 -70
  44. package/dist/index.js.map +1 -1
  45. package/dist/select/select.js +37 -0
  46. package/dist/select/select.js.map +1 -0
  47. package/dist/select/selectContent.js +101 -0
  48. package/dist/select/selectContent.js.map +1 -0
  49. package/dist/select/selectGroup.js +23 -0
  50. package/dist/select/selectGroup.js.map +1 -0
  51. package/dist/select/selectItem.js +43 -0
  52. package/dist/select/selectItem.js.map +1 -0
  53. package/dist/select/selectItemText.js +23 -0
  54. package/dist/select/selectItemText.js.map +1 -0
  55. package/dist/select/selectLabel.js +34 -0
  56. package/dist/select/selectLabel.js.map +1 -0
  57. package/dist/select/selectRootPatch.js +24 -0
  58. package/dist/select/selectRootPatch.js.map +1 -0
  59. package/dist/select/selectScrollDownButton.js +33 -0
  60. package/dist/select/selectScrollDownButton.js.map +1 -0
  61. package/dist/select/selectScrollUpButton.js +33 -0
  62. package/dist/select/selectScrollUpButton.js.map +1 -0
  63. package/dist/select/selectSeparator.js +30 -0
  64. package/dist/select/selectSeparator.js.map +1 -0
  65. package/dist/select/selectTrigger.js +41 -0
  66. package/dist/select/selectTrigger.js.map +1 -0
  67. package/dist/select/selectValue.js +34 -0
  68. package/dist/select/selectValue.js.map +1 -0
  69. package/dist/sheet/sheetContent.js +1 -1
  70. package/dist/sheet/sheetFooter.js +1 -1
  71. package/dist/sheet/sheetHeader.js +1 -1
  72. package/dist/style.css +16 -0
  73. package/package.json +1 -1
  74. package/src/aspect-ratio/AspectRatio.vue +20 -0
  75. package/src/aspect-ratio/index.ts +4 -0
  76. package/src/autocomplete/AutocompleteItem.vue +4 -1
  77. package/src/autocomplete/autocomplete-label.css +4 -3
  78. package/src/combobox/ComboboxItem.vue +4 -1
  79. package/src/combobox/combobox-label.css +4 -3
  80. package/src/dropdown-menu/dropdown-menu-label.css +5 -3
  81. package/src/index.ts +2 -0
  82. package/src/select/Select.vue +27 -0
  83. package/src/select/SelectContent.vue +77 -0
  84. package/src/select/SelectGroup.vue +17 -0
  85. package/src/select/SelectItem.vue +46 -0
  86. package/src/select/SelectItemText.vue +17 -0
  87. package/src/select/SelectLabel.vue +31 -0
  88. package/src/select/SelectRootPatch.vue +24 -0
  89. package/src/select/SelectScrollDownButton.vue +33 -0
  90. package/src/select/SelectScrollUpButton.vue +33 -0
  91. package/src/select/SelectSeparator.vue +29 -0
  92. package/src/select/SelectTrigger.vue +40 -0
  93. package/src/select/SelectValue.vue +33 -0
  94. package/src/select/index.ts +46 -0
  95. package/src/select/select-content.css +16 -0
  96. package/src/select/select-item.css +39 -0
  97. package/src/select/select-label.css +7 -0
  98. package/src/select/select-scroll-button.css +8 -0
  99. package/src/select/select-separator.css +5 -0
  100. package/src/select/select-trigger.css +71 -0
  101. package/src/select/select-value.css +6 -0
  102. package/src/sonner/sonner.css +0 -1
@@ -0,0 +1,101 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { _sfc_main as _sfc_main$1 } from "./selectScrollDownButton.js";
3
+ import { _sfc_main as _sfc_main$2 } from "./selectScrollUpButton.js";
4
+ import { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
5
+ import { SelectContent, SelectViewport, useForwardPropsEmits } from "reka-ui";
6
+ import { reactiveOmit } from "@vueuse/core";
7
+ import { AnimatePresence, Motion } from "motion-v";
8
+ //#region src/select/SelectContent.vue
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ inheritAttrs: false,
11
+ __name: "SelectContent",
12
+ props: {
13
+ class: { type: [
14
+ Boolean,
15
+ null,
16
+ String,
17
+ Object,
18
+ Array
19
+ ] },
20
+ forceMount: { type: Boolean },
21
+ bodyLock: { type: Boolean },
22
+ side: {},
23
+ sideOffset: { default: 8 },
24
+ sideFlip: { type: Boolean },
25
+ align: {},
26
+ alignOffset: {},
27
+ alignFlip: { type: Boolean },
28
+ avoidCollisions: { type: Boolean },
29
+ collisionBoundary: {},
30
+ collisionPadding: {},
31
+ arrowPadding: {},
32
+ hideShiftedArrow: { type: Boolean },
33
+ sticky: {},
34
+ hideWhenDetached: { type: Boolean },
35
+ positionStrategy: {},
36
+ updatePositionStrategy: {},
37
+ disableUpdateOnLayoutShift: { type: Boolean },
38
+ prioritizePosition: { type: Boolean },
39
+ reference: {},
40
+ asChild: { type: Boolean },
41
+ as: {},
42
+ disableOutsidePointerEvents: { type: Boolean }
43
+ },
44
+ emits: [
45
+ "closeAutoFocus",
46
+ "escapeKeyDown",
47
+ "pointerDownOutside"
48
+ ],
49
+ setup(__props, { emit: __emit }) {
50
+ const props = __props;
51
+ const emits = __emit;
52
+ const forwarded = useForwardPropsEmits(reactiveOmit(props, "class"), emits);
53
+ return (_ctx, _cache) => {
54
+ return openBlock(), createBlock(unref(AnimatePresence), null, {
55
+ default: withCtx(() => [createVNode(unref(SelectContent), mergeProps({
56
+ ..._ctx.$attrs,
57
+ ...unref(forwarded)
58
+ }, {
59
+ class: unref(clsx)("arvue-select-content", props.class),
60
+ position: "popper",
61
+ "as-child": ""
62
+ }), {
63
+ default: withCtx(() => [createVNode(unref(Motion), {
64
+ initial: {
65
+ y: "-5px",
66
+ opacity: 0
67
+ },
68
+ animate: {
69
+ y: 0,
70
+ opacity: 1
71
+ },
72
+ exit: {
73
+ y: "-5px",
74
+ opacity: 0
75
+ },
76
+ transition: {
77
+ duration: .15,
78
+ ease: "easeInOut"
79
+ }
80
+ }, {
81
+ default: withCtx(() => [
82
+ createVNode(unref(_sfc_main$2)),
83
+ createVNode(unref(SelectViewport), { class: "arvue-select-content-viewport" }, {
84
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
85
+ _: 3
86
+ }),
87
+ createVNode(unref(_sfc_main$1))
88
+ ]),
89
+ _: 3
90
+ })]),
91
+ _: 3
92
+ }, 16, ["class"])]),
93
+ _: 3
94
+ });
95
+ };
96
+ }
97
+ });
98
+ //#endregion
99
+ export { _sfc_main };
100
+
101
+ //# sourceMappingURL=selectContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectContent.js","names":["$attrs"],"sources":["../../src/select/SelectContent.vue"],"sourcesContent":["<style>\n@import './select-content.css';\n</style>\n\n<template>\n <AnimatePresence>\n <SelectContent\n v-bind=\"{ ...$attrs, ...forwarded }\"\n :class=\"clsx('arvue-select-content', props.class)\"\n position=\"popper\"\n as-child\n >\n <Motion\n :initial=\"{\n y: '-5px',\n opacity: 0,\n }\"\n :animate=\"{\n y: 0,\n opacity: 1,\n }\"\n :exit=\"{\n y: '-5px',\n opacity: 0,\n }\"\n :transition=\"{\n duration: .15,\n ease: 'easeInOut',\n }\"\n >\n <SelectScrollUpButton/>\n <SelectViewport class=\"arvue-select-content-viewport\">\n <slot/>\n </SelectViewport>\n <SelectScrollDownButton/>\n </Motion>\n </SelectContent>\n </AnimatePresence>\n</template>\n\n<script lang=\"ts\">\nimport type {\n SelectContentEmits as RekaSelectContentEmits,\n SelectContentProps as RekaSelectContentProps,\n} from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectContentProps extends Omit<RekaSelectContentProps, 'position'> {\n class?: HTMLAttributes['class']\n}\nexport interface SelectContentEmits extends RekaSelectContentEmits {}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { AnimatePresence, Motion } from 'motion-v'\nimport {\n SelectContent,\n SelectViewport,\n useForwardPropsEmits,\n} from 'reka-ui'\nimport { SelectScrollDownButton, SelectScrollUpButton } from '.'\n\ndefineOptions({\n inheritAttrs: false,\n})\n\nconst props = withDefaults(defineProps<SelectContentProps>(), {\n sideOffset: 8,\n})\nconst emits = defineEmits<SelectContentEmits>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n\nconst forwarded = useForwardPropsEmits(delegatedProps, emits)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoEA,MAAM,QAAQ;EAGd,MAAM,QAAQ;EAId,MAAM,YAAY,qBAFK,aAAa,OAAO,OAEJ,GAAgB,KAAK;;uBAtExD,YAgCkB,MAAA,eAAA,GAAA,MAAA;2BADE,CA9BhB,YA8BgB,MAAA,aAAA,GA9BhB,WA8BgB;KAAA,GA7BCA,KAAAA;KAAM,GAAK,MAAA,SAAA;IAAS,GAAA;KAChC,OAAO,MAAA,IAAA,EAAI,wBAAyB,MAAM,KAAK;KAChD,UAAS;KACT,YAAA;;4BAyBS,CAvBT,YAuBS,MAAA,MAAA,GAAA;MAtBJ,SAAS;;;;MAIT,SAAS;;;;MAIT,MAAM;;;;MAIN,YAAY;;;;;6BAKU;OAAvB,YAAuB,MAAA,WAAA,CAAA;OACvB,YAEiB,MAAA,cAAA,GAAA,EAFD,OAAM,gCAA+B,GAAA;+BAC1C,CAAP,WAAO,KAAA,QAAA,SAAA,CAAA,CAAA;;;OAEX,YAAyB,MAAA,WAAA,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
+ import { SelectGroup } from "reka-ui";
3
+ //#region src/select/SelectGroup.vue
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "SelectGroup",
6
+ props: {
7
+ asChild: { type: Boolean },
8
+ as: {}
9
+ },
10
+ setup(__props) {
11
+ const props = __props;
12
+ return (_ctx, _cache) => {
13
+ return openBlock(), createBlock(unref(SelectGroup), normalizeProps(guardReactiveProps(props)), {
14
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
15
+ _: 3
16
+ }, 16);
17
+ };
18
+ }
19
+ });
20
+ //#endregion
21
+ export { _sfc_main };
22
+
23
+ //# sourceMappingURL=selectGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectGroup.js","names":[],"sources":["../../src/select/SelectGroup.vue"],"sourcesContent":["<template>\n <SelectGroup v-bind=\"props\">\n <slot/>\n </SelectGroup>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectGroupProps as RekaSelectGroupProps } from 'reka-ui'\n\nexport interface SelectGroupProps extends RekaSelectGroupProps {}\n</script>\n\n<script setup lang=\"ts\">\nimport { SelectGroup } from 'reka-ui'\n\nconst props = defineProps<SelectGroupProps>()\n</script>\n"],"mappings":";;;;;;;;;;EAeA,MAAM,QAAQ;;uBAdV,YAEc,MAAA,WAAA,GAAA,eAAA,mBAFO,KAAK,CAAA,GAAA;2BACf,CAAP,WAAO,KAAA,QAAA,SAAA,CAAA,CAAA"}
@@ -0,0 +1,43 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
+ import { SelectItem, SelectItemIndicator, SelectItemText, useForwardProps } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectItem.vue
6
+ const _hoisted_1 = { class: "arvue-select-item-indicator-wrapper" };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "SelectItem",
9
+ props: {
10
+ class: { type: [
11
+ Boolean,
12
+ null,
13
+ String,
14
+ Object,
15
+ Array
16
+ ] },
17
+ value: {},
18
+ disabled: { type: Boolean },
19
+ textValue: {},
20
+ asChild: { type: Boolean },
21
+ as: {}
22
+ },
23
+ setup(__props) {
24
+ const props = __props;
25
+ const forwardedProps = useForwardProps(reactiveOmit(props, "class"));
26
+ return (_ctx, _cache) => {
27
+ return openBlock(), createBlock(unref(SelectItem), mergeProps(unref(forwardedProps), { class: unref(clsx)("arvue-select-item", props.class) }), {
28
+ default: withCtx(() => [createElementVNode("span", _hoisted_1, [createVNode(unref(SelectItemIndicator), null, {
29
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "fas fa-check" }, null, -1)])]),
30
+ _: 1
31
+ })]), createVNode(unref(SelectItemText), null, {
32
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
33
+ _: 3
34
+ })]),
35
+ _: 3
36
+ }, 16, ["class"]);
37
+ };
38
+ }
39
+ });
40
+ //#endregion
41
+ export { _sfc_main };
42
+
43
+ //# sourceMappingURL=selectItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectItem.js","names":[],"sources":["../../src/select/SelectItem.vue"],"sourcesContent":["<style>\n@import './select-item.css';\n</style>\n\n<template>\n <SelectItem\n v-bind=\"forwardedProps\"\n :class=\"clsx('arvue-select-item', props.class)\"\n >\n <span class=\"arvue-select-item-indicator-wrapper\">\n <SelectItemIndicator>\n <i class=\"fas fa-check\"/>\n </SelectItemIndicator>\n </span>\n\n <SelectItemText>\n <slot/>\n </SelectItemText>\n </SelectItem>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectItemProps as RekaSelectItemProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectItemProps extends RekaSelectItemProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport {\n SelectItem,\n SelectItemIndicator,\n SelectItemText,\n useForwardProps,\n} from 'reka-ui'\n\nconst props = defineProps<SelectItemProps>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n\nconst forwardedProps = useForwardProps(delegatedProps)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EAwCA,MAAM,QAAQ;EAId,MAAM,iBAAiB,gBAFA,aAAa,OAAO,OAEJ,CAAc;;uBAvCjD,YAaa,MAAA,UAAA,GAbb,WACY,MAYC,cAAA,GAZa,EACrB,OAAO,MAAA,IAAA,EAAI,qBAAsB,MAAM,KAAK,EAAA,CAAA,GAAA;2BAMtC,CAJP,mBAIO,QAJP,YAIO,CAHH,YAEsB,MAAA,mBAAA,GAAA,MAAA;4BADO,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAzB,mBAAyB,KAAA,EAAtB,OAAM,eAAc,GAAA,MAAA,EAAA,CAAA,EAAA,CAAA;;UAI/B,YAEiB,MAAA,cAAA,GAAA,MAAA;4BADN,CAAP,WAAO,KAAA,QAAA,SAAA,CAAA,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
+ import { SelectItemText } from "reka-ui";
3
+ //#region src/select/SelectItemText.vue
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "SelectItemText",
6
+ props: {
7
+ asChild: { type: Boolean },
8
+ as: {}
9
+ },
10
+ setup(__props) {
11
+ const props = __props;
12
+ return (_ctx, _cache) => {
13
+ return openBlock(), createBlock(unref(SelectItemText), normalizeProps(guardReactiveProps(props)), {
14
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
15
+ _: 3
16
+ }, 16);
17
+ };
18
+ }
19
+ });
20
+ //#endregion
21
+ export { _sfc_main };
22
+
23
+ //# sourceMappingURL=selectItemText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectItemText.js","names":[],"sources":["../../src/select/SelectItemText.vue"],"sourcesContent":["<template>\n <SelectItemText v-bind=\"props\">\n <slot/>\n </SelectItemText>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectItemTextProps as RekaSelectItemTextProps } from 'reka-ui'\n\nexport interface SelectItemTextProps extends RekaSelectItemTextProps {}\n</script>\n\n<script setup lang=\"ts\">\nimport { SelectItemText } from 'reka-ui'\n\nconst props = defineProps<SelectItemTextProps>()\n</script>\n"],"mappings":";;;;;;;;;;EAeA,MAAM,QAAQ;;uBAdV,YAEiB,MAAA,cAAA,GAAA,eAAA,mBAFO,KAAK,CAAA,GAAA;2BAClB,CAAP,WAAO,KAAA,QAAA,SAAA,CAAA,CAAA"}
@@ -0,0 +1,34 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
+ import { SelectLabel } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectLabel.vue
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SelectLabel",
8
+ props: {
9
+ class: { type: [
10
+ Boolean,
11
+ null,
12
+ String,
13
+ Object,
14
+ Array
15
+ ] },
16
+ for: {},
17
+ asChild: { type: Boolean },
18
+ as: {}
19
+ },
20
+ setup(__props) {
21
+ const props = __props;
22
+ const delegatedProps = reactiveOmit(props, "class");
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createBlock(unref(SelectLabel), mergeProps({ class: unref(clsx)("arvue-select-label", props.class) }, unref(delegatedProps)), {
25
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
26
+ _: 3
27
+ }, 16, ["class"]);
28
+ };
29
+ }
30
+ });
31
+ //#endregion
32
+ export { _sfc_main };
33
+
34
+ //# sourceMappingURL=selectLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectLabel.js","names":[],"sources":["../../src/select/SelectLabel.vue"],"sourcesContent":["<style>\n@import './select-label.css';\n</style>\n\n<template>\n <SelectLabel\n :class=\"clsx('arvue-select-label', props.class)\"\n v-bind=\"delegatedProps\"\n >\n <slot/>\n </SelectLabel>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectLabelProps as RekaSelectLabelProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectLabelProps extends RekaSelectLabelProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { SelectLabel } from 'reka-ui'\n\nconst props = defineProps<SelectLabelProps>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAEd,MAAM,iBAAiB,aAAa,OAAO,OAAO;;uBAxB9C,YAKc,MAAA,WAAA,GALd,WAKc,EAJT,OAAO,MAAA,IAAA,EAAI,sBAAuB,MAAM,KAAK,EAAA,GACtC,MAAA,cAAA,CAAc,GAAA;2BAEf,CAAP,WAAO,KAAA,QAAA,SAAA,CAAA,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { defineComponent, onBeforeUnmount, renderSlot } from "vue";
2
+ import { injectSelectRootContext } from "reka-ui";
3
+ //#region src/select/SelectRootPatch.vue
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "SelectRootPatch",
6
+ setup(__props) {
7
+ const ctx = injectSelectRootContext();
8
+ const original = ctx.onOptionRemove;
9
+ ctx.onOptionRemove = (option) => {
10
+ if (!ctx.open.value) return;
11
+ original(option);
12
+ };
13
+ onBeforeUnmount(() => {
14
+ ctx.onOptionRemove = original;
15
+ });
16
+ return (_ctx, _cache) => {
17
+ return renderSlot(_ctx.$slots, "default");
18
+ };
19
+ }
20
+ });
21
+ //#endregion
22
+ export { _sfc_main };
23
+
24
+ //# sourceMappingURL=selectRootPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectRootPatch.js","names":[],"sources":["../../src/select/SelectRootPatch.vue"],"sourcesContent":["<!-- Фиксит мерцание SelectValue при закрытии -->\n<!-- TODO удалить после фикса https://github.com/unovue/reka-ui/issues/2160 -->\n<template>\n <slot/>\n</template>\n\n<script setup lang=\"ts\">\nimport { injectSelectRootContext } from 'reka-ui'\nimport { onBeforeUnmount } from 'vue'\n\nconst ctx = injectSelectRootContext()\nconst original = ctx.onOptionRemove\n\nctx.onOptionRemove = (option) => {\n if (!ctx.open.value) {\n return\n }\n original(option)\n}\n\nonBeforeUnmount(() => {\n ctx.onOptionRemove = original\n})\n</script>\n"],"mappings":";;;;;;EAUA,MAAM,MAAM,wBAAwB;EACpC,MAAM,WAAW,IAAI;EAErB,IAAI,kBAAkB,WAAW;GAC7B,IAAI,CAAC,IAAI,KAAK,OACV;GAEJ,SAAS,MAAM;EACnB;EAEA,sBAAsB;GAClB,IAAI,iBAAiB;EACzB,CAAC;;UAnBG,WAAO,KAAA,QAAA,SAAA"}
@@ -0,0 +1,33 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, createElementVNode, defineComponent, mergeProps, openBlock, unref, withCtx } from "vue";
3
+ import { SelectScrollDownButton, useForwardProps } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectScrollDownButton.vue
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SelectScrollDownButton",
8
+ props: {
9
+ class: { type: [
10
+ Boolean,
11
+ null,
12
+ String,
13
+ Object,
14
+ Array
15
+ ] },
16
+ asChild: { type: Boolean },
17
+ as: {}
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ const forwardedProps = useForwardProps(reactiveOmit(props, "class"));
22
+ return (_ctx, _cache) => {
23
+ return openBlock(), createBlock(unref(SelectScrollDownButton), mergeProps(unref(forwardedProps), { class: unref(clsx)("arvue-select-scroll-button", props.class) }), {
24
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "fas fa-chevron-down" }, null, -1)])]),
25
+ _: 1
26
+ }, 16, ["class"]);
27
+ };
28
+ }
29
+ });
30
+ //#endregion
31
+ export { _sfc_main };
32
+
33
+ //# sourceMappingURL=selectScrollDownButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectScrollDownButton.js","names":[],"sources":["../../src/select/SelectScrollDownButton.vue"],"sourcesContent":["<style>\n@import './select-scroll-button.css';\n</style>\n\n<template>\n <SelectScrollDownButton\n v-bind=\"forwardedProps\"\n :class=\"clsx('arvue-select-scroll-button', props.class)\"\n >\n <i class=\"fas fa-chevron-down\"/>\n </SelectScrollDownButton>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectScrollDownButtonProps as RekaSelectScrollDownButtonProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectScrollDownButtonProps extends RekaSelectScrollDownButtonProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { SelectScrollDownButton, useForwardProps } from 'reka-ui'\n\nconst props = defineProps<SelectScrollDownButtonProps>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n\nconst forwardedProps = useForwardProps(delegatedProps)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAId,MAAM,iBAAiB,gBAFA,aAAa,OAAO,OAEJ,CAAc;;uBA1BjD,YAKyB,MAAA,sBAAA,GALzB,WACY,MAIa,cAAA,GAJC,EACrB,OAAO,MAAA,IAAA,EAAI,8BAA+B,MAAM,KAAK,EAAA,CAAA,GAAA;2BAEtB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAhC,mBAAgC,KAAA,EAA7B,OAAM,sBAAqB,GAAA,MAAA,EAAA,CAAA,EAAA,CAAA"}
@@ -0,0 +1,33 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, createElementVNode, defineComponent, mergeProps, openBlock, unref, withCtx } from "vue";
3
+ import { SelectScrollUpButton, useForwardProps } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectScrollUpButton.vue
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SelectScrollUpButton",
8
+ props: {
9
+ class: { type: [
10
+ Boolean,
11
+ null,
12
+ String,
13
+ Object,
14
+ Array
15
+ ] },
16
+ asChild: { type: Boolean },
17
+ as: {}
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ const forwardedProps = useForwardProps(reactiveOmit(props, "class"));
22
+ return (_ctx, _cache) => {
23
+ return openBlock(), createBlock(unref(SelectScrollUpButton), mergeProps(unref(forwardedProps), { class: unref(clsx)("arvue-select-scroll-button", props.class) }), {
24
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "fas fa-chevron-up" }, null, -1)])]),
25
+ _: 1
26
+ }, 16, ["class"]);
27
+ };
28
+ }
29
+ });
30
+ //#endregion
31
+ export { _sfc_main };
32
+
33
+ //# sourceMappingURL=selectScrollUpButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectScrollUpButton.js","names":[],"sources":["../../src/select/SelectScrollUpButton.vue"],"sourcesContent":["<style>\n@import './select-scroll-button.css';\n</style>\n\n<template>\n <SelectScrollUpButton\n v-bind=\"forwardedProps\"\n :class=\"clsx('arvue-select-scroll-button', props.class)\"\n >\n <i class=\"fas fa-chevron-up\"/>\n </SelectScrollUpButton>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectScrollUpButtonProps as RekaSelectScrollUpButtonProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectScrollUpButtonProps extends RekaSelectScrollUpButtonProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { SelectScrollUpButton, useForwardProps } from 'reka-ui'\n\nconst props = defineProps<SelectScrollUpButtonProps>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n\nconst forwardedProps = useForwardProps(delegatedProps)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAId,MAAM,iBAAiB,gBAFA,aAAa,OAAO,OAEJ,CAAc;;uBA1BjD,YAKuB,MAAA,oBAAA,GALvB,WACY,MAIW,cAAA,GAJG,EACrB,OAAO,MAAA,IAAA,EAAI,8BAA+B,MAAM,KAAK,EAAA,CAAA,GAAA;2BAExB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAA9B,mBAA8B,KAAA,EAA3B,OAAM,oBAAmB,GAAA,MAAA,EAAA,CAAA,EAAA,CAAA"}
@@ -0,0 +1,30 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, defineComponent, mergeProps, openBlock, unref } from "vue";
3
+ import { SelectSeparator } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectSeparator.vue
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SelectSeparator",
8
+ props: {
9
+ class: { type: [
10
+ Boolean,
11
+ null,
12
+ String,
13
+ Object,
14
+ Array
15
+ ] },
16
+ asChild: { type: Boolean },
17
+ as: {}
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ const delegatedProps = reactiveOmit(props, "class");
22
+ return (_ctx, _cache) => {
23
+ return openBlock(), createBlock(unref(SelectSeparator), mergeProps(unref(delegatedProps), { class: unref(clsx)("arvue-select-separator", props.class) }), null, 16, ["class"]);
24
+ };
25
+ }
26
+ });
27
+ //#endregion
28
+ export { _sfc_main };
29
+
30
+ //# sourceMappingURL=selectSeparator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectSeparator.js","names":[],"sources":["../../src/select/SelectSeparator.vue"],"sourcesContent":["<style>\n@import './select-separator.css';\n</style>\n\n<template>\n <SelectSeparator\n v-bind=\"delegatedProps\"\n :class=\"clsx('arvue-select-separator', props.class)\"\n />\n</template>\n\n<script lang=\"ts\">\nimport type { SelectSeparatorProps as RekaSelectSeparatorProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectSeparatorProps extends RekaSelectSeparatorProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { SelectSeparator } from 'reka-ui'\n\nconst props = defineProps<SelectSeparatorProps>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;EAyBA,MAAM,QAAQ;EAEd,MAAM,iBAAiB,aAAa,OAAO,OAAO;;uBAtB9C,YAGE,MAAA,eAAA,GAHF,WACY,MAEV,cAAA,GAFwB,EACrB,OAAO,MAAA,IAAA,EAAI,0BAA2B,MAAM,KAAK,EAAA,CAAA,GAAA,MAAA,IAAA,CAAA,OAAA,CAAA"}
@@ -0,0 +1,41 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
+ import { SelectIcon, SelectTrigger, useForwardProps } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectTrigger.vue
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SelectTrigger",
8
+ props: {
9
+ class: { type: [
10
+ Boolean,
11
+ null,
12
+ String,
13
+ Object,
14
+ Array
15
+ ] },
16
+ disabled: { type: Boolean },
17
+ reference: {},
18
+ asChild: { type: Boolean },
19
+ as: { default: "div" }
20
+ },
21
+ setup(__props) {
22
+ const props = __props;
23
+ const forwardedProps = useForwardProps(reactiveOmit(props, "class"));
24
+ return (_ctx, _cache) => {
25
+ return openBlock(), createBlock(unref(SelectTrigger), mergeProps(unref(forwardedProps), {
26
+ class: unref(clsx)("arvue-select-trigger", props.class),
27
+ tabindex: __props.disabled ? -1 : 0
28
+ }), {
29
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default"), createVNode(unref(SelectIcon), { "as-child": "" }, {
30
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "arvue-select-trigger-icon" }, [createElementVNode("i", { class: "fas fa-chevron-down" })], -1)])]),
31
+ _: 1
32
+ })]),
33
+ _: 3
34
+ }, 16, ["class", "tabindex"]);
35
+ };
36
+ }
37
+ });
38
+ //#endregion
39
+ export { _sfc_main };
40
+
41
+ //# sourceMappingURL=selectTrigger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectTrigger.js","names":[],"sources":["../../src/select/SelectTrigger.vue"],"sourcesContent":["<style>\n@import './select-trigger.css';\n</style>\n\n<template>\n <SelectTrigger\n v-bind=\"forwardedProps\"\n :class=\"clsx('arvue-select-trigger', props.class)\"\n :tabindex=\"disabled ? -1 : 0\"\n >\n <slot/>\n <SelectIcon as-child>\n <span class=\"arvue-select-trigger-icon\">\n <i class=\"fas fa-chevron-down\"/>\n </span>\n </SelectIcon>\n </SelectTrigger>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectTriggerProps as RekaSelectTriggerProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectTriggerProps extends RekaSelectTriggerProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { SelectIcon, SelectTrigger, useForwardProps } from 'reka-ui'\n\nconst props = withDefaults(defineProps<SelectTriggerProps>(), {\n as: 'div',\n})\n\nconst delegatedProps = reactiveOmit(props, 'class')\nconst forwardedProps = useForwardProps(delegatedProps)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;EAiCA,MAAM,QAAQ;EAKd,MAAM,iBAAiB,gBADA,aAAa,OAAO,OACJ,CAAc;;uBAjCjD,YAWgB,MAAA,aAAA,GAXhB,WACY,MAUI,cAAA,GAVU;IACrB,OAAO,MAAA,IAAA,EAAI,wBAAyB,MAAM,KAAK;IAC/C,UAAU,QAAA,WAAQ,KAAA;;2BAEZ,CAAP,WAAO,KAAA,QAAA,SAAA,GACP,YAIa,MAAA,UAAA,GAAA,EAJD,YAAA,GAAQ,GAAA;4BAGT,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAFP,mBAEO,QAAA,EAFD,OAAM,4BAA2B,GAAA,CACnC,mBAAgC,KAAA,EAA7B,OAAM,sBAAqB,CAAA,CAAA,GAAA,EAAA,CAAA,EAAA,CAAA"}
@@ -0,0 +1,34 @@
1
+ import { clsx } from "../clsx.js";
2
+ import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
+ import { SelectValue, useForwardProps } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ //#region src/select/SelectValue.vue
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SelectValue",
8
+ props: {
9
+ class: { type: [
10
+ Boolean,
11
+ null,
12
+ String,
13
+ Object,
14
+ Array
15
+ ] },
16
+ placeholder: {},
17
+ asChild: { type: Boolean },
18
+ as: {}
19
+ },
20
+ setup(__props) {
21
+ const props = __props;
22
+ const forwardedProps = useForwardProps(reactiveOmit(props, "class"));
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createBlock(unref(SelectValue), mergeProps(unref(forwardedProps), { class: unref(clsx)("arvue-select-value", props.class) }), {
25
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
26
+ _: 3
27
+ }, 16, ["class"]);
28
+ };
29
+ }
30
+ });
31
+ //#endregion
32
+ export { _sfc_main };
33
+
34
+ //# sourceMappingURL=selectValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectValue.js","names":[],"sources":["../../src/select/SelectValue.vue"],"sourcesContent":["<style>\n@import './select-value.css';\n</style>\n\n<template>\n <SelectValue\n v-bind=\"forwardedProps\"\n :class=\"clsx('arvue-select-value', props.class)\"\n >\n <slot/>\n </SelectValue>\n</template>\n\n<script lang=\"ts\">\nimport type { SelectValueProps as RekaSelectValueProps } from 'reka-ui'\nimport type { HTMLAttributes } from 'vue'\n\nexport interface SelectValueProps extends RekaSelectValueProps {\n class?: HTMLAttributes['class']\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { reactiveOmit } from '@vueuse/core'\nimport { clsx } from 'clsx'\nimport { SelectValue, useForwardProps } from 'reka-ui'\n\nconst props = defineProps<SelectValueProps>()\n\nconst delegatedProps = reactiveOmit(props, 'class')\n\nconst forwardedProps = useForwardProps(delegatedProps)\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAId,MAAM,iBAAiB,gBAFA,aAAa,OAAO,OAEJ,CAAc;;uBA1BjD,YAKc,MAAA,WAAA,GALd,WACY,MAIE,cAAA,GAJY,EACrB,OAAO,MAAA,IAAA,EAAI,sBAAuB,MAAM,KAAK,EAAA,CAAA,GAAA;2BAEvC,CAAP,WAAO,KAAA,QAAA,SAAA,CAAA,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { clsx } from "../clsx.js";
2
2
  import { _sfc_main as _sfc_main$1 } from "./sheetOverlay.js";
3
3
  import { createBlock, createCommentVNode, createElementBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
4
- import { reactiveOmit } from "@vueuse/core";
5
4
  import { useForwardPropsEmits } from "reka-ui";
5
+ import { reactiveOmit } from "@vueuse/core";
6
6
  import { DrawerContent, DrawerPortal } from "vaul-vue";
7
7
  //#region src/sheet/SheetContent.vue
8
8
  const _hoisted_1 = {
@@ -1,7 +1,7 @@
1
1
  import { clsx } from "../clsx.js";
2
2
  import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
- import { reactiveOmit } from "@vueuse/core";
4
3
  import { Primitive } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
5
  //#region src/sheet/SheetFooter.vue
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "SheetFooter",
@@ -1,7 +1,7 @@
1
1
  import { clsx } from "../clsx.js";
2
2
  import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
- import { reactiveOmit } from "@vueuse/core";
4
3
  import { Primitive } from "reka-ui";
4
+ import { reactiveOmit } from "@vueuse/core";
5
5
  //#region src/sheet/SheetHeader.vue
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "SheetHeader",
package/dist/style.css CHANGED
@@ -69,6 +69,22 @@
69
69
 
70
70
  @import './dropdown-menu-sub-trigger.css';
71
71
 
72
+ @import './select-content.css';
73
+
74
+ @import './select-item.css';
75
+
76
+ @import './select-label.css';
77
+
78
+ @import './select-scroll-button.css';
79
+
80
+ @import './select-scroll-button.css';
81
+
82
+ @import './select-separator.css';
83
+
84
+ @import './select-trigger.css';
85
+
86
+ @import './select-value.css';
87
+
72
88
  @import './sheet-content.css';
73
89
 
74
90
  @import './sheet-description.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arvue-ui",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Articus-Company/arvue-ui.git",
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <AspectRatio
3
+ v-slot="slotProps"
4
+ v-bind="props"
5
+ >
6
+ <slot v-bind="slotProps"/>
7
+ </AspectRatio>
8
+ </template>
9
+
10
+ <script lang="ts">
11
+ import type { AspectRatioProps as RekaAspectRatioProps } from 'reka-ui'
12
+
13
+ export interface AspectRatioProps extends RekaAspectRatioProps {}
14
+ </script>
15
+
16
+ <script setup lang="ts">
17
+ import { AspectRatio } from 'reka-ui'
18
+
19
+ const props = defineProps<AspectRatioProps>()
20
+ </script>
@@ -0,0 +1,4 @@
1
+ export {
2
+ default as AspectRatio,
3
+ type AspectRatioProps,
4
+ } from './AspectRatio.vue'
@@ -22,11 +22,14 @@ export interface AutocompleteItemEmits extends ComboboxItemEmits {}
22
22
  </script>
23
23
 
24
24
  <script setup lang="ts">
25
+ import { reactiveOmit } from '@vueuse/core'
25
26
  import { clsx } from 'clsx'
26
27
  import { AutocompleteItem, useForwardPropsEmits } from 'reka-ui'
27
28
 
28
29
  const props = defineProps<AutocompleteItemProps>()
29
30
  const emits = defineEmits<AutocompleteItemEmits>()
30
31
 
31
- const forwarded = useForwardPropsEmits(props, emits)
32
+ const delegatedProps = reactiveOmit(props, 'class')
33
+
34
+ const forwarded = useForwardPropsEmits(delegatedProps, emits)
32
35
  </script>
@@ -1,6 +1,7 @@
1
1
  .arvue-autocomplete-label {
2
- padding: .25em .75em;
2
+ color: var(--text-color-hint-strong);
3
+ padding: 0.5rem 1rem;
3
4
  font-size: .75em;
4
- line-height: 1.2em;
5
- font-weight: 600;
5
+ line-height: 1rem;
6
+ font-weight: bold;
6
7
  }
@@ -25,11 +25,14 @@ export interface ComboboxItemEmits extends RekaComboboxItemEmits {}
25
25
  </script>
26
26
 
27
27
  <script setup lang="ts">
28
+ import { reactiveOmit } from '@vueuse/core'
28
29
  import { clsx } from 'clsx'
29
30
  import { ComboboxItem, useForwardPropsEmits } from 'reka-ui'
30
31
 
31
32
  const props = defineProps<ComboboxItemProps>()
32
33
  const emits = defineEmits<ComboboxItemEmits>()
33
34
 
34
- const forwarded = useForwardPropsEmits(props, emits)
35
+ const delegatedProps = reactiveOmit(props, 'class')
36
+
37
+ const forwarded = useForwardPropsEmits(delegatedProps, emits)
35
38
  </script>
@@ -1,6 +1,7 @@
1
1
  .arvue-combobox-label {
2
- padding: .25em .75em;
2
+ color: var(--text-color-hint-strong);
3
+ padding: 0.5rem 1rem;
3
4
  font-size: .75em;
4
- line-height: 1.2em;
5
- font-weight: 600;
5
+ line-height: 1rem;
6
+ font-weight: bold;
6
7
  }