@pushword/js-helper 0.0.67 → 0.0.70
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 +4 -3
- package/src/encore.js +1 -0
- package/src/tailwind.config.js +18 -17
- package/src/tailwind.helpers.js +13 -8
- package/yarn-error.log +82 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushword/js-helper",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.70",
|
|
4
4
|
"description": "Pushword front end helpers. ",
|
|
5
5
|
"author": "Robin@PiedWeb <contact@piedweb.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"@symfony/webpack-encore": "^1.7",
|
|
13
13
|
"@tailwindcss/aspect-ratio": "^0.2",
|
|
14
14
|
"@tailwindcss/forms": "^0.4",
|
|
15
|
+
"@tailwindcss/line-clamp": "^0.4",
|
|
15
16
|
"@tailwindcss/typography": "^0.5",
|
|
16
|
-
"tailwindcss-multi-column": "^1.0.2",
|
|
17
17
|
"ace-builds": "^1.4.12",
|
|
18
18
|
"autoprefixer": "^10.1.0",
|
|
19
19
|
"babel-preset-stage-2": "^6.24.1",
|
|
20
20
|
"codemirror": "^5.59.0",
|
|
21
21
|
"core-js": "^3.8.1",
|
|
22
22
|
"easymde": "^2.13.0",
|
|
23
|
-
"fslightbox": "^3.2.2",
|
|
24
23
|
"file-loader": "^6.0",
|
|
24
|
+
"fslightbox": "^3.2.2",
|
|
25
25
|
"node-sass": "^5.0.0",
|
|
26
26
|
"postcss": "^8.2.1",
|
|
27
27
|
"postcss-import": "^14.0.0",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"simple-jekyll-search": "^1.9.1",
|
|
31
31
|
"tailwindcss": "^3",
|
|
32
32
|
"tailwindcss-hero-patterns": "^0.0.1",
|
|
33
|
+
"tailwindcss-multi-column": "^1.0.2",
|
|
33
34
|
"webpack-watch-files-plugin": "^1.1.0"
|
|
34
35
|
},
|
|
35
36
|
"repository": {
|
package/src/encore.js
CHANGED
|
@@ -8,6 +8,7 @@ function getFilesToWatch(basePath = './..') {
|
|
|
8
8
|
basePath + '/vendor/pushword/core/src/templates/*.html.twig',
|
|
9
9
|
basePath + '/vendor/pushword/conversation/src/templates/*.html.twig',
|
|
10
10
|
basePath + '/vendor/pushword/admin-block-editor/src/templates/page/*.html.twig',
|
|
11
|
+
basePath + '/vendor/pushword/advanced-main-image/src/templates/page/*.html.twig',
|
|
11
12
|
basePath + '/templates/*.html.twig',
|
|
12
13
|
basePath + '/templates/**/*.html.twig',
|
|
13
14
|
basePath + '/templates/**/**/*.html.twig',
|
package/src/tailwind.config.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
const plugin = require(
|
|
2
|
-
const pushwordHelper = require(
|
|
1
|
+
const plugin = require('tailwindcss/plugin');
|
|
2
|
+
const pushwordHelper = require('@pushword/js-helper/src/tailwind.helpers.js');
|
|
3
3
|
|
|
4
4
|
module.exports = {
|
|
5
|
-
mode:
|
|
5
|
+
mode: 'jit',
|
|
6
6
|
theme: {
|
|
7
7
|
minHeight: {
|
|
8
|
-
0:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
screen:
|
|
15
|
-
full:
|
|
8
|
+
0: '0',
|
|
9
|
+
'screen-1/4': '25vh',
|
|
10
|
+
'screen-3/4': '75vh',
|
|
11
|
+
'screen-1/3': '33vh',
|
|
12
|
+
'screen-2/3': '66vh',
|
|
13
|
+
'screen-1/2': '50vh',
|
|
14
|
+
screen: '100vh',
|
|
15
|
+
full: '100%',
|
|
16
16
|
},
|
|
17
17
|
extend: {
|
|
18
18
|
typography: pushwordHelper.extendTailwindTypography(),
|
|
19
19
|
colors: {
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
20
|
+
primary: 'var(--primary)',
|
|
21
|
+
secondary: 'var(--secondary)',
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
variants: {},
|
|
26
26
|
plugins: [
|
|
27
|
-
require(
|
|
28
|
-
require(
|
|
29
|
-
require(
|
|
30
|
-
require(
|
|
27
|
+
require('tailwindcss-multi-column')(),
|
|
28
|
+
require('@tailwindcss/typography'),
|
|
29
|
+
require('@tailwindcss/aspect-ratio'),
|
|
30
|
+
require('@tailwindcss/line-clamp'),
|
|
31
|
+
require('@tailwindcss/forms'),
|
|
31
32
|
plugin(pushwordHelper.twFirstLetterPlugin),
|
|
32
33
|
plugin(pushwordHelper.twFirstChildPlugin),
|
|
33
34
|
plugin(pushwordHelper.twBleedPlugin),
|
package/src/tailwind.helpers.js
CHANGED
|
@@ -5,16 +5,21 @@ module.exports = {
|
|
|
5
5
|
css: {
|
|
6
6
|
a: {
|
|
7
7
|
textDecoration: 'none',
|
|
8
|
+
color: 'var(--primary)',
|
|
9
|
+
fontWeight: 500,
|
|
10
|
+
borderBottom: '1px solid;',
|
|
11
|
+
'&:hover': {
|
|
12
|
+
opacity: '.75',
|
|
13
|
+
},
|
|
8
14
|
},
|
|
9
|
-
'
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
'
|
|
15
|
-
opacity: '.75',
|
|
16
|
-
},
|
|
15
|
+
'span[data-rot]': {
|
|
16
|
+
color: 'var(--primary)',
|
|
17
|
+
fontWeight: 500,
|
|
18
|
+
borderBottom: '1px solid;',
|
|
19
|
+
'&:hover': {
|
|
20
|
+
opacity: '.75',
|
|
17
21
|
},
|
|
22
|
+
},
|
|
18
23
|
},
|
|
19
24
|
},
|
|
20
25
|
};
|
package/yarn-error.log
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Arguments:
|
|
2
|
+
/usr/bin/node /home/robin/.npm-global/bin/yarn add @tailwind/line-clamp
|
|
3
|
+
|
|
4
|
+
PATH:
|
|
5
|
+
/home/robin/.config/composer/vendor/bin:/home/robin/.symfony/bin:/home/robin/.bin:/home/robin/.npm-global/bin:/home/robin/.config/composer/vendor/bin:/home/robin/.symfony/bin:/home/robin/.bin:/home/robin/.npm-global/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
|
|
6
|
+
|
|
7
|
+
Yarn version:
|
|
8
|
+
1.22.10
|
|
9
|
+
|
|
10
|
+
Node version:
|
|
11
|
+
12.22.5
|
|
12
|
+
|
|
13
|
+
Platform:
|
|
14
|
+
linux x64
|
|
15
|
+
|
|
16
|
+
Trace:
|
|
17
|
+
Error: https://registry.yarnpkg.com/@tailwind%2fline-clamp: Not found
|
|
18
|
+
at Request.params.callback [as _callback] (/home/robin/.npm-global/lib/node_modules/yarn/lib/cli.js:66988:18)
|
|
19
|
+
at Request.self.callback (/home/robin/.npm-global/lib/node_modules/yarn/lib/cli.js:140662:22)
|
|
20
|
+
at Request.emit (events.js:314:20)
|
|
21
|
+
at Request.<anonymous> (/home/robin/.npm-global/lib/node_modules/yarn/lib/cli.js:141634:10)
|
|
22
|
+
at Request.emit (events.js:314:20)
|
|
23
|
+
at IncomingMessage.<anonymous> (/home/robin/.npm-global/lib/node_modules/yarn/lib/cli.js:141556:12)
|
|
24
|
+
at Object.onceWrapper (events.js:420:28)
|
|
25
|
+
at IncomingMessage.emit (events.js:326:22)
|
|
26
|
+
at endReadableNT (_stream_readable.js:1241:12)
|
|
27
|
+
at processTicksAndRejections (internal/process/task_queues.js:84:21)
|
|
28
|
+
|
|
29
|
+
npm manifest:
|
|
30
|
+
{
|
|
31
|
+
"name": "@pushword/js-helper",
|
|
32
|
+
"version": "0.0.69",
|
|
33
|
+
"description": "Pushword front end helpers. ",
|
|
34
|
+
"author": "Robin@PiedWeb <contact@piedweb.com>",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"scripts": {
|
|
37
|
+
"prettier": "prettier ./src/*.{js,scss} --write"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"140.css": "^1.0.1",
|
|
41
|
+
"@symfony/webpack-encore": "^1.7",
|
|
42
|
+
"@tailwindcss/aspect-ratio": "^0.2",
|
|
43
|
+
"@tailwindcss/forms": "^0.4",
|
|
44
|
+
"@tailwindcss/typography": "^0.5",
|
|
45
|
+
"tailwindcss-multi-column": "^1.0.2",
|
|
46
|
+
"ace-builds": "^1.4.12",
|
|
47
|
+
"autoprefixer": "^10.1.0",
|
|
48
|
+
"babel-preset-stage-2": "^6.24.1",
|
|
49
|
+
"codemirror": "^5.59.0",
|
|
50
|
+
"core-js": "^3.8.1",
|
|
51
|
+
"easymde": "^2.13.0",
|
|
52
|
+
"fslightbox": "^3.2.2",
|
|
53
|
+
"file-loader": "^6.0",
|
|
54
|
+
"node-sass": "^5.0.0",
|
|
55
|
+
"postcss": "^8.2.1",
|
|
56
|
+
"postcss-import": "^14.0.0",
|
|
57
|
+
"postcss-loader": "^4.1",
|
|
58
|
+
"sass-loader": "^10.1.0",
|
|
59
|
+
"simple-jekyll-search": "^1.9.1",
|
|
60
|
+
"tailwindcss": "^3",
|
|
61
|
+
"tailwindcss-hero-patterns": "^0.0.1",
|
|
62
|
+
"webpack-watch-files-plugin": "^1.1.0"
|
|
63
|
+
},
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "git+https://github.com/Pushword/js-helper.git"
|
|
67
|
+
},
|
|
68
|
+
"keywords": [
|
|
69
|
+
"native"
|
|
70
|
+
],
|
|
71
|
+
"bugs": {
|
|
72
|
+
"url": "https://github.com/Pushword/Pushword/issues"
|
|
73
|
+
},
|
|
74
|
+
"homepage": "https://pushword.piedweb.com",
|
|
75
|
+
"gitHead": "242ec54483dca1be93d7a62d8d554c9c08008c28"
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
yarn manifest:
|
|
79
|
+
No manifest
|
|
80
|
+
|
|
81
|
+
Lockfile:
|
|
82
|
+
No lockfile
|