@ornikar/kitt-universal 9.44.0 → 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.
- package/dist/definitions/BaseMessage/BaseMessage.d.ts.map +1 -1
- package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/IconButton/AnimatedBackground.d.ts +13 -0
- package/dist/definitions/IconButton/AnimatedBackground.d.ts.map +1 -0
- package/dist/definitions/IconButton/AnimatedBackground.web.d.ts +4 -0
- package/dist/definitions/IconButton/AnimatedBackground.web.d.ts.map +1 -0
- package/dist/definitions/IconButton/AnimatedScale.d.ts +12 -0
- package/dist/definitions/IconButton/AnimatedScale.d.ts.map +1 -0
- package/dist/definitions/IconButton/AnimatedScale.web.d.ts +4 -0
- package/dist/definitions/IconButton/AnimatedScale.web.d.ts.map +1 -0
- package/dist/definitions/IconButton/Background.d.ts +11 -0
- package/dist/definitions/IconButton/Background.d.ts.map +1 -0
- package/dist/definitions/IconButton/IconButton.d.ts +12 -5
- package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
- package/dist/definitions/IconButton/hooks/useNativeAnimation.d.ts +18 -0
- package/dist/definitions/IconButton/hooks/useNativeAnimation.d.ts.map +1 -0
- package/dist/definitions/IconButton/hooks/useNativeAnimation.web.d.ts +3 -0
- package/dist/definitions/IconButton/hooks/useNativeAnimation.web.d.ts.map +1 -0
- package/dist/definitions/forms/InputTag/InputTag.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +40 -6
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/story-components/Story.d.ts +1 -1
- package/dist/definitions/story-components/Story.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryBlock.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -1
- package/dist/definitions/story-components/StorySection.d.ts +3 -2
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
- package/dist/definitions/story-components/theme.d.ts +1 -1
- package/dist/definitions/story-components/theme.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/feedback.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/feedback.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/iconButton.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/typography/BasicNativeBaseText.d.ts +15 -0
- package/dist/definitions/typography/BasicNativeBaseText.d.ts.map +1 -0
- package/dist/definitions/typography/Typography.d.ts +2 -2
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +5065 -5063
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.css +1 -1
- package/dist/index-browser-all.es.ios.js +5065 -5063
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +4823 -4814
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +4487 -4461
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.css +1 -1
- package/dist/index-node-14.17.cjs.js +5076 -5091
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +1 -2
- package/dist/index-node-14.17.cjs.web.js +4519 -4487
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +6 -2
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +6 -2
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +6 -2
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +6 -2
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +6 -2
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +6 -2
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +1 -2
- package/dist/tsbuildinfo +1 -1
- package/package.json +5 -5
- package/typings/react-native-web.d.ts +48 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +0 -14
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +0 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts +0 -4
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +0 -1
- package/dist/definitions/IconButton/PressableIconButton.d.ts +0 -8
- package/dist/definitions/IconButton/PressableIconButton.d.ts.map +0 -1
- package/dist/definitions/IconButton/PressableIconButtonWebWrapper.d.ts +0 -5
- package/dist/definitions/IconButton/PressableIconButtonWebWrapper.d.ts.map +0 -1
- package/dist/definitions/IconButton/PressableIconButtonWebWrapper.web.d.ts +0 -12
- 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.
|
|
3
|
+
"version": "9.45.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/kitt-universal",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"@babel/runtime": "^7.20.6",
|
|
71
71
|
"@floating-ui/react-dom": "1.0.0",
|
|
72
72
|
"@floating-ui/react-native": "0.8.0",
|
|
73
|
-
"@linaria/react": "4.3
|
|
74
|
-
"@ornikar/eslint-config-kitt": "^1.0.
|
|
73
|
+
"@linaria/react": "^4.1.3",
|
|
74
|
+
"@ornikar/eslint-config-kitt": "^1.0.2",
|
|
75
75
|
"@ornikar/kitt-icons": "^4.4.0",
|
|
76
76
|
"@react-native-community/datetimepicker": "^6.0.0",
|
|
77
77
|
"libphonenumber-js": "1.10.19",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@juggle/resize-observer": "3.4.0",
|
|
128
128
|
"@ornikar/babel-preset-base": "2.0.1",
|
|
129
129
|
"@react-native-picker/picker": "2.4.1",
|
|
130
|
-
"@types/react": "17.0.
|
|
130
|
+
"@types/react": "17.0.53",
|
|
131
131
|
"@types/react-portal": "4.0.4",
|
|
132
132
|
"@types/react-transition-group": "4.2.3",
|
|
133
133
|
"@types/twemoji-parser": "13.1.1",
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"react-native-web": "0.17.7",
|
|
145
145
|
"styled-components": "5.3.5"
|
|
146
146
|
},
|
|
147
|
-
"gitHead": "
|
|
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"}
|