@alixpartners/ui-components 2.0.0-beta.3 → 2.0.0-beta.5

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 (51) hide show
  1. package/dist/assets/Button.css +1 -1
  2. package/dist/assets/Dropdown.css +1 -0
  3. package/dist/assets/Ghost.css +1 -1
  4. package/dist/assets/Input.css +1 -1
  5. package/dist/assets/Spinner.css +1 -0
  6. package/dist/assets/SplitButton.css +1 -0
  7. package/dist/assets/Textarea.css +1 -1
  8. package/dist/assets/Toast.css +1 -0
  9. package/dist/assets/Tooltip.css +1 -0
  10. package/dist/components/Button/Button.d.ts +17 -1
  11. package/dist/components/Button/Button.js +28 -19
  12. package/dist/components/Button/Button.test.d.ts +1 -0
  13. package/dist/components/Button/Button.test.js +137 -0
  14. package/dist/components/Checkbox/Checkbox.js +7 -7
  15. package/dist/components/Creatable/Creatable.d.ts +36 -0
  16. package/dist/components/Creatable/Creatable.js +19 -0
  17. package/dist/components/Dropdown/Dropdown.d.ts +62 -0
  18. package/dist/components/Dropdown/Dropdown.js +262 -0
  19. package/dist/components/Input/Input.d.ts +29 -4
  20. package/dist/components/Input/Input.js +56 -39
  21. package/dist/components/Input/Input.test.d.ts +1 -0
  22. package/dist/components/Input/Input.test.js +283 -0
  23. package/dist/components/Radio/Radio.js +1 -1
  24. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  25. package/dist/components/Search/Search.d.ts +31 -0
  26. package/dist/components/Search/Search.js +23 -0
  27. package/dist/components/Search/Search.test.d.ts +1 -0
  28. package/dist/components/Search/Search.test.js +143 -0
  29. package/dist/components/Spinner/Spinner.d.ts +18 -0
  30. package/dist/components/Spinner/Spinner.js +24 -0
  31. package/dist/components/SplitButton/SplitButton.d.ts +15 -0
  32. package/dist/components/SplitButton/SplitButton.js +39 -0
  33. package/dist/components/SplitButton/SplitButton.test.d.ts +1 -0
  34. package/dist/components/SplitButton/SplitButton.test.js +102 -0
  35. package/dist/components/Textarea/Textarea.d.ts +23 -2
  36. package/dist/components/Textarea/Textarea.js +75 -28
  37. package/dist/components/Textarea/Textarea.test.d.ts +1 -0
  38. package/dist/components/Textarea/Textarea.test.js +298 -0
  39. package/dist/components/Toast/Toast.d.ts +24 -0
  40. package/dist/components/Toast/Toast.js +135 -0
  41. package/dist/components/Toast/Toast.test.d.ts +1 -0
  42. package/dist/components/Toast/Toast.test.js +111 -0
  43. package/dist/components/Toggle/Toggle.js +12 -12
  44. package/dist/components/Tooltip/Tooltip.d.ts +34 -0
  45. package/dist/components/Tooltip/Tooltip.js +124 -0
  46. package/dist/{index-fkLrX08F.js → index-CY4eJ1Hi.js} +3 -3
  47. package/dist/{index-C6Ei8t2T.js → index-DMGyUYZU.js} +6 -6
  48. package/dist/{index-DAi958Yv.js → index-et6FP9u6.js} +2 -2
  49. package/dist/main.d.ts +5 -0
  50. package/dist/main.js +24 -14
  51. package/package.json +1 -1
@@ -1 +1 @@
1
- .Button-module__btn___daEdK{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border:none;text-align:center;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;line-height:100%;cursor:pointer}.Button-module__btn-icon___G7m4S{display:flex;justify-content:center;align-items:center}.Button-module__btn-icon-sm___w7eg9{width:16px;height:16px;font-size:16px}.Button-module__btn-icon-md___8Ywy2{width:20px;height:20px;font-size:20px}.Button-module__btn-primary___vwY5K{border-radius:2px;color:#fff;background:#498e2b;gap:2px}.Button-module__btn-primary___vwY5K:hover{background:#3f7b25}.Button-module__btn-primary___vwY5K:disabled{background:#8dca7e;cursor:not-allowed}.Button-module__btn-primary___vwY5K.Button-module__btn-danger___jTLwb{background:#cb282e}.Button-module__btn-primary___vwY5K.Button-module__btn-danger___jTLwb:hover{background:#ac272c}.Button-module__btn-primary___vwY5K.Button-module__btn-danger___jTLwb:disabled{background:#f99397}.Button-module__btn-primary___vwY5K.Button-module__btn-cancel___4SwgU{background:#878787}.Button-module__btn-primary___vwY5K.Button-module__btn-cancel___4SwgU:hover{background:#727272}.Button-module__btn-primary___vwY5K.Button-module__btn-cancel___4SwgU:disabled{background:#ccc}.Button-module__btn-secondary___w3xYM{border-radius:2px;border:1px solid #498e2b;background:#fff;gap:2px;color:#498e2b}.Button-module__btn-secondary___w3xYM:hover{border:1px solid #498e2b;color:#fff;background:#3f7b25}.Button-module__btn-secondary___w3xYM:disabled{border:1px solid #8dca7e;color:#8dca7e;background:#fff}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb{border:1px solid #cb282e;color:#cb282e}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb:hover{border:1px solid #ac272c;color:#fff;background:#ac272c}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb:disabled{border:1px solid #f99397;color:#f99397}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU{border:1px solid #878787;color:#878787}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU:hover{border:1px solid #727272;color:#fff;background:#727272}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU:disabled{border:1px solid #cccccc;color:#ccc}.Button-module__btn-tertiary___G-7lD{gap:2px;color:#4a4a4a;background:none}.Button-module__btn-tertiary___G-7lD:hover{color:#3f7b25}.Button-module__btn-tertiary___G-7lD:disabled{color:#ccc}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb{color:#cb282e}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb:hover{color:#ac272c}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb:disabled{color:#f99397}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU{color:#878787}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU:hover{color:#727272}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU:disabled{color:#ccc}.Button-module__btn-loading___vAg78{animation:Button-module__loading___QfItr 2s linear infinite}@keyframes Button-module__loading___QfItr{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.Button-module__btn-sm___KNlkv{height:24px;padding:0 8px 0 4px;font-size:13px;min-width:78px}.Button-module__btn-md___C8vqh{height:32px;padding:0 12px 0 8px;font-size:15px;min-width:94px}
1
+ .Button-module__btn___daEdK{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border:none;text-align:center;font-family:Roboto,sans-serif;font-style:normal;font-weight:500;line-height:100%;cursor:pointer}.Button-module__btn-icon___G7m4S{display:flex;justify-content:center;align-items:center}.Button-module__btn-icon-sm___w7eg9{width:16px;height:16px;font-size:16px}.Button-module__btn-icon-md___8Ywy2{width:20px;height:20px;font-size:20px}.Button-module__btn-primary___vwY5K{border-radius:2px;color:#fff;background:#498e2b;gap:2px}.Button-module__btn-primary___vwY5K:hover{background:#3f7b25}.Button-module__btn-primary___vwY5K:disabled{background:#8dca7e;cursor:not-allowed}.Button-module__btn-primary___vwY5K.Button-module__btn-default___hpiKG{background:#498e2b}.Button-module__btn-primary___vwY5K.Button-module__btn-default___hpiKG:hover{background:#3f7b25}.Button-module__btn-primary___vwY5K.Button-module__btn-default___hpiKG:disabled{background:#8dca7e}.Button-module__btn-primary___vwY5K.Button-module__btn-danger___jTLwb{background:#cb282e}.Button-module__btn-primary___vwY5K.Button-module__btn-danger___jTLwb:hover{background:#ac272c}.Button-module__btn-primary___vwY5K.Button-module__btn-danger___jTLwb:disabled{background:#f99397}.Button-module__btn-primary___vwY5K.Button-module__btn-cancel___4SwgU{background:#878787}.Button-module__btn-primary___vwY5K.Button-module__btn-cancel___4SwgU:hover{background:#727272}.Button-module__btn-primary___vwY5K.Button-module__btn-cancel___4SwgU:disabled{background:#ccc}.Button-module__btn-primary___vwY5K .Button-module__loading-spinner___T25--{color:#fff}.Button-module__btn-secondary___w3xYM{border-radius:2px;border:1px solid #498e2b;background:#fff;gap:2px;color:#498e2b}.Button-module__btn-secondary___w3xYM:hover{border:1px solid #498e2b;color:#fff;background:#3f7b25}.Button-module__btn-secondary___w3xYM:disabled{border:1px solid #8dca7e;color:#8dca7e;background:#fff;cursor:not-allowed}.Button-module__btn-secondary___w3xYM .Button-module__loading-spinner___T25--{color:#8dca7e}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb{border:1px solid #cb282e;color:#cb282e}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb:hover:not(:disabled){border:1px solid #ac272c;color:#fff;background:#ac272c}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb:disabled{border:1px solid #f99397;color:#f99397}.Button-module__btn-secondary___w3xYM.Button-module__btn-danger___jTLwb .Button-module__loading-spinner___T25--{color:#f99397}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU{border:1px solid #878787;color:#878787}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU:hover:not(:disabled){border:1px solid #727272;color:#fff;background:#727272}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU:disabled{border:1px solid #cccccc;color:#ccc}.Button-module__btn-secondary___w3xYM.Button-module__btn-cancel___4SwgU .Button-module__loading-spinner___T25--{color:#ccc}.Button-module__btn-tertiary___G-7lD{gap:2px;color:#4a4a4a;background:none}.Button-module__btn-tertiary___G-7lD:hover{color:#3f7b25}.Button-module__btn-tertiary___G-7lD:disabled{color:#ccc;cursor:not-allowed}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb{color:#cb282e}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb:hover{color:#ac272c}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb:disabled{color:#f99397}.Button-module__btn-tertiary___G-7lD.Button-module__btn-danger___jTLwb .Button-module__loading-spinner___T25--{color:#f99397}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU{color:#878787}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU:hover{color:#727272}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU:disabled{color:#ccc}.Button-module__btn-tertiary___G-7lD.Button-module__btn-cancel___4SwgU .Button-module__loading-spinner___T25--,.Button-module__btn-tertiary___G-7lD .Button-module__loading-spinner___T25--{color:#ccc}.Button-module__btn-primary___vwY5K.Button-module__btn-disabled___eg1uH{background:#8dca7e;cursor:not-allowed}.Button-module__btn-primary___vwY5K .Button-module__btn-loading___vAg78{animation:Button-module__loading___QfItr 2s linear infinite}.Button-module__btn-secondary___w3xYM.Button-module__btn-disabled___eg1uH{border:1px solid #8dca7e;color:#8dca7e;background:#fff;cursor:not-allowed}.Button-module__btn-secondary___w3xYM .Button-module__btn-loading___vAg78{animation:Button-module__loading___QfItr 2s linear infinite}.Button-module__btn-tertiary___G-7lD.Button-module__btn-disabled___eg1uH{color:#ccc;cursor:not-allowed}.Button-module__btn-tertiary___G-7lD .Button-module__btn-loading___vAg78{animation:Button-module__loading___QfItr 2s linear infinite}@keyframes Button-module__loading___QfItr{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.Button-module__btn-sm___KNlkv{height:24px;padding:0 8px}.Button-module__btn-md___C8vqh{height:32px;padding:0 12px}.Button-module__btn-sm___KNlkv:has(.Button-module__btn-icon___G7m4S:only-child){padding:0;width:24px}.Button-module__btn-md___C8vqh:has(.Button-module__btn-icon___G7m4S:only-child){padding:0;width:32px}.Button-module__btn-sm___KNlkv:has(.Button-module__btn-icon___G7m4S:not(:only-child)){padding:0 8px 0 4px}.Button-module__btn-sm___KNlkv:has(.Button-module__loading-spinner___T25--){padding:0 8px 0 4px}.Button-module__btn-md___C8vqh:has(.Button-module__btn-icon___G7m4S:not(:only-child)){padding:0 12px 0 8px}.Button-module__btn-md___C8vqh:has(.Button-module__loading-spinner___T25--){padding:0 12px 0 8px}.Button-module__btn-md___C8vqh .Button-module__btn-text___3ccH9{font-size:15px;font-weight:500;line-height:20px}.Button-module__btn-sm___KNlkv .Button-module__btn-text___3ccH9{font-size:13px;font-weight:500;line-height:18px}.Button-module__btn-md___C8vqh.Button-module__btn-tertiary___G-7lD .Button-module__btn-text___3ccH9{font-size:13px}.Button-module__btn-sm___KNlkv.Button-module__btn-tertiary___G-7lD .Button-module__btn-text___3ccH9{font-size:12px}.Button-module__btn-tertiary___G-7lD:has(.Button-module__btn-icon___G7m4S:only-child) .Button-module__btn-icon-sm___w7eg9{width:20px;height:20px;font-size:20px}.Button-module__btn-tertiary___G-7lD:has(.Button-module__btn-icon___G7m4S:only-child) .Button-module__btn-icon-md___8Ywy2{width:24px;height:24px;font-size:24px}
@@ -0,0 +1 @@
1
+ .Dropdown-module__dropdownContainer___beNhQ{display:flex;flex-direction:column;gap:4px;width:100%;position:relative}.Dropdown-module__dropdownLabel___T9FmB{font-size:14px;font-weight:500;color:#4a4a4a;line-height:1.2;display:flex;align-items:center;gap:4px}.Dropdown-module__dropdownLabel___T9FmB.Dropdown-module__dropdownLabelDisabled___SLRmM{color:#b2b2b2}.Dropdown-module__required___ChI1m{color:#cb282e;font-weight:600}.Dropdown-module__dropdownWrapper___AUuWD{position:relative;width:100%}.Dropdown-module__dropdownTrigger___Rue93{width:100%;min-height:32px;padding:6px 8px;background-color:#fff;border:1px solid #cccccc;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:240px}.Dropdown-module__dropdownTrigger___Rue93:hover:not(.Dropdown-module__dropdownTriggerDisabled___63wkd){border-color:#5cb335}.Dropdown-module__dropdownTrigger___Rue93:focus{outline:none;border-color:#5cb335}.Dropdown-module__dropdownTrigger___Rue93.Dropdown-module__dropdownTriggerOpen___cbm8V{border-color:#5cb335;border-radius:4px}.Dropdown-module__dropdownTrigger___Rue93.Dropdown-module__dropdownTriggerDisabled___63wkd{background-color:#f5f5f5;border-color:#ccc;cursor:not-allowed}.Dropdown-module__dropdownTrigger___Rue93.Dropdown-module__dropdownTriggerError___Uu02x{border-color:#bf494e}.Dropdown-module__dropdownContent___zLMhL{display:flex;align-items:center;gap:8px;width:100%;min-height:20px}.Dropdown-module__dropdownSelectedItems___iXnpQ{flex:1;min-width:0;display:flex;align-items:center}.Dropdown-module__selectedItemsList___uBD7x{display:flex;flex-wrap:wrap;gap:4px;width:100%}.Dropdown-module__selectedItemsCreatable___SCjLK{display:flex;align-items:center;gap:4px}.Dropdown-module__selectedItemsCreatable___SCjLK .Dropdown-module__selectedItem___2jO4z{border-radius:240px;height:20px;padding:0 5px 0 9px}.Dropdown-module__selectedItemsCreatable___SCjLK .Dropdown-module__selectedItem___2jO4z .Dropdown-module__selectedItemLabel___efVI-{color:#3f7b25}.Dropdown-module__selectedItemsCreatable___SCjLK .Dropdown-module__selectedItem___2jO4z .Dropdown-module__removeButton___9r85B{border:none;background:none;cursor:pointer;padding:0;margin:0;display:flex;align-items:center}.Dropdown-module__selectedItemsCreatable___SCjLK .Dropdown-module__selectedItem___2jO4z .Dropdown-module__removeIcon___st3b-{font-size:12px;height:12px;width:12px;color:#727272}.Dropdown-module__selectedItem___2jO4z{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;background-color:#dff0db;border:1px solid #dff0db;border-radius:12px;font-size:12px;color:#4a4a4a;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Dropdown-module__selectedOptionLabel___7Zdh3{color:#28292c;font-size:14px}.Dropdown-module__placeholder___fWdch{color:#878787;font-size:14px}.Dropdown-module__dropdownActions___d55Fa{display:flex;align-items:center;gap:4px;flex-shrink:0}.Dropdown-module__dropdownArrow___dLbrb{color:#4a4a4a;font-size:16px;width:16px;height:16px;transition:transform .2s ease}.Dropdown-module__dropdownArrow___dLbrb.Dropdown-module__dropdownArrowOpen___Z4Nh1{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___toYcy{position:absolute;top:calc(100% + 6px);left:0;right:0;background-color:#fff;border:1px solid #cccccc;border-top:1px solid #cccccc;border-radius:0 0 4px 4px;z-index:1000;max-height:300px;overflow:hidden;display:flex;flex-direction:column;width:fit-content;max-width:640px;min-width:80x;box-sizing:border-box}.Dropdown-module__dropdownMenu___toYcy.Dropdown-module__dropdownMenuRight___n1aDk{left:auto;right:0}.Dropdown-module__dropdown-container-grouped___1twhU .Dropdown-module__dropdownMenu___toYcy{min-width:212px}.Dropdown-module__dropdown-container-multi-select___zdaum .Dropdown-module__dropdownMenu___toYcy{min-width:224px}.Dropdown-module__dropdownMenuToolbar___gFne0{display:flex;flex-direction:column;gap:16px;padding:8px 12px;border-bottom:1px solid #cccccc}.Dropdown-module__searchContainer___4kUvD{position:relative;display:flex;align-items:center;gap:16px}.Dropdown-module__dropdownCreatableSearchContainer___sbs0F{min-width:300px;display:flex;align-items:center;flex-wrap:wrap;gap:4px;background:#fff;border:1px solid #cccccc;border-radius:4px;min-height:32px;padding:0 8px}.Dropdown-module__dropdownCreatableSearchContainer___sbs0F:focus-within{border-color:#5cb335}.Dropdown-module__dropdownCreatableSearchContainer___sbs0F.Dropdown-module__disabled___0FjAX{cursor:not-allowed;opacity:.6}.Dropdown-module__dropdownCreatableError___gwBGw{border-color:#bf494e}.Dropdown-module__creatableInput___meKz6{flex:1 1 120px;min-width:80px;border:none;outline:none;background:transparent;height:20px;padding:6px 0;color:#28292c;font-size:14px}.Dropdown-module__creatableInput___meKz6::placeholder{color:#878787}.Dropdown-module__creatableInput___meKz6:disabled{color:#b2b2b2}.Dropdown-module__searchInput___2Ad09{width:100%;padding:8px 32px 8px 12px;border:1px solid #cccccc;border-radius:4px;font-size:14px;color:#28292c;background-color:#fff}.Dropdown-module__searchInput___2Ad09:focus{outline:none;border-color:#5cb335}.Dropdown-module__searchInput___2Ad09::placeholder{color:#878787}.Dropdown-module__searchIcon___QxaFA{position:absolute;right:20px;top:50%;transform:translateY(-50%);color:#4a4a4a;font-size:16px;pointer-events:none}.Dropdown-module__optionsList___rk2hi{padding:8px;flex:1;overflow-y:auto;max-height:200px}.Dropdown-module__categoryGroup___Np2bP{display:flex;flex-direction:column;padding-right:8px}.Dropdown-module__optionsList___rk2hi .Dropdown-module__categoryGroup___Np2bP:first-child .Dropdown-module__categoryDivider___Gh6F0{border-top:none}.Dropdown-module__categoryDivider___Gh6F0{padding:8px;border-top:1px solid #cccccc;background-color:#fff;display:flex;align-items:center}.Dropdown-module__categoryLabel___B9IDR{font-size:12px;font-weight:600;color:#727272;text-transform:uppercase;letter-spacing:.5px}.Dropdown-module__optionItem___7pi10{width:100%;padding:8px;border:none;background:none;cursor:pointer;display:flex;align-items:center;transition:background-color .2s ease;text-align:left;font-size:14px;color:#4a4a4a;min-height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Dropdown-module__optionItem___7pi10:hover:not(.Dropdown-module__optionItemDisabled___aepUD){background-color:#dff0db}.Dropdown-module__optionItem___7pi10:focus{outline:none}.Dropdown-module__optionItem___7pi10.Dropdown-module__optionItemSelected___-jOOO{background-color:#dff0db}.Dropdown-module__optionItem___7pi10.Dropdown-module__optionItemDisabled___aepUD{color:#b2b2b2;cursor:not-allowed;opacity:.6}.Dropdown-module__optionItem___7pi10.Dropdown-module__optionItemFocused___u2781{background-color:#dff0db}.Dropdown-module__optionItem___7pi10.Dropdown-module__optionItemCreatable___qtsjP{color:#5cb335;font-weight:500}.Dropdown-module__optionItem___7pi10.Dropdown-module__optionItemCreatable___qtsjP:hover{background-color:#5cb3351a}.Dropdown-module__optionContent___nf1VC{display:flex;align-items:center;justify-content:space-between;width:100%}.Dropdown-module__optionLabel___sJerM{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Dropdown-module__tickIcon___hYdCr{color:inherit;font-size:14px;flex-shrink:0;margin-left:8px}.Dropdown-module__creatableIcon___3zxIF{color:inherit;font-size:14px;flex-shrink:0;margin-right:8px}.Dropdown-module__noOptions___8vmhM{padding:8px;text-align:center;color:#878787;font-size:14px;font-style:italic}.Dropdown-module__maxItemsWarning___4F7o-{padding:8px;border-top:1px solid #cccccc;background-color:#f8f9fa;font-size:12px;color:#727272;text-align:center}.Dropdown-module__helpers___s4ulA{display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0}.Dropdown-module__helpText___YooJE{font-size:12px;color:#727272;line-height:1.4}.Dropdown-module__helpTextDisabled___Ct4qq{color:#b2b2b2}.Dropdown-module__helpLink___-Zwpq{color:#0369a3;font-size:13px;font-weight:500;line-height:1;text-decoration:none;flex-shrink:0}.Dropdown-module__helpLink___-Zwpq:hover{text-decoration:underline}.Dropdown-module__helpLinkDisabled___r-opC{color:#878787}.Dropdown-module__errorMessage___3Mopi{font-size:12px;color:#bf494e;line-height:1.4}.Dropdown-module__optionsList___rk2hi::-webkit-scrollbar{width:4px}.Dropdown-module__optionsList___rk2hi::-webkit-scrollbar-track{background:transparent}.Dropdown-module__optionsList___rk2hi::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:240px}.Dropdown-module__optionsList___rk2hi::-webkit-scrollbar-thumb:hover{background-color:#878787}.Dropdown-module__optionsList___rk2hi::-webkit-scrollbar-thumb:active{background-color:#4a4a4a}.Dropdown-module__selectAllContainer___Dlk3J{display:flex;gap:16px;background-color:#fff;justify-content:space-between}.Dropdown-module__searchContainer___4kUvD:has(+.Dropdown-module__selectAllContainer___Dlk3J){border-bottom:none}.Dropdown-module__actionButtons___-2nvr{display:flex;justify-content:space-between;gap:8px;padding:12px;border-top:1px solid #cccccc;background-color:#fff}
@@ -1 +1 @@
1
- .Ghost-module__btn___z9x3f{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border:none;text-align:center;font-family:Roboto,sans-serif;font-style:normal;font-size:13px;font-weight:700;line-height:100%;height:14px;cursor:pointer;gap:2px;color:#498e2b;background:none;letter-spacing:.26px;text-transform:uppercase}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd{color:#498e2b}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:hover,.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:hover .Ghost-module__btn-icon___x1T9n{color:#3f7b25}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:disabled{color:#8dca7e}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:disabled .Ghost-module__btn-icon___x1T9n{color:#8dca7e}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd .Ghost-module__btn-icon___x1T9n{color:#498e2b}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W{color:#cb282e}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:hover,.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:hover .Ghost-module__btn-icon___x1T9n{color:#ac272c}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:disabled{color:#f99397}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:disabled .Ghost-module__btn-icon___x1T9n{color:#f99397}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W .Ghost-module__btn-icon___x1T9n{color:#cb282e}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-{color:#878787}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:hover,.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:hover .Ghost-module__btn-icon___x1T9n{color:#727272}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:disabled{color:#ccc}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:disabled .Ghost-module__btn-icon___x1T9n{color:#ccc}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8- .Ghost-module__btn-icon___x1T9n{color:#878787}.Ghost-module__btn-icon___x1T9n{display:flex;justify-content:center;align-items:center;width:12px;height:12px;color:#498e2b}.Ghost-module__btn-disabled___BFF0Q{cursor:not-allowed}
1
+ .Ghost-module__btn___z9x3f{padding:0;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border:none;text-align:center;font-family:Roboto,sans-serif;font-style:normal;font-size:13px;font-weight:700;line-height:100%;height:14px;cursor:pointer;gap:2px;color:#498e2b;background:none;letter-spacing:.26px;text-transform:uppercase}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd{color:#498e2b}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:hover,.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:hover .Ghost-module__btn-icon___x1T9n{color:#3f7b25}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:disabled{color:#8dca7e}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd:disabled .Ghost-module__btn-icon___x1T9n{color:#8dca7e}.Ghost-module__btn___z9x3f.Ghost-module__btn-default___N8pjd .Ghost-module__btn-icon___x1T9n{color:#498e2b}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W{color:#cb282e}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:hover,.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:hover .Ghost-module__btn-icon___x1T9n{color:#ac272c}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:disabled{color:#f99397}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W:disabled .Ghost-module__btn-icon___x1T9n{color:#f99397}.Ghost-module__btn___z9x3f.Ghost-module__btn-danger___z7p-W .Ghost-module__btn-icon___x1T9n{color:#cb282e}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-{color:#878787}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:hover,.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:hover .Ghost-module__btn-icon___x1T9n{color:#727272}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:disabled{color:#ccc}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8-:disabled .Ghost-module__btn-icon___x1T9n{color:#ccc}.Ghost-module__btn___z9x3f.Ghost-module__btn-cancel___-YO8- .Ghost-module__btn-icon___x1T9n{color:#878787}.Ghost-module__btn-icon___x1T9n{display:flex;justify-content:center;align-items:center;width:12px;height:12px;color:#498e2b}.Ghost-module__btn-disabled___BFF0Q{cursor:not-allowed}
@@ -1 +1 @@
1
- .Input-module__inputContainer___vubIa{display:grid;grid-template-columns:1fr;row-gap:4px}.Input-module__inline___ghC8J{grid-template-columns:max-content 1fr;column-gap:4px;align-items:center}.Input-module__inputWrapper___TYJbS{background:#fff;border:1px solid #cccccc;border-radius:4px;height:32px;display:flex;align-items:center;padding:0 8px;gap:6px}.Input-module__inputWrapper___TYJbS input{background:none;border:none;outline:none;color:#28292c;font-size:14px;font-family:Roboto,sans-serif}.Input-module__inputWrapper___TYJbS.Input-module__errorState___tTZjq{border-color:#bf494e}.Input-module__disabledState___MQEAl{opacity:.5}.Input-module__disabledState___MQEAl *{cursor:not-allowed;pointer-events:none}.Input-module__label___gmqts{color:#4a4a4a;font-size:14px}.Input-module__icon___qkecR{font-size:20px}.Input-module__helpers___fqdSd{display:grid;grid-template-columns:1fr max-content;align-items:center}.Input-module__helperText___NGV3W{color:#727272;font-size:12px}.Input-module__errorMessage___R9MPm{color:#bf494e;font-size:12px}.Input-module__helpLink___1n9ck{color:#0369a3;font-size:12px;text-decoration:none}.Input-module__helpLink___1n9ck:hover{text-decoration:underline}
1
+ .Input-module__inputContainer___vubIa{display:grid;grid-template-columns:1fr;row-gap:6px}.Input-module__inline___ghC8J{display:grid;grid-template-columns:max-content 1fr;grid-template-rows:auto auto;align-items:center;gap:6px}.Input-module__inline___ghC8J>*:nth-child(1){grid-column:1;grid-row:1}.Input-module__inline___ghC8J>*:nth-child(2){grid-column:2;grid-row:1}.Input-module__inline___ghC8J>*:nth-child(n+3){grid-column:2;grid-row:2}.Input-module__inputWrapper___TYJbS{background:#fff;border:1px solid #cccccc;border-radius:4px;height:32px;display:flex;align-items:center;padding:0 8px;gap:6px}.Input-module__inputWrapper___TYJbS input{background:none;border:none;outline:none;color:#28292c;font-size:14px;font-weight:400;line-height:1;font-family:Roboto,sans-serif}.Input-module__inputWrapper___TYJbS input:disabled{color:#b2b2b2}.Input-module__inputWrapper___TYJbS:focus-within{border-color:#5cb335}.Input-module__inputWrapper___TYJbS.Input-module__errorState___tTZjq{border-color:#bf494e}.Input-module__disabledState___MQEAl .Input-module__label___gmqts{color:#b2b2b2}.Input-module__disabledState___MQEAl .Input-module__icon___qkecR{color:#ccc}.Input-module__disabledState___MQEAl .Input-module__inputWrapper___TYJbS{border-color:#ccc}.Input-module__disabledState___MQEAl .Input-module__helperText___NGV3W{color:#b2b2b2}.Input-module__disabledState___MQEAl .Input-module__helpLink___1n9ck{color:#878787}.Input-module__disabledState___MQEAl *{cursor:not-allowed;pointer-events:none}.Input-module__label___gmqts{color:#4a4a4a;font-size:14px;font-weight:500;line-height:1;display:flex;align-items:center;gap:4px}.Input-module__icon___qkecR{font-size:20px}.Input-module__helpers___fqdSd{display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0}.Input-module__helperText___NGV3W{color:#727272;font-size:12px;font-weight:400;line-height:1}.Input-module__errorMessage___R9MPm{color:#bf494e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Input-module__helpLink___1n9ck{color:#0369a3;font-size:13px;font-weight:500;line-height:1;text-decoration:none;flex-shrink:0;margin-left:auto}.Input-module__helpLink___1n9ck:hover{text-decoration:underline}.Input-module__required___kHc93{color:#cb282e}
@@ -0,0 +1 @@
1
+ .Spinner-module__spinner-wrapper___Y0CNl:has(.Spinner-module__spinner-sm___Q8JC3){padding:2px;width:16px;height:16px;box-sizing:border-box;display:inline-block;line-height:1}.Spinner-module__spinner-wrapper___Y0CNl:has(.Spinner-module__spinner-md___FPDl5){padding:3px;width:20px;height:20px;box-sizing:border-box;display:inline-block;line-height:1}.Spinner-module__spinner-wrapper___Y0CNl:has(.Spinner-module__spinner-lg___ybboc){padding:3px;width:24px;height:24px;box-sizing:border-box;display:inline-block;line-height:1}.Spinner-module__spinner___SZoUP{display:inline-block;border:2px solid transparent;border-top:2px solid transparent;border-radius:50%;animation:Spinner-module__spin___Yk0wm 1s linear infinite;box-sizing:border-box}.Spinner-module__spinner-sm___Q8JC3{width:12px;height:12px;border-width:1.5px}.Spinner-module__spinner-md___FPDl5{width:14px;height:14px;border-width:2px}.Spinner-module__spinner-lg___ybboc{width:18px;height:18px;border-width:2.5px}.Spinner-module__spinner-white___nEP8s{color:#fff;border-color:inherit;border-top-color:transparent}.Spinner-module__spinner-light___fcwQz{color:#5cb335;border-color:inherit;border-top-color:transparent}.Spinner-module__spinner-dark___8Cbg-{color:#498e2b;border-color:inherit;border-top-color:transparent}@keyframes Spinner-module__spin___Yk0wm{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
@@ -0,0 +1 @@
1
+ .SplitButton-module__split-button-container___Pt3u6{display:flex;align-items:center}.SplitButton-module__split-button-action-trigger___dRgWH{border-radius:2px 0 0 2px;padding-left:12px}.SplitButton-module__split-button-dropdown-trigger___kVFdu{min-width:fit-content;border-top-left-radius:0!important;border-bottom-left-radius:0!important}.SplitButton-module__split-button-container-trigger-single___LHqLO,.SplitButton-module__split-button-container-trigger-split___vMf3J{color:#fff}.SplitButton-module__split-button-container-type-primary___rvgCN .SplitButton-module__split-button-action-trigger___dRgWH{border-right:solid 1px #ffffff}.SplitButton-module__split-button-container-type-primary___rvgCN .SplitButton-module__split-button-dropdown-trigger___kVFdu{background:#498e2b;border:none}.SplitButton-module__split-button-container-type-primary___rvgCN .SplitButton-module__split-button-dropdown-trigger___kVFdu:hover{border:none;background:#3f7b25}.SplitButton-module__split-button-container-type-primary___rvgCN .SplitButton-module__split-button-dropdown-trigger___kVFdu i{color:#fff}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-action-trigger___dRgWH{border-right:solid 1px #498e2b}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-dropdown-trigger___kVFdu{background:#fff;border:solid 1px #498e2b;border-left:none}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-dropdown-trigger___kVFdu:hover{background:#3f7b25;border:solid 1px #498e2b;border-left:none}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-dropdown-trigger___kVFdu:hover i{color:#fff}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-dropdown-trigger___kVFdu:focus{background:#3f7b25;border:solid 1px #498e2b;border-left:none}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-dropdown-trigger___kVFdu:focus i{color:#fff}.SplitButton-module__split-button-container-type-secondary___bkeij .SplitButton-module__split-button-dropdown-trigger___kVFdu i{color:#498e2b}.SplitButton-module__split-button-container-size-md___4nS4s{font-size:inherit}.SplitButton-module__split-button-container-size-md___4nS4s .SplitButton-module__split-button-dropdown-trigger___kVFdu{height:32px}.SplitButton-module__split-button-container-size-sm___amUB4 .SplitButton-module__split-button-dropdown-trigger___kVFdu{height:24px;min-height:24px;padding-left:4px;padding-right:4px}.SplitButton-module__split-button-container-size-sm___amUB4 .SplitButton-module__split-button-dropdown-menu___VM6wC [data-dropdown-option-item]{font-size:13px}
@@ -1 +1 @@
1
- .Textarea-module__textareaContainer___O6LaY{display:grid;grid-template-columns:1fr;row-gap:4px}.Textarea-module__textareaWrapper___Jq9MF{background:#fff;border:1px solid #cccccc;border-radius:4px;display:flex;align-items:center;gap:6px;overflow:hidden;position:relative}.Textarea-module__textareaWrapper___Jq9MF textarea{background:none;border:none;outline:none;color:#28292c;font-size:14px;font-family:Roboto,sans-serif;padding:6px 8px;border-radius:4px}.Textarea-module__textareaWrapper___Jq9MF.Textarea-module__errorState___VI29O{border-color:#bf494e}.Textarea-module__disabledState___fiMjr{opacity:.5}.Textarea-module__disabledState___fiMjr *{cursor:not-allowed}.Textarea-module__label___EjFTD{color:#4a4a4a;font-size:14px}.Textarea-module__errorMessage___-WILV{color:#bf494e;font-size:12px}.Textarea-module__counter___-Q123{position:absolute;bottom:4px;right:8px;color:#727272;font-size:12px}
1
+ .Textarea-module__textareaContainer___O6LaY{width:fit-content;display:grid;grid-template-columns:1fr;row-gap:6px}.Textarea-module__textareaWrapper___Jq9MF{width:fit-content;position:relative;display:flex;flex-direction:column;border:1px solid #cccccc;border-radius:4px}textarea{box-sizing:border-box;background:#fff;border:none;border-radius:4px;outline:none;color:#28292c;font-size:14px;font-family:Roboto,sans-serif;padding:6px 12px}textarea.Textarea-module__errorState___VI29O{border-color:#bf494e}textarea:focus-within{border-color:#5cb335}.Textarea-module__disabledState___fiMjr .Textarea-module__label___EjFTD,.Textarea-module__disabledState___fiMjr .Textarea-module__required___HEPGF{color:#b2b2b2}.Textarea-module__disabledState___fiMjr .Textarea-module__textareaWrapper___Jq9MF{border-color:#ccc;background:#fff}.Textarea-module__disabledState___fiMjr textarea,.Textarea-module__disabledState___fiMjr .Textarea-module__counter___-Q123{color:#b2b2b2}.Textarea-module__disabledState___fiMjr *{cursor:not-allowed}.Textarea-module__label___EjFTD{color:#4a4a4a;font-size:14px;font-weight:500;display:flex;align-items:center;gap:4px}.Textarea-module__errorMessage___-WILV{color:#bf494e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Textarea-module__counter___-Q123{padding-right:8px;padding-bottom:4px;padding-top:4px;align-self:flex-end;color:#727272;font-size:12px}.Textarea-module__required___HEPGF{color:#cb282e}
@@ -0,0 +1 @@
1
+ .Toast-module__toast___ngbBR{display:flex;align-items:center;gap:8px;height:44px;background-color:#fff;padding:0 20px;border-radius:240px;position:relative}.Toast-module__toast-success___D6okd{border:solid 2px #498e2b}.Toast-module__toast-success___D6okd .Toast-module__toast-icon___RNPXp{color:#498e2b;width:24px;height:24px;font-size:24px}.Toast-module__toast-success___D6okd .Toast-module__toast-label___8fb-l{color:#498e2b}.Toast-module__toast-warning___vPjpC{border:solid 2px #ce7309}.Toast-module__toast-warning___vPjpC .Toast-module__toast-icon___RNPXp{color:#ce7309;width:24px;height:24px;font-size:24px}.Toast-module__toast-warning___vPjpC .Toast-module__toast-label___8fb-l{color:#ce7309}.Toast-module__toast-error___TPnnP{border:solid 2px #cb282e}.Toast-module__toast-error___TPnnP .Toast-module__toast-icon___RNPXp{color:#cb282e;width:24px;height:24px;font-size:24px}.Toast-module__toast-error___TPnnP .Toast-module__toast-label___8fb-l{color:#cb282e}
@@ -0,0 +1 @@
1
+ .Tooltip-module__tooltip___LjRUX{display:flex;align-items:center;justify-content:space-between;border-radius:4px;position:relative;box-shadow:0 0 4px #00000029;max-width:300px;word-wrap:break-word;line-height:1.4}.Tooltip-module__tooltip-md___v79jI{padding:12px;gap:12px;font-size:14px}.Tooltip-module__tooltip-sm___yOh4k{padding:8px;font-size:12px}.Tooltip-module__tooltip-dark___PHEuo{background-color:#4a4a4a;color:#fff}.Tooltip-module__tooltip-dark___PHEuo .Tooltip-module__tooltip-arrow___xtDeb:before{background-color:#4a4a4a}.Tooltip-module__tooltip-dark___PHEuo .Tooltip-module__tooltip-close-button___y7KQF{color:#ccc}.Tooltip-module__tooltip-light___f9BKo{background-color:#fff;color:#4a4a4a;border:1px solid rgba(0,0,0,.1)}.Tooltip-module__tooltip-light___f9BKo .Tooltip-module__tooltip-arrow___xtDeb:before{background-color:#fff}.Tooltip-module__tooltip-light___f9BKo .Tooltip-module__tooltip-close-icon___EceS-{color:#878787}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-top___hqLXn .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:1px 1px 3px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-top___hqLXn.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:1px 1px 3px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-top___hqLXn.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:1px 1px 3px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-bottom___e0WtM .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:-2px -2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-bottom___e0WtM.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:-2px -2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-bottom___e0WtM.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:-2px -2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-left___YJ90G .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:2px -2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-left___YJ90G.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:2px -2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-left___YJ90G.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:2px -2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-right___CKvnv .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:-2px 2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-right___CKvnv.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:-2px 2px 4px #00000029}.Tooltip-module__tooltip-light___f9BKo.Tooltip-module__tooltip-right___CKvnv.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb:before{box-shadow:-2px 2px 4px #00000029}.Tooltip-module__tooltip-content___fjJv5{flex:1}.Tooltip-module__tooltip-arrow___xtDeb{position:absolute;width:8px;height:8px;transform:rotate(45deg)}.Tooltip-module__tooltip-arrow___xtDeb:before{content:"";position:absolute;width:100%;height:100%;border-radius:1px}.Tooltip-module__tooltip-top___hqLXn .Tooltip-module__tooltip-arrow___xtDeb{bottom:-4px;left:50%;transform:translate(-50%) rotate(45deg)}.Tooltip-module__tooltip-top___hqLXn.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb{left:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-top___hqLXn.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb{left:auto;right:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-bottom___e0WtM .Tooltip-module__tooltip-arrow___xtDeb{top:-4px;left:50%;transform:translate(-50%) rotate(45deg)}.Tooltip-module__tooltip-bottom___e0WtM.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb{left:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-bottom___e0WtM.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb{left:auto;right:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-left___YJ90G .Tooltip-module__tooltip-arrow___xtDeb{right:-4px;top:50%;transform:translateY(-50%) rotate(45deg)}.Tooltip-module__tooltip-left___YJ90G.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb{top:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-left___YJ90G.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb{top:auto;bottom:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-right___CKvnv .Tooltip-module__tooltip-arrow___xtDeb{left:-4px;top:50%;transform:translateY(-50%) rotate(45deg)}.Tooltip-module__tooltip-right___CKvnv.Tooltip-module__tooltip-start___abZ45 .Tooltip-module__tooltip-arrow___xtDeb{top:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-right___CKvnv.Tooltip-module__tooltip-end___zlqCX .Tooltip-module__tooltip-arrow___xtDeb{top:auto;bottom:16px;transform:rotate(45deg)}.Tooltip-module__tooltip-close-button___y7KQF{display:flex;background:none;border:none;cursor:pointer;padding:0;margin:0;align-items:center}.Tooltip-module__tooltip-close-icon___EceS-{font-size:16px}.Tooltip-module__tooltip-enter___KfwAg{opacity:0;transform:scale(.8);transition:opacity .2s ease,transform .2s ease}.Tooltip-module__tooltip-enter-active___L7FtU{opacity:1;transform:scale(1)}.Tooltip-module__tooltip-exit___RLxZG{opacity:1;transform:scale(1);transition:opacity .15s ease,transform .15s ease}.Tooltip-module__tooltip-exit-active___BsVba{opacity:0;transform:scale(.8)}
@@ -1,5 +1,20 @@
1
1
  import { ApIcon } from '../../assets/ap-icons-types';
2
2
  import { DataAttributes } from '../../types/data-attributes';
3
+ /**
4
+ * A versatile button component that supports different types, variants, sizes, and states.
5
+ * Used for user interactions and form submissions throughout the application.
6
+ *
7
+ * @param {object} props - Button component props
8
+ * @param {'primary' | 'secondary' | 'tertiary'} props.type - The type of button (affects styling and visual hierarchy)
9
+ * @param {'default' | 'danger' | 'cancel'} props.variant - The variant of button (affects color scheme and semantic meaning)
10
+ * @param {'sm' | 'md'} props.size - The size of the button (affects padding, font size, and icon dimensions)
11
+ * @param {ApIcon} [props.icon] - Optional icon to display before the button text
12
+ * @param {boolean} [props.disabled] - Whether the button is disabled (prevents interaction and applies disabled styling)
13
+ * @param {boolean} [props.loading] - Whether the button is in a loading state (shows loading spinner and prevents interaction)
14
+ * @param {React.ReactNode} [props.children] - The content to display inside the button (text or other elements)
15
+ * @param {() => void} [props.onClick] - Callback fired when the button is clicked
16
+ * @returns {JSX.Element} The rendered Button component
17
+ */
3
18
  type ButtonProps = {
4
19
  type: 'primary' | 'secondary' | 'tertiary';
5
20
  variant: 'default' | 'danger' | 'cancel';
@@ -9,6 +24,7 @@ type ButtonProps = {
9
24
  loading?: boolean;
10
25
  children?: React.ReactNode;
11
26
  onClick?: () => void;
27
+ className?: string;
12
28
  } & DataAttributes;
13
- export default function Button({ type, variant, size, icon, disabled, loading, onClick, children, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
29
+ export default function Button({ type, variant, size, icon, disabled, loading, onClick, children, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
14
30
  export {};
@@ -1,36 +1,45 @@
1
- import { jsxs as c, jsx as s } from "react/jsx-runtime";
2
- import { c as n } from "../../clsx-OuTLNxxd.js";
3
- import '../../assets/Button.css';const i = "Button-module__btn___daEdK", r = "Button-module__loading___QfItr", t = {
4
- btn: i,
1
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
+ import { c as d } from "../../clsx-OuTLNxxd.js";
3
+ import i from "../Spinner/Spinner.js";
4
+ import '../../assets/Button.css';const B = "Button-module__btn___daEdK", p = "Button-module__loading___QfItr", t = {
5
+ btn: B,
5
6
  "btn-icon": "Button-module__btn-icon___G7m4S",
6
7
  "btn-icon-sm": "Button-module__btn-icon-sm___w7eg9",
7
8
  "btn-icon-md": "Button-module__btn-icon-md___8Ywy2",
8
9
  "btn-primary": "Button-module__btn-primary___vwY5K",
10
+ "btn-default": "Button-module__btn-default___hpiKG",
9
11
  "btn-danger": "Button-module__btn-danger___jTLwb",
10
12
  "btn-cancel": "Button-module__btn-cancel___4SwgU",
13
+ "loading-spinner": "Button-module__loading-spinner___T25--",
11
14
  "btn-secondary": "Button-module__btn-secondary___w3xYM",
12
15
  "btn-tertiary": "Button-module__btn-tertiary___G-7lD",
16
+ "btn-disabled": "Button-module__btn-disabled___eg1uH",
13
17
  "btn-loading": "Button-module__btn-loading___vAg78",
14
- loading: r,
18
+ loading: p,
15
19
  "btn-sm": "Button-module__btn-sm___KNlkv",
16
- "btn-md": "Button-module__btn-md___C8vqh"
20
+ "btn-md": "Button-module__btn-md___C8vqh",
21
+ "btn-text": "Button-module__btn-text___3ccH9"
22
+ }, g = (n) => {
23
+ (n.key === "Enter" || n.key === " ") && (n.preventDefault(), n.currentTarget.click());
17
24
  };
18
- function y({
19
- type: e,
20
- variant: u,
25
+ function x({
26
+ type: n,
27
+ variant: a,
21
28
  size: _,
22
- icon: o,
23
- disabled: b = !1,
24
- loading: d = !1,
25
- onClick: l,
26
- children: a,
27
- ...m
29
+ icon: b,
30
+ disabled: l = !1,
31
+ loading: o = !1,
32
+ onClick: m,
33
+ children: u,
34
+ className: s,
35
+ ...r
28
36
  }) {
29
- return /* @__PURE__ */ c("button", { type: "button", className: n(t.btn, t[`btn-${e}`], t[`btn-${u}`], t[`btn-${_}`], b && t["btn-disabled"]), disabled: b, onClick: l, ...m, children: [
30
- !!o && /* @__PURE__ */ s("span", { className: n(t["btn-icon"], t[`btn-icon-${_}`], d ? n("ap-icon-aggregation", t["btn-loading"]) : o) }),
31
- a
37
+ return /* @__PURE__ */ c("button", { type: "button", className: d(t.btn, t[`btn-${n}`], t[`btn-${a}`], t[`btn-${_}`], l && t["btn-disabled"], s), disabled: l || o, onClick: m, onKeyDown: g, ...r, children: [
38
+ !!b && !o && /* @__PURE__ */ e("span", { className: d(t["btn-icon"], t[`btn-icon-${_}`], b) }),
39
+ o && /* @__PURE__ */ e(i, { size: _, color: "white", className: t["loading-spinner"] }),
40
+ u && /* @__PURE__ */ e("span", { className: t["btn-text"], children: u })
32
41
  ] });
33
42
  }
34
43
  export {
35
- y as default
44
+ x as default
36
45
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,137 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { d as l, i as s, r as d, s as n, g as t, v as r, f as c } from "../../vi.ClIskdbk-DlR4jLzR.js";
3
+ import a from "./Button.js";
4
+ l("Button", () => {
5
+ l("Rendering", () => {
6
+ l("Basic rendering", () => {
7
+ s("should render button with children", () => {
8
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
9
+ const e = n.getByTestId("button");
10
+ t(e).toBeInTheDocument(), t(e).toHaveTextContent("Click me");
11
+ }), s("should render button without children", () => {
12
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md" }));
13
+ const e = n.getByTestId("button");
14
+ t(e).toBeInTheDocument(), t(e).toHaveTextContent("");
15
+ }), s("should render button with icon", () => {
16
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", icon: "ap-icon-check", children: "Click me" }));
17
+ const e = n.getByTestId("button"), o = n.getByTestId("button-icon");
18
+ t(e).toBeInTheDocument(), t(o).toBeInTheDocument(), t(o.className).toContain("ap-icon-check");
19
+ }), s("should not render icon when icon prop is not provided", () => {
20
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
21
+ const e = n.queryByTestId("button-icon");
22
+ t(e).not.toBeInTheDocument();
23
+ }), s("should render loading spinner when loading is true", () => {
24
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", loading: !0, children: "Click me" }));
25
+ const e = n.getByTestId("loading-spinner");
26
+ t(e).toBeInTheDocument(), t(e.className).toContain("loading-spinner");
27
+ }), s("should not render loading spinner when loading is false", () => {
28
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", loading: !1, children: "Click me" }));
29
+ const e = n.queryByTestId("loading-spinner");
30
+ t(e).not.toBeInTheDocument();
31
+ });
32
+ }), l("Disabled state", () => {
33
+ s("should render enabled when disabled prop is not provided", () => {
34
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
35
+ const e = n.getByTestId("button");
36
+ t(e).toBeEnabled();
37
+ }), s("should render enabled when disabled prop is false", () => {
38
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !1, children: "Click me" }));
39
+ const e = n.getByTestId("button");
40
+ t(e).toBeEnabled();
41
+ }), s("should render disabled when disabled prop is true", () => {
42
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !0, children: "Click me" }));
43
+ const e = n.getByTestId("button");
44
+ t(e).toBeDisabled();
45
+ });
46
+ }), l("CSS Classes", () => {
47
+ s("should apply base button class", () => {
48
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
49
+ const e = n.getByTestId("button");
50
+ t(e.className).toContain("btn");
51
+ }), s("should apply variant classes", () => {
52
+ const {
53
+ rerender: e
54
+ } = d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
55
+ let o = n.getByTestId("button");
56
+ t(o.className).toContain("btn-default"), e(/* @__PURE__ */ i(a, { type: "primary", variant: "danger", size: "md", children: "Click me" })), o = n.getByTestId("button"), t(o.className).toContain("btn-danger"), e(/* @__PURE__ */ i(a, { type: "primary", variant: "cancel", size: "md", children: "Click me" })), o = n.getByTestId("button"), t(o.className).toContain("btn-cancel");
57
+ }), s("should apply size classes", () => {
58
+ const {
59
+ rerender: e
60
+ } = d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "sm", children: "Click me" }));
61
+ let o = n.getByTestId("button");
62
+ t(o.className).toContain("btn-sm"), e(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" })), o = n.getByTestId("button"), t(o.className).toContain("btn-md");
63
+ }), s("should apply disabled class when disabled", () => {
64
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !0, children: "Click me" }));
65
+ const e = n.getByTestId("button");
66
+ t(e.className).toContain("btn-disabled");
67
+ }), s("should not apply disabled class when enabled", () => {
68
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !1, children: "Click me" }));
69
+ const e = n.getByTestId("button");
70
+ t(e.className).not.toContain("btn-disabled");
71
+ }), s("should apply icon classes when icon is provided", () => {
72
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", icon: "ap-icon-check", children: "Click me" }));
73
+ const e = n.getByTestId("button-icon");
74
+ t(e.className).toContain("btn-icon"), t(e.className).toContain("btn-icon-md");
75
+ }), s("should apply icon size classes", () => {
76
+ const {
77
+ rerender: e
78
+ } = d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "sm", icon: "ap-icon-check", children: "Click me" }));
79
+ let o = n.getByTestId("button-icon");
80
+ t(o.className).toContain("btn-icon-sm"), e(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", icon: "ap-icon-check", children: "Click me" })), o = n.getByTestId("button-icon"), t(o.className).toContain("btn-icon-md");
81
+ }), s("should apply text class when children are provided", () => {
82
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
83
+ const e = n.getByTestId("button-text");
84
+ t(e.className).toContain("btn-text");
85
+ });
86
+ });
87
+ }), l("User Interactions", () => {
88
+ s("should call onClick when clicked", () => {
89
+ const e = r.fn();
90
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", onClick: e, children: "Click me" }));
91
+ const o = n.getByTestId("button");
92
+ c.click(o), t(e).toHaveBeenCalledTimes(1);
93
+ }), s("should not call onClick when disabled", () => {
94
+ const e = r.fn();
95
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !0, onClick: e, children: "Click me" }));
96
+ const o = n.getByTestId("button");
97
+ c.click(o), t(e).not.toHaveBeenCalled();
98
+ }), s("should not call onClick when loading", () => {
99
+ const e = r.fn();
100
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", loading: !0, onClick: e, children: "Click me" }));
101
+ const o = n.getByTestId("button");
102
+ c.click(o), t(e).not.toHaveBeenCalled();
103
+ }), s("should handle keyboard interactions", () => {
104
+ const e = r.fn();
105
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", onClick: e, children: "Click me" }));
106
+ const o = n.getByTestId("button");
107
+ c.keyDown(o, {
108
+ key: "Enter"
109
+ }), t(e).toHaveBeenCalledTimes(1), c.keyDown(o, {
110
+ key: " "
111
+ }), t(e).toHaveBeenCalledTimes(2);
112
+ }), s("should not handle keyboard interactions when disabled", () => {
113
+ const e = r.fn();
114
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !0, onClick: e, children: "Click me" }));
115
+ const o = n.getByTestId("button");
116
+ c.keyDown(o, {
117
+ key: "Enter"
118
+ }), t(e).not.toHaveBeenCalled(), c.keyDown(o, {
119
+ key: " "
120
+ }), t(e).not.toHaveBeenCalled();
121
+ });
122
+ }), l("Accessibility", () => {
123
+ s("should have proper button type attribute", () => {
124
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
125
+ const e = n.getByTestId("button");
126
+ t(e).toHaveAttribute("type", "button");
127
+ }), s("should be focusable when enabled", () => {
128
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", children: "Click me" }));
129
+ const e = n.getByTestId("button");
130
+ e.focus(), t(e).toHaveFocus();
131
+ }), s("should not be focusable when disabled", () => {
132
+ d(/* @__PURE__ */ i(a, { type: "primary", variant: "default", size: "md", disabled: !0, children: "Click me" }));
133
+ const e = n.getByTestId("button");
134
+ e.focus(), t(e).not.toHaveFocus();
135
+ });
136
+ });
137
+ });
@@ -3,8 +3,8 @@ import * as p from "react";
3
3
  import { useId as z, useState as G, useEffect as J } from "react";
4
4
  import U from "../Icon/Icon.js";
5
5
  import { c as P } from "../../clsx-OuTLNxxd.js";
6
- import { c as V, P as N, a as W, u as M, b as g, d as $, e as Q } from "../../index-C6Ei8t2T.js";
7
- import { P as Y } from "../../index-fkLrX08F.js";
6
+ import { c as V, P as N, e as W, u as M, d as w, f as $, g as Q } from "../../index-DMGyUYZU.js";
7
+ import { P as Y } from "../../index-CY4eJ1Hi.js";
8
8
  import '../../assets/Checkbox.css';const Z = "Checkbox-module__wrapper___rznMS", ee = "Checkbox-module__root___BS5dT", te = "Checkbox-module__indicator___HXLHH", oe = "Checkbox-module__checked___XfvkJ", re = "Checkbox-module__icon___VMxEf", ce = "Checkbox-module__label___JBaRm", ne = "Checkbox-module__disabled___WagIC", C = {
9
9
  wrapper: Z,
10
10
  root: ee,
@@ -95,10 +95,10 @@ var D = "CheckboxTrigger", T = p.forwardRef(
95
95
  value: f,
96
96
  ...n,
97
97
  ref: x,
98
- onKeyDown: g(c, (d) => {
98
+ onKeyDown: w(c, (d) => {
99
99
  d.key === "Enter" && d.preventDefault();
100
100
  }),
101
- onClick: g(o, (d) => {
101
+ onClick: w(o, (d) => {
102
102
  h((l) => m(l) ? !0 : !l), _ && v && (b.current = d.isPropagationStopped(), b.current || d.stopPropagation());
103
103
  })
104
104
  }
@@ -193,13 +193,13 @@ var F = "CheckboxBubbleInput", L = p.forwardRef(
193
193
  p.useEffect(() => {
194
194
  const l = b;
195
195
  if (!l) return;
196
- const E = window.HTMLInputElement.prototype, w = Object.getOwnPropertyDescriptor(
196
+ const E = window.HTMLInputElement.prototype, g = Object.getOwnPropertyDescriptor(
197
197
  E,
198
198
  "checked"
199
199
  ).set, O = !r.current;
200
- if (x !== e && w) {
200
+ if (x !== e && g) {
201
201
  const X = new Event("click", { bubbles: O });
202
- l.indeterminate = m(e), w.call(l, m(e) ? !1 : e), l.dispatchEvent(X);
202
+ l.indeterminate = m(e), g.call(l, m(e) ? !1 : e), l.dispatchEvent(X);
203
203
  }
204
204
  }, [b, x, e, r]);
205
205
  const d = p.useRef(m(e) ? !1 : e);
@@ -0,0 +1,36 @@
1
+ import { DataAttributes } from '../../types/data-attributes';
2
+ import { DropdownOption } from '../Dropdown/Dropdown';
3
+ type CreatableProps = {
4
+ label: string;
5
+ required?: boolean;
6
+ options: DropdownOption[];
7
+ multiSelect?: boolean;
8
+ value?: string[];
9
+ helpText?: string;
10
+ helpLink?: string;
11
+ helpLinkText?: string;
12
+ disabled?: boolean;
13
+ errorMessage?: string;
14
+ } & DataAttributes;
15
+ /**
16
+ * A dropdown input that lets users create new items on the fly.
17
+ *
18
+ * Internally this component renders `Dropdown` with `isCreatable` set to true,
19
+ * exposing a streamlined API for creatable behavior without additional setup.
20
+ *
21
+ * @param {object} props - Creatable component props
22
+ * @param {string} props.label - Field label displayed above the input
23
+ * @param {[boolean]} [props.required=false] - Whether the field is required
24
+ * @param {DropdownOption[]} props.options - Available selection options for the dropdown
25
+ * @param {[boolean]} [props.multiSelect=false] - Whether multiple options can be selected
26
+ * @param {[string[]]} [props.value] - Controlled value for the selection (array of selected option values)
27
+ * @param {[string]} [props.helpText] - Optional helper text displayed below the field
28
+ * @param {[string]} [props.helpLink] - Optional URL for help link displayed with helper text
29
+ * @param {[string]} [props.helpLinkText] - Optional help link label to display when `helpLink` is provided
30
+ * @param {[boolean]} [props.disabled] - Whether the field is disabled
31
+ * @param {[string]} [props.errorMessage] - Optional error message displayed below the field
32
+ * @param {DataAttributes} [props.data-*] - Additional `data-` attributes forwarded to the root element
33
+ * @returns {JSX.Element} The rendered Creatable component
34
+ */
35
+ export default function Creatable({ label, required, multiSelect, value, helpText, helpLink, helpLinkText, disabled, errorMessage, ...props }: CreatableProps): import("react/jsx-runtime").JSX.Element;
36
+ export {};
@@ -0,0 +1,19 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import p from "../Dropdown/Dropdown.js";
3
+ function d({
4
+ label: r,
5
+ required: e = !1,
6
+ multiSelect: t = !1,
7
+ value: a,
8
+ helpText: o,
9
+ helpLink: f,
10
+ helpLinkText: l,
11
+ disabled: s,
12
+ errorMessage: i,
13
+ ...m
14
+ }) {
15
+ return /* @__PURE__ */ n(p, { label: r, required: e, isCreatable: !0, multiSelect: t, value: a, helpText: o, helpLink: f, helpLinkText: l, disabled: s, errorMessage: i, ...m });
16
+ }
17
+ export {
18
+ d as default
19
+ };
@@ -0,0 +1,62 @@
1
+ import { DataAttributes } from '../../types/data-attributes';
2
+ export type DropdownOption = {
3
+ value: string;
4
+ label: string;
5
+ disabled?: boolean;
6
+ category?: string;
7
+ };
8
+ type DropdownProps = {
9
+ label?: string;
10
+ options: DropdownOption[];
11
+ value?: string[];
12
+ placeholder?: string;
13
+ disabled?: boolean;
14
+ required?: boolean;
15
+ searchable?: boolean;
16
+ searchPlaceholder?: string;
17
+ errorMessage?: string;
18
+ helpText?: string;
19
+ helpLink?: string;
20
+ helpLinkText?: string;
21
+ onChange?: (selectedValues: string[]) => void;
22
+ onSearch?: (searchTerm: string) => void;
23
+ grouped?: boolean;
24
+ multiSelect?: boolean;
25
+ align?: 'left' | 'right';
26
+ onToggleChange?: (checked: boolean) => void;
27
+ toggleLabel?: string;
28
+ isCreatable?: boolean;
29
+ dropdownTriggerClassName?: string;
30
+ dropdownMenuClassName?: string;
31
+ hideSelectedItems?: boolean;
32
+ } & DataAttributes;
33
+ /**
34
+ * A flexible dropdown component that supports single and multi-select functionality with search, categorization, and keyboard navigation.
35
+ *
36
+ * @param {object} props - Dropdown component props
37
+ * @param {string} props.label - The label text displayed above the dropdown
38
+ * @param {DropdownOption[]} props.options - Array of options to display in the dropdown
39
+ * @param {string[]} [props.value] - Currently selected option values (defaults to empty array)
40
+ * @param {string} [props.placeholder] - Placeholder text shown when no options are selected (defaults to 'Select options...')
41
+ * @param {boolean} [props.disabled] - Whether the dropdown is disabled (defaults to false)
42
+ * @param {boolean} [props.required] - Whether the dropdown is required, shows asterisk in label (defaults to false)
43
+ * @param {boolean} [props.searchable] - Whether to show search input for filtering options (defaults to false)
44
+ * @param {string} [props.searchPlaceholder] - Placeholder text for the search input (defaults to 'Search options...')
45
+ * @param {string} [props.errorMessage] - Error message displayed below the dropdown (shows error styling)
46
+ * @param {string} [props.helpText] - Helper text displayed below the dropdown (hidden when errorMessage is provided)
47
+ * @param {string} [props.helpLink] - URL for the help link (renders help link if provided with helpLinkText)
48
+ * @param {string} [props.helpLinkText] - Text for the help link (renders help link if provided with helpLink)
49
+ * @param {(selectedValues: string[]) => void} [props.onChange] - Callback fired when selection changes
50
+ * @param {(searchTerm: string) => void} [props.onSearch] - Callback fired when search term changes
51
+ * @param {boolean} [props.multiSelect] - Whether multiple options can be selected (defaults to false)
52
+ * @param {'left' | 'right'} [props.align] - Alignment of the dropdown menu (defaults to 'left')
53
+ * @param {(checked: boolean) => void} [props.onToggleChange] - Callback fired when toggle state changes (shows toggle if provided)
54
+ * @param {string} [props.toggleLabel] - Label text for the toggle control
55
+ * @param {boolean} [props.isCreatable] - Whether to show a "Create new option" button in the dropdown (defaults to false)
56
+ * @param {string} [props.dropdownTriggerClassName] - Class name for the dropdown trigger
57
+ * @param {string} [props.dropdownMenuClassName] - Class name for the dropdown menu
58
+ * @param {boolean} [props.hideSelectedItems] - Whether to hide the selected items in the dropdown trigger (defaults to false)
59
+ * @returns {JSX.Element} The rendered Dropdown component
60
+ */
61
+ export default function Dropdown({ label, options, value, placeholder, disabled, required, searchable, searchPlaceholder, errorMessage, helpText, helpLink, helpLinkText, onChange, onSearch, multiSelect, grouped, align, onToggleChange, toggleLabel, isCreatable, dropdownTriggerClassName, dropdownMenuClassName, hideSelectedItems, ...props }: DropdownProps): import("react/jsx-runtime").JSX.Element;
62
+ export {};