@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.
- package/dist/assets/design.css +1 -0
- package/dist/components/@core/index.js +15 -16
- package/dist/components/accordion/accordion-content/index.js +3 -20
- package/dist/components/accordion/index.js +5 -76
- package/dist/components/alert/index.js +4 -162
- package/dist/components/button/index.js +4 -67
- package/dist/components/card/card-header/index.js +4 -81
- package/dist/components/card/card-with-image/index.js +5 -91
- package/dist/components/card/card-with-input/index.js +5 -103
- package/dist/components/card/card-with-selector/index.js +4 -69
- package/dist/components/card/card-with-switch/index.js +4 -48
- package/dist/components/card/index.js +6 -10
- package/dist/components/carousel/index.js +4 -73
- package/dist/components/checkbox/index.js +4 -116
- package/dist/components/cloud-image/index.js +2 -2
- package/dist/components/code-snippet/index.js +6 -70
- package/dist/components/code-snippet/location-code/index.js +7 -169
- package/dist/components/colors/index.js +7 -222
- package/dist/components/confirm-dialog/index.js +4 -43
- package/dist/components/container/index.js +4 -49
- package/dist/components/content-card/category-tag/index.js +4 -40
- package/dist/components/content-card/event-date/index.js +5 -59
- package/dist/components/content-card/index.js +4 -166
- package/dist/components/content-card-carousel/index.js +4 -93
- package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
- package/dist/components/divider/index.js +4 -23
- package/dist/components/empty-state/empty-button/index.js +3 -4
- package/dist/components/empty-state/index.js +3 -83
- package/dist/components/file-preview/index.js +3 -42
- package/dist/components/form/index.js +4 -61
- package/dist/components/grid-container/index.js +4 -46
- package/dist/components/group-selector/index.js +6 -133
- package/dist/components/group-selector/option-container/index.js +3 -7
- package/dist/components/icon/index.js +4 -106
- package/dist/components/icon-button/index.js +4 -74
- package/dist/components/indicator-card/index.js +5 -72
- package/dist/components/info-sidebar/index.js +4 -114
- package/dist/components/inputs/fields/combobox/index.js +7 -144
- package/dist/components/inputs/fields/combobox/option/index.js +2 -3
- package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -25
- package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -24
- package/dist/components/inputs/fields/date/calendar/header/index.js +4 -36
- package/dist/components/inputs/fields/date/calendar/index.js +6 -28
- package/dist/components/inputs/fields/date/index.js +8 -66
- package/dist/components/inputs/fields/date-range/calendar/index.js +7 -33
- package/dist/components/inputs/fields/date-range/index.js +6 -106
- package/dist/components/inputs/fields/date-time/calendar/index.js +7 -62
- package/dist/components/inputs/fields/date-time/index.js +6 -67
- package/dist/components/inputs/fields/editable/index.js +4 -26
- package/dist/components/inputs/fields/input/index.js +5 -75
- package/dist/components/inputs/fields/input-file/index.js +6 -123
- package/dist/components/inputs/fields/input-tags/index.js +4 -66
- package/dist/components/inputs/fields/number/index.js +4 -55
- package/dist/components/inputs/fields/number-range/index.js +4 -47
- package/dist/components/inputs/fields/phone/index.js +7 -577
- package/dist/components/inputs/fields/text-area/index.js +5 -79
- package/dist/components/inputs/index.js +14 -26
- package/dist/components/inputs/label/index.js +5 -36
- package/dist/components/inputs/outline-container/index.js +4 -102
- package/dist/components/inputs/utils/action-button/index.js +4 -29
- package/dist/components/inputs/utils/calendar-button/index.js +5 -35
- package/dist/components/inputs/utils/date-selector/index.js +3 -60
- package/dist/components/inputs/utils/date-time-field/index.js +10 -131
- package/dist/components/inputs/utils/dialog/index.js +5 -12
- package/dist/components/inputs/utils/number-field/index.js +5 -84
- package/dist/components/inputs/utils/popover/index.js +5 -42
- package/dist/components/interactive-card/icon/index.js +2 -4
- package/dist/components/interactive-card/index.js +4 -116
- package/dist/components/language-selector/index.js +4 -35
- package/dist/components/language-selector/item-list/index.js +2 -5
- package/dist/components/link/index.js +3 -104
- package/dist/components/list-item/index.js +6 -65
- package/dist/components/little-flag/index.js +3 -30
- package/dist/components/loading/index.js +4 -92
- package/dist/components/logo/index.js +2 -10
- package/dist/components/logo-carousel/index.js +4 -85
- package/dist/components/lottie/index.js +3 -18
- package/dist/components/menu/index.js +5 -64
- package/dist/components/message-banner/index.js +5 -99
- package/dist/components/modal/index.js +6 -63
- package/dist/components/modal/modal-confirm/index.js +3 -49
- package/dist/components/modal/modal-footer/index.js +5 -23
- package/dist/components/modal/modal-header/index.js +6 -49
- package/dist/components/notification/index.js +5 -111
- package/dist/components/notification-sign/index.js +4 -45
- package/dist/components/number-input/index.js +5 -87
- package/dist/components/oauth-selector/index.js +6 -98
- package/dist/components/oauth-selector/option-container/index.js +4 -74
- package/dist/components/plan-card/index.js +3 -153
- package/dist/components/plan-card/recommended-tag/index.js +3 -29
- package/dist/components/pop-up/description/index.js +5 -49
- package/dist/components/pop-up/index.js +7 -150
- package/dist/components/premium-feature/index.js +4 -83
- package/dist/components/priority-score/index.js +4 -27
- package/dist/components/progress/index.js +5 -45
- package/dist/components/progress-bar/index.js +3 -151
- package/dist/components/radio-button/index.js +4 -123
- package/dist/components/scroll-button/index.js +4 -40
- package/dist/components/search/index.js +7 -103
- package/dist/components/search-bar/index.js +4 -217
- package/dist/components/search-bar/item-searching/index.js +2 -7
- package/dist/components/severity-badge/index.js +4 -72
- package/dist/components/severity-overview/badge/index.js +4 -67
- package/dist/components/severity-overview/index.js +3 -15
- package/dist/components/show-on-hover/index.js +3 -29
- package/dist/components/slide-out-menu/index.js +6 -3453
- package/dist/components/slide-out-menu/menu-item/index.js +4 -65
- package/dist/components/slider/index.js +7 -122
- package/dist/components/slider/thumb/index.js +5 -15
- package/dist/components/step-lapse/index.js +4 -157
- package/dist/components/table-button/index.js +4 -95
- package/dist/components/tabs/fixed-tabs/index.js +3 -27
- package/dist/components/tabs/index.js +6 -55
- package/dist/components/tabs/tab/index.js +3 -37
- package/dist/components/tag/index.js +4 -182
- package/dist/components/timeline/card/index.js +2 -5
- package/dist/components/timeline/index.js +4 -15
- package/dist/components/toggle/index.js +4 -101
- package/dist/components/toggle-buttons/index.js +4 -101
- package/dist/components/tooltip/index.js +3 -6
- package/dist/components/tour/index.js +7 -4582
- package/dist/components/typography/heading/index.js +4 -45
- package/dist/components/typography/index.js +4 -6
- package/dist/components/typography/span/index.js +4 -39
- package/dist/components/typography/text/index.js +4 -45
- package/dist/components/web-form/index.js +4 -78
- package/dist/components-C2JBXbtI.mjs +9653 -0
- package/dist/hooks/index.js +6 -10
- package/dist/index.js +113 -205
- package/dist/vendor-CVMqCpkZ.mjs +14504 -0
- package/package.json +2 -1
- package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
- package/dist/assets/index.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/index-BMHVi812.mjs +0 -234
- package/dist/index-BzAniA2J.mjs +0 -135
- package/dist/index-C6LbClYh.mjs +0 -146
- package/dist/index-CAIe8hBv.mjs +0 -130
- package/dist/index-CUQBAqt_.mjs +0 -75
- package/dist/index-CWlrSlUk.mjs +0 -68
- package/dist/index-Ckmu1TfV.mjs +0 -86
- package/dist/index-DwznImvK.mjs +0 -1678
- package/dist/index-maWH3JYC.mjs +0 -3561
- package/dist/styles-B2N0JLw1.mjs +0 -114
- package/dist/styles-B64DVBIF.mjs +0 -115
- package/dist/styles-BXFVwnWT.mjs +0 -133
- package/dist/styles-BZQOqe8p.mjs +0 -141
- package/dist/styles-Bdque9TT.mjs +0 -65
- package/dist/styles-BlHspTrz.mjs +0 -144
- package/dist/styles-CROOwXEH.mjs +0 -76
- package/dist/styles-CplEd2kw.mjs +0 -228
- package/dist/styles-D1eTIklB.mjs +0 -110
- package/dist/styles-ePGii_9g.mjs +0 -74
- package/dist/use-carousel-CgAF78h3.mjs +0 -23
- package/dist/use-click-outside-BUll8Ag-.mjs +0 -18
- package/dist/use-cloudinary-image-BCxwj15o.mjs +0 -1176
- package/dist/use-modal-CtgexKnf.mjs +0 -14
- package/dist/use-search-Dj47QDw9.mjs +0 -15
- package/dist/utils-V0EumEPM.mjs +0 -6
package/package.json
CHANGED
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"postcss": "8.4.49",
|
|
56
56
|
"postcss-styled-syntax": "0.7.0",
|
|
57
57
|
"remark-gfm": "4.0.0",
|
|
58
|
+
"rollup-plugin-visualizer": "5.14.0",
|
|
58
59
|
"storybook": "8.4.7",
|
|
59
60
|
"stylelint": "16.12.0",
|
|
60
61
|
"stylelint-config-standard": "36.0.1",
|
|
@@ -117,5 +118,5 @@
|
|
|
117
118
|
"test-storybook": "test-storybook"
|
|
118
119
|
},
|
|
119
120
|
"typings": "./dist/index.d.ts",
|
|
120
|
-
"version": "3.1.
|
|
121
|
+
"version": "3.1.14"
|
|
121
122
|
}
|
package/dist/assets/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,: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}}
|
package/dist/assets/index2.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
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}
|
package/dist/index-BMHVi812.mjs
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { styled as i } from "styled-components";
|
|
3
|
-
import { theme as d } from "./components/colors/index.js";
|
|
4
|
-
import { Icon as c } from "./components/icon/index.js";
|
|
5
|
-
import "./components/typography/heading/index.js";
|
|
6
|
-
import "./components/typography/span/index.js";
|
|
7
|
-
import { Text as l } from "./components/typography/text/index.js";
|
|
8
|
-
const g = i.a`
|
|
9
|
-
${({ theme: a }) => `
|
|
10
|
-
align-items: center;
|
|
11
|
-
display: flex;
|
|
12
|
-
background: ${a.palette.white};
|
|
13
|
-
border-radius: ${a.spacing[0.5]};
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
gap: ${a.spacing[1]};
|
|
16
|
-
padding:
|
|
17
|
-
${a.spacing[0.5]}
|
|
18
|
-
${a.spacing[1]}
|
|
19
|
-
${a.spacing[0.5]}
|
|
20
|
-
${a.spacing[0.5]};
|
|
21
|
-
width: 1143px;
|
|
22
|
-
|
|
23
|
-
&:hover {
|
|
24
|
-
background: ${a.palette.gray[100]};
|
|
25
|
-
|
|
26
|
-
> div.icon-wrap {
|
|
27
|
-
background: ${a.palette.gradients["01"]};
|
|
28
|
-
|
|
29
|
-
path {
|
|
30
|
-
fill: ${a.palette.white};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@media screen
|
|
36
|
-
and (min-width: ${a.breakpoints.sm})
|
|
37
|
-
and (max-width: ${a.breakpoints.md})
|
|
38
|
-
{
|
|
39
|
-
width: 905px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@media screen
|
|
43
|
-
and (min-width: 40em)
|
|
44
|
-
and (max-width: ${a.breakpoints.sm})
|
|
45
|
-
{
|
|
46
|
-
width: 475px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@media screen and (max-width: 40em) {
|
|
50
|
-
width: 270px;
|
|
51
|
-
}
|
|
52
|
-
`}
|
|
53
|
-
`, $ = i.div.attrs({ className: "icon-wrap" })`
|
|
54
|
-
${({ theme: a }) => `
|
|
55
|
-
align-items: center;
|
|
56
|
-
background: ${a.palette.primary[25]};
|
|
57
|
-
border-radius: ${a.spacing[0.25]};
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
min-width: ${a.spacing[2.5]};
|
|
61
|
-
height: ${a.spacing[2.5]};
|
|
62
|
-
padding: ${a.spacing[0.5]};
|
|
63
|
-
|
|
64
|
-
span {
|
|
65
|
-
font-size: 20px;
|
|
66
|
-
}
|
|
67
|
-
`}
|
|
68
|
-
`, k = i.div`
|
|
69
|
-
${({ theme: a }) => `
|
|
70
|
-
align-items: flex-start;
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-direction: column;
|
|
73
|
-
gap: ${a.spacing[1.5]};
|
|
74
|
-
width: 1193px;
|
|
75
|
-
|
|
76
|
-
> :is(form, .dropdown) {
|
|
77
|
-
border-radius: ${a.spacing[0.5]};
|
|
78
|
-
border: 1px solid ${a.palette.gray[200]};
|
|
79
|
-
background-color: ${a.palette.white};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@media screen
|
|
83
|
-
and (min-width: ${a.breakpoints.sm})
|
|
84
|
-
and (max-width: ${a.breakpoints.md})
|
|
85
|
-
{
|
|
86
|
-
width: 954px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@media screen
|
|
90
|
-
and (min-width: 40em)
|
|
91
|
-
and (max-width: ${a.breakpoints.sm})
|
|
92
|
-
{
|
|
93
|
-
width: 526px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@media screen and (max-width: 40em) {
|
|
97
|
-
width: 320px;
|
|
98
|
-
}
|
|
99
|
-
`}
|
|
100
|
-
`, h = i.form`
|
|
101
|
-
${({ theme: a }) => `
|
|
102
|
-
align-items: center;
|
|
103
|
-
display: flex;
|
|
104
|
-
gap: ${a.spacing[0.5]};
|
|
105
|
-
justify-content: space-between;
|
|
106
|
-
padding: ${a.spacing[1]} ${a.spacing[1.5]};
|
|
107
|
-
width: 100%;
|
|
108
|
-
`}
|
|
109
|
-
`, S = i.input`
|
|
110
|
-
${({ theme: a }) => `
|
|
111
|
-
flex: 1 0 0;
|
|
112
|
-
border: none;
|
|
113
|
-
color: ${a.palette.gray[600]};
|
|
114
|
-
font-family: ${a.typography.type.primary};
|
|
115
|
-
font-size: ${a.typography.text.md};
|
|
116
|
-
font-weight: ${a.typography.weight.regular};
|
|
117
|
-
line-height: ${a.spacing[1.5]};
|
|
118
|
-
outline: none;
|
|
119
|
-
|
|
120
|
-
&::placeholder {
|
|
121
|
-
color: ${a.palette.gray[400]};
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&::-webkit-search-decoration,
|
|
125
|
-
&::-webkit-search-cancel-button,
|
|
126
|
-
&::-webkit-search-results-button,
|
|
127
|
-
&::-webkit-search-results-decoration {
|
|
128
|
-
-webkit-appearance:none;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
@media screen and (max-width: ${a.breakpoints.mobile}) {
|
|
132
|
-
font-size: ${a.typography.text.sm};
|
|
133
|
-
}
|
|
134
|
-
`}
|
|
135
|
-
`, v = i.button`
|
|
136
|
-
${({ theme: a }) => `
|
|
137
|
-
align-items: center;
|
|
138
|
-
border-radius: ${a.spacing[0.5]};
|
|
139
|
-
display: flex;
|
|
140
|
-
width: ${a.spacing[2.5]};
|
|
141
|
-
height: ${a.spacing[2.5]};
|
|
142
|
-
padding: ${a.spacing[0.625]} ${a.spacing[1]};
|
|
143
|
-
justify-content: center;
|
|
144
|
-
gap: ${a.spacing[0.5]};
|
|
145
|
-
flex-shrink: 0;
|
|
146
|
-
|
|
147
|
-
span {
|
|
148
|
-
color: ${a.palette.gray[400]};
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&:hover {
|
|
152
|
-
background-color: ${a.palette.gray[100]};
|
|
153
|
-
}
|
|
154
|
-
`}
|
|
155
|
-
`, z = i.div.attrs({ className: "dropdown" })`
|
|
156
|
-
${({ theme: a, $empty: r = !1, $showHits: n = !1 }) => `
|
|
157
|
-
align-items: flex-start;
|
|
158
|
-
align-self: stretch;
|
|
159
|
-
background-repeat: no-repeat;
|
|
160
|
-
background-size: 100% 100%;
|
|
161
|
-
display: flex;
|
|
162
|
-
flex-direction: column;
|
|
163
|
-
gap: ${a.spacing[0.5]};
|
|
164
|
-
max-height: ${n ? "270px" : "500px"};
|
|
165
|
-
overflow: hidden auto;
|
|
166
|
-
padding: ${a.spacing[1.5]};
|
|
167
|
-
scrollbar-color: ${a.palette.gray[600]} ${a.palette.gray[100]};
|
|
168
|
-
scroll-padding: ${a.spacing[0.5]};
|
|
169
|
-
scrollbar-width: thin;
|
|
170
|
-
|
|
171
|
-
@media screen and (max-width: ${a.breakpoints.sm}) and (${!r}) {
|
|
172
|
-
max-height: 410px;
|
|
173
|
-
}
|
|
174
|
-
${r && `
|
|
175
|
-
@media screen and (min-width: ${a.breakpoints.mobile}) {
|
|
176
|
-
border: none !important;
|
|
177
|
-
background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729784164/airs/search-bar/empty_state_bg.webp);
|
|
178
|
-
}
|
|
179
|
-
@media screen and (max-width: ${a.breakpoints.mobile}) {
|
|
180
|
-
border: none !important;
|
|
181
|
-
background-image: url(https://res.cloudinary.com/fluid-attacks/image/upload/v1729783908/airs/search-bar/empty_state_bg_mobile.webp);
|
|
182
|
-
}
|
|
183
|
-
`}
|
|
184
|
-
|
|
185
|
-
&::-webkit-scrollbar {
|
|
186
|
-
height: ${a.spacing[0.5]};
|
|
187
|
-
width: ${a.spacing[0.5]};
|
|
188
|
-
}
|
|
189
|
-
&::-webkit-scrollbar-track {
|
|
190
|
-
background: ${a.palette.gray[100]};
|
|
191
|
-
}
|
|
192
|
-
&::-webkit-scrollbar-thumb {
|
|
193
|
-
background-color: ${a.palette.gray[600]};
|
|
194
|
-
border-radius: ${a.spacing[5]};
|
|
195
|
-
height: ${a.spacing[0.5]};
|
|
196
|
-
}
|
|
197
|
-
`}
|
|
198
|
-
`, I = ({
|
|
199
|
-
hit: a,
|
|
200
|
-
icon: r = "infinity",
|
|
201
|
-
showIcon: n = !1
|
|
202
|
-
}) => {
|
|
203
|
-
const { slug: t, title: e } = a, o = String(t).startsWith("/pages/") ? String(t).replace("/pages/", "/") : String(t);
|
|
204
|
-
return /* @__PURE__ */ p(g, { href: o, rel: "nofollow noopener noreferrer", children: [
|
|
205
|
-
n && /* @__PURE__ */ s($, { children: /* @__PURE__ */ s(
|
|
206
|
-
c,
|
|
207
|
-
{
|
|
208
|
-
icon: r,
|
|
209
|
-
iconClass: "fill-gradient-01",
|
|
210
|
-
iconSize: "sm",
|
|
211
|
-
iconType: "fa-light"
|
|
212
|
-
}
|
|
213
|
-
) }),
|
|
214
|
-
/* @__PURE__ */ s(
|
|
215
|
-
l,
|
|
216
|
-
{
|
|
217
|
-
color: d.palette.gray[800],
|
|
218
|
-
lineSpacing: 1.5,
|
|
219
|
-
size: "md",
|
|
220
|
-
sizeSm: "sm",
|
|
221
|
-
whiteSpace: "wrap",
|
|
222
|
-
children: String(e)
|
|
223
|
-
}
|
|
224
|
-
)
|
|
225
|
-
] });
|
|
226
|
-
};
|
|
227
|
-
export {
|
|
228
|
-
I,
|
|
229
|
-
k as S,
|
|
230
|
-
h as a,
|
|
231
|
-
S as b,
|
|
232
|
-
v as c,
|
|
233
|
-
z as d
|
|
234
|
-
};
|
package/dist/index-BzAniA2J.mjs
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { styled as r } from "styled-components";
|
|
3
|
-
import "./components/typography/heading/index.js";
|
|
4
|
-
import "./components/typography/span/index.js";
|
|
5
|
-
import { Text as n } from "./components/typography/text/index.js";
|
|
6
|
-
const p = r.button`
|
|
7
|
-
${({ theme: o }) => `
|
|
8
|
-
align-items: center;
|
|
9
|
-
border-left: 3px solid transparent;
|
|
10
|
-
display: flex;
|
|
11
|
-
gap: ${o.spacing[0.625]};
|
|
12
|
-
height: 42px;
|
|
13
|
-
min-width: 50px;
|
|
14
|
-
padding: ${o.spacing[0.625]} ${o.spacing[1]};
|
|
15
|
-
|
|
16
|
-
&.dark {
|
|
17
|
-
background-color: ${o.palette.gray[800]};
|
|
18
|
-
color: ${o.palette.gray[25]};
|
|
19
|
-
|
|
20
|
-
&.disabled {
|
|
21
|
-
border-color: ${o.palette.gray[500]};
|
|
22
|
-
color: ${o.palette.gray[500]};
|
|
23
|
-
cursor: not-allowed;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:hover:not(.disabled) {
|
|
27
|
-
background-color: ${o.palette.gray[700]};
|
|
28
|
-
border-color: ${o.palette.primary[400]};
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.light {
|
|
33
|
-
background-color: ${o.palette.gray[50]};
|
|
34
|
-
color: ${o.palette.gray[800]};
|
|
35
|
-
|
|
36
|
-
&.disabled {
|
|
37
|
-
background-color: ${o.palette.white};
|
|
38
|
-
border-color: ${o.palette.gray[300]};
|
|
39
|
-
color: ${o.palette.gray[300]};
|
|
40
|
-
cursor: not-allowed;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&:hover:not(.disabled) {
|
|
44
|
-
background-color: ${o.palette.gray[100]};
|
|
45
|
-
border-color: ${o.palette.primary[400]};
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
`}
|
|
49
|
-
`, $ = r.div`
|
|
50
|
-
${({ theme: o }) => `
|
|
51
|
-
align-items: center;
|
|
52
|
-
background-color: transparent;
|
|
53
|
-
border-bottom: 2px solid transparent;
|
|
54
|
-
display: flex;
|
|
55
|
-
font-family: ${o.typography.type.primary};
|
|
56
|
-
font-size: ${o.typography.text.sm};
|
|
57
|
-
font-weight: ${o.typography.weight.regular};
|
|
58
|
-
gap: ${o.spacing[0.5]};
|
|
59
|
-
height: 30px;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
padding: ${o.spacing[0.25]};
|
|
62
|
-
margin-bottom: ${o.spacing[0.25]};
|
|
63
|
-
min-width: 50px;
|
|
64
|
-
width: max-content;
|
|
65
|
-
z-index: 11;
|
|
66
|
-
|
|
67
|
-
&:hover {
|
|
68
|
-
border-color: ${o.palette.primary[400]};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.dark {
|
|
72
|
-
color: ${o.palette.gray[25]};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.light {
|
|
76
|
-
color: ${o.palette.gray[800]};
|
|
77
|
-
}
|
|
78
|
-
`}
|
|
79
|
-
`, y = r.div`
|
|
80
|
-
${({ theme: o }) => `
|
|
81
|
-
background-color: ${o.palette.white};
|
|
82
|
-
border-radius: 0 0 ${o.spacing[0.25]} ${o.spacing[0.25]};
|
|
83
|
-
box-shadow: ${o.shadows.lg};
|
|
84
|
-
display: none;
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
position: absolute;
|
|
87
|
-
top: 100%;
|
|
88
|
-
z-index: 11;
|
|
89
|
-
|
|
90
|
-
> button:last-child {
|
|
91
|
-
border-radius: 0 0 ${o.spacing[0.25]} ${o.spacing[0.25]};
|
|
92
|
-
}
|
|
93
|
-
`}
|
|
94
|
-
`, b = r.div`
|
|
95
|
-
${({ theme: o }) => `
|
|
96
|
-
align-items: flex-start;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
gap: ${o.spacing[0.25]};
|
|
101
|
-
height: max-content;
|
|
102
|
-
position: relative;
|
|
103
|
-
width: max-content;
|
|
104
|
-
z-index: 10;
|
|
105
|
-
|
|
106
|
-
&:hover {
|
|
107
|
-
> div:first-child {
|
|
108
|
-
border-color: ${o.palette.primary[400]};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
> div:last-child {
|
|
112
|
-
display: flex;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
`}
|
|
116
|
-
`, x = ({
|
|
117
|
-
disabled: o = !1,
|
|
118
|
-
mode: t,
|
|
119
|
-
onClick: i,
|
|
120
|
-
text: l
|
|
121
|
-
}) => /* @__PURE__ */ a(
|
|
122
|
-
p,
|
|
123
|
-
{
|
|
124
|
-
className: `${o && "disabled"} ${t}`,
|
|
125
|
-
disabled: o,
|
|
126
|
-
onClick: i,
|
|
127
|
-
children: /* @__PURE__ */ a(n, { color: "inherit", size: "sm", sizeSm: "xs", children: l })
|
|
128
|
-
}
|
|
129
|
-
);
|
|
130
|
-
export {
|
|
131
|
-
x as I,
|
|
132
|
-
b as S,
|
|
133
|
-
$ as a,
|
|
134
|
-
y as b
|
|
135
|
-
};
|
package/dist/index-C6LbClYh.mjs
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { styled as o, useTheme as c } from "styled-components";
|
|
3
|
-
import "./components/typography/heading/index.js";
|
|
4
|
-
import "./components/typography/span/index.js";
|
|
5
|
-
import { Text as r } from "./components/typography/text/index.js";
|
|
6
|
-
const g = o.div`
|
|
7
|
-
${({ theme: e }) => `
|
|
8
|
-
align-items: center;
|
|
9
|
-
background-color: ${e.palette.white};
|
|
10
|
-
border: 1px solid ${e.palette.gray[200]};
|
|
11
|
-
border-radius: ${e.spacing[0.25]};
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
gap: ${e.spacing[0.5]};
|
|
15
|
-
min-height: 180px;
|
|
16
|
-
padding: ${e.spacing[1.5]};
|
|
17
|
-
width: 510px;
|
|
18
|
-
|
|
19
|
-
p {
|
|
20
|
-
font-style: normal;
|
|
21
|
-
line-height: ${e.spacing[1.25]};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:hover {
|
|
25
|
-
border: 1px solid ${e.palette.gray[600]};
|
|
26
|
-
}
|
|
27
|
-
`}
|
|
28
|
-
`, u = o.div`
|
|
29
|
-
${({ theme: e }) => `
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
gap: ${e.spacing[1.5]};
|
|
33
|
-
position: relative;
|
|
34
|
-
max-width: 1268px;
|
|
35
|
-
|
|
36
|
-
&::before {
|
|
37
|
-
background-color: ${e.palette.gray[200]};
|
|
38
|
-
border-radius: 5px;
|
|
39
|
-
height: 100%;
|
|
40
|
-
width: 4px;
|
|
41
|
-
transform: translate(-50%, 0);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
> * {
|
|
45
|
-
&:nth-child(even) {
|
|
46
|
-
align-self: end;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&:nth-child(odd) {
|
|
50
|
-
align-self: start;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&::before {
|
|
54
|
-
position: absolute;
|
|
55
|
-
background-color: ${e.palette.primary[500]};
|
|
56
|
-
border-radius: 50%;
|
|
57
|
-
height: 14px;
|
|
58
|
-
width: 14px;
|
|
59
|
-
z-index: 1;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&::before,
|
|
64
|
-
> *::before {
|
|
65
|
-
content: "";
|
|
66
|
-
left: 50%;
|
|
67
|
-
position: absolute;
|
|
68
|
-
transform: translateX(-50%);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media (width <= 1270px) {
|
|
72
|
-
max-width: 540px;
|
|
73
|
-
|
|
74
|
-
p {
|
|
75
|
-
text-align: center;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&::before,
|
|
79
|
-
> *::before {
|
|
80
|
-
left: 8px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
> * {
|
|
84
|
-
&:nth-child(odd) {
|
|
85
|
-
align-self: end;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@media (width <= 630px) {
|
|
90
|
-
display: block;
|
|
91
|
-
|
|
92
|
-
.timeline-card {
|
|
93
|
-
width: auto;
|
|
94
|
-
margin-left: 30px;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
`}
|
|
99
|
-
`, $ = ({
|
|
100
|
-
date: e,
|
|
101
|
-
description: a,
|
|
102
|
-
title: l
|
|
103
|
-
}) => {
|
|
104
|
-
const t = c();
|
|
105
|
-
return /* @__PURE__ */ s(g, { className: "timeline-card", children: [
|
|
106
|
-
/* @__PURE__ */ i(
|
|
107
|
-
r,
|
|
108
|
-
{
|
|
109
|
-
color: t.palette.gray[800],
|
|
110
|
-
fontWeight: "bold",
|
|
111
|
-
lineSpacing: 1.75,
|
|
112
|
-
size: "xl",
|
|
113
|
-
children: e
|
|
114
|
-
}
|
|
115
|
-
),
|
|
116
|
-
/* @__PURE__ */ i(
|
|
117
|
-
r,
|
|
118
|
-
{
|
|
119
|
-
color: t.palette.gray[800],
|
|
120
|
-
fontWeight: "bold",
|
|
121
|
-
lineSpacing: 1.5,
|
|
122
|
-
mb: 0.5,
|
|
123
|
-
size: "md",
|
|
124
|
-
textAlign: "center",
|
|
125
|
-
children: l
|
|
126
|
-
}
|
|
127
|
-
),
|
|
128
|
-
/* @__PURE__ */ i("div", { children: a.map((n, d) => {
|
|
129
|
-
const p = `${n}#${d}`;
|
|
130
|
-
return /* @__PURE__ */ i(
|
|
131
|
-
r,
|
|
132
|
-
{
|
|
133
|
-
size: "sm",
|
|
134
|
-
textAlign: "center",
|
|
135
|
-
wordBreak: "break-word",
|
|
136
|
-
children: n
|
|
137
|
-
},
|
|
138
|
-
p
|
|
139
|
-
);
|
|
140
|
-
}) })
|
|
141
|
-
] });
|
|
142
|
-
};
|
|
143
|
-
export {
|
|
144
|
-
u as T,
|
|
145
|
-
$ as a
|
|
146
|
-
};
|
package/dist/index-CAIe8hBv.mjs
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback as c } from "react";
|
|
3
|
-
import { styled as d, useTheme as m } from "styled-components";
|
|
4
|
-
import { Container as x } from "./components/container/index.js";
|
|
5
|
-
import { Icon as p } from "./components/icon/index.js";
|
|
6
|
-
const g = d.button`
|
|
7
|
-
display: flex;
|
|
8
|
-
position: relative;
|
|
9
|
-
height: 32px;
|
|
10
|
-
width: 32px;
|
|
11
|
-
|
|
12
|
-
svg {
|
|
13
|
-
position: absolute;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.hovered {
|
|
17
|
-
display: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
.hovered {
|
|
22
|
-
display: flex;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.uncover {
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
`, w = d.div`
|
|
30
|
-
${({ theme: o }) => `
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
gap: ${o.spacing[2.5]};
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
min-height: 589px;
|
|
36
|
-
max-width: 1316px;
|
|
37
|
-
|
|
38
|
-
span {
|
|
39
|
-
background: ${o.palette.gradients["01"]};
|
|
40
|
-
background-clip: text;
|
|
41
|
-
-webkit-background-clip: text;
|
|
42
|
-
-webkit-text-fill-color: transparent;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
#mobile {
|
|
46
|
-
display: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
#carousel {
|
|
50
|
-
scrollbar-width: none;
|
|
51
|
-
|
|
52
|
-
&::-webkit-scrollbar {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@media screen and (max-width: ${o.breakpoints.mobile}) {
|
|
58
|
-
align-items: center;
|
|
59
|
-
height: auto;
|
|
60
|
-
max-width: 340px;
|
|
61
|
-
|
|
62
|
-
#desktop {
|
|
63
|
-
display: none;
|
|
64
|
-
}
|
|
65
|
-
#mobile {
|
|
66
|
-
display: flex;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
`}
|
|
70
|
-
`, v = ({
|
|
71
|
-
containerRef: o,
|
|
72
|
-
id: i
|
|
73
|
-
}) => {
|
|
74
|
-
const l = m(), t = i === "desktop" ? 380 : 342, n = c(
|
|
75
|
-
(e) => () => {
|
|
76
|
-
if (o != null && o.current) {
|
|
77
|
-
const { current: h } = o;
|
|
78
|
-
h.scrollBy({
|
|
79
|
-
left: e === "right" ? t : -t,
|
|
80
|
-
behavior: "smooth"
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
[o, t]
|
|
85
|
-
), r = c(
|
|
86
|
-
(e) => /* @__PURE__ */ s(g, { onClick: n(e), children: [
|
|
87
|
-
/* @__PURE__ */ a(
|
|
88
|
-
p,
|
|
89
|
-
{
|
|
90
|
-
clickable: !0,
|
|
91
|
-
icon: `circle-arrow-${e}`,
|
|
92
|
-
iconClass: "hovered",
|
|
93
|
-
iconColor: l.palette.gray[800],
|
|
94
|
-
iconSize: "md",
|
|
95
|
-
iconType: "fa-solid"
|
|
96
|
-
}
|
|
97
|
-
),
|
|
98
|
-
/* @__PURE__ */ a(
|
|
99
|
-
p,
|
|
100
|
-
{
|
|
101
|
-
clickable: !0,
|
|
102
|
-
icon: `circle-arrow-${e}`,
|
|
103
|
-
iconClass: "uncover",
|
|
104
|
-
iconColor: l.palette.gray[800],
|
|
105
|
-
iconSize: "md",
|
|
106
|
-
iconType: "fa-light"
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
] }),
|
|
110
|
-
[n, l]
|
|
111
|
-
);
|
|
112
|
-
return /* @__PURE__ */ s(
|
|
113
|
-
x,
|
|
114
|
-
{
|
|
115
|
-
alignItems: "center",
|
|
116
|
-
display: "flex",
|
|
117
|
-
gap: 1,
|
|
118
|
-
id: i,
|
|
119
|
-
width: "max-content",
|
|
120
|
-
children: [
|
|
121
|
-
r("left"),
|
|
122
|
-
r("right")
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
);
|
|
126
|
-
};
|
|
127
|
-
export {
|
|
128
|
-
w as O,
|
|
129
|
-
v as S
|
|
130
|
-
};
|