smoothly 1.119.0 → 1.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/cjs/smoothly-app_99.cjs.entry.js +13 -4
  2. package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
  3. package/dist/collection/components/input/select/index.js +12 -3
  4. package/dist/collection/components/input/select/index.js.map +1 -1
  5. package/dist/collection/components/input/select/style.css +3 -2
  6. package/dist/components/{p-C9BPfP8V.js → p-8Z_nWblq.js} +2 -2
  7. package/dist/components/{p-ACHjKlBz.js → p-B-XoCWgd.js} +2 -2
  8. package/dist/components/p-B31ti0xn.js +2 -0
  9. package/dist/components/{p-B2GxOEjl.js → p-BNjhlyw7.js} +2 -2
  10. package/dist/components/p-BX3JvEPG.js +2 -0
  11. package/dist/components/{p-C0OwGHaZ.js → p-BXS5v02h.js} +2 -2
  12. package/dist/components/{p-UCcJDJNC.js → p-BagcEQ4o.js} +2 -2
  13. package/dist/components/{p-CuBPxYv2.js → p-BjQjh8et.js} +2 -2
  14. package/dist/components/{p-DRyQsXc9.js → p-BncQwsFC.js} +2 -2
  15. package/dist/components/{p-CcBRUK1s.js → p-BvTceaHt.js} +2 -2
  16. package/dist/components/p-C88eMND6.js +2 -0
  17. package/dist/components/p-C88eMND6.js.map +1 -0
  18. package/dist/components/{p-BrYTMGo3.js → p-CMLWVZ3h.js} +2 -2
  19. package/dist/components/{p-CEYFnw7c.js → p-CdufQoGg.js} +2 -2
  20. package/dist/components/{p-BdhEVyZ3.js → p-Cyl9K1If.js} +2 -2
  21. package/dist/components/{p-BH3GbIqq.js → p-CzyIIFz6.js} +2 -2
  22. package/dist/components/{p-CXcvp4fs.js → p-DASRY4Rq.js} +2 -2
  23. package/dist/components/{p-Df80nM_T.js → p-DOfA_yvr.js} +2 -2
  24. package/dist/components/{p-DeslbBen.js → p-DRRy5oLc.js} +2 -2
  25. package/dist/components/{p-C9Wv8Ynb.js → p-DZmJ-Ege.js} +2 -2
  26. package/dist/components/{p-CT5ZkMDd.js → p-DcANjqvU.js} +2 -2
  27. package/dist/components/{p-DjX23A0S.js → p-DfuAOOKY.js} +2 -2
  28. package/dist/components/{p-BAMFAtTN.js → p-DhchoEO3.js} +2 -2
  29. package/dist/components/{p-BFa-ypRu.js → p-FdEf_vHE.js} +2 -2
  30. package/dist/components/{p-bQGZECIZ.js → p-jq25vUmm.js} +2 -2
  31. package/dist/components/smoothly-app-demo.js +1 -1
  32. package/dist/components/smoothly-button-demo-standard.js +1 -1
  33. package/dist/components/smoothly-button-demo.js +1 -1
  34. package/dist/components/smoothly-calendar.js +1 -1
  35. package/dist/components/smoothly-form-demo-all.js +1 -1
  36. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  37. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  38. package/dist/components/smoothly-form-demo-date.js +1 -1
  39. package/dist/components/smoothly-form-demo-pet.js +1 -1
  40. package/dist/components/smoothly-form-demo-schedule.js +1 -1
  41. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  42. package/dist/components/smoothly-form-demo-typed.js +1 -1
  43. package/dist/components/smoothly-form-demo.js +1 -1
  44. package/dist/components/smoothly-icon-demo.js +1 -1
  45. package/dist/components/smoothly-input-checkbox-demo.js +1 -1
  46. package/dist/components/smoothly-input-date-demo.js +1 -1
  47. package/dist/components/smoothly-input-date-range.js +1 -1
  48. package/dist/components/smoothly-input-date-time.js +1 -1
  49. package/dist/components/smoothly-input-date.js +1 -1
  50. package/dist/components/smoothly-input-demo-standard.js +1 -1
  51. package/dist/components/smoothly-input-demo-user-input.js +1 -1
  52. package/dist/components/smoothly-input-demo.js +1 -1
  53. package/dist/components/smoothly-input-month.js +1 -1
  54. package/dist/components/smoothly-input-select.js +1 -1
  55. package/dist/components/smoothly-theme-demo.js +1 -1
  56. package/dist/components/smoothly-theme-picker.js +1 -1
  57. package/dist/esm/smoothly-app_99.entry.js +13 -4
  58. package/dist/esm/smoothly-app_99.entry.js.map +1 -1
  59. package/dist/smoothly/{p-b962448b.entry.js → p-8bbbab14.entry.js} +2 -2
  60. package/dist/smoothly/p-8bbbab14.entry.js.map +1 -0
  61. package/dist/smoothly/smoothly.esm.js +1 -1
  62. package/dist/types/components/input/select/index.d.ts +1 -0
  63. package/package.json +1 -1
  64. package/dist/components/p-CauRo4fz.js +0 -2
  65. package/dist/components/p-Cq3zOYlg.js +0 -2
  66. package/dist/components/p-vN0nUvmF.js +0 -2
  67. package/dist/components/p-vN0nUvmF.js.map +0 -1
  68. package/dist/smoothly/p-b962448b.entry.js.map +0 -1
  69. /package/dist/components/{p-C9BPfP8V.js.map → p-8Z_nWblq.js.map} +0 -0
  70. /package/dist/components/{p-ACHjKlBz.js.map → p-B-XoCWgd.js.map} +0 -0
  71. /package/dist/components/{p-Cq3zOYlg.js.map → p-B31ti0xn.js.map} +0 -0
  72. /package/dist/components/{p-B2GxOEjl.js.map → p-BNjhlyw7.js.map} +0 -0
  73. /package/dist/components/{p-CauRo4fz.js.map → p-BX3JvEPG.js.map} +0 -0
  74. /package/dist/components/{p-C0OwGHaZ.js.map → p-BXS5v02h.js.map} +0 -0
  75. /package/dist/components/{p-UCcJDJNC.js.map → p-BagcEQ4o.js.map} +0 -0
  76. /package/dist/components/{p-CuBPxYv2.js.map → p-BjQjh8et.js.map} +0 -0
  77. /package/dist/components/{p-DRyQsXc9.js.map → p-BncQwsFC.js.map} +0 -0
  78. /package/dist/components/{p-CcBRUK1s.js.map → p-BvTceaHt.js.map} +0 -0
  79. /package/dist/components/{p-BrYTMGo3.js.map → p-CMLWVZ3h.js.map} +0 -0
  80. /package/dist/components/{p-CEYFnw7c.js.map → p-CdufQoGg.js.map} +0 -0
  81. /package/dist/components/{p-BdhEVyZ3.js.map → p-Cyl9K1If.js.map} +0 -0
  82. /package/dist/components/{p-BH3GbIqq.js.map → p-CzyIIFz6.js.map} +0 -0
  83. /package/dist/components/{p-CXcvp4fs.js.map → p-DASRY4Rq.js.map} +0 -0
  84. /package/dist/components/{p-Df80nM_T.js.map → p-DOfA_yvr.js.map} +0 -0
  85. /package/dist/components/{p-DeslbBen.js.map → p-DRRy5oLc.js.map} +0 -0
  86. /package/dist/components/{p-C9Wv8Ynb.js.map → p-DZmJ-Ege.js.map} +0 -0
  87. /package/dist/components/{p-CT5ZkMDd.js.map → p-DcANjqvU.js.map} +0 -0
  88. /package/dist/components/{p-DjX23A0S.js.map → p-DfuAOOKY.js.map} +0 -0
  89. /package/dist/components/{p-BAMFAtTN.js.map → p-DhchoEO3.js.map} +0 -0
  90. /package/dist/components/{p-BFa-ypRu.js.map → p-FdEf_vHE.js.map} +0 -0
  91. /package/dist/components/{p-bQGZECIZ.js.map → p-jq25vUmm.js.map} +0 -0
@@ -7969,7 +7969,7 @@ var scroll;
7969
7969
  scroll.centerInView = centerInView;
7970
7970
  })(scroll || (scroll = {}));
7971
7971
 
7972
- const styleCss$C = () => `.sc-smoothly-input-select-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks="border"].sc-smoothly-input-select-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks="border"].sc-smoothly-input-select-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks="border"][readonly].sc-smoothly-input-select-h{border:transparent solid 1px}[looks="line"].sc-smoothly-input-select-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks="line"][readonly].sc-smoothly-input-select-h{border-bottom:transparent solid 1px}[looks="line"].sc-smoothly-input-select-h:not([readonly]):not([disabled]):focus-within::before{content:"";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks="grid"].sc-smoothly-input-select-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks="grid"][readonly].sc-smoothly-input-select-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks="grid"].sc-smoothly-input-select-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks="transparent"].sc-smoothly-input-select-h{border:none}[looks="transparent"][readonly].sc-smoothly-input-select-h,[looks="transparent"].sc-smoothly-input-select-h:not(:focus-within){background-color:transparent}[looks="transparent"][readonly].sc-smoothly-input-select-h>input.sc-smoothly-input-select,[looks="transparent"].sc-smoothly-input-select-h:not(:focus-within)>input.sc-smoothly-input-select{background-color:transparent}[looks="transparent"].sc-smoothly-input-select-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-select-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-select-h.sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h .label.sc-smoothly-input-select{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-select-h.floating-label.sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h.floating-label .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h.has-value.sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h.has-value .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[placeholder].sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[placeholder] .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[readonly].sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[readonly] .sc-smoothly-input-select-s>[slot=label],.floating-label.sc-smoothly-input-select-h .label.sc-smoothly-input-select,.has-value.sc-smoothly-input-select-h .label.sc-smoothly-input-select,.has-text.sc-smoothly-input-select-h .label.sc-smoothly-input-select,[placeholder].sc-smoothly-input-select-h .label.sc-smoothly-input-select,[readonly].sc-smoothly-input-select-h .label.sc-smoothly-input-select,.sc-smoothly-input-select-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-select{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-select-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-select{display:none}.sc-smoothly-input-select-h smoothly-icon.smoothly-invalid.sc-smoothly-input-select{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-select-h{display:flex;justify-content:space-between;flex-direction:row;position:relative;background-color:rgb(var(--smoothly-input-background));color:rgb(var(--smoothly-input-foreground));fill:rgb(var(--smoothly-input-foreground));stroke:rgb(var(--smoothly-input-foreground));padding-left:var(--input-padding-side)}.open.sc-smoothly-input-select-h{border-radius:var(--smoothly-input-border-radius) var(--smoothly-input-border-radius) 0 0}.sc-smoothly-input-select-h>.select-display.sc-smoothly-input-select{box-sizing:border-box;display:flex;padding:var(--input-value-padding-top) .8rem var(--input-value-padding-bottom) 0;width:100%;white-space:nowrap;gap:1rem}.sc-smoothly-input-select-h>.select-display.sc-smoothly-input-select>div.sc-smoothly-input-select{overflow:hidden;text-overflow:ellipsis}.sc-smoothly-input-select-h:not([readonly]):not([disabled])>.select-display.sc-smoothly-input-select{cursor:pointer}.sc-smoothly-input-select-h:not(:has([slot=label]))>.select-display.sc-smoothly-input-select,.sc-smoothly-input-select-h:not([show-label])>.select-display.sc-smoothly-input-select{padding:.6rem .8rem .6rem 0;align-items:center}.sc-smoothly-input-select-h>.select-display.sc-smoothly-input-select smoothly-icon.sc-smoothly-input-select{color:rgb(var(--smoothly-input-foreground));fill:rgb(var(--smoothly-input-foreground));stroke:rgb(var(--smoothly-input-foreground))}.sc-smoothly-input-select-h>div.icons.sc-smoothly-input-select{display:flex;flex-direction:row;align-items:center}.sc-smoothly-input-select-h:hover>div.icons.sc-smoothly-input-select-s>smoothly-icon{filter:opacity(100%)}.sc-smoothly-input-select-h>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-down-outline].sc-smoothly-input-select,.sc-smoothly-input-select-h>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-forward-outline].sc-smoothly-input-select{opacity:.7;height:100%;padding-inline:var(--input-padding-side)}.sc-smoothly-input-select-h:not([readonly]):not([disabled])>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-down-outline].sc-smoothly-input-select,.sc-smoothly-input-select-h:not([readonly]):not([disabled])>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-forward-outline].sc-smoothly-input-select{cursor:pointer}[invalid].sc-smoothly-input-select-h>div.sc-smoothly-input-select>smoothly-icon.smoothly-invalid.sc-smoothly-input-select{display:block;padding:0.5rem}.sc-smoothly-input-select-h>div.sc-smoothly-input-select>smoothly-icon.smoothly-invalid.sc-smoothly-input-select{display:none}.has-value.sc-smoothly-input-select-h:has([slot=label]:not(:empty))>.select-display.sc-smoothly-input-select,.sc-smoothly-input-select-h:not(.has-value)[placeholder]>.select-display.sc-smoothly-input-select{overflow:hidden;width:100%}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select{display:flex;flex-direction:column;position:absolute;top:var(--element-height);z-index:20;max-height:var(--menu-height, unset);overflow-x:hidden;overflow-y:auto;background-color:rgb(var(--smoothly-input-background));inset-inline:0;border-radius:0 0 var(--smoothly-input-border-radius) var(--smoothly-input-border-radius);border:rgb(var(--smoothly-input-border, var(--smoothly-color-contrast))) solid 1px;border-top:rgba(var(--smoothly-input-border, var(--smoothly-color-contrast)), .4) solid 1px}.sc-smoothly-input-select-h:not(.open)>.dropdown.sc-smoothly-input-select{border:0}[looks="grid"].sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select,[looks=border].sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select,[looks="transparent"].sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select{inset-inline:-1px}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select{display:flex;position:sticky;align-items:center;top:0;gap:1rem;padding:.7rem .7rem .7rem .25rem;background-color:rgb(var(--smoothly-input-background));color:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));fill:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));stroke:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)))}.sc-smoothly-input-select-h:not(.has-filter)>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select{height:0;padding:0;overflow:hidden;pointer-events:none}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select::before{content:"";position:absolute;inset:0;background-color:rgba(var(--smoothly-primary-tint), 0.5);z-index:-1}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select>.search-input.sc-smoothly-input-select{width:100%;background-color:transparent;border:none;outline:none}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select>smoothly-icon[name="search-outline"].sc-smoothly-input-select,.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select>smoothly-icon[name="backspace-outline"].sc-smoothly-input-select{color:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));fill:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));stroke:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item{position:relative}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item::before{content:"";display:inline-block;width:1rem;height:1rem;margin-right:0.5rem;border:1px solid rgb(var(--smoothly-input-foreground));border-radius:0.15rem;vertical-align:middle}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item[selected]::before{border-color:rgb(var(--smoothly-item-selected-foreground))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item:hover::before{border:1px solid rgb(var(--smoothly-item-hover-foreground))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item[selected]::after{content:"✔";position:absolute;left:0.65rem;color:rgb(var(--smoothly-item-selected-foreground))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item:hover::after{color:rgb(var(--smoothly-item-hover-foreground))}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select{min-width:fit-content}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.menu[hidden].sc-smoothly-input-select{display:none}`;
7972
+ const styleCss$C = () => `.sc-smoothly-input-select-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks="border"].sc-smoothly-input-select-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks="border"].sc-smoothly-input-select-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks="border"][readonly].sc-smoothly-input-select-h{border:transparent solid 1px}[looks="line"].sc-smoothly-input-select-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks="line"][readonly].sc-smoothly-input-select-h{border-bottom:transparent solid 1px}[looks="line"].sc-smoothly-input-select-h:not([readonly]):not([disabled]):focus-within::before{content:"";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks="grid"].sc-smoothly-input-select-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks="grid"][readonly].sc-smoothly-input-select-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks="grid"].sc-smoothly-input-select-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks="transparent"].sc-smoothly-input-select-h{border:none}[looks="transparent"][readonly].sc-smoothly-input-select-h,[looks="transparent"].sc-smoothly-input-select-h:not(:focus-within){background-color:transparent}[looks="transparent"][readonly].sc-smoothly-input-select-h>input.sc-smoothly-input-select,[looks="transparent"].sc-smoothly-input-select-h:not(:focus-within)>input.sc-smoothly-input-select{background-color:transparent}[looks="transparent"].sc-smoothly-input-select-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-select-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-select-h.sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h .label.sc-smoothly-input-select{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-select-h.floating-label.sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h.floating-label .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h.has-value.sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h.has-value .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[placeholder].sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[placeholder] .sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[readonly].sc-smoothly-input-select-s>[slot=label],.sc-smoothly-input-select-h[readonly] .sc-smoothly-input-select-s>[slot=label],.floating-label.sc-smoothly-input-select-h .label.sc-smoothly-input-select,.has-value.sc-smoothly-input-select-h .label.sc-smoothly-input-select,.has-text.sc-smoothly-input-select-h .label.sc-smoothly-input-select,[placeholder].sc-smoothly-input-select-h .label.sc-smoothly-input-select,[readonly].sc-smoothly-input-select-h .label.sc-smoothly-input-select,.sc-smoothly-input-select-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-select{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-select-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-select{display:none}.sc-smoothly-input-select-h smoothly-icon.smoothly-invalid.sc-smoothly-input-select{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-select-h{display:flex;justify-content:space-between;flex-direction:row;position:relative;background-color:rgb(var(--smoothly-input-background));color:rgb(var(--smoothly-input-foreground));fill:rgb(var(--smoothly-input-foreground));stroke:rgb(var(--smoothly-input-foreground));padding-left:var(--input-padding-side)}.open.sc-smoothly-input-select-h{border-radius:var(--smoothly-input-border-radius) var(--smoothly-input-border-radius) 0 0}.sc-smoothly-input-select-h>.select-display.sc-smoothly-input-select{box-sizing:border-box;display:flex;padding:var(--input-value-padding-top) .8rem var(--input-value-padding-bottom) 0;width:100%;white-space:nowrap;gap:1rem}.sc-smoothly-input-select-h>.select-display.sc-smoothly-input-select>.value.sc-smoothly-input-select{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-smoothly-input-select-h:not([readonly]):not([disabled])>.select-display.sc-smoothly-input-select{cursor:pointer}.sc-smoothly-input-select-h:not(:has([slot=label]))>.select-display.sc-smoothly-input-select,.sc-smoothly-input-select-h:not([show-label])>.select-display.sc-smoothly-input-select{padding:.6rem .8rem .6rem 0;align-items:center}.sc-smoothly-input-select-h>.select-display.sc-smoothly-input-select smoothly-icon.sc-smoothly-input-select{color:rgb(var(--smoothly-input-foreground));fill:rgb(var(--smoothly-input-foreground));stroke:rgb(var(--smoothly-input-foreground))}.sc-smoothly-input-select-h>div.icons.sc-smoothly-input-select{display:flex;flex-direction:row;align-items:center}.sc-smoothly-input-select-h:hover>div.icons.sc-smoothly-input-select-s>smoothly-icon{filter:opacity(100%)}.sc-smoothly-input-select-h>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-down-outline].sc-smoothly-input-select,.sc-smoothly-input-select-h>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-forward-outline].sc-smoothly-input-select{opacity:.7;height:100%;padding-inline:var(--input-padding-side)}.sc-smoothly-input-select-h:not([readonly]):not([disabled])>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-down-outline].sc-smoothly-input-select,.sc-smoothly-input-select-h:not([readonly]):not([disabled])>div.icons.sc-smoothly-input-select>smoothly-icon[name=caret-forward-outline].sc-smoothly-input-select{cursor:pointer}[invalid].sc-smoothly-input-select-h>div.sc-smoothly-input-select>smoothly-icon.smoothly-invalid.sc-smoothly-input-select{display:block;padding:0.5rem}.sc-smoothly-input-select-h>div.sc-smoothly-input-select>smoothly-icon.smoothly-invalid.sc-smoothly-input-select{display:none}.has-value.sc-smoothly-input-select-h:has([slot=label]:not(:empty))>.select-display.sc-smoothly-input-select,.sc-smoothly-input-select-h:not(.has-value)[placeholder]>.select-display.sc-smoothly-input-select{overflow:hidden;width:100%}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select{display:flex;flex-direction:column;position:absolute;top:var(--element-height);z-index:20;max-height:var(--menu-height, unset);overflow-x:hidden;overflow-y:auto;background-color:rgb(var(--smoothly-input-background));inset-inline:0;border-radius:0 0 var(--smoothly-input-border-radius) var(--smoothly-input-border-radius);border:rgb(var(--smoothly-input-border, var(--smoothly-color-contrast))) solid 1px;border-top:rgba(var(--smoothly-input-border, var(--smoothly-color-contrast)), .4) solid 1px}.sc-smoothly-input-select-h:not(.open)>.dropdown.sc-smoothly-input-select{border:0}[looks="grid"].sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select,[looks=border].sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select,[looks="transparent"].sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select{inset-inline:-1px}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select{display:flex;position:sticky;align-items:center;top:0;gap:1rem;padding:.7rem .7rem .7rem .25rem;background-color:rgb(var(--smoothly-input-background));color:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));fill:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));stroke:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)))}.sc-smoothly-input-select-h:not(.has-filter)>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select{height:0;padding:0;overflow:hidden;pointer-events:none}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select::before{content:"";position:absolute;inset:0;background-color:rgba(var(--smoothly-primary-tint), 0.5);z-index:-1}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select>.search-input.sc-smoothly-input-select{width:100%;background-color:transparent;border:none;outline:none}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select>smoothly-icon[name="search-outline"].sc-smoothly-input-select,.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.search.sc-smoothly-input-select>smoothly-icon[name="backspace-outline"].sc-smoothly-input-select{color:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));fill:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));stroke:rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item{position:relative}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item::before{content:"";display:inline-block;width:1rem;height:1rem;margin-right:0.5rem;border:1px solid rgb(var(--smoothly-input-foreground));border-radius:0.15rem;vertical-align:middle}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item[selected]::before{border-color:rgb(var(--smoothly-item-selected-foreground))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item:hover::before{border:1px solid rgb(var(--smoothly-item-hover-foreground))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item[selected]::after{content:"✔";position:absolute;left:0.65rem;color:rgb(var(--smoothly-item-selected-foreground))}.sc-smoothly-input-select-h[multiple].sc-smoothly-input-select-s>.dropdown>.menu>smoothly-item:hover::after{color:rgb(var(--smoothly-item-hover-foreground))}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select{min-width:fit-content}.sc-smoothly-input-select-h>.dropdown.sc-smoothly-input-select>.menu[hidden].sc-smoothly-input-select{display:none}`;
7973
7973
 
7974
7974
  const SmoothlyInputSelect = class {
7975
7975
  constructor(hostRef) {
@@ -7986,6 +7986,7 @@ const SmoothlyInputSelect = class {
7986
7986
  this.initialValueHandled = false;
7987
7987
  this.observer = Editable.Observer.create(this);
7988
7988
  this.items = [];
7989
+ this.displaySeparator = '<span style="display:inline-block;width:0.8rem"></span>';
7989
7990
  this.invalid = false;
7990
7991
  this.name = "selected";
7991
7992
  this.showLabel = true;
@@ -8157,7 +8158,15 @@ const SmoothlyInputSelect = class {
8157
8158
  return selected.length === initialValue.length && initialValue.every(value => selected.includes(value));
8158
8159
  }
8159
8160
  displaySelected() {
8160
- this.display = this.selected.map(option => option.innerHTML);
8161
+ this.display = this.selected.map(option => {
8162
+ const clone = option.cloneNode(true);
8163
+ clone.querySelectorAll("smoothly-icon").forEach(icon => {
8164
+ const style = icon.style;
8165
+ style.display = "inline-flex";
8166
+ style.verticalAlign = "middle";
8167
+ });
8168
+ return clone.innerHTML;
8169
+ });
8161
8170
  }
8162
8171
  onKeyDown(event) {
8163
8172
  event.stopPropagation();
@@ -8252,11 +8261,11 @@ const SmoothlyInputSelect = class {
8252
8261
  }
8253
8262
  }
8254
8263
  render() {
8255
- return (index$1.h(index$1.Host, { key: '65a7d8d8f4e241d01e6e5862cb399cbc575f561b', class: { "has-value": this.selected.length !== 0, open: this.open, "has-filter": this.filter !== "" }, onClick: (e) => this.onClick(e) }, index$1.h("div", { key: 'ac6e093f04b7ab37032aad27f1c82a02d255def9', class: "select-display" }, this.display.length > 0 ? index$1.h("div", { innerHTML: this.display.join(", ") }) : this.placeholder), index$1.h("div", { key: 'b80e14fcd129d7abf5836055f4a2e28a4ed16d0f', class: "icons", ref: element => (this.iconsElement = element) }, index$1.h("smoothly-icon", { key: '32de16a9eab82526f2f38dfaedc737cdd12f6d92', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: 'af50968ee2c894126b83d7813c82a0d0402cf7a9', name: "end" }), this.looks == "border" && !this.readonly && (index$1.h("smoothly-icon", { key: '0c0f8945582eae4e322f0e17a997995d4f4bd02c', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), index$1.h("slot", { key: '1d4c5b7cc174c6ef6e10f4556b1d2387b4150619', name: "label" }), index$1.h("div", { key: '45417fef3b11e8e1da9347f60ef03e6fc0a5a421', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, index$1.h("div", { key: 'b6556702655db2d495fc5a4e6ecca75886739c77', class: "search" }, index$1.h("smoothly-icon", { key: 'a638f9dffd30ed31bad8dadfe521402ce4133623', name: "search-outline", size: "small" }), index$1.h("input", { key: 'ee2c1fc1595145211c41d249ec734aabc97d9a00', class: "search-input", ref: el => (this.searchElement = el), disabled: this.searchDisabled, onKeyDown: e => this.onKeyDown(e), onInput: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); }, onPaste: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); } }), index$1.h("smoothly-icon", { key: '10d79827edb6792f0ff65a8f91102a8bdc33ea0f', name: "backspace-outline", size: "small", onClick: () => {
8264
+ return (index$1.h(index$1.Host, { key: '3e0fb760fe368b2b74eea48d9d183b97cf794f2d', class: { "has-value": this.selected.length !== 0, open: this.open, "has-filter": this.filter !== "" }, onClick: (e) => this.onClick(e) }, index$1.h("div", { key: '093370e8318262aae88d50d0877a5e8c50697287', class: "select-display" }, this.display.length > 0 ? (index$1.h("div", { class: "value", innerHTML: this.display.join(this.displaySeparator) })) : (this.placeholder)), index$1.h("div", { key: 'a17051b19a572ca7a5c2330118313475b73d3b0e', class: "icons", ref: element => (this.iconsElement = element) }, index$1.h("smoothly-icon", { key: '1de61f7d6a65aae29f1610ff8c02db970612db65', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: '65fadcc4eb21dce38f1e6c657313145f71c61ab2', name: "end" }), this.looks == "border" && !this.readonly && (index$1.h("smoothly-icon", { key: 'e191a32e1bd9a639ed6b509672195d283ee74d89', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), index$1.h("slot", { key: '35786f1d6fe50659bbfaa97932051596fe603335', name: "label" }), index$1.h("div", { key: 'c9337f0730d15ea0c0fbdf7e2720f55b18743a37', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, index$1.h("div", { key: '6c991544d402f9fef1439fcfd76a7dc53e63f88e', class: "search" }, index$1.h("smoothly-icon", { key: 'e995e70cebd736be774ac822a334ddfbeb201cba', name: "search-outline", size: "small" }), index$1.h("input", { key: '711637b32f5e1b76ed9ac35fa857985a26fce797', class: "search-input", ref: el => (this.searchElement = el), disabled: this.searchDisabled, onKeyDown: e => this.onKeyDown(e), onInput: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); }, onPaste: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); } }), index$1.h("smoothly-icon", { key: '0aa02170ba85eb23f915418507e2ccea48a5caa9', name: "backspace-outline", size: "small", onClick: () => {
8256
8265
  var _a;
8257
8266
  this.resetFilter();
8258
8267
  (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.focus();
8259
- } }), this.mutable && index$1.h("smoothly-icon", { key: 'c9845fdf253eb126f440178a7667a0c1839086d1', name: "add", size: "small", onClick: () => this.addItem() })), index$1.h("div", { key: 'c2decc722e32db1d3fcdcf734b6cc57867618a7a', class: "menu", hidden: !this.open }, index$1.h("slot", { key: '8e6e54b0dd4a7f1951fdfc312dd1573d43f0bdec' }), this.addedItems))));
8268
+ } }), this.mutable && index$1.h("smoothly-icon", { key: 'df57784da6d166eed71b016ac48ee2d4e3735d68', name: "add", size: "small", onClick: () => this.addItem() })), index$1.h("div", { key: '5d60c8f17c8b2b011d2477a969ff13d35b25e166', class: "menu", hidden: !this.open }, index$1.h("slot", { key: 'ecd9ff35b2ef45ec5bf6e0e61717ab670ee05c7a' }), this.addedItems))));
8260
8269
  }
8261
8270
  get element() { return index$1.getElement(this); }
8262
8271
  static get watchers() { return {