@banyan_cloud/roots 2.0.66 → 2.0.67
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/cjs/index.js +282 -230
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/v2/index.js +2775 -403
- package/dist/cjs/v2/index.js.map +1 -1
- package/dist/esm/components/buttons/baseButton/types/index.d.ts +1 -1
- package/dist/esm/components/buttons/button/types/index.d.ts +2 -4
- package/dist/esm/components/charts/heatMapChart/HeatMapChartData.d.ts +531 -0
- package/dist/esm/components/datePicker/Story/DatePickerDoc.d.ts +2 -0
- package/dist/esm/components/docs/icons/index.d.ts +6 -0
- package/dist/esm/components/docs/index.d.ts +2 -0
- package/dist/esm/components/docs/linkHeader/LinkHeader.d.ts +5 -0
- package/dist/esm/components/docs/propsTable/PropsTable.d.ts +5 -0
- package/dist/esm/components/input/checkbox/types/index.d.ts +1 -1
- package/dist/esm/components/input/dropdown/Dropdown.d.ts +1 -1
- package/dist/esm/components/input/radio/Radio.d.ts +1 -0
- package/dist/esm/components/input/textField/TextField.d.ts +2 -6
- package/dist/esm/components/table/table/tableFilters/TableFilters.d.ts +1 -1
- package/dist/esm/components/v2/accordion/Story/AccordionDoc.d.ts +2 -0
- package/dist/esm/components/v2/alert/Story/AlertDoc.d.ts +2 -0
- package/dist/esm/components/v2/badges/Badge.d.ts +3 -0
- package/dist/esm/components/v2/badges/Story/BadgeDoc.d.ts +2 -0
- package/dist/esm/components/v2/badges/assets/ArrowLeftIcon.d.ts +8 -0
- package/dist/esm/components/v2/badges/assets/ArrowRightIcon.d.ts +8 -0
- package/dist/esm/components/v2/badges/assets/ArrowUpIcon.d.ts +8 -0
- package/dist/esm/components/v2/badges/assets/CrossIcon/CrossCricleIcon.d.ts +9 -0
- package/dist/esm/components/v2/badges/assets/CrossIcon/CrossFilledIcon.d.ts +10 -0
- package/dist/esm/components/v2/badges/assets/CrossIcon/CrossIcon.d.ts +8 -0
- package/dist/esm/components/v2/badges/assets/DotIcon.d.ts +8 -0
- package/dist/esm/components/v2/badges/assets/PlusIcon.d.ts +8 -0
- package/dist/esm/components/v2/badges/constants/index.d.ts +3 -0
- package/dist/esm/components/v2/badges/types/index.d.ts +19 -0
- package/dist/esm/components/v2/breadcrumbs/Story/BreadcrumbDoc.d.ts +2 -0
- package/dist/esm/components/v2/buttons/baseButton/Story/BaseButtonDoc.d.ts +2 -0
- package/dist/esm/components/v2/buttons/baseButton/types/index.d.ts +1 -1
- package/dist/esm/components/v2/buttons/button/Story/ButtonDoc.d.ts +2 -0
- package/dist/esm/components/v2/buttons/button/types/index.d.ts +3 -3
- package/dist/esm/components/v2/cell/Story/BaseCellDoc.d.ts +2 -0
- package/dist/esm/components/v2/checkbox/Story/CheckboxDoc.d.ts +2 -0
- package/dist/esm/components/v2/icons/chevron-down/ChevronDownIcon.d.ts +4 -0
- package/dist/esm/components/v2/icons/chevron-down/index.d.ts +1 -0
- package/dist/esm/components/v2/icons/error/Error.d.ts +1 -0
- package/dist/esm/components/v2/icons/help/Help.d.ts +8 -0
- package/dist/esm/components/v2/icons/help/index.d.ts +1 -0
- package/dist/esm/components/v2/icons/index.d.ts +5 -2
- package/dist/esm/components/v2/icons/search/Search.d.ts +5 -0
- package/dist/esm/components/v2/icons/search/index.d.ts +1 -0
- package/dist/esm/components/v2/icons/warning/Warning.d.ts +1 -0
- package/dist/esm/components/v2/index.d.ts +2 -0
- package/dist/esm/components/v2/inlineLoader/Story/InlineLoaderDoc.d.ts +2 -0
- package/dist/esm/components/v2/input/dropdown/Dropdown.d.ts +4 -0
- package/dist/esm/components/v2/input/dropdown/Story/DropdownDoc.d.ts +2 -0
- package/dist/esm/components/v2/input/dropdown/index.d.ts +2 -0
- package/dist/esm/components/v2/input/dropdown/types/index.d.ts +66 -0
- package/dist/esm/components/v2/input/index.d.ts +2 -0
- package/dist/esm/components/v2/input/radio/Story/RadioDoc.d.ts +2 -0
- package/dist/esm/components/v2/input/textfield/Story/TextFieldDoc.d.ts +2 -0
- package/dist/esm/components/v2/input/textfield/TextField.d.ts +4 -0
- package/dist/esm/components/v2/input/textfield/index.d.ts +2 -0
- package/dist/esm/components/v2/input/textfield/types/index.d.ts +55 -0
- package/dist/esm/components/v2/input/toggle/Story/ToggleDoc.d.ts +2 -0
- package/dist/esm/components/v2/input/toggle/Toggle.d.ts +1 -11
- package/dist/esm/components/v2/input/toggle/types/index.d.ts +12 -0
- package/dist/esm/components/v2/link/Story/LinkDoc.d.ts +2 -0
- package/dist/esm/components/v2/modal/Story/BaseModalDoc.d.ts +2 -0
- package/dist/esm/components/v2/modal/dialogBox/Story/DialogDoc.d.ts +2 -0
- package/dist/esm/components/v2/pagination/Pagination.d.ts +7 -39
- package/dist/esm/components/v2/pagination/Story/PaginationDoc.d.ts +2 -0
- package/dist/esm/components/v2/pagination/types/index.d.ts +39 -0
- package/dist/esm/components/v2/skeleton/Skeleton.d.ts +1 -10
- package/dist/esm/components/v2/skeleton/Story/SkeletonDoc.d.ts +2 -0
- package/dist/esm/components/v2/skeleton/index.d.ts +1 -1
- package/dist/esm/components/v2/skeleton/types/index.d.ts +12 -0
- package/dist/esm/components/v2/stepper/Story/StepperDocs.d.ts +2 -0
- package/dist/esm/components/v2/table/baseTable/Story/BaseTableDoc.d.ts +2 -0
- package/dist/esm/components/v2/table/body/Story/TableBodyDoc.d.ts +2 -0
- package/dist/esm/components/v2/table/body/TableBody.d.ts +1 -11
- package/dist/esm/components/v2/table/body/types/index.d.ts +28 -0
- package/dist/esm/components/v2/table/cell/Story/CellDoc.d.ts +2 -0
- package/dist/esm/components/v2/table/header/Story/TableHeaderDoc.d.ts +2 -0
- package/dist/esm/components/v2/table/row/Story/RowDoc.d.ts +2 -0
- package/dist/esm/components/v2/table/table/Story/TableDoc.d.ts +2 -0
- package/dist/esm/components/v2/tabs/Story/TabsDoc.d.ts +2 -0
- package/dist/esm/components/v2/tags/Story/TagsDoc.d.ts +2 -0
- package/dist/esm/components/v2/tags/Tags.d.ts +4 -0
- package/dist/esm/components/v2/tags/assets/Indicator/Indicator.d.ts +4 -0
- package/dist/esm/components/v2/tags/assets/Indicator/types/index.d.ts +10 -0
- package/dist/esm/components/v2/tags/assets/TagCloser/TagCloserLg.d.ts +7 -0
- package/dist/esm/components/v2/tags/assets/TagCloser/TagCloserMd.d.ts +7 -0
- package/dist/esm/components/v2/tags/assets/TagCloser/TagCloserSm.d.ts +7 -0
- package/dist/esm/components/v2/tags/assets/TagCount/TagCountLg.d.ts +8 -0
- package/dist/esm/components/v2/tags/assets/TagCount/TagCountMd.d.ts +8 -0
- package/dist/esm/components/v2/tags/assets/TagCount/TagCountSm.d.ts +8 -0
- package/dist/esm/components/v2/tags/types/index.d.ts +31 -0
- package/dist/esm/components/v2/text/Story/TextDoc.d.ts +2 -0
- package/dist/esm/components/v2/tooltip/Story/TooltipDoc.d.ts +2 -0
- package/dist/esm/components/v2/tooltip/Tooltip.d.ts +3 -0
- package/dist/esm/components/v2/tooltip/index.d.ts +1 -0
- package/dist/esm/components/v2/tooltip/types/index.d.ts +42 -0
- package/dist/esm/components/widget/BaseWidgetStoriesData.d.ts +54 -0
- package/dist/esm/index.js +282 -230
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/v2/index.js +2768 -403
- package/dist/esm/v2/index.js.map +1 -1
- package/package.json +28 -28
- package/src/styles/_responsive.scss +1 -1
- package/src/styles/main.css +78 -102
- package/dist/esm/components/v2/checkbox/types/Types.d.ts +0 -20
- package/src/styles/style-system/ComponentsFormat.stories.mdx +0 -30
- package/src/styles/style-system/Design.stories.mdx +0 -19
- package/src/styles/style-system/Style.stories.mdx +0 -110
package/dist/cjs/v2/index.js
CHANGED
|
@@ -210,9 +210,9 @@ function inputHelper(event) {
|
|
|
210
210
|
|
|
211
211
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
212
212
|
|
|
213
|
-
var css$
|
|
213
|
+
var css$S = ".BaseCell_module_root__e11a03a1 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem;\n gap: 0.5rem;\n flex: none;\n height: 3rem;\n background: var(--light-color3);\n max-width: 100%;\n max-height: 100%;\n}\n.BaseCell_module_root__e11a03a1 > [data-elem*=component] {\n display: inline-block;\n max-height: 100%;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_sm__e11a03a1 {\n width: 9.063rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_md__e11a03a1 {\n width: 15.625rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_lg__e11a03a1 {\n width: 21.875rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_auto__e11a03a1 {\n width: auto;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusDefault__e11a03a1 {\n border-radius: 0.25rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusRound__e11a03a1 {\n border-radius: 50%;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusEllipse__e11a03a1 {\n border-radius: 1.563rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusNone__e11a03a1 {\n border-radius: 0rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1 {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 3rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1.BaseCell_module_sm__e11a03a1 {\n min-width: 9.063rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1.BaseCell_module_md__e11a03a1 {\n min-width: 15.625rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1.BaseCell_module_lg__e11a03a1 {\n min-width: 21.875rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_centered__e11a03a1 {\n justify-content: center;\n}";
|
|
214
214
|
var modules_3af9b74c$1 = {"root":"BaseCell_module_root__e11a03a1","sm":"BaseCell_module_sm__e11a03a1","md":"BaseCell_module_md__e11a03a1","lg":"BaseCell_module_lg__e11a03a1","auto":"BaseCell_module_auto__e11a03a1","border-radius-default":"BaseCell_module_borderRadiusDefault__e11a03a1","border-radius-round":"BaseCell_module_borderRadiusRound__e11a03a1","border-radius-ellipse":"BaseCell_module_borderRadiusEllipse__e11a03a1","border-radius-none":"BaseCell_module_borderRadiusNone__e11a03a1","flexible":"BaseCell_module_flexible__e11a03a1","centered":"BaseCell_module_centered__e11a03a1"};
|
|
215
|
-
n(css$
|
|
215
|
+
n(css$S,{});
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* BaseCell - A flexible container component for displaying up to three components in a structured layout
|
|
@@ -278,9 +278,9 @@ var BaseCell$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
278
278
|
return null;
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
var css$
|
|
281
|
+
var css$R = "button.BaseButton_module_root__eb55429f[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n display: inline-flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n border: none;\n background: none;\n padding: 0.5rem 0.75rem;\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell]:focus {\n outline: 1px solid var(--primary-color4);\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell]:active {\n outline: none;\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell]:disabled {\n cursor: not-allowed;\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell].BaseButton_module_contained__eb55429f {\n background: var(--text-color);\n color: var(--light-color3);\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell].BaseButton_module_outlined__eb55429f {\n color: var(--text-color);\n border: 1px solid var(--text-color);\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell].BaseButton_module_text__eb55429f {\n color: var(--text-color);\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell] [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell] [data-elem=component2] {\n min-width: 0;\n}\nbutton.BaseButton_module_root__eb55429f[data-elem=base-cell] [data-elem=title] {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}";
|
|
282
282
|
var modules_ab72627b$1 = {"root":"BaseButton_module_root__eb55429f","contained":"BaseButton_module_contained__eb55429f","outlined":"BaseButton_module_outlined__eb55429f","text":"BaseButton_module_text__eb55429f"};
|
|
283
|
-
n(css$
|
|
283
|
+
n(css$R,{});
|
|
284
284
|
|
|
285
285
|
var BaseButton$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
286
286
|
var _props$className = props.className,
|
|
@@ -330,9 +330,9 @@ var BaseButton$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
330
330
|
});
|
|
331
331
|
});
|
|
332
332
|
|
|
333
|
-
var css$K = "button.Button_module_root__f628f9e2[data-elem=base-cell] {\n transition: background-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), border-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), box-shadow 110ms cubic-bezier(0.2, 0, 0.38, 0.9);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n cursor: pointer;\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell] [data-elem=title] {\n font-family: Jakarta, sans-serif;\n font-weight: 600;\n font-size: 14px;\n line-height: 20px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeXs__f628f9e2 {\n height: 32px;\n padding: 0 12px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeSm__f628f9e2 {\n height: 36px;\n padding: 0 14px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeMd__f628f9e2 {\n height: 40px;\n padding: 0 16px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeLg__f628f9e2 {\n height: 44px;\n padding: 0 18px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2 {\n background: #1570ef;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:hover:not(:disabled) {\n background: #175cd3;\n box-shadow: 0 2px 5px 0 rgba(46, 144, 250, 0.08), 0 0 0 1px rgba(46, 144, 250, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:active:not(:disabled) {\n background: #1849a9;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2 {\n background: #252b37;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:hover:not(:disabled) {\n background: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:active:not(:disabled) {\n background: #181d27;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2 {\n background: #fafafa;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:not(:disabled) svg {\n color: #414651;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:hover:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2 {\n background: transparent;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: 0 0 0 1px #d5d7da;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #535862;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2 {\n background: transparent;\n color: #414651;\n box-shadow: none;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: none;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2 {\n background: #d92d20;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:hover:not(:disabled) {\n background: #b42318;\n box-shadow: 0 2px 5px 0 rgba(217, 45, 32, 0.08), 0 0 0 1px rgba(217, 45, 32, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:active:not(:disabled) {\n background: #912018;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #f04438;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2 {\n padding: 0 !important;\n aspect-ratio: 1/1;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeXs__f628f9e2 {\n width: 32px;\n height: 32px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeSm__f628f9e2 {\n width: 40px;\n height: 40px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeMd__f628f9e2 {\n width: 44px;\n height: 44px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeLg__f628f9e2 {\n width: 52px;\n height: 52px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled {\n transition: background-color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 150ms cubic-bezier(0.2, 0, 0.38, 0.9);\n background: #f5f5f5;\n color: #a4a7ae;\n cursor: not-allowed;\n box-shadow: none;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled [data-elem=title],\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled svg {\n opacity: 0.6;\n}\n@media (prefers-reduced-motion: reduce) {\n button.Button_module_root__f628f9e2[data-elem=base-cell] {\n transition: none !important;\n }\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_unstyled__f628f9e2 {\n all: unset !important;\n display: inline-flex !important;\n align-items: center !important;\n cursor: pointer !important;\n background: transparent !important;\n padding: 4px !important;\n margin: 0 !important;\n border: none !important;\n box-shadow: none !important;\n border-radius: 4px !important;\n height: auto !important;\n width: auto !important;\n min-width: unset !important;\n font: inherit !important;\n color: inherit !important;\n outline: none !important;\n}\n\n.Button_module_iconXs__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconSm__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconMd__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconLg__f628f9e2 {\n width: 20px !important;\n height: 20px !important;\n flex-shrink: 0;\n}";
|
|
333
|
+
var css$Q = "button.Button_module_root__f628f9e2[data-elem=base-cell] {\n transition: background-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), border-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), box-shadow 110ms cubic-bezier(0.2, 0, 0.38, 0.9);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n cursor: pointer;\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell] [data-elem=title] {\n font-family: Jakarta, sans-serif;\n font-weight: 600;\n font-size: 14px;\n line-height: 20px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeXs__f628f9e2 {\n height: 32px;\n padding: 0 12px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeSm__f628f9e2 {\n height: 36px;\n padding: 0 14px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeMd__f628f9e2 {\n height: 40px;\n padding: 0 16px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeLg__f628f9e2 {\n height: 44px;\n padding: 0 18px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2 {\n background: #1570ef;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:hover:not(:disabled) {\n background: #175cd3;\n box-shadow: 0 2px 5px 0 rgba(46, 144, 250, 0.08), 0 0 0 1px rgba(46, 144, 250, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:active:not(:disabled) {\n background: #1849a9;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2 {\n background: #252b37;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:hover:not(:disabled) {\n background: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:active:not(:disabled) {\n background: #181d27;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2 {\n background: #fafafa;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:not(:disabled) svg {\n color: #414651;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:hover:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2 {\n background: transparent;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: 0 0 0 1px #d5d7da;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #535862;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2 {\n background: transparent;\n color: #414651;\n box-shadow: none;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: none;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2 {\n background: #d92d20;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:hover:not(:disabled) {\n background: #b42318;\n box-shadow: 0 2px 5px 0 rgba(217, 45, 32, 0.08), 0 0 0 1px rgba(217, 45, 32, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:active:not(:disabled) {\n background: #912018;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #f04438;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2 {\n padding: 0 !important;\n aspect-ratio: 1/1;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeXs__f628f9e2 {\n width: 32px;\n height: 32px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeSm__f628f9e2 {\n width: 40px;\n height: 40px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeMd__f628f9e2 {\n width: 44px;\n height: 44px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeLg__f628f9e2 {\n width: 52px;\n height: 52px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled {\n transition: background-color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 150ms cubic-bezier(0.2, 0, 0.38, 0.9);\n background: #f5f5f5;\n color: #a4a7ae;\n cursor: not-allowed;\n box-shadow: none;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled [data-elem=title],\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled svg {\n opacity: 0.6;\n}\n@media (prefers-reduced-motion: reduce) {\n button.Button_module_root__f628f9e2[data-elem=base-cell] {\n transition: none !important;\n }\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_unstyled__f628f9e2 {\n all: unset !important;\n display: inline-flex !important;\n align-items: center !important;\n cursor: pointer !important;\n background: transparent !important;\n padding: 4px !important;\n margin: 0 !important;\n border: none !important;\n box-shadow: none !important;\n border-radius: 4px !important;\n height: auto !important;\n width: auto !important;\n min-width: unset !important;\n font: inherit !important;\n color: inherit !important;\n outline: none !important;\n}\n\n.Button_module_iconXs__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconSm__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconMd__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconLg__f628f9e2 {\n width: 20px !important;\n height: 20px !important;\n flex-shrink: 0;\n}";
|
|
334
334
|
var modules_b0070f27$1 = {"root":"Button_module_root__f628f9e2","size-xs":"Button_module_sizeXs__f628f9e2","size-sm":"Button_module_sizeSm__f628f9e2","size-md":"Button_module_sizeMd__f628f9e2","size-lg":"Button_module_sizeLg__f628f9e2","primary":"Button_module_primary__f628f9e2","secondary":"Button_module_secondary__f628f9e2","soft":"Button_module_soft__f628f9e2","outline":"Button_module_outline__f628f9e2","ghost":"Button_module_ghost__f628f9e2","critical":"Button_module_critical__f628f9e2","icon-only":"Button_module_iconOnly__f628f9e2","unstyled":"Button_module_unstyled__f628f9e2","icon-xs":"Button_module_iconXs__f628f9e2","icon-sm":"Button_module_iconSm__f628f9e2","icon-md":"Button_module_iconMd__f628f9e2","icon-lg":"Button_module_iconLg__f628f9e2"};
|
|
335
|
-
n(css$
|
|
335
|
+
n(css$Q,{});
|
|
336
336
|
|
|
337
337
|
var Button$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
338
338
|
var _props$className = props.className,
|
|
@@ -479,8 +479,8 @@ var AlertIcon = {
|
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
481
|
|
|
482
|
-
var css$
|
|
483
|
-
n(css$
|
|
482
|
+
var css$P = ".Arrow_module_right__19f08663 {\n transform: rotate(0deg);\n}\n\n.Arrow_module_left__19f08663 {\n transform: rotate(180deg);\n}\n\n.Arrow_module_bottom__19f08663 {\n transform: rotate(90deg);\n}\n\n.Arrow_module_top__19f08663 {\n transform: rotate(270deg);\n}";
|
|
483
|
+
n(css$P,{});
|
|
484
484
|
|
|
485
485
|
var Caret = function Caret(props) {
|
|
486
486
|
var _props$className = props.className,
|
|
@@ -606,8 +606,8 @@ var Checked = function Checked(props) {
|
|
|
606
606
|
});
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
-
var css$
|
|
610
|
-
n(css$
|
|
609
|
+
var css$O = ".Chevron_module_left__8b1808eb {\n transform: rotate(0deg);\n}\n\n.Chevron_module_bottom__8b1808eb {\n transform: rotate(90deg);\n}\n\n.Chevron_module_right__8b1808eb {\n transform: rotate(180deg);\n}\n\n.Chevron_module_top__8b1808eb {\n transform: rotate(270deg);\n}";
|
|
610
|
+
n(css$O,{});
|
|
611
611
|
|
|
612
612
|
var Cross = function Cross(props) {
|
|
613
613
|
var className = props.className;
|
|
@@ -870,9 +870,9 @@ var ViewPasswordIcon = function ViewPasswordIcon(props) {
|
|
|
870
870
|
});
|
|
871
871
|
};
|
|
872
872
|
|
|
873
|
-
var css$
|
|
873
|
+
var css$N = ".Accordion_module_root__3fa1d289 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n width: 100%;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n cursor: pointer;\n border: 0;\n border: 2px solid transparent;\n border-top: 1px solid #ededed;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] > [data-elem=component3] svg {\n transition: all 0.3s ease-in-out;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] > [data-elem=component1], .Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] > [data-elem=component3] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] > [data-elem=component1] svg, .Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] > [data-elem=component3] svg {\n transform: rotate(180deg);\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--text-color);\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] > [data-elem=component3] {\n margin-left: auto;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] .Accordion_module_title__3fa1d289 {\n flex: 1 1 auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: var(--text-color);\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell]:hover {\n border-left-color: #e86a00;\n background: #e4e4e4;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] :focus-visible {\n border-color: #3b82f6;\n}\n.Accordion_module_root__3fa1d289:not(.Accordion_module_open__3fa1d289):not(:has(+ .Accordion_module_root__3fa1d289)) > .Accordion_module_header__3fa1d289[data-elem=base-cell] {\n border-bottom: 1px solid #ededed;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] {\n border-top: 0;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 + .Accordion_module_root__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] {\n border-top: 0;\n}\n.Accordion_module_root__3fa1d289 > .Accordion_module_body__3fa1d289 {\n padding: 0.5rem 2.5rem;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] {\n border-left-color: #e86a00;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] [data-elem=component3] svg {\n transform: none;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 {\n border-bottom: 1px solid #ededed;\n border-top: 1px solid #ededed;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 > .Accordion_module_body__3fa1d289 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 > .Accordion_module_body__3fa1d289 > button[data-elem=base-cell] {\n width: -moz-fit-content;\n width: fit-content;\n align-self: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_open__3fa1d289 > .Accordion_module_body__3fa1d289 > button[data-elem=base-cell] .Accordion_module_expand__3fa1d289 {\n height: 1.5rem;\n width: 1.5rem;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_disabled__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] {\n cursor: not-allowed;\n pointer-events: none;\n background: transparent;\n border-top: 1px solid #ededed;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_disabled__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] .Accordion_module_title__3fa1d289 {\n color: #161616;\n opacity: 25%;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_disabled__3fa1d289 > .Accordion_module_header__3fa1d289[data-elem=base-cell] svg {\n opacity: 0.25;\n}\n.Accordion_module_root__3fa1d289.Accordion_module_disabled__3fa1d289 > .Accordion_module_body__3fa1d289 {\n display: none;\n}";
|
|
874
874
|
var modules_8207625f = {"root":"Accordion_module_root__3fa1d289","header":"Accordion_module_header__3fa1d289","title":"Accordion_module_title__3fa1d289","open":"Accordion_module_open__3fa1d289","body":"Accordion_module_body__3fa1d289","expand":"Accordion_module_expand__3fa1d289","disabled":"Accordion_module_disabled__3fa1d289"};
|
|
875
|
-
n(css$
|
|
875
|
+
n(css$N,{});
|
|
876
876
|
|
|
877
877
|
/**
|
|
878
878
|
* Accordion – A simple disclosure component with an optional left and right icon.
|
|
@@ -980,10 +980,6 @@ const oppositeSideMap = {
|
|
|
980
980
|
bottom: 'top',
|
|
981
981
|
top: 'bottom'
|
|
982
982
|
};
|
|
983
|
-
const oppositeAlignmentMap = {
|
|
984
|
-
start: 'end',
|
|
985
|
-
end: 'start'
|
|
986
|
-
};
|
|
987
983
|
function clamp(start, value, end) {
|
|
988
984
|
return max(start, min(value, end));
|
|
989
985
|
}
|
|
@@ -1002,9 +998,9 @@ function getOppositeAxis(axis) {
|
|
|
1002
998
|
function getAxisLength(axis) {
|
|
1003
999
|
return axis === 'y' ? 'height' : 'width';
|
|
1004
1000
|
}
|
|
1005
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
1006
1001
|
function getSideAxis(placement) {
|
|
1007
|
-
|
|
1002
|
+
const firstChar = placement[0];
|
|
1003
|
+
return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
|
|
1008
1004
|
}
|
|
1009
1005
|
function getAlignmentAxis(placement) {
|
|
1010
1006
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -1027,7 +1023,7 @@ function getExpandedPlacements(placement) {
|
|
|
1027
1023
|
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
1028
1024
|
}
|
|
1029
1025
|
function getOppositeAlignmentPlacement(placement) {
|
|
1030
|
-
return placement.replace(
|
|
1026
|
+
return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
|
|
1031
1027
|
}
|
|
1032
1028
|
const lrPlacement = ['left', 'right'];
|
|
1033
1029
|
const rlPlacement = ['right', 'left'];
|
|
@@ -1058,7 +1054,8 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
|
1058
1054
|
return list;
|
|
1059
1055
|
}
|
|
1060
1056
|
function getOppositePlacement(placement) {
|
|
1061
|
-
|
|
1057
|
+
const side = getSide(placement);
|
|
1058
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
1062
1059
|
}
|
|
1063
1060
|
function expandPaddingObject(padding) {
|
|
1064
1061
|
return {
|
|
@@ -1152,6 +1149,74 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
1152
1149
|
return coords;
|
|
1153
1150
|
}
|
|
1154
1151
|
|
|
1152
|
+
/**
|
|
1153
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
1154
|
+
* element is overflowing a given clipping boundary on each side.
|
|
1155
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
1156
|
+
* - negative = how many pixels left before it will overflow
|
|
1157
|
+
* - 0 = lies flush with the boundary
|
|
1158
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
1159
|
+
*/
|
|
1160
|
+
async function detectOverflow(state, options) {
|
|
1161
|
+
var _await$platform$isEle;
|
|
1162
|
+
if (options === void 0) {
|
|
1163
|
+
options = {};
|
|
1164
|
+
}
|
|
1165
|
+
const {
|
|
1166
|
+
x,
|
|
1167
|
+
y,
|
|
1168
|
+
platform,
|
|
1169
|
+
rects,
|
|
1170
|
+
elements,
|
|
1171
|
+
strategy
|
|
1172
|
+
} = state;
|
|
1173
|
+
const {
|
|
1174
|
+
boundary = 'clippingAncestors',
|
|
1175
|
+
rootBoundary = 'viewport',
|
|
1176
|
+
elementContext = 'floating',
|
|
1177
|
+
altBoundary = false,
|
|
1178
|
+
padding = 0
|
|
1179
|
+
} = evaluate(options, state);
|
|
1180
|
+
const paddingObject = getPaddingObject(padding);
|
|
1181
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
1182
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
1183
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
1184
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
1185
|
+
boundary,
|
|
1186
|
+
rootBoundary,
|
|
1187
|
+
strategy
|
|
1188
|
+
}));
|
|
1189
|
+
const rect = elementContext === 'floating' ? {
|
|
1190
|
+
x,
|
|
1191
|
+
y,
|
|
1192
|
+
width: rects.floating.width,
|
|
1193
|
+
height: rects.floating.height
|
|
1194
|
+
} : rects.reference;
|
|
1195
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
1196
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
1197
|
+
x: 1,
|
|
1198
|
+
y: 1
|
|
1199
|
+
} : {
|
|
1200
|
+
x: 1,
|
|
1201
|
+
y: 1
|
|
1202
|
+
};
|
|
1203
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1204
|
+
elements,
|
|
1205
|
+
rect,
|
|
1206
|
+
offsetParent,
|
|
1207
|
+
strategy
|
|
1208
|
+
}) : rect);
|
|
1209
|
+
return {
|
|
1210
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
1211
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
1212
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
1213
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
// Maximum number of resets that can occur before bailing to avoid infinite reset loops.
|
|
1218
|
+
const MAX_RESET_COUNT = 50;
|
|
1219
|
+
|
|
1155
1220
|
/**
|
|
1156
1221
|
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1157
1222
|
* next to a given reference element.
|
|
@@ -1166,7 +1231,10 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
1166
1231
|
middleware = [],
|
|
1167
1232
|
platform
|
|
1168
1233
|
} = config;
|
|
1169
|
-
const
|
|
1234
|
+
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
1235
|
+
...platform,
|
|
1236
|
+
detectOverflow
|
|
1237
|
+
};
|
|
1170
1238
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
1171
1239
|
let rects = await platform.getElementRects({
|
|
1172
1240
|
reference,
|
|
@@ -1178,13 +1246,17 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
1178
1246
|
y
|
|
1179
1247
|
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
1180
1248
|
let statefulPlacement = placement;
|
|
1181
|
-
let middlewareData = {};
|
|
1182
1249
|
let resetCount = 0;
|
|
1183
|
-
|
|
1250
|
+
const middlewareData = {};
|
|
1251
|
+
for (let i = 0; i < middleware.length; i++) {
|
|
1252
|
+
const currentMiddleware = middleware[i];
|
|
1253
|
+
if (!currentMiddleware) {
|
|
1254
|
+
continue;
|
|
1255
|
+
}
|
|
1184
1256
|
const {
|
|
1185
1257
|
name,
|
|
1186
1258
|
fn
|
|
1187
|
-
} =
|
|
1259
|
+
} = currentMiddleware;
|
|
1188
1260
|
const {
|
|
1189
1261
|
x: nextX,
|
|
1190
1262
|
y: nextY,
|
|
@@ -1198,7 +1270,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
1198
1270
|
strategy,
|
|
1199
1271
|
middlewareData,
|
|
1200
1272
|
rects,
|
|
1201
|
-
platform,
|
|
1273
|
+
platform: platformWithDetectOverflow,
|
|
1202
1274
|
elements: {
|
|
1203
1275
|
reference,
|
|
1204
1276
|
floating
|
|
@@ -1206,14 +1278,11 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
1206
1278
|
});
|
|
1207
1279
|
x = nextX != null ? nextX : x;
|
|
1208
1280
|
y = nextY != null ? nextY : y;
|
|
1209
|
-
middlewareData = {
|
|
1210
|
-
...middlewareData,
|
|
1211
|
-
|
|
1212
|
-
...middlewareData[name],
|
|
1213
|
-
...data
|
|
1214
|
-
}
|
|
1281
|
+
middlewareData[name] = {
|
|
1282
|
+
...middlewareData[name],
|
|
1283
|
+
...data
|
|
1215
1284
|
};
|
|
1216
|
-
if (reset && resetCount
|
|
1285
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
1217
1286
|
resetCount++;
|
|
1218
1287
|
if (typeof reset === 'object') {
|
|
1219
1288
|
if (reset.placement) {
|
|
@@ -1243,71 +1312,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
1243
1312
|
};
|
|
1244
1313
|
};
|
|
1245
1314
|
|
|
1246
|
-
/**
|
|
1247
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
1248
|
-
* element is overflowing a given clipping boundary on each side.
|
|
1249
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
1250
|
-
* - negative = how many pixels left before it will overflow
|
|
1251
|
-
* - 0 = lies flush with the boundary
|
|
1252
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
1253
|
-
*/
|
|
1254
|
-
async function detectOverflow(state, options) {
|
|
1255
|
-
var _await$platform$isEle;
|
|
1256
|
-
if (options === void 0) {
|
|
1257
|
-
options = {};
|
|
1258
|
-
}
|
|
1259
|
-
const {
|
|
1260
|
-
x,
|
|
1261
|
-
y,
|
|
1262
|
-
platform,
|
|
1263
|
-
rects,
|
|
1264
|
-
elements,
|
|
1265
|
-
strategy
|
|
1266
|
-
} = state;
|
|
1267
|
-
const {
|
|
1268
|
-
boundary = 'clippingAncestors',
|
|
1269
|
-
rootBoundary = 'viewport',
|
|
1270
|
-
elementContext = 'floating',
|
|
1271
|
-
altBoundary = false,
|
|
1272
|
-
padding = 0
|
|
1273
|
-
} = evaluate(options, state);
|
|
1274
|
-
const paddingObject = getPaddingObject(padding);
|
|
1275
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
1276
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
1277
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
1278
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
1279
|
-
boundary,
|
|
1280
|
-
rootBoundary,
|
|
1281
|
-
strategy
|
|
1282
|
-
}));
|
|
1283
|
-
const rect = elementContext === 'floating' ? {
|
|
1284
|
-
x,
|
|
1285
|
-
y,
|
|
1286
|
-
width: rects.floating.width,
|
|
1287
|
-
height: rects.floating.height
|
|
1288
|
-
} : rects.reference;
|
|
1289
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
1290
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
1291
|
-
x: 1,
|
|
1292
|
-
y: 1
|
|
1293
|
-
} : {
|
|
1294
|
-
x: 1,
|
|
1295
|
-
y: 1
|
|
1296
|
-
};
|
|
1297
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1298
|
-
elements,
|
|
1299
|
-
rect,
|
|
1300
|
-
offsetParent,
|
|
1301
|
-
strategy
|
|
1302
|
-
}) : rect);
|
|
1303
|
-
return {
|
|
1304
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
1305
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
1306
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
1307
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
1308
|
-
};
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
1315
|
/**
|
|
1312
1316
|
* Provides data to position an inner element of the floating element so that it
|
|
1313
1317
|
* appears centered to the reference element.
|
|
@@ -1440,7 +1444,7 @@ const flip$1 = function (options) {
|
|
|
1440
1444
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
1441
1445
|
}
|
|
1442
1446
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
1443
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1447
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1444
1448
|
const overflows = [];
|
|
1445
1449
|
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
1446
1450
|
if (checkMainAxis) {
|
|
@@ -1624,7 +1628,8 @@ const shift$1 = function (options) {
|
|
|
1624
1628
|
const {
|
|
1625
1629
|
x,
|
|
1626
1630
|
y,
|
|
1627
|
-
placement
|
|
1631
|
+
placement,
|
|
1632
|
+
platform
|
|
1628
1633
|
} = state;
|
|
1629
1634
|
const {
|
|
1630
1635
|
mainAxis: checkMainAxis = true,
|
|
@@ -1647,7 +1652,7 @@ const shift$1 = function (options) {
|
|
|
1647
1652
|
x,
|
|
1648
1653
|
y
|
|
1649
1654
|
};
|
|
1650
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1655
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1651
1656
|
const crossAxis = getSideAxis(getSide(placement));
|
|
1652
1657
|
const mainAxis = getOppositeAxis(crossAxis);
|
|
1653
1658
|
let mainAxisCoord = coords[mainAxis];
|
|
@@ -1711,7 +1716,7 @@ const size$1 = function (options) {
|
|
|
1711
1716
|
apply = () => {},
|
|
1712
1717
|
...detectOverflowOptions
|
|
1713
1718
|
} = evaluate(options, state);
|
|
1714
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1719
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1715
1720
|
const side = getSide(placement);
|
|
1716
1721
|
const alignment = getAlignment(placement);
|
|
1717
1722
|
const isYAxis = getSideAxis(placement) === 'y';
|
|
@@ -1814,7 +1819,6 @@ function isShadowRoot(value) {
|
|
|
1814
1819
|
}
|
|
1815
1820
|
return value instanceof ShadowRoot || value instanceof getWindow$1(value).ShadowRoot;
|
|
1816
1821
|
}
|
|
1817
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
1818
1822
|
function isOverflowElement(element) {
|
|
1819
1823
|
const {
|
|
1820
1824
|
overflow,
|
|
@@ -1822,32 +1826,35 @@ function isOverflowElement(element) {
|
|
|
1822
1826
|
overflowY,
|
|
1823
1827
|
display
|
|
1824
1828
|
} = getComputedStyle$1(element);
|
|
1825
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) &&
|
|
1829
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
|
|
1826
1830
|
}
|
|
1827
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
1828
1831
|
function isTableElement(element) {
|
|
1829
|
-
return
|
|
1832
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
1830
1833
|
}
|
|
1831
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
1832
1834
|
function isTopLayer(element) {
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
return
|
|
1836
|
-
} catch (_e) {
|
|
1837
|
-
return false;
|
|
1835
|
+
try {
|
|
1836
|
+
if (element.matches(':popover-open')) {
|
|
1837
|
+
return true;
|
|
1838
1838
|
}
|
|
1839
|
-
})
|
|
1839
|
+
} catch (_e) {
|
|
1840
|
+
// no-op
|
|
1841
|
+
}
|
|
1842
|
+
try {
|
|
1843
|
+
return element.matches(':modal');
|
|
1844
|
+
} catch (_e) {
|
|
1845
|
+
return false;
|
|
1846
|
+
}
|
|
1840
1847
|
}
|
|
1841
|
-
const
|
|
1842
|
-
const
|
|
1843
|
-
const
|
|
1848
|
+
const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
1849
|
+
const containRe = /paint|layout|strict|content/;
|
|
1850
|
+
const isNotNone = value => !!value && value !== 'none';
|
|
1851
|
+
let isWebKitValue;
|
|
1844
1852
|
function isContainingBlock(elementOrCss) {
|
|
1845
|
-
const webkit = isWebKit();
|
|
1846
1853
|
const css = isElement$1(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
1847
1854
|
|
|
1848
1855
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1849
1856
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
1850
|
-
return
|
|
1857
|
+
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
|
|
1851
1858
|
}
|
|
1852
1859
|
function getContainingBlock(element) {
|
|
1853
1860
|
let currentNode = getParentNode(element);
|
|
@@ -1862,12 +1869,13 @@ function getContainingBlock(element) {
|
|
|
1862
1869
|
return null;
|
|
1863
1870
|
}
|
|
1864
1871
|
function isWebKit() {
|
|
1865
|
-
if (
|
|
1866
|
-
|
|
1872
|
+
if (isWebKitValue == null) {
|
|
1873
|
+
isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1874
|
+
}
|
|
1875
|
+
return isWebKitValue;
|
|
1867
1876
|
}
|
|
1868
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
1869
1877
|
function isLastTraversableNode(node) {
|
|
1870
|
-
return
|
|
1878
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
1871
1879
|
}
|
|
1872
1880
|
function getComputedStyle$1(element) {
|
|
1873
1881
|
return getWindow$1(element).getComputedStyle(element);
|
|
@@ -1923,8 +1931,9 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
1923
1931
|
if (isBody) {
|
|
1924
1932
|
const frameElement = getFrameElement(win);
|
|
1925
1933
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
1934
|
+
} else {
|
|
1935
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1926
1936
|
}
|
|
1927
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1928
1937
|
}
|
|
1929
1938
|
function getFrameElement(win) {
|
|
1930
1939
|
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
@@ -2101,7 +2110,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
2101
2110
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
2102
2111
|
scroll = getNodeScroll(offsetParent);
|
|
2103
2112
|
}
|
|
2104
|
-
if (
|
|
2113
|
+
if (isOffsetParentAnElement) {
|
|
2105
2114
|
const offsetRect = getBoundingClientRect(offsetParent);
|
|
2106
2115
|
scale = getScale(offsetParent);
|
|
2107
2116
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
@@ -2189,7 +2198,6 @@ function getViewportRect(element, strategy) {
|
|
|
2189
2198
|
};
|
|
2190
2199
|
}
|
|
2191
2200
|
|
|
2192
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
2193
2201
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
2194
2202
|
function getInnerBoundingClientRect(element, strategy) {
|
|
2195
2203
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -2254,7 +2262,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
2254
2262
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
2255
2263
|
currentContainingBlockComputedStyle = null;
|
|
2256
2264
|
}
|
|
2257
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
2265
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
2258
2266
|
if (shouldDropCurrentNode) {
|
|
2259
2267
|
// Drop non-containing blocks.
|
|
2260
2268
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -2279,20 +2287,23 @@ function getClippingRect(_ref) {
|
|
|
2279
2287
|
} = _ref;
|
|
2280
2288
|
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
2281
2289
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
2282
|
-
const
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2290
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
2291
|
+
let top = firstRect.top;
|
|
2292
|
+
let right = firstRect.right;
|
|
2293
|
+
let bottom = firstRect.bottom;
|
|
2294
|
+
let left = firstRect.left;
|
|
2295
|
+
for (let i = 1; i < clippingAncestors.length; i++) {
|
|
2296
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
|
|
2297
|
+
top = max(rect.top, top);
|
|
2298
|
+
right = min(rect.right, right);
|
|
2299
|
+
bottom = min(rect.bottom, bottom);
|
|
2300
|
+
left = max(rect.left, left);
|
|
2301
|
+
}
|
|
2291
2302
|
return {
|
|
2292
|
-
width:
|
|
2293
|
-
height:
|
|
2294
|
-
x:
|
|
2295
|
-
y:
|
|
2303
|
+
width: right - left,
|
|
2304
|
+
height: bottom - top,
|
|
2305
|
+
x: left,
|
|
2306
|
+
y: top
|
|
2296
2307
|
};
|
|
2297
2308
|
}
|
|
2298
2309
|
|
|
@@ -2543,7 +2554,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
2543
2554
|
animationFrame = false
|
|
2544
2555
|
} = options;
|
|
2545
2556
|
const referenceEl = unwrapElement(reference);
|
|
2546
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
2557
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];
|
|
2547
2558
|
ancestors.forEach(ancestor => {
|
|
2548
2559
|
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
2549
2560
|
passive: true
|
|
@@ -2556,7 +2567,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
2556
2567
|
if (elementResize) {
|
|
2557
2568
|
resizeObserver = new ResizeObserver(_ref => {
|
|
2558
2569
|
let [firstEntry] = _ref;
|
|
2559
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
2570
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
|
|
2560
2571
|
// Prevent update loops when using the `size` middleware.
|
|
2561
2572
|
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
2562
2573
|
resizeObserver.unobserve(floating);
|
|
@@ -2571,7 +2582,9 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
2571
2582
|
if (referenceEl && !animationFrame) {
|
|
2572
2583
|
resizeObserver.observe(referenceEl);
|
|
2573
2584
|
}
|
|
2574
|
-
|
|
2585
|
+
if (floating) {
|
|
2586
|
+
resizeObserver.observe(floating);
|
|
2587
|
+
}
|
|
2575
2588
|
}
|
|
2576
2589
|
let frameId;
|
|
2577
2590
|
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
@@ -5388,9 +5401,9 @@ const useListNavigation = function (_ref, _temp2) {
|
|
|
5388
5401
|
}, [activeId, disabledIndicesRef, listRef, enabled, orientation, rtl, virtual, open, activeIndex, nested, selectedIndex, openOnArrowKeyDown, focusItemOnHover, allowEscape, cols, loop, refs, focusItem, onNavigate, onOpenChange]);
|
|
5389
5402
|
};
|
|
5390
5403
|
|
|
5391
|
-
var css$
|
|
5404
|
+
var css$M = ".Popper_module_backdrop__9fc51220 {\n position: fixed;\n z-index: 100;\n inset: 0;\n background: rgba(var(--black), 0.4);\n}\n.Popper_module_backdrop__9fc51220.Popper_module_transparent__9fc51220 {\n background: none;\n}\n.Popper_module_backdrop__9fc51220.Popper_module_hideBackdrop__9fc51220 {\n position: static !important;\n}";
|
|
5392
5405
|
var modules_fe46b225 = {"backdrop":"Popper_module_backdrop__9fc51220","transparent":"Popper_module_transparent__9fc51220","hide-backdrop":"Popper_module_hideBackdrop__9fc51220"};
|
|
5393
|
-
n(css$
|
|
5406
|
+
n(css$M,{});
|
|
5394
5407
|
|
|
5395
5408
|
var FloatingOverlay = FloatingOverlay$1;
|
|
5396
5409
|
var Popper = function Popper(_ref) {
|
|
@@ -5433,9 +5446,9 @@ var Popper = function Popper(_ref) {
|
|
|
5433
5446
|
});
|
|
5434
5447
|
};
|
|
5435
5448
|
|
|
5436
|
-
var css$
|
|
5449
|
+
var css$L = ".Alert_module_root__2ba50dc8 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n position: fixed;\n opacity: 1;\n border-radius: 8px;\n color: #0f172a;\n}\n.Alert_module_root__2ba50dc8.Alert_module_shadow__2ba50dc8 {\n box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);\n}\n.Alert_module_root__2ba50dc8.Alert_module_positionBottomCenter__2ba50dc8 {\n left: 50%;\n bottom: 1rem;\n transform: translateX(-50%);\n}\n.Alert_module_root__2ba50dc8.Alert_module_positionTopRight__2ba50dc8 {\n right: 1rem;\n top: 1rem;\n}\n.Alert_module_root__2ba50dc8.Alert_module_positionBottomRight__2ba50dc8 {\n right: 1rem;\n bottom: 1rem;\n}\n.Alert_module_root__2ba50dc8.Alert_module_positionTopCenter__2ba50dc8 {\n left: 50%;\n top: 1rem;\n transform: translateX(-50%);\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.75rem;\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 .Alert_module_iconContainer__2ba50dc8 {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n display: grid;\n place-items: center;\n flex-shrink: 0;\n background: rgba(255, 255, 255, 0.12);\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 .Alert_module_iconContainer__2ba50dc8 .Alert_module_icon__2ba50dc8 {\n width: 16px;\n height: 16px;\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 .Alert_module_content__2ba50dc8 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 2px;\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 .Alert_module_content__2ba50dc8 .Alert_module_title__2ba50dc8 {\n font-size: 1rem;\n font-weight: 600;\n line-height: 20px;\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 .Alert_module_content__2ba50dc8 .Alert_module_description__2ba50dc8 {\n font-size: 0.875rem;\n line-height: 18px;\n}\n.Alert_module_root__2ba50dc8 .Alert_module_left__2ba50dc8 .Alert_module_content__2ba50dc8 .Alert_module_time__2ba50dc8 {\n font-size: 0.875rem;\n margin-top: 4px;\n}\n.Alert_module_root__2ba50dc8.Alert_module_card__2ba50dc8 .Alert_module_left__2ba50dc8 {\n align-items: flex-start;\n}\n.Alert_module_root__2ba50dc8 .Alert_module_actions__2ba50dc8 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n gap: 0.5rem;\n}\n.Alert_module_root__2ba50dc8.Alert_module_inline__2ba50dc8 {\n height: 44px;\n width: 640px;\n padding: 0 1rem;\n align-items: center;\n border: 0.5px solid transparent;\n border-left: 2px solid transparent;\n background: #f8fafc;\n border-radius: 0.5rem;\n}\n.Alert_module_root__2ba50dc8.Alert_module_inline__2ba50dc8 .Alert_module_description__2ba50dc8,\n.Alert_module_root__2ba50dc8.Alert_module_inline__2ba50dc8 .Alert_module_time__2ba50dc8 {\n display: none;\n}\n.Alert_module_root__2ba50dc8.Alert_module_card__2ba50dc8 {\n width: 296px;\n padding: 0.5rem 1rem;\n flex-direction: column;\n gap: 0.75rem;\n border-radius: 0.75rem;\n border-left: 2px solid transparent;\n background: #ffffff;\n}\n.Alert_module_root__2ba50dc8.Alert_module_success__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #22c55e;\n}\n.Alert_module_root__2ba50dc8.Alert_module_success__2ba50dc8.Alert_module_card__2ba50dc8 {\n border-color: #22c55e;\n}\n.Alert_module_root__2ba50dc8.Alert_module_error__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_danger__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #ef4444;\n}\n.Alert_module_root__2ba50dc8.Alert_module_error__2ba50dc8.Alert_module_card__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_danger__2ba50dc8.Alert_module_card__2ba50dc8 {\n border-color: #ef4444;\n}\n.Alert_module_root__2ba50dc8.Alert_module_warning__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #f59e0b;\n}\n.Alert_module_root__2ba50dc8.Alert_module_warning__2ba50dc8.Alert_module_card__2ba50dc8 {\n border-color: #f59e0b;\n}\n.Alert_module_root__2ba50dc8.Alert_module_info__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #3b82f6;\n}\n.Alert_module_root__2ba50dc8.Alert_module_info__2ba50dc8.Alert_module_card__2ba50dc8 {\n border-color: #3b82f6;\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8 {\n color: #0f172a;\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_success__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_success__2ba50dc8.Alert_module_card__2ba50dc8 {\n background: #ecfdf5;\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_error__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_error__2ba50dc8.Alert_module_card__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_danger__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_danger__2ba50dc8.Alert_module_card__2ba50dc8 {\n background: #fef2f2;\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_warning__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_warning__2ba50dc8.Alert_module_card__2ba50dc8 {\n background: #fffbeb;\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_info__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_info__2ba50dc8.Alert_module_card__2ba50dc8 {\n background: #eff6ff;\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8.Alert_module_card__2ba50dc8 {\n box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);\n}\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8 .Alert_module_description__2ba50dc8,\n.Alert_module_root__2ba50dc8.Alert_module_light__2ba50dc8 .Alert_module_time__2ba50dc8 {\n color: #475569;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8 {\n color: #e5e7eb;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_card__2ba50dc8 {\n background: #0b0f14;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_card__2ba50dc8 {\n box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8 .Alert_module_title__2ba50dc8 {\n color: #e5e7eb;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8 .Alert_module_description__2ba50dc8,\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8 .Alert_module_time__2ba50dc8 {\n color: #9ca3af;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8 .Alert_module_iconContainer__2ba50dc8 {\n background: rgba(255, 255, 255, 0.12);\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_success__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #22c55e;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_info__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #3b82f6;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_warning__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #f59e0b;\n}\n.Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_error__2ba50dc8.Alert_module_inline__2ba50dc8, .Alert_module_root__2ba50dc8.Alert_module_dark__2ba50dc8.Alert_module_danger__2ba50dc8.Alert_module_inline__2ba50dc8 {\n border-color: #ef4444;\n}";
|
|
5437
5450
|
var modules_3a764ea3 = {"root":"Alert_module_root__2ba50dc8","shadow":"Alert_module_shadow__2ba50dc8","position-bottom-center":"Alert_module_positionBottomCenter__2ba50dc8","position-top-right":"Alert_module_positionTopRight__2ba50dc8","position-bottom-right":"Alert_module_positionBottomRight__2ba50dc8","position-top-center":"Alert_module_positionTopCenter__2ba50dc8","left":"Alert_module_left__2ba50dc8","icon-container":"Alert_module_iconContainer__2ba50dc8","icon":"Alert_module_icon__2ba50dc8","content":"Alert_module_content__2ba50dc8","title":"Alert_module_title__2ba50dc8","description":"Alert_module_description__2ba50dc8","time":"Alert_module_time__2ba50dc8","card":"Alert_module_card__2ba50dc8","actions":"Alert_module_actions__2ba50dc8","inline":"Alert_module_inline__2ba50dc8","success":"Alert_module_success__2ba50dc8","error":"Alert_module_error__2ba50dc8","danger":"Alert_module_danger__2ba50dc8","warning":"Alert_module_warning__2ba50dc8","info":"Alert_module_info__2ba50dc8","light":"Alert_module_light__2ba50dc8","dark":"Alert_module_dark__2ba50dc8"};
|
|
5438
|
-
n(css$
|
|
5451
|
+
n(css$L,{});
|
|
5439
5452
|
|
|
5440
5453
|
var ALERT_DISMISS_TIME = 2000;
|
|
5441
5454
|
var ANIMATION = {
|
|
@@ -5649,9 +5662,9 @@ var Alert = function Alert(_ref, ref) {
|
|
|
5649
5662
|
};
|
|
5650
5663
|
var Alert$1 = /*#__PURE__*/React.forwardRef(Alert);
|
|
5651
5664
|
|
|
5652
|
-
var css$
|
|
5665
|
+
var css$K = ".BaseCell_module_root__e11a03a1 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem;\n gap: 0.5rem;\n flex: none;\n height: 3rem;\n background: var(--light-color3);\n max-width: 100%;\n max-height: 100%;\n}\n.BaseCell_module_root__e11a03a1 > [data-elem*=component] {\n display: inline-block;\n max-height: 100%;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_sm__e11a03a1 {\n width: 9.063rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_md__e11a03a1 {\n width: 15.625rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_lg__e11a03a1 {\n width: 21.875rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_auto__e11a03a1 {\n width: auto;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusDefault__e11a03a1 {\n border-radius: 0.25rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusRound__e11a03a1 {\n border-radius: 50%;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusEllipse__e11a03a1 {\n border-radius: 1.563rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_borderRadiusNone__e11a03a1 {\n border-radius: 0rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1 {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 3rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1.BaseCell_module_sm__e11a03a1 {\n min-width: 9.063rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1.BaseCell_module_md__e11a03a1 {\n min-width: 15.625rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_flexible__e11a03a1.BaseCell_module_lg__e11a03a1 {\n min-width: 21.875rem;\n}\n.BaseCell_module_root__e11a03a1.BaseCell_module_centered__e11a03a1 {\n justify-content: center;\n}";
|
|
5653
5666
|
var modules_3af9b74c = {"root":"BaseCell_module_root__e11a03a1","sm":"BaseCell_module_sm__e11a03a1","md":"BaseCell_module_md__e11a03a1","lg":"BaseCell_module_lg__e11a03a1","auto":"BaseCell_module_auto__e11a03a1","border-radius-default":"BaseCell_module_borderRadiusDefault__e11a03a1","border-radius-round":"BaseCell_module_borderRadiusRound__e11a03a1","border-radius-ellipse":"BaseCell_module_borderRadiusEllipse__e11a03a1","border-radius-none":"BaseCell_module_borderRadiusNone__e11a03a1","flexible":"BaseCell_module_flexible__e11a03a1","centered":"BaseCell_module_centered__e11a03a1"};
|
|
5654
|
-
n(css$
|
|
5667
|
+
n(css$K,{});
|
|
5655
5668
|
|
|
5656
5669
|
/**
|
|
5657
5670
|
* BaseCell - A flexible container component for displaying up to three components in a structured layout
|
|
@@ -5750,65 +5763,103 @@ var IndeterminateIcon = function IndeterminateIcon() {
|
|
|
5750
5763
|
|
|
5751
5764
|
var Error$1 = function Error(props) {
|
|
5752
5765
|
var _props$className = props.className,
|
|
5753
|
-
className = _props$className === void 0 ? '' : _props$className
|
|
5754
|
-
|
|
5766
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
5767
|
+
_props$hexagon = props.hexagon,
|
|
5768
|
+
hexagon = _props$hexagon === void 0 ? false : _props$hexagon;
|
|
5769
|
+
if (hexagon) {
|
|
5770
|
+
return jsxRuntime.jsxs("svg", {
|
|
5771
|
+
width: '16',
|
|
5772
|
+
height: '16',
|
|
5773
|
+
viewBox: '0 0 16 16',
|
|
5774
|
+
fill: 'none',
|
|
5775
|
+
className: className,
|
|
5776
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5777
|
+
children: [jsxRuntime.jsx("g", {
|
|
5778
|
+
"clip-path": 'url(#clip0_1528_9520)',
|
|
5779
|
+
children: jsxRuntime.jsx("path", {
|
|
5780
|
+
d: 'M5.00006 0.0500326C4.90631 0.0750332 4.72193 0.143783 4.59381 0.206283C4.36881 0.315658 4.28131 0.396908 2.34068 2.34066C0.396935 4.28128 0.315685 4.36878 0.20631 4.59378C-0.00931499 5.04378 6e-05 4.90003 6e-05 8.00003C6e-05 11.1 -0.00931499 10.9563 0.20631 11.4063C0.315685 11.6313 0.396935 11.7188 2.34068 13.6594C4.28131 15.6032 4.36881 15.6844 4.59381 15.7938C5.04381 16.0094 4.90006 16 8.00006 16C11.1001 16 10.9563 16.0094 11.4063 15.7938C11.6313 15.6844 11.7188 15.6032 13.6594 13.6594C15.6032 11.7188 15.6844 11.6313 15.7938 11.4063C16.0094 10.9563 16.0001 11.1 16.0001 8.00003C16.0001 4.90003 16.0094 5.04378 15.7938 4.59378C15.6844 4.36878 15.6032 4.28128 13.6594 2.34066C11.7188 0.396908 11.6313 0.315658 11.4063 0.206283C10.9563 -0.00934219 11.1032 3.24249e-05 7.98443 0.00315762C5.63756 0.00315762 5.14381 0.0125332 5.00006 0.0500326ZM8.65631 6.32816V8.65628H8.00006H7.34381V6.32816V4.00003H8.00006H8.65631V6.32816ZM8.46256 10.1407C8.64693 10.2407 8.77818 10.375 8.88131 10.5719C8.94068 10.6813 8.95319 10.7532 8.95319 11C8.95319 11.3407 8.90006 11.475 8.68756 11.6875C8.47506 11.9 8.34068 11.9532 8.00006 11.9532C7.75318 11.9532 7.68131 11.9407 7.57193 11.8813C7.24068 11.7063 7.06256 11.4375 7.03756 11.0813C7.02193 10.8125 7.06256 10.6469 7.19693 10.4469C7.30006 10.2907 7.53131 10.1157 7.70006 10.0625C7.75318 10.0469 7.90943 10.0375 8.04694 10.0407C8.25318 10.05 8.32506 10.0657 8.46256 10.1407Z',
|
|
5781
|
+
fill: '#F04438'
|
|
5782
|
+
})
|
|
5783
|
+
}), jsxRuntime.jsx("defs", {
|
|
5784
|
+
children: jsxRuntime.jsx("clipPath", {
|
|
5785
|
+
id: 'clip0_1528_9520',
|
|
5786
|
+
children: jsxRuntime.jsx("rect", {
|
|
5787
|
+
width: '16',
|
|
5788
|
+
height: '16',
|
|
5789
|
+
fill: 'white'
|
|
5790
|
+
})
|
|
5791
|
+
})
|
|
5792
|
+
})]
|
|
5793
|
+
});
|
|
5794
|
+
}
|
|
5795
|
+
return jsxRuntime.jsx("svg", {
|
|
5755
5796
|
width: '16',
|
|
5756
5797
|
height: '16',
|
|
5757
5798
|
viewBox: '0 0 16 16',
|
|
5758
5799
|
fill: 'none',
|
|
5759
5800
|
className: className,
|
|
5760
5801
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
5761
|
-
children:
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
})
|
|
5768
|
-
children: jsxRuntime.jsx("clipPath", {
|
|
5769
|
-
id: 'clip0_107_570',
|
|
5770
|
-
children: jsxRuntime.jsx("rect", {
|
|
5771
|
-
width: '16',
|
|
5772
|
-
height: '16',
|
|
5773
|
-
fill: 'white'
|
|
5774
|
-
})
|
|
5775
|
-
})
|
|
5776
|
-
})]
|
|
5802
|
+
children: jsxRuntime.jsx("path", {
|
|
5803
|
+
d: 'M8 5.33334V8.00001M8 10.6667H8.00667M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8 14.6667C4.31811 14.6667 1.33334 11.6819 1.33334 8.00001C1.33334 4.31811 4.31811 1.33334 8 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z',
|
|
5804
|
+
stroke: '#BD3C45',
|
|
5805
|
+
strokeWidth: '1.33333',
|
|
5806
|
+
strokeLinecap: 'round',
|
|
5807
|
+
strokeLinejoin: 'round'
|
|
5808
|
+
})
|
|
5777
5809
|
});
|
|
5778
5810
|
};
|
|
5779
5811
|
|
|
5780
5812
|
var Warning = function Warning(props) {
|
|
5781
5813
|
var _props$className = props.className,
|
|
5782
|
-
className = _props$className === void 0 ? '' : _props$className
|
|
5783
|
-
|
|
5814
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
5815
|
+
_props$hexagon = props.hexagon,
|
|
5816
|
+
hexagon = _props$hexagon === void 0 ? false : _props$hexagon;
|
|
5817
|
+
if (hexagon) {
|
|
5818
|
+
return jsxRuntime.jsxs("svg", {
|
|
5819
|
+
width: '16',
|
|
5820
|
+
height: '16',
|
|
5821
|
+
viewBox: '0 0 16 16',
|
|
5822
|
+
fill: 'none',
|
|
5823
|
+
className: className,
|
|
5824
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
5825
|
+
children: [jsxRuntime.jsx("g", {
|
|
5826
|
+
"clip-path": 'url(#clip0_1528_9539)',
|
|
5827
|
+
children: jsxRuntime.jsx("path", {
|
|
5828
|
+
d: 'M5.00006 0.0500326C4.90631 0.0750332 4.72193 0.143783 4.59381 0.206283C4.36881 0.315658 4.28131 0.396908 2.34068 2.34066C0.396935 4.28128 0.315685 4.36878 0.20631 4.59378C-0.00931499 5.04378 6e-05 4.90003 6e-05 8.00003C6e-05 11.1 -0.00931499 10.9563 0.20631 11.4063C0.315685 11.6313 0.396935 11.7188 2.34068 13.6594C4.28131 15.6032 4.36881 15.6844 4.59381 15.7938C5.04381 16.0094 4.90006 16 8.00006 16C11.1001 16 10.9563 16.0094 11.4063 15.7938C11.6313 15.6844 11.7188 15.6032 13.6594 13.6594C15.6032 11.7188 15.6844 11.6313 15.7938 11.4063C16.0094 10.9563 16.0001 11.1 16.0001 8.00003C16.0001 4.90003 16.0094 5.04378 15.7938 4.59378C15.6844 4.36878 15.6032 4.28128 13.6594 2.34066C11.7188 0.396908 11.6313 0.315658 11.4063 0.206283C10.9563 -0.00934219 11.1032 3.24249e-05 7.98443 0.00315762C5.63756 0.00315762 5.14381 0.0125332 5.00006 0.0500326ZM8.65631 6.32816V8.65628H8.00006H7.34381V6.32816V4.00003H8.00006H8.65631V6.32816ZM8.46256 10.1407C8.64693 10.2407 8.77818 10.375 8.88131 10.5719C8.94068 10.6813 8.95319 10.7532 8.95319 11C8.95319 11.3407 8.90006 11.475 8.68756 11.6875C8.47506 11.9 8.34068 11.9532 8.00006 11.9532C7.75318 11.9532 7.68131 11.9407 7.57193 11.8813C7.24068 11.7063 7.06256 11.4375 7.03756 11.0813C7.02193 10.8125 7.06256 10.6469 7.19693 10.4469C7.30006 10.2907 7.53131 10.1157 7.70006 10.0625C7.75318 10.0469 7.90943 10.0375 8.04694 10.0407C8.25318 10.05 8.32506 10.0657 8.46256 10.1407Z',
|
|
5829
|
+
fill: '#F79009'
|
|
5830
|
+
})
|
|
5831
|
+
}), jsxRuntime.jsx("defs", {
|
|
5832
|
+
children: jsxRuntime.jsx("clipPath", {
|
|
5833
|
+
id: 'clip0_1528_9539',
|
|
5834
|
+
children: jsxRuntime.jsx("rect", {
|
|
5835
|
+
width: '16',
|
|
5836
|
+
height: '16',
|
|
5837
|
+
fill: 'white'
|
|
5838
|
+
})
|
|
5839
|
+
})
|
|
5840
|
+
})]
|
|
5841
|
+
});
|
|
5842
|
+
}
|
|
5843
|
+
return jsxRuntime.jsx("svg", {
|
|
5784
5844
|
width: '16',
|
|
5785
5845
|
height: '16',
|
|
5786
5846
|
viewBox: '0 0 16 16',
|
|
5787
5847
|
fill: 'none',
|
|
5788
5848
|
className: className,
|
|
5789
5849
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
5790
|
-
children:
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
})
|
|
5797
|
-
children: jsxRuntime.jsx("clipPath", {
|
|
5798
|
-
id: 'clip0_124_824',
|
|
5799
|
-
children: jsxRuntime.jsx("rect", {
|
|
5800
|
-
width: '16',
|
|
5801
|
-
height: '16',
|
|
5802
|
-
fill: 'white'
|
|
5803
|
-
})
|
|
5804
|
-
})
|
|
5805
|
-
})]
|
|
5850
|
+
children: jsxRuntime.jsx("path", {
|
|
5851
|
+
d: 'M8 5.33334V8.00001M8 10.6667H8.00667M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8 14.6667C4.31811 14.6667 1.33334 11.6819 1.33334 8.00001C1.33334 4.31811 4.31811 1.33334 8 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z',
|
|
5852
|
+
stroke: '#CBA006',
|
|
5853
|
+
strokeWidth: '1.33333',
|
|
5854
|
+
strokeLinecap: 'round',
|
|
5855
|
+
strokeLinejoin: 'round'
|
|
5856
|
+
})
|
|
5806
5857
|
});
|
|
5807
5858
|
};
|
|
5808
5859
|
|
|
5809
|
-
var css$D = ".CheckBox_module_wrapper__efee7a6c {\n display: inline-flex;\n flex-direction: column;\n gap: 8px;\n cursor: pointer;\n user-select: none;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c {\n cursor: not-allowed;\n}\n\n.CheckBox_module_checkboxWrap__efee7a6c {\n display: inline-flex;\n align-items: flex-start;\n gap: 8px;\n}\n\n.CheckBox_module_input__efee7a6c {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n margin: 0;\n pointer-events: none;\n}\n\n.CheckBox_module_box__efee7a6c {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-top: 2px;\n border-radius: 4px;\n border: 1px solid #d5d7da;\n background: #ffffff;\n transition: background 120ms cubic-bezier(0.2, 0, 0.38, 0.9), border-color 120ms cubic-bezier(0.2, 0, 0.38, 0.9), box-shadow 120ms cubic-bezier(0.2, 0, 0.38, 0.9);\n}\n.CheckBox_module_box__efee7a6c svg {\n width: 60%;\n height: 60%;\n color: #ffffff;\n}\n\n.CheckBox_module_sm__efee7a6c .CheckBox_module_box__efee7a6c {\n width: 14px;\n height: 14px;\n}\n\n.CheckBox_module_md__efee7a6c .CheckBox_module_box__efee7a6c {\n width: 16px;\n height: 16px;\n}\n\n.CheckBox_module_lg__efee7a6c .CheckBox_module_box__efee7a6c {\n width: 18px;\n height: 18px;\n}\n\n.CheckBox_module_xlg__efee7a6c .CheckBox_module_box__efee7a6c {\n width: 20px;\n height: 20px;\n}\n\n.CheckBox_module_sm__efee7a6c .CheckBox_module_label__efee7a6c,\n.CheckBox_module_md__efee7a6c .CheckBox_module_label__efee7a6c {\n font-size: 14px;\n line-height: 20px;\n}\n.CheckBox_module_sm__efee7a6c .CheckBox_module_subLabel__efee7a6c,\n.CheckBox_module_md__efee7a6c .CheckBox_module_subLabel__efee7a6c {\n font-size: 14px;\n line-height: 20px;\n}\n.CheckBox_module_sm__efee7a6c .CheckBox_module_message__efee7a6c,\n.CheckBox_module_md__efee7a6c .CheckBox_module_message__efee7a6c {\n font-size: 12px;\n line-height: 18px;\n}\n.CheckBox_module_sm__efee7a6c .CheckBox_module_message__efee7a6c svg,\n.CheckBox_module_md__efee7a6c .CheckBox_module_message__efee7a6c svg {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n\n.CheckBox_module_lg__efee7a6c .CheckBox_module_label__efee7a6c,\n.CheckBox_module_xlg__efee7a6c .CheckBox_module_label__efee7a6c {\n font-size: 16px;\n line-height: 24px;\n}\n.CheckBox_module_lg__efee7a6c .CheckBox_module_subLabel__efee7a6c,\n.CheckBox_module_xlg__efee7a6c .CheckBox_module_subLabel__efee7a6c {\n font-size: 16px;\n line-height: 24px;\n}\n.CheckBox_module_lg__efee7a6c .CheckBox_module_message__efee7a6c,\n.CheckBox_module_xlg__efee7a6c .CheckBox_module_message__efee7a6c {\n font-size: 14px;\n line-height: 20px;\n}\n.CheckBox_module_lg__efee7a6c .CheckBox_module_message__efee7a6c svg,\n.CheckBox_module_xlg__efee7a6c .CheckBox_module_message__efee7a6c svg {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n\n.CheckBox_module_labelWrap__efee7a6c {\n display: flex;\n flex-direction: column;\n}\n\n.CheckBox_module_label__efee7a6c {\n font-family: jakarta, sans-serif;\n font-weight: 500;\n color: #252b37;\n}\n\n.CheckBox_module_subLabel__efee7a6c {\n font-family: jakarta, sans-serif;\n font-weight: 400;\n color: #535862;\n}\n\n.CheckBox_module_message__efee7a6c {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n font-family: jakarta, sans-serif;\n font-weight: 500;\n}\n\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c):hover .CheckBox_module_box__efee7a6c {\n border-color: #1570ef;\n background: #ffffff;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:focus-visible ~ .CheckBox_module_box__efee7a6c {\n border-color: #d5d7da;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c {\n background: #1570ef;\n border-color: #1570ef;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c svg {\n color: #ffffff;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c):hover .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c {\n background: #175cd3;\n border-color: #175cd3;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:checked:focus-visible ~ .CheckBox_module_box__efee7a6c {\n background: #1570ef;\n border-color: #1570ef;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #1570ef;\n border-color: #1570ef;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c svg {\n color: #ffffff;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c):hover .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #175cd3;\n border-color: #175cd3;\n}\n.CheckBox_module_wrapper__efee7a6c:not(.CheckBox_module_disabled__efee7a6c):not(.CheckBox_module_readOnly__efee7a6c):not(.CheckBox_module_error__efee7a6c):not(.CheckBox_module_warning__efee7a6c) .CheckBox_module_input__efee7a6c:indeterminate:focus-visible ~ .CheckBox_module_box__efee7a6c {\n background: #1570ef;\n border-color: #1570ef;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\n\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_box__efee7a6c {\n background: #f5f5f5;\n border-color: #e9eaeb;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #f5f5f5;\n border-color: #e9eaeb;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c svg,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c svg {\n color: #a4a7ae;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_label__efee7a6c,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_disabled__efee7a6c .CheckBox_module_subLabel__efee7a6c {\n color: #a4a7ae;\n}\n\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_readOnly__efee7a6c {\n cursor: default;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_readOnly__efee7a6c .CheckBox_module_box__efee7a6c {\n background: #f5f5f5;\n border-color: #d5d7da;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_readOnly__efee7a6c .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_readOnly__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #f5f5f5;\n border-color: #d5d7da;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_readOnly__efee7a6c .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c svg,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_readOnly__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c svg {\n color: #414651;\n}\n\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_box__efee7a6c {\n border-color: #d92d20;\n background: #ffffff;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c:hover .CheckBox_module_box__efee7a6c {\n border-color: #d92d20;\n background: #fef3f2;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_input__efee7a6c:focus-visible ~ .CheckBox_module_box__efee7a6c {\n border-color: #d5d7da;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d92d20;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #d92d20;\n border-color: #d92d20;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c svg,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c svg {\n color: #ffffff;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c:hover .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c, .CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c:hover .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: rgb(181.443373494, 37.6265060241, 26.756626506);\n border-color: rgb(181.443373494, 37.6265060241, 26.756626506);\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_error__efee7a6c .CheckBox_module_message__efee7a6c {\n color: #d92d20;\n}\n\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c .CheckBox_module_box__efee7a6c {\n border-color: #d5d7da;\n background: #ffffff;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c:hover .CheckBox_module_box__efee7a6c {\n border-color: #1570ef;\n background: #eff8ff;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c .CheckBox_module_input__efee7a6c:focus-visible ~ .CheckBox_module_box__efee7a6c {\n border-color: #d5d7da;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #dc6803;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c input:checked ~ .CheckBox_module_box__efee7a6c,\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #1570ef;\n border-color: #1570ef;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c:hover .CheckBox_module_input__efee7a6c:checked ~ .CheckBox_module_box__efee7a6c, .CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c:hover .CheckBox_module_input__efee7a6c:indeterminate ~ .CheckBox_module_box__efee7a6c {\n background: #175cd3;\n border-color: #175cd3;\n}\n.CheckBox_module_wrapper__efee7a6c.CheckBox_module_warning__efee7a6c .CheckBox_module_message__efee7a6c {\n color: #dc6803;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .CheckBox_module_box__efee7a6c {\n transition: none !important;\n }\n}";
|
|
5810
|
-
var modules_9f91d0e8 = {"wrapper":"
|
|
5811
|
-
n(css$
|
|
5860
|
+
var css$J = ".CheckBox_module_wrapper__fbe47892 {\n display: inline-flex;\n flex-direction: column;\n gap: 8px;\n cursor: pointer;\n user-select: none;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 {\n cursor: not-allowed;\n}\n\n.CheckBox_module_checkboxWrap__fbe47892 {\n display: inline-flex;\n align-items: flex-start;\n gap: 8px;\n}\n\n.CheckBox_module_input__fbe47892 {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n margin: 0;\n pointer-events: none;\n}\n\n.CheckBox_module_box__fbe47892 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: 4px;\n border: 1px solid #d5d7da;\n background: #ffffff;\n transition: background 120ms cubic-bezier(0.2, 0, 0.38, 0.9), border-color 120ms cubic-bezier(0.2, 0, 0.38, 0.9), box-shadow 120ms cubic-bezier(0.2, 0, 0.38, 0.9);\n}\n.CheckBox_module_box__fbe47892 svg {\n width: 60%;\n height: 60%;\n color: #ffffff;\n}\n\n.CheckBox_module_sm__fbe47892 .CheckBox_module_box__fbe47892 {\n width: 14px;\n height: 14px;\n}\n\n.CheckBox_module_md__fbe47892 .CheckBox_module_box__fbe47892 {\n width: 16px;\n height: 16px;\n}\n\n.CheckBox_module_lg__fbe47892 .CheckBox_module_box__fbe47892 {\n width: 18px;\n height: 18px;\n}\n\n.CheckBox_module_xlg__fbe47892 .CheckBox_module_box__fbe47892 {\n width: 20px;\n height: 20px;\n}\n\n.CheckBox_module_sm__fbe47892 .CheckBox_module_label__fbe47892,\n.CheckBox_module_md__fbe47892 .CheckBox_module_label__fbe47892 {\n font-size: 14px;\n line-height: 20px;\n}\n.CheckBox_module_sm__fbe47892 .CheckBox_module_subLabel__fbe47892,\n.CheckBox_module_md__fbe47892 .CheckBox_module_subLabel__fbe47892 {\n font-size: 14px;\n line-height: 20px;\n}\n.CheckBox_module_sm__fbe47892 .CheckBox_module_message__fbe47892,\n.CheckBox_module_md__fbe47892 .CheckBox_module_message__fbe47892 {\n font-size: 12px;\n line-height: 18px;\n}\n.CheckBox_module_sm__fbe47892 .CheckBox_module_message__fbe47892 svg,\n.CheckBox_module_md__fbe47892 .CheckBox_module_message__fbe47892 svg {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n\n.CheckBox_module_lg__fbe47892 .CheckBox_module_label__fbe47892,\n.CheckBox_module_xlg__fbe47892 .CheckBox_module_label__fbe47892 {\n font-size: 16px;\n line-height: 24px;\n}\n.CheckBox_module_lg__fbe47892 .CheckBox_module_subLabel__fbe47892,\n.CheckBox_module_xlg__fbe47892 .CheckBox_module_subLabel__fbe47892 {\n font-size: 16px;\n line-height: 24px;\n}\n.CheckBox_module_lg__fbe47892 .CheckBox_module_message__fbe47892,\n.CheckBox_module_xlg__fbe47892 .CheckBox_module_message__fbe47892 {\n font-size: 14px;\n line-height: 20px;\n}\n.CheckBox_module_lg__fbe47892 .CheckBox_module_message__fbe47892 svg,\n.CheckBox_module_xlg__fbe47892 .CheckBox_module_message__fbe47892 svg {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n\n.CheckBox_module_labelWrap__fbe47892 {\n display: flex;\n flex-direction: column;\n}\n\n.CheckBox_module_label__fbe47892 {\n font-family: jakarta, sans-serif;\n font-weight: 500;\n color: #252b37;\n}\n\n.CheckBox_module_subLabel__fbe47892 {\n font-family: jakarta, sans-serif;\n font-weight: 400;\n color: #535862;\n}\n\n.CheckBox_module_message__fbe47892 {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n font-family: jakarta, sans-serif;\n font-weight: 500;\n}\n\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892):hover .CheckBox_module_box__fbe47892 {\n border-color: #1570ef;\n background: #ffffff;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:focus-visible ~ .CheckBox_module_box__fbe47892 {\n border-color: #d5d7da;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892 {\n background: #1570ef;\n border-color: #1570ef;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892 svg {\n color: #ffffff;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892):hover .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892 {\n background: #175cd3;\n border-color: #175cd3;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:checked:focus-visible ~ .CheckBox_module_box__fbe47892 {\n background: #1570ef;\n border-color: #1570ef;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #1570ef;\n border-color: #1570ef;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 svg {\n color: #ffffff;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892):hover .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #175cd3;\n border-color: #175cd3;\n}\n.CheckBox_module_wrapper__fbe47892:not(.CheckBox_module_disabled__fbe47892):not(.CheckBox_module_readOnly__fbe47892):not(.CheckBox_module_error__fbe47892):not(.CheckBox_module_warning__fbe47892) .CheckBox_module_input__fbe47892:indeterminate:focus-visible ~ .CheckBox_module_box__fbe47892 {\n background: #1570ef;\n border-color: #1570ef;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\n\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_box__fbe47892 {\n background: #f5f5f5;\n border-color: #e9eaeb;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #f5f5f5;\n border-color: #e9eaeb;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892 svg,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 svg {\n color: #a4a7ae;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_label__fbe47892,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_disabled__fbe47892 .CheckBox_module_subLabel__fbe47892 {\n color: #a4a7ae;\n}\n\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_readOnly__fbe47892 {\n cursor: default;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_readOnly__fbe47892 .CheckBox_module_box__fbe47892 {\n background: #f5f5f5;\n border-color: #d5d7da;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_readOnly__fbe47892 .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_readOnly__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #f5f5f5;\n border-color: #d5d7da;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_readOnly__fbe47892 .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892 svg,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_readOnly__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 svg {\n color: #414651;\n}\n\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_box__fbe47892 {\n border-color: #d92d20;\n background: #ffffff;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892:hover .CheckBox_module_box__fbe47892 {\n border-color: #d92d20;\n background: #fef3f2;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_input__fbe47892:focus-visible ~ .CheckBox_module_box__fbe47892 {\n border-color: #d5d7da;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #d92d20;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #d92d20;\n border-color: #d92d20;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892 svg,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 svg {\n color: #ffffff;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892:hover .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892, .CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892:hover .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: rgb(181.443373494, 37.6265060241, 26.756626506);\n border-color: rgb(181.443373494, 37.6265060241, 26.756626506);\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_error__fbe47892 .CheckBox_module_message__fbe47892 {\n color: #d92d20;\n}\n\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892 .CheckBox_module_box__fbe47892 {\n border-color: #d5d7da;\n background: #ffffff;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892:hover .CheckBox_module_box__fbe47892 {\n border-color: #1570ef;\n background: #eff8ff;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892 .CheckBox_module_input__fbe47892:focus-visible ~ .CheckBox_module_box__fbe47892 {\n border-color: #d5d7da;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #dc6803;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892 input:checked ~ .CheckBox_module_box__fbe47892,\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892 .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #1570ef;\n border-color: #1570ef;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892:hover .CheckBox_module_input__fbe47892:checked ~ .CheckBox_module_box__fbe47892, .CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892:hover .CheckBox_module_input__fbe47892:indeterminate ~ .CheckBox_module_box__fbe47892 {\n background: #175cd3;\n border-color: #175cd3;\n}\n.CheckBox_module_wrapper__fbe47892.CheckBox_module_warning__fbe47892 .CheckBox_module_message__fbe47892 {\n color: #dc6803;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .CheckBox_module_box__fbe47892 {\n transition: none !important;\n }\n}";
|
|
5861
|
+
var modules_9f91d0e8 = {"wrapper":"CheckBox_module_wrapper__fbe47892","disabled":"CheckBox_module_disabled__fbe47892","checkboxWrap":"CheckBox_module_checkboxWrap__fbe47892","input":"CheckBox_module_input__fbe47892","box":"CheckBox_module_box__fbe47892","sm":"CheckBox_module_sm__fbe47892","md":"CheckBox_module_md__fbe47892","lg":"CheckBox_module_lg__fbe47892","xlg":"CheckBox_module_xlg__fbe47892","label":"CheckBox_module_label__fbe47892","subLabel":"CheckBox_module_subLabel__fbe47892","message":"CheckBox_module_message__fbe47892","labelWrap":"CheckBox_module_labelWrap__fbe47892","readOnly":"CheckBox_module_readOnly__fbe47892","error":"CheckBox_module_error__fbe47892","warning":"CheckBox_module_warning__fbe47892"};
|
|
5862
|
+
n(css$J,{});
|
|
5812
5863
|
|
|
5813
5864
|
var Checkbox$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5814
5865
|
var _props$className = props.className,
|
|
@@ -5900,9 +5951,9 @@ var Checkbox$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5900
5951
|
});
|
|
5901
5952
|
Checkbox$1.displayName = 'Checkbox';
|
|
5902
5953
|
|
|
5903
|
-
var css$
|
|
5954
|
+
var css$I = ":root {\n --white: #ffffff;\n --black: #141920;\n --dark-grey: #333333;\n --dark-grey-o-85: rgba(51, 51, 51, 0.85);\n --grey: #737373;\n --grey1: #888888;\n --grey2: #a6a6a6;\n --grey3: #bbbbbb;\n --grey4: #c4c4c4;\n --grey5: #dddddd;\n --grey6: #e8e8e8;\n --grey7: #eeeeee;\n --grey8: #f2f2f2;\n --grey9: #eff0f0;\n --grey10: #f7f7f7;\n --skeleton: #e0e1e9;\n --highlight: #0f62fe;\n --dark-blue: #001833;\n --background: #d0e2ff;\n --menu-black: #191b1f;\n --banyan-blue: #00037c;\n --banyan-orange: #ff892a;\n --banyan-pink: #ff1597;\n --banyan-gradient: linear-gradient(\n \t84.71deg,\n \tvar(--banyan-pink) 0.48%,\n \tvar(--banyan-orange) 99.57%\n );\n --error: #ff626a;\n --error-bg: #fff1f1;\n --error-outline: rgba(218, 30, 40, 0.08);\n --success: #24a148;\n --success-bg: #defbe6;\n --success-outline: rgba(36, 161, 72, 0.08);\n --warning: #f1c21b;\n --warning-bg: #fff8e1;\n --warning-outline: rgba(203, 160, 6, 0.08);\n --info: #0043ce;\n --info-bg: #edf5ff;\n --info-outline: #2864db98;\n}\n:root[data-theme=light] {\n --primary-color1: #bd3c45;\n --primary-color2: #487349;\n --primary-color3: #cba006;\n --primary-color4: #0043ce;\n --secondary-color1: #0a15f9;\n --secondary-color2: #0f62fe;\n --secondary-color3: #0fa9ff;\n --secondary-color4: #a91aa3;\n --secondary-color5: #ef87f8;\n --secondary-color6: #fcab0f;\n --secondary-color7: #dce01d;\n --background-color1: #ffebec;\n --background-color2: #edffed;\n --background-color3: #fff6d4;\n --background-color4: #e6edff;\n --background-color5: #cfdfff;\n --mono-color1: #71839b;\n --mono-color2: #b7cadb;\n --mono-color3: #d8dfe5;\n --light-color1: #efeff0;\n --light-color2: #f7f7f8;\n --light-color3: #ffffff;\n --text-color: #141920;\n --side-bar-icon1: #97979f;\n --side-bar-icon2: #d5d5db;\n}\n:root[data-theme=dark] {\n --primary-color1: #b33030;\n --primary-color2: #4e9f3d;\n --primary-color3: #ebb700;\n --primary-color4: #0053ff;\n --secondary-color1: #2e37ff;\n --secondary-color2: #2d76ff;\n --secondary-color3: #39b8ff;\n --secondary-color4: #dc00d3;\n --secondary-color5: #f8a4ff;\n --secondary-color6: #ffbf45;\n --secondary-color7: #fbff42;\n --background-color1: #e5d3d4;\n --background-color2: #d6e5d6;\n --background-color3: #e5ddbe;\n --background-color4: #cfd6e5;\n --background-color5: #bac9e5;\n --mono-color1: #4c5869;\n --mono-color2: #8d9ba8;\n --mono-color3: #a8adb2;\n --light-color1: #1b1b1c;\n --light-color2: #151517;\n --light-color3: #141920;\n --text-color: #fafafa;\n --side-bar-icon1: #96969e;\n --side-bar-icon2: #bcbcc2;\n}";
|
|
5904
5955
|
var modules_1722b0e5 = {"white":"--white","black":"--black","menu-black":"--menu-black","dark-grey":"--dark-grey","dark-grey-o-85":"--dark-grey-o-85","grey":"--grey","grey1":"--grey1","grey2":"--grey2","grey3":"--grey3","grey4":"--grey4","grey5":"--grey5","grey6":"--grey6","grey7":"--grey7","grey8":"--grey8","grey9":"--grey9","grey10":"--grey10","highlight":"--highlight","dark-blue":"--dark-blue","background":"--background","banyan-blue":"--banyan-blue","banyan-orange":"--banyan-orange","banyan-pink":"--banyan-pink","banyan-gradient":"--banyan-gradient","error":"--error","error-bg":"--error-bg","error-outline":"--error-outline","success":"--success","success-bg":"--success-bg","success-outline":"--success-outline","warning":"--warning","warning-bg":"--warning-bg","warning-outline":"--warning-outline","info":"--info","info-bg":"--info-bg","info-outline":"--info-outline","theme-light-primary-color1":"#bd3c45","theme-light-primary-color2":"#487349","theme-light-primary-color3":"#cba006","theme-light-primary-color4":"#0043ce","theme-light-secondary-color1":"#0a15f9","theme-light-secondary-color2":"#0f62fe","theme-light-secondary-color3":"#0fa9ff","theme-light-secondary-color4":"#a91aa3","theme-light-secondary-color5":"#ef87f8","theme-light-secondary-color6":"#fcab0f","theme-light-secondary-color7":"#dce01d","theme-light-background-color1":"#ffebec","theme-light-background-color2":"#edffed","theme-light-background-color3":"#fff6d4","theme-light-background-color4":"#e6edff","theme-light-background-color5":"#cfdfff","theme-light-mono-color1":"#71839b","theme-light-mono-color2":"#b7cadb","theme-light-mono-color3":"#d8dfe5","theme-light-light-color1":"#efeff0","theme-light-light-color2":"#f7f7f8","theme-light-light-color3":"#ffffff","theme-light-side-bar-icon1":"#97979f","theme-light-side-bar-icon2":"#d5d5db","theme-light-text-color":"#141920","theme-dark-primary-color1":"#b33030","theme-dark-primary-color2":"#4e9f3d","theme-dark-primary-color3":"#ebb700","theme-dark-primary-color4":"#0053ff","theme-dark-secondary-color1":"#2e37ff","theme-dark-secondary-color2":"#2d76ff","theme-dark-secondary-color3":"#39b8ff","theme-dark-secondary-color4":"#dc00d3","theme-dark-secondary-color5":"#f8a4ff","theme-dark-secondary-color6":"#ffbf45","theme-dark-secondary-color7":"#fbff42","theme-dark-background-color1":"#e5d3d4","theme-dark-background-color2":"#d6e5d6","theme-dark-background-color3":"#e5ddbe","theme-dark-background-color4":"#cfd6e5","theme-dark-background-color5":"#bac9e5","theme-dark-mono-color1":"#4c5869","theme-dark-mono-color2":"#8d9ba8","theme-dark-mono-color3":"#a8adb2","theme-dark-light-color1":"#000000","theme-dark-light-color2":"#151517","theme-dark-light-color3":"#1b1b1c","theme-dark-side-bar-icon1":"#96969e","theme-dark-side-bar-icon2":"#bcbcc2","theme-dark-text-color":"#fafafa"};
|
|
5905
|
-
n(css$
|
|
5956
|
+
n(css$I,{});
|
|
5906
5957
|
|
|
5907
5958
|
var COLORS = Object.keys(modules_1722b0e5).reduce(function (acc, curr) {
|
|
5908
5959
|
if (curr.includes('theme')) {
|
|
@@ -5914,9 +5965,9 @@ var COLORS = Object.keys(modules_1722b0e5).reduce(function (acc, curr) {
|
|
|
5914
5965
|
return acc;
|
|
5915
5966
|
}, {});
|
|
5916
5967
|
|
|
5917
|
-
var css$
|
|
5968
|
+
var css$H = "button.BaseButton_module_root__b27f9450[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell]:focus {\n outline: 1px solid var(--primary-color4);\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell] {\n display: inline-flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n border: none;\n background: none;\n padding: 0.5rem 0.75rem;\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell]:active {\n outline: none;\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell]:disabled {\n cursor: not-allowed;\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell].BaseButton_module_contained__b27f9450 {\n background: var(--text-color);\n color: var(--light-color3);\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell].BaseButton_module_outlined__b27f9450 {\n color: var(--text-color);\n border: 1px solid var(--text-color);\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell].BaseButton_module_text__b27f9450 {\n color: var(--text-color);\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell] [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell] [data-elem=component2] {\n min-width: 0;\n}\nbutton.BaseButton_module_root__b27f9450[data-elem=base-cell] [data-elem=title] {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}";
|
|
5918
5969
|
var modules_ab72627b = {"root":"BaseButton_module_root__b27f9450","contained":"BaseButton_module_contained__b27f9450","outlined":"BaseButton_module_outlined__b27f9450","text":"BaseButton_module_text__b27f9450"};
|
|
5919
|
-
n(css$
|
|
5970
|
+
n(css$H,{});
|
|
5920
5971
|
|
|
5921
5972
|
var BaseButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5922
5973
|
var _props$className = props.className,
|
|
@@ -5969,9 +6020,9 @@ var BaseButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5969
6020
|
});
|
|
5970
6021
|
});
|
|
5971
6022
|
|
|
5972
|
-
var css$
|
|
6023
|
+
var css$G = ".Button_module_root__cb319292[data-elem=base-cell] {\n cursor: pointer;\n}\n.Button_module_root__cb319292[data-elem=base-cell] [data-elem=component2] [data-elem=title] {\n font-weight: 500;\n font-size: 0.875rem;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_primary__cb319292.Button_module_contained__cb319292 {\n background-color: var(--secondary-color2);\n color: var(--white);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_primary__cb319292.Button_module_contained__cb319292:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_primary__cb319292.Button_module_text__cb319292 {\n color: var(--secondary-color2);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_primary__cb319292.Button_module_outlined__cb319292 {\n background-color: transparent;\n border-color: var(--secondary-color2);\n color: var(--secondary-color2);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_primary__cb319292.Button_module_outlined__cb319292:hover {\n background-color: var(--secondary-color2);\n color: var(--white);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_primary__cb319292.Button_module_outlined__cb319292:hover:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_success__cb319292.Button_module_contained__cb319292 {\n background-color: var(--primary-color2);\n color: var(--white);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_success__cb319292.Button_module_contained__cb319292:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_success__cb319292.Button_module_outlined__cb319292 {\n background-color: transparent;\n border-color: var(--primary-color2);\n color: var(--primary-color2);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_success__cb319292.Button_module_outlined__cb319292:hover {\n background-color: var(--primary-color2);\n color: var(--white);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_success__cb319292.Button_module_outlined__cb319292:hover:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_success__cb319292.Button_module_text__cb319292 {\n color: var(--primary-color2);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_danger__cb319292.Button_module_contained__cb319292 {\n background-color: var(--primary-color1);\n color: var(--light-color3);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_danger__cb319292.Button_module_contained__cb319292:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_danger__cb319292.Button_module_outlined__cb319292 {\n background-color: transparent;\n border-color: var(--primary-color1);\n color: var(--primary-color1);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_danger__cb319292.Button_module_outlined__cb319292:hover {\n background-color: var(--primary-color1);\n color: var(--white);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_danger__cb319292.Button_module_outlined__cb319292:hover:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_danger__cb319292.Button_module_text__cb319292 {\n color: var(--primary-color1);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_warning__cb319292.Button_module_contained__cb319292 {\n background-color: var(--primary-color3);\n color: var(--light-color3);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_warning__cb319292.Button_module_contained__cb319292:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_warning__cb319292.Button_module_outlined__cb319292 {\n background-color: transparent;\n border-color: var(--primary-color3);\n color: var(--primary-color3);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_warning__cb319292.Button_module_outlined__cb319292:hover {\n background-color: var(--primary-color3);\n color: var(--white);\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_warning__cb319292.Button_module_outlined__cb319292:hover:hover {\n opacity: 0.85;\n}\n.Button_module_root__cb319292[data-elem=base-cell].Button_module_warning__cb319292.Button_module_text__cb319292 {\n color: var(--primary-color3);\n}\n.Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_primary__cb319292.Button_module_contained__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_success__cb319292.Button_module_contained__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_danger__cb319292.Button_module_contained__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_warning__cb319292.Button_module_contained__cb319292 {\n background-color: var(--mono-color3);\n color: var(--mono-color1);\n}\n.Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_primary__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_success__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_danger__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_warning__cb319292.Button_module_outlined__cb319292 {\n background-color: transparent;\n border-color: var(--grey);\n}\n.Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_primary__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_primary__cb319292.Button_module_text__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_success__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_success__cb319292.Button_module_text__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_danger__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_danger__cb319292.Button_module_text__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_warning__cb319292.Button_module_outlined__cb319292, .Button_module_root__cb319292[data-elem=base-cell]:disabled.Button_module_warning__cb319292.Button_module_text__cb319292 {\n color: var(--grey);\n}";
|
|
5973
6024
|
var modules_b0070f27 = {"root":"Button_module_root__cb319292","primary":"Button_module_primary__cb319292","contained":"Button_module_contained__cb319292","text":"Button_module_text__cb319292","outlined":"Button_module_outlined__cb319292","success":"Button_module_success__cb319292","danger":"Button_module_danger__cb319292","warning":"Button_module_warning__cb319292"};
|
|
5974
|
-
n(css$
|
|
6025
|
+
n(css$G,{});
|
|
5975
6026
|
|
|
5976
6027
|
var Button = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5977
6028
|
var _props$className = props.className,
|
|
@@ -6015,12 +6066,12 @@ var Button = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6015
6066
|
});
|
|
6016
6067
|
});
|
|
6017
6068
|
|
|
6018
|
-
var css$
|
|
6019
|
-
n(css$
|
|
6069
|
+
var css$F = ".Chip_module_root__9718bcd4[data-elem=base-cell] {\n position: relative;\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell] [data-elem=component2] [data-elem=title] {\n font-weight: 500;\n font-size: 0.875rem;\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_sm__9718bcd4 {\n height: 2rem;\n padding: 0.188rem 0.5rem;\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_md__9718bcd4 {\n height: 2.25rem;\n padding: 0.563rem 1rem;\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_status__9718bcd4.Chip_module_success__9718bcd4 {\n background-color: var(--success-bg);\n color: var(--success);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_status__9718bcd4.Chip_module_info__9718bcd4 {\n background-color: var(--info-bg);\n color: var(--primary-color4);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_status__9718bcd4.Chip_module_danger__9718bcd4 {\n background-color: var(--error-bg);\n color: var(--primary-color1);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_status__9718bcd4.Chip_module_warning__9718bcd4 {\n background-color: var(--warning-bg);\n color: var(--warning);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_status__9718bcd4.Chip_module_default__9718bcd4 {\n background-color: var(--grey5);\n color: var(--grey);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_status__9718bcd4:hover {\n box-shadow: 0px 8px 20px rgba(24, 24, 24, 0.08);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4 {\n border-width: 1px;\n border-style: solid;\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_success__9718bcd4 {\n background-color: var(--success-bg);\n color: var(--success);\n border-color: var(--success-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_success__9718bcd4:hover {\n background-color: var(--success-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_info__9718bcd4 {\n background-color: var(--info-bg);\n color: var(--primary-color4);\n border-color: var(--info-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_info__9718bcd4:hover {\n background-color: var(--info-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_danger__9718bcd4 {\n background-color: var(--error-bg);\n color: var(--primary-color1);\n border-color: var(--error-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_danger__9718bcd4:hover {\n background-color: var(--error-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_warning__9718bcd4 {\n background-color: var(--warning-bg);\n color: var(--warning);\n border-color: var(--warning-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_warning__9718bcd4:hover {\n background-color: var(--warning-outline);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_default__9718bcd4 {\n background-color: var(--grey8);\n color: var(--grey);\n border-color: var(--grey6);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell].Chip_module_input__9718bcd4.Chip_module_default__9718bcd4:hover {\n background-color: var(--grey6);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_status__9718bcd4, .Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_input__9718bcd4 {\n filter: grayscale(1);\n border-color: var(--grey4);\n background-color: var(--grey5);\n color: var(--grey2);\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_status__9718bcd4 [data-elem=component1],\n.Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_status__9718bcd4 [data-elem=component3], .Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_input__9718bcd4 [data-elem=component1],\n.Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_input__9718bcd4 [data-elem=component3] {\n opacity: 0.5;\n}\n.Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_status__9718bcd4:hover, .Chip_module_root__9718bcd4[data-elem=base-cell]:disabled.Chip_module_input__9718bcd4:hover {\n box-shadow: none;\n background-color: var(--grey5);\n}";
|
|
6070
|
+
n(css$F,{});
|
|
6020
6071
|
|
|
6021
|
-
var css$
|
|
6072
|
+
var css$E = ".Toggle_module_root__7230d352 {\n width: -moz-fit-content;\n width: fit-content;\n border: 0px !important;\n font-weight: 500;\n padding: 0.3125rem;\n background: transparent !important;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n gap: 0.3375rem;\n height: 100%;\n background: var(--light-color2);\n border-radius: 0.25rem;\n padding: 0.2188rem 0.1875rem;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352 {\n position: relative;\n z-index: 2;\n background: transparent;\n min-width: 5rem;\n width: auto;\n height: auto;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--black);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352 {\n opacity: 1;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--mono-color1);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_secondary__7230d352:hover {\n opacity: 1;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_secondary__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--secondary-color2);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_active__7230d352 {\n opacity: 1;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_active__7230d352.Toggle_module_highlight__7230d352 {\n background-color: var(--mono-color1);\n border-radius: 0.25rem;\n box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_active__7230d352.Toggle_module_highlight__7230d352.Toggle_module_secondary__7230d352 {\n opacity: 1;\n border-radius: 0.25rem;\n background-color: var(--light-color3);\n box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_active__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--white);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_active__7230d352.Toggle_module_secondary__7230d352 {\n opacity: 1;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_active__7230d352.Toggle_module_secondary__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--secondary-color2);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_disabled__7230d352 {\n cursor: not-allowed;\n opacity: 0.5;\n background-color: transparent;\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_disabled__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--side-bar-icon2);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_allSelect__7230d352 {\n background-color: var(--mono-color1);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_allSelect__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--white);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_allSelect__7230d352.Toggle_module_secondary__7230d352 {\n background-color: var(--light-color1);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 > button[data-elem=base-cell].Toggle_module_toggleButton__7230d352.Toggle_module_allSelect__7230d352.Toggle_module_secondary__7230d352 > [data-elem=component2] > [data-elem=title] {\n color: var(--secondary-color2);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 .Toggle_module_slider__7230d352 {\n position: absolute;\n bottom: 0.1875rem;\n left: 0;\n height: 85%;\n font-weight: 500;\n background: var(--mono-color1);\n border-radius: 0.25rem;\n box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 .Toggle_module_slider__7230d352.Toggle_module_secondary__7230d352 {\n border-radius: 0.25rem;\n background-color: var(--light-color3);\n box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.251);\n}\n.Toggle_module_root__7230d352 .Toggle_module_toggle__7230d352 .Toggle_module_slider__7230d352.Toggle_module_smooth__7230d352 {\n transition: left 0.2s ease-in-out, width 0.2s ease-in-out;\n}\n.Toggle_module_root__7230d352 {\n background: var(--mono-color3);\n border: 1px solid var(--mono-color2);\n}";
|
|
6022
6073
|
var modules_a2cdc77c$1 = {"root":"Toggle_module_root__7230d352","toggle":"Toggle_module_toggle__7230d352","toggle-button":"Toggle_module_toggleButton__7230d352","secondary":"Toggle_module_secondary__7230d352","active":"Toggle_module_active__7230d352","highlight":"Toggle_module_highlight__7230d352","disabled":"Toggle_module_disabled__7230d352","all-select":"Toggle_module_allSelect__7230d352","slider":"Toggle_module_slider__7230d352","smooth":"Toggle_module_smooth__7230d352"};
|
|
6023
|
-
n(css$
|
|
6074
|
+
n(css$E,{});
|
|
6024
6075
|
|
|
6025
6076
|
var Toggle$1 = function Toggle(_ref) {
|
|
6026
6077
|
var _ref$options = _ref.options,
|
|
@@ -6207,27 +6258,2394 @@ var ArrowIcon = function ArrowIcon(props) {
|
|
|
6207
6258
|
});
|
|
6208
6259
|
};
|
|
6209
6260
|
|
|
6210
|
-
var
|
|
6261
|
+
var ChevronDownIcon = function ChevronDownIcon(props) {
|
|
6211
6262
|
var _props$className = props.className,
|
|
6212
6263
|
className = _props$className === void 0 ? '' : _props$className;
|
|
6213
6264
|
return jsxRuntime.jsx("svg", {
|
|
6214
|
-
width: '4',
|
|
6215
|
-
height: '3',
|
|
6216
|
-
viewBox: '0 0 4 3',
|
|
6217
|
-
fill: 'none',
|
|
6218
6265
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
6266
|
+
width: '16',
|
|
6267
|
+
height: '16',
|
|
6268
|
+
viewBox: '0 0 16 16',
|
|
6269
|
+
className: className,
|
|
6270
|
+
fill: 'currentColor',
|
|
6219
6271
|
children: jsxRuntime.jsx("path", {
|
|
6220
|
-
d: '
|
|
6221
|
-
stroke: '
|
|
6222
|
-
strokeWidth: '
|
|
6223
|
-
|
|
6224
|
-
|
|
6272
|
+
d: 'M12 6L8 10L4 6',
|
|
6273
|
+
stroke: 'currentColor',
|
|
6274
|
+
strokeWidth: '1.5',
|
|
6275
|
+
strokeLinecap: 'round',
|
|
6276
|
+
strokeLinejoin: 'round',
|
|
6277
|
+
fill: 'none'
|
|
6278
|
+
})
|
|
6279
|
+
});
|
|
6280
|
+
};
|
|
6281
|
+
|
|
6282
|
+
var Help = function Help(_ref) {
|
|
6283
|
+
var className = _ref.className,
|
|
6284
|
+
_ref$width = _ref.width,
|
|
6285
|
+
width = _ref$width === void 0 ? 14 : _ref$width,
|
|
6286
|
+
_ref$height = _ref.height,
|
|
6287
|
+
height = _ref$height === void 0 ? 14 : _ref$height;
|
|
6288
|
+
return jsxRuntime.jsxs("svg", {
|
|
6289
|
+
width: width,
|
|
6290
|
+
height: height,
|
|
6291
|
+
viewBox: '0 0 14 14',
|
|
6292
|
+
fill: 'none',
|
|
6293
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6294
|
+
className: className,
|
|
6295
|
+
children: [jsxRuntime.jsx("circle", {
|
|
6296
|
+
cx: '6.66667',
|
|
6297
|
+
cy: '6.66667',
|
|
6298
|
+
r: '6.16667',
|
|
6299
|
+
stroke: '#A4A7AE'
|
|
6300
|
+
}), jsxRuntime.jsx("path", {
|
|
6301
|
+
d: 'M6.04784 8.32665V8.16798C6.04784 7.8942 6.09139 7.65154 6.1785 7.43998C6.27184 7.22842 6.38695 7.03865 6.52384 6.87065C6.66695 6.69642 6.81317 6.53776 6.9625 6.39465C7.17406 6.19554 7.36073 6.00265 7.5225 5.81598C7.6905 5.62931 7.7745 5.41154 7.7745 5.16265C7.7745 5.00709 7.73717 4.86709 7.6625 4.74265C7.58784 4.61198 7.47584 4.50931 7.3265 4.43465C7.18339 4.35376 7.00606 4.31331 6.7945 4.31331C6.50206 4.31331 6.25006 4.40354 6.0385 4.58398C5.83317 4.7582 5.7025 4.99465 5.6465 5.29331L4.6665 5.05998C4.7225 4.71776 4.84695 4.41909 5.03984 4.16398C5.23895 3.90265 5.48784 3.70042 5.7865 3.55731C6.09139 3.40798 6.43362 3.33331 6.81317 3.33331C7.2425 3.33331 7.60962 3.42042 7.9145 3.59465C8.22562 3.76265 8.46206 3.98354 8.62384 4.25731C8.78561 4.53109 8.8665 4.82665 8.8665 5.14398C8.8665 5.39909 8.81362 5.62931 8.70784 5.83465C8.60828 6.03376 8.47762 6.21731 8.31584 6.38531C8.16028 6.55331 7.9985 6.7182 7.8305 6.87998C7.63139 7.07287 7.45406 7.27509 7.2985 7.48665C7.14917 7.69198 7.0745 7.93465 7.0745 8.21465V8.32665H6.04784ZM6.04784 10.3986V9.18531H7.12117V10.3986H6.04784Z',
|
|
6302
|
+
fill: '#A4A7AE'
|
|
6303
|
+
})]
|
|
6304
|
+
});
|
|
6305
|
+
};
|
|
6306
|
+
|
|
6307
|
+
var Search = function Search(_ref) {
|
|
6308
|
+
var _ref$className = _ref.className,
|
|
6309
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
6310
|
+
_ref$color = _ref.color,
|
|
6311
|
+
color = _ref$color === void 0 ? '#A4A7AE' : _ref$color;
|
|
6312
|
+
return jsxRuntime.jsxs("svg", {
|
|
6313
|
+
className: className,
|
|
6314
|
+
width: '20',
|
|
6315
|
+
height: '20',
|
|
6316
|
+
viewBox: '0 0 20 20',
|
|
6317
|
+
fill: 'none',
|
|
6318
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6319
|
+
children: [jsxRuntime.jsx("circle", {
|
|
6320
|
+
cx: '9.45759',
|
|
6321
|
+
cy: '9.62556',
|
|
6322
|
+
r: '6.95759',
|
|
6323
|
+
stroke: color,
|
|
6324
|
+
"stroke-width": '1.67'
|
|
6325
|
+
}), jsxRuntime.jsx("path", {
|
|
6326
|
+
d: 'M14.5049 14.3367L17.5001 17.3319',
|
|
6327
|
+
stroke: color,
|
|
6328
|
+
"stroke-width": '1.6',
|
|
6329
|
+
"stroke-linecap": 'round',
|
|
6330
|
+
"stroke-linejoin": 'round'
|
|
6331
|
+
})]
|
|
6332
|
+
});
|
|
6333
|
+
};
|
|
6334
|
+
|
|
6335
|
+
var TickIcon = function TickIcon(props) {
|
|
6336
|
+
var _props$className = props.className,
|
|
6337
|
+
className = _props$className === void 0 ? '' : _props$className;
|
|
6338
|
+
return jsxRuntime.jsx("svg", {
|
|
6339
|
+
width: '4',
|
|
6340
|
+
height: '3',
|
|
6341
|
+
viewBox: '0 0 4 3',
|
|
6342
|
+
fill: 'none',
|
|
6343
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6344
|
+
children: jsxRuntime.jsx("path", {
|
|
6345
|
+
d: 'M0.176777 1.21846L1.42678 2.46846L3.71844 0.176788',
|
|
6346
|
+
stroke: '#24A148',
|
|
6347
|
+
strokeWidth: '0.5',
|
|
6348
|
+
className: className
|
|
6349
|
+
})
|
|
6350
|
+
});
|
|
6351
|
+
};
|
|
6352
|
+
|
|
6353
|
+
var css$D = ".Popover_module_root__fa26af22 {\n padding: 0.5rem;\n border-radius: 0.25rem;\n border: 1px solid var(--grey);\n z-index: 10;\n}\n.Popover_module_root__fa26af22.Popover_module_darkTheme__fa26af22 {\n box-shadow: 0px dark 20px rgba(24, 24, 24, 0.08);\n background-color: var(--dark-grey);\n color: var(--white);\n border-color: var(--grey);\n}\n.Popover_module_root__fa26af22.Popover_module_lightTheme__fa26af22 {\n box-shadow: 0px light 20px rgba(24, 24, 24, 0.08);\n background-color: var(--white);\n color: var(--dark-grey);\n border-color: var(--grey4);\n}";
|
|
6354
|
+
var modules_dfc4608f = {"root":"Popover_module_root__fa26af22","dark-theme":"Popover_module_darkTheme__fa26af22","light-theme":"Popover_module_lightTheme__fa26af22"};
|
|
6355
|
+
n(css$D,{});
|
|
6356
|
+
|
|
6357
|
+
var resolveOffset = function resolveOffset(user) {
|
|
6358
|
+
if (user == null) return {
|
|
6359
|
+
mainAxis: 5
|
|
6360
|
+
};
|
|
6361
|
+
if (typeof user === 'number' || typeof user === 'function') return user;
|
|
6362
|
+
return _objectSpread2({
|
|
6363
|
+
mainAxis: 5
|
|
6364
|
+
}, user);
|
|
6365
|
+
};
|
|
6366
|
+
var Popover = function Popover(_ref) {
|
|
6367
|
+
var children = _ref.children,
|
|
6368
|
+
anchorEl = _ref.anchorEl,
|
|
6369
|
+
open = _ref.open,
|
|
6370
|
+
setOpen = _ref.setOpen,
|
|
6371
|
+
className = _ref.className,
|
|
6372
|
+
_ref$transparent = _ref.transparent,
|
|
6373
|
+
transparent = _ref$transparent === void 0 ? true : _ref$transparent,
|
|
6374
|
+
onClose = _ref.onClose,
|
|
6375
|
+
_ref$placement = _ref.placement,
|
|
6376
|
+
placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
|
|
6377
|
+
_ref$theme = _ref.theme,
|
|
6378
|
+
theme = _ref$theme === void 0 ? 'light' : _ref$theme,
|
|
6379
|
+
middlewareOptions = _ref.middlewareOptions,
|
|
6380
|
+
lockScroll = _ref.lockScroll,
|
|
6381
|
+
_ref$withOverlay = _ref.withOverlay,
|
|
6382
|
+
withOverlay = _ref$withOverlay === void 0 ? true : _ref$withOverlay;
|
|
6383
|
+
var offsetArg = resolveOffset(middlewareOptions === null || middlewareOptions === void 0 ? void 0 : middlewareOptions.offset);
|
|
6384
|
+
var flipArg = _objectSpread2({
|
|
6385
|
+
padding: 8
|
|
6386
|
+
}, middlewareOptions !== null && middlewareOptions !== void 0 && middlewareOptions.flip && _typeof(middlewareOptions.flip) === 'object' ? _objectSpread2({}, middlewareOptions.flip) : {});
|
|
6387
|
+
var _useFloating = useFloating(_objectSpread2(_objectSpread2(_objectSpread2({}, open && {
|
|
6388
|
+
open: open
|
|
6389
|
+
}), setOpen && {
|
|
6390
|
+
onOpenChange: setOpen
|
|
6391
|
+
}), {}, {
|
|
6392
|
+
placement: placement,
|
|
6393
|
+
whileElementsMounted: autoUpdate,
|
|
6394
|
+
middleware: [offset(offsetArg), shift(middlewareOptions === null || middlewareOptions === void 0 ? void 0 : middlewareOptions.shift), flip(flipArg), size({
|
|
6395
|
+
apply: function apply(_ref2) {
|
|
6396
|
+
var rects = _ref2.rects,
|
|
6397
|
+
availableHeight = _ref2.availableHeight,
|
|
6398
|
+
elements = _ref2.elements;
|
|
6399
|
+
Object.assign(elements.floating.style, {
|
|
6400
|
+
width: "".concat(rects.reference.width.toString(), "px"),
|
|
6401
|
+
minWidth: 'fit-content',
|
|
6402
|
+
maxHeight: "".concat(availableHeight.toString(), "px")
|
|
6403
|
+
});
|
|
6404
|
+
},
|
|
6405
|
+
padding: 8
|
|
6406
|
+
})]
|
|
6407
|
+
})),
|
|
6408
|
+
x = _useFloating.x,
|
|
6409
|
+
y = _useFloating.y,
|
|
6410
|
+
reference = _useFloating.reference,
|
|
6411
|
+
floating = _useFloating.floating,
|
|
6412
|
+
strategy = _useFloating.strategy,
|
|
6413
|
+
context = _useFloating.context;
|
|
6414
|
+
var _useInteractions = useInteractions([useDismiss(context)]),
|
|
6415
|
+
getFloatingProps = _useInteractions.getFloatingProps;
|
|
6416
|
+
React.useEffect(function () {
|
|
6417
|
+
if (!open) onClose === null || onClose === void 0 || onClose();
|
|
6418
|
+
}, [open, onClose]);
|
|
6419
|
+
React.useLayoutEffect(function () {
|
|
6420
|
+
reference(anchorEl);
|
|
6421
|
+
}, [anchorEl, reference]);
|
|
6422
|
+
return jsxRuntime.jsx(Popper, {
|
|
6423
|
+
open: open,
|
|
6424
|
+
wrapperId: 'popover',
|
|
6425
|
+
transparent: transparent,
|
|
6426
|
+
lockScroll: lockScroll,
|
|
6427
|
+
withOverlay: withOverlay,
|
|
6428
|
+
children: jsxRuntime.jsx("div", _objectSpread2(_objectSpread2({}, getFloatingProps({
|
|
6429
|
+
ref: floating,
|
|
6430
|
+
style: {
|
|
6431
|
+
position: strategy,
|
|
6432
|
+
top: y !== null && y !== void 0 ? y : 0,
|
|
6433
|
+
left: x !== null && x !== void 0 ? x : 0
|
|
6434
|
+
},
|
|
6435
|
+
className: classes(modules_dfc4608f.root, modules_dfc4608f["".concat(theme, "-theme")], className)
|
|
6436
|
+
})), {}, {
|
|
6437
|
+
children: children
|
|
6438
|
+
}))
|
|
6439
|
+
});
|
|
6440
|
+
};
|
|
6441
|
+
|
|
6442
|
+
var ArrowLeftIcon = function ArrowLeftIcon(_ref) {
|
|
6443
|
+
var _ref$size = _ref.size,
|
|
6444
|
+
size = _ref$size === void 0 ? 12 : _ref$size,
|
|
6445
|
+
_ref$color = _ref.color,
|
|
6446
|
+
color = _ref$color === void 0 ? '#717680' : _ref$color,
|
|
6447
|
+
className = _ref.className;
|
|
6448
|
+
return jsxRuntime.jsx("svg", {
|
|
6449
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6450
|
+
width: size,
|
|
6451
|
+
height: size,
|
|
6452
|
+
viewBox: '0 0 12 12',
|
|
6453
|
+
fill: 'none',
|
|
6454
|
+
className: className,
|
|
6455
|
+
children: jsxRuntime.jsx("path", {
|
|
6456
|
+
d: 'M9.5 6H2.5M2.5 6L5.96982 2.53018M2.5 6L5.96982 9.46983',
|
|
6457
|
+
stroke: color,
|
|
6458
|
+
strokeWidth: 1.5,
|
|
6459
|
+
strokeLinecap: 'round',
|
|
6460
|
+
strokeLinejoin: 'round'
|
|
6461
|
+
})
|
|
6462
|
+
});
|
|
6463
|
+
};
|
|
6464
|
+
|
|
6465
|
+
var ArrowRightIcon = function ArrowRightIcon(_ref) {
|
|
6466
|
+
var _ref$size = _ref.size,
|
|
6467
|
+
size = _ref$size === void 0 ? 12 : _ref$size,
|
|
6468
|
+
_ref$color = _ref.color,
|
|
6469
|
+
color = _ref$color === void 0 ? '#717680' : _ref$color,
|
|
6470
|
+
className = _ref.className;
|
|
6471
|
+
return jsxRuntime.jsx("svg", {
|
|
6472
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6473
|
+
width: size,
|
|
6474
|
+
height: size,
|
|
6475
|
+
viewBox: '0 0 12 12',
|
|
6476
|
+
fill: 'none',
|
|
6477
|
+
className: className,
|
|
6478
|
+
children: jsxRuntime.jsx("path", {
|
|
6479
|
+
d: 'M2.5 6H9.5M9.5 6L6.03018 2.53018M9.5 6L6.03018 9.46983',
|
|
6480
|
+
stroke: color,
|
|
6481
|
+
strokeWidth: 1.5,
|
|
6482
|
+
strokeLinecap: 'round',
|
|
6483
|
+
strokeLinejoin: 'round'
|
|
6484
|
+
})
|
|
6485
|
+
});
|
|
6486
|
+
};
|
|
6487
|
+
|
|
6488
|
+
var ArrowUpIcon = function ArrowUpIcon(_ref) {
|
|
6489
|
+
var _ref$size = _ref.size,
|
|
6490
|
+
size = _ref$size === void 0 ? 12 : _ref$size,
|
|
6491
|
+
_ref$color = _ref.color,
|
|
6492
|
+
color = _ref$color === void 0 ? '#717680' : _ref$color,
|
|
6493
|
+
className = _ref.className;
|
|
6494
|
+
return jsxRuntime.jsx("svg", {
|
|
6495
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6496
|
+
width: size,
|
|
6497
|
+
height: size,
|
|
6498
|
+
viewBox: '0 0 12 12',
|
|
6499
|
+
fill: 'none',
|
|
6500
|
+
className: className,
|
|
6501
|
+
children: jsxRuntime.jsx("path", {
|
|
6502
|
+
d: 'M6 9.5L6 2.5M6 2.5L2.53017 5.96982M6 2.5L9.46982 5.96982',
|
|
6503
|
+
stroke: color,
|
|
6504
|
+
strokeWidth: 1.5,
|
|
6505
|
+
strokeLinecap: 'round',
|
|
6506
|
+
strokeLinejoin: 'round'
|
|
6507
|
+
})
|
|
6508
|
+
});
|
|
6509
|
+
};
|
|
6510
|
+
|
|
6511
|
+
var DotIcon = function DotIcon(_ref) {
|
|
6512
|
+
var _ref$size = _ref.size,
|
|
6513
|
+
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6514
|
+
_ref$color = _ref.color,
|
|
6515
|
+
color = _ref$color === void 0 ? '#717680' : _ref$color,
|
|
6516
|
+
className = _ref.className;
|
|
6517
|
+
return jsxRuntime.jsx("svg", {
|
|
6518
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6519
|
+
width: size,
|
|
6520
|
+
height: size,
|
|
6521
|
+
viewBox: '0 0 8 8',
|
|
6522
|
+
fill: 'none',
|
|
6523
|
+
className: className,
|
|
6524
|
+
children: jsxRuntime.jsx("circle", {
|
|
6525
|
+
cx: '4',
|
|
6526
|
+
cy: '4',
|
|
6527
|
+
r: '3',
|
|
6528
|
+
fill: color
|
|
6529
|
+
})
|
|
6530
|
+
});
|
|
6531
|
+
};
|
|
6532
|
+
|
|
6533
|
+
var PlusIcon = function PlusIcon(_ref) {
|
|
6534
|
+
var _ref$size = _ref.size,
|
|
6535
|
+
size = _ref$size === void 0 ? 12 : _ref$size,
|
|
6536
|
+
_ref$color = _ref.color,
|
|
6537
|
+
color = _ref$color === void 0 ? '#717680' : _ref$color,
|
|
6538
|
+
className = _ref.className;
|
|
6539
|
+
return jsxRuntime.jsxs("svg", {
|
|
6540
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
6541
|
+
width: size,
|
|
6542
|
+
height: size,
|
|
6543
|
+
viewBox: '0 0 12 12',
|
|
6544
|
+
fill: 'none',
|
|
6545
|
+
className: className,
|
|
6546
|
+
children: [jsxRuntime.jsx("path", {
|
|
6547
|
+
d: 'M6 2.5V9.5',
|
|
6548
|
+
stroke: color,
|
|
6549
|
+
strokeWidth: 1.5,
|
|
6550
|
+
strokeLinecap: 'round',
|
|
6551
|
+
strokeLinejoin: 'round'
|
|
6552
|
+
}), jsxRuntime.jsx("path", {
|
|
6553
|
+
d: 'M2.5 6L9.5 6',
|
|
6554
|
+
stroke: color,
|
|
6555
|
+
strokeWidth: 1.5,
|
|
6556
|
+
strokeLinecap: 'round',
|
|
6557
|
+
strokeLinejoin: 'round'
|
|
6558
|
+
})]
|
|
6559
|
+
});
|
|
6560
|
+
};
|
|
6561
|
+
|
|
6562
|
+
var ICON_SIZE = {
|
|
6563
|
+
sm: 16,
|
|
6564
|
+
md: 16,
|
|
6565
|
+
lg: 16
|
|
6566
|
+
};
|
|
6567
|
+
var DOT_SIZE = {
|
|
6568
|
+
sm: 8,
|
|
6569
|
+
md: 8,
|
|
6570
|
+
lg: 8
|
|
6571
|
+
};
|
|
6572
|
+
|
|
6573
|
+
var _excluded$6 = ["size", "color"];
|
|
6574
|
+
var TagCloserSm = function TagCloserSm(_ref) {
|
|
6575
|
+
var _ref$size = _ref.size,
|
|
6576
|
+
size = _ref$size === void 0 ? 12 : _ref$size,
|
|
6577
|
+
_ref$color = _ref.color,
|
|
6578
|
+
color = _ref$color === void 0 ? '#A4A7AE' : _ref$color,
|
|
6579
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
6580
|
+
return jsxRuntime.jsx("svg", _objectSpread2(_objectSpread2({
|
|
6581
|
+
width: size,
|
|
6582
|
+
height: size,
|
|
6583
|
+
viewBox: '0 0 12 12',
|
|
6584
|
+
fill: 'none',
|
|
6585
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
6586
|
+
}, props), {}, {
|
|
6587
|
+
children: jsxRuntime.jsx("path", {
|
|
6588
|
+
d: 'M9 3L3 9M3 3L9 9',
|
|
6589
|
+
stroke: color,
|
|
6590
|
+
strokeWidth: '1.5',
|
|
6591
|
+
strokeLinecap: 'round',
|
|
6592
|
+
strokeLinejoin: 'round'
|
|
6593
|
+
})
|
|
6594
|
+
}));
|
|
6595
|
+
};
|
|
6596
|
+
|
|
6597
|
+
var css$C = ".Text_module_root__d10e5305 {\n color: var(--text-color);\n}\n.Text_module_root__d10e5305.Text_module_h1__d10e5305 {\n font-size: 2.25rem;\n line-height: 2.75rem;\n}\n.Text_module_root__d10e5305.Text_module_h2__d10e5305 {\n font-size: 1.375rem;\n line-height: 1.688rem;\n}\n.Text_module_root__d10e5305.Text_module_b1__d10e5305 {\n font-size: 1rem;\n line-height: 1.188rem;\n}\n.Text_module_root__d10e5305.Text_module_b2__d10e5305 {\n font-size: 0.875rem;\n line-height: 1.188rem;\n}\n.Text_module_root__d10e5305.Text_module_b3__d10e5305 {\n font-size: 0.75rem;\n line-height: 1.063rem;\n}\n.Text_module_root__d10e5305.Text_module_regularStroke__d10e5305 {\n font-weight: 400;\n}\n.Text_module_root__d10e5305.Text_module_mediumStroke__d10e5305 {\n font-weight: 500;\n}\n.Text_module_root__d10e5305.Text_module_semiboldStroke__d10e5305 {\n font-weight: 600;\n}\n.Text_module_root__d10e5305.Text_module_boldStroke__d10e5305 {\n font-weight: 800;\n}";
|
|
6598
|
+
var modules_22fa3f10$1 = {"root":"Text_module_root__d10e5305","h1":"Text_module_h1__d10e5305","h2":"Text_module_h2__d10e5305","b1":"Text_module_b1__d10e5305","b2":"Text_module_b2__d10e5305","b3":"Text_module_b3__d10e5305","regular-stroke":"Text_module_regularStroke__d10e5305","medium-stroke":"Text_module_mediumStroke__d10e5305","semibold-stroke":"Text_module_semiboldStroke__d10e5305","bold-stroke":"Text_module_boldStroke__d10e5305"};
|
|
6599
|
+
n(css$C,{});
|
|
6600
|
+
|
|
6601
|
+
var Text$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6602
|
+
var _props$variant = props.variant,
|
|
6603
|
+
variant = _props$variant === void 0 ? 'b2' : _props$variant,
|
|
6604
|
+
_props$component = props.component,
|
|
6605
|
+
component = _props$component === void 0 ? 'span' : _props$component,
|
|
6606
|
+
_props$stroke = props.stroke,
|
|
6607
|
+
stroke = _props$stroke === void 0 ? 'regular' : _props$stroke,
|
|
6608
|
+
weight = props.weight,
|
|
6609
|
+
italic = props.italic,
|
|
6610
|
+
underline = props.underline,
|
|
6611
|
+
children = props.children,
|
|
6612
|
+
_props$className = props.className,
|
|
6613
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
6614
|
+
_props$attrs = props.attrs,
|
|
6615
|
+
attrs = _props$attrs === void 0 ? {} : _props$attrs;
|
|
6616
|
+
var TextDOM = /*#__PURE__*/React.createElement(component, _objectSpread2({
|
|
6617
|
+
ref: ref,
|
|
6618
|
+
style: _objectSpread2(_objectSpread2(_objectSpread2({}, italic && {
|
|
6619
|
+
fontStyle: 'italic'
|
|
6620
|
+
}), underline && {
|
|
6621
|
+
textDecoration: 'underline'
|
|
6622
|
+
}), weight && {
|
|
6623
|
+
fontWeight: weight
|
|
6624
|
+
}),
|
|
6625
|
+
className: classes(modules_22fa3f10$1.root, modules_22fa3f10$1[variant], modules_22fa3f10$1["".concat(stroke, "-stroke")], className)
|
|
6626
|
+
}, attrs), children);
|
|
6627
|
+
if (/*#__PURE__*/React.isValidElement(TextDOM)) {
|
|
6628
|
+
return TextDOM;
|
|
6629
|
+
}
|
|
6630
|
+
return null;
|
|
6631
|
+
});
|
|
6632
|
+
|
|
6633
|
+
var css$B = ".Badge_module_badge__dbbe5f66 {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n white-space: nowrap;\n border: 1px solid transparent;\n font-family: Jakarta Sans, sans-serif;\n}\n.Badge_module_badge__icon__dbbe5f66 {\n display: block;\n flex-shrink: 0;\n}\n.Badge_module_badge__label__dbbe5f66 {\n display: inline-block;\n font-weight: 500;\n font-family: inherit;\n}\n.Badge_module_badge__closer__dbbe5f66 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n padding: 0;\n background: transparent;\n border: none;\n cursor: pointer;\n color: inherit;\n opacity: 0.45;\n transition: opacity 0.15s ease;\n width: 16px;\n height: 16px;\n}\n.Badge_module_badge__closer__dbbe5f66:hover {\n opacity: 1;\n}\n.Badge_module_badge__closer__dbbe5f66:focus-visible {\n outline: 2px solid currentColor;\n outline-offset: 1px;\n border-radius: 2px;\n}\n.Badge_module_badge_Sm__dbbe5f66 {\n padding: 2px 8px;\n gap: 4px;\n}\n.Badge_module_badge_Sm__dbbe5f66 .Badge_module_badge__label__dbbe5f66 {\n font-size: 12px;\n line-height: 16px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 2px 3px 2px 8px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 2px 6px 2px 8px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 2px 3px 2px 8px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 2px 6px 2px 8px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 2px 3px 2px 8px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 4px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 2px 6px 2px 8px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 2px 8px 2px 6px;\n gap: 2px;\n height: 20px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-left: 4px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-left: 4px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-right: 4px;\n}\n.Badge_module_badge_Sm__dbbe5f66.Badge_module_badge_HasPlus__dbbe5f66 {\n padding: 5px;\n}\n.Badge_module_badge_Md__dbbe5f66 {\n padding: 2px 10px;\n gap: 4px;\n}\n.Badge_module_badge_Md__dbbe5f66 .Badge_module_badge__label__dbbe5f66 {\n font-size: 14px;\n line-height: 20px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 2px 4px 2px 10px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 6px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 2px 6px 2px 10px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 2px 4px 2px 10px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 6px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 2px 8px 2px 10px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 2px 4px 2px 10px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 6px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 2px 8px 2px 10px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 2px 10px 2px 8px;\n gap: 2px;\n height: 24px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-left: 6px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-left: 6px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-right: 6px;\n}\n.Badge_module_badge_Md__dbbe5f66.Badge_module_badge_HasPlus__dbbe5f66 {\n padding: 6px;\n}\n.Badge_module_badge_Lg__dbbe5f66 {\n padding: 4px 12px;\n gap: 4px;\n}\n.Badge_module_badge_Lg__dbbe5f66 .Badge_module_badge__label__dbbe5f66 {\n font-size: 14px;\n line-height: 20px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 4px 6px 4px 12px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 4px 10px 4px 12px;\n gap: 6px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 4px 6px 4px 12px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Pill__dbbe5f66.Badge_module_badge_HasLead__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 4px 6px 4px 12px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 6px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 4px 10px 4px 12px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Badge__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasCloser__dbbe5f66 {\n padding: 4px 6px 4px 12px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 6px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66 {\n padding: 4px 10px 4px 12px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_Modern__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66 {\n padding: 4px 12px 4px 10px;\n gap: 2px;\n height: 28px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_HasDot__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-left: 8px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_HasUpArrow__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-left: 8px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_HasArrow__dbbe5f66:not(.Badge_module_badge_Pill__dbbe5f66) {\n padding-right: 8px;\n}\n.Badge_module_badge_Lg__dbbe5f66.Badge_module_badge_HasPlus__dbbe5f66 {\n padding: 8px;\n}\n.Badge_module_badge_Pill__dbbe5f66 {\n border-radius: 999px;\n background-color: #fafafa;\n border-color: #e9eaeb;\n color: #414651;\n}\n.Badge_module_badge_Badge__dbbe5f66 {\n border-radius: 6px;\n background-color: #fafafa;\n border-color: #e9eaeb;\n color: #414651;\n}\n.Badge_module_badge_Modern__dbbe5f66 {\n border-radius: 6px;\n background-color: #ffffff;\n border-color: #d5d7da;\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);\n color: #414651;\n}";
|
|
6634
|
+
var modules_c87a512f = {"badge":"Badge_module_badge__dbbe5f66","badge__icon":"Badge_module_badge__icon__dbbe5f66","badge__label":"Badge_module_badge__label__dbbe5f66","badge__closer":"Badge_module_badge__closer__dbbe5f66","badge--sm":"Badge_module_badge_Sm__dbbe5f66","badge--pill":"Badge_module_badge_Pill__dbbe5f66","badge--has-closer":"Badge_module_badge_HasCloser__dbbe5f66","badge--has-dot":"Badge_module_badge_HasDot__dbbe5f66","badge--has-arrow":"Badge_module_badge_HasArrow__dbbe5f66","badge--has-up-arrow":"Badge_module_badge_HasUpArrow__dbbe5f66","badge--modern":"Badge_module_badge_Modern__dbbe5f66","badge--has-lead":"Badge_module_badge_HasLead__dbbe5f66","badge--badge":"Badge_module_badge_Badge__dbbe5f66","badge--has-plus":"Badge_module_badge_HasPlus__dbbe5f66","badge--md":"Badge_module_badge_Md__dbbe5f66","badge--lg":"Badge_module_badge_Lg__dbbe5f66"};
|
|
6635
|
+
n(css$B,{});
|
|
6636
|
+
|
|
6637
|
+
var Badge = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6638
|
+
var label = _ref.label,
|
|
6639
|
+
_ref$variant = _ref.variant,
|
|
6640
|
+
variant = _ref$variant === void 0 ? 'pill' : _ref$variant,
|
|
6641
|
+
_ref$size = _ref.size,
|
|
6642
|
+
size = _ref$size === void 0 ? 'sm' : _ref$size,
|
|
6643
|
+
onClose = _ref.onClose,
|
|
6644
|
+
_ref$dot = _ref.dot,
|
|
6645
|
+
dot = _ref$dot === void 0 ? false : _ref$dot,
|
|
6646
|
+
_ref$dotColor = _ref.dotColor,
|
|
6647
|
+
dotColor = _ref$dotColor === void 0 ? '#717680' : _ref$dotColor,
|
|
6648
|
+
_ref$arrow = _ref.arrow,
|
|
6649
|
+
arrow = _ref$arrow === void 0 ? false : _ref$arrow,
|
|
6650
|
+
_ref$arrowColor = _ref.arrowColor,
|
|
6651
|
+
arrowColor = _ref$arrowColor === void 0 ? '#717680' : _ref$arrowColor,
|
|
6652
|
+
_ref$arrowLead = _ref.arrowLead,
|
|
6653
|
+
arrowLead = _ref$arrowLead === void 0 ? false : _ref$arrowLead,
|
|
6654
|
+
_ref$arrowLeadColor = _ref.arrowLeadColor,
|
|
6655
|
+
arrowLeadColor = _ref$arrowLeadColor === void 0 ? '#717680' : _ref$arrowLeadColor,
|
|
6656
|
+
_ref$upArrow = _ref.upArrow,
|
|
6657
|
+
upArrow = _ref$upArrow === void 0 ? false : _ref$upArrow,
|
|
6658
|
+
_ref$upArrowColor = _ref.upArrowColor,
|
|
6659
|
+
upArrowColor = _ref$upArrowColor === void 0 ? '#717680' : _ref$upArrowColor,
|
|
6660
|
+
_ref$plus = _ref.plus,
|
|
6661
|
+
plus = _ref$plus === void 0 ? false : _ref$plus,
|
|
6662
|
+
_ref$plusColor = _ref.plusColor,
|
|
6663
|
+
plusColor = _ref$plusColor === void 0 ? '#717680' : _ref$plusColor,
|
|
6664
|
+
className = _ref.className;
|
|
6665
|
+
var classNames = classes(modules_c87a512f.badge, modules_c87a512f["badge--".concat(size)], modules_c87a512f["badge--".concat(variant)], dot && modules_c87a512f['badge--has-dot'], arrow && modules_c87a512f['badge--has-arrow'], arrowLead && modules_c87a512f['badge--has-lead'], upArrow && modules_c87a512f['badge--has-up-arrow'], plus && modules_c87a512f['badge--has-plus'], onClose && modules_c87a512f['badge--has-closer'], className);
|
|
6666
|
+
return jsxRuntime.jsxs("span", {
|
|
6667
|
+
ref: ref,
|
|
6668
|
+
className: classNames,
|
|
6669
|
+
children: [dot && jsxRuntime.jsx(DotIcon, {
|
|
6670
|
+
size: DOT_SIZE[size],
|
|
6671
|
+
color: dotColor,
|
|
6672
|
+
className: modules_c87a512f.badge__icon
|
|
6673
|
+
}), arrowLead && jsxRuntime.jsx(ArrowLeftIcon, {
|
|
6674
|
+
size: ICON_SIZE[size],
|
|
6675
|
+
color: arrowLeadColor,
|
|
6676
|
+
className: modules_c87a512f.badge__icon
|
|
6677
|
+
}), upArrow && jsxRuntime.jsx(ArrowUpIcon, {
|
|
6678
|
+
size: ICON_SIZE[size],
|
|
6679
|
+
color: upArrowColor,
|
|
6680
|
+
className: modules_c87a512f.badge__icon
|
|
6681
|
+
}), plus && jsxRuntime.jsx(PlusIcon, {
|
|
6682
|
+
size: ICON_SIZE[size],
|
|
6683
|
+
color: plusColor,
|
|
6684
|
+
className: modules_c87a512f.badge__icon
|
|
6685
|
+
}), label && jsxRuntime.jsx(Text$1, {
|
|
6686
|
+
component: 'span',
|
|
6687
|
+
className: modules_c87a512f.badge__label,
|
|
6688
|
+
children: label
|
|
6689
|
+
}), arrow && jsxRuntime.jsx(ArrowRightIcon, {
|
|
6690
|
+
size: ICON_SIZE[size],
|
|
6691
|
+
color: arrowColor,
|
|
6692
|
+
className: modules_c87a512f.badge__icon
|
|
6693
|
+
}), onClose && jsxRuntime.jsx(Button$1, {
|
|
6694
|
+
type: 'button',
|
|
6695
|
+
variant: 'unstyled',
|
|
6696
|
+
className: modules_c87a512f.badge__closer,
|
|
6697
|
+
onClick: onClose,
|
|
6698
|
+
title: jsxRuntime.jsx(TagCloserSm, {
|
|
6699
|
+
size: ICON_SIZE[size]
|
|
6700
|
+
})
|
|
6701
|
+
})]
|
|
6702
|
+
});
|
|
6703
|
+
});
|
|
6704
|
+
Badge.displayName = 'Badge';
|
|
6705
|
+
|
|
6706
|
+
function o(f){return r=>{f.forEach(n=>{typeof n=="function"?n(r):n!=null&&(n.current=r);});}}
|
|
6707
|
+
|
|
6708
|
+
var css$A = ".Tooltip_module_tooltip__1e01533d {\n position: relative;\n background-color: #1c1c1c; /* Deep dark rich grey from the Canva spec */\n color: #ffffff;\n padding: 8px 12px;\n border-radius: 6px;\n box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), 0 0 1px rgba(255, 255, 255, 0.1);\n max-width: 320px;\n pointer-events: none; /* By default allow mouse to click straight through into the app */\n will-change: transform, opacity;\n box-sizing: border-box;\n}\n\n.Tooltip_module_tooltip__1e01533d.Tooltip_module_interactive__1e01533d {\n pointer-events: auto; /* Required exclusively if they want to click links inside */\n}\n\n/* Enforce the text styling purely for the component text */\n.Tooltip_module_textContent__1e01533d {\n font-size: 13px !important;\n font-weight: 600 !important;\n line-height: 1.4 !important;\n color: inherit !important;\n font-family: Jakarta Sans, sans-serif;\n}\n\n.Tooltip_module_arrow__1e01533d {\n position: absolute;\n width: 8px;\n height: 8px;\n background-color: #1c1c1c;\n transform: rotate(45deg);\n border-radius: 1px;\n}";
|
|
6709
|
+
var modules_e4619b04$1 = {"tooltip":"Tooltip_module_tooltip__1e01533d","interactive":"Tooltip_module_interactive__1e01533d","textContent":"Tooltip_module_textContent__1e01533d","arrow":"Tooltip_module_arrow__1e01533d"};
|
|
6710
|
+
n(css$A,{});
|
|
6711
|
+
|
|
6712
|
+
var POINTER_EDGE_OFFSET = '12px';
|
|
6713
|
+
var POINTER_SIZE = '8px';
|
|
6714
|
+
var getPointerStyle = function getPointerStyle(_ref) {
|
|
6715
|
+
var side = _ref.side,
|
|
6716
|
+
pointerPosition = _ref.pointerPosition,
|
|
6717
|
+
arrowX = _ref.arrowX,
|
|
6718
|
+
arrowY = _ref.arrowY;
|
|
6719
|
+
if (pointerPosition === 'center') {
|
|
6720
|
+
return {
|
|
6721
|
+
left: arrowX != null ? "".concat(arrowX, "px") : undefined,
|
|
6722
|
+
top: arrowY != null ? "".concat(arrowY, "px") : undefined
|
|
6723
|
+
};
|
|
6724
|
+
}
|
|
6725
|
+
var isHorizontalSide = side === 'top' || side === 'bottom';
|
|
6726
|
+
var edgeValue = pointerPosition === 'start' ? POINTER_EDGE_OFFSET : "calc(100% - ".concat(POINTER_EDGE_OFFSET, " - ").concat(POINTER_SIZE, ")");
|
|
6727
|
+
return isHorizontalSide ? {
|
|
6728
|
+
left: edgeValue,
|
|
6729
|
+
top: undefined
|
|
6730
|
+
} : {
|
|
6731
|
+
left: undefined,
|
|
6732
|
+
top: edgeValue
|
|
6733
|
+
};
|
|
6734
|
+
};
|
|
6735
|
+
var Tooltip$1 = /*#__PURE__*/React.forwardRef(function (props, propRef) {
|
|
6736
|
+
var _middlewareData$arrow, _middlewareData$arrow2;
|
|
6737
|
+
var children = props.children,
|
|
6738
|
+
_props$position = props.position,
|
|
6739
|
+
position = _props$position === void 0 ? 'top' : _props$position,
|
|
6740
|
+
_props$pointerPositio = props.pointerPosition,
|
|
6741
|
+
pointerPosition = _props$pointerPositio === void 0 ? 'center' : _props$pointerPositio,
|
|
6742
|
+
content = props.content,
|
|
6743
|
+
_props$interactive = props.interactive,
|
|
6744
|
+
interactive = _props$interactive === void 0 ? false : _props$interactive,
|
|
6745
|
+
_props$className = props.className,
|
|
6746
|
+
className = _props$className === void 0 ? '' : _props$className,
|
|
6747
|
+
_props$showPointer = props.showPointer,
|
|
6748
|
+
showPointer = _props$showPointer === void 0 ? true : _props$showPointer;
|
|
6749
|
+
var arrowEl = React.useRef(null);
|
|
6750
|
+
var _useState = React.useState(false),
|
|
6751
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
6752
|
+
open = _useState2[0],
|
|
6753
|
+
setOpen = _useState2[1];
|
|
6754
|
+
var _useFloating = useFloating({
|
|
6755
|
+
open: open,
|
|
6756
|
+
onOpenChange: setOpen,
|
|
6757
|
+
placement: position,
|
|
6758
|
+
whileElementsMounted: autoUpdate,
|
|
6759
|
+
middleware: [offset(showPointer ? 12 : 8), flip(), shift({
|
|
6760
|
+
padding: 8
|
|
6761
|
+
}), arrow({
|
|
6762
|
+
element: arrowEl
|
|
6763
|
+
})]
|
|
6764
|
+
}),
|
|
6765
|
+
x = _useFloating.x,
|
|
6766
|
+
y = _useFloating.y,
|
|
6767
|
+
reference = _useFloating.reference,
|
|
6768
|
+
floating = _useFloating.floating,
|
|
6769
|
+
strategy = _useFloating.strategy,
|
|
6770
|
+
context = _useFloating.context,
|
|
6771
|
+
middlewareData = _useFloating.middlewareData,
|
|
6772
|
+
placement = _useFloating.placement;
|
|
6773
|
+
// Adding a slight delay on close if interactive makes bridging the arrow gap much easier for the mouse cursor natively.
|
|
6774
|
+
var hover = useHover(context, {
|
|
6775
|
+
move: true,
|
|
6776
|
+
delay: {
|
|
6777
|
+
open: 0,
|
|
6778
|
+
close: interactive ? 150 : 0
|
|
6779
|
+
}
|
|
6780
|
+
});
|
|
6781
|
+
var focus = useFocus(context);
|
|
6782
|
+
var dismiss = useDismiss(context);
|
|
6783
|
+
var role = useRole(context, {
|
|
6784
|
+
role: 'tooltip'
|
|
6785
|
+
});
|
|
6786
|
+
var _useInteractions = useInteractions([hover, focus, dismiss, role]),
|
|
6787
|
+
getReferenceProps = _useInteractions.getReferenceProps,
|
|
6788
|
+
getFloatingProps = _useInteractions.getFloatingProps;
|
|
6789
|
+
var typedChildren = children;
|
|
6790
|
+
var childrenRef = typedChildren.ref;
|
|
6791
|
+
var ref = React.useMemo(function () {
|
|
6792
|
+
return o([reference, childrenRef, propRef]);
|
|
6793
|
+
}, [reference, childrenRef, propRef]);
|
|
6794
|
+
var clonedChildren = /*#__PURE__*/React.cloneElement(children, getReferenceProps(_objectSpread2({
|
|
6795
|
+
ref: ref
|
|
6796
|
+
}, typedChildren.props)));
|
|
6797
|
+
var side = (placement || position).split('-')[0];
|
|
6798
|
+
var staticSideMapping = {
|
|
6799
|
+
top: 'bottom',
|
|
6800
|
+
right: 'left',
|
|
6801
|
+
bottom: 'top',
|
|
6802
|
+
left: 'right'
|
|
6803
|
+
};
|
|
6804
|
+
var staticSide = staticSideMapping[side];
|
|
6805
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
6806
|
+
children: [clonedChildren, jsxRuntime.jsx(Popper, {
|
|
6807
|
+
open: open && content != null,
|
|
6808
|
+
backdrop: false,
|
|
6809
|
+
lockScroll: false,
|
|
6810
|
+
wrapperId: "v2-tooltip-portal",
|
|
6811
|
+
children: jsxRuntime.jsx(framerMotion.AnimatePresence, {
|
|
6812
|
+
children: open && content != null && jsxRuntime.jsxs(framerMotion.motion.div, _objectSpread2(_objectSpread2({}, getFloatingProps({
|
|
6813
|
+
ref: floating,
|
|
6814
|
+
className: classes(modules_e4619b04$1.tooltip, interactive ? modules_e4619b04$1.interactive : '', className),
|
|
6815
|
+
style: {
|
|
6816
|
+
position: strategy,
|
|
6817
|
+
top: y !== null && y !== void 0 ? y : 0,
|
|
6818
|
+
left: x !== null && x !== void 0 ? x : 0,
|
|
6819
|
+
zIndex: 1050
|
|
6820
|
+
}
|
|
6821
|
+
})), {}, {
|
|
6822
|
+
initial: {
|
|
6823
|
+
opacity: 0,
|
|
6824
|
+
scale: 0.95
|
|
6825
|
+
},
|
|
6826
|
+
animate: {
|
|
6827
|
+
opacity: 1,
|
|
6828
|
+
scale: 1
|
|
6829
|
+
},
|
|
6830
|
+
exit: {
|
|
6831
|
+
opacity: 0,
|
|
6832
|
+
scale: 0.95
|
|
6833
|
+
},
|
|
6834
|
+
transition: {
|
|
6835
|
+
duration: 0.15,
|
|
6836
|
+
ease: "easeOut"
|
|
6837
|
+
},
|
|
6838
|
+
children: [showPointer && jsxRuntime.jsx("div", {
|
|
6839
|
+
className: modules_e4619b04$1.arrow,
|
|
6840
|
+
ref: arrowEl,
|
|
6841
|
+
style: _objectSpread2(_objectSpread2({}, getPointerStyle({
|
|
6842
|
+
side: side,
|
|
6843
|
+
pointerPosition: pointerPosition,
|
|
6844
|
+
arrowX: (_middlewareData$arrow = middlewareData.arrow) === null || _middlewareData$arrow === void 0 ? void 0 : _middlewareData$arrow.x,
|
|
6845
|
+
arrowY: (_middlewareData$arrow2 = middlewareData.arrow) === null || _middlewareData$arrow2 === void 0 ? void 0 : _middlewareData$arrow2.y
|
|
6846
|
+
})), {}, _defineProperty({
|
|
6847
|
+
right: undefined,
|
|
6848
|
+
bottom: undefined
|
|
6849
|
+
}, staticSide, '-4px'))
|
|
6850
|
+
}), typeof content === 'string' ? jsxRuntime.jsx(Text$1, {
|
|
6851
|
+
className: modules_e4619b04$1.textContent,
|
|
6852
|
+
children: content
|
|
6853
|
+
}) : content]
|
|
6854
|
+
}))
|
|
6855
|
+
})
|
|
6856
|
+
})]
|
|
6857
|
+
});
|
|
6858
|
+
});
|
|
6859
|
+
Tooltip$1.displayName = 'Tooltip';
|
|
6860
|
+
|
|
6861
|
+
var css$z = ".TextField_module_textField__15d88237 {\n display: flex;\n flex-direction: column;\n gap: 6px;\n width: 100%;\n min-width: 320px;\n}\n\n.TextField_module_labelContainer__15d88237 {\n display: flex;\n gap: 2px;\n align-items: center;\n}\n.TextField_module_labelContainer__15d88237 .TextField_module_label__15d88237 {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n color: #414651;\n}\n.TextField_module_labelContainer__15d88237 .TextField_module_required__15d88237 {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n color: #175cd3;\n}\n.TextField_module_labelContainer__15d88237 .TextField_module_helpIcon__15d88237 {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.TextField_module_labelContainer__15d88237 .TextField_module_helpIcon__15d88237 svg {\n width: 100%;\n height: 100%;\n color: #535862;\n}\n\n.TextField_module_inputContainer__15d88237 {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: stretch;\n border-radius: 6px;\n transition: all 0.2s ease-in-out;\n overflow: hidden;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_sm__15d88237 {\n height: 40px;\n padding: 0;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_md__15d88237 {\n height: 44px;\n padding: 0;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_inputContainerWithLeadingDropdown__15d88237 .TextField_module_inputInner__15d88237, .TextField_module_inputContainer__15d88237.TextField_module_inputContainerWithTrailingDropdown__15d88237 .TextField_module_inputInner__15d88237 {\n padding: 0px;\n}\n\n.TextField_module_inputInner__15d88237 {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 1;\n min-width: 0;\n height: 100%;\n padding: 10px 12px;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237 .TextField_module_inputInner__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237 .TextField_module_inputInner__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 .TextField_module_inputInner__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 .TextField_module_inputInner__15d88237 {\n padding: 9.5px 11.5px;\n}\n\n.TextField_module_inputInnerWithLeadingText__15d88237 {\n padding-left: 12px;\n}\n\n.TextField_module_inputInnerWithLeadingDropdown__15d88237 {\n padding-left: 12px;\n flex: 1;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237 .TextField_module_inputInnerWithLeadingText__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237 .TextField_module_inputInnerWithLeadingText__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 .TextField_module_inputInnerWithLeadingText__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 .TextField_module_inputInnerWithLeadingText__15d88237 {\n padding-left: 11.5px;\n}\n\n.TextField_module_contentArea__15d88237 {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 1;\n min-width: 0;\n position: relative;\n}\n\n.TextField_module_trailingArea__15d88237 {\n display: flex;\n align-items: center;\n gap: 12px;\n flex-shrink: 0;\n}\n\n.TextField_module_leadingIcon__15d88237 {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n.TextField_module_leadingIcon__15d88237 svg {\n width: 100%;\n height: 100%;\n}\n\n.TextField_module_leadingText__15d88237 {\n display: flex;\n align-items: center;\n height: 100%;\n padding: 0 12px;\n border-right: 1px solid #d5d7da;\n flex-shrink: 0;\n}\n.TextField_module_leadingText__15d88237 .TextField_module_leadingTextContent__15d88237 {\n font-family: Jakarta;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: #535862;\n white-space: nowrap;\n}\n\n.TextField_module_leadingDropdownWrapper__15d88237 {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n height: 100%;\n padding-left: 12px;\n}\n\n.TextField_module_inputFieldArea__15d88237 {\n display: flex;\n flex: 1;\n min-width: 0;\n height: 40px;\n align-items: center;\n padding: 10px 12px;\n gap: 8px;\n}\n.TextField_module_inputFieldArea__15d88237.TextField_module_inputFieldAreaWithLeadingDropdown__15d88237 {\n padding-left: 12px;\n}\n.TextField_module_inputFieldArea__15d88237.TextField_module_inputFieldAreaWithLeadingText__15d88237 {\n padding-left: 8px;\n}\n\n.TextField_module_inputContent__15d88237 {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 1;\n min-width: 0;\n}\n\n.TextField_module_trailingDropdown__15d88237 {\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0;\n}\n.TextField_module_trailingDropdown__15d88237 .TextField_module_dropdownContainer__15d88237 {\n padding: 0 12px !important;\n}\n\n.TextField_module_inlineDropdown__15d88237 {\n gap: 0;\n min-width: fit-content;\n width: fit-content;\n}\n.TextField_module_inlineDropdown__15d88237 .TextField_module_labelContainer__15d88237,\n.TextField_module_inlineDropdown__15d88237 .TextField_module_helperText__15d88237 {\n display: none;\n}\n.TextField_module_inlineDropdown__15d88237 div > button > span > span > div > span {\n font-size: 16px !important;\n line-height: 24px !important;\n color: #535862 !important;\n font-weight: 400 !important;\n white-space: nowrap !important;\n}\n.TextField_module_inlineDropdown__15d88237 div > button {\n min-width: fit-content !important;\n width: fit-content !important;\n max-width: none !important;\n height: 40px !important;\n padding: 10px 12px !important;\n}\n.TextField_module_inlineDropdown__15d88237 div > button > span > span > div:first-child {\n gap: 1px !important;\n flex-shrink: 0 !important;\n}\n.TextField_module_inlineDropdown__15d88237 div > button > span > span[data-elem=title] {\n gap: 1px !important;\n flex-shrink: 0 !important;\n}\n.TextField_module_inlineDropdown__15d88237 div > button > span > span[data-elem=title] div svg {\n width: 16px !important;\n height: 16px !important;\n}\n\n.TextField_module_leadingDropdownPopover__15d88237 {\n transform: translateX(-12px);\n}\n\n.TextField_module_trailingDropdownPopover__15d88237 {\n transform: translateX(-24px);\n}\n\n.TextField_module_trailingArea__15d88237 .TextField_module_helpIcon__15d88237,\n.TextField_module_trailingArea__15d88237 .TextField_module_rightIcon__15d88237,\n.TextField_module_trailingArea__15d88237 .TextField_module_statusIcon__15d88237 {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.TextField_module_trailingArea__15d88237 .TextField_module_helpIcon__15d88237 svg,\n.TextField_module_trailingArea__15d88237 .TextField_module_rightIcon__15d88237 svg,\n.TextField_module_trailingArea__15d88237 .TextField_module_statusIcon__15d88237 svg {\n width: 100%;\n height: 100%;\n}\n.TextField_module_trailingArea__15d88237 .TextField_module_helpIcon__15d88237 .TextField_module_iconComponent__15d88237,\n.TextField_module_trailingArea__15d88237 .TextField_module_rightIcon__15d88237 .TextField_module_iconComponent__15d88237,\n.TextField_module_trailingArea__15d88237 .TextField_module_statusIcon__15d88237 .TextField_module_iconComponent__15d88237 {\n width: 100%;\n height: 100%;\n}\n\n.TextField_module_inputText__15d88237 {\n font-family: Jakarta;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n white-space: pre;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 1;\n min-width: 0;\n}\n.TextField_module_inputText__15d88237.TextField_module_textPrimary__15d88237 {\n color: #181d27;\n}\n.TextField_module_inputText__15d88237.TextField_module_textPlaceholder__15d88237 {\n color: #a4a7ae;\n}\n.TextField_module_inputText__15d88237.TextField_module_textDisabled__15d88237 {\n color: #a4a7ae;\n}\n\n.TextField_module_mainInput__15d88237 {\n flex: 1;\n min-width: 0;\n border: none;\n outline: none;\n background: transparent;\n cursor: inherit;\n font-size: 16px;\n font-family: Jakarta;\n font-weight: 400;\n line-height: 24px;\n color: #181d27;\n white-space: pre;\n caret-color: #181d27;\n}\n.TextField_module_mainInput__15d88237::placeholder {\n color: #a4a7ae;\n}\n.TextField_module_mainInput__15d88237:disabled {\n color: #a4a7ae;\n cursor: not-allowed;\n caret-color: #a4a7ae;\n}\n.TextField_module_mainInput__15d88237::selection {\n background: #175cd3;\n color: white;\n}\n.TextField_module_mainInput__15d88237:focus {\n outline: none;\n caret-color: #181d27;\n}\n\n.TextField_module_hiddenInput__15d88237 {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n border: none;\n outline: none;\n background: transparent;\n cursor: inherit;\n font-size: 16px;\n font-family: Jakarta;\n font-weight: 400;\n line-height: 24px;\n color: #181d27;\n}\n.TextField_module_hiddenInput__15d88237.TextField_module_visibleInput__15d88237 {\n opacity: 1;\n color: #181d27;\n}\n\n.TextField_module_blinkingCursor__15d88237 {\n color: #181d27;\n font-weight: 400;\n animation: TextField_module_blink__15d88237 1s infinite;\n margin-left: 0;\n user-select: none;\n}\n\n@keyframes TextField_module_blink__15d88237 {\n 0%, 50% {\n opacity: 1;\n }\n 51%, 100% {\n opacity: 0;\n }\n}\n.TextField_module_helperText__15d88237 {\n font-family: Jakarta;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n}\n.TextField_module_helperText__15d88237.TextField_module_helperDefault__15d88237 {\n color: #535862;\n}\n.TextField_module_helperText__15d88237.TextField_module_helperError__15d88237 {\n color: #d92d20;\n}\n.TextField_module_helperText__15d88237.TextField_module_helperWarning__15d88237 {\n color: #dc6803;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_default__15d88237 {\n background: white;\n border: 1px solid #d5d7da;\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);\n}\n.TextField_module_inputContainer__15d88237.TextField_module_default__15d88237:hover {\n border-color: #b2b5bb;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_filled__15d88237 {\n background: white;\n border: 1px solid #d5d7da;\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);\n}\n.TextField_module_inputContainer__15d88237.TextField_module_filled__15d88237:hover {\n border-color: #b2b5bb;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237 {\n background: white;\n border: 1.5px solid #2e90fa;\n box-shadow: none;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_filledFocus__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_filledFocus__15d88237 {\n background: white;\n border: 1px solid #d5d7da;\n box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px #1570ef;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_errorFocus__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFocus__15d88237 {\n background: white;\n border: 1px solid #d5d7da;\n box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px #f04438;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 {\n background: white;\n border: 1.5px solid #f04438;\n box-shadow: none;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 .TextField_module_statusIcon__15d88237 svg,\n.TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 .TextField_module_statusIcon__15d88237 svg {\n color: #f04438;\n fill: #f04438;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_warning__15d88237 {\n background: white;\n border: 1px solid #d5d7da;\n box-shadow: none;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_warning__15d88237 .TextField_module_statusIcon__15d88237 svg {\n color: #dc6803;\n fill: #dc6803;\n}\n\n.TextField_module_inputContainer__15d88237.TextField_module_disable__15d88237 {\n background: #fafafa;\n border: 1px solid #d5d7da;\n box-shadow: none;\n cursor: not-allowed;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_disable__15d88237 .TextField_module_leadingIcon__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_disable__15d88237 .TextField_module_trailingArea__15d88237 .TextField_module_helpIcon__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_disable__15d88237 .TextField_module_trailingArea__15d88237 .TextField_module_rightIcon__15d88237,\n.TextField_module_inputContainer__15d88237.TextField_module_disable__15d88237 .TextField_module_trailingArea__15d88237 .TextField_module_statusIcon__15d88237 {\n opacity: 0.5;\n}\n.TextField_module_inputContainer__15d88237.TextField_module_disable__15d88237 .TextField_module_hiddenInput__15d88237 {\n cursor: not-allowed;\n}\n\n@media (max-width: 768px) {\n .TextField_module_textField__15d88237 {\n max-width: 100%;\n }\n .TextField_module_inputText__15d88237 {\n font-size: 16px;\n }\n}\n.TextField_module_inputWrapper__15d88237 {\n display: flex;\n width: 100%;\n border-radius: 6px;\n}\n\n.TextField_module_inputWrapperWithTrailingButton__15d88237 .TextField_module_inputContainer__15d88237 {\n flex: 1;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right: none;\n}\n.TextField_module_inputWrapperWithTrailingButton__15d88237 .TextField_module_inputContainer__15d88237.TextField_module_filledFocus__15d88237,\n.TextField_module_inputWrapperWithTrailingButton__15d88237 .TextField_module_inputContainer__15d88237.TextField_module_errorFocus__15d88237 {\n border: 1px solid #d5d7da !important;\n border-right: none !important;\n box-shadow: none !important;\n}\n.TextField_module_inputWrapperWithTrailingButton__15d88237 .TextField_module_inputContainer__15d88237.TextField_module_activeTyping__15d88237 + .TextField_module_trailingButton__15d88237 {\n border-top: 1.5px solid #2e90fa !important;\n border-right: 1.5px solid #2e90fa !important;\n border-bottom: 1.5px solid #2e90fa !important;\n border-left: 1px solid #d5d7da !important;\n padding: 9.5px 11.5px !important;\n transition: all 0.2s ease-in-out !important;\n}\n.TextField_module_inputWrapperWithTrailingButton__15d88237 .TextField_module_inputContainer__15d88237.TextField_module_errorFilled__15d88237 + .TextField_module_trailingButton__15d88237 {\n border-top: 1.5px solid #f04438 !important;\n border-right: 1.5px solid #f04438 !important;\n border-bottom: 1.5px solid #f04438 !important;\n border-left: 1px solid #d5d7da !important;\n}\n.TextField_module_inputWrapperWithTrailingButton__15d88237.TextField_module_wrapperFilledFocus__15d88237 {\n border-radius: 6px;\n box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px #1570ef;\n transition: box-shadow 0.2s ease-in-out;\n}\n.TextField_module_inputWrapperWithTrailingButton__15d88237.TextField_module_wrapperErrorFocus__15d88237 {\n border-radius: 6px;\n box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px #f04438;\n transition: box-shadow 0.2s ease-in-out;\n}\n\n.TextField_module_trailingButton__15d88237 {\n display: flex !important;\n align-items: center !important;\n gap: 6px !important;\n padding: 10px 12px !important;\n border-top-left-radius: 0 !important;\n border-bottom-left-radius: 0 !important;\n border-top-right-radius: 6px !important;\n border-bottom-right-radius: 6px !important;\n border: 1px solid #d5d7da !important;\n border-left: 1px solid #d5d7da !important;\n background: white !important;\n cursor: pointer !important;\n transition: all 0.2s ease-in-out !important;\n height: 44px !important;\n flex-shrink: 0 !important;\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 2px 0px rgba(0, 0, 0, 0.06) !important;\n font-family: Jakarta !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n line-height: 20px !important;\n color: #535862 !important;\n text-decoration: none !important;\n min-width: unset !important;\n max-width: unset !important;\n width: auto !important;\n}\n.TextField_module_trailingButton__15d88237:hover {\n background: #f8f9fa !important;\n border-color: #b2b5bb !important;\n border-left-color: #d5d7da !important;\n color: #535862 !important;\n text-decoration: none !important;\n}\n.TextField_module_trailingButton__15d88237:focus {\n outline: none !important;\n text-decoration: none !important;\n}\n.TextField_module_trailingButton__15d88237:active {\n text-decoration: none !important;\n}\n.TextField_module_trailingButton__15d88237 svg {\n width: 20px !important;\n height: 20px !important;\n color: #535862 !important;\n flex-shrink: 0 !important;\n}\n.TextField_module_trailingButton__15d88237.TextField_module_sm__15d88237 {\n height: 40px !important;\n}\n.TextField_module_trailingButton__15d88237.TextField_module_md__15d88237 {\n height: 44px !important;\n}\n\n.TextField_module_trailingButtonIcon__15d88237 {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n.TextField_module_trailingButtonIcon__15d88237 svg {\n width: 100%;\n height: 100%;\n color: #535862;\n}\n\n.TextField_module_trailingButtonText__15d88237 {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n color: #535862;\n white-space: nowrap;\n}\n\n.TextField_module_disableTrailingButton__15d88237 {\n background: #fafafa !important;\n border-color: #d5d7da !important;\n border-left-color: #d5d7da !important;\n box-shadow: none !important;\n cursor: not-allowed !important;\n color: #535862 !important;\n opacity: 0.5 !important;\n}\n.TextField_module_disableTrailingButton__15d88237:hover {\n background: #fafafa !important;\n border-color: #d5d7da !important;\n border-left-color: #d5d7da !important;\n cursor: not-allowed !important;\n}\n.TextField_module_disableTrailingButton__15d88237 svg {\n opacity: 0.5 !important;\n}\n\n.TextField_module_errorFilledTrailingButton__15d88237,\n.TextField_module_errorFilledTrailingButton__15d88237 {\n border: 1.5px solid #f04438;\n border-left: 1px solid #d5d7da;\n box-shadow: none;\n}\n\n.TextField_module_warningTrailingButton__15d88237 {\n border-color: #d5d7da;\n box-shadow: none;\n}\n\n.TextField_module_disableTrailingButton__15d88237 {\n background: #fafafa;\n border-color: #d5d7da;\n box-shadow: none;\n cursor: not-allowed;\n}\n.TextField_module_disableTrailingButton__15d88237 .TextField_module_trailingButtonIcon__15d88237,\n.TextField_module_disableTrailingButton__15d88237 .TextField_module_trailingButtonText__15d88237 {\n opacity: 0.5;\n}";
|
|
6862
|
+
var modules_555c3abf = {"textField":"TextField_module_textField__15d88237","labelContainer":"TextField_module_labelContainer__15d88237","label":"TextField_module_label__15d88237","required":"TextField_module_required__15d88237","helpIcon":"TextField_module_helpIcon__15d88237","inputContainer":"TextField_module_inputContainer__15d88237","sm":"TextField_module_sm__15d88237","md":"TextField_module_md__15d88237","inputContainerWithLeadingDropdown":"TextField_module_inputContainerWithLeadingDropdown__15d88237","inputInner":"TextField_module_inputInner__15d88237","inputContainerWithTrailingDropdown":"TextField_module_inputContainerWithTrailingDropdown__15d88237","activeTyping":"TextField_module_activeTyping__15d88237","active-typing":"TextField_module_activeTyping__15d88237","errorFilled":"TextField_module_errorFilled__15d88237","error-filled":"TextField_module_errorFilled__15d88237","inputInnerWithLeadingText":"TextField_module_inputInnerWithLeadingText__15d88237","inputInnerWithLeadingDropdown":"TextField_module_inputInnerWithLeadingDropdown__15d88237","contentArea":"TextField_module_contentArea__15d88237","trailingArea":"TextField_module_trailingArea__15d88237","leadingIcon":"TextField_module_leadingIcon__15d88237","leadingText":"TextField_module_leadingText__15d88237","leadingTextContent":"TextField_module_leadingTextContent__15d88237","leadingDropdownWrapper":"TextField_module_leadingDropdownWrapper__15d88237","inputFieldArea":"TextField_module_inputFieldArea__15d88237","inputFieldAreaWithLeadingDropdown":"TextField_module_inputFieldAreaWithLeadingDropdown__15d88237","inputFieldAreaWithLeadingText":"TextField_module_inputFieldAreaWithLeadingText__15d88237","inputContent":"TextField_module_inputContent__15d88237","trailingDropdown":"TextField_module_trailingDropdown__15d88237","dropdownContainer":"TextField_module_dropdownContainer__15d88237","inlineDropdown":"TextField_module_inlineDropdown__15d88237","helperText":"TextField_module_helperText__15d88237","leadingDropdownPopover":"TextField_module_leadingDropdownPopover__15d88237","trailingDropdownPopover":"TextField_module_trailingDropdownPopover__15d88237","rightIcon":"TextField_module_rightIcon__15d88237","statusIcon":"TextField_module_statusIcon__15d88237","iconComponent":"TextField_module_iconComponent__15d88237","inputText":"TextField_module_inputText__15d88237","textPrimary":"TextField_module_textPrimary__15d88237","textPlaceholder":"TextField_module_textPlaceholder__15d88237","textDisabled":"TextField_module_textDisabled__15d88237","mainInput":"TextField_module_mainInput__15d88237","hiddenInput":"TextField_module_hiddenInput__15d88237","visibleInput":"TextField_module_visibleInput__15d88237","blinkingCursor":"TextField_module_blinkingCursor__15d88237","blink":"TextField_module_blink__15d88237","helperDefault":"TextField_module_helperDefault__15d88237","helperError":"TextField_module_helperError__15d88237","helperWarning":"TextField_module_helperWarning__15d88237","default":"TextField_module_default__15d88237","filled":"TextField_module_filled__15d88237","filledFocus":"TextField_module_filledFocus__15d88237","filled-focus":"TextField_module_filledFocus__15d88237","errorFocus":"TextField_module_errorFocus__15d88237","error-focus":"TextField_module_errorFocus__15d88237","warning":"TextField_module_warning__15d88237","disable":"TextField_module_disable__15d88237","inputWrapper":"TextField_module_inputWrapper__15d88237","inputWrapperWithTrailingButton":"TextField_module_inputWrapperWithTrailingButton__15d88237","trailingButton":"TextField_module_trailingButton__15d88237","wrapperFilledFocus":"TextField_module_wrapperFilledFocus__15d88237","wrapperErrorFocus":"TextField_module_wrapperErrorFocus__15d88237","trailingButtonIcon":"TextField_module_trailingButtonIcon__15d88237","trailingButtonText":"TextField_module_trailingButtonText__15d88237","disableTrailingButton":"TextField_module_disableTrailingButton__15d88237","errorFilledTrailingButton":"TextField_module_errorFilledTrailingButton__15d88237","error-filledTrailingButton":"TextField_module_errorFilledTrailingButton__15d88237","warningTrailingButton":"TextField_module_warningTrailingButton__15d88237"};
|
|
6863
|
+
n(css$z,{});
|
|
6864
|
+
|
|
6865
|
+
var _excluded$5 = ["label", "placeholder", "helperText", "value", "defaultValue", "state", "size", "type", "required", "disabled", "leadingIcon", "leadingIconComponent", "leadingText", "trailingButton", "trailingButtonText", "trailingButtonIcon", "trailingButtonIconComponent", "trailingButtonOnClick", "helpIcon", "helpText", "rightIcon", "leadingDropdown", "leadingDropdownOptions", "leadingDropdownValue", "leadingDropdownDefaultValue", "leadingDropdownPlaceholder", "trailingDropdown", "trailingDropdownOptions", "trailingDropdownValue", "trailingDropdownDefaultValue", "trailingDropdownPlaceholder", "onChange", "onFocus", "onBlur", "onLeadingDropdownChange", "onTrailingDropdownChange", "className", "id", "name", "autoComplete", "autoFocus", "readOnly", "unstyled"];
|
|
6866
|
+
var TextField$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6867
|
+
var label = _ref.label,
|
|
6868
|
+
_ref$placeholder = _ref.placeholder,
|
|
6869
|
+
placeholder = _ref$placeholder === void 0 ? 'Optional placeholder text' : _ref$placeholder,
|
|
6870
|
+
_ref$helperText = _ref.helperText,
|
|
6871
|
+
helperText = _ref$helperText === void 0 ? 'Helper text' : _ref$helperText,
|
|
6872
|
+
value = _ref.value,
|
|
6873
|
+
defaultValue = _ref.defaultValue,
|
|
6874
|
+
_ref$state = _ref.state,
|
|
6875
|
+
state = _ref$state === void 0 ? 'default' : _ref$state,
|
|
6876
|
+
_ref$size = _ref.size,
|
|
6877
|
+
size = _ref$size === void 0 ? 'sm' : _ref$size;
|
|
6878
|
+
_ref.type;
|
|
6879
|
+
var _ref$required = _ref.required,
|
|
6880
|
+
required = _ref$required === void 0 ? true : _ref$required,
|
|
6881
|
+
_ref$disabled = _ref.disabled,
|
|
6882
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
6883
|
+
_ref$leadingIcon = _ref.leadingIcon,
|
|
6884
|
+
leadingIcon = _ref$leadingIcon === void 0 ? true : _ref$leadingIcon,
|
|
6885
|
+
LeadingIconComponent = _ref.leadingIconComponent,
|
|
6886
|
+
leadingText = _ref.leadingText,
|
|
6887
|
+
trailingButton = _ref.trailingButton,
|
|
6888
|
+
_ref$trailingButtonTe = _ref.trailingButtonText,
|
|
6889
|
+
trailingButtonText = _ref$trailingButtonTe === void 0 ? 'Copy' : _ref$trailingButtonTe,
|
|
6890
|
+
trailingButtonIcon = _ref.trailingButtonIcon,
|
|
6891
|
+
TrailingButtonIconComponent = _ref.trailingButtonIconComponent,
|
|
6892
|
+
trailingButtonOnClick = _ref.trailingButtonOnClick,
|
|
6893
|
+
_ref$helpIcon = _ref.helpIcon,
|
|
6894
|
+
helpIcon = _ref$helpIcon === void 0 ? true : _ref$helpIcon,
|
|
6895
|
+
helpText = _ref.helpText,
|
|
6896
|
+
rightIcon = _ref.rightIcon,
|
|
6897
|
+
leadingDropdown = _ref.leadingDropdown,
|
|
6898
|
+
_ref$leadingDropdownO = _ref.leadingDropdownOptions,
|
|
6899
|
+
leadingDropdownOptions = _ref$leadingDropdownO === void 0 ? [] : _ref$leadingDropdownO,
|
|
6900
|
+
leadingDropdownValue = _ref.leadingDropdownValue,
|
|
6901
|
+
leadingDropdownDefaultValue = _ref.leadingDropdownDefaultValue,
|
|
6902
|
+
_ref$leadingDropdownP = _ref.leadingDropdownPlaceholder,
|
|
6903
|
+
leadingDropdownPlaceholder = _ref$leadingDropdownP === void 0 ? 'Select' : _ref$leadingDropdownP,
|
|
6904
|
+
trailingDropdown = _ref.trailingDropdown,
|
|
6905
|
+
_ref$trailingDropdown = _ref.trailingDropdownOptions,
|
|
6906
|
+
trailingDropdownOptions = _ref$trailingDropdown === void 0 ? [] : _ref$trailingDropdown,
|
|
6907
|
+
trailingDropdownValue = _ref.trailingDropdownValue,
|
|
6908
|
+
trailingDropdownDefaultValue = _ref.trailingDropdownDefaultValue,
|
|
6909
|
+
_ref$trailingDropdown2 = _ref.trailingDropdownPlaceholder,
|
|
6910
|
+
trailingDropdownPlaceholder = _ref$trailingDropdown2 === void 0 ? 'Select' : _ref$trailingDropdown2,
|
|
6911
|
+
onChange = _ref.onChange,
|
|
6912
|
+
onFocus = _ref.onFocus,
|
|
6913
|
+
onBlur = _ref.onBlur,
|
|
6914
|
+
onLeadingDropdownChange = _ref.onLeadingDropdownChange,
|
|
6915
|
+
onTrailingDropdownChange = _ref.onTrailingDropdownChange,
|
|
6916
|
+
className = _ref.className,
|
|
6917
|
+
id = _ref.id,
|
|
6918
|
+
name = _ref.name,
|
|
6919
|
+
autoComplete = _ref.autoComplete,
|
|
6920
|
+
autoFocus = _ref.autoFocus,
|
|
6921
|
+
readOnly = _ref.readOnly,
|
|
6922
|
+
_ref$unstyled = _ref.unstyled,
|
|
6923
|
+
unstyled = _ref$unstyled === void 0 ? false : _ref$unstyled,
|
|
6924
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
6925
|
+
var _useState = React.useState(defaultValue || ''),
|
|
6926
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
6927
|
+
internalValue = _useState2[0],
|
|
6928
|
+
setInternalValue = _useState2[1];
|
|
6929
|
+
var _useState3 = React.useState(false),
|
|
6930
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
6931
|
+
isFocused = _useState4[0],
|
|
6932
|
+
setIsFocused = _useState4[1];
|
|
6933
|
+
// Dropdown state management
|
|
6934
|
+
var _useState5 = React.useState(leadingDropdownDefaultValue || ''),
|
|
6935
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
6936
|
+
internalLeadingDropdownValue = _useState6[0],
|
|
6937
|
+
setInternalLeadingDropdownValue = _useState6[1];
|
|
6938
|
+
var _useState7 = React.useState(trailingDropdownDefaultValue || ''),
|
|
6939
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
6940
|
+
internalTrailingDropdownValue = _useState8[0],
|
|
6941
|
+
setInternalTrailingDropdownValue = _useState8[1];
|
|
6942
|
+
// Determine current display values
|
|
6943
|
+
var displayValue = value !== undefined ? value : internalValue;
|
|
6944
|
+
var displayLeadingDropdownValue = leadingDropdownValue !== undefined ? leadingDropdownValue : internalLeadingDropdownValue;
|
|
6945
|
+
var displayTrailingDropdownValue = trailingDropdownValue !== undefined ? trailingDropdownValue : internalTrailingDropdownValue;
|
|
6946
|
+
// Determine actual state based on props and internal state
|
|
6947
|
+
var getActualState = function getActualState() {
|
|
6948
|
+
if (disabled) return 'disable';
|
|
6949
|
+
if (state !== 'default') return state;
|
|
6950
|
+
// Auto-determine state based on content and focus
|
|
6951
|
+
if (isFocused && displayValue) return 'filled-focus';
|
|
6952
|
+
if (isFocused && !displayValue) return 'active-typing';
|
|
6953
|
+
if (!isFocused && displayValue) return 'filled';
|
|
6954
|
+
return 'default';
|
|
6955
|
+
};
|
|
6956
|
+
var actualState = getActualState();
|
|
6957
|
+
// Determine helper text color
|
|
6958
|
+
var getHelperTextClass = function getHelperTextClass() {
|
|
6959
|
+
switch (actualState) {
|
|
6960
|
+
case 'error-focus':
|
|
6961
|
+
case 'error-filled':
|
|
6962
|
+
return modules_555c3abf.helperError;
|
|
6963
|
+
case 'warning':
|
|
6964
|
+
return modules_555c3abf.helperWarning;
|
|
6965
|
+
default:
|
|
6966
|
+
return modules_555c3abf.helperDefault;
|
|
6967
|
+
}
|
|
6968
|
+
};
|
|
6969
|
+
// Show status icon (error/warning)
|
|
6970
|
+
var showStatusIcon = function showStatusIcon() {
|
|
6971
|
+
return actualState === 'error-filled' || actualState === 'warning';
|
|
6972
|
+
};
|
|
6973
|
+
// Get appropriate status icon
|
|
6974
|
+
var getStatusIcon = function getStatusIcon() {
|
|
6975
|
+
switch (actualState) {
|
|
6976
|
+
case 'error-filled':
|
|
6977
|
+
case 'error-focus':
|
|
6978
|
+
return jsxRuntime.jsx(Error$1, {
|
|
6979
|
+
hexagon: true
|
|
6980
|
+
});
|
|
6981
|
+
case 'warning':
|
|
6982
|
+
return jsxRuntime.jsx(Warning, {
|
|
6983
|
+
hexagon: true
|
|
6984
|
+
});
|
|
6985
|
+
default:
|
|
6986
|
+
return null;
|
|
6987
|
+
}
|
|
6988
|
+
};
|
|
6989
|
+
// Handle input change
|
|
6990
|
+
var handleChange = function handleChange(e) {
|
|
6991
|
+
var newValue = e.target.value;
|
|
6992
|
+
if (value === undefined) {
|
|
6993
|
+
setInternalValue(newValue);
|
|
6994
|
+
}
|
|
6995
|
+
onChange === null || onChange === void 0 || onChange(e);
|
|
6996
|
+
};
|
|
6997
|
+
// Handle focus
|
|
6998
|
+
var handleFocus = function handleFocus(e) {
|
|
6999
|
+
setIsFocused(true);
|
|
7000
|
+
// Position cursor at the end of existing text to prevent text clearing
|
|
7001
|
+
setTimeout(function () {
|
|
7002
|
+
if (e.target && displayValue) {
|
|
7003
|
+
e.target.setSelectionRange(displayValue.length, displayValue.length);
|
|
7004
|
+
}
|
|
7005
|
+
}, 0);
|
|
7006
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
7007
|
+
};
|
|
7008
|
+
// Handle blur
|
|
7009
|
+
var handleBlur = function handleBlur(e) {
|
|
7010
|
+
setIsFocused(false);
|
|
7011
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
7012
|
+
};
|
|
7013
|
+
// Handle dropdown changes
|
|
7014
|
+
var handleLeadingDropdownChange = function handleLeadingDropdownChange(dropdownValue) {
|
|
7015
|
+
if (leadingDropdownValue === undefined) {
|
|
7016
|
+
setInternalLeadingDropdownValue(dropdownValue);
|
|
7017
|
+
}
|
|
7018
|
+
onLeadingDropdownChange === null || onLeadingDropdownChange === void 0 || onLeadingDropdownChange(dropdownValue);
|
|
7019
|
+
};
|
|
7020
|
+
var handleTrailingDropdownChange = function handleTrailingDropdownChange(dropdownValue) {
|
|
7021
|
+
if (trailingDropdownValue === undefined) {
|
|
7022
|
+
setInternalTrailingDropdownValue(dropdownValue);
|
|
7023
|
+
}
|
|
7024
|
+
onTrailingDropdownChange === null || onTrailingDropdownChange === void 0 || onTrailingDropdownChange(dropdownValue);
|
|
7025
|
+
};
|
|
7026
|
+
// Return unstyled input if requested
|
|
7027
|
+
if (unstyled) {
|
|
7028
|
+
return jsxRuntime.jsx("input", _objectSpread2({
|
|
7029
|
+
ref: ref,
|
|
7030
|
+
type: 'text',
|
|
7031
|
+
value: displayValue,
|
|
7032
|
+
placeholder: placeholder,
|
|
7033
|
+
onChange: handleChange,
|
|
7034
|
+
onFocus: handleFocus,
|
|
7035
|
+
onBlur: handleBlur,
|
|
7036
|
+
disabled: disabled,
|
|
7037
|
+
readOnly: readOnly,
|
|
7038
|
+
className: className,
|
|
7039
|
+
id: id,
|
|
7040
|
+
name: name,
|
|
7041
|
+
autoComplete: autoComplete,
|
|
7042
|
+
autoFocus: autoFocus
|
|
7043
|
+
}, props));
|
|
7044
|
+
}
|
|
7045
|
+
return jsxRuntime.jsxs("div", {
|
|
7046
|
+
className: classes(modules_555c3abf.textField, className),
|
|
7047
|
+
children: [label && jsxRuntime.jsxs("div", {
|
|
7048
|
+
className: modules_555c3abf.labelContainer,
|
|
7049
|
+
children: [jsxRuntime.jsx("span", {
|
|
7050
|
+
className: modules_555c3abf.label,
|
|
7051
|
+
children: label
|
|
7052
|
+
}), required && jsxRuntime.jsx("span", {
|
|
7053
|
+
className: modules_555c3abf.required,
|
|
7054
|
+
children: "*"
|
|
7055
|
+
}), helpIcon && jsxRuntime.jsx(Tooltip$1, {
|
|
7056
|
+
content: helpText || 'Additional information about this field',
|
|
7057
|
+
position: 'top',
|
|
7058
|
+
children: jsxRuntime.jsx("div", {
|
|
7059
|
+
className: modules_555c3abf.helpIcon,
|
|
7060
|
+
children: jsxRuntime.jsx(Help, {})
|
|
7061
|
+
})
|
|
7062
|
+
})]
|
|
7063
|
+
}), jsxRuntime.jsxs("div", {
|
|
7064
|
+
className: classes(modules_555c3abf.inputWrapper, trailingButton && modules_555c3abf.inputWrapperWithTrailingButton, trailingButton && actualState === 'filled-focus' && modules_555c3abf.wrapperFilledFocus, trailingButton && actualState === 'error-focus' && modules_555c3abf.wrapperErrorFocus),
|
|
7065
|
+
children: [jsxRuntime.jsxs("div", {
|
|
7066
|
+
className: classes(modules_555c3abf.inputContainer, modules_555c3abf[actualState], modules_555c3abf[size], trailingButton && modules_555c3abf.inputContainerWithTrailingButton),
|
|
7067
|
+
children: [leadingDropdown && jsxRuntime.jsx("div", {
|
|
7068
|
+
className: modules_555c3abf.leadingDropdownWrapper,
|
|
7069
|
+
children: jsxRuntime.jsx(Dropdown$1, {
|
|
7070
|
+
options: leadingDropdownOptions,
|
|
7071
|
+
value: displayLeadingDropdownValue,
|
|
7072
|
+
placeholder: leadingDropdownPlaceholder,
|
|
7073
|
+
onChange: handleLeadingDropdownChange,
|
|
7074
|
+
variant: 'borderless',
|
|
7075
|
+
size: size,
|
|
7076
|
+
state: actualState === 'disable' ? 'disabled' : 'default',
|
|
7077
|
+
disabled: disabled,
|
|
7078
|
+
readOnly: readOnly,
|
|
7079
|
+
helpIcon: false,
|
|
7080
|
+
label: '',
|
|
7081
|
+
helperText: '',
|
|
7082
|
+
className: modules_555c3abf.inlineDropdown,
|
|
7083
|
+
popoverClassName: modules_555c3abf.leadingDropdownPopover
|
|
7084
|
+
})
|
|
7085
|
+
}), leadingText && jsxRuntime.jsx("div", {
|
|
7086
|
+
className: modules_555c3abf.leadingText,
|
|
7087
|
+
children: jsxRuntime.jsx("span", {
|
|
7088
|
+
className: modules_555c3abf.leadingTextContent,
|
|
7089
|
+
children: leadingText
|
|
7090
|
+
})
|
|
7091
|
+
}), jsxRuntime.jsxs("div", {
|
|
7092
|
+
className: classes(modules_555c3abf.inputFieldArea, leadingDropdown && modules_555c3abf.inputFieldAreaWithLeadingDropdown, leadingText && modules_555c3abf.inputFieldAreaWithLeadingText),
|
|
7093
|
+
children: [jsxRuntime.jsxs("div", {
|
|
7094
|
+
className: modules_555c3abf.inputContent,
|
|
7095
|
+
children: [!leadingText && !leadingDropdown && leadingIcon && LeadingIconComponent && jsxRuntime.jsx("div", {
|
|
7096
|
+
className: modules_555c3abf.leadingIcon,
|
|
7097
|
+
children: jsxRuntime.jsx(LeadingIconComponent, {})
|
|
7098
|
+
}), jsxRuntime.jsx("input", _objectSpread2({
|
|
7099
|
+
ref: ref,
|
|
7100
|
+
type: 'text',
|
|
7101
|
+
value: displayValue,
|
|
7102
|
+
placeholder: placeholder,
|
|
7103
|
+
onChange: handleChange,
|
|
7104
|
+
onFocus: handleFocus,
|
|
7105
|
+
onBlur: handleBlur,
|
|
7106
|
+
disabled: disabled,
|
|
7107
|
+
readOnly: readOnly,
|
|
7108
|
+
className: modules_555c3abf.mainInput,
|
|
7109
|
+
id: id,
|
|
7110
|
+
name: name,
|
|
7111
|
+
autoComplete: autoComplete,
|
|
7112
|
+
autoFocus: autoFocus
|
|
7113
|
+
}, props))]
|
|
7114
|
+
}), jsxRuntime.jsxs("div", {
|
|
7115
|
+
className: modules_555c3abf.trailingArea,
|
|
7116
|
+
children: [showStatusIcon() && jsxRuntime.jsx("div", {
|
|
7117
|
+
className: modules_555c3abf.statusIcon,
|
|
7118
|
+
children: getStatusIcon()
|
|
7119
|
+
}), rightIcon && jsxRuntime.jsx("div", {
|
|
7120
|
+
className: modules_555c3abf.rightIcon,
|
|
7121
|
+
children: /*#__PURE__*/React.createElement(rightIcon, {
|
|
7122
|
+
className: modules_555c3abf.iconComponent
|
|
7123
|
+
})
|
|
7124
|
+
}), trailingDropdown && jsxRuntime.jsx("div", {
|
|
7125
|
+
className: modules_555c3abf.trailingDropdown,
|
|
7126
|
+
children: jsxRuntime.jsx(Dropdown$1, {
|
|
7127
|
+
options: trailingDropdownOptions,
|
|
7128
|
+
value: displayTrailingDropdownValue,
|
|
7129
|
+
placeholder: trailingDropdownPlaceholder,
|
|
7130
|
+
onChange: handleTrailingDropdownChange,
|
|
7131
|
+
variant: 'borderless',
|
|
7132
|
+
size: size,
|
|
7133
|
+
state: actualState === 'disable' ? 'disabled' : 'default',
|
|
7134
|
+
disabled: disabled,
|
|
7135
|
+
readOnly: readOnly,
|
|
7136
|
+
helpIcon: false,
|
|
7137
|
+
label: '',
|
|
7138
|
+
helperText: '',
|
|
7139
|
+
className: modules_555c3abf.inlineDropdown,
|
|
7140
|
+
popoverClassName: modules_555c3abf.trailingDropdownPopover
|
|
7141
|
+
})
|
|
7142
|
+
})]
|
|
7143
|
+
})]
|
|
7144
|
+
})]
|
|
7145
|
+
}), trailingButton && jsxRuntime.jsx(Button$1, {
|
|
7146
|
+
title: trailingButtonText,
|
|
7147
|
+
leftComponent: trailingButtonIcon && TrailingButtonIconComponent ? TrailingButtonIconComponent : undefined,
|
|
7148
|
+
onClick: trailingButtonOnClick,
|
|
7149
|
+
type: 'button',
|
|
7150
|
+
variant: 'ghost',
|
|
7151
|
+
size: size === 'sm' ? 'sm' : 'md',
|
|
7152
|
+
className: classes(modules_555c3abf.trailingButton, modules_555c3abf[actualState + 'TrailingButton'], modules_555c3abf[size], disabled && modules_555c3abf.disableTrailingButton),
|
|
7153
|
+
disabled: disabled
|
|
7154
|
+
})]
|
|
7155
|
+
}), helperText && jsxRuntime.jsx("div", {
|
|
7156
|
+
className: classes(modules_555c3abf.helperText, getHelperTextClass()),
|
|
7157
|
+
children: helperText
|
|
7158
|
+
})]
|
|
7159
|
+
});
|
|
7160
|
+
});
|
|
7161
|
+
TextField$1.displayName = 'TextField';
|
|
7162
|
+
|
|
7163
|
+
var _excluded$4 = ["type", "size"];
|
|
7164
|
+
var statusStyles = {
|
|
7165
|
+
warning: {
|
|
7166
|
+
fill: '#F79009',
|
|
7167
|
+
stroke: '#FEF0C7'
|
|
7168
|
+
},
|
|
7169
|
+
error: {
|
|
7170
|
+
fill: '#D92D20',
|
|
7171
|
+
stroke: '#FEE4E2'
|
|
7172
|
+
},
|
|
7173
|
+
success: {
|
|
7174
|
+
fill: '#039855',
|
|
7175
|
+
stroke: '#D1FADF'
|
|
7176
|
+
}
|
|
7177
|
+
};
|
|
7178
|
+
var Indicator = function Indicator(_ref) {
|
|
7179
|
+
var type = _ref.type,
|
|
7180
|
+
_ref$size = _ref.size,
|
|
7181
|
+
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
7182
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
7183
|
+
var colors = statusStyles[type];
|
|
7184
|
+
return jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
|
|
7185
|
+
width: size,
|
|
7186
|
+
height: size,
|
|
7187
|
+
viewBox: '0 0 8 8',
|
|
7188
|
+
fill: 'none',
|
|
7189
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
7190
|
+
style: {
|
|
7191
|
+
aspectRatio: '1 / 1',
|
|
7192
|
+
display: 'block'
|
|
7193
|
+
}
|
|
7194
|
+
}, props), {}, {
|
|
7195
|
+
children: [jsxRuntime.jsx("g", {
|
|
7196
|
+
clipPath: 'url(#indicator_clip)',
|
|
7197
|
+
children: jsxRuntime.jsx("circle", {
|
|
7198
|
+
cx: '4',
|
|
7199
|
+
cy: '4',
|
|
7200
|
+
r: '3.25',
|
|
7201
|
+
fill: colors.fill,
|
|
7202
|
+
stroke: colors.stroke,
|
|
7203
|
+
strokeWidth: '1.5'
|
|
7204
|
+
})
|
|
7205
|
+
}), jsxRuntime.jsx("defs", {
|
|
7206
|
+
children: jsxRuntime.jsx("clipPath", {
|
|
7207
|
+
id: 'indicator_clip',
|
|
7208
|
+
children: jsxRuntime.jsx("rect", {
|
|
7209
|
+
width: '8',
|
|
7210
|
+
height: '8',
|
|
7211
|
+
fill: 'white'
|
|
7212
|
+
})
|
|
7213
|
+
})
|
|
7214
|
+
})]
|
|
7215
|
+
}));
|
|
7216
|
+
};
|
|
7217
|
+
|
|
7218
|
+
var _excluded$3 = ["size", "color"];
|
|
7219
|
+
var TagCloserLg = function TagCloserLg(_ref) {
|
|
7220
|
+
var _ref$size = _ref.size,
|
|
7221
|
+
size = _ref$size === void 0 ? 20 : _ref$size,
|
|
7222
|
+
_ref$color = _ref.color,
|
|
7223
|
+
color = _ref$color === void 0 ? '#A4A7AE' : _ref$color,
|
|
7224
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
7225
|
+
return jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
|
|
7226
|
+
width: size,
|
|
7227
|
+
height: size,
|
|
7228
|
+
viewBox: '0 0 20 20',
|
|
7229
|
+
fill: 'none',
|
|
7230
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
7231
|
+
}, props), {}, {
|
|
7232
|
+
children: [jsxRuntime.jsx("path", {
|
|
7233
|
+
d: 'M6.5 6.5L13.5 13.5',
|
|
7234
|
+
stroke: color,
|
|
7235
|
+
strokeWidth: '1.6',
|
|
7236
|
+
strokeLinecap: 'round'
|
|
7237
|
+
}), jsxRuntime.jsx("path", {
|
|
7238
|
+
d: 'M6.5 13.5L13.5 6.5',
|
|
7239
|
+
stroke: color,
|
|
7240
|
+
strokeWidth: '1.6',
|
|
7241
|
+
strokeLinecap: 'round'
|
|
7242
|
+
})]
|
|
7243
|
+
}));
|
|
7244
|
+
};
|
|
7245
|
+
|
|
7246
|
+
var _excluded$2 = ["size", "color"];
|
|
7247
|
+
var TagCloserMd = function TagCloserMd(_ref) {
|
|
7248
|
+
var _ref$size = _ref.size,
|
|
7249
|
+
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
7250
|
+
_ref$color = _ref.color,
|
|
7251
|
+
color = _ref$color === void 0 ? '#A4A7AE' : _ref$color,
|
|
7252
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
7253
|
+
return jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
|
|
7254
|
+
width: size,
|
|
7255
|
+
height: size,
|
|
7256
|
+
viewBox: '0 0 16 16',
|
|
7257
|
+
fill: 'none',
|
|
7258
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
7259
|
+
}, props), {}, {
|
|
7260
|
+
children: [jsxRuntime.jsx("path", {
|
|
7261
|
+
d: 'M5 5L11 11',
|
|
7262
|
+
stroke: color,
|
|
7263
|
+
strokeWidth: '1.5',
|
|
7264
|
+
strokeLinecap: 'round'
|
|
7265
|
+
}), jsxRuntime.jsx("path", {
|
|
7266
|
+
d: 'M5 11L11 5',
|
|
7267
|
+
stroke: color,
|
|
7268
|
+
strokeWidth: '1.5',
|
|
7269
|
+
strokeLinecap: 'round'
|
|
7270
|
+
})]
|
|
7271
|
+
}));
|
|
7272
|
+
};
|
|
7273
|
+
|
|
7274
|
+
var TagCountLg = function TagCountLg(_ref) {
|
|
7275
|
+
var _ref$count = _ref.count,
|
|
7276
|
+
count = _ref$count === void 0 ? 0 : _ref$count,
|
|
7277
|
+
_ref$bgColor = _ref.bgColor,
|
|
7278
|
+
bgColor = _ref$bgColor === void 0 ? '#F5F5F5' : _ref$bgColor,
|
|
7279
|
+
_ref$textColor = _ref.textColor,
|
|
7280
|
+
textColor = _ref$textColor === void 0 ? '#414651' : _ref$textColor;
|
|
7281
|
+
var containerStyle = {
|
|
7282
|
+
display: 'inline-flex',
|
|
7283
|
+
height: '20px',
|
|
7284
|
+
padding: '0 6px',
|
|
7285
|
+
flexDirection: 'row',
|
|
7286
|
+
justifyContent: 'center',
|
|
7287
|
+
alignItems: 'center',
|
|
7288
|
+
borderRadius: '3px',
|
|
7289
|
+
background: bgColor,
|
|
7290
|
+
color: textColor,
|
|
7291
|
+
fontSize: '12px',
|
|
7292
|
+
fontWeight: 500,
|
|
7293
|
+
lineHeight: '20px',
|
|
7294
|
+
whiteSpace: 'nowrap'
|
|
7295
|
+
};
|
|
7296
|
+
return jsxRuntime.jsx("div", {
|
|
7297
|
+
style: containerStyle,
|
|
7298
|
+
children: count
|
|
6225
7299
|
});
|
|
6226
7300
|
};
|
|
6227
7301
|
|
|
6228
|
-
var
|
|
7302
|
+
var TagCountMd = function TagCountMd(_ref) {
|
|
7303
|
+
var _ref$count = _ref.count,
|
|
7304
|
+
count = _ref$count === void 0 ? 0 : _ref$count,
|
|
7305
|
+
_ref$bgColor = _ref.bgColor,
|
|
7306
|
+
bgColor = _ref$bgColor === void 0 ? '#F5F5F5' : _ref$bgColor,
|
|
7307
|
+
_ref$textColor = _ref.textColor,
|
|
7308
|
+
textColor = _ref$textColor === void 0 ? '#414651' : _ref$textColor;
|
|
7309
|
+
var containerStyle = {
|
|
7310
|
+
display: 'inline-flex',
|
|
7311
|
+
height: '18px',
|
|
7312
|
+
padding: '0 5px',
|
|
7313
|
+
flexDirection: 'row',
|
|
7314
|
+
justifyContent: 'center',
|
|
7315
|
+
alignItems: 'center',
|
|
7316
|
+
borderRadius: '3px',
|
|
7317
|
+
background: bgColor,
|
|
7318
|
+
color: textColor,
|
|
7319
|
+
fontSize: '12px',
|
|
7320
|
+
fontWeight: 500,
|
|
7321
|
+
lineHeight: '18px',
|
|
7322
|
+
whiteSpace: 'nowrap'
|
|
7323
|
+
};
|
|
7324
|
+
return jsxRuntime.jsx("div", {
|
|
7325
|
+
style: containerStyle,
|
|
7326
|
+
children: count
|
|
7327
|
+
});
|
|
7328
|
+
};
|
|
7329
|
+
|
|
7330
|
+
var TagCountSm = function TagCountSm(_ref) {
|
|
7331
|
+
var _ref$count = _ref.count,
|
|
7332
|
+
count = _ref$count === void 0 ? 0 : _ref$count,
|
|
7333
|
+
_ref$bgColor = _ref.bgColor,
|
|
7334
|
+
bgColor = _ref$bgColor === void 0 ? '#F5F5F5' : _ref$bgColor,
|
|
7335
|
+
_ref$textColor = _ref.textColor,
|
|
7336
|
+
textColor = _ref$textColor === void 0 ? '#414651' : _ref$textColor;
|
|
7337
|
+
var containerStyle = {
|
|
7338
|
+
display: 'inline-flex',
|
|
7339
|
+
height: '16px',
|
|
7340
|
+
padding: '0 4px',
|
|
7341
|
+
flexDirection: 'row',
|
|
7342
|
+
gap: '10px',
|
|
7343
|
+
justifyContent: 'center',
|
|
7344
|
+
alignItems: 'center',
|
|
7345
|
+
borderRadius: '3px',
|
|
7346
|
+
background: bgColor,
|
|
7347
|
+
color: textColor,
|
|
7348
|
+
fontSize: '10px',
|
|
7349
|
+
fontWeight: 500,
|
|
7350
|
+
lineHeight: '16px',
|
|
7351
|
+
whiteSpace: 'nowrap'
|
|
7352
|
+
};
|
|
7353
|
+
return jsxRuntime.jsx("div", {
|
|
7354
|
+
style: containerStyle,
|
|
7355
|
+
children: count
|
|
7356
|
+
});
|
|
7357
|
+
};
|
|
7358
|
+
|
|
7359
|
+
var css$y = ".Tags_module_tag__0f57c67e {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: max-content;\n white-space: nowrap;\n box-sizing: border-box;\n cursor: default;\n transition: all 0.2s ease;\n border-radius: var(--radius-sm, 6px);\n border: 1px solid var(--bordercolor-border-primary, #d5d7da);\n background: var(--backgroundcolor-bg-primary, #fff);\n color: var(--textcolor-text-secondary, #414651);\n font-style: normal;\n font-weight: var(--font-weight-medium, 500);\n}\n.Tags_module_tag__indicator__0f57c67e {\n flex-shrink: 0;\n display: block;\n margin-right: 0;\n}\n.Tags_module_tag__indicator_ClosableSm__0f57c67e {\n margin-right: 4px;\n}\n.Tags_module_tag__indicator_ClosableMd__0f57c67e {\n margin-right: 5px;\n}\n.Tags_module_tag__indicator_ClosableLg__0f57c67e {\n margin-right: 6px;\n}\n.Tags_module_tag__indicator_CheckboxClosableSm__0f57c67e {\n margin-left: 4px;\n margin-right: 4px;\n}\n.Tags_module_tag__indicator_CheckboxClosableMd__0f57c67e {\n margin-left: 5px;\n margin-right: 5px;\n}\n.Tags_module_tag__indicator_CheckboxClosableLg__0f57c67e {\n margin-left: 6px;\n margin-right: 6px;\n}\n.Tags_module_tag__logo__0f57c67e {\n flex-shrink: 0;\n display: block;\n}\n.Tags_module_tag__logo__0f57c67e svg {\n width: 100%;\n height: 100%;\n display: block;\n}\n.Tags_module_tag__logo_ClosableSm__0f57c67e {\n margin-right: 4px;\n}\n.Tags_module_tag__logo_ClosableMd__0f57c67e {\n margin-right: 5px;\n}\n.Tags_module_tag__logo_ClosableLg__0f57c67e {\n margin-right: 6px;\n}\n.Tags_module_tag__logo_CheckboxClosableSm__0f57c67e {\n margin-left: 4px;\n margin-right: 4px;\n}\n.Tags_module_tag__logo_CheckboxClosableMd__0f57c67e {\n margin-left: 5px;\n margin-right: 5px;\n}\n.Tags_module_tag__logo_CheckboxClosableLg__0f57c67e {\n margin-left: 6px;\n margin-right: 6px;\n}\n.Tags_module_tag__closer__0f57c67e {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.Tags_module_tag__closer__0f57c67e:hover {\n color: #717680;\n}\n.Tags_module_tag__closer__0f57c67e:hover svg * {\n stroke: #717680;\n fill: #717680;\n}\n.Tags_module_tag__closer_Sm__0f57c67e {\n margin-left: 3px;\n}\n.Tags_module_tag__closer_Md__0f57c67e {\n margin-left: 3px;\n}\n.Tags_module_tag__closer_Lg__0f57c67e {\n margin-left: 3px;\n}\n.Tags_module_tag__closer_CheckboxIndicatorSm__0f57c67e {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n margin-left: 3px;\n cursor: pointer;\n}\n.Tags_module_tag__closer_CheckboxIndicatorSm__0f57c67e:hover {\n color: #717680;\n}\n.Tags_module_tag__closer_CheckboxIndicatorSm__0f57c67e:hover svg * {\n stroke: #717680;\n fill: #717680;\n}\n.Tags_module_tag__closer_CheckboxIndicatorMd__0f57c67e {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n margin-left: 3px;\n cursor: pointer;\n}\n.Tags_module_tag__closer_CheckboxIndicatorMd__0f57c67e:hover {\n color: #717680;\n}\n.Tags_module_tag__closer_CheckboxIndicatorMd__0f57c67e:hover svg * {\n stroke: #717680;\n fill: #717680;\n}\n.Tags_module_tag__closer_CheckboxIndicatorLg__0f57c67e {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n margin-left: 3px;\n cursor: pointer;\n}\n.Tags_module_tag__closer_CheckboxIndicatorLg__0f57c67e:hover {\n color: #717680;\n}\n.Tags_module_tag__closer_CheckboxIndicatorLg__0f57c67e:hover svg * {\n stroke: #717680;\n fill: #717680;\n}\n.Tags_module_tag__count__0f57c67e {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.Tags_module_tag__count_Sm__0f57c67e {\n margin-left: 4px;\n}\n.Tags_module_tag__count_Md__0f57c67e {\n margin-left: 5px;\n}\n.Tags_module_tag__count_Lg__0f57c67e {\n margin-left: 6px;\n}\n.Tags_module_tag__count_CheckboxIndicatorSm__0f57c67e {\n margin-left: 4px;\n}\n.Tags_module_tag__count_CheckboxIndicatorMd__0f57c67e {\n margin-left: 5px;\n}\n.Tags_module_tag__count_CheckboxIndicatorLg__0f57c67e {\n margin-left: 6px;\n}\n.Tags_module_tag__count_CountSm__0f57c67e {\n margin-left: 3px;\n}\n.Tags_module_tag__count_CountMd__0f57c67e {\n margin-left: 3px;\n}\n.Tags_module_tag__count_CountLg__0f57c67e {\n margin-left: 3px;\n}\n.Tags_module_tag__count_CheckboxSm__0f57c67e {\n margin-left: 4px;\n}\n.Tags_module_tag__count_CheckboxMd__0f57c67e {\n margin-left: 5px;\n}\n.Tags_module_tag__count_CheckboxLg__0f57c67e {\n margin-left: 6px;\n}\n.Tags_module_tag__input__0f57c67e {\n flex: 1;\n min-width: 0;\n border: none;\n outline: none;\n background: transparent;\n padding: 0;\n margin: 0;\n color: var(--Textcolor-Text-Secondary, #414651);\n font-style: normal;\n font-weight: var(--font-weight-Medium, 500);\n font-family: inherit;\n line-height: inherit;\n}\n.Tags_module_tag__input__0f57c67e::placeholder {\n color: var(--Textcolor-Text-Placeholder, #9aa0ab);\n}\n.Tags_module_tag__input_Sm__0f57c67e {\n font-size: var(--font-size-12, 12px);\n line-height: var(--Line-height-16, 16px);\n}\n.Tags_module_tag__input_Md__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__input_Lg__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_sizer__0f57c67e {\n position: absolute;\n visibility: hidden;\n white-space: pre;\n font-style: normal;\n font-weight: var(--font-weight-Medium, 500);\n font-family: Jakarta Sans, sans-serif;\n pointer-events: none;\n top: -9999px;\n left: -9999px;\n max-width: none;\n width: auto;\n}\n.Tags_module_tag__textfield_sizer_Sm__0f57c67e {\n font-size: var(--font-size-12, 12px);\n line-height: var(--Line-height-16, 16px);\n}\n.Tags_module_tag__textfield_sizer_Md__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_sizer_Lg__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_label__0f57c67e {\n flex-shrink: 0;\n white-space: nowrap;\n color: var(--textcolor-text-quanternary, #717680);\n font-style: normal;\n font-weight: var(--font-weight-medium, 500);\n font-family: Jakarta Sans, sans-serif;\n}\n.Tags_module_tag__textfield_label_Sm__0f57c67e {\n font-size: var(--font-size-12, 12px);\n line-height: var(--Line-height-16, 16px);\n}\n.Tags_module_tag__textfield_label_Md__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_label_Lg__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_input__0f57c67e {\n min-width: 20px;\n width: 20px;\n flex: 0 0 auto;\n border: none;\n outline: none;\n background: transparent;\n padding: 0;\n margin: 0;\n color: var(--textcolor-text-secondary, #414651);\n font-style: normal;\n font-weight: var(--font-weight-medium, 500);\n font-family: Jakarta Sans, sans-serif;\n}\n.Tags_module_tag__textfield_input__0f57c67e::placeholder {\n color: var(--Textcolor-Text-Placeholder, #9aa0ab);\n}\n.Tags_module_tag__textfield_input_Sm__0f57c67e {\n font-size: var(--font-size-12, 12px);\n line-height: var(--Line-height-16, 16px);\n}\n.Tags_module_tag__textfield_input_Md__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_input_Lg__0f57c67e {\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag__textfield_closer__0f57c67e {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.Tags_module_tag__textfield_closer__0f57c67e:hover {\n color: #717680;\n}\n.Tags_module_tag__textfield_closer__0f57c67e:hover svg * {\n stroke: #717680;\n fill: #717680;\n}\n.Tags_module_tag_Sm__0f57c67e {\n height: 24px;\n padding: 0 8px;\n font-size: var(--font-size-12, 12px);\n line-height: var(--Line-height-16, 16px);\n}\n.Tags_module_tag_Sm_Closable__0f57c67e {\n padding: 0 4px 0 8px;\n gap: 3px;\n}\n.Tags_module_tag_Sm_Checkbox__0f57c67e {\n padding: 0 8px 0 5px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_Checkbox__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Sm_Checkbox__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Sm_CheckboxClosable__0f57c67e {\n padding: 0 4px 0 5px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_CheckboxClosable__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Sm_CheckboxClosable__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Sm_Indicator__0f57c67e {\n padding: 0 8px 0 6px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_IndicatorClosable__0f57c67e {\n padding: 0 4px 0 6px;\n}\n.Tags_module_tag_Sm_IndicatorCount__0f57c67e {\n padding: 0 4px 0 6px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_CheckboxIndicator__0f57c67e {\n padding: 0 8px 0 5px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_CheckboxIndicator__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Sm_CheckboxIndicator__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Sm_CheckboxIndicatorClosable__0f57c67e {\n padding: 0 4px 0 5px;\n}\n.Tags_module_tag_Sm_CheckboxIndicatorClosable__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Sm_CheckboxIndicatorClosable__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Sm_CheckboxIndicatorCount__0f57c67e {\n padding: 0 4px 0 5px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_CheckboxIndicatorCount__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Sm_CheckboxIndicatorCount__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Sm_Count__0f57c67e {\n padding: 0 4px 0 8px;\n}\n.Tags_module_tag_Sm_CheckboxCount__0f57c67e {\n padding: 0 4px 0 5px;\n gap: 4px;\n}\n.Tags_module_tag_Sm_CheckboxCount__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Sm_CheckboxCount__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Sm_Textfield__0f57c67e {\n padding: 0 4px 0 8px;\n gap: 3px;\n cursor: text;\n width: max-content;\n height: 24px;\n /* Consistent styling regardless of focus state */\n border: 1px solid var(--bordercolor-border-primary, #d5d7da);\n background: var(--backgroundcolor-bg-primary, #fff);\n}\n.Tags_module_tag_Sm_TextfieldReadonly__0f57c67e {\n cursor: default;\n /* Readonly state looks exactly like Figma static design */\n border: 1px solid var(--bordercolor-border-primary, #d5d7da);\n background: var(--backgroundcolor-bg-primary, #fff);\n}\n.Tags_module_tag_Sm_TextfieldReadonly__0f57c67e .Tags_module_tag__textfield_input__0f57c67e {\n pointer-events: none;\n cursor: default;\n color: var(--textcolor-text-secondary, #414651) !important;\n}\n.Tags_module_tag_Md__0f57c67e {\n height: 24px;\n padding: 0 9px;\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag_Md_Closable__0f57c67e {\n padding: 0 4px 0 9px;\n gap: 3px;\n}\n.Tags_module_tag_Md_Checkbox__0f57c67e {\n padding: 0 9px 0 4px;\n gap: 5px;\n}\n.Tags_module_tag_Md_Checkbox__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Md_Checkbox__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Md_CheckboxClosable__0f57c67e {\n padding: 0 4px 0 4px;\n gap: 5px;\n}\n.Tags_module_tag_Md_CheckboxClosable__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Md_CheckboxClosable__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Md_Indicator__0f57c67e {\n padding: 0 9px 0 7px;\n gap: 5px;\n}\n.Tags_module_tag_Md_IndicatorClosable__0f57c67e {\n padding: 0 4px 0 7px;\n}\n.Tags_module_tag_Md_IndicatorCount__0f57c67e {\n padding: 0 3px 0 7px;\n gap: 5px;\n}\n.Tags_module_tag_Md_CheckboxIndicator__0f57c67e {\n padding: 0 9px 0 4px;\n gap: 5px;\n}\n.Tags_module_tag_Md_CheckboxIndicator__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Md_CheckboxIndicator__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Md_CheckboxIndicatorClosable__0f57c67e {\n padding: 0 4px 0 4px;\n}\n.Tags_module_tag_Md_CheckboxIndicatorClosable__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Md_CheckboxIndicatorClosable__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Md_CheckboxIndicatorCount__0f57c67e {\n padding: 0 3px 0 4px;\n gap: 5px;\n}\n.Tags_module_tag_Md_CheckboxIndicatorCount__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Md_CheckboxIndicatorCount__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Md_Count__0f57c67e {\n padding: 0 4px 0 9px;\n}\n.Tags_module_tag_Md_CheckboxCount__0f57c67e {\n padding: 0 3px 0 4px;\n gap: 5px;\n}\n.Tags_module_tag_Md_CheckboxCount__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Md_CheckboxCount__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Md_Textfield__0f57c67e {\n padding: 0 4px 0 9px;\n gap: 3px;\n cursor: text;\n width: max-content;\n}\n.Tags_module_tag_Md_Textfield__0f57c67e:focus-within {\n border-color: var(--Bordercolor-border-focus, #84adff);\n box-shadow: 0 0 0 2px rgba(132, 173, 255, 0.2);\n}\n.Tags_module_tag_Lg__0f57c67e {\n height: 28px;\n padding: 0 10px;\n font-size: var(--font-size-14, 14px);\n line-height: var(--Line-height-20, 20px);\n}\n.Tags_module_tag_Lg_Closable__0f57c67e {\n padding: 0 4px 0 10px;\n gap: 3px;\n}\n.Tags_module_tag_Lg_Checkbox__0f57c67e {\n padding: 0 10px 0 5px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_Checkbox__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Lg_Checkbox__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Lg_CheckboxClosable__0f57c67e {\n padding: 0 4px 0 5px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_CheckboxClosable__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Lg_CheckboxClosable__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Lg_Indicator__0f57c67e {\n padding: 0 10px 0 9px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_IndicatorClosable__0f57c67e {\n padding: 0 4px 0 9px;\n}\n.Tags_module_tag_Lg_IndicatorCount__0f57c67e {\n padding: 0 4px 0 9px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_CheckboxIndicator__0f57c67e {\n padding: 0 10px 0 5px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_CheckboxIndicator__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Lg_CheckboxIndicator__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Lg_CheckboxIndicatorClosable__0f57c67e {\n padding: 0 4px 0 5px;\n}\n.Tags_module_tag_Lg_CheckboxIndicatorClosable__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Lg_CheckboxIndicatorClosable__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Lg_CheckboxIndicatorCount__0f57c67e {\n padding: 0 4px 0 5px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_CheckboxIndicatorCount__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Lg_CheckboxIndicatorCount__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Lg_Count__0f57c67e {\n padding: 0 5px 0 10px;\n}\n.Tags_module_tag_Lg_CheckboxCount__0f57c67e {\n padding: 0 4px 0 5px;\n gap: 6px;\n}\n.Tags_module_tag_Lg_CheckboxCount__0f57c67e > :first-child {\n flex-shrink: 0;\n}\n.Tags_module_tag_Lg_CheckboxCount__0f57c67e > :first-child .Tags_module_box__0f57c67e {\n margin-top: 0;\n}\n.Tags_module_tag_Lg_Textfield__0f57c67e {\n padding: 0 4px 0 10px;\n gap: 3px;\n cursor: text;\n width: max-content;\n}\n.Tags_module_tag_Lg_Textfield__0f57c67e:focus-within {\n border-color: var(--Bordercolor-border-focus, #84adff);\n box-shadow: 0 0 0 2px rgba(132, 173, 255, 0.2);\n}";
|
|
7360
|
+
var modules_1c17c20f = {"tag":"Tags_module_tag__0f57c67e","tag__indicator":"Tags_module_tag__indicator__0f57c67e","tag__indicator--closable-sm":"Tags_module_tag__indicator_ClosableSm__0f57c67e","tag__indicator--closable-md":"Tags_module_tag__indicator_ClosableMd__0f57c67e","tag__indicator--closable-lg":"Tags_module_tag__indicator_ClosableLg__0f57c67e","tag__indicator--checkbox-closable-sm":"Tags_module_tag__indicator_CheckboxClosableSm__0f57c67e","tag__indicator--checkbox-closable-md":"Tags_module_tag__indicator_CheckboxClosableMd__0f57c67e","tag__indicator--checkbox-closable-lg":"Tags_module_tag__indicator_CheckboxClosableLg__0f57c67e","tag__logo":"Tags_module_tag__logo__0f57c67e","tag__logo--closable-sm":"Tags_module_tag__logo_ClosableSm__0f57c67e","tag__logo--closable-md":"Tags_module_tag__logo_ClosableMd__0f57c67e","tag__logo--closable-lg":"Tags_module_tag__logo_ClosableLg__0f57c67e","tag__logo--checkbox-closable-sm":"Tags_module_tag__logo_CheckboxClosableSm__0f57c67e","tag__logo--checkbox-closable-md":"Tags_module_tag__logo_CheckboxClosableMd__0f57c67e","tag__logo--checkbox-closable-lg":"Tags_module_tag__logo_CheckboxClosableLg__0f57c67e","tag__closer":"Tags_module_tag__closer__0f57c67e","tag__closer--sm":"Tags_module_tag__closer_Sm__0f57c67e","tag__closer--md":"Tags_module_tag__closer_Md__0f57c67e","tag__closer--lg":"Tags_module_tag__closer_Lg__0f57c67e","tag__closer--checkbox-indicator-sm":"Tags_module_tag__closer_CheckboxIndicatorSm__0f57c67e","tag__closer--checkbox-indicator-md":"Tags_module_tag__closer_CheckboxIndicatorMd__0f57c67e","tag__closer--checkbox-indicator-lg":"Tags_module_tag__closer_CheckboxIndicatorLg__0f57c67e","tag__count":"Tags_module_tag__count__0f57c67e","tag__count--sm":"Tags_module_tag__count_Sm__0f57c67e","tag__count--md":"Tags_module_tag__count_Md__0f57c67e","tag__count--lg":"Tags_module_tag__count_Lg__0f57c67e","tag__count--checkbox-indicator-sm":"Tags_module_tag__count_CheckboxIndicatorSm__0f57c67e","tag__count--checkbox-indicator-md":"Tags_module_tag__count_CheckboxIndicatorMd__0f57c67e","tag__count--checkbox-indicator-lg":"Tags_module_tag__count_CheckboxIndicatorLg__0f57c67e","tag__count--count-sm":"Tags_module_tag__count_CountSm__0f57c67e","tag__count--count-md":"Tags_module_tag__count_CountMd__0f57c67e","tag__count--count-lg":"Tags_module_tag__count_CountLg__0f57c67e","tag__count--checkbox-sm":"Tags_module_tag__count_CheckboxSm__0f57c67e","tag__count--checkbox-md":"Tags_module_tag__count_CheckboxMd__0f57c67e","tag__count--checkbox-lg":"Tags_module_tag__count_CheckboxLg__0f57c67e","tag__input":"Tags_module_tag__input__0f57c67e","tag__input--sm":"Tags_module_tag__input_Sm__0f57c67e","tag__input--md":"Tags_module_tag__input_Md__0f57c67e","tag__input--lg":"Tags_module_tag__input_Lg__0f57c67e","tag__textfield_sizer":"Tags_module_tag__textfield_sizer__0f57c67e","tag__textfield_sizer--sm":"Tags_module_tag__textfield_sizer_Sm__0f57c67e","tag__textfield_sizer--md":"Tags_module_tag__textfield_sizer_Md__0f57c67e","tag__textfield_sizer--lg":"Tags_module_tag__textfield_sizer_Lg__0f57c67e","tag__textfield_label":"Tags_module_tag__textfield_label__0f57c67e","tag__textfield_label--sm":"Tags_module_tag__textfield_label_Sm__0f57c67e","tag__textfield_label--md":"Tags_module_tag__textfield_label_Md__0f57c67e","tag__textfield_label--lg":"Tags_module_tag__textfield_label_Lg__0f57c67e","tag__textfield_input":"Tags_module_tag__textfield_input__0f57c67e","tag__textfield_input--sm":"Tags_module_tag__textfield_input_Sm__0f57c67e","tag__textfield_input--md":"Tags_module_tag__textfield_input_Md__0f57c67e","tag__textfield_input--lg":"Tags_module_tag__textfield_input_Lg__0f57c67e","tag__textfield_closer":"Tags_module_tag__textfield_closer__0f57c67e","tag--sm":"Tags_module_tag_Sm__0f57c67e","tag--sm--closable":"Tags_module_tag_Sm_Closable__0f57c67e","tag--sm--checkbox":"Tags_module_tag_Sm_Checkbox__0f57c67e","box":"Tags_module_box__0f57c67e","tag--sm--checkbox-closable":"Tags_module_tag_Sm_CheckboxClosable__0f57c67e","tag--sm--indicator":"Tags_module_tag_Sm_Indicator__0f57c67e","tag--sm--indicator-closable":"Tags_module_tag_Sm_IndicatorClosable__0f57c67e","tag--sm--indicator-count":"Tags_module_tag_Sm_IndicatorCount__0f57c67e","tag--sm--checkbox-indicator":"Tags_module_tag_Sm_CheckboxIndicator__0f57c67e","tag--sm--checkbox-indicator-closable":"Tags_module_tag_Sm_CheckboxIndicatorClosable__0f57c67e","tag--sm--checkbox-indicator-count":"Tags_module_tag_Sm_CheckboxIndicatorCount__0f57c67e","tag--sm--count":"Tags_module_tag_Sm_Count__0f57c67e","tag--sm--checkbox-count":"Tags_module_tag_Sm_CheckboxCount__0f57c67e","tag--sm--textfield":"Tags_module_tag_Sm_Textfield__0f57c67e","tag--sm--textfield-readonly":"Tags_module_tag_Sm_TextfieldReadonly__0f57c67e","tag--md":"Tags_module_tag_Md__0f57c67e","tag--md--closable":"Tags_module_tag_Md_Closable__0f57c67e","tag--md--checkbox":"Tags_module_tag_Md_Checkbox__0f57c67e","tag--md--checkbox-closable":"Tags_module_tag_Md_CheckboxClosable__0f57c67e","tag--md--indicator":"Tags_module_tag_Md_Indicator__0f57c67e","tag--md--indicator-closable":"Tags_module_tag_Md_IndicatorClosable__0f57c67e","tag--md--indicator-count":"Tags_module_tag_Md_IndicatorCount__0f57c67e","tag--md--checkbox-indicator":"Tags_module_tag_Md_CheckboxIndicator__0f57c67e","tag--md--checkbox-indicator-closable":"Tags_module_tag_Md_CheckboxIndicatorClosable__0f57c67e","tag--md--checkbox-indicator-count":"Tags_module_tag_Md_CheckboxIndicatorCount__0f57c67e","tag--md--count":"Tags_module_tag_Md_Count__0f57c67e","tag--md--checkbox-count":"Tags_module_tag_Md_CheckboxCount__0f57c67e","tag--md--textfield":"Tags_module_tag_Md_Textfield__0f57c67e","tag--lg":"Tags_module_tag_Lg__0f57c67e","tag--lg--closable":"Tags_module_tag_Lg_Closable__0f57c67e","tag--lg--checkbox":"Tags_module_tag_Lg_Checkbox__0f57c67e","tag--lg--checkbox-closable":"Tags_module_tag_Lg_CheckboxClosable__0f57c67e","tag--lg--indicator":"Tags_module_tag_Lg_Indicator__0f57c67e","tag--lg--indicator-closable":"Tags_module_tag_Lg_IndicatorClosable__0f57c67e","tag--lg--indicator-count":"Tags_module_tag_Lg_IndicatorCount__0f57c67e","tag--lg--checkbox-indicator":"Tags_module_tag_Lg_CheckboxIndicator__0f57c67e","tag--lg--checkbox-indicator-closable":"Tags_module_tag_Lg_CheckboxIndicatorClosable__0f57c67e","tag--lg--checkbox-indicator-count":"Tags_module_tag_Lg_CheckboxIndicatorCount__0f57c67e","tag--lg--count":"Tags_module_tag_Lg_Count__0f57c67e","tag--lg--checkbox-count":"Tags_module_tag_Lg_CheckboxCount__0f57c67e","tag--lg--textfield":"Tags_module_tag_Lg_Textfield__0f57c67e"};
|
|
7361
|
+
n(css$y,{});
|
|
7362
|
+
|
|
7363
|
+
var INDICATOR_SIZE = {
|
|
7364
|
+
sm: 8,
|
|
7365
|
+
md: 8,
|
|
7366
|
+
lg: 10
|
|
7367
|
+
};
|
|
7368
|
+
var CLOSER_MAP = {
|
|
7369
|
+
sm: jsxRuntime.jsx(TagCloserSm, {}),
|
|
7370
|
+
md: jsxRuntime.jsx(TagCloserMd, {}),
|
|
7371
|
+
lg: jsxRuntime.jsx(TagCloserLg, {})
|
|
7372
|
+
};
|
|
7373
|
+
var COUNT_MAP = function COUNT_MAP(count) {
|
|
7374
|
+
return {
|
|
7375
|
+
sm: jsxRuntime.jsx(TagCountSm, {
|
|
7376
|
+
count: count
|
|
7377
|
+
}),
|
|
7378
|
+
md: jsxRuntime.jsx(TagCountMd, {
|
|
7379
|
+
count: count
|
|
7380
|
+
}),
|
|
7381
|
+
lg: jsxRuntime.jsx(TagCountLg, {
|
|
7382
|
+
count: count
|
|
7383
|
+
})
|
|
7384
|
+
};
|
|
7385
|
+
};
|
|
7386
|
+
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7387
|
+
var _ref$label = _ref.label,
|
|
7388
|
+
label = _ref$label === void 0 ? 'Label' : _ref$label,
|
|
7389
|
+
_ref$size = _ref.size,
|
|
7390
|
+
size = _ref$size === void 0 ? 'sm' : _ref$size,
|
|
7391
|
+
_ref$closable = _ref.closable,
|
|
7392
|
+
closable = _ref$closable === void 0 ? false : _ref$closable,
|
|
7393
|
+
_ref$checkbox = _ref.checkbox,
|
|
7394
|
+
checkbox = _ref$checkbox === void 0 ? false : _ref$checkbox,
|
|
7395
|
+
_ref$indicator = _ref.indicator,
|
|
7396
|
+
indicator = _ref$indicator === void 0 ? false : _ref$indicator,
|
|
7397
|
+
_ref$indicatorType = _ref.indicatorType,
|
|
7398
|
+
indicatorType = _ref$indicatorType === void 0 ? 'success' : _ref$indicatorType,
|
|
7399
|
+
count = _ref.count,
|
|
7400
|
+
_ref$checkboxIndicato = _ref.checkboxIndicator,
|
|
7401
|
+
checkboxIndicator = _ref$checkboxIndicato === void 0 ? false : _ref$checkboxIndicato,
|
|
7402
|
+
_ref$checkboxIndicato2 = _ref.checkboxIndicatorClosable,
|
|
7403
|
+
checkboxIndicatorClosable = _ref$checkboxIndicato2 === void 0 ? false : _ref$checkboxIndicato2,
|
|
7404
|
+
_ref$checkboxIndicato3 = _ref.checkboxIndicatorCount,
|
|
7405
|
+
checkboxIndicatorCount = _ref$checkboxIndicato3 === void 0 ? false : _ref$checkboxIndicato3,
|
|
7406
|
+
_ref$onlyCount = _ref.onlyCount,
|
|
7407
|
+
onlyCount = _ref$onlyCount === void 0 ? false : _ref$onlyCount,
|
|
7408
|
+
_ref$checkboxCloser = _ref.checkboxCloser,
|
|
7409
|
+
checkboxCloser = _ref$checkboxCloser === void 0 ? false : _ref$checkboxCloser,
|
|
7410
|
+
_ref$checkboxCount = _ref.checkboxCount,
|
|
7411
|
+
checkboxCount = _ref$checkboxCount === void 0 ? false : _ref$checkboxCount,
|
|
7412
|
+
_ref$logo = _ref.logo,
|
|
7413
|
+
logo = _ref$logo === void 0 ? false : _ref$logo,
|
|
7414
|
+
_ref$checkboxLogo = _ref.checkboxLogo,
|
|
7415
|
+
checkboxLogo = _ref$checkboxLogo === void 0 ? false : _ref$checkboxLogo,
|
|
7416
|
+
_ref$checkboxLogoClos = _ref.checkboxLogoClosable,
|
|
7417
|
+
checkboxLogoClosable = _ref$checkboxLogoClos === void 0 ? false : _ref$checkboxLogoClos,
|
|
7418
|
+
_ref$checkboxLogoCoun = _ref.checkboxLogoCount,
|
|
7419
|
+
checkboxLogoCount = _ref$checkboxLogoCoun === void 0 ? false : _ref$checkboxLogoCoun,
|
|
7420
|
+
_ref$textField = _ref.textField,
|
|
7421
|
+
textField = _ref$textField === void 0 ? false : _ref$textField,
|
|
7422
|
+
_ref$readOnly = _ref.readOnly,
|
|
7423
|
+
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
|
7424
|
+
inputValue = _ref.inputValue,
|
|
7425
|
+
onInputChange = _ref.onInputChange,
|
|
7426
|
+
onInputBlur = _ref.onInputBlur,
|
|
7427
|
+
onInputEnter = _ref.onInputEnter,
|
|
7428
|
+
_ref$defaultInputValu = _ref.defaultInputValue,
|
|
7429
|
+
defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
|
|
7430
|
+
_ref$inputPlaceholder = _ref.inputPlaceholder,
|
|
7431
|
+
inputPlaceholder = _ref$inputPlaceholder === void 0 ? '' : _ref$inputPlaceholder,
|
|
7432
|
+
onClick = _ref.onClick,
|
|
7433
|
+
onInputClear = _ref.onInputClear;
|
|
7434
|
+
var isCheckboxClosable = checkbox && closable;
|
|
7435
|
+
var isIndicatorClosable = indicator && closable;
|
|
7436
|
+
var isIndicatorCount = indicator && count !== undefined;
|
|
7437
|
+
var isLogoClosable = logo && closable;
|
|
7438
|
+
var isLogoCount = logo && count !== undefined;
|
|
7439
|
+
var isControlled = inputValue !== undefined;
|
|
7440
|
+
var _useState = React.useState(defaultInputValue),
|
|
7441
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
7442
|
+
internalValue = _useState2[0],
|
|
7443
|
+
setInternalValue = _useState2[1];
|
|
7444
|
+
var resolvedValue = isControlled ? inputValue : internalValue;
|
|
7445
|
+
var internalInputRef = React.useRef(null);
|
|
7446
|
+
var resolvedRef = ref !== null && ref !== void 0 ? ref : internalInputRef;
|
|
7447
|
+
var sizerRef = React.useRef(null);
|
|
7448
|
+
var focusInput = function focusInput() {
|
|
7449
|
+
var _resolvedRef$current;
|
|
7450
|
+
(_resolvedRef$current = resolvedRef.current) === null || _resolvedRef$current === void 0 || _resolvedRef$current.focus();
|
|
7451
|
+
};
|
|
7452
|
+
React.useEffect(function () {
|
|
7453
|
+
var updateWidth = function updateWidth() {
|
|
7454
|
+
var _sizerRef$current, _sizerRef$current2, _sizerRef$current3;
|
|
7455
|
+
// Since TextField doesn't properly forward refs, find the input element directly
|
|
7456
|
+
var inputElement = resolvedRef.current || ((_sizerRef$current = sizerRef.current) === null || _sizerRef$current === void 0 || (_sizerRef$current = _sizerRef$current.parentElement) === null || _sizerRef$current === void 0 ? void 0 : _sizerRef$current.querySelector('input[type="text"]')) || ((_sizerRef$current2 = sizerRef.current) === null || _sizerRef$current2 === void 0 || (_sizerRef$current2 = _sizerRef$current2.parentElement) === null || _sizerRef$current2 === void 0 ? void 0 : _sizerRef$current2.querySelector('input')) || ((_sizerRef$current3 = sizerRef.current) === null || _sizerRef$current3 === void 0 || (_sizerRef$current3 = _sizerRef$current3.nextElementSibling) === null || _sizerRef$current3 === void 0 ? void 0 : _sizerRef$current3.querySelector('input'));
|
|
7457
|
+
if (sizerRef.current && inputElement) {
|
|
7458
|
+
// Force reflow to ensure accurate measurements
|
|
7459
|
+
sizerRef.current.offsetHeight;
|
|
7460
|
+
var sizerWidth = sizerRef.current.offsetWidth;
|
|
7461
|
+
var buffer = size === 'sm' ? 4 : size === 'md' ? 4 : 6; // Minimal buffer for cursor space
|
|
7462
|
+
var minWidth = size === 'sm' ? 10 : size === 'md' ? 35 : 40;
|
|
7463
|
+
// Calculate available space in container, leaving room for close button
|
|
7464
|
+
var tagContainer = inputElement.closest('[class*="tag--"][class*="textfield"]');
|
|
7465
|
+
var maxInputWidth = 120; // Conservative maximum for input field
|
|
7466
|
+
if (tagContainer) {
|
|
7467
|
+
// Get all elements in the tag to calculate reserved space
|
|
7468
|
+
var closeButton = tagContainer.querySelector('[class*="textfield_closer"]');
|
|
7469
|
+
var _label = tagContainer.querySelector('[class*="textfield_label"]');
|
|
7470
|
+
// Calculate space used by other elements (more conservative)
|
|
7471
|
+
var reservedSpace = 16; // padding and gaps
|
|
7472
|
+
if (_label) {
|
|
7473
|
+
reservedSpace += _label.getBoundingClientRect().width + 4; // label + gap
|
|
7474
|
+
}
|
|
7475
|
+
if (closeButton) {
|
|
7476
|
+
reservedSpace += closeButton.getBoundingClientRect().width + 4; // close button + gap
|
|
7477
|
+
}
|
|
7478
|
+
// Don't let tags get too wide - reasonable maximum
|
|
7479
|
+
var maxTagWidth = 180;
|
|
7480
|
+
maxInputWidth = Math.max(maxTagWidth - reservedSpace, minWidth);
|
|
7481
|
+
// Further constrain if current container is smaller
|
|
7482
|
+
var currentContainerWidth = tagContainer.getBoundingClientRect().width;
|
|
7483
|
+
if (currentContainerWidth > 0) {
|
|
7484
|
+
maxInputWidth = Math.min(maxInputWidth, currentContainerWidth - reservedSpace);
|
|
7485
|
+
}
|
|
7486
|
+
}
|
|
7487
|
+
var idealWidth = Math.max(sizerWidth + buffer, minWidth);
|
|
7488
|
+
var finalWidth = Math.min(idealWidth, maxInputWidth);
|
|
7489
|
+
// Apply constrained width to input
|
|
7490
|
+
inputElement.style.setProperty('width', "".concat(finalWidth, "px"), 'important');
|
|
7491
|
+
inputElement.style.setProperty('max-width', "".concat(finalWidth, "px"), 'important');
|
|
7492
|
+
inputElement.style.setProperty('min-width', "".concat(minWidth, "px"), 'important');
|
|
7493
|
+
// Update tag container to fit content but with strict bounds
|
|
7494
|
+
if (tagContainer) {
|
|
7495
|
+
tagContainer.style.setProperty('width', 'auto', 'important');
|
|
7496
|
+
tagContainer.style.setProperty('max-width', '180px', 'important');
|
|
7497
|
+
tagContainer.style.setProperty('min-width', 'max-content', 'important');
|
|
7498
|
+
tagContainer.style.setProperty('overflow', 'hidden', 'important');
|
|
7499
|
+
}
|
|
7500
|
+
}
|
|
7501
|
+
};
|
|
7502
|
+
// Run with delays to handle complex DOM updates
|
|
7503
|
+
updateWidth();
|
|
7504
|
+
var timeout1 = setTimeout(updateWidth, 10);
|
|
7505
|
+
var timeout2 = setTimeout(updateWidth, 50);
|
|
7506
|
+
var timeout3 = setTimeout(updateWidth, 100);
|
|
7507
|
+
return function () {
|
|
7508
|
+
clearTimeout(timeout1);
|
|
7509
|
+
clearTimeout(timeout2);
|
|
7510
|
+
clearTimeout(timeout3);
|
|
7511
|
+
};
|
|
7512
|
+
}, [resolvedValue, inputPlaceholder, size]);
|
|
7513
|
+
var handleChange = function handleChange(e) {
|
|
7514
|
+
var next = e.target.value;
|
|
7515
|
+
if (!isControlled) setInternalValue(next);
|
|
7516
|
+
onInputChange === null || onInputChange === void 0 || onInputChange(next, e);
|
|
7517
|
+
};
|
|
7518
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
7519
|
+
if (e.key === 'Enter' || e.key === 'Tab') {
|
|
7520
|
+
e.preventDefault();
|
|
7521
|
+
onInputEnter === null || onInputEnter === void 0 || onInputEnter();
|
|
7522
|
+
} else if (e.key === 'Backspace' && resolvedValue === '') {
|
|
7523
|
+
e.preventDefault();
|
|
7524
|
+
onInputClear === null || onInputClear === void 0 || onInputClear();
|
|
7525
|
+
}
|
|
7526
|
+
};
|
|
7527
|
+
var handleBlur = function handleBlur() {
|
|
7528
|
+
onInputBlur === null || onInputBlur === void 0 || onInputBlur();
|
|
7529
|
+
};
|
|
7530
|
+
var handleClear = function handleClear() {
|
|
7531
|
+
if (!isControlled) setInternalValue('');
|
|
7532
|
+
onInputClear === null || onInputClear === void 0 || onInputClear();
|
|
7533
|
+
};
|
|
7534
|
+
// Map TagSize to TextField size (v2 only supports sm/md)
|
|
7535
|
+
var getTextFieldSize = function getTextFieldSize(tagSize) {
|
|
7536
|
+
return tagSize === 'lg' ? 'md' : tagSize;
|
|
7537
|
+
};
|
|
7538
|
+
var CloserSpan = function CloserSpan(_ref2) {
|
|
7539
|
+
var extraClass = _ref2.extraClass;
|
|
7540
|
+
return jsxRuntime.jsx("span", {
|
|
7541
|
+
className: [modules_1c17c20f.tag__closer, modules_1c17c20f["tag__closer--".concat(size)], extraClass].filter(Boolean).join(' '),
|
|
7542
|
+
children: CLOSER_MAP[size]
|
|
7543
|
+
});
|
|
7544
|
+
};
|
|
7545
|
+
var CheckboxIndicatorCloserSpan = function CheckboxIndicatorCloserSpan() {
|
|
7546
|
+
return jsxRuntime.jsx("span", {
|
|
7547
|
+
className: [modules_1c17c20f.tag__closer, modules_1c17c20f["tag__closer--checkbox-indicator-".concat(size)]].join(' '),
|
|
7548
|
+
children: CLOSER_MAP[size]
|
|
7549
|
+
});
|
|
7550
|
+
};
|
|
7551
|
+
if (textField) {
|
|
7552
|
+
return jsxRuntime.jsxs("span", {
|
|
7553
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--textfield")], readOnly && modules_1c17c20f["tag--".concat(size, "--textfield-readonly")]].filter(Boolean).join(' '),
|
|
7554
|
+
onClick: readOnly ? function () {
|
|
7555
|
+
// Handle click for readonly tags
|
|
7556
|
+
onClick === null || onClick === void 0 || onClick();
|
|
7557
|
+
} : focusInput,
|
|
7558
|
+
children: [jsxRuntime.jsx("span", {
|
|
7559
|
+
className: "".concat(modules_1c17c20f.tag__textfield_label, " ").concat(modules_1c17c20f["tag__textfield_label--".concat(size)]),
|
|
7560
|
+
children: label
|
|
7561
|
+
}), jsxRuntime.jsx("span", {
|
|
7562
|
+
ref: sizerRef,
|
|
7563
|
+
"aria-hidden": true,
|
|
7564
|
+
className: "".concat(modules_1c17c20f.tag__textfield_sizer, " ").concat(modules_1c17c20f["tag__textfield_sizer--".concat(size)]),
|
|
7565
|
+
children: resolvedValue || inputPlaceholder || "\u200B"
|
|
7566
|
+
}), jsxRuntime.jsx(TextField$1, _objectSpread2({
|
|
7567
|
+
ref: resolvedRef,
|
|
7568
|
+
unstyled: true,
|
|
7569
|
+
size: getTextFieldSize(size),
|
|
7570
|
+
value: resolvedValue,
|
|
7571
|
+
onChange: readOnly ? undefined : handleChange,
|
|
7572
|
+
onBlur: readOnly ? undefined : handleBlur,
|
|
7573
|
+
readOnly: readOnly,
|
|
7574
|
+
placeholder: inputPlaceholder,
|
|
7575
|
+
disabled: readOnly,
|
|
7576
|
+
className: [modules_1c17c20f.tag__textfield_input, modules_1c17c20f["tag__textfield_input--".concat(size)]].filter(Boolean).join(' ')
|
|
7577
|
+
}, {
|
|
7578
|
+
onKeyDown: handleKeyDown
|
|
7579
|
+
})), closable && jsxRuntime.jsx("span", {
|
|
7580
|
+
className: modules_1c17c20f.tag__textfield_closer,
|
|
7581
|
+
onClick: function onClick(e) {
|
|
7582
|
+
e.stopPropagation();
|
|
7583
|
+
handleClear();
|
|
7584
|
+
focusInput();
|
|
7585
|
+
},
|
|
7586
|
+
children: CLOSER_MAP[size]
|
|
7587
|
+
})]
|
|
7588
|
+
});
|
|
7589
|
+
}
|
|
7590
|
+
if (onlyCount && count !== undefined) {
|
|
7591
|
+
return jsxRuntime.jsxs("span", {
|
|
7592
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--count")]].join(' '),
|
|
7593
|
+
children: [label, jsxRuntime.jsx("span", {
|
|
7594
|
+
className: [modules_1c17c20f.tag__count, modules_1c17c20f["tag__count--".concat(size)]].join(' '),
|
|
7595
|
+
children: COUNT_MAP(count)[size]
|
|
7596
|
+
})]
|
|
7597
|
+
});
|
|
7598
|
+
}
|
|
7599
|
+
if (checkboxCloser) {
|
|
7600
|
+
return jsxRuntime.jsxs("span", {
|
|
7601
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-closable")]].join(' '),
|
|
7602
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7603
|
+
size: size
|
|
7604
|
+
}), label, jsxRuntime.jsx(CloserSpan, {})]
|
|
7605
|
+
});
|
|
7606
|
+
}
|
|
7607
|
+
if (checkboxCount && count !== undefined) {
|
|
7608
|
+
return jsxRuntime.jsxs("span", {
|
|
7609
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-count")]].join(' '),
|
|
7610
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7611
|
+
size: size
|
|
7612
|
+
}), label, jsxRuntime.jsx("span", {
|
|
7613
|
+
className: [modules_1c17c20f.tag__count, modules_1c17c20f["tag__count--checkbox-".concat(size)]].join(' '),
|
|
7614
|
+
children: COUNT_MAP(count)[size]
|
|
7615
|
+
})]
|
|
7616
|
+
});
|
|
7617
|
+
}
|
|
7618
|
+
if (checkboxLogoCount && count !== undefined) {
|
|
7619
|
+
return jsxRuntime.jsxs("span", {
|
|
7620
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-indicator-count")]].join(' '),
|
|
7621
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7622
|
+
size: size
|
|
7623
|
+
}), jsxRuntime.jsx(Email, {
|
|
7624
|
+
className: [modules_1c17c20f.tag__logo, modules_1c17c20f["tag__logo--checkbox-count-".concat(size)]].filter(Boolean).join(' ')
|
|
7625
|
+
}), label, jsxRuntime.jsx("span", {
|
|
7626
|
+
className: [modules_1c17c20f.tag__count, modules_1c17c20f["tag__count--checkbox-indicator-".concat(size)]].join(' '),
|
|
7627
|
+
children: COUNT_MAP(count)[size]
|
|
7628
|
+
})]
|
|
7629
|
+
});
|
|
7630
|
+
}
|
|
7631
|
+
if (checkboxLogoClosable) {
|
|
7632
|
+
return jsxRuntime.jsxs("span", {
|
|
7633
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-indicator-closable")]].join(' '),
|
|
7634
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7635
|
+
size: size
|
|
7636
|
+
}), jsxRuntime.jsx(Email, {
|
|
7637
|
+
className: [modules_1c17c20f.tag__logo, modules_1c17c20f["tag__logo--checkbox-closable-".concat(size)]].filter(Boolean).join(' ')
|
|
7638
|
+
}), label, jsxRuntime.jsx(CheckboxIndicatorCloserSpan, {})]
|
|
7639
|
+
});
|
|
7640
|
+
}
|
|
7641
|
+
if (checkboxLogo) {
|
|
7642
|
+
return jsxRuntime.jsxs("span", {
|
|
7643
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-indicator")]].join(' '),
|
|
7644
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7645
|
+
size: size
|
|
7646
|
+
}), jsxRuntime.jsx(Email, {
|
|
7647
|
+
className: [modules_1c17c20f.tag__logo, modules_1c17c20f["tag__logo--checkbox-".concat(size)]].filter(Boolean).join(' ')
|
|
7648
|
+
}), label]
|
|
7649
|
+
});
|
|
7650
|
+
}
|
|
7651
|
+
if (isLogoCount) {
|
|
7652
|
+
return jsxRuntime.jsxs("span", {
|
|
7653
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--indicator-count")]].join(' '),
|
|
7654
|
+
children: [jsxRuntime.jsx(Email, {
|
|
7655
|
+
className: [modules_1c17c20f.tag__logo, modules_1c17c20f["tag__logo--count-".concat(size)]].filter(Boolean).join(' ')
|
|
7656
|
+
}), label, jsxRuntime.jsx("span", {
|
|
7657
|
+
className: [modules_1c17c20f.tag__count, modules_1c17c20f["tag__count--".concat(size)]].join(' '),
|
|
7658
|
+
children: COUNT_MAP(count)[size]
|
|
7659
|
+
})]
|
|
7660
|
+
});
|
|
7661
|
+
}
|
|
7662
|
+
if (isLogoClosable) {
|
|
7663
|
+
return jsxRuntime.jsxs("span", {
|
|
7664
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--indicator-closable")]].join(' '),
|
|
7665
|
+
children: [jsxRuntime.jsx(Email, {
|
|
7666
|
+
className: [modules_1c17c20f.tag__logo, modules_1c17c20f["tag__logo--closable-".concat(size)]].filter(Boolean).join(' ')
|
|
7667
|
+
}), label, jsxRuntime.jsx(CloserSpan, {})]
|
|
7668
|
+
});
|
|
7669
|
+
}
|
|
7670
|
+
if (logo) {
|
|
7671
|
+
return jsxRuntime.jsxs("span", {
|
|
7672
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--indicator")]].join(' '),
|
|
7673
|
+
children: [jsxRuntime.jsx(Email, {
|
|
7674
|
+
className: modules_1c17c20f.tag__logo
|
|
7675
|
+
}), label]
|
|
7676
|
+
});
|
|
7677
|
+
}
|
|
7678
|
+
if (checkboxIndicatorCount && count !== undefined) {
|
|
7679
|
+
return jsxRuntime.jsxs("span", {
|
|
7680
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-indicator-count")]].join(' '),
|
|
7681
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7682
|
+
size: size
|
|
7683
|
+
}), jsxRuntime.jsx(Indicator, {
|
|
7684
|
+
type: indicatorType,
|
|
7685
|
+
size: INDICATOR_SIZE[size],
|
|
7686
|
+
className: [modules_1c17c20f.tag__indicator, modules_1c17c20f["tag__indicator--checkbox-count-".concat(size)]].filter(Boolean).join(' ')
|
|
7687
|
+
}), label, jsxRuntime.jsx("span", {
|
|
7688
|
+
className: [modules_1c17c20f.tag__count, modules_1c17c20f["tag__count--checkbox-indicator-".concat(size)]].join(' '),
|
|
7689
|
+
children: COUNT_MAP(count)[size]
|
|
7690
|
+
})]
|
|
7691
|
+
});
|
|
7692
|
+
}
|
|
7693
|
+
if (checkboxIndicatorClosable) {
|
|
7694
|
+
return jsxRuntime.jsxs("span", {
|
|
7695
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-indicator-closable")]].join(' '),
|
|
7696
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7697
|
+
size: size
|
|
7698
|
+
}), jsxRuntime.jsx(Indicator, {
|
|
7699
|
+
type: indicatorType,
|
|
7700
|
+
size: INDICATOR_SIZE[size],
|
|
7701
|
+
className: [modules_1c17c20f.tag__indicator, modules_1c17c20f["tag__indicator--checkbox-closable-".concat(size)]].filter(Boolean).join(' ')
|
|
7702
|
+
}), label, jsxRuntime.jsx(CheckboxIndicatorCloserSpan, {})]
|
|
7703
|
+
});
|
|
7704
|
+
}
|
|
7705
|
+
if (checkboxIndicator) {
|
|
7706
|
+
return jsxRuntime.jsxs("span", {
|
|
7707
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--checkbox-indicator")]].join(' '),
|
|
7708
|
+
children: [jsxRuntime.jsx(Checkbox$1, {
|
|
7709
|
+
size: size
|
|
7710
|
+
}), jsxRuntime.jsx(Indicator, {
|
|
7711
|
+
type: indicatorType,
|
|
7712
|
+
size: INDICATOR_SIZE[size],
|
|
7713
|
+
className: [modules_1c17c20f.tag__indicator, modules_1c17c20f["tag__indicator--checkbox-".concat(size)]].filter(Boolean).join(' ')
|
|
7714
|
+
}), label]
|
|
7715
|
+
});
|
|
7716
|
+
}
|
|
7717
|
+
if (isIndicatorCount) {
|
|
7718
|
+
return jsxRuntime.jsxs("span", {
|
|
7719
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--indicator-count")]].join(' '),
|
|
7720
|
+
children: [jsxRuntime.jsx(Indicator, {
|
|
7721
|
+
type: indicatorType,
|
|
7722
|
+
size: INDICATOR_SIZE[size],
|
|
7723
|
+
className: modules_1c17c20f.tag__indicator
|
|
7724
|
+
}), label, jsxRuntime.jsx("span", {
|
|
7725
|
+
className: [modules_1c17c20f.tag__count, modules_1c17c20f["tag__count--".concat(size)]].join(' '),
|
|
7726
|
+
children: COUNT_MAP(count)[size]
|
|
7727
|
+
})]
|
|
7728
|
+
});
|
|
7729
|
+
}
|
|
7730
|
+
if (isIndicatorClosable) {
|
|
7731
|
+
return jsxRuntime.jsxs("span", {
|
|
7732
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--indicator-closable")]].join(' '),
|
|
7733
|
+
children: [jsxRuntime.jsx(Indicator, {
|
|
7734
|
+
type: indicatorType,
|
|
7735
|
+
size: INDICATOR_SIZE[size],
|
|
7736
|
+
className: [modules_1c17c20f.tag__indicator, modules_1c17c20f["tag__indicator--closable-".concat(size)]].filter(Boolean).join(' ')
|
|
7737
|
+
}), label, jsxRuntime.jsx(CloserSpan, {})]
|
|
7738
|
+
});
|
|
7739
|
+
}
|
|
7740
|
+
if (indicator) {
|
|
7741
|
+
return jsxRuntime.jsxs("span", {
|
|
7742
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], modules_1c17c20f["tag--".concat(size, "--indicator")]].join(' '),
|
|
7743
|
+
children: [jsxRuntime.jsx(Indicator, {
|
|
7744
|
+
type: indicatorType,
|
|
7745
|
+
size: INDICATOR_SIZE[size],
|
|
7746
|
+
className: modules_1c17c20f.tag__indicator
|
|
7747
|
+
}), label]
|
|
7748
|
+
});
|
|
7749
|
+
}
|
|
7750
|
+
return jsxRuntime.jsxs("span", {
|
|
7751
|
+
className: [modules_1c17c20f.tag, modules_1c17c20f["tag--".concat(size)], isCheckboxClosable ? modules_1c17c20f["tag--".concat(size, "--checkbox-closable")] : closable ? modules_1c17c20f["tag--".concat(size, "--closable")] : '', !isCheckboxClosable && checkbox ? modules_1c17c20f["tag--".concat(size, "--checkbox")] : ''].filter(Boolean).join(' '),
|
|
7752
|
+
children: [checkbox && jsxRuntime.jsx(Checkbox$1, {
|
|
7753
|
+
size: size
|
|
7754
|
+
}), label, closable && jsxRuntime.jsx(CloserSpan, {})]
|
|
7755
|
+
});
|
|
7756
|
+
});
|
|
7757
|
+
|
|
7758
|
+
var css$x = ".Dropdown_module_dropdown__9126ab7b {\n display: flex;\n flex-direction: column;\n gap: 6px;\n width: 100%;\n min-width: 297px;\n}\n\n.Dropdown_module_labelContainer__9126ab7b {\n display: flex;\n gap: 2px;\n align-items: center;\n}\n.Dropdown_module_labelContainer__9126ab7b .Dropdown_module_label__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n color: #414651;\n}\n.Dropdown_module_labelContainer__9126ab7b .Dropdown_module_required__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n color: #175cd3;\n}\n\n.Dropdown_module_helpIcon__9126ab7b {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.Dropdown_module_helpIcon__9126ab7b svg {\n width: 100%;\n height: 100%;\n color: #535862;\n}\n\n.Dropdown_module_buttonWrapper__9126ab7b {\n display: contents;\n outline: none;\n}\n.Dropdown_module_buttonWrapper__9126ab7b:focus {\n outline: none;\n}\n.Dropdown_module_buttonWrapper__9126ab7b:focus-visible {\n outline: none;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b {\n position: relative !important;\n display: flex !important;\n align-items: center !important;\n justify-content: flex-start !important;\n gap: 0px !important;\n padding: 8px 12px !important;\n border-radius: 8px !important;\n border: 1px solid #d5d7da !important;\n background: white !important;\n cursor: pointer !important;\n transition: all 0.2s ease-in-out !important;\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 2px 0px rgba(0, 0, 0, 0.06) !important;\n text-decoration: none !important;\n text-align: left !important;\n width: 100% !important;\n min-width: unset !important;\n max-width: unset !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b [data-elem=component2] {\n display: flex !important;\n align-items: center !important;\n justify-content: space-between !important;\n width: 100% !important;\n gap: 8px !important;\n flex: 1 !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b [data-elem=component2] [data-elem=title] {\n display: flex !important;\n align-items: center !important;\n justify-content: space-between !important;\n width: 100% !important;\n gap: 8px;\n flex: 1 !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b:focus {\n outline: none !important;\n text-decoration: none !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b:focus-visible {\n outline: none !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b:focus:not(.Dropdown_module_focus__9126ab7b) {\n outline: none !important;\n border: 1px solid #d5d7da !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b:hover {\n text-decoration: none !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b:active {\n text-decoration: none !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_sm__9126ab7b {\n height: 40px !important;\n padding: 8px 12px !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_md__9126ab7b {\n height: 44px !important;\n padding: 8px 12px !important;\n}\n\n.Dropdown_module_contentArea__9126ab7b {\n display: flex !important;\n align-items: center !important;\n gap: 8px !important;\n flex: 1 !important;\n min-width: 0 !important;\n position: relative !important;\n}\n\n.Dropdown_module_leadingIcon__9126ab7b {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n.Dropdown_module_leadingIcon__9126ab7b svg {\n width: 100%;\n height: 100%;\n}\n\n.Dropdown_module_trailingArea__9126ab7b {\n display: flex !important;\n align-items: center !important;\n gap: 8px !important;\n flex-shrink: 0 !important;\n}\n\n.Dropdown_module_dropdownText__9126ab7b {\n flex: 1 !important;\n font-family: Jakarta !important;\n font-weight: 500 !important;\n font-size: 16px !important;\n line-height: 24px !important;\n color: #181d27 !important;\n white-space: nowrap !important;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n text-align: left !important;\n text-decoration: none !important;\n}\n.Dropdown_module_dropdownText__9126ab7b.Dropdown_module_placeholder__9126ab7b {\n font-weight: 400 !important;\n color: #a4a7ae !important;\n}\n\n.Dropdown_module_statusIcon__9126ab7b {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.Dropdown_module_statusIcon__9126ab7b svg {\n width: 100%;\n height: 100%;\n}\n\n.Dropdown_module_dropdownIcon__9126ab7b {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.Dropdown_module_dropdownIcon__9126ab7b svg {\n width: 100%;\n height: 100%;\n color: #a4a7ae;\n transition: color 0.2s ease-in-out;\n}\n\n.Dropdown_module_helperText__9126ab7b {\n font-family: Jakarta;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n}\n\n.Dropdown_module_helperDefault__9126ab7b {\n color: #535862;\n}\n\n.Dropdown_module_helperError__9126ab7b {\n color: #d92d20;\n}\n\n.Dropdown_module_helperWarning__9126ab7b {\n color: #dc6803;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_default__9126ab7b {\n border: 1px solid #d5d7da !important;\n background: white !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_default__9126ab7b:hover {\n border-color: #b2b5bb !important;\n text-decoration: none !important;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_selected__9126ab7b {\n border: 1px solid #d5d7da !important;\n background: white !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_selected__9126ab7b:hover {\n border-color: #b2b5bb !important;\n text-decoration: none !important;\n}\n\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b {\n background: white !important;\n border: 2px solid #2e90fa !important;\n padding: 7px 11px !important;\n box-shadow: none !important;\n outline: none !important;\n}\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b:hover,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b:hover {\n text-decoration: none !important;\n border: 2px solid #2e90fa !important;\n}\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b:focus,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b:focus {\n outline: none !important;\n border: 2px solid #2e90fa !important;\n}\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b:focus-visible,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b:focus-visible {\n outline: none !important;\n border: 2px solid #2e90fa !important;\n}\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_sm__9126ab7b,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_sm__9126ab7b {\n padding: 7px 11px !important;\n}\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_md__9126ab7b,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_md__9126ab7b {\n padding: 7px 11px !important;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_disabled__9126ab7b {\n background: #fafafa !important;\n border: 1px solid #d5d7da !important;\n cursor: not-allowed !important;\n box-shadow: none !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_disabled__9126ab7b .Dropdown_module_dropdownText__9126ab7b {\n color: #a4a7ae !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_disabled__9126ab7b .Dropdown_module_dropdownIcon__9126ab7b svg {\n color: #a4a7ae !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_disabled__9126ab7b:hover {\n background: #fafafa !important;\n border-color: #d5d7da !important;\n cursor: not-allowed !important;\n text-decoration: none !important;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_error__9126ab7b {\n background: white !important;\n border: 2px solid #f04438 !important;\n padding: 7px 11px !important;\n box-shadow: none !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_error__9126ab7b .Dropdown_module_statusIcon__9126ab7b svg {\n color: #f04438 !important;\n fill: #f04438 !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_error__9126ab7b:hover {\n text-decoration: none !important;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_warning__9126ab7b {\n background: white !important;\n border: 1px solid #d5d7da !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_warning__9126ab7b .Dropdown_module_statusIcon__9126ab7b svg {\n color: #dc6803 !important;\n fill: #dc6803 !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_warning__9126ab7b:hover {\n border-color: #b2b5bb !important;\n text-decoration: none !important;\n}\n\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_readOnly__9126ab7b,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_readOnly__9126ab7b {\n background: white !important;\n border: 1px solid #f5f5f5 !important;\n cursor: default !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_readOnly__9126ab7b .Dropdown_module_dropdownIcon__9126ab7b svg,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_readOnly__9126ab7b .Dropdown_module_dropdownIcon__9126ab7b svg {\n color: #a4a7ae !important;\n}\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_readOnly__9126ab7b:hover,\n.Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_readOnly__9126ab7b:hover {\n background: white !important;\n border-color: #f5f5f5 !important;\n cursor: default !important;\n text-decoration: none !important;\n}\n\n@media (max-width: 768px) {\n .Dropdown_module_dropdown__9126ab7b {\n min-width: 100%;\n max-width: 100%;\n }\n}\n.Dropdown_module_borderless__9126ab7b {\n border: 0 !important;\n border-width: 0 !important;\n border-style: none !important;\n border-color: transparent !important;\n background: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n}\n.Dropdown_module_borderless__9126ab7b:hover, .Dropdown_module_borderless__9126ab7b:focus, .Dropdown_module_borderless__9126ab7b.Dropdown_module_focus__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_selected__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_default__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_filled__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_activeTyping__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_activeTyping__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_filledFocus__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_filledFocus__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_errorFocus__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_errorFocus__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_errorFilled__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_errorFilled__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_warning__9126ab7b, .Dropdown_module_borderless__9126ab7b.Dropdown_module_disabled__9126ab7b {\n border: 0 !important;\n border-width: 0 !important;\n border-style: none !important;\n border-color: transparent !important;\n background: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n}\n.Dropdown_module_borderless__9126ab7b.Dropdown_module_focus__9126ab7b {\n padding: 0 !important;\n}\n.Dropdown_module_borderless__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_sm__9126ab7b {\n padding: 0 !important;\n}\n.Dropdown_module_borderless__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_md__9126ab7b {\n padding: 0 !important;\n}\n\n.Dropdown_module_dropdown__9126ab7b .Dropdown_module_dropdownContainer__9126ab7b.Dropdown_module_borderless__9126ab7b.Dropdown_module_focus__9126ab7b {\n border: 0 !important;\n border-width: 0 !important;\n border-style: none !important;\n border-color: transparent !important;\n background: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n}\n\n.Dropdown_module_dropdownMenuPopover__9126ab7b {\n background: none !important;\n box-shadow: none !important;\n border: none !important;\n padding: 0 !important;\n}\n\n.Dropdown_module_dropdownMenu__9126ab7b {\n background: white;\n border: 1px solid #e9eaeb;\n border-radius: 8px;\n padding-top: 4px;\n box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.1), 0px 4px 6px 0px rgba(0, 0, 0, 0.06);\n width: 100%;\n max-height: 300px;\n overflow-y: auto;\n}\n\n.Dropdown_module_dropdownMenuItem__9126ab7b {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 1px 6px;\n width: 100%;\n}\n.Dropdown_module_dropdownMenuItem__9126ab7b .Dropdown_module_dropdownMenuItemInner__9126ab7b {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 8px 8px 8px 8px;\n border-radius: 6px;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out;\n gap: 8px;\n width: 100%;\n background: white;\n}\n.Dropdown_module_dropdownMenuItem__9126ab7b .Dropdown_module_dropdownMenuItemInner__9126ab7b:hover {\n background: #fafafa;\n}\n.Dropdown_module_dropdownMenuItem__9126ab7b .Dropdown_module_dropdownMenuItemInner__9126ab7b:active {\n background: #f5f5f5;\n}\n.Dropdown_module_dropdownMenuItem__9126ab7b.Dropdown_module_dropdownMenuItemSelected__9126ab7b .Dropdown_module_dropdownMenuItemInner__9126ab7b {\n background: #fafafa;\n}\n\n.Dropdown_module_dropdownMenuItemContent__9126ab7b {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 1;\n min-width: 0;\n}\n\n.Dropdown_module_dropdownMenuItemIcon__9126ab7b {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n.Dropdown_module_dropdownMenuItemIcon__9126ab7b svg {\n width: 100%;\n height: 100%;\n}\n\n.Dropdown_module_dropdownMenuItemText__9126ab7b {\n flex: 1;\n font-family: Jakarta;\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n color: #414651;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.Dropdown_module_dropdownMenuItemSelected__9126ab7b .Dropdown_module_dropdownMenuItemText__9126ab7b {\n color: #181d27;\n}\n\n.Dropdown_module_dropdownMenuItemCheckbox__9126ab7b {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n\n.Dropdown_module_dropdownMenuItemCheck__9126ab7b {\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.Dropdown_module_dropdownMenuItemCheck__9126ab7b svg {\n width: 100%;\n height: 100%;\n}\n.Dropdown_module_dropdownMenuItemCheck__9126ab7b svg > path {\n stroke: #2e90fa !important;\n}\n\n.Dropdown_module_filtersDropdown__9126ab7b {\n background: white;\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n padding: 0;\n box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);\n min-width: 200px;\n max-height: 300px;\n overflow: hidden;\n}\n\n.Dropdown_module_filtersHeader__9126ab7b {\n padding: 8px 14px;\n}\n.Dropdown_module_filtersHeader__9126ab7b .Dropdown_module_filtersTitle__9126ab7b {\n font-family: Jakarta;\n font-size: 12px;\n line-height: 16px;\n font-weight: 600;\n color: #717680;\n white-space: nowrap;\n}\n\n.Dropdown_module_filtersOptions__9126ab7b {\n max-height: 240px;\n overflow-y: auto;\n}\n\n.Dropdown_module_filterOption__9126ab7b {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 8px 16px;\n background: none;\n border: none;\n text-align: left;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out;\n}\n.Dropdown_module_filterOption__9126ab7b .Dropdown_module_filterLabel__9126ab7b {\n font-family: Jakarta;\n font-size: 14px;\n line-height: 20px;\n font-weight: 500;\n color: #374151;\n}\n.Dropdown_module_filterOption__9126ab7b:hover {\n background: #f9fafb;\n}\n.Dropdown_module_filterOption__9126ab7b:hover .Dropdown_module_filterLabel__9126ab7b {\n color: #1f2937;\n}\n.Dropdown_module_filterOption__9126ab7b:active {\n background: #f3f4f6;\n}\n\n.Dropdown_module_countBadge__9126ab7b {\n background-color: #0a0d12 !important;\n border-radius: 4px !important;\n border-color: transparent !important;\n}\n.Dropdown_module_countBadge__9126ab7b > span {\n color: #ffffff !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n line-height: 20px !important;\n}\n.Dropdown_module_countBadge__9126ab7b > button {\n color: #ffffff !important;\n opacity: 0.7 !important;\n}\n.Dropdown_module_countBadge__9126ab7b > button:hover {\n opacity: 1 !important;\n background-color: rgba(255, 255, 255, 0.1) !important;\n}\n.Dropdown_module_countBadge__9126ab7b > button svg {\n color: #ffffff !important;\n fill: #ffffff !important;\n}\n\n.Dropdown_module_countBadgeDisabled__9126ab7b {\n background-color: #ffffff !important;\n border: 1px solid #d5d7da !important;\n border-radius: 4px !important;\n}\n.Dropdown_module_countBadgeDisabled__9126ab7b > span {\n color: #a4a7ae !important;\n font-weight: 500 !important;\n font-size: 14px !important;\n line-height: 20px !important;\n}\n.Dropdown_module_countBadgeDisabled__9126ab7b > button {\n color: #a4a7ae !important;\n opacity: 0.7 !important;\n cursor: not-allowed !important;\n pointer-events: none !important;\n}\n.Dropdown_module_countBadgeDisabled__9126ab7b > button:hover {\n opacity: 0.7 !important;\n background-color: transparent !important;\n}\n.Dropdown_module_countBadgeDisabled__9126ab7b > button svg {\n color: #a4a7ae !important;\n fill: #a4a7ae !important;\n}\n\n.Dropdown_module_selectedText__9126ab7b {\n margin-left: 8px !important;\n}\n\n.Dropdown_module_dropdownMenuItemCheckbox__9126ab7b {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n\n.Dropdown_module_shortcutHint__9126ab7b {\n display: flex;\n align-items: center;\n justify-content: center;\n background: white;\n color: #a4a7ae;\n font-family: Jakarta;\n font-size: 12px;\n font-weight: 500;\n border: 1px solid #e9eaeb;\n border-radius: 4px;\n padding: 1px 4px;\n user-select: none;\n line-height: 16px;\n height: 20px;\n min-width: 20px;\n}\n\n.Dropdown_module_searchContainer__9126ab7b {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 10px 12px;\n background: white;\n border: 1px solid #d5d7da;\n border-radius: 8px;\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);\n transition: all 0.2s ease-in-out;\n width: 100%;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_sm__9126ab7b {\n height: 40px;\n padding: 10px 12px;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_md__9126ab7b {\n height: 44px;\n padding: 10px 12px;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_focus__9126ab7b {\n border: 2px solid #2e90fa;\n padding: 9px 11px;\n box-shadow: none;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_sm__9126ab7b {\n padding: 9px 11px;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_focus__9126ab7b.Dropdown_module_md__9126ab7b {\n padding: 9px 11px;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_disabled__9126ab7b {\n background: #fafafa;\n border: 1px solid #d5d7da;\n cursor: not-allowed;\n box-shadow: none;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_disabled__9126ab7b .Dropdown_module_searchInput__9126ab7b {\n background: transparent;\n color: #a4a7ae;\n cursor: not-allowed;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_disabled__9126ab7b .Dropdown_module_searchIcon__9126ab7b svg {\n color: #a4a7ae;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_error__9126ab7b {\n border: 1px solid #f04438;\n background: white;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_error__9126ab7b:hover {\n border-color: #d92d20;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_warning__9126ab7b {\n border: 1px solid #f79009;\n background: white;\n}\n.Dropdown_module_searchContainer__9126ab7b.Dropdown_module_warning__9126ab7b:hover {\n border-color: #dc6803;\n}\n\n.Dropdown_module_searchIcon__9126ab7b {\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n}\n.Dropdown_module_searchIcon__9126ab7b svg {\n width: 100%;\n height: 100%;\n color: #535862;\n transition: color 0.2s ease-in-out;\n}\n\n.Dropdown_module_searchInput__9126ab7b {\n flex-shrink: 0;\n border: none;\n outline: none;\n background: transparent;\n font-family: Jakarta;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: #181d27;\n min-width: 120px;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_textField__9126ab7b {\n display: contents !important;\n gap: 0 !important;\n width: auto !important;\n min-width: 0 !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_labelContainer__9126ab7b {\n display: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b {\n display: contents !important;\n border: none !important;\n border-radius: 0 !important;\n padding: 0 !important;\n height: auto !important;\n background: transparent !important;\n box-shadow: none !important;\n transition: none !important;\n overflow: visible !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b:focus, .Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b:focus-within, .Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b.Dropdown_module_focus__9126ab7b, .Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b.Dropdown_module_activeTyping__9126ab7b, .Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b.Dropdown_module_activeTyping__9126ab7b, .Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b.Dropdown_module_filledFocus__9126ab7b, .Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputContainer__9126ab7b.Dropdown_module_filledFocus__9126ab7b {\n border: none !important;\n box-shadow: none !important;\n outline: none !important;\n background: transparent !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_inputInner__9126ab7b {\n display: contents !important;\n padding: 0 !important;\n gap: 0 !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_contentArea__9126ab7b {\n display: contents !important;\n gap: 0 !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_trailingArea__9126ab7b {\n display: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_mainInput__9126ab7b {\n flex: 1 !important;\n border: none !important;\n outline: none !important;\n background: transparent !important;\n font-family: Jakarta !important;\n font-weight: 400 !important;\n font-size: 16px !important;\n line-height: 24px !important;\n color: #181d27 !important;\n min-width: 120px !important;\n padding: 0 !important;\n margin: 0 !important;\n box-shadow: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_mainInput__9126ab7b::placeholder {\n color: #a4a7ae !important;\n font-weight: 400 !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_mainInput__9126ab7b:focus {\n outline: none !important;\n border: none !important;\n box-shadow: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_mainInput__9126ab7b:focus-visible {\n outline: none !important;\n border: none !important;\n box-shadow: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_mainInput__9126ab7b:hover {\n border: none !important;\n box-shadow: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_mainInput__9126ab7b:active {\n border: none !important;\n box-shadow: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b input {\n border: none !important;\n outline: none !important;\n box-shadow: none !important;\n background: transparent !important;\n}\n.Dropdown_module_searchInput__9126ab7b input:focus, .Dropdown_module_searchInput__9126ab7b input:focus-visible, .Dropdown_module_searchInput__9126ab7b input:hover, .Dropdown_module_searchInput__9126ab7b input:active {\n border: none !important;\n outline: none !important;\n box-shadow: none !important;\n background: transparent !important;\n}\n.Dropdown_module_searchInput__9126ab7b > div {\n display: flex;\n align-items: center;\n width: 100%;\n height: 20px;\n max-height: 20px;\n overflow: hidden;\n}\n.Dropdown_module_searchInput__9126ab7b.Dropdown_module_sm__9126ab7b > div {\n height: 20px;\n max-height: 20px;\n}\n.Dropdown_module_searchInput__9126ab7b.Dropdown_module_md__9126ab7b > div {\n height: 24px;\n max-height: 24px;\n}\n.Dropdown_module_searchInput__9126ab7b * {\n border: none !important;\n border-radius: 0 !important;\n outline: none !important;\n box-shadow: none !important;\n padding-inline: 0 !important;\n}\n.Dropdown_module_searchInput__9126ab7b *:focus, .Dropdown_module_searchInput__9126ab7b *:focus-visible, .Dropdown_module_searchInput__9126ab7b *:focus-within {\n border: none !important;\n outline: none !important;\n box-shadow: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b .Dropdown_module_helperText__9126ab7b {\n display: none !important;\n}\n.Dropdown_module_searchInput__9126ab7b.Dropdown_module_searchInputFilled__9126ab7b .Dropdown_module_mainInput__9126ab7b {\n font-weight: 400 !important;\n color: #181d27 !important;\n}\n\n.Dropdown_module_shortcutDisplay__9126ab7b {\n display: flex;\n align-items: center;\n justify-content: center;\n background: white;\n border: 1px solid #e9eaeb;\n border-radius: 4px;\n padding: 1px 4px;\n user-select: none;\n flex-shrink: 0;\n}\n\n.Dropdown_module_shortcutText__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: #a4a7ae;\n white-space: nowrap;\n}\n\n.Dropdown_module_searchTagsContainer__9126ab7b {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 1;\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none;\n -ms-overflow-style: none;\n /* Hide scrollbar */\n}\n.Dropdown_module_searchTagsContainer__9126ab7b::-webkit-scrollbar {\n display: none;\n}\n.Dropdown_module_searchTagsContainer__9126ab7b {\n /* All children (tags and search input) don't shrink */\n}\n.Dropdown_module_searchTagsContainer__9126ab7b > * {\n flex-shrink: 0;\n}\n\n.Dropdown_module_searchTag__9126ab7b {\n display: flex;\n align-items: center;\n gap: 3px;\n background: white;\n border: 1px solid #d5d7da;\n border-radius: 6px;\n padding: 4px 8px 4px 8px;\n height: 24px;\n font-size: 12px;\n line-height: 16px;\n flex-shrink: 0;\n white-space: nowrap;\n}\n\n.Dropdown_module_tagKey__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: #717680;\n white-space: nowrap;\n}\n\n.Dropdown_module_tagValue__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: #414651;\n white-space: nowrap;\n}\n\n.Dropdown_module_tagValueInput__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: #414651;\n background: transparent;\n border: none;\n outline: none;\n padding: 0;\n margin: 0;\n width: auto;\n min-width: 20px;\n max-width: 100px;\n}\n.Dropdown_module_tagValueInput__9126ab7b::placeholder {\n color: #a4a7ae;\n font-weight: 400;\n}\n\n.Dropdown_module_tagClose__9126ab7b {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n background: none;\n border: none;\n cursor: pointer;\n color: #717680;\n font-size: 10px;\n line-height: 1;\n padding: 0;\n}\n.Dropdown_module_tagClose__9126ab7b:hover {\n color: #414651;\n background-color: rgba(0, 0, 0, 0.05);\n border-radius: 2px;\n}\n\n.Dropdown_module_tagKey__9126ab7b {\n font-family: Jakarta;\n font-weight: 400;\n color: #717680;\n white-space: nowrap;\n}\n\n.Dropdown_module_tagValue__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n color: #414651;\n cursor: pointer;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n min-width: 20px;\n}\n.Dropdown_module_tagValue__9126ab7b:hover {\n background: rgba(46, 144, 250, 0.1);\n border-radius: 3px;\n padding: 1px 2px;\n margin: -1px -2px;\n}\n\n.Dropdown_module_tagInput__9126ab7b {\n border: none;\n outline: none;\n background: transparent;\n font-family: Jakarta;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: #414651;\n min-width: 20px;\n width: auto;\n padding: 0;\n margin: 0;\n}\n.Dropdown_module_tagInput__9126ab7b::placeholder {\n color: #a4a7ae;\n font-weight: 400;\n}\n.Dropdown_module_tagInput__9126ab7b:focus {\n outline: none;\n}\n\n.Dropdown_module_filterKeyTag__9126ab7b {\n background: white;\n border: 1px solid #d5d7da;\n border-radius: 6px;\n padding: 4px 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n flex-shrink: 0;\n}\n\n.Dropdown_module_filterKeyLabel__9126ab7b {\n font-family: Jakarta;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: #414651;\n white-space: nowrap;\n}";
|
|
7759
|
+
var modules_5709697d = {"dropdown":"Dropdown_module_dropdown__9126ab7b","labelContainer":"Dropdown_module_labelContainer__9126ab7b","label":"Dropdown_module_label__9126ab7b","required":"Dropdown_module_required__9126ab7b","helpIcon":"Dropdown_module_helpIcon__9126ab7b","buttonWrapper":"Dropdown_module_buttonWrapper__9126ab7b","dropdownContainer":"Dropdown_module_dropdownContainer__9126ab7b","focus":"Dropdown_module_focus__9126ab7b","sm":"Dropdown_module_sm__9126ab7b","md":"Dropdown_module_md__9126ab7b","contentArea":"Dropdown_module_contentArea__9126ab7b","leadingIcon":"Dropdown_module_leadingIcon__9126ab7b","trailingArea":"Dropdown_module_trailingArea__9126ab7b","dropdownText":"Dropdown_module_dropdownText__9126ab7b","placeholder":"Dropdown_module_placeholder__9126ab7b","statusIcon":"Dropdown_module_statusIcon__9126ab7b","dropdownIcon":"Dropdown_module_dropdownIcon__9126ab7b","helperText":"Dropdown_module_helperText__9126ab7b","helperDefault":"Dropdown_module_helperDefault__9126ab7b","helperError":"Dropdown_module_helperError__9126ab7b","helperWarning":"Dropdown_module_helperWarning__9126ab7b","default":"Dropdown_module_default__9126ab7b","selected":"Dropdown_module_selected__9126ab7b","disabled":"Dropdown_module_disabled__9126ab7b","error":"Dropdown_module_error__9126ab7b","warning":"Dropdown_module_warning__9126ab7b","readOnly":"Dropdown_module_readOnly__9126ab7b","read-only":"Dropdown_module_readOnly__9126ab7b","borderless":"Dropdown_module_borderless__9126ab7b","filled":"Dropdown_module_filled__9126ab7b","activeTyping":"Dropdown_module_activeTyping__9126ab7b","active-typing":"Dropdown_module_activeTyping__9126ab7b","filledFocus":"Dropdown_module_filledFocus__9126ab7b","filled-focus":"Dropdown_module_filledFocus__9126ab7b","errorFocus":"Dropdown_module_errorFocus__9126ab7b","error-focus":"Dropdown_module_errorFocus__9126ab7b","errorFilled":"Dropdown_module_errorFilled__9126ab7b","error-filled":"Dropdown_module_errorFilled__9126ab7b","dropdownMenuPopover":"Dropdown_module_dropdownMenuPopover__9126ab7b","dropdownMenu":"Dropdown_module_dropdownMenu__9126ab7b","dropdownMenuItem":"Dropdown_module_dropdownMenuItem__9126ab7b","dropdownMenuItemInner":"Dropdown_module_dropdownMenuItemInner__9126ab7b","dropdownMenuItemSelected":"Dropdown_module_dropdownMenuItemSelected__9126ab7b","dropdownMenuItemContent":"Dropdown_module_dropdownMenuItemContent__9126ab7b","dropdownMenuItemIcon":"Dropdown_module_dropdownMenuItemIcon__9126ab7b","dropdownMenuItemText":"Dropdown_module_dropdownMenuItemText__9126ab7b","dropdownMenuItemCheckbox":"Dropdown_module_dropdownMenuItemCheckbox__9126ab7b","dropdownMenuItemCheck":"Dropdown_module_dropdownMenuItemCheck__9126ab7b","filtersDropdown":"Dropdown_module_filtersDropdown__9126ab7b","filtersHeader":"Dropdown_module_filtersHeader__9126ab7b","filtersTitle":"Dropdown_module_filtersTitle__9126ab7b","filtersOptions":"Dropdown_module_filtersOptions__9126ab7b","filterOption":"Dropdown_module_filterOption__9126ab7b","filterLabel":"Dropdown_module_filterLabel__9126ab7b","countBadge":"Dropdown_module_countBadge__9126ab7b","countBadgeDisabled":"Dropdown_module_countBadgeDisabled__9126ab7b","selectedText":"Dropdown_module_selectedText__9126ab7b","shortcutHint":"Dropdown_module_shortcutHint__9126ab7b","searchContainer":"Dropdown_module_searchContainer__9126ab7b","searchInput":"Dropdown_module_searchInput__9126ab7b","searchIcon":"Dropdown_module_searchIcon__9126ab7b","textField":"Dropdown_module_textField__9126ab7b","inputContainer":"Dropdown_module_inputContainer__9126ab7b","inputInner":"Dropdown_module_inputInner__9126ab7b","mainInput":"Dropdown_module_mainInput__9126ab7b","searchInputFilled":"Dropdown_module_searchInputFilled__9126ab7b","shortcutDisplay":"Dropdown_module_shortcutDisplay__9126ab7b","shortcutText":"Dropdown_module_shortcutText__9126ab7b","searchTagsContainer":"Dropdown_module_searchTagsContainer__9126ab7b","searchTag":"Dropdown_module_searchTag__9126ab7b","tagKey":"Dropdown_module_tagKey__9126ab7b","tagValue":"Dropdown_module_tagValue__9126ab7b","tagValueInput":"Dropdown_module_tagValueInput__9126ab7b","tagClose":"Dropdown_module_tagClose__9126ab7b","tagInput":"Dropdown_module_tagInput__9126ab7b","filterKeyTag":"Dropdown_module_filterKeyTag__9126ab7b","filterKeyLabel":"Dropdown_module_filterKeyLabel__9126ab7b"};
|
|
7760
|
+
n(css$x,{});
|
|
7761
|
+
|
|
7762
|
+
var _excluded$1 = ["label", "placeholder", "helperText", "value", "defaultValue", "selectedValues", "defaultSelectedValues", "options", "dataLabel", "customAllLabel", "state", "size", "variant", "required", "disabled", "readOnly", "helpIcon", "helpText", "errorIcon", "warningIcon", "icon", "searchIcon", "shortcut", "onShortcut", "enableAdvancedSearch", "searchTags", "defaultSearchTags", "availableKeys", "onAdvancedSearchChange", "tagOptionsEnabled", "tagOptions", "onChange", "onMultiSelectChange", "onSearchChange", "onFocus", "onBlur", "popoverOffset", "popoverClassName", "className", "id", "name"];
|
|
7763
|
+
var Dropdown$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7764
|
+
var label = _ref.label,
|
|
7765
|
+
_ref$placeholder = _ref.placeholder,
|
|
7766
|
+
placeholder = _ref$placeholder === void 0 ? 'Select the option' : _ref$placeholder,
|
|
7767
|
+
_ref$helperText = _ref.helperText,
|
|
7768
|
+
helperText = _ref$helperText === void 0 ? 'This is a hint text to help user.' : _ref$helperText,
|
|
7769
|
+
value = _ref.value,
|
|
7770
|
+
defaultValue = _ref.defaultValue,
|
|
7771
|
+
selectedValues = _ref.selectedValues,
|
|
7772
|
+
defaultSelectedValues = _ref.defaultSelectedValues,
|
|
7773
|
+
_ref$options = _ref.options,
|
|
7774
|
+
options = _ref$options === void 0 ? [] : _ref$options,
|
|
7775
|
+
_ref$dataLabel = _ref.dataLabel,
|
|
7776
|
+
dataLabel = _ref$dataLabel === void 0 ? 'option' : _ref$dataLabel,
|
|
7777
|
+
_ref$customAllLabel = _ref.customAllLabel,
|
|
7778
|
+
customAllLabel = _ref$customAllLabel === void 0 ? 'All' : _ref$customAllLabel,
|
|
7779
|
+
_ref$state = _ref.state,
|
|
7780
|
+
state = _ref$state === void 0 ? 'default' : _ref$state,
|
|
7781
|
+
_ref$size = _ref.size,
|
|
7782
|
+
size = _ref$size === void 0 ? 'sm' : _ref$size,
|
|
7783
|
+
_ref$variant = _ref.variant,
|
|
7784
|
+
variant = _ref$variant === void 0 ? 'simple' : _ref$variant,
|
|
7785
|
+
_ref$required = _ref.required,
|
|
7786
|
+
required = _ref$required === void 0 ? true : _ref$required,
|
|
7787
|
+
_ref$disabled = _ref.disabled,
|
|
7788
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7789
|
+
_ref$readOnly = _ref.readOnly,
|
|
7790
|
+
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
|
7791
|
+
_ref$helpIcon = _ref.helpIcon,
|
|
7792
|
+
helpIcon = _ref$helpIcon === void 0 ? true : _ref$helpIcon,
|
|
7793
|
+
helpText = _ref.helpText,
|
|
7794
|
+
_ref$errorIcon = _ref.errorIcon,
|
|
7795
|
+
errorIcon = _ref$errorIcon === void 0 ? true : _ref$errorIcon,
|
|
7796
|
+
_ref$warningIcon = _ref.warningIcon,
|
|
7797
|
+
warningIcon = _ref$warningIcon === void 0 ? true : _ref$warningIcon,
|
|
7798
|
+
icon = _ref.icon,
|
|
7799
|
+
searchIcon = _ref.searchIcon,
|
|
7800
|
+
shortcut = _ref.shortcut,
|
|
7801
|
+
onShortcut = _ref.onShortcut,
|
|
7802
|
+
_ref$enableAdvancedSe = _ref.enableAdvancedSearch,
|
|
7803
|
+
enableAdvancedSearch = _ref$enableAdvancedSe === void 0 ? false : _ref$enableAdvancedSe,
|
|
7804
|
+
searchTags = _ref.searchTags,
|
|
7805
|
+
defaultSearchTags = _ref.defaultSearchTags,
|
|
7806
|
+
_ref$availableKeys = _ref.availableKeys,
|
|
7807
|
+
availableKeys = _ref$availableKeys === void 0 ? [] : _ref$availableKeys,
|
|
7808
|
+
onAdvancedSearchChange = _ref.onAdvancedSearchChange,
|
|
7809
|
+
_ref$tagOptionsEnable = _ref.tagOptionsEnabled,
|
|
7810
|
+
tagOptionsEnabled = _ref$tagOptionsEnable === void 0 ? false : _ref$tagOptionsEnable,
|
|
7811
|
+
_ref$tagOptions = _ref.tagOptions,
|
|
7812
|
+
tagOptions = _ref$tagOptions === void 0 ? [] : _ref$tagOptions,
|
|
7813
|
+
onChange = _ref.onChange,
|
|
7814
|
+
onMultiSelectChange = _ref.onMultiSelectChange,
|
|
7815
|
+
onSearchChange = _ref.onSearchChange,
|
|
7816
|
+
onFocus = _ref.onFocus,
|
|
7817
|
+
onBlur = _ref.onBlur,
|
|
7818
|
+
popoverOffset = _ref.popoverOffset,
|
|
7819
|
+
popoverClassName = _ref.popoverClassName,
|
|
7820
|
+
className = _ref.className,
|
|
7821
|
+
id = _ref.id,
|
|
7822
|
+
name = _ref.name,
|
|
7823
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
7824
|
+
// Internal state for uncontrolled component
|
|
7825
|
+
// setInternalValue will be used when dropdown menu selection is implemented
|
|
7826
|
+
var _useState = React.useState(defaultValue || ''),
|
|
7827
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
7828
|
+
internalValue = _useState2[0],
|
|
7829
|
+
setInternalValue = _useState2[1];
|
|
7830
|
+
var _useState3 = React.useState(defaultSelectedValues || []),
|
|
7831
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
7832
|
+
internalSelectedValues = _useState4[0],
|
|
7833
|
+
setInternalSelectedValues = _useState4[1];
|
|
7834
|
+
var _useState5 = React.useState(false),
|
|
7835
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
7836
|
+
isFocused = _useState6[0],
|
|
7837
|
+
setIsFocused = _useState6[1];
|
|
7838
|
+
var _useState7 = React.useState(false),
|
|
7839
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
7840
|
+
isOpen = _useState8[0],
|
|
7841
|
+
setIsOpen = _useState8[1];
|
|
7842
|
+
var _useState9 = React.useState(''),
|
|
7843
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
7844
|
+
searchValue = _useState0[0],
|
|
7845
|
+
setSearchValue = _useState0[1]; // For search variant
|
|
7846
|
+
// Advanced search state - simplified
|
|
7847
|
+
var _useState1 = React.useState(defaultSearchTags || []),
|
|
7848
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
7849
|
+
internalSearchTags = _useState10[0],
|
|
7850
|
+
setInternalSearchTags = _useState10[1];
|
|
7851
|
+
var dropdownButtonRef = React.useRef(null);
|
|
7852
|
+
var searchInputRef = React.useRef(null); // For search variant
|
|
7853
|
+
var dropdownContainerRef = React.useRef(null); // For popover anchoring
|
|
7854
|
+
var searchContainerRef = React.useRef(null); // For search variant anchoring
|
|
7855
|
+
var searchTagsContainerRef = React.useRef(null); // For tags scrolling behavior
|
|
7856
|
+
// Tag options state
|
|
7857
|
+
var _useState11 = React.useState(null),
|
|
7858
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
7859
|
+
focusedTagId = _useState12[0],
|
|
7860
|
+
setFocusedTagId = _useState12[1]; // Track which tag should show options
|
|
7861
|
+
var _useState13 = React.useState(false),
|
|
7862
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
7863
|
+
tagOptionsOpen = _useState14[0],
|
|
7864
|
+
setTagOptionsOpen = _useState14[1]; // Track tag options dropdown visibility
|
|
7865
|
+
var focusedTagRef = React.useRef(null); // Reference to focused tag input
|
|
7866
|
+
// Expose focus method via ref
|
|
7867
|
+
React.useImperativeHandle(ref, function () {
|
|
7868
|
+
return {
|
|
7869
|
+
focus: function focus() {
|
|
7870
|
+
if (variant === 'search' && searchInputRef.current && !disabled && !readOnly) {
|
|
7871
|
+
searchInputRef.current.focus();
|
|
7872
|
+
setIsOpen(true);
|
|
7873
|
+
setIsFocused(true);
|
|
7874
|
+
} else if (dropdownButtonRef.current && !disabled && !readOnly) {
|
|
7875
|
+
dropdownButtonRef.current.focus();
|
|
7876
|
+
setIsOpen(true); // Open the dropdown to show options
|
|
7877
|
+
setIsFocused(true);
|
|
7878
|
+
}
|
|
7879
|
+
}
|
|
7880
|
+
};
|
|
7881
|
+
});
|
|
7882
|
+
// Keyboard shortcut support for search variant
|
|
7883
|
+
React.useEffect(function () {
|
|
7884
|
+
if (variant !== 'search' || !shortcut) return;
|
|
7885
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
7886
|
+
// Parse shortcut (e.g., '⌘T' -> Cmd+T)
|
|
7887
|
+
var isCtrlOrCmd = e.metaKey || e.ctrlKey;
|
|
7888
|
+
var shortcutKey = shortcut.replace('⌘', '').toLowerCase();
|
|
7889
|
+
if (isCtrlOrCmd && e.key.toLowerCase() === shortcutKey) {
|
|
7890
|
+
e.preventDefault();
|
|
7891
|
+
onShortcut === null || onShortcut === void 0 || onShortcut();
|
|
7892
|
+
// Focus the search input
|
|
7893
|
+
if (searchInputRef.current && !disabled && !readOnly) {
|
|
7894
|
+
searchInputRef.current.focus();
|
|
7895
|
+
setIsOpen(true);
|
|
7896
|
+
setIsFocused(true);
|
|
7897
|
+
}
|
|
7898
|
+
}
|
|
7899
|
+
};
|
|
7900
|
+
window.addEventListener('keydown', handleKeyDown);
|
|
7901
|
+
return function () {
|
|
7902
|
+
return window.removeEventListener('keydown', handleKeyDown);
|
|
7903
|
+
};
|
|
7904
|
+
}, [variant, shortcut, onShortcut, disabled, readOnly]);
|
|
7905
|
+
// Advanced search helper functions - simplified
|
|
7906
|
+
var currentSearchTags = searchTags !== undefined ? searchTags : internalSearchTags;
|
|
7907
|
+
var generateTagId = function generateTagId() {
|
|
7908
|
+
return "tag-".concat(Date.now(), "-").concat(Math.random().toString(36).substr(2, 9));
|
|
7909
|
+
};
|
|
7910
|
+
var emitAdvancedSearchChange = function emitAdvancedSearchChange(tags, searchText) {
|
|
7911
|
+
if (!onAdvancedSearchChange) return;
|
|
7912
|
+
var result = {
|
|
7913
|
+
tags: tags.map(function (_ref2) {
|
|
7914
|
+
var key = _ref2.key,
|
|
7915
|
+
value = _ref2.value;
|
|
7916
|
+
return {
|
|
7917
|
+
key: key,
|
|
7918
|
+
value: value
|
|
7919
|
+
};
|
|
7920
|
+
}),
|
|
7921
|
+
defaultSearch: searchText
|
|
7922
|
+
};
|
|
7923
|
+
onAdvancedSearchChange(result);
|
|
7924
|
+
};
|
|
7925
|
+
// Handle key selection from dropdown
|
|
7926
|
+
var handleKeySelect = function handleKeySelect(keyLabel) {
|
|
7927
|
+
var newTag = {
|
|
7928
|
+
id: generateTagId(),
|
|
7929
|
+
key: keyLabel,
|
|
7930
|
+
value: '',
|
|
7931
|
+
isEditingValue: true
|
|
7932
|
+
};
|
|
7933
|
+
var updatedTags = [].concat(_toConsumableArray(currentSearchTags), [newTag]);
|
|
7934
|
+
if (searchTags === undefined) {
|
|
7935
|
+
setInternalSearchTags(updatedTags);
|
|
7936
|
+
}
|
|
7937
|
+
// Clear main search and close dropdown
|
|
7938
|
+
setSearchValue('');
|
|
7939
|
+
setIsOpen(false);
|
|
7940
|
+
emitAdvancedSearchChange(updatedTags, '');
|
|
7941
|
+
// Focus will be managed by the Tag component's ref callback
|
|
7942
|
+
};
|
|
7943
|
+
// Handle tag value updates
|
|
7944
|
+
var handleTagValueUpdate = function handleTagValueUpdate(tagId, newValue) {
|
|
7945
|
+
var finalize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
7946
|
+
var updatedTags = currentSearchTags.map(function (tag) {
|
|
7947
|
+
return tag.id === tagId ? _objectSpread2(_objectSpread2({}, tag), {}, {
|
|
7948
|
+
value: newValue,
|
|
7949
|
+
isEditingValue: !finalize
|
|
7950
|
+
}) : tag;
|
|
7951
|
+
});
|
|
7952
|
+
// Update internal state immediately for controlled components
|
|
7953
|
+
if (searchTags === undefined) {
|
|
7954
|
+
setInternalSearchTags(updatedTags);
|
|
7955
|
+
}
|
|
7956
|
+
// Always emit the change for external consumers
|
|
7957
|
+
emitAdvancedSearchChange(updatedTags, searchValue);
|
|
7958
|
+
// Close tag options popover when finalizing
|
|
7959
|
+
if (finalize && tagOptionsEnabled && focusedTagId === tagId) {
|
|
7960
|
+
handleTagOptionsPopoverClose();
|
|
7961
|
+
}
|
|
7962
|
+
// Focus main input after finalizing tag edit
|
|
7963
|
+
if (finalize && searchInputRef.current) {
|
|
7964
|
+
setTimeout(function () {
|
|
7965
|
+
var _searchInputRef$curre;
|
|
7966
|
+
(_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 || _searchInputRef$curre.focus();
|
|
7967
|
+
setIsOpen(true); // Reopen dropdown for continued searching
|
|
7968
|
+
}, 100);
|
|
7969
|
+
}
|
|
7970
|
+
};
|
|
7971
|
+
// Handle tag removal
|
|
7972
|
+
var handleTagRemove = function handleTagRemove(tagId) {
|
|
7973
|
+
var updatedTags = currentSearchTags.filter(function (tag) {
|
|
7974
|
+
return tag.id !== tagId;
|
|
7975
|
+
});
|
|
7976
|
+
if (searchTags === undefined) {
|
|
7977
|
+
setInternalSearchTags(updatedTags);
|
|
7978
|
+
}
|
|
7979
|
+
emitAdvancedSearchChange(updatedTags, searchValue);
|
|
7980
|
+
// Focus main input after removal
|
|
7981
|
+
if (searchInputRef.current) {
|
|
7982
|
+
setTimeout(function () {
|
|
7983
|
+
var _searchInputRef$curre2;
|
|
7984
|
+
return (_searchInputRef$curre2 = searchInputRef.current) === null || _searchInputRef$curre2 === void 0 ? void 0 : _searchInputRef$curre2.focus();
|
|
7985
|
+
}, 50);
|
|
7986
|
+
}
|
|
7987
|
+
};
|
|
7988
|
+
// Handle tag options focus
|
|
7989
|
+
var handleTagOptionsFocus = function handleTagOptionsFocus(tagId, inputElement) {
|
|
7990
|
+
if (tagOptionsEnabled && tagOptions.length > 0) {
|
|
7991
|
+
setFocusedTagId(tagId);
|
|
7992
|
+
focusedTagRef.current = inputElement;
|
|
7993
|
+
setTagOptionsOpen(true);
|
|
7994
|
+
}
|
|
7995
|
+
};
|
|
7996
|
+
// Handle tag option selection
|
|
7997
|
+
var handleTagOptionSelect = function handleTagOptionSelect(optionValue) {
|
|
7998
|
+
if (focusedTagId) {
|
|
7999
|
+
// Update the focused tag's value and close the popover
|
|
8000
|
+
handleTagValueUpdate(focusedTagId, optionValue, true); // Auto-finalize
|
|
8001
|
+
// Delay closing the popover slightly to ensure value update completes
|
|
8002
|
+
setTimeout(function () {
|
|
8003
|
+
handleTagOptionsPopoverClose();
|
|
8004
|
+
}, 50);
|
|
8005
|
+
}
|
|
8006
|
+
};
|
|
8007
|
+
// Handle tag options popover close
|
|
8008
|
+
var handleTagOptionsPopoverClose = function handleTagOptionsPopoverClose() {
|
|
8009
|
+
setTagOptionsOpen(false);
|
|
8010
|
+
setFocusedTagId(null);
|
|
8011
|
+
focusedTagRef.current = null;
|
|
8012
|
+
};
|
|
8013
|
+
// Get filtered keys based on search input
|
|
8014
|
+
var getFilteredKeys = function getFilteredKeys() {
|
|
8015
|
+
if (!enableAdvancedSearch || !availableKeys) return [];
|
|
8016
|
+
// If no search value, show all available keys for advanced search
|
|
8017
|
+
if (!searchValue) return availableKeys;
|
|
8018
|
+
// Filter keys based on search input
|
|
8019
|
+
return availableKeys.filter(function (key) {
|
|
8020
|
+
return key.label.toLowerCase().includes(searchValue.toLowerCase());
|
|
8021
|
+
});
|
|
8022
|
+
};
|
|
8023
|
+
var filteredKeys = getFilteredKeys();
|
|
8024
|
+
// Check if multi-select mode
|
|
8025
|
+
var isMultiSelect = variant === 'multi-select';
|
|
8026
|
+
// Create enhanced options with "All" option for multi-select
|
|
8027
|
+
var enhancedOptions = isMultiSelect ? [{
|
|
8028
|
+
value: '__all__',
|
|
8029
|
+
label: customAllLabel
|
|
8030
|
+
}].concat(_toConsumableArray(options)) : options;
|
|
8031
|
+
// Get actual options (excluding "All" option) for value filtering
|
|
8032
|
+
var actualOptions = options;
|
|
8033
|
+
// Determine current display value and selection
|
|
8034
|
+
var displayValue = value !== undefined ? value : internalValue;
|
|
8035
|
+
var currentSelectedValues = selectedValues !== undefined ? selectedValues : internalSelectedValues;
|
|
8036
|
+
// For single select
|
|
8037
|
+
var selectedOption = actualOptions.find(function (opt) {
|
|
8038
|
+
return opt.value === displayValue;
|
|
8039
|
+
});
|
|
8040
|
+
var isSelected = isMultiSelect ? currentSelectedValues.length > 0 : !!selectedOption;
|
|
8041
|
+
// Check if "All" is selected (all actual options are selected)
|
|
8042
|
+
var isAllSelected = isMultiSelect && actualOptions.length > 0 && actualOptions.every(function (option) {
|
|
8043
|
+
return currentSelectedValues.includes(option.value);
|
|
8044
|
+
});
|
|
8045
|
+
// Generate display text based on mode and dataLabel
|
|
8046
|
+
var getDisplayText = function getDisplayText() {
|
|
8047
|
+
if (isMultiSelect) {
|
|
8048
|
+
if (currentSelectedValues.length === 0) {
|
|
8049
|
+
return placeholder;
|
|
8050
|
+
}
|
|
8051
|
+
if (!dataLabel) {
|
|
8052
|
+
return "".concat(currentSelectedValues.length, " selected");
|
|
8053
|
+
}
|
|
8054
|
+
// Handle dataLabel (string or object with singular/plural)
|
|
8055
|
+
if (typeof dataLabel === 'string') {
|
|
8056
|
+
return "Selected ".concat(dataLabel);
|
|
8057
|
+
}
|
|
8058
|
+
// Handle object with singular/plural
|
|
8059
|
+
var labelText = currentSelectedValues.length === 1 ? dataLabel.singular : dataLabel.plural;
|
|
8060
|
+
return "Selected ".concat(labelText);
|
|
8061
|
+
}
|
|
8062
|
+
return (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.label) || placeholder;
|
|
8063
|
+
};
|
|
8064
|
+
var displayText = getDisplayText();
|
|
8065
|
+
// Determine actual state based on props and internal state
|
|
8066
|
+
var getActualState = function getActualState() {
|
|
8067
|
+
if (disabled) return 'disabled';
|
|
8068
|
+
if (readOnly) return 'read-only';
|
|
8069
|
+
if (state !== 'default') return state;
|
|
8070
|
+
// Auto-determine state based on focus and interaction
|
|
8071
|
+
if (isFocused || isOpen) return 'focus';
|
|
8072
|
+
if (isSelected) return 'selected';
|
|
8073
|
+
return 'default';
|
|
8074
|
+
};
|
|
8075
|
+
var actualState = getActualState();
|
|
8076
|
+
// Determine helper text color
|
|
8077
|
+
var getHelperTextClass = function getHelperTextClass() {
|
|
8078
|
+
switch (actualState) {
|
|
8079
|
+
case 'error':
|
|
8080
|
+
return modules_5709697d.helperError;
|
|
8081
|
+
case 'warning':
|
|
8082
|
+
return modules_5709697d.helperWarning;
|
|
8083
|
+
default:
|
|
8084
|
+
return modules_5709697d.helperDefault;
|
|
8085
|
+
}
|
|
8086
|
+
};
|
|
8087
|
+
// Show status icon (error/warning)
|
|
8088
|
+
var showStatusIcon = function showStatusIcon() {
|
|
8089
|
+
return actualState === 'error' && errorIcon || actualState === 'warning' && warningIcon;
|
|
8090
|
+
};
|
|
8091
|
+
// Get appropriate status icon
|
|
8092
|
+
var getStatusIcon = function getStatusIcon() {
|
|
8093
|
+
switch (actualState) {
|
|
8094
|
+
case 'error':
|
|
8095
|
+
return jsxRuntime.jsx(Error$1, {
|
|
8096
|
+
hexagon: true
|
|
8097
|
+
});
|
|
8098
|
+
case 'warning':
|
|
8099
|
+
return jsxRuntime.jsx(Warning, {
|
|
8100
|
+
hexagon: true
|
|
8101
|
+
});
|
|
8102
|
+
default:
|
|
8103
|
+
return null;
|
|
8104
|
+
}
|
|
8105
|
+
};
|
|
8106
|
+
// Handle dropdown toggle
|
|
8107
|
+
var handleToggle = function handleToggle() {
|
|
8108
|
+
if (disabled || readOnly) return;
|
|
8109
|
+
var newIsOpen = !isOpen;
|
|
8110
|
+
setIsOpen(newIsOpen);
|
|
8111
|
+
// Set focus when opening, clear when closing
|
|
8112
|
+
if (newIsOpen) {
|
|
8113
|
+
setIsFocused(true);
|
|
8114
|
+
}
|
|
8115
|
+
};
|
|
8116
|
+
// Handle button focus
|
|
8117
|
+
var handleButtonFocus = function handleButtonFocus(e) {
|
|
8118
|
+
setIsFocused(true);
|
|
8119
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
8120
|
+
};
|
|
8121
|
+
// Handle button blur
|
|
8122
|
+
var handleButtonBlur = function handleButtonBlur(e) {
|
|
8123
|
+
// Only blur if not clicking inside the popover
|
|
8124
|
+
var relatedTarget = e.relatedTarget;
|
|
8125
|
+
if (relatedTarget && relatedTarget.closest('[data-dropdown-menu]')) {
|
|
8126
|
+
return; // Don't blur if clicking inside dropdown menu
|
|
8127
|
+
}
|
|
8128
|
+
// Delay blur slightly to allow click events on menu items
|
|
8129
|
+
setTimeout(function () {
|
|
8130
|
+
if (!isOpen) {
|
|
8131
|
+
setIsFocused(false);
|
|
8132
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
8133
|
+
}
|
|
8134
|
+
}, 100);
|
|
8135
|
+
};
|
|
8136
|
+
// Handle popover close
|
|
8137
|
+
var handlePopoverClose = function handlePopoverClose() {
|
|
8138
|
+
setIsOpen(false);
|
|
8139
|
+
setIsFocused(false);
|
|
8140
|
+
};
|
|
8141
|
+
// Handle multi-select option toggle
|
|
8142
|
+
var handleMultiSelectToggle = function handleMultiSelectToggle(optionValue) {
|
|
8143
|
+
if (disabled || readOnly) return;
|
|
8144
|
+
var newValues;
|
|
8145
|
+
if (optionValue === '__all__') {
|
|
8146
|
+
// Handle "All" option
|
|
8147
|
+
if (isAllSelected) {
|
|
8148
|
+
// Unselect all
|
|
8149
|
+
newValues = [];
|
|
8150
|
+
} else {
|
|
8151
|
+
// Select all actual options (excluding "All")
|
|
8152
|
+
newValues = actualOptions.map(function (option) {
|
|
8153
|
+
return option.value;
|
|
8154
|
+
});
|
|
8155
|
+
}
|
|
8156
|
+
} else {
|
|
8157
|
+
// Handle individual option
|
|
8158
|
+
if (currentSelectedValues.includes(optionValue)) {
|
|
8159
|
+
// Remove from selection
|
|
8160
|
+
newValues = currentSelectedValues.filter(function (val) {
|
|
8161
|
+
return val !== optionValue;
|
|
8162
|
+
});
|
|
8163
|
+
} else {
|
|
8164
|
+
// Add to selection
|
|
8165
|
+
newValues = [].concat(_toConsumableArray(currentSelectedValues), [optionValue]);
|
|
8166
|
+
}
|
|
8167
|
+
}
|
|
8168
|
+
// Update state
|
|
8169
|
+
if (selectedValues === undefined) {
|
|
8170
|
+
setInternalSelectedValues(newValues);
|
|
8171
|
+
}
|
|
8172
|
+
// Always exclude "All" option from onChange callback - only pass actual option values
|
|
8173
|
+
onMultiSelectChange === null || onMultiSelectChange === void 0 || onMultiSelectChange(newValues);
|
|
8174
|
+
};
|
|
8175
|
+
// Handle clear all selections
|
|
8176
|
+
var handleClearAll = function handleClearAll(e) {
|
|
8177
|
+
e.stopPropagation();
|
|
8178
|
+
if (disabled || readOnly) return;
|
|
8179
|
+
if (selectedValues === undefined) {
|
|
8180
|
+
setInternalSelectedValues([]);
|
|
8181
|
+
}
|
|
8182
|
+
onMultiSelectChange === null || onMultiSelectChange === void 0 || onMultiSelectChange([]);
|
|
8183
|
+
};
|
|
8184
|
+
// Handle search input change
|
|
8185
|
+
var handleSearchChange = function handleSearchChange(e) {
|
|
8186
|
+
var newValue = e.target.value;
|
|
8187
|
+
setSearchValue(newValue);
|
|
8188
|
+
onSearchChange === null || onSearchChange === void 0 || onSearchChange(newValue);
|
|
8189
|
+
// Emit advanced search change for real-time updates
|
|
8190
|
+
if (enableAdvancedSearch) {
|
|
8191
|
+
emitAdvancedSearchChange(currentSearchTags, newValue);
|
|
8192
|
+
}
|
|
8193
|
+
// Open/close dropdown based on whether we have matching keys or regular options
|
|
8194
|
+
if (enableAdvancedSearch) {
|
|
8195
|
+
var hasMatchingKeys = availableKeys.some(function (key) {
|
|
8196
|
+
return key.label.toLowerCase().includes(newValue.toLowerCase());
|
|
8197
|
+
});
|
|
8198
|
+
setIsOpen(hasMatchingKeys || newValue.length > 0);
|
|
8199
|
+
} else {
|
|
8200
|
+
var hasMatchingOptions = actualOptions.length > 0;
|
|
8201
|
+
setIsOpen(hasMatchingOptions && newValue.length > 0);
|
|
8202
|
+
}
|
|
8203
|
+
};
|
|
8204
|
+
// Handle search input focus
|
|
8205
|
+
var handleSearchFocus = function handleSearchFocus(e) {
|
|
8206
|
+
setIsFocused(true);
|
|
8207
|
+
setIsOpen(true);
|
|
8208
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
8209
|
+
};
|
|
8210
|
+
// Handle search input blur
|
|
8211
|
+
var handleSearchBlur = function handleSearchBlur(e) {
|
|
8212
|
+
// Only blur if not clicking inside the popover
|
|
8213
|
+
var relatedTarget = e.relatedTarget;
|
|
8214
|
+
if (relatedTarget && relatedTarget.closest('[data-dropdown-menu]')) {
|
|
8215
|
+
return; // Don't blur if clicking inside dropdown menu
|
|
8216
|
+
}
|
|
8217
|
+
// Delay blur slightly to allow click events on menu items
|
|
8218
|
+
setTimeout(function () {
|
|
8219
|
+
if (!isOpen) {
|
|
8220
|
+
setIsFocused(false);
|
|
8221
|
+
// Reset scroll position to show the beginning of tags/search
|
|
8222
|
+
if (searchTagsContainerRef.current) {
|
|
8223
|
+
searchTagsContainerRef.current.scrollLeft = 0;
|
|
8224
|
+
}
|
|
8225
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
8226
|
+
}
|
|
8227
|
+
}, 100);
|
|
8228
|
+
};
|
|
8229
|
+
// Determine the icon to use
|
|
8230
|
+
var resolvedIcon = icon;
|
|
8231
|
+
// Shortcut Component
|
|
8232
|
+
var ShortcutDisplay = function ShortcutDisplay() {
|
|
8233
|
+
if (!shortcut) return null;
|
|
8234
|
+
return jsxRuntime.jsx("div", {
|
|
8235
|
+
className: modules_5709697d.shortcutDisplay,
|
|
8236
|
+
children: jsxRuntime.jsx("span", {
|
|
8237
|
+
className: modules_5709697d.shortcutText,
|
|
8238
|
+
children: shortcut
|
|
8239
|
+
})
|
|
8240
|
+
});
|
|
8241
|
+
};
|
|
8242
|
+
return jsxRuntime.jsxs("div", _objectSpread2(_objectSpread2({
|
|
8243
|
+
ref: dropdownContainerRef,
|
|
8244
|
+
className: classes(modules_5709697d.dropdown, className)
|
|
8245
|
+
}, props), {}, {
|
|
8246
|
+
children: [label && jsxRuntime.jsxs("div", {
|
|
8247
|
+
className: modules_5709697d.labelContainer,
|
|
8248
|
+
children: [jsxRuntime.jsx("span", {
|
|
8249
|
+
className: modules_5709697d.label,
|
|
8250
|
+
children: label
|
|
8251
|
+
}), required && jsxRuntime.jsx("span", {
|
|
8252
|
+
className: modules_5709697d.required,
|
|
8253
|
+
children: "*"
|
|
8254
|
+
}), helpIcon && jsxRuntime.jsx(Tooltip$1, {
|
|
8255
|
+
content: helpText || 'Additional information about this field',
|
|
8256
|
+
position: 'top',
|
|
8257
|
+
children: jsxRuntime.jsx("div", {
|
|
8258
|
+
className: modules_5709697d.helpIcon,
|
|
8259
|
+
children: jsxRuntime.jsx(Help, {})
|
|
8260
|
+
})
|
|
8261
|
+
})]
|
|
8262
|
+
}), variant === 'search' ? (/* Search Variant Container */
|
|
8263
|
+
jsxRuntime.jsxs("div", {
|
|
8264
|
+
ref: searchContainerRef,
|
|
8265
|
+
className: classes(modules_5709697d.searchContainer, modules_5709697d[actualState], modules_5709697d[size], disabled && modules_5709697d.disabled),
|
|
8266
|
+
children: [jsxRuntime.jsx("div", {
|
|
8267
|
+
className: modules_5709697d.searchIcon,
|
|
8268
|
+
children: searchIcon ? /*#__PURE__*/React.createElement(searchIcon) : jsxRuntime.jsx(Search, {})
|
|
8269
|
+
}), jsxRuntime.jsxs("div", {
|
|
8270
|
+
ref: searchTagsContainerRef,
|
|
8271
|
+
className: modules_5709697d.searchTagsContainer,
|
|
8272
|
+
children: [enableAdvancedSearch && currentSearchTags.map(function (tag) {
|
|
8273
|
+
var _tag$value;
|
|
8274
|
+
return jsxRuntime.jsx(Tag, {
|
|
8275
|
+
label: "".concat(tag.key, ":"),
|
|
8276
|
+
size: 'sm',
|
|
8277
|
+
closable: true,
|
|
8278
|
+
textField: true,
|
|
8279
|
+
inputValue: tag.isEditingValue ? (_tag$value = tag.value) !== null && _tag$value !== void 0 ? _tag$value : '' // When editing, show actual value
|
|
8280
|
+
: tag.value || '' // When readonly, show value or "Search" placeholder
|
|
8281
|
+
,
|
|
8282
|
+
inputPlaceholder: '',
|
|
8283
|
+
readOnly: !tag.isEditingValue,
|
|
8284
|
+
onClick: !tag.isEditingValue ? function () {
|
|
8285
|
+
// Start editing when clicking readonly tag
|
|
8286
|
+
var updatedTags = currentSearchTags.map(function (t) {
|
|
8287
|
+
return t.id === tag.id ? _objectSpread2(_objectSpread2({}, t), {}, {
|
|
8288
|
+
isEditingValue: true
|
|
8289
|
+
}) : t;
|
|
8290
|
+
});
|
|
8291
|
+
if (searchTags === undefined) {
|
|
8292
|
+
setInternalSearchTags(updatedTags);
|
|
8293
|
+
}
|
|
8294
|
+
emitAdvancedSearchChange(updatedTags, searchValue);
|
|
8295
|
+
} : undefined,
|
|
8296
|
+
onInputChange: function onInputChange(value) {
|
|
8297
|
+
// Only handle changes when editing
|
|
8298
|
+
if (tag.isEditingValue) {
|
|
8299
|
+
handleTagValueUpdate(tag.id, value);
|
|
8300
|
+
}
|
|
8301
|
+
},
|
|
8302
|
+
onInputBlur: function onInputBlur() {
|
|
8303
|
+
var _tag$value2;
|
|
8304
|
+
// Handle tag options blur - delay to allow click events on popover
|
|
8305
|
+
if (tagOptionsEnabled && tag.isEditingValue) ;
|
|
8306
|
+
// Reset scroll position to show the beginning when losing focus
|
|
8307
|
+
if (searchTagsContainerRef.current) {
|
|
8308
|
+
searchTagsContainerRef.current.scrollLeft = 0;
|
|
8309
|
+
}
|
|
8310
|
+
// Only finalize if there's a value, otherwise remove tag
|
|
8311
|
+
var currentValue = ((_tag$value2 = tag.value) === null || _tag$value2 === void 0 ? void 0 : _tag$value2.trim()) || '';
|
|
8312
|
+
if (currentValue) {
|
|
8313
|
+
handleTagValueUpdate(tag.id, currentValue, true);
|
|
8314
|
+
} else {
|
|
8315
|
+
// Remove empty tag on blur
|
|
8316
|
+
handleTagRemove(tag.id);
|
|
8317
|
+
}
|
|
8318
|
+
},
|
|
8319
|
+
onInputEnter: function onInputEnter() {
|
|
8320
|
+
var _tag$value3;
|
|
8321
|
+
// Only finalize if there's a value, otherwise stay focused
|
|
8322
|
+
var currentValue = ((_tag$value3 = tag.value) === null || _tag$value3 === void 0 ? void 0 : _tag$value3.trim()) || '';
|
|
8323
|
+
if (currentValue) {
|
|
8324
|
+
handleTagValueUpdate(tag.id, currentValue, true);
|
|
8325
|
+
}
|
|
8326
|
+
// If empty, do nothing - stay in edit mode
|
|
8327
|
+
},
|
|
8328
|
+
onInputClear: function onInputClear() {
|
|
8329
|
+
return handleTagRemove(tag.id);
|
|
8330
|
+
},
|
|
8331
|
+
ref: tag.isEditingValue ? function (node) {
|
|
8332
|
+
if (node && !disabled && !readOnly) {
|
|
8333
|
+
// Focus without selecting text to fix typing issue
|
|
8334
|
+
setTimeout(function () {
|
|
8335
|
+
try {
|
|
8336
|
+
node.focus();
|
|
8337
|
+
// Position cursor at end instead of selecting all
|
|
8338
|
+
node.setSelectionRange(node.value.length, node.value.length);
|
|
8339
|
+
// Handle tag options focus if enabled
|
|
8340
|
+
if (tagOptionsEnabled) {
|
|
8341
|
+
// Add event listeners for tag options
|
|
8342
|
+
var handleFocus = function handleFocus() {
|
|
8343
|
+
return handleTagOptionsFocus(tag.id, node);
|
|
8344
|
+
};
|
|
8345
|
+
// Add keyboard event handler for tag options
|
|
8346
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
8347
|
+
if (e.key === 'Enter' || e.key === 'Tab' || e.key === 'Backspace') {
|
|
8348
|
+
// Close tag options popover on these keys
|
|
8349
|
+
handleTagOptionsPopoverClose();
|
|
8350
|
+
}
|
|
8351
|
+
};
|
|
8352
|
+
node.addEventListener('focus', handleFocus);
|
|
8353
|
+
node.addEventListener('keydown', handleKeyDown);
|
|
8354
|
+
// Trigger focus handler immediately
|
|
8355
|
+
handleTagOptionsFocus(tag.id, node);
|
|
8356
|
+
// Cleanup function to remove event listeners
|
|
8357
|
+
return function () {
|
|
8358
|
+
node.removeEventListener('focus', handleFocus);
|
|
8359
|
+
node.removeEventListener('keydown', handleKeyDown);
|
|
8360
|
+
};
|
|
8361
|
+
}
|
|
8362
|
+
} catch (e) {
|
|
8363
|
+
// Focus might fail, ignore silently
|
|
8364
|
+
}
|
|
8365
|
+
}, 150);
|
|
8366
|
+
}
|
|
8367
|
+
} : undefined
|
|
8368
|
+
}, tag.id);
|
|
8369
|
+
}), jsxRuntime.jsx(TextField$1, _objectSpread2({
|
|
8370
|
+
ref: searchInputRef,
|
|
8371
|
+
value: searchValue,
|
|
8372
|
+
placeholder: placeholder,
|
|
8373
|
+
onChange: function onChange(e) {
|
|
8374
|
+
return handleSearchChange(e);
|
|
8375
|
+
},
|
|
8376
|
+
onFocus: function onFocus(e) {
|
|
8377
|
+
return handleSearchFocus(e);
|
|
8378
|
+
},
|
|
8379
|
+
onBlur: function onBlur(e) {
|
|
8380
|
+
return handleSearchBlur(e);
|
|
8381
|
+
},
|
|
8382
|
+
disabled: disabled,
|
|
8383
|
+
readOnly: readOnly,
|
|
8384
|
+
type: 'default',
|
|
8385
|
+
size: 'sm',
|
|
8386
|
+
leadingIcon: false,
|
|
8387
|
+
helpIcon: false,
|
|
8388
|
+
label: '',
|
|
8389
|
+
helperText: '',
|
|
8390
|
+
required: false,
|
|
8391
|
+
className: classes(modules_5709697d.searchInput, searchValue && modules_5709697d.searchInputFilled),
|
|
8392
|
+
id: id,
|
|
8393
|
+
name: name
|
|
8394
|
+
}, {
|
|
8395
|
+
onKeyDown: function onKeyDown(e) {
|
|
8396
|
+
if (e.key === 'Enter') {
|
|
8397
|
+
e.preventDefault();
|
|
8398
|
+
// For advanced search - trigger search without creating tags on Enter
|
|
8399
|
+
if (enableAdvancedSearch && searchValue) {
|
|
8400
|
+
emitAdvancedSearchChange(currentSearchTags, searchValue);
|
|
8401
|
+
}
|
|
8402
|
+
// Toggle dropdown
|
|
8403
|
+
setIsOpen(!isOpen);
|
|
8404
|
+
}
|
|
8405
|
+
if (e.key === 'Escape') {
|
|
8406
|
+
var _searchInputRef$curre3;
|
|
8407
|
+
setIsOpen(false);
|
|
8408
|
+
(_searchInputRef$curre3 = searchInputRef.current) === null || _searchInputRef$curre3 === void 0 || _searchInputRef$curre3.blur();
|
|
8409
|
+
}
|
|
8410
|
+
// Backspace handling for tag removal
|
|
8411
|
+
if (e.key === 'Backspace' && enableAdvancedSearch && !searchValue && currentSearchTags.length > 0) {
|
|
8412
|
+
e.preventDefault();
|
|
8413
|
+
// Remove the last tag
|
|
8414
|
+
var lastTag = currentSearchTags[currentSearchTags.length - 1];
|
|
8415
|
+
if (lastTag) {
|
|
8416
|
+
handleTagRemove(lastTag.id);
|
|
8417
|
+
}
|
|
8418
|
+
}
|
|
8419
|
+
}
|
|
8420
|
+
}))]
|
|
8421
|
+
}), showStatusIcon() && jsxRuntime.jsx("div", {
|
|
8422
|
+
className: modules_5709697d.statusIcon,
|
|
8423
|
+
children: getStatusIcon()
|
|
8424
|
+
}), jsxRuntime.jsx(ShortcutDisplay, {})]
|
|
8425
|
+
})) : (/* Regular Button Variant Container */
|
|
8426
|
+
jsxRuntime.jsx("div", {
|
|
8427
|
+
tabIndex: disabled ? -1 : 0,
|
|
8428
|
+
onFocus: handleButtonFocus,
|
|
8429
|
+
onBlur: handleButtonBlur,
|
|
8430
|
+
onKeyDown: function onKeyDown(e) {
|
|
8431
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
8432
|
+
e.preventDefault();
|
|
8433
|
+
handleToggle();
|
|
8434
|
+
}
|
|
8435
|
+
},
|
|
8436
|
+
className: modules_5709697d.buttonWrapper,
|
|
8437
|
+
children: jsxRuntime.jsx(Button$1, {
|
|
8438
|
+
ref: dropdownButtonRef,
|
|
8439
|
+
type: 'button',
|
|
8440
|
+
variant: 'ghost',
|
|
8441
|
+
size: size === 'sm' ? 'sm' : 'md',
|
|
8442
|
+
title: jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
8443
|
+
children: [jsxRuntime.jsxs("div", {
|
|
8444
|
+
className: modules_5709697d.contentArea,
|
|
8445
|
+
children: [resolvedIcon && jsxRuntime.jsx("div", {
|
|
8446
|
+
className: modules_5709697d.leadingIcon,
|
|
8447
|
+
children: /*#__PURE__*/React.createElement(resolvedIcon)
|
|
8448
|
+
}), isMultiSelect && currentSelectedValues.length > 0 ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
8449
|
+
children: [jsxRuntime.jsx(Badge, {
|
|
8450
|
+
label: currentSelectedValues.length.toString(),
|
|
8451
|
+
variant: 'badge',
|
|
8452
|
+
size: 'sm',
|
|
8453
|
+
className: classes(modules_5709697d.countBadge, (disabled || readOnly) && modules_5709697d.countBadgeDisabled),
|
|
8454
|
+
onClose: disabled || readOnly ? function () {} // Show button but make it non-functional when disabled
|
|
8455
|
+
: handleClearAll
|
|
8456
|
+
}), jsxRuntime.jsx("span", {
|
|
8457
|
+
className: classes(modules_5709697d.dropdownText, modules_5709697d.selectedText),
|
|
8458
|
+
children: displayText
|
|
8459
|
+
})]
|
|
8460
|
+
}) : jsxRuntime.jsx("span", {
|
|
8461
|
+
className: classes(modules_5709697d.dropdownText, !isSelected && modules_5709697d.placeholder),
|
|
8462
|
+
children: displayText
|
|
8463
|
+
})]
|
|
8464
|
+
}), jsxRuntime.jsxs("div", {
|
|
8465
|
+
className: modules_5709697d.trailingArea,
|
|
8466
|
+
children: [showStatusIcon() && jsxRuntime.jsx("div", {
|
|
8467
|
+
className: modules_5709697d.statusIcon,
|
|
8468
|
+
children: getStatusIcon()
|
|
8469
|
+
}), jsxRuntime.jsx("div", {
|
|
8470
|
+
className: modules_5709697d.dropdownIcon,
|
|
8471
|
+
children: jsxRuntime.jsx(ChevronDownIcon, {})
|
|
8472
|
+
})]
|
|
8473
|
+
})]
|
|
8474
|
+
}),
|
|
8475
|
+
onClick: handleToggle,
|
|
8476
|
+
disabled: disabled,
|
|
8477
|
+
className: classes(modules_5709697d.dropdownContainer, modules_5709697d[actualState], modules_5709697d[size], variant === 'borderless' && modules_5709697d.borderless),
|
|
8478
|
+
id: id
|
|
8479
|
+
})
|
|
8480
|
+
})), jsxRuntime.jsx(Popover, {
|
|
8481
|
+
anchorEl: variant === 'search' ? searchContainerRef.current : dropdownButtonRef.current,
|
|
8482
|
+
open: isOpen && (enableAdvancedSearch ? filteredKeys.length > 0 : enhancedOptions.length > 0),
|
|
8483
|
+
setOpen: handlePopoverClose,
|
|
8484
|
+
placement: 'bottom-start',
|
|
8485
|
+
theme: 'light',
|
|
8486
|
+
withOverlay: false,
|
|
8487
|
+
className: classes(modules_5709697d.dropdownMenuPopover, popoverClassName),
|
|
8488
|
+
middlewareOptions: {
|
|
8489
|
+
offset: popoverOffset !== null && popoverOffset !== void 0 ? popoverOffset : 4,
|
|
8490
|
+
shift: {
|
|
8491
|
+
padding: 8
|
|
8492
|
+
},
|
|
8493
|
+
flip: {
|
|
8494
|
+
padding: 8
|
|
8495
|
+
}
|
|
8496
|
+
},
|
|
8497
|
+
children: jsxRuntime.jsx("div", {
|
|
8498
|
+
className: modules_5709697d.dropdownMenu,
|
|
8499
|
+
"data-dropdown-menu": true,
|
|
8500
|
+
children: enableAdvancedSearch ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
8501
|
+
children: [jsxRuntime.jsx("div", {
|
|
8502
|
+
className: modules_5709697d.filtersHeader,
|
|
8503
|
+
children: jsxRuntime.jsx("div", {
|
|
8504
|
+
className: modules_5709697d.filtersTitle,
|
|
8505
|
+
children: "Filters"
|
|
8506
|
+
})
|
|
8507
|
+
}), filteredKeys.map(function (keyOption) {
|
|
8508
|
+
return jsxRuntime.jsx("div", {
|
|
8509
|
+
className: modules_5709697d.dropdownMenuItem,
|
|
8510
|
+
onClick: function onClick() {
|
|
8511
|
+
if (disabled || readOnly) return;
|
|
8512
|
+
handleKeySelect(keyOption.label);
|
|
8513
|
+
},
|
|
8514
|
+
children: jsxRuntime.jsx("div", {
|
|
8515
|
+
className: modules_5709697d.dropdownMenuItemInner,
|
|
8516
|
+
children: jsxRuntime.jsx("div", {
|
|
8517
|
+
className: modules_5709697d.dropdownMenuItemContent,
|
|
8518
|
+
children: jsxRuntime.jsx(Badge, {
|
|
8519
|
+
variant: 'modern',
|
|
8520
|
+
size: 'sm',
|
|
8521
|
+
label: "".concat(keyOption.label, ":")
|
|
8522
|
+
})
|
|
8523
|
+
})
|
|
8524
|
+
})
|
|
8525
|
+
}, keyOption.value);
|
|
8526
|
+
})]
|
|
8527
|
+
}) : (/* Regular Options */
|
|
8528
|
+
enhancedOptions.map(function (option) {
|
|
8529
|
+
// For "All" option, determine its state (checked/indeterminate/unchecked)
|
|
8530
|
+
var isOptionSelected = option.value === '__all__' ? isAllSelected : isMultiSelect ? currentSelectedValues.includes(option.value) : option.value === displayValue;
|
|
8531
|
+
// For "All" option, show indeterminate state when some (but not all) items are selected
|
|
8532
|
+
var isIndeterminate = option.value === '__all__' && currentSelectedValues.length > 0 && !isAllSelected;
|
|
8533
|
+
return jsxRuntime.jsx("div", {
|
|
8534
|
+
className: classes(modules_5709697d.dropdownMenuItem, isOptionSelected && modules_5709697d.dropdownMenuItemSelected, isMultiSelect && modules_5709697d.dropdownMenuItemMultiSelect),
|
|
8535
|
+
onClick: function onClick() {
|
|
8536
|
+
if (disabled || readOnly) return;
|
|
8537
|
+
if (isMultiSelect) {
|
|
8538
|
+
handleMultiSelectToggle(option.value);
|
|
8539
|
+
// Don't close dropdown for multi-select
|
|
8540
|
+
} else {
|
|
8541
|
+
// Single select behavior
|
|
8542
|
+
var newValue = option.value;
|
|
8543
|
+
if (value === undefined) {
|
|
8544
|
+
setInternalValue(newValue);
|
|
8545
|
+
}
|
|
8546
|
+
// Update search input for search variant
|
|
8547
|
+
if (variant === 'search') {
|
|
8548
|
+
setSearchValue(option.label);
|
|
8549
|
+
}
|
|
8550
|
+
onChange === null || onChange === void 0 || onChange(newValue);
|
|
8551
|
+
// Close dropdown and clear focus after selection
|
|
8552
|
+
setIsOpen(false);
|
|
8553
|
+
setIsFocused(false);
|
|
8554
|
+
}
|
|
8555
|
+
},
|
|
8556
|
+
children: jsxRuntime.jsxs("div", {
|
|
8557
|
+
className: modules_5709697d.dropdownMenuItemInner,
|
|
8558
|
+
children: [jsxRuntime.jsxs("div", {
|
|
8559
|
+
className: modules_5709697d.dropdownMenuItemContent,
|
|
8560
|
+
children: [isMultiSelect && jsxRuntime.jsx("div", {
|
|
8561
|
+
className: modules_5709697d.dropdownMenuItemCheckbox,
|
|
8562
|
+
children: jsxRuntime.jsx(Checkbox$1, {
|
|
8563
|
+
size: size === 'sm' ? 'sm' : 'md',
|
|
8564
|
+
checked: isOptionSelected,
|
|
8565
|
+
indeterminate: isIndeterminate,
|
|
8566
|
+
onChange: function onChange() {},
|
|
8567
|
+
disabled: disabled || readOnly
|
|
8568
|
+
})
|
|
8569
|
+
}), option.icon && !isMultiSelect && option.value !== '__all__' && jsxRuntime.jsx("div", {
|
|
8570
|
+
className: modules_5709697d.dropdownMenuItemIcon,
|
|
8571
|
+
children: /*#__PURE__*/React.createElement(option.icon)
|
|
8572
|
+
}), jsxRuntime.jsx("span", {
|
|
8573
|
+
className: modules_5709697d.dropdownMenuItemText,
|
|
8574
|
+
children: option.label
|
|
8575
|
+
})]
|
|
8576
|
+
}), !isMultiSelect && isOptionSelected && jsxRuntime.jsx("div", {
|
|
8577
|
+
className: modules_5709697d.dropdownMenuItemCheck,
|
|
8578
|
+
children: jsxRuntime.jsx(TickIcon, {})
|
|
8579
|
+
})]
|
|
8580
|
+
})
|
|
8581
|
+
}, option.value);
|
|
8582
|
+
}))
|
|
8583
|
+
})
|
|
8584
|
+
}), tagOptionsEnabled && tagOptions.length > 0 && jsxRuntime.jsx(Popover, {
|
|
8585
|
+
anchorEl: searchContainerRef.current,
|
|
8586
|
+
open: tagOptionsOpen && focusedTagId !== null,
|
|
8587
|
+
setOpen: handleTagOptionsPopoverClose,
|
|
8588
|
+
placement: 'bottom-start',
|
|
8589
|
+
theme: 'light',
|
|
8590
|
+
withOverlay: false,
|
|
8591
|
+
className: classes(modules_5709697d.dropdownMenuPopover, popoverClassName),
|
|
8592
|
+
middlewareOptions: {
|
|
8593
|
+
offset: popoverOffset !== null && popoverOffset !== void 0 ? popoverOffset : 4,
|
|
8594
|
+
shift: {
|
|
8595
|
+
padding: 8
|
|
8596
|
+
},
|
|
8597
|
+
flip: {
|
|
8598
|
+
padding: 8
|
|
8599
|
+
}
|
|
8600
|
+
},
|
|
8601
|
+
children: jsxRuntime.jsxs("div", {
|
|
8602
|
+
className: modules_5709697d.dropdownMenu,
|
|
8603
|
+
"data-tag-options-menu": true,
|
|
8604
|
+
children: [jsxRuntime.jsx("div", {
|
|
8605
|
+
className: modules_5709697d.filtersHeader,
|
|
8606
|
+
children: jsxRuntime.jsx("div", {
|
|
8607
|
+
className: modules_5709697d.filtersTitle,
|
|
8608
|
+
children: "Options"
|
|
8609
|
+
})
|
|
8610
|
+
}), tagOptions.map(function (option) {
|
|
8611
|
+
return jsxRuntime.jsx("div", {
|
|
8612
|
+
className: modules_5709697d.dropdownMenuItem,
|
|
8613
|
+
onMouseDown: function onMouseDown(e) {
|
|
8614
|
+
// Prevent input blur when clicking on option
|
|
8615
|
+
e.preventDefault();
|
|
8616
|
+
},
|
|
8617
|
+
onClick: function onClick(e) {
|
|
8618
|
+
if (disabled || readOnly) return;
|
|
8619
|
+
e.stopPropagation(); // Prevent event bubbling
|
|
8620
|
+
handleTagOptionSelect(option.value);
|
|
8621
|
+
},
|
|
8622
|
+
children: jsxRuntime.jsx("div", {
|
|
8623
|
+
className: modules_5709697d.dropdownMenuItemInner,
|
|
8624
|
+
children: jsxRuntime.jsxs("div", {
|
|
8625
|
+
className: modules_5709697d.dropdownMenuItemContent,
|
|
8626
|
+
children: [option.icon && jsxRuntime.jsx("div", {
|
|
8627
|
+
className: modules_5709697d.dropdownMenuItemIcon,
|
|
8628
|
+
children: /*#__PURE__*/React.createElement(option.icon)
|
|
8629
|
+
}), jsxRuntime.jsx("span", {
|
|
8630
|
+
className: modules_5709697d.dropdownMenuItemText,
|
|
8631
|
+
children: option.label
|
|
8632
|
+
})]
|
|
8633
|
+
})
|
|
8634
|
+
})
|
|
8635
|
+
}, option.value);
|
|
8636
|
+
})]
|
|
8637
|
+
})
|
|
8638
|
+
}), helperText && jsxRuntime.jsx("div", {
|
|
8639
|
+
className: classes(modules_5709697d.helperText, getHelperTextClass()),
|
|
8640
|
+
children: helperText
|
|
8641
|
+
})]
|
|
8642
|
+
}));
|
|
8643
|
+
});
|
|
8644
|
+
Dropdown$1.displayName = 'Dropdown';
|
|
8645
|
+
|
|
8646
|
+
var css$w = ".Toggle_module_root__aac55eed {\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-03, 8px);\n cursor: pointer;\n position: relative;\n}\n.Toggle_module_root__aac55eed input {\n position: absolute;\n opacity: 0;\n width: 1px;\n height: 1px;\n}\n.Toggle_module_root__aac55eed [data-elem=label] {\n color: var(--text-text-secondary, #484848);\n font-family: var(--font-font-family, Poppins);\n font-size: var(--font-font-size-12, 12px);\n font-weight: var(--font-font-weight-Regular, 400);\n line-height: var(--font-font-height-16, 16px);\n letter-spacing: var(--font-font-spacing-large, 0.32px);\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeL__aac55eed {\n width: 48px;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeL__aac55eed .Toggle_module_pill__aac55eed {\n width: 48px;\n height: 24px;\n border-radius: 20px;\n background: var(--Miscellaneous-toggle-off, #bfbfbf);\n position: relative;\n transition: background 0.2s ease;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeL__aac55eed .Toggle_module_pill__aac55eed::before {\n content: \"\";\n position: absolute;\n width: 18px;\n height: 18px;\n border-radius: 18px;\n background: var(--icon-icon-on-color, #fff);\n top: 3px;\n left: 3px;\n transition: transform 0.2s ease;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeL__aac55eed input:checked + .Toggle_module_pill__aac55eed {\n background: var(--support-support-success, #24a148);\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeL__aac55eed input:checked + .Toggle_module_pill__aac55eed::before {\n transform: translateX(24px);\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed {\n width: 34px;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed .Toggle_module_pill__aac55eed {\n width: 32px;\n height: 16px;\n border-radius: 20px;\n background: var(--Miscellaneous-toggle-off, #bfbfbf);\n position: relative;\n transition: background 0.2s ease;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed .Toggle_module_pill__aac55eed::before {\n content: \"\";\n position: absolute;\n width: 10px;\n height: 10px;\n border-radius: 10px;\n background: var(--icon-icon-on-color, #fff);\n top: 3px;\n left: 3px;\n transition: transform 0.2s ease;\n z-index: 1;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed .Toggle_module_pill__aac55eed .Toggle_module_tick__aac55eed {\n position: absolute;\n width: 10px;\n height: 10px;\n top: 3px;\n left: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 2;\n pointer-events: none;\n transition: transform 0.2s ease;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed .Toggle_module_pill__aac55eed .Toggle_module_tick__aac55eed.Toggle_module_hideTick__aac55eed {\n visibility: hidden !important;\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed input:checked + .Toggle_module_pill__aac55eed {\n background: var(--support-support-success, #24a148);\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed input:checked + .Toggle_module_pill__aac55eed::before {\n transform: translateX(16px);\n}\n.Toggle_module_root__aac55eed.Toggle_module_sizeS__aac55eed input:checked + .Toggle_module_pill__aac55eed .Toggle_module_tick__aac55eed {\n transform: translateX(16px);\n}\n.Toggle_module_root__aac55eed.Toggle_module_readonly__aac55eed {\n cursor: not-allowed;\n}\n.Toggle_module_root__aac55eed.Toggle_module_readonly__aac55eed .Toggle_module_pill__aac55eed {\n background: transparent;\n border: 1px solid var(--border-border-subtle, #ededed);\n}\n.Toggle_module_root__aac55eed.Toggle_module_readonly__aac55eed .Toggle_module_pill__aac55eed::before {\n top: 2px;\n left: 2px;\n background: var(--icon-icon-primary, #161616);\n}\n.Toggle_module_root__aac55eed.Toggle_module_disabled__aac55eed {\n cursor: not-allowed;\n}\n.Toggle_module_root__aac55eed.Toggle_module_disabled__aac55eed [data-elem=label] {\n color: var(--text-text-disabled, #161616);\n font-family: var(--font-font-family, Poppins);\n font-size: var(--font-font-size-12, 12px);\n font-style: normal;\n font-weight: var(--font-font-weight-Regular, 400);\n line-height: var(--font-font-height-16, 16px);\n letter-spacing: var(--font-font-spacing-large, 0.32px);\n opacity: 0.25;\n}\n.Toggle_module_root__aac55eed.Toggle_module_disabled__aac55eed [data-elem=label] {\n color: var(--text-text-disabled, #161616);\n}\n.Toggle_module_root__aac55eed.Toggle_module_disabled__aac55eed .Toggle_module_pill__aac55eed {\n background: var(--button-button-disabled, #dcdcdc);\n}\n.Toggle_module_root__aac55eed.Toggle_module_disabled__aac55eed .Toggle_module_pill__aac55eed::before {\n background: var(--icon-icon-on-color-disable, #828282);\n}\n.Toggle_module_root__aac55eed input:focus-visible + .Toggle_module_pill__aac55eed {\n box-shadow: 0 0 0 0.5px #fff, 0 0 0 2px var(--focus-focus-primary, #3b82f6);\n}";
|
|
6229
8647
|
var modules_a2cdc77c = {"root":"Toggle_module_root__aac55eed","size-l":"Toggle_module_sizeL__aac55eed","pill":"Toggle_module_pill__aac55eed","size-s":"Toggle_module_sizeS__aac55eed","tick":"Toggle_module_tick__aac55eed","hide-tick":"Toggle_module_hideTick__aac55eed","readonly":"Toggle_module_readonly__aac55eed","disabled":"Toggle_module_disabled__aac55eed"};
|
|
6230
|
-
n(css$
|
|
8648
|
+
n(css$w,{});
|
|
6231
8649
|
|
|
6232
8650
|
var Toggle = function Toggle(props) {
|
|
6233
8651
|
var label = props.label,
|
|
@@ -6239,10 +8657,8 @@ var Toggle = function Toggle(props) {
|
|
|
6239
8657
|
_props$size = props.size,
|
|
6240
8658
|
size = _props$size === void 0 ? 's' : _props$size,
|
|
6241
8659
|
readonly = props.readonly;
|
|
6242
|
-
// Freeze controlled vs uncontrolled mode on first render
|
|
6243
8660
|
var _useRef = React.useRef(checked !== undefined),
|
|
6244
8661
|
isControlled = _useRef.current;
|
|
6245
|
-
// Uncontrolled state
|
|
6246
8662
|
var _useState = React.useState(defaultChecked),
|
|
6247
8663
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6248
8664
|
uncontrolledChecked = _useState2[0],
|
|
@@ -6253,7 +8669,6 @@ var Toggle = function Toggle(props) {
|
|
|
6253
8669
|
event.preventDefault();
|
|
6254
8670
|
return;
|
|
6255
8671
|
}
|
|
6256
|
-
// Safely extract fieldValue; fall back to event.target.checked
|
|
6257
8672
|
var helperResult = inputHelper === null || inputHelper === void 0 ? void 0 : inputHelper(event);
|
|
6258
8673
|
var fieldValue = (_helperResult$fieldVa = helperResult === null || helperResult === void 0 ? void 0 : helperResult.fieldValue) !== null && _helperResult$fieldVa !== void 0 ? _helperResult$fieldVa : event.target.checked;
|
|
6259
8674
|
if (isControlled) {
|
|
@@ -6283,11 +8698,11 @@ var Toggle = function Toggle(props) {
|
|
|
6283
8698
|
});
|
|
6284
8699
|
};
|
|
6285
8700
|
|
|
6286
|
-
var css$
|
|
6287
|
-
var modules_22fa3f10
|
|
6288
|
-
n(css$
|
|
8701
|
+
var css$v = ".Text_module_root__d10e5305 {\n color: var(--text-color);\n}\n.Text_module_root__d10e5305.Text_module_h1__d10e5305 {\n font-size: 2.25rem;\n line-height: 2.75rem;\n}\n.Text_module_root__d10e5305.Text_module_h2__d10e5305 {\n font-size: 1.375rem;\n line-height: 1.688rem;\n}\n.Text_module_root__d10e5305.Text_module_b1__d10e5305 {\n font-size: 1rem;\n line-height: 1.188rem;\n}\n.Text_module_root__d10e5305.Text_module_b2__d10e5305 {\n font-size: 0.875rem;\n line-height: 1.188rem;\n}\n.Text_module_root__d10e5305.Text_module_b3__d10e5305 {\n font-size: 0.75rem;\n line-height: 1.063rem;\n}\n.Text_module_root__d10e5305.Text_module_regularStroke__d10e5305 {\n font-weight: 400;\n}\n.Text_module_root__d10e5305.Text_module_mediumStroke__d10e5305 {\n font-weight: 500;\n}\n.Text_module_root__d10e5305.Text_module_semiboldStroke__d10e5305 {\n font-weight: 600;\n}\n.Text_module_root__d10e5305.Text_module_boldStroke__d10e5305 {\n font-weight: 800;\n}";
|
|
8702
|
+
var modules_22fa3f10 = {"root":"Text_module_root__d10e5305","h1":"Text_module_h1__d10e5305","h2":"Text_module_h2__d10e5305","b1":"Text_module_b1__d10e5305","b2":"Text_module_b2__d10e5305","b3":"Text_module_b3__d10e5305","regular-stroke":"Text_module_regularStroke__d10e5305","medium-stroke":"Text_module_mediumStroke__d10e5305","semibold-stroke":"Text_module_semiboldStroke__d10e5305","bold-stroke":"Text_module_boldStroke__d10e5305"};
|
|
8703
|
+
n(css$v,{});
|
|
6289
8704
|
|
|
6290
|
-
var Text
|
|
8705
|
+
var Text = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6291
8706
|
var _props$variant = props.variant,
|
|
6292
8707
|
variant = _props$variant === void 0 ? 'b2' : _props$variant,
|
|
6293
8708
|
_props$component = props.component,
|
|
@@ -6311,7 +8726,7 @@ var Text$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6311
8726
|
}), weight && {
|
|
6312
8727
|
fontWeight: weight
|
|
6313
8728
|
}),
|
|
6314
|
-
className: classes(modules_22fa3f10
|
|
8729
|
+
className: classes(modules_22fa3f10.root, modules_22fa3f10[variant], modules_22fa3f10["".concat(stroke, "-stroke")], className)
|
|
6315
8730
|
}, attrs), children);
|
|
6316
8731
|
if (/*#__PURE__*/React.isValidElement(TextDOM)) {
|
|
6317
8732
|
return TextDOM;
|
|
@@ -6319,9 +8734,9 @@ var Text$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6319
8734
|
return null;
|
|
6320
8735
|
});
|
|
6321
8736
|
|
|
6322
|
-
var css$
|
|
8737
|
+
var css$u = ".Link_module_wrapper__4b6879a4 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid transparent;\n padding: 1px;\n border-radius: 2px;\n box-sizing: border-box;\n}\n.Link_module_wrapper__4b6879a4:active {\n border-color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__4b6879a4:has(.Link_module_link__4b6879a4:focus-visible) {\n border-color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__4b6879a4.Link_module_sizeSm__4b6879a4 .Link_module_link__4b6879a4 {\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.32px;\n gap: 8px;\n}\n.Link_module_wrapper__4b6879a4.Link_module_sizeMd__4b6879a4 .Link_module_link__4b6879a4 {\n font-size: 14px;\n line-height: 18px;\n letter-spacing: 0.16px;\n gap: 10px;\n}\n.Link_module_wrapper__4b6879a4.Link_module_sizeLg__4b6879a4 .Link_module_link__4b6879a4 {\n font-size: 16px;\n line-height: 22px;\n gap: 10px;\n}\n.Link_module_wrapper__4b6879a4.Link_module_disabled__4b6879a4 {\n opacity: 0.25;\n pointer-events: none;\n}\n.Link_module_wrapper__4b6879a4.Link_module_disabled__4b6879a4 .Link_module_link__4b6879a4 {\n color: var(--text-text-disabled, #161616);\n}\n.Link_module_wrapper__4b6879a4.Link_module_disabled__4b6879a4 .Link_module_icon__4b6879a4 {\n stroke: var(--icon-icon-disabled, #161616);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4 {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-03, 8px);\n text-decoration: none;\n cursor: pointer;\n color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:focus-visible {\n outline: none;\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:hover {\n color: var(--link-link-primary-hover, #1b55b5);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:hover .Link_module_icon__4b6879a4 {\n stroke: var(--link-link-primary-hover, #1b55b5);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:visited {\n color: var(--link-Link-visited, #8a3ffc);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:visited .Link_module_icon__4b6879a4 {\n stroke: var(--link-Link-visited, #8a3ffc);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:active {\n color: var(--icon-icon-primary, #161616);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:active .Link_module_icon__4b6879a4 {\n stroke: var(--icon-icon-primary, #161616);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_icon__4b6879a4 {\n stroke-width: 1.2px;\n stroke: var(--link-link-primary, #1f5fcc);\n width: 16px;\n height: 16px;\n}\n.Link_module_wrapper__4b6879a4 .Link_module_sizeLg__4b6879a4 .Link_module_icon__4b6879a4 {\n width: 20px;\n height: 20px;\n}\n\n.Link_module_unstyled__4b6879a4 {\n all: unset;\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n background: transparent;\n border: none;\n box-shadow: none;\n outline: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n color: inherit;\n font: inherit;\n}\n.Link_module_unstyled__4b6879a4:focus-visible {\n outline: none;\n}\n.Link_module_unstyled__4b6879a4:disabled {\n opacity: 0.25;\n pointer-events: none;\n cursor: not-allowed;\n}";
|
|
6323
8738
|
var modules_e20967e9 = {"wrapper":"Link_module_wrapper__4b6879a4","link":"Link_module_link__4b6879a4","size-sm":"Link_module_sizeSm__4b6879a4","size-md":"Link_module_sizeMd__4b6879a4","size-lg":"Link_module_sizeLg__4b6879a4","disabled":"Link_module_disabled__4b6879a4","icon":"Link_module_icon__4b6879a4","unstyled":"Link_module_unstyled__4b6879a4"};
|
|
6324
|
-
n(css$
|
|
8739
|
+
n(css$u,{});
|
|
6325
8740
|
|
|
6326
8741
|
var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6327
8742
|
var children = props.children,
|
|
@@ -6363,7 +8778,7 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6363
8778
|
}
|
|
6364
8779
|
return jsxRuntime.jsx("div", {
|
|
6365
8780
|
className: classes(modules_e20967e9.wrapper, modules_e20967e9["size-".concat(size)], disabled && modules_e20967e9.disabled),
|
|
6366
|
-
children: jsxRuntime.jsxs(Text
|
|
8781
|
+
children: jsxRuntime.jsxs(Text, {
|
|
6367
8782
|
ref: ref,
|
|
6368
8783
|
component: 'a',
|
|
6369
8784
|
variant: 'b2',
|
|
@@ -6385,9 +8800,9 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6385
8800
|
});
|
|
6386
8801
|
});
|
|
6387
8802
|
|
|
6388
|
-
var css$
|
|
8803
|
+
var css$t = ".BaseModal_module_root__7069ed2d {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n height: 43.75rem;\n max-height: 100%;\n background: var(--light-color3);\n box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.13);\n border-radius: 8px;\n outline: none;\n width: 96%;\n}\n@media (min-width: 768px) {\n .BaseModal_module_root__7069ed2d {\n width: 72%;\n }\n}\n@media (min-width: 1024px) {\n .BaseModal_module_root__7069ed2d {\n width: 60%;\n max-width: 84%;\n }\n}\n@media (min-width: 1280px) {\n .BaseModal_module_root__7069ed2d {\n width: 48%;\n max-width: 62.5rem;\n }\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_body__7069ed2d {\n overflow-y: scroll;\n padding: 1rem;\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_body__7069ed2d::-webkit-scrollbar {\n display: none;\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_body__7069ed2d {\n -ms-overflow-style: none;\n scrollbar-width: none;\n color: var(--text-color);\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_header__7069ed2d,\n.BaseModal_module_root__7069ed2d .BaseModal_module_footer__7069ed2d {\n padding: 1rem;\n color: var(--text-color);\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_header__7069ed2d {\n font-weight: 500;\n font-size: 1.375rem;\n box-shadow: 0px 0.1px 2px rgba(24, 24, 24, 0.08);\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_footer__7069ed2d {\n margin-top: auto;\n border-radius: 0 0 8px 8px;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n gap: 1rem;\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_footer__7069ed2d button.BaseModal_module_dismiss__7069ed2d[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n color: var(--mono-color1);\n background-color: var(--light-color2);\n border-radius: 0.25rem;\n outline: 1px solid var(--light-color2) !important;\n border: none;\n}\n.BaseModal_module_root__7069ed2d .BaseModal_module_footer__7069ed2d button.BaseModal_module_dismiss__7069ed2d[data-elem=base-cell]:hover {\n background-color: var(--light-color1);\n}\n.BaseModal_module_root__7069ed2d button.BaseModal_module_close__7069ed2d[data-elem=base-cell] {\n position: absolute;\n right: 1rem;\n top: 1rem;\n padding: 0.25rem;\n height: auto;\n background: var(--light-color3);\n}\n.BaseModal_module_root__7069ed2d button.BaseModal_module_close__7069ed2d[data-elem=base-cell] .BaseModal_module_icon__7069ed2d {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--text-color);\n}";
|
|
6389
8804
|
var modules_f23ae002$1 = {"root":"BaseModal_module_root__7069ed2d","body":"BaseModal_module_body__7069ed2d","header":"BaseModal_module_header__7069ed2d","footer":"BaseModal_module_footer__7069ed2d","dismiss":"BaseModal_module_dismiss__7069ed2d","close":"BaseModal_module_close__7069ed2d","icon":"BaseModal_module_icon__7069ed2d"};
|
|
6390
|
-
n(css$
|
|
8805
|
+
n(css$t,{});
|
|
6391
8806
|
|
|
6392
8807
|
var MotionFooter$1 = framerMotion.motion.footer;
|
|
6393
8808
|
var footerAnimations$1 = {
|
|
@@ -6407,12 +8822,12 @@ var ModalHeader$1 = function ModalHeader(_ref) {
|
|
|
6407
8822
|
var title = _ref.title,
|
|
6408
8823
|
description = _ref.description;
|
|
6409
8824
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
6410
|
-
children: [jsxRuntime.jsx(Text
|
|
8825
|
+
children: [jsxRuntime.jsx(Text, {
|
|
6411
8826
|
component: 'h2',
|
|
6412
8827
|
variant: 'h2',
|
|
6413
8828
|
weight: 600,
|
|
6414
8829
|
children: title
|
|
6415
|
-
}), jsxRuntime.jsx(Text
|
|
8830
|
+
}), jsxRuntime.jsx(Text, {
|
|
6416
8831
|
component: 'span',
|
|
6417
8832
|
variant: 'b1',
|
|
6418
8833
|
weight: 400,
|
|
@@ -6571,9 +8986,9 @@ var BaseModal$1 = function BaseModal(props) {
|
|
|
6571
8986
|
});
|
|
6572
8987
|
};
|
|
6573
8988
|
|
|
6574
|
-
var css$
|
|
8989
|
+
var css$s = ".CheckBox_module_root__6c6c7d85 {\n cursor: pointer;\n gap: 10px;\n color: var(--mono-color1);\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_positionLeft__6c6c7d85 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_positionRight__6c6c7d85 {\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-end;\n align-items: center;\n}\n.CheckBox_module_root__6c6c7d85 input[type=checkbox] {\n opacity: 0;\n z-index: 1;\n position: absolute;\n width: 1px;\n height: 1px;\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_disabled__6c6c7d85 {\n cursor: default;\n color: var(--mono-color2);\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_disabled__6c6c7d85 .CheckBox_module_icon__6c6c7d85 rect:nth-of-type(1) {\n fill: var(--grey10);\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_disabled__6c6c7d85 .CheckBox_module_icon__6c6c7d85 rect:nth-of-type(2) {\n stroke: var(--grey5);\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_disabled__6c6c7d85 .CheckBox_module_icon__6c6c7d85 path {\n stroke: var(--grey5);\n}\n.CheckBox_module_root__6c6c7d85.CheckBox_module_selected__6c6c7d85 {\n color: var(--text-color);\n}\n.CheckBox_module_root__6c6c7d85:hover:not(.CheckBox_module_disabled__6c6c7d85) {\n color: var(--text-color);\n}\n.CheckBox_module_root__6c6c7d85:hover:not(.CheckBox_module_disabled__6c6c7d85) .CheckBox_module_icon__6c6c7d85 rect:nth-of-type(1) {\n fill: var(--background-color5);\n}\n.CheckBox_module_root__6c6c7d85:hover:not(.CheckBox_module_disabled__6c6c7d85) .CheckBox_module_icon__6c6c7d85 rect:nth-of-type(2) {\n stroke: var(--secondary-color2);\n}\n.CheckBox_module_root__6c6c7d85:hover:not(.CheckBox_module_disabled__6c6c7d85) .CheckBox_module_icon__6c6c7d85 path {\n stroke: var(--secondary-color2);\n}\n.CheckBox_module_root__6c6c7d85 .CheckBox_module_icon__6c6c7d85 {\n display: inline-block;\n border-radius: 0.2rem;\n}\n.CheckBox_module_root__6c6c7d85 .CheckBox_module_icon__6c6c7d85.CheckBox_module_iconSm__6c6c7d85 {\n width: 1rem;\n height: 1rem;\n}\n.CheckBox_module_root__6c6c7d85 .CheckBox_module_icon__6c6c7d85.CheckBox_module_iconMd__6c6c7d85 {\n width: 1.25rem;\n height: 1.25rem;\n}\n.CheckBox_module_root__6c6c7d85 .CheckBox_module_icon__6c6c7d85.CheckBox_module_iconLg__6c6c7d85 {\n width: 1.5rem;\n height: 1.5rem;\n}\n.CheckBox_module_root__6c6c7d85 input:focus + .CheckBox_module_icon__6c6c7d85 {\n box-shadow: 0px 0px 0px 0.25rem rgba(15, 98, 254, 0.125);\n}\n.CheckBox_module_root__6c6c7d85 [data-elem=label] {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}";
|
|
6575
8990
|
var modules_066398a2 = {"root":"CheckBox_module_root__6c6c7d85","position-left":"CheckBox_module_positionLeft__6c6c7d85","position-right":"CheckBox_module_positionRight__6c6c7d85","disabled":"CheckBox_module_disabled__6c6c7d85","icon":"CheckBox_module_icon__6c6c7d85","selected":"CheckBox_module_selected__6c6c7d85","icon-sm":"CheckBox_module_iconSm__6c6c7d85","icon-md":"CheckBox_module_iconMd__6c6c7d85","icon-lg":"CheckBox_module_iconLg__6c6c7d85"};
|
|
6576
|
-
n(css$
|
|
8991
|
+
n(css$s,{});
|
|
6577
8992
|
|
|
6578
8993
|
var getIcon = function getIcon(checked, intermediate) {
|
|
6579
8994
|
if (checked) {
|
|
@@ -6595,7 +9010,8 @@ var Checkbox = function Checkbox(props) {
|
|
|
6595
9010
|
className = _props$className === void 0 ? '' : _props$className,
|
|
6596
9011
|
disabled = props.disabled,
|
|
6597
9012
|
disabledAsChild = props.disabledAsChild,
|
|
6598
|
-
intermediate = props.intermediate
|
|
9013
|
+
intermediate = props.intermediate,
|
|
9014
|
+
dataTestId = props.dataTestId;
|
|
6599
9015
|
// Track controlled/uncontrolled mode once on first render
|
|
6600
9016
|
var _useRef = React.useRef(checked !== undefined),
|
|
6601
9017
|
isControlled = _useRef.current;
|
|
@@ -6622,6 +9038,7 @@ var Checkbox = function Checkbox(props) {
|
|
|
6622
9038
|
children: [jsxRuntime.jsx("input", _objectSpread2(_objectSpread2({
|
|
6623
9039
|
disabled: disabled,
|
|
6624
9040
|
type: 'checkbox',
|
|
9041
|
+
"data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : label ? "checkbox-input-".concat(label, "-cb-test") : 'checkbox-input-cb-test',
|
|
6625
9042
|
defaultChecked: defaultChecked
|
|
6626
9043
|
}, isControlled ? {
|
|
6627
9044
|
checked: !!checked
|
|
@@ -6651,11 +9068,9 @@ var SelectAll = function SelectAll(props) {
|
|
|
6651
9068
|
});
|
|
6652
9069
|
};
|
|
6653
9070
|
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
var css$s = ".Tooltip_module_tooltip__9cc6de6d {\n text-align: center;\n border-radius: 0.25rem;\n min-width: 1rem;\n max-width: auto;\n padding: 0.5rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1.3125rem;\n color: var(--light-color3);\n background-color: var(--text-color);\n}\n.Tooltip_module_tooltip__9cc6de6d.Tooltip_module_light__9cc6de6d {\n background-color: var(--black);\n color: var(--white);\n}\n.Tooltip_module_tooltip__9cc6de6d.Tooltip_module_dark__9cc6de6d {\n background-color: var(--white);\n color: var(--black);\n}\n.Tooltip_module_tooltip__9cc6de6d .Tooltip_module_arrow__9cc6de6d {\n position: absolute;\n width: 0.65rem;\n height: 0.65rem;\n z-index: -1;\n pointer-events: none;\n transform: rotate(45deg);\n background: var(--text-color);\n}";
|
|
9071
|
+
var css$r = ".Tooltip_module_tooltip__9cc6de6d {\n text-align: center;\n border-radius: 0.25rem;\n min-width: 1rem;\n max-width: auto;\n padding: 0.5rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1.3125rem;\n color: var(--light-color3);\n background-color: var(--text-color);\n}\n.Tooltip_module_tooltip__9cc6de6d.Tooltip_module_light__9cc6de6d {\n background-color: var(--black);\n color: var(--white);\n}\n.Tooltip_module_tooltip__9cc6de6d.Tooltip_module_dark__9cc6de6d {\n background-color: var(--white);\n color: var(--black);\n}\n.Tooltip_module_tooltip__9cc6de6d .Tooltip_module_arrow__9cc6de6d {\n position: absolute;\n width: 0.65rem;\n height: 0.65rem;\n z-index: -1;\n pointer-events: none;\n transform: rotate(45deg);\n background: var(--text-color);\n}";
|
|
6657
9072
|
var modules_e4619b04 = {"tooltip":"Tooltip_module_tooltip__9cc6de6d","light":"Tooltip_module_light__9cc6de6d","dark":"Tooltip_module_dark__9cc6de6d","arrow":"Tooltip_module_arrow__9cc6de6d"};
|
|
6658
|
-
n(css$
|
|
9073
|
+
n(css$r,{});
|
|
6659
9074
|
|
|
6660
9075
|
/**
|
|
6661
9076
|
* Tooltip - A tooltip component to be used as a wrapper to show the customised tooltip for the component
|
|
@@ -6796,95 +9211,6 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (props, propRef) {
|
|
|
6796
9211
|
});
|
|
6797
9212
|
});
|
|
6798
9213
|
|
|
6799
|
-
var css$r = ".Popover_module_root__fa26af22 {\n padding: 0.5rem;\n border-radius: 0.25rem;\n border: 1px solid var(--grey);\n z-index: 10;\n}\n.Popover_module_root__fa26af22.Popover_module_darkTheme__fa26af22 {\n box-shadow: 0px dark 20px rgba(24, 24, 24, 0.08);\n background-color: var(--dark-grey);\n color: var(--white);\n border-color: var(--grey);\n}\n.Popover_module_root__fa26af22.Popover_module_lightTheme__fa26af22 {\n box-shadow: 0px light 20px rgba(24, 24, 24, 0.08);\n background-color: var(--white);\n color: var(--dark-grey);\n border-color: var(--grey4);\n}";
|
|
6800
|
-
var modules_dfc4608f = {"root":"Popover_module_root__fa26af22","dark-theme":"Popover_module_darkTheme__fa26af22","light-theme":"Popover_module_lightTheme__fa26af22"};
|
|
6801
|
-
n(css$r,{});
|
|
6802
|
-
|
|
6803
|
-
var resolveOffset = function resolveOffset(user) {
|
|
6804
|
-
if (user == null) return {
|
|
6805
|
-
mainAxis: 5
|
|
6806
|
-
};
|
|
6807
|
-
if (typeof user === 'number' || typeof user === 'function') return user;
|
|
6808
|
-
return _objectSpread2({
|
|
6809
|
-
mainAxis: 5
|
|
6810
|
-
}, user);
|
|
6811
|
-
};
|
|
6812
|
-
var Popover = function Popover(_ref) {
|
|
6813
|
-
var children = _ref.children,
|
|
6814
|
-
anchorEl = _ref.anchorEl,
|
|
6815
|
-
open = _ref.open,
|
|
6816
|
-
setOpen = _ref.setOpen,
|
|
6817
|
-
className = _ref.className,
|
|
6818
|
-
_ref$transparent = _ref.transparent,
|
|
6819
|
-
transparent = _ref$transparent === void 0 ? true : _ref$transparent,
|
|
6820
|
-
onClose = _ref.onClose,
|
|
6821
|
-
_ref$placement = _ref.placement,
|
|
6822
|
-
placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
|
|
6823
|
-
_ref$theme = _ref.theme,
|
|
6824
|
-
theme = _ref$theme === void 0 ? 'light' : _ref$theme,
|
|
6825
|
-
middlewareOptions = _ref.middlewareOptions,
|
|
6826
|
-
lockScroll = _ref.lockScroll,
|
|
6827
|
-
_ref$withOverlay = _ref.withOverlay,
|
|
6828
|
-
withOverlay = _ref$withOverlay === void 0 ? true : _ref$withOverlay;
|
|
6829
|
-
var offsetArg = resolveOffset(middlewareOptions === null || middlewareOptions === void 0 ? void 0 : middlewareOptions.offset);
|
|
6830
|
-
var flipArg = _objectSpread2({
|
|
6831
|
-
padding: 8
|
|
6832
|
-
}, middlewareOptions !== null && middlewareOptions !== void 0 && middlewareOptions.flip && _typeof(middlewareOptions.flip) === 'object' ? _objectSpread2({}, middlewareOptions.flip) : {});
|
|
6833
|
-
var _useFloating = useFloating(_objectSpread2(_objectSpread2(_objectSpread2({}, open && {
|
|
6834
|
-
open: open
|
|
6835
|
-
}), setOpen && {
|
|
6836
|
-
onOpenChange: setOpen
|
|
6837
|
-
}), {}, {
|
|
6838
|
-
placement: placement,
|
|
6839
|
-
whileElementsMounted: autoUpdate,
|
|
6840
|
-
middleware: [offset(offsetArg), shift(middlewareOptions === null || middlewareOptions === void 0 ? void 0 : middlewareOptions.shift), flip(flipArg), size({
|
|
6841
|
-
apply: function apply(_ref2) {
|
|
6842
|
-
var rects = _ref2.rects,
|
|
6843
|
-
availableHeight = _ref2.availableHeight,
|
|
6844
|
-
elements = _ref2.elements;
|
|
6845
|
-
Object.assign(elements.floating.style, {
|
|
6846
|
-
width: "".concat(rects.reference.width.toString(), "px"),
|
|
6847
|
-
minWidth: 'fit-content',
|
|
6848
|
-
maxHeight: "".concat(availableHeight.toString(), "px")
|
|
6849
|
-
});
|
|
6850
|
-
},
|
|
6851
|
-
padding: 8
|
|
6852
|
-
})]
|
|
6853
|
-
})),
|
|
6854
|
-
x = _useFloating.x,
|
|
6855
|
-
y = _useFloating.y,
|
|
6856
|
-
reference = _useFloating.reference,
|
|
6857
|
-
floating = _useFloating.floating,
|
|
6858
|
-
strategy = _useFloating.strategy,
|
|
6859
|
-
context = _useFloating.context;
|
|
6860
|
-
var _useInteractions = useInteractions([useDismiss(context)]),
|
|
6861
|
-
getFloatingProps = _useInteractions.getFloatingProps;
|
|
6862
|
-
React.useEffect(function () {
|
|
6863
|
-
if (!open) onClose === null || onClose === void 0 || onClose();
|
|
6864
|
-
}, [open, onClose]);
|
|
6865
|
-
React.useLayoutEffect(function () {
|
|
6866
|
-
reference(anchorEl);
|
|
6867
|
-
}, [anchorEl, reference]);
|
|
6868
|
-
return jsxRuntime.jsx(Popper, {
|
|
6869
|
-
open: open,
|
|
6870
|
-
wrapperId: 'popover',
|
|
6871
|
-
transparent: transparent,
|
|
6872
|
-
lockScroll: lockScroll,
|
|
6873
|
-
withOverlay: withOverlay,
|
|
6874
|
-
children: jsxRuntime.jsx("div", _objectSpread2(_objectSpread2({}, getFloatingProps({
|
|
6875
|
-
ref: floating,
|
|
6876
|
-
style: {
|
|
6877
|
-
position: strategy,
|
|
6878
|
-
top: y !== null && y !== void 0 ? y : 0,
|
|
6879
|
-
left: x !== null && x !== void 0 ? x : 0
|
|
6880
|
-
},
|
|
6881
|
-
className: classes(modules_dfc4608f.root, modules_dfc4608f["".concat(theme, "-theme")], className)
|
|
6882
|
-
})), {}, {
|
|
6883
|
-
children: children
|
|
6884
|
-
}))
|
|
6885
|
-
});
|
|
6886
|
-
};
|
|
6887
|
-
|
|
6888
9214
|
var css$q = ".TextField_module_root__9f23fe8b {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 0.5rem;\n}\n.TextField_module_root__9f23fe8b label {\n width: 100%;\n max-width: 100%;\n font-weight: 400;\n font-size: 0.75rem;\n letter-spacing: 0.02rem;\n color: var(--text-color);\n letter-spacing: 0.3199999928px;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0.5rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_required__9f23fe8b::after {\n content: \" *\";\n color: var(--primary-color1);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 0.625rem;\n padding: 0.75rem;\n height: auto;\n max-width: 100%;\n width: 100%;\n border-radius: 0.25rem;\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b:focus-within {\n outline: 1px solid var(--secondary-color2);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b .TextField_module_icon__9f23fe8b {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem*=component] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component1] > svg {\n width: 1.5rem;\n height: 1.5rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component1] > svg.TextField_module_error__9f23fe8b path {\n stroke: var(--primary-color1);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] {\n flex: 1;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b {\n -moz-appearance: textfield;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b::-webkit-outer-spin-button, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b {\n flex: 1;\n background-color: var(--light-color3) !important;\n border: none;\n font-weight: 400;\n color: var(--text-color);\n font-size: 0.875rem;\n line-height: 1.125rem;\n letter-spacing: 0.01rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:focus {\n outline: none;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:disabled {\n background: var(--grey9);\n color: var(--grey3);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b.TextField_module_error__9f23fe8b {\n color: var(--primary-color1);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b.TextField_module_sm__9f23fe8b {\n padding: 0rem 0.5rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b.TextField_module_md__9f23fe8b {\n padding: 0rem 0.5rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b.TextField_module_lg__9f23fe8b {\n padding: 0rem 0.5rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b::-moz-placeholder {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.125rem;\n letter-spacing: 0.01rem;\n color: var(--mono-color2);\n opacity: 1;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b::placeholder {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.125rem;\n letter-spacing: 0.01rem;\n color: var(--mono-color2);\n opacity: 1;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b::-moz-placeholder {\n font-size: 0.875rem;\n font-weight: 400;\n line-height: 1.125rem;\n letter-spacing: 0.01rem;\n color: var(--mono-color2);\n opacity: 1;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:-webkit-autofill, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:-webkit-autofill:hover, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:-webkit-autofill:focus, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:-webkit-autofill:active {\n -webkit-box-shadow: 0 0 0 30px var(--light-color3) inset !important;\n -webkit-text-fill-color: initial !important;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:autofill, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:autofill:hover, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:autofill:focus, .TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b:autofill:active {\n box-shadow: 0 0 0 30px var(--light-color3) inset !important;\n -moz-text-fill-color: initial !important;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component3] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 0.75rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component3] button[data-elem=base-cell].TextField_module_button__9f23fe8b[type=button] {\n width: auto;\n height: -moz-fit-content;\n height: fit-content;\n padding: 0;\n background-color: transparent;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component3] button[data-elem=base-cell].TextField_module_button__9f23fe8b[type=button].TextField_module_error__9f23fe8b > [data-elem=component1] .TextField_module_icon__9f23fe8b.TextField_module_error__9f23fe8b.TextField_module_error__9f23fe8b path {\n stroke: var(--primary-color1);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component3] .TextField_module_span__9f23fe8b .TextField_module_icon__9f23fe8b {\n width: 1rem;\n height: 1rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b > [data-elem=component3] .TextField_module_span__9f23fe8b .TextField_module_icon__9f23fe8b.TextField_module_error__9f23fe8b.TextField_module_error__9f23fe8b path {\n stroke: var(--primary-color1);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_typeTextarea__9f23fe8b {\n padding: 0;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_typeTextarea__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b {\n resize: vertical;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_typeTextarea__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b.TextField_module_md__9f23fe8b {\n padding: 0.313rem 0.75rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_typeTextarea__9f23fe8b > [data-elem=component2] .TextField_module_input__9f23fe8b.TextField_module_lg__9f23fe8b {\n padding: 0.5rem 1rem;\n font-size: 1rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_feedbackError__9f23fe8b {\n box-shadow: 0px 0px 2px 0px var(--primary-color1);\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_borderDefault__9f23fe8b {\n border-width: 0.063rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_borderBottom__9f23fe8b {\n border-width: 0rem 0rem 0.063rem 0rem;\n}\n.TextField_module_root__9f23fe8b label .TextField_module_inputWrapper__9f23fe8b.TextField_module_borderNone__9f23fe8b {\n border-width: 0rem;\n}";
|
|
6889
9215
|
var modules_c1d23762 = {"root":"TextField_module_root__9f23fe8b","required":"TextField_module_required__9f23fe8b","input-wrapper":"TextField_module_inputWrapper__9f23fe8b","icon":"TextField_module_icon__9f23fe8b","error":"TextField_module_error__9f23fe8b","input":"TextField_module_input__9f23fe8b","sm":"TextField_module_sm__9f23fe8b","md":"TextField_module_md__9f23fe8b","lg":"TextField_module_lg__9f23fe8b","button":"TextField_module_button__9f23fe8b","span":"TextField_module_span__9f23fe8b","type-textarea":"TextField_module_typeTextarea__9f23fe8b","feedback-error":"TextField_module_feedbackError__9f23fe8b","border-default":"TextField_module_borderDefault__9f23fe8b","border-bottom":"TextField_module_borderBottom__9f23fe8b","border-none":"TextField_module_borderNone__9f23fe8b"};
|
|
6890
9216
|
n(css$q,{});
|
|
@@ -6917,7 +9243,9 @@ var TextField = /*#__PURE__*/React.forwardRef(function (props, inputRef) {
|
|
|
6917
9243
|
feedback = props.feedback,
|
|
6918
9244
|
maxLength = props.maxLength,
|
|
6919
9245
|
onKeyDown = props.onKeyDown,
|
|
6920
|
-
autocompleteOptions = props.autocompleteOptions
|
|
9246
|
+
autocompleteOptions = props.autocompleteOptions,
|
|
9247
|
+
_props$unstyled = props.unstyled,
|
|
9248
|
+
unstyled = _props$unstyled === void 0 ? false : _props$unstyled;
|
|
6921
9249
|
var _useRef = React.useRef(value !== undefined),
|
|
6922
9250
|
isControlled = _useRef.current;
|
|
6923
9251
|
var _useState = React.useState(defaultValue),
|
|
@@ -7041,7 +9369,7 @@ var TextField = /*#__PURE__*/React.forwardRef(function (props, inputRef) {
|
|
|
7041
9369
|
ref: o([inputRef]),
|
|
7042
9370
|
value: inputValue,
|
|
7043
9371
|
onChange: handleChange,
|
|
7044
|
-
className: classes(modules_c1d23762[size], modules_c1d23762.input, feedback !== null && feedback !== void 0 && feedback.error ? modules_c1d23762.error : '')
|
|
9372
|
+
className: unstyled ? classes(modules_c1d23762.unstyled, className) : classes(modules_c1d23762[size], modules_c1d23762.input, feedback !== null && feedback !== void 0 && feedback.error ? modules_c1d23762.error : '')
|
|
7045
9373
|
}, typeof maxLength === 'number' ? {
|
|
7046
9374
|
maxLength: maxLength
|
|
7047
9375
|
} : {});
|
|
@@ -7049,6 +9377,11 @@ var TextField = /*#__PURE__*/React.forwardRef(function (props, inputRef) {
|
|
|
7049
9377
|
type: inputType,
|
|
7050
9378
|
defaultValue: defaultValue
|
|
7051
9379
|
}, inputProps));
|
|
9380
|
+
// ── Unstyled Return Path ─────────────────────────────────────────────
|
|
9381
|
+
if (unstyled) {
|
|
9382
|
+
return Input;
|
|
9383
|
+
}
|
|
9384
|
+
// ── Standard Return Path ─────────────────────────────────────────────
|
|
7052
9385
|
var AutocompletePopover = autocompleteOptions === null || autocompleteOptions === void 0 ? void 0 : autocompleteOptions.render;
|
|
7053
9386
|
return jsxRuntime.jsxs("div", {
|
|
7054
9387
|
className: classes(modules_c1d23762.root, className),
|
|
@@ -7115,7 +9448,8 @@ var Dropdown = /*#__PURE__*/React.forwardRef(function Dropdown(props, ref) {
|
|
|
7115
9448
|
valueAsCount = props.valueAsCount,
|
|
7116
9449
|
caretAsUpDown = props.caretAsUpDown,
|
|
7117
9450
|
search = props.search,
|
|
7118
|
-
hideValueOnSelect = props.hideValueOnSelect
|
|
9451
|
+
hideValueOnSelect = props.hideValueOnSelect,
|
|
9452
|
+
dataTestId = props.dataTestId;
|
|
7119
9453
|
var _useState = React.useState(false),
|
|
7120
9454
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7121
9455
|
open = _useState2[0],
|
|
@@ -7438,6 +9772,7 @@ var Dropdown = /*#__PURE__*/React.forwardRef(function Dropdown(props, ref) {
|
|
|
7438
9772
|
})
|
|
7439
9773
|
}), jsxRuntime.jsxs("div", _objectSpread2(_objectSpread2({
|
|
7440
9774
|
"data-elem": 'header',
|
|
9775
|
+
"data-testid": "dropdown-header-".concat(placeholder ? placeholder.toString() : dataTestId, "-dpn-test"),
|
|
7441
9776
|
className: classes(modules_1b90f5ea.header, error ? modules_1b90f5ea.error : ' ', open ? modules_1b90f5ea.open : '', (Array.isArray(value) ? value.length > 0 : !!value) && highlightOnSelect ? modules_1b90f5ea.highlightOnSelect : ''),
|
|
7442
9777
|
ref: reference
|
|
7443
9778
|
}, getReferenceProps()), {}, {
|
|
@@ -7555,6 +9890,7 @@ var Dropdown = /*#__PURE__*/React.forwardRef(function Dropdown(props, ref) {
|
|
|
7555
9890
|
className: modules_1b90f5ea['multi-clear'],
|
|
7556
9891
|
blurOnClick: false,
|
|
7557
9892
|
title: 'Clear',
|
|
9893
|
+
dataTestId: 'dropdown-clear-btn-test',
|
|
7558
9894
|
size: 'auto',
|
|
7559
9895
|
disabled: selectedOptions.length === 0,
|
|
7560
9896
|
onClick: function onClick(event) {
|
|
@@ -7565,6 +9901,7 @@ var Dropdown = /*#__PURE__*/React.forwardRef(function Dropdown(props, ref) {
|
|
|
7565
9901
|
}
|
|
7566
9902
|
}), jsxRuntime.jsx(Button, {
|
|
7567
9903
|
className: modules_1b90f5ea['multi-apply'],
|
|
9904
|
+
dataTestId: 'dropdown-apply-btn-test',
|
|
7568
9905
|
title: selectedOptions.length === 0 ? 'Apply' : multiSelectActionTitle !== null && multiSelectActionTitle !== void 0 ? multiSelectActionTitle : 'Apply',
|
|
7569
9906
|
size: 'auto',
|
|
7570
9907
|
onClick: onApply
|
|
@@ -7590,7 +9927,8 @@ var Radio = function Radio(props) {
|
|
|
7590
9927
|
_props$size = props.size,
|
|
7591
9928
|
size = _props$size === void 0 ? 'sm' : _props$size,
|
|
7592
9929
|
className = props.className,
|
|
7593
|
-
disabled = props.disabled
|
|
9930
|
+
disabled = props.disabled,
|
|
9931
|
+
dataTestId = props.dataTestId;
|
|
7594
9932
|
// Lock controlled vs uncontrolled on first render
|
|
7595
9933
|
var _useRef = React.useRef(checked !== undefined),
|
|
7596
9934
|
isControlled = _useRef.current;
|
|
@@ -7620,7 +9958,8 @@ var Radio = function Radio(props) {
|
|
|
7620
9958
|
type: 'radio',
|
|
7621
9959
|
// Preserve original pattern: always pass checked (undefined keeps it uncontrolled)
|
|
7622
9960
|
checked: isChecked,
|
|
7623
|
-
onChange: handleChange
|
|
9961
|
+
onChange: handleChange,
|
|
9962
|
+
"data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : label ? "radio-input-".concat(label, "-rd-test") : 'radio-input-rd-test'
|
|
7624
9963
|
}), isChecked ? jsxRuntime.jsx(CheckedIcon, {
|
|
7625
9964
|
"data-elem": 'icon',
|
|
7626
9965
|
className: classes(modules_3705961f["icon-".concat(size)], modules_3705961f.icon)
|
|
@@ -7789,8 +10128,8 @@ var DropdownItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7789
10128
|
}));
|
|
7790
10129
|
});
|
|
7791
10130
|
|
|
7792
|
-
var css$l = ".
|
|
7793
|
-
var modules_f23ae002 = {"root":"
|
|
10131
|
+
var css$l = ".BaseModal_module_root__387071a4 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n top: 50%;\n left: 50%;\n right: auto;\n bottom: auto;\n transform: translate(-50%, -50%);\n max-height: 100%;\n height: 43.75rem;\n width: 62.5rem;\n position: fixed;\n background: var(--light-color3);\n box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.13);\n border-radius: 8px;\n outline: none;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_body__387071a4 {\n overflow-y: scroll;\n padding: 1rem;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_body__387071a4::-webkit-scrollbar {\n display: none;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_body__387071a4 {\n -ms-overflow-style: none;\n scrollbar-width: none;\n color: var(--text-color);\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_header__387071a4,\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 {\n padding: 1rem;\n color: var(--text-color);\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_header__387071a4 {\n font-weight: 500;\n font-size: 1.375rem;\n box-shadow: 0px 0.1px 2px rgba(24, 24, 24, 0.08);\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 {\n margin-top: auto;\n border-radius: 0 0 8px 8px;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n gap: 1rem;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 button.BaseModal_module_dismiss__387071a4[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n color: var(--mono-color1);\n background-color: var(--light-color2);\n border-radius: 0.25rem;\n outline: 1px solid var(--light-color2) !important;\n border: none;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 button.BaseModal_module_dismiss__387071a4[data-elem=base-cell]:hover {\n background-color: var(--light-color1);\n}\n.BaseModal_module_root__387071a4 button.BaseModal_module_close__387071a4[data-elem=base-cell] {\n position: absolute;\n right: 1rem;\n top: 1rem;\n padding: 0.25rem;\n height: auto;\n background: var(--light-color3);\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.25);\n}\n.BaseModal_module_root__387071a4 button.BaseModal_module_close__387071a4[data-elem=base-cell]:hover {\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n}\n.BaseModal_module_root__387071a4 button.BaseModal_module_close__387071a4[data-elem=base-cell] .BaseModal_module_icon__387071a4 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--text-color);\n}";
|
|
10132
|
+
var modules_f23ae002 = {"root":"BaseModal_module_root__387071a4","body":"BaseModal_module_body__387071a4","header":"BaseModal_module_header__387071a4","footer":"BaseModal_module_footer__387071a4","dismiss":"BaseModal_module_dismiss__387071a4","close":"BaseModal_module_close__387071a4","icon":"BaseModal_module_icon__387071a4"};
|
|
7794
10133
|
n(css$l,{});
|
|
7795
10134
|
|
|
7796
10135
|
var MotionFooter = framerMotion.motion.footer;
|
|
@@ -7811,12 +10150,12 @@ var ModalHeader = function ModalHeader(_ref) {
|
|
|
7811
10150
|
var title = _ref.title,
|
|
7812
10151
|
description = _ref.description;
|
|
7813
10152
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
7814
|
-
children: [jsxRuntime.jsx(Text
|
|
10153
|
+
children: [jsxRuntime.jsx(Text, {
|
|
7815
10154
|
component: 'h2',
|
|
7816
10155
|
variant: 'h2',
|
|
7817
10156
|
weight: 600,
|
|
7818
10157
|
children: title
|
|
7819
|
-
}), jsxRuntime.jsx(Text
|
|
10158
|
+
}), jsxRuntime.jsx(Text, {
|
|
7820
10159
|
component: 'span',
|
|
7821
10160
|
variant: 'b1',
|
|
7822
10161
|
weight: 400,
|
|
@@ -7962,6 +10301,7 @@ var BaseModal = function BaseModal(props) {
|
|
|
7962
10301
|
size: 'auto',
|
|
7963
10302
|
variant: 'text',
|
|
7964
10303
|
className: modules_f23ae002.close,
|
|
10304
|
+
dataTestId: 'modal-cross-dismiss-btn-test',
|
|
7965
10305
|
onClick: function onClick() {
|
|
7966
10306
|
toggle === null || toggle === void 0 || toggle(false);
|
|
7967
10307
|
},
|
|
@@ -7993,7 +10333,7 @@ var DIALOG_DEFAULTS = {
|
|
|
7993
10333
|
};
|
|
7994
10334
|
var Header$1 = function Header(_ref) {
|
|
7995
10335
|
var title = _ref.title;
|
|
7996
|
-
return jsxRuntime.jsx(Text
|
|
10336
|
+
return jsxRuntime.jsx(Text, {
|
|
7997
10337
|
component: 'h2',
|
|
7998
10338
|
variant: 'b1',
|
|
7999
10339
|
weight: 600,
|
|
@@ -8146,7 +10486,7 @@ var modules_a3d40e77 = {"root":"Pagination_module_root__198ee6f9","floating":"Pa
|
|
|
8146
10486
|
n(css$f,{});
|
|
8147
10487
|
|
|
8148
10488
|
var reducer = function reducer(state, action) {
|
|
8149
|
-
var _state$currentPage, _state$currentPage2, _action$payload
|
|
10489
|
+
var _state$currentPage, _state$currentPage2, _action$payload;
|
|
8150
10490
|
switch (action.type) {
|
|
8151
10491
|
case 'NEXT_PAGE':
|
|
8152
10492
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
@@ -8161,14 +10501,17 @@ var reducer = function reducer(state, action) {
|
|
|
8161
10501
|
currentPage: (_action$payload = action.payload) !== null && _action$payload !== void 0 ? _action$payload : 1
|
|
8162
10502
|
});
|
|
8163
10503
|
case 'SET_STEP':
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
10504
|
+
{
|
|
10505
|
+
var _state$currentPage3;
|
|
10506
|
+
var firstRow = (((_state$currentPage3 = state.currentPage) !== null && _state$currentPage3 !== void 0 ? _state$currentPage3 : 1) - 1) * state.step + 1;
|
|
10507
|
+
var newPage = Math.ceil(firstRow / action.payload);
|
|
10508
|
+
var newTotalPages = state.totalData != null ? Math.ceil(state.totalData / action.payload) : state.totalPages;
|
|
10509
|
+
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
10510
|
+
step: action.payload,
|
|
10511
|
+
currentPage: newPage,
|
|
10512
|
+
totalPages: newTotalPages
|
|
10513
|
+
});
|
|
10514
|
+
}
|
|
8172
10515
|
case 'SET_TOTAL_PAGES':
|
|
8173
10516
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
8174
10517
|
totalPages: action.payload
|
|
@@ -9968,7 +12311,7 @@ var General = function General(_ref) {
|
|
|
9968
12311
|
CustomPlaceholder = _ref.customPlaceholder;
|
|
9969
12312
|
return jsxRuntime.jsx("div", {
|
|
9970
12313
|
className: classes(modules_4c78d049.root, className),
|
|
9971
|
-
children: CustomPlaceholder ? jsxRuntime.jsx(CustomPlaceholder, {}) : jsxRuntime.jsx(Text
|
|
12314
|
+
children: CustomPlaceholder ? jsxRuntime.jsx(CustomPlaceholder, {}) : jsxRuntime.jsx(Text, {
|
|
9972
12315
|
className: modules_4c78d049.placeholder,
|
|
9973
12316
|
component: 'span',
|
|
9974
12317
|
variant: 'b1',
|
|
@@ -10047,47 +12390,37 @@ var BaseTable = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
10047
12390
|
return jsxRuntime.jsx(BaseTableSkeleton, {});
|
|
10048
12391
|
}
|
|
10049
12392
|
var tabularData = Array.isArray(tableData) ? tableData : [];
|
|
12393
|
+
var commonTableProps = _objectSpread2({
|
|
12394
|
+
headerData: headerData,
|
|
12395
|
+
customCells: customCells,
|
|
12396
|
+
onRowClick: onRowClick,
|
|
12397
|
+
rowHeight: rowHeight,
|
|
12398
|
+
onCheck: onCheck,
|
|
12399
|
+
checkedRows: checkedRows,
|
|
12400
|
+
setCheckedRows: setCheckedRows,
|
|
12401
|
+
uniqueKey: uniqueKey,
|
|
12402
|
+
checkAsRadio: checkAsRadio,
|
|
12403
|
+
disableCheck: disableCheck
|
|
12404
|
+
}, hideColumnLines !== undefined && {
|
|
12405
|
+
hideColumnLines: hideColumnLines
|
|
12406
|
+
});
|
|
10050
12407
|
return jsxRuntime.jsxs("table", {
|
|
10051
12408
|
ref: ref,
|
|
10052
12409
|
"data-elem": 'table',
|
|
10053
12410
|
className: classes(modules_f1817c60.root, tabularData.length === 0 ? modules_f1817c60['no-scroll'] : '', className),
|
|
10054
|
-
children: [tabularData.length > 0 && jsxRuntime.jsx(TableHeader, _objectSpread2({
|
|
10055
|
-
headerData: headerData,
|
|
12411
|
+
children: [tabularData.length > 0 && jsxRuntime.jsx(TableHeader, _objectSpread2(_objectSpread2({}, commonTableProps), {}, {
|
|
10056
12412
|
expandable: expandable,
|
|
10057
|
-
customCells: customCells,
|
|
10058
12413
|
onSort: onSort,
|
|
10059
12414
|
sortValue: sortValue,
|
|
10060
|
-
|
|
10061
|
-
onCheck: onCheck,
|
|
10062
|
-
checkedRows: checkedRows,
|
|
10063
|
-
setCheckedRows: setCheckedRows,
|
|
10064
|
-
tableData: tabularData,
|
|
10065
|
-
disableCheck: disableCheck,
|
|
10066
|
-
checkAsRadio: checkAsRadio,
|
|
10067
|
-
rowHeight: rowHeight,
|
|
10068
|
-
uniqueKey: uniqueKey
|
|
10069
|
-
}, hideColumnLines !== undefined && {
|
|
10070
|
-
hideColumnLines: hideColumnLines
|
|
12415
|
+
tableData: tabularData
|
|
10071
12416
|
})), tabularData.length === 0 ? jsxRuntime.jsx(General, {
|
|
10072
12417
|
customPlaceholder: emptyPlaceholder
|
|
10073
|
-
}) : jsxRuntime.jsx(TableBody, _objectSpread2({
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
customCells: customCells,
|
|
12418
|
+
}) : jsxRuntime.jsx(TableBody, _objectSpread2(_objectSpread2(_objectSpread2({}, commonTableProps), expandable !== undefined && {
|
|
12419
|
+
expandable: expandable
|
|
12420
|
+
}), {}, {
|
|
10077
12421
|
tableData: tabularData,
|
|
10078
|
-
expandable: expandable,
|
|
10079
|
-
rowHeight: rowHeight,
|
|
10080
|
-
onRowClick: onRowClick,
|
|
10081
12422
|
defaultActiveIndex: defaultActiveIndex,
|
|
10082
|
-
toggleDrawer: toggleDrawer
|
|
10083
|
-
onCheck: onCheck,
|
|
10084
|
-
checkedRows: checkedRows,
|
|
10085
|
-
setCheckedRows: setCheckedRows,
|
|
10086
|
-
uniqueKey: uniqueKey,
|
|
10087
|
-
checkAsRadio: checkAsRadio,
|
|
10088
|
-
disableCheck: disableCheck
|
|
10089
|
-
}, hideColumnLines !== undefined && {
|
|
10090
|
-
hideColumnLines: hideColumnLines
|
|
12423
|
+
toggleDrawer: toggleDrawer
|
|
10091
12424
|
}))]
|
|
10092
12425
|
});
|
|
10093
12426
|
});
|
|
@@ -10747,41 +13080,73 @@ var Tabs = function Tabs(props) {
|
|
|
10747
13080
|
});
|
|
10748
13081
|
};
|
|
10749
13082
|
|
|
10750
|
-
var css = ".
|
|
10751
|
-
var
|
|
13083
|
+
var css = ".InlineLoader_module_container__3c0b126e {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n font-family: inherit;\n color: inherit;\n}\n\n.InlineLoader_module_iconWrapper__3c0b126e {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n}\n\n.InlineLoader_module_spinner__3c0b126e {\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 2px solid rgba(0, 0, 0, 0.08); /* Faint placeholder track */\n border-top-color: #2563EB; /* Primary branding blue */\n animation: InlineLoader_module_rootsInlineSpin__3c0b126e 0.85s linear infinite;\n}\n\n@keyframes InlineLoader_module_rootsInlineSpin__3c0b126e {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.InlineLoader_module_successIcon__3c0b126e, .InlineLoader_module_errorIcon__3c0b126e {\n width: 16px;\n height: 16px;\n}\n\n.InlineLoader_module_text__3c0b126e {\n font-size: 14px;\n font-weight: 500;\n line-height: 1;\n}";
|
|
13084
|
+
var modules_2de83321 = {"container":"InlineLoader_module_container__3c0b126e","iconWrapper":"InlineLoader_module_iconWrapper__3c0b126e","spinner":"InlineLoader_module_spinner__3c0b126e","roots-inline-spin":"InlineLoader_module_rootsInlineSpin__3c0b126e","successIcon":"InlineLoader_module_successIcon__3c0b126e","errorIcon":"InlineLoader_module_errorIcon__3c0b126e","text":"InlineLoader_module_text__3c0b126e"};
|
|
10752
13085
|
n(css,{});
|
|
10753
13086
|
|
|
10754
|
-
var
|
|
10755
|
-
var
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
className:
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
13087
|
+
var SuccessIcon = function SuccessIcon(_ref) {
|
|
13088
|
+
var className = _ref.className;
|
|
13089
|
+
return jsxRuntime.jsxs("svg", {
|
|
13090
|
+
className: className,
|
|
13091
|
+
viewBox: '0 0 24 24',
|
|
13092
|
+
fill: 'none',
|
|
13093
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
13094
|
+
children: [jsxRuntime.jsx("circle", {
|
|
13095
|
+
cx: '12',
|
|
13096
|
+
cy: '12',
|
|
13097
|
+
r: '12',
|
|
13098
|
+
fill: '#10B981'
|
|
13099
|
+
}), jsxRuntime.jsx("path", {
|
|
13100
|
+
d: 'M7 13l3 3 7-7',
|
|
13101
|
+
stroke: '#ffffff',
|
|
13102
|
+
strokeWidth: '2.5',
|
|
13103
|
+
strokeLinecap: 'round',
|
|
13104
|
+
strokeLinejoin: 'round'
|
|
13105
|
+
})]
|
|
13106
|
+
});
|
|
13107
|
+
};
|
|
13108
|
+
var ErrorIcon = function ErrorIcon(_ref2) {
|
|
13109
|
+
var className = _ref2.className;
|
|
13110
|
+
return jsxRuntime.jsxs("svg", {
|
|
13111
|
+
className: className,
|
|
13112
|
+
viewBox: '0 0 24 24',
|
|
13113
|
+
fill: 'none',
|
|
13114
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
13115
|
+
children: [jsxRuntime.jsx("path", {
|
|
13116
|
+
d: 'M12 1L22 6.5V17.5L12 23L2 17.5V6.5L12 1Z',
|
|
13117
|
+
fill: '#DC2626'
|
|
13118
|
+
}), jsxRuntime.jsx("path", {
|
|
13119
|
+
d: 'M12 7V14M12 17V18',
|
|
13120
|
+
stroke: '#ffffff',
|
|
13121
|
+
strokeWidth: '2.5',
|
|
13122
|
+
strokeLinecap: 'round',
|
|
13123
|
+
strokeLinejoin: 'round'
|
|
13124
|
+
})]
|
|
13125
|
+
});
|
|
13126
|
+
};
|
|
13127
|
+
var InlineLoader = function InlineLoader(_ref3) {
|
|
13128
|
+
var status = _ref3.status,
|
|
13129
|
+
text = _ref3.text,
|
|
13130
|
+
_ref3$className = _ref3.className,
|
|
13131
|
+
className = _ref3$className === void 0 ? '' : _ref3$className;
|
|
13132
|
+
return jsxRuntime.jsxs("div", {
|
|
13133
|
+
className: classes(modules_2de83321.container, className),
|
|
13134
|
+
"data-testid": 'inline-loader',
|
|
13135
|
+
children: [jsxRuntime.jsxs("div", {
|
|
13136
|
+
className: modules_2de83321.iconWrapper,
|
|
13137
|
+
children: [status === 'loading' && jsxRuntime.jsx("div", {
|
|
13138
|
+
className: modules_2de83321.spinner
|
|
13139
|
+
}), status === 'success' && jsxRuntime.jsx(SuccessIcon, {
|
|
13140
|
+
className: modules_2de83321.successIcon
|
|
13141
|
+
}), status === 'error' && jsxRuntime.jsx(ErrorIcon, {
|
|
13142
|
+
className: modules_2de83321.errorIcon
|
|
13143
|
+
})]
|
|
13144
|
+
}), text && jsxRuntime.jsx(Text$1, {
|
|
13145
|
+
className: modules_2de83321.text,
|
|
13146
|
+
children: text
|
|
13147
|
+
})]
|
|
13148
|
+
});
|
|
13149
|
+
};
|
|
10785
13150
|
|
|
10786
13151
|
exports.Accordion = Accordion;
|
|
10787
13152
|
exports.Alert = Alert$1;
|
|
@@ -10793,12 +13158,17 @@ exports.BaseTableV2 = BaseTable;
|
|
|
10793
13158
|
exports.Button = Button$1;
|
|
10794
13159
|
exports.CheckIcon = CheckIcon;
|
|
10795
13160
|
exports.Checkbox = Checkbox$1;
|
|
13161
|
+
exports.ChevronDownIcon = ChevronDownIcon;
|
|
13162
|
+
exports.Dropdown = Dropdown$1;
|
|
10796
13163
|
exports.ErrorIcon = Error$1;
|
|
13164
|
+
exports.HelpIcon = Help;
|
|
10797
13165
|
exports.IndeterminateIcon = IndeterminateIcon;
|
|
13166
|
+
exports.InlineLoader = InlineLoader;
|
|
10798
13167
|
exports.Link = Link;
|
|
10799
13168
|
exports.NoDataPlaceHolder = General;
|
|
10800
13169
|
exports.Pagination = Pagination;
|
|
10801
13170
|
exports.PaginationList = PaginationList;
|
|
13171
|
+
exports.SearchIcon = Search;
|
|
10802
13172
|
exports.Skeleton = Skeleton;
|
|
10803
13173
|
exports.Step = Step;
|
|
10804
13174
|
exports.Stepper = Stepper;
|
|
@@ -10809,10 +13179,12 @@ exports.TableHeaderV2 = TableHeader;
|
|
|
10809
13179
|
exports.TableRow = TableRow;
|
|
10810
13180
|
exports.TableV2 = Table;
|
|
10811
13181
|
exports.Tabs = Tabs;
|
|
10812
|
-
exports.Text = Text;
|
|
13182
|
+
exports.Text = Text$1;
|
|
13183
|
+
exports.TextField = TextField$1;
|
|
10813
13184
|
exports.ThemedContainer = ThemedContainer;
|
|
10814
13185
|
exports.TickIcon = TickIcon;
|
|
10815
13186
|
exports.Toggle = Toggle;
|
|
13187
|
+
exports.Tooltip = Tooltip$1;
|
|
10816
13188
|
exports.WarningIcon = Warning;
|
|
10817
13189
|
exports.getPagination = getPagination;
|
|
10818
13190
|
exports.usePagination = usePagination;
|