@ornikar/kitt-universal 29.4.1 → 29.4.2-canary.0e4f130cb45a177a7fdd9a15817918e986eb8cd4.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 +15 -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/scripts/codemods/__testfixtures__/illustration-imports/illustration-imports.input.tsx +11 -0
- package/scripts/codemods/__testfixtures__/illustration-imports/illustration-imports.output.tsx +13 -0
- package/scripts/codemods/__tests__/illustration-imports.test.js +12 -0
- package/scripts/codemods/illustration-imports.js +184 -0
|
@@ -4150,10 +4150,11 @@ function ModalBehaviour({
|
|
|
4150
4150
|
}
|
|
4151
4151
|
ModalBehaviour.CloseButton = CloseButton$1;
|
|
4152
4152
|
|
|
4153
|
-
|
|
4153
|
+
const Overlay = /*#__PURE__*/forwardRef(({
|
|
4154
4154
|
onPress
|
|
4155
|
-
}) {
|
|
4155
|
+
}, ref) => {
|
|
4156
4156
|
return /*#__PURE__*/jsx(Pressable, {
|
|
4157
|
+
ref: ref,
|
|
4157
4158
|
accessibilityRole: "none",
|
|
4158
4159
|
position: "absolute",
|
|
4159
4160
|
top: "0",
|
|
@@ -4163,9 +4164,9 @@ function Overlay({
|
|
|
4163
4164
|
backgroundColor: "kitt.overlay.dark",
|
|
4164
4165
|
onPress: onPress
|
|
4165
4166
|
});
|
|
4166
|
-
}
|
|
4167
|
+
});
|
|
4167
4168
|
|
|
4168
|
-
|
|
4169
|
+
const CardModalRotationContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
4169
4170
|
return /*#__PURE__*/jsx(View, {
|
|
4170
4171
|
paddingX: "kitt.cardModal.overlayPadding.horizontal",
|
|
4171
4172
|
paddingY: "kitt.cardModal.overlayPadding.vertical",
|
|
@@ -4175,9 +4176,10 @@ function CardModalRotationContainer(props) {
|
|
|
4175
4176
|
_web: {
|
|
4176
4177
|
maxHeight: '100svh'
|
|
4177
4178
|
},
|
|
4178
|
-
...props
|
|
4179
|
+
...props,
|
|
4180
|
+
ref: ref
|
|
4179
4181
|
});
|
|
4180
|
-
}
|
|
4182
|
+
});
|
|
4181
4183
|
|
|
4182
4184
|
function NativeOpacityAnimation$2({
|
|
4183
4185
|
visible,
|
|
@@ -8975,16 +8977,17 @@ const getIconButtonColor = messageType => {
|
|
|
8975
8977
|
}
|
|
8976
8978
|
};
|
|
8977
8979
|
|
|
8978
|
-
|
|
8980
|
+
const BaseMessage = /*#__PURE__*/forwardRef(({
|
|
8979
8981
|
type = 'info',
|
|
8980
8982
|
children,
|
|
8981
8983
|
hasNoRadius,
|
|
8982
8984
|
centeredText,
|
|
8983
8985
|
insets,
|
|
8984
8986
|
onDismiss
|
|
8985
|
-
}) {
|
|
8987
|
+
}, ref) => {
|
|
8986
8988
|
const color = getColorByType(type);
|
|
8987
8989
|
return /*#__PURE__*/jsxs(HStack, {
|
|
8990
|
+
ref: ref,
|
|
8988
8991
|
alignItems: "flex-start",
|
|
8989
8992
|
justifyContent: "space-between",
|
|
8990
8993
|
minHeight: "kitt.feedbackMessage.minHeight",
|
|
@@ -9026,7 +9029,7 @@ function BaseMessage({
|
|
|
9026
9029
|
})
|
|
9027
9030
|
}) : null]
|
|
9028
9031
|
});
|
|
9029
|
-
}
|
|
9032
|
+
});
|
|
9030
9033
|
|
|
9031
9034
|
function Message({
|
|
9032
9035
|
type = 'info',
|
|
@@ -11765,14 +11768,15 @@ NavigationModal.Body = Body;
|
|
|
11765
11768
|
NavigationModal.Footer = Footer;
|
|
11766
11769
|
NavigationModal.ModalBehaviour = NavigationModalBehaviour;
|
|
11767
11770
|
|
|
11768
|
-
|
|
11771
|
+
const Notification = /*#__PURE__*/forwardRef(({
|
|
11769
11772
|
type,
|
|
11770
11773
|
children,
|
|
11771
11774
|
centeredText,
|
|
11772
11775
|
insets,
|
|
11773
11776
|
onDismiss
|
|
11774
|
-
}) {
|
|
11777
|
+
}, ref) => {
|
|
11775
11778
|
return /*#__PURE__*/jsx(BaseMessage, {
|
|
11779
|
+
ref: ref,
|
|
11776
11780
|
hasNoRadius: true,
|
|
11777
11781
|
type: type,
|
|
11778
11782
|
centeredText: centeredText,
|
|
@@ -11780,7 +11784,7 @@ function Notification({
|
|
|
11780
11784
|
onDismiss: onDismiss,
|
|
11781
11785
|
children: children
|
|
11782
11786
|
});
|
|
11783
|
-
}
|
|
11787
|
+
});
|
|
11784
11788
|
|
|
11785
11789
|
const AnimatedCircle = Animated.createAnimatedComponent(Circle$1);
|
|
11786
11790
|
function AnimatedLoaderCircle({
|