@yahoo/uds 3.27.0 → 3.28.0-beta.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.
@@ -1 +1 @@
1
- "use strict";var e=require("../chunk-LMWQZOET.cjs"),t=require("../chunk-SAYTLQ3L.cjs");Object.defineProperty(exports,"addFontsPlugin",{enumerable:!0,get:function(){return e.addFontsPlugin}}),Object.defineProperty(exports,"getColorModeStyles",{enumerable:!0,get:function(){return e.getColorModeStyles}}),Object.defineProperty(exports,"getFontFaceDeclarations",{enumerable:!0,get:function(){return e.getFontFaceDeclarations}}),Object.defineProperty(exports,"getFontStyles",{enumerable:!0,get:function(){return e.getFontStyles}}),Object.defineProperty(exports,"getMotionStyles",{enumerable:!0,get:function(){return e.getMotionStyles}}),Object.defineProperty(exports,"getResponsiveTextStyles",{enumerable:!0,get:function(){return e.getResponsiveTextStyles}}),Object.defineProperty(exports,"getScaleModeStyles",{enumerable:!0,get:function(){return e.getScaleModeStyles}}),Object.defineProperty(exports,"getShadowStyles",{enumerable:!0,get:function(){return e.getShadowStyles}}),Object.defineProperty(exports,"getShadowLayerValue",{enumerable:!0,get:function(){return t.getShadowLayerValue}}),Object.defineProperty(exports,"getShadowPresetValues",{enumerable:!0,get:function(){return t.getShadowPresetValues}});
1
+ "use strict";var e=require("../chunk-36WWN5M2.cjs"),t=require("../chunk-SAYTLQ3L.cjs");Object.defineProperty(exports,"addFontsPlugin",{enumerable:!0,get:function(){return e.addFontsPlugin}}),Object.defineProperty(exports,"getColorModeStyles",{enumerable:!0,get:function(){return e.getColorModeStyles}}),Object.defineProperty(exports,"getFontFaceDeclarations",{enumerable:!0,get:function(){return e.getFontFaceDeclarations}}),Object.defineProperty(exports,"getFontStyles",{enumerable:!0,get:function(){return e.getFontStyles}}),Object.defineProperty(exports,"getMotionStyles",{enumerable:!0,get:function(){return e.getMotionStyles}}),Object.defineProperty(exports,"getResponsiveTextStyles",{enumerable:!0,get:function(){return e.getResponsiveTextStyles}}),Object.defineProperty(exports,"getScaleModeStyles",{enumerable:!0,get:function(){return e.getScaleModeStyles}}),Object.defineProperty(exports,"getShadowStyles",{enumerable:!0,get:function(){return e.getShadowStyles}}),Object.defineProperty(exports,"getShadowLayerValue",{enumerable:!0,get:function(){return t.getShadowLayerValue}}),Object.defineProperty(exports,"getShadowPresetValues",{enumerable:!0,get:function(){return t.getShadowPresetValues}});
@@ -51,7 +51,7 @@ declare function getFontFaceDeclarations(fontIds: FontID[]): FontDeclarationItem
51
51
  * // 2. Generate CSS at build time in tailwind plugin via Tailwind's addBase or addComponent.
52
52
  *
53
53
  * const fontVars = getFontStyles(fontConfig);
54
- * addBase({ ':root': fontVars });
54
+ * addBase({ [rootSelector]: fontVars });
55
55
  *
56
56
  */
57
57
  declare function getFontStyles(fontConfig: FontConfig): Record<"--uds-font-sans" | "--uds-font-serif" | "--uds-font-mono" | "--uds-font-sans-alt" | "--uds-font-serif-alt", string>;
@@ -69,7 +69,7 @@ declare function getFontStyles(fontConfig: FontConfig): Record<"--uds-font-sans"
69
69
  * // 2. Generate CSS at build time in tailwind plugin via Tailwind's addBase or addComponent.
70
70
  *
71
71
  * const motionVars = getMotionStyles(motionConfig);
72
- * addBase({ ':root': motionVars });
72
+ * addBase({ [rootSelector]: motionVars });
73
73
  *
74
74
  */
75
75
  declare function getMotionStyles(motionConfig: MotionConfig): Record<"--uds-motion-damped-1-damping" | "--uds-motion-damped-1-stiffness" | "--uds-motion-damped-2-damping" | "--uds-motion-damped-2-stiffness" | "--uds-motion-damped-3-damping" | "--uds-motion-damped-3-stiffness" | "--uds-motion-damped-4-damping" | "--uds-motion-damped-4-stiffness" | "--uds-motion-smooth-1-damping" | "--uds-motion-smooth-1-stiffness" | "--uds-motion-smooth-2-damping" | "--uds-motion-smooth-2-stiffness" | "--uds-motion-smooth-3-damping" | "--uds-motion-smooth-3-stiffness" | "--uds-motion-smooth-4-damping" | "--uds-motion-smooth-4-stiffness" | "--uds-motion-subtle-1-damping" | "--uds-motion-subtle-1-stiffness" | "--uds-motion-subtle-2-damping" | "--uds-motion-subtle-2-stiffness" | "--uds-motion-subtle-3-damping" | "--uds-motion-subtle-3-stiffness" | "--uds-motion-subtle-4-damping" | "--uds-motion-subtle-4-stiffness" | "--uds-motion-bouncy-1-damping" | "--uds-motion-bouncy-1-stiffness" | "--uds-motion-bouncy-2-damping" | "--uds-motion-bouncy-2-stiffness" | "--uds-motion-bouncy-3-damping" | "--uds-motion-bouncy-3-stiffness" | "--uds-motion-bouncy-4-damping" | "--uds-motion-bouncy-4-stiffness" | "--uds-motion-veryBouncy-1-damping" | "--uds-motion-veryBouncy-1-stiffness" | "--uds-motion-veryBouncy-2-damping" | "--uds-motion-veryBouncy-2-stiffness" | "--uds-motion-veryBouncy-3-damping" | "--uds-motion-veryBouncy-3-stiffness" | "--uds-motion-veryBouncy-4-damping" | "--uds-motion-veryBouncy-4-stiffness", string>;
@@ -51,7 +51,7 @@ declare function getFontFaceDeclarations(fontIds: FontID[]): FontDeclarationItem
51
51
  * // 2. Generate CSS at build time in tailwind plugin via Tailwind's addBase or addComponent.
52
52
  *
53
53
  * const fontVars = getFontStyles(fontConfig);
54
- * addBase({ ':root': fontVars });
54
+ * addBase({ [rootSelector]: fontVars });
55
55
  *
56
56
  */
57
57
  declare function getFontStyles(fontConfig: FontConfig): Record<"--uds-font-sans" | "--uds-font-serif" | "--uds-font-mono" | "--uds-font-sans-alt" | "--uds-font-serif-alt", string>;
@@ -69,7 +69,7 @@ declare function getFontStyles(fontConfig: FontConfig): Record<"--uds-font-sans"
69
69
  * // 2. Generate CSS at build time in tailwind plugin via Tailwind's addBase or addComponent.
70
70
  *
71
71
  * const motionVars = getMotionStyles(motionConfig);
72
- * addBase({ ':root': motionVars });
72
+ * addBase({ [rootSelector]: motionVars });
73
73
  *
74
74
  */
75
75
  declare function getMotionStyles(motionConfig: MotionConfig): Record<"--uds-motion-damped-1-damping" | "--uds-motion-damped-1-stiffness" | "--uds-motion-damped-2-damping" | "--uds-motion-damped-2-stiffness" | "--uds-motion-damped-3-damping" | "--uds-motion-damped-3-stiffness" | "--uds-motion-damped-4-damping" | "--uds-motion-damped-4-stiffness" | "--uds-motion-smooth-1-damping" | "--uds-motion-smooth-1-stiffness" | "--uds-motion-smooth-2-damping" | "--uds-motion-smooth-2-stiffness" | "--uds-motion-smooth-3-damping" | "--uds-motion-smooth-3-stiffness" | "--uds-motion-smooth-4-damping" | "--uds-motion-smooth-4-stiffness" | "--uds-motion-subtle-1-damping" | "--uds-motion-subtle-1-stiffness" | "--uds-motion-subtle-2-damping" | "--uds-motion-subtle-2-stiffness" | "--uds-motion-subtle-3-damping" | "--uds-motion-subtle-3-stiffness" | "--uds-motion-subtle-4-damping" | "--uds-motion-subtle-4-stiffness" | "--uds-motion-bouncy-1-damping" | "--uds-motion-bouncy-1-stiffness" | "--uds-motion-bouncy-2-damping" | "--uds-motion-bouncy-2-stiffness" | "--uds-motion-bouncy-3-damping" | "--uds-motion-bouncy-3-stiffness" | "--uds-motion-bouncy-4-damping" | "--uds-motion-bouncy-4-stiffness" | "--uds-motion-veryBouncy-1-damping" | "--uds-motion-veryBouncy-1-stiffness" | "--uds-motion-veryBouncy-2-damping" | "--uds-motion-veryBouncy-2-stiffness" | "--uds-motion-veryBouncy-3-damping" | "--uds-motion-veryBouncy-3-stiffness" | "--uds-motion-veryBouncy-4-damping" | "--uds-motion-veryBouncy-4-stiffness", string>;
@@ -1 +1 @@
1
- export{addFontsPlugin,getColorModeStyles,getFontFaceDeclarations,getFontStyles,getMotionStyles,getResponsiveTextStyles,getScaleModeStyles,getShadowStyles}from"../chunk-5QLOGAR2.js";export{getShadowLayerValue,getShadowPresetValues}from"../chunk-TCFZWULK.js";
1
+ export{addFontsPlugin,getColorModeStyles,getFontFaceDeclarations,getFontStyles,getMotionStyles,getResponsiveTextStyles,getScaleModeStyles,getShadowStyles}from"../chunk-LHQFS7TM.js";export{getShadowLayerValue,getShadowPresetValues}from"../chunk-TCFZWULK.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "3.27.0",
4
+ "version": "3.28.0-beta.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli.js"