@ornikar/kitt-universal 9.44.1 → 9.45.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 (74) hide show
  1. package/dist/definitions/BaseMessage/BaseMessage.d.ts.map +1 -1
  2. package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -1
  3. package/dist/definitions/IconButton/AnimatedBackground.d.ts +13 -0
  4. package/dist/definitions/IconButton/AnimatedBackground.d.ts.map +1 -0
  5. package/dist/definitions/IconButton/AnimatedBackground.web.d.ts +4 -0
  6. package/dist/definitions/IconButton/AnimatedBackground.web.d.ts.map +1 -0
  7. package/dist/definitions/IconButton/AnimatedScale.d.ts +12 -0
  8. package/dist/definitions/IconButton/AnimatedScale.d.ts.map +1 -0
  9. package/dist/definitions/IconButton/AnimatedScale.web.d.ts +4 -0
  10. package/dist/definitions/IconButton/AnimatedScale.web.d.ts.map +1 -0
  11. package/dist/definitions/IconButton/Background.d.ts +11 -0
  12. package/dist/definitions/IconButton/Background.d.ts.map +1 -0
  13. package/dist/definitions/IconButton/IconButton.d.ts +12 -5
  14. package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
  15. package/dist/definitions/IconButton/hooks/useNativeAnimation.d.ts +18 -0
  16. package/dist/definitions/IconButton/hooks/useNativeAnimation.d.ts.map +1 -0
  17. package/dist/definitions/IconButton/hooks/useNativeAnimation.web.d.ts +3 -0
  18. package/dist/definitions/IconButton/hooks/useNativeAnimation.web.d.ts.map +1 -0
  19. package/dist/definitions/forms/InputTag/InputTag.d.ts.map +1 -1
  20. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
  21. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +40 -6
  22. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  23. package/dist/definitions/themes/late-ocean/feedback.d.ts +1 -0
  24. package/dist/definitions/themes/late-ocean/feedback.d.ts.map +1 -1
  25. package/dist/definitions/themes/late-ocean/iconButton.d.ts +2 -0
  26. package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -1
  27. package/dist/definitions/themes/late-ocean/typography.d.ts +1 -0
  28. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  29. package/dist/definitions/typography/BasicNativeBaseText.d.ts +15 -0
  30. package/dist/definitions/typography/BasicNativeBaseText.d.ts.map +1 -0
  31. package/dist/definitions/typography/Typography.d.ts +2 -2
  32. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  33. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  34. package/dist/index-browser-all.es.android.js +4936 -4911
  35. package/dist/index-browser-all.es.android.js.map +1 -1
  36. package/dist/index-browser-all.es.css +1 -1
  37. package/dist/index-browser-all.es.ios.js +4936 -4911
  38. package/dist/index-browser-all.es.ios.js.map +1 -1
  39. package/dist/index-browser-all.es.js +5125 -5093
  40. package/dist/index-browser-all.es.js.map +1 -1
  41. package/dist/index-browser-all.es.web.js +4442 -4381
  42. package/dist/index-browser-all.es.web.js.map +1 -1
  43. package/dist/index-node-14.17.cjs.css +1 -1
  44. package/dist/index-node-14.17.cjs.js +4985 -4976
  45. package/dist/index-node-14.17.cjs.js.map +1 -1
  46. package/dist/index-node-14.17.cjs.web.css +1 -2
  47. package/dist/index-node-14.17.cjs.web.js +4566 -4510
  48. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  49. package/dist/linaria-themes-browser-all.es.android.js +6 -2
  50. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  51. package/dist/linaria-themes-browser-all.es.ios.js +6 -2
  52. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  53. package/dist/linaria-themes-browser-all.es.js +6 -2
  54. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  55. package/dist/linaria-themes-browser-all.es.web.js +6 -2
  56. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  57. package/dist/linaria-themes-node-14.17.cjs.js +6 -2
  58. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  59. package/dist/linaria-themes-node-14.17.cjs.web.js +6 -2
  60. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  61. package/dist/styles.css +1 -2
  62. package/dist/tsbuildinfo +1 -1
  63. package/package.json +2 -2
  64. package/typings/react-native-web.d.ts +48 -1
  65. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +0 -14
  66. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +0 -1
  67. package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts +0 -4
  68. package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +0 -1
  69. package/dist/definitions/IconButton/PressableIconButton.d.ts +0 -8
  70. package/dist/definitions/IconButton/PressableIconButton.d.ts.map +0 -1
  71. package/dist/definitions/IconButton/PressableIconButtonWebWrapper.d.ts +0 -5
  72. package/dist/definitions/IconButton/PressableIconButtonWebWrapper.d.ts.map +0 -1
  73. package/dist/definitions/IconButton/PressableIconButtonWebWrapper.web.d.ts +0 -12
  74. package/dist/definitions/IconButton/PressableIconButtonWebWrapper.web.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/kitt-universal",
3
- "version": "9.44.1",
3
+ "version": "9.45.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "directory": "@ornikar/kitt-universal",
@@ -144,5 +144,5 @@
144
144
  "react-native-web": "0.17.7",
145
145
  "styled-components": "5.3.5"
146
146
  },
147
- "gitHead": "8820fb67a6f3b6a07b5285906e7617cd3787fbf8"
147
+ "gitHead": "9c80ae073d63c1d489e42d5e31a2edd8f6bb3dd3"
148
148
  }
@@ -45,8 +45,53 @@ declare module 'react-native' {
45
45
  | WebTranslate3d
46
46
  )[];
47
47
 
48
+ // https://github.com/necolas/react-native-web/blob/db9df2b55f34ae03781c7e07e120c4baa4221157/packages/react-native-web/src/types/styles.js#L76
49
+ type CursorValue =
50
+ | 'alias'
51
+ | 'all-scroll'
52
+ | 'auto'
53
+ | 'cell'
54
+ | 'context-menu'
55
+ | 'copy'
56
+ | 'crosshair'
57
+ | 'default'
58
+ | 'grab'
59
+ | 'grabbing'
60
+ | 'help'
61
+ | 'pointer'
62
+ | 'progress'
63
+ | 'wait'
64
+ | 'text'
65
+ | 'vertical-text'
66
+ | 'move'
67
+ | 'none'
68
+ | 'no-drop'
69
+ | 'not-allowed'
70
+ | 'zoom-in'
71
+ | 'zoom-out'
72
+ // resize
73
+ | 'col-resize'
74
+ | 'e-resize'
75
+ | 'ew-resize'
76
+ | 'n-resize'
77
+ | 'ne-resize'
78
+ | 'ns-resize'
79
+ | 'nw-resize'
80
+ | 'row-resize'
81
+ | 's-resize'
82
+ | 'se-resize'
83
+ | 'sw-resize'
84
+ | 'w-resize'
85
+ | 'nesw-resize'
86
+ | 'nwse-resize';
87
+
88
+ // https://github.com/necolas/react-native-web/blob/db9df2b55f34ae03781c7e07e120c4baa4221157/packages/react-native-web/src/types/styles.js#L130
89
+ interface InteractionStyles {
90
+ cursor?: CursorValue;
91
+ }
92
+
48
93
  // https://github.com/necolas/react-native-web/blob/db9df2b55f34ae03781c7e07e120c4baa4221157/packages/react-native-web/src/exports/View/types.js#L79
49
- interface ViewStyle {
94
+ interface ViewStyle extends InteractionStyles {
50
95
  // https://github.com/necolas/react-native-web/blob/db9df2b55f34ae03781c7e07e120c4baa4221157/packages/react-native-web/src/types/styles.js#L24
51
96
  animationDelay?: string | Array<string>;
52
97
  animationDirection?: AnimationDirection | Array<AnimationDirection>;
@@ -66,6 +111,8 @@ declare module 'react-native' {
66
111
  visibility?: string;
67
112
  /** web only - allow css background radiants */
68
113
  background?: string;
114
+ /** web only - allow custom boxShadow */
115
+ boxShadow?: string;
69
116
  }
70
117
 
71
118
  // https://github.com/necolas/react-native-web/blob/db9df2b55f34ae03781c7e07e120c4baa4221157/packages/react-native-web/src/exports/View/types.js#L27
@@ -1,14 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- import type { IconButtonProps } from './IconButton';
3
- import type { PressableIconButtonProps } from './PressableIconButton';
4
- export interface PressableAnimatedContainerProps {
5
- children: NonNullable<ReactNode>;
6
- disabled?: boolean;
7
- color: IconButtonProps['color'];
8
- testID?: IconButtonProps['testID'];
9
- accessibilityLabel?: IconButtonProps['accessibilityLabel'];
10
- accessibilityRole?: IconButtonProps['accessibilityRole'];
11
- onPress: PressableIconButtonProps['onPress'];
12
- }
13
- export declare function PressableAnimatedContainer({ disabled, color, testID, accessibilityRole, accessibilityLabel, children, onPress, }: PressableAnimatedContainerProps): ReactElement;
14
- //# sourceMappingURL=PressableAnimatedContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableAnimatedContainer.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGtE,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IACnC,kBAAkB,CAAC,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAC3D,iBAAiB,CAAC,EAAE,eAAe,CAAC,mBAAmB,CAAC,CAAC;IACzD,OAAO,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC9C;AA+BD,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAe,EACf,MAAM,EACN,iBAA4B,EAC5B,kBAAkB,EAClB,QAAQ,EACR,OAAO,GACR,EAAE,+BAA+B,GAAG,YAAY,CA+ChD"}
@@ -1,4 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { PressableAnimatedContainerProps } from './PressableAnimatedContainer';
3
- export declare function PressableAnimatedContainer({ children, color, disabled, testID, onPress, }: PressableAnimatedContainerProps): ReactElement;
4
- //# sourceMappingURL=PressableAnimatedContainer.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableAnimatedContainer.web.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableAnimatedContainer.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAGpF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,GACR,EAAE,+BAA+B,GAAG,YAAY,CAMhD"}
@@ -1,8 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { PressableProps } from 'react-native';
3
- import type { IconButtonProps } from './IconButton';
4
- export interface PressableIconButtonProps extends PressableProps {
5
- color: IconButtonProps['color'];
6
- }
7
- export declare function PressableIconButton({ color, disabled, ...props }: PressableIconButtonProps): ReactElement;
8
- //# sourceMappingURL=PressableIconButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableIconButton.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAmCpD,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CACjC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,GAAG,YAAY,CAWzG"}
@@ -1,5 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { PressableIconButtonWebWrapperWithThemeProps } from './PressableIconButtonWebWrapper.web';
3
- export type { PressableIconButtonWebWrapperWithThemeProps } from './PressableIconButtonWebWrapper.web';
4
- export declare function PressableIconButtonWebWrapperWithTheme(props: PressableIconButtonWebWrapperWithThemeProps): ReactElement;
5
- //# sourceMappingURL=PressableIconButtonWebWrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableIconButtonWebWrapper.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButtonWebWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAEvG,YAAY,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAEvG,wBAAgB,sCAAsC,CACpD,KAAK,EAAE,2CAA2C,GACjD,YAAY,CAEd"}
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import type { DefaultTheme } from 'styled-components/native';
3
- export interface PressableIconButtonWebWrapperWithThemeProps {
4
- theme: DefaultTheme;
5
- $isWhite?: boolean;
6
- $isPrimary?: boolean;
7
- $isDisabled?: boolean;
8
- }
9
- export declare const PressableIconButtonWebWrapperWithTheme: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & PressableIconButtonWebWrapperWithThemeProps & {
10
- as?: import("react").ElementType<any> | undefined;
11
- }>;
12
- //# sourceMappingURL=PressableIconButtonWebWrapper.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PressableIconButtonWebWrapper.web.d.ts","sourceRoot":"","sources":["../../../src/IconButton/PressableIconButtonWebWrapper.web.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,MAAM,WAAW,2CAA2C;IAC1D,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,sCAAsC;;EAuClD,CAAC"}