@toheeb/base 1.4.3 → 1.5.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.
package/base-settings.js CHANGED
@@ -158,7 +158,7 @@ class BaseSettings extends HTMLElement {
158
158
  `;
159
159
 
160
160
  document.addEventListener("click", e => {
161
- if (e.target.classList.contains("base-settings")) {
161
+ if (e.target.closest(".base-settings")) {
162
162
  this.querySelector("dialog").showModal();
163
163
  }
164
164
  })
package/base.css CHANGED
@@ -398,8 +398,19 @@ main, td, caption {
398
398
  }
399
399
 
400
400
 
401
- :where(a[href]:not(:has(p, pre, details, fieldset, table, dl)) + a[href]:not(:has(p, pre, details, fieldset, table, dl))) {
402
- margin-inline-start: 1em;
401
+ :where(a[href]:not(:has(p, pre, details, fieldset, table, dl))) {
402
+ text-decoration: none;
403
+ }
404
+
405
+ :where(a[href]:not(:has(p, pre, details, fieldset, table, dl))):hover {
406
+ text-decoration: underline;
407
+ }
408
+
409
+ :where(a[href]:not(:has(p, pre, details, fieldset, table, dl)))::after {
410
+ content: "\000bb";
411
+ vertical-align: top;
412
+ line-height: 1;
413
+ padding: 0 .1em;
403
414
  }
404
415
 
405
416
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
- {
2
- "name": "@toheeb/base",
3
- "version": "1.4.3",
4
- "description": "A classless stylesheet for Personalizable Web Design",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "keywords": ["css"],
10
- "author": "2",
11
- "license": "AGPL-3.0-or-later"
12
- }
1
+ {
2
+ "name": "@toheeb/base",
3
+ "version": "1.5.0",
4
+ "description": "A classless stylesheet for Personalizable Web Design",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": ["css"],
10
+ "author": "2",
11
+ "license": "AGPL-3.0-or-later"
12
+ }