@webority/mobile-ui 0.150.0 → 0.152.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.
Files changed (68) hide show
  1. package/dist/canvas-kit/kit.js +10 -10
  2. package/dist/canvas-kit/manifest.json +139 -17
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  5. package/lib/commonjs/components/AsyncBlock/AsyncBlock.js +1 -1
  6. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  7. package/lib/commonjs/components/Banner/Banner.js +1 -1
  8. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  9. package/lib/commonjs/components/Button/Button.js +1 -1
  10. package/lib/commonjs/components/Calendar/calendarStyles.js +1 -1
  11. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  12. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  13. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  14. package/lib/commonjs/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -0
  15. package/lib/commonjs/components/NonModalBottomSheet/index.js +1 -0
  16. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  17. package/lib/commonjs/components/OptionSheet/optionAccessors.js +1 -1
  18. package/lib/commonjs/components/Repeater/Repeater.js +1 -1
  19. package/lib/commonjs/components/Toast/Toast.js +1 -1
  20. package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
  21. package/lib/commonjs/components/WheelPicker/WheelPicker.js +1 -1
  22. package/lib/commonjs/components/index.js +1 -1
  23. package/lib/commonjs/index.js +1 -1
  24. package/lib/commonjs/theme/tokens.generated.js +1 -1
  25. package/lib/module/components/AppBar/AppBar.js +1 -1
  26. package/lib/module/components/AsyncBlock/AsyncBlock.js +1 -1
  27. package/lib/module/components/Avatar/Avatar.js +1 -1
  28. package/lib/module/components/Banner/Banner.js +1 -1
  29. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  30. package/lib/module/components/Button/Button.js +1 -1
  31. package/lib/module/components/Calendar/calendarStyles.js +1 -1
  32. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  33. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  34. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  35. package/lib/module/components/NonModalBottomSheet/NonModalBottomSheet.js +1 -0
  36. package/lib/module/components/NonModalBottomSheet/index.js +1 -0
  37. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  38. package/lib/module/components/OptionSheet/optionAccessors.js +1 -1
  39. package/lib/module/components/Repeater/Repeater.js +1 -1
  40. package/lib/module/components/Toast/Toast.js +1 -1
  41. package/lib/module/components/WheelPicker/Wheel.js +1 -1
  42. package/lib/module/components/WheelPicker/WheelPicker.js +1 -1
  43. package/lib/module/components/index.js +1 -1
  44. package/lib/module/index.js +1 -1
  45. package/lib/module/theme/tokens.generated.js +1 -1
  46. package/lib/typescript/commonjs/components/AsyncBlock/AsyncBlock.d.ts +2 -2
  47. package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +5 -3
  48. package/lib/typescript/commonjs/components/Button/Button.d.ts +7 -2
  49. package/lib/typescript/commonjs/components/NonModalBottomSheet/NonModalBottomSheet.d.ts +52 -0
  50. package/lib/typescript/commonjs/components/NonModalBottomSheet/index.d.ts +3 -0
  51. package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +6 -1
  52. package/lib/typescript/commonjs/components/OptionSheet/optionAccessors.d.ts +1 -0
  53. package/lib/typescript/commonjs/components/WheelPicker/Wheel.d.ts +4 -0
  54. package/lib/typescript/commonjs/components/WheelPicker/WheelPicker.d.ts +2 -0
  55. package/lib/typescript/commonjs/components/index.d.ts +2 -0
  56. package/lib/typescript/commonjs/index.d.ts +1 -1
  57. package/lib/typescript/module/components/AsyncBlock/AsyncBlock.d.ts +2 -2
  58. package/lib/typescript/module/components/Avatar/Avatar.d.ts +5 -3
  59. package/lib/typescript/module/components/Button/Button.d.ts +7 -2
  60. package/lib/typescript/module/components/NonModalBottomSheet/NonModalBottomSheet.d.ts +52 -0
  61. package/lib/typescript/module/components/NonModalBottomSheet/index.d.ts +3 -0
  62. package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +6 -1
  63. package/lib/typescript/module/components/OptionSheet/optionAccessors.d.ts +1 -0
  64. package/lib/typescript/module/components/WheelPicker/Wheel.d.ts +4 -0
  65. package/lib/typescript/module/components/WheelPicker/WheelPicker.d.ts +2 -0
  66. package/lib/typescript/module/components/index.d.ts +2 -0
  67. package/lib/typescript/module/index.d.ts +1 -1
  68. package/package.json +7 -7
@@ -5,4 +5,5 @@ export declare const selectOptionValue: (o: unknown) => SelectValue;
5
5
  export declare const selectOptionDescription: (o: unknown) => string | undefined;
6
6
  export declare const selectOptionDisabled: (o: unknown) => boolean;
7
7
  export declare const selectOptionIcon: (o: unknown) => React.ReactNode;
8
+ export declare const selectOptionAction: (o: unknown) => (() => void) | undefined;
8
9
  //# sourceMappingURL=optionAccessors.d.ts.map
@@ -23,6 +23,10 @@ interface WheelProps {
23
23
  reducedMotion: boolean;
24
24
  /** Tapping the selected value opens an inline number field for it. */
25
25
  typeable?: boolean | undefined;
26
+ /** Name of the screen reader action that opens the typed entry. */
27
+ typeAction?: string | undefined;
28
+ /** Spoken when the typed entry opens. */
29
+ typeEditor?: string | undefined;
26
30
  testID?: string | undefined;
27
31
  }
28
32
  /**
@@ -61,6 +61,8 @@ export interface WheelPickerLabels {
61
61
  minuteOne: string;
62
62
  minuteMany: string;
63
63
  value: string;
64
+ typeAction: string;
65
+ typeEditor: string;
64
66
  }
65
67
  export declare const DEFAULT_WHEEL_PICKER_LABELS: Readonly<WheelPickerLabels>;
66
68
  /** Hours and minutes, up to 23 h 59 min, with the value as a whole number of minutes. */
@@ -110,6 +110,8 @@ export type { MessageListLabels, MessageListProps, MessageRenderInfo } from "./M
110
110
  export { DEFAULT_MESSAGE_LIST_LABELS, MessageList } from "./MessageList/index.js";
111
111
  export type { ModalLabels, ModalPresentation, ModalProps } from "./Modal/index.js";
112
112
  export { DEFAULT_MODAL_LABELS, MODAL_DISMISS_GRACE_MS, Modal } from "./Modal/index.js";
113
+ export type { NonModalBottomSheetLabels, NonModalBottomSheetProps, NonModalSnapPoint } from "./NonModalBottomSheet/index.js";
114
+ export { DEFAULT_NON_MODAL_BOTTOM_SHEET_LABELS, NonModalBottomSheet } from "./NonModalBottomSheet/index.js";
113
115
  export type { NumberInputLabels, NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from "./NumberInput/index.js";
114
116
  export { DEFAULT_NUMBER_INPUT_LABELS, NumberInput } from "./NumberInput/index.js";
115
117
  export type { OnboardingPage, OnboardingPagerLabels, OnboardingPagerProps, } from "./OnboardingPager/index.js";
@@ -1,6 +1,6 @@
1
1
  export { PHONE_CHROME_INSETS } from "./canvasKit/index.js";
2
2
  export type * from "./components/index.js";
3
- export { Accordion, AccordionGroup, ALL_CALLING_CODES, AmountSlider, AnimatePresence, AppBar, AppLockOverlay, AsyncBlock, AuthedImage, Autocomplete, Avatar, AvatarGroup, authedImageCacheStats, Badge, Banner, BarChart, BottomNavigation, BottomSheet, Box, Button, buttonLabelInk, Calendar, Card, Carousel, Checkbox, Chip, ChoiceGroup, Composer, Confetti, ConfirmHost, clearAuthedImageCache, confirm, DatePicker, DateRangePicker, DateSeparator, DEFAULT_CALLING_CODES, DecimalInput, Descriptions, Dialog, Divider, Drawer, defineStatusMap, EmptyState, ErrorBoundary, FilePicker, FileViewer, FilterChipRow, FloatingActionButton, FloatingActionButtonGroup, ForceUpdateDialog, FormField, formatE164, formatFileSize, getAuthedImageCacheLimit, IconBadge, IconButton, ImageGallery, InlineSelect, Input, KeyboardAwareScrollView, KeyboardToolbar, ListItem, ListSection, LoaderOverlay, loader, Markdown, Menu, MessageBubble, MessageList, MODAL_DISMISS_GRACE_MS, Modal, NumberInput, OnboardingPager, OptionSheet, OTPInput, OTPResendRow, PagedListFooter, PermissionPrompt, PhoneNumberInput, PickerTrigger, ProfileCompletion, ProfilePicker, ProgressBar, ProgressRing, Radio, RadioDot, RadioGroup, Rating, Repeater, RichTextEditor, Row, ScannerOverlay, Screen, SearchBar, SectionHeader, SegmentedControl, Select, SignaturePad, Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, Slider, SliderField, SlideToConfirm, SortableList, Spacer, Sparkline, Spinner, SquircleImage, SquircleView, Stack, StatTile, StatusBadge, Stepper, Swipeable, Switch, setAuthedImageCacheLimit, Tabs, TagInput, Text, TextInkContext, Timeline, TimePicker, Toast, ToastHost, ToastProvider, Tooltip, Tour, TypingIndicator, toast, useBottomSheet, useErrorHandler, useRecentSearches, useTextInk, useToast, WheelPicker, withErrorBoundary, ZoomableImage, } from "./components/index.js";
3
+ export { Accordion, AccordionGroup, ALL_CALLING_CODES, AmountSlider, AnimatePresence, AppBar, AppLockOverlay, AsyncBlock, AuthedImage, Autocomplete, Avatar, AvatarGroup, authedImageCacheStats, Badge, Banner, BarChart, BottomNavigation, BottomSheet, Box, Button, buttonLabelInk, Calendar, Card, Carousel, Checkbox, Chip, ChoiceGroup, Composer, Confetti, ConfirmHost, clearAuthedImageCache, confirm, DatePicker, DateRangePicker, DateSeparator, DEFAULT_CALLING_CODES, DecimalInput, Descriptions, Dialog, Divider, Drawer, defineStatusMap, EmptyState, ErrorBoundary, FilePicker, FileViewer, FilterChipRow, FloatingActionButton, FloatingActionButtonGroup, ForceUpdateDialog, FormField, formatE164, formatFileSize, getAuthedImageCacheLimit, IconBadge, IconButton, ImageGallery, InlineSelect, Input, KeyboardAwareScrollView, KeyboardToolbar, ListItem, ListSection, LoaderOverlay, loader, Markdown, Menu, MessageBubble, MessageList, MODAL_DISMISS_GRACE_MS, Modal, NonModalBottomSheet, NumberInput, OnboardingPager, OptionSheet, OTPInput, OTPResendRow, PagedListFooter, PermissionPrompt, PhoneNumberInput, PickerTrigger, ProfileCompletion, ProfilePicker, ProgressBar, ProgressRing, Radio, RadioDot, RadioGroup, Rating, Repeater, RichTextEditor, Row, ScannerOverlay, Screen, SearchBar, SectionHeader, SegmentedControl, Select, SignaturePad, Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, Slider, SliderField, SlideToConfirm, SortableList, Spacer, Sparkline, Spinner, SquircleImage, SquircleView, Stack, StatTile, StatusBadge, Stepper, Swipeable, Switch, setAuthedImageCacheLimit, Tabs, TagInput, Text, TextInkContext, Timeline, TimePicker, Toast, ToastHost, ToastProvider, Tooltip, Tour, TypingIndicator, toast, useBottomSheet, useErrorHandler, useRecentSearches, useTextInk, useToast, WheelPicker, withErrorBoundary, ZoomableImage, } from "./components/index.js";
4
4
  export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, SlotIcon, SlotIconRef, SlotIconState, SlotNode, } from "./components/AppIcon/index.js";
5
5
  export { AppIcon } from "./components/AppIcon/index.js";
6
6
  export type { FormCompletion, HookFieldProps, HookFormFieldProps, UseFormCompletionOptions } from "./form/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.150.0",
3
+ "version": "0.152.0",
4
4
  "description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -115,13 +115,13 @@
115
115
  }
116
116
  },
117
117
  "dependencies": {
118
- "@webority/markdown-core": "0.150.0"
118
+ "@webority/markdown-core": "0.152.0"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@react-navigation/bottom-tabs": ">=7.0.0",
122
122
  "@react-navigation/native": ">=7.0.0",
123
- "@webority/canvas-kit": "0.150.0",
124
- "@webority/mobile-core": "0.150.0",
123
+ "@webority/canvas-kit": "0.152.0",
124
+ "@webority/mobile-core": "0.152.0",
125
125
  "expo": ">=58.0.0",
126
126
  "expo-file-system": ">=58.0.0",
127
127
  "expo-haptics": ">=58.0.0",
@@ -185,10 +185,10 @@
185
185
  "@types/node": "25.6.0",
186
186
  "@types/react": "19.3.0",
187
187
  "@types/react-test-renderer": "19.3.0",
188
- "@webority/canvas-kit": "0.150.0",
189
- "@webority/mobile-core": "0.150.0",
188
+ "@webority/canvas-kit": "0.152.0",
189
+ "@webority/mobile-core": "0.152.0",
190
190
  "@webority/mobile-dev": "0.0.0",
191
- "@webority/tokens": "0.150.0",
191
+ "@webority/tokens": "0.152.0",
192
192
  "expo": "58.0.23",
193
193
  "expo-file-system": "58.0.13",
194
194
  "expo-haptics": "58.0.7",