@krumio/trailhand-ui 1.9.6 → 1.9.7
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/dist/components/popover/index.d.ts +3 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +2 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.d.ts +42 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.js +249 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
import '../icon/icon';
|
|
3
|
+
export type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
4
|
+
export interface PopoverProps {
|
|
5
|
+
open: boolean;
|
|
6
|
+
stayOpen: boolean;
|
|
7
|
+
placement: PopoverPlacement;
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A popover component that appears on click of a trigger element.
|
|
13
|
+
* Pass any content via the default slot and a custom trigger via the `trigger` slot.
|
|
14
|
+
* Use the `heading` slot to override the title/subtitle with custom markup.
|
|
15
|
+
*/
|
|
16
|
+
export declare class Popover extends LitElement {
|
|
17
|
+
open: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* When true, clicking outside the popover will not close it.
|
|
20
|
+
*/
|
|
21
|
+
stayOpen: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Controls which side of the trigger the popover appears on.
|
|
24
|
+
*/
|
|
25
|
+
placement: PopoverPlacement;
|
|
26
|
+
title: string;
|
|
27
|
+
subtitle: string;
|
|
28
|
+
private _hasHeadingSlot;
|
|
29
|
+
private _boundHandleClickOutside;
|
|
30
|
+
static styles: import("lit").CSSResult;
|
|
31
|
+
constructor();
|
|
32
|
+
connectedCallback(): void;
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
private _handleClickOutside;
|
|
35
|
+
private _handleTriggerClick;
|
|
36
|
+
private _open;
|
|
37
|
+
private _close;
|
|
38
|
+
private _handleHeadingSlotChange;
|
|
39
|
+
private _renderHeader;
|
|
40
|
+
render(): TemplateResult;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAW,MAAM,KAAK,CAAC;AAErE,OAAO,cAAc,CAAC;AAEtB,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IAErC,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,EAAE,gBAAgB,CAAY;IAGvC,KAAK,SAAM;IAGX,QAAQ,SAAM;IAEL,OAAO,CAAC,eAAe,CAAS;IAEzC,OAAO,CAAC,wBAAwB,CAAqB;IAErD,OAAgB,MAAM,0BAuHpB;;IAOO,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAKrC,OAAO,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,mBAAmB;IAS3B,OAAO,CAAC,KAAK;IAOb,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,aAAa;IAkBZ,MAAM,IAAI,cAAc;CAuBlC"}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, css, nothing } from 'lit';
|
|
8
|
+
import { property, state } from 'lit/decorators.js';
|
|
9
|
+
import '../icon/icon';
|
|
10
|
+
/**
|
|
11
|
+
* A popover component that appears on click of a trigger element.
|
|
12
|
+
* Pass any content via the default slot and a custom trigger via the `trigger` slot.
|
|
13
|
+
* Use the `heading` slot to override the title/subtitle with custom markup.
|
|
14
|
+
*/
|
|
15
|
+
export class Popover extends LitElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.open = false;
|
|
19
|
+
/**
|
|
20
|
+
* When true, clicking outside the popover will not close it.
|
|
21
|
+
*/
|
|
22
|
+
this.stayOpen = false;
|
|
23
|
+
/**
|
|
24
|
+
* Controls which side of the trigger the popover appears on.
|
|
25
|
+
*/
|
|
26
|
+
this.placement = 'bottom';
|
|
27
|
+
this.title = '';
|
|
28
|
+
this.subtitle = '';
|
|
29
|
+
this._hasHeadingSlot = false;
|
|
30
|
+
this._boundHandleClickOutside = this._handleClickOutside.bind(this);
|
|
31
|
+
}
|
|
32
|
+
connectedCallback() {
|
|
33
|
+
super.connectedCallback();
|
|
34
|
+
document.addEventListener('click', this._boundHandleClickOutside);
|
|
35
|
+
}
|
|
36
|
+
disconnectedCallback() {
|
|
37
|
+
super.disconnectedCallback();
|
|
38
|
+
document.removeEventListener('click', this._boundHandleClickOutside);
|
|
39
|
+
}
|
|
40
|
+
_handleClickOutside(e) {
|
|
41
|
+
if (this.stayOpen)
|
|
42
|
+
return;
|
|
43
|
+
const target = e.target;
|
|
44
|
+
if (this.open && !this.contains(target)) {
|
|
45
|
+
this._close();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
_handleTriggerClick(e) {
|
|
49
|
+
e.stopPropagation();
|
|
50
|
+
if (this.open) {
|
|
51
|
+
this._close();
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
this._open();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
_open() {
|
|
58
|
+
this.open = true;
|
|
59
|
+
this.dispatchEvent(new CustomEvent('popover-open', { bubbles: true, composed: true }));
|
|
60
|
+
}
|
|
61
|
+
_close() {
|
|
62
|
+
this.open = false;
|
|
63
|
+
this.dispatchEvent(new CustomEvent('popover-close', { bubbles: true, composed: true }));
|
|
64
|
+
}
|
|
65
|
+
_handleHeadingSlotChange(e) {
|
|
66
|
+
const slot = e.target;
|
|
67
|
+
this._hasHeadingSlot = slot.assignedNodes({ flatten: true }).length > 0;
|
|
68
|
+
}
|
|
69
|
+
_renderHeader() {
|
|
70
|
+
const hasTitle = this.title || this._hasHeadingSlot;
|
|
71
|
+
if (!hasTitle)
|
|
72
|
+
return nothing;
|
|
73
|
+
return html `
|
|
74
|
+
<div class="popover-header" part="header">
|
|
75
|
+
<slot name="heading" @slotchange=${this._handleHeadingSlotChange}>
|
|
76
|
+
<div class="heading-content">
|
|
77
|
+
<p class="popover-title">${this.title}</p>
|
|
78
|
+
${this.subtitle
|
|
79
|
+
? html `<p class="popover-subtitle">${this.subtitle}</p>`
|
|
80
|
+
: nothing}
|
|
81
|
+
</div>
|
|
82
|
+
</slot>
|
|
83
|
+
</div>
|
|
84
|
+
`;
|
|
85
|
+
}
|
|
86
|
+
render() {
|
|
87
|
+
return html `
|
|
88
|
+
<div
|
|
89
|
+
class="trigger-wrapper"
|
|
90
|
+
@click=${this._handleTriggerClick}
|
|
91
|
+
aria-haspopup="true"
|
|
92
|
+
aria-expanded=${this.open}
|
|
93
|
+
>
|
|
94
|
+
<slot name="trigger"></slot>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div
|
|
98
|
+
class="popover-content ${this.open ? 'popover-content--open' : ''}"
|
|
99
|
+
role="dialog"
|
|
100
|
+
aria-hidden=${!this.open}
|
|
101
|
+
>
|
|
102
|
+
${this._renderHeader()}
|
|
103
|
+
<div class="popover-body" part="body">
|
|
104
|
+
<slot></slot>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
`;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
Popover.styles = css `
|
|
111
|
+
:host {
|
|
112
|
+
display: inline-block;
|
|
113
|
+
position: relative;
|
|
114
|
+
font-family: var(--font-family, 'Poppins', sans-serif);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.trigger-wrapper {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.popover-content {
|
|
123
|
+
position: absolute;
|
|
124
|
+
z-index: 1000;
|
|
125
|
+
min-width: 200px;
|
|
126
|
+
background-color: var(--th-color-background, #ffffff);
|
|
127
|
+
border: 1px solid var(--th-color-border, #d7d7d7);
|
|
128
|
+
border-radius: 8px;
|
|
129
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
opacity: 0;
|
|
132
|
+
visibility: hidden;
|
|
133
|
+
transition:
|
|
134
|
+
opacity 0.2s ease-in-out,
|
|
135
|
+
transform 0.2s ease-in-out,
|
|
136
|
+
visibility 0.2s ease-in-out;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.popover-content--open {
|
|
140
|
+
opacity: 1;
|
|
141
|
+
visibility: visible;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.popover-header {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
gap: 12px;
|
|
149
|
+
padding: 12px 16px;
|
|
150
|
+
border-bottom: 1px solid var(--th-color-border, #d7d7d7);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.heading-content {
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: baseline;
|
|
156
|
+
gap: 8px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.popover-title {
|
|
160
|
+
margin: 0;
|
|
161
|
+
font-size: 14px;
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
color: var(--th-color-text-primary, #212121);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.popover-subtitle {
|
|
167
|
+
margin: 0;
|
|
168
|
+
font-size: 12px;
|
|
169
|
+
font-weight: 400;
|
|
170
|
+
color: var(--th-color-text-secondary, #666666);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.popover-body {
|
|
174
|
+
padding: 16px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Placement: bottom (default) */
|
|
178
|
+
:host([placement='bottom']) .popover-content,
|
|
179
|
+
:host(:not([placement])) .popover-content {
|
|
180
|
+
top: calc(100% + 8px);
|
|
181
|
+
left: 50%;
|
|
182
|
+
transform: translateX(-50%) translateY(-6px);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host([placement='bottom']) .popover-content--open,
|
|
186
|
+
:host(:not([placement])) .popover-content--open {
|
|
187
|
+
transform: translateX(-50%) translateY(0);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* Placement: top */
|
|
191
|
+
:host([placement='top']) .popover-content {
|
|
192
|
+
bottom: calc(100% + 8px);
|
|
193
|
+
left: 50%;
|
|
194
|
+
transform: translateX(-50%) translateY(6px);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host([placement='top']) .popover-content--open {
|
|
198
|
+
transform: translateX(-50%) translateY(0);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* Placement: right */
|
|
202
|
+
:host([placement='right']) .popover-content {
|
|
203
|
+
left: calc(100% + 8px);
|
|
204
|
+
top: 50%;
|
|
205
|
+
transform: translateY(-50%) translateX(-6px);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
:host([placement='right']) .popover-content--open {
|
|
209
|
+
transform: translateY(-50%) translateX(0);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Placement: left */
|
|
213
|
+
:host([placement='left']) .popover-content {
|
|
214
|
+
right: calc(100% + 8px);
|
|
215
|
+
top: 50%;
|
|
216
|
+
transform: translateY(-50%) translateX(6px);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host([placement='left']) .popover-content--open {
|
|
220
|
+
transform: translateY(-50%) translateX(0);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Dark mode */
|
|
224
|
+
:host-context([data-theme='dark']) .popover-content {
|
|
225
|
+
background-color: var(--th-color-background, #2a2a2a);
|
|
226
|
+
border-color: var(--th-color-border, #444444);
|
|
227
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
|
|
228
|
+
}
|
|
229
|
+
`;
|
|
230
|
+
__decorate([
|
|
231
|
+
property({ type: Boolean, reflect: true })
|
|
232
|
+
], Popover.prototype, "open", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property({ type: Boolean, attribute: 'stay-open' })
|
|
235
|
+
], Popover.prototype, "stayOpen", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
property({ type: String, reflect: true })
|
|
238
|
+
], Popover.prototype, "placement", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
property({ type: String })
|
|
241
|
+
], Popover.prototype, "title", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
property({ type: String })
|
|
244
|
+
], Popover.prototype, "subtitle", void 0);
|
|
245
|
+
__decorate([
|
|
246
|
+
state()
|
|
247
|
+
], Popover.prototype, "_hasHeadingSlot", void 0);
|
|
248
|
+
customElements.define('trailhand-popover', Popover);
|
|
249
|
+
//# sourceMappingURL=popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sourceRoot":"","sources":["../../../src/components/popover/popover.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAkB,OAAO,EAAE,MAAM,KAAK,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,cAAc,CAAC;AAYtB;;;;GAIG;AACH,MAAM,OAAO,OAAQ,SAAQ,UAAU;IAmJrC;QACE,KAAK,EAAE,CAAC;QAlJV,SAAI,GAAG,KAAK,CAAC;QAEb;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAEjB;;WAEG;QAEH,cAAS,GAAqB,QAAQ,CAAC;QAGvC,UAAK,GAAG,EAAE,CAAC;QAGX,aAAQ,GAAG,EAAE,CAAC;QAEG,oBAAe,GAAG,KAAK,CAAC;QA+HvC,IAAI,CAAC,wBAAwB,GAAG,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtE,CAAC;IAEQ,iBAAiB;QACxB,KAAK,CAAC,iBAAiB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;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCAChB;AAGX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yCACb;AAEG;IAAhB,KAAK,EAAE;gDAAiC;AA2N3C,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './components/th-card';
|
|
|
8
8
|
export * from './components/th-form-card';
|
|
9
9
|
export * from './components/progress-bar';
|
|
10
10
|
export * from './components/modal';
|
|
11
|
+
export * from './components/popover';
|
|
11
12
|
export * from './components/checkbox';
|
|
12
13
|
export * from './components/text-input';
|
|
13
14
|
export * from './components/selector';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ export * from './components/th-card';
|
|
|
9
9
|
export * from './components/th-form-card';
|
|
10
10
|
export * from './components/progress-bar';
|
|
11
11
|
export * from './components/modal';
|
|
12
|
+
export * from './components/popover';
|
|
12
13
|
export * from './components/checkbox';
|
|
13
14
|
export * from './components/text-input';
|
|
14
15
|
export * from './components/selector';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAEtC,mBAAmB;AACnB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAEtC,mBAAmB;AACnB,cAAc,SAAS,CAAC"}
|