@effectiveailabs/design-system 0.0.0-stage → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +125 -2
- package/dist/components/AdaptiveGrid/AdaptiveGrid.d.ts +38 -0
- package/dist/components/AdaptiveGrid/AdaptiveGrid.js +15 -0
- package/dist/components/AdaptiveGrid/AdaptiveGrid.stylex.d.ts +104 -0
- package/dist/components/AdaptiveGrid/AdaptiveGrid.stylex.js +62 -0
- package/dist/components/Anchor/Anchor.d.ts +29 -0
- package/dist/components/Anchor/Anchor.js +56 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.d.ts +16 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.js +45 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.stylex.d.ts +6 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.stylex.js +7 -0
- package/dist/components/AnnotationPin/AnnotationOutlet.d.ts +15 -0
- package/dist/components/AnnotationPin/AnnotationOutlet.js +15 -0
- package/dist/components/AnnotationPin/AnnotationPin.d.ts +31 -0
- package/dist/components/AnnotationPin/AnnotationPin.js +99 -0
- package/dist/components/AnnotationPin/AnnotationPin.layout.d.ts +19 -0
- package/dist/components/AnnotationPin/AnnotationPin.layout.js +56 -0
- package/dist/components/AnnotationPin/AnnotationPin.stylex.d.ts +48 -0
- package/dist/components/AnnotationPin/AnnotationPin.stylex.js +39 -0
- package/dist/components/AnnotationPin/AnnotationScope.d.ts +26 -0
- package/dist/components/AnnotationPin/AnnotationScope.js +59 -0
- package/dist/components/AnnotationPin/AnnotationScope.layout.d.ts +15 -0
- package/dist/components/AnnotationPin/AnnotationScope.layout.js +68 -0
- package/dist/components/AnnotationPin/useRangeAnchor.d.ts +9 -0
- package/dist/components/AnnotationPin/useRangeAnchor.js +35 -0
- package/dist/components/App/App.d.ts +85 -0
- package/dist/components/App/App.js +515 -0
- package/dist/components/App/App.layout.d.ts +25 -0
- package/dist/components/App/App.layout.js +42 -0
- package/dist/components/App/App.stylex.d.ts +373 -0
- package/dist/components/App/App.stylex.js +352 -0
- package/dist/components/App/AppNavigationHeader.context.d.ts +9 -0
- package/dist/components/App/AppNavigationHeader.context.js +13 -0
- package/dist/components/Article/Article.d.ts +16 -0
- package/dist/components/Article/Article.js +14 -0
- package/dist/components/Article/Article.stylex.d.ts +49 -0
- package/dist/components/Article/Article.stylex.js +66 -0
- package/dist/components/Article/ArticleSection.d.ts +23 -0
- package/dist/components/Article/ArticleSection.js +26 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +13 -0
- package/dist/components/Autocomplete/Autocomplete.gridFocus.d.ts +9 -0
- package/dist/components/Autocomplete/Autocomplete.gridFocus.js +5 -0
- package/dist/components/Autocomplete/Autocomplete.js +68 -0
- package/dist/components/Avatar/Avatar.d.ts +30 -0
- package/dist/components/Avatar/Avatar.js +14 -0
- package/dist/components/Avatar/Avatar.stylex.d.ts +74 -0
- package/dist/components/Avatar/Avatar.stylex.js +71 -0
- package/dist/components/Avatar/Avatar.view.d.ts +7 -0
- package/dist/components/Avatar/Avatar.view.js +43 -0
- package/dist/components/Avatar/AvatarName.d.ts +7 -0
- package/dist/components/Avatar/AvatarName.js +17 -0
- package/dist/components/Avatar/avatarColor.d.ts +3 -0
- package/dist/components/Avatar/avatarColor.js +28 -0
- package/dist/components/Avatar/avatarInitials.d.ts +1 -0
- package/dist/components/Avatar/avatarInitials.js +37 -0
- package/dist/components/AvatarGroup/AvatarGroup.children.d.ts +11 -0
- package/dist/components/AvatarGroup/AvatarGroup.children.js +52 -0
- package/dist/components/AvatarGroup/AvatarGroup.context.d.ts +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.context.js +2 -0
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +16 -0
- package/dist/components/AvatarGroup/AvatarGroup.js +188 -0
- package/dist/components/AvatarGroup/AvatarGroup.stylex.d.ts +149 -0
- package/dist/components/AvatarGroup/AvatarGroup.stylex.js +132 -0
- package/dist/components/AvatarGroup/avatarGroupLayout.d.ts +14 -0
- package/dist/components/AvatarGroup/avatarGroupLayout.js +27 -0
- package/dist/components/Badge/Badge.d.ts +54 -0
- package/dist/components/Badge/Badge.js +149 -0
- package/dist/components/Badge/Badge.stylex.d.ts +278 -0
- package/dist/components/Badge/Badge.stylex.js +267 -0
- package/dist/components/BrandLogo/BrandLogo.d.ts +16 -0
- package/dist/components/BrandLogo/BrandLogo.js +19 -0
- package/dist/components/BrandLogo/BrandLogo.stylex.d.ts +23 -0
- package/dist/components/BrandLogo/BrandLogo.stylex.js +14 -0
- package/dist/components/BrandLogo/brandLogoArtwork.d.ts +10 -0
- package/dist/components/BrandLogo/brandLogoArtwork.js +30 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.children.d.ts +14 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.children.js +59 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +24 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.headerContext.d.ts +20 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.headerContext.js +14 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +284 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.layout.d.ts +10 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.layout.js +29 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.stylex.d.ts +200 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.stylex.js +166 -0
- package/dist/components/Button/Button.appearance.d.ts +323 -0
- package/dist/components/Button/Button.appearance.js +57 -0
- package/dist/components/Button/Button.d.ts +102 -0
- package/dist/components/Button/Button.js +176 -0
- package/dist/components/Button/Button.stylex.d.ts +577 -0
- package/dist/components/Button/Button.stylex.js +590 -0
- package/dist/components/Button/ButtonProgress.d.ts +1 -0
- package/dist/components/Button/ButtonProgress.js +8 -0
- package/dist/components/Button/ButtonProgress.stylex.d.ts +22 -0
- package/dist/components/Button/ButtonProgress.stylex.js +14 -0
- package/dist/components/ButtonGroup/ButtonGroup.context.d.ts +74 -0
- package/dist/components/ButtonGroup/ButtonGroup.context.js +25 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +35 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +49 -0
- package/dist/components/ButtonGroup/ButtonGroup.stylex.d.ts +111 -0
- package/dist/components/ButtonGroup/ButtonGroup.stylex.js +116 -0
- package/dist/components/CalculationSteps/CalculationSteps.d.ts +13 -0
- package/dist/components/CalculationSteps/CalculationSteps.format.d.ts +13 -0
- package/dist/components/CalculationSteps/CalculationSteps.format.js +44 -0
- package/dist/components/CalculationSteps/CalculationSteps.js +84 -0
- package/dist/components/CalculationSteps/CalculationSteps.stylex.d.ts +23 -0
- package/dist/components/CalculationSteps/CalculationSteps.stylex.js +22 -0
- package/dist/components/CalculationSteps/CalculationSteps.types.d.ts +131 -0
- package/dist/components/CalculationSteps/CalculationSteps.types.js +11 -0
- package/dist/components/Calendar/Calendar.d.ts +22 -0
- package/dist/components/Calendar/Calendar.js +119 -0
- package/dist/components/Calendar/Calendar.stylex.d.ts +196 -0
- package/dist/components/Calendar/Calendar.stylex.js +197 -0
- package/dist/components/Card/Card.context.d.ts +28 -0
- package/dist/components/Card/Card.context.js +40 -0
- package/dist/components/Card/Card.d.ts +39 -0
- package/dist/components/Card/Card.js +121 -0
- package/dist/components/Card/Card.stylex.d.ts +172 -0
- package/dist/components/Card/Card.stylex.js +185 -0
- package/dist/components/Chart/Chart.d.ts +24 -0
- package/dist/components/Chart/Chart.data.d.ts +119 -0
- package/dist/components/Chart/Chart.data.js +596 -0
- package/dist/components/Chart/Chart.describe.d.ts +46 -0
- package/dist/components/Chart/Chart.describe.js +359 -0
- package/dist/components/Chart/Chart.environment.d.ts +8 -0
- package/dist/components/Chart/Chart.environment.js +10 -0
- package/dist/components/Chart/Chart.format.d.ts +14 -0
- package/dist/components/Chart/Chart.format.js +108 -0
- package/dist/components/Chart/Chart.highcharts.d.ts +106 -0
- package/dist/components/Chart/Chart.highcharts.js +1001 -0
- package/dist/components/Chart/Chart.js +600 -0
- package/dist/components/Chart/Chart.load.d.ts +69 -0
- package/dist/components/Chart/Chart.load.js +136 -0
- package/dist/components/Chart/Chart.raw.d.ts +33 -0
- package/dist/components/Chart/Chart.raw.js +234 -0
- package/dist/components/Chart/Chart.rules.d.ts +31 -0
- package/dist/components/Chart/Chart.rules.js +72 -0
- package/dist/components/Chart/Chart.stylex.d.ts +260 -0
- package/dist/components/Chart/Chart.stylex.js +280 -0
- package/dist/components/Chart/Chart.types.d.ts +380 -0
- package/dist/components/Chart/Chart.types.js +23 -0
- package/dist/components/Chart/ChartDataTable.d.ts +9 -0
- package/dist/components/Chart/ChartDataTable.js +42 -0
- package/dist/components/Chart/ChartGhost.d.ts +17 -0
- package/dist/components/Chart/ChartGhost.js +13 -0
- package/dist/components/Chart/ChartHighcharts.d.ts +6 -0
- package/dist/components/Chart/ChartHighcharts.js +61 -0
- package/dist/components/Chart/ChartLegend.d.ts +23 -0
- package/dist/components/Chart/ChartLegend.js +111 -0
- package/dist/components/Chart/ChartMarks.d.ts +29 -0
- package/dist/components/Chart/ChartMarks.js +29 -0
- package/dist/components/Chart/ChartScrollbar.d.ts +13 -0
- package/dist/components/Chart/ChartScrollbar.js +63 -0
- package/dist/components/Chart/ChartTip.d.ts +5 -0
- package/dist/components/Chart/ChartTip.js +7 -0
- package/dist/components/Checkbox/Checkbox.d.ts +81 -0
- package/dist/components/Checkbox/Checkbox.js +52 -0
- package/dist/components/CodeBlock/CodeBlock.copy.d.ts +7 -0
- package/dist/components/CodeBlock/CodeBlock.copy.js +28 -0
- package/dist/components/CodeBlock/CodeBlock.copyButton.d.ts +20 -0
- package/dist/components/CodeBlock/CodeBlock.copyButton.js +40 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +88 -0
- package/dist/components/CodeBlock/CodeBlock.fence.d.ts +24 -0
- package/dist/components/CodeBlock/CodeBlock.fence.js +110 -0
- package/dist/components/CodeBlock/CodeBlock.js +148 -0
- package/dist/components/CodeBlock/CodeBlock.marks.d.ts +24 -0
- package/dist/components/CodeBlock/CodeBlock.marks.js +54 -0
- package/dist/components/CodeBlock/CodeBlock.ranges.d.ts +15 -0
- package/dist/components/CodeBlock/CodeBlock.ranges.js +30 -0
- package/dist/components/CodeBlock/CodeBlock.stylex.d.ts +221 -0
- package/dist/components/CodeBlock/CodeBlock.stylex.js +194 -0
- package/dist/components/CodeBlock/CodeBlock.tokens.d.ts +47 -0
- package/dist/components/CodeBlock/CodeBlock.tokens.js +103 -0
- package/dist/components/CodeBlock/CodeGroup.context.d.ts +5 -0
- package/dist/components/CodeBlock/CodeGroup.context.js +6 -0
- package/dist/components/CodeBlock/CodeGroup.d.ts +19 -0
- package/dist/components/CodeBlock/CodeGroup.js +39 -0
- package/dist/components/CodeBlock/CodeHighlightScope.d.ts +39 -0
- package/dist/components/CodeBlock/CodeHighlightScope.js +70 -0
- package/dist/components/CodeEntry/CodeEntry.d.ts +62 -0
- package/dist/components/CodeEntry/CodeEntry.js +86 -0
- package/dist/components/CodeField/CodeField.d.ts +32 -0
- package/dist/components/CodeField/CodeField.js +25 -0
- package/dist/components/CodeField/CodeField.stylex.d.ts +82 -0
- package/dist/components/CodeField/CodeField.stylex.js +88 -0
- package/dist/components/Collection/Collection.constants.d.ts +3 -0
- package/dist/components/Collection/Collection.constants.js +3 -0
- package/dist/components/Collection/Collection.context.d.ts +70 -0
- package/dist/components/Collection/Collection.context.js +39 -0
- package/dist/components/Collection/Collection.d.ts +119 -0
- package/dist/components/Collection/Collection.dnd.d.ts +19 -0
- package/dist/components/Collection/Collection.dnd.js +56 -0
- package/dist/components/Collection/Collection.dragScroll.d.ts +2 -0
- package/dist/components/Collection/Collection.dragScroll.js +93 -0
- package/dist/components/Collection/Collection.identity.d.ts +3 -0
- package/dist/components/Collection/Collection.identity.js +10 -0
- package/dist/components/Collection/Collection.js +479 -0
- package/dist/components/Collection/Collection.pageLoadMore.d.ts +2 -0
- package/dist/components/Collection/Collection.pageLoadMore.js +21 -0
- package/dist/components/Collection/Collection.stylex.d.ts +1033 -0
- package/dist/components/Collection/Collection.stylex.js +1095 -0
- package/dist/components/Collection/CollectionItemContent.d.ts +9 -0
- package/dist/components/Collection/CollectionItemContent.js +11 -0
- package/dist/components/Collection/CollectionVirtualizer.context.d.ts +9 -0
- package/dist/components/Collection/CollectionVirtualizer.context.js +2 -0
- package/dist/components/Collection/OutlinePreview.d.ts +12 -0
- package/dist/components/Collection/OutlinePreview.js +32 -0
- package/dist/components/CollectionViews/CollectionViews.context.d.ts +8 -0
- package/dist/components/CollectionViews/CollectionViews.context.js +9 -0
- package/dist/components/CollectionViews/CollectionViews.d.ts +42 -0
- package/dist/components/CollectionViews/CollectionViews.js +53 -0
- package/dist/components/ComboBox/ComboBox.collection.d.ts +5 -0
- package/dist/components/ComboBox/ComboBox.collection.js +40 -0
- package/dist/components/ComboBox/ComboBox.d.ts +50 -0
- package/dist/components/ComboBox/ComboBox.js +98 -0
- package/dist/components/ComboBox/ComboBox.stylex.d.ts +45 -0
- package/dist/components/ComboBox/ComboBox.stylex.js +34 -0
- package/dist/components/ContainerSize/ContainerSize.d.ts +27 -0
- package/dist/components/ContainerSize/ContainerSize.js +51 -0
- package/dist/components/ContainerSize/ContainerSize.stylex.d.ts +13 -0
- package/dist/components/ContainerSize/ContainerSize.stylex.js +16 -0
- package/dist/components/Content/Content.context.d.ts +3 -0
- package/dist/components/Content/Content.context.js +3 -0
- package/dist/components/Content/Content.d.ts +33 -0
- package/dist/components/Content/Content.js +36 -0
- package/dist/components/Content/Content.stylex.d.ts +65 -0
- package/dist/components/Content/Content.stylex.js +69 -0
- package/dist/components/Content/HeaderSlots.d.ts +9 -0
- package/dist/components/Content/HeaderSlots.js +22 -0
- package/dist/components/ContentOrientation/ContentOrientation.context.d.ts +2 -0
- package/dist/components/ContentOrientation/ContentOrientation.context.js +2 -0
- package/dist/components/ControlSize/ControlSize.context.d.ts +3 -0
- package/dist/components/ControlSize/ControlSize.context.js +6 -0
- package/dist/components/Countdown/Countdown.d.ts +16 -0
- package/dist/components/Countdown/Countdown.js +30 -0
- package/dist/components/Countdown/Countdown.stylex.d.ts +11 -0
- package/dist/components/Countdown/Countdown.stylex.js +10 -0
- package/dist/components/CoverageTower/CoverageTower.axis.d.ts +28 -0
- package/dist/components/CoverageTower/CoverageTower.axis.js +28 -0
- package/dist/components/CoverageTower/CoverageTower.block.d.ts +39 -0
- package/dist/components/CoverageTower/CoverageTower.block.js +112 -0
- package/dist/components/CoverageTower/CoverageTower.d.ts +14 -0
- package/dist/components/CoverageTower/CoverageTower.js +284 -0
- package/dist/components/CoverageTower/CoverageTower.layout.d.ts +158 -0
- package/dist/components/CoverageTower/CoverageTower.layout.js +243 -0
- package/dist/components/CoverageTower/CoverageTower.stylex.d.ts +404 -0
- package/dist/components/CoverageTower/CoverageTower.stylex.js +525 -0
- package/dist/components/CoverageTower/CoverageTower.types.d.ts +172 -0
- package/dist/components/CoverageTower/CoverageTower.types.js +3 -0
- package/dist/components/DateField/DateField.d.ts +61 -0
- package/dist/components/DateField/DateField.js +66 -0
- package/dist/components/DateRangeField/DateRangeField.d.ts +60 -0
- package/dist/components/DateRangeField/DateRangeField.js +68 -0
- package/dist/components/Dialog/Dialog.context.d.ts +6 -0
- package/dist/components/Dialog/Dialog.context.js +3 -0
- package/dist/components/Dialog/Dialog.d.ts +15 -0
- package/dist/components/Dialog/Dialog.js +25 -0
- package/dist/components/Dialog/Dialog.stylex.d.ts +23 -0
- package/dist/components/Dialog/Dialog.stylex.js +20 -0
- package/dist/components/Disclosure/Disclosure.d.ts +5 -0
- package/dist/components/Disclosure/Disclosure.js +119 -0
- package/dist/components/Disclosure/Disclosure.stylex.d.ts +161 -0
- package/dist/components/Disclosure/Disclosure.stylex.js +143 -0
- package/dist/components/Disclosure/Disclosure.types.d.ts +96 -0
- package/dist/components/Disclosure/Disclosure.types.js +4 -0
- package/dist/components/Disclosure/DisclosureGroup.context.d.ts +2 -0
- package/dist/components/Disclosure/DisclosureGroup.context.js +2 -0
- package/dist/components/Disclosure/DisclosureGroup.d.ts +5 -0
- package/dist/components/Disclosure/DisclosureGroup.js +10 -0
- package/dist/components/DismissButton/Dismiss.context.d.ts +3 -0
- package/dist/components/DismissButton/Dismiss.context.js +10 -0
- package/dist/components/DismissButton/DismissButton.d.ts +16 -0
- package/dist/components/DismissButton/DismissButton.js +9 -0
- package/dist/components/DropZone/DropZone.d.ts +10 -0
- package/dist/components/DropZone/DropZone.js +16 -0
- package/dist/components/DropZone/DropZone.stylex.d.ts +32 -0
- package/dist/components/DropZone/DropZone.stylex.js +27 -0
- package/dist/components/EditableText/EditableText.d.ts +21 -0
- package/dist/components/EditableText/EditableText.js +63 -0
- package/dist/components/EditableText/EditableText.stylex.d.ts +108 -0
- package/dist/components/EditableText/EditableText.stylex.js +95 -0
- package/dist/components/FieldRow/FieldRow.d.ts +20 -0
- package/dist/components/FieldRow/FieldRow.js +17 -0
- package/dist/components/FieldRow/FieldRow.stylex.d.ts +30 -0
- package/dist/components/FieldRow/FieldRow.stylex.js +52 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.d.ts +74 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.js +193 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.stylex.d.ts +47 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.stylex.js +53 -0
- package/dist/components/FileContent/FileContent.context.d.ts +51 -0
- package/dist/components/FileContent/FileContent.context.js +45 -0
- package/dist/components/FileContent/FileContent.d.ts +66 -0
- package/dist/components/FileContent/FileContent.js +80 -0
- package/dist/components/FileContent/FileContent.markers.d.ts +7 -0
- package/dist/components/FileContent/FileContent.markers.js +28 -0
- package/dist/components/FileContent/FileContent.stylex.d.ts +152 -0
- package/dist/components/FileContent/FileContent.stylex.js +155 -0
- package/dist/components/FileContent/FileContentViewport.d.ts +42 -0
- package/dist/components/FileContent/FileContentViewport.js +117 -0
- package/dist/components/FileContent/FileDetails.d.ts +11 -0
- package/dist/components/FileContent/FileDetails.js +53 -0
- package/dist/components/FileContent/FileOutline.previews.d.ts +70 -0
- package/dist/components/FileContent/FileOutline.previews.js +278 -0
- package/dist/components/FileContent/FileOutlineRows.d.ts +21 -0
- package/dist/components/FileContent/FileOutlineRows.js +166 -0
- package/dist/components/FileContent/FileSelectionToolbarLayer.d.ts +13 -0
- package/dist/components/FileContent/FileSelectionToolbarLayer.js +125 -0
- package/dist/components/FileContent/FileStructure.d.ts +51 -0
- package/dist/components/FileContent/FileStructure.js +37 -0
- package/dist/components/FileExplorer/FileExplorer.browser.d.ts +58 -0
- package/dist/components/FileExplorer/FileExplorer.browser.js +274 -0
- package/dist/components/FileExplorer/FileExplorer.columns.d.ts +37 -0
- package/dist/components/FileExplorer/FileExplorer.columns.js +144 -0
- package/dist/components/FileExplorer/FileExplorer.columns.stylex.d.ts +95 -0
- package/dist/components/FileExplorer/FileExplorer.columns.stylex.js +95 -0
- package/dist/components/FileExplorer/FileExplorer.d.ts +33 -0
- package/dist/components/FileExplorer/FileExplorer.groups.d.ts +14 -0
- package/dist/components/FileExplorer/FileExplorer.groups.js +129 -0
- package/dist/components/FileExplorer/FileExplorer.hits.d.ts +12 -0
- package/dist/components/FileExplorer/FileExplorer.hits.js +51 -0
- package/dist/components/FileExplorer/FileExplorer.js +180 -0
- package/dist/components/FileExplorer/FileExplorer.stylex.d.ts +141 -0
- package/dist/components/FileExplorer/FileExplorer.stylex.js +132 -0
- package/dist/components/FileField/FileField.d.ts +24 -0
- package/dist/components/FileField/FileField.js +37 -0
- package/dist/components/FileField/FileField.stylex.d.ts +17 -0
- package/dist/components/FileField/FileField.stylex.js +18 -0
- package/dist/components/FileIcon/FileIcon.d.ts +25 -0
- package/dist/components/FileIcon/FileIcon.js +33 -0
- package/dist/components/FilePicker/FilePicker.d.ts +40 -0
- package/dist/components/FilePicker/FilePicker.js +155 -0
- package/dist/components/FilePicker/MovePicker.d.ts +13 -0
- package/dist/components/FilePicker/MovePicker.js +19 -0
- package/dist/components/FileScope/FileHeader.stylex.d.ts +8 -0
- package/dist/components/FileScope/FileHeader.stylex.js +9 -0
- package/dist/components/FileScope/FileScope.actions.d.ts +45 -0
- package/dist/components/FileScope/FileScope.actions.js +240 -0
- package/dist/components/FileScope/FileScope.cache.d.ts +12 -0
- package/dist/components/FileScope/FileScope.cache.js +25 -0
- package/dist/components/FileScope/FileScope.d.ts +163 -0
- package/dist/components/FileScope/FileScope.drag.d.ts +27 -0
- package/dist/components/FileScope/FileScope.drag.js +88 -0
- package/dist/components/FileScope/FileScope.entryActions.d.ts +32 -0
- package/dist/components/FileScope/FileScope.entryActions.js +121 -0
- package/dist/components/FileScope/FileScope.entryActions.stylex.d.ts +9 -0
- package/dist/components/FileScope/FileScope.entryActions.stylex.js +24 -0
- package/dist/components/FileScope/FileScope.js +132 -0
- package/dist/components/FileScope/FileScope.match.d.ts +8 -0
- package/dist/components/FileScope/FileScope.match.js +76 -0
- package/dist/components/FileScope/FileScope.plainText.d.ts +6 -0
- package/dist/components/FileScope/FileScope.plainText.js +34 -0
- package/dist/components/FileScope/FileScope.plainText.stylex.d.ts +14 -0
- package/dist/components/FileScope/FileScope.plainText.stylex.js +15 -0
- package/dist/components/FileScope/FileScope.queue.d.ts +20 -0
- package/dist/components/FileScope/FileScope.queue.js +81 -0
- package/dist/components/FileScope/FileScope.relative.d.ts +7 -0
- package/dist/components/FileScope/FileScope.relative.js +32 -0
- package/dist/components/FileScope/FileScope.search.d.ts +33 -0
- package/dist/components/FileScope/FileScope.search.js +105 -0
- package/dist/components/FileScope/FileScope.search.stylex.d.ts +7 -0
- package/dist/components/FileScope/FileScope.search.stylex.js +8 -0
- package/dist/components/FileScope/FileScope.share.d.ts +13 -0
- package/dist/components/FileScope/FileScope.share.js +159 -0
- package/dist/components/FileScope/FileScope.share.stylex.d.ts +18 -0
- package/dist/components/FileScope/FileScope.share.stylex.js +21 -0
- package/dist/components/FileScope/FileScope.types.d.ts +586 -0
- package/dist/components/FileScope/FileScope.types.js +6 -0
- package/dist/components/FileScope/FileScope.utils.d.ts +20 -0
- package/dist/components/FileScope/FileScope.utils.js +157 -0
- package/dist/components/FileScope/FileSourceError.d.ts +17 -0
- package/dist/components/FileScope/FileSourceError.js +24 -0
- package/dist/components/FileScope/FileStore.d.ts +178 -0
- package/dist/components/FileScope/FileStore.js +849 -0
- package/dist/components/FileThumbnail/FileThumbnail.d.ts +25 -0
- package/dist/components/FileThumbnail/FileThumbnail.js +242 -0
- package/dist/components/FileThumbnail/FileThumbnail.stylex.d.ts +38 -0
- package/dist/components/FileThumbnail/FileThumbnail.stylex.js +44 -0
- package/dist/components/FileTree/FileTree.d.ts +77 -0
- package/dist/components/FileTree/FileTree.entries.d.ts +29 -0
- package/dist/components/FileTree/FileTree.entries.js +97 -0
- package/dist/components/FileTree/FileTree.js +800 -0
- package/dist/components/FileTree/FileTree.stylex.d.ts +46 -0
- package/dist/components/FileTree/FileTree.stylex.js +60 -0
- package/dist/components/FileTrigger/FileSelection.context.d.ts +2 -0
- package/dist/components/FileTrigger/FileSelection.context.js +2 -0
- package/dist/components/FileTrigger/FileSelection.d.ts +13 -0
- package/dist/components/FileTrigger/FileSelection.js +31 -0
- package/dist/components/FileTrigger/FileTrigger.d.ts +9 -0
- package/dist/components/FileTrigger/FileTrigger.js +22 -0
- package/dist/components/FileViewer/FileViewer.chrome.d.ts +66 -0
- package/dist/components/FileViewer/FileViewer.chrome.js +126 -0
- package/dist/components/FileViewer/FileViewer.compact.d.ts +90 -0
- package/dist/components/FileViewer/FileViewer.compact.js +124 -0
- package/dist/components/FileViewer/FileViewer.compact.stylex.d.ts +138 -0
- package/dist/components/FileViewer/FileViewer.compact.stylex.js +140 -0
- package/dist/components/FileViewer/FileViewer.controls.d.ts +66 -0
- package/dist/components/FileViewer/FileViewer.controls.js +27 -0
- package/dist/components/FileViewer/FileViewer.d.ts +79 -0
- package/dist/components/FileViewer/FileViewer.edit.d.ts +63 -0
- package/dist/components/FileViewer/FileViewer.edit.js +209 -0
- package/dist/components/FileViewer/FileViewer.embedded.d.ts +49 -0
- package/dist/components/FileViewer/FileViewer.embedded.js +107 -0
- package/dist/components/FileViewer/FileViewer.frame.d.ts +92 -0
- package/dist/components/FileViewer/FileViewer.frame.js +36 -0
- package/dist/components/FileViewer/FileViewer.goTo.d.ts +13 -0
- package/dist/components/FileViewer/FileViewer.goTo.js +30 -0
- package/dist/components/FileViewer/FileViewer.js +846 -0
- package/dist/components/FileViewer/FileViewer.links.d.ts +18 -0
- package/dist/components/FileViewer/FileViewer.links.js +10 -0
- package/dist/components/FileViewer/FileViewer.present.d.ts +10 -0
- package/dist/components/FileViewer/FileViewer.present.js +36 -0
- package/dist/components/FileViewer/FileViewer.selection.d.ts +15 -0
- package/dist/components/FileViewer/FileViewer.selection.js +26 -0
- package/dist/components/FileViewer/FileViewer.sidebar.d.ts +24 -0
- package/dist/components/FileViewer/FileViewer.sidebar.js +53 -0
- package/dist/components/FileViewer/FileViewer.sidebar.stylex.d.ts +87 -0
- package/dist/components/FileViewer/FileViewer.sidebar.stylex.js +95 -0
- package/dist/components/FileViewer/FileViewer.skeleton.d.ts +27 -0
- package/dist/components/FileViewer/FileViewer.skeleton.js +80 -0
- package/dist/components/FileViewer/FileViewer.skeleton.stylex.d.ts +86 -0
- package/dist/components/FileViewer/FileViewer.skeleton.stylex.js +70 -0
- package/dist/components/FileViewer/FileViewer.stylex.d.ts +309 -0
- package/dist/components/FileViewer/FileViewer.stylex.js +306 -0
- package/dist/components/FileViewer/FileViewer.view.d.ts +61 -0
- package/dist/components/FileViewer/FileViewer.view.js +205 -0
- package/dist/components/FileViewer/FileViewer.view.stylex.d.ts +105 -0
- package/dist/components/FileViewer/FileViewer.view.stylex.js +109 -0
- package/dist/components/FileViewer/FileViewerHeaderTarget.d.ts +12 -0
- package/dist/components/FileViewer/FileViewerHeaderTarget.js +21 -0
- package/dist/components/FilterForm/FilterForm.context.d.ts +3 -0
- package/dist/components/FilterForm/FilterForm.context.js +3 -0
- package/dist/components/FilterForm/FilterForm.d.ts +6 -0
- package/dist/components/FilterForm/FilterForm.editor.d.ts +12 -0
- package/dist/components/FilterForm/FilterForm.editor.js +119 -0
- package/dist/components/FilterForm/FilterForm.js +125 -0
- package/dist/components/FilterForm/FilterForm.model.d.ts +9 -0
- package/dist/components/FilterForm/FilterForm.model.js +84 -0
- package/dist/components/FilterForm/FilterForm.options.d.ts +19 -0
- package/dist/components/FilterForm/FilterForm.options.js +89 -0
- package/dist/components/FilterForm/FilterForm.stylex.d.ts +17 -0
- package/dist/components/FilterForm/FilterForm.stylex.js +18 -0
- package/dist/components/FilterForm/FilterForm.types.d.ts +70 -0
- package/dist/components/FilterForm/FilterForm.types.js +1 -0
- package/dist/components/FlowFrame/FlowFrame.d.ts +11 -0
- package/dist/components/FlowFrame/FlowFrame.js +26 -0
- package/dist/components/FlowFrame/FlowFrame.stylex.d.ts +8 -0
- package/dist/components/FlowFrame/FlowFrame.stylex.js +8 -0
- package/dist/components/FocusContinuity/FocusContinuity.d.ts +8 -0
- package/dist/components/FocusContinuity/FocusContinuity.js +162 -0
- package/dist/components/FolderIcon/FolderIcon.d.ts +31 -0
- package/dist/components/FolderIcon/FolderIcon.js +34 -0
- package/dist/components/FolderIcon/FolderIcon.stylex.d.ts +9 -0
- package/dist/components/FolderIcon/FolderIcon.stylex.js +11 -0
- package/dist/components/FolderLabel/FolderLabel.d.ts +11 -0
- package/dist/components/FolderLabel/FolderLabel.js +9 -0
- package/dist/components/FolderLabel/FolderLabel.stylex.d.ts +19 -0
- package/dist/components/FolderLabel/FolderLabel.stylex.js +20 -0
- package/dist/components/ForEach/ForEach.d.ts +30 -0
- package/dist/components/ForEach/ForEach.data.d.ts +17 -0
- package/dist/components/ForEach/ForEach.data.js +32 -0
- package/dist/components/ForEach/ForEach.js +26 -0
- package/dist/components/Form/Form.context.d.ts +2 -0
- package/dist/components/Form/Form.context.js +5 -0
- package/dist/components/Form/Form.d.ts +16 -0
- package/dist/components/Form/Form.js +16 -0
- package/dist/components/Form/Form.stylex.d.ts +11 -0
- package/dist/components/Form/Form.stylex.js +12 -0
- package/dist/components/FormField/FormField.d.ts +25 -0
- package/dist/components/FormField/FormField.js +27 -0
- package/dist/components/FormField/FormField.stylex.d.ts +986 -0
- package/dist/components/FormField/FormField.stylex.js +1012 -0
- package/dist/components/Grid/Grid.d.ts +44 -0
- package/dist/components/Grid/Grid.js +212 -0
- package/dist/components/Grid/Grid.sections.d.ts +16 -0
- package/dist/components/Grid/Grid.sections.js +34 -0
- package/dist/components/Grid/Grid.stylex.d.ts +231 -0
- package/dist/components/Grid/Grid.stylex.js +235 -0
- package/dist/components/Grid/Grid.template.d.ts +6 -0
- package/dist/components/Grid/Grid.template.js +6 -0
- package/dist/components/HStack/HStack.d.ts +21 -0
- package/dist/components/HStack/HStack.js +13 -0
- package/dist/components/HStack/HStack.stylex.d.ts +174 -0
- package/dist/components/HStack/HStack.stylex.js +122 -0
- package/dist/components/Heading/Heading.context.d.ts +6 -0
- package/dist/components/Heading/Heading.context.js +12 -0
- package/dist/components/Heading/Heading.d.ts +15 -0
- package/dist/components/Heading/Heading.js +70 -0
- package/dist/components/Icon/FilledIcon.d.ts +5 -0
- package/dist/components/Icon/FilledIcon.js +12 -0
- package/dist/components/Icon/FilledIcon.stylex.d.ts +6 -0
- package/dist/components/Icon/FilledIcon.stylex.js +5 -0
- package/dist/components/Icon/Icon.d.ts +50 -0
- package/dist/components/Icon/Icon.js +110 -0
- package/dist/components/Icon/Icon.registry.d.ts +147 -0
- package/dist/components/Icon/Icon.registry.js +98 -0
- package/dist/components/Icon/Icon.stylex.d.ts +74 -0
- package/dist/components/Icon/Icon.stylex.js +63 -0
- package/dist/components/Icon/IconSlot.d.ts +18 -0
- package/dist/components/Icon/IconSlot.js +84 -0
- package/dist/components/Icon/badgedGlyph.d.ts +14 -0
- package/dist/components/Icon/badgedGlyph.js +23 -0
- package/dist/components/Icon/custom/BrandMarks.d.ts +12 -0
- package/dist/components/Icon/custom/BrandMarks.js +46 -0
- package/dist/components/Icon/custom/FileIcons.d.ts +27 -0
- package/dist/components/Icon/custom/FileIcons.js +117 -0
- package/dist/components/Icon/custom/FolderSearchInput.d.ts +6 -0
- package/dist/components/Icon/custom/FolderSearchInput.js +20 -0
- package/dist/components/Icon/custom/HighlighterOff.d.ts +2 -0
- package/dist/components/Icon/custom/HighlighterOff.js +7 -0
- package/dist/components/Icon/custom/LinkMarks.d.ts +74 -0
- package/dist/components/Icon/custom/LinkMarks.js +112 -0
- package/dist/components/Icon/custom/MessageSquareSearch.d.ts +5 -0
- package/dist/components/Icon/custom/MessageSquareSearch.js +10 -0
- package/dist/components/Icon/custom/PageRegions.d.ts +2 -0
- package/dist/components/Icon/custom/PageRegions.js +12 -0
- package/dist/components/Icon/custom/PanelExpand.d.ts +5 -0
- package/dist/components/Icon/custom/PanelExpand.js +12 -0
- package/dist/components/Icon/custom/SquareDashedPlus.d.ts +2 -0
- package/dist/components/Icon/custom/SquareDashedPlus.js +6 -0
- package/dist/components/Icon/getFileIconName.d.ts +11 -0
- package/dist/components/Icon/getFileIconName.js +140 -0
- package/dist/components/Icon/getLinkIconName.d.ts +23 -0
- package/dist/components/Icon/getLinkIconName.js +142 -0
- package/dist/components/Icon/lucideIcons.d.ts +9 -0
- package/dist/components/Icon/lucideIcons.js +14 -0
- package/dist/components/Icon/lucideIconsOnDemand.d.ts +11 -0
- package/dist/components/Icon/lucideIconsOnDemand.js +48 -0
- package/dist/components/IconButton/IconButton.d.ts +53 -0
- package/dist/components/IconButton/IconButton.js +116 -0
- package/dist/components/IconButton/IconButton.stylex.d.ts +88 -0
- package/dist/components/IconButton/IconButton.stylex.js +85 -0
- package/dist/components/Image/Image.d.ts +20 -0
- package/dist/components/Image/Image.js +45 -0
- package/dist/components/Image/Image.stylex.d.ts +70 -0
- package/dist/components/Image/Image.stylex.js +71 -0
- package/dist/components/ImageRedactor/ImageRedactor.d.ts +26 -0
- package/dist/components/ImageRedactor/ImageRedactor.js +56 -0
- package/dist/components/ImageRedactor/ImageRedactor.stylex.d.ts +49 -0
- package/dist/components/ImageRedactor/ImageRedactor.stylex.js +51 -0
- package/dist/components/Indicator/Indicator.d.ts +23 -0
- package/dist/components/Indicator/Indicator.js +105 -0
- package/dist/components/Indicator/Indicator.stylex.d.ts +181 -0
- package/dist/components/Indicator/Indicator.stylex.js +176 -0
- package/dist/components/InlineAlert/InlineAlert.d.ts +23 -0
- package/dist/components/InlineAlert/InlineAlert.js +54 -0
- package/dist/components/InlineAlert/InlineAlert.stylex.d.ts +105 -0
- package/dist/components/InlineAlert/InlineAlert.stylex.js +104 -0
- package/dist/components/IntentScope/IntentScope.d.ts +17 -0
- package/dist/components/IntentScope/IntentScope.js +19 -0
- package/dist/components/IntentScope/intentCoordinator.d.ts +12 -0
- package/dist/components/IntentScope/intentCoordinator.js +64 -0
- package/dist/components/IntentScope/useIntent.d.ts +12 -0
- package/dist/components/IntentScope/useIntent.js +47 -0
- package/dist/components/JsonValueView/JsonBlock.d.ts +31 -0
- package/dist/components/JsonValueView/JsonBlock.js +25 -0
- package/dist/components/JsonValueView/JsonCopyButton.d.ts +20 -0
- package/dist/components/JsonValueView/JsonCopyButton.js +37 -0
- package/dist/components/JsonValueView/JsonValueControls.d.ts +17 -0
- package/dist/components/JsonValueView/JsonValueControls.js +16 -0
- package/dist/components/JsonValueView/JsonValueExpandedView.d.ts +21 -0
- package/dist/components/JsonValueView/JsonValueExpandedView.js +20 -0
- package/dist/components/JsonValueView/JsonValueView.d.ts +38 -0
- package/dist/components/JsonValueView/JsonValueView.frame.d.ts +12 -0
- package/dist/components/JsonValueView/JsonValueView.frame.js +13 -0
- package/dist/components/JsonValueView/JsonValueView.js +98 -0
- package/dist/components/JsonValueView/JsonValueView.stylex.d.ts +65 -0
- package/dist/components/JsonValueView/JsonValueView.stylex.js +49 -0
- package/dist/components/JsonValueView/JsonValueView.tokens.d.ts +22 -0
- package/dist/components/JsonValueView/JsonValueView.tokens.js +20 -0
- package/dist/components/JsonValueView/JsonValueView.value.d.ts +25 -0
- package/dist/components/JsonValueView/JsonValueView.value.js +107 -0
- package/dist/components/JsonValueView/useJsonValueViewState.d.ts +20 -0
- package/dist/components/JsonValueView/useJsonValueViewState.js +54 -0
- package/dist/components/Keyboard/Keyboard.d.ts +14 -0
- package/dist/components/Keyboard/Keyboard.js +72 -0
- package/dist/components/Keyboard/Keyboard.stylex.d.ts +63 -0
- package/dist/components/Keyboard/Keyboard.stylex.js +64 -0
- package/dist/components/LazyGrid/LazyGrid.d.ts +11 -0
- package/dist/components/LazyGrid/LazyGrid.js +23 -0
- package/dist/components/LazyHStack/LazyHStack.d.ts +18 -0
- package/dist/components/LazyHStack/LazyHStack.js +11 -0
- package/dist/components/LazyList/LazyList.d.ts +11 -0
- package/dist/components/LazyList/LazyList.js +10 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.d.ts +4 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.js +192 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.range.d.ts +28 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.range.js +42 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.scroll.d.ts +7 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.scroll.js +27 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.sticky.d.ts +27 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.sticky.js +64 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.stylex.d.ts +110 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.stylex.js +100 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.types.d.ts +38 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.types.js +1 -0
- package/dist/components/LazyTable/LazyTable.d.ts +11 -0
- package/dist/components/LazyTable/LazyTable.js +28 -0
- package/dist/components/LazyTable/LazyTable.layout.d.ts +43 -0
- package/dist/components/LazyTable/LazyTable.layout.js +213 -0
- package/dist/components/LazyTable/LazyTable.viewport.d.ts +5 -0
- package/dist/components/LazyTable/LazyTable.viewport.js +83 -0
- package/dist/components/LazyTree/LazyTree.d.ts +11 -0
- package/dist/components/LazyTree/LazyTree.js +10 -0
- package/dist/components/LazyVStack/LazyVStack.d.ts +18 -0
- package/dist/components/LazyVStack/LazyVStack.js +15 -0
- package/dist/components/Link/Link.adapter.d.ts +19 -0
- package/dist/components/Link/Link.adapter.js +18 -0
- package/dist/components/Link/Link.d.ts +52 -0
- package/dist/components/Link/Link.js +137 -0
- package/dist/components/Link/Link.stylex.d.ts +200 -0
- package/dist/components/Link/Link.stylex.js +206 -0
- package/dist/components/List/List.d.ts +16 -0
- package/dist/components/List/List.js +90 -0
- package/dist/components/List/List.stylex.d.ts +116 -0
- package/dist/components/List/List.stylex.js +116 -0
- package/dist/components/List/flattenHelpers.d.ts +19 -0
- package/dist/components/List/flattenHelpers.js +88 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.d.ts +9 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.js +16 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.stylex.d.ts +23 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.stylex.js +25 -0
- package/dist/components/LockedPreview/LockedPreview.d.ts +19 -0
- package/dist/components/LockedPreview/LockedPreview.js +11 -0
- package/dist/components/LockedPreview/LockedPreview.stylex.d.ts +26 -0
- package/dist/components/LockedPreview/LockedPreview.stylex.js +27 -0
- package/dist/components/Menu/Menu.collection.d.ts +3 -0
- package/dist/components/Menu/Menu.collection.js +130 -0
- package/dist/components/Menu/Menu.context.d.ts +7 -0
- package/dist/components/Menu/Menu.context.js +16 -0
- package/dist/components/Menu/Menu.d.ts +89 -0
- package/dist/components/Menu/Menu.identity.d.ts +3 -0
- package/dist/components/Menu/Menu.identity.js +3 -0
- package/dist/components/Menu/Menu.inlineRoom.d.ts +15 -0
- package/dist/components/Menu/Menu.inlineRoom.js +64 -0
- package/dist/components/Menu/Menu.js +235 -0
- package/dist/components/Menu/Menu.popoverTrigger.d.ts +10 -0
- package/dist/components/Menu/Menu.popoverTrigger.js +103 -0
- package/dist/components/Menu/Menu.stylex.d.ts +232 -0
- package/dist/components/Menu/Menu.stylex.js +265 -0
- package/dist/components/Menu/MenuItem.children.d.ts +5 -0
- package/dist/components/Menu/MenuItem.children.js +23 -0
- package/dist/components/Meter/Meter.d.ts +25 -0
- package/dist/components/Meter/Meter.js +34 -0
- package/dist/components/Meter/Meter.stylex.d.ts +49 -0
- package/dist/components/Meter/Meter.stylex.js +47 -0
- package/dist/components/Modal/Modal.d.ts +6 -0
- package/dist/components/Modal/Modal.js +14 -0
- package/dist/components/Modal/Modal.types.d.ts +40 -0
- package/dist/components/Modal/Modal.types.js +1 -0
- package/dist/components/Modal/Overlay.d.ts +11 -0
- package/dist/components/Modal/Overlay.js +63 -0
- package/dist/components/Modal/Overlay.stylex.d.ts +190 -0
- package/dist/components/Modal/Overlay.stylex.js +128 -0
- package/dist/components/Modal/OverlayBoundary.d.ts +5 -0
- package/dist/components/Modal/OverlayBoundary.js +17 -0
- package/dist/components/NavigationItem/NavigationItem.d.ts +64 -0
- package/dist/components/NavigationItem/NavigationItem.js +116 -0
- package/dist/components/NavigationItem/NavigationItem.navigationContext.d.ts +15 -0
- package/dist/components/NavigationItem/NavigationItem.navigationContext.js +20 -0
- package/dist/components/NavigationItem/NavigationItem.stylex.d.ts +30 -0
- package/dist/components/NavigationItem/NavigationItem.stylex.js +37 -0
- package/dist/components/NavigationRail/NavigationRail.context.d.ts +5 -0
- package/dist/components/NavigationRail/NavigationRail.context.js +9 -0
- package/dist/components/NavigationRail/NavigationRail.d.ts +12 -0
- package/dist/components/NavigationRail/NavigationRail.js +72 -0
- package/dist/components/NavigationRail/NavigationRail.stylex.d.ts +57 -0
- package/dist/components/NavigationRail/NavigationRail.stylex.js +58 -0
- package/dist/components/NavigationTree/NavigationTree.activeSections.d.ts +7 -0
- package/dist/components/NavigationTree/NavigationTree.activeSections.js +75 -0
- package/dist/components/NavigationTree/NavigationTree.d.ts +21 -0
- package/dist/components/NavigationTree/NavigationTree.js +273 -0
- package/dist/components/NavigationTree/NavigationTree.stylex.d.ts +245 -0
- package/dist/components/NavigationTree/NavigationTree.stylex.js +262 -0
- package/dist/components/NumberField/NumberField.d.ts +73 -0
- package/dist/components/NumberField/NumberField.js +112 -0
- package/dist/components/Option/Option.d.ts +18 -0
- package/dist/components/Option/Option.js +44 -0
- package/dist/components/Option/Option.stylex.d.ts +75 -0
- package/dist/components/Option/Option.stylex.js +74 -0
- package/dist/components/Page/NestedPageAuxiliary.d.ts +3 -0
- package/dist/components/Page/NestedPageAuxiliary.js +44 -0
- package/dist/components/Page/Page.d.ts +59 -0
- package/dist/components/Page/Page.js +265 -0
- package/dist/components/Page/Page.stylex.d.ts +333 -0
- package/dist/components/Page/Page.stylex.js +310 -0
- package/dist/components/Page/PageAuxiliary.context.d.ts +7 -0
- package/dist/components/Page/PageAuxiliary.context.js +2 -0
- package/dist/components/Page/PageAuxiliaryPanel.d.ts +32 -0
- package/dist/components/Page/PageAuxiliaryPanel.js +50 -0
- package/dist/components/Page/PageLabel.d.ts +26 -0
- package/dist/components/Page/PageLabel.js +56 -0
- package/dist/components/Page/PageScrollMotion.d.ts +24 -0
- package/dist/components/Page/PageScrollMotion.js +186 -0
- package/dist/components/Page/PageTitleRow.d.ts +21 -0
- package/dist/components/Page/PageTitleRow.js +50 -0
- package/dist/components/Page/PageTitleRow.stylex.d.ts +16 -0
- package/dist/components/Page/PageTitleRow.stylex.js +17 -0
- package/dist/components/Page/PageToolbar.context.d.ts +35 -0
- package/dist/components/Page/PageToolbar.context.js +43 -0
- package/dist/components/Page/PageToolbar.d.ts +13 -0
- package/dist/components/Page/PageToolbar.js +150 -0
- package/dist/components/Page/PageToolbar.motion.d.ts +5 -0
- package/dist/components/Page/PageToolbar.motion.js +27 -0
- package/dist/components/Page/PageToolbar.stylex.d.ts +41 -0
- package/dist/components/Page/PageToolbar.stylex.js +37 -0
- package/dist/components/Page/revealAuxiliary.d.ts +2 -0
- package/dist/components/Page/revealAuxiliary.js +56 -0
- package/dist/components/PageToolbar/PageToolbar.d.ts +7 -0
- package/dist/components/PageToolbar/PageToolbar.js +12 -0
- package/dist/components/Popover/OverflowPickerSearch.d.ts +7 -0
- package/dist/components/Popover/OverflowPickerSearch.js +10 -0
- package/dist/components/Popover/Popover.anchor.d.ts +12 -0
- package/dist/components/Popover/Popover.anchor.js +87 -0
- package/dist/components/Popover/Popover.context.d.ts +11 -0
- package/dist/components/Popover/Popover.context.js +11 -0
- package/dist/components/Popover/Popover.d.ts +69 -0
- package/dist/components/Popover/Popover.js +253 -0
- package/dist/components/Popover/Popover.pressTrigger.d.ts +12 -0
- package/dist/components/Popover/Popover.pressTrigger.js +54 -0
- package/dist/components/Popover/Popover.stylex.d.ts +98 -0
- package/dist/components/Popover/Popover.stylex.js +109 -0
- package/dist/components/Popover/Popover.viewport.d.ts +10 -0
- package/dist/components/Popover/Popover.viewport.js +61 -0
- package/dist/components/Popover/useHoverOpen.d.ts +24 -0
- package/dist/components/Popover/useHoverOpen.js +132 -0
- package/dist/components/Progress/Progress.d.ts +21 -0
- package/dist/components/Progress/Progress.js +20 -0
- package/dist/components/Progress/Progress.stylex.d.ts +90 -0
- package/dist/components/Progress/Progress.stylex.js +83 -0
- package/dist/components/RadioGroup/RadioGroup.children.d.ts +8 -0
- package/dist/components/RadioGroup/RadioGroup.children.js +64 -0
- package/dist/components/RadioGroup/RadioGroup.colors.d.ts +13 -0
- package/dist/components/RadioGroup/RadioGroup.colors.js +11 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +73 -0
- package/dist/components/RadioGroup/RadioGroup.js +85 -0
- package/dist/components/RadioGroup/RadioGroup.stylex.d.ts +87 -0
- package/dist/components/RadioGroup/RadioGroup.stylex.js +57 -0
- package/dist/components/ReflowContainer/ReflowContainer.d.ts +30 -0
- package/dist/components/ReflowContainer/ReflowContainer.js +106 -0
- package/dist/components/Region/Region.d.ts +50 -0
- package/dist/components/Region/Region.js +29 -0
- package/dist/components/RenderingTreatment/RenderingTreatment.context.d.ts +34 -0
- package/dist/components/RenderingTreatment/RenderingTreatment.context.js +49 -0
- package/dist/components/ResourceList/ResourceList.d.ts +7 -0
- package/dist/components/ResourceList/ResourceList.js +89 -0
- package/dist/components/ResourceList/ResourceList.model.d.ts +65 -0
- package/dist/components/ResourceList/ResourceList.model.js +372 -0
- package/dist/components/ResourceList/ResourceList.rows.d.ts +18 -0
- package/dist/components/ResourceList/ResourceList.rows.js +86 -0
- package/dist/components/ResourceList/ResourceList.stylex.d.ts +338 -0
- package/dist/components/ResourceList/ResourceList.stylex.js +272 -0
- package/dist/components/ResourceList/ResourceList.table.d.ts +22 -0
- package/dist/components/ResourceList/ResourceList.table.js +149 -0
- package/dist/components/ResourceList/ResourceList.types.d.ts +120 -0
- package/dist/components/ResourceList/ResourceList.types.js +18 -0
- package/dist/components/Reveal/Reveal.d.ts +36 -0
- package/dist/components/Reveal/Reveal.js +18 -0
- package/dist/components/Reveal/Reveal.stylex.d.ts +125 -0
- package/dist/components/Reveal/Reveal.stylex.js +155 -0
- package/dist/components/RotatingStatus/RotatingStatus.d.ts +17 -0
- package/dist/components/RotatingStatus/RotatingStatus.js +43 -0
- package/dist/components/RotatingStatus/RotatingStatus.stylex.d.ts +27 -0
- package/dist/components/RotatingStatus/RotatingStatus.stylex.js +28 -0
- package/dist/components/RouterProvider/RouterProvider.d.ts +22 -0
- package/dist/components/RouterProvider/RouterProvider.js +12 -0
- package/dist/components/RowButton/RowButton.d.ts +21 -0
- package/dist/components/RowButton/RowButton.js +16 -0
- package/dist/components/RowButton/RowButton.stylex.d.ts +71 -0
- package/dist/components/RowButton/RowButton.stylex.js +80 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.context.d.ts +20 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.context.js +229 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.d.ts +10 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.edges.d.ts +16 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.edges.js +114 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.js +30 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.styles.d.ts +4 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.styles.js +44 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.stylex.d.ts +15 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.stylex.js +15 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.types.d.ts +71 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.types.js +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +73 -0
- package/dist/components/ScrollArea/ScrollArea.js +176 -0
- package/dist/components/ScrollArea/ScrollArea.stylex.d.ts +222 -0
- package/dist/components/ScrollArea/ScrollArea.stylex.js +253 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.d.ts +8 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.js +13 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.stylex.d.ts +60 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.stylex.js +37 -0
- package/dist/components/ScrollArea/ScrollAreaMarker.d.ts +23 -0
- package/dist/components/ScrollArea/ScrollAreaMarker.js +14 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.d.ts +17 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.js +206 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.stylex.d.ts +166 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.stylex.js +194 -0
- package/dist/components/ScrollArea/ScrollAreaOutline.d.ts +20 -0
- package/dist/components/ScrollArea/ScrollAreaOutline.js +53 -0
- package/dist/components/ScrollArea/ScrollAreaScrollbar.d.ts +16 -0
- package/dist/components/ScrollArea/ScrollAreaScrollbar.js +137 -0
- package/dist/components/ScrollArea/navigateToScrollTarget.d.ts +5 -0
- package/dist/components/ScrollArea/navigateToScrollTarget.js +17 -0
- package/dist/components/ScrollArea/scrollbarGeometry.d.ts +6 -0
- package/dist/components/ScrollArea/scrollbarGeometry.js +7 -0
- package/dist/components/ScrollArea/useHasNoTabStops.d.ts +3 -0
- package/dist/components/ScrollArea/useHasNoTabStops.js +37 -0
- package/dist/components/ScrollArea/useHorizontalWheel.d.ts +3 -0
- package/dist/components/ScrollArea/useHorizontalWheel.js +40 -0
- package/dist/components/ScrollArea/useMarkerNavigation.d.ts +7 -0
- package/dist/components/ScrollArea/useMarkerNavigation.js +41 -0
- package/dist/components/ScrollArea/useMarkerRail.d.ts +16 -0
- package/dist/components/ScrollArea/useMarkerRail.js +37 -0
- package/dist/components/ScrollArea/useScrollArea.d.ts +22 -0
- package/dist/components/ScrollArea/useScrollArea.js +103 -0
- package/dist/components/ScrollArea/useScrollAreaMarkers.d.ts +38 -0
- package/dist/components/ScrollArea/useScrollAreaMarkers.js +154 -0
- package/dist/components/SearchField/SearchField.d.ts +29 -0
- package/dist/components/SearchField/SearchField.js +51 -0
- package/dist/components/SearchField/SearchField.stylex.d.ts +82 -0
- package/dist/components/SearchField/SearchField.stylex.js +60 -0
- package/dist/components/SecretField/SecretField.d.ts +66 -0
- package/dist/components/SecretField/SecretField.js +61 -0
- package/dist/components/Section/Section.d.ts +41 -0
- package/dist/components/Section/Section.data.d.ts +12 -0
- package/dist/components/Section/Section.data.js +16 -0
- package/dist/components/Section/Section.js +45 -0
- package/dist/components/Section/Section.stylex.d.ts +24 -0
- package/dist/components/Section/Section.stylex.js +26 -0
- package/dist/components/Select/Select.body.d.ts +14 -0
- package/dist/components/Select/Select.body.js +17 -0
- package/dist/components/Select/Select.collection.d.ts +7 -0
- package/dist/components/Select/Select.collection.js +67 -0
- package/dist/components/Select/Select.context.d.ts +1 -0
- package/dist/components/Select/Select.context.js +2 -0
- package/dist/components/Select/Select.d.ts +60 -0
- package/dist/components/Select/Select.js +118 -0
- package/dist/components/Select/Select.stylex.d.ts +131 -0
- package/dist/components/Select/Select.stylex.js +132 -0
- package/dist/components/Select/useSelectFormReset.d.ts +2 -0
- package/dist/components/Select/useSelectFormReset.js +25 -0
- package/dist/components/Separator/Separator.d.ts +26 -0
- package/dist/components/Separator/Separator.js +31 -0
- package/dist/components/Separator/Separator.stylex.d.ts +33 -0
- package/dist/components/Separator/Separator.stylex.js +34 -0
- package/dist/components/Sheet/Sheet.d.ts +24 -0
- package/dist/components/Sheet/Sheet.js +17 -0
- package/dist/components/Shortcuts/ShortcutIndicator.d.ts +5 -0
- package/dist/components/Shortcuts/ShortcutIndicator.js +10 -0
- package/dist/components/Shortcuts/Shortcuts.context.d.ts +9 -0
- package/dist/components/Shortcuts/Shortcuts.context.js +8 -0
- package/dist/components/Shortcuts/Shortcuts.d.ts +14 -0
- package/dist/components/Shortcuts/Shortcuts.js +50 -0
- package/dist/components/Shortcuts/Shortcuts.stylex.d.ts +29 -0
- package/dist/components/Shortcuts/Shortcuts.stylex.js +28 -0
- package/dist/components/Shortcuts/Shortcuts.types.d.ts +56 -0
- package/dist/components/Shortcuts/Shortcuts.types.js +1 -0
- package/dist/components/Shortcuts/ShortcutsHelp.d.ts +5 -0
- package/dist/components/Shortcuts/ShortcutsHelp.js +70 -0
- package/dist/components/Shortcuts/shortcutKeys.d.ts +6 -0
- package/dist/components/Shortcuts/shortcutKeys.js +61 -0
- package/dist/components/Shortcuts/shortcutRegistry.d.ts +36 -0
- package/dist/components/Shortcuts/shortcutRegistry.js +153 -0
- package/dist/components/Shortcuts/useShortcut.d.ts +12 -0
- package/dist/components/Shortcuts/useShortcut.js +127 -0
- package/dist/components/ShowMore/ShowMore.d.ts +18 -0
- package/dist/components/ShowMore/ShowMore.js +44 -0
- package/dist/components/ShowMore/ShowMore.lines.d.ts +23 -0
- package/dist/components/ShowMore/ShowMore.lines.js +49 -0
- package/dist/components/ShowMore/ShowMore.stylex.d.ts +24 -0
- package/dist/components/ShowMore/ShowMore.stylex.js +26 -0
- package/dist/components/Skeleton/Skeleton.d.ts +16 -0
- package/dist/components/Skeleton/Skeleton.js +8 -0
- package/dist/components/Skeleton/Skeleton.stylex.d.ts +68 -0
- package/dist/components/Skeleton/Skeleton.stylex.js +78 -0
- package/dist/components/Skeleton/useSkeleton.d.ts +87 -0
- package/dist/components/Skeleton/useSkeleton.js +34 -0
- package/dist/components/Slider/Slider.d.ts +44 -0
- package/dist/components/Slider/Slider.js +56 -0
- package/dist/components/Slider/Slider.stylex.d.ts +105 -0
- package/dist/components/Slider/Slider.stylex.js +70 -0
- package/dist/components/Slot/Slot.d.ts +17 -0
- package/dist/components/Slot/Slot.js +83 -0
- package/dist/components/Slot/Slot.resolve.d.ts +3 -0
- package/dist/components/Slot/Slot.resolve.js +22 -0
- package/dist/components/Slot/Slot.scope.d.ts +7 -0
- package/dist/components/Slot/Slot.scope.js +19 -0
- package/dist/components/Slot/Slot.types.d.ts +64 -0
- package/dist/components/Slot/Slot.types.js +1 -0
- package/dist/components/Spacer/Spacer.d.ts +5 -0
- package/dist/components/Spacer/Spacer.js +6 -0
- package/dist/components/Spacer/Spacer.stylex.d.ts +10 -0
- package/dist/components/Spacer/Spacer.stylex.js +10 -0
- package/dist/components/SplitLayout/SplitLayout.d.ts +43 -0
- package/dist/components/SplitLayout/SplitLayout.js +20 -0
- package/dist/components/SplitLayout/SplitLayout.stylex.d.ts +51 -0
- package/dist/components/SplitLayout/SplitLayout.stylex.js +77 -0
- package/dist/components/Stack/StackInsets.context.d.ts +14 -0
- package/dist/components/Stack/StackInsets.context.js +17 -0
- package/dist/components/Stack/StackPadding.stylex.d.ts +113 -0
- package/dist/components/Stack/StackPadding.stylex.js +154 -0
- package/dist/components/Stack/StackPropTypes.d.ts +30 -0
- package/dist/components/Stack/StackPropTypes.js +14 -0
- package/dist/components/StatCard/StatCard.d.ts +32 -0
- package/dist/components/StatCard/StatCard.js +15 -0
- package/dist/components/StatCard/StatCard.stylex.d.ts +101 -0
- package/dist/components/StatCard/StatCard.stylex.js +127 -0
- package/dist/components/StatCard/StatCard.vars.stylex.d.ts +22 -0
- package/dist/components/StatCard/StatCard.vars.stylex.js +26 -0
- package/dist/components/StepList/StepList.d.ts +52 -0
- package/dist/components/StepList/StepList.js +36 -0
- package/dist/components/StepList/StepList.stylex.d.ts +139 -0
- package/dist/components/StepList/StepList.stylex.js +134 -0
- package/dist/components/Stepper/Stepper.d.ts +49 -0
- package/dist/components/Stepper/Stepper.js +59 -0
- package/dist/components/Stepper/Stepper.stylex.d.ts +131 -0
- package/dist/components/Stepper/Stepper.stylex.js +147 -0
- package/dist/components/Stepper/useStepNamesFit.d.ts +12 -0
- package/dist/components/Stepper/useStepNamesFit.js +65 -0
- package/dist/components/Surface/Surface.colors.d.ts +4 -0
- package/dist/components/Surface/Surface.colors.js +34 -0
- package/dist/components/Surface/Surface.d.ts +41 -0
- package/dist/components/Surface/Surface.js +36 -0
- package/dist/components/Surface/Surface.stylex.d.ts +139 -0
- package/dist/components/Surface/Surface.stylex.js +121 -0
- package/dist/components/Switch/Switch.d.ts +50 -0
- package/dist/components/Switch/Switch.js +28 -0
- package/dist/components/TOC/TOC.activeEntry.d.ts +14 -0
- package/dist/components/TOC/TOC.activeEntry.js +89 -0
- package/dist/components/TOC/TOC.context.d.ts +33 -0
- package/dist/components/TOC/TOC.context.js +55 -0
- package/dist/components/TOC/TOC.d.ts +8 -0
- package/dist/components/TOC/TOC.js +49 -0
- package/dist/components/TOC/TOC.stylex.d.ts +60 -0
- package/dist/components/TOC/TOC.stylex.js +59 -0
- package/dist/components/Table/Table.d.ts +6 -0
- package/dist/components/Table/Table.data.d.ts +24 -0
- package/dist/components/Table/Table.data.js +224 -0
- package/dist/components/Table/Table.js +317 -0
- package/dist/components/Table/Table.layout.d.ts +33 -0
- package/dist/components/Table/Table.layout.js +246 -0
- package/dist/components/Table/Table.parts.d.ts +13 -0
- package/dist/components/Table/Table.parts.js +17 -0
- package/dist/components/Table/Table.stylex.d.ts +504 -0
- package/dist/components/Table/Table.stylex.js +468 -0
- package/dist/components/Table/Table.types.d.ts +114 -0
- package/dist/components/Table/Table.types.js +11 -0
- package/dist/components/Table/TableRowLink.d.ts +16 -0
- package/dist/components/Table/TableRowLink.js +39 -0
- package/dist/components/Tabs/NewTabAction.d.ts +7 -0
- package/dist/components/Tabs/NewTabAction.js +25 -0
- package/dist/components/Tabs/Tab.d.ts +11 -0
- package/dist/components/Tabs/Tab.js +10 -0
- package/dist/components/Tabs/TabActionButton.d.ts +14 -0
- package/dist/components/Tabs/TabActionButton.js +60 -0
- package/dist/components/Tabs/TabActions.d.ts +12 -0
- package/dist/components/Tabs/TabActions.js +119 -0
- package/dist/components/Tabs/TabOutlet.d.ts +9 -0
- package/dist/components/Tabs/TabOutlet.js +15 -0
- package/dist/components/Tabs/TabPanelTransition.d.ts +18 -0
- package/dist/components/Tabs/TabPanelTransition.js +20 -0
- package/dist/components/Tabs/Tabs.children.d.ts +16 -0
- package/dist/components/Tabs/Tabs.children.js +97 -0
- package/dist/components/Tabs/Tabs.d.ts +5 -0
- package/dist/components/Tabs/Tabs.js +270 -0
- package/dist/components/Tabs/Tabs.state.d.ts +19 -0
- package/dist/components/Tabs/Tabs.state.js +13 -0
- package/dist/components/Tabs/Tabs.stylex.d.ts +476 -0
- package/dist/components/Tabs/Tabs.stylex.js +376 -0
- package/dist/components/Tabs/Tabs.types.d.ts +99 -0
- package/dist/components/Tabs/Tabs.types.js +6 -0
- package/dist/components/Tabs/TabsPicker.d.ts +8 -0
- package/dist/components/Tabs/TabsPicker.js +21 -0
- package/dist/components/Tabs/useTabOverflow.d.ts +9 -0
- package/dist/components/Tabs/useTabOverflow.js +55 -0
- package/dist/components/Tabs/useTabReorder.d.ts +22 -0
- package/dist/components/Tabs/useTabReorder.js +133 -0
- package/dist/components/Tabs/useTabScrollRestoration.d.ts +4 -0
- package/dist/components/Tabs/useTabScrollRestoration.js +100 -0
- package/dist/components/Tabs/useTabs.d.ts +10 -0
- package/dist/components/Tabs/useTabs.js +43 -0
- package/dist/components/Tabs/useTabsPickerMotion.d.ts +6 -0
- package/dist/components/Tabs/useTabsPickerMotion.js +64 -0
- package/dist/components/TagGroup/CollapsedTagGroup.d.ts +13 -0
- package/dist/components/TagGroup/CollapsedTagGroup.js +205 -0
- package/dist/components/TagGroup/Tag.d.ts +22 -0
- package/dist/components/TagGroup/Tag.js +5 -0
- package/dist/components/TagGroup/TagCollection.d.ts +15 -0
- package/dist/components/TagGroup/TagCollection.js +30 -0
- package/dist/components/TagGroup/TagContents.d.ts +8 -0
- package/dist/components/TagGroup/TagContents.js +109 -0
- package/dist/components/TagGroup/TagGroup.children.d.ts +11 -0
- package/dist/components/TagGroup/TagGroup.children.js +59 -0
- package/dist/components/TagGroup/TagGroup.d.ts +29 -0
- package/dist/components/TagGroup/TagGroup.js +20 -0
- package/dist/components/TagGroup/TagGroup.stylex.d.ts +226 -0
- package/dist/components/TagGroup/TagGroup.stylex.js +162 -0
- package/dist/components/TagGroup/tagGroupLayout.d.ts +5 -0
- package/dist/components/TagGroup/tagGroupLayout.js +20 -0
- package/dist/components/Text/Text.d.ts +81 -0
- package/dist/components/Text/Text.js +124 -0
- package/dist/components/Text/Text.stylex.d.ts +239 -0
- package/dist/components/Text/Text.stylex.js +231 -0
- package/dist/components/Text/Text.truncation.d.ts +44 -0
- package/dist/components/Text/Text.truncation.js +365 -0
- package/dist/components/Text/Text.truncation.stylex.d.ts +42 -0
- package/dist/components/Text/Text.truncation.stylex.js +53 -0
- package/dist/components/TextArea/TextArea.d.ts +63 -0
- package/dist/components/TextArea/TextArea.js +43 -0
- package/dist/components/TextField/TextField.d.ts +67 -0
- package/dist/components/TextField/TextField.js +46 -0
- package/dist/components/TileButton/TileButton.d.ts +37 -0
- package/dist/components/TileButton/TileButton.js +23 -0
- package/dist/components/TileButton/TileButton.stylex.d.ts +68 -0
- package/dist/components/TileButton/TileButton.stylex.js +74 -0
- package/dist/components/TileButton/TileButton.vars.stylex.d.ts +10 -0
- package/dist/components/TileButton/TileButton.vars.stylex.js +13 -0
- package/dist/components/Time/Time.d.ts +25 -0
- package/dist/components/Time/Time.format.d.ts +22 -0
- package/dist/components/Time/Time.format.js +55 -0
- package/dist/components/Time/Time.js +31 -0
- package/dist/components/Time/Time.stylex.d.ts +14 -0
- package/dist/components/Time/Time.stylex.js +15 -0
- package/dist/components/TimeField/TimeField.d.ts +52 -0
- package/dist/components/TimeField/TimeField.js +53 -0
- package/dist/components/TimelineLanes/TimelineLanes.d.ts +71 -0
- package/dist/components/TimelineLanes/TimelineLanes.js +83 -0
- package/dist/components/TimelineLanes/TimelineLanes.scale.d.ts +14 -0
- package/dist/components/TimelineLanes/TimelineLanes.scale.js +35 -0
- package/dist/components/TimelineLanes/TimelineLanes.stylex.d.ts +280 -0
- package/dist/components/TimelineLanes/TimelineLanes.stylex.js +329 -0
- package/dist/components/Toast/Toast.context.d.ts +3 -0
- package/dist/components/Toast/Toast.context.js +8 -0
- package/dist/components/Toast/Toast.d.ts +5 -0
- package/dist/components/Toast/Toast.js +63 -0
- package/dist/components/Toast/Toast.stylex.d.ts +173 -0
- package/dist/components/Toast/Toast.stylex.js +137 -0
- package/dist/components/Toast/Toast.types.d.ts +31 -0
- package/dist/components/Toast/Toast.types.js +9 -0
- package/dist/components/Toast/ToastCountdown.d.ts +7 -0
- package/dist/components/Toast/ToastCountdown.js +48 -0
- package/dist/components/Toast/ToastView.d.ts +6 -0
- package/dist/components/Toast/ToastView.js +39 -0
- package/dist/components/Toast/createToastEntry.d.ts +9 -0
- package/dist/components/Toast/createToastEntry.js +33 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +45 -0
- package/dist/components/ToggleButton/ToggleButton.js +97 -0
- package/dist/components/ToggleButton/ToggleButton.stylex.d.ts +118 -0
- package/dist/components/ToggleButton/ToggleButton.stylex.js +109 -0
- package/dist/components/Toolbar/Toolbar.children.d.ts +19 -0
- package/dist/components/Toolbar/Toolbar.children.js +83 -0
- package/dist/components/Toolbar/Toolbar.d.ts +37 -0
- package/dist/components/Toolbar/Toolbar.js +180 -0
- package/dist/components/Toolbar/Toolbar.layout.d.ts +20 -0
- package/dist/components/Toolbar/Toolbar.layout.js +104 -0
- package/dist/components/Toolbar/Toolbar.menu.d.ts +27 -0
- package/dist/components/Toolbar/Toolbar.menu.js +213 -0
- package/dist/components/Toolbar/Toolbar.stylex.d.ts +69 -0
- package/dist/components/Toolbar/Toolbar.stylex.js +48 -0
- package/dist/components/Toolbar/ToolbarControl.context.d.ts +6 -0
- package/dist/components/Toolbar/ToolbarControl.context.js +9 -0
- package/dist/components/Toolbar/ToolbarControl.stylex.d.ts +42 -0
- package/dist/components/Toolbar/ToolbarControl.stylex.js +50 -0
- package/dist/components/Toolbar/ToolbarGroupLabel.d.ts +3 -0
- package/dist/components/Toolbar/ToolbarGroupLabel.js +22 -0
- package/dist/components/Toolbar/ToolbarMenuTrigger.d.ts +6 -0
- package/dist/components/Toolbar/ToolbarMenuTrigger.js +20 -0
- package/dist/components/Toolbar/ToolbarNote.d.ts +13 -0
- package/dist/components/Toolbar/ToolbarNote.js +8 -0
- package/dist/components/Tooltip/Tooltip.d.ts +43 -0
- package/dist/components/Tooltip/Tooltip.js +139 -0
- package/dist/components/Tooltip/Tooltip.stylex.d.ts +106 -0
- package/dist/components/Tooltip/Tooltip.stylex.js +105 -0
- package/dist/components/Tooltip/Tooltip.unavailableContext.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.unavailableContext.js +12 -0
- package/dist/components/TourLayer/TourLayer.d.ts +14 -0
- package/dist/components/TourLayer/TourLayer.js +17 -0
- package/dist/components/TourLayer/TourLayer.stylex.d.ts +10 -0
- package/dist/components/TourLayer/TourLayer.stylex.js +11 -0
- package/dist/components/Tree/Tree.d.ts +21 -0
- package/dist/components/Tree/Tree.js +88 -0
- package/dist/components/Tree/Tree.stylex.d.ts +101 -0
- package/dist/components/Tree/Tree.stylex.js +103 -0
- package/dist/components/Trigger/Trigger.d.ts +10 -0
- package/dist/components/Trigger/Trigger.js +23 -0
- package/dist/components/UnsavedChangesScope/UnsavedChangesScope.d.ts +44 -0
- package/dist/components/UnsavedChangesScope/UnsavedChangesScope.js +136 -0
- package/dist/components/VStack/VStack.d.ts +26 -0
- package/dist/components/VStack/VStack.js +11 -0
- package/dist/components/VStack/VStack.stylex.d.ts +174 -0
- package/dist/components/VStack/VStack.stylex.js +124 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +13 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.js +11 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.d.ts +28 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.js +45 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.stylex.d.ts +88 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.stylex.js +106 -0
- package/dist/components/WindowSplitter/WindowSplitter.d.ts +43 -0
- package/dist/components/WindowSplitter/WindowSplitter.detached.d.ts +6 -0
- package/dist/components/WindowSplitter/WindowSplitter.detached.js +7 -0
- package/dist/components/WindowSplitter/WindowSplitter.drawer.d.ts +70 -0
- package/dist/components/WindowSplitter/WindowSplitter.drawer.js +88 -0
- package/dist/components/WindowSplitter/WindowSplitter.js +613 -0
- package/dist/components/WindowSplitter/WindowSplitter.peek.d.ts +33 -0
- package/dist/components/WindowSplitter/WindowSplitter.peek.js +90 -0
- package/dist/components/WindowSplitter/WindowSplitter.sizing.d.ts +11 -0
- package/dist/components/WindowSplitter/WindowSplitter.sizing.js +50 -0
- package/dist/components/WindowSplitter/WindowSplitter.stylex.d.ts +180 -0
- package/dist/components/WindowSplitter/WindowSplitter.stylex.js +163 -0
- package/dist/components/ZStack/ZStack.d.ts +41 -0
- package/dist/components/ZStack/ZStack.js +43 -0
- package/dist/components/ZStack/ZStack.stylex.d.ts +78 -0
- package/dist/components/ZStack/ZStack.stylex.js +42 -0
- package/dist/experimental/index.d.ts +48 -0
- package/dist/experimental/index.js +45 -0
- package/dist/files/index.d.ts +22 -0
- package/dist/files/index.js +19 -0
- package/dist/foundations/Color.context.d.ts +29 -0
- package/dist/foundations/Color.context.js +58 -0
- package/dist/foundations/Color.core.d.ts +70 -0
- package/dist/foundations/Color.core.js +323 -0
- package/dist/foundations/Color.d.ts +1 -0
- package/dist/foundations/Color.js +1 -0
- package/dist/foundations/Color.styles.stylex.d.ts +21 -0
- package/dist/foundations/Color.styles.stylex.js +34 -0
- package/dist/foundations/constants.stylex.d.ts +18 -0
- package/dist/foundations/constants.stylex.js +20 -0
- package/dist/foundations/textStyles.stylex.d.ts +87 -0
- package/dist/foundations/textStyles.stylex.js +88 -0
- package/dist/foundations/viewport.d.ts +5 -0
- package/dist/foundations/viewport.js +17 -0
- package/dist/index.d.ts +171 -0
- package/dist/index.js +189 -0
- package/dist/internal.d.ts +2 -0
- package/dist/internal.js +1 -0
- package/dist/theming/OverlayRegion.d.ts +15 -0
- package/dist/theming/OverlayRegion.js +36 -0
- package/dist/theming/ThemeRegion.d.ts +22 -0
- package/dist/theming/ThemeRegion.js +28 -0
- package/dist/theming/ThemeScope.context.d.ts +40 -0
- package/dist/theming/ThemeScope.context.js +76 -0
- package/dist/theming/ThemeScope.d.ts +35 -0
- package/dist/theming/ThemeScope.js +67 -0
- package/dist/theming/ThemeScope.stylex.d.ts +34 -0
- package/dist/theming/ThemeScope.stylex.js +54 -0
- package/dist/theming/color.d.ts +51 -0
- package/dist/theming/color.js +175 -0
- package/dist/theming/createTheme.d.ts +145 -0
- package/dist/theming/createTheme.js +1009 -0
- package/dist/theming/designTokens.d.ts +49 -0
- package/dist/theming/designTokens.js +138 -0
- package/dist/theming/effectiveTheme.d.ts +154 -0
- package/dist/theming/effectiveTheme.js +62 -0
- package/dist/theming/themeStylesheet.d.ts +20 -0
- package/dist/theming/themeStylesheet.js +106 -0
- package/dist/theming/tokens.d.ts +48 -0
- package/dist/theming/tokens.js +314 -0
- package/dist/theming/tokens.stylex.d.ts +592 -0
- package/dist/theming/tokens.stylex.js +1265 -0
- package/dist/utils/declarationError.d.ts +7 -0
- package/dist/utils/declarationError.js +16 -0
- package/dist/utils/deviceCache.d.ts +40 -0
- package/dist/utils/deviceCache.js +234 -0
- package/dist/utils/isSoftwareKeyboardLikely.d.ts +2 -0
- package/dist/utils/isSoftwareKeyboardLikely.js +12 -0
- package/dist/utils/performance.d.ts +3 -0
- package/dist/utils/performance.js +5 -0
- package/dist/utils/preferences.d.ts +35 -0
- package/dist/utils/preferences.js +77 -0
- package/dist/utils/preload.d.ts +10 -0
- package/dist/utils/preload.js +12 -0
- package/dist/utils/props.d.ts +5 -0
- package/dist/utils/props.js +10 -0
- package/dist/utils/resolveAutoFocus.d.ts +3 -0
- package/dist/utils/resolveAutoFocus.js +8 -0
- package/dist/utils/trackRegionActivity.d.ts +13 -0
- package/dist/utils/trackRegionActivity.js +72 -0
- package/dist/utils/useAutoFocus.d.ts +6 -0
- package/dist/utils/useAutoFocus.js +16 -0
- package/dist/utils/visuallyHidden.stylex.d.ts +15 -0
- package/dist/utils/visuallyHidden.stylex.js +15 -0
- package/dist/vite/index.d.ts +21 -0
- package/dist/vite/index.js +104 -0
- package/dist/vite/lucideIcons.d.ts +11 -0
- package/dist/vite/lucideIcons.js +53 -0
- package/package.json +159 -3
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { axisScale, markSeries, markValues, seriesNames, } from "./Chart.data.js";
|
|
2
|
+
import { chartTime, formatChartNumber, formatChartValue } from "./Chart.format.js";
|
|
3
|
+
export function chartLayout(spec) {
|
|
4
|
+
const scales = { x: axisScale(spec, 'x'), y: axisScale(spec, 'y') };
|
|
5
|
+
const lead = scales.y === 'category' ? 'y' : 'x';
|
|
6
|
+
const series = seriesNames(spec);
|
|
7
|
+
return {
|
|
8
|
+
scales,
|
|
9
|
+
lead,
|
|
10
|
+
measure: lead === 'x' ? 'y' : 'x',
|
|
11
|
+
series,
|
|
12
|
+
namesSeries: series.length > 1 || spec.series !== undefined,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
// #region Values
|
|
16
|
+
/** The mark's value along an axis, as text: a single value, or a range "a to b". */
|
|
17
|
+
export function markText(spec, mark, axis) {
|
|
18
|
+
const format = spec[axis].format;
|
|
19
|
+
const start = axis === 'x'
|
|
20
|
+
? 'xStart' in mark
|
|
21
|
+
? mark.xStart
|
|
22
|
+
: undefined
|
|
23
|
+
: 'yStart' in mark
|
|
24
|
+
? mark.yStart
|
|
25
|
+
: undefined;
|
|
26
|
+
const end = axis === 'x'
|
|
27
|
+
? 'xEnd' in mark
|
|
28
|
+
? mark.xEnd
|
|
29
|
+
: undefined
|
|
30
|
+
: 'yEnd' in mark
|
|
31
|
+
? mark.yEnd
|
|
32
|
+
: undefined;
|
|
33
|
+
if (start !== undefined && end !== undefined)
|
|
34
|
+
return `${formatChartValue(start, format, 'full')} to ${formatChartValue(end, format, 'full')}`;
|
|
35
|
+
const value = mark[axis];
|
|
36
|
+
return value === undefined ? '' : formatChartValue(value, format, 'full');
|
|
37
|
+
}
|
|
38
|
+
/** Sort key along an axis: category order, time or number. */
|
|
39
|
+
export function markPosition(spec, mark, axis, categories) {
|
|
40
|
+
const value = mark[axis] ??
|
|
41
|
+
(axis === 'x'
|
|
42
|
+
? 'xStart' in mark
|
|
43
|
+
? mark.xStart
|
|
44
|
+
: undefined
|
|
45
|
+
: 'yStart' in mark
|
|
46
|
+
? mark.yStart
|
|
47
|
+
: undefined);
|
|
48
|
+
if (value === undefined)
|
|
49
|
+
return 0;
|
|
50
|
+
if (typeof value === 'number')
|
|
51
|
+
return value;
|
|
52
|
+
return axisScale(spec, axis) === 'datetime' ? chartTime(value) : categories.indexOf(value);
|
|
53
|
+
}
|
|
54
|
+
/** Text categories in order of first appearance. */
|
|
55
|
+
export function axisCategories(spec, axis) {
|
|
56
|
+
const values = new Set();
|
|
57
|
+
for (const mark of spec.marks) {
|
|
58
|
+
const value = mark[axis];
|
|
59
|
+
if (typeof value === 'string')
|
|
60
|
+
values.add(value);
|
|
61
|
+
}
|
|
62
|
+
return [...values];
|
|
63
|
+
}
|
|
64
|
+
function states(spec, mark) {
|
|
65
|
+
return [
|
|
66
|
+
...(mark.kind === 'point' && mark.isHollow && spec.hollowLabel ? [spec.hollowLabel] : []),
|
|
67
|
+
...(mark.isMuted && spec.mutedLabel ? [spec.mutedLabel] : []),
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
function sizeText(spec, mark) {
|
|
71
|
+
if (mark.kind !== 'point' || mark.size === undefined || !spec.sizeScale)
|
|
72
|
+
return undefined;
|
|
73
|
+
return formatChartNumber(mark.size, spec.sizeScale.format ?? 'number', 'full');
|
|
74
|
+
}
|
|
75
|
+
/** A donut slice's value, its share of the whole, and a heatmap cell's shaded value. */
|
|
76
|
+
function sectorValue(spec, mark) {
|
|
77
|
+
return formatChartValue(Number(mark.y), spec.y.format, 'full');
|
|
78
|
+
}
|
|
79
|
+
function sectorShare(spec, mark) {
|
|
80
|
+
const total = spec.marks.reduce((sum, each) => sum + Number(each.y), 0);
|
|
81
|
+
return `${total > 0 ? Math.round((Number(mark.y) / total) * 100) : 0}%`;
|
|
82
|
+
}
|
|
83
|
+
function cellValue(spec, mark) {
|
|
84
|
+
return mark.kind === 'cell'
|
|
85
|
+
? formatChartNumber(mark.value, spec.colorScale?.format ?? 'number', 'full')
|
|
86
|
+
: '';
|
|
87
|
+
}
|
|
88
|
+
// #endregion
|
|
89
|
+
// #region Per mark
|
|
90
|
+
/** The tooltip: the author's tip, or one built from the axes. */
|
|
91
|
+
export function markTip(spec, layout, mark) {
|
|
92
|
+
const meaning = states(spec, mark);
|
|
93
|
+
if (mark.tip)
|
|
94
|
+
return { ...mark.tip, details: [...(mark.tip.details ?? []), ...meaning] };
|
|
95
|
+
if (mark.kind === 'sector')
|
|
96
|
+
return {
|
|
97
|
+
title: markSeries(spec, mark),
|
|
98
|
+
details: [
|
|
99
|
+
`${spec.y.label}: ${sectorValue(spec, mark)}`,
|
|
100
|
+
`${sectorShare(spec, mark)} of the total`,
|
|
101
|
+
...meaning,
|
|
102
|
+
],
|
|
103
|
+
};
|
|
104
|
+
if (mark.kind === 'cell')
|
|
105
|
+
return {
|
|
106
|
+
title: `${markText(spec, mark, 'x')}, ${markText(spec, mark, 'y')}`,
|
|
107
|
+
details: [`${spec.colorScale?.label ?? 'Value'}: ${cellValue(spec, mark)}`],
|
|
108
|
+
};
|
|
109
|
+
const { lead, measure } = layout;
|
|
110
|
+
const size = sizeText(spec, mark);
|
|
111
|
+
const name = layout.namesSeries ? markSeries(spec, mark) : spec[measure].label;
|
|
112
|
+
return {
|
|
113
|
+
title: layout.scales[lead] === 'linear'
|
|
114
|
+
? `${spec[lead].label} ${markText(spec, mark, lead)}`
|
|
115
|
+
: markText(spec, mark, lead),
|
|
116
|
+
details: [
|
|
117
|
+
`${name}: ${markText(spec, mark, measure)}`,
|
|
118
|
+
...(size ? [`${spec.sizeScale.label}: ${size}`] : []),
|
|
119
|
+
...meaning,
|
|
120
|
+
],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/** What assistive technology reads for a mark: its tip's lines, or each encoding by name. */
|
|
124
|
+
/** A mark's short name, for announcing that it was selected, such as "Missouri". */
|
|
125
|
+
export function markLabel(spec, layout, mark) {
|
|
126
|
+
if (mark.tip)
|
|
127
|
+
return mark.tip.title;
|
|
128
|
+
if (mark.kind === 'sector')
|
|
129
|
+
return markSeries(spec, mark);
|
|
130
|
+
if (mark.kind === 'cell')
|
|
131
|
+
return `${markText(spec, mark, 'x')}, ${markText(spec, mark, 'y')}`;
|
|
132
|
+
const lead = markText(spec, mark, layout.lead);
|
|
133
|
+
return layout.namesSeries ? `${markSeries(spec, mark)}, ${lead}` : lead;
|
|
134
|
+
}
|
|
135
|
+
export function markDescription(spec, layout, mark) {
|
|
136
|
+
const meaning = states(spec, mark);
|
|
137
|
+
if (mark.tip)
|
|
138
|
+
return [mark.tip.title, ...(mark.tip.details ?? []), ...meaning].join(', ');
|
|
139
|
+
if (mark.kind === 'sector')
|
|
140
|
+
return [
|
|
141
|
+
markSeries(spec, mark),
|
|
142
|
+
`${spec.y.label} ${sectorValue(spec, mark)}`,
|
|
143
|
+
`${sectorShare(spec, mark)} of the total`,
|
|
144
|
+
...meaning,
|
|
145
|
+
].join(', ');
|
|
146
|
+
if (mark.kind === 'cell')
|
|
147
|
+
return [
|
|
148
|
+
`${spec.x.label} ${markText(spec, mark, 'x')}`,
|
|
149
|
+
`${spec.y.label} ${markText(spec, mark, 'y')}`,
|
|
150
|
+
`${spec.colorScale?.label ?? 'Value'} ${cellValue(spec, mark)}`,
|
|
151
|
+
].join(', ');
|
|
152
|
+
const { lead, measure } = layout;
|
|
153
|
+
const size = sizeText(spec, mark);
|
|
154
|
+
return [
|
|
155
|
+
`${spec[lead].label} ${markText(spec, mark, lead)}`,
|
|
156
|
+
`${spec[measure].label} ${markText(spec, mark, measure)}`,
|
|
157
|
+
...(layout.namesSeries ? [`${spec.series?.label ?? 'Series'} ${markSeries(spec, mark)}`] : []),
|
|
158
|
+
...(size ? [`${spec.sizeScale.label} ${size}`] : []),
|
|
159
|
+
...meaning,
|
|
160
|
+
].join(', ');
|
|
161
|
+
}
|
|
162
|
+
// #endregion
|
|
163
|
+
// #region Whole chart
|
|
164
|
+
const KIND_NAMES = {
|
|
165
|
+
bar: 'Bar',
|
|
166
|
+
line: 'Line',
|
|
167
|
+
area: 'Area',
|
|
168
|
+
point: 'Dot',
|
|
169
|
+
sector: 'Donut',
|
|
170
|
+
cell: 'Heat map',
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Which series a reader hid, such as "2 of 3 series shown; Texas hidden." Stacks, and 100%
|
|
174
|
+
* shares, cover the shown series only.
|
|
175
|
+
*/
|
|
176
|
+
function hiddenText(spec) {
|
|
177
|
+
const hidden = spec.hidden ?? [];
|
|
178
|
+
if (hidden.length === 0)
|
|
179
|
+
return [];
|
|
180
|
+
const shown = seriesNames(spec).length;
|
|
181
|
+
const arrangement = spec.series?.arrangement;
|
|
182
|
+
return [
|
|
183
|
+
`${shown} of ${shown + hidden.length} series shown; ${hidden.join(', ')} hidden.`,
|
|
184
|
+
...(arrangement === 'normalized'
|
|
185
|
+
? ['Shares are of the shown series.']
|
|
186
|
+
: arrangement === 'stacked'
|
|
187
|
+
? ['Stacks add up the shown series.']
|
|
188
|
+
: []),
|
|
189
|
+
];
|
|
190
|
+
}
|
|
191
|
+
/** Read before the chart: what it plots, each series' range, the reference lines and states. */
|
|
192
|
+
export function chartSummary(spec, layout) {
|
|
193
|
+
if (spec.marks.length === 0)
|
|
194
|
+
return `${spec.label}. No data.`;
|
|
195
|
+
if (spec.marks[0].kind === 'sector') {
|
|
196
|
+
const total = spec.marks.reduce((sum, mark) => sum + Number(mark.y), 0);
|
|
197
|
+
const slices = [...spec.marks]
|
|
198
|
+
.sort((a, b) => Number(b.y) - Number(a.y))
|
|
199
|
+
.map((mark) => `${markSeries(spec, mark)} ${sectorValue(spec, mark)} (${sectorShare(spec, mark)})`);
|
|
200
|
+
return [
|
|
201
|
+
`Donut chart of ${spec.y.label} by ${spec.series?.label ?? 'series'}, ` +
|
|
202
|
+
`${formatChartValue(total, spec.y.format, 'full')} in total.`,
|
|
203
|
+
`${slices.join('; ')}.`,
|
|
204
|
+
...hiddenText(spec),
|
|
205
|
+
...(spec.description ? [spec.description] : []),
|
|
206
|
+
].join(' ');
|
|
207
|
+
}
|
|
208
|
+
if (spec.marks[0].kind === 'cell') {
|
|
209
|
+
const value = (mark) => (mark.kind === 'cell' ? mark.value : 0);
|
|
210
|
+
const highest = spec.marks.reduce((a, b) => (value(b) > value(a) ? b : a));
|
|
211
|
+
const lowest = spec.marks.reduce((a, b) => (value(b) < value(a) ? b : a));
|
|
212
|
+
const place = (mark) => `${markText(spec, mark, 'x')}, ${markText(spec, mark, 'y')}`;
|
|
213
|
+
return [
|
|
214
|
+
`Heat map of ${spec.colorScale?.label ?? 'values'} by ${spec.x.label} and ${spec.y.label}, ` +
|
|
215
|
+
`${count(spec.marks.length, 'cell')}.`,
|
|
216
|
+
`Highest ${cellValue(spec, highest)} at ${place(highest)}; lowest ${cellValue(spec, lowest)} at ${place(lowest)}.`,
|
|
217
|
+
...(spec.description ? [spec.description] : []),
|
|
218
|
+
].join(' ');
|
|
219
|
+
}
|
|
220
|
+
const { lead, measure } = layout;
|
|
221
|
+
const kinds = [...new Set(spec.marks.map((mark) => KIND_NAMES[mark.kind]))];
|
|
222
|
+
const by = layout.namesSeries ? ` and ${spec.series?.label ?? 'series'}` : '';
|
|
223
|
+
const sentences = [
|
|
224
|
+
`${kinds.join(' and ')} chart of ${spec[measure].label} by ${spec[lead].label}${by}.`,
|
|
225
|
+
];
|
|
226
|
+
const leadSpan = span(spec, layout, lead, spec.marks);
|
|
227
|
+
if (leadSpan)
|
|
228
|
+
sentences.push(`${spec[lead].label} ${leadSpan}.`);
|
|
229
|
+
for (const name of layout.series) {
|
|
230
|
+
const marks = spec.marks.filter((mark) => markSeries(spec, mark) === name);
|
|
231
|
+
const extremes = measureExtremes(spec, layout, marks);
|
|
232
|
+
const prefix = layout.namesSeries ? `${name}: ` : '';
|
|
233
|
+
sentences.push(`${prefix}${count(marks.length, 'value')}${extremes ? `, ${extremes}` : ''}.`);
|
|
234
|
+
}
|
|
235
|
+
sentences.push(...hiddenText(spec));
|
|
236
|
+
if (spec.rules.length > 0)
|
|
237
|
+
sentences.push(`Reference lines: ${spec.rules.map((rule) => ruleText(spec, rule)).join('; ')}.`);
|
|
238
|
+
for (const [meaning, flag] of [
|
|
239
|
+
[spec.hollowLabel, (mark) => mark.kind === 'point' && mark.isHollow === true],
|
|
240
|
+
[spec.mutedLabel, (mark) => mark.isMuted === true],
|
|
241
|
+
]) {
|
|
242
|
+
const flagged = spec.marks.filter(flag).length;
|
|
243
|
+
if (meaning && flagged > 0)
|
|
244
|
+
sentences.push(`${meaning}: ${flagged} of ${spec.marks.length}.`);
|
|
245
|
+
}
|
|
246
|
+
if (spec.description)
|
|
247
|
+
sentences.push(spec.description);
|
|
248
|
+
return sentences.join(' ');
|
|
249
|
+
}
|
|
250
|
+
/** "from Oct 1, 2026 to Oct 31, 2026", or the categories when there are only a few. */
|
|
251
|
+
function span(spec, layout, axis, marks) {
|
|
252
|
+
if (layout.scales[axis] === 'category') {
|
|
253
|
+
const categories = axisCategories(spec, axis);
|
|
254
|
+
return categories.length <= 8
|
|
255
|
+
? `: ${categories.join(', ')}`
|
|
256
|
+
: `: ${categories.length} categories, ${categories[0]} to ${categories.at(-1)}`;
|
|
257
|
+
}
|
|
258
|
+
const values = marks.flatMap((mark) => markValues(mark, axis));
|
|
259
|
+
if (values.length === 0)
|
|
260
|
+
return undefined;
|
|
261
|
+
const times = values.map((value) => (typeof value === 'number' ? value : chartTime(value)));
|
|
262
|
+
const low = values[times.indexOf(Math.min(...times))];
|
|
263
|
+
const high = values[times.indexOf(Math.max(...times))];
|
|
264
|
+
const format = spec[axis].format;
|
|
265
|
+
return `from ${formatChartValue(low, format, 'full')} to ${formatChartValue(high, format, 'full')}`;
|
|
266
|
+
}
|
|
267
|
+
function measureExtremes(spec, layout, marks) {
|
|
268
|
+
const { lead, measure } = layout;
|
|
269
|
+
const measured = marks.filter((mark) => typeof mark[measure] === 'number');
|
|
270
|
+
if (measured.length < 2)
|
|
271
|
+
return undefined;
|
|
272
|
+
const value = (mark) => mark[measure];
|
|
273
|
+
const lowest = measured.reduce((low, mark) => (value(mark) < value(low) ? mark : low));
|
|
274
|
+
const highest = measured.reduce((high, mark) => (value(mark) > value(high) ? mark : high));
|
|
275
|
+
const at = (mark) => (mark.tip ? mark.tip.title : markText(spec, mark, lead));
|
|
276
|
+
return `highest ${markText(spec, highest, measure)} at ${at(highest)}, lowest ${markText(spec, lowest, measure)} at ${at(lowest)}`;
|
|
277
|
+
}
|
|
278
|
+
export function ruleText(spec, rule) {
|
|
279
|
+
const axis = rule.x !== undefined ? 'x' : 'y';
|
|
280
|
+
const other = spec[axis === 'x' ? 'y' : 'x'];
|
|
281
|
+
const value = formatChartValue((rule.x ?? rule.y), spec[axis].format, 'full');
|
|
282
|
+
const range = rule.from !== undefined && rule.to !== undefined
|
|
283
|
+
? ` from ${formatChartValue(rule.from, other.format, 'full')} to ${formatChartValue(rule.to, other.format, 'full')}`
|
|
284
|
+
: '';
|
|
285
|
+
return `${rule.label} at ${value}${range}`;
|
|
286
|
+
}
|
|
287
|
+
function count(n, noun) {
|
|
288
|
+
return `${n} ${noun}${n === 1 ? '' : 's'}`;
|
|
289
|
+
}
|
|
290
|
+
/** One row per mark, ordered along the lead axis, then by series. */
|
|
291
|
+
export function chartTable(spec, layout) {
|
|
292
|
+
if (spec.marks[0]?.kind === 'sector')
|
|
293
|
+
return {
|
|
294
|
+
columns: [
|
|
295
|
+
{ id: 'series', label: spec.series?.label ?? 'Series', isNumeric: false },
|
|
296
|
+
{ id: 'value', label: spec.y.label, isNumeric: true },
|
|
297
|
+
{ id: 'share', label: 'Share', isNumeric: true },
|
|
298
|
+
],
|
|
299
|
+
rows: spec.marks.map((mark, index) => ({
|
|
300
|
+
id: String(index),
|
|
301
|
+
cells: {
|
|
302
|
+
series: markSeries(spec, mark),
|
|
303
|
+
value: sectorValue(spec, mark),
|
|
304
|
+
share: sectorShare(spec, mark),
|
|
305
|
+
},
|
|
306
|
+
})),
|
|
307
|
+
};
|
|
308
|
+
if (spec.marks[0]?.kind === 'cell')
|
|
309
|
+
return {
|
|
310
|
+
columns: [
|
|
311
|
+
{ id: 'x', label: spec.x.label, isNumeric: layout.scales.x === 'linear' },
|
|
312
|
+
{ id: 'y', label: spec.y.label, isNumeric: layout.scales.y === 'linear' },
|
|
313
|
+
{ id: 'value', label: spec.colorScale?.label ?? 'Value', isNumeric: true },
|
|
314
|
+
],
|
|
315
|
+
rows: spec.marks.map((mark, index) => ({
|
|
316
|
+
id: String(index),
|
|
317
|
+
cells: {
|
|
318
|
+
x: markText(spec, mark, 'x'),
|
|
319
|
+
y: markText(spec, mark, 'y'),
|
|
320
|
+
value: cellValue(spec, mark),
|
|
321
|
+
},
|
|
322
|
+
})),
|
|
323
|
+
};
|
|
324
|
+
const { lead, measure } = layout;
|
|
325
|
+
// Dates and categories identify a row; a numeric axis does not, so tips name scatter rows.
|
|
326
|
+
const named = layout.scales[lead] === 'linear' && spec.marks.some((mark) => mark.tip);
|
|
327
|
+
const notes = spec.hollowLabel !== undefined || spec.mutedLabel !== undefined;
|
|
328
|
+
const columns = [
|
|
329
|
+
...(named ? [{ id: 'item', label: 'Item', isNumeric: false }] : []),
|
|
330
|
+
{ id: 'lead', label: spec[lead].label, isNumeric: layout.scales[lead] === 'linear' },
|
|
331
|
+
...(layout.namesSeries
|
|
332
|
+
? [{ id: 'series', label: spec.series?.label ?? 'Series', isNumeric: false }]
|
|
333
|
+
: []),
|
|
334
|
+
{ id: 'measure', label: spec[measure].label, isNumeric: layout.scales[measure] === 'linear' },
|
|
335
|
+
...(spec.sizeScale ? [{ id: 'size', label: spec.sizeScale.label, isNumeric: true }] : []),
|
|
336
|
+
...(notes ? [{ id: 'notes', label: 'Notes', isNumeric: false }] : []),
|
|
337
|
+
];
|
|
338
|
+
const categories = axisCategories(spec, lead);
|
|
339
|
+
const sorted = spec.marks
|
|
340
|
+
.map((mark, index) => ({ mark, index }))
|
|
341
|
+
.sort((a, b) => markPosition(spec, a.mark, lead, categories) -
|
|
342
|
+
markPosition(spec, b.mark, lead, categories) ||
|
|
343
|
+
layout.series.indexOf(markSeries(spec, a.mark)) -
|
|
344
|
+
layout.series.indexOf(markSeries(spec, b.mark)) ||
|
|
345
|
+
a.index - b.index);
|
|
346
|
+
const rows = sorted.map(({ mark, index }) => ({
|
|
347
|
+
id: String(index),
|
|
348
|
+
cells: {
|
|
349
|
+
item: mark.tip?.title ?? '',
|
|
350
|
+
lead: markText(spec, mark, lead),
|
|
351
|
+
series: markSeries(spec, mark),
|
|
352
|
+
measure: markText(spec, mark, measure),
|
|
353
|
+
size: sizeText(spec, mark) ?? '',
|
|
354
|
+
notes: states(spec, mark).join(', '),
|
|
355
|
+
},
|
|
356
|
+
}));
|
|
357
|
+
return { columns, rows };
|
|
358
|
+
}
|
|
359
|
+
// #endregion
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether mistakes should throw: Vite's DEV flag, true in the dev server, Storybook and tests,
|
|
3
|
+
* and false only in a production build. Without Vite there is no flag, so mistakes still
|
|
4
|
+
* surface. An object, so tests can stand in for a production build.
|
|
5
|
+
*/
|
|
6
|
+
export declare const chartEnvironment: {
|
|
7
|
+
isDevelopment(): boolean;
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether mistakes should throw: Vite's DEV flag, true in the dev server, Storybook and tests,
|
|
3
|
+
* and false only in a production build. Without Vite there is no flag, so mistakes still
|
|
4
|
+
* surface. An object, so tests can stand in for a production build.
|
|
5
|
+
*/
|
|
6
|
+
export const chartEnvironment = {
|
|
7
|
+
isDevelopment() {
|
|
8
|
+
return import.meta.env?.DEV !== false;
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ChartAxis, ChartNumberFormat, ChartValue } from './Chart.types.ts';
|
|
2
|
+
/** `tick` is short, for axis labels; `full` is for descriptions, tips and the data table. */
|
|
3
|
+
export type ChartFormatUse = 'tick' | 'full';
|
|
4
|
+
/** Milliseconds since the epoch for an ISO date, or a Highcharts tick position. */
|
|
5
|
+
export declare function chartTime(value: ChartValue): number;
|
|
6
|
+
/** A value as the axis `format` prints it. Text categories print as themselves. */
|
|
7
|
+
export declare function formatChartValue(value: ChartValue, format: ChartAxis['format'], use: ChartFormatUse): string;
|
|
8
|
+
/**
|
|
9
|
+
* A tick on a time axis, as coarse as the spacing between ticks, which Highcharts names: years
|
|
10
|
+
* print as years and months with their year, so ticks across several years never all read
|
|
11
|
+
* "Jan 1". Closer ticks print as `formatChartValue` does.
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatChartTick(value: number, format: ChartAxis['format'], unit: string | undefined): string;
|
|
14
|
+
export declare function formatChartNumber(value: number, format: ChartNumberFormat, use: ChartFormatUse): string;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
const LOCALE = 'en-US';
|
|
2
|
+
const numberFormats = {
|
|
3
|
+
plain: new Intl.NumberFormat(LOCALE, { maximumFractionDigits: 2 }),
|
|
4
|
+
compact: new Intl.NumberFormat(LOCALE, { notation: 'compact', maximumFractionDigits: 1 }),
|
|
5
|
+
currency: new Intl.NumberFormat(LOCALE, {
|
|
6
|
+
style: 'currency',
|
|
7
|
+
currency: 'USD',
|
|
8
|
+
maximumFractionDigits: 0,
|
|
9
|
+
}),
|
|
10
|
+
currencyCents: new Intl.NumberFormat(LOCALE, { style: 'currency', currency: 'USD' }),
|
|
11
|
+
currencyCompact: new Intl.NumberFormat(LOCALE, {
|
|
12
|
+
style: 'currency',
|
|
13
|
+
currency: 'USD',
|
|
14
|
+
notation: 'compact',
|
|
15
|
+
maximumFractionDigits: 1,
|
|
16
|
+
}),
|
|
17
|
+
};
|
|
18
|
+
const dateFormats = {
|
|
19
|
+
day: new Intl.DateTimeFormat(LOCALE, { timeZone: 'UTC', month: 'short', day: 'numeric' }),
|
|
20
|
+
dayYear: new Intl.DateTimeFormat(LOCALE, {
|
|
21
|
+
timeZone: 'UTC',
|
|
22
|
+
month: 'short',
|
|
23
|
+
day: 'numeric',
|
|
24
|
+
year: 'numeric',
|
|
25
|
+
}),
|
|
26
|
+
time: new Intl.DateTimeFormat(LOCALE, {
|
|
27
|
+
timeZone: 'UTC',
|
|
28
|
+
hour: '2-digit',
|
|
29
|
+
minute: '2-digit',
|
|
30
|
+
hourCycle: 'h23',
|
|
31
|
+
}),
|
|
32
|
+
month: new Intl.DateTimeFormat(LOCALE, { timeZone: 'UTC', month: 'short', year: 'numeric' }),
|
|
33
|
+
year: new Intl.DateTimeFormat(LOCALE, { timeZone: 'UTC', year: 'numeric' }),
|
|
34
|
+
};
|
|
35
|
+
/** Milliseconds since the epoch for an ISO date, or a Highcharts tick position. */
|
|
36
|
+
export function chartTime(value) {
|
|
37
|
+
return typeof value === 'number' ? value : Date.parse(value);
|
|
38
|
+
}
|
|
39
|
+
/** A value as the axis `format` prints it. Text categories print as themselves. */
|
|
40
|
+
export function formatChartValue(value, format, use) {
|
|
41
|
+
switch (format) {
|
|
42
|
+
case 'date': {
|
|
43
|
+
const time = chartTime(value);
|
|
44
|
+
return (use === 'tick' ? dateFormats.day : dateFormats.dayYear).format(time);
|
|
45
|
+
}
|
|
46
|
+
case 'dateTime': {
|
|
47
|
+
const time = chartTime(value);
|
|
48
|
+
if (use === 'tick')
|
|
49
|
+
return time % 86_400_000 === 0
|
|
50
|
+
? dateFormats.day.format(time)
|
|
51
|
+
: dateFormats.time.format(time);
|
|
52
|
+
return `${dateFormats.dayYear.format(time)}, ${dateFormats.time.format(time)} UTC`;
|
|
53
|
+
}
|
|
54
|
+
case 'month':
|
|
55
|
+
return dateFormats.month.format(chartTime(value));
|
|
56
|
+
case 'year':
|
|
57
|
+
return dateFormats.year.format(chartTime(value));
|
|
58
|
+
default:
|
|
59
|
+
return typeof value === 'number' ? formatChartNumber(value, format ?? 'number', use) : value;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A tick on a time axis, as coarse as the spacing between ticks, which Highcharts names: years
|
|
64
|
+
* print as years and months with their year, so ticks across several years never all read
|
|
65
|
+
* "Jan 1". Closer ticks print as `formatChartValue` does.
|
|
66
|
+
*/
|
|
67
|
+
export function formatChartTick(value, format, unit) {
|
|
68
|
+
if (format === 'date' || format === 'dateTime' || format === 'month') {
|
|
69
|
+
if (unit === 'year')
|
|
70
|
+
return dateFormats.year.format(value);
|
|
71
|
+
if (unit === 'month')
|
|
72
|
+
return dateFormats.month.format(value);
|
|
73
|
+
}
|
|
74
|
+
return formatChartValue(value, format, 'tick');
|
|
75
|
+
}
|
|
76
|
+
export function formatChartNumber(value, format, use) {
|
|
77
|
+
switch (format) {
|
|
78
|
+
case 'number':
|
|
79
|
+
return numberFormats.plain.format(value);
|
|
80
|
+
case 'percent':
|
|
81
|
+
return `${numberFormats.plain.format(value)}%`;
|
|
82
|
+
case 'signedPercent':
|
|
83
|
+
return `${value > 0 ? '+' : ''}${numberFormats.plain.format(value)}%`;
|
|
84
|
+
case 'currency':
|
|
85
|
+
if (use === 'tick')
|
|
86
|
+
return numberFormats.currencyCompact.format(value);
|
|
87
|
+
return (Math.abs(value) < 100 ? numberFormats.currencyCents : numberFormats.currency).format(value);
|
|
88
|
+
case 'compact':
|
|
89
|
+
return numberFormats.compact.format(value);
|
|
90
|
+
case 'duration':
|
|
91
|
+
return formatDuration(value);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/** Seconds, in the largest unit that keeps a leading digit. */
|
|
95
|
+
function formatDuration(seconds) {
|
|
96
|
+
const size = Math.abs(seconds);
|
|
97
|
+
if (size === 0)
|
|
98
|
+
return '0s';
|
|
99
|
+
if (size < 0.001)
|
|
100
|
+
return `${numberFormats.plain.format(seconds * 1_000_000)}µs`;
|
|
101
|
+
if (size < 1)
|
|
102
|
+
return `${numberFormats.plain.format(seconds * 1_000)}ms`;
|
|
103
|
+
if (size < 60)
|
|
104
|
+
return `${numberFormats.plain.format(seconds)}s`;
|
|
105
|
+
if (size < 3_600)
|
|
106
|
+
return `${numberFormats.plain.format(seconds / 60)}min`;
|
|
107
|
+
return `${numberFormats.plain.format(seconds / 3_600)}h`;
|
|
108
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type Highcharts from 'highcharts/esm/highcharts.src.js';
|
|
2
|
+
import { type ChartMarkSpec, type ChartSpec } from './Chart.data.ts';
|
|
3
|
+
import { type ChartLayout } from './Chart.describe.ts';
|
|
4
|
+
import type { HighchartsModule } from './Chart.load.ts';
|
|
5
|
+
import type { ChartRange, ChartTip, ChartValue, ChartXSelection } from './Chart.types.ts';
|
|
6
|
+
/**
|
|
7
|
+
* Categorical colors in fixed order, validated for lightness, chroma, color-vision separation
|
|
8
|
+
* and 3:1 contrast against the light and dark surfaces. They resolve like any tone, so orange
|
|
9
|
+
* and teal take the same deepening there that keeps them in contrast.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CHART_PALETTE: readonly string[];
|
|
12
|
+
export declare function seriesStyle(spec: ChartSpec, name: string): {
|
|
13
|
+
color: string;
|
|
14
|
+
dashStyle: Highcharts.DashStyleValue;
|
|
15
|
+
symbol: Highcharts.SymbolKeyValue;
|
|
16
|
+
};
|
|
17
|
+
export declare const CHART_HEIGHTS: {
|
|
18
|
+
readonly small: 160;
|
|
19
|
+
readonly medium: 260;
|
|
20
|
+
readonly large: 360;
|
|
21
|
+
};
|
|
22
|
+
/** The Highcharts modules a spec needs beyond the core and accessibility. */
|
|
23
|
+
export declare function chartModules(spec: ChartSpec): HighchartsModule[];
|
|
24
|
+
export type ChartHandlers = {
|
|
25
|
+
/** A mark with an href was clicked or activated with Enter. */
|
|
26
|
+
readonly onOpen: (href: string, event: MouseEvent | KeyboardEvent) => void;
|
|
27
|
+
/** A selectable mark was clicked, or activated with Enter or Space. */
|
|
28
|
+
readonly onSelect: (id: string) => void;
|
|
29
|
+
/** A reader dragged across the plot from one x position to another, with `xSelection="range"`. */
|
|
30
|
+
readonly onSelectXRange: (from: number, to: number) => void;
|
|
31
|
+
/** A reader clicked the plot outside a drag, with `xSelection="range"`. */
|
|
32
|
+
readonly onClearXRange: () => void;
|
|
33
|
+
/** The pointer or keyboard focus reached a mark, or left the marks (null). */
|
|
34
|
+
readonly onHover: (hover: ChartHover | null) => void;
|
|
35
|
+
};
|
|
36
|
+
/** The tip to show for the mark under the pointer or in focus, and where it sits. */
|
|
37
|
+
export type ChartHover = {
|
|
38
|
+
readonly tip: ChartTip;
|
|
39
|
+
/** Its anchor in the chart's own pixels, before any scrolling. */
|
|
40
|
+
readonly x: number;
|
|
41
|
+
readonly y: number;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Where x values sit along the x axis, for scrolling and selecting along it: each mark's position,
|
|
45
|
+
* in order, with the value it came from, and half the closest spacing, so a span can reach the
|
|
46
|
+
* outer edges of its end marks, such as the full width of a column.
|
|
47
|
+
*/
|
|
48
|
+
export declare function xPositions(spec: ChartSpec, layout: ChartLayout): {
|
|
49
|
+
toPosition: (value: ChartValue) => number;
|
|
50
|
+
positions: number[];
|
|
51
|
+
valueAt: (position: number) => ChartValue;
|
|
52
|
+
halfStep: number;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The span a scrolled plot shows: as many marks as `span` holds, starting from the first mark
|
|
56
|
+
* whose center is right of `left`, and kept within the marks. Scrolling moves the span, never
|
|
57
|
+
* resizes it, so a plot scrolled part way through a mark does not report one more.
|
|
58
|
+
*/
|
|
59
|
+
export declare function xRangeScrolledTo(spec: ChartSpec, layout: ChartLayout, left: number, span: ChartRange): ChartRange | null;
|
|
60
|
+
/** The marks' span within `from` to `to` along x, or null when no mark falls inside. */
|
|
61
|
+
export declare function xRangeWithin(spec: ChartSpec, layout: ChartLayout, from: number, to: number): ChartRange | null;
|
|
62
|
+
/** Translate a validated spec into Highcharts options. Pure; the caller owns the instance. */
|
|
63
|
+
export declare function chartOptions(spec: ChartSpec, layout: ChartLayout, dotted: ReadonlySet<ChartMarkSpec>, settings: ChartSettings, handlers: ChartHandlers): Highcharts.Options;
|
|
64
|
+
export type ChartSettings = {
|
|
65
|
+
readonly height: number | null;
|
|
66
|
+
readonly reducedMotion: boolean;
|
|
67
|
+
/** Leave a strip above the plot for the corner info button. */
|
|
68
|
+
readonly reserveCorner: boolean;
|
|
69
|
+
/** A compact trend: no axes, labels or dots. */
|
|
70
|
+
readonly isMinimal: boolean;
|
|
71
|
+
/** A card preview: marks run to the preview's edges. */
|
|
72
|
+
readonly isImage: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Nothing to reach: no screen reader section, keyboard navigation, tooltips or clicks. A
|
|
75
|
+
* preview, a backdrop and a `role="presentation"` chart are static.
|
|
76
|
+
*/
|
|
77
|
+
readonly isStatic: boolean;
|
|
78
|
+
/** Decoration behind content: marks run to the bottom and side edges. */
|
|
79
|
+
readonly isBackdrop: boolean;
|
|
80
|
+
/** Readers can select marks; a click or Enter selects instead of following a link. */
|
|
81
|
+
readonly isSelectable: boolean;
|
|
82
|
+
/** Ids of the selected marks, outlined like `isSelected`. */
|
|
83
|
+
readonly selected: ReadonlySet<string>;
|
|
84
|
+
/** What readers select along x; `none` for static and minimal charts. */
|
|
85
|
+
readonly xSelection: ChartXSelection;
|
|
86
|
+
/** How many x positions the visible span shows of all of them, when the plot scrolls. */
|
|
87
|
+
readonly xWindow: {
|
|
88
|
+
readonly shown: number;
|
|
89
|
+
readonly total: number;
|
|
90
|
+
} | null;
|
|
91
|
+
/**
|
|
92
|
+
* The width the whole chart would take to show every mark at the visible span's scale; wider
|
|
93
|
+
* than the container, the plot scrolls sideways under fixed y-axis labels. Null when it fits.
|
|
94
|
+
*/
|
|
95
|
+
readonly scrollWidth: number | null;
|
|
96
|
+
};
|
|
97
|
+
/** Where the selected span of x draws: a band reaching the outer edges of its end marks. */
|
|
98
|
+
export declare const X_SELECTION_BAND = "x-selection";
|
|
99
|
+
export declare function xSelectionBand(spec: ChartSpec, layout: ChartLayout, range: ChartRange): Highcharts.AxisPlotBandsOptions;
|
|
100
|
+
/**
|
|
101
|
+
* The next options, with every key the previous ones set but these drop given as undefined.
|
|
102
|
+
* Highcharts merges an update into what it has, so a dropped key, such as `stacking` when
|
|
103
|
+
* stacked columns become grouped, would otherwise stay. Series match by id; points by position.
|
|
104
|
+
*/
|
|
105
|
+
export declare function clearDropped(previous: unknown, next: unknown): unknown;
|
|
106
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|