@fluidattacks/design 3.1.13 → 3.1.14

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 (159) hide show
  1. package/dist/assets/design.css +1 -0
  2. package/dist/components/@core/index.js +15 -16
  3. package/dist/components/accordion/accordion-content/index.js +3 -20
  4. package/dist/components/accordion/index.js +5 -76
  5. package/dist/components/alert/index.js +4 -162
  6. package/dist/components/button/index.js +4 -67
  7. package/dist/components/card/card-header/index.js +4 -81
  8. package/dist/components/card/card-with-image/index.js +5 -91
  9. package/dist/components/card/card-with-input/index.js +5 -103
  10. package/dist/components/card/card-with-selector/index.js +4 -69
  11. package/dist/components/card/card-with-switch/index.js +4 -48
  12. package/dist/components/card/index.js +6 -10
  13. package/dist/components/carousel/index.js +4 -73
  14. package/dist/components/checkbox/index.js +4 -116
  15. package/dist/components/cloud-image/index.js +2 -2
  16. package/dist/components/code-snippet/index.js +6 -70
  17. package/dist/components/code-snippet/location-code/index.js +7 -169
  18. package/dist/components/colors/index.js +7 -222
  19. package/dist/components/confirm-dialog/index.js +4 -43
  20. package/dist/components/container/index.js +4 -49
  21. package/dist/components/content-card/category-tag/index.js +4 -40
  22. package/dist/components/content-card/event-date/index.js +5 -59
  23. package/dist/components/content-card/index.js +4 -166
  24. package/dist/components/content-card-carousel/index.js +4 -93
  25. package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
  26. package/dist/components/divider/index.js +4 -23
  27. package/dist/components/empty-state/empty-button/index.js +3 -4
  28. package/dist/components/empty-state/index.js +3 -83
  29. package/dist/components/file-preview/index.js +3 -42
  30. package/dist/components/form/index.js +4 -61
  31. package/dist/components/grid-container/index.js +4 -46
  32. package/dist/components/group-selector/index.js +6 -133
  33. package/dist/components/group-selector/option-container/index.js +3 -7
  34. package/dist/components/icon/index.js +4 -106
  35. package/dist/components/icon-button/index.js +4 -74
  36. package/dist/components/indicator-card/index.js +5 -72
  37. package/dist/components/info-sidebar/index.js +4 -114
  38. package/dist/components/inputs/fields/combobox/index.js +7 -144
  39. package/dist/components/inputs/fields/combobox/option/index.js +2 -3
  40. package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -25
  41. package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -24
  42. package/dist/components/inputs/fields/date/calendar/header/index.js +4 -36
  43. package/dist/components/inputs/fields/date/calendar/index.js +6 -28
  44. package/dist/components/inputs/fields/date/index.js +8 -66
  45. package/dist/components/inputs/fields/date-range/calendar/index.js +7 -33
  46. package/dist/components/inputs/fields/date-range/index.js +6 -106
  47. package/dist/components/inputs/fields/date-time/calendar/index.js +7 -62
  48. package/dist/components/inputs/fields/date-time/index.js +6 -67
  49. package/dist/components/inputs/fields/editable/index.js +4 -26
  50. package/dist/components/inputs/fields/input/index.js +5 -75
  51. package/dist/components/inputs/fields/input-file/index.js +6 -123
  52. package/dist/components/inputs/fields/input-tags/index.js +4 -66
  53. package/dist/components/inputs/fields/number/index.js +4 -55
  54. package/dist/components/inputs/fields/number-range/index.js +4 -47
  55. package/dist/components/inputs/fields/phone/index.js +7 -577
  56. package/dist/components/inputs/fields/text-area/index.js +5 -79
  57. package/dist/components/inputs/index.js +14 -26
  58. package/dist/components/inputs/label/index.js +5 -36
  59. package/dist/components/inputs/outline-container/index.js +4 -102
  60. package/dist/components/inputs/utils/action-button/index.js +4 -29
  61. package/dist/components/inputs/utils/calendar-button/index.js +5 -35
  62. package/dist/components/inputs/utils/date-selector/index.js +3 -60
  63. package/dist/components/inputs/utils/date-time-field/index.js +10 -131
  64. package/dist/components/inputs/utils/dialog/index.js +5 -12
  65. package/dist/components/inputs/utils/number-field/index.js +5 -84
  66. package/dist/components/inputs/utils/popover/index.js +5 -42
  67. package/dist/components/interactive-card/icon/index.js +2 -4
  68. package/dist/components/interactive-card/index.js +4 -116
  69. package/dist/components/language-selector/index.js +4 -35
  70. package/dist/components/language-selector/item-list/index.js +2 -5
  71. package/dist/components/link/index.js +3 -104
  72. package/dist/components/list-item/index.js +6 -65
  73. package/dist/components/little-flag/index.js +3 -30
  74. package/dist/components/loading/index.js +4 -92
  75. package/dist/components/logo/index.js +2 -10
  76. package/dist/components/logo-carousel/index.js +4 -85
  77. package/dist/components/lottie/index.js +3 -18
  78. package/dist/components/menu/index.js +5 -64
  79. package/dist/components/message-banner/index.js +5 -99
  80. package/dist/components/modal/index.js +6 -63
  81. package/dist/components/modal/modal-confirm/index.js +3 -49
  82. package/dist/components/modal/modal-footer/index.js +5 -23
  83. package/dist/components/modal/modal-header/index.js +6 -49
  84. package/dist/components/notification/index.js +5 -111
  85. package/dist/components/notification-sign/index.js +4 -45
  86. package/dist/components/number-input/index.js +5 -87
  87. package/dist/components/oauth-selector/index.js +6 -98
  88. package/dist/components/oauth-selector/option-container/index.js +4 -74
  89. package/dist/components/plan-card/index.js +3 -153
  90. package/dist/components/plan-card/recommended-tag/index.js +3 -29
  91. package/dist/components/pop-up/description/index.js +5 -49
  92. package/dist/components/pop-up/index.js +7 -150
  93. package/dist/components/premium-feature/index.js +4 -83
  94. package/dist/components/priority-score/index.js +4 -27
  95. package/dist/components/progress/index.js +5 -45
  96. package/dist/components/progress-bar/index.js +3 -151
  97. package/dist/components/radio-button/index.js +4 -123
  98. package/dist/components/scroll-button/index.js +4 -40
  99. package/dist/components/search/index.js +7 -103
  100. package/dist/components/search-bar/index.js +4 -217
  101. package/dist/components/search-bar/item-searching/index.js +2 -7
  102. package/dist/components/severity-badge/index.js +4 -72
  103. package/dist/components/severity-overview/badge/index.js +4 -67
  104. package/dist/components/severity-overview/index.js +3 -15
  105. package/dist/components/show-on-hover/index.js +3 -29
  106. package/dist/components/slide-out-menu/index.js +6 -3453
  107. package/dist/components/slide-out-menu/menu-item/index.js +4 -65
  108. package/dist/components/slider/index.js +7 -122
  109. package/dist/components/slider/thumb/index.js +5 -15
  110. package/dist/components/step-lapse/index.js +4 -157
  111. package/dist/components/table-button/index.js +4 -95
  112. package/dist/components/tabs/fixed-tabs/index.js +3 -27
  113. package/dist/components/tabs/index.js +6 -55
  114. package/dist/components/tabs/tab/index.js +3 -37
  115. package/dist/components/tag/index.js +4 -182
  116. package/dist/components/timeline/card/index.js +2 -5
  117. package/dist/components/timeline/index.js +4 -15
  118. package/dist/components/toggle/index.js +4 -101
  119. package/dist/components/toggle-buttons/index.js +4 -101
  120. package/dist/components/tooltip/index.js +3 -6
  121. package/dist/components/tour/index.js +7 -4582
  122. package/dist/components/typography/heading/index.js +4 -45
  123. package/dist/components/typography/index.js +4 -6
  124. package/dist/components/typography/span/index.js +4 -39
  125. package/dist/components/typography/text/index.js +4 -45
  126. package/dist/components/web-form/index.js +4 -78
  127. package/dist/components-C2JBXbtI.mjs +9653 -0
  128. package/dist/hooks/index.js +6 -10
  129. package/dist/index.js +113 -205
  130. package/dist/vendor-CVMqCpkZ.mjs +14504 -0
  131. package/package.json +2 -1
  132. package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
  133. package/dist/assets/index.css +0 -1
  134. package/dist/assets/index2.css +0 -1
  135. package/dist/index-BMHVi812.mjs +0 -234
  136. package/dist/index-BzAniA2J.mjs +0 -135
  137. package/dist/index-C6LbClYh.mjs +0 -146
  138. package/dist/index-CAIe8hBv.mjs +0 -130
  139. package/dist/index-CUQBAqt_.mjs +0 -75
  140. package/dist/index-CWlrSlUk.mjs +0 -68
  141. package/dist/index-Ckmu1TfV.mjs +0 -86
  142. package/dist/index-DwznImvK.mjs +0 -1678
  143. package/dist/index-maWH3JYC.mjs +0 -3561
  144. package/dist/styles-B2N0JLw1.mjs +0 -114
  145. package/dist/styles-B64DVBIF.mjs +0 -115
  146. package/dist/styles-BXFVwnWT.mjs +0 -133
  147. package/dist/styles-BZQOqe8p.mjs +0 -141
  148. package/dist/styles-Bdque9TT.mjs +0 -65
  149. package/dist/styles-BlHspTrz.mjs +0 -144
  150. package/dist/styles-CROOwXEH.mjs +0 -76
  151. package/dist/styles-CplEd2kw.mjs +0 -228
  152. package/dist/styles-D1eTIklB.mjs +0 -110
  153. package/dist/styles-ePGii_9g.mjs +0 -74
  154. package/dist/use-carousel-CgAF78h3.mjs +0 -23
  155. package/dist/use-click-outside-BUll8Ag-.mjs +0 -18
  156. package/dist/use-cloudinary-image-BCxwj15o.mjs +0 -1176
  157. package/dist/use-modal-CtgexKnf.mjs +0 -14
  158. package/dist/use-search-Dj47QDw9.mjs +0 -15
  159. package/dist/utils-V0EumEPM.mjs +0 -6
@@ -0,0 +1 @@
1
+ pre[data-line]{position:relative;padding:1em 0 1em 3em}.line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:#997a6614;background:linear-gradient(to right,#997a661a 70%,#997a6600);pointer-events:none;line-height:inherit;white-space:pre}@media print{.line-highlight{-webkit-print-color-adjust:exact;color-adjust:exact}}.line-highlight:before,.line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:#997a6666;color:#f5f2f0;font:700 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px #fff}.line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}.line-numbers .line-highlight:before,.line-numbers .line-highlight:after{content:none}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows>span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#80808033}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.mb-1\.5{margin-bottom:.375rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-\[500px\]{height:500px}.h-\[600px\]{height:600px}.h-\[900px\]{height:900px}.w-\[400px\]{width:400px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[90px\]{padding-top:90px;padding-bottom:90px}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.capitalize{text-transform:capitalize}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);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)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@property --tag-padding-x{syntax: "<length>"; initial-value: 4px; inherits: false;}@property --tag-padding-y{syntax: "<length>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}
@@ -1,18 +1,17 @@
1
- import { v as e } from "../../utils-V0EumEPM.mjs";
2
- import { a as o, B as n, c as i, b as r, k as p, h as d, j as B, i as m, f as g, e as C, s as f, g as x, d as l } from "../../styles-CplEd2kw.mjs";
1
+ import { a as e, B as t, c as n, b as o, k as i, h as r, j as d, i as p, f as B, e as g, s as m, g as C, d as f, v as l } from "../../components-C2JBXbtI.mjs";
3
2
  export {
4
- o as BaseButtonComponent,
5
- n as BaseComponent,
6
- i as BaseSpanComponent,
7
- r as BaseTextComponent,
8
- p as getStyledConfig,
9
- d as hiddenProps,
10
- B as setBorder,
11
- m as setDisplay,
12
- g as setInteraction,
13
- C as setMargin,
14
- f as setPadding,
15
- x as setPosition,
16
- l as setText,
17
- e as variantBuilder
3
+ e as BaseButtonComponent,
4
+ t as BaseComponent,
5
+ n as BaseSpanComponent,
6
+ o as BaseTextComponent,
7
+ i as getStyledConfig,
8
+ r as hiddenProps,
9
+ d as setBorder,
10
+ p as setDisplay,
11
+ B as setInteraction,
12
+ g as setMargin,
13
+ m as setPadding,
14
+ C as setPosition,
15
+ f as setText,
16
+ l as variantBuilder
18
17
  };
@@ -1,22 +1,5 @@
1
- import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import { Container as r } from "../../container/index.js";
3
- import "../../typography/heading/index.js";
4
- import "../../typography/span/index.js";
5
- import { Text as o } from "../../typography/text/index.js";
6
- const s = ({
7
- item: e
8
- }) => /* @__PURE__ */ i(
9
- r,
10
- {
11
- display: "block",
12
- id: `panel-${e.title}`,
13
- padding: [0.75, 0.75, 0.75, 0.75],
14
- children: [
15
- e.description ? /* @__PURE__ */ n(o, { mb: e.extraElement ? 0.5 : void 0, size: "sm", children: e.description }) : void 0,
16
- e.extraElement ? /* @__PURE__ */ n(r, { children: e.extraElement }) : void 0
17
- ]
18
- }
19
- );
1
+ import "react/jsx-runtime";
2
+ import { aV as n } from "../../../components-C2JBXbtI.mjs";
20
3
  export {
21
- s as AccordionContent
4
+ n as AccordionContent
22
5
  };
@@ -1,78 +1,7 @@
1
- import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
- import { forwardRef as b, useState as m, useCallback as C } from "react";
3
- import { useTheme as w } from "styled-components";
4
- import { AccordionContent as x } from "./accordion-content/index.js";
5
- import { Container as n } from "../container/index.js";
6
- import { Icon as y } from "../icon/index.js";
7
- import "../typography/heading/index.js";
8
- import "../typography/span/index.js";
9
- import { Text as A } from "../typography/text/index.js";
10
- const H = b(function({ aligned: f = "end", items: a, bgColor: s }, h) {
11
- const o = w(), [c, p] = m(!1), [i, u] = m(-1), g = C(
12
- (e) => () => {
13
- u(e), p(e === i ? (t) => !t : !0);
14
- },
15
- [i]
16
- );
17
- return /* @__PURE__ */ r(n, { ref: h, children: a.map((e, t) => {
18
- const l = t === i && c;
19
- return /* @__PURE__ */ d(n, { bgColor: s ?? o.palette.white, children: [
20
- /* @__PURE__ */ r(
21
- n,
22
- {
23
- "aria-controls": `panel-${e.title}`,
24
- "aria-expanded": c,
25
- "aria-label": e.title,
26
- as: "button",
27
- bgColor: s ?? o.palette.white,
28
- bgColorHover: o.palette.gray[100],
29
- borderBottom: l || t === a.length - 1 ? "1px solid" : void 0,
30
- borderColor: o.palette.gray[200],
31
- borderTop: "1px solid",
32
- cursor: "pointer",
33
- display: "flex",
34
- onClick: g(t),
35
- padding: [0.75, 0.75, 0.75, 0.75],
36
- width: "100%",
37
- children: /* @__PURE__ */ d(
38
- n,
39
- {
40
- as: "summary",
41
- display: "flex",
42
- flexDirection: f === "end" ? "row" : "row-reverse",
43
- gap: 0.75,
44
- justify: "space-between",
45
- width: "100%",
46
- children: [
47
- /* @__PURE__ */ r(
48
- A,
49
- {
50
- color: o.palette.gray[800],
51
- fontWeight: "bold",
52
- size: "sm",
53
- sizeSm: "sm",
54
- textAlign: "start",
55
- children: e.title
56
- }
57
- ),
58
- /* @__PURE__ */ r(
59
- y,
60
- {
61
- icon: l ? "chevron-up" : "chevron-down",
62
- iconColor: o.palette.gray[400],
63
- iconSize: "xs",
64
- iconType: "fa-light"
65
- }
66
- )
67
- ]
68
- }
69
- )
70
- }
71
- ),
72
- l && /* @__PURE__ */ r(x, { item: e })
73
- ] }, e.title);
74
- }) });
75
- });
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "styled-components";
4
+ import { A as t } from "../../components-C2JBXbtI.mjs";
76
5
  export {
77
- H as Accordion
6
+ t as Accordion
78
7
  };
@@ -1,164 +1,6 @@
1
- import { jsx as t, jsxs as k } from "react/jsx-runtime";
2
- import { forwardRef as w, useState as y, useCallback as v, useEffect as s } from "react";
3
- import { styled as p } from "styled-components";
4
- import { v as C } from "../../utils-V0EumEPM.mjs";
5
- import { Container as T } from "../container/index.js";
6
- import { Icon as B } from "../icon/index.js";
7
- import { IconButton as S } from "../icon-button/index.js";
8
- const z = (o) => {
9
- switch (o) {
10
- case "warning":
11
- return "triangle-exclamation";
12
- case "info":
13
- return "circle-info";
14
- case "success":
15
- return "circle-check";
16
- case "error":
17
- default:
18
- return "circle-exclamation";
19
- }
20
- }, { getVariant: A } = C(
21
- (o) => ({
22
- error: `
23
- background: ${o.palette.error[50]};
24
- border: 1px solid ${o.palette.error[500]};
25
- color: ${o.palette.error[700]};
26
-
27
- button {
28
- color: ${o.palette.error[700]};
29
-
30
- &:hover:not([disabled]) {
31
- background-color: ${o.palette.error[200]};
32
- color: ${o.palette.error[700]};
33
- }
34
- }
35
- `,
36
- info: `
37
- background: ${o.palette.info[50]};
38
- border: 1px solid ${o.palette.info[500]};
39
- color: ${o.palette.info[700]};
40
-
41
- button {
42
- color: ${o.palette.info[700]};
43
-
44
- &:hover:not([disabled]) {
45
- background-color: ${o.palette.info[200]};
46
- color: ${o.palette.info[700]};
47
- }
48
- }
49
- `,
50
- success: `
51
- background: ${o.palette.success[50]};
52
- border: 1px solid ${o.palette.success[500]};
53
- color: ${o.palette.success[700]};
54
-
55
- button {
56
- color: ${o.palette.success[700]};
57
-
58
- &:hover:not([disabled]) {
59
- background-color: ${o.palette.success[200]};
60
- color: ${o.palette.success[700]};
61
- }
62
- }
63
- `,
64
- warning: `
65
- background: ${o.palette.warning[50]};
66
- border: 1px solid ${o.palette.warning[500]};
67
- color: ${o.palette.warning[700]};
68
-
69
- button {
70
- color: ${o.palette.warning[700]};
71
-
72
- &:hover:not([disabled]) {
73
- background-color: ${o.palette.warning[200]};
74
- color: ${o.palette.warning[700]};
75
- }
76
- }
77
- `
78
- })
79
- ), I = p.div`
80
- ${({ theme: o, $variant: r }) => `
81
- background: transparent;
82
- align-items: center;
83
- border-radius: ${o.spacing[0.25]};
84
- display: inline-flex;
85
- font-family: ${o.typography.type.primary};
86
- font-size: ${o.typography.text.sm};
87
- font-weight: ${o.typography.weight.bold};
88
- line-height: ${o.spacing[1.25]};
89
- min-width: 250px;
90
- width: 100%;
91
- padding: ${o.spacing[0.75]};
92
- position: relative;
93
- gap: ${o.spacing[0.75]};
94
-
95
- button {
96
- background-color: transparent;
97
- }
98
-
99
- ${A(o, r ?? "error")}
100
- `}
101
- `, j = p.div`
102
- padding-right: 4px;
103
- width: 100%;
104
- `, F = w(function({
105
- autoHide: r = !1,
106
- children: d,
107
- closable: u = !1,
108
- onTimeOut: n,
109
- show: a = !0,
110
- time: i = 8,
111
- variant: l = "error",
112
- id: g,
113
- ...f
114
- }, $) {
115
- const [b, e] = y(a), c = v(() => {
116
- e(!1);
117
- }, []);
118
- return s(() => {
119
- const x = setTimeout(() => {
120
- n == null || n(!0), r && c();
121
- }, i * 1e3);
122
- return () => {
123
- clearTimeout(x);
124
- };
125
- }, [r, c, i, n]), s(() => {
126
- e(a);
127
- }, [a, e]), /* @__PURE__ */ t(
128
- T,
129
- {
130
- display: b ? "block" : "none",
131
- ref: $,
132
- role: "alert",
133
- ...f,
134
- children: /* @__PURE__ */ k(I, { $variant: l, id: g, children: [
135
- /* @__PURE__ */ t(
136
- B,
137
- {
138
- clickable: !1,
139
- icon: z(l),
140
- iconSize: "xs",
141
- iconType: "fa-light"
142
- }
143
- ),
144
- /* @__PURE__ */ t(j, { children: d }),
145
- u ? /* @__PURE__ */ t(
146
- S,
147
- {
148
- height: "fit-content",
149
- icon: "close",
150
- iconSize: "xs",
151
- iconType: "fa-light",
152
- onClick: c,
153
- px: 0.125,
154
- py: 0.125,
155
- variant: "ghost"
156
- }
157
- ) : void 0
158
- ] })
159
- }
160
- );
161
- });
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { l as p } from "../../components-C2JBXbtI.mjs";
162
4
  export {
163
- F as Alert
5
+ p as Alert
164
6
  };
@@ -1,69 +1,6 @@
1
- import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
- import { forwardRef as j, useCallback as B } from "react";
3
- import { S as C } from "../../styles-B2N0JLw1.mjs";
4
- import { Icon as p } from "../icon/index.js";
5
- import { T as z } from "../../index-DwznImvK.mjs";
6
- import { isObject as I } from "lodash";
7
- const $ = (r, n = !0) => {
8
- const o = window.open(
9
- r,
10
- n ? void 0 : "_self",
11
- "noopener,noreferrer,"
12
- );
13
- I(o) && (o.opener = null);
14
- }, q = j(function({
15
- children: n,
16
- disabled: o = !1,
17
- external: l = !1,
18
- href: i,
19
- id: s,
20
- icon: a,
21
- name: m,
22
- onClick: u,
23
- showArrow: b = !1,
24
- type: k = "button",
25
- tooltip: f,
26
- tooltipPlace: T = "bottom",
27
- underline: h = !1,
28
- value: w,
29
- variant: e = "primary",
30
- ...x
31
- }, y) {
32
- const c = f !== void 0, d = `${s}-tooltip`, S = B(() => {
33
- i && $(i, l);
34
- }, [l, i]);
35
- return /* @__PURE__ */ t(
36
- z,
37
- {
38
- disabled: !c,
39
- id: d,
40
- place: T,
41
- tip: f,
42
- children: /* @__PURE__ */ g(
43
- C,
44
- {
45
- $variant: e,
46
- "aria-disabled": o,
47
- className: h ? "underline" : void 0,
48
- disabled: o,
49
- id: s,
50
- name: m,
51
- onClick: e === "link" ? S : u,
52
- ref: y,
53
- type: k,
54
- value: w,
55
- ...c ? { "data-tooltip-id": d } : {},
56
- ...x,
57
- children: [
58
- a !== void 0 && /* @__PURE__ */ t(p, { icon: a, iconSize: "xs", iconType: "fa-light" }),
59
- n,
60
- (b || e === "link") && /* @__PURE__ */ t(p, { icon: "arrow-right", iconSize: "xs", iconType: "fa-light" })
61
- ]
62
- }
63
- )
64
- }
65
- );
66
- });
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { m as p } from "../../components-C2JBXbtI.mjs";
67
4
  export {
68
- q as Button
5
+ p as Button
69
6
  };
@@ -1,83 +1,6 @@
1
- import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
- import { useTheme as b } from "styled-components";
3
- import { Container as s } from "../../container/index.js";
4
- import { T as g } from "../../../index-DwznImvK.mjs";
5
- import "../../typography/heading/index.js";
6
- import "../../typography/span/index.js";
7
- import { Text as t } from "../../typography/text/index.js";
8
- const W = ({
9
- authorEmail: d,
10
- date: l,
11
- description: i,
12
- descriptionColor: c,
13
- id: p,
14
- title: a,
15
- titleColor: f,
16
- textAlign: e,
17
- textSpacing: h = 0,
18
- tooltip: m
19
- }) => {
20
- const o = b();
21
- return /* @__PURE__ */ n(s, { width: "100%", children: [
22
- typeof a == "string" ? /* @__PURE__ */ r(
23
- t,
24
- {
25
- color: f ?? o.palette.gray[800],
26
- fontWeight: "bold",
27
- mb: h,
28
- size: "sm",
29
- textAlign: e,
30
- wordBreak: "break-word",
31
- children: a
32
- }
33
- ) : a,
34
- /* @__PURE__ */ n(
35
- s,
36
- {
37
- alignItems: "start",
38
- display: "flex",
39
- flexDirection: "column",
40
- gap: 0.25,
41
- children: [
42
- i && /* @__PURE__ */ r(
43
- t,
44
- {
45
- color: c ?? o.palette.gray[800],
46
- fontWeight: i === void 0 ? "bold" : "regular",
47
- size: "sm",
48
- textAlign: e,
49
- wordBreak: "break-word",
50
- children: i
51
- }
52
- ),
53
- l && /* @__PURE__ */ r(
54
- t,
55
- {
56
- color: o.palette.gray[800],
57
- fontWeight: "bold",
58
- size: "sm",
59
- textAlign: e,
60
- wordBreak: "break-word",
61
- children: `Date: ${l.split(" ")[0]}`
62
- }
63
- ),
64
- d && /* @__PURE__ */ r(
65
- t,
66
- {
67
- color: o.palette.gray[800],
68
- fontWeight: "bold",
69
- size: "sm",
70
- textAlign: e,
71
- wordBreak: "break-word",
72
- children: `$Author: ${d}`
73
- }
74
- ),
75
- m && /* @__PURE__ */ r(g, { icon: "circle-info", id: p, tip: m })
76
- ]
77
- }
78
- )
79
- ] });
80
- };
1
+ import "react/jsx-runtime";
2
+ import "styled-components";
3
+ import { C as m } from "../../../components-C2JBXbtI.mjs";
81
4
  export {
82
- W as CardHeader
5
+ m as CardHeader
83
6
  };
@@ -1,93 +1,7 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import C, { useState as w, useCallback as s } from "react";
3
- import { useTheme as H } from "styled-components";
4
- import { CardHeader as j } from "../card-header/index.js";
5
- import { Container as r } from "../../container/index.js";
6
- import { FilePreview as I } from "../../file-preview/index.js";
7
- import { IconButton as T } from "../../icon-button/index.js";
8
- const D = ({
9
- alt: o,
10
- authorEmail: d,
11
- date: l,
12
- description: p,
13
- src: c,
14
- children: i,
15
- isEditing: m,
16
- onClick: f,
17
- title: u,
18
- hideDescription: h = !1,
19
- headerType: x = "image",
20
- showMaximize: g = !0
21
- }) => {
22
- const t = H(), [b, n] = w(!1), v = s(() => {
23
- n(!0);
24
- }, []), y = s(() => {
25
- n(!1);
26
- }, []);
27
- return /* @__PURE__ */ a(
28
- r,
29
- {
30
- bgColor: "transparent",
31
- border: "1px solid transparent",
32
- borderColorHover: "black",
33
- borderRadius: t.spacing[0.25],
34
- display: "flex",
35
- flexDirection: "column",
36
- gap: 1,
37
- onHover: v,
38
- onLeave: y,
39
- padding: [0.5, 0.5, 0.5, 0.5],
40
- width: "100%",
41
- children: [
42
- /* @__PURE__ */ e(
43
- r,
44
- {
45
- cursor: m ? "unset" : "pointer",
46
- display: "inline-flex",
47
- justify: "center",
48
- onClick: f,
49
- position: "relative",
50
- width: "100%",
51
- children: i === void 0 ? /* @__PURE__ */ a(C.Fragment, { children: [
52
- /* @__PURE__ */ e(
53
- I,
54
- {
55
- alt: o,
56
- fileType: x,
57
- height: "147px",
58
- opacity: b ? 0.3 : 0,
59
- src: c,
60
- width: "100%"
61
- }
62
- ),
63
- g ? /* @__PURE__ */ e(r, { bottom: "10px", position: "absolute", right: "10px", children: /* @__PURE__ */ e(
64
- T,
65
- {
66
- color: "white",
67
- icon: "arrows-maximize",
68
- iconSize: "xxs",
69
- iconType: "fa-light",
70
- variant: "secondary"
71
- }
72
- ) }) : void 0
73
- ] }) : i
74
- }
75
- ),
76
- h ? null : /* @__PURE__ */ e(
77
- j,
78
- {
79
- authorEmail: d,
80
- date: l,
81
- description: p,
82
- descriptionColor: t.palette.gray[600],
83
- id: `${o}-card-header`,
84
- title: u
85
- }
86
- )
87
- ]
88
- }
89
- );
90
- };
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "styled-components";
4
+ import { o as p } from "../../../components-C2JBXbtI.mjs";
91
5
  export {
92
- D as CardWithImage
6
+ p as CardWithImage
93
7
  };