@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.
Files changed (147) hide show
  1. package/assets/inphoto-select-all.png +0 -0
  2. package/assets/inphoto-single-select.png +0 -0
  3. package/fesm2022/colijnit-inphoto.mjs +5126 -1933
  4. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  5. package/icons/angle_down_solid_full.svg +1 -0
  6. package/icons/angle_up_solid_full.svg +1 -0
  7. package/icons/arrow_left_solid_full.svg +1 -0
  8. package/icons/arrow_right_solid_full.svg +1 -0
  9. package/icons/arrow_rotate_left_solid_full.svg +1 -0
  10. package/icons/arrow_up_from_bracket_solid.svg +1 -0
  11. package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
  12. package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
  13. package/icons/brush_solid_full.svg +1 -0
  14. package/icons/caret_down_solid_full.svg +1 -0
  15. package/icons/caret_up_solid_full.svg +1 -0
  16. package/icons/check_solid_full.svg +1 -0
  17. package/icons/circle_info_regular_full.svg +1 -0
  18. package/icons/cloud_arrow_up_regular.svg +1 -0
  19. package/icons/copy_light.svg +1 -0
  20. package/icons/couch_solid_full.svg +1 -0
  21. package/icons/cross_skinny.svg +1 -0
  22. package/icons/cube_regular_full.svg +1 -0
  23. package/icons/draw_square_regular.svg +1 -0
  24. package/icons/eraser_regular.svg +1 -0
  25. package/icons/eraser_solid_full.svg +1 -0
  26. package/icons/file_vector_light.svg +1 -0
  27. package/icons/fill_solid_full.svg +1 -0
  28. package/icons/grip_dots_vertical_solid.svg +1 -0
  29. package/icons/grip_vertical_sharp_solid.svg +1 -0
  30. package/icons/image_circle_arrow_down_solid_full.svg +1 -0
  31. package/icons/image_circle_xmark_solid_full.svg +1 -0
  32. package/icons/image_solid_full.svg +1 -0
  33. package/icons/images_sharp_solid_full.svg +1 -0
  34. package/icons/info_solid_full.svg +1 -0
  35. package/icons/lightbulb_regular_full.svg +1 -0
  36. package/icons/paintbrush_regular.svg +1 -0
  37. package/icons/pen_to_square_solid_full.svg +1 -0
  38. package/icons/rotate_left_sharp_solid_full.svg +1 -0
  39. package/icons/rotate_solid_full.svg +1 -0
  40. package/icons/save_skinny.svg +3 -0
  41. package/icons/scale.svg +1 -0
  42. package/icons/sharp_regular_object_group_pen.svg +1 -0
  43. package/icons/sparkles_regular_full.svg +1 -0
  44. package/icons/trash_can_light.svg +1 -0
  45. package/icons/up_down_left_right_solid_full.svg +1 -0
  46. package/icons/upload_solid_full.svg +1 -0
  47. package/icons/wand_magic_sparkles.svg +1 -0
  48. package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
  49. package/icons/xmark_solid_full.svg +1 -0
  50. package/index.d.ts +817 -334
  51. package/lib/component/ai-prompt/style/_layout.scss +125 -0
  52. package/lib/component/ai-prompt/style/_theme.scss +9 -0
  53. package/lib/component/back-next-buttons/style/_layout.scss +2 -2
  54. package/lib/component/back-next-buttons/style/_theme.scss +32 -22
  55. package/lib/component/canvas-tool-bar/style/_layout.scss +129 -0
  56. package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
  57. package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
  58. package/lib/component/catalog/style/_layout.scss +8 -35
  59. package/lib/component/catalog/style/_material-definition.scss +2 -1
  60. package/lib/component/catalog/style/_theme.scss +41 -7
  61. package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
  62. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
  63. package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
  64. package/lib/component/edit-canvas/style/_layout.scss +10 -38
  65. package/lib/component/edit-canvas/style/_theme.scss +2 -27
  66. package/lib/component/error-dialog/style/_layout.scss +5 -6
  67. package/lib/component/error-dialog/style/_theme.scss +2 -2
  68. package/lib/component/image-enhancer/style/_layout.scss +51 -15
  69. package/lib/component/image-enhancer/style/_theme.scss +12 -12
  70. package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
  71. package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
  72. package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
  73. package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
  74. package/lib/component/image-history/style/_layout.scss +52 -13
  75. package/lib/component/image-history/style/_theme.scss +19 -7
  76. package/lib/component/image-history-tile/style/_layout.scss +46 -32
  77. package/lib/component/image-history-tile/style/_theme.scss +4 -4
  78. package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +44 -0
  79. package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
  80. package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
  81. package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
  82. package/lib/component/image-process-complete/style/_layout.scss +50 -0
  83. package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
  84. package/lib/component/image-process-complete/style/_theme.scss +61 -0
  85. package/lib/component/image-process-complete/style/material.scss +3 -0
  86. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
  87. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
  88. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
  89. package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
  90. package/lib/component/image-tile/style/_layout.scss +100 -0
  91. package/lib/component/image-tile/style/_material-definition.scss +3 -0
  92. package/lib/component/image-tile/style/_theme.scss +8 -0
  93. package/lib/component/image-tile/style/material.scss +3 -0
  94. package/lib/component/image-upload/style/_layout.scss +34 -18
  95. package/lib/component/image-upload/style/_material-definition.scss +3 -3
  96. package/lib/component/image-upload/style/_theme.scss +29 -20
  97. package/lib/component/inphoto/style/_layout.scss +2 -10
  98. package/lib/component/inphoto/style/_theme.scss +2 -2
  99. package/lib/component/photo-editor/style/_layout.scss +19 -24
  100. package/lib/component/photo-editor/style/_theme.scss +2 -2
  101. package/lib/component/prepare-starting-image/style/_layout.scss +106 -24
  102. package/lib/component/prepare-starting-image/style/_theme.scss +2 -65
  103. package/lib/component/process-loader/style/_layout.scss +50 -16
  104. package/lib/component/process-loader/style/_theme.scss +2 -12
  105. package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
  106. package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
  107. package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
  108. package/lib/component/ready-to-add-articles/style/material.scss +3 -0
  109. package/lib/component/scene-context-menu/style/_layout.scss +90 -0
  110. package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
  111. package/lib/component/scene-context-menu/style/_theme.scss +8 -0
  112. package/lib/component/scene-context-menu/style/material.scss +3 -0
  113. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
  114. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
  115. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
  116. package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
  117. package/lib/component/segment-inpaint/style/_layout.scss +52 -0
  118. package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
  119. package/lib/component/segment-inpaint/style/_theme.scss +11 -0
  120. package/lib/component/segment-inpaint/style/material.scss +3 -0
  121. package/lib/component/side-bar-menu/style/_layout.scss +24 -19
  122. package/lib/component/side-bar-menu/style/_theme.scss +2 -15
  123. package/lib/component/threed-to-ai/style/_layout.scss +38 -0
  124. package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
  125. package/lib/component/threed-to-ai/style/_theme.scss +6 -0
  126. package/lib/component/threed-to-ai/style/material.scss +3 -0
  127. package/lib/component/threedscene/style/_layout.scss +12 -41
  128. package/lib/component/threedscene/style/_theme.scss +3 -33
  129. package/lib/component/upload-starting-image/style/_layout.scss +40 -31
  130. package/lib/component/upload-starting-image/style/_theme.scss +31 -13
  131. package/lib/style/_index.scss +2 -0
  132. package/lib/style/_mixin.scss +28 -0
  133. package/lib/style/_variables.scss +38 -33
  134. package/lib/style/inphoto-globals.scss +15 -0
  135. package/package.json +6 -6
  136. package/lib/component/model-list/style/_layout.scss +0 -7
  137. package/lib/component/model-list/style/_theme.scss +0 -10
  138. package/lib/component/model-list-item/style/_material-definition.scss +0 -4
  139. package/lib/component/model-list-item/style/_theme.scss +0 -10
  140. package/lib/component/step-menu/style/_layout.scss +0 -43
  141. package/lib/component/step-menu/style/_material-definition.scss +0 -7
  142. package/lib/component/step-menu/style/_theme.scss +0 -44
  143. package/lib/style/app-globals.scss +0 -26
  144. /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
  145. /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
  146. /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
  147. /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
+ }
@@ -0,0 +1,11 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-segment-inpaint-theme') {
4
+ .co-segment-inpaint {
5
+
6
+
7
+ }
8
+ }
9
+
10
+
11
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -1,40 +1,45 @@
1
- @import "../../../style/mixin.scss";
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
- .lib-menu-bar {
6
- position: absolute;
7
- // todo revert tot 1
5
+ .side-bar-menu {
6
+ position: fixed;
7
+ background-color: #fff;
8
8
  z-index: 5;
9
- width: 50px;
9
+ width: 85px;
10
10
  top: 0;
11
11
  left: 0;
12
12
  height: 100vh;
13
13
 
14
- .lib-menu-bar-item {
15
- width: 50px;
16
- height: 50px;
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
- .lib-menu-tooltip {
24
- position: absolute;
25
- top: 0;
26
- left: -250px;
27
- box-sizing: border-box;
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
- .lib-menu-tooltip {
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
- @import "../../../style/mixin.scss";
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
+ }
@@ -0,0 +1,6 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-threed-to-ai-theme') {
4
+
5
+ }
6
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -1,50 +1,21 @@
1
- @import "../../../style/mixin.scss";
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: 500px;
32
- }
33
- }
34
- }
35
-
36
- .scene-info-container {
37
- width: 30%;
38
-
39
- .info-container {
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
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-threedscene-theme') {
4
- .co-threedscene {
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
- @import "../../../style/mixin.scss";
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
- gap: 20px;
8
- .upload-starting-image-container {
9
- width: 70%;
10
- .image-preview {
11
- border-radius: 10px;
12
- width: 100%;
13
- height: 100%;
14
- img {
15
- border-radius: 10px;
16
- width: 100%;
17
- height: 100%;
18
- object-fit: cover;
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-starting-info-container {
24
- width: 30%;
25
- .info-container {
26
- box-sizing: border-box;
27
- padding: 10px;
35
+ .image-upload-container {
36
+ max-width: 500px;
37
+ display: flex;
38
+ justify-self: center;
39
+ }
28
40
 
29
- .header-icon-container {
30
- margin-bottom: 10px;
31
- display: flex;
32
- align-items: center;
33
- gap: 10px;
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
- @import "../../../style/mixin.scss";
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-starting-info-container {
8
- .info-container {
9
- .header-icon-container {
10
- margin-bottom: 10px;
11
- h2 {
12
- font-size: var(--co-inphoto-font-size-head);
13
- color: var(--co-inphoto-color-dark);
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
- p {
18
- font-size: var(--co-inphoto-font-size-label);
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
  }
@@ -0,0 +1,2 @@
1
+ @forward "./mixin";
2
+ @forward "./variables";
@@ -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
- /* Background for dialogs etc */
10
- --co-inphoto-dialog-background-color: #ffffff;
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
- --co-inphoto-font-size-label: 14px;
21
- --co-inphoto-font-size-base: 16px;
22
- --co-inphoto-font-size-sub-head: 28px;
23
- --co-inphoto-font-size-head: 20px;
24
- --co-inphoto-color-dark: #333333;
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-next-button-background: #1a73e8;
30
- --co-inphoto-next-button-color: #fff;
31
- --co-inphoto-next-button-font-size: 15px;
32
- --co-inphoto-next-button-icon-size: 24px;
33
- --co-inphoto-next-button-icon-color: #fff;
34
- --co-inphoto-next-button-border: 1px solid #1A73E8;
35
- --co-inphoto-next-button-radius: 3px;
36
- --co-inphoto-next-button-padding: 15px 20px;
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-loader-background-dark: rgba(0, 0, 0, 0.5);
49
- --co-inphoto-loader-background-light: rgba(255, 255, 255, 0.5);
48
+ --co-inphoto-active-button-background: #1a73e8;
49
+ --co-inphoto-active-button-color: #fff;
50
50
 
51
51
 
52
- --co-inphoto-action-button-background: #fff;
53
- --co-inphoto-action-button-color: #1A73E8;
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: #1A73E8;
57
- --co-inphoto-action-button-border: 1px solid #1A73E8;
58
- --co-inphoto-action-button-radius: 3px;
59
- --co-inphoto-action-button-padding: 15px 20px;
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": "262.1.1",
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": ">=262.1.0",
13
- "@colijnit/configuratorapi": ">=262.1.0",
14
- "@colijnit/corecomponents_v12": ">=262.1.0",
15
- "@colijnit/ioneconnector": ">=262.1.0",
16
- "@colijnit/mainapi": ">=262.1.0",
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
  },
@@ -1,7 +0,0 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-model-list-layout') {
4
- .co-model-list {
5
-
6
- }
7
- }
@@ -1,10 +0,0 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-model-list-theme') {
4
- .co-model-list {
5
-
6
- }
7
- }
8
-
9
-
10
-
@@ -1,4 +0,0 @@
1
- :root {
2
- --co-model-list-item-border-color: #eee;
3
- --co-model-list-item-border-radius: 10px;
4
- }