@ornikar/kitt-universal 9.14.0 → 9.16.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 (75) hide show
  1. package/dist/definitions/Button/AnimatedContainer.d.ts +16 -0
  2. package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -0
  3. package/dist/definitions/Button/AnimatedContainer.web.d.ts +4 -0
  4. package/dist/definitions/Button/AnimatedContainer.web.d.ts.map +1 -0
  5. package/dist/definitions/Button/Button.d.ts +9 -3
  6. package/dist/definitions/Button/Button.d.ts.map +1 -1
  7. package/dist/definitions/Button/ButtonContent.d.ts +5 -3
  8. package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
  9. package/dist/definitions/Button/ButtonPadding.d.ts +10 -0
  10. package/dist/definitions/Button/ButtonPadding.d.ts.map +1 -0
  11. package/dist/definitions/Button/DisabledBorder.d.ts +3 -0
  12. package/dist/definitions/Button/DisabledBorder.d.ts.map +1 -0
  13. package/dist/definitions/Button/FocusBorder.d.ts +12 -0
  14. package/dist/definitions/Button/FocusBorder.d.ts.map +1 -0
  15. package/dist/definitions/Button/hooks/useNativeAnimation.d.ts +14 -0
  16. package/dist/definitions/Button/hooks/useNativeAnimation.d.ts.map +1 -0
  17. package/dist/definitions/Button/hooks/useNativeAnimation.web.d.ts +3 -0
  18. package/dist/definitions/Button/hooks/useNativeAnimation.web.d.ts.map +1 -0
  19. package/dist/definitions/Button/utils/getButtonSize.d.ts +3 -0
  20. package/dist/definitions/Button/utils/getButtonSize.d.ts.map +1 -0
  21. package/dist/definitions/Button/utils/getCurrentBackgroundColorForNativeBaseTheme.d.ts +11 -0
  22. package/dist/definitions/Button/utils/getCurrentBackgroundColorForNativeBaseTheme.d.ts.map +1 -0
  23. package/dist/definitions/Button/utils/getCurrentScale.d.ts +10 -0
  24. package/dist/definitions/Button/utils/getCurrentScale.d.ts.map +1 -0
  25. package/dist/definitions/Button/utils/getTextColorByType.d.ts +4 -0
  26. package/dist/definitions/Button/utils/getTextColorByType.d.ts.map +1 -0
  27. package/dist/definitions/forms/InputText/InputText.d.ts +2 -0
  28. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  29. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
  30. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +41 -8
  31. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  32. package/dist/definitions/themes/late-ocean/button.d.ts +14 -0
  33. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
  34. package/dist/definitions/typography/Typography.d.ts +4 -3
  35. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  36. package/dist/definitions/useKittTheme.d.ts +1 -0
  37. package/dist/definitions/useKittTheme.d.ts.map +1 -1
  38. package/dist/index-browser-all.es.android.js +354 -308
  39. package/dist/index-browser-all.es.android.js.map +1 -1
  40. package/dist/index-browser-all.es.ios.js +354 -308
  41. package/dist/index-browser-all.es.ios.js.map +1 -1
  42. package/dist/index-browser-all.es.js +354 -308
  43. package/dist/index-browser-all.es.js.map +1 -1
  44. package/dist/index-browser-all.es.web.js +466 -436
  45. package/dist/index-browser-all.es.web.js.map +1 -1
  46. package/dist/index-node-14.17.cjs.js +310 -275
  47. package/dist/index-node-14.17.cjs.js.map +1 -1
  48. package/dist/index-node-14.17.cjs.web.css +0 -1
  49. package/dist/index-node-14.17.cjs.web.js +337 -296
  50. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  51. package/dist/linaria-themes-browser-all.es.android.js +18 -0
  52. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  53. package/dist/linaria-themes-browser-all.es.ios.js +18 -0
  54. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  55. package/dist/linaria-themes-browser-all.es.js +18 -0
  56. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  57. package/dist/linaria-themes-browser-all.es.web.js +18 -0
  58. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  59. package/dist/linaria-themes-node-14.17.cjs.js +18 -0
  60. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  61. package/dist/linaria-themes-node-14.17.cjs.web.js +18 -0
  62. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  63. package/dist/styles.css +0 -1
  64. package/dist/tsbuildinfo +1 -1
  65. package/package.json +2 -2
  66. package/dist/definitions/Button/AnimatedButtonPressable.d.ts +0 -15
  67. package/dist/definitions/Button/AnimatedButtonPressable.d.ts.map +0 -1
  68. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +0 -17
  69. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +0 -1
  70. package/dist/definitions/Button/BaseStyledButtonPressable.d.ts +0 -12
  71. package/dist/definitions/Button/BaseStyledButtonPressable.d.ts.map +0 -1
  72. package/dist/definitions/Button/StyledDisabled.d.ts +0 -3
  73. package/dist/definitions/Button/StyledDisabled.d.ts.map +0 -1
  74. package/dist/definitions/Button/isSubtle.d.ts +0 -3
  75. package/dist/definitions/Button/isSubtle.d.ts.map +0 -1
@@ -0,0 +1,16 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { ViewStyle } from 'react-native';
3
+ import type { ButtonType, ButtonVariant } from './Button';
4
+ export interface AnimatedContainerProps {
5
+ children: ReactNode;
6
+ disabled?: boolean;
7
+ variant: ButtonVariant;
8
+ type: ButtonType;
9
+ stretch?: boolean;
10
+ isHovered?: boolean;
11
+ isPressed?: boolean;
12
+ isStretch?: boolean;
13
+ animatedStyles: Partial<ViewStyle>;
14
+ }
15
+ export declare function AnimatedContainer({ disabled, animatedStyles, children }: AnimatedContainerProps): ReactElement;
16
+ //# sourceMappingURL=AnimatedContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedContainer.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAY1D,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,sBAAsB,GAAG,YAAY,CAM9G"}
@@ -0,0 +1,4 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { AnimatedContainerProps } from './AnimatedContainer';
3
+ export declare function AnimatedContainer({ children, type, variant, isHovered, isPressed, isStretch, disabled, }: AnimatedContainerProps): ReactElement;
4
+ //# sourceMappingURL=AnimatedContainer.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedContainer.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedContainer.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAIlE,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE,sBAAsB,GAAG,YAAY,CAqDvC"}
@@ -1,8 +1,8 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
- import type { PressableProps, View } from 'react-native';
2
+ import type { PressableProps } from 'react-native';
3
3
  export declare type SubtleButtonType = 'subtle' | 'subtle-dark';
4
4
  export declare type ButtonType = 'primary' | 'default' | SubtleButtonType | 'white';
5
- export declare type ButtonSize = 'large' | 'xlarge';
5
+ export declare type ButtonSize = 'large' | 'xLarge';
6
6
  export declare type ButtonVariant = 'default' | 'ghost';
7
7
  declare type IconPosition = 'right' | 'left';
8
8
  export interface ButtonProps {
@@ -28,8 +28,14 @@ export interface ButtonProps {
28
28
  accessibilityRole?: PressableProps['accessibilityRole'];
29
29
  className?: string;
30
30
  style?: PressableProps['style'];
31
+ /** @internal for story purpose */
32
+ isHoveredInternal?: boolean;
33
+ /** @internal for story purpose */
34
+ isPressedInternal?: boolean;
35
+ /** @internal for story purpose */
36
+ isFocusedInternal?: boolean;
31
37
  onPress?: PressableProps['onPress'];
32
38
  }
33
- export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<View>>;
39
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<import("../native-base/acceptable-native-base-props").ForwardRefComponent<import("../native-base/primitives").ViewProps>>>;
34
40
  export {};
35
41
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAQzD,oBAAY,gBAAgB,GAAG,QAAQ,GAAG,aAAa,CAAC;AACxD,oBAAY,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,OAAO,CAAC;AAC5E,oBAAY,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC5C,oBAAY,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,aAAK,YAAY,GAA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AAC5C,oBAAY,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,aAAK,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAIrC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,iBAAiB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,MAAM,kNA8FlB,CAAC"}
@@ -6,14 +6,16 @@ interface ButtonContentProps extends Except<ButtonProps, 'onPress' | 'disabled'
6
6
  isDisabled?: boolean;
7
7
  type: NonNullable<ButtonType>;
8
8
  variant: NonNullable<ButtonVariant>;
9
- $isStretch: ButtonProps['stretch'];
9
+ isHovered: boolean;
10
+ isPressed: boolean;
11
+ isFocused: boolean;
10
12
  }
11
13
  interface ButtonContentChildrenProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
12
14
  isDisabled?: boolean;
13
15
  type: NonNullable<ButtonType>;
14
16
  color: TypographyColor;
15
17
  }
16
- export declare function ButtonContentChildren({ type, icon, iconPosition, isDisabled, color, children, }: ButtonContentChildrenProps): ReactElement | null;
17
- export declare function ButtonContent({ type, variant, isDisabled, $isStretch, icon, children, ...props }: ButtonContentProps): ReactElement;
18
+ export declare function ButtonContentChildren({ type, icon, iconPosition, color, children, }: ButtonContentChildrenProps): ReactElement | null;
19
+ export declare function ButtonContent({ type, variant, isDisabled, icon, children, isHovered, isPressed, isFocused, ...props }: ButtonContentProps): ReactElement;
18
20
  export {};
19
21
  //# sourceMappingURL=ButtonContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,0BAA0B,CAAC;AAIrF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAgFvE,UAAU,kBAAmB,SAAQ,MAAM,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9B,OAAO,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACpC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,UAAU,0BAA2B,SAAQ,MAAM,CAAC,WAAW,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,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9B,KAAK,EAAE,eAAe,CAAC;CACxB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,QAAQ,GACT,EAAE,0BAA0B,GAAG,YAAY,GAAG,IAAI,CAiDlD;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,YAAY,CAkBnC"}
@@ -0,0 +1,10 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { ButtonSize } from './Button';
3
+ interface ButtonPaddingProps {
4
+ children: ReactNode;
5
+ size?: ButtonSize;
6
+ isDisabled?: boolean;
7
+ }
8
+ export declare function ButtonPadding({ children, size, isDisabled }: ButtonPaddingProps): ReactElement;
9
+ export {};
10
+ //# sourceMappingURL=ButtonPadding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonPadding.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonPadding.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAe3C,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,kBAAkB,GAAG,YAAY,CAgB9F"}
@@ -0,0 +1,3 @@
1
+ import type { ReactElement } from 'react';
2
+ export declare function DisabledBorder(): ReactElement;
3
+ //# sourceMappingURL=DisabledBorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisabledBorder.d.ts","sourceRoot":"","sources":["../../../src/Button/DisabledBorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,wBAAgB,cAAc,IAAI,YAAY,CAa7C"}
@@ -0,0 +1,12 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { ButtonType, ButtonVariant } from './Button';
3
+ interface FocusBorderProps {
4
+ type: ButtonType;
5
+ variant: ButtonVariant;
6
+ isFocused?: boolean;
7
+ isPressed?: boolean;
8
+ isHovered?: boolean;
9
+ }
10
+ export declare function FocusBorder({ type, variant, isFocused, isHovered, isPressed }: FocusBorderProps): ReactElement;
11
+ export {};
12
+ //# sourceMappingURL=FocusBorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusBorder.d.ts","sourceRoot":"","sources":["../../../src/Button/FocusBorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE1D,UAAU,gBAAgB;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,gBAAgB,GAAG,YAAY,CA2B9G"}
@@ -0,0 +1,14 @@
1
+ import type { ViewStyle } from 'react-native';
2
+ import type { ButtonType, ButtonVariant } from 'Button/Button';
3
+ export interface UseNativeAnimationOptions {
4
+ type: ButtonType;
5
+ variant: ButtonVariant;
6
+ isPressedInternal?: boolean;
7
+ }
8
+ export interface NativeAnimation {
9
+ onPressIn?: () => void;
10
+ onPressOut?: () => void;
11
+ animatedStyles: ViewStyle;
12
+ }
13
+ export declare const useNativeAnimation: ({ type, variant, isPressedInternal, }: UseNativeAnimationOptions) => NativeAnimation;
14
+ //# sourceMappingURL=useNativeAnimation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNativeAnimation.d.ts","sourceRoot":"","sources":["../../../../src/Button/hooks/useNativeAnimation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG/D,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB,0CAI5B,yBAAyB,KAAG,eAkC9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { NativeAnimation, UseNativeAnimationOptions } from './useNativeAnimation';
2
+ export declare function useNativeAnimation(options: UseNativeAnimationOptions): NativeAnimation;
3
+ //# sourceMappingURL=useNativeAnimation.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNativeAnimation.web.d.ts","sourceRoot":"","sources":["../../../../src/Button/hooks/useNativeAnimation.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEvF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,yBAAyB,GAAG,eAAe,CAMtF"}
@@ -0,0 +1,3 @@
1
+ import type { ButtonProps } from '../Button';
2
+ export declare const getButtonSize: ({ large, xLarge, size }: Partial<ButtonProps>) => ButtonProps['size'];
3
+ //# sourceMappingURL=getButtonSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getButtonSize.d.ts","sourceRoot":"","sources":["../../../../src/Button/utils/getButtonSize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,eAAO,MAAM,aAAa,4BAA6B,QAAQ,WAAW,CAAC,KAAG,WAAW,CAAC,MAAM,CAI/F,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ButtonType, ButtonVariant } from '../Button';
2
+ interface GetCurrentBackgroundColorParams {
3
+ type: ButtonType;
4
+ variant: ButtonVariant;
5
+ isDisabled?: boolean;
6
+ isHovered?: boolean;
7
+ isPressed?: boolean;
8
+ }
9
+ export declare function getCurrentBackgroundColorForNativeBaseTheme({ type, variant, isDisabled, isHovered, isPressed, }: GetCurrentBackgroundColorParams): string;
10
+ export {};
11
+ //# sourceMappingURL=getCurrentBackgroundColorForNativeBaseTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCurrentBackgroundColorForNativeBaseTheme.d.ts","sourceRoot":"","sources":["../../../../src/Button/utils/getCurrentBackgroundColorForNativeBaseTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE3D,UAAU,+BAA+B;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,2CAA2C,CAAC,EAC1D,IAAI,EACJ,OAAO,EACP,UAAU,EACV,SAAS,EACT,SAAS,GACV,EAAE,+BAA+B,GAAG,MAAM,CAU1C"}
@@ -0,0 +1,10 @@
1
+ interface GetCurrentScaleParams {
2
+ hoverScaleValue: number;
3
+ pressedScaleValue: number;
4
+ isDisabled?: boolean;
5
+ isHovered?: boolean;
6
+ isPressed?: boolean;
7
+ }
8
+ export declare function getCurrentScale({ hoverScaleValue, pressedScaleValue, isDisabled, isHovered, isPressed, }: GetCurrentScaleParams): number;
9
+ export {};
10
+ //# sourceMappingURL=getCurrentScale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCurrentScale.d.ts","sourceRoot":"","sources":["../../../../src/Button/utils/getCurrentScale.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAC9B,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,SAAS,GACV,EAAE,qBAAqB,GAAG,MAAM,CAYhC"}
@@ -0,0 +1,4 @@
1
+ import type { TypographyColor } from '../../typography/Typography';
2
+ import type { ButtonType, ButtonVariant } from '../Button';
3
+ export declare const getTextColorByType: (type: ButtonType, variant: ButtonVariant, isHovered: boolean, isPressed: boolean) => TypographyColor;
4
+ //# sourceMappingURL=getTextColorByType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTextColorByType.d.ts","sourceRoot":"","sources":["../../../../src/Button/utils/getTextColorByType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE3D,eAAO,MAAM,kBAAkB,SACvB,UAAU,WACP,aAAa,aACX,OAAO,aACP,OAAO,KACjB,eAiBF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { ResponsiveValue } from 'native-base/lib/typescript/components/types';
1
2
  import type { ReactNode } from 'react';
2
3
  import type { TextInput as RNTextInput, TextInputProps as RNTextInputProps } from 'react-native';
3
4
  import type { Except } from 'type-fest';
@@ -5,6 +6,7 @@ import type { InputFormState, InputUIState } from '../utils';
5
6
  export interface InputTextProps extends Except<RNTextInputProps, 'nativeID'> {
6
7
  id?: string;
7
8
  name?: string;
9
+ variant?: ResponsiveValue<'outline' | 'unstyled'>;
8
10
  disabled?: boolean;
9
11
  minHeight?: number;
10
12
  state?: InputFormState;
@@ -1 +1 @@
1
- {"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGjG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7D,MAAM,WAAW,cAAe,SAAQ,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC;IAC1E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gBAAgB;IAChB,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC;AAED,eAAO,MAAM,SAAS,wGAiErB,CAAC"}
1
+ {"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGjG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7D,MAAM,WAAW,cAAe,SAAQ,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC;IAC1E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,GAAG,UAAU,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,gBAAgB;IAChB,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC;AAED,eAAO,MAAM,SAAS,wGAkErB,CAAC"}
@@ -6,6 +6,6 @@ interface WebInputTextContainerProps extends InputTextContainerProps {
6
6
  }
7
7
  export declare const InputTextContainer: import("react").ForwardRefExoticComponent<Pick<import("type-fest").Except<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & WebInputTextContainerProps & {
8
8
  as?: import("react").ElementType<any> | undefined;
9
- }, "theme">, "color" | "children" | "style" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "key" | "property" | "translate" | "hidden" | "slot" | "title" | "onBlur" | "onFocus" | "as" | "$isDisabled" | "className" | "onScroll" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "onChange" | "id" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<unknown>>;
9
+ }, "theme">, "color" | "children" | "style" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "key" | "property" | "translate" | "hidden" | "onScroll" | "onFocus" | "onBlur" | "slot" | "title" | "$isDisabled" | "as" | "className" | "onError" | "onLoad" | "onLoadStart" | "onProgress" | "onChange" | "id" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<unknown>>;
10
10
  export {};
11
11
  //# sourceMappingURL=InputTextContainer.web.d.ts.map
@@ -9,6 +9,14 @@ export declare const createKittNativeBaseCustomTheme: (theme: Theme) => {
9
9
  space: KittScaleRecord;
10
10
  colors: {
11
11
  kitt: {
12
+ button: {
13
+ default: import("../themes/late-ocean/button").BaseButtonWithVariant;
14
+ primary: import("../themes/late-ocean/button").BaseButtonWithVariant;
15
+ white: import("../themes/late-ocean/button").BaseButtonTheme;
16
+ subtle: import("../themes/late-ocean/button").SubtleButtonTheme;
17
+ 'subtle-dark': import("../themes/late-ocean/button").SubtleButtonTheme;
18
+ disabled: import("../themes/late-ocean/button").DisabledButtonTheme;
19
+ };
12
20
  typography: {
13
21
  black: string;
14
22
  'black-anthracite': string;
@@ -389,7 +397,12 @@ export declare const createKittNativeBaseCustomTheme: (theme: Theme) => {
389
397
  tertiary: import("native-base/lib/typescript/theme/base/colors").IColorHues;
390
398
  };
391
399
  radii: {
392
- 'kitt.borderRadius': number;
400
+ kitt: {
401
+ borderRadius: number;
402
+ button: {
403
+ borderRadius: number;
404
+ };
405
+ };
393
406
  dialogModal: {
394
407
  borderRadius: number;
395
408
  };
@@ -404,9 +417,36 @@ export declare const createKittNativeBaseCustomTheme: (theme: Theme) => {
404
417
  '3xl': number;
405
418
  full: number;
406
419
  };
420
+ borderWidths: {
421
+ kitt: {
422
+ button: {
423
+ borderWidth: {
424
+ disabled: number;
425
+ focus: number;
426
+ };
427
+ };
428
+ };
429
+ } & {
430
+ '0': number;
431
+ '1': string;
432
+ '2': string;
433
+ '4': string;
434
+ '8': string;
435
+ };
407
436
  sizes: {
437
+ kitt: {
438
+ button: {
439
+ minWidth: number;
440
+ maxWidth: number;
441
+ minHeight: number;
442
+ };
443
+ };
408
444
  dialogModal: {
409
445
  maxWidth: number;
446
+ overlayPadding: {
447
+ horizontal: number;
448
+ vertical: number;
449
+ };
410
450
  };
411
451
  "kitt.1": number;
412
452
  "kitt.4": number;
@@ -4689,13 +4729,6 @@ export declare const createKittNativeBaseCustomTheme: (theme: Theme) => {
4689
4729
  '2xl': string;
4690
4730
  };
4691
4731
  fontConfig: any;
4692
- borderWidths: {
4693
- '0': number;
4694
- '1': string;
4695
- '2': string;
4696
- '4': string;
4697
- '8': string;
4698
- };
4699
4732
  };
4700
4733
  declare type KittNativeBaseCustomTheme = ReturnType<typeof createKittNativeBaseCustomTheme>;
4701
4734
  declare module 'native-base' {
@@ -1 +1 @@
1
- {"version":3,"file":"KittNativeBaseProvider.d.ts","sourceRoot":"","sources":["../../../src/native-base/KittNativeBaseProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,aAAK,SAAS,CAAC,CAAC,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsP3D,CAAC;AAEF,aAAK,yBAAyB,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAEpF,OAAO,QAAQ,aAAa,CAAC;IAC3B,UAAU,YAAa,SAAQ,yBAAyB;KAAG;CAC5D;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAC;IACxC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,2BAA2B,GAAG,YAAY,CAQ5G"}
@@ -29,6 +29,10 @@ export interface DisabledBaseVariantTheme extends BaseVariantTheme {
29
29
  export interface DisabledButtonTheme extends BaseButtonTheme {
30
30
  default: DisabledBaseVariantTheme;
31
31
  }
32
+ interface ButtonPadding {
33
+ horizontal: number;
34
+ vertical: number;
35
+ }
32
36
  export interface ButtonTheme {
33
37
  borderRadius: number;
34
38
  borderWidth: {
@@ -48,12 +52,21 @@ export interface ButtonTheme {
48
52
  hover: number;
49
53
  };
50
54
  };
55
+ /**
56
+ * @deprecated use `padding` instead
57
+ */
51
58
  contentPadding: {
52
59
  default: string;
53
60
  large: string;
54
61
  xLarge: string;
55
62
  disabled: string;
56
63
  };
64
+ padding: {
65
+ default: ButtonPadding;
66
+ large: ButtonPadding;
67
+ xLarge: ButtonPadding;
68
+ disabled: ButtonPadding;
69
+ };
57
70
  transition: {
58
71
  duration: string;
59
72
  timingFunction: string;
@@ -66,4 +79,5 @@ export interface ButtonTheme {
66
79
  disabled: DisabledButtonTheme;
67
80
  }
68
81
  export declare const button: ButtonTheme;
82
+ export {};
69
83
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/button.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,OAAO,EAAE,sBAAsB,CAAC;CACjC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M,CAAC;SACf,CAAC;KACH,CAAC;IACF;;OAEG;IACH,cAAc,EAAE;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,EAAE;QACP,OAAO,EAAE,aAAa,CAAC;QACvB,KAAK,EAAE,aAAa,CAAC;QACrB,MAAM,EAAE,aAAa,CAAC;QACtB,QAAQ,EAAE,aAAa,CAAC;KACzB,CAAC;IACF,UAAU,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,OAAO,EAAE,qBAAqB,CAAC;IAC/B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,aAAa,EAAE,iBAAiB,CAAC;IACjC,QAAQ,EAAE,mBAAmB,CAAC;CAC/B;AAED,eAAO,MAAM,MAAM,EAAE,WAwHpB,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import type { ITextProps } from 'native-base';
2
+ import type { PlatformProps } from 'native-base/lib/typescript/components/types';
2
3
  import type { FC, ReactElement, ReactNode } from 'react';
3
4
  import type { TextProps } from 'react-native';
4
5
  import type { Except, SetOptional } from 'type-fest';
5
6
  import type { KittResponsiveProp } from '../KittBreakpoints';
6
7
  import { KittBreakpointNameEnum } from '../KittBreakpoints';
8
+ import type { NativeBaseAcceptedFlexboxProps } from '../native-base/acceptable-native-base-props';
7
9
  import type { TypographyTypeConfig } from '../themes/late-ocean/typography';
8
10
  import type { KittTheme } from '../useKittTheme';
9
11
  export declare type TypographyHeaderType = `header${'1' | '2' | '3' | '4' | '5'}`;
@@ -17,7 +19,8 @@ export declare const getTypographyTypeConfigKey: (theme: KittTheme) => keyof Typ
17
19
  export declare function getTypographyTypeConfigKeyFromTypeName(breakpointName: KittBreakpointNameEnum): keyof TypographyTypeConfig;
18
20
  export declare const isTypographyHeader: (type: TypographyType | undefined, isHeaderTypographyInContext: boolean | undefined) => type is "header1" | "header2" | "header3" | "header4" | "header5";
19
21
  export declare type TypographyBreakpointType = Partial<KittResponsiveProp<TypographyType>>;
20
- export interface TypographyProps extends TypographyBreakpointType, Except<TextProps, 'accessibilityRole'> {
22
+ declare type NativeBaseTextPropsAcceptedProps = Pick<ITextProps, keyof Except<TextProps, 'accessibilityRole'> | 'textAlign' | 'textTransform' | NativeBaseAcceptedFlexboxProps>;
23
+ export interface TypographyProps extends TypographyBreakpointType, NativeBaseTextPropsAcceptedProps, Pick<PlatformProps<NativeBaseTextPropsAcceptedProps>, '_android' | '_ios' | '_web'> {
21
24
  type?: TypographyBreakpointType;
22
25
  accessibilityRole: NonNullable<TextProps['accessibilityRole']> | 'paragraph' | null;
23
26
  /** Default to regular for bodies and bold of headers. Is not inherited. */
@@ -25,8 +28,6 @@ export interface TypographyProps extends TypographyBreakpointType, Except<TextPr
25
28
  /** Inherited from parent Typography if not specified, or black if no Typography parent found. */
26
29
  color?: TypographyColor;
27
30
  children: ReactNode;
28
- textAlign?: ITextProps['textAlign'];
29
- textTransform?: ITextProps['textTransform'];
30
31
  }
31
32
  export declare type TypographyPropsWithoutRole = Except<TypographyProps, 'accessibilityRole'>;
32
33
  export declare function createNativeBaseFontSize(type: TypographyBreakpointType): ITextProps['fontSize'];
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,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C,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAGrE;AAED,oBAAY,sBAAsB,GAAG,0BAA0B,CAAC"}
@@ -2,6 +2,7 @@ import type { Theme } from './themes/default';
2
2
  import type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
3
3
  export interface KittTheme {
4
4
  kitt: Theme;
5
+ /** @deprecated responsive is not SSR friendly and will be remove soon. Please use native-base breakpoints instead. */
5
6
  responsive: WindowSizeHelper;
6
7
  }
7
8
  export declare function useKittTheme(): KittTheme;
@@ -1 +1 @@
1
- {"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}
1
+ {"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,sHAAsH;IACtH,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}