@utilitywarehouse/hearth-react-native 0.35.6 → 0.35.7
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FlexAlignType, ViewProps, ViewStyle } from 'react-native';
|
|
2
|
-
import { DisplayProps, FlexLayoutProps, GapProps, MarginProps, PaddingProps, SpacingValues } from '../../types';
|
|
3
|
-
interface FlexProps extends ViewProps, MarginProps, PaddingProps, FlexLayoutProps, GapProps, Omit<DisplayProps, 'direction'> {
|
|
2
|
+
import { DisplayProps, FlexLayoutProps, GapProps, MarginProps, PaddingProps, SizeProps, SpacingValues } from '../../types';
|
|
3
|
+
interface FlexProps extends ViewProps, MarginProps, PaddingProps, FlexLayoutProps, GapProps, Pick<SizeProps, 'width'>, Omit<DisplayProps, 'direction'> {
|
|
4
4
|
direction?: ViewStyle['flexDirection'];
|
|
5
5
|
align?: FlexAlignType;
|
|
6
6
|
justify?: ViewStyle['justifyContent'];
|
|
@@ -282,7 +282,7 @@ export interface IconColorProps {
|
|
|
282
282
|
* Common text styling props shared across text components (BodyText, Heading, DetailText).
|
|
283
283
|
* Includes margin utility props, simplified semantic text color, and standard text style props.
|
|
284
284
|
*/
|
|
285
|
-
export interface CommonTextProps extends RNTextProps, MarginProps {
|
|
285
|
+
export interface CommonTextProps extends RNTextProps, MarginProps, Pick<FlexLayoutProps, 'flexShrink'> {
|
|
286
286
|
/** Whether to truncate text with an ellipsis. */
|
|
287
287
|
truncated?: boolean;
|
|
288
288
|
/** Whether to show strikethrough text. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utilitywarehouse/hearth-react-native",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.7",
|
|
4
4
|
"description": "Utility Warehouse React Native UI library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"vite": "^7.1.3",
|
|
79
79
|
"vite-plugin-svgr": "^4.5.0",
|
|
80
80
|
"vitest": "^4.1.7",
|
|
81
|
-
"@utilitywarehouse/hearth-
|
|
81
|
+
"@utilitywarehouse/hearth-react-native-icons": "^0.9.0",
|
|
82
82
|
"@utilitywarehouse/hearth-react-icons": "^0.9.0",
|
|
83
83
|
"@utilitywarehouse/hearth-fonts": "^0.1.1",
|
|
84
|
-
"@utilitywarehouse/hearth-
|
|
85
|
-
"@utilitywarehouse/hearth-
|
|
86
|
-
"@utilitywarehouse/hearth-
|
|
84
|
+
"@utilitywarehouse/hearth-storybook-utils": "0.0.0",
|
|
85
|
+
"@utilitywarehouse/hearth-svg-assets": "^0.6.5",
|
|
86
|
+
"@utilitywarehouse/hearth-tokens": "^0.4.4"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"@gorhom/bottom-sheet": ">=5.0.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Hearth React Native
|
|
2
2
|
|
|
3
3
|
React Native component library for building UIs at Utility Warehouse.<br/>
|
|
4
|
-
Current version: v0.35.
|
|
4
|
+
Current version: v0.35.7
|
|
5
5
|
|
|
6
6
|
Hearth React Native is a comprehensive design system library for React Native, providing reusable components, consistent styling, and tools to streamline UI development. It is built to enhance productivity and maintain design consistency across projects.
|
|
7
7
|
|