@design-factory/design-factory 21.0.0-next.1 → 21.0.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/README.md CHANGED
@@ -25,6 +25,15 @@ It will install Design Factory for the default application specified in your ang
25
25
  ng add @design-factory/design-factory --project myProject
26
26
  ```
27
27
 
28
+ ## Architecture
29
+
30
+ The Design Factory is composed of multiple projects and you can install the package that fits your requirements.
31
+
32
+ - `@design-factory/tokens` includes the Design Tokens that empower the Design System
33
+ - `@design-factory/styles` includes the styles, composed of utilities and component styles
34
+ - `@design-factory/design-factory` contains Angular components and utilities. They will be migrated to the following package
35
+ - `@design-factory/angular` contains the new SideNav and will grow to include all Design Factory Angular components
36
+
28
37
  ### CSS namespace feature
29
38
 
30
39
  For some specific cases, you may have to use the CSS namespace feature which allows you to apply DF styles only under a selector defined by $df-css-namespace-selector variable (by default ==.design-factory-v2==).
@@ -58,6 +67,7 @@ The supported versions are:
58
67
  | 19.0.x | 19.x.x | 5.3.3 | 18.0.x | 14.0.x | 32.0.x | | 0.7.x |
59
68
  | 19.1.x | 19.x.x | 5.3.3 | 18.0.x | 14.1.x | 32.0.x | | 0.8.x |
60
69
  | 20.0.x | 20.x | 5.3.7 | 19.0.x | 15.x \|\| 20.x | 32.x | | 0.9.x |
70
+ | 21.0.x | 21.x | 5.3.8 | 20.0.x | 21.x | 35.x | | 0.10.x |
61
71
 
62
72
  ## How to work with the icons
63
73
 
package/package.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@design-factory/design-factory",
3
3
  "description": "Amadeus design system",
4
4
  "license": "BSD-3-Clause",
5
- "version": "21.0.0-next.1",
5
+ "version": "21.0.0",
6
6
  "dependencies": {
7
7
  "tslib": "^2.0.0"
8
8
  },
9
9
  "peerDependencies": {
10
- "@agnos-ui/angular-bootstrap": "~0.10.0-next.4",
11
- "@agnos-ui/angular-headless": "~0.10.0-next.4",
10
+ "@agnos-ui/angular-bootstrap": "~0.10.0",
11
+ "@agnos-ui/angular-headless": "~0.10.0",
12
12
  "@angular/common": "^21.0.0",
13
13
  "@angular/core": "^21.0.0",
14
14
  "@angular/localize": "^21.0.0",
@@ -18,7 +18,7 @@
18
18
  "@ng-select/ng-select": "^21.0.0",
19
19
  "ag-grid-angular": "^35.0.0",
20
20
  "ag-grid-community": "^35.0.0",
21
- "@design-factory/styles": "21.0.0-next.1"
21
+ "@design-factory/styles": "21.0.0"
22
22
  },
23
23
  "peerDependenciesMeta": {
24
24
  "ag-grid-angular": {
@@ -7,7 +7,6 @@
7
7
  "$dangers-mapping",
8
8
  "$dark-green",
9
9
  "$dark-primaries-mapping",
10
- "$dark-primary",
11
10
  "$darks-mapping",
12
11
  "$df-colors-transformed",
13
12
  "$df-lightMappedColors",
@@ -18,7 +17,6 @@
18
17
  "$df-stepper-steps-colors",
19
18
  "$df-switch-additional-color-list",
20
19
  "$df-link-external-icon",
21
- "$gradients",
22
20
  "$grays-mapping",
23
21
  "$grays-names",
24
22
  "$greens-mapping",
@@ -1201,7 +1201,7 @@
1201
1201
  },
1202
1202
  {
1203
1203
  "name": "$df-dropdown-toggle-font",
1204
- "value": "Font Awesome 6 Pro"
1204
+ "value": "'Font Awesome 6 Pro'"
1205
1205
  },
1206
1206
  {
1207
1207
  "name": "$df-dropdown-toggle-font-weight",
@@ -2789,7 +2789,7 @@
2789
2789
  },
2790
2790
  {
2791
2791
  "name": "$df-select-icon-caret-down",
2792
- "value": "\f0d7"
2792
+ "value": "'\f0d7'"
2793
2793
  },
2794
2794
  {
2795
2795
  "name": "$df-select-icon-color",
@@ -4270,5 +4270,13 @@
4270
4270
  {
4271
4271
  "name": "$df-degrees",
4272
4272
  "value": "(0: 0deg, 45: 45deg, 90: 90deg, 135: 135deg, 180: 180deg, 225: 225deg, 270: 270deg, 315: 315deg, 360: 360deg)"
4273
+ },
4274
+ {
4275
+ "name": "$dark-primary",
4276
+ "value": "#000835"
4277
+ },
4278
+ {
4279
+ "name": "$gradients",
4280
+ "value": "('gradient-blue': ('from': #0c66e1, 'to': #009dd1))"
4273
4281
  }
4274
4282
  ]
@@ -37,7 +37,8 @@ function deletedSassVars() {
37
37
  let match;
38
38
  while ((match = regexDefinition.exec(styleText)) !== null) {
39
39
  const varName = match[1];
40
- const varValue = match[2];
40
+ let varValue = match[2];
41
+ varValue = varValue.replace(/\s*!default\s*$/, '');
41
42
  if (varsMap.has(varName)) {
42
43
  // we found a re-declaration, we update the value in the map
43
44
  varsMap.set(varName, varValue);