@focus4/styling 11.0.0-rc.0 → 11.2.0-alpha.0

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.
@@ -277,6 +277,7 @@
277
277
  --color-dark-contrast: var(--color-white);
278
278
  --color-light-contrast: var(--color-black);
279
279
  }
280
+
280
281
  :root {
281
282
  --color-divider: var(--palette-grey-200);
282
283
  --color-background: var(--color-white);
@@ -340,26 +341,31 @@
340
341
  --z-index-low: -100;
341
342
  --z-index-lower: -200;
342
343
  }
344
+
343
345
  html {
344
346
  color: rgb(var(--color-black));
345
347
  font-size: var(--font-size-small);
346
348
  line-height: 1.4;
347
349
  font-family: var(--preferred-font);
348
350
  }
351
+
349
352
  body {
350
353
  margin: 0;
351
354
  animation-duration: var(--animation-duration);
352
355
  animation-delay: var(--animation-delay);
353
356
  animation-timing-function: var(--animation-curve-default);
354
357
  }
358
+
355
359
  fieldset {
356
360
  border: 0;
357
361
  margin: 0;
358
362
  padding: 0;
359
363
  }
364
+
360
365
  textarea {
361
366
  resize: vertical;
362
367
  }
368
+
363
369
  h1,
364
370
  h2,
365
371
  h3,
@@ -369,29 +375,35 @@ h6 {
369
375
  margin: 24px 0;
370
376
  font-weight: var(--font-weight-normal);
371
377
  }
378
+
372
379
  h1 {
373
380
  font-size: calc(3.5 * var(--font-size));
374
381
  line-height: 1.35;
375
382
  letter-spacing: -0.02em;
376
383
  }
384
+
377
385
  h2 {
378
386
  font-size: calc(2.8 * var(--font-size));
379
387
  line-height: 48px;
380
388
  }
389
+
381
390
  h3 {
382
391
  font-size: calc(2.2 * var(--font-size));
383
392
  line-height: 40px;
384
393
  }
394
+
385
395
  h4 {
386
396
  font-size: calc(1.5 * var(--font-size));
387
397
  line-height: 32px;
388
398
  }
399
+
389
400
  h5 {
390
401
  font-size: calc(1.25 * var(--font-size));
391
402
  font-weight: var(--font-weight-semi-bold);
392
403
  line-height: 1;
393
404
  letter-spacing: 0.02em;
394
405
  }
406
+
395
407
  h6 {
396
408
  font-size: var(--font-size);
397
409
  line-height: 24px;
@@ -1,3 +1,4 @@
1
+ import "./variables";
1
2
  import "./global.css";
2
3
  export { PanelDescriptor, ScrollableContext, ScrollspyContext, cssTransitionProps, defaultTransition, delay, duration, ease, getIcon, springTransition } from "./utils";
3
4
  export { CSSContext, CSSElement, CSSMod, CSSProp, CSSToStrings, ThemeContext, ToBem, fromBem, themr, toBem, useTheme } from "./theme";
@@ -0,0 +1,2 @@
1
+ import "./colors.css";
2
+ import "./variables.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@focus4/styling",
3
- "version": "11.0.0-rc.0",
3
+ "version": "11.2.0-alpha.0",
4
4
  "description": "Focus v4, styling module",
5
5
  "main": "lib/focus4.styling.js",
6
6
  "repository": {
@@ -18,16 +18,15 @@
18
18
  "test-ci": "jest --ci --reporters=default --reporters=jest-junit"
19
19
  },
20
20
  "dependencies": {
21
- "@focus4/core": "11.0.0-rc.0",
21
+ "@focus4/core": "11.2.0-alpha.0",
22
22
  "classnames": "2.3.1",
23
- "mobx-react": "7.2.0",
23
+ "mobx-react": "7.2.1",
24
24
  "react": "17.0.2"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/jest": "26.0.24",
28
- "jest": "26.6.3",
29
- "jest-junit": "12.2.0",
30
- "ts-jest": "26.5.6"
31
- },
32
- "gitHead": "af195b3ad10e875429b59c2377635e63d3878a75"
27
+ "@types/jest": "27.4.0",
28
+ "jest": "27.5.1",
29
+ "jest-junit": "13.0.0",
30
+ "ts-jest": "27.1.3"
31
+ }
33
32
  }