@olddevs/ui 0.0.0-stage → 4.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/CHANGELOG.md +19 -0
- package/LICENSE +21 -0
- package/NOTICE +100 -0
- package/README.md +145 -2
- package/README.ru.md +146 -0
- package/dist/color.d.ts +22 -0
- package/dist/color.d.ts.map +1 -0
- package/dist/color.js +2 -0
- package/dist/color.js.map +1 -0
- package/dist/components/actions/Alert.d.ts +46 -0
- package/dist/components/actions/Alert.d.ts.map +1 -0
- package/dist/components/actions/Alert.js +20 -0
- package/dist/components/actions/Alert.js.map +1 -0
- package/dist/components/actions/Banner.d.ts +58 -0
- package/dist/components/actions/Banner.d.ts.map +1 -0
- package/dist/components/actions/Banner.js +20 -0
- package/dist/components/actions/Banner.js.map +1 -0
- package/dist/components/actions/Button.d.ts +79 -0
- package/dist/components/actions/Button.d.ts.map +1 -0
- package/dist/components/actions/Button.js +29 -0
- package/dist/components/actions/Button.js.map +1 -0
- package/dist/components/actions/ButtonGroup.d.ts +32 -0
- package/dist/components/actions/ButtonGroup.d.ts.map +1 -0
- package/dist/components/actions/ButtonGroup.js +10 -0
- package/dist/components/actions/ButtonGroup.js.map +1 -0
- package/dist/components/actions/Chip.d.ts +36 -0
- package/dist/components/actions/Chip.d.ts.map +1 -0
- package/dist/components/actions/Chip.js +16 -0
- package/dist/components/actions/Chip.js.map +1 -0
- package/dist/components/actions/CopyButton.d.ts +32 -0
- package/dist/components/actions/CopyButton.d.ts.map +1 -0
- package/dist/components/actions/CopyButton.js +41 -0
- package/dist/components/actions/CopyButton.js.map +1 -0
- package/dist/components/actions/Progress.d.ts +36 -0
- package/dist/components/actions/Progress.d.ts.map +1 -0
- package/dist/components/actions/Progress.js +14 -0
- package/dist/components/actions/Progress.js.map +1 -0
- package/dist/components/actions/Segmented.d.ts +64 -0
- package/dist/components/actions/Segmented.d.ts.map +1 -0
- package/dist/components/actions/Segmented.js +14 -0
- package/dist/components/actions/Segmented.js.map +1 -0
- package/dist/components/actions/Spinner.d.ts +46 -0
- package/dist/components/actions/Spinner.d.ts.map +1 -0
- package/dist/components/actions/Spinner.js +17 -0
- package/dist/components/actions/Spinner.js.map +1 -0
- package/dist/components/actions/SplitButton.d.ts +92 -0
- package/dist/components/actions/SplitButton.d.ts.map +1 -0
- package/dist/components/actions/SplitButton.js +21 -0
- package/dist/components/actions/SplitButton.js.map +1 -0
- package/dist/components/actions/StatusBadge.d.ts +26 -0
- package/dist/components/actions/StatusBadge.d.ts.map +1 -0
- package/dist/components/actions/StatusBadge.js +14 -0
- package/dist/components/actions/StatusBadge.js.map +1 -0
- package/dist/components/actions/Toaster.d.ts +83 -0
- package/dist/components/actions/Toaster.d.ts.map +1 -0
- package/dist/components/actions/Toaster.js +38 -0
- package/dist/components/actions/Toaster.js.map +1 -0
- package/dist/components/actions/Toggle.d.ts +75 -0
- package/dist/components/actions/Toggle.d.ts.map +1 -0
- package/dist/components/actions/Toggle.js +39 -0
- package/dist/components/actions/Toggle.js.map +1 -0
- package/dist/components/actions/ToggleGroup.d.ts +63 -0
- package/dist/components/actions/ToggleGroup.d.ts.map +1 -0
- package/dist/components/actions/ToggleGroup.js +30 -0
- package/dist/components/actions/ToggleGroup.js.map +1 -0
- package/dist/components/actions/Toolbar.d.ts +52 -0
- package/dist/components/actions/Toolbar.d.ts.map +1 -0
- package/dist/components/actions/Toolbar.js +98 -0
- package/dist/components/actions/Toolbar.js.map +1 -0
- package/dist/components/actions/Truncate.d.ts +31 -0
- package/dist/components/actions/Truncate.d.ts.map +1 -0
- package/dist/components/actions/Truncate.js +32 -0
- package/dist/components/actions/Truncate.js.map +1 -0
- package/dist/components/app-shell/AppShell.d.ts +106 -0
- package/dist/components/app-shell/AppShell.d.ts.map +1 -0
- package/dist/components/app-shell/AppShell.js +29 -0
- package/dist/components/app-shell/AppShell.js.map +1 -0
- package/dist/components/app-shell/MobileTabBar.d.ts +130 -0
- package/dist/components/app-shell/MobileTabBar.d.ts.map +1 -0
- package/dist/components/app-shell/MobileTabBar.js +50 -0
- package/dist/components/app-shell/MobileTabBar.js.map +1 -0
- package/dist/components/app-shell/NavItem.d.ts +72 -0
- package/dist/components/app-shell/NavItem.d.ts.map +1 -0
- package/dist/components/app-shell/NavItem.js +22 -0
- package/dist/components/app-shell/NavItem.js.map +1 -0
- package/dist/components/app-shell/SideNav.d.ts +65 -0
- package/dist/components/app-shell/SideNav.d.ts.map +1 -0
- package/dist/components/app-shell/SideNav.js +31 -0
- package/dist/components/app-shell/SideNav.js.map +1 -0
- package/dist/components/app-shell/SplitPanel.d.ts +121 -0
- package/dist/components/app-shell/SplitPanel.d.ts.map +1 -0
- package/dist/components/app-shell/SplitPanel.js +88 -0
- package/dist/components/app-shell/SplitPanel.js.map +1 -0
- package/dist/components/app-shell/TopBar.d.ts +43 -0
- package/dist/components/app-shell/TopBar.d.ts.map +1 -0
- package/dist/components/app-shell/TopBar.js +24 -0
- package/dist/components/app-shell/TopBar.js.map +1 -0
- package/dist/components/content/AspectRatio.d.ts +25 -0
- package/dist/components/content/AspectRatio.d.ts.map +1 -0
- package/dist/components/content/AspectRatio.js +7 -0
- package/dist/components/content/AspectRatio.js.map +1 -0
- package/dist/components/content/Avatar.d.ts +22 -0
- package/dist/components/content/Avatar.d.ts.map +1 -0
- package/dist/components/content/Avatar.js +23 -0
- package/dist/components/content/Avatar.js.map +1 -0
- package/dist/components/content/AvatarGroup.d.ts +42 -0
- package/dist/components/content/AvatarGroup.d.ts.map +1 -0
- package/dist/components/content/AvatarGroup.js +11 -0
- package/dist/components/content/AvatarGroup.js.map +1 -0
- package/dist/components/content/Badge.d.ts +41 -0
- package/dist/components/content/Badge.d.ts.map +1 -0
- package/dist/components/content/Badge.js +13 -0
- package/dist/components/content/Badge.js.map +1 -0
- package/dist/components/content/Card.d.ts +59 -0
- package/dist/components/content/Card.d.ts.map +1 -0
- package/dist/components/content/Card.js +20 -0
- package/dist/components/content/Card.js.map +1 -0
- package/dist/components/content/Carousel.d.ts +79 -0
- package/dist/components/content/Carousel.d.ts.map +1 -0
- package/dist/components/content/Carousel.js +172 -0
- package/dist/components/content/Carousel.js.map +1 -0
- package/dist/components/content/CodeView.d.ts +76 -0
- package/dist/components/content/CodeView.d.ts.map +1 -0
- package/dist/components/content/CodeView.js +12 -0
- package/dist/components/content/CodeView.js.map +1 -0
- package/dist/components/content/DescriptionList.d.ts +31 -0
- package/dist/components/content/DescriptionList.d.ts.map +1 -0
- package/dist/components/content/DescriptionList.js +10 -0
- package/dist/components/content/DescriptionList.js.map +1 -0
- package/dist/components/content/EditableList.d.ts +162 -0
- package/dist/components/content/EditableList.d.ts.map +1 -0
- package/dist/components/content/EditableList.js +241 -0
- package/dist/components/content/EditableList.js.map +1 -0
- package/dist/components/content/EmptyState.d.ts +31 -0
- package/dist/components/content/EmptyState.d.ts.map +1 -0
- package/dist/components/content/EmptyState.js +9 -0
- package/dist/components/content/EmptyState.js.map +1 -0
- package/dist/components/content/ErrorState.d.ts +52 -0
- package/dist/components/content/ErrorState.d.ts.map +1 -0
- package/dist/components/content/ErrorState.js +16 -0
- package/dist/components/content/ErrorState.js.map +1 -0
- package/dist/components/content/Grid.d.ts +57 -0
- package/dist/components/content/Grid.d.ts.map +1 -0
- package/dist/components/content/Grid.js +85 -0
- package/dist/components/content/Grid.js.map +1 -0
- package/dist/components/content/Heading.d.ts +43 -0
- package/dist/components/content/Heading.d.ts.map +1 -0
- package/dist/components/content/Heading.js +21 -0
- package/dist/components/content/Heading.js.map +1 -0
- package/dist/components/content/Image.d.ts +94 -0
- package/dist/components/content/Image.d.ts.map +1 -0
- package/dist/components/content/Image.js +41 -0
- package/dist/components/content/Image.js.map +1 -0
- package/dist/components/content/Kbd.d.ts +31 -0
- package/dist/components/content/Kbd.d.ts.map +1 -0
- package/dist/components/content/Kbd.js +13 -0
- package/dist/components/content/Kbd.js.map +1 -0
- package/dist/components/content/Keyboard.d.ts +32 -0
- package/dist/components/content/Keyboard.d.ts.map +1 -0
- package/dist/components/content/Keyboard.js +381 -0
- package/dist/components/content/Keyboard.js.map +1 -0
- package/dist/components/content/Link.d.ts +46 -0
- package/dist/components/content/Link.d.ts.map +1 -0
- package/dist/components/content/Link.js +38 -0
- package/dist/components/content/Link.js.map +1 -0
- package/dist/components/content/MediaCard.d.ts +56 -0
- package/dist/components/content/MediaCard.d.ts.map +1 -0
- package/dist/components/content/MediaCard.js +15 -0
- package/dist/components/content/MediaCard.js.map +1 -0
- package/dist/components/content/NotificationCenter.d.ts +68 -0
- package/dist/components/content/NotificationCenter.d.ts.map +1 -0
- package/dist/components/content/NotificationCenter.js +14 -0
- package/dist/components/content/NotificationCenter.js.map +1 -0
- package/dist/components/content/NotificationList.d.ts +111 -0
- package/dist/components/content/NotificationList.d.ts.map +1 -0
- package/dist/components/content/NotificationList.js +48 -0
- package/dist/components/content/NotificationList.js.map +1 -0
- package/dist/components/content/ScrollArea.d.ts +30 -0
- package/dist/components/content/ScrollArea.d.ts.map +1 -0
- package/dist/components/content/ScrollArea.js +7 -0
- package/dist/components/content/ScrollArea.js.map +1 -0
- package/dist/components/content/Separator.d.ts +19 -0
- package/dist/components/content/Separator.d.ts.map +1 -0
- package/dist/components/content/Separator.js +14 -0
- package/dist/components/content/Separator.js.map +1 -0
- package/dist/components/content/Skeleton.d.ts +24 -0
- package/dist/components/content/Skeleton.d.ts.map +1 -0
- package/dist/components/content/Skeleton.js +8 -0
- package/dist/components/content/Skeleton.js.map +1 -0
- package/dist/components/content/SortableList.d.ts +98 -0
- package/dist/components/content/SortableList.d.ts.map +1 -0
- package/dist/components/content/SortableList.js +46 -0
- package/dist/components/content/SortableList.js.map +1 -0
- package/dist/components/content/Stat.d.ts +46 -0
- package/dist/components/content/Stat.d.ts.map +1 -0
- package/dist/components/content/Stat.js +12 -0
- package/dist/components/content/Stat.js.map +1 -0
- package/dist/components/content/Table.d.ts +110 -0
- package/dist/components/content/Table.d.ts.map +1 -0
- package/dist/components/content/Table.js +66 -0
- package/dist/components/content/Table.js.map +1 -0
- package/dist/components/content/TagGroup.d.ts +120 -0
- package/dist/components/content/TagGroup.d.ts.map +1 -0
- package/dist/components/content/TagGroup.js +20 -0
- package/dist/components/content/TagGroup.js.map +1 -0
- package/dist/components/content/Text.d.ts +55 -0
- package/dist/components/content/Text.d.ts.map +1 -0
- package/dist/components/content/Text.js +27 -0
- package/dist/components/content/Text.js.map +1 -0
- package/dist/components/content/Timeline.d.ts +50 -0
- package/dist/components/content/Timeline.d.ts.map +1 -0
- package/dist/components/content/Timeline.js +15 -0
- package/dist/components/content/Timeline.js.map +1 -0
- package/dist/components/content/VirtualGrid.d.ts +171 -0
- package/dist/components/content/VirtualGrid.d.ts.map +1 -0
- package/dist/components/content/VirtualGrid.js +267 -0
- package/dist/components/content/VirtualGrid.js.map +1 -0
- package/dist/components/content/VisuallyHidden.d.ts +24 -0
- package/dist/components/content/VisuallyHidden.d.ts.map +1 -0
- package/dist/components/content/VisuallyHidden.js +3 -0
- package/dist/components/content/VisuallyHidden.js.map +1 -0
- package/dist/components/content/keyboardEditing.d.ts +15 -0
- package/dist/components/content/keyboardEditing.d.ts.map +1 -0
- package/dist/components/content/keyboardEditing.js +28 -0
- package/dist/components/content/keyboardEditing.js.map +1 -0
- package/dist/components/content/useDragToSelect.d.ts +41 -0
- package/dist/components/content/useDragToSelect.d.ts.map +1 -0
- package/dist/components/content/useDragToSelect.js +190 -0
- package/dist/components/content/useDragToSelect.js.map +1 -0
- package/dist/components/date-time/Calendar.d.ts +67 -0
- package/dist/components/date-time/Calendar.d.ts.map +1 -0
- package/dist/components/date-time/Calendar.js +28 -0
- package/dist/components/date-time/Calendar.js.map +1 -0
- package/dist/components/date-time/DatePicker.d.ts +57 -0
- package/dist/components/date-time/DatePicker.d.ts.map +1 -0
- package/dist/components/date-time/DatePicker.js +37 -0
- package/dist/components/date-time/DatePicker.js.map +1 -0
- package/dist/components/date-time/DateRangePicker.d.ts +91 -0
- package/dist/components/date-time/DateRangePicker.d.ts.map +1 -0
- package/dist/components/date-time/DateRangePicker.js +72 -0
- package/dist/components/date-time/DateRangePicker.js.map +1 -0
- package/dist/components/date-time/DateTimePicker.d.ts +55 -0
- package/dist/components/date-time/DateTimePicker.d.ts.map +1 -0
- package/dist/components/date-time/DateTimePicker.js +9 -0
- package/dist/components/date-time/DateTimePicker.js.map +1 -0
- package/dist/components/date-time/RangeCalendar.d.ts +50 -0
- package/dist/components/date-time/RangeCalendar.d.ts.map +1 -0
- package/dist/components/date-time/RangeCalendar.js +17 -0
- package/dist/components/date-time/RangeCalendar.js.map +1 -0
- package/dist/components/date-time/TimePicker.d.ts +47 -0
- package/dist/components/date-time/TimePicker.d.ts.map +1 -0
- package/dist/components/date-time/TimePicker.js +148 -0
- package/dist/components/date-time/TimePicker.js.map +1 -0
- package/dist/components/inputs/Checkbox.d.ts +140 -0
- package/dist/components/inputs/Checkbox.d.ts.map +1 -0
- package/dist/components/inputs/Checkbox.js +29 -0
- package/dist/components/inputs/Checkbox.js.map +1 -0
- package/dist/components/inputs/CheckboxCard.d.ts +17 -0
- package/dist/components/inputs/CheckboxCard.d.ts.map +1 -0
- package/dist/components/inputs/CheckboxCard.js +25 -0
- package/dist/components/inputs/CheckboxCard.js.map +1 -0
- package/dist/components/inputs/CheckboxGroup.d.ts +68 -0
- package/dist/components/inputs/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/inputs/CheckboxGroup.js +14 -0
- package/dist/components/inputs/CheckboxGroup.js.map +1 -0
- package/dist/components/inputs/ChoiceCardBody.d.ts +16 -0
- package/dist/components/inputs/ChoiceCardBody.d.ts.map +1 -0
- package/dist/components/inputs/ChoiceCardBody.js +10 -0
- package/dist/components/inputs/ChoiceCardBody.js.map +1 -0
- package/dist/components/inputs/ColorPicker.d.ts +71 -0
- package/dist/components/inputs/ColorPicker.d.ts.map +1 -0
- package/dist/components/inputs/ColorPicker.js +30 -0
- package/dist/components/inputs/ColorPicker.js.map +1 -0
- package/dist/components/inputs/Combobox.d.ts +41 -0
- package/dist/components/inputs/Combobox.d.ts.map +1 -0
- package/dist/components/inputs/Combobox.js +16 -0
- package/dist/components/inputs/Combobox.js.map +1 -0
- package/dist/components/inputs/FileDropzone.d.ts +51 -0
- package/dist/components/inputs/FileDropzone.d.ts.map +1 -0
- package/dist/components/inputs/FileDropzone.js +75 -0
- package/dist/components/inputs/FileDropzone.js.map +1 -0
- package/dist/components/inputs/Form.d.ts +50 -0
- package/dist/components/inputs/Form.d.ts.map +1 -0
- package/dist/components/inputs/Form.js +14 -0
- package/dist/components/inputs/Form.js.map +1 -0
- package/dist/components/inputs/FormField.d.ts +89 -0
- package/dist/components/inputs/FormField.d.ts.map +1 -0
- package/dist/components/inputs/FormField.js +24 -0
- package/dist/components/inputs/FormField.js.map +1 -0
- package/dist/components/inputs/FormLayout.d.ts +47 -0
- package/dist/components/inputs/FormLayout.d.ts.map +1 -0
- package/dist/components/inputs/FormLayout.js +12 -0
- package/dist/components/inputs/FormLayout.js.map +1 -0
- package/dist/components/inputs/InlineEdit.d.ts +50 -0
- package/dist/components/inputs/InlineEdit.d.ts.map +1 -0
- package/dist/components/inputs/InlineEdit.js +70 -0
- package/dist/components/inputs/InlineEdit.js.map +1 -0
- package/dist/components/inputs/MaskedInput.d.ts +66 -0
- package/dist/components/inputs/MaskedInput.d.ts.map +1 -0
- package/dist/components/inputs/MaskedInput.js +73 -0
- package/dist/components/inputs/MaskedInput.js.map +1 -0
- package/dist/components/inputs/NumberInput.d.ts +53 -0
- package/dist/components/inputs/NumberInput.d.ts.map +1 -0
- package/dist/components/inputs/NumberInput.js +17 -0
- package/dist/components/inputs/NumberInput.js.map +1 -0
- package/dist/components/inputs/PasswordInput.d.ts +49 -0
- package/dist/components/inputs/PasswordInput.d.ts.map +1 -0
- package/dist/components/inputs/PasswordInput.js +49 -0
- package/dist/components/inputs/PasswordInput.js.map +1 -0
- package/dist/components/inputs/PhoneInput.d.ts +35 -0
- package/dist/components/inputs/PhoneInput.d.ts.map +1 -0
- package/dist/components/inputs/PhoneInput.js +9 -0
- package/dist/components/inputs/PhoneInput.js.map +1 -0
- package/dist/components/inputs/PinInput.d.ts +50 -0
- package/dist/components/inputs/PinInput.d.ts.map +1 -0
- package/dist/components/inputs/PinInput.js +67 -0
- package/dist/components/inputs/PinInput.js.map +1 -0
- package/dist/components/inputs/RadioGroup.d.ts +86 -0
- package/dist/components/inputs/RadioGroup.d.ts.map +1 -0
- package/dist/components/inputs/RadioGroup.js +51 -0
- package/dist/components/inputs/RadioGroup.js.map +1 -0
- package/dist/components/inputs/Rating.d.ts +69 -0
- package/dist/components/inputs/Rating.d.ts.map +1 -0
- package/dist/components/inputs/Rating.js +51 -0
- package/dist/components/inputs/Rating.js.map +1 -0
- package/dist/components/inputs/SearchControl.d.ts +85 -0
- package/dist/components/inputs/SearchControl.d.ts.map +1 -0
- package/dist/components/inputs/SearchControl.js +62 -0
- package/dist/components/inputs/SearchControl.js.map +1 -0
- package/dist/components/inputs/Select.d.ts +205 -0
- package/dist/components/inputs/Select.d.ts.map +1 -0
- package/dist/components/inputs/Select.js +136 -0
- package/dist/components/inputs/Select.js.map +1 -0
- package/dist/components/inputs/Slider.d.ts +59 -0
- package/dist/components/inputs/Slider.d.ts.map +1 -0
- package/dist/components/inputs/Slider.js +153 -0
- package/dist/components/inputs/Slider.js.map +1 -0
- package/dist/components/inputs/SwatchGroup.d.ts +101 -0
- package/dist/components/inputs/SwatchGroup.d.ts.map +1 -0
- package/dist/components/inputs/SwatchGroup.js +57 -0
- package/dist/components/inputs/SwatchGroup.js.map +1 -0
- package/dist/components/inputs/TagInput.d.ts +45 -0
- package/dist/components/inputs/TagInput.d.ts.map +1 -0
- package/dist/components/inputs/TagInput.js +56 -0
- package/dist/components/inputs/TagInput.js.map +1 -0
- package/dist/components/inputs/TextControl.d.ts +101 -0
- package/dist/components/inputs/TextControl.d.ts.map +1 -0
- package/dist/components/inputs/TextControl.js +31 -0
- package/dist/components/inputs/TextControl.js.map +1 -0
- package/dist/components/inputs/Transfer.d.ts +84 -0
- package/dist/components/inputs/Transfer.d.ts.map +1 -0
- package/dist/components/inputs/Transfer.js +112 -0
- package/dist/components/inputs/Transfer.js.map +1 -0
- package/dist/components/inputs/TreeSelect.d.ts +73 -0
- package/dist/components/inputs/TreeSelect.d.ts.map +1 -0
- package/dist/components/inputs/TreeSelect.js +60 -0
- package/dist/components/inputs/TreeSelect.js.map +1 -0
- package/dist/components/inputs/UploadQueue.d.ts +84 -0
- package/dist/components/inputs/UploadQueue.d.ts.map +1 -0
- package/dist/components/inputs/UploadQueue.js +30 -0
- package/dist/components/inputs/UploadQueue.js.map +1 -0
- package/dist/components/navigation/Accordion.d.ts +44 -0
- package/dist/components/navigation/Accordion.d.ts.map +1 -0
- package/dist/components/navigation/Accordion.js +12 -0
- package/dist/components/navigation/Accordion.js.map +1 -0
- package/dist/components/navigation/Breadcrumbs.d.ts +35 -0
- package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/Breadcrumbs.js +17 -0
- package/dist/components/navigation/Breadcrumbs.js.map +1 -0
- package/dist/components/navigation/ContextualSaveBar.d.ts +90 -0
- package/dist/components/navigation/ContextualSaveBar.d.ts.map +1 -0
- package/dist/components/navigation/ContextualSaveBar.js +20 -0
- package/dist/components/navigation/ContextualSaveBar.js.map +1 -0
- package/dist/components/navigation/PageHeader.d.ts +17 -0
- package/dist/components/navigation/PageHeader.d.ts.map +1 -0
- package/dist/components/navigation/PageHeader.js +8 -0
- package/dist/components/navigation/PageHeader.js.map +1 -0
- package/dist/components/navigation/Pagination.d.ts +44 -0
- package/dist/components/navigation/Pagination.d.ts.map +1 -0
- package/dist/components/navigation/Pagination.js +57 -0
- package/dist/components/navigation/Pagination.js.map +1 -0
- package/dist/components/navigation/SectionHeader.d.ts +32 -0
- package/dist/components/navigation/SectionHeader.d.ts.map +1 -0
- package/dist/components/navigation/SectionHeader.js +13 -0
- package/dist/components/navigation/SectionHeader.js.map +1 -0
- package/dist/components/navigation/SelectionBar.d.ts +65 -0
- package/dist/components/navigation/SelectionBar.d.ts.map +1 -0
- package/dist/components/navigation/SelectionBar.js +24 -0
- package/dist/components/navigation/SelectionBar.js.map +1 -0
- package/dist/components/navigation/Stepper.d.ts +45 -0
- package/dist/components/navigation/Stepper.d.ts.map +1 -0
- package/dist/components/navigation/Stepper.js +16 -0
- package/dist/components/navigation/Stepper.js.map +1 -0
- package/dist/components/navigation/Tabs.d.ts +45 -0
- package/dist/components/navigation/Tabs.d.ts.map +1 -0
- package/dist/components/navigation/Tabs.js +51 -0
- package/dist/components/navigation/Tabs.js.map +1 -0
- package/dist/components/navigation/TreeView.d.ts +101 -0
- package/dist/components/navigation/TreeView.d.ts.map +1 -0
- package/dist/components/navigation/TreeView.js +27 -0
- package/dist/components/navigation/TreeView.js.map +1 -0
- package/dist/components/overlays/CommandPalette.d.ts +115 -0
- package/dist/components/overlays/CommandPalette.d.ts.map +1 -0
- package/dist/components/overlays/CommandPalette.js +43 -0
- package/dist/components/overlays/CommandPalette.js.map +1 -0
- package/dist/components/overlays/ConfirmDialog.d.ts +67 -0
- package/dist/components/overlays/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/overlays/ConfirmDialog.js +47 -0
- package/dist/components/overlays/ConfirmDialog.js.map +1 -0
- package/dist/components/overlays/ContextMenu.d.ts +122 -0
- package/dist/components/overlays/ContextMenu.d.ts.map +1 -0
- package/dist/components/overlays/ContextMenu.js +39 -0
- package/dist/components/overlays/ContextMenu.js.map +1 -0
- package/dist/components/overlays/Dialog.d.ts +113 -0
- package/dist/components/overlays/Dialog.d.ts.map +1 -0
- package/dist/components/overlays/Dialog.js +43 -0
- package/dist/components/overlays/Dialog.js.map +1 -0
- package/dist/components/overlays/Drawer.d.ts +53 -0
- package/dist/components/overlays/Drawer.d.ts.map +1 -0
- package/dist/components/overlays/Drawer.js +32 -0
- package/dist/components/overlays/Drawer.js.map +1 -0
- package/dist/components/overlays/HelpTooltip.d.ts +41 -0
- package/dist/components/overlays/HelpTooltip.d.ts.map +1 -0
- package/dist/components/overlays/HelpTooltip.js +10 -0
- package/dist/components/overlays/HelpTooltip.js.map +1 -0
- package/dist/components/overlays/HoverCard.d.ts +62 -0
- package/dist/components/overlays/HoverCard.d.ts.map +1 -0
- package/dist/components/overlays/HoverCard.js +175 -0
- package/dist/components/overlays/HoverCard.js.map +1 -0
- package/dist/components/overlays/Menu.d.ts +113 -0
- package/dist/components/overlays/Menu.d.ts.map +1 -0
- package/dist/components/overlays/Menu.js +26 -0
- package/dist/components/overlays/Menu.js.map +1 -0
- package/dist/components/overlays/ModalHeader.d.ts +77 -0
- package/dist/components/overlays/ModalHeader.d.ts.map +1 -0
- package/dist/components/overlays/ModalHeader.js +11 -0
- package/dist/components/overlays/ModalHeader.js.map +1 -0
- package/dist/components/overlays/ModalOverlay.d.ts +45 -0
- package/dist/components/overlays/ModalOverlay.d.ts.map +1 -0
- package/dist/components/overlays/ModalOverlay.js +29 -0
- package/dist/components/overlays/ModalOverlay.js.map +1 -0
- package/dist/components/overlays/Popover.d.ts +56 -0
- package/dist/components/overlays/Popover.d.ts.map +1 -0
- package/dist/components/overlays/Popover.js +16 -0
- package/dist/components/overlays/Popover.js.map +1 -0
- package/dist/components/overlays/ShortcutsHelp.d.ts +70 -0
- package/dist/components/overlays/ShortcutsHelp.d.ts.map +1 -0
- package/dist/components/overlays/ShortcutsHelp.js +20 -0
- package/dist/components/overlays/ShortcutsHelp.js.map +1 -0
- package/dist/components/overlays/Tooltip.d.ts +35 -0
- package/dist/components/overlays/Tooltip.d.ts.map +1 -0
- package/dist/components/overlays/Tooltip.js +18 -0
- package/dist/components/overlays/Tooltip.js.map +1 -0
- package/dist/components/table/DataTable.d.ts +60 -0
- package/dist/components/table/DataTable.d.ts.map +1 -0
- package/dist/components/table/DataTable.js +20 -0
- package/dist/components/table/DataTable.js.map +1 -0
- package/dist/components/table/FilterBar.d.ts +35 -0
- package/dist/components/table/FilterBar.d.ts.map +1 -0
- package/dist/components/table/FilterBar.js +17 -0
- package/dist/components/table/FilterBar.js.map +1 -0
- package/dist/components/table/FilterBarAdd.d.ts +57 -0
- package/dist/components/table/FilterBarAdd.d.ts.map +1 -0
- package/dist/components/table/FilterBarAdd.js +83 -0
- package/dist/components/table/FilterBarAdd.js.map +1 -0
- package/dist/components/table/SavedViews.d.ts +83 -0
- package/dist/components/table/SavedViews.d.ts.map +1 -0
- package/dist/components/table/SavedViews.js +12 -0
- package/dist/components/table/SavedViews.js.map +1 -0
- package/dist/components/table/TablePreferences.d.ts +45 -0
- package/dist/components/table/TablePreferences.d.ts.map +1 -0
- package/dist/components/table/TablePreferences.js +41 -0
- package/dist/components/table/TablePreferences.js.map +1 -0
- package/dist/components/table/TableToolbar.d.ts +38 -0
- package/dist/components/table/TableToolbar.d.ts.map +1 -0
- package/dist/components/table/TableToolbar.js +11 -0
- package/dist/components/table/TableToolbar.js.map +1 -0
- package/dist/editor/RichTextEditor.d.ts +274 -0
- package/dist/editor/RichTextEditor.d.ts.map +1 -0
- package/dist/editor/RichTextEditor.js +671 -0
- package/dist/editor/RichTextEditor.js.map +1 -0
- package/dist/editor/RichTextView.d.ts +70 -0
- package/dist/editor/RichTextView.d.ts.map +1 -0
- package/dist/editor/RichTextView.js +24 -0
- package/dist/editor/RichTextView.js.map +1 -0
- package/dist/editor/core/atomText.d.ts +21 -0
- package/dist/editor/core/atomText.d.ts.map +1 -0
- package/dist/editor/core/atomText.js +77 -0
- package/dist/editor/core/atomText.js.map +1 -0
- package/dist/editor/core/blockCommands.d.ts +94 -0
- package/dist/editor/core/blockCommands.d.ts.map +1 -0
- package/dist/editor/core/blockCommands.js +188 -0
- package/dist/editor/core/blockCommands.js.map +1 -0
- package/dist/editor/core/blockTypes.d.ts +89 -0
- package/dist/editor/core/blockTypes.d.ts.map +1 -0
- package/dist/editor/core/blockTypes.js +121 -0
- package/dist/editor/core/blockTypes.js.map +1 -0
- package/dist/editor/core/containers.d.ts +43 -0
- package/dist/editor/core/containers.d.ts.map +1 -0
- package/dist/editor/core/containers.js +52 -0
- package/dist/editor/core/containers.js.map +1 -0
- package/dist/editor/core/customMarkdown.d.ts +8 -0
- package/dist/editor/core/customMarkdown.d.ts.map +1 -0
- package/dist/editor/core/customMarkdown.js +34 -0
- package/dist/editor/core/customMarkdown.js.map +1 -0
- package/dist/editor/core/customTool.d.ts +407 -0
- package/dist/editor/core/customTool.d.ts.map +1 -0
- package/dist/editor/core/customTool.js +31 -0
- package/dist/editor/core/customTool.js.map +1 -0
- package/dist/editor/core/customToolEngine.d.ts +31 -0
- package/dist/editor/core/customToolEngine.d.ts.map +1 -0
- package/dist/editor/core/customToolEngine.js +324 -0
- package/dist/editor/core/customToolEngine.js.map +1 -0
- package/dist/editor/core/document.d.ts +17 -0
- package/dist/editor/core/document.d.ts.map +1 -0
- package/dist/editor/core/document.js +11 -0
- package/dist/editor/core/document.js.map +1 -0
- package/dist/editor/core/emptiness.d.ts +18 -0
- package/dist/editor/core/emptiness.d.ts.map +1 -0
- package/dist/editor/core/emptiness.js +14 -0
- package/dist/editor/core/emptiness.js.map +1 -0
- package/dist/editor/core/extensions.d.ts +78 -0
- package/dist/editor/core/extensions.d.ts.map +1 -0
- package/dist/editor/core/extensions.js +134 -0
- package/dist/editor/core/extensions.js.map +1 -0
- package/dist/editor/core/fieldNotice.d.ts +48 -0
- package/dist/editor/core/fieldNotice.d.ts.map +1 -0
- package/dist/editor/core/fieldNotice.js +18 -0
- package/dist/editor/core/fieldNotice.js.map +1 -0
- package/dist/editor/core/handle.d.ts +110 -0
- package/dist/editor/core/handle.d.ts.map +1 -0
- package/dist/editor/core/handle.js +149 -0
- package/dist/editor/core/handle.js.map +1 -0
- package/dist/editor/core/insertItems.d.ts +147 -0
- package/dist/editor/core/insertItems.d.ts.map +1 -0
- package/dist/editor/core/insertItems.js +215 -0
- package/dist/editor/core/insertItems.js.map +1 -0
- package/dist/editor/core/jsonDocument.d.ts +42 -0
- package/dist/editor/core/jsonDocument.d.ts.map +1 -0
- package/dist/editor/core/jsonDocument.js +44 -0
- package/dist/editor/core/jsonDocument.js.map +1 -0
- package/dist/editor/core/markdown.d.ts +47 -0
- package/dist/editor/core/markdown.d.ts.map +1 -0
- package/dist/editor/core/markdown.js +169 -0
- package/dist/editor/core/markdown.js.map +1 -0
- package/dist/editor/core/maxLength.d.ts +43 -0
- package/dist/editor/core/maxLength.d.ts.map +1 -0
- package/dist/editor/core/maxLength.js +45 -0
- package/dist/editor/core/maxLength.js.map +1 -0
- package/dist/editor/core/pasteTrim.d.ts +8 -0
- package/dist/editor/core/pasteTrim.d.ts.map +1 -0
- package/dist/editor/core/pasteTrim.js +61 -0
- package/dist/editor/core/pasteTrim.js.map +1 -0
- package/dist/editor/core/schema.d.ts +479 -0
- package/dist/editor/core/schema.d.ts.map +1 -0
- package/dist/editor/core/schema.js +371 -0
- package/dist/editor/core/schema.js.map +1 -0
- package/dist/editor/core/schemaConform.d.ts +30 -0
- package/dist/editor/core/schemaConform.d.ts.map +1 -0
- package/dist/editor/core/schemaConform.js +72 -0
- package/dist/editor/core/schemaConform.js.map +1 -0
- package/dist/editor/core/shortcuts.d.ts +110 -0
- package/dist/editor/core/shortcuts.d.ts.map +1 -0
- package/dist/editor/core/shortcuts.js +299 -0
- package/dist/editor/core/shortcuts.js.map +1 -0
- package/dist/editor/core/skeleton.d.ts +11 -0
- package/dist/editor/core/skeleton.d.ts.map +1 -0
- package/dist/editor/core/skeleton.js +48 -0
- package/dist/editor/core/skeleton.js.map +1 -0
- package/dist/editor/core/slashCommand.d.ts +46 -0
- package/dist/editor/core/slashCommand.d.ts.map +1 -0
- package/dist/editor/core/slashCommand.js +67 -0
- package/dist/editor/core/slashCommand.js.map +1 -0
- package/dist/editor/core/sourceFormat.d.ts +30 -0
- package/dist/editor/core/sourceFormat.d.ts.map +1 -0
- package/dist/editor/core/sourceFormat.js +136 -0
- package/dist/editor/core/sourceFormat.js.map +1 -0
- package/dist/editor/core/toolButtons.d.ts +58 -0
- package/dist/editor/core/toolButtons.d.ts.map +1 -0
- package/dist/editor/core/toolButtons.js +64 -0
- package/dist/editor/core/toolButtons.js.map +1 -0
- package/dist/editor/core/toolDescriptor.d.ts +304 -0
- package/dist/editor/core/toolDescriptor.d.ts.map +1 -0
- package/dist/editor/core/toolDescriptor.js +29 -0
- package/dist/editor/core/toolDescriptor.js.map +1 -0
- package/dist/editor/core/toolEntryShortcuts.d.ts +20 -0
- package/dist/editor/core/toolEntryShortcuts.d.ts.map +1 -0
- package/dist/editor/core/toolEntryShortcuts.js +46 -0
- package/dist/editor/core/toolEntryShortcuts.js.map +1 -0
- package/dist/editor/core/toolLoader.d.ts +14 -0
- package/dist/editor/core/toolLoader.d.ts.map +1 -0
- package/dist/editor/core/toolLoader.js +20 -0
- package/dist/editor/core/toolLoader.js.map +1 -0
- package/dist/editor/core/tools.d.ts +90 -0
- package/dist/editor/core/tools.d.ts.map +1 -0
- package/dist/editor/core/tools.js +56 -0
- package/dist/editor/core/tools.js.map +1 -0
- package/dist/editor/core/viewIsland.d.ts +17 -0
- package/dist/editor/core/viewIsland.d.ts.map +1 -0
- package/dist/editor/core/viewIsland.js +4 -0
- package/dist/editor/core/viewIsland.js.map +1 -0
- package/dist/editor/features/builtins.d.ts +25 -0
- package/dist/editor/features/builtins.d.ts.map +1 -0
- package/dist/editor/features/builtins.js +88 -0
- package/dist/editor/features/builtins.js.map +1 -0
- package/dist/editor/features/code/CodeBlockView.d.ts +38 -0
- package/dist/editor/features/code/CodeBlockView.d.ts.map +1 -0
- package/dist/editor/features/code/CodeBlockView.js +98 -0
- package/dist/editor/features/code/CodeBlockView.js.map +1 -0
- package/dist/editor/features/code/CodeCopyButton.d.ts +20 -0
- package/dist/editor/features/code/CodeCopyButton.d.ts.map +1 -0
- package/dist/editor/features/code/CodeCopyButton.js +29 -0
- package/dist/editor/features/code/CodeCopyButton.js.map +1 -0
- package/dist/editor/features/code/CodeCopyIsland.d.ts +37 -0
- package/dist/editor/features/code/CodeCopyIsland.d.ts.map +1 -0
- package/dist/editor/features/code/CodeCopyIsland.js +21 -0
- package/dist/editor/features/code/CodeCopyIsland.js.map +1 -0
- package/dist/editor/features/code/codeBlock.d.ts +25 -0
- package/dist/editor/features/code/codeBlock.d.ts.map +1 -0
- package/dist/editor/features/code/codeBlock.js +116 -0
- package/dist/editor/features/code/codeBlock.js.map +1 -0
- package/dist/editor/features/code/codeBlockTool.d.ts +24 -0
- package/dist/editor/features/code/codeBlockTool.d.ts.map +1 -0
- package/dist/editor/features/code/codeBlockTool.js +66 -0
- package/dist/editor/features/code/codeBlockTool.js.map +1 -0
- package/dist/editor/features/code/codeHeader.d.ts +41 -0
- package/dist/editor/features/code/codeHeader.d.ts.map +1 -0
- package/dist/editor/features/code/codeHeader.js +25 -0
- package/dist/editor/features/code/codeHeader.js.map +1 -0
- package/dist/editor/features/code/codeLanguages.d.ts +76 -0
- package/dist/editor/features/code/codeLanguages.d.ts.map +1 -0
- package/dist/editor/features/code/codeLanguages.js +24 -0
- package/dist/editor/features/code/codeLanguages.js.map +1 -0
- package/dist/editor/features/code/highlight.d.ts +20 -0
- package/dist/editor/features/code/highlight.d.ts.map +1 -0
- package/dist/editor/features/code/highlight.js +51 -0
- package/dist/editor/features/code/highlight.js.map +1 -0
- package/dist/editor/features/code/highlightNodes.d.ts +31 -0
- package/dist/editor/features/code/highlightNodes.d.ts.map +1 -0
- package/dist/editor/features/code/highlightNodes.js +25 -0
- package/dist/editor/features/code/highlightNodes.js.map +1 -0
- package/dist/editor/features/code/lowlight.d.ts +20 -0
- package/dist/editor/features/code/lowlight.d.ts.map +1 -0
- package/dist/editor/features/code/lowlight.js +26 -0
- package/dist/editor/features/code/lowlight.js.map +1 -0
- package/dist/editor/features/color/CustomColorPopover.d.ts +40 -0
- package/dist/editor/features/color/CustomColorPopover.d.ts.map +1 -0
- package/dist/editor/features/color/CustomColorPopover.js +70 -0
- package/dist/editor/features/color/CustomColorPopover.js.map +1 -0
- package/dist/editor/features/color/contrast.d.ts +26 -0
- package/dist/editor/features/color/contrast.d.ts.map +1 -0
- package/dist/editor/features/color/contrast.js +27 -0
- package/dist/editor/features/color/contrast.js.map +1 -0
- package/dist/editor/features/color/customColor.d.ts +65 -0
- package/dist/editor/features/color/customColor.d.ts.map +1 -0
- package/dist/editor/features/color/customColor.js +29 -0
- package/dist/editor/features/color/customColor.js.map +1 -0
- package/dist/editor/features/color/styleExtensions.d.ts +28 -0
- package/dist/editor/features/color/styleExtensions.d.ts.map +1 -0
- package/dist/editor/features/color/styleExtensions.js +172 -0
- package/dist/editor/features/color/styleExtensions.js.map +1 -0
- package/dist/editor/features/emoji/EmojiGrid.d.ts +34 -0
- package/dist/editor/features/emoji/EmojiGrid.d.ts.map +1 -0
- package/dist/editor/features/emoji/EmojiGrid.js +71 -0
- package/dist/editor/features/emoji/EmojiGrid.js.map +1 -0
- package/dist/editor/features/emoji/emoji.d.ts +47 -0
- package/dist/editor/features/emoji/emoji.d.ts.map +1 -0
- package/dist/editor/features/emoji/emoji.js +108 -0
- package/dist/editor/features/emoji/emoji.js.map +1 -0
- package/dist/editor/features/emoji/emojiTool.d.ts +32 -0
- package/dist/editor/features/emoji/emojiTool.d.ts.map +1 -0
- package/dist/editor/features/emoji/emojiTool.js +34 -0
- package/dist/editor/features/emoji/emojiTool.js.map +1 -0
- package/dist/editor/features/image/ImagePopover.d.ts +29 -0
- package/dist/editor/features/image/ImagePopover.d.ts.map +1 -0
- package/dist/editor/features/image/ImagePopover.js +89 -0
- package/dist/editor/features/image/ImagePopover.js.map +1 -0
- package/dist/editor/features/image/ImageToolbar.d.ts +25 -0
- package/dist/editor/features/image/ImageToolbar.d.ts.map +1 -0
- package/dist/editor/features/image/ImageToolbar.js +49 -0
- package/dist/editor/features/image/ImageToolbar.js.map +1 -0
- package/dist/editor/features/image/image.d.ts +115 -0
- package/dist/editor/features/image/image.d.ts.map +1 -0
- package/dist/editor/features/image/image.js +539 -0
- package/dist/editor/features/image/image.js.map +1 -0
- package/dist/editor/features/image/imageNotice.d.ts +6 -0
- package/dist/editor/features/image/imageNotice.d.ts.map +1 -0
- package/dist/editor/features/image/imageNotice.js +16 -0
- package/dist/editor/features/image/imageNotice.js.map +1 -0
- package/dist/editor/features/layout/columnLayouts.d.ts +36 -0
- package/dist/editor/features/layout/columnLayouts.d.ts.map +1 -0
- package/dist/editor/features/layout/columnLayouts.js +33 -0
- package/dist/editor/features/layout/columnLayouts.js.map +1 -0
- package/dist/editor/features/layout/layout.d.ts +81 -0
- package/dist/editor/features/layout/layout.d.ts.map +1 -0
- package/dist/editor/features/layout/layout.js +318 -0
- package/dist/editor/features/layout/layout.js.map +1 -0
- package/dist/editor/features/link/LinkPopover.d.ts +21 -0
- package/dist/editor/features/link/LinkPopover.d.ts.map +1 -0
- package/dist/editor/features/link/LinkPopover.js +54 -0
- package/dist/editor/features/link/LinkPopover.js.map +1 -0
- package/dist/editor/features/link/link.d.ts +41 -0
- package/dist/editor/features/link/link.d.ts.map +1 -0
- package/dist/editor/features/link/link.js +66 -0
- package/dist/editor/features/link/link.js.map +1 -0
- package/dist/editor/features/link/linkTool.d.ts +13 -0
- package/dist/editor/features/link/linkTool.d.ts.map +1 -0
- package/dist/editor/features/link/linkTool.js +25 -0
- package/dist/editor/features/link/linkTool.js.map +1 -0
- package/dist/editor/features/search/SearchPanel.d.ts +31 -0
- package/dist/editor/features/search/SearchPanel.d.ts.map +1 -0
- package/dist/editor/features/search/SearchPanel.js +101 -0
- package/dist/editor/features/search/SearchPanel.js.map +1 -0
- package/dist/editor/features/search/revealMatch.d.ts +25 -0
- package/dist/editor/features/search/revealMatch.d.ts.map +1 -0
- package/dist/editor/features/search/revealMatch.js +41 -0
- package/dist/editor/features/search/revealMatch.js.map +1 -0
- package/dist/editor/features/search/searchMatch.d.ts +53 -0
- package/dist/editor/features/search/searchMatch.d.ts.map +1 -0
- package/dist/editor/features/search/searchMatch.js +67 -0
- package/dist/editor/features/search/searchMatch.js.map +1 -0
- package/dist/editor/features/search/searchPlugin.d.ts +48 -0
- package/dist/editor/features/search/searchPlugin.d.ts.map +1 -0
- package/dist/editor/features/search/searchPlugin.js +151 -0
- package/dist/editor/features/search/searchPlugin.js.map +1 -0
- package/dist/editor/features/search/searchTool.d.ts +13 -0
- package/dist/editor/features/search/searchTool.d.ts.map +1 -0
- package/dist/editor/features/search/searchTool.js +18 -0
- package/dist/editor/features/search/searchTool.js.map +1 -0
- package/dist/editor/features/table/TableInsertDialog.d.ts +29 -0
- package/dist/editor/features/table/TableInsertDialog.d.ts.map +1 -0
- package/dist/editor/features/table/TableInsertDialog.js +37 -0
- package/dist/editor/features/table/TableInsertDialog.js.map +1 -0
- package/dist/editor/features/table/TableMenuButton.d.ts +40 -0
- package/dist/editor/features/table/TableMenuButton.d.ts.map +1 -0
- package/dist/editor/features/table/TableMenuButton.js +97 -0
- package/dist/editor/features/table/TableMenuButton.js.map +1 -0
- package/dist/editor/features/table/TableSizeGrid.d.ts +60 -0
- package/dist/editor/features/table/TableSizeGrid.d.ts.map +1 -0
- package/dist/editor/features/table/TableSizeGrid.js +88 -0
- package/dist/editor/features/table/TableSizeGrid.js.map +1 -0
- package/dist/editor/features/table/tableActions.d.ts +110 -0
- package/dist/editor/features/table/tableActions.d.ts.map +1 -0
- package/dist/editor/features/table/tableActions.js +254 -0
- package/dist/editor/features/table/tableActions.js.map +1 -0
- package/dist/editor/features/table/tableCells.d.ts +41 -0
- package/dist/editor/features/table/tableCells.d.ts.map +1 -0
- package/dist/editor/features/table/tableCells.js +38 -0
- package/dist/editor/features/table/tableCells.js.map +1 -0
- package/dist/editor/features/table/tableChunk.d.ts +4 -0
- package/dist/editor/features/table/tableChunk.d.ts.map +1 -0
- package/dist/editor/features/table/tableChunk.js +5 -0
- package/dist/editor/features/table/tableChunk.js.map +1 -0
- package/dist/editor/features/table/tableTool.d.ts +22 -0
- package/dist/editor/features/table/tableTool.d.ts.map +1 -0
- package/dist/editor/features/table/tableTool.js +42 -0
- package/dist/editor/features/table/tableTool.js.map +1 -0
- package/dist/editor/features/table/tables.d.ts +79 -0
- package/dist/editor/features/table/tables.d.ts.map +1 -0
- package/dist/editor/features/table/tables.js +118 -0
- package/dist/editor/features/table/tables.js.map +1 -0
- package/dist/editor/features/wrapper/wrapper.d.ts +73 -0
- package/dist/editor/features/wrapper/wrapper.d.ts.map +1 -0
- package/dist/editor/features/wrapper/wrapper.js +198 -0
- package/dist/editor/features/wrapper/wrapper.js.map +1 -0
- package/dist/editor/features/wrapper/wrapperTones.d.ts +39 -0
- package/dist/editor/features/wrapper/wrapperTones.d.ts.map +1 -0
- package/dist/editor/features/wrapper/wrapperTones.js +19 -0
- package/dist/editor/features/wrapper/wrapperTones.js.map +1 -0
- package/dist/editor/highlight-entry.d.ts +24 -0
- package/dist/editor/highlight-entry.d.ts.map +1 -0
- package/dist/editor/highlight-entry.js +3 -0
- package/dist/editor/highlight-entry.js.map +1 -0
- package/dist/editor/hooks/useChangeThrottle.d.ts +24 -0
- package/dist/editor/hooks/useChangeThrottle.d.ts.map +1 -0
- package/dist/editor/hooks/useChangeThrottle.js +35 -0
- package/dist/editor/hooks/useChangeThrottle.js.map +1 -0
- package/dist/editor/hooks/useCoarsePointer.d.ts +17 -0
- package/dist/editor/hooks/useCoarsePointer.d.ts.map +1 -0
- package/dist/editor/hooks/useCoarsePointer.js +19 -0
- package/dist/editor/hooks/useCoarsePointer.js.map +1 -0
- package/dist/editor/hooks/useFieldsetDisabled.d.ts +22 -0
- package/dist/editor/hooks/useFieldsetDisabled.d.ts.map +1 -0
- package/dist/editor/hooks/useFieldsetDisabled.js +29 -0
- package/dist/editor/hooks/useFieldsetDisabled.js.map +1 -0
- package/dist/editor/hooks/useRichTextEditorState.d.ts +25 -0
- package/dist/editor/hooks/useRichTextEditorState.d.ts.map +1 -0
- package/dist/editor/hooks/useRichTextEditorState.js +17 -0
- package/dist/editor/hooks/useRichTextEditorState.js.map +1 -0
- package/dist/editor/hooks/useSubmenuPlacement.d.ts +19 -0
- package/dist/editor/hooks/useSubmenuPlacement.d.ts.map +1 -0
- package/dist/editor/hooks/useSubmenuPlacement.js +20 -0
- package/dist/editor/hooks/useSubmenuPlacement.js.map +1 -0
- package/dist/editor/index.d.ts +32 -0
- package/dist/editor/index.d.ts.map +1 -0
- package/dist/editor/index.js +7 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/editor/schema-entry.d.ts +29 -0
- package/dist/editor/schema-entry.d.ts.map +1 -0
- package/dist/editor/schema-entry.js +3 -0
- package/dist/editor/schema-entry.js.map +1 -0
- package/dist/editor/styles/codeTheme.d.ts +49 -0
- package/dist/editor/styles/codeTheme.d.ts.map +1 -0
- package/dist/editor/styles/codeTheme.js +11 -0
- package/dist/editor/styles/codeTheme.js.map +1 -0
- package/dist/editor/styles/glass.d.ts +40 -0
- package/dist/editor/styles/glass.d.ts.map +1 -0
- package/dist/editor/styles/glass.js +15 -0
- package/dist/editor/styles/glass.js.map +1 -0
- package/dist/editor/styles/palette.d.ts +181 -0
- package/dist/editor/styles/palette.d.ts.map +1 -0
- package/dist/editor/styles/palette.js +57 -0
- package/dist/editor/styles/palette.js.map +1 -0
- package/dist/editor/styles/prose.d.ts +56 -0
- package/dist/editor/styles/prose.d.ts.map +1 -0
- package/dist/editor/styles/prose.js +154 -0
- package/dist/editor/styles/prose.js.map +1 -0
- package/dist/editor/styles/surface.d.ts +22 -0
- package/dist/editor/styles/surface.d.ts.map +1 -0
- package/dist/editor/styles/surface.js +4 -0
- package/dist/editor/styles/surface.js.map +1 -0
- package/dist/editor/styles/tokens.d.ts +136 -0
- package/dist/editor/styles/tokens.d.ts.map +1 -0
- package/dist/editor/styles/tokens.js +38 -0
- package/dist/editor/styles/tokens.js.map +1 -0
- package/dist/editor/ui/BlockHandle.d.ts +40 -0
- package/dist/editor/ui/BlockHandle.d.ts.map +1 -0
- package/dist/editor/ui/BlockHandle.js +394 -0
- package/dist/editor/ui/BlockHandle.js.map +1 -0
- package/dist/editor/ui/BlockIsland.d.ts +3 -0
- package/dist/editor/ui/BlockIsland.d.ts.map +1 -0
- package/dist/editor/ui/BlockIsland.js +8 -0
- package/dist/editor/ui/BlockIsland.js.map +1 -0
- package/dist/editor/ui/BlockIslandSlots.d.ts +31 -0
- package/dist/editor/ui/BlockIslandSlots.d.ts.map +1 -0
- package/dist/editor/ui/BlockIslandSlots.js +61 -0
- package/dist/editor/ui/BlockIslandSlots.js.map +1 -0
- package/dist/editor/ui/ColorMenus.d.ts +18 -0
- package/dist/editor/ui/ColorMenus.d.ts.map +1 -0
- package/dist/editor/ui/ColorMenus.js +281 -0
- package/dist/editor/ui/ColorMenus.js.map +1 -0
- package/dist/editor/ui/EditorToolbar.d.ts +71 -0
- package/dist/editor/ui/EditorToolbar.d.ts.map +1 -0
- package/dist/editor/ui/EditorToolbar.js +197 -0
- package/dist/editor/ui/EditorToolbar.js.map +1 -0
- package/dist/editor/ui/FieldResizer.d.ts +22 -0
- package/dist/editor/ui/FieldResizer.d.ts.map +1 -0
- package/dist/editor/ui/FieldResizer.js +75 -0
- package/dist/editor/ui/FieldResizer.js.map +1 -0
- package/dist/editor/ui/FieldStatus.d.ts +32 -0
- package/dist/editor/ui/FieldStatus.d.ts.map +1 -0
- package/dist/editor/ui/FieldStatus.js +15 -0
- package/dist/editor/ui/FieldStatus.js.map +1 -0
- package/dist/editor/ui/FloatingToolbar.d.ts +32 -0
- package/dist/editor/ui/FloatingToolbar.d.ts.map +1 -0
- package/dist/editor/ui/FloatingToolbar.js +17 -0
- package/dist/editor/ui/FloatingToolbar.js.map +1 -0
- package/dist/editor/ui/FormatMenus.d.ts +210 -0
- package/dist/editor/ui/FormatMenus.d.ts.map +1 -0
- package/dist/editor/ui/FormatMenus.js +296 -0
- package/dist/editor/ui/FormatMenus.js.map +1 -0
- package/dist/editor/ui/InsertMenuButton.d.ts +25 -0
- package/dist/editor/ui/InsertMenuButton.d.ts.map +1 -0
- package/dist/editor/ui/InsertMenuButton.js +28 -0
- package/dist/editor/ui/InsertMenuButton.js.map +1 -0
- package/dist/editor/ui/SelectionBubble.d.ts +46 -0
- package/dist/editor/ui/SelectionBubble.d.ts.map +1 -0
- package/dist/editor/ui/SelectionBubble.js +90 -0
- package/dist/editor/ui/SelectionBubble.js.map +1 -0
- package/dist/editor/ui/ShortcutsButton.d.ts +29 -0
- package/dist/editor/ui/ShortcutsButton.d.ts.map +1 -0
- package/dist/editor/ui/ShortcutsButton.js +34 -0
- package/dist/editor/ui/ShortcutsButton.js.map +1 -0
- package/dist/editor/ui/SlashMenu.d.ts +42 -0
- package/dist/editor/ui/SlashMenu.d.ts.map +1 -0
- package/dist/editor/ui/SlashMenu.js +114 -0
- package/dist/editor/ui/SlashMenu.js.map +1 -0
- package/dist/editor/ui/SuggestionList.d.ts +60 -0
- package/dist/editor/ui/SuggestionList.d.ts.map +1 -0
- package/dist/editor/ui/SuggestionList.js +61 -0
- package/dist/editor/ui/SuggestionList.js.map +1 -0
- package/dist/editor/ui/TextCard.d.ts +20 -0
- package/dist/editor/ui/TextCard.d.ts.map +1 -0
- package/dist/editor/ui/TextCard.js +192 -0
- package/dist/editor/ui/TextCard.js.map +1 -0
- package/dist/editor/ui/ToolButtonView.d.ts +58 -0
- package/dist/editor/ui/ToolButtonView.d.ts.map +1 -0
- package/dist/editor/ui/ToolButtonView.js +86 -0
- package/dist/editor/ui/ToolButtonView.js.map +1 -0
- package/dist/editor/ui/TriggerMenu.d.ts +25 -0
- package/dist/editor/ui/TriggerMenu.d.ts.map +1 -0
- package/dist/editor/ui/TriggerMenu.js +180 -0
- package/dist/editor/ui/TriggerMenu.js.map +1 -0
- package/dist/editor/ui/focusWithin.d.ts +22 -0
- package/dist/editor/ui/focusWithin.d.ts.map +1 -0
- package/dist/editor/ui/focusWithin.js +5 -0
- package/dist/editor/ui/focusWithin.js.map +1 -0
- package/dist/editor/ui/lockableMenu.d.ts +28 -0
- package/dist/editor/ui/lockableMenu.d.ts.map +1 -0
- package/dist/editor/ui/lockableMenu.js +17 -0
- package/dist/editor/ui/lockableMenu.js.map +1 -0
- package/dist/editor/ui/rowMarks.d.ts +21 -0
- package/dist/editor/ui/rowMarks.d.ts.map +1 -0
- package/dist/editor/ui/rowMarks.js +35 -0
- package/dist/editor/ui/rowMarks.js.map +1 -0
- package/dist/editor/ui/selectionMenu.d.ts +61 -0
- package/dist/editor/ui/selectionMenu.d.ts.map +1 -0
- package/dist/editor/ui/selectionMenu.js +32 -0
- package/dist/editor/ui/selectionMenu.js.map +1 -0
- package/dist/hooks/useFieldDescription.d.ts +45 -0
- package/dist/hooks/useFieldDescription.d.ts.map +1 -0
- package/dist/hooks/useFieldDescription.js +23 -0
- package/dist/hooks/useFieldDescription.js.map +1 -0
- package/dist/hooks/useMediaQuery.d.ts +25 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery.js +14 -0
- package/dist/hooks/useMediaQuery.js.map +1 -0
- package/dist/hooks/useOpenerFocus.d.ts +10 -0
- package/dist/hooks/useOpenerFocus.d.ts.map +1 -0
- package/dist/hooks/useOpenerFocus.js +35 -0
- package/dist/hooks/useOpenerFocus.js.map +1 -0
- package/dist/hooks/useOverlayLayer.d.ts +23 -0
- package/dist/hooks/useOverlayLayer.d.ts.map +1 -0
- package/dist/hooks/useOverlayLayer.js +19 -0
- package/dist/hooks/useOverlayLayer.js.map +1 -0
- package/dist/hooks/useScrollLock.d.ts +3 -0
- package/dist/hooks/useScrollLock.d.ts.map +1 -0
- package/dist/hooks/useScrollLock.js +52 -0
- package/dist/hooks/useScrollLock.js.map +1 -0
- package/dist/hooks/useStickyOffset.d.ts +53 -0
- package/dist/hooks/useStickyOffset.d.ts.map +1 -0
- package/dist/hooks/useStickyOffset.js +91 -0
- package/dist/hooks/useStickyOffset.js.map +1 -0
- package/dist/hooks/useTableState.d.ts +35 -0
- package/dist/hooks/useTableState.d.ts.map +1 -0
- package/dist/hooks/useTableState.js +23 -0
- package/dist/hooks/useTableState.js.map +1 -0
- package/dist/i18n/UiProvider.d.ts +53 -0
- package/dist/i18n/UiProvider.d.ts.map +1 -0
- package/dist/i18n/UiProvider.js +63 -0
- package/dist/i18n/UiProvider.js.map +1 -0
- package/dist/i18n/context.d.ts +26 -0
- package/dist/i18n/context.d.ts.map +1 -0
- package/dist/i18n/context.js +4 -0
- package/dist/i18n/context.js.map +1 -0
- package/dist/i18n/defaults.d.ts +19 -0
- package/dist/i18n/defaults.d.ts.map +1 -0
- package/dist/i18n/defaults.js +574 -0
- package/dist/i18n/defaults.js.map +1 -0
- package/dist/i18n/messages.d.ts +1178 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +2 -0
- package/dist/i18n/messages.js.map +1 -0
- package/dist/i18n/useMessages.d.ts +26 -0
- package/dist/i18n/useMessages.d.ts.map +1 -0
- package/dist/i18n/useMessages.js +22 -0
- package/dist/i18n/useMessages.js.map +1 -0
- package/dist/icons.d.ts +437 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +2 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.d.ts +250 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +128 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/accessible-name.d.ts +34 -0
- package/dist/lib/accessible-name.d.ts.map +1 -0
- package/dist/lib/accessible-name.js +2 -0
- package/dist/lib/accessible-name.js.map +1 -0
- package/dist/lib/bottom-bar-slot.d.ts +24 -0
- package/dist/lib/bottom-bar-slot.d.ts.map +1 -0
- package/dist/lib/bottom-bar-slot.js +4 -0
- package/dist/lib/bottom-bar-slot.js.map +1 -0
- package/dist/lib/button.d.ts +36 -0
- package/dist/lib/button.d.ts.map +1 -0
- package/dist/lib/button.js +35 -0
- package/dist/lib/button.js.map +1 -0
- package/dist/lib/choice-card.d.ts +64 -0
- package/dist/lib/choice-card.d.ts.map +1 -0
- package/dist/lib/choice-card.js +15 -0
- package/dist/lib/choice-card.js.map +1 -0
- package/dist/lib/clamp.d.ts +17 -0
- package/dist/lib/clamp.d.ts.map +1 -0
- package/dist/lib/clamp.js +4 -0
- package/dist/lib/clamp.js.map +1 -0
- package/dist/lib/cn.d.ts +12 -0
- package/dist/lib/cn.d.ts.map +1 -0
- package/dist/lib/cn.js +14 -0
- package/dist/lib/cn.js.map +1 -0
- package/dist/lib/date.d.ts +61 -0
- package/dist/lib/date.d.ts.map +1 -0
- package/dist/lib/date.js +30 -0
- package/dist/lib/date.js.map +1 -0
- package/dist/lib/dev-warn.d.ts +26 -0
- package/dist/lib/dev-warn.d.ts.map +1 -0
- package/dist/lib/dev-warn.js +28 -0
- package/dist/lib/dev-warn.js.map +1 -0
- package/dist/lib/empty.d.ts +35 -0
- package/dist/lib/empty.d.ts.map +1 -0
- package/dist/lib/empty.js +11 -0
- package/dist/lib/empty.js.map +1 -0
- package/dist/lib/field.d.ts +105 -0
- package/dist/lib/field.d.ts.map +1 -0
- package/dist/lib/field.js +18 -0
- package/dist/lib/field.js.map +1 -0
- package/dist/lib/filter-range.d.ts +24 -0
- package/dist/lib/filter-range.d.ts.map +1 -0
- package/dist/lib/filter-range.js +27 -0
- package/dist/lib/filter-range.js.map +1 -0
- package/dist/lib/interaction-modality.d.ts +40 -0
- package/dist/lib/interaction-modality.d.ts.map +1 -0
- package/dist/lib/interaction-modality.js +60 -0
- package/dist/lib/interaction-modality.js.map +1 -0
- package/dist/lib/mask.d.ts +94 -0
- package/dist/lib/mask.d.ts.map +1 -0
- package/dist/lib/mask.js +114 -0
- package/dist/lib/mask.js.map +1 -0
- package/dist/lib/menu.d.ts +85 -0
- package/dist/lib/menu.d.ts.map +1 -0
- package/dist/lib/menu.js +33 -0
- package/dist/lib/menu.js.map +1 -0
- package/dist/lib/overlay-layer.d.ts +101 -0
- package/dist/lib/overlay-layer.d.ts.map +1 -0
- package/dist/lib/overlay-layer.js +40 -0
- package/dist/lib/overlay-layer.js.map +1 -0
- package/dist/lib/period.d.ts +82 -0
- package/dist/lib/period.d.ts.map +1 -0
- package/dist/lib/period.js +58 -0
- package/dist/lib/period.js.map +1 -0
- package/dist/lib/progress-status.d.ts +38 -0
- package/dist/lib/progress-status.d.ts.map +1 -0
- package/dist/lib/progress-status.js +7 -0
- package/dist/lib/progress-status.js.map +1 -0
- package/dist/lib/published-height.d.ts +16 -0
- package/dist/lib/published-height.d.ts.map +1 -0
- package/dist/lib/published-height.js +72 -0
- package/dist/lib/published-height.js.map +1 -0
- package/dist/lib/reorder.d.ts +44 -0
- package/dist/lib/reorder.d.ts.map +1 -0
- package/dist/lib/reorder.js +22 -0
- package/dist/lib/reorder.js.map +1 -0
- package/dist/lib/responsive.d.ts +51 -0
- package/dist/lib/responsive.d.ts.map +1 -0
- package/dist/lib/responsive.js +12 -0
- package/dist/lib/responsive.js.map +1 -0
- package/dist/lib/state.d.ts +25 -0
- package/dist/lib/state.d.ts.map +1 -0
- package/dist/lib/state.js +21 -0
- package/dist/lib/state.js.map +1 -0
- package/dist/lib/table-state.d.ts +105 -0
- package/dist/lib/table-state.d.ts.map +1 -0
- package/dist/lib/table-state.js +121 -0
- package/dist/lib/table-state.js.map +1 -0
- package/dist/lib/tag.d.ts +25 -0
- package/dist/lib/tag.d.ts.map +1 -0
- package/dist/lib/tag.js +6 -0
- package/dist/lib/tag.js.map +1 -0
- package/dist/lib/themes.d.ts +54 -0
- package/dist/lib/themes.d.ts.map +1 -0
- package/dist/lib/themes.js +40 -0
- package/dist/lib/themes.js.map +1 -0
- package/dist/lib/time.d.ts +35 -0
- package/dist/lib/time.d.ts.map +1 -0
- package/dist/lib/time.js +68 -0
- package/dist/lib/time.js.map +1 -0
- package/dist/lib/toolbar-axis.d.ts +17 -0
- package/dist/lib/toolbar-axis.d.ts.map +1 -0
- package/dist/lib/toolbar-axis.js +10 -0
- package/dist/lib/toolbar-axis.js.map +1 -0
- package/dist/lib/touch.d.ts +16 -0
- package/dist/lib/touch.d.ts.map +1 -0
- package/dist/lib/touch.js +2 -0
- package/dist/lib/touch.js.map +1 -0
- package/dist/lib/variants.d.ts +204 -0
- package/dist/lib/variants.d.ts.map +1 -0
- package/dist/lib/variants.js +127 -0
- package/dist/lib/variants.js.map +1 -0
- package/dist/locales/en.d.ts +11 -0
- package/dist/locales/en.d.ts.map +1 -0
- package/dist/locales/en.js +3 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/ru.d.ts +5 -0
- package/dist/locales/ru.d.ts.map +1 -0
- package/dist/locales/ru.js +591 -0
- package/dist/locales/ru.js.map +1 -0
- package/docs/accessibility.en.md +79 -0
- package/docs/accessibility.md +73 -0
- package/docs/api/editor-extension.en.md +309 -0
- package/docs/api/editor-extension.md +308 -0
- package/docs/api/messages.md +750 -0
- package/docs/api/migration-notes.en.md +885 -0
- package/docs/api/migration-notes.md +890 -0
- package/docs/api/utilities.md +252 -0
- package/docs/component-selection.en.md +48 -0
- package/docs/component-selection.md +44 -0
- package/docs/components/actions/button.en.md +59 -0
- package/docs/components/actions/button.md +58 -0
- package/docs/components/actions/chip.en.md +47 -0
- package/docs/components/actions/chip.md +46 -0
- package/docs/components/actions/copy-and-truncate.en.md +98 -0
- package/docs/components/actions/copy-and-truncate.md +96 -0
- package/docs/components/actions/feedback.en.md +69 -0
- package/docs/components/actions/feedback.md +68 -0
- package/docs/components/actions/split-button.en.md +76 -0
- package/docs/components/actions/split-button.md +75 -0
- package/docs/components/actions/toggles.en.md +139 -0
- package/docs/components/actions/toggles.md +136 -0
- package/docs/components/actions/toolbar.en.md +197 -0
- package/docs/components/actions/toolbar.md +192 -0
- package/docs/components/app-shell/app-shell.en.md +172 -0
- package/docs/components/app-shell/app-shell.md +172 -0
- package/docs/components/app-shell/mobile-tab-bar.en.md +207 -0
- package/docs/components/app-shell/mobile-tab-bar.md +210 -0
- package/docs/components/app-shell/side-nav.en.md +153 -0
- package/docs/components/app-shell/side-nav.md +152 -0
- package/docs/components/app-shell/split-panel.en.md +148 -0
- package/docs/components/app-shell/split-panel.md +147 -0
- package/docs/components/app-shell/top-bar.en.md +103 -0
- package/docs/components/app-shell/top-bar.md +100 -0
- package/docs/components/content/avatar.en.md +123 -0
- package/docs/components/content/avatar.md +119 -0
- package/docs/components/content/card.en.md +123 -0
- package/docs/components/content/card.md +122 -0
- package/docs/components/content/carousel.en.md +236 -0
- package/docs/components/content/carousel.md +227 -0
- package/docs/components/content/code-view.en.md +177 -0
- package/docs/components/content/code-view.md +172 -0
- package/docs/components/content/data-display.en.md +205 -0
- package/docs/components/content/data-display.md +212 -0
- package/docs/components/content/editable-list.en.md +437 -0
- package/docs/components/content/editable-list.md +418 -0
- package/docs/components/content/empty-and-loading.en.md +149 -0
- package/docs/components/content/empty-and-loading.md +149 -0
- package/docs/components/content/grid.en.md +148 -0
- package/docs/components/content/grid.md +142 -0
- package/docs/components/content/image.en.md +115 -0
- package/docs/components/content/image.md +114 -0
- package/docs/components/content/keyboard.en.md +129 -0
- package/docs/components/content/keyboard.md +129 -0
- package/docs/components/content/layout-primitives.en.md +105 -0
- package/docs/components/content/layout-primitives.md +104 -0
- package/docs/components/content/media-card.en.md +137 -0
- package/docs/components/content/media-card.md +132 -0
- package/docs/components/content/notifications.en.md +216 -0
- package/docs/components/content/notifications.md +207 -0
- package/docs/components/content/rich-text-view.en.md +325 -0
- package/docs/components/content/rich-text-view.md +324 -0
- package/docs/components/content/sortable-list.en.md +212 -0
- package/docs/components/content/sortable-list.md +206 -0
- package/docs/components/content/tag-group.en.md +158 -0
- package/docs/components/content/tag-group.md +151 -0
- package/docs/components/content/timeline.en.md +77 -0
- package/docs/components/content/timeline.md +76 -0
- package/docs/components/content/typography.en.md +152 -0
- package/docs/components/content/typography.md +146 -0
- package/docs/components/content/virtual-grid.en.md +305 -0
- package/docs/components/content/virtual-grid.md +315 -0
- package/docs/components/date-time/calendar.en.md +47 -0
- package/docs/components/date-time/calendar.md +46 -0
- package/docs/components/date-time/date-picker.en.md +52 -0
- package/docs/components/date-time/date-picker.md +50 -0
- package/docs/components/date-time/date-range-picker.en.md +58 -0
- package/docs/components/date-time/date-range-picker.md +57 -0
- package/docs/components/date-time/date-time-picker.en.md +44 -0
- package/docs/components/date-time/date-time-picker.md +43 -0
- package/docs/components/date-time/range-calendar.en.md +47 -0
- package/docs/components/date-time/range-calendar.md +46 -0
- package/docs/components/date-time/time-picker.en.md +47 -0
- package/docs/components/date-time/time-picker.md +51 -0
- package/docs/components/index.en.md +155 -0
- package/docs/components/index.md +150 -0
- package/docs/components/inputs/choice-controls.en.md +118 -0
- package/docs/components/inputs/choice-controls.md +112 -0
- package/docs/components/inputs/color-picker.en.md +126 -0
- package/docs/components/inputs/color-picker.md +122 -0
- package/docs/components/inputs/combobox.en.md +62 -0
- package/docs/components/inputs/combobox.md +58 -0
- package/docs/components/inputs/file-dropzone.en.md +51 -0
- package/docs/components/inputs/file-dropzone.md +50 -0
- package/docs/components/inputs/form-layout.en.md +99 -0
- package/docs/components/inputs/form-layout.md +97 -0
- package/docs/components/inputs/form.en.md +87 -0
- package/docs/components/inputs/form.md +86 -0
- package/docs/components/inputs/inline-edit.en.md +93 -0
- package/docs/components/inputs/inline-edit.md +94 -0
- package/docs/components/inputs/masked-input.en.md +149 -0
- package/docs/components/inputs/masked-input.md +147 -0
- package/docs/components/inputs/number-input.en.md +81 -0
- package/docs/components/inputs/number-input.md +80 -0
- package/docs/components/inputs/password-input.en.md +101 -0
- package/docs/components/inputs/password-input.md +97 -0
- package/docs/components/inputs/phone-input.en.md +78 -0
- package/docs/components/inputs/phone-input.md +76 -0
- package/docs/components/inputs/pin-input.en.md +109 -0
- package/docs/components/inputs/pin-input.md +108 -0
- package/docs/components/inputs/rating.en.md +100 -0
- package/docs/components/inputs/rating.md +99 -0
- package/docs/components/inputs/rich-text-editor.en.md +1539 -0
- package/docs/components/inputs/rich-text-editor.md +1538 -0
- package/docs/components/inputs/search-control.en.md +60 -0
- package/docs/components/inputs/search-control.md +58 -0
- package/docs/components/inputs/select.en.md +68 -0
- package/docs/components/inputs/select.md +65 -0
- package/docs/components/inputs/slider.en.md +60 -0
- package/docs/components/inputs/slider.md +59 -0
- package/docs/components/inputs/swatch-group.en.md +181 -0
- package/docs/components/inputs/swatch-group.md +177 -0
- package/docs/components/inputs/tag-input.en.md +50 -0
- package/docs/components/inputs/tag-input.md +48 -0
- package/docs/components/inputs/text-control.en.md +76 -0
- package/docs/components/inputs/text-control.md +74 -0
- package/docs/components/inputs/transfer.en.md +118 -0
- package/docs/components/inputs/transfer.md +114 -0
- package/docs/components/inputs/tree-select.en.md +91 -0
- package/docs/components/inputs/tree-select.md +89 -0
- package/docs/components/inputs/upload-queue.en.md +160 -0
- package/docs/components/inputs/upload-queue.md +158 -0
- package/docs/components/navigation/accordion.en.md +76 -0
- package/docs/components/navigation/accordion.md +75 -0
- package/docs/components/navigation/breadcrumbs.en.md +73 -0
- package/docs/components/navigation/breadcrumbs.md +72 -0
- package/docs/components/navigation/contextual-save-bar.en.md +104 -0
- package/docs/components/navigation/contextual-save-bar.md +103 -0
- package/docs/components/navigation/page-header.en.md +71 -0
- package/docs/components/navigation/page-header.md +70 -0
- package/docs/components/navigation/pagination.en.md +69 -0
- package/docs/components/navigation/pagination.md +69 -0
- package/docs/components/navigation/section-header.en.md +67 -0
- package/docs/components/navigation/section-header.md +66 -0
- package/docs/components/navigation/selection-bar.en.md +83 -0
- package/docs/components/navigation/selection-bar.md +83 -0
- package/docs/components/navigation/stepper.en.md +78 -0
- package/docs/components/navigation/stepper.md +77 -0
- package/docs/components/navigation/tabs.en.md +71 -0
- package/docs/components/navigation/tabs.md +70 -0
- package/docs/components/navigation/tree-view.en.md +173 -0
- package/docs/components/navigation/tree-view.md +172 -0
- package/docs/components/overlays/command-palette.en.md +153 -0
- package/docs/components/overlays/command-palette.md +147 -0
- package/docs/components/overlays/confirm-dialog.en.md +134 -0
- package/docs/components/overlays/confirm-dialog.md +127 -0
- package/docs/components/overlays/context-menu.en.md +115 -0
- package/docs/components/overlays/context-menu.md +113 -0
- package/docs/components/overlays/dialog.en.md +120 -0
- package/docs/components/overlays/dialog.md +117 -0
- package/docs/components/overlays/drawer.en.md +87 -0
- package/docs/components/overlays/drawer.md +88 -0
- package/docs/components/overlays/hover-card.en.md +179 -0
- package/docs/components/overlays/hover-card.md +175 -0
- package/docs/components/overlays/menu.en.md +103 -0
- package/docs/components/overlays/menu.md +100 -0
- package/docs/components/overlays/popover.en.md +78 -0
- package/docs/components/overlays/popover.md +77 -0
- package/docs/components/overlays/shortcuts-help.en.md +190 -0
- package/docs/components/overlays/shortcuts-help.md +186 -0
- package/docs/components/overlays/tooltip.en.md +78 -0
- package/docs/components/overlays/tooltip.md +77 -0
- package/docs/components/table/data-table.en.md +137 -0
- package/docs/components/table/data-table.md +133 -0
- package/docs/components/table/filter-bar.en.md +161 -0
- package/docs/components/table/filter-bar.md +155 -0
- package/docs/components/table/saved-views.en.md +117 -0
- package/docs/components/table/saved-views.md +115 -0
- package/docs/components/table/toolbar.en.md +100 -0
- package/docs/components/table/toolbar.md +97 -0
- package/docs/conventions.md +358 -0
- package/docs/getting-started.en.md +382 -0
- package/docs/getting-started.md +381 -0
- package/docs/glossary.en.md +179 -0
- package/docs/glossary.md +174 -0
- package/docs/i18n.en.md +147 -0
- package/docs/i18n.md +143 -0
- package/docs/icons.en.md +252 -0
- package/docs/icons.md +251 -0
- package/docs/index.md +62 -0
- package/docs/palette.en.md +400 -0
- package/docs/palette.md +396 -0
- package/docs/theming.en.md +522 -0
- package/docs/theming.md +518 -0
- package/llms.txt +144 -0
- package/package.json +173 -4
- package/src/color.ts +21 -0
- package/src/components/actions/Alert.tsx +121 -0
- package/src/components/actions/Banner.tsx +120 -0
- package/src/components/actions/Button.tsx +241 -0
- package/src/components/actions/ButtonGroup.tsx +65 -0
- package/src/components/actions/Chip.tsx +113 -0
- package/src/components/actions/CopyButton.tsx +112 -0
- package/src/components/actions/Progress.tsx +103 -0
- package/src/components/actions/Segmented.tsx +162 -0
- package/src/components/actions/Spinner.tsx +80 -0
- package/src/components/actions/SplitButton.tsx +164 -0
- package/src/components/actions/StatusBadge.tsx +61 -0
- package/src/components/actions/Toaster.tsx +148 -0
- package/src/components/actions/Toggle.tsx +224 -0
- package/src/components/actions/ToggleGroup.tsx +147 -0
- package/src/components/actions/Toolbar.tsx +223 -0
- package/src/components/actions/Truncate.tsx +96 -0
- package/src/components/app-shell/AppShell.tsx +268 -0
- package/src/components/app-shell/MobileTabBar.tsx +305 -0
- package/src/components/app-shell/NavItem.tsx +149 -0
- package/src/components/app-shell/SideNav.tsx +217 -0
- package/src/components/app-shell/SplitPanel.tsx +381 -0
- package/src/components/app-shell/TopBar.tsx +115 -0
- package/src/components/content/AspectRatio.tsx +45 -0
- package/src/components/content/Avatar.tsx +132 -0
- package/src/components/content/AvatarGroup.tsx +92 -0
- package/src/components/content/Badge.tsx +78 -0
- package/src/components/content/Card.tsx +117 -0
- package/src/components/content/Carousel.tsx +427 -0
- package/src/components/content/CodeView.tsx +178 -0
- package/src/components/content/DescriptionList.tsx +64 -0
- package/src/components/content/EditableList.tsx +879 -0
- package/src/components/content/EmptyState.tsx +65 -0
- package/src/components/content/ErrorState.tsx +100 -0
- package/src/components/content/Grid.tsx +208 -0
- package/src/components/content/Heading.tsx +81 -0
- package/src/components/content/Image.tsx +235 -0
- package/src/components/content/Kbd.tsx +67 -0
- package/src/components/content/Keyboard.tsx +634 -0
- package/src/components/content/Link.tsx +199 -0
- package/src/components/content/MediaCard.tsx +167 -0
- package/src/components/content/NotificationCenter.tsx +168 -0
- package/src/components/content/NotificationList.tsx +329 -0
- package/src/components/content/ScrollArea.tsx +69 -0
- package/src/components/content/Separator.tsx +62 -0
- package/src/components/content/Skeleton.tsx +40 -0
- package/src/components/content/SortableList.tsx +249 -0
- package/src/components/content/Stat.tsx +75 -0
- package/src/components/content/Table.tsx +500 -0
- package/src/components/content/TagGroup.tsx +222 -0
- package/src/components/content/Text.tsx +127 -0
- package/src/components/content/Timeline.tsx +126 -0
- package/src/components/content/VirtualGrid.tsx +726 -0
- package/src/components/content/VisuallyHidden.tsx +25 -0
- package/src/components/content/keyboardEditing.ts +51 -0
- package/src/components/content/useDragToSelect.ts +255 -0
- package/src/components/date-time/Calendar.tsx +181 -0
- package/src/components/date-time/DatePicker.tsx +143 -0
- package/src/components/date-time/DateRangePicker.tsx +349 -0
- package/src/components/date-time/DateTimePicker.tsx +92 -0
- package/src/components/date-time/RangeCalendar.tsx +156 -0
- package/src/components/date-time/TimePicker.tsx +377 -0
- package/src/components/inputs/Checkbox.tsx +284 -0
- package/src/components/inputs/CheckboxCard.tsx +132 -0
- package/src/components/inputs/CheckboxGroup.tsx +140 -0
- package/src/components/inputs/ChoiceCardBody.tsx +53 -0
- package/src/components/inputs/ColorPicker.tsx +221 -0
- package/src/components/inputs/Combobox.tsx +156 -0
- package/src/components/inputs/FileDropzone.tsx +253 -0
- package/src/components/inputs/Form.tsx +77 -0
- package/src/components/inputs/FormField.tsx +235 -0
- package/src/components/inputs/FormLayout.tsx +80 -0
- package/src/components/inputs/InlineEdit.tsx +205 -0
- package/src/components/inputs/MaskedInput.tsx +288 -0
- package/src/components/inputs/NumberInput.tsx +138 -0
- package/src/components/inputs/PasswordInput.tsx +166 -0
- package/src/components/inputs/PhoneInput.tsx +55 -0
- package/src/components/inputs/PinInput.tsx +197 -0
- package/src/components/inputs/RadioGroup.tsx +322 -0
- package/src/components/inputs/Rating.tsx +224 -0
- package/src/components/inputs/SearchControl.tsx +278 -0
- package/src/components/inputs/Select.tsx +741 -0
- package/src/components/inputs/Slider.tsx +436 -0
- package/src/components/inputs/SwatchGroup.tsx +342 -0
- package/src/components/inputs/TagInput.tsx +221 -0
- package/src/components/inputs/TextControl.tsx +335 -0
- package/src/components/inputs/Transfer.tsx +368 -0
- package/src/components/inputs/TreeSelect.tsx +275 -0
- package/src/components/inputs/UploadQueue.tsx +240 -0
- package/src/components/navigation/Accordion.tsx +118 -0
- package/src/components/navigation/Breadcrumbs.tsx +112 -0
- package/src/components/navigation/ContextualSaveBar.tsx +174 -0
- package/src/components/navigation/PageHeader.tsx +41 -0
- package/src/components/navigation/Pagination.tsx +184 -0
- package/src/components/navigation/SectionHeader.tsx +54 -0
- package/src/components/navigation/SelectionBar.tsx +151 -0
- package/src/components/navigation/Stepper.tsx +153 -0
- package/src/components/navigation/Tabs.tsx +130 -0
- package/src/components/navigation/TreeView.tsx +246 -0
- package/src/components/overlays/CommandPalette.tsx +343 -0
- package/src/components/overlays/ConfirmDialog.tsx +272 -0
- package/src/components/overlays/ContextMenu.tsx +284 -0
- package/src/components/overlays/Dialog.tsx +283 -0
- package/src/components/overlays/Drawer.tsx +193 -0
- package/src/components/overlays/HelpTooltip.tsx +96 -0
- package/src/components/overlays/HoverCard.tsx +404 -0
- package/src/components/overlays/Menu.tsx +243 -0
- package/src/components/overlays/ModalHeader.tsx +125 -0
- package/src/components/overlays/ModalOverlay.tsx +108 -0
- package/src/components/overlays/Popover.tsx +120 -0
- package/src/components/overlays/ShortcutsHelp.tsx +147 -0
- package/src/components/overlays/Tooltip.tsx +89 -0
- package/src/components/table/DataTable.tsx +164 -0
- package/src/components/table/FilterBar.tsx +114 -0
- package/src/components/table/FilterBarAdd.tsx +268 -0
- package/src/components/table/SavedViews.tsx +122 -0
- package/src/components/table/TablePreferences.tsx +173 -0
- package/src/components/table/TableToolbar.tsx +74 -0
- package/src/editor/RichTextEditor.tsx +1747 -0
- package/src/editor/RichTextView.tsx +119 -0
- package/src/editor/core/atomText.ts +140 -0
- package/src/editor/core/blockCommands.ts +329 -0
- package/src/editor/core/blockTypes.ts +252 -0
- package/src/editor/core/containers.ts +100 -0
- package/src/editor/core/customMarkdown.ts +74 -0
- package/src/editor/core/customTool.ts +472 -0
- package/src/editor/core/customToolEngine.ts +442 -0
- package/src/editor/core/document.ts +27 -0
- package/src/editor/core/emptiness.ts +31 -0
- package/src/editor/core/extensions.ts +295 -0
- package/src/editor/core/fieldNotice.ts +75 -0
- package/src/editor/core/handle.ts +311 -0
- package/src/editor/core/insertItems.ts +434 -0
- package/src/editor/core/jsonDocument.ts +99 -0
- package/src/editor/core/markdown.ts +313 -0
- package/src/editor/core/maxLength.ts +99 -0
- package/src/editor/core/pasteTrim.ts +85 -0
- package/src/editor/core/schema.ts +986 -0
- package/src/editor/core/schemaConform.ts +122 -0
- package/src/editor/core/shortcuts.ts +435 -0
- package/src/editor/core/skeleton.ts +108 -0
- package/src/editor/core/slashCommand.ts +143 -0
- package/src/editor/core/sourceFormat.ts +194 -0
- package/src/editor/core/toolButtons.ts +133 -0
- package/src/editor/core/toolDescriptor.ts +359 -0
- package/src/editor/core/toolEntryShortcuts.ts +66 -0
- package/src/editor/core/toolLoader.ts +50 -0
- package/src/editor/core/tools.ts +150 -0
- package/src/editor/core/viewIsland.ts +35 -0
- package/src/editor/features/builtins.ts +145 -0
- package/src/editor/features/code/CodeBlockView.tsx +240 -0
- package/src/editor/features/code/CodeCopyButton.tsx +76 -0
- package/src/editor/features/code/CodeCopyIsland.tsx +71 -0
- package/src/editor/features/code/codeBlock.ts +188 -0
- package/src/editor/features/code/codeBlockTool.ts +107 -0
- package/src/editor/features/code/codeHeader.ts +97 -0
- package/src/editor/features/code/codeLanguages.ts +62 -0
- package/src/editor/features/code/highlight.ts +109 -0
- package/src/editor/features/code/highlightNodes.ts +65 -0
- package/src/editor/features/code/lowlight.ts +45 -0
- package/src/editor/features/color/CustomColorPopover.tsx +180 -0
- package/src/editor/features/color/contrast.ts +52 -0
- package/src/editor/features/color/customColor.ts +91 -0
- package/src/editor/features/color/styleExtensions.ts +316 -0
- package/src/editor/features/emoji/EmojiGrid.tsx +160 -0
- package/src/editor/features/emoji/emoji.ts +156 -0
- package/src/editor/features/emoji/emojiTool.tsx +67 -0
- package/src/editor/features/image/ImagePopover.tsx +254 -0
- package/src/editor/features/image/ImageToolbar.tsx +147 -0
- package/src/editor/features/image/image.ts +821 -0
- package/src/editor/features/image/imageNotice.ts +27 -0
- package/src/editor/features/layout/columnLayouts.ts +71 -0
- package/src/editor/features/layout/layout.ts +537 -0
- package/src/editor/features/link/LinkPopover.tsx +114 -0
- package/src/editor/features/link/link.ts +112 -0
- package/src/editor/features/link/linkTool.tsx +36 -0
- package/src/editor/features/search/SearchPanel.tsx +264 -0
- package/src/editor/features/search/revealMatch.ts +69 -0
- package/src/editor/features/search/searchMatch.ts +129 -0
- package/src/editor/features/search/searchPlugin.ts +254 -0
- package/src/editor/features/search/searchTool.ts +30 -0
- package/src/editor/features/table/TableInsertDialog.tsx +129 -0
- package/src/editor/features/table/TableMenuButton.tsx +503 -0
- package/src/editor/features/table/TableSizeGrid.tsx +265 -0
- package/src/editor/features/table/tableActions.ts +380 -0
- package/src/editor/features/table/tableCells.ts +63 -0
- package/src/editor/features/table/tableChunk.ts +11 -0
- package/src/editor/features/table/tableTool.ts +74 -0
- package/src/editor/features/table/tables.ts +220 -0
- package/src/editor/features/wrapper/wrapper.ts +350 -0
- package/src/editor/features/wrapper/wrapperTones.ts +51 -0
- package/src/editor/highlight-entry.ts +23 -0
- package/src/editor/highlight-grammars.d.ts +12 -0
- package/src/editor/hooks/useChangeThrottle.ts +62 -0
- package/src/editor/hooks/useCoarsePointer.ts +36 -0
- package/src/editor/hooks/useFieldsetDisabled.ts +53 -0
- package/src/editor/hooks/useRichTextEditorState.ts +51 -0
- package/src/editor/hooks/useSubmenuPlacement.ts +40 -0
- package/src/editor/index.ts +59 -0
- package/src/editor/schema-entry.ts +40 -0
- package/src/editor/styles/codeTheme.ts +66 -0
- package/src/editor/styles/glass.ts +66 -0
- package/src/editor/styles/palette.ts +191 -0
- package/src/editor/styles/prose.ts +429 -0
- package/src/editor/styles/surface.ts +24 -0
- package/src/editor/styles/tokens.ts +173 -0
- package/src/editor/ui/BlockHandle.tsx +601 -0
- package/src/editor/ui/BlockIsland.tsx +23 -0
- package/src/editor/ui/BlockIslandSlots.tsx +114 -0
- package/src/editor/ui/ColorMenus.tsx +613 -0
- package/src/editor/ui/EditorToolbar.tsx +630 -0
- package/src/editor/ui/FieldResizer.tsx +155 -0
- package/src/editor/ui/FieldStatus.tsx +85 -0
- package/src/editor/ui/FloatingToolbar.tsx +77 -0
- package/src/editor/ui/FormatMenus.tsx +706 -0
- package/src/editor/ui/InsertMenuButton.tsx +104 -0
- package/src/editor/ui/SelectionBubble.tsx +317 -0
- package/src/editor/ui/ShortcutsButton.tsx +128 -0
- package/src/editor/ui/SlashMenu.tsx +199 -0
- package/src/editor/ui/SuggestionList.tsx +217 -0
- package/src/editor/ui/TextCard.tsx +312 -0
- package/src/editor/ui/ToolButtonView.tsx +242 -0
- package/src/editor/ui/TriggerMenu.tsx +255 -0
- package/src/editor/ui/focusWithin.ts +26 -0
- package/src/editor/ui/lockableMenu.ts +37 -0
- package/src/editor/ui/rowMarks.ts +66 -0
- package/src/editor/ui/selectionMenu.ts +97 -0
- package/src/hooks/useFieldDescription.ts +126 -0
- package/src/hooks/useMediaQuery.ts +46 -0
- package/src/hooks/useOpenerFocus.ts +118 -0
- package/src/hooks/useOverlayLayer.ts +42 -0
- package/src/hooks/useScrollLock.ts +92 -0
- package/src/hooks/useStickyOffset.ts +228 -0
- package/src/hooks/useTableState.ts +76 -0
- package/src/i18n/UiProvider.tsx +152 -0
- package/src/i18n/context.ts +30 -0
- package/src/i18n/defaults.ts +657 -0
- package/src/i18n/messages.ts +1183 -0
- package/src/i18n/useMessages.ts +47 -0
- package/src/icons.ts +566 -0
- package/src/index.ts +502 -0
- package/src/lib/accessible-name.ts +35 -0
- package/src/lib/bottom-bar-slot.ts +27 -0
- package/src/lib/button.ts +158 -0
- package/src/lib/choice-card.ts +79 -0
- package/src/lib/clamp.ts +18 -0
- package/src/lib/cn.ts +48 -0
- package/src/lib/date.ts +87 -0
- package/src/lib/dev-warn.ts +82 -0
- package/src/lib/empty.ts +43 -0
- package/src/lib/field.ts +125 -0
- package/src/lib/filter-range.ts +48 -0
- package/src/lib/interaction-modality.ts +134 -0
- package/src/lib/mask.ts +226 -0
- package/src/lib/menu.ts +196 -0
- package/src/lib/overlay-layer.ts +163 -0
- package/src/lib/period.ts +167 -0
- package/src/lib/progress-status.ts +44 -0
- package/src/lib/published-height.ts +147 -0
- package/src/lib/reorder.ts +65 -0
- package/src/lib/responsive.ts +71 -0
- package/src/lib/state.ts +39 -0
- package/src/lib/table-state.ts +264 -0
- package/src/lib/tag.ts +31 -0
- package/src/lib/themes.ts +144 -0
- package/src/lib/time.ts +107 -0
- package/src/lib/toolbar-axis.tsx +31 -0
- package/src/lib/touch.ts +15 -0
- package/src/lib/variants.ts +342 -0
- package/src/locales/en.ts +10 -0
- package/src/locales/ru.ts +695 -0
- package/styles.css +1650 -0
|
@@ -0,0 +1,885 @@
|
|
|
1
|
+
---
|
|
2
|
+
category: api
|
|
3
|
+
status: stable
|
|
4
|
+
source: src/index.ts
|
|
5
|
+
sourceHash: 0d3ab7842785
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Compatibility and migration notes
|
|
9
|
+
|
|
10
|
+
## Summary for AI
|
|
11
|
+
|
|
12
|
+
The public contract of `@olddevs/ui` is the entry points from the package `exports`
|
|
13
|
+
(`@olddevs/ui`, `/icons`, `/color`, `/editor`, `/editor/schema`, `/editor/highlight`,
|
|
14
|
+
`/locales/ru`, `/locales/en`), their runtime exports and the exported TypeScript types. When
|
|
15
|
+
this contract changes, a migration note must explain to the consumer
|
|
16
|
+
what changed, why, how to replace the old code and in which version this
|
|
17
|
+
became relevant.
|
|
18
|
+
|
|
19
|
+
## When to use
|
|
20
|
+
|
|
21
|
+
- When removing, renaming or changing the value of a public export/prop.
|
|
22
|
+
- When changing a default, accessibility, keyboard behavior or the shape of a
|
|
23
|
+
controlled value: TypeScript may not detect such a migration.
|
|
24
|
+
- When replacing one component with another, for example, when the old API goes away in favor of
|
|
25
|
+
an existing family.
|
|
26
|
+
|
|
27
|
+
## When not to use
|
|
28
|
+
|
|
29
|
+
- Do not create a migration note for a fix to an internal file that does not
|
|
30
|
+
affect the consumer's entry points, behavior or types.
|
|
31
|
+
- Do not declare a change "breaking" just because an internal file or function was
|
|
32
|
+
renamed: first check whether they are part of `src/index.ts`, and the real use cases.
|
|
33
|
+
- Do not leave an ambiguous replacement like "use the new Select" without
|
|
34
|
+
a table of the old and new behavior.
|
|
35
|
+
|
|
36
|
+
## Minimal note template
|
|
37
|
+
|
|
38
|
+
Add a section to the repository's release notes or CHANGELOG and, if needed,
|
|
39
|
+
add a link to the note in this file. Each note contains:
|
|
40
|
+
|
|
41
|
+
````md
|
|
42
|
+
## X.Y.Z — short name
|
|
43
|
+
|
|
44
|
+
**Status:** breaking change | deprecation | behavior change
|
|
45
|
+
|
|
46
|
+
### What changed
|
|
47
|
+
|
|
48
|
+
The exact export, prop or behavior.
|
|
49
|
+
|
|
50
|
+
### Who is affected
|
|
51
|
+
|
|
52
|
+
Which imports/consumer scenarios to look for.
|
|
53
|
+
|
|
54
|
+
### Before → after
|
|
55
|
+
|
|
56
|
+
```tsx
|
|
57
|
+
// old code
|
|
58
|
+
// new code
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Semantics and accessibility
|
|
62
|
+
|
|
63
|
+
What changes for the keyboard, focus, accessible name or value shape.
|
|
64
|
+
|
|
65
|
+
### Action before updating
|
|
66
|
+
|
|
67
|
+
A concrete check or codemod.
|
|
68
|
+
````
|
|
69
|
+
|
|
70
|
+
## Mandatory procedure for changing the public API
|
|
71
|
+
|
|
72
|
+
1. Check the change against the file of the relevant entry point (`src/index.ts`, `src/icons.ts`,
|
|
73
|
+
`src/color.ts`, `src/editor/index.ts` and the rest of the package `exports`) and the
|
|
74
|
+
exported type. An internal path is not an alternative to the public API.
|
|
75
|
+
2. Update the component page: `Summary for AI`, "When not to use",
|
|
76
|
+
the minimal example, the API table and the accessibility section, if affected.
|
|
77
|
+
3. Update the component catalog if a runtime
|
|
78
|
+
component export was added or removed. The full rules are described in the kit repository's
|
|
79
|
+
`AGENTS.md`.
|
|
80
|
+
4. Add a migration note or release note with the version and an unambiguous before/after. If
|
|
81
|
+
the replacement can be done in stages, describe the removal date/version and the warning.
|
|
82
|
+
5. Add or update a test for the previous boundary and the new contract; for
|
|
83
|
+
interaction, check focus, the keyboard and accessible names.
|
|
84
|
+
|
|
85
|
+
## 4.0.0 — first public release
|
|
86
|
+
|
|
87
|
+
**Status:** breaking change — the license and the registry change; the API does not.
|
|
88
|
+
|
|
89
|
+
### What changed
|
|
90
|
+
|
|
91
|
+
- The license is MIT (was `UNLICENSED`); third-party licenses are still in `NOTICE`.
|
|
92
|
+
- The package is published to npmjs.com, and the source is on GitHub.
|
|
93
|
+
- From this release on, versions follow strict semver: breaking changes ship only in a major version, and a
|
|
94
|
+
public API rename goes through a deprecated alias that lives for one major version.
|
|
95
|
+
- `CHANGELOG.md` starts with this release.
|
|
96
|
+
|
|
97
|
+
### Who is affected
|
|
98
|
+
|
|
99
|
+
Everyone who installed the package from another registry: an `@olddevs:registry=…` line in the project or user
|
|
100
|
+
`.npmrc` sends the scope's installs past npmjs.
|
|
101
|
+
|
|
102
|
+
### Before → after
|
|
103
|
+
|
|
104
|
+
```ini
|
|
105
|
+
# .npmrc — before
|
|
106
|
+
@olddevs:registry=https://<previous registry>/
|
|
107
|
+
# after: no such line, the package installs from npmjs.com
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
npm i @olddevs/ui@4
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Semantics and accessibility
|
|
115
|
+
|
|
116
|
+
Unchanged: the code, exports, props, styles and behavior of 4.0.0 are the same as in 3.49.
|
|
117
|
+
|
|
118
|
+
### Action before upgrading
|
|
119
|
+
|
|
120
|
+
Remove the binding of the `@olddevs` scope to the previous registry from `.npmrc`, regenerate the lock file and
|
|
121
|
+
check that `resolved` for `@olddevs/ui` points to `registry.npmjs.org`.
|
|
122
|
+
|
|
123
|
+
## 3.48.0 — "Text card": `callouts` → `textCards`
|
|
124
|
+
|
|
125
|
+
**Status:** breaking change — minor, no alias. The API had one consumer (the source app),
|
|
126
|
+
and it replaced the names on its side; the ADR-0058, section 12.2 rule ("first deprecate, then
|
|
127
|
+
remove") does not apply here.
|
|
128
|
+
|
|
129
|
+
### What changed
|
|
130
|
+
|
|
131
|
+
A "callout" in GitHub and Notion is a note block, while in the kit the name stood for a card under a range
|
|
132
|
+
of text. The public names are renamed, and the behavior is unchanged:
|
|
133
|
+
|
|
134
|
+
- the `callouts` field of `CustomTool` → `textCards`;
|
|
135
|
+
- the types `CustomCallout` → `CustomTextCard`, `CustomCalloutRender` → `CustomTextCardRender`,
|
|
136
|
+
`CalloutRange` → `TextCardRange`, `CalloutRangeAt` → `TextCardRangeAt`;
|
|
137
|
+
- the message catalog string `editor.calloutShown` → `editor.textCardShown`.
|
|
138
|
+
|
|
139
|
+
The note of a Wrapper with a tone (`wrapper`, a GitHub alert) is not affected. The 3.37.0 entry below names
|
|
140
|
+
the previous names as historical.
|
|
141
|
+
|
|
142
|
+
### Who is affected
|
|
143
|
+
|
|
144
|
+
Everyone who describes a custom Tool with the `callouts` field, imports the types above, or overrides the
|
|
145
|
+
`calloutShown` string in their own message catalog.
|
|
146
|
+
|
|
147
|
+
### Before → after
|
|
148
|
+
|
|
149
|
+
```tsx
|
|
150
|
+
// before
|
|
151
|
+
const tool: CustomTool = {
|
|
152
|
+
name: "acme_comment",
|
|
153
|
+
engine: [],
|
|
154
|
+
callouts: [{ label, rangeAt, render }],
|
|
155
|
+
};
|
|
156
|
+
// after
|
|
157
|
+
const tool: CustomTool = {
|
|
158
|
+
name: "acme_comment",
|
|
159
|
+
engine: [],
|
|
160
|
+
textCards: [{ label, rangeAt, render }],
|
|
161
|
+
};
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Action before updating
|
|
165
|
+
|
|
166
|
+
Search the code and tests for `callouts`, `CustomCallout`, `CalloutRange` and `calloutShown` (ignoring
|
|
167
|
+
`-webkit-touch-callout`) and replace them per the table. Validation of the `tools` array names the `textCards` field in
|
|
168
|
+
its error messages: update any tests that compare error texts.
|
|
169
|
+
|
|
170
|
+
## 3.47.0 — `VirtualGrid` on `GridList`: roles `grid`/`row`/`gridcell`
|
|
171
|
+
|
|
172
|
+
**Status:** behavior change — minor. The props are the same, existing code builds and
|
|
173
|
+
works; the DOM roles and the second argument of `onAction` change.
|
|
174
|
+
|
|
175
|
+
### What changed
|
|
176
|
+
|
|
177
|
+
The grid is built on react-aria's `GridList`, not `ListBox`
|
|
178
|
+
(ADR-0028,
|
|
179
|
+
addendum). The grid is `grid` instead of `listbox`, a cell is a `row` with a
|
|
180
|
+
`gridcell` inside instead of an `option`. `onAction` now receives a second argument `{ rect }`.
|
|
181
|
+
`minItemHeight` now sets a real minimum cell height: before, a cell took the height of its content.
|
|
182
|
+
|
|
183
|
+
### Who is affected
|
|
184
|
+
|
|
185
|
+
Consumer tests that find the grid by role: `getByRole("listbox")`,
|
|
186
|
+
`getAllByRole("option")`. Assertions on `onAction` that check the exact argument list
|
|
187
|
+
(`toHaveBeenCalledWith(id)`). Cells whose content is shorter than `minItemHeight`: such cells
|
|
188
|
+
are taller now.
|
|
189
|
+
|
|
190
|
+
### Before → after
|
|
191
|
+
|
|
192
|
+
```tsx
|
|
193
|
+
// before
|
|
194
|
+
screen.getByRole("listbox", { name: "Frames" });
|
|
195
|
+
screen.getAllByRole("option");
|
|
196
|
+
expect(onAction).toHaveBeenCalledWith("7");
|
|
197
|
+
// after
|
|
198
|
+
screen.getByRole("grid", { name: "Frames" });
|
|
199
|
+
screen.getAllByRole("row");
|
|
200
|
+
expect(onAction).toHaveBeenCalledWith("7", expect.objectContaining({ rect: expect.anything() }));
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Semantics and accessibility
|
|
204
|
+
|
|
205
|
+
Keyboard behavior is unchanged: arrow keys move through the grid, Space selects, Enter opens, Shift+F10 opens
|
|
206
|
+
the cell menu. New: buttons inside a cell are now valid; inside an `option` they triggered a
|
|
207
|
+
`nested-interactive` violation of serious impact. The selection circle is `<Checkbox slot="selection" />` in the cell
|
|
208
|
+
content.
|
|
209
|
+
|
|
210
|
+
### Action before updating
|
|
211
|
+
|
|
212
|
+
Find `"listbox"` and `"option"` next to `VirtualGrid` in tests and replace them with
|
|
213
|
+
`"grid"` and `"row"`; loosen the `onAction` argument checks. Check how cells shorter than
|
|
214
|
+
`minItemHeight` look.
|
|
215
|
+
|
|
216
|
+
## 3.46.0 — The Editor engine is not in the kit manifest
|
|
217
|
+
|
|
218
|
+
**Status:** behavior change — minor. The API is unchanged; what changes is what
|
|
219
|
+
npm installs together with the kit.
|
|
220
|
+
|
|
221
|
+
### What changed
|
|
222
|
+
|
|
223
|
+
The 21 Editor engine packages (`@tiptap/*`, `lowlight`, `highlight.js`, `marked`)
|
|
224
|
+
were removed from `peerDependencies`, and the `peerDependenciesMeta` field was
|
|
225
|
+
deleted. They were optional peer dependencies, but when installed from the previous
|
|
226
|
+
registry, npm pulled the engine in for every consumer — even an application that does not
|
|
227
|
+
import the Editor.
|
|
228
|
+
|
|
229
|
+
### Who is affected
|
|
230
|
+
|
|
231
|
+
Only those who import `@olddevs/ui/editor` and never installed the engine
|
|
232
|
+
explicitly: the packages arrived on their own. After the update, the build fails on an unresolvable `@tiptap/…`.
|
|
233
|
+
Applications without the Editor need to do nothing — about 60 packages leave their
|
|
234
|
+
lock file.
|
|
235
|
+
|
|
236
|
+
### Action before updating
|
|
237
|
+
|
|
238
|
+
Install the engine with the command from the "Installation" section of the
|
|
239
|
+
[RichTextEditor](../components/inputs/rich-text-editor.md#установка) page. npm no
|
|
240
|
+
longer warns about mismatched Tiptap versions: the `^3.31.4` range is given on
|
|
241
|
+
the same page.
|
|
242
|
+
|
|
243
|
+
## 3.37.0 — An Editor open to extension
|
|
244
|
+
|
|
245
|
+
**Status:** behavior change — a minor under the "Stability" section of the
|
|
246
|
+
[Editor extension API](editor-extension.md#стабильность): the saved HTML,
|
|
247
|
+
`onChange`, `onUploadImage` and `focus()` do not change, and the previous code builds.
|
|
248
|
+
The note is needed because five changes are visible to current consumers
|
|
249
|
+
of `@olddevs/ui/editor`, and one requires installing packages with pnpm. The new API
|
|
250
|
+
(a custom Tool, the Handle, events, the Status line) requires no action — it is on the
|
|
251
|
+
[extension API page](editor-extension.md).
|
|
252
|
+
|
|
253
|
+
### 1. Two new peer packages
|
|
254
|
+
|
|
255
|
+
The blockquote and the divider take their Engine part from `@tiptap/extension-blockquote` and
|
|
256
|
+
`@tiptap/extension-horizontal-rule` — optional peer dependencies of the
|
|
257
|
+
`@olddevs/ui/editor` entry point with the same `^3.31.4` range (since 3.46.0 the engine
|
|
258
|
+
packages are no longer in the kit manifest; see the entry above).
|
|
259
|
+
|
|
260
|
+
**Who is affected.** Only pnpm (strict `node_modules`) and installs with
|
|
261
|
+
`--omit=optional`: npm and yarn install both packages as dependencies of
|
|
262
|
+
`@tiptap/starter-kit`, and the import resolves.
|
|
263
|
+
|
|
264
|
+
**Action before updating.**
|
|
265
|
+
|
|
266
|
+
```bash
|
|
267
|
+
pnpm add @tiptap/extension-blockquote @tiptap/extension-horizontal-rule
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
The full command is on the [RichTextEditor](../components/inputs/rich-text-editor.md#установка) page.
|
|
271
|
+
|
|
272
|
+
### 2. A divider no longer weighs a character in `maxLength`
|
|
273
|
+
|
|
274
|
+
**What changed.** Before, the counter substituted a space for a leaf node, and
|
|
275
|
+
every `<hr>` took one character from the limit. Now the weight of an Atom is the length of its Atom
|
|
276
|
+
text (`renderText`): a divider weighs 0, a soft break 1, an image the length of its
|
|
277
|
+
caption. The counter matches `getText()` without Block separators.
|
|
278
|
+
|
|
279
|
+
**Who is affected.** Screens with `maxLength` and dividers in the Document. A Document
|
|
280
|
+
with N dividers fits N more characters, and a Document that was previously
|
|
281
|
+
"over the limit" by the number of dividers now fits. If the server
|
|
282
|
+
checks length against the same limit and counts `<hr>` as a character, it will reject what the
|
|
283
|
+
Editor let through.
|
|
284
|
+
|
|
285
|
+
**Before → after.**
|
|
286
|
+
|
|
287
|
+
| Document | Before | After |
|
|
288
|
+
| ------------------------- | ------------ | ------------ |
|
|
289
|
+
| `<p>abc</p><hr><p>de</p>` | 6 characters | 5 characters |
|
|
290
|
+
| `<p>a<br>b</p>` | 3 | 3 |
|
|
291
|
+
|
|
292
|
+
**A paste past the limit** cuts the tail by characters, not by positions; an Atom that
|
|
293
|
+
did not fit goes away whole, together with everything after it.
|
|
294
|
+
|
|
295
|
+
**Action before updating.** Check the server-side length validation against the kit's rule:
|
|
296
|
+
the Document's text without markup and Block separators, an Atom by the length of its text.
|
|
297
|
+
The kit has no server-side counter: the weight of a custom Atom depends on its Engine part.
|
|
298
|
+
|
|
299
|
+
### 3. Skeleton before Readiness
|
|
300
|
+
|
|
301
|
+
**What changed.** Before Readiness, the Editor shows a Skeleton: the field frame, the place of the
|
|
302
|
+
Toolbar and the Document sanitized by the Schema, as static HTML with no input. Before, this place was an empty
|
|
303
|
+
area; now the field height does not jump. On the server and before hydration, the Skeleton is
|
|
304
|
+
only the frame, and the Document appears after mounting in the browser. In `full`, the code
|
|
305
|
+
block and the table now arrive as a separate chunk, so Readiness comes
|
|
306
|
+
after they load, and the Skeleton is visible until then (in it, the code block is shown with its header
|
|
307
|
+
and the table with its cells). The `basic` Preset does not load these chunks and is ready at once. The "start" scenario
|
|
308
|
+
(the static graph of the subpath with the engine, what `basic` pays) got lighter: 312.3 → 286.6 kB gzip.
|
|
309
|
+
The "full" scenario (with all lazy chunks, `full`) weighs 327.7 kB (measured at 3.37.0; the current table is in
|
|
310
|
+
["Import size"](../getting-started.md#размер-импорта)).
|
|
311
|
+
|
|
312
|
+
**Who is affected.**
|
|
313
|
+
|
|
314
|
+
- Code that accesses `ref.current.editor` or calls `ref.current.focus()`,
|
|
315
|
+
`insertHTML()` right after mounting: in `full` the engine appears later, and before
|
|
316
|
+
Readiness `editor` is `null` and the Handle's methods do nothing and do not throw.
|
|
317
|
+
- Consumer tests with `full` that look for `role="textbox"` synchronously right after
|
|
318
|
+
`render`: the editable area appears after the chunks load. The Skeleton has no
|
|
319
|
+
`textbox` role.
|
|
320
|
+
- Visual snapshots of pages with the Editor: in place of the empty area there is the frame and the
|
|
321
|
+
Document.
|
|
322
|
+
|
|
323
|
+
**Before → after.**
|
|
324
|
+
|
|
325
|
+
```tsx
|
|
326
|
+
// before — focus in the mount effect: in `full` the engine is not there yet, the call does nothing
|
|
327
|
+
useEffect(() => ref.current?.focus(), []);
|
|
328
|
+
|
|
329
|
+
// after — the callback reports the moment of Readiness
|
|
330
|
+
<RichTextEditor ref={ref} onReady={() => ref.current?.focus()} />;
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
```tsx
|
|
334
|
+
// test: wait for the editable area, do not grab it synchronously
|
|
335
|
+
expect(await screen.findByRole("textbox")).toBeInTheDocument();
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
**Action before updating.** Find the uses of `ref.current.editor` and the Handle's methods
|
|
339
|
+
in mount effects and move them to `onReady`; in tests, replace
|
|
340
|
+
`getByRole("textbox")` for an Editor with `full` with `await findByRole`. To have the chunks
|
|
341
|
+
arrive with the page, add `modulepreload` for them
|
|
342
|
+
([recipe](editor-extension.md#modulepreload-для-ленивых-чанков)).
|
|
343
|
+
|
|
344
|
+
### 4. Image messages go through the Field notice channel
|
|
345
|
+
|
|
346
|
+
**What changed.** "Uploading…", "uploaded", an upload refusal, "not an image" and
|
|
347
|
+
"files are not accepted" go through the same channel as the new engine command
|
|
348
|
+
`showNotice`: one place under the field, a new message replaces the previous one, and an error
|
|
349
|
+
(`role="alert"`) stays until the next Author edit. The texts and roles are the same, but the
|
|
350
|
+
live region `role="status"` is now present in **every** Editor, not only with the
|
|
351
|
+
`image` Tool.
|
|
352
|
+
|
|
353
|
+
**Who is affected.** Tests that checked for the absence of `role="status"` in an
|
|
354
|
+
Editor without `image` or counted live regions on the page, and screens that
|
|
355
|
+
rendered their own paste error line next to the field.
|
|
356
|
+
|
|
357
|
+
**Action before updating.** Look for the region by the message text, not merely by whether
|
|
358
|
+
it is present. Replace your own paste and upload error line with the command
|
|
359
|
+
`ref.current?.editor?.commands.showNotice({ tone: "error", text })`: otherwise
|
|
360
|
+
the error would be announced twice.
|
|
361
|
+
|
|
362
|
+
### 5. The `Tool` type accepts descriptions of custom Tools
|
|
363
|
+
|
|
364
|
+
**What changed.** The `Tool` type (a `tools` element) is now `ToolName | CustomTool`;
|
|
365
|
+
the name of a built-in Tool is the new type `ToolName`. The previous `Tool` was a string
|
|
366
|
+
name.
|
|
367
|
+
|
|
368
|
+
**Who is affected.** TypeScript code that treated `Tool` as a string:
|
|
369
|
+
`tool.startsWith(…)`, the keys of `Record<Tool, …>`, comparison in a `switch`.
|
|
370
|
+
|
|
371
|
+
**Before → after.**
|
|
372
|
+
|
|
373
|
+
```ts
|
|
374
|
+
// before
|
|
375
|
+
import type { Tool } from "@olddevs/ui/editor";
|
|
376
|
+
const labels: Record<Tool, string> = { … };
|
|
377
|
+
|
|
378
|
+
// after
|
|
379
|
+
import type { ToolName } from "@olddevs/ui/editor";
|
|
380
|
+
const labels: Record<ToolName, string> = { … };
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
**Action before updating.** `tsc` will find such places on its own; replace `Tool` with
|
|
384
|
+
`ToolName` in them. Arrays of names for `tools` do not need to change.
|
|
385
|
+
|
|
386
|
+
### What else is visible — no action needed
|
|
387
|
+
|
|
388
|
+
- "Unwrap" in the Block handle menu sits in a separate Tool section before
|
|
389
|
+
"Delete": custom Block actions go to the same place.
|
|
390
|
+
- New strings in the `editor` namespace of the message catalog: `toolsFailed`, `retry`, `calloutShown`. If you
|
|
391
|
+
pass your own full message catalog, add them; a partial catalog takes the kit's fallback.
|
|
392
|
+
|
|
393
|
+
## 3.1.0 — selection in `VirtualGrid` moved to the grid
|
|
394
|
+
|
|
395
|
+
**Status:** deprecation — the old code still builds. But it
|
|
396
|
+
also causes an accessibility violation, which is why the note is here and not
|
|
397
|
+
only in `CHANGELOG.md`.
|
|
398
|
+
|
|
399
|
+
### What changed
|
|
400
|
+
|
|
401
|
+
`VirtualGrid` gained its own selection axis: `selectionMode`, `selectedKeys`,
|
|
402
|
+
`onSelectionChange`. Before, the documentation advised enabling selection inside the
|
|
403
|
+
cell, on `MediaCard`. That advice is withdrawn.
|
|
404
|
+
|
|
405
|
+
### Why
|
|
406
|
+
|
|
407
|
+
A grid cell is an `option` (the grid is built on react-aria's `ListBox`). A selection
|
|
408
|
+
button inside an `option` produces a nested interactive element: axe reports this as a
|
|
409
|
+
violation of serious impact, and it reproduced on all themes. A label or an
|
|
410
|
+
attribute does not fix it; the only fix is to make the cell itself the selectable element.
|
|
411
|
+
|
|
412
|
+
### How to replace
|
|
413
|
+
|
|
414
|
+
```tsx
|
|
415
|
+
// before — a selection button inside the cell
|
|
416
|
+
<VirtualGrid
|
|
417
|
+
items={items.map((it) => ({
|
|
418
|
+
id: it.id,
|
|
419
|
+
textValue: it.name,
|
|
420
|
+
content: (
|
|
421
|
+
<MediaCard
|
|
422
|
+
preview={preview}
|
|
423
|
+
selected={selected[it.id] ?? false}
|
|
424
|
+
onSelectedChange={(next) => setSelected({ ...selected, [it.id]: next })}
|
|
425
|
+
/>
|
|
426
|
+
),
|
|
427
|
+
}))}
|
|
428
|
+
aria-label="Frames"
|
|
429
|
+
/>;
|
|
430
|
+
|
|
431
|
+
// after — the cell is selected, the card only renders the state
|
|
432
|
+
const [keys, setKeys] = useState<Selection>(new Set());
|
|
433
|
+
|
|
434
|
+
<VirtualGrid
|
|
435
|
+
items={items.map((it) => ({
|
|
436
|
+
id: it.id,
|
|
437
|
+
textValue: it.name,
|
|
438
|
+
content: <MediaCard preview={preview} selected={keys === "all" || keys.has(it.id)} />,
|
|
439
|
+
}))}
|
|
440
|
+
aria-label="Frames"
|
|
441
|
+
selectionMode="multiple"
|
|
442
|
+
selectedKeys={keys}
|
|
443
|
+
onSelectionChange={setKeys}
|
|
444
|
+
/>;
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
`Selection` and `Key` are `react-aria-components` types, and the package is in
|
|
448
|
+
`peerDependencies` anyway. The consumer still holds the set of selected items: the kit provides
|
|
449
|
+
the shape, and the state stays with the consumer
|
|
450
|
+
(ADR-0023).
|
|
451
|
+
|
|
452
|
+
Outside the grid, `MediaCard` does not need to change: the card's own selection axis stayed and
|
|
453
|
+
produces no violation — there is no `option` around it there.
|
|
454
|
+
|
|
455
|
+
## 3.0.0 — one state dictionary
|
|
456
|
+
|
|
457
|
+
**Status:** breaking change. Exactly one thing breaks, in one place: two state
|
|
458
|
+
dictionaries are merged into one. The major carries nothing besides this, and that is a decision
|
|
459
|
+
(ADR-0031).
|
|
460
|
+
|
|
461
|
+
### What changed
|
|
462
|
+
|
|
463
|
+
`UploadState` and `TimelineStatus` described the same entity — the status of a
|
|
464
|
+
job — under two names, with two line-for-line identical tone tables. The debt was
|
|
465
|
+
found by the 2.5.0 review; it could not be settled with a patch, as both types were part of the public
|
|
466
|
+
API.
|
|
467
|
+
|
|
468
|
+
Now there is one type: **`ProgressStatus`**. The old names are **removed**, no aliases
|
|
469
|
+
are left: a `@deprecated` alias in a major is a second dictionary, and eliminating it
|
|
470
|
+
was the whole point.
|
|
471
|
+
|
|
472
|
+
### Who is affected
|
|
473
|
+
|
|
474
|
+
Everyone who imports `UploadState` or `TimelineStatus`, and everyone who passes
|
|
475
|
+
`state` to `UploadQueue` — **including those who do not import the types at all**.
|
|
476
|
+
The `UploadQueue` values changed, and in a JavaScript project neither the compiler
|
|
477
|
+
nor the linter will catch it.
|
|
478
|
+
|
|
479
|
+
Find them in your code:
|
|
480
|
+
|
|
481
|
+
```bash
|
|
482
|
+
grep -rn "UploadState\|TimelineStatus" src/
|
|
483
|
+
grep -rn "state: *[\"']\(done\|error\)[\"']" src/
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
`Timeline` is affected by nothing except the type name: its values won out.
|
|
487
|
+
|
|
488
|
+
### Before → after
|
|
489
|
+
|
|
490
|
+
| Concept | `TimelineStatus` | `UploadState` | `ProgressStatus` |
|
|
491
|
+
| ----------- | ---------------- | ------------- | ---------------- |
|
|
492
|
+
| not started | `pending` | `pending` | `pending` |
|
|
493
|
+
| in progress | `running` | `running` | `running` |
|
|
494
|
+
| success | `success` | **`done`** | **`success`** |
|
|
495
|
+
| failure | `failed` | **`error`** | **`failed`** |
|
|
496
|
+
|
|
497
|
+
```tsx
|
|
498
|
+
// before
|
|
499
|
+
import type { UploadState, TimelineStatus } from "@olddevs/ui";
|
|
500
|
+
<UploadQueue items={[{ id: "1", name: "estimate.xlsx", state: "done" }]} />;
|
|
501
|
+
|
|
502
|
+
// after
|
|
503
|
+
import type { ProgressStatus } from "@olddevs/ui";
|
|
504
|
+
<UploadQueue items={[{ id: "1", name: "estimate.xlsx", state: "success" }]} />;
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
The `Timeline` values won out: `success` and `failed` describe the **outcome** and
|
|
508
|
+
are symmetric to each other. The pair `done` and `error` is not: the first is about
|
|
509
|
+
completeness, the second about an event, and together they read as if "completed with
|
|
510
|
+
an error" were also a possible state.
|
|
511
|
+
|
|
512
|
+
The type name is neutral on purpose: `TimelineStatus` on an upload queue would lie —
|
|
513
|
+
it has no timeline.
|
|
514
|
+
|
|
515
|
+
### Semantics and accessibility
|
|
516
|
+
|
|
517
|
+
Nothing changes for the keyboard, focus and accessible names. The state tones are the same:
|
|
518
|
+
the table `pending → neutral`, `running → accent`, success `→ success`,
|
|
519
|
+
failure `→ danger` applied in both components before the merge — only
|
|
520
|
+
the key names changed.
|
|
521
|
+
|
|
522
|
+
**An unknown value still does not crash the screen**: it gets the neutral tone.
|
|
523
|
+
Both components had this protection before, and now it is described in the dictionary itself and
|
|
524
|
+
not repeated twice. Since 3.0.0 tests guard it in both components — before
|
|
525
|
+
that, only `Timeline` had a test.
|
|
526
|
+
|
|
527
|
+
### Action before updating
|
|
528
|
+
|
|
529
|
+
1. Replace the type imports with `ProgressStatus`.
|
|
530
|
+
2. Replace the values `done` → `success` and `error` → `failed` **in the data**, not
|
|
531
|
+
only in the types. If states come from a backend, map them
|
|
532
|
+
in your adapter: the kit does not know domain dictionaries and does not guess.
|
|
533
|
+
3. Run the build. In TypeScript the errors will point to every place; in JavaScript
|
|
534
|
+
the only symptom is the tone: a failed file will be rendered
|
|
535
|
+
neutral instead of red.
|
|
536
|
+
|
|
537
|
+
### What else appeared — no action needed
|
|
538
|
+
|
|
539
|
+
Everything below is an addition: the old code keeps working with no edits.
|
|
540
|
+
|
|
541
|
+
**`SavedViews`** — a switcher of named state snapshots. The shape of a view
|
|
542
|
+
is parameterized by your state (`SavedView<T>`) and is not tied to
|
|
543
|
+
`TableState`; storage, sharing and the URL stay entirely with you. For details, see the
|
|
544
|
+
[component page](../components/table/saved-views.md).
|
|
545
|
+
|
|
546
|
+
**The `FormField` hint and error reach the react-aria families.** For
|
|
547
|
+
`Select`, `Combobox`, `DatePicker` and `TagInput`, the description from `FormField` is now tied to
|
|
548
|
+
the field through `aria-describedby`. **This is an accessibility fix, and it changes
|
|
549
|
+
what is announced:** where a hint was visible on screen but did not reach a screen reader, a
|
|
550
|
+
screen reader will now read it. Your tests for the accessible description of these fields
|
|
551
|
+
may need updating — before, there was none at all.
|
|
552
|
+
|
|
553
|
+
`Select`, `DatePicker` and `TagInput` also gained a public `aria-describedby`
|
|
554
|
+
prop; your own value does not replace the `FormField` description, but is merged with
|
|
555
|
+
it.
|
|
556
|
+
|
|
557
|
+
**Figma Code Connect** — 16 mirror main components are bound to the kit's components.
|
|
558
|
+
This does not affect the consumer: the bindings do not ship in the package.
|
|
559
|
+
|
|
560
|
+
### What 3.0.0 does not include
|
|
561
|
+
|
|
562
|
+
No changes besides those described above. These were deliberately **left out** of the major:
|
|
563
|
+
|
|
564
|
+
- **RTL** — an open question of the spec; `dir` in the provider stays undeclared;
|
|
565
|
+
- **peer React 18** — stays `react: ^19`; widening doubles the consumer's CI
|
|
566
|
+
build and is solved separately;
|
|
567
|
+
- **chart components** — will not appear: charts stay with the consumer
|
|
568
|
+
(ADR-0032);
|
|
569
|
+
- **`Table` virtualization, CSV export, `JsonViewer`, `LogViewer`** — dropped for
|
|
570
|
+
lack of a requesting screen (ADR-0031).
|
|
571
|
+
|
|
572
|
+
A major breaks the contract once and in one place. Dumping everything accumulated into it
|
|
573
|
+
would force even users the state dictionary does not affect to reread their code.
|
|
574
|
+
|
|
575
|
+
## 2.6.0 — the package is checked on the consumer's side
|
|
576
|
+
|
|
577
|
+
Nothing breaking: one new component and one new requirement for the consumer's
|
|
578
|
+
build. Exactly one action is required — see item 2.
|
|
579
|
+
|
|
580
|
+
**1. `ContextualSaveBar`.** A bar for unsaved changes: it appears with the first
|
|
581
|
+
edit of a form, shows the number of edits and two buttons. Debt carried over from wave 20. How it differs from
|
|
582
|
+
`SelectionBar` and `Banner` is described on the
|
|
583
|
+
[component page](../components/navigation/contextual-save-bar.md).
|
|
584
|
+
|
|
585
|
+
**2. `optimizePackageImports` becomes mandatory in Next.js.** One line in the
|
|
586
|
+
consumer's configuration:
|
|
587
|
+
|
|
588
|
+
```js
|
|
589
|
+
// next.config.mjs
|
|
590
|
+
export default { experimental: { optimizePackageImports: ["@olddevs/ui"] } };
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
Formally this is not a breaking change: the package builds and works without it.
|
|
594
|
+
But **the price without it is unacceptable**: a page with one `Button` weighs 408 kB
|
|
595
|
+
instead of 117 at a baseline of 102 (measured at the 2.6.0 release), and a server component with two pure
|
|
596
|
+
functions and not a single kit component weighs the same. The cause is the client
|
|
597
|
+
graph boundary, not the package's packaging: the same `dist` on plain rollup
|
|
598
|
+
ships `Button` at 6 kB.
|
|
599
|
+
ADR-0029.
|
|
600
|
+
|
|
601
|
+
Check your configuration when updating. If the app is not on Next.js,
|
|
602
|
+
measure the import cost yourself: the kit has not checked this case yet.
|
|
603
|
+
|
|
604
|
+
**3. A separate `@olddevs/ui/server` entry point did not appear and will not.** Pure
|
|
605
|
+
utilities (`cn`, `tableStateToParams`, `formatMask` and others) are imported from the
|
|
606
|
+
root and are not pulled into the client graph if you add the line from item 2.
|
|
607
|
+
|
|
608
|
+
**4. New package checks** do not affect the consumer, but they explain where the numbers
|
|
609
|
+
above came from: `npm run check:dist`, `npm run check:consumer`,
|
|
610
|
+
`npm run size`, `npm run release:check`. The version and `CHANGELOG.md` are now maintained
|
|
611
|
+
with changesets.
|
|
612
|
+
|
|
613
|
+
**Deliberately postponed:** Figma Code Connect (priority P2 in the specification, only after
|
|
614
|
+
the names and axes stabilize); binding the description for the react-aria families (`Select`,
|
|
615
|
+
`Combobox`, `DatePicker`, `TagInput`) — they have their own description slots; merging
|
|
616
|
+
`UploadState` and `TimelineStatus` — it breaks a public type and waits for a major;
|
|
617
|
+
widening the peer to React 18 — it doubles the consumer's CI build.
|
|
618
|
+
|
|
619
|
+
## 2.5.1 — two fixes after the 2.5.0 review
|
|
620
|
+
|
|
621
|
+
Nothing breaking; no action is required from the consumer.
|
|
622
|
+
|
|
623
|
+
**1. `Truncate` once again tracks size changes after the first truncation.** The `Tooltip` wrapper
|
|
624
|
+
recreated the node while `ResizeObserver` stayed on the old one: a column
|
|
625
|
+
widened after truncation removed neither `tabIndex` nor the tooltip.
|
|
626
|
+
|
|
627
|
+
**2. `SortableList` does not lose a row on a drop "onto itself".** When the target key
|
|
628
|
+
was among the items being moved, the reorder dropped the last item of the
|
|
629
|
+
list and passed a corrupted order to the consumer. Now such a drop changes nothing
|
|
630
|
+
and is not passed to the consumer. The reorder mechanics are extracted into a pure function and
|
|
631
|
+
tested on arrays.
|
|
632
|
+
|
|
633
|
+
**A debt that was named but not closed:** `UploadState` (`done`/`error`) and
|
|
634
|
+
`TimelineStatus` (`success`/`failed`) are two dictionaries for one concept. Merging them into
|
|
635
|
+
one breaks the public type released in 2.5.0 and waits for the next major.
|
|
636
|
+
|
|
637
|
+
## 2.5.0 — data, uploads, notifications
|
|
638
|
+
|
|
639
|
+
Nothing breaking: everything new is additive, and `AppShell` gained one slot.
|
|
640
|
+
|
|
641
|
+
**1. Eight new component families.** `Banner`, `UploadQueue`, `NotificationItem` /
|
|
642
|
+
`NotificationList` / `NotificationCenter`, `MediaCard`, `SortableList`,
|
|
643
|
+
`VirtualGrid`, `CopyButton`, `Truncate`.
|
|
644
|
+
|
|
645
|
+
**2. `AppShell` gained a `banners` slot** — app-level messages above the
|
|
646
|
+
header. Without the prop, the shell's markup stays identical node for node. Banners are not sticky, and
|
|
647
|
+
`--topbar-h` still means exactly the header height: the stickiness contract
|
|
648
|
+
is not touched.
|
|
649
|
+
|
|
650
|
+
**3. No new dependencies.** Drag and drop and virtualization are built on
|
|
651
|
+
`react-aria-components`, already declared as a peer dependency, and not on `@dnd-kit`
|
|
652
|
+
and `@tanstack/react-virtual`, as in the source app's frontend
|
|
653
|
+
(ADR-0028).
|
|
654
|
+
|
|
655
|
+
Two consequences for those migrating from that frontend:
|
|
656
|
+
|
|
657
|
+
- `SortableList` renders a **drag handle** in every row. Without it,
|
|
658
|
+
react-aria does not allow dragging from the keyboard at all — it only warns in the
|
|
659
|
+
console. The handle is mandatory.
|
|
660
|
+
- `VirtualGrid` **scrolls its own container, not the window**. Give the container
|
|
661
|
+
a height: without it, virtualization will not turn on, and the grid will render all cells at once.
|
|
662
|
+
The grid in that frontend is built on `useWindowVirtualizer` and scrolls the page.
|
|
663
|
+
|
|
664
|
+
**4. New message catalog namespaces:** `banner`, `uploadQueue`,
|
|
665
|
+
`notifications`, `mediaCard`, `sortableList`, `copyButton`. The keys are additive —
|
|
666
|
+
`PartialUiMessages` is deeply partial, so this does not count as breaking.
|
|
667
|
+
|
|
668
|
+
**5. Postponed:** `ContextualSaveBar` — to wave 21. `SortableGrid` is not created:
|
|
669
|
+
the grid will get drag and drop when a requesting screen appears. Charts,
|
|
670
|
+
`JsonViewer`, `LogViewer` — priority P2, taken on for a specific screen.
|
|
671
|
+
|
|
672
|
+
The scope of the wave is covered in detail in ADR-0027.
|
|
673
|
+
|
|
674
|
+
## 2.4.0 — the field format is visible and announced
|
|
675
|
+
|
|
676
|
+
Nothing breaking, but **the look of two released components changed** — read
|
|
677
|
+
item 1 even if you updated nothing in the code.
|
|
678
|
+
|
|
679
|
+
**1. `MaskedInput` and `PhoneInput` show the format right in the field.** An empty
|
|
680
|
+
phone field now reads `+7 (___) ___-__-__`, and the mask guide disappears as you
|
|
681
|
+
type. Before 2.4.0 nothing communicated the format: an empty field was an empty
|
|
682
|
+
rectangle, and a half-filled one broke off at the last digit.
|
|
683
|
+
|
|
684
|
+
It is on by default, deliberately: the absence of a format was a defect. It is turned off with a prop:
|
|
685
|
+
|
|
686
|
+
```tsx
|
|
687
|
+
<MaskedInput mask="99.99.9999" value={value} onChange={setValue} showMask={false} />
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
Turn it off where the format has already been stated nearby and repeating it in the field is noise:
|
|
691
|
+
a short well-known mask in a dense table, a field under a label with an example.
|
|
692
|
+
|
|
693
|
+
**2. The `FormField` hint and error are announced by a screen reader.** Before, they were
|
|
694
|
+
visible only on screen: `FormField` rendered them as a `<div>` without an `id`, and there was
|
|
695
|
+
no way to tie them to the field. Now `FormField` generates the `id`, and the kit's fields
|
|
696
|
+
pick it up and use it in `aria-describedby`.
|
|
697
|
+
|
|
698
|
+
No action is required from the consumer. If you described the field with your own node,
|
|
699
|
+
the description is **supplemented, not replaced**: the attribute holds a list.
|
|
700
|
+
|
|
701
|
+
`TextControl` and everything built on it (`MaskedInput`,
|
|
702
|
+
`PhoneInput`, `PasswordInput`, `SearchControl`), plus `NumberInput`, pick up the description. The react-aria
|
|
703
|
+
families (`Select`, `Combobox`, `DatePicker`, `TagInput`) carry their own description slots
|
|
704
|
+
and do not pick up the `FormField` hint yet.
|
|
705
|
+
|
|
706
|
+
**3. A character that does not fit the mask is announced.** A character that did not fit the mask token
|
|
707
|
+
is still dropped, but a live region appears next to the field saying what was
|
|
708
|
+
expected here. Exactly one typed character is parsed; a paste is not parsed.
|
|
709
|
+
The new message catalog namespace is `maskedInput`; it has two keys, and they
|
|
710
|
+
exist in the `ru` locale.
|
|
711
|
+
|
|
712
|
+
**4. `TextControl` gained an `underlay` slot** — a backing under the value, on the same
|
|
713
|
+
line. The mask guide is built on it. The component itself puts `aria-hidden` on the backing and
|
|
714
|
+
sets `pointer-events: none` on it: there is nothing to read there.
|
|
715
|
+
|
|
716
|
+
The rationale for the decisions and the sources are in ADR-0026.
|
|
717
|
+
|
|
718
|
+
## 2.3.0 — advanced input fields
|
|
719
|
+
|
|
720
|
+
Nothing breaking: everything new is additive, and `FormField` gained one axis,
|
|
721
|
+
which is enabled by passing a prop or a context.
|
|
722
|
+
|
|
723
|
+
**1. New components:** `PasswordInput`, `FormLayout` with `FieldRow`,
|
|
724
|
+
`PinInput`, `InlineEdit`, `TreeView`, `MaskedInput`, `PhoneInput`. New
|
|
725
|
+
utilities: `formatMask`, `unmask`, `maskCapacity`, the constant `RU_PHONE_MASK`.
|
|
726
|
+
|
|
727
|
+
**2. `FormField` supports a side label.** `layout="stack" | "side"`; without the prop
|
|
728
|
+
and without `FormLayout` the markup stays identical node for node — a whole-markup test
|
|
729
|
+
checks this. The axis lives on the field, not on the layout, because the label is rendered
|
|
730
|
+
by `FormField` (ADR-0025). The width of the label column is the variable `--form-label-w`.
|
|
731
|
+
|
|
732
|
+
**3. `CurrencyInput` will not appear.** It is a `NumberInput` with `formatOptions`:
|
|
733
|
+
react-aria formats the currency, parses the input and takes the grouping separators and
|
|
734
|
+
the decimal separator from the locale. A separate component would duplicate an existing one:
|
|
735
|
+
|
|
736
|
+
```tsx
|
|
737
|
+
<NumberInput label="Amount" formatOptions={{ style: "currency", currency: "RUB" }} />
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
**4. `TreeSelect` is postponed until a requesting screen appears.** It is assembled from `TreeView` and
|
|
741
|
+
`Popover`; creating it without a single screen means designing blind —
|
|
742
|
+
exactly what wave 18 paid for by redoing `TablePreferences` from a menu into a
|
|
743
|
+
panel. When a screen with a choice from a hierarchy appears, the question will return too.
|
|
744
|
+
|
|
745
|
+
**5. `PhoneInput` has one fixed format.** The promise of "format from the locale"
|
|
746
|
+
is withdrawn: `Intl` does not format phone numbers at all, and proper parsing is
|
|
747
|
+
`libphonenumber`, weighing hundreds of kilobytes. The format comes as a prop with the default
|
|
748
|
+
`RU_PHONE_MASK`. The component does not parse a number, does not keep a country list and does not
|
|
749
|
+
validate.
|
|
750
|
+
|
|
751
|
+
**6. `PinInput` returns a string, and there are no gaps in it.** The cells are a display of one
|
|
752
|
+
value, not N independent ones: deleting a character in the middle shifts the others
|
|
753
|
+
left, as in an ordinary text field.
|
|
754
|
+
|
|
755
|
+
**7. The `TreeView` role is `treegrid`, and the nodes are `row`.** That is how react-aria is built: a
|
|
756
|
+
row holds the expand button and a checkbox, and a `treeitem` does not expect a second interactive
|
|
757
|
+
element inside itself. If you look for nodes in tests, query them by the
|
|
758
|
+
`row` role. The kit does not re-export `useTreeData`: it is a store, and the
|
|
759
|
+
kit does not own state.
|
|
760
|
+
|
|
761
|
+
## 2.2.0 — the product table
|
|
762
|
+
|
|
763
|
+
Nothing breaking: everything new is additive, and `Table` gained one axis, which
|
|
764
|
+
is enabled by passing a prop.
|
|
765
|
+
|
|
766
|
+
**1. `Table` supports row expansion.** `renderDetail` plus `expandedKeys` /
|
|
767
|
+
`onExpandedChange`. Without `renderDetail` the markup stays identical node for node — a test
|
|
768
|
+
checks this. Expanded rows are held as a set of keys, like selection: there is no "one
|
|
769
|
+
row or several" switch, because the table does not store state and cannot support
|
|
770
|
+
such a prop.
|
|
771
|
+
|
|
772
|
+
**2. `rowLabel` should be passed together with expansion.** Without it, all
|
|
773
|
+
expanders have the same name, and a screen reader in button-listing mode reads
|
|
774
|
+
twenty identical "Show details".
|
|
775
|
+
|
|
776
|
+
**3. `UiProvider` accepts `density`.** A default, not a mode: the table and its
|
|
777
|
+
gear override it. The prop was promised in 2.0.0 and postponed by ADR-0002 until
|
|
778
|
+
something read it; `DataTable` became that reader.
|
|
779
|
+
|
|
780
|
+
**4. New components:** `DataTable`, `TableToolbar`, `TablePreferences`,
|
|
781
|
+
`FilterBar`, `FilterBarAdd`. New utilities: `useTableState`,
|
|
782
|
+
`tableStateToParams`, `tableStateFromParams`, `DEFAULT_TABLE_STATE`.
|
|
783
|
+
|
|
784
|
+
**5. Selection is within a page.** "Select all" marks the `items` that arrived;
|
|
785
|
+
the kit does not support selecting the whole result set, and the labels about it do not lie.
|
|
786
|
+
If you need selection beyond the page, that is your code, not the kit's.
|
|
787
|
+
|
|
788
|
+
**6. State is carried into the URL without selection and expansion.** The list of keys
|
|
789
|
+
has no length limit, and a link opened the next day would mark records
|
|
790
|
+
that no longer exist.
|
|
791
|
+
|
|
792
|
+
## 2.1.2 — navigation in the mobile-mode drawer
|
|
793
|
+
|
|
794
|
+
Nothing breaking. `SideNav`, shown by `AppShell` in a `Drawer`, no longer
|
|
795
|
+
collapses: there is no collapse button there, and `collapsed` and `defaultCollapsed` have no effect in the
|
|
796
|
+
overlay. The icon mode gives width to the page content —
|
|
797
|
+
there is nothing next to the drawer to give the width to.
|
|
798
|
+
|
|
799
|
+
If you keep the collapsed state yourself and it survived a reload, the behavior
|
|
800
|
+
changes for the better: before, the drawer opened with icons and no way to expand them.
|
|
801
|
+
The column on a wide screen works as before; `onCollapsedChange` is not
|
|
802
|
+
called from the drawer.
|
|
803
|
+
|
|
804
|
+
### Two icons changed their look
|
|
805
|
+
|
|
806
|
+
`lucide-react` redrew `Calendar` and `CircleCheck` between 1.27 and 1.41 —
|
|
807
|
+
in the kit these are `CalendarIcon` and `SuccessIcon`. The peer dependency range
|
|
808
|
+
(`^1.27.0`) did not change, which means **this will happen even without updating the kit**: any
|
|
809
|
+
consumer whose `lucide-react` resolved to 1.41 will see the new glyphs.
|
|
810
|
+
|
|
811
|
+
No action is required. The line is here because the look of icons is part of the visual
|
|
812
|
+
contract: `icons.ts` decides which glyph represents a meaning, and when the glyph itself
|
|
813
|
+
is redrawn, it is useful to know. The export names stay intact — `tests/icons.test.ts`
|
|
814
|
+
guards that.
|
|
815
|
+
|
|
816
|
+
Along the way, `@playwright/test` brought a newer Chromium, and it renders the `<textarea>`
|
|
817
|
+
resize handle differently. This does not affect the kit at all: the element is rendered
|
|
818
|
+
by the browser. It is mentioned because, together with the icons, it explains all 38
|
|
819
|
+
rewritten showcase snapshots.
|
|
820
|
+
|
|
821
|
+
## 2.1.1 — fixes after the 2.1.0 review
|
|
822
|
+
|
|
823
|
+
Four defects found by the review right after the release. Nothing breaking.
|
|
824
|
+
|
|
825
|
+
**1. `TopBar` lost its background** if the consumer passed their own `style`:
|
|
826
|
+
the attribute was overwritten entirely, and the sticky header with blur showed the scrolling
|
|
827
|
+
content straight through. Now the consumer's `style` supplements the background, and a `background` set
|
|
828
|
+
by them overrides it deliberately.
|
|
829
|
+
|
|
830
|
+
**2. `themeInitScript` did not escape `<`.** A storage key containing `</script>`
|
|
831
|
+
closed the inline tag on the spot. There was no exploitable XSS (the key is set by the
|
|
832
|
+
developer), but the kit generates code for `dangerouslySetInnerHTML`, and protection
|
|
833
|
+
here is on by default.
|
|
834
|
+
|
|
835
|
+
**3. `useAppShell` became public.** Before, `openNavigation` could be read only by the
|
|
836
|
+
kit's `TopBar`, and a consumer with their own header got navigation that **cannot be opened**
|
|
837
|
+
below `md`. If you have your own header, use the hook and render the button;
|
|
838
|
+
there is an example on the [AppShell](../components/app-shell/app-shell.md) page.
|
|
839
|
+
|
|
840
|
+
**4. The class coverage gate** now sees the shell components. Along the way, the dead
|
|
841
|
+
`group` class on `NavItem` is removed — it has no `group-*` variants.
|
|
842
|
+
|
|
843
|
+
## 2.1.0 — the app shell
|
|
844
|
+
|
|
845
|
+
**Nothing breaking.** The wave only adds: `AppShell`, `SideNav`, `NavGroup`,
|
|
846
|
+
`NavItem`, `TopBar`, the theme registry and two width tokens. Existing code
|
|
847
|
+
keeps working with no edits.
|
|
848
|
+
|
|
849
|
+
What to know when upgrading.
|
|
850
|
+
|
|
851
|
+
**1. `--topbar-h` can now be published by the kit.** Before, only the app declared the
|
|
852
|
+
variable. If you put the kit's `TopBar` next to your own header,
|
|
853
|
+
both will start writing to the same variable. Separate them: `heightVar="--my-topbar-h"`
|
|
854
|
+
or `heightVar={null}` on the one that should not publish. An app without the kit's
|
|
855
|
+
`TopBar` is not affected at all.
|
|
856
|
+
|
|
857
|
+
**2. You can stop duplicating the theme lists in your own code.** `UI_THEMES`,
|
|
858
|
+
`UI_ACCENTS`, `UI_BRANDS`, `normalizeTheme`, `applyTheme` and
|
|
859
|
+
`themeInitScript` now come from the kit. Replace your own constants like
|
|
860
|
+
`["light","dark","dim"]` with them: they can no longer diverge from `styles.css` —
|
|
861
|
+
a test guards that.
|
|
862
|
+
|
|
863
|
+
**3. The kit does not provide and will not provide a theme switcher component.** Ready-made code for both
|
|
864
|
+
variants is in the [recipe](../theming.md#переключатель-темы). The decision and its reasons are in
|
|
865
|
+
ADR-0020.
|
|
866
|
+
|
|
867
|
+
**4. Sidebar widths are tokens, not props.** `--sidenav-w` (240px) and
|
|
868
|
+
`--sidenav-w-collapsed` (72px). They change in one place; see
|
|
869
|
+
[theming.md](../theming.md).
|
|
870
|
+
|
|
871
|
+
**5. The `NavigationIcon` icon** is added to `@olddevs/ui/icons` — the header's
|
|
872
|
+
"hamburger".
|
|
873
|
+
|
|
874
|
+
## Pre-release check
|
|
875
|
+
|
|
876
|
+
- Check that the component page and the component catalog are updated according to `AGENTS.md`.
|
|
877
|
+
- `npm run typecheck`, `npm test`, `npm run format:check` — the API and examples do not
|
|
878
|
+
diverge from the package.
|
|
879
|
+
- For changed interaction — Storybook and a targeted a11y/interaction test.
|
|
880
|
+
|
|
881
|
+
## Related sources
|
|
882
|
+
|
|
883
|
+
- The root entry point of the package: `src/index.ts`.
|
|
884
|
+
- Icons: `src/icons.ts`.
|
|
885
|
+
- The catalog of component pages: `docs/components/index.md`.
|