@ornikar/kitt-universal 1.0.1 → 1.0.2

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.
@@ -47,20 +47,18 @@ function SpinningIcon({
47
47
  }, children);
48
48
  }
49
49
 
50
- const IconContainer$2 = styled__default.View`
51
- color: ${({
50
+ const IconContainer$2 = /*#__PURE__*/styled__default.View.withConfig({
51
+ displayName: "Icon__IconContainer",
52
+ componentId: "kitt-universal__sc-usm0ol-0"
53
+ })(["color:", ";width:", "px;height:", "px;align-self:", ";"], ({
52
54
  color
53
- }) => color};
54
- width: ${({
55
+ }) => color, ({
55
56
  size
56
- }) => size}px;
57
- height: ${({
57
+ }) => size, ({
58
58
  size
59
- }) => size}px;
60
- align-self: ${({
59
+ }) => size, ({
61
60
  align = 'auto'
62
- }) => align};
63
- `;
61
+ }) => align);
64
62
  function Icon({
65
63
  icon,
66
64
  size = 20,
@@ -83,9 +81,10 @@ const TypographyColorContext = /*#__PURE__*/React.createContext('black');
83
81
  function useTypographyColor() {
84
82
  return React.useContext(TypographyColorContext);
85
83
  }
86
- const StyledTypography = styled__default.Text`
87
- /* font */
88
- ${({
84
+ const StyledTypography = /*#__PURE__*/styled__default.Text.withConfig({
85
+ displayName: "Typography__StyledTypography",
86
+ componentId: "kitt-universal__sc-1dz700q-0"
87
+ })(["", " ", ""], ({
89
88
  theme,
90
89
  isHeader,
91
90
  type,
@@ -107,17 +106,13 @@ const StyledTypography = styled__default.Text`
107
106
  font-weight: ${isHeader ? headers.fontWeight : bodies.fontWeight[variant]};
108
107
  font-style: ${isHeader ? headers.fontStyle : bodies.fontStyle[variant]};
109
108
  `;
110
- }}
111
-
112
- /* color */
113
- ${({
109
+ }, ({
114
110
  theme,
115
111
  color
116
112
  }) => !color ? '' : `
117
113
  color: ${theme.kitt.typography.colors[color]};
118
114
  text-decoration-color: ${theme.kitt.typography.colors[color]};
119
- `}
120
- `;
115
+ `);
121
116
 
122
117
  const isTypeHeader = type => type.startsWith('header');
123
118
 
@@ -197,25 +192,20 @@ const getFirstCharacter = string => string ? string[0] : '';
197
192
 
198
193
  const getInitials = (firstname, lastname) => (getFirstCharacter(firstname) + getFirstCharacter(lastname)).toUpperCase();
199
194
 
200
- const StyledAvatarView = styled__default.View`
201
- border-radius: ${({
195
+ const StyledAvatarView = /*#__PURE__*/styled__default.View.withConfig({
196
+ displayName: "Avatar__StyledAvatarView",
197
+ componentId: "kitt-universal__sc-9miubv-0"
198
+ })(["border-radius:", "px;background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], ({
202
199
  round,
203
200
  size
204
- }) => round ? size / 2 : 10}px;
205
- background-color: ${({
201
+ }) => round ? size / 2 : 10, ({
206
202
  theme,
207
203
  light
208
- }) => light ? theme.kitt.avatar.light.backgroundColor : theme.kitt.avatar.default.backgroundColor};
209
- height: ${({
204
+ }) => light ? theme.kitt.avatar.light.backgroundColor : theme.kitt.avatar.default.backgroundColor, ({
210
205
  size
211
- }) => size}px;
212
- width: ${({
206
+ }) => size, ({
213
207
  size
214
- }) => size}px;
215
- overflow: hidden;
216
- align-items: center;
217
- justify-content: center;
218
- `;
208
+ }) => size);
219
209
 
220
210
  function AvatarContent({
221
211
  size = 40,
@@ -262,21 +252,19 @@ function Avatar({
262
252
  })));
263
253
  }
264
254
 
265
- const ButtonContainer = styled__default.Pressable`
266
- min-width: ${({
255
+ const ButtonContainer = /*#__PURE__*/styled__default.Pressable.withConfig({
256
+ displayName: "ButtonContainer",
257
+ componentId: "kitt-universal__sc-ofbpwm-0"
258
+ })(["min-width:", ";max-width:", ";width:", ";min-height:", ";background-color:", ";padding:", ";flex-direction:row;align-self:flex-start;border-radius:", ";border-color:", ";border-width:", ";"], ({
267
259
  theme
268
- }) => theme.kitt.button.minWidth};
269
- max-width: ${({
260
+ }) => theme.kitt.button.minWidth, ({
270
261
  theme,
271
262
  stretch
272
- }) => stretch ? 'auto' : theme.kitt.button.maxWidth};
273
- width: ${({
263
+ }) => stretch ? 'auto' : theme.kitt.button.maxWidth, ({
274
264
  stretch
275
- }) => stretch ? '100%' : 'auto'};
276
- min-height: ${({
265
+ }) => stretch ? '100%' : 'auto', ({
277
266
  theme
278
- }) => theme.kitt.button.minHeight};
279
- background-color: ${({
267
+ }) => theme.kitt.button.minHeight, ({
280
268
  theme,
281
269
  isPressed,
282
270
  disabled,
@@ -287,30 +275,21 @@ const ButtonContainer = styled__default.Pressable`
287
275
  }
288
276
 
289
277
  return isPressed ? theme.kitt.button[type].pressedBackgroundColor : theme.kitt.button[type].backgroundColor;
290
- }};
291
- padding: ${({
278
+ }, ({
292
279
  theme
293
- }) => theme.kitt.button.contentPadding.default};
294
- flex-direction: row;
295
-
296
- /* Emulate inline-* css display by making the button taking only its necessary space */
297
- align-self: flex-start;
298
- border-radius: ${({
280
+ }) => theme.kitt.button.contentPadding.default, ({
299
281
  theme
300
- }) => theme.kitt.button.borderRadius};
301
- border-color: ${({
282
+ }) => theme.kitt.button.borderRadius, ({
302
283
  theme,
303
284
  disabled,
304
285
  type
305
- }) => disabled ? theme.kitt.button[type].disabledBorderColor : 'transparent'};
306
- border-width: ${({
286
+ }) => disabled ? theme.kitt.button[type].disabledBorderColor : 'transparent', ({
307
287
  theme
308
- }) => theme.kitt.button.borderWidth};
309
- `;
288
+ }) => theme.kitt.button.borderWidth);
310
289
 
311
290
  function TypographyIconInheritColor(props) {
312
291
  const color = useTypographyColor();
313
- const theme = styled.useTheme();
292
+ const theme = /*#__PURE__*/styled.useTheme();
314
293
  return /*#__PURE__*/React__default.createElement(Icon, _extends__default({}, props, {
315
294
  color: theme.kitt.typography.colors[color]
316
295
  }));
@@ -320,7 +299,7 @@ function TypographyIconSpecifiedColor({
320
299
  color,
321
300
  ...otherProps
322
301
  }) {
323
- const theme = styled.useTheme();
302
+ const theme = /*#__PURE__*/styled.useTheme();
324
303
  return /*#__PURE__*/React__default.createElement(Icon, _extends__default({}, otherProps, {
325
304
  color: theme.kitt.typography.colors[color]
326
305
  }));
@@ -358,26 +337,21 @@ const getTextColorByType = (type, isPressed, disabled) => {
358
337
  }
359
338
  };
360
339
 
361
- const ButtonText = styled__default(Typography.Text)`
362
- /* On native code, this is the only way to ensure that the text is centered */
363
- text-align: center;
364
- `;
365
- const Content$1 = styled__default.View`
366
- flex-direction: row;
367
- align-items: center;
368
- justify-content: center;
369
-
370
- /*
371
- On native code flex grow does not work as expected which cause an issue with the flex props.
372
- In order to occupy only the needed space, we enable flex grow only when stretched
373
- */
374
- flex: ${({
340
+ const ButtonText = /*#__PURE__*/styled__default(Typography.Text).withConfig({
341
+ displayName: "ButtonContent__ButtonText",
342
+ componentId: "kitt-universal__sc-dnyw3n-0"
343
+ })(["text-align:center;"]);
344
+ const Content$1 = /*#__PURE__*/styled__default.View.withConfig({
345
+ displayName: "ButtonContent__Content",
346
+ componentId: "kitt-universal__sc-dnyw3n-1"
347
+ })(["flex-direction:row;align-items:center;justify-content:center;flex:", ";"], ({
375
348
  stretch,
376
349
  iconOnly
377
- }) => `${stretch || iconOnly ? 1 : 0} 1 auto`};
378
- `;
379
- const IconContainer$1 = styled__default.View`
380
- ${({
350
+ }) => `${stretch || iconOnly ? 1 : 0} 1 auto`);
351
+ const IconContainer$1 = /*#__PURE__*/styled__default.View.withConfig({
352
+ displayName: "ButtonContent__IconContainer",
353
+ componentId: "kitt-universal__sc-dnyw3n-2"
354
+ })(["", ""], ({
381
355
  theme,
382
356
  iconPosition
383
357
  }) => {
@@ -388,8 +362,7 @@ const IconContainer$1 = styled__default.View`
388
362
  }
389
363
 
390
364
  return `margin: 0 0 0 ${value}px;`;
391
- }}
392
- `;
365
+ });
393
366
 
394
367
  function ButtonIcon({
395
368
  icon,
@@ -421,7 +394,7 @@ function ButtonContent({
421
394
  children
422
395
  }) {
423
396
  const color = getTextColorByType(type, Boolean(isPressed), Boolean(disabled));
424
- const theme = styled.useTheme();
397
+ const theme = /*#__PURE__*/styled.useTheme();
425
398
  const sharedIconProps = {
426
399
  spin: iconSpin,
427
400
  color,
@@ -506,25 +479,22 @@ function Button({
506
479
  }), children));
507
480
  }
508
481
 
509
- const Container$5 = styled__default.View`
510
- background-color: ${({
482
+ const Container$5 = /*#__PURE__*/styled__default.View.withConfig({
483
+ displayName: "Card__Container",
484
+ componentId: "kitt-universal__sc-1n9psug-0"
485
+ })(["background-color:", ";padding:", ";border-radius:", ";border-width:", ";border-color:", ";"], ({
511
486
  theme,
512
487
  type
513
- }) => theme.kitt.card[type].backgroundColor};
514
- padding: ${({
488
+ }) => theme.kitt.card[type].backgroundColor, ({
515
489
  theme
516
- }) => theme.kitt.card.padding};
517
- border-radius: ${({
490
+ }) => theme.kitt.card.padding, ({
518
491
  theme
519
- }) => theme.kitt.card.borderRadius};
520
- border-width: ${({
492
+ }) => theme.kitt.card.borderRadius, ({
521
493
  theme
522
- }) => theme.kitt.card.borderWidth};
523
- border-color: ${({
494
+ }) => theme.kitt.card.borderWidth, ({
524
495
  theme,
525
496
  type
526
- }) => theme.kitt.card[type].borderColor};
527
- `;
497
+ }) => theme.kitt.card[type].borderColor);
528
498
  function Card({
529
499
  children,
530
500
  type
@@ -604,28 +574,30 @@ const KittBreakpointsMax = {
604
574
  LARGE: KittBreakpoints.WIDE - 1
605
575
  };
606
576
 
607
- const FieldContainer = styled__default.View`
608
- padding: 5px 0 10px;
609
- `;
610
- const FeedbackContainer = styled__default.View`
611
- ${({
577
+ const FieldContainer = /*#__PURE__*/styled__default.View.withConfig({
578
+ displayName: "InputField__FieldContainer",
579
+ componentId: "kitt-universal__sc-13fkixs-0"
580
+ })(["padding:5px 0 10px;"]);
581
+ const FeedbackContainer = /*#__PURE__*/styled__default.View.withConfig({
582
+ displayName: "InputField__FeedbackContainer",
583
+ componentId: "kitt-universal__sc-13fkixs-1"
584
+ })(["", ";"], ({
612
585
  theme
613
586
  }) => theme.responsive.ifWindowSizeMatches({
614
587
  minWidth: KittBreakpoints.SMALL
615
- }, 'padding-top: 10px', 'padding-top: 5px')};
616
- `;
617
- const FieldLabelContainer = styled__default.View`
618
- flex-direction: row;
619
- align-items: center;
620
- padding-bottom: ${({
588
+ }, 'padding-top: 10px', 'padding-top: 5px'));
589
+ const FieldLabelContainer = /*#__PURE__*/styled__default.View.withConfig({
590
+ displayName: "InputField__FieldLabelContainer",
591
+ componentId: "kitt-universal__sc-13fkixs-2"
592
+ })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], ({
621
593
  theme
622
- }) => theme.kitt.forms.inputField.labelContainerPaddingBottom}px;
623
- `;
624
- const LabelContainer = styled__default.View`
625
- margin-right: ${({
594
+ }) => theme.kitt.forms.inputField.labelContainerPaddingBottom);
595
+ const LabelContainer = /*#__PURE__*/styled__default.View.withConfig({
596
+ displayName: "InputField__LabelContainer",
597
+ componentId: "kitt-universal__sc-13fkixs-3"
598
+ })(["margin-right:", "px;"], ({
626
599
  theme
627
- }) => theme.kitt.forms.inputField.iconMarginLeft}px;
628
- `;
600
+ }) => theme.kitt.forms.inputField.iconMarginLeft);
629
601
  function InputField({
630
602
  label,
631
603
  labelFeedback,
@@ -647,69 +619,50 @@ const useInputText = () => {
647
619
  };
648
620
  };
649
621
 
650
- const styledTextInputMixin = styled.css`
651
- /* stylelint-disable declaration-property-value-allowed-list */
652
- background-color: ${({
622
+ const styledTextInputMixin = /*#__PURE__*/styled.css(["background-color:", ";border-width:", ";border-radius:", ";border-color:", ";font-size:", ";color:", ";font-family:", ";"], ({
653
623
  theme,
654
624
  state
655
- }) => state === 'disabled' ? theme.kitt.forms.input.states.disabled.backgroundColor : theme.kitt.forms.input.states.default.backgroundColor};
656
- border-width: ${({
625
+ }) => state === 'disabled' ? theme.kitt.forms.input.states.disabled.backgroundColor : theme.kitt.forms.input.states.default.backgroundColor, ({
657
626
  theme
658
- }) => theme.kitt.forms.input.borderWidth};
659
- border-radius: ${({
627
+ }) => theme.kitt.forms.input.borderWidth, ({
660
628
  theme
661
- }) => theme.kitt.forms.input.borderRadius};
662
- border-color: ${({
629
+ }) => theme.kitt.forms.input.borderRadius, ({
663
630
  theme,
664
631
  state
665
- }) => theme.kitt.forms.input.states[state].borderColor};
666
- font-size: ${({
632
+ }) => theme.kitt.forms.input.states[state].borderColor, ({
667
633
  theme
668
- }) => theme.kitt.typography.types.bodies.configs.body.baseAndSmall.fontSize};
669
- color: ${({
634
+ }) => theme.kitt.typography.types.bodies.configs.body.baseAndSmall.fontSize, ({
670
635
  theme,
671
636
  state
672
- }) => theme.kitt.typography.colors[theme.kitt.forms.input.states[state].color]};
673
- font-family: ${({
637
+ }) => theme.kitt.typography.colors[theme.kitt.forms.input.states[state].color], ({
674
638
  theme
675
- }) => theme.kitt.typography.types.bodies.fontFamily.regular};
676
- `;
677
- const Input = styled__default.TextInput`
678
- /* stylelint-disable declaration-bang-space-before */
679
- /* stylelint-disable comment-word-disallowed-list */
680
-
681
- /* FIXME: text input is not vertically centered on iOS because of bigger line-height */
682
- ${styledTextInputMixin}
683
- padding: ${({
639
+ }) => theme.kitt.typography.types.bodies.fontFamily.regular);
640
+ const Input = /*#__PURE__*/styled__default.TextInput.withConfig({
641
+ displayName: "InputText__Input",
642
+ componentId: "kitt-universal__sc-uke279-0"
643
+ })(["", " padding:", ";line-height:", ";min-height:", "px;"], styledTextInputMixin, ({
684
644
  theme,
685
645
  multiline
686
- }) => !multiline && reactNative.Platform.OS === 'ios' ? theme.kitt.forms.input.paddingSingleLineIOS : theme.kitt.forms.input.padding};
687
- line-height: ${({
646
+ }) => !multiline && reactNative.Platform.OS === 'ios' ? theme.kitt.forms.input.paddingSingleLineIOS : theme.kitt.forms.input.padding, ({
688
647
  theme,
689
648
  multiline
690
- }) => !multiline && reactNative.Platform.OS === 'ios' ? 0 : theme.kitt.typography.types.bodies.configs.body.baseAndSmall.lineHeight};
691
- min-height: ${({
649
+ }) => !multiline && reactNative.Platform.OS === 'ios' ? 0 : theme.kitt.typography.types.bodies.configs.body.baseAndSmall.lineHeight, ({
692
650
  minHeight
693
- }) => minHeight}px;
694
- `;
695
- const Container$4 = styled__default.View`
696
- margin-top: ${({
651
+ }) => minHeight);
652
+ const Container$4 = /*#__PURE__*/styled__default.View.withConfig({
653
+ displayName: "InputText__Container",
654
+ componentId: "kitt-universal__sc-uke279-1"
655
+ })(["margin-top:", ";margin-bottom:", ";"], ({
697
656
  theme
698
- }) => theme.kitt.forms.input.marginTop};
699
- margin-bottom: ${({
657
+ }) => theme.kitt.forms.input.marginTop, ({
700
658
  theme
701
- }) => theme.kitt.forms.input.marginBottom};
702
- `;
703
- const PasswordButtonContainer = styled__default.Pressable`
704
- position: absolute;
705
- right: 0;
706
- top: 0;
707
- bottom: 0;
708
- justify-content: center;
709
- padding: ${({
659
+ }) => theme.kitt.forms.input.marginBottom);
660
+ const PasswordButtonContainer = /*#__PURE__*/styled__default.Pressable.withConfig({
661
+ displayName: "InputText__PasswordButtonContainer",
662
+ componentId: "kitt-universal__sc-uke279-2"
663
+ })(["position:absolute;right:0;top:0;bottom:0;justify-content:center;padding:", "px;"], ({
710
664
  theme
711
- }) => theme.kitt.forms.input.passwordButtonIconSize / 2}px;
712
- `;
665
+ }) => theme.kitt.forms.input.passwordButtonIconSize / 2);
713
666
 
714
667
  const getInputState = ({
715
668
  isDisabled,
@@ -764,7 +717,7 @@ const InputText = /*#__PURE__*/React.forwardRef(({
764
717
  isPasswordVisible,
765
718
  togglePasswordVisibility
766
719
  } = useInputText();
767
- const theme = styled.useTheme();
720
+ const theme = /*#__PURE__*/styled.useTheme();
768
721
  const state = internalForceState || getInputState({
769
722
  isFocused,
770
723
  isDisabled: disabled,
@@ -812,67 +765,58 @@ function Label({
812
765
  }, children) : children);
813
766
  }
814
767
 
815
- const OuterRadio = styled__default.View`
816
- background-color: ${({
768
+ const OuterRadio = /*#__PURE__*/styled__default.View.withConfig({
769
+ displayName: "Radio__OuterRadio",
770
+ componentId: "kitt-universal__sc-1mdgr2o-0"
771
+ })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", ";border-color:", ";"], ({
817
772
  theme,
818
773
  disabled
819
- }) => theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].backgroundColor};
820
- width: ${({
774
+ }) => theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].backgroundColor, ({
821
775
  theme
822
- }) => theme.kitt.forms.radio.size}px;
823
- height: ${({
776
+ }) => theme.kitt.forms.radio.size, ({
824
777
  theme
825
- }) => theme.kitt.forms.radio.size}px;
826
- border-radius: ${({
778
+ }) => theme.kitt.forms.radio.size, ({
827
779
  theme
828
- }) => theme.kitt.forms.radio.size / 2}px;
829
- border-width: ${({
780
+ }) => theme.kitt.forms.radio.size / 2, ({
830
781
  theme
831
- }) => theme.kitt.forms.radio.unchecked.borderWidth};
832
- border-color: ${({
782
+ }) => theme.kitt.forms.radio.unchecked.borderWidth, ({
833
783
  theme,
834
784
  disabled
835
- }) => theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor};
836
- `;
837
- const SelectedOuterRadio = styled__default.View`
838
- background-color: ${({
785
+ }) => theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor);
786
+ const SelectedOuterRadio = /*#__PURE__*/styled__default.View.withConfig({
787
+ displayName: "Radio__SelectedOuterRadio",
788
+ componentId: "kitt-universal__sc-1mdgr2o-1"
789
+ })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;justify-content:center;align-items:center;"], ({
839
790
  theme
840
- }) => theme.kitt.forms.radio.checked.backgroundColor};
841
- width: ${({
791
+ }) => theme.kitt.forms.radio.checked.backgroundColor, ({
842
792
  theme
843
- }) => theme.kitt.forms.radio.size}px;
844
- height: ${({
793
+ }) => theme.kitt.forms.radio.size, ({
845
794
  theme
846
- }) => theme.kitt.forms.radio.size}px;
847
- border-radius: ${({
795
+ }) => theme.kitt.forms.radio.size, ({
848
796
  theme
849
- }) => theme.kitt.forms.radio.size / 2}px;
850
- justify-content: center;
851
- align-items: center;
852
- `;
853
- const SelectedInnerRadio = styled__default.View`
854
- background-color: ${({
797
+ }) => theme.kitt.forms.radio.size / 2);
798
+ const SelectedInnerRadio = /*#__PURE__*/styled__default.View.withConfig({
799
+ displayName: "Radio__SelectedInnerRadio",
800
+ componentId: "kitt-universal__sc-1mdgr2o-2"
801
+ })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;"], ({
855
802
  theme
856
- }) => theme.kitt.forms.radio.checked.innerBackgroundColor};
857
- width: ${({
803
+ }) => theme.kitt.forms.radio.checked.innerBackgroundColor, ({
858
804
  theme
859
- }) => theme.kitt.forms.radio.checked.innerSize}px;
860
- height: ${({
805
+ }) => theme.kitt.forms.radio.checked.innerSize, ({
861
806
  theme
862
- }) => theme.kitt.forms.radio.checked.innerSize}px;
863
- border-radius: ${({
807
+ }) => theme.kitt.forms.radio.checked.innerSize, ({
864
808
  theme
865
- }) => theme.kitt.forms.radio.checked.innerSize / 2}px;
866
- `;
867
- const Container$3 = styled__default.Pressable`
868
- flex-direction: row;
869
- align-items: center;
870
- `;
871
- const Text = styled__default(Typography.Text)`
872
- margin-left: ${({
809
+ }) => theme.kitt.forms.radio.checked.innerSize / 2);
810
+ const Container$3 = /*#__PURE__*/styled__default.Pressable.withConfig({
811
+ displayName: "Radio__Container",
812
+ componentId: "kitt-universal__sc-1mdgr2o-3"
813
+ })(["flex-direction:row;align-items:center;"]);
814
+ const Text = /*#__PURE__*/styled__default(Typography.Text).withConfig({
815
+ displayName: "Radio__Text",
816
+ componentId: "kitt-universal__sc-1mdgr2o-4"
817
+ })(["margin-left:", "px;"], ({
873
818
  theme
874
- }) => theme.kitt.spacing * 2}px;
875
- `;
819
+ }) => theme.kitt.spacing * 2);
876
820
  function Radio({
877
821
  id,
878
822
  checked,
@@ -900,7 +844,7 @@ function Radio({
900
844
 
901
845
  function TextArea({ ...props
902
846
  }) {
903
- const theme = styled.useTheme();
847
+ const theme = /*#__PURE__*/styled.useTheme();
904
848
  return /*#__PURE__*/React__default.createElement(InputText, _extends__default({
905
849
  multiline: true
906
850
  }, props, {
@@ -909,27 +853,28 @@ function TextArea({ ...props
909
853
  }));
910
854
  }
911
855
 
912
- const Body = styled__default.View`
913
- ${({
856
+ const Body = /*#__PURE__*/styled__default.View.withConfig({
857
+ displayName: "Body",
858
+ componentId: "kitt-universal__sc-1ofncfn-0"
859
+ })(["", " background-color:", ";flex:1;"], ({
914
860
  theme
915
861
  }) => theme.responsive.ifWindowSizeMatches({
916
862
  minWidth: KittBreakpoints.MEDIUM
917
863
  }, `padding-right: ${theme.kitt.spacing * 12}px;
918
864
  padding-left: ${theme.kitt.spacing * 12}px;`, `padding-right: ${theme.kitt.spacing * 6}px;
919
- padding-left: ${theme.kitt.spacing * 6}px;`)}
920
- background-color: ${({
865
+ padding-left: ${theme.kitt.spacing * 6}px;`), ({
921
866
  theme
922
- }) => theme.kitt.colors.uiBackgroundLight};
923
- flex: 1;
924
- `;
867
+ }) => theme.kitt.colors.uiBackgroundLight);
925
868
  function FullScreenModalBody({
926
869
  children
927
870
  }) {
928
871
  return /*#__PURE__*/React__default.createElement(Body, null, children);
929
872
  }
930
873
 
931
- const SideContainer = styled__default.View`
932
- ${({
874
+ const SideContainer = /*#__PURE__*/styled__default.View.withConfig({
875
+ displayName: "Header__SideContainer",
876
+ componentId: "kitt-universal__sc-dfmxi1-0"
877
+ })(["", ""], ({
933
878
  theme,
934
879
  side = 'left'
935
880
  }) => {
@@ -940,15 +885,16 @@ const SideContainer = styled__default.View`
940
885
  }
941
886
 
942
887
  return `padding-left: ${padding}px;`;
943
- }}
944
- `;
888
+ });
945
889
 
946
890
  function getHeaderHorizontalMediumPadding(spacing) {
947
891
  return spacing * 6;
948
892
  }
949
893
 
950
- const Header = styled__default.View`
951
- ${({
894
+ const Header = /*#__PURE__*/styled__default.View.withConfig({
895
+ displayName: "Header",
896
+ componentId: "kitt-universal__sc-dfmxi1-1"
897
+ })(["", ";border-bottom-color:", ";border-bottom-width:1px;flex-direction:row;align-items:center;"], ({
952
898
  theme,
953
899
  insetTop = 0
954
900
  }) => {
@@ -960,16 +906,13 @@ const Header = styled__default.View`
960
906
  return theme.responsive.ifWindowSizeMatches({
961
907
  minWidth: KittBreakpoints.MEDIUM
962
908
  }, `padding: ${paddingTop}px ${getHeaderHorizontalMediumPadding(theme.kitt.spacing)}px ${paddingVertical}px;`, `padding: ${paddingTop}px ${paddingHorizontal}px ${paddingVertical}px;`);
963
- }};
964
- border-bottom-color: ${({
909
+ }, ({
965
910
  theme
966
- }) => theme.kitt.fullScreenModal.header.borderColor};
967
- border-bottom-width: 1px;
968
- flex-direction: row;
969
- align-items: center;
970
- `;
971
- const HeaderContent = styled__default.View`
972
- ${({
911
+ }) => theme.kitt.fullScreenModal.header.borderColor);
912
+ const HeaderContent = /*#__PURE__*/styled__default.View.withConfig({
913
+ displayName: "Header__HeaderContent",
914
+ componentId: "kitt-universal__sc-dfmxi1-2"
915
+ })(["", ";", ";justify-content:center;align-items:center;"], ({
973
916
  theme,
974
917
  leftWidth,
975
918
  rightWidth,
@@ -988,8 +931,7 @@ const HeaderContent = styled__default.View`
988
931
  return theme.responsive.ifWindowSizeMatches({
989
932
  minWidth: KittBreakpoints.MEDIUM
990
933
  }, `width: ${computeWidth(parentHorizontalPaddingMedium)}px;`, `width: ${computeWidth(parentHorizontalPadding)}px;`);
991
- }};
992
- ${({
934
+ }, ({
993
935
  leftWidth,
994
936
  rightWidth
995
937
  }) => {
@@ -1001,10 +943,7 @@ const HeaderContent = styled__default.View`
1001
943
  }
1002
944
 
1003
945
  return `margin-left: ${deltaMargin}px;`;
1004
- }};
1005
- justify-content: center;
1006
- align-items: center;
1007
- `;
946
+ });
1008
947
  function FullScreenModalHeader({
1009
948
  children,
1010
949
  right,
@@ -1043,12 +982,12 @@ function FullScreenModalHeader({
1043
982
  }, right) : null);
1044
983
  }
1045
984
 
1046
- const Container$2 = styled__default.View`
1047
- flex: 1;
1048
- background-color: ${({
985
+ const Container$2 = /*#__PURE__*/styled__default.View.withConfig({
986
+ displayName: "FullScreenModal__Container",
987
+ componentId: "kitt-universal__sc-11qpbe3-0"
988
+ })(["flex:1;background-color:", ";"], ({
1049
989
  theme
1050
- }) => theme.kitt.colors.uiBackground};
1051
- `;
990
+ }) => theme.kitt.colors.uiBackground);
1052
991
  function FullScreenModal({
1053
992
  children
1054
993
  }) {
@@ -1057,10 +996,10 @@ function FullScreenModal({
1057
996
  FullScreenModal.Header = FullScreenModalHeader;
1058
997
  FullScreenModal.Body = FullScreenModalBody;
1059
998
 
1060
- const ContentView$1 = styled__default.View`
1061
- flex: 1 0 0%;
1062
- align-self: center;
1063
- `;
999
+ const ContentView$1 = /*#__PURE__*/styled__default.View.withConfig({
1000
+ displayName: "ListItemContent__ContentView",
1001
+ componentId: "kitt-universal__sc-57q0u9-0"
1002
+ })(["flex:1 0 0%;align-self:center;"]);
1064
1003
  function ListItemContent({
1065
1004
  children,
1066
1005
  ...rest
@@ -1068,17 +1007,16 @@ function ListItemContent({
1068
1007
  return /*#__PURE__*/React__default.createElement(ContentView$1, rest, children);
1069
1008
  }
1070
1009
 
1071
- const SideContainerView = styled__default.View`
1072
- flex-direction: row;
1073
- margin-left: ${({
1010
+ const SideContainerView = /*#__PURE__*/styled__default.View.withConfig({
1011
+ displayName: "ListItemSideContent__SideContainerView",
1012
+ componentId: "kitt-universal__sc-1vajiw-0"
1013
+ })(["flex-direction:row;margin-left:", ";margin-right:", ";"], ({
1074
1014
  theme,
1075
1015
  side
1076
- }) => side === 'right' ? theme.kitt.listItem.innerMargin : 0};
1077
- margin-right: ${({
1016
+ }) => side === 'right' ? theme.kitt.listItem.innerMargin : 0, ({
1078
1017
  theme,
1079
1018
  side
1080
- }) => side === 'left' ? theme.kitt.listItem.innerMargin : 0};
1081
- `; // Handles the vertical alignment of the side elements of the list item
1019
+ }) => side === 'left' ? theme.kitt.listItem.innerMargin : 0); // Handles the vertical alignment of the side elements of the list item
1082
1020
 
1083
1021
  function ListItemSideContainer({
1084
1022
  children,
@@ -1089,11 +1027,12 @@ function ListItemSideContainer({
1089
1027
  side: side
1090
1028
  }, rest), children);
1091
1029
  }
1092
- const SideContentView = styled__default.View`
1093
- align-self: ${({
1030
+ const SideContentView = /*#__PURE__*/styled__default.View.withConfig({
1031
+ displayName: "ListItemSideContent__SideContentView",
1032
+ componentId: "kitt-universal__sc-1vajiw-1"
1033
+ })(["align-self:", ";"], ({
1094
1034
  align
1095
- }) => align};
1096
- `;
1035
+ }) => align);
1097
1036
  function ListItemSideContent({
1098
1037
  children,
1099
1038
  align = 'auto',
@@ -1104,13 +1043,13 @@ function ListItemSideContent({
1104
1043
  }, rest), children);
1105
1044
  }
1106
1045
 
1107
- const ContainerView = styled__default.View`
1108
- flex-direction: row;
1109
- padding: ${({
1046
+ const ContainerView = /*#__PURE__*/styled__default.View.withConfig({
1047
+ displayName: "ListItem__ContainerView",
1048
+ componentId: "kitt-universal__sc-2afp9s-0"
1049
+ })(["flex-direction:row;padding:", ";", ";border-color:", ";background-color:", ";"], ({
1110
1050
  withPadding,
1111
1051
  theme
1112
- }) => withPadding ? theme.kitt.listItem.padding : 0};
1113
- ${({
1052
+ }) => withPadding ? theme.kitt.listItem.padding : 0, ({
1114
1053
  theme,
1115
1054
  borders
1116
1055
  }) => {
@@ -1131,14 +1070,11 @@ const ContainerView = styled__default.View`
1131
1070
  }
1132
1071
 
1133
1072
  return 'border: none';
1134
- }};
1135
- border-color: ${({
1073
+ }, ({
1136
1074
  theme
1137
- }) => theme.kitt.listItem.borderColor};
1138
- background-color: ${({
1075
+ }) => theme.kitt.listItem.borderColor, ({
1139
1076
  theme
1140
- }) => theme.kitt.colors.uiBackgroundLight};
1141
- `;
1077
+ }) => theme.kitt.colors.uiBackgroundLight);
1142
1078
  function ListItem({
1143
1079
  children,
1144
1080
  withPadding,
@@ -1169,7 +1105,7 @@ function Loader({
1169
1105
  color = 'primary',
1170
1106
  size = 20
1171
1107
  }) {
1172
- const theme = styled.useTheme();
1108
+ const theme = /*#__PURE__*/styled.useTheme();
1173
1109
  const colorHex = theme.kitt.typography.colors[color];
1174
1110
  return /*#__PURE__*/React__default.createElement(reactNative.ActivityIndicator, {
1175
1111
  testID: "ActivityIndicator",
@@ -1189,51 +1125,45 @@ function LargeLoader({
1189
1125
 
1190
1126
  const xIconSize = 14;
1191
1127
  const mainIconSize = 20;
1192
- const Container$1 = styled__default.View`
1193
- border-radius: ${({
1128
+ const Container$1 = /*#__PURE__*/styled__default.View.withConfig({
1129
+ displayName: "Message__Container",
1130
+ componentId: "kitt-universal__sc-c6400e-0"
1131
+ })(["border-radius:", "px;background-color:", ";padding-bottom:", "px;padding-left:", "px;padding-right:", "px;padding-top:", "px;flex-direction:row;align-items:flex-start;justify-content:space-between;"], ({
1194
1132
  theme,
1195
1133
  noRadius
1196
- }) => noRadius ? 0 : theme.kitt.spacing * 5}px;
1197
- background-color: ${({
1134
+ }) => noRadius ? 0 : theme.kitt.spacing * 5, ({
1198
1135
  theme,
1199
1136
  type
1200
- }) => theme.kitt.feedbackMessage.backgroundColors[type]};
1201
- padding-bottom: ${({
1137
+ }) => theme.kitt.feedbackMessage.backgroundColors[type], ({
1202
1138
  theme
1203
- }) => theme.kitt.spacing * 4}px;
1204
- padding-left: ${({
1139
+ }) => theme.kitt.spacing * 4, ({
1205
1140
  theme
1206
- }) => theme.kitt.spacing * 4}px;
1207
- padding-right: ${({
1141
+ }) => theme.kitt.spacing * 4, ({
1208
1142
  theme
1209
- }) => theme.kitt.spacing * 4}px;
1210
- padding-top: ${({
1143
+ }) => theme.kitt.spacing * 4, ({
1211
1144
  theme,
1212
1145
  insets
1213
- }) => (insets?.top ?? 0) + theme.kitt.spacing * 4}px;
1214
- flex-direction: row;
1215
- align-items: flex-start;
1216
- justify-content: space-between;
1217
- `;
1218
- const CloseContainer = styled__default.TouchableOpacity`
1219
- margin-left: ${({
1146
+ }) => (insets?.top ?? 0) + theme.kitt.spacing * 4);
1147
+ const CloseContainer = /*#__PURE__*/styled__default.TouchableOpacity.withConfig({
1148
+ displayName: "Message__CloseContainer",
1149
+ componentId: "kitt-universal__sc-c6400e-1"
1150
+ })(["margin-left:", "px;padding:", "px;"], ({
1220
1151
  theme
1221
- }) => theme.kitt.spacing * 4}px;
1222
- padding: ${({
1152
+ }) => theme.kitt.spacing * 4, ({
1223
1153
  theme
1224
- }) => theme.kitt.spacing}px;
1225
- `;
1226
- const IconContainer = styled__default.View`
1227
- margin-right: ${({
1154
+ }) => theme.kitt.spacing);
1155
+ const IconContainer = /*#__PURE__*/styled__default.View.withConfig({
1156
+ displayName: "Message__IconContainer",
1157
+ componentId: "kitt-universal__sc-c6400e-2"
1158
+ })(["margin-right:", "px;"], ({
1228
1159
  theme
1229
- }) => theme.kitt.spacing * 4}px;
1230
- `;
1231
- const Content = styled__default.Text`
1232
- text-align: ${({
1160
+ }) => theme.kitt.spacing * 4);
1161
+ const Content = /*#__PURE__*/styled__default.Text.withConfig({
1162
+ displayName: "Message__Content",
1163
+ componentId: "kitt-universal__sc-c6400e-3"
1164
+ })(["text-align:", ";flex:1;"], ({
1233
1165
  centeredText
1234
- }) => centeredText ? 'center' : 'left'};
1235
- flex: 1;
1236
- `;
1166
+ }) => centeredText ? 'center' : 'left');
1237
1167
 
1238
1168
  const getColorByType = type => {
1239
1169
  switch (type) {
@@ -1297,7 +1227,10 @@ function Message({
1297
1227
  })) : null);
1298
1228
  }
1299
1229
 
1300
- const OverlayPressable = styled__default.Pressable(({
1230
+ const OverlayPressable = /*#__PURE__*/styled__default.Pressable.withConfig({
1231
+ displayName: "Overlay__OverlayPressable",
1232
+ componentId: "kitt-universal__sc-1cz1gbr-0"
1233
+ })(({
1301
1234
  theme
1302
1235
  }) => ({ ...reactNative.StyleSheet.absoluteFillObject,
1303
1236
  backgroundColor: theme.kitt.colors.overlay.dark
@@ -1310,13 +1243,14 @@ function Overlay({
1310
1243
  }, /*#__PURE__*/React__default.createElement(reactNative.View, null));
1311
1244
  }
1312
1245
 
1313
- const BodyView = styled__default.View`
1314
- padding: ${({
1246
+ const BodyView = /*#__PURE__*/styled__default.View.withConfig({
1247
+ displayName: "Body__BodyView",
1248
+ componentId: "kitt-universal__sc-17fwpo4-0"
1249
+ })(["padding:", "px ", "px;"], ({
1315
1250
  theme
1316
- }) => theme.kitt.spacing * 6}px ${({
1251
+ }) => theme.kitt.spacing * 6, ({
1317
1252
  theme
1318
- }) => theme.kitt.spacing * 4}px;
1319
- `;
1253
+ }) => theme.kitt.spacing * 4);
1320
1254
  const ModalBody = /*#__PURE__*/React.forwardRef(({
1321
1255
  children
1322
1256
  }, ref) => {
@@ -1325,16 +1259,14 @@ const ModalBody = /*#__PURE__*/React.forwardRef(({
1325
1259
  }, /*#__PURE__*/React__default.createElement(BodyView, null, children));
1326
1260
  });
1327
1261
 
1328
- const FooterView = styled__default.View`
1329
- flex: 0 0 auto;
1330
- padding: ${({
1262
+ const FooterView = /*#__PURE__*/styled__default.View.withConfig({
1263
+ displayName: "Footer__FooterView",
1264
+ componentId: "kitt-universal__sc-1ujq2dc-0"
1265
+ })(["flex:0 0 auto;padding:", "px;border-top-width:1px;border-top-color:", ";"], ({
1331
1266
  theme
1332
- }) => theme.kitt.spacing * 4}px;
1333
- border-top-width: 1px;
1334
- border-top-color: ${({
1267
+ }) => theme.kitt.spacing * 4, ({
1335
1268
  theme
1336
- }) => theme.kitt.colors.separator};
1337
- `;
1269
+ }) => theme.kitt.colors.separator);
1338
1270
  function ModalFooter({
1339
1271
  children
1340
1272
  }) {
@@ -1343,41 +1275,33 @@ function ModalFooter({
1343
1275
 
1344
1276
  const OnCloseContext = /*#__PURE__*/React.createContext(() => {});
1345
1277
 
1346
- const HeaderView = styled__default.View`
1347
- position: relative;
1348
- padding: ${({
1278
+ const HeaderView = /*#__PURE__*/styled__default.View.withConfig({
1279
+ displayName: "Header__HeaderView",
1280
+ componentId: "kitt-universal__sc-1iwabch-0"
1281
+ })(["position:relative;padding:", "px;display:flex;flex:0 0 auto;flex-direction:row;justify-content:space-between;align-items:center;border-bottom-width:1px;border-bottom-color:", ";min-height:57px;"], ({
1349
1282
  theme
1350
- }) => theme.kitt.spacing * 2}px;
1351
- display: flex;
1352
- flex: 0 0 auto;
1353
- flex-direction: row;
1354
- justify-content: space-between;
1355
- align-items: center;
1356
- border-bottom-width: 1px;
1357
- border-bottom-color: ${({
1283
+ }) => theme.kitt.spacing * 2, ({
1358
1284
  theme
1359
- }) => theme.kitt.colors.separator};
1360
- min-height: 57px;
1361
- `;
1362
- const LeftIconView = styled__default.View`
1363
- align-self: flex-start;
1364
- margin-right: ${({
1285
+ }) => theme.kitt.colors.separator);
1286
+ const LeftIconView = /*#__PURE__*/styled__default.View.withConfig({
1287
+ displayName: "Header__LeftIconView",
1288
+ componentId: "kitt-universal__sc-1iwabch-1"
1289
+ })(["align-self:flex-start;margin-right:", "px;"], ({
1365
1290
  theme
1366
- }) => theme.kitt.spacing * 2}px;
1367
- `;
1368
- const RightIconView = styled__default.View`
1369
- align-self: flex-start;
1370
- margin-left: ${({
1291
+ }) => theme.kitt.spacing * 2);
1292
+ const RightIconView = /*#__PURE__*/styled__default.View.withConfig({
1293
+ displayName: "Header__RightIconView",
1294
+ componentId: "kitt-universal__sc-1iwabch-2"
1295
+ })(["align-self:flex-start;margin-left:", "px;"], ({
1371
1296
  theme
1372
- }) => theme.kitt.spacing * 2}px;
1373
- `;
1374
- const TitleView = styled__default.View`
1375
- padding-left: ${({
1297
+ }) => theme.kitt.spacing * 2);
1298
+ const TitleView = /*#__PURE__*/styled__default.View.withConfig({
1299
+ displayName: "Header__TitleView",
1300
+ componentId: "kitt-universal__sc-1iwabch-3"
1301
+ })(["padding-left:", "px;flex-shrink:1;"], ({
1376
1302
  theme,
1377
1303
  isIconLeft
1378
- }) => isIconLeft ? 0 : theme.kitt.spacing * 2}px;
1379
- flex-shrink: 1;
1380
- `;
1304
+ }) => isIconLeft ? 0 : theme.kitt.spacing * 2);
1381
1305
  function ModalHeader({
1382
1306
  left,
1383
1307
  right,
@@ -1394,36 +1318,22 @@ function ModalHeader({
1394
1318
  })));
1395
1319
  }
1396
1320
 
1397
- const ModalView = styled__default.View`
1398
- top: 0;
1399
- left: 0;
1400
- width: 100%;
1401
- height: 100%;
1402
-
1403
- display: flex;
1404
- align-items: center;
1405
- justify-content: center;
1406
- padding: ${({
1321
+ const ModalView = /*#__PURE__*/styled__default.View.withConfig({
1322
+ displayName: "Modal__ModalView",
1323
+ componentId: "kitt-universal__sc-1xy2w5u-0"
1324
+ })(["top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:", "px ", "px;"], ({
1407
1325
  theme
1408
- }) => theme.kitt.spacing * 20}px ${({
1326
+ }) => theme.kitt.spacing * 20, ({
1409
1327
  theme
1410
- }) => theme.kitt.spacing * 4}px;
1411
- `;
1412
- const ContentView = styled__default.View`
1413
- position: relative;
1414
- display: flex;
1415
- flex-direction: column;
1416
- max-height: 100%;
1417
- max-width: 540px;
1418
- height: auto;
1419
- width: 100%;
1420
- border-radius: ${({
1328
+ }) => theme.kitt.spacing * 4);
1329
+ const ContentView = /*#__PURE__*/styled__default.View.withConfig({
1330
+ displayName: "Modal__ContentView",
1331
+ componentId: "kitt-universal__sc-1xy2w5u-1"
1332
+ })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", ";background-color:", ";"], ({
1421
1333
  theme
1422
- }) => theme.kitt.card.borderRadius};
1423
- background-color: ${({
1334
+ }) => theme.kitt.card.borderRadius, ({
1424
1335
  theme
1425
- }) => theme.kitt.palettes.lateOcean.white};
1426
- `;
1336
+ }) => theme.kitt.palettes.lateOcean.white);
1427
1337
  function Modal({
1428
1338
  visible,
1429
1339
  children,
@@ -1468,12 +1378,14 @@ function Notification({
1468
1378
  }, children);
1469
1379
  }
1470
1380
 
1471
- const StoryTitleContainer = styled__default.View`
1472
- margin-bottom: 30px;
1473
- `;
1474
- const StorySubTitleContainer = styled__default.View`
1475
- margin-bottom: 10px;
1476
- `;
1381
+ const StoryTitleContainer = /*#__PURE__*/styled__default.View.withConfig({
1382
+ displayName: "StoryTitle__StoryTitleContainer",
1383
+ componentId: "kitt-universal__sc-sic7hb-0"
1384
+ })(["margin-bottom:30px;"]);
1385
+ const StorySubTitleContainer = /*#__PURE__*/styled__default.View.withConfig({
1386
+ displayName: "StoryTitle__StorySubTitleContainer",
1387
+ componentId: "kitt-universal__sc-sic7hb-1"
1388
+ })(["margin-bottom:10px;"]);
1477
1389
  function StoryTitle({
1478
1390
  color,
1479
1391
  children,
@@ -1537,9 +1449,10 @@ StoryTitle.Level2 = StoryTitleLevel2;
1537
1449
  StoryTitle.Level3 = StoryTitleLevel3;
1538
1450
  StoryTitle.Level4 = StoryTitleLevel4;
1539
1451
 
1540
- const StyledSection = styled__default.View`
1541
- margin-bottom: 30px;
1542
- `;
1452
+ const StyledSection = /*#__PURE__*/styled__default.View.withConfig({
1453
+ displayName: "Section__StyledSection",
1454
+ componentId: "kitt-universal__sc-x4z1s-0"
1455
+ })(["margin-bottom:30px;"]);
1543
1456
  function Section({
1544
1457
  title,
1545
1458
  className,
@@ -1548,9 +1461,10 @@ function Section({
1548
1461
  }) {
1549
1462
  return /*#__PURE__*/React__default.createElement(StyledSection, props, /*#__PURE__*/React__default.createElement(StoryTitle.Level2, null, title), children);
1550
1463
  }
1551
- const StyledSubSection = styled__default.View`
1552
- margin-bottom: 20px;
1553
- `;
1464
+ const StyledSubSection = /*#__PURE__*/styled__default.View.withConfig({
1465
+ displayName: "Section__StyledSubSection",
1466
+ componentId: "kitt-universal__sc-x4z1s-1"
1467
+ })(["margin-bottom:20px;"]);
1554
1468
 
1555
1469
  function SubSection({
1556
1470
  title,
@@ -1561,9 +1475,10 @@ function SubSection({
1561
1475
  return /*#__PURE__*/React__default.createElement(StyledSubSection, props, /*#__PURE__*/React__default.createElement(StoryTitle.Level3, null, title), children);
1562
1476
  }
1563
1477
 
1564
- const StyledDemoSection = styled__default.View`
1565
- margin-bottom: 90px;
1566
- `;
1478
+ const StyledDemoSection = /*#__PURE__*/styled__default.View.withConfig({
1479
+ displayName: "Section__StyledDemoSection",
1480
+ componentId: "kitt-universal__sc-x4z1s-2"
1481
+ })(["margin-bottom:90px;"]);
1567
1482
 
1568
1483
  function DemoSection({
1569
1484
  children
@@ -1576,9 +1491,10 @@ function DemoSection({
1576
1491
  Section.SubSection = SubSection;
1577
1492
  Section.DemoSection = DemoSection;
1578
1493
 
1579
- const StoryContainer = styled__default.ScrollView`
1580
- padding: 10px;
1581
- `;
1494
+ const StoryContainer = /*#__PURE__*/styled__default.ScrollView.withConfig({
1495
+ displayName: "Story__StoryContainer",
1496
+ componentId: "kitt-universal__sc-1kwdg2p-0"
1497
+ })(["padding:10px;"]);
1582
1498
  function Story({
1583
1499
  title,
1584
1500
  contentContainerStyle,
@@ -1595,22 +1511,22 @@ function StoryDecorator(storyFn, context) {
1595
1511
  }, storyFn());
1596
1512
  }
1597
1513
 
1598
- const SmallScreenRow = styled__default.View`
1599
- flex-direction: column;
1600
- margin: 0;
1601
- `;
1602
- const SmallScreenCol = styled__default.View`
1603
- padding: 10px 0 20px;
1604
- `;
1605
- const FlexRow = styled__default.View`
1606
- flex-direction: row;
1607
- margin: 0 -5px 20px;
1608
- `;
1609
- const FlexCol = styled__default.View`
1610
- flex-grow: 1;
1611
- flex-basis: 0;
1612
- margin: 0 5px 10px;
1613
- `;
1514
+ const SmallScreenRow = /*#__PURE__*/styled__default.View.withConfig({
1515
+ displayName: "StoryGrid__SmallScreenRow",
1516
+ componentId: "kitt-universal__sc-4z5new-0"
1517
+ })(["flex-direction:column;margin:0;"]);
1518
+ const SmallScreenCol = /*#__PURE__*/styled__default.View.withConfig({
1519
+ displayName: "StoryGrid__SmallScreenCol",
1520
+ componentId: "kitt-universal__sc-4z5new-1"
1521
+ })(["padding:10px 0 20px;"]);
1522
+ const FlexRow = /*#__PURE__*/styled__default.View.withConfig({
1523
+ displayName: "StoryGrid__FlexRow",
1524
+ componentId: "kitt-universal__sc-4z5new-2"
1525
+ })(["flex-direction:row;margin:0 -5px 20px;"]);
1526
+ const FlexCol = /*#__PURE__*/styled__default.View.withConfig({
1527
+ displayName: "StoryGrid__FlexCol",
1528
+ componentId: "kitt-universal__sc-4z5new-3"
1529
+ })(["flex-grow:1;flex-basis:0;margin:0 5px 10px;"]);
1614
1530
 
1615
1531
  function StoryGridRow({
1616
1532
  children,
@@ -1646,19 +1562,17 @@ const StoryGrid = {
1646
1562
  Col: StoryGridCol
1647
1563
  };
1648
1564
 
1649
- const Container = styled__default.View`
1650
- background-color: ${({
1565
+ const Container = /*#__PURE__*/styled__default.View.withConfig({
1566
+ displayName: "Tag__Container",
1567
+ componentId: "kitt-universal__sc-19jmowi-0"
1568
+ })(["background-color:", ";padding:", ";border-radius:", ";align-self:flex-start;"], ({
1651
1569
  theme,
1652
1570
  type
1653
- }) => theme.kitt.tag[type].backgroundColor};
1654
- padding: ${({
1571
+ }) => theme.kitt.tag[type].backgroundColor, ({
1655
1572
  theme
1656
- }) => theme.kitt.tag.padding};
1657
- border-radius: ${({
1573
+ }) => theme.kitt.tag.padding, ({
1658
1574
  theme
1659
- }) => theme.kitt.tag.borderRadius};
1660
- align-self: flex-start;
1661
- `;
1575
+ }) => theme.kitt.tag.borderRadius);
1662
1576
  function Tag({
1663
1577
  label,
1664
1578
  type = 'default'
@@ -1991,21 +1905,20 @@ function Tooltip({
1991
1905
  return /*#__PURE__*/React__default.createElement(reactNative.View, null, children);
1992
1906
  }
1993
1907
 
1994
- const StyledLink = styled__default(Typography).withConfig({
1908
+ const StyledLink = /*#__PURE__*/styled__default(Typography).withConfig({
1995
1909
  shouldForwardProp: prop => !['disabled', 'noUnderline'].includes(prop)
1996
- })`
1997
- text-decoration: ${({
1910
+ }).withConfig({
1911
+ displayName: "TypographyLink__StyledLink",
1912
+ componentId: "kitt-universal__sc-1o1zy30-0"
1913
+ })(["text-decoration:", ";", ";margin:0;"], ({
1998
1914
  noUnderline
1999
- }) => noUnderline ? 'none' : 'underline'};
2000
- ${({
1915
+ }) => noUnderline ? 'none' : 'underline', ({
2001
1916
  disabled
2002
1917
  }) => reactNative.Platform.OS === 'web' ? `
2003
1918
  text-decoration-color: inherit;
2004
1919
  transition: color 0.2s ease-in-out;
2005
1920
  cursor: ${disabled ? 'not-allowed' : 'pointer'};
2006
- ` : null};
2007
- margin: 0;
2008
- `;
1921
+ ` : null);
2009
1922
  function TypographyLink({
2010
1923
  disabled,
2011
1924
  noUnderline,