@sula-tech/webcomponents 0.20.0 → 0.21.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 (148) hide show
  1. package/dist/cjs/index.cjs.js +7 -3
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{sula-avatar_31.cjs.entry.js → sula-avatar_32.cjs.entry.js} +428 -88
  5. package/dist/cjs/sula-avatar_32.cjs.entry.js.map +1 -0
  6. package/dist/cjs/{sula-menu.model-BDxbWyPG.js → sula-calendar.model-BI5cNrUo.js} +8 -2
  7. package/dist/cjs/sula-calendar.model-BI5cNrUo.js.map +1 -0
  8. package/dist/cjs/sula-toast-stack.cjs.entry.js +4 -4
  9. package/dist/cjs/sula-toast.cjs.entry.js +2 -2
  10. package/dist/cjs/webcomponents.cjs.js +1 -1
  11. package/dist/collection/collection-manifest.json +1 -0
  12. package/dist/collection/components/sula-badge/sula-badge.css +1 -1
  13. package/dist/collection/components/sula-calendar/model/sula-calendar.model.js +6 -0
  14. package/dist/collection/components/sula-calendar/model/sula-calendar.model.js.map +1 -0
  15. package/dist/collection/components/sula-calendar/sula-calendar.css +1 -0
  16. package/dist/collection/components/sula-calendar/sula-calendar.js +747 -0
  17. package/dist/collection/components/sula-calendar/sula-calendar.js.map +1 -0
  18. package/dist/collection/components/sula-calendar/sula-calendar.stories.js +273 -0
  19. package/dist/collection/components/sula-calendar/sula-calendar.stories.js.map +1 -0
  20. package/dist/collection/components/sula-checkbox/sula-checkbox.js +3 -3
  21. package/dist/collection/components/sula-chip/sula-chip.js +3 -3
  22. package/dist/collection/components/sula-dropdown/sula-dropdown.js +3 -3
  23. package/dist/collection/components/sula-icon/sula-icon.css +1 -1
  24. package/dist/collection/components/sula-icon/sula-icon.js +1 -1
  25. package/dist/collection/components/sula-icon-picker/model/sula-icon-picker.model.js.map +1 -1
  26. package/dist/collection/components/sula-icon-picker/sula-icon-picker.js +18 -8
  27. package/dist/collection/components/sula-icon-picker/sula-icon-picker.js.map +1 -1
  28. package/dist/collection/components/sula-loader/sula-loader.js +1 -1
  29. package/dist/collection/components/sula-menu/sula-menu.js +8 -8
  30. package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.js +1 -1
  31. package/dist/collection/components/sula-progress-bar/sula-progress-bar.js +2 -2
  32. package/dist/collection/components/sula-radio-button/sula-radio-button.js +2 -2
  33. package/dist/collection/components/sula-search-bar/sula-search-bar.js +2 -2
  34. package/dist/collection/components/sula-segmented-control/sula-segmented-control.js +1 -1
  35. package/dist/collection/components/sula-switch/sula-switch.js +4 -4
  36. package/dist/collection/components/sula-table/sula-table.js +3 -3
  37. package/dist/collection/components/sula-table-body/sula-table-body.js +1 -1
  38. package/dist/collection/components/sula-table-cell/sula-table-cell.js +2 -2
  39. package/dist/collection/components/sula-table-head-cell/sula-table-head-cell.js +2 -2
  40. package/dist/collection/components/sula-table-header/sula-table-header.js +1 -1
  41. package/dist/collection/components/sula-table-row/sula-table-row.js +1 -1
  42. package/dist/collection/components/sula-tag/sula-tag.js +3 -3
  43. package/dist/collection/components/sula-textarea/sula-textarea.js +6 -6
  44. package/dist/collection/components/sula-textfield/sula-textfield.css +1 -1
  45. package/dist/collection/components/sula-textfield/sula-textfield.js +27 -3
  46. package/dist/collection/components/sula-textfield/sula-textfield.js.map +1 -1
  47. package/dist/collection/components/sula-textfield/sula-textfield.stories.js +9 -0
  48. package/dist/collection/components/sula-textfield/sula-textfield.stories.js.map +1 -1
  49. package/dist/collection/components/sula-tiles/sula-tiles.js +1 -1
  50. package/dist/collection/components/sula-timeline-list/sula-timeline-list.js +1 -1
  51. package/dist/collection/components/sula-toast/sula-toast.js +2 -2
  52. package/dist/collection/components/sula-toast-stack/sula-toast-stack.js +4 -4
  53. package/dist/collection/components/sula-toggle/sula-toggle.js +1 -1
  54. package/dist/collection/components/sula-tooltip/sula-tooltip.js +1 -1
  55. package/dist/collection/index.js +1 -0
  56. package/dist/collection/index.js.map +1 -1
  57. package/dist/components/index.js +1 -0
  58. package/dist/components/index.js.map +1 -1
  59. package/dist/components/{p-DmQoJS86.js → p-B_NGmHsm.js} +5 -5
  60. package/dist/components/{p-DmQoJS86.js.map → p-B_NGmHsm.js.map} +1 -1
  61. package/dist/components/{p-D0ZAC0yK.js → p-BjgwRn5o.js} +7 -7
  62. package/dist/components/{p-D0ZAC0yK.js.map → p-BjgwRn5o.js.map} +1 -1
  63. package/dist/components/{p-DGfvh6dZ.js → p-BlH9b-mx.js} +4 -4
  64. package/dist/components/{p-DGfvh6dZ.js.map → p-BlH9b-mx.js.map} +1 -1
  65. package/dist/components/p-Cp_4qTxj.js +10 -0
  66. package/dist/components/p-Cp_4qTxj.js.map +1 -0
  67. package/dist/components/{p-DqRqPukj.js → p-DaG0HavP.js} +4 -4
  68. package/dist/components/{p-DqRqPukj.js.map → p-DaG0HavP.js.map} +1 -1
  69. package/dist/components/{p-b7t6bSNa.js → p-DtVQ10Ux.js} +4 -4
  70. package/dist/components/{p-b7t6bSNa.js.map → p-DtVQ10Ux.js.map} +1 -1
  71. package/dist/components/{p-CJ2i2jVV.js → p-VozP-C7p.js} +5 -5
  72. package/dist/components/{p-CJ2i2jVV.js.map → p-VozP-C7p.js.map} +1 -1
  73. package/dist/components/{p-DmCNhtp_.js → p-rCU8ay8s.js} +3 -3
  74. package/dist/components/{p-DmCNhtp_.js.map → p-rCU8ay8s.js.map} +1 -1
  75. package/dist/components/p-rm8YKiRh.js +555 -0
  76. package/dist/components/p-rm8YKiRh.js.map +1 -0
  77. package/dist/components/sula-avatar.js +1 -1
  78. package/dist/components/sula-badge.js +2 -2
  79. package/dist/components/sula-breadcrumb.js +1 -1
  80. package/dist/components/sula-button.js +1 -1
  81. package/dist/components/sula-calendar.d.ts +11 -0
  82. package/dist/components/sula-calendar.js +385 -0
  83. package/dist/components/sula-calendar.js.map +1 -0
  84. package/dist/components/sula-checkbox.js +4 -4
  85. package/dist/components/sula-chip.js +5 -5
  86. package/dist/components/sula-dropdown.js +1 -1
  87. package/dist/components/sula-icon-picker.js +22 -12
  88. package/dist/components/sula-icon-picker.js.map +1 -1
  89. package/dist/components/sula-icon.js +1 -1
  90. package/dist/components/sula-loader.js +1 -1
  91. package/dist/components/sula-menu-select-list.js +1 -1
  92. package/dist/components/sula-menu.js +9 -9
  93. package/dist/components/sula-modal.js +3 -3
  94. package/dist/components/sula-progress-bar.js +3 -3
  95. package/dist/components/sula-radio-button.js +2 -2
  96. package/dist/components/sula-search-bar.js +1 -1
  97. package/dist/components/sula-segmented-control.js +2 -2
  98. package/dist/components/sula-switch.js +4 -4
  99. package/dist/components/sula-table-body.js +1 -1
  100. package/dist/components/sula-table-cell.js +2 -2
  101. package/dist/components/sula-table-head-cell.js +2 -2
  102. package/dist/components/sula-table-header.js +1 -1
  103. package/dist/components/sula-table-row.js +1 -1
  104. package/dist/components/sula-table.js +3 -3
  105. package/dist/components/sula-tag.js +4 -4
  106. package/dist/components/sula-textarea.js +6 -6
  107. package/dist/components/sula-textfield.js +1 -545
  108. package/dist/components/sula-textfield.js.map +1 -1
  109. package/dist/components/sula-tiles.js +2 -2
  110. package/dist/components/sula-timeline-list.js +2 -2
  111. package/dist/components/sula-toast-stack.js +6 -6
  112. package/dist/components/sula-toast.js +1 -1
  113. package/dist/components/sula-toggle.js +2 -2
  114. package/dist/components/sula-tooltip.js +2 -2
  115. package/dist/esm/index.js +1 -1
  116. package/dist/esm/loader.js +1 -1
  117. package/dist/esm/{sula-avatar_31.entry.js → sula-avatar_32.entry.js} +422 -83
  118. package/dist/esm/sula-avatar_32.entry.js.map +1 -0
  119. package/dist/esm/{sula-menu.model-Cs9RR1ZV.js → sula-calendar.model-BbsLJDfp.js} +9 -3
  120. package/dist/esm/sula-calendar.model-BbsLJDfp.js.map +1 -0
  121. package/dist/esm/sula-toast-stack.entry.js +4 -4
  122. package/dist/esm/sula-toast.entry.js +2 -2
  123. package/dist/esm/webcomponents.js +1 -1
  124. package/dist/types/components/sula-calendar/model/sula-calendar.model.d.ts +28 -0
  125. package/dist/types/components/sula-calendar/sula-calendar.d.ts +128 -0
  126. package/dist/types/components/sula-calendar/sula-calendar.stories.d.ts +159 -0
  127. package/dist/types/components/sula-icon-picker/model/sula-icon-picker.model.d.ts +4 -0
  128. package/dist/types/components/sula-textfield/sula-textfield.d.ts +4 -0
  129. package/dist/types/components/sula-textfield/sula-textfield.stories.d.ts +8 -0
  130. package/dist/types/components.d.ts +199 -0
  131. package/dist/types/index.d.ts +2 -0
  132. package/dist/webcomponents/index.esm.js +1 -1
  133. package/dist/webcomponents/{p-fcc1a28c.entry.js → p-0004eff8.entry.js} +805 -373
  134. package/dist/webcomponents/p-0004eff8.entry.js.map +1 -0
  135. package/dist/webcomponents/{p-170854a5.entry.js → p-9a8a1133.entry.js} +16 -16
  136. package/dist/webcomponents/{p-Cs9RR1ZV.js → p-BbsLJDfp.js} +11 -4
  137. package/dist/webcomponents/p-BbsLJDfp.js.map +1 -0
  138. package/dist/webcomponents/{p-c58125e1.entry.js → p-aafb83bd.entry.js} +6 -6
  139. package/dist/webcomponents/webcomponents.esm.js +46 -23
  140. package/package.json +1 -1
  141. package/dist/cjs/sula-avatar_31.cjs.entry.js.map +0 -1
  142. package/dist/cjs/sula-menu.model-BDxbWyPG.js.map +0 -1
  143. package/dist/esm/sula-avatar_31.entry.js.map +0 -1
  144. package/dist/esm/sula-menu.model-Cs9RR1ZV.js.map +0 -1
  145. package/dist/webcomponents/p-Cs9RR1ZV.js.map +0 -1
  146. package/dist/webcomponents/p-fcc1a28c.entry.js.map +0 -1
  147. /package/dist/webcomponents/{p-170854a5.entry.js.map → p-9a8a1133.entry.js.map} +0 -0
  148. /package/dist/webcomponents/{p-c58125e1.entry.js.map → p-aafb83bd.entry.js.map} +0 -0
@@ -7,7 +7,7 @@ export class SulaIcon {
7
7
  this.customClass = '';
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'ed3e8bbf3b6b0850a11ec9f06cc7ee970d003588' }, h("i", { key: '60ff6cb3fce52bfd14b54ecc51d912ccac05fe3f', class: `${this.icon} ${this.customClass} sula-icon` })));
10
+ return (h(Host, { key: '6cacc01af5a40b143eafa5544dee1b91ba5c7afb' }, h("i", { key: 'eaf53c23b299bcf71c239b1ce29eed32639b4d7e', class: `${this.icon} ${this.customClass} sula-icon` })));
11
11
  }
12
12
  static get is() { return "sula-icon"; }
13
13
  static get originalStyleUrls() {
@@ -1 +1 @@
1
- {"version":3,"file":"sula-icon-picker.model.js","sourceRoot":"","sources":["../../../../src/components/sula-icon-picker/model/sula-icon-picker.model.ts"],"names":[],"mappings":"","sourcesContent":["export interface SulaIconPickerIcon {\n /**\n * Icon name (e.g. \"house\")\n */\n name: string;\n\n /**\n * Icon ligature code\n */\n code: number;\n\n /**\n * Full icon class name (e.g. \"ph ph-house\") used by sula-icon\n */\n className: string;\n}\n"]}
1
+ {"version":3,"file":"sula-icon-picker.model.js","sourceRoot":"","sources":["../../../../src/components/sula-icon-picker/model/sula-icon-picker.model.ts"],"names":[],"mappings":"","sourcesContent":["export interface SulaIconPickerIcon {\n /**\n * Icon name (e.g. \"house\")\n */\n name: string;\n\n /**\n * Icon ligature code\n */\n code: number;\n\n /**\n * Full icon class name (e.g. \"ph ph-house\") used by sula-icon\n */\n className: string;\n\n /**\n * Alternate names used for search matching (e.g. [\"file-search\"] for the \"file-magnifying-glass\" icon)\n */\n aliases?: string[];\n}\n"]}
@@ -1,11 +1,19 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import iconsData from "../assets/icons/regular/selection.json";
3
3
  const MAX_VISIBLE_ICONS = 50;
4
- const ALL_ICONS = ((iconsData === null || iconsData === void 0 ? void 0 : iconsData.icons) || []).map((icon) => ({
5
- name: icon.properties.name,
6
- code: icon.properties.code,
7
- className: `ph ph-${icon.properties.name}`,
8
- }));
4
+ const ALL_ICONS = ((iconsData === null || iconsData === void 0 ? void 0 : iconsData.icons) || []).map((icon) => {
5
+ const aliases = String(icon.properties.name || '')
6
+ .split(',')
7
+ .map((alias) => alias.trim())
8
+ .filter(Boolean);
9
+ const name = icon.properties.ligatures || aliases[0];
10
+ return {
11
+ name,
12
+ code: icon.properties.code,
13
+ className: `ph ph-${name}`,
14
+ aliases,
15
+ };
16
+ });
9
17
  export class SulaIconPicker {
10
18
  constructor() {
11
19
  /**
@@ -81,7 +89,9 @@ export class SulaIconPicker {
81
89
  }
82
90
  filterIcons() {
83
91
  const term = this.searchTerm.trim().toLowerCase();
84
- const icons = term ? this.iconsList.filter(icon => icon.name.toLowerCase().includes(term)) : this.iconsList;
92
+ const icons = term
93
+ ? this.iconsList.filter(icon => { var _a; return icon.name.toLowerCase().includes(term) || ((_a = icon.aliases) === null || _a === void 0 ? void 0 : _a.some(alias => alias.toLowerCase().includes(term))); })
94
+ : this.iconsList;
85
95
  return icons.slice(0, this.maxVisibleIcons);
86
96
  }
87
97
  render() {
@@ -90,13 +100,13 @@ export class SulaIconPicker {
90
100
  ? { id: this.selectedIcon.className, title: this.selectedIcon.name, icon: this.selectedIcon.className }
91
101
  : undefined;
92
102
  const dropdownLabel = this.required && this.label ? `${this.label} *` : this.label;
93
- return (h(Host, { key: '5464f13eff35f744749f6e946e5a4a9b58db207f' }, h("div", { key: 'cfe67aee64fcc0ad53667392381c102381f17cb4', class: "relative" }, h("sula-dropdown", { key: 'ce4f66ee2083b8e5a948cc59d4183a9733dc9bee', 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: '34cc93ea48b2a5897a7755447a65160c8917ac74', class: "border-b border-line-general bg-surface-body p-16", onClick: this.handleContentClick }, h("sula-search-bar", { key: '74499a6b2e5ee15a367e5bbfba59176dc620e610', value: this.searchTerm, placeholder: this.searchPlaceholder, onValueChanged: this.handleSearchChange }))), h("div", { key: '22afeb1921de8641422a9f92350268a464734b54', 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 => {
103
+ return (h(Host, { key: '5a2c244adc8dc6fd220998c9f65a5cf42259c75f' }, h("div", { key: 'fd96ca2b1a0bc5c63051a23034ae4e190e0d2c24', class: "relative" }, h("sula-dropdown", { key: '58f30a933398eb4ee07c1362d7d8593f6b22e58c', 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: '057722c36ff1e396d82a09fd57a48363d9bb9b09', class: "border-b border-line-general bg-surface-body p-16", onClick: this.handleContentClick }, h("sula-search-bar", { key: '10bc23d96dad42d8efe09d29e5fc806dca4e6648', value: this.searchTerm, placeholder: this.searchPlaceholder, onValueChanged: this.handleSearchChange }))), h("div", { key: 'e32bf78b5d7812f4342d55eee8a449bf92f4df5f', 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 => {
94
104
  var _a, _b, _c;
95
105
  return (h("button", { key: icon.name, type: "button", onClick: () => this.handleSelectIcon(icon), class: {
96
106
  '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,
97
107
  'border-brand-primary bg-surface-on-body-brand': ((_a = this.selectedIcon) === null || _a === void 0 ? void 0 : _a.name) === icon.name,
98
108
  }, "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'}` })));
99
- }))) : (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: '8dadefb4b9c35407dd7d44bb281bc494aac3879d', class: "text-base-label-small-regular text-feedback-error mt-8 block", role: "alert" }, this.error)))));
109
+ }))) : (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: 'f7dc8d804a1b660b24c8c1c8b47f4b5511cfa319', class: "text-base-label-small-regular text-feedback-error mt-8 block", role: "alert" }, this.error)))));
100
110
  }
101
111
  static get is() { return "sula-icon-picker"; }
102
112
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"sula-icon-picker.js","sourceRoot":"","sources":["../../../src/components/sula-icon-picker/sula-icon-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5F,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAG/D,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAM,SAAS,GAAyB,CAAC,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,KAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC;IACnF,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI;IAC1B,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI;IAC1B,SAAS,EAAE,SAAS,IAAI,CA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A8D,EAAC,IAAI,EAAC,OAAO,IACpF,IAAI,CAAC,KAAK,CACN,CACR,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Host, Prop, State, Watch, h } from '@stencil/core';\nimport iconsData from '../assets/icons/regular/selection.json';\nimport { SulaIconPickerIcon } from './model/sula-icon-picker.model';\n\nconst MAX_VISIBLE_ICONS = 50;\n\nconst ALL_ICONS: SulaIconPickerIcon[] = (iconsData?.icons || []).map((icon: any) => ({\n name: icon.properties.name,\n code: icon.properties.code,\n className: `ph ph-${icon.properties.name}`,\n}));\n\n@Component({\n tag: 'sula-icon-picker',\n styleUrl: 'sula-icon-picker.scss',\n shadow: true,\n})\nexport class SulaIconPicker {\n /**\n * Icon picker label\n */\n @Prop({ mutable: true })\n label: string;\n\n /**\n * Marks the field as required and shows a required indicator next to the label\n */\n @Prop({ mutable: true })\n required: boolean = false;\n\n /**\n * Icon picker is disabled\n */\n @Prop({ mutable: true })\n disabled: boolean = false;\n\n /**\n * Error message displayed below the picker\n */\n @Prop({ mutable: true })\n error?: string;\n\n /**\n * Selected icon class (e.g. \"ph ph-house\")\n */\n @Prop({ mutable: true })\n value?: string;\n\n /**\n * Show or hide the icon search input\n */\n @Prop()\n showSearch: boolean = true;\n\n /**\n * Placeholder for the icon search input\n */\n @Prop()\n searchPlaceholder: string = 'Buscar ícone...';\n\n /**\n * Custom list of icons to display. When not provided, the full built-in icon library is used\n */\n @Prop({ mutable: true })\n icons?: SulaIconPickerIcon[];\n\n /**\n * Maximum number of icons rendered at once\n */\n @Prop()\n maxVisibleIcons: number = MAX_VISIBLE_ICONS;\n\n /**\n * Maximum height for the icon list in pixels\n */\n @Prop()\n menuMaxHeight: number = 300;\n\n /**\n * Event emitted when the picker is clicked\n */\n @Event()\n pickerClicked: EventEmitter<void>;\n\n /**\n * Event emitted when the picker is focused\n */\n @Event()\n pickerFocused: EventEmitter<void>;\n\n /**\n * Event emitted when the picker is focused out\n */\n @Event()\n pickerFocusedOut: EventEmitter<void>;\n\n /**\n * Event emitted when an icon is selected\n */\n @Event()\n iconSelected: EventEmitter<SulaIconPickerIcon>;\n\n @State()\n selectedIcon?: SulaIconPickerIcon;\n\n @State()\n searchTerm: string = '';\n\n dropdownEl?: HTMLSulaDropdownElement;\n\n @Watch('value')\n handleValueChange(newValue?: string) {\n this.selectedIcon = this.findIconByValue(newValue);\n }\n\n @Watch('icons')\n handleIconsChange() {\n this.selectedIcon = this.findIconByValue(this.value);\n }\n\n componentWillLoad() {\n this.selectedIcon = this.findIconByValue(this.value);\n }\n\n get iconsList(): SulaIconPickerIcon[] {\n return this.icons && this.icons.length > 0 ? this.icons : ALL_ICONS;\n }\n\n findIconByValue(value?: string): SulaIconPickerIcon | undefined {\n if (!value) return undefined;\n\n return this.iconsList.find(icon => icon.className === value || icon.name === value);\n }\n\n filterIcons(): SulaIconPickerIcon[] {\n const term = this.searchTerm.trim().toLowerCase();\n const icons = term ? this.iconsList.filter(icon => icon.name.toLowerCase().includes(term)) : this.iconsList;\n\n return icons.slice(0, this.maxVisibleIcons);\n }\n\n handleDropdownClicked = () => {\n this.pickerClicked.emit();\n };\n\n handleDropdownFocused = () => {\n this.pickerFocused.emit();\n };\n\n handleDropdownFocusedOut = () => {\n this.searchTerm = '';\n this.pickerFocusedOut.emit();\n };\n\n handleSearchChange = (event: CustomEvent<string>) => {\n this.searchTerm = event.detail ?? '';\n };\n\n handleSelectIcon = (icon: SulaIconPickerIcon) => {\n if (this.disabled) return;\n\n this.selectedIcon = icon;\n this.value = icon.className;\n this.searchTerm = '';\n this.iconSelected.emit(icon);\n\n if (this.dropdownEl) {\n this.dropdownEl.showContent = false;\n }\n };\n\n handleContentClick = (event: MouseEvent) => {\n event.stopPropagation();\n };\n\n render() {\n const filteredIcons = this.filterIcons();\n const dropdownValue = this.selectedIcon\n ? { id: this.selectedIcon.className, title: this.selectedIcon.name, icon: this.selectedIcon.className }\n : undefined;\n const dropdownLabel = this.required && this.label ? `${this.label} *` : this.label;\n\n return (\n <Host>\n <div class=\"relative\">\n <sula-dropdown\n ref={el => (this.dropdownEl = el)}\n label={dropdownLabel}\n disabled={this.disabled}\n hasError={!!this.error}\n customContent={true}\n contentMaxHeight={this.menuMaxHeight}\n value={dropdownValue}\n onDropdownClicked={this.handleDropdownClicked}\n onDropdownFocused={this.handleDropdownFocused}\n onDropdownFocusedOut={this.handleDropdownFocusedOut}\n >\n {this.showSearch && (\n <div class=\"border-b border-line-general bg-surface-body p-16\" onClick={this.handleContentClick}>\n <sula-search-bar value={this.searchTerm} placeholder={this.searchPlaceholder} onValueChanged={this.handleSearchChange}></sula-search-bar>\n </div>\n )}\n\n <div class=\"overflow-y-auto\" role=\"listbox\" onClick={this.handleContentClick}>\n {filteredIcons.length > 0 ? (\n <div class=\"grid gap-12 p-16\" style={{ gridTemplateColumns: 'repeat(auto-fill, minmax(56px, 56px))' }}>\n {filteredIcons.map(icon => (\n <button\n key={icon.name}\n type=\"button\"\n onClick={() => this.handleSelectIcon(icon)}\n class={{\n '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,\n 'border-brand-primary bg-surface-on-body-brand': this.selectedIcon?.name === icon.name,\n }}\n aria-label={`Selecionar ícone ${icon.name}`}\n aria-selected={this.selectedIcon?.name === icon.name ? 'true' : 'false'}\n role=\"option\"\n >\n <sula-icon\n icon={icon.className}\n customClass={`text-2xl ${this.selectedIcon?.name === icon.name ? 'text-brand-primary' : 'text-icon-primary'}`}\n ></sula-icon>\n </button>\n ))}\n </div>\n ) : (\n <div class=\"p-32 text-center\">\n <span class=\"text-base-paragraph-medium-regular text-text-tertiary\">Nenhum ícone encontrado</span>\n </div>\n )}\n </div>\n </sula-dropdown>\n\n {this.error && (\n <span class=\"text-base-label-small-regular text-feedback-error mt-8 block\" role=\"alert\">\n {this.error}\n </span>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"sula-icon-picker.js","sourceRoot":"","sources":["../../../src/components/sula-icon-picker/sula-icon-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5F,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAG/D,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAM,SAAS,GAAyB,CAAC,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,KAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE;IACjF,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC;SAC/C,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;SACpC,MAAM,CAAC,OAAO,CAAC,CAAC;IACnB,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC;IAErD,OAAO;QACL,IAAI;QACJ,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI;QAC1B,SAAS,EAAE,SAAS,IAAI,EAAE;QAC1B,OAAO;KACR,CAAC;AACJ,CAAC,CAAC,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KAAK,EAAC,uDAAuD,mCAA+B,CAC9F,CACP,CACG,CACQ;gBAEf,IAAI,CAAC,KAAK,IAAI,CACb,6DAAM,KAAK,EAAC,8DAA8D,EAAC,IAAI,EAAC,OAAO,IACpF,IAAI,CAAC,KAAK,CACN,CACR,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Host, Prop, State, Watch, h } from '@stencil/core';\nimport iconsData from '../assets/icons/regular/selection.json';\nimport { SulaIconPickerIcon } from './model/sula-icon-picker.model';\n\nconst MAX_VISIBLE_ICONS = 50;\n\nconst ALL_ICONS: SulaIconPickerIcon[] = (iconsData?.icons || []).map((icon: any) => {\n const aliases = String(icon.properties.name || '')\n .split(',')\n .map((alias: string) => alias.trim())\n .filter(Boolean);\n const name = icon.properties.ligatures || aliases[0];\n\n return {\n name,\n code: icon.properties.code,\n className: `ph ph-${name}`,\n aliases,\n };\n});\n\n@Component({\n tag: 'sula-icon-picker',\n styleUrl: 'sula-icon-picker.scss',\n shadow: true,\n})\nexport class SulaIconPicker {\n /**\n * Icon picker label\n */\n @Prop({ mutable: true })\n label: string;\n\n /**\n * Marks the field as required and shows a required indicator next to the label\n */\n @Prop({ mutable: true })\n required: boolean = false;\n\n /**\n * Icon picker is disabled\n */\n @Prop({ mutable: true })\n disabled: boolean = false;\n\n /**\n * Error message displayed below the picker\n */\n @Prop({ mutable: true })\n error?: string;\n\n /**\n * Selected icon class (e.g. \"ph ph-house\")\n */\n @Prop({ mutable: true })\n value?: string;\n\n /**\n * Show or hide the icon search input\n */\n @Prop()\n showSearch: boolean = true;\n\n /**\n * Placeholder for the icon search input\n */\n @Prop()\n searchPlaceholder: string = 'Buscar ícone...';\n\n /**\n * Custom list of icons to display. When not provided, the full built-in icon library is used\n */\n @Prop({ mutable: true })\n icons?: SulaIconPickerIcon[];\n\n /**\n * Maximum number of icons rendered at once\n */\n @Prop()\n maxVisibleIcons: number = MAX_VISIBLE_ICONS;\n\n /**\n * Maximum height for the icon list in pixels\n */\n @Prop()\n menuMaxHeight: number = 300;\n\n /**\n * Event emitted when the picker is clicked\n */\n @Event()\n pickerClicked: EventEmitter<void>;\n\n /**\n * Event emitted when the picker is focused\n */\n @Event()\n pickerFocused: EventEmitter<void>;\n\n /**\n * Event emitted when the picker is focused out\n */\n @Event()\n pickerFocusedOut: EventEmitter<void>;\n\n /**\n * Event emitted when an icon is selected\n */\n @Event()\n iconSelected: EventEmitter<SulaIconPickerIcon>;\n\n @State()\n selectedIcon?: SulaIconPickerIcon;\n\n @State()\n searchTerm: string = '';\n\n dropdownEl?: HTMLSulaDropdownElement;\n\n @Watch('value')\n handleValueChange(newValue?: string) {\n this.selectedIcon = this.findIconByValue(newValue);\n }\n\n @Watch('icons')\n handleIconsChange() {\n this.selectedIcon = this.findIconByValue(this.value);\n }\n\n componentWillLoad() {\n this.selectedIcon = this.findIconByValue(this.value);\n }\n\n get iconsList(): SulaIconPickerIcon[] {\n return this.icons && this.icons.length > 0 ? this.icons : ALL_ICONS;\n }\n\n findIconByValue(value?: string): SulaIconPickerIcon | undefined {\n if (!value) return undefined;\n\n return this.iconsList.find(icon => icon.className === value || icon.name === value);\n }\n\n filterIcons(): SulaIconPickerIcon[] {\n const term = this.searchTerm.trim().toLowerCase();\n const icons = term\n ? this.iconsList.filter(\n icon => icon.name.toLowerCase().includes(term) || icon.aliases?.some(alias => alias.toLowerCase().includes(term)),\n )\n : this.iconsList;\n\n return icons.slice(0, this.maxVisibleIcons);\n }\n\n handleDropdownClicked = () => {\n this.pickerClicked.emit();\n };\n\n handleDropdownFocused = () => {\n this.pickerFocused.emit();\n };\n\n handleDropdownFocusedOut = () => {\n this.searchTerm = '';\n this.pickerFocusedOut.emit();\n };\n\n handleSearchChange = (event: CustomEvent<string>) => {\n this.searchTerm = event.detail ?? '';\n };\n\n handleSelectIcon = (icon: SulaIconPickerIcon) => {\n if (this.disabled) return;\n\n this.selectedIcon = icon;\n this.value = icon.className;\n this.searchTerm = '';\n this.iconSelected.emit(icon);\n\n if (this.dropdownEl) {\n this.dropdownEl.showContent = false;\n }\n };\n\n handleContentClick = (event: MouseEvent) => {\n event.stopPropagation();\n };\n\n render() {\n const filteredIcons = this.filterIcons();\n const dropdownValue = this.selectedIcon\n ? { id: this.selectedIcon.className, title: this.selectedIcon.name, icon: this.selectedIcon.className }\n : undefined;\n const dropdownLabel = this.required && this.label ? `${this.label} *` : this.label;\n\n return (\n <Host>\n <div class=\"relative\">\n <sula-dropdown\n ref={el => (this.dropdownEl = el)}\n label={dropdownLabel}\n disabled={this.disabled}\n hasError={!!this.error}\n customContent={true}\n contentMaxHeight={this.menuMaxHeight}\n value={dropdownValue}\n onDropdownClicked={this.handleDropdownClicked}\n onDropdownFocused={this.handleDropdownFocused}\n onDropdownFocusedOut={this.handleDropdownFocusedOut}\n >\n {this.showSearch && (\n <div class=\"border-b border-line-general bg-surface-body p-16\" onClick={this.handleContentClick}>\n <sula-search-bar value={this.searchTerm} placeholder={this.searchPlaceholder} onValueChanged={this.handleSearchChange}></sula-search-bar>\n </div>\n )}\n\n <div class=\"overflow-y-auto\" role=\"listbox\" onClick={this.handleContentClick}>\n {filteredIcons.length > 0 ? (\n <div class=\"grid gap-12 p-16\" style={{ gridTemplateColumns: 'repeat(auto-fill, minmax(56px, 56px))' }}>\n {filteredIcons.map(icon => (\n <button\n key={icon.name}\n type=\"button\"\n onClick={() => this.handleSelectIcon(icon)}\n class={{\n '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,\n 'border-brand-primary bg-surface-on-body-brand': this.selectedIcon?.name === icon.name,\n }}\n aria-label={`Selecionar ícone ${icon.name}`}\n aria-selected={this.selectedIcon?.name === icon.name ? 'true' : 'false'}\n role=\"option\"\n >\n <sula-icon\n icon={icon.className}\n customClass={`text-2xl ${this.selectedIcon?.name === icon.name ? 'text-brand-primary' : 'text-icon-primary'}`}\n ></sula-icon>\n </button>\n ))}\n </div>\n ) : (\n <div class=\"p-32 text-center\">\n <span class=\"text-base-paragraph-medium-regular text-text-tertiary\">Nenhum ícone encontrado</span>\n </div>\n )}\n </div>\n </sula-dropdown>\n\n {this.error && (\n <span class=\"text-base-label-small-regular text-feedback-error mt-8 block\" role=\"alert\">\n {this.error}\n </span>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -60,7 +60,7 @@ export class SulaLoader {
60
60
  }
61
61
  render() {
62
62
  const { width, height } = this.getDimensions();
63
- return (h(Host, { key: '3fae19b36a7f2f34fb4db3884ea02b733f092362' }, h("div", { key: '6449a586e3d779218dcc8e53facc0579ab9f4214', ref: el => (this.containerRef = el), style: {
63
+ return (h(Host, { key: 'f77601977c9c96a230e3023b39de27ca403c4941' }, h("div", { key: '07d53ada7a121d96dab1b0fd8f7c7df495003da7', ref: el => (this.containerRef = el), style: {
64
64
  width: width,
65
65
  height: height,
66
66
  } })));
@@ -298,24 +298,24 @@ export class SulaMenu {
298
298
  }
299
299
  render() {
300
300
  const expandedView = !this.collapsed || this.previewExpanded;
301
- return (h(Host, { key: '6ac5f4be864c6c7fe904ed4e7b9bd972ef3712ee', class: {
301
+ return (h(Host, { key: '12aa38778852562834f6d30b3090b97143251514', class: {
302
302
  'menu-host--collapsed': this.collapsed,
303
303
  'menu-host--density-compact': this.density === SulaMenuDensity.Compact,
304
304
  'menu-host--density-comfortable': this.density === SulaMenuDensity.Comfortable,
305
- }, style: this.hostStyleVariables }, h("aside", { key: '20482baeca3b66bf1c6814e36449e1326c5cd185', part: "shell", onMouseEnter: () => this.handleMenuMouseEnter(), onMouseLeave: () => this.handleMenuMouseLeave(), class: {
305
+ }, style: this.hostStyleVariables }, h("aside", { key: '6a990f913ca867498e3b5a7ba5daac0721c96c34', part: "shell", onMouseEnter: () => this.handleMenuMouseEnter(), onMouseLeave: () => this.handleMenuMouseLeave(), class: {
306
306
  'menu-shell flex h-full flex-col bg-surface-body py-16 pt-12 shadow-md z-50': true,
307
307
  'menu-shell--collapsed': this.collapsed && !this.previewExpanded,
308
308
  'menu-shell--expanded': expandedView,
309
309
  'menu-shell--preview': this.collapsed && this.previewExpanded,
310
- } }, h("div", { key: '9c82ea881535b698d62341f05c47d55f73d9291d', class: {
310
+ } }, h("div", { key: '4325ec041b61b724df0e20d42bb7d507c563102b', class: {
311
311
  'menu-header flex items-center pb-12': true,
312
312
  'mb-3 px-7': expandedView,
313
313
  'mb-0 justify-center px-0': !expandedView,
314
- } }, this.image && (h("div", { key: 'a3b140eb5a58db588171824fdfacaeb3753390ba', class: { 'menu-brand-image max-h-10 max-w-10 overflow-hidden': true, 'mr-6': expandedView } }, h("img", { key: '84cbed65f274042f333d3975a2f83518967c9bf7', src: this.image, alt: this.menuTitle }))), h("div", { key: '94d2c33c27b361f4f73fc33fa517c455b2db1838', "aria-hidden": !expandedView, title: expandedView ? this.menuTitle : undefined, class: {
314
+ } }, this.image && (h("div", { key: '1dd5dba04d19df0d0d556e5ad2c794df1e42a137', class: { 'menu-brand-image max-h-10 max-w-10 overflow-hidden': true, 'mr-6': expandedView } }, h("img", { key: 'd3431d836dcee0c9af25e595b0308a06662d1c34', src: this.image, alt: this.menuTitle }))), h("div", { key: '27013d62670dd2b5d1ce4f01d6b19bc8b91102fc', "aria-hidden": !expandedView, title: expandedView ? this.menuTitle : undefined, class: {
315
315
  'menu-title menu-copy': true,
316
316
  'menu-copy--visible': expandedView,
317
317
  'menu-copy--hidden': !expandedView,
318
- } }, h("h1", { key: 'f5f470c893d61b33cc7126adef4effbf55e79ece', part: "title", class: "truncate text-xl font-semibold leading-tight text-text-primary" }, this.menuTitle))), h("nav", { key: 'a8a04e84487fc9ca3e0496428e5ff512c958f76d', class: {
318
+ } }, h("h1", { key: 'b510dc74292e7809d4f089d5e0a5edc5a0681339', part: "title", class: "truncate text-xl font-semibold leading-tight text-text-primary" }, this.menuTitle))), h("nav", { key: '817fe1b58ba7f0872c39cb39efad5e4cbde2757b', class: {
319
319
  'menu-nav flex h-full flex-col overflow-y-auto overflow-x-hidden pb-16': true,
320
320
  'px-20': expandedView,
321
321
  'px-12': !expandedView,
@@ -348,15 +348,15 @@ export class SulaMenu {
348
348
  'menu-item-caret--visible': expandedView,
349
349
  'menu-item-caret--hidden': !expandedView,
350
350
  }, 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)))));
351
- })), h("div", { key: 'b26f82dcb98d573bd22425962ab5fa68ba46a157', class: {
351
+ })), h("div", { key: '158feec60843a951a2f1ed7065edb6ab04af13e2', class: {
352
352
  'menu-toggle-wrapper pb-16': true,
353
353
  'px-20': expandedView,
354
354
  'px-12': !expandedView,
355
- } }, h("button", { key: '4dcfa3c0de3c81b535c0c8f546ea9fe92cef2323', type: "button", class: {
355
+ } }, h("button", { key: '18956fc2aed75ed4b13985d2805c4f9615a68e33', type: "button", class: {
356
356
  'menu-toggle flex w-full cursor-pointer items-center rounded-xs p-8 hover:bg-box-shadow-body': true,
357
357
  'justify-start': expandedView,
358
358
  'justify-center': !expandedView,
359
- }, title: this.collapsed ? 'Fixar menu' : 'Ocultar menu', onClick: () => this.toggleMenu() }, h("div", { key: 'b55252be76564d8c791c0b6be718c752ea67f717', 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: '3c196506dc2e00426a3258e96240aee88c51e9fe', icon: `ph ph-arrow-${this.collapsed ? 'right' : 'left'}`, customClass: "text-text-secondary text-xl" })), h("span", { key: 'a3684820fa7fe39602c50deb8ab4ff2c7a99db2c', part: "toggle-label", "aria-hidden": !expandedView, class: {
359
+ }, title: this.collapsed ? 'Fixar menu' : 'Ocultar menu', onClick: () => this.toggleMenu() }, h("div", { key: 'df6ff603abcaf3fb23e31699590ec566b39818e9', 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: '6b01bd52f802d2291802679ac56bc1017b8d0cef', icon: `ph ph-arrow-${this.collapsed ? 'right' : 'left'}`, customClass: "text-text-secondary text-xl" })), h("span", { key: 'd662bac6f8e2fd811a91af3513cf61c05840c303', part: "toggle-label", "aria-hidden": !expandedView, class: {
360
360
  'menu-toggle-label menu-copy text-base text-text-secondary': true,
361
361
  'menu-copy--visible': expandedView,
362
362
  'menu-copy--hidden': !expandedView,
@@ -18,7 +18,7 @@ export class SulaMenuSelectList {
18
18
  };
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: 'dd293db91c56f9f72cd033e3117eefbac87a2958' }, h("ul", { key: 'a28c1b0b0972068fa6681cfce0b3fc05409af228', class: {
21
+ return (h(Host, { key: '5f7f26fa8513470373f9cd3d429fc700af8a70c6' }, h("ul", { key: 'e1331b63ab26101d0941838a64c86a527842efcd', class: {
22
22
  'bg-surface-body border border-line-general sula-menu-select-list rounded-sm py-12 overflow-auto': true,
23
23
  'w-300': !this.fullWidth,
24
24
  'w-full': this.fullWidth,
@@ -53,10 +53,10 @@ export class SulaProgressBar {
53
53
  }
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '9aa787662c44a49471cd6cfecc39aef0052111a5' }, h("div", { key: '01be094ffce38f79da42028967838d0fd7a86f7d', class: "flex flex-col w-full space-y-8" }, h("div", { key: 'c7728fa96a6652c25b97a676db729a5be7766f0d', class: "flex justify-between items-center" }, h("label", { key: '364d08c386780ecbd1752f9830f2309a2cf00c60', class: "text-sm text-text-secondary leading-[14px]" }, this.topLabel), this.getProgressBarStateElement()), h("div", { key: '04aba36d4bd56005d29b8c0f20b4e5e4622015cf', style: { width: `${this.progress}%` }, class: {
56
+ return (h(Host, { key: '4687f382c8ece70212ac86842a0300192f61ce61' }, h("div", { key: 'f93c2d0064b5be621740059047555aef9254e974', class: "flex flex-col w-full space-y-8" }, h("div", { key: '1cfd6fb923fd4a6216f1f0bb8696e3637ebeef7e', class: "flex justify-between items-center" }, h("label", { key: 'e0e48018d3ccf7da34611298d72d4daf7c90226c', class: "text-sm text-text-secondary leading-[14px]" }, this.topLabel), this.getProgressBarStateElement()), h("div", { key: '691331d0512e57de6d5ebf084393c7d48c99ab8b', style: { width: `${this.progress}%` }, class: {
57
57
  'h-12 rounded-xxl': true,
58
58
  [this.getProgressBarStyle()]: true,
59
- } }), h("label", { key: 'e058fa2b108d65a2c9692dad132d4e4406f1a906', class: "text-sm text-text-secondary leading-[14px]" }, this.bottomLabel))));
59
+ } }), h("label", { key: '45964d2c60ae4d97572ffe25e7642e274123e0a7', class: "text-sm text-text-secondary leading-[14px]" }, this.bottomLabel))));
60
60
  }
61
61
  static get is() { return "sula-progress-bar"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -34,14 +34,14 @@ export class SulaRadioButton {
34
34
  };
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: 'd856d464dcb6b14556561ead42892dd9b2e84989' }, h("div", { key: 'e7069ae5fadc482d96bf4fcfdf8540503b7b7dde', class: { 'w-fit': true, 'flex items-center': !!this.label }, onClick: this.handleClick }, h("div", { key: '2e3434ddad5fe5bb502adaa8937ec5f4985b0958', class: {
37
+ return (h(Host, { key: '7a304d036ffbddc1ac6eab35214d3aa209c52e42' }, h("div", { key: '2231ebc8b13a1675ec72250d27710c72962e66ba', class: { 'w-fit': true, 'flex items-center': !!this.label }, onClick: this.handleClick }, h("div", { key: '6b41f5c42b5dbae6c7f53af3068ae57b2b305804', class: {
38
38
  'min-w-[30px] min-h-[30px] rounded-full flex justify-center items-center outline-none': true,
39
39
  'active:bg-states-empty-bg-pressed cursor-pointer': !this.disabled,
40
40
  'bg-brand-primary': this.checked,
41
41
  'border border-line-input': !this.checked,
42
42
  'container-focus': this.radioIsFocus,
43
43
  'bg-states-bg-disabled border-2 border-states-bg-disabled cursor-not-allowed': this.disabled,
44
- }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleFocusOut }, this.checked && h("div", { key: '0a806d9fbb9b0bcb8bb2fe942d9bbde81621a965', class: "bg-transparent border-2 border-negative-negative-1 w-[18px] h-[18px] rounded-full" })), this.label && h("label", { key: '5d2343f1ed3199b6c4967de36c941ede858654a5', class: { 'ml-16 text-base text-text-primary': true, 'cursor-pointer': !this.disabled } }, this.label))));
44
+ }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleFocusOut }, this.checked && h("div", { key: '7663ea3f28465d9e85a3c4735a20fe954c2179fe', class: "bg-transparent border-2 border-negative-negative-1 w-[18px] h-[18px] rounded-full" })), this.label && h("label", { key: '5f4eb7bd6c94803fd509407d09c5dd15b76edcd7', class: { 'ml-16 text-base text-text-primary': true, 'cursor-pointer': !this.disabled } }, this.label))));
45
45
  }
46
46
  static get is() { return "sula-radio-button"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -43,11 +43,11 @@ export class SulaSearchBar {
43
43
  return style[this.searchBarStyle];
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '838b1f47afa8c25148be6d5e250582e9f90185f8' }, h("div", { key: '85a884c5402dc96b5ebeb910875eebf336f9d60d', class: {
46
+ return (h(Host, { key: 'd35e244367359a79d06ca0a84246d07ce50d0782' }, h("div", { key: '38dd57227497f2547232f03983b42e51fd04a4b3', class: {
47
47
  'flex flex-row items-center space-x-12 px-16 rounded-xxl h-44 caret-brand-primary outline-none group': true,
48
48
  [this.getStyleClass()]: true,
49
49
  'search-bar-focus': this.isFocused,
50
- }, tabIndex: 0, onFocus: this.handleInputFocus, onClick: this.handleInputFocus }, !this.isFocused && this.leftIcon && (h("div", { key: '2914f00f9b67fe1b91b271a36acb9ba7f37273ee', class: "flex justify-center items-center leading-6" }, h("sula-icon", { key: 'c67ea8b86de4c6f8d03c6fae788c37c863413dc4', icon: this.leftIcon, customClass: "text-2xl text-icon-primary group-hover:text-brand-primary" }))), h("input", { key: '1b95ffe9febbcbc4b2f958e302d788b198ade620', ref: node => (this.inputElement = node), type: "text", class: "outline-none border-none w-full bg-transparent text-text-primary", placeholder: this.placeholder, onBlur: this.handleInputBlur, value: this.value, onInput: this.handleValueChanges }), this.rightIcon && (h("div", { key: 'bf8a234c89e7faece0938535825f8aba7754a039', class: "flex justify-center items-center leading-6 cursor-pointer", onClick: this.handleRightIconClick, onMouseDown: e => e.preventDefault() }, h("sula-icon", { key: 'b4f3e74dc00c7c59989c43d403d6bb59c960a785', icon: this.rightIcon, customClass: "text-2xl text-icon-primary" }))))));
50
+ }, tabIndex: 0, onFocus: this.handleInputFocus, onClick: this.handleInputFocus }, !this.isFocused && this.leftIcon && (h("div", { key: '0390957221f4db1beb46d51faf712b6cc7694109', class: "flex justify-center items-center leading-6" }, h("sula-icon", { key: 'a4184312e120c5be78ba4929f273dd96c30d657c', icon: this.leftIcon, customClass: "text-2xl text-icon-primary group-hover:text-brand-primary" }))), h("input", { key: '08d3be2ccca739ad7306f5ee9583c2196f68ec70', ref: node => (this.inputElement = node), type: "text", class: "outline-none border-none w-full bg-transparent text-text-primary", placeholder: this.placeholder, onBlur: this.handleInputBlur, value: this.value, onInput: this.handleValueChanges }), this.rightIcon && (h("div", { key: '1239392abda66a20031e949afe109dfe555d2155', class: "flex justify-center items-center leading-6 cursor-pointer", onClick: this.handleRightIconClick, onMouseDown: e => e.preventDefault() }, h("sula-icon", { key: 'df4bde8b4b3702c8a3ac6298ca056f0513ce00b9', icon: this.rightIcon, customClass: "text-2xl text-icon-primary" }))))));
51
51
  }
52
52
  static get is() { return "sula-search-bar"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -36,7 +36,7 @@ export class SulaSegmentedControl {
36
36
  return item.selected ? 'text-brand-primary' : 'text-text-primary';
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: 'e2bbad066710c909c2eb3e1a65d42d0c7ddc9f2c' }, h("div", { key: 'c37d068e7e2034639d3bd5a06df3c030d8c49ed8', class: {
39
+ return (h(Host, { key: 'e4d257cbdefcae292ace48939622ac2b6c86808d' }, h("div", { key: '831495bf8af249b2d0ded6fa457cf76c1020a1fa', class: {
40
40
  'flex flex-row items-center rounded-xxl p-2 w-fit backdrop-blur-[20px]': true,
41
41
  'bg-opacity-on-body': this.color === SulaSegmentedControlColor.Gray,
42
42
  'bg-opacity-body': this.color === SulaSegmentedControlColor.White,
@@ -40,7 +40,7 @@ export class SulaSwitch {
40
40
  };
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '5f3c3815d79322d30adc9aca2264aed80adb4ffb' }, h("div", { key: '6e15ebd790f54d86474ee82ff089f5243d90cbc8', class: {
43
+ return (h(Host, { key: '03ac13764a97e343c005d0b6ad86aedd63d3fcc0' }, h("div", { key: 'ddca75645b49d3b965011eb36e57a6eeaece645f', class: {
44
44
  'outline-none': true,
45
45
  'flex items-center space-x-12': !!this.label && this.type === SulaSwitchType.Default,
46
46
  'flex items-center justify-between bg-surface-on-body rounded-md min-h-[85px] px-24 py-16': this.type === SulaSwitchType.List,
@@ -48,17 +48,17 @@ export class SulaSwitch {
48
48
  'w-[280px]': this.type === SulaSwitchType.List && !this.responsive,
49
49
  'hover:bg-states-empty-bg-hover active:bg-states-empty-bg-pressed cursor-pointer': this.type === SulaSwitchType.List && !this.disabled,
50
50
  'container-focus': this.isFocus && this.type === SulaSwitchType.List,
51
- }, onFocus: this.handleFocus, onBlur: this.handleBlur, onClick: this.handleClick, tabIndex: 0 }, this.type === SulaSwitchType.List && (h("div", { key: '7e7f8fa16b903558cbfd3f1d2d83f0036f5308a9', class: "flex flex-col flex-1 mr-16 overflow-hidden" }, !!this.label && h("label", { key: 'de7ede038c1c3d7a542372ea173772c580f9d586', class: "text-text-primary font-bold text-base cursor-pointer break-words" }, this.label), !!this.subTitle && h("span", { key: '038ae8fbb49000bda137cc5d56cc2579f62d6685', class: "text-text-secondary text-base break-words" }, this.subTitle))), h("div", { key: 'e3e841b12ba1e8ad04be7318c2470c32d6465e66', class: {
51
+ }, onFocus: this.handleFocus, onBlur: this.handleBlur, onClick: this.handleClick, tabIndex: 0 }, this.type === SulaSwitchType.List && (h("div", { key: 'e15ca8ec7506497d574a76b523ce5c4fd6def934', class: "flex flex-col flex-1 mr-16 overflow-hidden" }, !!this.label && h("label", { key: '2bcd6af3688e18d597b39db6ee2eb4355a3c0377', class: "text-text-primary font-bold text-base cursor-pointer break-words" }, this.label), !!this.subTitle && h("span", { key: '7433a736246106dddfff92f681c274d2ea6d6938', class: "text-text-secondary text-base break-words" }, this.subTitle))), h("div", { key: 'cfe3186e0a7409a0cfe2092f0cca822eecf45727', class: {
52
52
  'switch-container w-56 h-32 flex items-center rounded-xxl p-2 outline-none': true,
53
53
  'switch-on bg-brand-primary justify-end': this.active,
54
54
  'switch-off bg-neutral-neutral-3 justify-start': !this.active,
55
55
  'cursor-not-allowed bg-states-bg-disabled': this.disabled,
56
56
  'switch-focus': this.isFocus && this.type === SulaSwitchType.Default,
57
- }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '3e87cd1d342ba55578267710ac00fa80f44e91a5', class: {
57
+ }, tabIndex: 0, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '411f40ad8ad8b6395ea24a076f88602342126cfc', class: {
58
58
  'switch-thumb w-[28px] h-[28px] rounded-full flex justify-center items-center': true,
59
59
  'bg-negative-negative-1': !this.disabled,
60
60
  'bg-states-bg-disabled shadow-md': this.disabled,
61
- } }, h("div", { key: '97028a358647414a5007ef90daf8acd15789bfa6', class: {
61
+ } }, h("div", { key: 'ee793fac1da4897922c413dc253b66b47bebaec2', class: {
62
62
  'switch-indicator rounded-full': true,
63
63
  'switch-indicator-on w-12 h-12 bg-brand-primary': this.active,
64
64
  'switch-indicator-off w-[10px] h-4 bg-neutral-neutral-4': !this.active,
@@ -16,15 +16,15 @@ export class SulaTable {
16
16
  this.fullWidth = true;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '0bfcfd6170d099d2f6023f07d1cb20c9621a3f77', class: {
19
+ return (h(Host, { key: 'c4c85f0a00f5848a5ceeee0fa975b98dd8aaca10', class: {
20
20
  'block max-w-full overflow-x-auto': true,
21
- } }, h("table", { key: '76e07331ac894ad8fa79a3f75ef32ddc20f8d7b6', class: {
21
+ } }, h("table", { key: '429f48bb7125d0623a0896e2ffd64b5096bf3dcc', class: {
22
22
  'w-full': this.fullWidth && this.equalWidth,
23
23
  'w-max': !this.equalWidth,
24
24
  'min-w-full': this.fullWidth && !this.equalWidth,
25
25
  'table-fixed': this.equalWidth,
26
26
  'border-collapse border-spacing-0 box-border': true,
27
- } }, h("slot", { key: 'f1ed7cb3542792195d281f9194d6bb0dbe350fac' }))));
27
+ } }, h("slot", { key: '8887f401133f605293b98b0408e3b605270fcaad' }))));
28
28
  }
29
29
  static get is() { return "sula-table"; }
30
30
  static get originalStyleUrls() {
@@ -5,7 +5,7 @@ export class SulaTableBody {
5
5
  replaceHostWithRenderedElement(this.host, 'tbody');
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: 'a2ca717e7a9bdd053ff6ca09eb9ed4281b5677c6' }, h("tbody", { key: '30825da8235ec61310c61ce4c289028e29588916' }, h("slot", { key: '5062ba06890652e9668d77eab0b80c8154ae3baa' }))));
8
+ return (h(Host, { key: 'b9f5648337032d4e589e940439a0099f1d43cffa' }, h("tbody", { key: 'b7cdcb725274bd440f9561aada4c7aac517de710' }, h("slot", { key: '02978fec755b66e807c8b8c57d8da66ba348a45d' }))));
9
9
  }
10
10
  static get is() { return "sula-table-body"; }
11
11
  static get originalStyleUrls() {
@@ -10,13 +10,13 @@ export class SulaTableCell {
10
10
  replaceHostWithRenderedElement(this.host, 'td');
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'b9b5bc0c6832f8fbcf560732f0e1c058f8c4cfbc' }, h("td", { key: 'c5443ad7921b69f2e143b6418cec98546674ac34', class: "align-middle text-left border-b border-dashed border-line-general" }, h("div", { key: 'd13c0977403ad4d3b506676801ca8925a78fae0a', class: {
13
+ return (h(Host, { key: '347aabb92b3ae336b47c092b4836a9683abdb945' }, h("td", { key: 'abe8e1a42e60ca0314f2bccedaf51953d6e3efe6', class: "align-middle text-left border-b border-dashed border-line-general" }, h("div", { key: '5fb52f18fea375e0db464b1a81194ae2a5f5d53f', class: {
14
14
  'px-16 py-4 w-full flex flex-col justify-center items-start box-border text-label-medium-regular text-text-secondary': true,
15
15
  'min-h-56': this.tableDensity === SulaTableDensity.Compact,
16
16
  'min-h-60': this.tableDensity === SulaTableDensity.Default,
17
17
  'min-h-64': this.tableDensity === SulaTableDensity.Spaced,
18
18
  'min-h-72': this.tableDensity === SulaTableDensity.Confortable,
19
- } }, h("slot", { key: 'c9f1fd7456a928cbdee2df8576e671bc7459d8c9' })))));
19
+ } }, h("slot", { key: 'fce54db787004cec755f69f9eabd1931ed27f7cf' })))));
20
20
  }
21
21
  static get is() { return "sula-table-cell"; }
22
22
  static get originalStyleUrls() {
@@ -10,13 +10,13 @@ export class SulaTableHeadCell {
10
10
  replaceHostWithRenderedElement(this.host, 'th');
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '3b767e7a414a202d1947e4eb66575ee95620381f' }, h("th", { key: '38a32fe248db78d736187a777bbedd8dd56dae98', scope: "col", class: "align-middle text-left border-b border-line-general" }, h("div", { key: 'ddc9fc22c86783843aba386214a9eaa2bc9077c9', class: {
13
+ return (h(Host, { key: '41e5f68802c240cd1e691e3df61066d585117122' }, h("th", { key: '42907dc4d92bb3f70ad1a2c88e2580a3c07b8bc5', scope: "col", class: "align-middle text-left border-b border-line-general" }, h("div", { key: '482ebc9be886ea48becf0f72035c26ec694ff8c8', class: {
14
14
  'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,
15
15
  'min-h-40': this.tableDensity === SulaTableDensity.Compact,
16
16
  'min-h-44': this.tableDensity === SulaTableDensity.Default,
17
17
  'min-h-48': this.tableDensity === SulaTableDensity.Spaced,
18
18
  'min-h-56': this.tableDensity === SulaTableDensity.Confortable,
19
- } }, h("slot", { key: '2143a6ac5d48db398022e7ff3b3f7d11ad0e45a2' })))));
19
+ } }, h("slot", { key: '328c07d328409e3e6c571ada4e36ede8609d38f4' })))));
20
20
  }
21
21
  static get is() { return "sula-table-head-cell"; }
22
22
  static get originalStyleUrls() {
@@ -5,7 +5,7 @@ export class SulaTableHeader {
5
5
  replaceHostWithRenderedElement(this.host, 'thead');
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: 'bd57b78f2a48bd304fe4abbed189f9a095cc0380' }, h("thead", { key: '987ed815cb21c18c31976b1cdd65af00bcb6ed7a' }, h("slot", { key: '60fe9f82cf5532dbaf747a59be77433238181e5b' }))));
8
+ return (h(Host, { key: '9b60e1345817d85150547d9f6a8c4aea18fecf35' }, h("thead", { key: 'e1280134d0f2efa76aaada715771a9d3cb59c2cb' }, h("slot", { key: '9014c8901806203c448b8a263b39da14541ee4c2' }))));
9
9
  }
10
10
  static get is() { return "sula-table-header"; }
11
11
  static get originalStyleUrls() {
@@ -5,7 +5,7 @@ export class SulaTableRow {
5
5
  replaceHostWithRenderedElement(this.host, 'tr');
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '41b95e085a9afac2499b2d3b3efc03c842a46021' }, h("tr", { key: '2798991eba9533fa5c3538ecd64c99b3a797683a' }, h("slot", { key: '762c70dda8ec2924b1973ddffc4c8bf3df624cd0' }))));
8
+ return (h(Host, { key: '2f3bfac0df53bdac8f2bcd85b09719da7cef4f1d' }, h("tr", { key: '5b4a56ae49d512bcbe0ff49c878fcbe2cfde6386' }, h("slot", { key: '7bc654792d9375c53f000e4fb9b370e16b3bed19' }))));
9
9
  }
10
10
  static get is() { return "sula-table-row"; }
11
11
  static get originalStyleUrls() {
@@ -72,14 +72,14 @@ export class SulaTag {
72
72
  return iconStatusStyles[this.iconStatus];
73
73
  }
74
74
  render() {
75
- return (h(Host, { key: '39ea76b92a3337f5e3285f90e9dbb4c3c3438208' }, h("div", { key: '34d452a673a20f2fa655104fcea96c47ed8265b8', class: {
75
+ return (h(Host, { key: 'a2b77019aff1c066579e1b7aef2a95fba5039b71' }, h("div", { key: '63ff50af0b9ad7fe808d7d57865fe6febd855d94', class: {
76
76
  'flex items-center rounded-xxl w-fit': true,
77
77
  [this.getSizeClass()]: true,
78
78
  [this.getAppearanceClass()]: true,
79
- } }, this.icon && (h("div", { key: '8218e0be2aa84e8cbab22cc264d916fd32fb99f2', class: {
79
+ } }, this.icon && (h("div", { key: 'a7f85beae1c42d19fe6b03ba4bba5b64b1b8e076', class: {
80
80
  'flex justify-center items-center mr-8 rounded-full leading-4 px-2 py-1': true,
81
81
  [this.getIconStatusClass()]: true,
82
- } }, h("sula-icon", { key: '73bd199ca776120207192f1d165295ef163b7b8d', icon: this.icon, "custom-class": "text-base text-negative-negative-1 leading-4" }))), h("span", { key: '4f992b7d8d201516645003cd164bab8c106dd60a', class: {
82
+ } }, h("sula-icon", { key: '4f2059c35afb8e6b0a51d54acac9b85988883e0c', icon: this.icon, "custom-class": "text-base text-negative-negative-1 leading-4" }))), h("span", { key: '6ec9221c71bab0fb9aa60b4e0bc70d1c681030a6', class: {
83
83
  'text-base leading-4': true,
84
84
  [this.getTextColorClass()]: true,
85
85
  [this.getTextWeightClass()]: true,
@@ -124,32 +124,32 @@ export class SulaTextarea {
124
124
  }
125
125
  render() {
126
126
  const containerHeight = this.rows * 24 + 48;
127
- return (h(Host, { key: 'dcd0e19c0d17e57010d3cc6d8f51b98aed181424', ref: node => (this.node = node) }, h("div", { key: 'f9ea80dfe83143dd45dfe08c42fed537061eed57' }, h("div", { key: 'a64bacfe19a2d8882bbb155daaa834a3c693e01b', id: "textarea-container", class: {
127
+ return (h(Host, { key: '69414124a1d0d623de74dd294f5a7c12d03be510', ref: node => (this.node = node) }, h("div", { key: 'd7aed61f535cb6a78200f03d276acc2d698c4ca0' }, h("div", { key: '1eb5db4d428026b4e81349e6d414681b854175ee', id: "textarea-container", class: {
128
128
  'relative border rounded-sm px-16 py-12 outline-none caret-brand-primary': true,
129
129
  'textarea-focus': this.textareaIsFocused && !this.disabled && this.status === SulaTextareaStatus.Default,
130
130
  'textarea-error': this.status === SulaTextareaStatus.Error && !this.disabled,
131
131
  'bg-states-bg-disabled border-line-general cursor-not-allowed': this.disabled,
132
132
  'bg-surface-body border-line-input cursor-text': !this.disabled,
133
- }, style: { height: `${containerHeight}px` }, tabIndex: 0, onFocus: this.handleFocus, onClick: this.handleTextareaClick }, h("label", { key: 'f9865b76263c8dc5e3856f7c5cdd8abe9e020038', class: {
133
+ }, style: { height: `${containerHeight}px` }, tabIndex: 0, onFocus: this.handleFocus, onClick: this.handleTextareaClick }, h("label", { key: '2bb9278a3114114c869940be38c0c3887f539a45', class: {
134
134
  'text-base top-16 left-12 absolute transition-all duration-200 ease-in-out pointer-events-none z-10 w-[85%]': true,
135
135
  'text-text-primary': !this.disabled && (this.isActive || this.status === SulaTextareaStatus.Default),
136
136
  'text-text-disabled': this.disabled,
137
137
  'bg-surface-body': !this.disabled && this.isActive,
138
- }, ref: node => (this.labelElement = node) }, this.label), h("label", { key: '76972c8587ceee12c3813be506759e25fefdd003', class: {
138
+ }, ref: node => (this.labelElement = node) }, this.label), h("label", { key: 'c3904b5cb4b240d963b295d8cb21525d3335aafb', class: {
139
139
  'absolute font-bold transition-all duration-200 ease-in-out pointer-events-none z-10 active-label hidden from-down': true,
140
140
  'text-sm top-12 left-16': this.isActive,
141
141
  'text-text-primary': !this.disabled && (this.isActive || this.status === SulaTextareaStatus.Default),
142
142
  'text-text-disabled': this.disabled,
143
143
  'bg-surface-body': !this.disabled && this.isActive,
144
- }, ref: node => (this.activeLabelElement = node) }, this.label), h("textarea", { key: '2aaa6e88eb339ff1b77d5efb55953978792e08c5', ref: node => (this.textareaElement = node), placeholder: this.isActive ? this.placeholder : '', rows: this.rows, maxLength: this.maxLength, disabled: this.disabled, class: {
144
+ }, ref: node => (this.activeLabelElement = node) }, this.label), h("textarea", { key: '23b6a8c876b771decfb7c89df727cd6a23c34a20', ref: node => (this.textareaElement = node), placeholder: this.isActive ? this.placeholder : '', rows: this.rows, maxLength: this.maxLength, disabled: this.disabled, class: {
145
145
  'w-full h-full outline-none text-base bg-transparent border-none resize-none': true,
146
146
  'text-text-primary': !this.disabled,
147
147
  'text-text-disabled cursor-not-allowed overflow-hidden': this.disabled,
148
- }, style: { paddingTop: this.isActive ? `${this.labelPadding}px` : '0' }, onInput: this.handleTextareaChanges, onFocus: this.handleTextareaFocus, onBlur: this.handleBlur, value: this.textValue })), (this.helpText || this.maxLength) && (h("div", { key: 'f3f012f9fd85cc23f306ca0e0c7931228c6226d6', class: "flex justify-between items-center px-16 mt-4 text-sm" }, this.helpText && (h("div", { key: 'be0e877f6286eac1766419abdbaeb9a443104b28', id: "textarea-help-text", class: {
148
+ }, style: { paddingTop: this.isActive ? `${this.labelPadding}px` : '0' }, onInput: this.handleTextareaChanges, onFocus: this.handleTextareaFocus, onBlur: this.handleBlur, value: this.textValue })), (this.helpText || this.maxLength) && (h("div", { key: '2fc851e5b752a0745be44c2caa50d7cd3bfeb1bb', class: "flex justify-between items-center px-16 mt-4 text-sm" }, this.helpText && (h("div", { key: 'd3a91b547841b7de10dded53bcace7789a9f5ba5', id: "textarea-help-text", class: {
149
149
  'text-text-primary': this.status === SulaTextareaStatus.Default && !this.disabled,
150
150
  'text-feedback-error': this.status === SulaTextareaStatus.Error && !this.disabled,
151
151
  'text-text-disabled': this.disabled,
152
- } }, this.helpText)), this.maxLength && (h("div", { key: '609b90fb7f0a28a123cdfa8a402092decde4e0c5', id: "max-length-container", class: {
152
+ } }, this.helpText)), this.maxLength && (h("div", { key: '3c6df29600df35826cfd75aad2cef9b55ef1ac17', id: "max-length-container", class: {
153
153
  'text-text-primary': this.status === SulaTextareaStatus.Default && !this.disabled,
154
154
  'text-feedback-error': this.status === SulaTextareaStatus.Error && !this.disabled,
155
155
  'text-text-disabled': this.disabled,
@@ -1 +1 @@
1
- *,: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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! 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}.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))}.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}.button-focus{outline:2px solid var(--color-feedback-informational)!important;outline-offset:2px!important}.button-error{outline:2px solid var(--color-feedback-error)!important;outline-offset:2px!important}.from-down{animation:from-down .2s ease-in-out}.from-up{animation:from-up .2s ease-in-out}@keyframes from-down{0%{opacity:0;transform:translateY(75%)}to{opacity:1;transform:translateY(0)}}@keyframes from-up{0%{opacity:0;transform:translateY(-75%)}to{opacity:1;transform:translateY(0)}}@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}.mt-4{margin-top:.25rem}.flex{display:flex}.hidden{display:none}.h-\[72px\]{height:72px}.w-full{width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:.75rem}.border{border-width:1px}.border-line-general{border-color:var(--color-line-general)}.border-line-input{border-color:var(--color-line-input)}.bg-states-bg-disabled{background-color:var(--color-states-bg-disabled)}.bg-surface-body{background-color:var(--color-surface-body)}.bg-transparent{background-color:transparent}.px-16{padding-left:1rem;padding-right:1rem}.pr-12{padding-right:.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}.font-bold{font-weight:700}.text-feedback-error{color:var(--color-feedback-error)}.text-icon-disabled{color:var(--color-icon-disabled)}.text-icon-primary{color:var(--color-icon-primary)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-primary{color:var(--color-text-primary)}.caret-brand-primary{caret-color:var(--color-brand-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}.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)}
1
+ *,: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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! 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}.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))}.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}.button-focus{outline:2px solid var(--color-feedback-informational)!important;outline-offset:2px!important}.button-error{outline:2px solid var(--color-feedback-error)!important;outline-offset:2px!important}.from-down{animation:from-down .2s ease-in-out}.from-up{animation:from-up .2s ease-in-out}@keyframes from-down{0%{opacity:0;transform:translateY(75%)}to{opacity:1;transform:translateY(0)}}@keyframes from-up{0%{opacity:0;transform:translateY(-75%)}to{opacity:1;transform:translateY(0)}}: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}.inset-x-0{left:0;right:0}.inset-y-0{bottom:0;top:0}.bottom-full{bottom:100%}.left-0{left:0}.right-0{right:0}.top-full{top:100%}.z-50{z-index:50}.mb-8{margin-bottom:.5rem}.mt-8{margin-top:.5rem}.inline{display:inline}.flex{display:flex}.grid{display:grid}.h-22{height:1.375rem}.h-28{height:1.75rem}.h-36{height:2.25rem}.w-1\/2{width:50%}.w-28{width:1.75rem}.w-36{width:2.25rem}.w-full{width:100%}.cursor-not-allowed{cursor:not-allowed}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-12{gap:.75rem}.gap-24{gap:1.5rem}.gap-y-8{row-gap:.5rem}.rounded-lg{border-radius:2.5rem}.rounded-xs{border-radius:.5rem}.rounded-xxl{border-radius:18.75rem}.border{border-width:1px}.border-brand-primary{border-color:var(--color-brand-primary)}.border-line-general{border-color:var(--color-line-general)}.bg-brand-primary{background-color:var(--color-brand-primary)}.bg-states-empty-bg-hover{background-color:var(--color-states-empty-bg-hover)}.bg-surface-body{background-color:var(--color-surface-body)}.bg-surface-on-body-brand{background-color:var(--color-surface-on-body-brand)}.p-24{padding:1.5rem}.px-4{padding-left:.25rem;padding-right:.25rem}.pt-8{padding-top:.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-label-medium-regular{font-size:1rem;font-weight:400;letter-spacing:0;line-height:20px}.text-label-small-regular{font-size:.875rem;font-weight:400;letter-spacing:0;line-height:16px}.capitalize{text-transform:capitalize}.text-neutral-neutral-1{color:var(--color-neutral-neutral-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)}.line-through{text-decoration-line:line-through}.opacity-50{opacity:.5}.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)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-states-empty-bg-hover:hover{background-color:var(--color-states-empty-bg-hover)}.mt-4{margin-top:.25rem}.hidden{display:none}.h-\[72px\]{height:72px}.cursor-pointer{cursor:pointer}.rounded-sm{border-radius:.75rem}.border-line-input{border-color:var(--color-line-input)}.bg-states-bg-disabled{background-color:var(--color-states-bg-disabled)}.bg-transparent{background-color:transparent}.px-16{padding-left:1rem;padding-right:1rem}.pr-12{padding-right:.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-feedback-error{color:var(--color-feedback-error)}.text-icon-disabled{color:var(--color-icon-disabled)}.text-icon-primary{color:var(--color-icon-primary)}.caret-brand-primary{caret-color:var(--color-brand-primary)}.outline-none{outline:2px solid transparent;outline-offset:2px}.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)}@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")}