@revotech-group/revotech-ui-kit 0.0.62 → 0.0.64
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/README.md +30 -30
- package/dist/library.css +2699 -2387
- package/dist/revotech-ui-kit.js +10501 -7226
- package/dist/revotech-ui-kit.umd.cjs +1894 -2226
- package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -1
- package/dist/src/assets/icons/carousel-arrow-left.d.ts +1 -0
- package/dist/src/assets/icons/carousel-arrow-right.d.ts +1 -0
- package/dist/src/assets/icons/chart.icon.d.ts +1 -1
- package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle-check.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle-x.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/close.icon.d.ts +1 -1
- package/dist/src/assets/icons/decrease.icon.d.ts +1 -1
- package/dist/src/assets/icons/dot.icon.d.ts +1 -1
- package/dist/src/assets/icons/help-circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/index.d.ts +2 -0
- package/dist/src/assets/icons/plus.icon.d.ts +1 -1
- package/dist/src/assets/icons/radio-group.icon.d.ts +1 -1
- package/dist/src/assets/icons/radio.icon.d.ts +1 -1
- package/dist/src/assets/icons/search.icon.d.ts +1 -1
- package/dist/src/assets/icons/tick.icon.d.ts +1 -1
- package/dist/src/components/index.d.ts +0 -2
- package/dist/src/components/ui/accordion/accordion-content.d.ts +2 -1
- package/dist/src/components/ui/accordion/accordion-item.d.ts +2 -1
- package/dist/src/components/ui/accordion/accordion-trigger.d.ts +2 -1
- package/dist/src/components/ui/accordion/accordion.d.ts +2 -1
- package/dist/src/components/ui/accordion/accordion.stories.d.ts +2 -1
- package/dist/src/components/ui/alert/alert.d.ts +3 -3
- package/dist/src/components/ui/alert/alert.stories.d.ts +2 -1
- package/dist/src/components/ui/alert/alert.styles.d.ts +1 -1
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +2 -1
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +2 -1
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +1 -0
- package/dist/src/components/ui/avatar/avatar-fallback.d.ts +2 -1
- package/dist/src/components/ui/avatar/avatar-image.d.ts +2 -1
- package/dist/src/components/ui/avatar/avatar.d.ts +2 -1
- package/dist/src/components/ui/avatar/avatar.stories.d.ts +2 -1
- package/dist/src/components/ui/badge/badge.d.ts +3 -2
- package/dist/src/components/ui/badge/badge.stories.d.ts +2 -1
- package/dist/src/components/ui/badge/badge.style.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +12 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +15 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +16 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +15 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +12 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +15 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +22 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb.stories.d.ts +5 -0
- package/dist/src/components/{atoms/button/button.atom.d.ts → ui/button/button.d.ts} +6 -4
- package/dist/src/components/{atoms → ui}/button/button.stories.d.ts +2 -1
- package/dist/src/components/{atoms → ui}/button/button.style.d.ts +1 -1
- package/dist/src/components/ui/calendar/calendar.d.ts +4 -4
- package/dist/src/components/ui/calendar/calendar.stories.d.ts +2 -1
- package/dist/src/components/ui/calendar/calendar.style.d.ts +1 -1
- package/dist/src/components/ui/card/card-content.d.ts +6 -0
- package/dist/src/components/ui/card/card-description.d.ts +6 -0
- package/dist/src/components/ui/card/card-footer.d.ts +6 -0
- package/dist/src/components/ui/card/card-header.d.ts +6 -0
- package/dist/src/components/ui/card/card-title.d.ts +6 -0
- package/dist/src/components/{atoms/card/card.atom.d.ts → ui/card/card.d.ts} +9 -4
- package/dist/src/components/{atoms → ui}/card/card.stories.d.ts +2 -1
- package/dist/src/components/ui/card/card.styles.d.ts +1 -0
- package/dist/src/components/{atoms/carousel/carousel.atom.d.ts → ui/carousel/carousel.d.ts} +9 -5
- package/dist/src/components/{atoms → ui}/carousel/carousel.stories.d.ts +2 -1
- package/dist/src/components/ui/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +2 -1
- package/dist/src/components/ui/collapsible/collapsible-content.d.ts +18 -0
- package/dist/src/components/{atoms → ui}/collapsible/collapsible-trigger.d.ts +7 -3
- package/dist/src/components/ui/collapsible/collapsible.d.ts +25 -0
- package/dist/src/components/{atoms → ui}/collapsible/collapsible.stories.d.ts +2 -1
- package/dist/src/components/ui/combobox/combo-box-empty.d.ts +15 -0
- package/dist/src/components/ui/combobox/combo-box-group.d.ts +38 -0
- package/dist/src/components/{atoms → ui}/combobox/combo-box-input.d.ts +3 -2
- package/dist/src/components/{atoms → ui}/combobox/combo-box-item.d.ts +6 -2
- package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +19 -0
- package/dist/src/components/{atoms → ui}/combobox/combo-box-value.d.ts +4 -3
- package/dist/src/components/ui/combobox/combo-box.d.ts +36 -0
- package/dist/src/components/ui/combobox/combo-box.stories.d.ts +11 -0
- package/dist/src/components/ui/combobox/combo-box.styles.d.ts +5 -0
- package/dist/src/components/ui/command/command-empty.atom.d.ts +19 -0
- package/dist/src/components/ui/command/command-group.atom.d.ts +20 -0
- package/dist/src/components/ui/command/command-input.atom.d.ts +16 -0
- package/dist/src/components/ui/command/command-item.atom.d.ts +24 -0
- package/dist/src/components/ui/command/command-list.atom.d.ts +16 -0
- package/dist/src/components/ui/command/command-separator.atom.d.ts +15 -0
- package/dist/src/components/ui/command/command.d.ts +22 -0
- package/dist/src/components/ui/command/command.stories.d.ts +7 -0
- package/dist/src/components/ui/command/command.styles.d.ts +7 -0
- package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +17 -0
- package/dist/src/components/ui/context-menu/context-menu-content.d.ts +15 -0
- package/dist/src/components/ui/context-menu/context-menu-group.d.ts +11 -0
- package/dist/src/components/ui/context-menu/context-menu-item.d.ts +13 -0
- package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +17 -0
- package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +7 -0
- package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +10 -0
- package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +6 -0
- package/dist/src/components/{atoms/context-menu/context-menu.atom.d.ts → ui/context-menu/context-menu.d.ts} +14 -6
- package/dist/src/components/ui/context-menu/context-menu.styles.d.ts +7 -0
- package/dist/src/components/{atoms → ui}/context-menu/contextMenu.stories.d.ts +2 -1
- package/dist/src/components/ui/context-menu/contextMenu.style.d.ts +2 -0
- package/dist/src/components/ui/data-table/data-table.d.ts +42 -0
- package/dist/src/components/ui/data-table/data-table.stories.d.ts +6 -0
- package/dist/src/components/ui/date-picker/date-picker.d.ts +2 -2
- package/dist/src/components/ui/date-picker/date-picker.stories.d.ts +2 -1
- package/dist/src/components/ui/dialog/dialog-close.d.ts +16 -0
- package/dist/src/components/ui/dialog/dialog-content.d.ts +15 -0
- package/dist/src/components/ui/dialog/dialog-footer.d.ts +10 -0
- package/dist/src/components/{atoms → ui}/dialog/dialog-header.d.ts +3 -2
- package/dist/src/components/ui/dialog/dialog-overly.d.ts +6 -0
- package/dist/src/components/ui/dialog/dialog-trigger.d.ts +12 -0
- package/dist/src/components/{atoms/dialog/dialog.atom.d.ts → ui/dialog/dialog.d.ts} +9 -4
- package/dist/src/components/{atoms → ui}/dialog/dialog.stories.d.ts +2 -1
- package/dist/src/components/ui/dialog/dialog.styles.d.ts +4 -0
- package/dist/src/components/ui/drawer/drawer-close.d.ts +16 -0
- package/dist/src/components/ui/drawer/drawer-content.d.ts +14 -0
- package/dist/src/components/ui/drawer/drawer-description.d.ts +11 -0
- package/dist/src/components/ui/drawer/drawer-footer.d.ts +10 -0
- package/dist/src/components/{atoms → ui}/drawer/drawer-header.d.ts +3 -2
- package/dist/src/components/ui/drawer/drawer-overlay.d.ts +6 -0
- package/dist/src/components/ui/drawer/drawer-title.d.ts +11 -0
- package/dist/src/components/ui/drawer/drawer-trigger.d.ts +12 -0
- package/dist/src/components/{atoms/drawer/drawer.atom.d.ts → ui/drawer/drawer.d.ts} +9 -4
- package/dist/src/components/{atoms → ui}/drawer/drawer.stories.d.ts +2 -1
- package/dist/src/components/ui/drawer/drawer.styles.d.ts +5 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +18 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +14 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +12 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +17 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +17 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +9 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +9 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +6 -0
- package/dist/src/components/{atoms/dropdown-menu/dropdown-menu.atom.d.ts → ui/dropdown-menu/dropdown-menu.d.ts} +15 -7
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +7 -0
- package/dist/src/components/{atoms → ui}/dropdown-menu/dropdownMenu.stories.d.ts +2 -1
- package/dist/src/components/ui/dropdown-menu/dropdownMenu.style.d.ts +2 -0
- package/dist/src/components/ui/form/form-context.d.ts +5 -0
- package/dist/src/components/ui/form/form-controller.d.ts +28 -0
- package/dist/src/components/ui/form/form-field-context.d.ts +3 -0
- package/dist/src/components/ui/form/form-item-context.d.ts +7 -0
- package/dist/src/components/ui/form/form.stories.d.ts +6 -0
- package/dist/src/components/ui/form/form.styles.d.ts +6 -0
- package/dist/src/components/ui/form/rtg-form-controller.d.ts +17 -0
- package/dist/src/components/ui/form/rtg-form-description.d.ts +14 -0
- package/dist/src/components/ui/form/rtg-form-field.d.ts +20 -0
- package/dist/src/components/ui/form/rtg-form-item.d.ts +17 -0
- package/dist/src/components/ui/form/rtg-form-label.d.ts +21 -0
- package/dist/src/components/ui/form/rtg-form-message.d.ts +18 -0
- package/dist/src/components/ui/form/rtg-form.d.ts +24 -0
- package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +16 -0
- package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +10 -0
- package/dist/src/components/ui/hoverCard/hover-card.d.ts +30 -0
- package/dist/src/components/{atoms → ui}/hoverCard/hover-card.stories.d.ts +2 -1
- package/dist/src/components/ui/hoverCard/hover-card.styles.d.ts +1 -0
- package/dist/src/components/ui/index.d.ts +31 -0
- package/dist/src/components/ui/input/input.d.ts +3 -3
- package/dist/src/components/ui/input/input.stories.d.ts +2 -1
- package/dist/src/components/{molecules → ui}/input-otp/input-otp-group.d.ts +4 -2
- package/dist/src/components/{molecules → ui}/input-otp/input-otp-separator.d.ts +3 -2
- package/dist/src/components/{molecules → ui}/input-otp/input-otp-slot.d.ts +5 -4
- package/dist/src/components/ui/input-otp/input-otp.d.ts +31 -0
- package/dist/src/components/{molecules → ui}/input-otp/input-otp.stories.d.ts +2 -1
- package/dist/src/components/ui/label/label.d.ts +4 -3
- package/dist/src/components/ui/label/label.stories.d.ts +2 -1
- package/dist/src/components/ui/label/label.style.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +21 -0
- package/dist/src/components/ui/menubar/menubar-content.d.ts +20 -0
- package/dist/src/components/ui/menubar/menubar-group.d.ts +15 -0
- package/dist/src/components/ui/menubar/menubar-item.d.ts +17 -0
- package/dist/src/components/ui/menubar/menubar-menu.d.ts +28 -0
- package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +21 -0
- package/dist/src/components/ui/menubar/menubar-separator.d.ts +14 -0
- package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +10 -0
- package/dist/src/components/ui/menubar/menubar-trigger.d.ts +11 -0
- package/dist/src/components/{atoms/menubar/menubar.atom.d.ts → ui/menubar/menubar.d.ts} +13 -6
- package/dist/src/components/{atoms → ui}/menubar/menubar.stories.d.ts +2 -1
- package/dist/src/components/ui/menubar/menubar.styles.d.ts +8 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +21 -0
- package/dist/src/components/{atoms → ui}/navigation-menu/navigation-menu-item.d.ts +7 -6
- package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +10 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +9 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +10 -0
- package/dist/src/components/{atoms → ui}/navigation-menu/navigation-menu.d.ts +11 -6
- package/dist/src/components/{atoms → ui}/navigation-menu/navigation-menu.stories.d.ts +2 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu.styles.d.ts +3 -0
- package/dist/src/components/ui/pagination/pagination-content.d.ts +10 -0
- package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +9 -0
- package/dist/src/components/ui/pagination/pagination-item.d.ts +15 -0
- package/dist/src/components/ui/pagination/pagination-link.d.ts +20 -0
- package/dist/src/components/ui/pagination/pagination-next.d.ts +9 -0
- package/dist/src/components/ui/pagination/pagination-previous.d.ts +9 -0
- package/dist/src/components/{atoms/pagination/pagination.atom.d.ts → ui/pagination/pagination.d.ts} +8 -5
- package/dist/src/components/{atoms → ui}/pagination/pagination.stories.d.ts +2 -1
- package/dist/src/components/ui/pagination/pagination.styles.d.ts +9 -0
- package/dist/src/components/ui/popover/popover-content.d.ts +19 -0
- package/dist/src/components/ui/popover/popover-trigger.d.ts +13 -0
- package/dist/src/components/{atoms/popover/popover.atom.d.ts → ui/popover/popover.d.ts} +8 -4
- package/dist/src/components/{atoms → ui}/popover/popover.stories.d.ts +2 -1
- package/dist/src/components/{atoms → ui}/popover/popover.style.d.ts +3 -3
- package/dist/src/components/{atoms/progress/progress.atom.d.ts → ui/progress/progress.d.ts} +4 -3
- package/dist/src/components/{atoms → ui}/progress/progress.stories.d.ts +2 -1
- package/dist/src/components/ui/progress/progress.styles.d.ts +1 -0
- package/dist/src/components/ui/radio-group/radio-group-item.d.ts +20 -0
- package/dist/src/components/ui/radio-group/radio-group.d.ts +19 -0
- package/dist/src/components/{atoms → ui}/radio-group/radio-group.stories.d.ts +2 -1
- package/dist/src/components/ui/radio-group/radio-group.styles.d.ts +2 -0
- package/dist/src/components/{atoms → ui}/sample-demo/sample-demo.d.ts +4 -3
- package/dist/src/components/{atoms → ui}/sample-demo/sample.style.d.ts +1 -1
- package/dist/src/components/ui/scroll-area/scroll-area.d.ts +13 -0
- package/dist/src/components/ui/scroll-area/scroll-area.stories.d.ts +5 -0
- package/dist/src/components/ui/scroll-area/scroll-area.style.d.ts +1 -0
- package/dist/src/components/ui/select/select-controller.d.ts +15 -0
- package/dist/src/components/ui/select/select-group.d.ts +23 -0
- package/dist/src/components/ui/select/select-item.d.ts +26 -0
- package/dist/src/components/ui/select/select-label.d.ts +14 -0
- package/dist/src/components/ui/select/select-list.d.ts +11 -0
- package/dist/src/components/ui/select/select-seperator.d.ts +9 -0
- package/dist/src/components/ui/select/select-trigger.d.ts +22 -0
- package/dist/src/components/ui/select/select-value.d.ts +21 -0
- package/dist/src/components/{atoms/select/select.atom.d.ts → ui/select/select.d.ts} +11 -9
- package/dist/src/components/ui/select/select.stories.d.ts +5 -0
- package/dist/src/components/ui/select/select.styles.d.ts +7 -0
- package/dist/src/components/{atoms/seperator/separator.atom.d.ts → ui/separator/separator.d.ts} +3 -2
- package/dist/src/components/{atoms/seperator → ui/separator}/separator.stories.d.ts +2 -1
- package/dist/src/components/ui/skeleton/skeleton.d.ts +11 -0
- package/dist/src/components/ui/skeleton/skeleton.stories.d.ts +5 -0
- package/dist/src/components/ui/skeleton/skeleton.style.d.ts +1 -0
- package/dist/src/components/{atoms/switch/switch.atom.d.ts → ui/switch/switch.d.ts} +3 -2
- package/dist/src/components/{atoms → ui}/switch/switch.stories.d.ts +2 -1
- package/dist/src/components/ui/switch/switch.style.d.ts +1 -0
- package/dist/src/components/ui/table/table.d.ts +19 -0
- package/dist/src/components/ui/table/table.stories.d.ts +5 -0
- package/dist/src/components/ui/tabs/tab-contents.d.ts +22 -0
- package/dist/src/components/ui/tabs/tab-list.d.ts +23 -0
- package/dist/src/components/{molecules → ui}/tabs/tab-trigger.d.ts +10 -3
- package/dist/src/components/ui/tabs/tab.d.ts +25 -0
- package/dist/src/components/{molecules → ui}/tabs/tab.stories.d.ts +2 -1
- package/dist/src/components/ui/tabs/tabs.style.d.ts +1 -0
- package/dist/src/components/{atoms/textarea/textarea.atom.d.ts → ui/textarea/textarea.d.ts} +5 -5
- package/dist/src/components/{atoms → ui}/textarea/textarea.stories.d.ts +2 -1
- package/dist/src/components/ui/toast/toast-action.d.ts +23 -0
- package/dist/src/components/ui/toast/toast-description.d.ts +14 -0
- package/dist/src/components/ui/toast/toast-title.d.ts +14 -0
- package/dist/src/components/ui/toast/toast-trigger.d.ts +18 -0
- package/dist/src/components/ui/toast/toast-view-port.d.ts +21 -0
- package/dist/src/components/ui/toast/toast.d.ts +25 -0
- package/dist/src/components/ui/toast/toast.stories.d.ts +10 -0
- package/dist/src/components/{atoms → ui}/toast/toast.style.d.ts +4 -2
- package/dist/src/components/{atoms/toggle/toggle.atom.d.ts → ui/toggle/toggle.d.ts} +12 -4
- package/dist/src/components/{atoms → ui}/toggle/toggle.stories.d.ts +2 -1
- package/dist/src/components/{atoms → ui}/toggle/toggle.style.d.ts +1 -1
- package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +32 -0
- package/dist/src/components/{molecules/toggle-group/toggle-group.molecules.d.ts → ui/toggle-group/toggle-group.d.ts} +12 -6
- package/dist/src/components/{molecules → ui}/toggle-group/toggle-group.stories.d.ts +2 -1
- package/dist/src/components/{molecules → ui}/toggle-group/toggle-group.style.d.ts +2 -1
- package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +4 -6
- package/dist/src/components/widgets/login/rtg-login-actions.d.ts +9 -0
- package/dist/src/components/widgets/login/rtg-login-controller.d.ts +11 -0
- package/dist/src/components/widgets/login/rtg-login-divider.d.ts +9 -0
- package/dist/src/components/widgets/login/rtg-login-fields.d.ts +17 -0
- package/dist/src/components/widgets/login/rtg-login-logo.d.ts +8 -0
- package/dist/src/components/widgets/login/rtg-login-social.d.ts +8 -0
- package/dist/src/components/widgets/login/rtg-login-terms.d.ts +9 -0
- package/dist/src/components/widgets/login/rtg-login-title.d.ts +8 -0
- package/dist/src/components/widgets/login/rtg-login.d.ts +13 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-actions.d.ts +6 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-divider.d.ts +6 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-fields.d.ts +9 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-logo.d.ts +6 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-social.d.ts +6 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-terms.d.ts +6 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up-title.d.ts +6 -0
- package/dist/src/components/widgets/sign-up/rtg-sign-up.d.ts +7 -0
- package/dist/src/helpers/base-element.d.ts +4 -1
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +1 -0
- package/dist/src/helpers/shadow-wrapper.d.ts +3 -3
- package/dist/src/helpers/style.helpers.d.ts +2 -1
- package/dist/src/helpers/widget-controller.d.ts +13 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/interfaces/actionable.interface.d.ts +2 -1
- package/dist/src/interfaces/changeable.interface.d.ts +2 -1
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +1 -0
- package/dist/src/interfaces/index.d.ts +1 -0
- package/dist/src/interfaces/widgets/base.interface.d.ts +23 -0
- package/dist/src/interfaces/widgets/index.d.ts +2 -0
- package/dist/src/interfaces/widgets/login.interface.d.ts +44 -0
- package/dist/src/lib/react/react.lib.d.ts +3 -2
- package/dist/src/styles/tw.styles.d.ts +1 -1
- package/dist/src/wc-ui-app.d.ts +3 -2
- package/package.json +46 -51
- package/dist/src/components/atoms/card/card-content.d.ts +0 -5
- package/dist/src/components/atoms/card/card-description.d.ts +0 -5
- package/dist/src/components/atoms/card/card-footer.d.ts +0 -5
- package/dist/src/components/atoms/card/card-header.d.ts +0 -5
- package/dist/src/components/atoms/card/card-title.d.ts +0 -5
- package/dist/src/components/atoms/collapsible/collapsible-content.d.ts +0 -11
- package/dist/src/components/atoms/collapsible/collapsible.atom.d.ts +0 -17
- package/dist/src/components/atoms/combobox/combo-box-empty.d.ts +0 -11
- package/dist/src/components/atoms/combobox/combo-box-group.d.ts +0 -25
- package/dist/src/components/atoms/combobox/combo-box-trigger.d.ts +0 -15
- package/dist/src/components/atoms/combobox/combo-box.atom.d.ts +0 -25
- package/dist/src/components/atoms/combobox/combo-box.stories.d.ts +0 -4
- package/dist/src/components/atoms/command/command-empty.atom.d.ts +0 -9
- package/dist/src/components/atoms/command/command-group.atom.d.ts +0 -10
- package/dist/src/components/atoms/command/command-input.atom.d.ts +0 -10
- package/dist/src/components/atoms/command/command-item.atom.d.ts +0 -13
- package/dist/src/components/atoms/command/command-list.atom.d.ts +0 -6
- package/dist/src/components/atoms/command/command-separator.atom.d.ts +0 -9
- package/dist/src/components/atoms/command/command.atom.d.ts +0 -7
- package/dist/src/components/atoms/command/command.stories.d.ts +0 -5
- package/dist/src/components/atoms/context-menu/context-menu-checkbox-Item.d.ts +0 -15
- package/dist/src/components/atoms/context-menu/context-menu-content.d.ts +0 -13
- package/dist/src/components/atoms/context-menu/context-menu-group.d.ts +0 -10
- package/dist/src/components/atoms/context-menu/context-menu-item.d.ts +0 -12
- package/dist/src/components/atoms/context-menu/context-menu-radio-item.d.ts +0 -15
- package/dist/src/components/atoms/context-menu/context-menu-seperator.d.ts +0 -9
- package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +0 -5
- package/dist/src/components/atoms/context-menu/contextMenu.style.d.ts +0 -2
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +0 -12
- package/dist/src/components/atoms/dialog/dialog-content.d.ts +0 -8
- package/dist/src/components/atoms/dialog/dialog-footer.d.ts +0 -5
- package/dist/src/components/atoms/dialog/dialog-overly.d.ts +0 -5
- package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +0 -8
- package/dist/src/components/atoms/drawer/drawer-close.d.ts +0 -12
- package/dist/src/components/atoms/drawer/drawer-content.d.ts +0 -6
- package/dist/src/components/atoms/drawer/drawer-description.d.ts +0 -6
- package/dist/src/components/atoms/drawer/drawer-footer.d.ts +0 -5
- package/dist/src/components/atoms/drawer/drawer-overlay.d.ts +0 -5
- package/dist/src/components/atoms/drawer/drawer-title.d.ts +0 -6
- package/dist/src/components/atoms/drawer/drawer-trigger.d.ts +0 -8
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -15
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-content.d.ts +0 -13
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-group.d.ts +0 -10
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-item.d.ts +0 -12
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -15
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-seperator.d.ts +0 -9
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -5
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +0 -2
- package/dist/src/components/atoms/hoverCard/hover-card-content.d.ts +0 -17
- package/dist/src/components/atoms/hoverCard/hover-card.atom.d.ts +0 -18
- package/dist/src/components/atoms/index.d.ts +0 -38
- package/dist/src/components/atoms/menubar/menubar-checkbox.item.d.ts +0 -15
- package/dist/src/components/atoms/menubar/menubar-content.d.ts +0 -15
- package/dist/src/components/atoms/menubar/menubar-group.d.ts +0 -10
- package/dist/src/components/atoms/menubar/menubar-item.d.ts +0 -12
- package/dist/src/components/atoms/menubar/menubar-menu.d.ts +0 -23
- package/dist/src/components/atoms/menubar/menubar-radio-item.d.ts +0 -15
- package/dist/src/components/atoms/menubar/menubar-seperator.d.ts +0 -9
- package/dist/src/components/atoms/menubar/menubar-shortcut.d.ts +0 -5
- package/dist/src/components/atoms/navigation-menu/navigation-menu-content.d.ts +0 -16
- package/dist/src/components/atoms/navigation-menu/navigation-menu-link.d.ts +0 -7
- package/dist/src/components/atoms/navigation-menu/navigation-menu-list.d.ts +0 -6
- package/dist/src/components/atoms/pagination/pagination-content.d.ts +0 -6
- package/dist/src/components/atoms/pagination/pagination-ellipsis.d.ts +0 -6
- package/dist/src/components/atoms/pagination/pagination-item.d.ts +0 -14
- package/dist/src/components/atoms/pagination/pagination-link.d.ts +0 -17
- package/dist/src/components/atoms/pagination/pagination-next.d.ts +0 -6
- package/dist/src/components/atoms/pagination/pagination-previous.d.ts +0 -6
- package/dist/src/components/atoms/pagination/pagination.styles.d.ts +0 -4
- package/dist/src/components/atoms/popover/popover-content.d.ts +0 -14
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +0 -9
- package/dist/src/components/atoms/radio-group/radio-group-item.d.ts +0 -16
- package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +0 -16
- package/dist/src/components/atoms/select/select-group.d.ts +0 -23
- package/dist/src/components/atoms/select/select-item.d.ts +0 -22
- package/dist/src/components/atoms/select/select-label.d.ts +0 -10
- package/dist/src/components/atoms/select/select-list.d.ts +0 -7
- package/dist/src/components/atoms/select/select-seperator.d.ts +0 -10
- package/dist/src/components/atoms/select/select-trigger.d.ts +0 -15
- package/dist/src/components/atoms/select/select-value.d.ts +0 -18
- package/dist/src/components/atoms/select/select.stories.d.ts +0 -4
- package/dist/src/components/atoms/toast/toast-action.d.ts +0 -19
- package/dist/src/components/atoms/toast/toast-description.d.ts +0 -10
- package/dist/src/components/atoms/toast/toast-title.d.ts +0 -10
- package/dist/src/components/atoms/toast/toast-view-port.d.ts +0 -17
- package/dist/src/components/atoms/toast/toast.atom.d.ts +0 -16
- package/dist/src/components/atoms/toast/toast.stories.d.ts +0 -5
- package/dist/src/components/molecules/breadcrumb/breadcrumb-ellipsis.d.ts +0 -6
- package/dist/src/components/molecules/breadcrumb/breadcrumb-item.d.ts +0 -6
- package/dist/src/components/molecules/breadcrumb/breadcrumb-link.d.ts +0 -7
- package/dist/src/components/molecules/breadcrumb/breadcrumb-list.d.ts +0 -6
- package/dist/src/components/molecules/breadcrumb/breadcrumb-separator.d.ts +0 -6
- package/dist/src/components/molecules/breadcrumb/breadcrumb-text.d.ts +0 -6
- package/dist/src/components/molecules/breadcrumb/breadcrumb.molecules.d.ts +0 -6
- package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +0 -5
- package/dist/src/components/molecules/index.d.ts +0 -11
- package/dist/src/components/molecules/input-otp/input-otp.molecule.d.ts +0 -23
- package/dist/src/components/molecules/tabs/tab-contents.d.ts +0 -12
- package/dist/src/components/molecules/tabs/tab-list.d.ts +0 -14
- package/dist/src/components/molecules/tabs/tab.molecules.d.ts +0 -15
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +0 -17
- package/dist/src/lib/next/next.lib.d.ts +0 -0
- package/dist/src/lib/tw-styles.d.ts +0 -1
- /package/dist/src/components/{molecules → ui}/breadcrumb/breadcrumb.styles.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/button/button.type.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/pagination/pagination.type.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/popover/popover.types.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/radio-group/radio-group.types.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/sample-demo/sample.type.d.ts +0 -0
- /package/dist/src/components/{atoms/seperator → ui/separator}/separator.defs.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/switch/switch.type.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/textarea/textarea.styles.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/textarea/textarea.type.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/toast/toast.type.d.ts +0 -0
- /package/dist/src/components/{atoms → ui}/toggle/toggle.defs.d.ts +0 -0
- /package/dist/src/components/{molecules → ui}/toggle-group/toggle-group.defs.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { LoginController } from './rtg-login-controller';
|
|
3
|
+
|
|
4
|
+
import * as interfaces from '@/interfaces';
|
|
5
|
+
export declare class RtgLoginFields extends LitElement {
|
|
6
|
+
appearance?: interfaces.IStyleOverrides;
|
|
7
|
+
content?: interfaces.LoginFieldsContent;
|
|
8
|
+
controller?: LoginController;
|
|
9
|
+
private values;
|
|
10
|
+
private errors;
|
|
11
|
+
createRenderRoot(): this;
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
private handleStateUpdate;
|
|
15
|
+
private handleInput;
|
|
16
|
+
render(): import('lit').TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import * as interfaces from '@/interfaces';
|
|
3
|
+
export declare class RtgLoginLogo extends LitElement {
|
|
4
|
+
content?: interfaces.LoginLogoContent;
|
|
5
|
+
appearance?: interfaces.IStyleOverrides;
|
|
6
|
+
createRenderRoot(): this;
|
|
7
|
+
render(): import('lit').TemplateResult<1>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import * as interfaces from '@/interfaces';
|
|
3
|
+
export declare class RtgLoginSocial extends LitElement {
|
|
4
|
+
content?: interfaces.LoginSocialContent;
|
|
5
|
+
appearance?: interfaces.IStyleOverrides;
|
|
6
|
+
createRenderRoot(): this;
|
|
7
|
+
render(): import('lit').TemplateResult<1>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
import * as interfaces from '@/interfaces';
|
|
4
|
+
export declare class RtgLoginTerms extends LitElement {
|
|
5
|
+
content?: interfaces.LoginTermsContent;
|
|
6
|
+
appearance?: interfaces.IStyleOverrides;
|
|
7
|
+
createRenderRoot(): this;
|
|
8
|
+
render(): import('lit').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import * as interfaces from '@/interfaces';
|
|
3
|
+
export declare class RtgLoginTitle extends LitElement {
|
|
4
|
+
content?: interfaces.LoginTitleContent;
|
|
5
|
+
appearance?: interfaces.IStyleOverrides;
|
|
6
|
+
createRenderRoot(): this;
|
|
7
|
+
render(): import('lit').TemplateResult<1>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
|
|
3
|
+
import * as interfaces from '@/interfaces';
|
|
4
|
+
export declare class RtgLogin extends BaseElement {
|
|
5
|
+
appearance?: interfaces.AppearanceConfig;
|
|
6
|
+
content?: interfaces.LoginContentConfig;
|
|
7
|
+
private controller;
|
|
8
|
+
constructor();
|
|
9
|
+
createRenderRoot(): this;
|
|
10
|
+
private submitLogin;
|
|
11
|
+
updated(changedProperties: Map<string, any>): void;
|
|
12
|
+
render(): import('lit').TemplateResult<1>;
|
|
13
|
+
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
|
|
2
3
|
export declare abstract class BaseElement extends LitElement {
|
|
4
|
+
shadow: boolean;
|
|
3
5
|
constructor();
|
|
4
|
-
protected
|
|
6
|
+
protected getAttributesToExclude(): string[];
|
|
5
7
|
protected getFilteredAttributes(): {
|
|
6
8
|
[key: string]: string;
|
|
7
9
|
};
|
|
8
10
|
protected isCustomPropertySet(property: string): boolean;
|
|
9
11
|
protected applyCustomClass(variables: string[], selector: string, className?: string): void;
|
|
10
12
|
protected removeDuplicateContent(): void;
|
|
13
|
+
protected moveLightDomChildrenInto(target: HTMLElement, specificNodes?: Node[]): void;
|
|
11
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
|
|
2
3
|
export declare class ShadowWrapper extends LitElement {
|
|
3
|
-
static styles: import(
|
|
4
|
+
static styles: import('lit').CSSResult;
|
|
4
5
|
constructor();
|
|
5
6
|
connectedCallback(): void;
|
|
6
|
-
|
|
7
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
render(): import('lit').TemplateResult<1>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
export declare class WidgetController {
|
|
4
|
+
protected values: Record<string, string>;
|
|
5
|
+
protected errors: Record<string, string>;
|
|
6
|
+
protected host: LitElement;
|
|
7
|
+
constructor(host: LitElement);
|
|
8
|
+
getValues(): Record<string, string>;
|
|
9
|
+
getErrors(): Record<string, string>;
|
|
10
|
+
protected updateState(values: Record<string, string>, errors: Record<string, string>): void;
|
|
11
|
+
handleValueChange(id: string, value: string, error?: string): void;
|
|
12
|
+
protected dispatchStateUpdate(): void;
|
|
13
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './lib/react/react.lib';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IntractableProps } from './intractable.interface';
|
|
3
|
+
|
|
3
4
|
export type ChangeableProps<T = React.ChangeEvent<HTMLInputElement> | string | number, K = unknown> = Partial<IntractableProps & {
|
|
4
5
|
onChange: (event?: T, value?: K) => void;
|
|
5
6
|
onBlur: (event?: T) => void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InputType } from '../../components/ui/input/input.type';
|
|
2
|
+
|
|
3
|
+
export interface AppearanceConfig {
|
|
4
|
+
theme?: string;
|
|
5
|
+
overrides?: IStyleOverrides;
|
|
6
|
+
}
|
|
7
|
+
export interface IStyleOverrides {
|
|
8
|
+
[componentName: string]: {
|
|
9
|
+
classNames?: string;
|
|
10
|
+
styles?: {
|
|
11
|
+
[cssProperty: string]: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface FieldConfig {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
type: InputType;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
pattern?: string;
|
|
22
|
+
errorMessage?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { FieldConfig } from './base.interface';
|
|
2
|
+
|
|
3
|
+
export interface LoginContentConfig {
|
|
4
|
+
logo?: LoginLogoContent;
|
|
5
|
+
title?: LoginTitleContent;
|
|
6
|
+
social?: LoginSocialContent;
|
|
7
|
+
divider?: LoginDividerContent;
|
|
8
|
+
fields?: LoginFieldsContent;
|
|
9
|
+
actions?: LoginActionsContent;
|
|
10
|
+
terms?: LoginTermsContent;
|
|
11
|
+
}
|
|
12
|
+
export interface LoginLogoContent {
|
|
13
|
+
visibility?: boolean;
|
|
14
|
+
imageUrl?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface LoginTitleContent {
|
|
17
|
+
main?: string;
|
|
18
|
+
subtitle?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface LoginSocialContent {
|
|
21
|
+
visibility?: boolean;
|
|
22
|
+
variant?: 'icon' | 'text' | 'iconWithText';
|
|
23
|
+
providers?: {
|
|
24
|
+
[provider: string]: LoginSocialProviderContent;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export interface LoginSocialProviderContent {
|
|
28
|
+
label?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface LoginDividerContent {
|
|
31
|
+
visibility?: boolean;
|
|
32
|
+
text?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface LoginActionsContent {
|
|
35
|
+
submitText?: string;
|
|
36
|
+
signupText?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface LoginFieldsContent {
|
|
39
|
+
fieldsArray: FieldConfig[];
|
|
40
|
+
}
|
|
41
|
+
export interface LoginTermsContent {
|
|
42
|
+
visibility?: boolean;
|
|
43
|
+
label?: string;
|
|
44
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Button, Checkbox } from '../../components';
|
|
2
|
-
|
|
3
|
-
declare const
|
|
2
|
+
|
|
3
|
+
declare const ButtonReact: import('@lit-labs/react').ReactWebComponent<Button, {}>;
|
|
4
|
+
declare const CheckboxReact: import('@lit-labs/react').ReactWebComponent<Checkbox, {}>;
|
|
4
5
|
export { ButtonReact, CheckboxReact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const TWStyles: import(
|
|
1
|
+
export declare const TWStyles: import('lit').CSSResult;
|
package/dist/src/wc-ui-app.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
|
|
2
3
|
export declare class WcUiApp extends LitElement {
|
|
3
4
|
header: string;
|
|
4
|
-
static styles: import(
|
|
5
|
-
render(): import(
|
|
5
|
+
static styles: import('lit').CSSResult;
|
|
6
|
+
render(): import('lit').TemplateResult<1>;
|
|
6
7
|
}
|
package/package.json
CHANGED
|
@@ -3,15 +3,33 @@
|
|
|
3
3
|
"description": "Webcomponent wc-ui following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "wc-ui",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.64",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/revotech-ui-kit.umd.cjs",
|
|
9
9
|
"module": "./dist/revotech-ui-kit.js",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/src/index.d.ts",
|
|
16
|
+
"import": "./dist/revotech-ui-kit.js",
|
|
17
|
+
"require": "./dist/revotech-ui-kit.umd.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./dist/library.css": {
|
|
20
|
+
"import": "./dist/library.css",
|
|
21
|
+
"style": "./dist/library.css",
|
|
22
|
+
"default": "./dist/library.css"
|
|
23
|
+
},
|
|
24
|
+
"./react": {
|
|
25
|
+
"types": "./dist/src/lib/react/react.lib.d.ts",
|
|
26
|
+
"import": "./dist/src/lib/react/react.lib.js",
|
|
27
|
+
"require": "./dist/src/lib/react/react.lib.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
13
30
|
"types": "./dist/src/index.d.ts",
|
|
14
31
|
"scripts": {
|
|
32
|
+
"format-classes": "npx prettier --write .",
|
|
15
33
|
"release": "npm version $(semver $npm_package_version -i major) && npm publish --tag latest",
|
|
16
34
|
"release:minor": "npm version $(semver $npm_package_version -i minor) && npm publish --tag latest",
|
|
17
35
|
"release:patch": "npm version $(semver $npm_package_version -i patch) && npm publish --tag latest",
|
|
@@ -26,53 +44,52 @@
|
|
|
26
44
|
"test-storybook": "test-storybook",
|
|
27
45
|
"storybook:build": "storybook build",
|
|
28
46
|
"build-storybook": "storybook build",
|
|
29
|
-
"link:dev": "npm run build
|
|
47
|
+
"link:dev": "npm run build && npm link",
|
|
30
48
|
"dev": "vite",
|
|
31
49
|
"build:css": "postcss src/tailwind-lib.css -o dist/library.css",
|
|
32
50
|
"build": "npm run clean && vite build && npm run build:css",
|
|
33
51
|
"preview": "vite preview",
|
|
34
52
|
"analyze": "cem analyze --litelement",
|
|
53
|
+
"generate:cem": "cem analyze --litelement --outdir .",
|
|
35
54
|
"tw:watch": "concurrently \"tailwindcss -i ./src/tailwind-lib.css -o ./src/globals.css --watch\" \"twlit --input ./src/globals.css --output ./src/styles/tw.styles.ts \""
|
|
36
55
|
},
|
|
37
|
-
"
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@lit-labs/context": "^0.5.1",
|
|
38
58
|
"@lit-labs/react": "^1.2.0",
|
|
59
|
+
"lit": "^3.1.2"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
39
62
|
"@open-wc/lit-helpers": "^0.7.0",
|
|
40
|
-
"@storybook/addon-
|
|
41
|
-
"@storybook/
|
|
42
|
-
"@storybook/web-components": "^8.0.0",
|
|
43
|
-
"@storybook/web-components-vite": "^8.0.0",
|
|
63
|
+
"@storybook/addon-links": "^9.0.8",
|
|
64
|
+
"@storybook/web-components-vite": "^9.0.8",
|
|
44
65
|
"class-variance-authority": "^0.7.0",
|
|
45
66
|
"clsx": "^2.1.0",
|
|
46
67
|
"husky": "^9.1.4",
|
|
47
|
-
"lit": "^3.1.2",
|
|
48
68
|
"playwright": "^1.47.1",
|
|
49
|
-
"react": "^
|
|
50
|
-
"storybook": "^
|
|
69
|
+
"react": "^19",
|
|
70
|
+
"storybook": "^9.0.8",
|
|
51
71
|
"tailwind-merge": "^2.2.1",
|
|
52
72
|
"tailwindcss-animate": "^1.0.7",
|
|
53
|
-
"vite": "^
|
|
73
|
+
"vite": "^6.3.5",
|
|
54
74
|
"vite-plugin-dts": "^3.6.0",
|
|
55
75
|
"vite-plugin-html-config": "^1.0.11"
|
|
56
76
|
},
|
|
57
77
|
"devDependencies": {
|
|
58
78
|
"@babel/preset-env": "^7.16.4",
|
|
59
|
-
"@chromatic-com/storybook": "^
|
|
60
|
-
"@custom-elements-manifest/analyzer": "^0.4
|
|
79
|
+
"@chromatic-com/storybook": "^4.0.0",
|
|
80
|
+
"@custom-elements-manifest/analyzer": "^0.10.4",
|
|
61
81
|
"@open-wc/eslint-config": "^9.2.1",
|
|
62
82
|
"@open-wc/testing": "^3.1.6",
|
|
63
|
-
"@storybook/addon-
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@storybook/builder-vite": "^8.0.0",
|
|
83
|
+
"@storybook/addon-docs": "^9.0.8",
|
|
84
|
+
"@storybook/builder-vite": "^9.0.8",
|
|
66
85
|
"@storybook/jest": "^0.2.3",
|
|
67
|
-
"@storybook/test": "^
|
|
68
|
-
"@storybook/test-runner": "^0.19.1",
|
|
86
|
+
"@storybook/test-runner": "^0.23.0",
|
|
69
87
|
"@storybook/testing-library": "^0.2.2",
|
|
70
88
|
"@testing-library/dom": "^10.4.0",
|
|
71
89
|
"@testing-library/jest-dom": "^6.4.8",
|
|
72
90
|
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
73
91
|
"@typescript-eslint/parser": "^5.48.0",
|
|
74
|
-
"@web/dev-server": "^0.1.
|
|
75
|
-
"@web/dev-server-storybook": "^0.5.4",
|
|
92
|
+
"@web/dev-server": "^0.1.38",
|
|
76
93
|
"@web/test-runner": "^0.14.0",
|
|
77
94
|
"autoprefixer": "^10.4.21",
|
|
78
95
|
"babel-plugin-template-html-minifier": "^4.1.0",
|
|
@@ -81,10 +98,11 @@
|
|
|
81
98
|
"deepmerge": "^4.2.2",
|
|
82
99
|
"eslint": "^8.31.0",
|
|
83
100
|
"eslint-config-prettier": "^8.3.0",
|
|
84
|
-
"eslint-plugin-storybook": "^0.8
|
|
101
|
+
"eslint-plugin-storybook": "^9.0.8",
|
|
85
102
|
"lint-staged": "^10.5.4",
|
|
86
103
|
"postcss-cli": "^11.0.1",
|
|
87
|
-
"prettier": "^
|
|
104
|
+
"prettier": "^3.5.3",
|
|
105
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
88
106
|
"rimraf": "^3.0.2",
|
|
89
107
|
"tailwindcss": "^3.4.1",
|
|
90
108
|
"tslib": "^2.3.1",
|
|
@@ -100,39 +118,16 @@
|
|
|
100
118
|
],
|
|
101
119
|
"plugins": [
|
|
102
120
|
"@typescript-eslint"
|
|
103
|
-
]
|
|
104
|
-
"rules": {
|
|
105
|
-
"no-unused-vars": "off",
|
|
106
|
-
"@typescript-eslint/no-unused-vars": [
|
|
107
|
-
"error"
|
|
108
|
-
],
|
|
109
|
-
"import/no-unresolved": "off",
|
|
110
|
-
"import/extensions": [
|
|
111
|
-
"error",
|
|
112
|
-
"always",
|
|
113
|
-
{
|
|
114
|
-
"ignorePackages": true
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
"max-classes-per-file": [
|
|
118
|
-
"error",
|
|
119
|
-
{
|
|
120
|
-
"ignoreExpressions": true,
|
|
121
|
-
"max": 10
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"no-plusplus": "off"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"prettier": {
|
|
128
|
-
"singleQuote": true,
|
|
129
|
-
"arrowParens": "avoid"
|
|
121
|
+
]
|
|
130
122
|
},
|
|
131
123
|
"lint-staged": {
|
|
132
|
-
"*.ts": [
|
|
124
|
+
"*.{js,ts,jsx,tsx,html}": [
|
|
133
125
|
"eslint --fix",
|
|
134
126
|
"prettier --write"
|
|
135
127
|
]
|
|
136
128
|
},
|
|
137
|
-
"customElements": "custom-elements.json"
|
|
129
|
+
"customElements": "custom-elements.json",
|
|
130
|
+
"overrides": {
|
|
131
|
+
"storybook": "$storybook"
|
|
132
|
+
}
|
|
138
133
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseElement } from '../../../helpers';
|
|
2
|
-
export declare class CollapsibleContent extends BaseElement {
|
|
3
|
-
static styles: import("lit").CSSResult[];
|
|
4
|
-
protected getAttributesToExclude(): string[];
|
|
5
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
-
}
|
|
7
|
-
declare global {
|
|
8
|
-
interface HTMLElementTagNameMap {
|
|
9
|
-
'rtg-collapsible-content': CollapsibleContent;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseElement } from '../../../helpers';
|
|
2
|
-
import { CollapsibleTrigger } from './collapsible-trigger';
|
|
3
|
-
import { CollapsibleContent } from './collapsible-content';
|
|
4
|
-
declare class Collapsible extends BaseElement {
|
|
5
|
-
static styles: import("lit").CSSResult[];
|
|
6
|
-
open: boolean;
|
|
7
|
-
onOpenChange: () => void;
|
|
8
|
-
twCLass: string;
|
|
9
|
-
protected getAttributesToExclude(): string[];
|
|
10
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
-
}
|
|
12
|
-
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
'rtg-collapsible': Collapsible;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
declare class ComboBoxEmpty extends LitElement {
|
|
3
|
-
static styles: import("lit").CSSResult[];
|
|
4
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
-
}
|
|
6
|
-
export { ComboBoxEmpty };
|
|
7
|
-
declare global {
|
|
8
|
-
interface HTMLElementTagNameMap {
|
|
9
|
-
'rtg-combo-box-empty': ComboBoxEmpty;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { ComboBox } from './combo-box.atom';
|
|
3
|
-
declare class ComboBoxGroup extends LitElement {
|
|
4
|
-
static styles: import("lit").CSSResult[];
|
|
5
|
-
private childrenArray;
|
|
6
|
-
searchKey: string;
|
|
7
|
-
focusedIndex: number;
|
|
8
|
-
selectedValue: string;
|
|
9
|
-
get _comboBox(): ComboBox | null;
|
|
10
|
-
connectedCallback(): void;
|
|
11
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
-
protected updated(_changedProperties: PropertyValues): void;
|
|
13
|
-
disconnectedCallback(): void;
|
|
14
|
-
onSelectedValue(value: string, index: number): void;
|
|
15
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
16
|
-
handleMouseOver(event: Event, index: number): void;
|
|
17
|
-
checkRender: () => import("lit-html").TemplateResult<1> | import("lit-html").TemplateResult<1>[];
|
|
18
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
19
|
-
}
|
|
20
|
-
export { ComboBoxGroup };
|
|
21
|
-
declare global {
|
|
22
|
-
interface HTMLElementTagNameMap {
|
|
23
|
-
'rtg-combo-box-group': ComboBoxGroup;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { ComboBox } from './combo-box.atom';
|
|
3
|
-
declare class ComboBoxTrigger extends LitElement {
|
|
4
|
-
static styles: import("lit").CSSResult[];
|
|
5
|
-
get _comboBox(): ComboBox | null;
|
|
6
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
-
handleClick: () => void;
|
|
8
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
-
}
|
|
10
|
-
export { ComboBoxTrigger };
|
|
11
|
-
declare global {
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
'rtg-combo-box-trigger': ComboBoxTrigger;
|
|
14
|
-
}
|
|
15
|
-
}
|