@effectiveailabs/design-system 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +120 -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 +47 -0
- package/dist/components/Icon/Icon.js +101 -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/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/package.json +144 -3
|
@@ -0,0 +1,1095 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
import { tokenVars } from "../../theming/tokens.stylex.js";
|
|
3
|
+
// A row stays hovered while one of its controls has a menu, listbox or dialog open, so it does not
|
|
4
|
+
// look inert while the pointer is in that popup. trackRegionActivity marks such a row; a :has()
|
|
5
|
+
// here would make Chrome restyle the row's subtree on every DOM change.
|
|
6
|
+
const hovered = ':is([data-hovered], [data-eds-popup-open])';
|
|
7
|
+
// Grid rows in a padded container reach out until their highlight sits `half` from its edge, as
|
|
8
|
+
// Menu items do, and pad back so their text stays on the container's padding line. Reach is the
|
|
9
|
+
// container's padding (Grid sets --eds-grid-edge-*) less that gap, where the Grid touches the edge.
|
|
10
|
+
// Text keeps `half` inside the highlight where the container's padding is known, so it lines up
|
|
11
|
+
// even in a small-padding card; elsewhere, as in Menu, `small`. Rows flush with their container
|
|
12
|
+
// (sharing 1) keep `medium` padding and reach nowhere.
|
|
13
|
+
const insetInlineStart = '(1 - var(--eds-container-inline-start-sharing, 1))';
|
|
14
|
+
const insetInlineEnd = '(1 - var(--eds-container-inline-end-sharing, 1))';
|
|
15
|
+
const reachInlineStart = `(var(--eds-container-inline-start-contact, 0) * (var(--eds-grid-edge-inline-start, 0px) - ${tokenVars.spaceHalf}))`;
|
|
16
|
+
const minPaddingInlineStart = `(var(--eds-container-inline-start-contact, 0) * ${tokenVars.spaceHalf} + (1 - var(--eds-container-inline-start-contact, 0)) * ${tokenVars.spaceSmall})`;
|
|
17
|
+
const reachInlineEnd = `(var(--eds-container-inline-end-contact, 0) * (var(--eds-grid-edge-inline-end, 0px) - ${tokenVars.spaceHalf}))`;
|
|
18
|
+
const minPaddingInlineEnd = `(var(--eds-container-inline-end-contact, 0) * ${tokenVars.spaceHalf} + (1 - var(--eds-container-inline-end-contact, 0)) * ${tokenVars.spaceSmall})`;
|
|
19
|
+
const reachBlockStart = `(var(--eds-container-block-start-contact, 0) * (var(--eds-grid-edge-block-start, 0px) - ${tokenVars.spaceHalf}))`;
|
|
20
|
+
const reachBlockEnd = `(var(--eds-container-block-end-contact, 0) * (var(--eds-grid-edge-block-end, 0px) - ${tokenVars.spaceHalf}))`;
|
|
21
|
+
export const styles = stylex.create({
|
|
22
|
+
/** A loading label or description: its silhouette is as long as its placeholder text. */
|
|
23
|
+
skeletonLine: {
|
|
24
|
+
inlineSize: 'fit-content',
|
|
25
|
+
maxInlineSize: '100%',
|
|
26
|
+
},
|
|
27
|
+
item: {
|
|
28
|
+
alignItems: 'center',
|
|
29
|
+
backgroundColor: tokenVars.raised,
|
|
30
|
+
borderColor: 'transparent',
|
|
31
|
+
borderRadius: tokenVars.radiusControl,
|
|
32
|
+
borderStyle: 'solid',
|
|
33
|
+
borderWidth: 1,
|
|
34
|
+
boxSizing: 'border-box',
|
|
35
|
+
color: tokenVars.canvasText,
|
|
36
|
+
display: 'flex',
|
|
37
|
+
gap: tokenVars.spaceSmall,
|
|
38
|
+
minBlockSize: 40,
|
|
39
|
+
minInlineSize: 0,
|
|
40
|
+
outline: 'none',
|
|
41
|
+
position: 'relative',
|
|
42
|
+
transitionDuration: '120ms',
|
|
43
|
+
transitionProperty: 'background-color, border-color, box-shadow, color, transform',
|
|
44
|
+
transitionTimingFunction: 'ease-out',
|
|
45
|
+
userSelect: 'none',
|
|
46
|
+
'[data-disabled]': {
|
|
47
|
+
opacity: 0.48,
|
|
48
|
+
},
|
|
49
|
+
'[data-drop-target]': {
|
|
50
|
+
outlineColor: tokenVars.focus,
|
|
51
|
+
outlineOffset: -2,
|
|
52
|
+
outlineStyle: 'solid',
|
|
53
|
+
outlineWidth: 2,
|
|
54
|
+
},
|
|
55
|
+
'[data-focus-visible]': {
|
|
56
|
+
outlineColor: tokenVars.focus,
|
|
57
|
+
outlineOffset: 2,
|
|
58
|
+
outlineStyle: 'solid',
|
|
59
|
+
outlineWidth: 2,
|
|
60
|
+
},
|
|
61
|
+
'[data-autocomplete-active]': {
|
|
62
|
+
outlineColor: tokenVars.focus,
|
|
63
|
+
outlineOffset: 2,
|
|
64
|
+
outlineStyle: 'solid',
|
|
65
|
+
outlineWidth: 2,
|
|
66
|
+
},
|
|
67
|
+
'[data-focus-visible-within]': {
|
|
68
|
+
outlineColor: tokenVars.focus,
|
|
69
|
+
outlineOffset: 2,
|
|
70
|
+
outlineStyle: 'solid',
|
|
71
|
+
outlineWidth: 2,
|
|
72
|
+
},
|
|
73
|
+
// React Aria marks only actionable or selectable items as hovered.
|
|
74
|
+
[`${hovered}`]: {
|
|
75
|
+
backgroundColor: tokenVars.grouped,
|
|
76
|
+
borderColor: tokenVars.sunkenStrong,
|
|
77
|
+
cursor: 'pointer',
|
|
78
|
+
},
|
|
79
|
+
'[data-selected]': {
|
|
80
|
+
backgroundColor: `color-mix(in oklab, ${tokenVars.canvasText} 8%, ${tokenVars.raised})`,
|
|
81
|
+
borderColor: tokenVars.borderStrong,
|
|
82
|
+
color: tokenVars.canvasText,
|
|
83
|
+
},
|
|
84
|
+
'[data-selected] [data-collection-selection-icon]': {
|
|
85
|
+
opacity: 1,
|
|
86
|
+
},
|
|
87
|
+
// A selected item's name reads chosen in its weight too, not only in its colour or check.
|
|
88
|
+
'[data-selected] [data-collection-label]': {
|
|
89
|
+
fontWeight: tokenVars.fontWeightStrong,
|
|
90
|
+
},
|
|
91
|
+
[`${hovered} [slot="description"]`]: {
|
|
92
|
+
color: 'inherit',
|
|
93
|
+
},
|
|
94
|
+
'[data-selected] [slot="description"]': {
|
|
95
|
+
color: 'inherit',
|
|
96
|
+
},
|
|
97
|
+
'[data-indeterminate] [data-collection-selection-icon]': {
|
|
98
|
+
opacity: 1,
|
|
99
|
+
},
|
|
100
|
+
'[data-selected] [data-collection-selection-dot]': {
|
|
101
|
+
opacity: 1,
|
|
102
|
+
},
|
|
103
|
+
'[data-selected] [data-collection-selection-indicator]:not([data-collection-list-selection-indicator])': {
|
|
104
|
+
backgroundColor: tokenVars.accentColor,
|
|
105
|
+
borderColor: tokenVars.accentColor,
|
|
106
|
+
color: tokenVars.accentColorText,
|
|
107
|
+
},
|
|
108
|
+
'[data-indeterminate][data-collection-selection-indicator]:not([data-collection-list-selection-indicator])': {
|
|
109
|
+
backgroundColor: tokenVars.accentColor,
|
|
110
|
+
borderColor: tokenVars.accentColor,
|
|
111
|
+
color: tokenVars.accentColorText,
|
|
112
|
+
},
|
|
113
|
+
'[data-dragging]': {
|
|
114
|
+
cursor: 'grabbing',
|
|
115
|
+
opacity: 0.78,
|
|
116
|
+
transform: 'scale(0.995)',
|
|
117
|
+
zIndex: 1,
|
|
118
|
+
},
|
|
119
|
+
'[data-dragging] [data-collection-drag-indicator]': {
|
|
120
|
+
cursor: 'grabbing',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
listItem: {
|
|
124
|
+
[`[data-selected]${hovered}`]: {
|
|
125
|
+
backgroundColor: tokenVars.selectedItemHover,
|
|
126
|
+
},
|
|
127
|
+
'[data-selected][data-focused]': {
|
|
128
|
+
backgroundColor: tokenVars.selectedItemHover,
|
|
129
|
+
},
|
|
130
|
+
backgroundColor: tokenVars.raised,
|
|
131
|
+
borderBlockEndColor: tokenVars.sunkenStrong,
|
|
132
|
+
borderBlockEndStyle: 'solid',
|
|
133
|
+
borderBlockEndWidth: 1,
|
|
134
|
+
borderRadius: 0,
|
|
135
|
+
borderWidth: 0,
|
|
136
|
+
minBlockSize: 44,
|
|
137
|
+
paddingBlock: tokenVars.spaceSmall,
|
|
138
|
+
paddingInline: tokenVars.spaceMedium,
|
|
139
|
+
'[data-drop-target]': {
|
|
140
|
+
outlineOffset: -2,
|
|
141
|
+
},
|
|
142
|
+
'[data-focus-visible]': {
|
|
143
|
+
outlineOffset: -2,
|
|
144
|
+
},
|
|
145
|
+
'[data-focus-visible-within]': {
|
|
146
|
+
outlineOffset: -2,
|
|
147
|
+
},
|
|
148
|
+
[`${hovered}`]: {
|
|
149
|
+
backgroundColor: tokenVars.hoverFill,
|
|
150
|
+
},
|
|
151
|
+
'[data-selected]': {
|
|
152
|
+
backgroundColor: tokenVars.selectedItem,
|
|
153
|
+
borderBlockEndColor: tokenVars.sunkenStrong,
|
|
154
|
+
color: tokenVars.canvasText,
|
|
155
|
+
},
|
|
156
|
+
'[data-first-row]': {
|
|
157
|
+
borderStartEndRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
158
|
+
borderStartStartRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
159
|
+
},
|
|
160
|
+
'[data-last-row]': {
|
|
161
|
+
borderBlockEndColor: 'transparent',
|
|
162
|
+
borderEndEndRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
163
|
+
borderEndStartRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
unsectionedListItem: {
|
|
167
|
+
':first-child:not([aria-posinset])': {
|
|
168
|
+
borderStartEndRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
169
|
+
borderStartStartRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
170
|
+
},
|
|
171
|
+
':last-child:not([aria-posinset])': {
|
|
172
|
+
borderBlockEndColor: 'transparent',
|
|
173
|
+
borderEndEndRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
174
|
+
borderEndStartRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
sectionListItem: {
|
|
178
|
+
':last-child:not([aria-posinset])': {
|
|
179
|
+
borderBlockEndColor: 'transparent',
|
|
180
|
+
borderEndEndRadius: 'var(--eds-section-end-radius, 0px)',
|
|
181
|
+
borderEndStartRadius: 'var(--eds-section-end-radius, 0px)',
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
edgeFirst: {
|
|
185
|
+
'--eds-grid-row-reach-block-start': `calc(${insetInlineStart} * max(${reachBlockStart}, 0px))`,
|
|
186
|
+
borderStartEndRadius: `max(calc(min(var(--eds-container-block-start-sharing, 1), var(--eds-container-inline-end-sharing, 1)) * (var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))), calc((1 - min(var(--eds-container-block-start-sharing, 1), var(--eds-container-inline-end-sharing, 1))) * ${tokenVars.radiusItem}))`,
|
|
187
|
+
borderStartStartRadius: `max(calc(min(var(--eds-container-block-start-sharing, 1), var(--eds-container-inline-start-sharing, 1)) * (var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))), calc((1 - min(var(--eds-container-block-start-sharing, 1), var(--eds-container-inline-start-sharing, 1))) * ${tokenVars.radiusItem}))`,
|
|
188
|
+
},
|
|
189
|
+
edgeLast: {
|
|
190
|
+
'--eds-grid-row-reach-block-end': `calc(${insetInlineStart} * max(${reachBlockEnd}, 0px))`,
|
|
191
|
+
'::after': { display: 'none' },
|
|
192
|
+
borderBlockEndColor: 'transparent',
|
|
193
|
+
borderEndEndRadius: `max(calc(min(var(--eds-container-block-end-sharing, 1), var(--eds-container-inline-end-sharing, 1)) * (var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))), calc((1 - min(var(--eds-container-block-end-sharing, 1), var(--eds-container-inline-end-sharing, 1))) * ${tokenVars.radiusItem}))`,
|
|
194
|
+
borderEndStartRadius: `max(calc(min(var(--eds-container-block-end-sharing, 1), var(--eds-container-inline-start-sharing, 1)) * (var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))), calc((1 - min(var(--eds-container-block-end-sharing, 1), var(--eds-container-inline-start-sharing, 1))) * ${tokenVars.radiusItem}))`,
|
|
195
|
+
},
|
|
196
|
+
sectionEdgeLast: {
|
|
197
|
+
// Only the last section's last row reaches toward the container's block end.
|
|
198
|
+
'--eds-grid-row-reach-block-end': 'var(--eds-section-end-reach, 0px)',
|
|
199
|
+
'::after': { display: 'none' },
|
|
200
|
+
borderBlockEndColor: 'transparent',
|
|
201
|
+
// Inner sections' last rows round like other inset rows; the last section's follow the container.
|
|
202
|
+
borderEndEndRadius: `var(--eds-section-end-radius, calc((1 - var(--eds-container-inline-end-sharing, 1)) * ${tokenVars.radiusItem}))`,
|
|
203
|
+
borderEndStartRadius: `var(--eds-section-end-radius, calc((1 - var(--eds-container-inline-start-sharing, 1)) * ${tokenVars.radiusItem}))`,
|
|
204
|
+
},
|
|
205
|
+
listItemCompact: {
|
|
206
|
+
minBlockSize: 36,
|
|
207
|
+
paddingBlock: tokenVars.spaceHalf,
|
|
208
|
+
},
|
|
209
|
+
listItemSpacious: {
|
|
210
|
+
minBlockSize: 52,
|
|
211
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
212
|
+
},
|
|
213
|
+
stackItem: {
|
|
214
|
+
'--eds-grid-row-padding-block': tokenVars.spaceSmall,
|
|
215
|
+
'--eds-grid-row-min-block-size': '48px',
|
|
216
|
+
'--eds-grid-row-reach-block-start': '0px',
|
|
217
|
+
'--eds-grid-row-reach-block-end': '0px',
|
|
218
|
+
[`[data-selected]${hovered}`]: { backgroundColor: tokenVars.selectedItemHover },
|
|
219
|
+
'[data-selected][data-autocomplete-active]': {
|
|
220
|
+
backgroundColor: tokenVars.selectedItemHover,
|
|
221
|
+
},
|
|
222
|
+
// Rows take their container's surface; only hover and selection paint, as Menu items do.
|
|
223
|
+
backgroundColor: 'transparent',
|
|
224
|
+
borderBlockEndColor: tokenVars.sunkenStrong,
|
|
225
|
+
borderBlockEndStyle: 'solid',
|
|
226
|
+
borderBlockEndWidth: 1,
|
|
227
|
+
borderWidth: 0,
|
|
228
|
+
// Inset rows give their row gap back, so the list keeps its pitch; an edge row grows by its reach.
|
|
229
|
+
minBlockSize: 'calc(var(--eds-grid-row-min-block-size) - var(--eds-grid-row-gap, 0px) + var(--eds-grid-row-reach-block-start) + var(--eds-grid-row-reach-block-end))',
|
|
230
|
+
marginBlockStart: 'calc(-1 * var(--eds-grid-row-reach-block-start))',
|
|
231
|
+
marginBlockEnd: 'calc(-1 * var(--eds-grid-row-reach-block-end))',
|
|
232
|
+
paddingBlockStart: 'calc(var(--eds-grid-row-padding-block) + var(--eds-grid-row-reach-block-start))',
|
|
233
|
+
paddingBlockEnd: 'calc(var(--eds-grid-row-padding-block) + var(--eds-grid-row-reach-block-end))',
|
|
234
|
+
marginInlineStart: `calc(-1 * ${insetInlineStart} * max(${reachInlineStart}, 0px))`,
|
|
235
|
+
marginInlineEnd: `calc(-1 * ${insetInlineEnd} * max(${reachInlineEnd}, 0px))`,
|
|
236
|
+
paddingInlineStart: `calc(var(--eds-container-inline-start-sharing, 1) * ${tokenVars.spaceMedium} + ${insetInlineStart} * max(${reachInlineStart}, ${minPaddingInlineStart}))`,
|
|
237
|
+
paddingInlineEnd: `calc(var(--eds-container-inline-end-sharing, 1) * ${tokenVars.spaceMedium} + ${insetInlineEnd} * max(${reachInlineEnd}, ${minPaddingInlineEnd}))`,
|
|
238
|
+
// Layered Reveal controls end where the row's content does, on the row's surface.
|
|
239
|
+
'--eds-reveal-layer-inset-inline': `calc(var(--eds-container-inline-end-sharing, 1) * ${tokenVars.spaceMedium} + ${insetInlineEnd} * max(${reachInlineEnd}, ${minPaddingInlineEnd}))`,
|
|
240
|
+
// A row's Content takes the room its indicators leave, so trailing content sits at the row's end.
|
|
241
|
+
// React Aria wraps a row's children in a gridcell that does not lay out (display: contents).
|
|
242
|
+
':is(*) > [role="gridcell"] > [data-eds-content]': {
|
|
243
|
+
flexGrow: 1,
|
|
244
|
+
},
|
|
245
|
+
// Inset rows are each their own small rounded highlight, like Menu items.
|
|
246
|
+
borderStartStartRadius: `calc(${insetInlineStart} * ${tokenVars.radiusItem})`,
|
|
247
|
+
borderStartEndRadius: `calc(${insetInlineEnd} * ${tokenVars.radiusItem})`,
|
|
248
|
+
borderEndStartRadius: `calc(${insetInlineStart} * ${tokenVars.radiusItem})`,
|
|
249
|
+
borderEndEndRadius: `calc(${insetInlineEnd} * ${tokenVars.radiusItem})`,
|
|
250
|
+
'[data-drop-target]': {
|
|
251
|
+
outlineOffset: -2,
|
|
252
|
+
},
|
|
253
|
+
'[data-focus-visible]': {
|
|
254
|
+
outlineOffset: -2,
|
|
255
|
+
},
|
|
256
|
+
'[data-autocomplete-active]': {
|
|
257
|
+
outlineOffset: -2,
|
|
258
|
+
},
|
|
259
|
+
'[data-focus-visible-within]': {
|
|
260
|
+
outlineOffset: -2,
|
|
261
|
+
},
|
|
262
|
+
[`${hovered}`]: {
|
|
263
|
+
backgroundColor: tokenVars.hoverFill,
|
|
264
|
+
'--eds-reveal-tint': tokenVars.hoverFill,
|
|
265
|
+
},
|
|
266
|
+
'[data-selected]': {
|
|
267
|
+
backgroundColor: tokenVars.selectedItem,
|
|
268
|
+
borderBlockEndColor: tokenVars.sunkenStrong,
|
|
269
|
+
color: tokenVars.canvasText,
|
|
270
|
+
'--eds-reveal-tint': tokenVars.selectedItem,
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
// Listed after stackItem so a selected row's hover tint wins for layered Reveal controls too.
|
|
274
|
+
stackItemSelectedHover: {
|
|
275
|
+
[`[data-selected]${hovered}`]: { '--eds-reveal-tint': tokenVars.selectedItemHover },
|
|
276
|
+
},
|
|
277
|
+
stackLastItem: {
|
|
278
|
+
borderBlockEndColor: 'transparent',
|
|
279
|
+
'::after': { display: 'none' },
|
|
280
|
+
},
|
|
281
|
+
// Divided rows: a flush row draws its divider as its own border; an inset row's highlight stops
|
|
282
|
+
// 2px short of a divider that still runs to the container's edge, in the middle of the row gap.
|
|
283
|
+
stackItemDivider: {
|
|
284
|
+
borderBlockEndWidth: 'calc(var(--eds-container-inline-start-sharing, 1) * 1px)',
|
|
285
|
+
'::after': {
|
|
286
|
+
backgroundColor: tokenVars.sunkenStrong,
|
|
287
|
+
blockSize: `calc(${insetInlineStart} * 1px)`,
|
|
288
|
+
content: '""',
|
|
289
|
+
insetBlockEnd: `calc(-0.5 * ${tokenVars.spaceHalf} - 1px)`,
|
|
290
|
+
insetInlineStart: `calc(-1 * ${insetInlineStart} * min(var(--eds-container-inline-start-contact, 0) * var(--eds-grid-edge-inline-start, 0px), ${tokenVars.spaceHalf}))`,
|
|
291
|
+
insetInlineEnd: `calc(-1 * ${insetInlineEnd} * min(var(--eds-container-inline-end-contact, 0) * var(--eds-grid-edge-inline-end, 0px), ${tokenVars.spaceHalf}))`,
|
|
292
|
+
pointerEvents: 'none',
|
|
293
|
+
position: 'absolute',
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
stackItemNoDivider: {
|
|
297
|
+
borderBlockEndWidth: 0,
|
|
298
|
+
},
|
|
299
|
+
stackItemCompact: {
|
|
300
|
+
'--eds-grid-row-min-block-size': '40px',
|
|
301
|
+
'--eds-grid-row-padding-block': tokenVars.spaceHalf,
|
|
302
|
+
},
|
|
303
|
+
stackItemDense: {
|
|
304
|
+
'--eds-grid-row-min-block-size': '32px',
|
|
305
|
+
'--eds-grid-row-padding-block': '2px',
|
|
306
|
+
},
|
|
307
|
+
stackItemSpacious: {
|
|
308
|
+
'--eds-grid-row-min-block-size': '56px',
|
|
309
|
+
'--eds-grid-row-padding-block': tokenVars.spaceMedium,
|
|
310
|
+
},
|
|
311
|
+
// Grid's `currentKey`: the item reads as selected without being selected.
|
|
312
|
+
currentStackItem: {
|
|
313
|
+
backgroundColor: {
|
|
314
|
+
default: tokenVars.selectedItem,
|
|
315
|
+
[hovered]: tokenVars.selectedItemHover,
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
currentCardItem: {
|
|
319
|
+
':is(*) > [role="gridcell"] > [data-eds-card]': {
|
|
320
|
+
backgroundImage: `linear-gradient(${tokenVars.selectedItem}, ${tokenVars.selectedItem})`,
|
|
321
|
+
borderColor: tokenVars.accentColor,
|
|
322
|
+
boxShadow: `inset 0 0 0 1px ${tokenVars.accentColor}`,
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
customCardItem: {
|
|
326
|
+
// Layered Reveal controls sit in the card's top end corner, on a chip of their own.
|
|
327
|
+
'--eds-reveal-layer-block-start': tokenVars.spaceSmall,
|
|
328
|
+
'--eds-reveal-layer-block-end': 'auto',
|
|
329
|
+
'--eds-reveal-layer-inset-inline': tokenVars.spaceSmall,
|
|
330
|
+
'--eds-reveal-layer-fade': '0px',
|
|
331
|
+
'--eds-reveal-layer-radius': tokenVars.radiusItem,
|
|
332
|
+
'--eds-reveal-surface': tokenVars.raised,
|
|
333
|
+
alignItems: 'stretch',
|
|
334
|
+
backgroundColor: 'transparent',
|
|
335
|
+
borderColor: 'transparent',
|
|
336
|
+
borderRadius: 0,
|
|
337
|
+
borderWidth: 0,
|
|
338
|
+
// Cards in a row share its height, the tallest card's, so a one-line name's card doesn't stop
|
|
339
|
+
// short of its neighbours.
|
|
340
|
+
blockSize: '100%',
|
|
341
|
+
flexDirection: 'column',
|
|
342
|
+
minBlockSize: 0,
|
|
343
|
+
outlineWidth: 0,
|
|
344
|
+
overflow: 'visible',
|
|
345
|
+
'[data-rac] > [role="gridcell"] > [data-eds-card]': {
|
|
346
|
+
flexGrow: 1,
|
|
347
|
+
},
|
|
348
|
+
paddingBlockEnd: 0,
|
|
349
|
+
paddingBlockStart: 0,
|
|
350
|
+
paddingInline: 0,
|
|
351
|
+
paddingInlineEnd: 0,
|
|
352
|
+
paddingInlineStart: 0,
|
|
353
|
+
rowGap: 0,
|
|
354
|
+
'[data-drop-target]': {
|
|
355
|
+
outlineWidth: 0,
|
|
356
|
+
},
|
|
357
|
+
'[data-drop-target] [role="gridcell"] > [data-eds-card]': {
|
|
358
|
+
outlineColor: tokenVars.focus,
|
|
359
|
+
outlineOffset: 2,
|
|
360
|
+
outlineStyle: 'solid',
|
|
361
|
+
outlineWidth: 2,
|
|
362
|
+
},
|
|
363
|
+
'[data-focus-visible]': {
|
|
364
|
+
outlineWidth: 0,
|
|
365
|
+
},
|
|
366
|
+
'[data-autocomplete-active]': {
|
|
367
|
+
outlineWidth: 0,
|
|
368
|
+
},
|
|
369
|
+
'[data-autocomplete-active] [role="gridcell"] > [data-eds-card]': {
|
|
370
|
+
outlineColor: tokenVars.focus,
|
|
371
|
+
outlineOffset: 2,
|
|
372
|
+
outlineStyle: 'solid',
|
|
373
|
+
outlineWidth: 2,
|
|
374
|
+
},
|
|
375
|
+
'[data-focus-visible] [role="gridcell"] > [data-eds-card]': {
|
|
376
|
+
outlineColor: tokenVars.focus,
|
|
377
|
+
outlineOffset: 2,
|
|
378
|
+
outlineStyle: 'solid',
|
|
379
|
+
outlineWidth: 2,
|
|
380
|
+
},
|
|
381
|
+
'[data-focus-visible-within]': {
|
|
382
|
+
outlineWidth: 0,
|
|
383
|
+
},
|
|
384
|
+
'[data-focus-visible-within] [role="gridcell"] > [data-eds-card]': {
|
|
385
|
+
outlineColor: tokenVars.focus,
|
|
386
|
+
outlineOffset: 2,
|
|
387
|
+
outlineStyle: 'solid',
|
|
388
|
+
outlineWidth: 2,
|
|
389
|
+
},
|
|
390
|
+
[`${hovered}`]: {
|
|
391
|
+
backgroundColor: 'transparent',
|
|
392
|
+
borderColor: 'transparent',
|
|
393
|
+
},
|
|
394
|
+
'[data-selected]': {
|
|
395
|
+
backgroundColor: 'transparent',
|
|
396
|
+
borderColor: 'transparent',
|
|
397
|
+
color: tokenVars.canvasText,
|
|
398
|
+
},
|
|
399
|
+
// The card shows the item's state over its whole face: a stronger edge and a tint on hover;
|
|
400
|
+
// the selection colour on its edge, doubled by a 1px inner ring so nothing moves, and a deeper
|
|
401
|
+
// tint when selected. Tints layer over the card's own background, so it stays opaque.
|
|
402
|
+
[`${hovered} [role="gridcell"] > [data-eds-card]`]: {
|
|
403
|
+
backgroundImage: `linear-gradient(${tokenVars.hoverFill}, ${tokenVars.hoverFill})`,
|
|
404
|
+
borderColor: tokenVars.borderStrong,
|
|
405
|
+
cursor: 'pointer',
|
|
406
|
+
},
|
|
407
|
+
'[data-selected] [role="gridcell"] > [data-eds-card]': {
|
|
408
|
+
backgroundImage: `linear-gradient(${tokenVars.selectedItem}, ${tokenVars.selectedItem})`,
|
|
409
|
+
borderColor: tokenVars.accentColor,
|
|
410
|
+
boxShadow: `inset 0 0 0 1px ${tokenVars.accentColor}`,
|
|
411
|
+
},
|
|
412
|
+
[`[data-selected]${hovered} [role="gridcell"] > [data-eds-card]`]: {
|
|
413
|
+
backgroundImage: `linear-gradient(${tokenVars.selectedItemHover}, ${tokenVars.selectedItemHover})`,
|
|
414
|
+
borderColor: tokenVars.accentColor,
|
|
415
|
+
boxShadow: `inset 0 0 0 1px ${tokenVars.accentColor}`,
|
|
416
|
+
},
|
|
417
|
+
// Without a preview to sit over, the indicator takes its own place beside the content (Card
|
|
418
|
+
// inlineSelection), centred on the label's first line.
|
|
419
|
+
'[role="row"] [role="gridcell"] > [data-eds-card-inline] > [data-collection-selection-indicator]': {
|
|
420
|
+
marginBlockStart: `calc((${tokenVars.sizeCallout} * ${tokenVars.lineHeightDefault} - 16px) / 2)`,
|
|
421
|
+
position: 'static',
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
// A row matches a navigation row: inset, rounded, on the tree's own background, in the shared
|
|
425
|
+
// hover and selected tints.
|
|
426
|
+
treeItem: {
|
|
427
|
+
'--eds-tree-start-radius': tokenVars.radiusControl,
|
|
428
|
+
'--eds-tree-end-radius': tokenVars.radiusControl,
|
|
429
|
+
boxSizing: 'border-box',
|
|
430
|
+
color: tokenVars.canvasText,
|
|
431
|
+
outline: 'none',
|
|
432
|
+
position: 'relative',
|
|
433
|
+
// A row is chosen, not read: no text cursor or selection, as in List and Grid rows.
|
|
434
|
+
userSelect: 'none',
|
|
435
|
+
'--eds-tree-item-indent': `calc((var(--tree-item-level) - 1) * ${tokenVars.spaceXLarge})`,
|
|
436
|
+
'[data-disabled]': {
|
|
437
|
+
opacity: 0.48,
|
|
438
|
+
},
|
|
439
|
+
'[data-drop-target] [data-eds-tree-item-content]': {
|
|
440
|
+
outlineColor: tokenVars.focus,
|
|
441
|
+
outlineOffset: -2,
|
|
442
|
+
outlineStyle: 'solid',
|
|
443
|
+
outlineWidth: 2,
|
|
444
|
+
},
|
|
445
|
+
'[data-focus-visible] [data-eds-tree-item-content]': {
|
|
446
|
+
outlineColor: tokenVars.focus,
|
|
447
|
+
outlineOffset: -2,
|
|
448
|
+
outlineStyle: 'solid',
|
|
449
|
+
outlineWidth: 2,
|
|
450
|
+
},
|
|
451
|
+
// Layered Reveal controls end where the row's content does, on its hover or selection tint.
|
|
452
|
+
'--eds-reveal-layer-inset-inline': `calc(${tokenVars.spaceHalf} + ${tokenVars.spaceMedium} - ${tokenVars.spaceHalf})`,
|
|
453
|
+
[`${hovered}`]: { '--eds-reveal-tint': tokenVars.hoverFill },
|
|
454
|
+
'[data-selected]': { '--eds-reveal-tint': tokenVars.selectedItem },
|
|
455
|
+
// React Aria marks only actionable or selectable items as hovered.
|
|
456
|
+
[`${hovered} [data-eds-tree-item-content]`]: {
|
|
457
|
+
backgroundColor: tokenVars.hoverFill,
|
|
458
|
+
cursor: 'pointer',
|
|
459
|
+
},
|
|
460
|
+
'[data-selected] [data-eds-tree-item-content]': {
|
|
461
|
+
backgroundColor: tokenVars.selectedItem,
|
|
462
|
+
color: tokenVars.canvasText,
|
|
463
|
+
},
|
|
464
|
+
'[data-selected] [data-collection-selection-icon]': {
|
|
465
|
+
opacity: 1,
|
|
466
|
+
},
|
|
467
|
+
'[data-selected] [data-collection-selection-dot]': {
|
|
468
|
+
opacity: 1,
|
|
469
|
+
},
|
|
470
|
+
'[data-selected] [data-collection-selection-indicator]:not([data-collection-list-selection-indicator])': {
|
|
471
|
+
backgroundColor: tokenVars.accentColor,
|
|
472
|
+
borderColor: tokenVars.accentColor,
|
|
473
|
+
color: tokenVars.accentColorText,
|
|
474
|
+
},
|
|
475
|
+
'[data-dragging] [data-eds-tree-item-content]': {
|
|
476
|
+
cursor: 'grabbing',
|
|
477
|
+
opacity: 0.78,
|
|
478
|
+
transform: 'scale(0.995)',
|
|
479
|
+
zIndex: 1,
|
|
480
|
+
},
|
|
481
|
+
'[data-dragging] [data-collection-drag-indicator]': {
|
|
482
|
+
cursor: 'grabbing',
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
treeItemContent: {
|
|
486
|
+
alignItems: 'center',
|
|
487
|
+
backgroundColor: 'transparent',
|
|
488
|
+
borderColor: 'transparent',
|
|
489
|
+
borderStartEndRadius: 'var(--eds-tree-start-radius, 0px)',
|
|
490
|
+
borderStartStartRadius: 'var(--eds-tree-start-radius, 0px)',
|
|
491
|
+
borderEndEndRadius: 'var(--eds-tree-end-radius, 0px)',
|
|
492
|
+
borderEndStartRadius: 'var(--eds-tree-end-radius, 0px)',
|
|
493
|
+
borderStyle: 'solid',
|
|
494
|
+
borderWidth: 0,
|
|
495
|
+
boxSizing: 'border-box',
|
|
496
|
+
display: 'flex',
|
|
497
|
+
gap: tokenVars.spaceSmall,
|
|
498
|
+
marginInline: tokenVars.spaceHalf,
|
|
499
|
+
minBlockSize: 44,
|
|
500
|
+
minInlineSize: 0,
|
|
501
|
+
paddingBlock: tokenVars.spaceSmall,
|
|
502
|
+
paddingInlineEnd: `calc(${tokenVars.spaceMedium} - ${tokenVars.spaceHalf})`,
|
|
503
|
+
paddingInlineStart: `calc(var(--eds-tree-item-indent) + ${tokenVars.spaceMedium} - ${tokenVars.spaceHalf})`,
|
|
504
|
+
transitionDuration: '120ms',
|
|
505
|
+
transitionProperty: 'background-color, border-color, color, opacity, transform',
|
|
506
|
+
transitionTimingFunction: 'ease-out',
|
|
507
|
+
},
|
|
508
|
+
treeItemContentCompact: {
|
|
509
|
+
minBlockSize: 36,
|
|
510
|
+
paddingBlock: tokenVars.spaceHalf,
|
|
511
|
+
},
|
|
512
|
+
treeItemContentSpacious: {
|
|
513
|
+
minBlockSize: 52,
|
|
514
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
515
|
+
},
|
|
516
|
+
/** A dense tree's rows step in by less, with tighter corners to match their height. */
|
|
517
|
+
treeItemDense: {
|
|
518
|
+
'--eds-tree-start-radius': tokenVars.radiusItem,
|
|
519
|
+
'--eds-tree-end-radius': tokenVars.radiusItem,
|
|
520
|
+
'--eds-tree-item-indent': `calc((var(--tree-item-level) - 1) * ${tokenVars.spaceLarge})`,
|
|
521
|
+
},
|
|
522
|
+
treeItemContentDense: {
|
|
523
|
+
gap: tokenVars.spaceHalf,
|
|
524
|
+
minBlockSize: 24,
|
|
525
|
+
paddingBlock: 2,
|
|
526
|
+
paddingInlineEnd: tokenVars.spaceHalf,
|
|
527
|
+
paddingInlineStart: `calc(var(--eds-tree-item-indent) + ${tokenVars.spaceHalf})`,
|
|
528
|
+
// Row actions, such as a copy button, overhang the row instead of making it taller.
|
|
529
|
+
':is(*) > [data-eds-reveal] > *': {
|
|
530
|
+
marginBlock: `calc(${tokenVars.spaceHalf} * -1)`,
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
treeChevronDense: {
|
|
534
|
+
inlineSize: 16,
|
|
535
|
+
minBlockSize: 16,
|
|
536
|
+
minInlineSize: 16,
|
|
537
|
+
},
|
|
538
|
+
treeChevron: {
|
|
539
|
+
alignItems: 'center',
|
|
540
|
+
backgroundColor: 'transparent',
|
|
541
|
+
borderColor: 'transparent',
|
|
542
|
+
borderRadius: tokenVars.radiusItem,
|
|
543
|
+
borderStyle: 'solid',
|
|
544
|
+
borderWidth: 0,
|
|
545
|
+
color: tokenVars.textSecondary,
|
|
546
|
+
cursor: 'pointer',
|
|
547
|
+
display: 'inline-flex',
|
|
548
|
+
flexShrink: 0,
|
|
549
|
+
justifyContent: 'center',
|
|
550
|
+
marginInlineStart: `calc(${tokenVars.spaceHalf} * -1)`,
|
|
551
|
+
minBlockSize: 20,
|
|
552
|
+
minInlineSize: 20,
|
|
553
|
+
paddingBlock: 0,
|
|
554
|
+
paddingInline: 0,
|
|
555
|
+
'[data-expanded] [data-eds-tree-chevron-icon]': {
|
|
556
|
+
transform: 'rotate(90deg)',
|
|
557
|
+
},
|
|
558
|
+
'[data-focus-visible]': {
|
|
559
|
+
outlineColor: tokenVars.focus,
|
|
560
|
+
outlineOffset: 2,
|
|
561
|
+
outlineStyle: 'solid',
|
|
562
|
+
outlineWidth: 2,
|
|
563
|
+
},
|
|
564
|
+
},
|
|
565
|
+
treeChevronIcon: {
|
|
566
|
+
display: 'inline-flex',
|
|
567
|
+
transitionDuration: '120ms',
|
|
568
|
+
transitionProperty: 'transform',
|
|
569
|
+
transitionTimingFunction: 'ease-out',
|
|
570
|
+
},
|
|
571
|
+
treeChevronPlaceholder: {
|
|
572
|
+
flexShrink: 0,
|
|
573
|
+
inlineSize: 20,
|
|
574
|
+
marginInlineStart: `calc(${tokenVars.spaceHalf} * -1)`,
|
|
575
|
+
},
|
|
576
|
+
label: {
|
|
577
|
+
display: 'block',
|
|
578
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
579
|
+
fontSize: tokenVars.sizeCallout,
|
|
580
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
581
|
+
minInlineSize: 0,
|
|
582
|
+
overflow: 'hidden',
|
|
583
|
+
textOverflow: 'ellipsis',
|
|
584
|
+
},
|
|
585
|
+
truncatedLabel: {
|
|
586
|
+
// Basis 0: the label takes only the room trailing content leaves, so that never shrinks.
|
|
587
|
+
flexBasis: 0,
|
|
588
|
+
flexGrow: 1,
|
|
589
|
+
// In a column, such as a row's text column, basis 0 is a height: keep the line's own.
|
|
590
|
+
minBlockSize: 'min-content',
|
|
591
|
+
whiteSpace: 'nowrap',
|
|
592
|
+
},
|
|
593
|
+
halfRowLabel: {
|
|
594
|
+
minInlineSize: '50%',
|
|
595
|
+
},
|
|
596
|
+
description: {
|
|
597
|
+
color: tokenVars.textSecondary,
|
|
598
|
+
display: 'block',
|
|
599
|
+
fontSize: tokenVars.sizeFootnote,
|
|
600
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
601
|
+
minInlineSize: 0,
|
|
602
|
+
overflow: 'hidden',
|
|
603
|
+
textOverflow: 'ellipsis',
|
|
604
|
+
},
|
|
605
|
+
emptyState: {
|
|
606
|
+
alignItems: 'center',
|
|
607
|
+
// Quieter than control and table lines, so the frame marks the region without competing.
|
|
608
|
+
borderColor: `color-mix(in oklab, ${tokenVars.borderHairline} 60%, transparent)`,
|
|
609
|
+
borderRadius: tokenVars.radiusControl,
|
|
610
|
+
borderStyle: 'solid',
|
|
611
|
+
borderWidth: 1,
|
|
612
|
+
boxSizing: 'border-box',
|
|
613
|
+
color: tokenVars.textSecondary,
|
|
614
|
+
display: 'flex',
|
|
615
|
+
flexDirection: 'column',
|
|
616
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
617
|
+
gap: tokenVars.spaceSmall,
|
|
618
|
+
gridColumn: '1 / -1',
|
|
619
|
+
inlineSize: '100%',
|
|
620
|
+
justifyContent: 'center',
|
|
621
|
+
paddingBlock: tokenVars.spaceXxxLarge,
|
|
622
|
+
paddingInline: tokenVars.spaceLarge,
|
|
623
|
+
textAlign: 'center',
|
|
624
|
+
},
|
|
625
|
+
// Inside a dialog, popover, card or bordered surface, the container already draws the edge.
|
|
626
|
+
emptyStatePlain: {
|
|
627
|
+
borderWidth: 0,
|
|
628
|
+
paddingBlock: tokenVars.spaceXLarge,
|
|
629
|
+
},
|
|
630
|
+
// A rounded tile behind a caller's icon, so a single glyph has the weight of a small picture.
|
|
631
|
+
emptyIcon: {
|
|
632
|
+
alignItems: 'center',
|
|
633
|
+
backgroundColor: tokenVars.sunken,
|
|
634
|
+
borderRadius: tokenVars.radiusControl,
|
|
635
|
+
boxSizing: 'border-box',
|
|
636
|
+
color: tokenVars.textSecondary,
|
|
637
|
+
display: 'inline-flex',
|
|
638
|
+
justifyContent: 'center',
|
|
639
|
+
marginBlockEnd: tokenVars.spaceHalf,
|
|
640
|
+
minBlockSize: 40,
|
|
641
|
+
minInlineSize: 40,
|
|
642
|
+
},
|
|
643
|
+
emptyTitle: {
|
|
644
|
+
color: tokenVars.canvasText,
|
|
645
|
+
fontSize: tokenVars.sizeHeadline,
|
|
646
|
+
fontWeight: tokenVars.fontWeightHeading,
|
|
647
|
+
lineHeight: tokenVars.lineHeightTight,
|
|
648
|
+
maxInlineSize: 420,
|
|
649
|
+
},
|
|
650
|
+
emptyTitlePlain: {
|
|
651
|
+
fontSize: tokenVars.sizeBody,
|
|
652
|
+
},
|
|
653
|
+
emptyDescription: {
|
|
654
|
+
color: tokenVars.textSecondary,
|
|
655
|
+
fontSize: tokenVars.sizeCallout,
|
|
656
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
657
|
+
maxInlineSize: 440,
|
|
658
|
+
},
|
|
659
|
+
emptyContent: {
|
|
660
|
+
display: 'flex',
|
|
661
|
+
flexWrap: 'wrap',
|
|
662
|
+
gap: tokenVars.spaceSmall,
|
|
663
|
+
justifyContent: 'center',
|
|
664
|
+
marginBlockStart: tokenVars.spaceHalf,
|
|
665
|
+
},
|
|
666
|
+
selectionIndicator: {
|
|
667
|
+
alignItems: 'center',
|
|
668
|
+
backgroundColor: tokenVars.raised,
|
|
669
|
+
borderColor: tokenVars.grayText,
|
|
670
|
+
borderRadius: tokenVars.radiusItem,
|
|
671
|
+
borderStyle: 'solid',
|
|
672
|
+
borderWidth: 1.5,
|
|
673
|
+
boxSizing: 'border-box',
|
|
674
|
+
color: tokenVars.accentColorText,
|
|
675
|
+
cursor: 'pointer',
|
|
676
|
+
display: 'inline-flex',
|
|
677
|
+
flexShrink: 0,
|
|
678
|
+
inlineSize: 16,
|
|
679
|
+
justifyContent: 'center',
|
|
680
|
+
minBlockSize: 16,
|
|
681
|
+
minInlineSize: 16,
|
|
682
|
+
transitionDuration: '120ms',
|
|
683
|
+
transitionProperty: 'background-color, border-color, color, outline-color',
|
|
684
|
+
transitionTimingFunction: 'ease-out',
|
|
685
|
+
'[data-disabled]': {
|
|
686
|
+
cursor: 'not-allowed',
|
|
687
|
+
},
|
|
688
|
+
'[data-focus-visible]': {
|
|
689
|
+
borderColor: tokenVars.focus,
|
|
690
|
+
outlineColor: tokenVars.focus,
|
|
691
|
+
outlineOffset: 2,
|
|
692
|
+
outlineStyle: 'solid',
|
|
693
|
+
outlineWidth: 2,
|
|
694
|
+
},
|
|
695
|
+
'[data-focus-visible] &': {
|
|
696
|
+
borderColor: tokenVars.focus,
|
|
697
|
+
outlineColor: tokenVars.focus,
|
|
698
|
+
outlineOffset: 2,
|
|
699
|
+
outlineStyle: 'solid',
|
|
700
|
+
outlineWidth: 2,
|
|
701
|
+
},
|
|
702
|
+
'[data-indeterminate]': {
|
|
703
|
+
backgroundColor: tokenVars.accentColor,
|
|
704
|
+
borderColor: tokenVars.accentColor,
|
|
705
|
+
color: tokenVars.accentColorText,
|
|
706
|
+
},
|
|
707
|
+
'[data-selected]': {
|
|
708
|
+
backgroundColor: tokenVars.accentColor,
|
|
709
|
+
borderColor: tokenVars.accentColor,
|
|
710
|
+
color: tokenVars.accentColorText,
|
|
711
|
+
},
|
|
712
|
+
'[data-indeterminate] [data-collection-selection-icon]': {
|
|
713
|
+
opacity: 1,
|
|
714
|
+
},
|
|
715
|
+
},
|
|
716
|
+
cardSelectionIndicator: {
|
|
717
|
+
backgroundColor: tokenVars.raised,
|
|
718
|
+
insetBlockStart: tokenVars.spaceSmall,
|
|
719
|
+
insetInlineStart: tokenVars.spaceSmall,
|
|
720
|
+
position: 'absolute',
|
|
721
|
+
zIndex: 1,
|
|
722
|
+
},
|
|
723
|
+
listSelectionIndicator: {
|
|
724
|
+
alignItems: 'center',
|
|
725
|
+
boxSizing: 'border-box',
|
|
726
|
+
color: tokenVars.accentColor,
|
|
727
|
+
display: 'inline-flex',
|
|
728
|
+
flexShrink: 0,
|
|
729
|
+
inlineSize: 16,
|
|
730
|
+
justifyContent: 'center',
|
|
731
|
+
marginInlineStart: 'auto',
|
|
732
|
+
minBlockSize: 16,
|
|
733
|
+
minInlineSize: 16,
|
|
734
|
+
order: 1,
|
|
735
|
+
transitionDuration: '120ms',
|
|
736
|
+
transitionProperty: 'color',
|
|
737
|
+
transitionTimingFunction: 'ease-out',
|
|
738
|
+
'[data-selected] &': {
|
|
739
|
+
color: tokenVars.accentColor,
|
|
740
|
+
},
|
|
741
|
+
},
|
|
742
|
+
radioSelectionIndicator: {
|
|
743
|
+
borderRadius: '9999px',
|
|
744
|
+
},
|
|
745
|
+
selectionIcon: {
|
|
746
|
+
blockSize: 12,
|
|
747
|
+
display: 'inline-flex',
|
|
748
|
+
inlineSize: 12,
|
|
749
|
+
opacity: 0,
|
|
750
|
+
},
|
|
751
|
+
selectionDot: {
|
|
752
|
+
backgroundColor: 'currentColor',
|
|
753
|
+
blockSize: 6,
|
|
754
|
+
borderRadius: '9999px',
|
|
755
|
+
display: 'inline-flex',
|
|
756
|
+
inlineSize: 6,
|
|
757
|
+
opacity: 0,
|
|
758
|
+
},
|
|
759
|
+
dragIndicator: {
|
|
760
|
+
alignItems: 'center',
|
|
761
|
+
backgroundColor: 'transparent',
|
|
762
|
+
borderColor: 'transparent',
|
|
763
|
+
borderRadius: tokenVars.radiusItem,
|
|
764
|
+
borderStyle: 'solid',
|
|
765
|
+
borderWidth: 0,
|
|
766
|
+
color: 'currentColor',
|
|
767
|
+
cursor: 'grab',
|
|
768
|
+
display: 'inline-flex',
|
|
769
|
+
flexShrink: 0,
|
|
770
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
771
|
+
fontSize: tokenVars.sizeCaption,
|
|
772
|
+
justifyContent: 'center',
|
|
773
|
+
minBlockSize: 20,
|
|
774
|
+
minInlineSize: 20,
|
|
775
|
+
opacity: 0.56,
|
|
776
|
+
paddingBlock: 0,
|
|
777
|
+
paddingInline: 0,
|
|
778
|
+
':hover': {
|
|
779
|
+
cursor: 'grab',
|
|
780
|
+
},
|
|
781
|
+
':active': {
|
|
782
|
+
cursor: 'grabbing',
|
|
783
|
+
},
|
|
784
|
+
'[data-dragging]': {
|
|
785
|
+
cursor: 'grabbing',
|
|
786
|
+
},
|
|
787
|
+
'[data-focus-visible]': {
|
|
788
|
+
outlineColor: tokenVars.focus,
|
|
789
|
+
outlineOffset: 2,
|
|
790
|
+
outlineStyle: 'solid',
|
|
791
|
+
outlineWidth: 2,
|
|
792
|
+
},
|
|
793
|
+
'[data-pressed]': {
|
|
794
|
+
cursor: 'grabbing',
|
|
795
|
+
},
|
|
796
|
+
},
|
|
797
|
+
edgeDragIndicator: {
|
|
798
|
+
marginInlineStart: `calc(${tokenVars.spaceHalf} * -1)`,
|
|
799
|
+
},
|
|
800
|
+
cardDragIndicator: {
|
|
801
|
+
backgroundColor: 'transparent',
|
|
802
|
+
insetBlockEnd: tokenVars.spaceSmall,
|
|
803
|
+
insetInlineEnd: tokenVars.spaceSmall,
|
|
804
|
+
position: 'absolute',
|
|
805
|
+
zIndex: 1,
|
|
806
|
+
},
|
|
807
|
+
// A quiet line where the next rows will appear: no frame, which would read as a drop zone
|
|
808
|
+
// and crowd the last row's divider.
|
|
809
|
+
loadMore: {
|
|
810
|
+
alignItems: 'center',
|
|
811
|
+
boxSizing: 'border-box',
|
|
812
|
+
color: tokenVars.textSecondary,
|
|
813
|
+
display: 'flex',
|
|
814
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
815
|
+
fontSize: tokenVars.sizeCallout,
|
|
816
|
+
fontWeight: tokenVars.fontWeightStrong,
|
|
817
|
+
gridColumn: '1 / -1',
|
|
818
|
+
justifyContent: 'center',
|
|
819
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
820
|
+
minBlockSize: 44,
|
|
821
|
+
paddingBlock: tokenVars.spaceSmall,
|
|
822
|
+
paddingInline: tokenVars.spaceMedium,
|
|
823
|
+
},
|
|
824
|
+
loadMoreCompact: {
|
|
825
|
+
minBlockSize: 36,
|
|
826
|
+
paddingBlock: tokenVars.spaceHalf,
|
|
827
|
+
},
|
|
828
|
+
loadMoreSpacious: {
|
|
829
|
+
minBlockSize: 52,
|
|
830
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
831
|
+
},
|
|
832
|
+
dropIndicator: {
|
|
833
|
+
boxSizing: 'border-box',
|
|
834
|
+
outline: 'none',
|
|
835
|
+
transitionDuration: '120ms',
|
|
836
|
+
transitionProperty: 'background-color, border-color, block-size, opacity, transform',
|
|
837
|
+
transitionTimingFunction: 'ease-out',
|
|
838
|
+
},
|
|
839
|
+
lineDropIndicator: {
|
|
840
|
+
alignSelf: 'stretch',
|
|
841
|
+
backgroundColor: 'transparent',
|
|
842
|
+
blockSize: 0,
|
|
843
|
+
borderRadius: '9999px',
|
|
844
|
+
flexShrink: 0,
|
|
845
|
+
marginBlock: 0,
|
|
846
|
+
opacity: 0,
|
|
847
|
+
'[data-drop-target]': {
|
|
848
|
+
backgroundColor: tokenVars.accentColor,
|
|
849
|
+
blockSize: 3,
|
|
850
|
+
marginBlock: 2,
|
|
851
|
+
opacity: 1,
|
|
852
|
+
},
|
|
853
|
+
'[data-focus-visible]': {
|
|
854
|
+
outlineColor: tokenVars.focus,
|
|
855
|
+
outlineOffset: 2,
|
|
856
|
+
outlineStyle: 'solid',
|
|
857
|
+
outlineWidth: 2,
|
|
858
|
+
},
|
|
859
|
+
},
|
|
860
|
+
gridDropIndicator: {
|
|
861
|
+
alignItems: 'center',
|
|
862
|
+
backgroundColor: 'transparent',
|
|
863
|
+
borderColor: 'transparent',
|
|
864
|
+
borderRadius: tokenVars.radiusControl,
|
|
865
|
+
borderStyle: 'dashed',
|
|
866
|
+
borderWidth: 1,
|
|
867
|
+
display: 'none',
|
|
868
|
+
minBlockSize: 132,
|
|
869
|
+
opacity: 0,
|
|
870
|
+
transform: 'scale(0.98)',
|
|
871
|
+
'[data-drop-target]': {
|
|
872
|
+
backgroundColor: tokenVars.selectedItem,
|
|
873
|
+
borderColor: tokenVars.accentColor,
|
|
874
|
+
display: 'block',
|
|
875
|
+
opacity: 1,
|
|
876
|
+
transform: 'scale(1)',
|
|
877
|
+
},
|
|
878
|
+
'[data-focus-visible]': {
|
|
879
|
+
outlineColor: tokenVars.focus,
|
|
880
|
+
outlineOffset: 2,
|
|
881
|
+
outlineStyle: 'solid',
|
|
882
|
+
outlineWidth: 2,
|
|
883
|
+
},
|
|
884
|
+
},
|
|
885
|
+
tableLoadMore: {
|
|
886
|
+
// The loading row spans the table: its message sits centered in table text, clear of the last
|
|
887
|
+
// row, whatever the table's edge padding. A virtual table draws the row as a block, so it pads
|
|
888
|
+
// itself; a static table pads its spanning cell.
|
|
889
|
+
boxSizing: 'border-box',
|
|
890
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
891
|
+
textAlign: 'center',
|
|
892
|
+
color: tokenVars.textSecondary,
|
|
893
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
894
|
+
fontSize: tokenVars.sizeCallout,
|
|
895
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
896
|
+
':is(*) > [role="rowheader"]': {
|
|
897
|
+
backgroundColor: tokenVars.canvas,
|
|
898
|
+
borderBlockEndWidth: 0,
|
|
899
|
+
boxSizing: 'border-box',
|
|
900
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
901
|
+
paddingInline: tokenVars.spaceMedium,
|
|
902
|
+
textAlign: 'center',
|
|
903
|
+
verticalAlign: 'middle',
|
|
904
|
+
color: tokenVars.textSecondary,
|
|
905
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
906
|
+
fontSize: tokenVars.sizeCallout,
|
|
907
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
908
|
+
borderEndStartRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
909
|
+
borderEndEndRadius: 'calc(var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px))',
|
|
910
|
+
},
|
|
911
|
+
},
|
|
912
|
+
treeLoadMore: {
|
|
913
|
+
alignItems: 'center',
|
|
914
|
+
backgroundColor: tokenVars.grouped,
|
|
915
|
+
borderColor: tokenVars.sunkenStrong,
|
|
916
|
+
borderRadius: tokenVars.radiusControl,
|
|
917
|
+
borderStyle: 'dashed',
|
|
918
|
+
borderWidth: 1,
|
|
919
|
+
boxSizing: 'border-box',
|
|
920
|
+
color: tokenVars.textSecondary,
|
|
921
|
+
display: 'flex',
|
|
922
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
923
|
+
fontSize: tokenVars.sizeCallout,
|
|
924
|
+
fontWeight: tokenVars.fontWeightStrong,
|
|
925
|
+
lineHeight: tokenVars.lineHeightDefault,
|
|
926
|
+
marginBlock: 1,
|
|
927
|
+
marginInlineEnd: tokenVars.spaceMedium,
|
|
928
|
+
marginInlineStart: `calc(((var(--eds-tree-load-more-level, 2) - 2) * ${tokenVars.spaceXLarge}) + ${tokenVars.spaceXxxLarge} + ${tokenVars.spaceMedium})`,
|
|
929
|
+
minBlockSize: 40,
|
|
930
|
+
paddingBlock: tokenVars.spaceSmall,
|
|
931
|
+
paddingInline: tokenVars.spaceMedium,
|
|
932
|
+
},
|
|
933
|
+
treeLoadMoreCompact: {
|
|
934
|
+
minBlockSize: 36,
|
|
935
|
+
paddingBlock: tokenVars.spaceHalf,
|
|
936
|
+
},
|
|
937
|
+
treeLoadMoreSpacious: {
|
|
938
|
+
minBlockSize: 52,
|
|
939
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
940
|
+
},
|
|
941
|
+
preview: {
|
|
942
|
+
alignItems: 'center',
|
|
943
|
+
// A file's icon stands on the row by itself, larger; a picture, or anything else, gets the tile.
|
|
944
|
+
backgroundColor: {
|
|
945
|
+
default: tokenVars.sunken,
|
|
946
|
+
':has(> [data-eds-file-thumbnail="icon"])': 'transparent',
|
|
947
|
+
},
|
|
948
|
+
// A picture keeps an edge against the row, such as a white page; an icon's fill is enough.
|
|
949
|
+
borderColor: { default: 'transparent', ':has(img)': tokenVars.sunkenStrong },
|
|
950
|
+
borderStyle: 'solid',
|
|
951
|
+
borderWidth: 1,
|
|
952
|
+
boxSizing: 'border-box',
|
|
953
|
+
color: tokenVars.canvasText,
|
|
954
|
+
display: 'inline-flex',
|
|
955
|
+
flexShrink: 0,
|
|
956
|
+
fontFamily: tokenVars.fontFamilyBody,
|
|
957
|
+
fontSize: tokenVars.sizeCaption,
|
|
958
|
+
fontWeight: tokenVars.fontWeightStrong,
|
|
959
|
+
justifyContent: 'center',
|
|
960
|
+
overflow: 'hidden',
|
|
961
|
+
},
|
|
962
|
+
cardPreview: {
|
|
963
|
+
alignSelf: 'stretch',
|
|
964
|
+
blockSize: 88,
|
|
965
|
+
borderBlockStartWidth: 0,
|
|
966
|
+
borderInlineEndWidth: 0,
|
|
967
|
+
borderInlineStartWidth: 0,
|
|
968
|
+
inlineSize: `calc(100% + (${tokenVars.spaceMedium} * 2))`,
|
|
969
|
+
marginBlockStart: 0,
|
|
970
|
+
marginInline: `calc(${tokenVars.spaceMedium} * -1)`,
|
|
971
|
+
},
|
|
972
|
+
embeddedCardPreview: {
|
|
973
|
+
alignSelf: 'stretch',
|
|
974
|
+
blockSize: 88,
|
|
975
|
+
borderBlockStartWidth: 0,
|
|
976
|
+
borderInlineEndWidth: 0,
|
|
977
|
+
borderInlineStartWidth: 0,
|
|
978
|
+
inlineSize: `calc(100% + (${tokenVars.spaceMedium} * 2))`,
|
|
979
|
+
marginBlockStart: `calc(${tokenVars.spaceMedium} * -1)`,
|
|
980
|
+
marginInline: `calc(${tokenVars.spaceMedium} * -1)`,
|
|
981
|
+
},
|
|
982
|
+
cardPreviewShape: {
|
|
983
|
+
// A card's preview keeps its tile even for an icon: it's the card's top, not a row's glyph.
|
|
984
|
+
backgroundColor: tokenVars.sunken,
|
|
985
|
+
borderEndEndRadius: 0,
|
|
986
|
+
borderEndStartRadius: 0,
|
|
987
|
+
borderStartEndRadius: `var(--eds-card-corner-radius, ${tokenVars.radiusContainer})`,
|
|
988
|
+
borderStartStartRadius: `var(--eds-card-corner-radius, ${tokenVars.radiusContainer})`,
|
|
989
|
+
},
|
|
990
|
+
previewSmall: {
|
|
991
|
+
blockSize: 28,
|
|
992
|
+
inlineSize: 28,
|
|
993
|
+
},
|
|
994
|
+
previewMedium: {
|
|
995
|
+
blockSize: 40,
|
|
996
|
+
inlineSize: 40,
|
|
997
|
+
},
|
|
998
|
+
previewLarge: {
|
|
999
|
+
blockSize: 64,
|
|
1000
|
+
inlineSize: 64,
|
|
1001
|
+
},
|
|
1002
|
+
previewRounded: {
|
|
1003
|
+
borderRadius: tokenVars.radiusControl,
|
|
1004
|
+
},
|
|
1005
|
+
previewSquare: {
|
|
1006
|
+
borderRadius: tokenVars.radiusItem,
|
|
1007
|
+
},
|
|
1008
|
+
// A file outline's own rows sit on the viewer's surface, as FileOutline's do.
|
|
1009
|
+
outlineItem: {
|
|
1010
|
+
position: 'relative',
|
|
1011
|
+
display: 'flex',
|
|
1012
|
+
alignItems: 'center',
|
|
1013
|
+
gap: tokenVars.spaceSmall,
|
|
1014
|
+
minBlockSize: 28,
|
|
1015
|
+
minInlineSize: 0,
|
|
1016
|
+
paddingInline: tokenVars.spaceSmall,
|
|
1017
|
+
borderRadius: tokenVars.radiusItem,
|
|
1018
|
+
color: tokenVars.textSecondary,
|
|
1019
|
+
cursor: 'pointer',
|
|
1020
|
+
outline: 'none',
|
|
1021
|
+
'[data-hovered]': {
|
|
1022
|
+
backgroundColor: tokenVars.hoverFill,
|
|
1023
|
+
color: tokenVars.canvasText,
|
|
1024
|
+
},
|
|
1025
|
+
'[data-selected]': {
|
|
1026
|
+
color: tokenVars.canvasText,
|
|
1027
|
+
fontWeight: tokenVars.fontWeightStrong,
|
|
1028
|
+
},
|
|
1029
|
+
'[data-focus-visible]': {
|
|
1030
|
+
outlineColor: tokenVars.focus,
|
|
1031
|
+
outlineOffset: -2,
|
|
1032
|
+
outlineStyle: 'solid',
|
|
1033
|
+
outlineWidth: 2,
|
|
1034
|
+
},
|
|
1035
|
+
},
|
|
1036
|
+
// The preview centered in the row, with its label centered below.
|
|
1037
|
+
outlinePreviewItem: {
|
|
1038
|
+
flexDirection: 'column',
|
|
1039
|
+
alignItems: 'stretch',
|
|
1040
|
+
gap: tokenVars.spaceHalf,
|
|
1041
|
+
paddingBlock: tokenVars.spaceHalf,
|
|
1042
|
+
textAlign: 'center',
|
|
1043
|
+
},
|
|
1044
|
+
outlinePreview: {
|
|
1045
|
+
display: 'block',
|
|
1046
|
+
position: 'relative',
|
|
1047
|
+
// A thumbnail, not a second copy of the page: in a wide sidebar, such as the phone's drawer,
|
|
1048
|
+
// it stops at this width.
|
|
1049
|
+
inlineSize: '100%',
|
|
1050
|
+
maxInlineSize: 144,
|
|
1051
|
+
alignSelf: 'center',
|
|
1052
|
+
overflow: 'hidden',
|
|
1053
|
+
borderRadius: tokenVars.radiusItem,
|
|
1054
|
+
backgroundColor: tokenVars.sunken,
|
|
1055
|
+
boxShadow: `0 0 0 1px ${tokenVars.borderHairline}`,
|
|
1056
|
+
},
|
|
1057
|
+
// The current row's preview, in the accent the outline marks its current item with.
|
|
1058
|
+
outlinePreviewCurrent: {
|
|
1059
|
+
boxShadow: `0 0 0 2px ${tokenVars.linkText}`,
|
|
1060
|
+
},
|
|
1061
|
+
outlinePreviewImage: {
|
|
1062
|
+
display: 'block',
|
|
1063
|
+
inlineSize: '100%',
|
|
1064
|
+
blockSize: 'auto',
|
|
1065
|
+
},
|
|
1066
|
+
// A drawn preview covers the row's own content, which sets its shape, at the same size.
|
|
1067
|
+
outlinePreviewDrawing: {
|
|
1068
|
+
position: 'absolute',
|
|
1069
|
+
inset: 0,
|
|
1070
|
+
inlineSize: '100%',
|
|
1071
|
+
blockSize: '100%',
|
|
1072
|
+
},
|
|
1073
|
+
// Fills its box behind other content; a ZStack layer or Card sets that box.
|
|
1074
|
+
backdropPreview: {
|
|
1075
|
+
blockSize: '100%',
|
|
1076
|
+
borderRadius: 'inherit',
|
|
1077
|
+
display: 'block',
|
|
1078
|
+
inlineSize: '100%',
|
|
1079
|
+
overflow: 'hidden',
|
|
1080
|
+
pointerEvents: 'none',
|
|
1081
|
+
},
|
|
1082
|
+
// Behind everything in the card, clipped by the card's own corners.
|
|
1083
|
+
cardBackdropPreview: {
|
|
1084
|
+
blockSize: 'auto',
|
|
1085
|
+
inlineSize: 'auto',
|
|
1086
|
+
inset: 0,
|
|
1087
|
+
position: 'absolute',
|
|
1088
|
+
zIndex: -1,
|
|
1089
|
+
},
|
|
1090
|
+
previewImage: {
|
|
1091
|
+
blockSize: '100%',
|
|
1092
|
+
inlineSize: '100%',
|
|
1093
|
+
objectFit: 'cover',
|
|
1094
|
+
},
|
|
1095
|
+
});
|