@blockquote-web-components/blockquote-base-style-helpers 1.1.0 → 1.1.2
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/README.md +5 -5
- package/package.json +5 -6
- package/src/getComponentSharedStyles.js +5 -5
package/README.md
CHANGED
|
@@ -7,6 +7,10 @@ There are two kinds of helps:
|
|
|
7
7
|
- Shared styles between components
|
|
8
8
|
- Document-level styles
|
|
9
9
|
|
|
10
|
+
### Demo
|
|
11
|
+
|
|
12
|
+
[](https://stackblitz.com/github/oscarmarina/blockquote-web-components/tree/main/packages/base/blockquote-base-style-helpers)
|
|
13
|
+
|
|
10
14
|
## Shared styles between components
|
|
11
15
|
|
|
12
16
|
[Adaptation of the Polymer ideas so that components can share styles, using native JS modules](https://polymer-library.polymer-project.org/2.0/docs/devguide/style-shadow-dom#share-styles-between-elements)
|
|
@@ -155,11 +159,7 @@ export default css`
|
|
|
155
159
|
`;
|
|
156
160
|
```
|
|
157
161
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
- [stackblitz](https://stackblitz.com/github/oscarmarina/theme-tokens?file=src%2FsetDocumentStyles.js&terminal=start)
|
|
161
|
-
|
|
162
|
-
---
|
|
162
|
+
<hr>
|
|
163
163
|
|
|
164
164
|
### Progressive Enhancement:
|
|
165
165
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockquote-web-components/blockquote-base-style-helpers",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Webcomponent blockquote-base-style-helpers following open-wc recommendations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
],
|
|
41
41
|
"scripts": {
|
|
42
42
|
"analyze": "cem analyze --litelement --globs \"{src,define}/**/*.{js,ts}\" \"index.js\"",
|
|
43
|
-
"analyze:doc": "npm run analyze && npx web-component-analyzer \"{src,define}/**/*.{js,ts}\" \"index.js\" \"README.js\" --outFile README.md",
|
|
44
43
|
"build": "echo \"This is not a TypeScript project, so no need to build.\"",
|
|
45
44
|
"dev:vite": "vite build",
|
|
46
45
|
"format": "npm run format:eslint && npm run format:prettier && npm run format:stylelint",
|
|
@@ -149,16 +148,16 @@
|
|
|
149
148
|
}
|
|
150
149
|
},
|
|
151
150
|
"dependencies": {
|
|
152
|
-
"@blockquote-web-components/blockquote-base-meta": "^1.1.
|
|
151
|
+
"@blockquote-web-components/blockquote-base-meta": "^1.1.2"
|
|
153
152
|
},
|
|
154
153
|
"devDependencies": {
|
|
155
|
-
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.
|
|
156
|
-
"@blockquote-web-components/blockquote-base-embedded-webview": "^1.6.
|
|
154
|
+
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.7.0",
|
|
155
|
+
"@blockquote-web-components/blockquote-base-embedded-webview": "^1.6.2",
|
|
157
156
|
"lit": "^3.1.0"
|
|
158
157
|
},
|
|
159
158
|
"publishConfig": {
|
|
160
159
|
"access": "public"
|
|
161
160
|
},
|
|
162
161
|
"customElements": "custom-elements.json",
|
|
163
|
-
"gitHead": "
|
|
162
|
+
"gitHead": "1e72d38b0abdb0fddc1ccc9412f83485e9f6b5b0"
|
|
164
163
|
}
|
|
@@ -10,6 +10,10 @@ import { BlockquoteBaseMeta } from '@blockquote-web-components/blockquote-base-m
|
|
|
10
10
|
* - Shared styles between components
|
|
11
11
|
* - Document-level styles
|
|
12
12
|
*
|
|
13
|
+
* ### Demo
|
|
14
|
+
*
|
|
15
|
+
* [](https://stackblitz.com/github/oscarmarina/blockquote-web-components/tree/main/packages/base/blockquote-base-style-helpers)
|
|
16
|
+
*
|
|
13
17
|
* ## Shared styles between components
|
|
14
18
|
*
|
|
15
19
|
* [Adaptation of the Polymer ideas so that components can share styles, using native JS modules](https://polymer-library.polymer-project.org/2.0/docs/devguide/style-shadow-dom#share-styles-between-elements)
|
|
@@ -158,11 +162,7 @@ import { BlockquoteBaseMeta } from '@blockquote-web-components/blockquote-base-m
|
|
|
158
162
|
* `;
|
|
159
163
|
* ```
|
|
160
164
|
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* - [stackblitz](https://stackblitz.com/github/oscarmarina/theme-tokens?file=src%2FsetDocumentStyles.js&terminal=start)
|
|
164
|
-
*
|
|
165
|
-
* ---
|
|
165
|
+
* <hr>
|
|
166
166
|
*
|
|
167
167
|
* ### Progressive Enhancement:
|
|
168
168
|
*
|