@ornikar/kitt-universal 17.1.3 → 17.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/definitions/FullscreenModal/FullscreenModalContainer.d.ts.map +1 -1
- package/dist/definitions/Notification/Notification.d.ts +1 -5
- package/dist/definitions/Notification/Notification.d.ts.map +1 -1
- package/dist/index-node-18.18.cjs.js +2 -7
- package/dist/index-node-18.18.cjs.js.map +1 -1
- package/dist/index-node-18.18.cjs.web.js +2 -7
- package/dist/index-node-18.18.cjs.web.js.map +1 -1
- package/dist/index-node-18.18.es.mjs +2 -7
- package/dist/index-node-18.18.es.mjs.map +1 -1
- package/dist/index-node-18.18.es.web.mjs +2 -7
- package/dist/index-node-18.18.es.web.mjs.map +1 -1
- package/dist/index.es.android.js +2 -7
- package/dist/index.es.android.js.map +1 -1
- package/dist/index.es.ios.js +2 -7
- package/dist/index.es.ios.js.map +1 -1
- package/dist/index.es.js +2 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +2 -7
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [17.1.5](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@17.1.4...@ornikar/kitt-universal@17.1.5) (2023-10-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* kitt-universal remove deprecated unused prop [no issue] ([#2186](https://github.com/ornikar/kitt/issues/2186)) ([3d0099a](https://github.com/ornikar/kitt/commit/3d0099a5dff160dc8c6f6f1fc67394f3d7d159b0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [17.1.4](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@17.1.3...@ornikar/kitt-universal@17.1.4) (2023-10-25)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* fullscreen modal scroll on native [no issue] ([#2178](https://github.com/ornikar/kitt/issues/2178)) ([d19b073](https://github.com/ornikar/kitt/commit/d19b073e2b365da36dc953158d0d4400f7a7b948))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [17.1.3](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@17.1.2...@ornikar/kitt-universal@17.1.3) (2023-10-24)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullscreenModalContainer.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModalContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,WAAW,6BAA6B;IAC5C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,6BAA6B,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"FullscreenModalContainer.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModalContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,WAAW,6BAA6B;IAC5C,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,6BAA6B,GAAG,SAAS,CAmBhH"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { BaseMessageProps } from '../BaseMessage/BaseMessage';
|
|
3
3
|
export interface NotificationProps extends BaseMessageProps {
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use onDismiss instead
|
|
6
|
-
*/
|
|
7
|
-
onDelete?: BaseMessageProps['onDismiss'];
|
|
8
4
|
}
|
|
9
|
-
export declare function Notification({ type, children, centeredText, insets,
|
|
5
|
+
export declare function Notification({ type, children, centeredText, insets, onDismiss }: NotificationProps): ReactNode;
|
|
10
6
|
//# sourceMappingURL=Notification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAE9D,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAM9G"}
|
|
@@ -6584,7 +6584,8 @@ function FullscreenModalContainer({
|
|
|
6584
6584
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
6585
6585
|
position: "relative",
|
|
6586
6586
|
flexGrow: 1,
|
|
6587
|
-
flexShrink: 1
|
|
6587
|
+
flexShrink: 1,
|
|
6588
|
+
flexBasis: "100%"
|
|
6588
6589
|
/*
|
|
6589
6590
|
Here we are setting the same min and max height because on web the content was overflowing and not scrolling
|
|
6590
6591
|
minHeight is needed to make the modal fullscreen
|
|
@@ -9041,14 +9042,8 @@ function Notification({
|
|
|
9041
9042
|
children,
|
|
9042
9043
|
centeredText,
|
|
9043
9044
|
insets,
|
|
9044
|
-
onDelete,
|
|
9045
9045
|
onDismiss
|
|
9046
9046
|
}) {
|
|
9047
|
-
if ((process.env.NODE_ENV !== "production")) {
|
|
9048
|
-
if (onDelete) {
|
|
9049
|
-
throw new Error('onDelete is deprecated us onDismiss instead');
|
|
9050
|
-
}
|
|
9051
|
-
}
|
|
9052
9047
|
return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
|
|
9053
9048
|
hasNoRadius: true,
|
|
9054
9049
|
type: type,
|