Skip to content

Commit

Permalink
getStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ilz5753 committed Dec 13, 2023
1 parent 190699a commit 89f5f08
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 41 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ilz5753/rnutils",
"version": "0.1.3",
"version": "0.1.4",
"description": "React Native Utils",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
10 changes: 5 additions & 5 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export {
useDimensionSizes,
useDimensionSizesStyle,
useNumberSizes,
useNumberSizesStyle
useNumberSizesStyle,
} from './dynamicStyles/reanimated';
export type {
CacheShareValue,
Expand All @@ -28,7 +28,7 @@ export type {
DerivedDimension,
DerivedNumber,
StrNum,
TWorkletFn
TWorkletFn,
} from './dynamicStyles/reanimated';
export {
Layout,
Expand All @@ -54,6 +54,7 @@ export {
full,
fw,
gap,
getStyle,
height,
isAndroid,
isIos,
Expand Down Expand Up @@ -89,13 +90,12 @@ export {
tintColor,
top,
width,
zIndex
zIndex,
} from './staticStyles/functions';
export type {
BorderOrSpace,
BorderRadius,
Shadow,
ShadowOffset,
StyleKey
StyleKey,
} from './staticStyles/functions';

1 change: 1 addition & 0 deletions src/staticStyles/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,3 +563,4 @@ export const pa = getStyle('pa');
export const overlay1 = [pa, zIndex(1)];
export const overlayMax = [pa, zIndex(10e12)];
export type { StyleKey };
export { getStyle };
70 changes: 35 additions & 35 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,41 @@ __metadata:
languageName: node
linkType: hard

"@ilz5753/rnutils@workspace:.":
version: 0.0.0-use.local
resolution: "@ilz5753/rnutils@workspace:."
dependencies:
"@babel/plugin-transform-export-namespace-from": ^7.23.4
"@commitlint/config-conventional": ^17.0.2
"@evilmartians/lefthook": ^1.5.0
"@react-native/eslint-config": ^0.72.2
"@release-it/conventional-changelog": ^5.0.0
"@types/jest": ^28.1.2
"@types/lodash": ^4.14.202
"@types/react": ~17.0.21
"@types/react-native": 0.70.0
cacache: ^18.0.1
commitlint: ^17.0.2
del-cli: ^5.0.0
eslint: ^8.4.1
eslint-config-prettier: ^8.5.0
eslint-plugin-prettier: ^4.0.0
jest: ^28.1.1
lodash: ^4.17.21
lru-cache: ^10.1.0
prettier: ^2.0.5
react: 18.2.0
react-native: 0.72.6
react-native-builder-bob: ^0.20.0
react-native-reanimated: 3.3.0
release-it: ^15.0.0
typescript: ^5.3.3
peerDependencies:
react: "*"
react-native: "*"
languageName: unknown
linkType: soft

"@isaacs/cliui@npm:^8.0.2":
version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2"
Expand Down Expand Up @@ -15490,41 +15525,6 @@ __metadata:
languageName: unknown
linkType: soft

"rnutils@workspace:.":
version: 0.0.0-use.local
resolution: "rnutils@workspace:."
dependencies:
"@babel/plugin-transform-export-namespace-from": ^7.23.4
"@commitlint/config-conventional": ^17.0.2
"@evilmartians/lefthook": ^1.5.0
"@react-native/eslint-config": ^0.72.2
"@release-it/conventional-changelog": ^5.0.0
"@types/jest": ^28.1.2
"@types/lodash": ^4.14.202
"@types/react": ~17.0.21
"@types/react-native": 0.70.0
cacache: ^18.0.1
commitlint: ^17.0.2
del-cli: ^5.0.0
eslint: ^8.4.1
eslint-config-prettier: ^8.5.0
eslint-plugin-prettier: ^4.0.0
jest: ^28.1.1
lodash: ^4.17.21
lru-cache: ^10.1.0
prettier: ^2.0.5
react: 18.2.0
react-native: 0.72.6
react-native-builder-bob: ^0.20.0
react-native-reanimated: 3.3.0
release-it: ^15.0.0
typescript: ^5.3.3
peerDependencies:
react: "*"
react-native: "*"
languageName: unknown
linkType: soft

"run-applescript@npm:^5.0.0":
version: 5.0.0
resolution: "run-applescript@npm:5.0.0"
Expand Down

0 comments on commit 89f5f08

Please sign in to comment.