@kakadu/components 3.15.5 → 4.0.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.
Files changed (55) hide show
  1. package/build/components/button-tooltip.d.ts +2 -4
  2. package/build/components/button-tooltip.js +1 -1
  3. package/build/components/button-tooltip.mjs +11 -11
  4. package/build/components/button.d.ts +2 -6
  5. package/build/components/button.js +1 -1
  6. package/build/components/button.mjs +51 -51
  7. package/build/components/card.js +1 -1
  8. package/build/components/card.mjs +22 -22
  9. package/build/components/copy-icon-button.js +1 -1
  10. package/build/components/copy-icon-button.mjs +20 -21
  11. package/build/components/datum.js +1 -1
  12. package/build/components/datum.mjs +12 -12
  13. package/build/components/flex.d.ts +13 -9
  14. package/build/components/flex.js +1 -1
  15. package/build/components/flex.mjs +25 -15
  16. package/build/components/footer.d.ts +3 -6
  17. package/build/components/footer.js +1 -1
  18. package/build/components/footer.mjs +33 -33
  19. package/build/components/header.js +1 -1
  20. package/build/components/header.mjs +4 -5
  21. package/build/components/icon-button.d.ts +2 -6
  22. package/build/components/icon-button.js +1 -1
  23. package/build/components/icon-button.mjs +41 -41
  24. package/build/components/input.d.ts +1 -1
  25. package/build/components/input.js +2 -2
  26. package/build/components/input.mjs +64 -66
  27. package/build/components/kakadu-guide-logo.d.ts +2 -4
  28. package/build/components/kakadu-guide-logo.js +1 -1
  29. package/build/components/kakadu-guide-logo.mjs +13 -13
  30. package/build/components/modal.js +1 -1
  31. package/build/components/modal.mjs +64 -65
  32. package/build/components/notice.d.ts +2 -7
  33. package/build/components/notice.js +1 -1
  34. package/build/components/notice.mjs +16 -16
  35. package/build/components/notification.d.ts +2 -1
  36. package/build/components/notification.js +1 -1
  37. package/build/components/notification.mjs +9 -9
  38. package/build/components/separator.js +1 -1
  39. package/build/components/separator.mjs +25 -25
  40. package/build/components/text-button.d.ts +2 -4
  41. package/build/components/text-button.js +1 -1
  42. package/build/components/text-button.mjs +26 -27
  43. package/build/components/text.d.ts +1 -1
  44. package/build/components/text.js +1 -1
  45. package/build/components/text.mjs +29 -30
  46. package/build/components/wrapper.d.ts +3 -6
  47. package/build/components/wrapper.js +1 -1
  48. package/build/components/wrapper.mjs +25 -23
  49. package/build/components.css +1 -1
  50. package/build/icons/icon.d.ts +2 -41
  51. package/build/icons/icon.js +1 -1
  52. package/build/icons/icon.mjs +71 -72
  53. package/build/index.js +1 -1
  54. package/build/index.mjs +188 -187
  55. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../jsx-runtime-BB_1_6y_.js"),u=require("../icons/kakadu-guide-icon.js"),r=require("../utilities/scale.js"),e=require("./flex.js"),m=require("./kakadu-guide-icon.js"),a=require("./aria-text.js");function x({fill:c,...t}){const{width:n,height:o}=r.default({originalWidth:110,originalHeight:52,width:t.width,height:t.height});return s.jsxRuntimeExports.jsx("svg",{fill:"none",viewBox:"0 0 110 52",xmlns:"http://www.w3.org/2000/svg",...t,width:n,height:o,children:s.jsxRuntimeExports.jsxs("g",{fill:c??"currentColor",children:[s.jsxRuntimeExports.jsx("path",{d:"m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z"}),s.jsxRuntimeExports.jsx("path",{d:"m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z"}),s.jsxRuntimeExports.jsx("path",{d:"m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z"}),s.jsxRuntimeExports.jsx("path",{d:"m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z"}),s.jsxRuntimeExports.jsx("path",{d:"m9.84872 15.7676 7.28838 7.1999c-1.8389 1.9996-4.2428 2.6225-6.8223 1.3129-1.44616-.7411-2.62737-1.8112-3.78304-2.9196-.16282-.1533-.2969-.3386-.50122-.5782-.98008 2.9803-3.07752 4.1813-6.03054 4.2005v-24.97919375c1.692 0 3.22757.35456375 4.46944 1.56199375 1.31209 1.27771 1.79415 2.87485 1.84523 4.64447.03831 1.37035 0 2.74388 0 4.21643l.38948-.3386c.95774-.84966 1.83886-1.7728 2.85086-2.53304 2.34009-1.76324 4.75999-1.59713 6.93079.37373.2203.19805.4342.40248.7024.63885z"}),s.jsxRuntimeExports.jsx("path",{d:"m9.84872 15.7676 7.28838 7.1999c-1.8389 1.9996-4.2428 2.6225-6.8223 1.3129-1.44616-.7411-2.62737-1.8112-3.78304-2.9196-.16282-.1533-.2969-.3386-.50122-.5782-.98008 2.9803-3.07752 4.1813-6.03054 4.2005v-24.97919375c1.692 0 3.22757.35456375 4.46944 1.56199375 1.31209 1.27771 1.79415 2.87485 1.84523 4.64447.03831 1.37035 0 2.74388 0 4.21643l.38948-.3386c.95774-.84966 1.83886-1.7728 2.85086-2.53304 2.34009-1.76324 4.75999-1.59713 6.93079.37373.2203.19805.4342.40248.7024.63885z"}),s.jsxRuntimeExports.jsx("path",{d:"m53.1648 8.56764-7.2405 7.16796 7.2149 7.2031c-1.6313 1.8111-3.8309 2.5554-6.1359 1.6418-1.5483-.6101-2.7966-1.645-3.9937-2.7534-.3416-.3195-.6385-.6772-.9769-1.0478-1.3855 3.0665-3.2595 4.3506-6.021 4.1718v-24.9313273c.7841-.0461673 1.5699.0534731 2.3177.2938733 2.5221.773014 3.831 3.012194 3.9363 5.478174.0703 1.51089 0 3.02817 0 4.65088.1692-.1565.2714-.2524.3799-.3482.9578-.84648 1.8453-1.76004 2.8541-2.52667 2.3305-1.76323 4.6961-1.62269 6.9053.31943.2458.20124.4724.42164.7598.68038z"}),s.jsxRuntimeExports.jsx("path",{d:"m53.1648 8.56764-7.2405 7.16796 7.2149 7.2031c-1.6313 1.8111-3.8309 2.5554-6.1359 1.6418-1.5483-.6101-2.7966-1.645-3.9937-2.7534-.3416-.3195-.6385-.6772-.9769-1.0478-1.3855 3.0665-3.2595 4.3506-6.021 4.1718v-24.9313273c.7841-.0461673 1.5699.0534731 2.3177.2938733 2.5221.773014 3.831 3.012194 3.9363 5.478174.0703 1.51089 0 3.02817 0 4.65088.1692-.1565.2714-.2524.3799-.3482.9578-.84648 1.8453-1.76004 2.8541-2.52667 2.3305-1.76323 4.6961-1.62269 6.9053.31943.2458.20124.4724.42164.7598.68038z"}),s.jsxRuntimeExports.jsx("path",{d:"m70.5731 24.9668c-1.4086.0874-2.8049-.308-3.9587-1.1212-.0835-.0825-.1938-.1324-.3109-.1406s-.2333.0258-.3276.0958c-1.1441.6519-2.4163 1.0469-3.7283 1.1578-1.312.1108-2.6324-.0652-3.8696-.5158-1.2373-.4506-2.3617-1.1651-3.2955-2.0939-.9337-.9288-1.6544-2.0497-2.1121-3.285-.4576-1.2352-.6413-2.5553-.5382-3.8687.103-1.3133.4903-2.5886 1.135-3.7372.6447-1.1487 1.5314-2.14332 2.5986-2.91493 1.0672-.77162 2.2893-1.30176 3.5817-1.55368 2.1596-.45022 4.4094-.07047 6.3019 1.0637.0786.05612.1751.08128.2711.07068.096-.01061.1848-.05624.2492-.12818 1.1717-.91037 2.554-1.14355 4.0034-1.17869zm-6.3849-9.1037c.0245-.362-.0267-.7251-.1504-1.0661-.1238-.341-.3173-.6524-.5682-.9143-.2509-.2618-.5537-.4684-.889-.6065s-.6957-.2046-1.0581-.1953c-.7289.0137-1.4239.3107-1.9377.8281-.5139.5174-.8064 1.2146-.8155 1.944s.2658 1.4337.7666 1.9638c.5007.5301 1.188.8444 1.9163.8764 1.5612.0192 2.7136-1.1691 2.736-2.8301z"}),s.jsxRuntimeExports.jsx("path",{d:"m70.5731 24.9668c-1.4086.0874-2.8049-.308-3.9587-1.1212-.0835-.0825-.1938-.1324-.3109-.1406s-.2333.0258-.3276.0958c-1.1441.6519-2.4163 1.0469-3.7283 1.1578-1.312.1108-2.6324-.0652-3.8696-.5158-1.2373-.4506-2.3617-1.1651-3.2955-2.0939-.9337-.9288-1.6544-2.0497-2.1121-3.285-.4576-1.2352-.6413-2.5553-.5382-3.8687.103-1.3133.4903-2.5886 1.135-3.7372.6447-1.1487 1.5314-2.14332 2.5986-2.91493 1.0672-.77162 2.2893-1.30176 3.5817-1.55368 2.1596-.45022 4.4094-.07047 6.3019 1.0637.0786.05612.1751.08128.2711.07068.096-.01061.1848-.05624.2492-.12818 1.1717-.91037 2.554-1.14355 4.0034-1.17869zm-6.3849-9.1037c.0245-.362-.0267-.7251-.1504-1.0661-.1238-.341-.3173-.6524-.5682-.9143-.2509-.2618-.5537-.4684-.889-.6065s-.6957-.2046-1.0581-.1953c-.7289.0137-1.4239.3107-1.9377.8281-.5139.5174-.8064 1.2146-.8155 1.944s.2658 1.4337.7666 1.9638c.5007.5301 1.188.8444 1.9163.8764 1.5612.0192 2.7136-1.1691 2.736-2.8301z"}),s.jsxRuntimeExports.jsx("path",{d:"m34.1057 6.80968v18.20732c-.5363-.0511-1.0694-.0607-1.5962-.1629-.8807-.1549-1.714-.51-2.4358-1.0381-.0738-.0371-.1553-.0564-.2379-.0564s-.164.0193-.2378.0564c-1.5131.85-3.2341 1.2583-4.9675 1.1787-1.9966-.0702-3.9102-.8169-5.4271-2.1178-1.0238-.8288-1.8471-1.8785-2.4082-3.0705s-.8456-2.4956-.8322-3.8132c-.0396-1.8326.487-3.6327 1.5081-5.1546 1.021-1.52185 2.4867-2.69128 4.1968-3.34854 1.2775-.53907 2.6638-.76993 4.0469-.67393 1.3831.09599 2.7243.51615 3.9151 1.22654.0676.03326.1418.05055.2171.05055s.1496-.01729.2171-.05055c1.178-.92953 2.5508-1.1723 4.0416-1.23299zm-6.3498 9.01422c0-1.6163-1.1397-2.7598-2.7072-2.7439-.368.0028-.732.078-1.071.2215-.3391.1434-.6465.3523-.9049.6147-.2583.2623-.4625.573-.6009.9143-.1383.3413-.2081.7066-.2054 1.0749s.0779.7324.2213 1.0716c.1434.3393.3522.6469.6144.9054s.5727.4628.9138.6012c.3411.1385.7062.2083 1.0742.2056 1.5356-.016 2.6849-1.2426 2.6657-2.8653z"}),s.jsxRuntimeExports.jsx("path",{d:"m34.1057 6.80968v18.20732c-.5363-.0511-1.0694-.0607-1.5962-.1629-.8807-.1549-1.714-.51-2.4358-1.0381-.0738-.0371-.1553-.0564-.2379-.0564s-.164.0193-.2378.0564c-1.5131.85-3.2341 1.2583-4.9675 1.1787-1.9966-.0702-3.9102-.8169-5.4271-2.1178-1.0238-.8288-1.8471-1.8785-2.4082-3.0705s-.8456-2.4956-.8322-3.8132c-.0396-1.8326.487-3.6327 1.5081-5.1546 1.021-1.52185 2.4867-2.69128 4.1968-3.34854 1.2775-.53907 2.6638-.76993 4.0469-.67393 1.3831.09599 2.7243.51615 3.9151 1.22654.0676.03326.1418.05055.2171.05055s.1496-.01729.2171-.05055c1.178-.92953 2.5508-1.1723 4.0416-1.23299zm-6.3498 9.01422c0-1.6163-1.1397-2.7598-2.7072-2.7439-.368.0028-.732.078-1.071.2215-.3391.1434-.6465.3523-.9049.6147-.2583.2623-.4625.573-.6009.9143-.1383.3413-.2081.7066-.2054 1.0749s.0779.7324.2213 1.0716c.1434.3393.3522.6469.6144.9054s.5727.4628.9138.6012c.3411.1385.7062.2083 1.0742.2056 1.5356-.016 2.6849-1.2426 2.6657-2.8653z"}),s.jsxRuntimeExports.jsxs("g",{opacity:.8,children:[s.jsxRuntimeExports.jsx("path",{d:"m50.0654 51.3369c-1.0869 0-2.0234-.2427-2.8095-.728-.7793-.4922-1.3775-1.1724-1.7945-2.0405-.417-.875-.6255-1.8833-.6255-3.0249s.2085-2.1534.6255-3.0352c.4239-.8818 1.0152-1.5723 1.774-2.0713.7656-.499 1.6508-.7485 2.6557-.7485.6631 0 1.292.1162 1.8867.3486.6016.2256 1.1314.5742 1.5894 1.0459.4648.4717.8271 1.0664 1.0869 1.7842.2666.7178.3999 1.562.3999 2.5327v.6563h-8.9004v-1.5279h7.916l-.8203.5537c0-.7451-.123-1.4013-.3691-1.9687-.2461-.5742-.605-1.0186-1.0767-1.333-.4648-.3213-1.0356-.482-1.7124-.482-.6699 0-1.2475.1607-1.7329.482-.4853.3213-.8613.7553-1.1279 1.3022-.2598.5401-.3897 1.145-.3897 1.815v.9228c0 .8067.1402 1.5039.4204 2.0918.2803.5811.6768 1.0288 1.1895 1.3433.5195.3076 1.1279.4614 1.8252.4614.4717 0 .8955-.0684 1.2715-.2051.3828-.1435.7041-.352.9638-.6255.2666-.2734.4649-.6015.5948-.9843l1.7636.2973c-.164.6221-.458 1.169-.8818 1.6406-.4238.4717-.9536.8409-1.5894 1.1075-.6357.2597-1.3466.3896-2.1328.3896z"}),s.jsxRuntimeExports.jsx("path",{d:"m37.1343 51.3164c-.9434 0-1.7774-.2393-2.502-.7178s-1.2885-1.1518-1.6919-2.02c-.3965-.875-.5947-1.9004-.5947-3.0762 0-1.1757.2017-2.1977.605-3.0659.4033-.8681.9639-1.5381 1.6816-2.0097.7246-.4786 1.5586-.7178 2.502-.7178.6426 0 1.1792.1025 1.6098.3076.4375.1982.793.4443 1.0664.7383.2803.2939.5059.581.6768.8613h.0923v-5.8037h1.8047v15.2783h-1.7534v-1.7226h-.1333c-.1778.2939-.4102.5913-.6973.8921-.2803.3007-.6392.5537-1.0767.7587-.4306.1983-.9604.2974-1.5893.2974zm.2666-1.6099c.6904 0 1.2749-.1777 1.7534-.5332.4853-.3554.8545-.8476 1.1074-1.4765.2598-.6358.3897-1.3706.3897-2.2046 0-.8408-.1265-1.5723-.3794-2.1943-.253-.6221-.6221-1.1075-1.1074-1.4561-.4854-.3486-1.0733-.523-1.7637-.523-.6836 0-1.2681.1744-1.7534.523-.4786.3486-.8443.8374-1.0972 1.4663-.2529.6221-.3794 1.3501-.3794 2.1841 0 .8271.1265 1.5586.3794 2.1943.2598.6289.6289 1.1245 1.1074 1.4868.4854.3555 1.0664.5332 1.7432.5332z"}),s.jsxRuntimeExports.jsx("path",{d:"m28.1001 51.0908v-11.2178h1.8047v11.2178zm.9023-13.1865c-.3349 0-.6254-.1162-.8715-.3486-.2461-.2393-.3692-.5264-.3692-.8614 0-.3349.1231-.6186.3692-.851.2461-.2393.5366-.3589.8715-.3589.3487 0 .646.1196.8921.3589.2461.2324.3692.5195.3692.8613 0 .3281-.1231.6118-.3692.8511-.2461.2324-.5434.3486-.8921.3486z"}),s.jsxRuntimeExports.jsx("path",{d:"m19.96 51.2549c-.752 0-1.4253-.1572-2.0201-.4717-.5947-.3213-1.0595-.7998-1.3945-1.4355-.335-.6426-.5024-1.4458-.5024-2.4097v-7.065h1.8047v6.9214c0 .9024.229 1.5996.687 2.0918s1.0903.7383 1.8969.7383c.5332 0 1.0152-.1128 1.4458-.3384.4375-.2324.7828-.5776 1.0357-1.0356.2529-.4649.3794-1.0357.3794-1.7124v-6.6651h1.8149v11.2178h-1.7534v-2.7173h.3486c-.3554 1.0323-.8579 1.7705-1.5073 2.2149-.6426.4443-1.3877.6665-2.2353.6665z"}),s.jsxRuntimeExports.jsx("path",{d:"m7.01953 51.3164c-1.36035 0-2.55664-.3247-3.58887-.9741-1.03222-.6563-1.84228-1.5723-2.43017-2.7481-.581056-1.1757-.871584-2.5532-.871584-4.1323 0-1.5928.290528-2.977.871584-4.1528.58105-1.1758 1.38428-2.0884 2.40967-2.7378 1.03222-.6563 2.21142-.9844 3.53759-.9844.80664 0 1.56202.1231 2.26612.3692.7041.246 1.33303.5947 1.88673 1.0459.5605.4511 1.0254.9877 1.3945 1.6098.3692.6153.6221 1.2988.7588 2.0508h-1.9585c-.1367-.499-.3384-.9502-.605-1.3535s-.5879-.7486-.96384-1.0357c-.36914-.2939-.78955-.5195-1.26123-.6767-.46484-.1572-.9707-.2359-1.51758-.2359-.94336 0-1.78759.2427-2.53271.7281-.74512.4853-1.33301 1.1826-1.76367 2.0918-.43067.9091-.646 2.0029-.646 3.2812 0 1.2647.21533 2.3516.646 3.2608.43066.9023 1.02197 1.5996 1.77392 2.0918.75879.4853 1.62354.728 2.59424.728.86133 0 1.62695-.1846 2.29688-.5537.66992-.376 1.19629-.9024 1.57909-1.5791.3897-.6768.5845-1.4732.5845-2.3892l.5845.082h-4.55278v-1.6713h5.84468v1.6611c0 1.2373-.2768 2.3242-.8305 3.2607-.5469.9297-1.2988 1.6577-2.2559 2.1841-.95018.5195-2.03367.7793-3.25047.7793z"})]})]})})}var i=(c=>(c.default="default",c.flat="flat",c))(i||{});function d({variant:c="default",height:t=56}){return s.jsxRuntimeExports.jsxs(e.default,{direction:"row",alignment:e.FlexAlignment.start,style:{gap:t/3},children:[c==="flat"?s.jsxRuntimeExports.jsx(u.default,{width:t,height:t,fill:"var(--foreground-color)"}):s.jsxRuntimeExports.jsx(m.default,{size:t}),s.jsxRuntimeExports.jsx(x,{height:t-2,className:"kakadu-components-3861346893"}),s.jsxRuntimeExports.jsx(a.default,{children:"Kakadu Guide"})]})}exports.KakaduGuideLogoSvg=x;exports.KakaduGuideLogoVariant=i;exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../jsx-runtime-BB_1_6y_.js"),o=require("../icons/kakadu-guide-icon.js"),u=require("../utilities/scale.js"),n=require("./flex.js"),r=require("./kakadu-guide-icon.js"),a=require("./aria-text.js");function e({fill:c,...t}){const{width:x,height:i}=u.default({originalWidth:110,originalHeight:52,width:t.width,height:t.height});return s.jsxRuntimeExports.jsx("svg",{fill:"none",viewBox:"0 0 110 52",xmlns:"http://www.w3.org/2000/svg",...t,width:x,height:i,children:s.jsxRuntimeExports.jsxs("g",{fill:c??"currentColor",children:[s.jsxRuntimeExports.jsx("path",{d:"m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z"}),s.jsxRuntimeExports.jsx("path",{d:"m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z"}),s.jsxRuntimeExports.jsx("path",{d:"m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z"}),s.jsxRuntimeExports.jsx("path",{d:"m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z"}),s.jsxRuntimeExports.jsx("path",{d:"m9.84872 15.7676 7.28838 7.1999c-1.8389 1.9996-4.2428 2.6225-6.8223 1.3129-1.44616-.7411-2.62737-1.8112-3.78304-2.9196-.16282-.1533-.2969-.3386-.50122-.5782-.98008 2.9803-3.07752 4.1813-6.03054 4.2005v-24.97919375c1.692 0 3.22757.35456375 4.46944 1.56199375 1.31209 1.27771 1.79415 2.87485 1.84523 4.64447.03831 1.37035 0 2.74388 0 4.21643l.38948-.3386c.95774-.84966 1.83886-1.7728 2.85086-2.53304 2.34009-1.76324 4.75999-1.59713 6.93079.37373.2203.19805.4342.40248.7024.63885z"}),s.jsxRuntimeExports.jsx("path",{d:"m9.84872 15.7676 7.28838 7.1999c-1.8389 1.9996-4.2428 2.6225-6.8223 1.3129-1.44616-.7411-2.62737-1.8112-3.78304-2.9196-.16282-.1533-.2969-.3386-.50122-.5782-.98008 2.9803-3.07752 4.1813-6.03054 4.2005v-24.97919375c1.692 0 3.22757.35456375 4.46944 1.56199375 1.31209 1.27771 1.79415 2.87485 1.84523 4.64447.03831 1.37035 0 2.74388 0 4.21643l.38948-.3386c.95774-.84966 1.83886-1.7728 2.85086-2.53304 2.34009-1.76324 4.75999-1.59713 6.93079.37373.2203.19805.4342.40248.7024.63885z"}),s.jsxRuntimeExports.jsx("path",{d:"m53.1648 8.56764-7.2405 7.16796 7.2149 7.2031c-1.6313 1.8111-3.8309 2.5554-6.1359 1.6418-1.5483-.6101-2.7966-1.645-3.9937-2.7534-.3416-.3195-.6385-.6772-.9769-1.0478-1.3855 3.0665-3.2595 4.3506-6.021 4.1718v-24.9313273c.7841-.0461673 1.5699.0534731 2.3177.2938733 2.5221.773014 3.831 3.012194 3.9363 5.478174.0703 1.51089 0 3.02817 0 4.65088.1692-.1565.2714-.2524.3799-.3482.9578-.84648 1.8453-1.76004 2.8541-2.52667 2.3305-1.76323 4.6961-1.62269 6.9053.31943.2458.20124.4724.42164.7598.68038z"}),s.jsxRuntimeExports.jsx("path",{d:"m53.1648 8.56764-7.2405 7.16796 7.2149 7.2031c-1.6313 1.8111-3.8309 2.5554-6.1359 1.6418-1.5483-.6101-2.7966-1.645-3.9937-2.7534-.3416-.3195-.6385-.6772-.9769-1.0478-1.3855 3.0665-3.2595 4.3506-6.021 4.1718v-24.9313273c.7841-.0461673 1.5699.0534731 2.3177.2938733 2.5221.773014 3.831 3.012194 3.9363 5.478174.0703 1.51089 0 3.02817 0 4.65088.1692-.1565.2714-.2524.3799-.3482.9578-.84648 1.8453-1.76004 2.8541-2.52667 2.3305-1.76323 4.6961-1.62269 6.9053.31943.2458.20124.4724.42164.7598.68038z"}),s.jsxRuntimeExports.jsx("path",{d:"m70.5731 24.9668c-1.4086.0874-2.8049-.308-3.9587-1.1212-.0835-.0825-.1938-.1324-.3109-.1406s-.2333.0258-.3276.0958c-1.1441.6519-2.4163 1.0469-3.7283 1.1578-1.312.1108-2.6324-.0652-3.8696-.5158-1.2373-.4506-2.3617-1.1651-3.2955-2.0939-.9337-.9288-1.6544-2.0497-2.1121-3.285-.4576-1.2352-.6413-2.5553-.5382-3.8687.103-1.3133.4903-2.5886 1.135-3.7372.6447-1.1487 1.5314-2.14332 2.5986-2.91493 1.0672-.77162 2.2893-1.30176 3.5817-1.55368 2.1596-.45022 4.4094-.07047 6.3019 1.0637.0786.05612.1751.08128.2711.07068.096-.01061.1848-.05624.2492-.12818 1.1717-.91037 2.554-1.14355 4.0034-1.17869zm-6.3849-9.1037c.0245-.362-.0267-.7251-.1504-1.0661-.1238-.341-.3173-.6524-.5682-.9143-.2509-.2618-.5537-.4684-.889-.6065s-.6957-.2046-1.0581-.1953c-.7289.0137-1.4239.3107-1.9377.8281-.5139.5174-.8064 1.2146-.8155 1.944s.2658 1.4337.7666 1.9638c.5007.5301 1.188.8444 1.9163.8764 1.5612.0192 2.7136-1.1691 2.736-2.8301z"}),s.jsxRuntimeExports.jsx("path",{d:"m70.5731 24.9668c-1.4086.0874-2.8049-.308-3.9587-1.1212-.0835-.0825-.1938-.1324-.3109-.1406s-.2333.0258-.3276.0958c-1.1441.6519-2.4163 1.0469-3.7283 1.1578-1.312.1108-2.6324-.0652-3.8696-.5158-1.2373-.4506-2.3617-1.1651-3.2955-2.0939-.9337-.9288-1.6544-2.0497-2.1121-3.285-.4576-1.2352-.6413-2.5553-.5382-3.8687.103-1.3133.4903-2.5886 1.135-3.7372.6447-1.1487 1.5314-2.14332 2.5986-2.91493 1.0672-.77162 2.2893-1.30176 3.5817-1.55368 2.1596-.45022 4.4094-.07047 6.3019 1.0637.0786.05612.1751.08128.2711.07068.096-.01061.1848-.05624.2492-.12818 1.1717-.91037 2.554-1.14355 4.0034-1.17869zm-6.3849-9.1037c.0245-.362-.0267-.7251-.1504-1.0661-.1238-.341-.3173-.6524-.5682-.9143-.2509-.2618-.5537-.4684-.889-.6065s-.6957-.2046-1.0581-.1953c-.7289.0137-1.4239.3107-1.9377.8281-.5139.5174-.8064 1.2146-.8155 1.944s.2658 1.4337.7666 1.9638c.5007.5301 1.188.8444 1.9163.8764 1.5612.0192 2.7136-1.1691 2.736-2.8301z"}),s.jsxRuntimeExports.jsx("path",{d:"m34.1057 6.80968v18.20732c-.5363-.0511-1.0694-.0607-1.5962-.1629-.8807-.1549-1.714-.51-2.4358-1.0381-.0738-.0371-.1553-.0564-.2379-.0564s-.164.0193-.2378.0564c-1.5131.85-3.2341 1.2583-4.9675 1.1787-1.9966-.0702-3.9102-.8169-5.4271-2.1178-1.0238-.8288-1.8471-1.8785-2.4082-3.0705s-.8456-2.4956-.8322-3.8132c-.0396-1.8326.487-3.6327 1.5081-5.1546 1.021-1.52185 2.4867-2.69128 4.1968-3.34854 1.2775-.53907 2.6638-.76993 4.0469-.67393 1.3831.09599 2.7243.51615 3.9151 1.22654.0676.03326.1418.05055.2171.05055s.1496-.01729.2171-.05055c1.178-.92953 2.5508-1.1723 4.0416-1.23299zm-6.3498 9.01422c0-1.6163-1.1397-2.7598-2.7072-2.7439-.368.0028-.732.078-1.071.2215-.3391.1434-.6465.3523-.9049.6147-.2583.2623-.4625.573-.6009.9143-.1383.3413-.2081.7066-.2054 1.0749s.0779.7324.2213 1.0716c.1434.3393.3522.6469.6144.9054s.5727.4628.9138.6012c.3411.1385.7062.2083 1.0742.2056 1.5356-.016 2.6849-1.2426 2.6657-2.8653z"}),s.jsxRuntimeExports.jsx("path",{d:"m34.1057 6.80968v18.20732c-.5363-.0511-1.0694-.0607-1.5962-.1629-.8807-.1549-1.714-.51-2.4358-1.0381-.0738-.0371-.1553-.0564-.2379-.0564s-.164.0193-.2378.0564c-1.5131.85-3.2341 1.2583-4.9675 1.1787-1.9966-.0702-3.9102-.8169-5.4271-2.1178-1.0238-.8288-1.8471-1.8785-2.4082-3.0705s-.8456-2.4956-.8322-3.8132c-.0396-1.8326.487-3.6327 1.5081-5.1546 1.021-1.52185 2.4867-2.69128 4.1968-3.34854 1.2775-.53907 2.6638-.76993 4.0469-.67393 1.3831.09599 2.7243.51615 3.9151 1.22654.0676.03326.1418.05055.2171.05055s.1496-.01729.2171-.05055c1.178-.92953 2.5508-1.1723 4.0416-1.23299zm-6.3498 9.01422c0-1.6163-1.1397-2.7598-2.7072-2.7439-.368.0028-.732.078-1.071.2215-.3391.1434-.6465.3523-.9049.6147-.2583.2623-.4625.573-.6009.9143-.1383.3413-.2081.7066-.2054 1.0749s.0779.7324.2213 1.0716c.1434.3393.3522.6469.6144.9054s.5727.4628.9138.6012c.3411.1385.7062.2083 1.0742.2056 1.5356-.016 2.6849-1.2426 2.6657-2.8653z"}),s.jsxRuntimeExports.jsxs("g",{opacity:.8,children:[s.jsxRuntimeExports.jsx("path",{d:"m50.0654 51.3369c-1.0869 0-2.0234-.2427-2.8095-.728-.7793-.4922-1.3775-1.1724-1.7945-2.0405-.417-.875-.6255-1.8833-.6255-3.0249s.2085-2.1534.6255-3.0352c.4239-.8818 1.0152-1.5723 1.774-2.0713.7656-.499 1.6508-.7485 2.6557-.7485.6631 0 1.292.1162 1.8867.3486.6016.2256 1.1314.5742 1.5894 1.0459.4648.4717.8271 1.0664 1.0869 1.7842.2666.7178.3999 1.562.3999 2.5327v.6563h-8.9004v-1.5279h7.916l-.8203.5537c0-.7451-.123-1.4013-.3691-1.9687-.2461-.5742-.605-1.0186-1.0767-1.333-.4648-.3213-1.0356-.482-1.7124-.482-.6699 0-1.2475.1607-1.7329.482-.4853.3213-.8613.7553-1.1279 1.3022-.2598.5401-.3897 1.145-.3897 1.815v.9228c0 .8067.1402 1.5039.4204 2.0918.2803.5811.6768 1.0288 1.1895 1.3433.5195.3076 1.1279.4614 1.8252.4614.4717 0 .8955-.0684 1.2715-.2051.3828-.1435.7041-.352.9638-.6255.2666-.2734.4649-.6015.5948-.9843l1.7636.2973c-.164.6221-.458 1.169-.8818 1.6406-.4238.4717-.9536.8409-1.5894 1.1075-.6357.2597-1.3466.3896-2.1328.3896z"}),s.jsxRuntimeExports.jsx("path",{d:"m37.1343 51.3164c-.9434 0-1.7774-.2393-2.502-.7178s-1.2885-1.1518-1.6919-2.02c-.3965-.875-.5947-1.9004-.5947-3.0762 0-1.1757.2017-2.1977.605-3.0659.4033-.8681.9639-1.5381 1.6816-2.0097.7246-.4786 1.5586-.7178 2.502-.7178.6426 0 1.1792.1025 1.6098.3076.4375.1982.793.4443 1.0664.7383.2803.2939.5059.581.6768.8613h.0923v-5.8037h1.8047v15.2783h-1.7534v-1.7226h-.1333c-.1778.2939-.4102.5913-.6973.8921-.2803.3007-.6392.5537-1.0767.7587-.4306.1983-.9604.2974-1.5893.2974zm.2666-1.6099c.6904 0 1.2749-.1777 1.7534-.5332.4853-.3554.8545-.8476 1.1074-1.4765.2598-.6358.3897-1.3706.3897-2.2046 0-.8408-.1265-1.5723-.3794-2.1943-.253-.6221-.6221-1.1075-1.1074-1.4561-.4854-.3486-1.0733-.523-1.7637-.523-.6836 0-1.2681.1744-1.7534.523-.4786.3486-.8443.8374-1.0972 1.4663-.2529.6221-.3794 1.3501-.3794 2.1841 0 .8271.1265 1.5586.3794 2.1943.2598.6289.6289 1.1245 1.1074 1.4868.4854.3555 1.0664.5332 1.7432.5332z"}),s.jsxRuntimeExports.jsx("path",{d:"m28.1001 51.0908v-11.2178h1.8047v11.2178zm.9023-13.1865c-.3349 0-.6254-.1162-.8715-.3486-.2461-.2393-.3692-.5264-.3692-.8614 0-.3349.1231-.6186.3692-.851.2461-.2393.5366-.3589.8715-.3589.3487 0 .646.1196.8921.3589.2461.2324.3692.5195.3692.8613 0 .3281-.1231.6118-.3692.8511-.2461.2324-.5434.3486-.8921.3486z"}),s.jsxRuntimeExports.jsx("path",{d:"m19.96 51.2549c-.752 0-1.4253-.1572-2.0201-.4717-.5947-.3213-1.0595-.7998-1.3945-1.4355-.335-.6426-.5024-1.4458-.5024-2.4097v-7.065h1.8047v6.9214c0 .9024.229 1.5996.687 2.0918s1.0903.7383 1.8969.7383c.5332 0 1.0152-.1128 1.4458-.3384.4375-.2324.7828-.5776 1.0357-1.0356.2529-.4649.3794-1.0357.3794-1.7124v-6.6651h1.8149v11.2178h-1.7534v-2.7173h.3486c-.3554 1.0323-.8579 1.7705-1.5073 2.2149-.6426.4443-1.3877.6665-2.2353.6665z"}),s.jsxRuntimeExports.jsx("path",{d:"m7.01953 51.3164c-1.36035 0-2.55664-.3247-3.58887-.9741-1.03222-.6563-1.84228-1.5723-2.43017-2.7481-.581056-1.1757-.871584-2.5532-.871584-4.1323 0-1.5928.290528-2.977.871584-4.1528.58105-1.1758 1.38428-2.0884 2.40967-2.7378 1.03222-.6563 2.21142-.9844 3.53759-.9844.80664 0 1.56202.1231 2.26612.3692.7041.246 1.33303.5947 1.88673 1.0459.5605.4511 1.0254.9877 1.3945 1.6098.3692.6153.6221 1.2988.7588 2.0508h-1.9585c-.1367-.499-.3384-.9502-.605-1.3535s-.5879-.7486-.96384-1.0357c-.36914-.2939-.78955-.5195-1.26123-.6767-.46484-.1572-.9707-.2359-1.51758-.2359-.94336 0-1.78759.2427-2.53271.7281-.74512.4853-1.33301 1.1826-1.76367 2.0918-.43067.9091-.646 2.0029-.646 3.2812 0 1.2647.21533 2.3516.646 3.2608.43066.9023 1.02197 1.5996 1.77392 2.0918.75879.4853 1.62354.728 2.59424.728.86133 0 1.62695-.1846 2.29688-.5537.66992-.376 1.19629-.9024 1.57909-1.5791.3897-.6768.5845-1.4732.5845-2.3892l.5845.082h-4.55278v-1.6713h5.84468v1.6611c0 1.2373-.2768 2.3242-.8305 3.2607-.5469.9297-1.2988 1.6577-2.2559 2.1841-.95018.5195-2.03367.7793-3.25047.7793z"})]})]})})}const m=["default","flat"];function d({variant:c="default",height:t=56}){return s.jsxRuntimeExports.jsxs(n.default,{direction:"row",preset:"start",style:{gap:t/3},children:[c==="flat"?s.jsxRuntimeExports.jsx(o.default,{width:t,height:t,fill:"var(--foreground-color)"}):s.jsxRuntimeExports.jsx(r.default,{size:t}),s.jsxRuntimeExports.jsx(e,{height:t-2,className:"kakadu-components-3861346893"}),s.jsxRuntimeExports.jsx(a.default,{children:"Kakadu Guide"})]})}exports.KakaduGuideLogoSvg=e;exports.default=d;exports.kakaduGuideLogoVariants=m;
@@ -1,8 +1,8 @@
1
1
  import { j as c } from "../jsx-runtime-B4hRZ52C.mjs";
2
- import m from "../icons/kakadu-guide-icon.mjs";
3
- import d from "../utilities/scale.mjs";
4
- import i, { FlexAlignment as l } from "./flex.mjs";
5
- import o from "./kakadu-guide-icon.mjs";
2
+ import h from "../icons/kakadu-guide-icon.mjs";
3
+ import m from "../utilities/scale.mjs";
4
+ import o from "./flex.mjs";
5
+ import i from "./kakadu-guide-icon.mjs";
6
6
  import r from "./aria-text.mjs";
7
7
  function v({
8
8
  fill: t,
@@ -10,14 +10,14 @@ function v({
10
10
  }) {
11
11
  const {
12
12
  width: a,
13
- height: h
14
- } = d({
13
+ height: d
14
+ } = m({
15
15
  originalWidth: 110,
16
16
  originalHeight: 52,
17
17
  width: s.width,
18
18
  height: s.height
19
19
  });
20
- return /* @__PURE__ */ c.jsx("svg", { fill: "none", viewBox: "0 0 110 52", xmlns: "http://www.w3.org/2000/svg", ...s, width: a, height: h, children: /* @__PURE__ */ c.jsxs("g", { fill: t ?? "currentColor", children: [
20
+ return /* @__PURE__ */ c.jsx("svg", { fill: "none", viewBox: "0 0 110 52", xmlns: "http://www.w3.org/2000/svg", ...s, width: a, height: d, children: /* @__PURE__ */ c.jsxs("g", { fill: t ?? "currentColor", children: [
21
21
  /* @__PURE__ */ c.jsx("path", { d: "m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z" }),
22
22
  /* @__PURE__ */ c.jsx("path", { d: "m83.6751 7.23154v-7.22863441c2.8285-.07346819 5.2867 1.24257441 6.0656 4.37295441.1611.66727.2415 1.35149.2395 2.03795.017 6.02229.017 12.04559 0 18.06999v.4983c-1.4686-.0224-2.8286-.2971-4.0066-1.1723-.0767-.0743-.1774-.1187-.284-.1252-.1066-.0064-.2119.0255-.297.0901-4.7376 2.68-10.7937.6899-12.8624-4.3379-1.443-3.5136-.9066-6.8229 1.6697-9.64026 2.4773-2.70874 5.5931-3.53606 9.1591-2.6225zm0 8.66606c.0121-.3664-.0502-.7315-.1832-1.0731-.1331-.3416-.334-.6527-.5907-.9143s-.5638-.4683-.9027-.6077-.7026-.2085-1.0689-.2031c-.7409-.0059-1.4538.2829-1.9818.8028-.5281.52-.8281 1.2286-.834 1.9698-.0059.7413.2827 1.4546.8024 1.9829.5197.5284 1.2278.8286 1.9687.8345.3672.0047.7317-.0643 1.0719-.203.3401-.1388.649-.3444.9083-.6047.2592-.2603.4637-.5701.6012-.9109.1374-.3408.2052-.7057.1992-1.0732z" }),
23
23
  /* @__PURE__ */ c.jsx("path", { d: "m91.8753 6.81641c1.8165.03194 3.435.44719 4.6929 1.79198.9983 1.09201 1.5656 2.51001 1.5962 3.98961.0575 1.0701 0 2.1466.0223 3.2231-.0244.6209.1648 1.2315.5361 1.7297.3713.4983.9021.854 1.5042 1.0077 1.542.4504 3.294-.7762 3.31-2.3701.029-2.9675 0-5.9318.019-8.89605v-.45678c2.995-.0543 5.578 1.37673 6.168 4.75943.407 2.2104.363 4.4802-.131 6.6729-.775 3.3252-3.875 6.0467-7.259 6.5866-1.835.2898-3.7145.0093-5.3849-.8035-1.6705-.8129-3.0514-2.119-3.9565-3.742-.744-1.3135-1.1304-2.7993-1.1205-4.3091 0-2.9802 0-5.9573 0-8.94392-.0096-.06708-.0032-.14375.0032-.23957z" }),
@@ -39,21 +39,21 @@ function v({
39
39
  ] })
40
40
  ] }) });
41
41
  }
42
- var x = /* @__PURE__ */ ((t) => (t.default = "default", t.flat = "flat", t))(x || {});
43
- function f({
42
+ const z = ["default", "flat"];
43
+ function u({
44
44
  variant: t = "default",
45
45
  height: s = 56
46
46
  }) {
47
- return /* @__PURE__ */ c.jsxs(i, { direction: "row", alignment: l.start, style: {
47
+ return /* @__PURE__ */ c.jsxs(o, { direction: "row", preset: "start", style: {
48
48
  gap: s / 3
49
49
  }, children: [
50
- t === "flat" ? /* @__PURE__ */ c.jsx(m, { width: s, height: s, fill: "var(--foreground-color)" }) : /* @__PURE__ */ c.jsx(o, { size: s }),
50
+ t === "flat" ? /* @__PURE__ */ c.jsx(h, { width: s, height: s, fill: "var(--foreground-color)" }) : /* @__PURE__ */ c.jsx(i, { size: s }),
51
51
  /* @__PURE__ */ c.jsx(v, { height: s - 2, className: "kakadu-components-3861346893" }),
52
52
  /* @__PURE__ */ c.jsx(r, { children: "Kakadu Guide" })
53
53
  ] });
54
54
  }
55
55
  export {
56
56
  v as KakaduGuideLogoSvg,
57
- x as KakaduGuideLogoVariant,
58
- f as default
57
+ u as default,
58
+ z as kakaduGuideLogoVariants
59
59
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../jsx-runtime-BB_1_6y_.js"),e=require("react"),k=require("@kuma-ui/core"),P=require("react-dom"),$=require("../focus-trap-react-CcpTuiJi.js"),B=require("../icons/icon.js"),D=require("./text-button.js"),I=require("./decorators.js"),v=require("./flex.js"),z=require("./atom.js"),C=require("./text.js"),y=e.createContext({isVisible:!1,isInteractive:!1}),{Provider:G}=y;function _(){return e.useContext(y)}function J(){const{isInteractive:s,close:o}=_(),r=e.useCallback(()=>{o==null||o()},[o]);return n.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2566044647",children:n.jsxRuntimeExports.jsx(D.default,{iconLeft:B.IconType.times,label:"Close",disabled:!s,onClick:r})})}function K(s){return n.jsxRuntimeExports.jsx(v.default,{gap:2,...s})}function Q({as:s,className:o,...r}){return n.jsxRuntimeExports.jsx(C.Heading,{...r,as:s??C.defaultHeadingElementType,className:k.cx("kakadu-components-4275938488",o)})}function U({as:s,...o}){return n.jsxRuntimeExports.jsx(v.default,{direction:"row",gap:1,alignment:v.FlexAlignment.end,...o,as:s??z.defaultAtomElementType})}function V({root:s,outerDecorators:o=[],innerDecorators:r=[],label:m,maxWidth:c,className:f,isVisible:a,isFullWidth:l=!1,shouldCloseOnOutsideClick:i=!0,shouldCloseOnEscapePress:d=!0,showCloseButton:L=!0,onClose:p,children:N}){const R=e.useRef(null),M=e.useRef(null),[g,S]=e.useState(!1),[u,x]=e.useState(!1),q=e.useCallback(t=>{R.current=t,x(!1)},[]),E=e.useRef(null),T=e.useCallback(t=>{t&&(E.current=t)},[]),[b,h]=e.useState(a??!1),A=e.useMemo(()=>({isVisible:b,isInteractive:u,setInitialFocus:T,close:q}),[b,u,T,q]);e.useEffect(()=>{a&&(S(!0),h(!0))},[a]),e.useEffect(()=>{if(a){const t=setTimeout(()=>{x(!0)},100);return()=>{clearTimeout(t)}}x(!1)},[a]),e.useEffect(()=>{if(g&&!u){const t=setTimeout(()=>{p==null||p(R.current??void 0),h(!1)},370);return()=>{clearTimeout(t)}}},[g,u,p]),e.useEffect(()=>{const t=M.current;if(a&&i&&t){const j=H=>{t===H.target&&x(!1)};return t.addEventListener("click",j),()=>{t.removeEventListener("click",j)}}},[a,i]),e.useEffect(()=>{if(!a||!d)return;const t=j=>{j.key==="Escape"&&x(!1)};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[a,d]);const F=e.useMemo(()=>({initialFocus:()=>E.current??void 0,onActivate:()=>{var t;return(t=E.current)==null?void 0:t.focus()}}),[]),w=n.jsxRuntimeExports.jsx(I.default,{decorators:o,children:n.jsxRuntimeExports.jsx("div",{"aria-hidden":!u,style:{"--max-width":c?`${c}px`:void 0},className:k.cx("kakadu-components-4119461136",u&&"kakadu-components-2522346797",f),children:n.jsxRuntimeExports.jsx(I.default,{decorators:r,children:n.jsxRuntimeExports.jsx($.focusTrapReactExports.FocusTrap,{active:u,focusTrapOptions:F,children:n.jsxRuntimeExports.jsx("div",{ref:M,className:"kakadu-components-4011815997",children:n.jsxRuntimeExports.jsx("div",{role:"dialog","aria-modal":"true","aria-label":m??"Modal",className:k.cx("kakadu-components-3324483532",l&&"kakadu-components-3799971070",u&&"kakadu-components-968755580"),children:n.jsxRuntimeExports.jsxs(G,{value:A,children:[L?n.jsxRuntimeExports.jsx(J,{}):null,n.jsxRuntimeExports.jsx("div",{className:k.cx("kakadu-components-633990035",l&&"kakadu-components-171969824"),children:N})]})})})})})})});return s?P.createPortal(w,s):w}function X(s,o){const[r,m]=e.useState(!1),c=e.useRef(void 0),f=e.useCallback(async()=>(m(!0),new Promise(i=>{c.current=i})),[]),a=e.useCallback(i=>{var d;m(!1),(d=c.current)==null||d.call(c,i),c.current=void 0},[]),l=e.useMemo(()=>n.jsxRuntimeExports.jsx(s,{...o,isVisible:r,onClose:a}),[s,o,r,a]);return e.useMemo(()=>({isVisible:r,show:f,modal:l}),[r,f,l])}exports.ModalActions=U;exports.ModalContent=K;exports.ModalHeading=Q;exports.default=V;exports.useModal=X;exports.useModalContext=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../jsx-runtime-BB_1_6y_.js"),e=require("react"),k=require("@kuma-ui/core"),P=require("react-dom"),$=require("../focus-trap-react-CcpTuiJi.js"),B=require("./text-button.js"),T=require("./decorators.js"),I=require("./flex.js"),D=require("./atom.js"),C=require("./text.js"),y=e.createContext({isVisible:!1,isInteractive:!1}),{Provider:z}=y;function _(){return e.useContext(y)}function G(){const{isInteractive:n,close:o}=_(),r=e.useCallback(()=>{o==null||o()},[o]);return s.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2566044647",children:s.jsxRuntimeExports.jsx(B.default,{iconLeft:"times",label:"Close",disabled:!n,onClick:r})})}function J(n){return s.jsxRuntimeExports.jsx(I.default,{gap:2,...n})}function K({as:n,className:o,...r}){return s.jsxRuntimeExports.jsx(C.Heading,{...r,as:n??C.defaultHeadingElementType,className:k.cx("kakadu-components-4275938488",o)})}function Q({as:n,...o}){return s.jsxRuntimeExports.jsx(I.default,{direction:"row",gap:1,preset:"end",...o,as:n??D.defaultAtomElementType})}function U({root:n,outerDecorators:o=[],innerDecorators:r=[],label:f,maxWidth:c,className:m,isVisible:a,isFullWidth:l=!1,shouldCloseOnOutsideClick:i=!0,shouldCloseOnEscapePress:d=!0,showCloseButton:L=!0,onClose:p,children:N}){const v=e.useRef(null),R=e.useRef(null),[M,S]=e.useState(!1),[u,x]=e.useState(!1),b=e.useCallback(t=>{v.current=t,x(!1)},[]),E=e.useRef(null),g=e.useCallback(t=>{t&&(E.current=t)},[]),[h,q]=e.useState(a??!1),A=e.useMemo(()=>({isVisible:h,isInteractive:u,setInitialFocus:g,close:b}),[h,u,g,b]);e.useEffect(()=>{a&&(S(!0),q(!0))},[a]),e.useEffect(()=>{if(a){const t=setTimeout(()=>{x(!0)},100);return()=>{clearTimeout(t)}}x(!1)},[a]),e.useEffect(()=>{if(M&&!u){const t=setTimeout(()=>{p==null||p(v.current??void 0),q(!1)},370);return()=>{clearTimeout(t)}}},[M,u,p]),e.useEffect(()=>{const t=R.current;if(a&&i&&t){const j=H=>{t===H.target&&x(!1)};return t.addEventListener("click",j),()=>{t.removeEventListener("click",j)}}},[a,i]),e.useEffect(()=>{if(!a||!d)return;const t=j=>{j.key==="Escape"&&x(!1)};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[a,d]);const F=e.useMemo(()=>({initialFocus:()=>E.current??void 0,onActivate:()=>{var t;return(t=E.current)==null?void 0:t.focus()}}),[]),w=s.jsxRuntimeExports.jsx(T.default,{decorators:o,children:s.jsxRuntimeExports.jsx("div",{"aria-hidden":!u,style:{"--max-width":c?`${c}px`:void 0},className:k.cx("kakadu-components-4119461136",u&&"kakadu-components-2522346797",m),children:s.jsxRuntimeExports.jsx(T.default,{decorators:r,children:s.jsxRuntimeExports.jsx($.focusTrapReactExports.FocusTrap,{active:u,focusTrapOptions:F,children:s.jsxRuntimeExports.jsx("div",{ref:R,className:"kakadu-components-4011815997",children:s.jsxRuntimeExports.jsx("div",{role:"dialog","aria-modal":"true","aria-label":f??"Modal",className:k.cx("kakadu-components-3324483532",l&&"kakadu-components-3799971070",u&&"kakadu-components-968755580"),children:s.jsxRuntimeExports.jsxs(z,{value:A,children:[L?s.jsxRuntimeExports.jsx(G,{}):null,s.jsxRuntimeExports.jsx("div",{className:k.cx("kakadu-components-633990035",l&&"kakadu-components-171969824"),children:N})]})})})})})})});return n?P.createPortal(w,n):w}function V(n,o){const[r,f]=e.useState(!1),c=e.useRef(void 0),m=e.useCallback(async()=>(f(!0),new Promise(i=>{c.current=i})),[]),a=e.useCallback(i=>{var d;f(!1),(d=c.current)==null||d.call(c,i),c.current=void 0},[]),l=e.useMemo(()=>s.jsxRuntimeExports.jsx(n,{...o,isVisible:r,onClose:a}),[n,o,r,a]);return e.useMemo(()=>({isVisible:r,show:m,modal:l}),[r,m,l])}exports.ModalActions=Q;exports.ModalContent=J;exports.ModalHeading=K;exports.default=U;exports.useModal=V;exports.useModalContext=_;
@@ -3,75 +3,74 @@ import { createContext as q, useRef as j, useState as h, useCallback as f, useMe
3
3
  import { cx as w } from "@kuma-ui/core";
4
4
  import { createPortal as G } from "react-dom";
5
5
  import { f as J } from "../focus-trap-react-DYXrtbDH.mjs";
6
- import { IconType as K } from "../icons/icon.mjs";
7
- import Q from "./text-button.mjs";
8
- import b from "./decorators.mjs";
9
- import A, { FlexAlignment as U } from "./flex.mjs";
10
- import { defaultAtomElementType as V } from "./atom.mjs";
11
- import { Heading as X, defaultHeadingElementType as Y } from "./text.mjs";
12
- const C = q({
6
+ import K from "./text-button.mjs";
7
+ import F from "./decorators.mjs";
8
+ import C from "./flex.mjs";
9
+ import { defaultAtomElementType as Q } from "./atom.mjs";
10
+ import { Heading as U, defaultHeadingElementType as V } from "./text.mjs";
11
+ const A = q({
13
12
  isVisible: !1,
14
13
  isInteractive: !1
15
14
  }), {
16
- Provider: Z
17
- } = C;
18
- function _() {
19
- return z(C);
15
+ Provider: X
16
+ } = A;
17
+ function Y() {
18
+ return z(A);
20
19
  }
21
- function W() {
20
+ function Z() {
22
21
  const {
23
22
  isInteractive: n,
24
23
  close: o
25
- } = _(), s = f(() => {
24
+ } = Y(), r = f(() => {
26
25
  o == null || o();
27
26
  }, [o]);
28
- return /* @__PURE__ */ t.jsx("div", { className: "kakadu-components-2566044647", children: /* @__PURE__ */ t.jsx(Q, { iconLeft: K.times, label: "Close", disabled: !n, onClick: s }) });
27
+ return /* @__PURE__ */ t.jsx("div", { className: "kakadu-components-2566044647", children: /* @__PURE__ */ t.jsx(K, { iconLeft: "times", label: "Close", disabled: !n, onClick: r }) });
29
28
  }
30
- function ue(n) {
31
- return /* @__PURE__ */ t.jsx(A, { gap: 2, ...n });
29
+ function ce(n) {
30
+ return /* @__PURE__ */ t.jsx(C, { gap: 2, ...n });
32
31
  }
33
- function de({
32
+ function ie({
34
33
  as: n,
35
34
  className: o,
36
- ...s
35
+ ...r
37
36
  }) {
38
- return /* @__PURE__ */ t.jsx(X, { ...s, as: n ?? Y, className: w("kakadu-components-4275938488", o) });
37
+ return /* @__PURE__ */ t.jsx(U, { ...r, as: n ?? V, className: w("kakadu-components-4275938488", o) });
39
38
  }
40
- function me({
39
+ function ue({
41
40
  as: n,
42
41
  ...o
43
42
  }) {
44
- return /* @__PURE__ */ t.jsx(A, { direction: "row", gap: 1, alignment: U.end, ...o, as: n ?? V });
43
+ return /* @__PURE__ */ t.jsx(C, { direction: "row", gap: 1, preset: "end", ...o, as: n ?? Q });
45
44
  }
46
- function fe({
45
+ function le({
47
46
  root: n,
48
47
  outerDecorators: o = [],
49
- innerDecorators: s = [],
48
+ innerDecorators: r = [],
50
49
  label: p,
51
50
  maxWidth: a,
52
51
  className: x,
53
- isVisible: r,
54
- isFullWidth: l = !1,
52
+ isVisible: s,
53
+ isFullWidth: u = !1,
55
54
  shouldCloseOnOutsideClick: i = !0,
56
- shouldCloseOnEscapePress: u = !0,
55
+ shouldCloseOnEscapePress: l = !0,
57
56
  showCloseButton: H = !0,
58
57
  onClose: k,
59
58
  children: B
60
59
  }) {
61
- const g = j(null), E = j(null), [M, P] = h(!1), [c, d] = h(!1), y = f((e) => {
62
- g.current = e, d(!1);
63
- }, []), T = j(null), F = f((e) => {
60
+ const E = j(null), M = j(null), [g, P] = h(!1), [c, d] = h(!1), y = f((e) => {
61
+ E.current = e, d(!1);
62
+ }, []), T = j(null), L = f((e) => {
64
63
  e && (T.current = e);
65
- }, []), [L, N] = h(r ?? !1), D = I(() => ({
66
- isVisible: L,
64
+ }, []), [N, R] = h(s ?? !1), D = I(() => ({
65
+ isVisible: N,
67
66
  isInteractive: c,
68
- setInitialFocus: F,
67
+ setInitialFocus: L,
69
68
  close: y
70
- }), [L, c, F, y]);
69
+ }), [N, c, L, y]);
71
70
  m(() => {
72
- r && (P(!0), N(!0));
73
- }, [r]), m(() => {
74
- if (r) {
71
+ s && (P(!0), R(!0));
72
+ }, [s]), m(() => {
73
+ if (s) {
75
74
  const e = setTimeout(() => {
76
75
  d(!0);
77
76
  }, 100);
@@ -80,18 +79,18 @@ function fe({
80
79
  };
81
80
  }
82
81
  d(!1);
83
- }, [r]), m(() => {
84
- if (M && !c) {
82
+ }, [s]), m(() => {
83
+ if (g && !c) {
85
84
  const e = setTimeout(() => {
86
- k == null || k(g.current ?? void 0), N(!1);
85
+ k == null || k(E.current ?? void 0), R(!1);
87
86
  }, 370);
88
87
  return () => {
89
88
  clearTimeout(e);
90
89
  };
91
90
  }
92
- }, [M, c, k]), m(() => {
93
- const e = E.current;
94
- if (r && i && e) {
91
+ }, [g, c, k]), m(() => {
92
+ const e = M.current;
93
+ if (s && i && e) {
95
94
  const v = ($) => {
96
95
  e === $.target && d(!1);
97
96
  };
@@ -99,8 +98,8 @@ function fe({
99
98
  e.removeEventListener("click", v);
100
99
  };
101
100
  }
102
- }, [r, i]), m(() => {
103
- if (!r || !u)
101
+ }, [s, i]), m(() => {
102
+ if (!s || !l)
104
103
  return;
105
104
  const e = (v) => {
106
105
  v.key === "Escape" && d(!1);
@@ -108,39 +107,39 @@ function fe({
108
107
  return window.addEventListener("keydown", e), () => {
109
108
  window.removeEventListener("keydown", e);
110
109
  };
111
- }, [r, u]);
110
+ }, [s, l]);
112
111
  const S = I(() => ({
113
112
  initialFocus: () => T.current ?? void 0,
114
113
  onActivate: () => {
115
114
  var e;
116
115
  return (e = T.current) == null ? void 0 : e.focus();
117
116
  }
118
- }), []), R = /* @__PURE__ */ t.jsx(b, { decorators: o, children: /* @__PURE__ */ t.jsx("div", { "aria-hidden": !c, style: {
117
+ }), []), b = /* @__PURE__ */ t.jsx(F, { decorators: o, children: /* @__PURE__ */ t.jsx("div", { "aria-hidden": !c, style: {
119
118
  "--max-width": a ? `${a}px` : void 0
120
- }, className: w("kakadu-components-4119461136", c && "kakadu-components-2522346797", x), children: /* @__PURE__ */ t.jsx(b, { decorators: s, children: /* @__PURE__ */ t.jsx(J.FocusTrap, { active: c, focusTrapOptions: S, children: /* @__PURE__ */ t.jsx("div", { ref: E, className: "kakadu-components-4011815997", children: /* @__PURE__ */ t.jsx("div", { role: "dialog", "aria-modal": "true", "aria-label": p ?? "Modal", className: w("kakadu-components-3324483532", l && "kakadu-components-3799971070", c && "kakadu-components-968755580"), children: /* @__PURE__ */ t.jsxs(Z, { value: D, children: [
121
- H ? /* @__PURE__ */ t.jsx(W, {}) : null,
122
- /* @__PURE__ */ t.jsx("div", { className: w("kakadu-components-633990035", l && "kakadu-components-171969824"), children: B })
119
+ }, className: w("kakadu-components-4119461136", c && "kakadu-components-2522346797", x), children: /* @__PURE__ */ t.jsx(F, { decorators: r, children: /* @__PURE__ */ t.jsx(J.FocusTrap, { active: c, focusTrapOptions: S, children: /* @__PURE__ */ t.jsx("div", { ref: M, className: "kakadu-components-4011815997", children: /* @__PURE__ */ t.jsx("div", { role: "dialog", "aria-modal": "true", "aria-label": p ?? "Modal", className: w("kakadu-components-3324483532", u && "kakadu-components-3799971070", c && "kakadu-components-968755580"), children: /* @__PURE__ */ t.jsxs(X, { value: D, children: [
120
+ H ? /* @__PURE__ */ t.jsx(Z, {}) : null,
121
+ /* @__PURE__ */ t.jsx("div", { className: w("kakadu-components-633990035", u && "kakadu-components-171969824"), children: B })
123
122
  ] }) }) }) }) }) }) });
124
- return n ? G(R, n) : R;
123
+ return n ? G(b, n) : b;
125
124
  }
126
- function pe(n, o) {
127
- const [s, p] = h(!1), a = j(void 0), x = f(async () => (p(!0), new Promise((i) => {
125
+ function de(n, o) {
126
+ const [r, p] = h(!1), a = j(void 0), x = f(async () => (p(!0), new Promise((i) => {
128
127
  a.current = i;
129
- })), []), r = f((i) => {
130
- var u;
131
- p(!1), (u = a.current) == null || u.call(a, i), a.current = void 0;
132
- }, []), l = I(() => /* @__PURE__ */ t.jsx(n, { ...o, isVisible: s, onClose: r }), [n, o, s, r]);
128
+ })), []), s = f((i) => {
129
+ var l;
130
+ p(!1), (l = a.current) == null || l.call(a, i), a.current = void 0;
131
+ }, []), u = I(() => /* @__PURE__ */ t.jsx(n, { ...o, isVisible: r, onClose: s }), [n, o, r, s]);
133
132
  return I(() => ({
134
- isVisible: s,
133
+ isVisible: r,
135
134
  show: x,
136
- modal: l
137
- }), [s, x, l]);
135
+ modal: u
136
+ }), [r, x, u]);
138
137
  }
139
138
  export {
140
- me as ModalActions,
141
- ue as ModalContent,
142
- de as ModalHeading,
143
- fe as default,
144
- pe as useModal,
145
- _ as useModalContext
139
+ ue as ModalActions,
140
+ ce as ModalContent,
141
+ ie as ModalHeading,
142
+ le as default,
143
+ de as useModal,
144
+ Y as useModalContext
146
145
  };
@@ -1,12 +1,7 @@
1
1
  import { type HTMLProps } from 'react';
2
2
  import { type IconType } from '../icons/icon';
3
- export declare enum NoticeType {
4
- default = "default",
5
- success = "success",
6
- information = "information",
7
- warning = "warning",
8
- danger = "danger"
9
- }
3
+ export declare const noticeTypes: readonly ["default", "success", "information", "warning", "danger"];
4
+ export type NoticeType = (typeof noticeTypes)[number];
10
5
  export type NoticeProperties = HTMLProps<HTMLDivElement> & {
11
6
  readonly type?: NoticeType;
12
7
  readonly icon?: IconType;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jsx-runtime-BB_1_6y_.js"),t=require("@kuma-ui/core"),c=require("../icons/icon.js"),p=require("./text.js");var r=(n=>(n.default="default",n.success="success",n.information="information",n.warning="warning",n.danger="danger",n))(r||{});function j({type:n="default",icon:a,className:u,children:o,...i}){const d=n==="success",m=n==="information",k=n==="warning",l=n==="danger",s=!!a,x=!!o;return e.jsxRuntimeExports.jsxs("aside",{...i,className:t.cx("kakadu-components-1434967310",s&&"kakadu-components-2945174293",d&&(s?"kakadu-components-2585123369":"kakadu-components-1387450724"),m&&(s?"kakadu-components-3663522234":"kakadu-components-728842914"),k&&(s?"kakadu-components-3502407303":"kakadu-components-1612824642"),l&&(s?"kakadu-components-314765189":"kakadu-components-4209515987"),u),children:[e.jsxRuntimeExports.jsx("div",{"data-theme":"dark",className:t.cx("kakadu-components-3327291559",s&&"kakadu-components-3906762683"),children:a&&e.jsxRuntimeExports.jsx(c.default,{width:14,height:14,type:a,className:c.iconShadowStyles})}),e.jsxRuntimeExports.jsx(p.Span,{className:"kakadu-components-1969958615",children:x?o:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:" "})})]})}exports.NoticeType=r;exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../jsx-runtime-BB_1_6y_.js"),a=require("@kuma-ui/core"),c=require("../icons/icon.js"),x=require("./text.js"),l=["default","success","information","warning","danger"];function j({type:e="default",icon:o,className:i,children:t,...r}){const u=e==="success",d=e==="information",m=e==="warning",k=e==="danger",n=!!o,p=!!t;return s.jsxRuntimeExports.jsxs("aside",{...r,className:a.cx("kakadu-components-1434967310",n&&"kakadu-components-2945174293",u&&(n?"kakadu-components-2585123369":"kakadu-components-1387450724"),d&&(n?"kakadu-components-3663522234":"kakadu-components-728842914"),m&&(n?"kakadu-components-3502407303":"kakadu-components-1612824642"),k&&(n?"kakadu-components-314765189":"kakadu-components-4209515987"),i),children:[s.jsxRuntimeExports.jsx("div",{"data-theme":"dark",className:a.cx("kakadu-components-3327291559",n&&"kakadu-components-3906762683"),children:o&&s.jsxRuntimeExports.jsx(c.default,{width:14,height:14,type:o,className:c.iconShadowStyles})}),s.jsxRuntimeExports.jsx(x.Span,{className:"kakadu-components-1969958615",children:p?t:s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:" "})})]})}exports.default=j;exports.noticeTypes=l;
@@ -1,22 +1,22 @@
1
- import { j as s } from "../jsx-runtime-B4hRZ52C.mjs";
2
- import { cx as e } from "@kuma-ui/core";
3
- import l, { iconShadowStyles as p } from "../icons/icon.mjs";
1
+ import { j as o } from "../jsx-runtime-B4hRZ52C.mjs";
2
+ import { cx as t } from "@kuma-ui/core";
3
+ import p, { iconShadowStyles as l } from "../icons/icon.mjs";
4
4
  import { Span as f } from "./text.mjs";
5
- var h = /* @__PURE__ */ ((n) => (n.default = "default", n.success = "success", n.information = "information", n.warning = "warning", n.danger = "danger", n))(h || {});
6
- function S({
7
- type: n = "default",
8
- icon: o,
9
- className: r,
10
- children: t,
11
- ...c
5
+ const N = ["default", "success", "information", "warning", "danger"];
6
+ function w({
7
+ type: a = "default",
8
+ icon: s,
9
+ className: c,
10
+ children: e,
11
+ ...m
12
12
  }) {
13
- const m = n === "success", d = n === "information", k = n === "warning", i = n === "danger", a = !!o, u = !!t;
14
- return /* @__PURE__ */ s.jsxs("aside", { ...c, className: e("kakadu-components-1434967310", a && "kakadu-components-2945174293", m && (a ? "kakadu-components-2585123369" : "kakadu-components-1387450724"), d && (a ? "kakadu-components-3663522234" : "kakadu-components-728842914"), k && (a ? "kakadu-components-3502407303" : "kakadu-components-1612824642"), i && (a ? "kakadu-components-314765189" : "kakadu-components-4209515987"), r), children: [
15
- /* @__PURE__ */ s.jsx("div", { "data-theme": "dark", className: e("kakadu-components-3327291559", a && "kakadu-components-3906762683"), children: o && /* @__PURE__ */ s.jsx(l, { width: 14, height: 14, type: o, className: p }) }),
16
- /* @__PURE__ */ s.jsx(f, { className: "kakadu-components-1969958615", children: u ? t : /* @__PURE__ */ s.jsx(s.Fragment, { children: " " }) })
13
+ const r = a === "success", d = a === "information", i = a === "warning", k = a === "danger", n = !!s, u = !!e;
14
+ return /* @__PURE__ */ o.jsxs("aside", { ...m, className: t("kakadu-components-1434967310", n && "kakadu-components-2945174293", r && (n ? "kakadu-components-2585123369" : "kakadu-components-1387450724"), d && (n ? "kakadu-components-3663522234" : "kakadu-components-728842914"), i && (n ? "kakadu-components-3502407303" : "kakadu-components-1612824642"), k && (n ? "kakadu-components-314765189" : "kakadu-components-4209515987"), c), children: [
15
+ /* @__PURE__ */ o.jsx("div", { "data-theme": "dark", className: t("kakadu-components-3327291559", n && "kakadu-components-3906762683"), children: s && /* @__PURE__ */ o.jsx(p, { width: 14, height: 14, type: s, className: l }) }),
16
+ /* @__PURE__ */ o.jsx(f, { className: "kakadu-components-1969958615", children: u ? e : /* @__PURE__ */ o.jsx(o.Fragment, { children: " " }) })
17
17
  ] });
18
18
  }
19
19
  export {
20
- h as NoticeType,
21
- S as default
20
+ w as default,
21
+ N as noticeTypes
22
22
  };
@@ -1,7 +1,8 @@
1
1
  import { type HTMLProps, type ReactNode } from 'react';
2
2
  import { type IconType } from '../icons/icon';
3
3
  import { type NoticeType } from './notice';
4
- export { NoticeType as NotificationType } from './notice';
4
+ export { noticeTypes as notificationTypes } from './notice';
5
+ export type { NoticeType as NotificationType } from './notice';
5
6
  export type NotificationProperties = {
6
7
  readonly id?: string;
7
8
  readonly type?: NoticeType;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../jsx-runtime-BB_1_6y_.js"),e=require("react"),p=require("@kuma-ui/core"),M=require("../utilities/generate-random-id.js"),j=require("./notice.js");function E({type:n,icon:d,index:u,className:c,children:m,onDismiss:s,...o}){const[t,a]=e.useState(!1),[l,C]=e.useState(!1),[f,k]=e.useState(!1);e.useEffect(()=>{const r=setTimeout(()=>{a(!0)},250);return()=>{clearTimeout(r)}},[]);const N=e.useRef(0),v=e.useRef(0),R=e.useCallback(()=>{k(!0)},[]),b=e.useCallback(()=>{k(!1)},[]);e.useEffect(()=>{if(f){v.current+=Date.now()-N.current;return}if(t){N.current=Date.now();const r=6e3-v.current,h=setTimeout(()=>{a(!1),C(!0)},r);return()=>{clearTimeout(h)}}},[f,t]);const x=u??0;return e.useEffect(()=>{if(l&&!t){const r=setTimeout(()=>{s==null||s(x)},300);return()=>{clearTimeout(r)}}},[l,t,s,x]),i.jsxRuntimeExports.jsx("div",{...o,style:{"--index":x},className:p.cx("kakadu-components-1727618227",t&&"kakadu-components-3003995416",c),children:i.jsxRuntimeExports.jsxs(j.default,{role:"status","aria-live":"polite","aria-atomic":"true",type:n,icon:d,className:p.cx("kakadu-components-3423716848",t&&"kakadu-components-2837603142"),onMouseEnter:R,onMouseLeave:b,children:[m,i.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2751825161",children:i.jsxRuntimeExports.jsx("div",{className:p.cx("kakadu-components-47664046",f?"kakadu-components-758522476":"kakadu-components-3914681513")})})]})})}const T=e.createContext({createNotification(){throw new Error("useCreateNotification must be used within a NotificationProvider")}});function S(){const{createNotification:n}=e.useContext(T);return n}function q({children:n}){const[d,u]=e.useState([]),c=e.useCallback(o=>{const t=M.default();u(a=>[...a,{...o,id:t}])},[]),m=e.useCallback(o=>{u(t=>t.filter((a,l)=>l!==o))},[]),s=e.useMemo(()=>({createNotification:c}),[c]);return i.jsxRuntimeExports.jsxs(T.Provider,{value:s,children:[n,d.map((o,t)=>i.jsxRuntimeExports.jsx(E,{...o,index:t,onDismiss:m},o.id))]})}exports.NotificationType=j.NoticeType;exports.NotificationProvider=q;exports.default=E;exports.useCreateNotification=S;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../jsx-runtime-BB_1_6y_.js"),e=require("react"),p=require("@kuma-ui/core"),M=require("../utilities/generate-random-id.js"),j=require("./notice.js");function E({type:n,icon:d,index:u,className:c,children:m,onDismiss:s,...o}){const[t,a]=e.useState(!1),[l,C]=e.useState(!1),[f,k]=e.useState(!1);e.useEffect(()=>{const r=setTimeout(()=>{a(!0)},250);return()=>{clearTimeout(r)}},[]);const N=e.useRef(0),v=e.useRef(0),R=e.useCallback(()=>{k(!0)},[]),b=e.useCallback(()=>{k(!1)},[]);e.useEffect(()=>{if(f){v.current+=Date.now()-N.current;return}if(t){N.current=Date.now();const r=6e3-v.current,h=setTimeout(()=>{a(!1),C(!0)},r);return()=>{clearTimeout(h)}}},[f,t]);const x=u??0;return e.useEffect(()=>{if(l&&!t){const r=setTimeout(()=>{s==null||s(x)},300);return()=>{clearTimeout(r)}}},[l,t,s,x]),i.jsxRuntimeExports.jsx("div",{...o,style:{"--index":x},className:p.cx("kakadu-components-1727618227",t&&"kakadu-components-3003995416",c),children:i.jsxRuntimeExports.jsxs(j.default,{role:"status","aria-live":"polite","aria-atomic":"true",type:n,icon:d,className:p.cx("kakadu-components-3423716848",t&&"kakadu-components-2837603142"),onMouseEnter:R,onMouseLeave:b,children:[m,i.jsxRuntimeExports.jsx("div",{className:"kakadu-components-2751825161",children:i.jsxRuntimeExports.jsx("div",{className:p.cx("kakadu-components-47664046",f?"kakadu-components-758522476":"kakadu-components-3914681513")})})]})})}const T=e.createContext({createNotification(){throw new Error("useCreateNotification must be used within a NotificationProvider")}});function S(){const{createNotification:n}=e.useContext(T);return n}function q({children:n}){const[d,u]=e.useState([]),c=e.useCallback(o=>{const t=M.default();u(a=>[...a,{...o,id:t}])},[]),m=e.useCallback(o=>{u(t=>t.filter((a,l)=>l!==o))},[]),s=e.useMemo(()=>({createNotification:c}),[c]);return i.jsxRuntimeExports.jsxs(T.Provider,{value:s,children:[n,d.map((o,t)=>i.jsxRuntimeExports.jsx(E,{...o,index:t,onDismiss:m},o.id))]})}exports.notificationTypes=j.noticeTypes;exports.NotificationProvider=q;exports.default=E;exports.useCreateNotification=S;
@@ -1,9 +1,9 @@
1
1
  import { j as i } from "../jsx-runtime-B4hRZ52C.mjs";
2
- import { createContext as b, useState as m, useEffect as N, useRef as j, useCallback as d, useContext as y, useMemo as P } from "react";
3
- import { cx as x } from "@kuma-ui/core";
2
+ import { createContext as b, useState as m, useEffect as x, useRef as j, useCallback as d, useContext as y, useMemo as P } from "react";
3
+ import { cx as N } from "@kuma-ui/core";
4
4
  import R from "../utilities/generate-random-id.mjs";
5
5
  import D from "./notice.mjs";
6
- import { NoticeType as G } from "./notice.mjs";
6
+ import { noticeTypes as G } from "./notice.mjs";
7
7
  function H({
8
8
  type: n,
9
9
  icon: f,
@@ -14,7 +14,7 @@ function H({
14
14
  ...e
15
15
  }) {
16
16
  const [t, s] = m(!1), [u, E] = m(!1), [p, v] = m(!1);
17
- N(() => {
17
+ x(() => {
18
18
  const a = setTimeout(() => {
19
19
  s(!0);
20
20
  }, 250);
@@ -27,7 +27,7 @@ function H({
27
27
  }, []), I = d(() => {
28
28
  v(!1);
29
29
  }, []);
30
- N(() => {
30
+ x(() => {
31
31
  if (p) {
32
32
  h.current += Date.now() - T.current;
33
33
  return;
@@ -43,7 +43,7 @@ function H({
43
43
  }
44
44
  }, [p, t]);
45
45
  const k = r ?? 0;
46
- return N(() => {
46
+ return x(() => {
47
47
  if (u && !t) {
48
48
  const a = setTimeout(() => {
49
49
  o == null || o(k);
@@ -54,9 +54,9 @@ function H({
54
54
  }
55
55
  }, [u, t, o, k]), /* @__PURE__ */ i.jsx("div", { ...e, style: {
56
56
  "--index": k
57
- }, className: x("kakadu-components-1727618227", t && "kakadu-components-3003995416", c), children: /* @__PURE__ */ i.jsxs(D, { role: "status", "aria-live": "polite", "aria-atomic": "true", type: n, icon: f, className: x("kakadu-components-3423716848", t && "kakadu-components-2837603142"), onMouseEnter: w, onMouseLeave: I, children: [
57
+ }, className: N("kakadu-components-1727618227", t && "kakadu-components-3003995416", c), children: /* @__PURE__ */ i.jsxs(D, { role: "status", "aria-live": "polite", "aria-atomic": "true", type: n, icon: f, className: N("kakadu-components-3423716848", t && "kakadu-components-2837603142"), onMouseEnter: w, onMouseLeave: I, children: [
58
58
  l,
59
- /* @__PURE__ */ i.jsx("div", { className: "kakadu-components-2751825161", children: /* @__PURE__ */ i.jsx("div", { className: x("kakadu-components-47664046", p ? "kakadu-components-758522476" : "kakadu-components-3914681513") }) })
59
+ /* @__PURE__ */ i.jsx("div", { className: "kakadu-components-2751825161", children: /* @__PURE__ */ i.jsx("div", { className: N("kakadu-components-47664046", p ? "kakadu-components-758522476" : "kakadu-components-3914681513") }) })
60
60
  ] }) });
61
61
  }
62
62
  const C = b({
@@ -91,7 +91,7 @@ function A({
91
91
  }
92
92
  export {
93
93
  A as NotificationProvider,
94
- G as NotificationType,
95
94
  H as default,
95
+ G as notificationTypes,
96
96
  z as useCreateNotification
97
97
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../jsx-runtime-BB_1_6y_.js"),n=require("@kuma-ui/core"),o=require("./flex.js"),u=require("./text.js");function a({className:e,...t}){return r.jsxRuntimeExports.jsx("hr",{...t,className:n.cx("kakadu-components-175326694",e)})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx("hr",{...t,className:n.cx("kakadu-components-3380219127",e)})}function x({label:e,className:t,...s}){return r.jsxRuntimeExports.jsxs(o.default,{gap:2,direction:"row",alignment:o.FlexAlignment.center,className:n.cx("kakadu-components-1250376591",t),children:[r.jsxRuntimeExports.jsx(a,{...s}),r.jsxRuntimeExports.jsx(u.Label,{children:e}),r.jsxRuntimeExports.jsx(a,{...s})]})}function i({className:e,...t}){return r.jsxRuntimeExports.jsx("hr",{...t,className:n.cx("kakadu-components-2653569622",e)})}exports.SeparatorLabel=x;exports.SmallSeparator=c;exports.VerticalSeparator=i;exports.default=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../jsx-runtime-BB_1_6y_.js"),s=require("@kuma-ui/core"),o=require("./flex.js"),u=require("./text.js");function a({className:e,...t}){return r.jsxRuntimeExports.jsx("hr",{...t,className:s.cx("kakadu-components-175326694",e)})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx("hr",{...t,className:s.cx("kakadu-components-3380219127",e)})}function x({label:e,className:t,...n}){return r.jsxRuntimeExports.jsxs(o.default,{gap:2,direction:"row",preset:"center",className:s.cx("kakadu-components-1250376591",t),children:[r.jsxRuntimeExports.jsx(a,{...n}),r.jsxRuntimeExports.jsx(u.Label,{children:e}),r.jsxRuntimeExports.jsx(a,{...n})]})}function i({className:e,...t}){return r.jsxRuntimeExports.jsx("hr",{...t,className:s.cx("kakadu-components-2653569622",e)})}exports.SeparatorLabel=x;exports.SmallSeparator=c;exports.VerticalSeparator=i;exports.default=a;
@@ -1,39 +1,39 @@
1
1
  import { j as e } from "../jsx-runtime-B4hRZ52C.mjs";
2
- import { cx as n } from "@kuma-ui/core";
3
- import s, { FlexAlignment as m } from "./flex.mjs";
2
+ import { cx as o } from "@kuma-ui/core";
3
+ import s from "./flex.mjs";
4
4
  import { Label as c } from "./text.mjs";
5
- function o({
6
- className: a,
7
- ...r
5
+ function n({
6
+ className: r,
7
+ ...a
8
8
  }) {
9
- return /* @__PURE__ */ e.jsx("hr", { ...r, className: n("kakadu-components-175326694", a) });
9
+ return /* @__PURE__ */ e.jsx("hr", { ...a, className: o("kakadu-components-175326694", r) });
10
10
  }
11
- function x({
12
- className: a,
13
- ...r
11
+ function l({
12
+ className: r,
13
+ ...a
14
14
  }) {
15
- return /* @__PURE__ */ e.jsx("hr", { ...r, className: n("kakadu-components-3380219127", a) });
15
+ return /* @__PURE__ */ e.jsx("hr", { ...a, className: o("kakadu-components-3380219127", r) });
16
16
  }
17
- function f({
18
- label: a,
19
- className: r,
17
+ function x({
18
+ label: r,
19
+ className: a,
20
20
  ...t
21
21
  }) {
22
- return /* @__PURE__ */ e.jsxs(s, { gap: 2, direction: "row", alignment: m.center, className: n("kakadu-components-1250376591", r), children: [
23
- /* @__PURE__ */ e.jsx(o, { ...t }),
24
- /* @__PURE__ */ e.jsx(c, { children: a }),
25
- /* @__PURE__ */ e.jsx(o, { ...t })
22
+ return /* @__PURE__ */ e.jsxs(s, { gap: 2, direction: "row", preset: "center", className: o("kakadu-components-1250376591", a), children: [
23
+ /* @__PURE__ */ e.jsx(n, { ...t }),
24
+ /* @__PURE__ */ e.jsx(c, { children: r }),
25
+ /* @__PURE__ */ e.jsx(n, { ...t })
26
26
  ] });
27
27
  }
28
- function j({
29
- className: a,
30
- ...r
28
+ function f({
29
+ className: r,
30
+ ...a
31
31
  }) {
32
- return /* @__PURE__ */ e.jsx("hr", { ...r, className: n("kakadu-components-2653569622", a) });
32
+ return /* @__PURE__ */ e.jsx("hr", { ...a, className: o("kakadu-components-2653569622", r) });
33
33
  }
34
34
  export {
35
- f as SeparatorLabel,
36
- x as SmallSeparator,
37
- j as VerticalSeparator,
38
- o as default
35
+ x as SeparatorLabel,
36
+ l as SmallSeparator,
37
+ f as VerticalSeparator,
38
+ n as default
39
39
  };
@@ -1,9 +1,7 @@
1
1
  import { type HTMLProps, type ReactNode } from 'react';
2
2
  import { type ButtonTooltipPosition } from './button-tooltip';
3
- export declare enum TextButtonVariant {
4
- primary = "primary",
5
- delete = "delete"
6
- }
3
+ export declare const textButtonVariants: readonly ["primary", "delete"];
4
+ export type TextButtonVariant = (typeof textButtonVariants)[number];
7
5
  type BaseTextButtonProperties = Omit<HTMLProps<HTMLButtonElement>, 'children'> & {
8
6
  readonly iconLeft?: ReactNode;
9
7
  readonly iconRight?: ReactNode;