@quadrel-enterprise-ui/framework 21.20.0 → 21.20.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "21.20.0",
3
+ "version": "21.20.1",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -3,4 +3,5 @@
3
3
  @use "generic.layout" as generic3;
4
4
  @use "generic.resetButton" as generic4;
5
5
  @use "generic.checkbox" as generic5;
6
+ @use "generic.focus" as generic6;
6
7
  @import "@angular/cdk/overlay-prebuilt.css";
@@ -0,0 +1,6 @@
1
+ @use "../tools/tools.mixins";
2
+
3
+ button:focus-visible,
4
+ a:focus-visible {
5
+ @include tools.focus-ring;
6
+ }
@@ -1,6 +1,5 @@
1
1
  button {
2
2
  border: none;
3
3
  cursor: pointer;
4
- outline: none;
5
4
  user-select: none;
6
5
  }
@@ -126,4 +126,5 @@
126
126
 
127
127
  @mixin focus-ring-inset {
128
128
  box-shadow: inset 0 0 0 tokens.$focus-ring-width tokens.$focus-ring-color;
129
+ outline: none;
129
130
  }
@@ -19087,6 +19087,11 @@ declare class QdCommentsComponent {
19087
19087
  private translateService;
19088
19088
  private dialogService;
19089
19089
  config: QdCommentsConfig;
19090
+ /**
19091
+ * Root of the test ids. The add button gets `-add`, each comment `-comment-<index>`,
19092
+ * its menu opener `-menu-opener-<index>` and the menu entries `-menu-<index>-action`.
19093
+ */
19094
+ testId: string;
19090
19095
  set comments(value: QdComment[]);
19091
19096
  private _hasComments$;
19092
19097
  private readonly _locale;
@@ -19097,7 +19102,7 @@ declare class QdCommentsComponent {
19097
19102
  clickComment(comment: QdComment): void;
19098
19103
  addNew(): void;
19099
19104
  static ɵfac: i0.ɵɵFactoryDeclaration<QdCommentsComponent, never>;
19100
- static ɵcmp: i0.ɵɵComponentDeclaration<QdCommentsComponent, "qd-comments", never, { "config": { "alias": "config"; "required": true; }; "comments": { "alias": "comments"; "required": false; }; }, {}, never, never, false, never>;
19105
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdCommentsComponent, "qd-comments", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; "comments": { "alias": "comments"; "required": false; }; }, {}, never, never, false, never>;
19101
19106
  }
19102
19107
 
19103
19108
  /**
@@ -19665,8 +19670,12 @@ declare class QdMockFrameworkModule {
19665
19670
  declare class QdCommentMenuComponent {
19666
19671
  menuActions?: QdCommentSecondaryActionConfig[];
19667
19672
  comment: QdComment;
19673
+ /**
19674
+ * Root of the test ids. Every menu entry gets `-action`.
19675
+ */
19676
+ testId: string;
19668
19677
  static ɵfac: i0.ɵɵFactoryDeclaration<QdCommentMenuComponent, never>;
19669
- static ɵcmp: i0.ɵɵComponentDeclaration<QdCommentMenuComponent, "qd-comment-menu", never, { "menuActions": { "alias": "menuActions"; "required": false; }; "comment": { "alias": "comment"; "required": false; }; }, {}, never, never, false, never>;
19678
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdCommentMenuComponent, "qd-comment-menu", never, { "menuActions": { "alias": "menuActions"; "required": false; }; "comment": { "alias": "comment"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
19670
19679
  }
19671
19680
 
19672
19681
  declare class AddCommentDialogComponent {