pixelize-native-library 1.0.7 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/core/MODULE.md +129 -36
- package/lib/module/core/a11y/MODULE.md +127 -4
- package/lib/module/core/a11y/announce.js +30 -0
- package/lib/module/core/a11y/announce.web.js +134 -0
- package/lib/module/core/a11y/index.js +81 -15
- package/lib/module/core/a11y/keyboard.js +42 -0
- package/lib/module/core/a11y/keyboard.web.js +229 -0
- package/lib/module/core/a11y/labels.js +24 -0
- package/lib/module/core/device/MODULE.md +47 -0
- package/lib/module/core/device/index.js +91 -0
- package/lib/module/core/heading/MODULE.md +38 -0
- package/lib/module/core/heading/index.js +45 -0
- package/lib/module/core/icon/Icon.js +37 -0
- package/lib/module/core/icon/MODULE.md +42 -8
- package/lib/module/core/icon/icons/arrow-down.js +10 -0
- package/lib/module/core/icon/icons/arrow-left.js +10 -0
- package/lib/module/core/icon/icons/arrow-right.js +10 -0
- package/lib/module/core/icon/icons/arrow-up.js +10 -0
- package/lib/module/core/icon/icons/at-sign.js +10 -0
- package/lib/module/core/icon/icons/bell.js +10 -0
- package/lib/module/core/icon/icons/bold.js +10 -0
- package/lib/module/core/icon/icons/building-2.js +10 -0
- package/lib/module/core/icon/icons/calendar.js +10 -0
- package/lib/module/core/icon/icons/chart-column.js +10 -0
- package/lib/module/core/icon/icons/check.js +10 -0
- package/lib/module/core/icon/icons/chevron-down.js +10 -0
- package/lib/module/core/icon/icons/chevron-left.js +10 -0
- package/lib/module/core/icon/icons/chevron-right.js +10 -0
- package/lib/module/core/icon/icons/chevron-up.js +10 -0
- package/lib/module/core/icon/icons/chevrons-left.js +10 -0
- package/lib/module/core/icon/icons/chevrons-right.js +10 -0
- package/lib/module/core/icon/icons/chevrons-up-down.js +10 -0
- package/lib/module/core/icon/icons/circle-alert.js +10 -0
- package/lib/module/core/icon/icons/circle-check.js +10 -0
- package/lib/module/core/icon/icons/clock.js +10 -0
- package/lib/module/core/icon/icons/code.js +10 -0
- package/lib/module/core/icon/icons/download.js +10 -0
- package/lib/module/core/icon/icons/external-link.js +10 -0
- package/lib/module/core/icon/icons/eye.js +10 -0
- package/lib/module/core/icon/icons/file-text.js +10 -0
- package/lib/module/core/icon/icons/filter.js +10 -0
- package/lib/module/core/icon/icons/flag.js +10 -0
- package/lib/module/core/icon/icons/folder.js +10 -0
- package/lib/module/core/icon/icons/heading-1.js +10 -0
- package/lib/module/core/icon/icons/heading-2.js +10 -0
- package/lib/module/core/icon/icons/heading-3.js +10 -0
- package/lib/module/core/icon/icons/image.js +10 -0
- package/lib/module/core/icon/icons/inbox.js +10 -0
- package/lib/module/core/icon/icons/info.js +10 -0
- package/lib/module/core/icon/icons/italic.js +10 -0
- package/lib/module/core/icon/icons/kanban.js +10 -0
- package/lib/module/core/icon/icons/layers.js +10 -0
- package/lib/module/core/icon/icons/layout-dashboard.js +10 -0
- package/lib/module/core/icon/icons/layout-template.js +10 -0
- package/lib/module/core/icon/icons/life-buoy.js +10 -0
- package/lib/module/core/icon/icons/link.js +10 -0
- package/lib/module/core/icon/icons/list-checks.js +10 -0
- package/lib/module/core/icon/icons/list-ordered.js +10 -0
- package/lib/module/core/icon/icons/list-todo.js +10 -0
- package/lib/module/core/icon/icons/list.js +10 -0
- package/lib/module/core/icon/icons/log-out.js +10 -0
- package/lib/module/core/icon/icons/map.js +10 -0
- package/lib/module/core/icon/icons/message-square.js +10 -0
- package/lib/module/core/icon/icons/milestone.js +10 -0
- package/lib/module/core/icon/icons/minus.js +10 -0
- package/lib/module/core/icon/icons/more-horizontal.js +10 -0
- package/lib/module/core/icon/icons/paperclip.js +10 -0
- package/lib/module/core/icon/icons/pencil.js +10 -0
- package/lib/module/core/icon/icons/plus.js +10 -0
- package/lib/module/core/icon/icons/quote.js +10 -0
- package/lib/module/core/icon/icons/refresh-cw.js +10 -0
- package/lib/module/core/icon/icons/save.js +10 -0
- package/lib/module/core/icon/icons/search.js +10 -0
- package/lib/module/core/icon/icons/send.js +10 -0
- package/lib/module/core/icon/icons/settings.js +10 -0
- package/lib/module/core/icon/icons/share.js +10 -0
- package/lib/module/core/icon/icons/square-code.js +10 -0
- package/lib/module/core/icon/icons/star.js +10 -0
- package/lib/module/core/icon/icons/strikethrough.js +10 -0
- package/lib/module/core/icon/icons/tag.js +10 -0
- package/lib/module/core/icon/icons/trash.js +10 -0
- package/lib/module/core/icon/icons/triangle-alert.js +10 -0
- package/lib/module/core/icon/icons/underline.js +10 -0
- package/lib/module/core/icon/icons/upload.js +10 -0
- package/lib/module/core/icon/icons/user.js +10 -0
- package/lib/module/core/icon/icons/users.js +10 -0
- package/lib/module/core/icon/icons/x.js +10 -0
- package/lib/module/core/icon/index.js +4 -153
- package/lib/module/core/icon/names.js +2 -0
- package/lib/module/core/icon/resolve.js +158 -0
- package/lib/module/core/icon/types.js +4 -0
- package/lib/module/core/list/VirtualList.js +226 -0
- package/lib/module/core/list/index.js +4 -0
- package/lib/module/core/media/MediaImage.js +51 -0
- package/lib/module/core/media/expoImage.js +20 -0
- package/lib/module/core/media/index.js +6 -0
- package/lib/module/core/media/pickers.js +23 -0
- package/lib/module/core/motion/MODULE.md +101 -0
- package/lib/module/core/motion/config.js +112 -0
- package/lib/module/core/motion/index.js +7 -0
- package/lib/module/core/motion/presets.js +192 -0
- package/lib/module/core/motion/useAnimatedValue.js +19 -0
- package/lib/module/core/motion/useMotion.js +46 -0
- package/lib/module/core/style/index.js +2 -0
- package/lib/module/core/style/sx.js +76 -0
- package/lib/module/core/style/useThemedStyles.js +8 -0
- package/lib/module/index.js +70 -2
- package/lib/module/modules/accordion/Accordion.js +256 -87
- package/lib/module/modules/accordion/Accordion.variants.js +2 -4
- package/lib/module/modules/accordion/MODULE.md +35 -11
- package/lib/module/modules/alert-dialog/AlertDialog.js +1 -1
- package/lib/module/modules/alert-dialog/MODULE.md +11 -2
- package/lib/module/modules/app-bar/AppBar.js +179 -0
- package/lib/module/modules/app-bar/AppBar.variants.js +72 -0
- package/lib/module/modules/app-bar/MODULE.md +68 -0
- package/lib/module/modules/app-bar/index.js +10 -0
- package/lib/module/modules/avatar/Avatar.js +38 -18
- package/lib/module/modules/avatar/Avatar.variants.js +44 -3
- package/lib/module/modules/avatar/MODULE.md +37 -15
- package/lib/module/modules/avatar-group/AvatarGroup.js +77 -0
- package/lib/module/modules/avatar-group/AvatarGroup.variants.js +109 -0
- package/lib/module/modules/avatar-group/MODULE.md +28 -0
- package/lib/module/modules/avatar-group/index.js +10 -0
- package/lib/module/modules/badge/Badge.js +3 -2
- package/lib/module/modules/badge/Badge.variants.js +12 -2
- package/lib/module/modules/badge/MODULE.md +6 -0
- package/lib/module/modules/banner/Banner.js +135 -0
- package/lib/module/modules/banner/Banner.variants.js +118 -0
- package/lib/module/modules/banner/MODULE.md +113 -0
- package/lib/module/modules/banner/index.js +4 -0
- package/lib/module/modules/bottom-nav/BottomNav.js +37 -126
- package/lib/module/modules/bottom-nav/BottomNav.variants.js +28 -9
- package/lib/module/modules/bottom-nav/BottomNavIconWithBadge.js +56 -8
- package/lib/module/modules/bottom-nav/BottomNavOverflowSheet.js +133 -114
- package/lib/module/modules/bottom-nav/BottomNavTab.js +138 -0
- package/lib/module/modules/bottom-nav/MODULE.md +21 -6
- package/lib/module/modules/bottom-sheet/BottomSheet.js +189 -0
- package/lib/module/modules/bottom-sheet/BottomSheet.variants.js +49 -0
- package/lib/module/modules/bottom-sheet/MODULE.md +53 -0
- package/lib/module/modules/bottom-sheet/index.js +4 -0
- package/lib/module/modules/button/Button.js +98 -47
- package/lib/module/modules/button/Button.variants.js +12 -7
- package/lib/module/modules/button/MODULE.md +25 -3
- package/lib/module/modules/button-group/ButtonGroup.js +163 -55
- package/lib/module/modules/button-group/ButtonGroup.variants.js +30 -4
- package/lib/module/modules/button-group/MODULE.md +33 -7
- package/lib/module/modules/card/Card.js +10 -7
- package/lib/module/modules/card/MODULE.md +6 -0
- package/lib/module/modules/charts/BarChart.js +242 -0
- package/lib/module/modules/charts/BarList.js +98 -48
- package/lib/module/modules/charts/ChartLegend.js +154 -0
- package/lib/module/modules/charts/Charts.variants.js +524 -1
- package/lib/module/modules/charts/DonutChart.js +100 -65
- package/lib/module/modules/charts/LineChart.js +179 -0
- package/lib/module/modules/charts/MODULE.md +148 -22
- package/lib/module/modules/charts/PieChart.js +140 -0
- package/lib/module/modules/charts/Sparkline.js +5 -4
- package/lib/module/modules/charts/index.js +3 -0
- package/lib/module/modules/checkbox/Checkbox.js +114 -44
- package/lib/module/modules/checkbox/Checkbox.variants.js +13 -8
- package/lib/module/modules/checkbox/MODULE.md +35 -8
- package/lib/module/modules/chip/Chip.js +155 -0
- package/lib/module/modules/chip/Chip.variants.js +278 -0
- package/lib/module/modules/chip/ChipGroup.js +48 -0
- package/lib/module/modules/chip/MODULE.md +156 -0
- package/lib/module/modules/chip/index.js +13 -0
- package/lib/module/modules/combobox/Combobox.js +587 -0
- package/lib/module/modules/combobox/Combobox.variants.js +280 -0
- package/lib/module/modules/combobox/MODULE.md +183 -0
- package/lib/module/modules/combobox/comboboxKeys.js +19 -0
- package/lib/module/modules/combobox/comboboxKeys.web.js +76 -0
- package/lib/module/modules/combobox/index.js +13 -0
- package/lib/module/modules/composer/Composer.js +156 -0
- package/lib/module/modules/composer/Composer.variants.js +42 -0
- package/lib/module/modules/composer/MODULE.md +70 -0
- package/lib/module/modules/composer/index.js +4 -0
- package/lib/module/modules/copy-button/CopyButton.js +156 -0
- package/lib/module/modules/copy-button/CopyButton.variants.js +86 -0
- package/lib/module/modules/copy-button/MODULE.md +73 -0
- package/lib/module/modules/copy-button/index.js +4 -0
- package/lib/module/modules/data-table/DataTable.js +513 -0
- package/lib/module/modules/data-table/DataTable.variants.js +188 -0
- package/lib/module/modules/data-table/MODULE.md +145 -0
- package/lib/module/modules/data-table/index.js +10 -0
- package/lib/module/modules/date-picker/Calendar.js +368 -0
- package/lib/module/modules/date-picker/Calendar.keys.js +23 -0
- package/lib/module/modules/date-picker/Calendar.keys.web.js +83 -0
- package/lib/module/modules/date-picker/DatePicker.js +162 -0
- package/lib/module/modules/date-picker/DatePicker.variants.js +686 -0
- package/lib/module/modules/date-picker/DateRangePicker.js +87 -0
- package/lib/module/modules/date-picker/MODULE.md +169 -0
- package/lib/module/modules/date-picker/PickerField.js +142 -0
- package/lib/module/modules/date-picker/PickerShell.js +132 -0
- package/lib/module/modules/date-picker/TimePicker.js +184 -0
- package/lib/module/modules/date-picker/index.js +14 -0
- package/lib/module/modules/divider/Divider.js +8 -7
- package/lib/module/modules/divider/MODULE.md +6 -0
- package/lib/module/modules/drawer/Drawer.js +140 -58
- package/lib/module/modules/drawer/Drawer.variants.js +3 -16
- package/lib/module/modules/drawer/MODULE.md +90 -118
- package/lib/module/modules/empty-state/EmptyState.js +32 -18
- package/lib/module/modules/empty-state/EmptyState.variants.js +9 -0
- package/lib/module/modules/empty-state/MODULE.md +25 -7
- package/lib/module/modules/fab/Fab.js +212 -0
- package/lib/module/modules/fab/Fab.variants.js +346 -0
- package/lib/module/modules/fab/FabGroup.js +334 -0
- package/lib/module/modules/fab/MODULE.md +181 -0
- package/lib/module/modules/fab/index.js +13 -0
- package/lib/module/modules/file-grid/FileGrid.js +149 -0
- package/lib/module/modules/file-grid/FileGrid.variants.js +51 -0
- package/lib/module/modules/file-grid/MODULE.md +12 -0
- package/lib/module/modules/file-grid/index.js +4 -0
- package/lib/module/modules/file-upload/FileUpload.js +124 -34
- package/lib/module/modules/file-upload/FileUpload.variants.js +50 -7
- package/lib/module/modules/file-upload/MODULE.md +22 -4
- package/lib/module/modules/filter-sheet/FilterChip.js +25 -19
- package/lib/module/modules/filter-sheet/FilterSheet.js +17 -11
- package/lib/module/modules/filter-sheet/FilterSheet.variants.js +24 -5
- package/lib/module/modules/filter-sheet/FilterSheetBody.js +168 -82
- package/lib/module/modules/filter-sheet/MODULE.md +22 -1
- package/lib/module/modules/folder-row/FolderRow.js +132 -0
- package/lib/module/modules/folder-row/FolderRow.variants.js +49 -0
- package/lib/module/modules/folder-row/MODULE.md +71 -0
- package/lib/module/modules/folder-row/index.js +4 -0
- package/lib/module/modules/form-field/FormField.js +104 -0
- package/lib/module/modules/form-field/FormField.variants.js +88 -0
- package/lib/module/modules/form-field/MODULE.md +103 -0
- package/lib/module/modules/form-field/index.js +4 -0
- package/lib/module/modules/gantt/Gantt.js +218 -0
- package/lib/module/modules/gantt/Gantt.variants.js +141 -0
- package/lib/module/modules/gantt/MODULE.md +71 -0
- package/lib/module/modules/gantt/index.js +5 -0
- package/lib/module/modules/image-viewer/ImageViewer.js +235 -0
- package/lib/module/modules/image-viewer/ImageViewer.variants.js +6 -0
- package/lib/module/modules/image-viewer/MODULE.md +57 -0
- package/lib/module/modules/image-viewer/index.js +4 -0
- package/lib/module/modules/input/Input.js +106 -48
- package/lib/module/modules/input/Input.variants.js +18 -4
- package/lib/module/modules/input/MODULE.md +36 -6
- package/lib/module/modules/limit-reached-modal/LimitReachedModal.js +90 -0
- package/lib/module/modules/limit-reached-modal/LimitReachedModal.variants.js +108 -0
- package/lib/module/modules/limit-reached-modal/MODULE.md +94 -0
- package/lib/module/modules/limit-reached-modal/index.js +11 -0
- package/lib/module/modules/list-item/ListItem.js +45 -28
- package/lib/module/modules/list-item/MODULE.md +6 -0
- package/lib/module/modules/markdown/MODULE.md +32 -5
- package/lib/module/modules/markdown/Markdown.js +54 -20
- package/lib/module/modules/markdown/Markdown.variants.js +6 -1
- package/lib/module/modules/markdown/parseMarkdown.js +3 -3
- package/lib/module/modules/menu/MODULE.md +45 -14
- package/lib/module/modules/menu/Menu.js +174 -65
- package/lib/module/modules/menu/Menu.variants.js +10 -0
- package/lib/module/modules/message-bubble/MODULE.md +38 -0
- package/lib/module/modules/message-bubble/MessageBubble.js +55 -0
- package/lib/module/modules/message-bubble/MessageBubble.variants.js +57 -0
- package/lib/module/modules/message-bubble/index.js +4 -0
- package/lib/module/modules/modal/MODULE.md +29 -3
- package/lib/module/modules/modal/Modal.js +72 -22
- package/lib/module/modules/more-items/MODULE.md +72 -0
- package/lib/module/modules/more-items/MoreItems.js +162 -0
- package/lib/module/modules/more-items/MoreItems.variants.js +80 -0
- package/lib/module/modules/more-items/index.js +4 -0
- package/lib/module/modules/multi-select/MODULE.md +84 -18
- package/lib/module/modules/multi-select/MultiSelect.js +217 -105
- package/lib/module/modules/multi-select/MultiSelect.variants.js +28 -5
- package/lib/module/modules/number-input/MODULE.md +39 -5
- package/lib/module/modules/number-input/NumberInput.js +41 -11
- package/lib/module/modules/number-input/NumberInput.variants.js +39 -5
- package/lib/module/modules/org-switcher/MODULE.md +121 -0
- package/lib/module/modules/org-switcher/OrgSwitcher.js +284 -0
- package/lib/module/modules/org-switcher/OrgSwitcher.variants.js +186 -0
- package/lib/module/modules/org-switcher/index.js +9 -0
- package/lib/module/modules/pagination/MODULE.md +163 -0
- package/lib/module/modules/pagination/Pagination.js +197 -0
- package/lib/module/modules/pagination/Pagination.variants.js +307 -0
- package/lib/module/modules/pagination/PaginationControls.js +193 -0
- package/lib/module/modules/pagination/index.js +15 -0
- package/lib/module/modules/pin-input/MODULE.md +29 -14
- package/lib/module/modules/pin-input/PinInput.js +111 -80
- package/lib/module/modules/pin-input/PinInput.variants.js +13 -5
- package/lib/module/modules/progress-bar/MODULE.md +17 -7
- package/lib/module/modules/progress-bar/ProgressBar.js +97 -56
- package/lib/module/modules/progress-bar/ProgressBar.variants.js +16 -18
- package/lib/module/modules/radio-group/MODULE.md +40 -14
- package/lib/module/modules/radio-group/RadioGroup.js +71 -7
- package/lib/module/modules/radio-group/RadioGroup.variants.js +46 -10
- package/lib/module/modules/reorder/MODULE.md +104 -97
- package/lib/module/modules/reorder/Reorder.js +233 -197
- package/lib/module/modules/reorder/Reorder.variants.js +35 -13
- package/lib/module/modules/rich-text/MODULE.md +52 -0
- package/lib/module/modules/rich-text/RichText.js +362 -0
- package/lib/module/modules/rich-text/RichText.variants.js +17 -0
- package/lib/module/modules/rich-text/index.js +5 -0
- package/lib/module/modules/rich-text/parseRichText.js +133 -0
- package/lib/module/modules/rich-text-editor/MODULE.md +225 -0
- package/lib/module/modules/rich-text-editor/RichTextEditor.js +413 -0
- package/lib/module/modules/rich-text-editor/RichTextEditor.variants.js +316 -0
- package/lib/module/modules/rich-text-editor/index.js +10 -0
- package/lib/module/modules/screen/MODULE.md +57 -0
- package/lib/module/modules/screen/Screen.js +106 -0
- package/lib/module/modules/screen/Screen.variants.js +43 -0
- package/lib/module/modules/screen/index.js +10 -0
- package/lib/module/modules/search-bar/MODULE.md +114 -0
- package/lib/module/modules/search-bar/SearchBar.js +256 -0
- package/lib/module/modules/search-bar/SearchBar.variants.js +205 -0
- package/lib/module/modules/search-bar/index.js +12 -0
- package/lib/module/modules/section/MODULE.md +39 -0
- package/lib/module/modules/section/Section.js +42 -0
- package/lib/module/modules/section/Section.variants.js +29 -0
- package/lib/module/modules/section/index.js +10 -0
- package/lib/module/modules/section-list/MODULE.md +18 -0
- package/lib/module/modules/section-list/SectionList.js +64 -0
- package/lib/module/modules/section-list/SectionList.variants.js +11 -0
- package/lib/module/modules/section-list/index.js +4 -0
- package/lib/module/modules/segmented-control/MODULE.md +124 -0
- package/lib/module/modules/segmented-control/SegmentedControl.js +158 -0
- package/lib/module/modules/segmented-control/SegmentedControl.variants.js +167 -0
- package/lib/module/modules/segmented-control/index.js +13 -0
- package/lib/module/modules/select/MODULE.md +81 -14
- package/lib/module/modules/select/Select.js +196 -94
- package/lib/module/modules/select/Select.variants.js +28 -5
- package/lib/module/modules/skeleton/MODULE.md +27 -7
- package/lib/module/modules/skeleton/Skeleton.js +52 -38
- package/lib/module/modules/skeleton/Skeleton.variants.js +9 -8
- package/lib/module/modules/slider/MODULE.md +31 -5
- package/lib/module/modules/slider/Slider.js +67 -10
- package/lib/module/modules/slider/Slider.variants.js +60 -13
- package/lib/module/modules/spinner/MODULE.md +16 -6
- package/lib/module/modules/spinner/Spinner.js +20 -16
- package/lib/module/modules/spinner/Spinner.variants.js +5 -3
- package/lib/module/modules/stage-progress/MODULE.md +64 -0
- package/lib/module/modules/stage-progress/StageProgress.js +174 -0
- package/lib/module/modules/stage-progress/StageProgress.variants.js +164 -0
- package/lib/module/modules/stage-progress/index.js +4 -0
- package/lib/module/modules/stat-tile/MODULE.md +9 -2
- package/lib/module/modules/stat-tile/StatTile.js +70 -33
- package/lib/module/modules/stat-tile/StatTile.variants.js +6 -4
- package/lib/module/modules/state-block/MODULE.md +52 -0
- package/lib/module/modules/state-block/StateBlock.js +131 -0
- package/lib/module/modules/state-block/StateBlock.variants.js +55 -0
- package/lib/module/modules/state-block/index.js +10 -0
- package/lib/module/modules/stepper/MODULE.md +33 -6
- package/lib/module/modules/stepper/Stepper.js +108 -39
- package/lib/module/modules/stepper/Stepper.variants.js +6 -6
- package/lib/module/modules/swipeable-row/MODULE.md +120 -0
- package/lib/module/modules/swipeable-row/SwipeableRow.js +244 -0
- package/lib/module/modules/swipeable-row/SwipeableRow.variants.js +80 -0
- package/lib/module/modules/swipeable-row/index.js +4 -0
- package/lib/module/modules/switch/MODULE.md +14 -0
- package/lib/module/modules/switch/Switch.js +1 -1
- package/lib/module/modules/switch/Switch.variants.js +8 -0
- package/lib/module/modules/tabs/MODULE.md +47 -13
- package/lib/module/modules/tabs/Tabs.js +121 -72
- package/lib/module/modules/tabs/Tabs.variants.js +30 -8
- package/lib/module/modules/text/MODULE.md +51 -0
- package/lib/module/modules/text/Text.js +47 -0
- package/lib/module/modules/text/Text.variants.js +98 -0
- package/lib/module/modules/text/index.js +4 -0
- package/lib/module/modules/textarea/MODULE.md +29 -13
- package/lib/module/modules/textarea/Textarea.js +90 -45
- package/lib/module/modules/textarea/Textarea.variants.js +14 -9
- package/lib/module/modules/timeline/MODULE.md +39 -7
- package/lib/module/modules/timeline/Timeline.js +151 -77
- package/lib/module/modules/timeline/Timeline.variants.js +13 -0
- package/lib/module/modules/toast/MODULE.md +66 -7
- package/lib/module/modules/toast/Toast.js +93 -27
- package/lib/module/modules/toast/Toast.variants.js +37 -1
- package/lib/module/modules/toast/toastScreenReader.js +69 -0
- package/lib/module/modules/tooltip/MODULE.md +78 -28
- package/lib/module/modules/tooltip/Tooltip.js +93 -43
- package/lib/module/modules/tooltip/Tooltip.variants.js +3 -4
- package/lib/module/modules/typing-indicator/MODULE.md +48 -0
- package/lib/module/modules/typing-indicator/TypingIndicator.js +98 -0
- package/lib/module/modules/typing-indicator/TypingIndicator.variants.js +55 -0
- package/lib/module/modules/typing-indicator/index.js +4 -0
- package/lib/module/modules/unread-badge/MODULE.md +20 -0
- package/lib/module/modules/unread-badge/UnreadBadge.js +45 -0
- package/lib/module/modules/unread-badge/UnreadBadge.variants.js +66 -0
- package/lib/module/modules/unread-badge/index.js +4 -0
- package/lib/module/test/mocks/flashList.js +5 -0
- package/lib/module/test/perfHelpers.js +18 -0
- package/lib/module/theme/MODULE.md +6 -0
- package/lib/module/theme/hooks.js +11 -0
- package/lib/module/theme/index.js +3 -6
- package/lib/module/theme/platform/MODULE.md +6 -0
- package/lib/module/theme/platform/motion.native.js +15 -0
- package/lib/module/theme/provider/PixelizeProvider.js +9 -47
- package/lib/module/theme/provider/ThemeContext.js +6 -0
- package/lib/module/theme/provider/colorModeStorage.js +2 -2
- package/lib/module/theme/provider/index.js +1 -0
- package/lib/module/theme/provider/loadPalette.js +75 -0
- package/lib/module/theme/provider/types.js +4 -0
- package/lib/module/theme/provider/useTheme.js +1 -2
- package/lib/module/theme/provider/useThemeMode.js +1 -1
- package/lib/module/theme/tokens/roles/index.js +9 -3
- package/lib/typescript/core/a11y/announce.d.ts +20 -0
- package/lib/typescript/core/a11y/announce.web.d.ts +27 -0
- package/lib/typescript/core/a11y/index.d.ts +21 -2
- package/lib/typescript/core/a11y/keyboard.d.ts +45 -0
- package/lib/typescript/core/a11y/keyboard.web.d.ts +69 -0
- package/lib/typescript/core/a11y/labels.d.ts +19 -0
- package/lib/typescript/core/device/index.d.ts +16 -0
- package/lib/typescript/core/heading/index.d.ts +45 -0
- package/lib/typescript/core/icon/Icon.d.ts +18 -0
- package/lib/typescript/core/icon/icons/arrow-down.d.ts +3 -0
- package/lib/typescript/core/icon/icons/arrow-left.d.ts +3 -0
- package/lib/typescript/core/icon/icons/arrow-right.d.ts +3 -0
- package/lib/typescript/core/icon/icons/arrow-up.d.ts +3 -0
- package/lib/typescript/core/icon/icons/at-sign.d.ts +3 -0
- package/lib/typescript/core/icon/icons/bell.d.ts +3 -0
- package/lib/typescript/core/icon/icons/bold.d.ts +3 -0
- package/lib/typescript/core/icon/icons/building-2.d.ts +3 -0
- package/lib/typescript/core/icon/icons/calendar.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chart-column.d.ts +3 -0
- package/lib/typescript/core/icon/icons/check.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevron-down.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevron-left.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevron-right.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevron-up.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevrons-left.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevrons-right.d.ts +3 -0
- package/lib/typescript/core/icon/icons/chevrons-up-down.d.ts +3 -0
- package/lib/typescript/core/icon/icons/circle-alert.d.ts +3 -0
- package/lib/typescript/core/icon/icons/circle-check.d.ts +3 -0
- package/lib/typescript/core/icon/icons/clock.d.ts +3 -0
- package/lib/typescript/core/icon/icons/code.d.ts +3 -0
- package/lib/typescript/core/icon/icons/download.d.ts +3 -0
- package/lib/typescript/core/icon/icons/external-link.d.ts +3 -0
- package/lib/typescript/core/icon/icons/eye.d.ts +3 -0
- package/lib/typescript/core/icon/icons/file-text.d.ts +3 -0
- package/lib/typescript/core/icon/icons/filter.d.ts +3 -0
- package/lib/typescript/core/icon/icons/flag.d.ts +3 -0
- package/lib/typescript/core/icon/icons/folder.d.ts +3 -0
- package/lib/typescript/core/icon/icons/heading-1.d.ts +3 -0
- package/lib/typescript/core/icon/icons/heading-2.d.ts +3 -0
- package/lib/typescript/core/icon/icons/heading-3.d.ts +3 -0
- package/lib/typescript/core/icon/icons/image.d.ts +3 -0
- package/lib/typescript/core/icon/icons/inbox.d.ts +3 -0
- package/lib/typescript/core/icon/icons/info.d.ts +3 -0
- package/lib/typescript/core/icon/icons/italic.d.ts +3 -0
- package/lib/typescript/core/icon/icons/kanban.d.ts +3 -0
- package/lib/typescript/core/icon/icons/layers.d.ts +3 -0
- package/lib/typescript/core/icon/icons/layout-dashboard.d.ts +3 -0
- package/lib/typescript/core/icon/icons/layout-template.d.ts +3 -0
- package/lib/typescript/core/icon/icons/life-buoy.d.ts +3 -0
- package/lib/typescript/core/icon/icons/link.d.ts +3 -0
- package/lib/typescript/core/icon/icons/list-checks.d.ts +3 -0
- package/lib/typescript/core/icon/icons/list-ordered.d.ts +3 -0
- package/lib/typescript/core/icon/icons/list-todo.d.ts +3 -0
- package/lib/typescript/core/icon/icons/list.d.ts +3 -0
- package/lib/typescript/core/icon/icons/log-out.d.ts +3 -0
- package/lib/typescript/core/icon/icons/map.d.ts +3 -0
- package/lib/typescript/core/icon/icons/message-square.d.ts +3 -0
- package/lib/typescript/core/icon/icons/milestone.d.ts +3 -0
- package/lib/typescript/core/icon/icons/minus.d.ts +3 -0
- package/lib/typescript/core/icon/icons/more-horizontal.d.ts +3 -0
- package/lib/typescript/core/icon/icons/paperclip.d.ts +3 -0
- package/lib/typescript/core/icon/icons/pencil.d.ts +3 -0
- package/lib/typescript/core/icon/icons/plus.d.ts +3 -0
- package/lib/typescript/core/icon/icons/quote.d.ts +3 -0
- package/lib/typescript/core/icon/icons/refresh-cw.d.ts +3 -0
- package/lib/typescript/core/icon/icons/save.d.ts +3 -0
- package/lib/typescript/core/icon/icons/search.d.ts +3 -0
- package/lib/typescript/core/icon/icons/send.d.ts +3 -0
- package/lib/typescript/core/icon/icons/settings.d.ts +3 -0
- package/lib/typescript/core/icon/icons/share.d.ts +3 -0
- package/lib/typescript/core/icon/icons/square-code.d.ts +3 -0
- package/lib/typescript/core/icon/icons/star.d.ts +3 -0
- package/lib/typescript/core/icon/icons/strikethrough.d.ts +3 -0
- package/lib/typescript/core/icon/icons/tag.d.ts +3 -0
- package/lib/typescript/core/icon/icons/trash.d.ts +3 -0
- package/lib/typescript/core/icon/icons/triangle-alert.d.ts +3 -0
- package/lib/typescript/core/icon/icons/underline.d.ts +3 -0
- package/lib/typescript/core/icon/icons/upload.d.ts +3 -0
- package/lib/typescript/core/icon/icons/user.d.ts +3 -0
- package/lib/typescript/core/icon/icons/users.d.ts +3 -0
- package/lib/typescript/core/icon/icons/x.d.ts +3 -0
- package/lib/typescript/core/icon/index.d.ts +6 -94
- package/lib/typescript/core/icon/names.d.ts +2 -0
- package/lib/typescript/core/icon/resolve.d.ts +4 -0
- package/lib/typescript/core/icon/types.d.ts +13 -0
- package/lib/typescript/core/list/VirtualList.d.ts +55 -0
- package/lib/typescript/core/list/index.d.ts +3 -0
- package/lib/typescript/core/media/MediaImage.d.ts +28 -0
- package/lib/typescript/core/media/expoImage.d.ts +14 -0
- package/lib/typescript/core/media/index.d.ts +7 -0
- package/lib/typescript/core/media/pickers.d.ts +27 -0
- package/lib/typescript/core/motion/config.d.ts +56 -0
- package/lib/typescript/core/motion/index.d.ts +8 -0
- package/lib/typescript/core/motion/presets.d.ts +49 -0
- package/lib/typescript/core/motion/useAnimatedValue.d.ts +11 -0
- package/lib/typescript/core/motion/useMotion.d.ts +34 -0
- package/lib/typescript/core/style/index.d.ts +3 -0
- package/lib/typescript/core/style/sx.d.ts +86 -0
- package/lib/typescript/core/style/useThemedStyles.d.ts +5 -0
- package/lib/typescript/index.d.ts +134 -2
- package/lib/typescript/modules/accordion/Accordion.d.ts +12 -23
- package/lib/typescript/modules/accordion/Accordion.variants.d.ts +5 -5
- package/lib/typescript/modules/alert-dialog/AlertDialog.variants.d.ts +1 -1
- package/lib/typescript/modules/app-bar/AppBar.d.ts +37 -0
- package/lib/typescript/modules/app-bar/AppBar.variants.d.ts +35 -0
- package/lib/typescript/modules/app-bar/index.d.ts +9 -0
- package/lib/typescript/modules/avatar/Avatar.d.ts +23 -3
- package/lib/typescript/modules/avatar/Avatar.variants.d.ts +32 -1
- package/lib/typescript/modules/avatar/index.d.ts +1 -1
- package/lib/typescript/modules/avatar-group/AvatarGroup.d.ts +28 -0
- package/lib/typescript/modules/avatar-group/AvatarGroup.variants.d.ts +75 -0
- package/lib/typescript/modules/avatar-group/index.d.ts +9 -0
- package/lib/typescript/modules/badge/Badge.d.ts +3 -1
- package/lib/typescript/modules/badge/Badge.variants.d.ts +8 -4
- package/lib/typescript/modules/banner/Banner.d.ts +35 -0
- package/lib/typescript/modules/banner/Banner.variants.d.ts +49 -0
- package/lib/typescript/modules/banner/index.d.ts +5 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.d.ts +9 -8
- package/lib/typescript/modules/bottom-nav/BottomNav.variants.d.ts +22 -9
- package/lib/typescript/modules/bottom-nav/BottomNavTab.d.ts +34 -0
- package/lib/typescript/modules/bottom-sheet/BottomSheet.d.ts +29 -0
- package/lib/typescript/modules/bottom-sheet/BottomSheet.variants.d.ts +13 -0
- package/lib/typescript/modules/bottom-sheet/index.d.ts +3 -0
- package/lib/typescript/modules/button/Button.d.ts +21 -0
- package/lib/typescript/modules/button/Button.variants.d.ts +22 -9
- package/lib/typescript/modules/button-group/ButtonGroup.d.ts +4 -2
- package/lib/typescript/modules/button-group/ButtonGroup.variants.d.ts +18 -5
- package/lib/typescript/modules/card/Card.variants.d.ts +2 -2
- package/lib/typescript/modules/charts/BarChart.d.ts +26 -0
- package/lib/typescript/modules/charts/ChartLegend.d.ts +16 -0
- package/lib/typescript/modules/charts/Charts.variants.d.ts +201 -2
- package/lib/typescript/modules/charts/DonutChart.d.ts +3 -0
- package/lib/typescript/modules/charts/LineChart.d.ts +30 -0
- package/lib/typescript/modules/charts/PieChart.d.ts +18 -0
- package/lib/typescript/modules/charts/index.d.ts +6 -0
- package/lib/typescript/modules/checkbox/Checkbox.d.ts +4 -1
- package/lib/typescript/modules/checkbox/Checkbox.variants.d.ts +14 -9
- package/lib/typescript/modules/chip/Chip.d.ts +38 -0
- package/lib/typescript/modules/chip/Chip.variants.d.ts +198 -0
- package/lib/typescript/modules/chip/ChipGroup.d.ts +22 -0
- package/lib/typescript/modules/chip/index.d.ts +12 -0
- package/lib/typescript/modules/combobox/Combobox.d.ts +81 -0
- package/lib/typescript/modules/combobox/Combobox.variants.d.ts +212 -0
- package/lib/typescript/modules/combobox/comboboxKeys.d.ts +25 -0
- package/lib/typescript/modules/combobox/comboboxKeys.web.d.ts +23 -0
- package/lib/typescript/modules/combobox/index.d.ts +11 -0
- package/lib/typescript/modules/composer/Composer.d.ts +28 -0
- package/lib/typescript/modules/composer/Composer.variants.d.ts +7 -0
- package/lib/typescript/modules/composer/index.d.ts +3 -0
- package/lib/typescript/modules/copy-button/CopyButton.d.ts +21 -0
- package/lib/typescript/modules/copy-button/CopyButton.variants.d.ts +42 -0
- package/lib/typescript/modules/copy-button/index.d.ts +4 -0
- package/lib/typescript/modules/data-table/DataTable.d.ts +44 -0
- package/lib/typescript/modules/data-table/DataTable.variants.d.ts +118 -0
- package/lib/typescript/modules/data-table/index.d.ts +9 -0
- package/lib/typescript/modules/date-picker/Calendar.d.ts +42 -0
- package/lib/typescript/modules/date-picker/Calendar.keys.d.ts +19 -0
- package/lib/typescript/modules/date-picker/Calendar.keys.web.d.ts +35 -0
- package/lib/typescript/modules/date-picker/DatePicker.d.ts +40 -0
- package/lib/typescript/modules/date-picker/DatePicker.variants.d.ts +322 -0
- package/lib/typescript/modules/date-picker/DateRangePicker.d.ts +32 -0
- package/lib/typescript/modules/date-picker/PickerField.d.ts +26 -0
- package/lib/typescript/modules/date-picker/PickerShell.d.ts +29 -0
- package/lib/typescript/modules/date-picker/TimePicker.d.ts +20 -0
- package/lib/typescript/modules/date-picker/index.d.ts +16 -0
- package/lib/typescript/modules/divider/Divider.variants.d.ts +2 -2
- package/lib/typescript/modules/drawer/Drawer.d.ts +2 -1
- package/lib/typescript/modules/drawer/Drawer.variants.d.ts +4 -13
- package/lib/typescript/modules/empty-state/EmptyState.d.ts +7 -4
- package/lib/typescript/modules/empty-state/EmptyState.variants.d.ts +7 -1
- package/lib/typescript/modules/fab/Fab.d.ts +74 -0
- package/lib/typescript/modules/fab/Fab.variants.d.ts +229 -0
- package/lib/typescript/modules/fab/FabGroup.d.ts +66 -0
- package/lib/typescript/modules/fab/index.d.ts +12 -0
- package/lib/typescript/modules/file-grid/FileGrid.d.ts +26 -0
- package/lib/typescript/modules/file-grid/FileGrid.variants.d.ts +26 -0
- package/lib/typescript/modules/file-grid/index.d.ts +4 -0
- package/lib/typescript/modules/file-upload/FileUpload.d.ts +3 -0
- package/lib/typescript/modules/file-upload/FileUpload.variants.d.ts +22 -5
- package/lib/typescript/modules/filter-sheet/FilterSheet.variants.d.ts +30 -5
- package/lib/typescript/modules/filter-sheet/FilterSheetBody.d.ts +13 -8
- package/lib/typescript/modules/folder-row/FolderRow.d.ts +24 -0
- package/lib/typescript/modules/folder-row/FolderRow.variants.d.ts +29 -0
- package/lib/typescript/modules/folder-row/index.d.ts +3 -0
- package/lib/typescript/modules/form-field/FormField.d.ts +29 -0
- package/lib/typescript/modules/form-field/FormField.variants.d.ts +93 -0
- package/lib/typescript/modules/form-field/index.d.ts +4 -0
- package/lib/typescript/modules/gantt/Gantt.d.ts +19 -0
- package/lib/typescript/modules/gantt/Gantt.variants.d.ts +82 -0
- package/lib/typescript/modules/gantt/index.d.ts +5 -0
- package/lib/typescript/modules/image-viewer/ImageViewer.d.ts +27 -0
- package/lib/typescript/modules/image-viewer/ImageViewer.variants.d.ts +3 -0
- package/lib/typescript/modules/image-viewer/index.d.ts +3 -0
- package/lib/typescript/modules/input/Input.d.ts +9 -1
- package/lib/typescript/modules/input/Input.variants.d.ts +26 -6
- package/lib/typescript/modules/limit-reached-modal/LimitReachedModal.d.ts +34 -0
- package/lib/typescript/modules/limit-reached-modal/LimitReachedModal.variants.d.ts +46 -0
- package/lib/typescript/modules/limit-reached-modal/index.d.ts +10 -0
- package/lib/typescript/modules/list-item/ListItem.d.ts +6 -0
- package/lib/typescript/modules/list-item/ListItem.variants.d.ts +1 -1
- package/lib/typescript/modules/markdown/Markdown.d.ts +6 -0
- package/lib/typescript/modules/markdown/Markdown.variants.d.ts +8 -2
- package/lib/typescript/modules/markdown/parseMarkdown.d.ts +3 -2
- package/lib/typescript/modules/menu/Menu.d.ts +8 -18
- package/lib/typescript/modules/menu/Menu.variants.d.ts +8 -1
- package/lib/typescript/modules/message-bubble/MessageBubble.d.ts +25 -0
- package/lib/typescript/modules/message-bubble/MessageBubble.variants.d.ts +31 -0
- package/lib/typescript/modules/message-bubble/index.d.ts +4 -0
- package/lib/typescript/modules/modal/Modal.d.ts +12 -0
- package/lib/typescript/modules/modal/Modal.variants.d.ts +1 -1
- package/lib/typescript/modules/more-items/MoreItems.d.ts +15 -0
- package/lib/typescript/modules/more-items/MoreItems.variants.d.ts +30 -0
- package/lib/typescript/modules/more-items/index.d.ts +4 -0
- package/lib/typescript/modules/multi-select/MultiSelect.d.ts +1 -16
- package/lib/typescript/modules/multi-select/MultiSelect.variants.d.ts +24 -5
- package/lib/typescript/modules/number-input/NumberInput.d.ts +6 -0
- package/lib/typescript/modules/number-input/NumberInput.variants.d.ts +57 -7
- package/lib/typescript/modules/org-switcher/OrgSwitcher.d.ts +44 -0
- package/lib/typescript/modules/org-switcher/OrgSwitcher.variants.d.ts +139 -0
- package/lib/typescript/modules/org-switcher/index.d.ts +8 -0
- package/lib/typescript/modules/pagination/Pagination.d.ts +45 -0
- package/lib/typescript/modules/pagination/Pagination.variants.d.ts +240 -0
- package/lib/typescript/modules/pagination/PaginationControls.d.ts +50 -0
- package/lib/typescript/modules/pagination/index.d.ts +14 -0
- package/lib/typescript/modules/pin-input/PinInput.d.ts +6 -0
- package/lib/typescript/modules/pin-input/PinInput.variants.d.ts +22 -5
- package/lib/typescript/modules/progress-bar/ProgressBar.d.ts +8 -4
- package/lib/typescript/modules/progress-bar/ProgressBar.variants.d.ts +13 -15
- package/lib/typescript/modules/radio-group/RadioGroup.d.ts +6 -0
- package/lib/typescript/modules/radio-group/RadioGroup.variants.d.ts +32 -11
- package/lib/typescript/modules/reorder/Reorder.d.ts +28 -23
- package/lib/typescript/modules/reorder/Reorder.variants.d.ts +25 -9
- package/lib/typescript/modules/rich-text/RichText.d.ts +15 -0
- package/lib/typescript/modules/rich-text/RichText.variants.d.ts +15 -0
- package/lib/typescript/modules/rich-text/index.d.ts +5 -0
- package/lib/typescript/modules/rich-text/parseRichText.d.ts +30 -0
- package/lib/typescript/modules/rich-text-editor/RichTextEditor.d.ts +62 -0
- package/lib/typescript/modules/rich-text-editor/RichTextEditor.variants.d.ts +139 -0
- package/lib/typescript/modules/rich-text-editor/index.d.ts +9 -0
- package/lib/typescript/modules/screen/Screen.d.ts +36 -0
- package/lib/typescript/modules/screen/Screen.variants.d.ts +21 -0
- package/lib/typescript/modules/screen/index.d.ts +9 -0
- package/lib/typescript/modules/search-bar/SearchBar.d.ts +47 -0
- package/lib/typescript/modules/search-bar/SearchBar.variants.d.ts +179 -0
- package/lib/typescript/modules/search-bar/index.d.ts +11 -0
- package/lib/typescript/modules/section/Section.d.ts +17 -0
- package/lib/typescript/modules/section/Section.variants.d.ts +12 -0
- package/lib/typescript/modules/section/index.d.ts +8 -0
- package/lib/typescript/modules/section-list/SectionList.d.ts +26 -0
- package/lib/typescript/modules/section-list/SectionList.variants.d.ts +3 -0
- package/lib/typescript/modules/section-list/index.d.ts +3 -0
- package/lib/typescript/modules/segmented-control/SegmentedControl.d.ts +45 -0
- package/lib/typescript/modules/segmented-control/SegmentedControl.variants.d.ts +143 -0
- package/lib/typescript/modules/segmented-control/index.d.ts +11 -0
- package/lib/typescript/modules/select/Select.d.ts +1 -14
- package/lib/typescript/modules/select/Select.variants.d.ts +24 -5
- package/lib/typescript/modules/skeleton/Skeleton.d.ts +5 -0
- package/lib/typescript/modules/skeleton/Skeleton.variants.d.ts +10 -9
- package/lib/typescript/modules/slider/Slider.variants.d.ts +35 -14
- package/lib/typescript/modules/spinner/Spinner.variants.d.ts +6 -4
- package/lib/typescript/modules/stage-progress/StageProgress.d.ts +18 -0
- package/lib/typescript/modules/stage-progress/StageProgress.variants.d.ts +98 -0
- package/lib/typescript/modules/stage-progress/index.d.ts +4 -0
- package/lib/typescript/modules/stat-tile/StatTile.d.ts +4 -0
- package/lib/typescript/modules/stat-tile/StatTile.variants.d.ts +7 -5
- package/lib/typescript/modules/state-block/StateBlock.d.ts +51 -0
- package/lib/typescript/modules/state-block/StateBlock.variants.d.ts +30 -0
- package/lib/typescript/modules/state-block/index.d.ts +10 -0
- package/lib/typescript/modules/stepper/Stepper.d.ts +4 -0
- package/lib/typescript/modules/stepper/Stepper.variants.d.ts +7 -7
- package/lib/typescript/modules/swipeable-row/SwipeableRow.d.ts +35 -0
- package/lib/typescript/modules/swipeable-row/SwipeableRow.variants.d.ts +27 -0
- package/lib/typescript/modules/swipeable-row/index.d.ts +4 -0
- package/lib/typescript/modules/switch/Switch.variants.d.ts +9 -1
- package/lib/typescript/modules/tabs/Tabs.d.ts +8 -6
- package/lib/typescript/modules/tabs/Tabs.variants.d.ts +20 -7
- package/lib/typescript/modules/text/Text.d.ts +23 -0
- package/lib/typescript/modules/text/Text.variants.d.ts +18 -0
- package/lib/typescript/modules/text/index.d.ts +4 -0
- package/lib/typescript/modules/textarea/Textarea.d.ts +5 -0
- package/lib/typescript/modules/textarea/Textarea.variants.d.ts +15 -8
- package/lib/typescript/modules/timeline/Timeline.d.ts +9 -13
- package/lib/typescript/modules/timeline/Timeline.variants.d.ts +17 -1
- package/lib/typescript/modules/toast/Toast.d.ts +13 -3
- package/lib/typescript/modules/toast/Toast.variants.d.ts +31 -3
- package/lib/typescript/modules/toast/index.d.ts +1 -1
- package/lib/typescript/modules/toast/toastScreenReader.d.ts +22 -0
- package/lib/typescript/modules/tooltip/Tooltip.d.ts +34 -11
- package/lib/typescript/modules/tooltip/Tooltip.variants.d.ts +4 -5
- package/lib/typescript/modules/typing-indicator/TypingIndicator.d.ts +28 -0
- package/lib/typescript/modules/typing-indicator/TypingIndicator.variants.d.ts +32 -0
- package/lib/typescript/modules/typing-indicator/index.d.ts +4 -0
- package/lib/typescript/modules/unread-badge/UnreadBadge.d.ts +15 -0
- package/lib/typescript/modules/unread-badge/UnreadBadge.variants.d.ts +56 -0
- package/lib/typescript/modules/unread-badge/index.d.ts +4 -0
- package/lib/typescript/test/mocks/flashList.d.ts +3 -0
- package/lib/typescript/test/perfHelpers.d.ts +9 -0
- package/lib/typescript/theme/hooks.d.ts +11 -0
- package/lib/typescript/theme/index.d.ts +3 -2
- package/lib/typescript/theme/platform/motion.native.d.ts +15 -0
- package/lib/typescript/theme/provider/PixelizeProvider.d.ts +3 -80
- package/lib/typescript/theme/provider/ThemeContext.d.ts +4 -0
- package/lib/typescript/theme/provider/index.d.ts +2 -1
- package/lib/typescript/theme/provider/loadPalette.d.ts +9 -0
- package/lib/typescript/theme/provider/types.d.ts +41 -0
- package/lib/typescript/theme/provider/useTheme.d.ts +1 -2
- package/lib/typescript/theme/provider/useThemeMode.d.ts +1 -1
- package/lib/typescript/theme/tokens/roles/index.d.ts +7 -0
- package/package.json +193 -19
- package/registry.json +172 -2
- package/lib/module/core/a11y/index.js.map +0 -1
- package/lib/module/core/icon/index.js.map +0 -1
- package/lib/module/core/style/index.js.map +0 -1
- package/lib/module/core/style/layoutStyle.js.map +0 -1
- package/lib/module/core/style/variants.js.map +0 -1
- package/lib/module/index.js.map +0 -1
- package/lib/module/modules/accordion/Accordion.js.map +0 -1
- package/lib/module/modules/accordion/Accordion.variants.js.map +0 -1
- package/lib/module/modules/accordion/index.js.map +0 -1
- package/lib/module/modules/alert-dialog/AlertDialog.js.map +0 -1
- package/lib/module/modules/alert-dialog/AlertDialog.variants.js.map +0 -1
- package/lib/module/modules/alert-dialog/index.js.map +0 -1
- package/lib/module/modules/avatar/Avatar.js.map +0 -1
- package/lib/module/modules/avatar/Avatar.variants.js.map +0 -1
- package/lib/module/modules/avatar/index.js.map +0 -1
- package/lib/module/modules/badge/Badge.js.map +0 -1
- package/lib/module/modules/badge/Badge.variants.js.map +0 -1
- package/lib/module/modules/badge/index.js.map +0 -1
- package/lib/module/modules/bottom-nav/BottomNav.js.map +0 -1
- package/lib/module/modules/bottom-nav/BottomNav.search.js.map +0 -1
- package/lib/module/modules/bottom-nav/BottomNav.variants.js.map +0 -1
- package/lib/module/modules/bottom-nav/BottomNavIconWithBadge.js.map +0 -1
- package/lib/module/modules/bottom-nav/BottomNavOverflowSheet.js.map +0 -1
- package/lib/module/modules/bottom-nav/index.js.map +0 -1
- package/lib/module/modules/button/Button.js.map +0 -1
- package/lib/module/modules/button/Button.variants.js.map +0 -1
- package/lib/module/modules/button/index.js.map +0 -1
- package/lib/module/modules/button-group/ButtonGroup.js.map +0 -1
- package/lib/module/modules/button-group/ButtonGroup.variants.js.map +0 -1
- package/lib/module/modules/button-group/index.js.map +0 -1
- package/lib/module/modules/card/Card.js.map +0 -1
- package/lib/module/modules/card/Card.variants.js.map +0 -1
- package/lib/module/modules/card/index.js.map +0 -1
- package/lib/module/modules/charts/BarList.js.map +0 -1
- package/lib/module/modules/charts/Charts.variants.js.map +0 -1
- package/lib/module/modules/charts/DonutChart.js.map +0 -1
- package/lib/module/modules/charts/Sparkline.js.map +0 -1
- package/lib/module/modules/charts/index.js.map +0 -1
- package/lib/module/modules/checkbox/Checkbox.js.map +0 -1
- package/lib/module/modules/checkbox/Checkbox.variants.js.map +0 -1
- package/lib/module/modules/checkbox/index.js.map +0 -1
- package/lib/module/modules/divider/Divider.js.map +0 -1
- package/lib/module/modules/divider/Divider.variants.js.map +0 -1
- package/lib/module/modules/divider/index.js.map +0 -1
- package/lib/module/modules/drawer/Drawer.js.map +0 -1
- package/lib/module/modules/drawer/Drawer.variants.js.map +0 -1
- package/lib/module/modules/drawer/index.js.map +0 -1
- package/lib/module/modules/empty-state/EmptyState.js.map +0 -1
- package/lib/module/modules/empty-state/EmptyState.variants.js.map +0 -1
- package/lib/module/modules/empty-state/index.js.map +0 -1
- package/lib/module/modules/file-upload/FileUpload.js.map +0 -1
- package/lib/module/modules/file-upload/FileUpload.variants.js.map +0 -1
- package/lib/module/modules/file-upload/index.js.map +0 -1
- package/lib/module/modules/filter-sheet/FilterChip.js.map +0 -1
- package/lib/module/modules/filter-sheet/FilterSheet.js.map +0 -1
- package/lib/module/modules/filter-sheet/FilterSheet.variants.js.map +0 -1
- package/lib/module/modules/filter-sheet/FilterSheetBody.js.map +0 -1
- package/lib/module/modules/filter-sheet/filterSheet.helpers.js.map +0 -1
- package/lib/module/modules/filter-sheet/index.js.map +0 -1
- package/lib/module/modules/input/Input.js.map +0 -1
- package/lib/module/modules/input/Input.variants.js.map +0 -1
- package/lib/module/modules/input/index.js.map +0 -1
- package/lib/module/modules/list-item/ListItem.js.map +0 -1
- package/lib/module/modules/list-item/ListItem.variants.js.map +0 -1
- package/lib/module/modules/list-item/index.js.map +0 -1
- package/lib/module/modules/markdown/Markdown.js.map +0 -1
- package/lib/module/modules/markdown/Markdown.variants.js.map +0 -1
- package/lib/module/modules/markdown/index.js.map +0 -1
- package/lib/module/modules/markdown/parseMarkdown.js.map +0 -1
- package/lib/module/modules/menu/Menu.js.map +0 -1
- package/lib/module/modules/menu/Menu.variants.js.map +0 -1
- package/lib/module/modules/menu/index.js.map +0 -1
- package/lib/module/modules/modal/Modal.js.map +0 -1
- package/lib/module/modules/modal/Modal.variants.js.map +0 -1
- package/lib/module/modules/modal/ModalPortalContext.js.map +0 -1
- package/lib/module/modules/modal/ModalPortalProvider.js.map +0 -1
- package/lib/module/modules/modal/index.js.map +0 -1
- package/lib/module/modules/modal/renderWebPortal.js.map +0 -1
- package/lib/module/modules/modal/renderWebPortal.web.js.map +0 -1
- package/lib/module/modules/multi-select/MultiSelect.js.map +0 -1
- package/lib/module/modules/multi-select/MultiSelect.variants.js.map +0 -1
- package/lib/module/modules/multi-select/index.js.map +0 -1
- package/lib/module/modules/number-input/NumberInput.js.map +0 -1
- package/lib/module/modules/number-input/NumberInput.variants.js.map +0 -1
- package/lib/module/modules/number-input/index.js.map +0 -1
- package/lib/module/modules/pin-input/PinInput.js.map +0 -1
- package/lib/module/modules/pin-input/PinInput.variants.js.map +0 -1
- package/lib/module/modules/pin-input/index.js.map +0 -1
- package/lib/module/modules/progress-bar/ProgressBar.js.map +0 -1
- package/lib/module/modules/progress-bar/ProgressBar.variants.js.map +0 -1
- package/lib/module/modules/progress-bar/index.js.map +0 -1
- package/lib/module/modules/radio-group/RadioGroup.js.map +0 -1
- package/lib/module/modules/radio-group/RadioGroup.variants.js.map +0 -1
- package/lib/module/modules/radio-group/index.js.map +0 -1
- package/lib/module/modules/reorder/Reorder.js.map +0 -1
- package/lib/module/modules/reorder/Reorder.variants.js.map +0 -1
- package/lib/module/modules/reorder/index.js.map +0 -1
- package/lib/module/modules/select/Select.js.map +0 -1
- package/lib/module/modules/select/Select.variants.js.map +0 -1
- package/lib/module/modules/select/index.js.map +0 -1
- package/lib/module/modules/skeleton/Skeleton.js.map +0 -1
- package/lib/module/modules/skeleton/Skeleton.variants.js.map +0 -1
- package/lib/module/modules/skeleton/index.js.map +0 -1
- package/lib/module/modules/slider/Slider.js.map +0 -1
- package/lib/module/modules/slider/Slider.variants.js.map +0 -1
- package/lib/module/modules/slider/index.js.map +0 -1
- package/lib/module/modules/spinner/Spinner.js.map +0 -1
- package/lib/module/modules/spinner/Spinner.variants.js.map +0 -1
- package/lib/module/modules/spinner/index.js.map +0 -1
- package/lib/module/modules/stat-tile/StatTile.js.map +0 -1
- package/lib/module/modules/stat-tile/StatTile.variants.js.map +0 -1
- package/lib/module/modules/stat-tile/index.js.map +0 -1
- package/lib/module/modules/stepper/Stepper.js.map +0 -1
- package/lib/module/modules/stepper/Stepper.variants.js.map +0 -1
- package/lib/module/modules/stepper/index.js.map +0 -1
- package/lib/module/modules/switch/Switch.js.map +0 -1
- package/lib/module/modules/switch/Switch.variants.js.map +0 -1
- package/lib/module/modules/switch/index.js.map +0 -1
- package/lib/module/modules/tabs/Tabs.js.map +0 -1
- package/lib/module/modules/tabs/Tabs.variants.js.map +0 -1
- package/lib/module/modules/tabs/index.js.map +0 -1
- package/lib/module/modules/textarea/Textarea.js.map +0 -1
- package/lib/module/modules/textarea/Textarea.variants.js.map +0 -1
- package/lib/module/modules/textarea/index.js.map +0 -1
- package/lib/module/modules/timeline/Timeline.js.map +0 -1
- package/lib/module/modules/timeline/Timeline.variants.js.map +0 -1
- package/lib/module/modules/timeline/index.js.map +0 -1
- package/lib/module/modules/toast/Toast.js.map +0 -1
- package/lib/module/modules/toast/Toast.variants.js.map +0 -1
- package/lib/module/modules/toast/index.js.map +0 -1
- package/lib/module/modules/tooltip/Tooltip.js.map +0 -1
- package/lib/module/modules/tooltip/Tooltip.variants.js.map +0 -1
- package/lib/module/modules/tooltip/index.js.map +0 -1
- package/lib/module/theme/index.js.map +0 -1
- package/lib/module/theme/platform/colorScheme.native.js.map +0 -1
- package/lib/module/theme/platform/elevation.native.js.map +0 -1
- package/lib/module/theme/platform/fonts.native.js.map +0 -1
- package/lib/module/theme/platform/index.js.map +0 -1
- package/lib/module/theme/platform/units.native.js.map +0 -1
- package/lib/module/theme/provider/PixelizeProvider.js.map +0 -1
- package/lib/module/theme/provider/colorModeStorage.js.map +0 -1
- package/lib/module/theme/provider/index.js.map +0 -1
- package/lib/module/theme/provider/useTheme.js.map +0 -1
- package/lib/module/theme/provider/useThemeColors.js.map +0 -1
- package/lib/module/theme/provider/useThemeMode.js.map +0 -1
- package/lib/module/theme/tokens/brands/emerald/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/emerald/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/index.js.map +0 -1
- package/lib/module/theme/tokens/brands/lavender/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/lavender/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/meadow/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/meadow/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/radiant/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/radiant/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/rosewood/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/rosewood/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/skyline/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/skyline/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/slate/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/slate/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/storefront/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/storefront/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/brands/zinc/palette.dark.js.map +0 -1
- package/lib/module/theme/tokens/brands/zinc/palette.light.js.map +0 -1
- package/lib/module/theme/tokens/builders/accentText.js.map +0 -1
- package/lib/module/theme/tokens/builders/buildBrandTokens.js.map +0 -1
- package/lib/module/theme/tokens/builders/buildDarkPalette.js.map +0 -1
- package/lib/module/theme/tokens/builders/color.js.map +0 -1
- package/lib/module/theme/tokens/index.js.map +0 -1
- package/lib/module/theme/tokens/primitives/borderWidths.js.map +0 -1
- package/lib/module/theme/tokens/primitives/breakpoints.js.map +0 -1
- package/lib/module/theme/tokens/primitives/elevation.js.map +0 -1
- package/lib/module/theme/tokens/primitives/fontSizes.js.map +0 -1
- package/lib/module/theme/tokens/primitives/fontWeights.js.map +0 -1
- package/lib/module/theme/tokens/primitives/index.js.map +0 -1
- package/lib/module/theme/tokens/primitives/letterSpacings.js.map +0 -1
- package/lib/module/theme/tokens/primitives/lineHeights.js.map +0 -1
- package/lib/module/theme/tokens/primitives/radii.js.map +0 -1
- package/lib/module/theme/tokens/primitives/sizes.js.map +0 -1
- package/lib/module/theme/tokens/primitives/space.js.map +0 -1
- package/lib/module/theme/tokens/primitives/zIndices.js.map +0 -1
- package/lib/module/theme/tokens/roles/index.js.map +0 -1
- package/lib/module/theme/tokens/types.js.map +0 -1
- package/lib/typescript/core/a11y/index.d.ts.map +0 -1
- package/lib/typescript/core/icon/index.d.ts.map +0 -1
- package/lib/typescript/core/style/index.d.ts.map +0 -1
- package/lib/typescript/core/style/layoutStyle.d.ts.map +0 -1
- package/lib/typescript/core/style/variants.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/modules/accordion/Accordion.d.ts.map +0 -1
- package/lib/typescript/modules/accordion/Accordion.variants.d.ts.map +0 -1
- package/lib/typescript/modules/accordion/index.d.ts.map +0 -1
- package/lib/typescript/modules/alert-dialog/AlertDialog.d.ts.map +0 -1
- package/lib/typescript/modules/alert-dialog/AlertDialog.variants.d.ts.map +0 -1
- package/lib/typescript/modules/alert-dialog/index.d.ts.map +0 -1
- package/lib/typescript/modules/avatar/Avatar.d.ts.map +0 -1
- package/lib/typescript/modules/avatar/Avatar.variants.d.ts.map +0 -1
- package/lib/typescript/modules/avatar/index.d.ts.map +0 -1
- package/lib/typescript/modules/badge/Badge.d.ts.map +0 -1
- package/lib/typescript/modules/badge/Badge.variants.d.ts.map +0 -1
- package/lib/typescript/modules/badge/index.d.ts.map +0 -1
- package/lib/typescript/modules/bottom-nav/BottomNav.d.ts.map +0 -1
- package/lib/typescript/modules/bottom-nav/BottomNav.search.d.ts.map +0 -1
- package/lib/typescript/modules/bottom-nav/BottomNav.variants.d.ts.map +0 -1
- package/lib/typescript/modules/bottom-nav/BottomNavIconWithBadge.d.ts.map +0 -1
- package/lib/typescript/modules/bottom-nav/BottomNavOverflowSheet.d.ts.map +0 -1
- package/lib/typescript/modules/bottom-nav/index.d.ts.map +0 -1
- package/lib/typescript/modules/button/Button.d.ts.map +0 -1
- package/lib/typescript/modules/button/Button.variants.d.ts.map +0 -1
- package/lib/typescript/modules/button/index.d.ts.map +0 -1
- package/lib/typescript/modules/button-group/ButtonGroup.d.ts.map +0 -1
- package/lib/typescript/modules/button-group/ButtonGroup.variants.d.ts.map +0 -1
- package/lib/typescript/modules/button-group/index.d.ts.map +0 -1
- package/lib/typescript/modules/card/Card.d.ts.map +0 -1
- package/lib/typescript/modules/card/Card.variants.d.ts.map +0 -1
- package/lib/typescript/modules/card/index.d.ts.map +0 -1
- package/lib/typescript/modules/charts/BarList.d.ts.map +0 -1
- package/lib/typescript/modules/charts/Charts.variants.d.ts.map +0 -1
- package/lib/typescript/modules/charts/DonutChart.d.ts.map +0 -1
- package/lib/typescript/modules/charts/Sparkline.d.ts.map +0 -1
- package/lib/typescript/modules/charts/index.d.ts.map +0 -1
- package/lib/typescript/modules/checkbox/Checkbox.d.ts.map +0 -1
- package/lib/typescript/modules/checkbox/Checkbox.variants.d.ts.map +0 -1
- package/lib/typescript/modules/checkbox/index.d.ts.map +0 -1
- package/lib/typescript/modules/divider/Divider.d.ts.map +0 -1
- package/lib/typescript/modules/divider/Divider.variants.d.ts.map +0 -1
- package/lib/typescript/modules/divider/index.d.ts.map +0 -1
- package/lib/typescript/modules/drawer/Drawer.d.ts.map +0 -1
- package/lib/typescript/modules/drawer/Drawer.variants.d.ts.map +0 -1
- package/lib/typescript/modules/drawer/index.d.ts.map +0 -1
- package/lib/typescript/modules/empty-state/EmptyState.d.ts.map +0 -1
- package/lib/typescript/modules/empty-state/EmptyState.variants.d.ts.map +0 -1
- package/lib/typescript/modules/empty-state/index.d.ts.map +0 -1
- package/lib/typescript/modules/file-upload/FileUpload.d.ts.map +0 -1
- package/lib/typescript/modules/file-upload/FileUpload.variants.d.ts.map +0 -1
- package/lib/typescript/modules/file-upload/index.d.ts.map +0 -1
- package/lib/typescript/modules/filter-sheet/FilterChip.d.ts.map +0 -1
- package/lib/typescript/modules/filter-sheet/FilterSheet.d.ts.map +0 -1
- package/lib/typescript/modules/filter-sheet/FilterSheet.variants.d.ts.map +0 -1
- package/lib/typescript/modules/filter-sheet/FilterSheetBody.d.ts.map +0 -1
- package/lib/typescript/modules/filter-sheet/filterSheet.helpers.d.ts.map +0 -1
- package/lib/typescript/modules/filter-sheet/index.d.ts.map +0 -1
- package/lib/typescript/modules/input/Input.d.ts.map +0 -1
- package/lib/typescript/modules/input/Input.variants.d.ts.map +0 -1
- package/lib/typescript/modules/input/index.d.ts.map +0 -1
- package/lib/typescript/modules/list-item/ListItem.d.ts.map +0 -1
- package/lib/typescript/modules/list-item/ListItem.variants.d.ts.map +0 -1
- package/lib/typescript/modules/list-item/index.d.ts.map +0 -1
- package/lib/typescript/modules/markdown/Markdown.d.ts.map +0 -1
- package/lib/typescript/modules/markdown/Markdown.variants.d.ts.map +0 -1
- package/lib/typescript/modules/markdown/index.d.ts.map +0 -1
- package/lib/typescript/modules/markdown/parseMarkdown.d.ts.map +0 -1
- package/lib/typescript/modules/menu/Menu.d.ts.map +0 -1
- package/lib/typescript/modules/menu/Menu.variants.d.ts.map +0 -1
- package/lib/typescript/modules/menu/index.d.ts.map +0 -1
- package/lib/typescript/modules/modal/Modal.d.ts.map +0 -1
- package/lib/typescript/modules/modal/Modal.variants.d.ts.map +0 -1
- package/lib/typescript/modules/modal/ModalPortalContext.d.ts.map +0 -1
- package/lib/typescript/modules/modal/ModalPortalProvider.d.ts.map +0 -1
- package/lib/typescript/modules/modal/index.d.ts.map +0 -1
- package/lib/typescript/modules/modal/renderWebPortal.d.ts.map +0 -1
- package/lib/typescript/modules/modal/renderWebPortal.web.d.ts.map +0 -1
- package/lib/typescript/modules/multi-select/MultiSelect.d.ts.map +0 -1
- package/lib/typescript/modules/multi-select/MultiSelect.variants.d.ts.map +0 -1
- package/lib/typescript/modules/multi-select/index.d.ts.map +0 -1
- package/lib/typescript/modules/number-input/NumberInput.d.ts.map +0 -1
- package/lib/typescript/modules/number-input/NumberInput.variants.d.ts.map +0 -1
- package/lib/typescript/modules/number-input/index.d.ts.map +0 -1
- package/lib/typescript/modules/pin-input/PinInput.d.ts.map +0 -1
- package/lib/typescript/modules/pin-input/PinInput.variants.d.ts.map +0 -1
- package/lib/typescript/modules/pin-input/index.d.ts.map +0 -1
- package/lib/typescript/modules/progress-bar/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/modules/progress-bar/ProgressBar.variants.d.ts.map +0 -1
- package/lib/typescript/modules/progress-bar/index.d.ts.map +0 -1
- package/lib/typescript/modules/radio-group/RadioGroup.d.ts.map +0 -1
- package/lib/typescript/modules/radio-group/RadioGroup.variants.d.ts.map +0 -1
- package/lib/typescript/modules/radio-group/index.d.ts.map +0 -1
- package/lib/typescript/modules/reorder/Reorder.d.ts.map +0 -1
- package/lib/typescript/modules/reorder/Reorder.variants.d.ts.map +0 -1
- package/lib/typescript/modules/reorder/index.d.ts.map +0 -1
- package/lib/typescript/modules/select/Select.d.ts.map +0 -1
- package/lib/typescript/modules/select/Select.variants.d.ts.map +0 -1
- package/lib/typescript/modules/select/index.d.ts.map +0 -1
- package/lib/typescript/modules/skeleton/Skeleton.d.ts.map +0 -1
- package/lib/typescript/modules/skeleton/Skeleton.variants.d.ts.map +0 -1
- package/lib/typescript/modules/skeleton/index.d.ts.map +0 -1
- package/lib/typescript/modules/slider/Slider.d.ts.map +0 -1
- package/lib/typescript/modules/slider/Slider.variants.d.ts.map +0 -1
- package/lib/typescript/modules/slider/index.d.ts.map +0 -1
- package/lib/typescript/modules/spinner/Spinner.d.ts.map +0 -1
- package/lib/typescript/modules/spinner/Spinner.variants.d.ts.map +0 -1
- package/lib/typescript/modules/spinner/index.d.ts.map +0 -1
- package/lib/typescript/modules/stat-tile/StatTile.d.ts.map +0 -1
- package/lib/typescript/modules/stat-tile/StatTile.variants.d.ts.map +0 -1
- package/lib/typescript/modules/stat-tile/index.d.ts.map +0 -1
- package/lib/typescript/modules/stepper/Stepper.d.ts.map +0 -1
- package/lib/typescript/modules/stepper/Stepper.variants.d.ts.map +0 -1
- package/lib/typescript/modules/stepper/index.d.ts.map +0 -1
- package/lib/typescript/modules/switch/Switch.d.ts.map +0 -1
- package/lib/typescript/modules/switch/Switch.variants.d.ts.map +0 -1
- package/lib/typescript/modules/switch/index.d.ts.map +0 -1
- package/lib/typescript/modules/tabs/Tabs.d.ts.map +0 -1
- package/lib/typescript/modules/tabs/Tabs.variants.d.ts.map +0 -1
- package/lib/typescript/modules/tabs/index.d.ts.map +0 -1
- package/lib/typescript/modules/textarea/Textarea.d.ts.map +0 -1
- package/lib/typescript/modules/textarea/Textarea.variants.d.ts.map +0 -1
- package/lib/typescript/modules/textarea/index.d.ts.map +0 -1
- package/lib/typescript/modules/timeline/Timeline.d.ts.map +0 -1
- package/lib/typescript/modules/timeline/Timeline.variants.d.ts.map +0 -1
- package/lib/typescript/modules/timeline/index.d.ts.map +0 -1
- package/lib/typescript/modules/toast/Toast.d.ts.map +0 -1
- package/lib/typescript/modules/toast/Toast.variants.d.ts.map +0 -1
- package/lib/typescript/modules/toast/index.d.ts.map +0 -1
- package/lib/typescript/modules/tooltip/Tooltip.d.ts.map +0 -1
- package/lib/typescript/modules/tooltip/Tooltip.variants.d.ts.map +0 -1
- package/lib/typescript/modules/tooltip/index.d.ts.map +0 -1
- package/lib/typescript/theme/index.d.ts.map +0 -1
- package/lib/typescript/theme/platform/colorScheme.native.d.ts.map +0 -1
- package/lib/typescript/theme/platform/elevation.native.d.ts.map +0 -1
- package/lib/typescript/theme/platform/fonts.native.d.ts.map +0 -1
- package/lib/typescript/theme/platform/index.d.ts.map +0 -1
- package/lib/typescript/theme/platform/units.native.d.ts.map +0 -1
- package/lib/typescript/theme/provider/PixelizeProvider.d.ts.map +0 -1
- package/lib/typescript/theme/provider/colorModeStorage.d.ts.map +0 -1
- package/lib/typescript/theme/provider/index.d.ts.map +0 -1
- package/lib/typescript/theme/provider/useTheme.d.ts.map +0 -1
- package/lib/typescript/theme/provider/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/theme/provider/useThemeMode.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/emerald/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/emerald/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/index.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/lavender/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/lavender/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/meadow/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/meadow/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/radiant/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/radiant/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/rosewood/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/rosewood/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/skyline/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/skyline/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/slate/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/slate/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/storefront/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/storefront/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/zinc/palette.dark.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/brands/zinc/palette.light.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/builders/accentText.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/builders/buildBrandTokens.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/builders/buildDarkPalette.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/builders/color.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/index.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/borderWidths.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/breakpoints.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/elevation.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/fontSizes.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/fontWeights.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/index.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/letterSpacings.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/lineHeights.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/radii.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/sizes.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/space.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/primitives/zIndices.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/roles/index.d.ts.map +0 -1
- package/lib/typescript/theme/tokens/types.d.ts.map +0 -1
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* FilterSheetBody — PRIVATE sub-component (not exported from `index.ts`, same status as
|
|
3
3
|
* `BottomNavOverflowSheet`), handed to `FilterSheet.tsx`'s `<Drawer>` as `children`: the title
|
|
4
|
-
* header, each dimension's optional quick-chip row,
|
|
5
|
-
*
|
|
4
|
+
* header, each dimension's optional quick-chip row, the per-dimension facet controls, and the
|
|
5
|
+
* Apply/Reset footer.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
7
|
+
* The scrollable middle is ONE `VirtualList` over a flat row list — every dimension's quick-chip row
|
|
8
|
+
* first (unchanged order), then every dimension's own collapsible section — so a consumer supplying
|
|
9
|
+
* a long `dimensions` array mounts only the visible rows. A single `openKey` here keeps the
|
|
10
|
+
* "one section open at a time" contract that a single shared `Accordion` used to provide, now that
|
|
11
|
+
* each row owns its own one-item `Accordion`.
|
|
12
|
+
*
|
|
13
|
+
* Caps that list to a fraction of the window via `resolveFilterSheetBodyHeight` — the same
|
|
14
|
+
* "keep the header/footer fixed, only the middle scrolls" shape `BottomNavOverflowSheet` uses — so
|
|
15
|
+
* Apply/Reset stay reachable regardless of how many dimensions a consumer supplies, all still
|
|
16
|
+
* within Drawer's own 90%-of-window cap.
|
|
12
17
|
*/
|
|
13
18
|
import type { FilterDimension, FilterValues } from "./FilterSheet";
|
|
14
19
|
interface FilterSheetBodyProps {
|
|
@@ -23,6 +28,6 @@ interface FilterSheetBodyProps {
|
|
|
23
28
|
readonly resetLabel: string;
|
|
24
29
|
readonly testID: string | undefined;
|
|
25
30
|
}
|
|
26
|
-
export declare
|
|
31
|
+
export declare const FilterSheetBody: import("react").NamedExoticComponent<FilterSheetBodyProps>;
|
|
27
32
|
export {};
|
|
28
33
|
//# sourceMappingURL=FilterSheetBody.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FolderRow — file-browser style row with optional leading icon and trailing meta text.
|
|
3
|
+
*
|
|
4
|
+
* It is rendered AS a list cell at scale, so it carries no mount animation and no loop: press
|
|
5
|
+
* feedback is a plain pressed background colour. Colours and style arrays are memoized so a
|
|
6
|
+
* parent re-render with unchanged props costs nothing.
|
|
7
|
+
*
|
|
8
|
+
* Keyboard/AT focus draws an INSET ring (WCAG 2.4.7) rather than the gap-outside ring `Button` uses
|
|
9
|
+
* — a full-bleed row's outset ring is clipped by the list it sits in.
|
|
10
|
+
*/
|
|
11
|
+
import type { IconName } from "../../core/icon";
|
|
12
|
+
import type { LayoutStyle } from "../../core/style";
|
|
13
|
+
export interface FolderRowProps {
|
|
14
|
+
title: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
icon?: IconName;
|
|
17
|
+
trailing?: string;
|
|
18
|
+
onPress?: () => void;
|
|
19
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
20
|
+
style?: LayoutStyle;
|
|
21
|
+
testID?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const FolderRow: import("react").NamedExoticComponent<FolderRowProps>;
|
|
24
|
+
//# sourceMappingURL=FolderRow.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RoleColors, Theme } from "../../theme/hooks";
|
|
2
|
+
export declare const folderRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
3
|
+
/**
|
|
4
|
+
* The keyboard/AT focus ring, drawn INSIDE the row's own bounds — not the gap-outside ring
|
|
5
|
+
* `Button`/`CopyButton` use. A folder row is a full-bleed list cell: an outset ring would be clipped
|
|
6
|
+
* by the enclosing list (or by the row's own rounded corners) on the very edges that carry it. Its
|
|
7
|
+
* colour is applied inline over this, never hardcoded here.
|
|
8
|
+
*/
|
|
9
|
+
export declare const folderRowFocusRingStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
10
|
+
export interface FolderRowAccessibleNameInput {
|
|
11
|
+
readonly title: string;
|
|
12
|
+
readonly subtitle?: string | undefined;
|
|
13
|
+
readonly trailing?: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The pressable row's whole accessible name. A `Pressable` is an accessibility element, so its
|
|
17
|
+
* subtree collapses into ONE node and its own `accessibilityLabel` is all a screen reader hears —
|
|
18
|
+
* anything left out of this string (the trailing "12 items", the subtitle) is simply never
|
|
19
|
+
* announced. Kept pure so that contract is unit-testable without rendering React Native.
|
|
20
|
+
*/
|
|
21
|
+
export declare function resolveFolderRowAccessibleName(input: FolderRowAccessibleNameInput): string;
|
|
22
|
+
export interface FolderRowColors {
|
|
23
|
+
readonly background: string;
|
|
24
|
+
readonly pressed: string;
|
|
25
|
+
readonly title: string;
|
|
26
|
+
readonly subtitle: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function resolveFolderRowColors(colors: RoleColors): FolderRowColors;
|
|
29
|
+
//# sourceMappingURL=FolderRow.variants.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FormField — the label/required-marker/description/helper-error wrapper every crm-mobile form
|
|
3
|
+
* hand-rolled per-field (`formInputs.tsx`, `baseForm.tsx`). It draws no box of its own: it wraps
|
|
4
|
+
* ANY control (Input, Select, DatePicker, Combobox, a bare TextInput, …) and hands that control
|
|
5
|
+
* back the accessibility props it needs (`resolveFormFieldAccessibility`) via a render-prop, so the
|
|
6
|
+
* control never has to duplicate label/required/error logic itself.
|
|
7
|
+
*
|
|
8
|
+
* The only motion here is the helper/error message's enter-exit — the wrapper has no focus surface
|
|
9
|
+
* and nothing pressable of its own.
|
|
10
|
+
*/
|
|
11
|
+
import type { LayoutStyle } from "../../core/style";
|
|
12
|
+
import type { FormFieldControlProps, FormFieldStatus } from "./FormField.variants";
|
|
13
|
+
export interface FormFieldProps {
|
|
14
|
+
label: string;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
description?: string;
|
|
17
|
+
status?: FormFieldStatus;
|
|
18
|
+
helperText?: string;
|
|
19
|
+
errorText?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Render-prop so the control receives the derived accessibility name/state without a second
|
|
22
|
+
* lookup — the one place this contract is computed. */
|
|
23
|
+
children: (control: FormFieldControlProps) => React.ReactNode;
|
|
24
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
25
|
+
style?: LayoutStyle;
|
|
26
|
+
testID?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const FormField: import("react").NamedExoticComponent<FormFieldProps>;
|
|
29
|
+
//# sourceMappingURL=FormField.d.ts.map
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FormField's colour + behaviour resolution. There is no `structure` split here of the kind
|
|
3
|
+
* Button/Input have: a field wrapper draws no box of its own — it is pure vertical rhythm around
|
|
4
|
+
* whatever control the caller puts inside — so the only themed structure is spacing.
|
|
5
|
+
*
|
|
6
|
+
* Free of `lucide` and of any React tree, so the WCAG + contract tests import it directly
|
|
7
|
+
* (mocking only `react-native`'s `StyleSheet`, as `core/style` does).
|
|
8
|
+
*/
|
|
9
|
+
import type { RoleColors, Theme } from "../../theme/hooks";
|
|
10
|
+
/** A state, not a brand tone — a field's colour reports validity. Mirrors `InputStatus`. */
|
|
11
|
+
export type FormFieldStatus = "default" | "error";
|
|
12
|
+
export interface FormFieldStatusColors {
|
|
13
|
+
/** The visible label above the control. */
|
|
14
|
+
readonly label: string;
|
|
15
|
+
/** The `*` marker next to a required label. */
|
|
16
|
+
readonly requiredMark: string;
|
|
17
|
+
/** The optional description line between label and control. */
|
|
18
|
+
readonly description: string;
|
|
19
|
+
/** Helper text, or the error message when `status` is `"error"`. */
|
|
20
|
+
readonly message: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Maps `status` onto role colours. The required marker reads `status.danger.text` (not `.solid`):
|
|
24
|
+
* it is TEXT, so it owes 4.5:1 against the canvas, and `.text` is the rung picked for exactly that
|
|
25
|
+
* — `.solid` is a fill rung and only guarantees the looser 3:1.
|
|
26
|
+
*/
|
|
27
|
+
export declare function resolveFormFieldStatus(colors: RoleColors, status: FormFieldStatus): FormFieldStatusColors;
|
|
28
|
+
export interface FormFieldAccessibilityInput {
|
|
29
|
+
readonly label?: string | undefined;
|
|
30
|
+
readonly required?: boolean | undefined;
|
|
31
|
+
readonly disabled?: boolean | undefined;
|
|
32
|
+
readonly status?: FormFieldStatus | undefined;
|
|
33
|
+
readonly errorText?: string | undefined;
|
|
34
|
+
readonly description?: string | undefined;
|
|
35
|
+
readonly helperText?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Instance-unique id prefix for the supporting nodes this wrapper renders, so the web build can
|
|
38
|
+
* point `aria-describedby` at real elements. Omitted (tests, native-only callers) leaves
|
|
39
|
+
* `aria-describedby` undefined — the native `accessibilityHint` still carries the same text.
|
|
40
|
+
*/
|
|
41
|
+
readonly describedByIdPrefix?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export interface FormFieldControlProps {
|
|
44
|
+
/** Hand this to the control inside — RN has no `htmlFor`, so the name must be copied onto it. */
|
|
45
|
+
readonly accessibilityLabel: string | undefined;
|
|
46
|
+
/** The supporting line, `description` first — the NATIVE stand-in for `aria-describedby`. */
|
|
47
|
+
readonly accessibilityHint: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The web half of the same link: ids of the supporting nodes this wrapper actually rendered.
|
|
50
|
+
* `react-native-web` forwards it and drops `accessibilityHint` entirely, so a control needs both.
|
|
51
|
+
*/
|
|
52
|
+
readonly "aria-describedby": string | undefined;
|
|
53
|
+
/** WCAG 3.3.1's programmatic half — the red border alone is a 1.4.1 "use of colour" failure. */
|
|
54
|
+
readonly "aria-invalid": boolean;
|
|
55
|
+
readonly "aria-disabled": boolean;
|
|
56
|
+
/** Lets a status-aware control (Input, Select, …) paint its error border without a second prop. */
|
|
57
|
+
readonly status: FormFieldStatus;
|
|
58
|
+
}
|
|
59
|
+
/** Node ids the wrapper stamps and `aria-describedby` refers to. Derived once, never interpolated
|
|
60
|
+
* at a call site where a typo would be a dangling reference no compiler catches. */
|
|
61
|
+
export declare function formFieldDescriptionId(prefix: string): string;
|
|
62
|
+
export declare function formFieldMessageId(prefix: string): string;
|
|
63
|
+
/**
|
|
64
|
+
* Derives what the control inside needs, purely.
|
|
65
|
+
*
|
|
66
|
+
* WCAG 3.3.2 — the red `*` is a *visual* convention a screen reader does not convey, so "required"
|
|
67
|
+
* is appended to the accessible name. WCAG 3.3.1 — in the error state the message is appended too,
|
|
68
|
+
* so a reader landing on the control hears WHY it is invalid instead of only that something is
|
|
69
|
+
* wrong; the visible message is separately announced when it appears.
|
|
70
|
+
*
|
|
71
|
+
* WCAG 1.3.1 — `description`/`helperText` are visible lines with no programmatic link to the control,
|
|
72
|
+
* so they ride `accessibilityHint` on native and `aria-describedby` on web (`accessibilityHint` has
|
|
73
|
+
* no web equivalent at all — `react-native-web` never reads it). `description` wins the hint: it
|
|
74
|
+
* explains what to enter, where `helperText` only qualifies it. `errorText` stays in the NAME, not
|
|
75
|
+
* the hint — a hint is advisory and some readers suppress it, which a validity message must never be
|
|
76
|
+
* — and the same state sets `aria-invalid`, so the error is never carried by border colour alone.
|
|
77
|
+
*
|
|
78
|
+
* `aria-describedby` deliberately omits the message node in the error state: that string is already
|
|
79
|
+
* in the accessible name, and listing it twice announces it twice.
|
|
80
|
+
*/
|
|
81
|
+
export declare function resolveFormFieldAccessibility(input: FormFieldAccessibilityInput): FormFieldControlProps;
|
|
82
|
+
/** The message a field shows — one at a time, error winning over helper (same rule as Input). */
|
|
83
|
+
export declare function resolveFormFieldMessage(input: {
|
|
84
|
+
readonly status?: FormFieldStatus | undefined;
|
|
85
|
+
readonly helperText?: string | undefined;
|
|
86
|
+
readonly errorText?: string | undefined;
|
|
87
|
+
}): string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* Vertical rhythm only — no colours, no box. Compiles once per theme identity via the
|
|
90
|
+
* `WeakMap`-cached themed resolver.
|
|
91
|
+
*/
|
|
92
|
+
export declare const formFieldStructure: import("../../core/style").ThemedVariantResolver<Theme, {}, import("react-native").ViewStyle>;
|
|
93
|
+
//# sourceMappingURL=FormField.variants.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gantt — lightweight horizontal timeline chart (ported from tickets/mobile EpicTimeline).
|
|
3
|
+
*
|
|
4
|
+
* The lane-label column is hidden from assistive tech: it is a second, parallel column of the same
|
|
5
|
+
* names the bars already carry inside their composed labels ("<sublabel> <label>, <range>, <n>%
|
|
6
|
+
* complete"), and nothing associates a name in one column with a bar in the other (WCAG 1.3.1). One
|
|
7
|
+
* accessible node per lane, holding the whole relationship, is what a screen reader can act on.
|
|
8
|
+
*/
|
|
9
|
+
import type { LayoutStyle } from "../../core/style";
|
|
10
|
+
import { type GanttLaneInput } from "./Gantt.variants";
|
|
11
|
+
export interface GanttProps {
|
|
12
|
+
lanes: readonly GanttLaneInput[];
|
|
13
|
+
onLanePress?: (id: string) => void;
|
|
14
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
15
|
+
style?: LayoutStyle;
|
|
16
|
+
testID?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const Gantt: import("react").NamedExoticComponent<GanttProps>;
|
|
19
|
+
//# sourceMappingURL=Gantt.d.ts.map
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gantt layout math — ported from tickets/mobile EpicTimeline. Pure, testable.
|
|
3
|
+
*/
|
|
4
|
+
import type { RoleColors } from "../../theme/hooks";
|
|
5
|
+
export declare const MS_PER_DAY = 86400000;
|
|
6
|
+
export declare const GANTT_LABEL_W = 108;
|
|
7
|
+
export declare const GANTT_ROW_H = 46;
|
|
8
|
+
export declare const GANTT_BAR_H = 18;
|
|
9
|
+
export declare const GANTT_MIN_BAR_W = 14;
|
|
10
|
+
export declare const GANTT_MARKER_W = 12;
|
|
11
|
+
export declare const GANTT_BASE_PX_PER_DAY = 4;
|
|
12
|
+
export declare const GANTT_MIN_SPAN_MS: number;
|
|
13
|
+
export declare const GANTT_PAD_MS: number;
|
|
14
|
+
/** WCAG 2.5.5 target size, the library-wide floor (`Tabs`/`Pagination`/`Reorder` all pin the same 44). */
|
|
15
|
+
export declare const MIN_TOUCH_TARGET = 44;
|
|
16
|
+
/**
|
|
17
|
+
* A bar is a *data mark* — its 18dp height encodes nothing but the chart's row rhythm, and its width
|
|
18
|
+
* encodes the lane's duration, so neither can be grown to 44dp without lying about the data. When
|
|
19
|
+
* `onLanePress` is given the bar IS the press target, so the target is widened with `hitSlop`
|
|
20
|
+
* instead — the `Reorder`/`CopyButton` idiom for a mark whose drawn size is fixed by its meaning.
|
|
21
|
+
* Sized off the NARROWEST bar the layout can produce (`GANTT_MARKER_W`, a same-day lane) so every
|
|
22
|
+
* bar clears the floor, not just the wide ones. Vertical slop stays inside `GANTT_ROW_H`, so
|
|
23
|
+
* neighbouring rows' targets never overlap.
|
|
24
|
+
*/
|
|
25
|
+
export declare const GANTT_BAR_HIT_SLOP: {
|
|
26
|
+
readonly top: number;
|
|
27
|
+
readonly bottom: number;
|
|
28
|
+
readonly left: number;
|
|
29
|
+
readonly right: number;
|
|
30
|
+
};
|
|
31
|
+
export interface GanttLaneInput {
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly label: string;
|
|
34
|
+
readonly sublabel?: string;
|
|
35
|
+
readonly startMs: number;
|
|
36
|
+
readonly endMs?: number;
|
|
37
|
+
readonly progress?: number;
|
|
38
|
+
}
|
|
39
|
+
export interface GanttLaneLayout {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly label: string;
|
|
42
|
+
readonly sublabel?: string;
|
|
43
|
+
readonly leftPx: number;
|
|
44
|
+
readonly widthPx: number;
|
|
45
|
+
readonly fillPx: number;
|
|
46
|
+
readonly isMarker: boolean;
|
|
47
|
+
readonly complete: boolean;
|
|
48
|
+
readonly ariaLabel: string;
|
|
49
|
+
}
|
|
50
|
+
export interface GanttModel {
|
|
51
|
+
readonly empty: boolean;
|
|
52
|
+
readonly lanes: readonly GanttLaneLayout[];
|
|
53
|
+
readonly chartWidth: number;
|
|
54
|
+
readonly bodyHeight: number;
|
|
55
|
+
readonly showToday: boolean;
|
|
56
|
+
readonly todayX: number;
|
|
57
|
+
readonly rangeLabel: string;
|
|
58
|
+
}
|
|
59
|
+
export interface GanttColors {
|
|
60
|
+
readonly bar: string;
|
|
61
|
+
readonly barComplete: string;
|
|
62
|
+
readonly track: string;
|
|
63
|
+
readonly border: string;
|
|
64
|
+
readonly today: string;
|
|
65
|
+
readonly label: string;
|
|
66
|
+
readonly sublabel: string;
|
|
67
|
+
readonly caption: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Bar/track/label roles. Two bindings are deliberate and measured, not the obvious pick:
|
|
71
|
+
*
|
|
72
|
+
* - `barComplete` is the success ramp's `text` rung, NOT `solid` — the same choice (and the same
|
|
73
|
+
* reason) `ProgressBar.variants.ts` documents: `success.solid` is a pale semantic green that
|
|
74
|
+
* measures 2.19:1 against the `accent.subtle` track and 2.38:1 against the canvas in light mode,
|
|
75
|
+
* failing WCAG 1.4.11 for the progress fill it draws. The `text` rung clears both (≥5.40 / ≥6.56).
|
|
76
|
+
* - `caption` is `fg.muted`, NOT `fg.subtle` — the range label renders at `fontSize.xs`, and
|
|
77
|
+
* `fg.subtle` (a flat `gray[500]`) falls to 3.19:1 on emerald light. Same defect as `Text`'s
|
|
78
|
+
* `overline` and `Timeline`'s timestamp.
|
|
79
|
+
*/
|
|
80
|
+
export declare function resolveGanttColors(colors: RoleColors): GanttColors;
|
|
81
|
+
export declare function computeGanttModel(lanes: readonly GanttLaneInput[], windowWidth: number, nowMs: number): GanttModel;
|
|
82
|
+
//# sourceMappingURL=Gantt.variants.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ImageViewer — full-screen modal gallery for images. Ported from tickets/mobile AttachmentViewerModal
|
|
3
|
+
* (simplified API — uri/id/label items, no attachment-specific fields).
|
|
4
|
+
*/
|
|
5
|
+
import type { LayoutStyle } from "../../core/style";
|
|
6
|
+
export interface ImageViewerItem {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly uri: string;
|
|
9
|
+
readonly label?: string;
|
|
10
|
+
/**
|
|
11
|
+
* A smaller rendition for the thumbnail strip. Absent → the strip falls back to `uri`, which is
|
|
12
|
+
* decoded down to the thumb box by expo-image rather than at full resolution.
|
|
13
|
+
*/
|
|
14
|
+
readonly thumbUri?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ImageViewerProps {
|
|
17
|
+
visible: boolean;
|
|
18
|
+
onRequestClose: () => void;
|
|
19
|
+
items: readonly ImageViewerItem[];
|
|
20
|
+
initialIndex?: number;
|
|
21
|
+
onShare?: (item: ImageViewerItem) => void;
|
|
22
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
23
|
+
style?: LayoutStyle;
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const ImageViewer: import("react").NamedExoticComponent<ImageViewerProps>;
|
|
27
|
+
//# sourceMappingURL=ImageViewer.d.ts.map
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
* comes from `createThemedVariants`, and the focus indicator is the same offset-ring pattern as
|
|
4
4
|
* Button: a `border.focus` ring drawn a small gap OUTSIDE the field, on the canvas, because that is
|
|
5
5
|
* the role token proven ≥ 3:1 against the canvas (over the field's own border it isn't guaranteed).
|
|
6
|
+
*
|
|
7
|
+
* Motion comes from `core/motion` — the ring crossfades on focus/blur and the helper/error message
|
|
8
|
+
* fades in and out. Both honour reduce-motion through `useMotion()`.
|
|
6
9
|
*/
|
|
10
|
+
import { type TextInputProps } from "react-native";
|
|
7
11
|
import type { IconName } from "../../core/icon";
|
|
8
12
|
import type { LayoutStyle } from "../../core/style";
|
|
9
13
|
import type { InputSize, InputStatus } from "./Input.variants";
|
|
@@ -18,7 +22,7 @@ export interface InputProps {
|
|
|
18
22
|
label?: string;
|
|
19
23
|
/** Shown below the field when `status` is `"default"`. */
|
|
20
24
|
helperText?: string;
|
|
21
|
-
/** Shown below the field,
|
|
25
|
+
/** Shown below the field, and announced to the screen reader, when `status` is `"error"`. */
|
|
22
26
|
errorText?: string;
|
|
23
27
|
leadingIcon?: IconName;
|
|
24
28
|
trailingIcon?: IconName;
|
|
@@ -28,6 +32,10 @@ export interface InputProps {
|
|
|
28
32
|
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
29
33
|
containerStyle?: LayoutStyle;
|
|
30
34
|
testID?: string;
|
|
35
|
+
/** Pass `"off"` on fields that aren't a real form (e.g. a search box) to suppress the OS
|
|
36
|
+
* autofill/keyboard-suggestion strip — on Android that strip eats vertical space above the
|
|
37
|
+
* keyboard, which can crowd out content (like search results) sitting just above it. */
|
|
38
|
+
autoComplete?: TextInputProps["autoComplete"];
|
|
31
39
|
}
|
|
32
40
|
export declare const Input: import("react").NamedExoticComponent<InputProps>;
|
|
33
41
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* Free of `lucide` and of any React tree, so the WCAG + behaviour tests import it directly
|
|
12
12
|
* (mocking only `react-native`'s `StyleSheet`, as `core/style` does).
|
|
13
13
|
*/
|
|
14
|
-
import type { RoleColors } from "../../theme";
|
|
15
|
-
import type { Theme } from "../../theme";
|
|
14
|
+
import type { RoleColors } from "../../theme/hooks";
|
|
15
|
+
import type { Theme } from "../../theme/hooks";
|
|
16
16
|
export type InputSize = "sm" | "md" | "lg";
|
|
17
17
|
/** A state, not a brand tone — an input's colour reports validity, so it is never called `tone`. */
|
|
18
18
|
export type InputStatus = "default" | "error";
|
|
@@ -75,13 +75,23 @@ export interface InputAccessibilityInput {
|
|
|
75
75
|
readonly label?: string | undefined;
|
|
76
76
|
readonly accessibilityLabel?: string | undefined;
|
|
77
77
|
readonly disabled?: boolean | undefined;
|
|
78
|
+
readonly status?: InputStatus | undefined;
|
|
79
|
+
readonly helperText?: string | undefined;
|
|
80
|
+
readonly errorText?: string | undefined;
|
|
78
81
|
}
|
|
79
82
|
export interface InputAccessibilityProps {
|
|
80
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Falls back to the visible label — a sibling `Text`, not a wrapping element RN can associate —
|
|
85
|
+
* with `errorText` appended in the error state, exactly as `resolveFormFieldAccessibility` builds
|
|
86
|
+
* its own name.
|
|
87
|
+
*/
|
|
81
88
|
readonly accessibilityLabel: string | undefined;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
89
|
+
/** ADVISORY supporting text only (`helperText`). Never the validity message — see below. */
|
|
90
|
+
readonly accessibilityHint: string | undefined;
|
|
91
|
+
readonly "aria-invalid": boolean;
|
|
92
|
+
readonly "aria-disabled": boolean;
|
|
93
|
+
/** The string the component renders below the field — `errorText` in the error state, else `helperText`. */
|
|
94
|
+
readonly message: string | undefined;
|
|
85
95
|
/** The `TextInput` `editable` prop — false while disabled, so the field blocks input. */
|
|
86
96
|
readonly editable: boolean;
|
|
87
97
|
}
|
|
@@ -90,6 +100,16 @@ export interface InputAccessibilityProps {
|
|
|
90
100
|
* renderer. RN's `TextInput` has no `htmlFor`-equivalent link to a sibling label `Text`, so the
|
|
91
101
|
* label's content must be copied onto `accessibilityLabel` directly (an explicit
|
|
92
102
|
* `accessibilityLabel` always wins).
|
|
103
|
+
*
|
|
104
|
+
* The validity message rides the NAME, not the hint — the rule `resolveFormFieldAccessibility`
|
|
105
|
+
* already states and this resolver used to contradict: a hint is advisory and some readers suppress
|
|
106
|
+
* it, which a WCAG 3.3.1 message must never be. `helperText` is genuinely advisory, so it stays on
|
|
107
|
+
* the hint (native) and is linked by `aria-describedby` to the rendered message node (web, where
|
|
108
|
+
* `accessibilityHint` does not exist at all). The two never overlap: in the error state the message
|
|
109
|
+
* is in the name and `aria-invalid` is set, so nothing is announced twice.
|
|
110
|
+
*
|
|
111
|
+
* `message` is returned separately from `accessibilityHint` because the two diverged when the error
|
|
112
|
+
* moved into the name — the component still renders one visible line, error winning over helper.
|
|
93
113
|
*/
|
|
94
114
|
export declare function resolveInputAccessibility(input: InputAccessibilityInput): InputAccessibilityProps;
|
|
95
115
|
/**
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LimitReachedModal — a plan-limit dialog, DELIBERATELY composed from this library's own,
|
|
3
|
+
* already-shipped `Modal` and `Button` rather than reimplementing a backdrop/panel/action row from
|
|
4
|
+
* scratch (same reasoning `AlertDialog` documents for its own composition). This module's own job
|
|
5
|
+
* is: the six-`kind` copy (admin vs "contact your administrator"), the optional usage line, and
|
|
6
|
+
* which action(s) appear — an always-present dismiss action plus an upgrade CTA gated on
|
|
7
|
+
* `canManageBilling`.
|
|
8
|
+
*
|
|
9
|
+
* Web's counterpart (`Micro-Components/src/Components/LimitReachedModal`) renders a brand-gradient
|
|
10
|
+
* header with a per-`kind` icon (mostly `Crown`, `Users` for the `user` kind). Neither ports: this
|
|
11
|
+
* library has no `LinearGradient` anywhere and the API contract bans a raw `color?: string`/gradient
|
|
12
|
+
* prop, and `crown` isn't a registered glyph. A single `triangle-alert` icon on the theme's
|
|
13
|
+
* `status.warning` role reads correctly for every kind and every brand instead — the same icon
|
|
14
|
+
* `Banner` already resolves for its own `warning` tone.
|
|
15
|
+
*/
|
|
16
|
+
import type { LimitKind } from "./LimitReachedModal.variants";
|
|
17
|
+
export interface LimitReachedModalProps {
|
|
18
|
+
visible: boolean;
|
|
19
|
+
onRequestClose: () => void;
|
|
20
|
+
kind: LimitKind;
|
|
21
|
+
/** Plan limit for `kind`. Pass together with `used` to show an inline usage line. */
|
|
22
|
+
limit?: number | null;
|
|
23
|
+
used?: number | null;
|
|
24
|
+
/** `false` hides the upgrade CTA and swaps in "contact your administrator" copy. */
|
|
25
|
+
canManageBilling: boolean;
|
|
26
|
+
onUpgrade?: () => void;
|
|
27
|
+
/** Overrides the `kind`'s default title. */
|
|
28
|
+
title?: string;
|
|
29
|
+
/** Overrides the `kind`'s default admin/member message. */
|
|
30
|
+
message?: string;
|
|
31
|
+
testID?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const LimitReachedModal: import("react").NamedExoticComponent<LimitReachedModalProps>;
|
|
34
|
+
//# sourceMappingURL=LimitReachedModal.d.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LimitReachedModal's pure resolvers. Mirrors `AlertDialog.variants.ts`'s split: this module owns
|
|
3
|
+
* no colour resolver for the panel or the actions — those are `Modal`'s and `Button`'s own,
|
|
4
|
+
* applied unchanged (see `Modal.test.ts` / `Button.test.ts`). What IS this module's own contract:
|
|
5
|
+
* the six-`kind` × admin/member copy table (ported verbatim from web's `limitReachedCopy.ts` so
|
|
6
|
+
* both platforms read identically), the usage-line formatter, and the icon badge's own colour
|
|
7
|
+
* pairing (`status.warning.text` on `status.warning.subtle` — the same proven pairing Badge/Banner
|
|
8
|
+
* use for their own `subtle` variant, not a fresh, unmeasured one).
|
|
9
|
+
*
|
|
10
|
+
* Free of React and of any `Modal`/`Button` RENDER import — only `RoleColors`'s TYPE is pulled in
|
|
11
|
+
* — so this stays a pure resolver file, exactly like `AlertDialog.variants.ts`.
|
|
12
|
+
*/
|
|
13
|
+
import type { RoleColors, Theme } from "../../theme/hooks";
|
|
14
|
+
export type LimitKind = "record" | "automation" | "custom_modules" | "user" | "projects" | "tickets";
|
|
15
|
+
export interface LimitReachedCopy {
|
|
16
|
+
readonly title: string;
|
|
17
|
+
readonly message: string;
|
|
18
|
+
}
|
|
19
|
+
/** `canManageBilling` selects the admin (upgrade-able) or member ("ask your admin") message. */
|
|
20
|
+
export declare function resolveLimitReachedCopy(kind: LimitKind, canManageBilling: boolean): LimitReachedCopy;
|
|
21
|
+
/** `null` when either value is missing — the caller renders no usage line at all in that case. */
|
|
22
|
+
export declare function formatLimitUsage(kind: LimitKind, used?: number | null, limit?: number | null): string | null;
|
|
23
|
+
export interface LimitReachedModalColors {
|
|
24
|
+
/** Icon badge fill. */
|
|
25
|
+
readonly iconBadge: string;
|
|
26
|
+
/** Icon glyph on `iconBadge` — the same `status.warning.text` on `status.warning.subtle`
|
|
27
|
+
* pairing Badge/Banner's own `subtle` variant already proves ≥ 4.5:1 for every brand × mode. */
|
|
28
|
+
readonly icon: string;
|
|
29
|
+
/** Message body, read on the panel's `bg.surface`. */
|
|
30
|
+
readonly message: string;
|
|
31
|
+
/** Usage line — secondary, muted. */
|
|
32
|
+
readonly usage: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Maps LimitReachedModal onto the theme's role colours. The severity is fixed (`warning` — a plan
|
|
36
|
+
* limit is a soft stop, not a destructive action), so there is no `tone` prop to widen; every
|
|
37
|
+
* colour this component can show is one of these role lookups.
|
|
38
|
+
*/
|
|
39
|
+
export declare function resolveLimitReachedModalColors(colors: RoleColors): LimitReachedModalColors;
|
|
40
|
+
export declare const LIMIT_REACHED_MODAL_ICON_SIZE = 20;
|
|
41
|
+
export declare const LIMIT_REACHED_MODAL_ICON_BADGE_SIZE = 40;
|
|
42
|
+
/** The icon's circular badge — structural only, colour applied inline over this. */
|
|
43
|
+
export declare const limitReachedModalIconBadgeStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
44
|
+
/** The two-action row beneath the usage line — same shape as `alertDialogActionsStructure`. */
|
|
45
|
+
export declare const limitReachedModalActionsStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
46
|
+
//# sourceMappingURL=LimitReachedModal.variants.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public surface of `pixelize-native-library/limit-reached-modal`. Value exports and type exports
|
|
3
|
+
* are split for `verbatimModuleSyntax`. The copy table, usage formatter, and colour/structure
|
|
4
|
+
* resolvers stay internal — a consumer configures a LimitReachedModal through its props, never by
|
|
5
|
+
* importing its internals.
|
|
6
|
+
*/
|
|
7
|
+
export { LimitReachedModal } from "./LimitReachedModal";
|
|
8
|
+
export type { LimitReachedModalProps } from "./LimitReachedModal";
|
|
9
|
+
export type { LimitKind } from "./LimitReachedModal.variants";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ListItem — a row primitive. It is rendered AS a list cell at scale, so it carries no mount
|
|
3
|
+
* animation and no loop: the only motion is `usePressMotion`, which starts on touch and runs on the
|
|
4
|
+
* native driver. The pressable root is an animated `Pressable` rather than an `Animated.View`
|
|
5
|
+
* wrapper so a 5000-row list pays for no extra node.
|
|
6
|
+
*/
|
|
1
7
|
import type { ReactNode } from "react";
|
|
2
8
|
import type { LayoutStyle } from "../../core/style";
|
|
3
9
|
export interface ListItemProps {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Pure resolvers for ListItem — no React, so the WCAG tests import this directly (mocking only
|
|
3
3
|
* `react-native`'s `StyleSheet`, as every sibling module's tests do).
|
|
4
4
|
*/
|
|
5
|
-
import type { RoleColors, Theme } from "../../theme";
|
|
5
|
+
import type { RoleColors, Theme } from "../../theme/hooks";
|
|
6
6
|
export declare const LIST_ITEM_DOT_SIZE = 8;
|
|
7
7
|
export declare const LIST_ITEM_MIN_HEIGHT = 44;
|
|
8
8
|
export interface ListItemColors {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A markdown document is rendered whole, never virtualized: the heading outline is what a screen
|
|
3
|
+
* reader's rotor navigates, and windowing would expose only the ~10 blocks currently on screen
|
|
4
|
+
* (WCAG 2.4.1). It is also normally embedded in a caller's ScrollView, where a nested
|
|
5
|
+
* VirtualizedList is an error in its own right.
|
|
6
|
+
*/
|
|
1
7
|
import type { LayoutStyle } from "../../core/style";
|
|
2
8
|
export interface MarkdownProps {
|
|
3
9
|
content: string;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Pure resolvers for Markdown — no React, so the WCAG tests import this directly (mocking only
|
|
3
3
|
* `react-native`'s `StyleSheet`, as every sibling module's tests do).
|
|
4
4
|
*/
|
|
5
|
-
import type {
|
|
5
|
+
import type { HeadingLevel } from "../../core/heading";
|
|
6
|
+
import type { RoleColors, Theme } from "../../theme/hooks";
|
|
6
7
|
export interface MarkdownColors {
|
|
7
8
|
readonly text: string;
|
|
8
9
|
readonly heading: string;
|
|
@@ -18,7 +19,12 @@ export interface MarkdownHeadingSpec {
|
|
|
18
19
|
readonly fontSize: number;
|
|
19
20
|
readonly fontWeight: "semibold" | "bold";
|
|
20
21
|
}
|
|
21
|
-
|
|
22
|
+
/**
|
|
23
|
+
* SIZE only — `h4`–`h6` deliberately share `h3`'s size while keeping their own `aria-level`. The
|
|
24
|
+
* document's structure is what the heading level carries; three more type sizes below `lg` would
|
|
25
|
+
* be smaller than body text.
|
|
26
|
+
*/
|
|
27
|
+
export declare function resolveMarkdownHeading(theme: Theme, level: HeadingLevel): MarkdownHeadingSpec;
|
|
22
28
|
export declare const markdownStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
23
29
|
export declare const markdownCodeBlockStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
24
30
|
export declare const markdownBlockquoteStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A small hand-rolled markdown parser — no dependencies, never throws. Supports the subset the
|
|
3
|
-
* renderer draws: h1–
|
|
3
|
+
* renderer draws: h1–h6, bold, italic, inline code, fenced code blocks, unordered/ordered lists,
|
|
4
4
|
* links, blockquotes, paragraphs. Anything malformed degrades to literal text.
|
|
5
5
|
*/
|
|
6
|
+
import type { HeadingLevel } from "../../core/heading";
|
|
6
7
|
export type MarkdownInlineNode = {
|
|
7
8
|
readonly type: "text";
|
|
8
9
|
readonly content: string;
|
|
@@ -22,7 +23,7 @@ export type MarkdownInlineNode = {
|
|
|
22
23
|
};
|
|
23
24
|
export type MarkdownBlockNode = {
|
|
24
25
|
readonly type: "heading";
|
|
25
|
-
readonly level:
|
|
26
|
+
readonly level: HeadingLevel;
|
|
26
27
|
readonly children: readonly MarkdownInlineNode[];
|
|
27
28
|
} | {
|
|
28
29
|
readonly type: "paragraph";
|