@jirawatpyk/aura-react 4.14.0 → 4.16.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.
@@ -201,7 +201,7 @@ function tone(t) {
201
201
 
202
202
  // src/Icon.tsx
203
203
  var h = React2.createElement;
204
- var ICONS = { "check": [["path", { "d": "M20 6 9 17l-5-5" }]], "x": [["path", { "d": "M18 6 6 18" }], ["path", { "d": "m6 6 12 12" }]], "plus": [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]], "minus": [["path", { "d": "M5 12h14" }]], "search": [["path", { "d": "m21 21-4.34-4.34" }], ["circle", { "cx": "11", "cy": "11", "r": "8" }]], "chevron-down": [["path", { "d": "m6 9 6 6 6-6" }]], "chevron-up": [["path", { "d": "m18 15-6-6-6 6" }]], "chevron-left": [["path", { "d": "m15 18-6-6 6-6" }]], "chevron-right": [["path", { "d": "m9 18 6-6-6-6" }]], "arrow-right": [["path", { "d": "M5 12h14" }], ["path", { "d": "m12 5 7 7-7 7" }]], "arrow-up-right": [["path", { "d": "M7 7h10v10" }], ["path", { "d": "M7 17 17 7" }]], "arrow-up-down": [["path", { "d": "m21 16-4 4-4-4" }], ["path", { "d": "M17 20V4" }], ["path", { "d": "m3 8 4-4 4 4" }], ["path", { "d": "M7 4v16" }]], "loader-circle": [["path", { "d": "M21 12a9 9 0 1 1-6.219-8.56" }]], "circle-alert": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["line", { "x1": "12", "x2": "12", "y1": "8", "y2": "12" }], ["line", { "x1": "12", "x2": "12.01", "y1": "16", "y2": "16" }]], "circle-check": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "m16 9-5.5 5.5L8 12" }]], "info": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "M12 16v-4" }], ["path", { "d": "M12 8h.01" }]], "triangle-alert": [["path", { "d": "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }], ["path", { "d": "M12 9v4" }], ["path", { "d": "M12 17h.01" }]], "settings": [["path", { "d": "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }], ["circle", { "cx": "12", "cy": "12", "r": "3" }]], "user": [["path", { "d": "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }], ["circle", { "cx": "12", "cy": "7", "r": "4" }]], "users": [["path", { "d": "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }], ["path", { "d": "M16 3.128a4 4 0 0 1 0 7.744" }], ["path", { "d": "M22 21v-2a4 4 0 0 0-3-3.87" }], ["circle", { "cx": "9", "cy": "7", "r": "4" }]], "filter": [["path", { "d": "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z" }]], "ellipsis": [["circle", { "cx": "12", "cy": "12", "r": "1" }], ["circle", { "cx": "19", "cy": "12", "r": "1" }], ["circle", { "cx": "5", "cy": "12", "r": "1" }]], "external-link": [["path", { "d": "M15 3h6v6" }], ["path", { "d": "M10 14 21 3" }], ["path", { "d": "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }]], "copy": [["rect", { "width": "14", "height": "14", "x": "8", "y": "8", "rx": "2", "ry": "2" }], ["path", { "d": "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" }]], "trash-2": [["path", { "d": "M10 11v6" }], ["path", { "d": "M14 11v6" }], ["path", { "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }], ["path", { "d": "M3 6h18" }], ["path", { "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]], "pencil": [["path", { "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }], ["path", { "d": "m15 5 4 4" }]], "download": [["path", { "d": "M12 15V3" }], ["path", { "d": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }], ["path", { "d": "m7 10 5 5 5-5" }]], "upload": [["path", { "d": "M12 3v12" }], ["path", { "d": "m17 8-5-5-5 5" }], ["path", { "d": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }]], "calendar": [["path", { "d": "M8 2v3" }], ["path", { "d": "M16 2v3" }], ["rect", { "x": "3", "y": "3", "width": "18", "height": "18", "rx": "2" }], ["path", { "d": "M3 9h18" }]], "bell": [["path", { "d": "M10.268 21a2 2 0 0 0 3.464 0" }], ["path", { "d": "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" }]], "menu": [["path", { "d": "M4 5h16" }], ["path", { "d": "M4 12h16" }], ["path", { "d": "M4 19h16" }]], "eye": [["path", { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }], ["circle", { "cx": "12", "cy": "12", "r": "3" }]], "log-out": [["path", { "d": "m16 17 5-5-5-5" }], ["path", { "d": "M21 12H9" }], ["path", { "d": "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }]], "circle": [["circle", { "cx": "12", "cy": "12", "r": "10" }]], "circle-dot-dashed": [["path", { "d": "M10.1 2.18a9.93 9.93 0 0 1 3.8 0" }], ["path", { "d": "M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7" }], ["path", { "d": "M21.82 10.1a9.93 9.93 0 0 1 0 3.8" }], ["path", { "d": "M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69" }], ["path", { "d": "M13.9 21.82a9.94 9.94 0 0 1-3.8 0" }], ["path", { "d": "M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7" }], ["path", { "d": "M2.18 13.9a9.93 9.93 0 0 1 0-3.8" }], ["path", { "d": "M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69" }], ["circle", { "cx": "12", "cy": "12", "r": "1" }]], "ban": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "M4.929 4.929 19.07 19.071" }]], "arrow-up": [["path", { "d": "m5 12 7-7 7 7" }], ["path", { "d": "M12 19V5" }]], "arrow-down": [["path", { "d": "M12 5v14" }], ["path", { "d": "m19 12-7 7-7-7" }]], "inbox": [["polyline", { "points": "22 12 16 12 14 15 10 15 8 12 2 12" }], ["path", { "d": "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" }]], "pin": [["path", { "d": "M12 17v5" }], ["path", { "d": "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z" }]], "pin-off": [["path", { "d": "M12 17v5" }], ["path", { "d": "M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89" }], ["path", { "d": "m2 2 20 20" }], ["path", { "d": "M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11" }]], "eye-off": [["path", { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }], ["path", { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }], ["path", { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }], ["path", { "d": "m2 2 20 20" }]], "columns-3": [["rect", { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }], ["path", { "d": "M9 3v18" }], ["path", { "d": "M15 3v18" }]], "arrow-left": [["path", { "d": "m12 19-7-7 7-7" }], ["path", { "d": "M19 12H5" }]], "rotate-ccw": [["path", { "d": "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }], ["path", { "d": "M3 3v5h5" }]], "house": [["path", { "d": "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" }], ["path", { "d": "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }]], "layout-dashboard": [["rect", { "width": "7", "height": "9", "x": "3", "y": "3", "rx": "1" }], ["rect", { "width": "7", "height": "5", "x": "14", "y": "3", "rx": "1" }], ["rect", { "width": "7", "height": "9", "x": "14", "y": "12", "rx": "1" }], ["rect", { "width": "7", "height": "5", "x": "3", "y": "16", "rx": "1" }]], "folder": [["path", { "d": "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }]], "chart-column": [["path", { "d": "M3 3v16a2 2 0 0 0 2 2h16" }], ["path", { "d": "M18 17V9" }], ["path", { "d": "M13 17V5" }], ["path", { "d": "M8 17v-3" }]], "file-text": [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M10 9H8" }], ["path", { "d": "M16 13H8" }], ["path", { "d": "M16 17H8" }]], "mail": [["path", { "d": "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" }], ["rect", { "x": "2", "y": "4", "width": "20", "height": "16", "rx": "2" }]], "lock": [["rect", { "width": "18", "height": "11", "x": "3", "y": "11", "rx": "2", "ry": "2" }], ["path", { "d": "M7 11V7a5 5 0 0 1 10 0v4" }]], "clock": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "M12 6v6l4 2" }]], "trending-up": [["path", { "d": "M16 7h6v6" }], ["path", { "d": "m22 7-8.5 8.5-5-5L2 17" }]], "trending-down": [["path", { "d": "M16 17h6v-6" }], ["path", { "d": "m22 17-8.5-8.5-5 5L2 7" }]], "image": [["rect", { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2", "ry": "2" }], ["circle", { "cx": "9", "cy": "9", "r": "2" }], ["path", { "d": "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]], "paperclip": [["path", { "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }]], "cloud-upload": [["path", { "d": "M12 13v8" }], ["path", { "d": "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242" }], ["path", { "d": "m8 17 4-4 4 4" }]], "file": [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }]], "sun": [["circle", { "cx": "12", "cy": "12", "r": "4" }], ["path", { "d": "M12 2v2" }], ["path", { "d": "M12 20v2" }], ["path", { "d": "m4.93 4.93 1.41 1.41" }], ["path", { "d": "m17.66 17.66 1.41 1.41" }], ["path", { "d": "M2 12h2" }], ["path", { "d": "M20 12h2" }], ["path", { "d": "m6.34 17.66-1.41 1.41" }], ["path", { "d": "m19.07 4.93-1.41 1.41" }]], "moon": [["path", { "d": "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" }]], "monitor": [["rect", { "width": "20", "height": "14", "x": "2", "y": "3", "rx": "2" }], ["line", { "x1": "8", "x2": "16", "y1": "21", "y2": "21" }], ["line", { "x1": "12", "x2": "12", "y1": "17", "y2": "21" }]] };
204
+ var ICONS = { "check": [["path", { "d": "M20 6 9 17l-5-5" }]], "x": [["path", { "d": "M18 6 6 18" }], ["path", { "d": "m6 6 12 12" }]], "plus": [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]], "minus": [["path", { "d": "M5 12h14" }]], "search": [["path", { "d": "m21 21-4.34-4.34" }], ["circle", { "cx": "11", "cy": "11", "r": "8" }]], "chevron-down": [["path", { "d": "m6 9 6 6 6-6" }]], "chevron-up": [["path", { "d": "m18 15-6-6-6 6" }]], "chevron-left": [["path", { "d": "m15 18-6-6 6-6" }]], "chevron-right": [["path", { "d": "m9 18 6-6-6-6" }]], "arrow-right": [["path", { "d": "M5 12h14" }], ["path", { "d": "m12 5 7 7-7 7" }]], "arrow-up-right": [["path", { "d": "M7 7h10v10" }], ["path", { "d": "M7 17 17 7" }]], "arrow-up-down": [["path", { "d": "m21 16-4 4-4-4" }], ["path", { "d": "M17 20V4" }], ["path", { "d": "m3 8 4-4 4 4" }], ["path", { "d": "M7 4v16" }]], "loader-circle": [["path", { "d": "M21 12a9 9 0 1 1-6.219-8.56" }]], "circle-alert": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["line", { "x1": "12", "x2": "12", "y1": "8", "y2": "12" }], ["line", { "x1": "12", "x2": "12.01", "y1": "16", "y2": "16" }]], "circle-check": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "m16 9-5.5 5.5L8 12" }]], "info": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "M12 16v-4" }], ["path", { "d": "M12 8h.01" }]], "triangle-alert": [["path", { "d": "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }], ["path", { "d": "M12 9v4" }], ["path", { "d": "M12 17h.01" }]], "settings": [["path", { "d": "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }], ["circle", { "cx": "12", "cy": "12", "r": "3" }]], "user": [["path", { "d": "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }], ["circle", { "cx": "12", "cy": "7", "r": "4" }]], "users": [["path", { "d": "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }], ["path", { "d": "M16 3.128a4 4 0 0 1 0 7.744" }], ["path", { "d": "M22 21v-2a4 4 0 0 0-3-3.87" }], ["circle", { "cx": "9", "cy": "7", "r": "4" }]], "filter": [["path", { "d": "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z" }]], "ellipsis": [["circle", { "cx": "12", "cy": "12", "r": "1" }], ["circle", { "cx": "19", "cy": "12", "r": "1" }], ["circle", { "cx": "5", "cy": "12", "r": "1" }]], "external-link": [["path", { "d": "M15 3h6v6" }], ["path", { "d": "M10 14 21 3" }], ["path", { "d": "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }]], "copy": [["rect", { "width": "14", "height": "14", "x": "8", "y": "8", "rx": "2", "ry": "2" }], ["path", { "d": "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" }]], "trash-2": [["path", { "d": "M10 11v6" }], ["path", { "d": "M14 11v6" }], ["path", { "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }], ["path", { "d": "M3 6h18" }], ["path", { "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]], "pencil": [["path", { "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }], ["path", { "d": "m15 5 4 4" }]], "download": [["path", { "d": "M12 15V3" }], ["path", { "d": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }], ["path", { "d": "m7 10 5 5 5-5" }]], "upload": [["path", { "d": "M12 3v12" }], ["path", { "d": "m17 8-5-5-5 5" }], ["path", { "d": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }]], "calendar": [["path", { "d": "M8 2v3" }], ["path", { "d": "M16 2v3" }], ["rect", { "x": "3", "y": "3", "width": "18", "height": "18", "rx": "2" }], ["path", { "d": "M3 9h18" }]], "bell": [["path", { "d": "M10.268 21a2 2 0 0 0 3.464 0" }], ["path", { "d": "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" }]], "menu": [["path", { "d": "M4 5h16" }], ["path", { "d": "M4 12h16" }], ["path", { "d": "M4 19h16" }]], "eye": [["path", { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }], ["circle", { "cx": "12", "cy": "12", "r": "3" }]], "log-out": [["path", { "d": "m16 17 5-5-5-5" }], ["path", { "d": "M21 12H9" }], ["path", { "d": "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }]], "circle": [["circle", { "cx": "12", "cy": "12", "r": "10" }]], "circle-dot-dashed": [["path", { "d": "M10.1 2.18a9.93 9.93 0 0 1 3.8 0" }], ["path", { "d": "M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7" }], ["path", { "d": "M21.82 10.1a9.93 9.93 0 0 1 0 3.8" }], ["path", { "d": "M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69" }], ["path", { "d": "M13.9 21.82a9.94 9.94 0 0 1-3.8 0" }], ["path", { "d": "M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7" }], ["path", { "d": "M2.18 13.9a9.93 9.93 0 0 1 0-3.8" }], ["path", { "d": "M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69" }], ["circle", { "cx": "12", "cy": "12", "r": "1" }]], "ban": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "M4.929 4.929 19.07 19.071" }]], "arrow-up": [["path", { "d": "m5 12 7-7 7 7" }], ["path", { "d": "M12 19V5" }]], "arrow-down": [["path", { "d": "M12 5v14" }], ["path", { "d": "m19 12-7 7-7-7" }]], "inbox": [["polyline", { "points": "22 12 16 12 14 15 10 15 8 12 2 12" }], ["path", { "d": "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" }]], "pin": [["path", { "d": "M12 17v5" }], ["path", { "d": "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z" }]], "pin-off": [["path", { "d": "M12 17v5" }], ["path", { "d": "M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89" }], ["path", { "d": "m2 2 20 20" }], ["path", { "d": "M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11" }]], "eye-off": [["path", { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }], ["path", { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }], ["path", { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }], ["path", { "d": "m2 2 20 20" }]], "columns-3": [["rect", { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }], ["path", { "d": "M9 3v18" }], ["path", { "d": "M15 3v18" }]], "arrow-left": [["path", { "d": "m12 19-7-7 7-7" }], ["path", { "d": "M19 12H5" }]], "rotate-ccw": [["path", { "d": "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }], ["path", { "d": "M3 3v5h5" }]], "house": [["path", { "d": "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" }], ["path", { "d": "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }]], "layout-dashboard": [["rect", { "width": "7", "height": "9", "x": "3", "y": "3", "rx": "1" }], ["rect", { "width": "7", "height": "5", "x": "14", "y": "3", "rx": "1" }], ["rect", { "width": "7", "height": "9", "x": "14", "y": "12", "rx": "1" }], ["rect", { "width": "7", "height": "5", "x": "3", "y": "16", "rx": "1" }]], "folder": [["path", { "d": "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }]], "chart-column": [["path", { "d": "M3 3v16a2 2 0 0 0 2 2h16" }], ["path", { "d": "M18 17V9" }], ["path", { "d": "M13 17V5" }], ["path", { "d": "M8 17v-3" }]], "file-text": [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M10 9H8" }], ["path", { "d": "M16 13H8" }], ["path", { "d": "M16 17H8" }]], "mail": [["path", { "d": "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" }], ["rect", { "x": "2", "y": "4", "width": "20", "height": "16", "rx": "2" }]], "lock": [["rect", { "width": "18", "height": "11", "x": "3", "y": "11", "rx": "2", "ry": "2" }], ["path", { "d": "M7 11V7a5 5 0 0 1 10 0v4" }]], "clock": [["circle", { "cx": "12", "cy": "12", "r": "10" }], ["path", { "d": "M12 6v6l4 2" }]], "trending-up": [["path", { "d": "M16 7h6v6" }], ["path", { "d": "m22 7-8.5 8.5-5-5L2 17" }]], "trending-down": [["path", { "d": "M16 17h6v-6" }], ["path", { "d": "m22 17-8.5-8.5-5 5L2 7" }]], "image": [["rect", { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2", "ry": "2" }], ["circle", { "cx": "9", "cy": "9", "r": "2" }], ["path", { "d": "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]], "paperclip": [["path", { "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }]], "cloud-upload": [["path", { "d": "M12 13v8" }], ["path", { "d": "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242" }], ["path", { "d": "m8 17 4-4 4 4" }]], "file": [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }]], "sun": [["circle", { "cx": "12", "cy": "12", "r": "4" }], ["path", { "d": "M12 2v2" }], ["path", { "d": "M12 20v2" }], ["path", { "d": "m4.93 4.93 1.41 1.41" }], ["path", { "d": "m17.66 17.66 1.41 1.41" }], ["path", { "d": "M2 12h2" }], ["path", { "d": "M20 12h2" }], ["path", { "d": "m6.34 17.66-1.41 1.41" }], ["path", { "d": "m19.07 4.93-1.41 1.41" }]], "moon": [["path", { "d": "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" }]], "monitor": [["rect", { "width": "20", "height": "14", "x": "2", "y": "3", "rx": "2" }], ["line", { "x1": "8", "x2": "16", "y1": "21", "y2": "21" }], ["line", { "x1": "12", "x2": "12", "y1": "17", "y2": "21" }]], "panel-left-close": [["rect", { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }], ["path", { "d": "M9 3v18" }], ["path", { "d": "m16 15-3-3 3-3" }]], "panel-left-open": [["rect", { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }], ["path", { "d": "M9 3v18" }], ["path", { "d": "m14 9 3 3-3 3" }]] };
205
205
  var SIZES = { sm: 16, md: 20, lg: 24 };
206
206
  var Icon = React2.forwardRef(function Icon2(props, ref) {
207
207
  const size = SIZES[props.size] || props.size || 16;
@@ -278,6 +278,8 @@ var STRINGS = {
278
278
  breadcrumb: "Breadcrumb",
279
279
  navigation: "Navigation",
280
280
  openNav: "Open navigation",
281
+ collapseNav: "Collapse sidebar",
282
+ expandNav: "Expand sidebar",
281
283
  searching: "Searching\u2026",
282
284
  noMatches: "No matches",
283
285
  clear: function(what) {
@@ -389,6 +391,8 @@ var STRINGS = {
389
391
  breadcrumb: "\u0E40\u0E2A\u0E49\u0E19\u0E17\u0E32\u0E07",
390
392
  navigation: "\u0E40\u0E21\u0E19\u0E39",
391
393
  openNav: "\u0E40\u0E1B\u0E34\u0E14\u0E40\u0E21\u0E19\u0E39",
394
+ collapseNav: "\u0E22\u0E48\u0E2D\u0E41\u0E16\u0E1A\u0E40\u0E21\u0E19\u0E39",
395
+ expandNav: "\u0E02\u0E22\u0E32\u0E22\u0E41\u0E16\u0E1A\u0E40\u0E21\u0E19\u0E39",
392
396
  searching: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E49\u0E19\u0E2B\u0E32\u2026",
393
397
  noMatches: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19",
394
398
  clear: function(what) {
@@ -500,6 +504,8 @@ var STRINGS = {
500
504
  breadcrumb: "Br\xF6dsmulor",
501
505
  navigation: "Navigering",
502
506
  openNav: "\xD6ppna menyn",
507
+ collapseNav: "F\xE4ll ihop sidof\xE4ltet",
508
+ expandNav: "F\xE4ll ut sidof\xE4ltet",
503
509
  searching: "S\xF6ker\u2026",
504
510
  noMatches: "Inga tr\xE4ffar",
505
511
  clear: function(what) {
@@ -637,7 +643,8 @@ function ButtonLink(props, ref, Link) {
637
643
  "disabled",
638
644
  "linkComponent",
639
645
  "href",
640
- "fullWidth"
646
+ "fullWidth",
647
+ "size"
641
648
  ]);
642
649
  const Tag3 = disabled ? "a" : Link;
643
650
  return /* @__PURE__ */ React4.createElement(
@@ -649,7 +656,13 @@ function ButtonLink(props, ref, Link) {
649
656
  role: disabled ? "link" : void 0,
650
657
  "aria-disabled": disabled || void 0,
651
658
  tabIndex: disabled ? -1 : props.tabIndex,
652
- className: cx("aura-btn", "aura-btn--" + variant, props.fullWidth && "aura-btn--full", props.className),
659
+ className: cx(
660
+ "aura-btn",
661
+ "aura-btn--" + variant,
662
+ props.size === "sm" && "aura-btn--sm",
663
+ props.fullWidth && "aura-btn--full",
664
+ props.className
665
+ ),
653
666
  onClick: disabled ? void 0 : props.onClick
654
667
  },
655
668
  props.icon ? /* @__PURE__ */ React4.createElement(Icon, { name: props.icon }) : null,
@@ -675,7 +688,8 @@ var Button = React4.forwardRef(
675
688
  "iconRight",
676
689
  "loading",
677
690
  "onClick",
678
- "fullWidth"
691
+ "fullWidth",
692
+ "size"
679
693
  ]);
680
694
  return /* @__PURE__ */ React4.createElement(
681
695
  "button",
@@ -686,6 +700,7 @@ var Button = React4.forwardRef(
686
700
  className: cx(
687
701
  "aura-btn",
688
702
  "aura-btn--" + variant,
703
+ props.size === "sm" && "aura-btn--sm",
689
704
  props.fullWidth && "aura-btn--full",
690
705
  loading && "is-loading",
691
706
  props.className
@@ -3073,6 +3088,7 @@ var DEFAULT_COLUMNS = [
3073
3088
  { key: "owner", label: "OWNER" }
3074
3089
  ];
3075
3090
  var SKELETON_WIDTHS = ["72%", "56%", "84%", "44%", "64%"];
3091
+ var STACK_WIDTHS = [360, 400, 480, 520, 560, 600, 640, 720, 768, 800, 900, 960, 1024];
3076
3092
  var ROW_H_DEFAULT = 48;
3077
3093
  var OVERSCAN = 8;
3078
3094
  var FLEX_MIN = 160;
@@ -3139,6 +3155,7 @@ var DataTable = React28.forwardRef(function DataTable2(props, ref) {
3139
3155
  const measure = !!props.stackBelow || columns.some(function(c) {
3140
3156
  return c.hideBelow != null;
3141
3157
  });
3158
+ const dual = !!props.stackBelow && boxWidth[0] == null && STACK_WIDTHS.indexOf(props.stackBelow) >= 0;
3142
3159
  React28.useEffect(
3143
3160
  function() {
3144
3161
  if (!measure || !wrapRef.current || typeof ResizeObserver === "undefined") return;
@@ -3150,9 +3167,15 @@ var DataTable = React28.forwardRef(function DataTable2(props, ref) {
3150
3167
  ro.disconnect();
3151
3168
  };
3152
3169
  },
3153
- [measure]
3170
+ [measure, dual]
3154
3171
  );
3155
3172
  const stacked = !!props.stackBelow && boxWidth[0] != null && boxWidth[0] < props.stackBelow;
3173
+ useIsoLayoutEffect(
3174
+ function() {
3175
+ if (measure && boxWidth[0] == null && wrapRef.current) boxWidth[1](wrapRef.current.getBoundingClientRect().width);
3176
+ },
3177
+ [measure]
3178
+ );
3156
3179
  function tooNarrow(c) {
3157
3180
  if (c.hideBelow == null || boxWidth[0] == null || stacked) return false;
3158
3181
  const px = typeof c.hideBelow === "number" ? c.hideBelow : BP[c.hideBelow];
@@ -3964,7 +3987,7 @@ var DataTable = React28.forwardRef(function DataTable2(props, ref) {
3964
3987
  } else if (height && rows.length && !loading) {
3965
3988
  foot = /* @__PURE__ */ React28.createElement("div", { className: "aura-table__foot" }, /* @__PURE__ */ React28.createElement("span", null, t.rowCount(shownTotal)), selectable && selected.length ? /* @__PURE__ */ React28.createElement("span", null, t.selectedCount(selected.length)) : /* @__PURE__ */ React28.createElement("span", null));
3966
3989
  }
3967
- if (stacked) {
3990
+ function renderStacked(wrapRefArg) {
3968
3991
  const titleCol = vis[0], pillCol = vis.filter(function(c) {
3969
3992
  return c.pill && c !== titleCol;
3970
3993
  })[0];
@@ -4028,7 +4051,7 @@ var DataTable = React28.forwardRef(function DataTable2(props, ref) {
4028
4051
  return /* @__PURE__ */ React28.createElement(
4029
4052
  "div",
4030
4053
  {
4031
- ref: wrapMerged,
4054
+ ref: wrapRefArg,
4032
4055
  "data-density": props.density,
4033
4056
  className: cx("aura-table aura-table--stacked", refreshing && "is-refreshing", props.className),
4034
4057
  role: "region",
@@ -4049,15 +4072,16 @@ var DataTable = React28.forwardRef(function DataTable2(props, ref) {
4049
4072
  foot
4050
4073
  );
4051
4074
  }
4075
+ if (stacked) return renderStacked(wrapMerged);
4052
4076
  const scrollStyle = {
4053
4077
  scrollPaddingLeft: "calc(var(--aura-space-6)" + selW + " + " + acc + "px)",
4054
4078
  scrollPaddingTop: ROW_H + "px"
4055
4079
  };
4056
4080
  if (height) scrollStyle.height = height + "px";
4057
- return /* @__PURE__ */ React28.createElement(
4081
+ const gridEl = /* @__PURE__ */ React28.createElement(
4058
4082
  "div",
4059
4083
  {
4060
- ref: wrapMerged,
4084
+ ref: dual ? void 0 : wrapMerged,
4061
4085
  "data-density": props.density,
4062
4086
  className: cx("aura-table", scrolledX[0] && "is-scrolled-x", refreshing && "is-refreshing", props.className)
4063
4087
  },
@@ -4113,6 +4137,8 @@ var DataTable = React28.forwardRef(function DataTable2(props, ref) {
4113
4137
  }
4114
4138
  ) : null
4115
4139
  );
4140
+ if (!dual) return gridEl;
4141
+ return /* @__PURE__ */ React28.createElement("div", { ref: wrapMerged, className: "aura-table-dual", "data-stack-below": props.stackBelow }, renderStacked(void 0), gridEl);
4116
4142
  });
4117
4143
 
4118
4144
  // src/Card.tsx
@@ -4225,6 +4251,7 @@ var Tabs = React30.forwardRef(function Tabs2(props, ref) {
4225
4251
 
4226
4252
  // src/SideNav.tsx
4227
4253
  var React31 = __toESM(require("react"), 1);
4254
+ var import_react_dom8 = require("react-dom");
4228
4255
  function contains(it, id) {
4229
4256
  return !!id && !!it.children && it.children.some(function(c) {
4230
4257
  return c.id === id || contains(c, id);
@@ -4240,6 +4267,39 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4240
4267
  props.onChange
4241
4268
  );
4242
4269
  const active = st[0];
4270
+ const col = useMaybeControlled(props.collapsed, !!props.defaultCollapsed, props.onCollapsedChange);
4271
+ const collapsed = col[0];
4272
+ const tipState = React31.useState(null), tip = tipState[0], setTip = tipState[1];
4273
+ React31.useEffect(
4274
+ function() {
4275
+ if (!collapsed) setTip(null);
4276
+ },
4277
+ [collapsed]
4278
+ );
4279
+ React31.useEffect(
4280
+ function() {
4281
+ if (!tip) return;
4282
+ function esc(e) {
4283
+ if (e.key === "Escape") setTip(null);
4284
+ }
4285
+ document.addEventListener("keydown", esc);
4286
+ return function() {
4287
+ document.removeEventListener("keydown", esc);
4288
+ };
4289
+ },
4290
+ [tip]
4291
+ );
4292
+ function tipHandlers(label) {
4293
+ if (!collapsed) return {};
4294
+ function show2(e) {
4295
+ const r = e.currentTarget.getBoundingClientRect();
4296
+ setTip({ text: label, top: r.top + r.height / 2, left: r.right + 8 });
4297
+ }
4298
+ function hide() {
4299
+ setTip(null);
4300
+ }
4301
+ return { onMouseEnter: show2, onFocus: show2, onMouseLeave: hide, onBlur: hide };
4302
+ }
4243
4303
  const sections = props.sections || [{ items: props.items || [] }];
4244
4304
  const openState = React31.useState({}), toggled = openState[0], setToggled = openState[1];
4245
4305
  function isOpen(it) {
@@ -4285,8 +4345,10 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4285
4345
  visible[j].focus();
4286
4346
  }
4287
4347
  function inner(it, group, open) {
4348
+ const marked = it.count != null && it.count > 0 || it.badge != null;
4288
4349
  return [
4289
- it.icon ? /* @__PURE__ */ React31.createElement(Icon, { key: "i", name: it.icon }) : null,
4350
+ it.icon ? /* @__PURE__ */ React31.createElement(Icon, { key: "i", name: it.icon }) : collapsed ? /* @__PURE__ */ React31.createElement("span", { key: "i", className: "aura-nav__initial", "aria-hidden": "true" }, it.label.charAt(0)) : null,
4351
+ collapsed && marked ? /* @__PURE__ */ React31.createElement("span", { key: "d", className: "aura-nav__dot", "aria-hidden": "true" }) : null,
4290
4352
  /* @__PURE__ */ React31.createElement("span", { key: "l", className: "aura-nav__label" }, it.label),
4291
4353
  it.badge != null ? /* @__PURE__ */ React31.createElement("span", { key: "b", className: "aura-nav__badge" }, it.badge) : null,
4292
4354
  it.count != null ? /* @__PURE__ */ React31.createElement("span", { key: "c", className: "aura-nav__count" }, it.count) : null,
@@ -4295,7 +4357,7 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4295
4357
  }
4296
4358
  function item(it, depth) {
4297
4359
  if (it.children) {
4298
- const open = isOpen(it);
4360
+ const open = !collapsed && isOpen(it);
4299
4361
  const listId = base + "-" + it.id;
4300
4362
  const holdsActive = contains(it, active);
4301
4363
  return /* @__PURE__ */ React31.createElement("li", { key: it.id, className: "aura-nav__group" }, /* @__PURE__ */ React31.createElement(
@@ -4306,10 +4368,15 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4306
4368
  "aria-expanded": open,
4307
4369
  "aria-controls": listId,
4308
4370
  style: depth ? { ["--aura-nav-depth"]: depth } : void 0,
4371
+ ...tipHandlers(it.label),
4309
4372
  onClick: function() {
4310
4373
  const next = Object.assign({}, toggled);
4311
4374
  next[it.id] = !open;
4312
4375
  setToggled(next);
4376
+ if (collapsed) {
4377
+ setTip(null);
4378
+ col[1](false);
4379
+ }
4313
4380
  },
4314
4381
  onKeyDown: function(e) {
4315
4382
  if (e.key === "ArrowRight" && !open) {
@@ -4328,6 +4395,7 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4328
4395
  }
4329
4396
  const on = active === it.id;
4330
4397
  const common = {
4398
+ ...tipHandlers(it.label),
4331
4399
  className: cx("aura-nav__item", on && "is-active"),
4332
4400
  "aria-current": on ? "page" : void 0,
4333
4401
  style: depth ? { ["--aura-nav-depth"]: depth } : void 0,
@@ -4346,7 +4414,8 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4346
4414
  if (typeof ref === "function") ref(el);
4347
4415
  else if (ref) ref.current = el;
4348
4416
  },
4349
- className: cx("aura-nav", props.className),
4417
+ className: cx("aura-nav", collapsed && "aura-nav--collapsed", props.className),
4418
+ "data-collapsed": collapsed ? "" : void 0,
4350
4419
  "aria-label": props.label || t.mainNav,
4351
4420
  onKeyDown
4352
4421
  },
@@ -4356,7 +4425,31 @@ var SideNav = React31.forwardRef(function SideNav2(props, ref) {
4356
4425
  return item(it, 0);
4357
4426
  })));
4358
4427
  })),
4359
- props.footer ? /* @__PURE__ */ React31.createElement("div", { className: "aura-nav__footer" }, props.footer) : null
4428
+ props.footer ? /* @__PURE__ */ React31.createElement("div", { className: "aura-nav__footer" }, props.footer) : null,
4429
+ props.collapsible ? /* @__PURE__ */ React31.createElement("div", { className: "aura-nav__toggle" }, /* @__PURE__ */ React31.createElement(
4430
+ IconButton,
4431
+ {
4432
+ icon: collapsed ? "panel-left-open" : "panel-left-close",
4433
+ label: collapsed ? t.expandNav : t.collapseNav,
4434
+ size: "md",
4435
+ onClick: function() {
4436
+ setTip(null);
4437
+ col[1](!collapsed);
4438
+ }
4439
+ }
4440
+ )) : null,
4441
+ tip && typeof document !== "undefined" ? (0, import_react_dom8.createPortal)(
4442
+ /* @__PURE__ */ React31.createElement(
4443
+ "div",
4444
+ {
4445
+ className: "aura-tooltip aura-tooltip--right",
4446
+ "aria-hidden": "true",
4447
+ style: { top: tip.top, left: tip.left }
4448
+ },
4449
+ tip.text
4450
+ ),
4451
+ document.body
4452
+ ) : null
4360
4453
  );
4361
4454
  });
4362
4455
 
@@ -4507,23 +4600,25 @@ var React38 = __toESM(require("react"), 1);
4507
4600
  var AppShell = React38.forwardRef(function AppShell2(props, ref) {
4508
4601
  const t = useStrings();
4509
4602
  const bp = useBreakpoint();
4510
- const compact = bp === "base" || bp === "sm" || bp === "md";
4603
+ const wide = bp === "lg" || bp === "xl";
4511
4604
  const st = React38.useState(false), open = st[0], setOpen = st[1];
4512
4605
  React38.useEffect(
4513
4606
  function() {
4514
- if (!compact) setOpen(false);
4607
+ if (wide) setOpen(false);
4515
4608
  },
4516
- [compact]
4609
+ [wide]
4517
4610
  );
4518
- const navEl = props.nav;
4519
- const nav = props.nav && React38.isValidElement(props.nav) && compact ? React38.cloneElement(navEl, {
4611
+ const navEl = props.nav && React38.isValidElement(props.nav) ? props.nav : null;
4612
+ const drawerNav = navEl ? React38.cloneElement(navEl, {
4520
4613
  onChange: function(id) {
4521
4614
  if (navEl.props.onChange) navEl.props.onChange(id);
4522
4615
  setOpen(false);
4523
4616
  },
4524
- className: cx(navEl.props.className, "is-in-drawer")
4617
+ className: cx(navEl.props.className, "is-in-drawer"),
4618
+ collapsed: false,
4619
+ collapsible: false
4525
4620
  }) : props.nav;
4526
- return /* @__PURE__ */ React38.createElement("div", { ref, className: cx("aura-shell", compact && "is-compact", props.className) }, !compact ? /* @__PURE__ */ React38.createElement("div", { className: "aura-shell__nav" }, nav) : null, compact ? /* @__PURE__ */ React38.createElement(
4621
+ return /* @__PURE__ */ React38.createElement("div", { ref, className: cx("aura-shell", props.className) }, props.nav ? /* @__PURE__ */ React38.createElement("div", { className: "aura-shell__nav" }, props.nav) : null, props.nav ? /* @__PURE__ */ React38.createElement(
4527
4622
  Drawer,
4528
4623
  {
4529
4624
  open,
@@ -4535,10 +4630,11 @@ var AppShell = React38.forwardRef(function AppShell2(props, ref) {
4535
4630
  "aria-label": props.navLabel || t.navigation,
4536
4631
  dismissible: true
4537
4632
  },
4538
- nav
4539
- ) : null, /* @__PURE__ */ React38.createElement("div", { className: "aura-shell__main" }, props.header || compact ? /* @__PURE__ */ React38.createElement("header", { className: "aura-shell__bar" }, compact ? /* @__PURE__ */ React38.createElement(
4633
+ drawerNav
4634
+ ) : null, /* @__PURE__ */ React38.createElement("div", { className: "aura-shell__main" }, props.header || props.nav ? /* @__PURE__ */ React38.createElement("header", { className: cx("aura-shell__bar", !props.header && "aura-shell__bar--menu-only") }, props.nav ? /* @__PURE__ */ React38.createElement(
4540
4635
  IconButton,
4541
4636
  {
4637
+ className: "aura-shell__menu",
4542
4638
  icon: "menu",
4543
4639
  label: props.menuLabel || t.openNav,
4544
4640
  size: "md",
@@ -4602,7 +4698,7 @@ var Stat = React40.forwardRef(function Stat2(props, ref) {
4602
4698
 
4603
4699
  // src/TimePicker.tsx
4604
4700
  var React41 = __toESM(require("react"), 1);
4605
- var import_react_dom8 = require("react-dom");
4701
+ var import_react_dom9 = require("react-dom");
4606
4702
  function pad2(n2) {
4607
4703
  return (n2 < 10 ? "0" : "") + n2;
4608
4704
  }
@@ -4799,7 +4895,7 @@ var TimePicker = React41.forwardRef(function TimePicker2(props, ref) {
4799
4895
  }
4800
4896
  }
4801
4897
  const error = errState[0] || props.error;
4802
- const list = open && mounted && pos[0] ? (0, import_react_dom8.createPortal)(
4898
+ const list = open && mounted && pos[0] ? (0, import_react_dom9.createPortal)(
4803
4899
  /* @__PURE__ */ React41.createElement("div", { ref: listRef, className: "aura-combo__popover aura-time__popover", style: pos[0] }, /* @__PURE__ */ React41.createElement("ul", { id: listId, role: "listbox", "aria-label": props.label, className: "aura-combo__list" }, slots.map(function(s, i) {
4804
4900
  const dis = blocked(s), sel = s === value;
4805
4901
  return /* @__PURE__ */ React41.createElement(
@@ -5574,7 +5670,10 @@ var Skeleton = React47.forwardRef(function Skeleton2(props, ref) {
5574
5670
  rows
5575
5671
  );
5576
5672
  }
5577
- const style = { width: props.width, height: props.height };
5673
+ const style = {
5674
+ width: props.width,
5675
+ height: props.height
5676
+ };
5578
5677
  if (v === "circle") {
5579
5678
  style.width = style.height = props.size || props.width || 40;
5580
5679
  }
@@ -5751,7 +5850,7 @@ var Accordion = React50.forwardRef(function Accordion2(props, ref) {
5751
5850
 
5752
5851
  // src/Popover.tsx
5753
5852
  var React51 = __toESM(require("react"), 1);
5754
- var import_react_dom9 = require("react-dom");
5853
+ var import_react_dom10 = require("react-dom");
5755
5854
  function position(anchor, pop, placement) {
5756
5855
  const r = anchor.getBoundingClientRect(), pw = pop.offsetWidth, ph = pop.offsetHeight, vw = window.innerWidth, vh = window.innerHeight, gap = 6;
5757
5856
  let side = (placement || "bottom-start").split("-")[0], align = (placement || "bottom-start").split("-")[1] || "start";
@@ -5815,7 +5914,7 @@ var Popover = React51.forwardRef(function Popover2(props, ref) {
5815
5914
  [open, mounted]
5816
5915
  );
5817
5916
  const child = React51.Children.only(props.trigger);
5818
- const panel = open && mounted ? (0, import_react_dom9.createPortal)(
5917
+ const panel = open && mounted ? (0, import_react_dom10.createPortal)(
5819
5918
  /* @__PURE__ */ React51.createElement(
5820
5919
  "div",
5821
5920
  {
@@ -8,23 +8,25 @@ import { useBreakpoint } from "./responsive.js";
8
8
  const AppShell = React.forwardRef(function AppShell2(props, ref) {
9
9
  const t = useStrings();
10
10
  const bp = useBreakpoint();
11
- const compact = bp === "base" || bp === "sm" || bp === "md";
11
+ const wide = bp === "lg" || bp === "xl";
12
12
  const st = React.useState(false), open = st[0], setOpen = st[1];
13
13
  React.useEffect(
14
14
  function() {
15
- if (!compact) setOpen(false);
15
+ if (wide) setOpen(false);
16
16
  },
17
- [compact]
17
+ [wide]
18
18
  );
19
- const navEl = props.nav;
20
- const nav = props.nav && React.isValidElement(props.nav) && compact ? React.cloneElement(navEl, {
19
+ const navEl = props.nav && React.isValidElement(props.nav) ? props.nav : null;
20
+ const drawerNav = navEl ? React.cloneElement(navEl, {
21
21
  onChange: function(id) {
22
22
  if (navEl.props.onChange) navEl.props.onChange(id);
23
23
  setOpen(false);
24
24
  },
25
- className: cx(navEl.props.className, "is-in-drawer")
25
+ className: cx(navEl.props.className, "is-in-drawer"),
26
+ collapsed: false,
27
+ collapsible: false
26
28
  }) : props.nav;
27
- return /* @__PURE__ */ React.createElement("div", { ref, className: cx("aura-shell", compact && "is-compact", props.className) }, !compact ? /* @__PURE__ */ React.createElement("div", { className: "aura-shell__nav" }, nav) : null, compact ? /* @__PURE__ */ React.createElement(
29
+ return /* @__PURE__ */ React.createElement("div", { ref, className: cx("aura-shell", props.className) }, props.nav ? /* @__PURE__ */ React.createElement("div", { className: "aura-shell__nav" }, props.nav) : null, props.nav ? /* @__PURE__ */ React.createElement(
28
30
  Drawer,
29
31
  {
30
32
  open,
@@ -36,10 +38,11 @@ const AppShell = React.forwardRef(function AppShell2(props, ref) {
36
38
  "aria-label": props.navLabel || t.navigation,
37
39
  dismissible: true
38
40
  },
39
- nav
40
- ) : null, /* @__PURE__ */ React.createElement("div", { className: "aura-shell__main" }, props.header || compact ? /* @__PURE__ */ React.createElement("header", { className: "aura-shell__bar" }, compact ? /* @__PURE__ */ React.createElement(
41
+ drawerNav
42
+ ) : null, /* @__PURE__ */ React.createElement("div", { className: "aura-shell__main" }, props.header || props.nav ? /* @__PURE__ */ React.createElement("header", { className: cx("aura-shell__bar", !props.header && "aura-shell__bar--menu-only") }, props.nav ? /* @__PURE__ */ React.createElement(
41
43
  IconButton,
42
44
  {
45
+ className: "aura-shell__menu",
43
46
  icon: "menu",
44
47
  label: props.menuLabel || t.openNav,
45
48
  size: "md",
@@ -15,7 +15,8 @@ function ButtonLink(props, ref, Link) {
15
15
  "disabled",
16
16
  "linkComponent",
17
17
  "href",
18
- "fullWidth"
18
+ "fullWidth",
19
+ "size"
19
20
  ]);
20
21
  const Tag = disabled ? "a" : Link;
21
22
  return /* @__PURE__ */ React.createElement(
@@ -27,7 +28,13 @@ function ButtonLink(props, ref, Link) {
27
28
  role: disabled ? "link" : void 0,
28
29
  "aria-disabled": disabled || void 0,
29
30
  tabIndex: disabled ? -1 : props.tabIndex,
30
- className: cx("aura-btn", "aura-btn--" + variant, props.fullWidth && "aura-btn--full", props.className),
31
+ className: cx(
32
+ "aura-btn",
33
+ "aura-btn--" + variant,
34
+ props.size === "sm" && "aura-btn--sm",
35
+ props.fullWidth && "aura-btn--full",
36
+ props.className
37
+ ),
31
38
  onClick: disabled ? void 0 : props.onClick
32
39
  },
33
40
  props.icon ? /* @__PURE__ */ React.createElement(Icon, { name: props.icon }) : null,
@@ -53,7 +60,8 @@ const Button = React.forwardRef(
53
60
  "iconRight",
54
61
  "loading",
55
62
  "onClick",
56
- "fullWidth"
63
+ "fullWidth",
64
+ "size"
57
65
  ]);
58
66
  return /* @__PURE__ */ React.createElement(
59
67
  "button",
@@ -64,6 +72,7 @@ const Button = React.forwardRef(
64
72
  className: cx(
65
73
  "aura-btn",
66
74
  "aura-btn--" + variant,
75
+ props.size === "sm" && "aura-btn--sm",
67
76
  props.fullWidth && "aura-btn--full",
68
77
  loading && "is-loading",
69
78
  props.className
@@ -15,6 +15,7 @@ const DEFAULT_COLUMNS = [
15
15
  { key: "owner", label: "OWNER" }
16
16
  ];
17
17
  const SKELETON_WIDTHS = ["72%", "56%", "84%", "44%", "64%"];
18
+ const STACK_WIDTHS = [360, 400, 480, 520, 560, 600, 640, 720, 768, 800, 900, 960, 1024];
18
19
  const ROW_H_DEFAULT = 48, OVERSCAN = 8, FLEX_MIN = 160;
19
20
  const DataTable = React.forwardRef(function DataTable2(props, ref) {
20
21
  const t = useStrings();
@@ -79,6 +80,7 @@ const DataTable = React.forwardRef(function DataTable2(props, ref) {
79
80
  const measure = !!props.stackBelow || columns.some(function(c) {
80
81
  return c.hideBelow != null;
81
82
  });
83
+ const dual = !!props.stackBelow && boxWidth[0] == null && STACK_WIDTHS.indexOf(props.stackBelow) >= 0;
82
84
  React.useEffect(
83
85
  function() {
84
86
  if (!measure || !wrapRef.current || typeof ResizeObserver === "undefined") return;
@@ -90,9 +92,15 @@ const DataTable = React.forwardRef(function DataTable2(props, ref) {
90
92
  ro.disconnect();
91
93
  };
92
94
  },
93
- [measure]
95
+ [measure, dual]
94
96
  );
95
97
  const stacked = !!props.stackBelow && boxWidth[0] != null && boxWidth[0] < props.stackBelow;
98
+ useIsoLayoutEffect(
99
+ function() {
100
+ if (measure && boxWidth[0] == null && wrapRef.current) boxWidth[1](wrapRef.current.getBoundingClientRect().width);
101
+ },
102
+ [measure]
103
+ );
96
104
  function tooNarrow(c) {
97
105
  if (c.hideBelow == null || boxWidth[0] == null || stacked) return false;
98
106
  const px = typeof c.hideBelow === "number" ? c.hideBelow : BP[c.hideBelow];
@@ -904,7 +912,7 @@ const DataTable = React.forwardRef(function DataTable2(props, ref) {
904
912
  } else if (height && rows.length && !loading) {
905
913
  foot = /* @__PURE__ */ React.createElement("div", { className: "aura-table__foot" }, /* @__PURE__ */ React.createElement("span", null, t.rowCount(shownTotal)), selectable && selected.length ? /* @__PURE__ */ React.createElement("span", null, t.selectedCount(selected.length)) : /* @__PURE__ */ React.createElement("span", null));
906
914
  }
907
- if (stacked) {
915
+ function renderStacked(wrapRefArg) {
908
916
  const titleCol = vis[0], pillCol = vis.filter(function(c) {
909
917
  return c.pill && c !== titleCol;
910
918
  })[0];
@@ -968,7 +976,7 @@ const DataTable = React.forwardRef(function DataTable2(props, ref) {
968
976
  return /* @__PURE__ */ React.createElement(
969
977
  "div",
970
978
  {
971
- ref: wrapMerged,
979
+ ref: wrapRefArg,
972
980
  "data-density": props.density,
973
981
  className: cx("aura-table aura-table--stacked", refreshing && "is-refreshing", props.className),
974
982
  role: "region",
@@ -989,15 +997,16 @@ const DataTable = React.forwardRef(function DataTable2(props, ref) {
989
997
  foot
990
998
  );
991
999
  }
1000
+ if (stacked) return renderStacked(wrapMerged);
992
1001
  const scrollStyle = {
993
1002
  scrollPaddingLeft: "calc(var(--aura-space-6)" + selW + " + " + acc + "px)",
994
1003
  scrollPaddingTop: ROW_H + "px"
995
1004
  };
996
1005
  if (height) scrollStyle.height = height + "px";
997
- return /* @__PURE__ */ React.createElement(
1006
+ const gridEl = /* @__PURE__ */ React.createElement(
998
1007
  "div",
999
1008
  {
1000
- ref: wrapMerged,
1009
+ ref: dual ? void 0 : wrapMerged,
1001
1010
  "data-density": props.density,
1002
1011
  className: cx("aura-table", scrolledX[0] && "is-scrolled-x", refreshing && "is-refreshing", props.className)
1003
1012
  },
@@ -1053,6 +1062,8 @@ const DataTable = React.forwardRef(function DataTable2(props, ref) {
1053
1062
  }
1054
1063
  ) : null
1055
1064
  );
1065
+ if (!dual) return gridEl;
1066
+ return /* @__PURE__ */ React.createElement("div", { ref: wrapMerged, className: "aura-table-dual", "data-stack-below": props.stackBelow }, renderStacked(void 0), gridEl);
1056
1067
  });
1057
1068
  export {
1058
1069
  DataTable