@design-factory/design-factory 18.0.3 → 18.0.5

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@design-factory/design-factory",
3
3
  "description": "Amadeus design system",
4
4
  "license": "BSD-3-Clause",
5
- "version": "18.0.3",
5
+ "version": "18.0.5",
6
6
  "dependencies": {
7
7
  "tslib": "^2.0.0"
8
8
  },
@@ -47,8 +47,9 @@ $df-disabled-bg-color: var(--#{$prefix}gray-100) !default;
47
47
  $df-disabled-color: var(--#{$prefix}gray-300) !default;
48
48
  $df-disabled-opacity: 1 !default;
49
49
  $df-disabled-cursor: not-allowed !default;
50
- $df-hover-bg-color: var(
51
- --#{$prefix}primary-100
50
+ $df-hover-bg-color: shades-css-var(
51
+ 'white',
52
+ 'bg-hover-color'
52
53
  ) !default; // hover on light (white) bg not button. Migrate to white color shade ?
53
54
  $df-focus-outline: none !default;
54
55
 
@@ -4,12 +4,12 @@
4
4
  $au-slider-handle-hover-color: #{shades-css-var('primary', 'text-hover-color')} !default,
5
5
  $au-slider-handle-border-hover: var(--#{$prefix}border-width) solid #{shades-css-var('primary', 'text-hover-color')} !default,
6
6
  $au-slider-handle-focus-box-shadow: (
7
- 0 0 0 2px var (--#{$prefix}body-bg),
7
+ 0 0 0 2px var(--#{$prefix}body-bg),
8
8
  0 0 0 4px var(--#{$prefix}primary)
9
9
  )
10
10
  !default,
11
11
  $au-slider-handle-focus-hover-box-shadow: (
12
- 0 0 0 2px var (--#{$prefix}body-bg),
12
+ 0 0 0 2px var(--#{$prefix}body-bg),
13
13
  0 0 0 4px #{shades-css-var('primary', 'text-hover-color')}
14
14
  )
15
15
  !default,
@@ -32,7 +32,10 @@
32
32
  $values: map.get($utility, values);
33
33
  @each $color, $value in $values {
34
34
  .bg-#{$color} {
35
- --#{$prefix}body-bg: #{$value};
35
+ .btn,
36
+ .nav-tabs {
37
+ --#{$prefix}inner-box-shadow-color: #{$value};
38
+ }
36
39
  }
37
40
  }
38
41
  }
@@ -112,7 +112,7 @@ body,
112
112
  @if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
113
113
  --#{$prefix}box-shadow-color: #{shades-css-var('primary', 'bg-subtle-active-color', true)};
114
114
  }
115
- box-shadow: $df-focused-inset-box-shadow;
115
+ box-shadow: $df-dropdown-item-focus-box-shadow;
116
116
  border: $df-dropdown-item-focused-border;
117
117
  outline: var(--#{$prefix}focus-outline);
118
118
  border-radius: var(--#{$prefix}dropdown-item-focus-border-radius);
@@ -20,3 +20,4 @@ $df-dropdown-toggle-border-color-primary: color.adjust(
20
20
  $df-dropdown-disabled-pointer: var(--#{$prefix}disabled-cursor) !default;
21
21
  $df-dropdown-disabled-color: $df-btn-outline-disabled-text-color !default;
22
22
  $df-dropdown-item-focused-border: $df-focused-border !default;
23
+ $df-dropdown-item-focus-box-shadow: $df-focused-box-shadow !default;
@@ -192,7 +192,7 @@
192
192
 
193
193
  &:focus-visible,
194
194
  &.ngx-slider-active {
195
- --#{$prefix}box-shadow-color: #{$df-slider-pointer-color};
195
+ --#{$prefix}box-shadow-color: #{$df-slider-pointer-box-shadow};
196
196
  outline: none;
197
197
  box-shadow: $btn-focus-box-shadow;
198
198
  }
@@ -13,9 +13,10 @@ $df-slider-bar-rightout-selection-color: $green !default; // $barRightOutSelecti
13
13
 
14
14
  // Pointer
15
15
  $df-slider-pointer-color: shades-css-var('primary', 'bg-color') !default; // $handleBgColor
16
+ $df-slider-pointer-box-shadow: rgba(var($df-slider-pointer-color), 0.25) !default; // $handleBgColor
16
17
  $df-slider-pointer-size: 1.25rem !default; // $handleSize
17
18
  $df-slider-pointer-disabled-color: var(--#{$prefix}disabled-color) !default; // $handleDisabledColor
18
- $df-slider-pointer-hover-color: shades-css-var('primary', 'bg-color') !default; // $handleHoverColor
19
+ $df-slider-pointer-hover-color: rgba(var($df-slider-pointer-color), 0.25) !default; // $handleHoverColor
19
20
  $df-slider-pointer-active-color: shades-css-var('primary', 'bg-color') !default; // $handleActiveColor
20
21
 
21
22
  // Labels
@@ -119,7 +119,7 @@
119
119
  }
120
120
  }
121
121
 
122
- [class*='fa-'] {
122
+ .df-table-expand-icon {
123
123
  color: var(--#{$prefix}tables-aggdrid-expand-button-color);
124
124
  }
125
125
 
@@ -654,6 +654,7 @@ $input-focus-border-color: var(--#{$prefix}gray-600) !default;
654
654
  $input-border-color: var(--#{$prefix}gray-600) !default;
655
655
 
656
656
  $df-box-shadow: 0px 0px 8px 0px rgba($gray-600, 0.75) !default;
657
+ $df-hover-bg-color: var(--#{$prefix}primary-100) !default;
657
658
 
658
659
  $df-box-shadow: 0px 0px 8px 0px rgba($gray-600, 0.75) !default;
659
660
 
@@ -690,6 +691,7 @@ $dropdown-link-hover-bg: var(--#{$prefix}primary-100) !default;
690
691
  $dropdown-link-hover-color: var(--#{$prefix}primary-100-color) !default;
691
692
  $df-typeahead-active-color: var(--#{$prefix}primary-800) !default;
692
693
  $df-typeahead-active-bg-color: var(--#{$prefix}primary-200) !default;
694
+ $df-dropdown-item-focus-box-shadow: $df-focused-inset-box-shadow !default;
693
695
 
694
696
  // Breadcrumb
695
697
  $breadcrumb-active-color: var(--#{$prefix}secondary-900) !default;
@@ -927,6 +929,7 @@ $df-sidenav-withactivated-item-border-start: unset !default;
927
929
  // Slider
928
930
  $df-slider-pointer-hover-border-color: var(--#{$prefix}border-width) solid var(--#{$prefix}primary-800) !default;
929
931
  $df-slider-pointer-hover-color: var(--#{$prefix}primary-700) !default;
932
+ $df-slider-pointer-box-shadow: var(--#{$prefix}primary-500) !default; // primary bg-color mapping
930
933
 
931
934
  // Scrollspy
932
935
  $df-scrollspy-active-border-left: unset !default;
package/assets/readme.png DELETED
Binary file