@nmorph/nmorph-ui-kit 2.2.59 → 3.0.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 (315) hide show
  1. package/dist/assets/icons/expand.svg.js +13 -6
  2. package/dist/assets/icons/hand.svg.js +21 -0
  3. package/dist/assets/icons/list-simple.svg.js +21 -0
  4. package/dist/assets/icons/pagination.svg.js +18 -5
  5. package/dist/assets/icons/speaker-off.svg.js +28 -0
  6. package/dist/assets/icons/speaker.svg.js +21 -0
  7. package/dist/assets/icons/triangle-down.svg.js +6 -6
  8. package/dist/assets/icons/video-camera-off.svg.js +28 -0
  9. package/dist/components/basic/nmorph-button/NmorphButton.css +1 -1
  10. package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +20 -20
  11. package/dist/components/basic/nmorph-button/types.js +12 -4
  12. package/dist/components/basic/nmorph-icon/NmorphIcon.css +1 -1
  13. package/dist/components/basic/nmorph-icon/NmorphIcon.vue2.js +10 -10
  14. package/dist/components/basic/nmorph-icon/NmorphIcons.js +405 -395
  15. package/dist/components/basic/nmorph-icon/types.js +6 -2
  16. package/dist/components/basic/nmorph-layout/NmorphLayout.css +1 -1
  17. package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +7 -7
  18. package/dist/components/basic/nmorph-link/NmorphLink.css +1 -1
  19. package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +7 -7
  20. package/dist/components/basic/nmorph-link/types.js +7 -2
  21. package/dist/components/basic/nmorph-scroll/NmorphScroll.css +1 -1
  22. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.js +4 -3
  23. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +123 -112
  24. package/dist/components/basic/nmorph-scroll/types.js +13 -3
  25. package/dist/components/basic/nmorph-space/NmorphSpace.css +1 -1
  26. package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +9 -9
  27. package/dist/components/basic/nmorph-text/NmorphText.vue.js +19 -0
  28. package/dist/components/basic/nmorph-text/NmorphText.vue2.js +50 -0
  29. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.css +1 -1
  30. package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue2.js +22 -12
  31. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.css +1 -1
  32. package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue2.js +8 -6
  33. package/dist/components/data/nmorph-avatar/NmorphAvatar.css +1 -1
  34. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.js +54 -51
  35. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue2.js +41 -36
  36. package/dist/components/data/nmorph-badge/NmorphBadge.css +1 -1
  37. package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +47 -51
  38. package/dist/components/data/nmorph-calendar/NmorphCalendar.css +1 -1
  39. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.js +34 -32
  40. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +35 -34
  41. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.css +1 -1
  42. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.js +25 -22
  43. package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue2.js +10 -9
  44. package/dist/components/data/nmorph-card/NmorphCard.css +1 -1
  45. package/dist/components/data/nmorph-card/NmorphCard.vue2.js +20 -19
  46. package/dist/components/data/nmorph-carousel/NmorphCarousel.css +1 -0
  47. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.js +12 -10
  48. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue2.js +23 -20
  49. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.css +1 -1
  50. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.js +29 -17
  51. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +35 -29
  52. package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.css +1 -1
  53. package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.js +12 -12
  54. package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue2.js +103 -89
  55. package/dist/components/data/nmorph-empty/NmorphEmpty.css +1 -1
  56. package/dist/components/data/nmorph-empty/NmorphEmpty.vue2.js +12 -12
  57. package/dist/components/data/nmorph-file-card/NmorphFileCard.css +1 -1
  58. package/dist/components/data/nmorph-file-card/NmorphFileCard.vue2.js +2 -2
  59. package/dist/components/data/nmorph-image/NmorphImage.css +1 -1
  60. package/dist/components/data/nmorph-image/NmorphImage.vue2.js +32 -20
  61. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.css +1 -1
  62. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.js +66 -62
  63. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +53 -51
  64. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
  65. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.js +17 -15
  66. package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue2.js +56 -54
  67. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.css +1 -1
  68. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue.js +21 -21
  69. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +9 -8
  70. package/dist/components/data/nmorph-pagination/NmorphPagination.css +1 -1
  71. package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +50 -50
  72. package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +23 -23
  73. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.css +1 -1
  74. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.js +14 -12
  75. package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue2.js +22 -18
  76. package/dist/components/data/nmorph-progress/NmorphProgress.css +1 -1
  77. package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +22 -22
  78. package/dist/components/data/nmorph-qr-code/NmorphQRCode.css +1 -1
  79. package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue2.js +18 -19
  80. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.css +1 -1
  81. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +5 -5
  82. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.css +1 -1
  83. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.js +7 -7
  84. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue2.js +4 -4
  85. package/dist/components/data/nmorph-skeleton/types.js +6 -2
  86. package/dist/components/data/nmorph-table/NmorphTable.css +1 -1
  87. package/dist/components/data/nmorph-table/NmorphTable.vue2.js +13 -13
  88. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.css +1 -1
  89. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.js +36 -40
  90. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue2.js +14 -23
  91. package/dist/components/data/nmorph-tag-list/NmorphTagList.css +1 -1
  92. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue.js +38 -44
  93. package/dist/components/data/nmorph-tag-list/NmorphTagList.vue2.js +14 -29
  94. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.css +1 -1
  95. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue2.js +34 -34
  96. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.css +1 -1
  97. package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +26 -22
  98. package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.css +1 -1
  99. package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue2.js +6 -6
  100. package/dist/components/feedback/nmorph-alert/NmorphAlert.css +1 -1
  101. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +10 -10
  102. package/dist/components/feedback/nmorph-alert/types.js +6 -1
  103. package/dist/components/feedback/nmorph-callout/NmorphCallout.css +1 -1
  104. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +16 -16
  105. package/dist/components/feedback/nmorph-dialog/NmorphDialog.css +1 -1
  106. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +36 -35
  107. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.css +1 -1
  108. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +9 -9
  109. package/dist/components/feedback/nmorph-guide/NmorphGuideStep.css +1 -1
  110. package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +33 -33
  111. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.css +1 -1
  112. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +21 -21
  113. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.css +1 -1
  114. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.js +21 -18
  115. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +20 -20
  116. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.css +1 -1
  117. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue.js +15 -15
  118. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +30 -31
  119. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.js +20 -21
  120. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue2.js +28 -28
  121. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.css +1 -1
  122. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +27 -27
  123. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.css +1 -1
  124. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +40 -38
  125. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.js +94 -108
  126. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue2.js +14 -19
  127. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.js +55 -64
  128. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue2.js +32 -37
  129. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.css +1 -1
  130. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.js +10 -10
  131. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +1 -1
  132. package/dist/components/form/nmorph-file-upload/types.js +34 -16
  133. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.css +1 -1
  134. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.js +12 -12
  135. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +7 -7
  136. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +6 -6
  137. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.css +1 -1
  138. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.js +12 -13
  139. package/dist/components/form/nmorph-number-input/NmorphNumberInput.css +1 -1
  140. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.js +41 -37
  141. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +28 -28
  142. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.css +1 -1
  143. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue.js +19 -19
  144. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +37 -37
  145. package/dist/components/form/nmorph-radio/NmorphRadio.css +1 -1
  146. package/dist/components/form/nmorph-radio/NmorphRadio.vue.js +4 -4
  147. package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +21 -21
  148. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue.js +18 -18
  149. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue2.js +21 -21
  150. package/dist/components/form/nmorph-select/NmorphSelect.css +1 -1
  151. package/dist/components/form/nmorph-select/NmorphSelect.vue.js +86 -77
  152. package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +52 -52
  153. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.css +1 -1
  154. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +21 -21
  155. package/dist/components/form/nmorph-select-button/NmorphSelectButton.css +1 -1
  156. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +27 -23
  157. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.css +1 -1
  158. package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.js +13 -11
  159. package/dist/components/form/nmorph-slider/NmorphSlider.css +1 -1
  160. package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +52 -47
  161. package/dist/components/form/nmorph-switch/NmorphSwitch.css +1 -1
  162. package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +26 -26
  163. package/dist/components/form/nmorph-text-input/NmorphTextInput.css +1 -1
  164. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +35 -36
  165. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +49 -36
  166. package/dist/components/form/nmorph-textarea/NmorphTextarea.css +1 -1
  167. package/dist/components/form/nmorph-textarea/NmorphTextarea.vue2.js +18 -18
  168. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.css +1 -1
  169. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.js +1 -1
  170. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +44 -44
  171. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.css +1 -1
  172. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.js +11 -11
  173. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue2.js +15 -15
  174. package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.css +1 -1
  175. package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.vue2.js +9 -9
  176. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.css +1 -1
  177. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +6 -5
  178. package/dist/components/navigation/nmorph-stepper/NmorphStepper.vue2.js +20 -20
  179. package/dist/components/others/nmorph-divider/NmorphDivider.css +1 -1
  180. package/dist/components/others/nmorph-divider/NmorphDivider.vue2.js +9 -8
  181. package/dist/components/others/nmorph-overlay/NmorphOverlay.css +1 -1
  182. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +13 -13
  183. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.css +1 -1
  184. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +35 -25
  185. package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +22 -25
  186. package/dist/components/providers/nmorph-notification-provider/types.js +9 -2
  187. package/dist/emoji/base.js +571 -20
  188. package/dist/hooks/use-common-styles.js +228 -49
  189. package/dist/hooks/use-field-validation.js +42 -45
  190. package/dist/hooks/use-virtual-list.js +65 -57
  191. package/dist/icons.js +405 -395
  192. package/dist/index.es.js +854 -840
  193. package/dist/index.umd.js +245 -75
  194. package/dist/package.json.js +1 -1
  195. package/dist/plugin.js +37 -34
  196. package/dist/src/components/basic/index.d.ts +2 -0
  197. package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +2 -2
  198. package/dist/src/components/basic/nmorph-button/types.d.ts +17 -19
  199. package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +1 -1
  200. package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +5 -0
  201. package/dist/src/components/basic/nmorph-icon/types.d.ts +7 -6
  202. package/dist/src/components/basic/nmorph-link/types.d.ts +9 -8
  203. package/dist/src/components/basic/nmorph-scroll/types.d.ts +16 -14
  204. package/dist/src/components/basic/nmorph-text/NmorphText.vue.d.ts +20 -0
  205. package/dist/src/components/basic/nmorph-text/types.d.ts +12 -0
  206. package/dist/src/components/data/nmorph-audio-meter/NmorphAudioMeter.vue.d.ts +5 -1
  207. package/dist/src/components/data/nmorph-audio-meter/types.d.ts +4 -0
  208. package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -0
  209. package/dist/src/components/data/nmorph-avatar/types.d.ts +3 -2
  210. package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +3 -2
  211. package/dist/src/components/data/nmorph-badge/types.d.ts +3 -8
  212. package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +1 -0
  213. package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -1
  214. package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/types.d.ts +2 -0
  215. package/dist/src/components/data/nmorph-calendar/types.d.ts +2 -1
  216. package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +1 -0
  217. package/dist/src/components/data/nmorph-card/types.d.ts +2 -1
  218. package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +1 -0
  219. package/dist/src/components/data/nmorph-carousel/types.d.ts +2 -0
  220. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +1 -1
  221. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/types.d.ts +2 -2
  222. package/dist/src/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.d.ts +7 -1
  223. package/dist/src/components/data/nmorph-emoji-picker/types.d.ts +6 -0
  224. package/dist/src/components/data/nmorph-empty/NmorphEmpty.vue.d.ts +1 -2
  225. package/dist/src/components/data/nmorph-file-card/NmorphFileCard.vue.d.ts +1 -1
  226. package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +3 -0
  227. package/dist/src/components/data/nmorph-image/types.d.ts +2 -1
  228. package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -1
  229. package/dist/src/components/data/nmorph-image-preview/types.d.ts +2 -0
  230. package/dist/src/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.d.ts +2 -0
  231. package/dist/src/components/data/nmorph-media-gallery/types.d.ts +2 -0
  232. package/dist/src/components/data/nmorph-media-tile/NmorphMediaTile.vue.d.ts +1 -0
  233. package/dist/src/components/data/nmorph-media-tile/types.d.ts +1 -0
  234. package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
  235. package/dist/src/components/data/nmorph-pagination/types.d.ts +2 -2
  236. package/dist/src/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.d.ts +4 -0
  237. package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +2 -3
  238. package/dist/src/components/data/nmorph-skeleton/types.d.ts +6 -5
  239. package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +1 -1
  240. package/dist/src/components/data/nmorph-table/types.d.ts +2 -2
  241. package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +3 -4
  242. package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +2 -3
  243. package/dist/src/components/data/nmorph-tag-list/types.d.ts +2 -2
  244. package/dist/src/components/data/nmorph-video-preview/NmorphVideoPreview.vue.d.ts +3 -1
  245. package/dist/src/components/data/nmorph-video-preview/types.d.ts +2 -0
  246. package/dist/src/components/data/nmorph-virtual-list/NmorphVirtualList.vue.d.ts +1 -1
  247. package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
  248. package/dist/src/components/feedback/nmorph-alert/types.d.ts +8 -7
  249. package/dist/src/components/feedback/nmorph-callout/NmorphCallout.vue.d.ts +1 -1
  250. package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +1 -1
  251. package/dist/src/components/feedback/nmorph-dialog/types.d.ts +1 -4
  252. package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +1 -1
  253. package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +2 -2
  254. package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
  255. package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +2 -17
  256. package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +2 -15
  257. package/dist/src/components/form/nmorph-checkbox-group/types.d.ts +4 -6
  258. package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +1 -1
  259. package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +2 -1
  260. package/dist/src/components/form/nmorph-date-picker/types.d.ts +1 -0
  261. package/dist/src/components/form/nmorph-file-upload/types.d.ts +55 -55
  262. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +1 -1
  263. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +1 -1
  264. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/types.d.ts +2 -2
  265. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/types.d.ts +2 -2
  266. package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +1 -1
  267. package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
  268. package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +2 -14
  269. package/dist/src/components/form/nmorph-radio/types.d.ts +6 -4
  270. package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +2 -14
  271. package/dist/src/components/form/nmorph-radio-group/types.d.ts +4 -6
  272. package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +1 -1
  273. package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +1 -1
  274. package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +2 -1
  275. package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/types.d.ts +1 -1
  276. package/dist/src/components/form/nmorph-select-button/types.d.ts +1 -0
  277. package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +10 -10
  278. package/dist/src/components/form/nmorph-slider/types.d.ts +1 -1
  279. package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +1 -1
  280. package/dist/src/components/form/nmorph-switch/types.d.ts +1 -1
  281. package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +4 -1
  282. package/dist/src/components/form/nmorph-text-input/types.d.ts +3 -0
  283. package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +1 -1
  284. package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +1 -1
  285. package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -2
  286. package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +1 -1
  287. package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +2 -1
  288. package/dist/src/components/navigation/nmorph-dropdown/types.d.ts +2 -1
  289. package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +1 -0
  290. package/dist/src/components/others/nmorph-divider/types.d.ts +2 -0
  291. package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
  292. package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +8 -8
  293. package/dist/src/hooks/use-field-validation.d.ts +21 -24
  294. package/dist/src/hooks/use-nmorph-translation.d.ts +2 -2
  295. package/dist/src/types/app.types.d.ts +0 -5
  296. package/dist/src/types/common.types.d.ts +91 -35
  297. package/dist/src/types/date.types.d.ts +6 -5
  298. package/dist/src/types/image.types.d.ts +16 -12
  299. package/dist/src/types/selection.types.d.ts +19 -14
  300. package/dist/src/types/table.types.d.ts +6 -5
  301. package/dist/src/types/translation.types.d.ts +7 -6
  302. package/dist/src/utils/common.d.ts +2 -2
  303. package/dist/src/utils/file-types.d.ts +1 -1
  304. package/dist/src/utils/theme-style.d.ts +2 -0
  305. package/dist/style.css +1 -1
  306. package/dist/types/common.types.js +73 -8
  307. package/dist/types/date.types.js +6 -2
  308. package/dist/types/image.types.js +12 -3
  309. package/dist/types/table.types.js +5 -2
  310. package/dist/types/translation.types.js +6 -2
  311. package/dist/utils/common.js +3 -3
  312. package/dist/utils/file-types.js +6 -7
  313. package/dist/utils/theme-style.js +42 -48
  314. package/package.json +1 -1
  315. package/dist/types/selection.types.js +0 -4
@@ -1,38 +1,38 @@
1
1
  import './NmorphRadio.css';
2
- import { defineComponent as h, inject as r, computed as l, ref as m } from "vue";
3
- import { useModifiers as g } from "../../../utils/create-modifiers.js";
4
- import { NmorphSelectionControlHeight as v } from "../../../types/common.types.js";
5
- const q = /* @__PURE__ */ h({
2
+ import { defineComponent as v, inject as n, computed as r, ref as g } from "vue";
3
+ import { useModifiers as b } from "../../../utils/create-modifiers.js";
4
+ import { NmorphSelectionControlThickness as k } from "../../../types/common.types.js";
5
+ const S = /* @__PURE__ */ v({
6
6
  __name: "NmorphRadio",
7
7
  props: {
8
- value: { type: String, required: !1, default: "" },
9
- styleType: { type: null, required: !1, default: "button" },
10
- checked: { type: Boolean, required: !1, default: !1 },
11
8
  disabled: { type: Boolean, required: !1, default: !1 },
12
9
  label: { type: String, required: !1, default: "" },
10
+ value: { type: String, required: !1, default: "" },
13
11
  tabindex: { type: Number, required: !1, default: 0 },
14
- height: { type: null, required: !1 }
12
+ checked: { type: Boolean, required: !1, default: !1 },
13
+ design: { type: String, required: !1, default: "nmorph" },
14
+ thickness: { type: null, required: !1 }
15
15
  },
16
- setup(s, { expose: p }) {
17
- const o = r(
16
+ setup(p, { expose: f }) {
17
+ const o = n(
18
18
  "radio-group-selected-value",
19
19
  void 0
20
- ), t = r(
20
+ ), t = n(
21
21
  "change-radio-button-value-handler",
22
22
  void 0
23
- ), a = r("radio-group-height", void 0), e = s, c = () => {
23
+ ), i = n("radio-group-thickness", void 0), e = p, h = () => {
24
24
  t && !e.disabled && t(e.value);
25
- }, d = l(() => o?.value === e.value || e.checked), i = l(() => e.height || a?.value || "thin"), f = l(
26
- () => g({
27
- nmorph: [v[i.value]],
28
- "nmorph-radio": [e.disabled && "disabled", d.value && "checked", e.styleType]
25
+ }, l = r(() => o?.value === e.value || e.checked), a = r(() => e.design || "nmorph"), s = r(() => e.thickness || i?.value || "basic"), u = r(() => a.value !== "plain" && s.value === "extra-thin" ? "basic" : s.value), m = r(
26
+ () => b({
27
+ nmorph: [k[u.value]],
28
+ "nmorph-radio": [e.disabled && "disabled", l.value && "checked", a.value]
29
29
  })
30
- ), u = m(null);
31
- p({ inputDOMRef: u });
32
- const n = { groupSelectedValue: o, changeValue: t, groupHeight: a, props: e, changeHandler: c, checked: d, height: i, modifiers: f, inputDOMRef: u };
33
- return Object.defineProperty(n, "__isScriptSetup", { enumerable: !1, value: !0 }), n;
30
+ ), d = g(null);
31
+ f({ inputDOMRef: d });
32
+ const c = { groupSelectedValue: o, changeValue: t, groupThickness: i, props: e, changeHandler: h, checked: l, resolvedDesign: a, requestedThickness: s, thickness: u, modifiers: m, inputDOMRef: d };
33
+ return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
34
34
  }
35
35
  });
36
36
  export {
37
- q as default
37
+ S as default
38
38
  };
@@ -1,34 +1,34 @@
1
1
  import './NmorphRadioGroup.css';
2
- import i from "./NmorphRadioGroup.vue2.js";
3
- import { openBlock as o, createElementBlock as a, normalizeClass as s, createElementVNode as l, Fragment as n, renderList as p, createBlock as m, renderSlot as c } from "vue";
2
+ import l from "./NmorphRadioGroup.vue2.js";
3
+ import { openBlock as o, createElementBlock as s, normalizeClass as n, createElementVNode as a, Fragment as t, renderList as c, createBlock as m, renderSlot as p } from "vue";
4
4
  /* empty css */
5
- import h from "../../../_virtual/_plugin-vue_export-helper.js";
6
- const _ = { class: "nmorph-radio-group__wrapper" }, u = { class: "nmorph-radio-group__content" };
7
- function b(t, f, d, r, g, v) {
8
- return o(), a(
5
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const u = { class: "nmorph-radio-group__wrapper" }, h = { class: "nmorph-radio-group__content" };
7
+ function b(d, f, i, r, k, g) {
8
+ return o(), s(
9
9
  "div",
10
10
  {
11
- class: s(r.modifiers)
11
+ class: n(r.modifiers)
12
12
  },
13
13
  [
14
- l("div", _, [
15
- l("div", u, [
16
- (o(!0), a(
17
- n,
14
+ a("div", u, [
15
+ a("div", h, [
16
+ (o(!0), s(
17
+ t,
18
18
  null,
19
- p(d.options, (e) => (o(), m(r.NmorphRadio, {
19
+ c(i.options, (e) => (o(), m(r.NmorphRadio, {
20
20
  key: e.value,
21
21
  label: e.label,
22
22
  value: e.value,
23
23
  disabled: e.disabled || r.props.disabled,
24
- "style-type": r.props.styleType,
24
+ design: e.design || r.props.design,
25
25
  tabindex: e.tabindex,
26
- height: e.height || r.props.height
27
- }, null, 8, ["label", "value", "disabled", "style-type", "tabindex", "height"]))),
26
+ thickness: e.thickness || r.thickness
27
+ }, null, 8, ["label", "value", "disabled", "design", "tabindex", "thickness"]))),
28
28
  128
29
29
  /* KEYED_FRAGMENT */
30
30
  )),
31
- c(t.$slots, "default")
31
+ p(d.$slots, "default")
32
32
  ])
33
33
  ])
34
34
  ],
@@ -36,7 +36,7 @@ function b(t, f, d, r, g, v) {
36
36
  /* CLASS */
37
37
  );
38
38
  }
39
- const B = /* @__PURE__ */ h(i, [["render", b], ["__file", "/builds/ketjo/nmorph/library/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue"]]);
39
+ const R = /* @__PURE__ */ _(l, [["render", b], ["__file", "/builds/ketjo/nmorph/library/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue"]]);
40
40
  export {
41
- B as default
41
+ R as default
42
42
  };
@@ -1,43 +1,43 @@
1
1
  import './NmorphRadioGroup.css';
2
- import { defineComponent as h, ref as y, watch as g, computed as n, provide as a } from "vue";
2
+ import { defineComponent as g, ref as h, watch as y, computed as n, provide as a } from "vue";
3
3
  import { useModifiers as q } from "../../../utils/create-modifiers.js";
4
4
  import { useFormItemModel as v } from "../nmorph-form/use-form-item-input.js";
5
5
  import _ from "../nmorph-radio/NmorphRadio.vue.js";
6
- const x = /* @__PURE__ */ h({
6
+ const V = /* @__PURE__ */ g({
7
7
  __name: "NmorphRadioGroup",
8
8
  props: {
9
- modelValue: { type: String, required: !1, default: "" },
10
- options: { type: Array, required: !1, default: () => [] },
11
- styleType: { type: null, required: !1, default: "button" },
12
- direction: { type: null, required: !1, default: "row" },
13
- height: { type: null, required: !1, default: "thin" },
14
9
  id: { type: String, required: !1 },
15
10
  name: { type: String, required: !1 },
16
11
  autocomplete: { type: String, required: !1 },
17
12
  disabled: { type: Boolean, required: !1, default: !1 },
18
- tabindex: { type: Number, required: !1 }
13
+ tabindex: { type: Number, required: !1 },
14
+ modelValue: { type: String, required: !1, default: "" },
15
+ options: { type: Array, required: !1, default: () => [] },
16
+ direction: { type: null, required: !1, default: "row" },
17
+ design: { type: String, required: !1, default: "nmorph" },
18
+ thickness: { type: null, required: !1, default: "basic" }
19
19
  },
20
20
  emits: ["update:model-value"],
21
- setup(s, { expose: m, emit: f }) {
21
+ setup(p, { expose: m, emit: f }) {
22
22
  m();
23
- const e = s, i = f, { modelValue: o, updateModelValue: l } = v(
23
+ const e = p, i = f, { modelValue: o, updateModelValue: u } = v(
24
24
  e,
25
- (r) => i("update:model-value", r),
25
+ (t) => i("update:model-value", t),
26
26
  ""
27
- ), t = y(o.value);
28
- g(o, (r) => {
29
- t.value = r;
27
+ ), r = h(o.value);
28
+ y(o, (t) => {
29
+ r.value = t;
30
30
  });
31
- const u = (r) => {
32
- t.value = r, l(t.value);
33
- }, c = n(() => q({ "nmorph-radio-group": [e.styleType, e.direction] })), d = n(() => e.height);
34
- a("radio-group-selected-value", t), a("change-radio-button-value-handler", u), a("radio-group-height", d);
35
- const p = { props: e, emit: i, modelValue: o, updateModelValue: l, initialValue: t, changeHandler: u, modifiers: c, height: d, get NmorphRadio() {
31
+ const d = (t) => {
32
+ r.value = t, u(r.value);
33
+ }, c = n(() => q({ "nmorph-radio-group": [e.design, e.direction] })), l = n(() => e.thickness);
34
+ a("radio-group-selected-value", r), a("change-radio-button-value-handler", d), a("radio-group-thickness", l);
35
+ const s = { props: e, emit: i, modelValue: o, updateModelValue: u, initialValue: r, changeHandler: d, modifiers: c, thickness: l, get NmorphRadio() {
36
36
  return _;
37
37
  } };
38
- return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
38
+ return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
39
39
  }
40
40
  });
41
41
  export {
42
- x as default
42
+ V as default
43
43
  };
@@ -1 +1 @@
1
- .nmorph-select{--base-width: 200px;width:var(--base-width);height:var(--height);border-radius:var(--default-border-radius);cursor:pointer}.nmorph-select .nmorph-select__content{position:relative;height:100%;background:var(--nmorph-main-color);border-radius:inherit;box-shadow:var(--nmorph-shadow-outset)}.nmorph-select .nmorph-select__selected-values-line{display:flex;justify-content:space-between;align-items:center;height:100%;padding:var(--indentation-00) var(--default-indentation-input);border-radius:inherit}.nmorph-select .nmorph-select__selected-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nmorph-select select,.nmorph-select option{position:absolute;width:0;height:0;padding:0;border:none;opacity:0}.nmorph-select.nmorph-select--loading .nmorph-select__options{display:flex;justify-content:center;padding:16px}.nmorph-select.nmorph-select--disabled{cursor:not-allowed;opacity:.6}.nmorph-select.nmorph-select--fill{width:100%}.nmorph-select.nmorph-select--options-auto-width .nmorph-select__options{width:max-content;max-width:calc(100vw - var(--indentation-02) * 2)}.nmorph-select .nmorph-select__virtual-list{overflow-y:auto}.nmorph-select .nmorph-select__virtual-spacer{position:relative}.nmorph-select .nmorph-select__virtual-content{position:absolute;top:0;right:0;left:0}.nmorph-select.nmorph-select--open .nmorph-select__chevron{transform:rotate(180deg)}.nmorph-select.nmorph-select--open .nmorph-select__content{background:var(--nmorph-main-color);box-shadow:var(--nmorph-shadow-inset)}.nmorph-select.nmorph-select--selected-line-outset .nmorph-select__content{background:var(--nmorph-main-color);box-shadow:var(--nmorph-shadow-outset)}.nmorph-select.nmorph-select--focus{outline:2px solid var(--nmorph-accent-color)}.nmorph-select.nmorph-select--focus .nmorph-select__content{box-shadow:none}
1
+ .nmorph-select{--nmorph-private-select-width: 200px;width:var(--nmorph-private-select-width);height:var(--nmorph-private-control-height);border-radius:var(--default-border-radius);cursor:pointer}.nmorph-select .nmorph-select__content{position:relative;height:100%;background:var(--nmorph-main-color);border-radius:inherit;box-shadow:var(--nmorph-shadow-outset)}.nmorph-select .nmorph-select__selected-values-line{display:flex;justify-content:space-between;align-items:center;height:100%;padding:var(--indentation-00) var(--default-indentation-input);border-radius:inherit}.nmorph-select .nmorph-select__selected-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transform:translateY(var(--nmorph-private-control-text-offset-y))}.nmorph-select select,.nmorph-select option{position:absolute;width:0;height:0;padding:0;border:none;opacity:0}.nmorph-select.nmorph-select--loading .nmorph-select__options{display:flex;justify-content:center;padding:16px}.nmorph-select.nmorph-select--disabled{cursor:not-allowed;opacity:.6}.nmorph-select.nmorph-select--fill{width:100%}.nmorph-select.nmorph-select--options-auto-width .nmorph-select__options{width:max-content;max-width:calc(100vw - var(--indentation-02) * 2)}.nmorph-select .nmorph-select__virtual-list{overflow-y:auto}.nmorph-select .nmorph-select__virtual-spacer{position:relative}.nmorph-select .nmorph-select__virtual-content{position:absolute;top:0;right:0;left:0}.nmorph-select.nmorph-select--open .nmorph-select__chevron{transform:rotate(180deg)}.nmorph-select.nmorph-select--open .nmorph-select__content{background:var(--nmorph-main-color);box-shadow:var(--nmorph-shadow-inset)}.nmorph-select.nmorph-select--selected-line-outset .nmorph-select__content{background:var(--nmorph-main-color);box-shadow:var(--nmorph-shadow-outset)}.nmorph-select.nmorph-select--focus{outline:2px solid var(--nmorph-accent-color)}.nmorph-select.nmorph-select--focus .nmorph-select__content{box-shadow:none}
@@ -1,28 +1,28 @@
1
1
  import './NmorphSelect.css';
2
- import w from "./NmorphSelect.vue2.js";
3
- import { openBlock as o, createElementBlock as l, normalizeStyle as c, normalizeClass as x, createElementVNode as t, withKeys as a, withModifiers as n, Fragment as d, renderList as h, toDisplayString as _, createBlock as i, mergeProps as m, createVNode as f, withCtx as s, renderSlot as b, createCommentVNode as k } from "vue";
2
+ import y from "./NmorphSelect.vue2.js";
3
+ import { openBlock as r, createElementBlock as o, normalizeStyle as t, normalizeClass as x, createElementVNode as i, withKeys as a, withModifiers as n, Fragment as c, renderList as s, toDisplayString as v, createBlock as d, createVNode as _, withCtx as h, renderSlot as w, createCommentVNode as u } from "vue";
4
4
  /* empty css */
5
- import H from "../../../_virtual/_plugin-vue_export-helper.js";
6
- const N = { class: "nmorph-select__content" }, S = ["id", "name", "autocomplete", "tabindex", "disabled", "aria-expanded", "aria-controls", "aria-activedescendant", "onKeydown"], I = ["value"], O = {
5
+ import g from "../../../_virtual/_plugin-vue_export-helper.js";
6
+ const H = { class: "nmorph-select__content" }, I = ["id", "name", "autocomplete", "tabindex", "disabled", "aria-expanded", "aria-controls", "aria-activedescendant", "onKeydown"], N = ["value"], S = {
7
7
  key: 0,
8
8
  class: "nmorph-select__selected-value"
9
- }, u = {
9
+ }, p = {
10
10
  key: 1,
11
11
  class: "nmorph-select__selected-value"
12
- }, D = {
12
+ }, C = {
13
13
  key: 2,
14
14
  class: "nmorph-select__selected-value"
15
- }, C = ["id"];
16
- function E(y, v, p, e, M, R) {
17
- return o(), l(
15
+ }, D = ["id"];
16
+ function E(b, m, f, e, O, M) {
17
+ return r(), o(
18
18
  "div",
19
19
  {
20
20
  class: x(e.modifiers),
21
- style: c(e.styles)
21
+ style: t(e.styles)
22
22
  },
23
23
  [
24
- t("div", N, [
25
- t("select", {
24
+ i("div", H, [
25
+ i("select", {
26
26
  id: e.id,
27
27
  name: e.name,
28
28
  autocomplete: e.autocomplete,
@@ -44,18 +44,18 @@ function E(y, v, p, e, M, R) {
44
44
  a(n(e.endHandler, ["prevent"]), ["end"])
45
45
  ]
46
46
  }, [
47
- (o(!0), l(
48
- d,
47
+ (r(!0), o(
48
+ c,
49
49
  null,
50
- h(e.nativeOptions, (r) => (o(), l("option", {
51
- key: r,
52
- value: r
53
- }, null, 8, I))),
50
+ s(e.nativeOptions, (l) => (r(), o("option", {
51
+ key: l,
52
+ value: l
53
+ }, null, 8, N))),
54
54
  128
55
55
  /* KEYED_FRAGMENT */
56
56
  ))
57
- ], 40, S),
58
- t(
57
+ ], 40, I),
58
+ i(
59
59
  "div",
60
60
  {
61
61
  ref: "nmorphSelectDOMRef",
@@ -64,37 +64,38 @@ function E(y, v, p, e, M, R) {
64
64
  onClick: n(e.clickHandler, ["stop"])
65
65
  },
66
66
  [
67
- Array.isArray(e.initialValue) ? e.initialValue.length === 0 ? (o(), l(
67
+ Array.isArray(e.initialValue) ? e.initialValue.length === 0 ? (r(), o(
68
68
  "div",
69
- u,
70
- _(e.computedNoElementPlaceholder),
69
+ p,
70
+ v(e.computedNoElementPlaceholder),
71
71
  1
72
72
  /* TEXT */
73
- )) : (o(), l("div", D, [
74
- (o(!0), l(
75
- d,
73
+ )) : (r(), o("div", C, [
74
+ (r(!0), o(
75
+ c,
76
76
  null,
77
- h(e.tags, (r) => (o(), i(e.NmorphTagItem, m({
78
- key: r.value
79
- }, { ref_for: !0 }, r, {
77
+ s(e.tags, (l) => (r(), d(e.NmorphTagItem, {
78
+ key: l.value,
79
+ value: l.value,
80
+ text: l.text,
80
81
  transparent: "",
81
82
  removable: e.tags.length > 1 || !e.props.valueRequired,
82
- height: "thin",
83
+ thickness: "thin",
83
84
  onClose: e.changeHandler
84
- }), null, 16, ["removable"]))),
85
+ }, null, 8, ["value", "text", "removable"]))),
85
86
  128
86
87
  /* KEYED_FRAGMENT */
87
88
  ))
88
- ])) : (o(), l(
89
+ ])) : (r(), o(
89
90
  "div",
90
- O,
91
- _(e.selectedValueTitle),
91
+ S,
92
+ v(e.selectedValueTitle),
92
93
  1
93
94
  /* TEXT */
94
95
  )),
95
- f(e.NmorphIcon, { class: "nmorph-select__chevron" }, {
96
- default: s(() => [
97
- e.props.loading ? (o(), i(e.NmorphIconLoaderDots, { key: 0 })) : (o(), i(e.NmorphIconChevronDown, { key: 1 }))
96
+ _(e.NmorphIcon, { class: "nmorph-select__chevron" }, {
97
+ default: h(() => [
98
+ e.props.loading ? (r(), d(e.NmorphIconLoaderDots, { key: 0 })) : (r(), d(e.NmorphIconChevronDown, { key: 1 }))
98
99
  ]),
99
100
  _: 1
100
101
  /* STABLE */
@@ -104,9 +105,9 @@ function E(y, v, p, e, M, R) {
104
105
  /* NEED_PATCH */
105
106
  )
106
107
  ]),
107
- e.nmorphSelectDOMRef && !e.props.disabled ? (o(), i(e.NmorphDropdown, {
108
+ e.nmorphSelectDOMRef && !e.disabledInput ? (r(), d(e.NmorphDropdown, {
108
109
  key: 0,
109
- open: e.open && !e.props.loading,
110
+ open: e.open && !e.disabledInput,
110
111
  "relative-element": e.nmorphSelectDOMRef,
111
112
  "fill-width": !e.autoOptionsWidth,
112
113
  width: e.autoOptionsWidth ? "max-content" : void 0,
@@ -117,59 +118,63 @@ function E(y, v, p, e, M, R) {
117
118
  onOnOutsideClick: e.closeHandler,
118
119
  onOnEscapeKeydown: e.escapeHandler
119
120
  }, {
120
- default: s(() => [
121
- t("div", {
121
+ default: h(() => [
122
+ i("div", {
122
123
  id: e.listboxId,
123
124
  ref: "optionsDOMRef",
124
125
  class: "nmorph-select__options",
125
126
  role: "listbox"
126
127
  }, [
127
- e.props.loading ? (o(), i(e.NmorphIcon, {
128
+ e.props.loading ? (r(), d(e.NmorphIcon, {
128
129
  key: 0,
129
130
  class: "nmorph-select__chevron",
130
131
  size: "medium"
131
132
  }, {
132
- default: s(() => [
133
- f(e.NmorphIconChevronDown)
133
+ default: h(() => [
134
+ _(e.NmorphIconChevronDown)
134
135
  ]),
135
136
  _: 1
136
137
  /* STABLE */
137
- })) : e.virtualEnabled ? (o(), l(
138
+ })) : e.virtualEnabled ? (r(), o(
138
139
  "div",
139
140
  {
140
141
  key: 1,
141
142
  ref: e.virtualList.containerRef,
142
143
  class: "nmorph-select__virtual-list",
143
- style: c({ maxHeight: e.virtualMaxHeight }),
144
- onScroll: v[0] || (v[0] = (...r) => e.virtualList.scrollHandler && e.virtualList.scrollHandler(...r))
144
+ style: t({ maxHeight: e.virtualMaxHeight }),
145
+ onScroll: m[0] || (m[0] = (...l) => e.virtualList.scrollHandler && e.virtualList.scrollHandler(...l))
145
146
  },
146
147
  [
147
- t(
148
+ i(
148
149
  "div",
149
150
  {
150
151
  class: "nmorph-select__virtual-spacer",
151
- style: c(e.virtualSpacerStyle)
152
+ style: t(e.virtualSpacerStyle)
152
153
  },
153
154
  [
154
- t(
155
+ i(
155
156
  "div",
156
157
  {
157
158
  class: "nmorph-select__virtual-content",
158
- style: c(e.virtualContentStyle)
159
+ style: t(e.virtualContentStyle)
159
160
  },
160
161
  [
161
- (o(!0), l(
162
- d,
162
+ (r(!0), o(
163
+ c,
163
164
  null,
164
- h(e.virtualOptions, (r) => (o(), i(e.NmorphSelectOption, m({
165
- id: e.getOptionId(r.item.value),
165
+ s(e.virtualOptions, (l) => (r(), d(e.NmorphSelectOption, {
166
+ id: e.getOptionId(l.item.value),
166
167
  ref_for: !0,
167
- ref: (g) => e.setVirtualOptionRef(g, r.index),
168
- key: r.index
169
- }, { ref_for: !0 }, r.item, {
170
- focused: r.item.value === e.currentFocusedEl,
171
- height: e.props.height
172
- }), null, 16, ["id", "focused", "height"]))),
168
+ ref: (k) => e.setVirtualOptionRef(k, l.index),
169
+ key: l.index,
170
+ value: l.item.value,
171
+ label: l.item.label,
172
+ disabled: l.item.disabled,
173
+ "hover-background": l.item.hoverBackground,
174
+ "hover-color": l.item.hoverColor,
175
+ focused: l.item.value === e.currentFocusedEl,
176
+ thickness: l.item.thickness || e.props.thickness
177
+ }, null, 8, ["id", "value", "label", "disabled", "hover-background", "hover-color", "focused", "thickness"]))),
173
178
  128
174
179
  /* KEYED_FRAGMENT */
175
180
  ))
@@ -184,39 +189,43 @@ function E(y, v, p, e, M, R) {
184
189
  ],
185
190
  36
186
191
  /* STYLE, NEED_HYDRATION */
187
- )) : (o(), l(
188
- d,
192
+ )) : (r(), o(
193
+ c,
189
194
  { key: 2 },
190
195
  [
191
- (o(!0), l(
192
- d,
196
+ (r(!0), o(
197
+ c,
193
198
  null,
194
- h(p.options, (r) => (o(), i(e.NmorphSelectOption, m({
195
- id: e.getOptionId(r.value),
196
- key: r.value
197
- }, { ref_for: !0 }, r, {
198
- focused: r.value === e.currentFocusedEl,
199
- height: e.props.height
200
- }), null, 16, ["id", "focused", "height"]))),
199
+ s(f.options, (l) => (r(), d(e.NmorphSelectOption, {
200
+ id: e.getOptionId(l.value),
201
+ key: l.value,
202
+ value: l.value,
203
+ label: l.label,
204
+ disabled: l.disabled,
205
+ "hover-background": l.hoverBackground,
206
+ "hover-color": l.hoverColor,
207
+ focused: l.value === e.currentFocusedEl,
208
+ thickness: l.thickness || e.props.thickness
209
+ }, null, 8, ["id", "value", "label", "disabled", "hover-background", "hover-color", "focused", "thickness"]))),
201
210
  128
202
211
  /* KEYED_FRAGMENT */
203
212
  )),
204
- b(y.$slots, "default")
213
+ w(b.$slots, "default")
205
214
  ],
206
215
  64
207
216
  /* STABLE_FRAGMENT */
208
217
  ))
209
- ], 8, C)
218
+ ], 8, D)
210
219
  ]),
211
220
  _: 3
212
221
  /* FORWARDED */
213
- }, 8, ["open", "relative-element", "fill-width", "width", "min-width", "z-index", "aria-label"])) : k("v-if", !0)
222
+ }, 8, ["open", "relative-element", "fill-width", "width", "min-width", "z-index", "aria-label"])) : u("v-if", !0)
214
223
  ],
215
224
  6
216
225
  /* CLASS, STYLE */
217
226
  );
218
227
  }
219
- const B = /* @__PURE__ */ H(w, [["render", E], ["__file", "/builds/ketjo/nmorph/library/src/components/form/nmorph-select/NmorphSelect.vue"]]);
228
+ const F = /* @__PURE__ */ g(y, [["render", E], ["__file", "/builds/ketjo/nmorph/library/src/components/form/nmorph-select/NmorphSelect.vue"]]);
220
229
  export {
221
- B as default
230
+ F as default
222
231
  };