@yahoo/uds 0.1.13 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +57 -5
- package/cli/commands/expo/_setup.ts +100 -73
- package/cli/commands/expo/build.ts +84 -3
- package/cli/commands/expo/dev.ts +51 -41
- package/cli/commands/expo/install/cocoapods.rb +35 -0
- package/cli/commands/purge.ts +15 -0
- package/cli/commands/{config/sync.ts → sync.ts} +2 -2
- package/cli/utils/configWorker.ts +21 -1
- package/cli/utils/purgeCSS.ts +139 -0
- package/cli/utils/setupConfigWorker.ts +12 -13
- package/dist/{chunk-P7GR6E3K.js → chunk-AHFH5E5L.js} +1 -1
- package/dist/{chunk-MBOOJIH7.js → chunk-FLBMVDKG.js} +1 -1
- package/dist/{chunk-AWTLI4D3.js → chunk-U3UPAQ7V.js} +1 -1
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +40 -31
- package/dist/index.d.ts +40 -31
- package/dist/index.js +1 -1
- package/dist/{index.native-9kYJrUPa.d.ts → index.native-TvtXtTXg.d.ts} +2 -2
- package/dist/{index.native-3ww4C4UV.d.cts → index.native-dgGFONLf.d.cts} +2 -2
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +10 -24
- package/dist/index.native.d.ts +10 -24
- package/dist/index.native.js +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +4 -0
- package/dist/tailwindPurge.d.cts +16 -0
- package/dist/tailwindPurge.d.ts +16 -0
- package/dist/tailwindPurge.js +4 -0
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +12 -12
- package/dist/tokens/parseTokens.d.ts +12 -12
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.d.cts +2 -2
- package/dist/tokens/parseTokens.native.d.ts +2 -2
- package/dist/{types-J4DLS6Xj.d.cts → types-3GXulqnG.d.cts} +1 -1
- package/dist/{types-J4DLS6Xj.d.ts → types-3GXulqnG.d.ts} +1 -1
- package/dist/{types-hirL9Qk5.d.cts → types-8OHfDki5.d.cts} +47 -54
- package/dist/{types-hirL9Qk5.d.ts → types-8OHfDki5.d.ts} +47 -54
- package/package.json +21 -18
- package/cli/commands/config/config.ts +0 -10
- package/cli/commands/nextjs/dev.ts +0 -17
- package/cli/commands/nextjs/nextjs.ts +0 -10
@@ -1,9 +1,29 @@
|
|
1
1
|
// prevents TS errors
|
2
2
|
declare var self: Worker;
|
3
3
|
import { ConfigWorkerThreadMessage } from './types';
|
4
|
+
import { $ } from 'bun';
|
4
5
|
|
5
6
|
self.onmessage = async ({ data }: ConfigWorkerThreadMessage) => {
|
6
7
|
if (data.type === 'init') {
|
7
|
-
|
8
|
+
try {
|
9
|
+
// Only listen for updates if firebase is available. This will only be available in UDS monorepo atm
|
10
|
+
const firebase = await import('database/firebase');
|
11
|
+
console.write('Fetching from local database package...\n');
|
12
|
+
firebase.onBranchSnapshot(data.resp.id, ({ config, status }) => {
|
13
|
+
postMessage({ type: 'update', resp: { config, status } });
|
14
|
+
});
|
15
|
+
} catch (err) {
|
16
|
+
try {
|
17
|
+
const res =
|
18
|
+
await $`curl https://syncconfig-j57v6zmjrq-uc.a.run.app?id=${data.resp.id}`.json();
|
19
|
+
if (res?.config) {
|
20
|
+
postMessage({ type: 'update', resp: { config: res.config, status: 'error' } });
|
21
|
+
} else {
|
22
|
+
throw Error;
|
23
|
+
}
|
24
|
+
} catch (err) {
|
25
|
+
throw new Error('Error fetching config');
|
26
|
+
}
|
27
|
+
}
|
8
28
|
}
|
9
29
|
};
|
@@ -0,0 +1,139 @@
|
|
1
|
+
import { spinStart } from 'bluebun';
|
2
|
+
import {
|
3
|
+
componentsDependencies,
|
4
|
+
componentToVariants,
|
5
|
+
variantToTailwindClass,
|
6
|
+
varitantsList,
|
7
|
+
} from '@yahoo/uds/tailwindPurge';
|
8
|
+
import FastGlob from 'fast-glob';
|
9
|
+
import path from 'node:path';
|
10
|
+
import { Project } from 'ts-morph';
|
11
|
+
|
12
|
+
type Whitelist = string;
|
13
|
+
type ImportsList = string[];
|
14
|
+
type Files = string[];
|
15
|
+
|
16
|
+
// TODO: use CLI args tp power the output file path
|
17
|
+
const OUTPUT_FILE_PATH = Bun.file(`${Bun.env.PWD}/dist/safelist.js`);
|
18
|
+
|
19
|
+
const getFiles = async (): Promise<Files> => {
|
20
|
+
const workspaceDir = Bun.env.PWD;
|
21
|
+
const srcDir = path.join(workspaceDir, '/src/');
|
22
|
+
const files = await FastGlob(`${srcDir}/**/*.{jsx,tsx}`);
|
23
|
+
|
24
|
+
return files;
|
25
|
+
};
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Given a file it returns the list of imports from @yahoo/uds
|
29
|
+
*/
|
30
|
+
const parseFiles = (project: Project, files: Files): ImportsList => {
|
31
|
+
const importsSet = new Set();
|
32
|
+
|
33
|
+
const importsPerFile: string[] = files
|
34
|
+
.map((file: string) => {
|
35
|
+
const sourceFile = project.getSourceFile(file);
|
36
|
+
|
37
|
+
const udsImports =
|
38
|
+
sourceFile
|
39
|
+
?.getImportDeclarations()
|
40
|
+
.filter((declaration) => {
|
41
|
+
return declaration.getModuleSpecifier().getText().includes('@yahoo/uds');
|
42
|
+
})
|
43
|
+
.map((declaration) => {
|
44
|
+
return declaration.getNamedImports().map((namedImport) => namedImport.getName());
|
45
|
+
})
|
46
|
+
.flat() ?? [];
|
47
|
+
|
48
|
+
return udsImports;
|
49
|
+
})
|
50
|
+
.flat();
|
51
|
+
|
52
|
+
importsPerFile.forEach((item: string) => {
|
53
|
+
if (!importsSet.has(item)) {
|
54
|
+
importsSet.add(item);
|
55
|
+
}
|
56
|
+
});
|
57
|
+
|
58
|
+
return Array.from(importsSet) as string[];
|
59
|
+
};
|
60
|
+
|
61
|
+
const getTailwindWhitelist = (componentList: string[]): Whitelist => {
|
62
|
+
const validVariants = new Set<string>(varitantsList);
|
63
|
+
const usedProps = new Set<string>();
|
64
|
+
componentList.forEach((component: string) => {
|
65
|
+
if (isUDSComponent(component)) {
|
66
|
+
// go through the list of props of that particular component
|
67
|
+
// and get the related tailwind classes
|
68
|
+
componentToVariants[component].forEach((prop: string) => {
|
69
|
+
if (validVariants.has(prop) && !usedProps.has(prop)) {
|
70
|
+
usedProps.add(prop);
|
71
|
+
}
|
72
|
+
});
|
73
|
+
}
|
74
|
+
});
|
75
|
+
|
76
|
+
let whiteList = '';
|
77
|
+
for (const prop of usedProps) {
|
78
|
+
whiteList += `${variantToTailwindClass[prop]} `;
|
79
|
+
}
|
80
|
+
return whiteList;
|
81
|
+
};
|
82
|
+
|
83
|
+
const isUDSComponent = (component: string): boolean => {
|
84
|
+
return !!componentToVariants[component];
|
85
|
+
};
|
86
|
+
|
87
|
+
const saveToFile = async (whitelist: Whitelist) => {
|
88
|
+
const workspaceDir = Bun.env.PWD;
|
89
|
+
|
90
|
+
const fileContent = `
|
91
|
+
//! This file is generated by purgeCSS.ts from @yahoo/uds
|
92
|
+
//! Do not edit directly
|
93
|
+
//! If there any issue with this file please report to #ask-uds
|
94
|
+
const whitelist = "${whitelist}";
|
95
|
+
`;
|
96
|
+
|
97
|
+
await Bun.write(OUTPUT_FILE_PATH, fileContent);
|
98
|
+
};
|
99
|
+
|
100
|
+
const getComponentsToConvertToTW = (udsImport: ImportsList): string[] => {
|
101
|
+
// filter out just the components
|
102
|
+
const components = udsImport.filter((importedItem) => !!componentToVariants[importedItem]);
|
103
|
+
const set = new Set();
|
104
|
+
components.forEach((component) => {
|
105
|
+
if (!set.has(component)) {
|
106
|
+
set.add(component);
|
107
|
+
}
|
108
|
+
if (componentsDependencies[component]) {
|
109
|
+
componentsDependencies[component].forEach((dependent: string) => {
|
110
|
+
if (!set.has(dependent)) {
|
111
|
+
set.add(dependent);
|
112
|
+
}
|
113
|
+
});
|
114
|
+
}
|
115
|
+
});
|
116
|
+
return Array.from(set) as string[];
|
117
|
+
};
|
118
|
+
|
119
|
+
async function purge() {
|
120
|
+
const workspaceDir = Bun.env.PWD;
|
121
|
+
const srcDir = path.join(workspaceDir, '/tsconfig.json');
|
122
|
+
const project = new Project({
|
123
|
+
tsConfigFilePath: srcDir,
|
124
|
+
});
|
125
|
+
|
126
|
+
spinStart('Getting used UDS components...');
|
127
|
+
/// 1. Get all files from the current dir
|
128
|
+
const files = await getFiles();
|
129
|
+
// 2. For each file get the imports;
|
130
|
+
const udsImports = parseFiles(project, files);
|
131
|
+
// 3. Now that we have the importer components
|
132
|
+
const udsComponents = getComponentsToConvertToTW(udsImports);
|
133
|
+
// 4. Generate the CSS we need
|
134
|
+
const whitelist = getTailwindWhitelist(udsComponents);
|
135
|
+
// 5. Write the whitelist to a file
|
136
|
+
await saveToFile(whitelist);
|
137
|
+
}
|
138
|
+
|
139
|
+
export { purge };
|
@@ -9,11 +9,16 @@ interface ConfigWorkerOptions extends SyncOptions {
|
|
9
9
|
onUpdate?: (params: { worker: Worker }) => void;
|
10
10
|
}
|
11
11
|
|
12
|
-
export async function setupConfigWorker({
|
12
|
+
export async function setupConfigWorker({
|
13
|
+
id = Bun.env.UDS_ID,
|
14
|
+
outFile = Bun.env.UDS_OUT_FILE,
|
15
|
+
onUpdate,
|
16
|
+
}: ConfigWorkerOptions = {}) {
|
13
17
|
const workspaceDir = Bun.env.PWD;
|
14
18
|
let configID = id;
|
15
|
-
let configOutFile = outFile;
|
19
|
+
let configOutFile = outFile ?? './uds.config.ts';
|
16
20
|
|
21
|
+
// If we didn't get the config ID from the command line or env vars, check for a uds.json file
|
17
22
|
if (!configID) {
|
18
23
|
const udsConfigFile = Bun.file(`${workspaceDir}/uds.json`);
|
19
24
|
const udsConfigFileExists = await udsConfigFile.exists();
|
@@ -28,26 +33,20 @@ export async function setupConfigWorker({ id, outFile, onUpdate }: ConfigWorkerO
|
|
28
33
|
}
|
29
34
|
}
|
30
35
|
|
36
|
+
// have _nothing_, warn the eng to do something
|
31
37
|
if (!configID) {
|
32
38
|
console.error(
|
33
|
-
'\nMissing config ID. Please pass in --id or create a uds.json file with { "id": "your-config-id" } defined.\n',
|
39
|
+
'\nMissing config ID. Please pass in --id, set UDS_ID in your .env, or create a uds.json file with { "id": "your-config-id" } defined.\n',
|
34
40
|
);
|
35
41
|
process.exit(1);
|
36
42
|
}
|
37
43
|
|
38
|
-
|
39
|
-
console.error(
|
40
|
-
'\nMissing outFile details. Please pass in --outFile ./some-path.ts or create a uds.json file with { "outFile": "./some-path.ts" } defined.\n',
|
41
|
-
);
|
42
|
-
process.exit(1);
|
43
|
-
}
|
44
|
-
|
45
|
-
const outFilePath = `${workspaceDir}/${outFile}`;
|
44
|
+
const outFilePath = `${workspaceDir}/${configOutFile}`;
|
46
45
|
|
47
46
|
const worker = new Worker(workerURL);
|
48
47
|
|
49
48
|
worker.addEventListener('open', () => {
|
50
|
-
worker.postMessage({ type: 'init', resp: { id } });
|
49
|
+
worker.postMessage({ type: 'init', resp: { id: configID } });
|
51
50
|
});
|
52
51
|
|
53
52
|
worker.onmessage = async ({ data }: ConfigWorkerMainThreadMessage) => {
|
@@ -62,7 +61,7 @@ import { type UniversalTokensConfig } from '@yahoo/uds';
|
|
62
61
|
export const config: UniversalTokensConfig = ${JSON.stringify(sortedConfig, null, 2)};
|
63
62
|
`.trimStart();
|
64
63
|
|
65
|
-
console.log(`✅ Synced UDS config ${
|
64
|
+
console.log(`✅ Synced UDS config ${configID} to ${outFilePath}`);
|
66
65
|
await Bun.write(outFilePath, configContent);
|
67
66
|
onUpdate?.({ worker });
|
68
67
|
}
|
@@ -1 +1 @@
|
|
1
|
-
var e=["Helvetica Neue","Helvetica","Arial","sans-serif"],
|
1
|
+
var e=["Helvetica Neue","Helvetica","Arial","sans-serif"],i=["Georgia","Times","Times New Roman","serif"],g={icons:{fallbacks:e,name:"yahoo-icons"},sans:{fallbacks:e,name:"yahoo-sans"},"sans-beta":{fallbacks:e,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:e,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:i,name:"yahoo-serif-text"},"serif-display":{fallbacks:i,name:"yahoo-serif-display"}},b={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},f={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},p={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},d={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},l={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},a={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...l.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},t={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...a.lineHeight,title2:36,title3:32}},n={fontSize:{...t.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...t.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},o={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...n.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},s={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...o.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},c={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...s.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};export{g as a,b,f as c,p as d,d as e,l as f,a as g,t as h,n as i,o as j,s as k,c as l};
|
@@ -1 +1 @@
|
|
1
|
-
import{a as v,b as R,c as m,d as T,e as F,f as $,g as C,h as _,i as E,j as h,k as S}from"./chunk-3I3D5S54.js";import{
|
1
|
+
import{a as y}from"./chunk-WYDHNV42.js";import{a as v,b as R,c as m,d as T,e as F,f as $,g as C,h as _,i as E,j as h,k as S}from"./chunk-3I3D5S54.js";import{a as c}from"./chunk-74YHFBTD.js";import{c as d}from"./chunk-AHFH5E5L.js";function I(o){let{palette:e,spectrum:a}=o,n={},r={spectrum:{},palette:{}};for(let[t,i]of c(a))for(let[s,f]of c(i)){let l=`${t}-${s}`,p=`--${R}-${l}`;r.spectrum[t]||(r.spectrum[t]={}),r.spectrum[t][s]=`rgb(var(${p}))`,n[p]=f}return c(e).forEach(([t,i])=>{for(let[s,{hue:f,step:l,opacity:p}]of Object.entries(i)){t in r.palette||(r.palette[t]={});let g=`--${v}-${t}-color-${s}`;n[g]=`var(--${R}-${f}-${l})`,r.palette[t][s]=p?`rgb(var(${g}) / ${p})`:`rgb(var(${g}))`}}),{_vars:n,_raw:o,tailwindConfig:r}}function k(o){let e={},a={};for(let[n,r="regular"]of c(o)){let t=`--${h}-${n}`,i=d[r];e[t]=i,a[n]=`var(${t})`}return{_vars:e,_raw:o,tailwindConfig:{...d,...a}}}function P(o,e,a){let n={},r={};for(let[t,i]of c(e)){let s=`--${o}-${t}`,f=a?a(i):i;n[s]=f,r[t]=`var(${s})`}return{_vars:n,_raw:e,tailwindConfig:r}}function u(o,e){let a={},n={};for(let[r,t]of c(e)){let i=`--${o}-${r}`,s=`${t}px`;a[i]=s,n[r]=`var(${i})`}return{_vars:a,_raw:e,tailwindConfig:n}}function x(o){let e={};for(let[a,n]of c(o)){let r=n.map(({color:t,offsetX:i,offsetY:s,blurRadius:f,spreadRadius:l})=>`${i}px ${s}px ${f}px ${l}px ${t}`).join(", ");e[a]=r}return e}function N(o){return y(o,(e,a)=>{let{fallbacks:n=[]}=e??{};return[`var(--${m}-${a})`,...n]})}function X(o){return`${o}px`}function w(o){return y(o,X)}var H=w;function U(o){let{colorMode:e,scaleMode:a,elevation:n,fontFamily:r,borderWidth:t}=o;return{...o,colorMode:{light:I(e.light),dark:I(e.dark)},scaleMode:y(a,({shapes:i,spacing:s,fontSize:f,lineHeight:l,fontFamily:p,fontWeight:g,textTransform:b,avatarSizes:V,iconSizes:W})=>({fontFamily:P(m,p,M=>`var(--${m}-${M})`),fontSize:u(_,f),fontWeight:k(g),lineHeight:u(E,l),textTransform:P(S,b),shapes:u($,i),spacing:u(C,s),avatarSizes:u(F,V),iconSizes:u(T,W)})),borderWidth:H(t),elevation:x(n),fontFamily:N(r)}}export{U as a};
|
@@ -1 +1 @@
|
|
1
|
-
import{a as n,b as t,d as o,e as r,f as i,g,h as l,i as c,j as u,k as m,l as f}from"./chunk-P7GR6E3K.js";var h={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},d={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},E={white:"#ffffff",black:"#000000",transparent:"transparent"};var y={0:0,1:1,2:2,4:4,8:8};var S={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var x={auto:"auto",square:"1 / 1",video:"16 / 9"},C={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var b={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},v={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var a={s:16,m:24,l:32},A=a,s={s:16,m:24,l:32},R=s;var w={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},z={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var M={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"128 128 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"77 137 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"93 94 255",7:"64 64 227",8:"47 41 204",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},k={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var p={fontFamily:t,fontWeight:o,textTransform:r,avatarSizes:a,iconSizes:s,shapes:b,spacing:w},e={fontFamily:t,fontWeight:o,textTransform:r,avatarSizes:A,iconSizes:R,shapes:v,spacing:z},Z={colorMode:{light:{palette:h,spectrum:M},dark:{palette:d,spectrum:k}},scaleMode:{xSmall:{...p,...i},small:{...p,...g},medium:{...p,...l},large:{...e,...c},xLarge:{...e,...u},xxLarge:{...e,...m},xxxLarge:{...e,...f}},aspectRatio:x,borderWidth:y,elevation:S,fontFamily:n,zIndex:C};var J="system",K="system",Q="light",V="large",$=!1,e1="\u{1F1FA}\u{1F1F8} US";export{E as a,Z as b,J as c,K as d,Q as e,V as f,$ as g,e1 as h};
|
1
|
+
import{a as n,b as t,d as o,e as r,f as i,g,h as l,i as c,j as u,k as m,l as f}from"./chunk-AHFH5E5L.js";var h={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},d={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},E={white:"#ffffff",black:"#000000",transparent:"transparent"};var y={0:0,1:1,2:2,4:4,8:8};var S={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var x={auto:"auto",square:"1 / 1",video:"16 / 9"},C={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var b={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},v={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var a={s:16,m:24,l:32},A=a,s={s:16,m:24,l:32},R=s;var w={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},z={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var M={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"128 128 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"77 137 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"93 94 255",7:"64 64 227",8:"47 41 204",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},k={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var p={fontFamily:t,fontWeight:o,textTransform:r,avatarSizes:a,iconSizes:s,shapes:b,spacing:w},e={fontFamily:t,fontWeight:o,textTransform:r,avatarSizes:A,iconSizes:R,shapes:v,spacing:z},Z={colorMode:{light:{palette:h,spectrum:M},dark:{palette:d,spectrum:k}},scaleMode:{xSmall:{...p,...i},small:{...p,...g},medium:{...p,...l},large:{...e,...c},xLarge:{...e,...u},xxLarge:{...e,...m},xxxLarge:{...e,...f}},aspectRatio:x,borderWidth:y,elevation:S,fontFamily:n,zIndex:C};var J="system",K="system",Q="light",V="large",$=!1,e1="\u{1F1FA}\u{1F1F8} US";export{E as a,Z as b,J as c,K as d,Q as e,V as f,$ as g,e1 as h};
|
package/dist/fixtures/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var b=(e,l)=>{for(var t in l)o(e,t,{get:l[t],enumerable:!0})},m=(e,l,t,p)=>{if(l&&typeof l=="object"||typeof l=="function")for(let i of g(l))!_.call(e,i)&&i!==t&&o(e,i,{get:()=>l[i],enumerable:!(p=u(l,i))||p.enumerable});return e};var h=e=>m(o({},"__esModule",{value:!0}),e);var V={};b(V,{alwaysPaletteAliases:()=>n,avatarSizes:()=>W,backgroundColors:()=>D,backgroundPaletteColors:()=>r,backgroundWashPaletteColors:()=>s,borderWidths:()=>T,buttonSizes:()=>q,buttonVariants:()=>K,colorModes:()=>y,corePaletteColors:()=>a,elevationPaletteColors:()=>c,elevations:()=>G,fontFamilies:()=>F,fontSizes:()=>U,fontWeights:()=>M,foregroundColors:()=>A,foregroundPaletteColors:()=>f,hueSteps:()=>C,hues:()=>x,iconNames:()=>I,iconSizes:()=>z,lineColors:()=>S,lineHeights:()=>R,linePaletteColors:()=>d,palette:()=>L,regionModes:()=>k,scaleModes:()=>w,shapes:()=>E,spacingAliases:()=>O,spectrumColors:()=>v,textRamp:()=>N,textTransforms:()=>B,textVariants:()=>P});module.exports=h(V);var y=["light","dark"],w=["xSmall","small","medium","large","xLarge","xxLarge","xxxLarge"],k=["\u{1F1FA}\u{1F1F8} US","\u{1F1E9}\u{1F1EA} DE","\u{1F1EB}\u{1F1F7} FR","\u{1F1E8}\u{1F1F3} CN"],x=["gray","purple","indigo","blue","cyan","teal","mint","green","lime","citron","yellow","brown","nude","orange","sunset","red","rose","pink","magenta","carbon"],C=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15"],v=["gray-0","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","purple-0","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","indigo-0","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","blue-0","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","cyan-0","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","teal-0","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","mint-0","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","green-0","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","lime-0","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","citron-0","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","yellow-0","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","brown-0","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","nude-0","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","orange-0","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","sunset-0","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","red-0","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","rose-0","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","pink-0","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","magenta-0","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","carbon-0","carbon-1","carbon-2","carbon-3","carbon-4","carbon-5","carbon-6","carbon-7","carbon-8","carbon-9","carbon-10","carbon-11","carbon-12","carbon-13","carbon-14","carbon-15"],a=["accent","alert","brand","positive","warning"],r=["primary","secondary"],s=["accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],c=["elevation-1","elevation-2","elevation-3","elevation-3-inverse","overlay"],f=["primary","secondary","tertiary","muted","on-color"],d=["primary","secondary","tertiary","muted"],n=["transparent","white","black"],D=[...a,...r,...s,...c,...n],A=[...a,...f,...n],S=[...a,...d,...n],L={core:a,background:r,backgroundWash:s,elevation:c,foreground:f,line:d},P=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],F=["icons","sans","sans-beta","sans-condensed","serif-text","serif-display"],M=["light","medium","black","thin","extralight","regular","semibold","bold","extrabold"],B=["none","uppercase","lowercase","capitalize"],U=[10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,34,36,38,46,47,48,52,54],R=[12,16,20,24,28,32,36,40,44,48],N={xSmall:{display1:-2,title1:-3,title2:-3,title3:-3,title4:-3,headline1:-3,body1:-3,label1:-2,label2:-2,caption1:-1,caption2:-1,legal1:-1},small:{display1:-2,title1:-2,title2:-2,title3:-2,title4:-2,headline1:-2,body1:-2,label1:-1,label2:-1,caption1:0,caption2:0,legal1:0},medium:{display1:-1,title1:-1,title2:-1,title3:-1,title4:-1,headline1:-1,body1:-1,label1:-1,label2:-1,caption1:0,caption2:0,legal1:0},large:{display1:0,title1:0,title2:0,title3:0,title4:0,headline1:0,body1:0,label1:0,label2:0,caption1:0,caption2:0,legal1:0},xLarge:{display1:2,title1:2,title2:2,title3:2,title4:2,headline1:2,body1:0,label1:2,label2:2,caption1:2,caption2:2,legal1:2},xxLarge:{display1:4,title1:4,title2:4,title3:4,title4:6,headline1:4,body1:4,label1:4,label2:4,caption1:4,caption2:4,legal1:4},xxxLarge:{display1:6,title1:6,title2:6,title3:6,title4:8,headline1:6,body1:6,label1:6,label2:6,caption1:6,caption2:6,legal1:6}},W=["s","m","l"],T=["0","1","2","4","8"],G=["1","2","3"],z=["s","m","l"],O=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14"],E=["s","m","l","square","xs","xl","xxl","circle"],K=["accent","alert","brand","positive","warning","secondary","accent-wash","alert-wash","brand-wash","positive-wash","warning-wash","accent-outline","alert-outline","brand-outline","positive-outline","warning-outline","accent-ghost","alert-ghost","brand-ghost","positive-ghost","warning-ghost","primary-ghost","primary-outline"],q=["s","m","l"],I=["sunset","bold","academicCap","academicCap_fill","accept","accept_fill","accessibility","accountKey","accountKey_fill","accountKeyAndroid","accountKeyAndroid_fill","addAttachments","addAttachments_fill","addDocument","addDocument_fill","addFolder","addFolder_fill","addLink","addPerson","addPerson_fill","addToCalendar","addToCalendar_fill","ads","adsEuro","adsPound","alarmClock","alarmClock_fill","analytics","announcement","announcement_fill","appPublishing","appPublishing_fill","apparel","apparel_fill","appleWatch_fill","ar3d","archive","archive_fill","arrowCurveLeft","arrowCurveRight","arrowCurveUp","arrowDown","arrowDownAboveLine","arrowDownAndIn","arrowLeft","arrowRight","arrowUp","arrowUpAndOut","arrowUpUnderLine","ascender","astroAquarius","astroAries","astroCancer","astroCapricorn","astroGemini","astroLeo","astroLibra","astroPisces","astroSagittarius","astroScorpio","astroTaurus","astroVirgo","atSymbol","attachment","badge","badge_fill","barGraph","barGraph_fill","baseball","baseball_fill","baseballBat_fill","basket","basket_fill","basketball","basketball_fill","beachUmbrella","beachUmbrella_fill","bed","bed_fill","beer","beer_fill","bell","bell_fill","bellOff","bellOff_fill","bellPlus","bill","bill_fill","billing","billing_fill","binoculars","binoculars_fill","biometrics","birthdayCake","birthdayCake_fill","blockPerson","blockPerson_fill","bookmark","bookmark_fill","box","box_fill","briefcase","briefcase_fill","bubbleGraph","bubbleGraph_fill","bulletList","bulletListRectangle","bulletListRectangle_fill","bus","bus_fill","cal01","cal01_fill","cal02","cal02_fill","cal03","cal03_fill","cal04","cal04_fill","cal05","cal05_fill","cal06","cal06_fill","cal07","cal07_fill","cal08","cal08_fill","cal09","cal09_fill","cal10","cal10_fill","cal11","cal11_fill","cal12","cal12_fill","cal13","cal13_fill","cal14","cal14_fill","cal15","cal15_fill","cal16","cal16_fill","cal17","cal17_fill","cal18","cal18_fill","cal19","cal19_fill","cal20","cal20_fill","cal21","cal21_fill","cal22","cal22_fill","cal23","cal23_fill","cal24","cal24_fill","cal25","cal25_fill","cal26","cal26_fill","cal27","cal27_fill","cal28","cal28_fill","cal29","cal29_fill","cal30","cal30_fill","cal31","cal31_fill","calendar","calendar_fill","camera","camera_fill","candy","canvas","canvas_fill","capitolBuilding","capitolBuilding_fill","capsule","capsule_fill","car","car_fill","card","card_fill","cart","castAnimationFrame1","castAnimationFrame2","castUnavailable","centerAligned","cfl_fill","changeFont","checkboxMixed","checkboxMixed_fill","checkboxSelected","checkboxSelected_fill","checkboxUnselected","checkmarkSelected","chevronBack","chevronDown","chevronNext","chevronUp","chromeCast","chromeCast_fill","cleats","cleats_fill","clientAssist","clientAssist_fill","clock","clock_fill","close","closedCaptioning","closedCaptioning_fill","cloud","cloud_fill","cloudDay","cloudDrive","cloudDrive_fill","cloudNight","code","coffeeCup","coffeeCup_fill","coffeeMug","coffeeMug_fill","collapseList","collegeFootball","collegeFootball_fill","colorPalette","colorPalette_fill","comedyTragedyMasks","comedyTragedyMasks_fill","comment","comment_fill","compass","compass_fill","compose","compose_fill","contactBook","contactBook_fill","contactCard","contactCard_fill","convenienceStore","convenienceStore_fill","conversations","conversations_fill","copy","copy_fill","copyright","copyright_fill","creativeCommons","creativeCommons_fill","creditCard","creditCard_fill","crescentMoon","crescentMoonAlt","cryptocurrency","cryptocurrency_fill","cursor","cut","dashboard","dashboard_fill","dating","dating_fill","decline","decline_fill","descender","desktop","desktop_fill","diamond","diamond_fill","direction","direction_fill","discoBall","document","document_fill","dollar","doubleLeft","doubleRight","draft","draft_fill","dragBars","dragBarsAlt","dressForm_fill","dressFrom","dusk","dusk_fill","eclipse","eclipse_fill","edit","edit_fill","emoticon","emoticon_fill","euro","exchange","exclamation","exclamation_fill","exclamationAlt","exclamationAlt_fill","exitFullscreen","expand","expandAlt","expandList","eye","eyeSlash","eyelash","fantasyBaseball","fantasyBaseball_fill","fantasyFootball","fantasyFootball_fill","files","files_fill","filter","finance","firstQuarter","flag","flag_fill","flower","fog","fogDay","fogNight","folder","folder_fill","foodAndDrink","foodAndDrink_fill","football","football_fill","forkKnife","forward","forward_fill","fourColumn","fourColumn_fill","fullMoon","fullscreen","fullscreenAudio","gallery","gallery_fill","gasStation","gear","gear_fill","gif","gif_fill","globe","golf","grid","groups","groups_fill","guitar","halfSun","halfSun_fill","hand","hashtag","haze","hazeDay","hazeNight","heart","heart_fill","heavyRain","heavyRainDay","heavyRainLightning","heavyRainLightningDay","heavyRainLightningNight","heavyRainNight","history","hockey","home","home_fill","hurricane","inbox","inbox_fill","indent","information","information_fill","invitation","invitation_fill","italic","key","keyAlt","keypad","lastQuarter","layout","layout_fill","layoutGrid","layoutList","leftAligned","leftToRight","lifePreserver","lightning","lightningBolt","lightningBolt_fill","lightningDay","lightningNight","lineGraph","lineTypeBar","lineTypeCandlestick","link","lipstick","lipstick_fill","list","live","locationArrow","locationArrow_fill","lock","lock_fill","logout","magnifyingGlass","magnifyingGlass_fill","mail","mail_fill","manageAccount","manageAccount_fill","map","mapPin","mapPin_fill","martini","martini_fill","meMail","medal","medal_fill","medicalKit","medicalKit_fill","metrics","mic","mic_fill","micOff","micOff_fill","microscope","microscope_fill","minus","mlb","moveToFolder","moveToFolder_fill","movies","movies_fill","music","music_fill","ncaab","newComment","newComment_fill","newMoon","news","news_fill","nextTrack","nfc","nfl","notes","notes_fill","null","numberedList","oneColumn","oneColumn_fill","outbox","outbox_fill","outdent","overflow","overflowMail","overflowVertical","paperclip","parenting","parenting_fill","parking","parks","parks_fill","pause","paw","pawn","pawn_fill","person","person_fill","personArrowUturnLeft","personArrowUturnLeft_fill","phone","phone_fill","picture","picture_fill","pieChart","pieChart_fill","play","play_fill","playInCircle","playInCircle_fill","playMini","plus","poll","poll_fill","popular","power","print","print_fill","pro","profile","profile_fill","prohibitionSign","pulse","question","question_fill","racingFlag","radioSelected","radioSelected_fill","radioUnselected","rain","rainDay","rainNight","raindrop","raindropDay","raindropNight","reblog","reblogAlt","recreation","refresh","refreshAlt","removePerson","removePerson_fill","replay","reply","reply_fill","replyAll","replyAll_fill","reverse","revisions","revisions_fill","riceBowl","rightAligned","rightToLeft","rugby","scissors","searchMail","searchMail_fill","searchWeb","seekBackward10","seekForward10","segments","segments_fill","selector","sendScheduled","sendScheduled_fill","sent","sent_fill","shield","shieldWithCheckMark","shieldWithCheckMark_fill","shieldWithProhibitionSign","shieldWithProhibitionSign_fill","shieldWithX","shieldWithX_fill","shoppingBag","shoppingBag_fill","shrink","sidebar","sidebarError","skull","skull_fill","slideRule","smartPhone","smartPhone_fill","smiley","smiley_fill","snow","snowDay","snowNight","snowflake","soccer","spellCheck","sprinkle","sprinkleDay","sprinkleNight","squareArrowDiagonalUpRight","stadium","star","star_fill","stardust","stardust_fill","stationery","stationery_fill","stationeryFall","stationeryFall_fill","stationerySpring","stationerySpring_fill","stationeryWinter","stationeryWinter_fill","statistics","stop","stopwatch","stopwatch_fill","stream","sun","sun_fill","sunrise","supply","supply_fill","suspicious","suspicious_fill","swipeleft","swipeleft_fill","swiperight","swiperight_fill","tablet","tablet_fill","tag","tag_fill","target","targetArrow","tech","tech_fill","techAlt","textColor","textHighlight","textHighlight_fill","theme","theme_fill","threeColumn","threeColumn_fill","thumbDown","thumbDown_fill","thumbUp","thumbUp_fill","tornado","train","train_fill","trashCan","trashCan_fill","travel","travel_fill","trending","truck","truck_fill","tsunami","tv","tv_fill","twoColumn","twoColumn_fill","underline","unsub","unsub_fill","videoCamera","videoCamera_fill","videoCameraOff","videoCameraOff_fill","volume","volumeLow","volumeMute","waningCrescent","waningGibbous","waxingCrescent","waxingGibbous","wellness","wifi","wifiOffline","wind","windCloud","windDay","windNight","wine","wine_fill","wrench","wrench_fill","yahooPlus","zoomIn","zoomOut"];0&&(module.exports={alwaysPaletteAliases,avatarSizes,backgroundColors,backgroundPaletteColors,backgroundWashPaletteColors,borderWidths,buttonSizes,buttonVariants,colorModes,corePaletteColors,elevationPaletteColors,elevations,fontFamilies,fontSizes,fontWeights,foregroundColors,foregroundPaletteColors,hueSteps,hues,iconNames,iconSizes,lineColors,lineHeights,linePaletteColors,palette,regionModes,scaleModes,shapes,spacingAliases,spectrumColors,textRamp,textTransforms,textVariants});
|
1
|
+
"use strict";var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var b=(e,l)=>{for(var t in l)o(e,t,{get:l[t],enumerable:!0})},m=(e,l,t,p)=>{if(l&&typeof l=="object"||typeof l=="function")for(let i of g(l))!_.call(e,i)&&i!==t&&o(e,i,{get:()=>l[i],enumerable:!(p=u(l,i))||p.enumerable});return e};var h=e=>m(o({},"__esModule",{value:!0}),e);var V={};b(V,{alwaysPaletteAliases:()=>n,avatarSizes:()=>W,backgroundColors:()=>D,backgroundPaletteColors:()=>r,backgroundWashPaletteColors:()=>s,borderWidths:()=>T,buttonSizes:()=>q,buttonVariants:()=>K,colorModes:()=>y,corePaletteColors:()=>a,elevationPaletteColors:()=>c,elevations:()=>G,fontFamilies:()=>F,fontSizes:()=>U,fontWeights:()=>M,foregroundColors:()=>A,foregroundPaletteColors:()=>f,hueSteps:()=>C,hues:()=>x,iconNames:()=>I,iconSizes:()=>z,lineColors:()=>S,lineHeights:()=>R,linePaletteColors:()=>d,palette:()=>L,regionModes:()=>k,scaleModes:()=>w,shapes:()=>E,spacingAliases:()=>O,spectrumColors:()=>v,textRamp:()=>N,textTransforms:()=>B,textVariants:()=>P});module.exports=h(V);var y=["light","dark"],w=["xSmall","small","medium","large","xLarge","xxLarge","xxxLarge"],k=["\u{1F1FA}\u{1F1F8} US","\u{1F1E9}\u{1F1EA} DE","\u{1F1EB}\u{1F1F7} FR","\u{1F1E8}\u{1F1F3} CN"],x=["gray","purple","indigo","blue","cyan","teal","mint","green","lime","citron","yellow","brown","nude","orange","sunset","red","rose","pink","magenta","carbon"],C=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15"],v=["gray-0","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","purple-0","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","indigo-0","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","blue-0","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","cyan-0","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","teal-0","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","mint-0","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","green-0","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","lime-0","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","citron-0","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","yellow-0","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","brown-0","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","nude-0","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","orange-0","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","sunset-0","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","red-0","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","rose-0","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","pink-0","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","magenta-0","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","carbon-0","carbon-1","carbon-2","carbon-3","carbon-4","carbon-5","carbon-6","carbon-7","carbon-8","carbon-9","carbon-10","carbon-11","carbon-12","carbon-13","carbon-14","carbon-15"],a=["accent","alert","brand","positive","warning"],r=["primary","secondary"],s=["accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],c=["elevation-1","elevation-2","elevation-3","elevation-3-inverse","overlay"],f=["primary","secondary","tertiary","muted","on-color"],d=["primary","secondary","tertiary","muted"],n=["transparent","white","black"],D=[...a,...r,...s,...c,...n],A=[...a,...f,...n],S=[...a,...d,...n],L={core:a,background:r,backgroundWash:s,elevation:c,foreground:f,line:d},P=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],F=["icons","sans","sans-beta","sans-condensed","serif-text","serif-display"],M=["light","medium","black","thin","extralight","regular","semibold","bold","extrabold"],B=["none","uppercase","lowercase","capitalize"],U=[10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,34,36,38,46,47,48,50,52,54],R=[12,16,20,24,28,32,36,48,40,44],N={xSmall:{display1:-2,title1:-3,title2:-3,title3:-3,title4:-3,headline1:-3,body1:-3,label1:-2,label2:-2,caption1:-1,caption2:-1,legal1:-1},small:{display1:-2,title1:-2,title2:-2,title3:-2,title4:-2,headline1:-2,body1:-2,label1:-1,label2:-1,caption1:0,caption2:0,legal1:0},medium:{display1:-1,title1:-1,title2:-1,title3:-1,title4:-1,headline1:-1,body1:-1,label1:-1,label2:-1,caption1:0,caption2:0,legal1:0},large:{display1:0,title1:0,title2:0,title3:0,title4:0,headline1:0,body1:0,label1:0,label2:0,caption1:0,caption2:0,legal1:0},xLarge:{display1:2,title1:2,title2:2,title3:2,title4:2,headline1:2,body1:0,label1:2,label2:2,caption1:2,caption2:2,legal1:2},xxLarge:{display1:4,title1:4,title2:4,title3:4,title4:6,headline1:4,body1:4,label1:4,label2:4,caption1:4,caption2:4,legal1:4},xxxLarge:{display1:6,title1:6,title2:6,title3:6,title4:8,headline1:6,body1:6,label1:6,label2:6,caption1:6,caption2:6,legal1:6}},W=["s","m","l"],T=["0","1","2","4","8"],G=["1","2","3"],z=["s","m","l"],O=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14"],E=["s","m","l","square","xs","xl","xxl","circle"],K=["accent","alert","brand","positive","warning","secondary","accent-wash","alert-wash","brand-wash","positive-wash","warning-wash","accent-outline","alert-outline","brand-outline","positive-outline","warning-outline","accent-ghost","alert-ghost","brand-ghost","positive-ghost","warning-ghost","primary-ghost","primary-outline"],q=["s","m","l"],I=["sunset","bold","academicCap","academicCap_fill","accept","accept_fill","accessibility","accountKey","accountKey_fill","accountKeyAndroid","accountKeyAndroid_fill","addAttachments","addAttachments_fill","addDocument","addDocument_fill","addFolder","addFolder_fill","addLink","addPerson","addPerson_fill","addToCalendar","addToCalendar_fill","ads","adsEuro","adsPound","alarmClock","alarmClock_fill","analytics","announcement","announcement_fill","appPublishing","appPublishing_fill","apparel","apparel_fill","appleWatch_fill","ar3d","archive","archive_fill","arrowCurveLeft","arrowCurveRight","arrowCurveUp","arrowDown","arrowDownAboveLine","arrowDownAndIn","arrowLeft","arrowRight","arrowUp","arrowUpAndOut","arrowUpUnderLine","ascender","astroAquarius","astroAries","astroCancer","astroCapricorn","astroGemini","astroLeo","astroLibra","astroPisces","astroSagittarius","astroScorpio","astroTaurus","astroVirgo","atSymbol","attachment","badge","badge_fill","barGraph","barGraph_fill","baseball","baseball_fill","baseballBat_fill","basket","basket_fill","basketball","basketball_fill","beachUmbrella","beachUmbrella_fill","bed","bed_fill","beer","beer_fill","bell","bell_fill","bellOff","bellOff_fill","bellPlus","bill","bill_fill","billing","billing_fill","binoculars","binoculars_fill","biometrics","birthdayCake","birthdayCake_fill","blockPerson","blockPerson_fill","bookmark","bookmark_fill","box","box_fill","briefcase","briefcase_fill","bubbleGraph","bubbleGraph_fill","bulletList","bulletListRectangle","bulletListRectangle_fill","bus","bus_fill","cal01","cal01_fill","cal02","cal02_fill","cal03","cal03_fill","cal04","cal04_fill","cal05","cal05_fill","cal06","cal06_fill","cal07","cal07_fill","cal08","cal08_fill","cal09","cal09_fill","cal10","cal10_fill","cal11","cal11_fill","cal12","cal12_fill","cal13","cal13_fill","cal14","cal14_fill","cal15","cal15_fill","cal16","cal16_fill","cal17","cal17_fill","cal18","cal18_fill","cal19","cal19_fill","cal20","cal20_fill","cal21","cal21_fill","cal22","cal22_fill","cal23","cal23_fill","cal24","cal24_fill","cal25","cal25_fill","cal26","cal26_fill","cal27","cal27_fill","cal28","cal28_fill","cal29","cal29_fill","cal30","cal30_fill","cal31","cal31_fill","calendar","calendar_fill","camera","camera_fill","candy","canvas","canvas_fill","capitolBuilding","capitolBuilding_fill","capsule","capsule_fill","car","car_fill","card","card_fill","cart","castAnimationFrame1","castAnimationFrame2","castUnavailable","centerAligned","cfl_fill","changeFont","checkboxMixed","checkboxMixed_fill","checkboxSelected","checkboxSelected_fill","checkboxUnselected","checkmarkSelected","chevronBack","chevronDown","chevronNext","chevronUp","chromeCast","chromeCast_fill","cleats","cleats_fill","clientAssist","clientAssist_fill","clock","clock_fill","close","closedCaptioning","closedCaptioning_fill","cloud","cloud_fill","cloudDay","cloudDrive","cloudDrive_fill","cloudNight","code","coffeeCup","coffeeCup_fill","coffeeMug","coffeeMug_fill","collapseList","collegeFootball","collegeFootball_fill","colorPalette","colorPalette_fill","comedyTragedyMasks","comedyTragedyMasks_fill","comment","comment_fill","compass","compass_fill","compose","compose_fill","contactBook","contactBook_fill","contactCard","contactCard_fill","convenienceStore","convenienceStore_fill","conversations","conversations_fill","copy","copy_fill","copyright","copyright_fill","creativeCommons","creativeCommons_fill","creditCard","creditCard_fill","crescentMoon","crescentMoonAlt","cryptocurrency","cryptocurrency_fill","cursor","cut","dashboard","dashboard_fill","dating","dating_fill","decline","decline_fill","descender","desktop","desktop_fill","diamond","diamond_fill","direction","direction_fill","discoBall","document","document_fill","dollar","doubleLeft","doubleRight","draft","draft_fill","dragBars","dragBarsAlt","dressForm_fill","dressFrom","dusk","dusk_fill","eclipse","eclipse_fill","edit","edit_fill","emoticon","emoticon_fill","euro","exchange","exclamation","exclamation_fill","exclamationAlt","exclamationAlt_fill","exitFullscreen","expand","expandAlt","expandList","eye","eyeSlash","eyelash","fantasyBaseball","fantasyBaseball_fill","fantasyFootball","fantasyFootball_fill","files","files_fill","filter","finance","firstQuarter","flag","flag_fill","flower","fog","fogDay","fogNight","folder","folder_fill","foodAndDrink","foodAndDrink_fill","football","football_fill","forkKnife","forward","forward_fill","fourColumn","fourColumn_fill","fullMoon","fullscreen","fullscreenAudio","gallery","gallery_fill","gasStation","gear","gear_fill","gif","gif_fill","globe","golf","grid","groups","groups_fill","guitar","halfSun","halfSun_fill","hand","hashtag","haze","hazeDay","hazeNight","heart","heart_fill","heavyRain","heavyRainDay","heavyRainLightning","heavyRainLightningDay","heavyRainLightningNight","heavyRainNight","history","hockey","home","home_fill","hurricane","inbox","inbox_fill","indent","information","information_fill","invitation","invitation_fill","italic","key","keyAlt","keypad","lastQuarter","layout","layout_fill","layoutGrid","layoutList","leftAligned","leftToRight","lifePreserver","lightning","lightningBolt","lightningBolt_fill","lightningDay","lightningNight","lineGraph","lineTypeBar","lineTypeCandlestick","link","lipstick","lipstick_fill","list","live","locationArrow","locationArrow_fill","lock","lock_fill","logout","magnifyingGlass","magnifyingGlass_fill","mail","mail_fill","manageAccount","manageAccount_fill","map","mapPin","mapPin_fill","martini","martini_fill","meMail","medal","medal_fill","medicalKit","medicalKit_fill","metrics","mic","mic_fill","micOff","micOff_fill","microscope","microscope_fill","minus","mlb","moveToFolder","moveToFolder_fill","movies","movies_fill","music","music_fill","ncaab","newComment","newComment_fill","newMoon","news","news_fill","nextTrack","nfc","nfl","notes","notes_fill","null","numberedList","oneColumn","oneColumn_fill","outbox","outbox_fill","outdent","overflow","overflowMail","overflowVertical","paperclip","parenting","parenting_fill","parking","parks","parks_fill","pause","paw","pawn","pawn_fill","person","person_fill","personArrowUturnLeft","personArrowUturnLeft_fill","phone","phone_fill","picture","picture_fill","pieChart","pieChart_fill","play","play_fill","playInCircle","playInCircle_fill","playMini","plus","poll","poll_fill","popular","power","print","print_fill","pro","profile","profile_fill","prohibitionSign","pulse","question","question_fill","racingFlag","radioSelected","radioSelected_fill","radioUnselected","rain","rainDay","rainNight","raindrop","raindropDay","raindropNight","reblog","reblogAlt","recreation","refresh","refreshAlt","removePerson","removePerson_fill","replay","reply","reply_fill","replyAll","replyAll_fill","reverse","revisions","revisions_fill","riceBowl","rightAligned","rightToLeft","rugby","scissors","searchMail","searchMail_fill","searchWeb","seekBackward10","seekForward10","segments","segments_fill","selector","sendScheduled","sendScheduled_fill","sent","sent_fill","shield","shieldWithCheckMark","shieldWithCheckMark_fill","shieldWithProhibitionSign","shieldWithProhibitionSign_fill","shieldWithX","shieldWithX_fill","shoppingBag","shoppingBag_fill","shrink","sidebar","sidebarError","skull","skull_fill","slideRule","smartPhone","smartPhone_fill","smiley","smiley_fill","snow","snowDay","snowNight","snowflake","soccer","spellCheck","sprinkle","sprinkleDay","sprinkleNight","squareArrowDiagonalUpRight","stadium","star","star_fill","stardust","stardust_fill","stationery","stationery_fill","stationeryFall","stationeryFall_fill","stationerySpring","stationerySpring_fill","stationeryWinter","stationeryWinter_fill","statistics","stop","stopwatch","stopwatch_fill","stream","sun","sun_fill","sunrise","supply","supply_fill","suspicious","suspicious_fill","swipeleft","swipeleft_fill","swiperight","swiperight_fill","tablet","tablet_fill","tag","tag_fill","target","targetArrow","tech","tech_fill","techAlt","textColor","textHighlight","textHighlight_fill","theme","theme_fill","threeColumn","threeColumn_fill","thumbDown","thumbDown_fill","thumbUp","thumbUp_fill","tornado","train","train_fill","trashCan","trashCan_fill","travel","travel_fill","trending","truck","truck_fill","tsunami","tv","tv_fill","twoColumn","twoColumn_fill","underline","unsub","unsub_fill","videoCamera","videoCamera_fill","videoCameraOff","videoCameraOff_fill","volume","volumeLow","volumeMute","waningCrescent","waningGibbous","waxingCrescent","waxingGibbous","wellness","wifi","wifiOffline","wind","windCloud","windDay","windNight","wine","wine_fill","wrench","wrench_fill","yahooPlus","zoomIn","zoomOut"];0&&(module.exports={alwaysPaletteAliases,avatarSizes,backgroundColors,backgroundPaletteColors,backgroundWashPaletteColors,borderWidths,buttonSizes,buttonVariants,colorModes,corePaletteColors,elevationPaletteColors,elevations,fontFamilies,fontSizes,fontWeights,foregroundColors,foregroundPaletteColors,hueSteps,hues,iconNames,iconSizes,lineColors,lineHeights,linePaletteColors,palette,regionModes,scaleModes,shapes,spacingAliases,spectrumColors,textRamp,textTransforms,textVariants});
|
@@ -26,8 +26,8 @@ declare const textVariants: readonly ["display1", "title1", "title2", "title3",
|
|
26
26
|
declare const fontFamilies: readonly ["icons", "sans", "sans-beta", "sans-condensed", "serif-text", "serif-display"];
|
27
27
|
declare const fontWeights: readonly ["light", "medium", "black", "thin", "extralight", "regular", "semibold", "bold", "extrabold"];
|
28
28
|
declare const textTransforms: readonly ["none", "uppercase", "lowercase", "capitalize"];
|
29
|
-
declare const fontSizes: readonly [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 38, 46, 47, 48, 52, 54];
|
30
|
-
declare const lineHeights: readonly [12, 16, 20, 24, 28, 32, 36, 40, 44
|
29
|
+
declare const fontSizes: readonly [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 38, 46, 47, 48, 50, 52, 54];
|
30
|
+
declare const lineHeights: readonly [12, 16, 20, 24, 28, 32, 36, 48, 40, 44];
|
31
31
|
declare const textRamp: {
|
32
32
|
readonly xSmall: {
|
33
33
|
readonly display1: -2;
|
package/dist/fixtures/index.d.ts
CHANGED
@@ -26,8 +26,8 @@ declare const textVariants: readonly ["display1", "title1", "title2", "title3",
|
|
26
26
|
declare const fontFamilies: readonly ["icons", "sans", "sans-beta", "sans-condensed", "serif-text", "serif-display"];
|
27
27
|
declare const fontWeights: readonly ["light", "medium", "black", "thin", "extralight", "regular", "semibold", "bold", "extrabold"];
|
28
28
|
declare const textTransforms: readonly ["none", "uppercase", "lowercase", "capitalize"];
|
29
|
-
declare const fontSizes: readonly [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 38, 46, 47, 48, 52, 54];
|
30
|
-
declare const lineHeights: readonly [12, 16, 20, 24, 28, 32, 36, 40, 44
|
29
|
+
declare const fontSizes: readonly [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 38, 46, 47, 48, 50, 52, 54];
|
30
|
+
declare const lineHeights: readonly [12, 16, 20, 24, 28, 32, 36, 48, 40, 44];
|
31
31
|
declare const textRamp: {
|
32
32
|
readonly xSmall: {
|
33
33
|
readonly display1: -2;
|