@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,90 @@
|
|
|
1
|
+
import tailwindAnimate from 'tailwindcss-animate';
|
|
2
|
+
import { PallasoftFontSize } from './constants/pallasoft-font-size.js';
|
|
3
|
+
import { PallasoftMotion } from './constants/pallasoft-motion.js';
|
|
4
|
+
import { PallasoftScreens } from './constants/pallasoft-screens.js';
|
|
5
|
+
import { PallasoftSharedScale } from './constants/pallasoft-shared-scale.js';
|
|
6
|
+
export const PallasoftInternalTailwindPreset = {
|
|
7
|
+
theme: {
|
|
8
|
+
screens: PallasoftScreens,
|
|
9
|
+
extend: {
|
|
10
|
+
colors: {
|
|
11
|
+
border: 'var(--border)',
|
|
12
|
+
input: 'var(--input)',
|
|
13
|
+
ring: 'var(--ring)',
|
|
14
|
+
background: 'var(--background)',
|
|
15
|
+
foreground: 'var(--foreground)',
|
|
16
|
+
card: {
|
|
17
|
+
DEFAULT: 'var(--card)',
|
|
18
|
+
foreground: 'var(--card-foreground)',
|
|
19
|
+
},
|
|
20
|
+
popover: {
|
|
21
|
+
DEFAULT: 'var(--popover)',
|
|
22
|
+
foreground: 'var(--popover-foreground)',
|
|
23
|
+
},
|
|
24
|
+
primary: {
|
|
25
|
+
DEFAULT: 'var(--primary)',
|
|
26
|
+
foreground: 'var(--primary-foreground)',
|
|
27
|
+
hover: 'var(--primary-hover)',
|
|
28
|
+
},
|
|
29
|
+
secondary: {
|
|
30
|
+
DEFAULT: 'var(--secondary)',
|
|
31
|
+
foreground: 'var(--secondary-foreground)',
|
|
32
|
+
},
|
|
33
|
+
muted: {
|
|
34
|
+
DEFAULT: 'var(--muted)',
|
|
35
|
+
foreground: 'var(--muted-foreground)',
|
|
36
|
+
},
|
|
37
|
+
accent: {
|
|
38
|
+
DEFAULT: 'var(--accent)',
|
|
39
|
+
foreground: 'var(--accent-foreground)',
|
|
40
|
+
},
|
|
41
|
+
destructive: {
|
|
42
|
+
DEFAULT: 'var(--destructive)',
|
|
43
|
+
foreground: 'var(--destructive-foreground)',
|
|
44
|
+
muted: 'var(--destructive-muted)',
|
|
45
|
+
},
|
|
46
|
+
warning: {
|
|
47
|
+
DEFAULT: 'var(--warning)',
|
|
48
|
+
foreground: 'var(--warning-foreground)',
|
|
49
|
+
muted: 'var(--warning-muted)',
|
|
50
|
+
},
|
|
51
|
+
success: {
|
|
52
|
+
DEFAULT: 'var(--success)',
|
|
53
|
+
foreground: 'var(--success-foreground)',
|
|
54
|
+
muted: 'var(--success-muted)',
|
|
55
|
+
},
|
|
56
|
+
info: 'var(--info)',
|
|
57
|
+
sidebar: {
|
|
58
|
+
'DEFAULT': 'var(--sidebar)',
|
|
59
|
+
'foreground': 'var(--sidebar-foreground)',
|
|
60
|
+
'primary': 'var(--sidebar-primary)',
|
|
61
|
+
'primary-foreground': 'var(--sidebar-primary-foreground)',
|
|
62
|
+
'accent': 'var(--sidebar-accent)',
|
|
63
|
+
'accent-foreground': 'var(--sidebar-accent-foreground)',
|
|
64
|
+
'border': 'var(--sidebar-border)',
|
|
65
|
+
'ring': 'var(--sidebar-ring)',
|
|
66
|
+
},
|
|
67
|
+
overlay: 'rgb(15 23 42 / 0.62)',
|
|
68
|
+
chart: {
|
|
69
|
+
'1': 'var(--chart-1)',
|
|
70
|
+
'2': 'var(--chart-2)',
|
|
71
|
+
'3': 'var(--chart-3)',
|
|
72
|
+
'4': 'var(--chart-4)',
|
|
73
|
+
'5': 'var(--chart-5)',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
borderRadius: {
|
|
77
|
+
lg: 'var(--radius)',
|
|
78
|
+
md: 'calc(var(--radius) - 2px)',
|
|
79
|
+
sm: 'calc(var(--radius) - 4px)',
|
|
80
|
+
},
|
|
81
|
+
fontFamily: {
|
|
82
|
+
sans: ['Geist Variable', 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
|
83
|
+
},
|
|
84
|
+
...PallasoftSharedScale,
|
|
85
|
+
fontSize: PallasoftFontSize,
|
|
86
|
+
...PallasoftMotion,
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
plugins: [tailwindAnimate],
|
|
90
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PsAppKey } from '../constants/ps-app-key.js';
|
|
2
|
+
import type { PsAppSwitcherSectionData } from '../models/ps-app-switcher-section-data.js';
|
|
3
|
+
import type { PsPallasoftAppUrlsData } from '../models/ps-pallasoft-app-urls-data.js';
|
|
4
|
+
export declare class PsAppSwitcherService {
|
|
5
|
+
static sections(appUrls: PsPallasoftAppUrlsData, currentAppKey: PsAppKey): PsAppSwitcherSectionData[];
|
|
6
|
+
private static links;
|
|
7
|
+
private static siteFaviconUrl;
|
|
8
|
+
private static iconUrlFromUrl;
|
|
9
|
+
private static section;
|
|
10
|
+
private static externalLink;
|
|
11
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PsAppCategoryLabels } from '../constants/ps-app-category-labels.js';
|
|
2
|
+
import { PsAppSwitcherConfig } from '../constants/ps-app-switcher-config.js';
|
|
3
|
+
import { PsExternalApps } from '../constants/ps-external-apps.js';
|
|
4
|
+
import { PsPallasoftApps } from '../constants/ps-pallasoft-apps.js';
|
|
5
|
+
export class PsAppSwitcherService {
|
|
6
|
+
static sections(appUrls, currentAppKey) {
|
|
7
|
+
const ownSections = PsAppSwitcherConfig.categoryOrder.map((category) => this.section(category, this.links(category, appUrls, currentAppKey)));
|
|
8
|
+
const externalSections = PsAppSwitcherConfig.externalCategoryOrder.map((category) => this.section(category, PsExternalApps.filter((app) => app.category === category).map((app) => this.externalLink(app))));
|
|
9
|
+
return [...ownSections, ...externalSections].filter((section) => section.links.length > 0);
|
|
10
|
+
}
|
|
11
|
+
static links(category, appUrls, currentAppKey) {
|
|
12
|
+
return PsPallasoftApps.filter((app) => app.category === category && Boolean(appUrls[app.urlField])).map((app) => ({
|
|
13
|
+
key: app.key,
|
|
14
|
+
name: app.name,
|
|
15
|
+
url: appUrls[app.urlField],
|
|
16
|
+
iconUrl: this.siteFaviconUrl(appUrls[app.urlField]),
|
|
17
|
+
fallbackIconUrl: this.iconUrlFromUrl(appUrls[app.urlField]),
|
|
18
|
+
initials: app.initials,
|
|
19
|
+
external: app.openInNewTab,
|
|
20
|
+
current: app.key === currentAppKey,
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
static siteFaviconUrl(url) {
|
|
24
|
+
try {
|
|
25
|
+
return new URL(PsAppSwitcherConfig.siteFaviconPath, url).toString();
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
console.error(error);
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
static iconUrlFromUrl(url) {
|
|
33
|
+
try {
|
|
34
|
+
return PsAppSwitcherConfig.faviconUrl(new URL(url).hostname);
|
|
35
|
+
}
|
|
36
|
+
catch (error) {
|
|
37
|
+
console.error(error);
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
static section(category, links) {
|
|
42
|
+
return { category, label: PsAppCategoryLabels[category], links };
|
|
43
|
+
}
|
|
44
|
+
static externalLink(app) {
|
|
45
|
+
return {
|
|
46
|
+
key: app.key,
|
|
47
|
+
name: app.name,
|
|
48
|
+
url: app.url,
|
|
49
|
+
iconUrl: PsAppSwitcherConfig.faviconUrl(app.domain),
|
|
50
|
+
fallbackIconUrl: null,
|
|
51
|
+
initials: app.name.slice(0, 1),
|
|
52
|
+
external: true,
|
|
53
|
+
current: false,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PsChartConfigItem } from '../models/ps-chart-config-item.js';
|
|
2
|
+
import type { PsChartConfig } from '../models/ps-chart-config.js';
|
|
3
|
+
export declare class PsChartService {
|
|
4
|
+
static chartId(id: string | undefined, generated: string): string;
|
|
5
|
+
static css(id: string, config: PsChartConfig): string;
|
|
6
|
+
static itemFor(config: PsChartConfig, payload: unknown, key: string): PsChartConfigItem | undefined;
|
|
7
|
+
private static color;
|
|
8
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PsChartDefaults } from '../constants/ps-chart-defaults.js';
|
|
2
|
+
import { PsChartThemes } from '../constants/ps-chart-themes.js';
|
|
3
|
+
export class PsChartService {
|
|
4
|
+
static chartId(id, generated) {
|
|
5
|
+
return `${PsChartDefaults.idPrefix}${id !== undefined ? id : generated.replace(PsChartDefaults.idSeparators, '')}`;
|
|
6
|
+
}
|
|
7
|
+
static css(id, config) {
|
|
8
|
+
const colored = Object.entries(config).filter(([, item]) => item.theme !== undefined || item.color !== undefined);
|
|
9
|
+
if (colored.length === 0)
|
|
10
|
+
return '';
|
|
11
|
+
return Object.entries(PsChartThemes)
|
|
12
|
+
.map(([theme, prefix]) => {
|
|
13
|
+
const variables = colored
|
|
14
|
+
.map(([key, item]) => {
|
|
15
|
+
const color = PsChartService.color(item, theme === 'dark');
|
|
16
|
+
return color === undefined ? '' : ` --color-${key}: ${color};`;
|
|
17
|
+
})
|
|
18
|
+
.filter((line) => line !== '')
|
|
19
|
+
.join('\n');
|
|
20
|
+
return `${prefix} [data-chart=${id}] {\n${variables}\n}`;
|
|
21
|
+
})
|
|
22
|
+
.join('\n');
|
|
23
|
+
}
|
|
24
|
+
static itemFor(config, payload, key) {
|
|
25
|
+
if (typeof payload !== 'object' || payload === null)
|
|
26
|
+
return undefined;
|
|
27
|
+
const record = payload;
|
|
28
|
+
const inner = record[PsChartDefaults.payloadKey];
|
|
29
|
+
const innerRecord = typeof inner === 'object' && inner !== null ? inner : null;
|
|
30
|
+
let configKey = key;
|
|
31
|
+
if (typeof record[key] === 'string')
|
|
32
|
+
configKey = String(record[key]);
|
|
33
|
+
else if (innerRecord !== null && typeof innerRecord[key] === 'string')
|
|
34
|
+
configKey = String(innerRecord[key]);
|
|
35
|
+
return configKey in config ? config[configKey] : config[key];
|
|
36
|
+
}
|
|
37
|
+
static color(item, dark) {
|
|
38
|
+
if (item.theme !== undefined)
|
|
39
|
+
return dark ? item.theme.dark : item.theme.light;
|
|
40
|
+
return item.color;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Common } from '@pallasoft/ps-utilities';
|
|
2
|
+
import { PsFieldInputConfig } from '../constants/ps-field-input-config.js';
|
|
3
|
+
export class PsFieldFormatService {
|
|
4
|
+
static url(value) {
|
|
5
|
+
return Common.ValidationService.withProtocol(value);
|
|
6
|
+
}
|
|
7
|
+
static moneyValue(text) {
|
|
8
|
+
if (!Common.AmountService.isAmount(text))
|
|
9
|
+
return '';
|
|
10
|
+
return Common.AmountService.toNumber(text).toFixed(PsFieldInputConfig.moneyFractionDigits);
|
|
11
|
+
}
|
|
12
|
+
static moneyText(value, locale) {
|
|
13
|
+
if (value === '')
|
|
14
|
+
return '';
|
|
15
|
+
return new Intl.NumberFormat(locale, {
|
|
16
|
+
minimumFractionDigits: PsFieldInputConfig.moneyFractionDigits,
|
|
17
|
+
maximumFractionDigits: PsFieldInputConfig.moneyFractionDigits,
|
|
18
|
+
}).format(Number(value));
|
|
19
|
+
}
|
|
20
|
+
static currencySymbol(currency, locale) {
|
|
21
|
+
try {
|
|
22
|
+
const part = new Intl.NumberFormat(locale, { style: 'currency', currency })
|
|
23
|
+
.formatToParts(0)
|
|
24
|
+
.find((candidate) => candidate.type === 'currency');
|
|
25
|
+
return part === undefined ? currency : part.value;
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
return currency;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pallasoft/ps-internal-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./theme.css": "./src/styles/theme.css",
|
|
15
|
+
"./tailwind-preset": {
|
|
16
|
+
"types": "./dist/pallasoft-internal-tailwind-preset.d.ts",
|
|
17
|
+
"import": "./dist/pallasoft-internal-tailwind-preset.js",
|
|
18
|
+
"default": "./dist/pallasoft-internal-tailwind-preset.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"/dist",
|
|
23
|
+
"/src/styles"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"husky:prepare": "npx husky",
|
|
27
|
+
"build": "tsc",
|
|
28
|
+
"setup:graphify": "sh scripts/graphify-setup.sh",
|
|
29
|
+
"update:graphify": "sh scripts/graphify-update.sh",
|
|
30
|
+
"lint": "npm run lint:eslint",
|
|
31
|
+
"lint:fix": "npm run lint:eslint:fix",
|
|
32
|
+
"format:check": "npx prettier --check --ignore-unknown \"src/**/*.{ts,tsx,json,md}\"",
|
|
33
|
+
"format:prettier": "npx prettier --write \"src/**/*.{ts,tsx,json,md}\"",
|
|
34
|
+
"lint:eslint": "npx eslint \"src/**/*.{ts,tsx}\"",
|
|
35
|
+
"lint:eslint:fix": "npx eslint --fix \"src/**/*.{ts,tsx}\"",
|
|
36
|
+
"release": "semantic-release"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@pallasoft/ps-design-system": "^1.7.0",
|
|
40
|
+
"@pallasoft/ps-utilities": "^2.10.1",
|
|
41
|
+
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
42
|
+
"@radix-ui/react-avatar": "^1.2.6",
|
|
43
|
+
"@radix-ui/react-checkbox": "^1.3.11",
|
|
44
|
+
"@radix-ui/react-dialog": "^1.1.23",
|
|
45
|
+
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
46
|
+
"@radix-ui/react-label": "^2.1.15",
|
|
47
|
+
"@radix-ui/react-popover": "^1.1.23",
|
|
48
|
+
"@radix-ui/react-progress": "^1.1.16",
|
|
49
|
+
"@radix-ui/react-radio-group": "^1.4.7",
|
|
50
|
+
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
51
|
+
"@radix-ui/react-select": "^2.3.7",
|
|
52
|
+
"@radix-ui/react-separator": "^1.1.15",
|
|
53
|
+
"@radix-ui/react-slot": "^1.3.3",
|
|
54
|
+
"@radix-ui/react-switch": "^1.3.7",
|
|
55
|
+
"@radix-ui/react-tabs": "^1.1.21",
|
|
56
|
+
"@radix-ui/react-toggle": "^1.1.18",
|
|
57
|
+
"@radix-ui/react-toggle-group": "^1.1.19",
|
|
58
|
+
"@radix-ui/react-tooltip": "^1.2.16",
|
|
59
|
+
"class-variance-authority": "^0.7.1",
|
|
60
|
+
"clsx": "^2.1.1",
|
|
61
|
+
"cmdk": "^1.1.1",
|
|
62
|
+
"lucide-react": "^1.46.0",
|
|
63
|
+
"react-day-picker": "^9.14.0",
|
|
64
|
+
"recharts": "^2.15.4",
|
|
65
|
+
"tailwind-merge": "^2.6.1",
|
|
66
|
+
"tailwindcss-animate": "^1.0.7"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@pallasoft/ps-design-system": "^1.7.0",
|
|
70
|
+
"react": "^18 || ^19",
|
|
71
|
+
"react-dom": "^18 || ^19"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@commitlint/cli": "^20.1.0",
|
|
75
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
76
|
+
"@eslint/compat": "^2.0.0",
|
|
77
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
78
|
+
"@pallasoft/ps-design-system": "^1.7.0",
|
|
79
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
80
|
+
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
81
|
+
"@semantic-release/git": "^10.0.1",
|
|
82
|
+
"@semantic-release/github": "^11.0.1",
|
|
83
|
+
"@semantic-release/npm": "^12.0.0",
|
|
84
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
85
|
+
"@types/react": "^18.3.28",
|
|
86
|
+
"@types/react-dom": "^18.3.7",
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
88
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
89
|
+
"commitlint": "^20.1.0",
|
|
90
|
+
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
91
|
+
"eslint": "^9.39.1",
|
|
92
|
+
"eslint-config-prettier": "^10.1.8",
|
|
93
|
+
"eslint-plugin-import": "^2.32.0",
|
|
94
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
95
|
+
"husky": "^9.1.7",
|
|
96
|
+
"lint-staged": "^16.2.7",
|
|
97
|
+
"prettier": "^3.6.2",
|
|
98
|
+
"react": "^18.3.1",
|
|
99
|
+
"react-dom": "^18.3.1",
|
|
100
|
+
"semantic-release": "^24.2.0",
|
|
101
|
+
"ts-node": "^10.9.2",
|
|
102
|
+
"typescript": "^5.9.3"
|
|
103
|
+
},
|
|
104
|
+
"publishConfig": {
|
|
105
|
+
"access": "public",
|
|
106
|
+
"registry": "https://registry.npmjs.org/"
|
|
107
|
+
},
|
|
108
|
+
"description": "Shared Pallasoft internal UI: app header, app switcher and shadcn primitives for staff tools"
|
|
109
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
@layer base {
|
|
6
|
+
:root {
|
|
7
|
+
--background: oklch(0.985 0 0);
|
|
8
|
+
--foreground: oklch(0.145 0 0);
|
|
9
|
+
--card: oklch(1 0 0);
|
|
10
|
+
--card-foreground: oklch(0.145 0 0);
|
|
11
|
+
--popover: oklch(1 0 0);
|
|
12
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
13
|
+
--primary: oklch(0.18 0 0);
|
|
14
|
+
--primary-hover: oklch(0.24 0 0);
|
|
15
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
16
|
+
--secondary: oklch(0.955 0 0);
|
|
17
|
+
--secondary-foreground: oklch(0.145 0 0);
|
|
18
|
+
--muted: oklch(0.965 0 0);
|
|
19
|
+
--muted-foreground: oklch(0.45 0 0);
|
|
20
|
+
--accent: oklch(0.965 0 0);
|
|
21
|
+
--accent-foreground: oklch(0.145 0 0);
|
|
22
|
+
--destructive: oklch(0.61 0.21 25);
|
|
23
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
24
|
+
--destructive-muted: oklch(0.95 0.035 25);
|
|
25
|
+
--warning: oklch(0.72 0.16 70);
|
|
26
|
+
--warning-foreground: oklch(0.28 0.06 58);
|
|
27
|
+
--warning-muted: oklch(0.96 0.045 82);
|
|
28
|
+
--success: oklch(0.59 0.13 150);
|
|
29
|
+
--success-foreground: oklch(0.22 0.06 150);
|
|
30
|
+
--success-muted: oklch(0.95 0.04 150);
|
|
31
|
+
--info: oklch(0.55 0.14 250);
|
|
32
|
+
--border: oklch(0.89 0 0);
|
|
33
|
+
--input: oklch(0.89 0 0);
|
|
34
|
+
--ring: oklch(0.145 0 0);
|
|
35
|
+
--chart-1: oklch(0.18 0 0);
|
|
36
|
+
--chart-2: oklch(0.35 0 0);
|
|
37
|
+
--chart-3: oklch(0.5 0 0);
|
|
38
|
+
--chart-4: oklch(0.7 0 0);
|
|
39
|
+
--chart-5: oklch(0.82 0 0);
|
|
40
|
+
--radius: 0.75rem;
|
|
41
|
+
--sidebar: oklch(0.99 0 0);
|
|
42
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
43
|
+
--sidebar-primary: oklch(0.145 0 0);
|
|
44
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
45
|
+
--sidebar-accent: oklch(0.975 0 0);
|
|
46
|
+
--sidebar-accent-foreground: oklch(0.145 0 0);
|
|
47
|
+
--sidebar-border: oklch(0.9 0 0);
|
|
48
|
+
--sidebar-ring: oklch(0.145 0 0);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.dark {
|
|
52
|
+
--background: oklch(0.16 0.018 260);
|
|
53
|
+
--foreground: oklch(0.97 0.006 255);
|
|
54
|
+
--card: oklch(0.2 0.02 260);
|
|
55
|
+
--card-foreground: oklch(0.97 0.006 255);
|
|
56
|
+
--popover: oklch(0.2 0.02 260);
|
|
57
|
+
--popover-foreground: oklch(0.97 0.006 255);
|
|
58
|
+
--primary: oklch(0.72 0.16 286);
|
|
59
|
+
--primary-hover: oklch(0.78 0.14 286);
|
|
60
|
+
--primary-foreground: oklch(0.17 0.025 286);
|
|
61
|
+
--secondary: oklch(0.25 0.022 260);
|
|
62
|
+
--secondary-foreground: oklch(0.96 0.006 255);
|
|
63
|
+
--muted: oklch(0.25 0.022 260);
|
|
64
|
+
--muted-foreground: oklch(0.72 0.02 255);
|
|
65
|
+
--accent: oklch(0.28 0.05 286);
|
|
66
|
+
--accent-foreground: oklch(0.94 0.025 286);
|
|
67
|
+
--destructive: oklch(0.7 0.18 25);
|
|
68
|
+
--destructive-foreground: oklch(0.98 0.012 25);
|
|
69
|
+
--destructive-muted: oklch(0.28 0.07 25);
|
|
70
|
+
--warning: oklch(0.78 0.15 76);
|
|
71
|
+
--warning-foreground: oklch(0.22 0.055 58);
|
|
72
|
+
--warning-muted: oklch(0.28 0.06 76);
|
|
73
|
+
--success: oklch(0.72 0.13 150);
|
|
74
|
+
--success-foreground: oklch(0.18 0.05 150);
|
|
75
|
+
--success-muted: oklch(0.25 0.055 150);
|
|
76
|
+
--info: oklch(0.72 0.12 245);
|
|
77
|
+
--border: oklch(1 0 0 / 12%);
|
|
78
|
+
--input: oklch(1 0 0 / 16%);
|
|
79
|
+
--ring: oklch(0.72 0.16 286);
|
|
80
|
+
--chart-1: oklch(0.72 0.16 286);
|
|
81
|
+
--chart-2: oklch(0.72 0.12 245);
|
|
82
|
+
--chart-3: oklch(0.72 0.13 150);
|
|
83
|
+
--chart-4: oklch(0.78 0.15 76);
|
|
84
|
+
--chart-5: oklch(0.7 0.18 25);
|
|
85
|
+
--sidebar: oklch(0.19 0.018 260);
|
|
86
|
+
--sidebar-foreground: oklch(0.97 0.006 255);
|
|
87
|
+
--sidebar-primary: oklch(0.72 0.16 286);
|
|
88
|
+
--sidebar-primary-foreground: oklch(0.17 0.025 286);
|
|
89
|
+
--sidebar-accent: oklch(0.27 0.04 286);
|
|
90
|
+
--sidebar-accent-foreground: oklch(0.94 0.025 286);
|
|
91
|
+
--sidebar-border: oklch(1 0 0 / 12%);
|
|
92
|
+
--sidebar-ring: oklch(0.72 0.16 286);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
* {
|
|
96
|
+
@apply border-border;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
html {
|
|
100
|
+
@apply bg-background font-sans text-foreground antialiased;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
body {
|
|
104
|
+
@apply min-h-screen bg-background text-foreground;
|
|
105
|
+
background-image: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 34%);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
button,
|
|
109
|
+
input,
|
|
110
|
+
select,
|
|
111
|
+
textarea {
|
|
112
|
+
font: inherit;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
label {
|
|
116
|
+
@apply text-body-3 leading-none text-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-70;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
input:where(:not([type='hidden'], [type='checkbox'], [type='range'])),
|
|
120
|
+
select {
|
|
121
|
+
@apply flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-body-3 shadow-sm transition-colors file:border-0 file:bg-transparent file:text-body-3 placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
textarea {
|
|
125
|
+
@apply flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-body-3 shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
input:where([type='checkbox']) {
|
|
129
|
+
@apply h-4 w-4 shrink-0 rounded-sm border border-input bg-background text-primary shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@layer utilities {
|
|
134
|
+
*::-webkit-scrollbar {
|
|
135
|
+
@apply h-1.5 w-1.5;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
*::-webkit-scrollbar-thumb {
|
|
139
|
+
border-radius: 0.375rem;
|
|
140
|
+
background-color: color-mix(in oklch, var(--muted-foreground) 40%, transparent);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
*::-webkit-scrollbar-track {
|
|
144
|
+
@apply bg-transparent;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.scrollbars-green::-webkit-scrollbar-thumb {
|
|
148
|
+
@apply !bg-success;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.scrollbars-none::-webkit-scrollbar {
|
|
152
|
+
display: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.scrollbars-none {
|
|
156
|
+
-ms-overflow-style: none;
|
|
157
|
+
scrollbar-width: none;
|
|
158
|
+
}
|
|
159
|
+
}
|