@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
|
@@ -4173,10 +4173,11 @@ function ModalBehaviour({
|
|
|
4173
4173
|
}
|
|
4174
4174
|
ModalBehaviour.CloseButton = CloseButton$1;
|
|
4175
4175
|
|
|
4176
|
-
|
|
4176
|
+
const Overlay = /*#__PURE__*/React.forwardRef(({
|
|
4177
4177
|
onPress
|
|
4178
|
-
}) {
|
|
4178
|
+
}, ref) => {
|
|
4179
4179
|
return /*#__PURE__*/jsxRuntime.jsx(Pressable, {
|
|
4180
|
+
ref: ref,
|
|
4180
4181
|
accessibilityRole: "none",
|
|
4181
4182
|
position: "absolute",
|
|
4182
4183
|
top: "0",
|
|
@@ -4186,9 +4187,9 @@ function Overlay({
|
|
|
4186
4187
|
backgroundColor: "kitt.overlay.dark",
|
|
4187
4188
|
onPress: onPress
|
|
4188
4189
|
});
|
|
4189
|
-
}
|
|
4190
|
+
});
|
|
4190
4191
|
|
|
4191
|
-
|
|
4192
|
+
const CardModalRotationContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
4192
4193
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4193
4194
|
paddingX: "kitt.cardModal.overlayPadding.horizontal",
|
|
4194
4195
|
paddingY: "kitt.cardModal.overlayPadding.vertical",
|
|
@@ -4198,9 +4199,10 @@ function CardModalRotationContainer(props) {
|
|
|
4198
4199
|
_web: {
|
|
4199
4200
|
maxHeight: '100svh'
|
|
4200
4201
|
},
|
|
4201
|
-
...props
|
|
4202
|
+
...props,
|
|
4203
|
+
ref: ref
|
|
4202
4204
|
});
|
|
4203
|
-
}
|
|
4205
|
+
});
|
|
4204
4206
|
|
|
4205
4207
|
function NativeOpacityAnimation$2({
|
|
4206
4208
|
visible,
|
|
@@ -8998,16 +9000,17 @@ const getIconButtonColor = messageType => {
|
|
|
8998
9000
|
}
|
|
8999
9001
|
};
|
|
9000
9002
|
|
|
9001
|
-
|
|
9003
|
+
const BaseMessage = /*#__PURE__*/React.forwardRef(({
|
|
9002
9004
|
type = 'info',
|
|
9003
9005
|
children,
|
|
9004
9006
|
hasNoRadius,
|
|
9005
9007
|
centeredText,
|
|
9006
9008
|
insets,
|
|
9007
9009
|
onDismiss
|
|
9008
|
-
}) {
|
|
9010
|
+
}, ref) => {
|
|
9009
9011
|
const color = getColorByType(type);
|
|
9010
9012
|
return /*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
9013
|
+
ref: ref,
|
|
9011
9014
|
alignItems: "flex-start",
|
|
9012
9015
|
justifyContent: "space-between",
|
|
9013
9016
|
minHeight: "kitt.feedbackMessage.minHeight",
|
|
@@ -9049,7 +9052,7 @@ function BaseMessage({
|
|
|
9049
9052
|
})
|
|
9050
9053
|
}) : null]
|
|
9051
9054
|
});
|
|
9052
|
-
}
|
|
9055
|
+
});
|
|
9053
9056
|
|
|
9054
9057
|
function Message({
|
|
9055
9058
|
type = 'info',
|
|
@@ -11788,14 +11791,15 @@ NavigationModal.Body = Body;
|
|
|
11788
11791
|
NavigationModal.Footer = Footer;
|
|
11789
11792
|
NavigationModal.ModalBehaviour = NavigationModalBehaviour;
|
|
11790
11793
|
|
|
11791
|
-
|
|
11794
|
+
const Notification = /*#__PURE__*/React.forwardRef(({
|
|
11792
11795
|
type,
|
|
11793
11796
|
children,
|
|
11794
11797
|
centeredText,
|
|
11795
11798
|
insets,
|
|
11796
11799
|
onDismiss
|
|
11797
|
-
}) {
|
|
11800
|
+
}, ref) => {
|
|
11798
11801
|
return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
|
|
11802
|
+
ref: ref,
|
|
11799
11803
|
hasNoRadius: true,
|
|
11800
11804
|
type: type,
|
|
11801
11805
|
centeredText: centeredText,
|
|
@@ -11803,7 +11807,7 @@ function Notification({
|
|
|
11803
11807
|
onDismiss: onDismiss,
|
|
11804
11808
|
children: children
|
|
11805
11809
|
});
|
|
11806
|
-
}
|
|
11810
|
+
});
|
|
11807
11811
|
|
|
11808
11812
|
const AnimatedCircle = Animated__default.createAnimatedComponent(Svg.Circle);
|
|
11809
11813
|
function AnimatedLoaderCircle({
|