@public-ui/theme-default 2.0.0-rc.10 → 2.0.0-rc.12

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.
Files changed (3) hide show
  1. package/dist/index.cjs +19 -12
  2. package/dist/index.mjs +19 -12
  3. package/package.json +10 -10
package/dist/index.cjs CHANGED
@@ -1367,29 +1367,29 @@ const DEFAULT = KoliBri.createTheme("default", {
1367
1367
  }
1368
1368
  `,
1369
1369
  "KOL-HEADING": css`
1370
- h1,
1371
- h2,
1372
- h3,
1373
- h4,
1374
- h5,
1375
- h6 {
1370
+ .headline-h1,
1371
+ .headline-h2,
1372
+ .headline-h3,
1373
+ .headline-h4,
1374
+ .headline-h5,
1375
+ .headline-h6 {
1376
1376
  color: inherit;
1377
1377
  font-style: normal;
1378
1378
  }
1379
- h1,
1380
- h2,
1381
- h3 {
1379
+ .headline-h1,
1380
+ .headline-h2,
1381
+ .headline-h3 {
1382
1382
  font-weight: 700;
1383
1383
  }
1384
- h1 {
1384
+ .headline-h1 {
1385
1385
  font-size: 1.5rem;
1386
1386
  line-height: 1.75rem;
1387
1387
  }
1388
- h2 {
1388
+ .headline-h2 {
1389
1389
  font-size: 1.25rem;
1390
1390
  line-height: 1.75rem;
1391
1391
  }
1392
- h3 {
1392
+ .headline-h3 {
1393
1393
  font-size: 1.125rem;
1394
1394
  line-height: 1.5rem;
1395
1395
  }
@@ -2139,6 +2139,13 @@ const DEFAULT = KoliBri.createTheme("default", {
2139
2139
  :host .disabled {
2140
2140
  opacity: 0.33;
2141
2141
  }
2142
+ .button:focus-within {
2143
+ border-radius: var(--border-radius);
2144
+ outline-color: var(--color-primary-variant);
2145
+ outline-offset: 2px;
2146
+ outline-style: solid;
2147
+ outline-width: calc(var(--border-width) * 2);
2148
+ }
2142
2149
  `,
2143
2150
  "KOL-INPUT-RADIO": css`
2144
2151
  label {
package/dist/index.mjs CHANGED
@@ -1365,29 +1365,29 @@ const DEFAULT = KoliBri.createTheme("default", {
1365
1365
  }
1366
1366
  `,
1367
1367
  "KOL-HEADING": css`
1368
- h1,
1369
- h2,
1370
- h3,
1371
- h4,
1372
- h5,
1373
- h6 {
1368
+ .headline-h1,
1369
+ .headline-h2,
1370
+ .headline-h3,
1371
+ .headline-h4,
1372
+ .headline-h5,
1373
+ .headline-h6 {
1374
1374
  color: inherit;
1375
1375
  font-style: normal;
1376
1376
  }
1377
- h1,
1378
- h2,
1379
- h3 {
1377
+ .headline-h1,
1378
+ .headline-h2,
1379
+ .headline-h3 {
1380
1380
  font-weight: 700;
1381
1381
  }
1382
- h1 {
1382
+ .headline-h1 {
1383
1383
  font-size: 1.5rem;
1384
1384
  line-height: 1.75rem;
1385
1385
  }
1386
- h2 {
1386
+ .headline-h2 {
1387
1387
  font-size: 1.25rem;
1388
1388
  line-height: 1.75rem;
1389
1389
  }
1390
- h3 {
1390
+ .headline-h3 {
1391
1391
  font-size: 1.125rem;
1392
1392
  line-height: 1.5rem;
1393
1393
  }
@@ -2137,6 +2137,13 @@ const DEFAULT = KoliBri.createTheme("default", {
2137
2137
  :host .disabled {
2138
2138
  opacity: 0.33;
2139
2139
  }
2140
+ .button:focus-within {
2141
+ border-radius: var(--border-radius);
2142
+ outline-color: var(--color-primary-variant);
2143
+ outline-offset: 2px;
2144
+ outline-style: solid;
2145
+ outline-width: calc(var(--border-width) * 2);
2146
+ }
2140
2147
  `,
2141
2148
  "KOL-INPUT-RADIO": css`
2142
2149
  label {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/theme-default",
3
- "version": "2.0.0-rc.10",
3
+ "version": "2.0.0-rc.12",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -38,18 +38,18 @@
38
38
  "wcag"
39
39
  ],
40
40
  "devDependencies": {
41
- "@public-ui/schema": "2.0.0-rc.10",
42
- "@public-ui/visual-tests": "2.0.0-rc.10",
43
- "@types/node": "ts5.2",
44
- "@typescript-eslint/eslint-plugin": "6.10.0",
45
- "@typescript-eslint/parser": "6.10.0",
46
- "eslint": "8.53.0",
41
+ "@public-ui/schema": "2.0.0-rc.12",
42
+ "@public-ui/visual-tests": "2.0.0-rc.12",
43
+ "@types/node": "ts5.3",
44
+ "@typescript-eslint/eslint-plugin": "6.13.0",
45
+ "@typescript-eslint/parser": "6.13.0",
46
+ "eslint": "8.54.0",
47
47
  "eslint-plugin-no-loops": "0.3.0",
48
- "typescript": "5.2.2",
48
+ "typescript": "5.3.2",
49
49
  "unbuild": "1.2.1"
50
50
  },
51
51
  "peerDependencies": {
52
- "@public-ui/components": "2.0.0-rc.10"
52
+ "@public-ui/components": "2.0.0-rc.12"
53
53
  },
54
54
  "sideEffects": false,
55
55
  "type": "module",
@@ -72,7 +72,7 @@
72
72
  "depcheck": "depcheck --ignore-bin-package --skip-missing --ignores=@types/*",
73
73
  "format": "prettier --check src",
74
74
  "lint": "eslint src && tsc --noemit",
75
- "test": "THEME_MODULE=src/index THEME_EXPORT=DEFAULT kolibri-visual-test theme-snapshots.spec.js",
75
+ "test": "THEME_MODULE=src/index THEME_EXPORT=DEFAULT kolibri-visual-test",
76
76
  "test-update": "THEME_MODULE=src/index THEME_EXPORT=DEFAULT kolibri-visual-test --update-snapshots theme-snapshots.spec.js"
77
77
  }
78
78
  }