@yahoo/uds 0.1.19 → 0.1.20
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/cli/README.md +1 -1
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +3 -3
- package/dist/fixtures/index.d.ts +3 -3
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +54 -54
- package/dist/index.d.ts +54 -54
- package/dist/index.js +1 -1
- package/dist/{index.native-Ly3i1QBP.d.cts → index.native-C5-xv9Na.d.cts} +1 -1
- package/dist/{index.native-n_2cKXkV.d.ts → index.native-DqJv5EjY.d.ts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +4 -4
- package/dist/index.native.d.ts +4 -4
- package/dist/index.native.js +1 -1
- package/dist/styles/fonts.css +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +2 -1
- package/dist/tailwindPlugin.d.ts +2 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +1 -1
- package/dist/tailwindPurge.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.native.d.cts +1 -1
- package/dist/tokens/parseTokens.native.d.ts +1 -1
- package/dist/{types-4Vw-VSaq.d.cts → types-ZrxnB4cM.d.cts} +6 -35
- package/dist/{types-4Vw-VSaq.d.ts → types-ZrxnB4cM.d.ts} +6 -35
- package/fonts/yahoo-icons.woff2 +0 -0
- package/package.json +3 -4
- /package/dist/{types-3GXulqnG.d.cts → types-BO2kLynl.d.cts} +0 -0
- /package/dist/{types-3GXulqnG.d.ts → types-BO2kLynl.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, g as Elevation } from '../types-
|
|
1
|
+
import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, g as Elevation } from '../types-ZrxnB4cM.cjs';
|
|
2
2
|
import { ShadowStyleIOS } from 'react-native';
|
|
3
3
|
import 'react';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, g as Elevation } from '../types-
|
|
1
|
+
import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, g as Elevation } from '../types-ZrxnB4cM.js';
|
|
2
2
|
import { ShadowStyleIOS } from 'react-native';
|
|
3
3
|
import 'react';
|
|
4
4
|
|
|
@@ -103,45 +103,16 @@ type IconSizeConfig = {
|
|
|
103
103
|
type IconSize = keyof IconSizeConfig;
|
|
104
104
|
type AspectRatioConfig = Record<string, string>;
|
|
105
105
|
type AspectRatio = keyof AspectRatioConfig;
|
|
106
|
-
type
|
|
107
|
-
|
|
108
|
-
'1': number;
|
|
109
|
-
'2': number;
|
|
110
|
-
'3': number;
|
|
111
|
-
'4': number;
|
|
112
|
-
'5': number;
|
|
113
|
-
'6': number;
|
|
114
|
-
'7': number;
|
|
115
|
-
'8': number;
|
|
116
|
-
'9': number;
|
|
117
|
-
'10': number;
|
|
118
|
-
'11': number;
|
|
119
|
-
'12': number;
|
|
120
|
-
'13': number;
|
|
121
|
-
'14': number;
|
|
122
|
-
};
|
|
123
|
-
type SpacingAlias = keyof SpacingConfig;
|
|
106
|
+
type SpacingAlias = 'none' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14';
|
|
107
|
+
type SpacingConfig = Record<SpacingAlias, number>;
|
|
124
108
|
type ZIndex = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
|
|
125
109
|
type ZIndexConfig = Record<ZIndex, string>;
|
|
126
|
-
type
|
|
127
|
-
|
|
128
|
-
xs: number;
|
|
129
|
-
s: number;
|
|
130
|
-
m: number;
|
|
131
|
-
l: number;
|
|
132
|
-
xl: number;
|
|
133
|
-
full: number;
|
|
134
|
-
};
|
|
135
|
-
type BorderRadius = keyof BorderRadiusConfig;
|
|
110
|
+
type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
111
|
+
type BorderRadiusConfig = Record<BorderRadius, number>;
|
|
136
112
|
type Elevation = '1' | '2' | '3';
|
|
137
113
|
type ElevationConfig = Record<Elevation, BoxShadowConfig>;
|
|
138
|
-
type
|
|
139
|
-
|
|
140
|
-
thin: number;
|
|
141
|
-
medium: number;
|
|
142
|
-
thick: number;
|
|
143
|
-
};
|
|
144
|
-
type BorderWidth = keyof BorderWidthConfig;
|
|
114
|
+
type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
115
|
+
type BorderWidthConfig = Record<BorderWidth, number>;
|
|
145
116
|
type BoxShadowConfig = {
|
|
146
117
|
color: string;
|
|
147
118
|
offsetX: number;
|
|
@@ -103,45 +103,16 @@ type IconSizeConfig = {
|
|
|
103
103
|
type IconSize = keyof IconSizeConfig;
|
|
104
104
|
type AspectRatioConfig = Record<string, string>;
|
|
105
105
|
type AspectRatio = keyof AspectRatioConfig;
|
|
106
|
-
type
|
|
107
|
-
|
|
108
|
-
'1': number;
|
|
109
|
-
'2': number;
|
|
110
|
-
'3': number;
|
|
111
|
-
'4': number;
|
|
112
|
-
'5': number;
|
|
113
|
-
'6': number;
|
|
114
|
-
'7': number;
|
|
115
|
-
'8': number;
|
|
116
|
-
'9': number;
|
|
117
|
-
'10': number;
|
|
118
|
-
'11': number;
|
|
119
|
-
'12': number;
|
|
120
|
-
'13': number;
|
|
121
|
-
'14': number;
|
|
122
|
-
};
|
|
123
|
-
type SpacingAlias = keyof SpacingConfig;
|
|
106
|
+
type SpacingAlias = 'none' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14';
|
|
107
|
+
type SpacingConfig = Record<SpacingAlias, number>;
|
|
124
108
|
type ZIndex = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
|
|
125
109
|
type ZIndexConfig = Record<ZIndex, string>;
|
|
126
|
-
type
|
|
127
|
-
|
|
128
|
-
xs: number;
|
|
129
|
-
s: number;
|
|
130
|
-
m: number;
|
|
131
|
-
l: number;
|
|
132
|
-
xl: number;
|
|
133
|
-
full: number;
|
|
134
|
-
};
|
|
135
|
-
type BorderRadius = keyof BorderRadiusConfig;
|
|
110
|
+
type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
111
|
+
type BorderRadiusConfig = Record<BorderRadius, number>;
|
|
136
112
|
type Elevation = '1' | '2' | '3';
|
|
137
113
|
type ElevationConfig = Record<Elevation, BoxShadowConfig>;
|
|
138
|
-
type
|
|
139
|
-
|
|
140
|
-
thin: number;
|
|
141
|
-
medium: number;
|
|
142
|
-
thick: number;
|
|
143
|
-
};
|
|
144
|
-
type BorderWidth = keyof BorderWidthConfig;
|
|
114
|
+
type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
115
|
+
type BorderWidthConfig = Record<BorderWidth, number>;
|
|
145
116
|
type BoxShadowConfig = {
|
|
146
117
|
color: string;
|
|
147
118
|
offsetX: number;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds",
|
|
3
3
|
"description": "Yahoo Universal System",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.20",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"uds": "./cli/uds-cli"
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"build:fixtures": "bun run ./scripts/buildFixtures.ts",
|
|
101
101
|
"build:fontcss": "bun run ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
|
102
102
|
"build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
|
|
103
|
-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
103
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
|
|
104
104
|
"dev": "concurrently bun:dev:*",
|
|
105
105
|
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
|
106
106
|
"dev:fontcss": "bun run --watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
|
@@ -134,8 +134,7 @@
|
|
|
134
134
|
"concurrently": "^8.2.2",
|
|
135
135
|
"shared": "workspace:*",
|
|
136
136
|
"tsconfig": "workspace:*",
|
|
137
|
-
"tsup": "^8.0.1"
|
|
138
|
-
"tsx": "^4.7.0"
|
|
137
|
+
"tsup": "^8.0.1"
|
|
139
138
|
},
|
|
140
139
|
"peerDependencies": {
|
|
141
140
|
"@gorhom/bottom-sheet": "^4.6.0",
|
|
File without changes
|
|
File without changes
|