@webority/mobile-ui 0.95.0 → 0.98.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 (97) hide show
  1. package/dist/canvas-kit/kit.css +0 -0
  2. package/dist/canvas-kit/kit.js +52518 -0
  3. package/dist/canvas-kit/manifest.json +21091 -0
  4. package/dist/canvas-kit/release.json +25 -0
  5. package/lib/commonjs/canvasKit/index.js +1 -1
  6. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  7. package/lib/commonjs/components/Avatar/Avatar.js +1 -1
  8. package/lib/commonjs/components/Banner/Banner.js +1 -1
  9. package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
  10. package/lib/commonjs/components/Button/Button.js +1 -1
  11. package/lib/commonjs/components/Calendar/Calendar.js +1 -1
  12. package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
  13. package/lib/commonjs/components/Chip/Chip.js +1 -1
  14. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  15. package/lib/commonjs/components/EmptyState/EmptyState.meta.js +1 -1
  16. package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
  17. package/lib/commonjs/components/IconButton/IconButton.js +1 -1
  18. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  19. package/lib/commonjs/components/InlineSelect/InlineSelect.js +1 -1
  20. package/lib/commonjs/components/Input/Input.js +1 -1
  21. package/lib/commonjs/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
  22. package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
  23. package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  24. package/lib/commonjs/components/Radio/Radio.js +1 -1
  25. package/lib/commonjs/components/Rating/Rating.js +1 -1
  26. package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
  27. package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
  28. package/lib/commonjs/components/SliderField/SliderField.js +1 -1
  29. package/lib/commonjs/components/Stepper/Stepper.js +1 -1
  30. package/lib/commonjs/components/Switch/Switch.js +1 -1
  31. package/lib/commonjs/components/Text/Text.js +1 -1
  32. package/lib/commonjs/components/Toast/Toast.js +1 -1
  33. package/lib/commonjs/index.js +1 -1
  34. package/lib/commonjs/theme/index.js +1 -1
  35. package/lib/module/canvasKit/index.js +1 -1
  36. package/lib/module/components/AppBar/AppBar.js +1 -1
  37. package/lib/module/components/Avatar/Avatar.js +1 -1
  38. package/lib/module/components/Banner/Banner.js +1 -1
  39. package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
  40. package/lib/module/components/Button/Button.js +1 -1
  41. package/lib/module/components/Calendar/Calendar.js +1 -1
  42. package/lib/module/components/Checkbox/Checkbox.js +1 -1
  43. package/lib/module/components/Chip/Chip.js +1 -1
  44. package/lib/module/components/DatePicker/DatePicker.js +1 -1
  45. package/lib/module/components/EmptyState/EmptyState.meta.js +1 -1
  46. package/lib/module/components/FilePicker/FilePicker.js +1 -1
  47. package/lib/module/components/IconButton/IconButton.js +1 -1
  48. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  49. package/lib/module/components/InlineSelect/InlineSelect.js +1 -1
  50. package/lib/module/components/Input/Input.js +1 -1
  51. package/lib/module/components/KeyboardToolbar/KeyboardToolbar.js +1 -1
  52. package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
  53. package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
  54. package/lib/module/components/Radio/Radio.js +1 -1
  55. package/lib/module/components/Rating/Rating.js +1 -1
  56. package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
  57. package/lib/module/components/SearchBar/SearchBar.js +1 -1
  58. package/lib/module/components/SliderField/SliderField.js +1 -1
  59. package/lib/module/components/Stepper/Stepper.js +1 -1
  60. package/lib/module/components/Switch/Switch.js +1 -1
  61. package/lib/module/components/Text/Text.js +1 -1
  62. package/lib/module/components/Toast/Toast.js +1 -1
  63. package/lib/module/index.js +1 -1
  64. package/lib/module/theme/index.js +1 -1
  65. package/lib/typescript/commonjs/canvasKit/index.d.ts +20 -3
  66. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +1 -0
  67. package/lib/typescript/commonjs/components/Button/Button.meta.d.ts +1 -1
  68. package/lib/typescript/commonjs/components/Card/Card.meta.d.ts +1 -1
  69. package/lib/typescript/commonjs/components/Checkbox/Checkbox.meta.d.ts +1 -1
  70. package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.meta.d.ts +1 -1
  71. package/lib/typescript/commonjs/components/EmptyState/EmptyState.meta.d.ts +1 -1
  72. package/lib/typescript/commonjs/components/Input/Input.meta.d.ts +1 -1
  73. package/lib/typescript/commonjs/components/Radio/Radio.meta.d.ts +1 -1
  74. package/lib/typescript/commonjs/components/SearchBar/SearchBar.meta.d.ts +1 -1
  75. package/lib/typescript/commonjs/components/Switch/Switch.meta.d.ts +1 -1
  76. package/lib/typescript/commonjs/components/Text/Text.meta.d.ts +1 -1
  77. package/lib/typescript/commonjs/index.d.ts +2 -3
  78. package/lib/typescript/commonjs/theme/index.d.ts +0 -20
  79. package/lib/typescript/module/canvasKit/index.d.ts +20 -3
  80. package/lib/typescript/module/components/AppBar/AppBar.d.ts +1 -0
  81. package/lib/typescript/module/components/Button/Button.meta.d.ts +1 -1
  82. package/lib/typescript/module/components/Card/Card.meta.d.ts +1 -1
  83. package/lib/typescript/module/components/Checkbox/Checkbox.meta.d.ts +1 -1
  84. package/lib/typescript/module/components/DecimalInput/DecimalInput.meta.d.ts +1 -1
  85. package/lib/typescript/module/components/EmptyState/EmptyState.meta.d.ts +1 -1
  86. package/lib/typescript/module/components/Input/Input.meta.d.ts +1 -1
  87. package/lib/typescript/module/components/Radio/Radio.meta.d.ts +1 -1
  88. package/lib/typescript/module/components/SearchBar/SearchBar.meta.d.ts +1 -1
  89. package/lib/typescript/module/components/Switch/Switch.meta.d.ts +1 -1
  90. package/lib/typescript/module/components/Text/Text.meta.d.ts +1 -1
  91. package/lib/typescript/module/index.d.ts +2 -3
  92. package/lib/typescript/module/theme/index.d.ts +0 -20
  93. package/package.json +10 -8
  94. package/lib/commonjs/initUI.js +0 -1
  95. package/lib/module/initUI.js +0 -1
  96. package/lib/typescript/commonjs/initUI.d.ts +0 -12
  97. package/lib/typescript/module/initUI.d.ts +0 -12
@@ -1,23 +1,3 @@
1
- import type { BrandOverrides, ColorMode, Theme, ThemeSettings } from "./types";
2
- /**
3
- * Set the brand and the settings the app's theme is built from.
4
- *
5
- * REPLACES both stored values; it does not accumulate them. Calling
6
- * `setTheme(brandA)` and then `setTheme(undefined, settingsB)` leaves ONLY
7
- * settingsB live: the brand silently reverts to the base theme. Pass the
8
- * complete brand and settings in one call, or merge them yourself before calling.
9
- *
10
- * This is deliberate (one call sets the whole configuration, last call wins) and
11
- * is pinned by a test. Do not "fix" it to merge without treating that as the
12
- * behaviour change it is: an app relying on replace to CLEAR a previous brand
13
- * would silently keep it.
14
- */
15
- export declare const setTheme: (brand?: BrandOverrides, settings?: ThemeSettings) => void;
16
- export declare const setColorMode: (mode: ColorMode) => void;
17
- export declare const getColorMode: () => ColorMode;
18
- export declare const getTheme: () => Theme;
19
- export declare const resetTheme: () => void;
20
- export declare const subscribeTheme: (callback: () => void) => (() => void);
21
1
  export { createAnimatedValue, setNativeValue } from "./animatedValue";
22
2
  export type { Resolved } from "./componentSizes";
23
3
  export { resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, validateComponentTokens, } from "./componentSizes";
@@ -2,11 +2,27 @@ import { type ReactNode } from "react";
2
2
  import { View } from "react-native";
3
3
  import type { ColorMode } from "../theme/types.js";
4
4
  export type PhoneChromeOs = "Ios" | "Android";
5
+ export declare const PHONE_CHROME_INSETS: {
6
+ readonly Ios: {
7
+ readonly top: 54;
8
+ readonly bottom: 34;
9
+ };
10
+ readonly Android: {
11
+ readonly top: 24;
12
+ readonly bottom: 0;
13
+ };
14
+ };
5
15
  export interface StatusBarProps {
6
16
  os: PhoneChromeOs;
7
17
  colorMode?: ColorMode;
18
+ /** The clock as shown, such as 9:41. */
19
+ time?: string;
20
+ /** Signal strength in bars, 0 to 4. */
21
+ signal?: number;
22
+ /** Battery level in percent, 0 to 100. */
23
+ battery?: number;
8
24
  }
9
- export declare const StatusBar: ({ os, colorMode }: StatusBarProps) => import("react").CElement<import("react-native").ViewProps, View>;
25
+ export declare const StatusBar: ({ os, colorMode, time, signal, battery }: StatusBarProps) => import("react").CElement<import("react-native").ViewProps, View>;
10
26
  export interface HomeIndicatorProps {
11
27
  os: PhoneChromeOs;
12
28
  colorMode?: ColorMode;
@@ -31,9 +47,10 @@ export interface KeyboardFrameProps {
31
47
  export declare const KeyboardFrame: ({ colorMode, previewOs, children }: KeyboardFrameProps) => import("react").CElement<import("react-native").ViewProps, View>;
32
48
  export interface PhoneChromeManifestProp {
33
49
  name: string;
34
- type: "enum";
35
- enum: string[];
50
+ type: "enum" | "string" | "number";
51
+ enum?: string[];
36
52
  required: boolean;
53
+ description?: string;
37
54
  }
38
55
  export interface PhoneChromeManifestComponent {
39
56
  name: string;
@@ -24,6 +24,7 @@ export interface AppBarRightAction extends AppBarAction {
24
24
  }
25
25
  export interface AppBarProps {
26
26
  title?: string;
27
+ /** One line, two on the large variant; longer text ends in an ellipsis. */
27
28
  subtitle?: string;
28
29
  titleAlignment?: AppBarTitleAlignment;
29
30
  leftAction?: AppBarAction;
@@ -1,3 +1,3 @@
1
1
  import type { ButtonProps } from "./Button.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<ButtonProps, "gradient" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "haptic" | "pressRetentionOffset" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay" | "pressAnimation", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<ButtonProps, "gradient" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "pressRetentionOffset" | "haptic" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay" | "pressAnimation", never>;
3
3
  //# sourceMappingURL=Button.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { CardProps } from "./Card.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<CardProps, "gradient" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "haptic" | "pressRetentionOffset" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay" | "imageSource", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<CardProps, "gradient" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "pressRetentionOffset" | "haptic" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay" | "imageSource", never>;
3
3
  //# sourceMappingURL=Card.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { CheckboxProps } from "./Checkbox.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<CheckboxProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "haptic" | "pressRetentionOffset" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<CheckboxProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "pressRetentionOffset" | "haptic" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay", never>;
3
3
  //# sourceMappingURL=Checkbox.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { DecimalInputProps } from "./DecimalInput.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<DecimalInputProps, "maxFontSizeMultiplier" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "textAlign" | "textAlignVertical" | "verticalAlign" | "selection" | "scrollEnabled" | "allowFontScaling" | "numberOfLines" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "defaultValue" | "returnKeyType" | "submitBehavior" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "editable" | "inputMode" | "placeholderTextColor" | "enterKeyHint" | "selectTextOnFocus" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<DecimalInputProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "maxFontSizeMultiplier" | "textAlign" | "textAlignVertical" | "verticalAlign" | "numberOfLines" | "allowFontScaling" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "selection" | "scrollEnabled" | "defaultValue" | "returnKeyType" | "submitBehavior" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "editable" | "inputMode" | "placeholderTextColor" | "enterKeyHint" | "selectTextOnFocus" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus", never>;
3
3
  //# sourceMappingURL=DecimalInput.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { EmptyStateProps } from "./EmptyState.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<EmptyStateProps, "action" | "secondaryAction", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<EmptyStateProps, never, never>;
3
3
  //# sourceMappingURL=EmptyState.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { InputProps } from "./Input.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<InputProps, "maxFontSizeMultiplier" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "textAlign" | "textAlignVertical" | "verticalAlign" | "selection" | "scrollEnabled" | "allowFontScaling" | "numberOfLines" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "defaultValue" | "submitBehavior" | "autoComplete" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "inputMode" | "placeholderTextColor" | "enterKeyHint" | "selectTextOnFocus" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus" | "leftIcon" | "rightIcon" | "action", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<InputProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "maxFontSizeMultiplier" | "textAlign" | "textAlignVertical" | "verticalAlign" | "numberOfLines" | "allowFontScaling" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "selection" | "scrollEnabled" | "defaultValue" | "submitBehavior" | "autoComplete" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "inputMode" | "placeholderTextColor" | "enterKeyHint" | "selectTextOnFocus" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus" | "leftIcon" | "rightIcon" | "action", never>;
3
3
  //# sourceMappingURL=Input.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { RadioProps } from "./Radio.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<RadioProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "haptic" | "pressRetentionOffset" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<RadioProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "pressRetentionOffset" | "haptic" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay", never>;
3
3
  //# sourceMappingURL=Radio.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { SearchBarProps } from "./SearchBar.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<Pick<SearchBarProps, "disabled" | "size" | "value" | "label" | "accessibilityLabel" | "borderRadius" | "variant" | "placeholder" | "haptic" | "autoFocus" | "leftIcon" | "labelMode" | "scope" | "scopes" | "recents" | "suggestions" | "debounceMs" | "recentsTitle" | "maxRecents" | "maxSuggestions">, "haptic", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<Pick<SearchBarProps, "disabled" | "size" | "accessibilityLabel" | "value" | "label" | "borderRadius" | "variant" | "placeholder" | "haptic" | "autoFocus" | "leftIcon" | "labelMode" | "scope" | "scopes" | "recents" | "suggestions" | "debounceMs" | "recentsTitle" | "maxRecents" | "maxSuggestions">, "haptic", never>;
3
3
  //# sourceMappingURL=SearchBar.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { SwitchProps } from "./Switch.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<SwitchProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "haptic" | "pressRetentionOffset" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<SwitchProps, "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "pointerEvents" | "removeClippedSubviews" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "pressRetentionOffset" | "haptic" | "delayLongPress" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay", never>;
3
3
  //# sourceMappingURL=Switch.meta.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { TextProps } from "./Text.js";
2
- export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<TextProps, "disabled" | "maxFontSizeMultiplier" | "id" | "pointerEvents" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "minimumFontScale" | "pressRetentionOffset" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency", never>;
2
+ export declare const meta: import("../../canvasKit/meta.js").PhoneMeta<TextProps, "disabled" | "id" | "pointerEvents" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "maxFontSizeMultiplier" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "minimumFontScale" | "pressRetentionOffset" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency", never>;
3
3
  //# sourceMappingURL=Text.meta.d.ts.map
@@ -1,3 +1,4 @@
1
+ export { PHONE_CHROME_INSETS } from "./canvasKit/index.js";
1
2
  export * from "./components/index.js";
2
3
  export type { AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, SlotIcon, SlotIconRef, SlotIconState, SlotNode, } from "./components/AppIcon/index.js";
3
4
  export { APP_ICON_SIZES, AppIcon, CURATED_ICON_NAMES, defaultIcons, ICON_NAMES, ICONSAX_SUFFIX, renderSlotIcon, } from "./components/AppIcon/index.js";
@@ -5,12 +6,10 @@ export type { FieldArrayApi, FieldInputProps, FieldRules, FieldState, FocusableN
5
6
  export { deletePath, Form, getPath, HookFormField, isFieldFilled, rules, setPath, useField, useFieldArray, useForm, useFormCompletion, useFormContext, useHookFormField, useOptionalFormContext, } from "./form/index.js";
6
7
  export type { FieldChain, FieldChainProps, MotionDurationKey, PresenceMotion, PressAnimationPreset, ScrollDirection, UseControllableStateOptions, UsePressAnimationOptions, UsePressAnimationResult, UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, UseScrollDirectionOptions, UseScrollDirectionResult, UseToggleResult, } from "./hooks/index.js";
7
8
  export { FLICK_TOLERANCE, PRESENCE_REDUCE_MOTION, PRESS_ANIMATION_PRESETS, useControllableState, useDebounce, useFieldChain, useFlickGuard, usePresenceMotion, usePressAnimation, useReducedMotion, useRefreshControl, useScrollDirection, useToggle, } from "./hooks/index.js";
8
- export type { InitUIOptions } from "./initUI.js";
9
- export { initUI } from "./initUI.js";
10
9
  export type { NetworkStatusBannerProps } from "./network/index.js";
11
10
  export { NetworkStatusBanner } from "./network/index.js";
12
11
  export type { BrandOverrides, ColorMode, ColorName, ColorSchemePreference, ComponentName, ComponentSettings, ComponentSizeTokens, ComponentTokens, DurationName, EaseName, FieldVariant, FontFaces, FontName, FontWeightValue, GradientDefinition, GradientScale, IconRegistry, IconRenderer, LeadingName, LetterSpacingName, PhoneShadow, RadiusName, Resolved, ShadowName, SizeName, SpaceName, Spring, SpringScale, TextName, TextVariantSpec, Theme, ThemeProviderProps, ThemeSettings, TokenSet, WeightName, } from "./theme/index.js";
13
- export { COLOR_NAMES, DURATION_NAMES, darkTheme, EASE_NAMES, FONT_NAMES, getColorMode, getTheme, LEADING_NAMES, LETTER_SPACING_NAMES, lightTheme, mergeBrand, RADIUS_NAMES, radiusOf, resetTheme, resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, SHADOW_NAMES, SIZE_NAMES, SPACE_NAMES, setColorMode, setTheme, spaceOf, subscribeTheme, TEXT_NAMES, ThemeProvider, textOf, useTheme, useThemeMode, WEIGHT_NAMES, } from "./theme/index.js";
12
+ export { COLOR_NAMES, DURATION_NAMES, darkTheme, EASE_NAMES, FONT_NAMES, LEADING_NAMES, LETTER_SPACING_NAMES, lightTheme, mergeBrand, RADIUS_NAMES, radiusOf, resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, SHADOW_NAMES, SIZE_NAMES, SPACE_NAMES, spaceOf, TEXT_NAMES, ThemeProvider, textOf, useTheme, useThemeMode, WEIGHT_NAMES, } from "./theme/index.js";
14
13
  export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SquirclePathParams, } from "./utils/index.js";
15
14
  export { announce, Breakpoints, configureFeedback, feedback, hapticForIntent, isFeedbackEnabled, isScreenSize, isTablet, Responsive, ScreenDimensions, SQUIRCLE_MIN_RADIUS, SQUIRCLE_SMOOTHING, setHapticImplementation, shadowStyle, smoothCorners, squircleApplies, squircleHostRadius, squirclePath, triggerHaptic, useScreenDimensions, warnUnknownProps, } from "./utils/index.js";
16
15
  //# sourceMappingURL=index.d.ts.map
@@ -1,23 +1,3 @@
1
- import type { BrandOverrides, ColorMode, Theme, ThemeSettings } from "./types.js";
2
- /**
3
- * Set the brand and the settings the app's theme is built from.
4
- *
5
- * REPLACES both stored values; it does not accumulate them. Calling
6
- * `setTheme(brandA)` and then `setTheme(undefined, settingsB)` leaves ONLY
7
- * settingsB live: the brand silently reverts to the base theme. Pass the
8
- * complete brand and settings in one call, or merge them yourself before calling.
9
- *
10
- * This is deliberate (one call sets the whole configuration, last call wins) and
11
- * is pinned by a test. Do not "fix" it to merge without treating that as the
12
- * behaviour change it is: an app relying on replace to CLEAR a previous brand
13
- * would silently keep it.
14
- */
15
- export declare const setTheme: (brand?: BrandOverrides, settings?: ThemeSettings) => void;
16
- export declare const setColorMode: (mode: ColorMode) => void;
17
- export declare const getColorMode: () => ColorMode;
18
- export declare const getTheme: () => Theme;
19
- export declare const resetTheme: () => void;
20
- export declare const subscribeTheme: (callback: () => void) => (() => void);
21
1
  export { createAnimatedValue, setNativeValue } from "./animatedValue.js";
22
2
  export type { Resolved } from "./componentSizes.js";
23
3
  export { resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, validateComponentTokens, } from "./componentSizes.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/mobile-ui",
3
- "version": "0.95.0",
3
+ "version": "0.98.0",
4
4
  "description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -40,6 +40,7 @@
40
40
  "default": "./lib/commonjs/canvasKit/index.js"
41
41
  }
42
42
  },
43
+ "./canvas-kit/*": "./dist/canvas-kit/*",
43
44
  "./package.json": "./package.json"
44
45
  },
45
46
  "main": "./lib/commonjs/index.js",
@@ -49,6 +50,7 @@
49
50
  "files": [
50
51
  "lib",
51
52
  "canvas-kit.json",
53
+ "dist/canvas-kit",
52
54
  "src/specs",
53
55
  "ios",
54
56
  "android",
@@ -84,8 +86,8 @@
84
86
  "react-native-safe-area-context": ">=5.4.0",
85
87
  "react-native-svg": ">=15.0.0",
86
88
  "react-native-worklets": ">=0.10.0",
87
- "@webority/canvas-kit": "0.95.0",
88
- "@webority/mobile-core": "0.95.0"
89
+ "@webority/canvas-kit": "0.98.0",
90
+ "@webority/mobile-core": "0.98.0"
89
91
  },
90
92
  "peerDependenciesMeta": {
91
93
  "@webority/canvas-kit": {
@@ -146,13 +148,13 @@
146
148
  "react-test-renderer": "19.2.8",
147
149
  "rimraf": "6.1.3",
148
150
  "typescript": "5.9.3",
149
- "@webority/canvas-kit": "0.95.0",
150
- "@webority/mobile-core": "0.95.0",
151
- "@webority/mobile-dev": "0.0.0",
152
- "@webority/tokens": "0.95.0"
151
+ "@webority/canvas-kit": "0.98.0",
152
+ "@webority/mobile-core": "0.98.0",
153
+ "@webority/tokens": "0.98.0",
154
+ "@webority/mobile-dev": "0.0.0"
153
155
  },
154
156
  "scripts": {
155
- "build": "bob build && node ../mobile-dev/scripts/minify-lib.mjs",
157
+ "build": "bob build && node ../mobile-dev/scripts/minify-lib.mjs && node -e \"require('node:fs').rmSync('dist/canvas-kit',{recursive:true,force:true})\" && node ../canvas-kit/dist/cli.js build --config canvas-kit.json --out dist/canvas-kit",
156
158
  "clean": "rimraf lib",
157
159
  "lint": "biome lint ./src",
158
160
  "lint:fix": "biome lint --write ./src",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initUI=void 0;var _index=require("./theme/index.js");const initUI=(e={})=>{e.defaultMode&&(0,_index.setColorMode)(e.defaultMode),(e.brand||e.settings)&&(0,_index.setTheme)(e.brand,e.settings)};exports.initUI=initUI;
@@ -1 +0,0 @@
1
- "use strict";import{setColorMode,setTheme}from"./theme/index.js";export const initUI=(e={})=>{e.defaultMode&&setColorMode(e.defaultMode),(e.brand||e.settings)&&setTheme(e.brand,e.settings)};
@@ -1,12 +0,0 @@
1
- import type { BrandOverrides, ColorMode, ThemeSettings } from "./theme/types";
2
- export interface InitUIOptions {
3
- brand?: BrandOverrides;
4
- settings?: ThemeSettings;
5
- defaultMode?: ColorMode;
6
- }
7
- /**
8
- * Configure the global functional theme API used outside of React tree
9
- * (use ThemeProvider for React-tree consumers; both can coexist).
10
- */
11
- export declare const initUI: (options?: InitUIOptions) => void;
12
- //# sourceMappingURL=initUI.d.ts.map
@@ -1,12 +0,0 @@
1
- import type { BrandOverrides, ColorMode, ThemeSettings } from "./theme/types.js";
2
- export interface InitUIOptions {
3
- brand?: BrandOverrides;
4
- settings?: ThemeSettings;
5
- defaultMode?: ColorMode;
6
- }
7
- /**
8
- * Configure the global functional theme API used outside of React tree
9
- * (use ThemeProvider for React-tree consumers; both can coexist).
10
- */
11
- export declare const initUI: (options?: InitUIOptions) => void;
12
- //# sourceMappingURL=initUI.d.ts.map