@reillymc/react-native-components 0.10.8 → 0.10.11
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/components/Avatar.js +1 -1
- package/lib/components/Rating.js +1 -1
- package/lib/components/SwipeAction.js +1 -1
- package/lib/components/action/IconAction.js +1 -1
- package/lib/components/action/IconActionBase.js +1 -1
- package/lib/components/button/IconButton.js +1 -1
- package/lib/components/button/IconButtonBase.js +1 -1
- package/lib/components/icon/Icon.js +1 -1
- package/lib/components/icon/IconBase.js +1 -1
- package/lib/components/icon/InteractiveIcon.js +1 -1
- package/lib/components/icon/componentWithIcon.js +1 -1
- package/lib/components/icon/index.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input/CounterInput.js +1 -1
- package/lib/components/input/InputAction.js +1 -1
- package/lib/components/input/InputScaffold.js +1 -1
- package/lib/components/input/NumberInput.js +1 -1
- package/lib/components/input/RatingInput.js +1 -1
- package/lib/components/input/SelectionInput.js +1 -1
- package/lib/components/input/TimeInput.js +1 -1
- package/lib/components/input/ToggleInput.js +1 -1
- package/lib/components/tag/TagIcon.js +1 -1
- package/lib/icons/base.js +1 -0
- package/lib/icons/index.js +1 -0
- package/lib/icons/octicons.js +1 -0
- package/lib/icons/stars/StarBorder.js +1 -0
- package/lib/icons/stars/StarFull.js +1 -0
- package/lib/icons/stars/StarHalf.js +1 -0
- package/lib/icons/stars/index.js +1 -0
- package/lib/index.js +1 -1
- package/lib/providers/ThemeProvider.js +1 -1
- package/lib/theme/icons.js +1 -1
- package/lib/theme/index.js +1 -1
- package/lib/types/components/Avatar.d.ts.map +1 -1
- package/lib/types/components/Rating.d.ts +3 -14
- package/lib/types/components/Rating.d.ts.map +1 -1
- package/lib/types/components/SwipeAction.d.ts +1 -1
- package/lib/types/components/SwipeAction.d.ts.map +1 -1
- package/lib/types/components/action/IconAction.d.ts +1 -1
- package/lib/types/components/action/IconAction.d.ts.map +1 -1
- package/lib/types/components/action/IconActionBase.d.ts +1 -1
- package/lib/types/components/action/IconActionBase.d.ts.map +1 -1
- package/lib/types/components/button/IconButton.d.ts +1 -1
- package/lib/types/components/button/IconButton.d.ts.map +1 -1
- package/lib/types/components/button/IconButtonBase.d.ts +1 -1
- package/lib/types/components/button/IconButtonBase.d.ts.map +1 -1
- package/lib/types/components/icon/IconBase.d.ts +1 -1
- package/lib/types/components/icon/IconBase.d.ts.map +1 -1
- package/lib/types/components/icon/componentWithIcon.d.ts +4 -10
- package/lib/types/components/icon/componentWithIcon.d.ts.map +1 -1
- package/lib/types/components/icon/index.d.ts +1 -1
- package/lib/types/components/icon/index.d.ts.map +1 -1
- package/lib/types/components/index.d.ts +4 -4
- package/lib/types/components/index.d.ts.map +1 -1
- package/lib/types/components/input/CounterInput.d.ts +1 -0
- package/lib/types/components/input/CounterInput.d.ts.map +1 -1
- package/lib/types/components/input/InputAction.d.ts +1 -1
- package/lib/types/components/input/InputAction.d.ts.map +1 -1
- package/lib/types/components/input/RatingInput.d.ts +4 -2
- package/lib/types/components/input/RatingInput.d.ts.map +1 -1
- package/lib/types/components/input/ToggleInput.d.ts +1 -1
- package/lib/types/components/input/ToggleInput.d.ts.map +1 -1
- package/lib/types/components/input/index.d.ts +1 -1
- package/lib/types/components/input/index.d.ts.map +1 -1
- package/lib/types/components/tag/TagIcon.d.ts +1 -1
- package/lib/types/components/tag/TagIcon.d.ts.map +1 -1
- package/lib/types/hooks/useThemedStyles.d.ts +5 -5
- package/lib/types/hooks/useThemedStyles.d.ts.map +1 -1
- package/lib/types/icons/base.d.ts +11 -0
- package/lib/types/icons/base.d.ts.map +1 -0
- package/lib/types/icons/index.d.ts +4 -0
- package/lib/types/icons/index.d.ts.map +1 -0
- package/lib/types/icons/octicons.d.ts +2 -0
- package/lib/types/icons/octicons.d.ts.map +1 -0
- package/lib/types/icons/stars/StarBorder.d.ts +4 -0
- package/lib/types/icons/stars/StarBorder.d.ts.map +1 -0
- package/lib/types/icons/stars/StarFull.d.ts +4 -0
- package/lib/types/icons/stars/StarFull.d.ts.map +1 -0
- package/lib/types/icons/stars/StarHalf.d.ts +4 -0
- package/lib/types/icons/stars/StarHalf.d.ts.map +1 -0
- package/lib/types/icons/stars/index.d.ts +4 -0
- package/lib/types/icons/stars/index.d.ts.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/providers/ThemeProvider.d.ts +2 -2
- package/lib/types/providers/ThemeProvider.d.ts.map +1 -1
- package/lib/types/theme/icons.d.ts +3458 -19
- package/lib/types/theme/icons.d.ts.map +1 -1
- package/lib/types/theme/index.d.ts +1 -1
- package/lib/types/theme/index.d.ts.map +1 -1
- package/package.json +15 -2
- package/lib/assets/StarIcon.js +0 -1
- package/lib/assets/index.js +0 -1
- package/lib/types/assets/StarIcon.d.ts +0 -11
- package/lib/types/assets/StarIcon.d.ts.map +0 -1
- package/lib/types/assets/index.d.ts +0 -2
- package/lib/types/assets/index.d.ts.map +0 -1
|
@@ -19,5 +19,5 @@ export interface IconActionProps extends Omit<IconActionBaseProps, "style"> {
|
|
|
19
19
|
variant?: IconActionVariant;
|
|
20
20
|
style?: DeepPartial<IconActionStyles>;
|
|
21
21
|
}
|
|
22
|
-
export declare const IconAction: <G extends string>(props: IconActionProps & import("
|
|
22
|
+
export declare const IconAction: <G extends string>(props: IconActionProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
23
23
|
//# sourceMappingURL=IconAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconAction.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,
|
|
1
|
+
{"version":3,"file":"IconAction.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,KAAK,qBAAqB,EAAY,MAAM,SAAS,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE;QACF,KAAK,EAAE;aACF,OAAO,IAAI,iBAAiB,GAAG,qBAAqB,CAAC,OAAO,CAAC;SACjE,CAAC;KACL,CAAC;IACF,IAAI,EAAE;QACF,KAAK,EAAE;aACF,OAAO,IAAI,iBAAiB,GAAG,qBAAqB,CAAC,OAAO,CAAC;SACjE,CAAC;KACL,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACvE,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,UAAU,8GActB,CAAC"}
|
|
@@ -16,5 +16,5 @@ export interface IconActionBaseProps extends Pick<ActionProps, "onPress" | "disa
|
|
|
16
16
|
iconPosition?: "left" | "right";
|
|
17
17
|
style?: DeepPartial<IconActionBaseStyles>;
|
|
18
18
|
}
|
|
19
|
-
export declare const IconActionBase: <G extends string>(props: IconActionBaseProps & import("
|
|
19
|
+
export declare const IconActionBase: <G extends string>(props: IconActionBaseProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
20
20
|
//# sourceMappingURL=IconActionBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconActionBase.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconActionBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,
|
|
1
|
+
{"version":3,"file":"IconActionBase.d.ts","sourceRoot":"","sources":["../../../../src/components/action/IconActionBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAmB,KAAK,qBAAqB,EAAY,MAAM,SAAS,CAAC;AAChF,OAAO,EAAmB,KAAK,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,oBAAoB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE;QACF,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,IAAI,EAAE;QACF,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;KACzC,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,mBACb,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,cAAc,kHAiD1B,CAAC"}
|
|
@@ -16,5 +16,5 @@ export interface IconButtonProps extends Pick<IconButtonBaseProps, "onPress" | "
|
|
|
16
16
|
style?: DeepPartial<IconButtonStyles>;
|
|
17
17
|
onPress?: () => void;
|
|
18
18
|
}
|
|
19
|
-
export declare const IconButton: <G extends string>(props: IconButtonProps & import("
|
|
19
|
+
export declare const IconButton: <G extends string>(props: IconButtonProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
20
20
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,KAAK,qBAAqB,EAAY,MAAM,SAAS,CAAC;AAC/D,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,EAAE,MAAM,CACnB,iBAAiB,EACjB,oBAAoB,CAAC,WAAW,CAAC,CAAC,iBAAiB,CAAC,CACvD,CAAC;KACL,CAAC;IACF,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC,iBAAiB,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;KACpE,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,eACb,SAAQ,IAAI,CACR,mBAAmB,EACnB,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAC5C;IACD,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,8GAsBtB,CAAC"}
|
|
@@ -15,5 +15,5 @@ export interface IconButtonBaseProps extends Pick<ButtonBaseProps, "onPress" | "
|
|
|
15
15
|
style?: DeepPartial<IconButtonBaseStyles>;
|
|
16
16
|
onPress?: () => void;
|
|
17
17
|
}
|
|
18
|
-
export declare const IconButtonBase: <G extends string>(props: IconButtonBaseProps & import("
|
|
18
|
+
export declare const IconButtonBase: <G extends string>(props: IconButtonBaseProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
19
19
|
//# sourceMappingURL=IconButtonBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonBase.d.ts","sourceRoot":"","sources":["../../../../src/components/button/IconButtonBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButtonBase.d.ts","sourceRoot":"","sources":["../../../../src/components/button/IconButtonBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAAmB,KAAK,qBAAqB,EAAY,MAAM,SAAS,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEtE,MAAM,MAAM,oBAAoB,GAAG;IAC/B,SAAS,EAAE;QACP,IAAI,EAAE,cAAc,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;QAC/C,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;KACxD,CAAC;IACF,IAAI,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,mBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;IACxE,KAAK,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,kHA+C1B,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type IconBaseProps<G extends string> = IconComponentProps<G> & {
|
|
|
9
9
|
style?: DeepPartial<IconBaseStyles>;
|
|
10
10
|
};
|
|
11
11
|
export declare const IconBase: {
|
|
12
|
-
<G extends string>({ style, iconName, iconSet:
|
|
12
|
+
<G extends string>({ style, iconName, iconSet: IconSet, }: IconBaseProps<G>): import("react").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=IconBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/IconBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG;IAClE,KAAK,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ;KAAI,CAAC,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/IconBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG;IAClE,KAAK,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,QAAQ;KAAI,CAAC,SAAS,MAAM,0CAItC,aAAa,CAAC,CAAC,CAAC;;CAMlB,CAAC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
iconSet?: never;
|
|
6
|
-
iconName: OcticonsIconName;
|
|
7
|
-
}
|
|
8
|
-
export interface IconBaseCustomProps<G extends string> {
|
|
9
|
-
iconSet: IconComponent<Record<G, number | string>>;
|
|
2
|
+
import type { IconSet } from "../../icons";
|
|
3
|
+
export interface IconComponentProps<G extends string> {
|
|
4
|
+
iconSet: IconSet<G>;
|
|
10
5
|
iconName: G;
|
|
11
6
|
}
|
|
12
|
-
export
|
|
13
|
-
export declare const componentWithIcon: <P extends object>(component: <G extends string>(props: P & IconComponentProps<G>) => ReactNode) => <G extends string>(props: P & IconComponentProps<G>) => ReactNode;
|
|
7
|
+
export declare const withIcon: <P extends object>(component: <G extends string>(props: P & IconComponentProps<G>) => ReactNode) => <G extends string>(props: P & IconComponentProps<G>) => ReactNode;
|
|
14
8
|
//# sourceMappingURL=componentWithIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentWithIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/componentWithIcon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"componentWithIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/componentWithIcon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM;IAChD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,QAAQ,EAAE,CAAC,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,MAAM,EACrC,WAAW,CAAC,CAAC,SAAS,MAAM,EACxB,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAC/B,SAAS,MAFF,CAAC,SAAS,MAAM,SACjB,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAC/B,SACK,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type IconComponentProps, withIcon, } from "./componentWithIcon";
|
|
2
2
|
export { Icon, type IconProps, type IconStyles } from "./Icon";
|
|
3
3
|
export { IconBase, type IconBaseProps, type IconBaseStyles } from "./IconBase";
|
|
4
4
|
export { InteractiveIcon, type InteractiveIconProps, type InteractiveIconStyles, } from "./InteractiveIcon";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,kBAAkB,EACvB,QAAQ,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC/E,OAAO,EACH,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC7B,MAAM,mBAAmB,CAAC"}
|
|
@@ -6,15 +6,15 @@ export type { ButtonBaseProps, ButtonBaseStyles, ButtonProps, ButtonStyles, Icon
|
|
|
6
6
|
export { Button, ButtonBase, IconButton, IconButtonBase, } from "./button";
|
|
7
7
|
export type { CollapsibleContainerProps, FloatingContainerProps, FloatingContainerStyles, FormContainerProps, SwipeableContainerProps, } from "./container";
|
|
8
8
|
export { CollapsibleContainer, FloatingContainer, FormContainer, SwipeableContainer, } from "./container";
|
|
9
|
-
export type {
|
|
10
|
-
export { Icon, IconBase, } from "./icon";
|
|
11
|
-
export type { CounterInputIcons, CounterInputProps, DropdownInputProps, DropdownInputStyles, FractionValue, InputActionProps, InputActionStyles, InputBaseProps, InputBaseStyles, InputScaffoldIcons, InputScaffoldProps, InputScaffoldStyles, NumberInputIcons, NumberInputProps, NumberInputValue, NumberValue, RangeValue, RatingInputProps, RatingInputStyles, SelectionInputIcons, SelectionInputProps, SelectionInputStyles, TextInputProps, TextInputStyles, TimeInputIcons, TimeInputProps, TimeInputValue, ToggleInputIcons, ToggleInputProps, ToggleInputStyles, } from "./input";
|
|
9
|
+
export type { IconBaseProps, IconBaseStyles, IconComponentProps, IconProps, IconStyles, InteractiveIconStyles, } from "./icon";
|
|
10
|
+
export { Icon, IconBase, withIcon, } from "./icon";
|
|
11
|
+
export type { CounterInputIcons, CounterInputProps, DropdownInputProps, DropdownInputStyles, FractionValue, InputActionProps, InputActionStyles, InputBaseProps, InputBaseStyles, InputScaffoldIcons, InputScaffoldProps, InputScaffoldStyles, NumberInputIcons, NumberInputProps, NumberInputValue, NumberValue, RangeValue, RatingInputIcons, RatingInputProps, RatingInputStyles, SelectionInputIcons, SelectionInputProps, SelectionInputStyles, TextInputProps, TextInputStyles, TimeInputIcons, TimeInputProps, TimeInputValue, ToggleInputIcons, ToggleInputProps, ToggleInputStyles, } from "./input";
|
|
12
12
|
export { CounterInput, DropdownInput, DropdownInputBase, InputAction, InputBase, InputScaffold, NumberInput, RatingInput, SelectionInput, TextInput, TimeInput, ToggleInput, } from "./input";
|
|
13
13
|
export { ListItem, ListItemAlert, ListItemAvatar, ListItemFooter, type ListItemProps, ListItemRow, type ListItemStyles, } from "./listItem";
|
|
14
14
|
export type { MenuItemProps, MenuItemStyles, MenuProps, MenuStyles, } from "./menu";
|
|
15
15
|
export { Menu, MenuItem, } from "./menu";
|
|
16
16
|
export { Panel, type PanelProps } from "./Panel";
|
|
17
|
-
export { getRatingIcons, Rating, type RatingProps, type RatingStyles, ratingToValue, valueToRating, } from "./Rating";
|
|
17
|
+
export { getRatingIcons, Rating, type RatingIcons, type RatingProps, type RatingStyles, ratingToValue, valueToRating, } from "./Rating";
|
|
18
18
|
export { SwipeAction, type SwipeActionProps, type SwipeActionStyles, } from "./SwipeAction";
|
|
19
19
|
export { Toast, type ToastProps, type ToastStyles } from "./Toast";
|
|
20
20
|
export { Tag, TagIcon, type TagProps, type TagStyles } from "./tag";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,YAAY,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACR,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACR,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,GAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACrB,MAAM,aAAa,CAAC;AACrB,YAAY,EACR,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,YAAY,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACR,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACR,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,GAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACrB,MAAM,aAAa,CAAC;AACrB,YAAY,EACR,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,qBAAqB,GACxB,MAAM,QAAQ,CAAC;AAChB,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C;AACvB,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,YAAY,EACR,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,SAAS,EACT,UAAU,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,eAAe,EACf,IAAI,GACP,MAAM,QAAQ,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { type NumberInputBaseProps } from "./NumberInputBase";
|
|
|
5
5
|
export type CounterInputIcons = ComponentIconAssets<"decrease" | "increase">;
|
|
6
6
|
export interface CounterInputProps extends Omit<NumberInputBaseProps, "style" | "inputStyle">, Pick<InputScaffoldProps, "label" | "helpText" | "mandatory" | "hasError" | "containerStyle"> {
|
|
7
7
|
disableKeyboardInput?: boolean;
|
|
8
|
+
interval?: number;
|
|
8
9
|
}
|
|
9
10
|
export declare const CounterInput: FC<CounterInputProps>;
|
|
10
11
|
//# sourceMappingURL=CounterInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CounterInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/CounterInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,UAAU,GAAG,UAAU,CAAC,CAAC;AAE7E,MAAM,WAAW,iBACb,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,YAAY,CAAC,EACtD,IAAI,CACA,kBAAkB,EAClB,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,gBAAgB,CACrE;IACL,oBAAoB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CounterInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/CounterInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,UAAU,GAAG,UAAU,CAAC,CAAC;AAE7E,MAAM,WAAW,iBACb,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,YAAY,CAAC,EACtD,IAAI,CACA,kBAAkB,EAClB,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,gBAAgB,CACrE;IACL,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA+E9C,CAAC"}
|
|
@@ -5,5 +5,5 @@ export interface InputActionStyles {
|
|
|
5
5
|
}
|
|
6
6
|
export interface InputActionProps extends Pick<IconActionBaseProps, "onPress" | "disabled" | "containerStyle">, Pick<InputBaseProps, "variant"> {
|
|
7
7
|
}
|
|
8
|
-
export declare const InputAction: <G extends string>(props: InputActionProps & import("
|
|
8
|
+
export declare const InputAction: <G extends string>(props: InputActionProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
9
9
|
//# sourceMappingURL=InputAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputAction.d.ts","sourceRoot":"","sources":["../../../../src/components/input/InputAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC5B,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,gBACb,SAAQ,IAAI,CACJ,mBAAmB,EACnB,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAC5C,EACD,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC;CAAG;AAE1C,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"InputAction.d.ts","sourceRoot":"","sources":["../../../../src/components/input/InputAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC5B,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,gBACb,SAAQ,IAAI,CACJ,mBAAmB,EACnB,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAC5C,EACD,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC;CAAG;AAE1C,eAAO,MAAM,WAAW,+GAsBvB,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type FC } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import type { ComponentIconAssets } from "../../theme";
|
|
3
|
+
import { type RatingIconVariant, type RatingProps } from "../Rating";
|
|
3
4
|
import type { InputBaseProps } from "./InputBase";
|
|
4
5
|
import { type InputScaffoldProps } from "./InputScaffold";
|
|
5
6
|
export type RatingInputStyles = null;
|
|
6
|
-
export
|
|
7
|
+
export type RatingInputIcons = ComponentIconAssets<RatingIconVariant>;
|
|
8
|
+
export interface RatingInputProps extends Pick<InputScaffoldProps, "label" | "helpText" | "mandatory" | "hasError" | "containerStyle">, Pick<InputBaseProps, "disabled" | "variant">, Pick<RatingProps, "max" | "value" | "scale"> {
|
|
7
9
|
/**
|
|
8
10
|
* Change listener that gets called when rating changes.
|
|
9
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RatingInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/RatingInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,EAAE,EAKV,MAAM,OAAO,CAAC;AAIf,OAAO,
|
|
1
|
+
{"version":3,"file":"RatingInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/RatingInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,EAAE,EAKV,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAGnB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAErC,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;AAEtE,MAAM,WAAW,gBACb,SAAQ,IAAI,CACJ,kBAAkB,EAClB,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,gBAAgB,CACrE,EACD,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,SAAS,CAAC,EAC5C,IAAI,CAAC,WAAW,EAAE,KAAK,GAAG,OAAO,GAAG,OAAO,CAAC;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AASD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqI5C,CAAC"}
|
|
@@ -25,6 +25,6 @@ export interface ToggleInputProps extends Pick<InputScaffoldProps, "helpText" |
|
|
|
25
25
|
styles?: DeepPartial<ToggleInputStyles>;
|
|
26
26
|
onChange: (value: boolean) => void;
|
|
27
27
|
}
|
|
28
|
-
export declare const ToggleInput: <G extends string>(props: ToggleInputProps & import("
|
|
28
|
+
export declare const ToggleInput: <G extends string>(props: ToggleInputProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
29
29
|
export {};
|
|
30
30
|
//# sourceMappingURL=ToggleInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ToggleInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,
|
|
1
|
+
{"version":3,"file":"ToggleInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ToggleInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAmB,KAAK,qBAAqB,EAAY,MAAM,SAAS,CAAC;AAEhF,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,KAAK,aAAa,GAAG,SAAS,GAAG,WAAW,CAAC;AAE7C,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,SAAS,EAAE;QACP,IAAI,EAAE;aAAG,IAAI,IAAI,YAAY,GAAG,MAAM;SAAE,CAAC;QACzC,KAAK,EAAE;YACH,UAAU,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;YAC3C,QAAQ,EAAE,MAAM,CAAC,aAAa,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;SACnE,CAAC;KACL,CAAC;IACF,KAAK,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;CACL,CAAC;AAEF,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,OAAO,GAAG,gBAAgB,CAAC,EACrE,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,UAAU,CAAC;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACxC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,WAAW,+GAoFvB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export type { InputScaffoldIcons, InputScaffoldProps, InputScaffoldStyles, } fro
|
|
|
11
11
|
export { InputScaffold } from "./InputScaffold";
|
|
12
12
|
export type { FractionValue, NumberInputIcons, NumberInputProps, NumberInputValue, NumberValue, RangeValue, } from "./NumberInput";
|
|
13
13
|
export { NumberInput } from "./NumberInput";
|
|
14
|
-
export type { RatingInputProps, RatingInputStyles } from "./RatingInput";
|
|
14
|
+
export type { RatingInputIcons, RatingInputProps, RatingInputStyles, } from "./RatingInput";
|
|
15
15
|
export { RatingInput } from "./RatingInput";
|
|
16
16
|
export type { SelectionInputIcons, SelectionInputProps, SelectionInputStyles, } from "./SelectionInput";
|
|
17
17
|
export { SelectionInput } from "./SelectionInput";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACR,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACH,iBAAiB,EACjB,KAAK,sBAAsB,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACR,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACR,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACR,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACR,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,O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export declare const TagIcon: <G extends string>(props: object & import("
|
|
1
|
+
export declare const TagIcon: <G extends string>(props: object & import("..").IconComponentProps<G>) => import("react").ReactNode;
|
|
2
2
|
//# sourceMappingURL=TagIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/tag/TagIcon.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"TagIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/tag/TagIcon.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,qGAYlB,CAAC"}
|
|
@@ -2,16 +2,16 @@ import type { ThemeContextDefinition as ThemedStyles } from "../providers";
|
|
|
2
2
|
import { type Icons, type StyleOverrides, type Styles } from "../theme";
|
|
3
3
|
export type { ThemedStyles };
|
|
4
4
|
type StyleOnlyKey = keyof Styles;
|
|
5
|
-
type IconOnlyKey = keyof Icons
|
|
5
|
+
type IconOnlyKey = keyof Icons;
|
|
6
6
|
type ComponentKey = StyleOnlyKey | IconOnlyKey;
|
|
7
7
|
type ComponentRegistry = {
|
|
8
|
-
[K in keyof Styles | keyof Icons
|
|
8
|
+
[K in keyof Styles | keyof Icons]: K extends keyof Styles ? K extends keyof Icons ? {
|
|
9
9
|
style: Styles[K];
|
|
10
|
-
icons: Icons
|
|
10
|
+
icons: Icons[K];
|
|
11
11
|
} : {
|
|
12
12
|
style: Styles[K];
|
|
13
|
-
} : K extends keyof Icons
|
|
14
|
-
icons: Icons
|
|
13
|
+
} : K extends keyof Icons ? {
|
|
14
|
+
icons: Icons[K];
|
|
15
15
|
} : never;
|
|
16
16
|
};
|
|
17
17
|
type StyleResult<C extends keyof ComponentRegistry> = ComponentRegistry[C];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThemedStyles.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedStyles.tsx"],"names":[],"mappings":"AAGA,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cAAc,WASxD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import type { ColorValue } from "react-native";
|
|
3
|
+
export type IconSetItemProps = {
|
|
4
|
+
size: number;
|
|
5
|
+
color: ColorValue;
|
|
6
|
+
};
|
|
7
|
+
export type IconSet<G extends string> = FC<{
|
|
8
|
+
name: G;
|
|
9
|
+
} & IconSetItemProps & object>;
|
|
10
|
+
export type IconSetGlyphMap<T extends string> = Record<T, FC<IconSetItemProps>>;
|
|
11
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/icons/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,MAAM,IAAI,EAAE,CACtC;IACI,IAAI,EAAE,CAAC,CAAC;CACX,GAAG,gBAAgB,GAChB,MAAM,CACb,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"octicons.d.ts","sourceRoot":"","sources":["../../../src/icons/octicons.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,QAAQ,EACR,KAAK,gBAAgB,GACxB,MAAM,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarBorder.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/StarBorder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAO3C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarFull.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/StarFull.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CASzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarHalf.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/StarHalf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAQzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/stars/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;AAKxD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAQtD,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,aAAa,CAKxC,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export type { ValueItem } from "./common";
|
|
3
3
|
export * from "./components";
|
|
4
4
|
export { type ThemedStyles, useTheme, useThemedStylesExternal as useThemedStyles, } from "./hooks";
|
|
5
|
+
export { type IconSet, Stars, type StarsIconName, } from "./icons";
|
|
5
6
|
export * from "./providers";
|
|
6
7
|
export * from "./theme";
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,6HAA6H;AAC7H,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,OAAO,EACH,KAAK,YAAY,EACjB,QAAQ,EACR,uBAAuB,IAAI,eAAe,GAC7C,MAAM,SAAS,CAAC;AACjB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,6HAA6H;AAC7H,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,OAAO,EACH,KAAK,YAAY,EACjB,QAAQ,EACR,uBAAuB,IAAI,eAAe,GAC7C,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,EACL,KAAK,aAAa,GACrB,MAAM,SAAS,CAAC;AACjB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -4,13 +4,13 @@ import { type Icons, type Styles, type Theme } from "../theme";
|
|
|
4
4
|
export interface ThemeContextDefinition {
|
|
5
5
|
theme: Theme;
|
|
6
6
|
styles: Styles;
|
|
7
|
-
icons: Icons
|
|
7
|
+
icons: Icons;
|
|
8
8
|
}
|
|
9
9
|
export declare const ThemeContext: import("react").Context<ThemeContextDefinition>;
|
|
10
10
|
interface ThemeProviderProps {
|
|
11
11
|
theme?: DeepPartial<Theme>;
|
|
12
12
|
styles?: Styles;
|
|
13
|
-
icons?: Icons
|
|
13
|
+
icons?: Icons;
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
}
|
|
16
16
|
export declare const ThemeProvider: FC<ThemeProviderProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAIH,KAAK,KAAK,EAEV,KAAK,MAAM,EACX,KAAK,KAAK,EACb,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAIH,KAAK,KAAK,EAEV,KAAK,MAAM,EACX,KAAK,KAAK,EACb,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CAChB;AAED,eAAO,MAAM,YAAY,iDAIvB,CAAC;AAEH,UAAU,kBAAkB;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAehD,CAAC"}
|