@yahoo/uds 2.4.1 → 2.4.2
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.
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Button, cx, HStack, Text } from '@yahoo/uds';
|
2
|
+
const textClassName = cx('text-primary');
|
3
|
+
const otherProps = { height: 'fit' };
|
4
|
+
|
5
|
+
export const PageA = () => {
|
6
|
+
return (
|
7
|
+
<HStack className="w-full max-h-screen">
|
8
|
+
<Button className="min-w-full">Click me</Button>
|
9
|
+
{/* 🙏 TODO: Add w-10/12 to your className attribute */}
|
10
|
+
<Text className={textClassName}>Some text</Text>
|
11
|
+
<Text {...otherProps}>Some text</Text>
|
12
|
+
</HStack>
|
13
|
+
);
|
14
|
+
}
|
Binary file
|
package/cli/bin/uds-linux-arm64
CHANGED
Binary file
|
Binary file
|
package/cli/utils/auth.ts
CHANGED
@@ -51,7 +51,7 @@ function isYahooEmployee(user?: User) {
|
|
51
51
|
*/
|
52
52
|
async function authenticateUser(): Promise<User> {
|
53
53
|
// Fetch firebase user data from the configurator.
|
54
|
-
const email = await getGitEmail(
|
54
|
+
const email = await getGitEmail();
|
55
55
|
const resp = await Bun.fetch(`https://config.uds.build/api/cli-analytics?email=${email}`);
|
56
56
|
if (resp.status !== 200) {
|
57
57
|
throw new Error(`Failed to fetch firebase user data from endpoint. Status ${resp.status}`);
|