@wavemaker/app-runtime-wm-build 12.0.0-next.45076 → 12.0.0-next.45078

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/app-runtime-wm-build",
3
- "version": "12.0.0-next.45076",
3
+ "version": "12.0.0-next.45078",
4
4
  "description": "All modules required for a wavemaker application.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -965,16 +965,22 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
965
965
  --wm-message-container-loading-background: var(--wm-color-primary);
966
966
  --wm-message-container-loading-color: var(--wm-color-on-primary);
967
967
  --wm-message-container-loading-border-color: var(--wm-color-primary);
968
+ --wm-modal-margin: var(--wm-space-6);
968
969
  --wm-modal-backdrop-opacity: 50%;
969
970
  --wm-modal-backdrop-background: color-mix(in srgb, var(--wm-color-scrim), transparent calc(100% - var(--wm-modal-backdrop-opacity)));
970
971
  --wm-modal-backdrop-z-index: 999;
971
972
  --wm-modal-z-index: 1000;
972
973
  --wm-modal-width: 600px;
974
+ --wm-modal-height: auto;
973
975
  --wm-modal-xs-width: 440px;
974
976
  --wm-modal-sm-width: 600px;
975
977
  --wm-modal-md-width: 900px;
976
978
  --wm-modal-lg-width: 1200px;
977
979
  --wm-modal-xl-width: 1536px;
980
+ --wm-modal-full-screen-width: 100%;
981
+ --wm-modal-full-screen-height: 100%;
982
+ --wm-modal-full-screen-margin: var(--wm-space-0);
983
+ --wm-modal-full-screen-radius: var(--wm-radius-none);
978
984
  --wm-modal-background: var(--wm-color-surface-container-high);
979
985
  --wm-modal-radius: var(--wm-radius-lg);
980
986
  --wm-modal-header-padding: var(--wm-space-6) var(--wm-space-6) var(--wm-space-4);
@@ -987,6 +993,9 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
987
993
  --wm-modal-body-padding: var(--wm-space-6) var(--wm-space-6);
988
994
  --wm-modal-footer-padding: var(--wm-space-6) var(--wm-space-6);
989
995
  --wm-modal-footer-gap: var(--wm-space-3);
996
+ --wm-modal-sheet-width: 400px;
997
+ --wm-modal-sheet-radius: var(--wm-radius-none);
998
+ --wm-modal-sheet-margin: var(--wm-space-0);
990
999
  /*--Nav--*/
991
1000
  --wm-nav-min-height: var(--wm-nav-item-min-height);
992
1001
  --wm-nav-background: var(--wm-color-surface-container-low);
@@ -1325,6 +1334,15 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
1325
1334
  --wm-search-dropdown-menu-item-focus-state-layer-opacity: var(--wm-opacity-focus);
1326
1335
  --wm-search-dropdown-menu-item-active-state-layer-opacity: var(--wm-opacity-active);
1327
1336
  --wm-search-dropdown-menu-item-img-radius: var(--wm-radius-circle);
1337
+ --wm-search-dropdown-menu-group-item-color: var(--wm-color-on-surface);
1338
+ --wm-search-dropdown-menu-group-item-background: var(--wm-color-surface-container-low);
1339
+ --wm-search-dropdown-menu-group-item-gap: var(--wm-space-2);
1340
+ --wm-search-dropdown-menu-group-item-padding: var(--wm-space-2) var(--wm-space-4);
1341
+ --wm-search-dropdown-menu-group-item-header-font-family: var(--wm-h4-font-family);
1342
+ --wm-search-dropdown-menu-group-item-header-font-size: var(--wm-h4-font-size);
1343
+ --wm-search-dropdown-menu-group-item-header-line-height: var(--wm-h4-line-height);
1344
+ --wm-search-dropdown-menu-group-item-header-font-weight: var(--wm-h4-font-weight);
1345
+ --wm-search-dropdown-menu-group-item-header-letter-spacing: var(--wm-h4-letter-spacing);
1328
1346
  --wm-search-status-background: var(--wm-color-surface-dim);
1329
1347
  --wm-search-status-padding: var(--wm-space-2);
1330
1348
  --wm-spinner-min-height: 6rem;
@@ -15076,12 +15094,12 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
15076
15094
  margin-left: 2px;
15077
15095
  }
15078
15096
  .wm-app .form-control {
15097
+ width: 100%;
15098
+ height: var(--wm-form-control-height);
15079
15099
  color: var(--wm-form-control-color);
15080
15100
  background: var(--wm-form-control-background);
15081
15101
  border: var(--wm-form-control-border-width) var(--wm-form-control-border-style) var(--wm-form-control-border-color);
15082
15102
  border-radius: var(--wm-form-control-radius);
15083
- height: var(--wm-form-control-height);
15084
- width: 100%;
15085
15103
  padding: var(--wm-form-control-padding);
15086
15104
  font-family: var(--wm-form-control-font-family);
15087
15105
  font-size: var(--wm-form-control-font-size);
@@ -15131,6 +15149,10 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
15131
15149
  align-items: center;
15132
15150
  justify-content: center;
15133
15151
  gap: var(--wm-space-1);
15152
+ padding: 0;
15153
+ border: none;
15154
+ width: auto;
15155
+ background: none;
15134
15156
  }
15135
15157
  .wm-app .input-group:not(.app-currency) .input-group-btn .btn,
15136
15158
  .wm-app .input-group:not(.app-currency) .input-group-addon .btn,
@@ -15167,7 +15189,15 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
15167
15189
  .wm-app .input-group:not(.app-currency) div:has(>.model-holder[bsdatepicker]) button + .btn {
15168
15190
  margin: 0;
15169
15191
  }
15192
+ .wm-app .input-group:not(.app-currency) .input-group .form-control:first-child,
15193
+ .wm-app .input-group:not(.app-currency) .input-group-addon:first-child,
15194
+ .wm-app .input-group:not(.app-currency) .input-group-btn:first-child > .btn,
15195
+ .wm-app .input-group:not(.app-currency) .input-group-btn:first-child > .btn-group > .btn,
15196
+ .wm-app .input-group:not(.app-currency) .input-group-btn:first-child > .dropdown-toggle,
15197
+ .wm-app .input-group:not(.app-currency) .input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
15198
+ .wm-app .input-group:not(.app-currency) .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
15170
15199
  .wm-app .input-group:not(.app-currency) .form-control {
15200
+ border-radius: var(--wm-form-control-radius);
15171
15201
  padding-right: calc(var(--wm-input-group-btn-width) + var(--wm-form-control-padding));
15172
15202
  }
15173
15203
  .wm-app .input-group:not(.app-currency).app-datetime .form-control {
@@ -16097,35 +16127,36 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
16097
16127
  display: flex !important;
16098
16128
  }
16099
16129
  .wm-app .modal-dialog {
16100
- display: flex;
16101
- justify-content: center;
16102
- align-items: center;
16103
16130
  position: fixed;
16104
16131
  inset: 0;
16105
16132
  width: 100%;
16106
16133
  height: 100%;
16134
+ display: flex;
16135
+ justify-content: center;
16136
+ align-items: center;
16107
16137
  background: var(--wm-modal-backdrop-background);
16108
- padding: var(--wm-space-6);
16138
+ padding: var(--wm-modal-margin);
16109
16139
  margin: var(--wm-space-0);
16110
16140
  }
16111
- .wm-app .modal-content {
16141
+ .wm-app .modal-dialog .modal-content {
16112
16142
  display: flex;
16113
16143
  flex-direction: column;
16114
16144
  width: var(--wm-modal-width);
16145
+ height: var(--wm-modal-height);
16115
16146
  max-width: 100%;
16116
16147
  max-height: 100%;
16117
16148
  background: var(--wm-modal-background);
16118
16149
  border-radius: var(--wm-modal-radius);
16119
16150
  }
16120
- .wm-app .modal-content .modal-header {
16151
+ .wm-app .modal-dialog .modal-content .modal-header {
16121
16152
  padding: var(--wm-modal-header-padding);
16122
16153
  }
16123
- .wm-app .modal-content .modal-header .app-dialog-close {
16154
+ .wm-app .modal-dialog .modal-content .modal-header .app-dialog-close {
16124
16155
  position: absolute;
16125
16156
  right: 0;
16126
16157
  top: 0;
16127
16158
  }
16128
- .wm-app .modal-content .modal-header .modal-title {
16159
+ .wm-app .modal-dialog .modal-content .modal-header .modal-title {
16129
16160
  width: 100%;
16130
16161
  display: flex;
16131
16162
  align-items: center;
@@ -16133,36 +16164,82 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
16133
16164
  gap: var(--wm-modal-title-gap);
16134
16165
  word-break: break-word;
16135
16166
  }
16136
- .wm-app .modal-content .modal-header .modal-title:has(>.app-icon) {
16167
+ .wm-app .modal-dialog .modal-content .modal-header .modal-title:has(>.app-icon) {
16137
16168
  flex-direction: column;
16138
16169
  --wm-modal-title-gap: var(--wm-space-4);
16139
16170
  }
16140
- .wm-app .modal-content .modal-header + .modal-body {
16171
+ .wm-app .modal-dialog .modal-content .modal-header + .modal-body {
16141
16172
  padding-top: var(--wm-space-0);
16142
16173
  }
16143
- .wm-app .modal-content .modal-body {
16174
+ .wm-app .modal-dialog .modal-content .modal-body {
16144
16175
  height: 100%;
16145
16176
  overflow: auto;
16146
16177
  padding: var(--wm-modal-body-padding);
16147
16178
  }
16148
- .wm-app .modal-content .modal-body > .app-grid-layout {
16179
+ .wm-app .modal-dialog .modal-content .modal-body > .app-grid-layout {
16149
16180
  padding: 0;
16150
16181
  margin: 0 calc(var(--wm-grid-layout-column-padding) * -1);
16151
16182
  width: calc(100% + calc(var(--wm-grid-layout-column-padding) * 2));
16152
16183
  }
16153
- .wm-app .modal-content .modal-body:has( + .modal-footer:not([hidden])) {
16184
+ .wm-app .modal-dialog .modal-content .modal-body:has( + .modal-footer:not([hidden])) {
16154
16185
  padding-bottom: var(--wm-space-0);
16155
16186
  }
16156
- .wm-app .modal-content .modal-footer {
16187
+ .wm-app .modal-dialog .modal-content .modal-footer {
16157
16188
  padding: var(--wm-modal-footer-padding);
16158
16189
  display: flex;
16159
16190
  flex-direction: row;
16160
16191
  justify-content: flex-end;
16161
16192
  gap: var(--wm-modal-footer-gap);
16162
16193
  }
16163
- .wm-app .modal-content .modal-footer .btn {
16194
+ .wm-app .modal-dialog .modal-content .modal-footer .btn {
16164
16195
  margin: 0;
16165
16196
  }
16197
+ .wm-app .modal-dialog:not(.modal-sheet).modal-xs {
16198
+ --wm-modal-width: var(--wm-modal-xs-width);
16199
+ }
16200
+ .wm-app .modal-dialog:not(.modal-sheet).modal-sm {
16201
+ --wm-modal-width: var(--wm-modal-sm-width);
16202
+ }
16203
+ .wm-app .modal-dialog:not(.modal-sheet).modal-md {
16204
+ --wm-modal-width: var(--wm-modal-md-width);
16205
+ }
16206
+ .wm-app .modal-dialog:not(.modal-sheet).modal-lg {
16207
+ --wm-modal-width: var(--wm-modal-lg-width);
16208
+ }
16209
+ .wm-app .modal-dialog:not(.modal-sheet).modal-xl {
16210
+ --wm-modal-width: var(--wm-modal-xl-width);
16211
+ }
16212
+ .wm-app .modal-dialog:not(.modal-sheet).modal-full-screen {
16213
+ --wm-modal-width: var(--wm-modal-full-screen-width);
16214
+ --wm-modal-height: var(--wm-modal-full-screen-height);
16215
+ --wm-modal-radius: var(--wm-modal-full-screen-radius);
16216
+ --wm-modal-margin: var(--wm-modal-full-screen-margin);
16217
+ }
16218
+ .wm-app .modal-dialog.modal-sheet {
16219
+ --wm-modal-width: var(--wm-modal-sheet-width);
16220
+ --wm-modal-radius: var(--wm-modal-sheet-radius);
16221
+ --wm-modal-margin: var(--wm-modal-sheet-margin);
16222
+ }
16223
+ .wm-app .modal-dialog.modal-sheet.sheet-position-top {
16224
+ align-items: flex-start;
16225
+ --wm-modal-width: var(--wm-modal-full-screen-width);
16226
+ }
16227
+ .wm-app .modal-dialog.modal-sheet.sheet-position-right {
16228
+ justify-content: flex-end;
16229
+ }
16230
+ .wm-app .modal-dialog.modal-sheet.sheet-position-right .modal-content {
16231
+ height: var(--wm-modal-full-screen-height);
16232
+ }
16233
+ .wm-app .modal-dialog.modal-sheet.sheet-position-bottom {
16234
+ align-items: flex-end;
16235
+ --wm-modal-width: var(--wm-modal-full-screen-width);
16236
+ }
16237
+ .wm-app .modal-dialog.modal-sheet.sheet-position-left {
16238
+ justify-content: flex-start;
16239
+ }
16240
+ .wm-app .modal-dialog.modal-sheet.sheet-position-left .modal-content {
16241
+ height: var(--wm-modal-full-screen-height);
16242
+ }
16166
16243
  .wm-app .app-navbar {
16167
16244
  position: relative;
16168
16245
  border: none;
@@ -17440,6 +17517,9 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
17440
17517
  right: auto;
17441
17518
  left: var(--wm-btn-icon-md-margin);
17442
17519
  }
17520
+ .wm-app .app-search.input-group .form-control-feedback.clear-btn.show-btn {
17521
+ display: inline-flex;
17522
+ }
17443
17523
  .wm-app .app-search.input-group .input-group-addon {
17444
17524
  right: auto;
17445
17525
  left: var(--wm-btn-icon-md-margin);
@@ -17465,10 +17545,7 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
17465
17545
  height: calc(100dvh - var(--wm-form-control-height)) !important;
17466
17546
  --wm-search-dropdown-menu-height: 100%;
17467
17547
  }
17468
- .wm-app .app-search.input-group[showclear="true"] .form-control-feedback.clear-btn {
17469
- display: inline-flex;
17470
- }
17471
- .wm-app .app-search.input-group[showclear="false"] .form-control {
17548
+ .wm-app .app-search.input-group:has(.clear-btn:not(.show-btn)) .form-control {
17472
17549
  padding-right: var(--wm-form-control-padding);
17473
17550
  }
17474
17551
  .wm-app typeahead-container.dropdown {
@@ -17501,6 +17578,7 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
17501
17578
  letter-spacing: var(--wm-search-dropdown-menu-item-letter-spacing);
17502
17579
  }
17503
17580
  .wm-app typeahead-container.dropdown .dropdown-menu.app-search li > a img {
17581
+ aspect-ratio: 1/1;
17504
17582
  border-radius: var(--wm-search-dropdown-menu-item-img-radius);
17505
17583
  }
17506
17584
  .wm-app typeahead-container.dropdown .dropdown-menu.app-search li > a:before {
@@ -17522,6 +17600,21 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
17522
17600
  .wm-app typeahead-container.dropdown .dropdown-menu.app-search li > a:active:before {
17523
17601
  opacity: var(--wm-search-dropdown-menu-item-active-state-layer-opacity);
17524
17602
  }
17603
+ .wm-app typeahead-container.dropdown .dropdown-menu.app-search li.list-group-header {
17604
+ display: flex;
17605
+ gap: var(--wm-search-dropdown-menu-group-item-gap);
17606
+ }
17607
+ .wm-app typeahead-container.dropdown .dropdown-menu.app-search li.list-group-header .group-title {
17608
+ width: 100%;
17609
+ color: var(--wm-search-dropdown-menu-group-item-color);
17610
+ background: var(--wm-search-dropdown-menu-group-item-background);
17611
+ padding: var(--wm-search-dropdown-menu-group-item-padding);
17612
+ font-family: var(--wm-search-dropdown-menu-group-item-header-font-family);
17613
+ font-weight: var(--wm-search-dropdown-menu-group-item-header-font-weight);
17614
+ font-size: var(--wm-search-dropdown-menu-group-item-header-font-size);
17615
+ line-height: var(--wm-search-dropdown-menu-group-item-header-line-height);
17616
+ letter-spacing: var(--wm-search-dropdown-menu-group-item-header-letter-spacing);
17617
+ }
17525
17618
  .wm-app typeahead-container.dropdown .dropdown-menu.app-search .status {
17526
17619
  display: flex;
17527
17620
  align-items: center;