@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.
- package/dist/assets/icons/expand.svg.js +13 -6
- package/dist/assets/icons/hand.svg.js +21 -0
- package/dist/assets/icons/list-simple.svg.js +21 -0
- package/dist/assets/icons/mute-speaker.svg.js +28 -0
- package/dist/assets/icons/pagination.svg.js +18 -5
- package/dist/assets/icons/speaker.svg.js +21 -0
- package/dist/assets/icons/triangle-down.svg.js +6 -6
- package/dist/assets/icons/video-camera-off.svg.js +28 -0
- package/dist/components/basic/nmorph-button/NmorphButton.css +1 -1
- package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +21 -19
- package/dist/components/basic/nmorph-button/types.js +12 -4
- package/dist/components/basic/nmorph-icon/NmorphIcon.css +1 -1
- package/dist/components/basic/nmorph-icon/NmorphIcon.vue2.js +10 -10
- package/dist/components/basic/nmorph-icon/NmorphIcons.js +406 -395
- package/dist/components/basic/nmorph-icon/types.js +6 -2
- package/dist/components/basic/nmorph-layout/NmorphLayout.css +1 -1
- package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +7 -7
- package/dist/components/basic/nmorph-link/NmorphLink.css +1 -1
- package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +7 -7
- package/dist/components/basic/nmorph-link/types.js +7 -2
- package/dist/components/basic/nmorph-scroll/NmorphScroll.css +1 -1
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.js +4 -3
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +123 -112
- package/dist/components/basic/nmorph-scroll/types.js +13 -3
- package/dist/components/basic/nmorph-space/NmorphSpace.css +1 -1
- package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +9 -9
- package/dist/components/basic/nmorph-text/NmorphText.vue.js +19 -0
- package/dist/components/basic/nmorph-text/NmorphText.vue2.js +50 -0
- package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.css +1 -1
- package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue2.js +22 -12
- package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.css +1 -1
- package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue2.js +8 -6
- package/dist/components/data/nmorph-avatar/NmorphAvatar.css +1 -1
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.js +54 -51
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue2.js +41 -36
- package/dist/components/data/nmorph-badge/NmorphBadge.css +1 -1
- package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +47 -51
- package/dist/components/data/nmorph-calendar/NmorphCalendar.css +1 -1
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.js +34 -32
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +35 -34
- package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.css +1 -1
- package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.js +25 -22
- package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue2.js +10 -9
- package/dist/components/data/nmorph-card/NmorphCard.css +1 -1
- package/dist/components/data/nmorph-card/NmorphCard.vue2.js +20 -19
- package/dist/components/data/nmorph-carousel/NmorphCarousel.css +1 -0
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.js +12 -10
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue2.js +23 -20
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.css +1 -1
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.js +29 -17
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +35 -29
- package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.css +1 -1
- package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.js +12 -12
- package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue2.js +103 -89
- package/dist/components/data/nmorph-empty/NmorphEmpty.css +1 -1
- package/dist/components/data/nmorph-empty/NmorphEmpty.vue2.js +12 -12
- package/dist/components/data/nmorph-file-card/NmorphFileCard.css +1 -1
- package/dist/components/data/nmorph-file-card/NmorphFileCard.vue2.js +2 -2
- package/dist/components/data/nmorph-image/NmorphImage.css +1 -1
- package/dist/components/data/nmorph-image/NmorphImage.vue2.js +32 -20
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.css +1 -1
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.js +66 -62
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +53 -51
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.js +17 -15
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue2.js +56 -54
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.css +1 -1
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue.js +20 -16
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +16 -14
- package/dist/components/data/nmorph-pagination/NmorphPagination.css +1 -1
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +50 -50
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +23 -23
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.css +1 -1
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.js +14 -12
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue2.js +22 -18
- package/dist/components/data/nmorph-progress/NmorphProgress.css +1 -1
- package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +22 -22
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.css +1 -1
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue2.js +18 -19
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.css +1 -1
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +5 -5
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.css +1 -1
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.js +7 -7
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue2.js +4 -4
- package/dist/components/data/nmorph-skeleton/types.js +6 -2
- package/dist/components/data/nmorph-table/NmorphTable.css +1 -1
- package/dist/components/data/nmorph-table/NmorphTable.vue2.js +13 -13
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.css +1 -1
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.js +36 -40
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue2.js +14 -23
- package/dist/components/data/nmorph-tag-list/NmorphTagList.css +1 -1
- package/dist/components/data/nmorph-tag-list/NmorphTagList.vue.js +38 -44
- package/dist/components/data/nmorph-tag-list/NmorphTagList.vue2.js +14 -29
- package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.css +1 -1
- package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue2.js +34 -34
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.css +1 -1
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +26 -22
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.css +1 -1
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue2.js +6 -6
- package/dist/components/feedback/nmorph-alert/NmorphAlert.css +1 -1
- package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +10 -10
- package/dist/components/feedback/nmorph-alert/types.js +6 -1
- package/dist/components/feedback/nmorph-callout/NmorphCallout.css +1 -1
- package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +16 -16
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.css +1 -1
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +36 -35
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.css +1 -1
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +9 -9
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.css +1 -1
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +33 -33
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.css +1 -1
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +21 -21
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.css +1 -1
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.js +21 -18
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +20 -20
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.css +1 -1
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue.js +15 -15
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +30 -31
- package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.js +20 -21
- package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue2.js +28 -28
- package/dist/components/form/nmorph-color-picker/NmorphColorPicker.css +1 -1
- package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +27 -27
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.css +1 -1
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +40 -38
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.js +94 -108
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue2.js +14 -19
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.js +55 -64
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue2.js +32 -37
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.css +1 -1
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.js +10 -10
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +1 -1
- package/dist/components/form/nmorph-file-upload/types.js +34 -16
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.css +1 -1
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.js +12 -12
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +7 -7
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +6 -6
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.css +1 -1
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.js +12 -13
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.css +1 -1
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.js +41 -37
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +28 -28
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.css +1 -1
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue.js +19 -19
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +37 -37
- package/dist/components/form/nmorph-radio/NmorphRadio.css +1 -1
- package/dist/components/form/nmorph-radio/NmorphRadio.vue.js +4 -4
- package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +21 -21
- package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue.js +18 -18
- package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue2.js +21 -21
- package/dist/components/form/nmorph-select/NmorphSelect.css +1 -1
- package/dist/components/form/nmorph-select/NmorphSelect.vue.js +86 -77
- package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +52 -52
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.css +1 -1
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +21 -21
- package/dist/components/form/nmorph-select-button/NmorphSelectButton.css +1 -1
- package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +27 -31
- package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.css +1 -1
- package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.js +13 -11
- package/dist/components/form/nmorph-slider/NmorphSlider.css +1 -1
- package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +52 -47
- package/dist/components/form/nmorph-switch/NmorphSwitch.css +1 -1
- package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +26 -26
- package/dist/components/form/nmorph-text-input/NmorphTextInput.css +1 -1
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +35 -36
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +49 -36
- package/dist/components/form/nmorph-textarea/NmorphTextarea.css +1 -1
- package/dist/components/form/nmorph-textarea/NmorphTextarea.vue2.js +18 -18
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.css +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.js +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +44 -44
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.css +1 -1
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.js +11 -11
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue2.js +15 -15
- package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.css +1 -1
- package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.vue2.js +9 -9
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.css +1 -1
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +6 -5
- package/dist/components/navigation/nmorph-stepper/NmorphStepper.vue2.js +20 -20
- package/dist/components/others/nmorph-divider/NmorphDivider.css +1 -1
- package/dist/components/others/nmorph-divider/NmorphDivider.vue2.js +9 -8
- package/dist/components/others/nmorph-overlay/NmorphOverlay.css +1 -1
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +13 -13
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.css +1 -1
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +35 -25
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +22 -25
- package/dist/components/providers/nmorph-notification-provider/types.js +9 -2
- package/dist/emoji/base.js +571 -20
- package/dist/hooks/use-common-styles.js +228 -49
- package/dist/hooks/use-field-validation.js +42 -45
- package/dist/hooks/use-virtual-list.js +65 -57
- package/dist/icons.js +406 -395
- package/dist/index.es.js +853 -838
- package/dist/index.umd.js +241 -71
- package/dist/package.json.js +1 -1
- package/dist/plugin.js +37 -34
- package/dist/src/components/basic/index.d.ts +2 -0
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +3 -2
- package/dist/src/components/basic/nmorph-button/types.d.ts +18 -19
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +1 -1
- package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +6 -0
- package/dist/src/components/basic/nmorph-icon/types.d.ts +7 -6
- package/dist/src/components/basic/nmorph-link/types.d.ts +9 -8
- package/dist/src/components/basic/nmorph-scroll/types.d.ts +16 -14
- package/dist/src/components/basic/nmorph-text/NmorphText.vue.d.ts +20 -0
- package/dist/src/components/basic/nmorph-text/types.d.ts +12 -0
- package/dist/src/components/data/nmorph-audio-meter/NmorphAudioMeter.vue.d.ts +5 -1
- package/dist/src/components/data/nmorph-audio-meter/types.d.ts +4 -0
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-avatar/types.d.ts +3 -2
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +3 -2
- package/dist/src/components/data/nmorph-badge/types.d.ts +3 -8
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -1
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-calendar/types.d.ts +2 -1
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-card/types.d.ts +2 -1
- package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-carousel/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.d.ts +7 -1
- package/dist/src/components/data/nmorph-emoji-picker/types.d.ts +6 -0
- package/dist/src/components/data/nmorph-empty/NmorphEmpty.vue.d.ts +1 -2
- package/dist/src/components/data/nmorph-file-card/NmorphFileCard.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +3 -0
- package/dist/src/components/data/nmorph-image/types.d.ts +2 -1
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -1
- package/dist/src/components/data/nmorph-image-preview/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-gallery/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-tile/NmorphMediaTile.vue.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-tile/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-pagination/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.d.ts +4 -0
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +2 -3
- package/dist/src/components/data/nmorph-skeleton/types.d.ts +6 -5
- package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-table/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +3 -4
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +2 -3
- package/dist/src/components/data/nmorph-tag-list/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-video-preview/NmorphVideoPreview.vue.d.ts +3 -1
- package/dist/src/components/data/nmorph-video-preview/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-virtual-list/NmorphVirtualList.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-alert/types.d.ts +8 -7
- package/dist/src/components/feedback/nmorph-callout/NmorphCallout.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-dialog/types.d.ts +1 -4
- package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +2 -17
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +2 -15
- package/dist/src/components/form/nmorph-checkbox-group/types.d.ts +4 -6
- package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +2 -1
- package/dist/src/components/form/nmorph-date-picker/types.d.ts +1 -0
- package/dist/src/components/form/nmorph-file-upload/types.d.ts +55 -55
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/types.d.ts +2 -2
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/types.d.ts +2 -2
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +2 -14
- package/dist/src/components/form/nmorph-radio/types.d.ts +6 -4
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +2 -14
- package/dist/src/components/form/nmorph-radio-group/types.d.ts +4 -6
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +2 -4
- package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/types.d.ts +1 -1
- package/dist/src/components/form/nmorph-select-button/types.d.ts +1 -3
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +10 -10
- package/dist/src/components/form/nmorph-slider/types.d.ts +1 -1
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-switch/types.d.ts +1 -1
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +4 -1
- package/dist/src/components/form/nmorph-text-input/types.d.ts +3 -0
- package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -2
- package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +2 -1
- package/dist/src/components/navigation/nmorph-dropdown/types.d.ts +2 -1
- package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +1 -0
- package/dist/src/components/others/nmorph-divider/types.d.ts +2 -0
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
- package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +8 -8
- package/dist/src/hooks/use-field-validation.d.ts +21 -24
- package/dist/src/hooks/use-nmorph-translation.d.ts +2 -2
- package/dist/src/types/app.types.d.ts +0 -5
- package/dist/src/types/common.types.d.ts +91 -35
- package/dist/src/types/date.types.d.ts +6 -5
- package/dist/src/types/image.types.d.ts +16 -12
- package/dist/src/types/selection.types.d.ts +19 -14
- package/dist/src/types/table.types.d.ts +6 -5
- package/dist/src/types/translation.types.d.ts +7 -6
- package/dist/src/utils/common.d.ts +2 -2
- package/dist/src/utils/file-types.d.ts +1 -1
- package/dist/src/utils/theme-style.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/types/common.types.js +73 -8
- package/dist/types/date.types.js +6 -2
- package/dist/types/image.types.js +12 -3
- package/dist/types/table.types.js +5 -2
- package/dist/types/translation.types.js +6 -2
- package/dist/utils/common.js +3 -3
- package/dist/utils/file-types.js +6 -7
- package/dist/utils/theme-style.js +42 -48
- package/package.json +1 -1
- package/dist/types/selection.types.js +0 -4
|
@@ -1,43 +1,99 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
export declare
|
|
3
|
-
thick
|
|
4
|
-
basic
|
|
5
|
-
thin
|
|
6
|
-
}
|
|
7
|
-
export
|
|
2
|
+
export declare const NmorphComponentThickness: {
|
|
3
|
+
readonly thick: "thick-component";
|
|
4
|
+
readonly basic: "basic-component";
|
|
5
|
+
readonly thin: "thin-component";
|
|
6
|
+
};
|
|
7
|
+
export type NmorphComponentThickness = keyof typeof NmorphComponentThickness;
|
|
8
|
+
export declare const NmorphSelectionControlThickness: {
|
|
8
9
|
readonly 'extra-thin': "extra-thin-component";
|
|
9
|
-
readonly thick:
|
|
10
|
-
readonly basic:
|
|
11
|
-
readonly thin:
|
|
12
|
-
};
|
|
13
|
-
export type
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
10
|
+
readonly thick: "thick-component";
|
|
11
|
+
readonly basic: "basic-component";
|
|
12
|
+
readonly thin: "thin-component";
|
|
13
|
+
};
|
|
14
|
+
export type NmorphSelectionControlThicknessType = keyof typeof NmorphSelectionControlThickness;
|
|
15
|
+
export type NmorphSelectionControlPlainThicknessType = NmorphSelectionControlThicknessType;
|
|
16
|
+
export type NmorphSelectionControlNmorphThicknessType = NmorphComponentThickness;
|
|
17
|
+
export declare const NmorphComponentDirection: {
|
|
18
|
+
readonly row: "row";
|
|
19
|
+
readonly column: "column";
|
|
20
|
+
};
|
|
21
|
+
export type NmorphComponentDirection = keyof typeof NmorphComponentDirection;
|
|
22
|
+
export declare const NmorphShadowType: {
|
|
23
|
+
readonly inset: "shadow-inset";
|
|
24
|
+
readonly outset: "shadow-outset";
|
|
25
|
+
readonly combined: "shadow-combined";
|
|
26
|
+
readonly 'not-defined': "shadow-not-defined";
|
|
27
|
+
};
|
|
28
|
+
export type NmorphShadowType = keyof typeof NmorphShadowType;
|
|
29
|
+
export declare const NmorphColor: {
|
|
30
|
+
readonly accent: "accent";
|
|
31
|
+
readonly success: "success";
|
|
32
|
+
readonly error: "error";
|
|
33
|
+
readonly warning: "warning";
|
|
34
|
+
};
|
|
35
|
+
export type NmorphColor = keyof typeof NmorphColor;
|
|
36
|
+
export declare const NmorphComponentPosition: {
|
|
37
|
+
readonly left: "left";
|
|
38
|
+
readonly right: "right";
|
|
39
|
+
readonly top: "top";
|
|
40
|
+
readonly bottom: "bottom";
|
|
41
|
+
};
|
|
42
|
+
export type NmorphComponentPosition = keyof typeof NmorphComponentPosition;
|
|
36
43
|
export type NmorphPlacementSideType = keyof typeof NmorphComponentPosition;
|
|
37
44
|
export type NmorphPlacementAlignType = 'start' | 'center' | 'end';
|
|
38
45
|
export type NmorphPlacementType = NmorphPlacementSideType | `${NmorphPlacementSideType}-${NmorphPlacementAlignType}`;
|
|
39
46
|
export type NmorphDomElementType = HTMLElement | null;
|
|
40
|
-
export
|
|
47
|
+
export declare const NmorphElementDesign: {
|
|
48
|
+
readonly nmorph: "nmorph";
|
|
49
|
+
readonly plain: "plain";
|
|
50
|
+
};
|
|
51
|
+
export type NmorphElementDesignType = keyof typeof NmorphElementDesign;
|
|
52
|
+
export declare const NmorphTypographyVariant: {
|
|
53
|
+
readonly 'display-large': "display-large";
|
|
54
|
+
readonly 'display-medium': "display-medium";
|
|
55
|
+
readonly 'title-large': "title-large";
|
|
56
|
+
readonly title: "title";
|
|
57
|
+
readonly 'title-small': "title-small";
|
|
58
|
+
readonly 'body-large': "body-large";
|
|
59
|
+
readonly body: "body";
|
|
60
|
+
readonly 'body-small': "body-small";
|
|
61
|
+
readonly caption: "caption";
|
|
62
|
+
readonly label: "label";
|
|
63
|
+
readonly 'control-large': "control-large";
|
|
64
|
+
readonly control: "control";
|
|
65
|
+
readonly 'control-small': "control-small";
|
|
66
|
+
readonly 'control-tiny': "control-tiny";
|
|
67
|
+
};
|
|
68
|
+
export type NmorphTypographyVariantType = keyof typeof NmorphTypographyVariant;
|
|
69
|
+
export declare const NmorphTypographyWeight: {
|
|
70
|
+
readonly regular: "regular";
|
|
71
|
+
readonly medium: "medium";
|
|
72
|
+
readonly semibold: "semibold";
|
|
73
|
+
readonly bold: "bold";
|
|
74
|
+
readonly extrabold: "extrabold";
|
|
75
|
+
};
|
|
76
|
+
export type NmorphTypographyWeightType = keyof typeof NmorphTypographyWeight;
|
|
77
|
+
export declare const NmorphTypographyColor: {
|
|
78
|
+
readonly text: "text";
|
|
79
|
+
readonly 'semi-contrast': "semi-contrast";
|
|
80
|
+
readonly placeholder: "placeholder";
|
|
81
|
+
readonly focus: "focus";
|
|
82
|
+
readonly accent: "accent";
|
|
83
|
+
readonly success: "success";
|
|
84
|
+
readonly warning: "warning";
|
|
85
|
+
readonly error: "error";
|
|
86
|
+
readonly white: "white";
|
|
87
|
+
};
|
|
88
|
+
export type NmorphTypographyColorType = keyof typeof NmorphTypographyColor;
|
|
89
|
+
export declare const NmorphTextAlign: {
|
|
90
|
+
readonly left: "left";
|
|
91
|
+
readonly center: "center";
|
|
92
|
+
readonly right: "right";
|
|
93
|
+
readonly justify: "justify";
|
|
94
|
+
readonly inherit: "inherit";
|
|
95
|
+
};
|
|
96
|
+
export type NmorphTextAlignType = keyof typeof NmorphTextAlign;
|
|
41
97
|
export interface INmorphCoords<T> {
|
|
42
98
|
x: T;
|
|
43
99
|
y: T;
|
|
@@ -56,7 +112,7 @@ export interface INmorphCommonInputProps {
|
|
|
56
112
|
id?: string;
|
|
57
113
|
name?: string;
|
|
58
114
|
autocomplete?: string;
|
|
59
|
-
|
|
115
|
+
thickness?: NmorphComponentThickness;
|
|
60
116
|
disabled?: boolean;
|
|
61
117
|
tabindex?: number;
|
|
62
118
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export declare const NmorphSelectionDateType: {
|
|
2
|
+
readonly date: "date";
|
|
3
|
+
readonly dates: "dates";
|
|
4
|
+
readonly daterange: "daterange";
|
|
5
|
+
};
|
|
6
|
+
export type NmorphSelectionDateType = keyof typeof NmorphSelectionDateType;
|
|
6
7
|
export type NmorphInnerPickerType = 'calendar' | 'year' | 'month';
|
|
7
8
|
export type NmorphDatePickerControlsType = 'decrease' | 'increase';
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
circle
|
|
3
|
-
square
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
export declare const AvatarShapeType: {
|
|
2
|
+
readonly circle: "circle";
|
|
3
|
+
readonly square: "square";
|
|
4
|
+
};
|
|
5
|
+
export type AvatarShapeType = keyof typeof AvatarShapeType;
|
|
6
|
+
export declare const NmorphImageFit: {
|
|
7
|
+
readonly fill: "fill";
|
|
8
|
+
readonly contain: "contain";
|
|
9
|
+
readonly cover: "cover";
|
|
10
|
+
readonly none: "none";
|
|
11
|
+
readonly 'scale-down': "scale-down";
|
|
12
|
+
};
|
|
13
|
+
export type NmorphImageFit = keyof typeof NmorphImageFit;
|
|
12
14
|
export interface INmorphImage {
|
|
13
15
|
src?: string;
|
|
14
16
|
srcSet?: string;
|
|
15
|
-
|
|
17
|
+
width?: number | string;
|
|
18
|
+
height?: number | string;
|
|
19
|
+
fit?: NmorphImageFit;
|
|
16
20
|
alt?: string;
|
|
17
21
|
}
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
2
|
+
import { NmorphSelectionControlNmorphThicknessType, NmorphSelectionControlPlainThicknessType } from './common.types';
|
|
3
|
+
export type NmorphSelectionControlDesignProps = {
|
|
4
|
+
design: 'plain';
|
|
5
|
+
thickness?: NmorphSelectionControlPlainThicknessType;
|
|
6
|
+
} | {
|
|
7
|
+
design?: 'nmorph';
|
|
8
|
+
thickness?: NmorphSelectionControlNmorphThicknessType;
|
|
9
|
+
};
|
|
10
|
+
type INmorphCheckboxOptionBase = {
|
|
4
11
|
id?: string;
|
|
5
12
|
disabled?: boolean;
|
|
6
13
|
modelValue?: boolean;
|
|
7
14
|
label?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
};
|
|
16
|
+
export type INmorphCheckboxOption = INmorphCheckboxOptionBase & NmorphSelectionControlDesignProps;
|
|
17
|
+
export type INmorphCheckboxGroupOption = Omit<INmorphCheckboxOptionBase, 'modelValue'> & {
|
|
18
|
+
id: string;
|
|
19
|
+
} & NmorphSelectionControlDesignProps;
|
|
12
20
|
export type NmorphCheckboxGroupSelectedValueInjectionType = Ref<string[]>;
|
|
13
|
-
export type NmorphCheckboxGroupChangeCheckboxValueHandlerInjectionType = (value: string
|
|
14
|
-
|
|
21
|
+
export type NmorphCheckboxGroupChangeCheckboxValueHandlerInjectionType = (value: string) => void;
|
|
22
|
+
type INmorphRadioOptionBase = {
|
|
15
23
|
disabled?: boolean;
|
|
16
24
|
label?: string;
|
|
17
25
|
value: string;
|
|
18
26
|
tabindex?: number;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare enum NmorphRadioStyleType {
|
|
22
|
-
'radio-style' = "radio-style",
|
|
23
|
-
'button' = "button"
|
|
24
|
-
}
|
|
27
|
+
};
|
|
28
|
+
export type INmorphRadioOption = INmorphRadioOptionBase & NmorphSelectionControlDesignProps;
|
|
25
29
|
export type NmorphRadioGroupSelectedValueInjectionType = Ref<string>;
|
|
26
30
|
export type NmorphRadioChangeRadioButtonValueHandlerInjectionType = (value: string) => void;
|
|
31
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export type NmorphSortOrderType =
|
|
2
|
-
export declare
|
|
3
|
-
ascending
|
|
4
|
-
descending
|
|
5
|
-
}
|
|
1
|
+
export type NmorphSortOrderType = NmorphSortOrder | undefined;
|
|
2
|
+
export declare const NmorphSortOrder: {
|
|
3
|
+
readonly ascending: "ascending";
|
|
4
|
+
readonly descending: "descending";
|
|
5
|
+
};
|
|
6
|
+
export type NmorphSortOrder = keyof typeof NmorphSortOrder;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { I18n } from 'vue-i18n';
|
|
2
|
-
export declare
|
|
3
|
-
en
|
|
4
|
-
ru
|
|
5
|
-
zh
|
|
6
|
-
}
|
|
2
|
+
export declare const Locale: {
|
|
3
|
+
readonly en: "en";
|
|
4
|
+
readonly ru: "ru";
|
|
5
|
+
readonly zh: "zh";
|
|
6
|
+
};
|
|
7
|
+
export type Locale = keyof typeof Locale;
|
|
7
8
|
export type TranslateType = Partial<Record<keyof typeof Locale, TranslateMessages>> & {
|
|
8
9
|
en: TranslateMessages;
|
|
9
10
|
};
|
|
@@ -16,5 +17,5 @@ export interface LibraryOptions {
|
|
|
16
17
|
export interface INmorphApplyTranslation {
|
|
17
18
|
outsideMessagesMerge?: boolean;
|
|
18
19
|
messages?: TranslateType;
|
|
19
|
-
locale?:
|
|
20
|
+
locale?: Locale;
|
|
20
21
|
}
|
|
@@ -4,8 +4,8 @@ export declare const toCssSize: (value?: number | string) => string;
|
|
|
4
4
|
export type NmorphCssVariableValue = string | number | null | undefined | false;
|
|
5
5
|
export declare const createCssVariables: (variables: Record<`--${string}`, NmorphCssVariableValue>) => Record<string, string | number>;
|
|
6
6
|
export declare const createCssSizeVariables: (variables: Record<`--${string}`, number | string | null | undefined | false>) => Record<string, string | number>;
|
|
7
|
-
type
|
|
8
|
-
export declare const getNmorphOptionHeight: (
|
|
7
|
+
type NmorphOptionThicknessType = 'basic' | 'thick' | 'thin';
|
|
8
|
+
export declare const getNmorphOptionHeight: (thickness?: NmorphOptionThicknessType) => number;
|
|
9
9
|
export declare const resolveDomElement: (element: unknown) => Element | null;
|
|
10
10
|
export declare const generateUUID: () => string;
|
|
11
11
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NmorphResolutionType } from '../components/form/nmorph-file-upload/types';
|
|
2
2
|
export declare const getPlainFileType: (mimeType: string) => string;
|
|
3
3
|
export declare const getFileExtension: (fileName: string) => string;
|
|
4
|
-
export declare const getKnownResolutionByMime: (mimeType: string) => "" | "zip" | "rar" | "7z" | "pdf" | "msword" | "docx" | "xls" | "xlsx" | "ppt" | "pptx" | "json" | "xml" | "mpeg" | "audio-ogg" | "wav" | "mp4" | "webm" | "video-ogg" | "
|
|
4
|
+
export declare const getKnownResolutionByMime: (mimeType: string) => "" | "zip" | "rar" | "7z" | "pdf" | "msword" | "docx" | "xls" | "xlsx" | "ppt" | "pptx" | "json" | "xml" | "mpeg" | "audio-ogg" | "wav" | "mp4" | "webm" | "video-ogg" | "jpeg" | "jpg" | "png" | "gif" | "svg-xml" | "webp";
|
|
5
5
|
export declare const getTypeCandidates: (mimeType: string, fileName?: string) => string[];
|
|
6
6
|
export declare const getFileTypeCandidates: (file: File) => string[];
|
|
7
7
|
export declare const isKnownFileType: <T extends Record<string, string>>(fileType: string, fileTypeMap: T) => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const typography: (variant?: string) => string;
|
|
1
2
|
export declare const body4: () => string;
|
|
2
3
|
export declare const body3: () => string;
|
|
3
4
|
export declare const body2: () => string;
|
|
@@ -10,6 +11,7 @@ export declare const nmorphOutset: () => string;
|
|
|
10
11
|
export declare const nmorphInset: () => string;
|
|
11
12
|
export declare const nmorphBorder: (borderWidth: number) => string;
|
|
12
13
|
export declare const nmorphCombined: (borderWidth?: number, isInsetDark?: boolean) => string;
|
|
14
|
+
export declare const nmorphPlainSurface: () => string;
|
|
13
15
|
export declare const disabled: () => string;
|
|
14
16
|
export declare const ellipsis: () => string;
|
|
15
17
|
export declare const focusOutline: () => string;
|