not-bulma 1.2.61 → 1.2.62

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-bulma",
3
- "version": "1.2.61",
3
+ "version": "1.2.62",
4
4
  "description": "not-* family UI components on Bulma CSS Framework",
5
5
  "main": "src/index.js",
6
6
  "svelte": "src/index.js",
@@ -13,6 +13,7 @@
13
13
  export let closeButton = false;
14
14
  export let applyButton = false;
15
15
 
16
+ export let titleSize = 2;
16
17
  export let show = false;
17
18
  export let loading = false;
18
19
  export let title = "Modal window";
@@ -31,7 +32,11 @@
31
32
  classes={overlayClasses}
32
33
  >
33
34
  <UIBox {classes}>
34
- <UITitle size="2" title={$LOCALE[title]} subtitle={$LOCALE[subtitle]} />
35
+ <UITitle
36
+ size={titleSize}
37
+ title={$LOCALE[title]}
38
+ subtitle={$LOCALE[subtitle]}
39
+ />
35
40
  <UIContent>
36
41
  <div class="pageloader {loading ? 'is-active' : ''}">
37
42
  <span class="title">{$LOCALE[WAITING_TEXT]}</span>
@@ -429,6 +429,15 @@ class notInterface extends notBase {
429
429
  size: pager.size || DEFAULT_PAGE_SIZE,
430
430
  page: pager.page || DEFAULT_PAGE_NUMBER,
431
431
  });
432
+ } else if (
433
+ arguments.length === 2 &&
434
+ !isNaN(arguments[0]) &&
435
+ !isNaN(arguments[1])
436
+ ) {
437
+ this.setWorking("pager", {
438
+ size: arguments[0] || DEFAULT_PAGE_SIZE,
439
+ page: arguments[1] || DEFAULT_PAGE_NUMBER,
440
+ });
432
441
  }
433
442
  return this;
434
443
  }