@effectiveailabs/design-system 0.0.0-stage → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +125 -2
- package/dist/components/AdaptiveGrid/AdaptiveGrid.d.ts +38 -0
- package/dist/components/AdaptiveGrid/AdaptiveGrid.js +15 -0
- package/dist/components/AdaptiveGrid/AdaptiveGrid.stylex.d.ts +104 -0
- package/dist/components/AdaptiveGrid/AdaptiveGrid.stylex.js +62 -0
- package/dist/components/Anchor/Anchor.d.ts +29 -0
- package/dist/components/Anchor/Anchor.js +56 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.d.ts +16 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.js +45 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.stylex.d.ts +6 -0
- package/dist/components/AnimatedNumber/AnimatedNumber.stylex.js +7 -0
- package/dist/components/AnnotationPin/AnnotationOutlet.d.ts +15 -0
- package/dist/components/AnnotationPin/AnnotationOutlet.js +15 -0
- package/dist/components/AnnotationPin/AnnotationPin.d.ts +31 -0
- package/dist/components/AnnotationPin/AnnotationPin.js +99 -0
- package/dist/components/AnnotationPin/AnnotationPin.layout.d.ts +19 -0
- package/dist/components/AnnotationPin/AnnotationPin.layout.js +56 -0
- package/dist/components/AnnotationPin/AnnotationPin.stylex.d.ts +48 -0
- package/dist/components/AnnotationPin/AnnotationPin.stylex.js +39 -0
- package/dist/components/AnnotationPin/AnnotationScope.d.ts +26 -0
- package/dist/components/AnnotationPin/AnnotationScope.js +59 -0
- package/dist/components/AnnotationPin/AnnotationScope.layout.d.ts +15 -0
- package/dist/components/AnnotationPin/AnnotationScope.layout.js +68 -0
- package/dist/components/AnnotationPin/useRangeAnchor.d.ts +9 -0
- package/dist/components/AnnotationPin/useRangeAnchor.js +35 -0
- package/dist/components/App/App.d.ts +85 -0
- package/dist/components/App/App.js +515 -0
- package/dist/components/App/App.layout.d.ts +25 -0
- package/dist/components/App/App.layout.js +42 -0
- package/dist/components/App/App.stylex.d.ts +373 -0
- package/dist/components/App/App.stylex.js +352 -0
- package/dist/components/App/AppNavigationHeader.context.d.ts +9 -0
- package/dist/components/App/AppNavigationHeader.context.js +13 -0
- package/dist/components/Article/Article.d.ts +16 -0
- package/dist/components/Article/Article.js +14 -0
- package/dist/components/Article/Article.stylex.d.ts +49 -0
- package/dist/components/Article/Article.stylex.js +66 -0
- package/dist/components/Article/ArticleSection.d.ts +23 -0
- package/dist/components/Article/ArticleSection.js +26 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +13 -0
- package/dist/components/Autocomplete/Autocomplete.gridFocus.d.ts +9 -0
- package/dist/components/Autocomplete/Autocomplete.gridFocus.js +5 -0
- package/dist/components/Autocomplete/Autocomplete.js +68 -0
- package/dist/components/Avatar/Avatar.d.ts +30 -0
- package/dist/components/Avatar/Avatar.js +14 -0
- package/dist/components/Avatar/Avatar.stylex.d.ts +74 -0
- package/dist/components/Avatar/Avatar.stylex.js +71 -0
- package/dist/components/Avatar/Avatar.view.d.ts +7 -0
- package/dist/components/Avatar/Avatar.view.js +43 -0
- package/dist/components/Avatar/AvatarName.d.ts +7 -0
- package/dist/components/Avatar/AvatarName.js +17 -0
- package/dist/components/Avatar/avatarColor.d.ts +3 -0
- package/dist/components/Avatar/avatarColor.js +28 -0
- package/dist/components/Avatar/avatarInitials.d.ts +1 -0
- package/dist/components/Avatar/avatarInitials.js +37 -0
- package/dist/components/AvatarGroup/AvatarGroup.children.d.ts +11 -0
- package/dist/components/AvatarGroup/AvatarGroup.children.js +52 -0
- package/dist/components/AvatarGroup/AvatarGroup.context.d.ts +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.context.js +2 -0
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +16 -0
- package/dist/components/AvatarGroup/AvatarGroup.js +188 -0
- package/dist/components/AvatarGroup/AvatarGroup.stylex.d.ts +149 -0
- package/dist/components/AvatarGroup/AvatarGroup.stylex.js +132 -0
- package/dist/components/AvatarGroup/avatarGroupLayout.d.ts +14 -0
- package/dist/components/AvatarGroup/avatarGroupLayout.js +27 -0
- package/dist/components/Badge/Badge.d.ts +54 -0
- package/dist/components/Badge/Badge.js +149 -0
- package/dist/components/Badge/Badge.stylex.d.ts +278 -0
- package/dist/components/Badge/Badge.stylex.js +267 -0
- package/dist/components/BrandLogo/BrandLogo.d.ts +16 -0
- package/dist/components/BrandLogo/BrandLogo.js +19 -0
- package/dist/components/BrandLogo/BrandLogo.stylex.d.ts +23 -0
- package/dist/components/BrandLogo/BrandLogo.stylex.js +14 -0
- package/dist/components/BrandLogo/brandLogoArtwork.d.ts +10 -0
- package/dist/components/BrandLogo/brandLogoArtwork.js +30 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.children.d.ts +14 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.children.js +59 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +24 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.headerContext.d.ts +20 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.headerContext.js +14 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +284 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.layout.d.ts +10 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.layout.js +29 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.stylex.d.ts +200 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.stylex.js +166 -0
- package/dist/components/Button/Button.appearance.d.ts +323 -0
- package/dist/components/Button/Button.appearance.js +57 -0
- package/dist/components/Button/Button.d.ts +102 -0
- package/dist/components/Button/Button.js +176 -0
- package/dist/components/Button/Button.stylex.d.ts +577 -0
- package/dist/components/Button/Button.stylex.js +590 -0
- package/dist/components/Button/ButtonProgress.d.ts +1 -0
- package/dist/components/Button/ButtonProgress.js +8 -0
- package/dist/components/Button/ButtonProgress.stylex.d.ts +22 -0
- package/dist/components/Button/ButtonProgress.stylex.js +14 -0
- package/dist/components/ButtonGroup/ButtonGroup.context.d.ts +74 -0
- package/dist/components/ButtonGroup/ButtonGroup.context.js +25 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +35 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +49 -0
- package/dist/components/ButtonGroup/ButtonGroup.stylex.d.ts +111 -0
- package/dist/components/ButtonGroup/ButtonGroup.stylex.js +116 -0
- package/dist/components/CalculationSteps/CalculationSteps.d.ts +13 -0
- package/dist/components/CalculationSteps/CalculationSteps.format.d.ts +13 -0
- package/dist/components/CalculationSteps/CalculationSteps.format.js +44 -0
- package/dist/components/CalculationSteps/CalculationSteps.js +84 -0
- package/dist/components/CalculationSteps/CalculationSteps.stylex.d.ts +23 -0
- package/dist/components/CalculationSteps/CalculationSteps.stylex.js +22 -0
- package/dist/components/CalculationSteps/CalculationSteps.types.d.ts +131 -0
- package/dist/components/CalculationSteps/CalculationSteps.types.js +11 -0
- package/dist/components/Calendar/Calendar.d.ts +22 -0
- package/dist/components/Calendar/Calendar.js +119 -0
- package/dist/components/Calendar/Calendar.stylex.d.ts +196 -0
- package/dist/components/Calendar/Calendar.stylex.js +197 -0
- package/dist/components/Card/Card.context.d.ts +28 -0
- package/dist/components/Card/Card.context.js +40 -0
- package/dist/components/Card/Card.d.ts +39 -0
- package/dist/components/Card/Card.js +121 -0
- package/dist/components/Card/Card.stylex.d.ts +172 -0
- package/dist/components/Card/Card.stylex.js +185 -0
- package/dist/components/Chart/Chart.d.ts +24 -0
- package/dist/components/Chart/Chart.data.d.ts +119 -0
- package/dist/components/Chart/Chart.data.js +596 -0
- package/dist/components/Chart/Chart.describe.d.ts +46 -0
- package/dist/components/Chart/Chart.describe.js +359 -0
- package/dist/components/Chart/Chart.environment.d.ts +8 -0
- package/dist/components/Chart/Chart.environment.js +10 -0
- package/dist/components/Chart/Chart.format.d.ts +14 -0
- package/dist/components/Chart/Chart.format.js +108 -0
- package/dist/components/Chart/Chart.highcharts.d.ts +106 -0
- package/dist/components/Chart/Chart.highcharts.js +1001 -0
- package/dist/components/Chart/Chart.js +600 -0
- package/dist/components/Chart/Chart.load.d.ts +69 -0
- package/dist/components/Chart/Chart.load.js +136 -0
- package/dist/components/Chart/Chart.raw.d.ts +33 -0
- package/dist/components/Chart/Chart.raw.js +234 -0
- package/dist/components/Chart/Chart.rules.d.ts +31 -0
- package/dist/components/Chart/Chart.rules.js +72 -0
- package/dist/components/Chart/Chart.stylex.d.ts +260 -0
- package/dist/components/Chart/Chart.stylex.js +280 -0
- package/dist/components/Chart/Chart.types.d.ts +380 -0
- package/dist/components/Chart/Chart.types.js +23 -0
- package/dist/components/Chart/ChartDataTable.d.ts +9 -0
- package/dist/components/Chart/ChartDataTable.js +42 -0
- package/dist/components/Chart/ChartGhost.d.ts +17 -0
- package/dist/components/Chart/ChartGhost.js +13 -0
- package/dist/components/Chart/ChartHighcharts.d.ts +6 -0
- package/dist/components/Chart/ChartHighcharts.js +61 -0
- package/dist/components/Chart/ChartLegend.d.ts +23 -0
- package/dist/components/Chart/ChartLegend.js +111 -0
- package/dist/components/Chart/ChartMarks.d.ts +29 -0
- package/dist/components/Chart/ChartMarks.js +29 -0
- package/dist/components/Chart/ChartScrollbar.d.ts +13 -0
- package/dist/components/Chart/ChartScrollbar.js +63 -0
- package/dist/components/Chart/ChartTip.d.ts +5 -0
- package/dist/components/Chart/ChartTip.js +7 -0
- package/dist/components/Checkbox/Checkbox.d.ts +81 -0
- package/dist/components/Checkbox/Checkbox.js +52 -0
- package/dist/components/CodeBlock/CodeBlock.copy.d.ts +7 -0
- package/dist/components/CodeBlock/CodeBlock.copy.js +28 -0
- package/dist/components/CodeBlock/CodeBlock.copyButton.d.ts +20 -0
- package/dist/components/CodeBlock/CodeBlock.copyButton.js +40 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +88 -0
- package/dist/components/CodeBlock/CodeBlock.fence.d.ts +24 -0
- package/dist/components/CodeBlock/CodeBlock.fence.js +110 -0
- package/dist/components/CodeBlock/CodeBlock.js +148 -0
- package/dist/components/CodeBlock/CodeBlock.marks.d.ts +24 -0
- package/dist/components/CodeBlock/CodeBlock.marks.js +54 -0
- package/dist/components/CodeBlock/CodeBlock.ranges.d.ts +15 -0
- package/dist/components/CodeBlock/CodeBlock.ranges.js +30 -0
- package/dist/components/CodeBlock/CodeBlock.stylex.d.ts +221 -0
- package/dist/components/CodeBlock/CodeBlock.stylex.js +194 -0
- package/dist/components/CodeBlock/CodeBlock.tokens.d.ts +47 -0
- package/dist/components/CodeBlock/CodeBlock.tokens.js +103 -0
- package/dist/components/CodeBlock/CodeGroup.context.d.ts +5 -0
- package/dist/components/CodeBlock/CodeGroup.context.js +6 -0
- package/dist/components/CodeBlock/CodeGroup.d.ts +19 -0
- package/dist/components/CodeBlock/CodeGroup.js +39 -0
- package/dist/components/CodeBlock/CodeHighlightScope.d.ts +39 -0
- package/dist/components/CodeBlock/CodeHighlightScope.js +70 -0
- package/dist/components/CodeEntry/CodeEntry.d.ts +62 -0
- package/dist/components/CodeEntry/CodeEntry.js +86 -0
- package/dist/components/CodeField/CodeField.d.ts +32 -0
- package/dist/components/CodeField/CodeField.js +25 -0
- package/dist/components/CodeField/CodeField.stylex.d.ts +82 -0
- package/dist/components/CodeField/CodeField.stylex.js +88 -0
- package/dist/components/Collection/Collection.constants.d.ts +3 -0
- package/dist/components/Collection/Collection.constants.js +3 -0
- package/dist/components/Collection/Collection.context.d.ts +70 -0
- package/dist/components/Collection/Collection.context.js +39 -0
- package/dist/components/Collection/Collection.d.ts +119 -0
- package/dist/components/Collection/Collection.dnd.d.ts +19 -0
- package/dist/components/Collection/Collection.dnd.js +56 -0
- package/dist/components/Collection/Collection.dragScroll.d.ts +2 -0
- package/dist/components/Collection/Collection.dragScroll.js +93 -0
- package/dist/components/Collection/Collection.identity.d.ts +3 -0
- package/dist/components/Collection/Collection.identity.js +10 -0
- package/dist/components/Collection/Collection.js +479 -0
- package/dist/components/Collection/Collection.pageLoadMore.d.ts +2 -0
- package/dist/components/Collection/Collection.pageLoadMore.js +21 -0
- package/dist/components/Collection/Collection.stylex.d.ts +1033 -0
- package/dist/components/Collection/Collection.stylex.js +1095 -0
- package/dist/components/Collection/CollectionItemContent.d.ts +9 -0
- package/dist/components/Collection/CollectionItemContent.js +11 -0
- package/dist/components/Collection/CollectionVirtualizer.context.d.ts +9 -0
- package/dist/components/Collection/CollectionVirtualizer.context.js +2 -0
- package/dist/components/Collection/OutlinePreview.d.ts +12 -0
- package/dist/components/Collection/OutlinePreview.js +32 -0
- package/dist/components/CollectionViews/CollectionViews.context.d.ts +8 -0
- package/dist/components/CollectionViews/CollectionViews.context.js +9 -0
- package/dist/components/CollectionViews/CollectionViews.d.ts +42 -0
- package/dist/components/CollectionViews/CollectionViews.js +53 -0
- package/dist/components/ComboBox/ComboBox.collection.d.ts +5 -0
- package/dist/components/ComboBox/ComboBox.collection.js +40 -0
- package/dist/components/ComboBox/ComboBox.d.ts +50 -0
- package/dist/components/ComboBox/ComboBox.js +98 -0
- package/dist/components/ComboBox/ComboBox.stylex.d.ts +45 -0
- package/dist/components/ComboBox/ComboBox.stylex.js +34 -0
- package/dist/components/ContainerSize/ContainerSize.d.ts +27 -0
- package/dist/components/ContainerSize/ContainerSize.js +51 -0
- package/dist/components/ContainerSize/ContainerSize.stylex.d.ts +13 -0
- package/dist/components/ContainerSize/ContainerSize.stylex.js +16 -0
- package/dist/components/Content/Content.context.d.ts +3 -0
- package/dist/components/Content/Content.context.js +3 -0
- package/dist/components/Content/Content.d.ts +33 -0
- package/dist/components/Content/Content.js +36 -0
- package/dist/components/Content/Content.stylex.d.ts +65 -0
- package/dist/components/Content/Content.stylex.js +69 -0
- package/dist/components/Content/HeaderSlots.d.ts +9 -0
- package/dist/components/Content/HeaderSlots.js +22 -0
- package/dist/components/ContentOrientation/ContentOrientation.context.d.ts +2 -0
- package/dist/components/ContentOrientation/ContentOrientation.context.js +2 -0
- package/dist/components/ControlSize/ControlSize.context.d.ts +3 -0
- package/dist/components/ControlSize/ControlSize.context.js +6 -0
- package/dist/components/Countdown/Countdown.d.ts +16 -0
- package/dist/components/Countdown/Countdown.js +30 -0
- package/dist/components/Countdown/Countdown.stylex.d.ts +11 -0
- package/dist/components/Countdown/Countdown.stylex.js +10 -0
- package/dist/components/CoverageTower/CoverageTower.axis.d.ts +28 -0
- package/dist/components/CoverageTower/CoverageTower.axis.js +28 -0
- package/dist/components/CoverageTower/CoverageTower.block.d.ts +39 -0
- package/dist/components/CoverageTower/CoverageTower.block.js +112 -0
- package/dist/components/CoverageTower/CoverageTower.d.ts +14 -0
- package/dist/components/CoverageTower/CoverageTower.js +284 -0
- package/dist/components/CoverageTower/CoverageTower.layout.d.ts +158 -0
- package/dist/components/CoverageTower/CoverageTower.layout.js +243 -0
- package/dist/components/CoverageTower/CoverageTower.stylex.d.ts +404 -0
- package/dist/components/CoverageTower/CoverageTower.stylex.js +525 -0
- package/dist/components/CoverageTower/CoverageTower.types.d.ts +172 -0
- package/dist/components/CoverageTower/CoverageTower.types.js +3 -0
- package/dist/components/DateField/DateField.d.ts +61 -0
- package/dist/components/DateField/DateField.js +66 -0
- package/dist/components/DateRangeField/DateRangeField.d.ts +60 -0
- package/dist/components/DateRangeField/DateRangeField.js +68 -0
- package/dist/components/Dialog/Dialog.context.d.ts +6 -0
- package/dist/components/Dialog/Dialog.context.js +3 -0
- package/dist/components/Dialog/Dialog.d.ts +15 -0
- package/dist/components/Dialog/Dialog.js +25 -0
- package/dist/components/Dialog/Dialog.stylex.d.ts +23 -0
- package/dist/components/Dialog/Dialog.stylex.js +20 -0
- package/dist/components/Disclosure/Disclosure.d.ts +5 -0
- package/dist/components/Disclosure/Disclosure.js +119 -0
- package/dist/components/Disclosure/Disclosure.stylex.d.ts +161 -0
- package/dist/components/Disclosure/Disclosure.stylex.js +143 -0
- package/dist/components/Disclosure/Disclosure.types.d.ts +96 -0
- package/dist/components/Disclosure/Disclosure.types.js +4 -0
- package/dist/components/Disclosure/DisclosureGroup.context.d.ts +2 -0
- package/dist/components/Disclosure/DisclosureGroup.context.js +2 -0
- package/dist/components/Disclosure/DisclosureGroup.d.ts +5 -0
- package/dist/components/Disclosure/DisclosureGroup.js +10 -0
- package/dist/components/DismissButton/Dismiss.context.d.ts +3 -0
- package/dist/components/DismissButton/Dismiss.context.js +10 -0
- package/dist/components/DismissButton/DismissButton.d.ts +16 -0
- package/dist/components/DismissButton/DismissButton.js +9 -0
- package/dist/components/DropZone/DropZone.d.ts +10 -0
- package/dist/components/DropZone/DropZone.js +16 -0
- package/dist/components/DropZone/DropZone.stylex.d.ts +32 -0
- package/dist/components/DropZone/DropZone.stylex.js +27 -0
- package/dist/components/EditableText/EditableText.d.ts +21 -0
- package/dist/components/EditableText/EditableText.js +63 -0
- package/dist/components/EditableText/EditableText.stylex.d.ts +108 -0
- package/dist/components/EditableText/EditableText.stylex.js +95 -0
- package/dist/components/FieldRow/FieldRow.d.ts +20 -0
- package/dist/components/FieldRow/FieldRow.js +17 -0
- package/dist/components/FieldRow/FieldRow.stylex.d.ts +30 -0
- package/dist/components/FieldRow/FieldRow.stylex.js +52 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.d.ts +74 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.js +193 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.stylex.d.ts +47 -0
- package/dist/components/FileCollectionViewer/FileCollectionViewer.stylex.js +53 -0
- package/dist/components/FileContent/FileContent.context.d.ts +51 -0
- package/dist/components/FileContent/FileContent.context.js +45 -0
- package/dist/components/FileContent/FileContent.d.ts +66 -0
- package/dist/components/FileContent/FileContent.js +80 -0
- package/dist/components/FileContent/FileContent.markers.d.ts +7 -0
- package/dist/components/FileContent/FileContent.markers.js +28 -0
- package/dist/components/FileContent/FileContent.stylex.d.ts +152 -0
- package/dist/components/FileContent/FileContent.stylex.js +155 -0
- package/dist/components/FileContent/FileContentViewport.d.ts +42 -0
- package/dist/components/FileContent/FileContentViewport.js +117 -0
- package/dist/components/FileContent/FileDetails.d.ts +11 -0
- package/dist/components/FileContent/FileDetails.js +53 -0
- package/dist/components/FileContent/FileOutline.previews.d.ts +70 -0
- package/dist/components/FileContent/FileOutline.previews.js +278 -0
- package/dist/components/FileContent/FileOutlineRows.d.ts +21 -0
- package/dist/components/FileContent/FileOutlineRows.js +166 -0
- package/dist/components/FileContent/FileSelectionToolbarLayer.d.ts +13 -0
- package/dist/components/FileContent/FileSelectionToolbarLayer.js +125 -0
- package/dist/components/FileContent/FileStructure.d.ts +51 -0
- package/dist/components/FileContent/FileStructure.js +37 -0
- package/dist/components/FileExplorer/FileExplorer.browser.d.ts +58 -0
- package/dist/components/FileExplorer/FileExplorer.browser.js +274 -0
- package/dist/components/FileExplorer/FileExplorer.columns.d.ts +37 -0
- package/dist/components/FileExplorer/FileExplorer.columns.js +144 -0
- package/dist/components/FileExplorer/FileExplorer.columns.stylex.d.ts +95 -0
- package/dist/components/FileExplorer/FileExplorer.columns.stylex.js +95 -0
- package/dist/components/FileExplorer/FileExplorer.d.ts +33 -0
- package/dist/components/FileExplorer/FileExplorer.groups.d.ts +14 -0
- package/dist/components/FileExplorer/FileExplorer.groups.js +129 -0
- package/dist/components/FileExplorer/FileExplorer.hits.d.ts +12 -0
- package/dist/components/FileExplorer/FileExplorer.hits.js +51 -0
- package/dist/components/FileExplorer/FileExplorer.js +180 -0
- package/dist/components/FileExplorer/FileExplorer.stylex.d.ts +141 -0
- package/dist/components/FileExplorer/FileExplorer.stylex.js +132 -0
- package/dist/components/FileField/FileField.d.ts +24 -0
- package/dist/components/FileField/FileField.js +37 -0
- package/dist/components/FileField/FileField.stylex.d.ts +17 -0
- package/dist/components/FileField/FileField.stylex.js +18 -0
- package/dist/components/FileIcon/FileIcon.d.ts +25 -0
- package/dist/components/FileIcon/FileIcon.js +33 -0
- package/dist/components/FilePicker/FilePicker.d.ts +40 -0
- package/dist/components/FilePicker/FilePicker.js +155 -0
- package/dist/components/FilePicker/MovePicker.d.ts +13 -0
- package/dist/components/FilePicker/MovePicker.js +19 -0
- package/dist/components/FileScope/FileHeader.stylex.d.ts +8 -0
- package/dist/components/FileScope/FileHeader.stylex.js +9 -0
- package/dist/components/FileScope/FileScope.actions.d.ts +45 -0
- package/dist/components/FileScope/FileScope.actions.js +240 -0
- package/dist/components/FileScope/FileScope.cache.d.ts +12 -0
- package/dist/components/FileScope/FileScope.cache.js +25 -0
- package/dist/components/FileScope/FileScope.d.ts +163 -0
- package/dist/components/FileScope/FileScope.drag.d.ts +27 -0
- package/dist/components/FileScope/FileScope.drag.js +88 -0
- package/dist/components/FileScope/FileScope.entryActions.d.ts +32 -0
- package/dist/components/FileScope/FileScope.entryActions.js +121 -0
- package/dist/components/FileScope/FileScope.entryActions.stylex.d.ts +9 -0
- package/dist/components/FileScope/FileScope.entryActions.stylex.js +24 -0
- package/dist/components/FileScope/FileScope.js +132 -0
- package/dist/components/FileScope/FileScope.match.d.ts +8 -0
- package/dist/components/FileScope/FileScope.match.js +76 -0
- package/dist/components/FileScope/FileScope.plainText.d.ts +6 -0
- package/dist/components/FileScope/FileScope.plainText.js +34 -0
- package/dist/components/FileScope/FileScope.plainText.stylex.d.ts +14 -0
- package/dist/components/FileScope/FileScope.plainText.stylex.js +15 -0
- package/dist/components/FileScope/FileScope.queue.d.ts +20 -0
- package/dist/components/FileScope/FileScope.queue.js +81 -0
- package/dist/components/FileScope/FileScope.relative.d.ts +7 -0
- package/dist/components/FileScope/FileScope.relative.js +32 -0
- package/dist/components/FileScope/FileScope.search.d.ts +33 -0
- package/dist/components/FileScope/FileScope.search.js +105 -0
- package/dist/components/FileScope/FileScope.search.stylex.d.ts +7 -0
- package/dist/components/FileScope/FileScope.search.stylex.js +8 -0
- package/dist/components/FileScope/FileScope.share.d.ts +13 -0
- package/dist/components/FileScope/FileScope.share.js +159 -0
- package/dist/components/FileScope/FileScope.share.stylex.d.ts +18 -0
- package/dist/components/FileScope/FileScope.share.stylex.js +21 -0
- package/dist/components/FileScope/FileScope.types.d.ts +586 -0
- package/dist/components/FileScope/FileScope.types.js +6 -0
- package/dist/components/FileScope/FileScope.utils.d.ts +20 -0
- package/dist/components/FileScope/FileScope.utils.js +157 -0
- package/dist/components/FileScope/FileSourceError.d.ts +17 -0
- package/dist/components/FileScope/FileSourceError.js +24 -0
- package/dist/components/FileScope/FileStore.d.ts +178 -0
- package/dist/components/FileScope/FileStore.js +849 -0
- package/dist/components/FileThumbnail/FileThumbnail.d.ts +25 -0
- package/dist/components/FileThumbnail/FileThumbnail.js +242 -0
- package/dist/components/FileThumbnail/FileThumbnail.stylex.d.ts +38 -0
- package/dist/components/FileThumbnail/FileThumbnail.stylex.js +44 -0
- package/dist/components/FileTree/FileTree.d.ts +77 -0
- package/dist/components/FileTree/FileTree.entries.d.ts +29 -0
- package/dist/components/FileTree/FileTree.entries.js +97 -0
- package/dist/components/FileTree/FileTree.js +800 -0
- package/dist/components/FileTree/FileTree.stylex.d.ts +46 -0
- package/dist/components/FileTree/FileTree.stylex.js +60 -0
- package/dist/components/FileTrigger/FileSelection.context.d.ts +2 -0
- package/dist/components/FileTrigger/FileSelection.context.js +2 -0
- package/dist/components/FileTrigger/FileSelection.d.ts +13 -0
- package/dist/components/FileTrigger/FileSelection.js +31 -0
- package/dist/components/FileTrigger/FileTrigger.d.ts +9 -0
- package/dist/components/FileTrigger/FileTrigger.js +22 -0
- package/dist/components/FileViewer/FileViewer.chrome.d.ts +66 -0
- package/dist/components/FileViewer/FileViewer.chrome.js +126 -0
- package/dist/components/FileViewer/FileViewer.compact.d.ts +90 -0
- package/dist/components/FileViewer/FileViewer.compact.js +124 -0
- package/dist/components/FileViewer/FileViewer.compact.stylex.d.ts +138 -0
- package/dist/components/FileViewer/FileViewer.compact.stylex.js +140 -0
- package/dist/components/FileViewer/FileViewer.controls.d.ts +66 -0
- package/dist/components/FileViewer/FileViewer.controls.js +27 -0
- package/dist/components/FileViewer/FileViewer.d.ts +79 -0
- package/dist/components/FileViewer/FileViewer.edit.d.ts +63 -0
- package/dist/components/FileViewer/FileViewer.edit.js +209 -0
- package/dist/components/FileViewer/FileViewer.embedded.d.ts +49 -0
- package/dist/components/FileViewer/FileViewer.embedded.js +107 -0
- package/dist/components/FileViewer/FileViewer.frame.d.ts +92 -0
- package/dist/components/FileViewer/FileViewer.frame.js +36 -0
- package/dist/components/FileViewer/FileViewer.goTo.d.ts +13 -0
- package/dist/components/FileViewer/FileViewer.goTo.js +30 -0
- package/dist/components/FileViewer/FileViewer.js +846 -0
- package/dist/components/FileViewer/FileViewer.links.d.ts +18 -0
- package/dist/components/FileViewer/FileViewer.links.js +10 -0
- package/dist/components/FileViewer/FileViewer.present.d.ts +10 -0
- package/dist/components/FileViewer/FileViewer.present.js +36 -0
- package/dist/components/FileViewer/FileViewer.selection.d.ts +15 -0
- package/dist/components/FileViewer/FileViewer.selection.js +26 -0
- package/dist/components/FileViewer/FileViewer.sidebar.d.ts +24 -0
- package/dist/components/FileViewer/FileViewer.sidebar.js +53 -0
- package/dist/components/FileViewer/FileViewer.sidebar.stylex.d.ts +87 -0
- package/dist/components/FileViewer/FileViewer.sidebar.stylex.js +95 -0
- package/dist/components/FileViewer/FileViewer.skeleton.d.ts +27 -0
- package/dist/components/FileViewer/FileViewer.skeleton.js +80 -0
- package/dist/components/FileViewer/FileViewer.skeleton.stylex.d.ts +86 -0
- package/dist/components/FileViewer/FileViewer.skeleton.stylex.js +70 -0
- package/dist/components/FileViewer/FileViewer.stylex.d.ts +309 -0
- package/dist/components/FileViewer/FileViewer.stylex.js +306 -0
- package/dist/components/FileViewer/FileViewer.view.d.ts +61 -0
- package/dist/components/FileViewer/FileViewer.view.js +205 -0
- package/dist/components/FileViewer/FileViewer.view.stylex.d.ts +105 -0
- package/dist/components/FileViewer/FileViewer.view.stylex.js +109 -0
- package/dist/components/FileViewer/FileViewerHeaderTarget.d.ts +12 -0
- package/dist/components/FileViewer/FileViewerHeaderTarget.js +21 -0
- package/dist/components/FilterForm/FilterForm.context.d.ts +3 -0
- package/dist/components/FilterForm/FilterForm.context.js +3 -0
- package/dist/components/FilterForm/FilterForm.d.ts +6 -0
- package/dist/components/FilterForm/FilterForm.editor.d.ts +12 -0
- package/dist/components/FilterForm/FilterForm.editor.js +119 -0
- package/dist/components/FilterForm/FilterForm.js +125 -0
- package/dist/components/FilterForm/FilterForm.model.d.ts +9 -0
- package/dist/components/FilterForm/FilterForm.model.js +84 -0
- package/dist/components/FilterForm/FilterForm.options.d.ts +19 -0
- package/dist/components/FilterForm/FilterForm.options.js +89 -0
- package/dist/components/FilterForm/FilterForm.stylex.d.ts +17 -0
- package/dist/components/FilterForm/FilterForm.stylex.js +18 -0
- package/dist/components/FilterForm/FilterForm.types.d.ts +70 -0
- package/dist/components/FilterForm/FilterForm.types.js +1 -0
- package/dist/components/FlowFrame/FlowFrame.d.ts +11 -0
- package/dist/components/FlowFrame/FlowFrame.js +26 -0
- package/dist/components/FlowFrame/FlowFrame.stylex.d.ts +8 -0
- package/dist/components/FlowFrame/FlowFrame.stylex.js +8 -0
- package/dist/components/FocusContinuity/FocusContinuity.d.ts +8 -0
- package/dist/components/FocusContinuity/FocusContinuity.js +162 -0
- package/dist/components/FolderIcon/FolderIcon.d.ts +31 -0
- package/dist/components/FolderIcon/FolderIcon.js +34 -0
- package/dist/components/FolderIcon/FolderIcon.stylex.d.ts +9 -0
- package/dist/components/FolderIcon/FolderIcon.stylex.js +11 -0
- package/dist/components/FolderLabel/FolderLabel.d.ts +11 -0
- package/dist/components/FolderLabel/FolderLabel.js +9 -0
- package/dist/components/FolderLabel/FolderLabel.stylex.d.ts +19 -0
- package/dist/components/FolderLabel/FolderLabel.stylex.js +20 -0
- package/dist/components/ForEach/ForEach.d.ts +30 -0
- package/dist/components/ForEach/ForEach.data.d.ts +17 -0
- package/dist/components/ForEach/ForEach.data.js +32 -0
- package/dist/components/ForEach/ForEach.js +26 -0
- package/dist/components/Form/Form.context.d.ts +2 -0
- package/dist/components/Form/Form.context.js +5 -0
- package/dist/components/Form/Form.d.ts +16 -0
- package/dist/components/Form/Form.js +16 -0
- package/dist/components/Form/Form.stylex.d.ts +11 -0
- package/dist/components/Form/Form.stylex.js +12 -0
- package/dist/components/FormField/FormField.d.ts +25 -0
- package/dist/components/FormField/FormField.js +27 -0
- package/dist/components/FormField/FormField.stylex.d.ts +986 -0
- package/dist/components/FormField/FormField.stylex.js +1012 -0
- package/dist/components/Grid/Grid.d.ts +44 -0
- package/dist/components/Grid/Grid.js +212 -0
- package/dist/components/Grid/Grid.sections.d.ts +16 -0
- package/dist/components/Grid/Grid.sections.js +34 -0
- package/dist/components/Grid/Grid.stylex.d.ts +231 -0
- package/dist/components/Grid/Grid.stylex.js +235 -0
- package/dist/components/Grid/Grid.template.d.ts +6 -0
- package/dist/components/Grid/Grid.template.js +6 -0
- package/dist/components/HStack/HStack.d.ts +21 -0
- package/dist/components/HStack/HStack.js +13 -0
- package/dist/components/HStack/HStack.stylex.d.ts +174 -0
- package/dist/components/HStack/HStack.stylex.js +122 -0
- package/dist/components/Heading/Heading.context.d.ts +6 -0
- package/dist/components/Heading/Heading.context.js +12 -0
- package/dist/components/Heading/Heading.d.ts +15 -0
- package/dist/components/Heading/Heading.js +70 -0
- package/dist/components/Icon/FilledIcon.d.ts +5 -0
- package/dist/components/Icon/FilledIcon.js +12 -0
- package/dist/components/Icon/FilledIcon.stylex.d.ts +6 -0
- package/dist/components/Icon/FilledIcon.stylex.js +5 -0
- package/dist/components/Icon/Icon.d.ts +50 -0
- package/dist/components/Icon/Icon.js +110 -0
- package/dist/components/Icon/Icon.registry.d.ts +147 -0
- package/dist/components/Icon/Icon.registry.js +98 -0
- package/dist/components/Icon/Icon.stylex.d.ts +74 -0
- package/dist/components/Icon/Icon.stylex.js +63 -0
- package/dist/components/Icon/IconSlot.d.ts +18 -0
- package/dist/components/Icon/IconSlot.js +84 -0
- package/dist/components/Icon/badgedGlyph.d.ts +14 -0
- package/dist/components/Icon/badgedGlyph.js +23 -0
- package/dist/components/Icon/custom/BrandMarks.d.ts +12 -0
- package/dist/components/Icon/custom/BrandMarks.js +46 -0
- package/dist/components/Icon/custom/FileIcons.d.ts +27 -0
- package/dist/components/Icon/custom/FileIcons.js +117 -0
- package/dist/components/Icon/custom/FolderSearchInput.d.ts +6 -0
- package/dist/components/Icon/custom/FolderSearchInput.js +20 -0
- package/dist/components/Icon/custom/HighlighterOff.d.ts +2 -0
- package/dist/components/Icon/custom/HighlighterOff.js +7 -0
- package/dist/components/Icon/custom/LinkMarks.d.ts +74 -0
- package/dist/components/Icon/custom/LinkMarks.js +112 -0
- package/dist/components/Icon/custom/MessageSquareSearch.d.ts +5 -0
- package/dist/components/Icon/custom/MessageSquareSearch.js +10 -0
- package/dist/components/Icon/custom/PageRegions.d.ts +2 -0
- package/dist/components/Icon/custom/PageRegions.js +12 -0
- package/dist/components/Icon/custom/PanelExpand.d.ts +5 -0
- package/dist/components/Icon/custom/PanelExpand.js +12 -0
- package/dist/components/Icon/custom/SquareDashedPlus.d.ts +2 -0
- package/dist/components/Icon/custom/SquareDashedPlus.js +6 -0
- package/dist/components/Icon/getFileIconName.d.ts +11 -0
- package/dist/components/Icon/getFileIconName.js +140 -0
- package/dist/components/Icon/getLinkIconName.d.ts +23 -0
- package/dist/components/Icon/getLinkIconName.js +142 -0
- package/dist/components/Icon/lucideIcons.d.ts +9 -0
- package/dist/components/Icon/lucideIcons.js +14 -0
- package/dist/components/Icon/lucideIconsOnDemand.d.ts +11 -0
- package/dist/components/Icon/lucideIconsOnDemand.js +48 -0
- package/dist/components/IconButton/IconButton.d.ts +53 -0
- package/dist/components/IconButton/IconButton.js +116 -0
- package/dist/components/IconButton/IconButton.stylex.d.ts +88 -0
- package/dist/components/IconButton/IconButton.stylex.js +85 -0
- package/dist/components/Image/Image.d.ts +20 -0
- package/dist/components/Image/Image.js +45 -0
- package/dist/components/Image/Image.stylex.d.ts +70 -0
- package/dist/components/Image/Image.stylex.js +71 -0
- package/dist/components/ImageRedactor/ImageRedactor.d.ts +26 -0
- package/dist/components/ImageRedactor/ImageRedactor.js +56 -0
- package/dist/components/ImageRedactor/ImageRedactor.stylex.d.ts +49 -0
- package/dist/components/ImageRedactor/ImageRedactor.stylex.js +51 -0
- package/dist/components/Indicator/Indicator.d.ts +23 -0
- package/dist/components/Indicator/Indicator.js +105 -0
- package/dist/components/Indicator/Indicator.stylex.d.ts +181 -0
- package/dist/components/Indicator/Indicator.stylex.js +176 -0
- package/dist/components/InlineAlert/InlineAlert.d.ts +23 -0
- package/dist/components/InlineAlert/InlineAlert.js +54 -0
- package/dist/components/InlineAlert/InlineAlert.stylex.d.ts +105 -0
- package/dist/components/InlineAlert/InlineAlert.stylex.js +104 -0
- package/dist/components/IntentScope/IntentScope.d.ts +17 -0
- package/dist/components/IntentScope/IntentScope.js +19 -0
- package/dist/components/IntentScope/intentCoordinator.d.ts +12 -0
- package/dist/components/IntentScope/intentCoordinator.js +64 -0
- package/dist/components/IntentScope/useIntent.d.ts +12 -0
- package/dist/components/IntentScope/useIntent.js +47 -0
- package/dist/components/JsonValueView/JsonBlock.d.ts +31 -0
- package/dist/components/JsonValueView/JsonBlock.js +25 -0
- package/dist/components/JsonValueView/JsonCopyButton.d.ts +20 -0
- package/dist/components/JsonValueView/JsonCopyButton.js +37 -0
- package/dist/components/JsonValueView/JsonValueControls.d.ts +17 -0
- package/dist/components/JsonValueView/JsonValueControls.js +16 -0
- package/dist/components/JsonValueView/JsonValueExpandedView.d.ts +21 -0
- package/dist/components/JsonValueView/JsonValueExpandedView.js +20 -0
- package/dist/components/JsonValueView/JsonValueView.d.ts +38 -0
- package/dist/components/JsonValueView/JsonValueView.frame.d.ts +12 -0
- package/dist/components/JsonValueView/JsonValueView.frame.js +13 -0
- package/dist/components/JsonValueView/JsonValueView.js +98 -0
- package/dist/components/JsonValueView/JsonValueView.stylex.d.ts +65 -0
- package/dist/components/JsonValueView/JsonValueView.stylex.js +49 -0
- package/dist/components/JsonValueView/JsonValueView.tokens.d.ts +22 -0
- package/dist/components/JsonValueView/JsonValueView.tokens.js +20 -0
- package/dist/components/JsonValueView/JsonValueView.value.d.ts +25 -0
- package/dist/components/JsonValueView/JsonValueView.value.js +107 -0
- package/dist/components/JsonValueView/useJsonValueViewState.d.ts +20 -0
- package/dist/components/JsonValueView/useJsonValueViewState.js +54 -0
- package/dist/components/Keyboard/Keyboard.d.ts +14 -0
- package/dist/components/Keyboard/Keyboard.js +72 -0
- package/dist/components/Keyboard/Keyboard.stylex.d.ts +63 -0
- package/dist/components/Keyboard/Keyboard.stylex.js +64 -0
- package/dist/components/LazyGrid/LazyGrid.d.ts +11 -0
- package/dist/components/LazyGrid/LazyGrid.js +23 -0
- package/dist/components/LazyHStack/LazyHStack.d.ts +18 -0
- package/dist/components/LazyHStack/LazyHStack.js +11 -0
- package/dist/components/LazyList/LazyList.d.ts +11 -0
- package/dist/components/LazyList/LazyList.js +10 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.d.ts +4 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.js +192 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.range.d.ts +28 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.range.js +42 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.scroll.d.ts +7 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.scroll.js +27 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.sticky.d.ts +27 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.sticky.js +64 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.stylex.d.ts +110 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.stylex.js +100 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.types.d.ts +38 -0
- package/dist/components/LazyStackRoot/LazyStackRoot.types.js +1 -0
- package/dist/components/LazyTable/LazyTable.d.ts +11 -0
- package/dist/components/LazyTable/LazyTable.js +28 -0
- package/dist/components/LazyTable/LazyTable.layout.d.ts +43 -0
- package/dist/components/LazyTable/LazyTable.layout.js +213 -0
- package/dist/components/LazyTable/LazyTable.viewport.d.ts +5 -0
- package/dist/components/LazyTable/LazyTable.viewport.js +83 -0
- package/dist/components/LazyTree/LazyTree.d.ts +11 -0
- package/dist/components/LazyTree/LazyTree.js +10 -0
- package/dist/components/LazyVStack/LazyVStack.d.ts +18 -0
- package/dist/components/LazyVStack/LazyVStack.js +15 -0
- package/dist/components/Link/Link.adapter.d.ts +19 -0
- package/dist/components/Link/Link.adapter.js +18 -0
- package/dist/components/Link/Link.d.ts +52 -0
- package/dist/components/Link/Link.js +137 -0
- package/dist/components/Link/Link.stylex.d.ts +200 -0
- package/dist/components/Link/Link.stylex.js +206 -0
- package/dist/components/List/List.d.ts +16 -0
- package/dist/components/List/List.js +90 -0
- package/dist/components/List/List.stylex.d.ts +116 -0
- package/dist/components/List/List.stylex.js +116 -0
- package/dist/components/List/flattenHelpers.d.ts +19 -0
- package/dist/components/List/flattenHelpers.js +88 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.d.ts +9 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.js +16 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.stylex.d.ts +23 -0
- package/dist/components/LoadingOverlay/LoadingOverlay.stylex.js +25 -0
- package/dist/components/LockedPreview/LockedPreview.d.ts +19 -0
- package/dist/components/LockedPreview/LockedPreview.js +11 -0
- package/dist/components/LockedPreview/LockedPreview.stylex.d.ts +26 -0
- package/dist/components/LockedPreview/LockedPreview.stylex.js +27 -0
- package/dist/components/Menu/Menu.collection.d.ts +3 -0
- package/dist/components/Menu/Menu.collection.js +130 -0
- package/dist/components/Menu/Menu.context.d.ts +7 -0
- package/dist/components/Menu/Menu.context.js +16 -0
- package/dist/components/Menu/Menu.d.ts +89 -0
- package/dist/components/Menu/Menu.identity.d.ts +3 -0
- package/dist/components/Menu/Menu.identity.js +3 -0
- package/dist/components/Menu/Menu.inlineRoom.d.ts +15 -0
- package/dist/components/Menu/Menu.inlineRoom.js +64 -0
- package/dist/components/Menu/Menu.js +235 -0
- package/dist/components/Menu/Menu.popoverTrigger.d.ts +10 -0
- package/dist/components/Menu/Menu.popoverTrigger.js +103 -0
- package/dist/components/Menu/Menu.stylex.d.ts +232 -0
- package/dist/components/Menu/Menu.stylex.js +265 -0
- package/dist/components/Menu/MenuItem.children.d.ts +5 -0
- package/dist/components/Menu/MenuItem.children.js +23 -0
- package/dist/components/Meter/Meter.d.ts +25 -0
- package/dist/components/Meter/Meter.js +34 -0
- package/dist/components/Meter/Meter.stylex.d.ts +49 -0
- package/dist/components/Meter/Meter.stylex.js +47 -0
- package/dist/components/Modal/Modal.d.ts +6 -0
- package/dist/components/Modal/Modal.js +14 -0
- package/dist/components/Modal/Modal.types.d.ts +40 -0
- package/dist/components/Modal/Modal.types.js +1 -0
- package/dist/components/Modal/Overlay.d.ts +11 -0
- package/dist/components/Modal/Overlay.js +63 -0
- package/dist/components/Modal/Overlay.stylex.d.ts +190 -0
- package/dist/components/Modal/Overlay.stylex.js +128 -0
- package/dist/components/Modal/OverlayBoundary.d.ts +5 -0
- package/dist/components/Modal/OverlayBoundary.js +17 -0
- package/dist/components/NavigationItem/NavigationItem.d.ts +64 -0
- package/dist/components/NavigationItem/NavigationItem.js +116 -0
- package/dist/components/NavigationItem/NavigationItem.navigationContext.d.ts +15 -0
- package/dist/components/NavigationItem/NavigationItem.navigationContext.js +20 -0
- package/dist/components/NavigationItem/NavigationItem.stylex.d.ts +30 -0
- package/dist/components/NavigationItem/NavigationItem.stylex.js +37 -0
- package/dist/components/NavigationRail/NavigationRail.context.d.ts +5 -0
- package/dist/components/NavigationRail/NavigationRail.context.js +9 -0
- package/dist/components/NavigationRail/NavigationRail.d.ts +12 -0
- package/dist/components/NavigationRail/NavigationRail.js +72 -0
- package/dist/components/NavigationRail/NavigationRail.stylex.d.ts +57 -0
- package/dist/components/NavigationRail/NavigationRail.stylex.js +58 -0
- package/dist/components/NavigationTree/NavigationTree.activeSections.d.ts +7 -0
- package/dist/components/NavigationTree/NavigationTree.activeSections.js +75 -0
- package/dist/components/NavigationTree/NavigationTree.d.ts +21 -0
- package/dist/components/NavigationTree/NavigationTree.js +273 -0
- package/dist/components/NavigationTree/NavigationTree.stylex.d.ts +245 -0
- package/dist/components/NavigationTree/NavigationTree.stylex.js +262 -0
- package/dist/components/NumberField/NumberField.d.ts +73 -0
- package/dist/components/NumberField/NumberField.js +112 -0
- package/dist/components/Option/Option.d.ts +18 -0
- package/dist/components/Option/Option.js +44 -0
- package/dist/components/Option/Option.stylex.d.ts +75 -0
- package/dist/components/Option/Option.stylex.js +74 -0
- package/dist/components/Page/NestedPageAuxiliary.d.ts +3 -0
- package/dist/components/Page/NestedPageAuxiliary.js +44 -0
- package/dist/components/Page/Page.d.ts +59 -0
- package/dist/components/Page/Page.js +265 -0
- package/dist/components/Page/Page.stylex.d.ts +333 -0
- package/dist/components/Page/Page.stylex.js +310 -0
- package/dist/components/Page/PageAuxiliary.context.d.ts +7 -0
- package/dist/components/Page/PageAuxiliary.context.js +2 -0
- package/dist/components/Page/PageAuxiliaryPanel.d.ts +32 -0
- package/dist/components/Page/PageAuxiliaryPanel.js +50 -0
- package/dist/components/Page/PageLabel.d.ts +26 -0
- package/dist/components/Page/PageLabel.js +56 -0
- package/dist/components/Page/PageScrollMotion.d.ts +24 -0
- package/dist/components/Page/PageScrollMotion.js +186 -0
- package/dist/components/Page/PageTitleRow.d.ts +21 -0
- package/dist/components/Page/PageTitleRow.js +50 -0
- package/dist/components/Page/PageTitleRow.stylex.d.ts +16 -0
- package/dist/components/Page/PageTitleRow.stylex.js +17 -0
- package/dist/components/Page/PageToolbar.context.d.ts +35 -0
- package/dist/components/Page/PageToolbar.context.js +43 -0
- package/dist/components/Page/PageToolbar.d.ts +13 -0
- package/dist/components/Page/PageToolbar.js +150 -0
- package/dist/components/Page/PageToolbar.motion.d.ts +5 -0
- package/dist/components/Page/PageToolbar.motion.js +27 -0
- package/dist/components/Page/PageToolbar.stylex.d.ts +41 -0
- package/dist/components/Page/PageToolbar.stylex.js +37 -0
- package/dist/components/Page/revealAuxiliary.d.ts +2 -0
- package/dist/components/Page/revealAuxiliary.js +56 -0
- package/dist/components/PageToolbar/PageToolbar.d.ts +7 -0
- package/dist/components/PageToolbar/PageToolbar.js +12 -0
- package/dist/components/Popover/OverflowPickerSearch.d.ts +7 -0
- package/dist/components/Popover/OverflowPickerSearch.js +10 -0
- package/dist/components/Popover/Popover.anchor.d.ts +12 -0
- package/dist/components/Popover/Popover.anchor.js +87 -0
- package/dist/components/Popover/Popover.context.d.ts +11 -0
- package/dist/components/Popover/Popover.context.js +11 -0
- package/dist/components/Popover/Popover.d.ts +69 -0
- package/dist/components/Popover/Popover.js +253 -0
- package/dist/components/Popover/Popover.pressTrigger.d.ts +12 -0
- package/dist/components/Popover/Popover.pressTrigger.js +54 -0
- package/dist/components/Popover/Popover.stylex.d.ts +98 -0
- package/dist/components/Popover/Popover.stylex.js +109 -0
- package/dist/components/Popover/Popover.viewport.d.ts +10 -0
- package/dist/components/Popover/Popover.viewport.js +61 -0
- package/dist/components/Popover/useHoverOpen.d.ts +24 -0
- package/dist/components/Popover/useHoverOpen.js +132 -0
- package/dist/components/Progress/Progress.d.ts +21 -0
- package/dist/components/Progress/Progress.js +20 -0
- package/dist/components/Progress/Progress.stylex.d.ts +90 -0
- package/dist/components/Progress/Progress.stylex.js +83 -0
- package/dist/components/RadioGroup/RadioGroup.children.d.ts +8 -0
- package/dist/components/RadioGroup/RadioGroup.children.js +64 -0
- package/dist/components/RadioGroup/RadioGroup.colors.d.ts +13 -0
- package/dist/components/RadioGroup/RadioGroup.colors.js +11 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +73 -0
- package/dist/components/RadioGroup/RadioGroup.js +85 -0
- package/dist/components/RadioGroup/RadioGroup.stylex.d.ts +87 -0
- package/dist/components/RadioGroup/RadioGroup.stylex.js +57 -0
- package/dist/components/ReflowContainer/ReflowContainer.d.ts +30 -0
- package/dist/components/ReflowContainer/ReflowContainer.js +106 -0
- package/dist/components/Region/Region.d.ts +50 -0
- package/dist/components/Region/Region.js +29 -0
- package/dist/components/RenderingTreatment/RenderingTreatment.context.d.ts +34 -0
- package/dist/components/RenderingTreatment/RenderingTreatment.context.js +49 -0
- package/dist/components/ResourceList/ResourceList.d.ts +7 -0
- package/dist/components/ResourceList/ResourceList.js +89 -0
- package/dist/components/ResourceList/ResourceList.model.d.ts +65 -0
- package/dist/components/ResourceList/ResourceList.model.js +372 -0
- package/dist/components/ResourceList/ResourceList.rows.d.ts +18 -0
- package/dist/components/ResourceList/ResourceList.rows.js +86 -0
- package/dist/components/ResourceList/ResourceList.stylex.d.ts +338 -0
- package/dist/components/ResourceList/ResourceList.stylex.js +272 -0
- package/dist/components/ResourceList/ResourceList.table.d.ts +22 -0
- package/dist/components/ResourceList/ResourceList.table.js +149 -0
- package/dist/components/ResourceList/ResourceList.types.d.ts +120 -0
- package/dist/components/ResourceList/ResourceList.types.js +18 -0
- package/dist/components/Reveal/Reveal.d.ts +36 -0
- package/dist/components/Reveal/Reveal.js +18 -0
- package/dist/components/Reveal/Reveal.stylex.d.ts +125 -0
- package/dist/components/Reveal/Reveal.stylex.js +155 -0
- package/dist/components/RotatingStatus/RotatingStatus.d.ts +17 -0
- package/dist/components/RotatingStatus/RotatingStatus.js +43 -0
- package/dist/components/RotatingStatus/RotatingStatus.stylex.d.ts +27 -0
- package/dist/components/RotatingStatus/RotatingStatus.stylex.js +28 -0
- package/dist/components/RouterProvider/RouterProvider.d.ts +22 -0
- package/dist/components/RouterProvider/RouterProvider.js +12 -0
- package/dist/components/RowButton/RowButton.d.ts +21 -0
- package/dist/components/RowButton/RowButton.js +16 -0
- package/dist/components/RowButton/RowButton.stylex.d.ts +71 -0
- package/dist/components/RowButton/RowButton.stylex.js +80 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.context.d.ts +20 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.context.js +229 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.d.ts +10 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.edges.d.ts +16 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.edges.js +114 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.js +30 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.styles.d.ts +4 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.styles.js +44 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.stylex.d.ts +15 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.stylex.js +15 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.types.d.ts +71 -0
- package/dist/components/SafeInsetArea/SafeInsetArea.types.js +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +73 -0
- package/dist/components/ScrollArea/ScrollArea.js +176 -0
- package/dist/components/ScrollArea/ScrollArea.stylex.d.ts +222 -0
- package/dist/components/ScrollArea/ScrollArea.stylex.js +253 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.d.ts +8 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.js +13 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.stylex.d.ts +60 -0
- package/dist/components/ScrollArea/ScrollAreaEdgeEffect.stylex.js +37 -0
- package/dist/components/ScrollArea/ScrollAreaMarker.d.ts +23 -0
- package/dist/components/ScrollArea/ScrollAreaMarker.js +14 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.d.ts +17 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.js +206 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.stylex.d.ts +166 -0
- package/dist/components/ScrollArea/ScrollAreaMarkers.stylex.js +194 -0
- package/dist/components/ScrollArea/ScrollAreaOutline.d.ts +20 -0
- package/dist/components/ScrollArea/ScrollAreaOutline.js +53 -0
- package/dist/components/ScrollArea/ScrollAreaScrollbar.d.ts +16 -0
- package/dist/components/ScrollArea/ScrollAreaScrollbar.js +137 -0
- package/dist/components/ScrollArea/navigateToScrollTarget.d.ts +5 -0
- package/dist/components/ScrollArea/navigateToScrollTarget.js +17 -0
- package/dist/components/ScrollArea/scrollbarGeometry.d.ts +6 -0
- package/dist/components/ScrollArea/scrollbarGeometry.js +7 -0
- package/dist/components/ScrollArea/useHasNoTabStops.d.ts +3 -0
- package/dist/components/ScrollArea/useHasNoTabStops.js +37 -0
- package/dist/components/ScrollArea/useHorizontalWheel.d.ts +3 -0
- package/dist/components/ScrollArea/useHorizontalWheel.js +40 -0
- package/dist/components/ScrollArea/useMarkerNavigation.d.ts +7 -0
- package/dist/components/ScrollArea/useMarkerNavigation.js +41 -0
- package/dist/components/ScrollArea/useMarkerRail.d.ts +16 -0
- package/dist/components/ScrollArea/useMarkerRail.js +37 -0
- package/dist/components/ScrollArea/useScrollArea.d.ts +22 -0
- package/dist/components/ScrollArea/useScrollArea.js +103 -0
- package/dist/components/ScrollArea/useScrollAreaMarkers.d.ts +38 -0
- package/dist/components/ScrollArea/useScrollAreaMarkers.js +154 -0
- package/dist/components/SearchField/SearchField.d.ts +29 -0
- package/dist/components/SearchField/SearchField.js +51 -0
- package/dist/components/SearchField/SearchField.stylex.d.ts +82 -0
- package/dist/components/SearchField/SearchField.stylex.js +60 -0
- package/dist/components/SecretField/SecretField.d.ts +66 -0
- package/dist/components/SecretField/SecretField.js +61 -0
- package/dist/components/Section/Section.d.ts +41 -0
- package/dist/components/Section/Section.data.d.ts +12 -0
- package/dist/components/Section/Section.data.js +16 -0
- package/dist/components/Section/Section.js +45 -0
- package/dist/components/Section/Section.stylex.d.ts +24 -0
- package/dist/components/Section/Section.stylex.js +26 -0
- package/dist/components/Select/Select.body.d.ts +14 -0
- package/dist/components/Select/Select.body.js +17 -0
- package/dist/components/Select/Select.collection.d.ts +7 -0
- package/dist/components/Select/Select.collection.js +67 -0
- package/dist/components/Select/Select.context.d.ts +1 -0
- package/dist/components/Select/Select.context.js +2 -0
- package/dist/components/Select/Select.d.ts +60 -0
- package/dist/components/Select/Select.js +118 -0
- package/dist/components/Select/Select.stylex.d.ts +131 -0
- package/dist/components/Select/Select.stylex.js +132 -0
- package/dist/components/Select/useSelectFormReset.d.ts +2 -0
- package/dist/components/Select/useSelectFormReset.js +25 -0
- package/dist/components/Separator/Separator.d.ts +26 -0
- package/dist/components/Separator/Separator.js +31 -0
- package/dist/components/Separator/Separator.stylex.d.ts +33 -0
- package/dist/components/Separator/Separator.stylex.js +34 -0
- package/dist/components/Sheet/Sheet.d.ts +24 -0
- package/dist/components/Sheet/Sheet.js +17 -0
- package/dist/components/Shortcuts/ShortcutIndicator.d.ts +5 -0
- package/dist/components/Shortcuts/ShortcutIndicator.js +10 -0
- package/dist/components/Shortcuts/Shortcuts.context.d.ts +9 -0
- package/dist/components/Shortcuts/Shortcuts.context.js +8 -0
- package/dist/components/Shortcuts/Shortcuts.d.ts +14 -0
- package/dist/components/Shortcuts/Shortcuts.js +50 -0
- package/dist/components/Shortcuts/Shortcuts.stylex.d.ts +29 -0
- package/dist/components/Shortcuts/Shortcuts.stylex.js +28 -0
- package/dist/components/Shortcuts/Shortcuts.types.d.ts +56 -0
- package/dist/components/Shortcuts/Shortcuts.types.js +1 -0
- package/dist/components/Shortcuts/ShortcutsHelp.d.ts +5 -0
- package/dist/components/Shortcuts/ShortcutsHelp.js +70 -0
- package/dist/components/Shortcuts/shortcutKeys.d.ts +6 -0
- package/dist/components/Shortcuts/shortcutKeys.js +61 -0
- package/dist/components/Shortcuts/shortcutRegistry.d.ts +36 -0
- package/dist/components/Shortcuts/shortcutRegistry.js +153 -0
- package/dist/components/Shortcuts/useShortcut.d.ts +12 -0
- package/dist/components/Shortcuts/useShortcut.js +127 -0
- package/dist/components/ShowMore/ShowMore.d.ts +18 -0
- package/dist/components/ShowMore/ShowMore.js +44 -0
- package/dist/components/ShowMore/ShowMore.lines.d.ts +23 -0
- package/dist/components/ShowMore/ShowMore.lines.js +49 -0
- package/dist/components/ShowMore/ShowMore.stylex.d.ts +24 -0
- package/dist/components/ShowMore/ShowMore.stylex.js +26 -0
- package/dist/components/Skeleton/Skeleton.d.ts +16 -0
- package/dist/components/Skeleton/Skeleton.js +8 -0
- package/dist/components/Skeleton/Skeleton.stylex.d.ts +68 -0
- package/dist/components/Skeleton/Skeleton.stylex.js +78 -0
- package/dist/components/Skeleton/useSkeleton.d.ts +87 -0
- package/dist/components/Skeleton/useSkeleton.js +34 -0
- package/dist/components/Slider/Slider.d.ts +44 -0
- package/dist/components/Slider/Slider.js +56 -0
- package/dist/components/Slider/Slider.stylex.d.ts +105 -0
- package/dist/components/Slider/Slider.stylex.js +70 -0
- package/dist/components/Slot/Slot.d.ts +17 -0
- package/dist/components/Slot/Slot.js +83 -0
- package/dist/components/Slot/Slot.resolve.d.ts +3 -0
- package/dist/components/Slot/Slot.resolve.js +22 -0
- package/dist/components/Slot/Slot.scope.d.ts +7 -0
- package/dist/components/Slot/Slot.scope.js +19 -0
- package/dist/components/Slot/Slot.types.d.ts +64 -0
- package/dist/components/Slot/Slot.types.js +1 -0
- package/dist/components/Spacer/Spacer.d.ts +5 -0
- package/dist/components/Spacer/Spacer.js +6 -0
- package/dist/components/Spacer/Spacer.stylex.d.ts +10 -0
- package/dist/components/Spacer/Spacer.stylex.js +10 -0
- package/dist/components/SplitLayout/SplitLayout.d.ts +43 -0
- package/dist/components/SplitLayout/SplitLayout.js +20 -0
- package/dist/components/SplitLayout/SplitLayout.stylex.d.ts +51 -0
- package/dist/components/SplitLayout/SplitLayout.stylex.js +77 -0
- package/dist/components/Stack/StackInsets.context.d.ts +14 -0
- package/dist/components/Stack/StackInsets.context.js +17 -0
- package/dist/components/Stack/StackPadding.stylex.d.ts +113 -0
- package/dist/components/Stack/StackPadding.stylex.js +154 -0
- package/dist/components/Stack/StackPropTypes.d.ts +30 -0
- package/dist/components/Stack/StackPropTypes.js +14 -0
- package/dist/components/StatCard/StatCard.d.ts +32 -0
- package/dist/components/StatCard/StatCard.js +15 -0
- package/dist/components/StatCard/StatCard.stylex.d.ts +101 -0
- package/dist/components/StatCard/StatCard.stylex.js +127 -0
- package/dist/components/StatCard/StatCard.vars.stylex.d.ts +22 -0
- package/dist/components/StatCard/StatCard.vars.stylex.js +26 -0
- package/dist/components/StepList/StepList.d.ts +52 -0
- package/dist/components/StepList/StepList.js +36 -0
- package/dist/components/StepList/StepList.stylex.d.ts +139 -0
- package/dist/components/StepList/StepList.stylex.js +134 -0
- package/dist/components/Stepper/Stepper.d.ts +49 -0
- package/dist/components/Stepper/Stepper.js +59 -0
- package/dist/components/Stepper/Stepper.stylex.d.ts +131 -0
- package/dist/components/Stepper/Stepper.stylex.js +147 -0
- package/dist/components/Stepper/useStepNamesFit.d.ts +12 -0
- package/dist/components/Stepper/useStepNamesFit.js +65 -0
- package/dist/components/Surface/Surface.colors.d.ts +4 -0
- package/dist/components/Surface/Surface.colors.js +34 -0
- package/dist/components/Surface/Surface.d.ts +41 -0
- package/dist/components/Surface/Surface.js +36 -0
- package/dist/components/Surface/Surface.stylex.d.ts +139 -0
- package/dist/components/Surface/Surface.stylex.js +121 -0
- package/dist/components/Switch/Switch.d.ts +50 -0
- package/dist/components/Switch/Switch.js +28 -0
- package/dist/components/TOC/TOC.activeEntry.d.ts +14 -0
- package/dist/components/TOC/TOC.activeEntry.js +89 -0
- package/dist/components/TOC/TOC.context.d.ts +33 -0
- package/dist/components/TOC/TOC.context.js +55 -0
- package/dist/components/TOC/TOC.d.ts +8 -0
- package/dist/components/TOC/TOC.js +49 -0
- package/dist/components/TOC/TOC.stylex.d.ts +60 -0
- package/dist/components/TOC/TOC.stylex.js +59 -0
- package/dist/components/Table/Table.d.ts +6 -0
- package/dist/components/Table/Table.data.d.ts +24 -0
- package/dist/components/Table/Table.data.js +224 -0
- package/dist/components/Table/Table.js +317 -0
- package/dist/components/Table/Table.layout.d.ts +33 -0
- package/dist/components/Table/Table.layout.js +246 -0
- package/dist/components/Table/Table.parts.d.ts +13 -0
- package/dist/components/Table/Table.parts.js +17 -0
- package/dist/components/Table/Table.stylex.d.ts +504 -0
- package/dist/components/Table/Table.stylex.js +468 -0
- package/dist/components/Table/Table.types.d.ts +114 -0
- package/dist/components/Table/Table.types.js +11 -0
- package/dist/components/Table/TableRowLink.d.ts +16 -0
- package/dist/components/Table/TableRowLink.js +39 -0
- package/dist/components/Tabs/NewTabAction.d.ts +7 -0
- package/dist/components/Tabs/NewTabAction.js +25 -0
- package/dist/components/Tabs/Tab.d.ts +11 -0
- package/dist/components/Tabs/Tab.js +10 -0
- package/dist/components/Tabs/TabActionButton.d.ts +14 -0
- package/dist/components/Tabs/TabActionButton.js +60 -0
- package/dist/components/Tabs/TabActions.d.ts +12 -0
- package/dist/components/Tabs/TabActions.js +119 -0
- package/dist/components/Tabs/TabOutlet.d.ts +9 -0
- package/dist/components/Tabs/TabOutlet.js +15 -0
- package/dist/components/Tabs/TabPanelTransition.d.ts +18 -0
- package/dist/components/Tabs/TabPanelTransition.js +20 -0
- package/dist/components/Tabs/Tabs.children.d.ts +16 -0
- package/dist/components/Tabs/Tabs.children.js +97 -0
- package/dist/components/Tabs/Tabs.d.ts +5 -0
- package/dist/components/Tabs/Tabs.js +270 -0
- package/dist/components/Tabs/Tabs.state.d.ts +19 -0
- package/dist/components/Tabs/Tabs.state.js +13 -0
- package/dist/components/Tabs/Tabs.stylex.d.ts +476 -0
- package/dist/components/Tabs/Tabs.stylex.js +376 -0
- package/dist/components/Tabs/Tabs.types.d.ts +99 -0
- package/dist/components/Tabs/Tabs.types.js +6 -0
- package/dist/components/Tabs/TabsPicker.d.ts +8 -0
- package/dist/components/Tabs/TabsPicker.js +21 -0
- package/dist/components/Tabs/useTabOverflow.d.ts +9 -0
- package/dist/components/Tabs/useTabOverflow.js +55 -0
- package/dist/components/Tabs/useTabReorder.d.ts +22 -0
- package/dist/components/Tabs/useTabReorder.js +133 -0
- package/dist/components/Tabs/useTabScrollRestoration.d.ts +4 -0
- package/dist/components/Tabs/useTabScrollRestoration.js +100 -0
- package/dist/components/Tabs/useTabs.d.ts +10 -0
- package/dist/components/Tabs/useTabs.js +43 -0
- package/dist/components/Tabs/useTabsPickerMotion.d.ts +6 -0
- package/dist/components/Tabs/useTabsPickerMotion.js +64 -0
- package/dist/components/TagGroup/CollapsedTagGroup.d.ts +13 -0
- package/dist/components/TagGroup/CollapsedTagGroup.js +205 -0
- package/dist/components/TagGroup/Tag.d.ts +22 -0
- package/dist/components/TagGroup/Tag.js +5 -0
- package/dist/components/TagGroup/TagCollection.d.ts +15 -0
- package/dist/components/TagGroup/TagCollection.js +30 -0
- package/dist/components/TagGroup/TagContents.d.ts +8 -0
- package/dist/components/TagGroup/TagContents.js +109 -0
- package/dist/components/TagGroup/TagGroup.children.d.ts +11 -0
- package/dist/components/TagGroup/TagGroup.children.js +59 -0
- package/dist/components/TagGroup/TagGroup.d.ts +29 -0
- package/dist/components/TagGroup/TagGroup.js +20 -0
- package/dist/components/TagGroup/TagGroup.stylex.d.ts +226 -0
- package/dist/components/TagGroup/TagGroup.stylex.js +162 -0
- package/dist/components/TagGroup/tagGroupLayout.d.ts +5 -0
- package/dist/components/TagGroup/tagGroupLayout.js +20 -0
- package/dist/components/Text/Text.d.ts +81 -0
- package/dist/components/Text/Text.js +124 -0
- package/dist/components/Text/Text.stylex.d.ts +239 -0
- package/dist/components/Text/Text.stylex.js +231 -0
- package/dist/components/Text/Text.truncation.d.ts +44 -0
- package/dist/components/Text/Text.truncation.js +365 -0
- package/dist/components/Text/Text.truncation.stylex.d.ts +42 -0
- package/dist/components/Text/Text.truncation.stylex.js +53 -0
- package/dist/components/TextArea/TextArea.d.ts +63 -0
- package/dist/components/TextArea/TextArea.js +43 -0
- package/dist/components/TextField/TextField.d.ts +67 -0
- package/dist/components/TextField/TextField.js +46 -0
- package/dist/components/TileButton/TileButton.d.ts +37 -0
- package/dist/components/TileButton/TileButton.js +23 -0
- package/dist/components/TileButton/TileButton.stylex.d.ts +68 -0
- package/dist/components/TileButton/TileButton.stylex.js +74 -0
- package/dist/components/TileButton/TileButton.vars.stylex.d.ts +10 -0
- package/dist/components/TileButton/TileButton.vars.stylex.js +13 -0
- package/dist/components/Time/Time.d.ts +25 -0
- package/dist/components/Time/Time.format.d.ts +22 -0
- package/dist/components/Time/Time.format.js +55 -0
- package/dist/components/Time/Time.js +31 -0
- package/dist/components/Time/Time.stylex.d.ts +14 -0
- package/dist/components/Time/Time.stylex.js +15 -0
- package/dist/components/TimeField/TimeField.d.ts +52 -0
- package/dist/components/TimeField/TimeField.js +53 -0
- package/dist/components/TimelineLanes/TimelineLanes.d.ts +71 -0
- package/dist/components/TimelineLanes/TimelineLanes.js +83 -0
- package/dist/components/TimelineLanes/TimelineLanes.scale.d.ts +14 -0
- package/dist/components/TimelineLanes/TimelineLanes.scale.js +35 -0
- package/dist/components/TimelineLanes/TimelineLanes.stylex.d.ts +280 -0
- package/dist/components/TimelineLanes/TimelineLanes.stylex.js +329 -0
- package/dist/components/Toast/Toast.context.d.ts +3 -0
- package/dist/components/Toast/Toast.context.js +8 -0
- package/dist/components/Toast/Toast.d.ts +5 -0
- package/dist/components/Toast/Toast.js +63 -0
- package/dist/components/Toast/Toast.stylex.d.ts +173 -0
- package/dist/components/Toast/Toast.stylex.js +137 -0
- package/dist/components/Toast/Toast.types.d.ts +31 -0
- package/dist/components/Toast/Toast.types.js +9 -0
- package/dist/components/Toast/ToastCountdown.d.ts +7 -0
- package/dist/components/Toast/ToastCountdown.js +48 -0
- package/dist/components/Toast/ToastView.d.ts +6 -0
- package/dist/components/Toast/ToastView.js +39 -0
- package/dist/components/Toast/createToastEntry.d.ts +9 -0
- package/dist/components/Toast/createToastEntry.js +33 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +45 -0
- package/dist/components/ToggleButton/ToggleButton.js +97 -0
- package/dist/components/ToggleButton/ToggleButton.stylex.d.ts +118 -0
- package/dist/components/ToggleButton/ToggleButton.stylex.js +109 -0
- package/dist/components/Toolbar/Toolbar.children.d.ts +19 -0
- package/dist/components/Toolbar/Toolbar.children.js +83 -0
- package/dist/components/Toolbar/Toolbar.d.ts +37 -0
- package/dist/components/Toolbar/Toolbar.js +180 -0
- package/dist/components/Toolbar/Toolbar.layout.d.ts +20 -0
- package/dist/components/Toolbar/Toolbar.layout.js +104 -0
- package/dist/components/Toolbar/Toolbar.menu.d.ts +27 -0
- package/dist/components/Toolbar/Toolbar.menu.js +213 -0
- package/dist/components/Toolbar/Toolbar.stylex.d.ts +69 -0
- package/dist/components/Toolbar/Toolbar.stylex.js +48 -0
- package/dist/components/Toolbar/ToolbarControl.context.d.ts +6 -0
- package/dist/components/Toolbar/ToolbarControl.context.js +9 -0
- package/dist/components/Toolbar/ToolbarControl.stylex.d.ts +42 -0
- package/dist/components/Toolbar/ToolbarControl.stylex.js +50 -0
- package/dist/components/Toolbar/ToolbarGroupLabel.d.ts +3 -0
- package/dist/components/Toolbar/ToolbarGroupLabel.js +22 -0
- package/dist/components/Toolbar/ToolbarMenuTrigger.d.ts +6 -0
- package/dist/components/Toolbar/ToolbarMenuTrigger.js +20 -0
- package/dist/components/Toolbar/ToolbarNote.d.ts +13 -0
- package/dist/components/Toolbar/ToolbarNote.js +8 -0
- package/dist/components/Tooltip/Tooltip.d.ts +43 -0
- package/dist/components/Tooltip/Tooltip.js +139 -0
- package/dist/components/Tooltip/Tooltip.stylex.d.ts +106 -0
- package/dist/components/Tooltip/Tooltip.stylex.js +105 -0
- package/dist/components/Tooltip/Tooltip.unavailableContext.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.unavailableContext.js +12 -0
- package/dist/components/TourLayer/TourLayer.d.ts +14 -0
- package/dist/components/TourLayer/TourLayer.js +17 -0
- package/dist/components/TourLayer/TourLayer.stylex.d.ts +10 -0
- package/dist/components/TourLayer/TourLayer.stylex.js +11 -0
- package/dist/components/Tree/Tree.d.ts +21 -0
- package/dist/components/Tree/Tree.js +88 -0
- package/dist/components/Tree/Tree.stylex.d.ts +101 -0
- package/dist/components/Tree/Tree.stylex.js +103 -0
- package/dist/components/Trigger/Trigger.d.ts +10 -0
- package/dist/components/Trigger/Trigger.js +23 -0
- package/dist/components/UnsavedChangesScope/UnsavedChangesScope.d.ts +44 -0
- package/dist/components/UnsavedChangesScope/UnsavedChangesScope.js +136 -0
- package/dist/components/VStack/VStack.d.ts +26 -0
- package/dist/components/VStack/VStack.js +11 -0
- package/dist/components/VStack/VStack.stylex.d.ts +174 -0
- package/dist/components/VStack/VStack.stylex.js +124 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +13 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.js +11 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.d.ts +28 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.js +45 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.stylex.d.ts +88 -0
- package/dist/components/WelcomeDialog/WelcomeDialog.stylex.js +106 -0
- package/dist/components/WindowSplitter/WindowSplitter.d.ts +43 -0
- package/dist/components/WindowSplitter/WindowSplitter.detached.d.ts +6 -0
- package/dist/components/WindowSplitter/WindowSplitter.detached.js +7 -0
- package/dist/components/WindowSplitter/WindowSplitter.drawer.d.ts +70 -0
- package/dist/components/WindowSplitter/WindowSplitter.drawer.js +88 -0
- package/dist/components/WindowSplitter/WindowSplitter.js +613 -0
- package/dist/components/WindowSplitter/WindowSplitter.peek.d.ts +33 -0
- package/dist/components/WindowSplitter/WindowSplitter.peek.js +90 -0
- package/dist/components/WindowSplitter/WindowSplitter.sizing.d.ts +11 -0
- package/dist/components/WindowSplitter/WindowSplitter.sizing.js +50 -0
- package/dist/components/WindowSplitter/WindowSplitter.stylex.d.ts +180 -0
- package/dist/components/WindowSplitter/WindowSplitter.stylex.js +163 -0
- package/dist/components/ZStack/ZStack.d.ts +41 -0
- package/dist/components/ZStack/ZStack.js +43 -0
- package/dist/components/ZStack/ZStack.stylex.d.ts +78 -0
- package/dist/components/ZStack/ZStack.stylex.js +42 -0
- package/dist/experimental/index.d.ts +48 -0
- package/dist/experimental/index.js +45 -0
- package/dist/files/index.d.ts +22 -0
- package/dist/files/index.js +19 -0
- package/dist/foundations/Color.context.d.ts +29 -0
- package/dist/foundations/Color.context.js +58 -0
- package/dist/foundations/Color.core.d.ts +70 -0
- package/dist/foundations/Color.core.js +323 -0
- package/dist/foundations/Color.d.ts +1 -0
- package/dist/foundations/Color.js +1 -0
- package/dist/foundations/Color.styles.stylex.d.ts +21 -0
- package/dist/foundations/Color.styles.stylex.js +34 -0
- package/dist/foundations/constants.stylex.d.ts +18 -0
- package/dist/foundations/constants.stylex.js +20 -0
- package/dist/foundations/textStyles.stylex.d.ts +87 -0
- package/dist/foundations/textStyles.stylex.js +88 -0
- package/dist/foundations/viewport.d.ts +5 -0
- package/dist/foundations/viewport.js +17 -0
- package/dist/index.d.ts +171 -0
- package/dist/index.js +189 -0
- package/dist/internal.d.ts +2 -0
- package/dist/internal.js +1 -0
- package/dist/theming/OverlayRegion.d.ts +15 -0
- package/dist/theming/OverlayRegion.js +36 -0
- package/dist/theming/ThemeRegion.d.ts +22 -0
- package/dist/theming/ThemeRegion.js +28 -0
- package/dist/theming/ThemeScope.context.d.ts +40 -0
- package/dist/theming/ThemeScope.context.js +76 -0
- package/dist/theming/ThemeScope.d.ts +35 -0
- package/dist/theming/ThemeScope.js +67 -0
- package/dist/theming/ThemeScope.stylex.d.ts +34 -0
- package/dist/theming/ThemeScope.stylex.js +54 -0
- package/dist/theming/color.d.ts +51 -0
- package/dist/theming/color.js +175 -0
- package/dist/theming/createTheme.d.ts +145 -0
- package/dist/theming/createTheme.js +1009 -0
- package/dist/theming/designTokens.d.ts +49 -0
- package/dist/theming/designTokens.js +138 -0
- package/dist/theming/effectiveTheme.d.ts +154 -0
- package/dist/theming/effectiveTheme.js +62 -0
- package/dist/theming/themeStylesheet.d.ts +20 -0
- package/dist/theming/themeStylesheet.js +106 -0
- package/dist/theming/tokens.d.ts +48 -0
- package/dist/theming/tokens.js +314 -0
- package/dist/theming/tokens.stylex.d.ts +592 -0
- package/dist/theming/tokens.stylex.js +1265 -0
- package/dist/utils/declarationError.d.ts +7 -0
- package/dist/utils/declarationError.js +16 -0
- package/dist/utils/deviceCache.d.ts +40 -0
- package/dist/utils/deviceCache.js +234 -0
- package/dist/utils/isSoftwareKeyboardLikely.d.ts +2 -0
- package/dist/utils/isSoftwareKeyboardLikely.js +12 -0
- package/dist/utils/performance.d.ts +3 -0
- package/dist/utils/performance.js +5 -0
- package/dist/utils/preferences.d.ts +35 -0
- package/dist/utils/preferences.js +77 -0
- package/dist/utils/preload.d.ts +10 -0
- package/dist/utils/preload.js +12 -0
- package/dist/utils/props.d.ts +5 -0
- package/dist/utils/props.js +10 -0
- package/dist/utils/resolveAutoFocus.d.ts +3 -0
- package/dist/utils/resolveAutoFocus.js +8 -0
- package/dist/utils/trackRegionActivity.d.ts +13 -0
- package/dist/utils/trackRegionActivity.js +72 -0
- package/dist/utils/useAutoFocus.d.ts +6 -0
- package/dist/utils/useAutoFocus.js +16 -0
- package/dist/utils/visuallyHidden.stylex.d.ts +15 -0
- package/dist/utils/visuallyHidden.stylex.js +15 -0
- package/dist/vite/index.d.ts +21 -0
- package/dist/vite/index.js +104 -0
- package/dist/vite/lucideIcons.d.ts +11 -0
- package/dist/vite/lucideIcons.js +53 -0
- package/package.json +159 -3
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly region: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "contents">;
|
|
5
|
+
}>;
|
|
6
|
+
readonly regionBehavior: Readonly<{
|
|
7
|
+
readonly ':hover [data-eds-reveal] > *': stylex.StyleXClassNameFor<":hover [data-eds-reveal] > *", {
|
|
8
|
+
readonly opacity: 1;
|
|
9
|
+
readonly pointerEvents: "auto";
|
|
10
|
+
}>;
|
|
11
|
+
readonly "[data-eds-focus-visible] [data-eds-reveal] > *": stylex.StyleXClassNameFor<"[data-eds-focus-visible] [data-eds-reveal] > *", {
|
|
12
|
+
readonly opacity: 1;
|
|
13
|
+
readonly pointerEvents: "auto";
|
|
14
|
+
}>;
|
|
15
|
+
readonly "[data-eds-popup-open] [data-eds-reveal] > *": stylex.StyleXClassNameFor<"[data-eds-popup-open] [data-eds-reveal] > *", {
|
|
16
|
+
readonly opacity: 1;
|
|
17
|
+
readonly pointerEvents: "auto";
|
|
18
|
+
}>;
|
|
19
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal] > *": stylex.StyleXClassNameFor<":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal] > *", {
|
|
20
|
+
readonly opacity: 0;
|
|
21
|
+
readonly pointerEvents: "none";
|
|
22
|
+
}>;
|
|
23
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-collapsible]": stylex.StyleXClassNameFor<":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-collapsible]", {
|
|
24
|
+
readonly marginInlineStart: 0;
|
|
25
|
+
readonly maxWidth: 0;
|
|
26
|
+
readonly overflow: "hidden";
|
|
27
|
+
}>;
|
|
28
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-layered]": stylex.StyleXClassNameFor<":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-layered]", {
|
|
29
|
+
readonly opacity: 0;
|
|
30
|
+
}>;
|
|
31
|
+
readonly '@media (any-pointer: coarse)': stylex.StyleXClassNameFor<"@media (any-pointer: coarse)", {
|
|
32
|
+
readonly '[data-eds-reveal] > *': {
|
|
33
|
+
readonly opacity: 1;
|
|
34
|
+
readonly pointerEvents: "auto";
|
|
35
|
+
};
|
|
36
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal] > *": {
|
|
37
|
+
readonly opacity: 1;
|
|
38
|
+
readonly pointerEvents: "auto";
|
|
39
|
+
};
|
|
40
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-collapsible]": {
|
|
41
|
+
readonly maxWidth: "none";
|
|
42
|
+
readonly overflow: "visible";
|
|
43
|
+
};
|
|
44
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-layered]": {
|
|
45
|
+
readonly opacity: 1;
|
|
46
|
+
};
|
|
47
|
+
readonly ":not(:hover):not([data-eds-focus-visible]):not([data-eds-popup-open]) [data-eds-reveal-rest] + [data-eds-reveal-collapsible]": {
|
|
48
|
+
readonly marginInlineStart: string;
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
51
|
+
}>;
|
|
52
|
+
readonly reveal: Readonly<{
|
|
53
|
+
readonly display: stylex.StyleXClassNameFor<"display", "contents">;
|
|
54
|
+
readonly ':is(*) > *': stylex.StyleXClassNameFor<":is(*) > *", {
|
|
55
|
+
readonly transitionDuration: "120ms";
|
|
56
|
+
readonly transitionProperty: "opacity";
|
|
57
|
+
readonly transitionTimingFunction: "ease-out";
|
|
58
|
+
}>;
|
|
59
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
60
|
+
readonly ':is(*) > *': {
|
|
61
|
+
readonly transitionDuration: "0ms";
|
|
62
|
+
};
|
|
63
|
+
}>;
|
|
64
|
+
}>;
|
|
65
|
+
readonly revealBehavior: Readonly<{
|
|
66
|
+
readonly ":is(*) > *:not(:where([aria-haspopup]:not([aria-haspopup=\"false\"])[aria-expanded=\"true\"]), :has(:where([aria-haspopup]:not([aria-haspopup=\"false\"])[aria-expanded=\"true\"])))": stylex.StyleXClassNameFor<":is(*) > *:not(:where([aria-haspopup]:not([aria-haspopup=\"false\"])[aria-expanded=\"true\"]), :has(:where([aria-haspopup]:not([aria-haspopup=\"false\"])[aria-expanded=\"true\"])))", {
|
|
67
|
+
readonly opacity: 0;
|
|
68
|
+
readonly pointerEvents: "none";
|
|
69
|
+
}>;
|
|
70
|
+
readonly '@media (any-pointer: coarse)': stylex.StyleXClassNameFor<"@media (any-pointer: coarse)", {
|
|
71
|
+
readonly ':is(*) > *': {
|
|
72
|
+
readonly opacity: 1;
|
|
73
|
+
readonly pointerEvents: "auto";
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
76
|
+
}>;
|
|
77
|
+
readonly collapsible: Readonly<{
|
|
78
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
79
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
80
|
+
readonly ':is(*) > *': stylex.StyleXClassNameFor<":is(*) > *", {
|
|
81
|
+
readonly flexShrink: 0;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
readonly layered: Readonly<{
|
|
85
|
+
readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
|
|
86
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 1>;
|
|
87
|
+
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", "var(--eds-reveal-layer-inset-inline, 0px)">;
|
|
88
|
+
readonly insetBlockStart: stylex.StyleXClassNameFor<"insetBlockStart", "var(--eds-reveal-layer-block-start, 0px)">;
|
|
89
|
+
readonly insetBlockEnd: stylex.StyleXClassNameFor<"insetBlockEnd", "var(--eds-reveal-layer-block-end, 0px)">;
|
|
90
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
91
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
92
|
+
readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "var(--eds-reveal-layer-fade, 24px)">;
|
|
93
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", "var(--eds-reveal-layer-radius, 0px)">;
|
|
94
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `var(--eds-reveal-surface, ${string})`>;
|
|
95
|
+
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "linear-gradient(var(--eds-reveal-tint, transparent), var(--eds-reveal-tint, transparent))">;
|
|
96
|
+
readonly maskImage: stylex.StyleXClassNameFor<"maskImage", "linear-gradient(to right, transparent, black var(--eds-reveal-layer-fade, 24px))" | "linear-gradient(to left, transparent, black var(--eds-reveal-layer-fade, 24px))">;
|
|
97
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "120ms">;
|
|
98
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity">;
|
|
99
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-out">;
|
|
100
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
101
|
+
readonly transitionDuration: "0ms";
|
|
102
|
+
}>;
|
|
103
|
+
readonly '@media (any-pointer: coarse)': stylex.StyleXClassNameFor<"@media (any-pointer: coarse)", {
|
|
104
|
+
readonly position: "static";
|
|
105
|
+
readonly paddingInlineStart: 0;
|
|
106
|
+
readonly backgroundColor: "transparent";
|
|
107
|
+
readonly backgroundImage: "none";
|
|
108
|
+
readonly maskImage: "none";
|
|
109
|
+
readonly opacity: 1;
|
|
110
|
+
}>;
|
|
111
|
+
}>;
|
|
112
|
+
readonly afterRest: Readonly<{
|
|
113
|
+
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", string>;
|
|
114
|
+
}>;
|
|
115
|
+
readonly rest: Readonly<{
|
|
116
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
117
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
118
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
119
|
+
}>;
|
|
120
|
+
readonly swap: Readonly<{
|
|
121
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
122
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
123
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
124
|
+
}>;
|
|
125
|
+
}>;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
import { tokenVars } from "../../theming/tokens.stylex.js";
|
|
3
|
+
// A control whose menu, listbox or dialog is open: the region it sits in stays active, so its
|
|
4
|
+
// controls stay shown, while the pointer or focus is in that popup. Wrapped in :where() so it
|
|
5
|
+
// adds no specificity. Disclosure triggers (aria-expanded without a popup) do not count.
|
|
6
|
+
const openPopup = ':where([aria-haspopup]:not([aria-haspopup="false"])[aria-expanded="true"])';
|
|
7
|
+
// trackRegionActivity marks a region holding such a control. Region rules select on that mark, not
|
|
8
|
+
// :has(), which before a combinator makes Chrome restyle the region on every DOM change.
|
|
9
|
+
const popupOpen = '[data-eds-popup-open]';
|
|
10
|
+
// It also marks a region with keyboard focus inside. Not :focus-within: closing a popup with the
|
|
11
|
+
// pointer returns focus to its trigger or row, which would keep the controls shown after the
|
|
12
|
+
// pointer has left.
|
|
13
|
+
const focusVisible = '[data-eds-focus-visible]';
|
|
14
|
+
const idle = `:not(:hover):not(${focusVisible}):not(${popupOpen})`;
|
|
15
|
+
export const styles = stylex.create({
|
|
16
|
+
region: {
|
|
17
|
+
display: 'contents',
|
|
18
|
+
},
|
|
19
|
+
regionBehavior: {
|
|
20
|
+
':hover [data-eds-reveal] > *': {
|
|
21
|
+
opacity: 1,
|
|
22
|
+
pointerEvents: 'auto',
|
|
23
|
+
},
|
|
24
|
+
[`${focusVisible} [data-eds-reveal] > *`]: {
|
|
25
|
+
opacity: 1,
|
|
26
|
+
pointerEvents: 'auto',
|
|
27
|
+
},
|
|
28
|
+
[`${popupOpen} [data-eds-reveal] > *`]: {
|
|
29
|
+
opacity: 1,
|
|
30
|
+
pointerEvents: 'auto',
|
|
31
|
+
},
|
|
32
|
+
[`${idle} [data-eds-reveal] > *`]: {
|
|
33
|
+
opacity: 0,
|
|
34
|
+
pointerEvents: 'none',
|
|
35
|
+
},
|
|
36
|
+
// Beside rest content, hidden controls give up their width, so the rest content sits at the
|
|
37
|
+
// end; revealed, they take it back and the rest content moves aside.
|
|
38
|
+
[`${idle} [data-eds-reveal-collapsible]`]: {
|
|
39
|
+
marginInlineStart: 0,
|
|
40
|
+
maxWidth: 0,
|
|
41
|
+
overflow: 'hidden',
|
|
42
|
+
},
|
|
43
|
+
// Layered controls lay their surface over the content only while shown.
|
|
44
|
+
[`${idle} [data-eds-reveal-layered]`]: {
|
|
45
|
+
opacity: 0,
|
|
46
|
+
},
|
|
47
|
+
'@media (any-pointer: coarse)': {
|
|
48
|
+
'[data-eds-reveal] > *': {
|
|
49
|
+
opacity: 1,
|
|
50
|
+
pointerEvents: 'auto',
|
|
51
|
+
},
|
|
52
|
+
[`${idle} [data-eds-reveal] > *`]: {
|
|
53
|
+
opacity: 1,
|
|
54
|
+
pointerEvents: 'auto',
|
|
55
|
+
},
|
|
56
|
+
[`${idle} [data-eds-reveal-collapsible]`]: {
|
|
57
|
+
maxWidth: 'none',
|
|
58
|
+
overflow: 'visible',
|
|
59
|
+
},
|
|
60
|
+
[`${idle} [data-eds-reveal-layered]`]: {
|
|
61
|
+
opacity: 1,
|
|
62
|
+
},
|
|
63
|
+
[`${idle} [data-eds-reveal-rest] + [data-eds-reveal-collapsible]`]: {
|
|
64
|
+
marginInlineStart: tokenVars.spaceSmall,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
reveal: {
|
|
69
|
+
display: 'contents',
|
|
70
|
+
':is(*) > *': {
|
|
71
|
+
transitionDuration: '120ms',
|
|
72
|
+
transitionProperty: 'opacity',
|
|
73
|
+
transitionTimingFunction: 'ease-out',
|
|
74
|
+
},
|
|
75
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
76
|
+
':is(*) > *': {
|
|
77
|
+
transitionDuration: '0ms',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
revealBehavior: {
|
|
82
|
+
[`:is(*) > *:not(${openPopup}, :has(${openPopup}))`]: {
|
|
83
|
+
opacity: 0,
|
|
84
|
+
pointerEvents: 'none',
|
|
85
|
+
},
|
|
86
|
+
'@media (any-pointer: coarse)': {
|
|
87
|
+
':is(*) > *': {
|
|
88
|
+
opacity: 1,
|
|
89
|
+
pointerEvents: 'auto',
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
// Controls that give up their width while hidden take a box of their own. They keep their size
|
|
94
|
+
// inside it, clipped rather than squeezed, so they never show or measure narrower than they are.
|
|
95
|
+
collapsible: {
|
|
96
|
+
alignItems: 'center',
|
|
97
|
+
display: 'inline-flex',
|
|
98
|
+
':is(*) > *': {
|
|
99
|
+
flexShrink: 0,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* Controls over the region's content at its inline end, so revealing them moves nothing. Behind
|
|
104
|
+
* them, the region's surface (its container's, then the row's hover or selection tint, which
|
|
105
|
+
* Collection rows set) fades in over a short lead, so content under them fades out rather than
|
|
106
|
+
* being cut. Collection places the layer: the full height of a row, at the top end of a card.
|
|
107
|
+
*/
|
|
108
|
+
layered: {
|
|
109
|
+
position: 'absolute',
|
|
110
|
+
zIndex: 1,
|
|
111
|
+
insetInlineEnd: 'var(--eds-reveal-layer-inset-inline, 0px)',
|
|
112
|
+
// The full height of a row, so it covers every line the content wraps onto.
|
|
113
|
+
insetBlockStart: 'var(--eds-reveal-layer-block-start, 0px)',
|
|
114
|
+
insetBlockEnd: 'var(--eds-reveal-layer-block-end, 0px)',
|
|
115
|
+
alignItems: 'center',
|
|
116
|
+
display: 'inline-flex',
|
|
117
|
+
paddingInlineStart: 'var(--eds-reveal-layer-fade, 24px)',
|
|
118
|
+
borderRadius: 'var(--eds-reveal-layer-radius, 0px)',
|
|
119
|
+
backgroundColor: `var(--eds-reveal-surface, ${tokenVars.canvas})`,
|
|
120
|
+
backgroundImage: 'linear-gradient(var(--eds-reveal-tint, transparent), var(--eds-reveal-tint, transparent))',
|
|
121
|
+
maskImage: {
|
|
122
|
+
default: 'linear-gradient(to right, transparent, black var(--eds-reveal-layer-fade, 24px))',
|
|
123
|
+
':dir(rtl)': 'linear-gradient(to left, transparent, black var(--eds-reveal-layer-fade, 24px))',
|
|
124
|
+
},
|
|
125
|
+
transitionDuration: '120ms',
|
|
126
|
+
transitionProperty: 'opacity',
|
|
127
|
+
transitionTimingFunction: 'ease-out',
|
|
128
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
129
|
+
transitionDuration: '0ms',
|
|
130
|
+
},
|
|
131
|
+
// Always shown on touch, the controls would cover content for good: they sit inline instead.
|
|
132
|
+
'@media (any-pointer: coarse)': {
|
|
133
|
+
position: 'static',
|
|
134
|
+
paddingInlineStart: 0,
|
|
135
|
+
backgroundColor: 'transparent',
|
|
136
|
+
backgroundImage: 'none',
|
|
137
|
+
maskImage: 'none',
|
|
138
|
+
opacity: 1,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
// Space between the rest content and the controls; it goes with their width while hidden.
|
|
142
|
+
afterRest: {
|
|
143
|
+
marginInlineStart: tokenVars.spaceSmall,
|
|
144
|
+
},
|
|
145
|
+
rest: {
|
|
146
|
+
alignItems: 'center',
|
|
147
|
+
display: 'inline-flex',
|
|
148
|
+
gap: tokenVars.spaceSmall,
|
|
149
|
+
},
|
|
150
|
+
swap: {
|
|
151
|
+
alignItems: 'center',
|
|
152
|
+
display: 'inline-flex',
|
|
153
|
+
flexShrink: 0,
|
|
154
|
+
},
|
|
155
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type RotatingStatusProps = {
|
|
2
|
+
/** The lines, shown one at a time in order, then from the first again. */
|
|
3
|
+
readonly lines: readonly string[];
|
|
4
|
+
/** Milliseconds each line stays before the next. 0 holds the first line. */
|
|
5
|
+
readonly interval?: number;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* One status line at a time from a short list, such as what a long calculation is doing, each
|
|
9
|
+
* swapping for the next in the same place: the old line fades out, then the new one fades in, so
|
|
10
|
+
* two lines never show at once. New lines are announced politely. When `lines`
|
|
11
|
+
* changes, the first new line replaces the shown one. With reduced motion the lines swap
|
|
12
|
+
* without fading.
|
|
13
|
+
*/
|
|
14
|
+
export declare function RotatingStatus({ lines, interval }: RotatingStatusProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare namespace RotatingStatus {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as stylex from '@stylexjs/stylex';
|
|
3
|
+
import { useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { Text } from "../Text/Text.js";
|
|
5
|
+
import { styles } from "./RotatingStatus.stylex.js";
|
|
6
|
+
/**
|
|
7
|
+
* One status line at a time from a short list, such as what a long calculation is doing, each
|
|
8
|
+
* swapping for the next in the same place: the old line fades out, then the new one fades in, so
|
|
9
|
+
* two lines never show at once. New lines are announced politely. When `lines`
|
|
10
|
+
* changes, the first new line replaces the shown one. With reduced motion the lines swap
|
|
11
|
+
* without fading.
|
|
12
|
+
*/
|
|
13
|
+
export function RotatingStatus({ lines, interval = 2000 }) {
|
|
14
|
+
const key = lines.join('\n');
|
|
15
|
+
const [state, setState] = useState({
|
|
16
|
+
key,
|
|
17
|
+
index: 0,
|
|
18
|
+
leaving: null,
|
|
19
|
+
});
|
|
20
|
+
const shown = useRef(lines[0]);
|
|
21
|
+
// New lines: start from their first, fading out the line that was showing.
|
|
22
|
+
if (state.key !== key) {
|
|
23
|
+
const leaving = shown.current !== lines[0] ? (shown.current ?? null) : null;
|
|
24
|
+
setState({ key, index: 0, leaving });
|
|
25
|
+
}
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (interval <= 0 || lines.length < 2)
|
|
28
|
+
return;
|
|
29
|
+
const timer = setInterval(() => {
|
|
30
|
+
setState((s) => ({
|
|
31
|
+
key: s.key,
|
|
32
|
+
index: (s.index + 1) % lines.length,
|
|
33
|
+
leaving: lines[s.index % lines.length] ?? null,
|
|
34
|
+
}));
|
|
35
|
+
}, interval);
|
|
36
|
+
return () => clearInterval(timer);
|
|
37
|
+
}, [key, interval]);
|
|
38
|
+
const current = lines[state.index % Math.max(lines.length, 1)];
|
|
39
|
+
shown.current = current;
|
|
40
|
+
const leaving = state.leaving !== null && state.leaving !== current ? state.leaving : null;
|
|
41
|
+
return (_jsxs("div", { ...stylex.props(styles.root), children: [leaving !== null ? (_jsx("span", { "aria-hidden": "true", ...stylex.props(styles.line, styles.leaving), children: _jsx(Text, { tone: "secondary", children: leaving }) }, `out:${leaving}`)) : null, _jsx("span", { "aria-live": "polite", ...stylex.props(styles.line), children: current ? (_jsx("span", { ...stylex.props(styles.entering, leaving !== null && styles.afterLeaving), children: _jsx(Text, { tone: "secondary", children: current }) }, `in:${current}`)) : null })] }));
|
|
42
|
+
}
|
|
43
|
+
RotatingStatus.displayName = 'RotatingStatus';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly root: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "grid">;
|
|
5
|
+
readonly minInlineSize: stylex.StyleXClassNameFor<"minInlineSize", 0>;
|
|
6
|
+
}>;
|
|
7
|
+
readonly line: Readonly<{
|
|
8
|
+
readonly gridArea: stylex.StyleXClassNameFor<"gridArea", "1 / 1">;
|
|
9
|
+
readonly minInlineSize: stylex.StyleXClassNameFor<"minInlineSize", 0>;
|
|
10
|
+
}>;
|
|
11
|
+
readonly entering: Readonly<{
|
|
12
|
+
readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
|
|
13
|
+
readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "200ms">;
|
|
14
|
+
readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "ease-out">;
|
|
15
|
+
readonly animationFillMode: stylex.StyleXClassNameFor<"animationFillMode", "both">;
|
|
16
|
+
}>;
|
|
17
|
+
readonly afterLeaving: Readonly<{
|
|
18
|
+
readonly animationDelay: stylex.StyleXClassNameFor<"animationDelay", "0ms" | "200ms">;
|
|
19
|
+
}>;
|
|
20
|
+
readonly leaving: Readonly<{
|
|
21
|
+
readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
|
|
22
|
+
readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "200ms">;
|
|
23
|
+
readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "ease-in">;
|
|
24
|
+
readonly animationFillMode: stylex.StyleXClassNameFor<"animationFillMode", "both">;
|
|
25
|
+
readonly visibility: stylex.StyleXClassNameFor<"visibility", "hidden" | null>;
|
|
26
|
+
}>;
|
|
27
|
+
}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
const REDUCED = '@media (prefers-reduced-motion: reduce)';
|
|
3
|
+
const lineIn = stylex.keyframes({ from: { opacity: 0 }, to: { opacity: 1 } });
|
|
4
|
+
const lineOut = stylex.keyframes({ from: { opacity: 1 }, to: { opacity: 0 } });
|
|
5
|
+
/** Each half of a swap: the old line fades out, then the new one fades in. */
|
|
6
|
+
const HALF = '200ms';
|
|
7
|
+
export const styles = stylex.create({
|
|
8
|
+
// One grid cell holds the leaving and the arriving line, so they swap in place and the height
|
|
9
|
+
// never jumps between lines.
|
|
10
|
+
root: { display: 'grid', minInlineSize: 0 },
|
|
11
|
+
line: { gridArea: '1 / 1', minInlineSize: 0 },
|
|
12
|
+
entering: {
|
|
13
|
+
animationName: { default: lineIn, [REDUCED]: 'none' },
|
|
14
|
+
animationDuration: HALF,
|
|
15
|
+
animationTimingFunction: 'ease-out',
|
|
16
|
+
animationFillMode: 'both',
|
|
17
|
+
},
|
|
18
|
+
// After a line, the new one waits until the old one has gone: the two never show at once.
|
|
19
|
+
afterLeaving: { animationDelay: { default: HALF, [REDUCED]: '0ms' } },
|
|
20
|
+
leaving: {
|
|
21
|
+
animationName: { default: lineOut, [REDUCED]: 'none' },
|
|
22
|
+
animationDuration: HALF,
|
|
23
|
+
animationTimingFunction: 'ease-in',
|
|
24
|
+
animationFillMode: 'both',
|
|
25
|
+
// Without motion the leaving line is simply gone.
|
|
26
|
+
visibility: { default: null, [REDUCED]: 'hidden' },
|
|
27
|
+
},
|
|
28
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from 'react';
|
|
2
|
+
import { RouterProvider as AriaRouterProvider } from 'react-aria-components';
|
|
3
|
+
/** Anchor props supplied by the design-system. Forward all props and the ref to the router link. */
|
|
4
|
+
export type LinkAdapterProps = Omit<ComponentPropsWithRef<'a'>, 'href'> & {
|
|
5
|
+
readonly href: string;
|
|
6
|
+
};
|
|
7
|
+
export type LinkAdapter = ComponentType<LinkAdapterProps>;
|
|
8
|
+
export type RouterProviderProps = ComponentProps<typeof AriaRouterProvider> & {
|
|
9
|
+
/** Router-aware anchor component. Owns navigation and preloading. */
|
|
10
|
+
readonly Link?: LinkAdapter;
|
|
11
|
+
/**
|
|
12
|
+
* The BCP 47 language the app shows, such as `es-US`. Components then format dates and numbers
|
|
13
|
+
* and say their built-in labels ("Clear search", date placeholders) in it. Without it they
|
|
14
|
+
* follow the browser's language, which may differ from the language the person chose.
|
|
15
|
+
*/
|
|
16
|
+
readonly locale?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function RouterProvider({ Link, locale, children, ...routing }: RouterProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare namespace RouterProvider {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function useLinkAdapter(): LinkAdapter | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext, } from 'react';
|
|
3
|
+
import { RouterProvider as AriaRouterProvider, I18nProvider } from 'react-aria-components';
|
|
4
|
+
const LinkAdapterContext = createContext(undefined);
|
|
5
|
+
export function RouterProvider({ Link, locale, children, ...routing }) {
|
|
6
|
+
const routed = (_jsx(AriaRouterProvider, { ...routing, children: _jsx(LinkAdapterContext.Provider, { value: Link, children: children }) }));
|
|
7
|
+
return locale ? _jsx(I18nProvider, { locale: locale, children: routed }) : routed;
|
|
8
|
+
}
|
|
9
|
+
RouterProvider.displayName = 'RouterProvider';
|
|
10
|
+
export function useLinkAdapter() {
|
|
11
|
+
return useContext(LinkAdapterContext);
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type RowButtonProps = {
|
|
3
|
+
/** The row's text, such as a title over a detail line. It names the button. */
|
|
4
|
+
readonly children: ReactNode;
|
|
5
|
+
/** A status icon or file mark, centered on the first line of `children`. */
|
|
6
|
+
readonly leading?: ReactNode;
|
|
7
|
+
/** A short value before the chevron, such as a duration, centered on the row. */
|
|
8
|
+
readonly trailing?: ReactNode;
|
|
9
|
+
readonly onPress?: () => void;
|
|
10
|
+
/** A row that opens nothing: no hover, no chevron. */
|
|
11
|
+
readonly isDisabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* A full-width row in a list that opens the thing it names, such as a task or a step of a run. Its
|
|
15
|
+
* hover fills the row edge to edge, square, taking the container's corners only where the row
|
|
16
|
+
* meets them, and its chevron moves toward the row's end on hover and focus.
|
|
17
|
+
*
|
|
18
|
+
* Stack rows in a `VStack` inside a flush `Surface`, with a `Separator` between them, so the first
|
|
19
|
+
* and last rows find the container's corners.
|
|
20
|
+
*/
|
|
21
|
+
export declare function RowButton({ children, leading, trailing, onPress, isDisabled, }: RowButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as stylex from '@stylexjs/stylex';
|
|
3
|
+
import { Button as AriaButton } from 'react-aria-components';
|
|
4
|
+
import { Icon } from "../Icon/Icon.js";
|
|
5
|
+
import { styles } from "./RowButton.stylex.js";
|
|
6
|
+
/**
|
|
7
|
+
* A full-width row in a list that opens the thing it names, such as a task or a step of a run. Its
|
|
8
|
+
* hover fills the row edge to edge, square, taking the container's corners only where the row
|
|
9
|
+
* meets them, and its chevron moves toward the row's end on hover and focus.
|
|
10
|
+
*
|
|
11
|
+
* Stack rows in a `VStack` inside a flush `Surface`, with a `Separator` between them, so the first
|
|
12
|
+
* and last rows find the container's corners.
|
|
13
|
+
*/
|
|
14
|
+
export function RowButton({ children, leading, trailing, onPress, isDisabled = false, }) {
|
|
15
|
+
return (_jsxs(AriaButton, { ...stylex.props(styles.row), isDisabled: isDisabled, ...(onPress === undefined ? {} : { onPress }), children: [_jsxs("span", { ...stylex.props(styles.content), children: [leading === undefined ? null : _jsx("span", { ...stylex.props(styles.leading), children: leading }), _jsx("span", { ...stylex.props(styles.body), children: children })] }), trailing === undefined ? null : _jsx("span", { ...stylex.props(styles.trailing), children: trailing }), isDisabled ? null : (_jsx("span", { "aria-hidden": "true", ...stylex.props(styles.chevron), children: _jsx(Icon, { name: "ChevronRight", size: "small" }) }))] }));
|
|
16
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const rowButtonVars: stylex.VarGroup<Readonly<{
|
|
3
|
+
nudge: string;
|
|
4
|
+
}>, symbol>;
|
|
5
|
+
export declare const styles: Readonly<{
|
|
6
|
+
readonly row: Readonly<{
|
|
7
|
+
readonly [x: string]: stylex.StyleXClassNameFor<string, string | 0 | 2 | -2>;
|
|
8
|
+
readonly appearance: stylex.StyleXClassNameFor<"appearance", "none">;
|
|
9
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
11
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
12
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
13
|
+
readonly inlineSize: stylex.StyleXClassNameFor<"inlineSize", "100%">;
|
|
14
|
+
readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
|
|
15
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
16
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
17
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 0>;
|
|
18
|
+
readonly borderStartStartRadius: stylex.StyleXClassNameFor<"borderStartStartRadius", string>;
|
|
19
|
+
readonly borderStartEndRadius: stylex.StyleXClassNameFor<"borderStartEndRadius", string>;
|
|
20
|
+
readonly borderEndStartRadius: stylex.StyleXClassNameFor<"borderEndStartRadius", string>;
|
|
21
|
+
readonly borderEndEndRadius: stylex.StyleXClassNameFor<"borderEndEndRadius", string>;
|
|
22
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", unknown>;
|
|
23
|
+
readonly color: stylex.StyleXClassNameFor<"color", "inherit">;
|
|
24
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", "inherit">;
|
|
25
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", "inherit">;
|
|
26
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", "inherit">;
|
|
27
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "start">;
|
|
28
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", unknown>;
|
|
29
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
30
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
|
|
31
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", -2>;
|
|
32
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", unknown>;
|
|
33
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 2>;
|
|
34
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color">;
|
|
35
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "120ms" | "0s">;
|
|
36
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-out">;
|
|
37
|
+
}>;
|
|
38
|
+
readonly leading: Readonly<{
|
|
39
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
40
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
41
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
42
|
+
readonly blockSize: stylex.StyleXClassNameFor<"blockSize", `calc(${string} * ${string})`>;
|
|
43
|
+
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "flex-start">;
|
|
44
|
+
}>;
|
|
45
|
+
readonly content: Readonly<{
|
|
46
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
47
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "flex-start">;
|
|
48
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
49
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 auto">;
|
|
50
|
+
readonly minInlineSize: stylex.StyleXClassNameFor<"minInlineSize", 0>;
|
|
51
|
+
}>;
|
|
52
|
+
readonly body: Readonly<{
|
|
53
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 auto">;
|
|
54
|
+
readonly minInlineSize: stylex.StyleXClassNameFor<"minInlineSize", 0>;
|
|
55
|
+
}>;
|
|
56
|
+
readonly trailing: Readonly<{
|
|
57
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
58
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
59
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
60
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", 0>;
|
|
61
|
+
}>;
|
|
62
|
+
readonly chevron: Readonly<{
|
|
63
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
64
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
65
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
66
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", `translateX(${stylex.StyleXVar<string>})`>;
|
|
67
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform">;
|
|
68
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms" | "0s">;
|
|
69
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-out">;
|
|
70
|
+
}>;
|
|
71
|
+
}>;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
import { tokenVars } from "../../theming/tokens.stylex.js";
|
|
3
|
+
const enabled = ':not([data-disabled])';
|
|
4
|
+
const REDUCED = '@media (prefers-reduced-motion: reduce)';
|
|
5
|
+
/** The container's inner corner, where both edges of a corner are shared with it; square otherwise. */
|
|
6
|
+
const corner = (block, inline) => `calc(min(var(--eds-container-block-${block}-sharing, 0), var(--eds-container-inline-${inline}-sharing, 0)) * max(0px, var(--eds-container-corner-radius, 0px) - var(--eds-container-border-width, 0px)))`;
|
|
7
|
+
export const rowButtonVars = stylex.defineVars({
|
|
8
|
+
/** How far the chevron moves toward the row's end while the row is hovered or focused. */
|
|
9
|
+
nudge: '0px',
|
|
10
|
+
});
|
|
11
|
+
export const styles = stylex.create({
|
|
12
|
+
row: {
|
|
13
|
+
appearance: 'none',
|
|
14
|
+
boxSizing: 'border-box',
|
|
15
|
+
display: 'flex',
|
|
16
|
+
alignItems: 'center',
|
|
17
|
+
gap: tokenVars.spaceMedium,
|
|
18
|
+
inlineSize: '100%',
|
|
19
|
+
margin: 0,
|
|
20
|
+
paddingBlock: tokenVars.spaceMedium,
|
|
21
|
+
paddingInline: tokenVars.spaceLarge,
|
|
22
|
+
borderWidth: 0,
|
|
23
|
+
borderStartStartRadius: corner('start', 'start'),
|
|
24
|
+
borderStartEndRadius: corner('start', 'end'),
|
|
25
|
+
borderEndStartRadius: corner('end', 'start'),
|
|
26
|
+
borderEndEndRadius: corner('end', 'end'),
|
|
27
|
+
backgroundColor: {
|
|
28
|
+
default: 'transparent',
|
|
29
|
+
[`[data-hovered]${enabled}`]: tokenVars.hoverFill,
|
|
30
|
+
[`[data-pressed]${enabled}`]: tokenVars.hoverFill,
|
|
31
|
+
},
|
|
32
|
+
color: 'inherit',
|
|
33
|
+
fontFamily: 'inherit',
|
|
34
|
+
fontSize: 'inherit',
|
|
35
|
+
lineHeight: 'inherit',
|
|
36
|
+
textAlign: 'start',
|
|
37
|
+
cursor: { default: 'pointer', '[data-disabled]': 'default' },
|
|
38
|
+
outline: 'none',
|
|
39
|
+
outlineColor: tokenVars.focus,
|
|
40
|
+
outlineOffset: -2,
|
|
41
|
+
outlineStyle: { default: 'none', '[data-focus-visible]': 'solid' },
|
|
42
|
+
outlineWidth: 2,
|
|
43
|
+
transitionProperty: 'background-color',
|
|
44
|
+
transitionDuration: { default: '120ms', [REDUCED]: '0s' },
|
|
45
|
+
transitionTimingFunction: 'ease-out',
|
|
46
|
+
[rowButtonVars.nudge]: {
|
|
47
|
+
default: '0px',
|
|
48
|
+
[`[data-hovered]${enabled}`]: '2px',
|
|
49
|
+
[`[data-focus-visible]${enabled}`]: '2px',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
// One body line tall, so a status icon centers on the row's first line however many follow.
|
|
53
|
+
leading: {
|
|
54
|
+
display: 'flex',
|
|
55
|
+
alignItems: 'center',
|
|
56
|
+
flexShrink: 0,
|
|
57
|
+
blockSize: `calc(${tokenVars.sizeBody} * ${tokenVars.lineHeightRelaxed})`,
|
|
58
|
+
alignSelf: 'flex-start',
|
|
59
|
+
},
|
|
60
|
+
content: {
|
|
61
|
+
display: 'flex',
|
|
62
|
+
alignItems: 'flex-start',
|
|
63
|
+
gap: tokenVars.spaceMedium,
|
|
64
|
+
flex: '1 1 auto',
|
|
65
|
+
minInlineSize: 0,
|
|
66
|
+
},
|
|
67
|
+
body: { flex: '1 1 auto', minInlineSize: 0 },
|
|
68
|
+
// No line box of its own, so a short value's text centers on the chevron instead of sitting on
|
|
69
|
+
// the row's taller body line.
|
|
70
|
+
trailing: { display: 'flex', alignItems: 'center', flexShrink: 0, lineHeight: 0 },
|
|
71
|
+
chevron: {
|
|
72
|
+
display: 'flex',
|
|
73
|
+
flexShrink: 0,
|
|
74
|
+
color: tokenVars.textTertiary,
|
|
75
|
+
transform: `translateX(${rowButtonVars.nudge})`,
|
|
76
|
+
transitionProperty: 'transform',
|
|
77
|
+
transitionDuration: { default: '150ms', [REDUCED]: '0s' },
|
|
78
|
+
transitionTimingFunction: 'ease-out',
|
|
79
|
+
},
|
|
80
|
+
});
|