@webority/mobile-ui 0.131.0 → 0.133.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 (62) hide show
  1. package/dist/canvas-kit/kit.js +6126 -5992
  2. package/dist/canvas-kit/manifest.json +48 -3
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  5. package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
  6. package/lib/commonjs/components/AuthedImage/imageStore.js +1 -0
  7. package/lib/commonjs/components/AuthedImage/imageStore.web.js +1 -0
  8. package/lib/commonjs/components/BarChart/BarChart.js +1 -1
  9. package/lib/commonjs/components/ChoiceGroup/ChoiceGroup.js +1 -1
  10. package/lib/commonjs/components/Composer/Composer.js +1 -1
  11. package/lib/commonjs/components/FileViewer/FileViewer.js +1 -1
  12. package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
  13. package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.js +1 -1
  14. package/lib/commonjs/components/Screen/Screen.js +1 -1
  15. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  16. package/lib/commonjs/components/Switch/Switch.js +1 -1
  17. package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
  18. package/lib/commonjs/navigation/NavigationScreen.js +1 -1
  19. package/lib/commonjs/network/NetworkStatusBanner.js +1 -1
  20. package/lib/commonjs/theme/merge.js +1 -1
  21. package/lib/commonjs/theme/tokens.generated.js +1 -1
  22. package/lib/module/components/AppBar/AppBar.js +1 -1
  23. package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
  24. package/lib/module/components/AuthedImage/imageStore.js +1 -0
  25. package/lib/module/components/AuthedImage/imageStore.web.js +1 -0
  26. package/lib/module/components/BarChart/BarChart.js +1 -1
  27. package/lib/module/components/ChoiceGroup/ChoiceGroup.js +1 -1
  28. package/lib/module/components/Composer/Composer.js +1 -1
  29. package/lib/module/components/FileViewer/FileViewer.js +1 -1
  30. package/lib/module/components/OTPInput/OTPInput.js +1 -1
  31. package/lib/module/components/ScannerOverlay/ScannerOverlay.js +1 -1
  32. package/lib/module/components/Screen/Screen.js +1 -1
  33. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  34. package/lib/module/components/Switch/Switch.js +1 -1
  35. package/lib/module/components/WheelPicker/Wheel.js +1 -1
  36. package/lib/module/navigation/NavigationScreen.js +1 -1
  37. package/lib/module/network/NetworkStatusBanner.js +1 -1
  38. package/lib/module/theme/merge.js +1 -1
  39. package/lib/module/theme/tokens.generated.js +1 -1
  40. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +3 -1
  41. package/lib/typescript/commonjs/components/AuthedImage/imageStore.d.ts +7 -0
  42. package/lib/typescript/commonjs/components/AuthedImage/imageStore.web.d.ts +7 -0
  43. package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +3 -3
  44. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +3 -0
  45. package/lib/typescript/commonjs/components/Screen/Screen.d.ts +4 -0
  46. package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +2 -1
  47. package/lib/typescript/commonjs/navigation/NavigationScreen.d.ts +2 -2
  48. package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +7 -2
  49. package/lib/typescript/commonjs/theme/tokens.generated.d.ts +1 -1
  50. package/lib/typescript/commonjs/theme/types.d.ts +5 -1
  51. package/lib/typescript/module/components/AppBar/AppBar.d.ts +3 -1
  52. package/lib/typescript/module/components/AuthedImage/imageStore.d.ts +7 -0
  53. package/lib/typescript/module/components/AuthedImage/imageStore.web.d.ts +7 -0
  54. package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +3 -3
  55. package/lib/typescript/module/components/Composer/Composer.d.ts +3 -0
  56. package/lib/typescript/module/components/Screen/Screen.d.ts +4 -0
  57. package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +2 -1
  58. package/lib/typescript/module/navigation/NavigationScreen.d.ts +2 -2
  59. package/lib/typescript/module/network/NetworkStatusBanner.d.ts +7 -2
  60. package/lib/typescript/module/theme/tokens.generated.d.ts +1 -1
  61. package/lib/typescript/module/theme/types.d.ts +5 -1
  62. package/package.json +7 -7
@@ -2,6 +2,7 @@ import type React from "react";
2
2
  import type { StyleProp, ViewStyle } from "react-native";
3
3
  import { TextInput } from "react-native";
4
4
  import type { HapticType } from "../../utils/hapticUtils";
5
+ import type { AppIconName } from "../AppIcon/AppIcon";
5
6
  export interface ComposerLabels {
6
7
  send: string;
7
8
  message: string;
@@ -40,6 +41,8 @@ export interface ComposerProps {
40
41
  ring?: boolean;
41
42
  /** `onText` shows the send button only while there is something to send or stop. Default `always`. */
42
43
  sendReveal?: "always" | "onText";
44
+ /** Icon name for the send button. Default: send. */
45
+ sendIcon?: AppIconName;
43
46
  maxLength?: number;
44
47
  /** The box grows to this many lines, then scrolls. Default 5. */
45
48
  maxLines?: number;
@@ -33,10 +33,14 @@ export interface ScreenProps<ItemT = unknown> {
33
33
  subtitle?: string;
34
34
  /** Large title that collapses into the bar on scroll. Default true. */
35
35
  largeTitle?: boolean;
36
+ /** Shows a shadow under the fixed app bar once the content scrolls. Default: the theme's `components.screen.headerShadowOnScroll`, else true. */
37
+ headerShadowOnScroll?: boolean;
36
38
  /** Shows the back chevron; runs on press and on Android Back. */
37
39
  onBack?: () => void;
38
40
  rightActions?: AppBarAction[];
39
41
  leading?: React.ReactNode;
42
+ /** A node at the bar's right edge, such as a profile avatar, in place of the last right action. */
43
+ trailing?: React.ReactNode;
40
44
  /** Scroll and fixed modes: the content. List mode: overlays (sheets, dialogs) drawn above the list. */
41
45
  children?: React.ReactNode;
42
46
  onRefresh?: () => unknown;
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * SegmentedControl — iOS-style segmented control.
3
3
  *
4
- * Rounded container with equal-width segments and an animated thumb that
4
+ * Rounded container whose segments take the width of their labels, sharing
5
+ * any free room, and an animated thumb that
5
6
  * springs between selected segments. Theme-aware, dark-mode friendly,
6
7
  * fully accessible (radiogroup / radio roles + selected state).
7
8
  *
@@ -2,7 +2,7 @@ import type React from "react";
2
2
  import type { SafeAreaEdge } from "../components/KeyboardAwareScrollView/KeyboardAwareScrollView";
3
3
  import { type ScreenProps } from "../components/Screen";
4
4
  /**
5
- * "pushed" (default): back arrow that runs `onBack` or navigation.goBack(); "tab": large title, no back arrow, top edge only,
5
+ * "pushed" (default): back arrow that runs `onBack` or navigation.goBack(); "tab": a fixed bar with no back arrow, top edge only,
6
6
  * and the tab bar's height as bottomInset when theme settings components.screen.tabBarFloats is true; "root": no back arrow.
7
7
  */
8
8
  export type NavigationScreenKind = "pushed" | "tab" | "root";
@@ -12,7 +12,7 @@ export interface NavigationScreenProps<ItemT = unknown> extends Omit<ScreenProps
12
12
  edges?: SafeAreaEdge[];
13
13
  /**
14
14
  * Draw the app bar. Default `true`. `false` draws no bar and no back arrow, and drops the title, subtitle,
15
- * leading and right actions with it; the safe area, keyboard handling, refresh, footer and list mode stay.
15
+ * leading, trailing and right actions with it; the safe area, keyboard handling, refresh, footer and list mode stay.
16
16
  */
17
17
  appBar?: boolean;
18
18
  }
@@ -3,6 +3,10 @@ import type { ViewStyle } from "react-native";
3
3
  export interface NetworkStatusBannerProps {
4
4
  /** Override the default offline message. */
5
5
  message?: string;
6
+ /** Shown on the success colour when the connection comes back, before the banner slides away. */
7
+ restoredMessage?: string;
8
+ /** How long the restored message stays, in ms. Default 2000. */
9
+ restoredDuration?: number;
6
10
  /** Render at the top (default) or bottom of the screen. */
7
11
  position?: "top" | "bottom";
8
12
  /** Optional style override for the banner container. */
@@ -17,8 +21,9 @@ export interface NetworkStatusBannerProps {
17
21
  safeArea?: boolean;
18
22
  }
19
23
  /**
20
- * A subtle animated banner that slides in when the device goes offline.
21
- * Mount once near the app root (above your navigation tree).
24
+ * A subtle animated banner that slides in when the device goes offline. When the
25
+ * connection comes back it turns to the success colour with the restored message,
26
+ * then slides away. Mount once near the app root (above your navigation tree).
22
27
  */
23
28
  export declare const NetworkStatusBanner: React.FC<NetworkStatusBannerProps>;
24
29
  export default NetworkStatusBanner;
@@ -1,4 +1,4 @@
1
- export declare const COLOR_NAMES: readonly ["bg", "bg-subtle", "bg-muted", "surface", "surface-inverse", "surface-dark", "surface-dark-border", "on-surface-dark", "on-surface-dark-muted", "text", "text-body", "text-muted", "text-subtle", "text-inverse", "link", "border", "border-subtle", "field-bg", "field-border", "field-border-focus", "focus-ring", "scrim", "on-scrim", "thumb", "primary", "primary-hover", "primary-soft", "primary-text", "on-primary", "primary-wash", "primary-wash-strong", "neutral", "neutral-hover", "neutral-text", "on-neutral", "success", "success-soft", "success-text", "on-success", "warning", "warning-soft", "warning-text", "on-warning", "danger", "danger-soft", "danger-border", "danger-text", "on-danger", "info", "info-soft", "info-text", "on-info", "primary-pressed", "on-neutral-strong", "text-disabled", "surface-pressed", "surface-hover", "surface-selected", "surface-disabled", "skeleton", "skeleton-highlight", "glass-fill", "glass-border", "on-glass", "glass-badge", "field-bg-focus", "field-bg-disabled", "field-border-error", "field-label", "field-text", "field-text-disabled", "field-placeholder", "field-placeholder-disabled", "field-icon", "field-icon-focus", "field-icon-disabled", "field-caret", "field-message", "avatar-1", "avatar-2", "avatar-3", "avatar-4", "avatar-5", "avatar-6", "avatar-7", "avatar-8"];
1
+ export declare const COLOR_NAMES: readonly ["bg", "bg-subtle", "bg-muted", "surface", "surface-inverse", "surface-dark", "surface-dark-border", "on-surface-dark", "on-surface-dark-muted", "text", "text-body", "text-muted", "text-subtle", "text-inverse", "link", "border", "border-subtle", "field-bg", "field-border", "field-border-focus", "focus-ring", "scrim", "on-scrim", "thumb", "primary", "primary-hover", "primary-soft", "primary-text", "on-primary", "primary-wash", "primary-wash-strong", "neutral", "neutral-hover", "neutral-text", "on-neutral", "success", "success-soft", "success-text", "on-success", "warning", "warning-soft", "warning-text", "on-warning", "danger", "danger-soft", "danger-border", "danger-text", "offline-fill", "online-fill", "on-danger", "info", "info-soft", "info-text", "on-info", "primary-pressed", "switch-thumb", "on-neutral-strong", "text-disabled", "surface-pressed", "surface-hover", "surface-selected", "surface-disabled", "skeleton", "skeleton-highlight", "glass-fill", "glass-border", "on-glass", "glass-badge", "field-bg-focus", "field-bg-disabled", "field-border-error", "field-label", "field-text", "field-text-disabled", "field-placeholder", "field-placeholder-disabled", "field-icon", "field-icon-focus", "field-icon-disabled", "field-caret", "field-message", "avatar-1", "avatar-2", "avatar-3", "avatar-4", "avatar-5", "avatar-6", "avatar-7", "avatar-8"];
2
2
  export type ColorName = (typeof COLOR_NAMES)[number];
3
3
  export declare const SPACE_NAMES: readonly ["none", "xxs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl"];
4
4
  export type SpaceName = (typeof SPACE_NAMES)[number];
@@ -166,9 +166,13 @@ export interface ComponentSettings {
166
166
  defaultSize?: EmptyStateSize;
167
167
  defaultVariant?: EmptyStateVariant;
168
168
  };
169
- /** NavigationScreen with kind "tab" adds the tab bar's height under content and footer when the app's tab bar floats over the screens. */
169
+ /**
170
+ * tabBarFloats: NavigationScreen with kind "tab" adds the tab bar's height under content and footer when the app's tab bar floats over the screens.
171
+ * headerShadowOnScroll: false stops every Screen's fixed app bar from showing a shadow once its content scrolls (default true); a Screen's own `headerShadowOnScroll` wins.
172
+ */
170
173
  screen?: {
171
174
  tabBarFloats?: boolean;
175
+ headerShadowOnScroll?: boolean;
172
176
  };
173
177
  }
174
178
  export interface ThemeSettings {
@@ -98,8 +98,10 @@ export interface AppBarProps {
98
98
  titleOffset?: number;
99
99
  /** Bar height in pt, excluding the safe-area top. Overrides the variant's height; ignored while collapsing. */
100
100
  height?: number;
101
- /** Hairline under the bar. Default `true` unless `transparent`. */
101
+ /** Hairline under the bar. Off by default; pass `true` to draw it. */
102
102
  divider?: boolean;
103
+ /** Draws the theme's light `card` shadow under the bar, for content scrolled beneath it. Ignored when `transparent`. */
104
+ elevated?: boolean;
103
105
  variant?: AppBarVariant;
104
106
  transparent?: boolean;
105
107
  /**
@@ -0,0 +1,7 @@
1
+ export declare const writeImage: (fileName: string, bytes: Uint8Array<ArrayBuffer>, _contentType: string) => string;
2
+ export declare const imageUri: (fileName: string) => string;
3
+ export declare const imageExists: (fileName: string) => boolean;
4
+ export declare const deleteImage: (fileName: string) => void;
5
+ export declare const listImageNames: () => string[];
6
+ export declare const clearImages: () => void;
7
+ //# sourceMappingURL=imageStore.d.ts.map
@@ -0,0 +1,7 @@
1
+ export declare const writeImage: (fileName: string, bytes: Uint8Array<ArrayBuffer>, contentType: string) => string;
2
+ export declare const imageUri: (fileName: string) => string;
3
+ export declare const imageExists: (fileName: string) => boolean;
4
+ export declare const deleteImage: (fileName: string) => void;
5
+ export declare const listImageNames: () => string[];
6
+ export declare const clearImages: () => void;
7
+ //# sourceMappingURL=imageStore.web.d.ts.map
@@ -97,9 +97,9 @@ interface BaseChoiceGroupProps<T = ChoiceOption> {
97
97
  /** Allow options to wrap onto multiple lines (swatch grids). Default `false`. */
98
98
  wrap?: boolean;
99
99
  /**
100
- * Stretch options equally along the main axis. Default: `true` for an
101
- * unwrapped row of cards (the status-picker look), `false` otherwise; a
102
- * chip hugs its content.
100
+ * Stretch options to fill the main axis. A stretched row moves an option to
101
+ * the next line when it does not fit. Default: `true` for an unwrapped row of
102
+ * cards (the status-picker look), `false` otherwise; a chip hugs its content.
103
103
  */
104
104
  fullWidth?: boolean;
105
105
  /** Disables the whole group. Per-option `disabled` still applies on top. */
@@ -2,6 +2,7 @@ import type React from "react";
2
2
  import type { StyleProp, ViewStyle } from "react-native";
3
3
  import { TextInput } from "react-native";
4
4
  import type { HapticType } from "../../utils/hapticUtils.js";
5
+ import type { AppIconName } from "../AppIcon/AppIcon.js";
5
6
  export interface ComposerLabels {
6
7
  send: string;
7
8
  message: string;
@@ -40,6 +41,8 @@ export interface ComposerProps {
40
41
  ring?: boolean;
41
42
  /** `onText` shows the send button only while there is something to send or stop. Default `always`. */
42
43
  sendReveal?: "always" | "onText";
44
+ /** Icon name for the send button. Default: send. */
45
+ sendIcon?: AppIconName;
43
46
  maxLength?: number;
44
47
  /** The box grows to this many lines, then scrolls. Default 5. */
45
48
  maxLines?: number;
@@ -33,10 +33,14 @@ export interface ScreenProps<ItemT = unknown> {
33
33
  subtitle?: string;
34
34
  /** Large title that collapses into the bar on scroll. Default true. */
35
35
  largeTitle?: boolean;
36
+ /** Shows a shadow under the fixed app bar once the content scrolls. Default: the theme's `components.screen.headerShadowOnScroll`, else true. */
37
+ headerShadowOnScroll?: boolean;
36
38
  /** Shows the back chevron; runs on press and on Android Back. */
37
39
  onBack?: () => void;
38
40
  rightActions?: AppBarAction[];
39
41
  leading?: React.ReactNode;
42
+ /** A node at the bar's right edge, such as a profile avatar, in place of the last right action. */
43
+ trailing?: React.ReactNode;
40
44
  /** Scroll and fixed modes: the content. List mode: overlays (sheets, dialogs) drawn above the list. */
41
45
  children?: React.ReactNode;
42
46
  onRefresh?: () => unknown;
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * SegmentedControl — iOS-style segmented control.
3
3
  *
4
- * Rounded container with equal-width segments and an animated thumb that
4
+ * Rounded container whose segments take the width of their labels, sharing
5
+ * any free room, and an animated thumb that
5
6
  * springs between selected segments. Theme-aware, dark-mode friendly,
6
7
  * fully accessible (radiogroup / radio roles + selected state).
7
8
  *
@@ -2,7 +2,7 @@ import type React from "react";
2
2
  import type { SafeAreaEdge } from "../components/KeyboardAwareScrollView/KeyboardAwareScrollView.js";
3
3
  import { type ScreenProps } from "../components/Screen/index.js";
4
4
  /**
5
- * "pushed" (default): back arrow that runs `onBack` or navigation.goBack(); "tab": large title, no back arrow, top edge only,
5
+ * "pushed" (default): back arrow that runs `onBack` or navigation.goBack(); "tab": a fixed bar with no back arrow, top edge only,
6
6
  * and the tab bar's height as bottomInset when theme settings components.screen.tabBarFloats is true; "root": no back arrow.
7
7
  */
8
8
  export type NavigationScreenKind = "pushed" | "tab" | "root";
@@ -12,7 +12,7 @@ export interface NavigationScreenProps<ItemT = unknown> extends Omit<ScreenProps
12
12
  edges?: SafeAreaEdge[];
13
13
  /**
14
14
  * Draw the app bar. Default `true`. `false` draws no bar and no back arrow, and drops the title, subtitle,
15
- * leading and right actions with it; the safe area, keyboard handling, refresh, footer and list mode stay.
15
+ * leading, trailing and right actions with it; the safe area, keyboard handling, refresh, footer and list mode stay.
16
16
  */
17
17
  appBar?: boolean;
18
18
  }
@@ -3,6 +3,10 @@ import type { ViewStyle } from "react-native";
3
3
  export interface NetworkStatusBannerProps {
4
4
  /** Override the default offline message. */
5
5
  message?: string;
6
+ /** Shown on the success colour when the connection comes back, before the banner slides away. */
7
+ restoredMessage?: string;
8
+ /** How long the restored message stays, in ms. Default 2000. */
9
+ restoredDuration?: number;
6
10
  /** Render at the top (default) or bottom of the screen. */
7
11
  position?: "top" | "bottom";
8
12
  /** Optional style override for the banner container. */
@@ -17,8 +21,9 @@ export interface NetworkStatusBannerProps {
17
21
  safeArea?: boolean;
18
22
  }
19
23
  /**
20
- * A subtle animated banner that slides in when the device goes offline.
21
- * Mount once near the app root (above your navigation tree).
24
+ * A subtle animated banner that slides in when the device goes offline. When the
25
+ * connection comes back it turns to the success colour with the restored message,
26
+ * then slides away. Mount once near the app root (above your navigation tree).
22
27
  */
23
28
  export declare const NetworkStatusBanner: React.FC<NetworkStatusBannerProps>;
24
29
  export default NetworkStatusBanner;
@@ -1,4 +1,4 @@
1
- export declare const COLOR_NAMES: readonly ["bg", "bg-subtle", "bg-muted", "surface", "surface-inverse", "surface-dark", "surface-dark-border", "on-surface-dark", "on-surface-dark-muted", "text", "text-body", "text-muted", "text-subtle", "text-inverse", "link", "border", "border-subtle", "field-bg", "field-border", "field-border-focus", "focus-ring", "scrim", "on-scrim", "thumb", "primary", "primary-hover", "primary-soft", "primary-text", "on-primary", "primary-wash", "primary-wash-strong", "neutral", "neutral-hover", "neutral-text", "on-neutral", "success", "success-soft", "success-text", "on-success", "warning", "warning-soft", "warning-text", "on-warning", "danger", "danger-soft", "danger-border", "danger-text", "on-danger", "info", "info-soft", "info-text", "on-info", "primary-pressed", "on-neutral-strong", "text-disabled", "surface-pressed", "surface-hover", "surface-selected", "surface-disabled", "skeleton", "skeleton-highlight", "glass-fill", "glass-border", "on-glass", "glass-badge", "field-bg-focus", "field-bg-disabled", "field-border-error", "field-label", "field-text", "field-text-disabled", "field-placeholder", "field-placeholder-disabled", "field-icon", "field-icon-focus", "field-icon-disabled", "field-caret", "field-message", "avatar-1", "avatar-2", "avatar-3", "avatar-4", "avatar-5", "avatar-6", "avatar-7", "avatar-8"];
1
+ export declare const COLOR_NAMES: readonly ["bg", "bg-subtle", "bg-muted", "surface", "surface-inverse", "surface-dark", "surface-dark-border", "on-surface-dark", "on-surface-dark-muted", "text", "text-body", "text-muted", "text-subtle", "text-inverse", "link", "border", "border-subtle", "field-bg", "field-border", "field-border-focus", "focus-ring", "scrim", "on-scrim", "thumb", "primary", "primary-hover", "primary-soft", "primary-text", "on-primary", "primary-wash", "primary-wash-strong", "neutral", "neutral-hover", "neutral-text", "on-neutral", "success", "success-soft", "success-text", "on-success", "warning", "warning-soft", "warning-text", "on-warning", "danger", "danger-soft", "danger-border", "danger-text", "offline-fill", "online-fill", "on-danger", "info", "info-soft", "info-text", "on-info", "primary-pressed", "switch-thumb", "on-neutral-strong", "text-disabled", "surface-pressed", "surface-hover", "surface-selected", "surface-disabled", "skeleton", "skeleton-highlight", "glass-fill", "glass-border", "on-glass", "glass-badge", "field-bg-focus", "field-bg-disabled", "field-border-error", "field-label", "field-text", "field-text-disabled", "field-placeholder", "field-placeholder-disabled", "field-icon", "field-icon-focus", "field-icon-disabled", "field-caret", "field-message", "avatar-1", "avatar-2", "avatar-3", "avatar-4", "avatar-5", "avatar-6", "avatar-7", "avatar-8"];
2
2
  export type ColorName = (typeof COLOR_NAMES)[number];
3
3
  export declare const SPACE_NAMES: readonly ["none", "xxs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl"];
4
4
  export type SpaceName = (typeof SPACE_NAMES)[number];
@@ -166,9 +166,13 @@ export interface ComponentSettings {
166
166
  defaultSize?: EmptyStateSize;
167
167
  defaultVariant?: EmptyStateVariant;
168
168
  };
169
- /** NavigationScreen with kind "tab" adds the tab bar's height under content and footer when the app's tab bar floats over the screens. */
169
+ /**
170
+ * tabBarFloats: NavigationScreen with kind "tab" adds the tab bar's height under content and footer when the app's tab bar floats over the screens.
171
+ * headerShadowOnScroll: false stops every Screen's fixed app bar from showing a shadow once its content scrolls (default true); a Screen's own `headerShadowOnScroll` wins.
172
+ */
170
173
  screen?: {
171
174
  tabBarFloats?: boolean;
175
+ headerShadowOnScroll?: boolean;
172
176
  };
173
177
  }
174
178
  export interface ThemeSettings {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.131.0",
3
+ "version": "0.133.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.131.0"
118
+ "@webority/markdown-core": "0.133.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.131.0",
124
- "@webority/mobile-core": "0.131.0",
123
+ "@webority/canvas-kit": "0.133.0",
124
+ "@webority/mobile-core": "0.133.0",
125
125
  "expo": ">=57.0.0",
126
126
  "expo-file-system": ">=57.0.0",
127
127
  "expo-haptics": ">=57.0.0",
@@ -185,10 +185,10 @@
185
185
  "@types/node": "25.6.0",
186
186
  "@types/react": "19.2.18",
187
187
  "@types/react-test-renderer": "19.1.0",
188
- "@webority/canvas-kit": "0.131.0",
189
- "@webority/mobile-core": "0.131.0",
188
+ "@webority/canvas-kit": "0.133.0",
189
+ "@webority/mobile-core": "0.133.0",
190
190
  "@webority/mobile-dev": "0.0.0",
191
- "@webority/tokens": "0.131.0",
191
+ "@webority/tokens": "0.133.0",
192
192
  "expo": "57.0.31",
193
193
  "expo-file-system": "57.0.7",
194
194
  "expo-haptics": "57.0.3",