@reillymc/react-native-components 0.11.10 → 0.11.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/input/dropdownInput/DropdownInput.styles.js +1 -1
- package/lib/components/swipe/SwipeAction.styles.js +1 -1
- package/lib/components/text/HighlightedText.js +1 -1
- package/lib/hooks/useThemedStyles.js +1 -1
- package/lib/icons/componentIconAssets.js +0 -0
- package/lib/icons/componentIcons.js +1 -0
- package/lib/providers/ThemeContext.js +1 -1
- package/lib/providers/ThemeProvider.js +1 -1
- package/lib/style/createThemedStyles.js +1 -0
- package/lib/style/index.js +1 -0
- package/lib/style/styleFactory.js +1 -0
- package/lib/{theme → style}/styles.js +1 -1
- package/lib/theme/index.js +1 -1
- package/lib/theme/theme.js +1 -1
- package/lib/types/components/action/Action.d.ts +1 -7
- package/lib/types/components/action/Action.d.ts.map +1 -1
- package/lib/types/components/action/Action.styles.d.ts +9 -3
- package/lib/types/components/action/Action.styles.d.ts.map +1 -1
- package/lib/types/components/action/IconAction.d.ts +2 -15
- package/lib/types/components/action/IconAction.d.ts.map +1 -1
- package/lib/types/components/action/IconAction.styles.d.ts +17 -3
- package/lib/types/components/action/IconAction.styles.d.ts.map +1 -1
- package/lib/types/components/action/IconActionBase.d.ts +2 -11
- package/lib/types/components/action/IconActionBase.d.ts.map +1 -1
- package/lib/types/components/action/IconActionBase.styles.d.ts +13 -3
- package/lib/types/components/action/IconActionBase.styles.d.ts.map +1 -1
- package/lib/types/components/action/index.d.ts +3 -3
- package/lib/types/components/action/index.d.ts.map +1 -1
- package/lib/types/components/alert/AlertIndicator.d.ts +2 -8
- package/lib/types/components/alert/AlertIndicator.d.ts.map +1 -1
- package/lib/types/components/alert/AlertIndicator.styles.d.ts +10 -3
- package/lib/types/components/alert/AlertIndicator.styles.d.ts.map +1 -1
- package/lib/types/components/alert/index.d.ts +1 -1
- package/lib/types/components/alert/index.d.ts.map +1 -1
- package/lib/types/components/avatar/Avatar.d.ts +2 -20
- package/lib/types/components/avatar/Avatar.d.ts.map +1 -1
- package/lib/types/components/avatar/Avatar.styles.d.ts +21 -3
- package/lib/types/components/avatar/Avatar.styles.d.ts.map +1 -1
- package/lib/types/components/avatar/index.d.ts +1 -1
- package/lib/types/components/avatar/index.d.ts.map +1 -1
- package/lib/types/components/button/Button.d.ts +2 -12
- package/lib/types/components/button/Button.d.ts.map +1 -1
- package/lib/types/components/button/Button.styles.d.ts +14 -3
- package/lib/types/components/button/Button.styles.d.ts.map +1 -1
- package/lib/types/components/button/ButtonBase.d.ts +1 -12
- package/lib/types/components/button/ButtonBase.d.ts.map +1 -1
- package/lib/types/components/button/ButtonBase.styles.d.ts +14 -3
- package/lib/types/components/button/ButtonBase.styles.d.ts.map +1 -1
- package/lib/types/components/button/IconButton.d.ts +3 -12
- package/lib/types/components/button/IconButton.d.ts.map +1 -1
- package/lib/types/components/button/IconButton.styles.d.ts +14 -3
- package/lib/types/components/button/IconButton.styles.d.ts.map +1 -1
- package/lib/types/components/button/IconButtonBase.d.ts +3 -12
- package/lib/types/components/button/IconButtonBase.d.ts.map +1 -1
- package/lib/types/components/button/IconButtonBase.styles.d.ts +14 -3
- package/lib/types/components/button/IconButtonBase.styles.d.ts.map +1 -1
- package/lib/types/components/button/index.d.ts +4 -4
- package/lib/types/components/button/index.d.ts.map +1 -1
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.d.ts +0 -3
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.d.ts.map +1 -1
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.styles.d.ts +5 -3
- package/lib/types/components/container/anchoredContainer/AnchoredContainer.styles.d.ts.map +1 -1
- package/lib/types/components/container/anchoredContainer/index.d.ts +1 -1
- package/lib/types/components/container/anchoredContainer/index.d.ts.map +1 -1
- package/lib/types/components/container/index.d.ts +1 -1
- package/lib/types/components/container/index.d.ts.map +1 -1
- package/lib/types/components/icon/Icon.d.ts +1 -6
- package/lib/types/components/icon/Icon.d.ts.map +1 -1
- package/lib/types/components/icon/Icon.styles.d.ts +8 -3
- package/lib/types/components/icon/Icon.styles.d.ts.map +1 -1
- package/lib/types/components/icon/IconBase.d.ts +1 -5
- package/lib/types/components/icon/IconBase.d.ts.map +1 -1
- package/lib/types/components/icon/IconBase.styles.d.ts +7 -3
- package/lib/types/components/icon/IconBase.styles.d.ts.map +1 -1
- package/lib/types/components/icon/IconComponentProps.d.ts +1 -1
- package/lib/types/components/icon/IconComponentProps.d.ts.map +1 -1
- package/lib/types/components/icon/InteractiveIcon.d.ts +1 -8
- package/lib/types/components/icon/InteractiveIcon.d.ts.map +1 -1
- package/lib/types/components/icon/InteractiveIcon.styles.d.ts +10 -3
- package/lib/types/components/icon/InteractiveIcon.styles.d.ts.map +1 -1
- package/lib/types/components/icon/index.d.ts +3 -3
- package/lib/types/components/icon/index.d.ts.map +1 -1
- package/lib/types/components/index.d.ts +15 -15
- package/lib/types/components/index.d.ts.map +1 -1
- package/lib/types/components/input/CounterInput.d.ts +1 -1
- package/lib/types/components/input/CounterInput.d.ts.map +1 -1
- package/lib/types/components/input/InputAction.d.ts +1 -4
- package/lib/types/components/input/InputAction.d.ts.map +1 -1
- package/lib/types/components/input/InputAction.styles.d.ts +6 -3
- package/lib/types/components/input/InputAction.styles.d.ts.map +1 -1
- package/lib/types/components/input/InputBase.d.ts +2 -17
- package/lib/types/components/input/InputBase.d.ts.map +1 -1
- package/lib/types/components/input/InputBase.styles.d.ts +19 -3
- package/lib/types/components/input/InputBase.styles.d.ts.map +1 -1
- package/lib/types/components/input/InputScaffold.d.ts +2 -11
- package/lib/types/components/input/InputScaffold.d.ts.map +1 -1
- package/lib/types/components/input/InputScaffold.styles.d.ts +12 -3
- package/lib/types/components/input/InputScaffold.styles.d.ts.map +1 -1
- package/lib/types/components/input/NumberInput.d.ts +1 -1
- package/lib/types/components/input/NumberInput.d.ts.map +1 -1
- package/lib/types/components/input/NumberInputBase.d.ts +0 -1
- package/lib/types/components/input/NumberInputBase.d.ts.map +1 -1
- package/lib/types/components/input/RatingInput.d.ts +1 -2
- package/lib/types/components/input/RatingInput.d.ts.map +1 -1
- package/lib/types/components/input/SelectionInput.d.ts +2 -13
- package/lib/types/components/input/SelectionInput.d.ts.map +1 -1
- package/lib/types/components/input/SelectionInput.styles.d.ts +14 -3
- package/lib/types/components/input/SelectionInput.styles.d.ts.map +1 -1
- package/lib/types/components/input/TextInput.d.ts +0 -1
- package/lib/types/components/input/TextInput.d.ts.map +1 -1
- package/lib/types/components/input/TimeInput.d.ts +1 -1
- package/lib/types/components/input/TimeInput.d.ts.map +1 -1
- package/lib/types/components/input/ToggleInput.d.ts +4 -19
- package/lib/types/components/input/ToggleInput.d.ts.map +1 -1
- package/lib/types/components/input/ToggleInput.styles.d.ts +19 -3
- package/lib/types/components/input/ToggleInput.styles.d.ts.map +1 -1
- package/lib/types/components/input/dropdownInput/DropdownInput.d.ts +0 -3
- package/lib/types/components/input/dropdownInput/DropdownInput.d.ts.map +1 -1
- package/lib/types/components/input/dropdownInput/DropdownInput.styles.d.ts +5 -3
- package/lib/types/components/input/dropdownInput/DropdownInput.styles.d.ts.map +1 -1
- package/lib/types/components/input/dropdownInput/index.d.ts +1 -1
- package/lib/types/components/input/dropdownInput/index.d.ts.map +1 -1
- package/lib/types/components/input/index.d.ts +8 -8
- package/lib/types/components/input/index.d.ts.map +1 -1
- package/lib/types/components/listItem/ListItem.d.ts +0 -7
- package/lib/types/components/listItem/ListItem.d.ts.map +1 -1
- package/lib/types/components/listItem/ListItem.styles.d.ts +9 -3
- package/lib/types/components/listItem/ListItem.styles.d.ts.map +1 -1
- package/lib/types/components/listItem/index.d.ts +1 -1
- package/lib/types/components/listItem/index.d.ts.map +1 -1
- package/lib/types/components/menu/Menu.d.ts +2 -9
- package/lib/types/components/menu/Menu.d.ts.map +1 -1
- package/lib/types/components/menu/Menu.styles.d.ts +11 -3
- package/lib/types/components/menu/Menu.styles.d.ts.map +1 -1
- package/lib/types/components/menu/MenuItem.d.ts +0 -5
- package/lib/types/components/menu/MenuItem.d.ts.map +1 -1
- package/lib/types/components/menu/MenuItem.styles.d.ts +7 -3
- package/lib/types/components/menu/MenuItem.styles.d.ts.map +1 -1
- package/lib/types/components/menu/index.d.ts +2 -2
- package/lib/types/components/menu/index.d.ts.map +1 -1
- package/lib/types/components/rating/Rating.d.ts +3 -9
- package/lib/types/components/rating/Rating.d.ts.map +1 -1
- package/lib/types/components/rating/Rating.styles.d.ts +11 -3
- package/lib/types/components/rating/Rating.styles.d.ts.map +1 -1
- package/lib/types/components/rating/index.d.ts +1 -1
- package/lib/types/components/rating/index.d.ts.map +1 -1
- package/lib/types/components/swipe/SwipeAction.d.ts +0 -3
- package/lib/types/components/swipe/SwipeAction.d.ts.map +1 -1
- package/lib/types/components/swipe/SwipeAction.styles.d.ts +5 -3
- package/lib/types/components/swipe/SwipeAction.styles.d.ts.map +1 -1
- package/lib/types/components/swipe/index.d.ts +1 -1
- package/lib/types/components/swipe/index.d.ts.map +1 -1
- package/lib/types/components/tag/Tag.d.ts +0 -5
- package/lib/types/components/tag/Tag.d.ts.map +1 -1
- package/lib/types/components/tag/Tag.styles.d.ts +7 -3
- package/lib/types/components/tag/Tag.styles.d.ts.map +1 -1
- package/lib/types/components/tag/index.d.ts +1 -1
- package/lib/types/components/tag/index.d.ts.map +1 -1
- package/lib/types/components/text/HighlightedText.d.ts +2 -5
- package/lib/types/components/text/HighlightedText.d.ts.map +1 -1
- package/lib/types/components/text/HighlightedText.styles.d.ts +7 -2
- package/lib/types/components/text/HighlightedText.styles.d.ts.map +1 -1
- package/lib/types/components/text/InteractiveText.d.ts +2 -7
- package/lib/types/components/text/InteractiveText.d.ts.map +1 -1
- package/lib/types/components/text/InteractiveText.styles.d.ts +9 -3
- package/lib/types/components/text/InteractiveText.styles.d.ts.map +1 -1
- package/lib/types/components/text/Text.d.ts +2 -12
- package/lib/types/components/text/Text.d.ts.map +1 -1
- package/lib/types/components/text/Text.styles.d.ts +14 -3
- package/lib/types/components/text/Text.styles.d.ts.map +1 -1
- package/lib/types/components/text/index.d.ts +3 -3
- package/lib/types/components/text/index.d.ts.map +1 -1
- package/lib/types/components/toast/Toast.d.ts +1 -8
- package/lib/types/components/toast/Toast.d.ts.map +1 -1
- package/lib/types/components/toast/Toast.styles.d.ts +10 -3
- package/lib/types/components/toast/Toast.styles.d.ts.map +1 -1
- package/lib/types/components/toast/index.d.ts +1 -1
- package/lib/types/components/toast/index.d.ts.map +1 -1
- package/lib/types/hooks/useTheme.d.ts +2 -2
- package/lib/types/hooks/useThemedStyles.d.ts +25 -23
- package/lib/types/hooks/useThemedStyles.d.ts.map +1 -1
- package/lib/types/icons/componentIconAssets.d.ts +2 -0
- package/lib/types/icons/componentIconAssets.d.ts.map +1 -0
- package/lib/types/{theme/icons.d.ts → icons/componentIcons.d.ts} +17 -18
- package/lib/types/icons/componentIcons.d.ts.map +1 -0
- package/lib/types/icons/index.d.ts +2 -0
- package/lib/types/icons/index.d.ts.map +1 -1
- package/lib/types/providers/ThemeContext.d.ts +5 -3
- package/lib/types/providers/ThemeContext.d.ts.map +1 -1
- package/lib/types/providers/ThemeProvider.d.ts +10 -5
- package/lib/types/providers/ThemeProvider.d.ts.map +1 -1
- package/lib/types/style/createThemedStyles.d.ts +5 -0
- package/lib/types/style/createThemedStyles.d.ts.map +1 -0
- package/lib/types/style/index.d.ts +4 -0
- package/lib/types/style/index.d.ts.map +1 -0
- package/lib/types/style/styleFactory.d.ts +3 -0
- package/lib/types/style/styleFactory.d.ts.map +1 -0
- package/lib/types/style/styles.d.ts +51 -0
- package/lib/types/style/styles.d.ts.map +1 -0
- package/lib/types/theme/index.d.ts +1 -3
- package/lib/types/theme/index.d.ts.map +1 -1
- package/lib/types/theme/theme.d.ts +1 -6
- package/lib/types/theme/theme.d.ts.map +1 -1
- package/package.json +5 -1
- package/lib/theme/icons.js +0 -1
- package/lib/types/theme/icons.d.ts.map +0 -1
- package/lib/types/theme/styles.d.ts +0 -58
- package/lib/types/theme/styles.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInputBase.d.ts","sourceRoot":"","sources":["../../../../src/components/input/NumberInputBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberInputBase.d.ts","sourceRoot":"","sources":["../../../../src/components/input/NumberInputBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAa7D,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IACxD,YAAY,CAAC,EAAE,aAAa,GAAG,YAAY,CAAC;IAE5C,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,GAAG,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;IAElC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAgBpD,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type FC } from "react";
|
|
2
|
-
import type { ComponentIconAssets } from "../../
|
|
2
|
+
import type { ComponentIconAssets } from "../../icons/componentIconAssets";
|
|
3
3
|
import { type RatingIconVariant, type RatingProps } from "../rating";
|
|
4
4
|
import type { InputBaseProps } from "./InputBase";
|
|
5
5
|
import { type InputScaffoldFieldProps } from "./InputScaffold";
|
|
6
|
-
export type RatingInputStyles = null;
|
|
7
6
|
export type RatingInputIcons = ComponentIconAssets<RatingIconVariant>;
|
|
8
7
|
export interface RatingInputProps extends InputScaffoldFieldProps, Pick<InputBaseProps, "disabled" | "variant">, Pick<RatingProps, "max" | "value" | "scale"> {
|
|
9
8
|
/**
|
|
@@ -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;AAaf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
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;AAaf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAGnB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;AAEtE,MAAM,WAAW,gBACb,SAAQ,uBAAuB,EAC3B,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;AAoCD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAyH5C,CAAC"}
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import { type ColorValue } from "react-native";
|
|
2
1
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
2
|
import type { ValueItem } from "../../common";
|
|
4
|
-
import type { ComponentIconAssets } from "../../
|
|
5
|
-
import { type InteractiveIconStyles } from "../icon";
|
|
3
|
+
import type { ComponentIconAssets } from "../../icons/componentIconAssets";
|
|
6
4
|
import type { InputBaseProps } from "./InputBase";
|
|
7
5
|
import { type InputScaffoldFieldProps } from "./InputScaffold";
|
|
8
|
-
|
|
9
|
-
export type SelectionInputStyles = {
|
|
10
|
-
container: {
|
|
11
|
-
backgroundColor: Record<SelectionInputState, ColorValue>;
|
|
12
|
-
};
|
|
13
|
-
selectionContainer: {
|
|
14
|
-
gap: number;
|
|
15
|
-
};
|
|
16
|
-
icon: Pick<InteractiveIconStyles, "color">;
|
|
17
|
-
};
|
|
6
|
+
import type { SelectionInputStyles } from "./SelectionInput.styles";
|
|
18
7
|
export type SelectionInputIcons = ComponentIconAssets<"showOptions">;
|
|
19
8
|
interface SingleSelection<T> {
|
|
20
9
|
selectionMode: "single";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SelectionInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectionInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SelectionInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAK3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAC;AAErE,UAAU,eAAe,CAAC,CAAC;IACvB,aAAa,EAAE,QAAQ,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;CACxB;AAED,UAAU,cAAc,CAAC,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/B;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,GACxE,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC;AAE/E,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CAC9C,cAAc,EACd,UAAU,GAAG,SAAS,CACzB,GACG,uBAAuB,GACvB,cAAc,CAAC,CAAC,CAAC,GAAG;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,CACP,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,KACpD,IAAI,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAKN,eAAO,MAAM,cAAc;KAAI,CAAC,+IAY7B,mBAAmB,CAAC,CAAC,CAAC;;CAkFxB,CAAC"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
3
|
+
import type { InteractiveIconStyles } from "../icon/InteractiveIcon.styles";
|
|
4
|
+
export type SelectionInputState = "enabled" | "disabled" | "pressed";
|
|
5
|
+
export type SelectionInputStyles = {
|
|
6
|
+
container: {
|
|
7
|
+
backgroundColor: Record<SelectionInputState, ColorValue>;
|
|
8
|
+
};
|
|
9
|
+
selectionContainer: {
|
|
10
|
+
gap: number;
|
|
11
|
+
};
|
|
12
|
+
icon: Pick<InteractiveIconStyles, "color">;
|
|
13
|
+
};
|
|
14
|
+
export declare const defaultSelectionInputStyles: StyleFactory<SelectionInputStyles>;
|
|
4
15
|
//# sourceMappingURL=SelectionInput.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SelectionInput.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SelectionInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/input/SelectionInput.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAI5E,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IAC/B,SAAS,EAAE;QACP,eAAe,EAAE,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC;KAC5D,CAAC;IACF,kBAAkB,EAAE;QAChB,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;IACF,IAAI,EAAE,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,YAAY,CAAC,oBAAoB,CAmB1E,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
2
|
import { type InputBaseProps } from "./InputBase";
|
|
3
3
|
import { type InputScaffoldFieldProps } from "./InputScaffold";
|
|
4
|
-
export type TextInputStyles = never;
|
|
5
4
|
export interface TextInputProps extends InputBaseProps, InputScaffoldFieldProps {
|
|
6
5
|
}
|
|
7
6
|
export declare const TextInput: FC<TextInputProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE9E,MAAM,
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE9E,MAAM,WAAW,cACb,SAAQ,cAAc,EAClB,uBAAuB;CAAG;AAElC,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAiBxC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from "react";
|
|
2
|
-
import type { ComponentIconAssets } from "../../
|
|
2
|
+
import type { ComponentIconAssets } from "../../icons/componentIconAssets";
|
|
3
3
|
import { type InputScaffoldFieldProps } from "./InputScaffold";
|
|
4
4
|
import { type NumberInputBaseProps } from "./NumberInputBase";
|
|
5
5
|
export type TimeInputValue = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAoB,MAAM,OAAO,CAAC;AAQlD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAoB,MAAM,OAAO,CAAC;AAQlD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAK3E,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAIhE,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,cACb,SAAQ,IAAI,CACJ,oBAAoB,EACpB,UAAU,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,SAAS,CACjE,EACD,uBAAuB;IAC3B,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IAEpC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAqHxC,CAAC"}
|
|
@@ -1,24 +1,10 @@
|
|
|
1
1
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
2
|
-
import type { ComponentIconAssets } from "../../
|
|
3
|
-
import { type IconComponentProps
|
|
4
|
-
import type { InputBaseProps
|
|
2
|
+
import type { ComponentIconAssets } from "../../icons/componentIconAssets";
|
|
3
|
+
import { type IconComponentProps } from "../icon";
|
|
4
|
+
import type { InputBaseProps } from "./InputBase";
|
|
5
5
|
import type { InputScaffoldFieldProps } from "./InputScaffold";
|
|
6
|
-
type ToggleVariant
|
|
6
|
+
import type { ToggleInputStyles, ToggleVariant } from "./ToggleInput.styles";
|
|
7
7
|
export type ToggleInputIcons = ComponentIconAssets<"outline">;
|
|
8
|
-
export type ToggleInputStyles = {
|
|
9
|
-
indicator: {
|
|
10
|
-
size: {
|
|
11
|
-
[Size in InputVariant]: number;
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
deselected: InteractiveIconStyles["color"];
|
|
15
|
-
selected: Record<ToggleVariant, InteractiveIconStyles["color"]>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
label: {
|
|
19
|
-
gap: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
8
|
export interface ToggleInputProps extends Pick<InputScaffoldFieldProps, "helpText" | "label" | "containerStyle">, Pick<InputBaseProps, "variant" | "disabled"> {
|
|
23
9
|
value?: boolean;
|
|
24
10
|
toggleVariant?: ToggleVariant;
|
|
@@ -26,5 +12,4 @@ export interface ToggleInputProps extends Pick<InputScaffoldFieldProps, "helpTex
|
|
|
26
12
|
onChange: (value: boolean) => void;
|
|
27
13
|
}
|
|
28
14
|
export declare const ToggleInput: <G extends string>({ label, helpText, value, toggleVariant, containerStyle, variant, disabled: disabledProp, style: styleOverrides, onChange, ...iconProps }: ToggleInputProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
29
|
-
export {};
|
|
30
15
|
//# 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,
|
|
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,iCAAiC,CAAC;AAE3E,OAAO,EAAE,KAAK,kBAAkB,EAAmB,MAAM,SAAS,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAE9D,MAAM,WAAW,gBACb,SAAQ,IAAI,CACJ,uBAAuB,EACvB,UAAU,GAAG,OAAO,GAAG,gBAAgB,CAC1C,EACD,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,UAAU,CAAC;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,2IAW3C,gBAAgB,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAiF1C,CAAC"}
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
1
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
2
|
+
import type { InteractiveIconStyles } from "../icon/InteractiveIcon.styles";
|
|
3
|
+
import type { InputVariant } from "./InputBase.styles";
|
|
4
|
+
export type ToggleVariant = "primary" | "secondary";
|
|
5
|
+
export type ToggleInputStyles = {
|
|
6
|
+
indicator: {
|
|
7
|
+
size: {
|
|
8
|
+
[Size in InputVariant]: number;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
deselected: InteractiveIconStyles["color"];
|
|
12
|
+
selected: Record<ToggleVariant, InteractiveIconStyles["color"]>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
gap: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const defaultToggleInputStyles: StyleFactory<ToggleInputStyles>;
|
|
4
20
|
//# sourceMappingURL=ToggleInput.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ToggleInput.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ToggleInput.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/input/ToggleInput.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,CAAC;AAEpD,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,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,iBAAiB,CA0BpE,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { type InputScaffoldFieldProps } from "../InputScaffold";
|
|
2
2
|
import { type DropdownInputBaseProps } from "./DropdownInputBase";
|
|
3
|
-
export interface DropdownInputStyles {
|
|
4
|
-
panelGap: number;
|
|
5
|
-
}
|
|
6
3
|
export type DropdownInputProps<T = string> = Pick<DropdownInputBaseProps<T>, "autoCapitalize" | "returnKeyType" | "returnKeyLabel" | "onBlur" | "placeholder" | "onChangeText" | "controllerRef" | "clearButtonMode" | "maxLength" | "onSubmitEditing" | "autoFocus" | "disabled" | "variant" | "items" | "value" | "defaultValue" | "onChange" | "openOnFocus" | "allowsCustomValue" | "blurOnSelect" | "filterItems" | "minimumSearchLength" | "maxSuggestionCount" | "maxContainerHeight" | "containerPosition" | "ref"> & InputScaffoldFieldProps;
|
|
7
4
|
export declare const DropdownInput: <T>({ label, helpText, hasError, mandatory, containerStyle, ...props }: DropdownInputProps<T>) => import("react").JSX.Element;
|
|
8
5
|
//# sourceMappingURL=DropdownInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/dropdownInput/DropdownInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAEH,KAAK,sBAAsB,EAC9B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,
|
|
1
|
+
{"version":3,"file":"DropdownInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/dropdownInput/DropdownInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAEH,KAAK,sBAAsB,EAC9B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,MAAM,IAAI,IAAI,CAC7C,sBAAsB,CAAC,CAAC,CAAC,EACvB,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,UAAU,GACV,SAAS,GACT,OAAO,GACP,OAAO,GACP,cAAc,GACd,UAAU,GACV,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,aAAa,GACb,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,GACpB,mBAAmB,GACnB,KAAK,CACV,GACG,uBAAuB,CAAC;AAC5B,eAAO,MAAM,aAAa,GAAI,CAAC,EAAG,oEAO/B,kBAAkB,CAAC,CAAC,CAAC,gCAUvB,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { StyleFactory } from "../../../style/styleFactory";
|
|
2
|
+
export interface DropdownInputStyles {
|
|
3
|
+
panelGap: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const defaultDropdownInputStyles: StyleFactory<DropdownInputStyles>;
|
|
4
6
|
//# sourceMappingURL=DropdownInput.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownInput.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/dropdownInput/DropdownInput.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"DropdownInput.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/dropdownInput/DropdownInput.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,WAAW,mBAAmB;IAChC,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,0BAA0B,EAAE,YAAY,CAAC,mBAAmB,CAIvE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { DropdownInputProps
|
|
1
|
+
export type { DropdownInputProps } from "./DropdownInput";
|
|
2
2
|
export { DropdownInput } from "./DropdownInput";
|
|
3
3
|
export { DropdownInputBase, type DropdownInputBaseProps, type DropdownInputHandle, type DropdownValue, } from "./DropdownInputBase";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/dropdownInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/dropdownInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACH,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,aAAa,GACrB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export type { CounterInputIcons, CounterInputProps } from "./CounterInput";
|
|
2
2
|
export { CounterInput } from "./CounterInput";
|
|
3
|
-
export { DropdownInput, type DropdownInputProps
|
|
4
|
-
export type { InputActionProps
|
|
3
|
+
export { DropdownInput, type DropdownInputProps } from "./dropdownInput";
|
|
4
|
+
export type { InputActionProps } from "./InputAction";
|
|
5
5
|
export { InputAction } from "./InputAction";
|
|
6
|
-
export type { InputBaseProps
|
|
6
|
+
export type { InputBaseProps } from "./InputBase";
|
|
7
7
|
export { InputBase } from "./InputBase";
|
|
8
8
|
export type { InputRowContainerProps } from "./InputRowContainer";
|
|
9
9
|
export { InputRowContainer } from "./InputRowContainer";
|
|
10
|
-
export type { InputScaffoldIcons, InputScaffoldProps
|
|
10
|
+
export type { InputScaffoldIcons, InputScaffoldProps } from "./InputScaffold";
|
|
11
11
|
export { InputScaffold } from "./InputScaffold";
|
|
12
12
|
export type { FractionValue, NumberInputIcons, NumberInputPlaceholders, NumberInputProps, NumberInputValue, NumberValue, RangeValue, } from "./NumberInput";
|
|
13
13
|
export { NumberInput } from "./NumberInput";
|
|
14
|
-
export type { RatingInputIcons, RatingInputProps
|
|
14
|
+
export type { RatingInputIcons, RatingInputProps } from "./RatingInput";
|
|
15
15
|
export { RatingInput } from "./RatingInput";
|
|
16
|
-
export type { SelectionInputIcons, SelectionInputProps,
|
|
16
|
+
export type { SelectionInputIcons, SelectionInputProps, } from "./SelectionInput";
|
|
17
17
|
export { SelectionInput } from "./SelectionInput";
|
|
18
|
-
export type { TextInputProps
|
|
18
|
+
export type { TextInputProps } from "./TextInput";
|
|
19
19
|
export { TextInput } from "./TextInput";
|
|
20
20
|
export type { TimeInputIcons, TimeInputPlaceholders, TimeInputProps, TimeInputValue, } from "./TimeInput";
|
|
21
21
|
export { TimeInput } from "./TimeInput";
|
|
22
|
-
export type { ToggleInputIcons, ToggleInputProps
|
|
22
|
+
export type { ToggleInputIcons, ToggleInputProps } from "./ToggleInput";
|
|
23
23
|
export { ToggleInput } from "./ToggleInput";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,OAAO,
|
|
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,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACR,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACR,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACR,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,cAAc,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -2,13 +2,6 @@ import type { FC, ReactNode } from "react";
|
|
|
2
2
|
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
3
|
import { type SwipeableContainerProps } from "../swipe";
|
|
4
4
|
type ListItemVariant = "default" | "compact";
|
|
5
|
-
export interface ListItemStyles {
|
|
6
|
-
spacingMargin: number;
|
|
7
|
-
internalSpacing: number;
|
|
8
|
-
borderRadius: number;
|
|
9
|
-
contentItemTopMargin: number;
|
|
10
|
-
contentItemSpacing: number;
|
|
11
|
-
}
|
|
12
5
|
export interface ListItemProps {
|
|
13
6
|
heading?: ReactNode;
|
|
14
7
|
header?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAG5E,KAAK,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7C,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAG5E,KAAK,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7C,MAAM,WAAW,aAAa;IAC1B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAE/B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,YAAY,CAAC,EAAE,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACvD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAID,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA6DtC,CAAC"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
2
|
+
export interface ListItemStyles {
|
|
3
|
+
spacingMargin: number;
|
|
4
|
+
internalSpacing: number;
|
|
5
|
+
borderRadius: number;
|
|
6
|
+
contentItemTopMargin: number;
|
|
7
|
+
contentItemSpacing: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const defaultListItemStyles: StyleFactory<ListItemStyles>;
|
|
4
10
|
//# sourceMappingURL=ListItem.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/ListItem.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ListItem.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/ListItem.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,cAAc,CAQ7D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ListItem, type ListItemProps
|
|
1
|
+
export { ListItem, type ListItemProps } from "./ListItem";
|
|
2
2
|
export { ListItemAlert, type ListItemAlertProps } from "./ListItemAlert";
|
|
3
3
|
export { ListItemAvatar, type ListItemAvatarProps } from "./ListItemAvatar";
|
|
4
4
|
export { ListItemFooter, type ListItemFooterProps } from "./ListItemFooter";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FlatListProps, type ListRenderItem } from "react-native";
|
|
2
2
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
3
|
-
|
|
4
|
-
parentMargin: number;
|
|
5
|
-
backgroundColor: ColorValue;
|
|
6
|
-
borderRadius: number;
|
|
7
|
-
padding: number;
|
|
8
|
-
gap: number;
|
|
9
|
-
maxHeight: number;
|
|
10
|
-
};
|
|
3
|
+
import type { MenuStyles } from "./Menu.styles";
|
|
11
4
|
export type MenuProps<T = unknown> = {
|
|
12
5
|
data: ReadonlyArray<T>;
|
|
13
6
|
renderItem: ListRenderItem<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,aAAa,EAClB,KAAK,cAAc,EAGtB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI;IACjC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACvB,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC9B,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACxC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAEhC;;;OAGG;IACH,SAAS,CAAC,EAAE,IAAI,CACZ,aAAa,CAAC,CAAC,CAAC,EACd,MAAM,GACN,YAAY,GACZ,cAAc,GACd,UAAU,GACV,YAAY,GACZ,OAAO,GACP,uBAAuB,GACvB,8BAA8B,CACnC,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,EAAG,2GAUtB,SAAS,CAAC,CAAC,CAAC,gCAwBd,CAAC"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
export
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
3
|
+
export type MenuStyles = {
|
|
4
|
+
parentMargin: number;
|
|
5
|
+
backgroundColor: ColorValue;
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
padding: number;
|
|
8
|
+
gap: number;
|
|
9
|
+
maxHeight: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const defaultMenuStyles: StyleFactory<MenuStyles>;
|
|
4
12
|
//# sourceMappingURL=Menu.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/Menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Menu.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/Menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,MAAM,MAAM,UAAU,GAAG;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,UAAU,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,UAAU,CAWtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,MAAM,
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAiCtC,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
2
|
+
export type MenuItemStyles = {
|
|
3
|
+
paddingHorizontal: number;
|
|
4
|
+
paddingVertical: number;
|
|
5
|
+
borderRadius: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const defaultMenuItemStyles: StyleFactory<MenuItemStyles>;
|
|
4
8
|
//# sourceMappingURL=MenuItem.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/MenuItem.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MenuItem.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/MenuItem.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,MAAM,MAAM,cAAc,GAAG;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,cAAc,CAS9D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { MenuProps
|
|
1
|
+
export type { MenuProps } from "./Menu";
|
|
2
2
|
export { Menu } from "./Menu";
|
|
3
|
-
export type { MenuItemProps
|
|
3
|
+
export type { MenuItemProps } from "./MenuItem";
|
|
4
4
|
export { MenuItem } from "./MenuItem";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
|
-
import { type
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
3
|
import type { DeepPartial } from "@reillymc/es-utils";
|
|
4
|
-
import type { ComponentIconAssets } from "../../
|
|
4
|
+
import type { ComponentIconAssets } from "../../icons/componentIconAssets";
|
|
5
|
+
import type { RatingStyles } from "./Rating.styles";
|
|
5
6
|
import { type RatingIconVariant } from "./ratingUtils";
|
|
6
7
|
export type RatingIcons = ComponentIconAssets<RatingIconVariant>;
|
|
7
|
-
export type RatingStyles = {
|
|
8
|
-
gap: number;
|
|
9
|
-
icon: {
|
|
10
|
-
size: number;
|
|
11
|
-
color: Record<RatingIconVariant, ColorValue>;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
8
|
export interface RatingProps {
|
|
15
9
|
/**
|
|
16
10
|
* Rating Value. Should be between 0 and `maxRating`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/Rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,
|
|
1
|
+
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/Rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAEH,KAAK,iBAAiB,EAEzB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;AAEjE,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAElC;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA6BlC,CAAC"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
1
|
+
import type { ColorValue } from "react-native";
|
|
2
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
3
|
+
import type { RatingIconVariant } from "./ratingUtils";
|
|
4
|
+
export type RatingStyles = {
|
|
5
|
+
gap: number;
|
|
6
|
+
icon: {
|
|
7
|
+
size: number;
|
|
8
|
+
color: Record<RatingIconVariant, ColorValue>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const defaultRatingStyles: StyleFactory<RatingStyles>;
|
|
4
12
|
//# sourceMappingURL=Rating.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/Rating.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Rating.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/Rating.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE;QACF,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;KAChD,CAAC;CACL,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,YAAY,CAUzD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Rating, type RatingIcons, type RatingProps
|
|
1
|
+
export { Rating, type RatingIcons, type RatingProps } from "./Rating";
|
|
2
2
|
export { getRatingIcons, type RatingIconVariant, ratingToValue, valueToRating, } from "./ratingUtils";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACtE,OAAO,EACH,cAAc,EACd,KAAK,iBAAiB,EACtB,aAAa,EACb,aAAa,GAChB,MAAM,eAAe,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { type IconButtonProps } from "../button";
|
|
2
2
|
import type { IconComponentProps } from "../icon";
|
|
3
|
-
export type SwipeActionStyles = {
|
|
4
|
-
width: number;
|
|
5
|
-
};
|
|
6
3
|
export interface SwipeActionProps extends Pick<IconButtonProps, "onPress" | "variant"> {
|
|
7
4
|
}
|
|
8
5
|
export declare const SwipeAction: <G extends string>(props: SwipeActionProps & IconComponentProps<G>) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeAction.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/SwipeAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,
|
|
1
|
+
{"version":3,"file":"SwipeAction.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/SwipeAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EACxC,OAAO,gBAAgB,GAAG,kBAAkB,CAAC,CAAC,CAAC,gCAIlD,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { StyleFactory } from "../../style/styleFactory";
|
|
2
|
+
export type SwipeActionStyles = {
|
|
3
|
+
width: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const defaultSwipeActionStyles: StyleFactory<SwipeActionStyles>;
|
|
4
6
|
//# sourceMappingURL=SwipeAction.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeAction.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/SwipeAction.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SwipeAction.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/SwipeAction.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAC/C,iBAAiB,CAGnB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { SwipeAction, type SwipeActionProps
|
|
1
|
+
export { SwipeAction, type SwipeActionProps } from "./SwipeAction";
|
|
2
2
|
export { SwipeableContainer, type SwipeableContainerProps, } from "./SwipeableContainer";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EACH,kBAAkB,EAClB,KAAK,uBAAuB,GAC/B,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { FC, ReactElement } from "react";
|
|
2
2
|
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
-
export interface TagStyles {
|
|
4
|
-
internalSpacing: number;
|
|
5
|
-
borderRadius: number;
|
|
6
|
-
padding: number;
|
|
7
|
-
}
|
|
8
3
|
export interface TagProps {
|
|
9
4
|
label?: string;
|
|
10
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,MAAM,WAAW,QAAQ;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAc5B,CAAC"}
|