@autoguru/overdrive 4.41.0-next.2 → 4.41.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.css.d.ts","sourceRoot":"","sources":["../../lib/themes/theme.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.css.d.ts","sourceRoot":"","sources":["../../lib/themes/theme.css.ts"],"names":[],"mappings":"AA6TA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC;AACrE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAC;AAGtE,eAAO,MAAM,SAAS,QAKpB,CAAC"}
|
package/dist/themes/theme.css.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
|
5
5
|
__vanilla_filescope__.setFileScope("lib/themes/theme.css.ts", "@autoguru/overdrive");
|
|
6
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
|
-
import { createThemeContract, createGlobalThemeContract } from '@vanilla-extract/css';
|
|
8
|
+
import { createThemeContract, createGlobalThemeContract, style } from '@vanilla-extract/css';
|
|
9
9
|
import { buildColourGamut } from "./makeTheme.js";
|
|
10
10
|
const colours = {
|
|
11
11
|
black: {
|
|
@@ -308,5 +308,10 @@ const THEME_CONTRACT = {
|
|
|
308
308
|
};
|
|
309
309
|
export const themeContractVars = createThemeContract(THEME_CONTRACT);
|
|
310
310
|
export const globalTokens = createGlobalThemeContract(THEME_CONTRACT);
|
|
311
|
-
export
|
|
311
|
+
export const container = style({
|
|
312
|
+
fontFamily: globalTokens.typography.fontFamily,
|
|
313
|
+
fontSize: globalTokens.typography.size[4].fontSize,
|
|
314
|
+
fontWeight: globalTokens.typography.fontWeight.normal,
|
|
315
|
+
lineHeight: globalTokens.typography.size[4].lineHeight
|
|
316
|
+
}, "container");
|
|
312
317
|
__vanilla_filescope__.endFileScope();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autoguru/overdrive",
|
|
3
|
-
"version": "4.41.0-next.
|
|
3
|
+
"version": "4.41.0-next.3",
|
|
4
4
|
"description": "Overdrive is a product component library, and design system for AutoGuru.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"check-deps": "npx npm-check-updates@latest --interactive --format group",
|
|
42
42
|
"format": "prettier --list-different --write \"**/*.+(js|jsx|ts|tsx|json|yml|md|mdx|html)\"",
|
|
43
43
|
"format:staged": "prettier --write",
|
|
44
|
-
"prepublishOnly": "yarn run build && yarn run typeEmit",
|
|
44
|
+
"prepublishOnly": "yarn dlx rimraf ./dist && yarn run build && yarn run typeEmit",
|
|
45
45
|
"lint:tsc": "tsc --noEmit --skipLibCheck",
|
|
46
46
|
"lint:eslint": "eslint \"lib/**/*.+(ts|tsx)\" --fix --quiet",
|
|
47
47
|
"lint": "yarn run lint:eslint && yarn run lint:tsc",
|