@rio-cloud/rio-uikit 0.16.2 → 0.16.3-beta.2

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,4 +1,4 @@
1
- declare module '@rio-cloud/rio-uikit/lib/es/AspectRatioPlaceholder' {
1
+ declare module '@rio-cloud/rio-uikit/AspectRatioPlaceholder' {
2
2
  import React from 'react';
3
3
  import { AspectRatioPlaceholderProps } from './types';
4
4
  export default class AspectRatioPlaceholder extends React.Component<AspectRatioPlaceholderProps> {}
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/ConfirmationDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH = 'fullwidth';
11
+ static SIZE_FULL_HEIGHT = 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
package/Dialog.d.ts CHANGED
@@ -5,6 +5,8 @@ declare module '@rio-cloud/rio-uikit/Dialog' {
5
5
  export default class Dialog extends React.Component<DialogProps> {
6
6
  public static SIZE_FULL_SCREEN: 'fullscreen';
7
7
  public static SIZE_FULL: 'full';
8
+ public static SIZE_FULL_WIDTH: 'fullwidth';
9
+ public static SIZE_FULL_HEIGHT: 'fullheight';
8
10
  public static SIZE_XL: 'xl';
9
11
  public static SIZE_LG: 'lg';
10
12
  public static SIZE_MD: 'md';
package/README.md CHANGED
@@ -17,6 +17,13 @@ When releasing a new version:
17
17
  1. Create new `release/${VERSION}` branch and trigger pipeline with a commit
18
18
  2. After the new uikit-demo is published, update `versionsList.json` in `master` branch.
19
19
 
20
+ Create a new development beta version:
21
+
22
+ 1. Update the `package.json`. Example `0.16.3-beta.1`
23
+ 2. Update the `version.json`. Example `0.16.3-beta.1`
24
+ 3. run `npm i` or update `package-lock.json`. Example `0.16.3-beta.1`
25
+ 4. Update the `uikit-demo/package.json`. Example `0.16.3`
26
+
20
27
  ## Development
21
28
 
22
29
  To run the UIKIT and the UIKIT Demo locally for development, use:
@@ -69,14 +76,17 @@ We introduced a versions list containing all the versions for which a uikit-demo
69
76
  The UIKIT needs to be published to NPM for the JavaScript components and the UIKIT CDN for the CSS files.
70
77
 
71
78
  ### Publish to NPM
79
+
72
80
  Run `npm run build:npm` to compile the components via babel to the `package` folder. The UIKIT exports CommonJS and ESM files. Later ones are directly in the package root. CommonJS components are generated in `package/lib/es` due to backwards compatibility reasons as Services import those components from `lib/es`.
73
81
 
74
- __Publish__ the UIKIT __only from__ the __package__ folder. All required files like package.json, README and License files are copied there during the build.
82
+ **Publish** the UIKIT **only from** the **package** folder. All required files like package.json, README and License files are copied there during the build.
75
83
 
76
84
  ### Publishing to UIKIT CDN
85
+
77
86
  Run `npm run build` to build the production bundle and compile the styles to inspect locally. When comitting to the main development branch the build outcome from `dist` is published via our internal CICD pipeline.
78
87
 
79
88
  ### Beta Versions
89
+
80
90
  Beta versions of the UIKIT ideally should be kept in synch in NPM and CDN. After a new beta has been released, increase the version number to avoid overwriting published stylings.
81
91
 
82
92
  ## License
package/SaveDialog.d.ts CHANGED
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/SaveDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH: 'fullwidth';
11
+ static SIZE_FULL_HEIGHT: 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
package/SimpleDialog.d.ts CHANGED
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/SimpleDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH: 'fullwidth';
11
+ static SIZE_FULL_HEIGHT: 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
package/SplitDialog.d.ts CHANGED
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/SplitDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH: 'fullwidth';
11
+ static SIZE_FULL_HEIGHT: 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
@@ -84,7 +84,7 @@ var Dialog = function Dialog(props) {
84
84
  dialogWrapperRef && dialogWrapperRef.current && dialogWrapperRef.current.focus();
85
85
  };
86
86
  var modalClasses = classNames('modal', 'show', className);
87
- var modalDialogClasses = classNames(MODAL_DIALOG_CLASS, useOverflow && 'modal-overflow', bsSize === Dialog.SIZE_SM && 'modal-sm', bsSize === Dialog.SIZE_LG && 'modal-lg', bsSize === Dialog.SIZE_XL && 'modal-xl', bsSize === Dialog.SIZE_FULL && 'modal-full', bsSize === Dialog.SIZE_FULL_SCREEN && 'modal-fullscreen');
87
+ var modalDialogClasses = classNames(MODAL_DIALOG_CLASS, useOverflow && 'modal-overflow', bsSize === Dialog.SIZE_SM && 'modal-sm', bsSize === Dialog.SIZE_LG && 'modal-lg', bsSize === Dialog.SIZE_XL && 'modal-xl', bsSize === Dialog.SIZE_FULL && 'modal-full-width', bsSize === Dialog.SIZE_FULL_WIDTH && 'modal-full-width', bsSize === Dialog.SIZE_FULL_HEIGHT && 'modal-full-height', bsSize === Dialog.SIZE_FULL_SCREEN && 'modal-fullscreen');
88
88
  var backdropClasses = classNames('modal-backdrop');
89
89
  return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(CSSTransition, {
90
90
  "in": open,
@@ -121,6 +121,8 @@ Dialog.SIZE_MD = 'md'; // default
121
121
  Dialog.SIZE_LG = 'lg';
122
122
  Dialog.SIZE_XL = 'xl';
123
123
  Dialog.SIZE_FULL = 'full';
124
+ Dialog.SIZE_FULL_WIDTH = 'fullwidth';
125
+ Dialog.SIZE_FULL_HEIGHT = 'fullheight';
124
126
  Dialog.SIZE_FULL_SCREEN = 'fullscreen';
125
127
  Dialog.defaultProps = {
126
128
  show: false,
package/index.d.ts CHANGED
@@ -158,6 +158,8 @@ declare module '@rio-cloud/rio-uikit' {
158
158
  export class Dialog extends React.Component<DialogProps> {
159
159
  public static SIZE_FULL_SCREEN: 'fullscreen';
160
160
  public static SIZE_FULL: 'full';
161
+ public static SIZE_FULL_WIDTH = 'fullwidth';
162
+ public static SIZE_FULL_HEIGHT = 'fullheight';
161
163
  public static SIZE_XL: 'xl';
162
164
  public static SIZE_LG: 'lg';
163
165
  public static SIZE_MD: 'md';
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/lib/es/ConfirmationDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH = 'fullwidth';
11
+ static SIZE_FULL_HEIGHT = 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
@@ -5,6 +5,8 @@ declare module '@rio-cloud/rio-uikit/lib/es/Dialog' {
5
5
  export default class Dialog extends React.Component<DialogProps> {
6
6
  public static SIZE_FULL_SCREEN: 'fullscreen';
7
7
  public static SIZE_FULL: 'full';
8
+ public static SIZE_FULL_WIDTH: 'fullwidth';
9
+ public static SIZE_FULL_HEIGHT: 'fullheight';
8
10
  public static SIZE_XL: 'xl';
9
11
  public static SIZE_LG: 'lg';
10
12
  public static SIZE_MD: 'md';
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/lib/es/SaveDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH: 'fullwidth';
11
+ static SIZE_FULL_HEIGHT: 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/lib/es/SimpleDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH: 'fullwidth';
11
+ static SIZE_FULL_HEIGHT: 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
@@ -7,6 +7,8 @@ declare module '@rio-cloud/rio-uikit/lib/es/SplitDialog' {
7
7
  static SIZE_LG = 'lg';
8
8
  static SIZE_XL = 'xl';
9
9
  static SIZE_FULL = 'full';
10
+ static SIZE_FULL_WIDTH: 'fullwidth';
11
+ static SIZE_FULL_HEIGHT: 'fullheight';
10
12
  static SIZE_FULL_SCREEN = 'fullscreen';
11
13
  }
12
14
  }
@@ -94,7 +94,7 @@ var Dialog = function Dialog(props) {
94
94
  dialogWrapperRef && dialogWrapperRef.current && dialogWrapperRef.current.focus();
95
95
  };
96
96
  var modalClasses = (0, _classnames["default"])('modal', 'show', className);
97
- var modalDialogClasses = (0, _classnames["default"])(MODAL_DIALOG_CLASS, useOverflow && 'modal-overflow', bsSize === Dialog.SIZE_SM && 'modal-sm', bsSize === Dialog.SIZE_LG && 'modal-lg', bsSize === Dialog.SIZE_XL && 'modal-xl', bsSize === Dialog.SIZE_FULL && 'modal-full', bsSize === Dialog.SIZE_FULL_SCREEN && 'modal-fullscreen');
97
+ var modalDialogClasses = (0, _classnames["default"])(MODAL_DIALOG_CLASS, useOverflow && 'modal-overflow', bsSize === Dialog.SIZE_SM && 'modal-sm', bsSize === Dialog.SIZE_LG && 'modal-lg', bsSize === Dialog.SIZE_XL && 'modal-xl', bsSize === Dialog.SIZE_FULL && 'modal-full-width', bsSize === Dialog.SIZE_FULL_WIDTH && 'modal-full-width', bsSize === Dialog.SIZE_FULL_HEIGHT && 'modal-full-height', bsSize === Dialog.SIZE_FULL_SCREEN && 'modal-fullscreen');
98
98
  var backdropClasses = (0, _classnames["default"])('modal-backdrop');
99
99
  return /*#__PURE__*/_reactDom["default"].createPortal( /*#__PURE__*/_react["default"].createElement(_reactTransitionGroup.CSSTransition, {
100
100
  "in": open,
@@ -131,6 +131,8 @@ Dialog.SIZE_MD = 'md'; // default
131
131
  Dialog.SIZE_LG = 'lg';
132
132
  Dialog.SIZE_XL = 'xl';
133
133
  Dialog.SIZE_FULL = 'full';
134
+ Dialog.SIZE_FULL_WIDTH = 'fullwidth';
135
+ Dialog.SIZE_FULL_HEIGHT = 'fullheight';
134
136
  Dialog.SIZE_FULL_SCREEN = 'fullscreen';
135
137
  Dialog.defaultProps = {
136
138
  show: false,
package/lib/es/index.d.ts CHANGED
@@ -158,6 +158,8 @@ declare module '@rio-cloud/lib/es/rio-uikit' {
158
158
  export class Dialog extends React.Component<DialogProps> {
159
159
  public static SIZE_FULL_SCREEN: 'fullscreen';
160
160
  public static SIZE_FULL: 'full';
161
+ public static SIZE_FULL_WIDTH = 'fullwidth';
162
+ public static SIZE_FULL_HEIGHT = 'fullheight';
161
163
  public static SIZE_XL: 'xl';
162
164
  public static SIZE_LG: 'lg';
163
165
  public static SIZE_MD: 'md';
@@ -456,6 +456,8 @@
456
456
  }
457
457
 
458
458
  .CollapsedDropdown {
459
+ display: block;
460
+
459
461
  > .dropdown-menu {
460
462
  left: auto;
461
463
  right: 0;
@@ -1,6 +1,7 @@
1
1
  @modal-outer-margin: 30px;
2
2
  @modal-inner-padding: 20px;
3
- @modal-title-padding: 15px;
3
+ @modal-title-y-padding: 15px;
4
+ @modal-title-x-padding: 20px;
4
5
  @modal-content-bg: var(--color-white);
5
6
  @modal-content-border-color: var(--gray-light);
6
7
  @modal-backdrop-bg: var(--always-color-black);
@@ -40,7 +41,6 @@ body {
40
41
  top: 0;
41
42
  width: 100% !important;
42
43
  z-index: @zindex-modal;
43
- backdrop-filter: blur(1px);
44
44
 
45
45
  // When fading in the modal, animate it to slide down
46
46
  &.fade .modal-dialog {
@@ -134,7 +134,6 @@ body {
134
134
  border-bottom: 1px solid @modal-header-border-color;
135
135
  display: flex;
136
136
  justify-content: space-between;
137
- padding: @modal-title-padding;
138
137
  padding: 0;
139
138
  position: relative;
140
139
  z-index: 1;
@@ -146,7 +145,7 @@ body {
146
145
  float: left;
147
146
  font-weight: @font-light;
148
147
  justify-content: center;
149
- padding: 15px;
148
+ padding: @modal-title-y-padding @modal-title-x-padding;
150
149
  width: calc(~'100% - 60px');
151
150
  word-break: break-word;
152
151
 
@@ -251,16 +250,12 @@ body {
251
250
  width: @modal-xl;
252
251
  }
253
252
 
254
- &.modal-full {
255
- width: calc(~'100vw - @{modal-outer-margin} * 2');
256
- }
257
-
258
- &.modal-fullscreen {
253
+ &.modal-fullscreen, &.modal-full, &.modal-full-width {
259
254
  width: calc(~'100vw - @{modal-outer-margin} * 2');
260
255
  }
261
256
  }
262
257
 
263
- &.modal-fullscreen {
258
+ &.modal-fullscreen, &.modal-full-height {
264
259
  .modal-content {
265
260
  height: calc(~'100vh - (@{modal-outer-margin} * 2)'); // --vh fallback
266
261
  height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 2)');
@@ -275,6 +270,7 @@ body {
275
270
  .modal-body {
276
271
  flex: 1 1 0; // instead "auto" we 0 for safari
277
272
  position: relative;
273
+ overflow-y: auto;
278
274
 
279
275
  .iframe-wrapper {
280
276
  overflow: hidden;
@@ -303,12 +299,6 @@ body {
303
299
  .modal-body {
304
300
  overflow-y: auto;
305
301
 
306
- // &:after {
307
- // content: '';
308
- // display: block;
309
- // height: 30px;
310
- // }
311
-
312
302
  &.no-overflow-gradient {
313
303
  + .modal-footer:before {
314
304
  display: none;
@@ -350,13 +340,12 @@ body {
350
340
  // Fade for backdrop
351
341
  &.fade { opacity: 0 }
352
342
  &.in { opacity: 0.5 }
353
- }
354
343
 
355
- &.backdrop-blured .modal-backdrop {
344
+ // Bluring
356
345
  @supports ((-webkit-backdrop-filter: blur()) or (backdrop-filter: blur())) {
357
346
  opacity: 0.99;
358
- background-color: .hsla(@always-color-black-hsl, 0.3)[@result];
359
- backdrop-filter: blur(5px);
347
+ background-color: .hsla(@always-color-black-hsl, 0.5)[@result];
348
+ backdrop-filter: blur(1px);
360
349
  }
361
350
  }
362
351
 
@@ -423,7 +412,8 @@ body {
423
412
 
424
413
  .modal-lg &,
425
414
  .modal-xl &,
426
- .modal-full & {
415
+ .modal-full &,
416
+ .modal-full-width & {
427
417
  @media (min-width: @splitWrapperBreakpoint) {
428
418
  width: 20%;
429
419
  }
@@ -456,7 +446,8 @@ body {
456
446
 
457
447
  .modal-lg &,
458
448
  .modal-xl &,
459
- .modal-full & {
449
+ .modal-full &,
450
+ .modal-full-width & {
460
451
  @media (min-width: @splitWrapperBreakpoint) {
461
452
  max-width: 80%;
462
453
  }
@@ -464,7 +455,7 @@ body {
464
455
  }
465
456
  }
466
457
 
467
- /* Animation classes for dialogs triggered by "react-transition-group" component */
458
+ // Animation classes for dialogs triggered by "react-transition-group" component
468
459
  .modal-enter {
469
460
  .modal-content {
470
461
  display: block;
@@ -501,4 +492,26 @@ body {
501
492
  .modal-backdrop {
502
493
  opacity: 0;
503
494
  }
504
- }
495
+ }
496
+
497
+ // modal-body atomic vh classes for iframes with unknown height
498
+ // .modal-body {
499
+ // &.height-100vh {
500
+ // height: calc(~"var(--vh, 1vh) * 100 - 190px") !important;
501
+
502
+ // @media (max-width: @modal-sm) {
503
+ // height: calc(~"var(--vh, 1vh) * 100 - 170px") !important;
504
+ // }
505
+ // }
506
+
507
+ // // no modal-footer version
508
+ // &:last-child {
509
+ // &.height-100vh {
510
+ // height: calc(~"var(--vh, 1vh) * 100 - 120px") !important;
511
+
512
+ // @media (max-width: @modal-sm) {
513
+ // height: calc(~"var(--vh, 1vh) * 100 - 90px") !important;
514
+ // }
515
+ // }
516
+ // }
517
+ // }
package/lib/es/types.ts CHANGED
@@ -277,7 +277,7 @@ export interface BarChartProps {
277
277
 
278
278
  export type bsStyle = 'default' | 'primary' | 'info' | 'warning' | 'danger' | 'success' | 'link';
279
279
 
280
- export type bsSizeDialog = 'sm' | 'md' | 'lg' | 'xl' | 'full' | 'fullscreen';
280
+ export type bsSizeDialog = 'sm' | 'md' | 'lg' | 'xl' | 'full' | 'fullwidth' | 'fullheight' | 'fullscreen';
281
281
 
282
282
  export type bsSize = 'xs' | 'sm' | 'lg';
283
283
 
@@ -1551,7 +1551,7 @@ export interface SelectProps {
1551
1551
  useClear?: boolean;
1552
1552
  noItemMessage?: string | React.ReactNode;
1553
1553
  showSelectedItemIcon?: boolean;
1554
- showUnselectedIdemIcons?: boolean;
1554
+ showUnselectedItemIcons?: boolean;
1555
1555
  value?: string[] | undefined;
1556
1556
  className?: string;
1557
1557
  btnClassName?: string;
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.16.2"
2
+ "version": "0.16.3-beta.2"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rio-cloud/rio-uikit",
3
- "version": "0.16.2",
3
+ "version": "0.16.3-beta.2",
4
4
  "description": "The RIO UIKIT component library",
5
5
  "repository": "https://collaboration.msi.audi.com/stash/projects/RIOFRONT/repos/uikit-web/browse",
6
6
  "scripts": {
@@ -456,6 +456,8 @@
456
456
  }
457
457
 
458
458
  .CollapsedDropdown {
459
+ display: block;
460
+
459
461
  > .dropdown-menu {
460
462
  left: auto;
461
463
  right: 0;
@@ -1,6 +1,7 @@
1
1
  @modal-outer-margin: 30px;
2
2
  @modal-inner-padding: 20px;
3
- @modal-title-padding: 15px;
3
+ @modal-title-y-padding: 15px;
4
+ @modal-title-x-padding: 20px;
4
5
  @modal-content-bg: var(--color-white);
5
6
  @modal-content-border-color: var(--gray-light);
6
7
  @modal-backdrop-bg: var(--always-color-black);
@@ -40,7 +41,6 @@ body {
40
41
  top: 0;
41
42
  width: 100% !important;
42
43
  z-index: @zindex-modal;
43
- backdrop-filter: blur(1px);
44
44
 
45
45
  // When fading in the modal, animate it to slide down
46
46
  &.fade .modal-dialog {
@@ -134,7 +134,6 @@ body {
134
134
  border-bottom: 1px solid @modal-header-border-color;
135
135
  display: flex;
136
136
  justify-content: space-between;
137
- padding: @modal-title-padding;
138
137
  padding: 0;
139
138
  position: relative;
140
139
  z-index: 1;
@@ -146,7 +145,7 @@ body {
146
145
  float: left;
147
146
  font-weight: @font-light;
148
147
  justify-content: center;
149
- padding: 15px;
148
+ padding: @modal-title-y-padding @modal-title-x-padding;
150
149
  width: calc(~'100% - 60px');
151
150
  word-break: break-word;
152
151
 
@@ -251,16 +250,12 @@ body {
251
250
  width: @modal-xl;
252
251
  }
253
252
 
254
- &.modal-full {
255
- width: calc(~'100vw - @{modal-outer-margin} * 2');
256
- }
257
-
258
- &.modal-fullscreen {
253
+ &.modal-fullscreen, &.modal-full, &.modal-full-width {
259
254
  width: calc(~'100vw - @{modal-outer-margin} * 2');
260
255
  }
261
256
  }
262
257
 
263
- &.modal-fullscreen {
258
+ &.modal-fullscreen, &.modal-full-height {
264
259
  .modal-content {
265
260
  height: calc(~'100vh - (@{modal-outer-margin} * 2)'); // --vh fallback
266
261
  height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 2)');
@@ -275,6 +270,7 @@ body {
275
270
  .modal-body {
276
271
  flex: 1 1 0; // instead "auto" we 0 for safari
277
272
  position: relative;
273
+ overflow-y: auto;
278
274
 
279
275
  .iframe-wrapper {
280
276
  overflow: hidden;
@@ -303,12 +299,6 @@ body {
303
299
  .modal-body {
304
300
  overflow-y: auto;
305
301
 
306
- // &:after {
307
- // content: '';
308
- // display: block;
309
- // height: 30px;
310
- // }
311
-
312
302
  &.no-overflow-gradient {
313
303
  + .modal-footer:before {
314
304
  display: none;
@@ -350,13 +340,12 @@ body {
350
340
  // Fade for backdrop
351
341
  &.fade { opacity: 0 }
352
342
  &.in { opacity: 0.5 }
353
- }
354
343
 
355
- &.backdrop-blured .modal-backdrop {
344
+ // Bluring
356
345
  @supports ((-webkit-backdrop-filter: blur()) or (backdrop-filter: blur())) {
357
346
  opacity: 0.99;
358
- background-color: .hsla(@always-color-black-hsl, 0.3)[@result];
359
- backdrop-filter: blur(5px);
347
+ background-color: .hsla(@always-color-black-hsl, 0.5)[@result];
348
+ backdrop-filter: blur(1px);
360
349
  }
361
350
  }
362
351
 
@@ -423,7 +412,8 @@ body {
423
412
 
424
413
  .modal-lg &,
425
414
  .modal-xl &,
426
- .modal-full & {
415
+ .modal-full &,
416
+ .modal-full-width & {
427
417
  @media (min-width: @splitWrapperBreakpoint) {
428
418
  width: 20%;
429
419
  }
@@ -456,7 +446,8 @@ body {
456
446
 
457
447
  .modal-lg &,
458
448
  .modal-xl &,
459
- .modal-full & {
449
+ .modal-full &,
450
+ .modal-full-width & {
460
451
  @media (min-width: @splitWrapperBreakpoint) {
461
452
  max-width: 80%;
462
453
  }
@@ -464,7 +455,7 @@ body {
464
455
  }
465
456
  }
466
457
 
467
- /* Animation classes for dialogs triggered by "react-transition-group" component */
458
+ // Animation classes for dialogs triggered by "react-transition-group" component
468
459
  .modal-enter {
469
460
  .modal-content {
470
461
  display: block;
@@ -501,4 +492,26 @@ body {
501
492
  .modal-backdrop {
502
493
  opacity: 0;
503
494
  }
504
- }
495
+ }
496
+
497
+ // modal-body atomic vh classes for iframes with unknown height
498
+ // .modal-body {
499
+ // &.height-100vh {
500
+ // height: calc(~"var(--vh, 1vh) * 100 - 190px") !important;
501
+
502
+ // @media (max-width: @modal-sm) {
503
+ // height: calc(~"var(--vh, 1vh) * 100 - 170px") !important;
504
+ // }
505
+ // }
506
+
507
+ // // no modal-footer version
508
+ // &:last-child {
509
+ // &.height-100vh {
510
+ // height: calc(~"var(--vh, 1vh) * 100 - 120px") !important;
511
+
512
+ // @media (max-width: @modal-sm) {
513
+ // height: calc(~"var(--vh, 1vh) * 100 - 90px") !important;
514
+ // }
515
+ // }
516
+ // }
517
+ // }
package/types.ts CHANGED
@@ -277,7 +277,7 @@ export interface BarChartProps {
277
277
 
278
278
  export type bsStyle = 'default' | 'primary' | 'info' | 'warning' | 'danger' | 'success' | 'link';
279
279
 
280
- export type bsSizeDialog = 'sm' | 'md' | 'lg' | 'xl' | 'full' | 'fullscreen';
280
+ export type bsSizeDialog = 'sm' | 'md' | 'lg' | 'xl' | 'full' | 'fullwidth' | 'fullheight' | 'fullscreen';
281
281
 
282
282
  export type bsSize = 'xs' | 'sm' | 'lg';
283
283
 
@@ -1551,7 +1551,7 @@ export interface SelectProps {
1551
1551
  useClear?: boolean;
1552
1552
  noItemMessage?: string | React.ReactNode;
1553
1553
  showSelectedItemIcon?: boolean;
1554
- showUnselectedIdemIcons?: boolean;
1554
+ showUnselectedItemIcons?: boolean;
1555
1555
  value?: string[] | undefined;
1556
1556
  className?: string;
1557
1557
  btnClassName?: string;
package/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.16.2"
2
+ "version": "0.16.3-beta.2"
3
3
  }
@@ -1,165 +0,0 @@
1
- [class*="divider-y"] > :not([hidden]) ~ :not([hidden]) {
2
- border-bottom-width: 0;
3
- border-top-style: solid;
4
- }
5
-
6
- [class*="divider-x"] > :not([hidden]) ~ :not([hidden]) {
7
- border-right-width: 0;
8
- border-left-style: solid;
9
- }
10
-
11
- .divider-y-1 {
12
- &> :not([hidden]) ~ :not([hidden]) {
13
- border-top-width: 1px;
14
- }
15
- }
16
-
17
- .divider-y-2 > :not([hidden]) ~ :not([hidden]) {
18
- border-top-width: 2px;
19
- }
20
-
21
- .divider-y-3 > :not([hidden]) ~ :not([hidden]) {
22
- border-top-width: 3px;
23
- }
24
-
25
- .divider-x-1 {
26
- &> :not([hidden]) ~ :not([hidden]) {
27
- border-left-width: 1px;
28
- }
29
- }
30
-
31
- .divider-x-2 > :not([hidden]) ~ :not([hidden]) {
32
- border-left-width: 2px;
33
- }
34
-
35
- .divider-x-3 > :not([hidden]) ~ :not([hidden]) {
36
- border-left-width: 3px;
37
- }
38
-
39
- // coloring
40
-
41
- .divider-color {
42
- // white
43
- // black
44
- each(@colors-text-map, {
45
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
46
- border-color: @value !important;
47
- }
48
- })
49
-
50
- // primary
51
- // secondary
52
- each(@colors-brand-map, {
53
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
54
- border-color: @value !important;
55
- }
56
- })
57
-
58
- // info
59
- // success
60
- // warning
61
- // danger
62
- each(@colors-status-map, {
63
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
64
- border-color: @value !important;
65
- }
66
- })
67
-
68
- // darkest
69
- // darker
70
- // dark
71
- // gray
72
- // light
73
- // lighter
74
- // lightest
75
- each(@colors-gray-map, {
76
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
77
- border-color: @value !important;
78
- }
79
- })
80
-
81
- // map-marker-asset
82
- // map-marker-poi
83
- // map-marker-geofence
84
- // map-marker-route
85
- each(@colors-map-marker-map, {
86
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
87
- border-color: @value !important;
88
- }
89
- })
90
-
91
- each(@colors-map-marker-night-map, {
92
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
93
- border-color: @value !important;
94
- }
95
- })
96
-
97
- // rating-1
98
- // rating-2
99
- // rating-3
100
- // rating-4
101
- // rating-5
102
- each(@colors-rating-map, {
103
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
104
- border-color: @value !important;
105
- }
106
- })
107
-
108
- // status-available
109
- // status-driving
110
- // status-resting
111
- // status-working
112
- each(@colors-driving-status-map, {
113
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
114
- border-color: @value !important;
115
- }
116
- })
117
-
118
- // highlight-darkest
119
- // highlight-darker
120
- // highlight-dark
121
- // highlight
122
- // highlight-light
123
- // highlight-lighter
124
- // highlight-lightest
125
- // highlight-decent
126
- each(@colors-highlight-map, {
127
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
128
- border-color: @value !important;
129
- }
130
- })
131
-
132
- // coldplay-wine
133
- // coldplay-aubergine
134
- // coldplay-kashmir
135
- // coldplay-fountain
136
- // coldplay-turquoise
137
- // coldplay-bermuda
138
- // coldplay-moos
139
- // coldplay-primrose
140
- // coldplay-khaki
141
- // & when (@buildColdplayColors = true) {
142
- // each(@colors-coldplay-map, {
143
- // &-@{key} > :not([hidden]) ~ :not([hidden]) {
144
- // border-color: @value !important;
145
- // }
146
- // })
147
- // }
148
-
149
- // warmup-crimson
150
- // warmup-victoria
151
- // warmup-cadillac
152
- // warmup-raspberry
153
- // warmup-cerise
154
- // warmup-charm
155
- // warmup-salmon
156
- // warmup-cherokee
157
- // warmup-corn
158
- // & when (@buildWarmupColors = true) {
159
- // each(@colors-warmup-map, {
160
- // &-@{key} > :not([hidden]) ~ :not([hidden]) {
161
- // border-color: @value !important;
162
- // }
163
- // })
164
- // }
165
- }
@@ -1,165 +0,0 @@
1
- [class*="divider-y"] > :not([hidden]) ~ :not([hidden]) {
2
- border-bottom-width: 0;
3
- border-top-style: solid;
4
- }
5
-
6
- [class*="divider-x"] > :not([hidden]) ~ :not([hidden]) {
7
- border-right-width: 0;
8
- border-left-style: solid;
9
- }
10
-
11
- .divider-y-1 {
12
- &> :not([hidden]) ~ :not([hidden]) {
13
- border-top-width: 1px;
14
- }
15
- }
16
-
17
- .divider-y-2 > :not([hidden]) ~ :not([hidden]) {
18
- border-top-width: 2px;
19
- }
20
-
21
- .divider-y-3 > :not([hidden]) ~ :not([hidden]) {
22
- border-top-width: 3px;
23
- }
24
-
25
- .divider-x-1 {
26
- &> :not([hidden]) ~ :not([hidden]) {
27
- border-left-width: 1px;
28
- }
29
- }
30
-
31
- .divider-x-2 > :not([hidden]) ~ :not([hidden]) {
32
- border-left-width: 2px;
33
- }
34
-
35
- .divider-x-3 > :not([hidden]) ~ :not([hidden]) {
36
- border-left-width: 3px;
37
- }
38
-
39
- // coloring
40
-
41
- .divider-color {
42
- // white
43
- // black
44
- each(@colors-text-map, {
45
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
46
- border-color: @value !important;
47
- }
48
- })
49
-
50
- // primary
51
- // secondary
52
- each(@colors-brand-map, {
53
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
54
- border-color: @value !important;
55
- }
56
- })
57
-
58
- // info
59
- // success
60
- // warning
61
- // danger
62
- each(@colors-status-map, {
63
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
64
- border-color: @value !important;
65
- }
66
- })
67
-
68
- // darkest
69
- // darker
70
- // dark
71
- // gray
72
- // light
73
- // lighter
74
- // lightest
75
- each(@colors-gray-map, {
76
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
77
- border-color: @value !important;
78
- }
79
- })
80
-
81
- // map-marker-asset
82
- // map-marker-poi
83
- // map-marker-geofence
84
- // map-marker-route
85
- each(@colors-map-marker-map, {
86
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
87
- border-color: @value !important;
88
- }
89
- })
90
-
91
- each(@colors-map-marker-night-map, {
92
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
93
- border-color: @value !important;
94
- }
95
- })
96
-
97
- // rating-1
98
- // rating-2
99
- // rating-3
100
- // rating-4
101
- // rating-5
102
- each(@colors-rating-map, {
103
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
104
- border-color: @value !important;
105
- }
106
- })
107
-
108
- // status-available
109
- // status-driving
110
- // status-resting
111
- // status-working
112
- each(@colors-driving-status-map, {
113
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
114
- border-color: @value !important;
115
- }
116
- })
117
-
118
- // highlight-darkest
119
- // highlight-darker
120
- // highlight-dark
121
- // highlight
122
- // highlight-light
123
- // highlight-lighter
124
- // highlight-lightest
125
- // highlight-decent
126
- each(@colors-highlight-map, {
127
- &-@{key} > :not([hidden]) ~ :not([hidden]) {
128
- border-color: @value !important;
129
- }
130
- })
131
-
132
- // coldplay-wine
133
- // coldplay-aubergine
134
- // coldplay-kashmir
135
- // coldplay-fountain
136
- // coldplay-turquoise
137
- // coldplay-bermuda
138
- // coldplay-moos
139
- // coldplay-primrose
140
- // coldplay-khaki
141
- // & when (@buildColdplayColors = true) {
142
- // each(@colors-coldplay-map, {
143
- // &-@{key} > :not([hidden]) ~ :not([hidden]) {
144
- // border-color: @value !important;
145
- // }
146
- // })
147
- // }
148
-
149
- // warmup-crimson
150
- // warmup-victoria
151
- // warmup-cadillac
152
- // warmup-raspberry
153
- // warmup-cerise
154
- // warmup-charm
155
- // warmup-salmon
156
- // warmup-cherokee
157
- // warmup-corn
158
- // & when (@buildWarmupColors = true) {
159
- // each(@colors-warmup-map, {
160
- // &-@{key} > :not([hidden]) ~ :not([hidden]) {
161
- // border-color: @value !important;
162
- // }
163
- // })
164
- // }
165
- }