@adplenty-tech/adplenty-components-library 1.9.19 → 1.9.21-beta.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/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/timelineCardList/timelineCardList.css +1 -1
- package/package.json +11 -2
- package/.babelrc +0 -4
- package/.eslintrc.js +0 -43
- package/.prettierrc +0 -10
- package/.travis.yml +0 -15
- package/bitbucket-pipelines.yml +0 -33
- package/directcrea.json +0 -3
- package/gulpfile.babel.js +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
.timeline-card-list-directive .time-title{font-family:Inter;font-weight:600;font-size:12px;line-height:20px;color:#726f6e;padding-left:2px;padding-bottom:2px}.timeline-card-list-directive .timeline-card-container{width:320px;display:-webkit-box;display:-ms-flexbox;display:flex}.timeline-card-list-directive .timeline-card-container .timeline-card{width:100%;
|
|
1
|
+
.timeline-card-list-directive .time-title{font-family:Inter;font-weight:600;font-size:12px;line-height:20px;color:#726f6e;padding-left:2px;padding-bottom:2px}.timeline-card-list-directive .timeline-card-container{width:320px;display:-webkit-box;display:-ms-flexbox;display:flex}.timeline-card-list-directive .timeline-card-container .timeline-card{width:100%;border:1px solid var(--color-neutral-5);border-radius:var(--semi-round-corners);overflow:hidden;background-color:#fff;-webkit-box-shadow:0px 2px 6px 0px rgba(21,20,20,.08),0px .3px .9px 0px rgba(21,20,20,.16);box-shadow:0px 2px 6px 0px rgba(21,20,20,.08),0px .3px .9px 0px rgba(21,20,20,.16);-webkit-transition:border .2s ease-in-out,background-color .2s ease-in-out;transition:border .2s ease-in-out,background-color .2s ease-in-out;cursor:pointer}.timeline-card-list-directive .timeline-card-container .timeline-card:hover{background-color:var(--color-1);border:1.2px solid var(--color-50)}.timeline-card-list-directive .timeline-card-container .timeline-card:hover .template-box-details{color:var(--color-50)}.timeline-card-list-directive .timeline-card-container .timeline-card:focus{border:1.2px solid var(--color-50)}.timeline-card-list-directive .timeline-card-container .timeline-card.selected{border:1.2px solid var(--color-60);background:var(--color-5)}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.5rem}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-image{-webkit-box-sizing:border-box;box-sizing:border-box}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-image img,.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-image svg{width:68px;height:68px;-o-object-fit:cover;object-fit:cover;border-radius:4px}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-details{padding-left:14px;-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-details p{margin:0}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-details .timeline-card-header{color:#343232;font-weight:400;font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.timeline-card-list-directive .timeline-card-container .timeline-card .timeline-card-content .timeline-card-details .template-right-content{display:-webkit-box;display:-ms-flexbox;display:flex;grid-gap:.5rem;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.timeline-card-list-directive .timeline-card-container .timeline-card-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:8px}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button{width:36px;height:36px;border:1px solid var(--color-neutral-5);border-radius:var(--semi-round-corners);overflow:hidden;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;margin-bottom:8px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);-webkit-transition:border .2s ease-in-out,background-color .2s ease-in-out;transition:border .2s ease-in-out,background-color .2s ease-in-out}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button .icon-button{font-size:var(--font-size-xl)}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button:hover.approve-button{background-color:var(--color-success-10);border:1.2px solid var(--color-success-70)}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button:hover.approve-button .icon-button{color:var(--color-success-70)}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button:hover.reject-button{background-color:var(--color-error-5);border:1.2px solid var(--color-error-60)}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button:hover.reject-button .icon-button{color:var(--color-error-60)}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button.tooltip{position:relative}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button.tooltip .tooltiptext{visibility:hidden;width:120px;background-color:#000;color:#fff;text-align:center;padding:2px 0;border-radius:6px;bottom:50px;position:absolute;z-index:1}.timeline-card-list-directive .timeline-card-container .timeline-card-actions .action-button .tooltip:hover .tooltiptext{visibility:visible}.timeline-card-list-directive .template-box-details{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;white-space:pre-line;text-align:left;margin-top:4px;gap:.2rem}.timeline-card-list-directive .template-box-details .template-box-subtitle{font-size:.75rem;color:var(--text-light-gray);font-family:Inter;font-size:12px;font-weight:400}.timeline-card-list-directive .template-box-details .template-box-headline{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Inter;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.6px}.timeline-card-list-directive .status-tag-small{padding:2px 10px;font-size:12px}.timeline-card-list-directive .icon{height:20px;width:20px}.timeline-card-list-directive .icon img{height:100%;width:100%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adplenty-tech/adplenty-components-library",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.21-beta.0",
|
|
4
4
|
"author": "Jacques Sirot <jacques@advative.io>",
|
|
5
5
|
"description": "A library of components used across adPlenty products.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,9 +15,15 @@
|
|
|
15
15
|
"url": "git@bitbucket.org:adplenty/component_lib.git"
|
|
16
16
|
},
|
|
17
17
|
"main": "build/index.js",
|
|
18
|
+
"files": [
|
|
19
|
+
"build"
|
|
20
|
+
],
|
|
18
21
|
"scripts": {
|
|
19
22
|
"local": "cross-env NODE_ENV=local ./node_modules/.bin/gulp dev",
|
|
20
23
|
"build": "cross-env NODE_ENV=production ./node_modules/.bin/gulp prod",
|
|
24
|
+
"build:watch": "cross-env NODE_ENV=production ./node_modules/.bin/gulp prod-watch",
|
|
25
|
+
"build:push": "nodemon --watch build --ext js,css,html,json --exec \"yalc push --changed\"",
|
|
26
|
+
"build:linked": "concurrently \"npm run build:watch\" \"npm run build:push\"",
|
|
21
27
|
"preview": "cross-env NODE_ENV=preview ./node_modules/.bin/gulp prod",
|
|
22
28
|
"pub": "npm run build && git add . && npm version patch --force && npm publish --access public && git push --follow-tags",
|
|
23
29
|
"pub:beta": "npm run build && git add . && npm version prerelease --preid=beta && git push --follow-tags && npm publish --tag beta"
|
|
@@ -66,6 +72,7 @@
|
|
|
66
72
|
"browserify-ngannotate": "^2.0.0",
|
|
67
73
|
"bulk-require": "^1.0.0",
|
|
68
74
|
"bulkify": "^1.1.1",
|
|
75
|
+
"concurrently": "^9.2.1",
|
|
69
76
|
"cross-env": "^5.0.1",
|
|
70
77
|
"del": "^2.1.0",
|
|
71
78
|
"envify": "^3.4.0",
|
|
@@ -101,6 +108,7 @@
|
|
|
101
108
|
"karma-jasmine": "^1.0.2",
|
|
102
109
|
"karma-sauce-launcher": "^1.0.0",
|
|
103
110
|
"merge-stream": "^1.0.0",
|
|
111
|
+
"nodemon": "^3.1.11",
|
|
104
112
|
"prettier": "^2.7.1",
|
|
105
113
|
"pretty-hrtime": "^1.0.1",
|
|
106
114
|
"run-sequence": "^1.1.5",
|
|
@@ -109,7 +117,8 @@
|
|
|
109
117
|
"uglifyify": "^3.0.1",
|
|
110
118
|
"vinyl-buffer": "^1.0.0",
|
|
111
119
|
"vinyl-source-stream": "^1.1.0",
|
|
112
|
-
"watchify": "^3.7.0"
|
|
120
|
+
"watchify": "^3.7.0",
|
|
121
|
+
"yalc": "^1.0.0-pre.53"
|
|
113
122
|
},
|
|
114
123
|
"overrides": {
|
|
115
124
|
"graceful-fs": "^4.2.11"
|
package/.babelrc
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true,
|
|
4
|
-
es2021: true,
|
|
5
|
-
},
|
|
6
|
-
extends: 'eslint:recommended',
|
|
7
|
-
overrides: [
|
|
8
|
-
{
|
|
9
|
-
env: {
|
|
10
|
-
node: true,
|
|
11
|
-
},
|
|
12
|
-
files: ['.eslintrc.{js,cjs}'],
|
|
13
|
-
parserOptions: {
|
|
14
|
-
sourceType: 'script',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
parserOptions: {
|
|
19
|
-
ecmaVersion: 'latest',
|
|
20
|
-
sourceType: 'module',
|
|
21
|
-
},
|
|
22
|
-
rules: {
|
|
23
|
-
'eol-last': 0,
|
|
24
|
-
'no-debugger': 1,
|
|
25
|
-
'no-underscore-dangle': 0,
|
|
26
|
-
'no-multi-spaces': 0,
|
|
27
|
-
'no-trailing-spaces': 0,
|
|
28
|
-
'no-extra-boolean-cast': 0,
|
|
29
|
-
'no-unused-vars': 2,
|
|
30
|
-
'new-cap': 0,
|
|
31
|
-
camelcase: 0,
|
|
32
|
-
'no-implicit-globals': 1,
|
|
33
|
-
'no-undef': 2,
|
|
34
|
-
'no-console': 1,
|
|
35
|
-
},
|
|
36
|
-
globals: {
|
|
37
|
-
angular: 'readonly',
|
|
38
|
-
require: 'readonly',
|
|
39
|
-
__dirname: 'readonly',
|
|
40
|
-
moment: 'readonly',
|
|
41
|
-
d3: 'readonly',
|
|
42
|
-
},
|
|
43
|
-
}
|
package/.prettierrc
DELETED
package/.travis.yml
DELETED
package/bitbucket-pipelines.yml
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
image: node:16
|
|
2
|
-
|
|
3
|
-
pipelines:
|
|
4
|
-
branches:
|
|
5
|
-
master:
|
|
6
|
-
- step:
|
|
7
|
-
name: Prep for deployment
|
|
8
|
-
caches:
|
|
9
|
-
- node
|
|
10
|
-
script:
|
|
11
|
-
- npm install
|
|
12
|
-
- npm run preview
|
|
13
|
-
artifacts:
|
|
14
|
-
- build/**
|
|
15
|
-
- step:
|
|
16
|
-
deployment: production
|
|
17
|
-
name: Deploy to Production
|
|
18
|
-
script:
|
|
19
|
-
- pipe: atlassian/aws-s3-deploy:1.6.2
|
|
20
|
-
variables:
|
|
21
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
22
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
23
|
-
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
|
|
24
|
-
S3_BUCKET: $S3_BUCKET_PROD
|
|
25
|
-
LOCAL_PATH: 'build/'
|
|
26
|
-
ACL: 'public-read'
|
|
27
|
-
- pipe: atlassian/aws-cloudfront-invalidate:0.11.0
|
|
28
|
-
variables:
|
|
29
|
-
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
|
|
30
|
-
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
|
|
31
|
-
AWS_REGION: $AWS_DEFAULT_REGION
|
|
32
|
-
DISTRIBUTION_ID: $CLOUDFRONT_DISTRIBUTION_PROD
|
|
33
|
-
PATHS: '/*'
|
package/directcrea.json
DELETED
package/gulpfile.babel.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* gulpfile.js
|
|
3
|
-
* ===========
|
|
4
|
-
* Rather than manage one giant configuration file responsible
|
|
5
|
-
* for creating multiple tasks, each task has been broken out into
|
|
6
|
-
* its own file in gulp/tasks. Any file in that folder gets automatically
|
|
7
|
-
* required by the loop in ./gulp/index.js (required below).
|
|
8
|
-
*
|
|
9
|
-
* To add a new task, simply add a new task file to gulp/tasks.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
global.isProd = false
|
|
13
|
-
require('./gulp')
|