@solibo/solibo-ui 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +4 -4
  2. package/dist/assets/index.css +1 -1
  3. package/dist/assets/index14.css +1 -1
  4. package/dist/assets/index29.css +1 -1
  5. package/dist/assets/index31.css +1 -1
  6. package/dist/assets/index41.css +1 -1
  7. package/dist/assets/index44.css +1 -1
  8. package/dist/assets/index45.css +1 -1
  9. package/dist/assets/index53.css +1 -1
  10. package/dist/assets/menu-popover.css +1 -1
  11. package/dist/components/banner/index.cjs +1 -1
  12. package/dist/components/banner/index.js +12 -12
  13. package/dist/components/button/index.cjs +1 -1
  14. package/dist/components/button/index.js +29 -29
  15. package/dist/components/checkbox/index.cjs +1 -1
  16. package/dist/components/checkbox/index.js +1 -1
  17. package/dist/components/controls/index.cjs +1 -1
  18. package/dist/components/controls/index.js +1 -1
  19. package/dist/components/dropdown/index.cjs +1 -1
  20. package/dist/components/dropdown/index.js +60 -60
  21. package/dist/components/editor/index.cjs +1 -1
  22. package/dist/components/editor/index.js +1 -1
  23. package/dist/components/empty-state/index.cjs +1 -1
  24. package/dist/components/empty-state/index.js +13 -13
  25. package/dist/components/fieldset/index.cjs +1 -1
  26. package/dist/components/fieldset/index.js +4 -4
  27. package/dist/components/icon/index.cjs +1 -1
  28. package/dist/components/icon/index.js +1 -1
  29. package/dist/components/input/index.cjs +1 -1
  30. package/dist/components/input/index.js +2 -2
  31. package/dist/components/menu/index.cjs +1 -1
  32. package/dist/components/menu/index.js +1 -1
  33. package/dist/components/messages/index.cjs +1 -1
  34. package/dist/components/messages/index.js +13 -13
  35. package/dist/components/nav/index.cjs +1 -1
  36. package/dist/components/nav/index.js +1 -1
  37. package/dist/components/popover/index.cjs +1 -1
  38. package/dist/components/popover/index.js +36 -36
  39. package/dist/components/search/index.cjs +1 -1
  40. package/dist/components/search/index.js +1 -1
  41. package/dist/components/select/index.cjs +1 -1
  42. package/dist/components/select/index.js +2 -2
  43. package/dist/icons-B3hIY9Bm.cjs +2 -0
  44. package/dist/icons-B3hIY9Bm.cjs.map +1 -0
  45. package/dist/{icons-CBbpxsJF.js → icons-CTtWkF6z.js} +18 -7
  46. package/dist/icons-CTtWkF6z.js.map +1 -0
  47. package/dist/{index-BuSfz4qx.js → index-BIpgkB-u.js} +2 -2
  48. package/dist/{index-BuSfz4qx.js.map → index-BIpgkB-u.js.map} +1 -1
  49. package/dist/{index-CeHwRKAg.cjs → index-Bbauu1No.cjs} +2 -2
  50. package/dist/{index-CeHwRKAg.cjs.map → index-Bbauu1No.cjs.map} +1 -1
  51. package/dist/{index-DBWgRXp9.js → index-CMPTHneU.js} +2 -2
  52. package/dist/{index-DBWgRXp9.js.map → index-CMPTHneU.js.map} +1 -1
  53. package/dist/{index-5qUTKX7P.cjs → index-DAjU2bTe.cjs} +2 -2
  54. package/dist/{index-5qUTKX7P.cjs.map → index-DAjU2bTe.cjs.map} +1 -1
  55. package/dist/index.cjs +1 -1
  56. package/dist/index.d.ts +11 -0
  57. package/dist/index.js +2 -2
  58. package/dist/{menu-popover-D-Ax5zzy.js → menu-popover-BV7nUXlb.js} +20 -20
  59. package/dist/{menu-popover-D-Ax5zzy.js.map → menu-popover-BV7nUXlb.js.map} +1 -1
  60. package/dist/menu-popover-fGpFDJTo.cjs +2 -0
  61. package/dist/{menu-popover-CdhAgSQb.cjs.map → menu-popover-fGpFDJTo.cjs.map} +1 -1
  62. package/dist/tokens.json +1 -1
  63. package/package.json +2 -1
  64. package/dist/icons-BTif0nDb.cjs +0 -2
  65. package/dist/icons-BTif0nDb.cjs.map +0 -1
  66. package/dist/icons-CBbpxsJF.js.map +0 -1
  67. package/dist/menu-popover-CdhAgSQb.cjs +0 -2
@@ -1 +1 @@
1
- ._messages_pqp89_1 [data-type=avatar]{margin-bottom:var(--scale-8)}._messages_pqp89_1 [data-component=tooltip]{margin:var(--shape-spacing-sm)}._messages_pqp89_1>ul{background-color:var(--colors-neutral-0);padding:var(--utils-tokens-unit) 0}._messages_pqp89_1>ul>li{margin-bottom:var(--scale-24)}._fill_pqp89_20{display:grid;flex:1;grid-template-rows:minmax(0,1fr) auto;min-height:0}._fill_pqp89_20>[data-message-list]{margin:0;min-height:0;overflow-y:auto}
1
+ ._messages_6nen5_1 [data-type=avatar]{margin-bottom:var(--scale-8)}._messages_6nen5_1 [data-component=tooltip]{margin:var(--shape-spacing-sm)}._messages_6nen5_1>ul{background-color:var(--colors-semantic-bg-surface);padding:var(--utils-tokens-unit) 0}._messages_6nen5_1>ul>li{margin-bottom:var(--scale-24)}._fill_6nen5_20{display:grid;flex:1;grid-template-rows:minmax(0,1fr) auto;min-height:0}._fill_6nen5_20>[data-message-list]{margin:0;min-height:0;overflow-y:auto}
@@ -1 +1 @@
1
- @keyframes _slide-down_1au2i_1{0%{opacity:0;transform:translateY(calc(-100% - 2 * var(--utils-tokens-unit)))}to{opacity:1;transform:translateY(0)}}._banner_1au2i_13{align-items:center;background-color:var(--colors-semantic-primary-primary);color:var(--colors-semantic-bg-surface);display:flex;font-family:var(--utils-tokens-font-family);left:0;opacity:0;padding:var(--utils-tokens-unit);position:fixed;right:0;top:0;transform:translateY(calc(-100% - 2 * var(--utils-tokens-unit)));z-index:1337}._banner_1au2i_13 button{margin-left:auto}._banner_1au2i_13._visible_1au2i_32{animation:_slide-down_1au2i_1 var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);opacity:1;transform:translateY(0)}
1
+ @keyframes _slide-down_hqbfl_1{0%{opacity:0;transform:translateY(calc(-100% - 2 * var(--utils-tokens-unit)))}to{opacity:1;transform:translateY(0)}}._banner_hqbfl_13{align-items:center;background-color:var(--colors-semantic-primary-primary);color:var(--colors-semantic-bg-surface);display:flex;font-family:var(--utils-tokens-font-family-body);left:0;opacity:0;padding:var(--utils-tokens-unit);position:fixed;right:0;top:0;transform:translateY(calc(-100% - 2 * var(--utils-tokens-unit)));z-index:1337}._banner_hqbfl_13 button{margin-left:auto}._banner_hqbfl_13._visible_hqbfl_32{animation:_slide-down_hqbfl_1 var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);opacity:1;transform:translateY(0)}
@@ -1 +1 @@
1
- ._button_qo4o4_1{align-items:center;background-color:var(--colors-semantic-bg-page);border:none;border-radius:var(--shape-border-radius-radius-lg);box-shadow:var(--shape-box-shadow-xs-position-x) var(--shape-box-shadow-xs-position-y) var(--shape-box-shadow-xs-blur) var(--shape-box-shadow-xs-spread) var(--shape-box-shadow-xs-color);color:var(--colors-semantic-content-secondary);cursor:pointer;display:inline-flex;font-family:var(--utils-tokens-font-family);font-size:var(--typography-font-sizes-body-md);font-weight:var(--font-font-weight-semibold);gap:var(--shape-spacing-xs);padding:var(--shape-spacing-sm);transition:all var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function)}._button_qo4o4_1._large_qo4o4_20{font-size:var(--typography-font-sizes-label-lg)}._button_qo4o4_1._small_qo4o4_24{font-size:var(--typography-font-sizes-label-sm);padding:var(--shape-spacing-xs)}._button_qo4o4_1:disabled{cursor:not-allowed;opacity:var(--utils-tokens-opacity-minimal)}._button_qo4o4_1._danger_qo4o4_34 [data-component=loading]{border-color:var(--colors-semantic-status-error-bg);border-bottom-color:var(--colors-semantic-status-error-content)}._simple_qo4o4_40{background-color:transparent;border:none;border-radius:0;box-shadow:none;margin:0;padding:0}._primary_qo4o4_49{background-color:var(--colors-semantic-primary-primary);color:var(--colors-semantic-bg-surface)}._primary_qo4o4_49:not([disabled]):hover{background-color:var(--colors-semantic-primary-primary-active)}._secondary_qo4o4_58{background-color:var(--colors-semantic-interactive-secondary-bg)}._secondary_qo4o4_58:not([disabled]):hover{background-color:var(--colors-semantic-interactive-secondary-hover)}._primary_qo4o4_49._danger_qo4o4_34,._secondary_qo4o4_58._danger_qo4o4_34{background-color:var(--colors-semantic-interactive-destructive-bg);color:var(--colors-semantic-bg-surface)}._primary_qo4o4_49._danger_qo4o4_34:not([disabled]):hover,._secondary_qo4o4_58._danger_qo4o4_34:not([disabled]):hover{background-color:var(--colors-semantic-interactive-destructive-hover);box-shadow:var(--shape-box-shadow-sm-position-x) var(--shape-box-shadow-sm-position-y) var(--shape-box-shadow-sm-blur) var(--shape-box-shadow-sm-spread) var(--shape-box-shadow-sm-color)}._tertiary_qo4o4_81{background-color:transparent;border:none;border-radius:var(--shape-border-radius-radius-md);box-shadow:none}._tertiary_qo4o4_81:not([disabled]):hover{background-color:var(--colors-semantic-interactive-hover-subtle)}._tertiary_qo4o4_81._danger_qo4o4_34{color:var(--colors-semantic-content-destructive)}._tertiary_qo4o4_81._danger_qo4o4_34:not([disabled]):active{outline:var(--shape-outline-selected) solid var(--colors-semantic-status-error-border)}._tertiary_qo4o4_81._danger_qo4o4_34:not([disabled]):hover{background-color:var(--colors-semantic-interactive-secondary-destructive-hover)}._primary_qo4o4_49:not([disabled]):active,._secondary_qo4o4_58:not([disabled]):active,._tertiary_qo4o4_81:not([disabled]):active{outline:var(--shape-outline-selected) solid var(--colors-semantic-primary-primary-subtle-border)}._primary_qo4o4_49:not([disabled]):focus,._secondary_qo4o4_58:not([disabled]):focus,._tertiary_qo4o4_81:not([disabled]):focus{outline:var(--shape-outline-focus) solid var(--colors-semantic-border-focus)}@media (width <= 768px){[data-component=button]{justify-content:center}}
1
+ ._button_53369_3{align-items:center;background-color:var(--colors-semantic-bg-page);border:none;border-radius:var(--shape-border-radius-radius-lg);box-shadow:var(--shape-box-shadow-xs-position-x) var(--shape-box-shadow-xs-position-y) var(--shape-box-shadow-xs-blur) var(--shape-box-shadow-xs-spread) var(--shape-box-shadow-xs-color);color:var(--colors-semantic-content-secondary);cursor:pointer;display:inline-flex;font-family:var(--utils-tokens-font-family-body);font-size:var(--typography-font-sizes-body-md);font-weight:var(--font-font-weight-semibold);gap:var(--shape-spacing-xs);padding:var(--shape-spacing-sm);transition:all var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function)}._button_53369_3._large_53369_22{font-size:var(--typography-font-sizes-label-lg)}._button_53369_3._small_53369_26{font-size:var(--typography-font-sizes-label-sm);padding:var(--shape-spacing-xs)}._button_53369_3:disabled{cursor:not-allowed;opacity:var(--utils-tokens-opacity-minimal)}._button_53369_3._danger_53369_36 [data-component=loading]{border-color:var(--colors-semantic-status-error-bg);border-bottom-color:var(--colors-semantic-status-error-content)}._simple_53369_42{background-color:transparent;border:none;border-radius:0;box-shadow:none;margin:0;padding:0}._primary_53369_51{background-color:var(--colors-semantic-primary-primary);color:var(--colors-semantic-bg-surface)}@media (hover: hover){._primary_53369_51:not([disabled]):hover{background-color:var(--colors-semantic-primary-primary-active)}}._secondary_53369_62{background-color:var(--colors-semantic-interactive-secondary-bg)}@media (hover: hover){._secondary_53369_62:not([disabled]):hover{background-color:var(--colors-semantic-interactive-secondary-hover)}}._primary_53369_51._danger_53369_36,._secondary_53369_62._danger_53369_36{background-color:var(--colors-semantic-interactive-destructive-bg);color:var(--colors-semantic-bg-surface)}@media (hover: hover){._primary_53369_51._danger_53369_36:not([disabled]):hover,._secondary_53369_62._danger_53369_36:not([disabled]):hover{background-color:var(--colors-semantic-interactive-destructive-hover);box-shadow:var(--shape-box-shadow-sm-position-x) var(--shape-box-shadow-sm-position-y) var(--shape-box-shadow-sm-blur) var(--shape-box-shadow-sm-spread) var(--shape-box-shadow-sm-color)}}._tertiary_53369_89{background-color:transparent;border:none;border-radius:var(--shape-border-radius-radius-md);box-shadow:none}@media (hover: hover){._tertiary_53369_89:not([disabled]):hover{background-color:var(--colors-semantic-interactive-hover-subtle)}}._tertiary_53369_89._danger_53369_36{color:var(--colors-semantic-content-destructive)}._tertiary_53369_89._danger_53369_36:not([disabled]):active{outline-color:var(--colors-semantic-status-error-border)}@media (hover: hover){._tertiary_53369_89._danger_53369_36:not([disabled]):hover{background-color:var(--colors-semantic-interactive-secondary-destructive-hover)}}._primary_53369_51,._secondary_53369_62,._tertiary_53369_89{outline:var(--shape-outline-selected) solid transparent}._primary_53369_51:not([disabled]):active,._secondary_53369_62:not([disabled]):active,._tertiary_53369_89:not([disabled]):active{outline-color:var(--colors-semantic-primary-primary-subtle-border);transition-duration:0s}._primary_53369_51:not([disabled]):focus-visible,._secondary_53369_62:not([disabled]):focus-visible,._tertiary_53369_89:not([disabled]):focus-visible{outline:solid var(--shape-outline-focus) var(--colors-semantic-border-focus);outline-offset:var(--shape-spacing-3xs)}@media (width <= 768px){[data-component=button]{justify-content:center}}
@@ -1 +1 @@
1
- ._combobox_ej99h_3{align-items:center;display:flex;flex-wrap:wrap;gap:var(--shape-spacing-2xs);min-height:calc(var(--scale-32) + var(--scale-8));padding:var(--shape-spacing-2xs) 0}._combobox-input_ej99h_12{background-color:transparent;border:0;box-shadow:none;color:var(--colors-semantic-content-primary);flex:1 1 calc(10 * var(--utils-tokens-unit));font:inherit;min-width:calc(10 * var(--utils-tokens-unit));padding:var(--utils-tokens-unit)}._combobox-input_ej99h_12::-moz-placeholder{color:var(--colors-semantic-content-tertiary)}._combobox-input_ej99h_12::placeholder{color:var(--colors-semantic-content-tertiary)}._dropdown_ej99h_27{min-width:0;position:relative;width:100%}._dropdown_ej99h_27 ._empty_ej99h_32,._dropdown_ej99h_27 ._group_ej99h_33,._dropdown_ej99h_27 ._placeholder_ej99h_34{color:var(--colors-semantic-content-secondary)}._dropdown_ej99h_27 ._empty_ej99h_32{padding:var(--scale-4) var(--scale-8)}._dropdown_ej99h_27 ._filter_ej99h_42{font-size:var(--typography-font-sizes-label-sm);margin:var(--scale-4);width:calc(100% - var(--shape-spacing-xs))}._dropdown_ej99h_27 ._group_ej99h_33{flex-shrink:0}._dropdown_ej99h_27 ._native_ej99h_52{height:var(--scale-1);left:0;opacity:0;pointer-events:none;position:absolute;top:0;width:var(--scale-1)}._dropdown_ej99h_27 ._option_ej99h_62{align-items:center;background-color:transparent;border:0;border-radius:var(--shape-border-radius-radius-md);color:inherit;display:flex;font-weight:var(--font-font-weight-regular);gap:var(--scale-8);justify-content:space-between;overflow:hidden;text-align:left;white-space:nowrap;width:100%}._dropdown_ej99h_27 ._option_ej99h_62:disabled{color:var(--colors-neutral-300);cursor:not-allowed}._dropdown_ej99h_27 ._options_ej99h_83{margin:0;max-height:calc(var(--scale-32) * 8);overflow-y:auto;padding:var(--scale-4);scrollbar-color:var(--colors-semantic-border-default) transparent;scrollbar-width:thin}._dropdown_ej99h_27 ._options_ej99h_83::-webkit-scrollbar{width:var(--scale-8)}._dropdown_ej99h_27 ._options_ej99h_83::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--colors-semantic-bg-surface);border:var(--scale-2) solid transparent;border-radius:var(--shape-border-radius-radius-md)}._dropdown_ej99h_27 ._options_ej99h_83::-webkit-scrollbar-track{background:transparent}._dropdown_ej99h_27 ._panel_ej99h_107{background-color:var(--colors-semantic-bg-surface);border:var(--scale-1) solid var(--colors-semantic-border-default);border-radius:var(--shape-border-radius-radius-md);box-shadow:var(--shape-box-shadow-sm-position-x) var(--shape-box-shadow-sm-position-y) var(--shape-box-shadow-sm-blur) var(--shape-box-shadow-sm-spread) var(--shape-box-shadow-sm-color);display:grid;left:0;margin-top:var(--shape-spacing-2xs);max-height:80vh;max-width:min(95vw,var(--shape-width-max));min-width:100%;overflow:hidden;padding:var(--scale-4);position:absolute;width:-moz-max-content;width:max-content;z-index:var(--utils-tokens-z-max)}._dropdown_ej99h_27 ._placeholder_ej99h_34{color:var(--colors-semantic-content-primary);font-weight:var(--font-font-weight-regular)}._dropdown_ej99h_27 ._selected_ej99h_132{font-weight:var(--font-font-weight-semibold)}._dropdown_ej99h_27 ._text_ej99h_136{flex:1 1 auto;font-size:var(--typography-font-sizes-label-sm);line-height:var(--typography-font-sizes-label-lg);min-width:0;white-space:pre-wrap}._dropdown_ej99h_27 ._trigger_ej99h_144{border:var(--scale-1) solid var(--colors-semantic-border-default);border-radius:var(--shape-border-radius-radius-md);box-shadow:var(--shape-box-shadow-xs-position-x) var(--shape-box-shadow-xs-position-y) var(--shape-box-shadow-xs-blur) var(--shape-box-shadow-xs-spread) var(--shape-box-shadow-xs-color);color:var(--colors-semantic-content-primary);font-size:var(--typography-font-sizes-body-md);padding:var(--utils-tokens-unit);transition:border var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);align-items:center;background-color:var(--colors-semantic-bg-surface);display:flex;font-weight:var(--font-font-weight-regular);max-width:100%;min-height:calc(var(--scale-32) + var(--scale-8));overflow:hidden;padding-right:var(--scale-32);padding-top:calc(var(--utils-tokens-unit) - var(--scale-1));position:relative;text-align:left;width:100%}._dropdown_ej99h_27 ._trigger_ej99h_144::-moz-placeholder{color:var(--colors-semantic-content-tertiary)}._dropdown_ej99h_27 ._trigger_ej99h_144::placeholder{color:var(--colors-semantic-content-tertiary)}._dropdown_ej99h_27 ._trigger_ej99h_144:disabled{background-color:var(--colors-semantic-interactive-disabled);color:var(--colors-semantic-content-primary);pointer-events:none}._dropdown_ej99h_27 ._trigger_ej99h_144:after{background-image:var(--icon-svg);background-position:center;background-repeat:no-repeat;background-size:contain;content:"";height:var(--utils-tokens-icon-medium);position:absolute;right:var(--scale-8);top:50%;transform:translateY(-50%);transition:transform var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);width:var(--utils-tokens-icon-medium)}._dropdown_ej99h_27 ._trigger_ej99h_144[data-open=true]:after{transform:translateY(-50%) rotate(180deg)}._dropdown_ej99h_27._minimal_ej99h_181{--dropdown-background: rgb(0 0 0 / 85%);--dropdown-muted: rgb(255 255 255 / 65%);--dropdown-placeholder: rgb(255 255 255 / 65%)}._dropdown_ej99h_27._minimal_ej99h_181 ._empty_ej99h_32,._dropdown_ej99h_27._minimal_ej99h_181 ._group_ej99h_33{color:var(--dropdown-muted)}._dropdown_ej99h_27._minimal_ej99h_181 ._filter_ej99h_42{border:0;box-shadow:none;padding:var(--scale-4);padding-left:calc(var(--scale-32) - var(--scale-4))}._dropdown_ej99h_27._minimal_ej99h_181 ._option_ej99h_62{color:var(--colors-semantic-bg-surface)}._dropdown_ej99h_27._minimal_ej99h_181 ._option_ej99h_62:disabled{color:#ffffff73}._dropdown_ej99h_27._minimal_ej99h_181 ._option_ej99h_62:not([disabled]):hover{background-color:var(--colors-semantic-primary-primary-hover)}._dropdown_ej99h_27._minimal_ej99h_181 ._panel_ej99h_107{background-color:var(--dropdown-background);border:none;color:var(--colors-semantic-bg-surface);margin-top:calc(var(--scale-12) * -1)}._dropdown_ej99h_27._minimal_ej99h_181 ._panel_ej99h_107 input{background-color:transparent;border-color:var(--colors-neutral-300);color:var(--colors-semantic-bg-surface)}._dropdown_ej99h_27._minimal_ej99h_181 ._panel_ej99h_107 input::-moz-placeholder{color:var(--dropdown-muted)}._dropdown_ej99h_27._minimal_ej99h_181 ._panel_ej99h_107 input::placeholder{color:var(--dropdown-muted)}._dropdown_ej99h_27._minimal_ej99h_181 ._placeholder_ej99h_34{color:var(--dropdown-placeholder)}._dropdown_ej99h_27._minimal_ej99h_181 ._trigger_ej99h_144{background-color:var(--dropdown-background);border:none;color:var(--colors-semantic-bg-surface);margin-bottom:var(--utils-tokens-unit);padding:0 var(--shape-spacing-xs)}._dropdown_ej99h_27._inline_ej99h_240{flex:1 1 auto;min-width:0}._dropdown_ej99h_27._inline_ej99h_240 ._combobox_ej99h_3{border:0;border-radius:0;box-shadow:none;outline:0;min-height:calc(var(--scale-32) + var(--scale-8));padding:0}._dropdown_ej99h_27._inline_ej99h_240 ._combobox-input_ej99h_12{border:0;border-radius:0;box-shadow:none;outline:0;padding:var(--shape-spacing-xs) 0}._dropdown_ej99h_27._inline_ej99h_240 ._text_ej99h_136{font-size:var(--typography-font-sizes-body-md)}._dropdown_ej99h_27._inline_ej99h_240 ._trigger_ej99h_144{border:0;border-radius:0;box-shadow:none;outline:0;min-height:calc(var(--scale-32) + var(--scale-8));padding-bottom:var(--shape-spacing-xs);padding-left:0;padding-top:var(--shape-spacing-xs)}._label_ej99h_272{display:grid;gap:var(--scale-8);width:100%}._inline-field_ej99h_278{align-items:center;border-bottom:var(--scale-1) solid var(--colors-semantic-border-default);display:flex;gap:var(--shape-spacing-sm);min-height:calc(var(--scale-32) + var(--scale-8));transition:border-color var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);width:100%}._inline-field_ej99h_278:focus-within{border-bottom-color:var(--colors-semantic-primary-primary)}._inline-field_ej99h_278>span{color:var(--colors-semantic-content-tertiary);flex:none;margin-bottom:0!important}
1
+ ._combobox_13pqc_3{align-items:center;display:flex;flex-wrap:wrap;gap:var(--shape-spacing-2xs);min-height:calc(var(--scale-32) + var(--scale-8));padding:var(--shape-spacing-2xs) 0}._combobox-input_13pqc_12{background-color:transparent;border:0;box-shadow:none;color:var(--colors-semantic-content-primary);flex:1 1 calc(10 * var(--utils-tokens-unit));font:inherit;min-width:calc(10 * var(--utils-tokens-unit));padding:var(--utils-tokens-unit)}._combobox-input_13pqc_12::-moz-placeholder{color:var(--colors-semantic-content-tertiary)}._combobox-input_13pqc_12::placeholder{color:var(--colors-semantic-content-tertiary)}._dropdown_13pqc_27{min-width:0;position:relative;width:100%}._dropdown_13pqc_27 ._empty_13pqc_32,._dropdown_13pqc_27 ._group_13pqc_33,._dropdown_13pqc_27 ._placeholder_13pqc_34{color:var(--colors-semantic-content-secondary)}._dropdown_13pqc_27 ._empty_13pqc_32{padding:var(--scale-4) var(--scale-8)}._dropdown_13pqc_27 ._filter_13pqc_42{font-size:var(--typography-font-sizes-label-sm);margin:var(--scale-4);width:calc(100% - var(--shape-spacing-xs))}._dropdown_13pqc_27 ._group_13pqc_33{flex-shrink:0}._dropdown_13pqc_27 ._native_13pqc_52{height:var(--scale-1);left:0;opacity:0;pointer-events:none;position:absolute;top:0;width:var(--scale-1)}._dropdown_13pqc_27 ._option_13pqc_62{align-items:center;background-color:transparent;border:0;border-radius:var(--shape-border-radius-radius-md);color:inherit;display:flex;font-weight:var(--font-font-weight-regular);gap:var(--scale-8);justify-content:space-between;overflow:hidden;text-align:left;white-space:nowrap;width:100%}._dropdown_13pqc_27 ._option_13pqc_62:disabled{color:var(--colors-semantic-content-disabled);cursor:not-allowed}._dropdown_13pqc_27 ._options_13pqc_83{margin:0;max-height:calc(var(--scale-32) * 8);overflow-y:auto;padding:var(--scale-4);scrollbar-color:var(--colors-semantic-border-default) transparent;scrollbar-width:thin}._dropdown_13pqc_27 ._options_13pqc_83::-webkit-scrollbar{width:var(--scale-8)}._dropdown_13pqc_27 ._options_13pqc_83::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--colors-semantic-bg-surface);border:var(--scale-2) solid transparent;border-radius:var(--shape-border-radius-radius-md)}._dropdown_13pqc_27 ._options_13pqc_83::-webkit-scrollbar-track{background:transparent}._dropdown_13pqc_27 ._panel_13pqc_107{background-color:var(--colors-semantic-bg-surface);border:var(--scale-1) solid var(--colors-semantic-border-default);border-radius:var(--shape-border-radius-radius-md);box-shadow:var(--shape-box-shadow-sm-position-x) var(--shape-box-shadow-sm-position-y) var(--shape-box-shadow-sm-blur) var(--shape-box-shadow-sm-spread) var(--shape-box-shadow-sm-color);display:grid;left:0;margin-top:var(--shape-spacing-2xs);max-height:80vh;max-width:min(95vw,var(--shape-width-max));min-width:100%;overflow:hidden;padding:var(--scale-4);position:absolute;width:-moz-max-content;width:max-content;z-index:var(--utils-tokens-z-max)}._dropdown_13pqc_27 ._placeholder_13pqc_34{color:var(--colors-semantic-content-primary);font-weight:var(--font-font-weight-regular)}._dropdown_13pqc_27 ._selected_13pqc_132{font-weight:var(--font-font-weight-semibold)}._dropdown_13pqc_27 ._text_13pqc_136{flex:1 1 auto;font-size:var(--typography-font-sizes-label-sm);line-height:var(--typography-font-sizes-label-lg);min-width:0;white-space:pre-wrap}._dropdown_13pqc_27 ._trigger_13pqc_144{border:var(--scale-1) solid var(--colors-semantic-border-default);border-radius:var(--shape-border-radius-radius-md);box-shadow:var(--shape-box-shadow-xs-position-x) var(--shape-box-shadow-xs-position-y) var(--shape-box-shadow-xs-blur) var(--shape-box-shadow-xs-spread) var(--shape-box-shadow-xs-color);color:var(--colors-semantic-content-primary);font-size:var(--typography-font-sizes-body-md);padding:var(--utils-tokens-unit);transition:border var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);align-items:center;background-color:var(--colors-semantic-bg-surface);display:flex;font-weight:var(--font-font-weight-regular);max-width:100%;min-height:calc(var(--scale-32) + var(--scale-8));overflow:hidden;padding-right:var(--scale-32);padding-top:calc(var(--utils-tokens-unit) - var(--scale-1));position:relative;text-align:left;width:100%}._dropdown_13pqc_27 ._trigger_13pqc_144::-moz-placeholder{color:var(--colors-semantic-content-tertiary)}._dropdown_13pqc_27 ._trigger_13pqc_144::placeholder{color:var(--colors-semantic-content-tertiary)}._dropdown_13pqc_27 ._trigger_13pqc_144:disabled{background-color:var(--colors-semantic-interactive-disabled);color:var(--colors-semantic-content-primary);pointer-events:none}._dropdown_13pqc_27 ._trigger_13pqc_144:after{background-image:var(--icon-svg);background-position:center;background-repeat:no-repeat;background-size:contain;content:"";height:var(--utils-tokens-icon-medium);position:absolute;right:var(--scale-8);top:50%;transform:translateY(-50%);transition:transform var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);width:var(--utils-tokens-icon-medium)}._dropdown_13pqc_27 ._trigger_13pqc_144[data-open=true]:after{transform:translateY(-50%) rotate(180deg)}._dropdown_13pqc_27._minimal_13pqc_181{--dropdown-background: var(--colors-semantic-bg-backdrop);--dropdown-content: var(--colors-neutral-0);--dropdown-muted: rgb(255 255 255 / 65%);--dropdown-placeholder: rgb(255 255 255 / 65%)}._dropdown_13pqc_27._minimal_13pqc_181 ._empty_13pqc_32,._dropdown_13pqc_27._minimal_13pqc_181 ._group_13pqc_33{color:var(--dropdown-muted)}._dropdown_13pqc_27._minimal_13pqc_181 ._filter_13pqc_42{border:0;box-shadow:none;padding:var(--scale-4);padding-left:calc(var(--scale-32) - var(--scale-4))}._dropdown_13pqc_27._minimal_13pqc_181 ._option_13pqc_62{color:var(--dropdown-content)}._dropdown_13pqc_27._minimal_13pqc_181 ._option_13pqc_62:disabled{color:#ffffff73}._dropdown_13pqc_27._minimal_13pqc_181 ._option_13pqc_62:not([disabled]):hover{background-color:#ffffff1a}._dropdown_13pqc_27._minimal_13pqc_181 ._panel_13pqc_107{background-color:var(--dropdown-background);border:none;color:var(--dropdown-content);margin-top:calc(var(--scale-12) * -1)}._dropdown_13pqc_27._minimal_13pqc_181 ._panel_13pqc_107 input{background-color:transparent;border-color:var(--colors-semantic-border-strong);color:var(--dropdown-content)}._dropdown_13pqc_27._minimal_13pqc_181 ._panel_13pqc_107 input::-moz-placeholder{color:var(--dropdown-muted)}._dropdown_13pqc_27._minimal_13pqc_181 ._panel_13pqc_107 input::placeholder{color:var(--dropdown-muted)}._dropdown_13pqc_27._minimal_13pqc_181 ._placeholder_13pqc_34{color:var(--dropdown-placeholder)}._dropdown_13pqc_27._minimal_13pqc_181 ._trigger_13pqc_144{background-color:var(--dropdown-background);border:none;color:var(--dropdown-content);margin-bottom:var(--utils-tokens-unit);padding:0 var(--shape-spacing-xs)}._dropdown_13pqc_27._inline_13pqc_241{flex:1 1 auto;min-width:0}._dropdown_13pqc_27._inline_13pqc_241 ._combobox_13pqc_3{border:0;border-radius:0;box-shadow:none;outline:0;min-height:calc(var(--scale-32) + var(--scale-8));padding:0}._dropdown_13pqc_27._inline_13pqc_241 ._combobox-input_13pqc_12{border:0;border-radius:0;box-shadow:none;outline:0;padding:var(--shape-spacing-xs) 0}._dropdown_13pqc_27._inline_13pqc_241 ._text_13pqc_136{font-size:var(--typography-font-sizes-body-md)}._dropdown_13pqc_27._inline_13pqc_241 ._trigger_13pqc_144{border:0;border-radius:0;box-shadow:none;outline:0;min-height:calc(var(--scale-32) + var(--scale-8));padding-bottom:var(--shape-spacing-xs);padding-left:0;padding-top:var(--shape-spacing-xs)}._label_13pqc_273{display:grid;gap:var(--scale-8);width:100%}._inline-field_13pqc_279{align-items:center;border-bottom:var(--scale-1) solid var(--colors-semantic-border-default);display:flex;gap:var(--shape-spacing-sm);min-height:calc(var(--scale-32) + var(--scale-8));transition:border-color var(--utils-tokens-transition-duration) var(--utils-tokens-transition-timing-function);width:100%}._inline-field_13pqc_279:focus-within{border-bottom-color:var(--colors-semantic-primary-primary)}._inline-field_13pqc_279>span{color:var(--colors-semantic-content-tertiary);flex:none;margin-bottom:0!important}
@@ -1 +1 @@
1
- ._empty-state_v8jer_3{max-width:var(--shape-width-max);align-items:center;display:flex;flex-direction:column;margin:var(--shape-spacing-3xl) auto;padding:0 var(--shape-spacing-md);text-align:center;width:100%}._empty-state_v8jer_3 ._header_v8jer_14{font-family:var(--font-font-family-heading);font-size:var(--typography-font-sizes-h3);margin-bottom:0}@media (width <= 768px){._empty-state_v8jer_3{margin-block:var(--shape-spacing-md)}}
1
+ ._empty-state_1nfk9_3{max-width:var(--shape-width-max);align-items:center;display:flex;flex-direction:column;margin:var(--shape-spacing-3xl) auto;padding:0 var(--shape-spacing-md);text-align:center;width:100%}._empty-state_1nfk9_3 ._header_1nfk9_14{font-family:var(--utils-tokens-font-family-headline);font-size:var(--typography-font-sizes-h3);margin-bottom:0}@media (width <= 768px){._empty-state_1nfk9_3{margin-block:var(--shape-spacing-md)}}
@@ -1 +1 @@
1
- ._fieldset_f5vpp_1{background-color:var(--colors-neutral-0);border:0;border-top:solid 1px var(--colors-semantic-border-default);display:grid;flex:none;gap:0;margin:0;min-width:0;padding:var(--shape-spacing-xs) var(--shape-spacing-md)}
1
+ ._fieldset_109id_1{background-color:var(--colors-semantic-bg-surface);border:0;border-top:solid 1px var(--colors-semantic-border-default);display:grid;flex:none;gap:0;margin:0;min-width:0;padding:var(--shape-spacing-xs) var(--shape-spacing-md)}
@@ -1 +1 @@
1
- ._popover_9ekpx_1{display:inline-block;position:relative}._inline_9ekpx_6{line-height:0;visibility:hidden}._inline_9ekpx_6[data-open=true],._inline_9ekpx_6:focus-within{visibility:visible}@media (width < 768px){._inline_9ekpx_6{visibility:unset}}a:hover>._inline_9ekpx_6,a:focus-within>._inline_9ekpx_6{visibility:visible}._popover-panel_9ekpx_26{background-color:var(--colors-semantic-bg-surface);border:var(--shape-border-width-default) solid var(--colors-semantic-border-default);border-radius:var(--shape-border-radius-radius-lg);box-shadow:var(--shape-box-shadow-sm-position-x) var(--shape-box-shadow-sm-position-y) var(--shape-box-shadow-sm-blur) var(--shape-box-shadow-sm-spread) var(--shape-box-shadow-sm-color);font-family:var(--utils-tokens-font-family);margin-top:var(--shape-spacing-2xs);max-height:90vh;max-width:90vw;overflow:auto;padding:var(--shape-spacing-xs);position:absolute;z-index:3}._popover-panel_9ekpx_26 button{justify-content:left}._below_9ekpx_47{margin-top:var(--shape-spacing-2xs);top:100%}._above_9ekpx_52{bottom:100%;margin-bottom:var(--shape-spacing-2xs)}._floating-panel_9ekpx_57{bottom:auto;margin:0}._trigger_9ekpx_62{padding:var(--scale-8)}._inline-trigger_9ekpx_66{cursor:pointer;display:inline-flex}:is(._trigger_9ekpx_62,._inline-trigger_9ekpx_66){color:var(--colors-semantic-content-secondary)}:is(._trigger_9ekpx_62,._inline-trigger_9ekpx_66):focus-visible{outline:var(--scale-2) solid var(--colors-semantic-border-focus);outline-offset:var(--scale-2)}
1
+ ._popover_yjd29_1{display:inline-block;position:relative}._inline_yjd29_6{line-height:0;visibility:hidden}._inline_yjd29_6[data-open=true],._inline_yjd29_6:focus-within{visibility:visible}@media (width < 768px){._inline_yjd29_6{visibility:unset}}a:hover>._inline_yjd29_6,a:focus-within>._inline_yjd29_6{visibility:visible}._popover-panel_yjd29_26{background-color:var(--colors-semantic-bg-surface);border:var(--shape-border-width-default) solid var(--colors-semantic-border-default);border-radius:var(--shape-border-radius-radius-lg);box-shadow:var(--shape-box-shadow-sm-position-x) var(--shape-box-shadow-sm-position-y) var(--shape-box-shadow-sm-blur) var(--shape-box-shadow-sm-spread) var(--shape-box-shadow-sm-color);font-family:var(--utils-tokens-font-family-body);margin-top:var(--shape-spacing-2xs);max-height:90vh;max-width:90vw;overflow:auto;padding:var(--shape-spacing-xs);position:absolute;z-index:3}._popover-panel_yjd29_26 button{justify-content:left}._below_yjd29_47{margin-top:var(--shape-spacing-2xs);top:100%}._above_yjd29_52{bottom:100%;margin-bottom:var(--shape-spacing-2xs)}._floating-panel_yjd29_57{bottom:auto;margin:0}._trigger_yjd29_62{padding:var(--scale-8)}._inline-trigger_yjd29_66{cursor:pointer;display:inline-flex}:is(._trigger_yjd29_62,._inline-trigger_yjd29_66){color:var(--colors-semantic-content-secondary)}:is(._trigger_yjd29_62,._inline-trigger_yjd29_66):focus-visible{outline:var(--scale-2) solid var(--colors-semantic-border-focus);outline-offset:var(--scale-2)}
@@ -1 +1 @@
1
- ._list_25aqk_3{margin:0!important}._list_25aqk_3 li{margin-bottom:var(--shape-spacing-2xs)}._list_25aqk_3 li:last-child{margin-bottom:0}._item_25aqk_15{border:var(--shape-border-width-default) solid transparent;border-radius:var(--shape-border-radius-radius-lg);box-shadow:none;color:var(--colors-semantic-content-primary);font-size:var(--typography-font-sizes-label-lg);font-weight:var(--font-font-weight-regular);overflow:hidden;padding:var(--shape-spacing-md);text-align:left;white-space:nowrap;width:100%}._item_25aqk_15:disabled{color:var(--colors-neutral-300);cursor:not-allowed}._item_25aqk_15:focus-visible{outline:var(--scale-2) solid var(--colors-semantic-border-focus);outline-offset:calc(var(--scale-2) * -1)}._item_25aqk_15:not([disabled],._active_25aqk_38):hover{background-color:var(--colors-semantic-interactive-hover-subtle)}._item_25aqk_15._active_25aqk_38{background:var(--colors-semantic-primary-primary-subtle);border-color:var(--colors-semantic-primary-primary-subtle-border);color:var(--colors-semantic-content-primary);font-weight:var(--font-font-weight-semibold)}._danger_25aqk_47{color:var(--colors-semantic-interactive-destructive-bg)}._danger_25aqk_47:not([disabled]):hover{color:var(--colors-semantic-interactive-destructive-hover)}
1
+ ._list_gzth7_3{margin:0!important}._list_gzth7_3 li{margin-bottom:var(--shape-spacing-2xs)}._list_gzth7_3 li:last-child{margin-bottom:0}._item_gzth7_15{border:var(--shape-border-width-default) solid transparent;border-radius:var(--shape-border-radius-radius-lg);box-shadow:none;color:var(--colors-semantic-content-primary);font-size:var(--typography-font-sizes-label-lg);font-weight:var(--font-font-weight-regular);overflow:hidden;padding:var(--shape-spacing-md);text-align:left;white-space:nowrap;width:100%}._item_gzth7_15:disabled{color:var(--colors-semantic-content-disabled);cursor:not-allowed}._item_gzth7_15:focus-visible{outline:var(--scale-2) solid var(--colors-semantic-border-focus);outline-offset:calc(var(--scale-2) * -1)}._item_gzth7_15:not([disabled],._active_gzth7_38):hover{background-color:var(--colors-semantic-interactive-hover-subtle)}._item_gzth7_15._active_gzth7_38{background:var(--colors-semantic-primary-primary-subtle);border-color:var(--colors-semantic-primary-primary-subtle-border);color:var(--colors-semantic-content-primary);font-weight:var(--font-font-weight-semibold)}._danger_gzth7_47{color:var(--colors-semantic-interactive-destructive-bg)}._danger_gzth7_47:not([disabled]):hover{color:var(--colors-semantic-interactive-destructive-hover)}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index29.css');const t=require("react/jsx-runtime"),l=require("../../classix-5H4IWnMA.cjs"),b=require("../button/index.cjs"),u="_banner_1au2i_13",o="_visible_1au2i_32",r={banner:u,visible:o},d=({button:a,message:s,onClick:e,onDismiss:n,visible:i=!1})=>{const c=()=>{e==null||e(),n==null||n()};return t.jsxs("div",{"aria-live":"assertive",className:l.t(r.banner,i&&r.visible),"data-component":"banner",children:[s,t.jsx(b.Button,{onClick:c,children:a})]})};exports.Banner=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index29.css');const t=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),i=require("../button/index.cjs"),o="_banner_hqbfl_13",u="_visible_hqbfl_32",r={banner:o,visible:u},d=({button:a,message:s,onClick:e,onDismiss:n,visible:l=!1})=>{const b=()=>{e==null||e(),n==null||n()};return t.jsxs("div",{"aria-live":"assertive",className:c.t(r.banner,l&&r.visible),"data-component":"banner",children:[s,t.jsx(i.Button,{onClick:b,children:a})]})};exports.Banner=d;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,25 +1,25 @@
1
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
- import { t as c } from "../../classix-DG18itHa.js";
1
+ import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
+ import { t as i } from "../../classix-DG18itHa.js";
3
3
  import { Button as s } from "../button/index.js";
4
- import '../../assets/index29.css';const v = "_banner_1au2i_13", _ = "_visible_1au2i_32", a = {
4
+ import '../../assets/index29.css';const v = "_banner_hqbfl_13", f = "_visible_hqbfl_32", n = {
5
5
  banner: v,
6
- visible: _
7
- }, m = ({
8
- button: n,
9
- message: t,
6
+ visible: f
7
+ }, p = ({
8
+ button: t,
9
+ message: a,
10
10
  onClick: e,
11
11
  onDismiss: r,
12
12
  visible: b = !1
13
13
  }) => {
14
- const i = () => {
14
+ const l = () => {
15
15
  e == null || e(), r == null || r();
16
16
  };
17
- return /* @__PURE__ */ l("div", { "aria-live": "assertive", className: c(a.banner, b && a.visible), "data-component": "banner", children: [
18
- t,
19
- /* @__PURE__ */ o(s, { onClick: i, children: n })
17
+ return /* @__PURE__ */ o("div", { "aria-live": "assertive", className: i(n.banner, b && n.visible), "data-component": "banner", children: [
18
+ a,
19
+ /* @__PURE__ */ c(s, { onClick: l, children: t })
20
20
  ] });
21
21
  };
22
22
  export {
23
- m as Banner
23
+ p as Banner
24
24
  };
25
25
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const t=require("react/jsx-runtime"),g=require("../../classix-5H4IWnMA.cjs"),y=require("../loading/index.cjs"),p=require("../badge/index.cjs"),q=require("../icon/index.cjs"),b="_button_qo4o4_1",x="_large_qo4o4_20",j="_small_qo4o4_24",f="_danger_qo4o4_34",h="_simple_qo4o4_40",v="_primary_qo4o4_49",B="_secondary_qo4o4_58",S="_tertiary_qo4o4_81",e={button:b,large:x,small:j,danger:f,simple:h,primary:v,secondary:B,tertiary:S},z={primary:e.primary,secondary:e.secondary,simple:e.simple,tertiary:e.tertiary},I={large:e.large,medium:e.medium,small:e.small};function L({badge:r,children:s,className:a,disabled:i=!1,icon:n,intent:l="default",isLoading:m=!1,onClick:c,ref:_,size:o="medium",variant:d="secondary",...u}){return t.jsxs("button",{className:g.t(e.button,z[d],I[o],a,l==="danger"&&e.danger),disabled:i,onClick:c,ref:_,type:"button",...u,"data-component":"button",children:[m?t.jsx(y.Loading,{size:o==="large"?"medium":"small"}):n&&t.jsx(q.Icon,{name:n,size:o==="large"?"medium":"small"}),s,t.jsx(p.Badge,{variant:"highlight",children:r})]})}exports.Button=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index31.css');const t=require("react/jsx-runtime"),g=require("../../classix-5H4IWnMA.cjs"),y=require("../loading/index.cjs"),p=require("../badge/index.cjs"),b=require("../icon/index.cjs"),x="_button_53369_3",j="_large_53369_22",f="_small_53369_26",h="_danger_53369_36",q="_simple_53369_42",v="_primary_53369_51",B="_secondary_53369_62",S="_tertiary_53369_89",e={button:x,large:j,small:f,danger:h,simple:q,primary:v,secondary:B,tertiary:S},z={primary:e.primary,secondary:e.secondary,simple:e.simple,tertiary:e.tertiary},I={large:e.large,medium:e.medium,small:e.small};function L({badge:s,children:a,className:o,disabled:i=!1,icon:r,intent:l="default",isLoading:m=!1,onClick:c,ref:_,size:n="medium",variant:d="secondary",...u}){return t.jsxs("button",{className:g.t(e.button,z[d],I[n],o,l==="danger"&&e.danger),disabled:i,onClick:c,ref:_,type:"button",...u,"data-component":"button",children:[m?t.jsx(y.Loading,{size:n==="large"?"medium":"small"}):r&&t.jsx(b.Icon,{name:r,size:n==="large"?"medium":"small"}),a,t.jsx(p.Badge,{variant:"highlight",children:s})]})}exports.Button=L;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,45 +1,45 @@
1
- import { jsxs as y, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as y, jsx as a } from "react/jsx-runtime";
2
2
  import { t as g } from "../../classix-DG18itHa.js";
3
3
  import { Loading as u } from "../loading/index.js";
4
4
  import { Badge as f } from "../badge/index.js";
5
- import { Icon as q } from "../icon/index.js";
6
- import '../../assets/index31.css';const b = "_button_qo4o4_1", h = "_large_qo4o4_20", x = "_small_qo4o4_24", j = "_danger_qo4o4_34", v = "_simple_qo4o4_40", B = "_primary_qo4o4_49", z = "_secondary_qo4o4_58", I = "_tertiary_qo4o4_81", o = {
7
- button: b,
8
- large: h,
9
- small: x,
10
- danger: j,
11
- simple: v,
12
- primary: B,
13
- secondary: z,
14
- tertiary: I
15
- }, L = {
16
- primary: o.primary,
17
- secondary: o.secondary,
18
- simple: o.simple,
19
- tertiary: o.tertiary
5
+ import { Icon as b } from "../icon/index.js";
6
+ import '../../assets/index31.css';const h = "_button_53369_3", x = "_large_53369_22", j = "_small_53369_26", v = "_danger_53369_36", B = "_simple_53369_42", z = "_primary_53369_51", I = "_secondary_53369_62", L = "_tertiary_53369_89", r = {
7
+ button: h,
8
+ large: x,
9
+ small: j,
10
+ danger: v,
11
+ simple: B,
12
+ primary: z,
13
+ secondary: I,
14
+ tertiary: L
20
15
  }, N = {
21
- large: o.large,
22
- medium: o.medium,
23
- small: o.small
16
+ primary: r.primary,
17
+ secondary: r.secondary,
18
+ simple: r.simple,
19
+ tertiary: r.tertiary
20
+ }, k = {
21
+ large: r.large,
22
+ medium: r.medium,
23
+ small: r.small
24
24
  };
25
25
  function E({
26
- badge: e,
27
- children: n,
28
- className: s,
29
- disabled: m = !1,
30
- icon: a,
26
+ badge: n,
27
+ children: s,
28
+ className: m,
29
+ disabled: o = !1,
30
+ icon: e,
31
31
  intent: l = "default",
32
32
  isLoading: i = !1,
33
33
  onClick: _,
34
34
  ref: c,
35
- size: r = "medium",
35
+ size: t = "medium",
36
36
  variant: d = "secondary",
37
37
  ...p
38
38
  }) {
39
- return /* @__PURE__ */ y("button", { className: g(o.button, L[d], N[r], s, l === "danger" && o.danger), disabled: m, onClick: _, ref: c, type: "button", ...p, "data-component": "button", children: [
40
- i ? /* @__PURE__ */ t(u, { size: r === "large" ? "medium" : "small" }) : a && /* @__PURE__ */ t(q, { name: a, size: r === "large" ? "medium" : "small" }),
41
- n,
42
- /* @__PURE__ */ t(f, { variant: "highlight", children: e })
39
+ return /* @__PURE__ */ y("button", { className: g(r.button, N[d], k[t], m, l === "danger" && r.danger), disabled: o, onClick: _, ref: c, type: "button", ...p, "data-component": "button", children: [
40
+ i ? /* @__PURE__ */ a(u, { size: t === "large" ? "medium" : "small" }) : e && /* @__PURE__ */ a(b, { name: e, size: t === "large" ? "medium" : "small" }),
41
+ s,
42
+ /* @__PURE__ */ a(f, { variant: "highlight", children: n })
43
43
  ] });
44
44
  }
45
45
  export {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index33.css');const e=require("react/jsx-runtime"),x=require("../../icons-BTif0nDb.cjs"),b=require("../loading/index.cjs"),h="_checkbox_qf257_3",l={checkbox:h},a=({checked:s,disabled:t,isLoading:c,label:o,onChange:n,...i})=>{const r={"--icon-svg":x.iconSVG("Check")};return e.jsxs("label",{className:l.checkbox,"data-component":"checkbox",children:[e.jsx("input",{checked:s,disabled:t||c,onChange:n,type:"checkbox",style:r,...i}),c&&e.jsx(b.Loading,{size:"small",sticky:!0}),o&&o]})};exports.Checkbox=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index33.css');const e=require("react/jsx-runtime"),x=require("../../icons-B3hIY9Bm.cjs"),b=require("../loading/index.cjs"),h="_checkbox_qf257_3",l={checkbox:h},a=({checked:s,disabled:t,isLoading:c,label:o,onChange:n,...i})=>{const r={"--icon-svg":x.iconSVG("Check")};return e.jsxs("label",{className:l.checkbox,"data-component":"checkbox",children:[e.jsx("input",{checked:s,disabled:t||c,onChange:n,type:"checkbox",style:r,...i}),c&&e.jsx(b.Loading,{size:"small",sticky:!0}),o&&o]})};exports.Checkbox=a;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
- import { i as x } from "../../icons-CBbpxsJF.js";
2
+ import { i as x } from "../../icons-CTtWkF6z.js";
3
3
  import { Loading as k } from "../loading/index.js";
4
4
  import '../../assets/index33.css';const m = "_checkbox_qf257_3", a = {
5
5
  checkbox: m
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index37.css');const b=require("react/jsx-runtime"),Z=require("../../classix-5H4IWnMA.cjs"),l=require("react"),ee=require("../button/index.cjs"),A=require("../../menu-popover-CdhAgSQb.cjs"),te="_controls_t1re6_13",ne="_inline_t1re6_43",ie="_embedded_t1re6_48",re="_fixed_t1re6_49",oe="_adaptive_t1re6_60",se="_measurement_t1re6_65",h={controls:te,default:"_default_t1re6_28",inline:ne,embedded:ie,fixed:re,adaptive:oe,measurement:se,"non-button-content":"_non-button-content_t1re6_99","overflow-trigger":"_overflow-trigger_t1re6_128"},de={primary:2,secondary:1,tertiary:0,simple:0},ce={default:h.default,embedded:h.embedded,fixed:h.fixed,inline:h.inline},ae=s=>de[s.props.variant??"secondary"];function le({buttons:s,menuAccessibleLabel:i,triggerAccessibleLabel:n}){const x=s.map(o=>({button:o,isDanger:o.props.intent==="danger",value:o}));return b.jsx(A.MenuPopover,{triggerAccessibleLabel:n,"data-component":"overflowmenu",children:({close:o,initialFocus:r})=>b.jsx(A.MenuActionList,{actions:x,initialFocus:r,menuAccessibleLabel:i,onSelect:()=>o(),usesMenuSemantics:!0})})}const p=(s,i)=>{const n=Number.parseFloat(String(s[i]));return Number.isFinite(n)?n:0},ue=s=>{if(!s.trim().endsWith("px"))return;const i=Number.parseFloat(s);return Number.isFinite(i)?i:void 0},me=(s,i)=>{const n=s.parentElement;if(!n)return;const x=n.getBoundingClientRect(),o=getComputedStyle(n),r=x.width||n.clientWidth,S=x.left+p(o,"borderLeftWidth")+p(o,"paddingLeft"),M=x.left+r-p(o,"borderRightWidth")-p(o,"paddingRight"),_=Array.from(n.children).slice(0,Array.from(n.children).indexOf(s)),y=_.reduce((f,u)=>Math.max(f,u.getBoundingClientRect().right),S),c=_.length>0?p(o,"columnGap"):0,a=Math.max(0,M-y-c),R=(i==null?void 0:i.parent)===n?Math.max(0,r-i.parentWidth):0;return{availableWidth:R>0?Math.max(a,((i==null?void 0:i.availableWidth)??0)+R):a,parent:n,parentWidth:r}},fe=({children:s,className:i,maxVisibleButtons:n,overflow:x,overflowAccessibleLabel:o="More actions",variant:r="default",...S})=>{const M=l.Children.toArray(s),_=[],y=[];M.forEach(e=>{l.isValidElement(e)&&e.type===ee.Button?_.push(e):y.push(e)});const c=_.map((e,d)=>({button:e,index:d,rank:ae(e)})).sort((e,d)=>e.rank-d.rank||e.index-d.index).map(({button:e,index:d})=>l.cloneElement(e,{key:e.key??d})),a=r==="embedded"||r==="fixed"&&x==="menu",R=typeof n=="number"&&Number.isFinite(n)?Math.floor(n):0,f=r==="embedded"&&R>0?Math.min(c.length,R):c.length,u=l.useRef(null),N=l.useRef(void 0),z=l.useRef(null),E=l.useRef(null),[F,C]=l.useState(f),k=c.map(e=>String(e.key)).join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index37.css');const b=require("react/jsx-runtime"),Z=require("../../classix-5H4IWnMA.cjs"),l=require("react"),ee=require("../button/index.cjs"),A=require("../../menu-popover-fGpFDJTo.cjs"),te="_controls_t1re6_13",ne="_inline_t1re6_43",ie="_embedded_t1re6_48",re="_fixed_t1re6_49",oe="_adaptive_t1re6_60",se="_measurement_t1re6_65",h={controls:te,default:"_default_t1re6_28",inline:ne,embedded:ie,fixed:re,adaptive:oe,measurement:se,"non-button-content":"_non-button-content_t1re6_99","overflow-trigger":"_overflow-trigger_t1re6_128"},de={primary:2,secondary:1,tertiary:0,simple:0},ce={default:h.default,embedded:h.embedded,fixed:h.fixed,inline:h.inline},ae=s=>de[s.props.variant??"secondary"];function le({buttons:s,menuAccessibleLabel:i,triggerAccessibleLabel:n}){const x=s.map(o=>({button:o,isDanger:o.props.intent==="danger",value:o}));return b.jsx(A.MenuPopover,{triggerAccessibleLabel:n,"data-component":"overflowmenu",children:({close:o,initialFocus:r})=>b.jsx(A.MenuActionList,{actions:x,initialFocus:r,menuAccessibleLabel:i,onSelect:()=>o(),usesMenuSemantics:!0})})}const p=(s,i)=>{const n=Number.parseFloat(String(s[i]));return Number.isFinite(n)?n:0},ue=s=>{if(!s.trim().endsWith("px"))return;const i=Number.parseFloat(s);return Number.isFinite(i)?i:void 0},me=(s,i)=>{const n=s.parentElement;if(!n)return;const x=n.getBoundingClientRect(),o=getComputedStyle(n),r=x.width||n.clientWidth,S=x.left+p(o,"borderLeftWidth")+p(o,"paddingLeft"),M=x.left+r-p(o,"borderRightWidth")-p(o,"paddingRight"),_=Array.from(n.children).slice(0,Array.from(n.children).indexOf(s)),y=_.reduce((f,u)=>Math.max(f,u.getBoundingClientRect().right),S),c=_.length>0?p(o,"columnGap"):0,a=Math.max(0,M-y-c),R=(i==null?void 0:i.parent)===n?Math.max(0,r-i.parentWidth):0;return{availableWidth:R>0?Math.max(a,((i==null?void 0:i.availableWidth)??0)+R):a,parent:n,parentWidth:r}},fe=({children:s,className:i,maxVisibleButtons:n,overflow:x,overflowAccessibleLabel:o="More actions",variant:r="default",...S})=>{const M=l.Children.toArray(s),_=[],y=[];M.forEach(e=>{l.isValidElement(e)&&e.type===ee.Button?_.push(e):y.push(e)});const c=_.map((e,d)=>({button:e,index:d,rank:ae(e)})).sort((e,d)=>e.rank-d.rank||e.index-d.index).map(({button:e,index:d})=>l.cloneElement(e,{key:e.key??d})),a=r==="embedded"||r==="fixed"&&x==="menu",R=typeof n=="number"&&Number.isFinite(n)?Math.floor(n):0,f=r==="embedded"&&R>0?Math.min(c.length,R):c.length,u=l.useRef(null),N=l.useRef(void 0),z=l.useRef(null),E=l.useRef(null),[F,C]=l.useState(f),k=c.map(e=>String(e.key)).join(`
2
2
  `),[D,G]=l.useState(k);D!==k&&(G(k),C(f));const g=l.useCallback(()=>{var L,I,T;if(!a){C(f);return}const e=u.current,d=z.current;if(!e||!d)return;const W=Array.from(d.querySelectorAll('[data-component="button"]')),w=W.at(-1);if(!w)return;const v=W.slice(0,c.length).map(t=>t.getBoundingClientRect().width);if(v.length!==c.length)return;const m=getComputedStyle(e),H=p(m,"paddingLeft")+p(m,"paddingRight")+p(m,"borderLeftWidth")+p(m,"borderRightWidth"),J=ue(m.maxWidth),B=r==="embedded"?me(e,N.current):void 0;B&&(N.current=B);const Q=(B==null?void 0:B.availableWidth)??((L=e.parentElement)==null?void 0:L.clientWidth)??0,U=((I=window.visualViewport)==null?void 0:I.width)??document.documentElement.clientWidth,V=Math.min(...[J,Q,U].filter(t=>typeof t=="number"&&Number.isFinite(t)&&t>0));if(!Number.isFinite(V))return;const q=Math.max(0,V-H),P=((T=E.current)==null?void 0:T.getBoundingClientRect().width)??0,X=v.reduce((t,Y)=>t+Y,0);if(f===c.length&&P+X<=q){C(t=>t===f?t:f);return}let K=P+w.getBoundingClientRect().width,j=0;for(let t=0;t<f&&!(K+v[t]>q);t+=1)K+=v[t],j=t+1;C(t=>t===j?t:j)},[a,c.length,r,f]);if(l.useLayoutEffect(()=>{var d,W,w,v;if(g(),!a)return;const e=typeof ResizeObserver>"u"?void 0:new ResizeObserver(g);return u.current&&(e==null||e.observe(u.current)),(d=u.current)!=null&&d.parentElement&&(e==null||e.observe(u.current.parentElement)),r==="embedded"&&((W=u.current)!=null&&W.parentElement)&&Array.from(u.current.parentElement.children).forEach(m=>{m!==u.current&&(e==null||e.observe(m))}),E.current&&(e==null||e.observe(E.current)),window.addEventListener("resize",g),(w=window.visualViewport)==null||w.addEventListener("resize",g),(v=document.fonts)==null||v.ready.then(g),()=>{var m;e==null||e.disconnect(),window.removeEventListener("resize",g),(m=window.visualViewport)==null||m.removeEventListener("resize",g)}},[a,s,g,r]),M.length===0)return null;const $=a?c.slice(0,F):c,O=a?c.slice(F):[];return b.jsxs("div",{"data-component":"controls","data-dynamic-position":r==="fixed"?!0:void 0,"data-adaptive":a?!0:void 0,className:Z.t(h.controls,ce[r],a&&h.adaptive,i),ref:u,...S,children:[a&&b.jsxs("div",{"aria-hidden":"true",className:h.measurement,ref:z,children:[c.map((e,d)=>l.cloneElement(e,{"aria-hidden":!0,id:void 0,key:`measure-${String(e.key??d)}`,onClick:void 0,ref:void 0,tabIndex:-1})),b.jsx(A.MenuPopover,{triggerAccessibleLabel:o,children:null})]}),r!=="embedded"&&y.length>0&&b.jsx("span",{className:h["non-button-content"],ref:E,children:y}),$,O.length>0&&b.jsx("span",{className:h["overflow-trigger"],children:b.jsx(le,{buttons:O,menuAccessibleLabel:o,triggerAccessibleLabel:o})})]})};exports.Controls=fe;
3
3
  //# sourceMappingURL=index.cjs.map
@@ -2,7 +2,7 @@ import { jsxs as G, jsx as v } from "react/jsx-runtime";
2
2
  import { t as ne } from "../../classix-DG18itHa.js";
3
3
  import { Children as ie, isValidElement as re, cloneElement as P, useRef as C, useState as T, useCallback as oe, useLayoutEffect as de } from "react";
4
4
  import { Button as se } from "../button/index.js";
5
- import { a as $, M as ce } from "../../menu-popover-D-Ax5zzy.js";
5
+ import { a as $, M as ce } from "../../menu-popover-BV7nUXlb.js";
6
6
  import '../../assets/index37.css';const ae = "_controls_t1re6_13", le = "_inline_t1re6_43", ue = "_embedded_t1re6_48", me = "_fixed_t1re6_49", fe = "_adaptive_t1re6_60", he = "_measurement_t1re6_65", f = {
7
7
  controls: ae,
8
8
  default: "_default_t1re6_28",
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index41.css');const l=require("react/jsx-runtime"),j=require("../../classix-5H4IWnMA.cjs"),a=require("react"),F=require("../button/index.cjs"),de=require("../../icons-BTif0nDb.cjs"),X=require("../../index-CeHwRKAg.cjs"),pe=require("../list/index.cjs"),V=require("../../index-5qUTKX7P.cjs");function L(t){return typeof t=="string"||typeof t=="number"?String(t):Array.isArray(t)?t.map(L).join(" "):a.isValidElement(t)?L(t.props.children):""}function fe(t){return a.isValidElement(t)&&t.type==="option"}function me(t){return a.isValidElement(t)&&t.type==="optgroup"}function he(t){return a.isValidElement(t)&&t.type===a.Fragment}function _e(t){return a.isValidElement(t)&&t.type===V.Select}function M(t,i,s=!1){const r=[];return a.Children.forEach(t,n=>{if(he(n))r.push(...M(n.props.children,i,s));else if(fe(n)){const c=L(n.props.children).trim(),f=n.props.value!=null?String(n.props.value):c;r.push({disabled:s||!!n.props.disabled,groupLabel:i,hidden:!!n.props.hidden,isPlaceholder:!!(n.props.hidden&&f===""),label:n.props.children,selected:!!n.props.selected,text:c,value:f})}else me(n)&&r.push(...M(n.props.children,n.props.label,s||!!n.props.disabled))}),r}function ge(t){const i=t.trim();if(!i)return null;const r=[.../[*?]/.test(i)?i:`*${i}*`].map(n=>n==="*"?".*":n==="?"?".":n.replace(/[|\\{}()[\]^$+.,]/g,"\\$&")).join("");return new RegExp(`^${r}$`,"i")}function xe(t,i){const s=ge(i),r=t.filter(n=>!n.hidden&&!n.isPlaceholder);return s?r.filter(n=>s.test([n.groupLabel,n.text,n.value].filter(Boolean).join(" "))):r}function be(t,i){return t.find(s=>s.value===i)??t.find(s=>s.isPlaceholder)??t[0]}function je(t,i,s){var r,n;return i!=null?String(i):s!=null?String(s):((r=t.find(c=>c.selected))==null?void 0:r.value)??((n=t[0])==null?void 0:n.value)??""}function ve(t){if(_e(t)){const{children:i,placeholder:s,...r}=t.props;return{children:l.jsxs(l.Fragment,{children:[s&&l.jsx("option",{hidden:!0,value:"",children:s}),i]}),props:r}}return{children:t.props.children,props:t.props}}const ye="_combobox_ej99h_3",we="_dropdown_ej99h_27",Se="_empty_ej99h_32",Ne="_group_ej99h_33",Ce="_placeholder_ej99h_34",Ee="_filter_ej99h_42",Ve="_native_ej99h_52",Le="_option_ej99h_62",Re="_options_ej99h_83",$e="_panel_ej99h_107",Be="_selected_ej99h_132",Ie="_text_ej99h_136",qe="_trigger_ej99h_144",De="_minimal_ej99h_181",Pe="_inline_ej99h_240",ke="_label_ej99h_272",o={combobox:ye,"combobox-input":"_combobox-input_ej99h_12",dropdown:we,empty:Se,group:Ne,placeholder:Ce,filter:Ee,native:Ve,option:Le,options:Re,panel:$e,selected:Be,text:Ie,trigger:qe,minimal:De,inline:Pe,label:ke,"inline-field":"_inline-field_ej99h_278"};function Y(t,i){return{"--icon-svg":de.iconSVG(t,i)}}const Fe=({children:t,className:i,combobox:s=!1,createOption:r,emptyLabel:n="No matches found",label:c,renderOption:f,searchPlaceholder:R="Filter",selectedItems:Z,variant:g="default",...ee})=>{const $=ve(t),{defaultValue:te,onChange:B,value:I,...ne}=$.props,v=V.sanitizeSelectProps(ne),{className:se,...re}=v,W=a.useRef(null),G=a.useRef(null),y=a.useId(),Q=a.useRef(null),m=a.useRef(null),x=M($.children),b=I!=null,q=je(x,I,te),[D,P]=a.useState(()=>q),[u,p]=a.useState(!1),[w,S]=a.useState(""),N=b?String(I):D,z={default:V.resolveColor("--colors-semantic-content-secondary"),white:V.resolveColor("--color-white","white")},O=g==="minimal"?z.white:z.default,C=be(x,N),le=Y("CaretDown",O),oe=Y("MagnifyingGlass",O),T=xe(x,w),h=w.trim(),E=!!(s&&r&&h&&r.isValid(h)),ie=c&&g==="inline"?X.formatInlineLabel(c):c,A=e=>e?(f==null?void 0:f({groupLabel:e.groupLabel,isSelected:e.value===N,label:e.label,text:e.text,value:e.value}))??e.label:"Select an option";a.useEffect(()=>{!b&&!x.some(e=>e.value===D)&&P(q)},[q,D,b,x]),a.useEffect(()=>{var e;if(!u){S("");return}(e=m.current)==null||e.focus()},[u]),a.useEffect(()=>{if(!u)return;const e=d=>{var _;(_=G.current)!=null&&_.contains(d.target)||p(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[u]);const ae=e=>{b||P(e.target.value),B==null||B(e)},k=()=>{var e;p(!1),s||(e=W.current)==null||e.focus()},K=()=>{var e;S(""),p(!0),(e=m.current)==null||e.focus()},H=()=>{!r||!E||(r.onCreate(h),K())},ce=e=>{var U;b||P(e);const d=Q.current;if(!d){k();return}const _=(U=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"value"))==null?void 0:U.set;_==null||_.call(d,e),d.dispatchEvent(new Event("change",{bubbles:!0})),s?K():k()},ue=e=>{e.key==="Escape"&&k(),e.key==="Enter"&&e.target===m.current&&E&&(e.preventDefault(),H())},J=l.jsxs("div",{className:j.t(o.dropdown,g==="inline"&&o.inline,g==="minimal"&&o.minimal,i),onKeyDown:ue,ref:G,...ee,children:[l.jsx("select",{...re,"aria-hidden":"true",className:j.t(o.native,se),onChange:ae,ref:Q,tabIndex:-1,value:N,children:$.children}),s?l.jsxs("div",{className:o.combobox,onClick:()=>{var e;return(e=m.current)==null?void 0:e.focus()},children:[Z,l.jsx("input",{"aria-autocomplete":"list","aria-expanded":u,"aria-label":v["aria-label"]??c??R,className:o["combobox-input"],disabled:v.disabled,onChange:e=>{S(e.target.value),p(!0)},onClick:()=>p(!0),onFocus:()=>p(!0),placeholder:R||void 0,ref:m,role:"combobox",type:"text",value:w})]}):l.jsx(F.Button,{"aria-expanded":u,"aria-haspopup":"dialog","aria-labelledby":c?`${y} ${y}-value`:void 0,className:j.t(o.trigger,(C==null?void 0:C.isPlaceholder)&&o.placeholder),"data-open":u?"true":void 0,disabled:v.disabled,onClick:()=>p(e=>!e),ref:W,style:le,variant:"simple",children:l.jsx("span",{className:o.text,id:`${y}-value`,children:A(C)})}),u&&l.jsxs("div",{className:o.panel,children:[!s&&l.jsx(X.Input,{"aria-label":"Filter",className:o.filter,icon:"MagnifyingGlass",onChange:e=>S(e.target.value),placeholder:R,ref:m,style:oe,type:"search",value:w}),l.jsxs(pe.List,{"aria-label":"Dropdown",className:o.options,children:[T.map(e=>{const d=e.value===N;return l.jsx("li",{"data-component":"dropdown",children:l.jsxs(F.Button,{"aria-label":d?`${e.text}, selected`:e.text,className:j.t(o.option,d&&o.selected),disabled:e.disabled,onClick:()=>ce(e.value),variant:"tertiary",children:[l.jsx("span",{className:o.text,children:A(e)}),e.groupLabel&&l.jsx("small",{className:o.group,children:e.groupLabel})]})},`${e.groupLabel??"root"}-${e.value}`)}),E&&r&&l.jsx("li",{children:l.jsx(F.Button,{"aria-label":L(r.render(h))||h,className:o.option,onClick:H,variant:"tertiary",children:l.jsx("span",{className:o.text,children:r.render(h)})})}),T.length===0&&!E&&l.jsx("li",{className:o.empty,children:n})]})]})]});return c?l.jsxs("div",{className:j.t(o.label,g==="inline"&&o["inline-field"]),"data-component":"dropdown",children:[l.jsx("span",{id:y,children:ie}),J]}):J};exports.Dropdown=Fe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index41.css');const l=require("react/jsx-runtime"),v=require("../../classix-5H4IWnMA.cjs"),a=require("react"),F=require("../button/index.cjs"),de=require("../../icons-B3hIY9Bm.cjs"),X=require("../../index-Bbauu1No.cjs"),pe=require("../list/index.cjs"),E=require("../../index-DAjU2bTe.cjs");function V(t){return typeof t=="string"||typeof t=="number"?String(t):Array.isArray(t)?t.map(V).join(" "):a.isValidElement(t)?V(t.props.children):""}function fe(t){return a.isValidElement(t)&&t.type==="option"}function me(t){return a.isValidElement(t)&&t.type==="optgroup"}function _e(t){return a.isValidElement(t)&&t.type===a.Fragment}function he(t){return a.isValidElement(t)&&t.type===E.Select}function M(t,i,s=!1){const r=[];return a.Children.forEach(t,n=>{if(_e(n))r.push(...M(n.props.children,i,s));else if(fe(n)){const c=V(n.props.children).trim(),f=n.props.value!=null?String(n.props.value):c;r.push({disabled:s||!!n.props.disabled,groupLabel:i,hidden:!!n.props.hidden,isPlaceholder:!!(n.props.hidden&&f===""),label:n.props.children,selected:!!n.props.selected,text:c,value:f})}else me(n)&&r.push(...M(n.props.children,n.props.label,s||!!n.props.disabled))}),r}function ge(t){const i=t.trim();if(!i)return null;const r=[.../[*?]/.test(i)?i:`*${i}*`].map(n=>n==="*"?".*":n==="?"?".":n.replace(/[|\\{}()[\]^$+.,]/g,"\\$&")).join("");return new RegExp(`^${r}$`,"i")}function xe(t,i){const s=ge(i),r=t.filter(n=>!n.hidden&&!n.isPlaceholder);return s?r.filter(n=>s.test([n.groupLabel,n.text,n.value].filter(Boolean).join(" "))):r}function be(t,i){return t.find(s=>s.value===i)??t.find(s=>s.isPlaceholder)??t[0]}function ve(t,i,s){var r,n;return i!=null?String(i):s!=null?String(s):((r=t.find(c=>c.selected))==null?void 0:r.value)??((n=t[0])==null?void 0:n.value)??""}function ye(t){if(he(t)){const{children:i,placeholder:s,...r}=t.props;return{children:l.jsxs(l.Fragment,{children:[s&&l.jsx("option",{hidden:!0,value:"",children:s}),i]}),props:r}}return{children:t.props.children,props:t.props}}const je="_combobox_13pqc_3",qe="_dropdown_13pqc_27",we="_empty_13pqc_32",Se="_group_13pqc_33",Ne="_placeholder_13pqc_34",Ce="_filter_13pqc_42",Ee="_native_13pqc_52",Ve="_option_13pqc_62",Le="_options_13pqc_83",Re="_panel_13pqc_107",$e="_selected_13pqc_132",Be="_text_13pqc_136",Ie="_trigger_13pqc_144",De="_minimal_13pqc_181",Pe="_inline_13pqc_241",ke="_label_13pqc_273",o={combobox:je,"combobox-input":"_combobox-input_13pqc_12",dropdown:qe,empty:we,group:Se,placeholder:Ne,filter:Ce,native:Ee,option:Ve,options:Le,panel:Re,selected:$e,text:Be,trigger:Ie,minimal:De,inline:Pe,label:ke,"inline-field":"_inline-field_13pqc_279"};function Y(t,i){return{"--icon-svg":de.iconSVG(t,i)}}const Fe=({children:t,className:i,combobox:s=!1,createOption:r,emptyLabel:n="No matches found",label:c,renderOption:f,searchPlaceholder:L="Filter",selectedItems:Z,variant:g="default",...ee})=>{const R=ye(t),{defaultValue:te,onChange:$,value:B,...ne}=R.props,y=E.sanitizeSelectProps(ne),{className:se,...re}=y,W=a.useRef(null),G=a.useRef(null),j=a.useId(),Q=a.useRef(null),m=a.useRef(null),x=M(R.children),b=B!=null,I=ve(x,B,te),[D,P]=a.useState(()=>I),[u,p]=a.useState(!1),[q,w]=a.useState(""),S=b?String(B):D,z={default:E.resolveColor("--colors-semantic-content-secondary"),white:E.resolveColor("--color-white","white")},O=g==="minimal"?z.white:z.default,N=be(x,S),le=Y("CaretDown",O),oe=Y("MagnifyingGlass",O),T=xe(x,q),_=q.trim(),C=!!(s&&r&&_&&r.isValid(_)),ie=c&&g==="inline"?X.formatInlineLabel(c):c,A=e=>e?(f==null?void 0:f({groupLabel:e.groupLabel,isSelected:e.value===S,label:e.label,text:e.text,value:e.value}))??e.label:"Select an option";a.useEffect(()=>{!b&&!x.some(e=>e.value===D)&&P(I)},[I,D,b,x]),a.useEffect(()=>{var e;if(!u){w("");return}(e=m.current)==null||e.focus()},[u]),a.useEffect(()=>{if(!u)return;const e=d=>{var h;(h=G.current)!=null&&h.contains(d.target)||p(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[u]);const ae=e=>{b||P(e.target.value),$==null||$(e)},k=()=>{var e;p(!1),s||(e=W.current)==null||e.focus()},K=()=>{var e;w(""),p(!0),(e=m.current)==null||e.focus()},H=()=>{!r||!C||(r.onCreate(_),K())},ce=e=>{var U;b||P(e);const d=Q.current;if(!d){k();return}const h=(U=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"value"))==null?void 0:U.set;h==null||h.call(d,e),d.dispatchEvent(new Event("change",{bubbles:!0})),s?K():k()},ue=e=>{e.key==="Escape"&&k(),e.key==="Enter"&&e.target===m.current&&C&&(e.preventDefault(),H())},J=l.jsxs("div",{className:v.t(o.dropdown,g==="inline"&&o.inline,g==="minimal"&&o.minimal,i),onKeyDown:ue,ref:G,...ee,children:[l.jsx("select",{...re,"aria-hidden":"true",className:v.t(o.native,se),onChange:ae,ref:Q,tabIndex:-1,value:S,children:R.children}),s?l.jsxs("div",{className:o.combobox,onClick:()=>{var e;return(e=m.current)==null?void 0:e.focus()},children:[Z,l.jsx("input",{"aria-autocomplete":"list","aria-expanded":u,"aria-label":y["aria-label"]??c??L,className:o["combobox-input"],disabled:y.disabled,onChange:e=>{w(e.target.value),p(!0)},onClick:()=>p(!0),onFocus:()=>p(!0),placeholder:L||void 0,ref:m,role:"combobox",type:"text",value:q})]}):l.jsx(F.Button,{"aria-expanded":u,"aria-haspopup":"dialog","aria-labelledby":c?`${j} ${j}-value`:void 0,className:v.t(o.trigger,(N==null?void 0:N.isPlaceholder)&&o.placeholder),"data-open":u?"true":void 0,disabled:y.disabled,onClick:()=>p(e=>!e),ref:W,style:le,variant:"simple",children:l.jsx("span",{className:o.text,id:`${j}-value`,children:A(N)})}),u&&l.jsxs("div",{className:o.panel,children:[!s&&l.jsx(X.Input,{"aria-label":"Filter",className:o.filter,icon:"MagnifyingGlass",onChange:e=>w(e.target.value),placeholder:L,ref:m,style:oe,type:"search",value:q}),l.jsxs(pe.List,{"aria-label":"Dropdown",className:o.options,children:[T.map(e=>{const d=e.value===S;return l.jsx("li",{"data-component":"dropdown",children:l.jsxs(F.Button,{"aria-label":d?`${e.text}, selected`:e.text,className:v.t(o.option,d&&o.selected),disabled:e.disabled,onClick:()=>ce(e.value),variant:"tertiary",children:[l.jsx("span",{className:o.text,children:A(e)}),e.groupLabel&&l.jsx("small",{className:o.group,children:e.groupLabel})]})},`${e.groupLabel??"root"}-${e.value}`)}),C&&r&&l.jsx("li",{children:l.jsx(F.Button,{"aria-label":V(r.render(_))||_,className:o.option,onClick:H,variant:"tertiary",children:l.jsx("span",{className:o.text,children:r.render(_)})})}),T.length===0&&!C&&l.jsx("li",{className:o.empty,children:n})]})]})]});return c?l.jsxs("div",{className:v.t(o.label,g==="inline"&&o["inline-field"]),"data-component":"dropdown",children:[l.jsx("span",{id:j,children:ie}),J]}):J};exports.Dropdown=Fe;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,18 +1,18 @@
1
- import { jsxs as p, Fragment as me, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as d, Fragment as me, jsx as i } from "react/jsx-runtime";
2
2
  import { t as y } from "../../classix-DG18itHa.js";
3
- import he, { Children as _e, isValidElement as x, useRef as I, useId as ge, useState as W, useEffect as G } from "react";
4
- import { Button as Q } from "../button/index.js";
5
- import { i as be } from "../../icons-CBbpxsJF.js";
6
- import { f as ve, I as ye } from "../../index-DBWgRXp9.js";
3
+ import he, { Children as _e, isValidElement as x, useRef as I, useId as ge, useState as M, useEffect as W } from "react";
4
+ import { Button as G } from "../button/index.js";
5
+ import { i as be } from "../../icons-CTtWkF6z.js";
6
+ import { f as ve, I as ye } from "../../index-CMPTHneU.js";
7
7
  import { List as xe } from "../list/index.js";
8
- import { S as we, s as je, r as ee } from "../../index-BuSfz4qx.js";
8
+ import { S as we, s as Ne, r as ee } from "../../index-BIpgkB-u.js";
9
9
  import '../../assets/index41.css';function L(t) {
10
10
  return typeof t == "string" || typeof t == "number" ? String(t) : Array.isArray(t) ? t.map(L).join(" ") : x(t) ? L(t.props.children) : "";
11
11
  }
12
- function Ne(t) {
12
+ function Se(t) {
13
13
  return x(t) && t.type === "option";
14
14
  }
15
- function Se(t) {
15
+ function qe(t) {
16
16
  return x(t) && t.type === "optgroup";
17
17
  }
18
18
  function Ce(t) {
@@ -21,12 +21,12 @@ function Ce(t) {
21
21
  function Ee(t) {
22
22
  return x(t) && t.type === we;
23
23
  }
24
- function z(t, s, r = !1) {
24
+ function Q(t, s, r = !1) {
25
25
  const l = [];
26
26
  return _e.forEach(t, (n) => {
27
27
  if (Ce(n))
28
- l.push(...z(n.props.children, s, r));
29
- else if (Ne(n)) {
28
+ l.push(...Q(n.props.children, s, r));
29
+ else if (Se(n)) {
30
30
  const a = L(n.props.children).trim(), f = n.props.value != null ? String(n.props.value) : a;
31
31
  l.push({
32
32
  disabled: r || !!n.props.disabled,
@@ -38,7 +38,7 @@ function z(t, s, r = !1) {
38
38
  text: a,
39
39
  value: f
40
40
  });
41
- } else Se(n) && l.push(...z(n.props.children, n.props.label, r || !!n.props.disabled));
41
+ } else qe(n) && l.push(...Q(n.props.children, n.props.label, r || !!n.props.disabled));
42
42
  }), l;
43
43
  }
44
44
  function Ve(t) {
@@ -66,7 +66,7 @@ function Be(t) {
66
66
  ...l
67
67
  } = t.props;
68
68
  return {
69
- children: /* @__PURE__ */ p(me, { children: [
69
+ children: /* @__PURE__ */ d(me, { children: [
70
70
  r && /* @__PURE__ */ i("option", { hidden: !0, value: "", children: r }),
71
71
  s
72
72
  ] }),
@@ -78,25 +78,25 @@ function Be(t) {
78
78
  props: t.props
79
79
  };
80
80
  }
81
- const De = "_combobox_ej99h_3", Pe = "_dropdown_ej99h_27", ke = "_empty_ej99h_32", Re = "_group_ej99h_33", Fe = "_placeholder_ej99h_34", Me = "_filter_ej99h_42", We = "_native_ej99h_52", Ge = "_option_ej99h_62", Qe = "_options_ej99h_83", ze = "_panel_ej99h_107", Ae = "_selected_ej99h_132", Ke = "_text_ej99h_136", Oe = "_trigger_ej99h_144", Te = "_minimal_ej99h_181", qe = "_inline_ej99h_240", He = "_label_ej99h_272", o = {
81
+ const De = "_combobox_13pqc_3", Pe = "_dropdown_13pqc_27", ke = "_empty_13pqc_32", Re = "_group_13pqc_33", je = "_placeholder_13pqc_34", Fe = "_filter_13pqc_42", Me = "_native_13pqc_52", We = "_option_13pqc_62", Ge = "_options_13pqc_83", Qe = "_panel_13pqc_107", ze = "_selected_13pqc_132", Ae = "_text_13pqc_136", Ke = "_trigger_13pqc_144", Oe = "_minimal_13pqc_181", Te = "_inline_13pqc_241", He = "_label_13pqc_273", o = {
82
82
  combobox: De,
83
- "combobox-input": "_combobox-input_ej99h_12",
83
+ "combobox-input": "_combobox-input_13pqc_12",
84
84
  dropdown: Pe,
85
85
  empty: ke,
86
86
  group: Re,
87
- placeholder: Fe,
88
- filter: Me,
89
- native: We,
90
- option: Ge,
91
- options: Qe,
92
- panel: ze,
93
- selected: Ae,
94
- text: Ke,
95
- trigger: Oe,
96
- minimal: Te,
97
- inline: qe,
87
+ placeholder: je,
88
+ filter: Fe,
89
+ native: Me,
90
+ option: We,
91
+ options: Ge,
92
+ panel: Qe,
93
+ selected: ze,
94
+ text: Ae,
95
+ trigger: Ke,
96
+ minimal: Oe,
97
+ inline: Te,
98
98
  label: He,
99
- "inline-field": "_inline-field_ej99h_278"
99
+ "inline-field": "_inline-field_13pqc_279"
100
100
  };
101
101
  function te(t, s) {
102
102
  return {
@@ -121,91 +121,91 @@ const rt = ({
121
121
  onChange: D,
122
122
  value: P,
123
123
  ...oe
124
- } = B.props, w = je(oe), {
124
+ } = B.props, w = Ne(oe), {
125
125
  className: se,
126
126
  ...ie
127
- } = w, A = I(null), K = I(null), j = ge(), O = I(null), m = I(null), b = z(B.children), v = P != null, k = $e(b, P, le), [R, F] = W(() => k), [c, d] = W(!1), [N, S] = W(""), C = v ? String(P) : R, T = {
127
+ } = w, z = I(null), A = I(null), N = ge(), K = I(null), m = I(null), b = Q(B.children), v = P != null, k = $e(b, P, le), [R, j] = M(() => k), [c, p] = M(!1), [S, q] = M(""), C = v ? String(P) : R, O = {
128
128
  default: ee("--colors-semantic-content-secondary"),
129
129
  white: ee("--color-white", "white")
130
- }, q = g === "minimal" ? T.white : T.default, E = Le(b, C), ae = te("CaretDown", q), ce = te("MagnifyingGlass", q), H = Ie(b, N), h = N.trim(), V = !!(r && l && h && l.isValid(h)), ue = a && g === "inline" ? ve(a) : a, J = (e) => e ? (f == null ? void 0 : f({
130
+ }, T = g === "minimal" ? O.white : O.default, E = Le(b, C), ae = te("CaretDown", T), ce = te("MagnifyingGlass", T), H = Ie(b, S), h = S.trim(), V = !!(r && l && h && l.isValid(h)), ue = a && g === "inline" ? ve(a) : a, J = (e) => e ? (f == null ? void 0 : f({
131
131
  groupLabel: e.groupLabel,
132
132
  isSelected: e.value === C,
133
133
  label: e.label,
134
134
  text: e.text,
135
135
  value: e.value
136
136
  })) ?? e.label : "Select an option";
137
- G(() => {
138
- !v && !b.some((e) => e.value === R) && F(k);
139
- }, [k, R, v, b]), G(() => {
137
+ W(() => {
138
+ !v && !b.some((e) => e.value === R) && j(k);
139
+ }, [k, R, v, b]), W(() => {
140
140
  var e;
141
141
  if (!c) {
142
- S("");
142
+ q("");
143
143
  return;
144
144
  }
145
145
  (e = m.current) == null || e.focus();
146
- }, [c]), G(() => {
146
+ }, [c]), W(() => {
147
147
  if (!c)
148
148
  return;
149
149
  const e = (u) => {
150
150
  var _;
151
- (_ = K.current) != null && _.contains(u.target) || d(!1);
151
+ (_ = A.current) != null && _.contains(u.target) || p(!1);
152
152
  };
153
153
  return document.addEventListener("mousedown", e), () => {
154
154
  document.removeEventListener("mousedown", e);
155
155
  };
156
156
  }, [c]);
157
- const de = (e) => {
158
- v || F(e.target.value), D == null || D(e);
159
- }, M = () => {
157
+ const pe = (e) => {
158
+ v || j(e.target.value), D == null || D(e);
159
+ }, F = () => {
160
160
  var e;
161
- d(!1), r || (e = A.current) == null || e.focus();
161
+ p(!1), r || (e = z.current) == null || e.focus();
162
162
  }, U = () => {
163
163
  var e;
164
- S(""), d(!0), (e = m.current) == null || e.focus();
164
+ q(""), p(!0), (e = m.current) == null || e.focus();
165
165
  }, X = () => {
166
166
  !l || !V || (l.onCreate(h), U());
167
- }, pe = (e) => {
167
+ }, de = (e) => {
168
168
  var Z;
169
- v || F(e);
170
- const u = O.current;
169
+ v || j(e);
170
+ const u = K.current;
171
171
  if (!u) {
172
- M();
172
+ F();
173
173
  return;
174
174
  }
175
175
  const _ = (Z = Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype, "value")) == null ? void 0 : Z.set;
176
176
  _ == null || _.call(u, e), u.dispatchEvent(new Event("change", {
177
177
  bubbles: !0
178
- })), r ? U() : M();
178
+ })), r ? U() : F();
179
179
  }, fe = (e) => {
180
- e.key === "Escape" && M(), e.key === "Enter" && e.target === m.current && V && (e.preventDefault(), X());
181
- }, Y = /* @__PURE__ */ p("div", { className: y(o.dropdown, g === "inline" && o.inline, g === "minimal" && o.minimal, s), onKeyDown: fe, ref: K, ...re, children: [
182
- /* @__PURE__ */ i("select", { ...ie, "aria-hidden": "true", className: y(o.native, se), onChange: de, ref: O, tabIndex: -1, value: C, children: B.children }),
183
- r ? /* @__PURE__ */ p("div", { className: o.combobox, onClick: () => {
180
+ e.key === "Escape" && F(), e.key === "Enter" && e.target === m.current && V && (e.preventDefault(), X());
181
+ }, Y = /* @__PURE__ */ d("div", { className: y(o.dropdown, g === "inline" && o.inline, g === "minimal" && o.minimal, s), onKeyDown: fe, ref: A, ...re, children: [
182
+ /* @__PURE__ */ i("select", { ...ie, "aria-hidden": "true", className: y(o.native, se), onChange: pe, ref: K, tabIndex: -1, value: C, children: B.children }),
183
+ r ? /* @__PURE__ */ d("div", { className: o.combobox, onClick: () => {
184
184
  var e;
185
185
  return (e = m.current) == null ? void 0 : e.focus();
186
186
  }, children: [
187
187
  ne,
188
188
  /* @__PURE__ */ i("input", { "aria-autocomplete": "list", "aria-expanded": c, "aria-label": w["aria-label"] ?? a ?? $, className: o["combobox-input"], disabled: w.disabled, onChange: (e) => {
189
- S(e.target.value), d(!0);
190
- }, onClick: () => d(!0), onFocus: () => d(!0), placeholder: $ || void 0, ref: m, role: "combobox", type: "text", value: N })
191
- ] }) : /* @__PURE__ */ i(Q, { "aria-expanded": c, "aria-haspopup": "dialog", "aria-labelledby": a ? `${j} ${j}-value` : void 0, className: y(o.trigger, (E == null ? void 0 : E.isPlaceholder) && o.placeholder), "data-open": c ? "true" : void 0, disabled: w.disabled, onClick: () => d((e) => !e), ref: A, style: ae, variant: "simple", children: /* @__PURE__ */ i("span", { className: o.text, id: `${j}-value`, children: J(E) }) }),
192
- c && /* @__PURE__ */ p("div", { className: o.panel, children: [
193
- !r && /* @__PURE__ */ i(ye, { "aria-label": "Filter", className: o.filter, icon: "MagnifyingGlass", onChange: (e) => S(e.target.value), placeholder: $, ref: m, style: ce, type: "search", value: N }),
194
- /* @__PURE__ */ p(xe, { "aria-label": "Dropdown", className: o.options, children: [
189
+ q(e.target.value), p(!0);
190
+ }, onClick: () => p(!0), onFocus: () => p(!0), placeholder: $ || void 0, ref: m, role: "combobox", type: "text", value: S })
191
+ ] }) : /* @__PURE__ */ i(G, { "aria-expanded": c, "aria-haspopup": "dialog", "aria-labelledby": a ? `${N} ${N}-value` : void 0, className: y(o.trigger, (E == null ? void 0 : E.isPlaceholder) && o.placeholder), "data-open": c ? "true" : void 0, disabled: w.disabled, onClick: () => p((e) => !e), ref: z, style: ae, variant: "simple", children: /* @__PURE__ */ i("span", { className: o.text, id: `${N}-value`, children: J(E) }) }),
192
+ c && /* @__PURE__ */ d("div", { className: o.panel, children: [
193
+ !r && /* @__PURE__ */ i(ye, { "aria-label": "Filter", className: o.filter, icon: "MagnifyingGlass", onChange: (e) => q(e.target.value), placeholder: $, ref: m, style: ce, type: "search", value: S }),
194
+ /* @__PURE__ */ d(xe, { "aria-label": "Dropdown", className: o.options, children: [
195
195
  H.map((e) => {
196
196
  const u = e.value === C;
197
- return /* @__PURE__ */ i("li", { "data-component": "dropdown", children: /* @__PURE__ */ p(Q, { "aria-label": u ? `${e.text}, selected` : e.text, className: y(o.option, u && o.selected), disabled: e.disabled, onClick: () => pe(e.value), variant: "tertiary", children: [
197
+ return /* @__PURE__ */ i("li", { "data-component": "dropdown", children: /* @__PURE__ */ d(G, { "aria-label": u ? `${e.text}, selected` : e.text, className: y(o.option, u && o.selected), disabled: e.disabled, onClick: () => de(e.value), variant: "tertiary", children: [
198
198
  /* @__PURE__ */ i("span", { className: o.text, children: J(e) }),
199
199
  e.groupLabel && /* @__PURE__ */ i("small", { className: o.group, children: e.groupLabel })
200
200
  ] }) }, `${e.groupLabel ?? "root"}-${e.value}`);
201
201
  }),
202
- V && l && /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(Q, { "aria-label": L(l.render(h)) || h, className: o.option, onClick: X, variant: "tertiary", children: /* @__PURE__ */ i("span", { className: o.text, children: l.render(h) }) }) }),
202
+ V && l && /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(G, { "aria-label": L(l.render(h)) || h, className: o.option, onClick: X, variant: "tertiary", children: /* @__PURE__ */ i("span", { className: o.text, children: l.render(h) }) }) }),
203
203
  H.length === 0 && !V && /* @__PURE__ */ i("li", { className: o.empty, children: n })
204
204
  ] })
205
205
  ] })
206
206
  ] });
207
- return a ? /* @__PURE__ */ p("div", { className: y(o.label, g === "inline" && o["inline-field"]), "data-component": "dropdown", children: [
208
- /* @__PURE__ */ i("span", { id: j, children: ue }),
207
+ return a ? /* @__PURE__ */ d("div", { className: y(o.label, g === "inline" && o["inline-field"]), "data-component": "dropdown", children: [
208
+ /* @__PURE__ */ i("span", { id: N, children: ue }),
209
209
  Y
210
210
  ] }) : Y;
211
211
  };