@cmgfi/clear-ds 1.2.2 → 1.2.3
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +7 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -908,6 +908,8 @@ export declare interface IconButtonProps extends React.ButtonHTMLAttributes<HTML
|
|
|
908
908
|
* since there is no visible text.
|
|
909
909
|
*/
|
|
910
910
|
'aria-label': string;
|
|
911
|
+
/** Which side the auto-tooltip appears on. Defaults to `'top'`. */
|
|
912
|
+
tooltipPlacement?: TooltipPlacement;
|
|
911
913
|
}
|
|
912
914
|
|
|
913
915
|
export declare function InlineAlert({ severity, message }: InlineAlertProps): JSX_2.Element;
|
|
@@ -1630,7 +1632,7 @@ export declare interface PicklistProps {
|
|
|
1630
1632
|
* isOpen={open}
|
|
1631
1633
|
* onClose={() => setOpen(false)}
|
|
1632
1634
|
* title="Loan Details"
|
|
1633
|
-
* footer={<Button size="
|
|
1635
|
+
* footer={<Button size="md" onClick={() => setOpen(false)}>Close</Button>}
|
|
1634
1636
|
* >
|
|
1635
1637
|
* <p>…content…</p>
|
|
1636
1638
|
* </Popup>
|
|
@@ -1652,7 +1654,7 @@ export declare interface PopupProps {
|
|
|
1652
1654
|
title?: string;
|
|
1653
1655
|
/** Popup body content — any ReactNode */
|
|
1654
1656
|
children: React.ReactNode;
|
|
1655
|
-
/** Footer slot — typically action buttons, right-aligned
|
|
1657
|
+
/** Footer slot — typically action buttons, right-aligned */
|
|
1656
1658
|
footer?: React.ReactNode;
|
|
1657
1659
|
/**
|
|
1658
1660
|
* Which side of the trigger the popup opens on.
|
package/dist/index.mjs
CHANGED
|
@@ -1038,17 +1038,18 @@ const Ct = ge(
|
|
|
1038
1038
|
size: n = "md",
|
|
1039
1039
|
className: r,
|
|
1040
1040
|
disabled: i,
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1041
|
+
tooltipPlacement: s = "top",
|
|
1042
|
+
"aria-label": o,
|
|
1043
|
+
...l
|
|
1044
|
+
}, a) => {
|
|
1045
|
+
const c = [
|
|
1045
1046
|
Rr.btn,
|
|
1046
1047
|
Rr[e],
|
|
1047
1048
|
Rr[n],
|
|
1048
1049
|
i ? Rr.disabled : "",
|
|
1049
1050
|
r ?? ""
|
|
1050
1051
|
].filter(Boolean).join(" ");
|
|
1051
|
-
return /* @__PURE__ */ h(Tr, { content:
|
|
1052
|
+
return /* @__PURE__ */ h(Tr, { content: o, placement: s, children: /* @__PURE__ */ h("button", { ref: a, className: c, disabled: i, "aria-label": o, ...l, children: /* @__PURE__ */ h("span", { className: Rr.icon, "aria-hidden": "true", children: t }) }) });
|
|
1052
1053
|
}
|
|
1053
1054
|
);
|
|
1054
1055
|
Ct.displayName = "IconButton";
|
|
@@ -23626,7 +23627,7 @@ const UI = "_overlay_keczm_3", KI = "_modal_keczm_19", GI = "_header_keczm_36",
|
|
|
23626
23627
|
) : null)
|
|
23627
23628
|
);
|
|
23628
23629
|
ZI.displayName = "Modal";
|
|
23629
|
-
const eD = "
|
|
23630
|
+
const eD = "_triggerWrap_5kkmc_3", tD = "_scrim_5kkmc_15", nD = "_popup_5kkmc_24", rD = "_header_5kkmc_82", iD = "_title_5kkmc_89", sD = "_body_5kkmc_101", oD = "_footer_5kkmc_107", Hn = {
|
|
23630
23631
|
triggerWrap: eD,
|
|
23631
23632
|
scrim: tD,
|
|
23632
23633
|
popup: nD,
|