@ornikar/kitt-universal 8.0.0-beta.4 → 8.0.0-beta.5

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.
@@ -56,6 +56,7 @@ export type { MessageProps } from './Message/Message';
56
56
  export { Message } from './Message/Message';
57
57
  export type { ModalProps } from './Modal/Modal';
58
58
  export { Modal } from './Modal/Modal';
59
+ export { KittNativeBaseProvider } from './native-base/KittNativeBaseProvider';
59
60
  export * from './native-base/layout';
60
61
  export * from './native-base/primitives';
61
62
  export type { NotificationProps } from './Notification/Notification';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,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,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,cAAc,qBAAqB,CAAC"}
@@ -7,7 +7,7 @@ export { useWindowDimensions as useWindowSize } from 'react-native';
7
7
  import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
8
8
  import React, { cloneElement, useContext, createContext, forwardRef, useMemo, useState, useRef, useEffect, Fragment as Fragment$1, Children } from 'react';
9
9
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
10
- import { Text as Text$1, Image as Image$1, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, View as View$2, ScrollView as ScrollView$2, Pressable as Pressable$2, NativeBaseProvider, extendTheme } from 'native-base';
10
+ import { Text as Text$1, Image as Image$1, NativeBaseProvider, extendTheme, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, View as View$2, ScrollView as ScrollView$2, Pressable as Pressable$2 } from 'native-base';
11
11
  import Animated, { useSharedValue, useAnimatedStyle, interpolateColor, withSpring, useAnimatedProps, withDelay, withTiming, Easing as Easing$1, withRepeat, interpolate } from 'react-native-reanimated';
12
12
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
13
13
  import { parse } from 'twemoji-parser';
@@ -3271,6 +3271,146 @@ function Message(_ref) {
3271
3271
  });
3272
3272
  }
3273
3273
 
3274
+ var createKittSpaces = function (spacing) {
3275
+ var sizes = {};
3276
+
3277
+ for (var size = 1; size <= 64; size++) {
3278
+ sizes["kitt.".concat(size)] = size * spacing;
3279
+ }
3280
+
3281
+ return sizes;
3282
+ }; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type -- let typescript infer types
3283
+
3284
+
3285
+ var createKittNativeBaseCustomTheme = function (theme) {
3286
+ var spaces = createKittSpaces(theme.spacing);
3287
+ var extendedTheme = extendTheme({
3288
+ colors: {
3289
+ kitt: _objectSpread(_objectSpread({}, theme.colors), {}, {
3290
+ typography: theme.typography.colors
3291
+ })
3292
+ },
3293
+ radii: {
3294
+ 'kitt.borderRadius': theme.card.borderRadius
3295
+ },
3296
+ sizes: _objectSpread(_objectSpread({}, spaces), Object.fromEntries([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 78, 80, 96, 0.5, 1.5, 2.5, 3.5].map(function (value) {
3297
+ return [value, value];
3298
+ }))),
3299
+ space: spaces,
3300
+ breakpoints: {
3301
+ // kitt breakpoints
3302
+ base: KittBreakpoints.BASE,
3303
+ small: KittBreakpoints.SMALL,
3304
+ medium: KittBreakpoints.MEDIUM,
3305
+ large: KittBreakpoints.LARGE,
3306
+ wide: KittBreakpoints.WIDE,
3307
+ // native base default naming
3308
+ sm: Number.MAX_SAFE_INTEGER,
3309
+ md: Number.MAX_SAFE_INTEGER,
3310
+ lg: Number.MAX_SAFE_INTEGER,
3311
+ xl: Number.MAX_SAFE_INTEGER,
3312
+ '2xl': Number.MAX_SAFE_INTEGER
3313
+ },
3314
+ fontSizes: {
3315
+ baseAndSmall: {
3316
+ header1: "".concat(theme.typography.types.headers.configs.header1.baseAndSmall.fontSize, "px"),
3317
+ header2: "".concat(theme.typography.types.headers.configs.header2.baseAndSmall.fontSize, "px"),
3318
+ header3: "".concat(theme.typography.types.headers.configs.header3.baseAndSmall.fontSize, "px"),
3319
+ header4: "".concat(theme.typography.types.headers.configs.header4.baseAndSmall.fontSize, "px"),
3320
+ header5: "".concat(theme.typography.types.headers.configs.header5.baseAndSmall.fontSize, "px"),
3321
+ 'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize, "px"),
3322
+ 'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize, "px"),
3323
+ body: "".concat(theme.typography.types.bodies.configs.body.baseAndSmall.fontSize, "px"),
3324
+ 'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize, "px"),
3325
+ 'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize, "px")
3326
+ },
3327
+ mediumAndWide: {
3328
+ header1: "".concat(theme.typography.types.headers.configs.header1.mediumAndWide.fontSize, "px"),
3329
+ header2: "".concat(theme.typography.types.headers.configs.header2.mediumAndWide.fontSize, "px"),
3330
+ header3: "".concat(theme.typography.types.headers.configs.header3.mediumAndWide.fontSize, "px"),
3331
+ header4: "".concat(theme.typography.types.headers.configs.header4.mediumAndWide.fontSize, "px"),
3332
+ header5: "".concat(theme.typography.types.headers.configs.header5.mediumAndWide.fontSize, "px"),
3333
+ 'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize, "px"),
3334
+ 'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize, "px"),
3335
+ body: "".concat(theme.typography.types.bodies.configs.body.mediumAndWide.fontSize, "px"),
3336
+ 'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize, "px"),
3337
+ 'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize, "px")
3338
+ }
3339
+ },
3340
+ lineHeights: {
3341
+ baseAndSmall: {
3342
+ header1: theme.typography.types.headers.configs.header1.baseAndSmall.lineHeight,
3343
+ header2: theme.typography.types.headers.configs.header2.baseAndSmall.lineHeight,
3344
+ header3: theme.typography.types.headers.configs.header3.baseAndSmall.lineHeight,
3345
+ header4: theme.typography.types.headers.configs.header4.baseAndSmall.lineHeight,
3346
+ header5: theme.typography.types.headers.configs.header5.baseAndSmall.lineHeight,
3347
+ 'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
3348
+ 'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
3349
+ body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
3350
+ 'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
3351
+ 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight
3352
+ },
3353
+ mediumAndWide: {
3354
+ header1: theme.typography.types.headers.configs.header1.mediumAndWide.lineHeight,
3355
+ header2: theme.typography.types.headers.configs.header2.mediumAndWide.lineHeight,
3356
+ header3: theme.typography.types.headers.configs.header3.mediumAndWide.lineHeight,
3357
+ header4: theme.typography.types.headers.configs.header4.mediumAndWide.lineHeight,
3358
+ header5: theme.typography.types.headers.configs.header5.mediumAndWide.lineHeight,
3359
+ 'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
3360
+ 'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
3361
+ body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
3362
+ 'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
3363
+ 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight
3364
+ }
3365
+ },
3366
+ fontWeights: {
3367
+ headers: {
3368
+ regular: theme.typography.types.headers.fontWeight,
3369
+ bold: theme.typography.types.headers.fontWeight
3370
+ },
3371
+ bodies: theme.typography.types.bodies.fontWeight
3372
+ },
3373
+ fonts: {
3374
+ headers: theme.typography.types.headers.fontFamily,
3375
+ bodies: theme.typography.types.bodies.fontFamily
3376
+ },
3377
+ components: {
3378
+ Text: {
3379
+ baseStyle: {
3380
+ _light: {
3381
+ color: 'kitt.typography.black'
3382
+ },
3383
+ _dark: {
3384
+ color: 'kitt.typography.white'
3385
+ },
3386
+ fontFamily: theme.typography.types.bodies.fontFamily.regular,
3387
+ fontStyle: theme.typography.types.bodies.fontStyle.regular,
3388
+ fontWeight: theme.typography.types.bodies.fontWeight.regular,
3389
+ fontSize: undefined,
3390
+ lineHeight: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight
3391
+ }
3392
+ }
3393
+ }
3394
+ });
3395
+ return _objectSpread(_objectSpread({}, extendedTheme), {}, {
3396
+ space: extendedTheme.space
3397
+ });
3398
+ };
3399
+ function KittNativeBaseProvider(_ref) {
3400
+ var theme = _ref.theme,
3401
+ isSSR = _ref.isSSR,
3402
+ children = _ref.children;
3403
+ var kittTheme = theme.kitt;
3404
+ var nativeBaseCustomTheme = useMemo(function () {
3405
+ return createKittNativeBaseCustomTheme(kittTheme);
3406
+ }, [kittTheme]);
3407
+ return /*#__PURE__*/jsx(NativeBaseProvider, {
3408
+ theme: nativeBaseCustomTheme,
3409
+ isSSR: isSSR,
3410
+ children: children
3411
+ });
3412
+ }
3413
+
3274
3414
  var Stack = Stack$1;
3275
3415
  var VStack = VStack$1;
3276
3416
  var HStack = HStack$1;
@@ -4588,146 +4728,6 @@ var hex2rgba = function (hex) {
4588
4728
  return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(alpha, ")");
4589
4729
  };
4590
4730
 
4591
- var createKittSpaces = function (spacing) {
4592
- var sizes = {};
4593
-
4594
- for (var size = 1; size <= 64; size++) {
4595
- sizes["kitt.".concat(size)] = size * spacing;
4596
- }
4597
-
4598
- return sizes;
4599
- }; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type -- let typescript infer types
4600
-
4601
-
4602
- var createKittNativeBaseCustomTheme = function (theme) {
4603
- var spaces = createKittSpaces(theme.spacing);
4604
- var extendedTheme = extendTheme({
4605
- colors: {
4606
- kitt: _objectSpread(_objectSpread({}, theme.colors), {}, {
4607
- typography: theme.typography.colors
4608
- })
4609
- },
4610
- radii: {
4611
- 'kitt.borderRadius': theme.card.borderRadius
4612
- },
4613
- sizes: _objectSpread(_objectSpread({}, spaces), Object.fromEntries([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 78, 80, 96, 0.5, 1.5, 2.5, 3.5].map(function (value) {
4614
- return [value, value];
4615
- }))),
4616
- space: spaces,
4617
- breakpoints: {
4618
- // kitt breakpoints
4619
- base: KittBreakpoints.BASE,
4620
- small: KittBreakpoints.SMALL,
4621
- medium: KittBreakpoints.MEDIUM,
4622
- large: KittBreakpoints.LARGE,
4623
- wide: KittBreakpoints.WIDE,
4624
- // native base default naming
4625
- sm: Number.MAX_SAFE_INTEGER,
4626
- md: Number.MAX_SAFE_INTEGER,
4627
- lg: Number.MAX_SAFE_INTEGER,
4628
- xl: Number.MAX_SAFE_INTEGER,
4629
- '2xl': Number.MAX_SAFE_INTEGER
4630
- },
4631
- fontSizes: {
4632
- baseAndSmall: {
4633
- header1: "".concat(theme.typography.types.headers.configs.header1.baseAndSmall.fontSize, "px"),
4634
- header2: "".concat(theme.typography.types.headers.configs.header2.baseAndSmall.fontSize, "px"),
4635
- header3: "".concat(theme.typography.types.headers.configs.header3.baseAndSmall.fontSize, "px"),
4636
- header4: "".concat(theme.typography.types.headers.configs.header4.baseAndSmall.fontSize, "px"),
4637
- header5: "".concat(theme.typography.types.headers.configs.header5.baseAndSmall.fontSize, "px"),
4638
- 'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize, "px"),
4639
- 'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize, "px"),
4640
- body: "".concat(theme.typography.types.bodies.configs.body.baseAndSmall.fontSize, "px"),
4641
- 'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize, "px"),
4642
- 'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize, "px")
4643
- },
4644
- mediumAndWide: {
4645
- header1: "".concat(theme.typography.types.headers.configs.header1.mediumAndWide.fontSize, "px"),
4646
- header2: "".concat(theme.typography.types.headers.configs.header2.mediumAndWide.fontSize, "px"),
4647
- header3: "".concat(theme.typography.types.headers.configs.header3.mediumAndWide.fontSize, "px"),
4648
- header4: "".concat(theme.typography.types.headers.configs.header4.mediumAndWide.fontSize, "px"),
4649
- header5: "".concat(theme.typography.types.headers.configs.header5.mediumAndWide.fontSize, "px"),
4650
- 'body-large': "".concat(theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize, "px"),
4651
- 'body-medium': "".concat(theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize, "px"),
4652
- body: "".concat(theme.typography.types.bodies.configs.body.mediumAndWide.fontSize, "px"),
4653
- 'body-small': "".concat(theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize, "px"),
4654
- 'body-xsmall': "".concat(theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize, "px")
4655
- }
4656
- },
4657
- lineHeights: {
4658
- baseAndSmall: {
4659
- header1: theme.typography.types.headers.configs.header1.baseAndSmall.lineHeight,
4660
- header2: theme.typography.types.headers.configs.header2.baseAndSmall.lineHeight,
4661
- header3: theme.typography.types.headers.configs.header3.baseAndSmall.lineHeight,
4662
- header4: theme.typography.types.headers.configs.header4.baseAndSmall.lineHeight,
4663
- header5: theme.typography.types.headers.configs.header5.baseAndSmall.lineHeight,
4664
- 'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
4665
- 'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
4666
- body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
4667
- 'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
4668
- 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight
4669
- },
4670
- mediumAndWide: {
4671
- header1: theme.typography.types.headers.configs.header1.mediumAndWide.lineHeight,
4672
- header2: theme.typography.types.headers.configs.header2.mediumAndWide.lineHeight,
4673
- header3: theme.typography.types.headers.configs.header3.mediumAndWide.lineHeight,
4674
- header4: theme.typography.types.headers.configs.header4.mediumAndWide.lineHeight,
4675
- header5: theme.typography.types.headers.configs.header5.mediumAndWide.lineHeight,
4676
- 'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
4677
- 'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
4678
- body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
4679
- 'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
4680
- 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight
4681
- }
4682
- },
4683
- fontWeights: {
4684
- headers: {
4685
- regular: theme.typography.types.headers.fontWeight,
4686
- bold: theme.typography.types.headers.fontWeight
4687
- },
4688
- bodies: theme.typography.types.bodies.fontWeight
4689
- },
4690
- fonts: {
4691
- headers: theme.typography.types.headers.fontFamily,
4692
- bodies: theme.typography.types.bodies.fontFamily
4693
- },
4694
- components: {
4695
- Text: {
4696
- baseStyle: {
4697
- _light: {
4698
- color: 'kitt.typography.black'
4699
- },
4700
- _dark: {
4701
- color: 'kitt.typography.white'
4702
- },
4703
- fontFamily: theme.typography.types.bodies.fontFamily.regular,
4704
- fontStyle: theme.typography.types.bodies.fontStyle.regular,
4705
- fontWeight: theme.typography.types.bodies.fontWeight.regular,
4706
- fontSize: undefined,
4707
- lineHeight: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight
4708
- }
4709
- }
4710
- }
4711
- });
4712
- return _objectSpread(_objectSpread({}, extendedTheme), {}, {
4713
- space: extendedTheme.space
4714
- });
4715
- };
4716
- function KittNativeBaseProvider(_ref) {
4717
- var theme = _ref.theme,
4718
- isSSR = _ref.isSSR,
4719
- children = _ref.children;
4720
- var kittTheme = theme.kitt;
4721
- var nativeBaseCustomTheme = useMemo(function () {
4722
- return createKittNativeBaseCustomTheme(kittTheme);
4723
- }, [kittTheme]);
4724
- return /*#__PURE__*/jsx(NativeBaseProvider, {
4725
- theme: nativeBaseCustomTheme,
4726
- isSSR: isSSR,
4727
- children: children
4728
- });
4729
- }
4730
-
4731
4731
  function KittThemeProvider(_ref) {
4732
4732
  var isSSR = _ref.isSSR,
4733
4733
  children = _ref.children;
@@ -4789,5 +4789,5 @@ function withTheme(WrappedComponent) {
4789
4789
  });
4790
4790
  }
4791
4791
 
4792
- export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalLink, Flex, FullScreenModal, HStack, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
4792
+ export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalLink, Flex, FullScreenModal, HStack, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
4793
4793
  //# sourceMappingURL=index-browser-all.es.android.js.map