@livetiles/reach-plugin-types 0.5.0-preview.1156 → 0.5.0-preview.1157
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/lib/index.d.ts +37 -37
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6530,6 +6530,42 @@ declare module "libs/reach/ui/common/src/reach-2/buttons/index" {
|
|
|
6530
6530
|
export { default as ProfileButton } from "libs/reach/ui/common/src/reach-2/buttons/ProfileButton";
|
|
6531
6531
|
export * from "libs/reach/ui/common/src/reach-2/buttons/StandardButton";
|
|
6532
6532
|
}
|
|
6533
|
+
declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
|
|
6534
|
+
import React, { SVGProps } from 'react';
|
|
6535
|
+
export type TagSize = 'Large' | 'Small';
|
|
6536
|
+
interface TagProps {
|
|
6537
|
+
className?: string;
|
|
6538
|
+
error?: boolean;
|
|
6539
|
+
icon?: SVGProps<SVGElement>;
|
|
6540
|
+
isHighlighted?: boolean;
|
|
6541
|
+
label: string;
|
|
6542
|
+
onClick?: () => void;
|
|
6543
|
+
onClose?: () => void;
|
|
6544
|
+
size?: TagSize;
|
|
6545
|
+
}
|
|
6546
|
+
const Tag: React.FC<TagProps>;
|
|
6547
|
+
export default Tag;
|
|
6548
|
+
}
|
|
6549
|
+
declare module "libs/reach/ui/common/src/reach-2/utils" {
|
|
6550
|
+
import { TagSize } from "libs/reach/ui/common/src/reach-2/tags/Tag";
|
|
6551
|
+
export const getNormalizedPercentageBasedOnDeviceHeight: (heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number) => number;
|
|
6552
|
+
export const useNormalizedBreakpointValuesBasedOnDeviceHeight: (heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number) => {
|
|
6553
|
+
breakpoints: number[];
|
|
6554
|
+
initialBreakpoint: number;
|
|
6555
|
+
};
|
|
6556
|
+
export const getIsMobilePhone: () => boolean;
|
|
6557
|
+
export type TagValue = {
|
|
6558
|
+
id: string;
|
|
6559
|
+
label?: string;
|
|
6560
|
+
name?: string;
|
|
6561
|
+
};
|
|
6562
|
+
export const getMaxTagList: (items: TagValue[], availableWidth: number, options?: {
|
|
6563
|
+
hasError?: (value: TagValue) => boolean;
|
|
6564
|
+
isHighlighted?: boolean;
|
|
6565
|
+
onClose?: (value: TagValue) => void;
|
|
6566
|
+
size?: TagSize;
|
|
6567
|
+
}) => any[];
|
|
6568
|
+
}
|
|
6533
6569
|
declare module "libs/reach/ui/common/src/reach-2/carousel/Carousel" {
|
|
6534
6570
|
import { FC } from 'react';
|
|
6535
6571
|
export interface ICarouselImageProps {
|
|
@@ -6580,22 +6616,6 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/components/Legend" {
|
|
|
6580
6616
|
}>;
|
|
6581
6617
|
export default Legend;
|
|
6582
6618
|
}
|
|
6583
|
-
declare module "libs/reach/ui/common/src/reach-2/tags/Tag" {
|
|
6584
|
-
import React, { SVGProps } from 'react';
|
|
6585
|
-
export type TagSize = 'Large' | 'Small';
|
|
6586
|
-
interface TagProps {
|
|
6587
|
-
className?: string;
|
|
6588
|
-
error?: boolean;
|
|
6589
|
-
icon?: SVGProps<SVGElement>;
|
|
6590
|
-
isHighlighted?: boolean;
|
|
6591
|
-
label: string;
|
|
6592
|
-
onClick?: () => void;
|
|
6593
|
-
onClose?: () => void;
|
|
6594
|
-
size?: TagSize;
|
|
6595
|
-
}
|
|
6596
|
-
const Tag: React.FC<TagProps>;
|
|
6597
|
-
export default Tag;
|
|
6598
|
-
}
|
|
6599
6619
|
declare module "libs/reach/ui/common/src/reach-2/inputs/Input" {
|
|
6600
6620
|
export type InputSize = 'Large' | 'Small';
|
|
6601
6621
|
export interface IInputProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange' | 'ref' | 'size' | 'value'> {
|
|
@@ -6754,8 +6774,8 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog" {
|
|
|
6754
6774
|
}>;
|
|
6755
6775
|
}
|
|
6756
6776
|
declare module "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal" {
|
|
6757
|
-
import { FC, SVGProps } from 'react';
|
|
6758
6777
|
import { AnimationBuilder } from '@ionic/core';
|
|
6778
|
+
import { FC, SVGProps } from 'react';
|
|
6759
6779
|
import { BaseDialogProps } from "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog";
|
|
6760
6780
|
export type MobileInlineModalProps = BaseDialogProps & {
|
|
6761
6781
|
customActionButton?: SVGProps<SVGElement>;
|
|
@@ -6820,26 +6840,6 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/index" {
|
|
|
6820
6840
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/ModalBottomSheetWithStackedChildren";
|
|
6821
6841
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/Panel";
|
|
6822
6842
|
}
|
|
6823
|
-
declare module "libs/reach/ui/common/src/reach-2/utils" {
|
|
6824
|
-
import { TagSize } from "libs/reach/ui/common/src/reach-2/tags/Tag";
|
|
6825
|
-
export const getNormalizedPercentageBasedOnDeviceHeight: (heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number) => number;
|
|
6826
|
-
export const useNormalizedBreakpointValuesBasedOnDeviceHeight: (heightToConvert: number, safeArea?: number, fullyExpandThreshold?: number) => {
|
|
6827
|
-
breakpoints: number[];
|
|
6828
|
-
initialBreakpoint: number;
|
|
6829
|
-
};
|
|
6830
|
-
export const getIsMobilePhone: () => boolean;
|
|
6831
|
-
export type TagValue = {
|
|
6832
|
-
id: string;
|
|
6833
|
-
label?: string;
|
|
6834
|
-
name?: string;
|
|
6835
|
-
};
|
|
6836
|
-
export const getMaxTagList: (items: TagValue[], availableWidth: number, options?: {
|
|
6837
|
-
hasError?: (value: TagValue) => boolean;
|
|
6838
|
-
isHighlighted?: boolean;
|
|
6839
|
-
onClose?: (value: TagValue) => void;
|
|
6840
|
-
size?: TagSize;
|
|
6841
|
-
}) => any[];
|
|
6842
|
-
}
|
|
6843
6843
|
declare module "libs/reach/ui/common/src/reach-2/select/types" {
|
|
6844
6844
|
import { SVGProps } from 'react';
|
|
6845
6845
|
export type SelectSize = 'Large' | 'Small';
|