@ptsecurity/mosaic 11.5.1 → 11.6.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.
- package/_theming.scss +2 -1
- package/_visual.scss +9 -6
- package/bundles/ptsecurity-mosaic-datepicker.umd.js +2 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-datepicker.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.js +10 -2
- package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-list.umd.min.js.map +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.min.js +1 -1
- package/bundles/ptsecurity-mosaic-timepicker.umd.min.js.map +1 -1
- package/esm2015/datepicker/datepicker-input.directive.js +3 -2
- package/esm2015/list/list-selection.component.js +11 -3
- package/esm2015/timepicker/timepicker.directive.js +3 -3
- package/fesm2015/ptsecurity-mosaic-datepicker.js +2 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.js +10 -2
- package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.js +2 -2
- package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
- package/list/ptsecurity-mosaic-list.metadata.json +1 -1
- package/package.json +4 -4
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/timepicker/ptsecurity-mosaic-timepicker.metadata.json +1 -1
- package/prebuilt-visual/default-visual.css +0 -1
package/_theming.scss
CHANGED
@@ -3200,7 +3200,8 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
3200
3200
|
color: white;
|
3201
3201
|
}
|
3202
3202
|
|
3203
|
-
&.mc-checked
|
3203
|
+
&.mc-checked,
|
3204
|
+
&.mc-indeterminate {
|
3204
3205
|
border-color: map-get($checkbox, state-checked-border);
|
3205
3206
|
|
3206
3207
|
background: map-get($checkbox, state-checked-background);
|
package/_visual.scss
CHANGED
@@ -1623,6 +1623,8 @@ $fonts: (
|
|
1623
1623
|
}
|
1624
1624
|
}
|
1625
1625
|
|
1626
|
+
@use 'sass:math';
|
1627
|
+
|
1626
1628
|
// mixin definition ; sets LTR and RTL within the same style call
|
1627
1629
|
// @see https://css-tricks.com/almanac/properties/d/direction/
|
1628
1630
|
|
@@ -1661,6 +1663,7 @@ $baseline-grid: 8px !default;
|
|
1661
1663
|
$layout-gutter-width: ($baseline-grid * 2) !default;
|
1662
1664
|
|
1663
1665
|
|
1666
|
+
|
1664
1667
|
/*
|
1665
1668
|
* Responsive attributes
|
1666
1669
|
*
|
@@ -2048,7 +2051,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
2048
2051
|
.layout-padding-sm > *,
|
2049
2052
|
.layout-padding > .flex-sm
|
2050
2053
|
{
|
2051
|
-
padding: $layout-gutter-width
|
2054
|
+
padding: math.div($layout-gutter-width, 4);
|
2052
2055
|
}
|
2053
2056
|
|
2054
2057
|
.layout-padding,
|
@@ -2064,7 +2067,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
2064
2067
|
.layout-padding > .flex-gt-sm,
|
2065
2068
|
.layout-padding > .flex-md
|
2066
2069
|
{
|
2067
|
-
padding: $layout-gutter-width
|
2070
|
+
padding: math.div($layout-gutter-width, 2);
|
2068
2071
|
}
|
2069
2072
|
|
2070
2073
|
// NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
|
@@ -2076,14 +2079,14 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
2076
2079
|
.layout-padding > .flex-lg,
|
2077
2080
|
.layout-padding > .flex-gt-lg
|
2078
2081
|
{
|
2079
|
-
padding: $layout-gutter-width
|
2082
|
+
padding: math.div($layout-gutter-width, 1);
|
2080
2083
|
}
|
2081
2084
|
|
2082
2085
|
// Margin enhancements
|
2083
2086
|
|
2084
2087
|
.layout-margin-sm > *,
|
2085
2088
|
.layout-margin > .flex-sm
|
2086
|
-
|
2089
|
+
margin: math.div($layout-gutter-width, 4);
|
2087
2090
|
margin: $layout-gutter-width / 4;
|
2088
2091
|
}
|
2089
2092
|
|
@@ -2100,7 +2103,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
2100
2103
|
.layout-margin > .flex-gt-sm,
|
2101
2104
|
.layout-margin > .flex-md
|
2102
2105
|
{
|
2103
|
-
margin: $layout-gutter-width
|
2106
|
+
margin: math.div($layout-gutter-width, 2);
|
2104
2107
|
}
|
2105
2108
|
|
2106
2109
|
// NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
|
@@ -2112,7 +2115,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
|
|
2112
2115
|
.layout-margin > .flex-lg,
|
2113
2116
|
.layout-margin > .flex-gt-lg
|
2114
2117
|
{
|
2115
|
-
margin: $layout-gutter-width
|
2118
|
+
margin: math.div($layout-gutter-width, 1);
|
2116
2119
|
}
|
2117
2120
|
|
2118
2121
|
.layout-wrap {
|
@@ -2085,6 +2085,7 @@
|
|
2085
2085
|
this.disabled = isDisabled;
|
2086
2086
|
};
|
2087
2087
|
McDatepickerInput.prototype.onKeyDown = function (event) {
|
2088
|
+
var _a;
|
2088
2089
|
if (this.isReadOnly) {
|
2089
2090
|
return;
|
2090
2091
|
}
|
@@ -2096,7 +2097,7 @@
|
|
2096
2097
|
}
|
2097
2098
|
else if (this.isKeyForOpen(event)) {
|
2098
2099
|
event.preventDefault();
|
2099
|
-
this.datepicker.open();
|
2100
|
+
(_a = this.datepicker) === null || _a === void 0 ? void 0 : _a.open();
|
2100
2101
|
}
|
2101
2102
|
else if (this.isKeyForClose(event)) {
|
2102
2103
|
event.preventDefault();
|