@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,57 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type RestrictedAreaLabels = {
|
|
3
|
+
title?: ReactNode;
|
|
4
|
+
description?: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export type RestrictedAreaProps = {
|
|
7
|
+
/** `3` assumes a page title and a section title above; a whole refused page passes `2`. */
|
|
8
|
+
headingLevel?: 2 | 3 | 4;
|
|
9
|
+
labels?: RestrictedAreaLabels;
|
|
10
|
+
/**
|
|
11
|
+
* Where the roles are explained — optional, and off unless a caller asks for it (2026-08-31).
|
|
12
|
+
*
|
|
13
|
+
* Drawn by `Empty` as its `docs` button: a quiet secondary "More info" under the sentence,
|
|
14
|
+
* beside where an action would be. It was a corner `ⓘ` until 2026-09-06, when the product
|
|
15
|
+
* settled the empty-state standard — no glyph inside an `Empty`, the documentation is always a
|
|
16
|
+
* secondary button at the bottom — and this block is an `Empty`.
|
|
17
|
+
*
|
|
18
|
+
* Reach for it where a reader can act on what they find: the whole-page refusal, where the
|
|
19
|
+
* answer is "ask whoever manages your team".
|
|
20
|
+
*/
|
|
21
|
+
docs?: {
|
|
22
|
+
href: string;
|
|
23
|
+
/** The button's text. Defaults to "More info". */
|
|
24
|
+
label?: string;
|
|
25
|
+
};
|
|
26
|
+
className?: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* A page the viewer's permissions do not open, reached by its URL: drawn *instead of* the page,
|
|
30
|
+
* never over it. A dashboard widget or a section the viewer may not read is not drawn at all,
|
|
31
|
+
* not replaced by this block (rule 25, product call 2026-10-06).
|
|
32
|
+
*
|
|
33
|
+
* What it replaces is the product's `PersmissionAccess` (sic — the typo is in 110 files): an
|
|
34
|
+
* absolutely-positioned scrim with `filter: blur(2px)` on its *following siblings*, which meant
|
|
35
|
+
* three things this block refuses to inherit. The blur depended on DOM order, so whether the
|
|
36
|
+
* content behind was actually obscured was a coincidence of markup. The content stayed in the
|
|
37
|
+
* document, so a screen reader read every word of what the eyes were denied and Tab walked into its
|
|
38
|
+
* controls — a denial that only worked on the sighted. And the overlay was unsized, so every call
|
|
39
|
+
* site carried its own `position: relative` patch.
|
|
40
|
+
*
|
|
41
|
+
* Here the caller simply renders this block *instead of* the content
|
|
42
|
+
* (`gate.state === "no-permission" ? <RestrictedArea/> : <ThePage/>`), so there is
|
|
43
|
+
* nothing behind it to leak. The words are the legacy overlay's own, overridable for
|
|
44
|
+
* react-intl.
|
|
45
|
+
*
|
|
46
|
+
* **The documentation reference is optional, and it is `Empty`'s own docs button.** It was removed
|
|
47
|
+
* outright once (2026-08-26) because it was a lone round button under the words, which reads as the
|
|
48
|
+
* way in. It came back as a corner `ⓘ` (2026-08-31), then beside the title (2026-09-01), and
|
|
49
|
+
* settled on 2026-09-06 with the rest of the empty states: a secondary "More info" at the bottom,
|
|
50
|
+
* off unless a caller passes `docs`.
|
|
51
|
+
*
|
|
52
|
+
* A block, not a component: "access denied, ask your administrator" is the product's
|
|
53
|
+
* sentence, not a layout primitive — and it carries no module prefix (rule 22) because
|
|
54
|
+
* every module says it.
|
|
55
|
+
*/
|
|
56
|
+
export declare function RestrictedArea({ headingLevel, labels, docs, className }: RestrictedAreaProps): import("react").JSX.Element;
|
|
57
|
+
//# sourceMappingURL=RestrictedArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestrictedArea.d.ts","sourceRoot":"","sources":["../../../src/blocks/RestrictedArea/RestrictedArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,2FAA2F;IAC3F,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,kDAAkD;QAClD,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAOF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,cAAc,CAAC,EAC7B,YAAgB,EAChB,MAAM,EACN,IAAI,EACJ,SAAS,EACV,EAAE,mBAAmB,+BAcrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/RestrictedArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type Space } from "../../components/Stack";
|
|
3
|
+
export type SearchLayoutProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The page's name. Becomes its `h1`.
|
|
6
|
+
*
|
|
7
|
+
* Optional: in the product the module's name is already in the sidebar and in the breadcrumb
|
|
8
|
+
* above this, so most list pages leave it out and the header is its toolbar alone — which is what
|
|
9
|
+
* the product's own build page does.
|
|
10
|
+
*/
|
|
11
|
+
title?: ReactNode;
|
|
12
|
+
/** A line under the title. */
|
|
13
|
+
description?: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* What leads the header row when the page's identity is not a name — a `Tabs` switching
|
|
16
|
+
* between the three lists the page keeps, as the Apple devices page does. Passed through to
|
|
17
|
+
* `PageHeader`'s slot of the same name, so it sits at the leading edge and outside the `h1`.
|
|
18
|
+
*/
|
|
19
|
+
beside?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Opens the search. Renders the magnifier for you — the common case, where searching means
|
|
22
|
+
* a `CommandDialog` over the page's own items.
|
|
23
|
+
*
|
|
24
|
+
* Ignored when `search` is given, which is the escape hatch for a page that wants a field
|
|
25
|
+
* in the row instead of a button.
|
|
26
|
+
*/
|
|
27
|
+
onSearch?: () => void;
|
|
28
|
+
/** Names the magnifier, and its tooltip. */
|
|
29
|
+
searchLabel?: string;
|
|
30
|
+
/** A search control of the page's own — an inline `SearchInput`, most often. */
|
|
31
|
+
search?: ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* The query, when the page wants the magnifier to **become the field** rather than open a
|
|
34
|
+
* palette over the list.
|
|
35
|
+
*
|
|
36
|
+
* Given together with `onSearchValueChange`, the button grows into a `SearchInput` where it stood
|
|
37
|
+
* and the list narrows as the reader types — the toolbar's own filter, in the toolbar's own row
|
|
38
|
+
* (product call, 2026-09-05). Clearing the field puts the button back, which is what returns the
|
|
39
|
+
* page to the state it was in before.
|
|
40
|
+
*
|
|
41
|
+
* A page still on `onSearch` keeps the palette: that one searches a *set* — every profile the
|
|
42
|
+
* account has, not the rows on screen — and collapsing it into a text box would narrow what
|
|
43
|
+
* can be found.
|
|
44
|
+
*/
|
|
45
|
+
searchValue?: string;
|
|
46
|
+
onSearchValueChange?: (value: string) => void;
|
|
47
|
+
/** The faceted filter. `CommandFilter` fits here and brings its chips with it. */
|
|
48
|
+
filter?: ReactNode;
|
|
49
|
+
/** How the list is ordered. A `Popover` of controls, usually. */
|
|
50
|
+
sort?: ReactNode;
|
|
51
|
+
/** Switching how the list is drawn — grid against rows. */
|
|
52
|
+
view?: ReactNode;
|
|
53
|
+
/** The page's own action, at the trailing edge: "Add a New Build Profile". */
|
|
54
|
+
actions?: ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* The page's documentation, drawn as the round ⓘ at the very end of the header row.
|
|
57
|
+
*
|
|
58
|
+
* A slot of its own rather than one more thing in `actions`, because where it goes is not
|
|
59
|
+
* the page's decision: ⓘ is the trailing corner everywhere in the product — `ModalWindow`
|
|
60
|
+
* puts it immediately left of the close button for the same reason — and a page that
|
|
61
|
+
* placed its own put it wherever the JSX happened to list it. Measured before this
|
|
62
|
+
* existed: four signing pages had the ⓘ *before* their "New …" button, and moving it to
|
|
63
|
+
* the end of `actions` still left it inboard of the magnifier at 1200 against 1236.
|
|
64
|
+
*
|
|
65
|
+
* The button is drawn here, so every page gets the same one: an external link, the
|
|
66
|
+
* secondary icon button, and its label as the tooltip.
|
|
67
|
+
*/
|
|
68
|
+
helpUrl?: string;
|
|
69
|
+
/** Names the ⓘ, and its tooltip. Required in substance whenever `helpUrl` is set. */
|
|
70
|
+
helpLabel?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Held back until the answer is in, so "nothing here yet" cannot flash before the list
|
|
73
|
+
* arrives. No spinner of its own: the application has one indicator and this is not it.
|
|
74
|
+
*/
|
|
75
|
+
loading?: boolean;
|
|
76
|
+
/** Draws `empty` in place of the list. */
|
|
77
|
+
isEmpty?: boolean;
|
|
78
|
+
/** What to say when there is nothing. Defaults to a bare `Empty`. */
|
|
79
|
+
empty?: ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* Wraps the children in a `CardGrid` whose columns are at least this many `rem` wide. Left
|
|
82
|
+
* out, the children are placed as they are — a table, a list, a page's own layout.
|
|
83
|
+
*/
|
|
84
|
+
gridMinColumn?: number;
|
|
85
|
+
/** Gap between the grid's cards, on the space scale. */
|
|
86
|
+
gridGap?: Space;
|
|
87
|
+
/** Renders a "Load more" button under the list. A button, not a scroll listener. */
|
|
88
|
+
onLoadMore?: () => void;
|
|
89
|
+
loadMoreLabel?: string;
|
|
90
|
+
children?: ReactNode;
|
|
91
|
+
className?: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* A list page: a header that says what the page is and how to narrow it, and the list.
|
|
95
|
+
*
|
|
96
|
+
* This is the product's `SearchLayout` — 576 lines behind twenty-nine props, drawing the title, the
|
|
97
|
+
* search box, the filter and sort triggers, the view switch, the add button, the help link, the
|
|
98
|
+
* YouTube link, the progress overlay and the empty state for six modules at once. Every one of
|
|
99
|
+
* those modules is in the file, which is why moving one meant touching all six.
|
|
100
|
+
*
|
|
101
|
+
* What is here is the same *shape* with the modules taken out of it. The props that could
|
|
102
|
+
* not come are the ones that were never layout: `model` and `services` (the page fetches its
|
|
103
|
+
* own data and hands the result over as `children`), `isJSX`/`returnJSX` (two branches for
|
|
104
|
+
* the same slot), `gridModuleType`, `isDistProfiles`, `isEnterprise`, `filterPublishStatus`
|
|
105
|
+
* — a layout that names the modules that use it cannot be used by a seventh.
|
|
106
|
+
*
|
|
107
|
+
* Everything the old one *drew* has a slot: search, filter, sort, view, actions, the empty
|
|
108
|
+
* state, load-more. A page that wants none of them passes none and gets a title and a list.
|
|
109
|
+
*
|
|
110
|
+
* **The header is two rows, and their order is fixed** (product decision, 2026-08-22 —
|
|
111
|
+
* Linear's arrangement). The first row is the page's identity: title leading, the primary
|
|
112
|
+
* action trailing. The second is how the list is narrowed: the filter and its chips lead,
|
|
113
|
+
* and search, sort, view sit at the trailing edge. Fixed because it is the same pair of
|
|
114
|
+
* rows on every page in the product, and a page that orders them differently is a page
|
|
115
|
+
* where people have to look for the control they used a moment ago somewhere else.
|
|
116
|
+
*/
|
|
117
|
+
export declare function SearchLayout({ title, description, beside, onSearch, searchLabel, search, searchValue, onSearchValueChange, filter, sort, view, actions, helpUrl, helpLabel, loading, isEmpty, empty, gridMinColumn, gridGap, onLoadMore, loadMoreLabel, children, className }: SearchLayoutProps): import("react").JSX.Element;
|
|
118
|
+
//# sourceMappingURL=SearchLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchLayout.d.ts","sourceRoot":"","sources":["../../../src/blocks/SearchLayout/SearchLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAQrD,OAAO,EAAS,KAAK,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAO3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE9C,kFAAkF;IAClF,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qEAAqE;IACrE,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,OAAO,CAAC,EAAE,KAAK,CAAC;IAEhB,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,WAAsB,EACtB,MAAM,EACN,WAAW,EACX,mBAAmB,EACnB,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAA2B,EAC3B,OAAe,EACf,OAAe,EACf,KAAK,EACL,aAAa,EAEb,OAAW,EACX,UAAU,EACV,aAA2B,EAC3B,QAAQ,EACR,SAAS,EACV,EAAE,iBAAiB,+BA6LnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/SearchLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type UpgradeDialogAction = "upgrade" | "contact";
|
|
3
|
+
export type UpgradeDialogLabels = {
|
|
4
|
+
title?: ReactNode;
|
|
5
|
+
description?: ReactNode;
|
|
6
|
+
/** The action button — defaults to "Upgrade" or "Contact" by `action`. */
|
|
7
|
+
action?: string;
|
|
8
|
+
cancel?: string;
|
|
9
|
+
};
|
|
10
|
+
export type UpgradeDialogProps = {
|
|
11
|
+
open: boolean;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
/**
|
|
14
|
+
* What pressing the button does about the plan:
|
|
15
|
+
* - `upgrade` — the plan can be raised in the product; `onAction` routes to billing.
|
|
16
|
+
* - `contact` — the plan is sold by a person; `href` opens the contact page.
|
|
17
|
+
*/
|
|
18
|
+
action: UpgradeDialogAction;
|
|
19
|
+
/** The SPA route push — to the billing page, usually. */
|
|
20
|
+
onAction?: () => void;
|
|
21
|
+
/** The external form of `onAction` — a contact page. Opens in a new tab. */
|
|
22
|
+
href?: string;
|
|
23
|
+
labels?: UpgradeDialogLabels;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The one door a plan-gated feature opens: a control that the plan does not cover stays
|
|
27
|
+
* visible and pressable, the API Gateway answers its request with 402, and the application opens
|
|
28
|
+
* this dialog from that response (rule 35) — never a silently disabled control, which is
|
|
29
|
+
* indistinguishable from a permission denial and tells the user nothing about which of the two
|
|
30
|
+
* it is.
|
|
31
|
+
*
|
|
32
|
+
* What it replaces, counted: the product says "your plan does not cover this" through **eight**
|
|
33
|
+
* components — `PublishGetContactModal`, `OrganizationGetContactModal`,
|
|
34
|
+
* `EnterpriseStorePaymentRequiredModal`, `FeatureComingSoonModal` (registered, never opened),
|
|
35
|
+
* `PaymentRequiredModal`, `PaymentPastDueWarningDialog`, `NoBuildRightsWarningDialog` (whose body
|
|
36
|
+
* is empty), and `RestrictedView` — with two different verdicts for the same situation: Publish
|
|
37
|
+
* says *Contact sales*, Connections says *Upgrade → billing*. The split is real — some plans are
|
|
38
|
+
* bought in the product and some are sold by a person — so it is the `action` prop here rather than
|
|
39
|
+
* a component boundary.
|
|
40
|
+
*
|
|
41
|
+
* Composes `AlertDialog` in the warning tone, which is how the legacy modals all drew it
|
|
42
|
+
* (a `WarningIcon` over a sentence). Copy defaults to English and yields to `labels`, the
|
|
43
|
+
* react-intl arrangement every block makes.
|
|
44
|
+
*/
|
|
45
|
+
export declare function UpgradeDialog({ open, onClose, action, onAction, href, labels }: UpgradeDialogProps): import("react").JSX.Element;
|
|
46
|
+
//# sourceMappingURL=UpgradeDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpgradeDialog.d.ts","sourceRoot":"","sources":["../../../src/blocks/UpgradeDialog/UpgradeDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAaF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,MAAM,EACP,EAAE,kBAAkB,+BAmBpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/UpgradeDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type VersionIdentityProps = {
|
|
3
|
+
/** The app's icon, at the control step - 28px. */
|
|
4
|
+
media?: ReactNode;
|
|
5
|
+
/** What the version is called: "Appcircle Sample 1.0.3 (2)". */
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
/** What identifies it: the bundle ID or package name. */
|
|
8
|
+
subtitle?: ReactNode;
|
|
9
|
+
/** Its state, as badges - beside the title. */
|
|
10
|
+
marks?: ReactNode;
|
|
11
|
+
/** When it arrived - under the marks, in the subtitle's type. */
|
|
12
|
+
meta?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A version's identity at the head of its pane: the icon, then four cells in two columns - the
|
|
17
|
+
* name over its identifier, and beside them its marks over when it arrived.
|
|
18
|
+
*
|
|
19
|
+
* **One arrangement for Testing Distribution and the Enterprise App Store** (UAT, 2026-09-29:
|
|
20
|
+
* "module headers should be consistent" - the store drew its badge and a relative date inline after
|
|
21
|
+
* the identifier, in a font of its own). It is the testing distribution's, which the product chose.
|
|
22
|
+
*
|
|
23
|
+
* **A grid, not two stacked columns**, for the rows' sake: a badge is taller than a line of text,
|
|
24
|
+
* and in two independent columns the date would sit a pixel or two off the identifier it belongs
|
|
25
|
+
* to. The grid gives both rows one height and one gap. The text column is the one that gives up
|
|
26
|
+
* width - a long name is clipped - while the marks and the date keep theirs.
|
|
27
|
+
*/
|
|
28
|
+
export declare function VersionIdentity({ media, title, subtitle, marks, meta, className }: VersionIdentityProps): import("react").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=VersionIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionIdentity.d.ts","sourceRoot":"","sources":["../../../src/blocks/VersionIdentity/VersionIdentity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gEAAgE;IAChE,KAAK,EAAE,SAAS,CAAC;IACjB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,SAAS,EACV,EAAE,oBAAoB,+BAYtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/VersionIdentity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type AlertTone = "info" | "success" | "warning" | "danger";
|
|
3
|
+
export type AlertProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The note. Optional, because a note can be its `title` alone — "Machine plan: Velocity" said
|
|
6
|
+
* nothing more by adding "The machine plan assigned to the organization." under it (2026-09-01),
|
|
7
|
+
* and a second line that restates the first is the thing the forms around it were just cleared
|
|
8
|
+
* of.
|
|
9
|
+
*/
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
tone?: AlertTone;
|
|
12
|
+
/** Bold first line. Omit for a single-sentence note. */
|
|
13
|
+
title?: ReactNode;
|
|
14
|
+
/** Mosaic ships no icons. Without one the tone is still announced — see below. */
|
|
15
|
+
icon?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Set when the alert appears in response to something the user did, so it
|
|
18
|
+
* is announced. Left off for content that is on the page from the start,
|
|
19
|
+
* which would otherwise be read out on load for no reason.
|
|
20
|
+
*/
|
|
21
|
+
live?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Actions belonging to the note — "Learn more", "Autofill". Inside the alert rather than
|
|
24
|
+
* after it, because they act on what it says; a button beside an alert reads as belonging
|
|
25
|
+
* to the page.
|
|
26
|
+
*/
|
|
27
|
+
actions?: ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Where those actions sit.
|
|
30
|
+
*
|
|
31
|
+
* `below` is the default and is right for a note that *asks for something*: the sentence
|
|
32
|
+
* explains, and the control that answers it comes after the words the way a reply follows a
|
|
33
|
+
* question.
|
|
34
|
+
*
|
|
35
|
+
* `end` puts them at the note's trailing edge, level with the text (product call, 2026-08-29).
|
|
36
|
+
* For the other kind of note — one that *states a fact* and carries a control that is incidental
|
|
37
|
+
* to it, like the machine plan and its Upgrade — a button under the sentence reads as the thing
|
|
38
|
+
* to do next, when the sentence was the point. It is also how the row it replaced was built, an
|
|
39
|
+
* `Item` with the control in its trailing slot.
|
|
40
|
+
*
|
|
41
|
+
* Ignored when the note carries a `ⓘ` or a close button: those own the trailing corner, and two
|
|
42
|
+
* things claiming it is how a row of buttons ends up under a glyph.
|
|
43
|
+
*/
|
|
44
|
+
actionsPlacement?: "below" | "end";
|
|
45
|
+
/**
|
|
46
|
+
* A link to the documentation for what the note is about — the round `ⓘ` at the top right.
|
|
47
|
+
*
|
|
48
|
+
* **Rule 20, and the reason this prop exists**: everything that leaves for docs.appcircle.io is
|
|
49
|
+
* that one glyph, never a worded link (product call, 2026-08-27). The build sheets carried a
|
|
50
|
+
* "Learn more" link in `actions` instead, which put a *departure* in the row reserved for what
|
|
51
|
+
* the product can do — beside "Autofill", which fills the form in front of you.
|
|
52
|
+
*
|
|
53
|
+
* The same shape `Sheet.Header` and `Dialog.Header` take, so a reader meets the same affordance
|
|
54
|
+
* in a header and in a note. Always a new tab, so the `rel` is set here.
|
|
55
|
+
*/
|
|
56
|
+
info?: {
|
|
57
|
+
href: string;
|
|
58
|
+
/** Rarely: the default is the round ⓘ. Override only with a reason. */
|
|
59
|
+
icon?: ReactNode;
|
|
60
|
+
/** Its accessible name. Say what the documentation is *about*, not "info". */
|
|
61
|
+
label?: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Renders a close button. Only for a note the reader can finish with: an error explaining
|
|
65
|
+
* why a form will not submit is not dismissible, because dismissing it does not fix
|
|
66
|
+
* anything and the reason is then gone.
|
|
67
|
+
*/
|
|
68
|
+
onDismiss?: () => void;
|
|
69
|
+
/** Names the close button — "Dismiss" by default. */
|
|
70
|
+
dismissLabel?: string;
|
|
71
|
+
className?: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* A block of supplementary or corrective text.
|
|
75
|
+
*
|
|
76
|
+
* Replaces `UserWarning` (56 uses), `InfoMessage` and `InfoBox`. The old props
|
|
77
|
+
* were mostly layout escapes — `paddingLeftRight`, `clearPadding`,
|
|
78
|
+
* `marginBottom`, `fit`, `positioning` — which is what a component grows when
|
|
79
|
+
* there is no spacing scale to place it with. None of them are here: a Alert
|
|
80
|
+
* sits in a `Stack` like anything else.
|
|
81
|
+
*
|
|
82
|
+
* `role="alert"` interrupts and `role="status"` waits for a pause, so neither is applied to static
|
|
83
|
+
* content: the product has no live regions at all today, and the fix for that is not to make every
|
|
84
|
+
* note shout on page load.
|
|
85
|
+
*/
|
|
86
|
+
export declare function Alert({ children, tone, title, icon, live, actions, actionsPlacement, info, onDismiss, dismissLabel, className }: AlertProps): import("react").JSX.Element;
|
|
87
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElE,MAAM,MAAM,UAAU,GAAG;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wDAAwD;IACxD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kFAAkF;IAClF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;;;;;;;;;;;;OAeG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACnC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,uEAAuE;QACvE,IAAI,CAAC,EAAE,SAAS,CAAC;QACjB,8EAA8E;QAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAcF;;;;;;;;;;;;GAYG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,IAAa,EACb,KAAK,EACL,IAAI,EACJ,IAAY,EACZ,OAAO,EACP,gBAA0B,EAC1B,IAAI,EACJ,SAAS,EACT,YAAwB,EACxB,SAAS,EACV,EAAE,UAAU,+BAuDZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type AvatarProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Whose avatar it is - a person's name, a username, an email address. Only its first letter or
|
|
4
|
+
* digit is drawn, upper-cased: `ada@example.com` is `A`. Nothing to draw from, it is `?`.
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* The colour the person is shown in - the colour of the thing they belong to, such as a role's
|
|
9
|
+
* own. Any CSS colour. Omitted, the disc is the neutral sunken grey.
|
|
10
|
+
*/
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
};
|
|
14
|
+
/** The letter an avatar draws for `name`. Exported for a caller that needs the same letter. */
|
|
15
|
+
export declare function avatarInitial(name: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* A person's first letter in a disc - the mark at the head of a row of people.
|
|
18
|
+
*
|
|
19
|
+
* The product has no pictures of people, so the letter is the avatar.
|
|
20
|
+
*
|
|
21
|
+
* **It is decoration, and it is `aria-hidden`.** The name is always printed beside it, and that
|
|
22
|
+
* is what a screen reader reads. Read out, the letter would only repeat the first letter of the
|
|
23
|
+
* name after it. This is the same rule `Dot` follows: it may only stand next to the words, never
|
|
24
|
+
* in place of them.
|
|
25
|
+
*
|
|
26
|
+
* **A tint, not a solid fill.** The colour comes from the caller and can be any colour, including
|
|
27
|
+
* a hex a user typed. White on a solid fill falls below 3:1 on the light ones (an orange, a
|
|
28
|
+
* yellow), and no ink token stays white in both themes. So the disc is the colour mixed into the
|
|
29
|
+
* canvas, which is how `Badge` draws its tones, and the letter is the theme's own `ink`. That
|
|
30
|
+
* keeps the letter readable on every colour and in both themes, and the colour still says whose
|
|
31
|
+
* row it is.
|
|
32
|
+
*
|
|
33
|
+
* 24px, so it fits the 36px one-line row (rule 17) next to a 14px name. Sized in `rem`, like
|
|
34
|
+
* `Dot`.
|
|
35
|
+
*/
|
|
36
|
+
export declare function Avatar({ name, color, className }: AvatarProps): import("react").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAIF,+FAA+F;AAC/F,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,WAAW,+BAc7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjD,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type BadgeTone = "neutral" | "info" | "success" | "warning" | "danger";
|
|
3
|
+
type BadgeBase = {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
tone?: BadgeTone;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* The remove button and its name travel together, so a badge cannot be made removable without
|
|
10
|
+
* saying what removing it does. The product's version renders a bare `<svg onClick>`: not
|
|
11
|
+
* focusable, and with no accessible name — a keyboard user cannot remove a tag at all, and a screen
|
|
12
|
+
* reader reads nothing.
|
|
13
|
+
*/
|
|
14
|
+
type Removable = {
|
|
15
|
+
onRemove: () => void;
|
|
16
|
+
/** Names the remove button, e.g. `Remove main`. */
|
|
17
|
+
removeLabel: string;
|
|
18
|
+
};
|
|
19
|
+
type NotRemovable = {
|
|
20
|
+
onRemove?: never;
|
|
21
|
+
removeLabel?: never;
|
|
22
|
+
};
|
|
23
|
+
export type BadgeProps = BadgeBase & (Removable | NotRemovable);
|
|
24
|
+
/**
|
|
25
|
+
* A small label: a branch name, a status, a count. The product calls this `TagComponent` and uses
|
|
26
|
+
* it in 22 files.
|
|
27
|
+
*
|
|
28
|
+
* **A tone colours the fill and the words** (2026-09-01 — shadcn's badges as the reference). Five
|
|
29
|
+
* names, four appearances: a grey chip — which `neutral` and `info` both are, since 2026-09-21 —
|
|
30
|
+
* and green, amber and red for the three states that mean something. `info` is kept as a name
|
|
31
|
+
* because a badge that means "no state" is worth being able to say; it simply has no look of its
|
|
32
|
+
* own.
|
|
33
|
+
*
|
|
34
|
+
* The words read `ink-muted` in every tone until then, which was the right lesson taken one step
|
|
35
|
+
* too far. The product's own badges set the text to the raw tone colour over a pale fill —
|
|
36
|
+
* `#0ea5e9` on a pale blue, under 3:1 at 12px — and the rule drawn from that was "no tone may
|
|
37
|
+
* touch the text". What is unreadable there is a *fill* colour used as text; mixed toward the
|
|
38
|
+
* theme's own ink it is neither pale nor unreadable, and it is what lets a status be found at a
|
|
39
|
+
* glance in a table of forty rows. Every pairing is measured against 4.5:1 in both themes — see
|
|
40
|
+
* `tests/badge.spec.ts`, which is the condition on which this is allowed to be bold.
|
|
41
|
+
*
|
|
42
|
+
* Spacing between badges belongs to the parent — use `Stack gap`. The original
|
|
43
|
+
* carried its own `margin-right`, which is why removing the gap between two tags
|
|
44
|
+
* required a `clearMargin` prop.
|
|
45
|
+
*
|
|
46
|
+
* **The tone is decoration. The text must carry the meaning.** Unlike `Alert`, this
|
|
47
|
+
* renders no hidden tone label: a badge reading "Failed" would be announced as
|
|
48
|
+
* "Danger: Failed", saying the same thing twice, and the product's badges all read
|
|
49
|
+
* that way. The consequence is that `<Badge tone="danger">v4.2</Badge>` conveys
|
|
50
|
+
* nothing to a screen reader or to anyone who cannot separate the fill colours —
|
|
51
|
+
* so do not let the tone be the only place the state is written.
|
|
52
|
+
*/
|
|
53
|
+
export declare function Badge({ children, tone, onRemove, removeLabel, className }: BadgeProps): import("react").JSX.Element;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE9E,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE9D,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,CAAC,SAAS,GAAG,YAAY,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,IAAgB,EAChB,QAAQ,EACR,WAAW,EACX,SAAS,EACV,EAAE,UAAU,+BAcZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
|