@rio-m3e/vue 0.6.2 → 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 (154) hide show
  1. package/README.md +99 -4
  2. package/dist/app-bar/AppBar.vue.d.ts +42 -0
  3. package/dist/app-bar/AppBar.vue.js +91 -0
  4. package/dist/badge/Badge.vue.d.ts +15 -0
  5. package/dist/badge/Badge.vue.js +28 -0
  6. package/dist/bottom-sheet/BottomSheet.vue.d.ts +34 -0
  7. package/dist/bottom-sheet/BottomSheet.vue.js +82 -0
  8. package/dist/browser/rio-vue.css +9130 -0
  9. package/dist/browser/rio-vue.global.js +600 -0
  10. package/dist/browser/rio-vue.js +600 -0
  11. package/dist/button/Button.vue.d.ts +1 -0
  12. package/dist/button/Button.vue.js +23 -2
  13. package/dist/button-group/ButtonGroup.vue.d.ts +6 -1
  14. package/dist/button-group/ButtonGroup.vue.js +27 -4
  15. package/dist/button-group/context.js +4 -2
  16. package/dist/card/Card.vue.d.ts +24 -0
  17. package/dist/card/Card.vue.js +44 -0
  18. package/dist/card/CardActions.vue.d.ts +14 -0
  19. package/dist/card/CardActions.vue.js +14 -0
  20. package/dist/card/CardContent.vue.d.ts +14 -0
  21. package/dist/card/CardContent.vue.js +14 -0
  22. package/dist/card/CardHeader.vue.d.ts +27 -0
  23. package/dist/card/CardHeader.vue.js +34 -0
  24. package/dist/card/CardMedia.vue.d.ts +14 -0
  25. package/dist/card/CardMedia.vue.js +14 -0
  26. package/dist/checkbox/Checkbox.vue.d.ts +1 -0
  27. package/dist/checkbox/Checkbox.vue.js +3 -0
  28. package/dist/chip/AssistChip.vue.d.ts +1 -0
  29. package/dist/chip/AssistChip.vue.js +3 -0
  30. package/dist/chip/ChipSet.vue.d.ts +1 -0
  31. package/dist/chip/ChipSet.vue.js +4 -1
  32. package/dist/chip/FilterChip.vue.d.ts +9 -2
  33. package/dist/chip/FilterChip.vue.js +12 -5
  34. package/dist/chip/InputChip.vue.d.ts +5 -1
  35. package/dist/chip/InputChip.vue.js +6 -2
  36. package/dist/chip/SuggestionChip.vue.d.ts +1 -0
  37. package/dist/chip/SuggestionChip.vue.js +3 -0
  38. package/dist/date-picker/DatePicker.vue.d.ts +27 -4
  39. package/dist/date-picker/DatePicker.vue.js +15 -5
  40. package/dist/date-picker/DatePickerCalendar.vue.js +11 -13
  41. package/dist/date-picker/DatePickerDialog.vue.d.ts +26 -3
  42. package/dist/date-picker/DatePickerDialog.vue.js +66 -21
  43. package/dist/date-picker/DateRangeCalendar.vue.js +17 -8
  44. package/dist/date-picker/DateRangePickerDialog.vue.d.ts +23 -3
  45. package/dist/date-picker/DateRangePickerDialog.vue.js +31 -17
  46. package/dist/dialog/Dialog.vue.d.ts +11 -2
  47. package/dist/dialog/Dialog.vue.js +35 -5
  48. package/dist/divider/Divider.vue.d.ts +5 -0
  49. package/dist/divider/Divider.vue.js +21 -0
  50. package/dist/fab/Fab.vue.d.ts +27 -0
  51. package/dist/fab/Fab.vue.js +70 -0
  52. package/dist/fab-menu/FabMenu.vue.d.ts +34 -0
  53. package/dist/fab-menu/FabMenu.vue.js +76 -0
  54. package/dist/fab-menu/FabMenuItem.vue.d.ts +22 -0
  55. package/dist/fab-menu/FabMenuItem.vue.js +29 -0
  56. package/dist/fab-menu/context.js +4 -0
  57. package/dist/icon/Icon.vue.d.ts +13 -0
  58. package/dist/icon/Icon.vue.js +30 -0
  59. package/dist/icon/icons.d.ts +12 -0
  60. package/dist/icon/icons.js +12 -0
  61. package/dist/icon-button/IconButton.vue.d.ts +1 -0
  62. package/dist/icon-button/IconButton.vue.js +23 -2
  63. package/dist/ime/composing.js +24 -0
  64. package/dist/index.d.ts +69 -39
  65. package/dist/index.js +69 -39
  66. package/dist/list/List.vue.d.ts +1 -0
  67. package/dist/list/List.vue.js +4 -1
  68. package/dist/list/ListItem.vue.d.ts +7 -1
  69. package/dist/list/ListItem.vue.js +4 -1
  70. package/dist/loading-indicator/LoadingIndicator.vue.d.ts +1 -0
  71. package/dist/loading-indicator/LoadingIndicator.vue.js +4 -1
  72. package/dist/menu/Menu.vue.d.ts +1 -0
  73. package/dist/menu/Menu.vue.js +12 -2
  74. package/dist/menu/MenuDivider.vue.d.ts +1 -0
  75. package/dist/menu/MenuDivider.vue.js +1 -0
  76. package/dist/menu/MenuGroup.vue.d.ts +1 -0
  77. package/dist/menu/MenuGroup.vue.js +1 -0
  78. package/dist/menu/MenuItem.vue.d.ts +1 -0
  79. package/dist/menu/MenuItem.vue.js +1 -0
  80. package/dist/menu/SubMenu.vue.d.ts +2 -1
  81. package/dist/menu/SubMenu.vue.js +7 -3
  82. package/dist/navigation-bar/NavigationBar.vue.d.ts +31 -0
  83. package/dist/navigation-bar/NavigationBar.vue.js +63 -0
  84. package/dist/navigation-bar/NavigationBarItem.vue.d.ts +40 -0
  85. package/dist/navigation-bar/NavigationBarItem.vue.js +84 -0
  86. package/dist/navigation-bar/context.js +3 -0
  87. package/dist/navigation-rail/NavigationRail.vue.d.ts +46 -0
  88. package/dist/navigation-rail/NavigationRail.vue.js +112 -0
  89. package/dist/navigation-rail/NavigationRailItem.vue.d.ts +41 -0
  90. package/dist/navigation-rail/NavigationRailItem.vue.js +85 -0
  91. package/dist/navigation-rail/NavigationRailSection.vue.d.ts +17 -0
  92. package/dist/navigation-rail/NavigationRailSection.vue.js +20 -0
  93. package/dist/navigation-rail/context.js +3 -0
  94. package/dist/overflow/OverflowItem.vue.d.ts +16 -0
  95. package/dist/overflow/OverflowItem.vue.js +24 -0
  96. package/dist/overflow/OverflowMenu.vue.js +94 -0
  97. package/dist/overflow/overflow.js +79 -0
  98. package/dist/progress/CircularProgress.vue.d.ts +2 -0
  99. package/dist/progress/CircularProgress.vue.js +6 -2
  100. package/dist/progress/LinearProgress.vue.d.ts +2 -0
  101. package/dist/progress/LinearProgress.vue.js +6 -2
  102. package/dist/radio/Radio.vue.d.ts +1 -0
  103. package/dist/radio/Radio.vue.js +4 -1
  104. package/dist/radio/RadioGroup.vue.d.ts +1 -0
  105. package/dist/radio/RadioGroup.vue.js +10 -2
  106. package/dist/rio/rio.d.ts +9 -1
  107. package/dist/rio/rio.js +11 -3
  108. package/dist/scroll-field/ScrollField.vue.d.ts +1 -0
  109. package/dist/scroll-field/ScrollField.vue.js +3 -0
  110. package/dist/search/Search.vue.d.ts +58 -0
  111. package/dist/search/Search.vue.js +161 -0
  112. package/dist/select/AfterOptions.vue.js +11 -0
  113. package/dist/select/Select.vue.d.ts +8 -3
  114. package/dist/select/Select.vue.js +42 -30
  115. package/dist/select/SelectOption.vue.d.ts +5 -1
  116. package/dist/select/SelectOption.vue.js +9 -5
  117. package/dist/side-sheet/SideSheet.vue.d.ts +43 -0
  118. package/dist/side-sheet/SideSheet.vue.js +103 -0
  119. package/dist/slider/RangeSlider.vue.d.ts +2 -0
  120. package/dist/slider/RangeSlider.vue.js +4 -0
  121. package/dist/slider/Slider.vue.d.ts +2 -0
  122. package/dist/slider/Slider.vue.js +4 -0
  123. package/dist/snackbar/Snackbar.vue.d.ts +31 -0
  124. package/dist/snackbar/Snackbar.vue.js +48 -0
  125. package/dist/snackbar/SnackbarHost.vue.d.ts +40 -0
  126. package/dist/snackbar/SnackbarHost.vue.js +110 -0
  127. package/dist/snackbar/snackbar.d.ts +16 -0
  128. package/dist/snackbar/snackbar.js +11 -0
  129. package/dist/split-button/SplitButton.vue.d.ts +4 -1
  130. package/dist/split-button/SplitButton.vue.js +7 -2
  131. package/dist/switch/Switch.vue.d.ts +1 -0
  132. package/dist/switch/Switch.vue.js +3 -0
  133. package/dist/tabs/Tab.vue.d.ts +19 -0
  134. package/dist/tabs/Tab.vue.js +66 -0
  135. package/dist/tabs/TabGroup.vue.d.ts +22 -0
  136. package/dist/tabs/TabGroup.vue.js +25 -0
  137. package/dist/tabs/TabPanel.vue.d.ts +15 -0
  138. package/dist/tabs/TabPanel.vue.js +20 -0
  139. package/dist/tabs/Tabs.vue.d.ts +32 -0
  140. package/dist/tabs/Tabs.vue.js +95 -0
  141. package/dist/tabs/context.js +5 -0
  142. package/dist/text-field/TextField.vue.d.ts +8 -2
  143. package/dist/text-field/TextField.vue.js +91 -47
  144. package/dist/time-picker/TimeInput.vue.d.ts +8 -1
  145. package/dist/time-picker/TimeInput.vue.js +6 -2
  146. package/dist/time-picker/TimePickerDialog.vue.d.ts +20 -4
  147. package/dist/time-picker/TimePickerDialog.vue.js +8 -3
  148. package/dist/time-picker/TimeScroll.vue.d.ts +16 -3
  149. package/dist/time-picker/TimeScroll.vue.js +8 -3
  150. package/dist/toolbar/FabPlace.vue.js +14 -0
  151. package/dist/toolbar/Toolbar.vue.d.ts +34 -0
  152. package/dist/toolbar/Toolbar.vue.js +115 -0
  153. package/dist/toolbar/context.js +3 -0
  154. package/package.json +6 -4
@@ -1,4 +1,5 @@
1
1
  import { ButtonProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/accent.css";
2
3
  import "@rio-m3e/styles/base/focus-ring.css";
3
4
  import "@rio-m3e/styles/base/reduced-motion.css";
4
5
  import "@rio-m3e/styles/base/state-layer.css";
@@ -1,8 +1,10 @@
1
1
  import { useButtonGroupItem } from "../button-group/context.js";
2
+ import { useOverflowItem } from "../overflow/overflow.js";
2
3
  import { vRipple } from "../ripple/ripple.js";
3
4
  import { vCornerMorph } from "../corner-morph/corner-morph.js";
4
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useSlots, withCtx, withDirectives } from "vue";
5
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useSlots, useTemplateRef, withCtx, withDirectives } from "vue";
5
6
  import { createButton } from "@rio-m3e/core";
7
+ import "@rio-m3e/styles/base/accent.css";
6
8
  import "@rio-m3e/styles/base/focus-ring.css";
7
9
  import "@rio-m3e/styles/base/reduced-motion.css";
8
10
  import "@rio-m3e/styles/base/state-layer.css";
@@ -15,6 +17,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
15
17
  variant: {},
16
18
  size: {},
17
19
  shape: {},
20
+ color: {},
18
21
  toggle: { type: Boolean },
19
22
  selected: { type: Boolean },
20
23
  disabled: { type: Boolean },
@@ -31,6 +34,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
31
34
  variant: __props.variant,
32
35
  size: __props.size,
33
36
  shape: __props.shape,
37
+ color: __props.color,
34
38
  toggle: __props.toggle,
35
39
  selected: __props.selected,
36
40
  disabled: __props.disabled,
@@ -45,8 +49,25 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
45
49
  onClick: (event) => emit("click", event),
46
50
  onChange: item.onChange
47
51
  });
52
+ const root = useTemplateRef("root");
53
+ useOverflowItem({
54
+ element: () => root.value,
55
+ label: () => slots.default?.(),
56
+ icon: slots.icon ? () => slots.icon?.() : void 0,
57
+ disabled: () => {
58
+ const p = item.props();
59
+ return !!(p.disabled || p.softDisabled);
60
+ },
61
+ selected: () => {
62
+ const p = item.props();
63
+ return p.toggle ? !!p.selected : void 0;
64
+ }
65
+ });
48
66
  return (_ctx, _cache) => {
49
- return withDirectives((openBlock(), createBlock(resolveDynamicComponent(unref(button).isLink() ? "a" : "button"), mergeProps(unref(button).parts.root(), { onClick: unref(button).handleClick }), {
67
+ return withDirectives((openBlock(), createBlock(resolveDynamicComponent(unref(button).isLink() ? "a" : "button"), mergeProps({
68
+ ref_key: "root",
69
+ ref: root
70
+ }, unref(button).parts.root(), { onClick: unref(button).handleClick }), {
50
71
  default: withCtx(() => [
51
72
  createElementVNode("span", normalizeProps(guardReactiveProps(unref(button).parts.touch())), null, 16),
52
73
  unref(button).showsIcon() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 0 }, unref(button).parts.icon())), [renderSlot(_ctx.$slots, "icon")], 16)) : createCommentVNode("v-if", true),
@@ -5,8 +5,13 @@ interface Props extends Omit<ButtonGroupProps, 'selected'> {
5
5
  modelValue?: ButtonGroupSelected;
6
6
  }
7
7
  type __VLS_Slots = {
8
- /** `RioButton`s and `RioIconButton`s. They take the group's size and shape unless they set their own. */
8
+ /**
9
+ * `RioButton`s and `RioIconButton`s. They take the group's size and shape unless they set their
10
+ * own. With `overflow`, the ones that don't fit go into the menu, last first.
11
+ */
9
12
  default?: () => unknown;
13
+ /** The "More options" button's icon, in place of the one the app registered (`more`) */
14
+ 'more-icon'?: () => unknown;
10
15
  };
11
16
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
17
  "update:modelValue": (selected: ButtonGroupSelected) => any;
@@ -1,5 +1,7 @@
1
+ import _sfc_main$1 from "../overflow/OverflowMenu.vue.js";
2
+ import { useOverflowHost } from "../overflow/overflow.js";
1
3
  import { buttonGroupKey } from "./context.js";
2
- import { createElementBlock, defineComponent, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useTemplateRef } from "vue";
4
+ import { createBlock, createCommentVNode, createElementBlock, createSlots, defineComponent, mergeProps, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useTemplateRef, withCtx } from "vue";
3
5
  import { attachButtonGroup, createButtonGroup } from "@rio-m3e/core";
4
6
  import "@rio-m3e/styles/button-group.css";
5
7
  // src/button-group/ButtonGroup.vue
@@ -10,8 +12,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
10
12
  variant: {},
11
13
  size: {},
12
14
  shape: {},
15
+ color: {},
13
16
  selection: {},
14
- required: { type: Boolean }
17
+ required: { type: Boolean },
18
+ disabled: { type: Boolean },
19
+ overflow: { type: Boolean },
20
+ maxItems: {}
15
21
  },
16
22
  emits: ["update:modelValue"],
17
23
  setup(__props, { emit: __emit }) {
@@ -21,20 +27,30 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
21
27
  variant: __props.variant,
22
28
  size: __props.size,
23
29
  shape: __props.shape,
30
+ color: __props.color,
24
31
  selection: __props.selection,
25
32
  required: __props.required,
33
+ overflow: __props.overflow,
34
+ maxItems: __props.maxItems,
35
+ disabled: __props.disabled,
26
36
  selected: __props.modelValue
27
37
  }),
28
- onChange: (selected) => emit("update:modelValue", selected)
38
+ onChange: (selected) => emit("update:modelValue", selected),
39
+ overflowing: () => more.overflowing()
29
40
  });
30
41
  provide(buttonGroupKey, {
31
42
  size: group.size,
32
43
  shape: group.shape,
33
44
  selection: group.selection,
45
+ disabled: group.disabled,
34
46
  isSelected: group.isSelected,
35
47
  select: group.select
36
48
  });
37
49
  const root = useTemplateRef("root");
50
+ const more = useOverflowHost({
51
+ overflow: group.overflow,
52
+ container: root
53
+ });
38
54
  let handle;
39
55
  onMounted(() => {
40
56
  handle = attachButtonGroup(root.value);
@@ -44,7 +60,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
44
60
  return openBlock(), createElementBlock("div", mergeProps({
45
61
  ref_key: "root",
46
62
  ref: root
47
- }, unref(group).parts.root()), [renderSlot(_ctx.$slots, "default")], 16);
63
+ }, unref(group).parts.root()), [renderSlot(_ctx.$slots, "default"), unref(more).enabled() ? (openBlock(), createBlock(_sfc_main$1, {
64
+ key: 0,
65
+ host: unref(more)
66
+ }, createSlots({ _: 2 }, [_ctx.$slots["more-icon"] ? {
67
+ name: "icon",
68
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "more-icon")]),
69
+ key: "0"
70
+ } : void 0]), 1032, ["host"])) : createCommentVNode("v-if", true)], 16);
48
71
  };
49
72
  }
50
73
  });
@@ -3,8 +3,9 @@ import { inject } from "vue";
3
3
  const buttonGroupKey = Symbol("RioButtonGroup");
4
4
  /**
5
5
  * For `RioButton` and `RioIconButton`: takes the size and shape of the button group around the
6
- * button unless the button sets its own, and, in a group that keeps a selection, makes a button
7
- * with a `value` a toggle whose state the group owns. Outside a group it changes nothing.
6
+ * button unless the button sets its own, and the group's `disabled` over its own, and, in a group
7
+ * that keeps a selection, makes a button with a `value` a toggle whose state the group owns.
8
+ * Outside a group it changes nothing.
8
9
  */
9
10
  function useButtonGroupItem(props, emitChange) {
10
11
  const group = inject(buttonGroupKey, null);
@@ -17,6 +18,7 @@ function useButtonGroupItem(props, emitChange) {
17
18
  ...own,
18
19
  size: own.size ?? group?.size(),
19
20
  shape: own.shape ?? group?.shape(),
21
+ disabled: own.disabled || group?.disabled() || void 0,
20
22
  ...grouped() ? {
21
23
  toggle: true,
22
24
  selected: group.isSelected(own.value)
@@ -0,0 +1,24 @@
1
+ import { CardProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/focus-ring.css";
3
+ import "@rio-m3e/styles/base/state-layer.css";
4
+ import "@rio-m3e/styles/card.css";
5
+ interface Props extends CardProps {
6
+ /**
7
+ * A press on the card. With it, and without `href`, the card is a button: then it holds no
8
+ * buttons or links of its own.
9
+ */
10
+ onClick?: (event: MouseEvent) => void;
11
+ }
12
+ type __VLS_Slots = {
13
+ /** The content: the card's blocks (`RioCardMedia`, `RioCardHeader`, ...), or anything else */
14
+ default?: () => unknown;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
24
+ export { _default as default };
@@ -0,0 +1,44 @@
1
+ import { vRipple } from "../ripple/ripple.js";
2
+ import { createBlock, defineComponent, mergeProps, onBeforeUnmount, openBlock, renderSlot, resolveDynamicComponent, unref, useTemplateRef, watch, withCtx, withDirectives } from "vue";
3
+ import { attachCard, createCard } from "@rio-m3e/core";
4
+ import "@rio-m3e/styles/base/focus-ring.css";
5
+ import "@rio-m3e/styles/base/state-layer.css";
6
+ import "@rio-m3e/styles/card.css";
7
+ // src/card/Card.vue
8
+ const _sfc_main = /*@__PURE__*/ defineComponent({
9
+ __name: "Card",
10
+ props: {
11
+ onClick: { type: Function },
12
+ variant: {},
13
+ href: {},
14
+ disabled: { type: Boolean }
15
+ },
16
+ setup(__props) {
17
+ const card = createCard({
18
+ props: () => ({
19
+ variant: __props.variant,
20
+ href: __props.href,
21
+ disabled: __props.disabled
22
+ }),
23
+ listeners: () => ({ action: !!__props.onClick }),
24
+ onClick: (event) => __props.onClick?.(event)
25
+ });
26
+ const root = useTemplateRef("root");
27
+ let handle;
28
+ watch(root, (element) => {
29
+ handle?.detach();
30
+ handle = element ? attachCard(element) : void 0;
31
+ }, { flush: "post" });
32
+ onBeforeUnmount(() => handle?.detach());
33
+ return (_ctx, _cache) => {
34
+ return withDirectives((openBlock(), createBlock(resolveDynamicComponent(unref(card).tag()), mergeProps({
35
+ ref_key: "root",
36
+ ref: root
37
+ }, unref(card).parts.root(), { onClick: unref(card).handleClick }), {
38
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
39
+ _: 3
40
+ }, 16, ["onClick"])), [[unref(vRipple), unref(card).acts()]]);
41
+ };
42
+ }
43
+ });
44
+ export { _sfc_main as default };
@@ -0,0 +1,14 @@
1
+ import "@rio-m3e/styles/card.css";
2
+ type __VLS_Slots = {
3
+ /** Buttons, as Learn more or Add to cart, at the card's end */
4
+ default?: () => unknown;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ export { _default as default };
@@ -0,0 +1,14 @@
1
+ import { createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref } from "vue";
2
+ import { createCardActions } from "@rio-m3e/core";
3
+ import "@rio-m3e/styles/card.css";
4
+ // src/card/CardActions.vue
5
+ const _sfc_main = /*@__PURE__*/ defineComponent({
6
+ __name: "CardActions",
7
+ setup(__props) {
8
+ const actions = createCardActions();
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(actions).parts.root())), [renderSlot(_ctx.$slots, "default")], 16);
11
+ };
12
+ }
13
+ });
14
+ export { _sfc_main as default };
@@ -0,0 +1,14 @@
1
+ import "@rio-m3e/styles/card.css";
2
+ type __VLS_Slots = {
3
+ /** Supporting text, as a summary, or other content, 16px in from the card's sides */
4
+ default?: () => unknown;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ export { _default as default };
@@ -0,0 +1,14 @@
1
+ import { createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref } from "vue";
2
+ import { createCardContent } from "@rio-m3e/core";
3
+ import "@rio-m3e/styles/card.css";
4
+ // src/card/CardContent.vue
5
+ const _sfc_main = /*@__PURE__*/ defineComponent({
6
+ __name: "CardContent",
7
+ setup(__props) {
8
+ const content = createCardContent();
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(content).parts.root())), [renderSlot(_ctx.$slots, "default")], 16);
11
+ };
12
+ }
13
+ });
14
+ export { _sfc_main as default };
@@ -0,0 +1,27 @@
1
+ import { CardHeaderProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/card.css";
3
+ interface Props extends CardHeaderProps {
4
+ /** The headline's text, as the card's subject. The `headline` slot takes its place. */
5
+ headline?: string;
6
+ /** The subhead's text, as a byline. The `subhead` slot takes its place. */
7
+ subhead?: string;
8
+ }
9
+ type __VLS_Slots = {
10
+ /** A thumbnail before the text, as an avatar or a logo */
11
+ leading?: () => unknown;
12
+ /** The headline, in place of `headline` */
13
+ headline?: () => unknown;
14
+ /** The subhead, in place of `subhead` */
15
+ subhead?: () => unknown;
16
+ /** An element after the text, as an icon button that opens an overflow menu */
17
+ trailing?: () => unknown;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
27
+ export { _default as default };
@@ -0,0 +1,34 @@
1
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useSlots, withCtx } from "vue";
2
+ import { createCardHeader } from "@rio-m3e/core";
3
+ import "@rio-m3e/styles/card.css";
4
+ // src/card/CardHeader.vue
5
+ const _sfc_main = /*@__PURE__*/ defineComponent({
6
+ __name: "CardHeader",
7
+ props: {
8
+ headline: {},
9
+ subhead: {},
10
+ headingLevel: {}
11
+ },
12
+ setup(__props) {
13
+ const slots = useSlots();
14
+ const header = createCardHeader({
15
+ props: () => ({ headingLevel: __props.headingLevel }),
16
+ content: () => ({
17
+ leading: !!slots.leading,
18
+ subhead: !!slots.subhead || !!__props.subhead,
19
+ trailing: !!slots.trailing
20
+ })
21
+ });
22
+ return (_ctx, _cache) => {
23
+ return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(header).parts.root())), [
24
+ unref(header).showsLeading() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 0 }, unref(header).parts.leading())), [renderSlot(_ctx.$slots, "leading")], 16)) : createCommentVNode("v-if", true),
25
+ createElementVNode("div", normalizeProps(guardReactiveProps(unref(header).parts.text())), [(openBlock(), createBlock(resolveDynamicComponent(unref(header).headlineTag()), normalizeProps(guardReactiveProps(unref(header).parts.headline())), {
26
+ default: withCtx(() => [renderSlot(_ctx.$slots, "headline", {}, () => [createTextVNode(toDisplayString(__props.headline), 1)])]),
27
+ _: 3
28
+ }, 16)), unref(header).showsSubhead() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 0 }, unref(header).parts.subhead())), [renderSlot(_ctx.$slots, "subhead", {}, () => [createTextVNode(toDisplayString(__props.subhead), 1)])], 16)) : createCommentVNode("v-if", true)], 16),
29
+ unref(header).showsTrailing() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(header).parts.trailing())), [renderSlot(_ctx.$slots, "trailing")], 16)) : createCommentVNode("v-if", true)
30
+ ], 16);
31
+ };
32
+ }
33
+ });
34
+ export { _sfc_main as default };
@@ -0,0 +1,14 @@
1
+ import "@rio-m3e/styles/card.css";
2
+ type __VLS_Slots = {
3
+ /** An image, a video, or other media, to the card's edges */
4
+ default?: () => unknown;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ export { _default as default };
@@ -0,0 +1,14 @@
1
+ import { createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref } from "vue";
2
+ import { createCardMedia } from "@rio-m3e/core";
3
+ import "@rio-m3e/styles/card.css";
4
+ // src/card/CardMedia.vue
5
+ const _sfc_main = /*@__PURE__*/ defineComponent({
6
+ __name: "CardMedia",
7
+ setup(__props) {
8
+ const media = createCardMedia();
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(media).parts.root())), [renderSlot(_ctx.$slots, "default")], 16);
11
+ };
12
+ }
13
+ });
14
+ export { _sfc_main as default };
@@ -1,4 +1,5 @@
1
1
  import { CheckboxProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/accent.css";
2
3
  import "@rio-m3e/styles/base/focus-ring.css";
3
4
  import "@rio-m3e/styles/base/reduced-motion.css";
4
5
  import "@rio-m3e/styles/base/ripple.css";
@@ -1,6 +1,7 @@
1
1
  import { useRipple } from "../ripple/ripple.js";
2
2
  import { createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeProps, onBeforeUnmount, onMounted, onUpdated, openBlock, unref, useTemplateRef } from "vue";
3
3
  import { attachCheckable, createCheckbox, mergePartAttrs } from "@rio-m3e/core";
4
+ import "@rio-m3e/styles/base/accent.css";
4
5
  import "@rio-m3e/styles/base/focus-ring.css";
5
6
  import "@rio-m3e/styles/base/reduced-motion.css";
6
7
  import "@rio-m3e/styles/base/ripple.css";
@@ -13,6 +14,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
13
14
  selected: { type: Boolean },
14
15
  indeterminate: { type: Boolean },
15
16
  error: { type: Boolean },
17
+ color: {},
16
18
  disabled: { type: Boolean },
17
19
  softDisabled: { type: Boolean }
18
20
  },
@@ -23,6 +25,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
23
25
  selected: __props.selected,
24
26
  indeterminate: __props.indeterminate,
25
27
  error: __props.error,
28
+ color: __props.color,
26
29
  disabled: __props.disabled,
27
30
  softDisabled: __props.softDisabled
28
31
  }) });
@@ -1,4 +1,5 @@
1
1
  import { AssistChipProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/accent.css";
2
3
  import "@rio-m3e/styles/base/focus-ring.css";
3
4
  import "@rio-m3e/styles/base/reduced-motion.css";
4
5
  import "@rio-m3e/styles/base/touch-target.css";
@@ -2,6 +2,7 @@ import { useRipple } from "../ripple/ripple.js";
2
2
  import { useChipSetItem } from "./context.js";
3
3
  import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useSlots, useTemplateRef, withCtx } from "vue";
4
4
  import { createAssistChip } from "@rio-m3e/core";
5
+ import "@rio-m3e/styles/base/accent.css";
5
6
  import "@rio-m3e/styles/base/focus-ring.css";
6
7
  import "@rio-m3e/styles/base/reduced-motion.css";
7
8
  import "@rio-m3e/styles/base/touch-target.css";
@@ -13,6 +14,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
13
14
  props: {
14
15
  elevated: { type: Boolean },
15
16
  href: {},
17
+ color: {},
16
18
  disabled: { type: Boolean },
17
19
  softDisabled: { type: Boolean }
18
20
  },
@@ -25,6 +27,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
25
27
  props: () => ({
26
28
  elevated: __props.elevated,
27
29
  href: __props.href,
30
+ color: __props.color,
28
31
  disabled: __props.disabled,
29
32
  softDisabled: __props.softDisabled
30
33
  }),
@@ -1,4 +1,5 @@
1
1
  import { ChipSetProps, ChipSetSelected } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/accent.css";
2
3
  import "@rio-m3e/styles/chip.css";
3
4
  interface Props extends Omit<ChipSetProps, 'selected'> {
4
5
  /** The selected value (`single`) or values (`multiple`), with `v-model`. */
@@ -1,6 +1,7 @@
1
1
  import { chipSetKey } from "./context.js";
2
2
  import { createElementBlock, defineComponent, mergeProps, onBeforeUnmount, onMounted, onUpdated, openBlock, provide, ref, renderSlot, unref, useTemplateRef } from "vue";
3
3
  import { attachChipSet, createChipSet } from "@rio-m3e/core";
4
+ import "@rio-m3e/styles/base/accent.css";
4
5
  import "@rio-m3e/styles/chip.css";
5
6
  // src/chip/ChipSet.vue
6
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -9,7 +10,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
9
10
  modelValue: {},
10
11
  selection: {},
11
12
  required: { type: Boolean },
12
- scroll: { type: Boolean }
13
+ scroll: { type: Boolean },
14
+ color: {}
13
15
  },
14
16
  emits: ["update:modelValue"],
15
17
  setup(__props, { emit: __emit }) {
@@ -21,6 +23,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
21
23
  selection: __props.selection,
22
24
  required: __props.required,
23
25
  scroll: __props.scroll,
26
+ color: __props.color,
24
27
  selected: __props.modelValue
25
28
  }),
26
29
  tabStop: () => tabStop.value,
@@ -1,4 +1,5 @@
1
1
  import { FilterChipProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/accent.css";
2
3
  import "@rio-m3e/styles/base/focus-ring.css";
3
4
  import "@rio-m3e/styles/base/reduced-motion.css";
4
5
  import "@rio-m3e/styles/base/touch-target.css";
@@ -9,9 +10,15 @@ type __VLS_Slots = {
9
10
  default?: () => unknown;
10
11
  /** A leading icon, shown while the chip isn't selected. Hidden from assistive technology. */
11
12
  icon?: () => unknown;
12
- /** The icon while the chip is selected, such as a checkmark. Hidden from assistive technology. */
13
+ /**
14
+ * The icon while the chip is selected, such as a checkmark. Hidden from assistive technology.
15
+ * Without one, the `check` icon registered with `createRio`.
16
+ */
13
17
  'selected-icon'?: () => unknown;
14
- /** A `menu` chip's trailing icon, such as a dropdown arrow, which turns over while open. */
18
+ /**
19
+ * A `menu` chip's trailing icon, such as a dropdown arrow, which turns over while open. Without
20
+ * one, the `dropdown` icon registered with `createRio`.
21
+ */
15
22
  'dropdown-icon'?: () => unknown;
16
23
  };
17
24
  declare const __VLS_base: import("vue").DefineComponent<FilterChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,7 +1,10 @@
1
1
  import { useRipple } from "../ripple/ripple.js";
2
2
  import { useChipSetItem } from "./context.js";
3
- import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, useSlots, useTemplateRef } from "vue";
3
+ import _sfc_main$1 from "../icon/Icon.vue.js";
4
+ import { useIconOfAlias } from "../icon/icons.js";
5
+ import { createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, useSlots, useTemplateRef } from "vue";
4
6
  import { createFilterChip } from "@rio-m3e/core";
7
+ import "@rio-m3e/styles/base/accent.css";
5
8
  import "@rio-m3e/styles/base/focus-ring.css";
6
9
  import "@rio-m3e/styles/base/reduced-motion.css";
7
10
  import "@rio-m3e/styles/base/touch-target.css";
@@ -16,6 +19,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
16
19
  value: {},
17
20
  menu: { type: Boolean },
18
21
  open: { type: Boolean },
22
+ color: {},
19
23
  disabled: { type: Boolean },
20
24
  softDisabled: { type: Boolean }
21
25
  },
@@ -29,6 +33,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
29
33
  const slots = useSlots();
30
34
  const item = useChipSetItem();
31
35
  const grouped = () => !!item.set && item.set.selection() !== "none" && __props.value !== void 0 && !__props.menu;
36
+ const checkIcon = useIconOfAlias("check");
37
+ const dropdownIcon = useIconOfAlias("dropdown");
32
38
  const chip = createFilterChip({
33
39
  props: () => ({
34
40
  selected: grouped() ? item.set.isSelected(__props.value) : __props.selected,
@@ -36,13 +42,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
36
42
  value: __props.value,
37
43
  menu: __props.menu,
38
44
  open: __props.open,
45
+ color: __props.color,
39
46
  disabled: __props.disabled,
40
47
  softDisabled: __props.softDisabled
41
48
  }),
42
49
  content: () => ({
43
50
  icon: !!slots.icon,
44
- selectedIcon: !!slots["selected-icon"],
45
- dropdownIcon: !!slots["dropdown-icon"]
51
+ selectedIcon: !!slots["selected-icon"] || !!checkIcon.value,
52
+ dropdownIcon: !!slots["dropdown-icon"] || !!dropdownIcon.value
46
53
  }),
47
54
  key: item.key,
48
55
  tabStop: item.tabStop,
@@ -58,9 +65,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
58
65
  return openBlock(), createElementBlock("button", mergeProps({ ref: "root" }, unref(chip).parts.root(), { onClick: _cache[0] || (_cache[0] = (...args) => unref(chip).handleClick && unref(chip).handleClick(...args)) }), [
59
66
  createElementVNode("span", normalizeProps(guardReactiveProps(unref(chip).parts.touch())), null, 16),
60
67
  createElementVNode("span", mergeProps({ ref: "state" }, unref(chip).parts.state()), null, 16),
61
- unref(chip).showsIcon() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 0 }, unref(chip).parts.icon())), [unref(chip).showsSelectedIcon() ? renderSlot(_ctx.$slots, "selected-icon", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)], 16)) : createCommentVNode("v-if", true),
68
+ unref(chip).showsIcon() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 0 }, unref(chip).parts.icon())), [unref(chip).showsSelectedIcon() ? renderSlot(_ctx.$slots, "selected-icon", {}, () => [createVNode(_sfc_main$1, { alias: "check" })], void 0, 0) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)], 16)) : createCommentVNode("v-if", true),
62
69
  createElementVNode("span", normalizeProps(guardReactiveProps(unref(chip).parts.label())), [renderSlot(_ctx.$slots, "default")], 16),
63
- unref(chip).showsTrailing() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 1 }, unref(chip).parts.trailing())), [renderSlot(_ctx.$slots, "dropdown-icon")], 16)) : createCommentVNode("v-if", true)
70
+ unref(chip).showsTrailing() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 1 }, unref(chip).parts.trailing())), [renderSlot(_ctx.$slots, "dropdown-icon", {}, () => [createVNode(_sfc_main$1, { alias: "dropdown" })])], 16)) : createCommentVNode("v-if", true)
64
71
  ], 16);
65
72
  };
66
73
  }
@@ -1,4 +1,5 @@
1
1
  import { ChipMessages, InputChipProps } from "@rio-m3e/core";
2
+ import "@rio-m3e/styles/base/accent.css";
2
3
  import "@rio-m3e/styles/base/focus-ring.css";
3
4
  import "@rio-m3e/styles/base/reduced-motion.css";
4
5
  import "@rio-m3e/styles/base/touch-target.css";
@@ -17,7 +18,10 @@ type __VLS_Slots = {
17
18
  icon?: () => unknown;
18
19
  /** A leading image, such as a person's avatar, in a 24px circle. It wins over the icon. */
19
20
  avatar?: () => unknown;
20
- /** The remove button's icon, such as an X. Hidden from assistive technology. */
21
+ /**
22
+ * The remove button's icon, such as an X. Hidden from assistive technology. Without one, the
23
+ * `remove` icon registered with `createRio`.
24
+ */
21
25
  'remove-icon'?: () => unknown;
22
26
  };
23
27
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,8 +1,10 @@
1
1
  import { useLocale, useMessages } from "../locale/locale.js";
2
2
  import { useRipple } from "../ripple/ripple.js";
3
3
  import { useChipSetItem } from "./context.js";
4
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, withCtx } from "vue";
4
+ import _sfc_main$1 from "../icon/Icon.vue.js";
5
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, withCtx } from "vue";
5
6
  import { createInputChip, mergePartAttrs } from "@rio-m3e/core";
7
+ import "@rio-m3e/styles/base/accent.css";
6
8
  import "@rio-m3e/styles/base/focus-ring.css";
7
9
  import "@rio-m3e/styles/base/reduced-motion.css";
8
10
  import "@rio-m3e/styles/base/touch-target.css";
@@ -14,6 +16,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
14
16
  __name: "InputChip",
15
17
  props: {
16
18
  removeOnly: { type: Boolean },
19
+ color: {},
17
20
  disabled: { type: Boolean },
18
21
  softDisabled: { type: Boolean },
19
22
  locale: {},
@@ -37,6 +40,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
37
40
  const chip = createInputChip({
38
41
  props: () => ({
39
42
  removeOnly: props.removeOnly,
43
+ color: props.color,
40
44
  disabled: props.disabled,
41
45
  softDisabled: props.softDisabled
42
46
  }),
@@ -72,7 +76,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
72
76
  ]),
73
77
  _: 3
74
78
  }, 16, ["onClick"])),
75
- createElementVNode("button", mergeProps(unref(chip).parts.remove(), { onClick: _cache[0] || (_cache[0] = (...args) => unref(chip).handleRemoveClick && unref(chip).handleRemoveClick(...args)) }), [createElementVNode("span", normalizeProps(guardReactiveProps(unref(chip).parts.removeTouch())), null, 16), createElementVNode("span", normalizeProps(guardReactiveProps(unref(chip).parts.removeIcon())), [renderSlot(_ctx.$slots, "remove-icon")], 16)], 16),
79
+ createElementVNode("button", mergeProps(unref(chip).parts.remove(), { onClick: _cache[0] || (_cache[0] = (...args) => unref(chip).handleRemoveClick && unref(chip).handleRemoveClick(...args)) }), [createElementVNode("span", normalizeProps(guardReactiveProps(unref(chip).parts.removeTouch())), null, 16), createElementVNode("span", normalizeProps(guardReactiveProps(unref(chip).parts.removeIcon())), [renderSlot(_ctx.$slots, "remove-icon", {}, () => [createVNode(_sfc_main$1, { alias: "remove" })])], 16)], 16),
76
80
  unref(chip).showsRemoveBefore() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 0 }, unref(chip).parts.removeBefore())), toDisplayString(unref(chip).removeText().before), 17)) : createCommentVNode("v-if", true),
77
81
  unref(chip).showsRemoveAfter() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 1 }, unref(chip).parts.removeAfter())), toDisplayString(unref(chip).removeText().after), 17)) : createCommentVNode("v-if", true)
78
82
  ], 16);
@@ -1,3 +1,4 @@
1
+ import "@rio-m3e/styles/base/accent.css";
1
2
  import "@rio-m3e/styles/base/focus-ring.css";
2
3
  import "@rio-m3e/styles/base/reduced-motion.css";
3
4
  import "@rio-m3e/styles/base/touch-target.css";