@tedi-design-system/angular 6.2.0-rc.11 → 6.2.0-rc.13

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 (33) hide show
  1. package/README.md +26 -1
  2. package/community/components/cards/accordion/accordion/accordion.component.d.ts +3 -0
  3. package/community/components/cards/accordion/accordion/accordion.component.d.ts.map +1 -1
  4. package/community/components/form/input/input.component.d.ts +3 -0
  5. package/community/components/form/input/input.component.d.ts.map +1 -1
  6. package/fesm2022/tedi-design-system-angular-community.mjs +6 -0
  7. package/fesm2022/tedi-design-system-angular-community.mjs.map +1 -1
  8. package/fesm2022/tedi-design-system-angular-tedi.mjs +430 -9
  9. package/fesm2022/tedi-design-system-angular-tedi.mjs.map +1 -1
  10. package/index.css +1 -1
  11. package/package.json +9 -9
  12. package/tedi/components/cards/accordion/accordion/accordion.component.d.ts +14 -0
  13. package/tedi/components/cards/accordion/accordion/accordion.component.d.ts.map +1 -0
  14. package/tedi/components/cards/accordion/accordion-item/accordion-item.component.d.ts +90 -0
  15. package/tedi/components/cards/accordion/accordion-item/accordion-item.component.d.ts.map +1 -0
  16. package/tedi/components/cards/accordion/index.d.ts +3 -0
  17. package/tedi/components/cards/accordion/index.d.ts.map +1 -0
  18. package/tedi/components/cards/index.d.ts +2 -0
  19. package/tedi/components/cards/index.d.ts.map +1 -0
  20. package/tedi/components/form/form-field/form-field-control.d.ts +31 -0
  21. package/tedi/components/form/form-field/form-field-control.d.ts.map +1 -0
  22. package/tedi/components/form/form-field/form-field.component.d.ts +57 -0
  23. package/tedi/components/form/form-field/form-field.component.d.ts.map +1 -0
  24. package/tedi/components/form/index.d.ts +2 -0
  25. package/tedi/components/form/index.d.ts.map +1 -1
  26. package/tedi/components/form/text-field/text-field.component.d.ts +38 -0
  27. package/tedi/components/form/text-field/text-field.component.d.ts.map +1 -0
  28. package/tedi/components/index.d.ts +1 -0
  29. package/tedi/components/index.d.ts.map +1 -1
  30. package/tedi/components/tags/index.d.ts +1 -0
  31. package/tedi/components/tags/index.d.ts.map +1 -1
  32. package/tedi/components/tags/status-badge/status-badge.component.d.ts +55 -0
  33. package/tedi/components/tags/status-badge/status-badge.component.d.ts.map +1 -0
package/README.md CHANGED
@@ -30,9 +30,34 @@ To view and develop components in isolation, start Storybook for Angular:
30
30
  npm run start
31
31
  ```
32
32
 
33
+ ## Angular Version Support
34
+
35
+ The library supports the three latest Angular major versions. Angular releases a new major every 6 months and deprecates versions after 18 months. See the [Angular release schedule](https://angular.dev/reference/releases) for upcoming dates.
36
+
37
+ **Currently supported: Angular 19, 20, 21**
38
+
39
+ CI runs build and test jobs against all supported versions using a matrix strategy. The base version (used for `npm ci`) is determined by `devDependencies` in `package.json` — the other versions are installed on top via `ng update`.
40
+
41
+ ### Adding a new Angular version
42
+
43
+ When a new Angular major is released (e.g. v22):
44
+
45
+ 1. **`package.json`** — add `|| ^22.0.0` to every Angular peer dependency and `ngx-float-ui`
46
+ 2. **`.github/workflows/angular-test-and-lint.yml`** — add `22` to the `angular-version` matrix in the `build` and `test` jobs
47
+ 3. **`.github/workflows/angular-release.yml`** — add `22` to the `angular-version` matrix in the `test` job
48
+
49
+ ### Dropping a deprecated Angular version
50
+
51
+ When an Angular major reaches end-of-life (e.g. v19):
52
+
53
+ 1. **`package.json`** — remove `^19.0.0 ||` from every Angular peer dependency and `ngx-float-ui`
54
+ 2. **`.github/workflows/angular-test-and-lint.yml`** — remove `19` from the `angular-version` matrix in the `build` and `test` jobs
55
+ 3. **`.github/workflows/angular-release.yml`** — remove `19` from the `angular-version` matrix in the `test` job
56
+ 4. Bump `devDependencies` to the new minimum supported Angular version so the library is always built and developed against a supported release
57
+
33
58
  ## Contributing
34
59
 
35
- Check the [wiki](https://github.com/TEDI-Design-System/general) for component guidelines and coding standards.
60
+ Check the [wiki](https://github.com/TEDI-Design-System/general) for component guidelines and coding standards.
36
61
  Report issues or contribute via [GitHub Issues](https://github.com/TEDI-Design-System/angular/issues).
37
62
 
38
63
  ---
@@ -1,6 +1,9 @@
1
1
  import { OnInit } from "@angular/core";
2
2
  import { AccordionItemComponent } from "../accordion-item/accordion-item.component";
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * @deprecated Use Accordion from TEDI-ready instead. This component will be removed from future versions.
6
+ */
4
7
  export declare class AccordionComponent implements OnInit {
5
8
  /**
6
9
  * id-s of items that should be opened by default.
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.component.d.ts","sourceRoot":"","sources":["../../../../../../community/components/cards/accordion/accordion/accordion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;;AAEpF,qBAQa,kBAAmB,YAAW,MAAM;IAC/C;;OAEG;IACH,gBAAgB,4DAAqB;IACrC;;;OAGG;IACH,UAAU,+CAAyB;IAEnC,cAAc,oEAEX;IAEH,OAAO,CAAC,SAAS,CAAiB;;IA8BlC,OAAO,CAAC,oBAAoB;IAS5B,QAAQ;yCAtDG,kBAAkB;2CAAlB,kBAAkB;CAyD9B"}
1
+ {"version":3,"file":"accordion.component.d.ts","sourceRoot":"","sources":["../../../../../../community/components/cards/accordion/accordion/accordion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;;AAEpF;;GAEG;AACH,qBAQa,kBAAmB,YAAW,MAAM;IAC/C;;OAEG;IACH,gBAAgB,4DAAqB;IACrC;;;OAGG;IACH,UAAU,+CAAyB;IAEnC,cAAc,oEAEX;IAEH,OAAO,CAAC,SAAS,CAAiB;;IA8BlC,OAAO,CAAC,oBAAoB;IAS5B,QAAQ;yCAtDG,kBAAkB;2CAAlB,kBAAkB;CAyD9B"}
@@ -1,6 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export type InputSize = "small" | "default";
3
3
  export type InputState = "valid" | "error" | "default";
4
+ /**
5
+ * @deprecated Use TextField from TEDI-ready instead. This component will be removed from future versions.
6
+ */
4
7
  export declare class InputComponent {
5
8
  /**
6
9
  * Size of the input.
@@ -1 +1 @@
1
- {"version":3,"file":"input.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/input/input.component.ts"],"names":[],"mappings":";AAQA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD,qBAYa,cAAc;IACzB;;;OAGG;IACH,IAAI,iDAA+B;IAEnC;;;OAGG;IACH,KAAK,kDAAgC;IAErC,eAAe,yCAKZ;yCAlBQ,cAAc;2CAAd,cAAc;CAmB1B"}
1
+ {"version":3,"file":"input.component.d.ts","sourceRoot":"","sources":["../../../../../community/components/form/input/input.component.ts"],"names":[],"mappings":";AAQA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD;;GAEG;AACH,qBAYa,cAAc;IACzB;;;OAGG;IACH,IAAI,iDAA+B;IAEnC;;;OAGG;IACH,KAAK,kDAAgC;IAErC,eAAe,yCAKZ;yCAlBQ,cAAc;2CAAd,cAAc;CAmB1B"}
@@ -212,6 +212,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
212
212
  }, template: "<tedi-card\n [selected]=\"selected()\"\n class=\"tedi-accordion-item__card\"\n [class.tedi-accordion-item__card--expanded]=\"opened()\"\n>\n <ng-content></ng-content>\n</tedi-card>\n", styles: [".tedi-accordion-item{--_accordion-columns: minmax(auto, 200px) auto;--_accordion-header-spacing: 8px}.tedi-accordion-item>.tedi-accordion-item__card{display:grid;grid-template-rows:max-content 0fr;transition:grid-template-rows .3s}.tedi-accordion-item>.tedi-accordion-item__card>.tedi-accordion-item-header-host>.tedi-accordion-item-header{border-top-left-radius:var(--_card-radius);border-top-right-radius:var(--_card-radius);border-bottom-right-radius:var(--_card-radius);border-bottom-left-radius:var(--_card-radius)}.tedi-accordion-item>.tedi-accordion-item__card>.tedi-accordion-item-content>.tedi-card-content{border-top:transparent;border-bottom-left-radius:var(--_card-radius);border-bottom-right-radius:var(--_card-radius)}.tedi-accordion-item>.tedi-accordion-item__card--expanded{grid-template-rows:max-content 1fr}.tedi-accordion-item>.tedi-accordion-item__card--expanded>.tedi-accordion-item-header-host>.tedi-accordion-item-header{border-bottom-right-radius:0;border-bottom-left-radius:0}.tedi-accordion-item>.tedi-accordion-item__card--expanded>.tedi-accordion-item-content{animation:accordion-content-overflow-transition;animation-delay:.3s;animation-fill-mode:forwards}.tedi-accordion-item>.tedi-accordion-item__card:has(.tedi-accordion-icon){grid-template-areas:\"accordion-icon-content accordion-header\" \"accordion-icon-fill accordion-content\";grid-template-columns:var(--_accordion-columns)}.tedi-accordion-item>.tedi-accordion-item__card:has(.tedi-accordion-icon)>.tedi-accordion-item-header-host>.tedi-accordion-item-header{grid-area:accordion-header;border-top-left-radius:0;border-bottom-left-radius:0;border-left:transparent}.tedi-accordion-item>.tedi-accordion-item__card:has(.tedi-accordion-icon)>.tedi-accordion-item-content>.tedi-card-content{border-bottom-left-radius:0;border-left:transparent}.tedi-accordion-item>.tedi-accordion-item__card:has(.tedi-accordion-icon)>.tedi-accordion-item-content{grid-area:accordion-content}@keyframes accordion-content-overflow-transition{to{overflow:visible}}\n"] }]
213
213
  }] });
214
214
 
215
+ /**
216
+ * @deprecated Use Accordion from TEDI-ready instead. This component will be removed from future versions.
217
+ */
215
218
  class AccordionComponent {
216
219
  /**
217
220
  * id-s of items that should be opened by default.
@@ -733,6 +736,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
733
736
  }, styles: [".tedi-form-field{display:flex;flex-direction:column}\n"] }]
734
737
  }] });
735
738
 
739
+ /**
740
+ * @deprecated Use TextField from TEDI-ready instead. This component will be removed from future versions.
741
+ */
736
742
  class InputComponent {
737
743
  /**
738
744
  * Size of the input.