@sula-tech/webcomponents 0.22.0 → 0.23.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 (118) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/sula-avatar_32.cjs.entry.js +124 -78
  3. package/dist/cjs/sula-avatar_32.cjs.entry.js.map +1 -1
  4. package/dist/cjs/sula-toast-stack.cjs.entry.js +4 -4
  5. package/dist/cjs/sula-toast.cjs.entry.js +3 -3
  6. package/dist/cjs/webcomponents.cjs.js +1 -1
  7. package/dist/collection/components/sula-calendar/sula-calendar.css +1 -1
  8. package/dist/collection/components/sula-calendar/sula-calendar.js +56 -17
  9. package/dist/collection/components/sula-calendar/sula-calendar.js.map +1 -1
  10. package/dist/collection/components/sula-calendar/sula-calendar.stories.js +16 -1
  11. package/dist/collection/components/sula-calendar/sula-calendar.stories.js.map +1 -1
  12. package/dist/collection/components/sula-chip/sula-chip.css +1 -1
  13. package/dist/collection/components/sula-chip/sula-chip.js +30 -4
  14. package/dist/collection/components/sula-chip/sula-chip.js.map +1 -1
  15. package/dist/collection/components/sula-chip/sula-chip.stories.js +55 -0
  16. package/dist/collection/components/sula-chip/sula-chip.stories.js.map +1 -1
  17. package/dist/collection/components/sula-dropdown/sula-dropdown.js +3 -3
  18. package/dist/collection/components/sula-icon/sula-icon.css +1 -1
  19. package/dist/collection/components/sula-icon/sula-icon.js +1 -1
  20. package/dist/collection/components/sula-icon-picker/sula-icon-picker.js +2 -2
  21. package/dist/collection/components/sula-loader/sula-loader.js +1 -1
  22. package/dist/collection/components/sula-menu/sula-menu.js +8 -8
  23. package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.css +1 -1
  24. package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.js +1 -1
  25. package/dist/collection/components/sula-progress-bar/sula-progress-bar.js +2 -2
  26. package/dist/collection/components/sula-radio-button/sula-radio-button.js +2 -2
  27. package/dist/collection/components/sula-search-bar/sula-search-bar.js +2 -2
  28. package/dist/collection/components/sula-segmented-control/sula-segmented-control.js +1 -1
  29. package/dist/collection/components/sula-switch/sula-switch.js +4 -4
  30. package/dist/collection/components/sula-table/sula-table.js +3 -3
  31. package/dist/collection/components/sula-table-body/sula-table-body.js +1 -1
  32. package/dist/collection/components/sula-table-cell/sula-table-cell.js +2 -2
  33. package/dist/collection/components/sula-table-head-cell/sula-table-head-cell.js +2 -2
  34. package/dist/collection/components/sula-table-header/sula-table-header.js +1 -1
  35. package/dist/collection/components/sula-table-row/sula-table-row.js +1 -1
  36. package/dist/collection/components/sula-tag/sula-tag.js +3 -3
  37. package/dist/collection/components/sula-textarea/sula-textarea.js +6 -6
  38. package/dist/collection/components/sula-textfield/sula-textfield.css +1 -1
  39. package/dist/collection/components/sula-textfield/sula-textfield.js +2 -2
  40. package/dist/collection/components/sula-tiles/sula-tiles.js +1 -1
  41. package/dist/collection/components/sula-timeline-list/sula-timeline-list.js +1 -1
  42. package/dist/collection/components/sula-toast/sula-toast.css +1 -1
  43. package/dist/collection/components/sula-toast/sula-toast.js +2 -2
  44. package/dist/collection/components/sula-toast-stack/sula-toast-stack.js +4 -4
  45. package/dist/collection/components/sula-toggle/sula-toggle.js +1 -1
  46. package/dist/collection/components/sula-tooltip/sula-tooltip.js +1 -1
  47. package/dist/components/{p-D5G0T47I.js → p-3-lLA5aQ.js} +6 -6
  48. package/dist/components/{p-D5G0T47I.js.map → p-3-lLA5aQ.js.map} +1 -1
  49. package/dist/components/{p-MPkJUrNl.js → p-BORy1230.js} +3 -3
  50. package/dist/components/{p-MPkJUrNl.js.map → p-BORy1230.js.map} +1 -1
  51. package/dist/components/{p-DwyYG9oc.js → p-Bp4cLSzc.js} +5 -5
  52. package/dist/components/{p-DwyYG9oc.js.map → p-Bp4cLSzc.js.map} +1 -1
  53. package/dist/components/{p-t7f_qmad.js → p-CajcgsMw.js} +7 -7
  54. package/dist/components/{p-t7f_qmad.js.map → p-CajcgsMw.js.map} +1 -1
  55. package/dist/components/{p-CXm0qTFO.js → p-DayezGbB.js} +4 -4
  56. package/dist/components/{p-CXm0qTFO.js.map → p-DayezGbB.js.map} +1 -1
  57. package/dist/components/{p-fAOl4EhI.js → p-Deabropl.js} +5 -5
  58. package/dist/components/{p-fAOl4EhI.js.map → p-Deabropl.js.map} +1 -1
  59. package/dist/components/{p-DGAtNvje.js → p-DxlGQRPo.js} +6 -6
  60. package/dist/components/{p-DGAtNvje.js.map → p-DxlGQRPo.js.map} +1 -1
  61. package/dist/components/{p-jplrktAF.js → p-Yd-vDXTs.js} +4 -4
  62. package/dist/components/{p-jplrktAF.js.map → p-Yd-vDXTs.js.map} +1 -1
  63. package/dist/components/sula-avatar.js +1 -1
  64. package/dist/components/sula-badge.js +1 -1
  65. package/dist/components/sula-breadcrumb.js +1 -1
  66. package/dist/components/sula-button.js +1 -1
  67. package/dist/components/sula-calendar.js +59 -20
  68. package/dist/components/sula-calendar.js.map +1 -1
  69. package/dist/components/sula-checkbox.js +1 -1
  70. package/dist/components/sula-chip.js +15 -7
  71. package/dist/components/sula-chip.js.map +1 -1
  72. package/dist/components/sula-dropdown.js +1 -1
  73. package/dist/components/sula-icon-picker.js +6 -6
  74. package/dist/components/sula-icon.js +1 -1
  75. package/dist/components/sula-loader.js +1 -1
  76. package/dist/components/sula-menu-select-list.js +1 -1
  77. package/dist/components/sula-menu.js +9 -9
  78. package/dist/components/sula-modal.js +3 -3
  79. package/dist/components/sula-progress-bar.js +3 -3
  80. package/dist/components/sula-radio-button.js +2 -2
  81. package/dist/components/sula-search-bar.js +1 -1
  82. package/dist/components/sula-segmented-control.js +2 -2
  83. package/dist/components/sula-switch.js +4 -4
  84. package/dist/components/sula-table-body.js +1 -1
  85. package/dist/components/sula-table-cell.js +2 -2
  86. package/dist/components/sula-table-head-cell.js +2 -2
  87. package/dist/components/sula-table-header.js +1 -1
  88. package/dist/components/sula-table-row.js +1 -1
  89. package/dist/components/sula-table.js +3 -3
  90. package/dist/components/sula-tag.js +4 -4
  91. package/dist/components/sula-textarea.js +6 -6
  92. package/dist/components/sula-textfield.js +1 -1
  93. package/dist/components/sula-tiles.js +2 -2
  94. package/dist/components/sula-timeline-list.js +2 -2
  95. package/dist/components/sula-toast-stack.js +6 -6
  96. package/dist/components/sula-toast.js +1 -1
  97. package/dist/components/sula-toggle.js +2 -2
  98. package/dist/components/sula-tooltip.js +2 -2
  99. package/dist/esm/loader.js +1 -1
  100. package/dist/esm/sula-avatar_32.entry.js +124 -78
  101. package/dist/esm/sula-avatar_32.entry.js.map +1 -1
  102. package/dist/esm/sula-toast-stack.entry.js +4 -4
  103. package/dist/esm/sula-toast.entry.js +3 -3
  104. package/dist/esm/webcomponents.js +1 -1
  105. package/dist/types/components/sula-calendar/sula-calendar.d.ts +9 -3
  106. package/dist/types/components/sula-calendar/sula-calendar.stories.d.ts +1 -0
  107. package/dist/types/components/sula-chip/sula-chip.d.ts +5 -0
  108. package/dist/types/components/sula-chip/sula-chip.stories.d.ts +12 -0
  109. package/dist/types/components.d.ts +8 -0
  110. package/dist/webcomponents/{p-df271629.entry.js → p-18c84807.entry.js} +6 -6
  111. package/dist/webcomponents/{p-22b10b91.entry.js → p-c331fc8a.entry.js} +399 -315
  112. package/dist/webcomponents/p-c331fc8a.entry.js.map +1 -0
  113. package/dist/webcomponents/{p-c552c435.entry.js → p-cbb7df72.entry.js} +17 -17
  114. package/dist/webcomponents/webcomponents.esm.js +4 -3
  115. package/package.json +1 -1
  116. package/dist/webcomponents/p-22b10b91.entry.js.map +0 -1
  117. /package/dist/webcomponents/{p-df271629.entry.js.map → p-18c84807.entry.js.map} +0 -0
  118. /package/dist/webcomponents/{p-c552c435.entry.js.map → p-cbb7df72.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DYfmicjp.js';
2
- import { d as defineCustomElement$3 } from './p-jplrktAF.js';
3
- import { d as defineCustomElement$2 } from './p-fAOl4EhI.js';
2
+ import { d as defineCustomElement$3 } from './p-Yd-vDXTs.js';
3
+ import { d as defineCustomElement$2 } from './p-Deabropl.js';
4
4
 
5
5
  var SulaChipAppearance;
6
6
  (function (SulaChipAppearance) {
@@ -13,7 +13,7 @@ var SulaChipItemsPlacement;
13
13
  SulaChipItemsPlacement["Top"] = "top";
14
14
  })(SulaChipItemsPlacement || (SulaChipItemsPlacement = {}));
15
15
 
16
- const sulaChipCss = "*,:after,:before{--tw-ring-color:rgba(59,130,246,.5);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-ring-color:rgba(59,130,246,.5);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{font-family:Figtree;line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}.outline{outline-style:solid}:host,:host button,:host input,:host option,:host select,:host textarea{font-family:Figtree,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:host{display:block}.chip-focus{outline:2px solid var(--color-feedback-informational)!important;outline-offset:2px!important}.chip-opened{box-shadow:0 0 0 2px hsla(0,0%,8%,.102)}:root{--color-green-50:#f1f9f4;--color-green-100:#e6f4ed;--color-green-200:#cae7d8;--color-green-300:#a0d4b8;--color-green-400:#68bb8e;--color-green-500:#04843f;--color-green-600:#037236;--color-green-700:#03632f;--color-green-800:#035428;--color-green-900:#024521;--color-green-950:#012b15;--color-red-50:#fef6f6;--color-red-100:#fde8e8;--color-red-200:#fad1d1;--color-red-300:#f7abab;--color-red-400:#f17474;--color-red-500:#c80505;--color-red-600:#b30404;--color-red-700:#9f0404;--color-red-800:#860303;--color-red-900:#6d0303;--color-red-950:#330d00;--color-yellow-50:#fdf4e7;--color-yellow-100:#fcedd9;--color-yellow-200:#fae0bd;--color-yellow-300:#f6c788;--color-yellow-400:#f3b159;--color-yellow-500:#ef9928;--color-yellow-600:#e49226;--color-yellow-700:#d17e10;--color-yellow-800:#b46d0e;--color-yellow-900:#93590b;--color-yellow-950:#402705;--color-orange-50:#fef4f1;--color-orange-100:#fde8e2;--color-orange-200:#fbd2c6;--color-orange-300:#f8b4a0;--color-orange-400:#f58e70;--color-orange-500:#f05223;--color-orange-600:#ea4210;--color-orange-700:#d23b0e;--color-orange-800:#b5330c;--color-orange-900:#942a0a;--color-orange-950:#401204;--color-blue-50:#ecf0f9;--color-blue-100:#dde3f4;--color-blue-200:#b2c2e5;--color-blue-300:#7994d2;--color-blue-400:#4066bf;--color-blue-500:#001e64;--color-blue-600:#001c5c;--color-blue-700:#00174c;--color-blue-800:#00123d;--color-blue-900:#000f33;--color-blue-950:#000d2b;--color-ambar-50:#fff6eb;--color-ambar-100:#ffefdc;--color-ambar-200:#fedfb9;--color-ambar-300:#fdca8b;--color-ambar-400:#fdb359;--color-ambar-500:#fc9c26;--color-ambar-600:#ec8403;--color-ambar-700:#d87803;--color-ambar-800:#ba6803;--color-ambar-900:#975402;--color-ambar-950:#402301;--color-gray-50:#fff;--color-gray-100:#f3f4f4;--color-gray-200:#e5e6e6;--color-gray-300:#bfc0c0;--color-gray-400:#acaeae;--color-gray-500:#949595;--color-gray-600:#737575;--color-gray-700:#6c6e6e;--color-gray-800:#313333;--color-gray-900:#272929;--color-gray-950:#191d1d;--color-white-opacity-50:#ffffff0d;--color-white-opacity-100:#ffffff1a;--color-white-opacity-200:#ffffff26;--color-white-opacity-300:#ffffff45;--color-white-opacity-400:#ffffff5c;--color-white-opacity-500:#ffffff80;--color-white-opacity-600:#ffffff8c;--color-white-opacity-700:#ffffffa3;--color-white-opacity-800:#ffffffba;--color-white-opacity-900:#fffc;--color-white-opacity-950:#ffffffe8;--color-ciano-50:#f1f6fe;--color-ciano-100:#dfeafc;--color-ciano-200:#c3d9f9;--color-ciano-300:#90b9f4;--color-ciano-400:#5d98ee;--color-ciano-500:#1769e0;--color-ciano-600:#155fcb;--color-ciano-700:#1355b4;--color-ciano-800:#104899;--color-ciano-900:#0d3b7d;--color-ciano-950:#071e40;--color-extra-color-blue-light:#e7f0f4;--color-extra-color-blue-dark:#162931;--color-black-opacity-50:rgba(25,29,29,.02);--color-black-opacity-100:rgba(25,29,29,.05);--color-black-opacity-200:rgba(25,29,29,.11);--color-black-opacity-300:rgba(25,29,29,.28);--color-black-opacity-400:rgba(25,29,29,.36);--color-black-opacity-500:rgba(25,29,29,.44);--color-black-opacity-600:rgba(25,29,29,.62);--color-black-opacity-700:rgba(25,29,29,.64);--color-black-opacity-800:rgba(25,29,29,.72);--color-black-opacity-900:rgba(25,29,29,.8);--color-black-opacity-950:rgba(25,29,29,.96);--color-shadow-opacity-50:rgba(0,0,0,.04);--color-shadow-opacity-100:rgba(0,0,0,.06);--color-shadow-opacity-200:rgba(0,0,0,.12);--color-shadow-opacity-300:rgba(0,0,0,.2);--color-shadow-opacity-400:rgba(0,0,0,.32);--color-shadow-opacity-500:rgba(0,0,0,.5);--color-shadow-opacity-600:rgba(0,0,0,.55);--color-shadow-opacity-700:rgba(0,0,0,.64);--color-shadow-opacity-800:rgba(0,0,0,.73);--color-shadow-opacity-900:rgba(0,0,0,.8);--color-shadow-opacity-950:rgba(0,0,0,.91);--color-feedback-success:#04843f;--color-feedback-error:#c80505;--color-feedback-informational:#1355b4;--color-feedback-alert:#ef9928;--color-brand-primary:#f05223;--color-brand-secondary:#001c5c;--color-brand-tertiary-1:#1769e0;--color-brand-tertiary-2:#fc9c26;--color-surface-body:#fff;--color-surface-on-body:#f3f4f4;--color-surface-on-body-blue:#e7f0f4;--color-surface-on-body-brand:#fff6eb;--color-surface-on-body-feedback-success:#e6f4ed;--color-surface-on-body-feedback-error:#fde8e8;--color-surface-on-body-feedback-alert:#fdf4e7;--color-surface-on-body-feedback-info:#dfeafc;--color-text-brand:#f05223;--color-text-primary:#313333;--color-text-secondary:#6c6e6e;--color-text-disabled:#949595;--color-text-link:#1355b4;--color-states-empty-bg-hover:rgba(25,29,29,.05);--color-states-empty-bg-pressed:rgba(25,29,29,.11);--color-states-bg-disabled:rgba(25,29,29,.02);--color-states-bg-focus:#1355b4;--color-states-primary-hover:#ea4210;--color-states-primary-pressed:#d23b0e;--color-states-danger-hover:#b30404;--color-states-danger-pressed:#9f0404;--color-states-negative-hover:#e5e6e6;--color-states-negative-pressed:#bfc0c0;--color-icon-primary:#6c6e6e;--color-icon-secondary:#fff;--color-icon-tertiary:#b30404;--color-icon-disabled:#acaeae;--color-neutral-neutral-1:#fff;--color-neutral-neutral-2:#f3f4f4;--color-neutral-neutral-3:#acaeae;--color-neutral-neutral-4:#949595;--color-neutral-neutral-5:#737575;--color-neutral-neutral-6:#6c6e6e;--color-neutral-neutral-7:#313333;--color-neutral-neutral-8:#272929;--color-negative-negative-1:#fff;--color-negative-negative-2:#313333;--color-opacity-body:#fffc;--color-opacity-on-body:rgba(25,29,29,.02);--color-opacity-overlay:rgba(25,29,29,.62);--color-opacity-on-overlay:#ffffff1a;--color-opacity-toast:#ffffff45;--color-line-input:#949595;--color-line-general-strong:#bfc0c0;--color-line-general:#e5e6e6;--color-line-hair:rgba(25,29,29,.05);--color-box-shadow-body:#fff;--color-box-shadow-shadow-color-1:rgba(0,0,0,.04);--color-box-shadow-shadow-color-2:rgba(0,0,0,.06)}.static{position:static}.absolute{position:absolute}.relative{position:relative}.bottom-40{bottom:2.5rem}.left-0{left:0}.top-40{top:2.5rem}.z-50{z-index:50}.ml-8{margin-left:.5rem}.flex{display:flex}.min-h-40{min-height:2.5rem}.w-fit{width:fit-content}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-xxl{border-radius:18.75rem}.border{border-width:1px}.border-line-input{border-color:var(--color-line-input)}.bg-brand-primary{background-color:var(--color-brand-primary)}.bg-negative-negative-1{background-color:var(--color-negative-negative-1)}.bg-states-bg-disabled{background-color:var(--color-states-bg-disabled)}.bg-states-empty-bg-pressed{background-color:var(--color-states-empty-bg-pressed)}.bg-states-negative-pressed{background-color:var(--color-states-negative-pressed)}.bg-surface-on-body{background-color:var(--color-surface-on-body)}.px-16{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.125rem;padding-top:.125rem}.text-base{font-size:1rem;line-height:1.5rem}.font-bold{font-weight:700}.leading-4{line-height:1rem}.text-negative-negative-1{color:var(--color-negative-negative-1)}.text-negative-negative-2{color:var(--color-negative-negative-2)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-primary{color:var(--color-text-primary)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.hover\\:bg-states-empty-bg-hover:hover{background-color:var(--color-states-empty-bg-hover)}.hover\\:bg-states-negative-hover:hover{background-color:var(--color-states-negative-hover)}.active\\:bg-states-empty-bg-pressed:active{background-color:var(--color-states-empty-bg-pressed)}.active\\:bg-states-negative-pressed:active{background-color:var(--color-states-negative-pressed)}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:300;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Light.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:300;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-LightItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:400;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Regular.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:400;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Italic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:500;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Medium.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:500;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-MediumItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:600;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-SemiBold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:600;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-SemiBoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:700;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Bold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:700;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-BoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:800;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-ExtraBold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:800;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-ExtraBoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:900;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Black.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:900;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-BlackItalic.ttf) format(\"truetype\")}.w-full{width:100%}.gap-8{gap:.5rem}.overflow-auto{overflow:auto}.rounded-sm{border-radius:.75rem}.border-line-general{border-color:var(--color-line-general)}.bg-surface-body{background-color:var(--color-surface-body)}.px-24{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-bottom:.75rem;padding-top:.75rem}.py-16{padding-bottom:1rem;padding-top:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-text-brand{color:var(--color-text-brand)}";
16
+ const sulaChipCss = "*,:after,:before{--tw-ring-color:rgba(59,130,246,.5);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-ring-color:rgba(59,130,246,.5);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{font-family:Figtree;line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}.outline{outline-style:solid}:host,:host button,:host input,:host option,:host select,:host textarea{font-family:Figtree,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:host{display:block}.chip-focus{outline:2px solid var(--color-feedback-informational)!important;outline-offset:2px!important}.chip-opened{box-shadow:0 0 0 2px hsla(0,0%,8%,.102)}:root{--color-green-50:#f1f9f4;--color-green-100:#e6f4ed;--color-green-200:#cae7d8;--color-green-300:#a0d4b8;--color-green-400:#68bb8e;--color-green-500:#04843f;--color-green-600:#037236;--color-green-700:#03632f;--color-green-800:#035428;--color-green-900:#024521;--color-green-950:#012b15;--color-red-50:#fef6f6;--color-red-100:#fde8e8;--color-red-200:#fad1d1;--color-red-300:#f7abab;--color-red-400:#f17474;--color-red-500:#c80505;--color-red-600:#b30404;--color-red-700:#9f0404;--color-red-800:#860303;--color-red-900:#6d0303;--color-red-950:#330d00;--color-yellow-50:#fdf4e7;--color-yellow-100:#fcedd9;--color-yellow-200:#fae0bd;--color-yellow-300:#f6c788;--color-yellow-400:#f3b159;--color-yellow-500:#ef9928;--color-yellow-600:#e49226;--color-yellow-700:#d17e10;--color-yellow-800:#b46d0e;--color-yellow-900:#93590b;--color-yellow-950:#402705;--color-orange-50:#fef4f1;--color-orange-100:#fde8e2;--color-orange-200:#fbd2c6;--color-orange-300:#f8b4a0;--color-orange-400:#f58e70;--color-orange-500:#f05223;--color-orange-600:#ea4210;--color-orange-700:#d23b0e;--color-orange-800:#b5330c;--color-orange-900:#942a0a;--color-orange-950:#401204;--color-blue-50:#ecf0f9;--color-blue-100:#dde3f4;--color-blue-200:#b2c2e5;--color-blue-300:#7994d2;--color-blue-400:#4066bf;--color-blue-500:#001e64;--color-blue-600:#001c5c;--color-blue-700:#00174c;--color-blue-800:#00123d;--color-blue-900:#000f33;--color-blue-950:#000d2b;--color-ambar-50:#fff6eb;--color-ambar-100:#ffefdc;--color-ambar-200:#fedfb9;--color-ambar-300:#fdca8b;--color-ambar-400:#fdb359;--color-ambar-500:#fc9c26;--color-ambar-600:#ec8403;--color-ambar-700:#d87803;--color-ambar-800:#ba6803;--color-ambar-900:#975402;--color-ambar-950:#402301;--color-gray-50:#fff;--color-gray-100:#f3f4f4;--color-gray-200:#e5e6e6;--color-gray-300:#bfc0c0;--color-gray-400:#acaeae;--color-gray-500:#949595;--color-gray-600:#737575;--color-gray-700:#6c6e6e;--color-gray-800:#313333;--color-gray-900:#272929;--color-gray-950:#191d1d;--color-white-opacity-50:#ffffff0d;--color-white-opacity-100:#ffffff1a;--color-white-opacity-200:#ffffff26;--color-white-opacity-300:#ffffff45;--color-white-opacity-400:#ffffff5c;--color-white-opacity-500:#ffffff80;--color-white-opacity-600:#ffffff8c;--color-white-opacity-700:#ffffffa3;--color-white-opacity-800:#ffffffba;--color-white-opacity-900:#fffc;--color-white-opacity-950:#ffffffe8;--color-ciano-50:#f1f6fe;--color-ciano-100:#dfeafc;--color-ciano-200:#c3d9f9;--color-ciano-300:#90b9f4;--color-ciano-400:#5d98ee;--color-ciano-500:#1769e0;--color-ciano-600:#155fcb;--color-ciano-700:#1355b4;--color-ciano-800:#104899;--color-ciano-900:#0d3b7d;--color-ciano-950:#071e40;--color-extra-color-blue-light:#e7f0f4;--color-extra-color-blue-dark:#162931;--color-black-opacity-50:rgba(25,29,29,.02);--color-black-opacity-100:rgba(25,29,29,.05);--color-black-opacity-200:rgba(25,29,29,.11);--color-black-opacity-300:rgba(25,29,29,.28);--color-black-opacity-400:rgba(25,29,29,.36);--color-black-opacity-500:rgba(25,29,29,.44);--color-black-opacity-600:rgba(25,29,29,.62);--color-black-opacity-700:rgba(25,29,29,.64);--color-black-opacity-800:rgba(25,29,29,.72);--color-black-opacity-900:rgba(25,29,29,.8);--color-black-opacity-950:rgba(25,29,29,.96);--color-shadow-opacity-50:rgba(0,0,0,.04);--color-shadow-opacity-100:rgba(0,0,0,.06);--color-shadow-opacity-200:rgba(0,0,0,.12);--color-shadow-opacity-300:rgba(0,0,0,.2);--color-shadow-opacity-400:rgba(0,0,0,.32);--color-shadow-opacity-500:rgba(0,0,0,.5);--color-shadow-opacity-600:rgba(0,0,0,.55);--color-shadow-opacity-700:rgba(0,0,0,.64);--color-shadow-opacity-800:rgba(0,0,0,.73);--color-shadow-opacity-900:rgba(0,0,0,.8);--color-shadow-opacity-950:rgba(0,0,0,.91);--color-feedback-success:#04843f;--color-feedback-error:#c80505;--color-feedback-informational:#1355b4;--color-feedback-alert:#ef9928;--color-brand-primary:#f05223;--color-brand-secondary:#001c5c;--color-brand-tertiary-1:#1769e0;--color-brand-tertiary-2:#fc9c26;--color-surface-body:#fff;--color-surface-on-body:#f3f4f4;--color-surface-on-body-blue:#e7f0f4;--color-surface-on-body-brand:#fff6eb;--color-surface-on-body-feedback-success:#e6f4ed;--color-surface-on-body-feedback-error:#fde8e8;--color-surface-on-body-feedback-alert:#fdf4e7;--color-surface-on-body-feedback-info:#dfeafc;--color-text-brand:#f05223;--color-text-primary:#313333;--color-text-secondary:#6c6e6e;--color-text-disabled:#949595;--color-text-link:#1355b4;--color-states-empty-bg-hover:rgba(25,29,29,.05);--color-states-empty-bg-pressed:rgba(25,29,29,.11);--color-states-bg-disabled:rgba(25,29,29,.02);--color-states-bg-focus:#1355b4;--color-states-primary-hover:#ea4210;--color-states-primary-pressed:#d23b0e;--color-states-danger-hover:#b30404;--color-states-danger-pressed:#9f0404;--color-states-negative-hover:#e5e6e6;--color-states-negative-pressed:#bfc0c0;--color-icon-primary:#6c6e6e;--color-icon-secondary:#fff;--color-icon-tertiary:#b30404;--color-icon-disabled:#acaeae;--color-neutral-neutral-1:#fff;--color-neutral-neutral-2:#f3f4f4;--color-neutral-neutral-3:#acaeae;--color-neutral-neutral-4:#949595;--color-neutral-neutral-5:#737575;--color-neutral-neutral-6:#6c6e6e;--color-neutral-neutral-7:#313333;--color-neutral-neutral-8:#272929;--color-negative-negative-1:#fff;--color-negative-negative-2:#313333;--color-opacity-body:#fffc;--color-opacity-on-body:rgba(25,29,29,.02);--color-opacity-overlay:rgba(25,29,29,.62);--color-opacity-on-overlay:#ffffff1a;--color-opacity-toast:#ffffff45;--color-line-input:#949595;--color-line-general-strong:#bfc0c0;--color-line-general:#e5e6e6;--color-line-hair:rgba(25,29,29,.05);--color-box-shadow-body:#fff;--color-box-shadow-shadow-color-1:rgba(0,0,0,.04);--color-box-shadow-shadow-color-2:rgba(0,0,0,.06)}.static{position:static}.absolute{position:absolute}.relative{position:relative}.bottom-40{bottom:2.5rem}.left-0{left:0}.top-40{top:2.5rem}.z-50{z-index:50}.ml-8{margin-left:.5rem}.mr-8{margin-right:.5rem}.flex{display:flex}.min-h-40{min-height:2.5rem}.w-fit{width:fit-content}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-xxl{border-radius:18.75rem}.border{border-width:1px}.border-line-input{border-color:var(--color-line-input)}.bg-brand-primary{background-color:var(--color-brand-primary)}.bg-negative-negative-1{background-color:var(--color-negative-negative-1)}.bg-states-bg-disabled{background-color:var(--color-states-bg-disabled)}.bg-states-empty-bg-pressed{background-color:var(--color-states-empty-bg-pressed)}.bg-states-negative-pressed{background-color:var(--color-states-negative-pressed)}.bg-surface-on-body{background-color:var(--color-surface-on-body)}.px-16{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.125rem;padding-top:.125rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.leading-4{line-height:1rem}.text-negative-negative-1{color:var(--color-negative-negative-1)}.text-negative-negative-2{color:var(--color-negative-negative-2)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-primary{color:var(--color-text-primary)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.hover\\:bg-states-empty-bg-hover:hover{background-color:var(--color-states-empty-bg-hover)}.hover\\:bg-states-negative-hover:hover{background-color:var(--color-states-negative-hover)}.active\\:bg-states-empty-bg-pressed:active{background-color:var(--color-states-empty-bg-pressed)}.active\\:bg-states-negative-pressed:active{background-color:var(--color-states-negative-pressed)}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:300;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Light.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:300;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-LightItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:400;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Regular.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:400;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Italic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:500;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Medium.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:500;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-MediumItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:600;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-SemiBold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:600;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-SemiBoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:700;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Bold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:700;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-BoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:800;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-ExtraBold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:800;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-ExtraBoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:900;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Black.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:900;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-BlackItalic.ttf) format(\"truetype\")}.w-full{width:100%}.gap-8{gap:.5rem}.overflow-auto{overflow:auto}.rounded-sm{border-radius:.75rem}.border-line-general{border-color:var(--color-line-general)}.bg-surface-body{background-color:var(--color-surface-body)}.px-24{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-bottom:.75rem;padding-top:.75rem}.py-16{padding-bottom:1rem;padding-top:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-text-brand{color:var(--color-text-brand)}";
17
17
 
18
18
  const SulaChip$1 = /*@__PURE__*/ proxyCustomElement(class SulaChip extends H {
19
19
  constructor() {
@@ -91,8 +91,15 @@ const SulaChip$1 = /*@__PURE__*/ proxyCustomElement(class SulaChip extends H {
91
91
  return 'text-negative-negative-2';
92
92
  }
93
93
  }
94
+ getLeadingIconClass() {
95
+ if (this.disabled)
96
+ return 'text-text-disabled';
97
+ if (this.selected)
98
+ return 'text-negative-negative-1';
99
+ return this.appearance === SulaChipAppearance.Default ? 'text-text-primary' : 'text-negative-negative-2';
100
+ }
94
101
  render() {
95
- return (h(Host, { key: '27d1549b2f19f25bdc51d9f7e587091d7f654765', ref: node => (this.node = node) }, h("div", { key: '097fa38c5eb008ae79a9bdb565a5a3641ebbfca9', class: "w-fit relative" }, h("div", { key: 'd7685d701be4f8ac972d3fff4e28301552711bbb', class: {
102
+ return (h(Host, { key: '46deed1dcfe849ed448997022535124ea59a1671', ref: node => (this.node = node) }, h("div", { key: 'd7db32bc10406f6733f0adae522608907ffb5a83', class: "w-fit relative" }, h("div", { key: 'e285e29f0e7912ad42f7e0087401d8c530e50db7', class: {
96
103
  'flex justify-center items-center px-16 py-2 rounded-xxl min-h-40 w-fit outline-none': true,
97
104
  'bg-surface-on-body hover:bg-states-empty-bg-hover active:bg-states-empty-bg-pressed': this.appearance === SulaChipAppearance.Default && !this.disabled && !this.selected,
98
105
  'bg-brand-primary': this.selected && !this.disabled,
@@ -101,23 +108,24 @@ const SulaChip$1 = /*@__PURE__*/ proxyCustomElement(class SulaChip extends H {
101
108
  'cursor-pointer': !this.disabled,
102
109
  'border border-line-input chip-opened': !this.disabled && this.showItems,
103
110
  'chip-focus': this.isFocused,
104
- }, tabIndex: 0, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("span", { key: 'e27968dffdb4f97abcc7c6c06fbc011051298a78', class: {
111
+ }, tabIndex: 0, onClick: this.handleClick, onFocus: this.handleFocus, onBlur: this.handleBlur }, this.icon && (h("div", { key: '9722b8641dd2e323e3723cc49d1f5050f890556c', class: { 'flex items-center justify-center leading-4': true, 'mr-8': !!this.text }, "data-chip-icon": true }, h("sula-icon", { key: 'f09dc0503dcab867d47394b2b5cb65bef60cb3f1', icon: this.icon, customClass: `text-xl ${this.getLeadingIconClass()}` }))), h("span", { key: '8f493ac8721f562842f58814963fa46c5dab8a47', class: {
105
112
  'text-base font-bold leading-4': true,
106
113
  'text-text-primary': this.appearance === SulaChipAppearance.Default && !this.disabled && !this.selected,
107
114
  'text-negative-negative-2': this.appearance === SulaChipAppearance.Negative && !this.disabled && !this.selected,
108
115
  'text-negative-negative-1': this.selected && !this.disabled,
109
116
  'text-text-disabled': this.disabled,
110
- } }, this.text), this.items.length > 0 && (h("div", { key: '28555fe413f6819322975fdcec8f6867a15fd440', class: "flex items-center justify-center ml-8 leading-4" }, h("sula-icon", { key: '1c91ed1838bdb5ec36291ae2f6bbace032db63bd', icon: `ph-bold ph-caret-${this.showItems ? 'up' : 'down'}`, customClass: this.getIconClass() })))), this.showItems && (h("div", { key: 'b2d3e0525ce5c07d8998bafd3f8f1e8b8c48a1fd', class: {
117
+ } }, this.text), this.items.length > 0 && (h("div", { key: '792a4ccf0f7d727d6d3531aef3789039ecc1a032', class: "flex items-center justify-center ml-8 leading-4" }, h("sula-icon", { key: '7b35318065463466fadd073f5ccefbec2f70fc28', icon: `ph-bold ph-caret-${this.showItems ? 'up' : 'down'}`, customClass: this.getIconClass() })))), this.showItems && (h("div", { key: 'c2e7a4383966ed6f57b4c614aecfd9569a7d3342', class: {
111
118
  'absolute z-50 left-0': true,
112
119
  'top-40': this.itemsPlacement !== SulaChipItemsPlacement.Top,
113
120
  'bottom-40': this.itemsPlacement === SulaChipItemsPlacement.Top,
114
- } }, h("sula-menu-select-list", { key: '9f25649a9434e7d434cf666bae3fbb94d7fcef29', items: this.items, onItemSelected: this.handleItemSelected }))))));
121
+ } }, h("sula-menu-select-list", { key: 'db3a35b16ff28f8fb5e354f5f617088ea33c4615', items: this.items, onItemSelected: this.handleItemSelected }))))));
115
122
  }
116
123
  static get style() { return sulaChipCss; }
117
124
  }, [1, "sula-chip", {
118
125
  "text": [1025],
119
126
  "appearance": [1025],
120
127
  "disabled": [1028],
128
+ "icon": [1],
121
129
  "items": [1040],
122
130
  "itemsPlacement": [1025, "items-placement"],
123
131
  "selected": [1028],
@@ -1 +1 @@
1
- {"file":"sula-chip.js","mappings":";;;;AAAA,IAAY,kBAGX;AAHD,CAAA,UAAY,kBAAkB,EAAA;AAC5B,IAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,kBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,GAG7B,EAAA,CAAA,CAAA;AAED,IAAY,sBAGX;AAHD,CAAA,UAAY,sBAAsB,EAAA;AAChC,IAAA,sBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,sBAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACb,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,GAGjC,EAAA,CAAA,CAAA;;ACRD,MAAM,WAAW,GAAG,m4cAAm4c;;MCU14cA,UAAQ,iBAAAC,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,GAAA;;;;;;AAME;;AAEG;AAEH,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;AAEjB;;AAEG;AAEH,QAAA,IAAA,CAAA,UAAU,GAAuB,kBAAkB,CAAC,OAAO;AAE3D;;AAEG;AAEH,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEzB;;AAEG;AAEH,QAAA,IAAK,CAAA,KAAA,GAAuB,EAAE;AAE9B;;AAEG;AAEH,QAAA,IAAA,CAAA,cAAc,GAA2B,sB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K,EAAE,cAAc,EAAE,IAAI,CAAC,kBAAkB,EAA0B,CAAA,CACvG,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SulaChip","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/sula-chip/model/sula-chip.model.ts","src/components/sula-chip/sula-chip.scss?tag=sula-chip&encapsulation=shadow","src/components/sula-chip/sula-chip.tsx"],"sourcesContent":["export enum SulaChipAppearance {\n Default = 'default',\n Negative = 'negative',\n}\n\nexport enum SulaChipItemsPlacement {\n Bottom = 'bottom',\n Top = 'top',\n}\n",":host {\n display: block;\n}\n\n.chip-focus {\n outline: 2px solid var(--color-feedback-informational) !important;\n outline-offset: 2px !important;\n}\n\n.chip-opened {\n box-shadow: 0px 0px 0px 2px #1414141a;\n}\n","import { Component, Event, EventEmitter, Host, Listen, Prop, State, h } from '@stencil/core';\nimport { SulaMenuListItem } from '../sula-menu-select-list/model/sula-menu-select-list.model';\nimport { SulaChipAppearance, SulaChipItemsPlacement } from './model/sula-chip.model';\nimport { SulaMenuSelectListCustomEvent } from '../../components';\n\n@Component({\n tag: 'sula-chip',\n styleUrl: 'sula-chip.scss',\n shadow: true,\n})\nexport class SulaChip {\n /**\n * Chip text\n */\n @Prop({ mutable: true })\n text: string = '';\n\n /**\n * Chip appearance\n */\n @Prop({ mutable: true })\n appearance: SulaChipAppearance = SulaChipAppearance.Default;\n\n /**\n * Chip is disabled\n */\n @Prop({ mutable: true })\n disabled: boolean = false;\n\n /**\n * Items for list\n */\n @Prop({ mutable: true })\n items: SulaMenuListItem[] = [];\n\n /**\n * Where the items list opens relative to the chip\n */\n @Prop({ mutable: true })\n itemsPlacement: SulaChipItemsPlacement = SulaChipItemsPlacement.Bottom;\n\n /**\n * Chip is selected\n */\n @Prop({ mutable: true })\n selected: boolean = false;\n\n /**\n * Event emitted when chip is clicked\n */\n @Event()\n itemClicked: EventEmitter<void>;\n\n /**\n * Event emitted when item is selected\n */\n @Event()\n menuItemSelected: EventEmitter<SulaMenuListItem>;\n\n @State()\n isFocused = false;\n\n @State()\n showItems = false;\n\n node?: HTMLElement;\n\n @Listen('click', { target: 'document' })\n handleDocumentClick(event: Event) {\n if (!this.node) return;\n\n // event.target is retargeted to the outer host when the chip lives inside another shadow root\n const clickInside = event.composedPath().includes(this.node);\n\n if (!clickInside) {\n this.showItems = false;\n }\n }\n\n handleFocus = () => {\n if (this.disabled) return;\n this.isFocused = true;\n };\n\n handleBlur = () => {\n if (this.disabled) return;\n this.isFocused = false;\n };\n\n handleClick = () => {\n if (this.disabled) return;\n\n this.itemClicked.emit();\n\n if (this.items.length > 0) {\n this.showItems = !this.showItems;\n this.isFocused = false;\n }\n };\n\n handleItemSelected = (item: SulaMenuSelectListCustomEvent<SulaMenuListItem>) => {\n this.menuItemSelected.emit(item.detail);\n this.showItems = false;\n };\n\n getIconClass() {\n if (this.disabled) return 'text-text-disabled';\n\n if (this.appearance === SulaChipAppearance.Default) {\n return 'text-text-primary';\n } else {\n return 'text-negative-negative-2';\n }\n }\n\n render() {\n return (\n <Host ref={node => (this.node = node)}>\n <div class=\"w-fit relative\">\n <div\n class={{\n 'flex justify-center items-center px-16 py-2 rounded-xxl min-h-40 w-fit outline-none': true,\n 'bg-surface-on-body hover:bg-states-empty-bg-hover active:bg-states-empty-bg-pressed':\n this.appearance === SulaChipAppearance.Default && !this.disabled && !this.selected,\n 'bg-brand-primary': this.selected && !this.disabled,\n 'bg-negative-negative-1 hover:bg-states-negative-hover active:bg-states-negative-pressed':\n this.appearance === SulaChipAppearance.Negative && !this.disabled && !this.selected,\n 'bg-states-bg-disabled cursor-not-allowed': this.disabled,\n 'cursor-pointer': !this.disabled,\n 'border border-line-input chip-opened': !this.disabled && this.showItems,\n 'chip-focus': this.isFocused,\n }}\n tabIndex={0}\n onClick={this.handleClick}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n >\n <span\n class={{\n 'text-base font-bold leading-4': true,\n 'text-text-primary': this.appearance === SulaChipAppearance.Default && !this.disabled && !this.selected,\n 'text-negative-negative-2': this.appearance === SulaChipAppearance.Negative && !this.disabled && !this.selected,\n 'text-negative-negative-1': this.selected && !this.disabled,\n 'text-text-disabled': this.disabled,\n }}\n >\n {this.text}\n </span>\n\n {this.items.length > 0 && (\n <div class=\"flex items-center justify-center ml-8 leading-4\">\n <sula-icon icon={`ph-bold ph-caret-${this.showItems ? 'up' : 'down'}`} customClass={this.getIconClass()}></sula-icon>\n </div>\n )}\n </div>\n {this.showItems && (\n <div\n class={{\n 'absolute z-50 left-0': true,\n 'top-40': this.itemsPlacement !== SulaChipItemsPlacement.Top,\n 'bottom-40': this.itemsPlacement === SulaChipItemsPlacement.Top,\n }}\n >\n <sula-menu-select-list items={this.items} onItemSelected={this.handleItemSelected}></sula-menu-select-list>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"sula-chip.js","mappings":";;;;AAAA,IAAY,kBAGX;AAHD,CAAA,UAAY,kBAAkB,EAAA;AAC5B,IAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,kBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,GAG7B,EAAA,CAAA,CAAA;AAED,IAAY,sBAGX;AAHD,CAAA,UAAY,sBAAsB,EAAA;AAChC,IAAA,sBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,sBAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACb,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,GAGjC,EAAA,CAAA,CAAA;;ACRD,MAAM,WAAW,GAAG,28cAA28c;;MCUl9cA,UAAQ,iBAAAC,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,GAAA;;;;;;AAME;;AAEG;AAEH,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;AAEjB;;AAEG;AAEH,QAAA,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AC,IAAI,CAAC,QAAQ;gBAC3D,oBAAoB,EAAE,IAAI,CAAC,QAAQ;AACpC,aAAA,EAEA,EAAA,IAAI,CAAC,IAAI,CACL,EAEN,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,KACpB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,iDAAiD,EAAA,EAC1D,CAAW,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,CAAoB,iBAAA,EAAA,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE,EAAA,CAAc,CACjH,CACP,CACG,EACL,IAAI,CAAC,SAAS,KACb,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,sBAAsB,EAAE,IAAI;AAC5B,gBAAA,QAAQ,EAAE,IAAI,CAAC,cAAc,KAAK,sBAAsB,CAAC,GAAG;AAC5D,gBAAA,WAAW,EAAE,IAAI,CAAC,cAAc,KAAK,sBAAsB,CAAC,GAAG;AAChE,aAAA,EAAA,EAED,CAAA,CAAA,uBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAuB,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,CAAC,kBAAkB,EAA0B,CAAA,CACvG,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SulaChip","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/sula-chip/model/sula-chip.model.ts","src/components/sula-chip/sula-chip.scss?tag=sula-chip&encapsulation=shadow","src/components/sula-chip/sula-chip.tsx"],"sourcesContent":["export enum SulaChipAppearance {\n Default = 'default',\n Negative = 'negative',\n}\n\nexport enum SulaChipItemsPlacement {\n Bottom = 'bottom',\n Top = 'top',\n}\n",":host {\n display: block;\n}\n\n.chip-focus {\n outline: 2px solid var(--color-feedback-informational) !important;\n outline-offset: 2px !important;\n}\n\n.chip-opened {\n box-shadow: 0px 0px 0px 2px #1414141a;\n}\n","import { Component, Event, EventEmitter, Host, Listen, Prop, State, h } from '@stencil/core';\nimport { SulaMenuListItem } from '../sula-menu-select-list/model/sula-menu-select-list.model';\nimport { SulaChipAppearance, SulaChipItemsPlacement } from './model/sula-chip.model';\nimport { SulaMenuSelectListCustomEvent } from '../../components';\n\n@Component({\n tag: 'sula-chip',\n styleUrl: 'sula-chip.scss',\n shadow: true,\n})\nexport class SulaChip {\n /**\n * Chip text\n */\n @Prop({ mutable: true })\n text: string = '';\n\n /**\n * Chip appearance\n */\n @Prop({ mutable: true })\n appearance: SulaChipAppearance = SulaChipAppearance.Default;\n\n /**\n * Chip is disabled\n */\n @Prop({ mutable: true })\n disabled: boolean = false;\n\n /**\n * Icon class displayed before the text, e.g. `ph ph-download-simple`\n */\n @Prop()\n icon?: string;\n\n /**\n * Items for list\n */\n @Prop({ mutable: true })\n items: SulaMenuListItem[] = [];\n\n /**\n * Where the items list opens relative to the chip\n */\n @Prop({ mutable: true })\n itemsPlacement: SulaChipItemsPlacement = SulaChipItemsPlacement.Bottom;\n\n /**\n * Chip is selected\n */\n @Prop({ mutable: true })\n selected: boolean = false;\n\n /**\n * Event emitted when chip is clicked\n */\n @Event()\n itemClicked: EventEmitter<void>;\n\n /**\n * Event emitted when item is selected\n */\n @Event()\n menuItemSelected: EventEmitter<SulaMenuListItem>;\n\n @State()\n isFocused = false;\n\n @State()\n showItems = false;\n\n node?: HTMLElement;\n\n @Listen('click', { target: 'document' })\n handleDocumentClick(event: Event) {\n if (!this.node) return;\n\n // event.target is retargeted to the outer host when the chip lives inside another shadow root\n const clickInside = event.composedPath().includes(this.node);\n\n if (!clickInside) {\n this.showItems = false;\n }\n }\n\n handleFocus = () => {\n if (this.disabled) return;\n this.isFocused = true;\n };\n\n handleBlur = () => {\n if (this.disabled) return;\n this.isFocused = false;\n };\n\n handleClick = () => {\n if (this.disabled) return;\n\n this.itemClicked.emit();\n\n if (this.items.length > 0) {\n this.showItems = !this.showItems;\n this.isFocused = false;\n }\n };\n\n handleItemSelected = (item: SulaMenuSelectListCustomEvent<SulaMenuListItem>) => {\n this.menuItemSelected.emit(item.detail);\n this.showItems = false;\n };\n\n getIconClass() {\n if (this.disabled) return 'text-text-disabled';\n\n if (this.appearance === SulaChipAppearance.Default) {\n return 'text-text-primary';\n } else {\n return 'text-negative-negative-2';\n }\n }\n\n getLeadingIconClass() {\n if (this.disabled) return 'text-text-disabled';\n if (this.selected) return 'text-negative-negative-1';\n\n return this.appearance === SulaChipAppearance.Default ? 'text-text-primary' : 'text-negative-negative-2';\n }\n\n render() {\n return (\n <Host ref={node => (this.node = node)}>\n <div class=\"w-fit relative\">\n <div\n class={{\n 'flex justify-center items-center px-16 py-2 rounded-xxl min-h-40 w-fit outline-none': true,\n 'bg-surface-on-body hover:bg-states-empty-bg-hover active:bg-states-empty-bg-pressed':\n this.appearance === SulaChipAppearance.Default && !this.disabled && !this.selected,\n 'bg-brand-primary': this.selected && !this.disabled,\n 'bg-negative-negative-1 hover:bg-states-negative-hover active:bg-states-negative-pressed':\n this.appearance === SulaChipAppearance.Negative && !this.disabled && !this.selected,\n 'bg-states-bg-disabled cursor-not-allowed': this.disabled,\n 'cursor-pointer': !this.disabled,\n 'border border-line-input chip-opened': !this.disabled && this.showItems,\n 'chip-focus': this.isFocused,\n }}\n tabIndex={0}\n onClick={this.handleClick}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n >\n {this.icon && (\n <div class={{ 'flex items-center justify-center leading-4': true, 'mr-8': !!this.text }} data-chip-icon>\n <sula-icon icon={this.icon} customClass={`text-xl ${this.getLeadingIconClass()}`}></sula-icon>\n </div>\n )}\n <span\n class={{\n 'text-base font-bold leading-4': true,\n 'text-text-primary': this.appearance === SulaChipAppearance.Default && !this.disabled && !this.selected,\n 'text-negative-negative-2': this.appearance === SulaChipAppearance.Negative && !this.disabled && !this.selected,\n 'text-negative-negative-1': this.selected && !this.disabled,\n 'text-text-disabled': this.disabled,\n }}\n >\n {this.text}\n </span>\n\n {this.items.length > 0 && (\n <div class=\"flex items-center justify-center ml-8 leading-4\">\n <sula-icon icon={`ph-bold ph-caret-${this.showItems ? 'up' : 'down'}`} customClass={this.getIconClass()}></sula-icon>\n </div>\n )}\n </div>\n {this.showItems && (\n <div\n class={{\n 'absolute z-50 left-0': true,\n 'top-40': this.itemsPlacement !== SulaChipItemsPlacement.Top,\n 'bottom-40': this.itemsPlacement === SulaChipItemsPlacement.Top,\n }}\n >\n <sula-menu-select-list items={this.items} onItemSelected={this.handleItemSelected}></sula-menu-select-list>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { S as SulaDropdown$1, d as defineCustomElement$1 } from './p-t7f_qmad.js';
1
+ import { S as SulaDropdown$1, d as defineCustomElement$1 } from './p-CajcgsMw.js';
2
2
 
3
3
  const SulaDropdown = SulaDropdown$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DYfmicjp.js';
2
- import { d as defineCustomElement$5 } from './p-t7f_qmad.js';
3
- import { d as defineCustomElement$4 } from './p-jplrktAF.js';
4
- import { d as defineCustomElement$3 } from './p-fAOl4EhI.js';
5
- import { d as defineCustomElement$2 } from './p-DwyYG9oc.js';
2
+ import { d as defineCustomElement$5 } from './p-CajcgsMw.js';
3
+ import { d as defineCustomElement$4 } from './p-Yd-vDXTs.js';
4
+ import { d as defineCustomElement$3 } from './p-Deabropl.js';
5
+ import { d as defineCustomElement$2 } from './p-Bp4cLSzc.js';
6
6
 
7
7
  const icons = [
8
8
  {
@@ -48501,13 +48501,13 @@ const SulaIconPicker$1 = /*@__PURE__*/ proxyCustomElement(class SulaIconPicker e
48501
48501
  ? { id: this.selectedIcon.className, title: this.selectedIcon.name, icon: this.selectedIcon.className }
48502
48502
  : undefined;
48503
48503
  const dropdownLabel = this.required && this.label ? `${this.label} *` : this.label;
48504
- return (h(Host, { key: '3de10edbe16126a952cbdfa5707a8e966e1f3f31' }, h("div", { key: '8dc7e3d269d4dfcc82b27dc325f75d990b25d238', class: "relative" }, h("sula-dropdown", { key: 'b829a331eff02053831e8bac90433655bd273aac', ref: el => (this.dropdownEl = el), label: dropdownLabel, disabled: this.disabled, hasError: !!this.error, customContent: true, contentMaxHeight: this.menuMaxHeight, value: dropdownValue, onDropdownClicked: this.handleDropdownClicked, onDropdownFocused: this.handleDropdownFocused, onDropdownFocusedOut: this.handleDropdownFocusedOut }, this.showSearch && (h("div", { key: '8838dfd9c5ac8db8ddca3b7fa5f7828e27b8f505', class: "border-b border-line-general bg-surface-body p-16", onClick: this.handleContentClick }, h("sula-search-bar", { key: 'a9495d2134ed4073f1c2d6365247ea58abeccdc1', value: this.searchTerm, placeholder: this.searchPlaceholder, onValueChanged: this.handleSearchChange }))), h("div", { key: 'e7d5260d2eaef474727819c748c5bcf0f931fda6', class: "overflow-y-auto", role: "listbox", onClick: this.handleContentClick }, filteredIcons.length > 0 ? (h("div", { class: "grid gap-12 p-16", style: { gridTemplateColumns: 'repeat(auto-fill, minmax(56px, 56px))' } }, filteredIcons.map(icon => {
48504
+ return (h(Host, { key: '989c93bd5258f7a37a46998bd2445ae597cd6748' }, h("div", { key: '3d93f6e9b8359174b409fbdef46ec2e9733ed878', class: "relative" }, h("sula-dropdown", { key: 'e38c1a2c8cbd2d1457e95bf63043ff72fd3b748f', ref: el => (this.dropdownEl = el), label: dropdownLabel, disabled: this.disabled, hasError: !!this.error, customContent: true, contentMaxHeight: this.menuMaxHeight, value: dropdownValue, onDropdownClicked: this.handleDropdownClicked, onDropdownFocused: this.handleDropdownFocused, onDropdownFocusedOut: this.handleDropdownFocusedOut }, this.showSearch && (h("div", { key: '9dee70b920e39afe94208e4001dc4aa0a0cb7b71', class: "border-b border-line-general bg-surface-body p-16", onClick: this.handleContentClick }, h("sula-search-bar", { key: '3f99a7009ea39de5251464827e1f7dae3db3c32e', value: this.searchTerm, placeholder: this.searchPlaceholder, onValueChanged: this.handleSearchChange }))), h("div", { key: '40d16ac076cc944edac7afae75d93b8f9833a929', class: "overflow-y-auto", role: "listbox", onClick: this.handleContentClick }, filteredIcons.length > 0 ? (h("div", { class: "grid gap-12 p-16", style: { gridTemplateColumns: 'repeat(auto-fill, minmax(56px, 56px))' } }, filteredIcons.map(icon => {
48505
48505
  var _a, _b, _c;
48506
48506
  return (h("button", { key: icon.name, type: "button", onClick: () => this.handleSelectIcon(icon), class: {
48507
48507
  'flex h-56 w-56 items-center justify-center rounded-sm border-2 border-line-general transition-all hover:border-brand-primary hover:bg-surface-on-body-brand': true,
48508
48508
  'border-brand-primary bg-surface-on-body-brand': ((_a = this.selectedIcon) === null || _a === void 0 ? void 0 : _a.name) === icon.name,
48509
48509
  }, "aria-label": `Selecionar ícone ${icon.name}`, "aria-selected": ((_b = this.selectedIcon) === null || _b === void 0 ? void 0 : _b.name) === icon.name ? 'true' : 'false', role: "option" }, h("sula-icon", { icon: icon.className, customClass: `text-2xl ${((_c = this.selectedIcon) === null || _c === void 0 ? void 0 : _c.name) === icon.name ? 'text-brand-primary' : 'text-icon-primary'}` })));
48510
- }))) : (h("div", { class: "p-32 text-center" }, h("span", { class: "text-base-paragraph-medium-regular text-text-tertiary" }, "Nenhum \u00EDcone encontrado"))))), this.error && (h("span", { key: 'bc669f98e7c50864466cb3cd0ca76127de7b8220', class: "text-base-label-small-regular text-feedback-error mt-8 block", role: "alert" }, this.error)))));
48510
+ }))) : (h("div", { class: "p-32 text-center" }, h("span", { class: "text-base-paragraph-medium-regular text-text-tertiary" }, "Nenhum \u00EDcone encontrado"))))), this.error && (h("span", { key: 'a6ea480cf537aff43e22d4616bb950f400d9d4d9', class: "text-base-label-small-regular text-feedback-error mt-8 block", role: "alert" }, this.error)))));
48511
48511
  }
48512
48512
  static get watchers() { return {
48513
48513
  "value": ["handleValueChange"],
@@ -1,4 +1,4 @@
1
- import { S as SulaIcon$1, d as defineCustomElement$1 } from './p-jplrktAF.js';
1
+ import { S as SulaIcon$1, d as defineCustomElement$1 } from './p-Yd-vDXTs.js';
2
2
 
3
3
  const SulaIcon = SulaIcon$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { S as SulaLoader$1, d as defineCustomElement$1 } from './p-MPkJUrNl.js';
1
+ import { S as SulaLoader$1, d as defineCustomElement$1 } from './p-BORy1230.js';
2
2
 
3
3
  const SulaLoader = SulaLoader$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { S as SulaMenuSelectList$1, d as defineCustomElement$1 } from './p-fAOl4EhI.js';
1
+ import { S as SulaMenuSelectList$1, d as defineCustomElement$1 } from './p-Deabropl.js';
2
2
 
3
3
  const SulaMenuSelectList = SulaMenuSelectList$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DYfmicjp.js';
2
2
  import { S as SulaMenuDensity, a as SulaMenuLabelOverflow } from './p-Cs9RR1ZV.js';
3
- import { d as defineCustomElement$2 } from './p-jplrktAF.js';
3
+ import { d as defineCustomElement$2 } from './p-Yd-vDXTs.js';
4
4
 
5
5
  const sulaMenuCss = "*,:after,:before{--tw-ring-color:rgba(59,130,246,.5);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-ring-color:rgba(59,130,246,.5);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(147,197,253,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{font-family:Figtree;line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host,:host button,:host input,:host option,:host select,:host textarea{font-family:Figtree,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:host{--sula-menu-width:256px;--sula-menu-collapsed-width:88px;--sula-menu-main-item-font-size:0.875rem;--sula-menu-main-item-line-height:1.25rem;--sula-menu-main-item-max-lines:2;--sula-menu-main-item-padding-block:0.5rem;display:block;height:100%;overflow:visible;position:relative;transition:width .36s cubic-bezier(.22,1,.36,1);width:var(--sula-menu-width)}:host(.menu-host--density-compact){--sula-menu-main-item-font-size:0.75rem;--sula-menu-main-item-line-height:1rem;--sula-menu-main-item-padding-block:0.375rem}:host(.menu-host--density-comfortable){--sula-menu-main-item-font-size:1rem;--sula-menu-main-item-line-height:1.5rem;--sula-menu-main-item-padding-block:0.625rem}:host(.menu-host--collapsed){width:var(--sula-menu-collapsed-width)}.menu-shell{min-height:100%;overflow:hidden;transform-origin:left top;transition:width .36s cubic-bezier(.22,1,.36,1),transform .36s cubic-bezier(.22,1,.36,1),box-shadow .36s cubic-bezier(.22,1,.36,1),border-radius .28s cubic-bezier(.4,0,.2,1),background-color .22s cubic-bezier(.4,0,.2,1);width:100%;will-change:width,transform,box-shadow,border-radius}.menu-shell--expanded{box-shadow:0 10px 24px rgba(15,23,42,.08),0 2px 8px rgba(15,23,42,.06)}.menu-shell--collapsed{box-shadow:0 8px 18px rgba(15,23,42,.06),0 1px 4px rgba(15,23,42,.04)}.menu-shell--preview{border-radius:0 24px 24px 0;bottom:0;box-shadow:0 28px 60px rgba(15,23,42,.18),0 10px 24px rgba(15,23,42,.12);left:0;position:absolute;top:0;transform:translateX(0);width:var(--sula-menu-width);z-index:2}.menu-header{gap:0;transition:padding .36s cubic-bezier(.22,1,.36,1),gap .24s cubic-bezier(.4,0,.2,1)}.menu-nav,.menu-toggle-wrapper{transition:padding .36s cubic-bezier(.22,1,.36,1)}.menu-brand-image{flex:0 0 auto;transition:margin .32s cubic-bezier(.22,1,.36,1),transform .32s cubic-bezier(.22,1,.36,1)}.menu-copy{display:block;max-width:220px;min-width:0;opacity:1;overflow:hidden;transform:translateX(0);transform-origin:left center;transition:max-width .32s cubic-bezier(.22,1,.36,1),opacity .2s cubic-bezier(.4,0,.2,1),transform .32s cubic-bezier(.22,1,.36,1),margin-left .32s cubic-bezier(.22,1,.36,1);white-space:nowrap;will-change:opacity,transform,max-width,margin-left}.menu-copy--visible{max-width:100%;opacity:1;pointer-events:auto;transform:translateX(0)}.menu-copy--hidden{max-width:0;opacity:0;pointer-events:none;transform:translateX(-10px)}.menu-title{flex:1 1 auto;min-width:0}.menu-title.menu-copy--visible{max-width:100%}.menu-item-label{flex:1 1 auto;font-size:var(--sula-menu-main-item-font-size);line-height:var(--sula-menu-main-item-line-height)}.menu-item-label--truncate{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-item-label--wrap{-webkit-box-orient:vertical;-webkit-line-clamp:var(--sula-menu-main-item-max-lines);line-clamp:var(--sula-menu-main-item-max-lines);display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;word-break:break-word}.menu-item{padding-block:var(--sula-menu-main-item-padding-block);transition:background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),padding .32s cubic-bezier(.22,1,.36,1)}.menu-item-caret{max-width:16px;opacity:1;overflow:hidden;transition:transform .28s cubic-bezier(.22,1,.36,1),opacity .18s cubic-bezier(.4,0,.2,1),max-width .28s cubic-bezier(.22,1,.36,1),margin-left .28s cubic-bezier(.22,1,.36,1)}.menu-item-caret--visible{margin-left:12px;max-width:16px;opacity:1}.menu-item-caret--hidden{margin-left:0;max-width:0;opacity:0;transform:translateX(-8px)}.menu-item-caret--expanded{transform:rotate(180deg)}.submenu{max-height:0;opacity:0;overflow:hidden;pointer-events:none;transform:translateY(-6px);transform-origin:top left;transition:max-height .26s cubic-bezier(.22,1,.36,1),opacity .12s cubic-bezier(.4,0,.2,1),transform .18s cubic-bezier(.22,1,.36,1);will-change:max-height,opacity,transform}.submenu--expanded{max-height:999px;opacity:1;pointer-events:auto;transform:translateY(0)}.submenu-item{transition:background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),transform .24s cubic-bezier(.22,1,.36,1)}.submenu-item--branch{transition:background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),border-color .24s cubic-bezier(.22,1,.36,1),margin-left .24s cubic-bezier(.22,1,.36,1)}.submenu-item-branch-content{min-width:0}.submenu-branch{transform-origin:top left}.submenu-grandchild-item{transition:background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),transform .24s cubic-bezier(.22,1,.36,1)}.submenu-grandchild-label{display:block}.menu-toggle{transition:background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1),padding .32s cubic-bezier(.22,1,.36,1)}.menu-toggle-icon{flex:0 0 auto;transition:transform .32s cubic-bezier(.22,1,.36,1),border-color .22s cubic-bezier(.4,0,.2,1),background-color .22s cubic-bezier(.4,0,.2,1)}.menu-toggle-label{margin-left:0;white-space:nowrap}.menu-toggle-label.menu-copy--visible{margin-left:12px}@media (prefers-reduced-motion:reduce){.menu-brand-image,.menu-copy,.menu-header,.menu-item,.menu-item-caret,.menu-nav,.menu-shell,.menu-toggle,.menu-toggle-icon,.menu-toggle-wrapper,.submenu,.submenu-item,:host{transition:none}}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:300;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Light.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:300;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-LightItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:400;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Regular.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:400;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Italic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:500;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Medium.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:500;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-MediumItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:600;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-SemiBold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:600;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-SemiBoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:700;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Bold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:700;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-BoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:800;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-ExtraBold.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:800;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-ExtraBoldItalic.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:normal;font-weight:900;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-Black.ttf) format(\"truetype\")}@font-face{font-display:swap;font-family:Figtree;font-style:italic;font-weight:900;src:local(\"Figtree\"),url(@sula-tech/tailwind-css-plugin/assets/fonts/Figtree-BlackItalic.ttf) format(\"truetype\")}:root{--color-green-50:#f1f9f4;--color-green-100:#e6f4ed;--color-green-200:#cae7d8;--color-green-300:#a0d4b8;--color-green-400:#68bb8e;--color-green-500:#04843f;--color-green-600:#037236;--color-green-700:#03632f;--color-green-800:#035428;--color-green-900:#024521;--color-green-950:#012b15;--color-red-50:#fef6f6;--color-red-100:#fde8e8;--color-red-200:#fad1d1;--color-red-300:#f7abab;--color-red-400:#f17474;--color-red-500:#c80505;--color-red-600:#b30404;--color-red-700:#9f0404;--color-red-800:#860303;--color-red-900:#6d0303;--color-red-950:#330d00;--color-yellow-50:#fdf4e7;--color-yellow-100:#fcedd9;--color-yellow-200:#fae0bd;--color-yellow-300:#f6c788;--color-yellow-400:#f3b159;--color-yellow-500:#ef9928;--color-yellow-600:#e49226;--color-yellow-700:#d17e10;--color-yellow-800:#b46d0e;--color-yellow-900:#93590b;--color-yellow-950:#402705;--color-orange-50:#fef4f1;--color-orange-100:#fde8e2;--color-orange-200:#fbd2c6;--color-orange-300:#f8b4a0;--color-orange-400:#f58e70;--color-orange-500:#f05223;--color-orange-600:#ea4210;--color-orange-700:#d23b0e;--color-orange-800:#b5330c;--color-orange-900:#942a0a;--color-orange-950:#401204;--color-blue-50:#ecf0f9;--color-blue-100:#dde3f4;--color-blue-200:#b2c2e5;--color-blue-300:#7994d2;--color-blue-400:#4066bf;--color-blue-500:#001e64;--color-blue-600:#001c5c;--color-blue-700:#00174c;--color-blue-800:#00123d;--color-blue-900:#000f33;--color-blue-950:#000d2b;--color-ambar-50:#fff6eb;--color-ambar-100:#ffefdc;--color-ambar-200:#fedfb9;--color-ambar-300:#fdca8b;--color-ambar-400:#fdb359;--color-ambar-500:#fc9c26;--color-ambar-600:#ec8403;--color-ambar-700:#d87803;--color-ambar-800:#ba6803;--color-ambar-900:#975402;--color-ambar-950:#402301;--color-gray-50:#fff;--color-gray-100:#f3f4f4;--color-gray-200:#e5e6e6;--color-gray-300:#bfc0c0;--color-gray-400:#acaeae;--color-gray-500:#949595;--color-gray-600:#737575;--color-gray-700:#6c6e6e;--color-gray-800:#313333;--color-gray-900:#272929;--color-gray-950:#191d1d;--color-white-opacity-50:#ffffff0d;--color-white-opacity-100:#ffffff1a;--color-white-opacity-200:#ffffff26;--color-white-opacity-300:#ffffff45;--color-white-opacity-400:#ffffff5c;--color-white-opacity-500:#ffffff80;--color-white-opacity-600:#ffffff8c;--color-white-opacity-700:#ffffffa3;--color-white-opacity-800:#ffffffba;--color-white-opacity-900:#fffc;--color-white-opacity-950:#ffffffe8;--color-ciano-50:#f1f6fe;--color-ciano-100:#dfeafc;--color-ciano-200:#c3d9f9;--color-ciano-300:#90b9f4;--color-ciano-400:#5d98ee;--color-ciano-500:#1769e0;--color-ciano-600:#155fcb;--color-ciano-700:#1355b4;--color-ciano-800:#104899;--color-ciano-900:#0d3b7d;--color-ciano-950:#071e40;--color-extra-color-blue-light:#e7f0f4;--color-extra-color-blue-dark:#162931;--color-black-opacity-50:rgba(25,29,29,.02);--color-black-opacity-100:rgba(25,29,29,.05);--color-black-opacity-200:rgba(25,29,29,.11);--color-black-opacity-300:rgba(25,29,29,.28);--color-black-opacity-400:rgba(25,29,29,.36);--color-black-opacity-500:rgba(25,29,29,.44);--color-black-opacity-600:rgba(25,29,29,.62);--color-black-opacity-700:rgba(25,29,29,.64);--color-black-opacity-800:rgba(25,29,29,.72);--color-black-opacity-900:rgba(25,29,29,.8);--color-black-opacity-950:rgba(25,29,29,.96);--color-shadow-opacity-50:rgba(0,0,0,.04);--color-shadow-opacity-100:rgba(0,0,0,.06);--color-shadow-opacity-200:rgba(0,0,0,.12);--color-shadow-opacity-300:rgba(0,0,0,.2);--color-shadow-opacity-400:rgba(0,0,0,.32);--color-shadow-opacity-500:rgba(0,0,0,.5);--color-shadow-opacity-600:rgba(0,0,0,.55);--color-shadow-opacity-700:rgba(0,0,0,.64);--color-shadow-opacity-800:rgba(0,0,0,.73);--color-shadow-opacity-900:rgba(0,0,0,.8);--color-shadow-opacity-950:rgba(0,0,0,.91);--color-feedback-success:#04843f;--color-feedback-error:#c80505;--color-feedback-informational:#1355b4;--color-feedback-alert:#ef9928;--color-brand-primary:#f05223;--color-brand-secondary:#001c5c;--color-brand-tertiary-1:#1769e0;--color-brand-tertiary-2:#fc9c26;--color-surface-body:#fff;--color-surface-on-body:#f3f4f4;--color-surface-on-body-blue:#e7f0f4;--color-surface-on-body-brand:#fff6eb;--color-surface-on-body-feedback-success:#e6f4ed;--color-surface-on-body-feedback-error:#fde8e8;--color-surface-on-body-feedback-alert:#fdf4e7;--color-surface-on-body-feedback-info:#dfeafc;--color-text-brand:#f05223;--color-text-primary:#313333;--color-text-secondary:#6c6e6e;--color-text-disabled:#949595;--color-text-link:#1355b4;--color-states-empty-bg-hover:rgba(25,29,29,.05);--color-states-empty-bg-pressed:rgba(25,29,29,.11);--color-states-bg-disabled:rgba(25,29,29,.02);--color-states-bg-focus:#1355b4;--color-states-primary-hover:#ea4210;--color-states-primary-pressed:#d23b0e;--color-states-danger-hover:#b30404;--color-states-danger-pressed:#9f0404;--color-states-negative-hover:#e5e6e6;--color-states-negative-pressed:#bfc0c0;--color-icon-primary:#6c6e6e;--color-icon-secondary:#fff;--color-icon-tertiary:#b30404;--color-icon-disabled:#acaeae;--color-neutral-neutral-1:#fff;--color-neutral-neutral-2:#f3f4f4;--color-neutral-neutral-3:#acaeae;--color-neutral-neutral-4:#949595;--color-neutral-neutral-5:#737575;--color-neutral-neutral-6:#6c6e6e;--color-neutral-neutral-7:#313333;--color-neutral-neutral-8:#272929;--color-negative-negative-1:#fff;--color-negative-negative-2:#313333;--color-opacity-body:#fffc;--color-opacity-on-body:rgba(25,29,29,.02);--color-opacity-overlay:rgba(25,29,29,.62);--color-opacity-on-overlay:#ffffff1a;--color-opacity-toast:#ffffff45;--color-line-input:#949595;--color-line-general-strong:#bfc0c0;--color-line-general:#e5e6e6;--color-line-hair:rgba(25,29,29,.05);--color-box-shadow-body:#fff;--color-box-shadow-shadow-color-1:rgba(0,0,0,.04);--color-box-shadow-shadow-color-2:rgba(0,0,0,.06)}.static{position:static}.z-50{z-index:50}.mb-0{margin-bottom:0}.mb-3{margin-bottom:.75rem}.ml-8{margin-left:.5rem}.ml-\\[-2px\\]{margin-left:-2px}.ml-\\[1\\.6rem\\]{margin-left:1.6rem}.mr-6{margin-right:1.5rem}.h-10{height:2.5rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-10{max-height:2.5rem}.w-10{width:2.5rem}.w-9{width:2.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-10{max-width:2.5rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.list-none{list-style-type:none}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-xs{border-radius:.5rem}.border{border-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-line-general{border-color:var(--color-line-general)}.border-negative-negative-1{border-color:var(--color-negative-negative-1)}.bg-box-shadow-body{background-color:var(--color-box-shadow-body)}.bg-brand-primary{background-color:var(--color-brand-primary)}.bg-surface-body{background-color:var(--color-surface-body)}.p-8{padding:.5rem}.px-0{padding-left:0;padding-right:0}.px-12{padding-left:.75rem;padding-right:.75rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-16{padding-bottom:1rem;padding-top:1rem}.pb-12{padding-bottom:.75rem}.pb-16{padding-bottom:1rem}.pl-16{padding-left:1rem}.pl-20{padding-left:1.25rem}.pl-24{padding-left:1.5rem}.pl-8{padding-left:.5rem}.pt-12{padding-top:.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-icon-disabled{color:var(--color-icon-disabled)}.text-icon-primary{color:var(--color-icon-primary)}.text-negative-negative-1{color:var(--color-negative-negative-1)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:bg-box-shadow-body:hover{background-color:var(--color-box-shadow-body)}";
6
6
 
@@ -294,24 +294,24 @@ const SulaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SulaMenu extends H {
294
294
  }
295
295
  render() {
296
296
  const expandedView = !this.collapsed || this.previewExpanded;
297
- return (h(Host, { key: '6d48f964d04a2c9c0e9998f62c7ef5c348207e67', class: {
297
+ return (h(Host, { key: 'ab5bf39bfa5f64795f5349ba3c817edc512865f3', class: {
298
298
  'menu-host--collapsed': this.collapsed,
299
299
  'menu-host--density-compact': this.density === SulaMenuDensity.Compact,
300
300
  'menu-host--density-comfortable': this.density === SulaMenuDensity.Comfortable,
301
- }, style: this.hostStyleVariables }, h("aside", { key: '90c77209e85f25b139ac6be22e338cf28f9a3bed', part: "shell", onMouseEnter: () => this.handleMenuMouseEnter(), onMouseLeave: () => this.handleMenuMouseLeave(), class: {
301
+ }, style: this.hostStyleVariables }, h("aside", { key: 'a98d30f7f5561a16c3380179551bda2c1823f0d3', part: "shell", onMouseEnter: () => this.handleMenuMouseEnter(), onMouseLeave: () => this.handleMenuMouseLeave(), class: {
302
302
  'menu-shell flex h-full flex-col bg-surface-body py-16 pt-12 shadow-md z-50': true,
303
303
  'menu-shell--collapsed': this.collapsed && !this.previewExpanded,
304
304
  'menu-shell--expanded': expandedView,
305
305
  'menu-shell--preview': this.collapsed && this.previewExpanded,
306
- } }, h("div", { key: '959228e37934515b3f173f1042a235c5f534d853', class: {
306
+ } }, h("div", { key: '486af58bd6acb8ab95ebe39e5e1ed1eadf0e35d0', class: {
307
307
  'menu-header flex items-center pb-12': true,
308
308
  'mb-3 px-7': expandedView,
309
309
  'mb-0 justify-center px-0': !expandedView,
310
- } }, this.image && (h("div", { key: 'f0758f0f89eb0a24ea5927928286a490a35f87d3', class: { 'menu-brand-image max-h-10 max-w-10 overflow-hidden': true, 'mr-6': expandedView } }, h("img", { key: 'ec2885febb232e53840822358cb21ad8162eb0ed', src: this.image, alt: this.menuTitle }))), h("div", { key: 'a4e68832baf52b274a4096f5036830c54ab98101', "aria-hidden": !expandedView, title: expandedView ? this.menuTitle : undefined, class: {
310
+ } }, this.image && (h("div", { key: '831421c61f58a5e6a353c575747ad57f58ba9a57', class: { 'menu-brand-image max-h-10 max-w-10 overflow-hidden': true, 'mr-6': expandedView } }, h("img", { key: 'b6cacfc8e8eb353742186f3b8e0de1ba9c97438f', src: this.image, alt: this.menuTitle }))), h("div", { key: '1c6f38dcce634b019b5925f89ddde414ef07677e', "aria-hidden": !expandedView, title: expandedView ? this.menuTitle : undefined, class: {
311
311
  'menu-title menu-copy': true,
312
312
  'menu-copy--visible': expandedView,
313
313
  'menu-copy--hidden': !expandedView,
314
- } }, h("h1", { key: 'caed127d8fa69c1bbafff61a4ed978f7a857f1cd', part: "title", class: "truncate text-xl font-semibold leading-tight text-text-primary" }, this.menuTitle))), h("nav", { key: '834a4e8769bfc7df09c4816249508c96937345b7', class: {
314
+ } }, h("h1", { key: '6f731824e357a6a859afda29534458e838bf886f', part: "title", class: "truncate text-xl font-semibold leading-tight text-text-primary" }, this.menuTitle))), h("nav", { key: '9cbc9745b73980ee70389d1c1ccaaffb46aa05ce', class: {
315
315
  'menu-nav flex h-full flex-col overflow-y-auto overflow-x-hidden pb-16': true,
316
316
  'px-20': expandedView,
317
317
  'px-12': !expandedView,
@@ -344,15 +344,15 @@ const SulaMenu$1 = /*@__PURE__*/ proxyCustomElement(class SulaMenu extends H {
344
344
  'menu-item-caret--visible': expandedView,
345
345
  'menu-item-caret--hidden': !expandedView,
346
346
  }, icon: "ph ph-caret-down", customClass: this.getCaretIconClass(item) }))), itemHasChildren && (h("ul", { "aria-hidden": !expandedView || !item.expanded, class: { 'submenu': true, 'submenu--expanded': expandedView && !!item.expanded, 'ml-[1.6rem] border-l border-line-general': true } }, this.renderSubmenuItems(item, expandedView)))));
347
- })), h("div", { key: '9a7cf418d60ef101b4ebdce2635335f00ef1993b', class: {
347
+ })), h("div", { key: 'dee7a7aeacf3d0c2124667e3e5b61f2ed738e334', class: {
348
348
  'menu-toggle-wrapper pb-16': true,
349
349
  'px-20': expandedView,
350
350
  'px-12': !expandedView,
351
- } }, h("button", { key: '2636dde0449fbef4a04a71f3591936eabef08edd', type: "button", class: {
351
+ } }, h("button", { key: '41bfc310673f1c94ad3876b9b4e725481c731e11', type: "button", class: {
352
352
  'menu-toggle flex w-full cursor-pointer items-center rounded-xs p-8 hover:bg-box-shadow-body': true,
353
353
  'justify-start': expandedView,
354
354
  'justify-center': !expandedView,
355
- }, title: this.collapsed ? 'Fixar menu' : 'Ocultar menu', onClick: () => this.toggleMenu() }, h("div", { key: 'c4e995599e93494a931299f2717f84cc2f5088fe', class: "menu-toggle-icon flex h-10 w-10 items-center justify-center rounded-full border border-line-general bg-surface-body" }, h("sula-icon", { key: '346f1935e547edb77c1eac3587eaffa806c486d5', icon: `ph ph-arrow-${this.collapsed ? 'right' : 'left'}`, customClass: "text-text-secondary text-xl" })), h("span", { key: '841e9d6bff1a2714a242684a475ea784da231041', part: "toggle-label", "aria-hidden": !expandedView, class: {
355
+ }, title: this.collapsed ? 'Fixar menu' : 'Ocultar menu', onClick: () => this.toggleMenu() }, h("div", { key: 'bfb11af6dc66c1e829e146500ebaeb8ae3e6992f', class: "menu-toggle-icon flex h-10 w-10 items-center justify-center rounded-full border border-line-general bg-surface-body" }, h("sula-icon", { key: 'c9ec9a5e4fb500c6422cc9834447741bc54eec8f', icon: `ph ph-arrow-${this.collapsed ? 'right' : 'left'}`, customClass: "text-text-secondary text-xl" })), h("span", { key: '40bcd9a12e5b347d51efbd90891aef1532565d20', part: "toggle-label", "aria-hidden": !expandedView, class: {
356
356
  'menu-toggle-label menu-copy text-base text-text-secondary': true,
357
357
  'menu-copy--visible': expandedView,
358
358
  'menu-copy--hidden': !expandedView,
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DYfmicjp.js';
2
- import { d as defineCustomElement$4, a as SulaButtonAppearance } from './p-CXm0qTFO.js';
3
- import { d as defineCustomElement$3 } from './p-jplrktAF.js';
4
- import { d as defineCustomElement$2 } from './p-MPkJUrNl.js';
2
+ import { d as defineCustomElement$4, a as SulaButtonAppearance } from './p-DayezGbB.js';
3
+ import { d as defineCustomElement$3 } from './p-Yd-vDXTs.js';
4
+ import { d as defineCustomElement$2 } from './p-BORy1230.js';
5
5
 
6
6
  var SulaModalType;
7
7
  (function (SulaModalType) {
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-DYfmicjp.js';
2
- import { d as defineCustomElement$2 } from './p-jplrktAF.js';
2
+ import { d as defineCustomElement$2 } from './p-Yd-vDXTs.js';
3
3
 
4
4
  var SulaProgressBarAppearance;
5
5
  (function (SulaProgressBarAppearance) {
@@ -74,10 +74,10 @@ const SulaProgressBar$1 = /*@__PURE__*/ proxyCustomElement(class SulaProgressBar
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: 'e77e63e9b808f3f999229f6ffc55cb008a908279' }, h("div", { key: '2f927cab84eecdaed93520cb347eb76f974c663d', class: "flex flex-col w-full space-y-8" }, h("div", { key: '0ccc7c9a2802e0a4f2961ca230926c0cd9fa9cb3', class: "flex justify-between items-center" }, h("label", { key: '07d716a66e0806381caaecbd205e808f4acb4c0a', class: "text-sm text-text-secondary leading-[14px]" }, this.topLabel), this.getProgressBarStateElement()), h("div", { key: '5dd23b5df3ce50b6026c73a33e96a014961394cc', style: { width: `${this.progress}%` }, class: {
77
+ return (h(Host, { key: 'eb211d42b3830f1f4fba488276f498147ebde2ef' }, h("div", { key: '9cbcf01a1a3d6dec6365c10e11c1ed0d82e7b83a', class: "flex flex-col w-full space-y-8" }, h("div", { key: 'bc168009b1fe15324b27c2ebfdd40c886fcb757c', class: "flex justify-between items-center" }, h("label", { key: '480701af83fc225ca4fbf2af0fbf55dc84766bfb', class: "text-sm text-text-secondary leading-[14px]" }, this.topLabel), this.getProgressBarStateElement()), h("div", { key: '99acf6c3f7c7be8798cff8670c1846f520a95f5a', style: { width: `${this.progress}%` }, class: {
78
78
  'h-12 rounded-xxl': true,
79
79
  [this.getProgressBarStyle()]: true,
80
- } }), h("label", { key: 'cd5b65076131231181d14fbda2a30a0b56f7142a', class: "text-sm text-text-secondary leading-[14px]" }, this.bottomLabel))));
80
+ } }), h("label", { key: 'c315cec2ac9ed97c3fcda2840bc4c0dd55040363', class: "text-sm text-text-secondary leading-[14px]" }, this.bottomLabel))));
81
81
  }
82
82
  static get watchers() { return {
83
83
  "progress": ["validateProgress"]
@@ -43,14 +43,14 @@ const SulaRadioButton$1 = /*@__PURE__*/ proxyCustomElement(class SulaRadioButton
43
43
  };
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '40e64c3a4a3508d41f1f497c48a0a3ab4841766e' }, h("div", { key: '414a57f24536ced233ab998059839ff33eedbd07', class: { 'w-fit': true, 'flex items-center': !!this.label }, onClick: this.handleClick }, h("div", { key: '4488d7dc8f0b8606c35d5773fb8c4ebf9f5bb04b', class: {
46
+ return (h(Host, { key: 'a6168bc15792d6ccf7ed5decc3877e7d7c6d7164' }, h("div", { key: 'cc03e305d197de90751c5adf4831ed101be24e0f', class: { 'w-fit': true, 'flex items-center': !!this.label }, onClick: this.handleClick }, h("div", { key: '564672729ed117286600329b7207030c3bf3bf13', class: {
47
47
  'min-w-[30px] min-h-[30px] rounded-full flex justify-center items-center outline-none': true,
48
48
  'active:bg-states-empty-bg-pressed cursor-pointer': !this.disabled,
49
49
  'bg-brand-primary': this.checked,
50
50
  'border border-line-input': !this.checked,
51
51
  'container-focus': this.radioIsFocus,
52
52
  'bg-states-bg-disabled border-2 border-states-bg-disabled cursor-not-allowed': this.disabled,
53
- }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleFocusOut }, this.checked && h("div", { key: 'ab44febc81bb7dd5f694b142d1f4e5fc0b9e203a', class: "bg-transparent border-2 border-negative-negative-1 w-[18px] h-[18px] rounded-full" })), this.label && h("label", { key: '7207f49ec6a11573cc8f93ff992f120c70027bf1', class: { 'ml-16 text-base text-text-primary': true, 'cursor-pointer': !this.disabled } }, this.label))));
53
+ }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleFocusOut }, this.checked && h("div", { key: 'b7570c38091157b29c01ce44d5822e42c5ec625d', class: "bg-transparent border-2 border-negative-negative-1 w-[18px] h-[18px] rounded-full" })), this.label && h("label", { key: '7bd298e73e95f48ece6483699bd9fb10d19b23c9', class: { 'ml-16 text-base text-text-primary': true, 'cursor-pointer': !this.disabled } }, this.label))));
54
54
  }
55
55
  static get style() { return sulaRadioButtonCss; }
56
56
  }, [1, "sula-radio-button", {
@@ -1,4 +1,4 @@
1
- import { S as SulaSearchBar$1, d as defineCustomElement$1 } from './p-DwyYG9oc.js';
1
+ import { S as SulaSearchBar$1, d as defineCustomElement$1 } from './p-Bp4cLSzc.js';
2
2
 
3
3
  const SulaSearchBar = SulaSearchBar$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DYfmicjp.js';
2
- import { d as defineCustomElement$2 } from './p-jplrktAF.js';
2
+ import { d as defineCustomElement$2 } from './p-Yd-vDXTs.js';
3
3
 
4
4
  var SulaSegmentedControlType;
5
5
  (function (SulaSegmentedControlType) {
@@ -61,7 +61,7 @@ const SulaSegmentedControl$1 = /*@__PURE__*/ proxyCustomElement(class SulaSegmen
61
61
  return item.selected ? 'text-brand-primary' : 'text-text-primary';
62
62
  }
63
63
  render() {
64
- return (h(Host, { key: '82592f1ea3662afdd5a97b7c062b16e3b0a036e8' }, h("div", { key: 'b87d44e1d1e6c3b73ed4f5f94ee8da819992f3f0', class: {
64
+ return (h(Host, { key: 'ff1168c58c8acdc78a64ff2a920cc8abbaa5de47' }, h("div", { key: 'd4da4bc841de4632c389c7cea8f7881977fcf1b8', class: {
65
65
  'flex flex-row items-center rounded-xxl p-2 w-fit backdrop-blur-[20px]': true,
66
66
  'bg-opacity-on-body': this.color === SulaSegmentedControlColor.Gray,
67
67
  'bg-opacity-body': this.color === SulaSegmentedControlColor.White,
@@ -54,7 +54,7 @@ const SulaSwitch$1 = /*@__PURE__*/ proxyCustomElement(class SulaSwitch extends H
54
54
  };
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: 'f5eb57e95596f5008cefa681c0670c78460d54d0' }, h("div", { key: '96eb18054f9221a9c2f337f24750babfea0fb21a', class: {
57
+ return (h(Host, { key: 'bbc1608ea695438aeeda45b2ad187981499aad28' }, h("div", { key: '272a32b7a2ac9d20c5c9dc53bbda95e622c903c2', class: {
58
58
  'outline-none': true,
59
59
  'flex items-center space-x-12': !!this.label && this.type === SulaSwitchType.Default,
60
60
  'flex items-center justify-between bg-surface-on-body rounded-md min-h-[85px] px-24 py-16': this.type === SulaSwitchType.List,
@@ -62,17 +62,17 @@ const SulaSwitch$1 = /*@__PURE__*/ proxyCustomElement(class SulaSwitch extends H
62
62
  'w-[280px]': this.type === SulaSwitchType.List && !this.responsive,
63
63
  'hover:bg-states-empty-bg-hover active:bg-states-empty-bg-pressed cursor-pointer': this.type === SulaSwitchType.List && !this.disabled,
64
64
  'container-focus': this.isFocus && this.type === SulaSwitchType.List,
65
- }, onFocus: this.handleFocus, onBlur: this.handleBlur, onClick: this.handleClick, tabIndex: 0 }, this.type === SulaSwitchType.List && (h("div", { key: 'a409a495bbfe2eb36f123b37f9383e143004f845', class: "flex flex-col flex-1 mr-16 overflow-hidden" }, !!this.label && h("label", { key: '2aa2f4422269cfa9b2c916b5142b46f9e15ccb92', class: "text-text-primary font-bold text-base cursor-pointer break-words" }, this.label), !!this.subTitle && h("span", { key: '2056ae6cc8b23c5e29b5bdfc52991aafa6786c60', class: "text-text-secondary text-base break-words" }, this.subTitle))), h("div", { key: '17f322d8060f4b7f1ef495a7ef2fb3aee1815575', class: {
65
+ }, onFocus: this.handleFocus, onBlur: this.handleBlur, onClick: this.handleClick, tabIndex: 0 }, this.type === SulaSwitchType.List && (h("div", { key: '0df87d2684835be3227a214781294ca0469a695e', class: "flex flex-col flex-1 mr-16 overflow-hidden" }, !!this.label && h("label", { key: '6ff194d26b539b1d93c6663c35e6b78097acd4f2', class: "text-text-primary font-bold text-base cursor-pointer break-words" }, this.label), !!this.subTitle && h("span", { key: '7619e778563ca301f7d4f5363c94fe3b8878cffa', class: "text-text-secondary text-base break-words" }, this.subTitle))), h("div", { key: 'aeacb7c586eccf26e8b0759a5751884b948f29cb', class: {
66
66
  'switch-container w-56 h-32 flex items-center rounded-xxl p-2 outline-none': true,
67
67
  'switch-on bg-brand-primary justify-end': this.active,
68
68
  'switch-off bg-neutral-neutral-3 justify-start': !this.active,
69
69
  'cursor-not-allowed bg-states-bg-disabled': this.disabled,
70
70
  'switch-focus': this.isFocus && this.type === SulaSwitchType.Default,
71
- }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '15bb4aebba7be39a1d77484fc07caeb4a6c44849', class: {
71
+ }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'bf8765e10f41bc48ec6db0e50e974bd25e8c802d', class: {
72
72
  'switch-thumb w-[28px] h-[28px] rounded-full flex justify-center items-center': true,
73
73
  'bg-negative-negative-1': !this.disabled,
74
74
  'bg-states-bg-disabled shadow-md': this.disabled,
75
- } }, h("div", { key: 'be4a843053b102c4915c9349efac21787dd9f887', class: {
75
+ } }, h("div", { key: 'dc1f1da29ffe89131a85e6e1a8a7131d2b8fdb81', class: {
76
76
  'switch-indicator rounded-full': true,
77
77
  'switch-indicator-on w-12 h-12 bg-brand-primary': this.active,
78
78
  'switch-indicator-off w-[10px] h-4 bg-neutral-neutral-4': !this.active,
@@ -12,7 +12,7 @@ const SulaTableBody$1 = /*@__PURE__*/ proxyCustomElement(class SulaTableBody ext
12
12
  replaceHostWithRenderedElement(this.host, 'tbody');
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '7b7f1ddb213e6c83591b62224723906d7ad55728' }, h("tbody", { key: '8dc058b101510ff0e8dde82731f327fe2b594602' }, h("slot", { key: '6600dba6f3db278a82ac1bc6721ea5c13db4e03a' }))));
15
+ return (h(Host, { key: '7d42d4b5311e131f3c082ad98664381369a2f837' }, h("tbody", { key: 'bc8d3f1fef83344cf5d4b8b17ba930628d54e0c8' }, h("slot", { key: 'acad5556353d14fa0e85b78f06becf59a457d766' }))));
16
16
  }
17
17
  get host() { return this; }
18
18
  static get style() { return sulaTableBodyCss; }
@@ -17,13 +17,13 @@ const SulaTableCell$1 = /*@__PURE__*/ proxyCustomElement(class SulaTableCell ext
17
17
  replaceHostWithRenderedElement(this.host, 'td');
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'cb709a695cde8dc2ceaa417a9541efeee010ec48' }, h("td", { key: '7074a8017ca3d083bb214f3361c42be814858bb1', class: "align-middle text-left border-b border-dashed border-line-general" }, h("div", { key: '7f44cd7fcf8cdb8665df0eaf57413992974a50a3', class: {
20
+ return (h(Host, { key: 'd780b6e9ca3601d771e6251a11957f796dd41dac' }, h("td", { key: '36e1ecd38ab3e7c07037088a2070e878ab68d4b3', class: "align-middle text-left border-b border-dashed border-line-general" }, h("div", { key: '3f8d6e2aaf95c3e8e8b3f393cf49c6a6e2b8dee9', class: {
21
21
  'px-16 py-4 w-full flex flex-col justify-center items-start box-border text-label-medium-regular text-text-secondary': true,
22
22
  'min-h-56': this.tableDensity === SulaTableDensity.Compact,
23
23
  'min-h-60': this.tableDensity === SulaTableDensity.Default,
24
24
  'min-h-64': this.tableDensity === SulaTableDensity.Spaced,
25
25
  'min-h-72': this.tableDensity === SulaTableDensity.Confortable,
26
- } }, h("slot", { key: '385386b49b1b539adf352e5b25718dc018e36673' })))));
26
+ } }, h("slot", { key: '4b692b380e16d3643fd3a9baaab57841ca83c1f7' })))));
27
27
  }
28
28
  get host() { return this; }
29
29
  static get style() { return sulaTableCellCss; }
@@ -17,13 +17,13 @@ const SulaTableHeadCell$1 = /*@__PURE__*/ proxyCustomElement(class SulaTableHead
17
17
  replaceHostWithRenderedElement(this.host, 'th');
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '11b47f592af1279c0d22a114acddb8ea00a3326b' }, h("th", { key: '4a427a1ebe2e7dfa773af79139f9f3fa4e9b5837', scope: "col", class: "align-middle text-left border-b border-line-general" }, h("div", { key: '5e36a40721daa6b3a60bc0dc7708fc964c9f7ded', class: {
20
+ return (h(Host, { key: 'dff1531e5339caf49edc32858f7ae190763d07c4' }, h("th", { key: '1d6319f5bc049b4b02d208e1c0550bb988d9e2d0', scope: "col", class: "align-middle text-left border-b border-line-general" }, h("div", { key: 'fa4f9368141301bdae99a184f1ceefffcb749160', class: {
21
21
  'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,
22
22
  'min-h-40': this.tableDensity === SulaTableDensity.Compact,
23
23
  'min-h-44': this.tableDensity === SulaTableDensity.Default,
24
24
  'min-h-48': this.tableDensity === SulaTableDensity.Spaced,
25
25
  'min-h-56': this.tableDensity === SulaTableDensity.Confortable,
26
- } }, h("slot", { key: '6575edd2900dd9a20cbd454e5a8b40b77a66ac50' })))));
26
+ } }, h("slot", { key: '534a4e3690390f28862a38b31448a10b38afd822' })))));
27
27
  }
28
28
  get host() { return this; }
29
29
  static get style() { return sulaTableHeadCellCss; }
@@ -12,7 +12,7 @@ const SulaTableHeader$1 = /*@__PURE__*/ proxyCustomElement(class SulaTableHeader
12
12
  replaceHostWithRenderedElement(this.host, 'thead');
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '2e373f5bd3359e9e5a80eac3581fef274d3b032f' }, h("thead", { key: 'ba0702dffb00e3ddeeaf96fbd686fad8af39d5ee' }, h("slot", { key: 'dd8ff65f07ff0d3d97ff5c42bdb9c95dca771d5d' }))));
15
+ return (h(Host, { key: '34150ce3b78e282b9690e9dd87199fb207241d63' }, h("thead", { key: 'b3d00117f4e0a037360381b2ad4109ea97dc703c' }, h("slot", { key: 'cb893d31e4ba9302700d4473c179069a8f23de57' }))));
16
16
  }
17
17
  get host() { return this; }
18
18
  static get style() { return sulaTableHeaderCss; }
@@ -12,7 +12,7 @@ const SulaTableRow$1 = /*@__PURE__*/ proxyCustomElement(class SulaTableRow exten
12
12
  replaceHostWithRenderedElement(this.host, 'tr');
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '48712fb8bc004583dbd03a251876c64f77b22eb6' }, h("tr", { key: '1335c292d6650fb3b9fde03c1d7a9f21d4970d37' }, h("slot", { key: 'fc3a7b8d6bf2df61cc624c7ca1c38e9dd90db1fd' }))));
15
+ return (h(Host, { key: 'b1a56af1b9e16ca20d0546a2f67b32d9974cefab' }, h("tr", { key: '7e8ee60181ff4f4fcf58873fd9f94311ac120d52' }, h("slot", { key: 'de293b2fe2303e73522da634e12f060d75893366' }))));
16
16
  }
17
17
  get host() { return this; }
18
18
  static get style() { return sulaTableRowCss; }
@@ -21,15 +21,15 @@ const SulaTable$1 = /*@__PURE__*/ proxyCustomElement(class SulaTable extends H {
21
21
  this.fullWidth = true;
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: 'a24d8b9c1916c55dc5f4bfa1563eaa8c0404de2a', class: {
24
+ return (h(Host, { key: '67ca6d1f06cc81908fdeb9ee5e87a2ebfa4e3767', class: {
25
25
  'block max-w-full overflow-x-auto': true,
26
- } }, h("table", { key: 'e2e22aed6ad78091ad1ea0bd62a8460dddd73c1e', class: {
26
+ } }, h("table", { key: 'b983cfd3f701d94ef6e3fc215f4a9b200dbdaf85', class: {
27
27
  'w-full': this.fullWidth && this.equalWidth,
28
28
  'w-max': !this.equalWidth,
29
29
  'min-w-full': this.fullWidth && !this.equalWidth,
30
30
  'table-fixed': this.equalWidth,
31
31
  'border-collapse border-spacing-0 box-border': true,
32
- } }, h("slot", { key: '63eb7e31c989393813e572fdfc688f988c07146c' }))));
32
+ } }, h("slot", { key: 'aa4786529b2cc90eaf6d48ec5da7f87b651dced7' }))));
33
33
  }
34
34
  static get style() { return sulaTableCss; }
35
35
  }, [4, "sula-table", {