@appcircle/mosaic 0.0.0-stage → 1.0.1
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/LICENSE +21 -0
- package/README.md +90 -2
- package/dist/blocks/AISummary/AISummary.d.ts +92 -0
- package/dist/blocks/AISummary/AISummary.d.ts.map +1 -0
- package/dist/blocks/AISummary/index.d.ts +3 -0
- package/dist/blocks/AISummary/index.d.ts.map +1 -0
- package/dist/blocks/ActiveProcessPanel/ActiveProcessPanel.d.ts +95 -0
- package/dist/blocks/ActiveProcessPanel/ActiveProcessPanel.d.ts.map +1 -0
- package/dist/blocks/ActiveProcessPanel/index.d.ts +3 -0
- package/dist/blocks/ActiveProcessPanel/index.d.ts.map +1 -0
- package/dist/blocks/AppcircleLayout/AppcircleLayout.d.ts +52 -0
- package/dist/blocks/AppcircleLayout/AppcircleLayout.d.ts.map +1 -0
- package/dist/blocks/AppcircleLayout/index.d.ts +3 -0
- package/dist/blocks/AppcircleLayout/index.d.ts.map +1 -0
- package/dist/blocks/BuildBranchList/BuildBranchList.d.ts +169 -0
- package/dist/blocks/BuildBranchList/BuildBranchList.d.ts.map +1 -0
- package/dist/blocks/BuildBranchList/index.d.ts +3 -0
- package/dist/blocks/BuildBranchList/index.d.ts.map +1 -0
- package/dist/blocks/BuildProfileHeader/BuildProfileHeader.d.ts +175 -0
- package/dist/blocks/BuildProfileHeader/BuildProfileHeader.d.ts.map +1 -0
- package/dist/blocks/BuildProfileHeader/index.d.ts +3 -0
- package/dist/blocks/BuildProfileHeader/index.d.ts.map +1 -0
- package/dist/blocks/BuildTriggerCard/BuildTriggerCard.d.ts +64 -0
- package/dist/blocks/BuildTriggerCard/BuildTriggerCard.d.ts.map +1 -0
- package/dist/blocks/BuildTriggerCard/index.d.ts +3 -0
- package/dist/blocks/BuildTriggerCard/index.d.ts.map +1 -0
- package/dist/blocks/BuildVariableGroupsLayout/BuildVariableGroupsLayout.d.ts +81 -0
- package/dist/blocks/BuildVariableGroupsLayout/BuildVariableGroupsLayout.d.ts.map +1 -0
- package/dist/blocks/BuildVariableGroupsLayout/index.d.ts +3 -0
- package/dist/blocks/BuildVariableGroupsLayout/index.d.ts.map +1 -0
- package/dist/blocks/DashboardSummary/DashboardSummary.d.ts +82 -0
- package/dist/blocks/DashboardSummary/DashboardSummary.d.ts.map +1 -0
- package/dist/blocks/DashboardSummary/index.d.ts +3 -0
- package/dist/blocks/DashboardSummary/index.d.ts.map +1 -0
- package/dist/blocks/Directory/Directory.d.ts +53 -0
- package/dist/blocks/Directory/Directory.d.ts.map +1 -0
- package/dist/blocks/Directory/index.d.ts +3 -0
- package/dist/blocks/Directory/index.d.ts.map +1 -0
- package/dist/blocks/ManagedListPanel/ManagedListPanel.d.ts +283 -0
- package/dist/blocks/ManagedListPanel/ManagedListPanel.d.ts.map +1 -0
- package/dist/blocks/ManagedListPanel/index.d.ts +3 -0
- package/dist/blocks/ManagedListPanel/index.d.ts.map +1 -0
- package/dist/blocks/NotificationCenter/NotificationCenter.d.ts +98 -0
- package/dist/blocks/NotificationCenter/NotificationCenter.d.ts.map +1 -0
- package/dist/blocks/NotificationCenter/index.d.ts +3 -0
- package/dist/blocks/NotificationCenter/index.d.ts.map +1 -0
- package/dist/blocks/Onboarding/Onboarding.d.ts +82 -0
- package/dist/blocks/Onboarding/Onboarding.d.ts.map +1 -0
- package/dist/blocks/Onboarding/index.d.ts +3 -0
- package/dist/blocks/Onboarding/index.d.ts.map +1 -0
- package/dist/blocks/OrganizationSwitcher/OrganizationSwitcher.d.ts +83 -0
- package/dist/blocks/OrganizationSwitcher/OrganizationSwitcher.d.ts.map +1 -0
- package/dist/blocks/OrganizationSwitcher/index.d.ts +3 -0
- package/dist/blocks/OrganizationSwitcher/index.d.ts.map +1 -0
- package/dist/blocks/PlanCard/PlanCard.d.ts +69 -0
- package/dist/blocks/PlanCard/PlanCard.d.ts.map +1 -0
- package/dist/blocks/PlanCard/index.d.ts +3 -0
- package/dist/blocks/PlanCard/index.d.ts.map +1 -0
- package/dist/blocks/ProfileCard/ProfileCard.d.ts +211 -0
- package/dist/blocks/ProfileCard/ProfileCard.d.ts.map +1 -0
- package/dist/blocks/ProfileCard/ProfileMark.d.ts +36 -0
- package/dist/blocks/ProfileCard/ProfileMark.d.ts.map +1 -0
- package/dist/blocks/ProfileCard/index.d.ts +5 -0
- package/dist/blocks/ProfileCard/index.d.ts.map +1 -0
- package/dist/blocks/ReportFilterBar/ReportFilterBar.d.ts +255 -0
- package/dist/blocks/ReportFilterBar/ReportFilterBar.d.ts.map +1 -0
- package/dist/blocks/ReportFilterBar/index.d.ts +3 -0
- package/dist/blocks/ReportFilterBar/index.d.ts.map +1 -0
- package/dist/blocks/RestrictedArea/RestrictedArea.d.ts +57 -0
- package/dist/blocks/RestrictedArea/RestrictedArea.d.ts.map +1 -0
- package/dist/blocks/RestrictedArea/index.d.ts +3 -0
- package/dist/blocks/RestrictedArea/index.d.ts.map +1 -0
- package/dist/blocks/SearchLayout/SearchLayout.d.ts +118 -0
- package/dist/blocks/SearchLayout/SearchLayout.d.ts.map +1 -0
- package/dist/blocks/SearchLayout/index.d.ts +3 -0
- package/dist/blocks/SearchLayout/index.d.ts.map +1 -0
- package/dist/blocks/UpgradeDialog/UpgradeDialog.d.ts +46 -0
- package/dist/blocks/UpgradeDialog/UpgradeDialog.d.ts.map +1 -0
- package/dist/blocks/UpgradeDialog/index.d.ts +3 -0
- package/dist/blocks/UpgradeDialog/index.d.ts.map +1 -0
- package/dist/blocks/VersionIdentity/VersionIdentity.d.ts +29 -0
- package/dist/blocks/VersionIdentity/VersionIdentity.d.ts.map +1 -0
- package/dist/blocks/VersionIdentity/index.d.ts +3 -0
- package/dist/blocks/VersionIdentity/index.d.ts.map +1 -0
- package/dist/components/Alert/Alert.d.ts +87 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/index.d.ts +3 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +37 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar/index.d.ts +3 -0
- package/dist/components/Avatar/index.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +55 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Badge/index.d.ts +3 -0
- package/dist/components/Badge/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +191 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/CopyButton.d.ts +43 -0
- package/dist/components/Button/CopyButton.d.ts.map +1 -0
- package/dist/components/Button/IconButton.d.ts +70 -0
- package/dist/components/Button/IconButton.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +7 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.d.ts +99 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +3 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Card/Card.d.ts +85 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +3 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/CardGrid/CardGrid.d.ts +28 -0
- package/dist/components/CardGrid/CardGrid.d.ts.map +1 -0
- package/dist/components/CardGrid/index.d.ts +3 -0
- package/dist/components/CardGrid/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +64 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Collapsible/Collapsible.d.ts +34 -0
- package/dist/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/components/Collapsible/index.d.ts +3 -0
- package/dist/components/Collapsible/index.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +126 -0
- package/dist/components/Combobox/Combobox.d.ts.map +1 -0
- package/dist/components/Combobox/MultiSelect.d.ts +81 -0
- package/dist/components/Combobox/MultiSelect.d.ts.map +1 -0
- package/dist/components/Combobox/index.d.ts +5 -0
- package/dist/components/Combobox/index.d.ts.map +1 -0
- package/dist/components/Combobox/keyboard.d.ts +24 -0
- package/dist/components/Combobox/keyboard.d.ts.map +1 -0
- package/dist/components/Command/Command.d.ts +160 -0
- package/dist/components/Command/Command.d.ts.map +1 -0
- package/dist/components/Command/CommandDialog.d.ts +25 -0
- package/dist/components/Command/CommandDialog.d.ts.map +1 -0
- package/dist/components/Command/index.d.ts +5 -0
- package/dist/components/Command/index.d.ts.map +1 -0
- package/dist/components/CommandFilter/CommandFilter.d.ts +114 -0
- package/dist/components/CommandFilter/CommandFilter.d.ts.map +1 -0
- package/dist/components/CommandFilter/FilterChip.d.ts +66 -0
- package/dist/components/CommandFilter/FilterChip.d.ts.map +1 -0
- package/dist/components/CommandFilter/ValueChip.d.ts +31 -0
- package/dist/components/CommandFilter/ValueChip.d.ts.map +1 -0
- package/dist/components/CommandFilter/index.d.ts +7 -0
- package/dist/components/CommandFilter/index.d.ts.map +1 -0
- package/dist/components/CommandSort/CommandSort.d.ts +66 -0
- package/dist/components/CommandSort/CommandSort.d.ts.map +1 -0
- package/dist/components/CommandSort/index.d.ts +3 -0
- package/dist/components/CommandSort/index.d.ts.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts +326 -0
- package/dist/components/DataTable/DataTable.d.ts.map +1 -0
- package/dist/components/DataTable/RowActions.d.ts +30 -0
- package/dist/components/DataTable/RowActions.d.ts.map +1 -0
- package/dist/components/DataTable/index.d.ts +5 -0
- package/dist/components/DataTable/index.d.ts.map +1 -0
- package/dist/components/Dialog/AlertDialog.d.ts +117 -0
- package/dist/components/Dialog/AlertDialog.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +107 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Dialog/index.d.ts +5 -0
- package/dist/components/Dialog/index.d.ts.map +1 -0
- package/dist/components/DonutChart/DonutChart.d.ts +51 -0
- package/dist/components/DonutChart/DonutChart.d.ts.map +1 -0
- package/dist/components/DonutChart/index.d.ts +3 -0
- package/dist/components/DonutChart/index.d.ts.map +1 -0
- package/dist/components/Dot/Dot.d.ts +37 -0
- package/dist/components/Dot/Dot.d.ts.map +1 -0
- package/dist/components/Dot/index.d.ts +3 -0
- package/dist/components/Dot/index.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +119 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/components/DropdownMenu/index.d.ts +3 -0
- package/dist/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/components/Empty/Empty.d.ts +76 -0
- package/dist/components/Empty/Empty.d.ts.map +1 -0
- package/dist/components/Empty/index.d.ts +3 -0
- package/dist/components/Empty/index.d.ts.map +1 -0
- package/dist/components/Field/Field.d.ts +143 -0
- package/dist/components/Field/Field.d.ts.map +1 -0
- package/dist/components/Field/index.d.ts +3 -0
- package/dist/components/Field/index.d.ts.map +1 -0
- package/dist/components/FileUpload/FileUpload.d.ts +102 -0
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/components/FileUpload/index.d.ts +3 -0
- package/dist/components/FileUpload/index.d.ts.map +1 -0
- package/dist/components/Gallery/Gallery.d.ts +97 -0
- package/dist/components/Gallery/Gallery.d.ts.map +1 -0
- package/dist/components/Gallery/index.d.ts +3 -0
- package/dist/components/Gallery/index.d.ts.map +1 -0
- package/dist/components/HoverCard/HoverCard.d.ts +40 -0
- package/dist/components/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/components/HoverCard/index.d.ts +3 -0
- package/dist/components/HoverCard/index.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +70 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +3 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/InfoBox/InfoBox.d.ts +58 -0
- package/dist/components/InfoBox/InfoBox.d.ts.map +1 -0
- package/dist/components/InfoBox/index.d.ts +3 -0
- package/dist/components/InfoBox/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +203 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Item/Item.d.ts +125 -0
- package/dist/components/Item/Item.d.ts.map +1 -0
- package/dist/components/Item/index.d.ts +3 -0
- package/dist/components/Item/index.d.ts.map +1 -0
- package/dist/components/Link/Link.d.ts +50 -0
- package/dist/components/Link/Link.d.ts.map +1 -0
- package/dist/components/Link/index.d.ts +3 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/ListField/ListField.d.ts +80 -0
- package/dist/components/ListField/ListField.d.ts.map +1 -0
- package/dist/components/ListField/index.d.ts +3 -0
- package/dist/components/ListField/index.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.d.ts +58 -0
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/components/PageHeader/index.d.ts +3 -0
- package/dist/components/PageHeader/index.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +60 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +3 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +64 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +3 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Progress/Progress.d.ts +43 -0
- package/dist/components/Progress/Progress.d.ts.map +1 -0
- package/dist/components/Progress/index.d.ts +3 -0
- package/dist/components/Progress/index.d.ts.map +1 -0
- package/dist/components/ProgressBand/ProgressBand.d.ts +94 -0
- package/dist/components/ProgressBand/ProgressBand.d.ts.map +1 -0
- package/dist/components/ProgressBand/index.d.ts +3 -0
- package/dist/components/ProgressBand/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +66 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +3 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +36 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/components/SearchInput/index.d.ts +3 -0
- package/dist/components/SearchInput/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +44 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Separator/Separator.d.ts +28 -0
- package/dist/components/Separator/Separator.d.ts.map +1 -0
- package/dist/components/Separator/index.d.ts +3 -0
- package/dist/components/Separator/index.d.ts.map +1 -0
- package/dist/components/Sheet/Sheet.d.ts +103 -0
- package/dist/components/Sheet/Sheet.d.ts.map +1 -0
- package/dist/components/Sheet/index.d.ts +3 -0
- package/dist/components/Sheet/index.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +329 -0
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/components/Sidebar/index.d.ts +3 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/components/SimpleListItem/SimpleListItem.d.ts +126 -0
- package/dist/components/SimpleListItem/SimpleListItem.d.ts.map +1 -0
- package/dist/components/SimpleListItem/index.d.ts +3 -0
- package/dist/components/SimpleListItem/index.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +26 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +3 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +42 -0
- package/dist/components/Slider/Slider.d.ts.map +1 -0
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/index.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +21 -0
- package/dist/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +3 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/Stack/Stack.d.ts +51 -0
- package/dist/components/Stack/Stack.d.ts.map +1 -0
- package/dist/components/Stack/index.d.ts +3 -0
- package/dist/components/Stack/index.d.ts.map +1 -0
- package/dist/components/Stat/Stat.d.ts +82 -0
- package/dist/components/Stat/Stat.d.ts.map +1 -0
- package/dist/components/Stat/index.d.ts +3 -0
- package/dist/components/Stat/index.d.ts.map +1 -0
- package/dist/components/StatusHistory/StatusHistory.d.ts +67 -0
- package/dist/components/StatusHistory/StatusHistory.d.ts.map +1 -0
- package/dist/components/StatusHistory/index.d.ts +3 -0
- package/dist/components/StatusHistory/index.d.ts.map +1 -0
- package/dist/components/StepCard/StepCard.d.ts +80 -0
- package/dist/components/StepCard/StepCard.d.ts.map +1 -0
- package/dist/components/StepCard/index.d.ts +3 -0
- package/dist/components/StepCard/index.d.ts.map +1 -0
- package/dist/components/StepList/StepList.d.ts +68 -0
- package/dist/components/StepList/StepList.d.ts.map +1 -0
- package/dist/components/StepList/index.d.ts +3 -0
- package/dist/components/StepList/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +26 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/index.d.ts +3 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/SwitchPanel/SwitchPanel.d.ts +41 -0
- package/dist/components/SwitchPanel/SwitchPanel.d.ts.map +1 -0
- package/dist/components/SwitchPanel/index.d.ts +3 -0
- package/dist/components/SwitchPanel/index.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +117 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs/index.d.ts +3 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/TagsInput/TagsInput.d.ts +76 -0
- package/dist/components/TagsInput/TagsInput.d.ts.map +1 -0
- package/dist/components/TagsInput/index.d.ts +3 -0
- package/dist/components/TagsInput/index.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +89 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/index.d.ts +3 -0
- package/dist/components/Textarea/index.d.ts.map +1 -0
- package/dist/components/Toaster/Toaster.d.ts +99 -0
- package/dist/components/Toaster/Toaster.d.ts.map +1 -0
- package/dist/components/Toaster/index.d.ts +3 -0
- package/dist/components/Toaster/index.d.ts.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +91 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
- package/dist/components/ToggleGroup/index.d.ts +3 -0
- package/dist/components/ToggleGroup/index.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +56 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +3 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/icons/index.d.ts +257 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15988 -0
- package/dist/internal/ClippedText.d.ts +40 -0
- package/dist/internal/ClippedText.d.ts.map +1 -0
- package/dist/internal/DisabledReason.d.ts +50 -0
- package/dist/internal/DisabledReason.d.ts.map +1 -0
- package/dist/internal/InlineSearch.d.ts +27 -0
- package/dist/internal/InlineSearch.d.ts.map +1 -0
- package/dist/internal/children.d.ts +22 -0
- package/dist/internal/children.d.ts.map +1 -0
- package/dist/internal/mergeRefs.d.ts +32 -0
- package/dist/internal/mergeRefs.d.ts.map +1 -0
- package/dist/internal/modality.d.ts +18 -0
- package/dist/internal/modality.d.ts.map +1 -0
- package/dist/internal/useDismissModality.d.ts +23 -0
- package/dist/internal/useDismissModality.d.ts.map +1 -0
- package/dist/internal/useHoverOpen.d.ts +75 -0
- package/dist/internal/useHoverOpen.d.ts.map +1 -0
- package/dist/internal/useModalDialog.d.ts +40 -0
- package/dist/internal/useModalDialog.d.ts.map +1 -0
- package/dist/internal/usePopover.d.ts +43 -0
- package/dist/internal/usePopover.d.ts.map +1 -0
- package/dist/mosaic.css +2 -0
- package/package.json +81 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACrC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,GAAG,EAAG,KAAc,CAAC;AAC3B,KAAK,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,CAAC;AAEhC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACnB,IAAI,EAAE,CAyBR;AAMD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,YAAgB,EAChB,aAA+B,EAC/B,SAAuB,EACvB,SAAoC,EACpC,gBAAmD,EACnD,SAAS,EACT,GAAG,IAAI,EACR,EAAE,eAAe,sCA8DjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from "react";
|
|
2
|
+
export type PopoverProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The control that opens it. It receives a ref, `aria-haspopup`, `aria-expanded`
|
|
5
|
+
* and the click handler, so it must forward its ref — Mosaic's `Button`, `IconButton`
|
|
6
|
+
* and `Link` all do.
|
|
7
|
+
*/
|
|
8
|
+
trigger: ReactElement;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
align?: "start" | "center" | "end";
|
|
11
|
+
/**
|
|
12
|
+
* Drives it from outside. Omit and it holds its own state; pass it and this is the
|
|
13
|
+
* answer, with `onOpenChange` the only way it changes.
|
|
14
|
+
*
|
|
15
|
+
* Both forms exist because both are needed. A panel opened only by its own trigger has no reason
|
|
16
|
+
* to lift the state out. The product's notification panel does: a toast anywhere in the
|
|
17
|
+
* application opens it, and the trigger is in the sidebar.
|
|
18
|
+
*/
|
|
19
|
+
open?: boolean;
|
|
20
|
+
/** Reported when it opens and closes, for a consumer that needs to know. */
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Make the panel the trigger's own width.
|
|
24
|
+
*
|
|
25
|
+
* Off by default, which is right for a panel whose trigger is an icon. On for a panel that
|
|
26
|
+
* is a control's list of values — `Combobox` — where a popup narrower or wider than the
|
|
27
|
+
* field it belongs to reads as a second, unrelated thing. The panel's own
|
|
28
|
+
* `min-inline-size` still applies, so a caller that wants a genuinely narrow one clears it
|
|
29
|
+
* through `className`.
|
|
30
|
+
*/
|
|
31
|
+
matchTriggerWidth?: boolean;
|
|
32
|
+
/** Names the panel. Required, because it is a `role="dialog"`. */
|
|
33
|
+
"aria-label": string;
|
|
34
|
+
className?: string;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* A panel of arbitrary content, opened by clicking a control. Not modal: the page
|
|
38
|
+
* behind it stays usable, and it closes on Escape or on a press outside it.
|
|
39
|
+
*
|
|
40
|
+
* Mosaic already had four popovers — `Tooltip`, `HoverCard`, `DropdownMenu`, `Combobox` — and no
|
|
41
|
+
* general-purpose one, which is the gap the product's notification panel falls into. That panel is
|
|
42
|
+
* currently a plain `<div className="NotificationsListWindow">`: no role, no name, no Escape, and
|
|
43
|
+
* nothing that moves focus, so opening it leaves the keyboard behind in the top bar.
|
|
44
|
+
*
|
|
45
|
+
* **Two decisions, both of which the notification panel settles.**
|
|
46
|
+
*
|
|
47
|
+
* *Focus moves in on open, and back to the trigger on close.* This is what separates
|
|
48
|
+
* this from `HoverCard`, where focus stays put because hovering is not a request to go
|
|
49
|
+
* anywhere. Clicking a bell icon *is* — and the panel's "Clear All" would otherwise be
|
|
50
|
+
* unreachable without tabbing through everything after the bell. Focus returns only if
|
|
51
|
+
* it is still inside the panel when it closes; if the user has already moved on,
|
|
52
|
+
* yanking it back would be worse than leaving it.
|
|
53
|
+
*
|
|
54
|
+
* *It holds its own open state, unless told not to.* Ephemeral UI state, not the field
|
|
55
|
+
* state that CLAUDE.md's controlled rule is about, and the same choice `DropdownMenu`
|
|
56
|
+
* makes. Passing `open` takes it over, for the consumer that has somewhere else the
|
|
57
|
+
* panel can be opened from.
|
|
58
|
+
*
|
|
59
|
+
* Nothing is trapped. A non-modal panel that trapped focus would strand a keyboard
|
|
60
|
+
* user in it, which is exactly the complaint against modals that should not have been
|
|
61
|
+
* modal.
|
|
62
|
+
*/
|
|
63
|
+
export declare function Popover({ trigger, children, align, open: controlledOpen, onOpenChange, matchTriggerWidth, className, ...rest }: PopoverProps): import("react").JSX.Element;
|
|
64
|
+
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4EAA4E;IAC5E,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kEAAkE;IAClE,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,QAAQ,EACR,KAAe,EACf,IAAI,EAAE,cAAc,EACpB,YAAY,EACZ,iBAAyB,EACzB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,YAAY,+BA8Hd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type ProgressProps = {
|
|
2
|
+
/** 0–100. Omit for a task whose extent is unknown. */
|
|
3
|
+
value?: number;
|
|
4
|
+
/** Overrides the announced text, e.g. "3 of 7 steps". */
|
|
5
|
+
valueText?: string;
|
|
6
|
+
/** Names the bar. Required: an unnamed progress bar announces only a number. */
|
|
7
|
+
"aria-label"?: string;
|
|
8
|
+
/** Points at an element that names it instead. */
|
|
9
|
+
"aria-labelledby"?: string;
|
|
10
|
+
/**
|
|
11
|
+
* **`neutral` is the default, and it is ink rather than the brand orange** (product feedback,
|
|
12
|
+
* 2026-08-29).
|
|
13
|
+
*
|
|
14
|
+
* A bar is a *measurement* — how much of a quota is spent, how far an upload has got — and the
|
|
15
|
+
* accent is the product's way of pointing at what to press. A row of orange bars across the
|
|
16
|
+
* dashboard read as five things asking for attention when none of them were. Ink states the
|
|
17
|
+
* same quantity and lets the tones below mean something: `success` and `danger` are the two
|
|
18
|
+
* cases the reader has to act on, and they are legible now that they are not competing with an
|
|
19
|
+
* orange that was there whatever the number said.
|
|
20
|
+
*
|
|
21
|
+
* The tone that was here was called `primary` and no caller ever asked for it by name.
|
|
22
|
+
*/
|
|
23
|
+
tone?: "neutral" | "success" | "danger";
|
|
24
|
+
size?: "sm" | "md";
|
|
25
|
+
className?: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A determinate or indeterminate progress bar.
|
|
29
|
+
*
|
|
30
|
+
* Deliberately not the native `<progress>` element, and the reasoning is the
|
|
31
|
+
* opposite of `Select` and `Checkbox`. Those are native because native supplies
|
|
32
|
+
* *behaviour* — keyboard handling, focus, form participation — that is hard to
|
|
33
|
+
* reproduce. A progress bar has no behaviour; it is a readout. All native gives
|
|
34
|
+
* here is a role and a value mapping, which `role="progressbar"` gives
|
|
35
|
+
* identically, and in exchange `<progress>` hands over its internals to
|
|
36
|
+
* `::-webkit-progress-value` and `::-moz-progress-bar`, which cannot be styled
|
|
37
|
+
* consistently and cannot express an indeterminate state to the design.
|
|
38
|
+
*
|
|
39
|
+
* The product has no `role="progressbar"` and no `aria-valuenow` anywhere, so its progress bars are
|
|
40
|
+
* decoration: a screen reader is told nothing.
|
|
41
|
+
*/
|
|
42
|
+
export declare function Progress({ value, valueText, tone, size, className, ...rest }: ProgressProps): import("react").JSX.Element;
|
|
43
|
+
//# sourceMappingURL=Progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/Progress.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,aAAa,GAAG;IAC1B,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,SAAS,EACT,IAAgB,EAChB,IAAW,EACX,SAAS,EACT,GAAG,IAAI,EACR,EAAE,aAAa,+BA2Bf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type BadgeTone } from "../Badge";
|
|
3
|
+
import { type ProgressProps } from "../Progress";
|
|
4
|
+
export type ProgressBandProps = {
|
|
5
|
+
/** A mark for what is running - an app icon, a platform glyph. Mosaic ships none. */
|
|
6
|
+
media?: ReactNode;
|
|
7
|
+
/** What the run is on: the name the band would carry when nothing is running. */
|
|
8
|
+
title: ReactNode;
|
|
9
|
+
/** Under the name, quiet - a bundle id, a branch, a path. */
|
|
10
|
+
description?: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* The caller's own word for what is happening - "Re-signing", "Building", "Publishing".
|
|
13
|
+
* A badge beside the name, so the state is a word rather than the bar's motion alone.
|
|
14
|
+
*/
|
|
15
|
+
status?: ReactNode;
|
|
16
|
+
statusTone?: BadgeTone;
|
|
17
|
+
/**
|
|
18
|
+
* Where the run has got to right now - the step the queue is on. **This is expected to
|
|
19
|
+
* change while the band is on screen**, and it is announced when it does: the element is a
|
|
20
|
+
* live region, which is the whole reason this is a prop rather than something the caller
|
|
21
|
+
* draws underneath.
|
|
22
|
+
*/
|
|
23
|
+
step?: ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* How long it has been going, **already formatted**. A duration is the product's decision
|
|
26
|
+
* - `21s`, `1:24`, `00:01:24` - and one this component must not make. What it owns is that
|
|
27
|
+
* the column does not jitter as it counts up, which is `font-variant-numeric`.
|
|
28
|
+
*/
|
|
29
|
+
duration?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* The one trailing control - "View details", "Stop". A slot, because what it opens and
|
|
32
|
+
* which scope gates it are the application's.
|
|
33
|
+
*/
|
|
34
|
+
action?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* 0-100, for a run whose extent is genuinely known. **Omit it** - which is the default -
|
|
37
|
+
* for the sweep, and that is the case this was built for: a workflow's length is not known
|
|
38
|
+
* until the queue answers, and a bar that jumps from nothing to 40% on the first poll has
|
|
39
|
+
* invented a measurement. Percentages belong to uploads, where the total is a number the
|
|
40
|
+
* client already holds.
|
|
41
|
+
*/
|
|
42
|
+
value?: number;
|
|
43
|
+
/** The bar's colour. `danger` for a run that has failed and is still on screen. */
|
|
44
|
+
tone?: ProgressProps["tone"];
|
|
45
|
+
/**
|
|
46
|
+
* Which heading element the name becomes. `2` assumes a page title above it - this band
|
|
47
|
+
* stands in for a section's own header, never for the page's.
|
|
48
|
+
*/
|
|
49
|
+
headingLevel?: 2 | 3 | 4;
|
|
50
|
+
labels?: {
|
|
51
|
+
/** Names the bar. Defaults to "In progress". */
|
|
52
|
+
progress?: string;
|
|
53
|
+
};
|
|
54
|
+
className?: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* The band a header becomes while something runs on what it names.
|
|
58
|
+
*
|
|
59
|
+
* A detail pane opens with a band saying what you are looking at and what you can do to it -
|
|
60
|
+
* a version's name, its bundle id, a badge, one primary action. When a job starts on that
|
|
61
|
+
* thing, **this replaces that band and nothing else on the pane moves**: what the version
|
|
62
|
+
* went to, the note that travels with it, the table below - all still true, all still
|
|
63
|
+
* readable while the job runs. The alternative the product reached for first was a veil over
|
|
64
|
+
* the whole pane, which takes away everything you might want to read *because* a job started.
|
|
65
|
+
*
|
|
66
|
+
* So the band is bounded rather than blended: an `outlined` card at the header's own height,
|
|
67
|
+
* which is the nested case `Card` documents (rule 11 is about a block's own surface; this is
|
|
68
|
+
* a box standing inside a pane). The thing that changed has an edge, and the edge is where it
|
|
69
|
+
* ends.
|
|
70
|
+
*
|
|
71
|
+
* **What it says, and what it refuses to say.** Which thing, in what state, on which step,
|
|
72
|
+
* for how long - and a sweep that never claims a percentage unless `value` is given. The step
|
|
73
|
+
* is a live region because it is the one part that changes on its own; a reader who cannot
|
|
74
|
+
* see the bar move is told the step instead, which is the same information and the better
|
|
75
|
+
* half of it (WCAG 1.4.1, and the reason motion is never the only carrier here).
|
|
76
|
+
*
|
|
77
|
+
* **shadcn has no equivalent**, so the name is ours: a *band* rather than a header, because
|
|
78
|
+
* it stands in for one rather than being one, and the page's real header is still above it.
|
|
79
|
+
*
|
|
80
|
+
* ```tsx
|
|
81
|
+
* <ProgressBand
|
|
82
|
+
* media={<AppIcon />}
|
|
83
|
+
* title="Zine 1.1.5 (5)"
|
|
84
|
+
* description="com.example.zine"
|
|
85
|
+
* status="Re-signing"
|
|
86
|
+
* statusTone="info"
|
|
87
|
+
* step={run.stepName}
|
|
88
|
+
* duration={formatDuration(elapsed)}
|
|
89
|
+
* action={<Button variant="secondary" onClick={openLogs}>View details</Button>}
|
|
90
|
+
* />
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare function ProgressBand({ media, title, description, status, statusTone, step, duration, action, value, tone, headingLevel, labels, className }: ProgressBandProps): import("react").JSX.Element;
|
|
94
|
+
//# sourceMappingURL=ProgressBand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBand.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBand/ProgressBand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAG3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,qFAAqF;IACrF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,KAAK,EAAE,SAAS,CAAC;IACjB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE;QACP,gDAAgD;QAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,WAAW,EACX,MAAM,EACN,UAAmB,EACnB,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,KAAK,EACL,IAAI,EACJ,YAAgB,EAChB,MAAM,EACN,SAAS,EACV,EAAE,iBAAiB,+BAuCnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBand/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type RadioProps = Omit<InputHTMLAttributes<HTMLInputElement>, "className" | "style" | "type" | "children"> & {
|
|
3
|
+
/** Required: a radio outside a group has nothing to belong to. */
|
|
4
|
+
value: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
description?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Why it cannot be chosen - `Checkbox`'s `disabledReason`, on the same terms: linked to the
|
|
9
|
+
* input through `aria-describedby` at all times, shown as a tooltip under the radio itself.
|
|
10
|
+
*/
|
|
11
|
+
disabledReason?: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* A native `<input type="radio">`. Because members of a group share a `name`,
|
|
16
|
+
* the browser handles arrow-key navigation, the single-tab-stop behaviour, and
|
|
17
|
+
* the "3 of 5" announcement — none of which is our code.
|
|
18
|
+
*
|
|
19
|
+
* The product has zero of these: `type="radio"` appears nowhere, so every radio is a `div` and none
|
|
20
|
+
* of that behaviour exists today.
|
|
21
|
+
*/
|
|
22
|
+
export declare function Radio({ value, children, description, disabled, disabledReason, className, onChange, ...rest }: RadioProps): import("react").JSX.Element;
|
|
23
|
+
export declare namespace Radio {
|
|
24
|
+
export { RadioGroup as Group };
|
|
25
|
+
}
|
|
26
|
+
export type RadioGroupProps = {
|
|
27
|
+
/**
|
|
28
|
+
* Shared by every member, and what makes the browser treat them as one group.
|
|
29
|
+
* Required rather than generated: two groups that accidentally share a
|
|
30
|
+
* generated name would silently deselect each other.
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/** Becomes the group's `<legend>`. */
|
|
34
|
+
label?: ReactNode;
|
|
35
|
+
help?: ReactNode;
|
|
36
|
+
error?: ReactNode;
|
|
37
|
+
value: string | undefined;
|
|
38
|
+
onChange: (value: string) => void;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* A choice that has to be made. Marks the legend, the way `Field` marks a label.
|
|
42
|
+
*
|
|
43
|
+
* Not put on the radios themselves: `required` on one radio of a group means the group must be
|
|
44
|
+
* answered, so the browser would report the message against whichever radio happened to carry
|
|
45
|
+
* it. The mark is the statement here; the form is the thing that enforces it.
|
|
46
|
+
*/
|
|
47
|
+
required?: boolean;
|
|
48
|
+
/** Names the group when its name is written somewhere else - a `Card`'s header. See `Field`. */
|
|
49
|
+
"aria-label"?: string;
|
|
50
|
+
children: ReactNode;
|
|
51
|
+
className?: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A labelled group of radios, in a real `fieldset` with a `legend` — the only way to give several
|
|
55
|
+
* controls one accessible name. The product has no fieldset anywhere, so a radio group there is
|
|
56
|
+
* announced as unrelated controls.
|
|
57
|
+
*
|
|
58
|
+
* **One arrangement, not two** (2026-09-23). There was a `variant` — `stack`, a bare column,
|
|
59
|
+
* against `list`, one bordered box with a rule between rows — and a `direction` that only `stack`
|
|
60
|
+
* read. The product had already chosen: of the 63 radio groups and 42 checkbox groups in the
|
|
61
|
+
* product, every single one that named a variant named `list`, and not one asked for `stack`. A
|
|
62
|
+
* prop whose other value nobody picks is a decision left open for no reason, so the box is simply
|
|
63
|
+
* what a group looks like.
|
|
64
|
+
*/
|
|
65
|
+
export declare function RadioGroup({ name, label, help, error, value, onChange, disabled, required, "aria-label": ariaLabel, children, className }: RadioGroupProps): import("react").JSX.Element;
|
|
66
|
+
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgB5D,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAC5C,GAAG;IACF,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,cAAc,EACd,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,UAAU,+BAiEZ;yBA1Ee,KAAK;aAiKP,UAAU;;AArFxB,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gGAAgG;IAChG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,SAAS,EACV,EAAE,eAAe,+BA+BjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { InputProps } from "../Input";
|
|
3
|
+
export type SearchInputProps = Omit<InputProps, "type" | "startAdornment" | "endAdornment" | "value" | "onChange"> & {
|
|
4
|
+
value: string;
|
|
5
|
+
/**
|
|
6
|
+
* Receives the text, not the event. A search box is asked for its query far more often than for
|
|
7
|
+
* its event, and the product's SearchField already used this shape.
|
|
8
|
+
*/
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
/** Mosaic ships no icons. Without one, the box is still a search box. */
|
|
11
|
+
icon?: ReactNode;
|
|
12
|
+
/** Label for the clear button. Override for a non-English UI. */
|
|
13
|
+
clearLabel?: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A search box: a text input, a leading icon slot, and a clear button that
|
|
17
|
+
* appears once there is something to clear.
|
|
18
|
+
*
|
|
19
|
+
* It is a separate component rather than a `Input` variant because it adds
|
|
20
|
+
* behaviour, not styling — `type="search"`, Escape-to-clear, and a real labelled
|
|
21
|
+
* button for clearing. The shared part is `Input`'s adornment slots, which
|
|
22
|
+
* is why those were added first.
|
|
23
|
+
*/
|
|
24
|
+
export declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<InputProps, "endAdornment" | "onChange" | "startAdornment" | "type" | "value"> & {
|
|
25
|
+
value: string;
|
|
26
|
+
/**
|
|
27
|
+
* Receives the text, not the event. A search box is asked for its query far more often than for
|
|
28
|
+
* its event, and the product's SearchField already used this shape.
|
|
29
|
+
*/
|
|
30
|
+
onChange: (value: string) => void;
|
|
31
|
+
/** Mosaic ships no icons. Without one, the box is still a search box. */
|
|
32
|
+
icon?: ReactNode;
|
|
33
|
+
/** Label for the clear button. Override for a non-English UI. */
|
|
34
|
+
clearLabel?: string;
|
|
35
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
36
|
+
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,UAAU,EACV,MAAM,GAAG,gBAAgB,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAClE,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,yEAAyE;IACzE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;WArBf,MAAM;IACb;;;OAGG;cACO,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;IACjC,yEAAyE;WAClE,SAAS;IAChB,iEAAiE;iBACpD,MAAM;oDA6EpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ReactNode, SelectHTMLAttributes } from "react";
|
|
2
|
+
export type SelectSize = "sm" | "md" | "lg";
|
|
3
|
+
export type SelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, "className" | "style" | "size" | "multiple"> & {
|
|
4
|
+
size?: SelectSize;
|
|
5
|
+
/**
|
|
6
|
+
* Rendered as a disabled first option, so an empty select reads as a prompt
|
|
7
|
+
* rather than as the first real choice already made.
|
|
8
|
+
*/
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** Set only outside a `Field`; inside one it comes from context. */
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
/** `<option>` and `<optgroup>` elements. */
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* A native `<select>`.
|
|
18
|
+
*
|
|
19
|
+
* This is the one place the product already reached for a native control — `SelectBox` is the
|
|
20
|
+
* single `<select>` in the whole codebase — and it was the right call. Native brings the keyboard,
|
|
21
|
+
* type-to-search, the platform picker on touch devices, and a popup rendered by the OS rather than
|
|
22
|
+
* positioned by us. That last part matters: a select inside a modal works, whereas a hand-rolled
|
|
23
|
+
* dropdown portalled to `document.body` renders behind the dialog's top layer.
|
|
24
|
+
*
|
|
25
|
+
* `<optgroup>` works because the children are real options. An `options` array
|
|
26
|
+
* prop would have to reinvent grouping.
|
|
27
|
+
*
|
|
28
|
+
* When options need more than text — an icon, a second line, filtering — that is
|
|
29
|
+
* a `Combobox`, not a bigger `Select`.
|
|
30
|
+
*/
|
|
31
|
+
export declare const Select: import("react").ForwardRefExoticComponent<Omit<SelectHTMLAttributes<HTMLSelectElement>, "className" | "multiple" | "size" | "style"> & {
|
|
32
|
+
size?: SelectSize;
|
|
33
|
+
/**
|
|
34
|
+
* Rendered as a disabled first option, so an empty select reads as a prompt
|
|
35
|
+
* rather than as the first real choice already made.
|
|
36
|
+
*/
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
/** Set only outside a `Field`; inside one it comes from context. */
|
|
39
|
+
invalid?: boolean;
|
|
40
|
+
/** `<option>` and `<optgroup>` elements. */
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
className?: string;
|
|
43
|
+
} & import("react").RefAttributes<HTMLSelectElement>>;
|
|
44
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAK7D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAC5C,GAAG;IACF,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,MAAM;WA5BV,UAAU;IACjB;;;OAGG;kBACW,MAAM;IACpB,oEAAoE;cAC1D,OAAO;IACjB,4CAA4C;eACjC,SAAS;gBACR,MAAM;qDA6HnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
export type SeparatorProps = Omit<HTMLAttributes<HTMLHRElement>, "role"> & {
|
|
3
|
+
orientation?: "horizontal" | "vertical";
|
|
4
|
+
/**
|
|
5
|
+
* Hides it from assistive technology, for a line that only groups things visually
|
|
6
|
+
* — a divider between toolbar buttons, or between a label and its value.
|
|
7
|
+
*
|
|
8
|
+
* The default is the other way round from shadcn's, which is decorative by
|
|
9
|
+
* default. This renders an `<hr>`, and a thematic break is what that element
|
|
10
|
+
* means; a line deliberately placed between two groups usually is one. An
|
|
11
|
+
* over-announced separator is minor noise, a missing boundary is not.
|
|
12
|
+
*/
|
|
13
|
+
decorative?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* A line between things.
|
|
18
|
+
*
|
|
19
|
+
* The product draws these by hand everywhere and has no shared one. The concept appears under two
|
|
20
|
+
* spellings — `separator` 34 times and `seperator` 18 — so a search for either finds two thirds of
|
|
21
|
+
* them. `role="separator"` appears zero times and `<hr>` in one file, meaning every divider in the
|
|
22
|
+
* product is a styled `<div>` that says nothing about being a boundary.
|
|
23
|
+
*
|
|
24
|
+
* `DropdownMenu.Separator` stays its own thing: inside a menu the separator is part of
|
|
25
|
+
* the menu pattern and is positioned by the menu's own padding.
|
|
26
|
+
*/
|
|
27
|
+
export declare function Separator({ orientation, decorative, className, ...rest }: SeparatorProps): import("react").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../src/components/Separator/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,GAAG;IACzE,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CAAC,EACxB,WAA0B,EAC1B,UAAU,EACV,SAAS,EACT,GAAG,IAAI,EACR,EAAE,cAAc,+BAchB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Separator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { DialogHTMLAttributes, HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type SheetSide = "end" | "start";
|
|
3
|
+
export type SheetSize = "sm" | "md" | "lg" | "xl" | "full";
|
|
4
|
+
export type SheetProps = Omit<DialogHTMLAttributes<HTMLDialogElement>, "open" | "onClose" | "className" | "style"> & {
|
|
5
|
+
open: boolean;
|
|
6
|
+
/** Called for every dismissal route: the close button, Escape, and the backdrop. */
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
/**
|
|
9
|
+
* Which edge it is anchored to. `end` - the right on a left-to-right page - because that is where
|
|
10
|
+
* the product opens all of them, and because a panel that arrives from the side you read towards
|
|
11
|
+
* does not push the eye backwards.
|
|
12
|
+
*/
|
|
13
|
+
side?: SheetSide;
|
|
14
|
+
size?: SheetSize;
|
|
15
|
+
/** Set false for a panel that must be resolved by an action, not dismissed. */
|
|
16
|
+
dismissible?: boolean;
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
className?: string;
|
|
19
|
+
/** Use only when no `Sheet.Header` title is present to label the panel. */
|
|
20
|
+
"aria-label"?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function Sheet({ open, onClose, side, size, dismissible, children, className, onKeyDown, ...rest }: SheetProps): import("react").JSX.Element;
|
|
23
|
+
export declare namespace Sheet {
|
|
24
|
+
export { SheetHeader as Header };
|
|
25
|
+
export { SheetBody as Body };
|
|
26
|
+
export { SheetFooter as Footer };
|
|
27
|
+
}
|
|
28
|
+
export type SheetHeaderProps = Omit<HTMLAttributes<HTMLElement>, "title"> & {
|
|
29
|
+
title?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Shown as a back arrow when this panel is one step of a flow. The panels nest in place
|
|
32
|
+
* rather than stacking, so this replaces the contents instead of closing anything.
|
|
33
|
+
*/
|
|
34
|
+
onBack?: () => void;
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
/** Trailing content beside the title - a badge, a count. For a docs link use `info`. */
|
|
37
|
+
action?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* A link to the documentation for whatever this panel does, beside the close button.
|
|
40
|
+
*
|
|
41
|
+
* The same prop `Dialog.Header` takes, and this is the header it originates from: The product's
|
|
42
|
+
* `ModalWindow` *is* a right-hand sheet, its `infoUrl` prop is set by around forty of its panels,
|
|
43
|
+
* and `InfoButton` is what it renders. Two headers doing the same job two ways is what a design
|
|
44
|
+
* system is for removing.
|
|
45
|
+
*
|
|
46
|
+
* It is a prop rather than something passed through `action` because the look is the point: it has
|
|
47
|
+
* to read as the ✕'s sibling - same 32px box, same muted ink, same hover - and an anchor placed in
|
|
48
|
+
* `action` gets the link colour and an underline instead.
|
|
49
|
+
*
|
|
50
|
+
* Always a new tab, so `rel="noopener noreferrer"` is set here.
|
|
51
|
+
*/
|
|
52
|
+
info?: {
|
|
53
|
+
href: string;
|
|
54
|
+
/** Rarely: the default is the round ⓘ - rule 20's docs glyph. Override only with a reason. */
|
|
55
|
+
icon?: ReactNode;
|
|
56
|
+
/** Its accessible name. Say what the documentation is *about*, not "info". */
|
|
57
|
+
label?: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* The header's two affordances. Both default to the library's own glyph - pass your own to
|
|
61
|
+
* replace either.
|
|
62
|
+
*
|
|
63
|
+
* **The back arrow was the text character `‹` and is now the icon set's chevron** (2026-08-29).
|
|
64
|
+
* It was not: it measured 5×14px beside a 14px `ⓘ` and a 14px `✕`, because a guillemet is a thin
|
|
65
|
+
* single-stroke mark that no font draws at an icon's weight. Sizing it up does not fix that -
|
|
66
|
+
* tried at 18, 20 and 24px, and it stays a hairline - so the character is the thing that was
|
|
67
|
+
* wrong, not its size.
|
|
68
|
+
*
|
|
69
|
+
* This does not make the library ship icons: the prop is still where a consumer's glyph goes,
|
|
70
|
+
* and the default comes from `src/icons`, which is exactly what `Alert` does for its docs `ⓘ`
|
|
71
|
+
* and `AlertDialog` for its warning triangle.
|
|
72
|
+
*/
|
|
73
|
+
closeIcon?: ReactNode;
|
|
74
|
+
backIcon?: ReactNode;
|
|
75
|
+
children?: ReactNode;
|
|
76
|
+
className?: string;
|
|
77
|
+
};
|
|
78
|
+
declare function SheetHeader({ title, onBack, onClose, action, info, closeIcon, backIcon, children, className, ...rest }: SheetHeaderProps): import("react").JSX.Element;
|
|
79
|
+
export type SheetBodyProps = HTMLAttributes<HTMLDivElement> & {
|
|
80
|
+
children?: ReactNode;
|
|
81
|
+
className?: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* The scrolling region. Native overflow rather than a scrollbar library - `src/base.css`
|
|
85
|
+
* themes the browser's own, which is why there is no `ScrollArea` here either.
|
|
86
|
+
*/
|
|
87
|
+
declare function SheetBody({ children, className, ...rest }: SheetBodyProps): import("react").JSX.Element;
|
|
88
|
+
export type SheetFooterProps = HTMLAttributes<HTMLElement> & {
|
|
89
|
+
children?: ReactNode;
|
|
90
|
+
className?: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Stays in view while the body scrolls, because it is where Save lives and a form long
|
|
94
|
+
* enough to scroll is exactly the one whose Save must not be hunted for.
|
|
95
|
+
*
|
|
96
|
+
* **Nothing to hold, no band** (2026-10-06). A viewer without the scope for a panel's actions
|
|
97
|
+
* gets them hidden rather than disabled, which leaves `{canSave && <Button />}` - `false` - as the
|
|
98
|
+
* footer's only child, and the band with its hairline was drawn round nothing. `false`, `null`
|
|
99
|
+
* and empty fragments count as empty; see `hasChildren`.
|
|
100
|
+
*/
|
|
101
|
+
declare function SheetFooter({ children, className, ...rest }: SheetFooterProps): import("react").JSX.Element | null;
|
|
102
|
+
export {};
|
|
103
|
+
//# sourceMappingURL=Sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EAEd,SAAS,EACV,MAAM,OAAO,CAAC;AASf,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;AACxC,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,CAC3C,GAAG;IACF,IAAI,EAAE,OAAO,CAAC;IACd,oFAAoF;IACpF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AA+DF,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAO,EACP,IAAY,EACZ,IAAW,EACX,WAAkB,EAClB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,GAAG,IAAI,EACR,EAAE,UAAU,+BA8BZ;yBAxCe,KAAK;aAqMN,WAAW;aACb,SAAS;aACP,WAAW;;AA7J1B,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,GAAG;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wFAAwF;IACxF,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,8FAA8F;QAC9F,IAAI,CAAC,EAAE,SAAS,CAAC;QACjB,8EAA8E;QAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF;;;;;;;;;;;;;OAaG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,WAAW,CAAC,EACnB,KAAK,EACL,MAAM,EACN,OAAO,EACP,MAAM,EACN,IAAI,EACJ,SAAuC,EACvC,QAA4C,EAC5C,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,gBAAgB,+BAmDlB;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC5D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,iBAAS,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAMlE;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IAC3D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;GAQG;AACH,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,sCAOtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EACjB,MAAM,SAAS,CAAC"}
|