@uniformdev/design-system 19.20.0 → 19.21.0
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/esm/index.js +180 -45
- package/dist/index.d.ts +27 -6
- package/dist/index.js +176 -46
- package/package.json +4 -3
package/dist/esm/index.js
CHANGED
|
@@ -983,12 +983,6 @@ import React3 from "react";
|
|
|
983
983
|
// src/components/Icons/Icon.styles.ts
|
|
984
984
|
import { css as css8 } from "@emotion/react";
|
|
985
985
|
var IconImg = css8`
|
|
986
|
-
display: hidden;
|
|
987
|
-
|
|
988
|
-
${mq("sm")} {
|
|
989
|
-
display: block;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
986
|
& svg {
|
|
993
987
|
display: block;
|
|
994
988
|
vertical-align: middle;
|
|
@@ -1009,6 +1003,9 @@ var IconColorCurrent = css8`
|
|
|
1009
1003
|
var IconColorAction = css8`
|
|
1010
1004
|
color: var(--primary-action-default);
|
|
1011
1005
|
`;
|
|
1006
|
+
var IconColorAccent = css8`
|
|
1007
|
+
color: var(--accent-alt-dark);
|
|
1008
|
+
`;
|
|
1012
1009
|
|
|
1013
1010
|
// src/components/Icons/IconsProvider.tsx
|
|
1014
1011
|
import { paramCase } from "param-case";
|
|
@@ -1058,6 +1055,7 @@ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }
|
|
|
1058
1055
|
default: IconColorDefault,
|
|
1059
1056
|
gray: IconColorGray,
|
|
1060
1057
|
red: IconColorRed,
|
|
1058
|
+
accent: IconColorAccent,
|
|
1061
1059
|
currentColor: IconColorCurrent
|
|
1062
1060
|
};
|
|
1063
1061
|
if (isIconName && isLoading) {
|
|
@@ -1275,14 +1273,14 @@ var numberInput = GenIcon({
|
|
|
1275
1273
|
tag: "svg",
|
|
1276
1274
|
attr: {
|
|
1277
1275
|
role: "img",
|
|
1278
|
-
viewBox: "0 0
|
|
1276
|
+
viewBox: "0 0 40 40"
|
|
1279
1277
|
},
|
|
1280
1278
|
child: [
|
|
1281
1279
|
{
|
|
1282
1280
|
tag: "path",
|
|
1283
1281
|
attr: {
|
|
1284
1282
|
fill: "currentColor",
|
|
1285
|
-
d: "
|
|
1283
|
+
d: "M6.10121 28.0571V15.3039L3.3335 15.9254V13.6694L7.40084 11.9429H9.30214V28.0571H6.10121Z"
|
|
1286
1284
|
},
|
|
1287
1285
|
child: []
|
|
1288
1286
|
},
|
|
@@ -1290,7 +1288,7 @@ var numberInput = GenIcon({
|
|
|
1290
1288
|
tag: "path",
|
|
1291
1289
|
attr: {
|
|
1292
1290
|
fill: "currentColor",
|
|
1293
|
-
d: "
|
|
1291
|
+
d: "M11.6782 28.0571V25.9162C12.7051 25.1028 13.6998 24.2971 14.6625 23.4991C15.6413 22.701 16.5077 21.9107 17.2618 21.128C18.0319 20.3453 18.6416 19.5856 19.0909 18.849C19.5562 18.097 19.7888 17.368 19.7888 16.6621C19.7888 16.0021 19.5963 15.419 19.2112 14.9125C18.8422 14.4061 18.2245 14.1528 17.358 14.1528C16.4756 14.1528 15.8097 14.4291 15.3605 14.9816C14.9112 15.5341 14.6866 16.2016 14.6866 16.9843H11.7023C11.7344 15.8026 12.0071 14.8204 12.5206 14.0377C13.034 13.2397 13.7159 12.6489 14.5663 12.2652C15.4166 11.8662 16.3713 11.6667 17.4302 11.6667C19.147 11.6667 20.4787 12.1194 21.4254 13.0249C22.3881 13.915 22.8694 15.0737 22.8694 16.5009C22.8694 17.391 22.6528 18.2581 22.2196 19.1022C21.8024 19.9463 21.2489 20.7597 20.559 21.5423C19.869 22.325 19.123 23.0617 18.3207 23.7523C17.5185 24.4276 16.7403 25.0568 15.9862 25.64H23.2786V28.0571H11.6782Z"
|
|
1294
1292
|
},
|
|
1295
1293
|
child: []
|
|
1296
1294
|
},
|
|
@@ -1298,7 +1296,7 @@ var numberInput = GenIcon({
|
|
|
1298
1296
|
tag: "path",
|
|
1299
1297
|
attr: {
|
|
1300
1298
|
fill: "currentColor",
|
|
1301
|
-
d: "
|
|
1299
|
+
d: "M30.8667 28.3333C29.7596 28.3333 28.7568 28.1492 27.8583 27.7808C26.9598 27.3972 26.2377 26.814 25.6922 26.0313C25.1467 25.2486 24.8579 24.2664 24.8258 23.0847H27.8583C27.8743 23.8674 28.139 24.5273 28.6525 25.0644C29.182 25.5862 29.92 25.8471 30.8667 25.8471C31.7652 25.8471 32.4551 25.6093 32.9364 25.1335C33.4178 24.6578 33.6584 24.0592 33.6584 23.3379C33.6584 22.4939 33.3375 21.857 32.6958 21.4272C32.07 20.9822 31.2598 20.7597 30.265 20.7597H29.0135V18.3425H30.289C31.1073 18.3425 31.7892 18.1584 32.3347 17.79C32.8803 17.4217 33.153 16.8769 33.153 16.1556C33.153 15.5571 32.9445 15.0813 32.5273 14.7283C32.1262 14.36 31.5646 14.1759 30.8426 14.1759C30.0564 14.1759 29.4387 14.3984 28.9894 14.8435C28.5562 15.2885 28.3155 15.8333 28.2674 16.4779H25.259C25.3232 14.9892 25.8607 13.8152 26.8715 12.9558C27.8984 12.0964 29.2221 11.6667 30.8426 11.6667C31.9978 11.6667 32.9685 11.8662 33.7547 12.2652C34.5569 12.6489 35.1586 13.163 35.5597 13.8075C35.9769 14.4521 36.1855 15.1657 36.1855 15.9484C36.1855 16.8539 35.9207 17.6212 35.3913 18.2504C34.8778 18.8643 34.2361 19.2787 33.4659 19.4935C34.4125 19.6777 35.1827 20.1228 35.7763 20.8287C36.37 21.5193 36.6668 22.3941 36.6668 23.453C36.6668 24.3431 36.4422 25.1565 35.993 25.8932C35.5437 26.6298 34.8859 27.2207 34.0194 27.6657C33.1691 28.1108 32.1181 28.3333 30.8667 28.3333Z"
|
|
1302
1300
|
},
|
|
1303
1301
|
child: []
|
|
1304
1302
|
}
|
|
@@ -1373,6 +1371,7 @@ var infoFilledIcon = GenIcon({
|
|
|
1373
1371
|
}
|
|
1374
1372
|
]
|
|
1375
1373
|
});
|
|
1374
|
+
var settingsIcon = MdSettings;
|
|
1376
1375
|
var settings = (props) => /* @__PURE__ */ jsx7(Icon, { ...props, icon: MdSettings });
|
|
1377
1376
|
var queryStringIcon = GenIcon({
|
|
1378
1377
|
tag: "svg",
|
|
@@ -1393,6 +1392,25 @@ var queryStringIcon = GenIcon({
|
|
|
1393
1392
|
}
|
|
1394
1393
|
]
|
|
1395
1394
|
});
|
|
1395
|
+
var structurePanelIcon = GenIcon({
|
|
1396
|
+
tag: "svg",
|
|
1397
|
+
attr: {
|
|
1398
|
+
role: "img",
|
|
1399
|
+
viewBox: "0 0 24 24"
|
|
1400
|
+
},
|
|
1401
|
+
child: [
|
|
1402
|
+
{
|
|
1403
|
+
tag: "path",
|
|
1404
|
+
attr: {
|
|
1405
|
+
fill: "currentColor",
|
|
1406
|
+
fillRule: "evenodd",
|
|
1407
|
+
clipRule: "evenodd",
|
|
1408
|
+
d: "M2.5 5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-14a1 1 0 0 1-1-1V5ZM7.5 11a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-2ZM7.5 17a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-2Z"
|
|
1409
|
+
},
|
|
1410
|
+
child: []
|
|
1411
|
+
}
|
|
1412
|
+
]
|
|
1413
|
+
});
|
|
1396
1414
|
var formatBoldIcon = GenIcon({
|
|
1397
1415
|
tag: "svg",
|
|
1398
1416
|
attr: {
|
|
@@ -1570,6 +1588,39 @@ var clearFormatting = GenIcon({
|
|
|
1570
1588
|
}
|
|
1571
1589
|
]
|
|
1572
1590
|
});
|
|
1591
|
+
var yesNoIcon = GenIcon({
|
|
1592
|
+
tag: "svg",
|
|
1593
|
+
attr: {
|
|
1594
|
+
role: "img",
|
|
1595
|
+
viewBox: "0 0 40 40"
|
|
1596
|
+
},
|
|
1597
|
+
child: [
|
|
1598
|
+
{
|
|
1599
|
+
tag: "path",
|
|
1600
|
+
attr: {
|
|
1601
|
+
fill: "currentColor",
|
|
1602
|
+
d: "M8.9984 27.5V21.8919L4.00049 11.7342H7.08431L10.3808 19.009L13.656 11.7342H16.6973L11.7207 21.8919V27.5H8.9984Z"
|
|
1603
|
+
},
|
|
1604
|
+
child: []
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
tag: "path",
|
|
1608
|
+
attr: {
|
|
1609
|
+
fill: "currentColor",
|
|
1610
|
+
d: "M15.0085 30L20.3255 10H22.9839L17.6457 30H15.0085Z"
|
|
1611
|
+
},
|
|
1612
|
+
child: []
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
tag: "path",
|
|
1616
|
+
attr: {
|
|
1617
|
+
fill: "currentColor",
|
|
1618
|
+
d: "M24.8922 27.5V11.7342H27.6145L34.6116 22.8378V11.7342H37.3338V27.5H34.6116L27.6145 16.4189V27.5H24.8922Z"
|
|
1619
|
+
},
|
|
1620
|
+
child: []
|
|
1621
|
+
}
|
|
1622
|
+
]
|
|
1623
|
+
});
|
|
1573
1624
|
var customIcons = {
|
|
1574
1625
|
"rectangle-rounded": rectangleRoundedIcon,
|
|
1575
1626
|
card: cardIcon,
|
|
@@ -1590,7 +1641,8 @@ var customIcons = {
|
|
|
1590
1641
|
"format-superscript": formatSuperscript,
|
|
1591
1642
|
"format-subscript": formatSubscript,
|
|
1592
1643
|
"layout-list-numbered": layoutListNumberedIcon,
|
|
1593
|
-
"clear-formatting": clearFormatting
|
|
1644
|
+
"clear-formatting": clearFormatting,
|
|
1645
|
+
"yes-no": yesNoIcon
|
|
1594
1646
|
};
|
|
1595
1647
|
|
|
1596
1648
|
// src/components/AddListButton/AddListButton.styles.ts
|
|
@@ -12449,17 +12501,23 @@ var drawerStyles = (bgColor = "var(--white)") => css39`
|
|
|
12449
12501
|
height: 100%;
|
|
12450
12502
|
`;
|
|
12451
12503
|
var drawerCloseButtonStyles = css39`
|
|
12452
|
-
|
|
12504
|
+
display: block;
|
|
12505
|
+
padding: 0;
|
|
12453
12506
|
background: transparent;
|
|
12454
12507
|
border: none;
|
|
12455
|
-
|
|
12456
|
-
|
|
12508
|
+
`;
|
|
12509
|
+
var headerWrapperStyles = css39`
|
|
12510
|
+
display: flex;
|
|
12511
|
+
justify-content: flex-end;
|
|
12512
|
+
align-items: center;
|
|
12513
|
+
flex: 1;
|
|
12457
12514
|
margin-right: var(--spacing-sm);
|
|
12458
12515
|
`;
|
|
12459
12516
|
var drawerHeaderStyles = css39`
|
|
12460
12517
|
font-size: var(--fs-lg);
|
|
12461
12518
|
font-weight: var(--fw-bold);
|
|
12462
12519
|
padding-inline: var(--spacing-base);
|
|
12520
|
+
flex: 1;
|
|
12463
12521
|
`;
|
|
12464
12522
|
var drawerRendererStyles = css39`
|
|
12465
12523
|
inset: 0;
|
|
@@ -12487,6 +12545,21 @@ var slideDrawerIn = keyframes2`
|
|
|
12487
12545
|
transform: translate(0);
|
|
12488
12546
|
}
|
|
12489
12547
|
`;
|
|
12548
|
+
var slideDrawerInLeftAligned = keyframes2`
|
|
12549
|
+
0% {
|
|
12550
|
+
transform: translate(0);
|
|
12551
|
+
opacity: 0;
|
|
12552
|
+
}
|
|
12553
|
+
1% {
|
|
12554
|
+
transform: translate(-100%);
|
|
12555
|
+
}
|
|
12556
|
+
2% {
|
|
12557
|
+
opacity: 1;
|
|
12558
|
+
}
|
|
12559
|
+
100% {
|
|
12560
|
+
transform: translate(0);
|
|
12561
|
+
}
|
|
12562
|
+
`;
|
|
12490
12563
|
var drawerWrapperStyles = css39`
|
|
12491
12564
|
position: absolute;
|
|
12492
12565
|
inset-block: 0;
|
|
@@ -12494,9 +12567,18 @@ var drawerWrapperStyles = css39`
|
|
|
12494
12567
|
overflow: hidden;
|
|
12495
12568
|
transform: translate(0);
|
|
12496
12569
|
animation: ${slideDrawerIn} var(--duration-fast) ease-out;
|
|
12497
|
-
will-change: width,
|
|
12570
|
+
will-change: width, transform;
|
|
12498
12571
|
transition: width var(--duration-fast) ease-out;
|
|
12499
12572
|
box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
|
|
12573
|
+
|
|
12574
|
+
--drawer-close-icon-rotation: 0deg;
|
|
12575
|
+
`;
|
|
12576
|
+
var drawerWrapperLeftAlignedStyles = css39`
|
|
12577
|
+
animation-name: ${slideDrawerInLeftAligned};
|
|
12578
|
+
left: 0;
|
|
12579
|
+
right: auto;
|
|
12580
|
+
|
|
12581
|
+
--drawer-close-icon-rotation: 180deg;
|
|
12500
12582
|
`;
|
|
12501
12583
|
var drawerWrapperOverlayStyles = css39`
|
|
12502
12584
|
position: absolute;
|
|
@@ -12590,6 +12672,7 @@ var DrawerRenderer = ({
|
|
|
12590
12672
|
width = "45%",
|
|
12591
12673
|
minWidth = "0",
|
|
12592
12674
|
maxWidth = "100%",
|
|
12675
|
+
leftAligned = false,
|
|
12593
12676
|
...otherProps
|
|
12594
12677
|
}) => {
|
|
12595
12678
|
const { drawersRegistry } = useDrawer();
|
|
@@ -12597,7 +12680,7 @@ var DrawerRenderer = ({
|
|
|
12597
12680
|
if (drawersToRender.length === 0) {
|
|
12598
12681
|
return null;
|
|
12599
12682
|
}
|
|
12600
|
-
return /* @__PURE__ */ jsx40(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ jsx40(
|
|
12683
|
+
return /* @__PURE__ */ jsx40(CurrentDrawerRendererContext.Provider, { value: { stackId, leftAligned }, children: /* @__PURE__ */ jsx40(
|
|
12601
12684
|
"div",
|
|
12602
12685
|
{
|
|
12603
12686
|
css: [
|
|
@@ -12615,6 +12698,7 @@ var DrawerRenderer = ({
|
|
|
12615
12698
|
minWidth,
|
|
12616
12699
|
maxWidth,
|
|
12617
12700
|
onOverlayClick: onRequestClose,
|
|
12701
|
+
leftAligned,
|
|
12618
12702
|
children: component
|
|
12619
12703
|
},
|
|
12620
12704
|
`${stackId2}-${id}`
|
|
@@ -12628,6 +12712,7 @@ var DrawerWrapper = ({
|
|
|
12628
12712
|
width,
|
|
12629
12713
|
minWidth,
|
|
12630
12714
|
maxWidth,
|
|
12715
|
+
leftAligned,
|
|
12631
12716
|
onOverlayClick,
|
|
12632
12717
|
children
|
|
12633
12718
|
}) => {
|
|
@@ -12639,7 +12724,14 @@ var DrawerWrapper = ({
|
|
|
12639
12724
|
const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
|
|
12640
12725
|
return /* @__PURE__ */ jsxs22(Fragment5, { children: [
|
|
12641
12726
|
/* @__PURE__ */ jsx40("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
|
|
12642
|
-
/* @__PURE__ */ jsx40(
|
|
12727
|
+
/* @__PURE__ */ jsx40(
|
|
12728
|
+
"div",
|
|
12729
|
+
{
|
|
12730
|
+
css: [drawerWrapperStyles, leftAligned ? drawerWrapperLeftAlignedStyles : null],
|
|
12731
|
+
style: { width: calculatedWidth, minWidth, maxWidth },
|
|
12732
|
+
children
|
|
12733
|
+
}
|
|
12734
|
+
)
|
|
12643
12735
|
] });
|
|
12644
12736
|
};
|
|
12645
12737
|
|
|
@@ -12647,9 +12739,9 @@ var DrawerWrapper = ({
|
|
|
12647
12739
|
import { jsx as jsx41, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
|
|
12648
12740
|
var defaultSackId = "_default";
|
|
12649
12741
|
var Drawer = React12.forwardRef(
|
|
12650
|
-
({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
|
|
12651
|
-
const drawerRendererProps = { width, minWidth, maxWidth, position };
|
|
12742
|
+
({ width, minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
|
|
12652
12743
|
const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
|
|
12744
|
+
const drawerRendererProps = { width, minWidth, maxWidth, position, leftAligned };
|
|
12653
12745
|
return inheritedStackId ? /* @__PURE__ */ jsx41(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ jsx41(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ jsxs23(DrawerProvider, { children: [
|
|
12654
12746
|
/* @__PURE__ */ jsx41(DrawerInner, { ref, ...drawerProps }),
|
|
12655
12747
|
/* @__PURE__ */ jsx41(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
|
|
@@ -12682,19 +12774,29 @@ var DrawerInner = ({
|
|
|
12682
12774
|
css: drawerStyles(bgColor),
|
|
12683
12775
|
"data-test-id": testId,
|
|
12684
12776
|
children: [
|
|
12685
|
-
/* @__PURE__ */
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12777
|
+
/* @__PURE__ */ jsxs23("div", { css: headerWrapperStyles, children: [
|
|
12778
|
+
header ? /* @__PURE__ */ jsx41("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
|
|
12779
|
+
/* @__PURE__ */ jsx41(
|
|
12780
|
+
Button,
|
|
12781
|
+
{
|
|
12782
|
+
ref: closeButtonRef,
|
|
12783
|
+
type: "button",
|
|
12784
|
+
onClick: onRequestClose,
|
|
12785
|
+
css: drawerCloseButtonStyles,
|
|
12786
|
+
title: "Close dialog",
|
|
12787
|
+
buttonType: "ghost",
|
|
12788
|
+
children: /* @__PURE__ */ jsx41(
|
|
12789
|
+
Icon,
|
|
12790
|
+
{
|
|
12791
|
+
icon: CgChevronRight,
|
|
12792
|
+
iconColor: "gray",
|
|
12793
|
+
size: 24,
|
|
12794
|
+
css: { transform: "rotate(var(--drawer-close-icon-rotation))" }
|
|
12795
|
+
}
|
|
12796
|
+
)
|
|
12797
|
+
}
|
|
12798
|
+
)
|
|
12799
|
+
] }),
|
|
12698
12800
|
/* @__PURE__ */ jsx41("div", { css: drawerInnerStyles, children })
|
|
12699
12801
|
]
|
|
12700
12802
|
}
|
|
@@ -14533,7 +14635,7 @@ var Tile = css61`
|
|
|
14533
14635
|
display: grid;
|
|
14534
14636
|
padding: var(--spacing-base);
|
|
14535
14637
|
place-items: center;
|
|
14536
|
-
place-content:
|
|
14638
|
+
place-content: center;
|
|
14537
14639
|
gap: var(--spacing-sm);
|
|
14538
14640
|
transition: background-color var(--duration-fast) var(--timing-ease-out);
|
|
14539
14641
|
min-height: 128px;
|
|
@@ -15624,12 +15726,22 @@ var ParameterNameAndPublicIdInput = ({
|
|
|
15624
15726
|
import { css as css75 } from "@emotion/react";
|
|
15625
15727
|
import { CodeNode } from "@lexical/code";
|
|
15626
15728
|
import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
|
|
15729
|
+
import {
|
|
15730
|
+
CODE,
|
|
15731
|
+
HEADING,
|
|
15732
|
+
LINK,
|
|
15733
|
+
ORDERED_LIST,
|
|
15734
|
+
QUOTE,
|
|
15735
|
+
TEXT_FORMAT_TRANSFORMERS,
|
|
15736
|
+
UNORDERED_LIST
|
|
15737
|
+
} from "@lexical/markdown";
|
|
15627
15738
|
import { LexicalComposer } from "@lexical/react/LexicalComposer";
|
|
15628
15739
|
import { useLexicalComposerContext as useLexicalComposerContext4 } from "@lexical/react/LexicalComposerContext";
|
|
15629
15740
|
import { ContentEditable } from "@lexical/react/LexicalContentEditable";
|
|
15630
15741
|
import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary";
|
|
15631
15742
|
import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin";
|
|
15632
15743
|
import { ListPlugin } from "@lexical/react/LexicalListPlugin";
|
|
15744
|
+
import { MarkdownShortcutPlugin } from "@lexical/react/LexicalMarkdownShortcutPlugin";
|
|
15633
15745
|
import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";
|
|
15634
15746
|
import { HeadingNode, QuoteNode } from "@lexical/rich-text";
|
|
15635
15747
|
import { deepEqual as deepEqual2 } from "fast-equals";
|
|
@@ -17066,6 +17178,15 @@ var ParameterRichTextInner = ({
|
|
|
17066
17178
|
editorFooter ? editorFooter : null
|
|
17067
17179
|
] });
|
|
17068
17180
|
};
|
|
17181
|
+
var MARKDOWN_TRANSFORMERS = [
|
|
17182
|
+
HEADING,
|
|
17183
|
+
ORDERED_LIST,
|
|
17184
|
+
UNORDERED_LIST,
|
|
17185
|
+
LINK,
|
|
17186
|
+
CODE,
|
|
17187
|
+
QUOTE,
|
|
17188
|
+
...TEXT_FORMAT_TRANSFORMERS
|
|
17189
|
+
];
|
|
17069
17190
|
var RichText = ({
|
|
17070
17191
|
onChange,
|
|
17071
17192
|
onConnectLink,
|
|
@@ -17107,7 +17228,8 @@ var RichText = ({
|
|
|
17107
17228
|
/* @__PURE__ */ jsx93(ListPlugin, {}),
|
|
17108
17229
|
readOnly ? null : /* @__PURE__ */ jsx93(HistoryPlugin, {}),
|
|
17109
17230
|
/* @__PURE__ */ jsx93(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
|
|
17110
|
-
/* @__PURE__ */ jsx93(ListIndentPlugin, { maxDepth: 4 })
|
|
17231
|
+
/* @__PURE__ */ jsx93(ListIndentPlugin, { maxDepth: 4 }),
|
|
17232
|
+
/* @__PURE__ */ jsx93(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
|
|
17111
17233
|
] })
|
|
17112
17234
|
] });
|
|
17113
17235
|
};
|
|
@@ -17640,11 +17762,16 @@ import * as React21 from "react";
|
|
|
17640
17762
|
|
|
17641
17763
|
// src/components/Table/Table.styles.ts
|
|
17642
17764
|
import { css as css82 } from "@emotion/react";
|
|
17643
|
-
var table = css82`
|
|
17765
|
+
var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css82`
|
|
17644
17766
|
border-bottom: 1px solid var(--gray-400);
|
|
17645
17767
|
border-collapse: collapse;
|
|
17646
17768
|
min-width: 100%;
|
|
17647
17769
|
table-layout: auto;
|
|
17770
|
+
|
|
17771
|
+
th,
|
|
17772
|
+
td {
|
|
17773
|
+
padding: ${cellPadding};
|
|
17774
|
+
}
|
|
17648
17775
|
`;
|
|
17649
17776
|
var tableHead = css82`
|
|
17650
17777
|
background: var(--gray-100);
|
|
@@ -17656,19 +17783,17 @@ var tableRow = css82`
|
|
|
17656
17783
|
`;
|
|
17657
17784
|
var tableCellHead = css82`
|
|
17658
17785
|
font-size: var(--fs-sm);
|
|
17659
|
-
padding: var(--spacing-base) var(--spacing-md);
|
|
17660
17786
|
text-transform: uppercase;
|
|
17661
17787
|
font-weight: var(--fw-bold);
|
|
17662
17788
|
`;
|
|
17663
|
-
var tableCellData = css82`
|
|
17664
|
-
padding: var(--spacing-base) var(--spacing-md);
|
|
17665
|
-
`;
|
|
17666
17789
|
|
|
17667
17790
|
// src/components/Table/Table.tsx
|
|
17668
17791
|
import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
|
|
17669
|
-
var Table = React21.forwardRef(
|
|
17670
|
-
|
|
17671
|
-
});
|
|
17792
|
+
var Table = React21.forwardRef(
|
|
17793
|
+
({ children, cellPadding, ...otherProps }, ref) => {
|
|
17794
|
+
return /* @__PURE__ */ jsx102("table", { ref, css: table({ cellPadding }), ...otherProps, children });
|
|
17795
|
+
}
|
|
17796
|
+
);
|
|
17672
17797
|
var TableHead = React21.forwardRef(
|
|
17673
17798
|
({ children, ...otherProps }, ref) => {
|
|
17674
17799
|
return /* @__PURE__ */ jsx102("thead", { ref, css: tableHead, ...otherProps, children });
|
|
@@ -17696,7 +17821,7 @@ var TableCellHead = React21.forwardRef(
|
|
|
17696
17821
|
);
|
|
17697
17822
|
var TableCellData = React21.forwardRef(
|
|
17698
17823
|
({ children, ...otherProps }, ref) => {
|
|
17699
|
-
return /* @__PURE__ */ jsx102("td", { ref,
|
|
17824
|
+
return /* @__PURE__ */ jsx102("td", { ref, ...otherProps, children });
|
|
17700
17825
|
}
|
|
17701
17826
|
);
|
|
17702
17827
|
|
|
@@ -17827,7 +17952,14 @@ var StatusModified = css84`
|
|
|
17827
17952
|
var StatusError = css84`
|
|
17828
17953
|
color: var(--error);
|
|
17829
17954
|
&:before {
|
|
17830
|
-
|
|
17955
|
+
/* TODO: replace this with an svg icon */
|
|
17956
|
+
background: linear-gradient(
|
|
17957
|
+
120deg,
|
|
17958
|
+
var(--error) 45%,
|
|
17959
|
+
var(--white) 46%,
|
|
17960
|
+
var(--white) 54%,
|
|
17961
|
+
var(--error) 55%
|
|
17962
|
+
);
|
|
17831
17963
|
}
|
|
17832
17964
|
`;
|
|
17833
17965
|
var StatusPublished = css84`
|
|
@@ -18047,9 +18179,11 @@ export {
|
|
|
18047
18179
|
ripple,
|
|
18048
18180
|
scrollbarStyles,
|
|
18049
18181
|
settings,
|
|
18182
|
+
settingsIcon,
|
|
18050
18183
|
skeletonLoading,
|
|
18051
18184
|
slideInTtb,
|
|
18052
18185
|
spinner_default as spinnerAnimationData,
|
|
18186
|
+
structurePanelIcon,
|
|
18053
18187
|
supports,
|
|
18054
18188
|
textInput,
|
|
18055
18189
|
useBreakpoint,
|
|
@@ -18062,5 +18196,6 @@ export {
|
|
|
18062
18196
|
useOutsideClick,
|
|
18063
18197
|
useParameterShell,
|
|
18064
18198
|
useShortcut,
|
|
18065
|
-
warningIcon
|
|
18199
|
+
warningIcon,
|
|
18200
|
+
yesNoIcon
|
|
18066
18201
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { ButtonProps as ButtonProps$1 } from 'reakit/Button';
|
|
|
10
10
|
import { MenuProps as MenuProps$1, MenuItemHTMLProps } from 'reakit';
|
|
11
11
|
import * as react_icons from 'react-icons';
|
|
12
12
|
import { IconType as IconType$1, IconBaseProps } from 'react-icons';
|
|
13
|
+
import * as react_icons_lib from 'react-icons/lib';
|
|
13
14
|
import InternalSelect from 'react-select/dist/declarations/src/Select';
|
|
14
15
|
import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
|
|
15
16
|
import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
|
|
@@ -20521,28 +20522,34 @@ interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDiv
|
|
|
20521
20522
|
* @default 'absolute'
|
|
20522
20523
|
*/
|
|
20523
20524
|
position?: 'absolute' | 'fixed' | 'sticky';
|
|
20525
|
+
/** Opens the drawer from left to right
|
|
20526
|
+
* @default false
|
|
20527
|
+
*/
|
|
20528
|
+
leftAligned?: boolean;
|
|
20524
20529
|
}
|
|
20525
20530
|
declare const useCurrentDrawerRenderer: () => {
|
|
20526
20531
|
stackId?: string | undefined;
|
|
20532
|
+
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
20527
20533
|
};
|
|
20528
|
-
declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20534
|
+
declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20529
20535
|
interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
20530
20536
|
index: number;
|
|
20531
20537
|
totalDrawers: number;
|
|
20532
20538
|
width: DrawerRendererProps['width'];
|
|
20533
20539
|
minWidth: Required<DrawerRendererProps['minWidth']>;
|
|
20534
20540
|
maxWidth: Required<DrawerRendererProps['maxWidth']>;
|
|
20541
|
+
leftAligned: Required<DrawerRendererProps['leftAligned']>;
|
|
20535
20542
|
onOverlayClick?: () => void;
|
|
20536
20543
|
}
|
|
20537
20544
|
|
|
20538
|
-
declare const iconNames: readonly ["add-r", "add", "airplane", "alarm", "album", "align-bottom", "align-center", "align-left", "align-middle", "align-right", "align-top", "anchor", "apple-watch", "arrange-back", "arrange-front", "arrow-align-h", "arrow-align-v", "arrow-bottom-left-o", "arrow-bottom-left-r", "arrow-bottom-left", "arrow-bottom-right-o", "arrow-bottom-right-r", "arrow-bottom-right", "arrow-down-o", "arrow-down-r", "arrow-down", "arrow-left-o", "arrow-left-r", "arrow-left", "arrow-long-down-c", "arrow-long-down-e", "arrow-long-down-l", "arrow-long-down-r", "arrow-long-down", "arrow-long-left-c", "arrow-long-left-e", "arrow-long-left-l", "arrow-long-left-r", "arrow-long-left", "arrow-long-right-c", "arrow-long-right-e", "arrow-long-right-l", "arrow-long-right-r", "arrow-long-right", "arrow-long-up-c", "arrow-long-up-e", "arrow-long-up-l", "arrow-long-up-r", "arrow-long-up", "arrow-right-o", "arrow-right-r", "arrow-right", "arrow-top-left-o", "arrow-top-left-r", "arrow-top-left", "arrow-top-right-o", "arrow-top-right-r", "arrow-top-right", "arrow-up-o", "arrow-up-r", "arrow-up", "arrows-breake-h", "arrows-breake-v", "arrows-exchange-alt-v", "arrows-exchange-alt", "arrows-exchange-v", "arrows-exchange", "arrows-expand-down-left", "arrows-expand-down-right", "arrows-expand-left-alt", "arrows-expand-left", "arrows-expand-right-alt", "arrows-expand-right", "arrows-expand-up-left", "arrows-expand-up-right", "arrows-h-alt", "arrows-h", "arrows-merge-alt-h", "arrows-merge-alt-v", "arrows-scroll-h", "arrows-scroll-v", "arrows-shrink-h", "arrows-shrink-v", "arrows-v-alt", "arrows-v", "assign", "asterisk", "attachment", "attribution", "awards", "backspace", "band-aid", "battery-empty", "battery-full", "battery", "bee", "bell", "bitbucket", "block", "board", "bolt", "bookmark", "border-all", "border-bottom", "border-left", "border-right", "border-style-dashed", "border-style-dotted", "border-style-solid", "border-top", "bot", "bowl", "box", "boy", "briefcase", "browse", "browser", "brush", "bulb", "c-plus-plus", "calculator", "calendar-dates", "calendar-due", "calendar-next", "calendar-today", "calendar-two", "calendar", "calibrate", "camera", "cap", "captions", "card-clubs", "card-diamonds", "card-hearts", "card-spades", "carousel", "cast", "chart", "check-o", "check-r", "check", "chevron-double-down-o", "chevron-double-down-r", "chevron-double-down", "chevron-double-left-o", "chevron-double-left-r", "chevron-double-left", "chevron-double-right-o", "chevron-double-right-r", "chevron-double-right", "chevron-double-up-o", "chevron-double-up-r", "chevron-double-up", "chevron-down-o", "chevron-down-r", "chevron-down", "chevron-left-o", "chevron-left-r", "chevron-left", "chevron-right-o", "chevron-right-r", "chevron-right", "chevron-up-o", "chevron-up-r", "chevron-up", "clapper-board", "clear-formatting", "clipboard", "close-o", "close-r", "close", "cloud", "code-slash", "code", "coffee", "collage", "color-bucket", "color-picker", "comment", "community", "components", "compress-left", "compress-right", "compress-v", "compress", "controller", "copy", "copyright", "corner-double-down-left", "corner-double-down-right", "corner-double-left-down", "corner-double-left-up", "corner-double-right-down", "corner-double-right-up", "corner-double-up-left", "corner-double-up-right", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left", "corner-up-right", "credit-card", "crop", "cross", "crown", "danger", "dark-mode", "data", "database", "debug", "desktop", "details-less", "details-more", "dialpad", "dice-1", "dice-2", "dice-3", "dice-4", "dice-5", "dice-6", "disc", "display-flex", "display-fullwidth", "display-grid", "display-spacing", "distribute-horizontal", "distribute-vertical", "dock-bottom", "dock-left", "dock-right", "dock-window", "dollar", "drive", "drop-invert", "drop-opacity", "drop", "duplicate", "edit-black-point", "edit-contrast", "edit-exposure", "edit-fade", "edit-flip-h", "edit-flip-v", "edit-highlight", "edit-markup", "edit-mask", "edit-noise", "edit-shadows", "edit-straight", "edit-unmask", "eject", "enter", "erase", "ereader", "ericsson", "ethernet", "euro", "expand", "export", "extension-add", "extension-alt", "extension-remove", "extension", "external", "eye-alt", "eye", "feed", "file-add", "file-document", "file-remove", "file", "film", "filters", "flag-alt", "flag", "folder-add", "folder-remove", "folder", "font-height", "font-spacing", "format-bold", "format-center", "format-color", "format-code", "format-heading", "format-indent-decrease", "format-indent-increase", "format-italic", "format-justify", "format-left", "format-line-height", "format-right", "format-separator", "format-slash", "format-strike", "format-subscript", "format-superscript", "format-text", "format-underline", "format-uppercase", "games", "gender-female", "gender-male", "ghost-character", "gift", "girl", "git-branch", "git-commit", "git-fork", "git-pull", "glass-alt", "glass", "globe-alt", "globe", "gym", "hashtag", "headset", "heart", "home-alt", "home-screen", "home", "icecream", "image", "import", "inbox", "infinity", "info", "inpicture", "insert-after-o", "insert-after-r", "insert-after", "insert-before-o", "insert-before-r", "insert-before", "insights", "internal", "key", "keyboard", "keyhole", "laptop", "layout-grid-small", "layout-grid", "layout-list", "layout-list-numbered", "layout-pin", "link", "list-tree", "list", "live-photo", "loadbar-alt", "loadbar-doc", "loadbar-sound", "loadbar", "lock-unlock", "lock", "log-in", "log-off", "log-out", "loupe", "magnet", "mail-forward", "mail-open", "mail-reply", "mail", "math-divide", "math-equal", "math-minus", "math-percent", "math-plus", "maximize-alt", "maximize", "media-live", "media-podcast", "menu-boxed", "menu-cake", "menu-cheese", "menu-grid-o", "menu-grid-r", "menu-hotdog", "menu-left-alt", "menu-left", "menu-motion", "menu-oreos", "menu-right-alt", "menu-right", "menu-round", "menu", "merge-horizontal", "merge-vertical", "mic", "mini-player", "minimize-alt", "minimize", "modem", "moon", "more-alt", "more-o", "more-r", "more-vertical-alt", "more-vertical-o", "more-vertical-r", "more-vertical", "more", "mouse", "move-down", "move-left", "move-right", "move-task", "move-up", "music-note", "music-speaker", "music", "nametag", "notes", "notifications", "options", "organisation", "password", "path-back", "path-crop", "path-divide", "path-exclude", "path-front", "path-intersect", "path-outline", "path-trim", "path-unite", "pen", "pentagon-bottom-left", "pentagon-bottom-right", "pentagon-down", "pentagon-left", "pentagon-right", "pentagon-top-left", "pentagon-top-right", "pentagon-up", "performance", "phone", "photoscan", "piano", "pill", "pin-alt", "pin-bottom", "pin-top", "pin", "play-backwards", "play-button-o", "play-button-r", "play-button", "play-forwards", "play-list-add", "play-list-check", "play-list-remove", "play-list-search", "play-list", "play-pause-o", "play-pause-r", "play-pause", "play-stop-o", "play-stop-r", "play-stop", "play-track-next-o", "play-track-next-r", "play-track-next", "play-track-prev-o", "play-track-prev-r", "play-track-prev", "plug", "polaroid", "poll", "presentation", "printer", "profile", "pull-clear", "push-chevron-down-o", "push-chevron-down-r", "push-chevron-down", "push-chevron-left-o", "push-chevron-left-r", "push-chevron-left", "push-chevron-right-o", "push-chevron-right-r", "push-chevron-right", "push-chevron-up-o", "push-chevron-up-r", "push-chevron-up", "push-down", "push-left", "push-right", "push-up", "qr", "quote-o", "quote", "radio-check", "radio-checked", "ratio", "read", "readme", "record", "redo", "remote", "remove-r", "remove", "rename", "reorder", "repeat", "ring", "row-first", "row-last", "ruler", "sand-clock", "scan", "screen-mirror", "screen-shot", "screen-wide", "screen", "scroll-h", "scroll-v", "search-found", "search-loading", "search", "select-o", "select-r", "select", "server", "shape-circle", "shape-half-circle", "shape-hexagon", "shape-rhombus", "shape-square", "shape-triangle", "shape-zigzag", "share", "shield", "shopping-bag", "shopping-cart", "shortcut", "sidebar-open", "sidebar-right", "sidebar", "signal", "size", "sleep", "smart-home-boiler", "smart-home-cooker", "smart-home-heat", "smart-home-light", "smart-home-refrigerator", "smart-home-wash-machine", "smartphone-chip", "smartphone-ram", "smartphone-shake", "smartphone", "smile-mouth-open", "smile-neutral", "smile-no-mouth", "smile-none", "smile-sad", "smile-upside", "smile", "software-download", "software-upload", "sort-az", "sort-za", "space-between-v", "space-between", "spinner-alt", "spinner-two-alt", "spinner-two", "spinner", "stack", "stopwatch", "stories", "style", "sun", "support", "swap-vertical", "swap", "sweden", "swiss", "sync", "tab", "tag", "tap-double", "tap-single", "template", "tennis", "terminal", "terrain", "thermometer", "thermostat", "tikcode", "time", "timelapse", "timer", "today", "toggle-off", "toggle-on", "toggle-square-off", "toggle-square", "toolbar-bottom", "toolbar-left", "toolbar-right", "toolbar-top", "toolbox", "touchpad", "track", "transcript", "trash-empty", "trash", "tree", "trees", "trending-down", "trending", "trophy", "tv", "ui-kit", "umbrella", "unavailable", "unblock", "undo", "unsplash", "usb-c", "usb", "user-add", "user-list", "user-remove", "user", "view-cols", "view-comfortable", "view-day", "view-grid", "view-list", "view-month", "view-split", "vinyl", "voicemail-o", "voicemail-r", "voicemail", "volume", "webcam", "website", "work-alt", "yinyang", "zoom-in", "zoom-out", "rectangle-rounded", "card", "image-text", "border-top", "full-width-screen", "text-input", "number-input", "canvas-alert", "warning", "settings", "query-string", "json"];
|
|
20545
|
+
declare const iconNames: readonly ["add-r", "add", "airplane", "alarm", "album", "align-bottom", "align-center", "align-left", "align-middle", "align-right", "align-top", "anchor", "apple-watch", "arrange-back", "arrange-front", "arrow-align-h", "arrow-align-v", "arrow-bottom-left-o", "arrow-bottom-left-r", "arrow-bottom-left", "arrow-bottom-right-o", "arrow-bottom-right-r", "arrow-bottom-right", "arrow-down-o", "arrow-down-r", "arrow-down", "arrow-left-o", "arrow-left-r", "arrow-left", "arrow-long-down-c", "arrow-long-down-e", "arrow-long-down-l", "arrow-long-down-r", "arrow-long-down", "arrow-long-left-c", "arrow-long-left-e", "arrow-long-left-l", "arrow-long-left-r", "arrow-long-left", "arrow-long-right-c", "arrow-long-right-e", "arrow-long-right-l", "arrow-long-right-r", "arrow-long-right", "arrow-long-up-c", "arrow-long-up-e", "arrow-long-up-l", "arrow-long-up-r", "arrow-long-up", "arrow-right-o", "arrow-right-r", "arrow-right", "arrow-top-left-o", "arrow-top-left-r", "arrow-top-left", "arrow-top-right-o", "arrow-top-right-r", "arrow-top-right", "arrow-up-o", "arrow-up-r", "arrow-up", "arrows-breake-h", "arrows-breake-v", "arrows-exchange-alt-v", "arrows-exchange-alt", "arrows-exchange-v", "arrows-exchange", "arrows-expand-down-left", "arrows-expand-down-right", "arrows-expand-left-alt", "arrows-expand-left", "arrows-expand-right-alt", "arrows-expand-right", "arrows-expand-up-left", "arrows-expand-up-right", "arrows-h-alt", "arrows-h", "arrows-merge-alt-h", "arrows-merge-alt-v", "arrows-scroll-h", "arrows-scroll-v", "arrows-shrink-h", "arrows-shrink-v", "arrows-v-alt", "arrows-v", "assign", "asterisk", "attachment", "attribution", "awards", "backspace", "band-aid", "battery-empty", "battery-full", "battery", "bee", "bell", "bitbucket", "block", "board", "bolt", "bookmark", "border-all", "border-bottom", "border-left", "border-right", "border-style-dashed", "border-style-dotted", "border-style-solid", "border-top", "bot", "bowl", "box", "boy", "briefcase", "browse", "browser", "brush", "bulb", "c-plus-plus", "calculator", "calendar-dates", "calendar-due", "calendar-next", "calendar-today", "calendar-two", "calendar", "calibrate", "camera", "cap", "captions", "card-clubs", "card-diamonds", "card-hearts", "card-spades", "carousel", "cast", "chart", "check-o", "check-r", "check", "chevron-double-down-o", "chevron-double-down-r", "chevron-double-down", "chevron-double-left-o", "chevron-double-left-r", "chevron-double-left", "chevron-double-right-o", "chevron-double-right-r", "chevron-double-right", "chevron-double-up-o", "chevron-double-up-r", "chevron-double-up", "chevron-down-o", "chevron-down-r", "chevron-down", "chevron-left-o", "chevron-left-r", "chevron-left", "chevron-right-o", "chevron-right-r", "chevron-right", "chevron-up-o", "chevron-up-r", "chevron-up", "clapper-board", "clear-formatting", "clipboard", "close-o", "close-r", "close", "cloud", "code-slash", "code", "coffee", "collage", "color-bucket", "color-picker", "comment", "community", "components", "compress-left", "compress-right", "compress-v", "compress", "controller", "copy", "copyright", "corner-double-down-left", "corner-double-down-right", "corner-double-left-down", "corner-double-left-up", "corner-double-right-down", "corner-double-right-up", "corner-double-up-left", "corner-double-up-right", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left", "corner-up-right", "credit-card", "crop", "cross", "crown", "danger", "dark-mode", "data", "database", "debug", "desktop", "details-less", "details-more", "dialpad", "dice-1", "dice-2", "dice-3", "dice-4", "dice-5", "dice-6", "disc", "display-flex", "display-fullwidth", "display-grid", "display-spacing", "distribute-horizontal", "distribute-vertical", "dock-bottom", "dock-left", "dock-right", "dock-window", "dollar", "drive", "drop-invert", "drop-opacity", "drop", "duplicate", "edit-black-point", "edit-contrast", "edit-exposure", "edit-fade", "edit-flip-h", "edit-flip-v", "edit-highlight", "edit-markup", "edit-mask", "edit-noise", "edit-shadows", "edit-straight", "edit-unmask", "eject", "enter", "erase", "ereader", "ericsson", "ethernet", "euro", "expand", "export", "extension-add", "extension-alt", "extension-remove", "extension", "external", "eye-alt", "eye", "feed", "file-add", "file-document", "file-remove", "file", "film", "filters", "flag-alt", "flag", "folder-add", "folder-remove", "folder", "font-height", "font-spacing", "format-bold", "format-center", "format-color", "format-code", "format-heading", "format-indent-decrease", "format-indent-increase", "format-italic", "format-justify", "format-left", "format-line-height", "format-right", "format-separator", "format-slash", "format-strike", "format-subscript", "format-superscript", "format-text", "format-underline", "format-uppercase", "games", "gender-female", "gender-male", "ghost-character", "gift", "girl", "git-branch", "git-commit", "git-fork", "git-pull", "glass-alt", "glass", "globe-alt", "globe", "gym", "hashtag", "headset", "heart", "home-alt", "home-screen", "home", "icecream", "image", "import", "inbox", "infinity", "info", "inpicture", "insert-after-o", "insert-after-r", "insert-after", "insert-before-o", "insert-before-r", "insert-before", "insights", "internal", "key", "keyboard", "keyhole", "laptop", "layout-grid-small", "layout-grid", "layout-list", "layout-list-numbered", "layout-pin", "link", "list-tree", "list", "live-photo", "loadbar-alt", "loadbar-doc", "loadbar-sound", "loadbar", "lock-unlock", "lock", "log-in", "log-off", "log-out", "loupe", "magnet", "mail-forward", "mail-open", "mail-reply", "mail", "math-divide", "math-equal", "math-minus", "math-percent", "math-plus", "maximize-alt", "maximize", "media-live", "media-podcast", "menu-boxed", "menu-cake", "menu-cheese", "menu-grid-o", "menu-grid-r", "menu-hotdog", "menu-left-alt", "menu-left", "menu-motion", "menu-oreos", "menu-right-alt", "menu-right", "menu-round", "menu", "merge-horizontal", "merge-vertical", "mic", "mini-player", "minimize-alt", "minimize", "modem", "moon", "more-alt", "more-o", "more-r", "more-vertical-alt", "more-vertical-o", "more-vertical-r", "more-vertical", "more", "mouse", "move-down", "move-left", "move-right", "move-task", "move-up", "music-note", "music-speaker", "music", "nametag", "notes", "notifications", "options", "organisation", "password", "path-back", "path-crop", "path-divide", "path-exclude", "path-front", "path-intersect", "path-outline", "path-trim", "path-unite", "pen", "pentagon-bottom-left", "pentagon-bottom-right", "pentagon-down", "pentagon-left", "pentagon-right", "pentagon-top-left", "pentagon-top-right", "pentagon-up", "performance", "phone", "photoscan", "piano", "pill", "pin-alt", "pin-bottom", "pin-top", "pin", "play-backwards", "play-button-o", "play-button-r", "play-button", "play-forwards", "play-list-add", "play-list-check", "play-list-remove", "play-list-search", "play-list", "play-pause-o", "play-pause-r", "play-pause", "play-stop-o", "play-stop-r", "play-stop", "play-track-next-o", "play-track-next-r", "play-track-next", "play-track-prev-o", "play-track-prev-r", "play-track-prev", "plug", "polaroid", "poll", "presentation", "printer", "profile", "pull-clear", "push-chevron-down-o", "push-chevron-down-r", "push-chevron-down", "push-chevron-left-o", "push-chevron-left-r", "push-chevron-left", "push-chevron-right-o", "push-chevron-right-r", "push-chevron-right", "push-chevron-up-o", "push-chevron-up-r", "push-chevron-up", "push-down", "push-left", "push-right", "push-up", "qr", "quote-o", "quote", "radio-check", "radio-checked", "ratio", "read", "readme", "record", "redo", "remote", "remove-r", "remove", "rename", "reorder", "repeat", "ring", "row-first", "row-last", "ruler", "sand-clock", "scan", "screen-mirror", "screen-shot", "screen-wide", "screen", "scroll-h", "scroll-v", "search-found", "search-loading", "search", "select-o", "select-r", "select", "server", "shape-circle", "shape-half-circle", "shape-hexagon", "shape-rhombus", "shape-square", "shape-triangle", "shape-zigzag", "share", "shield", "shopping-bag", "shopping-cart", "shortcut", "sidebar-open", "sidebar-right", "sidebar", "signal", "size", "sleep", "smart-home-boiler", "smart-home-cooker", "smart-home-heat", "smart-home-light", "smart-home-refrigerator", "smart-home-wash-machine", "smartphone-chip", "smartphone-ram", "smartphone-shake", "smartphone", "smile-mouth-open", "smile-neutral", "smile-no-mouth", "smile-none", "smile-sad", "smile-upside", "smile", "software-download", "software-upload", "sort-az", "sort-za", "space-between-v", "space-between", "spinner-alt", "spinner-two-alt", "spinner-two", "spinner", "stack", "stopwatch", "stories", "style", "sun", "support", "swap-vertical", "swap", "sweden", "swiss", "sync", "tab", "tag", "tap-double", "tap-single", "template", "tennis", "terminal", "terrain", "thermometer", "thermostat", "tikcode", "time", "timelapse", "timer", "today", "toggle-off", "toggle-on", "toggle-square-off", "toggle-square", "toolbar-bottom", "toolbar-left", "toolbar-right", "toolbar-top", "toolbox", "touchpad", "track", "transcript", "trash-empty", "trash", "tree", "trees", "trending-down", "trending", "trophy", "tv", "ui-kit", "umbrella", "unavailable", "unblock", "undo", "unsplash", "usb-c", "usb", "user-add", "user-list", "user-remove", "user", "view-cols", "view-comfortable", "view-day", "view-grid", "view-list", "view-month", "view-split", "vinyl", "voicemail-o", "voicemail-r", "voicemail", "volume", "webcam", "website", "work-alt", "yinyang", "zoom-in", "zoom-out", "rectangle-rounded", "card", "image-text", "border-top", "full-width-screen", "text-input", "number-input", "canvas-alert", "warning", "settings", "query-string", "json", "yes-no"];
|
|
20539
20546
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
20540
20547
|
type IconName = (typeof iconNames)[number];
|
|
20541
20548
|
|
|
20542
20549
|
/** sets fill color of the svg icon
|
|
20543
20550
|
* @default 'default'
|
|
20544
20551
|
*/
|
|
20545
|
-
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'currentColor';
|
|
20552
|
+
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor';
|
|
20546
20553
|
/** sets the type of icon to use from the available list */
|
|
20547
20554
|
type IconType = IconName | IconType$1;
|
|
20548
20555
|
interface IconProps extends IconBaseProps {
|
|
@@ -20569,9 +20576,12 @@ declare const numberInput: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
|
20569
20576
|
declare const canvasAlertIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20570
20577
|
declare const warningIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20571
20578
|
declare const infoFilledIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20579
|
+
declare const settingsIcon: react_icons_lib.IconType;
|
|
20572
20580
|
declare const settings: (props: IconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20573
20581
|
declare const queryStringIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20582
|
+
declare const structurePanelIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20574
20583
|
declare const jsonIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20584
|
+
declare const yesNoIcon: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20575
20585
|
declare const customIcons: {
|
|
20576
20586
|
'rectangle-rounded': (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20577
20587
|
card: (props: react_icons.IconBaseProps) => JSX.Element;
|
|
@@ -20593,6 +20603,7 @@ declare const customIcons: {
|
|
|
20593
20603
|
'format-subscript': (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20594
20604
|
'layout-list-numbered': (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20595
20605
|
'clear-formatting': (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20606
|
+
'yes-no': (props: react_icons.IconBaseProps) => JSX.Element;
|
|
20596
20607
|
};
|
|
20597
20608
|
|
|
20598
20609
|
type IconsMap = Record<string, IconType$1>;
|
|
@@ -21811,7 +21822,12 @@ declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAt
|
|
|
21811
21822
|
children?: React$1.ReactNode;
|
|
21812
21823
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
21813
21824
|
|
|
21814
|
-
type TableProps =
|
|
21825
|
+
type TableProps = {
|
|
21826
|
+
/** The CSS padding of the table cells (includes the head cells as well).
|
|
21827
|
+
* @default 'var(--spacing-base) var(--spacing-md)'
|
|
21828
|
+
*/
|
|
21829
|
+
cellPadding?: string;
|
|
21830
|
+
} & Omit<React$1.ComponentPropsWithoutRef<'table'>, 'cellPadding'>;
|
|
21815
21831
|
type TableHeadProps = React$1.ComponentPropsWithoutRef<'thead'>;
|
|
21816
21832
|
type TableBodyProps = React$1.ComponentPropsWithoutRef<'tbody'>;
|
|
21817
21833
|
type TableFootProps = React$1.ComponentPropsWithoutRef<'tfoot'>;
|
|
@@ -21841,7 +21857,12 @@ type TableCellDataProps = React$1.ComponentPropsWithoutRef<'td'>;
|
|
|
21841
21857
|
</TableFoot>
|
|
21842
21858
|
</Table>
|
|
21843
21859
|
*/
|
|
21844
|
-
declare const Table: React$1.ForwardRefExoticComponent<
|
|
21860
|
+
declare const Table: React$1.ForwardRefExoticComponent<{
|
|
21861
|
+
/** The CSS padding of the table cells (includes the head cells as well).
|
|
21862
|
+
* @default 'var(--spacing-base) var(--spacing-md)'
|
|
21863
|
+
*/
|
|
21864
|
+
cellPadding?: string | undefined;
|
|
21865
|
+
} & Omit<Omit<React$1.DetailedHTMLProps<React$1.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref">, "cellPadding"> & React$1.RefAttributes<HTMLTableElement>>;
|
|
21845
21866
|
declare const TableHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
21846
21867
|
declare const TableBody: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
21847
21868
|
declare const TableFoot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -22166,4 +22187,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
22166
22187
|
};
|
|
22167
22188
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22168
22189
|
|
|
22169
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RichTextParamValue, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, borderTopIcon, breakpoints, button, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextBuiltInElements, richTextBuiltInFormats, richTextIsValueConsideredEmpty, ripple, scrollbarStyles, settings, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawerRenderer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon };
|
|
22190
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RichTextParamValue, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, borderTopIcon, breakpoints, button, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextBuiltInElements, richTextBuiltInFormats, richTextIsValueConsideredEmpty, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawerRenderer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|
package/dist/index.js
CHANGED
|
@@ -205,9 +205,11 @@ __export(src_exports, {
|
|
|
205
205
|
ripple: () => ripple,
|
|
206
206
|
scrollbarStyles: () => scrollbarStyles,
|
|
207
207
|
settings: () => settings,
|
|
208
|
+
settingsIcon: () => settingsIcon,
|
|
208
209
|
skeletonLoading: () => skeletonLoading,
|
|
209
210
|
slideInTtb: () => slideInTtb,
|
|
210
211
|
spinnerAnimationData: () => spinner_default,
|
|
212
|
+
structurePanelIcon: () => structurePanelIcon,
|
|
211
213
|
supports: () => supports,
|
|
212
214
|
textInput: () => textInput,
|
|
213
215
|
useBreakpoint: () => useBreakpoint,
|
|
@@ -220,7 +222,8 @@ __export(src_exports, {
|
|
|
220
222
|
useOutsideClick: () => useOutsideClick,
|
|
221
223
|
useParameterShell: () => useParameterShell,
|
|
222
224
|
useShortcut: () => useShortcut,
|
|
223
|
-
warningIcon: () => warningIcon
|
|
225
|
+
warningIcon: () => warningIcon,
|
|
226
|
+
yesNoIcon: () => yesNoIcon
|
|
224
227
|
});
|
|
225
228
|
module.exports = __toCommonJS(src_exports);
|
|
226
229
|
|
|
@@ -1209,12 +1212,6 @@ var import_react14 = __toESM(require("react"));
|
|
|
1209
1212
|
// src/components/Icons/Icon.styles.ts
|
|
1210
1213
|
var import_react12 = require("@emotion/react");
|
|
1211
1214
|
var IconImg = import_react12.css`
|
|
1212
|
-
display: hidden;
|
|
1213
|
-
|
|
1214
|
-
${mq("sm")} {
|
|
1215
|
-
display: block;
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
1215
|
& svg {
|
|
1219
1216
|
display: block;
|
|
1220
1217
|
vertical-align: middle;
|
|
@@ -1235,6 +1232,9 @@ var IconColorCurrent = import_react12.css`
|
|
|
1235
1232
|
var IconColorAction = import_react12.css`
|
|
1236
1233
|
color: var(--primary-action-default);
|
|
1237
1234
|
`;
|
|
1235
|
+
var IconColorAccent = import_react12.css`
|
|
1236
|
+
color: var(--accent-alt-dark);
|
|
1237
|
+
`;
|
|
1238
1238
|
|
|
1239
1239
|
// src/components/Icons/IconsProvider.tsx
|
|
1240
1240
|
var import_param_case = require("param-case");
|
|
@@ -1284,6 +1284,7 @@ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }
|
|
|
1284
1284
|
default: IconColorDefault,
|
|
1285
1285
|
gray: IconColorGray,
|
|
1286
1286
|
red: IconColorRed,
|
|
1287
|
+
accent: IconColorAccent,
|
|
1287
1288
|
currentColor: IconColorCurrent
|
|
1288
1289
|
};
|
|
1289
1290
|
if (isIconName && isLoading) {
|
|
@@ -1501,14 +1502,14 @@ var numberInput = (0, import_react_icons.GenIcon)({
|
|
|
1501
1502
|
tag: "svg",
|
|
1502
1503
|
attr: {
|
|
1503
1504
|
role: "img",
|
|
1504
|
-
viewBox: "0 0
|
|
1505
|
+
viewBox: "0 0 40 40"
|
|
1505
1506
|
},
|
|
1506
1507
|
child: [
|
|
1507
1508
|
{
|
|
1508
1509
|
tag: "path",
|
|
1509
1510
|
attr: {
|
|
1510
1511
|
fill: "currentColor",
|
|
1511
|
-
d: "
|
|
1512
|
+
d: "M6.10121 28.0571V15.3039L3.3335 15.9254V13.6694L7.40084 11.9429H9.30214V28.0571H6.10121Z"
|
|
1512
1513
|
},
|
|
1513
1514
|
child: []
|
|
1514
1515
|
},
|
|
@@ -1516,7 +1517,7 @@ var numberInput = (0, import_react_icons.GenIcon)({
|
|
|
1516
1517
|
tag: "path",
|
|
1517
1518
|
attr: {
|
|
1518
1519
|
fill: "currentColor",
|
|
1519
|
-
d: "
|
|
1520
|
+
d: "M11.6782 28.0571V25.9162C12.7051 25.1028 13.6998 24.2971 14.6625 23.4991C15.6413 22.701 16.5077 21.9107 17.2618 21.128C18.0319 20.3453 18.6416 19.5856 19.0909 18.849C19.5562 18.097 19.7888 17.368 19.7888 16.6621C19.7888 16.0021 19.5963 15.419 19.2112 14.9125C18.8422 14.4061 18.2245 14.1528 17.358 14.1528C16.4756 14.1528 15.8097 14.4291 15.3605 14.9816C14.9112 15.5341 14.6866 16.2016 14.6866 16.9843H11.7023C11.7344 15.8026 12.0071 14.8204 12.5206 14.0377C13.034 13.2397 13.7159 12.6489 14.5663 12.2652C15.4166 11.8662 16.3713 11.6667 17.4302 11.6667C19.147 11.6667 20.4787 12.1194 21.4254 13.0249C22.3881 13.915 22.8694 15.0737 22.8694 16.5009C22.8694 17.391 22.6528 18.2581 22.2196 19.1022C21.8024 19.9463 21.2489 20.7597 20.559 21.5423C19.869 22.325 19.123 23.0617 18.3207 23.7523C17.5185 24.4276 16.7403 25.0568 15.9862 25.64H23.2786V28.0571H11.6782Z"
|
|
1520
1521
|
},
|
|
1521
1522
|
child: []
|
|
1522
1523
|
},
|
|
@@ -1524,7 +1525,7 @@ var numberInput = (0, import_react_icons.GenIcon)({
|
|
|
1524
1525
|
tag: "path",
|
|
1525
1526
|
attr: {
|
|
1526
1527
|
fill: "currentColor",
|
|
1527
|
-
d: "
|
|
1528
|
+
d: "M30.8667 28.3333C29.7596 28.3333 28.7568 28.1492 27.8583 27.7808C26.9598 27.3972 26.2377 26.814 25.6922 26.0313C25.1467 25.2486 24.8579 24.2664 24.8258 23.0847H27.8583C27.8743 23.8674 28.139 24.5273 28.6525 25.0644C29.182 25.5862 29.92 25.8471 30.8667 25.8471C31.7652 25.8471 32.4551 25.6093 32.9364 25.1335C33.4178 24.6578 33.6584 24.0592 33.6584 23.3379C33.6584 22.4939 33.3375 21.857 32.6958 21.4272C32.07 20.9822 31.2598 20.7597 30.265 20.7597H29.0135V18.3425H30.289C31.1073 18.3425 31.7892 18.1584 32.3347 17.79C32.8803 17.4217 33.153 16.8769 33.153 16.1556C33.153 15.5571 32.9445 15.0813 32.5273 14.7283C32.1262 14.36 31.5646 14.1759 30.8426 14.1759C30.0564 14.1759 29.4387 14.3984 28.9894 14.8435C28.5562 15.2885 28.3155 15.8333 28.2674 16.4779H25.259C25.3232 14.9892 25.8607 13.8152 26.8715 12.9558C27.8984 12.0964 29.2221 11.6667 30.8426 11.6667C31.9978 11.6667 32.9685 11.8662 33.7547 12.2652C34.5569 12.6489 35.1586 13.163 35.5597 13.8075C35.9769 14.4521 36.1855 15.1657 36.1855 15.9484C36.1855 16.8539 35.9207 17.6212 35.3913 18.2504C34.8778 18.8643 34.2361 19.2787 33.4659 19.4935C34.4125 19.6777 35.1827 20.1228 35.7763 20.8287C36.37 21.5193 36.6668 22.3941 36.6668 23.453C36.6668 24.3431 36.4422 25.1565 35.993 25.8932C35.5437 26.6298 34.8859 27.2207 34.0194 27.6657C33.1691 28.1108 32.1181 28.3333 30.8667 28.3333Z"
|
|
1528
1529
|
},
|
|
1529
1530
|
child: []
|
|
1530
1531
|
}
|
|
@@ -1599,6 +1600,7 @@ var infoFilledIcon = (0, import_react_icons.GenIcon)({
|
|
|
1599
1600
|
}
|
|
1600
1601
|
]
|
|
1601
1602
|
});
|
|
1603
|
+
var settingsIcon = import_md.MdSettings;
|
|
1602
1604
|
var settings = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { ...props, icon: import_md.MdSettings });
|
|
1603
1605
|
var queryStringIcon = (0, import_react_icons.GenIcon)({
|
|
1604
1606
|
tag: "svg",
|
|
@@ -1619,6 +1621,25 @@ var queryStringIcon = (0, import_react_icons.GenIcon)({
|
|
|
1619
1621
|
}
|
|
1620
1622
|
]
|
|
1621
1623
|
});
|
|
1624
|
+
var structurePanelIcon = (0, import_react_icons.GenIcon)({
|
|
1625
|
+
tag: "svg",
|
|
1626
|
+
attr: {
|
|
1627
|
+
role: "img",
|
|
1628
|
+
viewBox: "0 0 24 24"
|
|
1629
|
+
},
|
|
1630
|
+
child: [
|
|
1631
|
+
{
|
|
1632
|
+
tag: "path",
|
|
1633
|
+
attr: {
|
|
1634
|
+
fill: "currentColor",
|
|
1635
|
+
fillRule: "evenodd",
|
|
1636
|
+
clipRule: "evenodd",
|
|
1637
|
+
d: "M2.5 5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-14a1 1 0 0 1-1-1V5ZM7.5 11a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-2ZM7.5 17a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-2Z"
|
|
1638
|
+
},
|
|
1639
|
+
child: []
|
|
1640
|
+
}
|
|
1641
|
+
]
|
|
1642
|
+
});
|
|
1622
1643
|
var formatBoldIcon = (0, import_react_icons.GenIcon)({
|
|
1623
1644
|
tag: "svg",
|
|
1624
1645
|
attr: {
|
|
@@ -1796,6 +1817,39 @@ var clearFormatting = (0, import_react_icons.GenIcon)({
|
|
|
1796
1817
|
}
|
|
1797
1818
|
]
|
|
1798
1819
|
});
|
|
1820
|
+
var yesNoIcon = (0, import_react_icons.GenIcon)({
|
|
1821
|
+
tag: "svg",
|
|
1822
|
+
attr: {
|
|
1823
|
+
role: "img",
|
|
1824
|
+
viewBox: "0 0 40 40"
|
|
1825
|
+
},
|
|
1826
|
+
child: [
|
|
1827
|
+
{
|
|
1828
|
+
tag: "path",
|
|
1829
|
+
attr: {
|
|
1830
|
+
fill: "currentColor",
|
|
1831
|
+
d: "M8.9984 27.5V21.8919L4.00049 11.7342H7.08431L10.3808 19.009L13.656 11.7342H16.6973L11.7207 21.8919V27.5H8.9984Z"
|
|
1832
|
+
},
|
|
1833
|
+
child: []
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
tag: "path",
|
|
1837
|
+
attr: {
|
|
1838
|
+
fill: "currentColor",
|
|
1839
|
+
d: "M15.0085 30L20.3255 10H22.9839L17.6457 30H15.0085Z"
|
|
1840
|
+
},
|
|
1841
|
+
child: []
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
tag: "path",
|
|
1845
|
+
attr: {
|
|
1846
|
+
fill: "currentColor",
|
|
1847
|
+
d: "M24.8922 27.5V11.7342H27.6145L34.6116 22.8378V11.7342H37.3338V27.5H34.6116L27.6145 16.4189V27.5H24.8922Z"
|
|
1848
|
+
},
|
|
1849
|
+
child: []
|
|
1850
|
+
}
|
|
1851
|
+
]
|
|
1852
|
+
});
|
|
1799
1853
|
var customIcons = {
|
|
1800
1854
|
"rectangle-rounded": rectangleRoundedIcon,
|
|
1801
1855
|
card: cardIcon,
|
|
@@ -1816,7 +1870,8 @@ var customIcons = {
|
|
|
1816
1870
|
"format-superscript": formatSuperscript,
|
|
1817
1871
|
"format-subscript": formatSubscript,
|
|
1818
1872
|
"layout-list-numbered": layoutListNumberedIcon,
|
|
1819
|
-
"clear-formatting": clearFormatting
|
|
1873
|
+
"clear-formatting": clearFormatting,
|
|
1874
|
+
"yes-no": yesNoIcon
|
|
1820
1875
|
};
|
|
1821
1876
|
|
|
1822
1877
|
// src/components/AddListButton/AddListButton.styles.ts
|
|
@@ -12671,17 +12726,23 @@ var drawerStyles = (bgColor = "var(--white)") => import_react47.css`
|
|
|
12671
12726
|
height: 100%;
|
|
12672
12727
|
`;
|
|
12673
12728
|
var drawerCloseButtonStyles = import_react47.css`
|
|
12674
|
-
|
|
12729
|
+
display: block;
|
|
12730
|
+
padding: 0;
|
|
12675
12731
|
background: transparent;
|
|
12676
12732
|
border: none;
|
|
12677
|
-
|
|
12678
|
-
|
|
12733
|
+
`;
|
|
12734
|
+
var headerWrapperStyles = import_react47.css`
|
|
12735
|
+
display: flex;
|
|
12736
|
+
justify-content: flex-end;
|
|
12737
|
+
align-items: center;
|
|
12738
|
+
flex: 1;
|
|
12679
12739
|
margin-right: var(--spacing-sm);
|
|
12680
12740
|
`;
|
|
12681
12741
|
var drawerHeaderStyles = import_react47.css`
|
|
12682
12742
|
font-size: var(--fs-lg);
|
|
12683
12743
|
font-weight: var(--fw-bold);
|
|
12684
12744
|
padding-inline: var(--spacing-base);
|
|
12745
|
+
flex: 1;
|
|
12685
12746
|
`;
|
|
12686
12747
|
var drawerRendererStyles = import_react47.css`
|
|
12687
12748
|
inset: 0;
|
|
@@ -12709,6 +12770,21 @@ var slideDrawerIn = import_react47.keyframes`
|
|
|
12709
12770
|
transform: translate(0);
|
|
12710
12771
|
}
|
|
12711
12772
|
`;
|
|
12773
|
+
var slideDrawerInLeftAligned = import_react47.keyframes`
|
|
12774
|
+
0% {
|
|
12775
|
+
transform: translate(0);
|
|
12776
|
+
opacity: 0;
|
|
12777
|
+
}
|
|
12778
|
+
1% {
|
|
12779
|
+
transform: translate(-100%);
|
|
12780
|
+
}
|
|
12781
|
+
2% {
|
|
12782
|
+
opacity: 1;
|
|
12783
|
+
}
|
|
12784
|
+
100% {
|
|
12785
|
+
transform: translate(0);
|
|
12786
|
+
}
|
|
12787
|
+
`;
|
|
12712
12788
|
var drawerWrapperStyles = import_react47.css`
|
|
12713
12789
|
position: absolute;
|
|
12714
12790
|
inset-block: 0;
|
|
@@ -12716,9 +12792,18 @@ var drawerWrapperStyles = import_react47.css`
|
|
|
12716
12792
|
overflow: hidden;
|
|
12717
12793
|
transform: translate(0);
|
|
12718
12794
|
animation: ${slideDrawerIn} var(--duration-fast) ease-out;
|
|
12719
|
-
will-change: width,
|
|
12795
|
+
will-change: width, transform;
|
|
12720
12796
|
transition: width var(--duration-fast) ease-out;
|
|
12721
12797
|
box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
|
|
12798
|
+
|
|
12799
|
+
--drawer-close-icon-rotation: 0deg;
|
|
12800
|
+
`;
|
|
12801
|
+
var drawerWrapperLeftAlignedStyles = import_react47.css`
|
|
12802
|
+
animation-name: ${slideDrawerInLeftAligned};
|
|
12803
|
+
left: 0;
|
|
12804
|
+
right: auto;
|
|
12805
|
+
|
|
12806
|
+
--drawer-close-icon-rotation: 180deg;
|
|
12722
12807
|
`;
|
|
12723
12808
|
var drawerWrapperOverlayStyles = import_react47.css`
|
|
12724
12809
|
position: absolute;
|
|
@@ -12812,6 +12897,7 @@ var DrawerRenderer = ({
|
|
|
12812
12897
|
width = "45%",
|
|
12813
12898
|
minWidth = "0",
|
|
12814
12899
|
maxWidth = "100%",
|
|
12900
|
+
leftAligned = false,
|
|
12815
12901
|
...otherProps
|
|
12816
12902
|
}) => {
|
|
12817
12903
|
const { drawersRegistry } = useDrawer();
|
|
@@ -12819,7 +12905,7 @@ var DrawerRenderer = ({
|
|
|
12819
12905
|
if (drawersToRender.length === 0) {
|
|
12820
12906
|
return null;
|
|
12821
12907
|
}
|
|
12822
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
12908
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CurrentDrawerRendererContext.Provider, { value: { stackId, leftAligned }, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
12823
12909
|
"div",
|
|
12824
12910
|
{
|
|
12825
12911
|
css: [
|
|
@@ -12837,6 +12923,7 @@ var DrawerRenderer = ({
|
|
|
12837
12923
|
minWidth,
|
|
12838
12924
|
maxWidth,
|
|
12839
12925
|
onOverlayClick: onRequestClose,
|
|
12926
|
+
leftAligned,
|
|
12840
12927
|
children: component
|
|
12841
12928
|
},
|
|
12842
12929
|
`${stackId2}-${id}`
|
|
@@ -12850,6 +12937,7 @@ var DrawerWrapper = ({
|
|
|
12850
12937
|
width,
|
|
12851
12938
|
minWidth,
|
|
12852
12939
|
maxWidth,
|
|
12940
|
+
leftAligned,
|
|
12853
12941
|
onOverlayClick,
|
|
12854
12942
|
children
|
|
12855
12943
|
}) => {
|
|
@@ -12861,7 +12949,14 @@ var DrawerWrapper = ({
|
|
|
12861
12949
|
const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
|
|
12862
12950
|
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
|
|
12863
12951
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
|
|
12864
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
12952
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
12953
|
+
"div",
|
|
12954
|
+
{
|
|
12955
|
+
css: [drawerWrapperStyles, leftAligned ? drawerWrapperLeftAlignedStyles : null],
|
|
12956
|
+
style: { width: calculatedWidth, minWidth, maxWidth },
|
|
12957
|
+
children
|
|
12958
|
+
}
|
|
12959
|
+
)
|
|
12865
12960
|
] });
|
|
12866
12961
|
};
|
|
12867
12962
|
|
|
@@ -12869,9 +12964,9 @@ var DrawerWrapper = ({
|
|
|
12869
12964
|
var import_jsx_runtime40 = require("@emotion/react/jsx-runtime");
|
|
12870
12965
|
var defaultSackId = "_default";
|
|
12871
12966
|
var Drawer = import_react50.default.forwardRef(
|
|
12872
|
-
({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
|
|
12873
|
-
const drawerRendererProps = { width, minWidth, maxWidth, position };
|
|
12967
|
+
({ width, minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
|
|
12874
12968
|
const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
|
|
12969
|
+
const drawerRendererProps = { width, minWidth, maxWidth, position, leftAligned };
|
|
12875
12970
|
return inheritedStackId ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(DrawerProvider, { children: [
|
|
12876
12971
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerInner, { ref, ...drawerProps }),
|
|
12877
12972
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
|
|
@@ -12904,19 +12999,29 @@ var DrawerInner = ({
|
|
|
12904
12999
|
css: drawerStyles(bgColor),
|
|
12905
13000
|
"data-test-id": testId,
|
|
12906
13001
|
children: [
|
|
12907
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.
|
|
12908
|
-
|
|
12909
|
-
|
|
12910
|
-
|
|
12911
|
-
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
13002
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { css: headerWrapperStyles, children: [
|
|
13003
|
+
header ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
|
|
13004
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
13005
|
+
Button,
|
|
13006
|
+
{
|
|
13007
|
+
ref: closeButtonRef,
|
|
13008
|
+
type: "button",
|
|
13009
|
+
onClick: onRequestClose,
|
|
13010
|
+
css: drawerCloseButtonStyles,
|
|
13011
|
+
title: "Close dialog",
|
|
13012
|
+
buttonType: "ghost",
|
|
13013
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
13014
|
+
Icon,
|
|
13015
|
+
{
|
|
13016
|
+
icon: import_cg10.CgChevronRight,
|
|
13017
|
+
iconColor: "gray",
|
|
13018
|
+
size: 24,
|
|
13019
|
+
css: { transform: "rotate(var(--drawer-close-icon-rotation))" }
|
|
13020
|
+
}
|
|
13021
|
+
)
|
|
13022
|
+
}
|
|
13023
|
+
)
|
|
13024
|
+
] }),
|
|
12920
13025
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: drawerInnerStyles, children })
|
|
12921
13026
|
]
|
|
12922
13027
|
}
|
|
@@ -14755,7 +14860,7 @@ var Tile = import_react77.css`
|
|
|
14755
14860
|
display: grid;
|
|
14756
14861
|
padding: var(--spacing-base);
|
|
14757
14862
|
place-items: center;
|
|
14758
|
-
place-content:
|
|
14863
|
+
place-content: center;
|
|
14759
14864
|
gap: var(--spacing-sm);
|
|
14760
14865
|
transition: background-color var(--duration-fast) var(--timing-ease-out);
|
|
14761
14866
|
min-height: 128px;
|
|
@@ -15841,12 +15946,14 @@ var ParameterNameAndPublicIdInput = ({
|
|
|
15841
15946
|
var import_react101 = require("@emotion/react");
|
|
15842
15947
|
var import_code2 = require("@lexical/code");
|
|
15843
15948
|
var import_list3 = require("@lexical/list");
|
|
15949
|
+
var import_markdown = require("@lexical/markdown");
|
|
15844
15950
|
var import_LexicalComposer = require("@lexical/react/LexicalComposer");
|
|
15845
15951
|
var import_LexicalComposerContext4 = require("@lexical/react/LexicalComposerContext");
|
|
15846
15952
|
var import_LexicalContentEditable = require("@lexical/react/LexicalContentEditable");
|
|
15847
15953
|
var import_LexicalErrorBoundary = __toESM(require("@lexical/react/LexicalErrorBoundary"));
|
|
15848
15954
|
var import_LexicalHistoryPlugin = require("@lexical/react/LexicalHistoryPlugin");
|
|
15849
15955
|
var import_LexicalListPlugin = require("@lexical/react/LexicalListPlugin");
|
|
15956
|
+
var import_LexicalMarkdownShortcutPlugin = require("@lexical/react/LexicalMarkdownShortcutPlugin");
|
|
15850
15957
|
var import_LexicalRichTextPlugin = require("@lexical/react/LexicalRichTextPlugin");
|
|
15851
15958
|
var import_rich_text2 = require("@lexical/rich-text");
|
|
15852
15959
|
var import_fast_equals2 = require("fast-equals");
|
|
@@ -17242,6 +17349,15 @@ var ParameterRichTextInner = ({
|
|
|
17242
17349
|
editorFooter ? editorFooter : null
|
|
17243
17350
|
] });
|
|
17244
17351
|
};
|
|
17352
|
+
var MARKDOWN_TRANSFORMERS = [
|
|
17353
|
+
import_markdown.HEADING,
|
|
17354
|
+
import_markdown.ORDERED_LIST,
|
|
17355
|
+
import_markdown.UNORDERED_LIST,
|
|
17356
|
+
import_markdown.LINK,
|
|
17357
|
+
import_markdown.CODE,
|
|
17358
|
+
import_markdown.QUOTE,
|
|
17359
|
+
...import_markdown.TEXT_FORMAT_TRANSFORMERS
|
|
17360
|
+
];
|
|
17245
17361
|
var RichText = ({
|
|
17246
17362
|
onChange,
|
|
17247
17363
|
onConnectLink,
|
|
@@ -17283,7 +17399,8 @@ var RichText = ({
|
|
|
17283
17399
|
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_LexicalListPlugin.ListPlugin, {}),
|
|
17284
17400
|
readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
|
|
17285
17401
|
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
|
|
17286
|
-
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ListIndentPlugin, { maxDepth: 4 })
|
|
17402
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ListIndentPlugin, { maxDepth: 4 }),
|
|
17403
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
|
|
17287
17404
|
] })
|
|
17288
17405
|
] });
|
|
17289
17406
|
};
|
|
@@ -17812,11 +17929,16 @@ var React21 = __toESM(require("react"));
|
|
|
17812
17929
|
|
|
17813
17930
|
// src/components/Table/Table.styles.ts
|
|
17814
17931
|
var import_react114 = require("@emotion/react");
|
|
17815
|
-
var table = import_react114.css`
|
|
17932
|
+
var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => import_react114.css`
|
|
17816
17933
|
border-bottom: 1px solid var(--gray-400);
|
|
17817
17934
|
border-collapse: collapse;
|
|
17818
17935
|
min-width: 100%;
|
|
17819
17936
|
table-layout: auto;
|
|
17937
|
+
|
|
17938
|
+
th,
|
|
17939
|
+
td {
|
|
17940
|
+
padding: ${cellPadding};
|
|
17941
|
+
}
|
|
17820
17942
|
`;
|
|
17821
17943
|
var tableHead = import_react114.css`
|
|
17822
17944
|
background: var(--gray-100);
|
|
@@ -17828,19 +17950,17 @@ var tableRow = import_react114.css`
|
|
|
17828
17950
|
`;
|
|
17829
17951
|
var tableCellHead = import_react114.css`
|
|
17830
17952
|
font-size: var(--fs-sm);
|
|
17831
|
-
padding: var(--spacing-base) var(--spacing-md);
|
|
17832
17953
|
text-transform: uppercase;
|
|
17833
17954
|
font-weight: var(--fw-bold);
|
|
17834
17955
|
`;
|
|
17835
|
-
var tableCellData = import_react114.css`
|
|
17836
|
-
padding: var(--spacing-base) var(--spacing-md);
|
|
17837
|
-
`;
|
|
17838
17956
|
|
|
17839
17957
|
// src/components/Table/Table.tsx
|
|
17840
17958
|
var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
|
|
17841
|
-
var Table = React21.forwardRef(
|
|
17842
|
-
|
|
17843
|
-
});
|
|
17959
|
+
var Table = React21.forwardRef(
|
|
17960
|
+
({ children, cellPadding, ...otherProps }, ref) => {
|
|
17961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
|
|
17962
|
+
}
|
|
17963
|
+
);
|
|
17844
17964
|
var TableHead = React21.forwardRef(
|
|
17845
17965
|
({ children, ...otherProps }, ref) => {
|
|
17846
17966
|
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
|
|
@@ -17868,7 +17988,7 @@ var TableCellHead = React21.forwardRef(
|
|
|
17868
17988
|
);
|
|
17869
17989
|
var TableCellData = React21.forwardRef(
|
|
17870
17990
|
({ children, ...otherProps }, ref) => {
|
|
17871
|
-
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("td", { ref,
|
|
17991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("td", { ref, ...otherProps, children });
|
|
17872
17992
|
}
|
|
17873
17993
|
);
|
|
17874
17994
|
|
|
@@ -17994,7 +18114,14 @@ var StatusModified = import_react117.css`
|
|
|
17994
18114
|
var StatusError = import_react117.css`
|
|
17995
18115
|
color: var(--error);
|
|
17996
18116
|
&:before {
|
|
17997
|
-
|
|
18117
|
+
/* TODO: replace this with an svg icon */
|
|
18118
|
+
background: linear-gradient(
|
|
18119
|
+
120deg,
|
|
18120
|
+
var(--error) 45%,
|
|
18121
|
+
var(--white) 46%,
|
|
18122
|
+
var(--white) 54%,
|
|
18123
|
+
var(--error) 55%
|
|
18124
|
+
);
|
|
17998
18125
|
}
|
|
17999
18126
|
`;
|
|
18000
18127
|
var StatusPublished = import_react117.css`
|
|
@@ -18215,9 +18342,11 @@ var StatusBullet = ({
|
|
|
18215
18342
|
ripple,
|
|
18216
18343
|
scrollbarStyles,
|
|
18217
18344
|
settings,
|
|
18345
|
+
settingsIcon,
|
|
18218
18346
|
skeletonLoading,
|
|
18219
18347
|
slideInTtb,
|
|
18220
18348
|
spinnerAnimationData,
|
|
18349
|
+
structurePanelIcon,
|
|
18221
18350
|
supports,
|
|
18222
18351
|
textInput,
|
|
18223
18352
|
useBreakpoint,
|
|
@@ -18230,5 +18359,6 @@ var StatusBullet = ({
|
|
|
18230
18359
|
useOutsideClick,
|
|
18231
18360
|
useParameterShell,
|
|
18232
18361
|
useShortcut,
|
|
18233
|
-
warningIcon
|
|
18362
|
+
warningIcon,
|
|
18363
|
+
yesNoIcon
|
|
18234
18364
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.21.0",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@storybook/client-api": "6.5.16",
|
|
24
24
|
"@storybook/react": "6.5.16",
|
|
25
25
|
"@types/react": "18.2.7",
|
|
26
|
-
"@uniformdev/canvas": "^19.
|
|
26
|
+
"@uniformdev/canvas": "^19.21.0",
|
|
27
27
|
"autoprefixer": "10.4.14",
|
|
28
28
|
"hygen": "6.2.11",
|
|
29
29
|
"postcss": "8.4.24",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"@lexical/code": "^0.11.1",
|
|
38
38
|
"@lexical/link": "^0.11.0",
|
|
39
39
|
"@lexical/list": "^0.11.0",
|
|
40
|
+
"@lexical/markdown": "^0.11.0",
|
|
40
41
|
"@lexical/react": "^0.11.0",
|
|
41
42
|
"@lexical/rich-text": "^0.11.0",
|
|
42
43
|
"@lexical/selection": "^0.11.0",
|
|
@@ -65,5 +66,5 @@
|
|
|
65
66
|
"publishConfig": {
|
|
66
67
|
"access": "public"
|
|
67
68
|
},
|
|
68
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "3db4c0f1c775a5cf9677c6df294322cfbf79611e"
|
|
69
70
|
}
|