@ornikar/kitt-universal 11.2.0 → 13.0.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/.vscode/settings.json +3 -0
- package/babel-plugin-csf-to-jest.js +15 -1
- package/dist/definitions/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts +15 -0
- package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts.map +1 -0
- package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts +4 -0
- package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts.map +1 -0
- package/dist/definitions/Choices/ChoiceItem.d.ts +2 -3
- package/dist/definitions/Choices/ChoiceItem.d.ts.map +1 -1
- package/dist/definitions/Choices/ChoiceItemContainer.d.ts +5 -5
- package/dist/definitions/Choices/ChoiceItemContainer.d.ts.map +1 -1
- package/dist/definitions/Choices/utils/getBackgroundColor.d.ts +9 -0
- package/dist/definitions/Choices/utils/getBackgroundColor.d.ts.map +1 -0
- package/dist/definitions/Choices/utils/getBorderRadius.d.ts +3 -0
- package/dist/definitions/Choices/utils/getBorderRadius.d.ts.map +1 -0
- package/dist/definitions/Choices/utils/getCurrentTextColor.d.ts +10 -0
- package/dist/definitions/Choices/utils/getCurrentTextColor.d.ts.map +1 -0
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
- package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
- package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -1
- package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -1
- package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
- package/dist/definitions/PageLoader/PageLoader.d.ts.map +1 -1
- package/dist/definitions/PageLoader/PageLoader.web.d.ts.map +1 -1
- package/dist/definitions/Picker/Picker.d.ts.map +1 -1
- package/dist/definitions/Picker/PickerItem.d.ts.map +1 -1
- package/dist/definitions/Skeleton/SkeletonContent.d.ts.map +1 -1
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts.map +1 -1
- package/dist/definitions/Tag/Tag.d.ts.map +1 -1
- package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +7 -3
- package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -1
- package/dist/definitions/TimePicker/TimePicker.d.ts +19 -8
- package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/definitions/TimePicker/TimePicker.web.d.ts +2 -1
- package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -1
- package/dist/definitions/TimePicker/TimePickerPressable.d.ts +20 -0
- package/dist/definitions/TimePicker/TimePickerPressable.d.ts.map +1 -0
- package/dist/definitions/TimePicker/utils/formatDateToTimeString.d.ts +2 -0
- package/dist/definitions/TimePicker/utils/formatDateToTimeString.d.ts.map +1 -0
- package/dist/definitions/TimePicker/utils/getCurrentInternalForcedState.d.ts +10 -0
- package/dist/definitions/TimePicker/utils/getCurrentInternalForcedState.d.ts.map +1 -0
- package/dist/definitions/VerticalSteps/Step.d.ts +16 -0
- package/dist/definitions/VerticalSteps/Step.d.ts.map +1 -0
- package/dist/definitions/VerticalSteps/StepIcon.d.ts +13 -0
- package/dist/definitions/VerticalSteps/StepIcon.d.ts.map +1 -0
- package/dist/definitions/VerticalSteps/VerticalSteps.d.ts +12 -0
- package/dist/definitions/VerticalSteps/VerticalSteps.d.ts.map +1 -0
- package/dist/definitions/VerticalSteps/utils/getStepState.d.ts +3 -0
- package/dist/definitions/VerticalSteps/utils/getStepState.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/ModalPlatformDateTimePicker.d.ts.map +1 -1
- package/dist/definitions/forms/InputTag/InputTag.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.d.ts +2 -4
- package/dist/definitions/forms/InputText/InputTextContainer.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +2 -9
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -1
- package/dist/definitions/forms/RadioButtonGroup/AnimatedContainer/AnimatedContainer.d.ts +1 -1
- package/dist/definitions/forms/RadioButtonGroup/AnimatedContainer/AnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +1 -6
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +190 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/story-components/Flex.d.ts +6 -4
- package/dist/definitions/story-components/Flex.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +2 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/choices.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/choices.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/forms.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/input.d.ts +3 -0
- package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/listItem.d.ts +3 -0
- package/dist/definitions/themes/late-ocean/listItem.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/pageLoader.d.ts +7 -0
- package/dist/definitions/themes/late-ocean/pageLoader.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/picker.d.ts +3 -0
- package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/tag.d.ts +3 -0
- package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/timePicker.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/timePicker.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/verticalSteps.d.ts +14 -0
- package/dist/definitions/themes/late-ocean/verticalSteps.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLinkWebWrapper.d.ts +7 -0
- package/dist/definitions/typography/TypographyLinkWebWrapper.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyLinkWebWrapper.web.d.ts +4 -0
- package/dist/definitions/typography/TypographyLinkWebWrapper.web.d.ts.map +1 -0
- package/dist/definitions/useKittTheme.d.ts +0 -3
- package/dist/definitions/useKittTheme.d.ts.map +1 -1
- package/dist/definitions/utils/StyleWebWrapper.d.ts +3 -0
- package/dist/definitions/utils/StyleWebWrapper.d.ts.map +1 -1
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts +0 -5
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -1
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts +4 -1
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +1278 -1181
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +1278 -1181
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +1285 -1209
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +819 -791
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +1143 -1041
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.css +7 -5
- package/dist/index-node-14.17.cjs.web.js +693 -619
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +59 -14
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +59 -14
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +59 -14
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +59 -14
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +59 -14
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +59 -14
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/styles.css +7 -5
- package/dist/tsbuildinfo +1 -1
- package/package.json +7 -11
- package/typings/react-native-web.d.ts +2 -0
- package/.stylelintrc +0 -3
- package/dist/definitions/Modal/Body.d.ts +0 -6
- package/dist/definitions/Modal/Body.d.ts.map +0 -1
- package/dist/definitions/Modal/Footer.d.ts +0 -6
- package/dist/definitions/Modal/Footer.d.ts.map +0 -1
- package/dist/definitions/Modal/Header.d.ts +0 -8
- package/dist/definitions/Modal/Header.d.ts.map +0 -1
- package/dist/definitions/Modal/Modal.d.ts +0 -21
- package/dist/definitions/Modal/Modal.d.ts.map +0 -1
- package/dist/definitions/Modal/OnCloseContext.d.ts +0 -3
- package/dist/definitions/Modal/OnCloseContext.d.ts.map +0 -1
- package/dist/definitions/TimePicker/useTimePicker.d.ts +0 -14
- package/dist/definitions/TimePicker/useTimePicker.d.ts.map +0 -1
- package/dist/definitions/forms/styledTextInputMixin.d.ts +0 -8
- package/dist/definitions/forms/styledTextInputMixin.d.ts.map +0 -1
- package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +0 -19
- package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +0 -1
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +0 -50
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts.map +0 -1
- package/dist/definitions/utils/withTheme.d.ts +0 -7
- package/dist/definitions/utils/withTheme.d.ts.map +0 -1
- package/dist/index-browser-all.es.css +0 -1
- package/dist/index-node-14.17.cjs.css +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/kitt-universal",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/kitt-universal",
|
|
@@ -67,9 +67,8 @@
|
|
|
67
67
|
"@babel/runtime": "^7.20.6",
|
|
68
68
|
"@floating-ui/react-dom": "1.0.0",
|
|
69
69
|
"@floating-ui/react-native": "0.8.0",
|
|
70
|
-
"@
|
|
71
|
-
"@ornikar/
|
|
72
|
-
"@ornikar/kitt-icons": "^5.0.1",
|
|
70
|
+
"@ornikar/eslint-config-kitt": "^1.0.9",
|
|
71
|
+
"@ornikar/kitt-icons": "^5.1.0",
|
|
73
72
|
"@react-native-community/datetimepicker": "^6.0.0",
|
|
74
73
|
"libphonenumber-js": "1.10.19",
|
|
75
74
|
"native-base": "3.4.28",
|
|
@@ -92,8 +91,7 @@
|
|
|
92
91
|
"react-native-gesture-handler": "^2.9.0",
|
|
93
92
|
"react-native-reanimated": "2.14.4",
|
|
94
93
|
"react-native-safe-area-context": "^4.5.0",
|
|
95
|
-
"react-native-svg": "^13.4.0"
|
|
96
|
-
"styled-components": "5.3.5"
|
|
94
|
+
"react-native-svg": "^13.4.0"
|
|
97
95
|
},
|
|
98
96
|
"peerDependenciesMeta": {
|
|
99
97
|
"@gorhom/bottom-sheet": {
|
|
@@ -127,7 +125,7 @@
|
|
|
127
125
|
"@juggle/resize-observer": "3.4.0",
|
|
128
126
|
"@ornikar/babel-preset-base": "2.0.1",
|
|
129
127
|
"@react-native-picker/picker": "2.4.3",
|
|
130
|
-
"@types/react": "18.
|
|
128
|
+
"@types/react": "18.2.13",
|
|
131
129
|
"@types/react-portal": "4.0.4",
|
|
132
130
|
"@types/react-transition-group": "4.2.3",
|
|
133
131
|
"@types/twemoji-parser": "13.1.1",
|
|
@@ -135,14 +133,12 @@
|
|
|
135
133
|
"react-dom": "18.2.0",
|
|
136
134
|
"react-error-boundary": "3.1.4",
|
|
137
135
|
"react-intl": "6.3.2",
|
|
138
|
-
"react-is": "18.2.0",
|
|
139
136
|
"react-native": "0.71.7",
|
|
140
137
|
"react-native-gesture-handler": "2.9.0",
|
|
141
138
|
"react-native-reanimated": "2.14.4",
|
|
142
139
|
"react-native-safe-area-context": "4.5.0",
|
|
143
140
|
"react-native-svg": "13.4.0",
|
|
144
|
-
"react-native-web": "0.18.12"
|
|
145
|
-
"styled-components": "5.3.5"
|
|
141
|
+
"react-native-web": "0.18.12"
|
|
146
142
|
},
|
|
147
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "035113ce0c5d18493fbcc733e4d7795766f2fe7b"
|
|
148
144
|
}
|
|
@@ -117,6 +117,8 @@ declare module 'react-native' {
|
|
|
117
117
|
gridTemplateColumns?: string;
|
|
118
118
|
/** web only - allow custom gridGap */
|
|
119
119
|
gridGap?: string;
|
|
120
|
+
/** web only - https://github.com/necolas/react-native-web/blob/2a901e5fb11ac314c753867fbc5b87060ed05f53/packages/react-native-web/src/exports/View/types.js#LL238C3-L238C24 */
|
|
121
|
+
tabIndex?: 0 | -1;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
// https://github.com/necolas/react-native-web/blob/db9df2b55f34ae03781c7e07e120c4baa4221157/packages/react-native-web/src/exports/View/types.js#L27
|
package/.stylelintrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/Modal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQrD,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,GAAG,YAAY,CAM/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/Modal/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AASD,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,GAAG,YAAY,CAEnE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
export interface HeaderProps {
|
|
3
|
-
children: NonNullable<ReactNode>;
|
|
4
|
-
left?: ReactNode;
|
|
5
|
-
right?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare function ModalHeader({ left, right, children }: HeaderProps): ReactElement;
|
|
8
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/Modal/Header.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAkCD,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,WAAW,GAAG,YAAY,CAoBhF"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ModalBody } from './Body';
|
|
3
|
-
import { ModalFooter } from './Footer';
|
|
4
|
-
import { ModalHeader } from './Header';
|
|
5
|
-
export interface ModalProps {
|
|
6
|
-
visible: boolean;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
onEntered?: () => void;
|
|
10
|
-
onExited?: () => void;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated This component will be deleted in a later Kitt Universal version. Use CardModal instead
|
|
14
|
-
*/
|
|
15
|
-
export declare function Modal({ visible, children, onClose, onEntered, onExited }: ModalProps): ReactElement;
|
|
16
|
-
export declare namespace Modal {
|
|
17
|
-
var Header: typeof ModalHeader;
|
|
18
|
-
var Body: typeof ModalBody;
|
|
19
|
-
var Footer: typeof ModalFooter;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AA0BD;;GAEG;AACH,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAoBnG;yBApBe,KAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OnCloseContext.d.ts","sourceRoot":"","sources":["../../../src/Modal/OnCloseContext.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,cAAc,gCAAuB,IAAI,CAAW,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { InputUIState } from '@ornikar/kitt-universal';
|
|
2
|
-
export declare const timePickerPlaceholder = "--:--";
|
|
3
|
-
export declare const formatNumberToTimeString: (time: number) => string;
|
|
4
|
-
export declare const formatDateToTimeString: (date: Date) => string;
|
|
5
|
-
export declare const useTimePicker: (value: Date | null, onChange: (time?: Date | null) => void, onBlur: () => void, disabled: boolean, defaultValue?: Date | null, isDefaultVisible?: boolean) => {
|
|
6
|
-
displayedValue: string;
|
|
7
|
-
dateTimePickerValue: Date;
|
|
8
|
-
timePickerState: InputUIState;
|
|
9
|
-
isTimePickerModalVisible: boolean;
|
|
10
|
-
handleInputPress: () => void;
|
|
11
|
-
handleModalClose: () => void;
|
|
12
|
-
handleTimeChange: (date?: Date) => void;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useTimePicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTimePicker.d.ts","sourceRoot":"","sources":["../../../src/TimePicker/useTimePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAE7C,eAAO,MAAM,wBAAwB,SAAU,MAAM,KAAG,MAA4C,CAAC;AAErG,eAAO,MAAM,sBAAsB,SAAU,IAAI,KAAG,MAC2C,CAAC;AAEhG,eAAO,MAAM,aAAa,UACjB,IAAI,GAAG,IAAI,oBACA,IAAI,GAAG,IAAI,KAAK,IAAI,UAC9B,MAAM,IAAI,YACR,OAAO,iBACF,IAAI,GAAG,IAAI,qBACP,OAAO;oBAEV,MAAM;yBACD,IAAI;qBACR,YAAY;8BACH,OAAO;sBACf,MAAM,IAAI;sBACV,MAAM,IAAI;8BACF,IAAI,KAAK,IAAI;CAqCxC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
|
-
import type { InputUIState } from './utils';
|
|
3
|
-
export interface TextInputMixinProps {
|
|
4
|
-
$state: InputUIState;
|
|
5
|
-
}
|
|
6
|
-
/** @deprecated this mixin is not SSR compatible */
|
|
7
|
-
export declare const styledTextInputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<TextInputMixinProps, import("styled-components").DefaultTheme>>;
|
|
8
|
-
//# sourceMappingURL=styledTextInputMixin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styledTextInputMixin.d.ts","sourceRoot":"","sources":["../../../src/forms/styledTextInputMixin.ts"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQ5C,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,mDAAmD;AACnD,eAAO,MAAM,oBAAoB,gKAqBhC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="styled-components-react-native" />
|
|
2
|
-
import type { ReactElement } from 'react';
|
|
3
|
-
interface C1Props {
|
|
4
|
-
color: 'white' | 'black';
|
|
5
|
-
}
|
|
6
|
-
declare function C1({ color }: C1Props): ReactElement;
|
|
7
|
-
export declare const C2: import("styled-components").ThemedStyledFunction<typeof C1, import("styled-components").DefaultTheme, Partial<C1Props> & {
|
|
8
|
-
[others: string]: any;
|
|
9
|
-
}, string | number>;
|
|
10
|
-
export declare const C3: import("styled-components").StyledComponent<typeof C1, import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
-
export declare const C4: import("styled-components").ThemedStyledFunction<typeof C1, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
-
interface C5Props {
|
|
13
|
-
color: string;
|
|
14
|
-
align: 'center' | 'normal';
|
|
15
|
-
}
|
|
16
|
-
export declare const C5: import("styled-components").StyledComponent<typeof C1, import("styled-components").DefaultTheme, C5Props, never>;
|
|
17
|
-
export declare function C5Usage(): ReactElement;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=styled-component-typing-test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styled-component-typing-test.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/styled-component-typing-test.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,UAAU,OAAO;IACf,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;CAC1B;AAED,iBAAS,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,GAAG,YAAY,CAE5C;AAGD,eAAO,MAAM,EAAE;;mBAMb,CAAC;AAGH,eAAO,MAAM,EAAE,6GAId,CAAC;AAOF,eAAO,MAAM,EAAE,kHAMb,CAAC;AAGH,UAAU,OAAO;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B;AAED,eAAO,MAAM,EAAE,kHAId,CAAC;AAEF,wBAAgB,OAAO,IAAI,YAAY,CAStC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
2
|
-
import type { MatchWindowSizeOptions } from './useMatchWindowSize';
|
|
3
|
-
export interface WindowSizeHelper {
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use native-base responsive props or `useBreakpointValue` or `useMatchWindowSize` instead
|
|
6
|
-
*
|
|
7
|
-
* Prefer using if or map variants, at it should be more web friendly
|
|
8
|
-
* */
|
|
9
|
-
matchWindowSize: (options: MatchWindowSizeOptions) => boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated use native-base responsive props or `useBreakpointValue` or `useMatchWindowSize` instead
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* const Container = styled.View`
|
|
16
|
-
* ${({ theme }) =>
|
|
17
|
-
* theme.responsive.ifWindowSizeMatches(
|
|
18
|
-
* { minWidth: KittBreakpoints.SMALL },
|
|
19
|
-
* 'padding: 5px 0 10px;'
|
|
20
|
-
* )
|
|
21
|
-
* )};
|
|
22
|
-
* `;
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
ifWindowSizeMatches: <T extends string | FlattenSimpleInterpolation | null>(options: MatchWindowSizeOptions, valueIfTrue: T, valueIfFalse?: T) => T | undefined;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @deprecated use native-base responsive props or `useBreakpointValue` or `useMatchWindowSize` instead
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* const Container = styled.View`
|
|
33
|
-
* ${({ theme }) =>
|
|
34
|
-
* theme.responsive.mapWindowWidth(
|
|
35
|
-
* [KittBreakpoints.BASE, 'padding: 5px 0 10px;'],
|
|
36
|
-
* [KittBreakpoints.SMALL, 'padding: 10px 0;'],
|
|
37
|
-
* )
|
|
38
|
-
* )};
|
|
39
|
-
* `;
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
mapWindowWidth: <V extends string>(...widthList: [number, V][]) => V | null;
|
|
43
|
-
}
|
|
44
|
-
export interface WindowDimensions {
|
|
45
|
-
width?: number;
|
|
46
|
-
height?: number;
|
|
47
|
-
}
|
|
48
|
-
/** @deprecated use native-base responsive props or `useBreakpointValue` or `useMatchWindowSize` instead */
|
|
49
|
-
export declare function createWindowSizeHelper(dimensions: WindowDimensions): WindowSizeHelper;
|
|
50
|
-
//# sourceMappingURL=createWindowSizeHelper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createWindowSizeHelper.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/createWindowSizeHelper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B;;;;SAIK;IACL,eAAe,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,OAAO,CAAC;IAE9D;;;;;;;;;;;;;;OAcG;IACH,mBAAmB,EAAE,CAAC,CAAC,SAAS,MAAM,GAAG,0BAA0B,GAAG,IAAI,EACxE,OAAO,EAAE,sBAAsB,EAC/B,WAAW,EAAE,CAAC,EACd,YAAY,CAAC,EAAE,CAAC,KACb,CAAC,GAAG,SAAS,CAAC;IAEnB;;;;;;;;;;;;;;;OAeG;IACH,cAAc,EAAE,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;CAC7E;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,2GAA2G;AAC3G,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,GAAG,gBAAgB,CAuBrF"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentType, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react';
|
|
2
|
-
import type { DefaultTheme } from 'styled-components/native';
|
|
3
|
-
import type { Except } from 'type-fest';
|
|
4
|
-
export declare function withTheme<Props extends {
|
|
5
|
-
theme: DefaultTheme;
|
|
6
|
-
}, T>(WrappedComponent: ComponentType<Props>): ForwardRefExoticComponent<PropsWithoutRef<Except<Props, 'theme'>> & RefAttributes<T>>;
|
|
7
|
-
//# sourceMappingURL=withTheme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withTheme.d.ts","sourceRoot":"","sources":["../../../src/utils/withTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAgBxC,wBAAgB,SAAS,CAAC,KAAK,SAAS;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,EAAE,CAAC,EAChE,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,GACrC,yBAAyB,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAOvF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:var(--tcwz3nt-0);text-decoration:var(--tcwz3nt-0);}.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:hover,.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:active,.kitt-hover .kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:var(--tcwz3nt-1);text-decoration:var(--tcwz3nt-1);}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:var(--tcwz3nt-0);text-decoration:var(--tcwz3nt-0);}.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:hover,.kitt-u_TypographyLinkWebWrapper_tcwz3nt > *:active,.kitt-hover .kitt-u_TypographyLinkWebWrapper_tcwz3nt > *{-webkit-text-decoration:var(--tcwz3nt-1);text-decoration:var(--tcwz3nt-1);}
|