@revotech-group/revotech-ui-kit 0.2.2 → 0.2.3
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/package.json +1 -1
- package/dist/library.css +0 -10853
- package/dist/rtg-ui-kit.js +0 -18082
- package/dist/rtg-ui-kit.umd.cjs +0 -5155
- package/dist/src/assets/icons/anchor.icon.d.ts +0 -3
- package/dist/src/assets/icons/app-window.icon.d.ts +0 -3
- package/dist/src/assets/icons/arrow-right.icon.d.ts +0 -3
- package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +0 -1
- package/dist/src/assets/icons/arrow-up-right.icon.d.ts +0 -3
- package/dist/src/assets/icons/arrow-up.icon.d.ts +0 -3
- package/dist/src/assets/icons/arrows.icon.d.ts +0 -1
- package/dist/src/assets/icons/asterisk.icon.d.ts +0 -3
- package/dist/src/assets/icons/badge-alert.icon.d.ts +0 -3
- package/dist/src/assets/icons/badge-check.icon.d.ts +0 -3
- package/dist/src/assets/icons/badge-info.icon.d.ts +0 -3
- package/dist/src/assets/icons/badge-x.icon.d.ts +0 -3
- package/dist/src/assets/icons/captions.icon.d.ts +0 -3
- package/dist/src/assets/icons/carousel-arrow-left.d.ts +0 -1
- package/dist/src/assets/icons/carousel-arrow-right.d.ts +0 -1
- package/dist/src/assets/icons/chart.icon.d.ts +0 -1
- package/dist/src/assets/icons/check.icon.d.ts +0 -3
- package/dist/src/assets/icons/chorven-down.icon.d.ts +0 -1
- package/dist/src/assets/icons/circle-alert.icon.d.ts +0 -3
- package/dist/src/assets/icons/circle-check.icon.d.ts +0 -3
- package/dist/src/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -3
- package/dist/src/assets/icons/circle-x.icon.d.ts +0 -1
- package/dist/src/assets/icons/circle.icon.d.ts +0 -1
- package/dist/src/assets/icons/close.icon.d.ts +0 -1
- package/dist/src/assets/icons/code.icon.d.ts +0 -3
- package/dist/src/assets/icons/decrease.icon.d.ts +0 -1
- package/dist/src/assets/icons/dot.icon.d.ts +0 -1
- package/dist/src/assets/icons/external-link.icon.d.ts +0 -3
- package/dist/src/assets/icons/eye-off.d.ts +0 -1
- package/dist/src/assets/icons/eye-on.d.ts +0 -1
- package/dist/src/assets/icons/git-branch-minus.icon.d.ts +0 -3
- package/dist/src/assets/icons/git-branch-plus.icon.d.ts +0 -3
- package/dist/src/assets/icons/help-circle.icon.d.ts +0 -1
- package/dist/src/assets/icons/house.icon.d.ts +0 -3
- package/dist/src/assets/icons/index.d.ts +0 -48
- package/dist/src/assets/icons/info.icon.d.ts +0 -3
- package/dist/src/assets/icons/loader-circle.icon.d.ts +0 -3
- package/dist/src/assets/icons/mail-warning.icon.d.ts +0 -3
- package/dist/src/assets/icons/minus.icon.d.ts +0 -3
- package/dist/src/assets/icons/plus.icon.d.ts +0 -1
- package/dist/src/assets/icons/rabbit.icon.d.ts +0 -3
- package/dist/src/assets/icons/radio-group.icon.d.ts +0 -1
- package/dist/src/assets/icons/radio.icon.d.ts +0 -1
- package/dist/src/assets/icons/refresh-cw.icon.d.ts +0 -3
- package/dist/src/assets/icons/search.icon.d.ts +0 -3
- package/dist/src/assets/icons/settings.icon.d.ts +0 -3
- package/dist/src/assets/icons/shopping-bag.icon.d.ts +0 -3
- package/dist/src/assets/icons/tick.icon.d.ts +0 -1
- package/dist/src/assets/icons/wand.icon.d.ts +0 -3
- package/dist/src/components/index.d.ts +0 -2
- package/dist/src/components/ui/accordion/accordion-content.d.ts +0 -21
- package/dist/src/components/ui/accordion/accordion-item.d.ts +0 -22
- package/dist/src/components/ui/accordion/accordion-trigger.d.ts +0 -18
- package/dist/src/components/ui/accordion/accordion.d.ts +0 -26
- package/dist/src/components/ui/accordion/accordion.defs.d.ts +0 -10
- package/dist/src/components/ui/accordion/accordion.stories.d.ts +0 -11
- package/dist/src/components/ui/accordion/accordion.styles.d.ts +0 -4
- package/dist/src/components/ui/alert/_alert-action.d.ts +0 -22
- package/dist/src/components/ui/alert/_alert-description.d.ts +0 -22
- package/dist/src/components/ui/alert/_alert-title.d.ts +0 -21
- package/dist/src/components/ui/alert/_alert.d.ts +0 -26
- package/dist/src/components/ui/alert/alert.d.ts +0 -17
- package/dist/src/components/ui/alert/alert.defs.d.ts +0 -4
- package/dist/src/components/ui/alert/alert.stories.d.ts +0 -13
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -17
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -5
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +0 -4
- package/dist/src/components/ui/avatar/_avatar-badge.d.ts +0 -22
- package/dist/src/components/ui/avatar/_avatar-fallback.d.ts +0 -22
- package/dist/src/components/ui/avatar/_avatar-group-count.d.ts +0 -22
- package/dist/src/components/ui/avatar/_avatar-group.d.ts +0 -22
- package/dist/src/components/ui/avatar/_avatar-image.d.ts +0 -29
- package/dist/src/components/ui/avatar/_avatar.d.ts +0 -66
- package/dist/src/components/ui/avatar/avatar.d.ts +0 -21
- package/dist/src/components/ui/avatar/avatar.defs.d.ts +0 -8
- package/dist/src/components/ui/avatar/avatar.stories.d.ts +0 -14
- package/dist/src/components/ui/badge/badge.d.ts +0 -20
- package/dist/src/components/ui/badge/badge.stories.d.ts +0 -7
- package/dist/src/components/ui/badge/badge.style.d.ts +0 -3
- package/dist/src/components/ui/badge/badge.type.d.ts +0 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -12
- package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -15
- package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -16
- package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -15
- package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -12
- package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -15
- package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +0 -22
- package/dist/src/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -5
- package/dist/src/components/ui/breadcrumb/breadcrumb.styles.d.ts +0 -4
- package/dist/src/components/ui/button/_button.d.ts +0 -63
- package/dist/src/components/ui/button/button.d.ts +0 -11
- package/dist/src/components/ui/button/button.defs.d.ts +0 -14
- package/dist/src/components/ui/button/button.stories.d.ts +0 -14
- package/dist/src/components/ui/button/button.style.d.ts +0 -4
- package/dist/src/components/ui/calendar/calendar.d.ts +0 -25
- package/dist/src/components/ui/calendar/calendar.helpers.d.ts +0 -3
- package/dist/src/components/ui/calendar/calendar.stories.d.ts +0 -5
- package/dist/src/components/ui/calendar/calendar.style.d.ts +0 -40
- package/dist/src/components/ui/card/_card-action.d.ts +0 -22
- package/dist/src/components/ui/card/_card-content.d.ts +0 -21
- package/dist/src/components/ui/card/_card-description.d.ts +0 -22
- package/dist/src/components/ui/card/_card-footer.d.ts +0 -27
- package/dist/src/components/ui/card/_card-header.d.ts +0 -27
- package/dist/src/components/ui/card/_card-title.d.ts +0 -21
- package/dist/src/components/ui/card/_card.d.ts +0 -26
- package/dist/src/components/ui/card/card.d.ts +0 -23
- package/dist/src/components/ui/card/card.defs.d.ts +0 -10
- package/dist/src/components/ui/card/card.stories.d.ts +0 -12
- package/dist/src/components/ui/carousel/carousel.d.ts +0 -25
- package/dist/src/components/ui/carousel/carousel.stories.d.ts +0 -7
- package/dist/src/components/ui/carousel/carousel.styles.d.ts +0 -32
- package/dist/src/components/ui/checkbox/_checkbox.d.ts +0 -66
- package/dist/src/components/ui/checkbox/checkbox.d.ts +0 -11
- package/dist/src/components/ui/checkbox/checkbox.defs.d.ts +0 -11
- package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +0 -10
- package/dist/src/components/ui/collapsible/collapsible-content.d.ts +0 -18
- package/dist/src/components/ui/collapsible/collapsible-trigger.d.ts +0 -18
- package/dist/src/components/ui/collapsible/collapsible.d.ts +0 -24
- package/dist/src/components/ui/collapsible/collapsible.stories.d.ts +0 -6
- package/dist/src/components/ui/combobox/combo-box-empty.d.ts +0 -15
- package/dist/src/components/ui/combobox/combo-box-group.d.ts +0 -38
- package/dist/src/components/ui/combobox/combo-box-input.d.ts +0 -18
- package/dist/src/components/ui/combobox/combo-box-item.d.ts +0 -26
- package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +0 -19
- package/dist/src/components/ui/combobox/combo-box-value.d.ts +0 -19
- package/dist/src/components/ui/combobox/combo-box.d.ts +0 -36
- package/dist/src/components/ui/combobox/combo-box.stories.d.ts +0 -11
- package/dist/src/components/ui/combobox/combo-box.styles.d.ts +0 -14
- package/dist/src/components/ui/command/command-empty.atom.d.ts +0 -19
- package/dist/src/components/ui/command/command-group.atom.d.ts +0 -20
- package/dist/src/components/ui/command/command-input.atom.d.ts +0 -16
- package/dist/src/components/ui/command/command-item.atom.d.ts +0 -25
- package/dist/src/components/ui/command/command-list.atom.d.ts +0 -16
- package/dist/src/components/ui/command/command-separator.atom.d.ts +0 -15
- package/dist/src/components/ui/command/command.d.ts +0 -23
- package/dist/src/components/ui/command/command.helpers.d.ts +0 -6
- package/dist/src/components/ui/command/command.stories.d.ts +0 -7
- package/dist/src/components/ui/command/command.styles.d.ts +0 -15
- package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -17
- package/dist/src/components/ui/context-menu/context-menu-content.d.ts +0 -15
- package/dist/src/components/ui/context-menu/context-menu-group.d.ts +0 -11
- package/dist/src/components/ui/context-menu/context-menu-item.d.ts +0 -14
- package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +0 -17
- package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +0 -7
- package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +0 -10
- package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +0 -6
- package/dist/src/components/ui/context-menu/context-menu.d.ts +0 -41
- package/dist/src/components/ui/context-menu/context-menu.helpers.d.ts +0 -1
- package/dist/src/components/ui/context-menu/context-menu.styles.d.ts +0 -20
- package/dist/src/components/ui/context-menu/contextMenu.stories.d.ts +0 -5
- package/dist/src/components/ui/data-table/data-table.d.ts +0 -40
- package/dist/src/components/ui/data-table/data-table.stories.d.ts +0 -6
- package/dist/src/components/ui/date-picker/date-picker.d.ts +0 -13
- package/dist/src/components/ui/date-picker/date-picker.stories.d.ts +0 -5
- package/dist/src/components/ui/date-picker/date-picker.styles.d.ts +0 -6
- package/dist/src/components/ui/dialog/dialog-close.d.ts +0 -16
- package/dist/src/components/ui/dialog/dialog-content.d.ts +0 -16
- package/dist/src/components/ui/dialog/dialog-footer.d.ts +0 -10
- package/dist/src/components/ui/dialog/dialog-header.d.ts +0 -8
- package/dist/src/components/ui/dialog/dialog-overly.d.ts +0 -6
- package/dist/src/components/ui/dialog/dialog-trigger.d.ts +0 -12
- package/dist/src/components/ui/dialog/dialog.d.ts +0 -31
- package/dist/src/components/ui/dialog/dialog.stories.d.ts +0 -7
- package/dist/src/components/ui/dialog/dialog.styles.d.ts +0 -17
- package/dist/src/components/ui/drawer/drawer-close.d.ts +0 -16
- package/dist/src/components/ui/drawer/drawer-content.d.ts +0 -15
- package/dist/src/components/ui/drawer/drawer-description.d.ts +0 -10
- package/dist/src/components/ui/drawer/drawer-footer.d.ts +0 -10
- package/dist/src/components/ui/drawer/drawer-header.d.ts +0 -9
- package/dist/src/components/ui/drawer/drawer-overlay.d.ts +0 -6
- package/dist/src/components/ui/drawer/drawer-title.d.ts +0 -10
- package/dist/src/components/ui/drawer/drawer-trigger.d.ts +0 -12
- package/dist/src/components/ui/drawer/drawer.d.ts +0 -41
- package/dist/src/components/ui/drawer/drawer.helpers.d.ts +0 -2
- package/dist/src/components/ui/drawer/drawer.stories.d.ts +0 -5
- package/dist/src/components/ui/drawer/drawer.styles.d.ts +0 -14
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -18
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -14
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -12
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -18
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -17
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -9
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -9
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -6
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -41
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +0 -3
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +0 -20
- package/dist/src/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -7
- package/dist/src/components/ui/form/form-context.d.ts +0 -5
- package/dist/src/components/ui/form/form-controller.d.ts +0 -28
- package/dist/src/components/ui/form/form-field-context.d.ts +0 -3
- package/dist/src/components/ui/form/form-item-context.d.ts +0 -7
- package/dist/src/components/ui/form/form.stories.d.ts +0 -6
- package/dist/src/components/ui/form/form.styles.d.ts +0 -7
- package/dist/src/components/ui/form/rtg-form-controller.d.ts +0 -17
- package/dist/src/components/ui/form/rtg-form-description.d.ts +0 -14
- package/dist/src/components/ui/form/rtg-form-field.d.ts +0 -20
- package/dist/src/components/ui/form/rtg-form-item.d.ts +0 -17
- package/dist/src/components/ui/form/rtg-form-label.d.ts +0 -20
- package/dist/src/components/ui/form/rtg-form-message.d.ts +0 -18
- package/dist/src/components/ui/form/rtg-form.d.ts +0 -24
- package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +0 -16
- package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +0 -10
- package/dist/src/components/ui/hoverCard/hover-card.d.ts +0 -29
- package/dist/src/components/ui/hoverCard/hover-card.stories.d.ts +0 -5
- package/dist/src/components/ui/hoverCard/hover-card.styles.d.ts +0 -5
- package/dist/src/components/ui/index.d.ts +0 -41
- package/dist/src/components/ui/input/_input.d.ts +0 -164
- package/dist/src/components/ui/input/input.d.ts +0 -12
- package/dist/src/components/ui/input/input.defs.d.ts +0 -28
- package/dist/src/components/ui/input/input.stories.d.ts +0 -17
- package/dist/src/components/ui/input-otp/_input-otp-group.d.ts +0 -26
- package/dist/src/components/ui/input-otp/_input-otp-separator.d.ts +0 -16
- package/dist/src/components/ui/input-otp/_input-otp-slot.d.ts +0 -35
- package/dist/src/components/ui/input-otp/_input-otp.d.ts +0 -213
- package/dist/src/components/ui/input-otp/input-otp.d.ts +0 -17
- package/dist/src/components/ui/input-otp/input-otp.defs.d.ts +0 -28
- package/dist/src/components/ui/input-otp/input-otp.stories.d.ts +0 -13
- package/dist/src/components/ui/label/_label.d.ts +0 -27
- package/dist/src/components/ui/label/label.d.ts +0 -11
- package/dist/src/components/ui/label/label.defs.d.ts +0 -3
- package/dist/src/components/ui/label/label.stories.d.ts +0 -11
- package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +0 -20
- package/dist/src/components/ui/menubar/menubar-content.d.ts +0 -20
- package/dist/src/components/ui/menubar/menubar-group.d.ts +0 -15
- package/dist/src/components/ui/menubar/menubar-item.d.ts +0 -18
- package/dist/src/components/ui/menubar/menubar-menu.d.ts +0 -31
- package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +0 -20
- package/dist/src/components/ui/menubar/menubar-separator.d.ts +0 -14
- package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +0 -10
- package/dist/src/components/ui/menubar/menubar-trigger.d.ts +0 -10
- package/dist/src/components/ui/menubar/menubar.d.ts +0 -34
- package/dist/src/components/ui/menubar/menubar.helpers.d.ts +0 -3
- package/dist/src/components/ui/menubar/menubar.stories.d.ts +0 -5
- package/dist/src/components/ui/menubar/menubar.styles.d.ts +0 -21
- package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -20
- package/dist/src/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -24
- package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -10
- package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -9
- package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -10
- package/dist/src/components/ui/navigation-menu/navigation-menu.d.ts +0 -25
- package/dist/src/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -5
- package/dist/src/components/ui/navigation-menu/navigation-menu.styles.d.ts +0 -9
- package/dist/src/components/ui/pagination/pagination-content.d.ts +0 -9
- package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +0 -9
- package/dist/src/components/ui/pagination/pagination-item.d.ts +0 -15
- package/dist/src/components/ui/pagination/pagination-link.d.ts +0 -15
- package/dist/src/components/ui/pagination/pagination-next.d.ts +0 -10
- package/dist/src/components/ui/pagination/pagination-previous.d.ts +0 -10
- package/dist/src/components/ui/pagination/pagination.d.ts +0 -27
- package/dist/src/components/ui/pagination/pagination.stories.d.ts +0 -5
- package/dist/src/components/ui/pagination/pagination.styles.d.ts +0 -22
- package/dist/src/components/ui/pagination/pagination.type.d.ts +0 -2
- package/dist/src/components/ui/popover/popover-content.d.ts +0 -19
- package/dist/src/components/ui/popover/popover-trigger.d.ts +0 -13
- package/dist/src/components/ui/popover/popover.d.ts +0 -22
- package/dist/src/components/ui/popover/popover.stories.d.ts +0 -5
- package/dist/src/components/ui/popover/popover.style.d.ts +0 -5
- package/dist/src/components/ui/popover/popover.types.d.ts +0 -2
- package/dist/src/components/ui/progress/progress.d.ts +0 -12
- package/dist/src/components/ui/progress/progress.stories.d.ts +0 -5
- package/dist/src/components/ui/progress/progress.styles.d.ts +0 -4
- package/dist/src/components/ui/radio-group/radio-group-item.d.ts +0 -22
- package/dist/src/components/ui/radio-group/radio-group.d.ts +0 -20
- package/dist/src/components/ui/radio-group/radio-group.stories.d.ts +0 -5
- package/dist/src/components/ui/radio-group/radio-group.styles.d.ts +0 -9
- package/dist/src/components/ui/radio-group/radio-group.types.d.ts +0 -2
- package/dist/src/components/ui/sample-demo/sample-demo.d.ts +0 -24
- package/dist/src/components/ui/sample-demo/sample.style.d.ts +0 -4
- package/dist/src/components/ui/sample-demo/sample.type.d.ts +0 -3
- package/dist/src/components/ui/scroll-area/scroll-area.d.ts +0 -13
- package/dist/src/components/ui/scroll-area/scroll-area.stories.d.ts +0 -5
- package/dist/src/components/ui/scroll-area/scroll-area.style.d.ts +0 -1
- package/dist/src/components/ui/select/select-controller.d.ts +0 -16
- package/dist/src/components/ui/select/select-group.d.ts +0 -26
- package/dist/src/components/ui/select/select-item.d.ts +0 -27
- package/dist/src/components/ui/select/select-label.d.ts +0 -14
- package/dist/src/components/ui/select/select-list.d.ts +0 -11
- package/dist/src/components/ui/select/select-seperator.d.ts +0 -9
- package/dist/src/components/ui/select/select-trigger.d.ts +0 -25
- package/dist/src/components/ui/select/select-value.d.ts +0 -21
- package/dist/src/components/ui/select/select.d.ts +0 -26
- package/dist/src/components/ui/select/select.stories.d.ts +0 -5
- package/dist/src/components/ui/select/select.styles.d.ts +0 -20
- package/dist/src/components/ui/separator/_separator.d.ts +0 -22
- package/dist/src/components/ui/separator/separator.d.ts +0 -11
- package/dist/src/components/ui/separator/separator.defs.d.ts +0 -5
- package/dist/src/components/ui/separator/separator.stories.d.ts +0 -10
- package/dist/src/components/ui/skeleton/skeleton.d.ts +0 -11
- package/dist/src/components/ui/skeleton/skeleton.stories.d.ts +0 -5
- package/dist/src/components/ui/skeleton/skeleton.style.d.ts +0 -1
- package/dist/src/components/ui/switch/switch.d.ts +0 -14
- package/dist/src/components/ui/switch/switch.stories.d.ts +0 -5
- package/dist/src/components/ui/switch/switch.style.d.ts +0 -4
- package/dist/src/components/ui/switch/switch.type.d.ts +0 -4
- package/dist/src/components/ui/table/table.d.ts +0 -18
- package/dist/src/components/ui/table/table.stories.d.ts +0 -5
- package/dist/src/components/ui/table/table.styles.d.ts +0 -39
- package/dist/src/components/ui/tabs/_tabs-content.d.ts +0 -30
- package/dist/src/components/ui/tabs/_tabs-list.d.ts +0 -30
- package/dist/src/components/ui/tabs/_tabs-trigger.d.ts +0 -47
- package/dist/src/components/ui/tabs/_tabs.d.ts +0 -99
- package/dist/src/components/ui/tabs/tabs.d.ts +0 -18
- package/dist/src/components/ui/tabs/tabs.defs.d.ts +0 -22
- package/dist/src/components/ui/tabs/tabs.helpers.d.ts +0 -24
- package/dist/src/components/ui/tabs/tabs.stories.d.ts +0 -13
- package/dist/src/components/ui/textarea/textarea.d.ts +0 -22
- package/dist/src/components/ui/textarea/textarea.stories.d.ts +0 -5
- package/dist/src/components/ui/textarea/textarea.styles.d.ts +0 -1
- package/dist/src/components/ui/textarea/textarea.type.d.ts +0 -11
- package/dist/src/components/ui/toast/toast-action.d.ts +0 -27
- package/dist/src/components/ui/toast/toast-description.d.ts +0 -14
- package/dist/src/components/ui/toast/toast-title.d.ts +0 -14
- package/dist/src/components/ui/toast/toast-trigger.d.ts +0 -18
- package/dist/src/components/ui/toast/toast-view-port.d.ts +0 -24
- package/dist/src/components/ui/toast/toast.d.ts +0 -25
- package/dist/src/components/ui/toast/toast.stories.d.ts +0 -10
- package/dist/src/components/ui/toast/toast.style.d.ts +0 -19
- package/dist/src/components/ui/toast/toast.type.d.ts +0 -1
- package/dist/src/components/ui/toggle/toggle.d.ts +0 -29
- package/dist/src/components/ui/toggle/toggle.defs.d.ts +0 -27
- package/dist/src/components/ui/toggle/toggle.stories.d.ts +0 -6
- package/dist/src/components/ui/toggle/toggle.style.d.ts +0 -4
- package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +0 -43
- package/dist/src/components/ui/toggle-group/toggle-group.d.ts +0 -25
- package/dist/src/components/ui/toggle-group/toggle-group.defs.d.ts +0 -37
- package/dist/src/components/ui/toggle-group/toggle-group.stories.d.ts +0 -5
- package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +0 -5
- package/dist/src/components/widgets/index.d.ts +0 -1
- package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +0 -16
- package/dist/src/helpers/base-element.d.ts +0 -21
- package/dist/src/helpers/country-codes.d.ts +0 -5
- package/dist/src/helpers/genrate-uuid.helper.d.ts +0 -1
- package/dist/src/helpers/index.d.ts +0 -7
- package/dist/src/helpers/mouse-conroller.helper.d.ts +0 -15
- package/dist/src/helpers/shadow-wrapper.d.ts +0 -8
- package/dist/src/helpers/style.helpers.d.ts +0 -3
- package/dist/src/helpers/widget-controller.d.ts +0 -13
- package/dist/src/index.d.ts +0 -2
- package/dist/src/interfaces/actionable.interface.d.ts +0 -6
- package/dist/src/interfaces/atomic.interface.d.ts +0 -6
- package/dist/src/interfaces/changeable.interface.d.ts +0 -8
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +0 -5
- package/dist/src/interfaces/index.d.ts +0 -6
- package/dist/src/interfaces/intractable.interface.d.ts +0 -6
- package/dist/src/interfaces/variant.interface.d.ts +0 -3
- package/dist/src/lib/index.d.ts +0 -0
- package/dist/src/lib/react/react.lib.d.ts +0 -5
- package/dist/src/styles/index.d.ts +0 -1
- package/dist/src/styles/tw.styles.d.ts +0 -1
- package/dist/src/tokens/tailwind/animation.d.ts +0 -7
- package/dist/src/tokens/tailwind/basis.d.ts +0 -5
- package/dist/src/tokens/tailwind/border-radius.d.ts +0 -52
- package/dist/src/tokens/tailwind/border-width.d.ts +0 -28
- package/dist/src/tokens/tailwind/box-shadow.d.ts +0 -17
- package/dist/src/tokens/tailwind/color.d.ts +0 -261
- package/dist/src/tokens/tailwind/font-size.d.ts +0 -98
- package/dist/src/tokens/tailwind/font-weight.d.ts +0 -28
- package/dist/src/tokens/tailwind/index.d.ts +0 -912
- package/dist/src/tokens/tailwind/keyframes.d.ts +0 -41
- package/dist/src/tokens/tailwind/opacity.d.ts +0 -34
- package/dist/src/tokens/tailwind/ring-offset-width.d.ts +0 -7
- package/dist/src/tokens/tailwind/ring-width.d.ts +0 -19
- package/dist/src/tokens/tailwind/spacing.d.ts +0 -299
- package/dist/src/tokens/tailwind/transition-duration.d.ts +0 -5
- package/dist/src/tokens/tailwind/transition-timing-function.d.ts +0 -4
- package/dist/src/tokens/tailwind/translate.d.ts +0 -5
- package/dist/src/wc-ui-app.d.ts +0 -7
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Tabs } from './_tabs';
|
|
2
|
-
import { TabsList } from './_tabs-list';
|
|
3
|
-
import { TabsTrigger } from './_tabs-trigger';
|
|
4
|
-
import { TabsContent } from './_tabs-content';
|
|
5
|
-
|
|
6
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
7
|
-
/**
|
|
8
|
-
* A set of layered sections of content—known as tab panels—that are displayed
|
|
9
|
-
* one at a time.
|
|
10
|
-
*/
|
|
11
|
-
declare global {
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
'rtg-tabs': Tabs;
|
|
14
|
-
'rtg-tabs-list': TabsList;
|
|
15
|
-
'rtg-tabs-trigger': TabsTrigger;
|
|
16
|
-
'rtg-tabs-content': TabsContent;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export type TabsOrientation = 'horizontal' | 'vertical';
|
|
2
|
-
export type TabsDir = 'ltr' | 'rtl';
|
|
3
|
-
export type TabsActivationMode = 'automatic' | 'manual';
|
|
4
|
-
export interface TabsProps {
|
|
5
|
-
defaultValue?: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
onValueChange?: (value: string) => void;
|
|
8
|
-
orientation: TabsOrientation;
|
|
9
|
-
dir: TabsDir;
|
|
10
|
-
activationMode: TabsActivationMode;
|
|
11
|
-
}
|
|
12
|
-
export type TabsListVariant = 'default' | 'line';
|
|
13
|
-
export interface TabsListProps {
|
|
14
|
-
variant: TabsListVariant;
|
|
15
|
-
}
|
|
16
|
-
export interface TabsTriggerProps {
|
|
17
|
-
value: string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface TabsContentProps {
|
|
21
|
-
value: string;
|
|
22
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generates a unique ID for Tabs to use as its baseId value.
|
|
3
|
-
* The ID is prefixed with 'rtg-', and consists of a time component as well as a
|
|
4
|
-
* random component.
|
|
5
|
-
*
|
|
6
|
-
* @returns A unique, ~13 char ID for a Tabs baseId value.
|
|
7
|
-
*/
|
|
8
|
-
export declare function generateId(): string;
|
|
9
|
-
/**
|
|
10
|
-
* Constructs a unique ID for a TabsTrigger slot element.
|
|
11
|
-
*
|
|
12
|
-
* @param baseId The ID of the TabsTrigger's Tabs parent.
|
|
13
|
-
* @param value The value of the TabsTrigger.
|
|
14
|
-
* @returns The ID of the TabsTrigger's slot.
|
|
15
|
-
*/
|
|
16
|
-
export declare function makeTriggerId(baseId: string, value: string): string;
|
|
17
|
-
/**
|
|
18
|
-
* Constructs a unique ID for a TabsContent slot element.
|
|
19
|
-
*
|
|
20
|
-
* @param baseId The ID of the TabsContent's Tabs parent.
|
|
21
|
-
* @param value The value of the TabsContent.
|
|
22
|
-
* @returns The ID of the TabsContent's slot.
|
|
23
|
-
*/
|
|
24
|
-
export declare function makeContentId(baseId: string, value: string): string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
|
|
3
|
-
declare const meta: Meta;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj;
|
|
6
|
-
export declare const Demo: Story;
|
|
7
|
-
export declare const Basic: Story;
|
|
8
|
-
export declare const Line: Story;
|
|
9
|
-
export declare const Vertical: Story;
|
|
10
|
-
export declare const Disabled: Story;
|
|
11
|
-
export declare const Icons: Story;
|
|
12
|
-
export declare const IconOnly: Story;
|
|
13
|
-
export declare const WithContent: Story;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { BaseElement } from '../../../helpers';
|
|
3
|
-
|
|
4
|
-
export declare class TextArea extends BaseElement {
|
|
5
|
-
constructor();
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
defaultValue: string;
|
|
9
|
-
rows: number;
|
|
10
|
-
cols: number;
|
|
11
|
-
value: string;
|
|
12
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
13
|
-
handleInputChange(event: Event): void;
|
|
14
|
-
protected getAttributesToExclude(): string[];
|
|
15
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
16
|
-
render(): import('lit').TemplateResult<1>;
|
|
17
|
-
}
|
|
18
|
-
declare global {
|
|
19
|
-
interface HTMLElementTagNameMap {
|
|
20
|
-
'rtg-textarea': TextArea;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textAreaStyles: string[];
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { BaseElement } from '../../../helpers';
|
|
3
|
-
|
|
4
|
-
import * as toastType from './toast.type';
|
|
5
|
-
export declare class ToastAction extends BaseElement {
|
|
6
|
-
static toastVariants: {
|
|
7
|
-
base: string[];
|
|
8
|
-
variants: {
|
|
9
|
-
default: string[];
|
|
10
|
-
destructive: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
get _containerElement(): HTMLButtonElement | null;
|
|
14
|
-
variant: toastType.ToastVariant;
|
|
15
|
-
getAttributesToExclude(): string[];
|
|
16
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
17
|
-
protected getFilteredAttributes(): {
|
|
18
|
-
[key: string]: string;
|
|
19
|
-
};
|
|
20
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
21
|
-
render(): import('lit').TemplateResult<1>;
|
|
22
|
-
}
|
|
23
|
-
declare global {
|
|
24
|
-
interface HTMLElementTagNameMap {
|
|
25
|
-
'rtg-toast-action': ToastAction;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { BaseElement } from '../../../helpers';
|
|
3
|
-
|
|
4
|
-
export declare class ToastDescription extends BaseElement {
|
|
5
|
-
get _containerElement(): HTMLDivElement | null;
|
|
6
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
7
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
-
render(): import('lit').TemplateResult<1>;
|
|
9
|
-
}
|
|
10
|
-
declare global {
|
|
11
|
-
interface HTMLElementTagNameMap {
|
|
12
|
-
'rtg-toast-description': ToastDescription;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { BaseElement } from '../../../helpers';
|
|
3
|
-
|
|
4
|
-
export declare class ToastTitle extends BaseElement {
|
|
5
|
-
get _containerElement(): HTMLDivElement | null;
|
|
6
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
7
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
-
render(): import('lit').TemplateResult<1>;
|
|
9
|
-
}
|
|
10
|
-
declare global {
|
|
11
|
-
interface HTMLElementTagNameMap {
|
|
12
|
-
'rtg-toast-title': ToastTitle;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { BaseElement } from '../../../helpers';
|
|
3
|
-
import { Toast } from './toast';
|
|
4
|
-
|
|
5
|
-
export declare class ToastTrigger extends BaseElement {
|
|
6
|
-
constructor();
|
|
7
|
-
get _containerElement(): HTMLDivElement | null;
|
|
8
|
-
get _toast(): Toast;
|
|
9
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
10
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
11
|
-
handleClick(e: Event): void;
|
|
12
|
-
render(): import('lit').TemplateResult<1>;
|
|
13
|
-
}
|
|
14
|
-
declare global {
|
|
15
|
-
interface HTMLElementTagNameMap {
|
|
16
|
-
'rtg-toast-trigger': ToastTrigger;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { BaseElement } from '../../../helpers';
|
|
3
|
-
|
|
4
|
-
import * as toastType from './toast.type';
|
|
5
|
-
export declare class ToastViewPort extends BaseElement {
|
|
6
|
-
static toastVariants: {
|
|
7
|
-
base: string[];
|
|
8
|
-
variants: {
|
|
9
|
-
default: string[];
|
|
10
|
-
destructive: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
get _containerElement(): HTMLLIElement | null;
|
|
14
|
-
variant: toastType.ToastVariant;
|
|
15
|
-
state: string;
|
|
16
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
17
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
18
|
-
render(): import('lit').TemplateResult<1>;
|
|
19
|
-
}
|
|
20
|
-
declare global {
|
|
21
|
-
interface HTMLElementTagNameMap {
|
|
22
|
-
'rtg-toast-view-port': ToastViewPort;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { ToastViewPort } from './toast-view-port';
|
|
3
|
-
import { BaseElement } from '../../../helpers';
|
|
4
|
-
import { ToastAction } from './toast-action';
|
|
5
|
-
import { ToastDescription } from './toast-description';
|
|
6
|
-
import { ToastTitle } from './toast-title';
|
|
7
|
-
import { ToastTrigger } from './toast-trigger';
|
|
8
|
-
|
|
9
|
-
declare class Toast extends BaseElement {
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
get _containerElement(): HTMLDivElement | null;
|
|
12
|
-
onClick(): void;
|
|
13
|
-
connectedCallback(): void;
|
|
14
|
-
private get _content();
|
|
15
|
-
protected updated(_changedProperties: PropertyValues): void;
|
|
16
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
17
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
18
|
-
render(): import('lit').TemplateResult<1>;
|
|
19
|
-
}
|
|
20
|
-
export { Toast, ToastAction, ToastDescription, ToastTitle, ToastTrigger, ToastViewPort, };
|
|
21
|
-
declare global {
|
|
22
|
-
interface HTMLElementTagNameMap {
|
|
23
|
-
'rtg-toast': Toast;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryFn } from '@storybook/web-components-vite';
|
|
2
|
-
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
/** ===== Toast With Action Variants ===== **/
|
|
6
|
-
export declare const ToastWithActionDefault: StoryFn;
|
|
7
|
-
export declare const ToastWithActionDestructive: StoryFn;
|
|
8
|
-
/** ===== Toast Without Action Variants ===== **/
|
|
9
|
-
export declare const ToastWithoutActionDefault: StoryFn;
|
|
10
|
-
export declare const ToastWithoutActionDestructive: StoryFn;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const toastStyles: {
|
|
2
|
-
viewportRoot: string[];
|
|
3
|
-
viewportItem: {
|
|
4
|
-
base: string[];
|
|
5
|
-
variants: {
|
|
6
|
-
default: string[];
|
|
7
|
-
destructive: string[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
action: {
|
|
11
|
-
base: string[];
|
|
12
|
-
variants: {
|
|
13
|
-
default: string[];
|
|
14
|
-
destructive: string[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
title: string[];
|
|
18
|
-
description: string[];
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ToastVariant = 'default' | 'destructive';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit-element';
|
|
2
|
-
import { TOGGLE_SIZE, TOGGLE_VARIANT } from './toggle.defs';
|
|
3
|
-
import { BaseElement } from '../../../helpers';
|
|
4
|
-
|
|
5
|
-
export { TOGGLE_SIZE, TOGGLE_VARIANT };
|
|
6
|
-
declare class Toggle extends BaseElement {
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
checked: boolean;
|
|
9
|
-
required: boolean;
|
|
10
|
-
variant: TOGGLE_VARIANT;
|
|
11
|
-
size: TOGGLE_SIZE;
|
|
12
|
-
protected willUpdate(changed: Map<string, unknown>): void;
|
|
13
|
-
get _containerElement(): HTMLButtonElement | null;
|
|
14
|
-
static toggleVariants: (props?: ({
|
|
15
|
-
variant?: "default" | "outline" | null | undefined;
|
|
16
|
-
size?: "sm" | "lg" | "md" | null | undefined;
|
|
17
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
18
|
-
protected getAttributesToExclude(): string[];
|
|
19
|
-
toggle(): void;
|
|
20
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
21
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
22
|
-
render(): import('lit-element').TemplateResult<1>;
|
|
23
|
-
}
|
|
24
|
-
export { Toggle };
|
|
25
|
-
declare global {
|
|
26
|
-
interface HTMLElementTagNameMap {
|
|
27
|
-
'rtg-toggle': Toggle;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
|
|
6
|
-
declare class ToggleGroupItem extends BaseElement {
|
|
7
|
-
checked: boolean;
|
|
8
|
-
id: string;
|
|
9
|
-
variant: TOGGLE_GROUP_VARIANT;
|
|
10
|
-
size: TOGGLE_GROUP_SIZE;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
type: TOGGLE_GROUP_TYPE;
|
|
13
|
-
get _parent(): ToggleGroup | null;
|
|
14
|
-
get _containerElement(): HTMLButtonElement | null;
|
|
15
|
-
get _siblings(): ToggleGroupItem[];
|
|
16
|
-
static toggleGroupVariants: (props?: ({
|
|
17
|
-
variant?: "default" | "outline" | null | undefined;
|
|
18
|
-
size?: "sm" | "lg" | "md" | null | undefined;
|
|
19
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
20
|
-
protected getAttributesToExclude(): string[];
|
|
21
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
22
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
23
|
-
/**
|
|
24
|
-
* IMPORTANT:
|
|
25
|
-
* - No reactive state is written inside updated()
|
|
26
|
-
* - This prevents infinite loops
|
|
27
|
-
*/
|
|
28
|
-
constructor();
|
|
29
|
-
private syncFromParent;
|
|
30
|
-
/**
|
|
31
|
-
* Called by parent when selection changes
|
|
32
|
-
* (or manually triggered via requestUpdate)
|
|
33
|
-
*/
|
|
34
|
-
syncSelection(): void;
|
|
35
|
-
toggleSelection(itemId: string): void;
|
|
36
|
-
render(): import('lit-element').TemplateResult<1>;
|
|
37
|
-
}
|
|
38
|
-
export { ToggleGroupItem };
|
|
39
|
-
declare global {
|
|
40
|
-
interface HTMLElementTagNameMap {
|
|
41
|
-
'rtg-toggle-group-item': ToggleGroupItem;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
|
|
5
|
-
declare class ToggleGroup extends BaseElement {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
type: TOGGLE_GROUP_TYPE;
|
|
8
|
-
required: boolean;
|
|
9
|
-
variant: TOGGLE_GROUP_VARIANT;
|
|
10
|
-
size: TOGGLE_GROUP_SIZE;
|
|
11
|
-
get _containerElement(): HTMLDivElement | null;
|
|
12
|
-
protected getAttributesToExclude(): string[];
|
|
13
|
-
selectedItems: string[];
|
|
14
|
-
connectedCallback(): void;
|
|
15
|
-
firstUpdated(changedProperties: Map<string, unknown>): void;
|
|
16
|
-
updated(changedProperties: PropertyValues): void;
|
|
17
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
18
|
-
render(): import('lit-element').TemplateResult<1>;
|
|
19
|
-
}
|
|
20
|
-
declare global {
|
|
21
|
-
interface HTMLElementTagNameMap {
|
|
22
|
-
'rtg-toggle-group': ToggleGroup;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export { ToggleGroup, TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE, };
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const toggleGroupStyle: (props?: ({
|
|
2
|
-
variant?: "default" | "outline" | null | undefined;
|
|
3
|
-
size?: "sm" | "lg" | "md" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
5
|
-
export declare const toggleGroupStyles = "rtg-flex rtg-items-center rtg-justify-center rtg-gap-toggle-group-space-gap";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './light-sample-demo/light-sample.demo';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseElement } from '../../../helpers';
|
|
2
|
-
|
|
3
|
-
export declare class LightSampleDemo extends BaseElement {
|
|
4
|
-
constructor();
|
|
5
|
-
private btnClass;
|
|
6
|
-
private inputValue;
|
|
7
|
-
protected getAttributesToExclude(): string[];
|
|
8
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
9
|
-
defaultValue: string;
|
|
10
|
-
render(): import('lit').TemplateResult<1>;
|
|
11
|
-
}
|
|
12
|
-
declare global {
|
|
13
|
-
interface HTMLElementTagNameMap {
|
|
14
|
-
'light-sample-demo': LightSampleDemo;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
|
|
3
|
-
export declare abstract class BaseElement extends LitElement {
|
|
4
|
-
customClass: string;
|
|
5
|
-
customStyle: string;
|
|
6
|
-
constructor();
|
|
7
|
-
protected getAttributesToExclude(): string[];
|
|
8
|
-
protected getAttributesToRemoveFromParent(): string[];
|
|
9
|
-
disconnectedCallback(): void;
|
|
10
|
-
protected removeParentAttributes(): void;
|
|
11
|
-
protected getFilteredAttributes(): {
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
};
|
|
14
|
-
protected isCustomPropertySet(property: string): boolean;
|
|
15
|
-
protected applyCustomClass(variables: string[], selector: string, className?: string): void;
|
|
16
|
-
protected removeDuplicateContent(): void;
|
|
17
|
-
protected moveLightDomChildrenInto(target: HTMLElement, specificNodes?: Node[]): void;
|
|
18
|
-
protected normalizeEnum<T extends Record<string, string>>(value: unknown, enumObj: T, fallback: T[keyof T]): T[keyof T];
|
|
19
|
-
private mutationObserver?;
|
|
20
|
-
protected observeStyleAndClassSync(target: HTMLElement): void;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateUUID(): string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactiveControllerHost } from 'lit';
|
|
2
|
-
|
|
3
|
-
export declare class MouseController {
|
|
4
|
-
private host;
|
|
5
|
-
pos: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
};
|
|
9
|
-
_onMouseMove: ({ clientX, clientY }: MouseEvent) => void;
|
|
10
|
-
_onClick: (e: MouseEvent) => void;
|
|
11
|
-
_onScroll: (e: Event) => void;
|
|
12
|
-
constructor(host: ReactiveControllerHost);
|
|
13
|
-
hostConnected(): void;
|
|
14
|
-
hostDisconnected(): void;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
|
|
3
|
-
export declare class WidgetController {
|
|
4
|
-
protected values: Record<string, string>;
|
|
5
|
-
protected errors: Record<string, string>;
|
|
6
|
-
protected host: LitElement;
|
|
7
|
-
constructor(host: LitElement);
|
|
8
|
-
getValues(): Record<string, string>;
|
|
9
|
-
getErrors(): Record<string, string>;
|
|
10
|
-
protected updateState(values: Record<string, string>, errors: Record<string, string>): void;
|
|
11
|
-
handleValueChange(id: string, value: string, error?: string): void;
|
|
12
|
-
protected dispatchStateUpdate(): void;
|
|
13
|
-
}
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IntractableProps } from './intractable.interface';
|
|
3
|
-
|
|
4
|
-
export type ChangeableProps<T = React.ChangeEvent<HTMLInputElement> | string | number, K = unknown> = Partial<IntractableProps & {
|
|
5
|
-
onChange: (event?: T, value?: K) => void;
|
|
6
|
-
onBlur: (event?: T) => void;
|
|
7
|
-
onPaste: (event?: T) => void;
|
|
8
|
-
}>;
|