@itguy614/clean-ui 1.2.1 → 1.3.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 (243) hide show
  1. package/README.md +12 -0
  2. package/dist/clean-ui.css +1 -1
  3. package/dist/components/CuiAccordion.vue.js +2 -2
  4. package/dist/components/CuiAlert.vue.d.ts +3 -5
  5. package/dist/components/CuiAlert.vue.d.ts.map +1 -1
  6. package/dist/components/CuiAlert.vue.js +1 -1
  7. package/dist/components/CuiAlert.vue2.js +54 -50
  8. package/dist/components/CuiBadge.vue.js +3 -3
  9. package/dist/components/CuiBadge.vue2.js +23 -23
  10. package/dist/components/CuiBanner.vue.d.ts +15 -10
  11. package/dist/components/CuiBanner.vue.d.ts.map +1 -1
  12. package/dist/components/CuiBanner.vue.js +5 -80
  13. package/dist/components/CuiBanner.vue2.js +90 -2
  14. package/dist/components/CuiButton.vue.d.ts +9 -0
  15. package/dist/components/CuiButton.vue.d.ts.map +1 -1
  16. package/dist/components/CuiButton.vue.js +1 -1
  17. package/dist/components/CuiButton.vue2.js +77 -83
  18. package/dist/components/CuiButtonGroup.vue.d.ts +4 -2
  19. package/dist/components/CuiButtonGroup.vue.d.ts.map +1 -1
  20. package/dist/components/CuiButtonGroup.vue.js +1 -1
  21. package/dist/components/CuiButtonGroup.vue2.js +18 -9
  22. package/dist/components/CuiCard.vue.d.ts.map +1 -1
  23. package/dist/components/CuiCard.vue.js +5 -33
  24. package/dist/components/CuiCard.vue2.js +32 -2
  25. package/dist/components/CuiCardBody.vue.d.ts.map +1 -1
  26. package/dist/components/CuiCardBody.vue.js +5 -18
  27. package/dist/components/CuiCardBody.vue2.js +18 -2
  28. package/dist/components/CuiCardFooter.vue.d.ts.map +1 -1
  29. package/dist/components/CuiCardFooter.vue.js +5 -30
  30. package/dist/components/CuiCardFooter.vue2.js +25 -2
  31. package/dist/components/CuiCardHeader.vue.d.ts +5 -4
  32. package/dist/components/CuiCardHeader.vue.d.ts.map +1 -1
  33. package/dist/components/CuiCardHeader.vue.js +5 -49
  34. package/dist/components/CuiCardHeader.vue2.js +40 -2
  35. package/dist/components/CuiCardMedia.vue.d.ts.map +1 -1
  36. package/dist/components/CuiCardMedia.vue.js +3 -3
  37. package/dist/components/CuiCardMedia.vue2.js +6 -6
  38. package/dist/components/CuiCheckbox.vue.d.ts +2 -2
  39. package/dist/components/CuiCheckbox.vue.d.ts.map +1 -1
  40. package/dist/components/CuiCheckbox.vue.js +1 -1
  41. package/dist/components/CuiCheckbox.vue2.js +46 -34
  42. package/dist/components/CuiCheckboxGroup.vue.d.ts +2 -2
  43. package/dist/components/CuiCheckboxGroup.vue.d.ts.map +1 -1
  44. package/dist/components/CuiCheckboxGroup.vue.js +2 -2
  45. package/dist/components/CuiCheckboxGroup.vue2.js +45 -35
  46. package/dist/components/CuiCodeBlock.vue.d.ts.map +1 -1
  47. package/dist/components/CuiCodeBlock.vue.js +14 -11
  48. package/dist/components/CuiColorPicker.vue.d.ts +2 -2
  49. package/dist/components/CuiColorPicker.vue.d.ts.map +1 -1
  50. package/dist/components/CuiColorPicker.vue.js +117 -104
  51. package/dist/components/CuiCombobox.vue.d.ts +2 -2
  52. package/dist/components/CuiCombobox.vue.d.ts.map +1 -1
  53. package/dist/components/CuiCombobox.vue.js +5 -330
  54. package/dist/components/CuiCombobox.vue2.js +331 -2
  55. package/dist/components/CuiConfirmDialog.vue.d.ts +5 -4
  56. package/dist/components/CuiConfirmDialog.vue.d.ts.map +1 -1
  57. package/dist/components/CuiConfirmDialog.vue.js +84 -73
  58. package/dist/components/CuiContextMenu.vue.d.ts +40 -1
  59. package/dist/components/CuiContextMenu.vue.d.ts.map +1 -1
  60. package/dist/components/CuiContextMenu.vue.js +1 -1
  61. package/dist/components/CuiContextMenu.vue2.js +149 -91
  62. package/dist/components/CuiCopyButton.vue.d.ts.map +1 -1
  63. package/dist/components/CuiCopyButton.vue.js +5 -61
  64. package/dist/components/CuiCopyButton.vue2.js +68 -2
  65. package/dist/components/CuiDataGridCardView.vue.d.ts.map +1 -1
  66. package/dist/components/CuiDataGridCardView.vue.js +10 -9
  67. package/dist/components/CuiDataGridColumnManager.vue.d.ts.map +1 -1
  68. package/dist/components/CuiDataGridColumnManager.vue.js +12 -11
  69. package/dist/components/CuiDataGridPagination.vue.d.ts.map +1 -1
  70. package/dist/components/CuiDataGridPagination.vue.js +9 -8
  71. package/dist/components/CuiDataGridSearch.vue.d.ts.map +1 -1
  72. package/dist/components/CuiDataGridSearch.vue.js +12 -9
  73. package/dist/components/CuiDataGridTable.vue.d.ts.map +1 -1
  74. package/dist/components/CuiDataGridTable.vue.js +1 -0
  75. package/dist/components/CuiDataGridViewManager.vue.d.ts.map +1 -1
  76. package/dist/components/CuiDataGridViewManager.vue.js +17 -17
  77. package/dist/components/CuiDatePicker.vue.d.ts +2 -2
  78. package/dist/components/CuiDatePicker.vue.d.ts.map +1 -1
  79. package/dist/components/CuiDatePicker.vue.js +257 -173
  80. package/dist/components/CuiDateRangePicker.vue.d.ts +2 -2
  81. package/dist/components/CuiDateRangePicker.vue.d.ts.map +1 -1
  82. package/dist/components/CuiDateRangePicker.vue.js +262 -179
  83. package/dist/components/CuiDivider.vue.d.ts.map +1 -1
  84. package/dist/components/CuiDivider.vue.js +17 -13
  85. package/dist/components/CuiDropdownMenu.vue.js +2 -2
  86. package/dist/components/CuiDropdownRadioGroup.vue.d.ts +4 -1
  87. package/dist/components/CuiDropdownRadioGroup.vue.d.ts.map +1 -1
  88. package/dist/components/CuiDropdownRadioGroup.vue.js +27 -14
  89. package/dist/components/CuiDropdownSub.vue.js +2 -2
  90. package/dist/components/CuiEmptyState.vue.d.ts +5 -4
  91. package/dist/components/CuiEmptyState.vue.d.ts.map +1 -1
  92. package/dist/components/CuiEmptyState.vue.js +1 -1
  93. package/dist/components/CuiEmptyState.vue2.js +30 -24
  94. package/dist/components/CuiFieldset.vue.d.ts.map +1 -1
  95. package/dist/components/CuiFieldset.vue.js +1 -1
  96. package/dist/components/CuiFieldset.vue2.js +21 -21
  97. package/dist/components/CuiFileUpload.vue.d.ts +2 -2
  98. package/dist/components/CuiFileUpload.vue.d.ts.map +1 -1
  99. package/dist/components/CuiFileUpload.vue.js +70 -57
  100. package/dist/components/CuiFormField.vue.d.ts.map +1 -1
  101. package/dist/components/CuiFormField.vue.js +2 -2
  102. package/dist/components/CuiFormField.vue2.js +48 -42
  103. package/dist/components/CuiInput.vue.d.ts +2 -2
  104. package/dist/components/CuiInput.vue.d.ts.map +1 -1
  105. package/dist/components/CuiInput.vue.js +1 -1
  106. package/dist/components/CuiInput.vue2.js +97 -85
  107. package/dist/components/CuiInputStepper.vue.d.ts +2 -2
  108. package/dist/components/CuiInputStepper.vue.d.ts.map +1 -1
  109. package/dist/components/CuiInputStepper.vue.js +5 -187
  110. package/dist/components/CuiInputStepper.vue2.js +237 -2
  111. package/dist/components/CuiKbd.vue.d.ts.map +1 -1
  112. package/dist/components/CuiKbd.vue.js +6 -5
  113. package/dist/components/CuiMaskedInput.vue.d.ts +9 -3
  114. package/dist/components/CuiMaskedInput.vue.d.ts.map +1 -1
  115. package/dist/components/CuiMaskedInput.vue.js +132 -117
  116. package/dist/components/CuiModal.vue.d.ts +10 -2
  117. package/dist/components/CuiModal.vue.d.ts.map +1 -1
  118. package/dist/components/CuiModal.vue.js +2 -2
  119. package/dist/components/CuiModal.vue2.js +48 -44
  120. package/dist/components/CuiModalBody.vue.d.ts.map +1 -1
  121. package/dist/components/CuiModalBody.vue.js +16 -13
  122. package/dist/components/CuiModalFooter.vue.d.ts.map +1 -1
  123. package/dist/components/CuiModalFooter.vue.js +3 -2
  124. package/dist/components/CuiModalHeader.vue.d.ts +13 -4
  125. package/dist/components/CuiModalHeader.vue.d.ts.map +1 -1
  126. package/dist/components/CuiModalHeader.vue.js +54 -42
  127. package/dist/components/CuiPagination.vue.js +2 -2
  128. package/dist/components/CuiPopover.vue.d.ts.map +1 -1
  129. package/dist/components/CuiPopover.vue.js +81 -76
  130. package/dist/components/CuiRadio.vue.d.ts +2 -4
  131. package/dist/components/CuiRadio.vue.d.ts.map +1 -1
  132. package/dist/components/CuiRadio.vue.js +2 -2
  133. package/dist/components/CuiRadio.vue2.js +88 -74
  134. package/dist/components/CuiRadioGroup.vue.d.ts +2 -2
  135. package/dist/components/CuiRadioGroup.vue.d.ts.map +1 -1
  136. package/dist/components/CuiRadioGroup.vue.js +3 -3
  137. package/dist/components/CuiRadioGroup.vue2.js +47 -37
  138. package/dist/components/CuiRating.vue.d.ts.map +1 -1
  139. package/dist/components/CuiRating.vue.js +15 -14
  140. package/dist/components/CuiResizablePanels.vue.d.ts.map +1 -1
  141. package/dist/components/CuiResizablePanels.vue.js +10 -9
  142. package/dist/components/CuiSelect.vue.d.ts +2 -2
  143. package/dist/components/CuiSelect.vue.d.ts.map +1 -1
  144. package/dist/components/CuiSelect.vue.js +2 -2
  145. package/dist/components/CuiSelect.vue2.js +161 -151
  146. package/dist/components/CuiSkeleton.vue.js +2 -2
  147. package/dist/components/CuiSkeleton.vue2.js +10 -10
  148. package/dist/components/CuiSlideover.vue.d.ts +2 -2
  149. package/dist/components/CuiSlideover.vue.d.ts.map +1 -1
  150. package/dist/components/CuiSlideover.vue.js +34 -30
  151. package/dist/components/CuiSlider.vue.d.ts +2 -2
  152. package/dist/components/CuiSlider.vue.d.ts.map +1 -1
  153. package/dist/components/CuiSlider.vue.js +67 -54
  154. package/dist/components/CuiSpinner.vue.d.ts.map +1 -1
  155. package/dist/components/CuiSpinner.vue.js +5 -4
  156. package/dist/components/CuiTable.vue.d.ts.map +1 -1
  157. package/dist/components/CuiTable.vue.js +4 -1
  158. package/dist/components/CuiTableBody.vue.d.ts.map +1 -1
  159. package/dist/components/CuiTableBody.vue.js +6 -6
  160. package/dist/components/CuiTableCell.vue.d.ts.map +1 -1
  161. package/dist/components/CuiTableCell.vue.js +11 -10
  162. package/dist/components/CuiTableFoot.vue.d.ts.map +1 -1
  163. package/dist/components/CuiTableFoot.vue.js +7 -7
  164. package/dist/components/CuiTableHead.vue.d.ts.map +1 -1
  165. package/dist/components/CuiTableHead.vue.js +7 -7
  166. package/dist/components/CuiTabs.vue.d.ts.map +1 -1
  167. package/dist/components/CuiTabs.vue.js +1 -1
  168. package/dist/components/CuiTabs.vue2.js +1 -0
  169. package/dist/components/CuiTagInput.vue.d.ts +2 -2
  170. package/dist/components/CuiTagInput.vue.d.ts.map +1 -1
  171. package/dist/components/CuiTagInput.vue.js +5 -294
  172. package/dist/components/CuiTagInput.vue2.js +277 -2
  173. package/dist/components/CuiTextarea.vue.d.ts +2 -2
  174. package/dist/components/CuiTextarea.vue.d.ts.map +1 -1
  175. package/dist/components/CuiTextarea.vue.js +4 -4
  176. package/dist/components/CuiTextarea.vue2.js +73 -59
  177. package/dist/components/CuiTimePicker.vue.d.ts +2 -2
  178. package/dist/components/CuiTimePicker.vue.d.ts.map +1 -1
  179. package/dist/components/CuiTimePicker.vue.js +173 -95
  180. package/dist/components/CuiTimeline.vue.d.ts.map +1 -1
  181. package/dist/components/CuiTimeline.vue.js +6 -5
  182. package/dist/components/CuiTimelineItem.vue.d.ts.map +1 -1
  183. package/dist/components/CuiTimelineItem.vue.js +11 -10
  184. package/dist/components/CuiToast.vue.d.ts +8 -10
  185. package/dist/components/CuiToast.vue.d.ts.map +1 -1
  186. package/dist/components/CuiToast.vue.js +2 -2
  187. package/dist/components/CuiToast.vue2.js +69 -67
  188. package/dist/components/CuiToggle.vue.d.ts +2 -2
  189. package/dist/components/CuiToggle.vue.d.ts.map +1 -1
  190. package/dist/components/CuiToggle.vue.js +2 -2
  191. package/dist/components/CuiToggle.vue2.js +71 -59
  192. package/dist/components/CuiToggleGroup.vue.d.ts +2 -2
  193. package/dist/components/CuiToggleGroup.vue.d.ts.map +1 -1
  194. package/dist/components/CuiToggleGroup.vue.js +2 -2
  195. package/dist/components/CuiToggleGroup.vue2.js +45 -35
  196. package/dist/components/CuiTooltip.vue.d.ts.map +1 -1
  197. package/dist/components/CuiTooltip.vue.js +2 -2
  198. package/dist/components/CuiTooltip.vue2.js +47 -44
  199. package/dist/components/CuiTransferList.vue.d.ts.map +1 -1
  200. package/dist/components/CuiTransferList.vue.js +31 -30
  201. package/dist/components/CuiTreeNode.vue.d.ts +9 -2
  202. package/dist/components/CuiTreeNode.vue.d.ts.map +1 -1
  203. package/dist/components/CuiTreeNode.vue.js +5 -179
  204. package/dist/components/CuiTreeNode.vue2.js +198 -2
  205. package/dist/components/CuiTreeView.vue.d.ts +33 -5
  206. package/dist/components/CuiTreeView.vue.d.ts.map +1 -1
  207. package/dist/components/CuiTreeView.vue.js +187 -44
  208. package/dist/composables/useCalendarKeyboard.d.ts +48 -0
  209. package/dist/composables/useCalendarKeyboard.d.ts.map +1 -0
  210. package/dist/composables/useCalendarKeyboard.js +91 -0
  211. package/dist/composables/useFieldDescribedBy.d.ts +30 -0
  212. package/dist/composables/useFieldDescribedBy.d.ts.map +1 -0
  213. package/dist/composables/useFieldDescribedBy.js +11 -0
  214. package/dist/composables/useMessages.d.ts.map +1 -1
  215. package/dist/composables/useMessages.js +6 -6
  216. package/dist/composables/usePopover.d.ts.map +1 -1
  217. package/dist/composables/usePopover.js +10 -0
  218. package/dist/composables/useScrollShadows.d.ts +3 -0
  219. package/dist/composables/useScrollShadows.d.ts.map +1 -1
  220. package/dist/composables/useScrollShadows.js +15 -12
  221. package/dist/composables/useTheme.d.ts.map +1 -1
  222. package/dist/composables/useTheme.js +25 -21
  223. package/dist/icons/builtin.d.ts.map +1 -1
  224. package/dist/icons/builtin.js +38 -37
  225. package/dist/index.d.ts +3 -2
  226. package/dist/index.d.ts.map +1 -1
  227. package/dist/index.js +185 -182
  228. package/dist/messages.d.ts +39 -4
  229. package/dist/messages.d.ts.map +1 -1
  230. package/dist/messages.js +8 -7
  231. package/dist/types/common.d.ts +90 -0
  232. package/dist/types/common.d.ts.map +1 -1
  233. package/dist/utils/colorIconMap.d.ts +47 -3
  234. package/dist/utils/colorIconMap.d.ts.map +1 -1
  235. package/dist/utils/colorIconMap.js +20 -5
  236. package/dist/utils/date.d.ts +13 -0
  237. package/dist/utils/date.d.ts.map +1 -1
  238. package/dist/utils/date.js +46 -40
  239. package/dist/utils/sizing.d.ts +26 -1
  240. package/dist/utils/sizing.d.ts.map +1 -1
  241. package/dist/utils/sizing.js +22 -21
  242. package/dist/version.js +1 -1
  243. package/package.json +1 -2
@@ -1,15 +1,23 @@
1
- import type { HideableProps } from "../types/common";
2
- export interface CuiModalHeaderProps extends HideableProps {
1
+ import type { HideableProps, TitleAsProps } from "../types/common";
2
+ export interface CuiModalHeaderProps extends HideableProps, TitleAsProps {
3
3
  /** Convenience: title text */
4
4
  title?: string;
5
+ /**
6
+ * id for the title element, so the dialog can point `aria-labelledby` at it.
7
+ *
8
+ * `CuiModal` and `CuiSlideover` generate one and pass it down. Without it their
9
+ * `aria-labelledby` referenced an id that was never rendered, so every titled dialog
10
+ * in the library was announced unnamed (#158).
11
+ */
12
+ titleId?: string;
5
13
  /** Hide the close button */
6
14
  noCloseButton?: boolean;
7
15
  }
8
- declare var __VLS_1: {}, __VLS_3: {};
16
+ declare var __VLS_1: {}, __VLS_7: {};
9
17
  type __VLS_Slots = {} & {
10
18
  default?: (props: typeof __VLS_1) => any;
11
19
  } & {
12
- actions?: (props: typeof __VLS_3) => any;
20
+ actions?: (props: typeof __VLS_7) => any;
13
21
  };
14
22
  declare const __VLS_component: import("vue").DefineComponent<CuiModalHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
23
  close: () => any;
@@ -18,6 +26,7 @@ declare const __VLS_component: import("vue").DefineComponent<CuiModalHeaderProps
18
26
  }>, {
19
27
  hidden: boolean;
20
28
  noCloseButton: boolean;
29
+ titleAs: import("../index.js").CuiTitleAs;
21
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
31
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
32
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CuiModalHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiModalHeader.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AA6GD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB/C,QAAA,MAAM,eAAe;;;;;;mBAzIH,OAAO;6EAiJvB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CuiModalHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiModalHeader.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGnE,MAAM,WAAW,mBAAoB,SAAQ,aAAa,EAAE,YAAY;IACtE,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4BAA4B;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAmID,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB/C,QAAA,MAAM,eAAe;;;;;;mBA/JH,OAAO;;6EAuKvB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,47 +1,59 @@
1
- import { defineComponent as u, withDirectives as m, openBlock as r, createElementBlock as o, createElementVNode as y, renderSlot as n, toDisplayString as g, createCommentVNode as s, unref as f, createVNode as p, vShow as v } from "vue";
2
- import h from "./CuiIcon.vue.js";
3
- import { useMessages as b } from "../composables/useMessages.js";
4
- const k = { style: {
5
- display: "flex",
6
- alignItems: "flex-start",
7
- gap: "calc(0.75rem * var(--cui-density-scale, 1))",
8
- padding: "calc(1.25rem * var(--cui-density-scale, 1)) calc(1.5rem * var(--cui-density-scale, 1)) calc(0.25rem * var(--cui-density-scale, 1))",
9
- flexShrink: "0",
10
- background: "var(--cui-surface-base)",
11
- position: "relative",
12
- zIndex: "1"
13
- } }, x = { style: { flex: "1", "min-width": "0" } }, C = {
14
- key: 0,
1
+ import { defineComponent as u, withDirectives as m, openBlock as a, createElementBlock as o, createElementVNode as y, renderSlot as s, createBlock as g, resolveDynamicComponent as f, withCtx as v, createTextVNode as h, toDisplayString as p, createCommentVNode as l, unref as k, createVNode as x, vShow as b } from "vue";
2
+ import C from "./CuiIcon.vue.js";
3
+ import { useMessages as B } from "../composables/useMessages.js";
4
+ const I = {
5
+ class: "cui-modal-header",
15
6
  style: {
16
- fontSize: "1.125rem",
17
- fontWeight: "600",
18
- lineHeight: "1.4",
19
- color: "var(--cui-text-emphasis)",
20
- margin: "0"
7
+ display: "flex",
8
+ alignItems: "flex-start",
9
+ gap: "calc(0.75rem * var(--cui-density-scale, 1))",
10
+ padding: "calc(1.25rem * var(--cui-density-scale, 1)) calc(1.5rem * var(--cui-density-scale, 1)) calc(0.25rem * var(--cui-density-scale, 1))",
11
+ flexShrink: "0",
12
+ background: "var(--cui-surface-base)",
13
+ position: "relative",
14
+ zIndex: "1"
21
15
  }
22
- }, B = {
16
+ }, S = { style: { flex: "1", "min-width": "0" } }, w = {
23
17
  key: 0,
24
18
  style: { display: "flex", "align-items": "center", gap: "calc(0.5rem * var(--cui-density-scale, 1))", "flex-shrink": "0" }
25
- }, S = ["aria-label"], z = /* @__PURE__ */ u({
19
+ }, M = ["aria-label"], D = /* @__PURE__ */ u({
26
20
  __name: "CuiModalHeader",
27
21
  props: {
28
22
  title: {},
23
+ titleId: {},
29
24
  noCloseButton: { type: Boolean, default: !1 },
30
- hidden: { type: Boolean, default: !1 }
25
+ hidden: { type: Boolean, default: !1 },
26
+ titleAs: { default: "h2" }
31
27
  },
32
28
  emits: ["close"],
33
- setup(i, { emit: l }) {
34
- const c = l, d = b();
35
- return (a, e) => m((r(), o("div", k, [
36
- y("div", x, [
37
- n(a.$slots, "default", {}, () => [
38
- i.title ? (r(), o("h2", C, g(i.title), 1)) : s("", !0)
29
+ setup(e, { emit: n }) {
30
+ const c = n, d = B();
31
+ return (r, t) => m((a(), o("div", I, [
32
+ y("div", S, [
33
+ s(r.$slots, "default", {}, () => [
34
+ e.title ? (a(), g(f(e.titleAs), {
35
+ key: 0,
36
+ id: e.titleId,
37
+ class: "cui-modal-header__title",
38
+ style: {
39
+ fontSize: "1.125rem",
40
+ fontWeight: "600",
41
+ lineHeight: "1.4",
42
+ color: "var(--cui-text-emphasis)",
43
+ margin: "0"
44
+ }
45
+ }, {
46
+ default: v(() => [
47
+ h(p(e.title), 1)
48
+ ]),
49
+ _: 1
50
+ }, 8, ["id"])) : l("", !0)
39
51
  ])
40
52
  ]),
41
- a.$slots.actions ? (r(), o("div", B, [
42
- n(a.$slots, "actions")
43
- ])) : s("", !0),
44
- i.noCloseButton ? s("", !0) : (r(), o("button", {
53
+ r.$slots.actions ? (a(), o("div", w, [
54
+ s(r.$slots, "actions")
55
+ ])) : l("", !0),
56
+ e.noCloseButton ? l("", !0) : (a(), o("button", {
45
57
  key: 1,
46
58
  type: "button",
47
59
  style: {
@@ -61,25 +73,25 @@ const k = { style: {
61
73
  marginRight: "calc(-0.25rem * var(--cui-density-scale, 1))",
62
74
  transition: "color 0.15s ease, background 0.15s ease"
63
75
  },
64
- "aria-label": f(d).close,
65
- onClick: e[0] || (e[0] = (t) => c("close")),
66
- onMouseenter: e[1] || (e[1] = (t) => {
67
- t.target.style.color = "var(--cui-text-body)", t.target.style.background = "var(--cui-primary-bg)";
76
+ "aria-label": k(d).close,
77
+ onClick: t[0] || (t[0] = (i) => c("close")),
78
+ onMouseenter: t[1] || (t[1] = (i) => {
79
+ i.target.style.color = "var(--cui-text-body)", i.target.style.background = "var(--cui-primary-bg)";
68
80
  }),
69
- onMouseleave: e[2] || (e[2] = (t) => {
70
- t.target.style.color = "var(--cui-text-tertiary)", t.target.style.background = "none";
81
+ onMouseleave: t[2] || (t[2] = (i) => {
82
+ i.target.style.color = "var(--cui-text-tertiary)", i.target.style.background = "none";
71
83
  })
72
84
  }, [
73
- p(h, {
85
+ x(C, {
74
86
  name: "x",
75
87
  size: "1rem"
76
88
  })
77
- ], 40, S))
89
+ ], 40, M))
78
90
  ], 512)), [
79
- [v, !i.hidden]
91
+ [b, !e.hidden]
80
92
  ]);
81
93
  }
82
94
  });
83
95
  export {
84
- z as default
96
+ D as default
85
97
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./CuiPagination.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8a10cffd"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fc0b9696"]]);
5
5
  export {
6
- r as default
6
+ f as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CuiPopover.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiPopover.vue"],"names":[],"mappings":"AAsRA,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGnF,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAAC;AAEzE,MAAM,WAAW,eAAgB,SAAQ,aAAa,EAAE,gBAAgB;IACtE,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,mCAAmC;IACnC,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB;AAsRD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACrF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAgD/C,QAAA,MAAM,eAAe;;;;;;aA5UT,UAAU;;eAlBR,gBAAgB;aAElB,cAAc;eAEZ,MAAM;eAEN,MAAM;aAER,OAAO;cAQN,OAAO;6EAsVlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CuiPopover.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiPopover.vue"],"names":[],"mappings":"AAiTA,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGnF,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,CAAC;AAEzE,MAAM,WAAW,eAAgB,SAAQ,aAAa,EAAE,gBAAgB;IACtE,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,mCAAmC;IACnC,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB;AAmTD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACrF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAiD/C,QAAA,MAAM,eAAe;;;;;;aA1WT,UAAU;;eAlBR,gBAAgB;aAElB,cAAc;eAEZ,MAAM;eAEN,MAAM;aAER,OAAO;cAQN,OAAO;6EAoXlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,9 +1,9 @@
1
- import { defineComponent as K, useSlots as U, ref as S, watch as M, computed as l, onUnmounted as q, withDirectives as G, openBlock as a, createElementBlock as s, createElementVNode as y, renderSlot as f, createBlock as J, Teleport as Q, normalizeStyle as p, unref as g, toDisplayString as X, withModifiers as Y, createVNode as Z, createCommentVNode as u, vShow as ee } from "vue";
2
- import { usePopover as te } from "../composables/usePopover.js";
3
- import { useClickOutside as oe } from "../composables/useClickOutside.js";
4
- import re from "./CuiIcon.vue.js";
5
- import { useMessages as ie } from "../composables/useMessages.js";
6
- const le = ["aria-labelledby"], ae = {
1
+ import { defineComponent as q, useSlots as G, ref as S, watch as E, computed as r, onUnmounted as J, withDirectives as Q, openBlock as n, createElementBlock as s, createElementVNode as p, renderSlot as f, createBlock as X, Teleport as Y, normalizeStyle as y, unref as g, toDisplayString as Z, withModifiers as ee, createVNode as te, createCommentVNode as u, vShow as oe } from "vue";
2
+ import { usePopover as ie } from "../composables/usePopover.js";
3
+ import { useClickOutside as re } from "../composables/useClickOutside.js";
4
+ import ae from "./CuiIcon.vue.js";
5
+ import { useMessages as ne } from "../composables/useMessages.js";
6
+ const le = ["aria-labelledby"], se = {
7
7
  key: 0,
8
8
  style: {
9
9
  display: "flex",
@@ -12,12 +12,12 @@ const le = ["aria-labelledby"], ae = {
12
12
  gap: "calc(0.5rem * var(--cui-density-scale, 1))",
13
13
  padding: "calc(0.75rem * var(--cui-density-scale, 1)) calc(0.875rem * var(--cui-density-scale, 1)) calc(0.25rem * var(--cui-density-scale, 1))"
14
14
  }
15
- }, ne = ["id"], se = ["aria-label"], ce = {
15
+ }, ce = ["id"], ue = ["aria-label"], de = {
16
16
  key: 1,
17
17
  style: {
18
18
  padding: "0 calc(0.875rem * var(--cui-density-scale, 1)) calc(0.75rem * var(--cui-density-scale, 1))"
19
19
  }
20
- }, pe = /* @__PURE__ */ K({
20
+ }, he = /* @__PURE__ */ q({
21
21
  __name: "CuiPopover",
22
22
  props: {
23
23
  title: {},
@@ -35,80 +35,80 @@ const le = ["aria-labelledby"], ae = {
35
35
  disabled: { type: Boolean, default: !1 }
36
36
  },
37
37
  emits: ["update:visible"],
38
- setup(c, { emit: R }) {
39
- const e = c, T = {
38
+ setup(c, { emit: M }) {
39
+ const e = c, R = {
40
40
  none: "0",
41
- sm: "0.25rem",
42
- md: "var(--cui-button-radius, 0.375rem)",
43
- lg: "0.5rem",
41
+ sm: "var(--cui-radius-sm, 0.25rem)",
42
+ md: "var(--cui-button-radius, var(--cui-radius-md, 0.375rem))",
43
+ lg: "var(--cui-radius-lg, 0.5rem)",
44
44
  full: "9999px"
45
- }, d = R, h = U(), o = S(!1);
46
- let n = null, r = null;
47
- M(
45
+ }, d = M, h = G(), o = S(!1);
46
+ let l = null, i = null;
47
+ E(
48
48
  () => e.visible,
49
49
  (t) => {
50
50
  t !== void 0 && (o.value = t);
51
51
  }
52
52
  );
53
- const { referenceRef: C, floatingRef: b, arrowRef: E, floatingStyles: D, arrowStyle: B, currentSide: _ } = te({
54
- placement: l(() => e.placement),
55
- offsetDistance: l(() => e.offset ?? 10),
53
+ const { referenceRef: T, floatingRef: b, arrowRef: C, floatingStyles: _, arrowStyle: D, currentSide: B, isPositioned: P } = ie({
54
+ placement: r(() => e.placement),
55
+ offsetDistance: r(() => e.offset ?? 10),
56
56
  arrow: !e.noArrow
57
57
  }), w = S(null);
58
- oe(
58
+ re(
59
59
  () => [w.value, b.value],
60
60
  () => {
61
- o.value && e.trigger === "click" && i();
61
+ o.value && e.trigger === "click" && a();
62
62
  }
63
- ), M(o, (t) => {
63
+ ), E(o, (t) => {
64
64
  typeof document > "u" || (t ? document.addEventListener("keydown", m) : document.removeEventListener("keydown", m));
65
65
  });
66
66
  function v() {
67
- e.disabled || (r && (clearTimeout(r), r = null), e.showDelay > 0 ? n = setTimeout(() => {
67
+ e.disabled || (i && (clearTimeout(i), i = null), e.showDelay > 0 ? l = setTimeout(() => {
68
68
  o.value = !0, d("update:visible", !0);
69
69
  }, e.showDelay) : (o.value = !0, d("update:visible", !0)));
70
70
  }
71
- function i() {
72
- n && (clearTimeout(n), n = null), e.hideDelay > 0 ? r = setTimeout(() => {
71
+ function a() {
72
+ l && (clearTimeout(l), l = null), e.hideDelay > 0 ? i = setTimeout(() => {
73
73
  o.value = !1, d("update:visible", !1);
74
74
  }, e.hideDelay) : (o.value = !1, d("update:visible", !1));
75
75
  }
76
76
  function I() {
77
- o.value ? i() : v();
78
- }
79
- function P() {
80
- (e.trigger === "hover" || e.trigger === "hover-focus") && v();
77
+ o.value ? a() : v();
81
78
  }
82
79
  function z() {
83
- (e.trigger === "hover" || e.trigger === "hover-focus") && i();
80
+ (e.trigger === "hover" || e.trigger === "hover-focus") && v();
84
81
  }
85
82
  function F() {
86
- (e.trigger === "focus" || e.trigger === "hover-focus") && v();
83
+ (e.trigger === "hover" || e.trigger === "hover-focus") && a();
87
84
  }
88
85
  function L() {
89
- (e.trigger === "focus" || e.trigger === "hover-focus") && i();
86
+ (e.trigger === "focus" || e.trigger === "hover-focus") && v();
90
87
  }
91
88
  function V() {
89
+ (e.trigger === "focus" || e.trigger === "hover-focus") && a();
90
+ }
91
+ function $() {
92
92
  e.trigger === "click" && I();
93
93
  }
94
94
  function m(t) {
95
- t.key === "Escape" && o.value && i();
96
- }
97
- function $() {
98
- (e.trigger === "hover" || e.trigger === "hover-focus") && r && (clearTimeout(r), r = null);
95
+ t.key === "Escape" && o.value && a();
99
96
  }
100
97
  function A() {
101
- (e.trigger === "hover" || e.trigger === "hover-focus") && i();
98
+ (e.trigger === "hover" || e.trigger === "hover-focus") && i && (clearTimeout(i), i = null);
99
+ }
100
+ function H() {
101
+ (e.trigger === "hover" || e.trigger === "hover-focus") && a();
102
102
  }
103
- q(() => {
104
- n && clearTimeout(n), r && clearTimeout(r), typeof document < "u" && document.removeEventListener("keydown", m);
103
+ J(() => {
104
+ l && clearTimeout(l), i && clearTimeout(i), typeof document < "u" && document.removeEventListener("keydown", m);
105
105
  });
106
- const k = l(() => e.title || h.header), H = l(() => !!h.footer), x = l(() => e.title ? "cui-popover-title" : void 0), N = l(() => {
106
+ const k = r(() => e.title || h.header), N = r(() => !!h.footer), x = r(() => e.title ? "cui-popover-title" : void 0), W = r(() => {
107
107
  const t = {
108
108
  zIndex: "9998",
109
109
  background: "var(--cui-surface-base)",
110
110
  border: "1px solid var(--cui-border)",
111
- borderRadius: T[e.rounded],
111
+ borderRadius: R[e.rounded],
112
112
  boxShadow: "0 8px 24px -4px rgba(0, 0, 0, 0.12), 0 2px 8px -2px rgba(0, 0, 0, 0.08)",
113
113
  minWidth: "12rem",
114
114
  maxWidth: "24rem",
@@ -117,56 +117,61 @@ const le = ["aria-labelledby"], ae = {
117
117
  overflow: "hidden"
118
118
  };
119
119
  return e.width && (t.width = e.width), t;
120
- }), W = l(() => ({
120
+ }), j = r(() => {
121
+ const t = {};
122
+ return P.value || (t.opacity = "0", t.pointerEvents = "none", t.animation = "none"), t;
123
+ }), O = r(() => ({
121
124
  width: "8px",
122
125
  height: "8px",
123
126
  background: "var(--cui-surface-base)",
124
127
  border: "1px solid var(--cui-border)",
125
128
  transform: "rotate(45deg)",
126
129
  position: "absolute",
127
- ...B.value
128
- })), j = {
130
+ ...D.value
131
+ })), U = {
129
132
  top: "polygon(0% 0%, 100% 0%, 100% 100%)",
130
133
  bottom: "polygon(0% 0%, 0% 100%, 100% 100%)",
131
134
  left: "polygon(0% 0%, 100% 0%, 100% 100%)",
132
135
  right: "polygon(0% 0%, 0% 100%, 100% 100%)"
133
- }, O = ie();
134
- return (t, ue) => G((a(), s("div", {
136
+ }, K = ne();
137
+ return (t, fe) => Q((n(), s("div", {
138
+ class: "cui-popover",
135
139
  ref_key: "wrapperRef",
136
140
  ref: w,
137
141
  style: { display: "inline-flex" },
138
- onMouseenter: P,
139
- onMouseleave: z,
140
- onFocusin: F,
141
- onFocusout: L,
142
- onClick: V
142
+ onMouseenter: z,
143
+ onMouseleave: F,
144
+ onFocusin: L,
145
+ onFocusout: V,
146
+ onClick: $
143
147
  }, [
144
- y("div", {
148
+ p("div", {
145
149
  ref_key: "referenceRef",
146
- ref: C,
150
+ ref: T,
147
151
  style: { display: "inline-flex" }
148
152
  }, [
149
153
  f(t.$slots, "default")
150
154
  ], 512),
151
- (a(), J(Q, { to: "body" }, [
152
- o.value ? (a(), s("div", {
155
+ (n(), X(Y, { to: "body" }, [
156
+ o.value ? (n(), s("div", {
153
157
  key: 0,
154
158
  ref_key: "floatingRef",
155
159
  ref: b,
156
- style: p({ ...g(D), ...N.value }),
160
+ class: "cui-popover__panel",
161
+ style: y({ ...g(_), ...W.value, ...j.value }),
157
162
  role: "dialog",
158
163
  "aria-labelledby": x.value,
159
- onMouseenter: $,
160
- onMouseleave: A
164
+ onMouseenter: A,
165
+ onMouseleave: H
161
166
  }, [
162
- k.value ? (a(), s("div", ae, [
167
+ k.value ? (n(), s("div", se, [
163
168
  f(t.$slots, "header", {}, () => [
164
- y("span", {
169
+ p("span", {
165
170
  id: x.value,
166
171
  style: { fontSize: "0.875rem", fontWeight: "600", color: "var(--cui-text-body)" }
167
- }, X(c.title), 9, ne)
172
+ }, Z(c.title), 9, ce)
168
173
  ]),
169
- c.closable ? (a(), s("button", {
174
+ c.closable ? (n(), s("button", {
170
175
  key: 0,
171
176
  type: "button",
172
177
  style: {
@@ -184,17 +189,17 @@ const le = ["aria-labelledby"], ae = {
184
189
  marginTop: "calc(-0.0625rem * var(--cui-density-scale, 1))",
185
190
  marginRight: "calc(-0.125rem * var(--cui-density-scale, 1))"
186
191
  },
187
- "aria-label": g(O).close,
188
- onClick: Y(i, ["stop"])
192
+ "aria-label": g(K).close,
193
+ onClick: ee(a, ["stop"])
189
194
  }, [
190
- Z(re, {
195
+ te(ae, {
191
196
  name: "x",
192
197
  size: "0.8125rem"
193
198
  })
194
- ], 8, se)) : u("", !0)
199
+ ], 8, ue)) : u("", !0)
195
200
  ])) : u("", !0),
196
- y("div", {
197
- style: p({
201
+ p("div", {
202
+ style: y({
198
203
  padding: k.value ? "calc(0.25rem * var(--cui-density-scale, 1)) calc(0.875rem * var(--cui-density-scale, 1)) calc(0.75rem * var(--cui-density-scale, 1))" : "calc(0.75rem * var(--cui-density-scale, 1)) calc(0.875rem * var(--cui-density-scale, 1))",
199
204
  fontSize: "0.875rem",
200
205
  lineHeight: "1.55",
@@ -203,25 +208,25 @@ const le = ["aria-labelledby"], ae = {
203
208
  }, [
204
209
  f(t.$slots, "content")
205
210
  ], 4),
206
- H.value ? (a(), s("div", ce, [
211
+ N.value ? (n(), s("div", de, [
207
212
  f(t.$slots, "footer")
208
213
  ])) : u("", !0),
209
- c.noArrow ? u("", !0) : (a(), s("div", {
214
+ c.noArrow ? u("", !0) : (n(), s("div", {
210
215
  key: 2,
211
216
  ref_key: "arrowRef",
212
- ref: E,
213
- style: p({
214
- ...W.value,
215
- clipPath: j[g(_)] || void 0
217
+ ref: C,
218
+ style: y({
219
+ ...O.value,
220
+ clipPath: U[g(B)] || void 0
216
221
  })
217
222
  }, null, 4))
218
223
  ], 44, le)) : u("", !0)
219
224
  ]))
220
225
  ], 544)), [
221
- [ee, !c.hidden]
226
+ [oe, !c.hidden]
222
227
  ]);
223
228
  }
224
229
  });
225
230
  export {
226
- pe as default
231
+ he as default
227
232
  };
@@ -1,5 +1,5 @@
1
- import type { HideableProps, ColorableProps, DisableableProps } from "../types/common";
2
- export interface CuiRadioProps extends HideableProps, ColorableProps, DisableableProps {
1
+ import type { HideableProps, ColorableProps, DisableableProps, NativeControlProps } from "../types/common";
2
+ export interface CuiRadioProps extends NativeControlProps, HideableProps, ColorableProps, DisableableProps {
3
3
  /** The value this radio represents */
4
4
  value: string | number | boolean;
5
5
  /** v-model binding (standalone mode) */
@@ -8,8 +8,6 @@ export interface CuiRadioProps extends HideableProps, ColorableProps, Disableabl
8
8
  label?: string;
9
9
  /** Description text (or use #description slot) */
10
10
  description?: string;
11
- /** Name attribute (standalone mode) */
12
- name?: string;
13
11
  /** Readonly state */
14
12
  readonly?: boolean;
15
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CuiRadio.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiRadio.vue"],"names":[],"mappings":"AAkVA,OAAO,KAAK,EAAY,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGjG,MAAM,WAAW,aAAc,SAAQ,aAAa,EAAE,cAAc,EAAE,gBAAgB;IACpF,sCAAsC;IACtC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACjC,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACvC,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA8ND,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA+BnD,QAAA,MAAM,eAAe;;;;;;;;cAlQR,OAAO;;;6EA2QlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CuiRadio.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiRadio.vue"],"names":[],"mappings":"AAyVA,OAAO,KAAK,EAAY,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrH,MAAM,WAAW,aAAc,SAAQ,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB;IACxG,sCAAsC;IACtC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACjC,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACvC,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuOD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA+BnD,QAAA,MAAM,eAAe;;;;;;;;cA3QR,OAAO;;;6EAoRlB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CuiRadio.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-76a00504"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bfe1e595"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };