aidos-ui 5.0.10 → 5.0.11
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.js +17 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -269,6 +269,7 @@ interface BaseListItemProps extends Omit<RowProps, "children" | "jss" | "role">
|
|
|
269
269
|
icon?: IconType;
|
|
270
270
|
iconPosition?: Position;
|
|
271
271
|
iconSize?: Size;
|
|
272
|
+
iconJss?: JSS;
|
|
272
273
|
addOn?: ReactNode;
|
|
273
274
|
disabled?: boolean;
|
|
274
275
|
role?: undefined;
|
|
@@ -687,7 +688,7 @@ declare function useStream<Frame>({ render, bufferStart, bufferEnd, index, debou
|
|
|
687
688
|
frame: Frame;
|
|
688
689
|
};
|
|
689
690
|
|
|
690
|
-
declare function Sublist({ children, label, labelBold, initialState, jss,
|
|
691
|
+
declare function Sublist({ children, label, labelBold, initialState, jss, }: {
|
|
691
692
|
children: React__default.ReactNode;
|
|
692
693
|
label: string;
|
|
693
694
|
labelBold?: boolean;
|
|
@@ -695,7 +696,6 @@ declare function Sublist({ children, label, labelBold, initialState, jss, second
|
|
|
695
696
|
collapsed: boolean;
|
|
696
697
|
};
|
|
697
698
|
jss?: JSS;
|
|
698
|
-
secondaryAddOn?: ReactNode;
|
|
699
699
|
}): react_jsx_runtime.JSX.Element;
|
|
700
700
|
|
|
701
701
|
interface SubmitIconInputProps extends BaseInputProps {
|
package/dist/index.js
CHANGED
|
@@ -1490,6 +1490,7 @@ var BaseListItem = React35.forwardRef(function BaseListItem2({
|
|
|
1490
1490
|
icon,
|
|
1491
1491
|
iconPosition = "start",
|
|
1492
1492
|
iconSize = "medium",
|
|
1493
|
+
iconJss,
|
|
1493
1494
|
addOn,
|
|
1494
1495
|
disabled = false,
|
|
1495
1496
|
padding = "medium",
|
|
@@ -1505,7 +1506,15 @@ var BaseListItem = React35.forwardRef(function BaseListItem2({
|
|
|
1505
1506
|
headlineBold,
|
|
1506
1507
|
padding,
|
|
1507
1508
|
gap,
|
|
1508
|
-
addOn: icon ? /* @__PURE__ */ jsx(
|
|
1509
|
+
addOn: icon ? /* @__PURE__ */ jsx(
|
|
1510
|
+
Icon,
|
|
1511
|
+
{
|
|
1512
|
+
icon,
|
|
1513
|
+
size: iconSize,
|
|
1514
|
+
color: contentColor,
|
|
1515
|
+
jss: iconJss
|
|
1516
|
+
}
|
|
1517
|
+
) : void 0,
|
|
1509
1518
|
addOnPosition: iconPosition,
|
|
1510
1519
|
headline,
|
|
1511
1520
|
headlineSize,
|
|
@@ -4403,8 +4412,7 @@ function Sublist({
|
|
|
4403
4412
|
label,
|
|
4404
4413
|
labelBold,
|
|
4405
4414
|
initialState = { collapsed: false },
|
|
4406
|
-
jss
|
|
4407
|
-
secondaryAddOn
|
|
4415
|
+
jss
|
|
4408
4416
|
}) {
|
|
4409
4417
|
const [collapsed, setCollapsed] = React35.useState(initialState.collapsed);
|
|
4410
4418
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -4415,24 +4423,12 @@ function Sublist({
|
|
|
4415
4423
|
headlineBold: labelBold,
|
|
4416
4424
|
onClick: () => setCollapsed((x) => !x),
|
|
4417
4425
|
jss,
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
jss: [
|
|
4425
|
-
{
|
|
4426
|
-
transition: "transform 0.15s ease-in"
|
|
4427
|
-
},
|
|
4428
|
-
!collapsed && {
|
|
4429
|
-
transform: "rotateZ(90deg)"
|
|
4430
|
-
}
|
|
4431
|
-
],
|
|
4432
|
-
children: /* @__PURE__ */ jsx(Icon, { color: "inherit", size: "medium", icon: "chevron-right" })
|
|
4433
|
-
}
|
|
4434
|
-
)
|
|
4435
|
-
] }),
|
|
4426
|
+
icon: "chevron-right",
|
|
4427
|
+
iconPosition: "end",
|
|
4428
|
+
iconJss: {
|
|
4429
|
+
transition: "transform 0.15s ease-in",
|
|
4430
|
+
...!collapsed && { transform: "rotateZ(90deg)" }
|
|
4431
|
+
},
|
|
4436
4432
|
color: "secondary"
|
|
4437
4433
|
}
|
|
4438
4434
|
),
|