@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,28 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit-element';
|
|
2
|
+
import { TOGGLE_SIZE, TOGGLE_VARIANT } from './toggle.defs';
|
|
3
|
+
import { BaseElement } from '../../../helpers';
|
|
4
|
+
export { TOGGLE_SIZE, TOGGLE_VARIANT };
|
|
5
|
+
declare class Toggle extends BaseElement {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
checked: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
variant: TOGGLE_VARIANT;
|
|
10
|
+
size: TOGGLE_SIZE;
|
|
11
|
+
protected willUpdate(changed: Map<string, unknown>): void;
|
|
12
|
+
get _containerElement(): HTMLButtonElement | null;
|
|
13
|
+
static toggleVariants: (props?: ({
|
|
14
|
+
variant?: "default" | "outline" | null | undefined;
|
|
15
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
16
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
17
|
+
protected getAttributesToExclude(): string[];
|
|
18
|
+
toggle(): void;
|
|
19
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
20
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
export { Toggle };
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'rtg-toggle': Toggle;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toggle size.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum TOGGLE_SIZE {
|
|
5
|
+
/**
|
|
6
|
+
* @Small size
|
|
7
|
+
*/
|
|
8
|
+
SMALL = "sm",
|
|
9
|
+
/**
|
|
10
|
+
* @medium size
|
|
11
|
+
*/
|
|
12
|
+
MEDIUM = "md",
|
|
13
|
+
/**
|
|
14
|
+
* @Large size
|
|
15
|
+
*/
|
|
16
|
+
LARGE = "lg"
|
|
17
|
+
}
|
|
18
|
+
export declare enum TOGGLE_VARIANT {
|
|
19
|
+
/**
|
|
20
|
+
* @Default variant
|
|
21
|
+
*/
|
|
22
|
+
DEFAULT = "default",
|
|
23
|
+
/**
|
|
24
|
+
* @Outline variant
|
|
25
|
+
*/
|
|
26
|
+
OUTLINE = "outline"
|
|
27
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit-element';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
import { TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE, TOGGLE_GROUP_TYPE } from './toggle-group.defs';
|
|
4
|
+
import { ToggleGroup } from './toggle-group';
|
|
5
|
+
declare class ToggleGroupItem extends BaseElement {
|
|
6
|
+
checked: boolean;
|
|
7
|
+
id: string;
|
|
8
|
+
variant: TOGGLE_GROUP_VARIANT;
|
|
9
|
+
size: TOGGLE_GROUP_SIZE;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
type: TOGGLE_GROUP_TYPE;
|
|
12
|
+
get _parent(): ToggleGroup | null;
|
|
13
|
+
get _containerElement(): HTMLButtonElement | null;
|
|
14
|
+
get _siblings(): ToggleGroupItem[];
|
|
15
|
+
static toggleGroupVariants: (props?: ({
|
|
16
|
+
variant?: "default" | "outline" | null | undefined;
|
|
17
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
18
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
|
+
protected getAttributesToExclude(): string[];
|
|
20
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
21
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
22
|
+
/**
|
|
23
|
+
* IMPORTANT:
|
|
24
|
+
* - No reactive state is written inside updated()
|
|
25
|
+
* - This prevents infinite loops
|
|
26
|
+
*/
|
|
27
|
+
constructor();
|
|
28
|
+
private syncFromParent;
|
|
29
|
+
/**
|
|
30
|
+
* Called by parent when selection changes
|
|
31
|
+
* (or manually triggered via requestUpdate)
|
|
32
|
+
*/
|
|
33
|
+
syncSelection(): void;
|
|
34
|
+
toggleSelection(itemId: string): void;
|
|
35
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
36
|
+
}
|
|
37
|
+
export { ToggleGroupItem };
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
'rtg-toggle-group-item': ToggleGroupItem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit-element';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
import { TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './toggle-group.defs';
|
|
4
|
+
declare class ToggleGroup extends BaseElement {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
type: TOGGLE_GROUP_TYPE;
|
|
7
|
+
required: boolean;
|
|
8
|
+
variant: TOGGLE_GROUP_VARIANT;
|
|
9
|
+
size: TOGGLE_GROUP_SIZE;
|
|
10
|
+
get _containerElement(): HTMLDivElement | null;
|
|
11
|
+
protected getAttributesToExclude(): string[];
|
|
12
|
+
selectedItems: string[];
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
firstUpdated(changedProperties: Map<string, unknown>): void;
|
|
15
|
+
updated(changedProperties: PropertyValues): void;
|
|
16
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
17
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'rtg-toggle-group': ToggleGroup;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export { ToggleGroup, TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE, };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toggle Group Type.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum TOGGLE_GROUP_TYPE {
|
|
5
|
+
/**
|
|
6
|
+
* @multiple Type
|
|
7
|
+
*/
|
|
8
|
+
MULTIPLE = "multiple",
|
|
9
|
+
/**
|
|
10
|
+
* @medium size
|
|
11
|
+
*/
|
|
12
|
+
SINGLE = "single"
|
|
13
|
+
}
|
|
14
|
+
export declare enum TOGGLE_GROUP_VARIANT {
|
|
15
|
+
/**
|
|
16
|
+
* @Default variant
|
|
17
|
+
*/
|
|
18
|
+
DEFAULT = "default",
|
|
19
|
+
/**
|
|
20
|
+
* @Outline variant
|
|
21
|
+
*/
|
|
22
|
+
OUTLINE = "outline"
|
|
23
|
+
}
|
|
24
|
+
export declare enum TOGGLE_GROUP_SIZE {
|
|
25
|
+
/**
|
|
26
|
+
* @Small size
|
|
27
|
+
*/
|
|
28
|
+
SMALL = "sm",
|
|
29
|
+
/**
|
|
30
|
+
* @medium size
|
|
31
|
+
*/
|
|
32
|
+
MEDIUM = "md",
|
|
33
|
+
/**
|
|
34
|
+
* @Large size
|
|
35
|
+
*/
|
|
36
|
+
LARGE = "lg"
|
|
37
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const toggleGroupStyle: (props?: ({
|
|
2
|
+
variant?: "default" | "outline" | null | undefined;
|
|
3
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export declare const toggleGroupStyles = "rtg-flex rtg-items-center rtg-justify-center rtg-gap-toggle-group-space-gap";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled `<blockquote>` element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-blockquote
|
|
6
|
+
* @slot typography-blockquote
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyBlockquote extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography blockquote.
|
|
15
|
+
*/
|
|
16
|
+
private get _blockquoteSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography blockquote slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled inline `<code>` element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-code
|
|
6
|
+
* @slot typography-code
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyCode extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography code.
|
|
15
|
+
*/
|
|
16
|
+
private get _codeSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography code slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TypographyHLevel, TypographyHProps } from './typography.defs';
|
|
3
|
+
/**
|
|
4
|
+
* Renders a styled heading (`<h1>`, `<h2>`, `<h3>`, or `<h4>`) element.
|
|
5
|
+
*
|
|
6
|
+
* @element rtg-typography-h
|
|
7
|
+
* @slot typography-h
|
|
8
|
+
*/
|
|
9
|
+
export declare class TypographyH extends LitElement implements TypographyHProps {
|
|
10
|
+
/**
|
|
11
|
+
* The level of the heading.
|
|
12
|
+
*/
|
|
13
|
+
level: TypographyHLevel;
|
|
14
|
+
/**
|
|
15
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
16
|
+
*/
|
|
17
|
+
protected createRenderRoot(): this;
|
|
18
|
+
/**
|
|
19
|
+
* The slot of the typography h.
|
|
20
|
+
*/
|
|
21
|
+
private get _hSlot();
|
|
22
|
+
/**
|
|
23
|
+
* Appends children to the typography h slot.
|
|
24
|
+
*/
|
|
25
|
+
protected firstUpdated(): void;
|
|
26
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled large text element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-large
|
|
6
|
+
* @slot typography-large
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyLarge extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography large.
|
|
15
|
+
*/
|
|
16
|
+
private get _largeSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography large slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled lead text element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-lead
|
|
6
|
+
* @slot typography-lead
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyLead extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography lead.
|
|
15
|
+
*/
|
|
16
|
+
private get _leadSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography lead slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled `<ul>` element, styling `<li>` children as well.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-list
|
|
6
|
+
* @slot typography-list
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyList extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography list.
|
|
15
|
+
*/
|
|
16
|
+
private get _listSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography list slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled muted text element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-muted
|
|
6
|
+
* @slot typography-muted
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyMuted extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography muted.
|
|
15
|
+
*/
|
|
16
|
+
private get _mutedSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography muted slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled `<p>` element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-p
|
|
6
|
+
* @slot typography-p
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyP extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography p.
|
|
15
|
+
*/
|
|
16
|
+
private get _pSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography p slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a styled `<small>` element.
|
|
4
|
+
*
|
|
5
|
+
* @element rtg-typography-small
|
|
6
|
+
* @slot typography-small
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographySmall extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
/**
|
|
14
|
+
* The slot of the typography small.
|
|
15
|
+
*/
|
|
16
|
+
private get _smallSlot();
|
|
17
|
+
/**
|
|
18
|
+
* Appends children to the typography small slot.
|
|
19
|
+
*/
|
|
20
|
+
protected firstUpdated(): void;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a table wrapper, styling the `<table>` child element, as well as its
|
|
4
|
+
* subchildren (`<thead>`, `<tbody>`, `<tr>`, `<th>`, and `<td>`).
|
|
5
|
+
*
|
|
6
|
+
* @element rtg-typography-table
|
|
7
|
+
*/
|
|
8
|
+
export declare class TypographyTable extends LitElement {
|
|
9
|
+
/**
|
|
10
|
+
* Overrides the default behaviour to render into the light DOM.
|
|
11
|
+
*/
|
|
12
|
+
protected createRenderRoot(): this;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TypographyBlockquote } from './_typography-blockquote';
|
|
2
|
+
import { TypographyCode } from './_typography-code';
|
|
3
|
+
import { TypographyH } from './_typography-h';
|
|
4
|
+
import { TypographyLarge } from './_typography-large';
|
|
5
|
+
import { TypographyLead } from './_typography-lead';
|
|
6
|
+
import { TypographyList } from './_typography-list';
|
|
7
|
+
import { TypographyMuted } from './_typography-muted';
|
|
8
|
+
import { TypographyP } from './_typography-p';
|
|
9
|
+
import { TypographySmall } from './_typography-small';
|
|
10
|
+
import { TypographyTable } from './_typography-table';
|
|
11
|
+
export { TypographyBlockquote, TypographyCode, TypographyH, TypographyLarge, TypographyLead, TypographyList, TypographyMuted, TypographyP, TypographySmall, TypographyTable, };
|
|
12
|
+
/**
|
|
13
|
+
* Styles for headings, paragraphs, lists, etc.
|
|
14
|
+
*/
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'rtg-typography-h': TypographyH;
|
|
18
|
+
'rtg-typography-p': TypographyP;
|
|
19
|
+
'rtg-typography-blockquote': TypographyBlockquote;
|
|
20
|
+
'rtg-typography-table': TypographyTable;
|
|
21
|
+
'rtg-typography-list': TypographyList;
|
|
22
|
+
'rtg-typography-code': TypographyCode;
|
|
23
|
+
'rtg-typography-lead': TypographyLead;
|
|
24
|
+
'rtg-typography-large': TypographyLarge;
|
|
25
|
+
'rtg-typography-small': TypographySmall;
|
|
26
|
+
'rtg-typography-muted': TypographyMuted;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 Heading1: Story;
|
|
7
|
+
export declare const Heading2: Story;
|
|
8
|
+
export declare const Heading3: Story;
|
|
9
|
+
export declare const Heading4: Story;
|
|
10
|
+
export declare const Paragraph: Story;
|
|
11
|
+
export declare const Blockquote: Story;
|
|
12
|
+
export declare const Table: Story;
|
|
13
|
+
export declare const List: Story;
|
|
14
|
+
export declare const Code: Story;
|
|
15
|
+
export declare const Lead: Story;
|
|
16
|
+
export declare const Large: Story;
|
|
17
|
+
export declare const Small: Story;
|
|
18
|
+
export declare const Muted: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './light-sample-demo/light-sample.demo';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
export declare class LightSampleDemo extends BaseElement {
|
|
3
|
+
constructor();
|
|
4
|
+
protected getAttributesToExclude(): string[];
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'light-sample-demo': LightSampleDemo;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare abstract class BaseElement extends LitElement {
|
|
3
|
+
customClass: string;
|
|
4
|
+
customStyle: string;
|
|
5
|
+
constructor();
|
|
6
|
+
protected getAttributesToExclude(): string[];
|
|
7
|
+
protected getAttributesToRemoveFromParent(): string[];
|
|
8
|
+
disconnectedCallback(): void;
|
|
9
|
+
protected removeParentAttributes(): void;
|
|
10
|
+
protected getFilteredAttributes(): {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
protected isCustomPropertySet(property: string): boolean;
|
|
14
|
+
protected applyCustomClass(variables: string[], selector: string, className?: string): void;
|
|
15
|
+
protected removeDuplicateContent(): void;
|
|
16
|
+
protected moveLightDomChildrenInto(target: HTMLElement, specificNodes?: Node[]): void;
|
|
17
|
+
protected normalizeEnum<T extends Record<string, string>>(value: unknown, enumObj: T, fallback: T[keyof T]): T[keyof T];
|
|
18
|
+
private mutationObserver?;
|
|
19
|
+
protected observeStyleAndClassSync(target: HTMLElement): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateUUID(): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactiveControllerHost } from 'lit';
|
|
2
|
+
export declare class MouseController {
|
|
3
|
+
private host;
|
|
4
|
+
pos: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
};
|
|
8
|
+
_onMouseMove: ({ clientX, clientY }: MouseEvent) => void;
|
|
9
|
+
_onClick: (e: MouseEvent) => void;
|
|
10
|
+
_onScroll: (e: Event) => void;
|
|
11
|
+
constructor(host: ReactiveControllerHost);
|
|
12
|
+
hostConnected(): void;
|
|
13
|
+
hostDisconnected(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class WidgetController {
|
|
3
|
+
protected values: Record<string, string>;
|
|
4
|
+
protected errors: Record<string, string>;
|
|
5
|
+
protected host: LitElement;
|
|
6
|
+
constructor(host: LitElement);
|
|
7
|
+
getValues(): Record<string, string>;
|
|
8
|
+
getErrors(): Record<string, string>;
|
|
9
|
+
protected updateState(values: Record<string, string>, errors: Record<string, string>): void;
|
|
10
|
+
handleValueChange(id: string, value: string, error?: string): void;
|
|
11
|
+
protected dispatchStateUpdate(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IntractableProps } from './intractable.interface';
|
|
3
|
+
export type ChangeableProps<T = React.ChangeEvent<HTMLInputElement> | string | number, K = unknown> = Partial<IntractableProps & {
|
|
4
|
+
onChange: (event?: T, value?: K) => void;
|
|
5
|
+
onBlur: (event?: T) => void;
|
|
6
|
+
onPaste: (event?: T) => void;
|
|
7
|
+
}>;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tw.styles';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TWStyles: import('lit').CSSResult;
|