@pallasoft/ps-internal-components 1.0.0
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/LICENSE +32 -0
- package/README.md +21 -0
- package/dist/components/ps-alert-description.d.ts +3 -0
- package/dist/components/ps-alert-description.js +5 -0
- package/dist/components/ps-alert-dialog-action.d.ts +3 -0
- package/dist/components/ps-alert-dialog-action.js +8 -0
- package/dist/components/ps-alert-dialog-cancel.d.ts +3 -0
- package/dist/components/ps-alert-dialog-cancel.js +8 -0
- package/dist/components/ps-alert-dialog-content.d.ts +3 -0
- package/dist/components/ps-alert-dialog-content.js +9 -0
- package/dist/components/ps-alert-dialog-description.d.ts +3 -0
- package/dist/components/ps-alert-dialog-description.js +7 -0
- package/dist/components/ps-alert-dialog-footer.d.ts +5 -0
- package/dist/components/ps-alert-dialog-footer.js +5 -0
- package/dist/components/ps-alert-dialog-header.d.ts +5 -0
- package/dist/components/ps-alert-dialog-header.js +5 -0
- package/dist/components/ps-alert-dialog-overlay.d.ts +3 -0
- package/dist/components/ps-alert-dialog-overlay.js +7 -0
- package/dist/components/ps-alert-dialog-portal.d.ts +2 -0
- package/dist/components/ps-alert-dialog-portal.js +3 -0
- package/dist/components/ps-alert-dialog-title.d.ts +3 -0
- package/dist/components/ps-alert-dialog-title.js +7 -0
- package/dist/components/ps-alert-dialog-trigger.d.ts +2 -0
- package/dist/components/ps-alert-dialog-trigger.js +3 -0
- package/dist/components/ps-alert-dialog.d.ts +2 -0
- package/dist/components/ps-alert-dialog.js +3 -0
- package/dist/components/ps-alert-title.d.ts +3 -0
- package/dist/components/ps-alert-title.js +5 -0
- package/dist/components/ps-alert.d.ts +3 -0
- package/dist/components/ps-alert.js +6 -0
- package/dist/components/ps-app-header.d.ts +3 -0
- package/dist/components/ps-app-header.js +22 -0
- package/dist/components/ps-app-switcher-section.d.ts +2 -0
- package/dist/components/ps-app-switcher-section.js +3 -0
- package/dist/components/ps-app-switcher-tile.d.ts +3 -0
- package/dist/components/ps-app-switcher-tile.js +11 -0
- package/dist/components/ps-app-switcher.d.ts +3 -0
- package/dist/components/ps-app-switcher.js +16 -0
- package/dist/components/ps-avatar-fallback.d.ts +3 -0
- package/dist/components/ps-avatar-fallback.js +6 -0
- package/dist/components/ps-avatar-image.d.ts +3 -0
- package/dist/components/ps-avatar-image.js +6 -0
- package/dist/components/ps-avatar.d.ts +3 -0
- package/dist/components/ps-avatar.js +7 -0
- package/dist/components/ps-badge.d.ts +2 -0
- package/dist/components/ps-badge.js +9 -0
- package/dist/components/ps-breadcrumb-ellipsis.d.ts +5 -0
- package/dist/components/ps-breadcrumb-ellipsis.js +5 -0
- package/dist/components/ps-breadcrumb-item.d.ts +3 -0
- package/dist/components/ps-breadcrumb-item.js +5 -0
- package/dist/components/ps-breadcrumb-link.d.ts +3 -0
- package/dist/components/ps-breadcrumb-link.js +9 -0
- package/dist/components/ps-breadcrumb-list.d.ts +3 -0
- package/dist/components/ps-breadcrumb-list.js +5 -0
- package/dist/components/ps-breadcrumb-page.d.ts +3 -0
- package/dist/components/ps-breadcrumb-page.js +5 -0
- package/dist/components/ps-breadcrumb-separator.d.ts +5 -0
- package/dist/components/ps-breadcrumb-separator.js +5 -0
- package/dist/components/ps-breadcrumb.d.ts +3 -0
- package/dist/components/ps-breadcrumb.js +4 -0
- package/dist/components/ps-button.d.ts +3 -0
- package/dist/components/ps-button.js +10 -0
- package/dist/components/ps-calendar.d.ts +3 -0
- package/dist/components/ps-calendar.js +39 -0
- package/dist/components/ps-card-content.d.ts +3 -0
- package/dist/components/ps-card-content.js +5 -0
- package/dist/components/ps-card-description.d.ts +3 -0
- package/dist/components/ps-card-description.js +5 -0
- package/dist/components/ps-card-footer.d.ts +3 -0
- package/dist/components/ps-card-footer.js +5 -0
- package/dist/components/ps-card-header.d.ts +3 -0
- package/dist/components/ps-card-header.js +5 -0
- package/dist/components/ps-card-title.d.ts +3 -0
- package/dist/components/ps-card-title.js +5 -0
- package/dist/components/ps-card.d.ts +3 -0
- package/dist/components/ps-card.js +6 -0
- package/dist/components/ps-chart-container.d.ts +3 -0
- package/dist/components/ps-chart-container.js +13 -0
- package/dist/components/ps-chart-legend-content.d.ts +2 -0
- package/dist/components/ps-chart-legend-content.js +15 -0
- package/dist/components/ps-chart-legend.d.ts +2 -0
- package/dist/components/ps-chart-legend.js +2 -0
- package/dist/components/ps-chart-primitives.d.ts +678 -0
- package/dist/components/ps-chart-primitives.js +14 -0
- package/dist/components/ps-chart-style.d.ts +2 -0
- package/dist/components/ps-chart-style.js +8 -0
- package/dist/components/ps-chart-tooltip-content.d.ts +3 -0
- package/dist/components/ps-chart-tooltip-content.js +45 -0
- package/dist/components/ps-chart-tooltip.d.ts +2 -0
- package/dist/components/ps-chart-tooltip.js +2 -0
- package/dist/components/ps-checkbox.d.ts +3 -0
- package/dist/components/ps-checkbox.js +7 -0
- package/dist/components/ps-combobox.d.ts +3 -0
- package/dist/components/ps-combobox.js +23 -0
- package/dist/components/ps-command-dialog.d.ts +2 -0
- package/dist/components/ps-command-dialog.js +8 -0
- package/dist/components/ps-command-empty.d.ts +3 -0
- package/dist/components/ps-command-empty.js +6 -0
- package/dist/components/ps-command-group.d.ts +3 -0
- package/dist/components/ps-command-group.js +7 -0
- package/dist/components/ps-command-input.d.ts +3 -0
- package/dist/components/ps-command-input.js +8 -0
- package/dist/components/ps-command-item.d.ts +3 -0
- package/dist/components/ps-command-item.js +7 -0
- package/dist/components/ps-command-list.d.ts +3 -0
- package/dist/components/ps-command-list.js +7 -0
- package/dist/components/ps-command-separator.d.ts +3 -0
- package/dist/components/ps-command-separator.js +7 -0
- package/dist/components/ps-command-shortcut.d.ts +5 -0
- package/dist/components/ps-command-shortcut.js +7 -0
- package/dist/components/ps-command.d.ts +3 -0
- package/dist/components/ps-command.js +7 -0
- package/dist/components/ps-date-picker.d.ts +3 -0
- package/dist/components/ps-date-picker.js +24 -0
- package/dist/components/ps-dialog-close.d.ts +2 -0
- package/dist/components/ps-dialog-close.js +3 -0
- package/dist/components/ps-dialog-content.d.ts +3 -0
- package/dist/components/ps-dialog-content.js +10 -0
- package/dist/components/ps-dialog-description.d.ts +3 -0
- package/dist/components/ps-dialog-description.js +7 -0
- package/dist/components/ps-dialog-footer.d.ts +5 -0
- package/dist/components/ps-dialog-footer.js +5 -0
- package/dist/components/ps-dialog-header.d.ts +5 -0
- package/dist/components/ps-dialog-header.js +5 -0
- package/dist/components/ps-dialog-overlay.d.ts +3 -0
- package/dist/components/ps-dialog-overlay.js +7 -0
- package/dist/components/ps-dialog-portal.d.ts +2 -0
- package/dist/components/ps-dialog-portal.js +3 -0
- package/dist/components/ps-dialog-title.d.ts +3 -0
- package/dist/components/ps-dialog-title.js +7 -0
- package/dist/components/ps-dialog-trigger.d.ts +2 -0
- package/dist/components/ps-dialog-trigger.js +3 -0
- package/dist/components/ps-dialog.d.ts +2 -0
- package/dist/components/ps-dialog.js +3 -0
- package/dist/components/ps-dropdown-menu-checkbox-item.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-checkbox-item.js +7 -0
- package/dist/components/ps-dropdown-menu-content.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-content.js +6 -0
- package/dist/components/ps-dropdown-menu-group.d.ts +2 -0
- package/dist/components/ps-dropdown-menu-group.js +2 -0
- package/dist/components/ps-dropdown-menu-item.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-item.js +6 -0
- package/dist/components/ps-dropdown-menu-label.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-label.js +6 -0
- package/dist/components/ps-dropdown-menu-portal.d.ts +2 -0
- package/dist/components/ps-dropdown-menu-portal.js +2 -0
- package/dist/components/ps-dropdown-menu-radio-group.d.ts +2 -0
- package/dist/components/ps-dropdown-menu-radio-group.js +2 -0
- package/dist/components/ps-dropdown-menu-radio-item.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-radio-item.js +7 -0
- package/dist/components/ps-dropdown-menu-separator.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-separator.js +6 -0
- package/dist/components/ps-dropdown-menu-shortcut.d.ts +5 -0
- package/dist/components/ps-dropdown-menu-shortcut.js +6 -0
- package/dist/components/ps-dropdown-menu-sub-content.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-sub-content.js +6 -0
- package/dist/components/ps-dropdown-menu-sub-trigger.d.ts +3 -0
- package/dist/components/ps-dropdown-menu-sub-trigger.js +7 -0
- package/dist/components/ps-dropdown-menu-sub.d.ts +2 -0
- package/dist/components/ps-dropdown-menu-sub.js +2 -0
- package/dist/components/ps-dropdown-menu-trigger.d.ts +2 -0
- package/dist/components/ps-dropdown-menu-trigger.js +2 -0
- package/dist/components/ps-dropdown-menu.d.ts +2 -0
- package/dist/components/ps-dropdown-menu.js +2 -0
- package/dist/components/ps-email-input.d.ts +3 -0
- package/dist/components/ps-email-input.js +12 -0
- package/dist/components/ps-empty-content.d.ts +3 -0
- package/dist/components/ps-empty-content.js +5 -0
- package/dist/components/ps-empty-description.d.ts +3 -0
- package/dist/components/ps-empty-description.js +5 -0
- package/dist/components/ps-empty-media.d.ts +3 -0
- package/dist/components/ps-empty-media.js +5 -0
- package/dist/components/ps-empty-panel.d.ts +3 -0
- package/dist/components/ps-empty-panel.js +5 -0
- package/dist/components/ps-empty-title.d.ts +3 -0
- package/dist/components/ps-empty-title.js +5 -0
- package/dist/components/ps-empty.d.ts +3 -0
- package/dist/components/ps-empty.js +5 -0
- package/dist/components/ps-field-content.d.ts +3 -0
- package/dist/components/ps-field-content.js +5 -0
- package/dist/components/ps-field-description.d.ts +3 -0
- package/dist/components/ps-field-description.js +5 -0
- package/dist/components/ps-field-error.d.ts +3 -0
- package/dist/components/ps-field-error.js +5 -0
- package/dist/components/ps-field-group.d.ts +3 -0
- package/dist/components/ps-field-group.js +5 -0
- package/dist/components/ps-field-label.d.ts +3 -0
- package/dist/components/ps-field-label.js +6 -0
- package/dist/components/ps-field.d.ts +3 -0
- package/dist/components/ps-field.js +8 -0
- package/dist/components/ps-file-picker.d.ts +3 -0
- package/dist/components/ps-file-picker.js +32 -0
- package/dist/components/ps-input-group.d.ts +2 -0
- package/dist/components/ps-input-group.js +3 -0
- package/dist/components/ps-input.d.ts +3 -0
- package/dist/components/ps-input.js +10 -0
- package/dist/components/ps-kbd.d.ts +3 -0
- package/dist/components/ps-kbd.js +5 -0
- package/dist/components/ps-label.d.ts +3 -0
- package/dist/components/ps-label.js +7 -0
- package/dist/components/ps-money-input.d.ts +3 -0
- package/dist/components/ps-money-input.js +27 -0
- package/dist/components/ps-navigation-progress.d.ts +3 -0
- package/dist/components/ps-navigation-progress.js +28 -0
- package/dist/components/ps-not-found.d.ts +2 -0
- package/dist/components/ps-not-found.js +4 -0
- package/dist/components/ps-option-select.d.ts +2 -0
- package/dist/components/ps-option-select.js +12 -0
- package/dist/components/ps-password-input.d.ts +3 -0
- package/dist/components/ps-password-input.js +14 -0
- package/dist/components/ps-percent-input.d.ts +3 -0
- package/dist/components/ps-percent-input.js +12 -0
- package/dist/components/ps-phone-input.d.ts +3 -0
- package/dist/components/ps-phone-input.js +40 -0
- package/dist/components/ps-popover-anchor.d.ts +2 -0
- package/dist/components/ps-popover-anchor.js +3 -0
- package/dist/components/ps-popover-content.d.ts +3 -0
- package/dist/components/ps-popover-content.js +7 -0
- package/dist/components/ps-popover-trigger.d.ts +2 -0
- package/dist/components/ps-popover-trigger.js +3 -0
- package/dist/components/ps-popover.d.ts +2 -0
- package/dist/components/ps-popover.js +3 -0
- package/dist/components/ps-progress.d.ts +3 -0
- package/dist/components/ps-progress.js +6 -0
- package/dist/components/ps-radio-group-item.d.ts +3 -0
- package/dist/components/ps-radio-group-item.js +10 -0
- package/dist/components/ps-radio-group.d.ts +3 -0
- package/dist/components/ps-radio-group.js +9 -0
- package/dist/components/ps-root-error.d.ts +2 -0
- package/dist/components/ps-root-error.js +4 -0
- package/dist/components/ps-scroll-area.d.ts +3 -0
- package/dist/components/ps-scroll-area.js +7 -0
- package/dist/components/ps-scroll-bar.d.ts +3 -0
- package/dist/components/ps-scroll-bar.js +6 -0
- package/dist/components/ps-select-content.d.ts +3 -0
- package/dist/components/ps-select-content.js +10 -0
- package/dist/components/ps-select-group.d.ts +2 -0
- package/dist/components/ps-select-group.js +2 -0
- package/dist/components/ps-select-item.d.ts +3 -0
- package/dist/components/ps-select-item.js +7 -0
- package/dist/components/ps-select-label.d.ts +3 -0
- package/dist/components/ps-select-label.js +6 -0
- package/dist/components/ps-select-scroll-down-button.d.ts +3 -0
- package/dist/components/ps-select-scroll-down-button.js +7 -0
- package/dist/components/ps-select-scroll-up-button.d.ts +3 -0
- package/dist/components/ps-select-scroll-up-button.js +7 -0
- package/dist/components/ps-select-separator.d.ts +3 -0
- package/dist/components/ps-select-separator.js +6 -0
- package/dist/components/ps-select-trigger.d.ts +3 -0
- package/dist/components/ps-select-trigger.js +8 -0
- package/dist/components/ps-select-value.d.ts +2 -0
- package/dist/components/ps-select-value.js +2 -0
- package/dist/components/ps-select.d.ts +2 -0
- package/dist/components/ps-select.js +2 -0
- package/dist/components/ps-separator.d.ts +3 -0
- package/dist/components/ps-separator.js +7 -0
- package/dist/components/ps-sheet-close.d.ts +2 -0
- package/dist/components/ps-sheet-close.js +2 -0
- package/dist/components/ps-sheet-content.d.ts +3 -0
- package/dist/components/ps-sheet-content.js +10 -0
- package/dist/components/ps-sheet-description.d.ts +3 -0
- package/dist/components/ps-sheet-description.js +6 -0
- package/dist/components/ps-sheet-footer.d.ts +5 -0
- package/dist/components/ps-sheet-footer.js +4 -0
- package/dist/components/ps-sheet-header.d.ts +5 -0
- package/dist/components/ps-sheet-header.js +4 -0
- package/dist/components/ps-sheet-overlay.d.ts +3 -0
- package/dist/components/ps-sheet-overlay.js +6 -0
- package/dist/components/ps-sheet-portal.d.ts +2 -0
- package/dist/components/ps-sheet-portal.js +2 -0
- package/dist/components/ps-sheet-title.d.ts +3 -0
- package/dist/components/ps-sheet-title.js +6 -0
- package/dist/components/ps-sheet-trigger.d.ts +2 -0
- package/dist/components/ps-sheet-trigger.js +2 -0
- package/dist/components/ps-sheet.d.ts +2 -0
- package/dist/components/ps-sheet.js +2 -0
- package/dist/components/ps-skeleton.d.ts +2 -0
- package/dist/components/ps-skeleton.js +5 -0
- package/dist/components/ps-spinner.d.ts +3 -0
- package/dist/components/ps-spinner.js +6 -0
- package/dist/components/ps-status-panel.d.ts +3 -0
- package/dist/components/ps-status-panel.js +5 -0
- package/dist/components/ps-switch.d.ts +3 -0
- package/dist/components/ps-switch.js +6 -0
- package/dist/components/ps-table-body.d.ts +3 -0
- package/dist/components/ps-table-body.js +5 -0
- package/dist/components/ps-table-caption.d.ts +3 -0
- package/dist/components/ps-table-caption.js +5 -0
- package/dist/components/ps-table-cell.d.ts +3 -0
- package/dist/components/ps-table-cell.js +5 -0
- package/dist/components/ps-table-footer.d.ts +3 -0
- package/dist/components/ps-table-footer.js +5 -0
- package/dist/components/ps-table-head.d.ts +3 -0
- package/dist/components/ps-table-head.js +5 -0
- package/dist/components/ps-table-header.d.ts +3 -0
- package/dist/components/ps-table-header.js +5 -0
- package/dist/components/ps-table-row.d.ts +3 -0
- package/dist/components/ps-table-row.js +5 -0
- package/dist/components/ps-table.d.ts +3 -0
- package/dist/components/ps-table.js +5 -0
- package/dist/components/ps-tabs-content.d.ts +3 -0
- package/dist/components/ps-tabs-content.js +6 -0
- package/dist/components/ps-tabs-list.d.ts +3 -0
- package/dist/components/ps-tabs-list.js +6 -0
- package/dist/components/ps-tabs-trigger.d.ts +3 -0
- package/dist/components/ps-tabs-trigger.js +6 -0
- package/dist/components/ps-tabs.d.ts +2 -0
- package/dist/components/ps-tabs.js +2 -0
- package/dist/components/ps-textarea.d.ts +3 -0
- package/dist/components/ps-textarea.js +7 -0
- package/dist/components/ps-toggle-group-item.d.ts +3 -0
- package/dist/components/ps-toggle-group-item.js +15 -0
- package/dist/components/ps-toggle-group.d.ts +4 -0
- package/dist/components/ps-toggle-group.js +8 -0
- package/dist/components/ps-toggle.d.ts +3 -0
- package/dist/components/ps-toggle.js +7 -0
- package/dist/components/ps-tooltip-content.d.ts +3 -0
- package/dist/components/ps-tooltip-content.js +6 -0
- package/dist/components/ps-tooltip-provider.d.ts +2 -0
- package/dist/components/ps-tooltip-provider.js +2 -0
- package/dist/components/ps-tooltip-trigger.d.ts +2 -0
- package/dist/components/ps-tooltip-trigger.js +2 -0
- package/dist/components/ps-tooltip.d.ts +2 -0
- package/dist/components/ps-tooltip.js +2 -0
- package/dist/components/ps-url-input.d.ts +3 -0
- package/dist/components/ps-url-input.js +22 -0
- package/dist/components/ps-workspace-badge.d.ts +2 -0
- package/dist/components/ps-workspace-badge.js +8 -0
- package/dist/components/ps-workspace-switcher.d.ts +3 -0
- package/dist/components/ps-workspace-switcher.js +18 -0
- package/dist/constants/pallasoft-font-size.d.ts +44 -0
- package/dist/constants/pallasoft-font-size.js +16 -0
- package/dist/constants/pallasoft-motion.d.ts +62 -0
- package/dist/constants/pallasoft-motion.js +62 -0
- package/dist/constants/pallasoft-screens.d.ts +8 -0
- package/dist/constants/pallasoft-screens.js +8 -0
- package/dist/constants/pallasoft-shared-scale.d.ts +17 -0
- package/dist/constants/pallasoft-shared-scale.js +9 -0
- package/dist/constants/ps-alert-variants.d.ts +3 -0
- package/dist/constants/ps-alert-variants.js +14 -0
- package/dist/constants/ps-app-category-labels.d.ts +2 -0
- package/dist/constants/ps-app-category-labels.js +8 -0
- package/dist/constants/ps-app-category.d.ts +7 -0
- package/dist/constants/ps-app-category.js +8 -0
- package/dist/constants/ps-app-key.d.ts +15 -0
- package/dist/constants/ps-app-key.js +16 -0
- package/dist/constants/ps-app-switcher-config.d.ts +11 -0
- package/dist/constants/ps-app-switcher-config.js +11 -0
- package/dist/constants/ps-badge-variants.d.ts +3 -0
- package/dist/constants/ps-badge-variants.js +16 -0
- package/dist/constants/ps-button-variants.d.ts +4 -0
- package/dist/constants/ps-button-variants.js +23 -0
- package/dist/constants/ps-chart-defaults.d.ts +7 -0
- package/dist/constants/ps-chart-defaults.js +7 -0
- package/dist/constants/ps-chart-themes.d.ts +4 -0
- package/dist/constants/ps-chart-themes.js +4 -0
- package/dist/constants/ps-date-picker-config.d.ts +6 -0
- package/dist/constants/ps-date-picker-config.js +6 -0
- package/dist/constants/ps-external-apps.d.ts +2 -0
- package/dist/constants/ps-external-apps.js +60 -0
- package/dist/constants/ps-field-input-config.d.ts +6 -0
- package/dist/constants/ps-field-input-config.js +6 -0
- package/dist/constants/ps-field-orientation.d.ts +4 -0
- package/dist/constants/ps-field-orientation.js +5 -0
- package/dist/constants/ps-file-picker-config.d.ts +5 -0
- package/dist/constants/ps-file-picker-config.js +5 -0
- package/dist/constants/ps-label-variants.d.ts +1 -0
- package/dist/constants/ps-label-variants.js +2 -0
- package/dist/constants/ps-navigation-progress-config.d.ts +8 -0
- package/dist/constants/ps-navigation-progress-config.js +8 -0
- package/dist/constants/ps-navigation-state.d.ts +5 -0
- package/dist/constants/ps-navigation-state.js +6 -0
- package/dist/constants/ps-option-select-config.d.ts +5 -0
- package/dist/constants/ps-option-select-config.js +5 -0
- package/dist/constants/ps-pallasoft-app-url-field.d.ts +7 -0
- package/dist/constants/ps-pallasoft-app-url-field.js +8 -0
- package/dist/constants/ps-pallasoft-apps.d.ts +2 -0
- package/dist/constants/ps-pallasoft-apps.js +37 -0
- package/dist/constants/ps-password-input-config.d.ts +4 -0
- package/dist/constants/ps-password-input-config.js +4 -0
- package/dist/constants/ps-phone-input-config.d.ts +6 -0
- package/dist/constants/ps-phone-input-config.js +6 -0
- package/dist/constants/ps-root-status-messages.d.ts +11 -0
- package/dist/constants/ps-root-status-messages.js +11 -0
- package/dist/constants/ps-sheet-variants.d.ts +3 -0
- package/dist/constants/ps-sheet-variants.js +14 -0
- package/dist/constants/ps-toggle-variants.d.ts +4 -0
- package/dist/constants/ps-toggle-variants.js +18 -0
- package/dist/contexts/ps-chart-context.d.ts +3 -0
- package/dist/contexts/ps-chart-context.js +2 -0
- package/dist/contexts/ps-toggle-group-context.d.ts +3 -0
- package/dist/contexts/ps-toggle-group-context.js +5 -0
- package/dist/hooks/use-ps-chart.d.ts +2 -0
- package/dist/hooks/use-ps-chart.js +9 -0
- package/dist/index.d.ts +348 -0
- package/dist/index.js +348 -0
- package/dist/models/ps-alert-description-props.d.ts +3 -0
- package/dist/models/ps-alert-description-props.js +1 -0
- package/dist/models/ps-alert-dialog-action-props.d.ts +4 -0
- package/dist/models/ps-alert-dialog-action-props.js +1 -0
- package/dist/models/ps-alert-dialog-cancel-props.d.ts +4 -0
- package/dist/models/ps-alert-dialog-cancel-props.js +1 -0
- package/dist/models/ps-alert-dialog-content-props.d.ts +4 -0
- package/dist/models/ps-alert-dialog-content-props.js +1 -0
- package/dist/models/ps-alert-dialog-description-props.d.ts +4 -0
- package/dist/models/ps-alert-dialog-description-props.js +1 -0
- package/dist/models/ps-alert-dialog-footer-props.d.ts +3 -0
- package/dist/models/ps-alert-dialog-footer-props.js +1 -0
- package/dist/models/ps-alert-dialog-header-props.d.ts +3 -0
- package/dist/models/ps-alert-dialog-header-props.js +1 -0
- package/dist/models/ps-alert-dialog-overlay-props.d.ts +4 -0
- package/dist/models/ps-alert-dialog-overlay-props.js +1 -0
- package/dist/models/ps-alert-dialog-title-props.d.ts +4 -0
- package/dist/models/ps-alert-dialog-title-props.js +1 -0
- package/dist/models/ps-alert-props.d.ts +5 -0
- package/dist/models/ps-alert-props.js +1 -0
- package/dist/models/ps-alert-title-props.d.ts +3 -0
- package/dist/models/ps-alert-title-props.js +1 -0
- package/dist/models/ps-app-header-link-data.d.ts +7 -0
- package/dist/models/ps-app-header-link-data.js +1 -0
- package/dist/models/ps-app-header-nav-item-data.d.ts +6 -0
- package/dist/models/ps-app-header-nav-item-data.js +1 -0
- package/dist/models/ps-app-header-props.d.ts +17 -0
- package/dist/models/ps-app-header-props.js +1 -0
- package/dist/models/ps-app-header-user-data.d.ts +4 -0
- package/dist/models/ps-app-header-user-data.js +1 -0
- package/dist/models/ps-app-switcher-link-data.d.ts +11 -0
- package/dist/models/ps-app-switcher-link-data.js +1 -0
- package/dist/models/ps-app-switcher-props.d.ts +6 -0
- package/dist/models/ps-app-switcher-props.js +1 -0
- package/dist/models/ps-app-switcher-section-data.d.ts +7 -0
- package/dist/models/ps-app-switcher-section-data.js +1 -0
- package/dist/models/ps-app-switcher-section-props.d.ts +4 -0
- package/dist/models/ps-app-switcher-section-props.js +1 -0
- package/dist/models/ps-app-switcher-tile-props.d.ts +4 -0
- package/dist/models/ps-app-switcher-tile-props.js +1 -0
- package/dist/models/ps-avatar-fallback-props.d.ts +4 -0
- package/dist/models/ps-avatar-fallback-props.js +1 -0
- package/dist/models/ps-avatar-image-props.d.ts +4 -0
- package/dist/models/ps-avatar-image-props.js +1 -0
- package/dist/models/ps-avatar-props.d.ts +5 -0
- package/dist/models/ps-avatar-props.js +1 -0
- package/dist/models/ps-badge-props.d.ts +6 -0
- package/dist/models/ps-badge-props.js +1 -0
- package/dist/models/ps-breadcrumb-ellipsis-props.d.ts +3 -0
- package/dist/models/ps-breadcrumb-ellipsis-props.js +1 -0
- package/dist/models/ps-breadcrumb-item-props.d.ts +3 -0
- package/dist/models/ps-breadcrumb-item-props.js +1 -0
- package/dist/models/ps-breadcrumb-link-props.d.ts +4 -0
- package/dist/models/ps-breadcrumb-link-props.js +1 -0
- package/dist/models/ps-breadcrumb-list-props.d.ts +3 -0
- package/dist/models/ps-breadcrumb-list-props.js +1 -0
- package/dist/models/ps-breadcrumb-page-props.d.ts +3 -0
- package/dist/models/ps-breadcrumb-page-props.js +1 -0
- package/dist/models/ps-breadcrumb-props.d.ts +4 -0
- package/dist/models/ps-breadcrumb-props.js +1 -0
- package/dist/models/ps-breadcrumb-separator-props.d.ts +3 -0
- package/dist/models/ps-breadcrumb-separator-props.js +1 -0
- package/dist/models/ps-button-props.d.ts +6 -0
- package/dist/models/ps-button-props.js +1 -0
- package/dist/models/ps-card-content-props.d.ts +3 -0
- package/dist/models/ps-card-content-props.js +1 -0
- package/dist/models/ps-card-description-props.d.ts +3 -0
- package/dist/models/ps-card-description-props.js +1 -0
- package/dist/models/ps-card-footer-props.d.ts +3 -0
- package/dist/models/ps-card-footer-props.js +1 -0
- package/dist/models/ps-card-header-props.d.ts +3 -0
- package/dist/models/ps-card-header-props.js +1 -0
- package/dist/models/ps-card-props.d.ts +4 -0
- package/dist/models/ps-card-props.js +1 -0
- package/dist/models/ps-card-title-props.d.ts +3 -0
- package/dist/models/ps-card-title-props.js +1 -0
- package/dist/models/ps-chart-config-item.d.ts +10 -0
- package/dist/models/ps-chart-config-item.js +1 -0
- package/dist/models/ps-chart-config.d.ts +4 -0
- package/dist/models/ps-chart-config.js +1 -0
- package/dist/models/ps-chart-container-props.d.ts +7 -0
- package/dist/models/ps-chart-container-props.js +1 -0
- package/dist/models/ps-chart-context-data.d.ts +4 -0
- package/dist/models/ps-chart-context-data.js +1 -0
- package/dist/models/ps-chart-legend-content-props.d.ts +6 -0
- package/dist/models/ps-chart-legend-content-props.js +1 -0
- package/dist/models/ps-chart-style-props.d.ts +5 -0
- package/dist/models/ps-chart-style-props.js +1 -0
- package/dist/models/ps-chart-tooltip-content-props.d.ts +9 -0
- package/dist/models/ps-chart-tooltip-content-props.js +1 -0
- package/dist/models/ps-checkbox-props.d.ts +4 -0
- package/dist/models/ps-checkbox-props.js +1 -0
- package/dist/models/ps-combobox-props.d.ts +13 -0
- package/dist/models/ps-combobox-props.js +1 -0
- package/dist/models/ps-command-dialog-props.d.ts +3 -0
- package/dist/models/ps-command-dialog-props.js +1 -0
- package/dist/models/ps-command-empty-props.d.ts +4 -0
- package/dist/models/ps-command-empty-props.js +1 -0
- package/dist/models/ps-command-group-props.d.ts +4 -0
- package/dist/models/ps-command-group-props.js +1 -0
- package/dist/models/ps-command-input-props.d.ts +4 -0
- package/dist/models/ps-command-input-props.js +1 -0
- package/dist/models/ps-command-item-props.d.ts +4 -0
- package/dist/models/ps-command-item-props.js +1 -0
- package/dist/models/ps-command-list-props.d.ts +4 -0
- package/dist/models/ps-command-list-props.js +1 -0
- package/dist/models/ps-command-props.d.ts +4 -0
- package/dist/models/ps-command-props.js +1 -0
- package/dist/models/ps-command-separator-props.d.ts +4 -0
- package/dist/models/ps-command-separator-props.js +1 -0
- package/dist/models/ps-command-shortcut-props.d.ts +3 -0
- package/dist/models/ps-command-shortcut-props.js +1 -0
- package/dist/models/ps-date-picker-props.d.ts +11 -0
- package/dist/models/ps-date-picker-props.js +1 -0
- package/dist/models/ps-dialog-content-props.d.ts +4 -0
- package/dist/models/ps-dialog-content-props.js +1 -0
- package/dist/models/ps-dialog-description-props.d.ts +4 -0
- package/dist/models/ps-dialog-description-props.js +1 -0
- package/dist/models/ps-dialog-footer-props.d.ts +3 -0
- package/dist/models/ps-dialog-footer-props.js +1 -0
- package/dist/models/ps-dialog-header-props.d.ts +3 -0
- package/dist/models/ps-dialog-header-props.js +1 -0
- package/dist/models/ps-dialog-overlay-props.d.ts +4 -0
- package/dist/models/ps-dialog-overlay-props.js +1 -0
- package/dist/models/ps-dialog-title-props.d.ts +4 -0
- package/dist/models/ps-dialog-title-props.js +1 -0
- package/dist/models/ps-dropdown-menu-checkbox-item-props.d.ts +4 -0
- package/dist/models/ps-dropdown-menu-checkbox-item-props.js +1 -0
- package/dist/models/ps-dropdown-menu-content-props.d.ts +4 -0
- package/dist/models/ps-dropdown-menu-content-props.js +1 -0
- package/dist/models/ps-dropdown-menu-item-props.d.ts +5 -0
- package/dist/models/ps-dropdown-menu-item-props.js +1 -0
- package/dist/models/ps-dropdown-menu-label-props.d.ts +5 -0
- package/dist/models/ps-dropdown-menu-label-props.js +1 -0
- package/dist/models/ps-dropdown-menu-radio-item-props.d.ts +4 -0
- package/dist/models/ps-dropdown-menu-radio-item-props.js +1 -0
- package/dist/models/ps-dropdown-menu-separator-props.d.ts +4 -0
- package/dist/models/ps-dropdown-menu-separator-props.js +1 -0
- package/dist/models/ps-dropdown-menu-shortcut-props.d.ts +3 -0
- package/dist/models/ps-dropdown-menu-shortcut-props.js +1 -0
- package/dist/models/ps-dropdown-menu-sub-content-props.d.ts +4 -0
- package/dist/models/ps-dropdown-menu-sub-content-props.js +1 -0
- package/dist/models/ps-dropdown-menu-sub-trigger-props.d.ts +5 -0
- package/dist/models/ps-dropdown-menu-sub-trigger-props.js +1 -0
- package/dist/models/ps-empty-content-props.d.ts +3 -0
- package/dist/models/ps-empty-content-props.js +1 -0
- package/dist/models/ps-empty-description-props.d.ts +3 -0
- package/dist/models/ps-empty-description-props.js +1 -0
- package/dist/models/ps-empty-media-props.d.ts +3 -0
- package/dist/models/ps-empty-media-props.js +1 -0
- package/dist/models/ps-empty-panel-props.d.ts +3 -0
- package/dist/models/ps-empty-panel-props.js +1 -0
- package/dist/models/ps-empty-props.d.ts +3 -0
- package/dist/models/ps-empty-props.js +1 -0
- package/dist/models/ps-empty-title-props.d.ts +3 -0
- package/dist/models/ps-empty-title-props.js +1 -0
- package/dist/models/ps-external-app-data.d.ts +9 -0
- package/dist/models/ps-external-app-data.js +1 -0
- package/dist/models/ps-field-content-props.d.ts +3 -0
- package/dist/models/ps-field-content-props.js +1 -0
- package/dist/models/ps-field-description-props.d.ts +3 -0
- package/dist/models/ps-field-description-props.js +1 -0
- package/dist/models/ps-field-error-props.d.ts +3 -0
- package/dist/models/ps-field-error-props.js +1 -0
- package/dist/models/ps-field-group-props.d.ts +3 -0
- package/dist/models/ps-field-group-props.js +1 -0
- package/dist/models/ps-field-input-props.d.ts +4 -0
- package/dist/models/ps-field-input-props.js +1 -0
- package/dist/models/ps-field-label-props.d.ts +4 -0
- package/dist/models/ps-field-label-props.js +1 -0
- package/dist/models/ps-field-props.d.ts +5 -0
- package/dist/models/ps-field-props.js +1 -0
- package/dist/models/ps-file-picker-props.d.ts +10 -0
- package/dist/models/ps-file-picker-props.js +1 -0
- package/dist/models/ps-input-group-props.d.ts +7 -0
- package/dist/models/ps-input-group-props.js +1 -0
- package/dist/models/ps-input-props.d.ts +4 -0
- package/dist/models/ps-input-props.js +1 -0
- package/dist/models/ps-kbd-props.d.ts +3 -0
- package/dist/models/ps-kbd-props.js +1 -0
- package/dist/models/ps-label-props.d.ts +6 -0
- package/dist/models/ps-label-props.js +1 -0
- package/dist/models/ps-money-input-props.d.ts +8 -0
- package/dist/models/ps-money-input-props.js +1 -0
- package/dist/models/ps-navigation-progress-props.d.ts +5 -0
- package/dist/models/ps-navigation-progress-props.js +1 -0
- package/dist/models/ps-not-found-props.d.ts +3 -0
- package/dist/models/ps-not-found-props.js +1 -0
- package/dist/models/ps-option-data.d.ts +5 -0
- package/dist/models/ps-option-data.js +1 -0
- package/dist/models/ps-option-select-props.d.ts +12 -0
- package/dist/models/ps-option-select-props.js +1 -0
- package/dist/models/ps-pallasoft-app-data.d.ts +11 -0
- package/dist/models/ps-pallasoft-app-data.js +1 -0
- package/dist/models/ps-pallasoft-app-urls-data.d.ts +7 -0
- package/dist/models/ps-pallasoft-app-urls-data.js +1 -0
- package/dist/models/ps-phone-input-props.d.ts +11 -0
- package/dist/models/ps-phone-input-props.js +1 -0
- package/dist/models/ps-popover-content-props.d.ts +4 -0
- package/dist/models/ps-popover-content-props.js +1 -0
- package/dist/models/ps-progress-props.d.ts +4 -0
- package/dist/models/ps-progress-props.js +1 -0
- package/dist/models/ps-radio-group-item-props.d.ts +4 -0
- package/dist/models/ps-radio-group-item-props.js +1 -0
- package/dist/models/ps-radio-group-props.d.ts +4 -0
- package/dist/models/ps-radio-group-props.js +1 -0
- package/dist/models/ps-root-error-props.d.ts +5 -0
- package/dist/models/ps-root-error-props.js +1 -0
- package/dist/models/ps-scroll-area-props.d.ts +4 -0
- package/dist/models/ps-scroll-area-props.js +1 -0
- package/dist/models/ps-scroll-bar-props.d.ts +4 -0
- package/dist/models/ps-scroll-bar-props.js +1 -0
- package/dist/models/ps-select-content-props.d.ts +4 -0
- package/dist/models/ps-select-content-props.js +1 -0
- package/dist/models/ps-select-item-props.d.ts +4 -0
- package/dist/models/ps-select-item-props.js +1 -0
- package/dist/models/ps-select-label-props.d.ts +4 -0
- package/dist/models/ps-select-label-props.js +1 -0
- package/dist/models/ps-select-scroll-down-button-props.d.ts +4 -0
- package/dist/models/ps-select-scroll-down-button-props.js +1 -0
- package/dist/models/ps-select-scroll-up-button-props.d.ts +4 -0
- package/dist/models/ps-select-scroll-up-button-props.js +1 -0
- package/dist/models/ps-select-separator-props.d.ts +4 -0
- package/dist/models/ps-select-separator-props.js +1 -0
- package/dist/models/ps-select-trigger-props.d.ts +5 -0
- package/dist/models/ps-select-trigger-props.js +1 -0
- package/dist/models/ps-separator-props.d.ts +4 -0
- package/dist/models/ps-separator-props.js +1 -0
- package/dist/models/ps-sheet-content-props.d.ts +6 -0
- package/dist/models/ps-sheet-content-props.js +1 -0
- package/dist/models/ps-sheet-description-props.d.ts +4 -0
- package/dist/models/ps-sheet-description-props.js +1 -0
- package/dist/models/ps-sheet-footer-props.d.ts +3 -0
- package/dist/models/ps-sheet-footer-props.js +1 -0
- package/dist/models/ps-sheet-header-props.d.ts +3 -0
- package/dist/models/ps-sheet-header-props.js +1 -0
- package/dist/models/ps-sheet-overlay-props.d.ts +4 -0
- package/dist/models/ps-sheet-overlay-props.js +1 -0
- package/dist/models/ps-sheet-title-props.d.ts +4 -0
- package/dist/models/ps-sheet-title-props.js +1 -0
- package/dist/models/ps-skeleton-props.d.ts +2 -0
- package/dist/models/ps-skeleton-props.js +1 -0
- package/dist/models/ps-spinner-props.d.ts +4 -0
- package/dist/models/ps-spinner-props.js +1 -0
- package/dist/models/ps-status-panel-props.d.ts +3 -0
- package/dist/models/ps-status-panel-props.js +1 -0
- package/dist/models/ps-switch-props.d.ts +4 -0
- package/dist/models/ps-switch-props.js +1 -0
- package/dist/models/ps-table-body-props.d.ts +3 -0
- package/dist/models/ps-table-body-props.js +1 -0
- package/dist/models/ps-table-caption-props.d.ts +3 -0
- package/dist/models/ps-table-caption-props.js +1 -0
- package/dist/models/ps-table-cell-props.d.ts +3 -0
- package/dist/models/ps-table-cell-props.js +1 -0
- package/dist/models/ps-table-footer-props.d.ts +3 -0
- package/dist/models/ps-table-footer-props.js +1 -0
- package/dist/models/ps-table-head-props.d.ts +3 -0
- package/dist/models/ps-table-head-props.js +1 -0
- package/dist/models/ps-table-header-props.d.ts +3 -0
- package/dist/models/ps-table-header-props.js +1 -0
- package/dist/models/ps-table-props.d.ts +3 -0
- package/dist/models/ps-table-props.js +1 -0
- package/dist/models/ps-table-row-props.d.ts +3 -0
- package/dist/models/ps-table-row-props.js +1 -0
- package/dist/models/ps-tabs-content-props.d.ts +4 -0
- package/dist/models/ps-tabs-content-props.js +1 -0
- package/dist/models/ps-tabs-list-props.d.ts +4 -0
- package/dist/models/ps-tabs-list-props.js +1 -0
- package/dist/models/ps-tabs-trigger-props.d.ts +4 -0
- package/dist/models/ps-tabs-trigger-props.js +1 -0
- package/dist/models/ps-textarea-props.d.ts +3 -0
- package/dist/models/ps-textarea-props.js +1 -0
- package/dist/models/ps-toggle-group-context-data.d.ts +4 -0
- package/dist/models/ps-toggle-group-context-data.js +1 -0
- package/dist/models/ps-toggle-group-item-props.d.ts +6 -0
- package/dist/models/ps-toggle-group-item-props.js +1 -0
- package/dist/models/ps-toggle-group-multiple-props.d.ts +5 -0
- package/dist/models/ps-toggle-group-multiple-props.js +1 -0
- package/dist/models/ps-toggle-group-single-props.d.ts +5 -0
- package/dist/models/ps-toggle-group-single-props.js +1 -0
- package/dist/models/ps-toggle-props.d.ts +6 -0
- package/dist/models/ps-toggle-props.js +1 -0
- package/dist/models/ps-tooltip-content-props.d.ts +4 -0
- package/dist/models/ps-tooltip-content-props.js +1 -0
- package/dist/models/ps-workspace-badge-props.d.ts +6 -0
- package/dist/models/ps-workspace-badge-props.js +1 -0
- package/dist/models/ps-workspace-item-data.d.ts +9 -0
- package/dist/models/ps-workspace-item-data.js +1 -0
- package/dist/models/ps-workspace-switcher-data.d.ts +6 -0
- package/dist/models/ps-workspace-switcher-data.js +1 -0
- package/dist/models/ps-workspace-switcher-props.d.ts +7 -0
- package/dist/models/ps-workspace-switcher-props.js +1 -0
- package/dist/pallasoft-internal-tailwind-preset.d.ts +2 -0
- package/dist/pallasoft-internal-tailwind-preset.js +90 -0
- package/dist/services/ps-app-switcher-service.d.ts +11 -0
- package/dist/services/ps-app-switcher-service.js +56 -0
- package/dist/services/ps-chart-service.d.ts +8 -0
- package/dist/services/ps-chart-service.js +42 -0
- package/dist/services/ps-class-name-service.d.ts +4 -0
- package/dist/services/ps-class-name-service.js +7 -0
- package/dist/services/ps-field-format-service.d.ts +6 -0
- package/dist/services/ps-field-format-service.js +31 -0
- package/dist/services/ps-file-size-service.d.ts +3 -0
- package/dist/services/ps-file-size-service.js +6 -0
- package/package.json +109 -0
- package/src/styles/theme.css +159 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
5
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
6
|
+
export const PsRadioGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
7
|
+
return (_jsx(RadioGroupPrimitive.Root, { className: PsClassNameService.merge('grid gap-2', className), ...props, ref: ref }));
|
|
8
|
+
});
|
|
9
|
+
PsRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { PsRootStatusMessages } from '../constants/ps-root-status-messages.js';
|
|
3
|
+
import { PsButton } from './ps-button.js';
|
|
4
|
+
export const PsRootError = ({ code, homePath = PsRootStatusMessages.defaultHomePath, message, }) => (_jsx("section", { className: 'flex min-h-[55vh] w-full items-center justify-center px-4 py-10 sm:px-6', children: _jsxs("div", { className: 'w-full max-w-xl text-card-foreground', children: [_jsx("p", { className: 'text-sm text-muted-foreground', children: `Error ${code}` }), _jsx("h1", { className: 'mt-2 text-2xl font-semibold tracking-tight', children: PsRootStatusMessages.errorTitle }), _jsx("p", { className: 'mt-3 text-sm text-muted-foreground', children: message ? message : PsRootStatusMessages.errorDescription }), _jsxs("div", { className: 'mt-6 flex flex-col gap-3 sm:flex-row', children: [_jsx(PsButton, { id: 'refresh-button', type: 'button', onClick: () => window.location.reload(), children: PsRootStatusMessages.refreshLabel }), _jsx(PsButton, { id: 'go-home-button', type: 'button', variant: 'outline', onClick: () => window.location.assign(homePath), children: PsRootStatusMessages.goHomeLabel })] })] }) }));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
import { PsScrollBar } from './ps-scroll-bar.js';
|
|
6
|
+
export const PsScrollArea = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(ScrollAreaPrimitive.Root, { ref: ref, className: PsClassNameService.merge('relative overflow-hidden', className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { className: 'h-full w-full rounded-[inherit]', children: children }), _jsx(PsScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] })));
|
|
7
|
+
PsScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsScrollBar = React.forwardRef(({ className, orientation = 'vertical', ...props }, ref) => (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { ref: ref, orientation: orientation, className: PsClassNameService.merge('flex touch-none select-none transition-colors', orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]', orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]', className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: 'relative flex-1 rounded-full bg-border' }) })));
|
|
6
|
+
PsScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
import { PsSelectScrollDownButton } from './ps-select-scroll-down-button.js';
|
|
6
|
+
import { PsSelectScrollUpButton } from './ps-select-scroll-up-button.js';
|
|
7
|
+
export const PsSelectContent = React.forwardRef(({ className, children, position = 'popper', ...props }, ref) => (_jsx(SelectPrimitive.Portal, { children: _jsxs(SelectPrimitive.Content, { ref: ref, className: PsClassNameService.merge('relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]', position === 'popper' &&
|
|
8
|
+
'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1', className), position: position, ...props, children: [_jsx(PsSelectScrollUpButton, {}), _jsx(SelectPrimitive.Viewport, { className: PsClassNameService.merge('p-1', position === 'popper' &&
|
|
9
|
+
'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'), children: children }), _jsx(PsSelectScrollDownButton, {})] }) })));
|
|
10
|
+
PsSelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { Check } from 'lucide-react';
|
|
5
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
6
|
+
export const PsSelectItem = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(SelectPrimitive.Item, { ref: ref, className: PsClassNameService.merge('relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), ...props, children: [_jsx("span", { className: 'absolute right-2 flex h-3.5 w-3.5 items-center justify-center', children: _jsx(SelectPrimitive.ItemIndicator, { children: _jsx(Check, { className: 'h-4 w-4' }) }) }), _jsx(SelectPrimitive.ItemText, { children: children })] })));
|
|
7
|
+
PsSelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSelectLabel = React.forwardRef(({ className, ...props }, ref) => (_jsx(SelectPrimitive.Label, { ref: ref, className: PsClassNameService.merge('px-2 py-1.5 text-sm font-semibold', className), ...props })));
|
|
6
|
+
PsSelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PsSelectScrollDownButtonProps } from '../models/ps-select-scroll-down-button-props.js';
|
|
3
|
+
export declare const PsSelectScrollDownButton: React.ForwardRefExoticComponent<PsSelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { ChevronDown } from 'lucide-react';
|
|
5
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
6
|
+
export const PsSelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => (_jsx(SelectPrimitive.ScrollDownButton, { ref: ref, className: PsClassNameService.merge('flex cursor-default items-center justify-center py-1', className), ...props, children: _jsx(ChevronDown, { className: 'h-4 w-4' }) })));
|
|
7
|
+
PsSelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PsSelectScrollUpButtonProps } from '../models/ps-select-scroll-up-button-props.js';
|
|
3
|
+
export declare const PsSelectScrollUpButton: React.ForwardRefExoticComponent<PsSelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { ChevronUp } from 'lucide-react';
|
|
5
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
6
|
+
export const PsSelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) => (_jsx(SelectPrimitive.ScrollUpButton, { ref: ref, className: PsClassNameService.merge('flex cursor-default items-center justify-center py-1', className), ...props, children: _jsx(ChevronUp, { className: 'h-4 w-4' }) })));
|
|
7
|
+
PsSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSelectSeparator = React.forwardRef(({ className, ...props }, ref) => (_jsx(SelectPrimitive.Separator, { ref: ref, className: PsClassNameService.merge('-mx-1 my-1 h-px bg-muted', className), ...props })));
|
|
6
|
+
PsSelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
4
|
+
import { ChevronDown } from 'lucide-react';
|
|
5
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
6
|
+
import { PsSkeleton } from './ps-skeleton.js';
|
|
7
|
+
export const PsSelectTrigger = React.forwardRef(({ className, children, isLoading = false, ...props }, ref) => isLoading ? (_jsx(PsSkeleton, { className: PsClassNameService.merge('h-9 w-full rounded-md', className) })) : (_jsxs(SelectPrimitive.Trigger, { ref: ref, className: PsClassNameService.merge('flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1', className), ...props, children: [children, _jsx(SelectPrimitive.Icon, { asChild: true, children: _jsx(ChevronDown, { className: 'h-4 w-4 opacity-50' }) })] })));
|
|
8
|
+
PsSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
5
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
6
|
+
export const PsSeparator = React.forwardRef(({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (_jsx(SeparatorPrimitive.Root, { ref: ref, decorative: decorative, orientation: orientation, className: PsClassNameService.merge('shrink-0 bg-border', orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]', className), ...props })));
|
|
7
|
+
PsSeparator.displayName = SeparatorPrimitive.Root.displayName;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { X } from 'lucide-react';
|
|
5
|
+
import { PsSheetVariants } from '../constants/ps-sheet-variants.js';
|
|
6
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
7
|
+
import { PsSheetOverlay } from './ps-sheet-overlay.js';
|
|
8
|
+
import { PsSheetPortal } from './ps-sheet-portal.js';
|
|
9
|
+
export const PsSheetContent = React.forwardRef(({ side = 'right', className, children, ...props }, ref) => (_jsxs(PsSheetPortal, { children: [_jsx(PsSheetOverlay, {}), _jsxs(SheetPrimitive.Content, { ref: ref, className: PsClassNameService.merge(PsSheetVariants({ side }), className), ...props, children: [_jsxs(SheetPrimitive.Close, { className: 'absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary', children: [_jsx(X, { className: 'h-4 w-4' }), _jsx("span", { className: 'sr-only', children: "Close" })] }), children] })] })));
|
|
10
|
+
PsSheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSheetDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx(SheetPrimitive.Description, { ref: ref, className: PsClassNameService.merge('text-sm text-muted-foreground', className), ...props })));
|
|
6
|
+
PsSheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
3
|
+
export const PsSheetFooter = ({ className, ...props }) => (_jsx("div", { className: PsClassNameService.merge('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className), ...props }));
|
|
4
|
+
PsSheetFooter.displayName = 'PsSheetFooter';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
3
|
+
export const PsSheetHeader = ({ className, ...props }) => (_jsx("div", { className: PsClassNameService.merge('flex flex-col space-y-2 text-center sm:text-left', className), ...props }));
|
|
4
|
+
PsSheetHeader.displayName = 'PsSheetHeader';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSheetOverlay = React.forwardRef(({ className, ...props }, ref) => (_jsx(SheetPrimitive.Overlay, { className: PsClassNameService.merge('fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0', className), ...props, ref: ref })));
|
|
6
|
+
PsSheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSheetTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx(SheetPrimitive.Title, { ref: ref, className: PsClassNameService.merge('text-lg font-semibold text-foreground', className), ...props })));
|
|
6
|
+
PsSheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
3
|
+
export const PsSkeleton = ({ className, ...props }) => {
|
|
4
|
+
return (_jsx("div", { className: PsClassNameService.merge('animate-pulse rounded-md bg-muted', className), ...props }));
|
|
5
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Loader2 } from 'lucide-react';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSpinner = React.forwardRef(({ className, ...props }, ref) => (_jsx(Loader2, { ref: ref, role: 'status', "aria-label": 'Loading', className: PsClassNameService.merge('size-4 animate-spin', className), ...props })));
|
|
6
|
+
PsSpinner.displayName = 'PsSpinner';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsStatusPanel = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, "data-slot": 'status-panel', className: PsClassNameService.merge('flex flex-col gap-4 rounded-lg border bg-muted/30 p-4 lg:flex-row lg:items-center lg:justify-between', className), ...props })));
|
|
5
|
+
PsStatusPanel.displayName = 'PsStatusPanel';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsSwitch = React.forwardRef(({ className, ...props }, ref) => (_jsx(SwitchPrimitives.Root, { className: PsClassNameService.merge('peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input', className), ...props, ref: ref, children: _jsx(SwitchPrimitives.Thumb, { className: PsClassNameService.merge('pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0') }) })));
|
|
6
|
+
PsSwitch.displayName = SwitchPrimitives.Root.displayName;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableBody = React.forwardRef(({ className, ...props }, ref) => (_jsx("tbody", { ref: ref, className: PsClassNameService.merge('[&_tr:last-child]:border-0', className), ...props })));
|
|
5
|
+
PsTableBody.displayName = 'PsTableBody';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableCaption = React.forwardRef(({ className, ...props }, ref) => (_jsx("caption", { ref: ref, className: PsClassNameService.merge('mt-4 text-sm text-muted-foreground', className), ...props })));
|
|
5
|
+
PsTableCaption.displayName = 'PsTableCaption';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableCell = React.forwardRef(({ className, ...props }, ref) => (_jsx("td", { ref: ref, className: PsClassNameService.merge('p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', className), ...props })));
|
|
5
|
+
PsTableCell.displayName = 'PsTableCell';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableFooter = React.forwardRef(({ className, ...props }, ref) => (_jsx("tfoot", { ref: ref, className: PsClassNameService.merge('border-t bg-muted/50 font-medium [&>tr]:last:border-b-0', className), ...props })));
|
|
5
|
+
PsTableFooter.displayName = 'PsTableFooter';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableHead = React.forwardRef(({ className, ...props }, ref) => (_jsx("th", { ref: ref, className: PsClassNameService.merge('h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', className), ...props })));
|
|
5
|
+
PsTableHead.displayName = 'PsTableHead';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableHeader = React.forwardRef(({ className, ...props }, ref) => (_jsx("thead", { ref: ref, className: PsClassNameService.merge('[&_tr]:border-b', className), ...props })));
|
|
5
|
+
PsTableHeader.displayName = 'PsTableHeader';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTableRow = React.forwardRef(({ className, ...props }, ref) => (_jsx("tr", { ref: ref, className: PsClassNameService.merge('border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted', className), ...props })));
|
|
5
|
+
PsTableRow.displayName = 'PsTableRow';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTable = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { className: 'relative w-full overflow-auto', children: _jsx("table", { ref: ref, className: PsClassNameService.merge('w-full caption-bottom text-sm', className), ...props }) })));
|
|
5
|
+
PsTable.displayName = 'PsTable';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsTabsContent = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.Content, { ref: ref, className: PsClassNameService.merge('mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', className), ...props })));
|
|
6
|
+
PsTabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsTabsList = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.List, { ref: ref, className: PsClassNameService.merge('inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground', className), ...props })));
|
|
6
|
+
PsTabsList.displayName = TabsPrimitive.List.displayName;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
4
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
5
|
+
export const PsTabsTrigger = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.Trigger, { ref: ref, className: PsClassNameService.merge('inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow', className), ...props })));
|
|
6
|
+
PsTabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
4
|
+
export const PsTextarea = React.forwardRef(({ className, ...props }, ref) => {
|
|
5
|
+
return (_jsx("textarea", { className: PsClassNameService.merge('flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', className), ref: ref, ...props }));
|
|
6
|
+
});
|
|
7
|
+
PsTextarea.displayName = 'PsTextarea';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
5
|
+
import { PsToggleVariants } from '../constants/ps-toggle-variants.js';
|
|
6
|
+
import { PsToggleGroupContext } from '../contexts/ps-toggle-group-context.js';
|
|
7
|
+
import { PsClassNameService } from '../services/ps-class-name-service.js';
|
|
8
|
+
export const PsToggleGroupItem = React.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
9
|
+
const context = React.useContext(PsToggleGroupContext);
|
|
10
|
+
return (_jsx(ToggleGroupPrimitive.Item, { ref: ref, className: PsClassNameService.merge(PsToggleVariants({
|
|
11
|
+
variant: context.variant ? context.variant : variant,
|
|
12
|
+
size: context.size ? context.size : size,
|
|
13
|
+
}), className), ...props, children: children }));
|
|
14
|
+
});
|
|
15
|
+
PsToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PsToggleGroupMultipleProps } from '../models/ps-toggle-group-multiple-props.js';
|
|
3
|
+
import type { PsToggleGroupSingleProps } from '../models/ps-toggle-group-single-props.js';
|
|
4
|
+
export declare const PsToggleGroup: React.ForwardRefExoticComponent<(PsToggleGroupMultipleProps | PsToggleGroupSingleProps) & React.RefAttributes<HTMLDivElement>>;
|