@ornikar/kitt-universal 25.58.1-canary.95e9af38cc4e878fc97c4391877d7b879da5b220.0 → 25.58.1-canary.a2bac16fb42ca488d0dd8ad398c7507d2e37d975.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 +2 -10
- package/dist/definitions/Actions/ActionsItem.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +2 -0
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +2 -0
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +2 -0
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +4 -2
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +2 -0
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +4 -2
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +19 -17
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +20 -18
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-20.10.cjs.js.map +1 -1
- package/dist/linaria-themes-node-20.10.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-20.10.es.mjs.map +1 -1
- package/dist/linaria-themes-node-20.10.es.web.mjs.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -8
- package/scripts/run-all-transformers.js +0 -98
- package/scripts/run-transformer.js +0 -41
- package/scripts/transformers/modals.js +0 -102
package/dist/index.es.web.js
CHANGED
|
@@ -3627,6 +3627,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3627
3627
|
var mountedRef = useRef(false);
|
|
3628
3628
|
// securing the loading state with a ref to avoid user action between rerenders
|
|
3629
3629
|
var loadingRef = useRef(false);
|
|
3630
|
+
var isStretch = useBreakpointValue(stretch) || stretch === true;
|
|
3630
3631
|
|
|
3631
3632
|
// effect just for tracking mounted state, as onPress can unmount the ActionButton
|
|
3632
3633
|
useEffect(function () {
|
|
@@ -3636,6 +3637,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3636
3637
|
};
|
|
3637
3638
|
}, []);
|
|
3638
3639
|
return /*#__PURE__*/jsx(View, {
|
|
3640
|
+
flexGrow: isStretch ? 1 : undefined,
|
|
3639
3641
|
children: /*#__PURE__*/jsx(as, _objectSpread(_objectSpread({
|
|
3640
3642
|
ref: ref
|
|
3641
3643
|
}, props), {}, {
|
|
@@ -3644,7 +3646,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3644
3646
|
icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
|
|
3645
3647
|
onPress: function handlePress(e) {
|
|
3646
3648
|
var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
|
|
3647
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3649
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3648
3650
|
return _regeneratorRuntime().wrap(function (_context) {
|
|
3649
3651
|
while (1) switch (_context.prev = _context.next) {
|
|
3650
3652
|
case 0:
|
|
@@ -4715,7 +4717,7 @@ function ExternalAppLink(_ref) {
|
|
|
4715
4717
|
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
4716
4718
|
var href = "".concat(appScheme, ":").concat(appValue);
|
|
4717
4719
|
var handleOnPress = /*#__PURE__*/function () {
|
|
4718
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
|
|
4720
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
|
|
4719
4721
|
var canOpen;
|
|
4720
4722
|
return _regeneratorRuntime().wrap(function (_context) {
|
|
4721
4723
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -4828,7 +4830,7 @@ function ExternalLink(_ref) {
|
|
|
4828
4830
|
|
|
4829
4831
|
function useOpenExternalLink() {
|
|
4830
4832
|
return /*#__PURE__*/function () {
|
|
4831
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
4833
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
4832
4834
|
var href, _ref$behavior, behavior;
|
|
4833
4835
|
return _regeneratorRuntime().wrap(function (_context) {
|
|
4834
4836
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5798,7 +5800,7 @@ function DocumentPicker(_ref) {
|
|
|
5798
5800
|
documentPickerOptions = _ref.documentPickerOptions;
|
|
5799
5801
|
var childElement = Children.only(children);
|
|
5800
5802
|
var handlePickDocument = /*#__PURE__*/function () {
|
|
5801
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5803
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5802
5804
|
var _childElement$props$o, _childElement$props;
|
|
5803
5805
|
var result;
|
|
5804
5806
|
return _regeneratorRuntime().wrap(function (_context) {
|
|
@@ -5849,7 +5851,7 @@ function ImagePicker(_ref) {
|
|
|
5849
5851
|
imagePickerOptions = _ref.imagePickerOptions;
|
|
5850
5852
|
var childElement = Children.only(children);
|
|
5851
5853
|
var handlePickImage = /*#__PURE__*/function () {
|
|
5852
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5854
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5853
5855
|
var _childElement$props$o, _childElement$props;
|
|
5854
5856
|
var result;
|
|
5855
5857
|
return _regeneratorRuntime().wrap(function (_context) {
|
|
@@ -5938,7 +5940,7 @@ function useGoogleMapsApi() {
|
|
|
5938
5940
|
return _loadMapsApi.apply(this, arguments);
|
|
5939
5941
|
}
|
|
5940
5942
|
function _loadMapsApi() {
|
|
5941
|
-
_loadMapsApi = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5943
|
+
_loadMapsApi = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5942
5944
|
var placeApi;
|
|
5943
5945
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5944
5946
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6151,8 +6153,8 @@ function GoogleMapsAutocompleteProvider(_ref) {
|
|
|
6151
6153
|
_useReducer2 = _slicedToArray(_useReducer, 2),
|
|
6152
6154
|
state = _useReducer2[0],
|
|
6153
6155
|
dispatch = _useReducer2[1];
|
|
6154
|
-
var handleInputChange = useDebouncedCallback(useCallback(/*#__PURE__*/function () {
|
|
6155
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {
|
|
6156
|
+
var handleInputChange = useDebouncedCallback(useCallback( /*#__PURE__*/function () {
|
|
6157
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {
|
|
6156
6158
|
var predictionsPromise, _yield$predictionsPro, results, status;
|
|
6157
6159
|
return _regeneratorRuntime().wrap(function (_context) {
|
|
6158
6160
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6214,8 +6216,8 @@ function GoogleMapsAutocompleteProvider(_ref) {
|
|
|
6214
6216
|
return _ref2.apply(this, arguments);
|
|
6215
6217
|
};
|
|
6216
6218
|
}(), [mapsApi.autoComplete, minCharsToSearch]), debounceTimeout);
|
|
6217
|
-
var handleSelectItem = useCallback(/*#__PURE__*/function () {
|
|
6218
|
-
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, onChange) {
|
|
6219
|
+
var handleSelectItem = useCallback( /*#__PURE__*/function () {
|
|
6220
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, onChange) {
|
|
6219
6221
|
var placePromise, place, formattedAddress;
|
|
6220
6222
|
return _regeneratorRuntime().wrap(function (_context2) {
|
|
6221
6223
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -11343,7 +11345,7 @@ function Picker(_ref) {
|
|
|
11343
11345
|
isOpen: isOpen,
|
|
11344
11346
|
disabled: disabled
|
|
11345
11347
|
}, restToggleProps))
|
|
11346
|
-
})), /*#__PURE__*/createPortal(/*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
11348
|
+
})), /*#__PURE__*/createPortal( /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
11347
11349
|
ref: refMemo,
|
|
11348
11350
|
testID: testID
|
|
11349
11351
|
}, menuProps), {}, {
|
|
@@ -12064,12 +12066,12 @@ function StoryGridRow(_ref) {
|
|
|
12064
12066
|
})
|
|
12065
12067
|
});
|
|
12066
12068
|
}
|
|
12067
|
-
function StoryGridCol(
|
|
12068
|
-
var title =
|
|
12069
|
-
titleColor =
|
|
12070
|
-
children =
|
|
12071
|
-
|
|
12072
|
-
platform =
|
|
12069
|
+
function StoryGridCol(_ref10) {
|
|
12070
|
+
var title = _ref10.title,
|
|
12071
|
+
titleColor = _ref10.titleColor,
|
|
12072
|
+
children = _ref10.children,
|
|
12073
|
+
_ref10$platform = _ref10.platform,
|
|
12074
|
+
platform = _ref10$platform === void 0 ? 'all' : _ref10$platform;
|
|
12073
12075
|
if (platform === 'native') {
|
|
12074
12076
|
return null;
|
|
12075
12077
|
}
|
|
@@ -12777,7 +12779,7 @@ function Tooltip(_ref) {
|
|
|
12777
12779
|
onFocus: handleToggleTooltip,
|
|
12778
12780
|
onBlur: handleToggleTooltip,
|
|
12779
12781
|
width: '100%'
|
|
12780
|
-
}), /*#__PURE__*/createPortal(/*#__PURE__*/jsx(View, {
|
|
12782
|
+
}), /*#__PURE__*/createPortal( /*#__PURE__*/jsx(View, {
|
|
12781
12783
|
ref: refs.setFloating,
|
|
12782
12784
|
"aria-hidden": !isVisible,
|
|
12783
12785
|
paddingX: {
|