@ptsecurity/mosaic 12.2.2 → 12.3.0

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.
Files changed (60) hide show
  1. package/_theming.scss +14 -150
  2. package/bundles/ptsecurity-mosaic-button.umd.js +2 -2
  3. package/bundles/ptsecurity-mosaic-core.umd.js +0 -2
  4. package/bundles/ptsecurity-mosaic-core.umd.js.map +1 -1
  5. package/bundles/ptsecurity-mosaic-datepicker.umd.js +8 -1
  6. package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
  7. package/bundles/ptsecurity-mosaic-form-field.umd.js +2 -2
  8. package/bundles/ptsecurity-mosaic-form-field.umd.js.map +1 -1
  9. package/bundles/ptsecurity-mosaic-list.umd.js +14 -19
  10. package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
  11. package/bundles/ptsecurity-mosaic-popover.umd.js +2 -2
  12. package/bundles/ptsecurity-mosaic-popover.umd.js.map +1 -1
  13. package/bundles/ptsecurity-mosaic-splitter.umd.js +217 -30
  14. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +1 -1
  15. package/bundles/ptsecurity-mosaic-tags.umd.js +52 -47
  16. package/bundles/ptsecurity-mosaic-tags.umd.js.map +1 -1
  17. package/bundles/ptsecurity-mosaic-tree-select.umd.js +1 -0
  18. package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +1 -1
  19. package/bundles/ptsecurity-mosaic-tree.umd.js +3 -3
  20. package/bundles/ptsecurity-mosaic-tree.umd.js.map +1 -1
  21. package/esm2015/button/button.component.js +2 -2
  22. package/esm2015/core/pop-up/pop-up-trigger.js +1 -3
  23. package/esm2015/datepicker/datepicker-input.directive.js +9 -2
  24. package/esm2015/form-field/cleaner.js +3 -3
  25. package/esm2015/list/list-selection.component.js +15 -20
  26. package/esm2015/popover/popover-confirm.component.js +2 -2
  27. package/esm2015/popover/popover.component.js +2 -2
  28. package/esm2015/splitter/splitter.component.js +179 -32
  29. package/esm2015/splitter/splitter.module.js +4 -2
  30. package/esm2015/tags/tag.component.js +51 -48
  31. package/esm2015/tree/toggle.js +3 -3
  32. package/esm2015/tree/tree-option.component.js +2 -2
  33. package/esm2015/tree-select/tree-select.component.js +2 -1
  34. package/fesm2015/ptsecurity-mosaic-button.js +2 -2
  35. package/fesm2015/ptsecurity-mosaic-core.js +0 -2
  36. package/fesm2015/ptsecurity-mosaic-core.js.map +1 -1
  37. package/fesm2015/ptsecurity-mosaic-datepicker.js +8 -1
  38. package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
  39. package/fesm2015/ptsecurity-mosaic-form-field.js +2 -2
  40. package/fesm2015/ptsecurity-mosaic-form-field.js.map +1 -1
  41. package/fesm2015/ptsecurity-mosaic-list.js +14 -19
  42. package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
  43. package/fesm2015/ptsecurity-mosaic-popover.js +2 -2
  44. package/fesm2015/ptsecurity-mosaic-popover.js.map +1 -1
  45. package/fesm2015/ptsecurity-mosaic-splitter.js +181 -32
  46. package/fesm2015/ptsecurity-mosaic-splitter.js.map +1 -1
  47. package/fesm2015/ptsecurity-mosaic-tags.js +50 -47
  48. package/fesm2015/ptsecurity-mosaic-tags.js.map +1 -1
  49. package/fesm2015/ptsecurity-mosaic-tree-select.js +1 -0
  50. package/fesm2015/ptsecurity-mosaic-tree-select.js.map +1 -1
  51. package/fesm2015/ptsecurity-mosaic-tree.js +3 -3
  52. package/fesm2015/ptsecurity-mosaic-tree.js.map +1 -1
  53. package/package.json +4 -4
  54. package/prebuilt-themes/dark-theme.css +1 -1
  55. package/prebuilt-themes/default-theme.css +1 -1
  56. package/splitter/splitter.component.d.ts +41 -3
  57. package/splitter/splitter.module.d.ts +1 -1
  58. package/tags/tag.component.d.ts +20 -20
  59. package/tree/toggle.d.ts +1 -1
  60. package/tree/tree-option.component.d.ts +1 -1
package/_theming.scss CHANGED
@@ -1,4 +1,6 @@
1
1
  // Import all the theming
2
+ @use '../../../node_modules/@angular/cdk/overlay/index' as overlay;
3
+
2
4
  @keyframes mc-progress {
3
5
  from {
4
6
  background-position: 0 0;
@@ -2218,149 +2220,6 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
2218
2220
  }
2219
2221
  }
2220
2222
 
2221
- // We want overlays to always appear over user content, so set a baseline
2222
- // very high z-index for the overlay container, which is where we create the new
2223
- // stacking context for all overlays.
2224
- $overlay-container-z-index: 1000 !default;
2225
- $overlay-z-index: 1000 !default;
2226
- $overlay-backdrop-z-index: 1000 !default;
2227
-
2228
- // Background color for all of the backdrops
2229
- $overlay-backdrop-color: rgba(0, 0, 0, 0.32) !default;
2230
-
2231
- // Default backdrop animation is based on the Material Design swift-ease-out.
2232
- $backdrop-animation-duration: 400ms !default;
2233
- $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2234
-
2235
- /// Emits structural styles required for cdk/overlay to function.
2236
- @mixin overlay() {
2237
- .cdk-overlay-container, .cdk-global-overlay-wrapper {
2238
- // Disable events from being captured on the overlay container.
2239
- pointer-events: none;
2240
-
2241
- // The container should be the size of the viewport.
2242
- top: 0;
2243
- left: 0;
2244
- height: 100%;
2245
- width: 100%;
2246
- }
2247
-
2248
- // The overlay-container is an invisible element which contains all individual overlays.
2249
- .cdk-overlay-container {
2250
- position: fixed;
2251
- z-index: $overlay-container-z-index;
2252
-
2253
- &:empty {
2254
- // Hide the element when it doesn't have any child nodes. This doesn't
2255
- // include overlays that have been detached, rather than disposed.
2256
- display: none;
2257
- }
2258
- }
2259
-
2260
- // We use an extra wrapper element in order to use make the overlay itself a flex item.
2261
- // This makes centering the overlay easy without running into the subpixel rendering
2262
- // problems tied to using `transform` and without interfering with the other position
2263
- // strategies.
2264
- .cdk-global-overlay-wrapper {
2265
- display: flex;
2266
- position: absolute;
2267
- z-index: $overlay-z-index;
2268
- }
2269
-
2270
- // A single overlay pane.
2271
- .cdk-overlay-pane {
2272
- // Note: it's important for this one to start off `absolute`,
2273
- // in order for us to be able to measure it correctly.
2274
- position: absolute;
2275
- pointer-events: auto;
2276
- box-sizing: border-box;
2277
- z-index: $overlay-z-index;
2278
-
2279
- // For connected-position overlays, we set `display: flex` in
2280
- // order to force `max-width` and `max-height` to take effect.
2281
- display: flex;
2282
- max-width: 100%;
2283
- max-height: 100%;
2284
- }
2285
-
2286
- .cdk-overlay-backdrop {
2287
- // TODO(jelbourn): reuse sidenav fullscreen mixin.
2288
- position: absolute;
2289
- top: 0;
2290
- bottom: 0;
2291
- left: 0;
2292
- right: 0;
2293
-
2294
- z-index: $overlay-backdrop-z-index;
2295
- pointer-events: auto;
2296
- -webkit-tap-highlight-color: transparent;
2297
- transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
2298
- opacity: 0;
2299
-
2300
- &.cdk-overlay-backdrop-showing {
2301
- opacity: 1;
2302
-
2303
- // Note that we can't import and use the `high-contrast` mixin from `_a11y.scss`, because
2304
- // this file will be copied to the top-level `cdk` package when putting together the files
2305
- // for npm. Any relative import paths we use here will become invalid once the file is copied.
2306
- .cdk-high-contrast-active & {
2307
- // In high contrast mode the rgba background will become solid
2308
- // so we need to fall back to making it opaque using `opacity`.
2309
- opacity: 0.6;
2310
- }
2311
- }
2312
- }
2313
-
2314
- .cdk-overlay-dark-backdrop {
2315
- background: $overlay-backdrop-color;
2316
- }
2317
-
2318
- .cdk-overlay-transparent-backdrop {
2319
- // Note: as of Firefox 57, having the backdrop be `background: none` will prevent it from
2320
- // capturing the user's mouse scroll events. Since we also can't use something like
2321
- // `rgba(0, 0, 0, 0)`, we work around the inconsistency by not setting the background at
2322
- // all and using `opacity` to make the element transparent.
2323
- &, &.cdk-overlay-backdrop-showing {
2324
- opacity: 0;
2325
- }
2326
- }
2327
-
2328
- // Overlay parent element used with the connected position strategy. Used to constrain the
2329
- // overlay element's size to fit within the viewport.
2330
- .cdk-overlay-connected-position-bounding-box {
2331
- position: absolute;
2332
- z-index: $overlay-z-index;
2333
-
2334
- // We use `display: flex` on this element exclusively for centering connected overlays.
2335
- // When *not* centering, a top/left/bottom/right will be set which overrides the normal
2336
- // flex layout.
2337
- display: flex;
2338
-
2339
- // We use the `column` direction here to avoid some flexbox issues in Edge
2340
- // when using the "grow after open" options.
2341
- flex-direction: column;
2342
-
2343
- // Add some dimensions so the element has an `innerText` which some people depend on in tests.
2344
- min-width: 1px;
2345
- min-height: 1px;
2346
- }
2347
-
2348
- // Used when disabling global scrolling.
2349
- .cdk-global-scrollblock {
2350
- position: fixed;
2351
-
2352
- // Necessary for the content not to lose its width. Note that we're using 100%, instead of
2353
- // 100vw, because 100vw includes the width plus the scrollbar, whereas 100% is the width
2354
- // that the element had before we made it `fixed`.
2355
- width: 100%;
2356
-
2357
- // Note: this will always add a scrollbar to whatever element it is on, which can
2358
- // potentially result in double scrollbars. It shouldn't be an issue, because we won't
2359
- // block scrolling on a page that doesn't have a scrollbar in the first place.
2360
- overflow-y: scroll;
2361
- }
2362
- }
2363
-
2364
2223
 
2365
2224
 
2366
2225
 
@@ -6054,7 +5913,7 @@ $mc-datepicker-today-fade-amount: 0.2;
6054
5913
  @mixin mc-core($typography-config: null) {
6055
5914
  @include mosaic-typography($typography-config);
6056
5915
  @include cdk-a11y();
6057
- @include cdk-overlay();
5916
+ @include overlay.overlay();
6058
5917
  }
6059
5918
 
6060
5919
  // Mixin that renders all of the core styles that depend on the theme.
@@ -6338,6 +6197,10 @@ $mc-datepicker-today-fade-amount: 0.2;
6338
6197
  cursor: default;
6339
6198
  }
6340
6199
  }
6200
+
6201
+ .mc-gutter-ghost {
6202
+ background: mc-color($background, overlay-disabled);
6203
+ }
6341
6204
  }
6342
6205
 
6343
6206
 
@@ -6354,12 +6217,12 @@ $mc-datepicker-today-fade-amount: 0.2;
6354
6217
  & > td {
6355
6218
  padding: {
6356
6219
  top: var(--mc-table-size-row-padding-vertical, $table-size-row-padding-vertical);
6357
- right: (var(--mc-table-size-row-padding-horizontal, $table-size-row-padding-horizontal) / 2);
6220
+ right: calc((var(--mc-table-size-row-padding-horizontal, $table-size-row-padding-horizontal) / 2));
6358
6221
  bottom: (
6359
- var(--mc-table-size-row-padding-vertical, $table-size-row-padding-vertical) -
6360
- var(--mc-table-size-border-width, $table-size-border-width)
6222
+ calc(var(--mc-table-size-row-padding-vertical, $table-size-row-padding-vertical) -
6223
+ var(--mc-table-size-border-width, $table-size-border-width))
6361
6224
  );
6362
- left: (var(--mc-table-size-row-padding-horizontal, $table-size-row-padding-horizontal) / 2)
6225
+ left: calc((var(--mc-table-size-row-padding-horizontal, $table-size-row-padding-horizontal) / 2))
6363
6226
  };
6364
6227
 
6365
6228
  vertical-align: baseline;
@@ -6384,8 +6247,8 @@ $mc-datepicker-today-fade-amount: 0.2;
6384
6247
  padding: {
6385
6248
  top: var(--mc-table-size-row-padding-vertical, $table-size-row-padding-vertical);
6386
6249
  bottom: (
6387
- var(--mc-table-size-row-padding-vertical, $table-size-row-padding-vertical) -
6388
- var(--mc-table-size-border-width, $table-size-border-width)
6250
+ calc(var(--mc-table-size-row-padding-vertical, $table-size-row-padding-vertical) -
6251
+ var(--mc-table-size-border-width, $table-size-border-width))
6389
6252
  );
6390
6253
  }
6391
6254
 
@@ -6399,6 +6262,7 @@ $mc-datepicker-today-fade-amount: 0.2;
6399
6262
  border-bottom: var(--mc-table-size-border-width, $table-size-border-width) solid transparent;
6400
6263
  }
6401
6264
  }
6265
+
6402
6266
  /* stylelint-enable no-descending-specificity */
6403
6267
  }
6404
6268
 
@@ -430,7 +430,7 @@
430
430
  return McButton;
431
431
  }(McButtonMixinBase));
432
432
  /** @nocollapse */ McButton.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McButton, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace.FocusMonitor }], target: i0__namespace.ɵɵFactoryTarget.Component });
433
- /** @nocollapse */ McButton.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McButton, selector: "button[mc-button]", inputs: { disabled: "disabled", color: "color" }, host: { properties: { "attr.disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"mc-button-wrapper\">\n <ng-content></ng-content>\n</div>\n<div class=\"mc-button-overlay\"></div>\n", styles: [".mc-icon-button,.mc-light-button,.mc-button{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;position:relative;box-sizing:border-box;display:inline-block;white-space:nowrap;text-decoration:none;text-align:center;vertical-align:baseline;border:1px solid transparent;border:var(--mc-button-size-border-width, 1px) solid transparent;border-radius:3px;border-radius:var(--mc-button-size-border-radius, 3px)}.mc-icon-button::-moz-focus-inner,.mc-light-button::-moz-focus-inner,.mc-button::-moz-focus-inner{border:0}.mc-icon-button:focus,.mc-light-button:focus,.mc-button:focus{outline:none}[disabled].mc-icon-button,[disabled].mc-light-button,[disabled].mc-button{pointer-events:none;cursor:default}.cdk-focused.mc-icon-button,.cdk-focused.mc-light-button,.cdk-focused.mc-button{z-index:1}.mc-button{padding:calc(6px - 1px) calc(16px - 1px);padding:calc(var(--mc-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-button-size-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button{padding:calc(6px - 1px) calc(8px - 1px);padding:calc(var(--mc-icon-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-icon-button-size-horizontal-padding, 8px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_left{padding-right:calc(16px - 1px);padding-right:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_right{padding-left:calc(16px - 1px);padding-left:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button .mc-button-wrapper{display:flex}.mc-icon-button .mc-button-wrapper .mc-icon{margin:auto;line-height:20px}.mc-icon-button .mc-button-wrapper .mc-icon_left{margin-right:8px;margin-right:var(--mc-icon-button-size-icon-padding, 8px)}.mc-icon-button .mc-button-wrapper .mc-icon_right{margin-left:8px;margin-left:var(--mc-icon-button-size-icon-padding, 8px)}.mc-button-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
433
+ /** @nocollapse */ McButton.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McButton, selector: "button[mc-button]", inputs: { disabled: "disabled", color: "color" }, host: { properties: { "attr.disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"mc-button-wrapper\">\n <ng-content></ng-content>\n</div>\n<div class=\"mc-button-overlay\"></div>\n", styles: [".mc-icon-button,.mc-light-button,.mc-button{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;position:relative;box-sizing:border-box;display:inline-block;margin:0;white-space:nowrap;text-decoration:none;text-align:center;vertical-align:baseline;border:1px solid transparent;border:var(--mc-button-size-border-width, 1px) solid transparent;border-radius:3px;border-radius:var(--mc-button-size-border-radius, 3px)}.mc-icon-button::-moz-focus-inner,.mc-light-button::-moz-focus-inner,.mc-button::-moz-focus-inner{border:0}.mc-icon-button:focus,.mc-light-button:focus,.mc-button:focus{outline:none}[disabled].mc-icon-button,[disabled].mc-light-button,[disabled].mc-button{pointer-events:none;cursor:default}.cdk-focused.mc-icon-button,.cdk-focused.mc-light-button,.cdk-focused.mc-button{z-index:1}.mc-button{padding:calc(6px - 1px) calc(16px - 1px);padding:calc(var(--mc-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-button-size-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button{padding:calc(6px - 1px) calc(8px - 1px);padding:calc(var(--mc-icon-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-icon-button-size-horizontal-padding, 8px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_left{padding-right:calc(16px - 1px);padding-right:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_right{padding-left:calc(16px - 1px);padding-left:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button .mc-button-wrapper{display:flex}.mc-icon-button .mc-button-wrapper .mc-icon{margin:auto;line-height:20px}.mc-icon-button .mc-button-wrapper .mc-icon_left{margin-right:8px;margin-right:var(--mc-icon-button-size-icon-padding, 8px)}.mc-icon-button .mc-button-wrapper .mc-icon_right{margin-left:8px;margin-left:var(--mc-icon-button-size-icon-padding, 8px)}.mc-button-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
434
434
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McButton, decorators: [{
435
435
  type: i0.Component,
436
436
  args: [{
@@ -459,7 +459,7 @@
459
459
  return McAnchor;
460
460
  }(McButton));
461
461
  /** @nocollapse */ McAnchor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McAnchor, deps: [{ token: i1__namespace.FocusMonitor }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
462
- /** @nocollapse */ McAnchor.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McAnchor, selector: "a[mc-button]", inputs: { disabled: "disabled", color: "color", tabIndex: "tabIndex" }, host: { listeners: { "click": "haltDisabledEvents($event)" }, properties: { "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"mc-button-wrapper\">\n <ng-content></ng-content>\n</div>\n<div class=\"mc-button-overlay\"></div>\n", styles: [".mc-icon-button,.mc-light-button,.mc-button{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;position:relative;box-sizing:border-box;display:inline-block;white-space:nowrap;text-decoration:none;text-align:center;vertical-align:baseline;border:1px solid transparent;border:var(--mc-button-size-border-width, 1px) solid transparent;border-radius:3px;border-radius:var(--mc-button-size-border-radius, 3px)}.mc-icon-button::-moz-focus-inner,.mc-light-button::-moz-focus-inner,.mc-button::-moz-focus-inner{border:0}.mc-icon-button:focus,.mc-light-button:focus,.mc-button:focus{outline:none}[disabled].mc-icon-button,[disabled].mc-light-button,[disabled].mc-button{pointer-events:none;cursor:default}.cdk-focused.mc-icon-button,.cdk-focused.mc-light-button,.cdk-focused.mc-button{z-index:1}.mc-button{padding:calc(6px - 1px) calc(16px - 1px);padding:calc(var(--mc-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-button-size-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button{padding:calc(6px - 1px) calc(8px - 1px);padding:calc(var(--mc-icon-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-icon-button-size-horizontal-padding, 8px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_left{padding-right:calc(16px - 1px);padding-right:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_right{padding-left:calc(16px - 1px);padding-left:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button .mc-button-wrapper{display:flex}.mc-icon-button .mc-button-wrapper .mc-icon{margin:auto;line-height:20px}.mc-icon-button .mc-button-wrapper .mc-icon_left{margin-right:8px;margin-right:var(--mc-icon-button-size-icon-padding, 8px)}.mc-icon-button .mc-button-wrapper .mc-icon_right{margin-left:8px;margin-left:var(--mc-icon-button-size-icon-padding, 8px)}.mc-button-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
462
+ /** @nocollapse */ McAnchor.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McAnchor, selector: "a[mc-button]", inputs: { disabled: "disabled", color: "color", tabIndex: "tabIndex" }, host: { listeners: { "click": "haltDisabledEvents($event)" }, properties: { "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"mc-button-wrapper\">\n <ng-content></ng-content>\n</div>\n<div class=\"mc-button-overlay\"></div>\n", styles: [".mc-icon-button,.mc-light-button,.mc-button{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;position:relative;box-sizing:border-box;display:inline-block;margin:0;white-space:nowrap;text-decoration:none;text-align:center;vertical-align:baseline;border:1px solid transparent;border:var(--mc-button-size-border-width, 1px) solid transparent;border-radius:3px;border-radius:var(--mc-button-size-border-radius, 3px)}.mc-icon-button::-moz-focus-inner,.mc-light-button::-moz-focus-inner,.mc-button::-moz-focus-inner{border:0}.mc-icon-button:focus,.mc-light-button:focus,.mc-button:focus{outline:none}[disabled].mc-icon-button,[disabled].mc-light-button,[disabled].mc-button{pointer-events:none;cursor:default}.cdk-focused.mc-icon-button,.cdk-focused.mc-light-button,.cdk-focused.mc-button{z-index:1}.mc-button{padding:calc(6px - 1px) calc(16px - 1px);padding:calc(var(--mc-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-button-size-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button{padding:calc(6px - 1px) calc(8px - 1px);padding:calc(var(--mc-icon-button-size-vertical-padding, 6px) - var(--mc-button-size-border-width, 1px)) calc(var(--mc-icon-button-size-horizontal-padding, 8px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_left{padding-right:calc(16px - 1px);padding-right:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button.mc-icon-button_right{padding-left:calc(16px - 1px);padding-left:calc(var(--mc-icon-button-size-icon-horizontal-padding, 16px) - var(--mc-button-size-border-width, 1px))}.mc-icon-button .mc-button-wrapper{display:flex}.mc-icon-button .mc-button-wrapper .mc-icon{margin:auto;line-height:20px}.mc-icon-button .mc-button-wrapper .mc-icon_left{margin-right:8px;margin-right:var(--mc-icon-button-size-icon-padding, 8px)}.mc-icon-button .mc-button-wrapper .mc-icon_right{margin-left:8px;margin-left:var(--mc-icon-button-size-icon-padding, 8px)}.mc-button-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
463
463
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McAnchor, decorators: [{
464
464
  type: i0.Component,
465
465
  args: [{
@@ -2517,7 +2517,6 @@
2517
2517
  type: i0.Directive
2518
2518
  }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; } });
2519
2519
 
2520
- var VIEWPORT_MARGIN = 8;
2521
2520
  // tslint:disable-next-line:naming-convention
2522
2521
  var McPopUpTrigger = /** @class */ (function () {
2523
2522
  function McPopUpTrigger(overlay, elementRef, ngZone, scrollDispatcher, hostView, scrollStrategy, direction) {
@@ -2670,7 +2669,6 @@
2670
2669
  .flexibleConnectedTo(this.elementRef)
2671
2670
  .withTransformOriginOn(this.originSelector)
2672
2671
  .withFlexibleDimensions(false)
2673
- .withViewportMargin(VIEWPORT_MARGIN)
2674
2672
  .withPositions(__spreadArray([], __read(EXTENDED_OVERLAY_POSITIONS)))
2675
2673
  .withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.elementRef));
2676
2674
  strategy.positionChanges