@ssa-ui-kit/core 3.1.0 → 3.3.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/DatePicker/types.d.ts +218 -5
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +51 -0
- package/dist/components/DateRangePicker/DateRangePickerFormBridge.d.ts +29 -5
- package/dist/components/DateRangePicker/constants.d.ts +8 -0
- package/dist/components/DateRangePicker/types.d.ts +235 -11
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/types.d.ts +9 -0
- package/dist/components/History/History.d.ts +31 -0
- package/dist/components/History/index.d.ts +2 -0
- package/dist/components/History/styles.d.ts +9 -0
- package/dist/components/History/types.d.ts +56 -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/SettingClock.d.ts +3 -0
- package/dist/components/Icon/icons/all.d.ts +5 -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/components/index.d.ts +2 -1
- package/dist/index.js +682 -65
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8009,6 +8009,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8009
8009
|
FullscreenModeContext: () => (/* reexport */ FullscreenModeContext),
|
|
8010
8010
|
FullscreenModeProvider: () => (/* reexport */ FullscreenModeProvider),
|
|
8011
8011
|
GaugeChart: () => (/* reexport */ GaugeChart),
|
|
8012
|
+
History: () => (/* reexport */ History),
|
|
8012
8013
|
Icon: () => (/* reexport */ Icon_Icon),
|
|
8013
8014
|
IconButton: () => (/* reexport */ IconButton),
|
|
8014
8015
|
ImageItem: () => (/* reexport */ ImageItem),
|
|
@@ -8626,6 +8627,14 @@ __webpack_require__.d(EmployeeTerminated_namespaceObject, {
|
|
|
8626
8627
|
ICON_NAME: () => (EmployeeTerminated_ICON_NAME)
|
|
8627
8628
|
});
|
|
8628
8629
|
|
|
8630
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/EmployeeBlackboard.tsx
|
|
8631
|
+
var EmployeeBlackboard_namespaceObject = {};
|
|
8632
|
+
__webpack_require__.r(EmployeeBlackboard_namespaceObject);
|
|
8633
|
+
__webpack_require__.d(EmployeeBlackboard_namespaceObject, {
|
|
8634
|
+
EmployeeBlackboard: () => (EmployeeBlackboard),
|
|
8635
|
+
ICON_NAME: () => (EmployeeBlackboard_ICON_NAME)
|
|
8636
|
+
});
|
|
8637
|
+
|
|
8629
8638
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/ExcelDownload.tsx
|
|
8630
8639
|
var ExcelDownload_namespaceObject = {};
|
|
8631
8640
|
__webpack_require__.r(ExcelDownload_namespaceObject);
|
|
@@ -8642,6 +8651,30 @@ __webpack_require__.d(Export_namespaceObject, {
|
|
|
8642
8651
|
ICON_NAME: () => (Export_ICON_NAME)
|
|
8643
8652
|
});
|
|
8644
8653
|
|
|
8654
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/FileMark.tsx
|
|
8655
|
+
var FileMark_namespaceObject = {};
|
|
8656
|
+
__webpack_require__.r(FileMark_namespaceObject);
|
|
8657
|
+
__webpack_require__.d(FileMark_namespaceObject, {
|
|
8658
|
+
FileMark: () => (FileMark),
|
|
8659
|
+
ICON_NAME: () => (FileMark_ICON_NAME)
|
|
8660
|
+
});
|
|
8661
|
+
|
|
8662
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/FilePdf.tsx
|
|
8663
|
+
var FilePdf_namespaceObject = {};
|
|
8664
|
+
__webpack_require__.r(FilePdf_namespaceObject);
|
|
8665
|
+
__webpack_require__.d(FilePdf_namespaceObject, {
|
|
8666
|
+
FilePdf: () => (FilePdf),
|
|
8667
|
+
ICON_NAME: () => (FilePdf_ICON_NAME)
|
|
8668
|
+
});
|
|
8669
|
+
|
|
8670
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/FileWord.tsx
|
|
8671
|
+
var FileWord_namespaceObject = {};
|
|
8672
|
+
__webpack_require__.r(FileWord_namespaceObject);
|
|
8673
|
+
__webpack_require__.d(FileWord_namespaceObject, {
|
|
8674
|
+
FileWord: () => (FileWord),
|
|
8675
|
+
ICON_NAME: () => (FileWord_ICON_NAME)
|
|
8676
|
+
});
|
|
8677
|
+
|
|
8645
8678
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/Filter.tsx
|
|
8646
8679
|
var Filter_namespaceObject = {};
|
|
8647
8680
|
__webpack_require__.r(Filter_namespaceObject);
|
|
@@ -8994,6 +9027,14 @@ __webpack_require__.d(Settings_namespaceObject, {
|
|
|
8994
9027
|
Settings: () => (Settings)
|
|
8995
9028
|
});
|
|
8996
9029
|
|
|
9030
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/SettingClock.tsx
|
|
9031
|
+
var SettingClock_namespaceObject = {};
|
|
9032
|
+
__webpack_require__.r(SettingClock_namespaceObject);
|
|
9033
|
+
__webpack_require__.d(SettingClock_namespaceObject, {
|
|
9034
|
+
ICON_NAME: () => (SettingClock_ICON_NAME),
|
|
9035
|
+
SettingClock: () => (SettingClock)
|
|
9036
|
+
});
|
|
9037
|
+
|
|
8997
9038
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/Signature.tsx
|
|
8998
9039
|
var Signature_namespaceObject = {};
|
|
8999
9040
|
__webpack_require__.r(Signature_namespaceObject);
|
|
@@ -9206,11 +9247,15 @@ __webpack_require__.d(all_namespaceObject, {
|
|
|
9206
9247
|
Education: () => (Education_namespaceObject),
|
|
9207
9248
|
Email: () => (Email_namespaceObject),
|
|
9208
9249
|
Employee: () => (Employee_namespaceObject),
|
|
9250
|
+
EmployeeBlackboard: () => (EmployeeBlackboard_namespaceObject),
|
|
9209
9251
|
EmployeeProfile: () => (EmployeeProfile_namespaceObject),
|
|
9210
9252
|
EmployeeTerminated: () => (EmployeeTerminated_namespaceObject),
|
|
9211
9253
|
ExcelDownload: () => (ExcelDownload_namespaceObject),
|
|
9212
9254
|
Export: () => (Export_namespaceObject),
|
|
9213
9255
|
FTE: () => (FTE_namespaceObject),
|
|
9256
|
+
FileMark: () => (FileMark_namespaceObject),
|
|
9257
|
+
FilePdf: () => (FilePdf_namespaceObject),
|
|
9258
|
+
FileWord: () => (FileWord_namespaceObject),
|
|
9214
9259
|
Filter: () => (Filter_namespaceObject),
|
|
9215
9260
|
FilterFunnel: () => (FilterFunnel_namespaceObject),
|
|
9216
9261
|
FollowLink: () => (FollowLink_namespaceObject),
|
|
@@ -9253,6 +9298,7 @@ __webpack_require__.d(all_namespaceObject, {
|
|
|
9253
9298
|
Roles: () => (Roles_namespaceObject),
|
|
9254
9299
|
Search: () => (Search_namespaceObject),
|
|
9255
9300
|
Seniority: () => (Seniority_namespaceObject),
|
|
9301
|
+
SettingClock: () => (SettingClock_namespaceObject),
|
|
9256
9302
|
Settings: () => (Settings_namespaceObject),
|
|
9257
9303
|
Signature: () => (Signature_namespaceObject),
|
|
9258
9304
|
Sleep: () => (Sleep_namespaceObject),
|
|
@@ -9822,7 +9868,6 @@ const DisabledButtonText = ({
|
|
|
9822
9868
|
;// ./src/components/Button/styles.ts
|
|
9823
9869
|
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
9870
|
|
|
9825
|
-
|
|
9826
9871
|
const buttonBlock = true ? {
|
|
9827
9872
|
name: "3s76dy",
|
|
9828
9873
|
styles: "display:grid;span{display:inline-block;margin:auto;}"
|
|
@@ -9857,10 +9902,18 @@ const makeSolidVariant = (theme, key, extra) => {
|
|
|
9857
9902
|
} = theme.palette[key];
|
|
9858
9903
|
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
9904
|
};
|
|
9905
|
+
|
|
9906
|
+
/** Transparent variant (no focus outline). Shared by custom (recommended) and tertiary (legacy). */
|
|
9907
|
+
var _ref = true ? {
|
|
9908
|
+
name: "1qsuvl4",
|
|
9909
|
+
styles: "background:transparent"
|
|
9910
|
+
} : 0;
|
|
9911
|
+
const transparentVariant = () => _ref;
|
|
9860
9912
|
const variantStyles = {
|
|
9913
|
+
custom: transparentVariant,
|
|
9861
9914
|
primary: theme => makeSolidVariant(theme, 'primary'),
|
|
9862
9915
|
secondary: theme => makeSolidVariant(theme, 'secondary', /*#__PURE__*/(0,react_namespaceObject.css)("color:", theme.colors.greyDarker, ";" + ( true ? "" : 0), true ? "" : 0)),
|
|
9863
|
-
tertiary:
|
|
9916
|
+
tertiary: transparentVariant,
|
|
9864
9917
|
error: theme => makeSolidVariant(theme, 'error'),
|
|
9865
9918
|
warning: theme => makeSolidVariant(theme, 'warning'),
|
|
9866
9919
|
success: theme => makeSolidVariant(theme, 'success')
|
|
@@ -9878,16 +9931,16 @@ const WHITE_TEXT_VARIANTS = new Set(['primary', 'error', 'warning', 'success']);
|
|
|
9878
9931
|
/**
|
|
9879
9932
|
* Button - Interactive button component for user actions.
|
|
9880
9933
|
*
|
|
9881
|
-
* Variant colors are driven entirely by `theme.palette` — each
|
|
9882
|
-
* `palette.<variant>.main`
|
|
9883
|
-
*
|
|
9884
|
-
*
|
|
9885
|
-
* affecting other components.
|
|
9934
|
+
* Variant colors are driven entirely by `theme.palette` for solid variants — each
|
|
9935
|
+
* reads `palette.<variant>.main` (default), `palette.<variant>.dark` (hover/active),
|
|
9936
|
+
* `palette.<variant>.light` (focus). Override any palette entry in a custom theme
|
|
9937
|
+
* to restyle a variant without affecting other components.
|
|
9886
9938
|
*
|
|
9887
|
-
* ### Variants (default: `
|
|
9939
|
+
* ### Variants (default: `custom`)
|
|
9940
|
+
* - `custom` — transparent, dark text; recommended for low-emphasis actions (default)
|
|
9888
9941
|
* - `primary` — blue, high emphasis, white text
|
|
9889
9942
|
* - `secondary` — grey, medium emphasis, dark text
|
|
9890
|
-
* - `tertiary` —
|
|
9943
|
+
* - `tertiary` — legacy; same as custom; prefer `custom` instead
|
|
9891
9944
|
* - `error` — red, destructive actions, white text
|
|
9892
9945
|
* - `warning` — orange, caution actions, white text
|
|
9893
9946
|
* - `success` — green, confirmation actions, white text
|
|
@@ -9897,7 +9950,7 @@ const WHITE_TEXT_VARIANTS = new Set(['primary', 'error', 'warning', 'success']);
|
|
|
9897
9950
|
*
|
|
9898
9951
|
* @example
|
|
9899
9952
|
* ```tsx
|
|
9900
|
-
* // No variant passed →
|
|
9953
|
+
* // No variant passed → custom (transparent, recommended)
|
|
9901
9954
|
* <Button text="Cancel" onClick={handleCancel} />
|
|
9902
9955
|
* ```
|
|
9903
9956
|
*
|
|
@@ -9944,7 +9997,7 @@ const Button = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(functi
|
|
|
9944
9997
|
endIcon,
|
|
9945
9998
|
startIconClassName,
|
|
9946
9999
|
endIconClassName,
|
|
9947
|
-
variant = '
|
|
10000
|
+
variant = 'custom',
|
|
9948
10001
|
type = 'button',
|
|
9949
10002
|
className,
|
|
9950
10003
|
isDisabled,
|
|
@@ -9956,7 +10009,7 @@ const Button = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(functi
|
|
|
9956
10009
|
throw new Error('Button must have either text or icon or children');
|
|
9957
10010
|
}
|
|
9958
10011
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
9959
|
-
const appliedVariantStyle = (variantStyles[variant] ?? variantStyles.
|
|
10012
|
+
const appliedVariantStyle = (variantStyles[variant] ?? variantStyles.custom)(theme);
|
|
9960
10013
|
const resolveTextNode = () => {
|
|
9961
10014
|
if (!text) return null;
|
|
9962
10015
|
if (isDisabled) return (0,jsx_runtime_namespaceObject.jsx)(DisabledButtonText, {
|
|
@@ -11704,6 +11757,36 @@ const EmployeeTerminated = ({
|
|
|
11704
11757
|
})]
|
|
11705
11758
|
});
|
|
11706
11759
|
const EmployeeTerminated_ICON_NAME = 'employee-terminated';
|
|
11760
|
+
;// ./src/components/Icon/icons/EmployeeBlackboard.tsx
|
|
11761
|
+
|
|
11762
|
+
const EmployeeBlackboard = ({
|
|
11763
|
+
fill = '#000',
|
|
11764
|
+
size = 24,
|
|
11765
|
+
tooltip = 'Employee Blackboard',
|
|
11766
|
+
...props
|
|
11767
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11768
|
+
width: `${size}px`,
|
|
11769
|
+
height: `${size}px`,
|
|
11770
|
+
viewBox: "0 0 24 24",
|
|
11771
|
+
fill: "none",
|
|
11772
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11773
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11774
|
+
...props,
|
|
11775
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11776
|
+
children: tooltip
|
|
11777
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11778
|
+
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",
|
|
11779
|
+
fill: fill,
|
|
11780
|
+
fillOpacity: 0.8
|
|
11781
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11782
|
+
fillRule: "evenodd",
|
|
11783
|
+
clipRule: "evenodd",
|
|
11784
|
+
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",
|
|
11785
|
+
fill: fill,
|
|
11786
|
+
fillOpacity: 0.8
|
|
11787
|
+
})]
|
|
11788
|
+
});
|
|
11789
|
+
const EmployeeBlackboard_ICON_NAME = 'employee-blackboard';
|
|
11707
11790
|
;// ./src/components/Icon/icons/ExcelDownload.tsx
|
|
11708
11791
|
|
|
11709
11792
|
const ExcelDownload = ({
|
|
@@ -11761,6 +11844,96 @@ const Export = ({
|
|
|
11761
11844
|
})]
|
|
11762
11845
|
});
|
|
11763
11846
|
const Export_ICON_NAME = 'export';
|
|
11847
|
+
;// ./src/components/Icon/icons/FileMark.tsx
|
|
11848
|
+
|
|
11849
|
+
const FileMark = ({
|
|
11850
|
+
fill = '#000',
|
|
11851
|
+
size = 24,
|
|
11852
|
+
tooltip = 'File Mark',
|
|
11853
|
+
...props
|
|
11854
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11855
|
+
width: `${size}px`,
|
|
11856
|
+
height: `${size}px`,
|
|
11857
|
+
viewBox: "0 0 24 24",
|
|
11858
|
+
fill: "none",
|
|
11859
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11860
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11861
|
+
...props,
|
|
11862
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11863
|
+
children: tooltip
|
|
11864
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11865
|
+
fillRule: "evenodd",
|
|
11866
|
+
clipRule: "evenodd",
|
|
11867
|
+
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",
|
|
11868
|
+
fill: fill
|
|
11869
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11870
|
+
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",
|
|
11871
|
+
fill: fill
|
|
11872
|
+
})]
|
|
11873
|
+
});
|
|
11874
|
+
const FileMark_ICON_NAME = 'file-mark';
|
|
11875
|
+
;// ./src/components/Icon/icons/FilePdf.tsx
|
|
11876
|
+
|
|
11877
|
+
const FilePdf = ({
|
|
11878
|
+
fill = '#000',
|
|
11879
|
+
size = 24,
|
|
11880
|
+
tooltip = 'File PDF',
|
|
11881
|
+
...props
|
|
11882
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11883
|
+
width: `${size}px`,
|
|
11884
|
+
height: `${size}px`,
|
|
11885
|
+
viewBox: "0 0 24 24",
|
|
11886
|
+
fill: "none",
|
|
11887
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11888
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11889
|
+
...props,
|
|
11890
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11891
|
+
children: tooltip
|
|
11892
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11893
|
+
fillRule: "evenodd",
|
|
11894
|
+
clipRule: "evenodd",
|
|
11895
|
+
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",
|
|
11896
|
+
fill: fill,
|
|
11897
|
+
fillOpacity: 0.8
|
|
11898
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11899
|
+
fillRule: "evenodd",
|
|
11900
|
+
clipRule: "evenodd",
|
|
11901
|
+
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",
|
|
11902
|
+
fill: fill,
|
|
11903
|
+
fillOpacity: 0.8
|
|
11904
|
+
})]
|
|
11905
|
+
});
|
|
11906
|
+
const FilePdf_ICON_NAME = 'file-pdf';
|
|
11907
|
+
;// ./src/components/Icon/icons/FileWord.tsx
|
|
11908
|
+
|
|
11909
|
+
const FileWord = ({
|
|
11910
|
+
fill = '#000',
|
|
11911
|
+
size = 24,
|
|
11912
|
+
tooltip = 'File Word',
|
|
11913
|
+
...props
|
|
11914
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
11915
|
+
width: `${size}px`,
|
|
11916
|
+
height: `${size}px`,
|
|
11917
|
+
viewBox: "0 0 24 24",
|
|
11918
|
+
fill: "none",
|
|
11919
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11920
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
11921
|
+
...props,
|
|
11922
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
11923
|
+
children: tooltip
|
|
11924
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11925
|
+
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",
|
|
11926
|
+
fill: fill,
|
|
11927
|
+
fillOpacity: 0.8
|
|
11928
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
11929
|
+
fillRule: "evenodd",
|
|
11930
|
+
clipRule: "evenodd",
|
|
11931
|
+
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",
|
|
11932
|
+
fill: fill,
|
|
11933
|
+
fillOpacity: 0.8
|
|
11934
|
+
})]
|
|
11935
|
+
});
|
|
11936
|
+
const FileWord_ICON_NAME = 'file-word';
|
|
11764
11937
|
;// ./src/components/Icon/icons/Filter.tsx
|
|
11765
11938
|
|
|
11766
11939
|
const Filter = ({
|
|
@@ -13059,6 +13232,30 @@ const Settings = ({
|
|
|
13059
13232
|
})]
|
|
13060
13233
|
});
|
|
13061
13234
|
const Settings_ICON_NAME = 'settings';
|
|
13235
|
+
;// ./src/components/Icon/icons/SettingClock.tsx
|
|
13236
|
+
|
|
13237
|
+
const SettingClock = ({
|
|
13238
|
+
fill = '#000',
|
|
13239
|
+
size = 24,
|
|
13240
|
+
tooltip = 'Setting clock',
|
|
13241
|
+
...props
|
|
13242
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
13243
|
+
width: `${size}px`,
|
|
13244
|
+
height: `${size}px`,
|
|
13245
|
+
viewBox: "0 0 16 16",
|
|
13246
|
+
fill: "none",
|
|
13247
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13248
|
+
...props,
|
|
13249
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
13250
|
+
children: tooltip
|
|
13251
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
13252
|
+
fillRule: "evenodd",
|
|
13253
|
+
clipRule: "evenodd",
|
|
13254
|
+
d: "M8.54277 0.0507812C9.14723 0.0507812 9.67856 0.437658 9.86211 1.01074L10.1336 1.85547C10.2657 2.26753 10.5743 2.58935 10.9461 2.79785C11.002 2.82923 11.0573 2.86237 11.1121 2.89551C11.4771 3.11622 11.9109 3.22652 12.3377 3.13965L13.2146 2.95996C13.8086 2.83888 14.4078 3.11082 14.7029 3.63379L15.1443 4.41602C15.4393 4.93909 15.3641 5.59721 14.9568 6.0498L14.3562 6.71875C14.0646 7.04303 13.9352 7.4734 13.9363 7.90137C13.9365 7.96627 13.9362 8.03177 13.9344 8.09668C13.9221 8.52458 14.0394 8.95659 14.323 9.28125L14.907 9.94922C15.3015 10.4011 15.3598 11.0593 15.0506 11.583L14.5887 12.3652C14.2792 12.8889 13.6713 13.1602 13.0809 13.0391L12.2098 12.8604C11.7848 12.7732 11.348 12.8837 10.9773 13.1045C10.9217 13.1376 10.8651 13.1698 10.8084 13.2012C10.4316 13.4095 10.1151 13.731 9.97246 14.1426L9.67949 14.9883C9.48055 15.5619 8.93823 15.9492 8.33379 15.9492H7.43046C6.82619 15.9492 6.29478 15.5621 6.11113 14.9893L5.84062 14.1436C5.70855 13.7315 5.39986 13.4097 5.02812 13.2012C4.9721 13.1697 4.91598 13.1377 4.86113 13.1045C4.49604 12.8837 4.06248 12.7733 3.63554 12.8604L2.75859 13.0391C2.16492 13.16 1.56545 12.8888 1.27031 12.3662L0.828902 11.584C0.533796 11.061 0.609386 10.4029 1.0164 9.9502L1.61796 9.28125C1.90953 8.95715 2.03793 8.5264 2.03691 8.09863C2.03673 8.03363 2.03699 7.96735 2.03886 7.90234C2.05116 7.47453 1.93469 7.0434 1.65117 6.71875L1.06718 6.05078C0.672554 5.59912 0.613806 4.94077 0.922652 4.41699L1.38457 3.63477C1.69397 3.11079 2.30181 2.8388 2.89238 2.95996L3.76347 3.13965C4.1883 3.22681 4.62536 3.11609 4.99589 2.89551C5.05147 2.8624 5.10814 2.83018 5.16484 2.79883C5.54154 2.59061 5.85793 2.26874 6.00078 1.85742L6.29375 1.01172C6.49251 0.438004 7.035 0.0510025 7.63945 0.0507812H8.54277ZM7.62578 1.04102C7.44804 1.04107 7.28875 1.15501 7.23027 1.32324L6.9373 2.16895C6.69519 2.86734 6.17663 3.36445 5.63457 3.66406C5.58737 3.69016 5.54022 3.71755 5.49394 3.74512C4.96063 4.06261 4.27136 4.25792 3.55156 4.11035L2.67949 3.93066C2.5055 3.89506 2.32687 3.97527 2.23613 4.12891L1.77421 4.91113C1.6837 5.06485 1.70061 5.25911 1.81718 5.39258L2.40117 6.06152C2.8808 6.61075 3.04789 7.3002 3.03007 7.91699C3.0285 7.97145 3.02797 8.0266 3.02812 8.08105C3.02972 8.69786 2.84504 9.38882 2.35039 9.93848L1.74882 10.6064C1.62957 10.7392 1.607 10.9335 1.69414 11.0879L2.13554 11.8701C2.22288 12.0242 2.39965 12.1038 2.57402 12.0684L3.45097 11.8896C4.17503 11.742 4.85889 11.9374 5.38359 12.2549C5.42928 12.2825 5.47561 12.3098 5.52226 12.3359C6.05612 12.6354 6.56133 13.1312 6.78496 13.8291L7.05546 14.6748C7.10979 14.8438 7.26716 14.958 7.44511 14.958H8.34746C8.52523 14.958 8.68445 14.844 8.74296 14.6758L9.03593 13.8311C9.27793 13.1326 9.7966 12.6356 10.3387 12.3359C10.3859 12.3098 10.4329 12.2825 10.4793 12.2549C11.0128 11.9371 11.7025 11.7419 12.4227 11.8896L13.2937 12.0684C13.4675 12.104 13.6462 12.0243 13.7371 11.8711L14.199 11.0889C14.2898 10.9352 14.2725 10.741 14.1561 10.6074L13.5721 9.93848C13.0925 9.38943 12.9255 8.69969 12.9432 8.08301C12.9447 8.02845 12.9462 7.97254 12.9461 7.91797C12.9445 7.30127 13.1294 6.61115 13.6238 6.06152L14.2244 5.39355C14.3438 5.26089 14.367 5.06657 14.2801 4.91211L13.8387 4.12988C13.7514 3.97528 13.5739 3.89506 13.3992 3.93066L12.5232 4.11035C11.7992 4.25805 11.1144 4.06255 10.5896 3.74512C10.544 3.7175 10.4976 3.69021 10.451 3.66406C9.91715 3.3646 9.4129 2.86779 9.18925 2.16992L8.91777 1.3252C8.86358 1.156 8.70713 1.04114 8.5291 1.04102H7.62578ZM7.93339 3.75098C8.26891 3.75118 8.51636 4.03464 8.5164 4.35352V7.89062L10.5613 9.12695C10.8405 9.29597 10.9275 9.66069 10.7762 9.94141C10.6205 10.2294 10.2598 10.3423 9.97148 10.168L7.63847 8.75586C7.45612 8.64553 7.34972 8.44547 7.34941 8.23633V4.35352C7.34945 4.03456 7.59776 3.75104 7.93339 3.75098Z",
|
|
13255
|
+
fill: fill
|
|
13256
|
+
})]
|
|
13257
|
+
});
|
|
13258
|
+
const SettingClock_ICON_NAME = 'setting-clock';
|
|
13062
13259
|
;// ./src/components/Icon/icons/Signature.tsx
|
|
13063
13260
|
|
|
13064
13261
|
const Signature = ({
|
|
@@ -13596,25 +13793,17 @@ const Visible = ({
|
|
|
13596
13793
|
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
13597
13794
|
width: `${size}px`,
|
|
13598
13795
|
height: `${size}px`,
|
|
13599
|
-
fill: "none",
|
|
13600
13796
|
viewBox: "0 0 24 24",
|
|
13797
|
+
fill: "none",
|
|
13601
13798
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13602
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
13603
13799
|
...props,
|
|
13604
13800
|
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
13605
13801
|
children: tooltip
|
|
13606
13802
|
}), (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"
|
|
13803
|
+
fillRule: "evenodd",
|
|
13804
|
+
clipRule: "evenodd",
|
|
13805
|
+
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",
|
|
13806
|
+
fill: fill
|
|
13618
13807
|
})]
|
|
13619
13808
|
});
|
|
13620
13809
|
const Visible_ICON_NAME = 'visible';
|
|
@@ -13867,6 +14056,16 @@ const Warning_ICON_NAME = 'warning';
|
|
|
13867
14056
|
|
|
13868
14057
|
|
|
13869
14058
|
|
|
14059
|
+
|
|
14060
|
+
|
|
14061
|
+
|
|
14062
|
+
|
|
14063
|
+
|
|
14064
|
+
|
|
14065
|
+
|
|
14066
|
+
|
|
14067
|
+
|
|
14068
|
+
|
|
13870
14069
|
|
|
13871
14070
|
|
|
13872
14071
|
|
|
@@ -14739,22 +14938,22 @@ const success = theme => /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
|
14739
14938
|
stroke: theme.palette.success.main
|
|
14740
14939
|
}
|
|
14741
14940
|
}, true ? "" : 0, true ? "" : 0);
|
|
14742
|
-
var
|
|
14941
|
+
var styles_ref = true ? {
|
|
14743
14942
|
name: "0",
|
|
14744
14943
|
styles: ""
|
|
14745
14944
|
} : 0;
|
|
14746
|
-
const custom = () =>
|
|
14945
|
+
const custom = () => styles_ref;
|
|
14747
14946
|
const inputStatus = true ? {
|
|
14748
14947
|
name: "1g5wypb",
|
|
14749
14948
|
styles: "position:absolute;top:34%;right:14px;display:flex;justify-content:center;align-items:center;border-radius:10px;width:14px;height:14px"
|
|
14750
14949
|
} : 0;
|
|
14751
14950
|
const styles_startElement = true ? {
|
|
14752
|
-
name: "
|
|
14753
|
-
styles: "position:absolute;top:0;left:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px"
|
|
14951
|
+
name: "17ilj1r",
|
|
14952
|
+
styles: "position:absolute;top:0;left:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px;button{padding:0;}"
|
|
14754
14953
|
} : 0;
|
|
14755
14954
|
const styles_endElement = true ? {
|
|
14756
|
-
name: "
|
|
14757
|
-
styles: "position:absolute;top:0;right:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px"
|
|
14955
|
+
name: "9awk5g",
|
|
14956
|
+
styles: "position:absolute;top:0;right:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px;button{padding:0;}"
|
|
14758
14957
|
} : 0;
|
|
14759
14958
|
;// ./src/components/Input/InputStatusError.tsx
|
|
14760
14959
|
|
|
@@ -16833,7 +17032,8 @@ const DropdownContext = /*#__PURE__*/external_react_namespaceObject.createContex
|
|
|
16833
17032
|
activeItem: null,
|
|
16834
17033
|
onChange: () => {
|
|
16835
17034
|
/* noop */
|
|
16836
|
-
}
|
|
17035
|
+
},
|
|
17036
|
+
maxHeight: 200
|
|
16837
17037
|
});
|
|
16838
17038
|
function useDropdownContext() {
|
|
16839
17039
|
return external_react_namespaceObject.useContext(DropdownContext);
|
|
@@ -16876,7 +17076,9 @@ const DropdownOptionsBase = /*#__PURE__*/base_default()("ul", true ? {
|
|
|
16876
17076
|
target: "e1qg2z4z0"
|
|
16877
17077
|
} : 0)("position:absolute;width:100%;min-width:max-content;list-style:none;margin:4px 0 0;padding:0;background:", ({
|
|
16878
17078
|
theme
|
|
16879
|
-
}) => theme.colors.white, ";border-radius:8px;max-height:
|
|
17079
|
+
}) => theme.colors.white, ";border-radius:8px;max-height:", ({
|
|
17080
|
+
maxHeight = 200
|
|
17081
|
+
}) => maxHeight, "px;overflow:hidden auto;z-index:2;filter:", ({
|
|
16880
17082
|
theme
|
|
16881
17083
|
}) => `drop-shadow(-4px 4px 14px ${theme.colors.greyDarker14})`, ";backdrop-filter:", ({
|
|
16882
17084
|
theme
|
|
@@ -16932,7 +17134,8 @@ const DropdownOptions = ({
|
|
|
16932
17134
|
}) => {
|
|
16933
17135
|
const {
|
|
16934
17136
|
onChange,
|
|
16935
|
-
activeItem
|
|
17137
|
+
activeItem,
|
|
17138
|
+
maxHeight
|
|
16936
17139
|
} = useDropdownContext();
|
|
16937
17140
|
const childrenArray = external_react_default().Children.toArray(children).filter(Boolean);
|
|
16938
17141
|
|
|
@@ -16970,6 +17173,7 @@ const DropdownOptions = ({
|
|
|
16970
17173
|
tabindex: "-1",
|
|
16971
17174
|
id: id,
|
|
16972
17175
|
"aria-labelledby": ariaLabelledby,
|
|
17176
|
+
maxHeight: maxHeight,
|
|
16973
17177
|
children: options
|
|
16974
17178
|
});
|
|
16975
17179
|
};
|
|
@@ -17140,6 +17344,7 @@ const Dropdown = ({
|
|
|
17140
17344
|
onChange: handleChange,
|
|
17141
17345
|
className,
|
|
17142
17346
|
placeholder = 'Select something',
|
|
17347
|
+
maxHeight = 200,
|
|
17143
17348
|
dropdownProps: componentProps
|
|
17144
17349
|
}) => {
|
|
17145
17350
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
@@ -17195,8 +17400,9 @@ const Dropdown = ({
|
|
|
17195
17400
|
});
|
|
17196
17401
|
const contextValue = external_react_default().useMemo(() => ({
|
|
17197
17402
|
onChange,
|
|
17198
|
-
activeItem
|
|
17199
|
-
|
|
17403
|
+
activeItem,
|
|
17404
|
+
maxHeight
|
|
17405
|
+
}), [onChange, activeItem, maxHeight]);
|
|
17200
17406
|
const value = activeItem ? activeItem.label || activeItem.children || activeItem.value || activeItem || placeholder : placeholder;
|
|
17201
17407
|
const rawAvatar = activeItem && activeItem.avatar;
|
|
17202
17408
|
const selectedAvatar = rawAvatar != null ? typeof rawAvatar === 'string' ? (0,jsx_runtime_namespaceObject.jsx)(Avatar_Avatar, {
|
|
@@ -17255,7 +17461,8 @@ const MultipleDropdownContext = /*#__PURE__*/external_react_namespaceObject.crea
|
|
|
17255
17461
|
isMultiple: false,
|
|
17256
17462
|
onChange: () => {
|
|
17257
17463
|
/* noop */
|
|
17258
|
-
}
|
|
17464
|
+
},
|
|
17465
|
+
maxHeight: 200
|
|
17259
17466
|
});
|
|
17260
17467
|
function useMultipleDropdownContext() {
|
|
17261
17468
|
return external_react_namespaceObject.useContext(MultipleDropdownContext);
|
|
@@ -17272,7 +17479,9 @@ function MultipleDropdownOptions_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You
|
|
|
17272
17479
|
|
|
17273
17480
|
const MultipleDropdownOptions_DropdownOptionsBase = /*#__PURE__*/base_default()("ul", true ? {
|
|
17274
17481
|
target: "e1ckq94i1"
|
|
17275
|
-
} : 0)("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;
|
|
17482
|
+
} : 0)("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;max-height:", ({
|
|
17483
|
+
maxHeight = 200
|
|
17484
|
+
}) => maxHeight, "px;overflow:hidden auto;z-index:1;filter:", ({
|
|
17276
17485
|
theme
|
|
17277
17486
|
}) => `drop-shadow(-4px 4px 14px ${theme.colors.greyDarker14})`, ";backdrop-filter:", ({
|
|
17278
17487
|
theme
|
|
@@ -17327,7 +17536,8 @@ const MultipleDropdownOptions = ({
|
|
|
17327
17536
|
const {
|
|
17328
17537
|
onChange,
|
|
17329
17538
|
allItems,
|
|
17330
|
-
isMultiple
|
|
17539
|
+
isMultiple,
|
|
17540
|
+
maxHeight
|
|
17331
17541
|
} = useMultipleDropdownContext();
|
|
17332
17542
|
const toggleItem = (value, isDisabled) => {
|
|
17333
17543
|
if (!isDisabled) {
|
|
@@ -17379,6 +17589,7 @@ const MultipleDropdownOptions = ({
|
|
|
17379
17589
|
tabindex: "-1",
|
|
17380
17590
|
id: id,
|
|
17381
17591
|
"aria-labelledby": ariaLabelledby,
|
|
17592
|
+
maxHeight: maxHeight,
|
|
17382
17593
|
children: options
|
|
17383
17594
|
});
|
|
17384
17595
|
};
|
|
@@ -17524,7 +17735,8 @@ function MultipleDropdownInner({
|
|
|
17524
17735
|
label,
|
|
17525
17736
|
children,
|
|
17526
17737
|
onChange: handleChange,
|
|
17527
|
-
className
|
|
17738
|
+
className,
|
|
17739
|
+
maxHeight = 200
|
|
17528
17740
|
}, ref) {
|
|
17529
17741
|
const dropdownBaseRef = (0,external_react_namespaceObject.useRef)(null);
|
|
17530
17742
|
const dropdownId = (0,external_react_namespaceObject.useId)();
|
|
@@ -17594,8 +17806,9 @@ function MultipleDropdownInner({
|
|
|
17594
17806
|
const contextValue = external_react_default().useMemo(() => ({
|
|
17595
17807
|
onChange,
|
|
17596
17808
|
allItems: optionsWithKey,
|
|
17597
|
-
isMultiple
|
|
17598
|
-
|
|
17809
|
+
isMultiple,
|
|
17810
|
+
maxHeight
|
|
17811
|
+
}), [onChange, optionsWithKey, isMultiple, maxHeight]);
|
|
17599
17812
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
17600
17813
|
const newValues = getActiveItems({
|
|
17601
17814
|
allItems: optionsWithKey,
|
|
@@ -20647,6 +20860,64 @@ const DatePickerContent = () => {
|
|
|
20647
20860
|
|
|
20648
20861
|
|
|
20649
20862
|
|
|
20863
|
+
/**
|
|
20864
|
+
* DatePicker — masked date input with a popover calendar. Use inside **`FormProvider`**
|
|
20865
|
+
* (react-hook-form): the field value is the formatted string; **`onChange`** receives a
|
|
20866
|
+
* JavaScript **`Date`** (or undefined when cleared). Supports **day**, **month**, or **year**
|
|
20867
|
+
* granularity via **`pickerType`**, **`mm/dd/yyyy`** / **`dd/mm/yyyy`** / **`mm/yyyy`** / **`yyyy`**
|
|
20868
|
+
* formats, optional **min/max** bounds, and **openCalendarMode** (icon, input, or both).
|
|
20869
|
+
*
|
|
20870
|
+
* ### Behavior notes
|
|
20871
|
+
* - Parsing and display use **Luxon**; the form stores the string matching **`format`**.
|
|
20872
|
+
* - Validation runs when the mask is complete or on **blur**; errors surface through
|
|
20873
|
+
* react-hook-form and **`onError`**.
|
|
20874
|
+
* - **`highlightDates`** helps range UIs by styling days between two dates.
|
|
20875
|
+
*
|
|
20876
|
+
* @category Components
|
|
20877
|
+
* @subcategory Form Controls
|
|
20878
|
+
*
|
|
20879
|
+
* @example
|
|
20880
|
+
* ```tsx
|
|
20881
|
+
* import { FormProvider, useForm } from 'react-hook-form';
|
|
20882
|
+
* import { DatePicker } from '@ssa-ui-kit/core';
|
|
20883
|
+
*
|
|
20884
|
+
* function Example() {
|
|
20885
|
+
* const methods = useForm({ defaultValues: { startDate: '' } });
|
|
20886
|
+
* return (
|
|
20887
|
+
* <FormProvider {...methods}>
|
|
20888
|
+
* <DatePicker
|
|
20889
|
+
* name="startDate"
|
|
20890
|
+
* label="Start date"
|
|
20891
|
+
* format="mm/dd/yyyy"
|
|
20892
|
+
* onChange={(date) => console.log(date)}
|
|
20893
|
+
* />
|
|
20894
|
+
* </FormProvider>
|
|
20895
|
+
* );
|
|
20896
|
+
* }
|
|
20897
|
+
* ```
|
|
20898
|
+
*
|
|
20899
|
+
* @example
|
|
20900
|
+
* ```tsx
|
|
20901
|
+
* // Month picker (mm/yyyy) with bounds
|
|
20902
|
+
* <DatePicker
|
|
20903
|
+
* name="period"
|
|
20904
|
+
* label="Period"
|
|
20905
|
+
* pickerType="months"
|
|
20906
|
+
* dateMin="01/2020"
|
|
20907
|
+
* dateMax="12/2030"
|
|
20908
|
+
* onChange={(d) => {}}
|
|
20909
|
+
* />
|
|
20910
|
+
* ```
|
|
20911
|
+
*
|
|
20912
|
+
* @see {@link Input} — Underlying text field
|
|
20913
|
+
* @see {@link Popover} — Calendar overlay
|
|
20914
|
+
*
|
|
20915
|
+
* @accessibility
|
|
20916
|
+
* - Label is associated with the input via **`htmlFor`** / **`id`**
|
|
20917
|
+
* - Calendar days use **`aria-disabled`** and **`aria-label`** where applicable
|
|
20918
|
+
* - Icon trigger exposes **`aria-label="Calendar"`**
|
|
20919
|
+
*/
|
|
20920
|
+
|
|
20650
20921
|
const DatePickerInner = ({
|
|
20651
20922
|
format,
|
|
20652
20923
|
openCalendarMode = 'icon',
|
|
@@ -20665,9 +20936,18 @@ const DatePicker = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(Da
|
|
|
20665
20936
|
|
|
20666
20937
|
|
|
20667
20938
|
;// ./src/components/DateRangePicker/constants.ts
|
|
20939
|
+
/**
|
|
20940
|
+
* Default formats, masks, bounds, and validation messages for **DateRangePicker**
|
|
20941
|
+
* (aligned with **DatePicker** constants for shared behavior).
|
|
20942
|
+
*/
|
|
20943
|
+
|
|
20944
|
+
/** Default US day format (`mm/dd/yyyy`). Re-exported from the package barrel. */
|
|
20668
20945
|
const constants_DEFAULT_MASK_FORMAT = 'mm/dd/yyyy';
|
|
20946
|
+
/** Default European day format (`dd/mm/yyyy`). Re-exported from the package barrel. */
|
|
20669
20947
|
const DEFAULT_EUROPEAN_MASK_FORMAT = 'dd/mm/yyyy';
|
|
20948
|
+
/** Default month format (`mm/yyyy`). Re-exported from the package barrel. */
|
|
20670
20949
|
const constants_DEFAULT_MONTH_MASK_FORMAT = 'mm/yyyy';
|
|
20950
|
+
/** Default year-only format (`yyyy`). Re-exported from the package barrel. */
|
|
20671
20951
|
const constants_DEFAULT_YEAR_MASK_FORMAT = 'yyyy';
|
|
20672
20952
|
const constants_DEFAULT_MASK = '__/__/____';
|
|
20673
20953
|
const constants_DEFAULT_MONTH_MASK = '__/____';
|
|
@@ -21713,12 +21993,16 @@ const Header = () => {
|
|
|
21713
21993
|
const PRESENT_VALUE = 'Present';
|
|
21714
21994
|
|
|
21715
21995
|
/**
|
|
21716
|
-
*
|
|
21996
|
+
* Form-side shape: **start** / **end** strings in **`outputFormat`**; **end** may be **`PRESENT_VALUE`**
|
|
21997
|
+
* when the user chose **Present** (maps to **`null`** inside **DateRangePicker**).
|
|
21998
|
+
*/
|
|
21999
|
+
|
|
22000
|
+
/**
|
|
22001
|
+
* Props for **DateRangePickerFormBridge** — adapter between string-based forms and **DateRangePicker**.
|
|
21717
22002
|
*
|
|
21718
|
-
*
|
|
21719
|
-
* -
|
|
21720
|
-
* -
|
|
21721
|
-
* - Used by DateRangeField (RJSF); can be used by other form builders
|
|
22003
|
+
* - Keeps **DateRangePicker** on **inputFormat** and **`null`** for Present
|
|
22004
|
+
* - Converts **outputFormat** storage ↔ display **inputFormat**
|
|
22005
|
+
* - Used by **DateRangeField** (RJSF) and similar builders
|
|
21722
22006
|
*/
|
|
21723
22007
|
|
|
21724
22008
|
/**
|
|
@@ -21765,6 +22049,26 @@ function formValueToPickerDefault(source, outputFormat, inputFormat) {
|
|
|
21765
22049
|
}
|
|
21766
22050
|
return undefined;
|
|
21767
22051
|
}
|
|
22052
|
+
|
|
22053
|
+
/**
|
|
22054
|
+
* Wraps **DateRangePicker** with an internal **FormProvider** and converts between
|
|
22055
|
+
* **`outputFormat`** (form storage) and **`inputFormat`** (picker display). Maps **`null`** ↔
|
|
22056
|
+
* **`PRESENT_VALUE`** for the end date only.
|
|
22057
|
+
*
|
|
22058
|
+
* @category Components
|
|
22059
|
+
* @subcategory Form Controls
|
|
22060
|
+
*
|
|
22061
|
+
* @example
|
|
22062
|
+
* ```tsx
|
|
22063
|
+
* <DateRangePickerFormBridge
|
|
22064
|
+
* name="contract"
|
|
22065
|
+
* outputFormat="yyyy-MM-dd"
|
|
22066
|
+
* inputFormat="mm/dd/yyyy"
|
|
22067
|
+
* value={{ start: '2024-01-01', end: 'Present' }}
|
|
22068
|
+
* onChange={(v) => save(v)}
|
|
22069
|
+
* />
|
|
22070
|
+
* ```
|
|
22071
|
+
*/
|
|
21768
22072
|
const DateRangePickerFormBridge = ({
|
|
21769
22073
|
value,
|
|
21770
22074
|
defaultValue: defaultValueProp,
|
|
@@ -22890,6 +23194,58 @@ const DateRangePickerProvider = ({
|
|
|
22890
23194
|
|
|
22891
23195
|
|
|
22892
23196
|
|
|
23197
|
+
/**
|
|
23198
|
+
* DateRangePicker — two masked inputs (**from** / **to**) with a shared popover calendar and
|
|
23199
|
+
* **react-hook-form** fields **`${name}From`** and **`${name}To`** inside **`FormProvider`**.
|
|
23200
|
+
* **`onChange`** emits **`[start, end]`** as **`Date`**, **`undefined`**, or **`null`** on the **end**
|
|
23201
|
+
* only for **“Present”** (open-ended range) when **`showPresentOption`** is enabled.
|
|
23202
|
+
*
|
|
23203
|
+
* ### Behavior notes
|
|
23204
|
+
* - **Luxon** parses strings; the form stores **formatted strings** per **format** / **rangePickerType**.
|
|
23205
|
+
* - Calendar selection uses a **start → end** step; **`allowReverseSelection`** can swap inverted picks.
|
|
23206
|
+
* - Use **`DateRangePickerFormBridge`** when the form stores **ISO** strings and **`PRESENT_VALUE`**
|
|
23207
|
+
* for Present (string-safe schemas).
|
|
23208
|
+
*
|
|
23209
|
+
* @category Components
|
|
23210
|
+
* @subcategory Form Controls
|
|
23211
|
+
*
|
|
23212
|
+
* @example
|
|
23213
|
+
* ```tsx
|
|
23214
|
+
* import { FormProvider, useForm } from 'react-hook-form';
|
|
23215
|
+
* import { DateRangePicker } from '@ssa-ui-kit/core';
|
|
23216
|
+
*
|
|
23217
|
+
* function Example() {
|
|
23218
|
+
* const methods = useForm({
|
|
23219
|
+
* defaultValues: { tripFrom: '', tripTo: '' },
|
|
23220
|
+
* });
|
|
23221
|
+
* return (
|
|
23222
|
+
* <FormProvider {...methods}>
|
|
23223
|
+
* <DateRangePicker
|
|
23224
|
+
* name="trip"
|
|
23225
|
+
* label="Trip dates"
|
|
23226
|
+
* onChange={(dates) => console.log(dates)}
|
|
23227
|
+
* />
|
|
23228
|
+
* </FormProvider>
|
|
23229
|
+
* );
|
|
23230
|
+
* }
|
|
23231
|
+
* ```
|
|
23232
|
+
*
|
|
23233
|
+
* @example
|
|
23234
|
+
* ```tsx
|
|
23235
|
+
* // Open-ended end date: `to === null` means Present
|
|
23236
|
+
* <DateRangePicker name="job" showPresentOption onChange={() => {}} />
|
|
23237
|
+
* ```
|
|
23238
|
+
*
|
|
23239
|
+
* @see {@link Input} — Masked inputs
|
|
23240
|
+
* @see {@link Popover} — Calendar overlay
|
|
23241
|
+
* @see {@link DateRangePickerFormBridge} — ISO / string form adapter
|
|
23242
|
+
*
|
|
23243
|
+
* @accessibility
|
|
23244
|
+
* - **Field** label associates with the focused input
|
|
23245
|
+
* - Calendar controls reuse **aria-** patterns from day/month/year views
|
|
23246
|
+
* - Calendar trigger uses an **aria-label** on the icon button
|
|
23247
|
+
*/
|
|
23248
|
+
|
|
22893
23249
|
const DateRangePicker = ({
|
|
22894
23250
|
format,
|
|
22895
23251
|
showCalendarIcon = true,
|
|
@@ -26218,11 +26574,12 @@ const ArrayFieldItemTemplate = props => {
|
|
|
26218
26574
|
RemoveButton
|
|
26219
26575
|
} = registry.templates.ButtonTemplates;
|
|
26220
26576
|
const {
|
|
26221
|
-
toolbarAlign = '
|
|
26577
|
+
toolbarAlign = 'flex-end'
|
|
26222
26578
|
} = registry.formContext;
|
|
26223
26579
|
const buttonCss = {
|
|
26224
26580
|
width: '32px',
|
|
26225
26581
|
height: '32px',
|
|
26582
|
+
marginBottom: '8px',
|
|
26226
26583
|
justifyContent: 'center'
|
|
26227
26584
|
};
|
|
26228
26585
|
return (0,jsx_runtime_namespaceObject.jsxs)(Wrapper_Wrapper, {
|
|
@@ -28175,15 +28532,24 @@ const Chip_styles_large = true ? {
|
|
|
28175
28532
|
styles: "height:40px;padding:6px 16px;font-size:16px;line-height:24px"
|
|
28176
28533
|
} : 0;
|
|
28177
28534
|
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.
|
|
28535
|
+
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
28536
|
const filled = theme => /*#__PURE__*/(0,react_namespaceObject.css)(baseFilled(theme), ";color:", theme.colors.greyDarker, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28180
28537
|
const filledDisabled = theme => /*#__PURE__*/(0,react_namespaceObject.css)(baseFilled(theme), ";color:", theme.colors.greyDisabled, ";opacity:0.6;" + ( true ? "" : 0), true ? "" : 0);
|
|
28181
28538
|
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)(
|
|
28539
|
+
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);
|
|
28540
|
+
|
|
28541
|
+
/** Hover/active bg opacity for default (grey) outlined clickable chip */
|
|
28542
|
+
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
28543
|
const clickable = true ? {
|
|
28184
28544
|
name: "1q9v0e",
|
|
28185
28545
|
styles: "cursor:pointer;transition:all 0.2s ease;&:hover{opacity:0.8;}&:active{opacity:0.7;}"
|
|
28186
28546
|
} : 0;
|
|
28547
|
+
|
|
28548
|
+
/** cursor + transition only; hover/active handled by variant (e.g. outlined bg opacity) */
|
|
28549
|
+
const clickableBase = true ? {
|
|
28550
|
+
name: "p7t14k",
|
|
28551
|
+
styles: "cursor:pointer;transition:background-color 0.2s ease,opacity 0.2s ease"
|
|
28552
|
+
} : 0;
|
|
28187
28553
|
const clickableDisabled = true ? {
|
|
28188
28554
|
name: "1sfig4b",
|
|
28189
28555
|
styles: "cursor:not-allowed"
|
|
@@ -28232,6 +28598,14 @@ const COLORS = {
|
|
|
28232
28598
|
ERROR: 'error',
|
|
28233
28599
|
WARNING: 'warning'
|
|
28234
28600
|
};
|
|
28601
|
+
|
|
28602
|
+
/** Outlined variant background opacity (light color with opacity) */
|
|
28603
|
+
const OUTLINED_BG_OPACITY = {
|
|
28604
|
+
DEFAULT: 0.08,
|
|
28605
|
+
HOVER: 0.24,
|
|
28606
|
+
ACTIVE: 0.4,
|
|
28607
|
+
DISABLED: 0.24
|
|
28608
|
+
};
|
|
28235
28609
|
const constants_mapSizes = {
|
|
28236
28610
|
small: Chip_styles_small,
|
|
28237
28611
|
medium: Chip_styles_medium,
|
|
@@ -28274,13 +28648,24 @@ const colorMap = theme => ({
|
|
|
28274
28648
|
dark: theme.palette.warning.dark
|
|
28275
28649
|
}
|
|
28276
28650
|
});
|
|
28277
|
-
const getVariantColorBlock = (theme, variant, config, disabled) => {
|
|
28651
|
+
const getVariantColorBlock = (theme, variant, config, disabled, isClickable) => {
|
|
28278
28652
|
if (variant === VARIANTS.OUTLINED) {
|
|
28279
|
-
|
|
28653
|
+
const bgDefault = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.DEFAULT * 100}%, transparent)`;
|
|
28654
|
+
const bgHover = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.HOVER * 100}%, transparent)`;
|
|
28655
|
+
const bgActive = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.ACTIVE * 100}%, transparent)`;
|
|
28656
|
+
const bgDisabled = `color-mix(in srgb, ${config.bg} ${OUTLINED_BG_OPACITY.DISABLED * 100}%, transparent)`;
|
|
28657
|
+
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 ? `
|
|
28658
|
+
&:hover {
|
|
28659
|
+
background-color: ${bgHover};
|
|
28660
|
+
}
|
|
28661
|
+
&:active {
|
|
28662
|
+
background-color: ${bgActive};
|
|
28663
|
+
}
|
|
28664
|
+
` : '', ";" + ( true ? "" : 0), true ? "" : 0);
|
|
28280
28665
|
}
|
|
28281
28666
|
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
28667
|
};
|
|
28283
|
-
const getVariantColors = (theme, variant, color, disabled) => {
|
|
28668
|
+
const getVariantColors = (theme, variant, color, disabled, isClickable = false) => {
|
|
28284
28669
|
const variantKey = variant ?? VARIANTS.FILLED;
|
|
28285
28670
|
const colorKey = color ?? COLORS.DEFAULT;
|
|
28286
28671
|
if (colorKey === COLORS.DEFAULT) {
|
|
@@ -28291,7 +28676,7 @@ const getVariantColors = (theme, variant, color, disabled) => {
|
|
|
28291
28676
|
};
|
|
28292
28677
|
}
|
|
28293
28678
|
const palette = colorMap(theme)[colorKey];
|
|
28294
|
-
const chipStyles = getVariantColorBlock(theme, variantKey, palette, disabled);
|
|
28679
|
+
const chipStyles = getVariantColorBlock(theme, variantKey, palette, disabled, isClickable);
|
|
28295
28680
|
const iconColor = (() => {
|
|
28296
28681
|
if (variantKey === VARIANTS.OUTLINED) return palette.dark;
|
|
28297
28682
|
return palette.darkText ? theme.colors.greyDarker : theme.colors.white;
|
|
@@ -28399,13 +28784,15 @@ const Chip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(function
|
|
|
28399
28784
|
...props
|
|
28400
28785
|
}, ref) {
|
|
28401
28786
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
28402
|
-
const isClickable = !disabled && (onClick || clickableProp);
|
|
28787
|
+
const isClickable = Boolean(!disabled && (onClick || clickableProp));
|
|
28403
28788
|
const hasDeleteIcon = Boolean(onDelete);
|
|
28404
28789
|
const {
|
|
28405
28790
|
chipStyles,
|
|
28406
28791
|
iconColor
|
|
28407
|
-
} = getVariantColors(theme, variant, color, disabled);
|
|
28792
|
+
} = getVariantColors(theme, variant, color, disabled, isClickable);
|
|
28408
28793
|
const sizeStyles = constants_mapSizes[size];
|
|
28794
|
+
const clickableStyles = variant === VARIANTS.OUTLINED ? clickableBase : clickable;
|
|
28795
|
+
const outlinedDefaultClickableStyles = variant === VARIANTS.OUTLINED && color === COLORS.DEFAULT && isClickable ? clickableOutlinedDefault(theme) : undefined;
|
|
28409
28796
|
const iconName = showIcon ? icon ?? 'plus' : null;
|
|
28410
28797
|
const deleteIconName = deleteIcon ?? 'cross';
|
|
28411
28798
|
const leadingIcon = iconName ? (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
@@ -28444,7 +28831,7 @@ const Chip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(function
|
|
|
28444
28831
|
tabIndex: !disabled && (isClickable || hasDeleteIcon) ? 0 : undefined,
|
|
28445
28832
|
"aria-disabled": disabled ? 'true' : 'false',
|
|
28446
28833
|
className: className,
|
|
28447
|
-
css: [sizeStyles, chipStyles, isClickable && !disabled ?
|
|
28834
|
+
css: [sizeStyles, chipStyles, isClickable && !disabled ? clickableStyles : undefined, outlinedDefaultClickableStyles, disabled ? clickableDisabled : undefined, customCss, true ? "" : 0, true ? "" : 0],
|
|
28448
28835
|
onClick: disabled ? undefined : onClick,
|
|
28449
28836
|
onKeyDown: handleKeyDown,
|
|
28450
28837
|
children: [avatar && (0,jsx_runtime_namespaceObject.jsx)(AvatarWrapper, {
|
|
@@ -28556,11 +28943,11 @@ const Progress = ({
|
|
|
28556
28943
|
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
28944
|
|
|
28558
28945
|
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
|
|
28946
|
+
var ProgressBar_styles_ref = true ? {
|
|
28560
28947
|
name: "14rz325",
|
|
28561
28948
|
styles: "position:absolute;display:block;bottom:0;border-radius:12px"
|
|
28562
28949
|
} : 0;
|
|
28563
|
-
const bar = () =>
|
|
28950
|
+
const bar = () => ProgressBar_styles_ref;
|
|
28564
28951
|
;// ./src/components/ProgressBar/ProgressBar.tsx
|
|
28565
28952
|
|
|
28566
28953
|
|
|
@@ -48383,13 +48770,14 @@ const CollapsibleNavBar = ({
|
|
|
48383
48770
|
className,
|
|
48384
48771
|
useMatchPattern,
|
|
48385
48772
|
onChange,
|
|
48386
|
-
exactMatch = false
|
|
48773
|
+
exactMatch = false,
|
|
48774
|
+
defaultExpanded = false
|
|
48387
48775
|
}) => {
|
|
48388
48776
|
const toggleId = (0,external_react_namespaceObject.useId)();
|
|
48389
48777
|
const {
|
|
48390
48778
|
width
|
|
48391
48779
|
} = (0,hooks_namespaceObject.useWindowSize)();
|
|
48392
|
-
const [isChecked, onToggle] = (0,external_react_namespaceObject.useState)(
|
|
48780
|
+
const [isChecked, onToggle] = (0,external_react_namespaceObject.useState)(defaultExpanded);
|
|
48393
48781
|
const isMobile = width < SCREEN_SIZES['900'].width;
|
|
48394
48782
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
48395
48783
|
onToggle(false);
|
|
@@ -48820,6 +49208,105 @@ const StepLabel = ({
|
|
|
48820
49208
|
});
|
|
48821
49209
|
};
|
|
48822
49210
|
/* harmony default export */ const StepLabel_StepLabel = (StepLabel);
|
|
49211
|
+
;// ./src/components/History/styles.ts
|
|
49212
|
+
function History_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)."; }
|
|
49213
|
+
|
|
49214
|
+
const FIRST_LINE_TOP_PADDING = 2;
|
|
49215
|
+
const FIRST_LINE_HEIGHT = 20;
|
|
49216
|
+
const container = true ? {
|
|
49217
|
+
name: "1fttcpj",
|
|
49218
|
+
styles: "display:flex;flex-direction:column"
|
|
49219
|
+
} : 0;
|
|
49220
|
+
const row = true ? {
|
|
49221
|
+
name: "1h63efc",
|
|
49222
|
+
styles: "display:flex;align-items:stretch"
|
|
49223
|
+
} : 0;
|
|
49224
|
+
const leftColumn = width => /*#__PURE__*/(0,react_namespaceObject.css)("position:relative;flex-shrink:0;width:", width, "px;" + ( true ? "" : 0), true ? "" : 0);
|
|
49225
|
+
const circle = (color, size, topOffset) => /*#__PURE__*/(0,react_namespaceObject.css)("position:absolute;top:", topOffset, "px;left:50%;transform:translateX(-50%);width:", size, "px;height:", size, "px;border-radius:50%;background-color:", color, ";z-index:1;" + ( true ? "" : 0), true ? "" : 0);
|
|
49226
|
+
const connector = (color, circleTopOffset, circleSize) => /*#__PURE__*/(0,react_namespaceObject.css)("position:absolute;left:50%;transform:translateX(-50%);top:", circleTopOffset + circleSize / 2, "px;bottom:-", circleTopOffset + circleSize / 2, "px;width:1px;background-color:", color, ";" + ( true ? "" : 0), true ? "" : 0);
|
|
49227
|
+
const dateColumn = width => /*#__PURE__*/(0,react_namespaceObject.css)("width:", width, "px;flex-shrink:0;padding-top:", FIRST_LINE_TOP_PADDING, "px;padding-bottom:20px;font-size:14px;line-height:", FIRST_LINE_HEIGHT, "px;" + ( true ? "" : 0), true ? "" : 0);
|
|
49228
|
+
const contentColumn = /*#__PURE__*/(0,react_namespaceObject.css)("flex:1;padding-top:", FIRST_LINE_TOP_PADDING, "px;padding-bottom:20px;" + ( true ? "" : 0), true ? "" : 0);
|
|
49229
|
+
;// ./src/components/History/History.tsx
|
|
49230
|
+
|
|
49231
|
+
|
|
49232
|
+
|
|
49233
|
+
const DEFAULT_CIRCLE_SIZE = 12;
|
|
49234
|
+
const DEFAULT_DATE_WIDTH = 120;
|
|
49235
|
+
const LEFT_COLUMN_MARGIN_RIGHT = 16;
|
|
49236
|
+
|
|
49237
|
+
/**
|
|
49238
|
+
* History - Vertical timeline component for chronological events.
|
|
49239
|
+
*
|
|
49240
|
+
* Renders a date column and content column for each item, connected by
|
|
49241
|
+
* timeline markers. Marker colors can be set per item or via defaults.
|
|
49242
|
+
*
|
|
49243
|
+
* ### Color behavior
|
|
49244
|
+
* - `item.color` overrides the marker color for a specific row
|
|
49245
|
+
* - `defaultColor` is used when `item.color` is not provided
|
|
49246
|
+
* - fallback default marker color: `theme.palette.primary.main`
|
|
49247
|
+
* - fallback connector color: `theme.colors.greyLighter`
|
|
49248
|
+
*
|
|
49249
|
+
* ### Alignment behavior
|
|
49250
|
+
* The marker is vertically aligned to the first text line and adapts when
|
|
49251
|
+
* `circleSize` changes.
|
|
49252
|
+
*
|
|
49253
|
+
* @category Components
|
|
49254
|
+
* @subcategory Display
|
|
49255
|
+
*
|
|
49256
|
+
* @example
|
|
49257
|
+
* ```tsx
|
|
49258
|
+
* <History
|
|
49259
|
+
* items={[
|
|
49260
|
+
* { date: '01.01.2026', content: 'Account created' },
|
|
49261
|
+
* { date: '03.01.2026', content: 'Plan upgraded', color: '#10b981' },
|
|
49262
|
+
* ]}
|
|
49263
|
+
* />
|
|
49264
|
+
* ```
|
|
49265
|
+
*/
|
|
49266
|
+
const History = ({
|
|
49267
|
+
items,
|
|
49268
|
+
defaultColor,
|
|
49269
|
+
lineColor,
|
|
49270
|
+
dateWidth = DEFAULT_DATE_WIDTH,
|
|
49271
|
+
circleSize = DEFAULT_CIRCLE_SIZE,
|
|
49272
|
+
sx
|
|
49273
|
+
}) => {
|
|
49274
|
+
const theme = (0,react_namespaceObject.useTheme)();
|
|
49275
|
+
const resolvedDefaultColor = defaultColor ?? theme.palette.primary.main;
|
|
49276
|
+
const resolvedLineColor = lineColor ?? theme.colors.greyLighter;
|
|
49277
|
+
const circleTopOffset = Math.max(0, FIRST_LINE_TOP_PADDING + (FIRST_LINE_HEIGHT - circleSize) / 2);
|
|
49278
|
+
return (0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
49279
|
+
"data-testid": "history",
|
|
49280
|
+
css: container,
|
|
49281
|
+
style: sx,
|
|
49282
|
+
children: items.map((item, index) => {
|
|
49283
|
+
const isLast = index === items.length - 1;
|
|
49284
|
+
const color = item.color ?? resolvedDefaultColor;
|
|
49285
|
+
return (0,jsx_runtime_namespaceObject.jsxs)("div", {
|
|
49286
|
+
css: row,
|
|
49287
|
+
children: [(0,jsx_runtime_namespaceObject.jsxs)("div", {
|
|
49288
|
+
css: leftColumn(circleSize),
|
|
49289
|
+
style: {
|
|
49290
|
+
marginRight: LEFT_COLUMN_MARGIN_RIGHT
|
|
49291
|
+
},
|
|
49292
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
49293
|
+
css: circle(color, circleSize, circleTopOffset)
|
|
49294
|
+
}), !isLast && (0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
49295
|
+
css: connector(resolvedLineColor, circleTopOffset, circleSize)
|
|
49296
|
+
})]
|
|
49297
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
49298
|
+
css: dateColumn(dateWidth),
|
|
49299
|
+
children: item.date
|
|
49300
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
49301
|
+
css: contentColumn,
|
|
49302
|
+
children: item.content
|
|
49303
|
+
})]
|
|
49304
|
+
}, item.key ?? index);
|
|
49305
|
+
})
|
|
49306
|
+
});
|
|
49307
|
+
};
|
|
49308
|
+
;// ./src/components/History/index.ts
|
|
49309
|
+
|
|
48823
49310
|
;// ./src/components/Pagination/styles.tsx
|
|
48824
49311
|
|
|
48825
49312
|
function Pagination_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)."; }
|
|
@@ -49169,16 +49656,17 @@ const RowsPerPageDropdown = ({
|
|
|
49169
49656
|
dropdownProps: {
|
|
49170
49657
|
toggleButton: {
|
|
49171
49658
|
css: {
|
|
49172
|
-
marginLeft:
|
|
49659
|
+
marginLeft: 5,
|
|
49173
49660
|
marginRight: 15,
|
|
49174
49661
|
border: 'none',
|
|
49175
|
-
background: '
|
|
49662
|
+
background: 'transparent',
|
|
49663
|
+
borderRadius: 6,
|
|
49176
49664
|
color: theme.colors.greyDarker,
|
|
49177
49665
|
gap: 5,
|
|
49178
|
-
padding:
|
|
49666
|
+
padding: 3,
|
|
49179
49667
|
'&:focus': {
|
|
49180
49668
|
color: theme.colors.greyDarker,
|
|
49181
|
-
background: '
|
|
49669
|
+
background: 'transparent !important',
|
|
49182
49670
|
'&::before': {
|
|
49183
49671
|
display: 'none'
|
|
49184
49672
|
}
|
|
@@ -50545,6 +51033,12 @@ const AddNewAccountCard = ({
|
|
|
50545
51033
|
|
|
50546
51034
|
|
|
50547
51035
|
;// ./src/components/PersonInfo/constants.ts
|
|
51036
|
+
/**
|
|
51037
|
+
* PersonInfo badge color config. Uses theme.colors only (no palette).
|
|
51038
|
+
* DEFAULT_BADGE_COLORS: order of MainColors keys used when badges are strings (cycled by index).
|
|
51039
|
+
* BADGE_COLORS(theme): map of MainColors key → { text, bg } using theme.colors.* and theme.colors.*20.
|
|
51040
|
+
*/
|
|
51041
|
+
|
|
50548
51042
|
const DEFAULT_BADGE_COLORS = ['purple', 'blueLight', 'green', 'blue', 'pink', 'turquoise', 'yellow', 'yellowWarm'];
|
|
50549
51043
|
const BADGE_COLORS = theme => ({
|
|
50550
51044
|
purple: {
|
|
@@ -50583,6 +51077,12 @@ const BADGE_COLORS = theme => ({
|
|
|
50583
51077
|
;// ./src/components/PersonInfo/styles.ts
|
|
50584
51078
|
|
|
50585
51079
|
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)."; }
|
|
51080
|
+
/**
|
|
51081
|
+
* PersonInfo layout and theme styles.
|
|
51082
|
+
* Uses theme.colors only: greyDropdownFocused (counter), greyDarker (link default), blue (link hover).
|
|
51083
|
+
* CustomBadge uses BADGE_COLORS(theme) for text/bg per MainColors. No theme.palette.
|
|
51084
|
+
*/
|
|
51085
|
+
|
|
50586
51086
|
|
|
50587
51087
|
|
|
50588
51088
|
const PersonInfoBase = /*#__PURE__*/base_default()("div", true ? {
|
|
@@ -50719,6 +51219,11 @@ const avatarWrapperLinkStyles = theme => ({
|
|
|
50719
51219
|
}
|
|
50720
51220
|
});
|
|
50721
51221
|
;// ./src/components/PersonInfo/PersonInfoIcon.tsx
|
|
51222
|
+
/**
|
|
51223
|
+
* PersonInfoIcon - Leading icon for PersonInfo row.
|
|
51224
|
+
* Renders Icon with theme.colors.greyDarker when icon is a string; otherwise renders custom ReactNode.
|
|
51225
|
+
* Used only by PersonInfo when icon prop is set.
|
|
51226
|
+
*/
|
|
50722
51227
|
|
|
50723
51228
|
|
|
50724
51229
|
|
|
@@ -50737,6 +51242,11 @@ const PersonInfoIcon = ({
|
|
|
50737
51242
|
});
|
|
50738
51243
|
};
|
|
50739
51244
|
;// ./src/components/PersonInfo/PersonInfoValue.tsx
|
|
51245
|
+
/**
|
|
51246
|
+
* PersonInfoValue - Primary value cell for PersonInfo, optionally a link.
|
|
51247
|
+
* When linkAttributes (from getLinkAttributes) are provided, renders as <a> with
|
|
51248
|
+
* personInfoValueLinkStyles: theme.colors.greyDarker, hover theme.colors.blue. Used by PersonInfoAvatar.
|
|
51249
|
+
*/
|
|
50740
51250
|
|
|
50741
51251
|
|
|
50742
51252
|
|
|
@@ -50753,6 +51263,11 @@ const PersonInfoValue = ({
|
|
|
50753
51263
|
});
|
|
50754
51264
|
};
|
|
50755
51265
|
;// ./src/components/PersonInfo/helpers.ts
|
|
51266
|
+
/**
|
|
51267
|
+
* Returns link props for PersonInfo value/avatar when link is set.
|
|
51268
|
+
* For AI: used by PersonInfoAvatar and PersonInfoValue. Returns { as: 'a', href, target?, rel? }
|
|
51269
|
+
* when link is truthy; otherwise {}. openLinkInNewTab sets target="_blank" and rel="noreferrer".
|
|
51270
|
+
*/
|
|
50756
51271
|
const getLinkAttributes = (link, openLinkInNewTab) => {
|
|
50757
51272
|
const isLink = Boolean(link);
|
|
50758
51273
|
return isLink ? {
|
|
@@ -50763,6 +51278,12 @@ const getLinkAttributes = (link, openLinkInNewTab) => {
|
|
|
50763
51278
|
} : {};
|
|
50764
51279
|
};
|
|
50765
51280
|
;// ./src/components/PersonInfo/PersonInfoAvatar.tsx
|
|
51281
|
+
/**
|
|
51282
|
+
* PersonInfoAvatar - Avatar + value row for PersonInfo.
|
|
51283
|
+
* Renders optional Avatar (image URL) and PersonInfoValue. When link is set, wraps in anchor
|
|
51284
|
+
* using helpers.getLinkAttributes; link hover uses theme.colors.blue (avatarWrapperLinkStyles).
|
|
51285
|
+
* Uses styles.avatarName when avatar present, styles.value when only value. Used only by PersonInfo.
|
|
51286
|
+
*/
|
|
50766
51287
|
|
|
50767
51288
|
|
|
50768
51289
|
|
|
@@ -50799,6 +51320,12 @@ const PersonInfoAvatar = ({
|
|
|
50799
51320
|
});
|
|
50800
51321
|
};
|
|
50801
51322
|
;// ./src/components/PersonInfo/PersonInfoBadges.tsx
|
|
51323
|
+
/**
|
|
51324
|
+
* PersonInfoBadges - Badge row for PersonInfo.
|
|
51325
|
+
* badges can be a single ReactNode or array of string | ReactNode. Strings are rendered with
|
|
51326
|
+
* CustomBadge using DEFAULT_BADGE_COLORS (cycled by index) and BADGE_COLORS(theme) for text/bg.
|
|
51327
|
+
* Other items rendered as-is (e.g. <Badge>). Uses styles.badge and styles.badgeItem.
|
|
51328
|
+
*/
|
|
50802
51329
|
|
|
50803
51330
|
|
|
50804
51331
|
|
|
@@ -50833,6 +51360,12 @@ const PersonInfoBadges = ({
|
|
|
50833
51360
|
});
|
|
50834
51361
|
};
|
|
50835
51362
|
;// ./src/components/PersonInfo/PersonInfoCounter.tsx
|
|
51363
|
+
/**
|
|
51364
|
+
* PersonInfoCounter - “+N” counter with tooltip for PersonInfo.
|
|
51365
|
+
* Renders counter value from counterTooltip.users.length; tooltip lists users via ImageItem
|
|
51366
|
+
* (image, name, optional link). Uses Tooltip (hover, no click). Counter text uses
|
|
51367
|
+
* theme.colors.greyDropdownFocused (S.Counter). Used only by PersonInfo when counterTooltip is set.
|
|
51368
|
+
*/
|
|
50836
51369
|
|
|
50837
51370
|
|
|
50838
51371
|
|
|
@@ -50888,6 +51421,85 @@ const PersonInfoCounter = ({
|
|
|
50888
51421
|
|
|
50889
51422
|
|
|
50890
51423
|
|
|
51424
|
+
/**
|
|
51425
|
+
* PersonInfo - Compact row for displaying a person or entity with title, value, and optional metadata.
|
|
51426
|
+
*
|
|
51427
|
+
* Uses `theme.colors` only (e.g. greyDropdownFocused, greyDarker, blue for link hover). Does not use
|
|
51428
|
+
* `theme.palette`. Link and value hover use theme.colors.blue. Badge colors come from BADGE_COLORS(theme).
|
|
51429
|
+
*
|
|
51430
|
+
* ### Structure
|
|
51431
|
+
* - Optional leading icon (name or custom ReactNode)
|
|
51432
|
+
* - Title (required) and a row with: optional avatar + value (optionally a link), optional counter with tooltip
|
|
51433
|
+
* - Optional badges (Badge components or strings)
|
|
51434
|
+
* - Optional attributes list (strings or ReactNodes)
|
|
51435
|
+
* - Optional description text
|
|
51436
|
+
*
|
|
51437
|
+
* ### Key props
|
|
51438
|
+
* - `title` (required) — main label
|
|
51439
|
+
* - `value` — primary value; use with `link` / `openLinkInNewTab` for a clickable value
|
|
51440
|
+
* - `icon` — Icon name or custom node before the title
|
|
51441
|
+
* - `avatar` — image URL; shown next to value
|
|
51442
|
+
* - `badges` — ReactNode or array of ReactNode/string; rendered as badges below the row
|
|
51443
|
+
* - `counterTooltip` — { users: [{ id, name, avatar, link?, openLinkInNewTab? }] } for a count + tooltip
|
|
51444
|
+
* - `attributes` — array of strings or ReactNodes below the row
|
|
51445
|
+
* - `description` — extra text block
|
|
51446
|
+
* - `styles` — optional overrides for title, avatarName, counter, attributes, badge, badgeItem, value, description
|
|
51447
|
+
*
|
|
51448
|
+
* @category Components
|
|
51449
|
+
* @subcategory Display
|
|
51450
|
+
*
|
|
51451
|
+
* @example
|
|
51452
|
+
* ```tsx
|
|
51453
|
+
* <PersonInfo title="Assignee" value="John Doe" />
|
|
51454
|
+
* ```
|
|
51455
|
+
*
|
|
51456
|
+
* @example
|
|
51457
|
+
* ```tsx
|
|
51458
|
+
* <PersonInfo
|
|
51459
|
+
* title="Owner"
|
|
51460
|
+
* value="Jane Smith"
|
|
51461
|
+
* icon="user"
|
|
51462
|
+
* avatar="/avatar.jpg"
|
|
51463
|
+
* link="/users/jane"
|
|
51464
|
+
* openLinkInNewTab={false}
|
|
51465
|
+
* />
|
|
51466
|
+
* ```
|
|
51467
|
+
*
|
|
51468
|
+
* @example
|
|
51469
|
+
* ```tsx
|
|
51470
|
+
* <PersonInfo
|
|
51471
|
+
* title="Status"
|
|
51472
|
+
* value="In progress"
|
|
51473
|
+
* badges={[<Badge key="1">Active</Badge>]}
|
|
51474
|
+
* attributes={['Due: Jan 15', 'Priority: High']}
|
|
51475
|
+
* description="Additional context text."
|
|
51476
|
+
* />
|
|
51477
|
+
* ```
|
|
51478
|
+
*
|
|
51479
|
+
* @example
|
|
51480
|
+
* ```tsx
|
|
51481
|
+
* <PersonInfo
|
|
51482
|
+
* title="Participants"
|
|
51483
|
+
* value="3"
|
|
51484
|
+
* counterTooltip={{
|
|
51485
|
+
* users: [
|
|
51486
|
+
* { id: 1, name: 'Alice', avatar: '/a.jpg', link: '/users/1' },
|
|
51487
|
+
* { id: 2, name: 'Bob', avatar: '/b.jpg' },
|
|
51488
|
+
* ],
|
|
51489
|
+
* }}
|
|
51490
|
+
* />
|
|
51491
|
+
* ```
|
|
51492
|
+
*
|
|
51493
|
+
* @see {@link Avatar} - Often used for avatar prop or inside counter tooltip
|
|
51494
|
+
* @see {@link Icon} - Common choice for icon prop
|
|
51495
|
+
* @see {@link Badge} - Used when badges prop contains Badge components
|
|
51496
|
+
*
|
|
51497
|
+
* @accessibility
|
|
51498
|
+
* - Semantic structure (heading-like title, list of attributes)
|
|
51499
|
+
* - Links support openLinkInNewTab and get appropriate attributes
|
|
51500
|
+
* - Counter tooltip is focusable and keyboard-accessible via Tooltip
|
|
51501
|
+
*/
|
|
51502
|
+
|
|
50891
51503
|
const PersonInfo = /*#__PURE__*/external_react_default().forwardRef(function PersonInfo({
|
|
50892
51504
|
title,
|
|
50893
51505
|
icon,
|
|
@@ -50949,6 +51561,10 @@ const PersonInfo = /*#__PURE__*/external_react_default().forwardRef(function Per
|
|
|
50949
51561
|
});
|
|
50950
51562
|
});
|
|
50951
51563
|
;// ./src/components/PersonInfo/index.ts
|
|
51564
|
+
/**
|
|
51565
|
+
* PersonInfo public API. Re-exports PersonInfo component and all types (PersonInfoProps,
|
|
51566
|
+
* PersonInfoStyles, PersonInfoCounterTooltip, etc.) for consumers.
|
|
51567
|
+
*/
|
|
50952
51568
|
|
|
50953
51569
|
|
|
50954
51570
|
;// ./src/components/UserProfile/styles.ts
|
|
@@ -51252,6 +51868,7 @@ const UserProfile = ({
|
|
|
51252
51868
|
|
|
51253
51869
|
|
|
51254
51870
|
|
|
51871
|
+
|
|
51255
51872
|
|
|
51256
51873
|
|
|
51257
51874
|
// ============================================================================
|