@blockquote-web-components/blockquote-controller-context-meta 1.2.7 → 1.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote-web-components/blockquote-controller-context-meta",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "Webcomponent blockquote-controller-context-meta following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -35,30 +35,26 @@
35
35
  "dev:vite": "vite build",
36
36
  "format": "npm run format:eslint && npm run format:prettier && npm run format:stylelint",
37
37
  "format:eslint": "eslint . --fix",
38
- "format:prettier": "prettier \"**/*.{js,ts,json,html}\" --write --ignore-path .prettierignore",
39
- "format:stylelint": "stylelint \"**/*.{scss,css}\" --fix --allow-empty-input --ignore-path .prettierignore",
38
+ "format:prettier": "prettier \"**/*.{js,ts,css,scss,html,json}\" --write --ignore-path .prettierignore",
39
+ "format:stylelint": "stylelint \"{demo,src}/**/*.{js,ts,css,scss,html}\" --fix --ignore-path .prettierignore",
40
40
  "postinstall": "npm run sort:package",
41
- "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
42
- "lint:eslint": "eslint .",
43
- "lint:prettier": "prettier \"**/*.{js,ts,json,html}\" --check --ignore-path .prettierignore",
44
- "lint:stylelint": "stylelint \"**/*.{scss,css}\" --allow-empty-input --ignore-path .prettierignore",
45
- "prepare": "husky",
46
41
  "preview:vite": "vite preview",
47
42
  "sass:watch": "sass-style-template",
48
43
  "sort:package": "npx sort-package-json",
49
- "start": "concurrently -k -r \"npm:sass:watch\" \"npm:vite\"",
44
+ "start": "concurrently -k -r \"npm:vite\" \"npm:sass:watch\"",
50
45
  "test": "vitest --run --browser.headless",
51
46
  "test:watch": "vitest",
52
47
  "vite": "vite"
53
48
  },
54
49
  "lint-staged": {
55
50
  "**/*.{js,ts,html}": [
56
- "npm run format:eslint"
51
+ "npm run format"
57
52
  ],
58
- "**/*.{js,ts,json,html}": [
53
+ "**/*.json": [
59
54
  "npm run format:prettier"
60
55
  ],
61
56
  "**/*.{scss,css}": [
57
+ "npm run format:prettier",
62
58
  "npm run format:stylelint"
63
59
  ]
64
60
  },
@@ -73,32 +69,58 @@
73
69
  {
74
70
  "files": "*.{scss,css}",
75
71
  "options": {
76
- "printWidth": 280,
77
72
  "singleQuote": false
78
73
  }
74
+ },
75
+ {
76
+ "files": "*.json",
77
+ "options": {
78
+ "parser": "json-stringify"
79
+ }
79
80
  }
80
81
  ]
81
82
  },
82
83
  "stylelint": {
83
84
  "extends": "stylelint-config-standard-scss",
85
+ "allowEmptyInput": true,
84
86
  "rules": {
85
87
  "custom-property-pattern": null,
86
88
  "no-duplicate-selectors": null,
87
89
  "color-function-notation": null,
88
- "alpha-value-notation": null
89
- }
90
+ "alpha-value-notation": null,
91
+ "media-feature-name-no-unknown": null,
92
+ "comment-empty-line-before": null,
93
+ "declaration-empty-line-before": null,
94
+ "property-no-vendor-prefix": null,
95
+ "selector-attribute-quotes": null,
96
+ "value-no-vendor-prefix": null
97
+ },
98
+ "overrides": [
99
+ {
100
+ "files": [
101
+ "**/*.html"
102
+ ],
103
+ "customSyntax": "postcss-html"
104
+ },
105
+ {
106
+ "files": [
107
+ "**/*.{ts,js}"
108
+ ],
109
+ "customSyntax": "postcss-lit"
110
+ }
111
+ ]
90
112
  },
91
113
  "dependencies": {
92
114
  "@lit/context": "^1.1.3",
93
115
  "lit": "^3.2.1"
94
116
  },
95
117
  "devDependencies": {
96
- "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.11.0",
97
- "@blockquote-web-components/blockquote-base-embedded-webview": "^1.12.7"
118
+ "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.11.1",
119
+ "@blockquote-web-components/blockquote-base-embedded-webview": "^1.12.8"
98
120
  },
99
121
  "publishConfig": {
100
122
  "access": "public"
101
123
  },
102
124
  "customElements": "custom-elements.json",
103
- "gitHead": "05d5206fdfaaae4b506c43e35afb5de1394bc8e5"
125
+ "gitHead": "6be5182ac44e3e4c3b924f6b5ef5533e7b80790c"
104
126
  }
@@ -26,6 +26,7 @@ import {
26
26
  * :host {
27
27
  * display: block;
28
28
  * }
29
+ *
29
30
  * :host([hidden]),
30
31
  * [hidden] {
31
32
  * display: none !important;
@@ -118,6 +119,7 @@ export class BaseContextMetaElement extends LitElement {
118
119
  :host {
119
120
  display: block;
120
121
  }
122
+
121
123
  :host([hidden]),
122
124
  [hidden] {
123
125
  display: none !important;