@ptsecurity/mosaic 12.2.1 → 12.2.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.
Files changed (56) hide show
  1. package/_theming.scss +22 -18
  2. package/_visual.scss +0 -1
  3. package/bundles/ptsecurity-mosaic-design-tokens.umd.js +0 -1
  4. package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +1 -1
  5. package/bundles/ptsecurity-mosaic-dropdown.umd.js +17 -2
  6. package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +1 -1
  7. package/bundles/ptsecurity-mosaic-modal.umd.js +13 -6
  8. package/bundles/ptsecurity-mosaic-modal.umd.js.map +1 -1
  9. package/bundles/ptsecurity-mosaic-navbar.umd.js +1 -1
  10. package/bundles/ptsecurity-mosaic-navbar.umd.js.map +1 -1
  11. package/bundles/ptsecurity-mosaic-popover.umd.js +24 -18
  12. package/bundles/ptsecurity-mosaic-popover.umd.js.map +1 -1
  13. package/bundles/ptsecurity-mosaic-splitter.umd.js +16 -4
  14. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +1 -1
  15. package/bundles/ptsecurity-mosaic-tags.umd.js +2 -1
  16. package/bundles/ptsecurity-mosaic-tags.umd.js.map +1 -1
  17. package/bundles/ptsecurity-mosaic-timepicker.umd.js +2 -1
  18. package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
  19. package/design-tokens/style-dictionary/build.js +6 -0
  20. package/design-tokens/style-dictionary/configs/index.js +2 -1
  21. package/design-tokens/tokens.d.ts +0 -1
  22. package/dropdown/dropdown-item.component.d.ts +1 -0
  23. package/esm2015/design-tokens/tokens.js +1 -2
  24. package/esm2015/dropdown/dropdown-item.component.js +9 -2
  25. package/esm2015/dropdown/dropdown-trigger.directive.js +10 -2
  26. package/esm2015/modal/modal.component.js +2 -2
  27. package/esm2015/modal/modal.service.js +13 -6
  28. package/esm2015/navbar/navbar-item.component.js +3 -3
  29. package/esm2015/popover/popover-confirm.component.js +9 -8
  30. package/esm2015/popover/popover.component.js +14 -8
  31. package/esm2015/popover/popover.module.js +5 -4
  32. package/esm2015/splitter/splitter.component.js +17 -6
  33. package/esm2015/tags/tag.component.js +3 -2
  34. package/esm2015/timepicker/timepicker.directive.js +3 -2
  35. package/fesm2015/ptsecurity-mosaic-design-tokens.js +0 -1
  36. package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +1 -1
  37. package/fesm2015/ptsecurity-mosaic-dropdown.js +17 -2
  38. package/fesm2015/ptsecurity-mosaic-dropdown.js.map +1 -1
  39. package/fesm2015/ptsecurity-mosaic-modal.js +13 -6
  40. package/fesm2015/ptsecurity-mosaic-modal.js.map +1 -1
  41. package/fesm2015/ptsecurity-mosaic-navbar.js +2 -2
  42. package/fesm2015/ptsecurity-mosaic-navbar.js.map +1 -1
  43. package/fesm2015/ptsecurity-mosaic-popover.js +21 -14
  44. package/fesm2015/ptsecurity-mosaic-popover.js.map +1 -1
  45. package/fesm2015/ptsecurity-mosaic-splitter.js +16 -5
  46. package/fesm2015/ptsecurity-mosaic-splitter.js.map +1 -1
  47. package/fesm2015/ptsecurity-mosaic-tags.js +2 -1
  48. package/fesm2015/ptsecurity-mosaic-tags.js.map +1 -1
  49. package/fesm2015/ptsecurity-mosaic-timepicker.js +2 -1
  50. package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
  51. package/package.json +5 -5
  52. package/popover/popover.component.d.ts +2 -0
  53. package/popover/popover.module.d.ts +2 -1
  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 +6 -3
package/_theming.scss CHANGED
@@ -96,7 +96,6 @@
96
96
 
97
97
 
98
98
  // Do not edit directly
99
- // Generated on Thu, 28 Oct 2021 12:33:10 GMT
100
99
 
101
100
  $light-color-scheme-primary-default: #338FCC;
102
101
  $light-color-scheme-second-default: #B3B3B3;
@@ -2222,19 +2221,19 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
2222
2221
  // We want overlays to always appear over user content, so set a baseline
2223
2222
  // very high z-index for the overlay container, which is where we create the new
2224
2223
  // stacking context for all overlays.
2225
- $cdk-z-index-overlay-container: 1000 !default;
2226
- $cdk-z-index-overlay: 1000 !default;
2227
- $cdk-z-index-overlay-backdrop: 1000 !default;
2224
+ $overlay-container-z-index: 1000 !default;
2225
+ $overlay-z-index: 1000 !default;
2226
+ $overlay-backdrop-z-index: 1000 !default;
2228
2227
 
2229
2228
  // Background color for all of the backdrops
2230
- $cdk-overlay-dark-backdrop-background: rgba(0, 0, 0, 0.32) !default;
2229
+ $overlay-backdrop-color: rgba(0, 0, 0, 0.32) !default;
2231
2230
 
2232
2231
  // Default backdrop animation is based on the Material Design swift-ease-out.
2233
2232
  $backdrop-animation-duration: 400ms !default;
2234
2233
  $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2235
2234
 
2236
-
2237
- @mixin cdk-overlay() {
2235
+ /// Emits structural styles required for cdk/overlay to function.
2236
+ @mixin overlay() {
2238
2237
  .cdk-overlay-container, .cdk-global-overlay-wrapper {
2239
2238
  // Disable events from being captured on the overlay container.
2240
2239
  pointer-events: none;
@@ -2249,7 +2248,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2249
2248
  // The overlay-container is an invisible element which contains all individual overlays.
2250
2249
  .cdk-overlay-container {
2251
2250
  position: fixed;
2252
- z-index: $cdk-z-index-overlay-container;
2251
+ z-index: $overlay-container-z-index;
2253
2252
 
2254
2253
  &:empty {
2255
2254
  // Hide the element when it doesn't have any child nodes. This doesn't
@@ -2265,7 +2264,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2265
2264
  .cdk-global-overlay-wrapper {
2266
2265
  display: flex;
2267
2266
  position: absolute;
2268
- z-index: $cdk-z-index-overlay;
2267
+ z-index: $overlay-z-index;
2269
2268
  }
2270
2269
 
2271
2270
  // A single overlay pane.
@@ -2275,7 +2274,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2275
2274
  position: absolute;
2276
2275
  pointer-events: auto;
2277
2276
  box-sizing: border-box;
2278
- z-index: $cdk-z-index-overlay;
2277
+ z-index: $overlay-z-index;
2279
2278
 
2280
2279
  // For connected-position overlays, we set `display: flex` in
2281
2280
  // order to force `max-width` and `max-height` to take effect.
@@ -2292,7 +2291,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2292
2291
  left: 0;
2293
2292
  right: 0;
2294
2293
 
2295
- z-index: $cdk-z-index-overlay-backdrop;
2294
+ z-index: $overlay-backdrop-z-index;
2296
2295
  pointer-events: auto;
2297
2296
  -webkit-tap-highlight-color: transparent;
2298
2297
  transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
@@ -2313,7 +2312,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2313
2312
  }
2314
2313
 
2315
2314
  .cdk-overlay-dark-backdrop {
2316
- background: $cdk-overlay-dark-backdrop-background;
2315
+ background: $overlay-backdrop-color;
2317
2316
  }
2318
2317
 
2319
2318
  .cdk-overlay-transparent-backdrop {
@@ -2330,7 +2329,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
2330
2329
  // overlay element's size to fit within the viewport.
2331
2330
  .cdk-overlay-connected-position-bounding-box {
2332
2331
  position: absolute;
2333
- z-index: $cdk-z-index-overlay;
2332
+ z-index: $overlay-z-index;
2334
2333
 
2335
2334
  // We use `display: flex` on this element exclusively for centering connected overlays.
2336
2335
  // When *not* centering, a top/left/bottom/right will be set which overrides the normal
@@ -3922,21 +3921,22 @@ $fonts: (
3922
3921
  border-color: transparent;
3923
3922
  background-color: transparent;
3924
3923
 
3925
- &:hover,
3926
- &.mc-hover {
3924
+ &:hover {
3925
+ background-color: map-get($background, overlay-hover);
3926
+
3927
3927
  & .mc-button-overlay {
3928
- background: map-get($background, overlay-hover);
3928
+ background-color: transparent;
3929
3929
  }
3930
3930
  }
3931
3931
 
3932
3932
  &:active,
3933
3933
  &.mc-active {
3934
3934
  border-color: transparent;
3935
- background-color: transparent;
3935
+ background-color: map-get($background, overlay-active);
3936
3936
  box-shadow: none;
3937
3937
 
3938
3938
  & .mc-button-overlay {
3939
- background: map-get($background, overlay-active);
3939
+ background-color: transparent;
3940
3940
  }
3941
3941
  }
3942
3942
 
@@ -4263,6 +4263,10 @@ $mc-datepicker-today-fade-amount: 0.2;
4263
4263
  background: map-get($background, overlay-hover);
4264
4264
  }
4265
4265
 
4266
+ .mc-dropdown-item-overlay {
4267
+ background: transparent;
4268
+ }
4269
+
4266
4270
  .mc-dropdown__divider {
4267
4271
  background-color: map-get($foreground, divider);
4268
4272
  }
package/_visual.scss CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 28 Oct 2021 12:33:10 GMT
4
3
 
5
4
  $light-color-scheme-primary-default: #338FCC;
6
5
  $light-color-scheme-second-default: #B3B3B3;
@@ -6,7 +6,6 @@
6
6
 
7
7
  /**
8
8
  * Do not edit directly
9
- * Generated on Thu, 28 Oct 2021 12:33:10 GMT
10
9
  */
11
10
  var LightColorSchemePrimaryDefault = "#338FCC";
12
11
  var LightColorSchemePrimaryPalette = { "40": { "value": "#F5FAFD", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#F5FAFD" }, "name": "PaletteBlue40", "attributes": { "category": "palette", "type": "blue", "item": "40" }, "path": ["palette", "blue", "40"] }, "60": { "value": "#EBF4FB", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#EBF4FB" }, "name": "PaletteBlue60", "attributes": { "category": "palette", "type": "blue", "item": "60" }, "path": ["palette", "blue", "60"] }, "100": { "value": "#D8EAF7", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#D8EAF7" }, "name": "PaletteBlue100", "attributes": { "category": "palette", "type": "blue", "item": "100" }, "path": ["palette", "blue", "100"] }, "200": { "value": "#AAD1EC", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#AAD1EC" }, "name": "PaletteBlue200", "attributes": { "category": "palette", "type": "blue", "item": "200" }, "path": ["palette", "blue", "200"] }, "300": { "value": "#7FBAE1", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#7FBAE1" }, "name": "PaletteBlue300", "attributes": { "category": "palette", "type": "blue", "item": "300" }, "path": ["palette", "blue", "300"] }, "400": { "value": "#57A4D7", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#57A4D7" }, "name": "PaletteBlue400", "attributes": { "category": "palette", "type": "blue", "item": "400" }, "path": ["palette", "blue", "400"] }, "500": { "value": "#338FCC", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#338FCC" }, "name": "PaletteBlue500", "attributes": { "category": "palette", "type": "blue", "item": "500" }, "path": ["palette", "blue", "500"] }, "560": { "value": "#277BB3", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#277BB3" }, "name": "PaletteBlue560", "attributes": { "category": "palette", "type": "blue", "item": "560" }, "path": ["palette", "blue", "560"] }, "600": { "value": "#206EA2", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#206EA2" }, "name": "PaletteBlue600", "attributes": { "category": "palette", "type": "blue", "item": "600" }, "path": ["palette", "blue", "600"] }, "700": { "value": "#114E77", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#114E77" }, "name": "PaletteBlue700", "attributes": { "category": "palette", "type": "blue", "item": "700" }, "path": ["palette", "blue", "700"] }, "800": { "value": "#07314D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#07314D" }, "name": "PaletteBlue800", "attributes": { "category": "palette", "type": "blue", "item": "800" }, "path": ["palette", "blue", "800"] }, "A100": { "value": "rgba(0, 153, 255, 0.15)", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "rgba(0, 153, 255, 0.15)" }, "name": "PaletteBlueA100", "attributes": { "category": "palette", "type": "blue", "item": "A100" }, "path": ["palette", "blue", "A100"] }, "A200": { "value": "rgba(0, 153, 255, 0.3)", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "rgba(0, 153, 255, 0.3)" }, "name": "PaletteBlueA200", "attributes": { "category": "palette", "type": "blue", "item": "A200" }, "path": ["palette", "blue", "A200"] }, "contrast": { "40": { "value": "#4D4D4D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#4D4D4D" }, "name": "PaletteBlueContrast40", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "40" }, "path": ["palette", "blue", "contrast", "40"] }, "60": { "value": "#4D4D4D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#4D4D4D" }, "name": "PaletteBlueContrast60", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "60" }, "path": ["palette", "blue", "contrast", "60"] }, "100": { "value": "#4D4D4D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#4D4D4D" }, "name": "PaletteBlueContrast100", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "100" }, "path": ["palette", "blue", "contrast", "100"] }, "200": { "value": "#4D4D4D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#4D4D4D" }, "name": "PaletteBlueContrast200", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "200" }, "path": ["palette", "blue", "contrast", "200"] }, "300": { "value": "#4D4D4D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#4D4D4D" }, "name": "PaletteBlueContrast300", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "300" }, "path": ["palette", "blue", "contrast", "300"] }, "400": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrast400", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "400" }, "path": ["palette", "blue", "contrast", "400"] }, "500": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrast500", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "500" }, "path": ["palette", "blue", "contrast", "500"] }, "560": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrast560", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "560" }, "path": ["palette", "blue", "contrast", "560"] }, "600": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrast600", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "600" }, "path": ["palette", "blue", "contrast", "600"] }, "700": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrast700", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "700" }, "path": ["palette", "blue", "contrast", "700"] }, "800": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrast800", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "800" }, "path": ["palette", "blue", "contrast", "800"] }, "A100": { "value": "#4D4D4D", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "#4D4D4D" }, "name": "PaletteBlueContrastA100", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "A100" }, "path": ["palette", "blue", "contrast", "A100"] }, "A200": { "value": "white", "filePath": "packages/mosaic/design-tokens/tokens/properties/palette.json5", "isSource": true, "original": { "value": "white" }, "name": "PaletteBlueContrastA200", "attributes": { "category": "palette", "type": "blue", "item": "contrast", "subitem": "A200" }, "path": ["palette", "blue", "contrast", "A200"] } } };