@ornikar/kitt-universal 2.3.0 → 3.0.0-beta.1
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 +131 -0
- package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
- package/dist/definitions/Button/Button.d.ts +4 -4
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
- package/dist/definitions/Button/ButtonPressable.d.ts +4 -3
- package/dist/definitions/Button/ButtonPressable.d.ts.map +1 -1
- package/dist/definitions/Card/Card.d.ts.map +1 -1
- package/dist/definitions/Emoji/Emoji.d.ts +8 -0
- package/dist/definitions/Emoji/Emoji.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLink.d.ts +3 -3
- package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -1
- package/dist/definitions/ExternalLink/ExternalLink.web.d.ts.map +1 -1
- package/dist/definitions/FullScreenModal/Body.d.ts.map +1 -1
- package/dist/definitions/FullScreenModal/FullScreenModal.d.ts.map +1 -1
- package/dist/definitions/FullScreenModal/Header.d.ts.map +1 -1
- package/dist/definitions/Icon/Icon.d.ts.map +1 -1
- package/dist/definitions/Icon/SpinningIcon.web.d.ts +3 -2
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
- package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +1 -1
- package/dist/definitions/IconButton/PressableIconButton.d.ts +4 -4
- package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -1
- package/dist/definitions/ListItem/ListItem.d.ts +3 -4
- package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
- package/dist/definitions/ListItem/ListItemContent.d.ts +2 -2
- package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -1
- package/dist/definitions/ListItem/ListItemSideContent.d.ts +3 -4
- package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -1
- package/dist/definitions/Loader/LargeLoader.d.ts.map +1 -1
- package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -1
- package/dist/definitions/Loader/Loader.d.ts.map +1 -1
- package/dist/definitions/Loader/Loader.web.d.ts.map +1 -1
- package/dist/definitions/Message/Message.d.ts.map +1 -1
- package/dist/definitions/Modal/Body.d.ts.map +1 -1
- package/dist/definitions/Modal/Footer.d.ts.map +1 -1
- package/dist/definitions/Modal/Header.d.ts.map +1 -1
- package/dist/definitions/Modal/Modal.d.ts.map +1 -1
- 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/Tag/Tag.d.ts.map +1 -1
- package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +12 -0
- package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -0
- package/dist/definitions/TimePicker/TimePicker.d.ts +15 -0
- package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/definitions/TimePicker/TimePicker.web.d.ts +3 -0
- package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -0
- package/dist/definitions/TimePicker/useTimePicker.d.ts +14 -0
- package/dist/definitions/TimePicker/useTimePicker.d.ts.map +1 -0
- package/dist/definitions/Tooltip/Tooltip.d.ts +23 -3
- package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/definitions/Tooltip/Tooltip.web.d.ts +8 -0
- package/dist/definitions/Tooltip/Tooltip.web.d.ts.map +1 -0
- package/dist/definitions/Tooltip/TooltipView.d.ts +8 -0
- package/dist/definitions/Tooltip/TooltipView.d.ts.map +1 -0
- package/dist/definitions/Tooltip/tooltipUtils.d.ts +5 -0
- package/dist/definitions/Tooltip/tooltipUtils.d.ts.map +1 -0
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts.map +1 -1
- package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputText.d.ts +3 -2
- package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
- package/dist/definitions/forms/Label/Label.d.ts.map +1 -1
- package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -1
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +7 -13
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/story-components/Flex.d.ts +2 -2
- package/dist/definitions/story-components/Flex.d.ts.map +1 -1
- package/dist/definitions/story-components/Story.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryBlock.d.ts +1 -2
- package/dist/definitions/story-components/StoryBlock.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryContainer.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryContainer.web.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryDecorator.d.ts +3 -3
- package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -1
- package/dist/definitions/story-components/StorySection.d.ts +7 -9
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +3 -6
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/tooltip.d.ts +10 -0
- package/dist/definitions/themes/late-ocean/tooltip.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +6 -8
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +19 -7
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyEmoji.d.ts +7 -0
- package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLink.d.ts +6 -9
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/useKittTheme.d.ts +8 -1
- package/dist/definitions/useKittTheme.d.ts.map +1 -1
- package/dist/definitions/utils/StyleWebWrapper.d.ts +7 -0
- package/dist/definitions/utils/StyleWebWrapper.d.ts.map +1 -0
- package/dist/definitions/utils/storybook/{decorators/KittThemeDecorator.d.ts → KittThemeDecorator.d.ts} +1 -1
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -0
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +2 -2
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -1
- package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +1 -0
- package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +1 -1
- package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts.map +1 -1
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +2 -2
- package/dist/definitions/utils/withTheme.d.ts +7 -0
- package/dist/definitions/utils/withTheme.d.ts.map +1 -0
- package/dist/index-browser-all.es.android.js +1347 -595
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.css +2 -0
- package/dist/index-browser-all.es.ios.js +1348 -596
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +1318 -672
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +1173 -812
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.css +2 -0
- package/dist/index-node-14.17.cjs.js +1168 -591
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/styles.css +4 -0
- package/dist/tsbuildinfo +1 -1
- package/package.json +18 -7
- package/translations/es-ES.json +3 -0
- package/translations/fr-FR.json +3 -0
- package/dist/definitions/primitives/PrimitiveLink.d.ts +0 -13
- package/dist/definitions/primitives/PrimitiveLink.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveLink.web.d.ts +0 -4
- package/dist/definitions/primitives/PrimitiveLink.web.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitivePressable.d.ts +0 -18
- package/dist/definitions/primitives/PrimitivePressable.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitivePressable.web.d.ts +0 -4
- package/dist/definitions/primitives/PrimitivePressable.web.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveScrollView.d.ts +0 -8
- package/dist/definitions/primitives/PrimitiveScrollView.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts +0 -4
- package/dist/definitions/primitives/PrimitiveScrollView.web.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveText.d.ts +0 -14
- package/dist/definitions/primitives/PrimitiveText.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveText.web.d.ts +0 -6
- package/dist/definitions/primitives/PrimitiveText.web.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveView.d.ts +0 -23
- package/dist/definitions/primitives/PrimitiveView.d.ts.map +0 -1
- package/dist/definitions/primitives/PrimitiveView.web.d.ts +0 -27
- package/dist/definitions/primitives/PrimitiveView.web.d.ts.map +0 -1
- package/dist/definitions/primitives/helpers.d.ts +0 -7
- package/dist/definitions/primitives/helpers.d.ts.map +0 -1
- package/dist/definitions/primitives/reset.d.ts +0 -2
- package/dist/definitions/primitives/reset.d.ts.map +0 -1
- package/dist/definitions/utils/storybook/decorators/KittThemeDecorator.d.ts.map +0 -1
- package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts +0 -2
- package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts.map +0 -1
- package/dist/definitions/utils/storybook/setup-global-decorators.d.ts +0 -2
- package/dist/definitions/utils/storybook/setup-global-decorators.d.ts.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TooltipProps } from './Tooltip';
|
|
3
|
+
import { TooltipView } from './TooltipView';
|
|
4
|
+
export declare function Tooltip({ children, defaultVisible, position, content, floatingStrategy, floatingPadding, onUpdate, }: TooltipProps): ReactElement;
|
|
5
|
+
export declare namespace Tooltip {
|
|
6
|
+
var View: typeof TooltipView;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=Tooltip.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.web.d.ts","sourceRoot":"","sources":["../../../src/Tooltip/Tooltip.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAwC5C,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,cAAc,EACd,QAAiC,EACjC,OAAO,EACP,gBAAiD,EACjD,eAAe,EACf,QAAQ,GACT,EAAE,YAAY,GAAG,YAAY,CAiF7B;yBAzFe,OAAO"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { TooltipPosition } from './Tooltip';
|
|
3
|
+
export interface TooltipViewProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
position: TooltipPosition;
|
|
6
|
+
}
|
|
7
|
+
export declare function TooltipView({ children, position }: TooltipViewProps): ReactElement;
|
|
8
|
+
//# sourceMappingURL=TooltipView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipView.d.ts","sourceRoot":"","sources":["../../../src/Tooltip/TooltipView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAgCjD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,EAAE,eAAe,CAAC;CAC3B;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,gBAAgB,GAAG,YAAY,CAYlF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { TooltipProps } from '..';
|
|
2
|
+
import type { TooltipPosition } from './Tooltip';
|
|
3
|
+
export declare const tooltipDefaultPosition: TooltipPosition;
|
|
4
|
+
export declare const tooltipDefaultFloatingStrategy: TooltipProps['floatingStrategy'];
|
|
5
|
+
//# sourceMappingURL=tooltipUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltipUtils.d.ts","sourceRoot":"","sources":["../../../src/Tooltip/tooltipUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,eAAO,MAAM,sBAAsB,EAAE,eAAuB,CAAC;AAC7D,eAAO,MAAM,8BAA8B,EAAE,YAAY,CAAC,kBAAkB,CAE3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputFeedback.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputFeedback/InputFeedback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InputFeedback.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputFeedback/InputFeedback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC;IACnC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAWD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,kBAAkB,GAAG,YAAY,CAM3F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputField/InputField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputField/InputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAuBrD,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,eAAe,GAAG,YAAY,CAanG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
import type { TextInput as RNTextInput, TextInputProps as RNTextInputProps } from 'react-native';
|
|
3
4
|
import type { InputFormState } from '../InputFormState';
|
|
4
5
|
declare type InputTextType = 'text' | 'email' | 'password' | 'username';
|
|
@@ -17,6 +18,6 @@ export interface TextInputMixinProps {
|
|
|
17
18
|
state: InputTextState;
|
|
18
19
|
}
|
|
19
20
|
export declare const styledTextInputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<TextInputMixinProps, import("styled-components").DefaultTheme>>;
|
|
20
|
-
export declare const InputText:
|
|
21
|
+
export declare const InputText: import("react").ForwardRefExoticComponent<InputTextProps & import("react").RefAttributes<RNTextInput>>;
|
|
21
22
|
export {};
|
|
22
23
|
//# sourceMappingURL=InputText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":";;AAGA,OAAO,KAAK,EAAuB,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKtH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,aAAK,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAChE,oBAAY,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpF,MAAM,WAAW,cAAe,SAAQ,OAAO,CAAC,gBAAgB,EAAE,UAAU,CAAC;IAC3E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,gBAAgB;IAChB,kBAAkB,CAAC,EAAE,cAAc,CAAC;CACrC;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,cAAc,CAAC;CACvB;AAKD,eAAO,MAAM,oBAAoB,gKAehC,CAAC;AA2EF,eAAO,MAAM,SAAS,wGAwDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/forms/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/forms/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAED,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAMrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../src/forms/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../src/forms/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKrD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAsCD,wBAAgB,KAAK,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAgB,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CA2B5G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/forms/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/forms/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC;CAAG;AAEtE,wBAAgB,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,GAAG,YAAY,CAGlE"}
|
|
@@ -4,6 +4,8 @@ export type { ButtonProps } from './Button/Button';
|
|
|
4
4
|
export { Button } from './Button/Button';
|
|
5
5
|
export type { CardProps } from './Card/Card';
|
|
6
6
|
export { Card } from './Card/Card';
|
|
7
|
+
export type { EmojiProps } from './Emoji/Emoji';
|
|
8
|
+
export { Emoji } from './Emoji/Emoji';
|
|
7
9
|
export type { ExternalLinkProps } from './ExternalLink/ExternalLink';
|
|
8
10
|
export { ExternalLink } from './ExternalLink/ExternalLink';
|
|
9
11
|
export type { InputFeedbackProps } from './forms/InputFeedback/InputFeedback';
|
|
@@ -38,32 +40,24 @@ export type { ModalProps } from './Modal/Modal';
|
|
|
38
40
|
export { Modal } from './Modal/Modal';
|
|
39
41
|
export type { NotificationProps } from './Notification/Notification';
|
|
40
42
|
export { Notification } from './Notification/Notification';
|
|
41
|
-
export type { PrimitiveLinkProps } from './primitives/PrimitiveLink';
|
|
42
|
-
export { PrimitiveLink } from './primitives/PrimitiveLink';
|
|
43
|
-
export type { PrimitivePressableProps } from './primitives/PrimitivePressable';
|
|
44
|
-
export { PrimitivePressable } from './primitives/PrimitivePressable';
|
|
45
|
-
export type { PrimitiveScrollViewProps } from './primitives/PrimitiveScrollView';
|
|
46
|
-
export { PrimitiveScrollView } from './primitives/PrimitiveScrollView';
|
|
47
|
-
export type { PrimitiveTextProps } from './primitives/PrimitiveText';
|
|
48
|
-
export { PrimitiveText } from './primitives/PrimitiveText';
|
|
49
|
-
export type { PrimitiveViewProps } from './primitives/PrimitiveView';
|
|
50
|
-
export { PrimitiveView } from './primitives/PrimitiveView';
|
|
51
43
|
export * from './story-components';
|
|
52
44
|
export type { TagProps } from './Tag/Tag';
|
|
53
45
|
export { Tag } from './Tag/Tag';
|
|
54
|
-
export type { KittTheme } from './themes/default';
|
|
55
46
|
export { theme } from './themes/default';
|
|
47
|
+
export { TimePicker } from './TimePicker/TimePicker';
|
|
56
48
|
export type { TooltipProps } from './Tooltip/Tooltip';
|
|
57
49
|
export { Tooltip } from './Tooltip/Tooltip';
|
|
58
50
|
export type { TypographyColor, TypographyHeadingProps, TypographyProps, TypographyTextProps, } from './typography/Typography';
|
|
59
51
|
export { Typography } from './typography/Typography';
|
|
52
|
+
export type { TypographyEmojiProps } from './typography/TypographyEmoji';
|
|
53
|
+
export { TypographyEmoji } from './typography/TypographyEmoji';
|
|
60
54
|
export type { TypographyIconProps } from './typography/TypographyIcon';
|
|
61
55
|
export { TypographyIcon } from './typography/TypographyIcon';
|
|
62
56
|
export type { TypographyLinkProps } from './typography/TypographyLink';
|
|
63
57
|
export { TypographyLink } from './typography/TypographyLink';
|
|
58
|
+
export type { KittTheme } from './useKittTheme';
|
|
64
59
|
export { useKittTheme } from './useKittTheme';
|
|
65
|
-
export { KittThemeDecorator, KittThemeProvider } from './utils/storybook/
|
|
66
|
-
export { SafeAreaProviderDecorator } from './utils/storybook/decorators/SafeAreaProviderDecorator';
|
|
60
|
+
export { KittThemeDecorator, KittThemeProvider } from './utils/storybook/KittThemeDecorator';
|
|
67
61
|
export type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
68
62
|
export { createWindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
69
63
|
export { MatchWindowSize } from './utils/windowSize/MatchWindowSize';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAC9E,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAA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ewStyle } from 'react-native';
|
|
3
3
|
interface FlexProps {
|
|
4
4
|
direction: ViewStyle['flexDirection'];
|
|
5
5
|
padding?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const Flex: import("styled-components").StyledComponent<import("react").
|
|
7
|
+
export declare const Flex: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, FlexProps, never>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/story-components/Flex.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/story-components/Flex.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,UAAU,SAAS;IACjB,SAAS,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,IAAI,6IAOhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../src/story-components/Story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../src/story-components/Story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAKpD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAC;CAClE;AAMD,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAO1F"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
import type { TypographyColor } from '../typography/Typography';
|
|
4
3
|
export interface StoryBlockProps {
|
|
5
4
|
background?: 'dark' | 'light' | 'primary' | 'transparent';
|
|
6
5
|
children: ReactNode;
|
|
7
6
|
}
|
|
8
|
-
export declare const StoryBlockBackgroundContext:
|
|
7
|
+
export declare const StoryBlockBackgroundContext: import("react").Context<"transparent" | "primary" | "light" | "dark" | undefined>;
|
|
9
8
|
export declare const useStoryBlockColor: (color?: TypographyColor | undefined) => TypographyColor;
|
|
10
9
|
export declare function StoryBlock({ children, background }: StoryBlockProps): ReactElement;
|
|
11
10
|
//# sourceMappingURL=StoryBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryBlock.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StoryBlock.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,CAAC;IAC1D,QAAQ,EAAE,SAAS,CAAC;CACrB;AA6BD,eAAO,MAAM,2BAA2B,mFAA8D,CAAC;AAGvG,eAAO,MAAM,kBAAkB,WAAY,eAAe,GAAG,SAAS,KAAG,eAGxE,CAAC;AAQF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,eAAe,GAAG,YAAY,CAQlF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryContainer.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StoryContainer.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;IAC9C,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EACL,KAAc,EACd,QAAgB,GACjB,EAAE,mBAAmB,GAAG,YAAY,GAAG,IAAI,CAQ3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryContainer.web.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryContainer.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StoryContainer.web.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryContainer.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,mBAAmB,GAAG,YAAY,GAAG,IAAI,CAQ7G"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryContext
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export declare function StoryDecorator(storyFn:
|
|
1
|
+
import type { StoryContext } from '@storybook/addons';
|
|
2
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
3
|
+
export declare function StoryDecorator(storyFn: () => ReactNode, context: StoryContext): ReactElement;
|
|
4
4
|
//# sourceMappingURL=StoryDecorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryDecorator.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"StoryDecorator.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,SAAS,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY,CAE5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryGrid.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"StoryGrid.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAuB1C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CACjC;AAED,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,UAAoB,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAuBzF;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,KAAK,CAAC;CACrC;AAED,iBAAS,YAAY,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAgB,EAAE,EAAE,iBAAiB,GAAG,YAAY,GAAG,IAAI,CAqB/G;AAED,eAAO,MAAM,SAAS;;;CAGrB,CAAC"}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export interface StorySectionProps extends PrimitiveViewProps {
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
export interface StorySectionProps extends ViewProps {
|
|
5
4
|
title: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
5
|
children: ReactNode;
|
|
8
6
|
/** @private */
|
|
9
7
|
internalIsDemoSection?: boolean;
|
|
10
8
|
}
|
|
11
|
-
export declare function StorySection({ title,
|
|
9
|
+
export declare function StorySection({ title, children, internalIsDemoSection, ...props }: StorySectionProps): ReactElement;
|
|
12
10
|
export declare namespace StorySection {
|
|
13
|
-
var SubSection: ({ title,
|
|
14
|
-
var BlockSection: ({ title,
|
|
15
|
-
var DemoSection: ({ children }: DemoSectionProps) => ReactElement<any, string |
|
|
16
|
-
var Demo: ({ children }: DemoSectionProps) => ReactElement<any, string |
|
|
11
|
+
var SubSection: ({ title, children, ...props }: StorySectionProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
12
|
+
var BlockSection: ({ title, children, ...props }: StorySectionProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
13
|
+
var DemoSection: ({ children }: DemoSectionProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
+
var Demo: ({ children }: DemoSectionProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
17
15
|
}
|
|
18
16
|
export interface DemoSectionProps {
|
|
19
17
|
children: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorySection.d.ts","sourceRoot":"","sources":["../../../src/story-components/StorySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"StorySection.d.ts","sourceRoot":"","sources":["../../../src/story-components/StorySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAU9C,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe;IACf,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAQlH;yBARe,YAAY;;;;;;AAoC5B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAsBD,2CAA2C;AAC3C,eAAO,MAAM,iBAAiB,qBAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAIhE,UAAU,eAAe;IACvB,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IACjD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAUD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,eAAe,GAAG,YAAY,CAQ5F;yBARe,UAAU;;;;;AAU1B,iBAAS,gBAAgB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,eAAe,GAAG,YAAY,CAQ3F;kBARQ,gBAAgB;;;AAYzB,iBAAS,gBAAgB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,eAAe,GAAG,YAAY,CAc3F;kBAdQ,gBAAgB;;;AAkBzB,iBAAS,gBAAgB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,eAAe,GAAG,YAAY,CAc3F;kBAdQ,gBAAgB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { WindowSizeHelper } from '../utils/windowSize/createWindowSizeHelper';
|
|
2
1
|
export declare const breakpoints: {
|
|
3
2
|
values: {
|
|
4
3
|
base: number;
|
|
@@ -32,6 +31,7 @@ export declare const theme: {
|
|
|
32
31
|
danger: string;
|
|
33
32
|
separator: string;
|
|
34
33
|
hover: string;
|
|
34
|
+
black: string;
|
|
35
35
|
uiBackground: string;
|
|
36
36
|
uiBackgroundLight: string;
|
|
37
37
|
overlay: {
|
|
@@ -289,10 +289,7 @@ export declare const theme: {
|
|
|
289
289
|
borderWidth: string;
|
|
290
290
|
innerMargin: string;
|
|
291
291
|
};
|
|
292
|
+
tooltip: import("./late-ocean/tooltip").TooltipTheme;
|
|
292
293
|
};
|
|
293
|
-
export declare type
|
|
294
|
-
kitt: typeof theme;
|
|
295
|
-
responsive: WindowSizeHelper;
|
|
296
|
-
breakpoints: typeof breakpoints;
|
|
297
|
-
} & Record<string, unknown>;
|
|
294
|
+
export declare type Theme = typeof theme;
|
|
298
295
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/default.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBvB,CAAC;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBjB,CAAC;AAEF,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colorsLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/colorsLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"colorsLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/colorsLateOceanTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;CAkBhC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TooltipTheme {
|
|
2
|
+
backgroundColor: string;
|
|
3
|
+
borderRadius: number;
|
|
4
|
+
opacity: number;
|
|
5
|
+
horizontalPadding: number;
|
|
6
|
+
verticalPadding: number;
|
|
7
|
+
floatingPadding: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const tooltip: TooltipTheme;
|
|
10
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/tooltip.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,OAAO,EAAE,YAOrB,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
+
export interface TypographyTypeBreakpointRangeConfig {
|
|
2
|
+
fontSize: string;
|
|
3
|
+
lineHeight: string;
|
|
4
|
+
}
|
|
1
5
|
export interface TypographyTypeConfig {
|
|
2
|
-
baseAndSmall:
|
|
3
|
-
|
|
4
|
-
lineHeight: string;
|
|
5
|
-
};
|
|
6
|
-
mediumAndWide: {
|
|
7
|
-
fontSize: string;
|
|
8
|
-
lineHeight: string;
|
|
9
|
-
};
|
|
6
|
+
baseAndSmall: TypographyTypeBreakpointRangeConfig;
|
|
7
|
+
mediumAndWide: TypographyTypeBreakpointRangeConfig;
|
|
10
8
|
}
|
|
11
9
|
export declare const typographyLateOceanTheme: {
|
|
12
10
|
colors: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typographyLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typographyLateOceanTheme.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"typographyLateOceanTheme.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typographyLateOceanTheme.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,mCAAmC,CAAC;IAClD,aAAa,EAAE,mCAAmC,CAAC;CACpD;AAiBD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DpC,CAAC"}
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
import type { FC, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { TextProps } from 'react-native';
|
|
3
|
+
import type { DefaultTheme } from 'styled-components/native';
|
|
2
4
|
import type { Except, SetOptional } from 'type-fest';
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
declare type
|
|
6
|
-
declare type
|
|
5
|
+
import type { TypographyTypeConfig } from '../themes/late-ocean/typographyLateOceanTheme';
|
|
6
|
+
import type { KittTheme } from '../useKittTheme';
|
|
7
|
+
export declare type TypographyHeaderType = `header${'1' | '2' | '3' | '4' | '5'}`;
|
|
8
|
+
export declare type TypographyBodyType = 'body' | `body-${'large' | 'medium' | 'small' | 'xsmall'}`;
|
|
9
|
+
export declare type TypographyType = TypographyHeaderType | TypographyBodyType;
|
|
7
10
|
declare type TypographyVariant = 'regular' | 'bold';
|
|
8
11
|
export declare type TypographyColor = 'black' | 'black-light' | 'white' | 'white-light' | 'primary' | 'primary-light' | 'accent' | 'success' | 'danger';
|
|
9
12
|
export declare function useTypographyColor(): TypographyColor;
|
|
10
|
-
export
|
|
11
|
-
|
|
13
|
+
export declare const getTypographyTypeConfigKey: (theme: KittTheme) => keyof TypographyTypeConfig;
|
|
14
|
+
export declare const isTypographyHeader: (type: TypographyType | undefined, typographyIsHeaderInContext: boolean | undefined) => type is "header1" | "header2" | "header3" | "header4" | "header5";
|
|
15
|
+
export declare function getTypographyTypeConfig(type: TypographyType, theme: DefaultTheme): TypographyTypeConfig;
|
|
16
|
+
export interface TypographyBreakpointTypesProps {
|
|
12
17
|
/** base type. Inherited from parent Typography if not specified */
|
|
13
18
|
base?: TypographyType;
|
|
19
|
+
/** small type. use base if undefined */
|
|
14
20
|
small?: TypographyType;
|
|
21
|
+
/** medium type. use small or base if undefined */
|
|
15
22
|
medium?: TypographyType;
|
|
23
|
+
/** large type. use medium or small or base if undefined */
|
|
16
24
|
large?: TypographyType;
|
|
25
|
+
}
|
|
26
|
+
export interface TypographyProps extends TypographyBreakpointTypesProps, Except<TextProps, 'accessibilityRole'> {
|
|
27
|
+
accessibilityRole: NonNullable<TextProps['accessibilityRole']> | 'paragraph' | null;
|
|
17
28
|
/** Default to regular for bodies and bold of headers. Is not inherited. */
|
|
18
29
|
variant?: TypographyVariant;
|
|
19
30
|
/** Inherited from parent Typography if not specified, or black if no Typography parent found. */
|
|
@@ -21,7 +32,8 @@ export interface TypographyProps extends Except<PrimitiveTextProps, 'accessibili
|
|
|
21
32
|
children: ReactNode;
|
|
22
33
|
}
|
|
23
34
|
export declare type TypographyPropsWithoutRole = Except<TypographyProps, 'accessibilityRole'>;
|
|
24
|
-
export declare function
|
|
35
|
+
export declare function useTypographyTypeForCurrentWindowSize(base: TypographyType | undefined, small: TypographyType | undefined, medium: TypographyType | undefined, large: TypographyType | undefined): TypographyType | undefined;
|
|
36
|
+
export declare function Typography({ accessibilityRole, base, small, medium, large, variant, color, ...otherProps }: TypographyProps): ReactElement | null;
|
|
25
37
|
export declare namespace Typography {
|
|
26
38
|
var Text: typeof TypographyText;
|
|
27
39
|
var Paragraph: typeof TypographyParagraph;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,oBAAY,oBAAoB,GAAG,SAAS,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAC1E,oBAAY,kBAAkB,GAAG,MAAM,GAAG,QAAQ,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,EAAE,CAAC;AAC5F,oBAAY,cAAc,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;AACvE,aAAK,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAAC;AAC5C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S,CAM5B;AAED,wBAAgB,UAAU,CAAC,EACzB,iBAAiB,EACjB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,EACL,GAAG,UAAU,EACd,EAAE,eAAe,GAAG,YAAY,GAAG,IAAI,CAgCvC;yBAzCe,UAAU;;;;;;;;;;;;;;;AA2C1B,oBAAY,mBAAmB,GAAG,WAAW,CAAC,eAAe,EAAE,mBAAmB,CAAC,CAAC;AACpF,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAEhE;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAErE;AAED,oBAAY,sBAAsB,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TypographyBreakpointTypesProps } from './Typography';
|
|
3
|
+
export interface TypographyEmojiProps extends TypographyBreakpointTypesProps {
|
|
4
|
+
emoji: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function TypographyEmoji({ emoji, base, small, medium, large }: TypographyEmojiProps): ReactElement;
|
|
7
|
+
//# sourceMappingURL=TypographyEmoji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographyEmoji.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyEmoji.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAqBnE,MAAM,WAAW,oBAAqB,SAAQ,8BAA8B;IAC1E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,YAAY,CAYzG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC;IACrE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CAClC;AAgBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,EAAE,mBAAmB,GAAG,YAAY,CAM1F"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { TextProps } from 'react-native';
|
|
2
3
|
import type { Except } from 'type-fest';
|
|
3
|
-
import type { PrimitiveLinkProps } from '../primitives/PrimitiveLink';
|
|
4
4
|
import type { TypographyPropsWithoutRole } from './Typography';
|
|
5
|
-
interface
|
|
5
|
+
export interface TypographyLinkProps extends Except<TypographyPropsWithoutRole, 'children'> {
|
|
6
|
+
children: NonNullable<ReactNode>;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
noUnderline?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface TypographyLinkProps extends StyledLinkProps, Except<TypographyPropsWithoutRole, 'children'> {
|
|
10
|
-
children: NonNullable<ReactNode>;
|
|
11
9
|
variant: NonNullable<TypographyPropsWithoutRole['variant']>;
|
|
12
|
-
href?:
|
|
13
|
-
hrefAttrs?:
|
|
14
|
-
onPress:
|
|
10
|
+
href?: TextProps['href'];
|
|
11
|
+
hrefAttrs?: TextProps['hrefAttrs'];
|
|
12
|
+
onPress: TextProps['onPress'];
|
|
15
13
|
}
|
|
16
14
|
export declare function TypographyLink({ children, disabled, noUnderline, href, hrefAttrs, onPress, ...otherProps }: TypographyLinkProps): ReactElement;
|
|
17
|
-
export {};
|
|
18
15
|
//# sourceMappingURL=TypographyLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAyC/D,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,0BAA0B,EAAE,UAAU,CAAC;IACzF,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,WAAW,CAAC,0BAA0B,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC/B;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,UAAU,EACd,EAAE,mBAAmB,GAAG,YAAY,CAqBpC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Theme } from './themes/default';
|
|
2
|
+
import { breakpoints } from './themes/default';
|
|
3
|
+
import type { WindowSizeHelper } from './utils/windowSize/createWindowSizeHelper';
|
|
4
|
+
export interface KittTheme {
|
|
5
|
+
kitt: Theme;
|
|
6
|
+
responsive: WindowSizeHelper;
|
|
7
|
+
breakpoints: typeof breakpoints;
|
|
8
|
+
}
|
|
2
9
|
export declare function useKittTheme(): KittTheme;
|
|
3
10
|
//# sourceMappingURL=useKittTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useKittTheme.d.ts","sourceRoot":"","sources":["../../src/useKittTheme.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,OAAO,WAAW,CAAC;CACjC;AAED,wBAAgB,YAAY,IAAI,SAAS,CAKxC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentProps, ElementType, ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface StyleWebWrapperProps<T extends ElementType> {
|
|
3
|
+
as: T;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function StyleWebWrapper<T extends ElementType = 'div'>({ as, children, ...props }: StyleWebWrapperProps<T> & ComponentProps<T>): ReactElement;
|
|
7
|
+
//# sourceMappingURL=StyleWebWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyleWebWrapper.d.ts","sourceRoot":"","sources":["../../../src/utils/StyleWebWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlF,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,WAAW;IACzD,EAAE,EAAE,CAAC,CAAC;IACN,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EAC7D,EAAE,EACF,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,YAAY,CAI5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KittThemeDecorator.d.ts","sourceRoot":"","sources":["../../../../src/utils/storybook/KittThemeDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,YAAa,SAAQ,SAAS;KAAG;CACnD;AAED,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,GAAG,YAAY,CAGpF;AAED,eAAO,MAAM,kBAAkB,uBAM7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RenderResult } from '@testing-library/react';
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
|
-
export declare function renderWithProviders(element: ReactElement):
|
|
3
|
+
export declare function renderWithProviders(element: ReactElement): RenderResult;
|
|
4
4
|
//# sourceMappingURL=renderWithProvidersUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderWithProvidersUtils.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/renderWithProvidersUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"renderWithProvidersUtils.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/renderWithProvidersUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,YAAY,CAEvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled-component-typing-test.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/styled-component-typing-test.tsx"],"names":[],"mappings":"
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MatchWindowSize.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/MatchWindowSize.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MatchWindowSize.d.ts","sourceRoot":"","sources":["../../../../src/utils/windowSize/MatchWindowSize.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAGnE,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,GAAG,sBAAsB,EAAE,EAAE,oBAAoB,GAAG,YAAY,GAAG,IAAI,CAIlH"}
|