@paperless/core 2.0.1-beta.13 → 2.0.1-beta.2

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 (169) hide show
  1. package/CHANGELOG.md +0 -137
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/p-1fc0a8b4.entry.js +2 -0
  5. package/dist/build/p-1fc0a8b4.entry.js.map +1 -0
  6. package/dist/build/p-79cc09c0.entry.js +2 -0
  7. package/dist/build/p-79cc09c0.entry.js.map +1 -0
  8. package/dist/build/p-7d5f6497.entry.js +2 -0
  9. package/dist/build/p-7d5f6497.entry.js.map +1 -0
  10. package/dist/build/p-95eadadd.entry.js +2 -0
  11. package/dist/build/p-95eadadd.entry.js.map +1 -0
  12. package/dist/build/p-af4aedaf.entry.js +2 -0
  13. package/dist/build/p-af4aedaf.entry.js.map +1 -0
  14. package/dist/build/p-b5430fae.entry.js +2 -0
  15. package/dist/build/p-b5430fae.entry.js.map +1 -0
  16. package/dist/build/paperless.esm.js +1 -1
  17. package/dist/build/paperless.esm.js.map +1 -1
  18. package/dist/cjs/index-02e05522.js +2 -6
  19. package/dist/cjs/index.cjs.js +22 -5
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/cjs/p-avatar.cjs.entry.js +4 -5
  23. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  24. package/dist/cjs/p-button_3.cjs.entry.js +14 -50
  25. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  26. package/dist/cjs/p-dropdown_2.cjs.entry.js +2 -6
  27. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  28. package/dist/cjs/p-navbar.cjs.entry.js +3 -2
  29. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  30. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -2819
  31. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  32. package/dist/cjs/p-profile.cjs.entry.js +16 -16
  33. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  34. package/dist/cjs/paperless.cjs.js +1 -1
  35. package/dist/collection/collection-manifest.json +0 -1
  36. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
  37. package/dist/collection/components/atoms/avatar/avatar.component.js +5 -5
  38. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
  39. package/dist/collection/components/atoms/icon/icon.component.js +2 -2
  40. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
  41. package/dist/collection/components/molecules/button/button.component.css +1 -1
  42. package/dist/collection/components/molecules/button/button.component.js +14 -85
  43. package/dist/collection/components/molecules/button/button.component.js.map +1 -1
  44. package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -6
  45. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  46. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -24
  47. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  48. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  49. package/dist/collection/components/molecules/profile/profile.component.js +34 -25
  50. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  51. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  52. package/dist/collection/components/organisms/navbar/navbar.component.js +24 -1
  53. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  54. package/dist/components/avatar.component.js +4 -5
  55. package/dist/components/avatar.component.js.map +1 -1
  56. package/dist/components/button.component.js +14 -52
  57. package/dist/components/button.component.js.map +1 -1
  58. package/dist/components/dropdown.component.js +2 -6
  59. package/dist/components/dropdown.component.js.map +1 -1
  60. package/dist/components/icon.component.js +1 -1
  61. package/dist/components/icon.component.js.map +1 -1
  62. package/dist/components/index.js +18 -1
  63. package/dist/components/index.js.map +1 -1
  64. package/dist/components/p-navbar.js +4 -2
  65. package/dist/components/p-navbar.js.map +1 -1
  66. package/dist/components/p-navigation-item.js +5 -2821
  67. package/dist/components/p-navigation-item.js.map +1 -1
  68. package/dist/components/p-navigation-title.js +27 -1
  69. package/dist/components/p-navigation-title.js.map +1 -1
  70. package/dist/components/p-profile.js +24 -35
  71. package/dist/components/p-profile.js.map +1 -1
  72. package/dist/esm/index-f99096d4.js +2 -6
  73. package/dist/esm/index.js +18 -1
  74. package/dist/esm/index.js.map +1 -1
  75. package/dist/esm/loader.js +1 -1
  76. package/dist/esm/p-avatar.entry.js +4 -5
  77. package/dist/esm/p-avatar.entry.js.map +1 -1
  78. package/dist/esm/p-button_3.entry.js +14 -50
  79. package/dist/esm/p-button_3.entry.js.map +1 -1
  80. package/dist/esm/p-dropdown_2.entry.js +2 -6
  81. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  82. package/dist/esm/p-navbar.entry.js +3 -2
  83. package/dist/esm/p-navbar.entry.js.map +1 -1
  84. package/dist/esm/p-navigation-item.entry.js +4 -2819
  85. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  86. package/dist/esm/p-profile.entry.js +16 -16
  87. package/dist/esm/p-profile.entry.js.map +1 -1
  88. package/dist/esm/paperless.js +1 -1
  89. package/dist/index.html +1 -1
  90. package/dist/paperless/index.esm.js +1 -1
  91. package/dist/paperless/index.esm.js.map +1 -1
  92. package/dist/paperless/p-1fc0a8b4.entry.js +2 -0
  93. package/dist/paperless/p-1fc0a8b4.entry.js.map +1 -0
  94. package/dist/paperless/p-79cc09c0.entry.js +2 -0
  95. package/dist/paperless/p-79cc09c0.entry.js.map +1 -0
  96. package/dist/paperless/p-7d5f6497.entry.js +2 -0
  97. package/dist/paperless/p-7d5f6497.entry.js.map +1 -0
  98. package/dist/paperless/p-95eadadd.entry.js +2 -0
  99. package/dist/paperless/p-95eadadd.entry.js.map +1 -0
  100. package/dist/paperless/p-af4aedaf.entry.js +2 -0
  101. package/dist/paperless/p-af4aedaf.entry.js.map +1 -0
  102. package/dist/paperless/p-b5430fae.entry.js +2 -0
  103. package/dist/paperless/p-b5430fae.entry.js.map +1 -0
  104. package/dist/paperless/paperless.esm.js +1 -1
  105. package/dist/paperless/paperless.esm.js.map +1 -1
  106. package/dist/sw.js +1 -1
  107. package/dist/sw.js.map +1 -1
  108. package/dist/types/components/molecules/button/button.component.d.ts +1 -9
  109. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +0 -4
  110. package/dist/types/components/molecules/profile/profile.component.d.ts +5 -2
  111. package/dist/types/components/organisms/navbar/navbar.component.d.ts +4 -0
  112. package/dist/types/components.d.ts +32 -55
  113. package/hydrate/index.js +48 -2942
  114. package/package.json +1 -1
  115. package/dist/build/p-190704d1.entry.js +0 -2
  116. package/dist/build/p-190704d1.entry.js.map +0 -1
  117. package/dist/build/p-5ab354bf.entry.js +0 -2
  118. package/dist/build/p-5ab354bf.entry.js.map +0 -1
  119. package/dist/build/p-60492c98.entry.js +0 -2
  120. package/dist/build/p-60492c98.entry.js.map +0 -1
  121. package/dist/build/p-64765a81.js +0 -2
  122. package/dist/build/p-64765a81.js.map +0 -1
  123. package/dist/build/p-aab1cda1.entry.js +0 -2
  124. package/dist/build/p-aab1cda1.entry.js.map +0 -1
  125. package/dist/build/p-cb8a454c.entry.js +0 -2
  126. package/dist/build/p-cb8a454c.entry.js.map +0 -1
  127. package/dist/build/p-d7dbd13e.entry.js +0 -2
  128. package/dist/build/p-d7dbd13e.entry.js.map +0 -1
  129. package/dist/build/p-ece8998b.entry.js +0 -2
  130. package/dist/build/p-ece8998b.entry.js.map +0 -1
  131. package/dist/cjs/_commonjsHelpers-4213291f.js +0 -24
  132. package/dist/cjs/_commonjsHelpers-4213291f.js.map +0 -1
  133. package/dist/cjs/p-navigation-section.cjs.entry.js +0 -23
  134. package/dist/cjs/p-navigation-section.cjs.entry.js.map +0 -1
  135. package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +0 -1
  136. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +0 -43
  137. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +0 -1
  138. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js +0 -26
  139. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js.map +0 -1
  140. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js +0 -17
  141. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js.map +0 -1
  142. package/dist/components/_commonjsHelpers.js +0 -21
  143. package/dist/components/_commonjsHelpers.js.map +0 -1
  144. package/dist/components/navigation-title.component.js +0 -31
  145. package/dist/components/navigation-title.component.js.map +0 -1
  146. package/dist/components/p-navigation-section.d.ts +0 -11
  147. package/dist/components/p-navigation-section.js +0 -44
  148. package/dist/components/p-navigation-section.js.map +0 -1
  149. package/dist/esm/_commonjsHelpers-e9b9b14e.js +0 -21
  150. package/dist/esm/_commonjsHelpers-e9b9b14e.js.map +0 -1
  151. package/dist/esm/p-navigation-section.entry.js +0 -19
  152. package/dist/esm/p-navigation-section.entry.js.map +0 -1
  153. package/dist/paperless/p-190704d1.entry.js +0 -2
  154. package/dist/paperless/p-190704d1.entry.js.map +0 -1
  155. package/dist/paperless/p-5ab354bf.entry.js +0 -2
  156. package/dist/paperless/p-5ab354bf.entry.js.map +0 -1
  157. package/dist/paperless/p-60492c98.entry.js +0 -2
  158. package/dist/paperless/p-60492c98.entry.js.map +0 -1
  159. package/dist/paperless/p-64765a81.js +0 -2
  160. package/dist/paperless/p-64765a81.js.map +0 -1
  161. package/dist/paperless/p-aab1cda1.entry.js +0 -2
  162. package/dist/paperless/p-aab1cda1.entry.js.map +0 -1
  163. package/dist/paperless/p-cb8a454c.entry.js +0 -2
  164. package/dist/paperless/p-cb8a454c.entry.js.map +0 -1
  165. package/dist/paperless/p-d7dbd13e.entry.js +0 -2
  166. package/dist/paperless/p-d7dbd13e.entry.js.map +0 -1
  167. package/dist/paperless/p-ece8998b.entry.js +0 -2
  168. package/dist/paperless/p-ece8998b.entry.js.map +0 -1
  169. package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +0 -7
package/hydrate/index.js CHANGED
@@ -5890,10 +5890,10 @@ const cva = (base, config)=>(props)=>{
5890
5890
  return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
5891
5891
  };
5892
5892
 
5893
- const avatarComponentCss = "*{box-sizing:border-box}.static{position:static!important}.z-0{z-index:0!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-10{height:2.5rem!important}.h-14{height:3.5rem!important}.h-20{height:5rem!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-\\[6\\.5rem\\]{height:6.5rem!important}.h-\\[8\\.5rem\\]{height:8.5rem!important}.h-full{height:100%!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-full{border-radius:9999px!important}.bg-off-white{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.object-cover{object-fit:cover!important}.p-\\[1px\\]{padding:1px!important}.font-ambit{font-family:Ambit,sans-serif!important}.text-4xl{font-size:2.5rem!important;line-height:3rem!important}.text-\\[3\\.5rem\\]{font-size:3.5rem!important}.text-\\[4\\.5rem\\]{font-size:4.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important}.text-xs,.text-xxs{line-height:1rem!important}.text-xxs{font-size:.5rem!important}.leading-\\[4rem\\]{line-height:4rem!important}.leading-\\[5rem\\]{line-height:5rem!important}.leading-none{line-height:1!important}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-inset{--tw-ring-inset:inset!important}.ring-black-teal\\/20{--tw-ring-color:rgba(3,42,36,.2)!important}";
5893
+ const avatarComponentCss = "*{box-sizing:border-box}.static{position:static!important}.z-0{z-index:0!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-10{height:2.5rem!important}.h-14{height:3.5rem!important}.h-20{height:5rem!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-\\[6\\.5rem\\]{height:6.5rem!important}.h-\\[8\\.5rem\\]{height:8.5rem!important}.h-full{height:100%!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-full{border-radius:9999px!important}.bg-off-white{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.object-cover{object-fit:cover!important}.p-\\[1px\\]{padding:1px!important}.text-4xl{font-size:2.5rem!important;line-height:3rem!important}.text-\\[3\\.5rem\\]{font-size:3.5rem!important}.text-\\[4\\.5rem\\]{font-size:4.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important}.text-xs,.text-xxs{line-height:1rem!important}.text-xxs{font-size:.5rem!important}.leading-\\[4rem\\]{line-height:4rem!important}.leading-\\[5rem\\]{line-height:5rem!important}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-inset{--tw-ring-inset:inset!important}.ring-black-teal\\/20{--tw-ring-color:rgba(3,42,36,.2)!important}";
5894
5894
 
5895
5895
  const avatar = cva([
5896
- 'p-avatar bg-off-white rounded-full aspect-branding ring-inset ring-1 ring-black-teal/20 p-[1px] flex items-center justify-center font-ambit leading-none',
5896
+ 'p-avatar bg-off-white rounded-full aspect-branding ring-inset ring-1 ring-black-teal/20 p-[1px] flex items-center justify-center',
5897
5897
  ], {
5898
5898
  variants: {
5899
5899
  size: {
@@ -5914,7 +5914,7 @@ class Avatar {
5914
5914
  this.size = 'base';
5915
5915
  this.defaultImage = undefined;
5916
5916
  this.src = undefined;
5917
- this.letters = undefined;
5917
+ this.letters = ' ';
5918
5918
  this._src = undefined;
5919
5919
  this._failed = false;
5920
5920
  }
@@ -5929,10 +5929,9 @@ class Avatar {
5929
5929
  }
5930
5930
  }
5931
5931
  render() {
5932
- var _a, _b;
5933
5932
  return (hAsync(Host, { class: avatar({
5934
5933
  size: this.size,
5935
- }) }, this._failed ? ((_b = (_a = this.letters) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : ' ') : (hAsync("img", { src: this._src, class: 'z-0 aspect-branding h-full rounded-full object-cover', onError: () => this._setFailed() }))));
5934
+ }) }, this._failed ? (this.letters) : (hAsync("img", { src: this._src, class: 'z-0 aspect-branding h-full rounded-full object-cover', onError: () => this._setFailed() }))));
5936
5935
  }
5937
5936
  _setFailed() {
5938
5937
  this._failed = true;
@@ -6101,7 +6100,7 @@ class Badge {
6101
6100
  }; }
6102
6101
  }
6103
6102
 
6104
- const buttonComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-10{width:2.5rem!important}.w-6{width:1.5rem!important}.w-8{width:2rem!important}.w-inherit{width:inherit!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.cursor-wait{cursor:wait!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.rounded-e-lg{border-end-end-radius:.5rem!important;border-start-end-radius:.5rem!important}.rounded-s-lg{border-end-start-radius:.5rem!important;border-start-start-radius:.5rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-black-teal\\/10{border-color:rgba(3,42,36,.1)!important}.border-black-teal\\/20{border-color:rgba(3,42,36,.2)!important}.border-supportive-lilac-800{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.border-teal{border-color:rgb(8 136 121/var(--tw-border-opacity,1))!important}.border-teal,.border-teal-100{--tw-border-opacity:1!important}.border-teal-100{border-color:rgb(206 231 228/var(--tw-border-opacity,1))!important}.bg-supportive-lilac{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.leading-4{line-height:1rem!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.text-dark-teal-100\\/60{color:rgba(204,220,218,.6)!important}.text-teal{color:rgb(8 136 121/var(--tw-text-opacity,1))!important}.text-teal,.text-teal-100{--tw-text-opacity:1!important}.text-teal-100{color:rgb(206 231 228/var(--tw-text-opacity,1))!important}.underline{text-decoration-line:underline!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-black-teal\\/10{--tw-ring-color:rgba(3,42,36,.1)!important}.ring-supportive-lilac-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.drop-shadow-1{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.drop-shadow-1,.drop-shadow-supportive-lilac{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)!important}.drop-shadow-supportive-lilac{--tw-drop-shadow:drop-shadow(0px 1px 1px 0px rgba(189,140,255,.2))!important}.hover\\:bg-dark-teal:hover{--tw-bg-opacity:1!important;background-color:rgb(0 81 72/var(--tw-bg-opacity,1))!important}.hover\\:bg-supportive-lilac-700:hover{--tw-bg-opacity:1!important;background-color:rgb(200 159 255/var(--tw-bg-opacity,1))!important}.hover\\:bg-white-600:hover{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.hover\\:drop-shadow-1:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.hover\\:drop-shadow-1:hover,.hover\\:drop-shadow-2:hover{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)!important}.hover\\:drop-shadow-2:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.active\\:border-supportive-lilac-800:active{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.active\\:text-black-teal\\/60:active{color:rgba(3,42,36,.6)!important}.active\\:text-dark-teal-100\\/60:active{color:rgba(204,220,218,.6)!important}.active\\:text-teal-800:active{--tw-text-opacity:1!important;color:rgb(2 102 92/var(--tw-text-opacity,1))!important}.active\\:ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-2:active,.active\\:ring:active{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.active\\:ring-2:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-black-teal\\/10:active{--tw-ring-color:rgba(3,42,36,.1)!important}.active\\:ring-supportive-lilac-100:active{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}";
6103
+ const buttonComponentCss = "*{box-sizing:border-box}.static{position:static!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-10{width:2.5rem!important}.w-6{width:1.5rem!important}.w-8{width:2rem!important}.w-inherit{width:inherit!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.cursor-wait{cursor:wait!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.rounded-e-lg{border-end-end-radius:.5rem!important;border-start-end-radius:.5rem!important}.rounded-s-lg{border-end-start-radius:.5rem!important;border-start-start-radius:.5rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-black-teal\\/10{border-color:rgba(3,42,36,.1)!important}.border-black-teal\\/20{border-color:rgba(3,42,36,.2)!important}.border-teal{border-color:rgb(8 136 121/var(--tw-border-opacity,1))!important}.border-teal,.border-teal-100{--tw-border-opacity:1!important}.border-teal-100{border-color:rgb(206 231 228/var(--tw-border-opacity,1))!important}.bg-supportive-lilac{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.leading-4{line-height:1rem!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.text-dark-teal-100\\/60{color:rgba(204,220,218,.6)!important}.text-teal{color:rgb(8 136 121/var(--tw-text-opacity,1))!important}.text-teal,.text-teal-100{--tw-text-opacity:1!important}.text-teal-100{color:rgb(206 231 228/var(--tw-text-opacity,1))!important}.underline{text-decoration-line:underline!important}.drop-shadow-1{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.drop-shadow-1,.drop-shadow-supportive-lilac{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)!important}.drop-shadow-supportive-lilac{--tw-drop-shadow:drop-shadow(0px 1px 1px 0px rgba(189,140,255,.2))!important}.hover\\:bg-dark-teal:hover{--tw-bg-opacity:1!important;background-color:rgb(0 81 72/var(--tw-bg-opacity,1))!important}.hover\\:bg-supportive-lilac-700:hover{--tw-bg-opacity:1!important;background-color:rgb(200 159 255/var(--tw-bg-opacity,1))!important}.hover\\:bg-white-600:hover{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.hover\\:drop-shadow-1:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08))!important}.hover\\:drop-shadow-1:hover,.hover\\:drop-shadow-2:hover{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)!important}.hover\\:drop-shadow-2:hover{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.active\\:border-supportive-lilac-800:active{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.active\\:text-black-teal\\/60:active{color:rgba(3,42,36,.6)!important}.active\\:text-dark-teal-100\\/60:active{color:rgba(204,220,218,.6)!important}.active\\:text-teal-800:active{--tw-text-opacity:1!important;color:rgb(2 102 92/var(--tw-text-opacity,1))!important}.active\\:ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-2:active,.active\\:ring:active{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.active\\:ring-2:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.active\\:ring-black-teal\\/10:active{--tw-ring-color:rgba(3,42,36,.1)!important}.active\\:ring-supportive-lilac-100:active{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}";
6105
6104
 
6106
6105
  const button = cva([
6107
6106
  'group',
@@ -6112,10 +6111,9 @@ const button = cva([
6112
6111
  variants: {
6113
6112
  variant: {
6114
6113
  primary: ['bg-supportive-lilac border-black-teal/20'],
6115
- secondary: null,
6114
+ secondary: ['bg-white border-black-teal/10'],
6116
6115
  text: ['text-teal'],
6117
6116
  transparent: ['bg-transparent'],
6118
- dropdown: null,
6119
6117
  },
6120
6118
  active: {
6121
6119
  true: null,
@@ -6152,44 +6150,33 @@ const button = cva([
6152
6150
  compoundVariants: [
6153
6151
  // variants
6154
6152
  {
6155
- variant: ['secondary', 'dropdown'],
6156
- class: ['bg-white border-black-teal/10'],
6157
- },
6158
- {
6159
- variant: ['primary', 'secondary', 'dropdown'],
6153
+ variant: ['primary', 'secondary'],
6160
6154
  disabled: false,
6161
6155
  class: 'border',
6162
6156
  },
6163
6157
  {
6164
- variant: ['primary', 'secondary', 'dropdown'],
6165
- disabled: false,
6166
- loading: false,
6167
- class: 'active:border-supportive-lilac-800 active:ring active:ring-2',
6168
- },
6169
- {
6170
- variant: ['primary', 'secondary', 'dropdown'],
6158
+ variant: ['primary', 'secondary'],
6171
6159
  disabled: false,
6172
6160
  loading: false,
6173
- active: true,
6174
- class: 'border-supportive-lilac-800 ring ring-2',
6161
+ class: 'active:border-supportive-lilac-800 active:ring active:ring-2 ',
6175
6162
  },
6176
6163
  {
6177
- variant: ['primary', 'secondary', 'transparent', 'dropdown'],
6164
+ variant: ['primary', 'secondary', 'transparent'],
6178
6165
  buttonGroupPosition: 'none',
6179
6166
  class: 'rounded-lg',
6180
6167
  },
6181
6168
  {
6182
- variant: ['primary', 'secondary', 'transparent', 'dropdown'],
6169
+ variant: ['primary', 'secondary', 'transparent'],
6183
6170
  buttonGroupPosition: 'start',
6184
6171
  class: 'rounded-s-lg',
6185
6172
  },
6186
6173
  {
6187
- variant: ['primary', 'secondary', 'transparent', 'dropdown'],
6174
+ variant: ['primary', 'secondary', 'transparent'],
6188
6175
  buttonGroupPosition: 'end',
6189
6176
  class: 'rounded-e-lg',
6190
6177
  },
6191
6178
  {
6192
- variant: ['primary', 'secondary', 'dropdown'],
6179
+ variant: ['primary', 'secondary'],
6193
6180
  disabled: false,
6194
6181
  class: 'text-black-teal',
6195
6182
  },
@@ -6205,30 +6192,16 @@ const button = cva([
6205
6192
  class: 'drop-shadow-supportive-lilac hover:drop-shadow-2 hover:bg-supportive-lilac-700 active:text-black-teal/60 active:ring-black-teal/10',
6206
6193
  },
6207
6194
  {
6208
- variant: 'primary',
6209
- disabled: false,
6210
- loading: false,
6211
- active: true,
6212
- class: 'ring-black-teal/10',
6213
- },
6214
- {
6215
- variant: ['secondary', 'dropdown'],
6195
+ variant: 'secondary',
6216
6196
  disabled: true,
6217
6197
  class: 'border bg-white-600 text-black-teal-100',
6218
6198
  },
6219
6199
  {
6220
- variant: ['secondary', 'dropdown'],
6200
+ variant: 'secondary',
6221
6201
  disabled: false,
6222
6202
  loading: false,
6223
6203
  class: 'drop-shadow-1 hover:drop-shadow-1 hover:bg-white-600 active:text-black-teal/60 active:ring-supportive-lilac-100',
6224
6204
  },
6225
- {
6226
- variant: ['secondary', 'dropdown'],
6227
- disabled: false,
6228
- loading: false,
6229
- active: true,
6230
- class: 'ring-supportive-lilac-100',
6231
- },
6232
6205
  {
6233
6206
  variant: 'text',
6234
6207
  underline: true,
@@ -6281,12 +6254,6 @@ const button = cva([
6281
6254
  class: 'px-3',
6282
6255
  },
6283
6256
  {
6284
- variant: 'dropdown',
6285
- iconOnly: false,
6286
- class: 'p-2',
6287
- },
6288
- {
6289
- variant: ['primary', 'secondary', 'transparent', 'text'],
6290
6257
  iconOnly: false,
6291
6258
  class: 'py-1',
6292
6259
  },
@@ -6322,7 +6289,6 @@ class Button {
6322
6289
  this.onClick = createEvent(this, "onClick", 3);
6323
6290
  this.as = 'button';
6324
6291
  this.variant = 'primary';
6325
- this.active = false;
6326
6292
  this.underline = true;
6327
6293
  this.href = undefined;
6328
6294
  this.target = undefined;
@@ -6339,10 +6305,9 @@ class Button {
6339
6305
  this.iconRotate = undefined;
6340
6306
  this.inheritText = false;
6341
6307
  this.buttonGroupPosition = 'none';
6342
- this.class = undefined;
6343
6308
  }
6344
6309
  render() {
6345
- var _a, _b;
6310
+ var _a;
6346
6311
  let loaderColor = 'white';
6347
6312
  switch (this.variant) {
6348
6313
  case 'secondary':
@@ -6355,8 +6320,7 @@ class Button {
6355
6320
  const VariableTag = this.variant === 'text' || ((_a = this.href) === null || _a === void 0 ? void 0 : _a.length) || this.as === 'a'
6356
6321
  ? 'a'
6357
6322
  : 'button';
6358
- const active = this.active || ((_b = this.class) === null || _b === void 0 ? void 0 : _b.includes('active'));
6359
- return (hAsync(Host, { class: 'p-button block' }, hAsync(VariableTag, { disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
6323
+ return (hAsync(Host, { class: 'p-button inline-block' }, hAsync(VariableTag, { disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
6360
6324
  variant: this.variant,
6361
6325
  size: this.size,
6362
6326
  underline: this.underline,
@@ -6364,7 +6328,6 @@ class Button {
6364
6328
  disabled: this.disabled,
6365
6329
  buttonGroupPosition: this.buttonGroupPosition,
6366
6330
  iconOnly: this.iconOnly,
6367
- active,
6368
6331
  }) }, this.chevron && this.chevronPosition === 'start' && (hAsync("p-icon", { variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
6369
6332
  this.iconPosition === 'start' &&
6370
6333
  !(this.iconOnly && this.loading) &&
@@ -6396,7 +6359,6 @@ class Button {
6396
6359
  "$members$": {
6397
6360
  "as": [1],
6398
6361
  "variant": [1],
6399
- "active": [4],
6400
6362
  "underline": [4],
6401
6363
  "href": [1],
6402
6364
  "target": [1],
@@ -6412,8 +6374,7 @@ class Button {
6412
6374
  "iconFlip": [1, "icon-flip"],
6413
6375
  "iconRotate": [2, "icon-rotate"],
6414
6376
  "inheritText": [4, "inherit-text"],
6415
- "buttonGroupPosition": [1, "button-group-position"],
6416
- "class": [1]
6377
+ "buttonGroupPosition": [1, "button-group-position"]
6417
6378
  },
6418
6379
  "$listeners$": [[2, "click", "handleClick"]],
6419
6380
  "$lazyBundleId$": "-",
@@ -21565,11 +21526,11 @@ class Dropdown {
21565
21526
  }
21566
21527
  }
21567
21528
  render() {
21568
- return (hAsync(Host, { class: 'p-dropdown relative' }, hAsync("div", { class: 'relative w-inherit', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, hAsync("slot", { name: 'trigger' })), hAsync("p-dropdown-menu-container", { class: dropdownContainer({
21529
+ return (hAsync(Host, { class: 'p-dropdown relative w-inherit' }, hAsync("div", { class: 'relative w-inherit', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, hAsync("slot", { name: 'trigger' })), hAsync("p-dropdown-menu-container", { class: dropdownContainer({
21569
21530
  strategy: this.strategy,
21570
21531
  }), role: 'popover', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, ref: el => this._load(el), "data-placement": this.placement, "data-strategy": this.strategy, onClick: () => this._containerClickHandler(), scrollable: this.scrollable }, hAsync("slot", { name: 'items' }))));
21571
21532
  }
21572
- _checkButton(active = false) {
21533
+ _checkButton() {
21573
21534
  if (!this.applyChevron) {
21574
21535
  return;
21575
21536
  }
@@ -21581,8 +21542,6 @@ class Dropdown {
21581
21542
  : this.placement.indexOf('top') >= 0
21582
21543
  ? 'up'
21583
21544
  : 'down';
21584
- button.disabled = this.disableTriggerClick;
21585
- button.active = active;
21586
21545
  }
21587
21546
  }
21588
21547
  onShowChange(show) {
@@ -21640,7 +21599,6 @@ class Dropdown {
21640
21599
  this._cleanup = autoUpdate(this._el, this._menu, () => this._update());
21641
21600
  this._menu.setAttribute('data-show', '');
21642
21601
  this.isOpen.emit(true);
21643
- this._checkButton(true);
21644
21602
  }
21645
21603
  _hide() {
21646
21604
  if (!this._loaded || this.show) {
@@ -21653,7 +21611,6 @@ class Dropdown {
21653
21611
  // Hide the popover
21654
21612
  this._menu.removeAttribute('data-show');
21655
21613
  this.isOpen.emit(false);
21656
- this._checkButton(false);
21657
21614
  }
21658
21615
  _update() {
21659
21616
  if (!this._menu) {
@@ -22005,7 +21962,7 @@ class Icon$1 {
22005
21962
  constructor(hostRef) {
22006
21963
  registerInstance(this, hostRef);
22007
21964
  this.variant = undefined;
22008
- this.size = 'base';
21965
+ this.size = 'auto';
22009
21966
  this.rotate = 0;
22010
21967
  this.flip = 'none';
22011
21968
  }
@@ -22708,7 +22665,7 @@ class ModalHeader {
22708
22665
  }; }
22709
22666
  }
22710
22667
 
22711
- const navbarComponentCss = "/*!@**/*.sc-p-navbar{box-sizing:border-box}/*!@:host .safe-sidebar*/.sc-p-navbar-h .safe-sidebar.sc-p-navbar{padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}/*!@:host .safe-sidebar.show*/.sc-p-navbar-h .safe-sidebar.show.sc-p-navbar{--tw-translate-x:env(safe-area-inset-left,0)!important}/*!@:host .safe-topbar*/.sc-p-navbar-h .safe-topbar.sc-p-navbar{height:calc(env(safe-area-inset-top, 0) + 4rem);padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}/*!@.pointer-events-none*/.pointer-events-none.sc-p-navbar{pointer-events:none!important}/*!@.static*/.static.sc-p-navbar{position:static!important}/*!@.fixed*/.fixed.sc-p-navbar{position:fixed!important}/*!@.relative*/.relative.sc-p-navbar{position:relative!important}/*!@.left-0*/.left-0.sc-p-navbar{left:0!important}/*!@.top-0*/.top-0.sc-p-navbar{top:0!important}/*!@.z-navbar*/.z-navbar.sc-p-navbar{z-index:300!important}/*!@.z-navbar-backdrop*/.z-navbar-backdrop.sc-p-navbar{z-index:290!important}/*!@.z-navbar-topbar*/.z-navbar-topbar.sc-p-navbar{z-index:280!important}/*!@.mt-auto*/.mt-auto.sc-p-navbar{margin-top:auto!important}/*!@.flex*/.flex.sc-p-navbar{display:flex!important}/*!@.hidden*/.hidden.sc-p-navbar{display:none!important}/*!@.h-screen*/.h-screen.sc-p-navbar{height:100vh!important}/*!@.w-60*/.w-60.sc-p-navbar{width:15rem!important}/*!@.w-full*/.w-full.sc-p-navbar{width:100%!important}/*!@.max-w-\\[16\\.5rem\\]*/.max-w-\\[16\\.5rem\\].sc-p-navbar{max-width:16.5rem!important}/*!@.-translate-x-full*/.-translate-x-full.sc-p-navbar{--tw-translate-x:-100%!important;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))!important}/*!@.transform-gpu*/.transform-gpu.sc-p-navbar{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}/*!@.flex-col*/.flex-col.sc-p-navbar{flex-direction:column!important}/*!@.items-center*/.items-center.sc-p-navbar{align-items:center!important}/*!@.items-stretch*/.items-stretch.sc-p-navbar{align-items:stretch!important}/*!@.justify-between*/.justify-between.sc-p-navbar{justify-content:space-between!important}/*!@.gap-6*/.gap-6.sc-p-navbar{gap:1.5rem!important}/*!@.overflow-y-auto*/.overflow-y-auto.sc-p-navbar{overflow-y:auto!important}/*!@.border-0*/.border-0.sc-p-navbar{border-width:0!important}/*!@.border-b*/.border-b.sc-p-navbar{border-bottom-width:1px!important}/*!@.border-r*/.border-r.sc-p-navbar{border-right-width:1px!important}/*!@.border-solid*/.border-solid.sc-p-navbar{border-style:solid!important}/*!@.border-off-white-700*/.border-off-white-700.sc-p-navbar{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}/*!@.bg-off-white-300*/.bg-off-white-300.sc-p-navbar{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}/*!@.p-4*/.p-4.sc-p-navbar{padding:1rem!important}/*!@.opacity-0*/.opacity-0.sc-p-navbar{opacity:0!important}/*!@.opacity-100*/.opacity-100.sc-p-navbar{opacity:1!important}/*!@.transition-all*/.transition-all.sc-p-navbar{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}/*!@.transition-opacity*/.transition-opacity.sc-p-navbar{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}/*!@.will-change-transform*/.will-change-transform.sc-p-navbar{will-change:transform!important}/*!@.max-h-screen-safe*/.max-h-screen-safe.sc-p-navbar{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}@media (min-width:80rem){/*!@.layout-1280\\:relative*/.layout-1280\\:relative.sc-p-navbar{position:relative!important}/*!@.layout-1280\\:z-0*/.layout-1280\\:z-0.sc-p-navbar{z-index:0!important}/*!@.layout-1280\\:flex*/.layout-1280\\:flex.sc-p-navbar{display:flex!important}/*!@.layout-1280\\:hidden*/.layout-1280\\:hidden.sc-p-navbar{display:none!important}/*!@.layout-1280\\:h-full*/.layout-1280\\:h-full.sc-p-navbar{height:100%!important}/*!@.layout-1280\\:w-60*/.layout-1280\\:w-60.sc-p-navbar{width:15rem!important}/*!@.layout-1280\\:max-w-none*/.layout-1280\\:max-w-none.sc-p-navbar{max-width:none!important}/*!@.layout-1280\\:translate-x-0*/.layout-1280\\:translate-x-0.sc-p-navbar{--tw-translate-x:0px!important;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))!important}}@media (min-width:105rem){/*!@.layout-1680\\:w-72*/.layout-1680\\:w-72.sc-p-navbar{width:18rem!important}}";
22668
+ const navbarComponentCss = "/*!@**/*.sc-p-navbar{box-sizing:border-box}/*!@:host .safe-sidebar*/.sc-p-navbar-h .safe-sidebar.sc-p-navbar{padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}/*!@:host .safe-sidebar.show*/.sc-p-navbar-h .safe-sidebar.show.sc-p-navbar{--tw-translate-x:env(safe-area-inset-left,0)!important}/*!@:host .safe-topbar*/.sc-p-navbar-h .safe-topbar.sc-p-navbar{height:calc(env(safe-area-inset-top, 0) + 4rem);padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}/*!@.pointer-events-none*/.pointer-events-none.sc-p-navbar{pointer-events:none!important}/*!@.static*/.static.sc-p-navbar{position:static!important}/*!@.fixed*/.fixed.sc-p-navbar{position:fixed!important}/*!@.relative*/.relative.sc-p-navbar{position:relative!important}/*!@.left-0*/.left-0.sc-p-navbar{left:0!important}/*!@.top-0*/.top-0.sc-p-navbar{top:0!important}/*!@.z-navbar*/.z-navbar.sc-p-navbar{z-index:300!important}/*!@.z-navbar-backdrop*/.z-navbar-backdrop.sc-p-navbar{z-index:290!important}/*!@.z-navbar-topbar*/.z-navbar-topbar.sc-p-navbar{z-index:280!important}/*!@.m-0*/.m-0.sc-p-navbar{margin:0!important}/*!@.mt-auto*/.mt-auto.sc-p-navbar{margin-top:auto!important}/*!@.flex*/.flex.sc-p-navbar{display:flex!important}/*!@.hidden*/.hidden.sc-p-navbar{display:none!important}/*!@.h-screen*/.h-screen.sc-p-navbar{height:100vh!important}/*!@.w-60*/.w-60.sc-p-navbar{width:15rem!important}/*!@.w-full*/.w-full.sc-p-navbar{width:100%!important}/*!@.max-w-\\[16\\.5rem\\]*/.max-w-\\[16\\.5rem\\].sc-p-navbar{max-width:16.5rem!important}/*!@.-translate-x-full*/.-translate-x-full.sc-p-navbar{--tw-translate-x:-100%!important;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))!important}/*!@.transform-gpu*/.transform-gpu.sc-p-navbar{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}/*!@.flex-col*/.flex-col.sc-p-navbar{flex-direction:column!important}/*!@.items-center*/.items-center.sc-p-navbar{align-items:center!important}/*!@.items-stretch*/.items-stretch.sc-p-navbar{align-items:stretch!important}/*!@.justify-between*/.justify-between.sc-p-navbar{justify-content:space-between!important}/*!@.gap-6*/.gap-6.sc-p-navbar{gap:1.5rem!important}/*!@.overflow-y-auto*/.overflow-y-auto.sc-p-navbar{overflow-y:auto!important}/*!@.border-0*/.border-0.sc-p-navbar{border-width:0!important}/*!@.border-b*/.border-b.sc-p-navbar{border-bottom-width:1px!important}/*!@.border-r*/.border-r.sc-p-navbar{border-right-width:1px!important}/*!@.border-solid*/.border-solid.sc-p-navbar{border-style:solid!important}/*!@.border-off-white-700*/.border-off-white-700.sc-p-navbar{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}/*!@.bg-off-white-300*/.bg-off-white-300.sc-p-navbar{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}/*!@.p-4*/.p-4.sc-p-navbar{padding:1rem!important}/*!@.text-xl*/.text-xl.sc-p-navbar{font-size:1.25rem!important;line-height:1.75rem!important}/*!@.font-semibold*/.font-semibold.sc-p-navbar{font-weight:600!important}/*!@.text-storm-dark*/.text-storm-dark.sc-p-navbar{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity,1))!important}/*!@.opacity-0*/.opacity-0.sc-p-navbar{opacity:0!important}/*!@.opacity-100*/.opacity-100.sc-p-navbar{opacity:1!important}/*!@.transition-all*/.transition-all.sc-p-navbar{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}/*!@.transition-opacity*/.transition-opacity.sc-p-navbar{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}/*!@.will-change-transform*/.will-change-transform.sc-p-navbar{will-change:transform!important}/*!@.max-h-screen-safe*/.max-h-screen-safe.sc-p-navbar{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}@media (min-width:80rem){/*!@.layout-1280\\:relative*/.layout-1280\\:relative.sc-p-navbar{position:relative!important}/*!@.layout-1280\\:z-0*/.layout-1280\\:z-0.sc-p-navbar{z-index:0!important}/*!@.layout-1280\\:flex*/.layout-1280\\:flex.sc-p-navbar{display:flex!important}/*!@.layout-1280\\:hidden*/.layout-1280\\:hidden.sc-p-navbar{display:none!important}/*!@.layout-1280\\:h-full*/.layout-1280\\:h-full.sc-p-navbar{height:100%!important}/*!@.layout-1280\\:w-60*/.layout-1280\\:w-60.sc-p-navbar{width:15rem!important}/*!@.layout-1280\\:max-w-none*/.layout-1280\\:max-w-none.sc-p-navbar{max-width:none!important}/*!@.layout-1280\\:translate-x-0*/.layout-1280\\:translate-x-0.sc-p-navbar{--tw-translate-x:0px!important;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))!important}}@media (min-width:105rem){/*!@.layout-1680\\:w-72*/.layout-1680\\:w-72.sc-p-navbar{width:18rem!important}}";
22712
22669
 
22713
22670
  const sidebarAndTopbar = cva([
22714
22671
  'bg-off-white-300',
@@ -22752,10 +22709,11 @@ const backdrop = cva(['z-navbar-backdrop layout-1280:hidden transition-opacity']
22752
22709
  class Navbar {
22753
22710
  constructor(hostRef) {
22754
22711
  registerInstance(this, hostRef);
22712
+ this.menuText = 'Menu';
22755
22713
  this._show = false;
22756
22714
  }
22757
22715
  render() {
22758
- return (hAsync(Host, { class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, hAsync("p-backdrop", { class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { class: 'flex w-full items-center justify-between layout-1280:hidden' }, hAsync("p-button", { variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), hAsync("div", { class: 'flex w-full flex-col items-stretch' }, hAsync("slot", { name: 'company' })), hAsync("div", { class: 'flex w-full flex-col gap-6 overflow-y-auto' }, hAsync("slot", { name: 'content' })), hAsync("div", { class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, hAsync("slot", { name: 'user' }))), hAsync("div", { class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), hAsync("slot", { name: 'topbar' }))));
22716
+ return (hAsync(Host, { class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, hAsync("p-backdrop", { class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { class: 'flex w-full items-center justify-between layout-1280:hidden' }, hAsync("p", { class: 'm-0 text-xl font-semibold text-storm-dark' }, this.menuText), hAsync("p-button", { variant: 'secondary', icon: 'negative', iconPosition: 'end', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), hAsync("div", { class: 'flex w-full flex-col items-stretch' }, hAsync("slot", { name: 'company' })), hAsync("div", { class: 'flex w-full flex-col gap-6 overflow-y-auto' }, hAsync("slot", { name: 'content' })), hAsync("div", { class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, hAsync("slot", { name: 'user' }))), hAsync("div", { class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { variant: 'secondary', iconOnly: true, icon: 'menu', size: 'sm', onClick: () => (this._show = true) }), hAsync("slot", { name: 'topbar' }))));
22759
22717
  }
22760
22718
  handleCloseNavbar() {
22761
22719
  this._show = false;
@@ -22768,6 +22726,7 @@ class Navbar {
22768
22726
  "$flags$": 9,
22769
22727
  "$tagName$": "p-navbar",
22770
22728
  "$members$": {
22729
+ "menuText": [1, "menu-text"],
22771
22730
  "_show": [32]
22772
22731
  },
22773
22732
  "$listeners$": [[8, "closeNavbar", "handleCloseNavbar"], [8, "openNavbar", "handleOpenNavbar"]],
@@ -22776,2831 +22735,6 @@ class Navbar {
22776
22735
  }; }
22777
22736
  }
22778
22737
 
22779
- function createCommonjsModule(fn, basedir, module) {
22780
- return module = {
22781
- path: basedir,
22782
- exports: {},
22783
- require: function (path, base) {
22784
- return commonjsRequire();
22785
- }
22786
- }, fn(module, module.exports), module.exports;
22787
- }
22788
-
22789
- function commonjsRequire () {
22790
- throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
22791
- }
22792
-
22793
- var bundleCjs = createCommonjsModule(function (module, exports) {
22794
-
22795
- Object.defineProperty(exports, Symbol.toStringTag, {
22796
- value: 'Module'
22797
- });
22798
- const CLASS_PART_SEPARATOR = '-';
22799
- const createClassGroupUtils = config => {
22800
- const classMap = createClassMap(config);
22801
- const {
22802
- conflictingClassGroups,
22803
- conflictingClassGroupModifiers
22804
- } = config;
22805
- const getClassGroupId = className => {
22806
- const classParts = className.split(CLASS_PART_SEPARATOR);
22807
- // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and remove it from classParts.
22808
- if (classParts[0] === '' && classParts.length !== 1) {
22809
- classParts.shift();
22810
- }
22811
- return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
22812
- };
22813
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
22814
- const conflicts = conflictingClassGroups[classGroupId] || [];
22815
- if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
22816
- return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
22817
- }
22818
- return conflicts;
22819
- };
22820
- return {
22821
- getClassGroupId,
22822
- getConflictingClassGroupIds
22823
- };
22824
- };
22825
- const getGroupRecursive = (classParts, classPartObject) => {
22826
- if (classParts.length === 0) {
22827
- return classPartObject.classGroupId;
22828
- }
22829
- const currentClassPart = classParts[0];
22830
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
22831
- const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : undefined;
22832
- if (classGroupFromNextClassPart) {
22833
- return classGroupFromNextClassPart;
22834
- }
22835
- if (classPartObject.validators.length === 0) {
22836
- return undefined;
22837
- }
22838
- const classRest = classParts.join(CLASS_PART_SEPARATOR);
22839
- return classPartObject.validators.find(({
22840
- validator
22841
- }) => validator(classRest))?.classGroupId;
22842
- };
22843
- const arbitraryPropertyRegex = /^\[(.+)\]$/;
22844
- const getGroupIdForArbitraryProperty = className => {
22845
- if (arbitraryPropertyRegex.test(className)) {
22846
- const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
22847
- const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(':'));
22848
- if (property) {
22849
- // I use two dots here because one dot is used as prefix for class groups in plugins
22850
- return 'arbitrary..' + property;
22851
- }
22852
- }
22853
- };
22854
- /**
22855
- * Exported for testing only
22856
- */
22857
- const createClassMap = config => {
22858
- const {
22859
- theme,
22860
- classGroups
22861
- } = config;
22862
- const classMap = {
22863
- nextPart: new Map(),
22864
- validators: []
22865
- };
22866
- for (const classGroupId in classGroups) {
22867
- processClassesRecursively(classGroups[classGroupId], classMap, classGroupId, theme);
22868
- }
22869
- return classMap;
22870
- };
22871
- const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
22872
- classGroup.forEach(classDefinition => {
22873
- if (typeof classDefinition === 'string') {
22874
- const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
22875
- classPartObjectToEdit.classGroupId = classGroupId;
22876
- return;
22877
- }
22878
- if (typeof classDefinition === 'function') {
22879
- if (isThemeGetter(classDefinition)) {
22880
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
22881
- return;
22882
- }
22883
- classPartObject.validators.push({
22884
- validator: classDefinition,
22885
- classGroupId
22886
- });
22887
- return;
22888
- }
22889
- Object.entries(classDefinition).forEach(([key, classGroup]) => {
22890
- processClassesRecursively(classGroup, getPart(classPartObject, key), classGroupId, theme);
22891
- });
22892
- });
22893
- };
22894
- const getPart = (classPartObject, path) => {
22895
- let currentClassPartObject = classPartObject;
22896
- path.split(CLASS_PART_SEPARATOR).forEach(pathPart => {
22897
- if (!currentClassPartObject.nextPart.has(pathPart)) {
22898
- currentClassPartObject.nextPart.set(pathPart, {
22899
- nextPart: new Map(),
22900
- validators: []
22901
- });
22902
- }
22903
- currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
22904
- });
22905
- return currentClassPartObject;
22906
- };
22907
- const isThemeGetter = func => func.isThemeGetter;
22908
-
22909
- // LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance
22910
- const createLruCache = maxCacheSize => {
22911
- if (maxCacheSize < 1) {
22912
- return {
22913
- get: () => undefined,
22914
- set: () => {}
22915
- };
22916
- }
22917
- let cacheSize = 0;
22918
- let cache = new Map();
22919
- let previousCache = new Map();
22920
- const update = (key, value) => {
22921
- cache.set(key, value);
22922
- cacheSize++;
22923
- if (cacheSize > maxCacheSize) {
22924
- cacheSize = 0;
22925
- previousCache = cache;
22926
- cache = new Map();
22927
- }
22928
- };
22929
- return {
22930
- get(key) {
22931
- let value = cache.get(key);
22932
- if (value !== undefined) {
22933
- return value;
22934
- }
22935
- if ((value = previousCache.get(key)) !== undefined) {
22936
- update(key, value);
22937
- return value;
22938
- }
22939
- },
22940
- set(key, value) {
22941
- if (cache.has(key)) {
22942
- cache.set(key, value);
22943
- } else {
22944
- update(key, value);
22945
- }
22946
- }
22947
- };
22948
- };
22949
- const IMPORTANT_MODIFIER = '!';
22950
- const MODIFIER_SEPARATOR = ':';
22951
- const MODIFIER_SEPARATOR_LENGTH = MODIFIER_SEPARATOR.length;
22952
- const createParseClassName = config => {
22953
- const {
22954
- prefix,
22955
- experimentalParseClassName
22956
- } = config;
22957
- /**
22958
- * Parse class name into parts.
22959
- *
22960
- * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
22961
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
22962
- */
22963
- let parseClassName = className => {
22964
- const modifiers = [];
22965
- let bracketDepth = 0;
22966
- let parenDepth = 0;
22967
- let modifierStart = 0;
22968
- let postfixModifierPosition;
22969
- for (let index = 0; index < className.length; index++) {
22970
- let currentCharacter = className[index];
22971
- if (bracketDepth === 0 && parenDepth === 0) {
22972
- if (currentCharacter === MODIFIER_SEPARATOR) {
22973
- modifiers.push(className.slice(modifierStart, index));
22974
- modifierStart = index + MODIFIER_SEPARATOR_LENGTH;
22975
- continue;
22976
- }
22977
- if (currentCharacter === '/') {
22978
- postfixModifierPosition = index;
22979
- continue;
22980
- }
22981
- }
22982
- if (currentCharacter === '[') {
22983
- bracketDepth++;
22984
- } else if (currentCharacter === ']') {
22985
- bracketDepth--;
22986
- } else if (currentCharacter === '(') {
22987
- parenDepth++;
22988
- } else if (currentCharacter === ')') {
22989
- parenDepth--;
22990
- }
22991
- }
22992
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
22993
- const baseClassName = stripImportantModifier(baseClassNameWithImportantModifier);
22994
- const hasImportantModifier = baseClassName !== baseClassNameWithImportantModifier;
22995
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
22996
- return {
22997
- modifiers,
22998
- hasImportantModifier,
22999
- baseClassName,
23000
- maybePostfixModifierPosition
23001
- };
23002
- };
23003
- if (prefix) {
23004
- const fullPrefix = prefix + MODIFIER_SEPARATOR;
23005
- const parseClassNameOriginal = parseClassName;
23006
- parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.substring(fullPrefix.length)) : {
23007
- isExternal: true,
23008
- modifiers: [],
23009
- hasImportantModifier: false,
23010
- baseClassName: className,
23011
- maybePostfixModifierPosition: undefined
23012
- };
23013
- }
23014
- if (experimentalParseClassName) {
23015
- const parseClassNameOriginal = parseClassName;
23016
- parseClassName = className => experimentalParseClassName({
23017
- className,
23018
- parseClassName: parseClassNameOriginal
23019
- });
23020
- }
23021
- return parseClassName;
23022
- };
23023
- const stripImportantModifier = baseClassName => {
23024
- if (baseClassName.endsWith(IMPORTANT_MODIFIER)) {
23025
- return baseClassName.substring(0, baseClassName.length - 1);
23026
- }
23027
- /**
23028
- * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
23029
- * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
23030
- */
23031
- if (baseClassName.startsWith(IMPORTANT_MODIFIER)) {
23032
- return baseClassName.substring(1);
23033
- }
23034
- return baseClassName;
23035
- };
23036
-
23037
- /**
23038
- * Sorts modifiers according to following schema:
23039
- * - Predefined modifiers are sorted alphabetically
23040
- * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
23041
- */
23042
- const createSortModifiers = config => {
23043
- const orderSensitiveModifiers = Object.fromEntries(config.orderSensitiveModifiers.map(modifier => [modifier, true]));
23044
- const sortModifiers = modifiers => {
23045
- if (modifiers.length <= 1) {
23046
- return modifiers;
23047
- }
23048
- const sortedModifiers = [];
23049
- let unsortedModifiers = [];
23050
- modifiers.forEach(modifier => {
23051
- const isPositionSensitive = modifier[0] === '[' || orderSensitiveModifiers[modifier];
23052
- if (isPositionSensitive) {
23053
- sortedModifiers.push(...unsortedModifiers.sort(), modifier);
23054
- unsortedModifiers = [];
23055
- } else {
23056
- unsortedModifiers.push(modifier);
23057
- }
23058
- });
23059
- sortedModifiers.push(...unsortedModifiers.sort());
23060
- return sortedModifiers;
23061
- };
23062
- return sortModifiers;
23063
- };
23064
- const createConfigUtils = config => ({
23065
- cache: createLruCache(config.cacheSize),
23066
- parseClassName: createParseClassName(config),
23067
- sortModifiers: createSortModifiers(config),
23068
- ...createClassGroupUtils(config)
23069
- });
23070
- const SPLIT_CLASSES_REGEX = /\s+/;
23071
- const mergeClassList = (classList, configUtils) => {
23072
- const {
23073
- parseClassName,
23074
- getClassGroupId,
23075
- getConflictingClassGroupIds,
23076
- sortModifiers
23077
- } = configUtils;
23078
- /**
23079
- * Set of classGroupIds in following format:
23080
- * `{importantModifier}{variantModifiers}{classGroupId}`
23081
- * @example 'float'
23082
- * @example 'hover:focus:bg-color'
23083
- * @example 'md:!pr'
23084
- */
23085
- const classGroupsInConflict = [];
23086
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
23087
- let result = '';
23088
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
23089
- const originalClassName = classNames[index];
23090
- const {
23091
- isExternal,
23092
- modifiers,
23093
- hasImportantModifier,
23094
- baseClassName,
23095
- maybePostfixModifierPosition
23096
- } = parseClassName(originalClassName);
23097
- if (isExternal) {
23098
- result = originalClassName + (result.length > 0 ? ' ' + result : result);
23099
- continue;
23100
- }
23101
- let hasPostfixModifier = !!maybePostfixModifierPosition;
23102
- let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
23103
- if (!classGroupId) {
23104
- if (!hasPostfixModifier) {
23105
- // Not a Tailwind class
23106
- result = originalClassName + (result.length > 0 ? ' ' + result : result);
23107
- continue;
23108
- }
23109
- classGroupId = getClassGroupId(baseClassName);
23110
- if (!classGroupId) {
23111
- // Not a Tailwind class
23112
- result = originalClassName + (result.length > 0 ? ' ' + result : result);
23113
- continue;
23114
- }
23115
- hasPostfixModifier = false;
23116
- }
23117
- const variantModifier = sortModifiers(modifiers).join(':');
23118
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
23119
- const classId = modifierId + classGroupId;
23120
- if (classGroupsInConflict.includes(classId)) {
23121
- // Tailwind class omitted due to conflict
23122
- continue;
23123
- }
23124
- classGroupsInConflict.push(classId);
23125
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
23126
- for (let i = 0; i < conflictGroups.length; ++i) {
23127
- const group = conflictGroups[i];
23128
- classGroupsInConflict.push(modifierId + group);
23129
- }
23130
- // Tailwind class not in conflict
23131
- result = originalClassName + (result.length > 0 ? ' ' + result : result);
23132
- }
23133
- return result;
23134
- };
23135
-
23136
- /**
23137
- * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
23138
- *
23139
- * Specifically:
23140
- * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
23141
- * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
23142
- *
23143
- * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
23144
- */
23145
- function twJoin() {
23146
- let index = 0;
23147
- let argument;
23148
- let resolvedValue;
23149
- let string = '';
23150
- while (index < arguments.length) {
23151
- if (argument = arguments[index++]) {
23152
- if (resolvedValue = toValue(argument)) {
23153
- string && (string += ' ');
23154
- string += resolvedValue;
23155
- }
23156
- }
23157
- }
23158
- return string;
23159
- }
23160
- const toValue = mix => {
23161
- if (typeof mix === 'string') {
23162
- return mix;
23163
- }
23164
- let resolvedValue;
23165
- let string = '';
23166
- for (let k = 0; k < mix.length; k++) {
23167
- if (mix[k]) {
23168
- if (resolvedValue = toValue(mix[k])) {
23169
- string && (string += ' ');
23170
- string += resolvedValue;
23171
- }
23172
- }
23173
- }
23174
- return string;
23175
- };
23176
- function createTailwindMerge(createConfigFirst, ...createConfigRest) {
23177
- let configUtils;
23178
- let cacheGet;
23179
- let cacheSet;
23180
- let functionToCall = initTailwindMerge;
23181
- function initTailwindMerge(classList) {
23182
- const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
23183
- configUtils = createConfigUtils(config);
23184
- cacheGet = configUtils.cache.get;
23185
- cacheSet = configUtils.cache.set;
23186
- functionToCall = tailwindMerge;
23187
- return tailwindMerge(classList);
23188
- }
23189
- function tailwindMerge(classList) {
23190
- const cachedResult = cacheGet(classList);
23191
- if (cachedResult) {
23192
- return cachedResult;
23193
- }
23194
- const result = mergeClassList(classList, configUtils);
23195
- cacheSet(classList, result);
23196
- return result;
23197
- }
23198
- return function callTailwindMerge() {
23199
- return functionToCall(twJoin.apply(null, arguments));
23200
- };
23201
- }
23202
- const fromTheme = key => {
23203
- const themeGetter = theme => theme[key] || [];
23204
- themeGetter.isThemeGetter = true;
23205
- return themeGetter;
23206
- };
23207
- const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
23208
- const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
23209
- const fractionRegex = /^\d+\/\d+$/;
23210
- const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
23211
- const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
23212
- const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
23213
- // Shadow always begins with x and y offset separated by underscore optionally prepended by inset
23214
- const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
23215
- const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
23216
- const isFraction = value => fractionRegex.test(value);
23217
- const isNumber = value => Boolean(value) && !Number.isNaN(Number(value));
23218
- const isInteger = value => Boolean(value) && Number.isInteger(Number(value));
23219
- const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
23220
- const isTshirtSize = value => tshirtUnitRegex.test(value);
23221
- const isAny = () => true;
23222
- const isLengthOnly = value =>
23223
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
23224
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
23225
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
23226
- lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
23227
- const isNever = () => false;
23228
- const isShadow = value => shadowRegex.test(value);
23229
- const isImage = value => imageRegex.test(value);
23230
- const isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);
23231
- const isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);
23232
- const isArbitraryValue = value => arbitraryValueRegex.test(value);
23233
- const isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
23234
- const isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);
23235
- const isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);
23236
- const isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);
23237
- const isArbitraryShadow = value => getIsArbitraryValue(value, isNever, isShadow);
23238
- const isArbitraryVariable = value => arbitraryVariableRegex.test(value);
23239
- const isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);
23240
- const isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);
23241
- const isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);
23242
- const isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);
23243
- const isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);
23244
- const isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);
23245
- // Helpers
23246
- const getIsArbitraryValue = (value, testLabel, testValue) => {
23247
- const result = arbitraryValueRegex.exec(value);
23248
- if (result) {
23249
- if (result[1]) {
23250
- return testLabel(result[1]);
23251
- }
23252
- return testValue(result[2]);
23253
- }
23254
- return false;
23255
- };
23256
- const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
23257
- const result = arbitraryVariableRegex.exec(value);
23258
- if (result) {
23259
- if (result[1]) {
23260
- return testLabel(result[1]);
23261
- }
23262
- return shouldMatchNoLabel;
23263
- }
23264
- return false;
23265
- };
23266
- // Labels
23267
- const isLabelPosition = label => label === 'position';
23268
- const imageLabels = /*#__PURE__*/new Set(['image', 'url']);
23269
- const isLabelImage = label => imageLabels.has(label);
23270
- const sizeLabels = /*#__PURE__*/new Set(['length', 'size', 'percentage']);
23271
- const isLabelSize = label => sizeLabels.has(label);
23272
- const isLabelLength = label => label === 'length';
23273
- const isLabelNumber = label => label === 'number';
23274
- const isLabelFamilyName = label => label === 'family-name';
23275
- const isLabelShadow = label => label === 'shadow';
23276
- const validators = /*#__PURE__*/Object.defineProperty({
23277
- __proto__: null,
23278
- isAny,
23279
- isAnyNonArbitrary,
23280
- isArbitraryImage,
23281
- isArbitraryLength,
23282
- isArbitraryNumber,
23283
- isArbitraryPosition,
23284
- isArbitraryShadow,
23285
- isArbitrarySize,
23286
- isArbitraryValue,
23287
- isArbitraryVariable,
23288
- isArbitraryVariableFamilyName,
23289
- isArbitraryVariableImage,
23290
- isArbitraryVariableLength,
23291
- isArbitraryVariablePosition,
23292
- isArbitraryVariableShadow,
23293
- isArbitraryVariableSize,
23294
- isFraction,
23295
- isInteger,
23296
- isNumber,
23297
- isPercent,
23298
- isTshirtSize
23299
- }, Symbol.toStringTag, {
23300
- value: 'Module'
23301
- });
23302
- const getDefaultConfig = () => {
23303
- /**
23304
- * Theme getters for theme variable namespaces
23305
- * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
23306
- */
23307
- /***/
23308
- const themeColor = fromTheme('color');
23309
- const themeFont = fromTheme('font');
23310
- const themeText = fromTheme('text');
23311
- const themeFontWeight = fromTheme('font-weight');
23312
- const themeTracking = fromTheme('tracking');
23313
- const themeLeading = fromTheme('leading');
23314
- const themeBreakpoint = fromTheme('breakpoint');
23315
- const themeContainer = fromTheme('container');
23316
- const themeSpacing = fromTheme('spacing');
23317
- const themeRadius = fromTheme('radius');
23318
- const themeShadow = fromTheme('shadow');
23319
- const themeInsetShadow = fromTheme('inset-shadow');
23320
- const themeDropShadow = fromTheme('drop-shadow');
23321
- const themeBlur = fromTheme('blur');
23322
- const themePerspective = fromTheme('perspective');
23323
- const themeAspect = fromTheme('aspect');
23324
- const themeEase = fromTheme('ease');
23325
- const themeAnimate = fromTheme('animate');
23326
- /**
23327
- * Helpers to avoid repeating the same scales
23328
- *
23329
- * We use functions that create a new array every time they're called instead of static arrays.
23330
- * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
23331
- */
23332
- /***/
23333
- const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
23334
- const scalePosition = () => ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];
23335
- const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
23336
- const scaleOverscroll = () => ['auto', 'contain', 'none'];
23337
- const scaleInset = () => [isFraction, 'px', 'full', 'auto', isArbitraryVariable, isArbitraryValue, themeSpacing];
23338
- const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];
23339
- const scaleGridColRowStartAndEnd = () => ['auto', {
23340
- span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]
23341
- }, isArbitraryVariable, isArbitraryValue];
23342
- const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];
23343
- const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];
23344
- const scaleGap = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
23345
- const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline'];
23346
- const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch'];
23347
- const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
23348
- const scalePadding = () => ['px', ...scaleUnambiguousSpacing()];
23349
- const scaleMargin = () => ['px', 'auto', ...scaleUnambiguousSpacing()];
23350
- const scaleSizing = () => [isFraction, 'auto', 'px', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', isArbitraryVariable, isArbitraryValue, themeSpacing];
23351
- const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
23352
- const scaleGradientStopPosition = () => [isPercent, isArbitraryLength];
23353
- const scaleRadius = () => [
23354
- // Deprecated since Tailwind CSS v4.0.0
23355
- '', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];
23356
- const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];
23357
- const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];
23358
- const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
23359
- const scaleBlur = () => [
23360
- // Deprecated since Tailwind CSS v4.0.0
23361
- '', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];
23362
- const scaleOrigin = () => ['center', 'top', 'top-right', 'right', 'bottom-right', 'bottom', 'bottom-left', 'left', 'top-left', isArbitraryVariable, isArbitraryValue];
23363
- const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
23364
- const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];
23365
- const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
23366
- const scaleTranslate = () => [isFraction, 'full', 'px', isArbitraryVariable, isArbitraryValue, themeSpacing];
23367
- return {
23368
- cacheSize: 500,
23369
- theme: {
23370
- animate: ['spin', 'ping', 'pulse', 'bounce'],
23371
- aspect: ['video'],
23372
- blur: [isTshirtSize],
23373
- breakpoint: [isTshirtSize],
23374
- color: [isAny],
23375
- container: [isTshirtSize],
23376
- 'drop-shadow': [isTshirtSize],
23377
- ease: ['in', 'out', 'in-out'],
23378
- font: [isAnyNonArbitrary],
23379
- 'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],
23380
- 'inset-shadow': [isTshirtSize],
23381
- leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],
23382
- perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],
23383
- radius: [isTshirtSize],
23384
- shadow: [isTshirtSize],
23385
- spacing: [isNumber],
23386
- text: [isTshirtSize],
23387
- tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']
23388
- },
23389
- classGroups: {
23390
- // --------------
23391
- // --- Layout ---
23392
- // --------------
23393
- /**
23394
- * Aspect Ratio
23395
- * @see https://tailwindcss.com/docs/aspect-ratio
23396
- */
23397
- aspect: [{
23398
- aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]
23399
- }],
23400
- /**
23401
- * Container
23402
- * @see https://tailwindcss.com/docs/container
23403
- * @deprecated since Tailwind CSS v4.0.0
23404
- */
23405
- container: ['container'],
23406
- /**
23407
- * Columns
23408
- * @see https://tailwindcss.com/docs/columns
23409
- */
23410
- columns: [{
23411
- columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]
23412
- }],
23413
- /**
23414
- * Break After
23415
- * @see https://tailwindcss.com/docs/break-after
23416
- */
23417
- 'break-after': [{
23418
- 'break-after': scaleBreak()
23419
- }],
23420
- /**
23421
- * Break Before
23422
- * @see https://tailwindcss.com/docs/break-before
23423
- */
23424
- 'break-before': [{
23425
- 'break-before': scaleBreak()
23426
- }],
23427
- /**
23428
- * Break Inside
23429
- * @see https://tailwindcss.com/docs/break-inside
23430
- */
23431
- 'break-inside': [{
23432
- 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
23433
- }],
23434
- /**
23435
- * Box Decoration Break
23436
- * @see https://tailwindcss.com/docs/box-decoration-break
23437
- */
23438
- 'box-decoration': [{
23439
- 'box-decoration': ['slice', 'clone']
23440
- }],
23441
- /**
23442
- * Box Sizing
23443
- * @see https://tailwindcss.com/docs/box-sizing
23444
- */
23445
- box: [{
23446
- box: ['border', 'content']
23447
- }],
23448
- /**
23449
- * Display
23450
- * @see https://tailwindcss.com/docs/display
23451
- */
23452
- display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],
23453
- /**
23454
- * Screen Reader Only
23455
- * @see https://tailwindcss.com/docs/display#screen-reader-only
23456
- */
23457
- sr: ['sr-only', 'not-sr-only'],
23458
- /**
23459
- * Floats
23460
- * @see https://tailwindcss.com/docs/float
23461
- */
23462
- float: [{
23463
- float: ['right', 'left', 'none', 'start', 'end']
23464
- }],
23465
- /**
23466
- * Clear
23467
- * @see https://tailwindcss.com/docs/clear
23468
- */
23469
- clear: [{
23470
- clear: ['left', 'right', 'both', 'none', 'start', 'end']
23471
- }],
23472
- /**
23473
- * Isolation
23474
- * @see https://tailwindcss.com/docs/isolation
23475
- */
23476
- isolation: ['isolate', 'isolation-auto'],
23477
- /**
23478
- * Object Fit
23479
- * @see https://tailwindcss.com/docs/object-fit
23480
- */
23481
- 'object-fit': [{
23482
- object: ['contain', 'cover', 'fill', 'none', 'scale-down']
23483
- }],
23484
- /**
23485
- * Object Position
23486
- * @see https://tailwindcss.com/docs/object-position
23487
- */
23488
- 'object-position': [{
23489
- object: [...scalePosition(), isArbitraryValue, isArbitraryVariable]
23490
- }],
23491
- /**
23492
- * Overflow
23493
- * @see https://tailwindcss.com/docs/overflow
23494
- */
23495
- overflow: [{
23496
- overflow: scaleOverflow()
23497
- }],
23498
- /**
23499
- * Overflow X
23500
- * @see https://tailwindcss.com/docs/overflow
23501
- */
23502
- 'overflow-x': [{
23503
- 'overflow-x': scaleOverflow()
23504
- }],
23505
- /**
23506
- * Overflow Y
23507
- * @see https://tailwindcss.com/docs/overflow
23508
- */
23509
- 'overflow-y': [{
23510
- 'overflow-y': scaleOverflow()
23511
- }],
23512
- /**
23513
- * Overscroll Behavior
23514
- * @see https://tailwindcss.com/docs/overscroll-behavior
23515
- */
23516
- overscroll: [{
23517
- overscroll: scaleOverscroll()
23518
- }],
23519
- /**
23520
- * Overscroll Behavior X
23521
- * @see https://tailwindcss.com/docs/overscroll-behavior
23522
- */
23523
- 'overscroll-x': [{
23524
- 'overscroll-x': scaleOverscroll()
23525
- }],
23526
- /**
23527
- * Overscroll Behavior Y
23528
- * @see https://tailwindcss.com/docs/overscroll-behavior
23529
- */
23530
- 'overscroll-y': [{
23531
- 'overscroll-y': scaleOverscroll()
23532
- }],
23533
- /**
23534
- * Position
23535
- * @see https://tailwindcss.com/docs/position
23536
- */
23537
- position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
23538
- /**
23539
- * Top / Right / Bottom / Left
23540
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23541
- */
23542
- inset: [{
23543
- inset: scaleInset()
23544
- }],
23545
- /**
23546
- * Right / Left
23547
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23548
- */
23549
- 'inset-x': [{
23550
- 'inset-x': scaleInset()
23551
- }],
23552
- /**
23553
- * Top / Bottom
23554
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23555
- */
23556
- 'inset-y': [{
23557
- 'inset-y': scaleInset()
23558
- }],
23559
- /**
23560
- * Start
23561
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23562
- */
23563
- start: [{
23564
- start: scaleInset()
23565
- }],
23566
- /**
23567
- * End
23568
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23569
- */
23570
- end: [{
23571
- end: scaleInset()
23572
- }],
23573
- /**
23574
- * Top
23575
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23576
- */
23577
- top: [{
23578
- top: scaleInset()
23579
- }],
23580
- /**
23581
- * Right
23582
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23583
- */
23584
- right: [{
23585
- right: scaleInset()
23586
- }],
23587
- /**
23588
- * Bottom
23589
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23590
- */
23591
- bottom: [{
23592
- bottom: scaleInset()
23593
- }],
23594
- /**
23595
- * Left
23596
- * @see https://tailwindcss.com/docs/top-right-bottom-left
23597
- */
23598
- left: [{
23599
- left: scaleInset()
23600
- }],
23601
- /**
23602
- * Visibility
23603
- * @see https://tailwindcss.com/docs/visibility
23604
- */
23605
- visibility: ['visible', 'invisible', 'collapse'],
23606
- /**
23607
- * Z-Index
23608
- * @see https://tailwindcss.com/docs/z-index
23609
- */
23610
- z: [{
23611
- z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]
23612
- }],
23613
- // ------------------------
23614
- // --- Flexbox and Grid ---
23615
- // ------------------------
23616
- /**
23617
- * Flex Basis
23618
- * @see https://tailwindcss.com/docs/flex-basis
23619
- */
23620
- basis: [{
23621
- basis: [isFraction, 'full', 'auto', isArbitraryVariable, isArbitraryValue, themeContainer, themeSpacing]
23622
- }],
23623
- /**
23624
- * Flex Direction
23625
- * @see https://tailwindcss.com/docs/flex-direction
23626
- */
23627
- 'flex-direction': [{
23628
- flex: ['row', 'row-reverse', 'col', 'col-reverse']
23629
- }],
23630
- /**
23631
- * Flex Wrap
23632
- * @see https://tailwindcss.com/docs/flex-wrap
23633
- */
23634
- 'flex-wrap': [{
23635
- flex: ['nowrap', 'wrap', 'wrap-reverse']
23636
- }],
23637
- /**
23638
- * Flex
23639
- * @see https://tailwindcss.com/docs/flex
23640
- */
23641
- flex: [{
23642
- flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]
23643
- }],
23644
- /**
23645
- * Flex Grow
23646
- * @see https://tailwindcss.com/docs/flex-grow
23647
- */
23648
- grow: [{
23649
- grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]
23650
- }],
23651
- /**
23652
- * Flex Shrink
23653
- * @see https://tailwindcss.com/docs/flex-shrink
23654
- */
23655
- shrink: [{
23656
- shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]
23657
- }],
23658
- /**
23659
- * Order
23660
- * @see https://tailwindcss.com/docs/order
23661
- */
23662
- order: [{
23663
- order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]
23664
- }],
23665
- /**
23666
- * Grid Template Columns
23667
- * @see https://tailwindcss.com/docs/grid-template-columns
23668
- */
23669
- 'grid-cols': [{
23670
- 'grid-cols': scaleGridTemplateColsRows()
23671
- }],
23672
- /**
23673
- * Grid Column Start / End
23674
- * @see https://tailwindcss.com/docs/grid-column
23675
- */
23676
- 'col-start-end': [{
23677
- col: scaleGridColRowStartAndEnd()
23678
- }],
23679
- /**
23680
- * Grid Column Start
23681
- * @see https://tailwindcss.com/docs/grid-column
23682
- */
23683
- 'col-start': [{
23684
- 'col-start': scaleGridColRowStartOrEnd()
23685
- }],
23686
- /**
23687
- * Grid Column End
23688
- * @see https://tailwindcss.com/docs/grid-column
23689
- */
23690
- 'col-end': [{
23691
- 'col-end': scaleGridColRowStartOrEnd()
23692
- }],
23693
- /**
23694
- * Grid Template Rows
23695
- * @see https://tailwindcss.com/docs/grid-template-rows
23696
- */
23697
- 'grid-rows': [{
23698
- 'grid-rows': scaleGridTemplateColsRows()
23699
- }],
23700
- /**
23701
- * Grid Row Start / End
23702
- * @see https://tailwindcss.com/docs/grid-row
23703
- */
23704
- 'row-start-end': [{
23705
- row: scaleGridColRowStartAndEnd()
23706
- }],
23707
- /**
23708
- * Grid Row Start
23709
- * @see https://tailwindcss.com/docs/grid-row
23710
- */
23711
- 'row-start': [{
23712
- 'row-start': scaleGridColRowStartOrEnd()
23713
- }],
23714
- /**
23715
- * Grid Row End
23716
- * @see https://tailwindcss.com/docs/grid-row
23717
- */
23718
- 'row-end': [{
23719
- 'row-end': scaleGridColRowStartOrEnd()
23720
- }],
23721
- /**
23722
- * Grid Auto Flow
23723
- * @see https://tailwindcss.com/docs/grid-auto-flow
23724
- */
23725
- 'grid-flow': [{
23726
- 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
23727
- }],
23728
- /**
23729
- * Grid Auto Columns
23730
- * @see https://tailwindcss.com/docs/grid-auto-columns
23731
- */
23732
- 'auto-cols': [{
23733
- 'auto-cols': scaleGridAutoColsRows()
23734
- }],
23735
- /**
23736
- * Grid Auto Rows
23737
- * @see https://tailwindcss.com/docs/grid-auto-rows
23738
- */
23739
- 'auto-rows': [{
23740
- 'auto-rows': scaleGridAutoColsRows()
23741
- }],
23742
- /**
23743
- * Gap
23744
- * @see https://tailwindcss.com/docs/gap
23745
- */
23746
- gap: [{
23747
- gap: scaleGap()
23748
- }],
23749
- /**
23750
- * Gap X
23751
- * @see https://tailwindcss.com/docs/gap
23752
- */
23753
- 'gap-x': [{
23754
- 'gap-x': scaleGap()
23755
- }],
23756
- /**
23757
- * Gap Y
23758
- * @see https://tailwindcss.com/docs/gap
23759
- */
23760
- 'gap-y': [{
23761
- 'gap-y': scaleGap()
23762
- }],
23763
- /**
23764
- * Justify Content
23765
- * @see https://tailwindcss.com/docs/justify-content
23766
- */
23767
- 'justify-content': [{
23768
- justify: [...scaleAlignPrimaryAxis(), 'normal']
23769
- }],
23770
- /**
23771
- * Justify Items
23772
- * @see https://tailwindcss.com/docs/justify-items
23773
- */
23774
- 'justify-items': [{
23775
- 'justify-items': [...scaleAlignSecondaryAxis(), 'normal']
23776
- }],
23777
- /**
23778
- * Justify Self
23779
- * @see https://tailwindcss.com/docs/justify-self
23780
- */
23781
- 'justify-self': [{
23782
- 'justify-self': ['auto', ...scaleAlignSecondaryAxis()]
23783
- }],
23784
- /**
23785
- * Align Content
23786
- * @see https://tailwindcss.com/docs/align-content
23787
- */
23788
- 'align-content': [{
23789
- content: ['normal', ...scaleAlignPrimaryAxis()]
23790
- }],
23791
- /**
23792
- * Align Items
23793
- * @see https://tailwindcss.com/docs/align-items
23794
- */
23795
- 'align-items': [{
23796
- items: [...scaleAlignSecondaryAxis(), 'baseline']
23797
- }],
23798
- /**
23799
- * Align Self
23800
- * @see https://tailwindcss.com/docs/align-self
23801
- */
23802
- 'align-self': [{
23803
- self: ['auto', ...scaleAlignSecondaryAxis(), 'baseline']
23804
- }],
23805
- /**
23806
- * Place Content
23807
- * @see https://tailwindcss.com/docs/place-content
23808
- */
23809
- 'place-content': [{
23810
- 'place-content': scaleAlignPrimaryAxis()
23811
- }],
23812
- /**
23813
- * Place Items
23814
- * @see https://tailwindcss.com/docs/place-items
23815
- */
23816
- 'place-items': [{
23817
- 'place-items': [...scaleAlignSecondaryAxis(), 'baseline']
23818
- }],
23819
- /**
23820
- * Place Self
23821
- * @see https://tailwindcss.com/docs/place-self
23822
- */
23823
- 'place-self': [{
23824
- 'place-self': ['auto', ...scaleAlignSecondaryAxis()]
23825
- }],
23826
- // Spacing
23827
- /**
23828
- * Padding
23829
- * @see https://tailwindcss.com/docs/padding
23830
- */
23831
- p: [{
23832
- p: scalePadding()
23833
- }],
23834
- /**
23835
- * Padding X
23836
- * @see https://tailwindcss.com/docs/padding
23837
- */
23838
- px: [{
23839
- px: scalePadding()
23840
- }],
23841
- /**
23842
- * Padding Y
23843
- * @see https://tailwindcss.com/docs/padding
23844
- */
23845
- py: [{
23846
- py: scalePadding()
23847
- }],
23848
- /**
23849
- * Padding Start
23850
- * @see https://tailwindcss.com/docs/padding
23851
- */
23852
- ps: [{
23853
- ps: scalePadding()
23854
- }],
23855
- /**
23856
- * Padding End
23857
- * @see https://tailwindcss.com/docs/padding
23858
- */
23859
- pe: [{
23860
- pe: scalePadding()
23861
- }],
23862
- /**
23863
- * Padding Top
23864
- * @see https://tailwindcss.com/docs/padding
23865
- */
23866
- pt: [{
23867
- pt: scalePadding()
23868
- }],
23869
- /**
23870
- * Padding Right
23871
- * @see https://tailwindcss.com/docs/padding
23872
- */
23873
- pr: [{
23874
- pr: scalePadding()
23875
- }],
23876
- /**
23877
- * Padding Bottom
23878
- * @see https://tailwindcss.com/docs/padding
23879
- */
23880
- pb: [{
23881
- pb: scalePadding()
23882
- }],
23883
- /**
23884
- * Padding Left
23885
- * @see https://tailwindcss.com/docs/padding
23886
- */
23887
- pl: [{
23888
- pl: scalePadding()
23889
- }],
23890
- /**
23891
- * Margin
23892
- * @see https://tailwindcss.com/docs/margin
23893
- */
23894
- m: [{
23895
- m: scaleMargin()
23896
- }],
23897
- /**
23898
- * Margin X
23899
- * @see https://tailwindcss.com/docs/margin
23900
- */
23901
- mx: [{
23902
- mx: scaleMargin()
23903
- }],
23904
- /**
23905
- * Margin Y
23906
- * @see https://tailwindcss.com/docs/margin
23907
- */
23908
- my: [{
23909
- my: scaleMargin()
23910
- }],
23911
- /**
23912
- * Margin Start
23913
- * @see https://tailwindcss.com/docs/margin
23914
- */
23915
- ms: [{
23916
- ms: scaleMargin()
23917
- }],
23918
- /**
23919
- * Margin End
23920
- * @see https://tailwindcss.com/docs/margin
23921
- */
23922
- me: [{
23923
- me: scaleMargin()
23924
- }],
23925
- /**
23926
- * Margin Top
23927
- * @see https://tailwindcss.com/docs/margin
23928
- */
23929
- mt: [{
23930
- mt: scaleMargin()
23931
- }],
23932
- /**
23933
- * Margin Right
23934
- * @see https://tailwindcss.com/docs/margin
23935
- */
23936
- mr: [{
23937
- mr: scaleMargin()
23938
- }],
23939
- /**
23940
- * Margin Bottom
23941
- * @see https://tailwindcss.com/docs/margin
23942
- */
23943
- mb: [{
23944
- mb: scaleMargin()
23945
- }],
23946
- /**
23947
- * Margin Left
23948
- * @see https://tailwindcss.com/docs/margin
23949
- */
23950
- ml: [{
23951
- ml: scaleMargin()
23952
- }],
23953
- /**
23954
- * Space Between X
23955
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
23956
- */
23957
- 'space-x': [{
23958
- 'space-x': scaleUnambiguousSpacing()
23959
- }],
23960
- /**
23961
- * Space Between X Reverse
23962
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
23963
- */
23964
- 'space-x-reverse': ['space-x-reverse'],
23965
- /**
23966
- * Space Between Y
23967
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
23968
- */
23969
- 'space-y': [{
23970
- 'space-y': scaleUnambiguousSpacing()
23971
- }],
23972
- /**
23973
- * Space Between Y Reverse
23974
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
23975
- */
23976
- 'space-y-reverse': ['space-y-reverse'],
23977
- // --------------
23978
- // --- Sizing ---
23979
- // --------------
23980
- /**
23981
- * Width
23982
- * @see https://tailwindcss.com/docs/width
23983
- */
23984
- /**
23985
- * Size
23986
- * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
23987
- */
23988
- size: [{
23989
- size: scaleSizing()
23990
- }],
23991
- w: [{
23992
- w: [themeContainer, 'screen', ...scaleSizing()]
23993
- }],
23994
- /**
23995
- * Min-Width
23996
- * @see https://tailwindcss.com/docs/min-width
23997
- */
23998
- 'min-w': [{
23999
- 'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
24000
- 'none', ...scaleSizing()]
24001
- }],
24002
- /**
24003
- * Max-Width
24004
- * @see https://tailwindcss.com/docs/max-width
24005
- */
24006
- 'max-w': [{
24007
- 'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
24008
- 'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
24009
- {
24010
- screen: [themeBreakpoint]
24011
- }, ...scaleSizing()]
24012
- }],
24013
- /**
24014
- * Height
24015
- * @see https://tailwindcss.com/docs/height
24016
- */
24017
- h: [{
24018
- h: ['screen', ...scaleSizing()]
24019
- }],
24020
- /**
24021
- * Min-Height
24022
- * @see https://tailwindcss.com/docs/min-height
24023
- */
24024
- 'min-h': [{
24025
- 'min-h': ['screen', 'none', ...scaleSizing()]
24026
- }],
24027
- /**
24028
- * Max-Height
24029
- * @see https://tailwindcss.com/docs/max-height
24030
- */
24031
- 'max-h': [{
24032
- 'max-h': ['screen', ...scaleSizing()]
24033
- }],
24034
- // ------------------
24035
- // --- Typography ---
24036
- // ------------------
24037
- /**
24038
- * Font Size
24039
- * @see https://tailwindcss.com/docs/font-size
24040
- */
24041
- 'font-size': [{
24042
- text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]
24043
- }],
24044
- /**
24045
- * Font Smoothing
24046
- * @see https://tailwindcss.com/docs/font-smoothing
24047
- */
24048
- 'font-smoothing': ['antialiased', 'subpixel-antialiased'],
24049
- /**
24050
- * Font Style
24051
- * @see https://tailwindcss.com/docs/font-style
24052
- */
24053
- 'font-style': ['italic', 'not-italic'],
24054
- /**
24055
- * Font Weight
24056
- * @see https://tailwindcss.com/docs/font-weight
24057
- */
24058
- 'font-weight': [{
24059
- font: [themeFontWeight, isArbitraryVariable, isArbitraryNumber]
24060
- }],
24061
- /**
24062
- * Font Stretch
24063
- * @see https://tailwindcss.com/docs/font-stretch
24064
- */
24065
- 'font-stretch': [{
24066
- 'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]
24067
- }],
24068
- /**
24069
- * Font Family
24070
- * @see https://tailwindcss.com/docs/font-family
24071
- */
24072
- 'font-family': [{
24073
- font: [isArbitraryVariableFamilyName, isArbitraryValue, themeFont]
24074
- }],
24075
- /**
24076
- * Font Variant Numeric
24077
- * @see https://tailwindcss.com/docs/font-variant-numeric
24078
- */
24079
- 'fvn-normal': ['normal-nums'],
24080
- /**
24081
- * Font Variant Numeric
24082
- * @see https://tailwindcss.com/docs/font-variant-numeric
24083
- */
24084
- 'fvn-ordinal': ['ordinal'],
24085
- /**
24086
- * Font Variant Numeric
24087
- * @see https://tailwindcss.com/docs/font-variant-numeric
24088
- */
24089
- 'fvn-slashed-zero': ['slashed-zero'],
24090
- /**
24091
- * Font Variant Numeric
24092
- * @see https://tailwindcss.com/docs/font-variant-numeric
24093
- */
24094
- 'fvn-figure': ['lining-nums', 'oldstyle-nums'],
24095
- /**
24096
- * Font Variant Numeric
24097
- * @see https://tailwindcss.com/docs/font-variant-numeric
24098
- */
24099
- 'fvn-spacing': ['proportional-nums', 'tabular-nums'],
24100
- /**
24101
- * Font Variant Numeric
24102
- * @see https://tailwindcss.com/docs/font-variant-numeric
24103
- */
24104
- 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],
24105
- /**
24106
- * Letter Spacing
24107
- * @see https://tailwindcss.com/docs/letter-spacing
24108
- */
24109
- tracking: [{
24110
- tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]
24111
- }],
24112
- /**
24113
- * Line Clamp
24114
- * @see https://tailwindcss.com/docs/line-clamp
24115
- */
24116
- 'line-clamp': [{
24117
- 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]
24118
- }],
24119
- /**
24120
- * Line Height
24121
- * @see https://tailwindcss.com/docs/line-height
24122
- */
24123
- leading: [{
24124
- leading: [isArbitraryVariable, isArbitraryValue, /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
24125
- themeLeading, themeSpacing]
24126
- }],
24127
- /**
24128
- * List Style Image
24129
- * @see https://tailwindcss.com/docs/list-style-image
24130
- */
24131
- 'list-image': [{
24132
- 'list-image': ['none', isArbitraryVariable, isArbitraryValue]
24133
- }],
24134
- /**
24135
- * List Style Position
24136
- * @see https://tailwindcss.com/docs/list-style-position
24137
- */
24138
- 'list-style-position': [{
24139
- list: ['inside', 'outside']
24140
- }],
24141
- /**
24142
- * List Style Type
24143
- * @see https://tailwindcss.com/docs/list-style-type
24144
- */
24145
- 'list-style-type': [{
24146
- list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]
24147
- }],
24148
- /**
24149
- * Text Alignment
24150
- * @see https://tailwindcss.com/docs/text-align
24151
- */
24152
- 'text-alignment': [{
24153
- text: ['left', 'center', 'right', 'justify', 'start', 'end']
24154
- }],
24155
- /**
24156
- * Placeholder Color
24157
- * @deprecated since Tailwind CSS v3.0.0
24158
- * @see https://v3.tailwindcss.com/docs/placeholder-color
24159
- */
24160
- 'placeholder-color': [{
24161
- placeholder: scaleColor()
24162
- }],
24163
- /**
24164
- * Text Color
24165
- * @see https://tailwindcss.com/docs/text-color
24166
- */
24167
- 'text-color': [{
24168
- text: scaleColor()
24169
- }],
24170
- /**
24171
- * Text Decoration
24172
- * @see https://tailwindcss.com/docs/text-decoration
24173
- */
24174
- 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
24175
- /**
24176
- * Text Decoration Style
24177
- * @see https://tailwindcss.com/docs/text-decoration-style
24178
- */
24179
- 'text-decoration-style': [{
24180
- decoration: [...scaleLineStyle(), 'wavy']
24181
- }],
24182
- /**
24183
- * Text Decoration Thickness
24184
- * @see https://tailwindcss.com/docs/text-decoration-thickness
24185
- */
24186
- 'text-decoration-thickness': [{
24187
- decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]
24188
- }],
24189
- /**
24190
- * Text Decoration Color
24191
- * @see https://tailwindcss.com/docs/text-decoration-color
24192
- */
24193
- 'text-decoration-color': [{
24194
- decoration: scaleColor()
24195
- }],
24196
- /**
24197
- * Text Underline Offset
24198
- * @see https://tailwindcss.com/docs/text-underline-offset
24199
- */
24200
- 'underline-offset': [{
24201
- 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]
24202
- }],
24203
- /**
24204
- * Text Transform
24205
- * @see https://tailwindcss.com/docs/text-transform
24206
- */
24207
- 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
24208
- /**
24209
- * Text Overflow
24210
- * @see https://tailwindcss.com/docs/text-overflow
24211
- */
24212
- 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
24213
- /**
24214
- * Text Wrap
24215
- * @see https://tailwindcss.com/docs/text-wrap
24216
- */
24217
- 'text-wrap': [{
24218
- text: ['wrap', 'nowrap', 'balance', 'pretty']
24219
- }],
24220
- /**
24221
- * Text Indent
24222
- * @see https://tailwindcss.com/docs/text-indent
24223
- */
24224
- indent: [{
24225
- indent: ['px', ...scaleUnambiguousSpacing()]
24226
- }],
24227
- /**
24228
- * Vertical Alignment
24229
- * @see https://tailwindcss.com/docs/vertical-align
24230
- */
24231
- 'vertical-align': [{
24232
- align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]
24233
- }],
24234
- /**
24235
- * Whitespace
24236
- * @see https://tailwindcss.com/docs/whitespace
24237
- */
24238
- whitespace: [{
24239
- whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
24240
- }],
24241
- /**
24242
- * Word Break
24243
- * @see https://tailwindcss.com/docs/word-break
24244
- */
24245
- break: [{
24246
- break: ['normal', 'words', 'all', 'keep']
24247
- }],
24248
- /**
24249
- * Hyphens
24250
- * @see https://tailwindcss.com/docs/hyphens
24251
- */
24252
- hyphens: [{
24253
- hyphens: ['none', 'manual', 'auto']
24254
- }],
24255
- /**
24256
- * Content
24257
- * @see https://tailwindcss.com/docs/content
24258
- */
24259
- content: [{
24260
- content: ['none', isArbitraryVariable, isArbitraryValue]
24261
- }],
24262
- // -------------------
24263
- // --- Backgrounds ---
24264
- // -------------------
24265
- /**
24266
- * Background Attachment
24267
- * @see https://tailwindcss.com/docs/background-attachment
24268
- */
24269
- 'bg-attachment': [{
24270
- bg: ['fixed', 'local', 'scroll']
24271
- }],
24272
- /**
24273
- * Background Clip
24274
- * @see https://tailwindcss.com/docs/background-clip
24275
- */
24276
- 'bg-clip': [{
24277
- 'bg-clip': ['border', 'padding', 'content', 'text']
24278
- }],
24279
- /**
24280
- * Background Origin
24281
- * @see https://tailwindcss.com/docs/background-origin
24282
- */
24283
- 'bg-origin': [{
24284
- 'bg-origin': ['border', 'padding', 'content']
24285
- }],
24286
- /**
24287
- * Background Position
24288
- * @see https://tailwindcss.com/docs/background-position
24289
- */
24290
- 'bg-position': [{
24291
- bg: [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition]
24292
- }],
24293
- /**
24294
- * Background Repeat
24295
- * @see https://tailwindcss.com/docs/background-repeat
24296
- */
24297
- 'bg-repeat': [{
24298
- bg: ['no-repeat', {
24299
- repeat: ['', 'x', 'y', 'space', 'round']
24300
- }]
24301
- }],
24302
- /**
24303
- * Background Size
24304
- * @see https://tailwindcss.com/docs/background-size
24305
- */
24306
- 'bg-size': [{
24307
- bg: ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize]
24308
- }],
24309
- /**
24310
- * Background Image
24311
- * @see https://tailwindcss.com/docs/background-image
24312
- */
24313
- 'bg-image': [{
24314
- bg: ['none', {
24315
- linear: [{
24316
- to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
24317
- }, isInteger, isArbitraryVariable, isArbitraryValue],
24318
- radial: ['', isArbitraryVariable, isArbitraryValue],
24319
- conic: [isInteger, isArbitraryVariable, isArbitraryValue]
24320
- }, isArbitraryVariableImage, isArbitraryImage]
24321
- }],
24322
- /**
24323
- * Background Color
24324
- * @see https://tailwindcss.com/docs/background-color
24325
- */
24326
- 'bg-color': [{
24327
- bg: scaleColor()
24328
- }],
24329
- /**
24330
- * Gradient Color Stops From Position
24331
- * @see https://tailwindcss.com/docs/gradient-color-stops
24332
- */
24333
- 'gradient-from-pos': [{
24334
- from: scaleGradientStopPosition()
24335
- }],
24336
- /**
24337
- * Gradient Color Stops Via Position
24338
- * @see https://tailwindcss.com/docs/gradient-color-stops
24339
- */
24340
- 'gradient-via-pos': [{
24341
- via: scaleGradientStopPosition()
24342
- }],
24343
- /**
24344
- * Gradient Color Stops To Position
24345
- * @see https://tailwindcss.com/docs/gradient-color-stops
24346
- */
24347
- 'gradient-to-pos': [{
24348
- to: scaleGradientStopPosition()
24349
- }],
24350
- /**
24351
- * Gradient Color Stops From
24352
- * @see https://tailwindcss.com/docs/gradient-color-stops
24353
- */
24354
- 'gradient-from': [{
24355
- from: scaleColor()
24356
- }],
24357
- /**
24358
- * Gradient Color Stops Via
24359
- * @see https://tailwindcss.com/docs/gradient-color-stops
24360
- */
24361
- 'gradient-via': [{
24362
- via: scaleColor()
24363
- }],
24364
- /**
24365
- * Gradient Color Stops To
24366
- * @see https://tailwindcss.com/docs/gradient-color-stops
24367
- */
24368
- 'gradient-to': [{
24369
- to: scaleColor()
24370
- }],
24371
- // ---------------
24372
- // --- Borders ---
24373
- // ---------------
24374
- /**
24375
- * Border Radius
24376
- * @see https://tailwindcss.com/docs/border-radius
24377
- */
24378
- rounded: [{
24379
- rounded: scaleRadius()
24380
- }],
24381
- /**
24382
- * Border Radius Start
24383
- * @see https://tailwindcss.com/docs/border-radius
24384
- */
24385
- 'rounded-s': [{
24386
- 'rounded-s': scaleRadius()
24387
- }],
24388
- /**
24389
- * Border Radius End
24390
- * @see https://tailwindcss.com/docs/border-radius
24391
- */
24392
- 'rounded-e': [{
24393
- 'rounded-e': scaleRadius()
24394
- }],
24395
- /**
24396
- * Border Radius Top
24397
- * @see https://tailwindcss.com/docs/border-radius
24398
- */
24399
- 'rounded-t': [{
24400
- 'rounded-t': scaleRadius()
24401
- }],
24402
- /**
24403
- * Border Radius Right
24404
- * @see https://tailwindcss.com/docs/border-radius
24405
- */
24406
- 'rounded-r': [{
24407
- 'rounded-r': scaleRadius()
24408
- }],
24409
- /**
24410
- * Border Radius Bottom
24411
- * @see https://tailwindcss.com/docs/border-radius
24412
- */
24413
- 'rounded-b': [{
24414
- 'rounded-b': scaleRadius()
24415
- }],
24416
- /**
24417
- * Border Radius Left
24418
- * @see https://tailwindcss.com/docs/border-radius
24419
- */
24420
- 'rounded-l': [{
24421
- 'rounded-l': scaleRadius()
24422
- }],
24423
- /**
24424
- * Border Radius Start Start
24425
- * @see https://tailwindcss.com/docs/border-radius
24426
- */
24427
- 'rounded-ss': [{
24428
- 'rounded-ss': scaleRadius()
24429
- }],
24430
- /**
24431
- * Border Radius Start End
24432
- * @see https://tailwindcss.com/docs/border-radius
24433
- */
24434
- 'rounded-se': [{
24435
- 'rounded-se': scaleRadius()
24436
- }],
24437
- /**
24438
- * Border Radius End End
24439
- * @see https://tailwindcss.com/docs/border-radius
24440
- */
24441
- 'rounded-ee': [{
24442
- 'rounded-ee': scaleRadius()
24443
- }],
24444
- /**
24445
- * Border Radius End Start
24446
- * @see https://tailwindcss.com/docs/border-radius
24447
- */
24448
- 'rounded-es': [{
24449
- 'rounded-es': scaleRadius()
24450
- }],
24451
- /**
24452
- * Border Radius Top Left
24453
- * @see https://tailwindcss.com/docs/border-radius
24454
- */
24455
- 'rounded-tl': [{
24456
- 'rounded-tl': scaleRadius()
24457
- }],
24458
- /**
24459
- * Border Radius Top Right
24460
- * @see https://tailwindcss.com/docs/border-radius
24461
- */
24462
- 'rounded-tr': [{
24463
- 'rounded-tr': scaleRadius()
24464
- }],
24465
- /**
24466
- * Border Radius Bottom Right
24467
- * @see https://tailwindcss.com/docs/border-radius
24468
- */
24469
- 'rounded-br': [{
24470
- 'rounded-br': scaleRadius()
24471
- }],
24472
- /**
24473
- * Border Radius Bottom Left
24474
- * @see https://tailwindcss.com/docs/border-radius
24475
- */
24476
- 'rounded-bl': [{
24477
- 'rounded-bl': scaleRadius()
24478
- }],
24479
- /**
24480
- * Border Width
24481
- * @see https://tailwindcss.com/docs/border-width
24482
- */
24483
- 'border-w': [{
24484
- border: scaleBorderWidth()
24485
- }],
24486
- /**
24487
- * Border Width X
24488
- * @see https://tailwindcss.com/docs/border-width
24489
- */
24490
- 'border-w-x': [{
24491
- 'border-x': scaleBorderWidth()
24492
- }],
24493
- /**
24494
- * Border Width Y
24495
- * @see https://tailwindcss.com/docs/border-width
24496
- */
24497
- 'border-w-y': [{
24498
- 'border-y': scaleBorderWidth()
24499
- }],
24500
- /**
24501
- * Border Width Start
24502
- * @see https://tailwindcss.com/docs/border-width
24503
- */
24504
- 'border-w-s': [{
24505
- 'border-s': scaleBorderWidth()
24506
- }],
24507
- /**
24508
- * Border Width End
24509
- * @see https://tailwindcss.com/docs/border-width
24510
- */
24511
- 'border-w-e': [{
24512
- 'border-e': scaleBorderWidth()
24513
- }],
24514
- /**
24515
- * Border Width Top
24516
- * @see https://tailwindcss.com/docs/border-width
24517
- */
24518
- 'border-w-t': [{
24519
- 'border-t': scaleBorderWidth()
24520
- }],
24521
- /**
24522
- * Border Width Right
24523
- * @see https://tailwindcss.com/docs/border-width
24524
- */
24525
- 'border-w-r': [{
24526
- 'border-r': scaleBorderWidth()
24527
- }],
24528
- /**
24529
- * Border Width Bottom
24530
- * @see https://tailwindcss.com/docs/border-width
24531
- */
24532
- 'border-w-b': [{
24533
- 'border-b': scaleBorderWidth()
24534
- }],
24535
- /**
24536
- * Border Width Left
24537
- * @see https://tailwindcss.com/docs/border-width
24538
- */
24539
- 'border-w-l': [{
24540
- 'border-l': scaleBorderWidth()
24541
- }],
24542
- /**
24543
- * Divide Width X
24544
- * @see https://tailwindcss.com/docs/border-width#between-children
24545
- */
24546
- 'divide-x': [{
24547
- 'divide-x': scaleBorderWidth()
24548
- }],
24549
- /**
24550
- * Divide Width X Reverse
24551
- * @see https://tailwindcss.com/docs/border-width#between-children
24552
- */
24553
- 'divide-x-reverse': ['divide-x-reverse'],
24554
- /**
24555
- * Divide Width Y
24556
- * @see https://tailwindcss.com/docs/border-width#between-children
24557
- */
24558
- 'divide-y': [{
24559
- 'divide-y': scaleBorderWidth()
24560
- }],
24561
- /**
24562
- * Divide Width Y Reverse
24563
- * @see https://tailwindcss.com/docs/border-width#between-children
24564
- */
24565
- 'divide-y-reverse': ['divide-y-reverse'],
24566
- /**
24567
- * Border Style
24568
- * @see https://tailwindcss.com/docs/border-style
24569
- */
24570
- 'border-style': [{
24571
- border: [...scaleLineStyle(), 'hidden', 'none']
24572
- }],
24573
- /**
24574
- * Divide Style
24575
- * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
24576
- */
24577
- 'divide-style': [{
24578
- divide: [...scaleLineStyle(), 'hidden', 'none']
24579
- }],
24580
- /**
24581
- * Border Color
24582
- * @see https://tailwindcss.com/docs/border-color
24583
- */
24584
- 'border-color': [{
24585
- border: scaleColor()
24586
- }],
24587
- /**
24588
- * Border Color X
24589
- * @see https://tailwindcss.com/docs/border-color
24590
- */
24591
- 'border-color-x': [{
24592
- 'border-x': scaleColor()
24593
- }],
24594
- /**
24595
- * Border Color Y
24596
- * @see https://tailwindcss.com/docs/border-color
24597
- */
24598
- 'border-color-y': [{
24599
- 'border-y': scaleColor()
24600
- }],
24601
- /**
24602
- * Border Color S
24603
- * @see https://tailwindcss.com/docs/border-color
24604
- */
24605
- 'border-color-s': [{
24606
- 'border-s': scaleColor()
24607
- }],
24608
- /**
24609
- * Border Color E
24610
- * @see https://tailwindcss.com/docs/border-color
24611
- */
24612
- 'border-color-e': [{
24613
- 'border-e': scaleColor()
24614
- }],
24615
- /**
24616
- * Border Color Top
24617
- * @see https://tailwindcss.com/docs/border-color
24618
- */
24619
- 'border-color-t': [{
24620
- 'border-t': scaleColor()
24621
- }],
24622
- /**
24623
- * Border Color Right
24624
- * @see https://tailwindcss.com/docs/border-color
24625
- */
24626
- 'border-color-r': [{
24627
- 'border-r': scaleColor()
24628
- }],
24629
- /**
24630
- * Border Color Bottom
24631
- * @see https://tailwindcss.com/docs/border-color
24632
- */
24633
- 'border-color-b': [{
24634
- 'border-b': scaleColor()
24635
- }],
24636
- /**
24637
- * Border Color Left
24638
- * @see https://tailwindcss.com/docs/border-color
24639
- */
24640
- 'border-color-l': [{
24641
- 'border-l': scaleColor()
24642
- }],
24643
- /**
24644
- * Divide Color
24645
- * @see https://tailwindcss.com/docs/divide-color
24646
- */
24647
- 'divide-color': [{
24648
- divide: scaleColor()
24649
- }],
24650
- /**
24651
- * Outline Style
24652
- * @see https://tailwindcss.com/docs/outline-style
24653
- */
24654
- 'outline-style': [{
24655
- outline: [...scaleLineStyle(), 'none', 'hidden']
24656
- }],
24657
- /**
24658
- * Outline Offset
24659
- * @see https://tailwindcss.com/docs/outline-offset
24660
- */
24661
- 'outline-offset': [{
24662
- 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]
24663
- }],
24664
- /**
24665
- * Outline Width
24666
- * @see https://tailwindcss.com/docs/outline-width
24667
- */
24668
- 'outline-w': [{
24669
- outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]
24670
- }],
24671
- /**
24672
- * Outline Color
24673
- * @see https://tailwindcss.com/docs/outline-color
24674
- */
24675
- 'outline-color': [{
24676
- outline: [themeColor]
24677
- }],
24678
- // ---------------
24679
- // --- Effects ---
24680
- // ---------------
24681
- /**
24682
- * Box Shadow
24683
- * @see https://tailwindcss.com/docs/box-shadow
24684
- */
24685
- shadow: [{
24686
- shadow: [
24687
- // Deprecated since Tailwind CSS v4.0.0
24688
- '', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]
24689
- }],
24690
- /**
24691
- * Box Shadow Color
24692
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
24693
- */
24694
- 'shadow-color': [{
24695
- shadow: scaleColor()
24696
- }],
24697
- /**
24698
- * Inset Box Shadow
24699
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
24700
- */
24701
- 'inset-shadow': [{
24702
- 'inset-shadow': ['none', isArbitraryVariable, isArbitraryValue, themeInsetShadow]
24703
- }],
24704
- /**
24705
- * Inset Box Shadow Color
24706
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
24707
- */
24708
- 'inset-shadow-color': [{
24709
- 'inset-shadow': scaleColor()
24710
- }],
24711
- /**
24712
- * Ring Width
24713
- * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
24714
- */
24715
- 'ring-w': [{
24716
- ring: scaleBorderWidth()
24717
- }],
24718
- /**
24719
- * Ring Width Inset
24720
- * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
24721
- * @deprecated since Tailwind CSS v4.0.0
24722
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
24723
- */
24724
- 'ring-w-inset': ['ring-inset'],
24725
- /**
24726
- * Ring Color
24727
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
24728
- */
24729
- 'ring-color': [{
24730
- ring: scaleColor()
24731
- }],
24732
- /**
24733
- * Ring Offset Width
24734
- * @see https://v3.tailwindcss.com/docs/ring-offset-width
24735
- * @deprecated since Tailwind CSS v4.0.0
24736
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
24737
- */
24738
- 'ring-offset-w': [{
24739
- 'ring-offset': [isNumber, isArbitraryLength]
24740
- }],
24741
- /**
24742
- * Ring Offset Color
24743
- * @see https://v3.tailwindcss.com/docs/ring-offset-color
24744
- * @deprecated since Tailwind CSS v4.0.0
24745
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
24746
- */
24747
- 'ring-offset-color': [{
24748
- 'ring-offset': scaleColor()
24749
- }],
24750
- /**
24751
- * Inset Ring Width
24752
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
24753
- */
24754
- 'inset-ring-w': [{
24755
- 'inset-ring': scaleBorderWidth()
24756
- }],
24757
- /**
24758
- * Inset Ring Color
24759
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
24760
- */
24761
- 'inset-ring-color': [{
24762
- 'inset-ring': scaleColor()
24763
- }],
24764
- /**
24765
- * Opacity
24766
- * @see https://tailwindcss.com/docs/opacity
24767
- */
24768
- opacity: [{
24769
- opacity: [isNumber, isArbitraryVariable, isArbitraryValue]
24770
- }],
24771
- /**
24772
- * Mix Blend Mode
24773
- * @see https://tailwindcss.com/docs/mix-blend-mode
24774
- */
24775
- 'mix-blend': [{
24776
- 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']
24777
- }],
24778
- /**
24779
- * Background Blend Mode
24780
- * @see https://tailwindcss.com/docs/background-blend-mode
24781
- */
24782
- 'bg-blend': [{
24783
- 'bg-blend': scaleBlendMode()
24784
- }],
24785
- // ---------------
24786
- // --- Filters ---
24787
- // ---------------
24788
- /**
24789
- * Filter
24790
- * @see https://tailwindcss.com/docs/filter
24791
- */
24792
- filter: [{
24793
- filter: [
24794
- // Deprecated since Tailwind CSS v3.0.0
24795
- '', 'none', isArbitraryVariable, isArbitraryValue]
24796
- }],
24797
- /**
24798
- * Blur
24799
- * @see https://tailwindcss.com/docs/blur
24800
- */
24801
- blur: [{
24802
- blur: scaleBlur()
24803
- }],
24804
- /**
24805
- * Brightness
24806
- * @see https://tailwindcss.com/docs/brightness
24807
- */
24808
- brightness: [{
24809
- brightness: [isNumber, isArbitraryVariable, isArbitraryValue]
24810
- }],
24811
- /**
24812
- * Contrast
24813
- * @see https://tailwindcss.com/docs/contrast
24814
- */
24815
- contrast: [{
24816
- contrast: [isNumber, isArbitraryVariable, isArbitraryValue]
24817
- }],
24818
- /**
24819
- * Drop Shadow
24820
- * @see https://tailwindcss.com/docs/drop-shadow
24821
- */
24822
- 'drop-shadow': [{
24823
- 'drop-shadow': [
24824
- // Deprecated since Tailwind CSS v4.0.0
24825
- '', 'none', themeDropShadow, isArbitraryVariable, isArbitraryValue]
24826
- }],
24827
- /**
24828
- * Grayscale
24829
- * @see https://tailwindcss.com/docs/grayscale
24830
- */
24831
- grayscale: [{
24832
- grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]
24833
- }],
24834
- /**
24835
- * Hue Rotate
24836
- * @see https://tailwindcss.com/docs/hue-rotate
24837
- */
24838
- 'hue-rotate': [{
24839
- 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
24840
- }],
24841
- /**
24842
- * Invert
24843
- * @see https://tailwindcss.com/docs/invert
24844
- */
24845
- invert: [{
24846
- invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]
24847
- }],
24848
- /**
24849
- * Saturate
24850
- * @see https://tailwindcss.com/docs/saturate
24851
- */
24852
- saturate: [{
24853
- saturate: [isNumber, isArbitraryVariable, isArbitraryValue]
24854
- }],
24855
- /**
24856
- * Sepia
24857
- * @see https://tailwindcss.com/docs/sepia
24858
- */
24859
- sepia: [{
24860
- sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]
24861
- }],
24862
- /**
24863
- * Backdrop Filter
24864
- * @see https://tailwindcss.com/docs/backdrop-filter
24865
- */
24866
- 'backdrop-filter': [{
24867
- 'backdrop-filter': [
24868
- // Deprecated since Tailwind CSS v3.0.0
24869
- '', 'none', isArbitraryVariable, isArbitraryValue]
24870
- }],
24871
- /**
24872
- * Backdrop Blur
24873
- * @see https://tailwindcss.com/docs/backdrop-blur
24874
- */
24875
- 'backdrop-blur': [{
24876
- 'backdrop-blur': scaleBlur()
24877
- }],
24878
- /**
24879
- * Backdrop Brightness
24880
- * @see https://tailwindcss.com/docs/backdrop-brightness
24881
- */
24882
- 'backdrop-brightness': [{
24883
- 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]
24884
- }],
24885
- /**
24886
- * Backdrop Contrast
24887
- * @see https://tailwindcss.com/docs/backdrop-contrast
24888
- */
24889
- 'backdrop-contrast': [{
24890
- 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]
24891
- }],
24892
- /**
24893
- * Backdrop Grayscale
24894
- * @see https://tailwindcss.com/docs/backdrop-grayscale
24895
- */
24896
- 'backdrop-grayscale': [{
24897
- 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]
24898
- }],
24899
- /**
24900
- * Backdrop Hue Rotate
24901
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
24902
- */
24903
- 'backdrop-hue-rotate': [{
24904
- 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]
24905
- }],
24906
- /**
24907
- * Backdrop Invert
24908
- * @see https://tailwindcss.com/docs/backdrop-invert
24909
- */
24910
- 'backdrop-invert': [{
24911
- 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]
24912
- }],
24913
- /**
24914
- * Backdrop Opacity
24915
- * @see https://tailwindcss.com/docs/backdrop-opacity
24916
- */
24917
- 'backdrop-opacity': [{
24918
- 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]
24919
- }],
24920
- /**
24921
- * Backdrop Saturate
24922
- * @see https://tailwindcss.com/docs/backdrop-saturate
24923
- */
24924
- 'backdrop-saturate': [{
24925
- 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]
24926
- }],
24927
- /**
24928
- * Backdrop Sepia
24929
- * @see https://tailwindcss.com/docs/backdrop-sepia
24930
- */
24931
- 'backdrop-sepia': [{
24932
- 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]
24933
- }],
24934
- // --------------
24935
- // --- Tables ---
24936
- // --------------
24937
- /**
24938
- * Border Collapse
24939
- * @see https://tailwindcss.com/docs/border-collapse
24940
- */
24941
- 'border-collapse': [{
24942
- border: ['collapse', 'separate']
24943
- }],
24944
- /**
24945
- * Border Spacing
24946
- * @see https://tailwindcss.com/docs/border-spacing
24947
- */
24948
- 'border-spacing': [{
24949
- 'border-spacing': scaleUnambiguousSpacing()
24950
- }],
24951
- /**
24952
- * Border Spacing X
24953
- * @see https://tailwindcss.com/docs/border-spacing
24954
- */
24955
- 'border-spacing-x': [{
24956
- 'border-spacing-x': scaleUnambiguousSpacing()
24957
- }],
24958
- /**
24959
- * Border Spacing Y
24960
- * @see https://tailwindcss.com/docs/border-spacing
24961
- */
24962
- 'border-spacing-y': [{
24963
- 'border-spacing-y': scaleUnambiguousSpacing()
24964
- }],
24965
- /**
24966
- * Table Layout
24967
- * @see https://tailwindcss.com/docs/table-layout
24968
- */
24969
- 'table-layout': [{
24970
- table: ['auto', 'fixed']
24971
- }],
24972
- /**
24973
- * Caption Side
24974
- * @see https://tailwindcss.com/docs/caption-side
24975
- */
24976
- caption: [{
24977
- caption: ['top', 'bottom']
24978
- }],
24979
- // ---------------------------------
24980
- // --- Transitions and Animation ---
24981
- // ---------------------------------
24982
- /**
24983
- * Transition Property
24984
- * @see https://tailwindcss.com/docs/transition-property
24985
- */
24986
- transition: [{
24987
- transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]
24988
- }],
24989
- /**
24990
- * Transition Behavior
24991
- * @see https://tailwindcss.com/docs/transition-behavior
24992
- */
24993
- 'transition-behavior': [{
24994
- transition: ['normal', 'discrete']
24995
- }],
24996
- /**
24997
- * Transition Duration
24998
- * @see https://tailwindcss.com/docs/transition-duration
24999
- */
25000
- duration: [{
25001
- duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]
25002
- }],
25003
- /**
25004
- * Transition Timing Function
25005
- * @see https://tailwindcss.com/docs/transition-timing-function
25006
- */
25007
- ease: [{
25008
- ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]
25009
- }],
25010
- /**
25011
- * Transition Delay
25012
- * @see https://tailwindcss.com/docs/transition-delay
25013
- */
25014
- delay: [{
25015
- delay: [isNumber, isArbitraryVariable, isArbitraryValue]
25016
- }],
25017
- /**
25018
- * Animation
25019
- * @see https://tailwindcss.com/docs/animation
25020
- */
25021
- animate: [{
25022
- animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]
25023
- }],
25024
- // ------------------
25025
- // --- Transforms ---
25026
- // ------------------
25027
- /**
25028
- * Backface Visibility
25029
- * @see https://tailwindcss.com/docs/backface-visibility
25030
- */
25031
- backface: [{
25032
- backface: ['hidden', 'visible']
25033
- }],
25034
- /**
25035
- * Perspective
25036
- * @see https://tailwindcss.com/docs/perspective
25037
- */
25038
- perspective: [{
25039
- perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]
25040
- }],
25041
- /**
25042
- * Perspective Origin
25043
- * @see https://tailwindcss.com/docs/perspective-origin
25044
- */
25045
- 'perspective-origin': [{
25046
- 'perspective-origin': scaleOrigin()
25047
- }],
25048
- /**
25049
- * Rotate
25050
- * @see https://tailwindcss.com/docs/rotate
25051
- */
25052
- rotate: [{
25053
- rotate: scaleRotate()
25054
- }],
25055
- /**
25056
- * Rotate X
25057
- * @see https://tailwindcss.com/docs/rotate
25058
- */
25059
- 'rotate-x': [{
25060
- 'rotate-x': scaleRotate()
25061
- }],
25062
- /**
25063
- * Rotate Y
25064
- * @see https://tailwindcss.com/docs/rotate
25065
- */
25066
- 'rotate-y': [{
25067
- 'rotate-y': scaleRotate()
25068
- }],
25069
- /**
25070
- * Rotate Z
25071
- * @see https://tailwindcss.com/docs/rotate
25072
- */
25073
- 'rotate-z': [{
25074
- 'rotate-z': scaleRotate()
25075
- }],
25076
- /**
25077
- * Scale
25078
- * @see https://tailwindcss.com/docs/scale
25079
- */
25080
- scale: [{
25081
- scale: scaleScale()
25082
- }],
25083
- /**
25084
- * Scale X
25085
- * @see https://tailwindcss.com/docs/scale
25086
- */
25087
- 'scale-x': [{
25088
- 'scale-x': scaleScale()
25089
- }],
25090
- /**
25091
- * Scale Y
25092
- * @see https://tailwindcss.com/docs/scale
25093
- */
25094
- 'scale-y': [{
25095
- 'scale-y': scaleScale()
25096
- }],
25097
- /**
25098
- * Scale Z
25099
- * @see https://tailwindcss.com/docs/scale
25100
- */
25101
- 'scale-z': [{
25102
- 'scale-z': scaleScale()
25103
- }],
25104
- /**
25105
- * Scale 3D
25106
- * @see https://tailwindcss.com/docs/scale
25107
- */
25108
- 'scale-3d': ['scale-3d'],
25109
- /**
25110
- * Skew
25111
- * @see https://tailwindcss.com/docs/skew
25112
- */
25113
- skew: [{
25114
- skew: scaleSkew()
25115
- }],
25116
- /**
25117
- * Skew X
25118
- * @see https://tailwindcss.com/docs/skew
25119
- */
25120
- 'skew-x': [{
25121
- 'skew-x': scaleSkew()
25122
- }],
25123
- /**
25124
- * Skew Y
25125
- * @see https://tailwindcss.com/docs/skew
25126
- */
25127
- 'skew-y': [{
25128
- 'skew-y': scaleSkew()
25129
- }],
25130
- /**
25131
- * Transform
25132
- * @see https://tailwindcss.com/docs/transform
25133
- */
25134
- transform: [{
25135
- transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']
25136
- }],
25137
- /**
25138
- * Transform Origin
25139
- * @see https://tailwindcss.com/docs/transform-origin
25140
- */
25141
- 'transform-origin': [{
25142
- origin: scaleOrigin()
25143
- }],
25144
- /**
25145
- * Transform Style
25146
- * @see https://tailwindcss.com/docs/transform-style
25147
- */
25148
- 'transform-style': [{
25149
- transform: ['3d', 'flat']
25150
- }],
25151
- /**
25152
- * Translate
25153
- * @see https://tailwindcss.com/docs/translate
25154
- */
25155
- translate: [{
25156
- translate: scaleTranslate()
25157
- }],
25158
- /**
25159
- * Translate X
25160
- * @see https://tailwindcss.com/docs/translate
25161
- */
25162
- 'translate-x': [{
25163
- 'translate-x': scaleTranslate()
25164
- }],
25165
- /**
25166
- * Translate Y
25167
- * @see https://tailwindcss.com/docs/translate
25168
- */
25169
- 'translate-y': [{
25170
- 'translate-y': scaleTranslate()
25171
- }],
25172
- /**
25173
- * Translate Z
25174
- * @see https://tailwindcss.com/docs/translate
25175
- */
25176
- 'translate-z': [{
25177
- 'translate-z': scaleTranslate()
25178
- }],
25179
- /**
25180
- * Translate None
25181
- * @see https://tailwindcss.com/docs/translate
25182
- */
25183
- 'translate-none': ['translate-none'],
25184
- // ---------------------
25185
- // --- Interactivity ---
25186
- // ---------------------
25187
- /**
25188
- * Accent Color
25189
- * @see https://tailwindcss.com/docs/accent-color
25190
- */
25191
- accent: [{
25192
- accent: scaleColor()
25193
- }],
25194
- /**
25195
- * Appearance
25196
- * @see https://tailwindcss.com/docs/appearance
25197
- */
25198
- appearance: [{
25199
- appearance: ['none', 'auto']
25200
- }],
25201
- /**
25202
- * Caret Color
25203
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
25204
- */
25205
- 'caret-color': [{
25206
- caret: scaleColor()
25207
- }],
25208
- /**
25209
- * Color Scheme
25210
- * @see https://tailwindcss.com/docs/color-scheme
25211
- */
25212
- 'color-scheme': [{
25213
- scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']
25214
- }],
25215
- /**
25216
- * Cursor
25217
- * @see https://tailwindcss.com/docs/cursor
25218
- */
25219
- cursor: [{
25220
- cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]
25221
- }],
25222
- /**
25223
- * Field Sizing
25224
- * @see https://tailwindcss.com/docs/field-sizing
25225
- */
25226
- 'field-sizing': [{
25227
- 'field-sizing': ['fixed', 'content']
25228
- }],
25229
- /**
25230
- * Pointer Events
25231
- * @see https://tailwindcss.com/docs/pointer-events
25232
- */
25233
- 'pointer-events': [{
25234
- 'pointer-events': ['auto', 'none']
25235
- }],
25236
- /**
25237
- * Resize
25238
- * @see https://tailwindcss.com/docs/resize
25239
- */
25240
- resize: [{
25241
- resize: ['none', '', 'y', 'x']
25242
- }],
25243
- /**
25244
- * Scroll Behavior
25245
- * @see https://tailwindcss.com/docs/scroll-behavior
25246
- */
25247
- 'scroll-behavior': [{
25248
- scroll: ['auto', 'smooth']
25249
- }],
25250
- /**
25251
- * Scroll Margin
25252
- * @see https://tailwindcss.com/docs/scroll-margin
25253
- */
25254
- 'scroll-m': [{
25255
- 'scroll-m': scaleUnambiguousSpacing()
25256
- }],
25257
- /**
25258
- * Scroll Margin X
25259
- * @see https://tailwindcss.com/docs/scroll-margin
25260
- */
25261
- 'scroll-mx': [{
25262
- 'scroll-mx': scaleUnambiguousSpacing()
25263
- }],
25264
- /**
25265
- * Scroll Margin Y
25266
- * @see https://tailwindcss.com/docs/scroll-margin
25267
- */
25268
- 'scroll-my': [{
25269
- 'scroll-my': scaleUnambiguousSpacing()
25270
- }],
25271
- /**
25272
- * Scroll Margin Start
25273
- * @see https://tailwindcss.com/docs/scroll-margin
25274
- */
25275
- 'scroll-ms': [{
25276
- 'scroll-ms': scaleUnambiguousSpacing()
25277
- }],
25278
- /**
25279
- * Scroll Margin End
25280
- * @see https://tailwindcss.com/docs/scroll-margin
25281
- */
25282
- 'scroll-me': [{
25283
- 'scroll-me': scaleUnambiguousSpacing()
25284
- }],
25285
- /**
25286
- * Scroll Margin Top
25287
- * @see https://tailwindcss.com/docs/scroll-margin
25288
- */
25289
- 'scroll-mt': [{
25290
- 'scroll-mt': scaleUnambiguousSpacing()
25291
- }],
25292
- /**
25293
- * Scroll Margin Right
25294
- * @see https://tailwindcss.com/docs/scroll-margin
25295
- */
25296
- 'scroll-mr': [{
25297
- 'scroll-mr': scaleUnambiguousSpacing()
25298
- }],
25299
- /**
25300
- * Scroll Margin Bottom
25301
- * @see https://tailwindcss.com/docs/scroll-margin
25302
- */
25303
- 'scroll-mb': [{
25304
- 'scroll-mb': scaleUnambiguousSpacing()
25305
- }],
25306
- /**
25307
- * Scroll Margin Left
25308
- * @see https://tailwindcss.com/docs/scroll-margin
25309
- */
25310
- 'scroll-ml': [{
25311
- 'scroll-ml': scaleUnambiguousSpacing()
25312
- }],
25313
- /**
25314
- * Scroll Padding
25315
- * @see https://tailwindcss.com/docs/scroll-padding
25316
- */
25317
- 'scroll-p': [{
25318
- 'scroll-p': scaleUnambiguousSpacing()
25319
- }],
25320
- /**
25321
- * Scroll Padding X
25322
- * @see https://tailwindcss.com/docs/scroll-padding
25323
- */
25324
- 'scroll-px': [{
25325
- 'scroll-px': scaleUnambiguousSpacing()
25326
- }],
25327
- /**
25328
- * Scroll Padding Y
25329
- * @see https://tailwindcss.com/docs/scroll-padding
25330
- */
25331
- 'scroll-py': [{
25332
- 'scroll-py': scaleUnambiguousSpacing()
25333
- }],
25334
- /**
25335
- * Scroll Padding Start
25336
- * @see https://tailwindcss.com/docs/scroll-padding
25337
- */
25338
- 'scroll-ps': [{
25339
- 'scroll-ps': scaleUnambiguousSpacing()
25340
- }],
25341
- /**
25342
- * Scroll Padding End
25343
- * @see https://tailwindcss.com/docs/scroll-padding
25344
- */
25345
- 'scroll-pe': [{
25346
- 'scroll-pe': scaleUnambiguousSpacing()
25347
- }],
25348
- /**
25349
- * Scroll Padding Top
25350
- * @see https://tailwindcss.com/docs/scroll-padding
25351
- */
25352
- 'scroll-pt': [{
25353
- 'scroll-pt': scaleUnambiguousSpacing()
25354
- }],
25355
- /**
25356
- * Scroll Padding Right
25357
- * @see https://tailwindcss.com/docs/scroll-padding
25358
- */
25359
- 'scroll-pr': [{
25360
- 'scroll-pr': scaleUnambiguousSpacing()
25361
- }],
25362
- /**
25363
- * Scroll Padding Bottom
25364
- * @see https://tailwindcss.com/docs/scroll-padding
25365
- */
25366
- 'scroll-pb': [{
25367
- 'scroll-pb': scaleUnambiguousSpacing()
25368
- }],
25369
- /**
25370
- * Scroll Padding Left
25371
- * @see https://tailwindcss.com/docs/scroll-padding
25372
- */
25373
- 'scroll-pl': [{
25374
- 'scroll-pl': scaleUnambiguousSpacing()
25375
- }],
25376
- /**
25377
- * Scroll Snap Align
25378
- * @see https://tailwindcss.com/docs/scroll-snap-align
25379
- */
25380
- 'snap-align': [{
25381
- snap: ['start', 'end', 'center', 'align-none']
25382
- }],
25383
- /**
25384
- * Scroll Snap Stop
25385
- * @see https://tailwindcss.com/docs/scroll-snap-stop
25386
- */
25387
- 'snap-stop': [{
25388
- snap: ['normal', 'always']
25389
- }],
25390
- /**
25391
- * Scroll Snap Type
25392
- * @see https://tailwindcss.com/docs/scroll-snap-type
25393
- */
25394
- 'snap-type': [{
25395
- snap: ['none', 'x', 'y', 'both']
25396
- }],
25397
- /**
25398
- * Scroll Snap Type Strictness
25399
- * @see https://tailwindcss.com/docs/scroll-snap-type
25400
- */
25401
- 'snap-strictness': [{
25402
- snap: ['mandatory', 'proximity']
25403
- }],
25404
- /**
25405
- * Touch Action
25406
- * @see https://tailwindcss.com/docs/touch-action
25407
- */
25408
- touch: [{
25409
- touch: ['auto', 'none', 'manipulation']
25410
- }],
25411
- /**
25412
- * Touch Action X
25413
- * @see https://tailwindcss.com/docs/touch-action
25414
- */
25415
- 'touch-x': [{
25416
- 'touch-pan': ['x', 'left', 'right']
25417
- }],
25418
- /**
25419
- * Touch Action Y
25420
- * @see https://tailwindcss.com/docs/touch-action
25421
- */
25422
- 'touch-y': [{
25423
- 'touch-pan': ['y', 'up', 'down']
25424
- }],
25425
- /**
25426
- * Touch Action Pinch Zoom
25427
- * @see https://tailwindcss.com/docs/touch-action
25428
- */
25429
- 'touch-pz': ['touch-pinch-zoom'],
25430
- /**
25431
- * User Select
25432
- * @see https://tailwindcss.com/docs/user-select
25433
- */
25434
- select: [{
25435
- select: ['none', 'text', 'all', 'auto']
25436
- }],
25437
- /**
25438
- * Will Change
25439
- * @see https://tailwindcss.com/docs/will-change
25440
- */
25441
- 'will-change': [{
25442
- 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]
25443
- }],
25444
- // -----------
25445
- // --- SVG ---
25446
- // -----------
25447
- /**
25448
- * Fill
25449
- * @see https://tailwindcss.com/docs/fill
25450
- */
25451
- fill: [{
25452
- fill: ['none', ...scaleColor()]
25453
- }],
25454
- /**
25455
- * Stroke Width
25456
- * @see https://tailwindcss.com/docs/stroke-width
25457
- */
25458
- 'stroke-w': [{
25459
- stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
25460
- }],
25461
- /**
25462
- * Stroke
25463
- * @see https://tailwindcss.com/docs/stroke
25464
- */
25465
- stroke: [{
25466
- stroke: ['none', ...scaleColor()]
25467
- }],
25468
- // ---------------------
25469
- // --- Accessibility ---
25470
- // ---------------------
25471
- /**
25472
- * Forced Color Adjust
25473
- * @see https://tailwindcss.com/docs/forced-color-adjust
25474
- */
25475
- 'forced-color-adjust': [{
25476
- 'forced-color-adjust': ['auto', 'none']
25477
- }]
25478
- },
25479
- conflictingClassGroups: {
25480
- overflow: ['overflow-x', 'overflow-y'],
25481
- overscroll: ['overscroll-x', 'overscroll-y'],
25482
- inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
25483
- 'inset-x': ['right', 'left'],
25484
- 'inset-y': ['top', 'bottom'],
25485
- flex: ['basis', 'grow', 'shrink'],
25486
- gap: ['gap-x', 'gap-y'],
25487
- p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
25488
- px: ['pr', 'pl'],
25489
- py: ['pt', 'pb'],
25490
- m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
25491
- mx: ['mr', 'ml'],
25492
- my: ['mt', 'mb'],
25493
- size: ['w', 'h'],
25494
- 'font-size': ['leading'],
25495
- 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
25496
- 'fvn-ordinal': ['fvn-normal'],
25497
- 'fvn-slashed-zero': ['fvn-normal'],
25498
- 'fvn-figure': ['fvn-normal'],
25499
- 'fvn-spacing': ['fvn-normal'],
25500
- 'fvn-fraction': ['fvn-normal'],
25501
- 'line-clamp': ['display', 'overflow'],
25502
- rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
25503
- 'rounded-s': ['rounded-ss', 'rounded-es'],
25504
- 'rounded-e': ['rounded-se', 'rounded-ee'],
25505
- 'rounded-t': ['rounded-tl', 'rounded-tr'],
25506
- 'rounded-r': ['rounded-tr', 'rounded-br'],
25507
- 'rounded-b': ['rounded-br', 'rounded-bl'],
25508
- 'rounded-l': ['rounded-tl', 'rounded-bl'],
25509
- 'border-spacing': ['border-spacing-x', 'border-spacing-y'],
25510
- 'border-w': ['border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
25511
- 'border-w-x': ['border-w-r', 'border-w-l'],
25512
- 'border-w-y': ['border-w-t', 'border-w-b'],
25513
- 'border-color': ['border-color-s', 'border-color-e', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
25514
- 'border-color-x': ['border-color-r', 'border-color-l'],
25515
- 'border-color-y': ['border-color-t', 'border-color-b'],
25516
- translate: ['translate-x', 'translate-y', 'translate-none'],
25517
- 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],
25518
- 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
25519
- 'scroll-mx': ['scroll-mr', 'scroll-ml'],
25520
- 'scroll-my': ['scroll-mt', 'scroll-mb'],
25521
- 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
25522
- 'scroll-px': ['scroll-pr', 'scroll-pl'],
25523
- 'scroll-py': ['scroll-pt', 'scroll-pb'],
25524
- touch: ['touch-x', 'touch-y', 'touch-pz'],
25525
- 'touch-x': ['touch'],
25526
- 'touch-y': ['touch'],
25527
- 'touch-pz': ['touch']
25528
- },
25529
- conflictingClassGroupModifiers: {
25530
- 'font-size': ['leading']
25531
- },
25532
- orderSensitiveModifiers: ['before', 'after', 'placeholder', 'file', 'marker', 'selection', 'first-line', 'first-letter', 'backdrop', '*', '**']
25533
- };
25534
- };
25535
-
25536
- /**
25537
- * @param baseConfig Config where other config will be merged into. This object will be mutated.
25538
- * @param configExtension Partial config to merge into the `baseConfig`.
25539
- */
25540
- const mergeConfigs = (baseConfig, {
25541
- cacheSize,
25542
- prefix,
25543
- experimentalParseClassName,
25544
- extend = {},
25545
- override = {}
25546
- }) => {
25547
- overrideProperty(baseConfig, 'cacheSize', cacheSize);
25548
- overrideProperty(baseConfig, 'prefix', prefix);
25549
- overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);
25550
- overrideConfigProperties(baseConfig.theme, override.theme);
25551
- overrideConfigProperties(baseConfig.classGroups, override.classGroups);
25552
- overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);
25553
- overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers);
25554
- overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers);
25555
- mergeConfigProperties(baseConfig.theme, extend.theme);
25556
- mergeConfigProperties(baseConfig.classGroups, extend.classGroups);
25557
- mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);
25558
- mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers);
25559
- mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers');
25560
- return baseConfig;
25561
- };
25562
- const overrideProperty = (baseObject, overrideKey, overrideValue) => {
25563
- if (overrideValue !== undefined) {
25564
- baseObject[overrideKey] = overrideValue;
25565
- }
25566
- };
25567
- const overrideConfigProperties = (baseObject, overrideObject) => {
25568
- if (overrideObject) {
25569
- for (const key in overrideObject) {
25570
- overrideProperty(baseObject, key, overrideObject[key]);
25571
- }
25572
- }
25573
- };
25574
- const mergeConfigProperties = (baseObject, mergeObject) => {
25575
- if (mergeObject) {
25576
- for (const key in mergeObject) {
25577
- mergeArrayProperties(baseObject, mergeObject, key);
25578
- }
25579
- }
25580
- };
25581
- const mergeArrayProperties = (baseObject, mergeObject, key) => {
25582
- const mergeValue = mergeObject[key];
25583
- if (mergeValue !== undefined) {
25584
- baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;
25585
- }
25586
- };
25587
- const extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
25588
- const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
25589
- exports.createTailwindMerge = createTailwindMerge;
25590
- exports.extendTailwindMerge = extendTailwindMerge;
25591
- exports.fromTheme = fromTheme;
25592
- exports.getDefaultConfig = getDefaultConfig;
25593
- exports.mergeConfigs = mergeConfigs;
25594
- exports.twJoin = twJoin;
25595
- exports.twMerge = twMerge;
25596
- exports.validators = validators;
25597
- //# sourceMappingURL=bundle-cjs.js.map
25598
- });
25599
-
25600
- function cn(...inputs) {
25601
- return bundleCjs.twMerge(clsx(inputs));
25602
- }
25603
-
25604
22738
  const navigationItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-\\[inherit\\]{width:inherit!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.bg-off-white-600{--tw-bg-opacity:1!important;background-color:rgb(236 234 229/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.pl-1{padding-left:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.hover\\:bg-off-white:hover{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.hover\\:text-black-teal-500:hover{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";
25605
22739
 
25606
22740
  const navigationItem = cva([
@@ -25640,16 +22774,13 @@ class NavigationItem {
25640
22774
  this.counter = undefined;
25641
22775
  this.href = undefined;
25642
22776
  this.target = undefined;
25643
- this.class = undefined;
25644
22777
  }
25645
22778
  render() {
25646
- var _a;
25647
22779
  const TagType = this.as;
25648
- const active = this.active || ((_a = this.class) === null || _a === void 0 ? void 0 : _a.includes('active'));
25649
- return (hAsync(Host, { class: cn('p-navigation-item inline-block', this.class) }, hAsync(TagType, { class: navigationItem({
22780
+ return (hAsync(Host, { class: 'p-navigation-item inline-block' }, hAsync(TagType, { class: navigationItem({
22781
+ active: this.active,
25650
22782
  icon: !!this.icon,
25651
- active,
25652
- }), href: this.href, target: this.target }, hAsync("div", { class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { variant: this.icon })), hAsync("span", { class: this.counter && 'has-counter' }, hAsync("slot", null)), !!this.counter && this.counter !== '0' && (hAsync("p-badge", null, this.counter)))));
22783
+ }), href: this.href, target: this.target }, hAsync("div", { class: navigationItemIconContainer({ active: this.active }) }, hAsync("p-icon", { variant: this.icon })), hAsync("span", { class: this.counter && 'has-counter' }, hAsync("slot", null)), !!this.counter && this.counter !== '0' && (hAsync("p-badge", null, this.counter)))));
25653
22784
  }
25654
22785
  static get style() { return navigationItemComponentCss; }
25655
22786
  static get cmpMeta() { return {
@@ -25661,32 +22792,7 @@ class NavigationItem {
25661
22792
  "as": [1],
25662
22793
  "counter": [8],
25663
22794
  "href": [1],
25664
- "target": [1],
25665
- "class": [1]
25666
- },
25667
- "$listeners$": undefined,
25668
- "$lazyBundleId$": "-",
25669
- "$attrsToReflect$": []
25670
- }; }
25671
- }
25672
-
25673
- const navigationSectionComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}";
25674
-
25675
- class NavigationSection {
25676
- constructor(hostRef) {
25677
- registerInstance(this, hostRef);
25678
- this.header = undefined;
25679
- }
25680
- render() {
25681
- var _a;
25682
- return (hAsync(Host, { class: 'p-navigation-section flex flex-col gap-2' }, ((_a = this.header) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("p-navigation-title", null, this.header)), hAsync("div", { class: 'flex flex-col' }, hAsync("slot", null))));
25683
- }
25684
- static get style() { return navigationSectionComponentCss; }
25685
- static get cmpMeta() { return {
25686
- "$flags$": 4,
25687
- "$tagName$": "p-navigation-section",
25688
- "$members$": {
25689
- "header": [1]
22795
+ "target": [1]
25690
22796
  },
25691
22797
  "$listeners$": undefined,
25692
22798
  "$lazyBundleId$": "-",
@@ -25968,13 +23074,17 @@ class PaginationItem {
25968
23074
  }; }
25969
23075
  }
25970
23076
 
25971
- const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.max-w-full{max-width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";
23077
+ const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-supportive-lilac-800{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important}.shadow-1,.shadow-2{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-supportive-lilac-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.hover\\:shadow-2:hover{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}";
25972
23078
 
25973
- const profileContent = cva(['flex gap-2 items-center flex-1 min-w-0'], {
23079
+ const profileContent = cva(['flex h-10 gap-2 items-center w-full'], {
25974
23080
  variants: {
25975
23081
  dropdown: {
25976
- false: 'h-10 py-1',
25977
- true: null,
23082
+ false: 'py-1',
23083
+ true: 'bg-white p-2 shadow-1 border rounded-lg hover:shadow-2 cursor-pointer',
23084
+ },
23085
+ dropdownOpen: {
23086
+ false: 'border-black-teal-100',
23087
+ true: 'shadow-2 border-supportive-lilac-800 ring ring-2 ring-supportive-lilac-100',
25978
23088
  },
25979
23089
  },
25980
23090
  });
@@ -25982,32 +23092,25 @@ class Profile {
25982
23092
  constructor(hostRef) {
25983
23093
  registerInstance(this, hostRef);
25984
23094
  this.dropdownLocation = 'bottom-end';
23095
+ this.size = 'base';
25985
23096
  this._dropdownOpen = false;
25986
23097
  this._hasDropdownSlot = false;
25987
23098
  }
25988
23099
  componentWillLoad() {
25989
- this._checkDropdownSlot();
23100
+ this._hasDropdownSlot = !!this._el.querySelector(':scope > [slot="dropdown"]');
25990
23101
  }
25991
23102
  componentWillRender() {
25992
23103
  this._updateAvatar();
25993
23104
  }
25994
23105
  render() {
25995
23106
  const content = this._getContent();
25996
- return (hAsync(Host, { class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (hAsync("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, hAsync("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), hAsync("div", { slot: 'items' }, hAsync("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
25997
- }
25998
- slotchange() {
25999
- this._checkDropdownSlot();
26000
- }
26001
- _checkDropdownSlot() {
26002
- this._hasDropdownSlot = !!this._el.querySelector(':scope > [slot="dropdown"]');
26003
- if (!this._hasDropdownSlot && this._dropdownOpen) {
26004
- this._dropdownOpen = false;
26005
- }
23107
+ return (hAsync(Host, { class: 'p-profile inline-block' }, this._hasDropdownSlot ? (hAsync("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, content, hAsync("div", { slot: 'items' }, hAsync("slot", { name: 'dropdown' })))) : (content)));
26006
23108
  }
26007
23109
  _getContent() {
26008
23110
  return (hAsync("div", { class: profileContent({
26009
23111
  dropdown: this._hasDropdownSlot,
26010
- }) }, hAsync("slot", { name: 'avatar' }), hAsync("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, hAsync("p", { class: 'w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium' }, hAsync("slot", { name: 'title' })), hAsync("p", { class: 'w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300' }, hAsync("slot", { name: 'subtitle' }))), hAsync("slot", { name: 'post-title' })));
23112
+ dropdownOpen: this._dropdownOpen,
23113
+ }), slot: 'trigger' }, hAsync("slot", { name: 'avatar' }), hAsync("div", { class: 'flex flex-1 flex-col' }, hAsync("p", { class: 'font-sm font-medium' }, hAsync("slot", { name: 'title' })), hAsync("p", { class: 'text-xs text-black-teal-300' }, hAsync("slot", { name: 'subtitle' }))), hAsync("slot", { name: 'post-title' }), this._hasDropdownSlot && this._getIcon()));
26011
23114
  }
26012
23115
  _updateAvatar() {
26013
23116
  const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
@@ -26016,6 +23119,9 @@ class Profile {
26016
23119
  }
26017
23120
  avatar.size = this._hasDropdownSlot ? 'sm' : avatar.size;
26018
23121
  }
23122
+ _getIcon() {
23123
+ return (hAsync("p-icon", { variant: 'caret', flip: this._dropdownOpen ? 'vertical' : 'horizontal' }));
23124
+ }
26019
23125
  get _el() { return getElement(this); }
26020
23126
  static get style() { return profileComponentCss; }
26021
23127
  static get cmpMeta() { return {
@@ -26023,12 +23129,13 @@ class Profile {
26023
23129
  "$tagName$": "p-profile",
26024
23130
  "$members$": {
26025
23131
  "dropdownLocation": [1, "dropdown-location"],
23132
+ "size": [513],
26026
23133
  "_dropdownOpen": [32],
26027
23134
  "_hasDropdownSlot": [32]
26028
23135
  },
26029
- "$listeners$": [[0, "slotchange", "slotchange"]],
23136
+ "$listeners$": undefined,
26030
23137
  "$lazyBundleId$": "-",
26031
- "$attrsToReflect$": []
23138
+ "$attrsToReflect$": [["size", "size"]]
26032
23139
  }; }
26033
23140
  }
26034
23141
 
@@ -29024,7 +26131,6 @@ registerComponents([
29024
26131
  ModalHeader,
29025
26132
  Navbar,
29026
26133
  NavigationItem,
29027
- NavigationSection,
29028
26134
  NavigationTitle,
29029
26135
  PageSizeSelect,
29030
26136
  Pagination,