inviton-powerduck 0.0.216 → 0.0.217

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.
@@ -60,6 +60,12 @@
60
60
  max-width: 650px;
61
61
  }
62
62
 
63
+ @media (min-width: 768px) {
64
+ .modal-dialog.modal-stn {
65
+ max-width: 400px;
66
+ }
67
+ }
68
+
63
69
  @media (max-width: 767.99px) {
64
70
  .modal-bottom-sheet .modal-dialog {
65
71
  position: fixed !important;
@@ -42,6 +42,7 @@ export enum ModalSize {
42
42
  ExtraLarge = 3,
43
43
  FullWidth = 4,
44
44
  NormalToLarge = 5,
45
+ SmallToNormal = 6,
45
46
  }
46
47
 
47
48
  export enum ModalHeaderIcon {
@@ -104,6 +105,8 @@ class ModalComponent extends TsxComponent<ModalArgs> implements ModalArgs {
104
105
  return ' modal-fw';
105
106
  } else if (this.size == ModalSize.NormalToLarge) {
106
107
  return ' modal-ntl';
108
+ } else if (this.size == ModalSize.SmallToNormal) {
109
+ return ' modal-stn';
107
110
  } else {
108
111
  return '';
109
112
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "inviton-powerduck",
3
3
  "type": "module",
4
- "version": "0.0.216",
4
+ "version": "0.0.217",
5
5
  "files": [
6
6
  "app/",
7
7
  "common/",