@softwareone/spi-sv5-library 1.14.4 → 1.15.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/dist/components/accordion/Accordion.svelte +14 -23
- package/dist/components/announcement/Announcement.svelte +53 -61
- package/dist/components/avatar/Avatar.svelte +30 -12
- package/dist/components/avatar/Avatar.svelte.d.ts +2 -2
- package/dist/components/button/Button.svelte +43 -46
- package/dist/components/card/Card.svelte +4 -6
- package/dist/components/chips/Chips.svelte +37 -36
- package/dist/components/chips/Chips.svelte.d.ts +1 -1
- package/dist/components/confirmation/Confirmation.svelte +1 -1
- package/dist/components/controls/attach-file/AttachFile.svelte +18 -41
- package/dist/components/controls/attach-file/FileManager.svelte +16 -30
- package/dist/components/controls/attach-file/Warnings.svelte +13 -15
- package/dist/components/controls/input/Input.svelte +46 -72
- package/dist/components/controls/input/InputIcon.svelte +13 -13
- package/dist/components/controls/label/Label.svelte +5 -9
- package/dist/components/controls/radio-group/RadioGroup.svelte +25 -39
- package/dist/components/controls/select/Select.svelte +49 -71
- package/dist/components/controls/textarea/TextArea.svelte +36 -45
- package/dist/components/controls/toggle/Toggle.svelte +35 -37
- package/dist/components/delete-confirmation/DeleteConfirmation.svelte +1 -1
- package/dist/components/error-page/ErrorPage.svelte +9 -18
- package/dist/components/footer/Footer.svelte +6 -7
- package/dist/components/form/Form.svelte +1 -1
- package/dist/components/header/Header.svelte +39 -45
- package/dist/components/header/HeaderAccount.svelte +21 -33
- package/dist/components/header/HeaderLoader.svelte +13 -8
- package/dist/components/highlight-panel/HighlightPanel.svelte +29 -34
- package/dist/components/home/Home.svelte +18 -36
- package/dist/components/link/Link.svelte +1 -1
- package/dist/components/menu/Menu.svelte +12 -12
- package/dist/components/menu/MenuItem.svelte +25 -29
- package/dist/components/menu/Sidebar.svelte +32 -40
- package/dist/components/modal/Modal.svelte +8 -12
- package/dist/components/modal/ModalContent.svelte +3 -3
- package/dist/components/modal/ModalFooter.svelte +5 -5
- package/dist/components/modal/ModalHeader.svelte +6 -11
- package/dist/components/notification/Notification.svelte +20 -27
- package/dist/components/processing/Processing.svelte +9 -16
- package/dist/components/progress-page/ProgressPage.svelte +13 -18
- package/dist/components/progress-wizard/ProgressWizard.svelte +43 -54
- package/dist/components/search/Search.svelte +24 -29
- package/dist/components/spinner/Spinner.svelte +1 -1
- package/dist/components/switcher/Switcher.svelte +14 -23
- package/dist/components/table/ActionsColumn.svelte +13 -33
- package/dist/components/table/AdvancedFilter.svelte +39 -74
- package/dist/components/table/Body.svelte +9 -18
- package/dist/components/table/ColumnVisibilityDropdown.svelte +24 -55
- package/dist/components/table/Footer.svelte +2 -4
- package/dist/components/table/Header.svelte +23 -44
- package/dist/components/table/PageSize.svelte +24 -36
- package/dist/components/table/Pagination.svelte +49 -35
- package/dist/components/table/RowCheckBox.svelte +5 -12
- package/dist/components/table/Skeleton.svelte +16 -25
- package/dist/components/table/Table.svelte +50 -38
- package/dist/components/table/Table.svelte.d.ts +5 -1
- package/dist/components/table/types.d.ts +9 -1
- package/dist/components/table/utils.d.ts +5 -1
- package/dist/components/table/utils.js +8 -8
- package/dist/components/tabs/Tabs.svelte +16 -20
- package/dist/components/toast/Toast.svelte +27 -30
- package/dist/components/tooltip/Tooltip.svelte +15 -19
- package/dist/components/waffle/Waffle.svelte +9 -13
- package/dist/components/waffle/WaffleItems.svelte +10 -13
- package/dist/styles/index.css +3 -0
- package/dist/styles/reset.css +19 -0
- package/dist/styles/tokens/index.css +2 -0
- package/dist/styles/tokens/primitives/borders.css +17 -0
- package/dist/styles/tokens/primitives/colors.css +41 -0
- package/dist/styles/tokens/primitives/index.css +7 -0
- package/dist/styles/tokens/primitives/motion.css +11 -0
- package/dist/styles/tokens/primitives/opacity.css +6 -0
- package/dist/styles/tokens/primitives/shadows.css +11 -0
- package/dist/styles/tokens/primitives/sizing.css +19 -0
- package/dist/styles/tokens/primitives/typography.css +13 -0
- package/dist/styles/tokens/semantic/colors.css +78 -0
- package/dist/styles/tokens/semantic/index.css +2 -0
- package/dist/styles/tokens/semantic/shadows.css +9 -0
- package/dist/styles/utilities.css +73 -0
- package/package.json +3 -2
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
<section class="menu-header">
|
|
39
39
|
<div class="menu-title" class:hidden={isCollapsed}>
|
|
40
40
|
<div class="menu">
|
|
41
|
-
<h2 class="menu-span">Menu</h2>
|
|
41
|
+
<h2 class="menu-span spi-text-semibold-2">Menu</h2>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
44
|
<div class="category-items">
|
|
45
45
|
<button type="button" class="button" onclick={toggleSidebar}>
|
|
46
|
-
<span class="material-icons-outlined icon-span"
|
|
47
|
-
{isCollapsed ? 'menu' : 'menu_open'}
|
|
48
|
-
|
|
46
|
+
<span class="material-icons-outlined icon-span spi-text-regular-5"
|
|
47
|
+
>{isCollapsed ? 'menu' : 'menu_open'}</span
|
|
48
|
+
>
|
|
49
49
|
</button>
|
|
50
50
|
</div>
|
|
51
51
|
</section>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
<section class="content">
|
|
55
55
|
{#each subMenuItems as subMenuItem, index (index)}
|
|
56
56
|
<section class="category-content">
|
|
57
|
-
<h2 class="category-span" class:hidden={isCollapsed}>
|
|
57
|
+
<h2 class="category-span spi-text-regular-1" class:hidden={isCollapsed}>
|
|
58
58
|
{subMenuItem.category}
|
|
59
59
|
</h2>
|
|
60
60
|
<menu class="category-items-details">
|
|
@@ -79,40 +79,40 @@
|
|
|
79
79
|
<style>
|
|
80
80
|
.side-menu {
|
|
81
81
|
display: inline-flex;
|
|
82
|
-
transition: width
|
|
82
|
+
transition: width var(--spi-duration-slow) var(--spi-ease-default);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.menu-content {
|
|
86
86
|
width: 100%;
|
|
87
87
|
height: 100%;
|
|
88
|
-
padding:
|
|
89
|
-
background:
|
|
90
|
-
border-right:
|
|
88
|
+
padding: var(--spi-size-4);
|
|
89
|
+
background: var(--spi-color-surface-default);
|
|
90
|
+
border-right: var(--spi-border-1) solid var(--spi-color-border-default);
|
|
91
91
|
flex-direction: column;
|
|
92
92
|
justify-content: flex-start;
|
|
93
93
|
align-items: center;
|
|
94
|
-
gap:
|
|
94
|
+
gap: var(--spi-size-8);
|
|
95
95
|
display: flex;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.header {
|
|
99
99
|
align-self: stretch;
|
|
100
100
|
flex-direction: column;
|
|
101
|
-
gap:
|
|
101
|
+
gap: var(--spi-size-4);
|
|
102
102
|
display: flex;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.menu-header {
|
|
106
|
-
padding-bottom:
|
|
107
|
-
border-bottom:
|
|
106
|
+
padding-bottom: var(--spi-size-2);
|
|
107
|
+
border-bottom: var(--spi-border-1) solid var(--spi-color-border-default);
|
|
108
108
|
gap: 10px;
|
|
109
109
|
display: inline-flex;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.menu-title {
|
|
113
113
|
flex: 1 1 0;
|
|
114
|
-
padding-top:
|
|
115
|
-
padding-bottom:
|
|
114
|
+
padding-top: var(--spi-size-2);
|
|
115
|
+
padding-bottom: var(--spi-size-2);
|
|
116
116
|
display: flex;
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -123,35 +123,30 @@
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.menu-span {
|
|
126
|
-
color:
|
|
127
|
-
font-size: 14px;
|
|
128
|
-
font-weight: 600;
|
|
129
|
-
line-height: 20px;
|
|
126
|
+
color: var(--spi-color-text-primary);
|
|
130
127
|
word-wrap: break-word;
|
|
131
128
|
}
|
|
132
129
|
|
|
133
130
|
.category-items {
|
|
134
|
-
padding:
|
|
135
|
-
gap:
|
|
131
|
+
padding: var(--spi-size-2);
|
|
132
|
+
gap: var(--spi-size-2);
|
|
136
133
|
display: flex;
|
|
137
134
|
}
|
|
138
135
|
|
|
139
136
|
.content {
|
|
140
137
|
flex-direction: column;
|
|
141
|
-
gap:
|
|
138
|
+
gap: var(--spi-size-6);
|
|
142
139
|
display: flex;
|
|
143
140
|
}
|
|
144
141
|
|
|
145
142
|
.category-content {
|
|
146
143
|
flex-direction: column;
|
|
147
|
-
gap:
|
|
144
|
+
gap: var(--spi-size-2);
|
|
148
145
|
display: flex;
|
|
149
146
|
}
|
|
150
147
|
|
|
151
148
|
.category-span {
|
|
152
|
-
color:
|
|
153
|
-
font-size: 12px;
|
|
154
|
-
font-weight: 400;
|
|
149
|
+
color: var(--spi-color-text-muted);
|
|
155
150
|
word-wrap: break-word;
|
|
156
151
|
}
|
|
157
152
|
|
|
@@ -162,16 +157,13 @@
|
|
|
162
157
|
}
|
|
163
158
|
|
|
164
159
|
button:focus-visible {
|
|
165
|
-
box-shadow: 0 0 0
|
|
166
|
-
background-color:
|
|
160
|
+
box-shadow: 0 0 0 var(--spi-border-2) var(--spi-color-border-focus);
|
|
161
|
+
background-color: var(--spi-color-primary-lighter);
|
|
167
162
|
outline: none;
|
|
168
163
|
}
|
|
169
164
|
|
|
170
165
|
.icon-span {
|
|
171
|
-
color:
|
|
172
|
-
font-size: 20px;
|
|
173
|
-
font-weight: 400;
|
|
174
|
-
line-height: 20px;
|
|
166
|
+
color: var(--spi-color-neutral-darkest);
|
|
175
167
|
word-wrap: break-word;
|
|
176
168
|
}
|
|
177
169
|
|
|
@@ -192,10 +184,10 @@
|
|
|
192
184
|
}
|
|
193
185
|
|
|
194
186
|
.collapsed .menu-content {
|
|
195
|
-
padding:
|
|
187
|
+
padding: var(--spi-size-2);
|
|
196
188
|
}
|
|
197
189
|
.collapsed .content {
|
|
198
|
-
padding:
|
|
190
|
+
padding: var(--spi-size-2);
|
|
199
191
|
}
|
|
200
192
|
.collapsed .menu-header {
|
|
201
193
|
align-items: center;
|
|
@@ -204,24 +196,24 @@
|
|
|
204
196
|
.collapsed .menu-header {
|
|
205
197
|
justify-content: flex-start;
|
|
206
198
|
align-items: center;
|
|
207
|
-
padding:
|
|
199
|
+
padding: var(--spi-size-2);
|
|
208
200
|
}
|
|
209
201
|
|
|
210
202
|
.button {
|
|
211
203
|
background: transparent;
|
|
212
204
|
border: none;
|
|
213
205
|
cursor: pointer;
|
|
214
|
-
border-radius:
|
|
215
|
-
width:
|
|
216
|
-
height:
|
|
206
|
+
border-radius: var(--spi-rounded-full);
|
|
207
|
+
width: var(--spi-size-9);
|
|
208
|
+
height: var(--spi-size-9);
|
|
217
209
|
display: flex;
|
|
218
210
|
align-items: center;
|
|
219
211
|
justify-content: center;
|
|
220
|
-
transition: background-color
|
|
212
|
+
transition: background-color var(--spi-duration-normal) var(--spi-ease-default);
|
|
221
213
|
}
|
|
222
214
|
|
|
223
215
|
.button:hover {
|
|
224
|
-
background-color:
|
|
216
|
+
background-color: var(--spi-color-surface-subtle);
|
|
225
217
|
}
|
|
226
218
|
|
|
227
219
|
@media (max-width: 768px) {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
28
|
<div class="modal-backdrop">
|
|
29
|
-
<div class="modal-container {width}">
|
|
29
|
+
<div class="modal-container {width} spi-text-regular-2">
|
|
30
30
|
<div
|
|
31
31
|
onclose={onHandleClose}
|
|
32
32
|
class="modal"
|
|
@@ -52,21 +52,17 @@
|
|
|
52
52
|
justify-content: center;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
|
-
background-color:
|
|
55
|
+
background-color: var(--spi-color-backdrop);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.modal-container {
|
|
59
59
|
width: var(--modal-width);
|
|
60
60
|
max-height: 90%;
|
|
61
|
-
border-radius:
|
|
62
|
-
background-color:
|
|
61
|
+
border-radius: var(--spi-rounded-2xl);
|
|
62
|
+
background-color: var(--spi-color-surface-default);
|
|
63
63
|
margin: auto;
|
|
64
64
|
overflow-y: auto;
|
|
65
|
-
box-shadow:
|
|
66
|
-
0px 1px 10px 0px rgba(51, 56, 64, 0.12),
|
|
67
|
-
0px 2px 4px -1px rgba(51, 56, 64, 0.2),
|
|
68
|
-
0px 4px 5px 0px rgba(51, 56, 64, 0.14);
|
|
69
|
-
font-size: 14px;
|
|
65
|
+
box-shadow: var(--spi-shadow-card-hover);
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
.modal {
|
|
@@ -94,12 +90,12 @@
|
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
.modal-container::-webkit-scrollbar-thumb {
|
|
97
|
-
background:
|
|
98
|
-
border-radius:
|
|
93
|
+
background: var(--spi-color-neutral-dark);
|
|
94
|
+
border-radius: var(--spi-rounded-full);
|
|
99
95
|
}
|
|
100
96
|
|
|
101
97
|
.modal-container::-webkit-scrollbar-thumb:hover {
|
|
102
|
-
background:
|
|
98
|
+
background: var(--spi-color-neutral-darker);
|
|
103
99
|
}
|
|
104
100
|
|
|
105
101
|
:global(html:has(.modal-backdrop)) {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
align-items: flex-start;
|
|
22
|
-
gap:
|
|
22
|
+
gap: var(--spi-size-6);
|
|
23
23
|
align-self: stretch;
|
|
24
|
-
background:
|
|
24
|
+
background: var(--spi-color-surface-default);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.padding {
|
|
28
|
-
padding:
|
|
28
|
+
padding: var(--spi-size-6);
|
|
29
29
|
}
|
|
30
30
|
</style>
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
.modal-footer,
|
|
19
19
|
.button-section {
|
|
20
20
|
display: flex;
|
|
21
|
-
gap:
|
|
21
|
+
gap: var(--spi-size-4);
|
|
22
22
|
}
|
|
23
23
|
.modal-footer {
|
|
24
24
|
width: 100%;
|
|
25
|
-
padding:
|
|
25
|
+
padding: var(--spi-size-6);
|
|
26
26
|
justify-content: space-between;
|
|
27
|
-
border-radius:
|
|
28
|
-
border-top:
|
|
29
|
-
background:
|
|
27
|
+
border-radius: 0 0 var(--spi-rounded-2xl) var(--spi-rounded-2xl);
|
|
28
|
+
border-top: var(--spi-border-1) solid var(--spi-color-border-medium);
|
|
29
|
+
background: var(--spi-color-surface-default);
|
|
30
30
|
}
|
|
31
31
|
</style>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{#if errorIcon}
|
|
16
16
|
<span class="icon error material-icons-outlined">report</span>
|
|
17
17
|
{/if}
|
|
18
|
-
<h2>{title}</h2>
|
|
18
|
+
<h2 class="spi-text-semibold-4">{title}</h2>
|
|
19
19
|
</div>
|
|
20
20
|
<button type="button" class="close-button material-icons-outlined" onclick={onclose}
|
|
21
21
|
>close</button
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
.modal-header-title {
|
|
29
29
|
display: flex;
|
|
30
30
|
justify-content: space-between;
|
|
31
|
-
gap:
|
|
31
|
+
gap: var(--spi-size-4);
|
|
32
32
|
}
|
|
33
33
|
.modal-header {
|
|
34
|
-
padding:
|
|
34
|
+
padding: var(--spi-size-6);
|
|
35
35
|
align-self: stretch;
|
|
36
|
-
border-bottom:
|
|
36
|
+
border-bottom: var(--spi-border-1) solid var(--spi-color-border-medium);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.modal-header-title > .icon {
|
|
@@ -45,11 +45,6 @@
|
|
|
45
45
|
align-items: center;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.modal-header-title h2 {
|
|
49
|
-
font-size: 18px;
|
|
50
|
-
font-weight: 600;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
48
|
.modal-header > .close-button {
|
|
54
49
|
background: none;
|
|
55
50
|
border: none;
|
|
@@ -57,7 +52,7 @@
|
|
|
57
52
|
|
|
58
53
|
.modal-header > .close-button:hover {
|
|
59
54
|
cursor: pointer;
|
|
60
|
-
color:
|
|
55
|
+
color: var(--spi-color-text-secondary);
|
|
61
56
|
}
|
|
62
57
|
|
|
63
58
|
.modal-header > .close-button:focus {
|
|
@@ -65,6 +60,6 @@
|
|
|
65
60
|
}
|
|
66
61
|
|
|
67
62
|
.icon.error {
|
|
68
|
-
--color-icon:
|
|
63
|
+
--color-icon: var(--spi-color-danger-base);
|
|
69
64
|
}
|
|
70
65
|
</style>
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
|
|
16
16
|
<aside class={['notification-container', !disableBorder && 'border']}>
|
|
17
17
|
<span class="status-indicator {type}"></span>
|
|
18
|
-
<div class="notification-content">
|
|
18
|
+
<div class="notification-content spi-text-regular-2">
|
|
19
19
|
{#if title}
|
|
20
|
-
<span class="title">{title}</span>
|
|
20
|
+
<span class="title spi-text-bold-2">{title}</span>
|
|
21
21
|
{/if}
|
|
22
22
|
{@render content()}
|
|
23
23
|
</div>
|
|
@@ -27,52 +27,45 @@
|
|
|
27
27
|
.notification-container {
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: 100%;
|
|
30
|
-
gap:
|
|
30
|
+
gap: var(--spi-size-4);
|
|
31
31
|
display: flex;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.border {
|
|
35
|
-
border:
|
|
36
|
-
border-radius:
|
|
37
|
-
padding:
|
|
35
|
+
border: var(--spi-border-1) solid var(--spi-color-border-default);
|
|
36
|
+
border-radius: var(--spi-rounded-lg);
|
|
37
|
+
padding: var(--spi-size-4);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.status-indicator {
|
|
41
|
-
width:
|
|
42
|
-
border-radius:
|
|
43
|
-
background-color: var(--toast-bg);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.notification-content {
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
flex: 1 1 0;
|
|
49
|
-
gap: 4px;
|
|
50
|
-
display: flex;
|
|
51
|
-
font-size: 14px;
|
|
52
|
-
line-height: 20px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.title {
|
|
56
|
-
font-weight: 700;
|
|
41
|
+
width: var(--spi-size-2);
|
|
42
|
+
border-radius: var(--spi-rounded-sm);
|
|
57
43
|
}
|
|
58
44
|
|
|
59
45
|
.status-indicator.info {
|
|
60
|
-
|
|
46
|
+
background-color: var(--spi-color-primary-base);
|
|
61
47
|
}
|
|
62
48
|
|
|
63
49
|
.status-indicator.warning {
|
|
64
|
-
|
|
50
|
+
background-color: var(--spi-color-warning-base);
|
|
65
51
|
}
|
|
66
52
|
|
|
67
53
|
.status-indicator.danger {
|
|
68
|
-
|
|
54
|
+
background-color: var(--spi-color-danger-base);
|
|
69
55
|
}
|
|
70
56
|
|
|
71
57
|
.status-indicator.neutral {
|
|
72
|
-
|
|
58
|
+
background-color: var(--spi-color-neutral-dark);
|
|
73
59
|
}
|
|
74
60
|
|
|
75
61
|
.status-indicator.success {
|
|
76
|
-
|
|
62
|
+
background-color: var(--spi-color-success-base);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.notification-content {
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
flex: 1 1 0;
|
|
68
|
+
gap: var(--spi-size-1);
|
|
69
|
+
display: flex;
|
|
77
70
|
}
|
|
78
71
|
</style>
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
>
|
|
29
29
|
<defs>
|
|
30
30
|
<linearGradient id="processingGradient" x1="1.5%" y1="38%" x2="98.5%" y2="62%">
|
|
31
|
-
<stop offset="0%" stop-color
|
|
32
|
-
<stop offset="65.86%" stop-color
|
|
33
|
-
<stop offset="100%" stop-color
|
|
31
|
+
<stop offset="0%" style="stop-color: var(--spi-color-primary-base)" />
|
|
32
|
+
<stop offset="65.86%" style="stop-color: var(--spi-color-primary-dark)" />
|
|
33
|
+
<stop offset="100%" style="stop-color: var(--spi-color-text-primary)" />
|
|
34
34
|
</linearGradient>
|
|
35
35
|
</defs>
|
|
36
36
|
<path
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
/>
|
|
39
39
|
</svg>
|
|
40
40
|
<div class="processing-content">
|
|
41
|
-
<h2 class="processing-title">{title}</h2>
|
|
41
|
+
<h2 class="processing-title spi-text-bold-4">{title}</h2>
|
|
42
42
|
{#if text}
|
|
43
|
-
<p class="processing-text">{text}</p>
|
|
43
|
+
<p class="processing-text spi-text-regular-3">{text}</p>
|
|
44
44
|
{/if}
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
@@ -64,29 +64,22 @@
|
|
|
64
64
|
flex-direction: column;
|
|
65
65
|
align-items: center;
|
|
66
66
|
text-align: center;
|
|
67
|
-
gap:
|
|
67
|
+
gap: var(--spi-size-6);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.processing-content {
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
|
-
gap:
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.processing-title {
|
|
77
|
-
font-size: 18px;
|
|
78
|
-
font-weight: 700;
|
|
73
|
+
gap: var(--spi-size-2);
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
.processing-text {
|
|
82
|
-
font-size: 16px;
|
|
83
77
|
white-space: pre-line;
|
|
84
|
-
line-height: 1.5;
|
|
85
78
|
}
|
|
86
79
|
|
|
87
80
|
.processing-icon {
|
|
88
|
-
width:
|
|
89
|
-
height:
|
|
81
|
+
width: var(--spi-size-8);
|
|
82
|
+
height: var(--spi-size-8);
|
|
90
83
|
animation: rotate 2s linear infinite;
|
|
91
84
|
}
|
|
92
85
|
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
<article class="progress-page">
|
|
24
24
|
<span class="material-icons-outlined progress-icon">{iconName}</span>
|
|
25
25
|
<div class="progress-content">
|
|
26
|
-
<p class="progress-title">{title}</p>
|
|
26
|
+
<p class="progress-title spi-text-bold-4">{title}</p>
|
|
27
27
|
{#if description}
|
|
28
|
-
<p class="progress-description">{description}</p>
|
|
28
|
+
<p class="progress-description spi-text-regular-2">{description}</p>
|
|
29
29
|
{/if}
|
|
30
30
|
{#if documentationUrl}
|
|
31
|
-
<p class="progress-documentation">
|
|
31
|
+
<p class="progress-documentation spi-text-regular-2">
|
|
32
32
|
To see more details check
|
|
33
33
|
<a rel="noreferrer" class="progress-link" href={documentationUrl} target="_blank">
|
|
34
34
|
our documentation.
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
align-items: center;
|
|
50
|
-
padding:
|
|
50
|
+
padding: var(--spi-size-6);
|
|
51
51
|
max-width: 350px;
|
|
52
|
-
gap:
|
|
52
|
+
gap: var(--spi-size-6);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.progress-icon {
|
|
56
|
-
color:
|
|
56
|
+
color: var(--spi-color-primary-base);
|
|
57
57
|
font-size: 32px;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -61,25 +61,20 @@
|
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-direction: column;
|
|
63
63
|
text-align: center;
|
|
64
|
-
gap:
|
|
64
|
+
gap: var(--spi-size-2);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.progress-title {
|
|
68
|
-
|
|
69
|
-
font-weight: 700;
|
|
70
|
-
color: #000;
|
|
71
|
-
line-height: 1.4;
|
|
68
|
+
color: var(--spi-color-text-primary);
|
|
72
69
|
}
|
|
73
70
|
|
|
74
71
|
.progress-description,
|
|
75
72
|
.progress-documentation {
|
|
76
|
-
|
|
77
|
-
color: #000;
|
|
78
|
-
line-height: 1.4;
|
|
73
|
+
color: var(--spi-color-text-primary);
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
.progress-link {
|
|
82
|
-
color:
|
|
77
|
+
color: var(--spi-color-primary-base);
|
|
83
78
|
text-decoration: none;
|
|
84
79
|
}
|
|
85
80
|
|
|
@@ -88,8 +83,8 @@
|
|
|
88
83
|
}
|
|
89
84
|
|
|
90
85
|
.progress-link:focus {
|
|
91
|
-
outline:
|
|
92
|
-
outline-offset:
|
|
93
|
-
border-radius:
|
|
86
|
+
outline: var(--spi-border-2) solid var(--spi-color-primary-base);
|
|
87
|
+
outline-offset: var(--spi-border-2);
|
|
88
|
+
border-radius: var(--spi-rounded-xs);
|
|
94
89
|
}
|
|
95
90
|
</style>
|