@pantheon-systems/pds-toolkit-react 2.0.0-alpha.3 → 2.0.0-alpha.31
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 +3 -3
- package/dist/components/Avatar/Avatar.d.ts +6 -2
- package/dist/components/ComparisonList/ComparisonList.d.ts +10 -1
- package/dist/components/Dropdown/Dropdown.d.ts +140 -0
- package/dist/components/Dropdown/DropdownSelectedIcon.d.ts +7 -0
- package/dist/components/FileDiff/FileDiff.d.ts +2 -2
- package/dist/components/IdentityBlock/IdentityBlock.d.ts +37 -0
- package/dist/components/Popover/Popover.d.ts +5 -1
- package/dist/components/SiteFooter/SiteFooter.d.ts +38 -0
- package/dist/components/{navigation/DashboardSearch/DashboardSearch.d.ts → SiteSearch/SiteSearch.d.ts} +6 -11
- package/dist/components/SortableList/SortableList.d.ts +8 -0
- package/dist/components/SortableList/SortableListHeader.d.ts +7 -0
- package/dist/components/SortableList/SortableRow.d.ts +16 -0
- package/dist/components/SortableList/sortable-utils.d.ts +19 -0
- package/dist/components/SortableList/types.d.ts +142 -0
- package/dist/components/SortableList/useSortableTree.d.ts +18 -0
- package/dist/components/{RefreshChecker/RefreshChecker.d.ts → StatusChecker/StatusChecker.d.ts} +5 -19
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +141 -17
- package/dist/components/TableOfContents/TableOfContents.d.ts +1 -5
- package/dist/components/Tabs/Tabs.d.ts +6 -1
- package/dist/components/Tag/Tag.d.ts +13 -2
- package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +14 -8
- package/dist/components/Tooltip/Tooltip.d.ts +7 -3
- package/dist/components/UtilityBar/UtilityBar.d.ts +27 -0
- package/dist/components/badges/Badge/Badge.d.ts +28 -0
- package/dist/components/buttons/CloseButton/CloseButton.d.ts +2 -2
- package/dist/components/buttons/IconButton/IconButton.d.ts +12 -0
- package/dist/components/buttons/MenuButton/MenuButton.d.ts +2 -7
- package/dist/components/cards/ActionCard/ActionCard.d.ts +64 -0
- package/dist/components/cards/Card/Card.d.ts +9 -2
- package/dist/components/cards/{CardSelectGroup/CardSelectGroup.d.ts → CardSelect/CardSelect.d.ts} +13 -8
- package/dist/components/charts/BarChart/BarChart.d.ts +21 -0
- package/dist/components/charts/LineChart/LineChart.d.ts +22 -0
- package/dist/components/charts/PieChart/PieChart.d.ts +59 -0
- package/dist/components/charts/ProportionBar/ProportionBar.d.ts +57 -0
- package/dist/components/charts/shared/ChartAccessibleTable.d.ts +17 -0
- package/dist/components/charts/shared/ChartLegend.d.ts +25 -0
- package/dist/components/charts/shared/ChartSkeleton.d.ts +11 -0
- package/dist/components/charts/shared/chart-colors.d.ts +30 -0
- package/dist/components/charts/shared/chart-styles.d.ts +16 -0
- package/dist/components/charts/shared/formatters.d.ts +12 -0
- package/dist/components/charts/shared/types.d.ts +128 -0
- package/dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +1 -1
- package/dist/components/icons/Icon/Icon.d.ts +11 -731
- package/dist/components/icons/Icon/IconSearch.d.ts +1 -0
- package/dist/components/icons/Icon/custom-icons.d.ts +46 -0
- package/dist/components/icons/Icon/generated-icon-data.d.ts +1499 -0
- package/dist/components/icons/Icon/icon-registry.d.ts +34 -0
- package/dist/components/icons/PaymentIcon/PaymentIcon.d.ts +7 -3
- package/dist/components/icons/PlatformIcon/PlatformIcon.d.ts +6 -6
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/inputs/Combobox/Combobox.d.ts +17 -7
- package/dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +33 -6
- package/dist/components/inputs/Datepicker/Datepicker.d.ts +16 -2
- package/dist/components/inputs/FileUpload/FileUpload.d.ts +6 -1
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/inputs/Select/Select.d.ts +11 -2
- package/dist/components/inputs/Select/select-sample-data.d.ts +1 -0
- package/dist/components/inputs/Switch/Switch.d.ts +1 -17
- package/dist/components/inputs/TagsInput/TagsInput.d.ts +105 -0
- package/dist/components/inputs/TextInput/TextInput.d.ts +5 -1
- package/dist/components/inputs/Textarea/Textarea.d.ts +5 -1
- package/dist/components/inputs/input-utilities.d.ts +5 -4
- package/dist/components/{CTALink → links/CTALink}/CTALink.d.ts +1 -1
- package/dist/components/{LinkNewWindow → links/LinkNewWindow}/LinkNewWindow.d.ts +1 -1
- package/dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +1 -0
- package/dist/components/navigation/Navbar/Navbar.d.ts +1 -1
- package/dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +5 -15
- package/dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +5 -1
- package/dist/components/navigation/{NavMenu/NavMenu.d.ts → SiteMenu/SiteMenu.d.ts} +5 -8
- package/dist/components/navigation/SiteMenu/SiteMenuDropdown.d.ts +23 -0
- package/dist/components/navigation/TabMenu/TabMenu.d.ts +6 -1
- package/dist/components/navigation/UserMenu/UserMenu.d.ts +1 -5
- package/dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +8 -12
- package/dist/components/notifications/Banner/Banner.d.ts +32 -12
- package/dist/components/notifications/NotificationsPopover/NotificationsPopover.d.ts +2 -7
- package/dist/components/notifications/SectionMessage/SectionMessage.d.ts +6 -2
- package/dist/components/notifications/Toaster/Toast.d.ts +13 -2
- package/dist/components/notifications/Toaster/Toaster.d.ts +16 -7
- package/dist/components/notifications/Toaster/useToast.d.ts +2 -0
- package/dist/components/overlays/Drawer/Drawer.d.ts +58 -0
- package/dist/components/overlays/FullScreenOverlay/FullScreenOverlay.d.ts +45 -0
- package/dist/components/{Modal → overlays/Modal}/Modal.d.ts +1 -1
- package/dist/components/{Pagination → pagination/Pagination}/Pagination.d.ts +7 -2
- package/dist/components/pagination/PaginationCompact/PaginationCompact.d.ts +49 -0
- package/dist/components/pagination/PaginationMini/PaginationMini.d.ts +55 -0
- package/dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +6 -3
- package/dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +1 -2
- package/dist/components/panels/Panel/Panel.d.ts +1 -18
- package/dist/components/panels/PanelList/PanelList.d.ts +1 -1
- package/dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +3 -4
- package/dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +2 -3
- package/dist/components/{FlowSteps/FlowSteps.d.ts → steppers/StepList/StepList.d.ts} +7 -7
- package/dist/css/component-css/pds-action-card.css +1 -0
- package/dist/css/component-css/pds-avatar.css +1 -1
- package/dist/css/component-css/pds-badge.css +1 -0
- package/dist/css/component-css/pds-banner.css +1 -1
- package/dist/css/component-css/pds-bar-chart.css +1 -0
- package/dist/css/component-css/pds-branch-diff.css +1 -1
- package/dist/css/component-css/pds-breadcrumb.css +1 -1
- package/dist/css/component-css/pds-button-link.css +1 -1
- package/dist/css/component-css/pds-button-nav.css +1 -1
- package/dist/css/component-css/pds-button.css +9 -3
- package/dist/css/component-css/pds-callout.css +1 -1
- package/dist/css/component-css/pds-card-select.css +1 -0
- package/dist/css/component-css/pds-card.css +1 -1
- package/dist/css/component-css/pds-chart-legend.css +1 -0
- package/dist/css/component-css/pds-chart-wrapper.css +1 -0
- package/dist/css/component-css/pds-checkbox.css +1 -1
- package/dist/css/component-css/pds-close-button.css +1 -1
- package/dist/css/component-css/pds-combobox-multiselect.css +4 -2
- package/dist/css/component-css/pds-combobox.css +1 -1
- package/dist/css/component-css/pds-compact-empty-state.css +1 -1
- package/dist/css/component-css/pds-comparison-list.css +1 -1
- package/dist/css/component-css/pds-cta-link.css +1 -1
- package/dist/css/component-css/pds-datepicker.css +1 -1
- package/dist/css/component-css/pds-drawer.css +1 -0
- package/dist/css/component-css/pds-dropdown-menu.css +2 -2
- package/dist/css/component-css/pds-dropdown.css +2 -0
- package/dist/css/component-css/pds-expansion-panel.css +1 -1
- package/dist/css/component-css/pds-file-diff.css +1 -1
- package/dist/css/component-css/pds-file-upload.css +2 -2
- package/dist/css/component-css/pds-full-screen-overlay.css +1 -0
- package/dist/css/component-css/pds-horizontal-empty-state.css +1 -1
- package/dist/css/component-css/pds-icon-button.css +4 -4
- package/dist/css/component-css/pds-icon-story-only.css +1 -1
- package/dist/css/component-css/pds-icon.css +1 -0
- package/dist/css/component-css/pds-identity-block.css +1 -0
- package/dist/css/component-css/pds-index.css +103 -57
- package/dist/css/component-css/pds-inline-message.css +1 -1
- package/dist/css/component-css/pds-input-group.css +1 -1
- package/dist/css/component-css/pds-input-utilities.css +1 -1
- package/dist/css/component-css/pds-line-chart.css +1 -0
- package/dist/css/component-css/pds-link-new-window.css +1 -1
- package/dist/css/component-css/pds-menu-button.css +4 -1
- package/dist/css/component-css/pds-modal.css +1 -1
- package/dist/css/component-css/pds-nav-menu.css +2 -2
- package/dist/css/component-css/pds-navbar.css +4 -1
- package/dist/css/component-css/pds-notification-hub-icon.css +1 -1
- package/dist/css/component-css/pds-notifications-popover.css +13 -1
- package/dist/css/component-css/pds-pagination-compact.css +1 -0
- package/dist/css/component-css/pds-pagination-mini.css +3 -0
- package/dist/css/component-css/pds-pagination.css +1 -1
- package/dist/css/component-css/pds-panel-list.css +1 -1
- package/dist/css/component-css/pds-panel.css +1 -1
- package/dist/css/component-css/pds-pantheon-logo.css +1 -1
- package/dist/css/component-css/pds-payment-icon.css +1 -1
- package/dist/css/component-css/pds-pie-chart.css +1 -0
- package/dist/css/component-css/pds-platform-icon.css +1 -1
- package/dist/css/component-css/pds-popover.css +1 -1
- package/dist/css/component-css/pds-progress-bar.css +1 -1
- package/dist/css/component-css/pds-progress-ring.css +1 -1
- package/dist/css/component-css/pds-proportion-bar.css +1 -0
- package/dist/css/component-css/pds-radio-group.css +1 -1
- package/dist/css/component-css/pds-section-message.css +1 -1
- package/dist/css/component-css/pds-segmented-button.css +1 -1
- package/dist/css/component-css/pds-select.css +1 -1
- package/dist/css/component-css/pds-side-nav-compact.css +1 -1
- package/dist/css/component-css/pds-side-nav-global.css +6 -4
- package/dist/css/component-css/pds-side-nav.css +1 -1
- package/dist/css/component-css/pds-site-footer.css +1 -1
- package/dist/css/component-css/pds-site-search.css +1 -0
- package/dist/css/component-css/pds-skiplink.css +1 -1
- package/dist/css/component-css/pds-sortable-list.css +8 -0
- package/dist/css/component-css/pds-spinner.css +1 -1
- package/dist/css/component-css/pds-sso-button.css +1 -1
- package/dist/css/component-css/pds-status-badge.css +1 -1
- package/dist/css/component-css/pds-status-checker.css +1 -0
- package/dist/css/component-css/pds-status-indicator.css +1 -1
- package/dist/css/component-css/pds-step-list.css +1 -0
- package/dist/css/component-css/pds-stepper.css +1 -1
- package/dist/css/component-css/pds-switch.css +4 -11
- package/dist/css/component-css/pds-tab-menu.css +2 -2
- package/dist/css/component-css/pds-table-of-contents.css +1 -1
- package/dist/css/component-css/pds-table.css +1 -1
- package/dist/css/component-css/pds-tabs.css +1 -1
- package/dist/css/component-css/pds-tag.css +1 -1
- package/dist/css/component-css/pds-tags-input.css +1 -0
- package/dist/css/component-css/pds-text-input.css +1 -1
- package/dist/css/component-css/pds-textarea.css +1 -1
- package/dist/css/component-css/pds-theme-switcher.css +1 -1
- package/dist/css/component-css/pds-toaster.css +1 -1
- package/dist/css/component-css/pds-tooltip.css +1 -1
- package/dist/css/component-css/pds-user-menu.css +29 -1
- package/dist/css/component-css/pds-utility-bar.css +1 -0
- package/dist/css/component-css/pds-utility-button.css +1 -1
- package/dist/css/component-css/pds-vertical-empty-state.css +1 -1
- package/dist/css/component-css/pds-vertical-stepper.css +1 -1
- package/dist/css/component-css/pds-workspace-selector.css +16 -1
- package/dist/css/design-tokens/fonts.css +1 -1
- package/dist/css/design-tokens/variables.dark.css +301 -96
- package/dist/css/design-tokens/variables.global.css +9 -12
- package/dist/css/design-tokens/variables.light.css +276 -93
- package/dist/css/design-tokens/variables.typography.css +9 -6
- package/dist/css/layout-css/pds-app-layout.css +3 -0
- package/dist/css/layout-css/pds-docs-layout.css +1 -0
- package/dist/css/layout-css/pds-index.css +3 -0
- package/dist/css/layout-css/pds-sidebar-layout.css +5 -0
- package/dist/css/layout-css/pds-stepper-layout.css +1 -0
- package/dist/css/layout-css/pds-three-item-layout.css +1 -0
- package/dist/css/layout-css/pds-two-item-layout.css +1 -0
- package/dist/css/pds-components.css +103 -57
- package/dist/css/pds-core.css +3 -2
- package/dist/css/pds-layouts.css +3 -9
- package/dist/index.css +1 -1
- package/dist/index.d.ts +94 -6
- package/dist/index.js +12732 -1983
- package/dist/index.js.map +1 -1
- package/dist/index.source.d.ts +36 -39
- package/dist/layouts/AppLayout/AppLayout.d.ts +47 -6
- package/dist/layouts/DocsLayout/DocsLayout.d.ts +9 -7
- package/dist/layouts/SidebarLayout/SidebarLayout.d.ts +12 -3
- package/dist/libs/components/NavAccordion/NavAccordion.d.ts +27 -0
- package/dist/libs/components/utils.d.ts +0 -1
- package/dist/libs/types/custom-types.d.ts +10 -4
- package/dist/libs/types/navigation-types.d.ts +9 -1
- package/dist/svg/angleDown.svg +3 -0
- package/dist/svg/angleLeft.svg +3 -0
- package/dist/svg/angleRight.svg +3 -0
- package/dist/svg/angleUp.svg +3 -0
- package/dist/svg/anglesLeft.svg +3 -0
- package/dist/svg/anglesRight.svg +3 -0
- package/dist/svg/arrowDownLeftAndArrowUpRightToCenter.svg +3 -0
- package/dist/svg/arrowDownToLine.svg +3 -0
- package/dist/svg/arrowLeft.svg +3 -0
- package/dist/svg/arrowRight.svg +3 -0
- package/dist/svg/arrowsRetweet.svg +3 -0
- package/dist/svg/arrowsUpDownLeftRight.svg +3 -0
- package/dist/svg/asterisk.svg +3 -0
- package/dist/svg/banBug.svg +3 -0
- package/dist/svg/bars.svg +3 -0
- package/dist/svg/barsFilter.svg +3 -0
- package/dist/svg/barsStaggered.svg +3 -0
- package/dist/svg/bell.svg +3 -0
- package/dist/svg/billboard.svg +3 -0
- package/dist/svg/bitbucket.svg +3 -0
- package/dist/svg/bluesky.svg +3 -0
- package/dist/svg/bolt.svg +3 -0
- package/dist/svg/boltPantheon.svg +3 -0
- package/dist/svg/boltSolid.svg +3 -0
- package/dist/svg/book.svg +3 -0
- package/dist/svg/books.svg +3 -0
- package/dist/svg/bracketRight.svg +3 -0
- package/dist/svg/bracketsSquare.svg +3 -0
- package/dist/svg/brainCircuit.svg +3 -0
- package/dist/svg/broomWide.svg +3 -0
- package/dist/svg/building.svg +3 -0
- package/dist/svg/buildings.svg +3 -0
- package/dist/svg/bullhorn.svg +3 -0
- package/dist/svg/calendarDays.svg +3 -0
- package/dist/svg/caretDown.svg +3 -0
- package/dist/svg/caretLeft.svg +3 -0
- package/dist/svg/caretRight.svg +3 -0
- package/dist/svg/caretUp.svg +3 -0
- package/dist/svg/ccAmex.svg +3 -0
- package/dist/svg/ccApplePay.svg +3 -0
- package/dist/svg/ccDiscover.svg +3 -0
- package/dist/svg/ccGeneric.svg +3 -0
- package/dist/svg/ccMC.svg +3 -0
- package/dist/svg/ccPaypal.svg +3 -0
- package/dist/svg/ccVisa.svg +3 -0
- package/dist/svg/chartLine.svg +3 -0
- package/dist/svg/chartNetwork.svg +3 -0
- package/dist/svg/chartSimple.svg +3 -0
- package/dist/svg/check.svg +3 -0
- package/dist/svg/circle.svg +3 -0
- package/dist/svg/circleCheck.svg +3 -0
- package/dist/svg/circleExclamation.svg +3 -0
- package/dist/svg/circleExclamationSolid.svg +3 -0
- package/dist/svg/circleInfo.svg +3 -0
- package/dist/svg/circleInfoSolid.svg +3 -0
- package/dist/svg/circleMinus.svg +3 -0
- package/dist/svg/circleNotch.svg +3 -0
- package/dist/svg/circlePlus.svg +3 -0
- package/dist/svg/circleQuestion.svg +3 -0
- package/dist/svg/circleQuestionSolid.svg +3 -0
- package/dist/svg/circleUser.svg +3 -0
- package/dist/svg/circleXmark.svg +3 -0
- package/dist/svg/cloud.svg +3 -0
- package/dist/svg/cloudArrowDown.svg +3 -0
- package/dist/svg/cloudArrowUp.svg +3 -0
- package/dist/svg/cloudPlus.svg +3 -0
- package/dist/svg/code.svg +3 -0
- package/dist/svg/codeBranch.svg +3 -0
- package/dist/svg/codeMerge.svg +3 -0
- package/dist/svg/command.svg +3 -0
- package/dist/svg/comment.svg +3 -0
- package/dist/svg/compress.svg +3 -0
- package/dist/svg/copy.svg +3 -0
- package/dist/svg/desktop.svg +3 -0
- package/dist/svg/diamondExclamation.svg +3 -0
- package/dist/svg/diamonds4.svg +3 -0
- package/dist/svg/discourse.svg +3 -0
- package/dist/svg/display.svg +3 -0
- package/dist/svg/dollarSign.svg +3 -0
- package/dist/svg/download.svg +3 -0
- package/dist/svg/drupal.svg +3 -0
- package/dist/svg/ellipsis.svg +3 -0
- package/dist/svg/ellipsisVertical.svg +3 -0
- package/dist/svg/emptySet.svg +3 -0
- package/dist/svg/envelope.svg +3 -0
- package/dist/svg/envelopeOpen.svg +3 -0
- package/dist/svg/exclamation.svg +3 -0
- package/dist/svg/expand.svg +3 -0
- package/dist/svg/expandFromCenter.svg +3 -0
- package/dist/svg/externalLink.svg +3 -0
- package/dist/svg/eye.svg +3 -0
- package/dist/svg/eyeSlash.svg +3 -0
- package/dist/svg/facebook.svg +3 -0
- package/dist/svg/file.svg +3 -0
- package/dist/svg/fileCSV.svg +3 -0
- package/dist/svg/fileCheck.svg +3 -0
- package/dist/svg/fileContract.svg +3 -0
- package/dist/svg/fileDiff.svg +3 -0
- package/dist/svg/fileExport.svg +3 -0
- package/dist/svg/fileImport.svg +3 -0
- package/dist/svg/fileLines.svg +3 -0
- package/dist/svg/filePDF.svg +3 -0
- package/dist/svg/fileZip.svg +3 -0
- package/dist/svg/folder.svg +3 -0
- package/dist/svg/folderTree.svg +3 -0
- package/dist/svg/gear.svg +3 -0
- package/dist/svg/gem.svg +3 -0
- package/dist/svg/github.svg +3 -0
- package/dist/svg/gitlab.svg +3 -0
- package/dist/svg/globe.svg +3 -0
- package/dist/svg/graduationCap.svg +3 -0
- package/dist/svg/grid.svg +3 -0
- package/dist/svg/gripDots.svg +3 -0
- package/dist/svg/gripDotsVertical.svg +3 -0
- package/dist/svg/heart.svg +3 -0
- package/dist/svg/heartSolid.svg +3 -0
- package/dist/svg/house.svg +3 -0
- package/dist/svg/idCard.svg +3 -0
- package/dist/svg/image.svg +3 -0
- package/dist/svg/inputText.svg +3 -0
- package/dist/svg/instagram.svg +3 -0
- package/dist/svg/keySkeleton.svg +3 -0
- package/dist/svg/landmark.svg +3 -0
- package/dist/svg/laptop.svg +3 -0
- package/dist/svg/laptopCode.svg +3 -0
- package/dist/svg/leaf.svg +3 -0
- package/dist/svg/lifeRing.svg +3 -0
- package/dist/svg/linkSimple.svg +3 -0
- package/dist/svg/linkSimpleSlash.svg +3 -0
- package/dist/svg/linkedin.svg +3 -0
- package/dist/svg/listCheck.svg +3 -0
- package/dist/svg/locationCrosshairs.svg +3 -0
- package/dist/svg/lock.svg +3 -0
- package/dist/svg/lockOpen.svg +3 -0
- package/dist/svg/magnifyingGlass.svg +3 -0
- package/dist/svg/medal.svg +3 -0
- package/dist/svg/memo.svg +3 -0
- package/dist/svg/messages.svg +3 -0
- package/dist/svg/minus.svg +3 -0
- package/dist/svg/moon.svg +3 -0
- package/dist/svg/nextJs.svg +3 -0
- package/dist/svg/paperPlane.svg +3 -0
- package/dist/svg/paperclip.svg +3 -0
- package/dist/svg/pause.svg +3 -0
- package/dist/svg/pen.svg +3 -0
- package/dist/svg/penField.svg +3 -0
- package/dist/svg/phone.svg +3 -0
- package/dist/svg/play.svg +3 -0
- package/dist/svg/plus.svg +3 -0
- package/dist/svg/question.svg +3 -0
- package/dist/svg/quotesLeft.svg +3 -0
- package/dist/svg/quotesRight.svg +3 -0
- package/dist/svg/rectangleList.svg +3 -0
- package/dist/svg/reply.svg +3 -0
- package/dist/svg/robot.svg +3 -0
- package/dist/svg/rocketLaunch.svg +3 -0
- package/dist/svg/rotate.svg +3 -0
- package/dist/svg/rotateClock.svg +3 -0
- package/dist/svg/rotateLeft.svg +3 -0
- package/dist/svg/rotateRight.svg +3 -0
- package/dist/svg/rss.svg +3 -0
- package/dist/svg/save.svg +3 -0
- package/dist/svg/server.svg +3 -0
- package/dist/svg/shareNodes.svg +3 -0
- package/dist/svg/shield.svg +3 -0
- package/dist/svg/shieldQuartered.svg +3 -0
- package/dist/svg/shovel.svg +3 -0
- package/dist/svg/sidebar.svg +3 -0
- package/dist/svg/siren.svg +3 -0
- package/dist/svg/sirenOn.svg +3 -0
- package/dist/svg/sitemap.svg +3 -0
- package/dist/svg/slack.svg +3 -0
- package/dist/svg/slashForward.svg +3 -0
- package/dist/svg/slidersSimple.svg +3 -0
- package/dist/svg/snowflake.svg +3 -0
- package/dist/svg/sparkles.svg +3 -0
- package/dist/svg/squareCheck.svg +3 -0
- package/dist/svg/squareCode.svg +3 -0
- package/dist/svg/squareMinus.svg +3 -0
- package/dist/svg/squarePen.svg +3 -0
- package/dist/svg/squareQuestion.svg +3 -0
- package/dist/svg/squareTerminal.svg +3 -0
- package/dist/svg/star.svg +3 -0
- package/dist/svg/starSolid.svg +3 -0
- package/dist/svg/sun.svg +3 -0
- package/dist/svg/sunBright.svg +3 -0
- package/dist/svg/table.svg +3 -0
- package/dist/svg/tableRows.svg +3 -0
- package/dist/svg/terminal.svg +3 -0
- package/dist/svg/text.svg +3 -0
- package/dist/svg/threads.svg +3 -0
- package/dist/svg/thumbsDown.svg +3 -0
- package/dist/svg/thumbsUp.svg +3 -0
- package/dist/svg/trash.svg +3 -0
- package/dist/svg/triangleExclamation.svg +3 -0
- package/dist/svg/twitter.svg +3 -0
- package/dist/svg/upload.svg +3 -0
- package/dist/svg/user.svg +3 -0
- package/dist/svg/userAstronaut.svg +3 -0
- package/dist/svg/userGear.svg +3 -0
- package/dist/svg/userPlus.svg +3 -0
- package/dist/svg/users.svg +3 -0
- package/dist/svg/video.svg +3 -0
- package/dist/svg/wavePulse.svg +3 -0
- package/dist/svg/windowRestore.svg +3 -0
- package/dist/svg/wordpress.svg +3 -0
- package/dist/svg/wreathLaurel.svg +3 -0
- package/dist/svg/wrench.svg +3 -0
- package/dist/svg/xTwitter.svg +3 -0
- package/dist/svg/xmark.svg +3 -0
- package/dist/svg/xmarkLarge.svg +3 -0
- package/dist/svg/youtube.svg +3 -0
- package/dist/{layouts → utilities}/FlexContainer/FlexContainer.d.ts +1 -1
- package/dist/utilities/GlobalWrapper/GlobalWrapper.d.ts +21 -0
- package/dist/utilities/hooks/useDropdown/index.d.ts +1 -0
- package/dist/utilities/hooks/useDropdown/useDropdown.d.ts +121 -0
- package/package.json +70 -44
- package/tailwind/README.md +220 -0
- package/tailwind/TESTING.md +457 -0
- package/tailwind/v3/preset.cjs +258 -0
- package/tailwind/v4/theme.css +230 -0
- package/dist/components/CTASlice/CTASlice.d.ts +0 -43
- package/dist/components/DashboardStat/DashboardStat.d.ts +0 -28
- package/dist/components/PullQuote/PullQuote.d.ts +0 -34
- package/dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +0 -62
- package/dist/components/SocialLinks/SocialLinks.d.ts +0 -23
- package/dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +0 -27
- package/dist/components/cards/CardHeading/CardHeading.d.ts +0 -31
- package/dist/components/cards/EmptyStateCard/EmptyStateCard.d.ts +0 -36
- package/dist/components/cards/LinksCard/LinksCard.d.ts +0 -29
- package/dist/components/cards/LinksCard/links-card-sample-data.d.ts +0 -2
- package/dist/components/cards/NewSiteCard/NewSiteCard.d.ts +0 -61
- package/dist/components/cards/PaymentCard/PaymentCard.d.ts +0 -47
- package/dist/components/cards/PricingCard/PricingCard.d.ts +0 -90
- package/dist/components/cards/SiteCard/SiteCard.d.ts +0 -50
- package/dist/components/footer/FooterHeading/FooterHeading.d.ts +0 -22
- package/dist/components/footer/FooterLinks/FooterLinks.d.ts +0 -26
- package/dist/components/footer/SiteFooter/SiteFooter.d.ts +0 -30
- package/dist/components/footer/SiteFooter/footer-content.d.ts +0 -1
- package/dist/components/navigation/DashboardNav/DashboardNav.d.ts +0 -35
- package/dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +0 -24
- package/dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +0 -24
- package/dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +0 -28
- package/dist/components/tiles/Tile/Tile.d.ts +0 -42
- package/dist/components/tiles/TileGrid/TileGrid.d.ts +0 -29
- package/dist/css/component-css/pds-avatar-tile-list.css +0 -1
- package/dist/css/component-css/pds-card-heading.css +0 -1
- package/dist/css/component-css/pds-card-select-group.css +0 -1
- package/dist/css/component-css/pds-cta-slice.css +0 -1
- package/dist/css/component-css/pds-dashboard-nav.css +0 -5
- package/dist/css/component-css/pds-dashboard-search.css +0 -1
- package/dist/css/component-css/pds-dashboard-stat.css +0 -1
- package/dist/css/component-css/pds-empty-state-card.css +0 -1
- package/dist/css/component-css/pds-flow-steps.css +0 -1
- package/dist/css/component-css/pds-footer-heading.css +0 -1
- package/dist/css/component-css/pds-footer-links.css +0 -1
- package/dist/css/component-css/pds-indicator-badge.css +0 -25
- package/dist/css/component-css/pds-links-card.css +0 -1
- package/dist/css/component-css/pds-new-site-card.css +0 -1
- package/dist/css/component-css/pds-payment-card.css +0 -1
- package/dist/css/component-css/pds-pricing-card-local.css +0 -1
- package/dist/css/component-css/pds-pricing-card.css +0 -1
- package/dist/css/component-css/pds-pull-quote.css +0 -1
- package/dist/css/component-css/pds-refresh-checker.css +0 -1
- package/dist/css/component-css/pds-site-card.css +0 -1
- package/dist/css/component-css/pds-site-dashboard-heading.css +0 -1
- package/dist/css/component-css/pds-social-links.css +0 -1
- package/dist/css/component-css/pds-tile.css +0 -1
- package/dist/css/component-css/pds-tiles-common.css +0 -1
- package/dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +0 -57
- package/dist/layouts/DashboardInner/DashboardInner.d.ts +0 -30
- package/dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +0 -19
- package/dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +0 -6
- /package/dist/components/{Skiplink → links/Skiplink}/Skiplink.d.ts +0 -0
- /package/dist/components/{Picture → media/Picture}/Picture.d.ts +0 -0
- /package/dist/components/{VideoEmbed → media/VideoEmbed}/VideoEmbed.d.ts +0 -0
- /package/dist/components/{Pagination → pagination/Pagination}/usePagination.d.ts +0 -0
- /package/dist/components/{FlowSteps → steppers/StepList}/example-steps.d.ts +0 -0
- /package/dist/{layouts → utilities}/Container/Container.d.ts +0 -0
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import './indicator-badge.css';
|
|
3
|
-
/**
|
|
4
|
-
* IndicatorBadge component props
|
|
5
|
-
*/
|
|
6
|
-
export interface IndicatorBadgeProps extends ComponentPropsWithoutRef<'span'> {
|
|
7
|
-
/**
|
|
8
|
-
* Additional class names
|
|
9
|
-
*/
|
|
10
|
-
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Badge color
|
|
13
|
-
*/
|
|
14
|
-
color: 'critical' | 'info' | 'success' | 'warning' | 'neutral' | 'brand' | 'silver' | 'gold' | 'platinum' | 'diamond' | 'default';
|
|
15
|
-
/**
|
|
16
|
-
* Badge text.
|
|
17
|
-
*/
|
|
18
|
-
label: string;
|
|
19
|
-
/**
|
|
20
|
-
* Badge size
|
|
21
|
-
*/
|
|
22
|
-
size?: 'sm' | 'md';
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* IndicatorBadge UI component
|
|
26
|
-
*/
|
|
27
|
-
export declare const IndicatorBadge: ({ className, color, label, size, ...props }: IndicatorBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
2
|
-
import './card-heading.css';
|
|
3
|
-
/**
|
|
4
|
-
* Prop types for CardHeading
|
|
5
|
-
*/
|
|
6
|
-
export interface CardHeadingProps {
|
|
7
|
-
/**
|
|
8
|
-
* Additional class names
|
|
9
|
-
*/
|
|
10
|
-
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Font size of the heading. Default is `XL`.
|
|
13
|
-
*/
|
|
14
|
-
fontSize?: 'L' | 'XL';
|
|
15
|
-
/**
|
|
16
|
-
* Font weight of the heading. Default is `bold`.
|
|
17
|
-
*/
|
|
18
|
-
fontWeight?: 'bold' | 'semibold';
|
|
19
|
-
/**
|
|
20
|
-
* Heading level or `span`.
|
|
21
|
-
*/
|
|
22
|
-
level?: HeadingLevelCommon;
|
|
23
|
-
/**
|
|
24
|
-
* Heading text.
|
|
25
|
-
*/
|
|
26
|
-
text?: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* CardHeading UI component
|
|
30
|
-
*/
|
|
31
|
-
export declare const CardHeading: ({ className, fontSize, fontWeight, level, text, ...props }: CardHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './empty-state-card.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for EmptyStateCard
|
|
6
|
-
*/
|
|
7
|
-
export interface EmptyStateCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Heading level or `span`.
|
|
14
|
-
*/
|
|
15
|
-
headingLevel?: HeadingLevelCommon;
|
|
16
|
-
/**
|
|
17
|
-
* Heading text.
|
|
18
|
-
*/
|
|
19
|
-
headingText: string;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the link is external or not.
|
|
22
|
-
*/
|
|
23
|
-
isLinkExternal?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* A link element using the router of your choice.
|
|
26
|
-
*/
|
|
27
|
-
linkContent: ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Summary paragraph.
|
|
30
|
-
*/
|
|
31
|
-
summary: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* EmptyStateCard UI component
|
|
35
|
-
*/
|
|
36
|
-
export declare const EmptyStateCard: ({ className, headingLevel, headingText, isLinkExternal, linkContent, summary, ...props }: EmptyStateCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './links-card.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for LinksCard
|
|
6
|
-
*/
|
|
7
|
-
interface LinksCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Heading level
|
|
14
|
-
*/
|
|
15
|
-
headingLevel?: HeadingLevelCommon;
|
|
16
|
-
/**
|
|
17
|
-
* Link Card heading
|
|
18
|
-
*/
|
|
19
|
-
headingText: string;
|
|
20
|
-
/**
|
|
21
|
-
* Array of links
|
|
22
|
-
*/
|
|
23
|
-
linkItems?: ReactNode[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Links Card UI component
|
|
27
|
-
*/
|
|
28
|
-
export declare const LinksCard: ({ className, headingLevel, headingText, linkItems, ...props }: LinksCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
|
-
import { BadgeColor } from '../../../libs/types/custom-types';
|
|
3
|
-
import './new-site-card.css';
|
|
4
|
-
interface BadgeValueType {
|
|
5
|
-
color: BadgeColor;
|
|
6
|
-
label: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const badgeTypes: {
|
|
9
|
-
[key: string]: BadgeValueType;
|
|
10
|
-
};
|
|
11
|
-
type ActualPlatformIconType = 'drupal' | 'drupal7' | 'front-end-sites' | 'gatsby' | 'gatsby-wp' | 'google' | 'import-custom' | 'microsoft' | 'next' | 'next-drupal' | 'next-wp' | 'splunk' | 'sumo-logic' | 'wordpress';
|
|
12
|
-
type PantheonIconType = 'pantheon';
|
|
13
|
-
type PlatformIconType = ActualPlatformIconType | PantheonIconType;
|
|
14
|
-
type IconVariantType = 'bitbucket' | 'github' | 'gitlab';
|
|
15
|
-
type IconType = IconVariantType | PlatformIconType;
|
|
16
|
-
/**
|
|
17
|
-
* Prop types for NewSiteCard
|
|
18
|
-
*/
|
|
19
|
-
interface NewSiteCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
20
|
-
/**
|
|
21
|
-
* Optional indicator badge type. Choose from only early-access at this time.
|
|
22
|
-
*/
|
|
23
|
-
badge?: 'early-access';
|
|
24
|
-
/**
|
|
25
|
-
* Additional class names
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Icon. Accepts any platform type from PlatformIcon or github, gitlab, bitbucket from Icon.
|
|
30
|
-
*/
|
|
31
|
-
icon?: IconType;
|
|
32
|
-
/**
|
|
33
|
-
* Text for screen readers when link opens in new window
|
|
34
|
-
*/
|
|
35
|
-
newWindowString?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The primary link for the selection card.
|
|
38
|
-
*/
|
|
39
|
-
selectionLink: ReactElement;
|
|
40
|
-
/**
|
|
41
|
-
* Card subtitle
|
|
42
|
-
*/
|
|
43
|
-
subtitle?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Card summary
|
|
46
|
-
*/
|
|
47
|
-
summary?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Array of supplemental links. Maximum of 2.
|
|
50
|
-
*/
|
|
51
|
-
supplementalLinks?: ReactElement[];
|
|
52
|
-
/**
|
|
53
|
-
* Card title
|
|
54
|
-
*/
|
|
55
|
-
title: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* NewSiteCard UI component
|
|
59
|
-
*/
|
|
60
|
-
export declare const NewSiteCard: ({ badge, className, icon, newWindowString, selectionLink, subtitle, summary, supplementalLinks, title, ...props }: NewSiteCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import './payment-card.css';
|
|
3
|
-
/**
|
|
4
|
-
* Prop types for PaymentCard
|
|
5
|
-
*/
|
|
6
|
-
export interface PaymentCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
7
|
-
/**
|
|
8
|
-
* The name of the cardholder.
|
|
9
|
-
*/
|
|
10
|
-
cardholderName?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The last four digits of the card number.
|
|
13
|
-
*/
|
|
14
|
-
cardNumber?: number;
|
|
15
|
-
/**
|
|
16
|
-
* The type of payment icon to display.
|
|
17
|
-
*/
|
|
18
|
-
cardType?: 'visa' | 'mastercard' | 'amex' | 'discover';
|
|
19
|
-
/**
|
|
20
|
-
* A string for the lower left corner.
|
|
21
|
-
*/
|
|
22
|
-
cardUsage?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Additional class names
|
|
25
|
-
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Function for when “view details” is clicked
|
|
29
|
-
*/
|
|
30
|
-
detailsCallback?: () => void;
|
|
31
|
-
/**
|
|
32
|
-
* Translation string for “view details”
|
|
33
|
-
*/
|
|
34
|
-
detailsLabel?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Expiration date of the card in MM/YY format.
|
|
37
|
-
*/
|
|
38
|
-
expDate?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Function for when this card is selected
|
|
41
|
-
*/
|
|
42
|
-
selectionCallback?: () => void;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* PaymentCard UI component
|
|
46
|
-
*/
|
|
47
|
-
export declare const PaymentCard: ({ cardholderName, cardNumber, cardType, cardUsage, className, detailsCallback, detailsLabel, expDate, selectionCallback, ...props }: PaymentCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { ListItems } from '../../ComparisonList/ComparisonList';
|
|
3
|
-
import './pricing-card.css';
|
|
4
|
-
interface PrimaryCallToAction {
|
|
5
|
-
buttonAction?: () => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
label?: string;
|
|
8
|
-
linkTarget?: string;
|
|
9
|
-
linkUrl?: string;
|
|
10
|
-
type?: 'button' | 'link';
|
|
11
|
-
variant?: 'primary' | 'secondary';
|
|
12
|
-
}
|
|
13
|
-
interface SecondaryCallToAction {
|
|
14
|
-
buttonAction?: () => void;
|
|
15
|
-
label?: string;
|
|
16
|
-
linkTarget?: string;
|
|
17
|
-
linkUrl?: string;
|
|
18
|
-
type?: 'button' | 'link';
|
|
19
|
-
}
|
|
20
|
-
interface PlanPricingData {
|
|
21
|
-
customActionLabel?: string;
|
|
22
|
-
label?: string;
|
|
23
|
-
listItems?: ListItems[];
|
|
24
|
-
listLabel?: string;
|
|
25
|
-
price?: string;
|
|
26
|
-
priceDetails?: string;
|
|
27
|
-
pricePrefix?: string;
|
|
28
|
-
savingsBadgeLabel?: string;
|
|
29
|
-
savingsDetails?: string;
|
|
30
|
-
}
|
|
31
|
-
interface StatusBadgeLabels {
|
|
32
|
-
currentPlan?: string;
|
|
33
|
-
mostPopular?: string;
|
|
34
|
-
}
|
|
35
|
-
interface PricingCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
36
|
-
/**
|
|
37
|
-
* The primary call to action.
|
|
38
|
-
*/
|
|
39
|
-
actionPrimary?: PrimaryCallToAction;
|
|
40
|
-
/**
|
|
41
|
-
* An optional secondary call to action.
|
|
42
|
-
*/
|
|
43
|
-
actionSecondary?: SecondaryCallToAction;
|
|
44
|
-
/**
|
|
45
|
-
* Additional class names for the card item.
|
|
46
|
-
*/
|
|
47
|
-
className?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Additional class names for the card container.
|
|
50
|
-
*/
|
|
51
|
-
containerClassName?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Has comparison list. Will be rendered below the card if true.
|
|
54
|
-
* Add corresponding `comparisonListId` to each planPricingData object.
|
|
55
|
-
*/
|
|
56
|
-
hasComparisonList?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Optional function to handle the change event of the select input. Only valid when multiple tiers of planPricingData are present.
|
|
59
|
-
*/
|
|
60
|
-
onTierChange?: (value: any) => void;
|
|
61
|
-
/**
|
|
62
|
-
* A brief description of the plan.
|
|
63
|
-
*/
|
|
64
|
-
planDescription?: string;
|
|
65
|
-
/**
|
|
66
|
-
* The name of the plan.
|
|
67
|
-
*/
|
|
68
|
-
planName?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Plan pricing data. An array of objects.
|
|
71
|
-
*/
|
|
72
|
-
planPricingData: PlanPricingData[];
|
|
73
|
-
/**
|
|
74
|
-
* Label for the plan size select dropdown. Available to screen readers only. Provide translation string if needed.
|
|
75
|
-
*/
|
|
76
|
-
selectLabel?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Status badge labels. Provide translation strings if needed.
|
|
79
|
-
*/
|
|
80
|
-
statusBadgeLabels: StatusBadgeLabels;
|
|
81
|
-
/**
|
|
82
|
-
* Status badge type. Leave empty for no badge. Only one badge of each type should be used in a group of Pricing Cards.
|
|
83
|
-
*/
|
|
84
|
-
statusBadgeType?: 'currentPlan' | 'mostPopular';
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* PricingCard UI component
|
|
88
|
-
*/
|
|
89
|
-
export declare const PricingCard: ({ actionPrimary, actionSecondary, className, hasComparisonList, onTierChange, planDescription, planName, planPricingData, selectLabel, statusBadgeLabels, statusBadgeType, ...props }: PricingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon, SiteStatus } from '../../../libs/types/custom-types';
|
|
3
|
-
import './site-card.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for SiteCard
|
|
6
|
-
*/
|
|
7
|
-
export interface SiteCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Translatable text for the "Go to" link.
|
|
14
|
-
*/
|
|
15
|
-
gotoText?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Heading level of the card title.
|
|
18
|
-
*/
|
|
19
|
-
headingLevel?: HeadingLevelCommon;
|
|
20
|
-
/**
|
|
21
|
-
* Callback for when the card is clicked.
|
|
22
|
-
* Should only be used for special handling of restricted sites.
|
|
23
|
-
* Will override the default link behavior if provided.
|
|
24
|
-
*/
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
/**
|
|
27
|
-
* Image URL for the site.
|
|
28
|
-
*/
|
|
29
|
-
siteImage?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Link to the site dashboard.
|
|
32
|
-
*/
|
|
33
|
-
siteLink: ReactNode;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the site.
|
|
36
|
-
*/
|
|
37
|
-
siteName?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Plan of the site.
|
|
40
|
-
*/
|
|
41
|
-
sitePlan?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Status of the site.
|
|
44
|
-
*/
|
|
45
|
-
siteStatus?: SiteStatus;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* SiteCard UI component
|
|
49
|
-
*/
|
|
50
|
-
export declare const SiteCard: ({ className, gotoText, headingLevel, onClick, siteImage, siteLink, siteName, sitePlan, siteStatus, ...props }: SiteCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import type { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './footer-heading.css';
|
|
4
|
-
interface FooterHeadingProps {
|
|
5
|
-
/**
|
|
6
|
-
* Additional class names
|
|
7
|
-
*/
|
|
8
|
-
className?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Heading level
|
|
11
|
-
*/
|
|
12
|
-
headingLevel?: HeadingLevelCommon;
|
|
13
|
-
/**
|
|
14
|
-
* Heading text
|
|
15
|
-
*/
|
|
16
|
-
headingText: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Footer Heading UI component
|
|
20
|
-
*/
|
|
21
|
-
export declare const FooterHeading: ({ className, headingLevel, headingText, ...props }: FooterHeadingProps & ComponentPropsWithoutRef<HeadingLevelCommon>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import type { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './footer-links.css';
|
|
4
|
-
interface FooterLinksProps extends ComponentPropsWithoutRef<'div'> {
|
|
5
|
-
/**
|
|
6
|
-
* Additional class names
|
|
7
|
-
*/
|
|
8
|
-
className?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Heading level
|
|
11
|
-
*/
|
|
12
|
-
headingLevel?: HeadingLevelCommon;
|
|
13
|
-
/**
|
|
14
|
-
* Heading text
|
|
15
|
-
*/
|
|
16
|
-
headingText: string;
|
|
17
|
-
/**
|
|
18
|
-
* Array of links
|
|
19
|
-
*/
|
|
20
|
-
linkItems?: ReactNode[];
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Footer Links UI component
|
|
24
|
-
*/
|
|
25
|
-
export declare const FooterLinks: ({ className, headingLevel, headingText, linkItems, ...props }: FooterLinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { ContainerWidth } from '../../../libs/types/custom-types';
|
|
3
|
-
import './site-footer.css';
|
|
4
|
-
interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
5
|
-
/**
|
|
6
|
-
* Footer content.
|
|
7
|
-
*/
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Additional class names
|
|
11
|
-
*/
|
|
12
|
-
className?: string;
|
|
13
|
-
/**
|
|
14
|
-
* PDS container width.
|
|
15
|
-
*/
|
|
16
|
-
containerWidth?: ContainerWidth;
|
|
17
|
-
/**
|
|
18
|
-
* Should the footer have a top border?
|
|
19
|
-
*/
|
|
20
|
-
hasTopBorder?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Legal policy links.
|
|
23
|
-
*/
|
|
24
|
-
legalLinks?: Array<'privacy' | 'dataSubjectRequest' | 'cookiePolicy' | 'termsOfUse' | 'acceptableUse' | 'accessibilityStatement'>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* SiteFooter UI component
|
|
28
|
-
*/
|
|
29
|
-
export declare const SiteFooter: ({ children, className, containerWidth, hasTopBorder, legalLinks, ...props }: SiteFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const docsFooterContent: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { DashboardNavItemProps } from './DashboardNavItem';
|
|
3
|
-
import './dashboard-nav.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for DashboardNav
|
|
6
|
-
*/
|
|
7
|
-
export interface DashboardNavProps extends ComponentPropsWithoutRef<'nav'> {
|
|
8
|
-
/**
|
|
9
|
-
* Aria label for the navigation.
|
|
10
|
-
*/
|
|
11
|
-
ariaLabel: string;
|
|
12
|
-
/**
|
|
13
|
-
* Additional class names
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Labels for translatable strings.
|
|
18
|
-
*/
|
|
19
|
-
labels?: {
|
|
20
|
-
submenu: string;
|
|
21
|
-
toggle: string;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Menu items to render.
|
|
25
|
-
*/
|
|
26
|
-
menuItems: DashboardNavItemProps[];
|
|
27
|
-
/**
|
|
28
|
-
* Text to display in the mobile menu trigger button when no active link is found.
|
|
29
|
-
*/
|
|
30
|
-
mobileMenuSelectTextFallback?: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* DashboardNav UI component
|
|
34
|
-
*/
|
|
35
|
-
export declare const DashboardNav: ({ ariaLabel, className, labels, menuItems, mobileMenuSelectTextFallback, ...props }: DashboardNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NavigationItem } from '../../../libs/types/navigation-types';
|
|
2
|
-
import { PDSIcon } from '../../icons/Icon/Icon';
|
|
3
|
-
import './dashboard-nav.css';
|
|
4
|
-
export interface DashboardNavItemProps extends NavigationItem {
|
|
5
|
-
/**
|
|
6
|
-
* Icon to display next to the link content.
|
|
7
|
-
*/
|
|
8
|
-
icon?: PDSIcon;
|
|
9
|
-
/**
|
|
10
|
-
* Flag indicating whether the sidebar is expanded.
|
|
11
|
-
*/
|
|
12
|
-
isSidebarExpanded?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Labels for translatable strings.
|
|
15
|
-
*/
|
|
16
|
-
labels?: {
|
|
17
|
-
submenu: string;
|
|
18
|
-
toggle: string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* DashboardNavItem UI component
|
|
23
|
-
*/
|
|
24
|
-
export declare const DashboardNavItem: ({ icon, isActive, isSidebarExpanded, labels, linkContent, links, }: DashboardNavItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { NavMenuItem } from '../../../libs/types/navigation-types';
|
|
3
|
-
/**
|
|
4
|
-
* Prop types for NavMenuDropdown
|
|
5
|
-
*/
|
|
6
|
-
interface NavMenuDropdownProps extends ComponentPropsWithoutRef<'button'> {
|
|
7
|
-
/**
|
|
8
|
-
* Dropdown items.
|
|
9
|
-
*/
|
|
10
|
-
items?: NavMenuItem[];
|
|
11
|
-
/**
|
|
12
|
-
* Dropdown label.
|
|
13
|
-
*/
|
|
14
|
-
label?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Mobile menu will be enabled when viewport is at or below this number in pixels.
|
|
17
|
-
*/
|
|
18
|
-
mobileMenuMaxWidth?: number;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* NavMenuDropdown UI component
|
|
22
|
-
*/
|
|
23
|
-
export declare const NavMenuDropdown: ({ items, label, mobileMenuMaxWidth, }: NavMenuDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import '../tiles-common.css';
|
|
3
|
-
import './avatar-tile-list.css';
|
|
4
|
-
export type AvatarTileListItem = {
|
|
5
|
-
alt?: string;
|
|
6
|
-
image?: string;
|
|
7
|
-
linkContent?: ReactNode;
|
|
8
|
-
name?: string;
|
|
9
|
-
org?: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Prop types for AvatarTileList
|
|
14
|
-
*/
|
|
15
|
-
export interface AvatarTileListProps extends ComponentPropsWithoutRef<'div'> {
|
|
16
|
-
/**
|
|
17
|
-
* Additional class names
|
|
18
|
-
*/
|
|
19
|
-
className?: string;
|
|
20
|
-
/**
|
|
21
|
-
* List of items for each tile.
|
|
22
|
-
*/
|
|
23
|
-
listItems: AvatarTileListItem[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* AvatarTileList UI component
|
|
27
|
-
*/
|
|
28
|
-
export declare const AvatarTileList: ({ className, listItems, ...props }: AvatarTileListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './../tiles-common.css';
|
|
4
|
-
import './tile.css';
|
|
5
|
-
export type TileDisplayType = 'border' | 'clean' | 'clean-static';
|
|
6
|
-
/**
|
|
7
|
-
* Prop types for Tile
|
|
8
|
-
*/
|
|
9
|
-
export interface TileProps extends ComponentPropsWithoutRef<'div'> {
|
|
10
|
-
/**
|
|
11
|
-
* Additional class names
|
|
12
|
-
*/
|
|
13
|
-
className?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Display type.
|
|
16
|
-
*/
|
|
17
|
-
displayType?: TileDisplayType;
|
|
18
|
-
/**
|
|
19
|
-
* Heading level or `span`.
|
|
20
|
-
*/
|
|
21
|
-
headingLevel?: HeadingLevelCommon;
|
|
22
|
-
/**
|
|
23
|
-
* Heading text.
|
|
24
|
-
*/
|
|
25
|
-
headingText?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Image source.
|
|
28
|
-
*/
|
|
29
|
-
imageSrc?: string;
|
|
30
|
-
/**
|
|
31
|
-
* A link element using the router of your choice.
|
|
32
|
-
*/
|
|
33
|
-
linkContent?: ReactNode;
|
|
34
|
-
/**
|
|
35
|
-
* Summary paragraph.
|
|
36
|
-
*/
|
|
37
|
-
summary?: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Tile UI component
|
|
41
|
-
*/
|
|
42
|
-
export declare const Tile: ({ className, displayType, headingLevel, headingText, imageSrc, linkContent, summary, ...props }: TileProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import { TileDisplayType, TileProps } from '../../tiles/Tile/Tile';
|
|
4
|
-
import './../tiles-common.css';
|
|
5
|
-
/**
|
|
6
|
-
* Prop types for TileGrid
|
|
7
|
-
*/
|
|
8
|
-
export interface TileGridProps extends ComponentPropsWithoutRef<'div'> {
|
|
9
|
-
/**
|
|
10
|
-
* Additional class names
|
|
11
|
-
*/
|
|
12
|
-
className?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Display type.
|
|
15
|
-
*/
|
|
16
|
-
displayType?: TileDisplayType;
|
|
17
|
-
/**
|
|
18
|
-
* Heading level or `span`. All tiles in the grid will use this heading level.
|
|
19
|
-
*/
|
|
20
|
-
headingLevel?: HeadingLevelCommon;
|
|
21
|
-
/**
|
|
22
|
-
* Array of Tiles.
|
|
23
|
-
*/
|
|
24
|
-
tiles: TileProps[];
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* TileGrid UI component
|
|
28
|
-
*/
|
|
29
|
-
export declare const TileGrid: ({ className, displayType, headingLevel, tiles, ...props }: TileGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-avatar-tile-list a{cursor:pointer;text-decoration:none}.pds-tile-list__image{margin-block-end:var(--pds-spacing-m)}.pds-tile-list__image--avatar img{border-radius:50%;height:auto;width:11rem}.pds-tile-list__name{color:var(--pds-color-fg-default);font-size:var(--pds-typography-size-xl);font-weight:var(--pds-typography-fw-bold)}.pds-tile-list__title{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold);margin-block-start:var(--pds-spacing-2xs)}.pds-tile-list__org{color:var(--pds-color-fg-default);font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-regular);margin-block-start:var(--pds-spacing-4xs)}.pds-tile-list__item:focus-visible{outline-width:2px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-card-heading{color:var(--pds-color-fg-default);display:block;margin-block-end:var(--pds-spacing-m)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-card-select-group{border:none;color:var(--pds-color-fg-default);font-family:var(--pds-typography-ff-sans);margin-inline:0;padding:0;padding-block-start:var(--pds-spacing-3xs)}.pds-card-select-group__legend{display:block;font-size:var(--pds-typography-size-l);font-weight:var(--pds-typography-fw-semibold);margin-block-end:var(--pds-spacing-s);text-align:left}.pds-card-select-group__legend--center{text-align:center}.pds-card-select-group__option input[type=radio]{appearance:none}.pds-card-select-group__option-label{background-color:var(--pds-color-card-background);border-radius:var(--pds-border-radius-container);box-shadow:var(--pds-elevation-raised);column-gap:var(--pds-spacing-s);display:inline-flex;font-size:var(--pds-typography-size-l);font-weight:var(--pds-typography-fw-semibold);height:100%;margin-block-end:0;padding:var(--pds-spacing-m);width:100%}.pds-card-select-group__option-label--selected,.pds-card-select-group__option-label:hover{background-color:var(--pds-color-interactive-background-hover);cursor:pointer}.pds-card-select-group__option-icon{color:var(--pds-color-border-input)}.pds-card-select-group__option-icon--selected{color:var(--pds-color-status-success-foreground)}.pds-card-select-group__option-description{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-regular);line-height:var(--pds-typography-lh-m);margin-block-start:var(--pds-spacing-3xs)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-cta-slice{background-color:var(--pds-color-bg-default)}.pds-cta-slice--secondary{background-color:var(--pds-color-bg-default-secondary)}.pds-cta-slice .pds-container{align-items:center;display:flex;flex-direction:column;justify-content:center;padding-block:var(--pds-spacing-3xl);text-align:center}@media (min-width:768px){.pds-cta-slice .pds-container{padding-block:var(--pds-spacing-4xl);padding-inline:var(--pds-spacing-4xl)}}@media (min-width:1280px){.pds-cta-slice .pds-container{padding-block:var(--pds-spacing-6xl);padding-inline:var(--pds-spacing-5xl)}}.pds-cta-slice__heading{color:var(--pds-color-fg-default);display:block;font-weight:var(--pds-typography-fw-bold);margin-block-end:0}.pds-cta-slice__lead-text{color:var(--pds-color-fg-default-secondary);margin-block-end:0;margin-block-start:var(--pds-spacing-xl)}.pds-cta-slice__links{margin-block-start:var(--pds-spacing-2xl)}
|