@colijnit/inphoto 300.1.0 → 300.1.2

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 (153) hide show
  1. package/assets/inphoto-make-selection.jpg +0 -0
  2. package/assets/inphoto-redesign-ai.jpg +0 -0
  3. package/assets/inphoto-remove-all.jpg +0 -0
  4. package/assets/inphoto-select-all.png +0 -0
  5. package/assets/inphoto-single-select.png +0 -0
  6. package/fesm2022/colijnit-inphoto.mjs +5682 -2193
  7. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  8. package/icons/angle_down_solid_full.svg +1 -0
  9. package/icons/angle_up_solid_full.svg +1 -0
  10. package/icons/arrow_left_solid_full.svg +1 -0
  11. package/icons/arrow_right_solid_full.svg +1 -0
  12. package/icons/arrow_rotate_left_solid_full.svg +1 -0
  13. package/icons/arrow_up_from_bracket_solid.svg +1 -0
  14. package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
  15. package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
  16. package/icons/brush_solid_full.svg +1 -0
  17. package/icons/caret_down_solid_full.svg +1 -0
  18. package/icons/caret_up_solid_full.svg +1 -0
  19. package/icons/check_solid_full.svg +1 -0
  20. package/icons/circle_info_regular_full.svg +1 -0
  21. package/icons/cloud_arrow_up_regular.svg +1 -0
  22. package/icons/copy_light.svg +1 -0
  23. package/icons/couch_solid_full.svg +1 -0
  24. package/icons/cross_skinny.svg +1 -0
  25. package/icons/cube_regular_full.svg +1 -0
  26. package/icons/draw_square_regular.svg +1 -0
  27. package/icons/eraser_regular.svg +1 -0
  28. package/icons/eraser_solid_full.svg +1 -0
  29. package/icons/file_vector_light.svg +1 -0
  30. package/icons/fill_solid_full.svg +1 -0
  31. package/icons/grip_dots_vertical_solid.svg +1 -0
  32. package/icons/grip_vertical_sharp_solid.svg +1 -0
  33. package/icons/image_circle_arrow_down_solid_full.svg +1 -0
  34. package/icons/image_circle_xmark_solid_full.svg +1 -0
  35. package/icons/image_solid_full.svg +1 -0
  36. package/icons/images_sharp_solid_full.svg +1 -0
  37. package/icons/info_solid_full.svg +1 -0
  38. package/icons/lightbulb_regular_full.svg +1 -0
  39. package/icons/lock_solid_full.svg +1 -0
  40. package/icons/paintbrush_regular.svg +1 -0
  41. package/icons/pen_to_square_solid_full.svg +1 -0
  42. package/icons/rotate_left_sharp_solid_full.svg +1 -0
  43. package/icons/rotate_solid_full.svg +1 -0
  44. package/icons/save_skinny.svg +3 -0
  45. package/icons/scale.svg +1 -0
  46. package/icons/sharp_regular_object_group_pen.svg +1 -0
  47. package/icons/sparkles_regular_full.svg +1 -0
  48. package/icons/trash_can_light.svg +1 -0
  49. package/icons/up_down_left_right_solid_full.svg +1 -0
  50. package/icons/upload_solid_full.svg +1 -0
  51. package/icons/wand_magic_sparkles.svg +1 -0
  52. package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
  53. package/icons/xmark_solid_full.svg +1 -0
  54. package/index.d.ts +840 -342
  55. package/lib/component/ai-prompt/style/_layout.scss +125 -0
  56. package/lib/component/ai-prompt/style/_theme.scss +9 -0
  57. package/lib/component/back-next-buttons/style/_layout.scss +2 -2
  58. package/lib/component/back-next-buttons/style/_theme.scss +33 -22
  59. package/lib/component/canvas-tool-bar/style/_layout.scss +135 -0
  60. package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
  61. package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
  62. package/lib/component/catalog/style/_layout.scss +8 -35
  63. package/lib/component/catalog/style/_material-definition.scss +2 -1
  64. package/lib/component/catalog/style/_theme.scss +41 -7
  65. package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
  66. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
  67. package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
  68. package/lib/component/edit-canvas/style/_layout.scss +10 -38
  69. package/lib/component/edit-canvas/style/_theme.scss +2 -27
  70. package/lib/component/error-dialog/style/_layout.scss +5 -6
  71. package/lib/component/error-dialog/style/_theme.scss +2 -2
  72. package/lib/component/image-enhancer/style/_layout.scss +75 -18
  73. package/lib/component/image-enhancer/style/_theme.scss +26 -14
  74. package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
  75. package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
  76. package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
  77. package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
  78. package/lib/component/image-history/style/_layout.scss +114 -20
  79. package/lib/component/image-history/style/_theme.scss +19 -7
  80. package/lib/component/image-history-tile/style/_layout.scss +46 -32
  81. package/lib/component/image-history-tile/style/_theme.scss +4 -4
  82. package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +45 -0
  83. package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
  84. package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
  85. package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
  86. package/lib/component/image-process-complete/style/_layout.scss +56 -0
  87. package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
  88. package/lib/component/image-process-complete/style/_theme.scss +66 -0
  89. package/lib/component/image-process-complete/style/material.scss +3 -0
  90. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
  91. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
  92. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
  93. package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
  94. package/lib/component/image-tile/style/_layout.scss +100 -0
  95. package/lib/component/image-tile/style/_material-definition.scss +3 -0
  96. package/lib/component/image-tile/style/_theme.scss +8 -0
  97. package/lib/component/image-tile/style/material.scss +3 -0
  98. package/lib/component/image-upload/style/_layout.scss +34 -18
  99. package/lib/component/image-upload/style/_material-definition.scss +3 -3
  100. package/lib/component/image-upload/style/_theme.scss +29 -20
  101. package/lib/component/inphoto/style/_layout.scss +2 -10
  102. package/lib/component/inphoto/style/_theme.scss +2 -2
  103. package/lib/component/photo-editor/style/_layout.scss +9 -24
  104. package/lib/component/photo-editor/style/_theme.scss +2 -2
  105. package/lib/component/prepare-starting-image/style/_layout.scss +82 -23
  106. package/lib/component/prepare-starting-image/style/_material-definition.scss +1 -3
  107. package/lib/component/prepare-starting-image/style/_theme.scss +108 -53
  108. package/lib/component/process-loader/style/_layout.scss +69 -14
  109. package/lib/component/process-loader/style/_material-definition.scss +3 -0
  110. package/lib/component/process-loader/style/_theme.scss +85 -9
  111. package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
  112. package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
  113. package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
  114. package/lib/component/ready-to-add-articles/style/material.scss +3 -0
  115. package/lib/component/scene-context-menu/style/_layout.scss +90 -0
  116. package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
  117. package/lib/component/scene-context-menu/style/_theme.scss +8 -0
  118. package/lib/component/scene-context-menu/style/material.scss +3 -0
  119. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
  120. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
  121. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
  122. package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
  123. package/lib/component/segment-inpaint/style/_layout.scss +52 -0
  124. package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
  125. package/lib/component/segment-inpaint/style/_theme.scss +11 -0
  126. package/lib/component/segment-inpaint/style/material.scss +3 -0
  127. package/lib/component/side-bar-menu/style/_layout.scss +24 -19
  128. package/lib/component/side-bar-menu/style/_theme.scss +2 -15
  129. package/lib/component/threed-to-ai/style/_layout.scss +38 -0
  130. package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
  131. package/lib/component/threed-to-ai/style/_theme.scss +6 -0
  132. package/lib/component/threed-to-ai/style/material.scss +3 -0
  133. package/lib/component/threedscene/style/_layout.scss +12 -41
  134. package/lib/component/threedscene/style/_theme.scss +3 -33
  135. package/lib/component/upload-starting-image/style/_layout.scss +40 -31
  136. package/lib/component/upload-starting-image/style/_theme.scss +31 -13
  137. package/lib/style/_index.scss +2 -0
  138. package/lib/style/_mixin.scss +28 -0
  139. package/lib/style/_variables.scss +41 -35
  140. package/lib/style/inphoto-globals.scss +15 -0
  141. package/package.json +1 -1
  142. package/lib/component/model-list/style/_layout.scss +0 -7
  143. package/lib/component/model-list/style/_theme.scss +0 -10
  144. package/lib/component/model-list-item/style/_material-definition.scss +0 -4
  145. package/lib/component/model-list-item/style/_theme.scss +0 -10
  146. package/lib/component/step-menu/style/_layout.scss +0 -43
  147. package/lib/component/step-menu/style/_material-definition.scss +0 -7
  148. package/lib/component/step-menu/style/_theme.scss +0 -44
  149. package/lib/style/app-globals.scss +0 -26
  150. /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
  151. /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
  152. /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
  153. /package/lib/component/{step-menu → configuration-side-bar-menu}/style/material.scss +0 -0
@@ -1,14 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-inphoto-layout') {
3
+ @include cfg.export-module('co-inphoto-layout') {
4
4
  .co-inphoto {
5
- .co-inphoto-container {
6
- width: 100%;
7
- max-width: 1600px;
8
- margin: 0 auto;
9
- .co-inphoto-body {
10
-
11
- }
12
- }
13
5
  }
14
6
  }
@@ -1,6 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-inphoto-theme') {
3
+ @include cfg.export-module('co-inphoto-theme') {
4
4
  .co-inphoto {
5
5
 
6
6
  }
@@ -1,30 +1,15 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-photo-editor-layout') {
3
+ @include cfg.export-module('co-photo-editor-layout') {
4
4
  .co-photo-editor {
5
- .photo-editor-dialog {
6
- .photo-editor-container {
7
- display: flex;
8
- justify-content: space-between;
9
- box-sizing: border-box;
10
- gap: 20px;
11
-
12
- .photo-editor-canvas {
13
- width: 70%;
14
- height: auto;
15
- }
5
+ .photo-editor-upload {
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: space-around;
9
+ height: 100vh;
10
+ width: 100vw;
11
+ }
16
12
 
17
- .enhancer-container {
18
- width: 30%;
19
- }
20
- }
21
13
 
22
- .photo-editor-upload {
23
- display: flex;
24
- align-items: center;
25
- justify-content: center;
26
- min-height: 100vh;
27
- }
28
- }
29
14
  }
30
15
  }
@@ -1,6 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-photo-editor-theme') {
3
+ @include cfg.export-module('co-photo-editor-theme') {
4
4
  .co-photo-editor {
5
5
 
6
6
  }
@@ -1,42 +1,101 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-prepare-starting-image-layout') {
3
+ @include cfg.export-module('co-prepare-starting-image-layout') {
4
4
  .co-prepare-starting-image {
5
5
  .prepare-starting-image-container {
6
+ background-size: contain;
6
7
  display: flex;
7
- gap: 20px;
8
+ justify-content: space-around;
9
+ align-items: center;
10
+ width: 100%;
11
+ height: 100%;
12
+ min-height: 100vh;
13
+ background-repeat: no-repeat;
14
+ background-position: center;
8
15
 
9
- .prepare-starting-image-canvas-container {
10
- width: 70%;
11
- }
12
-
13
- .prepare-info-container {
14
- width: 30%;
16
+ .prepare-starting-image-dialog {
17
+ width: 100%;
18
+ max-width: 960px;
19
+ box-sizing: border-box;
20
+ padding: 25px;
21
+ position: relative;
15
22
 
16
- .info-container {
17
- box-sizing: border-box;
18
- padding: 10px;
23
+ .prepare-starting-dialog-header {
24
+ display: flex;
25
+ justify-content: space-between;
26
+ align-items: center;
27
+ margin-bottom: 25px;
19
28
 
20
- .header-icon-container {
21
- margin-bottom: 10px;
29
+ .header-icon {
30
+ width: 50px;
31
+ height: 50px;
22
32
  display: flex;
33
+ justify-content: space-around;
23
34
  align-items: center;
24
- gap: 10px;
35
+ border-radius: 50%;
25
36
  }
26
37
 
27
- .main-action-buttons {
28
- display: flex;
29
- justify-content: space-between;
38
+ .header-info {
39
+ max-width: 500px;
40
+ }
30
41
 
31
- .remove-all-button, .make-selection-button {
32
- min-width: 45%;
42
+ .header-button {
43
+ .co-button {
44
+ display: flex;
45
+ box-sizing: border-box;
46
+ cursor: pointer;
33
47
  }
34
48
  }
35
49
  }
36
50
 
37
- .co-button.disabled {
38
- cursor: not-allowed;
39
- opacity: 0.5;
51
+ .dialog-container {
52
+ display: grid;
53
+ grid-gap: 15px;
54
+ grid-template-columns: repeat(3, minmax(100px, .5fr));
55
+
56
+ .button-container {
57
+ cursor: pointer;
58
+ position: relative;
59
+
60
+ .image-container {
61
+ min-width: 100%;
62
+ min-height: 200px;
63
+ max-height: 250px;
64
+ display: flex;
65
+ align-items: center;
66
+ align-content: center;
67
+ }
68
+
69
+ .button-container-text-container {
70
+ box-sizing: border-box;
71
+
72
+ .tile-head-new-container {
73
+ margin-bottom: 10px;
74
+ }
75
+
76
+ .tile-next-icon {
77
+ width: 45px;
78
+ height: 45px;
79
+ display: flex;
80
+ align-items: center;
81
+ position: absolute;
82
+ bottom: 8px;
83
+ right: 8px;
84
+
85
+ .co-icon {
86
+ flex: 1;
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ .prepare-image-disclaimer {
94
+ display: flex;
95
+ gap: 10px;
96
+ align-items: center;
97
+ justify-content: center;
98
+ box-sizing: border-box;
40
99
  }
41
100
  }
42
101
  }
@@ -1,5 +1,3 @@
1
1
  :root {
2
- --co-inphoto-make-selection-button-background: #17953a;
3
- --co-inphoto-make-selection-button-border-color: #17953a;
4
- --co-inphoto-make-selection-button-hover-background: #158a36;
2
+ --co-inphoto-tile-next-background: #EFEEEE;
5
3
  }
@@ -1,69 +1,124 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-prepare-starting-image-theme') {
3
+ @include cfg.export-module('co-prepare-starting-image-theme') {
4
4
  .co-prepare-starting-image {
5
5
  .prepare-starting-image-container {
6
- .prepare-info-container {
7
- .info-container {
8
- .header-icon-container {
9
- margin-bottom: 10px;
10
-
11
- h2 {
12
- font-size: var(--co-inphoto-font-size-head);
13
- color: var(--co-inphoto-color-dark);
6
+
7
+ .prepare-starting-image-dialog {
8
+ background: var(--co-inphoto-dialog-background-color);
9
+ border-radius: var(--co-inphoto-border-radius);
10
+
11
+ .prepare-starting-dialog-header {
12
+ text-align: center;
13
+
14
+ .header-icon {
15
+ background: #FFF7ED;
16
+ color: #D29428;
17
+ @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), #D29428);
18
+ }
19
+
20
+ .header-info {
21
+
22
+ .header-text {
23
+ @include cfg.header-text();
24
+ }
25
+
26
+ .explain-text {
27
+ @include cfg.text();
14
28
  }
15
29
  }
16
30
 
17
- p {
18
- font-size: var(--co-inphoto-font-size-label);
19
- color: var(--co-inphoto-color-dark);
31
+ .header-button {
32
+ .co-button {
33
+ @include cfg.action-button(
34
+ var(--co-inphoto-button-background),
35
+ var(--co-inphoto-button-background),
36
+ var(--co-inphoto-button-color),
37
+ var(--co-inphoto-button-font-size),
38
+ var(--co-inphoto-button-icon-size),
39
+ var(--co-inphoto-button-icon-color),
40
+ var(--co-inphoto-button-border),
41
+ var(--co-inphoto-button-radius),
42
+ var(--co-inphoto-button-padding)
43
+ );
44
+
45
+ .label {
46
+ margin-left: 15px;
47
+ font-weight: bold;
48
+ }
49
+ }
20
50
  }
21
51
  }
22
52
 
23
- .action-button {
24
- margin: 20px 0;
25
- @include action-button(
26
- var(--co-inphoto-action-button-background),
27
- var(--co-inphoto-action-button-background),
28
- var(--co-inphoto-action-button-color),
29
- var(--co-inphoto-action-button-font-size),
30
- var(--co-inphoto-action-button-icon-size),
31
- var(--co-inphoto-action-button-icon-color),
32
- var(--co-inphoto-action-button-border),
33
- var(--co-inphoto-action-button-radius),
34
- var(--co-inphoto-action-button-padding))
35
- }
53
+ .dialog-container {
54
+ display: grid;
55
+ grid-gap: 15px;
56
+ grid-template-columns: repeat(3, minmax(100px, .5fr));
36
57
 
37
- .remove-all-button, .make-selection-button {
38
- margin: 20px 0;
39
- @include action-button(
40
- var(--co-inphoto-action-button-background),
41
- var(--co-inphoto-action-button-background),
42
- var(--co-inphoto-action-button-color),
43
- var(--co-inphoto-action-button-font-size),
44
- var(--co-inphoto-action-button-icon-size),
45
- var(--co-inphoto-action-button-icon-color),
46
- var(--co-inphoto-action-button-border),
47
- var(--co-inphoto-action-button-radius),
48
- var(--co-inphoto-action-button-padding)
49
- )
50
- }
58
+ .button-container {
59
+ border-radius: var(--co-inphoto-border-radius);
60
+ background: var(--co-inphoto-background-white);
61
+ border: 1px solid var(--co-inphoto-border-color);
62
+ box-shadow: var(--co-inphoto-dialog-box-shadow);
63
+ box-sizing: border-box;
64
+ padding: 8px 8px 25px;
65
+
66
+ .image-container {
67
+ border-radius: var(--co-inphoto-border-radius);
51
68
 
52
- .process-button {
53
- margin: 20px 0;
54
- @include action-button(
55
- var(--co-inphoto-action-button-background),
56
- var(--co-inphoto-action-button-background),
57
- var(--co-inphoto-action-button-color),
58
- var(--co-inphoto-action-button-font-size),
59
- var(--co-inphoto-action-button-icon-size),
60
- var(--co-inphoto-action-button-icon-color),
61
- var(--co-inphoto-action-button-border),
62
- var(--co-inphoto-action-button-radius),
63
- var(--co-inphoto-action-button-padding)
64
- )
69
+ img {
70
+ width: 100%;
71
+ height: 100%;
72
+ object-fit: contain;
73
+ border-radius: var(--co-inphoto-border-radius);
74
+ }
75
+ }
76
+
77
+ .button-container-text-container {
78
+ padding: 16px 8px 40px;
79
+
80
+ .tile-head {
81
+ @include cfg.sub-header-text();
82
+ margin-bottom: 10px;
83
+ }
84
+
85
+ .tile-text {
86
+ @include cfg.text();
87
+ }
88
+
89
+ .tile-head-new-container {
90
+
91
+ .text-head-new {
92
+ margin-left: 10px;
93
+ box-sizing: border-box;
94
+ padding: 4px 12px;
95
+ border-radius: var(--co-inphoto-border-radius);
96
+ background: var(--co-inphoto-header-icon-background);
97
+ color: var(--co-inphoto-success-color);
98
+ font-size: var(--co-inphoto-font-size-label);
99
+ font-weight: bold;
100
+ }
101
+ }
102
+
103
+ .tile-next-icon {
104
+ border-radius: 50%;
105
+ background: var(--co-inphoto-dialog-background-color);
106
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
107
+ }
108
+ }
109
+
110
+ &:hover {
111
+ border-color: var(--co-inphoto-accent-color);
112
+ }
113
+ }
65
114
  }
66
115
 
116
+ .prepare-image-disclaimer {
117
+ margin-top: 20px;
118
+ @include cfg.text();
119
+ color: var(--co-inphoto-accent-text);
120
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
121
+ }
67
122
  }
68
123
  }
69
124
  }
@@ -1,15 +1,14 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-process-loader-layout') {
3
+ @include cfg.export-module('co-process-loader-layout') {
4
4
  .co-process-loader {
5
-
6
5
  .loader-wrapper {
7
6
  position: fixed;
8
7
  inset: 0;
9
8
  display: flex;
10
9
  align-items: center;
11
10
  justify-content: center;
12
- z-index: 50;
11
+ z-index: 101;
13
12
  }
14
13
 
15
14
  .loader-container {
@@ -17,22 +16,78 @@
17
16
  display: flex;
18
17
  flex-direction: column;
19
18
  align-items: center;
20
- width: 250px;
21
- padding: 20px;
22
- border-radius: 10px;
19
+ width: 375px;
20
+ padding: 25px;
21
+
22
+ .loading-icon {
23
+ width: 100px;
24
+ height: 100px;
25
+ display: flex;
26
+ justify-content: space-around;
27
+ align-items: center;
28
+ border-radius: 50%;
29
+ box-sizing: border-box;
30
+ padding: 15px;
31
+ }
32
+
33
+ .loading-text-carousel {
34
+ margin-top: 30px;
35
+ width: 450px;
36
+ height: 60px;
37
+ overflow: hidden;
38
+ }
39
+
40
+ .loading-text-track {
41
+ display: flex;
42
+ flex-direction: column;
43
+ transform: translateY(calc(var(--active, 0) * 60px * -1));
44
+ transition: transform 0.5s ease-in-out;
45
+
46
+ &.no-transition {
47
+ transition: none;
48
+ }
49
+ }
50
+
51
+ .loading-text-item {
52
+ flex: 0 0 auto;
53
+ height: 60px;
54
+ display: flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ text-align: center;
58
+ white-space: normal;
59
+ @include cfg.sub-header-text();
60
+
61
+ &::before {
62
+ content: '';
63
+ flex: none;
64
+ width: 1.5em;
65
+ }
66
+ }
67
+
68
+ .lt-dots {
69
+ display: inline-flex;
70
+ flex: none;
71
+ width: 1.5em;
23
72
 
24
- .loader-estimated-time {
25
73
  span {
26
- font-size: var(--co-inphoto-font-size-label);
27
- margin-right: 5px;
74
+ animation: drop 1.4s ease-in-out infinite;
75
+
76
+ &:nth-child(2) {
77
+ animation-delay: 0.15s;
78
+ }
79
+
80
+ &:nth-child(3) {
81
+ animation-delay: 0.30s;
82
+ }
28
83
  }
29
84
  }
30
85
  }
31
86
 
32
- .percentage {
33
- display: flex;
34
- align-items: center;
35
- justify-content: center;
87
+ @media (prefers-reduced-motion: reduce) {
88
+ .loading-text-track {
89
+ transition: none;
90
+ }
36
91
  }
37
92
  }
38
93
  }
@@ -1,3 +1,6 @@
1
1
  :root {
2
2
 
3
+ --co-inphoto-loader-icon-size: 220px;
4
+ --co-inphoto-loader-pulse-duration: 2.4s;
5
+ --co-inphoto-loader-twinkle-duration: 1.6s;
3
6
  }
@@ -1,6 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-process-loader-theme') {
3
+ @include cfg.export-module('co-process-loader-theme') {
4
4
  .co-process-loader {
5
5
 
6
6
  .loader-wrapper {
@@ -8,17 +8,93 @@
8
8
  }
9
9
 
10
10
  .loader-container {
11
- background: #fff;
11
+ border-radius: var(--co-inphoto-border-radius);
12
+ background: var(--co-inphoto-dialog-background-color);
12
13
  }
13
14
 
14
- .percentage {
15
- font-size: var(--co-inphoto-font-size-sub-head);
16
- font-weight: 600;
15
+ .loading-icon {
16
+ background: var(--co-inphoto-header-icon-background);
17
+ animation: wrap-pulse 2.4s ease-in-out infinite;
18
+
19
+ svg {
20
+ width: 100%;
21
+ height: 100%;
22
+ overflow: visible;
23
+ }
24
+
25
+ .spark {
26
+ fill: var(--co-inphoto-success-color);
27
+ transform-box: fill-box;
28
+ transform-origin: center;
29
+ transform-style: preserve-3d;
30
+
31
+ &--big {
32
+ animation: pulse var(--co-inphoto-loader-pulse-duration) ease-in-out infinite;
33
+ }
34
+
35
+ &--small-a {
36
+ animation: twinkle var(--co-inphoto-loader-twinkle-duration) ease-in-out infinite;
37
+ animation-delay: 0.3s;
38
+ }
39
+
40
+ &--small-b {
41
+ animation: twinkle var(--co-inphoto-loader-twinkle-duration) ease-in-out infinite;
42
+ animation-delay: 0.9s;
43
+ }
44
+ }
45
+ }
46
+
47
+ @keyframes wrap-pulse {
48
+ 0% {
49
+ box-shadow: 0 0 0 0 rgba(222, 241, 221, 0.7);
50
+ }
51
+ 70% {
52
+ box-shadow: 0 0 0 20px rgba(222, 241, 221, 0);
53
+ }
54
+ 100% {
55
+ box-shadow: 0 0 0 0 rgba(222, 241, 221, 0);
56
+ }
57
+ }
58
+
59
+ @keyframes pulse {
60
+ 0%, 100% {
61
+ transform: scale(1) rotate(0deg);
62
+ opacity: 1;
63
+ }
64
+ 50% {
65
+ transform: scale(1.12) rotate(8deg);
66
+ opacity: 0.85;
67
+ }
68
+ }
69
+
70
+ @keyframes twinkle {
71
+ 0%, 100% {
72
+ transform: scale(0.5);
73
+ opacity: 0.25;
74
+ }
75
+ 50% {
76
+ transform: scale(1.15);
77
+ opacity: 1;
78
+ }
17
79
  }
18
80
 
19
- p {
20
- margin-top: 16px;
21
- font-size: var(--co-inphoto-font-size-base);
81
+ @keyframes drop {
82
+ 0% {
83
+ transform: translateY(-0.6em);
84
+ opacity: 0;
85
+ }
86
+ 20% {
87
+ transform: translateY(0);
88
+ opacity: 1;
89
+ }
90
+ 80% {
91
+ transform: translateY(0);
92
+ opacity: 1;
93
+ }
94
+ 100% {
95
+ transform: translateY(-0.6em);
96
+ opacity: 0;
97
+ }
22
98
  }
23
99
  }
24
100
  }
@@ -0,0 +1,65 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ready-to-add-articles-layout') {
4
+ .co-ready-to-add-articles {
5
+ .ready-to-add-articles-container {
6
+ position: absolute;
7
+ left: 135px;
8
+ top: 100px;
9
+ box-sizing: border-box;
10
+ max-width: 450px;
11
+
12
+ .ready-to-add-article-top {
13
+ display: flex;
14
+ box-sizing: border-box;
15
+ justify-content: space-between;
16
+
17
+ .top-left-container {
18
+ width: 20%;
19
+
20
+ .icon-container {
21
+ border-radius: 50%;
22
+ height: 50px;
23
+ width: 50px;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: space-around;
27
+ }
28
+ }
29
+
30
+ .top-right-container {
31
+ margin-left: 20px;
32
+ max-width: 80%;
33
+ }
34
+
35
+ .top-close-container {
36
+ .co-icon {
37
+ cursor: pointer;
38
+ }
39
+ }
40
+ }
41
+
42
+ .ready-to-add-article-bottom {
43
+ display: flex;
44
+ box-sizing: border-box;
45
+ justify-content: space-between;
46
+
47
+ .bottom-left-container {
48
+ .icon-container {
49
+ border-radius: 50%;
50
+ height: 35px;
51
+ width: 35px;
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: space-around;
55
+ }
56
+ }
57
+
58
+ .bottom-right-container {
59
+ margin-left: auto;
60
+ max-width: 85%;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }