gov-layout 1.1.9 → 1.1.12

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.mjs CHANGED
@@ -1599,7 +1599,223 @@ function SettingsPanel({ className, showTheme = true }) {
1599
1599
  )) })
1600
1600
  ] });
1601
1601
  }
1602
+ var defaultProps = (size = 20) => ({
1603
+ width: size,
1604
+ height: size,
1605
+ viewBox: "0 0 24 24",
1606
+ fill: "none",
1607
+ stroke: "currentColor",
1608
+ strokeWidth: 2,
1609
+ strokeLinecap: "round",
1610
+ strokeLinejoin: "round"
1611
+ });
1612
+ function HomeIcon({ size = 20, className, style } = {}) {
1613
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1614
+ /* @__PURE__ */ jsx("path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }),
1615
+ /* @__PURE__ */ jsx("polyline", { points: "9 22 9 12 15 12 15 22" })
1616
+ ] });
1617
+ }
1618
+ function SearchIcon({ size = 20, className, style } = {}) {
1619
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1620
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
1621
+ /* @__PURE__ */ jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
1622
+ ] });
1623
+ }
1624
+ function BellIcon2({ size = 20, className, style } = {}) {
1625
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1626
+ /* @__PURE__ */ jsx("path", { d: "M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" }),
1627
+ /* @__PURE__ */ jsx("path", { d: "M13.73 21a2 2 0 0 1-3.46 0" })
1628
+ ] });
1629
+ }
1630
+ function FolderIcon({ size = 20, className, style } = {}) {
1631
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" }) });
1632
+ }
1633
+ function ClipboardIcon({ size = 20, className, style } = {}) {
1634
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1635
+ /* @__PURE__ */ jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }),
1636
+ /* @__PURE__ */ jsx("rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", ry: "1" })
1637
+ ] });
1638
+ }
1639
+ function FileTextIcon({ size = 20, className, style } = {}) {
1640
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1641
+ /* @__PURE__ */ jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
1642
+ /* @__PURE__ */ jsx("polyline", { points: "14 2 14 8 20 8" }),
1643
+ /* @__PURE__ */ jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
1644
+ /* @__PURE__ */ jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17" }),
1645
+ /* @__PURE__ */ jsx("polyline", { points: "10 9 9 9 8 9" })
1646
+ ] });
1647
+ }
1648
+ function CalendarIcon({ size = 20, className, style } = {}) {
1649
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1650
+ /* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
1651
+ /* @__PURE__ */ jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
1652
+ /* @__PURE__ */ jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
1653
+ /* @__PURE__ */ jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
1654
+ ] });
1655
+ }
1656
+ function UserIcon({ size = 20, className, style } = {}) {
1657
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1658
+ /* @__PURE__ */ jsx("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
1659
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "7", r: "4" })
1660
+ ] });
1661
+ }
1662
+ function UsersIcon({ size = 20, className, style } = {}) {
1663
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1664
+ /* @__PURE__ */ jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }),
1665
+ /* @__PURE__ */ jsx("circle", { cx: "9", cy: "7", r: "4" }),
1666
+ /* @__PURE__ */ jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }),
1667
+ /* @__PURE__ */ jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
1668
+ ] });
1669
+ }
1670
+ function GearIcon2({ size = 20, className, style } = {}) {
1671
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1672
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" }),
1673
+ /* @__PURE__ */ jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
1674
+ ] });
1675
+ }
1676
+ function WrenchIcon({ size = 20, className, style } = {}) {
1677
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" }) });
1678
+ }
1679
+ function ShieldIcon({ size = 20, className, style } = {}) {
1680
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }) });
1681
+ }
1682
+ function HelpCircleIcon2({ size = 20, className, style } = {}) {
1683
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1684
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
1685
+ /* @__PURE__ */ jsx("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
1686
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
1687
+ ] });
1688
+ }
1689
+ function BarChartIcon({ size = 20, className, style } = {}) {
1690
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1691
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "20", x2: "12", y2: "10" }),
1692
+ /* @__PURE__ */ jsx("line", { x1: "18", y1: "20", x2: "18", y2: "4" }),
1693
+ /* @__PURE__ */ jsx("line", { x1: "6", y1: "20", x2: "6", y2: "16" })
1694
+ ] });
1695
+ }
1696
+ function HistoryIcon({ size = 20, className, style } = {}) {
1697
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1698
+ /* @__PURE__ */ jsx("polyline", { points: "1 4 1 10 7 10" }),
1699
+ /* @__PURE__ */ jsx("path", { d: "M3.51 15a9 9 0 1 0 2.13-9.36L1 10" })
1700
+ ] });
1701
+ }
1702
+ function DatabaseIcon({ size = 20, className, style } = {}) {
1703
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1704
+ /* @__PURE__ */ jsx("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
1705
+ /* @__PURE__ */ jsx("path", { d: "M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" }),
1706
+ /* @__PURE__ */ jsx("path", { d: "M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" })
1707
+ ] });
1708
+ }
1709
+ function BuildingIcon({ size = 20, className, style } = {}) {
1710
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1711
+ /* @__PURE__ */ jsx("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2", ry: "2" }),
1712
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "22", x2: "9", y2: "18" }),
1713
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "22", x2: "15", y2: "18" }),
1714
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "6", x2: "9.01", y2: "6" }),
1715
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "6", x2: "15.01", y2: "6" }),
1716
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "10", x2: "9.01", y2: "10" }),
1717
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "10", x2: "15.01", y2: "10" }),
1718
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "14", x2: "9.01", y2: "14" }),
1719
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "14", x2: "15.01", y2: "14" })
1720
+ ] });
1721
+ }
1722
+ function MapPinIcon({ size = 20, className, style } = {}) {
1723
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1724
+ /* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }),
1725
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
1726
+ ] });
1727
+ }
1728
+ function PhoneIcon({ size = 20, className, style } = {}) {
1729
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z" }) });
1730
+ }
1731
+ function MailIcon({ size = 20, className, style } = {}) {
1732
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1733
+ /* @__PURE__ */ jsx("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1734
+ /* @__PURE__ */ jsx("polyline", { points: "22,6 12,13 2,6" })
1735
+ ] });
1736
+ }
1737
+ function CheckCircleIcon({ size = 20, className, style } = {}) {
1738
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1739
+ /* @__PURE__ */ jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
1740
+ /* @__PURE__ */ jsx("polyline", { points: "22 4 12 14.01 9 11.01" })
1741
+ ] });
1742
+ }
1743
+ function AlertTriangleIcon({ size = 20, className, style } = {}) {
1744
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1745
+ /* @__PURE__ */ jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }),
1746
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
1747
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
1748
+ ] });
1749
+ }
1750
+ function XCircleIcon({ size = 20, className, style } = {}) {
1751
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1752
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
1753
+ /* @__PURE__ */ jsx("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
1754
+ /* @__PURE__ */ jsx("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
1755
+ ] });
1756
+ }
1757
+ function PlusCircleIcon({ size = 20, className, style } = {}) {
1758
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1759
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
1760
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
1761
+ /* @__PURE__ */ jsx("line", { x1: "8", y1: "12", x2: "16", y2: "12" })
1762
+ ] });
1763
+ }
1764
+ function LogOutIcon({ size = 20, className, style } = {}) {
1765
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1766
+ /* @__PURE__ */ jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
1767
+ /* @__PURE__ */ jsx("polyline", { points: "16 17 21 12 16 7" }),
1768
+ /* @__PURE__ */ jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })
1769
+ ] });
1770
+ }
1771
+ function DownloadIcon({ size = 20, className, style } = {}) {
1772
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1773
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
1774
+ /* @__PURE__ */ jsx("polyline", { points: "7 10 12 15 17 10" }),
1775
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
1776
+ ] });
1777
+ }
1778
+ function UploadIcon({ size = 20, className, style } = {}) {
1779
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1780
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
1781
+ /* @__PURE__ */ jsx("polyline", { points: "17 8 12 3 7 8" }),
1782
+ /* @__PURE__ */ jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" })
1783
+ ] });
1784
+ }
1785
+ function PrinterIcon({ size = 20, className, style } = {}) {
1786
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1787
+ /* @__PURE__ */ jsx("polyline", { points: "6 9 6 2 18 2 18 9" }),
1788
+ /* @__PURE__ */ jsx("path", { d: "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }),
1789
+ /* @__PURE__ */ jsx("rect", { x: "6", y: "14", width: "12", height: "8" })
1790
+ ] });
1791
+ }
1792
+ function StarIcon({ size = 20, className, style } = {}) {
1793
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" }) });
1794
+ }
1795
+ function HeartIcon({ size = 20, className, style } = {}) {
1796
+ return /* @__PURE__ */ jsx("svg", { ...defaultProps(size), className, style, children: /* @__PURE__ */ jsx("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) });
1797
+ }
1798
+ function EyeIcon({ size = 20, className, style } = {}) {
1799
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1800
+ /* @__PURE__ */ jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
1801
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
1802
+ ] });
1803
+ }
1804
+ function EditIcon({ size = 20, className, style } = {}) {
1805
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1806
+ /* @__PURE__ */ jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
1807
+ /* @__PURE__ */ jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
1808
+ ] });
1809
+ }
1810
+ function TrashIcon({ size = 20, className, style } = {}) {
1811
+ return /* @__PURE__ */ jsxs("svg", { ...defaultProps(size), className, style, children: [
1812
+ /* @__PURE__ */ jsx("polyline", { points: "3 6 5 6 21 6" }),
1813
+ /* @__PURE__ */ jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }),
1814
+ /* @__PURE__ */ jsx("line", { x1: "10", y1: "11", x2: "10", y2: "17" }),
1815
+ /* @__PURE__ */ jsx("line", { x1: "14", y1: "11", x2: "14", y2: "17" })
1816
+ ] });
1817
+ }
1602
1818
 
1603
- export { FONT_SIZE_OPTIONS, FontSizeSettings, SettingsPanel, SettingsProvider, SidebarHeader, SidebarMenu, SidebarUserProfile, StaffSidebar, ThemeSettings, UserHeader, UserSidebar, useSettings };
1819
+ export { AlertTriangleIcon, BarChartIcon, BellIcon2 as BellIcon, BuildingIcon, CalendarIcon, CheckCircleIcon, ClipboardIcon, DatabaseIcon, DownloadIcon, EditIcon, EyeIcon, FONT_SIZE_OPTIONS, FileTextIcon, FolderIcon, FontSizeSettings, GearIcon2 as GearIcon, HeartIcon, HelpCircleIcon2 as HelpCircleIcon, HistoryIcon, HomeIcon, LogOutIcon, MailIcon, MapPinIcon, PhoneIcon, PlusCircleIcon, PrinterIcon, SearchIcon, SettingsPanel, SettingsProvider, ShieldIcon, SidebarHeader, SidebarMenu, SidebarUserProfile, StaffSidebar, StarIcon, ThemeSettings, TrashIcon, UploadIcon, UserHeader, UserIcon, UserSidebar, UsersIcon, WrenchIcon, XCircleIcon, useSettings };
1604
1820
  //# sourceMappingURL=index.mjs.map
1605
1821
  //# sourceMappingURL=index.mjs.map