@colijnit/inphoto 300.1.3 → 300.1.4

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.
Files changed (58) hide show
  1. package/assets/inphoto-add-products.jpg +0 -0
  2. package/fesm2022/colijnit-inphoto.mjs +885 -727
  3. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  4. package/icons/arrow_down_solid_full.svg +1 -0
  5. package/icons/minus_solid_full.svg +1 -0
  6. package/icons/plus_solid_full.svg +1 -0
  7. package/index.d.ts +117 -53
  8. package/lib/component/ai-prompt/style/_layout.scss +1 -37
  9. package/lib/component/ai-prompt/style/_material-definition.scss +3 -1
  10. package/lib/component/ai-prompt/style/_theme.scss +60 -1
  11. package/lib/component/canvas-tool-bar/style/_layout.scss +20 -21
  12. package/lib/component/catalog/style/_layout.scss +1 -1
  13. package/lib/component/catalog/style/_theme.scss +8 -0
  14. package/lib/component/edit-canvas/style/_layout.scss +48 -5
  15. package/lib/component/edit-canvas/style/_theme.scss +4 -0
  16. package/lib/component/header/style/_layout.scss +24 -0
  17. package/lib/component/header/style/_material-definition.scss +3 -0
  18. package/lib/component/header/style/_theme.scss +20 -0
  19. package/lib/component/image-enhancer/style/_layout.scss +0 -61
  20. package/lib/component/image-enhancer/style/_theme.scss +14 -7
  21. package/lib/component/image-history/style/_layout.scss +3 -14
  22. package/lib/component/image-history/style/_theme.scss +19 -1
  23. package/lib/component/image-history-tile/style/_layout.scss +0 -11
  24. package/lib/component/image-history-tile/style/_theme.scss +9 -12
  25. package/lib/component/image-process-complete/style/_layout.scss +37 -29
  26. package/lib/component/image-process-complete/style/_material-definition.scss +2 -0
  27. package/lib/component/image-process-complete/style/_theme.scss +25 -46
  28. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +2 -2
  29. package/lib/component/image-tile/style/_layout.scss +26 -23
  30. package/lib/component/image-tile/style/_theme.scss +45 -0
  31. package/lib/component/photo-editor/style/_layout.scss +16 -2
  32. package/lib/component/prepare-starting-image/style/_layout.scss +29 -74
  33. package/lib/component/prepare-starting-image/style/_material-definition.scss +1 -0
  34. package/lib/component/prepare-starting-image/style/_theme.scss +20 -93
  35. package/lib/component/ready-to-add-articles/style/_layout.scss +6 -1
  36. package/lib/component/ready-to-add-articles/style/_theme.scss +3 -3
  37. package/lib/component/scene-context-menu/style/_layout.scss +0 -22
  38. package/lib/component/scene-context-menu/style/_material-definition.scss +2 -1
  39. package/lib/component/scene-context-menu/style/_theme.scss +36 -0
  40. package/lib/component/segment-inpaint/style/_layout.scss +26 -29
  41. package/lib/component/segment-inpaint/style/_theme.scss +33 -0
  42. package/lib/component/step-tile/style/_layout.scss +57 -0
  43. package/lib/component/step-tile/style/_material-definition.scss +2 -0
  44. package/lib/component/step-tile/style/_theme.scss +89 -0
  45. package/lib/component/threed-to-ai/style/_layout.scss +0 -19
  46. package/lib/component/threed-to-ai/style/_theme.scss +24 -0
  47. package/lib/component/threedscene/style/_layout.scss +12 -2
  48. package/lib/style/_variables.scss +1 -0
  49. package/lib/style/inphoto-globals.scss +1 -0
  50. package/package.json +1 -1
  51. package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +0 -45
  52. package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +0 -3
  53. package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +0 -10
  54. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +0 -49
  55. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +0 -3
  56. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +0 -10
  57. /package/lib/component/{image-process-complete/components/image-process-complete-next → header}/style/material.scss +0 -0
  58. /package/lib/component/{segment-inpaint/components/inpaint-info-card → step-tile}/style/material.scss +0 -0
@@ -2,8 +2,41 @@
2
2
 
3
3
  @include cfg.export-module('co-segment-inpaint-theme') {
4
4
  .co-segment-inpaint {
5
+ .inpaint-container {
6
+ .inpaint-info {
7
+ background: var(--co-inphoto-dialog-background-color);
8
+ }
9
+ .inpaint-info-dialog-container {
10
+ .header-icon {
11
+ background: var(--co-inphoto-prepare-icon-background);
12
+ color: var(--co-inphoto-accent-color);
13
+ @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-color));
14
+ }
5
15
 
16
+ }
17
+ .restart-button-container {
18
+ border-top: 1px solid #eee;
6
19
 
20
+ .co-button {
21
+ @include cfg.action-button(
22
+ var(--co-inphoto-button-background),
23
+ var(--co-inphoto-button-background),
24
+ var(--co-inphoto-button-color),
25
+ var(--co-inphoto-button-font-size),
26
+ var(--co-inphoto-button-icon-size),
27
+ var(--co-inphoto-button-icon-color),
28
+ var(--co-inphoto-button-border),
29
+ var(--co-inphoto-button-radius),
30
+ var(--co-inphoto-button-padding)
31
+ );
32
+
33
+ .label {
34
+ margin-left: 15px;
35
+ font-weight: bold;
36
+ }
37
+ }
38
+ }
39
+ }
7
40
  }
8
41
  }
9
42
 
@@ -0,0 +1,57 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-step-tile-layout') {
4
+ .co-step-tile {
5
+ cursor: pointer;
6
+ position: relative;
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: 10px;
10
+
11
+ .button-container {
12
+ display: flex;
13
+ gap: 10px;
14
+
15
+ .image-container {
16
+ max-width: 185px;
17
+ }
18
+
19
+ .number-container {
20
+ position: absolute;
21
+ top: 5px;
22
+ right: 5px;
23
+ width: 40px;
24
+ height: 40px;
25
+ border-radius: 50%;
26
+ display: flex;
27
+ justify-self: center;
28
+ align-items: center;
29
+ justify-content: space-around;
30
+ background: var(--co-inphoto-accent-color);
31
+ color: var(--co-inphoto-icon-color-light);
32
+ }
33
+
34
+ .button-container-text-container {
35
+ box-sizing: border-box;
36
+
37
+ .tile-head-new-container {
38
+ margin-bottom: 10px;
39
+ }
40
+
41
+ .tile-next-icon {
42
+ width: 45px;
43
+ height: 45px;
44
+ display: flex;
45
+ align-items: center;
46
+ position: absolute;
47
+ bottom: 8px;
48
+ right: 8px;
49
+
50
+ .co-icon {
51
+ flex: 1;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,89 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-step-tile-theme') {
4
+ .co-step-tile {
5
+ border-radius: var(--co-inphoto-border-radius);
6
+ background: var(--co-inphoto-background-white);
7
+ border: 1px solid var(--co-inphoto-border-color);
8
+ box-shadow: var(--co-inphoto-dialog-box-shadow);
9
+ box-sizing: border-box;
10
+ padding: 8px;
11
+
12
+ .button-container {
13
+
14
+ .image-container {
15
+ border-radius: var(--co-inphoto-border-radius);
16
+ overflow: hidden;
17
+
18
+ img {
19
+ width: 100%;
20
+ height: 100%;
21
+ object-fit: contain;
22
+ border-radius: var(--co-inphoto-border-radius);
23
+ }
24
+ }
25
+
26
+ .button-container-text-container {
27
+ padding: 16px 8px 40px;
28
+
29
+ .tile-head {
30
+ @include cfg.sub-header-text();
31
+ margin-bottom: 10px;
32
+ }
33
+
34
+ .tile-text {
35
+ @include cfg.text();
36
+ }
37
+
38
+ .tile-head-new-container {
39
+
40
+ .text-head-new {
41
+ margin-left: 10px;
42
+ box-sizing: border-box;
43
+ padding: 4px 12px;
44
+ border-radius: var(--co-inphoto-border-radius);
45
+ background: var(--co-inphoto-header-icon-background);
46
+ color: var(--co-inphoto-success-color);
47
+ font-size: var(--co-inphoto-font-size-label);
48
+ font-weight: bold;
49
+ }
50
+ }
51
+
52
+ .tile-next-icon {
53
+ border-radius: 50%;
54
+ background: var(--co-inphoto-dialog-background-color);
55
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
56
+ }
57
+ }
58
+
59
+ &:hover {
60
+ border-color: var(--co-inphoto-accent-color);
61
+ }
62
+ }
63
+
64
+
65
+ .step-tile-button {
66
+ .co-button {
67
+ display: flex;
68
+ width: 100%;justify-content: space-around;
69
+ color: var(--co-inphoto-action-button-color);
70
+ }
71
+ @include cfg.action-button(
72
+ var(--co-inphoto-active-button-background),
73
+ var(--co-inphoto-active-button-background),
74
+ var(--co-inphoto-active-button-color),
75
+ var(--co-inphoto-action-button-font-size),
76
+ var(--co-inphoto-action-button-icon-size),
77
+ var(--co-inphoto-action-button-icon-color),
78
+ 2px solid var(--co-inphoto-active-button-background),
79
+ var(--co-inphoto-action-button-radius),
80
+ 0);
81
+
82
+ border: none;
83
+ }
84
+
85
+ }
86
+ }
87
+
88
+
89
+
@@ -7,32 +7,13 @@
7
7
  right: 30px;
8
8
  box-sizing: border-box;
9
9
  padding: 20px;
10
- background: var(--co-inphoto-dialog-background-color);
11
- border-radius: var(--co-inphoto-border-radius);
12
10
  display: flex;
13
11
  align-items: center;
14
12
  cursor: pointer;
15
13
 
16
14
  .threed-to-ai-icon {
17
15
  margin-right: 10px;
18
- @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color))
19
16
  }
20
17
 
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
18
  }
38
19
  }
@@ -1,6 +1,30 @@
1
1
  @use '../../../style' as cfg;
2
2
 
3
3
  @include cfg.export-module('co-threed-to-ai-theme') {
4
+ .threed-to-ai-container {
5
+ background: var(--co-inphoto-dialog-background-color);
6
+ border-radius: var(--co-inphoto-border-radius);
4
7
 
8
+ .threed-to-ai-icon {
9
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color))
10
+ }
11
+
12
+ .threed-to-ai-body {
13
+ .threed-to-ai-body-head {
14
+ font-weight: bold;
15
+ font-size: var(--co-inphoto-font-size-text);
16
+ }
17
+
18
+ .threed-to-ai-body-text {
19
+ font-size: var(--co-inphoto-font-size-label);
20
+ }
21
+ }
22
+
23
+ &:hover {
24
+ .threed-to-ai-icon {
25
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-color))
26
+ }
27
+ }
28
+ }
5
29
  }
6
30
 
@@ -17,11 +17,21 @@
17
17
  canvas {
18
18
  width: 100%;
19
19
  height: 100%;
20
- //min-height: 100vh;
21
- //min-width: 100vw;
22
20
  }
23
21
  }
24
22
  }
25
23
  }
24
+
25
+
26
+ .co-configurator {
27
+ .floating {
28
+ position: fixed;
29
+ top: 10px;
30
+ right: 10px;
31
+ width: 100%;
32
+ max-width: 500px;
33
+ overflow: hidden;
34
+ }
35
+ }
26
36
  }
27
37
  }
@@ -40,6 +40,7 @@
40
40
  --co-inphoto-button-color: #172121;
41
41
  --co-inphoto-button-font-size: 12px;
42
42
  --co-inphoto-button-icon-size: 24px;
43
+ --co-inphoto-button-small-icon-size: 18px;
43
44
  --co-inphoto-button-icon-color: #333;
44
45
  --co-inphoto-button-border: 1px solid #ECEDEE;
45
46
  --co-inphoto-button-radius: 8px;
@@ -2,6 +2,7 @@
2
2
 
3
3
  * {
4
4
  font-family: Inter,sans-serif;
5
+ box-sizing: border-box;
5
6
  }
6
7
 
7
8
  html, body {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/inphoto",
3
- "version": "300.1.3",
3
+ "version": "300.1.4",
4
4
  "description": "Colijn IT inphoto module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -1,45 +0,0 @@
1
- @use '../../../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-process-complete-next-layout') {
4
- .co-image-process-complete-next {
5
- flex: 1;
6
-
7
- .image-process-complete-next {
8
- .image-process-complete-dialog-next-step {
9
- background: var(--co-inphoto-background-white);
10
- display: flex;
11
- align-items: start;
12
- justify-content: space-between;
13
- border: 1px solid var(--co-inphoto-next-stop-border-color);
14
- box-sizing: border-box;
15
- padding: 10px;
16
- border-radius: var(--co-inphoto-border-radius);
17
- cursor: pointer;
18
- min-height: 100px;
19
-
20
- &:hover {
21
- border-color: var(--co-inphoto-accent-color);
22
- }
23
-
24
- .next-step-icon {
25
- margin-right: 15px;
26
- }
27
-
28
- .next-body {
29
- .next-body-head {
30
- @include cfg.sub-header-text();
31
- margin-bottom: 15px;
32
- }
33
-
34
- .next-body-text {
35
- @include cfg.text();
36
- }
37
- }
38
-
39
- .next-step-continue {
40
- margin-left: auto;
41
- }
42
- }
43
- }
44
- }
45
- }
@@ -1,3 +0,0 @@
1
- :root {
2
- --co-inphoto-next-stop-border-color: #ECEDEE;
3
- }
@@ -1,10 +0,0 @@
1
- @use '../../../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-process-complete-next-theme') {
4
- .co-image-process-complete-next {
5
-
6
- }
7
- }
8
-
9
-
10
-
@@ -1,49 +0,0 @@
1
- @use '../../../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-inpaint-info-card-layout') {
4
- .co-inpaint-info-card {
5
- flex: 1;
6
-
7
- .inpaint-info-container {
8
- display: flex;
9
- justify-content: space-between;
10
-
11
- .number-container {
12
- width: 40px;
13
- height: 40px;
14
- border-radius: 50%;
15
- display: flex;
16
- justify-self: center;
17
- align-items: center;
18
- justify-content: space-around;
19
- background: var(--co-inphoto-accent-color);
20
- color: var(--co-inphoto-icon-color-light);
21
- }
22
-
23
- .col-right {
24
- box-sizing: border-box;
25
- padding: 0 4px 4px 15px;
26
-
27
- .card-icon {
28
- width: 50px;
29
- height: 50px;
30
- background: var(--co-inphoto-info-dialog-icon-bg);
31
- display: flex;
32
- align-items: center;
33
- justify-content: space-around;
34
- margin-bottom: 10px;
35
- border-radius: 4px;
36
- }
37
-
38
- .card-title {
39
- @include cfg.sub-header-text();
40
- margin-bottom: 10px;
41
- }
42
-
43
- .card-description {
44
- @include cfg.text()
45
- }
46
- }
47
- }
48
- }
49
- }
@@ -1,3 +0,0 @@
1
- :root {
2
- --co-inphoto-info-dialog-icon-bg: #EEE;
3
- }
@@ -1,10 +0,0 @@
1
- @use '../../../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-inpaint-info-card-theme') {
4
- .co-inpaint-info-card {
5
-
6
- }
7
- }
8
-
9
-
10
-