@pantheon-systems/pds-toolkit-react 2.0.0-alpha.2 → 2.0.0-alpha.21
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/Drawer/Drawer.d.ts +58 -0
- 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/Modal/Modal.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +5 -1
- package/dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +1 -1
- 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 +10 -19
- package/dist/components/Tabs/Tabs.d.ts +6 -1
- package/dist/components/Tag/Tag.d.ts +7 -2
- package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +14 -8
- package/dist/components/Tooltip/Tooltip.d.ts +5 -1
- package/dist/components/badges/Badge/Badge.d.ts +28 -0
- package/dist/components/buttons/CloseButton/CloseButton.d.ts +6 -6
- package/dist/components/buttons/IconButton/IconButton.d.ts +4 -0
- package/dist/components/buttons/MenuButton/MenuButton.d.ts +2 -7
- package/dist/components/cards/Card/Card.d.ts +1 -1
- package/dist/components/cards/NewSiteCard/NewSiteCard.d.ts +1 -1
- package/dist/components/cards/PricingCard/PricingCard.d.ts +6 -1
- package/dist/components/charts/BarChart/BarChart.d.ts +21 -0
- package/dist/components/charts/LineChart/LineChart.d.ts +22 -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 +7 -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/footer/SiteFooter/SiteFooter.d.ts +5 -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 +1450 -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 +2 -2
- package/dist/components/inputs/Combobox/Combobox.d.ts +16 -6
- package/dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +32 -5
- package/dist/components/inputs/Datepicker/Datepicker.d.ts +15 -1
- package/dist/components/inputs/FileUpload/FileUpload.d.ts +5 -0
- package/dist/components/inputs/Select/Select.d.ts +10 -1
- package/dist/components/inputs/Select/select-sample-data.d.ts +1 -0
- package/dist/components/inputs/Switch/Switch.d.ts +0 -16
- package/dist/components/inputs/TagsInput/TagsInput.d.ts +100 -0
- package/dist/components/inputs/TextInput/TextInput.d.ts +4 -0
- package/dist/components/inputs/Textarea/Textarea.d.ts +4 -0
- package/dist/components/inputs/input-utilities.d.ts +4 -3
- 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/{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/css/component-css/pds-avatar-tile-list.css +1 -1
- 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-group.css +1 -1
- 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-dashboard-search.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-empty-state-card.css +1 -1
- 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-flow-steps.css +1 -1
- package/dist/css/component-css/pds-footer-links.css +1 -1
- 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 +96 -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-new-site-card.css +1 -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-card.css +1 -1
- package/dist/css/component-css/pds-payment-icon.css +1 -1
- 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-pricing-card.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-pull-quote.css +1 -1
- 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-card.css +1 -1
- package/dist/css/component-css/pds-site-footer.css +1 -1
- package/dist/css/component-css/pds-skiplink.css +1 -1
- 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-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-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 +232 -49
- package/dist/css/design-tokens/variables.global.css +8 -11
- package/dist/css/design-tokens/variables.light.css +207 -46
- package/dist/css/design-tokens/variables.typography.css +9 -6
- package/dist/css/layout-css/pds-app-layout.css +2 -0
- package/dist/css/layout-css/pds-docs-layout.css +1 -0
- package/dist/css/layout-css/pds-index.css +2 -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 +96 -57
- package/dist/css/pds-core.css +2 -2
- package/dist/css/pds-layouts.css +2 -9
- package/dist/index.css +1 -1
- package/dist/index.d.ts +88 -6
- package/dist/index.js +11161 -1809
- package/dist/index.js.map +1 -1
- package/dist/index.source.d.ts +21 -16
- 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/types/custom-types.d.ts +10 -2
- package/dist/libs/types/navigation-types.d.ts +1 -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/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/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/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/circleInfo.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/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/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 +67 -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/badges/IndicatorBadge/IndicatorBadge.d.ts +0 -27
- 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/css/component-css/pds-dashboard-nav.css +0 -5
- package/dist/css/component-css/pds-indicator-badge.css +0 -25
- package/dist/css/component-css/pds-refresh-checker.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/{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/{layouts → utilities}/Container/Container.d.ts +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
2
|
import { ButtonVariant, HeadingItemType, LinkItemType, MenuItemType, NodeItemType, SeparatorItemType } from '../../../libs/types/custom-types';
|
|
3
3
|
import { PDSIcon } from '../../icons/Icon/Icon';
|
|
4
|
+
import '@components/Dropdown/dropdown.css';
|
|
4
5
|
import './menu-button.css';
|
|
5
6
|
type MenuButtonSize = 's' | 'm';
|
|
6
7
|
/**
|
|
@@ -63,15 +64,9 @@ export interface MenuButtonProps extends ComponentPropsWithRef<'span'> {
|
|
|
63
64
|
* Which variant of button to render — only valid for icon-end (default) display type.
|
|
64
65
|
*/
|
|
65
66
|
variant?: Extract<ButtonVariant, 'primary' | 'secondary' | 'navbar'>;
|
|
66
|
-
/**
|
|
67
|
-
* Is this button located with the Navbar component?
|
|
68
|
-
* This will adjust the styling and position of the dropdown.
|
|
69
|
-
* Omit this prop for the Dashboard application. It only applies to the standard Navbar component with a bottom border.
|
|
70
|
-
*/
|
|
71
|
-
withinNavbar?: boolean;
|
|
72
67
|
}
|
|
73
68
|
/**
|
|
74
69
|
* MenuButton UI component
|
|
75
70
|
*/
|
|
76
|
-
export declare const MenuButton: ({ className, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, onClick, size, testId, undefinedLabel, variant,
|
|
71
|
+
export declare const MenuButton: ({ className, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, onClick, size, testId, undefinedLabel, variant, ...props }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
77
72
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { GridGapOptions } from '../../../libs/types/layout-types';
|
|
3
3
|
import './card.css';
|
|
4
|
-
export type CardBackground = 'default' | '
|
|
4
|
+
export type CardBackground = 'default' | 'transparent';
|
|
5
5
|
/**
|
|
6
6
|
* Prop types for Card
|
|
7
7
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
2
3
|
import { ListItems } from '../../ComparisonList/ComparisonList';
|
|
3
4
|
import './pricing-card.css';
|
|
4
5
|
interface PrimaryCallToAction {
|
|
@@ -54,6 +55,10 @@ interface PricingCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
54
55
|
* Add corresponding `comparisonListId` to each planPricingData object.
|
|
55
56
|
*/
|
|
56
57
|
hasComparisonList?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Heading level for the plan name.
|
|
60
|
+
*/
|
|
61
|
+
headingLevel?: HeadingLevelCommon;
|
|
57
62
|
/**
|
|
58
63
|
* Optional function to handle the change event of the select input. Only valid when multiple tiers of planPricingData are present.
|
|
59
64
|
*/
|
|
@@ -86,5 +91,5 @@ interface PricingCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
86
91
|
/**
|
|
87
92
|
* PricingCard UI component
|
|
88
93
|
*/
|
|
89
|
-
export declare const PricingCard: ({ actionPrimary, actionSecondary, className, hasComparisonList, onTierChange, planDescription, planName, planPricingData, selectLabel, statusBadgeLabels, statusBadgeType, ...props }: PricingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
export declare const PricingCard: ({ actionPrimary, actionSecondary, className, hasComparisonList, headingLevel, onTierChange, planDescription, planName, planPricingData, selectLabel, statusBadgeLabels, statusBadgeType, ...props }: PricingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
95
|
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { BaseChartProps } from '../shared/types';
|
|
3
|
+
import '../shared/chart-wrapper.css';
|
|
4
|
+
import './bar-chart.css';
|
|
5
|
+
export type BarChartLayout = 'horizontal' | 'vertical';
|
|
6
|
+
export type BarChartVariant = 'grouped' | 'stacked';
|
|
7
|
+
export interface BarChartProps extends BaseChartProps, Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
8
|
+
/** Border radius on bars (default: 2) */
|
|
9
|
+
barRadius?: number;
|
|
10
|
+
/** Bar orientation — horizontal (default, bars go up) or vertical (bars go sideways) */
|
|
11
|
+
layout?: BarChartLayout;
|
|
12
|
+
/** Bar layout variant (default: 'stacked') */
|
|
13
|
+
variant?: BarChartVariant;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* BarChart UI component
|
|
17
|
+
*
|
|
18
|
+
* Renders a responsive bar chart with support for stacked or grouped layouts,
|
|
19
|
+
* multiple series, tooltips, and an accessible data table.
|
|
20
|
+
*/
|
|
21
|
+
export declare const BarChart: ({ barRadius, chartHeight, chartWidth, className, colorPalette, data, isLoading, isThumbnail, labelStrings, layout, legendVariant, onTimePeriodChange, selectedTimePeriod, series, showAccessibleTable, showAxisLines, showGrid, showLegend, showTooltip, timePeriodOptions, tooltipContent, variant, xAxisLabel, xAxisTickInterval, yAxisDomain, yAxisFormatter, yAxisLabel, yAxisTickInterval, ...props }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { AnnotationConfig, BaseChartProps, ReferenceLineConfig } from '../shared/types';
|
|
3
|
+
import '../shared/chart-wrapper.css';
|
|
4
|
+
import './line-chart.css';
|
|
5
|
+
export type LineStyle = 'smooth' | 'straight';
|
|
6
|
+
export interface LineChartProps extends BaseChartProps, Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
7
|
+
/** Annotation markers (e.g., "TODAY") */
|
|
8
|
+
annotations?: AnnotationConfig[];
|
|
9
|
+
/** Line curve style (default: 'smooth') */
|
|
10
|
+
lineStyle?: LineStyle;
|
|
11
|
+
/** Reference lines (e.g., contract limit) */
|
|
12
|
+
referenceLines?: ReferenceLineConfig[];
|
|
13
|
+
/** Show data points on lines (default: true) */
|
|
14
|
+
showDataPoints?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* LineChart UI component
|
|
18
|
+
*
|
|
19
|
+
* Renders a responsive line chart with support for multiple series,
|
|
20
|
+
* reference lines, annotations, tooltips, and an accessible data table.
|
|
21
|
+
*/
|
|
22
|
+
export declare const LineChart: ({ annotations, chartHeight, chartWidth, className, colorPalette, data, isLoading, isThumbnail, labelStrings, legendVariant, lineStyle, onTimePeriodChange, referenceLines, selectedTimePeriod, series, showAccessibleTable, showAxisLines, showDataPoints, showGrid, showLegend, showTooltip, timePeriodOptions, tooltipContent, xAxisLabel, xAxisTickInterval, yAxisDomain, yAxisFormatter, yAxisLabel, yAxisTickInterval, ...props }: LineChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ChartDataPoint, SeriesConfig } from './types';
|
|
2
|
+
interface ChartAccessibleTableProps {
|
|
3
|
+
/** Chart data points */
|
|
4
|
+
data: ChartDataPoint[];
|
|
5
|
+
/** Accessible description for the table */
|
|
6
|
+
description: string;
|
|
7
|
+
/** Series definitions */
|
|
8
|
+
series: SeriesConfig[];
|
|
9
|
+
/** Optional value formatter */
|
|
10
|
+
valueFormatter?: (value: number) => string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders a visually-hidden HTML table containing chart data
|
|
14
|
+
* for screen reader accessibility.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ChartAccessibleTable: ({ data, description, series, valueFormatter, }: ChartAccessibleTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ChartDataPoint, SeriesConfig } from './types';
|
|
2
|
+
import './chart-legend.css';
|
|
3
|
+
export type LegendVariant = 'inline' | 'table';
|
|
4
|
+
interface ChartLegendProps {
|
|
5
|
+
/** Chart data — used to calculate totals for table variant */
|
|
6
|
+
data?: ChartDataPoint[];
|
|
7
|
+
/** Series definitions */
|
|
8
|
+
series: SeriesConfig[];
|
|
9
|
+
/** Colors resolved from tokens */
|
|
10
|
+
seriesColors: string[];
|
|
11
|
+
/** Table header for the totals column */
|
|
12
|
+
tableHeader?: string;
|
|
13
|
+
/** Formatter for total values in table variant */
|
|
14
|
+
valueFormatter?: (value: number) => string;
|
|
15
|
+
/** Legend display style (default: 'inline') */
|
|
16
|
+
variant?: LegendVariant;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* ChartLegend component
|
|
20
|
+
*
|
|
21
|
+
* Renders a chart legend in either inline (horizontal list) or
|
|
22
|
+
* table (rows with totals) format.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ChartLegend: ({ data, series, seriesColors, tableHeader, valueFormatter, variant, }: ChartLegendProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LegendVariant } from './types';
|
|
2
|
+
export interface ChartSkeletonProps {
|
|
3
|
+
height: number;
|
|
4
|
+
legendVariant?: LegendVariant;
|
|
5
|
+
showLegend?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const ChartSkeleton: ({ height, legendVariant, showLegend, }: ChartSkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import type { ColorPalette } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Strips fill-only steps from palettes that have them, returning only standalone-safe colors.
|
|
5
|
+
* Bar and line charts should always use this before rendering series colors.
|
|
6
|
+
*/
|
|
7
|
+
export declare const toStandaloneColors: (palette: ColorPalette, colors: string[]) => string[];
|
|
8
|
+
/**
|
|
9
|
+
* Normalizes a paletteIndex for palettes that have fill-only steps.
|
|
10
|
+
* Clamps fill-only step numbers (e.g. 1–2 on sequential-iris/multi) to the first safe step,
|
|
11
|
+
* then adjusts for the slice offset so the number still maps correctly into the sliced array.
|
|
12
|
+
* Non-restricted palettes pass through unchanged.
|
|
13
|
+
*/
|
|
14
|
+
export declare const clampPaletteIndex: (palette: ColorPalette, paletteIndex: number | undefined) => number | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Get color for a series by index, cycling through palette if needed.
|
|
17
|
+
* Priority: customColor (hex) > paletteIndex (theme-aware) > auto-assigned.
|
|
18
|
+
*/
|
|
19
|
+
export declare const getSeriesColor: (index: number, palette: string[], customColor?: string, paletteIndex?: number) => string;
|
|
20
|
+
/**
|
|
21
|
+
* Resolve palette token colors from computed styles on an element.
|
|
22
|
+
* Falls back to hex values if tokens are not available.
|
|
23
|
+
*/
|
|
24
|
+
export declare const resolveTokenColors: (element: HTMLElement | null, paletteName: ColorPalette) => string[];
|
|
25
|
+
/**
|
|
26
|
+
* Hook to resolve chart colors from design tokens at runtime.
|
|
27
|
+
* Falls back to hex values when tokens are not loaded (e.g., SSR).
|
|
28
|
+
* Re-resolves when the theme changes (via data-theme attribute).
|
|
29
|
+
*/
|
|
30
|
+
export declare const useChartColors: (containerRef: RefObject<HTMLElement | null>, paletteName?: ColorPalette) => string[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared Recharts style configuration using PDS design tokens.
|
|
3
|
+
* Keeps all chart styling in one place rather than split between CSS and JS.
|
|
4
|
+
*/
|
|
5
|
+
export declare const axisTickStyle: {
|
|
6
|
+
fill: string;
|
|
7
|
+
fontFamily: string;
|
|
8
|
+
fontSize: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const axisLabelStyle: {
|
|
11
|
+
fill: string;
|
|
12
|
+
fontFamily: string;
|
|
13
|
+
fontSize: string;
|
|
14
|
+
fontWeight: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const gridStroke = "var(--pds-color-border-default)";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format a number with K/M/B suffixes for chart axis labels.
|
|
3
|
+
*/
|
|
4
|
+
export declare const formatCompactNumber: (value: number) => string;
|
|
5
|
+
/**
|
|
6
|
+
* Format a number with locale-aware thousand separators.
|
|
7
|
+
*/
|
|
8
|
+
export declare const formatLocaleNumber: (value: number) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Format a number as a percentage.
|
|
11
|
+
*/
|
|
12
|
+
export declare const formatPercent: (value: number) => string;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface ChartDataPoint {
|
|
3
|
+
/** One or more numeric series values, keyed by series name */
|
|
4
|
+
[key: string]: number | string;
|
|
5
|
+
/** X-axis label */
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
export type StrokeStyle = 'dashed' | 'solid';
|
|
9
|
+
export interface SeriesConfig {
|
|
10
|
+
/** Override default token color (CSS custom property or hex). Not theme-aware — use paletteIndex for theme-aware overrides. */
|
|
11
|
+
color?: string;
|
|
12
|
+
/** Key matching a property in ChartDataPoint */
|
|
13
|
+
dataKey: string;
|
|
14
|
+
/** Display label for legend/tooltip */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Pick a specific color from the selected palette by position (1-based). Theme-aware — automatically adjusts for light/dark mode. */
|
|
17
|
+
paletteIndex?: number;
|
|
18
|
+
/** Line style (LineChart only) */
|
|
19
|
+
strokeStyle?: StrokeStyle;
|
|
20
|
+
}
|
|
21
|
+
export interface ReferenceLineConfig {
|
|
22
|
+
/** Color override */
|
|
23
|
+
color?: string;
|
|
24
|
+
/** Display label */
|
|
25
|
+
label: string;
|
|
26
|
+
/** Line style */
|
|
27
|
+
strokeStyle?: StrokeStyle;
|
|
28
|
+
/** Y-axis value where line appears */
|
|
29
|
+
value: number;
|
|
30
|
+
}
|
|
31
|
+
export interface AnnotationConfig {
|
|
32
|
+
/** X-axis label value to annotate */
|
|
33
|
+
atLabel: string;
|
|
34
|
+
/** Color override */
|
|
35
|
+
color?: string;
|
|
36
|
+
/** Line style */
|
|
37
|
+
strokeStyle?: StrokeStyle;
|
|
38
|
+
/** Display text */
|
|
39
|
+
text: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TimePeriodOption {
|
|
42
|
+
/** Display label ("Last 30 Days") */
|
|
43
|
+
label: string;
|
|
44
|
+
/** Value identifier */
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
export type ColorPalette = 'categorical' | 'diverging-a' | 'diverging-b' | 'sequential-gray' | 'sequential-iris' | 'sequential-multi' | 'single' | 'status';
|
|
48
|
+
export type LegendVariant = 'inline' | 'table';
|
|
49
|
+
export interface TooltipEntry {
|
|
50
|
+
/** Series bar/line color */
|
|
51
|
+
color: string;
|
|
52
|
+
/** Series data key */
|
|
53
|
+
dataKey: string;
|
|
54
|
+
/** Series display name */
|
|
55
|
+
name: string;
|
|
56
|
+
/** Data value */
|
|
57
|
+
value: number;
|
|
58
|
+
}
|
|
59
|
+
export interface TooltipPayload {
|
|
60
|
+
/** All series entries for this x-axis position */
|
|
61
|
+
entries: TooltipEntry[];
|
|
62
|
+
/** X-axis label */
|
|
63
|
+
label: string;
|
|
64
|
+
}
|
|
65
|
+
export type YAxisDomainItem = number | string | ((dataMax: number) => number);
|
|
66
|
+
export type YAxisDomain = [YAxisDomainItem, YAxisDomainItem];
|
|
67
|
+
export interface ChartLabelStrings {
|
|
68
|
+
/** Accessible description for the hidden data table. */
|
|
69
|
+
accessibleTableDescription?: string;
|
|
70
|
+
/** Heading for the empty state. */
|
|
71
|
+
emptyStateHeading?: string;
|
|
72
|
+
/** Message body for the empty state. */
|
|
73
|
+
emptyStateMessage?: string;
|
|
74
|
+
/** Table header for the totals column when legendVariant is 'table'. */
|
|
75
|
+
legendTableHeader?: string;
|
|
76
|
+
/** Loading label for screen readers. */
|
|
77
|
+
loadingLabel?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface BaseChartProps {
|
|
80
|
+
/** Height of the chart area in pixels. Does not include the legend, header, or accessible table. */
|
|
81
|
+
chartHeight?: number;
|
|
82
|
+
/** Maximum width of the chart component in pixels. The chart is responsive and will shrink within this constraint. */
|
|
83
|
+
chartWidth?: number;
|
|
84
|
+
/** Color palette to use for series colors (default: 'categorical') */
|
|
85
|
+
colorPalette?: ColorPalette;
|
|
86
|
+
/** Chart data points */
|
|
87
|
+
data: ChartDataPoint[];
|
|
88
|
+
/** Show loading state */
|
|
89
|
+
isLoading?: boolean;
|
|
90
|
+
/** Thumbnail mode — hides grid, axes, legend, tooltips, and reduces chart height. Individual show* props can override. */
|
|
91
|
+
isThumbnail?: boolean;
|
|
92
|
+
/** Translatable UI strings. Provide overrides for i18n. */
|
|
93
|
+
labelStrings?: ChartLabelStrings;
|
|
94
|
+
/** Legend display style (default: 'inline') */
|
|
95
|
+
legendVariant?: LegendVariant;
|
|
96
|
+
/** Callback when time period changes */
|
|
97
|
+
onTimePeriodChange?: (value: string) => void;
|
|
98
|
+
/** Currently selected time period */
|
|
99
|
+
selectedTimePeriod?: string;
|
|
100
|
+
/** Series definitions */
|
|
101
|
+
series: SeriesConfig[];
|
|
102
|
+
/** Show accessible data table (visually hidden). Defaults to true regardless of isThumbnail. */
|
|
103
|
+
showAccessibleTable?: boolean;
|
|
104
|
+
/** Show axis baseline lines. Defaults to true; false when isThumbnail is set. */
|
|
105
|
+
showAxisLines?: boolean;
|
|
106
|
+
/** Show grid lines. Defaults to true; false when isThumbnail is set. */
|
|
107
|
+
showGrid?: boolean;
|
|
108
|
+
/** Show legend. Defaults to true; false when isThumbnail is set. */
|
|
109
|
+
showLegend?: boolean;
|
|
110
|
+
/** Show tooltip on hover. Defaults to true; false when isThumbnail is set. */
|
|
111
|
+
showTooltip?: boolean;
|
|
112
|
+
/** Time period options for built-in selector */
|
|
113
|
+
timePeriodOptions?: TimePeriodOption[];
|
|
114
|
+
/** Custom tooltip renderer. Receives normalized payload and replaces the built-in tooltip. */
|
|
115
|
+
tooltipContent?: (payload: TooltipPayload) => ReactNode;
|
|
116
|
+
/** X-axis label */
|
|
117
|
+
xAxisLabel?: string;
|
|
118
|
+
/** How often to show x-axis ticks. A number n shows every nth tick (e.g. 1 = every other). Defaults to auto. */
|
|
119
|
+
xAxisTickInterval?: number | 'preserveStart' | 'preserveEnd' | 'preserveStartEnd';
|
|
120
|
+
/** Override the Y-axis scale bounds. Accepts a tuple of [min, max] where each can be a number, 'auto', 'dataMin', 'dataMax', or a function receiving the data max. */
|
|
121
|
+
yAxisDomain?: YAxisDomain;
|
|
122
|
+
/** Custom Y-axis tick formatter */
|
|
123
|
+
yAxisFormatter?: (value: number) => string;
|
|
124
|
+
/** Y-axis label */
|
|
125
|
+
yAxisLabel?: string;
|
|
126
|
+
/** How often to show y-axis ticks. A number n shows every nth tick (e.g. 1 = every other). Defaults to auto. */
|
|
127
|
+
yAxisTickInterval?: number | 'preserveStart' | 'preserveEnd' | 'preserveStartEnd';
|
|
128
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { HeadingLevel } from '../../../libs/types/custom-types';
|
|
3
|
-
import { VideoEmbedProps } from '../../VideoEmbed/VideoEmbed';
|
|
3
|
+
import { VideoEmbedProps } from '../../media/VideoEmbed/VideoEmbed';
|
|
4
4
|
import './horizontal-empty-state.css';
|
|
5
5
|
/**
|
|
6
6
|
* Prop types for HorizontalEmptyState
|
|
@@ -2,6 +2,10 @@ import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
|
2
2
|
import { ContainerWidth } from '../../../libs/types/custom-types';
|
|
3
3
|
import './site-footer.css';
|
|
4
4
|
interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
5
|
+
/**
|
|
6
|
+
* HTML element to render. Use 'footer' for standalone usage or 'div' when nested inside another footer landmark.
|
|
7
|
+
*/
|
|
8
|
+
as?: 'footer' | 'div';
|
|
5
9
|
/**
|
|
6
10
|
* Footer content.
|
|
7
11
|
*/
|
|
@@ -26,5 +30,5 @@ interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
|
26
30
|
/**
|
|
27
31
|
* SiteFooter UI component
|
|
28
32
|
*/
|
|
29
|
-
export declare const SiteFooter: ({ children, className, containerWidth, hasTopBorder, legalLinks, ...props }: SiteFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const SiteFooter: ({ as: Element, children, className, containerWidth, hasTopBorder, legalLinks, ...props }: SiteFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
34
|
export {};
|