@ornikar/kitt-universal 1.0.0-pre → 1.0.0-pre.4
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/Avatar/Avatar.d.ts +14 -0
- package/dist/definitions/Avatar/Avatar.d.ts.map +1 -0
- package/dist/definitions/Button/Button.d.ts +17 -0
- package/dist/definitions/Button/Button.d.ts.map +1 -0
- package/dist/definitions/Button/ButtonContainer.d.ts +12 -0
- package/dist/definitions/Button/ButtonContainer.d.ts.map +1 -0
- package/dist/definitions/Button/ButtonContent.d.ts +9 -0
- package/dist/definitions/Button/ButtonContent.d.ts.map +1 -0
- package/dist/definitions/Button/useButton.d.ts +6 -0
- package/dist/definitions/Button/useButton.d.ts.map +1 -0
- package/dist/definitions/Card/Card.d.ts +9 -0
- package/dist/definitions/Card/Card.d.ts.map +1 -0
- package/dist/definitions/FullScreenModal/Body.d.ts +7 -0
- package/dist/definitions/FullScreenModal/Body.d.ts.map +1 -0
- package/dist/definitions/FullScreenModal/FullScreenModal.d.ts +12 -0
- package/dist/definitions/FullScreenModal/FullScreenModal.d.ts.map +1 -0
- package/dist/definitions/FullScreenModal/Header.d.ts +8 -0
- package/dist/definitions/FullScreenModal/Header.d.ts.map +1 -0
- package/dist/definitions/Icon/Icon.d.ts +12 -0
- package/dist/definitions/Icon/Icon.d.ts.map +1 -0
- package/dist/definitions/Icon/SpinningIcon.d.ts +6 -0
- package/dist/definitions/Icon/SpinningIcon.d.ts.map +1 -0
- package/dist/definitions/Icon/SpinningIcon.web.d.ts +7 -0
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -0
- package/dist/definitions/KittBreakpoints.d.ts +43 -0
- package/dist/definitions/KittBreakpoints.d.ts.map +1 -0
- package/dist/definitions/ListItem/ListItem.d.ts +20 -0
- package/dist/definitions/ListItem/ListItem.d.ts.map +1 -0
- package/dist/definitions/ListItem/ListItemContent.d.ts +7 -0
- package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -0
- package/dist/definitions/ListItem/ListItemSideContent.d.ts +13 -0
- package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -0
- package/dist/definitions/Loader/LargeLoader.d.ts +7 -0
- package/dist/definitions/Loader/LargeLoader.d.ts.map +1 -0
- package/dist/definitions/Loader/LargeLoader.web.d.ts +4 -0
- package/dist/definitions/Loader/LargeLoader.web.d.ts.map +1 -0
- package/dist/definitions/Loader/Loader.d.ts +8 -0
- package/dist/definitions/Loader/Loader.d.ts.map +1 -0
- package/dist/definitions/Loader/Loader.web.d.ts +8 -0
- package/dist/definitions/Loader/Loader.web.d.ts.map +1 -0
- package/dist/definitions/Message/Message.d.ts +14 -0
- package/dist/definitions/Message/Message.d.ts.map +1 -0
- package/dist/definitions/Modal/Body.d.ts +8 -0
- package/dist/definitions/Modal/Body.d.ts.map +1 -0
- package/dist/definitions/Modal/Footer.d.ts +6 -0
- package/dist/definitions/Modal/Footer.d.ts.map +1 -0
- package/dist/definitions/Modal/Header.d.ts +8 -0
- package/dist/definitions/Modal/Header.d.ts.map +1 -0
- package/dist/definitions/Modal/Modal.d.ts +18 -0
- package/dist/definitions/Modal/Modal.d.ts.map +1 -0
- package/dist/definitions/Modal/OnCloseContext.d.ts +3 -0
- package/dist/definitions/Modal/OnCloseContext.d.ts.map +1 -0
- package/dist/definitions/Notification/Notification.d.ts +10 -0
- package/dist/definitions/Notification/Notification.d.ts.map +1 -0
- package/dist/definitions/Overlay/Overlay.d.ts +8 -0
- package/dist/definitions/Overlay/Overlay.d.ts.map +1 -0
- package/dist/definitions/Tag/Tag.d.ts +9 -0
- package/dist/definitions/Tag/Tag.d.ts.map +1 -0
- package/dist/definitions/Tooltip/Tooltip.d.ts +11 -0
- package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts +10 -0
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts.map +1 -0
- package/dist/definitions/forms/InputField/InputField.d.ts +9 -0
- package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -0
- package/dist/definitions/forms/InputFormState.d.ts +2 -0
- package/dist/definitions/forms/InputFormState.d.ts.map +1 -0
- package/dist/definitions/forms/InputText/InputText.d.ts +23 -0
- package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -0
- package/dist/definitions/forms/InputText/useInputText.d.ts +8 -0
- package/dist/definitions/forms/InputText/useInputText.d.ts.map +1 -0
- package/dist/definitions/forms/Label/Label.d.ts +7 -0
- package/dist/definitions/forms/Label/Label.d.ts.map +1 -0
- package/dist/definitions/forms/Radio/Radio.d.ts +13 -0
- package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -0
- package/dist/definitions/forms/TextArea/TextArea.d.ts +6 -0
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +44 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/definitions/story-components/Section.d.ts +18 -0
- package/dist/definitions/story-components/Section.d.ts.map +1 -0
- package/dist/definitions/story-components/Story.d.ts +9 -0
- package/dist/definitions/story-components/Story.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryDecorator.d.ts +4 -0
- package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryGrid.d.ts +19 -0
- package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryTitle.d.ts +27 -0
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/story-components/index.d.ts +16 -0
- package/dist/definitions/story-components/index.d.ts.map +1 -0
- package/dist/definitions/themes/default.d.ts +239 -0
- package/dist/definitions/themes/default.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts +11 -0
- package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts +36 -0
- package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/cardLateOceanTheme.d.ts +18 -0
- package/dist/definitions/themes/late-ocean/cardLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts +18 -0
- package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/feedbackMessageLateOceanTheme.d.ts +9 -0
- package/dist/definitions/themes/late-ocean/feedbackMessageLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/formLateOceanTheme.d.ts +37 -0
- package/dist/definitions/themes/late-ocean/formLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/fullScreenModalLateOceanTheme.d.ts +7 -0
- package/dist/definitions/themes/late-ocean/fullScreenModalLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/inputFieldLateOceanTheme.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/inputFieldLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/inputLateOceanTheme.d.ts +23 -0
- package/dist/definitions/themes/late-ocean/inputLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/listItemLateOceanTheme.d.ts +7 -0
- package/dist/definitions/themes/late-ocean/listItemLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/radioLateOceanTheme.d.ts +18 -0
- package/dist/definitions/themes/late-ocean/radioLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/shadowsLateOceanTheme.d.ts +4 -0
- package/dist/definitions/themes/late-ocean/shadowsLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts +14 -0
- package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts +68 -0
- package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +1 -0
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +21 -0
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +1 -0
- package/dist/definitions/typography/Typography.d.ts +39 -0
- package/dist/definitions/typography/Typography.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyIcon.d.ts +9 -0
- package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyLink.d.ts +13 -0
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -0
- package/dist/definitions/useKittTheme.d.ts +3 -0
- package/dist/definitions/useKittTheme.d.ts.map +1 -0
- package/dist/definitions/utils/storybook/decorators/KittThemeDecorator.d.ts +13 -0
- package/dist/definitions/utils/storybook/decorators/KittThemeDecorator.d.ts.map +1 -0
- package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts +2 -0
- package/dist/definitions/utils/storybook/decorators/SafeAreaProviderDecorator.d.ts.map +1 -0
- package/dist/definitions/utils/storybook/setup-global-decorators.d.ts +2 -0
- package/dist/definitions/utils/storybook/setup-global-decorators.d.ts.map +1 -0
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +4 -0
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -0
- package/dist/definitions/utils/typeUtils.d.ts +5 -0
- package/dist/definitions/utils/typeUtils.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts +8 -0
- package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +36 -0
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts +7 -0
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/useWindowSize.d.ts +2 -0
- package/dist/definitions/utils/windowSize/useWindowSize.d.ts.map +1 -0
- package/dist/index-browser-all-dev.es.js +583 -571
- package/dist/index-browser-all-dev.es.js.map +1 -1
- package/dist/index-browser-all.es.js +578 -566
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-node-12.13-dev.cjs.js +644 -650
- package/dist/index-node-12.13-dev.cjs.js.map +1 -1
- package/dist/index-node-12.13.cjs.js +582 -588
- package/dist/index-node-12.13.cjs.js.map +1 -1
- package/dist/tsbuildinfo +1 -0
- package/package.json +11 -9
- package/src/forms/Label/Label.stories.tsx +1 -3
- package/src/index.ts +2 -2
- package/src/story-components/StoryGrid.tsx +2 -2
- package/src/story-components/index.ts +5 -13
- package/src/themes/late-ocean/inputLateOceanTheme.ts +2 -2
- package/src/themes/late-ocean/typographyLateOceanTheme.ts +1 -1
- package/src/useKittTheme.tsx +12 -0
- package/src/utils/storybook/decorators/KittThemeDecorator.tsx +16 -1
- package/src/utils/tests/renderWithProvidersUtils.tsx +1 -1
- package/story-components.js +7 -0
- package/story-components.mjs +1 -0
- package/tsconfig.build.json +4 -1
- package/src/KittThemeProvider.tsx +0 -30
- package/yarn-error.log +0 -22274
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
export interface AvatarProps {
|
|
3
|
+
size?: number;
|
|
4
|
+
src?: string | null;
|
|
5
|
+
firstname?: string | null;
|
|
6
|
+
lastname?: string | null;
|
|
7
|
+
round?: boolean;
|
|
8
|
+
light?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface StyledAvatarViewProps extends Pick<AvatarProps, 'round' | 'light'> {
|
|
11
|
+
size: number;
|
|
12
|
+
}
|
|
13
|
+
export declare function Avatar({ size, ...rest }: AvatarProps): ReactElement;
|
|
14
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO,CAAC;IACjF,IAAI,EAAE,MAAM,CAAC;CACd;AA6BD,wBAAgB,MAAM,CAAC,EAAE,IAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,GAAG,YAAY,CAMxE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export declare type ButtonType = 'primary' | 'secondary' | 'subtle' | 'subtle-dark';
|
|
3
|
+
declare type IconPosition = 'right' | 'left';
|
|
4
|
+
export interface ButtonProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
type?: ButtonType;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
icon?: ReactElement;
|
|
9
|
+
iconPosition?: IconPosition;
|
|
10
|
+
iconSpin?: boolean;
|
|
11
|
+
stretch?: boolean;
|
|
12
|
+
testID?: string;
|
|
13
|
+
onPress?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function Button({ children, type, icon, iconPosition, iconSpin, stretch, disabled, onPress, testID, }: ButtonProps): ReactElement;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,oBAAY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE5E,aAAK,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,IAAkB,EAClB,IAAI,EACJ,YAAqB,EACrB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,GACP,EAAE,WAAW,GAAG,YAAY,CA2B5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="styled-components-react-native" />
|
|
3
|
+
import type { ButtonType } from './Button';
|
|
4
|
+
interface ButtonContainerProps {
|
|
5
|
+
type: ButtonType;
|
|
6
|
+
isPressed?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
stretch?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ButtonContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, import("styled-components").DefaultTheme, ButtonContainerProps, never>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=ButtonContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonContainer.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContainer.tsx"],"names":[],"mappings":";;AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,UAAU,oBAAoB;IAC5B,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,mQAqB3B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { ButtonProps, ButtonType } from './Button';
|
|
3
|
+
interface ButtonContentProps extends Exclude<ButtonProps, 'onPress'> {
|
|
4
|
+
isPressed?: boolean;
|
|
5
|
+
type: NonNullable<ButtonType>;
|
|
6
|
+
}
|
|
7
|
+
export declare function ButtonContent({ type, isPressed, stretch, icon, iconPosition, iconSpin, disabled, children, }: ButtonContentProps): ReactElement | null;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ButtonContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAwExD,UAAU,kBAAmB,SAAQ,OAAO,CAAC,WAAW,EAAE,SAAS,CAAC;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;CAC/B;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,SAAS,EACT,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,GAAG,YAAY,GAAG,IAAI,CAwC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useButton.d.ts","sourceRoot":"","sources":["../../../src/Button/useButton.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;eACT,OAAO;yBACG,MAAM,IAAI;0BACT,MAAM,IAAI;CAQjC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
declare type CardType = 'primary' | 'secondary' | 'subtle';
|
|
3
|
+
export interface CardProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
type: CardType;
|
|
6
|
+
}
|
|
7
|
+
export declare function Card({ children, type }: CardProps): ReactElement;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,aAAK,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,EAAE,QAAQ,CAAC;CAChB;AAaD,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,SAAS,GAAG,YAAY,CAEhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/FullScreenModal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBrD,UAAU,SAAS;IACjB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,GAAG,YAAY,CAEzE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { FullScreenModalBody } from './Body';
|
|
3
|
+
import { FullScreenModalHeader } from './Header';
|
|
4
|
+
export interface FullScreenModalProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function FullScreenModal({ children }: FullScreenModalProps): ReactElement;
|
|
8
|
+
export declare namespace FullScreenModal {
|
|
9
|
+
var Header: typeof FullScreenModalHeader;
|
|
10
|
+
var Body: typeof FullScreenModalBody;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=FullScreenModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FullScreenModal.d.ts","sourceRoot":"","sources":["../../../src/FullScreenModal/FullScreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOjD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,GAAG,YAAY,CAEhF;yBAFe,eAAe"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface FullScreenModalHeaderProps {
|
|
3
|
+
children: NonNullable<ReactNode>;
|
|
4
|
+
right?: ReactNode;
|
|
5
|
+
left?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function FullScreenModalHeader({ children, right, left }: FullScreenModalHeaderProps): ReactElement;
|
|
8
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/FullScreenModal/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyFrD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,0BAA0B,GAAG,YAAY,CAiCzG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { ViewStyle } from 'react-native';
|
|
3
|
+
export interface IconProps {
|
|
4
|
+
icon: ReactElement;
|
|
5
|
+
size?: number;
|
|
6
|
+
color: string;
|
|
7
|
+
spin?: boolean;
|
|
8
|
+
align?: ViewStyle['alignSelf'];
|
|
9
|
+
testID?: ViewStyle['testID'];
|
|
10
|
+
}
|
|
11
|
+
export declare function Icon({ icon, size, spin, align, color }: IconProps): ReactElement;
|
|
12
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;CAC9B;AAeD,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,YAAY,CAQrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpinningIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/SpinningIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,YAAY,CA6B1E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import './SpinningIcon.web.css';
|
|
3
|
+
export interface SpinningIconProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function SpinningIcon({ children }: SpinningIconProps): ReactElement;
|
|
7
|
+
//# sourceMappingURL=SpinningIcon.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpinningIcon.web.d.ts","sourceRoot":"","sources":["../../../src/Icon/SpinningIcon.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAE1E"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const KittBreakpoints: {
|
|
2
|
+
/**
|
|
3
|
+
* min-width: 0
|
|
4
|
+
*/
|
|
5
|
+
BASE: number;
|
|
6
|
+
/**
|
|
7
|
+
* min-width: 480px
|
|
8
|
+
*/
|
|
9
|
+
SMALL: number;
|
|
10
|
+
/**
|
|
11
|
+
* min-width: 768px
|
|
12
|
+
*/
|
|
13
|
+
MEDIUM: number;
|
|
14
|
+
/**
|
|
15
|
+
* min-width: 1024px
|
|
16
|
+
*/
|
|
17
|
+
LARGE: number;
|
|
18
|
+
/**
|
|
19
|
+
* min-width: 1280px
|
|
20
|
+
*/
|
|
21
|
+
WIDE: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const KittBreakpointsMax: {
|
|
24
|
+
/**
|
|
25
|
+
* max-width: 479px
|
|
26
|
+
*/
|
|
27
|
+
BASE: number;
|
|
28
|
+
/**
|
|
29
|
+
* max-width: 767px
|
|
30
|
+
*/
|
|
31
|
+
SMALL: number;
|
|
32
|
+
/**
|
|
33
|
+
* max-width: 1023px
|
|
34
|
+
*/
|
|
35
|
+
MEDIUM: number;
|
|
36
|
+
/**
|
|
37
|
+
* max-width: 1279px
|
|
38
|
+
*/
|
|
39
|
+
LARGE: number;
|
|
40
|
+
};
|
|
41
|
+
export declare type KittBreakpoint = typeof KittBreakpoints[keyof typeof KittBreakpoints];
|
|
42
|
+
export declare type KittBreakpointMax = typeof KittBreakpointsMax[keyof typeof KittBreakpointsMax];
|
|
43
|
+
//# sourceMappingURL=KittBreakpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KittBreakpoints.d.ts","sourceRoot":"","sources":["../../src/KittBreakpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEJ,CAAC;AAEF,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEJ,CAAC;AAEF,oBAAY,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAClF,oBAAY,iBAAiB,GAAG,OAAO,kBAAkB,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { PressableProps } from 'react-native';
|
|
3
|
+
import { ListItemContent } from './ListItemContent';
|
|
4
|
+
import { ListItemSideContainer, ListItemSideContent } from './ListItemSideContent';
|
|
5
|
+
declare type Borders = 'top' | 'bottom' | 'both';
|
|
6
|
+
export interface ListItemProps extends PressableProps {
|
|
7
|
+
children: NonNullable<ReactNode>;
|
|
8
|
+
left?: ReactNode;
|
|
9
|
+
right?: ReactNode;
|
|
10
|
+
borders?: Borders;
|
|
11
|
+
withPadding?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function ListItem({ children, withPadding, borders, left, right, ...rest }: ListItemProps): ReactElement;
|
|
14
|
+
export declare namespace ListItem {
|
|
15
|
+
var Content: typeof ListItemContent;
|
|
16
|
+
var SideContent: typeof ListItemSideContent;
|
|
17
|
+
var SideContainer: typeof ListItemSideContainer;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../src/ListItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEnF,aAAK,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA4BD,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,GAAG,YAAY,CAY9G;yBAZe,QAAQ"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
export interface ListItemContentProps extends ViewProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
}
|
|
6
|
+
export declare function ListItemContent({ children, ...rest }: ListItemContentProps): ReactElement;
|
|
7
|
+
//# sourceMappingURL=ListItemContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemContent.d.ts","sourceRoot":"","sources":["../../../src/ListItem/ListItemContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAOD,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,oBAAoB,GAAG,YAAY,CAEzF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
export interface ListItemSideContainerProps extends ViewProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
side?: 'left' | 'right';
|
|
6
|
+
}
|
|
7
|
+
export declare function ListItemSideContainer({ children, side, ...rest }: ListItemSideContainerProps): ReactElement;
|
|
8
|
+
export interface ListItemSideContentProps extends ViewProps {
|
|
9
|
+
children: NonNullable<ReactNode>;
|
|
10
|
+
align?: ViewStyle['alignSelf'];
|
|
11
|
+
}
|
|
12
|
+
export declare function ListItemSideContent({ children, align, ...rest }: ListItemSideContentProps): ReactElement;
|
|
13
|
+
//# sourceMappingURL=ListItemSideContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemSideContent.d.ts","sourceRoot":"","sources":["../../../src/ListItem/ListItemSideContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzD,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AASD,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,IAAa,EAAE,GAAG,IAAI,EAAE,EAAE,0BAA0B,GAAG,YAAY,CAMpH;AAED,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CAChC;AAMD,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,KAAc,EAAE,GAAG,IAAI,EAAE,EAAE,wBAAwB,GAAG,YAAY,CAMjH"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { LoaderProps } from './Loader';
|
|
3
|
+
export interface LargeLoaderProps {
|
|
4
|
+
color?: LoaderProps['color'];
|
|
5
|
+
}
|
|
6
|
+
export declare function LargeLoader({ color }: LargeLoaderProps): ReactElement;
|
|
7
|
+
//# sourceMappingURL=LargeLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LargeLoader.d.ts","sourceRoot":"","sources":["../../../src/Loader/LargeLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAiB,EAAE,EAAE,gBAAgB,GAAG,YAAY,CAEjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LargeLoader.web.d.ts","sourceRoot":"","sources":["../../../src/Loader/LargeLoader.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,uBAAuB,CAAC;AAE/B,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,YAAY,CAatE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TypographyIconProps } from '../typography/TypographyIcon';
|
|
3
|
+
export interface LoaderProps {
|
|
4
|
+
color?: TypographyIconProps['color'];
|
|
5
|
+
size?: TypographyIconProps['size'];
|
|
6
|
+
}
|
|
7
|
+
export declare function Loader({ color, size }: LoaderProps): ReactElement;
|
|
8
|
+
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;CACpC;AAOD,wBAAgB,MAAM,CAAC,EAAE,KAAiB,EAAE,IAAS,EAAE,EAAE,WAAW,GAAG,YAAY,CAIlF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TypographyIconProps } from '../typography/TypographyIcon';
|
|
3
|
+
export interface LoaderProps {
|
|
4
|
+
color?: TypographyIconProps['color'];
|
|
5
|
+
size?: TypographyIconProps['size'];
|
|
6
|
+
}
|
|
7
|
+
export declare function Loader({ color, size }: LoaderProps): ReactElement;
|
|
8
|
+
//# sourceMappingURL=Loader.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.web.d.ts","sourceRoot":"","sources":["../../../src/Loader/Loader.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;CACpC;AAED,wBAAgB,MAAM,CAAC,EAAE,KAAiB,EAAE,IAAS,EAAE,EAAE,WAAW,GAAG,YAAY,CAElF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export declare type MessageType = 'success' | 'warning' | 'danger' | 'info';
|
|
3
|
+
export interface MessageProps {
|
|
4
|
+
type?: MessageType;
|
|
5
|
+
children: NonNullable<ReactNode>;
|
|
6
|
+
noRadius?: boolean;
|
|
7
|
+
centeredText?: boolean;
|
|
8
|
+
insets?: {
|
|
9
|
+
top?: number;
|
|
10
|
+
};
|
|
11
|
+
onDismiss?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function Message({ type, children, noRadius, centeredText, onDismiss, insets, }: MessageProps): ReactElement;
|
|
14
|
+
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/Message/Message.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOrD,oBAAY,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAKpE,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAgED,wBAAgB,OAAO,CAAC,EACtB,IAAa,EACb,QAAQ,EACR,QAAgB,EAChB,YAAoB,EACpB,SAAS,EACT,MAAM,GACP,EAAE,YAAY,GAAG,YAAY,CAsB7B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ScrollView } from 'react-native';
|
|
4
|
+
export interface BodyProps {
|
|
5
|
+
children: NonNullable<ReactNode>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ModalBody: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<ScrollView>>;
|
|
8
|
+
//# sourceMappingURL=Body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/Modal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO1C,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,SAAS,8EAMpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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;AAIrD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AASD,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,GAAG,YAAY,CAEnE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
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
|
+
export declare function Modal({ visible, children, onClose, onEntered, onExited }: ModalProps): ReactElement;
|
|
13
|
+
export declare namespace Modal {
|
|
14
|
+
var Header: typeof ModalHeader;
|
|
15
|
+
var Body: React.ForwardRefExoticComponent<import("./Body").BodyProps & React.RefAttributes<import("react-native").ScrollView>>;
|
|
16
|
+
var Footer: typeof ModalFooter;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,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,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,UAAU,GAAG,YAAY,CAmBnG;yBAnBe,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnCloseContext.d.ts","sourceRoot":"","sources":["../../../src/Modal/OnCloseContext.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,cAAc,gCAAuB,IAAI,CAAW,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { MessageProps } from '../Message/Message';
|
|
3
|
+
export interface NotificationProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
type?: MessageProps['type'];
|
|
6
|
+
centeredText?: MessageProps['centeredText'];
|
|
7
|
+
onDelete?: MessageProps['onDismiss'];
|
|
8
|
+
}
|
|
9
|
+
export declare function Notification({ type, children, centeredText, onDelete }: NotificationProps): ReactElement;
|
|
10
|
+
//# sourceMappingURL=Notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CACtC;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAOxG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
3
|
+
interface OverlayProps {
|
|
4
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function Overlay({ onPress }: OverlayProps): ReactElement;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=Overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../src/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI1D,UAAU,YAAY;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAClD;AAOD,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,EAAE,YAAY,GAAG,YAAY,CAM/D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
declare type TagType = 'primary' | 'default' | 'danger';
|
|
3
|
+
export interface TagProps {
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
type?: TagType;
|
|
6
|
+
}
|
|
7
|
+
export declare function Tag({ label, type }: TagProps): ReactElement;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKrD,aAAK,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEhD,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAYD,wBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAgB,EAAE,EAAE,QAAQ,GAAG,YAAY,CAQvE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export declare type TooltipPosition = 'bottom' | 'top' | 'left' | 'right';
|
|
3
|
+
export interface TooltipProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
content: NonNullable<ReactNode>;
|
|
6
|
+
defaultVisible?: boolean;
|
|
7
|
+
fullWidth?: boolean;
|
|
8
|
+
position: TooltipPosition;
|
|
9
|
+
}
|
|
10
|
+
export declare function Tooltip({ children }: TooltipProps): ReactElement;
|
|
11
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,oBAAY,eAAe,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,eAAe,CAAC;CAC3B;AAED,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE,YAAY,GAAG,YAAY,CAEhE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { TypographyProps } from '../../typography/Typography';
|
|
3
|
+
import type { InputFormState } from '../InputFormState';
|
|
4
|
+
export interface InputFeedbackProps {
|
|
5
|
+
state?: InputFormState;
|
|
6
|
+
testID?: TypographyProps['testID'];
|
|
7
|
+
children: NonNullable<ReactNode>;
|
|
8
|
+
}
|
|
9
|
+
export declare function InputFeedback({ state, testID, children }: InputFeedbackProps): ReactElement;
|
|
10
|
+
//# sourceMappingURL=InputFeedback.d.ts.map
|
|
@@ -0,0 +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;AAErD,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface InputFieldProps {
|
|
3
|
+
label?: ReactNode;
|
|
4
|
+
labelFeedback?: ReactNode;
|
|
5
|
+
input: NonNullable<ReactNode>;
|
|
6
|
+
feedback?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function InputField({ label, labelFeedback, input, feedback }: InputFieldProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=InputField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputField/InputField.tsx"],"names":[],"mappings":"AACA,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputFormState.d.ts","sourceRoot":"","sources":["../../../src/forms/InputFormState.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { TextInput as RNTextInput, TextInputProps as RNTextInputProps } from 'react-native';
|
|
4
|
+
import type { InputFormState } from '../InputFormState';
|
|
5
|
+
declare type InputTextType = 'text' | 'email' | 'password' | 'username';
|
|
6
|
+
export declare type InputTextState = 'default' | 'invalid' | 'disabled' | 'hover' | 'focus';
|
|
7
|
+
export interface InputTextProps extends Exclude<RNTextInputProps, 'nativeID'> {
|
|
8
|
+
id?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
type: InputTextType;
|
|
12
|
+
minHeight?: number;
|
|
13
|
+
state?: InputFormState;
|
|
14
|
+
/** @internal */
|
|
15
|
+
internalForceState?: InputTextState;
|
|
16
|
+
}
|
|
17
|
+
export interface TextInputMixinProps {
|
|
18
|
+
state: InputTextState;
|
|
19
|
+
}
|
|
20
|
+
export declare const styledTextInputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<TextInputMixinProps, import("styled-components").DefaultTheme>>;
|
|
21
|
+
export declare const InputText: React.ForwardRefExoticComponent<InputTextProps & React.RefAttributes<RNTextInput>>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=InputText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAuB,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAItH,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,gKAYhC,CAAC;AAwEF,eAAO,MAAM,SAAS,oFAwDrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/useInputText.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;eACZ,OAAO;sBACA,MAAM,IAAI;qBACX,MAAM,IAAI;uBACR,OAAO;8BACA,MAAM,IAAI;CAWrC,CAAC"}
|
|
@@ -0,0 +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;AAKrD,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"}
|