@octoguide/mui-ui-toolkit 0.8.0 → 0.8.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.mts +83 -76
- package/dist/index.d.ts +83 -76
- package/dist/index.js +266 -233
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +228 -195
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1474,19 +1474,52 @@ function Avatar({ size = "md", ...props }) {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
|
|
1476
1476
|
// src/components/ToggleButton/ToggleButton.tsx
|
|
1477
|
+
import { styled as styled7 } from "@mui/material/styles";
|
|
1477
1478
|
import {
|
|
1478
1479
|
ToggleButton as MuiToggleButton,
|
|
1479
1480
|
ToggleButtonGroup as MuiToggleButtonGroup
|
|
1480
1481
|
} from "@mui/material";
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
}
|
|
1482
|
+
var ToggleButtonGroup = styled7(MuiToggleButtonGroup)(({ theme }) => ({
|
|
1483
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
1484
|
+
borderRadius: theme.tokens.borderRadius.md,
|
|
1485
|
+
backgroundColor: theme.palette.background.paper,
|
|
1486
|
+
padding: theme.spacing(0.5),
|
|
1487
|
+
"& .MuiToggleButtonGroup-grouped": {
|
|
1488
|
+
border: "none",
|
|
1489
|
+
borderRadius: `calc(${theme.tokens.borderRadius.md} - 2px)`,
|
|
1490
|
+
"&:not(:first-of-type)": {
|
|
1491
|
+
borderRadius: `calc(${theme.tokens.borderRadius.md} - 2px)`,
|
|
1492
|
+
marginLeft: 0
|
|
1493
|
+
},
|
|
1494
|
+
"&:first-of-type": {
|
|
1495
|
+
borderRadius: `calc(${theme.tokens.borderRadius.md} - 2px)`
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
}));
|
|
1489
1499
|
ToggleButtonGroup.displayName = "ToolkitToggleButtonGroup";
|
|
1500
|
+
var ToggleButton = styled7(MuiToggleButton)(({ theme }) => ({
|
|
1501
|
+
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
1502
|
+
fontSize: theme.tokens.typography.fontSizeMd,
|
|
1503
|
+
fontWeight: theme.tokens.typography.fontWeightBold,
|
|
1504
|
+
textTransform: "none",
|
|
1505
|
+
color: theme.palette.text.primary,
|
|
1506
|
+
lineHeight: 1.25,
|
|
1507
|
+
transition: `background-color ${theme.tokens.transitions.durationBase} ease`,
|
|
1508
|
+
"&:hover": {
|
|
1509
|
+
backgroundColor: theme.tokens.colors.backgroundSubtle
|
|
1510
|
+
},
|
|
1511
|
+
"&.Mui-selected": {
|
|
1512
|
+
backgroundColor: theme.tokens.colors.primary,
|
|
1513
|
+
color: theme.tokens.colors.primaryContrast,
|
|
1514
|
+
"&:hover": {
|
|
1515
|
+
backgroundColor: theme.tokens.colors.primaryDark
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"&.Mui-disabled": {
|
|
1519
|
+
opacity: 0.4
|
|
1520
|
+
}
|
|
1521
|
+
}));
|
|
1522
|
+
ToggleButton.displayName = "ToolkitToggleButton";
|
|
1490
1523
|
|
|
1491
1524
|
// src/components/DatePicker/DatePicker.tsx
|
|
1492
1525
|
import { useState as useState2 } from "react";
|
|
@@ -1546,77 +1579,77 @@ import DialogActions2 from "@mui/material/DialogActions";
|
|
|
1546
1579
|
import Button2 from "@mui/material/Button";
|
|
1547
1580
|
import Box from "@mui/material/Box";
|
|
1548
1581
|
import TextField3 from "@mui/material/TextField";
|
|
1549
|
-
import { styled as
|
|
1550
|
-
import { Fragment, jsx as
|
|
1582
|
+
import { styled as styled8 } from "@mui/material/styles";
|
|
1583
|
+
import { Fragment, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1551
1584
|
function DateLocalizationProvider({ children }) {
|
|
1552
|
-
return /* @__PURE__ */
|
|
1585
|
+
return /* @__PURE__ */ jsx11(LocalizationProvider, { dateAdapter: AdapterDayjs, children });
|
|
1553
1586
|
}
|
|
1554
1587
|
DateLocalizationProvider.displayName = "ToolkitDateLocalizationProvider";
|
|
1555
1588
|
function DatePicker(props) {
|
|
1556
|
-
return /* @__PURE__ */
|
|
1589
|
+
return /* @__PURE__ */ jsx11(MuiDatePicker, { ...props });
|
|
1557
1590
|
}
|
|
1558
1591
|
DatePicker.displayName = "ToolkitDatePicker";
|
|
1559
1592
|
function DesktopDatePicker(props) {
|
|
1560
|
-
return /* @__PURE__ */
|
|
1593
|
+
return /* @__PURE__ */ jsx11(MuiDesktopDatePicker, { ...props });
|
|
1561
1594
|
}
|
|
1562
1595
|
DesktopDatePicker.displayName = "ToolkitDesktopDatePicker";
|
|
1563
1596
|
function MobileDatePicker(props) {
|
|
1564
|
-
return /* @__PURE__ */
|
|
1597
|
+
return /* @__PURE__ */ jsx11(MuiMobileDatePicker, { ...props });
|
|
1565
1598
|
}
|
|
1566
1599
|
MobileDatePicker.displayName = "ToolkitMobileDatePicker";
|
|
1567
1600
|
function DateField(props) {
|
|
1568
|
-
return /* @__PURE__ */
|
|
1601
|
+
return /* @__PURE__ */ jsx11(MuiDateField, { ...props });
|
|
1569
1602
|
}
|
|
1570
1603
|
DateField.displayName = "ToolkitDateField";
|
|
1571
1604
|
function StaticDatePicker(props) {
|
|
1572
|
-
return /* @__PURE__ */
|
|
1605
|
+
return /* @__PURE__ */ jsx11(MuiStaticDatePicker, { ...props });
|
|
1573
1606
|
}
|
|
1574
1607
|
StaticDatePicker.displayName = "ToolkitStaticDatePicker";
|
|
1575
1608
|
function TimePicker(props) {
|
|
1576
|
-
return /* @__PURE__ */
|
|
1609
|
+
return /* @__PURE__ */ jsx11(MuiTimePicker, { ...props });
|
|
1577
1610
|
}
|
|
1578
1611
|
TimePicker.displayName = "ToolkitTimePicker";
|
|
1579
1612
|
function DesktopTimePicker(props) {
|
|
1580
|
-
return /* @__PURE__ */
|
|
1613
|
+
return /* @__PURE__ */ jsx11(MuiDesktopTimePicker, { ...props });
|
|
1581
1614
|
}
|
|
1582
1615
|
DesktopTimePicker.displayName = "ToolkitDesktopTimePicker";
|
|
1583
1616
|
function MobileTimePicker(props) {
|
|
1584
|
-
return /* @__PURE__ */
|
|
1617
|
+
return /* @__PURE__ */ jsx11(MuiMobileTimePicker, { ...props });
|
|
1585
1618
|
}
|
|
1586
1619
|
MobileTimePicker.displayName = "ToolkitMobileTimePicker";
|
|
1587
1620
|
function TimeField(props) {
|
|
1588
|
-
return /* @__PURE__ */
|
|
1621
|
+
return /* @__PURE__ */ jsx11(MuiTimeField, { ...props });
|
|
1589
1622
|
}
|
|
1590
1623
|
TimeField.displayName = "ToolkitTimeField";
|
|
1591
1624
|
function StaticTimePicker(props) {
|
|
1592
|
-
return /* @__PURE__ */
|
|
1625
|
+
return /* @__PURE__ */ jsx11(MuiStaticTimePicker, { ...props });
|
|
1593
1626
|
}
|
|
1594
1627
|
StaticTimePicker.displayName = "ToolkitStaticTimePicker";
|
|
1595
1628
|
function DateTimePicker(props) {
|
|
1596
|
-
return /* @__PURE__ */
|
|
1629
|
+
return /* @__PURE__ */ jsx11(MuiDateTimePicker, { ...props });
|
|
1597
1630
|
}
|
|
1598
1631
|
DateTimePicker.displayName = "ToolkitDateTimePicker";
|
|
1599
1632
|
function DesktopDateTimePicker(props) {
|
|
1600
|
-
return /* @__PURE__ */
|
|
1633
|
+
return /* @__PURE__ */ jsx11(MuiDesktopDateTimePicker, { ...props });
|
|
1601
1634
|
}
|
|
1602
1635
|
DesktopDateTimePicker.displayName = "ToolkitDesktopDateTimePicker";
|
|
1603
1636
|
function MobileDateTimePicker(props) {
|
|
1604
|
-
return /* @__PURE__ */
|
|
1637
|
+
return /* @__PURE__ */ jsx11(MuiMobileDateTimePicker, { ...props });
|
|
1605
1638
|
}
|
|
1606
1639
|
MobileDateTimePicker.displayName = "ToolkitMobileDateTimePicker";
|
|
1607
1640
|
function DateTimeField(props) {
|
|
1608
|
-
return /* @__PURE__ */
|
|
1641
|
+
return /* @__PURE__ */ jsx11(MuiDateTimeField, { ...props });
|
|
1609
1642
|
}
|
|
1610
1643
|
DateTimeField.displayName = "ToolkitDateTimeField";
|
|
1611
1644
|
function StaticDateTimePicker(props) {
|
|
1612
|
-
return /* @__PURE__ */
|
|
1645
|
+
return /* @__PURE__ */ jsx11(MuiStaticDateTimePicker, { ...props });
|
|
1613
1646
|
}
|
|
1614
1647
|
StaticDateTimePicker.displayName = "ToolkitStaticDateTimePicker";
|
|
1615
1648
|
function DateCalendar(props) {
|
|
1616
|
-
return /* @__PURE__ */
|
|
1649
|
+
return /* @__PURE__ */ jsx11(MuiDateCalendar, { ...props });
|
|
1617
1650
|
}
|
|
1618
1651
|
DateCalendar.displayName = "ToolkitDateCalendar";
|
|
1619
|
-
var RangeRow =
|
|
1652
|
+
var RangeRow = styled8(Box)(({ theme }) => ({
|
|
1620
1653
|
display: "flex",
|
|
1621
1654
|
gap: theme.spacing(2),
|
|
1622
1655
|
alignItems: "center"
|
|
@@ -1640,10 +1673,10 @@ function DateRangePickerInput({
|
|
|
1640
1673
|
setOpen(false);
|
|
1641
1674
|
};
|
|
1642
1675
|
return /* @__PURE__ */ jsxs3(Fragment, { children: [
|
|
1643
|
-
/* @__PURE__ */
|
|
1676
|
+
/* @__PURE__ */ jsx11(Button2, { variant: "contained", color: "inherit", disableElevation: true, onClick: handleOpen, children: buttonLabel }),
|
|
1644
1677
|
/* @__PURE__ */ jsxs3(Dialog2, { open, onClose: handleCancel, maxWidth: "sm", fullWidth: true, children: [
|
|
1645
|
-
/* @__PURE__ */
|
|
1646
|
-
/* @__PURE__ */
|
|
1678
|
+
/* @__PURE__ */ jsx11(DialogContent2, { children: /* @__PURE__ */ jsxs3(RangeRow, { children: [
|
|
1679
|
+
/* @__PURE__ */ jsx11(
|
|
1647
1680
|
MuiDatePicker,
|
|
1648
1681
|
{
|
|
1649
1682
|
label: startLabel,
|
|
@@ -1652,7 +1685,7 @@ function DateRangePickerInput({
|
|
|
1652
1685
|
slotProps: { textField: { fullWidth: true } }
|
|
1653
1686
|
}
|
|
1654
1687
|
),
|
|
1655
|
-
/* @__PURE__ */
|
|
1688
|
+
/* @__PURE__ */ jsx11(
|
|
1656
1689
|
MuiDatePicker,
|
|
1657
1690
|
{
|
|
1658
1691
|
label: endLabel,
|
|
@@ -1663,8 +1696,8 @@ function DateRangePickerInput({
|
|
|
1663
1696
|
)
|
|
1664
1697
|
] }) }),
|
|
1665
1698
|
/* @__PURE__ */ jsxs3(DialogActions2, { children: [
|
|
1666
|
-
/* @__PURE__ */
|
|
1667
|
-
/* @__PURE__ */
|
|
1699
|
+
/* @__PURE__ */ jsx11(Button2, { onClick: handleCancel, color: "inherit", children: "Cancel" }),
|
|
1700
|
+
/* @__PURE__ */ jsx11(Button2, { onClick: handleOk, color: "inherit", children: "OK" })
|
|
1668
1701
|
] })
|
|
1669
1702
|
] })
|
|
1670
1703
|
] });
|
|
@@ -1697,10 +1730,10 @@ function DateRangePickerCalendar({
|
|
|
1697
1730
|
}
|
|
1698
1731
|
};
|
|
1699
1732
|
return /* @__PURE__ */ jsxs3(Fragment, { children: [
|
|
1700
|
-
/* @__PURE__ */
|
|
1733
|
+
/* @__PURE__ */ jsx11(Button2, { variant: "contained", color: "inherit", disableElevation: true, onClick: handleOpen, children: buttonLabel }),
|
|
1701
1734
|
/* @__PURE__ */ jsxs3(Dialog2, { open, onClose: handleCancel, children: [
|
|
1702
1735
|
/* @__PURE__ */ jsxs3(DialogContent2, { sx: { p: 1 }, children: [
|
|
1703
|
-
/* @__PURE__ */
|
|
1736
|
+
/* @__PURE__ */ jsx11(Box, { sx: { mb: 1, px: 1 }, children: /* @__PURE__ */ jsx11(
|
|
1704
1737
|
TextField3,
|
|
1705
1738
|
{
|
|
1706
1739
|
size: "small",
|
|
@@ -1710,7 +1743,7 @@ function DateRangePickerCalendar({
|
|
|
1710
1743
|
fullWidth: true
|
|
1711
1744
|
}
|
|
1712
1745
|
) }),
|
|
1713
|
-
/* @__PURE__ */
|
|
1746
|
+
/* @__PURE__ */ jsx11(
|
|
1714
1747
|
MuiDateCalendar,
|
|
1715
1748
|
{
|
|
1716
1749
|
value: selecting === "start" ? draft.start : draft.end,
|
|
@@ -1719,8 +1752,8 @@ function DateRangePickerCalendar({
|
|
|
1719
1752
|
)
|
|
1720
1753
|
] }),
|
|
1721
1754
|
/* @__PURE__ */ jsxs3(DialogActions2, { children: [
|
|
1722
|
-
/* @__PURE__ */
|
|
1723
|
-
/* @__PURE__ */
|
|
1755
|
+
/* @__PURE__ */ jsx11(Button2, { onClick: handleCancel, color: "inherit", children: "Cancel" }),
|
|
1756
|
+
/* @__PURE__ */ jsx11(Button2, { onClick: handleOk, color: "inherit", children: "OK" })
|
|
1724
1757
|
] })
|
|
1725
1758
|
] })
|
|
1726
1759
|
] });
|
|
@@ -1729,9 +1762,9 @@ DateRangePickerCalendar.displayName = "ToolkitDateRangePickerCalendar";
|
|
|
1729
1762
|
|
|
1730
1763
|
// src/foundation/Grid/Grid.tsx
|
|
1731
1764
|
import { Grid2 as MuiGrid2 } from "@mui/material";
|
|
1732
|
-
import { jsx as
|
|
1765
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
1733
1766
|
function Grid({ container, spacing, ...props }) {
|
|
1734
|
-
return /* @__PURE__ */
|
|
1767
|
+
return /* @__PURE__ */ jsx12(
|
|
1735
1768
|
MuiGrid2,
|
|
1736
1769
|
{
|
|
1737
1770
|
container,
|
|
@@ -1746,9 +1779,9 @@ Grid.displayName = "ToolkitGrid";
|
|
|
1746
1779
|
import React4 from "react";
|
|
1747
1780
|
|
|
1748
1781
|
// src/components/IconText/IconText.styles.tsx
|
|
1749
|
-
import { styled as
|
|
1782
|
+
import { styled as styled9 } from "@mui/material/styles";
|
|
1750
1783
|
import { SvgIcon as SvgIcon4 } from "@mui/material";
|
|
1751
|
-
var StyledIconTextRoot =
|
|
1784
|
+
var StyledIconTextRoot = styled9("div")(
|
|
1752
1785
|
({ $inheritFontFamily }) => ({
|
|
1753
1786
|
display: "flex",
|
|
1754
1787
|
alignItems: "center",
|
|
@@ -1764,7 +1797,7 @@ var StyledIconTextRoot = styled8("div")(
|
|
|
1764
1797
|
}
|
|
1765
1798
|
})
|
|
1766
1799
|
);
|
|
1767
|
-
var StyledIconTextSymbol =
|
|
1800
|
+
var StyledIconTextSymbol = styled9(SvgIcon4, {
|
|
1768
1801
|
shouldForwardProp: (prop) => prop !== "$position"
|
|
1769
1802
|
})(({ theme, $position }) => ({
|
|
1770
1803
|
flexShrink: 0,
|
|
@@ -1773,7 +1806,7 @@ var StyledIconTextSymbol = styled8(SvgIcon4, {
|
|
|
1773
1806
|
}));
|
|
1774
1807
|
|
|
1775
1808
|
// src/components/IconText/IconText.tsx
|
|
1776
|
-
import { jsx as
|
|
1809
|
+
import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1777
1810
|
var IconText = React4.forwardRef(
|
|
1778
1811
|
function IconText2({
|
|
1779
1812
|
symbol,
|
|
@@ -1783,14 +1816,14 @@ var IconText = React4.forwardRef(
|
|
|
1783
1816
|
children,
|
|
1784
1817
|
...rest
|
|
1785
1818
|
}, ref) {
|
|
1786
|
-
const icon = /* @__PURE__ */
|
|
1819
|
+
const icon = /* @__PURE__ */ jsx13(
|
|
1787
1820
|
StyledIconTextSymbol,
|
|
1788
1821
|
{
|
|
1789
1822
|
$position: symbolPosition,
|
|
1790
1823
|
viewBox: symbol.viewBox ?? "0 0 24 24",
|
|
1791
1824
|
"aria-hidden": "true",
|
|
1792
1825
|
...symbolProps,
|
|
1793
|
-
children: symbol.content && /* @__PURE__ */
|
|
1826
|
+
children: symbol.content && /* @__PURE__ */ jsx13("g", { dangerouslySetInnerHTML: { __html: symbol.content } })
|
|
1794
1827
|
}
|
|
1795
1828
|
);
|
|
1796
1829
|
return /* @__PURE__ */ jsxs4(
|
|
@@ -1815,8 +1848,8 @@ import ChevronRightIcon from "@mui/icons-material/ChevronRight";
|
|
|
1815
1848
|
|
|
1816
1849
|
// src/components/InternalLinkItem/InternalLinkItem.styles.tsx
|
|
1817
1850
|
import Box2 from "@mui/material/Box";
|
|
1818
|
-
import { styled as
|
|
1819
|
-
var StyledWrapper =
|
|
1851
|
+
import { styled as styled10 } from "@mui/material/styles";
|
|
1852
|
+
var StyledWrapper = styled10("div")(({ theme }) => ({
|
|
1820
1853
|
"& > a, & > div": {
|
|
1821
1854
|
textDecoration: "none",
|
|
1822
1855
|
color: theme.tokens.colors.textPrimary,
|
|
@@ -1825,7 +1858,7 @@ var StyledWrapper = styled9("div")(({ theme }) => ({
|
|
|
1825
1858
|
}
|
|
1826
1859
|
}
|
|
1827
1860
|
}));
|
|
1828
|
-
var StyledListItemContainer =
|
|
1861
|
+
var StyledListItemContainer = styled10(Box2)(({ theme }) => ({
|
|
1829
1862
|
width: "100%",
|
|
1830
1863
|
minHeight: "66px",
|
|
1831
1864
|
borderTop: `1px solid ${theme.tokens.colors.divider}`,
|
|
@@ -1868,19 +1901,19 @@ var StyledListItemContainer = styled9(Box2)(({ theme }) => ({
|
|
|
1868
1901
|
outlineStyle: "solid"
|
|
1869
1902
|
}
|
|
1870
1903
|
}));
|
|
1871
|
-
var StyledLeftIconWrapper =
|
|
1904
|
+
var StyledLeftIconWrapper = styled10("span")({
|
|
1872
1905
|
display: "flex",
|
|
1873
1906
|
paddingLeft: "4px"
|
|
1874
1907
|
});
|
|
1875
|
-
var StyledRightIconWrapper =
|
|
1908
|
+
var StyledRightIconWrapper = styled10("span")({
|
|
1876
1909
|
display: "flex",
|
|
1877
1910
|
paddingRight: "4px"
|
|
1878
1911
|
});
|
|
1879
|
-
var StyledLabelContainer =
|
|
1912
|
+
var StyledLabelContainer = styled10("div")({
|
|
1880
1913
|
flex: 1,
|
|
1881
1914
|
padding: "12px 8px"
|
|
1882
1915
|
});
|
|
1883
|
-
var StyledLabel =
|
|
1916
|
+
var StyledLabel = styled10("p")(({ theme }) => ({
|
|
1884
1917
|
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
1885
1918
|
fontSize: theme.tokens.typography.fontSizeLg,
|
|
1886
1919
|
lineHeight: "20px",
|
|
@@ -1888,7 +1921,7 @@ var StyledLabel = styled9("p")(({ theme }) => ({
|
|
|
1888
1921
|
margin: 0,
|
|
1889
1922
|
textDecoration: "none"
|
|
1890
1923
|
}));
|
|
1891
|
-
var StyledCaption =
|
|
1924
|
+
var StyledCaption = styled10("p")(({ theme }) => ({
|
|
1892
1925
|
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
1893
1926
|
color: theme.tokens.colors.textSecondary,
|
|
1894
1927
|
fontSize: theme.tokens.typography.fontSizeLg,
|
|
@@ -1899,7 +1932,7 @@ var StyledCaption = styled9("p")(({ theme }) => ({
|
|
|
1899
1932
|
}));
|
|
1900
1933
|
|
|
1901
1934
|
// src/components/InternalLinkItem/InternalLinkItem.tsx
|
|
1902
|
-
import { jsx as
|
|
1935
|
+
import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1903
1936
|
function InternalLinkItem({
|
|
1904
1937
|
link,
|
|
1905
1938
|
icon,
|
|
@@ -1908,19 +1941,19 @@ function InternalLinkItem({
|
|
|
1908
1941
|
component,
|
|
1909
1942
|
...restProps
|
|
1910
1943
|
}) {
|
|
1911
|
-
return /* @__PURE__ */
|
|
1944
|
+
return /* @__PURE__ */ jsx14(StyledWrapper, { "data-component-id": "internalLinkItem", children: /* @__PURE__ */ jsxs5(
|
|
1912
1945
|
StyledListItemContainer,
|
|
1913
1946
|
{
|
|
1914
1947
|
component: component ?? "a",
|
|
1915
1948
|
href: link,
|
|
1916
1949
|
...getCleanProps(restProps),
|
|
1917
1950
|
children: [
|
|
1918
|
-
icon && /* @__PURE__ */
|
|
1951
|
+
icon && /* @__PURE__ */ jsx14(StyledLeftIconWrapper, { "data-testid": "icon_container", children: icon }),
|
|
1919
1952
|
/* @__PURE__ */ jsxs5(StyledLabelContainer, { children: [
|
|
1920
|
-
/* @__PURE__ */
|
|
1921
|
-
caption && /* @__PURE__ */
|
|
1953
|
+
/* @__PURE__ */ jsx14(StyledLabel, { className: "itemLabel", children: label }),
|
|
1954
|
+
caption && /* @__PURE__ */ jsx14(StyledCaption, { children: caption })
|
|
1922
1955
|
] }),
|
|
1923
|
-
/* @__PURE__ */
|
|
1956
|
+
/* @__PURE__ */ jsx14(StyledRightIconWrapper, { className: "iconColor", "data-testid": "icon_action_container", children: /* @__PURE__ */ jsx14(ChevronRightIcon, { fontSize: "small" }) })
|
|
1924
1957
|
]
|
|
1925
1958
|
}
|
|
1926
1959
|
) });
|
|
@@ -1934,8 +1967,8 @@ import SvgIcon5 from "@mui/material/SvgIcon";
|
|
|
1934
1967
|
|
|
1935
1968
|
// src/components/Link/Link.styles.tsx
|
|
1936
1969
|
import Box3 from "@mui/material/Box";
|
|
1937
|
-
import { styled as
|
|
1938
|
-
var StyledScreenReaderOnly =
|
|
1970
|
+
import { styled as styled11, alpha as alpha2 } from "@mui/material/styles";
|
|
1971
|
+
var StyledScreenReaderOnly = styled11("span")({
|
|
1939
1972
|
position: "absolute",
|
|
1940
1973
|
width: "1px",
|
|
1941
1974
|
height: "1px",
|
|
@@ -1946,7 +1979,7 @@ var StyledScreenReaderOnly = styled10("span")({
|
|
|
1946
1979
|
whiteSpace: "nowrap",
|
|
1947
1980
|
border: 0
|
|
1948
1981
|
});
|
|
1949
|
-
var StyledIconSpan =
|
|
1982
|
+
var StyledIconSpan = styled11("span", {
|
|
1950
1983
|
shouldForwardProp: (prop) => prop !== "iconRight"
|
|
1951
1984
|
})(({ iconRight }) => ({
|
|
1952
1985
|
display: "inline-flex",
|
|
@@ -1954,7 +1987,7 @@ var StyledIconSpan = styled10("span", {
|
|
|
1954
1987
|
paddingLeft: iconRight ? "4px" : void 0,
|
|
1955
1988
|
paddingRight: iconRight ? void 0 : "4px"
|
|
1956
1989
|
}));
|
|
1957
|
-
var StyledAnchor =
|
|
1990
|
+
var StyledAnchor = styled11(Box3, {
|
|
1958
1991
|
shouldForwardProp: (prop) => !["tint", "isOnDarkBg", "standalonelink", "iconRight"].includes(prop)
|
|
1959
1992
|
})(({ theme, tint = "primary", isOnDarkBg, standalonelink, iconRight }) => {
|
|
1960
1993
|
const resolvedTint = isOnDarkBg ? "white" : tint;
|
|
@@ -2013,14 +2046,14 @@ var StyledAnchor = styled10(Box3, {
|
|
|
2013
2046
|
});
|
|
2014
2047
|
|
|
2015
2048
|
// src/components/Link/Link.tsx
|
|
2016
|
-
import { jsx as
|
|
2049
|
+
import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2017
2050
|
var Variant = {
|
|
2018
2051
|
standard: "standard",
|
|
2019
2052
|
external: "external",
|
|
2020
2053
|
file: "file"
|
|
2021
2054
|
};
|
|
2022
2055
|
function DocumentIcon() {
|
|
2023
|
-
return /* @__PURE__ */
|
|
2056
|
+
return /* @__PURE__ */ jsx15(SvgIcon5, { viewBox: "0 0 384 512", fontSize: "inherit", children: /* @__PURE__ */ jsx15(
|
|
2024
2057
|
"path",
|
|
2025
2058
|
{
|
|
2026
2059
|
fillRule: "evenodd",
|
|
@@ -2069,9 +2102,9 @@ var Link = React5.forwardRef(function Link2({
|
|
|
2069
2102
|
standalonelink: !!standalone,
|
|
2070
2103
|
ref,
|
|
2071
2104
|
children: [
|
|
2072
|
-
Icon && /* @__PURE__ */
|
|
2105
|
+
Icon && /* @__PURE__ */ jsx15(StyledIconSpan, { iconRight, children: /* @__PURE__ */ jsx15(Icon, { fontSize: "inherit" }) }),
|
|
2073
2106
|
children,
|
|
2074
|
-
variant === Variant.external && /* @__PURE__ */
|
|
2107
|
+
variant === Variant.external && /* @__PURE__ */ jsx15(StyledScreenReaderOnly, { children: ", opens in a new tab" })
|
|
2075
2108
|
]
|
|
2076
2109
|
}
|
|
2077
2110
|
);
|
|
@@ -2083,8 +2116,8 @@ import React6 from "react";
|
|
|
2083
2116
|
|
|
2084
2117
|
// src/components/LogoLink/LogoLink.styles.tsx
|
|
2085
2118
|
import Box4 from "@mui/material/Box";
|
|
2086
|
-
import { styled as
|
|
2087
|
-
var StyledLogoLink =
|
|
2119
|
+
import { styled as styled12 } from "@mui/material/styles";
|
|
2120
|
+
var StyledLogoLink = styled12(Box4, {
|
|
2088
2121
|
shouldForwardProp: (prop) => prop !== "isSmall"
|
|
2089
2122
|
})(({ theme, isSmall }) => ({
|
|
2090
2123
|
display: "inline-flex",
|
|
@@ -2101,7 +2134,7 @@ var StyledLogoLink = styled11(Box4, {
|
|
|
2101
2134
|
color: theme.tokens.colors.primaryDark
|
|
2102
2135
|
}
|
|
2103
2136
|
}));
|
|
2104
|
-
var StyledLogoSpan =
|
|
2137
|
+
var StyledLogoSpan = styled12("span")(({ theme }) => ({
|
|
2105
2138
|
padding: "0 10px 0 15px",
|
|
2106
2139
|
backgroundColor: theme.tokens.colors.primary,
|
|
2107
2140
|
height: "100%",
|
|
@@ -2119,9 +2152,9 @@ var StyledLogoSpan = styled11("span")(({ theme }) => ({
|
|
|
2119
2152
|
}));
|
|
2120
2153
|
|
|
2121
2154
|
// src/components/LogoLink/LogoLink.tsx
|
|
2122
|
-
import { jsx as
|
|
2155
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
2123
2156
|
var LogoLink = React6.forwardRef(function LogoLink2({ children, href = "/", isSmall, title = "Home", component, ...restProps }, ref) {
|
|
2124
|
-
return /* @__PURE__ */
|
|
2157
|
+
return /* @__PURE__ */ jsx16(
|
|
2125
2158
|
StyledLogoLink,
|
|
2126
2159
|
{
|
|
2127
2160
|
component: component ?? "a",
|
|
@@ -2131,7 +2164,7 @@ var LogoLink = React6.forwardRef(function LogoLink2({ children, href = "/", isSm
|
|
|
2131
2164
|
"data-component-id": "LogoLink",
|
|
2132
2165
|
...getCleanProps(restProps),
|
|
2133
2166
|
ref,
|
|
2134
|
-
children: /* @__PURE__ */
|
|
2167
|
+
children: /* @__PURE__ */ jsx16(StyledLogoSpan, { children })
|
|
2135
2168
|
}
|
|
2136
2169
|
);
|
|
2137
2170
|
});
|
|
@@ -2269,8 +2302,8 @@ var SELECT_ALL_OPTION = {
|
|
|
2269
2302
|
};
|
|
2270
2303
|
|
|
2271
2304
|
// src/components/MultiSelect/MultiSelect.styles.tsx
|
|
2272
|
-
import { styled as
|
|
2273
|
-
var StyledMultiSelectContainer =
|
|
2305
|
+
import { styled as styled13, alpha as alpha3 } from "@mui/material/styles";
|
|
2306
|
+
var StyledMultiSelectContainer = styled13("div")(({ theme }) => ({
|
|
2274
2307
|
display: "inline-block",
|
|
2275
2308
|
position: "relative",
|
|
2276
2309
|
width: "100%",
|
|
@@ -2279,7 +2312,7 @@ var StyledMultiSelectContainer = styled12("div")(({ theme }) => ({
|
|
|
2279
2312
|
borderRadius: theme.tokens.borderRadius.md,
|
|
2280
2313
|
fontFamily: theme.tokens.typography.fontFamilyBase
|
|
2281
2314
|
}));
|
|
2282
|
-
var StyledSelectionContainerOutline =
|
|
2315
|
+
var StyledSelectionContainerOutline = styled13("div")(
|
|
2283
2316
|
({ theme, isError }) => ({
|
|
2284
2317
|
border: `1px solid ${isError ? theme.tokens.colors.error : theme.tokens.colors.border}`,
|
|
2285
2318
|
borderRadius: theme.tokens.borderRadius.md,
|
|
@@ -2292,7 +2325,7 @@ var StyledSelectionContainerOutline = styled12("div")(
|
|
|
2292
2325
|
zIndex: 0
|
|
2293
2326
|
})
|
|
2294
2327
|
);
|
|
2295
|
-
var StyledSelectionContainer =
|
|
2328
|
+
var StyledSelectionContainer = styled13("button")(
|
|
2296
2329
|
({ theme, isError }) => ({
|
|
2297
2330
|
display: "inline-flex",
|
|
2298
2331
|
backgroundColor: theme.palette.background.paper,
|
|
@@ -2329,7 +2362,7 @@ var StyledSelectionContainer = styled12("button")(
|
|
|
2329
2362
|
}
|
|
2330
2363
|
})
|
|
2331
2364
|
);
|
|
2332
|
-
var StyledSelectPlaceholder =
|
|
2365
|
+
var StyledSelectPlaceholder = styled13("span")(({ theme }) => ({
|
|
2333
2366
|
fontSize: theme.tokens.typography.fontSizeLg,
|
|
2334
2367
|
display: "inline-block",
|
|
2335
2368
|
flexGrow: 1,
|
|
@@ -2337,13 +2370,13 @@ var StyledSelectPlaceholder = styled12("span")(({ theme }) => ({
|
|
|
2337
2370
|
border: "none",
|
|
2338
2371
|
outline: "none"
|
|
2339
2372
|
}));
|
|
2340
|
-
var StyledPopperInner =
|
|
2373
|
+
var StyledPopperInner = styled13("div")(({ theme }) => ({
|
|
2341
2374
|
width: "100%",
|
|
2342
2375
|
overflow: "hidden",
|
|
2343
2376
|
boxSizing: "border-box",
|
|
2344
2377
|
zIndex: theme.zIndex.tooltip
|
|
2345
2378
|
}));
|
|
2346
|
-
var StyledTransitionContainer =
|
|
2379
|
+
var StyledTransitionContainer = styled13("ul")(({ theme }) => ({
|
|
2347
2380
|
"&:focus": {
|
|
2348
2381
|
outline: "1px solid transparent"
|
|
2349
2382
|
},
|
|
@@ -2361,7 +2394,7 @@ var StyledTransitionContainer = styled12("ul")(({ theme }) => ({
|
|
|
2361
2394
|
overflowY: "auto",
|
|
2362
2395
|
backgroundColor: theme.palette.background.paper
|
|
2363
2396
|
}));
|
|
2364
|
-
var StyledDropdownArrow =
|
|
2397
|
+
var StyledDropdownArrow = styled13("div")(() => ({
|
|
2365
2398
|
height: "24px",
|
|
2366
2399
|
width: "24px",
|
|
2367
2400
|
"& > svg": {
|
|
@@ -2370,7 +2403,7 @@ var StyledDropdownArrow = styled12("div")(() => ({
|
|
|
2370
2403
|
}));
|
|
2371
2404
|
|
|
2372
2405
|
// src/components/MultiSelect/MultiSelect.tsx
|
|
2373
|
-
import { jsx as
|
|
2406
|
+
import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2374
2407
|
var MultiSelect = ({
|
|
2375
2408
|
options: initialOptions,
|
|
2376
2409
|
placeholder,
|
|
@@ -2677,8 +2710,8 @@ var MultiSelect = ({
|
|
|
2677
2710
|
"data-multi-select-trigger": true,
|
|
2678
2711
|
"aria-haspopup": "tree",
|
|
2679
2712
|
children: [
|
|
2680
|
-
/* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2713
|
+
/* @__PURE__ */ jsx17(StyledSelectPlaceholder, { id: `${inputId}-selectPlaceholder`, children: placeholderLabel }),
|
|
2714
|
+
/* @__PURE__ */ jsx17(StyledDropdownArrow, { children: /* @__PURE__ */ jsx17(
|
|
2682
2715
|
KeyboardArrowDownIcon,
|
|
2683
2716
|
{
|
|
2684
2717
|
sx: {
|
|
@@ -2687,11 +2720,11 @@ var MultiSelect = ({
|
|
|
2687
2720
|
}
|
|
2688
2721
|
}
|
|
2689
2722
|
) }),
|
|
2690
|
-
/* @__PURE__ */
|
|
2723
|
+
/* @__PURE__ */ jsx17("input", { name: inputId, type: "hidden", required, "aria-required": required })
|
|
2691
2724
|
]
|
|
2692
2725
|
}
|
|
2693
2726
|
),
|
|
2694
|
-
/* @__PURE__ */
|
|
2727
|
+
/* @__PURE__ */ jsx17(
|
|
2695
2728
|
StyledSelectionContainerOutline,
|
|
2696
2729
|
{
|
|
2697
2730
|
"data-lose-focus": currentOptionIndex > -1,
|
|
@@ -2700,7 +2733,7 @@ var MultiSelect = ({
|
|
|
2700
2733
|
}
|
|
2701
2734
|
)
|
|
2702
2735
|
] }),
|
|
2703
|
-
/* @__PURE__ */
|
|
2736
|
+
/* @__PURE__ */ jsx17(
|
|
2704
2737
|
Popper,
|
|
2705
2738
|
{
|
|
2706
2739
|
open,
|
|
@@ -2712,7 +2745,7 @@ var MultiSelect = ({
|
|
|
2712
2745
|
{ name: "preventOverflow", enabled: true },
|
|
2713
2746
|
{ name: "flip", options: { fallbackPlacements: ["bottom", "top", "bottom"] } }
|
|
2714
2747
|
],
|
|
2715
|
-
children: /* @__PURE__ */
|
|
2748
|
+
children: /* @__PURE__ */ jsx17(StyledPopperInner, { children: /* @__PURE__ */ jsx17(Collapse, { in: open, timeout: TRANSITION_TIMEOUT, children: /* @__PURE__ */ jsxs7(
|
|
2716
2749
|
StyledTransitionContainer,
|
|
2717
2750
|
{
|
|
2718
2751
|
role: "tree",
|
|
@@ -2747,7 +2780,7 @@ MultiSelect.displayName = "ToolkitMultiSelect";
|
|
|
2747
2780
|
import { useRef as useRef2, useCallback as useCallback4 } from "react";
|
|
2748
2781
|
import Box5 from "@mui/material/Box";
|
|
2749
2782
|
import OutlinedInput from "@mui/material/OutlinedInput";
|
|
2750
|
-
import { jsx as
|
|
2783
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
2751
2784
|
var OTP_LENGTH = 6;
|
|
2752
2785
|
var OtpInput = ({ value, onChange, error, disabled }) => {
|
|
2753
2786
|
const inputRefs = useRef2([]);
|
|
@@ -2780,7 +2813,7 @@ var OtpInput = ({ value, onChange, error, disabled }) => {
|
|
|
2780
2813
|
},
|
|
2781
2814
|
[onChange]
|
|
2782
2815
|
);
|
|
2783
|
-
return /* @__PURE__ */
|
|
2816
|
+
return /* @__PURE__ */ jsx18(Box5, { sx: { display: "flex", gap: 1.5, justifyContent: "space-between", mb: 2.5 }, children: digits.map((digit, i) => /* @__PURE__ */ jsx18(
|
|
2784
2817
|
OutlinedInput,
|
|
2785
2818
|
{
|
|
2786
2819
|
inputRef: (el) => {
|
|
@@ -2967,13 +3000,13 @@ function setA11yMessage(messageText, messageTone, messageRole, clearAfter = 5e3)
|
|
|
2967
3000
|
}
|
|
2968
3001
|
|
|
2969
3002
|
// src/components/PageSpinner/PageSpinner.styles.tsx
|
|
2970
|
-
import { styled as
|
|
3003
|
+
import { styled as styled14 } from "@mui/material/styles";
|
|
2971
3004
|
import { alpha as alpha4 } from "@mui/material/styles";
|
|
2972
3005
|
var PAGE_SPINNER_Z_INDEX = 1400;
|
|
2973
|
-
var StyledPageSpinnerRoot =
|
|
3006
|
+
var StyledPageSpinnerRoot = styled14("div")(() => ({
|
|
2974
3007
|
position: "relative"
|
|
2975
3008
|
}));
|
|
2976
|
-
var StyledOverlay =
|
|
3009
|
+
var StyledOverlay = styled14("div", {
|
|
2977
3010
|
shouldForwardProp: (prop) => prop !== "$darkBg"
|
|
2978
3011
|
})(({ theme, $darkBg = false }) => ({
|
|
2979
3012
|
position: "fixed",
|
|
@@ -2981,7 +3014,7 @@ var StyledOverlay = styled13("div", {
|
|
|
2981
3014
|
zIndex: PAGE_SPINNER_Z_INDEX,
|
|
2982
3015
|
backgroundColor: $darkBg ? alpha4(theme.tokens.colors.textPrimary, 0.9) : alpha4(theme.palette.common.white, 0.9)
|
|
2983
3016
|
}));
|
|
2984
|
-
var StyledSpinnerCentre =
|
|
3017
|
+
var StyledSpinnerCentre = styled14("div")(() => ({
|
|
2985
3018
|
position: "fixed",
|
|
2986
3019
|
top: "50%",
|
|
2987
3020
|
left: "50%",
|
|
@@ -2992,7 +3025,7 @@ var StyledSpinnerCentre = styled13("div")(() => ({
|
|
|
2992
3025
|
alignItems: "center",
|
|
2993
3026
|
gap: "16px"
|
|
2994
3027
|
}));
|
|
2995
|
-
var StyledSpinnerMessage =
|
|
3028
|
+
var StyledSpinnerMessage = styled14("p", {
|
|
2996
3029
|
shouldForwardProp: (prop) => prop !== "$darkBg"
|
|
2997
3030
|
})(({ theme, $darkBg = false }) => ({
|
|
2998
3031
|
margin: 0,
|
|
@@ -3003,7 +3036,7 @@ var StyledSpinnerMessage = styled13("p", {
|
|
|
3003
3036
|
color: $darkBg ? theme.palette.common.white : theme.tokens.colors.textPrimary,
|
|
3004
3037
|
textAlign: "center"
|
|
3005
3038
|
}));
|
|
3006
|
-
var StyledScreenReaderOnly2 =
|
|
3039
|
+
var StyledScreenReaderOnly2 = styled14("span")(() => ({
|
|
3007
3040
|
position: "absolute",
|
|
3008
3041
|
width: "1px",
|
|
3009
3042
|
height: "1px",
|
|
@@ -3016,7 +3049,7 @@ var StyledScreenReaderOnly2 = styled13("span")(() => ({
|
|
|
3016
3049
|
}));
|
|
3017
3050
|
|
|
3018
3051
|
// src/components/PageSpinner/PageSpinner.tsx
|
|
3019
|
-
import { jsx as
|
|
3052
|
+
import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3020
3053
|
var ARIA_REANNOUNCE_INTERVAL = 3e4;
|
|
3021
3054
|
var PageSpinner = React8.forwardRef(
|
|
3022
3055
|
function PageSpinner2({
|
|
@@ -3050,7 +3083,7 @@ var PageSpinner = React8.forwardRef(
|
|
|
3050
3083
|
backgroundScrollTether(false);
|
|
3051
3084
|
};
|
|
3052
3085
|
}, [message, rootNode, messageTone]);
|
|
3053
|
-
return /* @__PURE__ */
|
|
3086
|
+
return /* @__PURE__ */ jsx19(Portal, { container: rootNode, children: /* @__PURE__ */ jsxs8(
|
|
3054
3087
|
StyledPageSpinnerRoot,
|
|
3055
3088
|
{
|
|
3056
3089
|
"data-component-id": "PageSpinner",
|
|
@@ -3058,9 +3091,9 @@ var PageSpinner = React8.forwardRef(
|
|
|
3058
3091
|
ref: mergedRef,
|
|
3059
3092
|
...getCleanProps(restProps),
|
|
3060
3093
|
children: [
|
|
3061
|
-
/* @__PURE__ */
|
|
3094
|
+
/* @__PURE__ */ jsx19(StyledOverlay, { $darkBg: isOnDarkBg }),
|
|
3062
3095
|
/* @__PURE__ */ jsxs8(StyledSpinnerCentre, { children: [
|
|
3063
|
-
/* @__PURE__ */
|
|
3096
|
+
/* @__PURE__ */ jsx19(
|
|
3064
3097
|
CircularProgress3,
|
|
3065
3098
|
{
|
|
3066
3099
|
size: 60,
|
|
@@ -3068,8 +3101,8 @@ var PageSpinner = React8.forwardRef(
|
|
|
3068
3101
|
"aria-hidden": "true"
|
|
3069
3102
|
}
|
|
3070
3103
|
),
|
|
3071
|
-
customMessageLayout ?? /* @__PURE__ */
|
|
3072
|
-
srText && /* @__PURE__ */
|
|
3104
|
+
customMessageLayout ?? /* @__PURE__ */ jsx19(StyledSpinnerMessage, { $darkBg: isOnDarkBg, children: message }),
|
|
3105
|
+
srText && /* @__PURE__ */ jsx19(StyledScreenReaderOnly2, { children: srText })
|
|
3073
3106
|
] })
|
|
3074
3107
|
]
|
|
3075
3108
|
}
|
|
@@ -3083,7 +3116,7 @@ import React9 from "react";
|
|
|
3083
3116
|
import MuiPagination from "@mui/material/Pagination";
|
|
3084
3117
|
|
|
3085
3118
|
// src/components/Pagination/Pagination.styles.tsx
|
|
3086
|
-
import { styled as
|
|
3119
|
+
import { styled as styled15, alpha as alpha5 } from "@mui/material/styles";
|
|
3087
3120
|
import MuiPaginationItem from "@mui/material/PaginationItem";
|
|
3088
3121
|
function getColorValue(theme, color) {
|
|
3089
3122
|
switch (color) {
|
|
@@ -3103,7 +3136,7 @@ function getColorValue(theme, color) {
|
|
|
3103
3136
|
return theme.tokens.colors.textPrimary;
|
|
3104
3137
|
}
|
|
3105
3138
|
}
|
|
3106
|
-
var StyledPaginationItem =
|
|
3139
|
+
var StyledPaginationItem = styled15(MuiPaginationItem, {
|
|
3107
3140
|
shouldForwardProp: (prop) => prop !== "$variant" && prop !== "$color"
|
|
3108
3141
|
})(({ theme, $variant, $color }) => {
|
|
3109
3142
|
const colorValue = getColorValue(theme, $color);
|
|
@@ -3146,15 +3179,15 @@ var StyledPaginationItem = styled14(MuiPaginationItem, {
|
|
|
3146
3179
|
});
|
|
3147
3180
|
|
|
3148
3181
|
// src/components/Pagination/Pagination.tsx
|
|
3149
|
-
import { jsx as
|
|
3182
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
3150
3183
|
var Pagination = React9.forwardRef(
|
|
3151
3184
|
function Pagination2({ variant = "text", shape = "circular", color = "default", ...restProps }, ref) {
|
|
3152
|
-
return /* @__PURE__ */
|
|
3185
|
+
return /* @__PURE__ */ jsx20(
|
|
3153
3186
|
MuiPagination,
|
|
3154
3187
|
{
|
|
3155
3188
|
ref,
|
|
3156
3189
|
"data-component-id": "Pagination",
|
|
3157
|
-
renderItem: (item) => /* @__PURE__ */
|
|
3190
|
+
renderItem: (item) => /* @__PURE__ */ jsx20(
|
|
3158
3191
|
StyledPaginationItem,
|
|
3159
3192
|
{
|
|
3160
3193
|
$variant: variant,
|
|
@@ -3174,8 +3207,8 @@ Pagination.displayName = "ToolkitPagination";
|
|
|
3174
3207
|
import React10 from "react";
|
|
3175
3208
|
|
|
3176
3209
|
// src/components/Paragraph/Paragraph.styles.tsx
|
|
3177
|
-
import { styled as
|
|
3178
|
-
var StyledParagraph =
|
|
3210
|
+
import { styled as styled16 } from "@mui/material/styles";
|
|
3211
|
+
var StyledParagraph = styled16("p", {
|
|
3179
3212
|
shouldForwardProp: (prop) => prop !== "$variant" && prop !== "$isOnDarkBg"
|
|
3180
3213
|
})(({ theme, $variant = "regular", $isOnDarkBg = false }) => ({
|
|
3181
3214
|
margin: 0,
|
|
@@ -3208,10 +3241,10 @@ var StyledParagraph = styled15("p", {
|
|
|
3208
3241
|
}));
|
|
3209
3242
|
|
|
3210
3243
|
// src/components/Paragraph/Paragraph.tsx
|
|
3211
|
-
import { jsx as
|
|
3244
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
3212
3245
|
var Paragraph = React10.forwardRef(
|
|
3213
3246
|
function Paragraph2({ children, variant = "regular", isOnDarkBg = false, ...restProps }, ref) {
|
|
3214
|
-
return /* @__PURE__ */
|
|
3247
|
+
return /* @__PURE__ */ jsx21(
|
|
3215
3248
|
StyledParagraph,
|
|
3216
3249
|
{
|
|
3217
3250
|
$variant: variant,
|
|
@@ -3234,8 +3267,8 @@ import CheckCircleIcon from "@mui/icons-material/CheckCircle";
|
|
|
3234
3267
|
import CancelIcon from "@mui/icons-material/Cancel";
|
|
3235
3268
|
|
|
3236
3269
|
// src/components/Password/PasswordRule.styles.tsx
|
|
3237
|
-
import { styled as
|
|
3238
|
-
var StyledPasswordRule =
|
|
3270
|
+
import { styled as styled17 } from "@mui/material/styles";
|
|
3271
|
+
var StyledPasswordRule = styled17("div")(({ theme }) => ({
|
|
3239
3272
|
display: "flex",
|
|
3240
3273
|
alignItems: "center",
|
|
3241
3274
|
gap: theme.tokens.spacing.xs,
|
|
@@ -3247,15 +3280,15 @@ var StyledPasswordRule = styled16("div")(({ theme }) => ({
|
|
|
3247
3280
|
color: theme.tokens.colors.error
|
|
3248
3281
|
}
|
|
3249
3282
|
}));
|
|
3250
|
-
var StyledPasswordRuleIcon =
|
|
3283
|
+
var StyledPasswordRuleIcon = styled17("span")({
|
|
3251
3284
|
display: "inline-flex",
|
|
3252
3285
|
alignItems: "center",
|
|
3253
3286
|
flexShrink: 0
|
|
3254
3287
|
});
|
|
3255
|
-
var StyledPasswordRuleText =
|
|
3288
|
+
var StyledPasswordRuleText = styled17("span")(({ theme }) => ({
|
|
3256
3289
|
fontSize: theme.tokens.typography.fontSizeSm
|
|
3257
3290
|
}));
|
|
3258
|
-
var StyledScreenReaderOnly3 =
|
|
3291
|
+
var StyledScreenReaderOnly3 = styled17("span")({
|
|
3259
3292
|
position: "absolute",
|
|
3260
3293
|
width: 1,
|
|
3261
3294
|
height: 1,
|
|
@@ -3268,24 +3301,24 @@ var StyledScreenReaderOnly3 = styled16("span")({
|
|
|
3268
3301
|
});
|
|
3269
3302
|
|
|
3270
3303
|
// src/components/Password/PasswordRule.tsx
|
|
3271
|
-
import { jsx as
|
|
3304
|
+
import { jsx as jsx22, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
3272
3305
|
var PasswordRule = ({ valid = false, rule = "", idx }) => /* @__PURE__ */ jsxs9(
|
|
3273
3306
|
StyledPasswordRule,
|
|
3274
3307
|
{
|
|
3275
3308
|
className: valid ? "PasswordRule--valid" : "PasswordRule--invalid",
|
|
3276
3309
|
"data-testid": `password-rule-${idx}`,
|
|
3277
3310
|
children: [
|
|
3278
|
-
/* @__PURE__ */
|
|
3279
|
-
/* @__PURE__ */
|
|
3280
|
-
/* @__PURE__ */
|
|
3311
|
+
/* @__PURE__ */ jsx22(StyledPasswordRuleIcon, { children: valid ? /* @__PURE__ */ jsx22(CheckCircleIcon, { fontSize: "small", "aria-hidden": "true" }) : /* @__PURE__ */ jsx22(CancelIcon, { fontSize: "small", "aria-hidden": "true" }) }),
|
|
3312
|
+
/* @__PURE__ */ jsx22(StyledPasswordRuleText, { children: rule }),
|
|
3313
|
+
/* @__PURE__ */ jsx22(StyledScreenReaderOnly3, { children: valid ? "supplied" : "not supplied" })
|
|
3281
3314
|
]
|
|
3282
3315
|
}
|
|
3283
3316
|
);
|
|
3284
3317
|
PasswordRule.displayName = "ToolkitPasswordRule";
|
|
3285
3318
|
|
|
3286
3319
|
// src/components/Password/PasswordCriteria.styles.tsx
|
|
3287
|
-
import { styled as
|
|
3288
|
-
var StyledPasswordCriteriaContainer =
|
|
3320
|
+
import { styled as styled18 } from "@mui/material/styles";
|
|
3321
|
+
var StyledPasswordCriteriaContainer = styled18("div")(
|
|
3289
3322
|
({ theme, $show }) => ({
|
|
3290
3323
|
display: $show ? "block" : "none",
|
|
3291
3324
|
position: "absolute",
|
|
@@ -3296,7 +3329,7 @@ var StyledPasswordCriteriaContainer = styled17("div")(
|
|
|
3296
3329
|
marginTop: theme.tokens.spacing.xs
|
|
3297
3330
|
})
|
|
3298
3331
|
);
|
|
3299
|
-
var StyledPasswordRuleTitle =
|
|
3332
|
+
var StyledPasswordRuleTitle = styled18("div")(({ theme }) => ({
|
|
3300
3333
|
color: theme.tokens.colors.textPrimary,
|
|
3301
3334
|
fontSize: theme.tokens.typography.fontSizeSm,
|
|
3302
3335
|
fontWeight: theme.tokens.typography.fontWeightMedium,
|
|
@@ -3306,7 +3339,7 @@ var StyledPasswordRuleTitle = styled17("div")(({ theme }) => ({
|
|
|
3306
3339
|
}));
|
|
3307
3340
|
|
|
3308
3341
|
// src/components/Password/PasswordCriteria.tsx
|
|
3309
|
-
import { jsx as
|
|
3342
|
+
import { jsx as jsx23, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3310
3343
|
var PasswordRules = [
|
|
3311
3344
|
{ key: "minLength", rule: "Minimum 8 characters" },
|
|
3312
3345
|
{ key: "lowercase", rule: "At least one lowercase letter" },
|
|
@@ -3323,7 +3356,7 @@ var passwordValidator = (value) => ({
|
|
|
3323
3356
|
});
|
|
3324
3357
|
var PasswordCriteria = ({ show = false, value = "", id = "passwordCriteria" }) => {
|
|
3325
3358
|
const validity = passwordValidator(value);
|
|
3326
|
-
return /* @__PURE__ */
|
|
3359
|
+
return /* @__PURE__ */ jsx23(
|
|
3327
3360
|
StyledPasswordCriteriaContainer,
|
|
3328
3361
|
{
|
|
3329
3362
|
$show: show,
|
|
@@ -3333,8 +3366,8 @@ var PasswordCriteria = ({ show = false, value = "", id = "passwordCriteria" }) =
|
|
|
3333
3366
|
role: "status",
|
|
3334
3367
|
"aria-live": "polite",
|
|
3335
3368
|
children: /* @__PURE__ */ jsxs10(Card, { compact: true, children: [
|
|
3336
|
-
/* @__PURE__ */
|
|
3337
|
-
PasswordRules.map((item, idx) => /* @__PURE__ */
|
|
3369
|
+
/* @__PURE__ */ jsx23(StyledPasswordRuleTitle, { children: "Password must contain:" }),
|
|
3370
|
+
PasswordRules.map((item, idx) => /* @__PURE__ */ jsx23(PasswordRule, { valid: validity[item.key], rule: item.rule, idx }, item.key))
|
|
3338
3371
|
] })
|
|
3339
3372
|
}
|
|
3340
3373
|
);
|
|
@@ -3342,17 +3375,17 @@ var PasswordCriteria = ({ show = false, value = "", id = "passwordCriteria" }) =
|
|
|
3342
3375
|
PasswordCriteria.displayName = "ToolkitPasswordCriteria";
|
|
3343
3376
|
|
|
3344
3377
|
// src/components/Password/Password.styles.tsx
|
|
3345
|
-
import { styled as
|
|
3346
|
-
var StyledPasswordRoot =
|
|
3378
|
+
import { styled as styled19 } from "@mui/material/styles";
|
|
3379
|
+
var StyledPasswordRoot = styled19("div")({
|
|
3347
3380
|
position: "relative"
|
|
3348
3381
|
});
|
|
3349
|
-
var StyledPasswordInputWrapper =
|
|
3382
|
+
var StyledPasswordInputWrapper = styled19("div")({
|
|
3350
3383
|
display: "flex",
|
|
3351
3384
|
position: "relative"
|
|
3352
3385
|
});
|
|
3353
3386
|
|
|
3354
3387
|
// src/components/Password/Password.tsx
|
|
3355
|
-
import { jsx as
|
|
3388
|
+
import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3356
3389
|
var Password = React11.forwardRef(
|
|
3357
3390
|
function Password2({
|
|
3358
3391
|
isInvalid,
|
|
@@ -3385,7 +3418,7 @@ var Password = React11.forwardRef(
|
|
|
3385
3418
|
const criteriaId = id ? `${id}-criteria` : "passwordCriteria";
|
|
3386
3419
|
const cleanRest = getCleanProps(rest);
|
|
3387
3420
|
return /* @__PURE__ */ jsxs11(StyledPasswordRoot, { className, ...cleanRest, children: [
|
|
3388
|
-
/* @__PURE__ */
|
|
3421
|
+
/* @__PURE__ */ jsx24(StyledPasswordInputWrapper, { children: /* @__PURE__ */ jsx24(
|
|
3389
3422
|
TextField,
|
|
3390
3423
|
{
|
|
3391
3424
|
ref,
|
|
@@ -3404,7 +3437,7 @@ var Password = React11.forwardRef(
|
|
|
3404
3437
|
onChange: handleChange
|
|
3405
3438
|
}
|
|
3406
3439
|
) }),
|
|
3407
|
-
/* @__PURE__ */
|
|
3440
|
+
/* @__PURE__ */ jsx24(PasswordCriteria, { show: showCriteria, value, id: criteriaId })
|
|
3408
3441
|
] });
|
|
3409
3442
|
}
|
|
3410
3443
|
);
|
|
@@ -3414,7 +3447,7 @@ Password.displayName = "ToolkitPassword";
|
|
|
3414
3447
|
import React12 from "react";
|
|
3415
3448
|
|
|
3416
3449
|
// src/components/Spinner/Spinner.styles.tsx
|
|
3417
|
-
import { styled as
|
|
3450
|
+
import { styled as styled20, alpha as alpha6 } from "@mui/material/styles";
|
|
3418
3451
|
var spinnerSizing = {
|
|
3419
3452
|
xs: 20,
|
|
3420
3453
|
sm: 24,
|
|
@@ -3422,7 +3455,7 @@ var spinnerSizing = {
|
|
|
3422
3455
|
lg: 56,
|
|
3423
3456
|
xl: 72
|
|
3424
3457
|
};
|
|
3425
|
-
var StyledSpinnerContainer =
|
|
3458
|
+
var StyledSpinnerContainer = styled20("div", {
|
|
3426
3459
|
shouldForwardProp: (prop) => prop !== "$inline"
|
|
3427
3460
|
})({}, ({ $inline }) => ({
|
|
3428
3461
|
flex: "0 1 100%",
|
|
@@ -3430,7 +3463,7 @@ var StyledSpinnerContainer = styled19("div", {
|
|
|
3430
3463
|
flexDirection: $inline ? "row" : "column",
|
|
3431
3464
|
alignItems: "center"
|
|
3432
3465
|
}));
|
|
3433
|
-
var StyledSpinnerIconContainer =
|
|
3466
|
+
var StyledSpinnerIconContainer = styled20("div", {
|
|
3434
3467
|
shouldForwardProp: (prop) => prop !== "$size" && prop !== "$darkBg"
|
|
3435
3468
|
})(({ $size }) => {
|
|
3436
3469
|
const size = spinnerSizing[$size];
|
|
@@ -3440,7 +3473,7 @@ var StyledSpinnerIconContainer = styled19("div", {
|
|
|
3440
3473
|
height: size
|
|
3441
3474
|
};
|
|
3442
3475
|
});
|
|
3443
|
-
var StyledSpinnerBackground =
|
|
3476
|
+
var StyledSpinnerBackground = styled20("div", {
|
|
3444
3477
|
shouldForwardProp: (prop) => prop !== "$size" && prop !== "$darkBg"
|
|
3445
3478
|
})(({ theme, $size, $darkBg }) => {
|
|
3446
3479
|
const size = spinnerSizing[$size];
|
|
@@ -3454,7 +3487,7 @@ var StyledSpinnerBackground = styled19("div", {
|
|
|
3454
3487
|
border: `${lineWidth}px solid ${borderColor}`
|
|
3455
3488
|
};
|
|
3456
3489
|
});
|
|
3457
|
-
var StyledSpinner =
|
|
3490
|
+
var StyledSpinner = styled20("div", {
|
|
3458
3491
|
shouldForwardProp: (prop) => prop !== "$size" && prop !== "$darkBg"
|
|
3459
3492
|
})(({ theme, $size, $darkBg }) => {
|
|
3460
3493
|
const size = spinnerSizing[$size];
|
|
@@ -3477,7 +3510,7 @@ var StyledSpinner = styled19("div", {
|
|
|
3477
3510
|
animation: `toolkit-spin ${animationSpeed} infinite linear`
|
|
3478
3511
|
};
|
|
3479
3512
|
});
|
|
3480
|
-
var StyledSpinnerMessage2 =
|
|
3513
|
+
var StyledSpinnerMessage2 = styled20("span", {
|
|
3481
3514
|
shouldForwardProp: (prop) => prop !== "$darkBg" && prop !== "$inline"
|
|
3482
3515
|
})(({ theme, $darkBg, $inline }) => ({
|
|
3483
3516
|
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
@@ -3486,7 +3519,7 @@ var StyledSpinnerMessage2 = styled19("span", {
|
|
|
3486
3519
|
marginTop: $inline ? 0 : theme.spacing(1),
|
|
3487
3520
|
marginLeft: $inline ? theme.spacing(1) : 0
|
|
3488
3521
|
}));
|
|
3489
|
-
var StyledScreenReaderOnly4 =
|
|
3522
|
+
var StyledScreenReaderOnly4 = styled20("span")({
|
|
3490
3523
|
position: "absolute",
|
|
3491
3524
|
width: 1,
|
|
3492
3525
|
height: 1,
|
|
@@ -3499,7 +3532,7 @@ var StyledScreenReaderOnly4 = styled19("span")({
|
|
|
3499
3532
|
});
|
|
3500
3533
|
|
|
3501
3534
|
// src/components/Spinner/Spinner.tsx
|
|
3502
|
-
import { jsx as
|
|
3535
|
+
import { jsx as jsx25, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
3503
3536
|
var Spinner = React12.forwardRef(
|
|
3504
3537
|
function Spinner2({ size = "sm", message, isOnDarkBg = false, srText, isInline = false, ...restProps }, ref) {
|
|
3505
3538
|
return /* @__PURE__ */ jsxs12(
|
|
@@ -3511,11 +3544,11 @@ var Spinner = React12.forwardRef(
|
|
|
3511
3544
|
...getCleanProps(restProps),
|
|
3512
3545
|
children: [
|
|
3513
3546
|
/* @__PURE__ */ jsxs12(StyledSpinnerIconContainer, { $size: size, "aria-hidden": "true", children: [
|
|
3514
|
-
/* @__PURE__ */
|
|
3515
|
-
/* @__PURE__ */
|
|
3547
|
+
/* @__PURE__ */ jsx25(StyledSpinnerBackground, { $size: size, $darkBg: isOnDarkBg, "aria-hidden": "true" }),
|
|
3548
|
+
/* @__PURE__ */ jsx25(StyledSpinner, { $size: size, $darkBg: isOnDarkBg, "aria-hidden": "true" })
|
|
3516
3549
|
] }),
|
|
3517
|
-
message && /* @__PURE__ */
|
|
3518
|
-
srText && /* @__PURE__ */
|
|
3550
|
+
message && /* @__PURE__ */ jsx25(StyledSpinnerMessage2, { $darkBg: isOnDarkBg, $inline: isInline, children: message }),
|
|
3551
|
+
srText && /* @__PURE__ */ jsx25(StyledScreenReaderOnly4, { children: srText })
|
|
3519
3552
|
]
|
|
3520
3553
|
}
|
|
3521
3554
|
);
|
|
@@ -3527,14 +3560,14 @@ Spinner.displayName = "ToolkitSpinner";
|
|
|
3527
3560
|
import FormHelperText from "@mui/material/FormHelperText";
|
|
3528
3561
|
|
|
3529
3562
|
// src/components/Toggle/Toggle.styles.tsx
|
|
3530
|
-
import { styled as
|
|
3531
|
-
var StyledFieldset =
|
|
3563
|
+
import { styled as styled21 } from "@mui/material/styles";
|
|
3564
|
+
var StyledFieldset = styled21("fieldset")(({ theme }) => ({
|
|
3532
3565
|
border: "none",
|
|
3533
3566
|
margin: 0,
|
|
3534
3567
|
padding: 0,
|
|
3535
3568
|
minWidth: 0
|
|
3536
3569
|
}));
|
|
3537
|
-
var StyledLegend =
|
|
3570
|
+
var StyledLegend = styled21("legend")(({ theme }) => ({
|
|
3538
3571
|
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
3539
3572
|
fontSize: theme.tokens.typography.fontSizeLg,
|
|
3540
3573
|
fontWeight: theme.tokens.typography.fontWeightRegular,
|
|
@@ -3542,7 +3575,7 @@ var StyledLegend = styled20("legend")(({ theme }) => ({
|
|
|
3542
3575
|
marginBottom: theme.spacing(1),
|
|
3543
3576
|
padding: 0
|
|
3544
3577
|
}));
|
|
3545
|
-
var StyledToggleWrapper =
|
|
3578
|
+
var StyledToggleWrapper = styled21("div")(({ theme }) => ({
|
|
3546
3579
|
display: "flex",
|
|
3547
3580
|
flexDirection: "row",
|
|
3548
3581
|
width: theme.spacing(15),
|
|
@@ -3551,7 +3584,7 @@ var StyledToggleWrapper = styled20("div")(({ theme }) => ({
|
|
|
3551
3584
|
border: `1px solid ${theme.tokens.colors.border}`,
|
|
3552
3585
|
borderRadius: theme.tokens.borderRadius.md
|
|
3553
3586
|
}));
|
|
3554
|
-
var StyledSwitch =
|
|
3587
|
+
var StyledSwitch = styled21("label", {
|
|
3555
3588
|
shouldForwardProp: (prop) => prop !== "selected" && prop !== "controlType"
|
|
3556
3589
|
})(({ theme, selected, controlType }) => ({
|
|
3557
3590
|
position: "relative",
|
|
@@ -3641,7 +3674,7 @@ var StyledSwitch = styled20("label", {
|
|
|
3641
3674
|
}));
|
|
3642
3675
|
|
|
3643
3676
|
// src/components/Toggle/Toggle.tsx
|
|
3644
|
-
import { jsx as
|
|
3677
|
+
import { jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
3645
3678
|
function Toggle({
|
|
3646
3679
|
name,
|
|
3647
3680
|
checked = false,
|
|
@@ -3654,8 +3687,8 @@ function Toggle({
|
|
|
3654
3687
|
}) {
|
|
3655
3688
|
const testId = restProps["data-testid"];
|
|
3656
3689
|
return /* @__PURE__ */ jsxs13(StyledFieldset, { "data-component-id": "toggle", ...getCleanProps(restProps), children: [
|
|
3657
|
-
label && /* @__PURE__ */
|
|
3658
|
-
description && /* @__PURE__ */
|
|
3690
|
+
label && /* @__PURE__ */ jsx26(StyledLegend, { children: label }),
|
|
3691
|
+
description && /* @__PURE__ */ jsx26(FormHelperText, { children: description }),
|
|
3659
3692
|
/* @__PURE__ */ jsxs13(StyledToggleWrapper, { children: [
|
|
3660
3693
|
/* @__PURE__ */ jsxs13(
|
|
3661
3694
|
StyledSwitch,
|
|
@@ -3665,7 +3698,7 @@ function Toggle({
|
|
|
3665
3698
|
controlType: "off",
|
|
3666
3699
|
"data-testid": testId ? `${testId}-off` : void 0,
|
|
3667
3700
|
children: [
|
|
3668
|
-
/* @__PURE__ */
|
|
3701
|
+
/* @__PURE__ */ jsx26(
|
|
3669
3702
|
"input",
|
|
3670
3703
|
{
|
|
3671
3704
|
checked: !checked,
|
|
@@ -3689,7 +3722,7 @@ function Toggle({
|
|
|
3689
3722
|
controlType: "on",
|
|
3690
3723
|
"data-testid": testId ? `${testId}-on` : void 0,
|
|
3691
3724
|
children: [
|
|
3692
|
-
/* @__PURE__ */
|
|
3725
|
+
/* @__PURE__ */ jsx26(
|
|
3693
3726
|
"input",
|
|
3694
3727
|
{
|
|
3695
3728
|
checked,
|
|
@@ -3706,7 +3739,7 @@ function Toggle({
|
|
|
3706
3739
|
}
|
|
3707
3740
|
)
|
|
3708
3741
|
] }),
|
|
3709
|
-
error && /* @__PURE__ */
|
|
3742
|
+
error && /* @__PURE__ */ jsx26(FormHelperText, { error: true, children: error })
|
|
3710
3743
|
] });
|
|
3711
3744
|
}
|
|
3712
3745
|
Toggle.displayName = "ToolkitToggle";
|
|
@@ -3722,37 +3755,37 @@ import {
|
|
|
3722
3755
|
TablePagination as MuiTablePagination,
|
|
3723
3756
|
TableSortLabel as MuiTableSortLabel
|
|
3724
3757
|
} from "@mui/material";
|
|
3725
|
-
import { styled as
|
|
3726
|
-
import { jsx as
|
|
3727
|
-
var StyledTableContainer =
|
|
3758
|
+
import { styled as styled22 } from "@mui/material/styles";
|
|
3759
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
3760
|
+
var StyledTableContainer = styled22(MuiTableContainer)(() => ({
|
|
3728
3761
|
overflowX: "auto"
|
|
3729
3762
|
}));
|
|
3730
|
-
var StyledHeadCell =
|
|
3763
|
+
var StyledHeadCell = styled22(MuiTableCell)(({ theme }) => ({
|
|
3731
3764
|
fontWeight: theme.tokens.components.table.headerFontWeight,
|
|
3732
3765
|
backgroundColor: theme.tokens.components.table.headerBackground,
|
|
3733
3766
|
borderBottomWidth: theme.tokens.components.table.borderWidth,
|
|
3734
3767
|
borderBottomColor: theme.tokens.components.table.borderColor
|
|
3735
3768
|
}));
|
|
3736
3769
|
function Table(props) {
|
|
3737
|
-
return /* @__PURE__ */
|
|
3770
|
+
return /* @__PURE__ */ jsx27(MuiTable, { ...props });
|
|
3738
3771
|
}
|
|
3739
3772
|
function TableHead(props) {
|
|
3740
|
-
return /* @__PURE__ */
|
|
3773
|
+
return /* @__PURE__ */ jsx27(MuiTableHead, { ...props });
|
|
3741
3774
|
}
|
|
3742
3775
|
function TableBody(props) {
|
|
3743
|
-
return /* @__PURE__ */
|
|
3776
|
+
return /* @__PURE__ */ jsx27(MuiTableBody, { ...props });
|
|
3744
3777
|
}
|
|
3745
3778
|
function TableRow(props) {
|
|
3746
|
-
return /* @__PURE__ */
|
|
3779
|
+
return /* @__PURE__ */ jsx27(MuiTableRow, { ...props });
|
|
3747
3780
|
}
|
|
3748
3781
|
function TableCell(props) {
|
|
3749
|
-
return /* @__PURE__ */
|
|
3782
|
+
return /* @__PURE__ */ jsx27(MuiTableCell, { ...props });
|
|
3750
3783
|
}
|
|
3751
3784
|
function TableHeadCell(props) {
|
|
3752
|
-
return /* @__PURE__ */
|
|
3785
|
+
return /* @__PURE__ */ jsx27(StyledHeadCell, { component: "th", scope: "col", ...props });
|
|
3753
3786
|
}
|
|
3754
3787
|
function TableContainer(props) {
|
|
3755
|
-
return /* @__PURE__ */
|
|
3788
|
+
return /* @__PURE__ */ jsx27(StyledTableContainer, { ...props });
|
|
3756
3789
|
}
|
|
3757
3790
|
var TablePagination = MuiTablePagination;
|
|
3758
3791
|
var TableSortLabel = MuiTableSortLabel;
|
|
@@ -3767,10 +3800,10 @@ TableContainer.displayName = "ToolkitTableContainer";
|
|
|
3767
3800
|
// src/foundation/H1/H1.tsx
|
|
3768
3801
|
import React13 from "react";
|
|
3769
3802
|
import { Typography } from "@mui/material";
|
|
3770
|
-
import { jsx as
|
|
3803
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
3771
3804
|
var H1 = React13.forwardRef(
|
|
3772
3805
|
function H12({ color = "text.primary", children, ...props }, ref) {
|
|
3773
|
-
return /* @__PURE__ */
|
|
3806
|
+
return /* @__PURE__ */ jsx28(Typography, { ref, variant: "h1", color, ...props, children });
|
|
3774
3807
|
}
|
|
3775
3808
|
);
|
|
3776
3809
|
H1.displayName = "ToolkitH1";
|
|
@@ -3778,10 +3811,10 @@ H1.displayName = "ToolkitH1";
|
|
|
3778
3811
|
// src/foundation/H2/H2.tsx
|
|
3779
3812
|
import React14 from "react";
|
|
3780
3813
|
import { Typography as Typography2 } from "@mui/material";
|
|
3781
|
-
import { jsx as
|
|
3814
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
3782
3815
|
var H2 = React14.forwardRef(
|
|
3783
3816
|
function H22({ color = "text.primary", children, ...props }, ref) {
|
|
3784
|
-
return /* @__PURE__ */
|
|
3817
|
+
return /* @__PURE__ */ jsx29(Typography2, { ref, variant: "h2", color, ...props, children });
|
|
3785
3818
|
}
|
|
3786
3819
|
);
|
|
3787
3820
|
H2.displayName = "ToolkitH2";
|
|
@@ -3789,10 +3822,10 @@ H2.displayName = "ToolkitH2";
|
|
|
3789
3822
|
// src/foundation/H3/H3.tsx
|
|
3790
3823
|
import React15 from "react";
|
|
3791
3824
|
import { Typography as Typography3 } from "@mui/material";
|
|
3792
|
-
import { jsx as
|
|
3825
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
3793
3826
|
var H3 = React15.forwardRef(
|
|
3794
3827
|
function H32({ color = "text.primary", children, ...props }, ref) {
|
|
3795
|
-
return /* @__PURE__ */
|
|
3828
|
+
return /* @__PURE__ */ jsx30(Typography3, { ref, variant: "h3", color, ...props, children });
|
|
3796
3829
|
}
|
|
3797
3830
|
);
|
|
3798
3831
|
H3.displayName = "ToolkitH3";
|
|
@@ -3800,10 +3833,10 @@ H3.displayName = "ToolkitH3";
|
|
|
3800
3833
|
// src/foundation/H4/H4.tsx
|
|
3801
3834
|
import React16 from "react";
|
|
3802
3835
|
import { Typography as Typography4 } from "@mui/material";
|
|
3803
|
-
import { jsx as
|
|
3836
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
3804
3837
|
var H4 = React16.forwardRef(
|
|
3805
3838
|
function H42({ color = "text.primary", children, ...props }, ref) {
|
|
3806
|
-
return /* @__PURE__ */
|
|
3839
|
+
return /* @__PURE__ */ jsx31(Typography4, { ref, variant: "h4", color, ...props, children });
|
|
3807
3840
|
}
|
|
3808
3841
|
);
|
|
3809
3842
|
H4.displayName = "ToolkitH4";
|
|
@@ -3811,10 +3844,10 @@ H4.displayName = "ToolkitH4";
|
|
|
3811
3844
|
// src/foundation/H5/H5.tsx
|
|
3812
3845
|
import React17 from "react";
|
|
3813
3846
|
import { Typography as Typography5 } from "@mui/material";
|
|
3814
|
-
import { jsx as
|
|
3847
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
3815
3848
|
var H5 = React17.forwardRef(
|
|
3816
3849
|
function H52({ color = "text.primary", children, ...props }, ref) {
|
|
3817
|
-
return /* @__PURE__ */
|
|
3850
|
+
return /* @__PURE__ */ jsx32(Typography5, { ref, variant: "h5", color, ...props, children });
|
|
3818
3851
|
}
|
|
3819
3852
|
);
|
|
3820
3853
|
H5.displayName = "ToolkitH5";
|
|
@@ -3822,10 +3855,10 @@ H5.displayName = "ToolkitH5";
|
|
|
3822
3855
|
// src/foundation/H6/H6.tsx
|
|
3823
3856
|
import React18 from "react";
|
|
3824
3857
|
import { Typography as Typography6 } from "@mui/material";
|
|
3825
|
-
import { jsx as
|
|
3858
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3826
3859
|
var H6 = React18.forwardRef(
|
|
3827
3860
|
function H62({ color = "text.primary", children, ...props }, ref) {
|
|
3828
|
-
return /* @__PURE__ */
|
|
3861
|
+
return /* @__PURE__ */ jsx33(Typography6, { ref, variant: "h6", color, ...props, children });
|
|
3829
3862
|
}
|
|
3830
3863
|
);
|
|
3831
3864
|
H6.displayName = "ToolkitH6";
|
|
@@ -3833,10 +3866,10 @@ H6.displayName = "ToolkitH6";
|
|
|
3833
3866
|
// src/foundation/Subtitle1/Subtitle1.tsx
|
|
3834
3867
|
import React19 from "react";
|
|
3835
3868
|
import { Typography as Typography7 } from "@mui/material";
|
|
3836
|
-
import { jsx as
|
|
3869
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
3837
3870
|
var Subtitle1 = React19.forwardRef(
|
|
3838
3871
|
function Subtitle12({ color = "text.primary", children, ...props }, ref) {
|
|
3839
|
-
return /* @__PURE__ */
|
|
3872
|
+
return /* @__PURE__ */ jsx34(Typography7, { ref, variant: "subtitle1", color, ...props, children });
|
|
3840
3873
|
}
|
|
3841
3874
|
);
|
|
3842
3875
|
Subtitle1.displayName = "ToolkitSubtitle1";
|
|
@@ -3844,10 +3877,10 @@ Subtitle1.displayName = "ToolkitSubtitle1";
|
|
|
3844
3877
|
// src/foundation/Subtitle2/Subtitle2.tsx
|
|
3845
3878
|
import React20 from "react";
|
|
3846
3879
|
import { Typography as Typography8 } from "@mui/material";
|
|
3847
|
-
import { jsx as
|
|
3880
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
3848
3881
|
var Subtitle2 = React20.forwardRef(
|
|
3849
3882
|
function Subtitle22({ color = "text.primary", children, ...props }, ref) {
|
|
3850
|
-
return /* @__PURE__ */
|
|
3883
|
+
return /* @__PURE__ */ jsx35(Typography8, { ref, variant: "subtitle2", color, ...props, children });
|
|
3851
3884
|
}
|
|
3852
3885
|
);
|
|
3853
3886
|
Subtitle2.displayName = "ToolkitSubtitle2";
|
|
@@ -3855,10 +3888,10 @@ Subtitle2.displayName = "ToolkitSubtitle2";
|
|
|
3855
3888
|
// src/foundation/Body1/Body1.tsx
|
|
3856
3889
|
import React21 from "react";
|
|
3857
3890
|
import { Typography as Typography9 } from "@mui/material";
|
|
3858
|
-
import { jsx as
|
|
3891
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
3859
3892
|
var Body1 = React21.forwardRef(
|
|
3860
3893
|
function Body12({ color = "text.primary", children, ...props }, ref) {
|
|
3861
|
-
return /* @__PURE__ */
|
|
3894
|
+
return /* @__PURE__ */ jsx36(Typography9, { ref, variant: "body1", color, ...props, children });
|
|
3862
3895
|
}
|
|
3863
3896
|
);
|
|
3864
3897
|
Body1.displayName = "ToolkitBody1";
|
|
@@ -3866,10 +3899,10 @@ Body1.displayName = "ToolkitBody1";
|
|
|
3866
3899
|
// src/foundation/Body2/Body2.tsx
|
|
3867
3900
|
import React22 from "react";
|
|
3868
3901
|
import { Typography as Typography10 } from "@mui/material";
|
|
3869
|
-
import { jsx as
|
|
3902
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
3870
3903
|
var Body2 = React22.forwardRef(
|
|
3871
3904
|
function Body22({ color = "text.primary", children, ...props }, ref) {
|
|
3872
|
-
return /* @__PURE__ */
|
|
3905
|
+
return /* @__PURE__ */ jsx37(Typography10, { ref, variant: "body2", color, ...props, children });
|
|
3873
3906
|
}
|
|
3874
3907
|
);
|
|
3875
3908
|
Body2.displayName = "ToolkitBody2";
|
|
@@ -3877,10 +3910,10 @@ Body2.displayName = "ToolkitBody2";
|
|
|
3877
3910
|
// src/foundation/Caption/Caption.tsx
|
|
3878
3911
|
import React23 from "react";
|
|
3879
3912
|
import { Typography as Typography11 } from "@mui/material";
|
|
3880
|
-
import { jsx as
|
|
3913
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
3881
3914
|
var Caption = React23.forwardRef(
|
|
3882
3915
|
function Caption2({ color = "text.primary", children, ...props }, ref) {
|
|
3883
|
-
return /* @__PURE__ */
|
|
3916
|
+
return /* @__PURE__ */ jsx38(Typography11, { ref, variant: "caption", color, ...props, children });
|
|
3884
3917
|
}
|
|
3885
3918
|
);
|
|
3886
3919
|
Caption.displayName = "ToolkitCaption";
|
|
@@ -3888,10 +3921,10 @@ Caption.displayName = "ToolkitCaption";
|
|
|
3888
3921
|
// src/foundation/Overline/Overline.tsx
|
|
3889
3922
|
import React24 from "react";
|
|
3890
3923
|
import { Typography as Typography12 } from "@mui/material";
|
|
3891
|
-
import { jsx as
|
|
3924
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
3892
3925
|
var Overline = React24.forwardRef(
|
|
3893
3926
|
function Overline2({ color = "text.primary", children, ...props }, ref) {
|
|
3894
|
-
return /* @__PURE__ */
|
|
3927
|
+
return /* @__PURE__ */ jsx39(Typography12, { ref, variant: "overline", color, ...props, children });
|
|
3895
3928
|
}
|
|
3896
3929
|
);
|
|
3897
3930
|
Overline.displayName = "ToolkitOverline";
|
|
@@ -3899,10 +3932,10 @@ Overline.displayName = "ToolkitOverline";
|
|
|
3899
3932
|
// src/foundation/TypographyButton/TypographyButton.tsx
|
|
3900
3933
|
import React25 from "react";
|
|
3901
3934
|
import { Typography as Typography13 } from "@mui/material";
|
|
3902
|
-
import { jsx as
|
|
3935
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3903
3936
|
var TypographyButton = React25.forwardRef(
|
|
3904
3937
|
function TypographyButton2({ color = "text.primary", children, ...props }, ref) {
|
|
3905
|
-
return /* @__PURE__ */
|
|
3938
|
+
return /* @__PURE__ */ jsx40(Typography13, { ref, variant: "button", color, ...props, children });
|
|
3906
3939
|
}
|
|
3907
3940
|
);
|
|
3908
3941
|
TypographyButton.displayName = "ToolkitTypographyButton";
|