@yahoo/uds 2.3.0 → 2.4.0

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 (51) 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/{chunk-DMMTEAJW.cjs → chunk-6URF5YHM.cjs} +1 -1
  5. package/dist/{chunk-ZV62SW5G.js → chunk-AJYO7N7R.js} +1 -1
  6. package/dist/{chunk-JGIKFUBH.cjs → chunk-D5NBUCDY.cjs} +1 -1
  7. package/dist/{chunk-PFT3UA6K.cjs → chunk-GIKZRY45.cjs} +1 -1
  8. package/dist/{chunk-YM5TKITI.js → chunk-GRZ5XQ3F.js} +1 -1
  9. package/dist/{chunk-P5B5IOMM.js → chunk-HNDH4G6I.js} +2 -2
  10. package/dist/{chunk-3PK6DOFO.js → chunk-QYZNWDRL.js} +2 -2
  11. package/dist/{chunk-YUHY3FXT.cjs → chunk-TNA4SFJT.cjs} +1 -1
  12. package/dist/client/index.cjs +1 -1
  13. package/dist/client/index.d.cts +4 -4
  14. package/dist/client/index.d.ts +4 -4
  15. package/dist/client/index.js +3 -3
  16. package/dist/experimental/client/index.cjs +2 -2
  17. package/dist/experimental/client/index.js +2 -2
  18. package/dist/fixtures.cjs +2 -0
  19. package/dist/fixtures.d.cts +1 -1
  20. package/dist/fixtures.d.ts +1 -1
  21. package/dist/fixtures.js +2 -0
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +3 -3
  24. package/dist/index.d.ts +3 -3
  25. package/dist/index.js +1 -1
  26. package/dist/metafile-cjs.json +1 -1
  27. package/dist/metafile-esm.json +1 -1
  28. package/dist/motionFeatures-HQUM526D.cjs +1 -0
  29. package/dist/motionFeatures-PRT45UQH.js +1 -0
  30. package/dist/tailwind/plugin.cjs +1 -1
  31. package/dist/tailwind/plugin.d.cts +2 -2
  32. package/dist/tailwind/plugin.d.ts +2 -2
  33. package/dist/tailwind/plugin.js +2 -2
  34. package/dist/tailwind/purger.cjs +1 -1
  35. package/dist/tailwind/purger.js +1 -1
  36. package/dist/tailwind/utils.cjs +1 -1
  37. package/dist/tailwind/utils.d.cts +2 -2
  38. package/dist/tailwind/utils.d.ts +2 -2
  39. package/dist/tailwind/utils.js +1 -1
  40. package/dist/tokens/index.cjs +1 -1
  41. package/dist/tokens/index.d.cts +3 -3
  42. package/dist/tokens/index.d.ts +3 -3
  43. package/dist/tokens/index.js +1 -1
  44. package/dist/tokens/parseTokens.d.cts +2 -2
  45. package/dist/tokens/parseTokens.d.ts +2 -2
  46. package/dist/{types-DsMvZpWN.d.cts → types-i8FyOTfl.d.cts} +13 -1
  47. package/dist/{types-DsMvZpWN.d.ts → types-i8FyOTfl.d.ts} +13 -1
  48. package/package.json +3 -3
  49. package/cli/PropsToClass.mock.tsx +0 -14
  50. package/dist/motionFeatures-I76FFCTS.js +0 -1
  51. package/dist/motionFeatures-P3FQL2KP.cjs +0 -1
@@ -1,5 +1,5 @@
1
1
  import { IconSize, SvgIcon, IconVariant } from '@yahoo/uds-icons/types';
2
- import { Spring } from 'framer-motion';
2
+ import { Spring } from 'motion/react';
3
3
  import { PropsWithChildren } from 'react';
4
4
 
5
5
  declare const alwaysPalette: {
@@ -303,6 +303,18 @@ declare const FONT_DECLARATIONS_MAP: {
303
303
  readonly src: "url('https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2') format('woff2')";
304
304
  }];
305
305
  };
306
+ readonly 'yahoo-product-sans': {
307
+ readonly fallback: string[];
308
+ readonly type: "sans";
309
+ readonly isVariableFont: true;
310
+ readonly declarations: [{
311
+ readonly fontFamily: "Yahoo Product Sans";
312
+ readonly fontDisplay: "swap";
313
+ /** TODO: We can make performant by only including font weights used for this font in config */
314
+ readonly fontWeight: "1 1000";
315
+ readonly src: "url('https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2') format('woff2')";
316
+ }];
317
+ };
306
318
  readonly 'yahoo-sans-condensed': {
307
319
  readonly fallback: string[];
308
320
  readonly type: "sans";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"
@@ -134,7 +134,7 @@
134
134
  "dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
135
135
  "dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
136
136
  "dev:ts": "tsup --watch",
137
- "format:pkg": "cd ../../ && bun syncpack format",
137
+ "format:pkg": "bun --cwd ../../ syncpack format",
138
138
  "lint": "eslint -c eslint.config.mjs .",
139
139
  "lint:fix": "bun run lint --fix",
140
140
  "lint:pkg": "bun publint",
@@ -155,9 +155,9 @@
155
155
  "@ariakit/react": "^0.4.12",
156
156
  "bluebun": "^0.0.34",
157
157
  "clsx": "^2.1.1",
158
- "framer-motion": "^11.11.4",
159
158
  "imurmurhash": "^0.1.4",
160
159
  "lodash-es": "^4.17.21",
160
+ "motion": "^11.18.0",
161
161
  "prompts": "^2.4.2",
162
162
  "react-toastify": "^11.0.2",
163
163
  "semver": "^7.6.3",
@@ -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
- }
@@ -1 +0,0 @@
1
- export{domAnimation}from"framer-motion";
@@ -1 +0,0 @@
1
- "use strict";var e=require("framer-motion");Object.defineProperty(exports,"domAnimation",{enumerable:!0,get:function(){return e.domAnimation}});