@masterteam/client-components 0.0.82 → 0.0.84

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": "@masterteam/client-components",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/client-components",
6
6
  "linkDirectory": true,
@@ -18,7 +18,7 @@
18
18
  "tailwindcss-primeui": "^0.6.1",
19
19
  "@masterteam/forms": "^0.0.136",
20
20
  "@masterteam/icons": "^0.0.17",
21
- "@masterteam/components": "^0.0.271",
21
+ "@masterteam/components": "^0.0.273",
22
22
  "@masterteam/dashboard-builder": "^0.0.80"
23
23
  },
24
24
  "dependencies": {
@@ -32,6 +32,16 @@ interface ClientListBaseConfiguration {
32
32
  layout?: ClientListLayoutConfig;
33
33
  headerStart?: TemplateRef<ClientListContentTemplateContext>;
34
34
  headerEnd?: TemplateRef<ClientListContentTemplateContext>;
35
+ /**
36
+ * Templates rendered inside the list's own toolbar row, alongside the search
37
+ * box / filter / export controls, rather than above it. Use these for a
38
+ * control that belongs to the list itself (a view switcher, a scope picker)
39
+ * so it reads as one toolbar instead of a second floating row. `headerStart`
40
+ * / `headerEnd` remain the slots for the title row, which only renders when
41
+ * `showHeader` is on. Rendered without a context object.
42
+ */
43
+ toolbarStart?: TemplateRef<unknown>;
44
+ toolbarEnd?: TemplateRef<unknown>;
35
45
  contentStart?: TemplateRef<ClientListContentTemplateContext>;
36
46
  contentEnd?: TemplateRef<ClientListContentTemplateContext>;
37
47
  templateContent?: TemplateRef<ClientListContentTemplateContext>;
@@ -440,6 +450,8 @@ interface NormalizedClientListConfiguration {
440
450
  layout: Required<ClientListLayoutConfig>;
441
451
  headerStart?: TemplateRef<ClientListContentTemplateContext>;
442
452
  headerEnd?: TemplateRef<ClientListContentTemplateContext>;
453
+ toolbarStart?: TemplateRef<unknown>;
454
+ toolbarEnd?: TemplateRef<unknown>;
443
455
  contentStart?: TemplateRef<ClientListContentTemplateContext>;
444
456
  contentEnd?: TemplateRef<ClientListContentTemplateContext>;
445
457
  templateContent?: TemplateRef<ClientListContentTemplateContext>;