@yahoo/uds 3.5.0-beta.1 → 3.5.0-beta.3

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.
Files changed (77) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-linux-arm64 +0 -0
  3. package/cli/bin/uds-linux-x64-baseline +0 -0
  4. package/dist/Input-DUqLl6jE.d.cts +42 -0
  5. package/dist/Input-Ur-Ht_GL.d.ts +42 -0
  6. package/dist/Menu-DR13-K-l.d.cts +662 -0
  7. package/dist/Menu-OM1LtJ1C.d.ts +662 -0
  8. package/dist/{VStack-CmraVolm.d.ts → VStack-cakCiiUo.d.cts} +2 -40
  9. package/dist/{VStack-dT3EJCu4.d.cts → VStack-vuPYMALn.d.ts} +2 -40
  10. package/dist/analytics/server.cjs +1 -1
  11. package/dist/analytics/server.js +1 -1
  12. package/dist/chunk-4NOF6FBP.cjs +3 -0
  13. package/dist/chunk-4VV7ZPAB.js +1 -0
  14. package/dist/chunk-6A3VCKKL.cjs +1 -0
  15. package/dist/chunk-EDYPTXZP.js +2 -0
  16. package/dist/chunk-N6WXVEVH.cjs +2 -0
  17. package/dist/chunk-R37JGXS5.js +3 -0
  18. package/dist/chunk-T52MLTTM.js +3 -0
  19. package/dist/client/Menu.cjs +2 -0
  20. package/dist/client/Menu.d.cts +10 -0
  21. package/dist/client/Menu.d.ts +10 -0
  22. package/dist/client/Menu.js +2 -0
  23. package/dist/client/index.cjs +1 -2
  24. package/dist/client/index.d.cts +12 -664
  25. package/dist/client/index.d.ts +12 -664
  26. package/dist/client/index.js +2 -3
  27. package/dist/experimental/client/index.js +1 -2
  28. package/dist/experimental/index.cjs +1 -1
  29. package/dist/experimental/index.js +1 -2
  30. package/dist/flags.cjs +2 -1
  31. package/dist/flags.js +2 -2
  32. package/dist/{index-BOfq14yW.d.ts → index-39whUqBE.d.ts} +1 -1
  33. package/dist/{index-D1poGuo1.d.cts → index-CFlpXsuC.d.cts} +1 -1
  34. package/dist/index.cjs +1 -1
  35. package/dist/index.d.cts +6 -5
  36. package/dist/index.d.ts +6 -5
  37. package/dist/index.js +1 -1
  38. package/dist/metafile-cjs.json +1 -1
  39. package/dist/metafile-esm.json +1 -1
  40. package/dist/motionFeatures-6LIGGXPL.cjs +1 -1
  41. package/dist/motionFeatures-SJISLQ4M.js +1 -1
  42. package/dist/tailwind/plugin.cjs +1 -1
  43. package/dist/tailwind/plugin.d.cts +1 -1
  44. package/dist/tailwind/plugin.d.ts +1 -1
  45. package/dist/tailwind/plugin.js +2 -2
  46. package/dist/tailwind/purger.cjs +1 -1
  47. package/dist/tailwind/purger.js +1 -1
  48. package/dist/tailwind/tsMorph.cjs +1 -1
  49. package/dist/tailwind/tsMorph.js +1 -1
  50. package/dist/tailwind/utils.cjs +1 -1
  51. package/dist/tailwind/utils.d.cts +1 -1
  52. package/dist/tailwind/utils.d.ts +1 -1
  53. package/dist/tailwind/utils.js +1 -1
  54. package/dist/tokens/automation/configs.cjs +1 -1
  55. package/dist/tokens/automation/configs.d.cts +2 -2
  56. package/dist/tokens/automation/configs.d.ts +2 -2
  57. package/dist/tokens/automation/configs.js +1 -1
  58. package/dist/tokens/automation/properties.cjs +1 -1
  59. package/dist/tokens/automation/properties.d.cts +2 -2
  60. package/dist/tokens/automation/properties.d.ts +2 -2
  61. package/dist/tokens/automation/properties.js +1 -1
  62. package/dist/tokens/index.cjs +1 -1
  63. package/dist/tokens/index.d.cts +4 -4
  64. package/dist/tokens/index.d.ts +4 -4
  65. package/dist/tokens/index.js +1 -1
  66. package/dist/tokens/parseTokens.cjs +1 -1
  67. package/dist/tokens/parseTokens.d.cts +1 -1
  68. package/dist/tokens/parseTokens.d.ts +1 -1
  69. package/dist/tokens/parseTokens.js +1 -1
  70. package/dist/{types-B_jakWRK.d.cts → types-TxDF_k0q.d.cts} +1 -1
  71. package/dist/{types-B_jakWRK.d.ts → types-TxDF_k0q.d.ts} +1 -1
  72. package/package.json +11 -1
  73. package/cli/FullWidthClassToProp.mock.tsx +0 -17
  74. package/dist/chunk-IQ4HRDIM.cjs +0 -3
  75. package/dist/chunk-KSHOOD3K.js +0 -3
  76. package/dist/styles/toast.d.cts +0 -2
  77. package/dist/styles/toast.d.ts +0 -2
Binary file
Binary file
Binary file
@@ -0,0 +1,42 @@
1
+ import * as react from 'react';
2
+ import { U as UniversalInputProps } from './types-TxDF_k0q.cjs';
3
+ import { HTMLMotionProps } from 'motion/react';
4
+
5
+ type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
6
+ type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
7
+ interface InputProps extends NativeInputProps, UniversalInputProps {
8
+ /** The type of the input element. Reduced set of options from the HTML input type attribute.
9
+ * @default 'text'
10
+ */
11
+ type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
12
+ }
13
+ /**
14
+ * **📦 An input that allows users to enter text and collect data.**
15
+ *
16
+ * @componentType Client component
17
+ *
18
+ * @description
19
+ * An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
20
+ *
21
+ * @see
22
+ * Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
23
+ *
24
+ * @usage
25
+ * - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
26
+ * - Search Bars: Allowing users to enter search queries to find content.
27
+ * - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
28
+ * - Feedback/Comments: Letting users leave reviews, comments, or feedback.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * 'use client';
33
+ * import { Input } from "@yahoo/uds";
34
+ *
35
+ * <Input label="Name" placeholder="Enter your name" required />
36
+ *```
37
+ *
38
+ * @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
39
+ **/
40
+ declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
41
+
42
+ export { type InputProps as I, Input as a };
@@ -0,0 +1,42 @@
1
+ import * as react from 'react';
2
+ import { U as UniversalInputProps } from './types-TxDF_k0q.js';
3
+ import { HTMLMotionProps } from 'motion/react';
4
+
5
+ type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
6
+ type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
7
+ interface InputProps extends NativeInputProps, UniversalInputProps {
8
+ /** The type of the input element. Reduced set of options from the HTML input type attribute.
9
+ * @default 'text'
10
+ */
11
+ type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
12
+ }
13
+ /**
14
+ * **📦 An input that allows users to enter text and collect data.**
15
+ *
16
+ * @componentType Client component
17
+ *
18
+ * @description
19
+ * An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
20
+ *
21
+ * @see
22
+ * Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
23
+ *
24
+ * @usage
25
+ * - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
26
+ * - Search Bars: Allowing users to enter search queries to find content.
27
+ * - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
28
+ * - Feedback/Comments: Letting users leave reviews, comments, or feedback.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * 'use client';
33
+ * import { Input } from "@yahoo/uds";
34
+ *
35
+ * <Input label="Name" placeholder="Enter your name" required />
36
+ *```
37
+ *
38
+ * @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
39
+ **/
40
+ declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
41
+
42
+ export { type InputProps as I, Input as a };