@nmorph/nmorph-ui-kit 2.2.59 → 3.0.1

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/mute-speaker.svg.js +28 -0
  5. package/dist/assets/icons/pagination.svg.js +18 -5
  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 +21 -19
  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 +406 -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 +20 -16
  69. package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +16 -14
  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 -31
  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 +406 -395
  192. package/dist/index.es.js +853 -838
  193. package/dist/index.umd.js +241 -71
  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 +3 -2
  198. package/dist/src/components/basic/nmorph-button/types.d.ts +18 -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 +6 -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 +2 -0
  233. package/dist/src/components/data/nmorph-media-tile/types.d.ts +2 -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 -4
  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 -3
  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,21 +1,28 @@
1
- import { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
1
+ import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
4
5
  viewBox: "0 0 1024 1024"
5
6
  };
6
7
  function l(m, e) {
7
- return t(), n("svg", r, [...e[0] || (e[0] = [
8
- o(
8
+ return o(), t("svg", r, [...e[0] || (e[0] = [
9
+ n(
9
10
  "path",
10
- { d: "M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z" },
11
+ {
12
+ stroke: "currentColor",
13
+ "stroke-linecap": "round",
14
+ "stroke-linejoin": "round",
15
+ "stroke-width": "96",
16
+ d: "M392 392 168 168m0 0h184m-184 0v184M632 392l224-224m0 0H672m184 0v184M392 632 168 856m0 0h184m-184 0V672M632 632l224 224m0 0H672m184 0V672"
17
+ },
11
18
  null,
12
19
  -1
13
20
  /* CACHED */
14
21
  )
15
22
  ])]);
16
23
  }
17
- const s = { render: l };
24
+ const d = { render: l };
18
25
  export {
19
- s as default,
26
+ d as default,
20
27
  l as render
21
28
  };
@@ -0,0 +1,21 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as n } from "vue";
2
+ const o = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 1024 1024"
5
+ };
6
+ function r(l, a) {
7
+ return e(), t("svg", o, [...a[0] || (a[0] = [
8
+ n(
9
+ "path",
10
+ { d: "M416 96a96 96 0 0 1 96 96v224h16V288a96 96 0 1 1 192 0v144.64A96 96 0 0 1 880 504v160c0 159.04-128.96 288-288 288H448c-89.152 0-173.248-41.408-227.584-112.064L82.624 660.8a96 96 0 0 1 152.192-116.992L320 654.72V192a96 96 0 0 1 96-96m0 64a32 32 0 0 0-32 32v512a32 32 0 0 1-57.376 19.456l-142.56-144.704a32 32 0 0 0-50.752 38.976l137.792 179.136A224 224 0 0 0 448 888h144a224 224 0 0 0 224-224V504a32 32 0 1 0-64 0v80a32 32 0 0 1-64 0V288a32 32 0 1 0-64 0v232a32 32 0 0 1-64 0V224a32 32 0 1 0-64 0v296a32 32 0 0 1-64 0V192a32 32 0 0 0-32-32" },
11
+ null,
12
+ -1
13
+ /* CACHED */
14
+ )
15
+ ])]);
16
+ }
17
+ const c = { render: r };
18
+ export {
19
+ c as default,
20
+ r as render
21
+ };
@@ -0,0 +1,21 @@
1
+ import { openBlock as t, createElementBlock as a, createElementVNode as o } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 1024 1024"
5
+ };
6
+ function r(l, e) {
7
+ return t(), a("svg", n, [...e[0] || (e[0] = [
8
+ o(
9
+ "path",
10
+ { d: "M192 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m192-96a48 48 0 0 0 0 96h480a48 48 0 0 0 0-96zm0 304a48 48 0 0 0 0 96h480a48 48 0 0 0 0-96zm0 304a48 48 0 0 0 0 96h480a48 48 0 0 0 0-96zM256 512a64 64 0 1 1-128 0 64 64 0 0 1 128 0m-64 368a64 64 0 1 0 0-128 64 64 0 0 0 0 128" },
11
+ null,
12
+ -1
13
+ /* CACHED */
14
+ )
15
+ ])]);
16
+ }
17
+ const s = { render: r };
18
+ export {
19
+ s as default,
20
+ r as render
21
+ };
@@ -0,0 +1,28 @@
1
+ import { openBlock as a, createElementBlock as l, createElementVNode as t } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 1024 1024"
5
+ };
6
+ function o(r, e) {
7
+ return a(), l("svg", n, [...e[0] || (e[0] = [
8
+ t(
9
+ "path",
10
+ { d: "M128 384a64 64 0 0 1 64-64h168.448l224-179.2A64 64 0 0 1 688 190.784v642.432A64 64 0 0 1 584.448 883.2l-224-179.2H192a64 64 0 0 1-64-64zm64 0v256h192a32 32 0 0 1 19.968 7.008L624 823.04V200.96L403.968 376.992A32 32 0 0 1 384 384zm595.2 2.368a32 32 0 0 1 45.248 0A223.3 223.3 0 0 1 896 544a223.3 223.3 0 0 1-63.552 157.632 32 32 0 1 1-45.248-45.248A159.42 159.42 0 0 0 832 544a159.42 159.42 0 0 0-44.8-112.384 32 32 0 0 1 0-45.248m-90.496 90.496a32 32 0 0 1 45.248 0A95.78 95.78 0 0 1 768 544a95.78 95.78 0 0 1-26.048 67.136 32 32 0 0 1-45.248-45.248A31.9 31.9 0 0 0 704 544c0-8.448-3.328-16.576-7.296-21.888a32 32 0 0 1 0-45.248" },
11
+ null,
12
+ -1
13
+ /* CACHED */
14
+ ),
15
+ t(
16
+ "path",
17
+ { d: "M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z" },
18
+ null,
19
+ -1
20
+ /* CACHED */
21
+ )
22
+ ])]);
23
+ }
24
+ const c = { render: o };
25
+ export {
26
+ c as default,
27
+ o as render
28
+ };
@@ -1,8 +1,21 @@
1
- function n(e, r) {
2
- return null;
1
+ import { openBlock as v, createElementBlock as h, createElementVNode as e } from "vue";
2
+ const t = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 1024 1024"
5
+ };
6
+ function m(n, a) {
7
+ return v(), h("svg", t, [...a[0] || (a[0] = [
8
+ e(
9
+ "path",
10
+ { d: "M416 288a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64zm64 0v64h64v-64zm-320 0a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64zm64 0v64h64v-64zm448 0a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64zm64 0v64h64v-64zM416 672a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64zm64 0v64h64v-64zm-320 0a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64zm64 0v64h64v-64zm448 0a64 64 0 0 1 64-64h64a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64zm64 0v64h64v-64zM128 480h768v64H128z" },
11
+ null,
12
+ -1
13
+ /* CACHED */
14
+ )
15
+ ])]);
3
16
  }
4
- const t = { render: n };
17
+ const z = { render: m };
5
18
  export {
6
- t as default,
7
- n as render
19
+ z as default,
20
+ m as render
8
21
  };
@@ -0,0 +1,21 @@
1
+ import { openBlock as t, createElementBlock as a, createElementVNode as o } from "vue";
2
+ const r = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 1024 1024"
5
+ };
6
+ function n(l, e) {
7
+ return t(), a("svg", r, [...e[0] || (e[0] = [
8
+ o(
9
+ "path",
10
+ { d: "M128 384a64 64 0 0 1 64-64h168.448l224-179.2A64 64 0 0 1 688 190.784v642.432A64 64 0 0 1 584.448 883.2l-224-179.2H192a64 64 0 0 1-64-64zm64 0v256h192a32 32 0 0 1 19.968 7.008L624 823.04V200.96L403.968 376.992A32 32 0 0 1 384 384zm595.2 2.368a32 32 0 0 1 45.248 0A223.3 223.3 0 0 1 896 544a223.3 223.3 0 0 1-63.552 157.632 32 32 0 1 1-45.248-45.248A159.42 159.42 0 0 0 832 544a159.42 159.42 0 0 0-44.8-112.384 32 32 0 0 1 0-45.248m-90.496 90.496a32 32 0 0 1 45.248 0A95.78 95.78 0 0 1 768 544a95.78 95.78 0 0 1-26.048 67.136 32 32 0 0 1-45.248-45.248A31.9 31.9 0 0 0 704 544c0-8.448-3.328-16.576-7.296-21.888a32 32 0 0 1 0-45.248" },
11
+ null,
12
+ -1
13
+ /* CACHED */
14
+ )
15
+ ])]);
16
+ }
17
+ const s = { render: n };
18
+ export {
19
+ s as default,
20
+ n as render
21
+ };
@@ -1,11 +1,11 @@
1
- import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
1
+ import { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  viewBox: "0 0 32 32"
5
5
  };
6
- function l(c, e) {
7
- return o(), t("svg", r, [...e[0] || (e[0] = [
8
- n(
6
+ function l(s, e) {
7
+ return t(), n("svg", r, [...e[0] || (e[0] = [
8
+ o(
9
9
  "path",
10
10
  { d: "m2 12 14 12 14-12Z" },
11
11
  null,
@@ -14,8 +14,8 @@ function l(c, e) {
14
14
  )
15
15
  ])]);
16
16
  }
17
- const s = { render: l };
17
+ const d = { render: l };
18
18
  export {
19
- s as default,
19
+ d as default,
20
20
  l as render
21
21
  };
@@ -0,0 +1,28 @@
1
+ import { openBlock as o, createElementBlock as a, createElementVNode as t } from "vue";
2
+ const l = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 1024 1024"
5
+ };
6
+ function n(r, e) {
7
+ return o(), a("svg", l, [...e[0] || (e[0] = [
8
+ t(
9
+ "path",
10
+ { d: "M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z" },
11
+ null,
12
+ -1
13
+ /* CACHED */
14
+ ),
15
+ t(
16
+ "path",
17
+ { d: "M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z" },
18
+ null,
19
+ -1
20
+ /* CACHED */
21
+ )
22
+ ])]);
23
+ }
24
+ const d = { render: n };
25
+ export {
26
+ d as default,
27
+ n as render
28
+ };
@@ -1 +1 @@
1
- .nmorph-button{display:inline-block;width:auto;height:auto;min-height:var(--height)}.nmorph-button.nmorph--basic-component,.nmorph-button.nmorph--thin-component,.nmorph-button.nmorph--thick-component{height:auto}.nmorph-button.nmorph--fill{width:100%}.nmorph-button .nmorph-button__content{display:flex;gap:var(--indentation-02);justify-content:center;align-items:center;box-sizing:border-box;width:100%;height:auto;min-height:var(--height);padding:var(--indentation-00) var(--indentation-04);color:var(--nmorph-button-color, var(--nmorph-text-color));line-height:var(--line-height-regular);background:var(--nmorph-main-color);border:none;border-radius:var(--default-border-radius);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color);cursor:pointer}.nmorph-button .nmorph-button__content span{color:var(--nmorph-button-color, var(--nmorph-text-color));--color: var(--nmorph-button-color, var(--nmorph-text-color))}.nmorph-button .nmorph-button__label{min-width:0;white-space:normal;text-align:center;overflow-wrap:anywhere}.nmorph-button .nmorph-button__content>.nmorph-icon{flex-shrink:0;--color: var(--nmorph-button-color, var(--nmorph-text-color))}.nmorph-button .nmorph-button__content:disabled{pointer-events:none}.nmorph-button .nmorph-button__content[loading=true]{cursor:default}.nmorph-button.nmorph-button--ripple .nmorph-button__content{position:relative;overflow:hidden}.nmorph-button.nmorph-button--ripple .nmorph-button__content:after{position:absolute;top:0;left:0;width:100%;height:100%;background-image:radial-gradient(circle,var(--nmorph-main-color) 10%,transparent 10.01%);background-repeat:no-repeat;background-position:50%;transform:scale(10);opacity:0;transition:transform .3s,opacity 1s;content:""}.nmorph-button.nmorph-button--ripple .nmorph-button__content:active:after{transform:scale(0);opacity:.3;transition:0s}.nmorph-button.nmorph-button--accent-bg-on-hover .nmorph-button__content:not(:disabled,[loading=true]):hover{color:var(--nmorph-white-color);background:var(--nmorph-accent-color);box-shadow:none}.nmorph-button.nmorph-button--accent-bg-on-hover .nmorph-button__content:not(:disabled,[loading=true]):hover .nmorph-icon{--color: var(--nmorph-white-color)}.nmorph-button.nmorph-button--accent-bg-on-hover .nmorph-button__content:not(:disabled,[loading=true]):hover span{color:var(--nmorph-white-color)}.nmorph-button.nmorph-button--active .nmorph-button__content{color:var(--nmorph-focus-text-color);background:var(--nmorph-accent-color);box-shadow:var(--nmorph-shadow-inset)}.nmorph-button.nmorph-button--active .nmorph-button__content span,.nmorph-button.nmorph-button--active .nmorph-button__content .nmorph-icon{color:var(--nmorph-focus-text-color);--color: var(--nmorph-focus-text-color)}.nmorph-button.nmorph-button--danger .nmorph-button__content{color:var(--nmorph-error-text-color);--nmorph-button-color: var(--nmorph-error-text-color)}.nmorph-button.nmorph-button--round .nmorph-button__content{border-radius:var(--border-radius-200)}.nmorph-button.nmorph-button--circle{width:var(--height);height:var(--height);min-height:var(--height)}.nmorph-button.nmorph-button--circle .nmorph-button__content{height:var(--height);min-height:var(--height);border-radius:var(--border-radius-circular)}.nmorph-button.nmorph-button--transparent{padding:var(--indentation-00)}.nmorph-button.nmorph-button--transparent .nmorph-button__content:not(:disabled,[loading=true]):hover{color:var(--nmorph-accent-color);background:transparent;box-shadow:none}.nmorph-button.nmorph-button--transparent.nmorph-button--custom-color .nmorph-button__content:not(:disabled,[loading=true]):hover{color:var(--nmorph-button-hover-color)}.nmorph-button.nmorph-button--transparent .nmorph-button__content:not(:disabled,[loading=true]):hover span{color:var(--nmorph-accent-color)}.nmorph-button.nmorph-button--transparent.nmorph-button--custom-color .nmorph-button__content:not(:disabled,[loading=true]):hover span{color:var(--nmorph-button-hover-color);--color: var(--nmorph-button-hover-color)}.nmorph-button.nmorph-button--transparent .nmorph-button__content:not(:disabled,[loading=true]):hover .nmorph-icon{--color: var(--nmorph-accent-color)}.nmorph-button.nmorph-button--transparent.nmorph-button--custom-color .nmorph-button__content:not(:disabled,[loading=true]):hover .nmorph-icon{--color: var(--nmorph-button-hover-color)}.nmorph-button.nmorph-button--transparent .nmorph-button__content{color:var(--nmorph-button-color, var(--transparent-button-color, var(--nmorph-text-color)));background:transparent;box-shadow:none}.nmorph-button.nmorph-button--transparent .nmorph-button__content span{color:var(--nmorph-button-color, var(--transparent-button-color, var(--nmorph-text-color)));--color: var(--nmorph-button-color, var(--transparent-button-color, var(--nmorph-text-color)))}.nmorph-button.nmorph-button--transparent .nmorph-button__content .nmorph-icon{--color: var(--nmorph-button-color, var(--transparent-button-color, var(--nmorph-text-color)))}.nmorph-button.nmorph-button--square{width:var(--height);height:var(--height);min-height:var(--height)}.nmorph-button.nmorph-button--square .nmorph-button__content{height:var(--height);min-height:var(--height)}.nmorph-button.nmorph-button--icon-only{width:var(--height);height:var(--height);min-height:var(--height)}.nmorph-button.nmorph-button--icon-only .nmorph-button__content{height:var(--height);min-height:var(--height);padding:0;line-height:0}.nmorph-button.nmorph-button.nmorph--thin-component{font-weight:400;font-size:var(--font-size-extra-small);line-height:var(--line-height-regular)}.nmorph-button.nmorph-button--disabled{cursor:not-allowed;opacity:.6}
1
+ .nmorph-button{display:inline-block;width:auto;height:auto;min-height:var(--nmorph-private-control-height)}.nmorph-button.nmorph--basic-component,.nmorph-button.nmorph--thin-component,.nmorph-button.nmorph--thick-component{height:auto}.nmorph-button.nmorph--fill{width:100%}.nmorph-button .nmorph-button__content{display:flex;gap:var(--indentation-02);justify-content:center;align-items:center;box-sizing:border-box;width:100%;height:auto;min-height:var(--nmorph-private-control-height);padding:var(--indentation-00) var(--indentation-04);color:var(--nmorph-private-button-color, var(--nmorph-text-color));line-height:var(--nmorph-private-control-line-height, var(--line-height-regular));background:var(--nmorph-main-color);border:none;border-radius:var(--default-border-radius);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color);cursor:pointer}.nmorph-button .nmorph-button__content span{color:var(--nmorph-private-button-color, var(--nmorph-text-color));--nmorph-private-icon-color: var(--nmorph-private-button-color, var(--nmorph-text-color))}.nmorph-button .nmorph-button__label{display:inline-block;min-width:0;white-space:normal;text-align:center;overflow-wrap:anywhere;transform:translateY(var(--nmorph-private-control-text-offset-y))}.nmorph-button .nmorph-button__content>.nmorph-icon{flex-shrink:0;--nmorph-private-icon-color: var(--nmorph-private-button-color, var(--nmorph-text-color))}.nmorph-button .nmorph-button__content:disabled{pointer-events:none}.nmorph-button .nmorph-button__content[loading=true]{cursor:default}.nmorph-button.nmorph-button--ripple .nmorph-button__content{position:relative;overflow:hidden}.nmorph-button.nmorph-button--ripple .nmorph-button__content:after{position:absolute;top:0;left:0;width:100%;height:100%;background-image:radial-gradient(circle,var(--nmorph-main-color) 10%,transparent 10.01%);background-repeat:no-repeat;background-position:50%;transform:scale(10);opacity:0;transition:transform .3s,opacity 1s;content:""}.nmorph-button.nmorph-button--ripple .nmorph-button__content:active:after{transform:scale(0);opacity:.3;transition:0s}.nmorph-button.nmorph-button--accent-bg-on-hover .nmorph-button__content:not(:disabled,[loading=true]):hover{color:var(--nmorph-white-color);background:var(--nmorph-accent-color);box-shadow:none}.nmorph-button.nmorph-button--accent-bg-on-hover .nmorph-button__content:not(:disabled,[loading=true]):hover .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-white-color)}.nmorph-button.nmorph-button--accent-bg-on-hover .nmorph-button__content:not(:disabled,[loading=true]):hover span{color:var(--nmorph-white-color)}.nmorph-button.nmorph-button--active .nmorph-button__content{color:var(--nmorph-focus-text-color);background:var(--nmorph-accent-color);box-shadow:var(--nmorph-shadow-inset)}.nmorph-button.nmorph-button--active .nmorph-button__content span,.nmorph-button.nmorph-button--active .nmorph-button__content .nmorph-icon{color:var(--nmorph-focus-text-color);--nmorph-private-icon-color: var(--nmorph-focus-text-color)}.nmorph-button.nmorph-button--danger .nmorph-button__content{color:var(--nmorph-error-text-color);--nmorph-private-button-color: var(--nmorph-error-text-color)}.nmorph-button.nmorph-button--round .nmorph-button__content{border-radius:var(--border-radius-200)}.nmorph-button.nmorph-button--circle{width:var(--nmorph-private-control-height);height:var(--nmorph-private-control-height);min-height:var(--nmorph-private-control-height)}.nmorph-button.nmorph-button--circle .nmorph-button__content{height:var(--nmorph-private-control-height);min-height:var(--nmorph-private-control-height);border-radius:var(--border-radius-circular)}.nmorph-button.nmorph-button--plain{padding:var(--indentation-00)}.nmorph-button.nmorph-button--plain .nmorph-button__content:not(:disabled,[loading=true]):hover{color:var(--nmorph-accent-color);background:transparent;border-color:var(--nmorph-accent-color);box-shadow:none}.nmorph-button.nmorph-button--plain.nmorph-button--custom-color .nmorph-button__content:not(:disabled,[loading=true]):hover{color:var(--nmorph-private-button-hover-color);border-color:var(--nmorph-private-button-hover-color)}.nmorph-button.nmorph-button--plain .nmorph-button__content:not(:disabled,[loading=true]):hover span{color:var(--nmorph-accent-color)}.nmorph-button.nmorph-button--plain.nmorph-button--custom-color .nmorph-button__content:not(:disabled,[loading=true]):hover span{color:var(--nmorph-private-button-hover-color);--nmorph-private-icon-color: var(--nmorph-private-button-hover-color)}.nmorph-button.nmorph-button--plain .nmorph-button__content:not(:disabled,[loading=true]):hover .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-accent-color)}.nmorph-button.nmorph-button--plain.nmorph-button--custom-color .nmorph-button__content:not(:disabled,[loading=true]):hover .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-private-button-hover-color)}.nmorph-button.nmorph-button--plain .nmorph-button__content{color:var(--nmorph-private-button-color, var(--nmorph-private-button-plain-color, var(--nmorph-text-color)));background:transparent;border:var(--nmorph-plain-border);border-color:var(--nmorph-private-button-color, var(--nmorph-private-button-plain-color, var(--nmorph-text-color)));box-shadow:none}.nmorph-button.nmorph-button--plain .nmorph-button__content span{color:var(--nmorph-private-button-color, var(--nmorph-private-button-plain-color, var(--nmorph-text-color)));--nmorph-private-icon-color: var( --nmorph-private-button-color, var(--nmorph-private-button-plain-color, var(--nmorph-text-color)) )}.nmorph-button.nmorph-button--plain .nmorph-button__content .nmorph-icon{--nmorph-private-icon-color: var( --nmorph-private-button-color, var(--nmorph-private-button-plain-color, var(--nmorph-text-color)) )}.nmorph-button.nmorph-button--plain.nmorph-button--borderless .nmorph-button__content,.nmorph-button.nmorph-button--plain.nmorph-button--borderless .nmorph-button__content:not(:disabled,[loading=true]):hover{border:none}.nmorph-button.nmorph-button--square{width:var(--nmorph-private-control-height);height:var(--nmorph-private-control-height);min-height:var(--nmorph-private-control-height)}.nmorph-button.nmorph-button--square .nmorph-button__content{height:var(--nmorph-private-control-height);min-height:var(--nmorph-private-control-height)}.nmorph-button.nmorph-button--icon-only{width:var(--nmorph-private-control-height);height:var(--nmorph-private-control-height);min-height:var(--nmorph-private-control-height)}.nmorph-button.nmorph-button--icon-only .nmorph-button__content{height:var(--nmorph-private-control-height);min-height:var(--nmorph-private-control-height);padding:0;line-height:0}.nmorph-button.nmorph-button--disabled{cursor:not-allowed;opacity:.6}
@@ -1,13 +1,14 @@
1
1
  import './NmorphButton.css';
2
- import { defineComponent as h, useSlots as b, computed as o, ref as q } from "vue";
2
+ import { defineComponent as y, useSlots as b, computed as o, ref as q } from "vue";
3
3
  import { useModifiers as v } from "../../../utils/create-modifiers.js";
4
- import { NmorphComponentHeight as B } from "../../../types/common.types.js";
4
+ import { NmorphComponentThickness as B } from "../../../types/common.types.js";
5
5
  import S from "../../../assets/icons/loading.svg.js";
6
6
  import _ from "../nmorph-icon/NmorphIcon.vue.js";
7
- const H = /* @__PURE__ */ h({
7
+ const C = /* @__PURE__ */ y({
8
8
  __name: "NmorphButton",
9
9
  props: {
10
- styleType: { type: null, required: !1, default: "default" },
10
+ design: { type: null, required: !1, default: "nmorph" },
11
+ borderless: { type: Boolean, required: !1, default: !1 },
11
12
  color: { type: String, required: !1, default: void 0 },
12
13
  loading: { type: Boolean, required: !1, default: !1 },
13
14
  ripple: { type: Boolean, required: !1, default: !0 },
@@ -24,22 +25,23 @@ const H = /* @__PURE__ */ h({
24
25
  id: { type: String, required: !1 },
25
26
  name: { type: String, required: !1 },
26
27
  autocomplete: { type: String, required: !1 },
27
- height: { type: null, required: !1, default: "basic" },
28
+ thickness: { type: null, required: !1, default: "basic" },
28
29
  disabled: { type: Boolean, required: !1, default: !1 }
29
30
  },
30
31
  emits: ["update:model-value"],
31
- setup(d, { expose: s, emit: p }) {
32
- const e = d, l = p, t = b(), f = o(() => !!t.icon), r = o(() => !!t["icon-only"]), a = o(() => e.active || !!e.modelValue), c = o(
32
+ setup(u, { expose: d, emit: p }) {
33
+ const e = u, t = p, l = b(), f = o(() => !!l.icon), r = o(() => !!l["icon-only"]), a = o(() => e.active || !!e.modelValue), c = o(
33
34
  () => v({
34
- nmorph: [B[e.height], e.fill && "fill"],
35
+ nmorph: [B[e.thickness], e.fill && "fill"],
35
36
  "nmorph-button": [
36
- e.styleType,
37
+ e.design,
37
38
  e.shape,
38
39
  e.disabled && "disabled",
39
40
  e.accentBgOnHover && "accent-bg-on-hover",
40
41
  e.ripple && "ripple",
41
42
  r.value && "icon-only",
42
43
  e.color && "custom-color",
44
+ e.design === "plain" && e.borderless && "borderless",
43
45
  a.value && "active",
44
46
  e.danger && "danger"
45
47
  ]
@@ -48,22 +50,22 @@ const H = /* @__PURE__ */ h({
48
50
  thin: "small",
49
51
  basic: "medium",
50
52
  thick: "large"
51
- }, m = o(() => i[e.height]), y = o(() => e.color ? {
52
- "--nmorph-button-color": e.color,
53
- "--transparent-button-color": e.color,
54
- "--nmorph-button-hover-color": `color-mix(in srgb, ${e.color} 75%, var(--nmorph-white-color))`
55
- } : {}), g = () => {
56
- !e.toggle || e.disabled || e.loading || l("update:model-value", !e.modelValue);
53
+ }, m = o(() => i[e.thickness]), g = o(() => e.color ? {
54
+ "--nmorph-private-button-color": e.color,
55
+ "--nmorph-private-button-plain-color": e.color,
56
+ "--nmorph-private-button-hover-color": `color-mix(in srgb, ${e.color} 75%, var(--nmorph-white-color))`
57
+ } : {}), h = () => {
58
+ !e.toggle || e.disabled || e.loading || t("update:model-value", !e.modelValue);
57
59
  };
58
- s({ buttonDOMElement: n });
59
- const u = { props: e, emit: l, slots: t, hasIconSlot: f, hasIconOnlySlot: r, active: a, modifiers: c, buttonDOMElement: n, iconSizeMap: i, loadingButtonSize: m, buttonColorStyles: y, toggleClickHandler: g, get NmorphIcon() {
60
+ d({ buttonDOMElement: n });
61
+ const s = { props: e, emit: t, slots: l, hasIconSlot: f, hasIconOnlySlot: r, active: a, modifiers: c, buttonDOMElement: n, iconSizeMap: i, loadingButtonSize: m, buttonColorStyles: g, toggleClickHandler: h, get NmorphIcon() {
60
62
  return _;
61
63
  }, get NmorphIconLoader() {
62
64
  return S;
63
65
  } };
64
- return Object.defineProperty(u, "__isScriptSetup", { enumerable: !1, value: !0 }), u;
66
+ return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
65
67
  }
66
68
  });
67
69
  export {
68
- H as default
70
+ C as default
69
71
  };
@@ -1,6 +1,14 @@
1
- var e = /* @__PURE__ */ ((r) => (r.default = "default", r.transparent = "transparent", r))(e || {}), a = /* @__PURE__ */ ((r) => (r.submit = "submit", r.reset = "reset", r.button = "button", r))(a || {}), u = /* @__PURE__ */ ((r) => (r.default = "default", r.square = "square", r.round = "round", r.circle = "circle", r))(u || {});
1
+ const t = {
2
+ submit: "submit",
3
+ reset: "reset",
4
+ button: "button"
5
+ }, e = {
6
+ default: "default",
7
+ square: "square",
8
+ round: "round",
9
+ circle: "circle"
10
+ };
2
11
  export {
3
- u as NmorphButtonShape,
4
- e as NmorphButtonStyle,
5
- a as NmorphButtonType
12
+ e as NmorphButtonShape,
13
+ t as NmorphButtonType
6
14
  };
@@ -1 +1 @@
1
- .nmorph-icon,.nmorph-icon .nmorph-icon__content{display:flex;justify-content:center;align-items:center;width:var(--width);min-width:var(--width);height:var(--height);min-height:var(--height)}.nmorph-icon svg{width:100%;height:100%;fill:var(--color)}.nmorph-icon path[stroke],.nmorph-icon path[stroke-width],.nmorph-icon path[fill=none],.nmorph-icon rect[stroke],.nmorph-icon rect[stroke-width],.nmorph-icon rect[fill=none],.nmorph-icon line[stroke],.nmorph-icon line[stroke-width],.nmorph-icon polyline[stroke],.nmorph-icon polyline[stroke-width],.nmorph-icon polygon[stroke],.nmorph-icon polygon[stroke-width]{stroke:var(--color)}.nmorph-icon.nmorph-icon--small{--width: 14px;--height: 14px}.nmorph-icon.nmorph-icon--medium{--width: 20px;--height: 20px}.nmorph-icon.nmorph-icon--large{--width: 32px;--height: 32px}.nmorph-icon{--color: var(--nmorph-icon-color, var(--nmorph-text-color))}
1
+ .nmorph-icon,.nmorph-icon .nmorph-icon__content{display:flex;justify-content:center;align-items:center;width:var(--nmorph-private-icon-width);min-width:var(--nmorph-private-icon-width);height:var(--nmorph-private-icon-height);min-height:var(--nmorph-private-icon-height)}.nmorph-icon svg{width:100%;height:100%;fill:var(--nmorph-private-icon-color)}.nmorph-icon path[stroke],.nmorph-icon path[stroke-width],.nmorph-icon path[fill=none],.nmorph-icon rect[stroke],.nmorph-icon rect[stroke-width],.nmorph-icon rect[fill=none],.nmorph-icon line[stroke],.nmorph-icon line[stroke-width],.nmorph-icon polyline[stroke],.nmorph-icon polyline[stroke-width],.nmorph-icon polygon[stroke],.nmorph-icon polygon[stroke-width]{stroke:var(--nmorph-private-icon-color)}.nmorph-icon.nmorph-icon--small{--nmorph-private-icon-width: 14px;--nmorph-private-icon-height: 14px}.nmorph-icon.nmorph-icon--medium{--nmorph-private-icon-width: 20px;--nmorph-private-icon-height: 20px}.nmorph-icon.nmorph-icon--large{--nmorph-private-icon-width: 32px;--nmorph-private-icon-height: 32px}.nmorph-icon{--nmorph-private-icon-color: var(--nmorph-text-color)}
@@ -1,7 +1,7 @@
1
1
  import './NmorphIcon.css';
2
- import { defineComponent as h, computed as i } from "vue";
3
- import { useModifiers as l } from "../../../utils/create-modifiers.js";
4
- const p = /* @__PURE__ */ h({
2
+ import { defineComponent as p, computed as o } from "vue";
3
+ import { useModifiers as d } from "../../../utils/create-modifiers.js";
4
+ const l = /* @__PURE__ */ p({
5
5
  __name: "NmorphIcon",
6
6
  props: {
7
7
  size: { type: null, required: !1, default: "small" },
@@ -11,21 +11,21 @@ const p = /* @__PURE__ */ h({
11
11
  },
12
12
  setup(r, { expose: s }) {
13
13
  s();
14
- const e = r, d = i(
15
- () => l({
14
+ const e = r, n = o(
15
+ () => d({
16
16
  "nmorph-icon": [
17
17
  !e.width && !e.height && e.size,
18
18
  e.width && "custom-width",
19
19
  e.height && "custom-height"
20
20
  ]
21
21
  })
22
- ), n = i(() => {
22
+ ), h = o(() => {
23
23
  const t = {};
24
- return e.width && (t["--width"] = e.width), e.height && (t["--height"] = e.height), e.color && (t["--nmorph-icon-color"] = e.color, t["--color"] = e.color), t;
25
- }), o = { props: e, modifiers: d, customStyles: n };
26
- return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
24
+ return e.width && (t["--nmorph-private-icon-width"] = e.width), e.height && (t["--nmorph-private-icon-height"] = e.height), e.color && (t["--nmorph-private-icon-color"] = e.color), t;
25
+ }), i = { props: e, modifiers: n, customStyles: h };
26
+ return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
27
27
  }
28
28
  });
29
29
  export {
30
- p as default
30
+ l as default
31
31
  };