@orfium/ictinus 5.2.0 → 5.3.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.
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +11 -11
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2103,7 +2103,7 @@ type IconButtonProps = Omit<ButtonBaseProps$1, 'type' | 'isBlock' | 'isLoading'
|
|
|
2103
2103
|
/** This property defines the type of the IconButton */
|
|
2104
2104
|
type?: PrimitiveButtonTypes;
|
|
2105
2105
|
/** This property defines witch icon to use */
|
|
2106
|
-
|
|
2106
|
+
iconName: AcceptedIconNames;
|
|
2107
2107
|
/** This property defines the shape of the IconButton */
|
|
2108
2108
|
shape?: IconButtonShape;
|
|
2109
2109
|
};
|
|
@@ -2111,7 +2111,7 @@ declare const IconButton: React__default.ForwardRefExoticComponent<Omit<ButtonBa
|
|
|
2111
2111
|
/** This property defines the type of the IconButton */
|
|
2112
2112
|
type?: PrimitiveButtonTypes;
|
|
2113
2113
|
/** This property defines witch icon to use */
|
|
2114
|
-
|
|
2114
|
+
iconName: AcceptedIconNames;
|
|
2115
2115
|
/** This property defines the shape of the IconButton */
|
|
2116
2116
|
shape?: IconButtonShape;
|
|
2117
2117
|
} & React__default.RefAttributes<HTMLButtonElement>>;
|
package/dist/index.mjs
CHANGED
|
@@ -2088,7 +2088,7 @@ const oy = H3, N3 = B.forwardRef((e, t) => {
|
|
|
2088
2088
|
isBlock: n
|
|
2089
2089
|
}), children: [
|
|
2090
2090
|
i && !a && /* @__PURE__ */ p(oy, { dataTestId: m }),
|
|
2091
|
-
/* @__PURE__ */ p("button", { ...fr(w, ["avatar", "iconRightName", "iconLeftName",
|
|
2091
|
+
/* @__PURE__ */ p("button", { ...fr(w, ["avatar", "iconRightName", "iconLeftName", "iconName"]), ref: t, type: d, "data-testid": oe(m, u), css: JC({
|
|
2092
2092
|
type: r,
|
|
2093
2093
|
size: o,
|
|
2094
2094
|
isLoading: i,
|
|
@@ -20489,7 +20489,7 @@ const C9 = b9, y9 = (e, t = "normal") => Q(e.tokens.typography.get(`${t}.headlin
|
|
|
20489
20489
|
isLocked: A,
|
|
20490
20490
|
isDisabled: n
|
|
20491
20491
|
}), placeholder: M, required: u, id: k, disabled: n || A, "data-testid": T.dataTestId ? `input_${T.dataTestId}` : "input", "aria-invalid": (a == null ? void 0 : a.type) === "error", "aria-describedby": h, ...g3(T, "dataTestId"), value: o, ref: t }),
|
|
20492
|
-
l && /* @__PURE__ */ p(wu, { htmlFor: k, label: l, isRequired: u, isAnimated: E, hasError: (a == null ? void 0 : a.type) === "error" })
|
|
20492
|
+
l && /* @__PURE__ */ p(wu, { htmlFor: k, label: l, isRequired: u, isAnimated: E, hasError: !n && (a == null ? void 0 : a.type) === "error" })
|
|
20493
20493
|
] }),
|
|
20494
20494
|
!n && /* @__PURE__ */ p("div", { css: wz(), children: v ? /* @__PURE__ */ p("div", { css: Sz(), children: /* @__PURE__ */ p(Su, { type: "circular", dataTestPrefixId: "multi_textdield_base" }) }) : P })
|
|
20495
20495
|
] }) });
|
|
@@ -20995,7 +20995,7 @@ const RV = ["Monday", "Tuesday", "Wednesday", "Thurdsday", "Friday", "Saturday",
|
|
|
20995
20995
|
] });
|
|
20996
20996
|
}, _V = g.memo(PV), L9 = B.forwardRef((e, t) => {
|
|
20997
20997
|
const {
|
|
20998
|
-
|
|
20998
|
+
iconName: r,
|
|
20999
20999
|
size: o = "normal",
|
|
21000
21000
|
type: n = "primary",
|
|
21001
21001
|
shape: a = "circle",
|
|
@@ -22950,7 +22950,7 @@ const AW = ({
|
|
|
22950
22950
|
/* @__PURE__ */ O("div", { css: lV(), children: [
|
|
22951
22951
|
(a === "left" || a === "both") && /* @__PURE__ */ p("div", { css: k5({
|
|
22952
22952
|
position: "left"
|
|
22953
|
-
}), children: /* @__PURE__ */ p(At, {
|
|
22953
|
+
}), children: /* @__PURE__ */ p(At, { iconName: "triangleLeft", type: "tertiary", onClick: () => n("back"), dataTestId: "month_back" }) }),
|
|
22954
22954
|
/* @__PURE__ */ O(no, { onClick: () => {
|
|
22955
22955
|
c(!1);
|
|
22956
22956
|
}, children: [
|
|
@@ -22973,7 +22973,7 @@ const AW = ({
|
|
|
22973
22973
|
] }),
|
|
22974
22974
|
(a === "right" || a === "both") && /* @__PURE__ */ p("div", { css: k5({
|
|
22975
22975
|
position: "right"
|
|
22976
|
-
}), children: /* @__PURE__ */ p(At, {
|
|
22976
|
+
}), children: /* @__PURE__ */ p(At, { iconName: "triangleRight", type: "tertiary", onClick: () => n("forward"), dataTestId: "month_forward" }) })
|
|
22977
22977
|
] })
|
|
22978
22978
|
] }),
|
|
22979
22979
|
/* @__PURE__ */ p(_V, { year: o.year(), month: o.month(), onDaySelect: t, selectedDays: r, disabledDates: i, isFirstCalendar: u })
|
|
@@ -23498,7 +23498,7 @@ const hU = a8, mU = ({
|
|
|
23498
23498
|
return ee(() => (e && (document.body.style.overflow = "hidden"), () => {
|
|
23499
23499
|
document.body.style.overflow = "unset";
|
|
23500
23500
|
}), [e]), e ? /* @__PURE__ */ p("div", { css: PU, "data-testid": oe("modal-container", r), children: /* @__PURE__ */ p(no, { onClick: t, children: /* @__PURE__ */ p("div", { css: _U, children: /* @__PURE__ */ O(iy, { elevated: "02", radius: "3", children: [
|
|
23501
|
-
/* @__PURE__ */ p("div", { css: AU, children: /* @__PURE__ */ p(At, { type: "tertiary",
|
|
23501
|
+
/* @__PURE__ */ p("div", { css: AU, children: /* @__PURE__ */ p(At, { type: "tertiary", iconName: "close", onClick: t, color: i.tokens.colors.get("textColor.default.secondary"), dataTestId: "modal-close" }) }),
|
|
23502
23502
|
/* @__PURE__ */ p("div", { css: kU({
|
|
23503
23503
|
isContentPadded: a
|
|
23504
23504
|
}), children: n ? /* @__PURE__ */ p(FU, { ...n }) : o })
|
|
@@ -23961,16 +23961,16 @@ const cJ = m8, Oj = ({
|
|
|
23961
23961
|
padding: i.globals.spacing.get("4")
|
|
23962
23962
|
}
|
|
23963
23963
|
}, "", ""), children: [
|
|
23964
|
-
o && /* @__PURE__ */ p(At, {
|
|
23965
|
-
/* @__PURE__ */ p(At, {
|
|
23964
|
+
o && /* @__PURE__ */ p(At, { iconName: "pageFirst", onClick: u, type: "tertiary", isDisabled: a || !c }),
|
|
23965
|
+
/* @__PURE__ */ p(At, { iconName: "chevronLeft", type: "tertiary", onClick: v, isDisabled: a || !c }),
|
|
23966
23966
|
/* @__PURE__ */ O("div", { children: [
|
|
23967
23967
|
"Page ",
|
|
23968
23968
|
l,
|
|
23969
23969
|
" of ",
|
|
23970
23970
|
t
|
|
23971
23971
|
] }),
|
|
23972
|
-
/* @__PURE__ */ p(At, {
|
|
23973
|
-
o && /* @__PURE__ */ p(At, {
|
|
23972
|
+
/* @__PURE__ */ p(At, { iconName: "chevronRight", type: "tertiary", onClick: d, isDisabled: n || !s }),
|
|
23973
|
+
o && /* @__PURE__ */ p(At, { iconName: "pageLast", type: "tertiary", onClick: f, isDisabled: n || !s })
|
|
23974
23974
|
] });
|
|
23975
23975
|
}, fJ = Nj, zj = () => (e) => {
|
|
23976
23976
|
const t = me(e);
|
|
@@ -24616,7 +24616,7 @@ const ze = T8, SK = ({
|
|
|
24616
24616
|
transformOrigin: "center",
|
|
24617
24617
|
width: "fit-content",
|
|
24618
24618
|
transform: `rotate(${t ? "180" : "0"}deg)`
|
|
24619
|
-
}, "", ""), onClick: (u) => u.stopPropagation(), children: /* @__PURE__ */ p(At, { type: "tertiary",
|
|
24619
|
+
}, "", ""), onClick: (u) => u.stopPropagation(), children: /* @__PURE__ */ p(At, { type: "tertiary", iconName: "chevronDown", onClick: r, dataTestId: "expanded-button" }) }) }) }) }) : null;
|
|
24620
24620
|
}, _K = B.memo(PK), kK = ({
|
|
24621
24621
|
isBordered: e,
|
|
24622
24622
|
isCustomCell: t
|