@ornikar/kitt-universal 29.4.1 → 29.4.2-canary.5279d6411761af875ca17c9a8eefbb621d15180d.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/CHANGELOG.md +14 -0
- package/dist/definitions/BaseMessage/BaseMessage.d.ts +1 -1
- package/dist/definitions/BaseMessage/BaseMessage.d.ts.map +1 -1
- package/dist/definitions/CardModal/CardModalAnimation/CardModalAnimation.web.d.ts +1 -1
- package/dist/definitions/CardModal/CardModalAnimation/CardModalAnimation.web.d.ts.map +1 -1
- package/dist/definitions/CardModal/CardModalAnimation/CardModalRotationContainer.d.ts +2 -2
- package/dist/definitions/CardModal/CardModalAnimation/CardModalRotationContainer.d.ts.map +1 -1
- package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.web.d.ts +1 -1
- package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.web.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.d.ts +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.d.ts.map +1 -1
- package/dist/definitions/Notification/Notification.d.ts +2 -2
- package/dist/definitions/Notification/Notification.d.ts.map +1 -1
- package/dist/definitions/Overlay/Overlay.d.ts +2 -2
- package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
- package/dist/definitions/Picker/Picker.web.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +23 -18
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +23 -18
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +16 -12
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +48 -13
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +16 -12
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +48 -13
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +15 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +47 -11
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4199,9 +4199,10 @@ function ModalBehaviour(_ref2) {
|
|
|
4199
4199
|
}
|
|
4200
4200
|
ModalBehaviour.CloseButton = CloseButton$1;
|
|
4201
4201
|
|
|
4202
|
-
|
|
4202
|
+
var Overlay = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
4203
4203
|
var onPress = _ref.onPress;
|
|
4204
4204
|
return /*#__PURE__*/jsx(Pressable, {
|
|
4205
|
+
ref: ref,
|
|
4205
4206
|
accessibilityRole: "none",
|
|
4206
4207
|
position: "absolute",
|
|
4207
4208
|
top: "0",
|
|
@@ -4211,10 +4212,10 @@ function Overlay(_ref) {
|
|
|
4211
4212
|
backgroundColor: "kitt.overlay.dark",
|
|
4212
4213
|
onPress: onPress
|
|
4213
4214
|
});
|
|
4214
|
-
}
|
|
4215
|
+
});
|
|
4215
4216
|
|
|
4216
|
-
|
|
4217
|
-
return /*#__PURE__*/jsx(View, _objectSpread({
|
|
4217
|
+
var CardModalRotationContainer = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
4218
|
+
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
4218
4219
|
paddingX: "kitt.cardModal.overlayPadding.horizontal",
|
|
4219
4220
|
paddingY: "kitt.cardModal.overlayPadding.vertical",
|
|
4220
4221
|
maxWidth: "kitt.cardModal.maxWidthWithPadding",
|
|
@@ -4223,8 +4224,10 @@ function CardModalRotationContainer(props) {
|
|
|
4223
4224
|
_web: {
|
|
4224
4225
|
maxHeight: '100svh'
|
|
4225
4226
|
}
|
|
4226
|
-
}, props)
|
|
4227
|
-
|
|
4227
|
+
}, props), {}, {
|
|
4228
|
+
ref: ref
|
|
4229
|
+
}));
|
|
4230
|
+
});
|
|
4228
4231
|
|
|
4229
4232
|
function NativeOpacityAnimation$2(_ref) {
|
|
4230
4233
|
var visible = _ref.visible,
|
|
@@ -9223,7 +9226,7 @@ var getIconButtonColor = function (messageType) {
|
|
|
9223
9226
|
}
|
|
9224
9227
|
};
|
|
9225
9228
|
|
|
9226
|
-
|
|
9229
|
+
var BaseMessage = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9227
9230
|
var _ref$type = _ref.type,
|
|
9228
9231
|
type = _ref$type === void 0 ? 'info' : _ref$type,
|
|
9229
9232
|
children = _ref.children,
|
|
@@ -9233,6 +9236,7 @@ function BaseMessage(_ref) {
|
|
|
9233
9236
|
onDismiss = _ref.onDismiss;
|
|
9234
9237
|
var color = getColorByType(type);
|
|
9235
9238
|
return /*#__PURE__*/jsxs(HStack, {
|
|
9239
|
+
ref: ref,
|
|
9236
9240
|
alignItems: "flex-start",
|
|
9237
9241
|
justifyContent: "space-between",
|
|
9238
9242
|
minHeight: "kitt.feedbackMessage.minHeight",
|
|
@@ -9274,7 +9278,7 @@ function BaseMessage(_ref) {
|
|
|
9274
9278
|
})
|
|
9275
9279
|
}) : null]
|
|
9276
9280
|
});
|
|
9277
|
-
}
|
|
9281
|
+
});
|
|
9278
9282
|
|
|
9279
9283
|
function Message(_ref) {
|
|
9280
9284
|
var _ref$type = _ref.type,
|
|
@@ -12006,13 +12010,14 @@ NavigationModal.Body = Body;
|
|
|
12006
12010
|
NavigationModal.Footer = Footer;
|
|
12007
12011
|
NavigationModal.ModalBehaviour = NavigationModalBehaviour;
|
|
12008
12012
|
|
|
12009
|
-
|
|
12013
|
+
var Notification = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
12010
12014
|
var type = _ref.type,
|
|
12011
12015
|
children = _ref.children,
|
|
12012
12016
|
centeredText = _ref.centeredText,
|
|
12013
12017
|
insets = _ref.insets,
|
|
12014
12018
|
onDismiss = _ref.onDismiss;
|
|
12015
12019
|
return /*#__PURE__*/jsx(BaseMessage, {
|
|
12020
|
+
ref: ref,
|
|
12016
12021
|
hasNoRadius: true,
|
|
12017
12022
|
type: type,
|
|
12018
12023
|
centeredText: centeredText,
|
|
@@ -12020,7 +12025,7 @@ function Notification(_ref) {
|
|
|
12020
12025
|
onDismiss: onDismiss,
|
|
12021
12026
|
children: children
|
|
12022
12027
|
});
|
|
12023
|
-
}
|
|
12028
|
+
});
|
|
12024
12029
|
|
|
12025
12030
|
var AnimatedCircle = Animated.createAnimatedComponent(Circle$1);
|
|
12026
12031
|
function AnimatedLoaderCircle(_ref) {
|