@butternutbox/pawprint-native 0.10.4 → 0.10.6
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs +236 -184
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -6
- package/dist/index.d.ts +17 -6
- package/dist/index.js +236 -185
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/Drawer/Drawer.stories.tsx +58 -0
- package/src/components/molecules/Drawer/Drawer.tsx +10 -3
- package/src/components/molecules/Drawer/index.ts +5 -1
- package/src/components/molecules/NumberField/NumberField.stories.tsx +19 -0
- package/src/components/molecules/NumberField/NumberField.tsx +14 -4
- package/src/components/molecules/NumberField/NumberFieldInput.tsx +11 -6
- package/src/components/molecules/ProductDisplayCard/ProductDisplayCard.stories.tsx +6 -15
- package/src/components/molecules/ProductDisplayCard/ProductDisplayCard.test.tsx +2 -3
- package/src/components/molecules/ProductDisplayCard/ProductDisplayCard.tsx +46 -12
- package/src/components/molecules/Radio/Radio.stories.tsx +64 -0
- package/src/components/molecules/Radio/Radio.tsx +10 -0
- package/src/components/molecules/Radio/RadioGroup.tsx +4 -2
- package/src/components/molecules/Radio/index.ts +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -907,12 +907,13 @@ type DrawerTriggerProps = {
|
|
|
907
907
|
};
|
|
908
908
|
type DrawerPortalProps = {
|
|
909
909
|
children: React.ReactNode;
|
|
910
|
+
topContent?: React.ReactNode;
|
|
910
911
|
};
|
|
911
912
|
declare const Drawer: React.ForwardRefExoticComponent<DrawerRootOwnProps & Omit<ViewProps, keyof DrawerRootOwnProps> & React.RefAttributes<View>> & {
|
|
912
913
|
Root: React.ForwardRefExoticComponent<DrawerRootOwnProps & Omit<ViewProps, keyof DrawerRootOwnProps> & React.RefAttributes<View>>;
|
|
913
914
|
Trigger: React.ForwardRefExoticComponent<DrawerTriggerProps & React.RefAttributes<View>>;
|
|
914
915
|
Portal: {
|
|
915
|
-
({ children }: DrawerPortalProps): react_jsx_runtime.JSX.Element | null;
|
|
916
|
+
({ children, topContent }: DrawerPortalProps): react_jsx_runtime.JSX.Element | null;
|
|
916
917
|
displayName: string;
|
|
917
918
|
};
|
|
918
919
|
Overlay: React.ForwardRefExoticComponent<DrawerOverlayProps & React.RefAttributes<View>>;
|
|
@@ -1134,6 +1135,7 @@ type NumberFieldSize$1 = "sm" | "lg";
|
|
|
1134
1135
|
type NumberFieldInputOwnProps = {
|
|
1135
1136
|
fieldSize?: NumberFieldSize$1;
|
|
1136
1137
|
state?: "default" | "error" | "success";
|
|
1138
|
+
fullWidth?: boolean;
|
|
1137
1139
|
onIncrement?: () => void;
|
|
1138
1140
|
onDecrement?: () => void;
|
|
1139
1141
|
showIncrementButton?: boolean;
|
|
@@ -1156,6 +1158,7 @@ type NumberFieldOwnProps = {
|
|
|
1156
1158
|
state?: NumberFieldState;
|
|
1157
1159
|
size?: NumberFieldSize;
|
|
1158
1160
|
disabled?: boolean;
|
|
1161
|
+
fullWidth?: boolean;
|
|
1159
1162
|
onIncrement?: () => void;
|
|
1160
1163
|
onDecrement?: () => void;
|
|
1161
1164
|
showIncrementButton?: boolean;
|
|
@@ -1178,6 +1181,7 @@ type NumberFieldProps = NumberFieldOwnProps & Omit<NumberFieldInputProps, keyof
|
|
|
1178
1181
|
* @param {string} [error] - Error message displayed when state is "error".
|
|
1179
1182
|
* @param {"default" | "error" | "success"} [state="default"] - Visual state of the field.
|
|
1180
1183
|
* @param {boolean} [disabled=false] - Whether the entire field (input + buttons) is disabled.
|
|
1184
|
+
* @param {boolean} [fullWidth=false] - Whether the field should expand to fill available width.
|
|
1181
1185
|
* @param {() => void} [onIncrement] - Called when the + button is pressed.
|
|
1182
1186
|
* @param {() => void} [onDecrement] - Called when the - button is pressed.
|
|
1183
1187
|
* @param {boolean} [showIncrementButton=true] - Whether to show the + button.
|
|
@@ -1194,6 +1198,7 @@ type NumberFieldProps = NumberFieldOwnProps & Omit<NumberFieldInputProps, keyof
|
|
|
1194
1198
|
* <NumberField
|
|
1195
1199
|
* label="Weight"
|
|
1196
1200
|
* size="lg"
|
|
1201
|
+
* fullWidth
|
|
1197
1202
|
* defaultValue="0"
|
|
1198
1203
|
* onIncrement={() => setValue(v => v + 1)}
|
|
1199
1204
|
* onDecrement={() => setValue(v => v - 1)}
|
|
@@ -1375,6 +1380,11 @@ type RadioProps = RadioOwnProps & Omit<PressableProps, keyof RadioOwnProps | "ch
|
|
|
1375
1380
|
* <Radio value="chicken" label="Chicken" subText="Tender & tasty" />
|
|
1376
1381
|
*/
|
|
1377
1382
|
declare const Radio: React.ForwardRefExoticComponent<RadioOwnProps & Omit<PressableProps, "children" | keyof RadioOwnProps> & React.RefAttributes<View>>;
|
|
1383
|
+
/**
|
|
1384
|
+
* RadioTile component for tile-variant radio buttons.
|
|
1385
|
+
* Convenience wrapper around Radio with variant="tile" preset.
|
|
1386
|
+
*/
|
|
1387
|
+
declare const RadioTile: React.ForwardRefExoticComponent<Omit<RadioProps, "variant"> & React.RefAttributes<View>>;
|
|
1378
1388
|
|
|
1379
1389
|
type RadioGroupOwnProps = {
|
|
1380
1390
|
name: string;
|
|
@@ -1388,6 +1398,7 @@ type RadioGroupOwnProps = {
|
|
|
1388
1398
|
type RadioGroupProps = RadioGroupOwnProps & Omit<ViewProps, keyof RadioGroupOwnProps>;
|
|
1389
1399
|
type RadioGroupComponent = React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<View>> & {
|
|
1390
1400
|
Radio: typeof Radio;
|
|
1401
|
+
Tile: typeof RadioTile;
|
|
1391
1402
|
};
|
|
1392
1403
|
declare const RadioGroup: RadioGroupComponent;
|
|
1393
1404
|
|
|
@@ -2090,7 +2101,7 @@ type ProductDisplayCardProps = ViewProps & {
|
|
|
2090
2101
|
onImagePress?: () => void;
|
|
2091
2102
|
banner?: string | React.ReactNode;
|
|
2092
2103
|
showBanner?: boolean;
|
|
2093
|
-
bannerType?: "error" | "
|
|
2104
|
+
bannerType?: "error" | "info" | "none";
|
|
2094
2105
|
showBannerIcon?: boolean;
|
|
2095
2106
|
};
|
|
2096
2107
|
/**
|
|
@@ -2117,8 +2128,8 @@ type ProductDisplayCardProps = ViewProps & {
|
|
|
2117
2128
|
* @param image - *(optional)* Image URL string or React element
|
|
2118
2129
|
* @param banner - *(optional)* Banner content string or React element to show below card
|
|
2119
2130
|
* @param showBanner - *(optional)* Show/hide banner
|
|
2120
|
-
* @param bannerType - *(optional)* Banner
|
|
2121
|
-
* @param showBannerIcon - *(optional)* Show/hide banner
|
|
2131
|
+
* @param bannerType - *(optional)* Banner variant: "error" (with icon), "info" (with icon), or "none" (no icon, default)
|
|
2132
|
+
* @param showBannerIcon - *(optional)* Show/hide icon in banner (default: true)
|
|
2122
2133
|
*/
|
|
2123
2134
|
declare const ProductDisplayCard: React.ForwardRefExoticComponent<ViewProps & {
|
|
2124
2135
|
title: string;
|
|
@@ -2138,7 +2149,7 @@ declare const ProductDisplayCard: React.ForwardRefExoticComponent<ViewProps & {
|
|
|
2138
2149
|
onImagePress?: () => void;
|
|
2139
2150
|
banner?: string | React.ReactNode;
|
|
2140
2151
|
showBanner?: boolean;
|
|
2141
|
-
bannerType?: "error" | "
|
|
2152
|
+
bannerType?: "error" | "info" | "none";
|
|
2142
2153
|
showBannerIcon?: boolean;
|
|
2143
2154
|
} & React.RefAttributes<View>>;
|
|
2144
2155
|
|
|
@@ -2215,4 +2226,4 @@ type TabNavigationComponent = React.ForwardRefExoticComponent<TabNavigationProps
|
|
|
2215
2226
|
};
|
|
2216
2227
|
declare const TabNavigation: TabNavigationComponent;
|
|
2217
2228
|
|
|
2218
|
-
export { Accordion, type AccordionItemProps, type AccordionProps, type AccordionSize, Animated, type AnimatedProps, type AnimatedVariant, Avatar, type AvatarFallbackType, type AvatarProps, type AvatarSize, BRAND_FONTS, Badge$1 as Badge, type BadgeProps, Button, type ButtonColour, ButtonDock, type ButtonDockProps, type ButtonDockVariant, ButtonGroup, type ButtonGroupLayout, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, CarouselControls, type CarouselControlsProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxVariant, CopyField, CopyFieldInput, type CopyFieldProps, Countdown, type CountdownLabels, type CountdownProps, type CountdownUnitLabel, type DateItemState, DatePicker, type DatePickerProps, Drawer, type DrawerBodyProps, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerGrabberProps, type DrawerHeaderProps, type DrawerHeaderVariant, type DrawerOverlayProps, type DrawerProps, type DrawerTitleProps, type DrawerTriggerProps, FilterTab, type FilterTabItemProps, type FilterTabProps, Hint, type HintProps, Icon, IconButton, type IconButtonColour, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconCategory, type IconColour, type IconProps, type IconSize, Illustration, type IllustrationProps, type IllustrationSize, Input, InputDescription, type InputDescriptionProps, InputError, type InputErrorProps, InputField, type InputFieldProps, InputLabel, type InputLabelProps, type InputProps, InputText, Link, type LinkProps, type LinkSize, type LinkWeight, Logo, type LogoBrand, type LogoProps, type LogoSvgComponent, type LogoVariant, MessageCard, MessageCardBanner, type MessageCardBannerMedia, type MessageCardBannerProps, MessageCardInsight, type MessageCardInsightProps, NativeSelectPicker, type NativeSelectPickerItem, type NativeSelectPickerProps, Notification, type NotificationProps, NumberField, type NumberFieldProps, NumberInput, NumberInputField, type NumberInputFieldProps, type NumberInputProps, PasswordField, PasswordFieldInput, type PasswordFieldProps, PasswordFieldRequirements, type PasswordFieldRequirementsProps, type PasswordRequirement, type PasswordValidationRule, type PawprintIcon, type PawprintIllustration$2 as PawprintIllustration, PawprintProvider, type PawprintProviderProps, PictureSelector, type PictureSelectorItem, type PictureSelectorProps, ProductDisplayCard, type ProductDisplayCardProps, ProductListingCardWithBadgeAndGrid as ProductListingCard, type ProductListingCardProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioOwnProps, type RadioProps, SearchField, SearchFieldInput, type SearchFieldProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectField, SelectFieldContent, SelectFieldItem, type SelectFieldItemProps, type SelectFieldProps, SelectFieldTrigger, type SelectFieldTriggerProps, SelectFieldValue, type SelectValidationRule, Slider, type SliderProps, Spinner, type SpinnerProps, type SpinnerSize, type SpinnerVariant, Switch, type SwitchProps, TabNavigation, type TabNavigationListProps, type TabNavigationPanelProps, type TabNavigationProps, type TabNavigationTabProps, Tag, type TagProps, TextArea, TextAreaField, type TextAreaFieldProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, ThemeProvider, Tooltip, type TooltipProps, Typography, type TypographyProps, createPawprintTheme, fadeAnimation, fadeDownAnimation, fadeUpAnimation, registerLogo, resolveFont, resolveLogo, scaleAnimation, slideInAnimation, slideOutAnimation, theme, useCopyField, usePasswordField, usePawprint, useSearchField, useSelectField };
|
|
2229
|
+
export { Accordion, type AccordionItemProps, type AccordionProps, type AccordionSize, Animated, type AnimatedProps, type AnimatedVariant, Avatar, type AvatarFallbackType, type AvatarProps, type AvatarSize, BRAND_FONTS, Badge$1 as Badge, type BadgeProps, Button, type ButtonColour, ButtonDock, type ButtonDockProps, type ButtonDockVariant, ButtonGroup, type ButtonGroupLayout, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, CarouselControls, type CarouselControlsProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxVariant, CopyField, CopyFieldInput, type CopyFieldProps, Countdown, type CountdownLabels, type CountdownProps, type CountdownUnitLabel, type DateItemState, DatePicker, type DatePickerProps, Drawer, type DrawerBodyProps, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerGrabberProps, type DrawerHeaderProps, type DrawerHeaderVariant, type DrawerOverlayProps, type DrawerPortalProps, type DrawerProps, type DrawerTitleProps, type DrawerTriggerProps, FilterTab, type FilterTabItemProps, type FilterTabProps, Hint, type HintProps, Icon, IconButton, type IconButtonColour, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconCategory, type IconColour, type IconProps, type IconSize, Illustration, type IllustrationProps, type IllustrationSize, Input, InputDescription, type InputDescriptionProps, InputError, type InputErrorProps, InputField, type InputFieldProps, InputLabel, type InputLabelProps, type InputProps, InputText, Link, type LinkProps, type LinkSize, type LinkWeight, Logo, type LogoBrand, type LogoProps, type LogoSvgComponent, type LogoVariant, MessageCard, MessageCardBanner, type MessageCardBannerMedia, type MessageCardBannerProps, MessageCardInsight, type MessageCardInsightProps, NativeSelectPicker, type NativeSelectPickerItem, type NativeSelectPickerProps, Notification, type NotificationProps, NumberField, type NumberFieldProps, NumberInput, NumberInputField, type NumberInputFieldProps, type NumberInputProps, PasswordField, PasswordFieldInput, type PasswordFieldProps, PasswordFieldRequirements, type PasswordFieldRequirementsProps, type PasswordRequirement, type PasswordValidationRule, type PawprintIcon, type PawprintIllustration$2 as PawprintIllustration, PawprintProvider, type PawprintProviderProps, PictureSelector, type PictureSelectorItem, type PictureSelectorProps, ProductDisplayCard, type ProductDisplayCardProps, ProductListingCardWithBadgeAndGrid as ProductListingCard, type ProductListingCardProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioOwnProps, type RadioProps, RadioTile, SearchField, SearchFieldInput, type SearchFieldProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectField, SelectFieldContent, SelectFieldItem, type SelectFieldItemProps, type SelectFieldProps, SelectFieldTrigger, type SelectFieldTriggerProps, SelectFieldValue, type SelectValidationRule, Slider, type SliderProps, Spinner, type SpinnerProps, type SpinnerSize, type SpinnerVariant, Switch, type SwitchProps, TabNavigation, type TabNavigationListProps, type TabNavigationPanelProps, type TabNavigationProps, type TabNavigationTabProps, Tag, type TagProps, TextArea, TextAreaField, type TextAreaFieldProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, ThemeProvider, Tooltip, type TooltipProps, Typography, type TypographyProps, createPawprintTheme, fadeAnimation, fadeDownAnimation, fadeUpAnimation, registerLogo, resolveFont, resolveLogo, scaleAnimation, slideInAnimation, slideOutAnimation, theme, useCopyField, usePasswordField, usePawprint, useSearchField, useSelectField };
|
package/dist/index.d.ts
CHANGED
|
@@ -907,12 +907,13 @@ type DrawerTriggerProps = {
|
|
|
907
907
|
};
|
|
908
908
|
type DrawerPortalProps = {
|
|
909
909
|
children: React.ReactNode;
|
|
910
|
+
topContent?: React.ReactNode;
|
|
910
911
|
};
|
|
911
912
|
declare const Drawer: React.ForwardRefExoticComponent<DrawerRootOwnProps & Omit<ViewProps, keyof DrawerRootOwnProps> & React.RefAttributes<View>> & {
|
|
912
913
|
Root: React.ForwardRefExoticComponent<DrawerRootOwnProps & Omit<ViewProps, keyof DrawerRootOwnProps> & React.RefAttributes<View>>;
|
|
913
914
|
Trigger: React.ForwardRefExoticComponent<DrawerTriggerProps & React.RefAttributes<View>>;
|
|
914
915
|
Portal: {
|
|
915
|
-
({ children }: DrawerPortalProps): react_jsx_runtime.JSX.Element | null;
|
|
916
|
+
({ children, topContent }: DrawerPortalProps): react_jsx_runtime.JSX.Element | null;
|
|
916
917
|
displayName: string;
|
|
917
918
|
};
|
|
918
919
|
Overlay: React.ForwardRefExoticComponent<DrawerOverlayProps & React.RefAttributes<View>>;
|
|
@@ -1134,6 +1135,7 @@ type NumberFieldSize$1 = "sm" | "lg";
|
|
|
1134
1135
|
type NumberFieldInputOwnProps = {
|
|
1135
1136
|
fieldSize?: NumberFieldSize$1;
|
|
1136
1137
|
state?: "default" | "error" | "success";
|
|
1138
|
+
fullWidth?: boolean;
|
|
1137
1139
|
onIncrement?: () => void;
|
|
1138
1140
|
onDecrement?: () => void;
|
|
1139
1141
|
showIncrementButton?: boolean;
|
|
@@ -1156,6 +1158,7 @@ type NumberFieldOwnProps = {
|
|
|
1156
1158
|
state?: NumberFieldState;
|
|
1157
1159
|
size?: NumberFieldSize;
|
|
1158
1160
|
disabled?: boolean;
|
|
1161
|
+
fullWidth?: boolean;
|
|
1159
1162
|
onIncrement?: () => void;
|
|
1160
1163
|
onDecrement?: () => void;
|
|
1161
1164
|
showIncrementButton?: boolean;
|
|
@@ -1178,6 +1181,7 @@ type NumberFieldProps = NumberFieldOwnProps & Omit<NumberFieldInputProps, keyof
|
|
|
1178
1181
|
* @param {string} [error] - Error message displayed when state is "error".
|
|
1179
1182
|
* @param {"default" | "error" | "success"} [state="default"] - Visual state of the field.
|
|
1180
1183
|
* @param {boolean} [disabled=false] - Whether the entire field (input + buttons) is disabled.
|
|
1184
|
+
* @param {boolean} [fullWidth=false] - Whether the field should expand to fill available width.
|
|
1181
1185
|
* @param {() => void} [onIncrement] - Called when the + button is pressed.
|
|
1182
1186
|
* @param {() => void} [onDecrement] - Called when the - button is pressed.
|
|
1183
1187
|
* @param {boolean} [showIncrementButton=true] - Whether to show the + button.
|
|
@@ -1194,6 +1198,7 @@ type NumberFieldProps = NumberFieldOwnProps & Omit<NumberFieldInputProps, keyof
|
|
|
1194
1198
|
* <NumberField
|
|
1195
1199
|
* label="Weight"
|
|
1196
1200
|
* size="lg"
|
|
1201
|
+
* fullWidth
|
|
1197
1202
|
* defaultValue="0"
|
|
1198
1203
|
* onIncrement={() => setValue(v => v + 1)}
|
|
1199
1204
|
* onDecrement={() => setValue(v => v - 1)}
|
|
@@ -1375,6 +1380,11 @@ type RadioProps = RadioOwnProps & Omit<PressableProps, keyof RadioOwnProps | "ch
|
|
|
1375
1380
|
* <Radio value="chicken" label="Chicken" subText="Tender & tasty" />
|
|
1376
1381
|
*/
|
|
1377
1382
|
declare const Radio: React.ForwardRefExoticComponent<RadioOwnProps & Omit<PressableProps, "children" | keyof RadioOwnProps> & React.RefAttributes<View>>;
|
|
1383
|
+
/**
|
|
1384
|
+
* RadioTile component for tile-variant radio buttons.
|
|
1385
|
+
* Convenience wrapper around Radio with variant="tile" preset.
|
|
1386
|
+
*/
|
|
1387
|
+
declare const RadioTile: React.ForwardRefExoticComponent<Omit<RadioProps, "variant"> & React.RefAttributes<View>>;
|
|
1378
1388
|
|
|
1379
1389
|
type RadioGroupOwnProps = {
|
|
1380
1390
|
name: string;
|
|
@@ -1388,6 +1398,7 @@ type RadioGroupOwnProps = {
|
|
|
1388
1398
|
type RadioGroupProps = RadioGroupOwnProps & Omit<ViewProps, keyof RadioGroupOwnProps>;
|
|
1389
1399
|
type RadioGroupComponent = React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<View>> & {
|
|
1390
1400
|
Radio: typeof Radio;
|
|
1401
|
+
Tile: typeof RadioTile;
|
|
1391
1402
|
};
|
|
1392
1403
|
declare const RadioGroup: RadioGroupComponent;
|
|
1393
1404
|
|
|
@@ -2090,7 +2101,7 @@ type ProductDisplayCardProps = ViewProps & {
|
|
|
2090
2101
|
onImagePress?: () => void;
|
|
2091
2102
|
banner?: string | React.ReactNode;
|
|
2092
2103
|
showBanner?: boolean;
|
|
2093
|
-
bannerType?: "error" | "
|
|
2104
|
+
bannerType?: "error" | "info" | "none";
|
|
2094
2105
|
showBannerIcon?: boolean;
|
|
2095
2106
|
};
|
|
2096
2107
|
/**
|
|
@@ -2117,8 +2128,8 @@ type ProductDisplayCardProps = ViewProps & {
|
|
|
2117
2128
|
* @param image - *(optional)* Image URL string or React element
|
|
2118
2129
|
* @param banner - *(optional)* Banner content string or React element to show below card
|
|
2119
2130
|
* @param showBanner - *(optional)* Show/hide banner
|
|
2120
|
-
* @param bannerType - *(optional)* Banner
|
|
2121
|
-
* @param showBannerIcon - *(optional)* Show/hide banner
|
|
2131
|
+
* @param bannerType - *(optional)* Banner variant: "error" (with icon), "info" (with icon), or "none" (no icon, default)
|
|
2132
|
+
* @param showBannerIcon - *(optional)* Show/hide icon in banner (default: true)
|
|
2122
2133
|
*/
|
|
2123
2134
|
declare const ProductDisplayCard: React.ForwardRefExoticComponent<ViewProps & {
|
|
2124
2135
|
title: string;
|
|
@@ -2138,7 +2149,7 @@ declare const ProductDisplayCard: React.ForwardRefExoticComponent<ViewProps & {
|
|
|
2138
2149
|
onImagePress?: () => void;
|
|
2139
2150
|
banner?: string | React.ReactNode;
|
|
2140
2151
|
showBanner?: boolean;
|
|
2141
|
-
bannerType?: "error" | "
|
|
2152
|
+
bannerType?: "error" | "info" | "none";
|
|
2142
2153
|
showBannerIcon?: boolean;
|
|
2143
2154
|
} & React.RefAttributes<View>>;
|
|
2144
2155
|
|
|
@@ -2215,4 +2226,4 @@ type TabNavigationComponent = React.ForwardRefExoticComponent<TabNavigationProps
|
|
|
2215
2226
|
};
|
|
2216
2227
|
declare const TabNavigation: TabNavigationComponent;
|
|
2217
2228
|
|
|
2218
|
-
export { Accordion, type AccordionItemProps, type AccordionProps, type AccordionSize, Animated, type AnimatedProps, type AnimatedVariant, Avatar, type AvatarFallbackType, type AvatarProps, type AvatarSize, BRAND_FONTS, Badge$1 as Badge, type BadgeProps, Button, type ButtonColour, ButtonDock, type ButtonDockProps, type ButtonDockVariant, ButtonGroup, type ButtonGroupLayout, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, CarouselControls, type CarouselControlsProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxVariant, CopyField, CopyFieldInput, type CopyFieldProps, Countdown, type CountdownLabels, type CountdownProps, type CountdownUnitLabel, type DateItemState, DatePicker, type DatePickerProps, Drawer, type DrawerBodyProps, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerGrabberProps, type DrawerHeaderProps, type DrawerHeaderVariant, type DrawerOverlayProps, type DrawerProps, type DrawerTitleProps, type DrawerTriggerProps, FilterTab, type FilterTabItemProps, type FilterTabProps, Hint, type HintProps, Icon, IconButton, type IconButtonColour, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconCategory, type IconColour, type IconProps, type IconSize, Illustration, type IllustrationProps, type IllustrationSize, Input, InputDescription, type InputDescriptionProps, InputError, type InputErrorProps, InputField, type InputFieldProps, InputLabel, type InputLabelProps, type InputProps, InputText, Link, type LinkProps, type LinkSize, type LinkWeight, Logo, type LogoBrand, type LogoProps, type LogoSvgComponent, type LogoVariant, MessageCard, MessageCardBanner, type MessageCardBannerMedia, type MessageCardBannerProps, MessageCardInsight, type MessageCardInsightProps, NativeSelectPicker, type NativeSelectPickerItem, type NativeSelectPickerProps, Notification, type NotificationProps, NumberField, type NumberFieldProps, NumberInput, NumberInputField, type NumberInputFieldProps, type NumberInputProps, PasswordField, PasswordFieldInput, type PasswordFieldProps, PasswordFieldRequirements, type PasswordFieldRequirementsProps, type PasswordRequirement, type PasswordValidationRule, type PawprintIcon, type PawprintIllustration$2 as PawprintIllustration, PawprintProvider, type PawprintProviderProps, PictureSelector, type PictureSelectorItem, type PictureSelectorProps, ProductDisplayCard, type ProductDisplayCardProps, ProductListingCardWithBadgeAndGrid as ProductListingCard, type ProductListingCardProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioOwnProps, type RadioProps, SearchField, SearchFieldInput, type SearchFieldProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectField, SelectFieldContent, SelectFieldItem, type SelectFieldItemProps, type SelectFieldProps, SelectFieldTrigger, type SelectFieldTriggerProps, SelectFieldValue, type SelectValidationRule, Slider, type SliderProps, Spinner, type SpinnerProps, type SpinnerSize, type SpinnerVariant, Switch, type SwitchProps, TabNavigation, type TabNavigationListProps, type TabNavigationPanelProps, type TabNavigationProps, type TabNavigationTabProps, Tag, type TagProps, TextArea, TextAreaField, type TextAreaFieldProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, ThemeProvider, Tooltip, type TooltipProps, Typography, type TypographyProps, createPawprintTheme, fadeAnimation, fadeDownAnimation, fadeUpAnimation, registerLogo, resolveFont, resolveLogo, scaleAnimation, slideInAnimation, slideOutAnimation, theme, useCopyField, usePasswordField, usePawprint, useSearchField, useSelectField };
|
|
2229
|
+
export { Accordion, type AccordionItemProps, type AccordionProps, type AccordionSize, Animated, type AnimatedProps, type AnimatedVariant, Avatar, type AvatarFallbackType, type AvatarProps, type AvatarSize, BRAND_FONTS, Badge$1 as Badge, type BadgeProps, Button, type ButtonColour, ButtonDock, type ButtonDockProps, type ButtonDockVariant, ButtonGroup, type ButtonGroupLayout, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, CarouselControls, type CarouselControlsProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxVariant, CopyField, CopyFieldInput, type CopyFieldProps, Countdown, type CountdownLabels, type CountdownProps, type CountdownUnitLabel, type DateItemState, DatePicker, type DatePickerProps, Drawer, type DrawerBodyProps, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerGrabberProps, type DrawerHeaderProps, type DrawerHeaderVariant, type DrawerOverlayProps, type DrawerPortalProps, type DrawerProps, type DrawerTitleProps, type DrawerTriggerProps, FilterTab, type FilterTabItemProps, type FilterTabProps, Hint, type HintProps, Icon, IconButton, type IconButtonColour, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconCategory, type IconColour, type IconProps, type IconSize, Illustration, type IllustrationProps, type IllustrationSize, Input, InputDescription, type InputDescriptionProps, InputError, type InputErrorProps, InputField, type InputFieldProps, InputLabel, type InputLabelProps, type InputProps, InputText, Link, type LinkProps, type LinkSize, type LinkWeight, Logo, type LogoBrand, type LogoProps, type LogoSvgComponent, type LogoVariant, MessageCard, MessageCardBanner, type MessageCardBannerMedia, type MessageCardBannerProps, MessageCardInsight, type MessageCardInsightProps, NativeSelectPicker, type NativeSelectPickerItem, type NativeSelectPickerProps, Notification, type NotificationProps, NumberField, type NumberFieldProps, NumberInput, NumberInputField, type NumberInputFieldProps, type NumberInputProps, PasswordField, PasswordFieldInput, type PasswordFieldProps, PasswordFieldRequirements, type PasswordFieldRequirementsProps, type PasswordRequirement, type PasswordValidationRule, type PawprintIcon, type PawprintIllustration$2 as PawprintIllustration, PawprintProvider, type PawprintProviderProps, PictureSelector, type PictureSelectorItem, type PictureSelectorProps, ProductDisplayCard, type ProductDisplayCardProps, ProductListingCardWithBadgeAndGrid as ProductListingCard, type ProductListingCardProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioOwnProps, type RadioProps, RadioTile, SearchField, SearchFieldInput, type SearchFieldProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectField, SelectFieldContent, SelectFieldItem, type SelectFieldItemProps, type SelectFieldProps, SelectFieldTrigger, type SelectFieldTriggerProps, SelectFieldValue, type SelectValidationRule, Slider, type SliderProps, Spinner, type SpinnerProps, type SpinnerSize, type SpinnerVariant, Switch, type SwitchProps, TabNavigation, type TabNavigationListProps, type TabNavigationPanelProps, type TabNavigationProps, type TabNavigationTabProps, Tag, type TagProps, TextArea, TextAreaField, type TextAreaFieldProps, TextAreaLabel, type TextAreaLabelProps, type TextAreaProps, ThemeProvider, Tooltip, type TooltipProps, Typography, type TypographyProps, createPawprintTheme, fadeAnimation, fadeDownAnimation, fadeUpAnimation, registerLogo, resolveFont, resolveLogo, scaleAnimation, slideInAnimation, slideOutAnimation, theme, useCopyField, usePasswordField, usePawprint, useSearchField, useSelectField };
|