@maxhub/max-ui 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -7
- package/dist/index.js +1 -1
- package/dist/src/components/Avatar/index.d.ts +12 -0
- package/dist/src/components/Avatar/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarCloseButton/AvatarCloseButton.d.ts +5 -0
- package/dist/src/components/Avatar/parts/AvatarCloseButton/AvatarCloseButton.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarCloseButton/helpers.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarCloseButton/helpers.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarCloseButton/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarCloseButton/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarContainer/AvatarContainer.d.ts +15 -0
- package/dist/src/components/Avatar/parts/AvatarContainer/AvatarContainer.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarContainer/AvatarContainerContext.d.ts +7 -0
- package/dist/src/components/Avatar/parts/AvatarContainer/AvatarContainerContext.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarContainer/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarContainer/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarIcon/AvatarIcon.d.ts +5 -0
- package/dist/src/components/Avatar/parts/AvatarIcon/AvatarIcon.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarIcon/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarIcon/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarImage/AvatarImage.d.ts +8 -0
- package/dist/src/components/Avatar/parts/AvatarImage/AvatarImage.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarImage/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarImage/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.d.ts +5 -0
- package/dist/src/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarOnlineDot/helpers.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarOnlineDot/helpers.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarOnlineDot/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarOnlineDot/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarOverlay/AvatarOverlay.d.ts +5 -0
- package/dist/src/components/Avatar/parts/AvatarOverlay/AvatarOverlay.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarOverlay/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarOverlay/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarText/AvatarText.d.ts +7 -0
- package/dist/src/components/Avatar/parts/AvatarText/AvatarText.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarText/helpers.d.ts +5 -0
- package/dist/src/components/Avatar/parts/AvatarText/helpers.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/AvatarText/index.d.ts +2 -0
- package/dist/src/components/Avatar/parts/AvatarText/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/parts/index.d.ts +8 -0
- package/dist/src/components/Avatar/parts/index.d.ts.map +1 -0
- package/dist/src/components/Button/Button.d.ts +17 -0
- package/dist/src/components/Button/Button.d.ts.map +1 -0
- package/dist/src/components/Button/helpers.d.ts +9 -0
- package/dist/src/components/Button/helpers.d.ts.map +1 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/Button/index.d.ts.map +1 -0
- package/dist/src/components/CellAction/CellAction.d.ts +16 -0
- package/dist/src/components/CellAction/CellAction.d.ts.map +1 -0
- package/dist/src/components/CellAction/index.d.ts +2 -0
- package/dist/src/components/CellAction/index.d.ts.map +1 -0
- package/dist/src/components/CellHeader/CellHeader.d.ts +12 -0
- package/dist/src/components/CellHeader/CellHeader.d.ts.map +1 -0
- package/dist/src/components/CellHeader/index.d.ts +2 -0
- package/dist/src/components/CellHeader/index.d.ts.map +1 -0
- package/dist/src/components/CellInput/CellInput.d.ts +11 -0
- package/dist/src/components/CellInput/CellInput.d.ts.map +1 -0
- package/dist/src/components/CellInput/index.d.ts +2 -0
- package/dist/src/components/CellInput/index.d.ts.map +1 -0
- package/dist/src/components/CellList/CellList.d.ts +9 -0
- package/dist/src/components/CellList/CellList.d.ts.map +1 -0
- package/dist/src/components/CellList/index.d.ts +2 -0
- package/dist/src/components/CellList/index.d.ts.map +1 -0
- package/dist/src/components/CellSimple/CellSimple.d.ts +25 -0
- package/dist/src/components/CellSimple/CellSimple.d.ts.map +1 -0
- package/dist/src/components/CellSimple/index.d.ts +2 -0
- package/dist/src/components/CellSimple/index.d.ts.map +1 -0
- package/dist/src/components/Counter/Counter.d.ts +9 -0
- package/dist/src/components/Counter/Counter.d.ts.map +1 -0
- package/dist/src/components/Counter/index.d.ts +2 -0
- package/dist/src/components/Counter/index.d.ts.map +1 -0
- package/dist/src/components/IconButton/IconButton.d.ts +15 -0
- package/dist/src/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/src/components/IconButton/helpers.d.ts +5 -0
- package/dist/src/components/IconButton/helpers.d.ts.map +1 -0
- package/dist/src/components/IconButton/index.d.ts +2 -0
- package/dist/src/components/IconButton/index.d.ts.map +1 -0
- package/dist/src/components/Input/Input.d.ts +17 -0
- package/dist/src/components/Input/Input.d.ts.map +1 -0
- package/dist/src/components/Input/index.d.ts +2 -0
- package/dist/src/components/Input/index.d.ts.map +1 -0
- package/dist/src/components/MaxUI/MaxUI.d.ts +8 -0
- package/dist/src/components/MaxUI/MaxUI.d.ts.map +1 -0
- package/dist/src/components/MaxUI/MaxUIContext.d.ts +8 -0
- package/dist/src/components/MaxUI/MaxUIContext.d.ts.map +1 -0
- package/dist/src/components/MaxUI/index.d.ts +3 -0
- package/dist/src/components/MaxUI/index.d.ts.map +1 -0
- package/dist/src/components/Spinner/Spinner.d.ts +3 -0
- package/dist/src/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/src/components/Spinner/SpinnerAndroid.d.ts +4 -0
- package/dist/src/components/Spinner/SpinnerAndroid.d.ts.map +1 -0
- package/dist/src/components/Spinner/SpinnerIos.d.ts +4 -0
- package/dist/src/components/Spinner/SpinnerIos.d.ts.map +1 -0
- package/dist/src/components/Spinner/index.d.ts +3 -0
- package/dist/src/components/Spinner/index.d.ts.map +1 -0
- package/dist/src/components/Spinner/types.d.ts +11 -0
- package/dist/src/components/Spinner/types.d.ts.map +1 -0
- package/dist/src/components/Switch/Switch.d.ts +5 -0
- package/dist/src/components/Switch/Switch.d.ts.map +1 -0
- package/dist/src/components/Switch/index.d.ts +2 -0
- package/dist/src/components/Switch/index.d.ts.map +1 -0
- package/dist/src/components/Textarea/Textarea.d.ts +10 -0
- package/dist/src/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/src/components/Textarea/index.d.ts +2 -0
- package/dist/src/components/Textarea/index.d.ts.map +1 -0
- package/dist/src/components/Typography/index.d.ts +11 -0
- package/dist/src/components/Typography/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyAction/TypographyAction.d.ts +8 -0
- package/dist/src/components/Typography/parts/TypographyAction/TypographyAction.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyAction/index.d.ts +2 -0
- package/dist/src/components/Typography/parts/TypographyAction/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyBody/TypographyBody.d.ts +8 -0
- package/dist/src/components/Typography/parts/TypographyBody/TypographyBody.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyBody/index.d.ts +2 -0
- package/dist/src/components/Typography/parts/TypographyBody/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyDisplay/TypographyDisplay.d.ts +6 -0
- package/dist/src/components/Typography/parts/TypographyDisplay/TypographyDisplay.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyDisplay/index.d.ts +2 -0
- package/dist/src/components/Typography/parts/TypographyDisplay/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyHeadline/TypographyHeadline.d.ts +8 -0
- package/dist/src/components/Typography/parts/TypographyHeadline/TypographyHeadline.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyHeadline/index.d.ts +2 -0
- package/dist/src/components/Typography/parts/TypographyHeadline/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyLabel/TypographyLabel.d.ts +8 -0
- package/dist/src/components/Typography/parts/TypographyLabel/TypographyLabel.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyLabel/index.d.ts +2 -0
- package/dist/src/components/Typography/parts/TypographyLabel/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyTitle/TypographyTitle.d.ts +8 -0
- package/dist/src/components/Typography/parts/TypographyTitle/TypographyTitle.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/TypographyTitle/index.d.ts +2 -0
- package/dist/src/components/Typography/parts/TypographyTitle/index.d.ts.map +1 -0
- package/dist/src/components/Typography/parts/index.d.ts +7 -0
- package/dist/src/components/Typography/parts/index.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +16 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/helpers/dispatch-change-native-event.d.ts +7 -0
- package/dist/src/helpers/dispatch-change-native-event.d.ts.map +1 -0
- package/dist/src/helpers/get-css-size-value.d.ts +2 -0
- package/dist/src/helpers/get-css-size-value.d.ts.map +1 -0
- package/dist/src/helpers/get-subtree.d.ts +19 -0
- package/dist/src/helpers/get-subtree.d.ts.map +1 -0
- package/dist/src/helpers/has-react-node.d.ts +3 -0
- package/dist/src/helpers/has-react-node.d.ts.map +1 -0
- package/dist/src/helpers/index.d.ts +8 -0
- package/dist/src/helpers/index.d.ts.map +1 -0
- package/dist/src/helpers/is-ios.d.ts +2 -0
- package/dist/src/helpers/is-ios.d.ts.map +1 -0
- package/dist/src/helpers/merge-refs.d.ts +3 -0
- package/dist/src/helpers/merge-refs.d.ts.map +1 -0
- package/dist/src/helpers/noop.d.ts +3 -0
- package/dist/src/helpers/noop.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +7 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/use-button-like-props.d.ts +10 -0
- package/dist/src/hooks/use-button-like-props.d.ts.map +1 -0
- package/dist/src/hooks/use-callback-ref.d.ts +6 -0
- package/dist/src/hooks/use-callback-ref.d.ts.map +1 -0
- package/dist/src/hooks/use-color-scheme.d.ts +3 -0
- package/dist/src/hooks/use-color-scheme.d.ts.map +1 -0
- package/dist/src/hooks/use-image-loading-status.d.ts +8 -0
- package/dist/src/hooks/use-image-loading-status.d.ts.map +1 -0
- package/dist/src/hooks/use-platform.d.ts +3 -0
- package/dist/src/hooks/use-platform.d.ts.map +1 -0
- package/dist/src/hooks/use-system-color-scheme.d.ts +7 -0
- package/dist/src/hooks/use-system-color-scheme.d.ts.map +1 -0
- package/dist/src/icons/index.d.ts +8 -0
- package/dist/src/icons/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +7 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/internal/ClearableInput/ClearableInput.d.ts +10 -0
- package/dist/src/internal/ClearableInput/ClearableInput.d.ts.map +1 -0
- package/dist/src/internal/ClearableInput/index.d.ts +2 -0
- package/dist/src/internal/ClearableInput/index.d.ts.map +1 -0
- package/dist/src/internal/Container/Container.d.ts +7 -0
- package/dist/src/internal/Container/Container.d.ts.map +1 -0
- package/dist/src/internal/Container/index.d.ts +2 -0
- package/dist/src/internal/Container/index.d.ts.map +1 -0
- package/dist/src/internal/EllipsisText/EllipsisText.d.ts +14 -0
- package/dist/src/internal/EllipsisText/EllipsisText.d.ts.map +1 -0
- package/dist/src/internal/EllipsisText/index.d.ts +2 -0
- package/dist/src/internal/EllipsisText/index.d.ts.map +1 -0
- package/dist/src/internal/Flex/Flex.d.ts +19 -0
- package/dist/src/internal/Flex/Flex.d.ts.map +1 -0
- package/dist/src/internal/Flex/index.d.ts +2 -0
- package/dist/src/internal/Flex/index.d.ts.map +1 -0
- package/dist/src/internal/Grid/Grid.d.ts +17 -0
- package/dist/src/internal/Grid/Grid.d.ts.map +1 -0
- package/dist/src/internal/Grid/index.d.ts +2 -0
- package/dist/src/internal/Grid/index.d.ts.map +1 -0
- package/dist/src/internal/Panel/Panel.d.ts +9 -0
- package/dist/src/internal/Panel/Panel.d.ts.map +1 -0
- package/dist/src/internal/Panel/index.d.ts +2 -0
- package/dist/src/internal/Panel/index.d.ts.map +1 -0
- package/dist/src/internal/Ripple/Ripple.d.ts +5 -0
- package/dist/src/internal/Ripple/Ripple.d.ts.map +1 -0
- package/dist/src/internal/Ripple/index.d.ts +2 -0
- package/dist/src/internal/Ripple/index.d.ts.map +1 -0
- package/dist/src/internal/SvgButton/SvgButton.d.ts +6 -0
- package/dist/src/internal/SvgButton/SvgButton.d.ts.map +1 -0
- package/dist/src/internal/SvgButton/index.d.ts +2 -0
- package/dist/src/internal/SvgButton/index.d.ts.map +1 -0
- package/dist/src/internal/Tappable/Tappable.d.ts +13 -0
- package/dist/src/internal/Tappable/Tappable.d.ts.map +1 -0
- package/dist/src/internal/Tappable/helpers.d.ts +11 -0
- package/dist/src/internal/Tappable/helpers.d.ts.map +1 -0
- package/dist/src/internal/Tappable/index.d.ts +2 -0
- package/dist/src/internal/Tappable/index.d.ts.map +1 -0
- package/dist/src/internal/index.d.ts +10 -0
- package/dist/src/internal/index.d.ts.map +1 -0
- package/dist/src/types.d.ts +11 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +40 -37
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Typography/parts/TypographyTitle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { TypographyAction, type TypographyActionProps, type TypographyActionVariant } from './TypographyAction';
|
|
2
|
+
export { TypographyBody, type TypographyBodyProps, type TypographyBodyVariant } from './TypographyBody';
|
|
3
|
+
export { TypographyDisplay, type TypographyDisplayProps } from './TypographyDisplay';
|
|
4
|
+
export { TypographyHeadline, type TypographyHeadlineProps, type TypographyHeadlineVariant } from './TypographyHeadline';
|
|
5
|
+
export { TypographyLabel, type TypographyLabelProps, type TypographyLabelVariant } from './TypographyLabel';
|
|
6
|
+
export { TypographyTitle, type TypographyTitleProps, type TypographyTitleVariant } from './TypographyTitle';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/parts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACxG,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,KAAK,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACxH,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './Avatar';
|
|
2
|
+
export * from './Button';
|
|
3
|
+
export * from './CellAction';
|
|
4
|
+
export * from './CellHeader';
|
|
5
|
+
export * from './CellInput';
|
|
6
|
+
export * from './CellList';
|
|
7
|
+
export * from './CellSimple';
|
|
8
|
+
export * from './Counter';
|
|
9
|
+
export * from './IconButton';
|
|
10
|
+
export * from './Input';
|
|
11
|
+
export * from './MaxUI';
|
|
12
|
+
export * from './Spinner';
|
|
13
|
+
export * from './Switch';
|
|
14
|
+
export * from './Textarea';
|
|
15
|
+
export * from './Typography';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatch-change-native-event.d.ts","sourceRoot":"","sources":["../../../src/helpers/dispatch-change-native-event.ts"],"names":[],"mappings":"AAAA,UAAU,8BAA8B;IACtC,EAAE,EAAE,WAAW,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,yBAAyB,GAAI,OAAO,8BAA8B,KAAG,IAMjF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-css-size-value.d.ts","sourceRoot":"","sources":["../../../src/helpers/get-css-size-value.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAGxD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* This is a helper function that is used when a component supports `asChild`
|
|
4
|
+
* using the `Slot` component but its implementation contains nested DOM elements.
|
|
5
|
+
*
|
|
6
|
+
* Using it ensures if a consumer uses the `asChild` prop, the elements are in
|
|
7
|
+
* correct order in the DOM, adopting the intended consumer `children`.
|
|
8
|
+
*
|
|
9
|
+
* Reference: https://github.com/radix-ui/themes/blob/main/packages/radix-ui-themes/src/helpers/get-subtree.ts#L10
|
|
10
|
+
*/
|
|
11
|
+
export interface GetSubtreeProps {
|
|
12
|
+
options: {
|
|
13
|
+
asChild: boolean | undefined;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
content: ReactNode | ((children: ReactNode) => ReactNode);
|
|
17
|
+
}
|
|
18
|
+
export declare const getSubtree: (props: GetSubtreeProps) => ReactNode;
|
|
19
|
+
//# sourceMappingURL=get-subtree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subtree.d.ts","sourceRoot":"","sources":["../../../src/helpers/get-subtree.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElF;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE;QACP,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;QAC5B,QAAQ,EAAE,SAAS,CAAA;KACpB,CAAA;IACD,OAAO,EAAE,SAAS,GAAG,CAAC,CAAC,QAAQ,EAAE,SAAS,KAAK,SAAS,CAAC,CAAA;CAC1D;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,KAAG,SASnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"has-react-node.d.ts","sourceRoot":"","sources":["../../../src/helpers/has-react-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,KAAG,OAE/C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './dispatch-change-native-event';
|
|
2
|
+
export * from './get-css-size-value';
|
|
3
|
+
export * from './get-subtree';
|
|
4
|
+
export * from './has-react-node';
|
|
5
|
+
export * from './is-ios';
|
|
6
|
+
export * from './merge-refs';
|
|
7
|
+
export * from './noop';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-ios.d.ts","sourceRoot":"","sources":["../../../src/helpers/is-ios.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,QAAO,OAExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge-refs.d.ts","sourceRoot":"","sources":["../../../src/helpers/merge-refs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,GAAG,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAE1E,eAAO,MAAM,SAAS,GAAI,CAAC,EAAE,GAAG,WAAW,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,KAAG,GAAG,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAiB5F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noop.d.ts","sourceRoot":"","sources":["../../../src/helpers/noop.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC;AAE9B,eAAO,MAAM,IAAI,EAAE,IAAe,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './use-button-like-props';
|
|
2
|
+
export * from './use-callback-ref';
|
|
3
|
+
export * from './use-color-scheme';
|
|
4
|
+
export * from './use-image-loading-status';
|
|
5
|
+
export * from './use-platform';
|
|
6
|
+
export * from './use-system-color-scheme';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentProps, type ElementType, type ReactNode } from 'react';
|
|
2
|
+
export interface ButtonLikeProps {
|
|
3
|
+
asChild?: boolean;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
rootElement?: ElementType;
|
|
8
|
+
}
|
|
9
|
+
export declare const useButtonLikeProps: (props: ButtonLikeProps) => ComponentProps<any>;
|
|
10
|
+
//# sourceMappingURL=use-button-like-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-button-like-props.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-button-like-props.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAAE,KAAK,WAAW,EAGrC,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B;AAID,eAAO,MAAM,kBAAkB,GAAI,OAAO,eAAe,KAAG,cAAc,CAAC,GAAG,CA2C7E,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
|
|
3
|
+
* prop or avoid re-executing effects when passed as a dependency
|
|
4
|
+
*/
|
|
5
|
+
export declare const useCallbackRef: <T extends (...args: any[]) => any>(callback: T | undefined) => T;
|
|
6
|
+
//# sourceMappingURL=use-callback-ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-callback-ref.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-callback-ref.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,UAAU,CAAC,GAAG,SAAS,KAAG,CAS3F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-color-scheme.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-color-scheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,QAAO,eAIjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type HTMLAttributeReferrerPolicy } from 'react';
|
|
2
|
+
export type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
|
|
3
|
+
export interface UseImageLoadingStatusParams {
|
|
4
|
+
src?: string;
|
|
5
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy;
|
|
6
|
+
}
|
|
7
|
+
export declare const useImageLoadingStatus: (params: UseImageLoadingStatusParams) => ImageLoadingStatus;
|
|
8
|
+
//# sourceMappingURL=use-image-loading-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-image-loading-status.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-image-loading-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,2BAA2B,EAA6B,MAAM,OAAO,CAAC;AAEpF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzE,MAAM,WAAW,2BAA2B;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,cAAc,CAAC,EAAE,2BAA2B,CAAA;CAC7C;AAED,eAAO,MAAM,qBAAqB,GAAI,QAAQ,2BAA2B,KAAG,kBAgC3E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-platform.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-platform.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,WAAW,QAAO,YAI9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-system-color-scheme.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-system-color-scheme.ts"],"names":[],"mappings":"AAIA,KAAK,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC;AAE1C,UAAU,MAAM;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAQ,MAAW,KAAG,iBA4B1D,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Icon16Chevron from './16-chevron.svg';
|
|
2
|
+
import Icon16CloseIos from './16-close-ios.svg';
|
|
3
|
+
import Icon16SearchOutline from './16-search-outline.svg';
|
|
4
|
+
import Icon20CloseAndroid from './20-close-android.svg';
|
|
5
|
+
import Icon20CloseFilled from './20-close-filled.svg';
|
|
6
|
+
import Icon24CloseAndroid from './24-close-android.svg';
|
|
7
|
+
export { Icon16Chevron, Icon16CloseIos, Icon16SearchOutline, Icon20CloseAndroid, Icon20CloseFilled, Icon24CloseAndroid };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,mBAAmB,MAAM,yBAAyB,CAAC;AAC1D,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AAExD,OAAO,EACL,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EACnB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
export { getSubtree, type GetSubtreeProps, hasReactNode, mergeRefs } from './helpers';
|
|
3
|
+
export * from './hooks';
|
|
4
|
+
export * from './icons';
|
|
5
|
+
export type { AsChildProp, ColorSchemeType, InnerClassNamesProp, MergeProps, PlatformType } from './types';
|
|
6
|
+
export { Slot, type SlotProps, Slottable } from '@radix-ui/react-slot';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtF,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type InnerClassNamesProp } from '../../types';
|
|
3
|
+
export type ClearableInputElementKey = 'input' | 'clearButton' | 'count';
|
|
4
|
+
export interface ClearableInputProps extends ComponentProps<'input'> {
|
|
5
|
+
innerClassNames?: InnerClassNamesProp<ClearableInputElementKey>;
|
|
6
|
+
withClearButton?: boolean;
|
|
7
|
+
count?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const ClearableInput: import("react").ForwardRefExoticComponent<Omit<ClearableInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
//# sourceMappingURL=ClearableInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClearableInput.d.ts","sourceRoot":"","sources":["../../../../src/internal/ClearableInput/ClearableInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAgC,MAAM,OAAO,CAAC;AAI1E,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,CAAC;AAEzE,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,OAAO,CAAC;IAClE,eAAe,CAAC,EAAE,mBAAmB,CAAC,wBAAwB,CAAC,CAAA;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,cAAc,+HAkDzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/ClearableInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type AsChildProp } from '../../types';
|
|
3
|
+
export interface ContainerProps extends ComponentProps<'div'>, AsChildProp {
|
|
4
|
+
fullWidth?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Container: import("react").ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
//# sourceMappingURL=Container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../src/internal/Container/Container.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IACxE,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,SAAS,wHAyBpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/Container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type AsChildProp } from '../../types';
|
|
3
|
+
export interface EllipsisTextProps extends ComponentProps<'div'>, AsChildProp {
|
|
4
|
+
/**
|
|
5
|
+
* Максимальное количество видимых строк
|
|
6
|
+
*
|
|
7
|
+
* FYI: при `maxLines > 1` используется свойство line-clamp, которое поддерживается не всеми версиями браузеров
|
|
8
|
+
*
|
|
9
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
|
|
10
|
+
*/
|
|
11
|
+
maxLines?: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const EllipsisText: import("react").ForwardRefExoticComponent<Omit<EllipsisTextProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
//# sourceMappingURL=EllipsisText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EllipsisText.d.ts","sourceRoot":"","sources":["../../../../src/internal/EllipsisText/EllipsisText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IAC3E;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,YAAY,2HA+BvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/EllipsisText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type AsChildProp } from '../../types';
|
|
3
|
+
export type FlexDisplay = 'flex' | 'inline-flex';
|
|
4
|
+
export type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
5
|
+
export type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
6
|
+
export type FlexJustify = 'start' | 'center' | 'end' | 'space-between';
|
|
7
|
+
export type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
8
|
+
export interface FlexProps extends ComponentProps<'div'>, AsChildProp {
|
|
9
|
+
display?: FlexDisplay;
|
|
10
|
+
direction?: FlexDirection;
|
|
11
|
+
align?: FlexAlign;
|
|
12
|
+
justify?: FlexJustify;
|
|
13
|
+
wrap?: FlexWrap;
|
|
14
|
+
gap?: number | string;
|
|
15
|
+
gapX?: number | string;
|
|
16
|
+
gapY?: number | string;
|
|
17
|
+
}
|
|
18
|
+
export declare const Flex: import("react").ForwardRefExoticComponent<Omit<FlexProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../src/internal/Flex/Flex.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAChF,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AACtF,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AACvE,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,cAAc,CAAC;AAE1D,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IACnE,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,IAAI,mHAoCf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type AsChildProp } from '../../types';
|
|
3
|
+
export type GridDisplay = 'grid' | 'inline-grid';
|
|
4
|
+
export type GridAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
5
|
+
export type GridJustify = 'start' | 'center' | 'end' | 'space-between';
|
|
6
|
+
export interface GridProps extends ComponentProps<'div'>, AsChildProp {
|
|
7
|
+
display?: GridDisplay;
|
|
8
|
+
align?: GridAlign;
|
|
9
|
+
justify?: GridJustify;
|
|
10
|
+
gap?: number | string;
|
|
11
|
+
gapX?: number | string;
|
|
12
|
+
gapY?: number | string;
|
|
13
|
+
cols?: number;
|
|
14
|
+
rows?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const Grid: import("react").ForwardRefExoticComponent<Omit<GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../../src/internal/Grid/Grid.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;AAC5E,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AAEvE,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IACnE,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,IAAI,mHAoCf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
export type PanelMode = 'primary' | 'secondary';
|
|
3
|
+
export interface PanelProps extends ComponentProps<'div'> {
|
|
4
|
+
mode?: PanelMode;
|
|
5
|
+
centeredX?: boolean;
|
|
6
|
+
centeredY?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const Panel: import("react").ForwardRefExoticComponent<Omit<PanelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//# sourceMappingURL=Panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../src/internal/Panel/Panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEhD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,KAAK,CAAC;IACvD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,KAAK,oHA0BhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/Panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
export interface RippleProps extends ComponentProps<'span'> {
|
|
3
|
+
}
|
|
4
|
+
export declare const Ripple: import("react").ForwardRefExoticComponent<Omit<RippleProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
//# sourceMappingURL=Ripple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ripple.d.ts","sourceRoot":"","sources":["../../../../src/internal/Ripple/Ripple.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAiC,MAAM,OAAO,CAAC;AAK3E,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG;AAE9D,eAAO,MAAM,MAAM,sHAkEjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/Ripple/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type AsChildProp } from '../../types';
|
|
3
|
+
export interface SvgButtonProps extends ComponentProps<'button'>, AsChildProp {
|
|
4
|
+
}
|
|
5
|
+
export declare const SvgButton: import("react").ForwardRefExoticComponent<Omit<SvgButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
//# sourceMappingURL=SvgButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgButton.d.ts","sourceRoot":"","sources":["../../../../src/internal/SvgButton/SvgButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;CAAG;AAEhF,eAAO,MAAM,SAAS,2HAYpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/SvgButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type AllHTMLAttributes, type ElementType, type ReactNode } from 'react';
|
|
2
|
+
import { type AsChildProp, type MergeProps } from '../../types';
|
|
3
|
+
type TappableOwnProps = {
|
|
4
|
+
as?: ElementType;
|
|
5
|
+
parentChildren?: ReactNode;
|
|
6
|
+
} & AsChildProp;
|
|
7
|
+
export type TappableProps = MergeProps<AllHTMLAttributes<HTMLElement>, TappableOwnProps>;
|
|
8
|
+
export declare const Tappable: import("react").ForwardRefExoticComponent<Omit<AllHTMLAttributes<HTMLElement>, "asChild" | "parentChildren" | "as"> & {
|
|
9
|
+
as?: ElementType;
|
|
10
|
+
parentChildren?: ReactNode;
|
|
11
|
+
} & AsChildProp & import("react").RefAttributes<HTMLElement>>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=Tappable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tappable.d.ts","sourceRoot":"","sources":["../../../../src/internal/Tappable/Tappable.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EAAE,KAAK,WAAW,EAExC,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAKhE,KAAK,gBAAgB,GAAG;IACtB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,cAAc,CAAC,EAAE,SAAS,CAAA;CAC3B,GAAG,WAAW,CAAC;AAEhB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC,CAAC;AAEzF,eAAO,MAAM,QAAQ;SANd,WAAW;qBACC,SAAS;6DA6C1B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AllHTMLAttributes } from 'react';
|
|
2
|
+
import { type AsChildProp } from '../../types';
|
|
3
|
+
interface ExpectedProps extends AsChildProp {
|
|
4
|
+
onClick?: AllHTMLAttributes<HTMLElement>['onClick'];
|
|
5
|
+
href?: AllHTMLAttributes<HTMLElement>['href'];
|
|
6
|
+
children?: AllHTMLAttributes<HTMLElement>['children'];
|
|
7
|
+
parentChildren?: AllHTMLAttributes<HTMLElement>['children'];
|
|
8
|
+
}
|
|
9
|
+
export declare const checkComponentHasAction: ({ onClick, href, children, asChild, parentChildren }: ExpectedProps) => boolean;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/internal/Tappable/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAkB,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,UAAU,aAAc,SAAQ,WAAW;IACzC,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAA;IACnD,IAAI,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;IAC7C,QAAQ,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,CAAA;IACrD,cAAc,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,CAAA;CAC5D;AAED,eAAO,MAAM,uBAAuB,GAAI,sDAAiE,aAAa,KAAG,OAQxH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/Tappable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './ClearableInput';
|
|
2
|
+
export * from './Container';
|
|
3
|
+
export * from './EllipsisText';
|
|
4
|
+
export * from './Flex';
|
|
5
|
+
export * from './Grid';
|
|
6
|
+
export * from './Panel';
|
|
7
|
+
export * from './Ripple';
|
|
8
|
+
export * from './SvgButton';
|
|
9
|
+
export * from './Tappable';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ClassValue } from 'clsx';
|
|
2
|
+
export type PlatformType = 'ios' | 'android';
|
|
3
|
+
export type ColorSchemeType = 'light' | 'dark';
|
|
4
|
+
export type InnerClassNamesProp<T extends string> = {
|
|
5
|
+
[K in T]?: ClassValue;
|
|
6
|
+
};
|
|
7
|
+
export interface AsChildProp {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type MergeProps<A, B> = Omit<A, keyof B> & B;
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,SAAS,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,UAAU;CAAE,CAAC;AAE9E,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC"}
|