@revotech-group/revotech-ui-kit 0.2.3 → 0.2.5
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/library.css +12398 -0
- package/dist/rtg-ui-kit.js +15194 -0
- package/dist/rtg-ui-kit.umd.cjs +5439 -0
- package/dist/src/assets/icons/anchor.icon.d.ts +2 -0
- package/dist/src/assets/icons/app-window.icon.d.ts +2 -0
- package/dist/src/assets/icons/arrow-right.icon.d.ts +2 -0
- package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -0
- package/dist/src/assets/icons/arrow-up-right.icon.d.ts +2 -0
- package/dist/src/assets/icons/arrow-up.icon.d.ts +2 -0
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -0
- package/dist/src/assets/icons/asterisk.icon.d.ts +2 -0
- package/dist/src/assets/icons/badge-alert.icon.d.ts +2 -0
- package/dist/src/assets/icons/badge-check.icon.d.ts +2 -0
- package/dist/src/assets/icons/badge-info.icon.d.ts +2 -0
- package/dist/src/assets/icons/badge-x.icon.d.ts +2 -0
- package/dist/src/assets/icons/bell.icon.d.ts +2 -0
- package/dist/src/assets/icons/bookmark.icon.d.ts +2 -0
- package/dist/src/assets/icons/brand-javascript.icon.d.ts +2 -0
- package/dist/src/assets/icons/captions.icon.d.ts +2 -0
- 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 -0
- package/dist/src/assets/icons/check.icon.d.ts +2 -0
- package/dist/src/assets/icons/chevron-right.icon.d.ts +2 -0
- package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -0
- package/dist/src/assets/icons/circle-alert.icon.d.ts +2 -0
- package/dist/src/assets/icons/circle-check.icon.d.ts +2 -0
- package/dist/src/assets/icons/circle-fading-arrow-up.icon.d.ts +2 -0
- package/dist/src/assets/icons/circle-x.icon.d.ts +1 -0
- package/dist/src/assets/icons/circle.icon.d.ts +1 -0
- package/dist/src/assets/icons/close.icon.d.ts +1 -0
- package/dist/src/assets/icons/cloud.icon.d.ts +2 -0
- package/dist/src/assets/icons/code.icon.d.ts +2 -0
- package/dist/src/assets/icons/copy.icon.d.ts +2 -0
- package/dist/src/assets/icons/corner-down-left.icon.d.ts +2 -0
- package/dist/src/assets/icons/credit-card.icon.d.ts +2 -0
- package/dist/src/assets/icons/decrease.icon.d.ts +1 -0
- package/dist/src/assets/icons/dot.icon.d.ts +1 -0
- package/dist/src/assets/icons/external-link.icon.d.ts +2 -0
- package/dist/src/assets/icons/eye-off.d.ts +1 -0
- package/dist/src/assets/icons/eye-off.icon.d.ts +2 -0
- package/dist/src/assets/icons/eye-on.d.ts +1 -0
- package/dist/src/assets/icons/file-code.icon.d.ts +2 -0
- package/dist/src/assets/icons/folder-code.icon.d.ts +2 -0
- package/dist/src/assets/icons/git-branch-minus.icon.d.ts +2 -0
- package/dist/src/assets/icons/git-branch-plus.icon.d.ts +2 -0
- package/dist/src/assets/icons/help-circle.icon.d.ts +1 -0
- package/dist/src/assets/icons/house.icon.d.ts +2 -0
- package/dist/src/assets/icons/inbox.icon.d.ts +2 -0
- package/dist/src/assets/icons/index.d.ts +64 -0
- package/dist/src/assets/icons/info.icon.d.ts +2 -0
- package/dist/src/assets/icons/loader-circle.icon.d.ts +2 -0
- package/dist/src/assets/icons/mail-warning.icon.d.ts +2 -0
- package/dist/src/assets/icons/mail.icon.d.ts +2 -0
- package/dist/src/assets/icons/minus.icon.d.ts +2 -0
- package/dist/src/assets/icons/plus.icon.d.ts +1 -0
- package/dist/src/assets/icons/rabbit.icon.d.ts +2 -0
- package/dist/src/assets/icons/radio-group.icon.d.ts +1 -0
- package/dist/src/assets/icons/radio.icon.d.ts +1 -0
- package/dist/src/assets/icons/refresh-ccw.icon.d.ts +2 -0
- package/dist/src/assets/icons/refresh-cw.icon.d.ts +2 -0
- package/dist/src/assets/icons/search.icon.d.ts +2 -0
- package/dist/src/assets/icons/settings.icon.d.ts +2 -0
- package/dist/src/assets/icons/shield-alert.icon.d.ts +2 -0
- package/dist/src/assets/icons/shopping-bag.icon.d.ts +2 -0
- package/dist/src/assets/icons/star.icon.d.ts +2 -0
- package/dist/src/assets/icons/tick.icon.d.ts +1 -0
- package/dist/src/assets/icons/wand.icon.d.ts +2 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/ui/accordion/accordion-content.d.ts +20 -0
- package/dist/src/components/ui/accordion/accordion-item.d.ts +21 -0
- package/dist/src/components/ui/accordion/accordion-trigger.d.ts +17 -0
- package/dist/src/components/ui/accordion/accordion.d.ts +25 -0
- package/dist/src/components/ui/accordion/accordion.defs.d.ts +10 -0
- package/dist/src/components/ui/accordion/accordion.stories.d.ts +10 -0
- package/dist/src/components/ui/accordion/accordion.styles.d.ts +4 -0
- package/dist/src/components/ui/alert/_alert-action.d.ts +21 -0
- package/dist/src/components/ui/alert/_alert-description.d.ts +21 -0
- package/dist/src/components/ui/alert/_alert-title.d.ts +20 -0
- package/dist/src/components/ui/alert/_alert.d.ts +25 -0
- package/dist/src/components/ui/alert/alert.d.ts +16 -0
- package/dist/src/components/ui/alert/alert.defs.d.ts +4 -0
- package/dist/src/components/ui/alert/alert.stories.d.ts +12 -0
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +16 -0
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +4 -0
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +4 -0
- package/dist/src/components/ui/avatar/_avatar-badge.d.ts +21 -0
- package/dist/src/components/ui/avatar/_avatar-fallback.d.ts +21 -0
- package/dist/src/components/ui/avatar/_avatar-group-count.d.ts +21 -0
- package/dist/src/components/ui/avatar/_avatar-group.d.ts +21 -0
- package/dist/src/components/ui/avatar/_avatar-image.d.ts +28 -0
- package/dist/src/components/ui/avatar/_avatar.d.ts +65 -0
- package/dist/src/components/ui/avatar/avatar.d.ts +20 -0
- package/dist/src/components/ui/avatar/avatar.defs.d.ts +8 -0
- package/dist/src/components/ui/avatar/avatar.stories.d.ts +13 -0
- package/dist/src/components/ui/badge/_badge.d.ts +43 -0
- package/dist/src/components/ui/badge/badge.d.ts +10 -0
- package/dist/src/components/ui/badge/badge.defs.d.ts +8 -0
- package/dist/src/components/ui/badge/badge.stories.d.ts +10 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +11 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +14 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +15 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +14 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +11 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +14 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb.stories.d.ts +4 -0
- package/dist/src/components/ui/breadcrumb/breadcrumb.styles.d.ts +4 -0
- package/dist/src/components/ui/button/_button.d.ts +62 -0
- package/dist/src/components/ui/button/button.d.ts +10 -0
- package/dist/src/components/ui/button/button.defs.d.ts +14 -0
- package/dist/src/components/ui/button/button.stories.d.ts +13 -0
- package/dist/src/components/ui/button/button.style.d.ts +4 -0
- package/dist/src/components/ui/calendar/calendar.d.ts +24 -0
- package/dist/src/components/ui/calendar/calendar.helpers.d.ts +3 -0
- package/dist/src/components/ui/calendar/calendar.stories.d.ts +4 -0
- package/dist/src/components/ui/calendar/calendar.style.d.ts +40 -0
- package/dist/src/components/ui/card/_card-action.d.ts +21 -0
- package/dist/src/components/ui/card/_card-content.d.ts +20 -0
- package/dist/src/components/ui/card/_card-description.d.ts +21 -0
- package/dist/src/components/ui/card/_card-footer.d.ts +26 -0
- package/dist/src/components/ui/card/_card-header.d.ts +26 -0
- package/dist/src/components/ui/card/_card-title.d.ts +20 -0
- package/dist/src/components/ui/card/_card.d.ts +25 -0
- package/dist/src/components/ui/card/card.d.ts +22 -0
- package/dist/src/components/ui/card/card.defs.d.ts +10 -0
- package/dist/src/components/ui/card/card.stories.d.ts +11 -0
- package/dist/src/components/ui/carousel/carousel.d.ts +24 -0
- package/dist/src/components/ui/carousel/carousel.stories.d.ts +6 -0
- package/dist/src/components/ui/carousel/carousel.styles.d.ts +32 -0
- package/dist/src/components/ui/checkbox/_checkbox.d.ts +92 -0
- package/dist/src/components/ui/checkbox/checkbox.d.ts +10 -0
- package/dist/src/components/ui/checkbox/checkbox.defs.d.ts +11 -0
- package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +13 -0
- package/dist/src/components/ui/collapsible/collapsible-content.d.ts +17 -0
- package/dist/src/components/ui/collapsible/collapsible-trigger.d.ts +17 -0
- package/dist/src/components/ui/collapsible/collapsible.d.ts +23 -0
- package/dist/src/components/ui/collapsible/collapsible.stories.d.ts +5 -0
- package/dist/src/components/ui/combobox/combo-box-empty.d.ts +14 -0
- package/dist/src/components/ui/combobox/combo-box-group.d.ts +37 -0
- package/dist/src/components/ui/combobox/combo-box-input.d.ts +17 -0
- package/dist/src/components/ui/combobox/combo-box-item.d.ts +25 -0
- package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +18 -0
- package/dist/src/components/ui/combobox/combo-box-value.d.ts +18 -0
- package/dist/src/components/ui/combobox/combo-box.d.ts +35 -0
- package/dist/src/components/ui/combobox/combo-box.stories.d.ts +10 -0
- package/dist/src/components/ui/combobox/combo-box.styles.d.ts +14 -0
- package/dist/src/components/ui/command/command-empty.atom.d.ts +18 -0
- package/dist/src/components/ui/command/command-group.atom.d.ts +19 -0
- package/dist/src/components/ui/command/command-input.atom.d.ts +15 -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 +15 -0
- package/dist/src/components/ui/command/command-separator.atom.d.ts +14 -0
- package/dist/src/components/ui/command/command.d.ts +22 -0
- package/dist/src/components/ui/command/command.helpers.d.ts +6 -0
- package/dist/src/components/ui/command/command.stories.d.ts +6 -0
- package/dist/src/components/ui/command/command.styles.d.ts +15 -0
- package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +16 -0
- package/dist/src/components/ui/context-menu/context-menu-content.d.ts +14 -0
- package/dist/src/components/ui/context-menu/context-menu-group.d.ts +10 -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 +16 -0
- package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +6 -0
- package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +9 -0
- package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +5 -0
- package/dist/src/components/ui/context-menu/context-menu.d.ts +40 -0
- package/dist/src/components/ui/context-menu/context-menu.helpers.d.ts +1 -0
- package/dist/src/components/ui/context-menu/context-menu.styles.d.ts +20 -0
- package/dist/src/components/ui/context-menu/contextMenu.stories.d.ts +4 -0
- package/dist/src/components/ui/data-table/data-table.d.ts +39 -0
- package/dist/src/components/ui/data-table/data-table.stories.d.ts +5 -0
- package/dist/src/components/ui/date-picker/date-picker.d.ts +12 -0
- package/dist/src/components/ui/date-picker/date-picker.stories.d.ts +4 -0
- package/dist/src/components/ui/date-picker/date-picker.styles.d.ts +6 -0
- package/dist/src/components/ui/dialog/dialog-close.d.ts +15 -0
- package/dist/src/components/ui/dialog/dialog-content.d.ts +15 -0
- package/dist/src/components/ui/dialog/dialog-footer.d.ts +9 -0
- package/dist/src/components/ui/dialog/dialog-header.d.ts +7 -0
- package/dist/src/components/ui/dialog/dialog-overly.d.ts +5 -0
- package/dist/src/components/ui/dialog/dialog-trigger.d.ts +11 -0
- package/dist/src/components/ui/dialog/dialog.d.ts +30 -0
- package/dist/src/components/ui/dialog/dialog.stories.d.ts +6 -0
- package/dist/src/components/ui/dialog/dialog.styles.d.ts +17 -0
- package/dist/src/components/ui/drawer/drawer-close.d.ts +15 -0
- package/dist/src/components/ui/drawer/drawer-content.d.ts +14 -0
- package/dist/src/components/ui/drawer/drawer-description.d.ts +9 -0
- package/dist/src/components/ui/drawer/drawer-footer.d.ts +9 -0
- package/dist/src/components/ui/drawer/drawer-header.d.ts +8 -0
- package/dist/src/components/ui/drawer/drawer-overlay.d.ts +5 -0
- package/dist/src/components/ui/drawer/drawer-title.d.ts +9 -0
- package/dist/src/components/ui/drawer/drawer-trigger.d.ts +11 -0
- package/dist/src/components/ui/drawer/drawer.d.ts +40 -0
- package/dist/src/components/ui/drawer/drawer.helpers.d.ts +2 -0
- package/dist/src/components/ui/drawer/drawer.stories.d.ts +4 -0
- package/dist/src/components/ui/drawer/drawer.styles.d.ts +14 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +17 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +13 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +11 -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 +16 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +8 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +8 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +5 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +40 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +3 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +20 -0
- package/dist/src/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +6 -0
- package/dist/src/components/ui/empty/_empty-content.d.ts +23 -0
- package/dist/src/components/ui/empty/_empty-description.d.ts +23 -0
- package/dist/src/components/ui/empty/_empty-header.d.ts +23 -0
- package/dist/src/components/ui/empty/_empty-media.d.ts +29 -0
- package/dist/src/components/ui/empty/_empty-title.d.ts +22 -0
- package/dist/src/components/ui/empty/_empty.d.ts +28 -0
- package/dist/src/components/ui/empty/empty.d.ts +20 -0
- package/dist/src/components/ui/empty/empty.defs.d.ts +7 -0
- package/dist/src/components/ui/empty/empty.stories.d.ts +10 -0
- package/dist/src/components/ui/field/_field-content.d.ts +23 -0
- package/dist/src/components/ui/field/_field-description.d.ts +23 -0
- package/dist/src/components/ui/field/_field-error.d.ts +25 -0
- package/dist/src/components/ui/field/_field-group.d.ts +28 -0
- package/dist/src/components/ui/field/_field-label.d.ts +27 -0
- package/dist/src/components/ui/field/_field-legend.d.ts +30 -0
- package/dist/src/components/ui/field/_field-separator.d.ts +42 -0
- package/dist/src/components/ui/field/_field-set.d.ts +22 -0
- package/dist/src/components/ui/field/_field-title.d.ts +22 -0
- package/dist/src/components/ui/field/_field.d.ts +36 -0
- package/dist/src/components/ui/field/field.d.ts +29 -0
- package/dist/src/components/ui/field/field.defs.d.ts +23 -0
- package/dist/src/components/ui/field/field.stories.d.ts +16 -0
- package/dist/src/components/ui/form/form-context.d.ts +4 -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 +5 -0
- package/dist/src/components/ui/form/form.styles.d.ts +7 -0
- package/dist/src/components/ui/form/rtg-form-controller.d.ts +16 -0
- package/dist/src/components/ui/form/rtg-form-description.d.ts +13 -0
- package/dist/src/components/ui/form/rtg-form-field.d.ts +19 -0
- package/dist/src/components/ui/form/rtg-form-item.d.ts +16 -0
- package/dist/src/components/ui/form/rtg-form-label.d.ts +19 -0
- package/dist/src/components/ui/form/rtg-form-message.d.ts +17 -0
- package/dist/src/components/ui/form/rtg-form.d.ts +23 -0
- package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +15 -0
- package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +9 -0
- package/dist/src/components/ui/hoverCard/hover-card.d.ts +28 -0
- package/dist/src/components/ui/hoverCard/hover-card.stories.d.ts +4 -0
- package/dist/src/components/ui/hoverCard/hover-card.styles.d.ts +5 -0
- package/dist/src/components/ui/index.d.ts +49 -0
- package/dist/src/components/ui/input/_input.d.ts +163 -0
- package/dist/src/components/ui/input/input.d.ts +11 -0
- package/dist/src/components/ui/input/input.defs.d.ts +28 -0
- package/dist/src/components/ui/input/input.stories.d.ts +16 -0
- package/dist/src/components/ui/input-group/_input-group-addon.d.ts +32 -0
- package/dist/src/components/ui/input-group/_input-group-button.d.ts +59 -0
- package/dist/src/components/ui/input-group/_input-group-input.d.ts +140 -0
- package/dist/src/components/ui/input-group/_input-group-text.d.ts +22 -0
- package/dist/src/components/ui/input-group/_input-group-textarea.d.ts +114 -0
- package/dist/src/components/ui/input-group/_input-group.d.ts +22 -0
- package/dist/src/components/ui/input-group/input-group.d.ts +20 -0
- package/dist/src/components/ui/input-group/input-group.defs.d.ts +16 -0
- package/dist/src/components/ui/input-group/input-group.stories.d.ts +15 -0
- package/dist/src/components/ui/input-otp/_input-otp-group.d.ts +25 -0
- package/dist/src/components/ui/input-otp/_input-otp-separator.d.ts +15 -0
- package/dist/src/components/ui/input-otp/_input-otp-slot.d.ts +34 -0
- package/dist/src/components/ui/input-otp/_input-otp.d.ts +212 -0
- package/dist/src/components/ui/input-otp/input-otp.d.ts +16 -0
- package/dist/src/components/ui/input-otp/input-otp.defs.d.ts +28 -0
- package/dist/src/components/ui/input-otp/input-otp.stories.d.ts +12 -0
- package/dist/src/components/ui/item/_item-actions.d.ts +22 -0
- package/dist/src/components/ui/item/_item-content.d.ts +22 -0
- package/dist/src/components/ui/item/_item-description.d.ts +22 -0
- package/dist/src/components/ui/item/_item-footer.d.ts +22 -0
- package/dist/src/components/ui/item/_item-group.d.ts +22 -0
- package/dist/src/components/ui/item/_item-header.d.ts +22 -0
- package/dist/src/components/ui/item/_item-media.d.ts +28 -0
- package/dist/src/components/ui/item/_item-separator.d.ts +22 -0
- package/dist/src/components/ui/item/_item-title.d.ts +22 -0
- package/dist/src/components/ui/item/_item.d.ts +42 -0
- package/dist/src/components/ui/item/item.d.ts +29 -0
- package/dist/src/components/ui/item/item.defs.d.ts +13 -0
- package/dist/src/components/ui/item/item.stories.d.ts +13 -0
- package/dist/src/components/ui/kbd/_kbd-group.d.ts +22 -0
- package/dist/src/components/ui/kbd/_kbd.d.ts +22 -0
- package/dist/src/components/ui/kbd/kbd.d.ts +12 -0
- package/dist/src/components/ui/kbd/kbd.stories.d.ts +8 -0
- package/dist/src/components/ui/label/_label.d.ts +26 -0
- package/dist/src/components/ui/label/label.d.ts +10 -0
- package/dist/src/components/ui/label/label.defs.d.ts +3 -0
- package/dist/src/components/ui/label/label.stories.d.ts +10 -0
- package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +19 -0
- package/dist/src/components/ui/menubar/menubar-content.d.ts +19 -0
- package/dist/src/components/ui/menubar/menubar-group.d.ts +14 -0
- package/dist/src/components/ui/menubar/menubar-item.d.ts +17 -0
- package/dist/src/components/ui/menubar/menubar-menu.d.ts +30 -0
- package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +19 -0
- package/dist/src/components/ui/menubar/menubar-separator.d.ts +13 -0
- package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +9 -0
- package/dist/src/components/ui/menubar/menubar-trigger.d.ts +9 -0
- package/dist/src/components/ui/menubar/menubar.d.ts +33 -0
- package/dist/src/components/ui/menubar/menubar.helpers.d.ts +3 -0
- package/dist/src/components/ui/menubar/menubar.stories.d.ts +4 -0
- package/dist/src/components/ui/menubar/menubar.styles.d.ts +21 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +19 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-item.d.ts +23 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +9 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +8 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +9 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu.d.ts +24 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu.stories.d.ts +4 -0
- package/dist/src/components/ui/navigation-menu/navigation-menu.styles.d.ts +9 -0
- package/dist/src/components/ui/pagination/pagination-content.d.ts +8 -0
- package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +8 -0
- package/dist/src/components/ui/pagination/pagination-item.d.ts +14 -0
- package/dist/src/components/ui/pagination/pagination-link.d.ts +14 -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/ui/pagination/pagination.d.ts +26 -0
- package/dist/src/components/ui/pagination/pagination.stories.d.ts +4 -0
- package/dist/src/components/ui/pagination/pagination.styles.d.ts +22 -0
- package/dist/src/components/ui/pagination/pagination.type.d.ts +2 -0
- package/dist/src/components/ui/password-input/_password-input.d.ts +122 -0
- package/dist/src/components/ui/password-input/password-input.d.ts +10 -0
- package/dist/src/components/ui/password-input/password-input.defs.d.ts +3 -0
- package/dist/src/components/ui/password-input/password-input.stories.d.ts +8 -0
- package/dist/src/components/ui/popover/popover-content.d.ts +18 -0
- package/dist/src/components/ui/popover/popover-trigger.d.ts +12 -0
- package/dist/src/components/ui/popover/popover.d.ts +21 -0
- package/dist/src/components/ui/popover/popover.stories.d.ts +4 -0
- package/dist/src/components/ui/popover/popover.style.d.ts +5 -0
- package/dist/src/components/ui/popover/popover.types.d.ts +2 -0
- package/dist/src/components/ui/progress/progress.d.ts +11 -0
- package/dist/src/components/ui/progress/progress.stories.d.ts +4 -0
- package/dist/src/components/ui/progress/progress.styles.d.ts +4 -0
- package/dist/src/components/ui/radio-group/radio-group-item.d.ts +21 -0
- package/dist/src/components/ui/radio-group/radio-group.d.ts +19 -0
- package/dist/src/components/ui/radio-group/radio-group.stories.d.ts +4 -0
- package/dist/src/components/ui/radio-group/radio-group.styles.d.ts +9 -0
- package/dist/src/components/ui/radio-group/radio-group.types.d.ts +2 -0
- package/dist/src/components/ui/sample-demo/sample-demo.d.ts +23 -0
- package/dist/src/components/ui/sample-demo/sample.style.d.ts +4 -0
- package/dist/src/components/ui/sample-demo/sample.type.d.ts +3 -0
- package/dist/src/components/ui/scroll-area/scroll-area.d.ts +12 -0
- package/dist/src/components/ui/scroll-area/scroll-area.stories.d.ts +4 -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 +16 -0
- package/dist/src/components/ui/select/select-group.d.ts +25 -0
- package/dist/src/components/ui/select/select-item.d.ts +26 -0
- package/dist/src/components/ui/select/select-label.d.ts +13 -0
- package/dist/src/components/ui/select/select-list.d.ts +10 -0
- package/dist/src/components/ui/select/select-seperator.d.ts +8 -0
- package/dist/src/components/ui/select/select-trigger.d.ts +24 -0
- package/dist/src/components/ui/select/select-value.d.ts +20 -0
- package/dist/src/components/ui/select/select.d.ts +25 -0
- package/dist/src/components/ui/select/select.stories.d.ts +4 -0
- package/dist/src/components/ui/select/select.styles.d.ts +20 -0
- package/dist/src/components/ui/separator/_separator.d.ts +21 -0
- package/dist/src/components/ui/separator/separator.d.ts +10 -0
- package/dist/src/components/ui/separator/separator.defs.d.ts +5 -0
- package/dist/src/components/ui/separator/separator.stories.d.ts +9 -0
- package/dist/src/components/ui/skeleton/skeleton.d.ts +10 -0
- package/dist/src/components/ui/skeleton/skeleton.stories.d.ts +4 -0
- package/dist/src/components/ui/skeleton/skeleton.style.d.ts +1 -0
- package/dist/src/components/ui/spinner/_spinner.d.ts +19 -0
- package/dist/src/components/ui/spinner/spinner.d.ts +10 -0
- package/dist/src/components/ui/spinner/spinner.defs.d.ts +4 -0
- package/dist/src/components/ui/spinner/spinner.stories.d.ts +11 -0
- package/dist/src/components/ui/switch/switch.d.ts +13 -0
- package/dist/src/components/ui/switch/switch.stories.d.ts +4 -0
- package/dist/src/components/ui/switch/switch.style.d.ts +4 -0
- package/dist/src/components/ui/switch/switch.type.d.ts +4 -0
- package/dist/src/components/ui/table/table.d.ts +17 -0
- package/dist/src/components/ui/table/table.stories.d.ts +4 -0
- package/dist/src/components/ui/table/table.styles.d.ts +39 -0
- package/dist/src/components/ui/tabs/_tabs-content.d.ts +29 -0
- package/dist/src/components/ui/tabs/_tabs-list.d.ts +29 -0
- package/dist/src/components/ui/tabs/_tabs-trigger.d.ts +46 -0
- package/dist/src/components/ui/tabs/_tabs.d.ts +98 -0
- package/dist/src/components/ui/tabs/tabs.d.ts +17 -0
- package/dist/src/components/ui/tabs/tabs.defs.d.ts +22 -0
- package/dist/src/components/ui/tabs/tabs.helpers.d.ts +24 -0
- package/dist/src/components/ui/tabs/tabs.stories.d.ts +12 -0
- package/dist/src/components/ui/textarea/_textarea.d.ts +131 -0
- package/dist/src/components/ui/textarea/textarea.d.ts +10 -0
- package/dist/src/components/ui/textarea/textarea.defs.d.ts +23 -0
- package/dist/src/components/ui/textarea/textarea.stories.d.ts +9 -0
- package/dist/src/components/ui/toast/toast-action.d.ts +26 -0
- package/dist/src/components/ui/toast/toast-description.d.ts +13 -0
- package/dist/src/components/ui/toast/toast-title.d.ts +13 -0
- package/dist/src/components/ui/toast/toast-trigger.d.ts +17 -0
- package/dist/src/components/ui/toast/toast-view-port.d.ts +23 -0
- package/dist/src/components/ui/toast/toast.d.ts +24 -0
- package/dist/src/components/ui/toast/toast.stories.d.ts +9 -0
- package/dist/src/components/ui/toast/toast.style.d.ts +19 -0
- package/dist/src/components/ui/toast/toast.type.d.ts +1 -0
- package/dist/src/components/ui/toggle/toggle.d.ts +28 -0
- package/dist/src/components/ui/toggle/toggle.defs.d.ts +27 -0
- package/dist/src/components/ui/toggle/toggle.stories.d.ts +5 -0
- package/dist/src/components/ui/toggle/toggle.style.d.ts +4 -0
- package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +42 -0
- package/dist/src/components/ui/toggle-group/toggle-group.d.ts +24 -0
- package/dist/src/components/ui/toggle-group/toggle-group.defs.d.ts +37 -0
- package/dist/src/components/ui/toggle-group/toggle-group.stories.d.ts +4 -0
- package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +5 -0
- package/dist/src/components/ui/typography/_typography-blockquote.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-code.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-h.d.ts +27 -0
- package/dist/src/components/ui/typography/_typography-large.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-lead.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-list.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-muted.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-p.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-small.d.ts +22 -0
- package/dist/src/components/ui/typography/_typography-table.d.ts +13 -0
- package/dist/src/components/ui/typography/typography.d.ts +28 -0
- package/dist/src/components/ui/typography/typography.defs.d.ts +4 -0
- package/dist/src/components/ui/typography/typography.stories.d.ts +18 -0
- package/dist/src/components/widgets/index.d.ts +1 -0
- package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +13 -0
- package/dist/src/helpers/base-element.d.ts +20 -0
- package/dist/src/helpers/country-codes.d.ts +5 -0
- package/dist/src/helpers/genrate-uuid.helper.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +7 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +14 -0
- package/dist/src/helpers/shadow-wrapper.d.ts +7 -0
- package/dist/src/helpers/style.helpers.d.ts +2 -0
- package/dist/src/helpers/widget-controller.d.ts +12 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/interfaces/actionable.interface.d.ts +5 -0
- package/dist/src/interfaces/atomic.interface.d.ts +6 -0
- package/dist/src/interfaces/changeable.interface.d.ts +7 -0
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +4 -0
- package/dist/src/interfaces/index.d.ts +6 -0
- package/dist/src/interfaces/intractable.interface.d.ts +6 -0
- package/dist/src/interfaces/variant.interface.d.ts +3 -0
- package/dist/src/lib/index.d.ts +0 -0
- package/dist/src/lib/react/react.lib.d.ts +4 -0
- package/dist/src/styles/index.d.ts +1 -0
- package/dist/src/styles/tw.styles.d.ts +1 -0
- package/dist/src/tokens/tailwind/animation.d.ts +7 -0
- package/dist/src/tokens/tailwind/border-radius.d.ts +49 -0
- package/dist/src/tokens/tailwind/border-width.d.ts +27 -0
- package/dist/src/tokens/tailwind/box-shadow.d.ts +12 -0
- package/dist/src/tokens/tailwind/color.d.ts +232 -0
- package/dist/src/tokens/tailwind/font-size.d.ts +90 -0
- package/dist/src/tokens/tailwind/font-weight.d.ts +27 -0
- package/dist/src/tokens/tailwind/index.d.ts +841 -0
- package/dist/src/tokens/tailwind/keyframes.d.ts +41 -0
- package/dist/src/tokens/tailwind/opacity.d.ts +31 -0
- package/dist/src/tokens/tailwind/ring-offset-width.d.ts +6 -0
- package/dist/src/tokens/tailwind/ring-width.d.ts +16 -0
- package/dist/src/tokens/tailwind/spacing.d.ts +287 -0
- package/dist/src/tokens/tailwind/transition-duration.d.ts +5 -0
- package/dist/src/tokens/tailwind/transition-timing-function.d.ts +4 -0
- package/dist/src/tokens/tailwind/translate.d.ts +5 -0
- package/dist/src/wc-ui-app.d.ts +6 -0
- package/package.json +26 -39
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const Demo: Story;
|
|
6
|
+
export declare const WithCheckbox: Story;
|
|
7
|
+
export declare const WithInput: Story;
|
|
8
|
+
export declare const WithTextarea: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const Required: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarCheckboxItem extends BaseElement {
|
|
4
|
+
_id: string;
|
|
5
|
+
_hidden: string;
|
|
6
|
+
private static _counter;
|
|
7
|
+
private get _containerElement();
|
|
8
|
+
protected getAttributesToExclude(): string[];
|
|
9
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
10
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
11
|
+
private get identifier();
|
|
12
|
+
get value(): string;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
private handleMouseEvent;
|
|
15
|
+
checked: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
toggleChecked(): void;
|
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
import { MenubarMenu } from './menubar-menu';
|
|
4
|
+
export declare class MenubarContent extends BaseElement {
|
|
5
|
+
state: string;
|
|
6
|
+
id: string;
|
|
7
|
+
side: string;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
get _menubarMenu(): MenubarMenu | null;
|
|
10
|
+
private get _containerElement();
|
|
11
|
+
protected getAttributesToExclude(): string[];
|
|
12
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
13
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
updated(changedProps: PropertyValues): void;
|
|
17
|
+
handleClickOutside(event: MouseEvent): void;
|
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarGroup extends BaseElement {
|
|
4
|
+
heading: string;
|
|
5
|
+
_id: string;
|
|
6
|
+
_hidden: string;
|
|
7
|
+
private static _counter;
|
|
8
|
+
private get _containerElement();
|
|
9
|
+
protected getAttributesToExclude(): string[];
|
|
10
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
+
private get identifier();
|
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarItem extends BaseElement {
|
|
4
|
+
_id: string;
|
|
5
|
+
_hidden: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
private static _counter;
|
|
8
|
+
private get _containerElement();
|
|
9
|
+
protected getAttributesToExclude(): string[];
|
|
10
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
+
private get identifier();
|
|
13
|
+
get value(): string;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
private handleMouseEvent;
|
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarMenu extends BaseElement {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
uniqueIds: string[];
|
|
6
|
+
selectedMenu: string;
|
|
7
|
+
isHovering: boolean;
|
|
8
|
+
id: string;
|
|
9
|
+
private closeTimeout;
|
|
10
|
+
private get _content();
|
|
11
|
+
private get _button();
|
|
12
|
+
protected getAttributesToExclude(): string[];
|
|
13
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
private clearCloseTimeout;
|
|
17
|
+
private toggleMenubar;
|
|
18
|
+
handleClickOutside: (e: MouseEvent) => void;
|
|
19
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
20
|
+
private _handleRadioSelected;
|
|
21
|
+
firstUpdated(): void;
|
|
22
|
+
raiseEvent(): void;
|
|
23
|
+
closeAllMenus(): void;
|
|
24
|
+
private handleMenuMouseEnter;
|
|
25
|
+
private handleMenuMouseLeave;
|
|
26
|
+
private scheduleClose;
|
|
27
|
+
private isDescendant;
|
|
28
|
+
private setupContentListeners;
|
|
29
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarRadioItem extends BaseElement {
|
|
4
|
+
_id: string;
|
|
5
|
+
_hidden: string;
|
|
6
|
+
private static _counter;
|
|
7
|
+
private get _containerElement();
|
|
8
|
+
protected getAttributesToExclude(): string[];
|
|
9
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
10
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
11
|
+
private get identifier();
|
|
12
|
+
get value(): string;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
private handleMouseEvent;
|
|
15
|
+
checked: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
toggleChecked(): void;
|
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarSeparator extends BaseElement {
|
|
4
|
+
_id: string;
|
|
5
|
+
_hidden: string;
|
|
6
|
+
private static _counter;
|
|
7
|
+
get _containerElement(): HTMLDivElement | null;
|
|
8
|
+
protected getAttributesToExclude(): string[];
|
|
9
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
10
|
+
private get identifier();
|
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarShortcut extends BaseElement {
|
|
4
|
+
private get _containerElement();
|
|
5
|
+
protected getAttributesToExclude(): string[];
|
|
6
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
7
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class MenubarTrigger extends BaseElement {
|
|
4
|
+
get _containerElement(): HTMLButtonElement | null;
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
protected getAttributesToExclude(): string[];
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
import { MenubarCheckboxItem } from './menubar-checkbox.item';
|
|
4
|
+
import { MenubarContent } from './menubar-content';
|
|
5
|
+
import { MenubarGroup } from './menubar-group';
|
|
6
|
+
import { MenubarItem } from './menubar-item';
|
|
7
|
+
import { MenubarMenu } from './menubar-menu';
|
|
8
|
+
import { MenubarRadioItem } from './menubar-radio-item';
|
|
9
|
+
import { MenubarSeparator } from './menubar-separator';
|
|
10
|
+
import { MenubarShortcut } from './menubar-shortcut';
|
|
11
|
+
import { MenubarTrigger } from './menubar-trigger';
|
|
12
|
+
declare class Menubar extends BaseElement {
|
|
13
|
+
private get _containerElement();
|
|
14
|
+
protected getAttributesToExclude(): string[];
|
|
15
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
16
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
17
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, };
|
|
20
|
+
declare global {
|
|
21
|
+
interface HTMLElementTagNameMap {
|
|
22
|
+
'rtg-menubar': Menubar;
|
|
23
|
+
'rtg-menubar-menu': MenubarMenu;
|
|
24
|
+
'rtg-menubar-checkbox-item': MenubarCheckboxItem;
|
|
25
|
+
'rtg-menubar-group': MenubarGroup;
|
|
26
|
+
'rtg-menubar-content': MenubarContent;
|
|
27
|
+
'rtg-menubar-item': MenubarItem;
|
|
28
|
+
'rtg-menubar-radio-item': MenubarRadioItem;
|
|
29
|
+
'rtg-menubar-separator': MenubarSeparator;
|
|
30
|
+
'rtg-menubar-shortcut': MenubarShortcut;
|
|
31
|
+
'rtg-menubar-trigger': MenubarTrigger;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const menubarStyles: {
|
|
2
|
+
root: string[];
|
|
3
|
+
menu: string[];
|
|
4
|
+
group: string[];
|
|
5
|
+
trigger: string[];
|
|
6
|
+
content: string[];
|
|
7
|
+
item: string[];
|
|
8
|
+
checkboxItem: {
|
|
9
|
+
base: string[];
|
|
10
|
+
indicator: string[];
|
|
11
|
+
icon: string[];
|
|
12
|
+
};
|
|
13
|
+
radioItem: {
|
|
14
|
+
base: string[];
|
|
15
|
+
indicator: string[];
|
|
16
|
+
icon: string[];
|
|
17
|
+
};
|
|
18
|
+
label: string[];
|
|
19
|
+
separator: string[];
|
|
20
|
+
shortcut: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
import { NavigationMenuItem } from './navigation-menu-item';
|
|
4
|
+
export declare class NavigationMenuContent extends BaseElement {
|
|
5
|
+
state: string;
|
|
6
|
+
id: string;
|
|
7
|
+
side: string;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
get _menubarMenu(): NavigationMenuItem | null;
|
|
10
|
+
get _containerElement(): HTMLDivElement | null;
|
|
11
|
+
protected getAttributesToExclude(): string[];
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
updated(changedProps: PropertyValues): void;
|
|
15
|
+
handleClickOutside(event: MouseEvent): void;
|
|
16
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
17
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export declare class NavigationMenuItem extends BaseElement {
|
|
4
|
+
value: string;
|
|
5
|
+
navigationLink: boolean;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
uniqueIds: string[];
|
|
8
|
+
isHovering: boolean;
|
|
9
|
+
raiseEvent(): void;
|
|
10
|
+
firstUpdated(): void;
|
|
11
|
+
closeAllMenus(): void;
|
|
12
|
+
toggleMenubar(e: MouseEvent): void;
|
|
13
|
+
private get _content();
|
|
14
|
+
private get _button();
|
|
15
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
disconnectedCallback(): void;
|
|
18
|
+
handleClickOutside: (e: MouseEvent) => void;
|
|
19
|
+
handleHover(): void;
|
|
20
|
+
handleMouseLeave(): void;
|
|
21
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
22
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export declare class NavigationMenuLink extends BaseElement {
|
|
4
|
+
get _containerElement(): HTMLAnchorElement | null;
|
|
5
|
+
href: string;
|
|
6
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
7
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export declare class NavigationMenuList extends BaseElement {
|
|
4
|
+
get _containerElement(): HTMLUListElement | null;
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export declare class NavigationMenuTrigger extends BaseElement {
|
|
4
|
+
get _containerElement(): HTMLUListElement | null;
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
protected getAttributesToExclude(): string[];
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
import { NavigationMenuList } from './navigation-menu-list';
|
|
4
|
+
import { NavigationMenuItem } from './navigation-menu-item';
|
|
5
|
+
import { NavigationMenuContent } from './navigation-menu-content';
|
|
6
|
+
import { NavigationMenuLink } from './navigation-menu-link';
|
|
7
|
+
import { NavigationMenuTrigger } from './navigation-menu-trigger';
|
|
8
|
+
declare class NavigationMenu extends BaseElement {
|
|
9
|
+
get _containerElement(): HTMLElementTagNameMap['nav'] | null;
|
|
10
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuLink, NavigationMenuTrigger, };
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'rtg-navigation-menu': NavigationMenu;
|
|
18
|
+
'rtg-navigation-menu-list': NavigationMenuList;
|
|
19
|
+
'rtg-navigation-menu-item': NavigationMenuItem;
|
|
20
|
+
'rtg-navigation-menu-content': NavigationMenuContent;
|
|
21
|
+
'rtg-navigation-menu-link': NavigationMenuLink;
|
|
22
|
+
'rtg-navigation-menu-trigger': NavigationMenuTrigger;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class PaginationContent extends BaseElement {
|
|
4
|
+
get _containerElement(): HTMLUListElement | null;
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class PaginationEllipsis extends BaseElement {
|
|
4
|
+
get _containerElement(): HTMLElement | null;
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class PaginationItem extends BaseElement {
|
|
4
|
+
uniqueIds: string[];
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
get _containerElement(): HTMLLIElement | null;
|
|
7
|
+
private get _content();
|
|
8
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
9
|
+
handleClick(e: MouseEvent): void;
|
|
10
|
+
firstUpdated(): void;
|
|
11
|
+
raiseEvent(): void;
|
|
12
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
import { ButtonSize } from '../button/button.defs';
|
|
4
|
+
export declare class PaginationLink extends BaseElement {
|
|
5
|
+
state: string;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
size: Exclude<ButtonSize, 'xs' | 'icon-xs'>;
|
|
8
|
+
href: string;
|
|
9
|
+
get _containerElement(): HTMLAnchorElement | null;
|
|
10
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
+
updated(changedProps: PropertyValues): void;
|
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class PaginationNext extends BaseElement {
|
|
4
|
+
href: string;
|
|
5
|
+
get _containerElement(): HTMLDivElement | null;
|
|
6
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
7
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class PaginationPrevious extends BaseElement {
|
|
4
|
+
href: string;
|
|
5
|
+
get _containerElement(): HTMLDivElement | null;
|
|
6
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
7
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
import { PaginationContent } from './pagination-content';
|
|
4
|
+
import { PaginationEllipsis } from './pagination-ellipsis';
|
|
5
|
+
import { PaginationItem } from './pagination-item';
|
|
6
|
+
import { PaginationLink } from './pagination-link';
|
|
7
|
+
import { PaginationNext } from './pagination-next';
|
|
8
|
+
import { PaginationPrevious } from './pagination-previous';
|
|
9
|
+
declare class Pagination extends BaseElement {
|
|
10
|
+
get _containerElement(): HTMLElement | null;
|
|
11
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
12
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'rtg-pagination': Pagination;
|
|
19
|
+
'rtg-pagination-content': PaginationContent;
|
|
20
|
+
'rtg-pagination-item': PaginationItem;
|
|
21
|
+
'rtg-pagination-link': PaginationLink;
|
|
22
|
+
'rtg-pagination-ellipsis': PaginationEllipsis;
|
|
23
|
+
'rtg-pagination-next': PaginationNext;
|
|
24
|
+
'rtg-pagination-previous': PaginationPrevious;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const paginationStyles: {
|
|
2
|
+
root: string[];
|
|
3
|
+
content: string[];
|
|
4
|
+
item: string[];
|
|
5
|
+
link: (props?: ({
|
|
6
|
+
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
7
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
previous: {
|
|
10
|
+
base: string[];
|
|
11
|
+
span: string[];
|
|
12
|
+
};
|
|
13
|
+
next: {
|
|
14
|
+
base: string[];
|
|
15
|
+
span: string[];
|
|
16
|
+
};
|
|
17
|
+
ellipsis: {
|
|
18
|
+
base: string[];
|
|
19
|
+
icon: string[];
|
|
20
|
+
span: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { InputAutocomplete } from '../input/input.defs';
|
|
3
|
+
import { PasswordInputProps } from './password-input.defs';
|
|
4
|
+
/**
|
|
5
|
+
* A password input with a toggleable show/hide button.
|
|
6
|
+
*
|
|
7
|
+
* @element rtg-password-input
|
|
8
|
+
* @slot password-input
|
|
9
|
+
* @slot password-input-input
|
|
10
|
+
* @slot password-input-addon
|
|
11
|
+
* @slot password-input-button
|
|
12
|
+
* @slot password-input-icon
|
|
13
|
+
*/
|
|
14
|
+
export declare class PasswordInput extends LitElement implements PasswordInputProps {
|
|
15
|
+
/**
|
|
16
|
+
* Hint for form autofill feature.
|
|
17
|
+
*/
|
|
18
|
+
autocomplete?: InputAutocomplete;
|
|
19
|
+
/**
|
|
20
|
+
* When `true`, prevents the user from interacting with the input.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The form name that the input is associated with.
|
|
25
|
+
*/
|
|
26
|
+
form?: string;
|
|
27
|
+
/**
|
|
28
|
+
* A unique id for the input element.
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* When `true`, sets the `aria-invalid` attribute and styles the input
|
|
33
|
+
* accordingly.
|
|
34
|
+
*/
|
|
35
|
+
invalid?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The maximum string length that the user can enter into the field.
|
|
38
|
+
*/
|
|
39
|
+
maxlength?: number;
|
|
40
|
+
/**
|
|
41
|
+
* The minimum string length that the user can enter into the field.
|
|
42
|
+
*/
|
|
43
|
+
minlength?: number;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the input. Submitted with its owning form as part of a
|
|
46
|
+
* name/value pair.
|
|
47
|
+
*/
|
|
48
|
+
name?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Used to compile a regular expression that the input's value must match.
|
|
51
|
+
*/
|
|
52
|
+
pattern?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The value of the placeholder text, providing a brief hint to the user.
|
|
55
|
+
*/
|
|
56
|
+
placeholder?: string;
|
|
57
|
+
/**
|
|
58
|
+
* When `true`, indicates that the user should not be able to edit the value
|
|
59
|
+
* of the input.
|
|
60
|
+
*/
|
|
61
|
+
readonly?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* When `true`, indicates that the user must fill the input before the owning
|
|
64
|
+
* form can be submitted.
|
|
65
|
+
*/
|
|
66
|
+
required?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* The value of the input. When specified as a prop, it is the initial value.
|
|
69
|
+
*/
|
|
70
|
+
value?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The user-defined "on click" handler for the input.
|
|
73
|
+
*/
|
|
74
|
+
onClick?: (event: MouseEvent) => void;
|
|
75
|
+
/**
|
|
76
|
+
* The user-defined "on input" handler for the input.
|
|
77
|
+
*/
|
|
78
|
+
onInput?: (event: Event) => void;
|
|
79
|
+
/**
|
|
80
|
+
* The user-defined "on change" handler for the input.
|
|
81
|
+
*/
|
|
82
|
+
onChange?: (event: Event) => void;
|
|
83
|
+
/**
|
|
84
|
+
* The user-defined "on focus" handler for the input.
|
|
85
|
+
*/
|
|
86
|
+
onFocus?: (event: FocusEvent) => void;
|
|
87
|
+
/**
|
|
88
|
+
* The user-defined "on blur" handler for the input.
|
|
89
|
+
*/
|
|
90
|
+
onBlur?: (event: FocusEvent) => void;
|
|
91
|
+
/**
|
|
92
|
+
* Tracks whether the password is currently visible.
|
|
93
|
+
*/
|
|
94
|
+
private _showPassword;
|
|
95
|
+
/**
|
|
96
|
+
* The id of the input element, determined by the provided `id` prop.
|
|
97
|
+
*/
|
|
98
|
+
private _inputId?;
|
|
99
|
+
/**
|
|
100
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
101
|
+
*/
|
|
102
|
+
protected createRenderRoot(): this;
|
|
103
|
+
/**
|
|
104
|
+
* Handles the updated callback, transferring the `id` prop's value to
|
|
105
|
+
* `_inputId` and removing it from the parent (if changed).
|
|
106
|
+
*/
|
|
107
|
+
protected updated(changed: PropertyValues): void;
|
|
108
|
+
/**
|
|
109
|
+
* Handles the first updated callback, transferring the `id` prop's value to
|
|
110
|
+
* `_inputId` and removing it from the parent.
|
|
111
|
+
*/
|
|
112
|
+
protected firstUpdated(): void;
|
|
113
|
+
/**
|
|
114
|
+
* Toggles the password visibility state.
|
|
115
|
+
*/
|
|
116
|
+
private _handleToggle;
|
|
117
|
+
/**
|
|
118
|
+
* Renders the password input button icon based on the `_showPassword` state.
|
|
119
|
+
*/
|
|
120
|
+
private _renderIcon;
|
|
121
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
122
|
+
}
|