@yahoo/uds 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +0,0 @@
1
- var r=["light","dark"],i=["medium","xSmall","small","large","xLarge","xxLarge","xxxLarge"],s="light",g="medium",c=["gray","purple","indigo","blue","cyan","teal","mint","green","lime","citron","yellow","brown","nude","orange","sunset","red","rose","pink","magenta"],u=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],d=["gray-1","gray-2","gray-3","gray-4","gray-5","gray-6","gray-7","gray-8","gray-9","gray-10","gray-11","gray-12","gray-13","gray-14","gray-15","gray-16","purple-1","purple-2","purple-3","purple-4","purple-5","purple-6","purple-7","purple-8","purple-9","purple-10","purple-11","purple-12","purple-13","purple-14","purple-15","purple-16","indigo-1","indigo-2","indigo-3","indigo-4","indigo-5","indigo-6","indigo-7","indigo-8","indigo-9","indigo-10","indigo-11","indigo-12","indigo-13","indigo-14","indigo-15","indigo-16","blue-1","blue-2","blue-3","blue-4","blue-5","blue-6","blue-7","blue-8","blue-9","blue-10","blue-11","blue-12","blue-13","blue-14","blue-15","blue-16","cyan-1","cyan-2","cyan-3","cyan-4","cyan-5","cyan-6","cyan-7","cyan-8","cyan-9","cyan-10","cyan-11","cyan-12","cyan-13","cyan-14","cyan-15","cyan-16","teal-1","teal-2","teal-3","teal-4","teal-5","teal-6","teal-7","teal-8","teal-9","teal-10","teal-11","teal-12","teal-13","teal-14","teal-15","teal-16","mint-1","mint-2","mint-3","mint-4","mint-5","mint-6","mint-7","mint-8","mint-9","mint-10","mint-11","mint-12","mint-13","mint-14","mint-15","mint-16","green-1","green-2","green-3","green-4","green-5","green-6","green-7","green-8","green-9","green-10","green-11","green-12","green-13","green-14","green-15","green-16","lime-1","lime-2","lime-3","lime-4","lime-5","lime-6","lime-7","lime-8","lime-9","lime-10","lime-11","lime-12","lime-13","lime-14","lime-15","lime-16","citron-1","citron-2","citron-3","citron-4","citron-5","citron-6","citron-7","citron-8","citron-9","citron-10","citron-11","citron-12","citron-13","citron-14","citron-15","citron-16","yellow-1","yellow-2","yellow-3","yellow-4","yellow-5","yellow-6","yellow-7","yellow-8","yellow-9","yellow-10","yellow-11","yellow-12","yellow-13","yellow-14","yellow-15","yellow-16","brown-1","brown-2","brown-3","brown-4","brown-5","brown-6","brown-7","brown-8","brown-9","brown-10","brown-11","brown-12","brown-13","brown-14","brown-15","brown-16","nude-1","nude-2","nude-3","nude-4","nude-5","nude-6","nude-7","nude-8","nude-9","nude-10","nude-11","nude-12","nude-13","nude-14","nude-15","nude-16","orange-1","orange-2","orange-3","orange-4","orange-5","orange-6","orange-7","orange-8","orange-9","orange-10","orange-11","orange-12","orange-13","orange-14","orange-15","orange-16","sunset-1","sunset-2","sunset-3","sunset-4","sunset-5","sunset-6","sunset-7","sunset-8","sunset-9","sunset-10","sunset-11","sunset-12","sunset-13","sunset-14","sunset-15","sunset-16","red-1","red-2","red-3","red-4","red-5","red-6","red-7","red-8","red-9","red-10","red-11","red-12","red-13","red-14","red-15","red-16","rose-1","rose-2","rose-3","rose-4","rose-5","rose-6","rose-7","rose-8","rose-9","rose-10","rose-11","rose-12","rose-13","rose-14","rose-15","rose-16","pink-1","pink-2","pink-3","pink-4","pink-5","pink-6","pink-7","pink-8","pink-9","pink-10","pink-11","pink-12","pink-13","pink-14","pink-15","pink-16","magenta-1","magenta-2","magenta-3","magenta-4","magenta-5","magenta-6","magenta-7","magenta-8","magenta-9","magenta-10","magenta-11","magenta-12","magenta-13","magenta-14","magenta-15","magenta-16"],e=["accent","alert","brand","positive","warning"],a=["primary","secondary","elevation-1","elevation-2","elevation-3","elevation-3-inverse","overlay"],t=["accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],l=["primary","secondary","tertiary","muted","on-color"],o=["primary","secondary","tertiary","muted"],n=["transparent","white","black"],p=[...e,...a,...t,...n],m=[...e,...l,...n],y=[...e,...o,...n],b={core:e,background:a,backgroundWash:t,foreground:l,line:o},w=["icons","sans","sans-condensed","serif-text","serif-display"],A=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],h=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],k=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],S=["0","1","2","4","8"],x=["1","2","3"],v=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14"],C=["square","xs","s","m","l","xl","xxl","circle"],P=["s","m","l"],f=["accent","alert","brand","positive","warning","accent-outline","alert-outline","brand-outline","positive-outline","warning-outline","accent-ghost","alert-ghost","brand-ghost","positive-ghost","warning-ghost","accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],F=["s","m","l"];export{r as a,i as b,s as c,g as d,c as e,u as f,d as g,e as h,a as i,t as j,l as k,o as l,n as m,p as n,m as o,y as p,b as q,w as r,A as s,h as t,k as u,S as v,x as w,v as x,C as y,P as z,f as A,F as B};
package/dist/fixtures.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var y=(n,e)=>{for(var l in e)r(n,l,{get:e[l],enumerable:!0})},b=(n,e,l,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of p(e))!m.call(n,a)&&a!==l&&r(n,a,{get:()=>e[a],enumerable:!(u=d(e,a))||u.enumerable});return n};var w=n=>b(r({},"__esModule",{value:!0}),n);var U={};y(U,{DEFAULT_COLOR_MODE:()=>k,DEFAULT_SCALE_MODE:()=>S,alwaysPaletteAliases:()=>o,avatarSizes:()=>H,backgroundColors:()=>P,backgroundPaletteColors:()=>i,backgroundWashPaletteColors:()=>s,borderWidthAliases:()=>E,buttonSizes:()=>_,buttonVariants:()=>O,colorModes:()=>A,corePaletteColors:()=>t,elevations:()=>z,fontFamilyAliases:()=>M,fontWeightAliases:()=>W,foregroundColors:()=>f,foregroundPaletteColors:()=>g,hueSteps:()=>v,hues:()=>x,lineColors:()=>F,linePaletteColors:()=>c,palette:()=>B,scaleModes:()=>h,shapes:()=>D,spacingAliases:()=>V,spectrumColors:()=>C,textTransformAliases:()=>T,textVariants:()=>L});module.exports=w(U);var A=["light","dark"],h=["medium","xSmall","small","large","xLarge","xxLarge","xxxLarge"],k="light",S="medium",x=["gray","purple","indigo","blue","cyan","teal","mint","green","lime","citron","yellow","brown","nude","orange","sunset","red","rose","pink","magenta"],v=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],C=["gray-1","gray-2","gray-3","gray-4","gray-5","gray-6","gray-7","gray-8","gray-9","gray-10","gray-11","gray-12","gray-13","gray-14","gray-15","gray-16","purple-1","purple-2","purple-3","purple-4","purple-5","purple-6","purple-7","purple-8","purple-9","purple-10","purple-11","purple-12","purple-13","purple-14","purple-15","purple-16","indigo-1","indigo-2","indigo-3","indigo-4","indigo-5","indigo-6","indigo-7","indigo-8","indigo-9","indigo-10","indigo-11","indigo-12","indigo-13","indigo-14","indigo-15","indigo-16","blue-1","blue-2","blue-3","blue-4","blue-5","blue-6","blue-7","blue-8","blue-9","blue-10","blue-11","blue-12","blue-13","blue-14","blue-15","blue-16","cyan-1","cyan-2","cyan-3","cyan-4","cyan-5","cyan-6","cyan-7","cyan-8","cyan-9","cyan-10","cyan-11","cyan-12","cyan-13","cyan-14","cyan-15","cyan-16","teal-1","teal-2","teal-3","teal-4","teal-5","teal-6","teal-7","teal-8","teal-9","teal-10","teal-11","teal-12","teal-13","teal-14","teal-15","teal-16","mint-1","mint-2","mint-3","mint-4","mint-5","mint-6","mint-7","mint-8","mint-9","mint-10","mint-11","mint-12","mint-13","mint-14","mint-15","mint-16","green-1","green-2","green-3","green-4","green-5","green-6","green-7","green-8","green-9","green-10","green-11","green-12","green-13","green-14","green-15","green-16","lime-1","lime-2","lime-3","lime-4","lime-5","lime-6","lime-7","lime-8","lime-9","lime-10","lime-11","lime-12","lime-13","lime-14","lime-15","lime-16","citron-1","citron-2","citron-3","citron-4","citron-5","citron-6","citron-7","citron-8","citron-9","citron-10","citron-11","citron-12","citron-13","citron-14","citron-15","citron-16","yellow-1","yellow-2","yellow-3","yellow-4","yellow-5","yellow-6","yellow-7","yellow-8","yellow-9","yellow-10","yellow-11","yellow-12","yellow-13","yellow-14","yellow-15","yellow-16","brown-1","brown-2","brown-3","brown-4","brown-5","brown-6","brown-7","brown-8","brown-9","brown-10","brown-11","brown-12","brown-13","brown-14","brown-15","brown-16","nude-1","nude-2","nude-3","nude-4","nude-5","nude-6","nude-7","nude-8","nude-9","nude-10","nude-11","nude-12","nude-13","nude-14","nude-15","nude-16","orange-1","orange-2","orange-3","orange-4","orange-5","orange-6","orange-7","orange-8","orange-9","orange-10","orange-11","orange-12","orange-13","orange-14","orange-15","orange-16","sunset-1","sunset-2","sunset-3","sunset-4","sunset-5","sunset-6","sunset-7","sunset-8","sunset-9","sunset-10","sunset-11","sunset-12","sunset-13","sunset-14","sunset-15","sunset-16","red-1","red-2","red-3","red-4","red-5","red-6","red-7","red-8","red-9","red-10","red-11","red-12","red-13","red-14","red-15","red-16","rose-1","rose-2","rose-3","rose-4","rose-5","rose-6","rose-7","rose-8","rose-9","rose-10","rose-11","rose-12","rose-13","rose-14","rose-15","rose-16","pink-1","pink-2","pink-3","pink-4","pink-5","pink-6","pink-7","pink-8","pink-9","pink-10","pink-11","pink-12","pink-13","pink-14","pink-15","pink-16","magenta-1","magenta-2","magenta-3","magenta-4","magenta-5","magenta-6","magenta-7","magenta-8","magenta-9","magenta-10","magenta-11","magenta-12","magenta-13","magenta-14","magenta-15","magenta-16"],t=["accent","alert","brand","positive","warning"],i=["primary","secondary","elevation-1","elevation-2","elevation-3","elevation-3-inverse","overlay"],s=["accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],g=["primary","secondary","tertiary","muted","on-color"],c=["primary","secondary","tertiary","muted"],o=["transparent","white","black"],P=[...t,...i,...s,...o],f=[...t,...g,...o],F=[...t,...c,...o],B={core:t,background:i,backgroundWash:s,foreground:g,line:c},M=["icons","sans","sans-condensed","serif-text","serif-display"],W=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],L=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],T=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],E=["0","1","2","4","8"],z=["1","2","3"],V=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14"],D=["square","xs","s","m","l","xl","xxl","circle"],H=["s","m","l"],O=["accent","alert","brand","positive","warning","accent-outline","alert-outline","brand-outline","positive-outline","warning-outline","accent-ghost","alert-ghost","brand-ghost","positive-ghost","warning-ghost","accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],_=["s","m","l"];0&&(module.exports={DEFAULT_COLOR_MODE,DEFAULT_SCALE_MODE,alwaysPaletteAliases,avatarSizes,backgroundColors,backgroundPaletteColors,backgroundWashPaletteColors,borderWidthAliases,buttonSizes,buttonVariants,colorModes,corePaletteColors,elevations,fontFamilyAliases,fontWeightAliases,foregroundColors,foregroundPaletteColors,hueSteps,hues,lineColors,linePaletteColors,palette,scaleModes,shapes,spacingAliases,spectrumColors,textTransformAliases,textVariants});
@@ -1,44 +0,0 @@
1
- import { C as ColorMode, S as ScaleMode, H as Hue, a as HueStep, b as SpectrumColor, c as CorePaletteAlias, B as BackgroundPaletteAlias, d as BackgroundWashPaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, A as AlwaysPaletteAlias, e as CorePalette, f as BackgroundPalette, g as BackgroundWashPalette, h as ForegroundPalette, i as LinePalette, j as FontFamilyAlias, k as FontWeightAlias, T as TextVariant, l as TextTransformAlias, m as BorderWidthAlias, E as ElevationAlias, n as SpacingAlias, o as ShapeAlias, p as AvatarSizeAlias, q as ButtonVariant, r as ButtonSize } from './types-7giMTpNx.cjs';
2
- import 'react';
3
-
4
- /**
5
- * TODO: This file is generated with a bun macro in config prototype repo.
6
- * Alternative to bun macro would be something like babel-preval https://github.com/kentcdodds/babel-plugin-preval
7
- * See https://github.com/yahoo-design/universal-system-poc/blob/main/packages/components/src/internal/fixtures.ts
8
- */
9
- declare const colorModes: ColorMode[];
10
- declare const scaleModes: ScaleMode[];
11
- declare const DEFAULT_COLOR_MODE: ColorMode;
12
- declare const DEFAULT_SCALE_MODE: ScaleMode;
13
- declare const hues: Hue[];
14
- declare const hueSteps: HueStep[];
15
- declare const spectrumColors: SpectrumColor[];
16
- declare const corePaletteColors: CorePaletteAlias[];
17
- declare const backgroundPaletteColors: BackgroundPaletteAlias[];
18
- declare const backgroundWashPaletteColors: BackgroundWashPaletteAlias[];
19
- declare const foregroundPaletteColors: ForegroundPaletteAlias[];
20
- declare const linePaletteColors: LinePaletteAlias[];
21
- declare const alwaysPaletteAliases: AlwaysPaletteAlias[];
22
- declare const backgroundColors: ("transparent" | keyof CorePalette | "white" | "black" | keyof BackgroundPalette | keyof BackgroundWashPalette)[];
23
- declare const foregroundColors: ("transparent" | keyof CorePalette | keyof ForegroundPalette | "white" | "black")[];
24
- declare const lineColors: ("transparent" | keyof CorePalette | "white" | "black" | keyof LinePalette)[];
25
- declare const palette: {
26
- core: (keyof CorePalette)[];
27
- background: (keyof BackgroundPalette)[];
28
- backgroundWash: (keyof BackgroundWashPalette)[];
29
- foreground: (keyof ForegroundPalette)[];
30
- line: (keyof LinePalette)[];
31
- };
32
- declare const fontFamilyAliases: FontFamilyAlias[];
33
- declare const fontWeightAliases: FontWeightAlias[];
34
- declare const textVariants: TextVariant[];
35
- declare const textTransformAliases: TextTransformAlias[];
36
- declare const borderWidthAliases: BorderWidthAlias[];
37
- declare const elevations: ElevationAlias[];
38
- declare const spacingAliases: SpacingAlias[];
39
- declare const shapes: ShapeAlias[];
40
- declare const avatarSizes: AvatarSizeAlias[];
41
- declare const buttonVariants: ButtonVariant[];
42
- declare const buttonSizes: ButtonSize[];
43
-
44
- export { DEFAULT_COLOR_MODE, DEFAULT_SCALE_MODE, alwaysPaletteAliases, avatarSizes, backgroundColors, backgroundPaletteColors, backgroundWashPaletteColors, borderWidthAliases, buttonSizes, buttonVariants, colorModes, corePaletteColors, elevations, fontFamilyAliases, fontWeightAliases, foregroundColors, foregroundPaletteColors, hueSteps, hues, lineColors, linePaletteColors, palette, scaleModes, shapes, spacingAliases, spectrumColors, textTransformAliases, textVariants };
@@ -1,44 +0,0 @@
1
- import { C as ColorMode, S as ScaleMode, H as Hue, a as HueStep, b as SpectrumColor, c as CorePaletteAlias, B as BackgroundPaletteAlias, d as BackgroundWashPaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, A as AlwaysPaletteAlias, e as CorePalette, f as BackgroundPalette, g as BackgroundWashPalette, h as ForegroundPalette, i as LinePalette, j as FontFamilyAlias, k as FontWeightAlias, T as TextVariant, l as TextTransformAlias, m as BorderWidthAlias, E as ElevationAlias, n as SpacingAlias, o as ShapeAlias, p as AvatarSizeAlias, q as ButtonVariant, r as ButtonSize } from './types-7giMTpNx.js';
2
- import 'react';
3
-
4
- /**
5
- * TODO: This file is generated with a bun macro in config prototype repo.
6
- * Alternative to bun macro would be something like babel-preval https://github.com/kentcdodds/babel-plugin-preval
7
- * See https://github.com/yahoo-design/universal-system-poc/blob/main/packages/components/src/internal/fixtures.ts
8
- */
9
- declare const colorModes: ColorMode[];
10
- declare const scaleModes: ScaleMode[];
11
- declare const DEFAULT_COLOR_MODE: ColorMode;
12
- declare const DEFAULT_SCALE_MODE: ScaleMode;
13
- declare const hues: Hue[];
14
- declare const hueSteps: HueStep[];
15
- declare const spectrumColors: SpectrumColor[];
16
- declare const corePaletteColors: CorePaletteAlias[];
17
- declare const backgroundPaletteColors: BackgroundPaletteAlias[];
18
- declare const backgroundWashPaletteColors: BackgroundWashPaletteAlias[];
19
- declare const foregroundPaletteColors: ForegroundPaletteAlias[];
20
- declare const linePaletteColors: LinePaletteAlias[];
21
- declare const alwaysPaletteAliases: AlwaysPaletteAlias[];
22
- declare const backgroundColors: ("transparent" | keyof CorePalette | "white" | "black" | keyof BackgroundPalette | keyof BackgroundWashPalette)[];
23
- declare const foregroundColors: ("transparent" | keyof CorePalette | keyof ForegroundPalette | "white" | "black")[];
24
- declare const lineColors: ("transparent" | keyof CorePalette | "white" | "black" | keyof LinePalette)[];
25
- declare const palette: {
26
- core: (keyof CorePalette)[];
27
- background: (keyof BackgroundPalette)[];
28
- backgroundWash: (keyof BackgroundWashPalette)[];
29
- foreground: (keyof ForegroundPalette)[];
30
- line: (keyof LinePalette)[];
31
- };
32
- declare const fontFamilyAliases: FontFamilyAlias[];
33
- declare const fontWeightAliases: FontWeightAlias[];
34
- declare const textVariants: TextVariant[];
35
- declare const textTransformAliases: TextTransformAlias[];
36
- declare const borderWidthAliases: BorderWidthAlias[];
37
- declare const elevations: ElevationAlias[];
38
- declare const spacingAliases: SpacingAlias[];
39
- declare const shapes: ShapeAlias[];
40
- declare const avatarSizes: AvatarSizeAlias[];
41
- declare const buttonVariants: ButtonVariant[];
42
- declare const buttonSizes: ButtonSize[];
43
-
44
- export { DEFAULT_COLOR_MODE, DEFAULT_SCALE_MODE, alwaysPaletteAliases, avatarSizes, backgroundColors, backgroundPaletteColors, backgroundWashPaletteColors, borderWidthAliases, buttonSizes, buttonVariants, colorModes, corePaletteColors, elevations, fontFamilyAliases, fontWeightAliases, foregroundColors, foregroundPaletteColors, hueSteps, hues, lineColors, linePaletteColors, palette, scaleModes, shapes, spacingAliases, spectrumColors, textTransformAliases, textVariants };
package/dist/fixtures.js DELETED
@@ -1 +0,0 @@
1
- import{A,B,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-RK4NHJLQ.js";export{c as DEFAULT_COLOR_MODE,d as DEFAULT_SCALE_MODE,m as alwaysPaletteAliases,z as avatarSizes,n as backgroundColors,i as backgroundPaletteColors,j as backgroundWashPaletteColors,v as borderWidthAliases,B as buttonSizes,A as buttonVariants,a as colorModes,h as corePaletteColors,w as elevations,r as fontFamilyAliases,s as fontWeightAliases,o as foregroundColors,k as foregroundPaletteColors,f as hueSteps,e as hues,p as lineColors,l as linePaletteColors,q as palette,b as scaleModes,y as shapes,x as spacingAliases,g as spectrumColors,u as textTransformAliases,t as textVariants};