@genesislcap/foundation-ui 15.8.2 → 15.8.3-PTC-0.2
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/custom-elements.json +845 -818
- package/dist/dts/icon/icon.d.ts +15 -0
- package/dist/dts/icon/icon.d.ts.map +1 -1
- package/dist/dts/icon/icon.styles.d.ts.map +1 -1
- package/dist/dts/icon/icon.template.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/icon/icon.js +42 -0
- package/dist/esm/icon/icon.styles.js +16 -5
- package/dist/esm/icon/icon.template.js +8 -2
- package/dist/foundation-ui.api.json +35 -0
- package/dist/foundation-ui.d.ts +15 -0
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
package/dist/dts/icon/icon.d.ts
CHANGED
|
@@ -21,6 +21,19 @@ export declare class Icon extends FoundationElement {
|
|
|
21
21
|
tooltipId: string;
|
|
22
22
|
tooltip: string;
|
|
23
23
|
isError: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The tooltip bubble stays in this component's template and shadow root, but is promoted
|
|
26
|
+
* to the browser top layer via the Popover API when shown — the top layer escapes ancestor
|
|
27
|
+
* stacking contexts, transforms and overflow clipping, which is what lets virtualized
|
|
28
|
+
* grid rows (absolutely-positioned, later-DOM-order siblings) paint over an in-place
|
|
29
|
+
* bubble. It is a plain `div` rather than `<%%prefix%%-tooltip>`: FASTTooltip's template
|
|
30
|
+
* renders `<${tagFor(AnchoredRegion)}>`, and that lookup misses for the subclassed
|
|
31
|
+
* genesis components (compose() without `baseClass`), so the tooltip component renders an
|
|
32
|
+
* empty shadow root — none of its placement or visibility machinery ever worked here.
|
|
33
|
+
* Placement is manual from the anchor's `getBoundingClientRect()` (see showTooltip).
|
|
34
|
+
*/
|
|
35
|
+
tooltipElement: HTMLElement | undefined;
|
|
36
|
+
private tooltipShowTimer;
|
|
24
37
|
name: IconName;
|
|
25
38
|
nameChanged(oldValue: string, newValue: string): void;
|
|
26
39
|
size: FaSize;
|
|
@@ -29,6 +42,8 @@ export declare class Icon extends FoundationElement {
|
|
|
29
42
|
variantChanged(oldValue: string, newValue: string): void;
|
|
30
43
|
connectedCallback(): void;
|
|
31
44
|
disconnectedCallback(): void;
|
|
45
|
+
private showTooltip;
|
|
46
|
+
private hideTooltip;
|
|
32
47
|
getDefaultTooltipConfig(): void;
|
|
33
48
|
loadIcon(): void;
|
|
34
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,QAAQ,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAClG,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AAG/B,eAAO,MAAM,2BAA2B,EAAE,cAGzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,IAAK,CAAC;AAEpC,oBAAY,iBAAiB;IAC3B,KAAK,QAAQ;IACb,OAAO,QAAQ;IACf,KAAK,QAAQ;CACd;AAED,eAAO,MAAM,kBAAkB,EAAG,IAAa,CAAC;AAEhD,eAAO,MAAM,YAAY,sIAmBf,CAAC;AAEX,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,QAAQ,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAClG,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AAG/B,eAAO,MAAM,2BAA2B,EAAE,cAGzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,IAAK,CAAC;AAEpC,oBAAY,iBAAiB;IAC3B,KAAK,QAAQ;IACb,OAAO,QAAQ;IACf,KAAK,QAAQ;CACd;AAED,eAAO,MAAM,kBAAkB,EAAG,IAAa,CAAC;AAEhD,eAAO,MAAM,YAAY,sIAmBf,CAAC;AAEX,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAKnD;;GAEG;AACH,qBAAa,IAAK,SAAQ,iBAAiB;IAC7B,QAAQ,EAAE,WAAW,CAAC;IAC5B,IAAI,EAAE,IAAI,CAAC;IACkB,SAAS,EAAE,MAAM,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IACyB,OAAO,EAAE,OAAO,CAAS;IAExE;;;;;;;;;;OAUG;IACH,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAExC,OAAO,CAAC,gBAAgB,CAAuB;IAEzC,IAAI,EAAE,QAAQ,CAAC;IACrB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAIxC,IAAI,EAAE,MAAM,CAAQ;IAC1B,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAIxC,OAAO,EAAE,SAAS,CAAW;IACnC,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAIjD,iBAAiB;IAUjB,oBAAoB;IAUpB,OAAO,CAAC,WAAW,CAkBjB;IAEF,OAAO,CAAC,WAAW,CAQjB;IAEF,uBAAuB;IAQhB,QAAQ;CAwBhB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,oTAMzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.styles.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,
|
|
1
|
+
{"version":3,"file":"icon.styles.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAsFF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.template.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,
|
|
1
|
+
{"version":3,"file":"icon.template.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,YA4BhD,CAAC;AAEF,eAAO,MAAM,sBAAsB,yBAElC,CAAC"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -142,15 +142,6 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
|
|
|
142
142
|
>;
|
|
143
143
|
export type AccordionItemRef = AccordionItemWC;
|
|
144
144
|
|
|
145
|
-
export declare const Accordion: React.ForwardRefExoticComponent<
|
|
146
|
-
React.PropsWithChildren<
|
|
147
|
-
Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
|
|
148
|
-
HTMLWCProps & {
|
|
149
|
-
}
|
|
150
|
-
> & React.RefAttributes<AccordionWC>
|
|
151
|
-
>;
|
|
152
|
-
export type AccordionRef = AccordionWC;
|
|
153
|
-
|
|
154
145
|
export declare const ActionsMenu: React.ForwardRefExoticComponent<
|
|
155
146
|
React.PropsWithChildren<
|
|
156
147
|
Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
|
|
@@ -171,6 +162,15 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
|
|
|
171
162
|
>;
|
|
172
163
|
export type AiCriteriaSearchRef = AiCriteriaSearchWC;
|
|
173
164
|
|
|
165
|
+
export declare const Accordion: React.ForwardRefExoticComponent<
|
|
166
|
+
React.PropsWithChildren<
|
|
167
|
+
Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
|
|
168
|
+
HTMLWCProps & {
|
|
169
|
+
}
|
|
170
|
+
> & React.RefAttributes<AccordionWC>
|
|
171
|
+
>;
|
|
172
|
+
export type AccordionRef = AccordionWC;
|
|
173
|
+
|
|
174
174
|
export declare const AiIndicator: React.ForwardRefExoticComponent<
|
|
175
175
|
React.PropsWithChildren<
|
|
176
176
|
Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
|
package/dist/esm/icon/icon.js
CHANGED
|
@@ -38,6 +38,8 @@ export const faSizeValues = [
|
|
|
38
38
|
'stack-1x',
|
|
39
39
|
'stack-2x',
|
|
40
40
|
];
|
|
41
|
+
/** Matches FASTTooltip's default show delay. */
|
|
42
|
+
const tooltipShowDelayMs = 300;
|
|
41
43
|
/**
|
|
42
44
|
* @tagname %%prefix%%-icon
|
|
43
45
|
*/
|
|
@@ -45,8 +47,38 @@ export class Icon extends FoundationElement {
|
|
|
45
47
|
constructor() {
|
|
46
48
|
super(...arguments);
|
|
47
49
|
this.isError = false;
|
|
50
|
+
this.tooltipShowTimer = null;
|
|
48
51
|
this.size = 'sm';
|
|
49
52
|
this.variant = 'solid';
|
|
53
|
+
this.showTooltip = () => {
|
|
54
|
+
const tooltip = this.tooltipElement;
|
|
55
|
+
if (!tooltip || this.tooltipShowTimer !== null || tooltip.matches(':popover-open')) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.tooltipShowTimer = window.setTimeout(() => {
|
|
59
|
+
this.tooltipShowTimer = null;
|
|
60
|
+
const delayedTooltip = this.tooltipElement;
|
|
61
|
+
if (!(delayedTooltip === null || delayedTooltip === void 0 ? void 0 : delayedTooltip.isConnected)) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
// Position just before showing so the bubble tracks the anchor's current viewport
|
|
65
|
+
// position (scrolled grid, resized layout); top-layer coordinates are viewport-relative.
|
|
66
|
+
const anchorRect = this.iElement.getBoundingClientRect();
|
|
67
|
+
delayedTooltip.style.top = `${anchorRect.top}px`;
|
|
68
|
+
delayedTooltip.style.left = `${anchorRect.right}px`;
|
|
69
|
+
delayedTooltip.showPopover();
|
|
70
|
+
}, tooltipShowDelayMs);
|
|
71
|
+
};
|
|
72
|
+
this.hideTooltip = () => {
|
|
73
|
+
var _a;
|
|
74
|
+
if (this.tooltipShowTimer !== null) {
|
|
75
|
+
window.clearTimeout(this.tooltipShowTimer);
|
|
76
|
+
this.tooltipShowTimer = null;
|
|
77
|
+
}
|
|
78
|
+
if ((_a = this.tooltipElement) === null || _a === void 0 ? void 0 : _a.matches(':popover-open')) {
|
|
79
|
+
this.tooltipElement.hidePopover();
|
|
80
|
+
}
|
|
81
|
+
};
|
|
50
82
|
}
|
|
51
83
|
nameChanged(oldValue, newValue) {
|
|
52
84
|
newValue ? this.loadIcon() : '';
|
|
@@ -58,12 +90,22 @@ export class Icon extends FoundationElement {
|
|
|
58
90
|
newValue ? this.loadIcon() : '';
|
|
59
91
|
}
|
|
60
92
|
connectedCallback() {
|
|
93
|
+
var _a, _b, _c, _d;
|
|
61
94
|
super.connectedCallback();
|
|
62
95
|
this.loadIcon();
|
|
96
|
+
(_a = this.iElement) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseover', this.showTooltip, { passive: true });
|
|
97
|
+
(_b = this.iElement) === null || _b === void 0 ? void 0 : _b.addEventListener('focusin', this.showTooltip, { passive: true });
|
|
98
|
+
(_c = this.iElement) === null || _c === void 0 ? void 0 : _c.addEventListener('mouseout', this.hideTooltip, { passive: true });
|
|
99
|
+
(_d = this.iElement) === null || _d === void 0 ? void 0 : _d.addEventListener('focusout', this.hideTooltip, { passive: true });
|
|
63
100
|
}
|
|
64
101
|
disconnectedCallback() {
|
|
65
102
|
super.disconnectedCallback();
|
|
66
103
|
this.iElement.replaceChildren();
|
|
104
|
+
this.iElement.removeEventListener('mouseover', this.showTooltip);
|
|
105
|
+
this.iElement.removeEventListener('focusin', this.showTooltip);
|
|
106
|
+
this.iElement.removeEventListener('mouseout', this.hideTooltip);
|
|
107
|
+
this.iElement.removeEventListener('focusout', this.hideTooltip);
|
|
108
|
+
this.hideTooltip();
|
|
67
109
|
}
|
|
68
110
|
getDefaultTooltipConfig() {
|
|
69
111
|
if (!this.name) {
|
|
@@ -20,13 +20,18 @@ export const foundationIconStyles = (context, definition) => css `
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.tooltip-element {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
/* Shown as a top-layer popover (see Icon.showTooltip): the top layer escapes ancestor
|
|
24
|
+
stacking contexts, transforms and overflow clipping, so virtualized grid rows cannot
|
|
25
|
+
paint over the bubble and no z-index is needed. Placement is inline top/left from the
|
|
26
|
+
anchor rect (UA popover inset/margin reset accordingly). No display rule here: the
|
|
27
|
+
UA sheet hides the popover while closed (author display rules would override that),
|
|
28
|
+
and the div's natural display: block applies while open. */
|
|
29
|
+
position: fixed;
|
|
30
|
+
inset: unset;
|
|
31
|
+
margin: 0;
|
|
32
|
+
overflow: visible;
|
|
25
33
|
width: 300px;
|
|
26
34
|
contain: unset;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.tooltip-element::part(tooltip) {
|
|
30
35
|
padding: calc(var(--design-unit) * 4px);
|
|
31
36
|
background-color: color-mix(in srgb, var(--neutral-layer-4), #000 10%);
|
|
32
37
|
border: 1px solid var(--neutral-layer-3);
|
|
@@ -34,6 +39,12 @@ export const foundationIconStyles = (context, definition) => css `
|
|
|
34
39
|
color: var(--neutral-foreground-hint);
|
|
35
40
|
box-shadow: 0 4px 10px rgb(0 0 0 / 35%);
|
|
36
41
|
font-size: var(--type-ramp-minus-1-font-size);
|
|
42
|
+
|
|
43
|
+
/* The top layer changes painting, not style inheritance: the bubble still inherits
|
|
44
|
+
text properties from its host context (e.g. AG Grid cells set white-space: nowrap),
|
|
45
|
+
so reset the ones that would break a multi-line bubble. */
|
|
46
|
+
white-space: normal;
|
|
47
|
+
text-overflow: clip;
|
|
37
48
|
}
|
|
38
49
|
|
|
39
50
|
.tooltip-title {
|
|
@@ -12,11 +12,17 @@ export const getPrefixedIcon = (prefix) => html `
|
|
|
12
12
|
<slot></slot>
|
|
13
13
|
</i>
|
|
14
14
|
${when((x) => x.tooltip, html `
|
|
15
|
-
|
|
15
|
+
<div
|
|
16
|
+
${ref('tooltipElement')}
|
|
17
|
+
role="tooltip"
|
|
18
|
+
part="tooltip"
|
|
19
|
+
class="tooltip-element"
|
|
20
|
+
popover="manual"
|
|
21
|
+
>
|
|
16
22
|
${(x) => html `
|
|
17
23
|
${x.tooltip}
|
|
18
24
|
`}
|
|
19
|
-
|
|
25
|
+
</div>
|
|
20
26
|
`)}
|
|
21
27
|
</template>
|
|
22
28
|
`;
|
|
@@ -53600,6 +53600,41 @@
|
|
|
53600
53600
|
"isProtected": false,
|
|
53601
53601
|
"isAbstract": false
|
|
53602
53602
|
},
|
|
53603
|
+
{
|
|
53604
|
+
"kind": "Property",
|
|
53605
|
+
"canonicalReference": "@genesislcap/foundation-ui!Icon#tooltipElement:member",
|
|
53606
|
+
"docComment": "/**\n * The tooltip bubble stays in this component's template and shadow root, but is promoted to the browser top layer via the Popover API when shown — the top layer escapes ancestor stacking contexts, transforms and overflow clipping, which is what lets virtualized grid rows (absolutely-positioned, later-DOM-order siblings) paint over an in-place bubble. It is a plain `div` rather than `<%%prefix%%-tooltip>`: FASTTooltip's template renders `<${tagFor(AnchoredRegion)}>`, and that lookup misses for the subclassed genesis components (compose() without `baseClass`), so the tooltip component renders an empty shadow root — none of its placement or visibility machinery ever worked here. Placement is manual from the anchor's `getBoundingClientRect()` (see showTooltip).\n */\n",
|
|
53607
|
+
"excerptTokens": [
|
|
53608
|
+
{
|
|
53609
|
+
"kind": "Content",
|
|
53610
|
+
"text": "tooltipElement: "
|
|
53611
|
+
},
|
|
53612
|
+
{
|
|
53613
|
+
"kind": "Reference",
|
|
53614
|
+
"text": "HTMLElement",
|
|
53615
|
+
"canonicalReference": "!HTMLElement:interface"
|
|
53616
|
+
},
|
|
53617
|
+
{
|
|
53618
|
+
"kind": "Content",
|
|
53619
|
+
"text": " | undefined"
|
|
53620
|
+
},
|
|
53621
|
+
{
|
|
53622
|
+
"kind": "Content",
|
|
53623
|
+
"text": ";"
|
|
53624
|
+
}
|
|
53625
|
+
],
|
|
53626
|
+
"isReadonly": false,
|
|
53627
|
+
"isOptional": false,
|
|
53628
|
+
"releaseTag": "Public",
|
|
53629
|
+
"name": "tooltipElement",
|
|
53630
|
+
"propertyTypeTokenRange": {
|
|
53631
|
+
"startIndex": 1,
|
|
53632
|
+
"endIndex": 3
|
|
53633
|
+
},
|
|
53634
|
+
"isStatic": false,
|
|
53635
|
+
"isProtected": false,
|
|
53636
|
+
"isAbstract": false
|
|
53637
|
+
},
|
|
53603
53638
|
{
|
|
53604
53639
|
"kind": "Property",
|
|
53605
53640
|
"canonicalReference": "@genesislcap/foundation-ui!Icon#tooltipId:member",
|
package/dist/foundation-ui.d.ts
CHANGED
|
@@ -5347,6 +5347,19 @@ export declare class Icon extends FoundationElement {
|
|
|
5347
5347
|
tooltipId: string;
|
|
5348
5348
|
tooltip: string;
|
|
5349
5349
|
isError: boolean;
|
|
5350
|
+
/**
|
|
5351
|
+
* The tooltip bubble stays in this component's template and shadow root, but is promoted
|
|
5352
|
+
* to the browser top layer via the Popover API when shown — the top layer escapes ancestor
|
|
5353
|
+
* stacking contexts, transforms and overflow clipping, which is what lets virtualized
|
|
5354
|
+
* grid rows (absolutely-positioned, later-DOM-order siblings) paint over an in-place
|
|
5355
|
+
* bubble. It is a plain `div` rather than `<%%prefix%%-tooltip>`: FASTTooltip's template
|
|
5356
|
+
* renders `<${tagFor(AnchoredRegion)}>`, and that lookup misses for the subclassed
|
|
5357
|
+
* genesis components (compose() without `baseClass`), so the tooltip component renders an
|
|
5358
|
+
* empty shadow root — none of its placement or visibility machinery ever worked here.
|
|
5359
|
+
* Placement is manual from the anchor's `getBoundingClientRect()` (see showTooltip).
|
|
5360
|
+
*/
|
|
5361
|
+
tooltipElement: HTMLElement | undefined;
|
|
5362
|
+
private tooltipShowTimer;
|
|
5350
5363
|
name: IconName;
|
|
5351
5364
|
nameChanged(oldValue: string, newValue: string): void;
|
|
5352
5365
|
size: FaSize;
|
|
@@ -5355,6 +5368,8 @@ export declare class Icon extends FoundationElement {
|
|
|
5355
5368
|
variantChanged(oldValue: string, newValue: string): void;
|
|
5356
5369
|
connectedCallback(): void;
|
|
5357
5370
|
disconnectedCallback(): void;
|
|
5371
|
+
private showTooltip;
|
|
5372
|
+
private hideTooltip;
|
|
5358
5373
|
getDefaultTooltipConfig(): void;
|
|
5359
5374
|
loadIcon(): void;
|
|
5360
5375
|
}
|
package/dist/react.cjs
CHANGED
|
@@ -118,11 +118,6 @@ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
|
118
118
|
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
122
|
-
const { children, ...rest } = props;
|
|
123
|
-
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
124
|
-
});
|
|
125
|
-
|
|
126
121
|
const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
127
122
|
const { children, ...rest } = props;
|
|
128
123
|
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
@@ -150,6 +145,11 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
|
|
|
150
145
|
return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
151
146
|
});
|
|
152
147
|
|
|
148
|
+
const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
149
|
+
const { children, ...rest } = props;
|
|
150
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
151
|
+
});
|
|
152
|
+
|
|
153
153
|
const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
|
|
154
154
|
const { children, ...rest } = props;
|
|
155
155
|
return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
|
|
@@ -1144,9 +1144,9 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
|
|
|
1144
1144
|
|
|
1145
1145
|
module.exports = {
|
|
1146
1146
|
AccordionItem,
|
|
1147
|
-
Accordion,
|
|
1148
1147
|
ActionsMenu,
|
|
1149
1148
|
AiCriteriaSearch,
|
|
1149
|
+
Accordion,
|
|
1150
1150
|
AiIndicator,
|
|
1151
1151
|
Anchor,
|
|
1152
1152
|
AnchoredRegion,
|
package/dist/react.mjs
CHANGED
|
@@ -116,11 +116,6 @@ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref)
|
|
|
116
116
|
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
120
|
-
const { children, ...rest } = props;
|
|
121
|
-
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
122
|
-
});
|
|
123
|
-
|
|
124
119
|
export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
125
120
|
const { children, ...rest } = props;
|
|
126
121
|
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
@@ -148,6 +143,11 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
|
|
|
148
143
|
return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
149
144
|
});
|
|
150
145
|
|
|
146
|
+
export const Accordion = React.forwardRef(function Accordion(props, ref) {
|
|
147
|
+
const { children, ...rest } = props;
|
|
148
|
+
return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
|
|
149
|
+
});
|
|
150
|
+
|
|
151
151
|
export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
|
|
152
152
|
const { children, ...rest } = props;
|
|
153
153
|
return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "15.8.2",
|
|
4
|
+
"version": "15.8.3-PTC-0.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@genesislcap/foundation-testing": "15.8.2",
|
|
89
|
-
"@genesislcap/genx": "15.8.2",
|
|
90
|
-
"@genesislcap/rollup-builder": "15.8.2",
|
|
91
|
-
"@genesislcap/ts-builder": "15.8.2",
|
|
92
|
-
"@genesislcap/uvu-playwright-builder": "15.8.2",
|
|
93
|
-
"@genesislcap/vite-builder": "15.8.2",
|
|
94
|
-
"@genesislcap/webpack-builder": "15.8.2",
|
|
88
|
+
"@genesislcap/foundation-testing": "15.8.3-PTC-0.2",
|
|
89
|
+
"@genesislcap/genx": "15.8.3-PTC-0.2",
|
|
90
|
+
"@genesislcap/rollup-builder": "15.8.3-PTC-0.2",
|
|
91
|
+
"@genesislcap/ts-builder": "15.8.3-PTC-0.2",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "15.8.3-PTC-0.2",
|
|
93
|
+
"@genesislcap/vite-builder": "15.8.3-PTC-0.2",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.8.3-PTC-0.2",
|
|
95
95
|
"copyfiles": "^2.4.1"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
@@ -100,16 +100,16 @@
|
|
|
100
100
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
101
101
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
102
102
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
103
|
-
"@genesislcap/expression-builder": "15.8.2",
|
|
104
|
-
"@genesislcap/foundation-ai": "15.8.2",
|
|
105
|
-
"@genesislcap/foundation-comms": "15.8.2",
|
|
106
|
-
"@genesislcap/foundation-criteria": "15.8.2",
|
|
107
|
-
"@genesislcap/foundation-errors": "15.8.2",
|
|
108
|
-
"@genesislcap/foundation-events": "15.8.2",
|
|
109
|
-
"@genesislcap/foundation-logger": "15.8.2",
|
|
110
|
-
"@genesislcap/foundation-notifications": "15.8.2",
|
|
111
|
-
"@genesislcap/foundation-user": "15.8.2",
|
|
112
|
-
"@genesislcap/foundation-utils": "15.8.2",
|
|
103
|
+
"@genesislcap/expression-builder": "15.8.3-PTC-0.2",
|
|
104
|
+
"@genesislcap/foundation-ai": "15.8.3-PTC-0.2",
|
|
105
|
+
"@genesislcap/foundation-comms": "15.8.3-PTC-0.2",
|
|
106
|
+
"@genesislcap/foundation-criteria": "15.8.3-PTC-0.2",
|
|
107
|
+
"@genesislcap/foundation-errors": "15.8.3-PTC-0.2",
|
|
108
|
+
"@genesislcap/foundation-events": "15.8.3-PTC-0.2",
|
|
109
|
+
"@genesislcap/foundation-logger": "15.8.3-PTC-0.2",
|
|
110
|
+
"@genesislcap/foundation-notifications": "15.8.3-PTC-0.2",
|
|
111
|
+
"@genesislcap/foundation-user": "15.8.3-PTC-0.2",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.8.3-PTC-0.2",
|
|
113
113
|
"@microsoft/fast-colors": "5.3.1",
|
|
114
114
|
"@microsoft/fast-components": "2.30.6",
|
|
115
115
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"require": "./dist/react.cjs"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "6381e57d86cc251a7265cefa2fc13df20b4a38fb"
|
|
146
146
|
}
|