@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
package/dist/package.json.js
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -1,57 +1,60 @@
|
|
|
1
|
-
import { useCommonStyles as
|
|
1
|
+
import { useCommonStyles as i } from "./hooks/use-common-styles.js";
|
|
2
2
|
import { getCommonStyles as L } from "./hooks/use-common-styles.js";
|
|
3
|
-
import { useNmorphTranslation as
|
|
4
|
-
import { useNmorphBrowser as
|
|
3
|
+
import { useNmorphTranslation as c } from "./hooks/use-nmorph-translation.js";
|
|
4
|
+
import { useNmorphBrowser as f } from "./outside-hooks/use-nmorph-browser.js";
|
|
5
5
|
import { useNmorphTheme as N } from "./outside-hooks/use-nmorph-theme.js";
|
|
6
6
|
import { getNmorphThemeStyles as M } from "./outside-hooks/use-nmorph-theme.js";
|
|
7
7
|
import { useNmorphZIndex as g } from "./outside-hooks/use-nmorph-z-index.js";
|
|
8
8
|
import { default as z } from "./locales/ru.js";
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { nmorphLog as
|
|
9
|
+
import { default as E } from "./locales/zh.js";
|
|
10
|
+
import { default as A } from "./locales/en.js";
|
|
11
|
+
import { nmorphLog as O } from "./outside-utils/index.js";
|
|
12
12
|
import { useNmorph as F } from "./outside-hooks/use-nmorph.js";
|
|
13
13
|
import { useNmorphNotification as P } from "./outside-hooks/use-nmorph-notification.js";
|
|
14
|
-
import { AvatarShapeType as
|
|
15
|
-
import { Locale as
|
|
16
|
-
import { NmorphColor as K, NmorphComponentDirection as Q,
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { NmorphSortOrder as mo } from "./types/table.types.js";
|
|
14
|
+
import { AvatarShapeType as W, NmorphImageFit as Z } from "./types/image.types.js";
|
|
15
|
+
import { Locale as H } from "./types/translation.types.js";
|
|
16
|
+
import { NmorphColor as K, NmorphComponentDirection as Q, NmorphComponentPosition as R, NmorphComponentThickness as X, NmorphElementDesign as Y, NmorphSelectionControlThickness as $, NmorphShadowType as V, NmorphTextAlign as oo, NmorphTypographyColor as eo, NmorphTypographyVariant as ro, NmorphTypographyWeight as to } from "./types/common.types.js";
|
|
17
|
+
import { NmorphSelectionDateType as no } from "./types/date.types.js";
|
|
18
|
+
import { NmorphSortOrder as ao } from "./types/table.types.js";
|
|
20
19
|
const x = {
|
|
21
20
|
install(o, r = {}) {
|
|
22
21
|
if (!r?.i18n?.outsideMessagesMerge) {
|
|
23
|
-
const e =
|
|
24
|
-
t?.mergeLocaleMessage ? (e.global.messages.value && Object.entries(e.global.messages.value).forEach(([
|
|
25
|
-
t.mergeLocaleMessage?.(
|
|
26
|
-
}), t.locale && e.global.locale.value && (t.locale.value = e.global.locale.value)) :
|
|
22
|
+
const e = c(r.i18n), t = o.__VUE_I18N__?.global, s = !!(o.component("i18n-t") || o.component("I18nT") || o.directive("t"));
|
|
23
|
+
t?.mergeLocaleMessage ? (e.global.messages.value && Object.entries(e.global.messages.value).forEach(([l, h]) => {
|
|
24
|
+
t.mergeLocaleMessage?.(l, h);
|
|
25
|
+
}), t.locale && e.global.locale.value && (t.locale.value = e.global.locale.value)) : s || o.use(e);
|
|
27
26
|
}
|
|
28
|
-
|
|
29
|
-
const m = N(r.theme), n =
|
|
30
|
-
return o.provide("nmorph",
|
|
27
|
+
i();
|
|
28
|
+
const m = N(r.theme), n = f(), p = g(r.zIndex), a = { theme: m, browser: n, zIndex: p };
|
|
29
|
+
return o.provide("nmorph", a), o;
|
|
31
30
|
}
|
|
32
|
-
},
|
|
31
|
+
}, v = x;
|
|
33
32
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
W as AvatarShapeType,
|
|
34
|
+
H as Locale,
|
|
36
35
|
K as NmorphColor,
|
|
37
36
|
Q as NmorphComponentDirection,
|
|
38
|
-
|
|
39
|
-
X as
|
|
37
|
+
R as NmorphComponentPosition,
|
|
38
|
+
X as NmorphComponentThickness,
|
|
39
|
+
Y as NmorphElementDesign,
|
|
40
40
|
Z as NmorphImageFit,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
v as NmorphLibrary,
|
|
42
|
+
$ as NmorphSelectionControlThickness,
|
|
43
|
+
no as NmorphSelectionDateType,
|
|
44
|
+
V as NmorphShadowType,
|
|
45
|
+
ao as NmorphSortOrder,
|
|
46
|
+
oo as NmorphTextAlign,
|
|
47
|
+
eo as NmorphTypographyColor,
|
|
48
|
+
ro as NmorphTypographyVariant,
|
|
49
|
+
to as NmorphTypographyWeight,
|
|
50
|
+
A as en,
|
|
48
51
|
L as getCommonStyles,
|
|
49
52
|
M as getNmorphThemeStyles,
|
|
50
|
-
|
|
53
|
+
O as nmorphLog,
|
|
51
54
|
z as ru,
|
|
52
55
|
F as useNmorph,
|
|
53
|
-
|
|
56
|
+
f as useNmorphBrowser,
|
|
54
57
|
P as useNmorphNotification,
|
|
55
58
|
N as useNmorphTheme,
|
|
56
|
-
|
|
59
|
+
E as zh
|
|
57
60
|
};
|
|
@@ -9,3 +9,5 @@ export * from './nmorph-link/types';
|
|
|
9
9
|
export { default as NmorphScroll } from './nmorph-scroll/NmorphScroll.vue';
|
|
10
10
|
export * from './nmorph-scroll/types';
|
|
11
11
|
export { default as NmorphSpace } from './nmorph-space/NmorphSpace.vue';
|
|
12
|
+
export { default as NmorphText } from './nmorph-text/NmorphText.vue';
|
|
13
|
+
export * from './nmorph-text/types';
|
|
@@ -8,7 +8,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphButtonPr
|
|
|
8
8
|
"onUpdate:model-value"?: (val: boolean) => any;
|
|
9
9
|
}>, {
|
|
10
10
|
fill: boolean;
|
|
11
|
-
|
|
11
|
+
design: "nmorph" | "plain";
|
|
12
|
+
borderless: boolean;
|
|
12
13
|
color: string;
|
|
13
14
|
loading: boolean;
|
|
14
15
|
ripple: boolean;
|
|
@@ -21,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphButtonPr
|
|
|
21
22
|
modelValue: boolean;
|
|
22
23
|
active: boolean;
|
|
23
24
|
danger: boolean;
|
|
24
|
-
|
|
25
|
+
thickness: "basic" | "thick" | "thin";
|
|
25
26
|
disabled: boolean;
|
|
26
27
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
27
28
|
buttonDOMElement: HTMLButtonElement;
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
circle = "circle"
|
|
16
|
-
}
|
|
1
|
+
import { INmorphCommonInputProps, NmorphElementDesignType } from '../../../types';
|
|
2
|
+
export declare const NmorphButtonType: {
|
|
3
|
+
readonly submit: "submit";
|
|
4
|
+
readonly reset: "reset";
|
|
5
|
+
readonly button: "button";
|
|
6
|
+
};
|
|
7
|
+
export type NmorphButtonType = keyof typeof NmorphButtonType;
|
|
8
|
+
export declare const NmorphButtonShape: {
|
|
9
|
+
readonly default: "default";
|
|
10
|
+
readonly square: "square";
|
|
11
|
+
readonly round: "round";
|
|
12
|
+
readonly circle: "circle";
|
|
13
|
+
};
|
|
14
|
+
export type NmorphButtonShape = keyof typeof NmorphButtonShape;
|
|
17
15
|
export interface INmorphButtonProps extends INmorphCommonInputProps {
|
|
18
|
-
|
|
16
|
+
design?: NmorphElementDesignType;
|
|
17
|
+
borderless?: boolean;
|
|
19
18
|
color?: string;
|
|
20
19
|
loading?: boolean;
|
|
21
20
|
ripple?: boolean;
|
|
22
|
-
type?:
|
|
21
|
+
type?: NmorphButtonType;
|
|
23
22
|
text?: string | number;
|
|
24
23
|
accentBgOnHover?: boolean;
|
|
25
|
-
shape?:
|
|
24
|
+
shape?: NmorphButtonShape;
|
|
26
25
|
fill?: boolean;
|
|
27
26
|
tabindex?: number;
|
|
28
27
|
toggle?: boolean;
|
|
@@ -2,9 +2,9 @@ import { INmorphIconProps } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphIconProps> & Readonly<{}>, {
|
|
4
4
|
color: string;
|
|
5
|
-
height: string;
|
|
6
5
|
size: "small" | "medium" | "large";
|
|
7
6
|
width: string;
|
|
7
|
+
height: string;
|
|
8
8
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
}>;
|
|
@@ -133,6 +133,7 @@ export { default as NmorphIconGoods } from '../../../assets/icons/goods.svg';
|
|
|
133
133
|
export { default as NmorphIconGrape } from '../../../assets/icons/grape.svg';
|
|
134
134
|
export { default as NmorphIconGrid } from '../../../assets/icons/grid.svg';
|
|
135
135
|
export { default as NmorphIconGuide } from '../../../assets/icons/guide.svg';
|
|
136
|
+
export { default as NmorphIconHand } from '../../../assets/icons/hand.svg';
|
|
136
137
|
export { default as NmorphIconHandbag } from '../../../assets/icons/handbag.svg';
|
|
137
138
|
export { default as NmorphIconHeadset } from '../../../assets/icons/headset.svg';
|
|
138
139
|
export { default as NmorphIconHistogram } from '../../../assets/icons/histogram.svg';
|
|
@@ -150,6 +151,7 @@ export { default as NmorphIconKnifeFork } from '../../../assets/icons/knife-fork
|
|
|
150
151
|
export { default as NmorphIconLightning } from '../../../assets/icons/lightning.svg';
|
|
151
152
|
export { default as NmorphIconLink } from '../../../assets/icons/link.svg';
|
|
152
153
|
export { default as NmorphIconList } from '../../../assets/icons/list.svg';
|
|
154
|
+
export { default as NmorphIconListSimple } from '../../../assets/icons/list-simple.svg';
|
|
153
155
|
export { default as NmorphIconLoaderDots } from '../../../assets/icons/loader.svg';
|
|
154
156
|
export { default as NmorphIconLoader } from '../../../assets/icons/loading.svg';
|
|
155
157
|
export { default as NmorphIconLoader1 } from '../../../assets/icons/loader.svg';
|
|
@@ -186,6 +188,7 @@ export { default as NmorphIconMouse } from '../../../assets/icons/mouse.svg';
|
|
|
186
188
|
export { default as NmorphIconMug } from '../../../assets/icons/mug.svg';
|
|
187
189
|
export { default as NmorphIconMuteNotification } from '../../../assets/icons/mute-notification.svg';
|
|
188
190
|
export { default as NmorphIconMute } from '../../../assets/icons/mute.svg';
|
|
191
|
+
export { default as NmorphIconMuteSpeaker } from '../../../assets/icons/mute-speaker.svg';
|
|
189
192
|
export { default as NmorphIconNoSmoking } from '../../../assets/icons/no-smoking.svg';
|
|
190
193
|
export { default as NmorphIconNotebook } from '../../../assets/icons/notebook.svg';
|
|
191
194
|
export { default as NmorphIconNotification } from '../../../assets/icons/notification.svg';
|
|
@@ -266,6 +269,8 @@ export { default as NmorphIconSoldOut } from '../../../assets/icons/sold-out.svg
|
|
|
266
269
|
export { default as NmorphIconSortDown } from '../../../assets/icons/sort-down.svg';
|
|
267
270
|
export { default as NmorphIconSortUp } from '../../../assets/icons/sort-up.svg';
|
|
268
271
|
export { default as NmorphIconSort } from '../../../assets/icons/sort.svg';
|
|
272
|
+
export { default as NmorphIconSpeakerOff } from '../../../assets/icons/mute-speaker.svg';
|
|
273
|
+
export { default as NmorphIconSpeaker } from '../../../assets/icons/speaker.svg';
|
|
269
274
|
export { default as NmorphIconStamp } from '../../../assets/icons/stamp.svg';
|
|
270
275
|
export { default as NmorphIconStarFilled } from '../../../assets/icons/star-filled.svg';
|
|
271
276
|
export { default as NmorphIconStar } from '../../../assets/icons/star.svg';
|
|
@@ -305,6 +310,7 @@ export { default as NmorphIconUserFilled } from '../../../assets/icons/user-fill
|
|
|
305
310
|
export { default as NmorphIconUser } from '../../../assets/icons/user.svg';
|
|
306
311
|
export { default as NmorphIconUsers } from '../../../assets/icons/users.svg';
|
|
307
312
|
export { default as NmorphIconVan } from '../../../assets/icons/van.svg';
|
|
313
|
+
export { default as NmorphIconVideoCameraOff } from '../../../assets/icons/video-camera-off.svg';
|
|
308
314
|
export { default as NmorphIconVideoCamera } from '../../../assets/icons/video-camera.svg';
|
|
309
315
|
export { default as NmorphIconVideoPause } from '../../../assets/icons/video-pause.svg';
|
|
310
316
|
export { default as NmorphIconVideoPlay } from '../../../assets/icons/video-play.svg';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
small
|
|
3
|
-
medium
|
|
4
|
-
large
|
|
5
|
-
}
|
|
1
|
+
export declare const NmorphIconSize: {
|
|
2
|
+
readonly small: "small";
|
|
3
|
+
readonly medium: "medium";
|
|
4
|
+
readonly large: "large";
|
|
5
|
+
};
|
|
6
|
+
export type NmorphIconSize = keyof typeof NmorphIconSize;
|
|
6
7
|
export interface INmorphIconProps {
|
|
7
|
-
size?:
|
|
8
|
+
size?: NmorphIconSize;
|
|
8
9
|
width?: string;
|
|
9
10
|
height?: string;
|
|
10
11
|
color?: string;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { NmorphColor } from '../../../types';
|
|
2
2
|
export type NmorphLinkReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
3
|
-
export declare
|
|
4
|
-
self
|
|
5
|
-
blank
|
|
6
|
-
parent
|
|
7
|
-
top
|
|
8
|
-
}
|
|
3
|
+
export declare const NmorphLinkTarget: {
|
|
4
|
+
readonly self: "_self";
|
|
5
|
+
readonly blank: "_blank";
|
|
6
|
+
readonly parent: "_parent";
|
|
7
|
+
readonly top: "_top";
|
|
8
|
+
};
|
|
9
|
+
export type NmorphLinkTarget = keyof typeof NmorphLinkTarget;
|
|
9
10
|
export interface INmorphLinkProps {
|
|
10
|
-
type?:
|
|
11
|
+
type?: NmorphColor;
|
|
11
12
|
underline?: boolean;
|
|
12
13
|
href?: string;
|
|
13
14
|
text?: string;
|
|
14
|
-
target?:
|
|
15
|
+
target?: NmorphLinkTarget;
|
|
15
16
|
rel?: string;
|
|
16
17
|
referrerpolicy?: NmorphLinkReferrerPolicy;
|
|
17
18
|
referrerPolicy?: NmorphLinkReferrerPolicy;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { INmorphCoords, NmorphDomElementType } from '../../../types';
|
|
2
2
|
export type NmorphCoordsType = INmorphCoords<number>;
|
|
3
|
-
export declare
|
|
4
|
-
auto
|
|
5
|
-
hidden
|
|
6
|
-
scroll
|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export type
|
|
3
|
+
export declare const NmorphOverflowProp: {
|
|
4
|
+
readonly auto: "auto";
|
|
5
|
+
readonly hidden: "hidden";
|
|
6
|
+
readonly scroll: "scroll";
|
|
7
|
+
};
|
|
8
|
+
export type NmorphOverflowProp = keyof typeof NmorphOverflowProp;
|
|
9
|
+
export declare const NmorphScrollBehavior: {
|
|
10
|
+
readonly auto: "auto";
|
|
11
|
+
readonly smooth: "smooth";
|
|
12
|
+
readonly inherit: "inherit";
|
|
13
|
+
readonly initial: "initial";
|
|
14
|
+
readonly unset: "unset";
|
|
15
|
+
};
|
|
16
|
+
export type NmorphScrollBehavior = keyof typeof NmorphScrollBehavior;
|
|
17
|
+
export type NmorphScrollOverflowType = NmorphOverflowProp;
|
|
18
|
+
export type NmorphScrollBehaviorType = NmorphScrollBehavior;
|
|
17
19
|
export interface INmorphScrollProps {
|
|
18
20
|
height?: string;
|
|
19
21
|
maxHeight?: string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { INmorphTextProps, NmorphTextTag } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphTextProps> & Readonly<{}>, {
|
|
4
|
+
color: string;
|
|
5
|
+
align: "left" | "right" | "inherit" | "center" | "justify";
|
|
6
|
+
as: NmorphTextTag;
|
|
7
|
+
variant: "body" | "caption" | "body-small" | "body-large" | "label" | "title-small" | "title" | "title-large" | "display-large" | "display-medium" | "control-large" | "control" | "control-small" | "control-tiny";
|
|
8
|
+
weight: "bold" | "medium" | "regular" | "semibold" | "extrabold";
|
|
9
|
+
truncate: boolean;
|
|
10
|
+
nowrap: boolean;
|
|
11
|
+
lineClamp: number;
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NmorphTextAlignType, NmorphTypographyColorType, NmorphTypographyVariantType, NmorphTypographyWeightType } from '../../../types';
|
|
2
|
+
export type NmorphTextTag = 'span' | 'p' | 'div' | 'label' | 'strong' | 'em' | 'small' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
3
|
+
export interface INmorphTextProps {
|
|
4
|
+
as?: NmorphTextTag;
|
|
5
|
+
variant?: NmorphTypographyVariantType;
|
|
6
|
+
weight?: NmorphTypographyWeightType;
|
|
7
|
+
color?: NmorphTypographyColorType | string;
|
|
8
|
+
align?: NmorphTextAlignType;
|
|
9
|
+
truncate?: boolean;
|
|
10
|
+
nowrap?: boolean;
|
|
11
|
+
lineClamp?: number;
|
|
12
|
+
}
|
|
@@ -3,10 +3,14 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
declare const _default: DefineComponent<INmorphAudioMeterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphAudioMeterProps> & Readonly<{}>, {
|
|
4
4
|
value: number;
|
|
5
5
|
label: string;
|
|
6
|
+
color: string;
|
|
7
|
+
variant: NmorphAudioMeterVariant;
|
|
6
8
|
bars: number;
|
|
7
9
|
volumeDb: number;
|
|
8
|
-
variant: NmorphAudioMeterVariant;
|
|
9
10
|
warnThreshold: number;
|
|
10
11
|
errorThreshold: number;
|
|
12
|
+
warnColor: string;
|
|
13
|
+
errorColor: string;
|
|
14
|
+
trackColor: string;
|
|
11
15
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
16
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { INmorphImage, AvatarShapeType } from '../../../types';
|
|
1
|
+
import { INmorphImage, AvatarShapeType, NmorphElementDesignType } from '../../../types';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
export interface INmorphAvatarProps extends Omit<INmorphImage, 'src'> {
|
|
3
|
+
export interface INmorphAvatarProps extends Omit<INmorphImage, 'src' | 'width' | 'height'> {
|
|
4
|
+
design?: NmorphElementDesignType;
|
|
4
5
|
src?: string | string[];
|
|
5
6
|
size?: number;
|
|
6
7
|
shape?: keyof typeof AvatarShapeType;
|
|
@@ -11,10 +11,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphBadgePro
|
|
|
11
11
|
max: number;
|
|
12
12
|
ribbonCorner: NmorphBadgeRibbonCorner;
|
|
13
13
|
ribbonTilt: boolean;
|
|
14
|
-
isDot: boolean;
|
|
15
|
-
isTag: boolean;
|
|
16
14
|
hideOnFalsyValue: boolean;
|
|
15
|
+
dotSize: string | number;
|
|
17
16
|
ribbonSize: string | number;
|
|
17
|
+
ribbonWidth: string | number;
|
|
18
|
+
ribbonCornerSize: string | number;
|
|
18
19
|
ribbonRadius: string | number;
|
|
19
20
|
offsetY: number;
|
|
20
21
|
offsetX: number;
|
|
@@ -7,19 +7,14 @@ export interface INmorphBadgeProps {
|
|
|
7
7
|
type?: NmorphBadgeType;
|
|
8
8
|
ribbonCorner?: NmorphBadgeRibbonCorner;
|
|
9
9
|
ribbonTilt?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `type="dot"` instead.
|
|
12
|
-
*/
|
|
13
|
-
isDot?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use `type="tag"` instead.
|
|
16
|
-
*/
|
|
17
|
-
isTag?: boolean;
|
|
18
10
|
hidden?: boolean;
|
|
19
11
|
hideOnFalsyValue?: boolean;
|
|
20
12
|
color?: string;
|
|
21
13
|
size?: NmorphBadgeSize;
|
|
14
|
+
dotSize?: number | string;
|
|
22
15
|
ribbonSize?: number | string;
|
|
16
|
+
ribbonWidth?: number | string;
|
|
17
|
+
ribbonCornerSize?: number | string;
|
|
23
18
|
ribbonRadius?: number | string;
|
|
24
19
|
offsetY?: number;
|
|
25
20
|
offsetX?: number;
|
|
@@ -8,6 +8,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCalendar
|
|
|
8
8
|
"onUpdate:model-value"?: (date: NmorphSelectedDateModelType) => any;
|
|
9
9
|
"onUpdate-initial-date"?: (date: Date) => any;
|
|
10
10
|
}>, {
|
|
11
|
+
design: "nmorph" | "plain";
|
|
11
12
|
type: "date" | "dates" | "daterange";
|
|
12
13
|
modelValue: NmorphSelectedDateModelType;
|
|
13
14
|
range: [Date, Date];
|
|
@@ -8,7 +8,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCalendar
|
|
|
8
8
|
"onClick-previous-month"?: () => any;
|
|
9
9
|
"onClick-today"?: () => any;
|
|
10
10
|
"onClick-next-month"?: () => any;
|
|
11
|
-
}>, {
|
|
11
|
+
}>, {
|
|
12
|
+
design: "nmorph" | "plain";
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
12
14
|
default?(_: {}): any;
|
|
13
15
|
}>;
|
|
14
16
|
export default _default;
|
package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/types.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { NmorphElementDesignType } from '../../../../../types';
|
|
1
2
|
export interface INmorphCalendarHeaderProps {
|
|
2
3
|
year: number;
|
|
3
4
|
month: number;
|
|
4
5
|
showPreviousMonthButton: boolean;
|
|
5
6
|
showNextMonthButton: boolean;
|
|
6
7
|
showTodayButton: boolean;
|
|
8
|
+
design?: NmorphElementDesignType;
|
|
7
9
|
}
|
|
8
10
|
export interface INmorphCalendarHeaderEmit {
|
|
9
11
|
(e: 'click-previous-month'): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NmorphSelectionDateType } from '../../../types';
|
|
1
|
+
import { NmorphElementDesignType, NmorphSelectionDateType } from '../../../types';
|
|
2
2
|
export type NmorphCalendarDateType = 'current' | 'previous' | 'next';
|
|
3
3
|
export interface INmorphCalendarDate {
|
|
4
4
|
monthType: NmorphCalendarDateType;
|
|
@@ -25,6 +25,7 @@ export interface INmorphCalendarProps {
|
|
|
25
25
|
type?: keyof typeof NmorphSelectionDateType;
|
|
26
26
|
modelValue?: NmorphSelectedDateModelType;
|
|
27
27
|
cellHeight?: number | string;
|
|
28
|
+
design?: NmorphElementDesignType;
|
|
28
29
|
}
|
|
29
30
|
export interface INmorphCalendarEmit {
|
|
30
31
|
(e: 'update:model-value', date: NmorphSelectedDateModelType): void;
|
|
@@ -2,6 +2,7 @@ import { INmorphCardProps } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphCardProps> & Readonly<{}>, {
|
|
4
4
|
fill: boolean;
|
|
5
|
+
design: "nmorph" | "plain";
|
|
5
6
|
tag: string;
|
|
6
7
|
contentClass: string;
|
|
7
8
|
radius: string | number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { NmorphShadowType } from '../../../types';
|
|
1
|
+
import { NmorphElementDesignType, NmorphShadowType } from '../../../types';
|
|
2
2
|
export interface INmorphCardProps {
|
|
3
|
+
design?: NmorphElementDesignType;
|
|
3
4
|
shadowType?: keyof typeof NmorphShadowType;
|
|
4
5
|
combinedShadowBorderWidth?: number;
|
|
5
6
|
cardPadding?: number | string;
|
|
@@ -5,6 +5,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCarousel
|
|
|
5
5
|
}, string, PublicProps, Readonly<INmorphCarouselProps> & Readonly<{
|
|
6
6
|
onChange?: (value: number) => any;
|
|
7
7
|
}>, {
|
|
8
|
+
design: "nmorph" | "plain";
|
|
8
9
|
loop: boolean;
|
|
9
10
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
10
11
|
default?(_: {}): any;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
+
import { NmorphElementDesignType } from '../../../types';
|
|
2
3
|
export interface INmorphCarouselInjection {
|
|
3
4
|
data: Ref<string[]>;
|
|
4
5
|
carouselId: string;
|
|
5
6
|
}
|
|
6
7
|
export interface INmorphCarouselProps {
|
|
8
|
+
design?: NmorphElementDesignType;
|
|
7
9
|
loop?: boolean;
|
|
8
10
|
}
|
|
9
11
|
export interface INmorphCarouselEmit {
|
|
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCollapse
|
|
|
13
13
|
}>, {
|
|
14
14
|
block: boolean;
|
|
15
15
|
title: string;
|
|
16
|
-
|
|
16
|
+
thickness: "basic" | "thick" | "thin";
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
transitionSpeed: string | number;
|
|
19
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INmorphCollapseItemProps } from '../../../..';
|
|
2
|
-
import {
|
|
2
|
+
import { NmorphComponentThickness } from '../../../../../types';
|
|
3
3
|
export interface INmorphCollapseItemComponentProps extends INmorphCollapseItemProps {
|
|
4
|
-
|
|
4
|
+
thickness?: keyof typeof NmorphComponentThickness;
|
|
5
5
|
block?: boolean;
|
|
6
6
|
transitionSpeed?: number | string;
|
|
7
7
|
}
|
|
@@ -10,15 +10,21 @@ declare const _default: DefineComponent<INmorphEmojiPickerProps, {}, {}, {}, {},
|
|
|
10
10
|
onExpand?: () => any;
|
|
11
11
|
onCollapse?: () => any;
|
|
12
12
|
}>, {
|
|
13
|
-
height: string | number;
|
|
14
13
|
disabled: boolean;
|
|
15
14
|
width: string | number;
|
|
15
|
+
height: string | number;
|
|
16
16
|
i18n: INmorphEmojiPickerI18n;
|
|
17
17
|
language: string;
|
|
18
18
|
dataSource: NmorphEmojiPickerDataSource;
|
|
19
19
|
quickList: string[];
|
|
20
20
|
initialExpanded: boolean;
|
|
21
21
|
columns: number;
|
|
22
|
+
cellSize: string | number;
|
|
23
|
+
toggleSize: string | number;
|
|
24
|
+
scrollbarSize: string | number;
|
|
25
|
+
hoverBackground: string;
|
|
26
|
+
activeBackground: string;
|
|
27
|
+
focusRing: string;
|
|
22
28
|
hideShadow: boolean;
|
|
23
29
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
24
30
|
gridRef: HTMLDivElement;
|
|
@@ -42,6 +42,12 @@ export interface INmorphEmojiPickerProps {
|
|
|
42
42
|
width?: number | string;
|
|
43
43
|
height?: number | string;
|
|
44
44
|
columns?: number;
|
|
45
|
+
cellSize?: number | string;
|
|
46
|
+
toggleSize?: number | string;
|
|
47
|
+
scrollbarSize?: number | string;
|
|
48
|
+
hoverBackground?: string;
|
|
49
|
+
activeBackground?: string;
|
|
50
|
+
focusRing?: string;
|
|
45
51
|
disabled?: boolean;
|
|
46
52
|
hideShadow?: boolean;
|
|
47
53
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { INmorphEmptyProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { NmorphElementDesignType } from '../../../types';
|
|
4
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphEmptyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphEmptyProps> & Readonly<{}>, {
|
|
5
4
|
title: string;
|
|
5
|
+
design: "nmorph" | "plain";
|
|
6
6
|
ariaLabel: string;
|
|
7
7
|
minHeight: string | number;
|
|
8
8
|
role: string;
|
|
9
|
-
design: NmorphElementDesignType;
|
|
10
9
|
shadowType: "inset" | "outset" | "combined" | "not-defined";
|
|
11
10
|
padding: string | number;
|
|
12
11
|
description: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphFileCard
|
|
|
11
11
|
onOpen?: () => any;
|
|
12
12
|
}>, {
|
|
13
13
|
loading: boolean;
|
|
14
|
-
height: string | number;
|
|
15
14
|
error: boolean;
|
|
16
15
|
size: number;
|
|
16
|
+
height: string | number;
|
|
17
17
|
previewSrc: string;
|
|
18
18
|
surface: NmorphFileCardSurface;
|
|
19
19
|
compact: boolean;
|
|
@@ -7,6 +7,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphImagePro
|
|
|
7
7
|
onError?: (event: Event) => any;
|
|
8
8
|
onLoad?: (event: Event) => any;
|
|
9
9
|
}>, {
|
|
10
|
+
design: "nmorph" | "plain";
|
|
11
|
+
width: string | number;
|
|
12
|
+
height: string | number;
|
|
10
13
|
alt: string;
|
|
11
14
|
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
12
15
|
loadingText: string;
|