@cjlapao/ui-kit-vue 0.2.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/README.md +61 -0
- package/dist/index.cjs +33 -0
- package/dist/index.css +21952 -0
- package/dist/index.js +23520 -0
- package/dist/types/common/theme/ButtonTypes.d.ts +4 -0
- package/dist/types/common/theme/Theme.d.ts +162 -0
- package/dist/types/common/theme/glass.d.ts +59 -0
- package/dist/types/common/theme/randomThemeColor.d.ts +38 -0
- package/dist/types/common/types/App.d.ts +18 -0
- package/dist/types/common/types/CapsuleBlueprint.d.ts +25 -0
- package/dist/types/common/types/Variables.d.ts +11 -0
- package/dist/types/common/utils/bytesUtils.d.ts +50 -0
- package/dist/types/common/utils/dependencyUtils.d.ts +35 -0
- package/dist/types/common/utils/durationUtils.d.ts +49 -0
- package/dist/types/common/utils/focusUtils.d.ts +27 -0
- package/dist/types/common/utils/gravatar.d.ts +11 -0
- package/dist/types/common/utils/iconUtils.d.ts +4 -0
- package/dist/types/common/utils/smartVariables.d.ts +23 -0
- package/dist/types/common/utils/stringUtils.d.ts +7 -0
- package/dist/types/react/src/components/TreeView/toneColors.d.ts +14 -0
- package/dist/types/react/src/theme/Theme.d.ts +1 -0
- package/dist/types/vue/src/components/AccessMatrix.vue.d.ts +38 -0
- package/dist/types/vue/src/components/Accordion.vue.d.ts +63 -0
- package/dist/types/vue/src/components/Alert.vue.d.ts +31 -0
- package/dist/types/vue/src/components/ApiErrorState.vue.d.ts +27 -0
- package/dist/types/vue/src/components/AppDivider.vue.d.ts +10 -0
- package/dist/types/vue/src/components/Badge.vue.d.ts +27 -0
- package/dist/types/vue/src/components/BadgeIcon.vue.d.ts +52 -0
- package/dist/types/vue/src/components/Button.test.d.ts +1 -0
- package/dist/types/vue/src/components/Button.vue.d.ts +65 -0
- package/dist/types/vue/src/components/ButtonSelector.vue.d.ts +44 -0
- package/dist/types/vue/src/components/Checkbox.vue.d.ts +71 -0
- package/dist/types/vue/src/components/CollapsibleHelpText.vue.d.ts +29 -0
- package/dist/types/vue/src/components/CollapsiblePanel.vue.d.ts +50 -0
- package/dist/types/vue/src/components/Combobox.vue.d.ts +23 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlow.vue.d.ts +27 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowColumn.vue.d.ts +45 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowConnector.vue.d.ts +103 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowParallelGroup.vue.d.ts +17 -0
- package/dist/types/vue/src/components/ConnectionFlow/index.d.ts +5 -0
- package/dist/types/vue/src/components/ConnectionFlow/types.d.ts +220 -0
- package/dist/types/vue/src/components/CustomIcon.vue.d.ts +24 -0
- package/dist/types/vue/src/components/DetailItemCard.vue.d.ts +25 -0
- package/dist/types/vue/src/components/DropdownButton.vue.d.ts +45 -0
- package/dist/types/vue/src/components/DropdownMenu.vue.d.ts +33 -0
- package/dist/types/vue/src/components/DynamicFormField.vue.d.ts +16 -0
- package/dist/types/vue/src/components/DynamicImg.vue.d.ts +11 -0
- package/dist/types/vue/src/components/EmptyState.vue.d.ts +53 -0
- package/dist/types/vue/src/components/FormField.vue.d.ts +43 -0
- package/dist/types/vue/src/components/FormLayout.vue.d.ts +20 -0
- package/dist/types/vue/src/components/FormSection.vue.d.ts +23 -0
- package/dist/types/vue/src/components/GlassBackground.vue.d.ts +51 -0
- package/dist/types/vue/src/components/GlassPanel.vue.d.ts +24 -0
- package/dist/types/vue/src/components/HeaderGroup.vue.d.ts +11 -0
- package/dist/types/vue/src/components/HelpButton.vue.d.ts +44 -0
- package/dist/types/vue/src/components/Hero.vue.d.ts +51 -0
- package/dist/types/vue/src/components/IconButton.test.d.ts +1 -0
- package/dist/types/vue/src/components/IconButton.vue.d.ts +51 -0
- package/dist/types/vue/src/components/InfiniteScrollPanel.vue.d.ts +41 -0
- package/dist/types/vue/src/components/InfoRow.vue.d.ts +113 -0
- package/dist/types/vue/src/components/InlinePanel.vue.d.ts +269 -0
- package/dist/types/vue/src/components/Input.vue.d.ts +39 -0
- package/dist/types/vue/src/components/InputGroup.vue.d.ts +27 -0
- package/dist/types/vue/src/components/KeyValueArrayField.vue.d.ts +21 -0
- package/dist/types/vue/src/components/Loader.vue.d.ts +39 -0
- package/dist/types/vue/src/components/MarkdownEditor.vue.d.ts +39 -0
- package/dist/types/vue/src/components/MetricBar.vue.d.ts +14 -0
- package/dist/types/vue/src/components/Modal.vue.d.ts +369 -0
- package/dist/types/vue/src/components/MultiProgressBar.vue.d.ts +30 -0
- package/dist/types/vue/src/components/MultiSelectPills.vue.d.ts +85 -0
- package/dist/types/vue/src/components/MultiToggle.vue.d.ts +49 -0
- package/dist/types/vue/src/components/NotificationModal.vue.d.ts +29 -0
- package/dist/types/vue/src/components/PagedPanel.vue.d.ts +41 -0
- package/dist/types/vue/src/components/Panel.vue.d.ts +151 -0
- package/dist/types/vue/src/components/PasswordInput.vue.d.ts +6 -0
- package/dist/types/vue/src/components/Picker.vue.d.ts +84 -0
- package/dist/types/vue/src/components/Pill.vue.d.ts +30 -0
- package/dist/types/vue/src/components/Progress.vue.d.ts +29 -0
- package/dist/types/vue/src/components/SearchBar.vue.d.ts +51 -0
- package/dist/types/vue/src/components/Section.vue.d.ts +72 -0
- package/dist/types/vue/src/components/SectionCard.vue.d.ts +35 -0
- package/dist/types/vue/src/components/Select.vue.d.ts +41 -0
- package/dist/types/vue/src/components/SideMenu.vue.d.ts +119 -0
- package/dist/types/vue/src/components/SideMenuLayout.vue.d.ts +31 -0
- package/dist/types/vue/src/components/SidePanel.vue.d.ts +56 -0
- package/dist/types/vue/src/components/SmartGridLayout.vue.d.ts +69 -0
- package/dist/types/vue/src/components/SmartInput.vue.d.ts +26 -0
- package/dist/types/vue/src/components/SmartValue.vue.d.ts +20 -0
- package/dist/types/vue/src/components/Spinner.vue.d.ts +21 -0
- package/dist/types/vue/src/components/SplitView.vue.d.ts +224 -0
- package/dist/types/vue/src/components/StartupStageStepper.vue.d.ts +25 -0
- package/dist/types/vue/src/components/StatChartTile.vue.d.ts +28 -0
- package/dist/types/vue/src/components/StatCountTile.vue.d.ts +44 -0
- package/dist/types/vue/src/components/StatGoalTile.vue.d.ts +25 -0
- package/dist/types/vue/src/components/StatGraphTile.vue.d.ts +52 -0
- package/dist/types/vue/src/components/StatTile.vue.d.ts +69 -0
- package/dist/types/vue/src/components/StatusSpinner.vue.d.ts +17 -0
- package/dist/types/vue/src/components/Stepper.vue.d.ts +84 -0
- package/dist/types/vue/src/components/Table.vue.d.ts +245 -0
- package/dist/types/vue/src/components/Tabs.vue.d.ts +74 -0
- package/dist/types/vue/src/components/TagPanel.vue.d.ts +61 -0
- package/dist/types/vue/src/components/TagPicker.vue.d.ts +93 -0
- package/dist/types/vue/src/components/Textarea.vue.d.ts +26 -0
- package/dist/types/vue/src/components/TimelinePanel/TimelinePanel.vue.d.ts +23 -0
- package/dist/types/vue/src/components/TimelinePanel/index.d.ts +2 -0
- package/dist/types/vue/src/components/TimelinePanel/types.d.ts +83 -0
- package/dist/types/vue/src/components/Toggle.test.d.ts +1 -0
- package/dist/types/vue/src/components/Toggle.vue.d.ts +68 -0
- package/dist/types/vue/src/components/Tooltip.vue.d.ts +25 -0
- package/dist/types/vue/src/components/TooltipWrapper.vue.d.ts +14 -0
- package/dist/types/vue/src/components/TreeView/TreeFlowSvg.vue.d.ts +23 -0
- package/dist/types/vue/src/components/TreeView/TreeItemCard.vue.d.ts +44 -0
- package/dist/types/vue/src/components/TreeView/TreeItemRow.vue.d.ts +27 -0
- package/dist/types/vue/src/components/TreeView/TreeLevel.vue.d.ts +16 -0
- package/dist/types/vue/src/components/TreeView/TreeView.vue.d.ts +39 -0
- package/dist/types/vue/src/components/TreeView/index.d.ts +5 -0
- package/dist/types/vue/src/components/TreeView/toneColors.d.ts +1 -0
- package/dist/types/vue/src/components/TreeView/types.d.ts +135 -0
- package/dist/types/vue/src/components/TruncatedText.vue.d.ts +24 -0
- package/dist/types/vue/src/components/UserAvatar.vue.d.ts +16 -0
- package/dist/types/vue/src/components/VariablePicker.vue.d.ts +14 -0
- package/dist/types/vue/src/components/index.d.ts +79 -0
- package/dist/types/vue/src/components/internal/VNodeRenderer.d.ts +21 -0
- package/dist/types/vue/src/composables/index.d.ts +4 -0
- package/dist/types/vue/src/composables/useAccordion.d.ts +21 -0
- package/dist/types/vue/src/composables/useResizable.d.ts +34 -0
- package/dist/types/vue/src/composables/useStepper.d.ts +29 -0
- package/dist/types/vue/src/composables/useTheme.d.ts +24 -0
- package/dist/types/vue/src/contexts/BottomSheetContext.d.ts +15 -0
- package/dist/types/vue/src/contexts/IconContext.d.ts +33 -0
- package/dist/types/vue/src/contexts/SideMenuActionsContext.d.ts +46 -0
- package/dist/types/vue/src/contexts/index.d.ts +2 -0
- package/dist/types/vue/src/icons/components/Add.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Apple.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowChevronLeft.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowChevronRight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowDown.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowLeft.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowRight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowUp.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Artifactory.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Attached.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Attachment.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Aws.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Azure.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Back.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Blueprint.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Bug.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Cache.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Calendar.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CatalogManifest.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CatalogVersion.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CentOS.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Chat.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Check.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CheckCircle.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ChevronLeft.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ChevronRight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Claim.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Claims.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Clean.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CleanBrush.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Clone.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Close.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Close1.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CloudOff.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Cog.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Complete.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Container.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Copy.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CopyClipboard.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Dashboard.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Database.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Debian.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Details.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Docker.d.ts +3 -0
- package/dist/types/vue/src/icons/components/DockerCopy.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Dots.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Download.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Drag.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Edit.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Equal.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Error.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Export.d.ts +3 -0
- package/dist/types/vue/src/icons/components/EyeClosed.d.ts +3 -0
- package/dist/types/vue/src/icons/components/EyeOpen.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Fedora.d.ts +3 -0
- package/dist/types/vue/src/icons/components/File.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Folder.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Globe.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Group.d.ts +3 -0
- package/dist/types/vue/src/icons/components/HealthCheck.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Help.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Host.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Idea.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Image.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Info.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Jobs.d.ts +3 -0
- package/dist/types/vue/src/icons/components/KaliLinux.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Key.d.ts +3 -0
- package/dist/types/vue/src/icons/components/KeyManagement.d.ts +3 -0
- package/dist/types/vue/src/icons/components/LXC.d.ts +3 -0
- package/dist/types/vue/src/icons/components/LXCOld.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Library.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Live.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Log.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Login.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Logout.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Minio.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Moon.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Notification.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Official.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Offline.d.ts +3 -0
- package/dist/types/vue/src/icons/components/OpenApp.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Orchestrator.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Parameter.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Pause.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Pin.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Podman.d.ts +3 -0
- package/dist/types/vue/src/icons/components/PodmanDesktop.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Praise.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Pull.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Push.d.ts +3 -0
- package/dist/types/vue/src/icons/components/RedHat.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Refresh.d.ts +3 -0
- package/dist/types/vue/src/icons/components/RemoteHost.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReportFeedback.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Reset.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Restart.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxy.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyCORS.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyFrom.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyHTTP.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyHeadersRequest.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyHeadersResponse.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyRoutes.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyTCP.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyTLS.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyTo.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxy_Old.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Revert.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Revoke.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Rocket.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Role.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Roles.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Run.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Save.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Scale.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Script.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Search.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Send.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Settings.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Shop.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Snapshot.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Star.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Stop.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Sun.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Suspend.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Taint.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ThemeAuto.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ThemeDark.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ThemeLight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Trash.d.ts +3 -0
- package/dist/types/vue/src/icons/components/UX.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Ubuntu.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Unlock.d.ts +3 -0
- package/dist/types/vue/src/icons/components/User.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Users.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Verified.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ViewGrid.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ViewRows.d.ts +3 -0
- package/dist/types/vue/src/icons/components/VirtualMachine.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Warning.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Windows.d.ts +3 -0
- package/dist/types/vue/src/icons/index.d.ts +140 -0
- package/dist/types/vue/src/icons/registry.d.ts +3 -0
- package/dist/types/vue/src/index.d.ts +16 -0
- package/dist/types/vue/src/test-setup.d.ts +0 -0
- package/dist/types/vue/src/theme/ButtonTypes.d.ts +1 -0
- package/dist/types/vue/src/theme/Theme.d.ts +1 -0
- package/dist/types/vue/src/theme/glass.d.ts +1 -0
- package/dist/types/vue/src/theme/index.d.ts +3 -0
- package/dist/types/vue/src/theme/randomThemeColor.d.ts +1 -0
- package/dist/types/vue/src/types/App.d.ts +1 -0
- package/dist/types/vue/src/types/BottomSheetContext.d.ts +22 -0
- package/dist/types/vue/src/types/CapsuleBlueprint.d.ts +1 -0
- package/dist/types/vue/src/types/Icon.d.ts +15 -0
- package/dist/types/vue/src/types/Toast.d.ts +38 -0
- package/dist/types/vue/src/types/Variables.d.ts +1 -0
- package/dist/types/vue/src/types/index.d.ts +6 -0
- package/dist/types/vue/src/utils/attrsUtils.d.ts +15 -0
- package/dist/types/vue/src/utils/bytesUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/dependencyUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/durationUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/focusUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/gravatar.d.ts +1 -0
- package/dist/types/vue/src/utils/iconUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/index.d.ts +10 -0
- package/dist/types/vue/src/utils/renderIcon.d.ts +2 -0
- package/dist/types/vue/src/utils/smartVariables.d.ts +1 -0
- package/dist/types/vue/src/utils/stringUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/toastUtils.d.ts +2 -0
- package/dist/ui-kit-vue.css +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme/Theme";
|
|
2
|
+
export type StatusSpinnerIntent = TrueColor;
|
|
3
|
+
export type StatusSpinnerSize = "xs" | "sm" | "md" | "lg";
|
|
4
|
+
export interface StatusSpinnerProps {
|
|
5
|
+
intent?: StatusSpinnerIntent;
|
|
6
|
+
size?: StatusSpinnerSize;
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<StatusSpinnerProps, {
|
|
11
|
+
el: import("vue").Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatusSpinnerProps> & Readonly<{}>, {
|
|
13
|
+
size: StatusSpinnerSize;
|
|
14
|
+
intent: StatusSpinnerIntent;
|
|
15
|
+
animated: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { VNode, VNodeChild } from "vue";
|
|
2
|
+
import type { PanelTone } from "./Panel.vue";
|
|
3
|
+
import type { LoaderProps } from "./Loader.vue";
|
|
4
|
+
import type { IconName } from "../icons/registry";
|
|
5
|
+
export type StepStatus = "pending" | "active" | "completed" | "error";
|
|
6
|
+
export interface StepperStep {
|
|
7
|
+
id?: string;
|
|
8
|
+
title: string | VNode;
|
|
9
|
+
subtitle?: string | VNode;
|
|
10
|
+
description?: string | VNode;
|
|
11
|
+
content?: string | VNode;
|
|
12
|
+
icon?: IconName | VNode;
|
|
13
|
+
optionalLabel?: string | VNode;
|
|
14
|
+
status?: StepStatus;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export type Step = StepperStep;
|
|
18
|
+
export type StepperOrientation = "horizontal" | "vertical";
|
|
19
|
+
export type StepperVariant = "card" | "minimal";
|
|
20
|
+
export type StepperSize = "sm" | "md" | "lg";
|
|
21
|
+
export type StepperConnector = "line" | "progress" | "none";
|
|
22
|
+
export type StepperProgressBarPosition = "top" | "bottom";
|
|
23
|
+
export type StepperConnectorAlign = "left" | "center" | "right";
|
|
24
|
+
export interface StepperProps {
|
|
25
|
+
steps: StepperStep[];
|
|
26
|
+
currentIndex?: number;
|
|
27
|
+
currentStepId?: string;
|
|
28
|
+
defaultCurrentIndex?: number;
|
|
29
|
+
defaultCurrentStepId?: string;
|
|
30
|
+
completedStepIds?: string[];
|
|
31
|
+
orientation?: StepperOrientation;
|
|
32
|
+
variant?: StepperVariant;
|
|
33
|
+
size?: StepperSize;
|
|
34
|
+
tone?: PanelTone;
|
|
35
|
+
connector?: StepperConnector;
|
|
36
|
+
interactive?: boolean;
|
|
37
|
+
readOnly?: boolean;
|
|
38
|
+
animated?: boolean;
|
|
39
|
+
transitionMs?: number;
|
|
40
|
+
showProgressSummary?: boolean;
|
|
41
|
+
showProgressBar?: boolean;
|
|
42
|
+
progressBarPosition?: "top" | "bottom";
|
|
43
|
+
progressPrecision?: number;
|
|
44
|
+
progressLabel?: string | VNode;
|
|
45
|
+
renderActions?: (step: StepperStep, index: number) => VNodeChild;
|
|
46
|
+
loaderStepIds?: string[];
|
|
47
|
+
loading?: boolean;
|
|
48
|
+
loaderTitle?: string | VNode;
|
|
49
|
+
loaderMessage?: string | VNode;
|
|
50
|
+
loaderType?: LoaderProps["variant"];
|
|
51
|
+
loaderProgress?: number;
|
|
52
|
+
loaderColor?: LoaderProps["color"];
|
|
53
|
+
wrapperClassName?: string;
|
|
54
|
+
headerClassName?: string;
|
|
55
|
+
stepClassName?: string;
|
|
56
|
+
contentClassName?: string;
|
|
57
|
+
stepMaxHeight?: number | string;
|
|
58
|
+
connectNodes?: boolean;
|
|
59
|
+
connectorAlign?: StepperConnectorAlign;
|
|
60
|
+
/** Override whether the underline bar is shown beneath each step's title/subtitle. When omitted the variant default is used (`card` → true, `minimal` → false). */
|
|
61
|
+
showStepUnderline?: boolean;
|
|
62
|
+
}
|
|
63
|
+
declare const _default: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
64
|
+
change: (index: number, stepId?: string | undefined) => any;
|
|
65
|
+
stepClick: (step: StepperStep, index: number) => any;
|
|
66
|
+
}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{
|
|
67
|
+
onChange?: ((index: number, stepId?: string | undefined) => any) | undefined;
|
|
68
|
+
onStepClick?: ((step: StepperStep, index: number) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
tone: PanelTone;
|
|
71
|
+
variant: StepperVariant;
|
|
72
|
+
size: StepperSize;
|
|
73
|
+
loading: boolean;
|
|
74
|
+
loaderType: "spinner" | "progress";
|
|
75
|
+
orientation: StepperOrientation;
|
|
76
|
+
connector: StepperConnector;
|
|
77
|
+
interactive: boolean;
|
|
78
|
+
showProgressSummary: boolean;
|
|
79
|
+
showProgressBar: boolean;
|
|
80
|
+
progressPrecision: number;
|
|
81
|
+
connectNodes: boolean;
|
|
82
|
+
connectorAlign: StepperConnectorAlign;
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
84
|
+
export default _default;
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme";
|
|
3
|
+
import type { PanelTone } from "./Panel.vue";
|
|
4
|
+
type SortDirection = "asc" | "desc";
|
|
5
|
+
export interface TableSortState {
|
|
6
|
+
columnId: string;
|
|
7
|
+
direction: SortDirection;
|
|
8
|
+
}
|
|
9
|
+
export interface TablePaginationState {
|
|
10
|
+
page: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
total: number;
|
|
13
|
+
onPageChange: (page: number) => void;
|
|
14
|
+
onPageSizeChange: (pageSize: number) => void;
|
|
15
|
+
}
|
|
16
|
+
/** Unified snapshot of all user-configurable table preferences. */
|
|
17
|
+
export interface TableSettings {
|
|
18
|
+
columnVisibility?: Record<string, boolean>;
|
|
19
|
+
columnWidths?: Record<string, number>;
|
|
20
|
+
activeView?: "table" | "panel";
|
|
21
|
+
groupBy?: string | null;
|
|
22
|
+
showGroupHeader?: boolean;
|
|
23
|
+
stickyColumns?: Record<string, "left" | "right">;
|
|
24
|
+
}
|
|
25
|
+
type AccessorFn<T> = (row: T, index: number) => VNodeChild;
|
|
26
|
+
export interface TableColumn<T> {
|
|
27
|
+
id: string;
|
|
28
|
+
header: VNodeChild;
|
|
29
|
+
accessor?: keyof T | AccessorFn<T>;
|
|
30
|
+
render?: (row: T, index: number) => VNodeChild;
|
|
31
|
+
/** Override the value used for sorting when render returns a non-primitive (e.g. an icon). */
|
|
32
|
+
sortValue?: (row: T) => string | number;
|
|
33
|
+
width?: string | number;
|
|
34
|
+
minWidth?: string | number;
|
|
35
|
+
maxWidth?: string | number;
|
|
36
|
+
align?: "left" | "center" | "right";
|
|
37
|
+
sortable?: boolean;
|
|
38
|
+
tooltip?: string;
|
|
39
|
+
className?: string;
|
|
40
|
+
headerClassName?: string;
|
|
41
|
+
sticky?: "left" | "right";
|
|
42
|
+
/** When true, this column is excluded from user preference menus (hide/show, group-by, sticky). */
|
|
43
|
+
isActionsColumn?: boolean;
|
|
44
|
+
/** When true, the column starts hidden by default but can still be enabled from the Columns menu. */
|
|
45
|
+
defaultHidden?: boolean;
|
|
46
|
+
/** When false, this column cannot be hidden via the column visibility toggle. Defaults to true. */
|
|
47
|
+
hideable?: boolean;
|
|
48
|
+
/** When false, this column will not appear in the group-by picker. Defaults to true. */
|
|
49
|
+
groupable?: boolean;
|
|
50
|
+
/** When false, this column cannot be resized even when `resizableColumns` is set on the table. Defaults to true. */
|
|
51
|
+
resizable?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Returns a plain string used as the group key and header label when this column is the active
|
|
54
|
+
* group-by. Use this when `render` returns VNodes (which would otherwise give "[object Object]").
|
|
55
|
+
* Falls back to: accessor result → sortValue → render result (only if a primitive string/number).
|
|
56
|
+
*/
|
|
57
|
+
groupValue?: (row: T) => string;
|
|
58
|
+
/**
|
|
59
|
+
* Background Tailwind class(es) applied to sticky cells so they remain opaque over scrolled
|
|
60
|
+
* content. Defaults to `'bg-white dark:bg-neutral-900'`. Pass `'bg-transparent'` to let the
|
|
61
|
+
* row/table background show through instead.
|
|
62
|
+
*/
|
|
63
|
+
stickyBackground?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Per-row variant of `stickyBackground`. When provided, takes precedence over `stickyBackground`
|
|
66
|
+
* for the matching row. Return `undefined` to fall back to the static `stickyBackground`.
|
|
67
|
+
*/
|
|
68
|
+
stickyBackgroundFn?: (row: T, index: number) => string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export type Column<T> = TableColumn<T>;
|
|
71
|
+
export type TableVariant = "default" | "compact" | "minimal" | "bordered" | "flat";
|
|
72
|
+
export interface TableProps<T> {
|
|
73
|
+
columns?: TableColumn<T>[];
|
|
74
|
+
data: T[];
|
|
75
|
+
selectedItems?: T[];
|
|
76
|
+
rowKey?: (row: T, index: number) => string | number;
|
|
77
|
+
variant?: TableVariant;
|
|
78
|
+
tone?: PanelTone;
|
|
79
|
+
/** Theme color applied to action buttons, sort indicators, group dot, badges, and pagination. */
|
|
80
|
+
color?: TrueColor;
|
|
81
|
+
striped?: boolean;
|
|
82
|
+
noBorders?: boolean;
|
|
83
|
+
hoverable?: boolean;
|
|
84
|
+
stickyHeader?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* When true, the last column is pinned to the right edge and stays visible
|
|
87
|
+
* while the other columns scroll horizontally. A left border separator is
|
|
88
|
+
* added automatically to distinguish it from the scrolling content.
|
|
89
|
+
*/
|
|
90
|
+
stickyActions?: boolean;
|
|
91
|
+
loading?: boolean;
|
|
92
|
+
loadingMessage?: string;
|
|
93
|
+
loaderType?: "spinner" | "progress";
|
|
94
|
+
loaderProgress?: number;
|
|
95
|
+
emptyState?: VNodeChild;
|
|
96
|
+
sortState?: TableSortState;
|
|
97
|
+
defaultSort?: TableSortState;
|
|
98
|
+
headerActions?: VNodeChild;
|
|
99
|
+
footer?: VNodeChild;
|
|
100
|
+
pagination?: TablePaginationState;
|
|
101
|
+
maxHeight?: string | number;
|
|
102
|
+
rowClassName?: (row: T, index: number) => string;
|
|
103
|
+
/** When provided and returns true for a row, that row is rendered with an intense accent background and a pulsing left-border indicator to signal new/updated content. */
|
|
104
|
+
rowHighlight?: (row: T, index: number) => boolean;
|
|
105
|
+
tableClassName?: string;
|
|
106
|
+
bodyClassName?: string;
|
|
107
|
+
fullHeight?: boolean;
|
|
108
|
+
manualSorting?: boolean;
|
|
109
|
+
/** When true, wraps the table in a rounded border regardless of the variant. */
|
|
110
|
+
rounded?: boolean;
|
|
111
|
+
/** Title shown in the header bar alongside headerActions / view toggle. Defaults to empty. */
|
|
112
|
+
headerTitle?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Initial column visibility map (`columnId → visible`).
|
|
115
|
+
* Serialise with `JSON.stringify` to save; parse and pass back to restore.
|
|
116
|
+
*/
|
|
117
|
+
columnVisibility?: Record<string, boolean>;
|
|
118
|
+
/**
|
|
119
|
+
* When true, shows the column visibility toggle button in the header bar.
|
|
120
|
+
* Defaults to false — the icon is hidden unless this prop is explicitly set.
|
|
121
|
+
*/
|
|
122
|
+
showColumnSelector?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Enables drag-to-resize column headers. Each column can opt out via `column.resizable = false`.
|
|
125
|
+
*/
|
|
126
|
+
resizableColumns?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Initial column width map (`columnId → pixels`).
|
|
129
|
+
* Serialise with `JSON.stringify` to save; parse and pass back to restore.
|
|
130
|
+
*/
|
|
131
|
+
columnWidths?: Record<string, number>;
|
|
132
|
+
/** Renders each row as a panel card. When provided alongside columns, a view toggle appears in the header. */
|
|
133
|
+
panelItem?: (row: T, index: number) => VNodeChild;
|
|
134
|
+
/** Initial view when both columns and panelItem are provided. Defaults to "table". */
|
|
135
|
+
defaultView?: "table" | "panel";
|
|
136
|
+
/** CSS class(es) for the panel grid container. Defaults to a 1–3 column responsive grid. */
|
|
137
|
+
panelGridClassName?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Minimum width of each panel card. The grid uses CSS `auto-fill` to place
|
|
140
|
+
* as many columns as fit the container — adapts to the parent width with no
|
|
141
|
+
* hard breakpoints. Accepts a CSS length string ("280px", "20rem") or a
|
|
142
|
+
* number treated as px. When set, takes precedence over the column layout in
|
|
143
|
+
* `panelGridClassName` (extra classes from `panelGridClassName` still apply).
|
|
144
|
+
*/
|
|
145
|
+
panelMinItemWidth?: string | number;
|
|
146
|
+
/**
|
|
147
|
+
* Gap between panel cards when `panelMinItemWidth` is set. Accepts a CSS
|
|
148
|
+
* length string ("1rem", "16px") or a number treated as px. Defaults to
|
|
149
|
+
* "1rem" (= `gap-4`). The value is applied via inline style so it cannot be
|
|
150
|
+
* accidentally overridden by a conflicting Tailwind class.
|
|
151
|
+
*/
|
|
152
|
+
panelGap?: string | number;
|
|
153
|
+
/**
|
|
154
|
+
* Maximum width of each panel card when `panelMinItemWidth` is set. Prevents cards from
|
|
155
|
+
* growing too wide on large containers. Accepts a CSS length string ("480px", "30rem") or
|
|
156
|
+
* a number treated as px. When omitted, cards stretch to fill available space (`1fr`).
|
|
157
|
+
*/
|
|
158
|
+
panelMaxItemWidth?: string | number;
|
|
159
|
+
/**
|
|
160
|
+
* When provided, the panel view only renders the first row for each unique key value.
|
|
161
|
+
* Use this when `data` is a flattened list but panels should show one card per logical entity.
|
|
162
|
+
* Example: `:panel-deduplicate-by="(row) => row.manifest.id"`
|
|
163
|
+
*/
|
|
164
|
+
panelDeduplicateBy?: (row: T) => string | number;
|
|
165
|
+
/**
|
|
166
|
+
* Column id to group rows by (code-defined).
|
|
167
|
+
* Always applied; the user cannot override this via the UI.
|
|
168
|
+
*/
|
|
169
|
+
groupBy?: string;
|
|
170
|
+
/**
|
|
171
|
+
* When true, a grouping control is shown in the header letting the user
|
|
172
|
+
* configure grouping at runtime. Only effective when `groupBy` is not set.
|
|
173
|
+
*/
|
|
174
|
+
groupable?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Initial user-configured group column id (uncontrolled).
|
|
177
|
+
* Pass the persisted value here on mount to restore previous state.
|
|
178
|
+
* Only used when `groupable` is true and `groupBy` is not set.
|
|
179
|
+
*/
|
|
180
|
+
defaultGroupBy?: string;
|
|
181
|
+
/** Whether to show a header row for each group value. Defaults to true. */
|
|
182
|
+
showGroupHeader?: boolean;
|
|
183
|
+
/** Whether groups start expanded. Defaults to true. */
|
|
184
|
+
defaultGroupExpanded?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* When true, a sticky-column picker is shown in the header bar letting the
|
|
187
|
+
* user pin individual columns to the left or right at runtime.
|
|
188
|
+
*/
|
|
189
|
+
userStickyColumns?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Initial user-configured sticky map (`columnId → 'left' | 'right'`).
|
|
192
|
+
* Pass the persisted value here on mount to restore previous state.
|
|
193
|
+
*/
|
|
194
|
+
defaultStickyColumns?: Record<string, "left" | "right">;
|
|
195
|
+
/**
|
|
196
|
+
* Unified table settings snapshot. Fields here take precedence over the
|
|
197
|
+
* individual initial-value props (`columnVisibility`, `columnWidths`,
|
|
198
|
+
* `defaultView`, `defaultGroupBy`, `defaultStickyColumns`).
|
|
199
|
+
* Pass a previously persisted value to restore all settings on mount.
|
|
200
|
+
*/
|
|
201
|
+
tableSettings?: TableSettings;
|
|
202
|
+
}
|
|
203
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
204
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
205
|
+
readonly onSortChange?: ((sort: TableSortState | null) => any) | undefined;
|
|
206
|
+
readonly onViewChange?: ((view: "panel" | "table") => any) | undefined;
|
|
207
|
+
readonly onColumnVisibilityChange?: ((visibility: Record<string, boolean>) => any) | undefined;
|
|
208
|
+
readonly onColumnWidthChange?: ((widths: Record<string, number>) => any) | undefined;
|
|
209
|
+
readonly onGroupByChange?: ((columnId: string | null) => any) | undefined;
|
|
210
|
+
readonly onStickyColumnsChange?: ((config: Record<string, "left" | "right">) => any) | undefined;
|
|
211
|
+
readonly onTableSettingsChange?: ((settings: TableSettings) => any) | undefined;
|
|
212
|
+
readonly onRowClick?: ((row: T, index: number) => any) | undefined;
|
|
213
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSortChange" | "onViewChange" | "onColumnVisibilityChange" | "onColumnWidthChange" | "onGroupByChange" | "onStickyColumnsChange" | "onTableSettingsChange" | "onRowClick"> & TableProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
214
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
215
|
+
attrs: any;
|
|
216
|
+
slots: {
|
|
217
|
+
/** Overrides the `headerActions` prop. */
|
|
218
|
+
headerActions?: () => VNodeChild;
|
|
219
|
+
/** Overrides the `footer` prop. */
|
|
220
|
+
footer?: () => VNodeChild;
|
|
221
|
+
/** Overrides the `emptyState` prop. */
|
|
222
|
+
emptyState?: () => VNodeChild;
|
|
223
|
+
/** Scoped-slot alternative to the `panelItem` render prop. */
|
|
224
|
+
panelItem?: (slotProps: {
|
|
225
|
+
row: T;
|
|
226
|
+
index: number;
|
|
227
|
+
}) => VNodeChild;
|
|
228
|
+
};
|
|
229
|
+
emit: {
|
|
230
|
+
(e: "sortChange", sort: TableSortState | null): void;
|
|
231
|
+
(e: "rowClick", row: T, index: number): void;
|
|
232
|
+
(e: "viewChange", view: "table" | "panel"): void;
|
|
233
|
+
(e: "columnVisibilityChange", visibility: Record<string, boolean>): void;
|
|
234
|
+
(e: "columnWidthChange", widths: Record<string, number>): void;
|
|
235
|
+
(e: "groupByChange", columnId: string | null): void;
|
|
236
|
+
(e: "stickyColumnsChange", config: Record<string, "left" | "right">): void;
|
|
237
|
+
(e: "tableSettingsChange", settings: TableSettings): void;
|
|
238
|
+
};
|
|
239
|
+
}>) => import("vue").VNode & {
|
|
240
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
241
|
+
};
|
|
242
|
+
export default _default;
|
|
243
|
+
type __VLS_PrettifyLocal<T> = {
|
|
244
|
+
[K in keyof T]: T[K];
|
|
245
|
+
} & {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import { type TrueColor } from "../theme/Theme";
|
|
3
|
+
export type TabsVariant = "underline" | "soft" | "pill" | "segmented" | "minimal";
|
|
4
|
+
export type TabsSize = "sm" | "md" | "lg";
|
|
5
|
+
export type TabsOrientation = "horizontal" | "vertical";
|
|
6
|
+
export type TabsJustify = "start" | "center" | "end" | "between";
|
|
7
|
+
export interface TabItemAction {
|
|
8
|
+
id?: string;
|
|
9
|
+
label?: string | VNode;
|
|
10
|
+
/** Render a fully custom node in the tab bar. When set, `icon` and `onClick` are ignored. */
|
|
11
|
+
node?: VNode;
|
|
12
|
+
icon?: string | VNode;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
color?: TrueColor;
|
|
15
|
+
active?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface TabItem {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string | VNode;
|
|
20
|
+
icon?: string | VNode;
|
|
21
|
+
description?: string | VNode;
|
|
22
|
+
badge?: string | number;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
panel?: string | VNode;
|
|
25
|
+
badgeColor?: TrueColor;
|
|
26
|
+
actions?: TabItemAction[];
|
|
27
|
+
}
|
|
28
|
+
export interface TabsProps {
|
|
29
|
+
items: TabItem[];
|
|
30
|
+
modelValue?: string;
|
|
31
|
+
defaultValue?: string;
|
|
32
|
+
variant?: TabsVariant;
|
|
33
|
+
size?: TabsSize;
|
|
34
|
+
color?: TrueColor;
|
|
35
|
+
orientation?: TabsOrientation;
|
|
36
|
+
justify?: TabsJustify;
|
|
37
|
+
fullWidth?: boolean;
|
|
38
|
+
listClassName?: string;
|
|
39
|
+
allowReselect?: boolean;
|
|
40
|
+
panelIdPrefix?: string;
|
|
41
|
+
showDividers?: boolean;
|
|
42
|
+
hideUnderlineContainer?: boolean;
|
|
43
|
+
/** Override the variant's container class (e.g. to customise the underline border color). Takes precedence over hideUnderlineContainer. */
|
|
44
|
+
containerClassName?: string;
|
|
45
|
+
panelClassName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* When true, renders a gradient fade at the top of each panel's scroll area so
|
|
48
|
+
* content doesn't hard-clip against the tab bar when scrolled. Default: true.
|
|
49
|
+
* Pass a Tailwind `from-*` colour to match your panel background (default: white / neutral-900 dark).
|
|
50
|
+
*/
|
|
51
|
+
scrollFade?: boolean;
|
|
52
|
+
scrollFadeFrom?: string;
|
|
53
|
+
}
|
|
54
|
+
declare const _default: import("vue").DefineComponent<TabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
55
|
+
change: (id: string, item: TabItem) => any;
|
|
56
|
+
"update:modelValue": (id: string) => any;
|
|
57
|
+
}, string, import("vue").PublicProps, Readonly<TabsProps> & Readonly<{
|
|
58
|
+
onChange?: ((id: string, item: TabItem) => any) | undefined;
|
|
59
|
+
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
color: TrueColor;
|
|
62
|
+
variant: TabsVariant;
|
|
63
|
+
size: TabsSize;
|
|
64
|
+
fullWidth: boolean;
|
|
65
|
+
justify: TabsJustify;
|
|
66
|
+
orientation: TabsOrientation;
|
|
67
|
+
allowReselect: boolean;
|
|
68
|
+
panelIdPrefix: string;
|
|
69
|
+
showDividers: boolean;
|
|
70
|
+
hideUnderlineContainer: boolean;
|
|
71
|
+
scrollFade: boolean;
|
|
72
|
+
scrollFadeFrom: string;
|
|
73
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { SectionSize, SectionVariant } from "./Section.vue";
|
|
3
|
+
import type { PillVariant, PillSize } from "./Pill.vue";
|
|
4
|
+
import type { TrueColor } from "../theme/Theme";
|
|
5
|
+
export interface TagPanelTag {
|
|
6
|
+
id?: string;
|
|
7
|
+
label: string;
|
|
8
|
+
/** Pill tone. Defaults to `'neutral'`. */
|
|
9
|
+
tone?: TrueColor;
|
|
10
|
+
/** Pill variant. Defaults to `'soft'`. */
|
|
11
|
+
variant?: PillVariant;
|
|
12
|
+
/** Pill size. Defaults to `'sm'`. */
|
|
13
|
+
size?: PillSize;
|
|
14
|
+
/** Optional leading icon inside the pill. */
|
|
15
|
+
icon?: VNodeChild;
|
|
16
|
+
children?: VNodeChild;
|
|
17
|
+
}
|
|
18
|
+
export interface TagPanelProps {
|
|
19
|
+
/** Section heading. Omit entirely to hide the header. */
|
|
20
|
+
title?: string;
|
|
21
|
+
/** Optional secondary line below the title. */
|
|
22
|
+
subtitle?: string;
|
|
23
|
+
/** Tags to render as pills. */
|
|
24
|
+
tags: TagPanelTag[];
|
|
25
|
+
/**
|
|
26
|
+
* Maximum number of pills shown before a `+N` overflow pill appears.
|
|
27
|
+
* Set to `0` to always show all. Default: `5`.
|
|
28
|
+
*/
|
|
29
|
+
tagLimit?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Tone used for the `+N` overflow pill.
|
|
32
|
+
* Defaults to `'neutral'`.
|
|
33
|
+
*/
|
|
34
|
+
overflowTone?: TrueColor;
|
|
35
|
+
/** Controls header padding and font size. Defaults to `'md'`. */
|
|
36
|
+
size?: SectionSize;
|
|
37
|
+
/** Visual style of the section header. Defaults to `'uppercase'`. */
|
|
38
|
+
variant?: SectionVariant;
|
|
39
|
+
/** Extra classes for the tags container. */
|
|
40
|
+
bodyClassName?: string;
|
|
41
|
+
/** Remove all padding from the section header. */
|
|
42
|
+
noPadding?: boolean;
|
|
43
|
+
}
|
|
44
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TagPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TagPanelProps> & Readonly<{}>, {
|
|
45
|
+
tagLimit: number;
|
|
46
|
+
overflowTone: TrueColor;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
48
|
+
title?: (props: {}) => any;
|
|
49
|
+
} & {
|
|
50
|
+
subtitle?: (props: {}) => any;
|
|
51
|
+
} & {
|
|
52
|
+
actions?: (props: {}) => any;
|
|
53
|
+
} & {
|
|
54
|
+
emptyState?: (props: {}) => any;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import { type TrueColor } from "../theme/Theme";
|
|
3
|
+
import type { PickerTag } from "./Picker.vue";
|
|
4
|
+
/** A known option in the dropdown list */
|
|
5
|
+
export interface TagPickerItem {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
/** Optional leading icon */
|
|
9
|
+
icon?: string | VNode;
|
|
10
|
+
/** Optional Pills rendered at the trailing edge of each row */
|
|
11
|
+
tags?: PickerTag[];
|
|
12
|
+
}
|
|
13
|
+
export interface TagPickerProps {
|
|
14
|
+
/** Known options shown in the dropdown */
|
|
15
|
+
items: TagPickerItem[];
|
|
16
|
+
/**
|
|
17
|
+
* Controlled array of selected values (`v-model`).
|
|
18
|
+
* For known items this is the item's `id`.
|
|
19
|
+
* For free-text entries created via `allowCreate`, this is the raw text itself.
|
|
20
|
+
*/
|
|
21
|
+
modelValue: string[];
|
|
22
|
+
/**
|
|
23
|
+
* Show a "Create '…'" row when the search query doesn't match any existing item.
|
|
24
|
+
* Default: false
|
|
25
|
+
*/
|
|
26
|
+
allowCreate?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Called when the user confirms a new free-text value.
|
|
29
|
+
* If omitted, the raw text is added to value[] directly via update:modelValue.
|
|
30
|
+
*/
|
|
31
|
+
onCreateItem?: (label: string) => void;
|
|
32
|
+
/**
|
|
33
|
+
* When false, behaves as single-select: picking a new item replaces the current value.
|
|
34
|
+
* Default: true (multi-select with tag pills)
|
|
35
|
+
*/
|
|
36
|
+
multi?: boolean;
|
|
37
|
+
/** Placeholder shown in the trigger when nothing is selected */
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
/** Placeholder inside the search input */
|
|
40
|
+
searchPlaceholder?: string;
|
|
41
|
+
emptyMessage?: string;
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
loadingMessage?: string;
|
|
44
|
+
color?: TrueColor;
|
|
45
|
+
itemColor?: TrueColor;
|
|
46
|
+
/**
|
|
47
|
+
* When true, the dropdown positions against the viewport instead of a clipping ancestor.
|
|
48
|
+
* Useful when the component is inside a modal or constrained panel.
|
|
49
|
+
* Default: false
|
|
50
|
+
*/
|
|
51
|
+
escapeBoundary?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Maximum number of tag pills shown before a "+N" overflow pill appears.
|
|
54
|
+
* Set to 0 or undefined to show all tags. Default: 3
|
|
55
|
+
*/
|
|
56
|
+
tagLimit?: number;
|
|
57
|
+
/**
|
|
58
|
+
* When true, items added during this session (not present in the initial value)
|
|
59
|
+
* are highlighted with an emerald color cue — both in the trigger pills and in
|
|
60
|
+
* the dropdown list. Default: true
|
|
61
|
+
*/
|
|
62
|
+
highlightNew?: boolean;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
/** When true, hides the remove (×) button on tag pills and prevents adding/removing items via the dropdown. @default false */
|
|
65
|
+
readOnly?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Optional function to normalize a value before it is added.
|
|
68
|
+
* Applied to both free-text creations and known-item selections.
|
|
69
|
+
* The return value is what gets stored in `value[]`.
|
|
70
|
+
* Example: `(v) => v.toUpperCase()`
|
|
71
|
+
*/
|
|
72
|
+
normalizeValue?: (value: string) => string;
|
|
73
|
+
}
|
|
74
|
+
declare const _default: import("vue").DefineComponent<TagPickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
75
|
+
"update:modelValue": (values: string[]) => any;
|
|
76
|
+
}, string, import("vue").PublicProps, Readonly<TagPickerProps> & Readonly<{
|
|
77
|
+
"onUpdate:modelValue"?: ((values: string[]) => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
color: TrueColor;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
placeholder: string;
|
|
82
|
+
loading: boolean;
|
|
83
|
+
emptyMessage: string;
|
|
84
|
+
searchPlaceholder: string;
|
|
85
|
+
loadingMessage: string;
|
|
86
|
+
escapeBoundary: boolean;
|
|
87
|
+
multi: boolean;
|
|
88
|
+
allowCreate: boolean;
|
|
89
|
+
tagLimit: number;
|
|
90
|
+
highlightNew: boolean;
|
|
91
|
+
readOnly: boolean;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme/Theme";
|
|
2
|
+
type TextareaSize = "sm" | "md" | "lg";
|
|
3
|
+
type TextareaValidationStatus = "none" | "error" | "success";
|
|
4
|
+
type TextareaResize = "none" | "vertical" | "horizontal" | "both";
|
|
5
|
+
export interface TextareaProps {
|
|
6
|
+
/** Current value of the textarea (v-model). */
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
size?: TextareaSize;
|
|
9
|
+
tone?: TrueColor;
|
|
10
|
+
validationStatus?: TextareaValidationStatus;
|
|
11
|
+
resize?: TextareaResize;
|
|
12
|
+
helpText?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import("vue").DefineComponent<TextareaProps, {
|
|
15
|
+
el: import("vue").Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<TextareaProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
tone: TrueColor;
|
|
22
|
+
size: TextareaSize;
|
|
23
|
+
resize: TextareaResize;
|
|
24
|
+
validationStatus: TextareaValidationStatus;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { PanelPadding } from "../Panel.vue";
|
|
2
|
+
import type { TimelinePanelProps } from "./types";
|
|
3
|
+
import type { PanelVariant, PanelCorner } from "../Panel.vue";
|
|
4
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TimelinePanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimelinePanelProps> & Readonly<{}>, {
|
|
5
|
+
tone: import("../../index.js").TrueColor;
|
|
6
|
+
variant: PanelVariant;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
padding: PanelPadding;
|
|
9
|
+
corner: PanelCorner;
|
|
10
|
+
showTrunkDots: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
title?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
headerAction?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
emptyState?: (props: {}) => any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|