@plutonhq/core-frontend 0.1.2 → 0.1.3

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 (75) hide show
  1. package/package.json +16 -4
  2. package/dist-lib/components/App/App/App.module.scss +0 -14
  3. package/dist-lib/components/App/AppContent/AppContent.module.scss +0 -12
  4. package/dist-lib/components/App/Footer/Footer.module.scss +0 -23
  5. package/dist-lib/components/App/SideNav/SideNav.module.scss +0 -58
  6. package/dist-lib/components/Device/DeviceBackups/DeviceBackups.module.scss +0 -142
  7. package/dist-lib/components/Device/DeviceInfo/DeviceInfo.module.scss +0 -214
  8. package/dist-lib/components/Device/DeviceItem/DeviceItem.module.scss +0 -216
  9. package/dist-lib/components/Device/EditDevice/EditDevice.module.scss +0 -110
  10. package/dist-lib/components/Plan/AddPlan/AddPlan.module.scss +0 -191
  11. package/dist-lib/components/Plan/BackupEvents/BackupEvents.module.scss +0 -189
  12. package/dist-lib/components/Plan/BackupProgress/BackupProgress.module.scss +0 -120
  13. package/dist-lib/components/Plan/Backups/Backups.module.scss +0 -244
  14. package/dist-lib/components/Plan/EditPlan/EditPlan.module.scss +0 -41
  15. package/dist-lib/components/Plan/PlanBackups/PlanBackups.module.scss +0 -58
  16. package/dist-lib/components/Plan/PlanForm/PlanForm.module.scss +0 -103
  17. package/dist-lib/components/Plan/PlanHistory/PlanHistory.module.scss +0 -44
  18. package/dist-lib/components/Plan/PlanItems/PlanItem.module.scss +0 -332
  19. package/dist-lib/components/Plan/PlanLogs/PlanLogs.module.scss +0 -0
  20. package/dist-lib/components/Plan/PlanPendingBackup/PlanPendingBackup.module.scss +0 -42
  21. package/dist-lib/components/Plan/PlanProgress/PlanProgress.module.scss +0 -19
  22. package/dist-lib/components/Plan/PlanRemoveModal/PlanRemoveModal.module.scss +0 -9
  23. package/dist-lib/components/Plan/PlanSettings/PlanSettings.module.scss +0 -464
  24. package/dist-lib/components/Plan/PlanStats/PlanStats.module.scss +0 -125
  25. package/dist-lib/components/Restore/RestoreChangeViewer/RestoreChangeViewer.module.scss +0 -71
  26. package/dist-lib/components/Restore/RestoreFileSelector/RestoreFileSelector.module.scss +0 -328
  27. package/dist-lib/components/Restore/RestoreWizard/RestoreWizard.module.scss +0 -390
  28. package/dist-lib/components/Restore/RestoredFileBrowser/RestoredFileBrowser.module.scss +0 -300
  29. package/dist-lib/components/Settings/GeneralSettings/GeneralSettings.module.scss +0 -3
  30. package/dist-lib/components/Settings/IntegrationSettings/IntegrationSettings.module.scss +0 -38
  31. package/dist-lib/components/Skeleton/SkeletonItems.module.scss +0 -162
  32. package/dist-lib/components/Storage/AddStorage/AddStorage.module.scss +0 -168
  33. package/dist-lib/components/Storage/EditStorage/EditStorage.module.scss +0 -0
  34. package/dist-lib/components/Storage/StorageItem/StorageItem.module.scss +0 -231
  35. package/dist-lib/components/Storage/StorageSettings/StorageSettings.module.scss +0 -29
  36. package/dist-lib/components/common/ActionModal/ActionModal.module.scss +0 -60
  37. package/dist-lib/components/common/AnimatedWrapper/AnimatedWrapper.module.scss +0 -88
  38. package/dist-lib/components/common/Button/Button.module.scss +0 -56
  39. package/dist-lib/components/common/FileManager/FileManager.module.scss +0 -207
  40. package/dist-lib/components/common/FolderPicker/FolderPicker.module.scss +0 -77
  41. package/dist-lib/components/common/ItemsLayout/ItemsLayout.module.scss +0 -51
  42. package/dist-lib/components/common/LogViewer/LogViewer.module.scss +0 -188
  43. package/dist-lib/components/common/Modal/Modal.module.scss +0 -81
  44. package/dist-lib/components/common/NotFound/NotFound.module.scss +0 -36
  45. package/dist-lib/components/common/PageHeader/PageHeader.module.scss +0 -62
  46. package/dist-lib/components/common/PathPicker/PathPicker.module.scss +0 -278
  47. package/dist-lib/components/common/SearchItems/SearchItems.module.scss +0 -48
  48. package/dist-lib/components/common/SidePanel/SidePanel.module.scss +0 -237
  49. package/dist-lib/components/common/SortItems/SortItems.module.scss +0 -53
  50. package/dist-lib/components/common/StatusLabel/StatusLabel.module.scss +0 -0
  51. package/dist-lib/components/common/Tabs/Tabs.module.scss +0 -43
  52. package/dist-lib/components/common/TagsFilter/TagsFilter.module.scss +0 -59
  53. package/dist-lib/components/common/form/FormField/FormField.module.scss +0 -37
  54. package/dist-lib/components/common/form/Input/Input.module.scss +0 -71
  55. package/dist-lib/components/common/form/IntervalField/IntervalField.module.scss +0 -49
  56. package/dist-lib/components/common/form/MultiSelect/MultiSelect.module.scss +0 -157
  57. package/dist-lib/components/common/form/NumberInput/NumberInput.module.scss +0 -102
  58. package/dist-lib/components/common/form/PasswordField/PasswordField.module.scss +0 -78
  59. package/dist-lib/components/common/form/RadioIconSelect/RadioIconSelect.module.scss +0 -104
  60. package/dist-lib/components/common/form/Select/Select.module.scss +0 -193
  61. package/dist-lib/components/common/form/SizePicker/SizePicker.module.scss +0 -82
  62. package/dist-lib/components/common/form/StoragePicker/StoragePicker.module.scss +0 -114
  63. package/dist-lib/components/common/form/TagsInput/TagsInput.module.scss +0 -54
  64. package/dist-lib/components/common/form/TimePicker/TimePicker.module.scss +0 -73
  65. package/dist-lib/components/common/form/Toggle/Toggle.module.scss +0 -68
  66. package/dist-lib/components/common/form/Tristate/Tristate.module.scss +0 -67
  67. package/dist-lib/routes/DeviceSingle/DeviceSingle.module.scss +0 -105
  68. package/dist-lib/routes/Login/Login.module.scss +0 -94
  69. package/dist-lib/routes/NotFoundRoute/NotFoundRoute.module.scss +0 -0
  70. package/dist-lib/routes/PlanSingle/PlanSingle.module.scss +0 -85
  71. package/dist-lib/routes/Plans/Plans.module.scss +0 -29
  72. package/dist-lib/routes/Settings/Settings.module.scss +0 -112
  73. package/dist-lib/routes/Setup/Setup.module.scss +0 -174
  74. package/dist-lib/routes/Sources/Sources.module.scss +0 -29
  75. package/dist-lib/routes/Storages/Storages.module.scss +0 -30
@@ -1,231 +0,0 @@
1
- .storage {
2
- display: flex;
3
- flex-direction: row;
4
- align-items: center;
5
- padding: 10px;
6
- margin-bottom: 20px;
7
- gap: 10px;
8
- border-radius: 7px;
9
- background-color: var(--content-background-color);
10
- color: var(--content-text-color-light);
11
- box-shadow: 0 0 15px var(--content-shadow-color);
12
- position: relative;
13
- transition: all 0.2s linear;
14
- &:hover {
15
- box-shadow: 0 0 20px var(--content-shadow-color);
16
- }
17
- &.storageEditing {
18
- box-shadow: 0 0 2px var(--primary-color);
19
- }
20
- }
21
-
22
- .leftContent {
23
- flex-basis: 40%;
24
- display: flex;
25
- flex-direction: row;
26
- align-items: center;
27
- }
28
- .rightContent {
29
- display: flex;
30
- flex-direction: row;
31
- align-items: center;
32
- flex-basis: 60%;
33
- justify-content: right;
34
- gap: 10px;
35
- }
36
-
37
- .storageType {
38
- display: flex;
39
- align-items: center;
40
- margin-right: 10px;
41
- margin-left: 5px;
42
- width: 28px;
43
- height: 28px;
44
- background: var(--light-grey);
45
- padding: 5px;
46
- border-radius: 5px;
47
- justify-content: center;
48
- img {
49
- max-width: 24px;
50
- }
51
- }
52
-
53
- .content {
54
- display: flex;
55
- flex-direction: column;
56
- cursor: pointer;
57
- color: var(--content-text-color-light);
58
- &:hover {
59
- color: inherit;
60
- h4 {
61
- color: var(--primary-color);
62
- }
63
- }
64
- }
65
-
66
- .title {
67
- display: flex;
68
- flex-direction: row;
69
- h4 {
70
- margin: 0;
71
- margin-bottom: 2px;
72
- color: var(--content-text-color);
73
- display: flex;
74
- align-items: center;
75
- }
76
- :global(.icon) {
77
- position: relative;
78
- top: 2px;
79
- margin-left: 5px;
80
- opacity: 0.5;
81
- }
82
- }
83
-
84
- .info {
85
- margin-right: 30px;
86
- display: flex;
87
- align-items: center;
88
- :global(.icon) {
89
- position: relative;
90
- top: 2px;
91
- margin-right: 5px;
92
- opacity: 0.5;
93
- }
94
- i {
95
- font-style: normal;
96
- }
97
- }
98
-
99
- .moreBtn {
100
- color: var(--content-text-color-light);
101
- padding: 3px 6px;
102
- border-radius: 4px;
103
- &.moreBtnActive {
104
- background-color: var(--primary-color-light);
105
- color: var(--primary-color);
106
- }
107
- }
108
-
109
- .settings {
110
- position: absolute;
111
- z-index: 99;
112
- top: 45px;
113
- right: 15px;
114
- display: flex;
115
- flex-direction: column;
116
- justify-content: left;
117
- width: 120px;
118
- text-align: left;
119
- align-items: center;
120
- background: var(--content-background-color);
121
- border: 1px solid var(--line-color);
122
- border-radius: 6px;
123
- button {
124
- padding: 6px 10px;
125
- width: 100%;
126
- text-align: left;
127
- color: var(--content-text-color-light);
128
- &:hover {
129
- background-color: var(--primary-color-light);
130
- color: var(--primary-color);
131
- }
132
- }
133
- }
134
-
135
- .verifyModalContent {
136
- position: relative;
137
- padding-bottom: 20px;
138
- }
139
-
140
- .removeModalContent {
141
- position: relative;
142
- .deleteLoader {
143
- position: absolute;
144
- z-index: 9;
145
- width: 100%;
146
- height: 100%;
147
- left: 0;
148
- top: 0;
149
- background-color: var(--content-background-color);
150
- opacity: 0.7;
151
- cursor: default;
152
- display: flex;
153
- justify-content: center;
154
- align-items: center;
155
- }
156
- .removeModalActions {
157
- margin-top: 20px;
158
- justify-content: right;
159
- display: flex;
160
- flex-direction: row;
161
- gap: 10px;
162
- button {
163
- background-color: var(--line-color);
164
- color: var(--content-text-color);
165
- padding: 6px 12px;
166
- border-radius: 4px;
167
- transition: all 0.12s linear;
168
- &:nth-child(2) {
169
- background-color: var(--error-button-color);
170
- color: var(--error-active-text);
171
- }
172
- &:hover {
173
- filter: brightness(105%);
174
- }
175
- }
176
- }
177
- }
178
-
179
- .storageGrid {
180
- width: 100%;
181
- margin: 0;
182
- flex-direction: column;
183
- align-items: baseline;
184
- padding: 0;
185
- padding-bottom: 12px;
186
- .leftContent {
187
- padding: 12px;
188
- width: 100%;
189
- box-sizing: border-box;
190
- }
191
- .rightContent {
192
- width: 100%;
193
- flex-basis: unset;
194
- justify-content: flex-start;
195
- padding: 6px 10px;
196
- box-sizing: border-box;
197
- background: var(--primary-color-lighter);
198
- .moreBtn {
199
- margin-left: auto;
200
- }
201
- }
202
- .settings {
203
- bottom: 10px;
204
- top: auto;
205
- right: 40px;
206
- }
207
- }
208
-
209
- @media only screen and (max-width: 768px) {
210
- .storage {
211
- flex-direction: column;
212
- align-items: flex-start;
213
- gap: 5px;
214
- }
215
-
216
- .rightContent {
217
- width: 100%;
218
- justify-content: flex-start;
219
- border-top: 1px solid var(--line-color);
220
- padding-top: 10px;
221
- margin-top: 10px;
222
- gap: 0;
223
- button.moreBtn {
224
- margin-left: auto;
225
- }
226
- }
227
-
228
- .settings {
229
- right: 35px;
230
- }
231
- }
@@ -1,29 +0,0 @@
1
- .field {
2
- margin-bottom: 20px;
3
- width: 100%;
4
- position: relative;
5
- .fieldErrorLabel {
6
- position: absolute;
7
- right: 10px;
8
- top: 15px;
9
- background-color: var(--error-bg-active);
10
- color: var(--error-active-text);
11
- padding: 1px 12px;
12
- border-radius: 20px;
13
- font-size: 0.75rem;
14
- letter-spacing: 0.2px;
15
- z-index: 2;
16
- }
17
-
18
- .fileManagerBtn {
19
- position: absolute;
20
- right: 0;
21
- top: -3px;
22
- padding: 10px;
23
- cursor: pointer;
24
- color: var(--icon-color);
25
- &:hover {
26
- color: var(--primary-color);
27
- }
28
- }
29
- }
@@ -1,60 +0,0 @@
1
- // MODALS
2
- .loader {
3
- position: absolute;
4
- z-index: 9;
5
- width: 100%;
6
- height: 100%;
7
- left: 0;
8
- top: 0;
9
- background-color: var(--content-background-color);
10
- opacity: 0.7;
11
- cursor: default;
12
- display: flex;
13
- justify-content: center;
14
- align-items: center;
15
- }
16
-
17
- .error {
18
- padding: 4px 8px;
19
- background-color: var(--error-bg-color);
20
- color: var(--error-text-color);
21
- margin-top: 10px;
22
- border-radius: 6px;
23
- }
24
-
25
- .success {
26
- padding: 4px 8px;
27
- background-color: var(--success-bg-color);
28
- color: var(--success-text-color);
29
- margin-top: 10px;
30
- border-radius: 6px;
31
- }
32
-
33
- .actions {
34
- margin-top: 20px;
35
- justify-content: right;
36
- display: flex;
37
- flex-direction: row;
38
- gap: 10px;
39
- button {
40
- background-color: var(--line-color);
41
- color: var(--content-text-color);
42
- padding: 6px 12px;
43
- border-radius: 4px;
44
- transition: all 0.12s linear;
45
- &:nth-child(2) {
46
- background-color: var(--primary-color);
47
- color: var(--primary-text-color);
48
- &:hover {
49
- background-color: var(--primary-hover-color);
50
- }
51
- }
52
-
53
- &.dangerBtn {
54
- background-color: var(--error-button-color);
55
- &:hover {
56
- background-color: var(--error-text-color);
57
- }
58
- }
59
- }
60
- }
@@ -1,88 +0,0 @@
1
- .animatedWrapper {
2
- transition: all var(--animation-duration, 300ms) ease-in-out;
3
- will-change: opacity, transform;
4
- }
5
-
6
- .absolute {
7
- position: absolute;
8
- top: 0;
9
- left: 0;
10
- width: 100%;
11
- padding: inherit;
12
- box-sizing: border-box;
13
- }
14
-
15
- // Fade animation
16
- .fade {
17
- opacity: 0;
18
-
19
- &.active {
20
- opacity: 1;
21
- }
22
- }
23
-
24
- // Slide up animation
25
- .slide-up {
26
- opacity: 0;
27
- transform: translateY(20px);
28
-
29
- &.active {
30
- opacity: 1;
31
- transform: translateY(0);
32
- }
33
- }
34
-
35
- // Slide down animation
36
- .slide-down {
37
- opacity: 0;
38
- transform: translateY(-20px);
39
-
40
- &.active {
41
- opacity: 1;
42
- transform: translateY(0);
43
- }
44
- }
45
-
46
- // Slide left animation
47
- .slide-left {
48
- opacity: 0;
49
- transform: translateX(20px);
50
-
51
- &.active {
52
- opacity: 1;
53
- transform: translateX(0);
54
- }
55
- }
56
-
57
- // Slide right animation
58
- .slide-right {
59
- opacity: 0;
60
- transform: translateX(-20px);
61
-
62
- &.active {
63
- opacity: 1;
64
- transform: translateX(0);
65
- }
66
- }
67
-
68
- // Scale animation
69
- .scale {
70
- opacity: 0;
71
- transform: scale(0.9);
72
-
73
- &.active {
74
- opacity: 1;
75
- transform: scale(1);
76
- }
77
- }
78
-
79
- // Rotate animation
80
- .rotate {
81
- opacity: 0;
82
- transform: rotate(-10deg) scale(0.95);
83
-
84
- &.active {
85
- opacity: 1;
86
- transform: rotate(0) scale(1);
87
- }
88
- }
@@ -1,56 +0,0 @@
1
- .button {
2
- padding: 12px 20px;
3
- font-weight: 600;
4
- font-size: 0.9em;
5
- border-radius: 6px;
6
- cursor: pointer;
7
- transition: all 0.12s linear;
8
- :global(.icon) {
9
- margin-right: 5px;
10
- }
11
- }
12
-
13
- .button--sm {
14
- font-size: 0.75em;
15
- border-radius: 4px;
16
- padding: 8px 16px;
17
- }
18
-
19
- .button--lg {
20
- font-size: 1.1em;
21
- padding: 16px 24px;
22
- }
23
-
24
- .button--primary {
25
- background-color: var(--primary-color);
26
- color: var(--primary-text-color);
27
- &:hover {
28
- background-color: var(--primary-hover-color);
29
- }
30
- }
31
-
32
- .button--secondary {
33
- background-color: var(--primary-color-light);
34
- color: var(--primary-color);
35
- &:hover {
36
- color: var(--primary-color-light);
37
- background-color: var(--primary-color);
38
- }
39
- }
40
-
41
- .button--tertiary {
42
- background-color: var(--line-color);
43
- color: var(--content-text-color-light);
44
- &:hover {
45
- filter: brightness(0.95);
46
- color: var(--content-text-color);
47
- }
48
- }
49
-
50
- .button--danger {
51
- background-color: var(--error-button-color);
52
- color: var(--primary-text-color);
53
- &:hover {
54
- background-color: var(--error-text-color);
55
- }
56
- }
@@ -1,207 +0,0 @@
1
- .fileManager {
2
- background: var(--content-background-color);
3
- border-radius: 4px;
4
- width: 100%;
5
- max-height: 65vh;
6
- display: flex;
7
- flex-direction: column;
8
- }
9
-
10
- .navigationBar {
11
- display: flex;
12
- align-items: center;
13
- padding: 12px;
14
- border-bottom: 1px solid var(--line-color);
15
- gap: 12px;
16
-
17
- button {
18
- display: flex;
19
- align-items: center;
20
- gap: 4px;
21
- padding: 5px 10px;
22
- border-radius: 4px;
23
- border: 1px solid var(--line-color);
24
- background: transparent;
25
- cursor: pointer;
26
- color: var(--icon-color);
27
-
28
- &:hover {
29
- background: var(--light-grey);
30
- color: var(--content-color);
31
- }
32
-
33
- &:disabled {
34
- opacity: 0.5;
35
- cursor: not-allowed;
36
- }
37
- }
38
- }
39
-
40
- .currentPath {
41
- flex: 1;
42
- padding: 6px 12px;
43
- background: var(--light-grey);
44
- border-radius: 4px;
45
- font-family: inherit;
46
- height: 21px;
47
- color: inherit;
48
- cursor: text;
49
- white-space: nowrap;
50
- overflow: hidden;
51
- text-overflow: ellipsis;
52
- &:hover {
53
- background: var(--line-color);
54
- color: var(--content-text-color);
55
- }
56
- input {
57
- background-color: transparent;
58
- border: none;
59
- width: 100%;
60
- outline: none;
61
- color: var(--content-text-color);
62
- }
63
- button {
64
- background: none;
65
- border: none;
66
- padding: 2px 0px;
67
- cursor: pointer;
68
- font-family: inherit;
69
- display: inline-block;
70
- border-radius: 0;
71
- color: inherit;
72
- &:hover {
73
- color: var(--primary-color);
74
- text-decoration: underline;
75
- }
76
- }
77
- }
78
-
79
- .fileList {
80
- flex: 1;
81
- overflow-y: auto;
82
- min-height: 300px;
83
- }
84
-
85
- .empty {
86
- text-align: center;
87
- width: 100%;
88
- height: 100%;
89
- padding: 10%;
90
- box-sizing: border-box;
91
- }
92
-
93
- .fileHeader {
94
- display: grid;
95
- grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
96
- padding: 8px 12px;
97
- background: var(--light-grey);
98
- border-bottom: 1px solid var(--line-color);
99
- font-weight: 500;
100
- position: sticky;
101
- top: 0;
102
- z-index: 3;
103
- text-align: center;
104
- div {
105
- cursor: pointer;
106
- user-select: none;
107
- }
108
- }
109
-
110
- .fileListContainer {
111
- display: flex;
112
- flex-direction: column;
113
- flex: 1;
114
- overflow: hidden;
115
- }
116
-
117
- .fileRow {
118
- display: grid;
119
- grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
120
- padding: 8px 12px;
121
- border-bottom: 1px solid var(--line-color);
122
- box-sizing: border-box;
123
- cursor: pointer;
124
- text-align: center;
125
- color: var(--content-text-color-light);
126
-
127
- &:hover {
128
- background: var(--light-grey);
129
- }
130
- &.selected {
131
- background-color: var(--background-color);
132
- .fileName button {
133
- color: var(--primary-color);
134
- opacity: 1;
135
- }
136
- }
137
- &:last-child {
138
- border-bottom: none;
139
- }
140
- }
141
-
142
- .fileName {
143
- display: flex;
144
- align-items: center;
145
- text-align: left;
146
- word-break: break-all;
147
- gap: 6px;
148
- max-width: 300px;
149
- color: var(--content-text-color);
150
- button {
151
- opacity: 0.3;
152
- color: var(--icon-color);
153
- }
154
- .fileNameText {
155
- display: inline-block;
156
- white-space: nowrap;
157
- overflow: hidden;
158
- text-overflow: ellipsis;
159
- }
160
- }
161
-
162
- .fileSize {
163
- max-width: 70px;
164
- }
165
-
166
- .selected {
167
- background: #e6f7ff;
168
- }
169
-
170
- .loading {
171
- padding: 24px;
172
- text-align: center;
173
- color: #666;
174
- }
175
-
176
- @media only screen and (max-width: 768px) {
177
- .fileHeader {
178
- display: none;
179
- }
180
- .fileList {
181
- height: 100% !important;
182
- }
183
- .fileRow {
184
- display: flex;
185
- flex-direction: column;
186
- align-items: stretch;
187
- .fileName {
188
- width: 100%;
189
- margin-bottom: 5px;
190
- }
191
- .mobileFileInfo {
192
- display: flex;
193
- flex-direction: row;
194
- justify-content: flex-start;
195
- width: 100%;
196
- padding-left: 30px;
197
- box-sizing: border-box;
198
- & > div {
199
- padding: 0 10px;
200
- }
201
- }
202
- }
203
- .fileManager {
204
- height: calc(100vh - 120px);
205
- max-height: unset;
206
- }
207
- }