@scaleflex/widget-pixaforge 4.0.6 → 4.1.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/CHANGELOG.md +7582 -7557
- package/LICENSE +21 -21
- package/README.md +124 -124
- package/dist/style.css +151 -94
- package/lib/components/CategoriesCards/index.scss +27 -27
- package/lib/components/CustomizeIcons/index.scss +33 -33
- package/lib/components/IconsGallery/index.scss +53 -53
- package/lib/components/ImagesGallery/index.scss +120 -120
- package/lib/components/TagsAndFoundLabel/index.scss +25 -25
- package/lib/components/index.scss +48 -48
- package/lib/style.scss +8 -8
- package/package.json +6 -6
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
// packages/@scaleflex/widget-pixaforge/src/components/TagsAndFoundLabel/index.jsx
|
|
2
|
-
@keyframes imgPlaceholderSkeleton {
|
|
3
|
-
0% {
|
|
4
|
-
background-position: -468px 0;
|
|
5
|
-
}
|
|
6
|
-
100% {
|
|
7
|
-
background-position: 468px 0;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.filerobot-Pixaforge-ImagesGallery {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
overflow: auto;
|
|
15
|
-
}
|
|
16
|
-
.filerobot-Pixaforge-ImagesGallery-imagesWrapper {
|
|
17
|
-
display: flex;
|
|
18
|
-
padding: 8px 8px 4px;
|
|
19
|
-
overflow: auto;
|
|
20
|
-
height: 100%;
|
|
21
|
-
width: 100%;
|
|
22
|
-
|
|
23
|
-
.filerobot-c-empty {
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
gap: 16px;
|
|
27
|
-
font-size: 16px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.filerobot-Pixaforge-PortraitsColumn {
|
|
31
|
-
margin: 0 4px;
|
|
32
|
-
flex-grow: 1;
|
|
33
|
-
}
|
|
34
|
-
.filerobot-Pixaforge-ImageCell {
|
|
35
|
-
margin-bottom: 8px;
|
|
36
|
-
position: relative;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
|
|
39
|
-
&.filerobot-Pixaforge-ImageCell--selected, &:hover {
|
|
40
|
-
|
|
41
|
-
.filerobot-Pixaforge-overlay {
|
|
42
|
-
display: block;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
img {
|
|
46
|
-
filter: brightness(0.8);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:hover .filerobot-Pixaforge-ImageCell-imageInfo {
|
|
51
|
-
display: block;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
.filerobot-Pixaforge-ImageCell-imageWrapper {
|
|
55
|
-
width: 100%;
|
|
56
|
-
height: 100%;
|
|
57
|
-
animation-duration: 1s;
|
|
58
|
-
animation-fill-mode: forwards;
|
|
59
|
-
animation-iteration-count: infinite;
|
|
60
|
-
animation-name: imgPlaceholderSkeleton;
|
|
61
|
-
animation-timing-function: linear;
|
|
62
|
-
background: $background-primary;
|
|
63
|
-
background-image: linear-gradient(to right, $background-primary 0%, $gray-100--highlighted 30%, $background-primary 90%, $background-primary 100%);
|
|
64
|
-
background-repeat: no-repeat;
|
|
65
|
-
|
|
66
|
-
img {
|
|
67
|
-
border-radius: 2px;
|
|
68
|
-
max-width: 100%;
|
|
69
|
-
filter: drop-shadow(0px 1px 2px rgba(78, 77, 77, 0.15));
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.filerobot-Pixaforge-ImageCell-imageInfo {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
.filerobot-Pixaforge-ImageCell-authorAndTitle {
|
|
76
|
-
text-align: right;
|
|
77
|
-
position: absolute;
|
|
78
|
-
width: 80%;
|
|
79
|
-
top: 0;
|
|
80
|
-
right: 0;
|
|
81
|
-
|
|
82
|
-
div {
|
|
83
|
-
font-size: 10px;
|
|
84
|
-
line-height: 12px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
.filerobot-Pixaforge-ImageCell-author {
|
|
88
|
-
font-weight: 700;
|
|
89
|
-
margin-bottom: 4px;
|
|
90
|
-
}
|
|
91
|
-
.filerobot-Pixaforge-ImageCell-imageMeta {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: space-between;
|
|
95
|
-
position: absolute;
|
|
96
|
-
width: 100%;
|
|
97
|
-
bottom: 0;
|
|
98
|
-
|
|
99
|
-
span {
|
|
100
|
-
font-size: 11px;
|
|
101
|
-
line-height: 12px;
|
|
102
|
-
text-align: center;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.filerobot-Pixaforge-LandscapesContainer {
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-wrap: wrap;
|
|
108
|
-
}
|
|
109
|
-
.filerobot-Pixaforge-LandscapesContainer .filerobot-Pixaforge-ImageCell {
|
|
110
|
-
margin: 4px;
|
|
111
|
-
flex-grow: 1;
|
|
112
|
-
height: 160px;
|
|
113
|
-
max-height: 160px;
|
|
114
|
-
|
|
115
|
-
img {
|
|
116
|
-
max-height: 100%;
|
|
117
|
-
width: 100%;
|
|
118
|
-
object-fit: cover;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
1
|
+
// packages/@scaleflex/widget-pixaforge/src/components/TagsAndFoundLabel/index.jsx
|
|
2
|
+
@keyframes imgPlaceholderSkeleton {
|
|
3
|
+
0% {
|
|
4
|
+
background-position: -468px 0;
|
|
5
|
+
}
|
|
6
|
+
100% {
|
|
7
|
+
background-position: 468px 0;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.filerobot-Pixaforge-ImagesGallery {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
overflow: auto;
|
|
15
|
+
}
|
|
16
|
+
.filerobot-Pixaforge-ImagesGallery-imagesWrapper {
|
|
17
|
+
display: flex;
|
|
18
|
+
padding: 8px 8px 4px;
|
|
19
|
+
overflow: auto;
|
|
20
|
+
height: 100%;
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
.filerobot-c-empty {
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 16px;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.filerobot-Pixaforge-PortraitsColumn {
|
|
31
|
+
margin: 0 4px;
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
}
|
|
34
|
+
.filerobot-Pixaforge-ImageCell {
|
|
35
|
+
margin-bottom: 8px;
|
|
36
|
+
position: relative;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
|
|
39
|
+
&.filerobot-Pixaforge-ImageCell--selected, &:hover {
|
|
40
|
+
|
|
41
|
+
.filerobot-Pixaforge-overlay {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
img {
|
|
46
|
+
filter: brightness(0.8);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:hover .filerobot-Pixaforge-ImageCell-imageInfo {
|
|
51
|
+
display: block;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.filerobot-Pixaforge-ImageCell-imageWrapper {
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
animation-duration: 1s;
|
|
58
|
+
animation-fill-mode: forwards;
|
|
59
|
+
animation-iteration-count: infinite;
|
|
60
|
+
animation-name: imgPlaceholderSkeleton;
|
|
61
|
+
animation-timing-function: linear;
|
|
62
|
+
background: $background-primary;
|
|
63
|
+
background-image: linear-gradient(to right, $background-primary 0%, $gray-100--highlighted 30%, $background-primary 90%, $background-primary 100%);
|
|
64
|
+
background-repeat: no-repeat;
|
|
65
|
+
|
|
66
|
+
img {
|
|
67
|
+
border-radius: 2px;
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
filter: drop-shadow(0px 1px 2px rgba(78, 77, 77, 0.15));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.filerobot-Pixaforge-ImageCell-imageInfo {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
.filerobot-Pixaforge-ImageCell-authorAndTitle {
|
|
76
|
+
text-align: right;
|
|
77
|
+
position: absolute;
|
|
78
|
+
width: 80%;
|
|
79
|
+
top: 0;
|
|
80
|
+
right: 0;
|
|
81
|
+
|
|
82
|
+
div {
|
|
83
|
+
font-size: 10px;
|
|
84
|
+
line-height: 12px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
.filerobot-Pixaforge-ImageCell-author {
|
|
88
|
+
font-weight: 700;
|
|
89
|
+
margin-bottom: 4px;
|
|
90
|
+
}
|
|
91
|
+
.filerobot-Pixaforge-ImageCell-imageMeta {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: space-between;
|
|
95
|
+
position: absolute;
|
|
96
|
+
width: 100%;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
|
|
99
|
+
span {
|
|
100
|
+
font-size: 11px;
|
|
101
|
+
line-height: 12px;
|
|
102
|
+
text-align: center;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.filerobot-Pixaforge-LandscapesContainer {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-wrap: wrap;
|
|
108
|
+
}
|
|
109
|
+
.filerobot-Pixaforge-LandscapesContainer .filerobot-Pixaforge-ImageCell {
|
|
110
|
+
margin: 4px;
|
|
111
|
+
flex-grow: 1;
|
|
112
|
+
height: 160px;
|
|
113
|
+
max-height: 160px;
|
|
114
|
+
|
|
115
|
+
img {
|
|
116
|
+
max-height: 100%;
|
|
117
|
+
width: 100%;
|
|
118
|
+
object-fit: cover;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
// packages/@scaleflex/widget-pixaforge/src/components/TagsAndFoundLabel/index.jsx
|
|
2
|
-
.filerobot-Pixaforge-TagsAndFoundLabel {
|
|
3
|
-
margin: 12px 12px 4px;
|
|
4
|
-
}
|
|
5
|
-
.filerobot-Pixaforge-TagsAndFoundLabel-foundLabel {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
}
|
|
8
|
-
.filerobot-Pixaforge-TagsAndFoundLabel-tags {
|
|
9
|
-
margin-left: 6px;
|
|
10
|
-
margin-right: 4px;
|
|
11
|
-
display: inline;
|
|
12
|
-
}
|
|
13
|
-
.filerobot-Pixaforge-TagItem {
|
|
14
|
-
margin: 2px;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
|
|
17
|
-
span {
|
|
18
|
-
border: 1px solid $link-active !important;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.filerobot-Pixaforge-TagsAndFoundLabel-showMoreLabel {
|
|
22
|
-
display: inline-flex;
|
|
23
|
-
margin-left: 8px;
|
|
24
|
-
margin-top: 2px;
|
|
25
|
-
}
|
|
1
|
+
// packages/@scaleflex/widget-pixaforge/src/components/TagsAndFoundLabel/index.jsx
|
|
2
|
+
.filerobot-Pixaforge-TagsAndFoundLabel {
|
|
3
|
+
margin: 12px 12px 4px;
|
|
4
|
+
}
|
|
5
|
+
.filerobot-Pixaforge-TagsAndFoundLabel-foundLabel {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
}
|
|
8
|
+
.filerobot-Pixaforge-TagsAndFoundLabel-tags {
|
|
9
|
+
margin-left: 6px;
|
|
10
|
+
margin-right: 4px;
|
|
11
|
+
display: inline;
|
|
12
|
+
}
|
|
13
|
+
.filerobot-Pixaforge-TagItem {
|
|
14
|
+
margin: 2px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
|
|
17
|
+
span {
|
|
18
|
+
border: 1px solid $link-active !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.filerobot-Pixaforge-TagsAndFoundLabel-showMoreLabel {
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
margin-left: 8px;
|
|
24
|
+
margin-top: 2px;
|
|
25
|
+
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
// packages/@scaleflex/widget-pixaforge/src/components/MainView.jsx
|
|
2
|
-
.filerobot-Pixaforge-MainView {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 100%;
|
|
6
|
-
|
|
7
|
-
img {
|
|
8
|
-
user-select: none;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
.filerobot-Pixaforge-TopBar {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
padding: 12px;
|
|
15
|
-
background: $background-primary;
|
|
16
|
-
border-bottom: 1px solid $gray-200;
|
|
17
|
-
|
|
18
|
-
> div:nth-child(2) {
|
|
19
|
-
min-width: calc(100% - 128px)
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.filerobot-Pixaforge-TopBar-gallerySelect {
|
|
23
|
-
max-width: 128px;
|
|
24
|
-
margin-right: 8px;
|
|
25
|
-
}
|
|
26
|
-
.filerobot-Pixaforge-TopBar-galleryOption {
|
|
27
|
-
display: flex;
|
|
28
|
-
}
|
|
29
|
-
.filerobot-Pixaforge-Topbar-galleryIcon {
|
|
30
|
-
width: 16px;
|
|
31
|
-
height: 16px;
|
|
32
|
-
margin-right: 8px;
|
|
33
|
-
color: $active;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.filerobot-Pixaforge-overlay {
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 4px;
|
|
39
|
-
bottom: 4px;
|
|
40
|
-
left: 4px;
|
|
41
|
-
right: 4px;
|
|
42
|
-
display: none;
|
|
43
|
-
z-index: $zIndex-0;
|
|
44
|
-
|
|
45
|
-
* {
|
|
46
|
-
color: $white;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
// packages/@scaleflex/widget-pixaforge/src/components/MainView.jsx
|
|
2
|
+
.filerobot-Pixaforge-MainView {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100%;
|
|
6
|
+
|
|
7
|
+
img {
|
|
8
|
+
user-select: none;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
.filerobot-Pixaforge-TopBar {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
padding: 12px;
|
|
15
|
+
background: $background-primary;
|
|
16
|
+
border-bottom: 1px solid $gray-200;
|
|
17
|
+
|
|
18
|
+
> div:nth-child(2) {
|
|
19
|
+
min-width: calc(100% - 128px)
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.filerobot-Pixaforge-TopBar-gallerySelect {
|
|
23
|
+
max-width: 128px;
|
|
24
|
+
margin-right: 8px;
|
|
25
|
+
}
|
|
26
|
+
.filerobot-Pixaforge-TopBar-galleryOption {
|
|
27
|
+
display: flex;
|
|
28
|
+
}
|
|
29
|
+
.filerobot-Pixaforge-Topbar-galleryIcon {
|
|
30
|
+
width: 16px;
|
|
31
|
+
height: 16px;
|
|
32
|
+
margin-right: 8px;
|
|
33
|
+
color: $active;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.filerobot-Pixaforge-overlay {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 4px;
|
|
39
|
+
bottom: 4px;
|
|
40
|
+
left: 4px;
|
|
41
|
+
right: 4px;
|
|
42
|
+
display: none;
|
|
43
|
+
z-index: $zIndex-0;
|
|
44
|
+
|
|
45
|
+
* {
|
|
46
|
+
color: $white;
|
|
47
|
+
}
|
|
48
|
+
}
|
package/lib/style.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// THERE ARE OTHER IMPORTS IN THE END OF THE FILE DEPENDS ON THE OBRDER OF NEEDED STYLES
|
|
2
|
-
@import '@scaleflex/widget-core/lib/_variables.scss';
|
|
3
|
-
@import './components/index.scss';
|
|
4
|
-
@import './components/CategoriesCards/index.scss';
|
|
5
|
-
@import './components/TagsAndFoundLabel/index.scss';
|
|
6
|
-
@import './components/ImagesGallery/index.scss';
|
|
7
|
-
@import './components/IconsGallery/index.scss';
|
|
8
|
-
@import './components/CustomizeIcons/index.scss';
|
|
1
|
+
// THERE ARE OTHER IMPORTS IN THE END OF THE FILE DEPENDS ON THE OBRDER OF NEEDED STYLES
|
|
2
|
+
@import '@scaleflex/widget-core/lib/_variables.scss';
|
|
3
|
+
@import './components/index.scss';
|
|
4
|
+
@import './components/CategoriesCards/index.scss';
|
|
5
|
+
@import './components/TagsAndFoundLabel/index.scss';
|
|
6
|
+
@import './components/ImagesGallery/index.scss';
|
|
7
|
+
@import './components/IconsGallery/index.scss';
|
|
8
|
+
@import './components/CustomizeIcons/index.scss';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-pixaforge",
|
|
3
3
|
"description": "Import free images & icons from Pixaforge that has free gallery for both.",
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
13
13
|
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
14
|
-
"@scaleflex/widget-common": "^4.0
|
|
15
|
-
"@scaleflex/widget-companion-client": "^4.0
|
|
16
|
-
"@scaleflex/widget-icons": "^4.0
|
|
17
|
-
"@scaleflex/widget-utils": "^4.0
|
|
14
|
+
"@scaleflex/widget-common": "^4.1.0",
|
|
15
|
+
"@scaleflex/widget-companion-client": "^4.1.0",
|
|
16
|
+
"@scaleflex/widget-icons": "^4.1.0",
|
|
17
|
+
"@scaleflex/widget-utils": "^4.1.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"react": "^19.0.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"/lib",
|
|
32
32
|
"/types"
|
|
33
33
|
],
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "471120d67066617a0d8824eae11b07d1f2259473"
|
|
35
35
|
}
|