@material/typography
Advanced tools
Comparing version 15.0.0-canary.0e3dc8e38.0 to 15.0.0-canary.0e533c5a1.0
@@ -6,4 +6,4 @@ # Change Log | ||
# [15.0.0-canary.0e3dc8e38.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.0e3dc8e38.0) (2022-08-11) | ||
# [15.0.0-canary.0e533c5a1.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.0e533c5a1.0) (2023-05-05) | ||
**Note:** Version bump only for package @material/typography |
{ | ||
"name": "@material/typography", | ||
"description": "Typography classes, mixins, and variables for Material Components for the web", | ||
"version": "15.0.0-canary.0e3dc8e38.0", | ||
"version": "15.0.0-canary.0e533c5a1.0", | ||
"license": "MIT", | ||
@@ -19,7 +19,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/feature-targeting": "15.0.0-canary.0e3dc8e38.0", | ||
"@material/theme": "15.0.0-canary.0e3dc8e38.0", | ||
"@material/feature-targeting": "15.0.0-canary.0e533c5a1.0", | ||
"@material/theme": "15.0.0-canary.0e533c5a1.0", | ||
"tslib": "^2.1.0" | ||
}, | ||
"gitHead": "51983e03d07e3c1f50454770dc24ff8d6d6f97a1" | ||
"gitHead": "6b9b4497cc6457c9e92ab3abdaad626c73e610a4" | ||
} |
@@ -26,4 +26,4 @@ /** | ||
import * as fs from 'fs'; | ||
import * as path from 'path'; | ||
import {expectStylesWithNoFeaturesToBeEmpty} from '../../../testing/featuretargeting'; | ||
@@ -34,16 +34,2 @@ | ||
path.join(__dirname, 'feature-targeting-any.test.css')); | ||
it('should allow global variable overrides with @import', () => { | ||
const css = fs.readFileSync( | ||
path.join(__dirname, 'global-variables.test.css'), 'utf8') | ||
.trim(); | ||
const headline1Start = css.indexOf('.mdc-typography--headline1 {'); | ||
const headline1End = css.indexOf('}', headline1Start); | ||
const headline1Css = css.substring(headline1Start, headline1End); | ||
expect(headline1Css.includes('font-family: Arial')) | ||
.toBe(true, '$mdc-typography-font-family should override'); | ||
expect(headline1Css.includes('font-size: 1rem')) | ||
.toBe( | ||
true, '$mdc-typography-styles-headline1-font-size should override'); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130345
21
431
+ Added@material/feature-targeting@15.0.0-canary.0e533c5a1.0(transitive)
+ Added@material/theme@15.0.0-canary.0e533c5a1.0(transitive)
- Removed@material/feature-targeting@15.0.0-canary.0e3dc8e38.0(transitive)
- Removed@material/theme@15.0.0-canary.0e3dc8e38.0(transitive)
Updated@material/feature-targeting@15.0.0-canary.0e533c5a1.0