@ssa-ui-kit/core 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Button/Button.d.ts +8 -8
- package/dist/components/Button/types.d.ts +12 -8
- package/dist/components/Chip/constants.d.ts +7 -0
- package/dist/components/Chip/helpers.d.ts +1 -1
- package/dist/components/Chip/styles.d.ts +4 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavBar.d.ts +1 -1
- package/dist/components/CollapsibleNavBar/types.d.ts +13 -0
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/types.d.ts +9 -0
- package/dist/components/Icon/icons/EmployeeBlackboard.d.ts +3 -0
- package/dist/components/Icon/icons/FileMark.d.ts +3 -0
- package/dist/components/Icon/icons/FilePdf.d.ts +3 -0
- package/dist/components/Icon/icons/FileWord.d.ts +3 -0
- package/dist/components/Icon/icons/all.d.ts +4 -0
- package/dist/components/Icon/icons/iconsList.d.ts +1 -1
- package/dist/components/MultipleDropdown/types.d.ts +9 -0
- package/dist/components/PersonInfo/PersonInfo.d.ts +78 -0
- package/dist/components/PersonInfo/PersonInfoAvatar.d.ts +6 -0
- package/dist/components/PersonInfo/PersonInfoBadges.d.ts +6 -0
- package/dist/components/PersonInfo/PersonInfoCounter.d.ts +6 -0
- package/dist/components/PersonInfo/PersonInfoIcon.d.ts +5 -0
- package/dist/components/PersonInfo/PersonInfoValue.d.ts +5 -0
- package/dist/components/PersonInfo/constants.d.ts +5 -0
- package/dist/components/PersonInfo/helpers.d.ts +5 -0
- package/dist/components/PersonInfo/index.d.ts +4 -0
- package/dist/components/PersonInfo/types.d.ts +54 -0
- package/dist/index.js +392 -55
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8626,6 +8626,14 @@ __webpack_require__.d(EmployeeTerminated_namespaceObject, {
|
|
|
8626
8626
|
ICON_NAME: () => (EmployeeTerminated_ICON_NAME)
|
|
8627
8627
|
});
|
|
8628
8628
|
|
|
8629
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/EmployeeBlackboard.tsx
|
|
8630
|
+
var EmployeeBlackboard_namespaceObject = {};
|
|
8631
|
+
__webpack_require__.r(EmployeeBlackboard_namespaceObject);
|
|
8632
|
+
__webpack_require__.d(EmployeeBlackboard_namespaceObject, {
|
|
8633
|
+
EmployeeBlackboard: () => (EmployeeBlackboard),
|
|
8634
|
+
ICON_NAME: () => (EmployeeBlackboard_ICON_NAME)
|
|
8635
|
+
});
|
|
8636
|
+
|
|
8629
8637
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/ExcelDownload.tsx
|
|
8630
8638
|
var ExcelDownload_namespaceObject = {};
|
|
8631
8639
|
__webpack_require__.r(ExcelDownload_namespaceObject);
|
|
@@ -8642,6 +8650,30 @@ __webpack_require__.d(Export_namespaceObject, {
|
|
|
8642
8650
|
ICON_NAME: () => (Export_ICON_NAME)
|
|
8643
8651
|
});
|
|
8644
8652
|
|
|
8653
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/FileMark.tsx
|
|
8654
|
+
var FileMark_namespaceObject = {};
|
|
8655
|
+
__webpack_require__.r(FileMark_namespaceObject);
|
|
8656
|
+
__webpack_require__.d(FileMark_namespaceObject, {
|
|
8657
|
+
FileMark: () => (FileMark),
|
|
8658
|
+
ICON_NAME: () => (FileMark_ICON_NAME)
|
|
8659
|
+
});
|
|
8660
|
+
|
|
8661
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/FilePdf.tsx
|
|
8662
|
+
var FilePdf_namespaceObject = {};
|
|
8663
|
+
__webpack_require__.r(FilePdf_namespaceObject);
|
|
8664
|
+
__webpack_require__.d(FilePdf_namespaceObject, {
|
|
8665
|
+
FilePdf: () => (FilePdf),
|
|
8666
|
+
ICON_NAME: () => (FilePdf_ICON_NAME)
|
|
8667
|
+
});
|
|
8668
|
+
|
|
8669
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/FileWord.tsx
|
|
8670
|
+
var FileWord_namespaceObject = {};
|
|
8671
|
+
__webpack_require__.r(FileWord_namespaceObject);
|
|
8672
|
+
__webpack_require__.d(FileWord_namespaceObject, {
|
|
8673
|
+
FileWord: () => (FileWord),
|
|
8674
|
+
ICON_NAME: () => (FileWord_ICON_NAME)
|
|
8675
|
+
});
|
|
8676
|
+
|
|
8645
8677
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/Filter.tsx
|
|
8646
8678
|
var Filter_namespaceObject = {};
|
|
8647
8679
|
__webpack_require__.r(Filter_namespaceObject);
|
|
@@ -9206,11 +9238,15 @@ __webpack_require__.d(all_namespaceObject, {
|
|
|
9206
9238
|
Education: () => (Education_namespaceObject),
|
|
9207
9239
|
Email: () => (Email_namespaceObject),
|
|
9208
9240
|
Employee: () => (Employee_namespaceObject),
|
|
9241
|
+
EmployeeBlackboard: () => (EmployeeBlackboard_namespaceObject),
|
|
9209
9242
|
EmployeeProfile: () => (EmployeeProfile_namespaceObject),
|
|
9210
9243
|
EmployeeTerminated: () => (EmployeeTerminated_namespaceObject),
|
|
9211
9244
|
ExcelDownload: () => (ExcelDownload_namespaceObject),
|
|
9212
9245
|
Export: () => (Export_namespaceObject),
|
|
9213
9246
|
FTE: () => (FTE_namespaceObject),
|
|
9247
|
+
FileMark: () => (FileMark_namespaceObject),
|
|
9248
|
+
FilePdf: () => (FilePdf_namespaceObject),
|
|
9249
|
+
FileWord: () => (FileWord_namespaceObject),
|
|
9214
9250
|
Filter: () => (Filter_namespaceObject),
|
|
9215
9251
|
FilterFunnel: () => (FilterFunnel_namespaceObject),
|
|
9216
9252
|
FollowLink: () => (FollowLink_namespaceObject),
|
|
@@ -9822,7 +9858,6 @@ const DisabledButtonText = ({
|
|
|
9822
9858
|
;// ./src/components/Button/styles.ts
|
|
9823
9859
|
function styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
9824
9860
|
|
|
9825
|
-
|
|
9826
9861
|
const buttonBlock = true ? {
|
|
9827
9862
|
name: "3s76dy",
|
|
9828
9863
|
styles: "display:grid;span{display:inline-block;margin:auto;}"
|
|
@@ -9857,10 +9892,18 @@ const makeSolidVariant = (theme, key, extra) => {
|
|
|
9857
9892
|
} = theme.palette[key];
|
|
9858
9893
|
return /*#__PURE__*/(0,react_namespaceObject.css)("color:", theme.colors.white, ";background:", main, ";&:hover{background:", dark, ";}&:active{background:", dark, ";}&:disabled{background:", theme.colors.grey, ";}&:focus{background:", light, ";}", extra, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
9859
9894
|
};
|
|
9895
|
+
|
|
9896
|
+
/** Transparent variant (no focus outline). Shared by custom (recommended) and tertiary (legacy). */
|
|
9897
|
+
var _ref = true ? {
|
|
9898
|
+
name: "1qsuvl4",
|
|
9899
|
+
styles: "background:transparent"
|
|
9900
|
+
} : 0;
|
|
9901
|
+
const transparentVariant = () => _ref;
|
|
9860
9902
|
const variantStyles = {
|
|
9903
|
+
custom: transparentVariant,
|
|
9861
9904
|
primary: theme => makeSolidVariant(theme, 'primary'),
|
|
9862
9905
|
secondary: theme => makeSolidVariant(theme, 'secondary', /*#__PURE__*/(0,react_namespaceObject.css)("color:", theme.colors.greyDarker, ";" + ( true ? "" : 0), true ? "" : 0)),
|
|
9863
|
-
tertiary:
|
|
9906
|
+
tertiary: transparentVariant,
|
|
9864
9907
|
error: theme => makeSolidVariant(theme, 'error'),
|
|
9865
9908
|
warning: theme => makeSolidVariant(theme, 'warning'),
|
|
9866
9909
|
success: theme => makeSolidVariant(theme, 'success')
|
|
@@ -9878,16 +9921,16 @@ const WHITE_TEXT_VARIANTS = new Set(['primary', 'error', 'warning', 'success']);
|
|
|
9878
9921
|
/**
|
|
9879
9922
|
* Button - Interactive button component for user actions.
|
|
9880
9923
|
*
|
|
9881
|
-
* Variant colors are driven entirely by `theme.palette` — each
|
|
9882
|
-
* `palette.<variant>.main`
|
|
9883
|
-
*
|
|
9884
|
-
*
|
|
9885
|
-
* affecting other components.
|
|
9924
|
+
* Variant colors are driven entirely by `theme.palette` for solid variants — each
|
|
9925
|
+
* reads `palette.<variant>.main` (default), `palette.<variant>.dark` (hover/active),
|
|
9926
|
+
* `palette.<variant>.light` (focus). Override any palette entry in a custom theme
|
|
9927
|
+
* to restyle a variant without affecting other components.
|
|
9886
9928
|
*
|
|
9887
|
-
* ### Variants (default: `
|
|
9929
|
+
* ### Variants (default: `custom`)
|
|
9930
|
+
* - `custom` — transparent, dark text; recommended for low-emphasis actions (default)
|
|
9888
9931
|
* - `primary` — blue, high emphasis, white text
|
|
9889
9932
|
* - `secondary` — grey, medium emphasis, dark text
|
|
9890
|
-
* - `tertiary` —
|
|
9933
|
+
* - `tertiary` — legacy; same as custom; prefer `custom` instead
|
|
9891
9934
|
* - `error` — red, destructive actions, white text
|
|
9892
9935
|
* - `warning` — orange, caution actions, white text
|
|
9893
9936
|
* - `success` — green, confirmation actions, white text
|
|
@@ -9897,7 +9940,7 @@ const WHITE_TEXT_VARIANTS = new Set(['primary', 'error', 'warning', 'success']);
|
|
|
9897
9940
|
*
|
|
9898
9941
|
* @example
|
|
9899
9942
|
* ```tsx
|
|
9900
|
-
* // No variant passed →
|
|
9943
|
+
* // No variant passed → custom (transparent, recommended)
|
|
9901
9944
|
* <Button text="Cancel" onClick={handleCancel} />
|
|
9902
9945
|
* ```
|
|
9903
9946
|
*
|
|
@@ -9944,7 +9987,7 @@ const Button = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(functi
|
|
|
9944
9987
|
endIcon,
|
|
9945
9988
|
startIconClassName,
|
|
9946
9989
|
endIconClassName,
|
|
9947
|
-
variant = '
|
|
9990
|
+
variant = 'custom',
|
|
9948
9991
|
type = 'button',
|
|
9949
9992
|
className,
|
|
9950
9993
|
isDisabled,
|
|
@@ -9956,7 +9999,7 @@ const Button = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(functi
|
|
|
9956
9999
|
throw new Error('Button must have either text or icon or children');
|
|
9957
10000
|
}
|
|
9958
10001
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
9959
|
-
const appliedVariantStyle = (variantStyles[variant] ?? variantStyles.
|
|
10002
|
+
const appliedVariantStyle = (variantStyles[variant] ?? variantStyles.custom)(theme);
|
|
9960
10003
|
const resolveTextNode = () => {
|
|
9961
10004
|
if (!text) return null;
|
|
9962
10005
|
if (isDisabled) return (0,jsx_runtime_namespaceObject.jsx)(DisabledButtonText, {
|
|
@@ -11704,6 +11747,36 @@ const EmployeeTerminated = ({
|
|
|
11704
11747
|
})]
|
|
11705
11748
|
});
|
|
11706
11749
|
const EmployeeTerminated_ICON_NAME = 'employee-terminated';
|
|
11750
|
+
;// ./src/components/Icon/icons/EmployeeBlackboard.tsx
|
|
11751
|
+
|
|
11752
|
+
const EmployeeBlackboard = ({
|
|
11753
|
+
fill = '#000',
|
|
11754
|
+
size = 24,
|
|
11755
|
+
tooltip = 'Employee Blackboard',
|
|
11756
|
+
...props
|
|
11757
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11758
|
+
width: `${size}px`,
|
|
11759
|
+
height: `${size}px`,
|
|
11760
|
+
viewBox: "0 0 24 24",
|
|
11761
|
+
fill: "none",
|
|
11762
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11763
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11764
|
+
...props,
|
|
11765
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11766
|
+
children: tooltip
|
|
11767
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11768
|
+
d: "M10.2822 8.90039C10.3979 8.90514 10.5142 8.93391 10.624 8.9873L11.0967 9.21777L11.3809 9.3457C12.0531 9.6267 12.7833 9.77441 13.5088 9.77441H14.2842C14.5949 9.77441 14.8446 10.0242 14.8447 10.335C14.8447 10.6437 14.5952 10.8965 14.2842 10.8965H13.5088C12.6838 10.8965 11.8574 10.7299 11.0889 10.4287L11.0859 10.4277L10.3086 10.0957L10.1445 10.3848L10.1416 10.3906L10.1406 10.3896L9.97559 10.6426C9.86672 10.8058 9.68892 10.8965 9.50488 10.8965C9.39925 10.8964 9.29148 10.8653 9.19727 10.8018C8.94025 10.631 8.86746 10.2849 9.03809 10.0264L9.52441 9.28809L9.58398 9.20801C9.73285 9.03033 9.94446 8.92314 10.167 8.90332L10.2822 8.90039Z",
|
|
11769
|
+
fill: fill,
|
|
11770
|
+
fillOpacity: 0.8
|
|
11771
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11772
|
+
fillRule: "evenodd",
|
|
11773
|
+
clipRule: "evenodd",
|
|
11774
|
+
d: "M21.6191 2.01074C21.8787 2.06237 22.067 2.28607 22.0674 2.56348V4.26758C22.0673 4.53016 21.8816 4.7655 21.6201 4.82031L21.5039 4.83203H21.3594V18.2197H21.4756C21.7929 18.2197 22.0396 18.467 22.04 18.7842L22.0293 18.9004C21.9776 19.1603 21.7534 19.3496 21.4756 19.3496H20.3564C20.3873 19.5047 20.4033 19.6645 20.4033 19.8271V20.9629L20.3535 21.8848L20.3477 21.9785H4.58594C4.05835 21.9785 3.62188 21.5756 3.56934 21.0615L3.56445 20.957V19.8271C3.56445 19.6644 3.58131 19.5047 3.6123 19.3496H2.49219C2.17482 19.3495 1.927 19.1025 1.92676 18.7852L1.93848 18.6689C1.99033 18.4092 2.21454 18.2198 2.49219 18.2197H2.6084V4.83203H2.46387C2.14318 4.8316 1.90054 4.56756 1.90039 4.26758V2.56348C1.90079 2.24652 2.14691 2.0004 2.46387 2H21.5039L21.6191 2.01074ZM5.39746 18.6777C4.95809 18.8966 4.68555 19.3377 4.68555 19.8271V20.8574H10.1162L10.6514 18.1748C10.0393 17.8934 9.48954 17.4319 9.02539 16.874L5.39746 18.6777ZM11.2598 20.8574H12.6582L12.2363 18.7529H11.6807L11.2598 20.8574ZM14.9072 16.8545C14.439 17.4227 13.8823 17.8891 13.2646 18.1738L13.8018 20.8574H19.2822V19.8271C19.2822 19.3987 19.0739 19.0072 18.7285 18.7695L18.5723 18.6777L14.9072 16.8545ZM3.7373 18.2197H4.18066C4.37949 17.9994 4.62011 17.8129 4.89746 17.6748L8.37793 15.9443C8.14616 15.5415 7.95216 15.1164 7.80273 14.6875C7.44627 14.5026 7.14299 14.1109 6.95996 13.5996L6.88672 13.3652C6.75799 12.8836 6.75666 12.4305 6.87012 12.0723C6.9803 11.7247 7.20223 11.4607 7.52441 11.3613C7.52419 11.3584 7.52475 11.3546 7.52441 11.3506C7.52291 11.3338 7.52045 11.3118 7.51758 11.2871L7.49805 11.125V11.1221C7.45275 10.767 7.37609 10.1701 7.45801 9.36719C7.52666 8.67435 7.79297 8.09881 8.20215 7.69336L8.21094 7.68457L8.22266 7.67773L9.14355 7.14746L9.15527 7.14062L9.16699 7.1377C9.32222 7.09536 9.48498 7.06263 9.6582 7.0498C10.3248 6.6284 11.2946 6.43751 11.959 6.4375H12.2607C13.4668 6.4375 14.5128 6.78921 15.3223 7.44043C16.0811 8.051 16.6272 8.92024 16.9043 9.99707L16.9561 10.2148L16.9668 10.292C16.98 10.4705 16.9077 10.6473 16.7686 10.7656L16.7676 10.7666C16.6277 10.8834 16.4416 10.9222 16.2676 10.877C16.319 11.0459 16.36 11.2024 16.3877 11.3594C16.7128 11.4575 16.9371 11.7227 17.0479 12.0723C17.1472 12.3858 17.1583 12.7722 17.0732 13.1865L17.0303 13.3652C16.8622 13.989 16.5259 14.475 16.1152 14.6875C15.9677 15.1094 15.7751 15.5265 15.5469 15.9238L19.0723 17.6748L19.2227 17.7559C19.4381 17.8825 19.6281 18.0398 19.79 18.2197H20.2305V4.83203H3.7373V18.2197ZM11.959 7.55859C11.6466 7.5586 11.2917 7.61345 10.9678 7.7041C10.7235 7.77248 10.5015 7.86025 10.3301 7.95605L10.1768 8.05371C10.0803 8.12587 9.96224 8.16504 9.8418 8.16504C9.47358 8.16505 9.18124 8.28515 8.96973 8.50293C8.78347 8.6948 8.65256 8.96997 8.59375 9.32422L8.57324 9.48145C8.52371 9.98114 8.54491 10.3806 8.57617 10.6895L8.6084 10.9688L8.61035 10.9844L8.64453 11.291C8.65022 11.3852 8.64887 11.4731 8.63379 11.5586C8.60934 11.7019 8.59294 11.8472 8.58594 11.9941C8.57489 12.1947 8.45941 12.3749 8.28223 12.4668L8.28125 12.4678C8.16757 12.5253 8.0402 12.5409 7.91895 12.5176C7.90353 12.6427 7.90589 12.8338 7.9707 13.0762L8.01758 13.2256C8.06756 13.3642 8.12587 13.4705 8.17871 13.5469C8.21398 13.5979 8.24693 13.6355 8.27246 13.6602C8.28649 13.6736 8.29685 13.6813 8.30273 13.6855C8.54297 13.6974 8.7202 13.8574 8.78613 14.082C9.02354 14.8799 9.46425 15.7026 10.0254 16.3242C10.5879 16.9473 11.2599 17.3564 11.959 17.3564C12.658 17.3563 13.3301 16.9472 13.8926 16.3242C14.4537 15.7025 14.8945 14.8789 15.1318 14.0811C15.198 13.8568 15.3938 13.6959 15.6309 13.6826C15.6365 13.6772 15.6443 13.6708 15.6523 13.6621C15.6756 13.6369 15.7072 13.5991 15.7412 13.5479C15.8092 13.4454 15.8889 13.29 15.9463 13.0762L15.9922 12.8506C16.0114 12.7089 16.0077 12.5936 15.9971 12.5098C15.8807 12.5286 15.7565 12.5154 15.6484 12.458C15.4998 12.382 15.3764 12.2429 15.3418 12.0703L15.333 11.9941C15.3186 11.6971 15.2808 11.4666 15.1875 11.165L15.0742 10.834C14.9799 10.5787 14.9782 10.3702 15.0225 10.2061C15.0555 10.0838 15.1134 9.99059 15.1699 9.92285L15.2246 9.86328C15.3371 9.75408 15.4715 9.69265 15.6104 9.66211C15.0415 8.31635 13.8638 7.55859 12.2607 7.55859H11.959ZM3.02832 3.7041H20.9395V3.12793H3.02832V3.7041Z",
|
|
11775
|
+
fill: fill,
|
|
11776
|
+
fillOpacity: 0.8
|
|
11777
|
+
})]
|
|
11778
|
+
});
|
|
11779
|
+
const EmployeeBlackboard_ICON_NAME = 'employee-blackboard';
|
|
11707
11780
|
;// ./src/components/Icon/icons/ExcelDownload.tsx
|
|
11708
11781
|
|
|
11709
11782
|
const ExcelDownload = ({
|
|
@@ -11761,6 +11834,96 @@ const Export = ({
|
|
|
11761
11834
|
})]
|
|
11762
11835
|
});
|
|
11763
11836
|
const Export_ICON_NAME = 'export';
|
|
11837
|
+
;// ./src/components/Icon/icons/FileMark.tsx
|
|
11838
|
+
|
|
11839
|
+
const FileMark = ({
|
|
11840
|
+
fill = '#000',
|
|
11841
|
+
size = 24,
|
|
11842
|
+
tooltip = 'File Mark',
|
|
11843
|
+
...props
|
|
11844
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11845
|
+
width: `${size}px`,
|
|
11846
|
+
height: `${size}px`,
|
|
11847
|
+
viewBox: "0 0 24 24",
|
|
11848
|
+
fill: "none",
|
|
11849
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11850
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11851
|
+
...props,
|
|
11852
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11853
|
+
children: tooltip
|
|
11854
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11855
|
+
fillRule: "evenodd",
|
|
11856
|
+
clipRule: "evenodd",
|
|
11857
|
+
d: "M3.38 3.76527C3.38 2.24438 4.62439 1 6.14528 1H13.4544C14.0468 1 14.6153 1.23511 15.034 1.65455L20.411 7.03154C20.5005 7.12109 20.5614 7.23517 20.5861 7.35933C20.5905 7.38135 20.5968 7.4886 20.5988 7.51082L20.5988 7.42574L20.5986 20.2347C20.5986 21.7556 19.3542 23 17.8333 23H6.14528C4.62439 23 3.38 21.7556 3.38 20.2347V3.76527ZM3.38 3.76527L3.48892 3.80224V3.80521L3.38 3.76527ZM19.3182 10.0396L19.3137 8.12437H15.7082C15.0557 8.12437 14.4656 7.83997 14.056 7.38915C13.695 6.99188 13.4742 6.46537 13.4742 5.89036V2.29572L13.4654 2.29032L13.4621 2.28828C13.4551 2.28395 13.4507 2.28159 13.4483 2.28037H6.14528C5.31901 2.28037 4.66037 2.939 4.66037 3.76527V20.2347C4.66037 21.061 5.31901 21.7196 6.14528 21.7196H17.8333C18.6595 21.7196 19.3182 21.061 19.3182 20.2347V10.0396ZM14.7546 3.18564V5.89036C14.7546 6.42347 15.1751 6.844 15.7082 6.844H18.4129L14.7546 3.18564Z",
|
|
11858
|
+
fill: fill
|
|
11859
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11860
|
+
d: "M10.46 10.1406C10.5916 10.1409 10.7076 10.2267 10.7461 10.3525L12.5 16.0928C12.5586 16.2853 12.415 16.48 12.2139 16.4805H11.4375C11.306 16.4805 11.1893 16.3941 11.1504 16.2686L10.8213 15.2012H8.65724L8.33303 16.2676C8.29459 16.3938 8.17784 16.4804 8.04592 16.4805H7.27053C7.06903 16.4805 6.92474 16.2855 6.98342 16.0928L8.73732 10.3525C8.77587 10.2264 8.89251 10.1406 9.02443 10.1406H10.46ZM15.333 11.292C15.4986 11.2921 15.6338 11.4262 15.6338 11.5918V12.7588H16.7998C16.9654 12.7589 17.1006 12.893 17.1006 13.0586V13.5537C17.1005 13.7192 16.9653 13.8534 16.7998 13.8535H15.6338V15.0293C15.6336 15.1947 15.4985 15.329 15.333 15.3291H14.8379C14.6724 15.3291 14.5383 15.1948 14.5381 15.0293V13.8535H13.3623C13.1969 13.8533 13.0627 13.7192 13.0625 13.5537V13.0586C13.0625 12.893 13.1968 12.759 13.3623 12.7588H14.5381V11.5918C14.5381 11.4261 14.6723 11.292 14.8379 11.292H15.333ZM9.04689 13.918H10.4248L9.73049 11.668L9.04689 13.918Z",
|
|
11861
|
+
fill: fill
|
|
11862
|
+
})]
|
|
11863
|
+
});
|
|
11864
|
+
const FileMark_ICON_NAME = 'file-mark';
|
|
11865
|
+
;// ./src/components/Icon/icons/FilePdf.tsx
|
|
11866
|
+
|
|
11867
|
+
const FilePdf = ({
|
|
11868
|
+
fill = '#000',
|
|
11869
|
+
size = 24,
|
|
11870
|
+
tooltip = 'File PDF',
|
|
11871
|
+
...props
|
|
11872
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11873
|
+
width: `${size}px`,
|
|
11874
|
+
height: `${size}px`,
|
|
11875
|
+
viewBox: "0 0 24 24",
|
|
11876
|
+
fill: "none",
|
|
11877
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11878
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11879
|
+
...props,
|
|
11880
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11881
|
+
children: tooltip
|
|
11882
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11883
|
+
fillRule: "evenodd",
|
|
11884
|
+
clipRule: "evenodd",
|
|
11885
|
+
d: "M11.8027 9.19922C12.0039 9.11876 12.2223 9.07277 12.4346 9.11816C12.6667 9.16783 12.835 9.31367 12.9355 9.50098C13.0281 9.67355 13.0612 9.87464 13.0684 10.0664C13.0757 10.263 13.056 10.4817 13.0186 10.7109C12.931 11.2463 12.7349 11.9028 12.4727 12.5957C12.6281 12.9292 12.8072 13.2667 13.001 13.5938C13.1619 13.8653 13.3301 14.1252 13.501 14.3652C14.0207 14.3324 14.5042 14.3462 14.9033 14.418C15.2852 14.4867 15.674 14.6225 15.9111 14.9053C16.0381 15.0567 16.1135 15.242 16.1211 15.4502C16.1284 15.6516 16.0716 15.851 15.9766 16.041C15.888 16.2181 15.7667 16.3713 15.6045 16.4775C15.4386 16.5861 15.2539 16.6295 15.0693 16.6221C14.7215 16.6081 14.3824 16.4164 14.0889 16.1846C13.7733 15.9354 13.4474 15.5889 13.1328 15.1875C12.7965 15.224 12.4422 15.2795 12.083 15.3525C11.7277 15.4248 11.3744 15.5126 11.0361 15.6133C10.6813 16.2256 10.3132 16.7781 9.96387 17.1992C9.6587 17.5671 9.32536 17.8877 8.99121 18.0254C8.81457 18.0981 8.59975 18.1348 8.38281 18.0557C8.16425 17.9759 8.01672 17.8049 7.92188 17.6152C7.71799 17.2071 7.7858 16.7997 8.00684 16.457C8.21456 16.1351 8.55928 15.8616 8.94824 15.6318C9.38615 15.3732 9.92557 15.144 10.5049 14.9541C10.7223 14.5639 10.9347 14.149 11.1338 13.7275C11.3104 13.3535 11.474 12.9789 11.6191 12.6162C11.418 12.1466 11.261 11.6822 11.1689 11.2568C11.078 10.8365 11.0432 10.4202 11.1191 10.0635C11.1983 9.69212 11.4069 9.35773 11.8027 9.19922ZM9.83008 16.0596C9.65636 16.1397 9.49471 16.2233 9.34863 16.3096C9.00455 16.5128 8.7805 16.7111 8.66895 16.8838C8.57089 17.0358 8.56862 17.147 8.62695 17.2637C8.63817 17.2861 8.6475 17.3005 8.6543 17.3096C8.66298 17.3074 8.67516 17.3036 8.69141 17.2969C8.83499 17.2377 9.06394 17.05 9.35742 16.6963C9.50981 16.5126 9.66886 16.2976 9.83008 16.0596ZM14.1211 15.1367C14.278 15.3064 14.4316 15.4514 14.5771 15.5664C14.8295 15.7657 15.0049 15.831 15.1006 15.835C15.1375 15.8364 15.1574 15.8294 15.1729 15.8193C15.1918 15.807 15.2299 15.7736 15.2725 15.6885C15.3271 15.5792 15.3352 15.5118 15.334 15.4785C15.333 15.4523 15.3264 15.4335 15.3076 15.4111C15.2531 15.3463 15.0963 15.2522 14.7637 15.1924C14.5768 15.1588 14.3601 15.1408 14.1211 15.1367ZM11.8457 14.0635C11.7511 14.2639 11.6535 14.4644 11.5527 14.6621C11.6771 14.6331 11.8016 14.6063 11.9258 14.5811C12.1544 14.5346 12.3851 14.4935 12.6133 14.46C12.5137 14.308 12.4166 14.1526 12.3232 13.9951C12.2386 13.8523 12.1557 13.7069 12.0762 13.5596C12.0018 13.728 11.9247 13.8963 11.8457 14.0635ZM12.248 9.88867C12.2227 9.8907 12.174 9.8984 12.0957 9.92969C12.0044 9.96622 11.9294 10.0412 11.8896 10.2275C11.8468 10.4285 11.8583 10.7192 11.9385 11.0898C11.9637 11.2066 11.9944 11.3282 12.0312 11.4531C12.1277 11.1333 12.1994 10.8395 12.2412 10.584C12.2735 10.3866 12.286 10.2231 12.2812 10.0957C12.2771 9.98485 12.2609 9.9207 12.248 9.88867Z",
|
|
11886
|
+
fill: fill,
|
|
11887
|
+
fillOpacity: 0.8
|
|
11888
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11889
|
+
fillRule: "evenodd",
|
|
11890
|
+
clipRule: "evenodd",
|
|
11891
|
+
d: "M13.3584 2C13.8967 2.00003 14.4134 2.21365 14.7939 2.59473L19.6826 7.4834C19.7639 7.56477 19.8194 7.66846 19.8418 7.78125C19.8458 7.80144 19.8517 7.89877 19.8535 7.91895L19.8525 19.4863C19.8524 20.8689 18.7214 22 17.3389 22H6.71387C5.33131 22 4.19934 20.8689 4.19922 19.4863V4.51367C4.19934 3.13114 5.33131 2 6.71387 2H13.3584ZM6.71387 3.16406C5.96278 3.16406 5.36339 3.76262 5.36328 4.51367V19.4863C5.36339 20.2374 5.96278 20.8359 6.71387 20.8359H17.3389C18.0899 20.8359 18.6884 20.2374 18.6885 19.4863V10.2178L18.6846 8.47656H15.4072C14.8141 8.47656 14.2776 8.21831 13.9053 7.80859C13.5771 7.44744 13.376 6.96805 13.376 6.44531V3.17773L13.3682 3.17285L13.3652 3.1709C13.3589 3.16702 13.3547 3.16516 13.3525 3.16406H6.71387ZM14.54 6.44531C14.54 6.92995 14.9226 7.3125 15.4072 7.3125H17.8662L14.54 3.9873V6.44531ZM4.29883 4.5498V4.54785L4.19922 4.51367L4.29883 4.5498Z",
|
|
11892
|
+
fill: fill,
|
|
11893
|
+
fillOpacity: 0.8
|
|
11894
|
+
})]
|
|
11895
|
+
});
|
|
11896
|
+
const FilePdf_ICON_NAME = 'file-pdf';
|
|
11897
|
+
;// ./src/components/Icon/icons/FileWord.tsx
|
|
11898
|
+
|
|
11899
|
+
const FileWord = ({
|
|
11900
|
+
fill = '#000',
|
|
11901
|
+
size = 24,
|
|
11902
|
+
tooltip = 'File Word',
|
|
11903
|
+
...props
|
|
11904
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11905
|
+
width: `${size}px`,
|
|
11906
|
+
height: `${size}px`,
|
|
11907
|
+
viewBox: "0 0 24 24",
|
|
11908
|
+
fill: "none",
|
|
11909
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11910
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11911
|
+
...props,
|
|
11912
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11913
|
+
children: tooltip
|
|
11914
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11915
|
+
d: "M15.5674 10.0176C15.8733 10.0942 16.0597 10.404 15.9834 10.71L14.2686 17.5674C14.2055 17.8193 13.9804 17.9971 13.7207 18C13.4608 18.0028 13.2315 17.8298 13.1631 17.5791L12 13.3145L10.8369 17.5791C10.7685 17.8298 10.5392 18.0028 10.2793 18C10.0196 17.997 9.79452 17.8193 9.73145 17.5674L8.01758 10.71C7.94113 10.404 8.12673 10.0943 8.43262 10.0176C8.73868 9.94106 9.0493 10.1266 9.12598 10.4326L10.3096 15.1689L11.4492 10.9922C11.5172 10.7439 11.7425 10.5713 12 10.5713C12.2576 10.5713 12.4839 10.7437 12.5518 10.9922L13.6904 15.1689L14.874 10.4326C14.9507 10.1266 15.2613 9.94106 15.5674 10.0176Z",
|
|
11916
|
+
fill: fill,
|
|
11917
|
+
fillOpacity: 0.8
|
|
11918
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11919
|
+
fillRule: "evenodd",
|
|
11920
|
+
clipRule: "evenodd",
|
|
11921
|
+
d: "M13.3584 2C13.8967 2.00003 14.4134 2.21365 14.7939 2.59473L19.6826 7.4834C19.7639 7.56477 19.8194 7.66846 19.8418 7.78125C19.8458 7.80144 19.8517 7.89877 19.8535 7.91895L19.8525 19.4863C19.8524 20.8689 18.7214 22 17.3389 22H6.71387C5.33131 22 4.19934 20.8689 4.19922 19.4863V4.51367C4.19934 3.13114 5.33131 2 6.71387 2H13.3584ZM6.71387 3.16406C5.96278 3.16406 5.36339 3.76262 5.36328 4.51367V19.4863C5.36339 20.2374 5.96278 20.8359 6.71387 20.8359H17.3389C18.0899 20.8359 18.6884 20.2374 18.6885 19.4863V10.2178L18.6846 8.47656H15.4072C14.8141 8.47656 14.2776 8.21831 13.9053 7.80859C13.5771 7.44744 13.376 6.96805 13.376 6.44531V3.17773L13.3682 3.17285L13.3652 3.1709C13.3589 3.16702 13.3547 3.16516 13.3525 3.16406H6.71387ZM14.54 6.44531C14.54 6.92995 14.9226 7.3125 15.4072 7.3125H17.8662L14.54 3.9873V6.44531ZM4.29883 4.5498V4.54785L4.19922 4.51367L4.29883 4.5498Z",
|
|
11922
|
+
fill: fill,
|
|
11923
|
+
fillOpacity: 0.8
|
|
11924
|
+
})]
|
|
11925
|
+
});
|
|
11926
|
+
const FileWord_ICON_NAME = 'file-word';
|
|
11764
11927
|
;// ./src/components/Icon/icons/Filter.tsx
|
|
11765
11928
|
|
|
11766
11929
|
const Filter = ({
|
|
@@ -13596,25 +13759,17 @@ const Visible = ({
|
|
|
13596
13759
|
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
13597
13760
|
width: `${size}px`,
|
|
13598
13761
|
height: `${size}px`,
|
|
13599
|
-
fill: "none",
|
|
13600
13762
|
viewBox: "0 0 24 24",
|
|
13763
|
+
fill: "none",
|
|
13601
13764
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13602
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
13603
13765
|
...props,
|
|
13604
13766
|
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
13605
13767
|
children: tooltip
|
|
13606
13768
|
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
13607
|
-
|
|
13608
|
-
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
strokeLinejoin: "round"
|
|
13612
|
-
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
13613
|
-
d: "M11.9998 20.27C15.5298 20.27 18.8198 18.19 21.1098 14.59C22.0098 13.18 22.0098 10.81 21.1098 9.39997C18.8198 5.79997 15.5298 3.71997 11.9998 3.71997C8.46984 3.71997 5.17984 5.79997 2.88984 9.39997C1.98984 10.81 1.98984 13.18 2.88984 14.59C5.17984 18.19 8.46984 20.27 11.9998 20.27Z",
|
|
13614
|
-
stroke: fill,
|
|
13615
|
-
strokeWidth: "1.4",
|
|
13616
|
-
strokeLinecap: "round",
|
|
13617
|
-
strokeLinejoin: "round"
|
|
13769
|
+
fillRule: "evenodd",
|
|
13770
|
+
clipRule: "evenodd",
|
|
13771
|
+
d: "M11.9998 3.01996C8.17307 3.01996 4.6837 5.27599 2.29951 9.02379C1.76066 9.86824 1.51485 10.9529 1.51485 11.995C1.51485 13.0369 1.76057 14.1213 2.29922 14.9657C4.68341 18.7137 8.17291 20.97 11.9998 20.97C15.8266 20.97 19.316 18.7139 21.7002 14.9661C22.239 14.1217 22.4848 13.0371 22.4848 11.995C22.4848 10.953 22.2391 9.86864 21.7005 9.02425C19.3163 5.27617 15.8268 3.01996 11.9998 3.01996ZM3.48048 9.77566C5.67628 6.32375 8.76678 4.41996 11.9998 4.41996C15.2329 4.41996 18.3234 6.32375 20.5192 9.77566L20.5198 9.77658C20.8807 10.3421 21.0848 11.1473 21.0848 11.995C21.0848 12.8427 20.8807 13.6479 20.5198 14.2133L20.5192 14.2143C18.3234 17.6662 15.2329 19.57 11.9998 19.57C8.76678 19.57 5.67628 17.6662 3.48048 14.2143L3.47989 14.2133C3.11895 13.6479 2.91485 12.8427 2.91485 11.995C2.91485 11.1473 3.11895 10.3421 3.47989 9.77658L3.48048 9.77566ZM9.11992 11.9999C9.11992 10.4065 10.4065 9.11991 11.9999 9.11991C13.5933 9.11991 14.8799 10.4065 14.8799 11.9999C14.8799 13.5933 13.5933 14.8799 11.9999 14.8799C10.4065 14.8799 9.11992 13.5933 9.11992 11.9999ZM11.9999 7.71991C9.63333 7.71991 7.71992 9.63331 7.71992 11.9999C7.71992 14.3665 9.63333 16.2799 11.9999 16.2799C14.3665 16.2799 16.2799 14.3665 16.2799 11.9999C16.2799 9.63331 14.3665 7.71991 11.9999 7.71991Z",
|
|
13772
|
+
fill: fill
|
|
13618
13773
|
})]
|
|
13619
13774
|
});
|
|
13620
13775
|
const Visible_ICON_NAME = 'visible';
|
|
@@ -13869,6 +14024,14 @@ const Warning_ICON_NAME = 'warning';
|
|
|
13869
14024
|
|
|
13870
14025
|
|
|
13871
14026
|
|
|
14027
|
+
|
|
14028
|
+
|
|
14029
|
+
|
|
14030
|
+
|
|
14031
|
+
|
|
14032
|
+
|
|
14033
|
+
|
|
14034
|
+
|
|
13872
14035
|
|
|
13873
14036
|
|
|
13874
14037
|
|
|
@@ -14739,11 +14902,11 @@ const success = theme => /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
|
14739
14902
|
stroke: theme.palette.success.main
|
|
14740
14903
|
}
|
|
14741
14904
|
}, true ? "" : 0, true ? "" : 0);
|
|
14742
|
-
var
|
|
14905
|
+
var styles_ref = true ? {
|
|
14743
14906
|
name: "0",
|
|
14744
14907
|
styles: ""
|
|
14745
14908
|
} : 0;
|
|
14746
|
-
const custom = () =>
|
|
14909
|
+
const custom = () => styles_ref;
|
|
14747
14910
|
const inputStatus = true ? {
|
|
14748
14911
|
name: "1g5wypb",
|
|
14749
14912
|
styles: "position:absolute;top:34%;right:14px;display:flex;justify-content:center;align-items:center;border-radius:10px;width:14px;height:14px"
|
|
@@ -16833,7 +16996,8 @@ const DropdownContext = /*#__PURE__*/external_react_namespaceObject.createContex
|
|
|
16833
16996
|
activeItem: null,
|
|
16834
16997
|
onChange: () => {
|
|
16835
16998
|
/* noop */
|
|
16836
|
-
}
|
|
16999
|
+
},
|
|
17000
|
+
maxHeight: 200
|
|
16837
17001
|
});
|
|
16838
17002
|
function useDropdownContext() {
|
|
16839
17003
|
return external_react_namespaceObject.useContext(DropdownContext);
|
|
@@ -16876,7 +17040,9 @@ const DropdownOptionsBase = /*#__PURE__*/base_default()("ul", true ? {
|
|
|
16876
17040
|
target: "e1qg2z4z0"
|
|
16877
17041
|
} : 0)("position:absolute;width:100%;min-width:max-content;list-style:none;margin:4px 0 0;padding:0;background:", ({
|
|
16878
17042
|
theme
|
|
16879
|
-
}) => theme.colors.white, ";border-radius:8px;max-height:
|
|
17043
|
+
}) => theme.colors.white, ";border-radius:8px;max-height:", ({
|
|
17044
|
+
maxHeight = 200
|
|
17045
|
+
}) => maxHeight, "px;overflow:hidden auto;z-index:2;filter:", ({
|
|
16880
17046
|
theme
|
|
16881
17047
|
}) => `drop-shadow(-4px 4px 14px ${theme.colors.greyDarker14})`, ";backdrop-filter:", ({
|
|
16882
17048
|
theme
|
|
@@ -16932,7 +17098,8 @@ const DropdownOptions = ({
|
|
|
16932
17098
|
}) => {
|
|
16933
17099
|
const {
|
|
16934
17100
|
onChange,
|
|
16935
|
-
activeItem
|
|
17101
|
+
activeItem,
|
|
17102
|
+
maxHeight
|
|
16936
17103
|
} = useDropdownContext();
|
|
16937
17104
|
const childrenArray = external_react_default().Children.toArray(children).filter(Boolean);
|
|
16938
17105
|
|
|
@@ -16970,6 +17137,7 @@ const DropdownOptions = ({
|
|
|
16970
17137
|
tabindex: "-1",
|
|
16971
17138
|
id: id,
|
|
16972
17139
|
"aria-labelledby": ariaLabelledby,
|
|
17140
|
+
maxHeight: maxHeight,
|
|
16973
17141
|
children: options
|
|
16974
17142
|
});
|
|
16975
17143
|
};
|
|
@@ -17140,6 +17308,7 @@ const Dropdown = ({
|
|
|
17140
17308
|
onChange: handleChange,
|
|
17141
17309
|
className,
|
|
17142
17310
|
placeholder = 'Select something',
|
|
17311
|
+
maxHeight = 200,
|
|
17143
17312
|
dropdownProps: componentProps
|
|
17144
17313
|
}) => {
|
|
17145
17314
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
@@ -17195,8 +17364,9 @@ const Dropdown = ({
|
|
|
17195
17364
|
});
|
|
17196
17365
|
const contextValue = external_react_default().useMemo(() => ({
|
|
17197
17366
|
onChange,
|
|
17198
|
-
activeItem
|
|
17199
|
-
|
|
17367
|
+
activeItem,
|
|
17368
|
+
maxHeight
|
|
17369
|
+
}), [onChange, activeItem, maxHeight]);
|
|
17200
17370
|
const value = activeItem ? activeItem.label || activeItem.children || activeItem.value || activeItem || placeholder : placeholder;
|
|
17201
17371
|
const rawAvatar = activeItem && activeItem.avatar;
|
|
17202
17372
|
const selectedAvatar = rawAvatar != null ? typeof rawAvatar === 'string' ? (0,jsx_runtime_namespaceObject.jsx)(Avatar_Avatar, {
|
|
@@ -17255,7 +17425,8 @@ const MultipleDropdownContext = /*#__PURE__*/external_react_namespaceObject.crea
|
|
|
17255
17425
|
isMultiple: false,
|
|
17256
17426
|
onChange: () => {
|
|
17257
17427
|
/* noop */
|
|
17258
|
-
}
|
|
17428
|
+
},
|
|
17429
|
+
maxHeight: 200
|
|
17259
17430
|
});
|
|
17260
17431
|
function useMultipleDropdownContext() {
|
|
17261
17432
|
return external_react_namespaceObject.useContext(MultipleDropdownContext);
|
|
@@ -17272,7 +17443,9 @@ function MultipleDropdownOptions_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You
|
|
|
17272
17443
|
|
|
17273
17444
|
const MultipleDropdownOptions_DropdownOptionsBase = /*#__PURE__*/base_default()("ul", true ? {
|
|
17274
17445
|
target: "e1ckq94i1"
|
|
17275
|
-
} : 0)("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;
|
|
17446
|
+
} : 0)("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;max-height:", ({
|
|
17447
|
+
maxHeight = 200
|
|
17448
|
+
}) => maxHeight, "px;overflow:hidden auto;z-index:1;filter:", ({
|
|
17276
17449
|
theme
|
|
17277
17450
|
}) => `drop-shadow(-4px 4px 14px ${theme.colors.greyDarker14})`, ";backdrop-filter:", ({
|
|
17278
17451
|
theme
|
|
@@ -17327,7 +17500,8 @@ const MultipleDropdownOptions = ({
|
|
|
17327
17500
|
const {
|
|
17328
17501
|
onChange,
|
|
17329
17502
|
allItems,
|
|
17330
|
-
isMultiple
|
|
17503
|
+
isMultiple,
|
|
17504
|
+
maxHeight
|
|
17331
17505
|
} = useMultipleDropdownContext();
|
|
17332
17506
|
const toggleItem = (value, isDisabled) => {
|
|
17333
17507
|
if (!isDisabled) {
|
|
@@ -17379,6 +17553,7 @@ const MultipleDropdownOptions = ({
|
|
|
17379
17553
|
tabindex: "-1",
|
|
17380
17554
|
id: id,
|
|
17381
17555
|
"aria-labelledby": ariaLabelledby,
|
|
17556
|
+
maxHeight: maxHeight,
|
|
17382
17557
|
children: options
|
|
17383
17558
|
});
|
|
17384
17559
|
};
|
|
@@ -17524,7 +17699,8 @@ function MultipleDropdownInner({
|
|
|
17524
17699
|
label,
|
|
17525
17700
|
children,
|
|
17526
17701
|
onChange: handleChange,
|
|
17527
|
-
className
|
|
17702
|
+
className,
|
|
17703
|
+
maxHeight = 200
|
|
17528
17704
|
}, ref) {
|
|
17529
17705
|
const dropdownBaseRef = (0,external_react_namespaceObject.useRef)(null);
|
|
17530
17706
|
const dropdownId = (0,external_react_namespaceObject.useId)();
|
|
@@ -17594,8 +17770,9 @@ function MultipleDropdownInner({
|
|
|
17594
17770
|
const contextValue = external_react_default().useMemo(() => ({
|
|
17595
17771
|
onChange,
|
|
17596
17772
|
allItems: optionsWithKey,
|
|
17597
|
-
isMultiple
|
|
17598
|
-
|
|
17773
|
+
isMultiple,
|
|
17774
|
+
maxHeight
|
|
17775
|
+
}), [onChange, optionsWithKey, isMultiple, maxHeight]);
|
|
17599
17776
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
17600
17777
|
const newValues = getActiveItems({
|
|
17601
17778
|
allItems: optionsWithKey,
|
|
@@ -28175,15 +28352,24 @@ const Chip_styles_large = true ? {
|
|
|
28175
28352
|
styles: "height:40px;padding:6px 16px;font-size:16px;line-height:24px"
|
|
28176
28353
|
} : 0;
|
|
28177
28354
|
const baseFilled = theme => /*#__PURE__*/(0,react_namespaceObject.css)("background-color:", theme.colors.greyLighter, ";border:none;" + ( true ? "" : 0), true ? "" : 0);
|
|
28178
|
-
const baseOutlined = theme => /*#__PURE__*/(0,react_namespaceObject.css)("background-color:", theme.colors.
|
|
28355
|
+
const baseOutlined = theme => /*#__PURE__*/(0,react_namespaceObject.css)("background-color:color-mix(in srgb, ", theme.colors.grey, " 8%, transparent);border:1px solid ", theme.colors.grey, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28179
28356
|
const filled = theme => /*#__PURE__*/(0,react_namespaceObject.css)(baseFilled(theme), ";color:", theme.colors.greyDarker, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28180
28357
|
const filledDisabled = theme => /*#__PURE__*/(0,react_namespaceObject.css)(baseFilled(theme), ";color:", theme.colors.greyDisabled, ";opacity:0.6;" + ( true ? "" : 0), true ? "" : 0);
|
|
28181
28358
|
const outlined = theme => /*#__PURE__*/(0,react_namespaceObject.css)(baseOutlined(theme), ";color:", theme.colors.greyDarker, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28182
|
-
const outlinedDisabled = theme => /*#__PURE__*/(0,react_namespaceObject.css)(
|
|
28359
|
+
const outlinedDisabled = theme => /*#__PURE__*/(0,react_namespaceObject.css)("background-color:color-mix(in srgb, ", theme.colors.grey, " 24%, transparent);border:1px solid ", theme.colors.grey, ";color:", theme.colors.greyDisabled, ";opacity:0.6;" + ( true ? "" : 0), true ? "" : 0);
|
|
28360
|
+
|
|
28361
|
+
/** Hover/active bg opacity for default (grey) outlined clickable chip */
|
|
28362
|
+
const clickableOutlinedDefault = theme => /*#__PURE__*/(0,react_namespaceObject.css)("transition:background-color 0.2s ease;&:hover{background-color:color-mix(in srgb, ", theme.colors.grey, " 24%, transparent);}&:active{background-color:color-mix(in srgb, ", theme.colors.grey, " 40%, transparent);}" + ( true ? "" : 0), true ? "" : 0);
|
|
28183
28363
|
const clickable = true ? {
|
|
28184
28364
|
name: "1q9v0e",
|
|
28185
28365
|
styles: "cursor:pointer;transition:all 0.2s ease;&:hover{opacity:0.8;}&:active{opacity:0.7;}"
|
|
28186
28366
|
} : 0;
|
|
28367
|
+
|
|
28368
|
+
/** cursor + transition only; hover/active handled by variant (e.g. outlined bg opacity) */
|
|
28369
|
+
const clickableBase = true ? {
|
|
28370
|
+
name: "p7t14k",
|
|
28371
|
+
styles: "cursor:pointer;transition:background-color 0.2s ease,opacity 0.2s ease"
|
|
28372
|
+
} : 0;
|
|
28187
28373
|
const clickableDisabled = true ? {
|
|
28188
28374
|
name: "1sfig4b",
|
|
28189
28375
|
styles: "cursor:not-allowed"
|
|
@@ -28232,6 +28418,14 @@ const COLORS = {
|
|
|
28232
28418
|
ERROR: 'error',
|
|
28233
28419
|
WARNING: 'warning'
|
|
28234
28420
|
};
|
|
28421
|
+
|
|
28422
|
+
/** Outlined variant background opacity (light color with opacity) */
|
|
28423
|
+
const OUTLINED_BG_OPACITY = {
|
|
28424
|
+
DEFAULT: 0.08,
|
|
28425
|
+
HOVER: 0.24,
|
|
28426
|
+
ACTIVE: 0.4,
|
|
28427
|
+
DISABLED: 0.24
|
|
28428
|
+
};
|
|
28235
28429
|
const constants_mapSizes = {
|
|
28236
28430
|
small: Chip_styles_small,
|
|
28237
28431
|
medium: Chip_styles_medium,
|
|
@@ -28274,13 +28468,24 @@ const colorMap = theme => ({
|
|
|
28274
28468
|
dark: theme.palette.warning.dark
|
|
28275
28469
|
}
|
|
28276
28470
|
});
|
|
28277
|
-
const getVariantColorBlock = (theme, variant, config, disabled) => {
|
|
28471
|
+
const getVariantColorBlock = (theme, variant, config, disabled, isClickable) => {
|
|
28278
28472
|
if (variant === VARIANTS.OUTLINED) {
|
|
28279
|
-
|
|
28473
|
+
const bgDefault = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.DEFAULT * 100}%, transparent)`;
|
|
28474
|
+
const bgHover = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.HOVER * 100}%, transparent)`;
|
|
28475
|
+
const bgActive = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.ACTIVE * 100}%, transparent)`;
|
|
28476
|
+
const bgDisabled = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.DISABLED * 100}%, transparent)`;
|
|
28477
|
+
return /*#__PURE__*/(0,react_namespaceObject.css)("background-color:", disabled ? bgDisabled : bgDefault, ";border:1px solid ", config.main, ";color:", config.dark, ";transition:background-color 0.2s ease;", disabled ? 'opacity: 0.5;' : '', " ", !disabled && isClickable ? `
|
|
28478
|
+
&:hover {
|
|
28479
|
+
background-color: ${bgHover};
|
|
28480
|
+
}
|
|
28481
|
+
&:active {
|
|
28482
|
+
background-color: ${bgActive};
|
|
28483
|
+
}
|
|
28484
|
+
` : '', ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28280
28485
|
}
|
|
28281
28486
|
return /*#__PURE__*/(0,react_namespaceObject.css)("background-color:", config.main, ";border:1px solid ", config.main, ";color:", config.darkText ? theme.colors.greyDarker : theme.colors.white, ";", disabled ? 'opacity: 0.5;' : '', ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28282
28487
|
};
|
|
28283
|
-
const getVariantColors = (theme, variant, color, disabled) => {
|
|
28488
|
+
const getVariantColors = (theme, variant, color, disabled, isClickable = false) => {
|
|
28284
28489
|
const variantKey = variant ?? VARIANTS.FILLED;
|
|
28285
28490
|
const colorKey = color ?? COLORS.DEFAULT;
|
|
28286
28491
|
if (colorKey === COLORS.DEFAULT) {
|
|
@@ -28291,7 +28496,7 @@ const getVariantColors = (theme, variant, color, disabled) => {
|
|
|
28291
28496
|
};
|
|
28292
28497
|
}
|
|
28293
28498
|
const palette = colorMap(theme)[colorKey];
|
|
28294
|
-
const chipStyles = getVariantColorBlock(theme, variantKey, palette, disabled);
|
|
28499
|
+
const chipStyles = getVariantColorBlock(theme, variantKey, palette, disabled, isClickable);
|
|
28295
28500
|
const iconColor = (() => {
|
|
28296
28501
|
if (variantKey === VARIANTS.OUTLINED) return palette.dark;
|
|
28297
28502
|
return palette.darkText ? theme.colors.greyDarker : theme.colors.white;
|
|
@@ -28399,13 +28604,15 @@ const Chip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(function
|
|
|
28399
28604
|
...props
|
|
28400
28605
|
}, ref) {
|
|
28401
28606
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
28402
|
-
const isClickable = !disabled && (onClick || clickableProp);
|
|
28607
|
+
const isClickable = Boolean(!disabled && (onClick || clickableProp));
|
|
28403
28608
|
const hasDeleteIcon = Boolean(onDelete);
|
|
28404
28609
|
const {
|
|
28405
28610
|
chipStyles,
|
|
28406
28611
|
iconColor
|
|
28407
|
-
} = getVariantColors(theme, variant, color, disabled);
|
|
28612
|
+
} = getVariantColors(theme, variant, color, disabled, isClickable);
|
|
28408
28613
|
const sizeStyles = constants_mapSizes[size];
|
|
28614
|
+
const clickableStyles = variant === VARIANTS.OUTLINED ? clickableBase : clickable;
|
|
28615
|
+
const outlinedDefaultClickableStyles = variant === VARIANTS.OUTLINED && color === COLORS.DEFAULT && isClickable ? clickableOutlinedDefault(theme) : undefined;
|
|
28409
28616
|
const iconName = showIcon ? icon ?? 'plus' : null;
|
|
28410
28617
|
const deleteIconName = deleteIcon ?? 'cross';
|
|
28411
28618
|
const leadingIcon = iconName ? (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
@@ -28444,7 +28651,7 @@ const Chip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(function
|
|
|
28444
28651
|
tabIndex: !disabled && (isClickable || hasDeleteIcon) ? 0 : undefined,
|
|
28445
28652
|
"aria-disabled": disabled ? 'true' : 'false',
|
|
28446
28653
|
className: className,
|
|
28447
|
-
css: [sizeStyles, chipStyles, isClickable && !disabled ?
|
|
28654
|
+
css: [sizeStyles, chipStyles, isClickable && !disabled ? clickableStyles : undefined, outlinedDefaultClickableStyles, disabled ? clickableDisabled : undefined, customCss, true ? "" : 0, true ? "" : 0],
|
|
28448
28655
|
onClick: disabled ? undefined : onClick,
|
|
28449
28656
|
onKeyDown: handleKeyDown,
|
|
28450
28657
|
children: [avatar && (0,jsx_runtime_namespaceObject.jsx)(AvatarWrapper, {
|
|
@@ -28556,11 +28763,11 @@ const Progress = ({
|
|
|
28556
28763
|
function ProgressBar_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
28557
28764
|
|
|
28558
28765
|
const wrapper = theme => /*#__PURE__*/(0,react_namespaceObject.css)("position:relative;background-color:", theme.colors.greyLighter, ";border-radius:12px;box-shadow:inset 0 -1px 1px ", theme.colors.white30, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28559
|
-
var
|
|
28766
|
+
var ProgressBar_styles_ref = true ? {
|
|
28560
28767
|
name: "14rz325",
|
|
28561
28768
|
styles: "position:absolute;display:block;bottom:0;border-radius:12px"
|
|
28562
28769
|
} : 0;
|
|
28563
|
-
const bar = () =>
|
|
28770
|
+
const bar = () => ProgressBar_styles_ref;
|
|
28564
28771
|
;// ./src/components/ProgressBar/ProgressBar.tsx
|
|
28565
28772
|
|
|
28566
28773
|
|
|
@@ -48383,13 +48590,14 @@ const CollapsibleNavBar = ({
|
|
|
48383
48590
|
className,
|
|
48384
48591
|
useMatchPattern,
|
|
48385
48592
|
onChange,
|
|
48386
|
-
exactMatch = false
|
|
48593
|
+
exactMatch = false,
|
|
48594
|
+
defaultExpanded = false
|
|
48387
48595
|
}) => {
|
|
48388
48596
|
const toggleId = (0,external_react_namespaceObject.useId)();
|
|
48389
48597
|
const {
|
|
48390
48598
|
width
|
|
48391
48599
|
} = (0,hooks_namespaceObject.useWindowSize)();
|
|
48392
|
-
const [isChecked, onToggle] = (0,external_react_namespaceObject.useState)(
|
|
48600
|
+
const [isChecked, onToggle] = (0,external_react_namespaceObject.useState)(defaultExpanded);
|
|
48393
48601
|
const isMobile = width < SCREEN_SIZES['900'].width;
|
|
48394
48602
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
48395
48603
|
onToggle(false);
|
|
@@ -49169,16 +49377,17 @@ const RowsPerPageDropdown = ({
|
|
|
49169
49377
|
dropdownProps: {
|
|
49170
49378
|
toggleButton: {
|
|
49171
49379
|
css: {
|
|
49172
|
-
marginLeft:
|
|
49380
|
+
marginLeft: 5,
|
|
49173
49381
|
marginRight: 15,
|
|
49174
49382
|
border: 'none',
|
|
49175
|
-
background: '
|
|
49383
|
+
background: 'transparent',
|
|
49384
|
+
borderRadius: 6,
|
|
49176
49385
|
color: theme.colors.greyDarker,
|
|
49177
49386
|
gap: 5,
|
|
49178
|
-
padding:
|
|
49387
|
+
padding: 3,
|
|
49179
49388
|
'&:focus': {
|
|
49180
49389
|
color: theme.colors.greyDarker,
|
|
49181
|
-
background: '
|
|
49390
|
+
background: 'transparent !important',
|
|
49182
49391
|
'&::before': {
|
|
49183
49392
|
display: 'none'
|
|
49184
49393
|
}
|
|
@@ -50545,6 +50754,12 @@ const AddNewAccountCard = ({
|
|
|
50545
50754
|
|
|
50546
50755
|
|
|
50547
50756
|
;// ./src/components/PersonInfo/constants.ts
|
|
50757
|
+
/**
|
|
50758
|
+
* PersonInfo badge color config. Uses theme.colors only (no palette).
|
|
50759
|
+
* DEFAULT_BADGE_COLORS: order of MainColors keys used when badges are strings (cycled by index).
|
|
50760
|
+
* BADGE_COLORS(theme): map of MainColors key → { text, bg } using theme.colors.* and theme.colors.*20.
|
|
50761
|
+
*/
|
|
50762
|
+
|
|
50548
50763
|
const DEFAULT_BADGE_COLORS = ['purple', 'blueLight', 'green', 'blue', 'pink', 'turquoise', 'yellow', 'yellowWarm'];
|
|
50549
50764
|
const BADGE_COLORS = theme => ({
|
|
50550
50765
|
purple: {
|
|
@@ -50583,6 +50798,12 @@ const BADGE_COLORS = theme => ({
|
|
|
50583
50798
|
;// ./src/components/PersonInfo/styles.ts
|
|
50584
50799
|
|
|
50585
50800
|
function PersonInfo_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
50801
|
+
/**
|
|
50802
|
+
* PersonInfo layout and theme styles.
|
|
50803
|
+
* Uses theme.colors only: greyDropdownFocused (counter), greyDarker (link default), blue (link hover).
|
|
50804
|
+
* CustomBadge uses BADGE_COLORS(theme) for text/bg per MainColors. No theme.palette.
|
|
50805
|
+
*/
|
|
50806
|
+
|
|
50586
50807
|
|
|
50587
50808
|
|
|
50588
50809
|
const PersonInfoBase = /*#__PURE__*/base_default()("div", true ? {
|
|
@@ -50719,6 +50940,11 @@ const avatarWrapperLinkStyles = theme => ({
|
|
|
50719
50940
|
}
|
|
50720
50941
|
});
|
|
50721
50942
|
;// ./src/components/PersonInfo/PersonInfoIcon.tsx
|
|
50943
|
+
/**
|
|
50944
|
+
* PersonInfoIcon - Leading icon for PersonInfo row.
|
|
50945
|
+
* Renders Icon with theme.colors.greyDarker when icon is a string; otherwise renders custom ReactNode.
|
|
50946
|
+
* Used only by PersonInfo when icon prop is set.
|
|
50947
|
+
*/
|
|
50722
50948
|
|
|
50723
50949
|
|
|
50724
50950
|
|
|
@@ -50737,6 +50963,11 @@ const PersonInfoIcon = ({
|
|
|
50737
50963
|
});
|
|
50738
50964
|
};
|
|
50739
50965
|
;// ./src/components/PersonInfo/PersonInfoValue.tsx
|
|
50966
|
+
/**
|
|
50967
|
+
* PersonInfoValue - Primary value cell for PersonInfo, optionally a link.
|
|
50968
|
+
* When linkAttributes (from getLinkAttributes) are provided, renders as <a> with
|
|
50969
|
+
* personInfoValueLinkStyles: theme.colors.greyDarker, hover theme.colors.blue. Used by PersonInfoAvatar.
|
|
50970
|
+
*/
|
|
50740
50971
|
|
|
50741
50972
|
|
|
50742
50973
|
|
|
@@ -50753,6 +50984,11 @@ const PersonInfoValue = ({
|
|
|
50753
50984
|
});
|
|
50754
50985
|
};
|
|
50755
50986
|
;// ./src/components/PersonInfo/helpers.ts
|
|
50987
|
+
/**
|
|
50988
|
+
* Returns link props for PersonInfo value/avatar when link is set.
|
|
50989
|
+
* For AI: used by PersonInfoAvatar and PersonInfoValue. Returns { as: 'a', href, target?, rel? }
|
|
50990
|
+
* when link is truthy; otherwise {}. openLinkInNewTab sets target="_blank" and rel="noreferrer".
|
|
50991
|
+
*/
|
|
50756
50992
|
const getLinkAttributes = (link, openLinkInNewTab) => {
|
|
50757
50993
|
const isLink = Boolean(link);
|
|
50758
50994
|
return isLink ? {
|
|
@@ -50763,6 +50999,12 @@ const getLinkAttributes = (link, openLinkInNewTab) => {
|
|
|
50763
50999
|
} : {};
|
|
50764
51000
|
};
|
|
50765
51001
|
;// ./src/components/PersonInfo/PersonInfoAvatar.tsx
|
|
51002
|
+
/**
|
|
51003
|
+
* PersonInfoAvatar - Avatar + value row for PersonInfo.
|
|
51004
|
+
* Renders optional Avatar (image URL) and PersonInfoValue. When link is set, wraps in anchor
|
|
51005
|
+
* using helpers.getLinkAttributes; link hover uses theme.colors.blue (avatarWrapperLinkStyles).
|
|
51006
|
+
* Uses styles.avatarName when avatar present, styles.value when only value. Used only by PersonInfo.
|
|
51007
|
+
*/
|
|
50766
51008
|
|
|
50767
51009
|
|
|
50768
51010
|
|
|
@@ -50799,6 +51041,12 @@ const PersonInfoAvatar = ({
|
|
|
50799
51041
|
});
|
|
50800
51042
|
};
|
|
50801
51043
|
;// ./src/components/PersonInfo/PersonInfoBadges.tsx
|
|
51044
|
+
/**
|
|
51045
|
+
* PersonInfoBadges - Badge row for PersonInfo.
|
|
51046
|
+
* badges can be a single ReactNode or array of string | ReactNode. Strings are rendered with
|
|
51047
|
+
* CustomBadge using DEFAULT_BADGE_COLORS (cycled by index) and BADGE_COLORS(theme) for text/bg.
|
|
51048
|
+
* Other items rendered as-is (e.g. <Badge>). Uses styles.badge and styles.badgeItem.
|
|
51049
|
+
*/
|
|
50802
51050
|
|
|
50803
51051
|
|
|
50804
51052
|
|
|
@@ -50833,6 +51081,12 @@ const PersonInfoBadges = ({
|
|
|
50833
51081
|
});
|
|
50834
51082
|
};
|
|
50835
51083
|
;// ./src/components/PersonInfo/PersonInfoCounter.tsx
|
|
51084
|
+
/**
|
|
51085
|
+
* PersonInfoCounter - “+N” counter with tooltip for PersonInfo.
|
|
51086
|
+
* Renders counter value from counterTooltip.users.length; tooltip lists users via ImageItem
|
|
51087
|
+
* (image, name, optional link). Uses Tooltip (hover, no click). Counter text uses
|
|
51088
|
+
* theme.colors.greyDropdownFocused (S.Counter). Used only by PersonInfo when counterTooltip is set.
|
|
51089
|
+
*/
|
|
50836
51090
|
|
|
50837
51091
|
|
|
50838
51092
|
|
|
@@ -50888,6 +51142,85 @@ const PersonInfoCounter = ({
|
|
|
50888
51142
|
|
|
50889
51143
|
|
|
50890
51144
|
|
|
51145
|
+
/**
|
|
51146
|
+
* PersonInfo - Compact row for displaying a person or entity with title, value, and optional metadata.
|
|
51147
|
+
*
|
|
51148
|
+
* Uses `theme.colors` only (e.g. greyDropdownFocused, greyDarker, blue for link hover). Does not use
|
|
51149
|
+
* `theme.palette`. Link and value hover use theme.colors.blue. Badge colors come from BADGE_COLORS(theme).
|
|
51150
|
+
*
|
|
51151
|
+
* ### Structure
|
|
51152
|
+
* - Optional leading icon (name or custom ReactNode)
|
|
51153
|
+
* - Title (required) and a row with: optional avatar + value (optionally a link), optional counter with tooltip
|
|
51154
|
+
* - Optional badges (Badge components or strings)
|
|
51155
|
+
* - Optional attributes list (strings or ReactNodes)
|
|
51156
|
+
* - Optional description text
|
|
51157
|
+
*
|
|
51158
|
+
* ### Key props
|
|
51159
|
+
* - `title` (required) — main label
|
|
51160
|
+
* - `value` — primary value; use with `link` / `openLinkInNewTab` for a clickable value
|
|
51161
|
+
* - `icon` — Icon name or custom node before the title
|
|
51162
|
+
* - `avatar` — image URL; shown next to value
|
|
51163
|
+
* - `badges` — ReactNode or array of ReactNode/string; rendered as badges below the row
|
|
51164
|
+
* - `counterTooltip` — { users: [{ id, name, avatar, link?, openLinkInNewTab? }] } for a count + tooltip
|
|
51165
|
+
* - `attributes` — array of strings or ReactNodes below the row
|
|
51166
|
+
* - `description` — extra text block
|
|
51167
|
+
* - `styles` — optional overrides for title, avatarName, counter, attributes, badge, badgeItem, value, description
|
|
51168
|
+
*
|
|
51169
|
+
* @category Components
|
|
51170
|
+
* @subcategory Display
|
|
51171
|
+
*
|
|
51172
|
+
* @example
|
|
51173
|
+
* ```tsx
|
|
51174
|
+
* <PersonInfo title="Assignee" value="John Doe" />
|
|
51175
|
+
* ```
|
|
51176
|
+
*
|
|
51177
|
+
* @example
|
|
51178
|
+
* ```tsx
|
|
51179
|
+
* <PersonInfo
|
|
51180
|
+
* title="Owner"
|
|
51181
|
+
* value="Jane Smith"
|
|
51182
|
+
* icon="user"
|
|
51183
|
+
* avatar="/avatar.jpg"
|
|
51184
|
+
* link="/users/jane"
|
|
51185
|
+
* openLinkInNewTab={false}
|
|
51186
|
+
* />
|
|
51187
|
+
* ```
|
|
51188
|
+
*
|
|
51189
|
+
* @example
|
|
51190
|
+
* ```tsx
|
|
51191
|
+
* <PersonInfo
|
|
51192
|
+
* title="Status"
|
|
51193
|
+
* value="In progress"
|
|
51194
|
+
* badges={[<Badge key="1">Active</Badge>]}
|
|
51195
|
+
* attributes={['Due: Jan 15', 'Priority: High']}
|
|
51196
|
+
* description="Additional context text."
|
|
51197
|
+
* />
|
|
51198
|
+
* ```
|
|
51199
|
+
*
|
|
51200
|
+
* @example
|
|
51201
|
+
* ```tsx
|
|
51202
|
+
* <PersonInfo
|
|
51203
|
+
* title="Participants"
|
|
51204
|
+
* value="3"
|
|
51205
|
+
* counterTooltip={{
|
|
51206
|
+
* users: [
|
|
51207
|
+
* { id: 1, name: 'Alice', avatar: '/a.jpg', link: '/users/1' },
|
|
51208
|
+
* { id: 2, name: 'Bob', avatar: '/b.jpg' },
|
|
51209
|
+
* ],
|
|
51210
|
+
* }}
|
|
51211
|
+
* />
|
|
51212
|
+
* ```
|
|
51213
|
+
*
|
|
51214
|
+
* @see {@link Avatar} - Often used for avatar prop or inside counter tooltip
|
|
51215
|
+
* @see {@link Icon} - Common choice for icon prop
|
|
51216
|
+
* @see {@link Badge} - Used when badges prop contains Badge components
|
|
51217
|
+
*
|
|
51218
|
+
* @accessibility
|
|
51219
|
+
* - Semantic structure (heading-like title, list of attributes)
|
|
51220
|
+
* - Links support openLinkInNewTab and get appropriate attributes
|
|
51221
|
+
* - Counter tooltip is focusable and keyboard-accessible via Tooltip
|
|
51222
|
+
*/
|
|
51223
|
+
|
|
50891
51224
|
const PersonInfo = /*#__PURE__*/external_react_default().forwardRef(function PersonInfo({
|
|
50892
51225
|
title,
|
|
50893
51226
|
icon,
|
|
@@ -50949,6 +51282,10 @@ const PersonInfo = /*#__PURE__*/external_react_default().forwardRef(function Per
|
|
|
50949
51282
|
});
|
|
50950
51283
|
});
|
|
50951
51284
|
;// ./src/components/PersonInfo/index.ts
|
|
51285
|
+
/**
|
|
51286
|
+
* PersonInfo public API. Re-exports PersonInfo component and all types (PersonInfoProps,
|
|
51287
|
+
* PersonInfoStyles, PersonInfoCounterTooltip, etc.) for consumers.
|
|
51288
|
+
*/
|
|
50952
51289
|
|
|
50953
51290
|
|
|
50954
51291
|
;// ./src/components/UserProfile/styles.ts
|