@fluentui/tokens 1.0.0-alpha.19 → 1.0.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -2
- package/lib/global/fonts.js +2 -4
- package/lib/global/fonts.js.map +1 -1
- package/lib/global/index.js +8 -9
- package/lib/global/index.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/themes/index.js +2 -2
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/teams/index.js +3 -3
- package/lib/themes/teams/index.js.map +1 -1
- package/lib/themes/web/index.js +2 -2
- package/lib/themes/web/index.js.map +1 -1
- package/lib/utils/index.js +4 -4
- package/lib/utils/index.js.map +1 -1
- package/lib-commonjs/global/fonts.js +2 -4
- package/lib-commonjs/global/fonts.js.map +1 -1
- package/lib-commonjs/global/index.js +244 -9
- package/lib-commonjs/global/index.js.map +1 -1
- package/lib-commonjs/index.js +13 -13
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/themes/index.js +25 -3
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +20 -4
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +16 -3
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/utils/index.js +24 -5
- package/lib-commonjs/utils/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/tokens
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 06 Dec 2024 12:49:19 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [1.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.20)
|
|
8
|
+
|
|
9
|
+
Fri, 06 Dec 2024 12:49:19 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.19..@fluentui/tokens_v1.0.0-alpha.20)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- chore: remove usage of "export *" ([PR #33380](https://github.com/microsoft/fluentui/pull/33380) by olfedias@microsoft.com)
|
|
15
|
+
|
|
7
16
|
## [1.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.19)
|
|
8
17
|
|
|
9
|
-
Mon, 11 Nov 2024
|
|
18
|
+
Mon, 11 Nov 2024 10:00:39 GMT
|
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.18..@fluentui/tokens_v1.0.0-alpha.19)
|
|
11
20
|
|
|
12
21
|
### Changes
|
package/lib/global/fonts.js
CHANGED
|
@@ -29,9 +29,7 @@ export const fontWeights = {
|
|
|
29
29
|
fontWeightBold: 700
|
|
30
30
|
};
|
|
31
31
|
export const fontFamilies = {
|
|
32
|
-
fontFamilyBase:
|
|
33
|
-
"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
|
|
32
|
+
fontFamilyBase: "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
|
|
34
33
|
fontFamilyMonospace: "Consolas, 'Courier New', Courier, monospace",
|
|
35
|
-
fontFamilyNumeric:
|
|
36
|
-
"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
|
|
34
|
+
fontFamilyNumeric: "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
|
|
37
35
|
};
|
package/lib/global/fonts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/global/fonts.ts"],"sourcesContent":["import type { FontFamilyTokens, FontSizeTokens, FontWeightTokens, LineHeightTokens } from '../types';\n\nexport const fontSizes: FontSizeTokens = {\n fontSizeBase100: '10px',\n fontSizeBase200: '12px',\n fontSizeBase300: '14px',\n fontSizeBase400: '16px',\n fontSizeBase500: '20px',\n fontSizeBase600: '24px',\n\n fontSizeHero700: '28px',\n fontSizeHero800: '32px',\n fontSizeHero900: '40px',\n fontSizeHero1000: '68px',\n};\n\nexport const lineHeights: LineHeightTokens = {\n lineHeightBase100: '14px',\n lineHeightBase200: '16px',\n lineHeightBase300: '20px',\n lineHeightBase400: '22px',\n lineHeightBase500: '28px',\n lineHeightBase600: '32px',\n\n lineHeightHero700: '36px',\n lineHeightHero800: '40px',\n lineHeightHero900: '52px',\n lineHeightHero1000: '92px',\n};\n\nexport const fontWeights: FontWeightTokens = {\n fontWeightRegular: 400,\n fontWeightMedium: 500,\n fontWeightSemibold: 600,\n fontWeightBold: 700,\n};\n\nexport const fontFamilies: FontFamilyTokens = {\n fontFamilyBase:\n
|
|
1
|
+
{"version":3,"sources":["../src/global/fonts.ts"],"sourcesContent":["import type { FontFamilyTokens, FontSizeTokens, FontWeightTokens, LineHeightTokens } from '../types';\n\nexport const fontSizes: FontSizeTokens = {\n fontSizeBase100: '10px',\n fontSizeBase200: '12px',\n fontSizeBase300: '14px',\n fontSizeBase400: '16px',\n fontSizeBase500: '20px',\n fontSizeBase600: '24px',\n\n fontSizeHero700: '28px',\n fontSizeHero800: '32px',\n fontSizeHero900: '40px',\n fontSizeHero1000: '68px',\n};\n\nexport const lineHeights: LineHeightTokens = {\n lineHeightBase100: '14px',\n lineHeightBase200: '16px',\n lineHeightBase300: '20px',\n lineHeightBase400: '22px',\n lineHeightBase500: '28px',\n lineHeightBase600: '32px',\n\n lineHeightHero700: '36px',\n lineHeightHero800: '40px',\n lineHeightHero900: '52px',\n lineHeightHero1000: '92px',\n};\n\nexport const fontWeights: FontWeightTokens = {\n fontWeightRegular: 400,\n fontWeightMedium: 500,\n fontWeightSemibold: 600,\n fontWeightBold: 700,\n};\n\nexport const fontFamilies: FontFamilyTokens = {\n fontFamilyBase:\n \"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif\",\n fontFamilyMonospace: \"Consolas, 'Courier New', Courier, monospace\",\n fontFamilyNumeric:\n \"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif\",\n};\n"],"names":["fontSizes","fontSizeBase100","fontSizeBase200","fontSizeBase300","fontSizeBase400","fontSizeBase500","fontSizeBase600","fontSizeHero700","fontSizeHero800","fontSizeHero900","fontSizeHero1000","lineHeights","lineHeightBase100","lineHeightBase200","lineHeightBase300","lineHeightBase400","lineHeightBase500","lineHeightBase600","lineHeightHero700","lineHeightHero800","lineHeightHero900","lineHeightHero1000","fontWeights","fontWeightRegular","fontWeightMedium","fontWeightSemibold","fontWeightBold","fontFamilies","fontFamilyBase","fontFamilyMonospace","fontFamilyNumeric"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAEA,OAAO,MAAMA,YAA4B;IACvCC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IAEjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,kBAAkB;AACpB,EAAE;AAEF,OAAO,MAAMC,cAAgC;IAC3CC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IAEnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,oBAAoB;AACtB,EAAE;AAEF,OAAO,MAAMC,cAAgC;IAC3CC,mBAAmB;IACnBC,kBAAkB;IAClBC,oBAAoB;IACpBC,gBAAgB;AAClB,EAAE;AAEF,OAAO,MAAMC,eAAiC;IAC5CC,gBACE;IACFC,qBAAqB;IACrBC,mBACE;AACJ,EAAE"}
|
package/lib/global/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export * from "./typographyStyles.js";
|
|
1
|
+
export { borderRadius } from "./borderRadius.js";
|
|
2
|
+
export { anchor, beige, berry, black, blackAlpha, blue, brass, bronze, brown, burgundy, charcoal, cornflower, cranberry, cyan, darkBlue, darkBrown, darkGreen, darkOrange, darkPurple, darkRed, darkTeal, forest, gold, grape, green, grey, grey10Alpha, grey12Alpha, grey14Alpha, hcButtonFace, hcButtonText, hcCanvas, hcCanvasText, hcDisabled, hcHighlight, hcHighlightText, hcHyperlink, hotPink, lavender, lightBlue, lightGreen, lightTeal, lilac, lime, magenta, marigold, mink, navy, orange, orchid, peach, pink, platinum, plum, pumpkin, purple, red, royalBlue, seafoam, silver, steel, teal, white, whiteAlpha, yellow } from "./colors.js";
|
|
3
|
+
export { curves } from "./curves.js";
|
|
4
|
+
export { durations } from "./durations.js";
|
|
5
|
+
export { fontFamilies, fontSizes, fontWeights, lineHeights } from "./fonts.js";
|
|
6
|
+
export { horizontalSpacings, verticalSpacings } from "./spacings.js";
|
|
7
|
+
export { strokeWidths } from "./strokeWidths.js";
|
|
8
|
+
export { typographyStyles } from "./typographyStyles.js";
|
package/lib/global/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/global/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/global/index.ts"],"sourcesContent":["export { borderRadius } from './borderRadius';\nexport {\n anchor,\n beige,\n berry,\n black,\n blackAlpha,\n blue,\n brass,\n bronze,\n brown,\n burgundy,\n charcoal,\n cornflower,\n cranberry,\n cyan,\n darkBlue,\n darkBrown,\n darkGreen,\n darkOrange,\n darkPurple,\n darkRed,\n darkTeal,\n forest,\n gold,\n grape,\n green,\n grey,\n grey10Alpha,\n grey12Alpha,\n grey14Alpha,\n hcButtonFace,\n hcButtonText,\n hcCanvas,\n hcCanvasText,\n hcDisabled,\n hcHighlight,\n hcHighlightText,\n hcHyperlink,\n hotPink,\n lavender,\n lightBlue,\n lightGreen,\n lightTeal,\n lilac,\n lime,\n magenta,\n marigold,\n mink,\n navy,\n orange,\n orchid,\n peach,\n pink,\n platinum,\n plum,\n pumpkin,\n purple,\n red,\n royalBlue,\n seafoam,\n silver,\n steel,\n teal,\n white,\n whiteAlpha,\n yellow,\n} from './colors';\nexport { curves } from './curves';\nexport { durations } from './durations';\nexport { fontFamilies, fontSizes, fontWeights, lineHeights } from './fonts';\nexport { horizontalSpacings, verticalSpacings } from './spacings';\nexport { strokeWidths } from './strokeWidths';\nexport { typographyStyles } from './typographyStyles';\n"],"names":["borderRadius","anchor","beige","berry","black","blackAlpha","blue","brass","bronze","brown","burgundy","charcoal","cornflower","cranberry","cyan","darkBlue","darkBrown","darkGreen","darkOrange","darkPurple","darkRed","darkTeal","forest","gold","grape","green","grey","grey10Alpha","grey12Alpha","grey14Alpha","hcButtonFace","hcButtonText","hcCanvas","hcCanvasText","hcDisabled","hcHighlight","hcHighlightText","hcHyperlink","hotPink","lavender","lightBlue","lightGreen","lightTeal","lilac","lime","magenta","marigold","mink","navy","orange","orchid","peach","pink","platinum","plum","pumpkin","purple","red","royalBlue","seafoam","silver","steel","teal","white","whiteAlpha","yellow","curves","durations","fontFamilies","fontSizes","fontWeights","lineHeights","horizontalSpacings","verticalSpacings","strokeWidths","typographyStyles"],"rangeMappings":";;;;;;;","mappings":"AAAA,SAASA,YAAY,QAAQ,oBAAiB;AAC9C,SACEC,MAAM,EACNC,KAAK,EACLC,KAAK,EACLC,KAAK,EACLC,UAAU,EACVC,IAAI,EACJC,KAAK,EACLC,MAAM,EACNC,KAAK,EACLC,QAAQ,EACRC,QAAQ,EACRC,UAAU,EACVC,SAAS,EACTC,IAAI,EACJC,QAAQ,EACRC,SAAS,EACTC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,IAAI,EACJC,KAAK,EACLC,KAAK,EACLC,IAAI,EACJC,WAAW,EACXC,WAAW,EACXC,WAAW,EACXC,YAAY,EACZC,YAAY,EACZC,QAAQ,EACRC,YAAY,EACZC,UAAU,EACVC,WAAW,EACXC,eAAe,EACfC,WAAW,EACXC,OAAO,EACPC,QAAQ,EACRC,SAAS,EACTC,UAAU,EACVC,SAAS,EACTC,KAAK,EACLC,IAAI,EACJC,OAAO,EACPC,QAAQ,EACRC,IAAI,EACJC,IAAI,EACJC,MAAM,EACNC,MAAM,EACNC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,IAAI,EACJC,OAAO,EACPC,MAAM,EACNC,GAAG,EACHC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,KAAK,EACLC,IAAI,EACJC,KAAK,EACLC,UAAU,EACVC,MAAM,QACD,cAAW;AAClB,SAASC,MAAM,QAAQ,cAAW;AAClC,SAASC,SAAS,QAAQ,iBAAc;AACxC,SAASC,YAAY,EAAEC,SAAS,EAAEC,WAAW,EAAEC,WAAW,QAAQ,aAAU;AAC5E,SAASC,kBAAkB,EAAEC,gBAAgB,QAAQ,gBAAa;AAClE,SAASC,YAAY,QAAQ,oBAAiB;AAC9C,SAASC,gBAAgB,QAAQ,wBAAqB"}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils';\n\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n ZIndexTokens,\n} from './types';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"rangeMappings":";;;;","mappings":"AAAA,SAASA,cAAc,EAAEC,sBAAsB,EAAEC,eAAe,EAAEC,YAAY,EAAEC,aAAa,QAAQ,oBAAW;AAChH,SAASC,eAAe,EAAEC,uBAAuB,EAAEC,gBAAgB,EAAEC,oBAAoB,QAAQ,mBAAU;AAE3G,SAASC,mBAAmB,QAAQ,2BAAwB;AAC5D,SAASC,MAAM,QAAQ,cAAW;AAClC,SAASC,gBAAgB,QAAQ,oBAAW"}
|
package/lib/themes/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme } from "./teams/index.js";
|
|
2
|
+
export { webDarkTheme, webLightTheme } from "./web/index.js";
|
package/lib/themes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/themes/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme } from './teams/index';\nexport { webDarkTheme, webLightTheme } from './web/index';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme"],"rangeMappings":";","mappings":"AAAA,SAASA,cAAc,EAAEC,sBAAsB,EAAEC,eAAe,QAAQ,mBAAgB;AACxF,SAASC,YAAY,EAAEC,aAAa,QAAQ,iBAAc"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { teamsLightTheme } from "./lightTheme.js";
|
|
2
|
+
export { teamsDarkTheme } from "./darkTheme.js";
|
|
3
|
+
export { teamsHighContrastTheme } from "./highContrastTheme.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/index.ts"],"sourcesContent":["export { teamsLightTheme } from './lightTheme';\nexport { teamsDarkTheme } from './darkTheme';\nexport { teamsHighContrastTheme } from './highContrastTheme';\n"],"names":["teamsLightTheme","teamsDarkTheme","teamsHighContrastTheme"],"rangeMappings":";;","mappings":"AAAA,SAASA,eAAe,QAAQ,kBAAe;AAC/C,SAASC,cAAc,QAAQ,iBAAc;AAC7C,SAASC,sBAAsB,QAAQ,yBAAsB"}
|
package/lib/themes/web/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { webLightTheme } from "./lightTheme.js";
|
|
2
|
+
export { webDarkTheme } from "./darkTheme.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/web/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/themes/web/index.ts"],"sourcesContent":["export { webLightTheme } from './lightTheme';\nexport { webDarkTheme } from './darkTheme';\n"],"names":["webLightTheme","webDarkTheme"],"rangeMappings":";","mappings":"AAAA,SAASA,aAAa,QAAQ,kBAAe;AAC7C,SAASC,YAAY,QAAQ,iBAAc"}
|
package/lib/utils/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { createLightTheme } from "./createLightTheme.js";
|
|
2
|
+
export { createDarkTheme } from "./createDarkTheme.js";
|
|
3
|
+
export { createTeamsDarkTheme } from "./createTeamsDarkTheme.js";
|
|
4
|
+
export { createHighContrastTheme } from "./createHighContrastTheme.js";
|
package/lib/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/utils/index.ts"],"sourcesContent":["export { createLightTheme } from './createLightTheme';\nexport { createDarkTheme } from './createDarkTheme';\nexport { createTeamsDarkTheme } from './createTeamsDarkTheme';\nexport { createHighContrastTheme } from './createHighContrastTheme';\n"],"names":["createLightTheme","createDarkTheme","createTeamsDarkTheme","createHighContrastTheme"],"rangeMappings":";;;","mappings":"AAAA,SAASA,gBAAgB,QAAQ,wBAAqB;AACtD,SAASC,eAAe,QAAQ,uBAAoB;AACpD,SAASC,oBAAoB,QAAQ,4BAAyB;AAC9D,SAASC,uBAAuB,QAAQ,+BAA4B"}
|
|
@@ -53,9 +53,7 @@ const fontWeights = {
|
|
|
53
53
|
fontWeightBold: 700
|
|
54
54
|
};
|
|
55
55
|
const fontFamilies = {
|
|
56
|
-
fontFamilyBase:
|
|
57
|
-
"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
|
|
56
|
+
fontFamilyBase: "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
|
|
58
57
|
fontFamilyMonospace: "Consolas, 'Courier New', Courier, monospace",
|
|
59
|
-
fontFamilyNumeric:
|
|
60
|
-
"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
|
|
58
|
+
fontFamilyNumeric: "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
|
|
61
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/global/fonts.ts"],"sourcesContent":["import type { FontFamilyTokens, FontSizeTokens, FontWeightTokens, LineHeightTokens } from '../types';\n\nexport const fontSizes: FontSizeTokens = {\n fontSizeBase100: '10px',\n fontSizeBase200: '12px',\n fontSizeBase300: '14px',\n fontSizeBase400: '16px',\n fontSizeBase500: '20px',\n fontSizeBase600: '24px',\n\n fontSizeHero700: '28px',\n fontSizeHero800: '32px',\n fontSizeHero900: '40px',\n fontSizeHero1000: '68px',\n};\n\nexport const lineHeights: LineHeightTokens = {\n lineHeightBase100: '14px',\n lineHeightBase200: '16px',\n lineHeightBase300: '20px',\n lineHeightBase400: '22px',\n lineHeightBase500: '28px',\n lineHeightBase600: '32px',\n\n lineHeightHero700: '36px',\n lineHeightHero800: '40px',\n lineHeightHero900: '52px',\n lineHeightHero1000: '92px',\n};\n\nexport const fontWeights: FontWeightTokens = {\n fontWeightRegular: 400,\n fontWeightMedium: 500,\n fontWeightSemibold: 600,\n fontWeightBold: 700,\n};\n\nexport const fontFamilies: FontFamilyTokens = {\n fontFamilyBase:\n
|
|
1
|
+
{"version":3,"sources":["../src/global/fonts.ts"],"sourcesContent":["import type { FontFamilyTokens, FontSizeTokens, FontWeightTokens, LineHeightTokens } from '../types';\n\nexport const fontSizes: FontSizeTokens = {\n fontSizeBase100: '10px',\n fontSizeBase200: '12px',\n fontSizeBase300: '14px',\n fontSizeBase400: '16px',\n fontSizeBase500: '20px',\n fontSizeBase600: '24px',\n\n fontSizeHero700: '28px',\n fontSizeHero800: '32px',\n fontSizeHero900: '40px',\n fontSizeHero1000: '68px',\n};\n\nexport const lineHeights: LineHeightTokens = {\n lineHeightBase100: '14px',\n lineHeightBase200: '16px',\n lineHeightBase300: '20px',\n lineHeightBase400: '22px',\n lineHeightBase500: '28px',\n lineHeightBase600: '32px',\n\n lineHeightHero700: '36px',\n lineHeightHero800: '40px',\n lineHeightHero900: '52px',\n lineHeightHero1000: '92px',\n};\n\nexport const fontWeights: FontWeightTokens = {\n fontWeightRegular: 400,\n fontWeightMedium: 500,\n fontWeightSemibold: 600,\n fontWeightBold: 700,\n};\n\nexport const fontFamilies: FontFamilyTokens = {\n fontFamilyBase:\n \"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif\",\n fontFamilyMonospace: \"Consolas, 'Courier New', Courier, monospace\",\n fontFamilyNumeric:\n \"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif\",\n};\n"],"names":["fontFamilies","fontSizes","fontWeights","lineHeights","fontSizeBase100","fontSizeBase200","fontSizeBase300","fontSizeBase400","fontSizeBase500","fontSizeBase600","fontSizeHero700","fontSizeHero800","fontSizeHero900","fontSizeHero1000","lineHeightBase100","lineHeightBase200","lineHeightBase300","lineHeightBase400","lineHeightBase500","lineHeightBase600","lineHeightHero700","lineHeightHero800","lineHeightHero900","lineHeightHero1000","fontWeightRegular","fontWeightMedium","fontWeightSemibold","fontWeightBold","fontFamilyBase","fontFamilyMonospace","fontFamilyNumeric"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAqCaA,YAAY;eAAZA;;IAnCAC,SAAS;eAATA;;IA4BAC,WAAW;eAAXA;;IAdAC,WAAW;eAAXA;;;AAdN,MAAMF,YAA4B;IACvCG,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IAEjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,iBAAiB;IACjBC,kBAAkB;AACpB;AAEO,MAAMV,cAAgC;IAC3CW,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IAEnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,mBAAmB;IACnBC,oBAAoB;AACtB;AAEO,MAAMrB,cAAgC;IAC3CsB,mBAAmB;IACnBC,kBAAkB;IAClBC,oBAAoB;IACpBC,gBAAgB;AAClB;AAEO,MAAM3B,eAAiC;IAC5C4B,gBACE;IACFC,qBAAqB;IACrBC,mBACE;AACJ"}
|
|
@@ -2,12 +2,247 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
anchor: function() {
|
|
13
|
+
return _colors.anchor;
|
|
14
|
+
},
|
|
15
|
+
beige: function() {
|
|
16
|
+
return _colors.beige;
|
|
17
|
+
},
|
|
18
|
+
berry: function() {
|
|
19
|
+
return _colors.berry;
|
|
20
|
+
},
|
|
21
|
+
black: function() {
|
|
22
|
+
return _colors.black;
|
|
23
|
+
},
|
|
24
|
+
blackAlpha: function() {
|
|
25
|
+
return _colors.blackAlpha;
|
|
26
|
+
},
|
|
27
|
+
blue: function() {
|
|
28
|
+
return _colors.blue;
|
|
29
|
+
},
|
|
30
|
+
borderRadius: function() {
|
|
31
|
+
return _borderRadius.borderRadius;
|
|
32
|
+
},
|
|
33
|
+
brass: function() {
|
|
34
|
+
return _colors.brass;
|
|
35
|
+
},
|
|
36
|
+
bronze: function() {
|
|
37
|
+
return _colors.bronze;
|
|
38
|
+
},
|
|
39
|
+
brown: function() {
|
|
40
|
+
return _colors.brown;
|
|
41
|
+
},
|
|
42
|
+
burgundy: function() {
|
|
43
|
+
return _colors.burgundy;
|
|
44
|
+
},
|
|
45
|
+
charcoal: function() {
|
|
46
|
+
return _colors.charcoal;
|
|
47
|
+
},
|
|
48
|
+
cornflower: function() {
|
|
49
|
+
return _colors.cornflower;
|
|
50
|
+
},
|
|
51
|
+
cranberry: function() {
|
|
52
|
+
return _colors.cranberry;
|
|
53
|
+
},
|
|
54
|
+
curves: function() {
|
|
55
|
+
return _curves.curves;
|
|
56
|
+
},
|
|
57
|
+
cyan: function() {
|
|
58
|
+
return _colors.cyan;
|
|
59
|
+
},
|
|
60
|
+
darkBlue: function() {
|
|
61
|
+
return _colors.darkBlue;
|
|
62
|
+
},
|
|
63
|
+
darkBrown: function() {
|
|
64
|
+
return _colors.darkBrown;
|
|
65
|
+
},
|
|
66
|
+
darkGreen: function() {
|
|
67
|
+
return _colors.darkGreen;
|
|
68
|
+
},
|
|
69
|
+
darkOrange: function() {
|
|
70
|
+
return _colors.darkOrange;
|
|
71
|
+
},
|
|
72
|
+
darkPurple: function() {
|
|
73
|
+
return _colors.darkPurple;
|
|
74
|
+
},
|
|
75
|
+
darkRed: function() {
|
|
76
|
+
return _colors.darkRed;
|
|
77
|
+
},
|
|
78
|
+
darkTeal: function() {
|
|
79
|
+
return _colors.darkTeal;
|
|
80
|
+
},
|
|
81
|
+
durations: function() {
|
|
82
|
+
return _durations.durations;
|
|
83
|
+
},
|
|
84
|
+
fontFamilies: function() {
|
|
85
|
+
return _fonts.fontFamilies;
|
|
86
|
+
},
|
|
87
|
+
fontSizes: function() {
|
|
88
|
+
return _fonts.fontSizes;
|
|
89
|
+
},
|
|
90
|
+
fontWeights: function() {
|
|
91
|
+
return _fonts.fontWeights;
|
|
92
|
+
},
|
|
93
|
+
forest: function() {
|
|
94
|
+
return _colors.forest;
|
|
95
|
+
},
|
|
96
|
+
gold: function() {
|
|
97
|
+
return _colors.gold;
|
|
98
|
+
},
|
|
99
|
+
grape: function() {
|
|
100
|
+
return _colors.grape;
|
|
101
|
+
},
|
|
102
|
+
green: function() {
|
|
103
|
+
return _colors.green;
|
|
104
|
+
},
|
|
105
|
+
grey: function() {
|
|
106
|
+
return _colors.grey;
|
|
107
|
+
},
|
|
108
|
+
grey10Alpha: function() {
|
|
109
|
+
return _colors.grey10Alpha;
|
|
110
|
+
},
|
|
111
|
+
grey12Alpha: function() {
|
|
112
|
+
return _colors.grey12Alpha;
|
|
113
|
+
},
|
|
114
|
+
grey14Alpha: function() {
|
|
115
|
+
return _colors.grey14Alpha;
|
|
116
|
+
},
|
|
117
|
+
hcButtonFace: function() {
|
|
118
|
+
return _colors.hcButtonFace;
|
|
119
|
+
},
|
|
120
|
+
hcButtonText: function() {
|
|
121
|
+
return _colors.hcButtonText;
|
|
122
|
+
},
|
|
123
|
+
hcCanvas: function() {
|
|
124
|
+
return _colors.hcCanvas;
|
|
125
|
+
},
|
|
126
|
+
hcCanvasText: function() {
|
|
127
|
+
return _colors.hcCanvasText;
|
|
128
|
+
},
|
|
129
|
+
hcDisabled: function() {
|
|
130
|
+
return _colors.hcDisabled;
|
|
131
|
+
},
|
|
132
|
+
hcHighlight: function() {
|
|
133
|
+
return _colors.hcHighlight;
|
|
134
|
+
},
|
|
135
|
+
hcHighlightText: function() {
|
|
136
|
+
return _colors.hcHighlightText;
|
|
137
|
+
},
|
|
138
|
+
hcHyperlink: function() {
|
|
139
|
+
return _colors.hcHyperlink;
|
|
140
|
+
},
|
|
141
|
+
horizontalSpacings: function() {
|
|
142
|
+
return _spacings.horizontalSpacings;
|
|
143
|
+
},
|
|
144
|
+
hotPink: function() {
|
|
145
|
+
return _colors.hotPink;
|
|
146
|
+
},
|
|
147
|
+
lavender: function() {
|
|
148
|
+
return _colors.lavender;
|
|
149
|
+
},
|
|
150
|
+
lightBlue: function() {
|
|
151
|
+
return _colors.lightBlue;
|
|
152
|
+
},
|
|
153
|
+
lightGreen: function() {
|
|
154
|
+
return _colors.lightGreen;
|
|
155
|
+
},
|
|
156
|
+
lightTeal: function() {
|
|
157
|
+
return _colors.lightTeal;
|
|
158
|
+
},
|
|
159
|
+
lilac: function() {
|
|
160
|
+
return _colors.lilac;
|
|
161
|
+
},
|
|
162
|
+
lime: function() {
|
|
163
|
+
return _colors.lime;
|
|
164
|
+
},
|
|
165
|
+
lineHeights: function() {
|
|
166
|
+
return _fonts.lineHeights;
|
|
167
|
+
},
|
|
168
|
+
magenta: function() {
|
|
169
|
+
return _colors.magenta;
|
|
170
|
+
},
|
|
171
|
+
marigold: function() {
|
|
172
|
+
return _colors.marigold;
|
|
173
|
+
},
|
|
174
|
+
mink: function() {
|
|
175
|
+
return _colors.mink;
|
|
176
|
+
},
|
|
177
|
+
navy: function() {
|
|
178
|
+
return _colors.navy;
|
|
179
|
+
},
|
|
180
|
+
orange: function() {
|
|
181
|
+
return _colors.orange;
|
|
182
|
+
},
|
|
183
|
+
orchid: function() {
|
|
184
|
+
return _colors.orchid;
|
|
185
|
+
},
|
|
186
|
+
peach: function() {
|
|
187
|
+
return _colors.peach;
|
|
188
|
+
},
|
|
189
|
+
pink: function() {
|
|
190
|
+
return _colors.pink;
|
|
191
|
+
},
|
|
192
|
+
platinum: function() {
|
|
193
|
+
return _colors.platinum;
|
|
194
|
+
},
|
|
195
|
+
plum: function() {
|
|
196
|
+
return _colors.plum;
|
|
197
|
+
},
|
|
198
|
+
pumpkin: function() {
|
|
199
|
+
return _colors.pumpkin;
|
|
200
|
+
},
|
|
201
|
+
purple: function() {
|
|
202
|
+
return _colors.purple;
|
|
203
|
+
},
|
|
204
|
+
red: function() {
|
|
205
|
+
return _colors.red;
|
|
206
|
+
},
|
|
207
|
+
royalBlue: function() {
|
|
208
|
+
return _colors.royalBlue;
|
|
209
|
+
},
|
|
210
|
+
seafoam: function() {
|
|
211
|
+
return _colors.seafoam;
|
|
212
|
+
},
|
|
213
|
+
silver: function() {
|
|
214
|
+
return _colors.silver;
|
|
215
|
+
},
|
|
216
|
+
steel: function() {
|
|
217
|
+
return _colors.steel;
|
|
218
|
+
},
|
|
219
|
+
strokeWidths: function() {
|
|
220
|
+
return _strokeWidths.strokeWidths;
|
|
221
|
+
},
|
|
222
|
+
teal: function() {
|
|
223
|
+
return _colors.teal;
|
|
224
|
+
},
|
|
225
|
+
typographyStyles: function() {
|
|
226
|
+
return _typographyStyles.typographyStyles;
|
|
227
|
+
},
|
|
228
|
+
verticalSpacings: function() {
|
|
229
|
+
return _spacings.verticalSpacings;
|
|
230
|
+
},
|
|
231
|
+
white: function() {
|
|
232
|
+
return _colors.white;
|
|
233
|
+
},
|
|
234
|
+
whiteAlpha: function() {
|
|
235
|
+
return _colors.whiteAlpha;
|
|
236
|
+
},
|
|
237
|
+
yellow: function() {
|
|
238
|
+
return _colors.yellow;
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
const _borderRadius = require("./borderRadius.js");
|
|
242
|
+
const _colors = require("./colors.js");
|
|
243
|
+
const _curves = require("./curves.js");
|
|
244
|
+
const _durations = require("./durations.js");
|
|
245
|
+
const _fonts = require("./fonts.js");
|
|
246
|
+
const _spacings = require("./spacings.js");
|
|
247
|
+
const _strokeWidths = require("./strokeWidths.js");
|
|
248
|
+
const _typographyStyles = require("./typographyStyles.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/global/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/global/index.ts"],"sourcesContent":["export { borderRadius } from './borderRadius';\nexport {\n anchor,\n beige,\n berry,\n black,\n blackAlpha,\n blue,\n brass,\n bronze,\n brown,\n burgundy,\n charcoal,\n cornflower,\n cranberry,\n cyan,\n darkBlue,\n darkBrown,\n darkGreen,\n darkOrange,\n darkPurple,\n darkRed,\n darkTeal,\n forest,\n gold,\n grape,\n green,\n grey,\n grey10Alpha,\n grey12Alpha,\n grey14Alpha,\n hcButtonFace,\n hcButtonText,\n hcCanvas,\n hcCanvasText,\n hcDisabled,\n hcHighlight,\n hcHighlightText,\n hcHyperlink,\n hotPink,\n lavender,\n lightBlue,\n lightGreen,\n lightTeal,\n lilac,\n lime,\n magenta,\n marigold,\n mink,\n navy,\n orange,\n orchid,\n peach,\n pink,\n platinum,\n plum,\n pumpkin,\n purple,\n red,\n royalBlue,\n seafoam,\n silver,\n steel,\n teal,\n white,\n whiteAlpha,\n yellow,\n} from './colors';\nexport { curves } from './curves';\nexport { durations } from './durations';\nexport { fontFamilies, fontSizes, fontWeights, lineHeights } from './fonts';\nexport { horizontalSpacings, verticalSpacings } from './spacings';\nexport { strokeWidths } from './strokeWidths';\nexport { typographyStyles } from './typographyStyles';\n"],"names":["anchor","beige","berry","black","blackAlpha","blue","borderRadius","brass","bronze","brown","burgundy","charcoal","cornflower","cranberry","curves","cyan","darkBlue","darkBrown","darkGreen","darkOrange","darkPurple","darkRed","darkTeal","durations","fontFamilies","fontSizes","fontWeights","forest","gold","grape","green","grey","grey10Alpha","grey12Alpha","grey14Alpha","hcButtonFace","hcButtonText","hcCanvas","hcCanvasText","hcDisabled","hcHighlight","hcHighlightText","hcHyperlink","horizontalSpacings","hotPink","lavender","lightBlue","lightGreen","lightTeal","lilac","lime","lineHeights","magenta","marigold","mink","navy","orange","orchid","peach","pink","platinum","plum","pumpkin","purple","red","royalBlue","seafoam","silver","steel","strokeWidths","teal","typographyStyles","verticalSpacings","white","whiteAlpha","yellow"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEEA,MAAM;eAANA,cAAM;;IACNC,KAAK;eAALA,aAAK;;IACLC,KAAK;eAALA,aAAK;;IACLC,KAAK;eAALA,aAAK;;IACLC,UAAU;eAAVA,kBAAU;;IACVC,IAAI;eAAJA,YAAI;;IAPGC,YAAY;eAAZA,0BAAY;;IAQnBC,KAAK;eAALA,aAAK;;IACLC,MAAM;eAANA,cAAM;;IACNC,KAAK;eAALA,aAAK;;IACLC,QAAQ;eAARA,gBAAQ;;IACRC,QAAQ;eAARA,gBAAQ;;IACRC,UAAU;eAAVA,kBAAU;;IACVC,SAAS;eAATA,iBAAS;;IAsDFC,MAAM;eAANA,cAAM;;IArDbC,IAAI;eAAJA,YAAI;;IACJC,QAAQ;eAARA,gBAAQ;;IACRC,SAAS;eAATA,iBAAS;;IACTC,SAAS;eAATA,iBAAS;;IACTC,UAAU;eAAVA,kBAAU;;IACVC,UAAU;eAAVA,kBAAU;;IACVC,OAAO;eAAPA,eAAO;;IACPC,QAAQ;eAARA,gBAAQ;;IA+CDC,SAAS;eAATA,oBAAS;;IACTC,YAAY;eAAZA,mBAAY;;IAAEC,SAAS;eAATA,gBAAS;;IAAEC,WAAW;eAAXA,kBAAW;;IA/C3CC,MAAM;eAANA,cAAM;;IACNC,IAAI;eAAJA,YAAI;;IACJC,KAAK;eAALA,aAAK;;IACLC,KAAK;eAALA,aAAK;;IACLC,IAAI;eAAJA,YAAI;;IACJC,WAAW;eAAXA,mBAAW;;IACXC,WAAW;eAAXA,mBAAW;;IACXC,WAAW;eAAXA,mBAAW;;IACXC,YAAY;eAAZA,oBAAY;;IACZC,YAAY;eAAZA,oBAAY;;IACZC,QAAQ;eAARA,gBAAQ;;IACRC,YAAY;eAAZA,oBAAY;;IACZC,UAAU;eAAVA,kBAAU;;IACVC,WAAW;eAAXA,mBAAW;;IACXC,eAAe;eAAfA,uBAAe;;IACfC,WAAW;eAAXA,mBAAW;;IAiCJC,kBAAkB;eAAlBA,4BAAkB;;IAhCzBC,OAAO;eAAPA,eAAO;;IACPC,QAAQ;eAARA,gBAAQ;;IACRC,SAAS;eAATA,iBAAS;;IACTC,UAAU;eAAVA,kBAAU;;IACVC,SAAS;eAATA,iBAAS;;IACTC,KAAK;eAALA,aAAK;;IACLC,IAAI;eAAJA,YAAI;;IAyByCC,WAAW;eAAXA,kBAAW;;IAxBxDC,OAAO;eAAPA,eAAO;;IACPC,QAAQ;eAARA,gBAAQ;;IACRC,IAAI;eAAJA,YAAI;;IACJC,IAAI;eAAJA,YAAI;;IACJC,MAAM;eAANA,cAAM;;IACNC,MAAM;eAANA,cAAM;;IACNC,KAAK;eAALA,aAAK;;IACLC,IAAI;eAAJA,YAAI;;IACJC,QAAQ;eAARA,gBAAQ;;IACRC,IAAI;eAAJA,YAAI;;IACJC,OAAO;eAAPA,eAAO;;IACPC,MAAM;eAANA,cAAM;;IACNC,GAAG;eAAHA,WAAG;;IACHC,SAAS;eAATA,iBAAS;;IACTC,OAAO;eAAPA,eAAO;;IACPC,MAAM;eAANA,cAAM;;IACNC,KAAK;eAALA,aAAK;;IAUEC,YAAY;eAAZA,0BAAY;;IATnBC,IAAI;eAAJA,YAAI;;IAUGC,gBAAgB;eAAhBA,kCAAgB;;IAFIC,gBAAgB;eAAhBA,0BAAgB;;IAP3CC,KAAK;eAALA,aAAK;;IACLC,UAAU;eAAVA,kBAAU;;IACVC,MAAM;eAANA,cAAM;;;8BAlEqB;wBAmEtB;wBACgB;2BACG;uBACwC;0BACb;8BACxB;kCACI"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -10,25 +10,25 @@ function _export(target, all) {
|
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
12
|
createDarkTheme: function() {
|
|
13
|
-
return
|
|
13
|
+
return _utils.createDarkTheme;
|
|
14
14
|
},
|
|
15
15
|
createHighContrastTheme: function() {
|
|
16
|
-
return
|
|
16
|
+
return _utils.createHighContrastTheme;
|
|
17
17
|
},
|
|
18
18
|
createLightTheme: function() {
|
|
19
|
-
return
|
|
19
|
+
return _utils.createLightTheme;
|
|
20
20
|
},
|
|
21
21
|
createTeamsDarkTheme: function() {
|
|
22
|
-
return
|
|
22
|
+
return _utils.createTeamsDarkTheme;
|
|
23
23
|
},
|
|
24
24
|
teamsDarkTheme: function() {
|
|
25
|
-
return
|
|
25
|
+
return _themes.teamsDarkTheme;
|
|
26
26
|
},
|
|
27
27
|
teamsHighContrastTheme: function() {
|
|
28
|
-
return
|
|
28
|
+
return _themes.teamsHighContrastTheme;
|
|
29
29
|
},
|
|
30
30
|
teamsLightTheme: function() {
|
|
31
|
-
return
|
|
31
|
+
return _themes.teamsLightTheme;
|
|
32
32
|
},
|
|
33
33
|
themeToTokensObject: function() {
|
|
34
34
|
return _themeToTokensObject.themeToTokensObject;
|
|
@@ -37,17 +37,17 @@ _export(exports, {
|
|
|
37
37
|
return _tokens.tokens;
|
|
38
38
|
},
|
|
39
39
|
typographyStyles: function() {
|
|
40
|
-
return
|
|
40
|
+
return _global.typographyStyles;
|
|
41
41
|
},
|
|
42
42
|
webDarkTheme: function() {
|
|
43
|
-
return
|
|
43
|
+
return _themes.webDarkTheme;
|
|
44
44
|
},
|
|
45
45
|
webLightTheme: function() {
|
|
46
|
-
return
|
|
46
|
+
return _themes.webLightTheme;
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
const
|
|
50
|
-
const
|
|
49
|
+
const _themes = require("./themes/index.js");
|
|
50
|
+
const _utils = require("./utils/index.js");
|
|
51
51
|
const _themeToTokensObject = require("./themeToTokensObject.js");
|
|
52
52
|
const _tokens = require("./tokens.js");
|
|
53
|
-
const
|
|
53
|
+
const _global = require("./global/index.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils';\n\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n ZIndexTokens,\n} from './types';\n"],"names":["createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","themeToTokensObject","tokens","typographyStyles","webDarkTheme","webLightTheme"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,eAAe;eAAfA,sBAAe;;IAAEC,uBAAuB;eAAvBA,8BAAuB;;IAAEC,gBAAgB;eAAhBA,uBAAgB;;IAAEC,oBAAoB;eAApBA,2BAAoB;;IADhFC,cAAc;eAAdA,sBAAc;;IAAEC,sBAAsB;eAAtBA,8BAAsB;;IAAEC,eAAe;eAAfA,uBAAe;;IAGvDC,mBAAmB;eAAnBA,wCAAmB;;IACnBC,MAAM;eAANA,cAAM;;IACNC,gBAAgB;eAAhBA,wBAAgB;;IALyCC,YAAY;eAAZA,oBAAY;;IAAEC,aAAa;eAAbA,qBAAa;;;wBAAQ;uBACJ;qCAE7D;wBACb;wBACU"}
|
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
teamsDarkTheme: function() {
|
|
13
|
+
return _index.teamsDarkTheme;
|
|
14
|
+
},
|
|
15
|
+
teamsHighContrastTheme: function() {
|
|
16
|
+
return _index.teamsHighContrastTheme;
|
|
17
|
+
},
|
|
18
|
+
teamsLightTheme: function() {
|
|
19
|
+
return _index.teamsLightTheme;
|
|
20
|
+
},
|
|
21
|
+
webDarkTheme: function() {
|
|
22
|
+
return _index1.webDarkTheme;
|
|
23
|
+
},
|
|
24
|
+
webLightTheme: function() {
|
|
25
|
+
return _index1.webLightTheme;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const _index = require("./teams/index.js");
|
|
29
|
+
const _index1 = require("./web/index.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/themes/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme } from './teams/index';\nexport { webDarkTheme, webLightTheme } from './web/index';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,cAAc;eAAdA,qBAAc;;IAAEC,sBAAsB;eAAtBA,6BAAsB;;IAAEC,eAAe;eAAfA,sBAAe;;IACvDC,YAAY;eAAZA,oBAAY;;IAAEC,aAAa;eAAbA,qBAAa;;;uBADoC;wBAC5B"}
|
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
teamsDarkTheme: function() {
|
|
13
|
+
return _darkTheme.teamsDarkTheme;
|
|
14
|
+
},
|
|
15
|
+
teamsHighContrastTheme: function() {
|
|
16
|
+
return _highContrastTheme.teamsHighContrastTheme;
|
|
17
|
+
},
|
|
18
|
+
teamsLightTheme: function() {
|
|
19
|
+
return _lightTheme.teamsLightTheme;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const _lightTheme = require("./lightTheme.js");
|
|
23
|
+
const _darkTheme = require("./darkTheme.js");
|
|
24
|
+
const _highContrastTheme = require("./highContrastTheme.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/index.ts"],"sourcesContent":["export { teamsLightTheme } from './lightTheme';\nexport { teamsDarkTheme } from './darkTheme';\nexport { teamsHighContrastTheme } from './highContrastTheme';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,cAAc;eAAdA,yBAAc;;IACdC,sBAAsB;eAAtBA,yCAAsB;;IAFtBC,eAAe;eAAfA,2BAAe;;;4BAAQ;2BACD;mCACQ"}
|
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
webDarkTheme: function() {
|
|
13
|
+
return _darkTheme.webDarkTheme;
|
|
14
|
+
},
|
|
15
|
+
webLightTheme: function() {
|
|
16
|
+
return _lightTheme.webLightTheme;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _lightTheme = require("./lightTheme.js");
|
|
20
|
+
const _darkTheme = require("./darkTheme.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/web/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/themes/web/index.ts"],"sourcesContent":["export { webLightTheme } from './lightTheme';\nexport { webDarkTheme } from './darkTheme';\n"],"names":["webDarkTheme","webLightTheme"],"rangeMappings":";;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,YAAY;eAAZA,uBAAY;;IADZC,aAAa;eAAbA,yBAAa;;;4BAAQ;2BACD"}
|
|
@@ -2,8 +2,27 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
createDarkTheme: function() {
|
|
13
|
+
return _createDarkTheme.createDarkTheme;
|
|
14
|
+
},
|
|
15
|
+
createHighContrastTheme: function() {
|
|
16
|
+
return _createHighContrastTheme.createHighContrastTheme;
|
|
17
|
+
},
|
|
18
|
+
createLightTheme: function() {
|
|
19
|
+
return _createLightTheme.createLightTheme;
|
|
20
|
+
},
|
|
21
|
+
createTeamsDarkTheme: function() {
|
|
22
|
+
return _createTeamsDarkTheme.createTeamsDarkTheme;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const _createLightTheme = require("./createLightTheme.js");
|
|
26
|
+
const _createDarkTheme = require("./createDarkTheme.js");
|
|
27
|
+
const _createTeamsDarkTheme = require("./createTeamsDarkTheme.js");
|
|
28
|
+
const _createHighContrastTheme = require("./createHighContrastTheme.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/utils/index.ts"],"sourcesContent":["export { createLightTheme } from './createLightTheme';\nexport { createDarkTheme } from './createDarkTheme';\nexport { createTeamsDarkTheme } from './createTeamsDarkTheme';\nexport { createHighContrastTheme } from './createHighContrastTheme';\n"],"names":["createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,eAAe;eAAfA,gCAAe;;IAEfC,uBAAuB;eAAvBA,gDAAuB;;IAHvBC,gBAAgB;eAAhBA,kCAAgB;;IAEhBC,oBAAoB;eAApBA,0CAAoB;;;kCAFI;iCACD;sCACK;yCACG"}
|