@knowark/componarkjs 1.8.1 → 1.8.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.
@@ -0,0 +1,35 @@
1
+ # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3
+
4
+ name: Node.js CI
5
+
6
+ on:
7
+ push:
8
+ branches: [ "master" ]
9
+ paths-ignore:
10
+ - '**/README.md'
11
+ pull_request:
12
+ branches: [ "master" ]
13
+
14
+ jobs:
15
+ build:
16
+
17
+ runs-on: ubuntu-latest
18
+
19
+ strategy:
20
+ matrix:
21
+ node-version: [16.x, 18.x]
22
+
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Use Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v3
27
+ with:
28
+ node-version: ${{ matrix.node-version }}
29
+ cache: 'npm'
30
+ - run: npm ci
31
+ - run: npm test
32
+ - name: Upload coverage reports to Codecov
33
+ uses: codecov/codecov-action@v3
34
+ env:
35
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
package/README.md CHANGED
@@ -1,3 +1,14 @@
1
+ <p align="center">
2
+ <a href="https://codecov.io/gh/librark/componark">
3
+ <img src="https://codecov.io/gh/librark/componark/graph/badge.svg?token=IWNapsPUch"/>
4
+ </a>
5
+ </p>
6
+ <p align="center">
7
+ <a href="https://codecov.io/gh/librark/componark">
8
+ <img src="https://codecov.io/gh/librark/componark/graphs/sunburst.svg?token=IWNapsPUch"/>
9
+ </a>
10
+ </p>
11
+
1
12
  # ComponArk
2
13
 
3
14
  Pragmatic Web Components Library
@@ -267,21 +267,21 @@ ${effects.map(effect => actions.map(action => css`
267
267
  /* COMBINATORS */
268
268
 
269
269
  ${[...mutableProperties, ...effects].map(
270
- effect => userActions.map(action => css`
270
+ effect => actions.map(action => css`
271
271
  *${action.replace('-', ':')} > [style*='--${effect}-parent${action}:'] {
272
272
  ${effect}: var(--${effect}-parent${action});
273
273
  }
274
274
  `.trim())).flat().join('\n')}
275
275
 
276
276
  ${[...mutableProperties, ...effects].map(
277
- effect => formActions.map(action => css`
277
+ effect => actions.map(action => css`
278
278
  *${action.replace('-', ':')} + [style*='--${effect}-sibling${action}:'] {
279
279
  ${effect}: var(--${effect}-sibling${action});
280
280
  }
281
281
  `.trim())).flat().join('\n')}
282
282
 
283
283
  ${[...mutableProperties, ...effects].map(
284
- effect => formActions.map(action => css`
284
+ effect => actions.map(action => css`
285
285
  *${action.replace('-', ':')} ~ [style*='--${effect}-antecessor${action}:'] {
286
286
  ${effect}: var(--${effect}-antecessor${action});
287
287
  }
@@ -289,7 +289,7 @@ ${[...mutableProperties, ...effects].map(
289
289
 
290
290
  /* MEDIA QUERIES */
291
291
 
292
- @media (min-width: 960px) {
292
+ @media (min-width: 960px) {
293
293
  [style*='--grid-large:'] {
294
294
  display: grid;
295
295
  grid: var(--grid-large);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowark/componarkjs",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "author": "Knowark",
5
5
  "description": "Knowark's Web Components Library",
6
6
  "license": "ISC",
@@ -20,21 +20,21 @@
20
20
  "components"
21
21
  ],
22
22
  "devDependencies": {
23
- "@knowark/injectarkjs": "^0.9.1",
24
- "@knowark/routarkjs": "^0.6.5",
25
- "@types/jest": "^29.5.2",
23
+ "@knowark/injectarkjs": "^0.10.6",
24
+ "@knowark/routarkjs": "^0.6.6",
25
+ "@types/jest": "^29.5.11",
26
26
  "clean-webpack-plugin": "^4.0.0",
27
- "copy-webpack-plugin": "^11.0.0",
27
+ "copy-webpack-plugin": "^12.0.2",
28
28
  "file-loader": "^6.2.0",
29
- "html-webpack-plugin": "^5.5.1",
30
- "jest": "^29.5.0",
31
- "jest-canvas-mock": "^2.5.1",
32
- "jest-environment-jsdom": "^29.5.0",
33
- "jsdom": "^22.1.0",
34
- "npm-check-updates": "^16.10.12",
35
- "webpack": "^5.85.1",
36
- "webpack-cli": "^5.1.3",
37
- "webpack-dev-server": "^4.15.0"
29
+ "html-webpack-plugin": "^5.6.0",
30
+ "jest": "^29.7.0",
31
+ "jest-canvas-mock": "^2.5.2",
32
+ "jest-environment-jsdom": "^29.7.0",
33
+ "jsdom": "^24.0.0",
34
+ "npm-check-updates": "^16.14.12",
35
+ "webpack": "^5.90.0",
36
+ "webpack-cli": "^5.1.4",
37
+ "webpack-dev-server": "^4.15.1"
38
38
  },
39
39
  "directories": {
40
40
  "test": "tests"
@@ -48,7 +48,6 @@
48
48
  "verbose": true,
49
49
  "clearMocks": true,
50
50
  "testEnvironment": "jsdom",
51
- "coverageDirectory": "/tmp/componark/coverage",
52
51
  "transform": {},
53
52
  "setupFiles": [
54
53
  "jest-canvas-mock"