@yahoo/uds 2.10.0 → 2.10.1

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.
@@ -11,7 +11,7 @@ interface ButtonProps extends HtmlButtonProps$2, UniversalButtonProps {
11
11
  /**
12
12
  * **🖲️ A button element that can be used to trigger an action**
13
13
  *
14
- * @type Client component
14
+ * @componentType Client component
15
15
  *
16
16
  * @description
17
17
  * A button is a fundamental component used to trigger an action or event. Buttons are interactive elements that users can click, tap, or otherwise engage
@@ -48,7 +48,7 @@ interface IconButtonProps extends HtmlButtonProps$1, UniversalIconButtonProps {
48
48
  /**
49
49
  * **⚙️️ An icon button element that can be used to trigger an action**
50
50
  *
51
- * @type Client component
51
+ * @componentType Client component
52
52
  *
53
53
  * @description
54
54
  * An icon button is essentially an interactive icon. They should be used to
@@ -83,7 +83,7 @@ interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
83
83
  /**
84
84
  * **🖲️ A primitive component for creating button interactions with accessibility support**
85
85
  *
86
- * @type Client component
86
+ * @componentType Client component
87
87
  *
88
88
  * @description
89
89
  * The Pressable component is a primitive component that can be used
@@ -126,7 +126,7 @@ interface SpringMotionConfigProps extends Pick<MotionConfigProps, 'children' | '
126
126
  /**
127
127
  * **🎬 Spring Motion Config to define motion animations for all UDS components**
128
128
  *
129
- * @type Client component
129
+ * @componentType Client component
130
130
  *
131
131
  * @description
132
132
  * The SpringConfig component provides a way to configure the spring animations for the entire application.
@@ -11,7 +11,7 @@ interface ButtonProps extends HtmlButtonProps$2, UniversalButtonProps {
11
11
  /**
12
12
  * **🖲️ A button element that can be used to trigger an action**
13
13
  *
14
- * @type Client component
14
+ * @componentType Client component
15
15
  *
16
16
  * @description
17
17
  * A button is a fundamental component used to trigger an action or event. Buttons are interactive elements that users can click, tap, or otherwise engage
@@ -48,7 +48,7 @@ interface IconButtonProps extends HtmlButtonProps$1, UniversalIconButtonProps {
48
48
  /**
49
49
  * **⚙️️ An icon button element that can be used to trigger an action**
50
50
  *
51
- * @type Client component
51
+ * @componentType Client component
52
52
  *
53
53
  * @description
54
54
  * An icon button is essentially an interactive icon. They should be used to
@@ -83,7 +83,7 @@ interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
83
83
  /**
84
84
  * **🖲️ A primitive component for creating button interactions with accessibility support**
85
85
  *
86
- * @type Client component
86
+ * @componentType Client component
87
87
  *
88
88
  * @description
89
89
  * The Pressable component is a primitive component that can be used
@@ -126,7 +126,7 @@ interface SpringMotionConfigProps extends Pick<MotionConfigProps, 'children' | '
126
126
  /**
127
127
  * **🎬 Spring Motion Config to define motion animations for all UDS components**
128
128
  *
129
- * @type Client component
129
+ * @componentType Client component
130
130
  *
131
131
  * @description
132
132
  * The SpringConfig component provides a way to configure the spring animations for the entire application.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "2.10.0",
4
+ "version": "2.10.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"
@@ -1,14 +0,0 @@
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
- }