@design-factory/design-factory 20.0.0 → 20.0.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.
- package/design-factory-initial-branding.css +1 -1
- package/design-factory.css +1 -1
- package/package.json +1 -1
- package/styles/scss/components/checkbox/_checkbox.scss +7 -0
- package/styles/scss/components/select/_select.scss +18 -4
- package/styles/scss/components/typeahead/_typeahead.scss +2 -0
- package/styles/scss/df-styles-namespace.scss +2 -0
- package/styles/scss/themes/brand2023/_variables.scss +2 -1
package/package.json
CHANGED
|
@@ -54,6 +54,13 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
58
|
+
.form-check:has(+ .form-check),
|
|
59
|
+
.form-check + .form-check {
|
|
60
|
+
margin-bottom: var(--#{$prefix}spacing-3);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
57
64
|
.form-check-input {
|
|
58
65
|
&:not(:checked):not(.is-invalid):not(:indeterminate):focus {
|
|
59
66
|
--#{$prefix}box-shadow-color: #{$df-checkbox-box-shadow-color};
|
|
@@ -399,8 +399,11 @@
|
|
|
399
399
|
// add
|
|
400
400
|
height: initial; // in single case we will only have one line
|
|
401
401
|
|
|
402
|
-
> .ng-select-container .ng-value-container
|
|
403
|
-
|
|
402
|
+
> .ng-select-container .ng-value-container {
|
|
403
|
+
min-height: calc($input-height-lg - 2 * $input-border-width);
|
|
404
|
+
.ng-value {
|
|
405
|
+
font-size: inherit;
|
|
406
|
+
}
|
|
404
407
|
}
|
|
405
408
|
}
|
|
406
409
|
&.form-control-sm {
|
|
@@ -409,6 +412,9 @@
|
|
|
409
412
|
|
|
410
413
|
> .ng-select-container {
|
|
411
414
|
height: inherit;
|
|
415
|
+
.ng-value-container {
|
|
416
|
+
min-height: calc($input-height-sm - 2 * $input-border-width);
|
|
417
|
+
}
|
|
412
418
|
}
|
|
413
419
|
}
|
|
414
420
|
&.ng-select-disabled {
|
|
@@ -519,11 +525,14 @@
|
|
|
519
525
|
margin-bottom: var(--#{$prefix}select-value-margin); // override
|
|
520
526
|
@include ngs-root('.form-control-lg') {
|
|
521
527
|
// add
|
|
522
|
-
margin-top:
|
|
528
|
+
margin-top: calc(
|
|
529
|
+
($input-height-lg - 2 * $input-border-width - var(--#{$prefix}select-clear-button-height)) / 2
|
|
530
|
+
); //override
|
|
523
531
|
}
|
|
524
532
|
@include ngs-root('.form-control-sm') {
|
|
525
533
|
// add
|
|
526
534
|
margin-top: var(--#{$prefix}select-value-margin-sm); // add
|
|
535
|
+
margin-bottom: var(--#{$prefix}select-value-margin-sm); // add
|
|
527
536
|
}
|
|
528
537
|
@include ltr {
|
|
529
538
|
margin-left: var(--#{$prefix}select-clear-button-margin-left); // add
|
|
@@ -583,7 +592,12 @@
|
|
|
583
592
|
margin-top: var(--#{$prefix}select-value-margin); // add
|
|
584
593
|
@include ngs-root('.form-control-lg') {
|
|
585
594
|
// add
|
|
586
|
-
margin-top:
|
|
595
|
+
margin-top: calc(
|
|
596
|
+
($input-height-lg - 2 * $input-border-width - var(--#{$prefix}select-arrow-wrapper-height)) / 2
|
|
597
|
+
); // add
|
|
598
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
599
|
+
font-size: var(--#{$prefix}typo-sizing-default); // in order to have the arrow verticaly aligned in large
|
|
600
|
+
}
|
|
587
601
|
}
|
|
588
602
|
@include ngs-root('.form-control-sm') {
|
|
589
603
|
// add
|
|
@@ -25,6 +25,8 @@ ngb-typeahead-window.dropdown-menu {
|
|
|
25
25
|
&:not(:disabled):not(.disabled).active {
|
|
26
26
|
color: var(--#{$prefix}typeahead-hover-color);
|
|
27
27
|
background-color: var(--#{$prefix}typeahead-hover-bg);
|
|
28
|
+
// mapped to a token in DF 21
|
|
29
|
+
font-weight: 400;
|
|
28
30
|
|
|
29
31
|
&:active {
|
|
30
32
|
color: var(--#{$prefix}typeahead-active-color);
|
|
@@ -780,7 +780,6 @@ $form-range-thumb-active-bg: var(--#{$prefix}primary-800) !default;
|
|
|
780
780
|
$form-check-min-height: calc($font-size-base * $line-height-base) !default;
|
|
781
781
|
$df-form-placeholder-font-style: var(--#{$prefix}typo-style-italic) !default;
|
|
782
782
|
$form-label-margin-bottom: var(--#{$prefix}spacing-3) !default;
|
|
783
|
-
$form-check-margin-bottom: var(--#{$prefix}spacing-3) !default;
|
|
784
783
|
$form-select-feedback-icon-padding-end: calc($form-select-padding-x * 2.5 + $form-select-indicator-padding) !default;
|
|
785
784
|
$form-text-margin-top: var(--#{$prefix}spacing-3) !default;
|
|
786
785
|
|
|
@@ -956,6 +955,8 @@ $df-select-value-height-sm: calc(var(--#{prefix}typo-sizing-small) * $line-heigh
|
|
|
956
955
|
$df-select-value-height-lg: calc(var(--#{prefix}typo-sizing-large) * $line-height-lg) !default;
|
|
957
956
|
$df-select-witharrow-clear-button-margin: var(--#{$prefix}spacing-3) !default;
|
|
958
957
|
$df-select-disabled-bg: var(--#{$prefix}color-disabled-main-background) !default;
|
|
958
|
+
$df-select-value-margin-sm: 0.125rem !default;
|
|
959
|
+
$df-select-value-margin-lg: 0.5rem !default;
|
|
959
960
|
|
|
960
961
|
// Sidenav
|
|
961
962
|
$df-sidenav-item-active-bg-color: var(--#{$prefix}primary-200) !default; // todo define a var for this ?
|