@masmarino/gabarit 2.1.0 → 2.2.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.
Files changed (109) hide show
  1. package/command-palette/README.md +65 -0
  2. package/fesm2022/masmarino-gabarit-accordion.mjs +6 -6
  3. package/fesm2022/masmarino-gabarit-alert.mjs +3 -3
  4. package/fesm2022/masmarino-gabarit-app-shell.mjs +8 -8
  5. package/fesm2022/masmarino-gabarit-app-shell.mjs.map +1 -1
  6. package/fesm2022/masmarino-gabarit-auth-activate.mjs +3 -3
  7. package/fesm2022/masmarino-gabarit-auth-login.mjs +3 -3
  8. package/fesm2022/masmarino-gabarit-auth-register.mjs +3 -3
  9. package/fesm2022/masmarino-gabarit-auth-reset-password.mjs +3 -3
  10. package/fesm2022/masmarino-gabarit-auth.mjs +12 -12
  11. package/fesm2022/masmarino-gabarit-autocomplete.mjs +10 -12
  12. package/fesm2022/masmarino-gabarit-autocomplete.mjs.map +1 -1
  13. package/fesm2022/masmarino-gabarit-avatar-group.mjs +8 -5
  14. package/fesm2022/masmarino-gabarit-avatar-group.mjs.map +1 -1
  15. package/fesm2022/masmarino-gabarit-avatar.mjs +3 -3
  16. package/fesm2022/masmarino-gabarit-badge.mjs +3 -3
  17. package/fesm2022/masmarino-gabarit-bar-chart.mjs +6 -6
  18. package/fesm2022/masmarino-gabarit-breadcrumb.mjs +3 -3
  19. package/fesm2022/masmarino-gabarit-button.mjs +3 -3
  20. package/fesm2022/masmarino-gabarit-card.mjs +9 -9
  21. package/fesm2022/masmarino-gabarit-chart.mjs +21 -21
  22. package/fesm2022/masmarino-gabarit-checkbox-group.mjs +3 -3
  23. package/fesm2022/masmarino-gabarit-checkbox.mjs +3 -3
  24. package/fesm2022/masmarino-gabarit-command-palette.mjs +649 -0
  25. package/fesm2022/masmarino-gabarit-command-palette.mjs.map +1 -0
  26. package/fesm2022/masmarino-gabarit-confirm-danger-modal.mjs +3 -3
  27. package/fesm2022/masmarino-gabarit-copy-button.mjs +3 -3
  28. package/fesm2022/masmarino-gabarit-copy-field.mjs +3 -3
  29. package/fesm2022/masmarino-gabarit-date-picker.mjs +15 -11
  30. package/fesm2022/masmarino-gabarit-date-picker.mjs.map +1 -1
  31. package/fesm2022/masmarino-gabarit-description-list.mjs +3 -3
  32. package/fesm2022/masmarino-gabarit-dimension-card.mjs +3 -3
  33. package/fesm2022/masmarino-gabarit-disclosure.mjs +3 -3
  34. package/fesm2022/masmarino-gabarit-divider.mjs +3 -3
  35. package/fesm2022/masmarino-gabarit-docs.mjs +26 -22
  36. package/fesm2022/masmarino-gabarit-docs.mjs.map +1 -1
  37. package/fesm2022/masmarino-gabarit-drawer.mjs +3 -3
  38. package/fesm2022/masmarino-gabarit-empty-state.mjs +3 -3
  39. package/fesm2022/masmarino-gabarit-file-upload.mjs +3 -3
  40. package/fesm2022/masmarino-gabarit-floating-panel.mjs +12 -1
  41. package/fesm2022/masmarino-gabarit-floating-panel.mjs.map +1 -1
  42. package/fesm2022/masmarino-gabarit-format.mjs +9 -9
  43. package/fesm2022/masmarino-gabarit-funnel-chart.mjs +3 -3
  44. package/fesm2022/masmarino-gabarit-gauge-bar.mjs +3 -3
  45. package/fesm2022/masmarino-gabarit-git-field.mjs +3 -3
  46. package/fesm2022/masmarino-gabarit-icon-marker.mjs +3 -3
  47. package/fesm2022/masmarino-gabarit-icon.mjs +6 -6
  48. package/fesm2022/masmarino-gabarit-input.mjs +3 -3
  49. package/fesm2022/masmarino-gabarit-job-graph.mjs +3 -3
  50. package/fesm2022/masmarino-gabarit-job-status.mjs +3 -3
  51. package/fesm2022/masmarino-gabarit-line-chart.mjs +6 -6
  52. package/fesm2022/masmarino-gabarit-list-card.mjs +3 -3
  53. package/fesm2022/masmarino-gabarit-list-row.mjs +3 -3
  54. package/fesm2022/masmarino-gabarit-list-toolbar.mjs +3 -3
  55. package/fesm2022/masmarino-gabarit-menu.mjs +14 -11
  56. package/fesm2022/masmarino-gabarit-menu.mjs.map +1 -1
  57. package/fesm2022/masmarino-gabarit-mfa-enrollment.mjs +9 -9
  58. package/fesm2022/masmarino-gabarit-mfa-settings.mjs +3 -3
  59. package/fesm2022/masmarino-gabarit-modal.mjs +3 -3
  60. package/fesm2022/masmarino-gabarit-nav-tabs.mjs +6 -6
  61. package/fesm2022/masmarino-gabarit-notification-dot.mjs +3 -3
  62. package/fesm2022/masmarino-gabarit-page-header.mjs +3 -3
  63. package/fesm2022/masmarino-gabarit-page-layout.mjs +3 -3
  64. package/fesm2022/masmarino-gabarit-pagination.mjs +3 -3
  65. package/fesm2022/masmarino-gabarit-panel.mjs +3 -3
  66. package/fesm2022/masmarino-gabarit-passkey-settings.mjs +3 -3
  67. package/fesm2022/masmarino-gabarit-pie-chart.mjs +3 -3
  68. package/fesm2022/masmarino-gabarit-popover.mjs +8 -5
  69. package/fesm2022/masmarino-gabarit-popover.mjs.map +1 -1
  70. package/fesm2022/masmarino-gabarit-radio-group.mjs +3 -3
  71. package/fesm2022/masmarino-gabarit-save-status.mjs +3 -3
  72. package/fesm2022/masmarino-gabarit-search-bar.mjs +3 -3
  73. package/fesm2022/masmarino-gabarit-secret-reveal.mjs +3 -3
  74. package/fesm2022/masmarino-gabarit-segmented-control.mjs +3 -3
  75. package/fesm2022/masmarino-gabarit-select.mjs +8 -6
  76. package/fesm2022/masmarino-gabarit-select.mjs.map +1 -1
  77. package/fesm2022/masmarino-gabarit-skeleton-list.mjs +3 -3
  78. package/fesm2022/masmarino-gabarit-skeleton.mjs +3 -3
  79. package/fesm2022/masmarino-gabarit-slider.mjs +3 -3
  80. package/fesm2022/masmarino-gabarit-sparkline.mjs +3 -3
  81. package/fesm2022/masmarino-gabarit-spinner.mjs +3 -3
  82. package/fesm2022/masmarino-gabarit-stat-grid.mjs +3 -3
  83. package/fesm2022/masmarino-gabarit-stat-tile.mjs +6 -6
  84. package/fesm2022/masmarino-gabarit-stepper.mjs +3 -3
  85. package/fesm2022/masmarino-gabarit-switch.mjs +3 -3
  86. package/fesm2022/masmarino-gabarit-table.mjs +3 -3
  87. package/fesm2022/masmarino-gabarit-tabs.mjs +6 -6
  88. package/fesm2022/masmarino-gabarit-tag-input.mjs +3 -3
  89. package/fesm2022/masmarino-gabarit-tag.mjs +3 -3
  90. package/fesm2022/masmarino-gabarit-textarea.mjs +3 -3
  91. package/fesm2022/masmarino-gabarit-timeline-chart.mjs +6 -6
  92. package/fesm2022/masmarino-gabarit-toaster.mjs +6 -6
  93. package/fesm2022/masmarino-gabarit-tooltip.mjs +8 -5
  94. package/fesm2022/masmarino-gabarit-tooltip.mjs.map +1 -1
  95. package/fesm2022/masmarino-gabarit-tree.mjs +3 -3
  96. package/fesm2022/masmarino-gabarit-user-chip.mjs +3 -3
  97. package/fesm2022/masmarino-gabarit.mjs +3 -2
  98. package/fesm2022/masmarino-gabarit.mjs.map +1 -1
  99. package/package.json +5 -1
  100. package/types/masmarino-gabarit-autocomplete.d.ts +1 -0
  101. package/types/masmarino-gabarit-avatar-group.d.ts +1 -0
  102. package/types/masmarino-gabarit-command-palette.d.ts +218 -0
  103. package/types/masmarino-gabarit-date-picker.d.ts +2 -0
  104. package/types/masmarino-gabarit-floating-panel.d.ts +8 -1
  105. package/types/masmarino-gabarit-menu.d.ts +1 -0
  106. package/types/masmarino-gabarit-popover.d.ts +1 -0
  107. package/types/masmarino-gabarit-select.d.ts +1 -0
  108. package/types/masmarino-gabarit-tooltip.d.ts +1 -0
  109. package/types/masmarino-gabarit.d.ts +3 -2
@@ -1,5 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { ChangeDetectionStrategy, Component, ElementRef, inject, input, signal } from "@angular/core";
3
+ import { followPageScroll } from "@masmarino/gabarit/floating-panel";
3
4
  const SHOW_DELAY_MS = 400;
4
5
  const FADE_MS = 120;
5
6
  const GAP_PX = 8;
@@ -32,6 +33,9 @@ var Tooltip = class Tooltip {
32
33
  this.updatePosition();
33
34
  this.visible.set(true);
34
35
  }
36
+ constructor() {
37
+ followPageScroll(() => this.updatePosition());
38
+ }
35
39
  updatePosition() {
36
40
  const rect = this.elementRef.nativeElement.getBoundingClientRect();
37
41
  switch (this.position()) {
@@ -84,7 +88,7 @@ var Tooltip = class Tooltip {
84
88
  }
85
89
  static ɵfac = i0.ɵɵngDeclareFactory({
86
90
  minVersion: "12.0.0",
87
- version: "22.2.0",
91
+ version: "22.2.1",
88
92
  ngImport: i0,
89
93
  type: Tooltip,
90
94
  deps: [],
@@ -92,7 +96,7 @@ var Tooltip = class Tooltip {
92
96
  });
93
97
  static ɵcmp = i0.ɵɵngDeclareComponent({
94
98
  minVersion: "17.0.0",
95
- version: "22.2.0",
99
+ version: "22.2.1",
96
100
  type: Tooltip,
97
101
  isStandalone: true,
98
102
  selector: "gbt-tooltip",
@@ -119,7 +123,6 @@ var Tooltip = class Tooltip {
119
123
  "focusin": "onFocusIn()",
120
124
  "focusout": "hide()",
121
125
  "keydown.escape": "hide()",
122
- "window:scroll": "updatePosition()",
123
126
  "window:resize": "updatePosition()"
124
127
  },
125
128
  classAttribute: "gbt-tooltip-host"
@@ -133,7 +136,7 @@ var Tooltip = class Tooltip {
133
136
  };
134
137
  i0.ɵɵngDeclareClassMetadata({
135
138
  minVersion: "12.0.0",
136
- version: "22.2.0",
139
+ version: "22.2.1",
137
140
  ngImport: i0,
138
141
  type: Tooltip,
139
142
  decorators: [{
@@ -151,13 +154,13 @@ i0.ɵɵngDeclareClassMetadata({
151
154
  "(focusin)": "onFocusIn()",
152
155
  "(focusout)": "hide()",
153
156
  "(keydown.escape)": "hide()",
154
- "(window:scroll)": "updatePosition()",
155
157
  "(window:resize)": "updatePosition()"
156
158
  },
157
159
  template: "<ng-content />\n@if (visible() && coords(); as pos) {\n <span\n class=\"gbt-tooltip__bubble\"\n [class.gbt-tooltip__bubble--leaving]=\"closing()\"\n role=\"tooltip\"\n [id]=\"tooltipId\"\n [attr.data-position]=\"position()\"\n [style.top.px]=\"pos.top\"\n [style.left.px]=\"pos.left\"\n >\n {{ text() }}\n </span>\n}\n",
158
160
  styles: [".gbt-tooltip-host{display:inline-block}.gbt-tooltip__bubble{position:fixed;z-index:1100;max-width:240px;padding:.375rem .625rem;background:var(--bg-inverse);color:var(--text-on-color);text-align:center;white-space:normal;border:1px solid rgba(255,255,255,.15);border-radius:var(--site-border-radius-sm);box-shadow:var(--site-shadow-md);font-size:.8125rem;line-height:1.3;pointer-events:none}.gbt-tooltip__bubble[data-position=top]{transform:translate(-50%,-100%)}.gbt-tooltip__bubble[data-position=bottom]{transform:translate(-50%)}.gbt-tooltip__bubble[data-position=left]{transform:translate(-100%,-50%)}.gbt-tooltip__bubble[data-position=right]{transform:translateY(-50%)}.gbt-tooltip__bubble{animation:gbt-tooltip-fade-in .12s ease-out}.gbt-tooltip__bubble.gbt-tooltip__bubble--leaving{animation:gbt-tooltip-fade-out .12s ease-in forwards}@keyframes gbt-tooltip-fade-in{0%{opacity:0}to{opacity:1}}@keyframes gbt-tooltip-fade-out{0%{opacity:1}to{opacity:0}}\n"]
159
161
  }]
160
162
  }],
163
+ ctorParameters: () => [],
161
164
  propDecorators: {
162
165
  text: [{
163
166
  type: i0.Input,
@@ -1 +1 @@
1
- {"version":3,"file":"masmarino-gabarit-tooltip.mjs","names":[],"sources":["../../../projects/gabarit/tooltip/tooltip.ts","../../../projects/gabarit/tooltip/tooltip.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n OnDestroy,\n inject,\n input,\n signal,\n} from '@angular/core'\n\nexport type TooltipPosition = 'top' | 'bottom' | 'left' | 'right'\n\ninterface TooltipCoords {\n top: number\n left: number\n}\n\nconst SHOW_DELAY_MS = 400\nconst FADE_MS = 120\nconst GAP_PX = 8\n\nlet nextId = 0\n\n@Component({\n selector: 'gbt-tooltip',\n standalone: true,\n exportAs: 'gbtTooltip',\n imports: [],\n templateUrl: './tooltip.html',\n styleUrl: './tooltip.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'gbt-tooltip-host',\n '(mouseenter)': 'onMouseEnter()',\n '(mouseleave)': 'hide()',\n '(focusin)': 'onFocusIn()',\n '(focusout)': 'hide()',\n '(keydown.escape)': 'hide()',\n '(window:scroll)': 'updatePosition()',\n '(window:resize)': 'updatePosition()',\n },\n})\nexport class Tooltip implements OnDestroy {\n private readonly elementRef = inject(ElementRef<HTMLElement>)\n\n text = input.required<string>()\n position = input<TooltipPosition>('top')\n\n readonly tooltipId = `gbt-tooltip-${++nextId}`\n\n protected readonly visible = signal(false)\n protected readonly closing = signal(false)\n protected readonly coords = signal<TooltipCoords | null>(null)\n\n private showTimer: ReturnType<typeof setTimeout> | null = null\n private hideTimer: ReturnType<typeof setTimeout> | null = null\n\n protected onMouseEnter(): void {\n this.showTimer = setTimeout(() => {\n this.showTimer = null\n this.show()\n }, SHOW_DELAY_MS)\n }\n\n protected onFocusIn(): void {\n this.show()\n }\n\n private show(): void {\n if (this.hideTimer !== null) {\n clearTimeout(this.hideTimer)\n this.hideTimer = null\n }\n this.closing.set(false)\n this.updatePosition()\n this.visible.set(true)\n }\n\n protected updatePosition(): void {\n const rect = this.elementRef.nativeElement.getBoundingClientRect()\n switch (this.position()) {\n case 'top':\n this.coords.set({ top: rect.top - GAP_PX, left: rect.left + rect.width / 2 })\n break\n case 'bottom':\n this.coords.set({ top: rect.bottom + GAP_PX, left: rect.left + rect.width / 2 })\n break\n case 'left':\n this.coords.set({ top: rect.top + rect.height / 2, left: rect.left - GAP_PX })\n break\n case 'right':\n this.coords.set({ top: rect.top + rect.height / 2, left: rect.right + GAP_PX })\n break\n }\n }\n\n protected hide(): void {\n if (this.showTimer !== null) {\n clearTimeout(this.showTimer)\n this.showTimer = null\n }\n if (!this.visible() || this.closing()) return\n this.closing.set(true)\n this.hideTimer = setTimeout(() => {\n this.hideTimer = null\n this.closing.set(false)\n this.visible.set(false)\n }, FADE_MS)\n }\n\n ngOnDestroy(): void {\n if (this.showTimer !== null) {\n clearTimeout(this.showTimer)\n this.showTimer = null\n }\n if (this.hideTimer !== null) {\n clearTimeout(this.hideTimer)\n this.hideTimer = null\n }\n }\n}\n","<ng-content />\n@if (visible() && coords(); as pos) {\n <span\n class=\"gbt-tooltip__bubble\"\n [class.gbt-tooltip__bubble--leaving]=\"closing()\"\n role=\"tooltip\"\n [id]=\"tooltipId\"\n [attr.data-position]=\"position()\"\n [style.top.px]=\"pos.top\"\n [style.left.px]=\"pos.left\"\n >\n {{ text() }}\n </span>\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"masmarino-gabarit-tooltip.mjs","names":[],"sources":["../../../projects/gabarit/tooltip/tooltip.ts","../../../projects/gabarit/tooltip/tooltip.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n OnDestroy,\n inject,\n input,\n signal,\n} from '@angular/core'\nimport { followPageScroll } from '@masmarino/gabarit/floating-panel'\n\nexport type TooltipPosition = 'top' | 'bottom' | 'left' | 'right'\n\ninterface TooltipCoords {\n top: number\n left: number\n}\n\nconst SHOW_DELAY_MS = 400\nconst FADE_MS = 120\nconst GAP_PX = 8\n\nlet nextId = 0\n\n@Component({\n selector: 'gbt-tooltip',\n standalone: true,\n exportAs: 'gbtTooltip',\n imports: [],\n templateUrl: './tooltip.html',\n styleUrl: './tooltip.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'gbt-tooltip-host',\n '(mouseenter)': 'onMouseEnter()',\n '(mouseleave)': 'hide()',\n '(focusin)': 'onFocusIn()',\n '(focusout)': 'hide()',\n '(keydown.escape)': 'hide()',\n '(window:resize)': 'updatePosition()',\n },\n})\nexport class Tooltip implements OnDestroy {\n private readonly elementRef = inject(ElementRef<HTMLElement>)\n\n text = input.required<string>()\n position = input<TooltipPosition>('top')\n\n readonly tooltipId = `gbt-tooltip-${++nextId}`\n\n protected readonly visible = signal(false)\n protected readonly closing = signal(false)\n protected readonly coords = signal<TooltipCoords | null>(null)\n\n private showTimer: ReturnType<typeof setTimeout> | null = null\n private hideTimer: ReturnType<typeof setTimeout> | null = null\n\n protected onMouseEnter(): void {\n this.showTimer = setTimeout(() => {\n this.showTimer = null\n this.show()\n }, SHOW_DELAY_MS)\n }\n\n protected onFocusIn(): void {\n this.show()\n }\n\n private show(): void {\n if (this.hideTimer !== null) {\n clearTimeout(this.hideTimer)\n this.hideTimer = null\n }\n this.closing.set(false)\n this.updatePosition()\n this.visible.set(true)\n }\n\n constructor() {\n followPageScroll(() => this.updatePosition())\n }\n\n protected updatePosition(): void {\n const rect = this.elementRef.nativeElement.getBoundingClientRect()\n switch (this.position()) {\n case 'top':\n this.coords.set({ top: rect.top - GAP_PX, left: rect.left + rect.width / 2 })\n break\n case 'bottom':\n this.coords.set({ top: rect.bottom + GAP_PX, left: rect.left + rect.width / 2 })\n break\n case 'left':\n this.coords.set({ top: rect.top + rect.height / 2, left: rect.left - GAP_PX })\n break\n case 'right':\n this.coords.set({ top: rect.top + rect.height / 2, left: rect.right + GAP_PX })\n break\n }\n }\n\n protected hide(): void {\n if (this.showTimer !== null) {\n clearTimeout(this.showTimer)\n this.showTimer = null\n }\n if (!this.visible() || this.closing()) return\n this.closing.set(true)\n this.hideTimer = setTimeout(() => {\n this.hideTimer = null\n this.closing.set(false)\n this.visible.set(false)\n }, FADE_MS)\n }\n\n ngOnDestroy(): void {\n if (this.showTimer !== null) {\n clearTimeout(this.showTimer)\n this.showTimer = null\n }\n if (this.hideTimer !== null) {\n clearTimeout(this.hideTimer)\n this.hideTimer = null\n }\n }\n}\n","<ng-content />\n@if (visible() && coords(); as pos) {\n <span\n class=\"gbt-tooltip__bubble\"\n [class.gbt-tooltip__bubble--leaving]=\"closing()\"\n role=\"tooltip\"\n [id]=\"tooltipId\"\n [attr.data-position]=\"position()\"\n [style.top.px]=\"pos.top\"\n [style.left.px]=\"pos.left\"\n >\n {{ text() }}\n </span>\n}\n"],"mappings":"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"}
@@ -105,7 +105,7 @@ var Tree = class Tree {
105
105
  }
106
106
  static ɵfac = i0.ɵɵngDeclareFactory({
107
107
  minVersion: "12.0.0",
108
- version: "22.2.0",
108
+ version: "22.2.1",
109
109
  ngImport: i0,
110
110
  type: Tree,
111
111
  deps: [],
@@ -113,7 +113,7 @@ var Tree = class Tree {
113
113
  });
114
114
  static ɵcmp = i0.ɵɵngDeclareComponent({
115
115
  minVersion: "17.0.0",
116
- version: "22.2.0",
116
+ version: "22.2.1",
117
117
  type: Tree,
118
118
  isStandalone: true,
119
119
  selector: "gbt-tree",
@@ -179,7 +179,7 @@ var Tree = class Tree {
179
179
  };
180
180
  i0.ɵɵngDeclareClassMetadata({
181
181
  minVersion: "12.0.0",
182
- version: "22.2.0",
182
+ version: "22.2.1",
183
183
  ngImport: i0,
184
184
  type: Tree,
185
185
  decorators: [{
@@ -7,7 +7,7 @@ var UserChip = class UserChip {
7
7
  src = input(null, ...ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []);
8
8
  static ɵfac = i0.ɵɵngDeclareFactory({
9
9
  minVersion: "12.0.0",
10
- version: "22.2.0",
10
+ version: "22.2.1",
11
11
  ngImport: i0,
12
12
  type: UserChip,
13
13
  deps: [],
@@ -15,7 +15,7 @@ var UserChip = class UserChip {
15
15
  });
16
16
  static ɵcmp = i0.ɵɵngDeclareComponent({
17
17
  minVersion: "17.1.0",
18
- version: "22.2.0",
18
+ version: "22.2.1",
19
19
  type: UserChip,
20
20
  isStandalone: true,
21
21
  selector: "gbt-user-chip",
@@ -60,7 +60,7 @@ var UserChip = class UserChip {
60
60
  };
61
61
  i0.ɵɵngDeclareClassMetadata({
62
62
  minVersion: "12.0.0",
63
- version: "22.2.0",
63
+ version: "22.2.1",
64
64
  ngImport: i0,
65
65
  type: UserChip,
66
66
  decorators: [{
@@ -17,6 +17,7 @@ import { Modal } from "@masmarino/gabarit/modal";
17
17
  import { Drawer } from "@masmarino/gabarit/drawer";
18
18
  import { Table } from "@masmarino/gabarit/table";
19
19
  import { SearchBar } from "@masmarino/gabarit/search-bar";
20
+ import { CommandPalette, CommandPaletteTrigger, matchCommand, shortcutLabel } from "@masmarino/gabarit/command-palette";
20
21
  import { Tab, Tabs } from "@masmarino/gabarit/tabs";
21
22
  import { CHART_CONTEXT, ChartAxis, ChartEmpty, ChartFrame, ChartLegend, ChartTable, ChartTooltip, arcPath, areaPath, bandScale, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, timeScale, timeTicks } from "@masmarino/gabarit/chart";
22
23
  import { GbtBytesPipe, GbtDateTimePipe, GbtRelativeTimePipe, computeInitials, formatBytes, formatCompact, formatDateTime, formatDuration, formatNumber, formatPercent, formatRelativeTime } from "@masmarino/gabarit/format";
@@ -79,7 +80,7 @@ import { AuthResetPassword } from "@masmarino/gabarit/auth-reset-password";
79
80
  import { MfaSettings } from "@masmarino/gabarit/mfa-settings";
80
81
  import { PasskeySettings } from "@masmarino/gabarit/passkey-settings";
81
82
  import { GitField } from "@masmarino/gabarit/git-field";
82
- const GABARIT_VERSION = "2.1.0";
83
- export { ACTIVATION_TOKEN_SHAPE, AUTH_LABELS, AUTH_PORT, AUTH_PORT_ERROR_BODIES, Accordion, AccordionItem, Alert, AppShell, AppShellNavGroup, AuthActivate, AuthFooter, AuthFooterLink, AuthLogin, AuthPanel, AuthRegister, AuthResetPassword, Autocomplete, Avatar, AvatarGroup, BackupCodes, Badge, BarChart, BarSeries, Breadcrumb, Button, CHART_CONTEXT, COPY_FIELD_WRAP_AT, Card, CardHeader, CardLink, ChartAxis, ChartEmpty, ChartFrame, ChartLegend, ChartTable, ChartTooltip, Checkbox, CheckboxGroup, ClipboardFeedback, ConfirmDangerModal, CopyButton, CopyField, DEFAULT_ACTIVATE_LABELS, DEFAULT_BACKUP_CODES_LABELS, DEFAULT_LOGIN_LABELS, DEFAULT_MFA_ENROLLMENT_LABELS, DEFAULT_MFA_SETTINGS_LABELS, DEFAULT_PASSKEY_SETTINGS_LABELS, DEFAULT_REGISTER_LABELS, DEFAULT_RESET_PASSWORD_LABELS, DEFAULT_TOTP_QR_LABELS, DatePicker, DateRangePicker, DescriptionList, DimensionCard, Disclosure, Divider, Drawer, EmptyState, FileUpload, FunnelChart, GABARIT_VERSION, GaugeBar, GbtBytesPipe, GbtDateTimePipe, GbtInput, GbtRelativeTimePipe, GbtToastService, GitField, Icon, IconMarker, IconRegistry, JobGraph, JobStatus, LineChart, LineSeries, ListCard, ListRow, ListToolbar, MFA_PORT, MIN_PASSWORD_LENGTH, Menu, MenuItem, MenuTrigger, MfaEnrollment, MfaSettings, MfaSettingsState, Modal, NavTab, NavTabs, NotificationDot, PASSKEY_NAME_MAX, PageHeader, PageLayout, Pagination, Panel, PasskeySettings, PieChart, Popover, RadioGroup, SaveStatus, SearchBar, SecretReveal, SegmentedControl, Select, Skeleton, SkeletonList, Slider, Sparkline, Spinner, StatGrid, StatTile, StatTileLink, Stepper, Switch, TOTP_QR_RENDERER, Tab, Table, Tabs, Tag, TagInput, Textarea, TimelineChart, TimelineSeries, Toaster, Tooltip, TotpQr, Tree, USERNAME_PATTERN, UserChip, accountName, activationToken, arcPath, areaPath, bandScale, base64UrlToBuffer, bufferToBase64Url, classifyActivateFailure, classifyMfaFailure, classifyPasskeyError, classifyPasswordFailure, classifyRegisterFailure, computeInitials, copyToClipboard, createListToolbarState, createPasskeyCredential, emailProblem, formatBytes, formatCompact, formatDateTime, formatDuration, formatNumber, formatPercent, formatRelativeTime, getPasskeyAssertion, isAuthPortError, isTooManyPasskeys, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, passkeyNameProblem, passkeysSupported, passwordProblem, portErrorMessage, provideAuthLabels, selectContents, timeScale, timeTicks, usernameProblem };
83
+ const GABARIT_VERSION = "2.2.1";
84
+ export { ACTIVATION_TOKEN_SHAPE, AUTH_LABELS, AUTH_PORT, AUTH_PORT_ERROR_BODIES, Accordion, AccordionItem, Alert, AppShell, AppShellNavGroup, AuthActivate, AuthFooter, AuthFooterLink, AuthLogin, AuthPanel, AuthRegister, AuthResetPassword, Autocomplete, Avatar, AvatarGroup, BackupCodes, Badge, BarChart, BarSeries, Breadcrumb, Button, CHART_CONTEXT, COPY_FIELD_WRAP_AT, Card, CardHeader, CardLink, ChartAxis, ChartEmpty, ChartFrame, ChartLegend, ChartTable, ChartTooltip, Checkbox, CheckboxGroup, ClipboardFeedback, CommandPalette, CommandPaletteTrigger, ConfirmDangerModal, CopyButton, CopyField, DEFAULT_ACTIVATE_LABELS, DEFAULT_BACKUP_CODES_LABELS, DEFAULT_LOGIN_LABELS, DEFAULT_MFA_ENROLLMENT_LABELS, DEFAULT_MFA_SETTINGS_LABELS, DEFAULT_PASSKEY_SETTINGS_LABELS, DEFAULT_REGISTER_LABELS, DEFAULT_RESET_PASSWORD_LABELS, DEFAULT_TOTP_QR_LABELS, DatePicker, DateRangePicker, DescriptionList, DimensionCard, Disclosure, Divider, Drawer, EmptyState, FileUpload, FunnelChart, GABARIT_VERSION, GaugeBar, GbtBytesPipe, GbtDateTimePipe, GbtInput, GbtRelativeTimePipe, GbtToastService, GitField, Icon, IconMarker, IconRegistry, JobGraph, JobStatus, LineChart, LineSeries, ListCard, ListRow, ListToolbar, MFA_PORT, MIN_PASSWORD_LENGTH, Menu, MenuItem, MenuTrigger, MfaEnrollment, MfaSettings, MfaSettingsState, Modal, NavTab, NavTabs, NotificationDot, PASSKEY_NAME_MAX, PageHeader, PageLayout, Pagination, Panel, PasskeySettings, PieChart, Popover, RadioGroup, SaveStatus, SearchBar, SecretReveal, SegmentedControl, Select, Skeleton, SkeletonList, Slider, Sparkline, Spinner, StatGrid, StatTile, StatTileLink, Stepper, Switch, TOTP_QR_RENDERER, Tab, Table, Tabs, Tag, TagInput, Textarea, TimelineChart, TimelineSeries, Toaster, Tooltip, TotpQr, Tree, USERNAME_PATTERN, UserChip, accountName, activationToken, arcPath, areaPath, bandScale, base64UrlToBuffer, bufferToBase64Url, classifyActivateFailure, classifyMfaFailure, classifyPasskeyError, classifyPasswordFailure, classifyRegisterFailure, computeInitials, copyToClipboard, createListToolbarState, createPasskeyCredential, emailProblem, formatBytes, formatCompact, formatDateTime, formatDuration, formatNumber, formatPercent, formatRelativeTime, getPasskeyAssertion, isAuthPortError, isTooManyPasskeys, linePath, linearScale, matchCommand, nearestIndex, niceTicks, niceXDomain, niceYDomain, passkeyNameProblem, passkeysSupported, passwordProblem, portErrorMessage, provideAuthLabels, selectContents, shortcutLabel, timeScale, timeTicks, usernameProblem };
84
85
 
85
86
  //# sourceMappingURL=masmarino-gabarit.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"masmarino-gabarit.mjs","names":[],"sources":["../../../projects/gabarit/src/lib/version.ts"],"sourcesContent":["export const GABARIT_VERSION = '2.1.0'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAa,kBAAkB"}
1
+ {"version":3,"file":"masmarino-gabarit.mjs","names":[],"sources":["../../../projects/gabarit/src/lib/version.ts"],"sourcesContent":["export const GABARIT_VERSION = '2.2.1'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAa,kBAAkB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masmarino/gabarit",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "Angular design system — UI components and dataviz for self-hosted applications.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/Masmarino/Gabarit",
@@ -128,6 +128,10 @@
128
128
  "types": "./types/masmarino-gabarit-checkbox-group.d.ts",
129
129
  "default": "./fesm2022/masmarino-gabarit-checkbox-group.mjs"
130
130
  },
131
+ "./command-palette": {
132
+ "types": "./types/masmarino-gabarit-command-palette.d.ts",
133
+ "default": "./fesm2022/masmarino-gabarit-command-palette.mjs"
134
+ },
131
135
  "./confirm-danger-modal": {
132
136
  "types": "./types/masmarino-gabarit-confirm-danger-modal.d.ts",
133
137
  "default": "./fesm2022/masmarino-gabarit-confirm-danger-modal.mjs"
@@ -51,6 +51,7 @@ export declare class Autocomplete<T = unknown> implements ControlValueAccessor,
51
51
  protected onBlur(): void;
52
52
  private scheduleSearch;
53
53
  private runSearch;
54
+ constructor();
54
55
  protected updatePanelPosition(): void;
55
56
  protected selectOption(item: T): void;
56
57
  protected onKeydown(event: KeyboardEvent): void;
@@ -22,6 +22,7 @@ export declare class AvatarGroup<T extends AvatarGroupItem = AvatarGroupItem> {
22
22
  protected isActive(item: T): boolean;
23
23
  protected selectItem(item: T): void;
24
24
  protected toggleOverflowPanel(): void;
25
+ constructor();
25
26
  protected updatePanelPosition(): void;
26
27
  protected handleClickOutside(event: MouseEvent): void;
27
28
  protected onKeydown(event: KeyboardEvent): void;
@@ -0,0 +1,218 @@
1
+ import * as i0 from "@angular/core";
2
+ /** Something the palette offers: a page to open, an action to run, a search result. */
3
+ interface CommandItem<T = unknown> {
4
+ /** Unique within the palette. */
5
+ id: string;
6
+ label: string;
7
+ /** A second, quieter line: a path, an owner, what the action does. */
8
+ description?: string;
9
+ icon?: string;
10
+ /** More words it answers to, beyond its label and description. */
11
+ keywords?: readonly string[];
12
+ /** Keys shown on the right, for display only, e.g. `['G', 'D']`. */
13
+ shortcut?: readonly string[];
14
+ data?: T;
15
+ }
16
+ interface CommandGroup<T = unknown> {
17
+ label: string;
18
+ items: readonly CommandItem<T>[];
19
+ /**
20
+ * `false` for items that already answer the query, like server search results: shown as given. By default the
21
+ * palette keeps the items that match the query, best first.
22
+ */
23
+ filter?: boolean;
24
+ }
25
+ interface IndexedItem<T> {
26
+ item: CommandItem<T>;
27
+ index: number;
28
+ }
29
+ interface IndexedGroup<T> {
30
+ label: string;
31
+ labelId: string;
32
+ items: IndexedItem<T>[];
33
+ }
34
+ /**
35
+ * A palette to search, jump and act from the keyboard: opened with ⌘K on Apple systems and Ctrl+K elsewhere (or other
36
+ * `shortcuts`), it lists groups of commands, filters them as one types, and runs the one chosen. The application
37
+ * supplies the groups (navigation, actions, its own search results, which it can fetch on `queryChange`) and handles
38
+ * `itemSelected`.
39
+ */
40
+ export declare class CommandPalette<T = unknown> {
41
+ private readonly injector;
42
+ open: import("@angular/core").ModelSignal<boolean>;
43
+ groups: import("@angular/core").InputSignal<readonly CommandGroup<T>[]>;
44
+ /** Global shortcuts that open (and close) the palette. Plain keys like `'/'` are ignored while someone types. */
45
+ shortcuts: import("@angular/core").InputSignal<readonly string[]>;
46
+ /** Items kept per filtered group, so a short query doesn't list everything. */
47
+ maxItemsPerGroup: import("@angular/core").InputSignal<number>;
48
+ placeholder: import("@angular/core").InputSignal<string>;
49
+ ariaLabel: import("@angular/core").InputSignal<string>;
50
+ loading: import("@angular/core").InputSignal<boolean>;
51
+ loadingLabel: import("@angular/core").InputSignal<string>;
52
+ emptyMessage: import("@angular/core").InputSignal<string>;
53
+ navigateHint: import("@angular/core").InputSignal<string>;
54
+ selectHint: import("@angular/core").InputSignal<string>;
55
+ closeHint: import("@angular/core").InputSignal<string>;
56
+ /** Names the close button phones get, having no Escape key. */
57
+ closeLabel: import("@angular/core").InputSignal<string>;
58
+ resultsAnnouncement: import("@angular/core").InputSignal<(count: number) => string>;
59
+ queryChange: import("@angular/core").OutputEmitterRef<string>;
60
+ itemSelected: import("@angular/core").OutputEmitterRef<CommandItem<T>>;
61
+ protected readonly id: string;
62
+ protected readonly listId: string;
63
+ protected readonly query: import("@angular/core").WritableSignal<string>;
64
+ protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
65
+ private readonly input;
66
+ private readonly list;
67
+ private previouslyFocused;
68
+ protected readonly visibleGroups: import("@angular/core").Signal<IndexedGroup<T>[]>;
69
+ private readonly visibleItems;
70
+ protected readonly activeId: import("@angular/core").Signal<string | null>;
71
+ protected readonly announcement: import("@angular/core").Signal<string>;
72
+ constructor();
73
+ /** Opens the palette, e.g. from a button. */
74
+ show(): void;
75
+ close(): void;
76
+ protected onDocumentKeydown(event: KeyboardEvent): void;
77
+ protected optionId(index: number): string;
78
+ protected onInput(event: Event): void;
79
+ protected onKeydown(event: KeyboardEvent): void;
80
+ protected activate(index: number): void;
81
+ protected select(item: CommandItem<T>): void;
82
+ protected onBackdropMousedown(event: MouseEvent): void;
83
+ private setQuery;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandPalette<any>, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommandPalette<any>, "gbt-command-palette", never, {
86
+ "open": {
87
+ "alias": "open";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "groups": {
92
+ "alias": "groups";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "shortcuts": {
97
+ "alias": "shortcuts";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ "maxItemsPerGroup": {
102
+ "alias": "maxItemsPerGroup";
103
+ "required": false;
104
+ "isSignal": true;
105
+ };
106
+ "placeholder": {
107
+ "alias": "placeholder";
108
+ "required": false;
109
+ "isSignal": true;
110
+ };
111
+ "ariaLabel": {
112
+ "alias": "ariaLabel";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ "loading": {
117
+ "alias": "loading";
118
+ "required": false;
119
+ "isSignal": true;
120
+ };
121
+ "loadingLabel": {
122
+ "alias": "loadingLabel";
123
+ "required": false;
124
+ "isSignal": true;
125
+ };
126
+ "emptyMessage": {
127
+ "alias": "emptyMessage";
128
+ "required": false;
129
+ "isSignal": true;
130
+ };
131
+ "navigateHint": {
132
+ "alias": "navigateHint";
133
+ "required": false;
134
+ "isSignal": true;
135
+ };
136
+ "selectHint": {
137
+ "alias": "selectHint";
138
+ "required": false;
139
+ "isSignal": true;
140
+ };
141
+ "closeHint": {
142
+ "alias": "closeHint";
143
+ "required": false;
144
+ "isSignal": true;
145
+ };
146
+ "closeLabel": {
147
+ "alias": "closeLabel";
148
+ "required": false;
149
+ "isSignal": true;
150
+ };
151
+ "resultsAnnouncement": {
152
+ "alias": "resultsAnnouncement";
153
+ "required": false;
154
+ "isSignal": true;
155
+ };
156
+ }, {
157
+ "open": "openChange";
158
+ "queryChange": "queryChange";
159
+ "itemSelected": "itemSelected";
160
+ }, never, never, true, never>;
161
+ }
162
+ /**
163
+ * Where a header's search field would be: a button that looks like one, says the shortcut, and opens the palette.
164
+ * Below 600px it folds to its icon, its label kept as its accessible name.
165
+ */
166
+ export declare class CommandPaletteTrigger {
167
+ /** Any palette, whatever its items carry: the button only opens it. */
168
+ palette: import("@angular/core").InputSignal<Pick<CommandPalette<unknown>, "show">>;
169
+ label: import("@angular/core").InputSignal<string>;
170
+ /** The shortcut shown; keep it the palette's first. */
171
+ shortcut: import("@angular/core").InputSignal<string>;
172
+ protected readonly keys: import("@angular/core").Signal<string>;
173
+ protected readonly keyshortcuts: import("@angular/core").Signal<string>;
174
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteTrigger, never>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommandPaletteTrigger, "gbt-command-palette-trigger", never, {
176
+ "palette": {
177
+ "alias": "palette";
178
+ "required": true;
179
+ "isSignal": true;
180
+ };
181
+ "label": {
182
+ "alias": "label";
183
+ "required": false;
184
+ "isSignal": true;
185
+ };
186
+ "shortcut": {
187
+ "alias": "shortcut";
188
+ "required": false;
189
+ "isSignal": true;
190
+ };
191
+ }, {}, never, never, true, never>;
192
+ }
193
+ /** Lower case, accents dropped: "Dépôts" is found by "depots". */
194
+ export declare function normalize(text: string): string;
195
+ /**
196
+ * How well an item answers a query, or `null` when it does not: every word of the query must appear in its label,
197
+ * description or keywords. A label that starts with the query ranks first, then one with a word that does.
198
+ */
199
+ export declare function matchCommand(item: CommandItem<unknown>, query: string): number | null;
200
+ /**
201
+ * Keyboard shortcuts as `'mod+k'` or `'/'`. `mod` is ⌘ on Apple systems and Ctrl elsewhere, which is what people
202
+ * expect from a palette: ⌘K on a Mac, Ctrl+K on Windows and Linux.
203
+ */
204
+ interface ParsedShortcut {
205
+ mod: boolean;
206
+ shift: boolean;
207
+ alt: boolean;
208
+ key: string;
209
+ }
210
+ export declare function parseShortcut(shortcut: string): ParsedShortcut;
211
+ /** Whether this runs on macOS or iOS, where `mod` is ⌘. */
212
+ export declare function isApplePlatform(): boolean;
213
+ export declare function matchesShortcut(event: KeyboardEvent, shortcut: string, apple?: boolean): boolean;
214
+ /** How to write the shortcut for people: `⌘K` on Apple systems, `Ctrl K` elsewhere. */
215
+ export declare function shortcutLabel(shortcut: string, apple?: boolean): string;
216
+ /** The `aria-keyshortcuts` value: `Meta+K` on Apple systems, `Control+K` elsewhere. */
217
+ export declare function ariaKeyshortcuts(shortcut: string, apple?: boolean): string;
218
+ export type { CommandGroup, CommandItem };
@@ -131,6 +131,7 @@ export declare class DatePicker implements ControlValueAccessor {
131
131
  protected onGridKeydown(event: KeyboardEvent): void;
132
132
  protected onEscape(event: KeyboardEvent): void;
133
133
  protected handleClickOutside(event: MouseEvent): void;
134
+ constructor();
134
135
  protected updatePanelPosition(): void;
135
136
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePicker, never>;
136
137
  static ɵcmp: i0.ɵɵComponentDeclaration<DatePicker, "gbt-date-picker", never, {
@@ -299,6 +300,7 @@ export declare class DateRangePicker implements ControlValueAccessor {
299
300
  protected onGridKeydown(event: KeyboardEvent): void;
300
301
  protected onEscape(event: KeyboardEvent): void;
301
302
  protected handleClickOutside(event: MouseEvent): void;
303
+ constructor();
302
304
  protected updatePanelPosition(): void;
303
305
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePicker, never>;
304
306
  static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePicker, "gbt-date-range-picker", never, {
@@ -4,4 +4,11 @@ interface FloatingPanelAnchor {
4
4
  left: number;
5
5
  }
6
6
  /** Returns `null` (panel closed, or trigger not in the DOM) when the caller should leave `panelStyle` untouched. */
7
- export declare function floatingPanelAnchor(open: boolean, trigger: HTMLElement | null, anchorBottom?: (rect: DOMRect) => number): FloatingPanelAnchor | null;
7
+ export declare function floatingPanelAnchor(open: boolean, trigger: HTMLElement | null, anchorBottom?: (rect: DOMRect) => number): FloatingPanelAnchor | null;
8
+ /**
9
+ * Calls `follow` on every scroll in the page: the window's, and that of any scrolling container — the app shell's
10
+ * `main`, a modal's body — since a panel fixed to the viewport must follow its trigger through all of them. Scroll
11
+ * events don't bubble, so the listener sits on the window's capture phase. Call it in an injection context; it stops
12
+ * with the component.
13
+ */
14
+ export declare function followPageScroll(follow: () => void): void;
@@ -54,6 +54,7 @@ export declare class Menu {
54
54
  protected onListClick(event: MouseEvent): void;
55
55
  protected onDocumentClick(event: MouseEvent): void;
56
56
  protected onFocusOut(event: FocusEvent): void;
57
+ constructor();
57
58
  protected updatePosition(): void;
58
59
  private items;
59
60
  private focus;
@@ -16,6 +16,7 @@ export declare class Popover {
16
16
  toggle(): void;
17
17
  close(returnFocus?: boolean): void;
18
18
  protected onTriggerClick(event: MouseEvent): void;
19
+ constructor();
19
20
  protected updatePosition(): void;
20
21
  protected handleClickOutside(event: MouseEvent): void;
21
22
  protected onKeydown(event: KeyboardEvent): void;
@@ -53,6 +53,7 @@ export declare class Select<T = string> implements ControlValueAccessor {
53
53
  protected readonly hasNoOptions: import("@angular/core").Signal<boolean>;
54
54
  protected isSelected(value: T): boolean;
55
55
  protected toggleOpen(): void;
56
+ constructor();
56
57
  protected updatePanelPosition(): void;
57
58
  protected removeChip(value: T, index: number): void;
58
59
  protected selectOption(value: T): void;
@@ -18,6 +18,7 @@ export declare class Tooltip implements OnDestroy {
18
18
  protected onMouseEnter(): void;
19
19
  protected onFocusIn(): void;
20
20
  private show;
21
+ constructor();
21
22
  protected updatePosition(): void;
22
23
  protected hide(): void;
23
24
  ngOnDestroy(): void;
@@ -17,6 +17,7 @@ import { Modal } from "@masmarino/gabarit/modal";
17
17
  import { Drawer, DrawerEdge } from "@masmarino/gabarit/drawer";
18
18
  import { Table, TableColumn } from "@masmarino/gabarit/table";
19
19
  import { SearchBar, SearchBarCollapsible, SearchResultCategory } from "@masmarino/gabarit/search-bar";
20
+ import { CommandGroup, CommandItem, CommandPalette, CommandPaletteTrigger, matchCommand, shortcutLabel } from "@masmarino/gabarit/command-palette";
20
21
  import { Tab, Tabs } from "@masmarino/gabarit/tabs";
21
22
  import { Arc, AxisSpec, BandScale, CHART_CONTEXT, ChartAxis, ChartBox, ChartEmpty, ChartFrame, ChartInterval, ChartLegend, ChartMargin, ChartPoint, ChartReader, ChartSeries, ChartTable, ChartTooltip, LegendEntry, LinearAxisSpec, Point, PointValue, Scale, TimeTicks, TimeUnit, TooltipPoint, TooltipRow, arcPath, areaPath, bandScale, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, timeScale, timeTicks } from "@masmarino/gabarit/chart";
22
23
  import { DateInput, FormatBytesOptions, FormatDurationOptions, FormatRelativeTimeOptions, GbtBytesPipe, GbtBytesPipeOptions, GbtDateTimePipe, GbtDateTimePipeOptions, GbtPipeLocale, GbtRelativeTimePipe, GbtRelativeTimePipeOptions, computeInitials, formatBytes, formatCompact, formatDateTime, formatDuration, formatNumber, formatPercent, formatRelativeTime } from "@masmarino/gabarit/format";
@@ -79,5 +80,5 @@ import { AuthResetPassword } from "@masmarino/gabarit/auth-reset-password";
79
80
  import { MfaSettings } from "@masmarino/gabarit/mfa-settings";
80
81
  import { PasskeySettings } from "@masmarino/gabarit/passkey-settings";
81
82
  import { GitField } from "@masmarino/gabarit/git-field";
82
- export declare const GABARIT_VERSION = "2.1.0";
83
- export { ACTIVATION_TOKEN_SHAPE, AUTH_LABELS, AUTH_PORT, AUTH_PORT_ERROR_BODIES, Accordion, AccordionItem, type AccordionMode, type ActivateFailure, type ActivateLabels, Alert, type AlertAppearance, type AlertIconAlign, type AlertLive, type AlertSize, type AlertVariant, AppShell, AppShellNavGroup, type Arc, AuthActivate, type AuthConfig, AuthFooter, AuthFooterLink, type AuthLabels, AuthLogin, AuthPanel, type AuthPort, type AuthPortError, AuthRegister, AuthResetPassword, Autocomplete, type AutocompleteSearchFn, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarSize, type AxisSpec, BackupCodes, type BackupCodesLabels, type BackupCodesResult, Badge, type BadgeAppearance, type BadgeSize, type BadgeVariant, type BandScale, BarChart, BarSeries, Breadcrumb, Button, type ButtonHaspopup, type ButtonSize, type ButtonVariant, CHART_CONTEXT, COPY_FIELD_WRAP_AT, type CalendarDay, Card, CardHeader, CardLink, type CardTone, type CardVariant, ChartAxis, type ChartBox, ChartEmpty, ChartFrame, type ChartInterval, ChartLegend, type ChartMargin, type ChartPoint, type ChartReader, type ChartSeries, ChartTable, ChartTooltip, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupSection, ClipboardFeedback, ConfirmDangerModal, type ConfirmDangerModalTone, CopyButton, type CopyButtonFeedback, CopyField, type CopyOutcome, type CopyStatus, type CopyValue, DEFAULT_ACTIVATE_LABELS, DEFAULT_BACKUP_CODES_LABELS, DEFAULT_LOGIN_LABELS, DEFAULT_MFA_ENROLLMENT_LABELS, DEFAULT_MFA_SETTINGS_LABELS, DEFAULT_PASSKEY_SETTINGS_LABELS, DEFAULT_REGISTER_LABELS, DEFAULT_RESET_PASSWORD_LABELS, DEFAULT_TOTP_QR_LABELS, type DateInput, DatePicker, DateRangePicker, type DateRangeValue, DescriptionList, type DescriptionListEntry, type DescriptionListLayout, type DescriptionListResponsive, type DescriptionListValueAlign, DimensionCard, type DimensionRow, Disclosure, type DisclosureAppearance, type DisclosureHeadingLevel, Divider, type DividerOrientation, Drawer, type DrawerEdge, type EmailProblem, EmptyState, type EmptyStateHeadingLevel, type EmptyStateIllustration, type EmptyStateSize, type EmptyStateTone, type EnrolledFactor, FileUpload, type FlatTreeNode, type FormatBytesOptions, type FormatDurationOptions, type FormatRelativeTimeOptions, FunnelChart, type FunnelStep, GaugeBar, GbtBytesPipe, type GbtBytesPipeOptions, GbtDateTimePipe, type GbtDateTimePipeOptions, GbtInput, type GbtPipeLocale, GbtRelativeTimePipe, type GbtRelativeTimePipeOptions, type GbtToastKind, type GbtToastOptions, GbtToastService, GitField, Icon, IconMarker, type IconMarkerAppearance, type IconMarkerShape, type IconMarkerSize, type IconMarkerTone, IconRegistry, type InputCombobox, JobGraph, type JobGraphJob, type JobGraphStage, type JobGraphStatus, JobStatus, type JobStatusValue, type LegendEntry, LineChart, LineSeries, type LinearAxisSpec, ListCard, type ListCardState, ListRow, type ListRowTone, ListToolbar, type ListToolbarAccessors, type ListToolbarDirection, type ListToolbarSortOption, type ListToolbarSortValue, type ListToolbarState, type ListToolbarStateConfig, type LoginLabels, type LoginResponse, MFA_PORT, MIN_PASSWORD_LENGTH, Menu, MenuItem, type MenuItemVariant, MenuTrigger, MfaEnrollment, type MfaEnrollmentLabels, type MfaFailure, type MfaFormOwner, type MfaPort, type MfaProof, MfaSettings, type MfaSettingsLabels, MfaSettingsState, type MfaSetupResult, type MfaStatus, Modal, NavTab, NavTabs, type NavTabsOrientation, NotificationDot, type NotificationDotVariant, PASSKEY_NAME_MAX, PageHeader, type PageHeaderLevel, PageLayout, type PageLayoutAsidePosition, type PageLayoutAsideWidth, type PageLayoutWidth, Pagination, Panel, type PanelHeadingLevel, type Passkey, type PasskeyChallenge, type PasskeyFailure, type PasskeyNameProblem, PasskeySettings, type PasskeySettingsLabels, type PasswordGatedFailure, type PasswordProblem, PieChart, type PieSlice, type Point, type PointValue, Popover, type PopoverAlign, RadioGroup, type RadioOption, type RegisterFailure, type RegisterLabels, type ResetPasswordLabels, SaveStatus, type SaveStatusState, type Scale, SearchBar, type SearchBarCollapsible, type SearchResultCategory, SecretReveal, SegmentedControl, type SegmentedControlOption, type SegmentedControlSize, Select, type SelectOption, Skeleton, SkeletonList, type SkeletonListLeading, type SkeletonVariant, Slider, Sparkline, Spinner, type SpinnerSize, StatGrid, type StatGridColumns, StatTile, StatTileLink, type StatTileTrend, type StatTileTrendTone, Stepper, type StepperOrientation, type StepperStatus, type StepperStep, Switch, TOTP_QR_RENDERER, Tab, Table, type TableColumn, Tabs, Tag, TagInput, Textarea, type TimeTicks, type TimeUnit, TimelineChart, TimelineSeries, type ToastItem, type ToastVariant, Toaster, type ToasterPosition, Tooltip, type TooltipPoint, type TooltipPosition, type TooltipRow, type TotpEnrollment, TotpQr, type TotpQrLabels, type TotpQrRenderOptions, type TotpQrRenderer, Tree, type TreeNode, USERNAME_PATTERN, UserChip, type UserChipSize, type UsernameProblem, type WeekStartsOn, accountName, activationToken, arcPath, areaPath, bandScale, base64UrlToBuffer, bufferToBase64Url, classifyActivateFailure, classifyMfaFailure, classifyPasskeyError, classifyPasswordFailure, classifyRegisterFailure, computeInitials, copyToClipboard, createListToolbarState, createPasskeyCredential, emailProblem, formatBytes, formatCompact, formatDateTime, formatDuration, formatNumber, formatPercent, formatRelativeTime, getPasskeyAssertion, isAuthPortError, isTooManyPasskeys, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, passkeyNameProblem, passkeysSupported, passwordProblem, portErrorMessage, provideAuthLabels, selectContents, timeScale, timeTicks, usernameProblem };
83
+ export declare const GABARIT_VERSION = "2.2.1";
84
+ export { ACTIVATION_TOKEN_SHAPE, AUTH_LABELS, AUTH_PORT, AUTH_PORT_ERROR_BODIES, Accordion, AccordionItem, type AccordionMode, type ActivateFailure, type ActivateLabels, Alert, type AlertAppearance, type AlertIconAlign, type AlertLive, type AlertSize, type AlertVariant, AppShell, AppShellNavGroup, type Arc, AuthActivate, type AuthConfig, AuthFooter, AuthFooterLink, type AuthLabels, AuthLogin, AuthPanel, type AuthPort, type AuthPortError, AuthRegister, AuthResetPassword, Autocomplete, type AutocompleteSearchFn, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarSize, type AxisSpec, BackupCodes, type BackupCodesLabels, type BackupCodesResult, Badge, type BadgeAppearance, type BadgeSize, type BadgeVariant, type BandScale, BarChart, BarSeries, Breadcrumb, Button, type ButtonHaspopup, type ButtonSize, type ButtonVariant, CHART_CONTEXT, COPY_FIELD_WRAP_AT, type CalendarDay, Card, CardHeader, CardLink, type CardTone, type CardVariant, ChartAxis, type ChartBox, ChartEmpty, ChartFrame, type ChartInterval, ChartLegend, type ChartMargin, type ChartPoint, type ChartReader, type ChartSeries, ChartTable, ChartTooltip, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupSection, ClipboardFeedback, type CommandGroup, type CommandItem, CommandPalette, CommandPaletteTrigger, ConfirmDangerModal, type ConfirmDangerModalTone, CopyButton, type CopyButtonFeedback, CopyField, type CopyOutcome, type CopyStatus, type CopyValue, DEFAULT_ACTIVATE_LABELS, DEFAULT_BACKUP_CODES_LABELS, DEFAULT_LOGIN_LABELS, DEFAULT_MFA_ENROLLMENT_LABELS, DEFAULT_MFA_SETTINGS_LABELS, DEFAULT_PASSKEY_SETTINGS_LABELS, DEFAULT_REGISTER_LABELS, DEFAULT_RESET_PASSWORD_LABELS, DEFAULT_TOTP_QR_LABELS, type DateInput, DatePicker, DateRangePicker, type DateRangeValue, DescriptionList, type DescriptionListEntry, type DescriptionListLayout, type DescriptionListResponsive, type DescriptionListValueAlign, DimensionCard, type DimensionRow, Disclosure, type DisclosureAppearance, type DisclosureHeadingLevel, Divider, type DividerOrientation, Drawer, type DrawerEdge, type EmailProblem, EmptyState, type EmptyStateHeadingLevel, type EmptyStateIllustration, type EmptyStateSize, type EmptyStateTone, type EnrolledFactor, FileUpload, type FlatTreeNode, type FormatBytesOptions, type FormatDurationOptions, type FormatRelativeTimeOptions, FunnelChart, type FunnelStep, GaugeBar, GbtBytesPipe, type GbtBytesPipeOptions, GbtDateTimePipe, type GbtDateTimePipeOptions, GbtInput, type GbtPipeLocale, GbtRelativeTimePipe, type GbtRelativeTimePipeOptions, type GbtToastKind, type GbtToastOptions, GbtToastService, GitField, Icon, IconMarker, type IconMarkerAppearance, type IconMarkerShape, type IconMarkerSize, type IconMarkerTone, IconRegistry, type InputCombobox, JobGraph, type JobGraphJob, type JobGraphStage, type JobGraphStatus, JobStatus, type JobStatusValue, type LegendEntry, LineChart, LineSeries, type LinearAxisSpec, ListCard, type ListCardState, ListRow, type ListRowTone, ListToolbar, type ListToolbarAccessors, type ListToolbarDirection, type ListToolbarSortOption, type ListToolbarSortValue, type ListToolbarState, type ListToolbarStateConfig, type LoginLabels, type LoginResponse, MFA_PORT, MIN_PASSWORD_LENGTH, Menu, MenuItem, type MenuItemVariant, MenuTrigger, MfaEnrollment, type MfaEnrollmentLabels, type MfaFailure, type MfaFormOwner, type MfaPort, type MfaProof, MfaSettings, type MfaSettingsLabels, MfaSettingsState, type MfaSetupResult, type MfaStatus, Modal, NavTab, NavTabs, type NavTabsOrientation, NotificationDot, type NotificationDotVariant, PASSKEY_NAME_MAX, PageHeader, type PageHeaderLevel, PageLayout, type PageLayoutAsidePosition, type PageLayoutAsideWidth, type PageLayoutWidth, Pagination, Panel, type PanelHeadingLevel, type Passkey, type PasskeyChallenge, type PasskeyFailure, type PasskeyNameProblem, PasskeySettings, type PasskeySettingsLabels, type PasswordGatedFailure, type PasswordProblem, PieChart, type PieSlice, type Point, type PointValue, Popover, type PopoverAlign, RadioGroup, type RadioOption, type RegisterFailure, type RegisterLabels, type ResetPasswordLabels, SaveStatus, type SaveStatusState, type Scale, SearchBar, type SearchBarCollapsible, type SearchResultCategory, SecretReveal, SegmentedControl, type SegmentedControlOption, type SegmentedControlSize, Select, type SelectOption, Skeleton, SkeletonList, type SkeletonListLeading, type SkeletonVariant, Slider, Sparkline, Spinner, type SpinnerSize, StatGrid, type StatGridColumns, StatTile, StatTileLink, type StatTileTrend, type StatTileTrendTone, Stepper, type StepperOrientation, type StepperStatus, type StepperStep, Switch, TOTP_QR_RENDERER, Tab, Table, type TableColumn, Tabs, Tag, TagInput, Textarea, type TimeTicks, type TimeUnit, TimelineChart, TimelineSeries, type ToastItem, type ToastVariant, Toaster, type ToasterPosition, Tooltip, type TooltipPoint, type TooltipPosition, type TooltipRow, type TotpEnrollment, TotpQr, type TotpQrLabels, type TotpQrRenderOptions, type TotpQrRenderer, Tree, type TreeNode, USERNAME_PATTERN, UserChip, type UserChipSize, type UsernameProblem, type WeekStartsOn, accountName, activationToken, arcPath, areaPath, bandScale, base64UrlToBuffer, bufferToBase64Url, classifyActivateFailure, classifyMfaFailure, classifyPasskeyError, classifyPasswordFailure, classifyRegisterFailure, computeInitials, copyToClipboard, createListToolbarState, createPasskeyCredential, emailProblem, formatBytes, formatCompact, formatDateTime, formatDuration, formatNumber, formatPercent, formatRelativeTime, getPasskeyAssertion, isAuthPortError, isTooManyPasskeys, linePath, linearScale, matchCommand, nearestIndex, niceTicks, niceXDomain, niceYDomain, passkeyNameProblem, passkeysSupported, passwordProblem, portErrorMessage, provideAuthLabels, selectContents, shortcutLabel, timeScale, timeTicks, usernameProblem };