not-bulma 1.2.59 → 1.2.61
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/package.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
export let subtitle = "";
|
|
20
20
|
export let classes = "";
|
|
21
21
|
export let overlayClasses = "";
|
|
22
|
+
export let buttonsClasses = "";
|
|
22
23
|
|
|
23
24
|
export let WAITING_TEXT = "Обработка";
|
|
24
25
|
</script>
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
|
|
39
40
|
{#if buttonsPosition === "top"}
|
|
40
41
|
<UIButtonsRow
|
|
42
|
+
classes={buttonsClasses}
|
|
41
43
|
left={closeButton ? [closeButton] : []}
|
|
42
44
|
right={applyButton ? [applyButton] : []}
|
|
43
45
|
></UIButtonsRow>
|
|
@@ -47,6 +49,7 @@
|
|
|
47
49
|
|
|
48
50
|
{#if buttonsPosition === "bottom"}
|
|
49
51
|
<UIButtonsRow
|
|
52
|
+
classes={buttonsClasses || "is-footer"}
|
|
50
53
|
left={closeButton ? [closeButton] : []}
|
|
51
54
|
right={applyButton ? [applyButton] : []}
|
|
52
55
|
></UIButtonsRow>
|
|
@@ -199,31 +199,33 @@
|
|
|
199
199
|
{/each}
|
|
200
200
|
</tbody>
|
|
201
201
|
</table>
|
|
202
|
-
|
|
203
|
-
<
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
{#
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
</
|
|
202
|
+
{#if state?.pagination?.pages?.list.length > 1}
|
|
203
|
+
<nav class="pagination is-centered" aria-label="pagination">
|
|
204
|
+
<a href class="pagination-previous" on:click={goPrev}>Назад</a>
|
|
205
|
+
<a href class="pagination-next" on:click={goNext}>Вперед</a>
|
|
206
|
+
<ul class="pagination-list">
|
|
207
|
+
{#if state.pagination && state.pagination.pages && state.pagination.pages.list}
|
|
208
|
+
{#each state.pagination.pages.list as page}
|
|
209
|
+
<li>
|
|
210
|
+
{#if page.active}
|
|
211
|
+
<a
|
|
212
|
+
href
|
|
213
|
+
class="pagination-link is-current"
|
|
214
|
+
aria-label="Страница {page.index}"
|
|
215
|
+
aria-current="page">{page.index + 1}</a
|
|
216
|
+
>
|
|
217
|
+
{:else}
|
|
218
|
+
<a
|
|
219
|
+
href
|
|
220
|
+
class="pagination-link"
|
|
221
|
+
aria-label="Страница {page.index}"
|
|
222
|
+
data-page={page.index}
|
|
223
|
+
on:click={goTo}>{page.index + 1}</a
|
|
224
|
+
>
|
|
225
|
+
{/if}
|
|
226
|
+
</li>
|
|
227
|
+
{/each}
|
|
228
|
+
{/if}
|
|
229
|
+
</ul>
|
|
230
|
+
</nav>
|
|
231
|
+
{/if}
|
|
File without changes
|
package/src/scss/_helpers.scss
CHANGED
|
@@ -19,3 +19,17 @@
|
|
|
19
19
|
.is-no-flex-wrap {
|
|
20
20
|
flex-wrap: nowrap !important;
|
|
21
21
|
}
|
|
22
|
+
|
|
23
|
+
.is-footer {
|
|
24
|
+
position: absolute;
|
|
25
|
+
bottom: 0px;
|
|
26
|
+
transform: translateY(-50%);
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.is-fullscreen {
|
|
31
|
+
height: 100%;
|
|
32
|
+
width: 100%;
|
|
33
|
+
margin: 0px;
|
|
34
|
+
border: none;
|
|
35
|
+
}
|
package/src/scss/_overlay.scss
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
.not-overlay {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
position: fixed !important;
|
|
3
|
+
top: 0px;
|
|
4
|
+
left: 0px;
|
|
5
|
+
width: 100vw;
|
|
6
|
+
height: 100vh;
|
|
7
|
+
margin: 0px;
|
|
8
|
+
display: block;
|
|
9
|
+
opacity: 1;
|
|
10
|
+
overflow: hidden;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
.stop-scrolling {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
height: 100%;
|
|
15
|
+
overflow: hidden;
|
|
17
16
|
}
|