@colijnit/inphoto 262.1.1 → 300.1.1
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/assets/inphoto-select-all.png +0 -0
- package/assets/inphoto-single-select.png +0 -0
- package/fesm2022/colijnit-inphoto.mjs +5126 -1933
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/angle_down_solid_full.svg +1 -0
- package/icons/angle_up_solid_full.svg +1 -0
- package/icons/arrow_left_solid_full.svg +1 -0
- package/icons/arrow_right_solid_full.svg +1 -0
- package/icons/arrow_rotate_left_solid_full.svg +1 -0
- package/icons/arrow_up_from_bracket_solid.svg +1 -0
- package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
- package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
- package/icons/brush_solid_full.svg +1 -0
- package/icons/caret_down_solid_full.svg +1 -0
- package/icons/caret_up_solid_full.svg +1 -0
- package/icons/check_solid_full.svg +1 -0
- package/icons/circle_info_regular_full.svg +1 -0
- package/icons/cloud_arrow_up_regular.svg +1 -0
- package/icons/copy_light.svg +1 -0
- package/icons/couch_solid_full.svg +1 -0
- package/icons/cross_skinny.svg +1 -0
- package/icons/cube_regular_full.svg +1 -0
- package/icons/draw_square_regular.svg +1 -0
- package/icons/eraser_regular.svg +1 -0
- package/icons/eraser_solid_full.svg +1 -0
- package/icons/file_vector_light.svg +1 -0
- package/icons/fill_solid_full.svg +1 -0
- package/icons/grip_dots_vertical_solid.svg +1 -0
- package/icons/grip_vertical_sharp_solid.svg +1 -0
- package/icons/image_circle_arrow_down_solid_full.svg +1 -0
- package/icons/image_circle_xmark_solid_full.svg +1 -0
- package/icons/image_solid_full.svg +1 -0
- package/icons/images_sharp_solid_full.svg +1 -0
- package/icons/info_solid_full.svg +1 -0
- package/icons/lightbulb_regular_full.svg +1 -0
- package/icons/paintbrush_regular.svg +1 -0
- package/icons/pen_to_square_solid_full.svg +1 -0
- package/icons/rotate_left_sharp_solid_full.svg +1 -0
- package/icons/rotate_solid_full.svg +1 -0
- package/icons/save_skinny.svg +3 -0
- package/icons/scale.svg +1 -0
- package/icons/sharp_regular_object_group_pen.svg +1 -0
- package/icons/sparkles_regular_full.svg +1 -0
- package/icons/trash_can_light.svg +1 -0
- package/icons/up_down_left_right_solid_full.svg +1 -0
- package/icons/upload_solid_full.svg +1 -0
- package/icons/wand_magic_sparkles.svg +1 -0
- package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
- package/icons/xmark_solid_full.svg +1 -0
- package/index.d.ts +817 -334
- package/lib/component/ai-prompt/style/_layout.scss +125 -0
- package/lib/component/ai-prompt/style/_theme.scss +9 -0
- package/lib/component/back-next-buttons/style/_layout.scss +2 -2
- package/lib/component/back-next-buttons/style/_theme.scss +32 -22
- package/lib/component/canvas-tool-bar/style/_layout.scss +129 -0
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
- package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
- package/lib/component/catalog/style/_layout.scss +8 -35
- package/lib/component/catalog/style/_material-definition.scss +2 -1
- package/lib/component/catalog/style/_theme.scss +41 -7
- package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
- package/lib/component/edit-canvas/style/_layout.scss +10 -38
- package/lib/component/edit-canvas/style/_theme.scss +2 -27
- package/lib/component/error-dialog/style/_layout.scss +5 -6
- package/lib/component/error-dialog/style/_theme.scss +2 -2
- package/lib/component/image-enhancer/style/_layout.scss +51 -15
- package/lib/component/image-enhancer/style/_theme.scss +12 -12
- package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
- package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
- package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
- package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
- package/lib/component/image-history/style/_layout.scss +52 -13
- package/lib/component/image-history/style/_theme.scss +19 -7
- package/lib/component/image-history-tile/style/_layout.scss +46 -32
- package/lib/component/image-history-tile/style/_theme.scss +4 -4
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +44 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
- package/lib/component/image-process-complete/style/_layout.scss +50 -0
- package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/style/_theme.scss +61 -0
- package/lib/component/image-process-complete/style/material.scss +3 -0
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
- package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
- package/lib/component/image-tile/style/_layout.scss +100 -0
- package/lib/component/image-tile/style/_material-definition.scss +3 -0
- package/lib/component/image-tile/style/_theme.scss +8 -0
- package/lib/component/image-tile/style/material.scss +3 -0
- package/lib/component/image-upload/style/_layout.scss +34 -18
- package/lib/component/image-upload/style/_material-definition.scss +3 -3
- package/lib/component/image-upload/style/_theme.scss +29 -20
- package/lib/component/inphoto/style/_layout.scss +2 -10
- package/lib/component/inphoto/style/_theme.scss +2 -2
- package/lib/component/photo-editor/style/_layout.scss +19 -24
- package/lib/component/photo-editor/style/_theme.scss +2 -2
- package/lib/component/prepare-starting-image/style/_layout.scss +106 -24
- package/lib/component/prepare-starting-image/style/_theme.scss +2 -65
- package/lib/component/process-loader/style/_layout.scss +50 -16
- package/lib/component/process-loader/style/_theme.scss +2 -12
- package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
- package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
- package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
- package/lib/component/ready-to-add-articles/style/material.scss +3 -0
- package/lib/component/scene-context-menu/style/_layout.scss +90 -0
- package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
- package/lib/component/scene-context-menu/style/_theme.scss +8 -0
- package/lib/component/scene-context-menu/style/material.scss +3 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
- package/lib/component/segment-inpaint/style/_layout.scss +52 -0
- package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
- package/lib/component/segment-inpaint/style/_theme.scss +11 -0
- package/lib/component/segment-inpaint/style/material.scss +3 -0
- package/lib/component/side-bar-menu/style/_layout.scss +24 -19
- package/lib/component/side-bar-menu/style/_theme.scss +2 -15
- package/lib/component/threed-to-ai/style/_layout.scss +38 -0
- package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
- package/lib/component/threed-to-ai/style/_theme.scss +6 -0
- package/lib/component/threed-to-ai/style/material.scss +3 -0
- package/lib/component/threedscene/style/_layout.scss +12 -41
- package/lib/component/threedscene/style/_theme.scss +3 -33
- package/lib/component/upload-starting-image/style/_layout.scss +40 -31
- package/lib/component/upload-starting-image/style/_theme.scss +31 -13
- package/lib/style/_index.scss +2 -0
- package/lib/style/_mixin.scss +28 -0
- package/lib/style/_variables.scss +38 -33
- package/lib/style/inphoto-globals.scss +15 -0
- package/package.json +6 -6
- package/lib/component/model-list/style/_layout.scss +0 -7
- package/lib/component/model-list/style/_theme.scss +0 -10
- package/lib/component/model-list-item/style/_material-definition.scss +0 -4
- package/lib/component/model-list-item/style/_theme.scss +0 -10
- package/lib/component/step-menu/style/_layout.scss +0 -43
- package/lib/component/step-menu/style/_material-definition.scss +0 -7
- package/lib/component/step-menu/style/_theme.scss +0 -44
- package/lib/style/app-globals.scss +0 -26
- /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
- /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
- /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
- /package/lib/component/{step-menu → configuration-side-bar-menu}/style/material.scss +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-segment-inpaint-layout') {
|
|
4
|
+
.co-segment-inpaint {
|
|
5
|
+
.segment-inpaint-container {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
padding: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.inpaint-info-dialog-container {
|
|
15
|
+
position: absolute;
|
|
16
|
+
z-index: 10000;
|
|
17
|
+
bottom: 20%;
|
|
18
|
+
left: calc(50% - 490px);
|
|
19
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
20
|
+
width: 100%;
|
|
21
|
+
max-width: 980px;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
padding: 20px 20px 30px;
|
|
24
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
25
|
+
|
|
26
|
+
.inpaint-info-dialog-header {
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
padding: 10px 0 25px;
|
|
31
|
+
|
|
32
|
+
.dialog-header {
|
|
33
|
+
@include cfg.sub-header-text()
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.close-click {
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dialog-content {
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: space-between;
|
|
44
|
+
|
|
45
|
+
.arrow-next {
|
|
46
|
+
width: 50px;
|
|
47
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,40 +1,45 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-side-bar-menu-layout') {
|
|
3
|
+
@include cfg.export-module('co-side-bar-menu-layout') {
|
|
4
4
|
.co-side-bar-menu {
|
|
5
|
-
.
|
|
6
|
-
position:
|
|
7
|
-
|
|
5
|
+
.side-bar-menu {
|
|
6
|
+
position: fixed;
|
|
7
|
+
background-color: #fff;
|
|
8
8
|
z-index: 5;
|
|
9
|
-
width:
|
|
9
|
+
width: 85px;
|
|
10
10
|
top: 0;
|
|
11
11
|
left: 0;
|
|
12
12
|
height: 100vh;
|
|
13
13
|
|
|
14
|
-
.
|
|
15
|
-
width:
|
|
16
|
-
height:
|
|
14
|
+
.side-bar-menu-item {
|
|
15
|
+
width: 85px;
|
|
16
|
+
min-height: 85px;
|
|
17
17
|
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
18
19
|
align-items: center;
|
|
19
20
|
justify-content: center;
|
|
20
21
|
cursor: pointer;
|
|
21
22
|
position: relative;
|
|
22
23
|
|
|
23
|
-
.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
padding: 0 10px;
|
|
29
|
-
line-height: 50px;
|
|
24
|
+
@include cfg.default-icon(25px, 25px, #333);
|
|
25
|
+
|
|
26
|
+
.side-bar-menu-text {
|
|
27
|
+
font-size: 13px;
|
|
28
|
+
text-align: center;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
&:hover {
|
|
33
|
-
.
|
|
34
|
-
left: 50px;
|
|
35
|
-
}
|
|
32
|
+
@include cfg.default-icon(25px, 25px, #da9803);
|
|
36
33
|
}
|
|
37
34
|
}
|
|
35
|
+
|
|
36
|
+
.side-bar-menu-item-active {
|
|
37
|
+
@include cfg.default-icon(25px, 25px, #da9803);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.side-bar-menu-item-disabled {
|
|
41
|
+
@include cfg.default-icon(25px, 25px, #eee);
|
|
42
|
+
}
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
}
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-side-bar-menu-theme') {
|
|
4
|
-
.co-side-bar-menu {
|
|
5
|
-
.lib-menu-bar {
|
|
6
|
-
background-color: var(--co-inphoto-loader-background-dark);
|
|
3
|
+
@include cfg.export-module('co-side-bar-menu-theme') {
|
|
7
4
|
|
|
8
|
-
.lib-menu-bar-item {
|
|
9
|
-
.lib-menu-tooltip {
|
|
10
|
-
background-color: var(--co-inphoto-loader-background-dark);
|
|
11
|
-
color: var(--co-inphoto-color-light);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@include default-icon(40px, 40px, #fff);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
5
|
}
|
|
19
6
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-threed-to-ai-layout') {
|
|
4
|
+
.threed-to-ai-container {
|
|
5
|
+
position: absolute;
|
|
6
|
+
bottom: 30px;
|
|
7
|
+
right: 30px;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
padding: 20px;
|
|
10
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
11
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
|
|
16
|
+
.threed-to-ai-icon {
|
|
17
|
+
margin-right: 10px;
|
|
18
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color))
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.threed-to-ai-body {
|
|
22
|
+
.threed-to-ai-body-head {
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
font-size: var(--co-inphoto-font-size-text);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.threed-to-ai-body-text {
|
|
28
|
+
font-size: var(--co-inphoto-font-size-label);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
.threed-to-ai-icon {
|
|
34
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-color))
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,50 +1,21 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('co-threedscene-layout') {
|
|
4
|
-
.co-threedscene {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.co-product-configurator {
|
|
8
|
-
.product-configurator-container {
|
|
9
|
-
top: 10px;
|
|
10
|
-
height: calc(100% - 20px);
|
|
11
|
-
max-height: calc(100% - 20px);
|
|
12
|
-
border: 1px solid #000;
|
|
13
|
-
|
|
14
|
-
.product-configurator-details {
|
|
15
|
-
overflow-x: hidden;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
20
2
|
|
|
3
|
+
@include cfg.export-module('co-inphoto-threed-scene-layout') {
|
|
4
|
+
.co-inphoto-threed-scene {
|
|
21
5
|
.threed-container {
|
|
22
|
-
display: flex;
|
|
23
|
-
gap: 20px;
|
|
24
|
-
|
|
25
6
|
.scene-container {
|
|
26
|
-
width: 70%;
|
|
27
|
-
|
|
28
7
|
.three-container {
|
|
29
8
|
width: 100%;
|
|
30
9
|
height: 100%;
|
|
31
|
-
min-height:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
box-sizing: border-box;
|
|
41
|
-
padding: 10px;
|
|
42
|
-
|
|
43
|
-
.header-icon-container {
|
|
44
|
-
margin-bottom: 10px;
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
gap: 10px;
|
|
10
|
+
min-height: 100vh;
|
|
11
|
+
min-width: 100vw;
|
|
12
|
+
|
|
13
|
+
canvas {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
min-height: 100vh;
|
|
17
|
+
min-width: 100vw;
|
|
18
|
+
}
|
|
48
19
|
}
|
|
49
20
|
}
|
|
50
21
|
}
|
|
@@ -1,38 +1,8 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-
|
|
4
|
-
.co-
|
|
5
|
-
.scene-info-container {
|
|
6
|
-
.info-container {
|
|
7
|
-
.header-icon-container {
|
|
8
|
-
margin-bottom: 10px;
|
|
9
|
-
h2 {
|
|
10
|
-
font-size: var(--co-inphoto-font-size-head);
|
|
11
|
-
color: var(--co-inphoto-color-dark);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
3
|
+
@include cfg.export-module('co-inphoto-threed-scene-theme') {
|
|
4
|
+
.co-inphoto-threed-scene {
|
|
14
5
|
|
|
15
|
-
p {
|
|
16
|
-
font-size: var(--co-inphoto-font-size-label);
|
|
17
|
-
color: var(--co-inphoto-color-dark);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.action-button {
|
|
21
|
-
margin: 20px 0;
|
|
22
|
-
@include action-button(
|
|
23
|
-
var(--co-inphoto-action-button-background),
|
|
24
|
-
var(--co-inphoto-action-button-background),
|
|
25
|
-
var(--co-inphoto-action-button-color),
|
|
26
|
-
var(--co-inphoto-action-button-font-size),
|
|
27
|
-
var(--co-inphoto-action-button-icon-size),
|
|
28
|
-
var(--co-inphoto-action-button-icon-color),
|
|
29
|
-
var(--co-inphoto-action-button-border),
|
|
30
|
-
var(--co-inphoto-action-button-radius),
|
|
31
|
-
var(--co-inphoto-action-button-padding)
|
|
32
|
-
)
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
6
|
}
|
|
37
7
|
}
|
|
38
8
|
|
|
@@ -1,44 +1,53 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-upload-starting-image-layout') {
|
|
3
|
+
@include cfg.export-module('co-upload-starting-image-layout') {
|
|
4
4
|
.co-upload-starting-image {
|
|
5
|
+
|
|
5
6
|
.upload-starting-container {
|
|
6
7
|
display: flex;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
justify-content: space-around;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
min-height: 100vh;
|
|
13
|
+
|
|
14
|
+
.upload-image-dialog {
|
|
15
|
+
width: 100%;
|
|
16
|
+
max-width: 680px;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
.close-click {
|
|
21
|
+
position: absolute;
|
|
22
|
+
right: 10px;
|
|
23
|
+
top: 10px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.upload-image-dialog-header {
|
|
27
|
+
max-width: 500px;
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-self: center;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: center;
|
|
20
32
|
}
|
|
21
33
|
}
|
|
22
34
|
|
|
23
|
-
.upload-
|
|
24
|
-
width:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
35
|
+
.image-upload-container {
|
|
36
|
+
max-width: 500px;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-self: center;
|
|
39
|
+
}
|
|
28
40
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
.image-upload-button-container {
|
|
42
|
+
.inphoto-cancel-button {
|
|
43
|
+
display: block;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
max-width: 230px;
|
|
46
|
+
text-align: center;
|
|
47
|
+
margin: 10px auto;
|
|
48
|
+
cursor: pointer;
|
|
35
49
|
}
|
|
36
50
|
}
|
|
37
51
|
}
|
|
38
|
-
|
|
39
|
-
.co-button.disabled {
|
|
40
|
-
cursor: not-allowed;
|
|
41
|
-
opacity: 0.5;
|
|
42
|
-
}
|
|
43
52
|
}
|
|
44
53
|
}
|
|
@@ -1,25 +1,43 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-upload-starting-image-theme') {
|
|
3
|
+
@include cfg.export-module('co-upload-starting-image-theme') {
|
|
4
4
|
.co-upload-starting-image {
|
|
5
5
|
.upload-starting-container {
|
|
6
|
+
background-color: #eee;
|
|
6
7
|
|
|
7
|
-
.upload-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
.upload-image-dialog {
|
|
9
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
10
|
+
padding: 25px 50px;
|
|
11
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.upload-image-dialog-header {
|
|
15
|
+
margin-bottom: 30px;
|
|
16
|
+
|
|
17
|
+
.header-icon {
|
|
18
|
+
margin: 0 0 15px;
|
|
19
|
+
@include cfg.default-icon(var(--co-inphoto-icon-header), var(--co-inphoto-icon-header), var(--co-inphoto-accent-color));
|
|
15
20
|
}
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
color: var(--co-inphoto-color-dark);
|
|
22
|
+
.header-text {
|
|
23
|
+
@include cfg.header-text();
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
27
|
+
|
|
28
|
+
.image-upload-button-container {
|
|
29
|
+
.inphoto-cancel-button {
|
|
30
|
+
margin: 10px auto;
|
|
31
|
+
background-color: var(--co-inphoto-button-background);
|
|
32
|
+
color: var(--co-inphoto-button-color);
|
|
33
|
+
font-size: var(--co-inphoto-button-font-size);
|
|
34
|
+
border: var(--co-inphoto-button-border);
|
|
35
|
+
border-radius: var(--co-inphoto-button-radius);
|
|
36
|
+
font-weight: var(--co-inphoto-button-weight);
|
|
37
|
+
padding: 10px 15px;
|
|
38
|
+
@include cfg.default-icon(var(--co-inphoto-button-icon-size), var(--co-inphoto-button-icon-size), var(--co-inphoto-button-icon-color))
|
|
39
|
+
}
|
|
40
|
+
}
|
|
23
41
|
}
|
|
24
42
|
}
|
|
25
43
|
}
|
package/lib/style/_mixin.scss
CHANGED
|
@@ -46,7 +46,35 @@ $imported-modules: () !default;
|
|
|
46
46
|
svg {
|
|
47
47
|
path, polygon, rect {
|
|
48
48
|
fill: $color;
|
|
49
|
+
transition: fill 0.15s ease;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
}
|
|
54
|
+
|
|
55
|
+
@mixin header-text() {
|
|
56
|
+
font-size: var(--co-inphoto-font-size-head);
|
|
57
|
+
color: var(--co-inphoto-color-dark);
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
line-height: 175%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin sub-header-text() {
|
|
63
|
+
font-size: var(--co-inphoto-font-size-sub-head);
|
|
64
|
+
color: var(--co-inphoto-color-dark);
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
line-height: 125%;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@mixin sub-header-light() {
|
|
70
|
+
font-size: var(--co-inphoto-font-size-sub-head);
|
|
71
|
+
color: var(--co-inphoto-accent-text);
|
|
72
|
+
line-height: 125%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@mixin text() {
|
|
76
|
+
font-size: var(--co-inphoto-font-size-text);
|
|
77
|
+
color: var(--co-inphoto-color-dark);
|
|
78
|
+
line-height: 125%;
|
|
79
|
+
|
|
80
|
+
}
|
|
@@ -6,8 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
--co-inphoto-
|
|
9
|
+
--co-inphoto-accent-color: #D29428;
|
|
10
|
+
--co-inphoto-success-color: #1C9C21;
|
|
11
|
+
--co-inphoto-border-radius: 15px;
|
|
12
|
+
--co-inphoto-dialog-background-color: #FAF8F7;
|
|
13
|
+
--co-inphoto-background-white: #ffffff;
|
|
14
|
+
--co-inphoto-border-color: #D9D9DF;
|
|
15
|
+
--co-inphoto-header-icon-background: #DEF1DD;
|
|
11
16
|
|
|
12
17
|
/* Icon */
|
|
13
18
|
--co-inphoto-icon-color: #000;
|
|
@@ -15,47 +20,47 @@
|
|
|
15
20
|
--co-inphoto-icon-size: 24px;
|
|
16
21
|
--co-inphoto-icon-size-small: 16px;
|
|
17
22
|
--co-inphoto-icon-size-large: 32px;
|
|
23
|
+
--co-inphoto-icon-header: 40px;
|
|
18
24
|
|
|
19
25
|
/* Text related stuff */
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
--co-inphoto-font-size-
|
|
23
|
-
--co-inphoto-font-size-
|
|
24
|
-
--co-inphoto-
|
|
26
|
+
|
|
27
|
+
/** Main head **/
|
|
28
|
+
--co-inphoto-font-size-label: 12px;
|
|
29
|
+
--co-inphoto-font-size-text: 15px;
|
|
30
|
+
--co-inphoto-font-size-sub-head: 18px;
|
|
31
|
+
--co-inphoto-font-size-head: 24px;
|
|
32
|
+
--co-inphoto-color-dark: #000000;
|
|
33
|
+
--co-inphoto-accent-text: #64748B;
|
|
25
34
|
--co-inphoto-color-light: #ffffff;
|
|
26
35
|
|
|
27
36
|
/* Buttons related stuff */
|
|
28
37
|
|
|
29
|
-
--co-inphoto-
|
|
30
|
-
--co-inphoto-
|
|
31
|
-
--co-inphoto-
|
|
32
|
-
--co-inphoto-
|
|
33
|
-
--co-inphoto-
|
|
34
|
-
--co-inphoto-
|
|
35
|
-
--co-inphoto-
|
|
36
|
-
--co-inphoto-
|
|
37
|
-
|
|
38
|
-
--co-inphoto-prev-button-background: #313854;
|
|
39
|
-
--co-inphoto-prev-button-color: #fff;
|
|
40
|
-
--co-inphoto-prev-button-font-size: 15px;
|
|
41
|
-
--co-inphoto-prev-button-icon-size: 24px;
|
|
42
|
-
--co-inphoto-prev-button-icon-color: #fff;
|
|
43
|
-
--co-inphoto-prev-button-border: 1px solid #313854;
|
|
44
|
-
--co-inphoto-prev-button-radius: 3px;
|
|
45
|
-
--co-inphoto-prev-button-padding: 15px 20px;
|
|
46
|
-
|
|
38
|
+
--co-inphoto-button-background: #fff;
|
|
39
|
+
--co-inphoto-button-color: #6B7280;
|
|
40
|
+
--co-inphoto-button-font-size: 16px;
|
|
41
|
+
--co-inphoto-button-icon-size: 24px;
|
|
42
|
+
--co-inphoto-button-icon-color: #333;
|
|
43
|
+
--co-inphoto-button-border: 1px solid #ECEDEE;
|
|
44
|
+
--co-inphoto-button-radius: 8px;
|
|
45
|
+
--co-inphoto-button-padding: 8px;
|
|
46
|
+
--co-inphoto-button-weight: bold;
|
|
47
47
|
|
|
48
|
-
--co-inphoto-
|
|
49
|
-
--co-inphoto-
|
|
48
|
+
--co-inphoto-active-button-background: #1a73e8;
|
|
49
|
+
--co-inphoto-active-button-color: #fff;
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
--co-inphoto-action-button-background: #
|
|
53
|
-
--co-inphoto-action-button-color: #
|
|
52
|
+
--co-inphoto-action-button-background: #D29428;
|
|
53
|
+
--co-inphoto-action-button-color: #fff;
|
|
54
54
|
--co-inphoto-action-button-font-size: 15px;
|
|
55
55
|
--co-inphoto-action-button-icon-size: 24px;
|
|
56
|
-
--co-inphoto-action-button-icon-color: #
|
|
57
|
-
--co-inphoto-action-button-border:
|
|
58
|
-
--co-inphoto-action-button-radius:
|
|
59
|
-
--co-inphoto-action-button-padding:
|
|
56
|
+
--co-inphoto-action-button-icon-color: #fff;
|
|
57
|
+
--co-inphoto-action-button-border: 2px solid #D29428;
|
|
58
|
+
--co-inphoto-action-button-radius: 8px;
|
|
59
|
+
--co-inphoto-action-button-padding: 8px;
|
|
60
|
+
|
|
61
|
+
--co-inphoto-cancel-button-border-color: #ccc;
|
|
62
|
+
|
|
63
|
+
--co-inphoto-loader-background-dark: rgba(0, 0, 0, 0.5);
|
|
64
|
+
--co-inphoto-loader-background-light: rgba(255, 255, 255, 0.5);
|
|
60
65
|
|
|
61
66
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
|
|
2
|
+
|
|
3
|
+
* {
|
|
4
|
+
font-family: Inter,sans-serif;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html, body {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
padding: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
p {
|
|
14
|
+
margin: 0;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/inphoto",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "300.1.1",
|
|
4
4
|
"description": "Colijn IT inphoto module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/common": ">=20.3.16",
|
|
11
11
|
"@angular/core": ">=20.3.16",
|
|
12
|
-
"@colijnit/articleapi": ">=
|
|
13
|
-
"@colijnit/configuratorapi": ">=
|
|
14
|
-
"@colijnit/corecomponents_v12": ">=
|
|
15
|
-
"@colijnit/ioneconnector": ">=
|
|
16
|
-
"@colijnit/mainapi": ">=
|
|
12
|
+
"@colijnit/articleapi": ">=300.1.0",
|
|
13
|
+
"@colijnit/configuratorapi": ">=300.1.0",
|
|
14
|
+
"@colijnit/corecomponents_v12": ">=300.1.0",
|
|
15
|
+
"@colijnit/ioneconnector": ">=300.1.0",
|
|
16
|
+
"@colijnit/mainapi": ">=300.1.0",
|
|
17
17
|
"@types/three": "0.178.1",
|
|
18
18
|
"three": "0.178.0"
|
|
19
19
|
},
|