@ornikar/kitt-universal 9.1.3 → 9.2.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/dist/definitions/index.d.ts +2 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +3498 -3556
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/native-base/acceptable-native-base-props.d.ts +9 -0
- package/dist/definitions/native-base/acceptable-native-base-props.d.ts.map +1 -0
- package/dist/definitions/native-base/layout.d.ts +23 -0
- package/dist/definitions/native-base/layout.d.ts.map +1 -0
- package/dist/definitions/native-base/primitives.d.ts +21 -0
- package/dist/definitions/native-base/primitives.d.ts.map +1 -0
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +47 -25
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +47 -25
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +47 -25
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +106 -84
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +31 -6
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +31 -6
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +3 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import { View, Image, Pressable, Linking, useWindowDimensions, TextInput, StyleSheet, ScrollView, Modal as Modal$1, Text as Text$2 } from 'react-native';
|
|
3
|
+
import { View as View$1, Image, Pressable as Pressable$1, Linking, useWindowDimensions, TextInput, StyleSheet, ScrollView as ScrollView$1, Modal as Modal$1, Text as Text$2 } from 'react-native';
|
|
4
4
|
export { useWindowDimensions as useWindowSize } from 'react-native';
|
|
5
5
|
import { UserIcon, CheckboxMark, EyeOffIcon, EyeIcon, ArcIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
|
|
6
6
|
export * from '@ornikar/kitt-icons';
|
|
7
7
|
import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
|
|
8
8
|
import { cloneElement, useContext, createContext, forwardRef, useMemo, useState, Fragment, Children, useEffect } from 'react';
|
|
9
9
|
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
10
|
-
import { Text as Text$1, Image as Image$1, extendTheme, NativeBaseProvider } from 'native-base';
|
|
11
|
-
import { styled as styled$1 } from '@linaria/react';
|
|
12
10
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
11
|
+
import { Text as Text$1, Image as Image$1, NativeBaseProvider, extendTheme, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, View as View$2, ScrollView as ScrollView$2, Pressable as Pressable$2 } from 'native-base';
|
|
12
|
+
import { styled as styled$1 } from '@linaria/react';
|
|
13
13
|
import { parse } from 'twemoji-parser';
|
|
14
14
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
15
15
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
@@ -20,7 +20,7 @@ import { useFloating, offset, shift, flip, getScrollParents } from '@floating-ui
|
|
|
20
20
|
import { makeDecorator } from '@storybook/addons';
|
|
21
21
|
|
|
22
22
|
var defaultIconSize = 20;
|
|
23
|
-
var IconContainer$1 = /*#__PURE__*/styled(View).withConfig({
|
|
23
|
+
var IconContainer$1 = /*#__PURE__*/styled(View$1).withConfig({
|
|
24
24
|
displayName: "Icon__IconContainer",
|
|
25
25
|
componentId: "kitt-universal__sc-usm0ol-0"
|
|
26
26
|
})(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
|
|
@@ -183,6 +183,18 @@ function Typography(_ref) {
|
|
|
183
183
|
base: baseOrDefaultToBody
|
|
184
184
|
}));
|
|
185
185
|
|
|
186
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
187
|
+
Object.entries(type).forEach(function (_ref2) {
|
|
188
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
189
|
+
key = _ref3[0],
|
|
190
|
+
value = _ref3[1];
|
|
191
|
+
|
|
192
|
+
if (value && isTypeHeader(value) !== isHeader) {
|
|
193
|
+
throw new Error("Invalid value for \"".concat(key, "\": \"").concat(value, "\" is ").concat(isHeader ? 'not' : '', " an header. Don't mix headers and bodies."));
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
|
|
186
198
|
var text = /*#__PURE__*/jsx(Text$1, _objectSpread({
|
|
187
199
|
accessibilityRole: accessibilityRole || undefined,
|
|
188
200
|
fontSize: fontSizeForNativeBase,
|
|
@@ -261,7 +273,7 @@ var getInitials = function (firstname, lastname) {
|
|
|
261
273
|
return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
|
|
262
274
|
};
|
|
263
275
|
|
|
264
|
-
var StyledAvatarView = /*#__PURE__*/styled(View).withConfig({
|
|
276
|
+
var StyledAvatarView = /*#__PURE__*/styled(View$1).withConfig({
|
|
265
277
|
displayName: "Avatar__StyledAvatarView",
|
|
266
278
|
componentId: "kitt-universal__sc-9miubv-0"
|
|
267
279
|
})(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
|
|
@@ -516,13 +528,13 @@ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref18, ref) {
|
|
|
516
528
|
$variant: $variant,
|
|
517
529
|
$isDisabled: !!disabled,
|
|
518
530
|
$isStretch: $isStretch,
|
|
519
|
-
children: /*#__PURE__*/jsx(Pressable, _objectSpread({
|
|
531
|
+
children: /*#__PURE__*/jsx(Pressable$1, _objectSpread({
|
|
520
532
|
disabled: disabled
|
|
521
533
|
}, props))
|
|
522
534
|
});
|
|
523
535
|
});
|
|
524
536
|
|
|
525
|
-
var BaseStyledButtonPressable = /*#__PURE__*/styled(View).withConfig({
|
|
537
|
+
var BaseStyledButtonPressable = /*#__PURE__*/styled(View$1).withConfig({
|
|
526
538
|
displayName: "BaseStyledButtonPressable",
|
|
527
539
|
componentId: "kitt-universal__sc-4k8lse-0"
|
|
528
540
|
})(["position:relative;min-width:", "px;max-width:", ";width:", ";min-height:", "px;border-radius:", "px;flex-direction:row;align-items:center;justify-content:center;align-self:flex-start;background-color:", ";padding:", ";"], function (_ref) {
|
|
@@ -638,7 +650,7 @@ var StyledButtonText = /*#__PURE__*/styled(Typography.Text).withConfig({
|
|
|
638
650
|
if ($isDisabled || !isSubtle($type)) return undefined;
|
|
639
651
|
return 'color: inherit';
|
|
640
652
|
});
|
|
641
|
-
var StyledIconContainer$1 = /*#__PURE__*/styled(View).withConfig({
|
|
653
|
+
var StyledIconContainer$1 = /*#__PURE__*/styled(View$1).withConfig({
|
|
642
654
|
displayName: "ButtonContent__StyledIconContainer",
|
|
643
655
|
componentId: "kitt-universal__sc-dnyw3n-1"
|
|
644
656
|
})(["", ""], function (_ref2) {
|
|
@@ -668,7 +680,7 @@ function ButtonIcon(_ref3) {
|
|
|
668
680
|
});
|
|
669
681
|
}
|
|
670
682
|
|
|
671
|
-
var StyledChildrenWithIcon = /*#__PURE__*/styled(View).withConfig({
|
|
683
|
+
var StyledChildrenWithIcon = /*#__PURE__*/styled(View$1).withConfig({
|
|
672
684
|
displayName: "ButtonContent__StyledChildrenWithIcon",
|
|
673
685
|
componentId: "kitt-universal__sc-dnyw3n-2"
|
|
674
686
|
})(["align-items:center;justify-content:center;flex-direction:row;"]);
|
|
@@ -718,7 +730,7 @@ function ButtonContentChildren(_ref4) {
|
|
|
718
730
|
})) : null]
|
|
719
731
|
});
|
|
720
732
|
}
|
|
721
|
-
var ButtonContentContainer = /*#__PURE__*/styled(View).withConfig({
|
|
733
|
+
var ButtonContentContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
722
734
|
displayName: "ButtonContent__ButtonContentContainer",
|
|
723
735
|
componentId: "kitt-universal__sc-dnyw3n-3"
|
|
724
736
|
})(["line-height:16px;", " ", ";"], function (_ref5) {
|
|
@@ -832,7 +844,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
832
844
|
});
|
|
833
845
|
});
|
|
834
846
|
|
|
835
|
-
var Container$3 = /*#__PURE__*/styled(View).withConfig({
|
|
847
|
+
var Container$3 = /*#__PURE__*/styled(View$1).withConfig({
|
|
836
848
|
displayName: "Card__Container",
|
|
837
849
|
componentId: "kitt-universal__sc-1n9psug-0"
|
|
838
850
|
})(["background-color:", ";padding:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
|
|
@@ -925,26 +937,25 @@ function ExternalAppLink(_ref) {
|
|
|
925
937
|
break;
|
|
926
938
|
}
|
|
927
939
|
|
|
928
|
-
Linking.openURL(href)["catch"](function (err) {
|
|
929
|
-
console.error("An error occurred while opening ".concat(href), err);
|
|
930
|
-
onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("An error occurred while opening ".concat(href));
|
|
931
|
-
});
|
|
932
|
-
|
|
933
940
|
if (!onPress) {
|
|
934
|
-
_context.next =
|
|
941
|
+
_context.next = 9;
|
|
935
942
|
break;
|
|
936
943
|
}
|
|
937
944
|
|
|
938
945
|
onPress(e);
|
|
939
946
|
|
|
940
947
|
if (!(e !== null && e !== void 0 && e.defaultPrevented)) {
|
|
941
|
-
_context.next =
|
|
948
|
+
_context.next = 9;
|
|
942
949
|
break;
|
|
943
950
|
}
|
|
944
951
|
|
|
945
952
|
return _context.abrupt("return");
|
|
946
953
|
|
|
947
|
-
case
|
|
954
|
+
case 9:
|
|
955
|
+
Linking.openURL(href)["catch"](function (err) {
|
|
956
|
+
console.error("An error occurred while opening ".concat(href), err);
|
|
957
|
+
onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("An error occurred while opening ".concat(href));
|
|
958
|
+
});
|
|
948
959
|
_context.next = 13;
|
|
949
960
|
break;
|
|
950
961
|
|
|
@@ -1723,11 +1734,11 @@ function useKittTheme() {
|
|
|
1723
1734
|
}, [dimensions]);
|
|
1724
1735
|
}
|
|
1725
1736
|
|
|
1726
|
-
var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled(Pressable).withConfig({
|
|
1737
|
+
var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled(Pressable$1).withConfig({
|
|
1727
1738
|
displayName: "Checkbox__CheckboxAndLabelPressableWrapper",
|
|
1728
1739
|
componentId: "kitt-universal__sc-1sav1n6-0"
|
|
1729
1740
|
})(["display:flex;flex-direction:row;"]);
|
|
1730
|
-
var CheckboxContainer = /*#__PURE__*/styled(View).withConfig({
|
|
1741
|
+
var CheckboxContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
1731
1742
|
displayName: "Checkbox__CheckboxContainer",
|
|
1732
1743
|
componentId: "kitt-universal__sc-1sav1n6-1"
|
|
1733
1744
|
})(["display:flex;flex-direction:row;align-items:center;justify-content:center;height:", "px;width:", "px;position:relative;border-radius:", "px;", " margin-right:", ";"], function (_ref) {
|
|
@@ -1836,7 +1847,7 @@ var StyledTypographyText = /*#__PURE__*/styled(Typography.Text).withConfig({
|
|
|
1836
1847
|
displayName: "DatePickerInputPart__StyledTypographyText",
|
|
1837
1848
|
componentId: "kitt-universal__sc-11fmlmi-0"
|
|
1838
1849
|
})(["text-align:center;"]);
|
|
1839
|
-
var ViewInput = /*#__PURE__*/styled(View).withConfig({
|
|
1850
|
+
var ViewInput = /*#__PURE__*/styled(View$1).withConfig({
|
|
1840
1851
|
displayName: "DatePickerInputPart__ViewInput",
|
|
1841
1852
|
componentId: "kitt-universal__sc-11fmlmi-1"
|
|
1842
1853
|
})(["", " padding:", ";min-height:", "px;min-width:", ";"], styledTextInputMixin, function (_ref) {
|
|
@@ -1875,7 +1886,7 @@ function prefixWithZero(value) {
|
|
|
1875
1886
|
return "".concat(value).padStart(2, '0');
|
|
1876
1887
|
}
|
|
1877
1888
|
|
|
1878
|
-
var PartContainer = /*#__PURE__*/styled(View).withConfig({
|
|
1889
|
+
var PartContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
1879
1890
|
displayName: "DatePickerInputs__PartContainer",
|
|
1880
1891
|
componentId: "kitt-universal__sc-j9hin5-0"
|
|
1881
1892
|
})(["margin-right:", ";", ";"], function (_ref) {
|
|
@@ -1886,7 +1897,7 @@ var PartContainer = /*#__PURE__*/styled(View).withConfig({
|
|
|
1886
1897
|
var $isStretch = _ref2.$isStretch;
|
|
1887
1898
|
return $isStretch ? css(["flex:0.33;flex-grow:1;"]) : undefined;
|
|
1888
1899
|
});
|
|
1889
|
-
var DatePickerPressable = /*#__PURE__*/styled(Pressable).withConfig({
|
|
1900
|
+
var DatePickerPressable = /*#__PURE__*/styled(Pressable$1).withConfig({
|
|
1890
1901
|
displayName: "DatePickerInputs__DatePickerPressable",
|
|
1891
1902
|
componentId: "kitt-universal__sc-j9hin5-1"
|
|
1892
1903
|
})(["display:flex;flex-direction:row;", ";"], function (_ref3) {
|
|
@@ -2015,7 +2026,7 @@ var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
|
|
|
2015
2026
|
$minHeight = _ref3$$minHeight === void 0 ? theme.kitt.forms.input.minHeight : _ref3$$minHeight;
|
|
2016
2027
|
return $minHeight;
|
|
2017
2028
|
});
|
|
2018
|
-
var RightInputContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2029
|
+
var RightInputContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2019
2030
|
displayName: "InputText__RightInputContainer",
|
|
2020
2031
|
componentId: "kitt-universal__sc-uke279-1"
|
|
2021
2032
|
})(["position:absolute;right:0;top:0;bottom:0;justify-content:center;padding:10px;"]);
|
|
@@ -2118,11 +2129,11 @@ function InputFeedback(_ref) {
|
|
|
2118
2129
|
});
|
|
2119
2130
|
}
|
|
2120
2131
|
|
|
2121
|
-
var FieldContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2132
|
+
var FieldContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2122
2133
|
displayName: "InputField__FieldContainer",
|
|
2123
2134
|
componentId: "kitt-universal__sc-13fkixs-0"
|
|
2124
2135
|
})(["padding:5px 0 10px;"]);
|
|
2125
|
-
var FeedbackContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2136
|
+
var FeedbackContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2126
2137
|
displayName: "InputField__FeedbackContainer",
|
|
2127
2138
|
componentId: "kitt-universal__sc-13fkixs-1"
|
|
2128
2139
|
})(["", ";"], function (_ref) {
|
|
@@ -2131,14 +2142,14 @@ var FeedbackContainer = /*#__PURE__*/styled(View).withConfig({
|
|
|
2131
2142
|
minWidth: KittBreakpoints.SMALL
|
|
2132
2143
|
}, 'padding-top: 10px', 'padding-top: 5px');
|
|
2133
2144
|
});
|
|
2134
|
-
var FieldLabelContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2145
|
+
var FieldLabelContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2135
2146
|
displayName: "InputField__FieldLabelContainer",
|
|
2136
2147
|
componentId: "kitt-universal__sc-13fkixs-2"
|
|
2137
2148
|
})(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
|
|
2138
2149
|
var theme = _ref2.theme;
|
|
2139
2150
|
return theme.kitt.forms.inputField.labelContainerPaddingBottom;
|
|
2140
2151
|
});
|
|
2141
|
-
var LabelContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2152
|
+
var LabelContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2142
2153
|
displayName: "InputField__LabelContainer",
|
|
2143
2154
|
componentId: "kitt-universal__sc-13fkixs-3"
|
|
2144
2155
|
})(["margin-right:", "px;"], function (_ref3) {
|
|
@@ -2192,7 +2203,7 @@ function InputIcon(_ref) {
|
|
|
2192
2203
|
function InputPressable(_ref) {
|
|
2193
2204
|
var props = _extends({}, _ref);
|
|
2194
2205
|
|
|
2195
|
-
return /*#__PURE__*/jsx(Pressable, _objectSpread({}, props));
|
|
2206
|
+
return /*#__PURE__*/jsx(Pressable$1, _objectSpread({}, props));
|
|
2196
2207
|
}
|
|
2197
2208
|
|
|
2198
2209
|
var _excluded$8 = ["isPasswordDefaultVisible", "right"];
|
|
@@ -2238,7 +2249,7 @@ var getTypographyColor = function (type) {
|
|
|
2238
2249
|
return type ? 'white' : 'black';
|
|
2239
2250
|
};
|
|
2240
2251
|
|
|
2241
|
-
var InputTagContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2252
|
+
var InputTagContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2242
2253
|
displayName: "InputTag__InputTagContainer",
|
|
2243
2254
|
componentId: "kitt-universal__sc-1511dsf-0"
|
|
2244
2255
|
})(["align-items:center;justify-content:center;flex-direction:row;align-self:flex-start;overflow:hidden;padding-horizontal:", "px;background-color:", ";border-radius:", "px;"], function (_ref) {
|
|
@@ -2261,7 +2272,7 @@ var InputTagContainer = /*#__PURE__*/styled(View).withConfig({
|
|
|
2261
2272
|
var theme = _ref3.theme;
|
|
2262
2273
|
return theme.kitt.forms.inputTag.borderRadius;
|
|
2263
2274
|
});
|
|
2264
|
-
var IconContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2275
|
+
var IconContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2265
2276
|
displayName: "InputTag__IconContainer",
|
|
2266
2277
|
componentId: "kitt-universal__sc-1511dsf-1"
|
|
2267
2278
|
})(["margin-right:", "px;"], function (_ref4) {
|
|
@@ -2302,7 +2313,7 @@ function Label(_ref) {
|
|
|
2302
2313
|
});
|
|
2303
2314
|
}
|
|
2304
2315
|
|
|
2305
|
-
var OuterRadio = /*#__PURE__*/styled(View).withConfig({
|
|
2316
|
+
var OuterRadio = /*#__PURE__*/styled(View$1).withConfig({
|
|
2306
2317
|
displayName: "Radio__OuterRadio",
|
|
2307
2318
|
componentId: "kitt-universal__sc-1mdgr2o-0"
|
|
2308
2319
|
})(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
|
|
@@ -2326,7 +2337,7 @@ var OuterRadio = /*#__PURE__*/styled(View).withConfig({
|
|
|
2326
2337
|
disabled = _ref6.disabled;
|
|
2327
2338
|
return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor;
|
|
2328
2339
|
});
|
|
2329
|
-
var SelectedOuterRadio = /*#__PURE__*/styled(View).withConfig({
|
|
2340
|
+
var SelectedOuterRadio = /*#__PURE__*/styled(View$1).withConfig({
|
|
2330
2341
|
displayName: "Radio__SelectedOuterRadio",
|
|
2331
2342
|
componentId: "kitt-universal__sc-1mdgr2o-1"
|
|
2332
2343
|
})(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;justify-content:center;align-items:center;"], function (_ref7) {
|
|
@@ -2342,7 +2353,7 @@ var SelectedOuterRadio = /*#__PURE__*/styled(View).withConfig({
|
|
|
2342
2353
|
var theme = _ref10.theme;
|
|
2343
2354
|
return theme.kitt.forms.radio.size / 2;
|
|
2344
2355
|
});
|
|
2345
|
-
var SelectedInnerRadio = /*#__PURE__*/styled(View).withConfig({
|
|
2356
|
+
var SelectedInnerRadio = /*#__PURE__*/styled(View$1).withConfig({
|
|
2346
2357
|
displayName: "Radio__SelectedInnerRadio",
|
|
2347
2358
|
componentId: "kitt-universal__sc-1mdgr2o-2"
|
|
2348
2359
|
})(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;"], function (_ref11) {
|
|
@@ -2358,7 +2369,7 @@ var SelectedInnerRadio = /*#__PURE__*/styled(View).withConfig({
|
|
|
2358
2369
|
var theme = _ref14.theme;
|
|
2359
2370
|
return theme.kitt.forms.radio.checked.innerSize / 2;
|
|
2360
2371
|
});
|
|
2361
|
-
var Container$2 = /*#__PURE__*/styled(Pressable).withConfig({
|
|
2372
|
+
var Container$2 = /*#__PURE__*/styled(Pressable$1).withConfig({
|
|
2362
2373
|
displayName: "Radio__Container",
|
|
2363
2374
|
componentId: "kitt-universal__sc-1mdgr2o-3"
|
|
2364
2375
|
})(["flex-direction:row;align-items:center;"]);
|
|
@@ -2409,7 +2420,7 @@ function TextArea(_ref) {
|
|
|
2409
2420
|
}, props));
|
|
2410
2421
|
}
|
|
2411
2422
|
|
|
2412
|
-
var Body = /*#__PURE__*/styled(View).withConfig({
|
|
2423
|
+
var Body = /*#__PURE__*/styled(View$1).withConfig({
|
|
2413
2424
|
displayName: "Body",
|
|
2414
2425
|
componentId: "kitt-universal__sc-1ofncfn-0"
|
|
2415
2426
|
})(["", " background-color:", ";flex:1;"], function (_ref) {
|
|
@@ -2428,7 +2439,7 @@ function FullScreenModalBody(_ref3) {
|
|
|
2428
2439
|
});
|
|
2429
2440
|
}
|
|
2430
2441
|
|
|
2431
|
-
var SideContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2442
|
+
var SideContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2432
2443
|
displayName: "Header__SideContainer",
|
|
2433
2444
|
componentId: "kitt-universal__sc-dfmxi1-0"
|
|
2434
2445
|
})(["", ""], function (_ref) {
|
|
@@ -2448,7 +2459,7 @@ function getHeaderHorizontalMediumPadding(spacing) {
|
|
|
2448
2459
|
return spacing * 6;
|
|
2449
2460
|
}
|
|
2450
2461
|
|
|
2451
|
-
var Header = /*#__PURE__*/styled(View).withConfig({
|
|
2462
|
+
var Header = /*#__PURE__*/styled(View$1).withConfig({
|
|
2452
2463
|
displayName: "Header",
|
|
2453
2464
|
componentId: "kitt-universal__sc-dfmxi1-1"
|
|
2454
2465
|
})(["", ";border-bottom-color:", ";border-bottom-width:1px;flex-direction:row;align-items:center;"], function (_ref2) {
|
|
@@ -2466,7 +2477,7 @@ var Header = /*#__PURE__*/styled(View).withConfig({
|
|
|
2466
2477
|
var theme = _ref3.theme;
|
|
2467
2478
|
return theme.kitt.fullScreenModal.header.borderColor;
|
|
2468
2479
|
});
|
|
2469
|
-
var HeaderContent = /*#__PURE__*/styled(View).withConfig({
|
|
2480
|
+
var HeaderContent = /*#__PURE__*/styled(View$1).withConfig({
|
|
2470
2481
|
displayName: "Header__HeaderContent",
|
|
2471
2482
|
componentId: "kitt-universal__sc-dfmxi1-2"
|
|
2472
2483
|
})(["", ";", ";justify-content:center;align-items:center;"], function (_ref4) {
|
|
@@ -2556,7 +2567,7 @@ function FullScreenModalHeader(_ref6) {
|
|
|
2556
2567
|
});
|
|
2557
2568
|
}
|
|
2558
2569
|
|
|
2559
|
-
var Container$1 = /*#__PURE__*/styled(View).withConfig({
|
|
2570
|
+
var Container$1 = /*#__PURE__*/styled(View$1).withConfig({
|
|
2560
2571
|
displayName: "FullScreenModal__Container",
|
|
2561
2572
|
componentId: "kitt-universal__sc-11qpbe3-0"
|
|
2562
2573
|
})(["flex:1;background-color:", ";"], function (_ref) {
|
|
@@ -2632,7 +2643,7 @@ var PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/styled$1("div")({
|
|
|
2632
2643
|
}]
|
|
2633
2644
|
}
|
|
2634
2645
|
}));
|
|
2635
|
-
var StyledPressableIconButton = /*#__PURE__*/styled(Pressable).withConfig({
|
|
2646
|
+
var StyledPressableIconButton = /*#__PURE__*/styled(Pressable$1).withConfig({
|
|
2636
2647
|
displayName: "PressableIconButton__StyledPressableIconButton",
|
|
2637
2648
|
componentId: "kitt-universal__sc-1m6jo3s-0"
|
|
2638
2649
|
})(["border-radius:", "px;width:", "px;height:", "px;align-items:center;justify-content:center;position:relative;background-color:transparent;", ";"], function (_ref5) {
|
|
@@ -2685,7 +2696,7 @@ function PressableAnimatedContainer(_ref) {
|
|
|
2685
2696
|
});
|
|
2686
2697
|
}
|
|
2687
2698
|
|
|
2688
|
-
var IconButtonContentBorder = /*#__PURE__*/styled(View).withConfig({
|
|
2699
|
+
var IconButtonContentBorder = /*#__PURE__*/styled(View$1).withConfig({
|
|
2689
2700
|
displayName: "IconButton__IconButtonContentBorder",
|
|
2690
2701
|
componentId: "kitt-universal__sc-swelbf-0"
|
|
2691
2702
|
})(["border:", ";border-color:", ";width:", "px;height:", "px;align-items:center;justify-content:center;border-radius:", "px;"], function (_ref) {
|
|
@@ -2743,7 +2754,7 @@ function IconButton(_ref7) {
|
|
|
2743
2754
|
}
|
|
2744
2755
|
|
|
2745
2756
|
var _excluded$5 = ["children"];
|
|
2746
|
-
var ContentView$1 = /*#__PURE__*/styled(View).withConfig({
|
|
2757
|
+
var ContentView$1 = /*#__PURE__*/styled(View$1).withConfig({
|
|
2747
2758
|
displayName: "ListItemContent__ContentView",
|
|
2748
2759
|
componentId: "kitt-universal__sc-57q0u9-0"
|
|
2749
2760
|
})(["flex:1 0 0%;align-self:center;"]);
|
|
@@ -2758,7 +2769,7 @@ function ListItemContent(_ref) {
|
|
|
2758
2769
|
|
|
2759
2770
|
var _excluded$4 = ["children", "side"],
|
|
2760
2771
|
_excluded2$1 = ["children", "align"];
|
|
2761
|
-
var SideContainerView = /*#__PURE__*/styled(View).withConfig({
|
|
2772
|
+
var SideContainerView = /*#__PURE__*/styled(View$1).withConfig({
|
|
2762
2773
|
displayName: "ListItemSideContent__SideContainerView",
|
|
2763
2774
|
componentId: "kitt-universal__sc-1vajiw-0"
|
|
2764
2775
|
})(["flex-direction:row;margin-left:", ";margin-right:", ";"], function (_ref) {
|
|
@@ -2783,7 +2794,7 @@ function ListItemSideContainer(_ref3) {
|
|
|
2783
2794
|
children: children
|
|
2784
2795
|
}));
|
|
2785
2796
|
}
|
|
2786
|
-
var SideContentView = /*#__PURE__*/styled(View).withConfig({
|
|
2797
|
+
var SideContentView = /*#__PURE__*/styled(View$1).withConfig({
|
|
2787
2798
|
displayName: "ListItemSideContent__SideContentView",
|
|
2788
2799
|
componentId: "kitt-universal__sc-1vajiw-1"
|
|
2789
2800
|
})(["align-self:", ";"], function (_ref4) {
|
|
@@ -2804,7 +2815,7 @@ function ListItemSideContent(_ref5) {
|
|
|
2804
2815
|
}
|
|
2805
2816
|
|
|
2806
2817
|
var _excluded$3 = ["children", "withPadding", "borders", "left", "right", "onPress"];
|
|
2807
|
-
var ContainerView = /*#__PURE__*/styled(View).withConfig({
|
|
2818
|
+
var ContainerView = /*#__PURE__*/styled(View$1).withConfig({
|
|
2808
2819
|
displayName: "ListItem__ContainerView",
|
|
2809
2820
|
componentId: "kitt-universal__sc-2afp9s-0"
|
|
2810
2821
|
})(["flex-direction:row;padding:", ";", ";border-color:", ";background-color:", ";"], function (_ref) {
|
|
@@ -2845,7 +2856,7 @@ function ListItem(_ref5) {
|
|
|
2845
2856
|
onPress = _ref5.onPress,
|
|
2846
2857
|
rest = _objectWithoutProperties(_ref5, _excluded$3);
|
|
2847
2858
|
|
|
2848
|
-
var Wrapper = onPress ? Pressable : Fragment;
|
|
2859
|
+
var Wrapper = onPress ? Pressable$1 : Fragment;
|
|
2849
2860
|
var wrapperProps = onPress ? _objectSpread({
|
|
2850
2861
|
accessibilityRole: 'button',
|
|
2851
2862
|
onPress: onPress
|
|
@@ -2932,7 +2943,7 @@ var getIconButtonColor = function (messageType) {
|
|
|
2932
2943
|
}
|
|
2933
2944
|
};
|
|
2934
2945
|
|
|
2935
|
-
var StyledMessageContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2946
|
+
var StyledMessageContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2936
2947
|
displayName: "BaseMessage__StyledMessageContainer",
|
|
2937
2948
|
componentId: "kitt-universal__sc-eepeiz-0"
|
|
2938
2949
|
})(["flex-direction:row;align-items:flex-start;justify-content:space-between;min-height:60px;padding-top:", "px;border-radius:", "px;background-color:", ";"], function (_ref) {
|
|
@@ -2949,7 +2960,7 @@ var StyledMessageContainer = /*#__PURE__*/styled(View).withConfig({
|
|
|
2949
2960
|
$type = _ref3.$type;
|
|
2950
2961
|
return theme.kitt.feedbackMessage[$type].backgroundColor;
|
|
2951
2962
|
});
|
|
2952
|
-
var StyledDismissWrapper = /*#__PURE__*/styled(View).withConfig({
|
|
2963
|
+
var StyledDismissWrapper = /*#__PURE__*/styled(View$1).withConfig({
|
|
2953
2964
|
displayName: "BaseMessage__StyledDismissWrapper",
|
|
2954
2965
|
componentId: "kitt-universal__sc-eepeiz-1"
|
|
2955
2966
|
})(["align-items:center;align-items:flex-start;margin:", ";"], function (_ref4) {
|
|
@@ -2957,7 +2968,7 @@ var StyledDismissWrapper = /*#__PURE__*/styled(View).withConfig({
|
|
|
2957
2968
|
var spacing = theme.kitt.spacing;
|
|
2958
2969
|
return "".concat(spacing * 2.5, "px ").concat(spacing * 2, "px 0 ").concat(spacing * 5, "px");
|
|
2959
2970
|
});
|
|
2960
|
-
var StyledIconContainer = /*#__PURE__*/styled(View).withConfig({
|
|
2971
|
+
var StyledIconContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
2961
2972
|
displayName: "BaseMessage__StyledIconContainer",
|
|
2962
2973
|
componentId: "kitt-universal__sc-eepeiz-2"
|
|
2963
2974
|
})(["margin:", ";"], function (_ref5) {
|
|
@@ -2972,7 +2983,7 @@ var StyledTextContent = /*#__PURE__*/styled(Typography.Text).withConfig({
|
|
|
2972
2983
|
var $isCenteredText = _ref6.$isCenteredText;
|
|
2973
2984
|
return $isCenteredText ? 'center' : 'left';
|
|
2974
2985
|
});
|
|
2975
|
-
var StyledMessageContent = /*#__PURE__*/styled(View).withConfig({
|
|
2986
|
+
var StyledMessageContent = /*#__PURE__*/styled(View$1).withConfig({
|
|
2976
2987
|
displayName: "BaseMessage__StyledMessageContent",
|
|
2977
2988
|
componentId: "kitt-universal__sc-eepeiz-4"
|
|
2978
2989
|
})(["display:flex;flex-direction:row;flex-grow:1;align-self:center;align-items:flex-start;flex-shrink:1;padding:", ";"], function (_ref7) {
|
|
@@ -3037,7 +3048,7 @@ function Message(_ref) {
|
|
|
3037
3048
|
}
|
|
3038
3049
|
|
|
3039
3050
|
// Don't use styled.Pressable here - babel-plugin-styled-components-react-native-web only supports tagged templates
|
|
3040
|
-
var OverlayPressable = /*#__PURE__*/styled(Pressable).withConfig({
|
|
3051
|
+
var OverlayPressable = /*#__PURE__*/styled(Pressable$1).withConfig({
|
|
3041
3052
|
displayName: "Overlay__OverlayPressable",
|
|
3042
3053
|
componentId: "kitt-universal__sc-1cz1gbr-0"
|
|
3043
3054
|
})(function (_ref) {
|
|
@@ -3054,7 +3065,7 @@ function Overlay(_ref2) {
|
|
|
3054
3065
|
});
|
|
3055
3066
|
}
|
|
3056
3067
|
|
|
3057
|
-
var BodyView = /*#__PURE__*/styled(View).withConfig({
|
|
3068
|
+
var BodyView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3058
3069
|
displayName: "Body__BodyView",
|
|
3059
3070
|
componentId: "kitt-universal__sc-17fwpo4-0"
|
|
3060
3071
|
})(["padding:", "px ", "px;"], function (_ref) {
|
|
@@ -3066,14 +3077,14 @@ var BodyView = /*#__PURE__*/styled(View).withConfig({
|
|
|
3066
3077
|
});
|
|
3067
3078
|
function ModalBody(_ref3) {
|
|
3068
3079
|
var children = _ref3.children;
|
|
3069
|
-
return /*#__PURE__*/jsx(ScrollView, {
|
|
3080
|
+
return /*#__PURE__*/jsx(ScrollView$1, {
|
|
3070
3081
|
children: /*#__PURE__*/jsx(BodyView, {
|
|
3071
3082
|
children: children
|
|
3072
3083
|
})
|
|
3073
3084
|
});
|
|
3074
3085
|
}
|
|
3075
3086
|
|
|
3076
|
-
var FooterView = /*#__PURE__*/styled(View).withConfig({
|
|
3087
|
+
var FooterView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3077
3088
|
displayName: "Footer__FooterView",
|
|
3078
3089
|
componentId: "kitt-universal__sc-1ujq2dc-0"
|
|
3079
3090
|
})(["flex:0 0 auto;padding:", "px;border-top-width:1px;border-top-color:", ";"], function (_ref) {
|
|
@@ -3092,7 +3103,7 @@ function ModalFooter(_ref3) {
|
|
|
3092
3103
|
|
|
3093
3104
|
var OnCloseContext = /*#__PURE__*/createContext(function () {});
|
|
3094
3105
|
|
|
3095
|
-
var HeaderView = /*#__PURE__*/styled(View).withConfig({
|
|
3106
|
+
var HeaderView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3096
3107
|
displayName: "Header__HeaderView",
|
|
3097
3108
|
componentId: "kitt-universal__sc-1iwabch-0"
|
|
3098
3109
|
})(["position:relative;padding:", "px;display:flex;flex:0 0 auto;flex-direction:row;justify-content:space-between;align-items:center;border-bottom-width:1px;border-bottom-color:", ";min-height:57px;"], function (_ref) {
|
|
@@ -3102,21 +3113,21 @@ var HeaderView = /*#__PURE__*/styled(View).withConfig({
|
|
|
3102
3113
|
var theme = _ref2.theme;
|
|
3103
3114
|
return theme.kitt.colors.separator;
|
|
3104
3115
|
});
|
|
3105
|
-
var LeftIconView = /*#__PURE__*/styled(View).withConfig({
|
|
3116
|
+
var LeftIconView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3106
3117
|
displayName: "Header__LeftIconView",
|
|
3107
3118
|
componentId: "kitt-universal__sc-1iwabch-1"
|
|
3108
3119
|
})(["align-self:flex-start;margin-right:", "px;"], function (_ref3) {
|
|
3109
3120
|
var theme = _ref3.theme;
|
|
3110
3121
|
return theme.kitt.spacing * 2;
|
|
3111
3122
|
});
|
|
3112
|
-
var RightIconView = /*#__PURE__*/styled(View).withConfig({
|
|
3123
|
+
var RightIconView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3113
3124
|
displayName: "Header__RightIconView",
|
|
3114
3125
|
componentId: "kitt-universal__sc-1iwabch-2"
|
|
3115
3126
|
})(["align-self:flex-start;margin-left:", "px;"], function (_ref4) {
|
|
3116
3127
|
var theme = _ref4.theme;
|
|
3117
3128
|
return theme.kitt.spacing * 2;
|
|
3118
3129
|
});
|
|
3119
|
-
var TitleView = /*#__PURE__*/styled(View).withConfig({
|
|
3130
|
+
var TitleView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3120
3131
|
displayName: "Header__TitleView",
|
|
3121
3132
|
componentId: "kitt-universal__sc-1iwabch-3"
|
|
3122
3133
|
})(["padding-left:", "px;flex-shrink:1;"], function (_ref5) {
|
|
@@ -3145,7 +3156,7 @@ function ModalHeader(_ref6) {
|
|
|
3145
3156
|
});
|
|
3146
3157
|
}
|
|
3147
3158
|
|
|
3148
|
-
var ModalView = /*#__PURE__*/styled(View).withConfig({
|
|
3159
|
+
var ModalView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3149
3160
|
displayName: "Modal__ModalView",
|
|
3150
3161
|
componentId: "kitt-universal__sc-1xy2w5u-0"
|
|
3151
3162
|
})(["top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:", "px ", "px;"], function (_ref) {
|
|
@@ -3155,7 +3166,7 @@ var ModalView = /*#__PURE__*/styled(View).withConfig({
|
|
|
3155
3166
|
var theme = _ref2.theme;
|
|
3156
3167
|
return theme.kitt.spacing * 4;
|
|
3157
3168
|
});
|
|
3158
|
-
var ContentView = /*#__PURE__*/styled(View).withConfig({
|
|
3169
|
+
var ContentView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3159
3170
|
displayName: "Modal__ContentView",
|
|
3160
3171
|
componentId: "kitt-universal__sc-1xy2w5u-1"
|
|
3161
3172
|
})(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", "px;background-color:", ";"], function (_ref3) {
|
|
@@ -3207,7 +3218,7 @@ var createKittSpaces = function (spacing) {
|
|
|
3207
3218
|
|
|
3208
3219
|
var createKittNativeBaseCustomTheme = function (theme) {
|
|
3209
3220
|
var spaces = createKittSpaces(theme.spacing);
|
|
3210
|
-
|
|
3221
|
+
var extendedTheme = extendTheme({
|
|
3211
3222
|
colors: {
|
|
3212
3223
|
kitt: _objectSpread(_objectSpread({}, theme.colors), {}, {
|
|
3213
3224
|
typography: theme.typography.colors
|
|
@@ -3315,6 +3326,9 @@ var createKittNativeBaseCustomTheme = function (theme) {
|
|
|
3315
3326
|
}
|
|
3316
3327
|
}
|
|
3317
3328
|
});
|
|
3329
|
+
return _objectSpread(_objectSpread({}, extendedTheme), {}, {
|
|
3330
|
+
space: extendedTheme.space
|
|
3331
|
+
});
|
|
3318
3332
|
};
|
|
3319
3333
|
function KittNativeBaseProvider(_ref) {
|
|
3320
3334
|
var theme = _ref.theme,
|
|
@@ -3331,6 +3345,14 @@ function KittNativeBaseProvider(_ref) {
|
|
|
3331
3345
|
});
|
|
3332
3346
|
}
|
|
3333
3347
|
|
|
3348
|
+
var Stack = Stack$1;
|
|
3349
|
+
var VStack = VStack$1;
|
|
3350
|
+
var HStack = HStack$1;
|
|
3351
|
+
|
|
3352
|
+
var View = View$2;
|
|
3353
|
+
var ScrollView = ScrollView$2;
|
|
3354
|
+
var Pressable = Pressable$2;
|
|
3355
|
+
|
|
3334
3356
|
function Notification(_ref) {
|
|
3335
3357
|
var type = _ref.type,
|
|
3336
3358
|
children = _ref.children,
|
|
@@ -3479,7 +3501,7 @@ function SkeletonContent(_ref4) {
|
|
|
3479
3501
|
});
|
|
3480
3502
|
}
|
|
3481
3503
|
|
|
3482
|
-
var SkeletonContainer = /*#__PURE__*/styled(View).withConfig({
|
|
3504
|
+
var SkeletonContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
3483
3505
|
displayName: "Skeleton__SkeletonContainer",
|
|
3484
3506
|
componentId: "kitt-universal__sc-1w5cm3i-0"
|
|
3485
3507
|
})(["overflow:hidden;"]);
|
|
@@ -3544,7 +3566,7 @@ Skeleton.Bar = Bar;
|
|
|
3544
3566
|
Skeleton.Circle = Circle;
|
|
3545
3567
|
Skeleton.Square = Square;
|
|
3546
3568
|
|
|
3547
|
-
var Flex = /*#__PURE__*/styled(View).withConfig({
|
|
3569
|
+
var Flex = /*#__PURE__*/styled(View$1).withConfig({
|
|
3548
3570
|
shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
|
|
3549
3571
|
return !['direction', 'padding'].includes(prop) && defaultValidatorFn(prop);
|
|
3550
3572
|
}
|
|
@@ -3601,7 +3623,7 @@ var useStoryBlockColor = function (color) {
|
|
|
3601
3623
|
var storyBlockColor = useContext(StoryBlockColorContext);
|
|
3602
3624
|
return color || storyBlockColor;
|
|
3603
3625
|
};
|
|
3604
|
-
var StyledStoryBlockView = /*#__PURE__*/styled(View).withConfig({
|
|
3626
|
+
var StyledStoryBlockView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3605
3627
|
displayName: "StoryBlock__StyledStoryBlockView",
|
|
3606
3628
|
componentId: "kitt-universal__sc-3w4hdm-0"
|
|
3607
3629
|
})(["padding:16px ", "px 0;margin:0 -", "px;background:", ";"], storyPadding, storyPadding, function (_ref) {
|
|
@@ -3624,11 +3646,11 @@ function StoryBlock(_ref2) {
|
|
|
3624
3646
|
});
|
|
3625
3647
|
}
|
|
3626
3648
|
|
|
3627
|
-
var StoryTitleContainer = /*#__PURE__*/styled(View).withConfig({
|
|
3649
|
+
var StoryTitleContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
3628
3650
|
displayName: "StoryTitle__StoryTitleContainer",
|
|
3629
3651
|
componentId: "kitt-universal__sc-sic7hb-0"
|
|
3630
3652
|
})(["margin-bottom:30px;"]);
|
|
3631
|
-
var StorySubTitleContainer = /*#__PURE__*/styled(View).withConfig({
|
|
3653
|
+
var StorySubTitleContainer = /*#__PURE__*/styled(View$1).withConfig({
|
|
3632
3654
|
displayName: "StoryTitle__StorySubTitleContainer",
|
|
3633
3655
|
componentId: "kitt-universal__sc-sic7hb-1"
|
|
3634
3656
|
})(["margin-bottom:10px;"]);
|
|
@@ -3703,7 +3725,7 @@ StoryTitle.Level2 = StoryTitleLevel2;
|
|
|
3703
3725
|
StoryTitle.Level3 = StoryTitleLevel3;
|
|
3704
3726
|
StoryTitle.Level4 = StoryTitleLevel4;
|
|
3705
3727
|
|
|
3706
|
-
var StoryContainer$1 = /*#__PURE__*/styled(ScrollView).withConfig({
|
|
3728
|
+
var StoryContainer$1 = /*#__PURE__*/styled(ScrollView$1).withConfig({
|
|
3707
3729
|
displayName: "Story__StoryContainer",
|
|
3708
3730
|
componentId: "kitt-universal__sc-1kwdg2p-0"
|
|
3709
3731
|
})(["padding:", "px;"], storyPadding);
|
|
@@ -3722,7 +3744,7 @@ function Story(_ref) {
|
|
|
3722
3744
|
var _excluded$2 = ["title", "children", "internalIsDemoSection"],
|
|
3723
3745
|
_excluded2 = ["title", "children"],
|
|
3724
3746
|
_excluded3 = ["title", "children"];
|
|
3725
|
-
var StyledSection = /*#__PURE__*/styled(View).withConfig({
|
|
3747
|
+
var StyledSection = /*#__PURE__*/styled(View$1).withConfig({
|
|
3726
3748
|
displayName: "StorySection__StyledSection",
|
|
3727
3749
|
componentId: "kitt-universal__sc-1b3liv5-0"
|
|
3728
3750
|
})(["margin-bottom:32px;"]);
|
|
@@ -3739,7 +3761,7 @@ function StorySection(_ref) {
|
|
|
3739
3761
|
}), children]
|
|
3740
3762
|
}));
|
|
3741
3763
|
}
|
|
3742
|
-
var StyledSubSection = /*#__PURE__*/styled(View).withConfig({
|
|
3764
|
+
var StyledSubSection = /*#__PURE__*/styled(View$1).withConfig({
|
|
3743
3765
|
displayName: "StorySection__StyledSubSection",
|
|
3744
3766
|
componentId: "kitt-universal__sc-1b3liv5-1"
|
|
3745
3767
|
})(["margin-bottom:16px;"]);
|
|
@@ -3756,7 +3778,7 @@ function SubSection(_ref2) {
|
|
|
3756
3778
|
}));
|
|
3757
3779
|
}
|
|
3758
3780
|
|
|
3759
|
-
var StyledBlockSection = /*#__PURE__*/styled(View).withConfig({
|
|
3781
|
+
var StyledBlockSection = /*#__PURE__*/styled(View$1).withConfig({
|
|
3760
3782
|
displayName: "StorySection__StyledBlockSection",
|
|
3761
3783
|
componentId: "kitt-universal__sc-1b3liv5-2"
|
|
3762
3784
|
})(["margin-bottom:16px;"]);
|
|
@@ -3773,7 +3795,7 @@ function BlockSection(_ref3) {
|
|
|
3773
3795
|
}));
|
|
3774
3796
|
}
|
|
3775
3797
|
|
|
3776
|
-
var StyledDemoSection = /*#__PURE__*/styled(View).withConfig({
|
|
3798
|
+
var StyledDemoSection = /*#__PURE__*/styled(View$1).withConfig({
|
|
3777
3799
|
displayName: "StorySection__StyledDemoSection",
|
|
3778
3800
|
componentId: "kitt-universal__sc-1b3liv5-3"
|
|
3779
3801
|
})(["margin-bottom:64px;"]);
|
|
@@ -3822,19 +3844,19 @@ function StoryDecorator(storyFn, context) {
|
|
|
3822
3844
|
});
|
|
3823
3845
|
}
|
|
3824
3846
|
|
|
3825
|
-
var SmallScreenRow = /*#__PURE__*/styled(View).withConfig({
|
|
3847
|
+
var SmallScreenRow = /*#__PURE__*/styled(View$1).withConfig({
|
|
3826
3848
|
displayName: "StoryGrid__SmallScreenRow",
|
|
3827
3849
|
componentId: "kitt-universal__sc-4z5new-0"
|
|
3828
3850
|
})(["flex-direction:column;margin:0;"]);
|
|
3829
|
-
var SmallScreenCol = /*#__PURE__*/styled(View).withConfig({
|
|
3851
|
+
var SmallScreenCol = /*#__PURE__*/styled(View$1).withConfig({
|
|
3830
3852
|
displayName: "StoryGrid__SmallScreenCol",
|
|
3831
3853
|
componentId: "kitt-universal__sc-4z5new-1"
|
|
3832
3854
|
})(["padding:8px 0 16px;"]);
|
|
3833
|
-
var FlexRow = /*#__PURE__*/styled(View).withConfig({
|
|
3855
|
+
var FlexRow = /*#__PURE__*/styled(View$1).withConfig({
|
|
3834
3856
|
displayName: "StoryGrid__FlexRow",
|
|
3835
3857
|
componentId: "kitt-universal__sc-4z5new-2"
|
|
3836
3858
|
})(["flex-direction:row;margin:0 -4px 16px;"]);
|
|
3837
|
-
var FlexCol = /*#__PURE__*/styled(View).withConfig({
|
|
3859
|
+
var FlexCol = /*#__PURE__*/styled(View$1).withConfig({
|
|
3838
3860
|
displayName: "StoryGrid__FlexCol",
|
|
3839
3861
|
componentId: "kitt-universal__sc-4z5new-3"
|
|
3840
3862
|
})(["flex-grow:1;flex-basis:0;margin:0 8px;"]);
|
|
@@ -3895,7 +3917,7 @@ var StoryGrid = {
|
|
|
3895
3917
|
Col: StoryGridCol
|
|
3896
3918
|
};
|
|
3897
3919
|
|
|
3898
|
-
var Container = /*#__PURE__*/styled(View).withConfig({
|
|
3920
|
+
var Container = /*#__PURE__*/styled(View$1).withConfig({
|
|
3899
3921
|
displayName: "Tag__Container",
|
|
3900
3922
|
componentId: "kitt-universal__sc-19jmowi-0"
|
|
3901
3923
|
})(["background-color:", ";border-width:", "px;border-color:", ";padding:", ";border-radius:", "px;align-self:flex-start;"], function (_ref) {
|
|
@@ -3967,11 +3989,11 @@ function TimePicker() {
|
|
|
3967
3989
|
});
|
|
3968
3990
|
}
|
|
3969
3991
|
|
|
3970
|
-
var StyledTooltipView = /*#__PURE__*/styled(View).withConfig({
|
|
3992
|
+
var StyledTooltipView = /*#__PURE__*/styled(View$1).withConfig({
|
|
3971
3993
|
displayName: "TooltipView__StyledTooltipView",
|
|
3972
3994
|
componentId: "kitt-universal__sc-156zm6m-0"
|
|
3973
3995
|
})(["align-items:center;"]);
|
|
3974
|
-
var StyledTooltipContent = /*#__PURE__*/styled(View).withConfig({
|
|
3996
|
+
var StyledTooltipContent = /*#__PURE__*/styled(View$1).withConfig({
|
|
3975
3997
|
displayName: "TooltipView__StyledTooltipContent",
|
|
3976
3998
|
componentId: "kitt-universal__sc-156zm6m-1"
|
|
3977
3999
|
})(["background-color:", ";border-radius:", "px;opacity:", ";padding:", ";"], function (_ref) {
|
|
@@ -3990,7 +4012,7 @@ var StyledTooltipContent = /*#__PURE__*/styled(View).withConfig({
|
|
|
3990
4012
|
|
|
3991
4013
|
function ArrowView(props) {
|
|
3992
4014
|
var theme = /*#__PURE__*/useTheme();
|
|
3993
|
-
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
4015
|
+
return /*#__PURE__*/jsx(View$1, _objectSpread(_objectSpread({}, props), {}, {
|
|
3994
4016
|
children: /*#__PURE__*/jsx(TooltipArrowIcon, {
|
|
3995
4017
|
color: theme.kitt.tooltip.backgroundColor
|
|
3996
4018
|
})
|
|
@@ -4030,11 +4052,11 @@ var tooltipDefaultFloatingStrategy = {
|
|
|
4030
4052
|
web: 'absolute'
|
|
4031
4053
|
};
|
|
4032
4054
|
|
|
4033
|
-
var StyledTooltipTrigger = /*#__PURE__*/styled(Pressable).withConfig({
|
|
4055
|
+
var StyledTooltipTrigger = /*#__PURE__*/styled(Pressable$1).withConfig({
|
|
4034
4056
|
displayName: "Tooltipweb__StyledTooltipTrigger",
|
|
4035
4057
|
componentId: "kitt-universal__sc-zn1y6f-0"
|
|
4036
4058
|
})(["display:inline-flex;align-self:baseline;"]);
|
|
4037
|
-
var WebAnimatedTooltip = /*#__PURE__*/styled(View).withConfig({
|
|
4059
|
+
var WebAnimatedTooltip = /*#__PURE__*/styled(View$1).withConfig({
|
|
4038
4060
|
displayName: "Tooltipweb__WebAnimatedTooltip",
|
|
4039
4061
|
componentId: "kitt-universal__sc-zn1y6f-1"
|
|
4040
4062
|
})(["opacity:", ";transition:opacity 200ms;visibility:", ";"], function (_ref) {
|
|
@@ -4366,5 +4388,5 @@ function MatchWindowSize(_ref) {
|
|
|
4366
4388
|
return children;
|
|
4367
4389
|
}
|
|
4368
4390
|
|
|
4369
|
-
export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Radio, DeprecatedSection as Section, Skeleton, SpinningIcon, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
|
|
4391
|
+
export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, HStack, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
|
|
4370
4392
|
//# sourceMappingURL=index-browser-all.es.web.js.map
|