@testgorilla/tgo-ui 6.2.16 → 6.3.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/components/popover/index.d.ts +5 -0
- package/components/popover/popover.component.d.ts +9 -0
- package/components/popover/popover.directive.d.ts +31 -0
- package/components/popover/public-api.d.ts +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +147 -0
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -0
- package/package.json +38 -34
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PopoverComponent {
|
|
4
|
+
templateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
5
|
+
ctx: import("@angular/core").InputSignal<Record<string, unknown>>;
|
|
6
|
+
popoverCard: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "ui-popover", never, { "templateRef": { "alias": "templateRef"; "required": false; "isSignal": true; }; "ctx": { "alias": "ctx"; "required": false; "isSignal": true; }; "popoverCard": { "alias": "popoverCard"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HorizontalConnectionPos } from '@angular/cdk/overlay';
|
|
2
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PopoverDirective implements OnInit, OnDestroy {
|
|
5
|
+
uiPopover: import("@angular/core").InputSignal<TemplateRef<unknown>>;
|
|
6
|
+
popoverOffset: import("@angular/core").InputSignal<number>;
|
|
7
|
+
popoverAlign: import("@angular/core").InputSignal<HorizontalConnectionPos>;
|
|
8
|
+
popoverOpen: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
popoverCard: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
private readonly overlay;
|
|
11
|
+
private readonly elementRef;
|
|
12
|
+
private readonly injector;
|
|
13
|
+
private readonly ngZone;
|
|
14
|
+
private overlayRef;
|
|
15
|
+
private openTimeout;
|
|
16
|
+
private closeTimeout;
|
|
17
|
+
private overlayListeners;
|
|
18
|
+
onMouseEnter(): void;
|
|
19
|
+
onMouseLeave(): void;
|
|
20
|
+
private open;
|
|
21
|
+
private createOverlay;
|
|
22
|
+
private scheduleOpen;
|
|
23
|
+
private cancelOpen;
|
|
24
|
+
private scheduleClose;
|
|
25
|
+
private cancelClose;
|
|
26
|
+
private close;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[uiPopover]", never, { "uiPopover": { "alias": "uiPopover"; "required": true; "isSignal": true; }; "popoverOffset": { "alias": "popoverOffset"; "required": false; "isSignal": true; }; "popoverAlign": { "alias": "popoverAlign"; "required": false; "isSignal": true; }; "popoverOpen": { "alias": "popoverOpen"; "required": false; "isSignal": true; }; "popoverCard": { "alias": "popoverCard"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './popover.directive';
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { input, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, NgZone, HostListener, Directive } from '@angular/core';
|
|
5
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
6
|
+
import * as i1 from '@testgorilla/tgo-ui/components/card';
|
|
7
|
+
import { CardComponentModule } from '@testgorilla/tgo-ui/components/card';
|
|
8
|
+
|
|
9
|
+
class PopoverComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.templateRef = input(null);
|
|
12
|
+
this.ctx = input({});
|
|
13
|
+
this.popoverCard = input(true);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: PopoverComponent, isStandalone: true, selector: "ui-popover", inputs: { templateRef: { classPropertyName: "templateRef", publicName: "templateRef", isSignal: true, isRequired: false, transformFunction: null }, ctx: { classPropertyName: "ctx", publicName: "ctx", isSignal: true, isRequired: false, transformFunction: null }, popoverCard: { classPropertyName: "popoverCard", publicName: "popoverCard", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n", styles: [":host{display:block;pointer-events:auto;animation:popover-enter .15s ease-out}@keyframes popover-enter{0%{opacity:0;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CardComponentModule }, { kind: "component", type: i1.CardComponent, selector: "ui-card", inputs: ["size", "sizeVariant", "variant", "applicationTheme", "errors", "errorsSize", "selected", "allowSelect", "allowFocus"], outputs: ["cardSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PopoverComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'ui-popover', standalone: true, imports: [NgTemplateOutlet, CardComponentModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n", styles: [":host{display:block;pointer-events:auto;animation:popover-enter .15s ease-out}@keyframes popover-enter{0%{opacity:0;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}\n"] }]
|
|
21
|
+
}] });
|
|
22
|
+
|
|
23
|
+
class PopoverDirective {
|
|
24
|
+
constructor() {
|
|
25
|
+
this.uiPopover = input.required();
|
|
26
|
+
this.popoverOffset = input(4);
|
|
27
|
+
this.popoverAlign = input('center');
|
|
28
|
+
this.popoverOpen = input(false);
|
|
29
|
+
this.popoverCard = input(true);
|
|
30
|
+
this.overlay = inject(Overlay);
|
|
31
|
+
this.elementRef = inject(ElementRef);
|
|
32
|
+
this.injector = inject(Injector);
|
|
33
|
+
this.ngZone = inject(NgZone);
|
|
34
|
+
this.overlayRef = null;
|
|
35
|
+
this.openTimeout = null;
|
|
36
|
+
this.closeTimeout = null;
|
|
37
|
+
this.overlayListeners = null;
|
|
38
|
+
}
|
|
39
|
+
onMouseEnter() {
|
|
40
|
+
this.cancelClose();
|
|
41
|
+
this.scheduleOpen();
|
|
42
|
+
}
|
|
43
|
+
onMouseLeave() {
|
|
44
|
+
this.cancelOpen();
|
|
45
|
+
this.scheduleClose();
|
|
46
|
+
}
|
|
47
|
+
open() {
|
|
48
|
+
if (!this.overlayRef) {
|
|
49
|
+
this.createOverlay();
|
|
50
|
+
}
|
|
51
|
+
const overlayRef = this.overlayRef;
|
|
52
|
+
if (!overlayRef || overlayRef.hasAttached()) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const portal = new ComponentPortal(PopoverComponent, null, this.injector);
|
|
56
|
+
const ref = overlayRef.attach(portal);
|
|
57
|
+
ref.setInput('templateRef', this.uiPopover());
|
|
58
|
+
ref.setInput('ctx', { close: () => this.close() });
|
|
59
|
+
ref.setInput('popoverCard', this.popoverCard());
|
|
60
|
+
const el = overlayRef.overlayElement;
|
|
61
|
+
const enter = () => this.ngZone.run(() => this.cancelClose());
|
|
62
|
+
const leave = () => this.ngZone.run(() => this.scheduleClose());
|
|
63
|
+
el.addEventListener('mouseenter', enter);
|
|
64
|
+
el.addEventListener('mouseleave', leave);
|
|
65
|
+
this.overlayListeners = { enter, leave };
|
|
66
|
+
}
|
|
67
|
+
createOverlay() {
|
|
68
|
+
const align = this.popoverAlign();
|
|
69
|
+
const positionStrategy = this.overlay
|
|
70
|
+
.position()
|
|
71
|
+
.flexibleConnectedTo(this.elementRef)
|
|
72
|
+
.withPositions([
|
|
73
|
+
{ originX: align, originY: 'bottom', overlayX: align, overlayY: 'top', offsetY: this.popoverOffset() },
|
|
74
|
+
{ originX: align, originY: 'top', overlayX: align, overlayY: 'bottom', offsetY: -this.popoverOffset() },
|
|
75
|
+
]);
|
|
76
|
+
this.overlayRef = this.overlay.create({
|
|
77
|
+
positionStrategy,
|
|
78
|
+
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
79
|
+
hasBackdrop: false,
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
scheduleOpen() {
|
|
83
|
+
this.openTimeout = setTimeout(() => this.open(), 100);
|
|
84
|
+
}
|
|
85
|
+
cancelOpen() {
|
|
86
|
+
if (this.openTimeout) {
|
|
87
|
+
clearTimeout(this.openTimeout);
|
|
88
|
+
this.openTimeout = null;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
scheduleClose() {
|
|
92
|
+
this.closeTimeout = setTimeout(() => this.close(), 150);
|
|
93
|
+
}
|
|
94
|
+
cancelClose() {
|
|
95
|
+
if (this.closeTimeout) {
|
|
96
|
+
clearTimeout(this.closeTimeout);
|
|
97
|
+
this.closeTimeout = null;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
close() {
|
|
101
|
+
if (!this.overlayRef) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
if (this.overlayListeners) {
|
|
105
|
+
const el = this.overlayRef.overlayElement;
|
|
106
|
+
el.removeEventListener('mouseenter', this.overlayListeners.enter);
|
|
107
|
+
el.removeEventListener('mouseleave', this.overlayListeners.leave);
|
|
108
|
+
this.overlayListeners = null;
|
|
109
|
+
}
|
|
110
|
+
this.overlayRef.detach();
|
|
111
|
+
}
|
|
112
|
+
ngOnInit() {
|
|
113
|
+
if (this.popoverOpen()) {
|
|
114
|
+
this.open();
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
ngOnDestroy() {
|
|
118
|
+
this.cancelOpen();
|
|
119
|
+
this.cancelClose();
|
|
120
|
+
this.close();
|
|
121
|
+
this.overlayRef?.dispose();
|
|
122
|
+
}
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
124
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.20", type: PopoverDirective, isStandalone: true, selector: "[uiPopover]", inputs: { uiPopover: { classPropertyName: "uiPopover", publicName: "uiPopover", isSignal: true, isRequired: true, transformFunction: null }, popoverOffset: { classPropertyName: "popoverOffset", publicName: "popoverOffset", isSignal: true, isRequired: false, transformFunction: null }, popoverAlign: { classPropertyName: "popoverAlign", publicName: "popoverAlign", isSignal: true, isRequired: false, transformFunction: null }, popoverOpen: { classPropertyName: "popoverOpen", publicName: "popoverOpen", isSignal: true, isRequired: false, transformFunction: null }, popoverCard: { classPropertyName: "popoverCard", publicName: "popoverCard", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, ngImport: i0 }); }
|
|
125
|
+
}
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PopoverDirective, decorators: [{
|
|
127
|
+
type: Directive,
|
|
128
|
+
args: [{
|
|
129
|
+
selector: '[uiPopover]',
|
|
130
|
+
standalone: true,
|
|
131
|
+
}]
|
|
132
|
+
}], propDecorators: { onMouseEnter: [{
|
|
133
|
+
type: HostListener,
|
|
134
|
+
args: ['mouseenter']
|
|
135
|
+
}], onMouseLeave: [{
|
|
136
|
+
type: HostListener,
|
|
137
|
+
args: ['mouseleave']
|
|
138
|
+
}] } });
|
|
139
|
+
|
|
140
|
+
// PopoverComponent is internal — not part of the public API
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Generated bundle index. Do not edit.
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
export { PopoverDirective };
|
|
147
|
+
//# sourceMappingURL=testgorilla-tgo-ui-components-popover.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testgorilla-tgo-ui-components-popover.mjs","sources":["../../../components/popover/popover.component.ts","../../../components/popover/popover.component.html","../../../components/popover/popover.directive.ts","../../../components/popover/public-api.ts","../../../components/popover/testgorilla-tgo-ui-components-popover.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, TemplateRef } from '@angular/core';\nimport { CardComponentModule } from '@testgorilla/tgo-ui/components/card';\n\n@Component({\n selector: 'ui-popover',\n standalone: true,\n imports: [NgTemplateOutlet, CardComponentModule],\n templateUrl: './popover.component.html',\n styleUrls: ['./popover.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PopoverComponent {\n templateRef = input<TemplateRef<unknown> | null>(null);\n ctx = input<Record<string, unknown>>({});\n popoverCard = input(true);\n}\n","@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n","import { HorizontalConnectionPos, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n Directive,\n ElementRef,\n HostListener,\n inject,\n Injector,\n input,\n NgZone,\n OnDestroy,\n OnInit,\n TemplateRef,\n} from '@angular/core';\nimport { PopoverComponent } from './popover.component';\n\n@Directive({\n selector: '[uiPopover]',\n standalone: true,\n})\nexport class PopoverDirective implements OnInit, OnDestroy {\n uiPopover = input.required<TemplateRef<unknown>>();\n popoverOffset = input(4);\n popoverAlign = input<HorizontalConnectionPos>('center');\n popoverOpen = input(false);\n popoverCard = input(true);\n\n private readonly overlay = inject(Overlay);\n private readonly elementRef = inject(ElementRef);\n private readonly injector = inject(Injector);\n private readonly ngZone = inject(NgZone);\n\n private overlayRef: OverlayRef | null = null;\n private openTimeout: ReturnType<typeof setTimeout> | null = null;\n private closeTimeout: ReturnType<typeof setTimeout> | null = null;\n private overlayListeners: { enter: () => void; leave: () => void } | null = null;\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n this.cancelClose();\n this.scheduleOpen();\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.cancelOpen();\n this.scheduleClose();\n }\n\n private open(): void {\n if (!this.overlayRef) {\n this.createOverlay();\n }\n\n const overlayRef = this.overlayRef;\n if (!overlayRef || overlayRef.hasAttached()) {\n return;\n }\n\n const portal = new ComponentPortal(PopoverComponent, null, this.injector);\n const ref = overlayRef.attach(portal);\n ref.setInput('templateRef', this.uiPopover());\n ref.setInput('ctx', { close: () => this.close() });\n ref.setInput('popoverCard', this.popoverCard());\n\n const el = overlayRef.overlayElement;\n const enter = (): void => this.ngZone.run(() => this.cancelClose());\n const leave = (): void => this.ngZone.run(() => this.scheduleClose());\n el.addEventListener('mouseenter', enter);\n el.addEventListener('mouseleave', leave);\n this.overlayListeners = { enter, leave };\n }\n\n private createOverlay(): void {\n const align = this.popoverAlign();\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef)\n .withPositions([\n { originX: align, originY: 'bottom', overlayX: align, overlayY: 'top', offsetY: this.popoverOffset() },\n { originX: align, originY: 'top', overlayX: align, overlayY: 'bottom', offsetY: -this.popoverOffset() },\n ]);\n\n this.overlayRef = this.overlay.create({\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n hasBackdrop: false,\n });\n }\n\n private scheduleOpen(): void {\n this.openTimeout = setTimeout(() => this.open(), 100);\n }\n\n private cancelOpen(): void {\n if (this.openTimeout) {\n clearTimeout(this.openTimeout);\n this.openTimeout = null;\n }\n }\n\n private scheduleClose(): void {\n this.closeTimeout = setTimeout(() => this.close(), 150);\n }\n\n private cancelClose(): void {\n if (this.closeTimeout) {\n clearTimeout(this.closeTimeout);\n this.closeTimeout = null;\n }\n }\n\n private close(): void {\n if (!this.overlayRef) {\n return;\n }\n\n if (this.overlayListeners) {\n const el = this.overlayRef.overlayElement;\n el.removeEventListener('mouseenter', this.overlayListeners.enter);\n el.removeEventListener('mouseleave', this.overlayListeners.leave);\n this.overlayListeners = null;\n }\n\n this.overlayRef.detach();\n }\n\n ngOnInit(): void {\n if (this.popoverOpen()) {\n this.open();\n }\n }\n\n ngOnDestroy(): void {\n this.cancelOpen();\n this.cancelClose();\n this.close();\n this.overlayRef?.dispose();\n }\n}\n","export * from './popover.directive';\n// PopoverComponent is internal — not part of the public API\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAYa,gBAAgB,CAAA;AAR7B,IAAA,WAAA,GAAA;AASE,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAA8B,IAAI,CAAC;AACtD,QAAA,IA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AA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;8BAmBC,YAAY,EAAA,CAAA;sBADX,YAAY;uBAAC,YAAY;gBAO1B,YAAY,EAAA,CAAA;sBADX,YAAY;uBAAC,YAAY;;;AC1C5B;;ACDA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testgorilla/tgo-ui",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"license": "proprietary-license",
|
|
5
5
|
"lint-staged": {
|
|
6
6
|
"{projects,components}/**/*.ts": [
|
|
@@ -71,29 +71,25 @@
|
|
|
71
71
|
"types": "./components/accordion/index.d.ts",
|
|
72
72
|
"default": "./fesm2022/testgorilla-tgo-ui-components-accordion.mjs"
|
|
73
73
|
},
|
|
74
|
-
"./components/ai-caveat": {
|
|
75
|
-
"types": "./components/ai-caveat/index.d.ts",
|
|
76
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs"
|
|
77
|
-
},
|
|
78
74
|
"./components/ai-audio-circle": {
|
|
79
75
|
"types": "./components/ai-audio-circle/index.d.ts",
|
|
80
76
|
"default": "./fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs"
|
|
81
77
|
},
|
|
82
|
-
"./components/
|
|
83
|
-
"types": "./components/
|
|
84
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-
|
|
85
|
-
},
|
|
86
|
-
"./components/alert-banner": {
|
|
87
|
-
"types": "./components/alert-banner/index.d.ts",
|
|
88
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs"
|
|
78
|
+
"./components/ai-caveat": {
|
|
79
|
+
"types": "./components/ai-caveat/index.d.ts",
|
|
80
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs"
|
|
89
81
|
},
|
|
90
82
|
"./components/ai-feedback": {
|
|
91
83
|
"types": "./components/ai-feedback/index.d.ts",
|
|
92
84
|
"default": "./fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs"
|
|
93
85
|
},
|
|
94
|
-
"./components/
|
|
95
|
-
"types": "./components/
|
|
96
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-
|
|
86
|
+
"./components/alert-banner": {
|
|
87
|
+
"types": "./components/alert-banner/index.d.ts",
|
|
88
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs"
|
|
89
|
+
},
|
|
90
|
+
"./components/audio-waveform": {
|
|
91
|
+
"types": "./components/audio-waveform/index.d.ts",
|
|
92
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs"
|
|
97
93
|
},
|
|
98
94
|
"./components/avatar": {
|
|
99
95
|
"types": "./components/avatar/index.d.ts",
|
|
@@ -103,18 +99,22 @@
|
|
|
103
99
|
"types": "./components/badge/index.d.ts",
|
|
104
100
|
"default": "./fesm2022/testgorilla-tgo-ui-components-badge.mjs"
|
|
105
101
|
},
|
|
102
|
+
"./components/autocomplete": {
|
|
103
|
+
"types": "./components/autocomplete/index.d.ts",
|
|
104
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs"
|
|
105
|
+
},
|
|
106
106
|
"./components/breadcrumb": {
|
|
107
107
|
"types": "./components/breadcrumb/index.d.ts",
|
|
108
108
|
"default": "./fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs"
|
|
109
109
|
},
|
|
110
|
-
"./components/card": {
|
|
111
|
-
"types": "./components/card/index.d.ts",
|
|
112
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-card.mjs"
|
|
113
|
-
},
|
|
114
110
|
"./components/button": {
|
|
115
111
|
"types": "./components/button/index.d.ts",
|
|
116
112
|
"default": "./fesm2022/testgorilla-tgo-ui-components-button.mjs"
|
|
117
113
|
},
|
|
114
|
+
"./components/card": {
|
|
115
|
+
"types": "./components/card/index.d.ts",
|
|
116
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-card.mjs"
|
|
117
|
+
},
|
|
118
118
|
"./components/checkbox": {
|
|
119
119
|
"types": "./components/checkbox/index.d.ts",
|
|
120
120
|
"default": "./fesm2022/testgorilla-tgo-ui-components-checkbox.mjs"
|
|
@@ -131,10 +131,6 @@
|
|
|
131
131
|
"types": "./components/datepicker/index.d.ts",
|
|
132
132
|
"default": "./fesm2022/testgorilla-tgo-ui-components-datepicker.mjs"
|
|
133
133
|
},
|
|
134
|
-
"./components/donut-chart": {
|
|
135
|
-
"types": "./components/donut-chart/index.d.ts",
|
|
136
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs"
|
|
137
|
-
},
|
|
138
134
|
"./components/dialog": {
|
|
139
135
|
"types": "./components/dialog/index.d.ts",
|
|
140
136
|
"default": "./fesm2022/testgorilla-tgo-ui-components-dialog.mjs"
|
|
@@ -143,26 +139,30 @@
|
|
|
143
139
|
"types": "./components/divider/index.d.ts",
|
|
144
140
|
"default": "./fesm2022/testgorilla-tgo-ui-components-divider.mjs"
|
|
145
141
|
},
|
|
146
|
-
"./components/
|
|
147
|
-
"types": "./components/
|
|
148
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-
|
|
142
|
+
"./components/donut-chart": {
|
|
143
|
+
"types": "./components/donut-chart/index.d.ts",
|
|
144
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs"
|
|
149
145
|
},
|
|
150
146
|
"./components/dropdown": {
|
|
151
147
|
"types": "./components/dropdown/index.d.ts",
|
|
152
148
|
"default": "./fesm2022/testgorilla-tgo-ui-components-dropdown.mjs"
|
|
153
149
|
},
|
|
150
|
+
"./components/elevation-shadow": {
|
|
151
|
+
"types": "./components/elevation-shadow/index.d.ts",
|
|
152
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs"
|
|
153
|
+
},
|
|
154
154
|
"./components/empty-state": {
|
|
155
155
|
"types": "./components/empty-state/index.d.ts",
|
|
156
156
|
"default": "./fesm2022/testgorilla-tgo-ui-components-empty-state.mjs"
|
|
157
157
|
},
|
|
158
|
-
"./components/file-upload": {
|
|
159
|
-
"types": "./components/file-upload/index.d.ts",
|
|
160
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-file-upload.mjs"
|
|
161
|
-
},
|
|
162
158
|
"./components/field": {
|
|
163
159
|
"types": "./components/field/index.d.ts",
|
|
164
160
|
"default": "./fesm2022/testgorilla-tgo-ui-components-field.mjs"
|
|
165
161
|
},
|
|
162
|
+
"./components/file-upload": {
|
|
163
|
+
"types": "./components/file-upload/index.d.ts",
|
|
164
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-file-upload.mjs"
|
|
165
|
+
},
|
|
166
166
|
"./components/filter-button": {
|
|
167
167
|
"types": "./components/filter-button/index.d.ts",
|
|
168
168
|
"default": "./fesm2022/testgorilla-tgo-ui-components-filter-button.mjs"
|
|
@@ -195,14 +195,14 @@
|
|
|
195
195
|
"types": "./components/media-dialog/index.d.ts",
|
|
196
196
|
"default": "./fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs"
|
|
197
197
|
},
|
|
198
|
-
"./components/navbar": {
|
|
199
|
-
"types": "./components/navbar/index.d.ts",
|
|
200
|
-
"default": "./fesm2022/testgorilla-tgo-ui-components-navbar.mjs"
|
|
201
|
-
},
|
|
202
198
|
"./components/multi-input": {
|
|
203
199
|
"types": "./components/multi-input/index.d.ts",
|
|
204
200
|
"default": "./fesm2022/testgorilla-tgo-ui-components-multi-input.mjs"
|
|
205
201
|
},
|
|
202
|
+
"./components/navbar": {
|
|
203
|
+
"types": "./components/navbar/index.d.ts",
|
|
204
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-navbar.mjs"
|
|
205
|
+
},
|
|
206
206
|
"./components/overflow-menu": {
|
|
207
207
|
"types": "./components/overflow-menu/index.d.ts",
|
|
208
208
|
"default": "./fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs"
|
|
@@ -227,6 +227,10 @@
|
|
|
227
227
|
"types": "./components/phone-input/index.d.ts",
|
|
228
228
|
"default": "./fesm2022/testgorilla-tgo-ui-components-phone-input.mjs"
|
|
229
229
|
},
|
|
230
|
+
"./components/popover": {
|
|
231
|
+
"types": "./components/popover/index.d.ts",
|
|
232
|
+
"default": "./fesm2022/testgorilla-tgo-ui-components-popover.mjs"
|
|
233
|
+
},
|
|
230
234
|
"./components/progress-bar": {
|
|
231
235
|
"types": "./components/progress-bar/index.d.ts",
|
|
232
236
|
"default": "./fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs"
|