@itilite/lumina-ui 0.0.323 → 1.0.0-alpha
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/README.md +43 -10
- package/dist/AdvancedDateRangePicker-CN9WN0rH.d.mts +56 -0
- package/dist/AdvancedDateRangePicker-CN9WN0rH.d.ts +56 -0
- package/dist/AdvancedDateRangePicker-CzN1HGsC.d.mts +57 -0
- package/dist/AdvancedDateRangePicker-CzN1HGsC.d.ts +57 -0
- package/dist/AdvancedDateRangePicker-DAPxgRl3.d.mts +54 -0
- package/dist/AdvancedDateRangePicker-DAPxgRl3.d.ts +54 -0
- package/dist/AdvancedDateRangePicker-DW94285G.d.mts +56 -0
- package/dist/AdvancedDateRangePicker-DW94285G.d.ts +56 -0
- package/dist/AdvancedDateRangePicker-Eh6n4ne0.d.mts +57 -0
- package/dist/AdvancedDateRangePicker-Eh6n4ne0.d.ts +57 -0
- package/dist/Avatar-DX2JwvAs.d.mts +17 -0
- package/dist/Avatar-DX2JwvAs.d.ts +17 -0
- package/dist/Table-BA0D3p1m.d.mts +78 -0
- package/dist/Table-BA0D3p1m.d.ts +78 -0
- package/dist/Table-BLZ6c46U.d.mts +77 -0
- package/dist/Table-BLZ6c46U.d.ts +77 -0
- package/dist/Table-BMqYnFi4.d.mts +25 -0
- package/dist/Table-BMqYnFi4.d.ts +25 -0
- package/dist/Table-BOq-_9Nr.d.mts +121 -0
- package/dist/Table-BOq-_9Nr.d.ts +121 -0
- package/dist/Table-BRcthrYV.d.mts +98 -0
- package/dist/Table-BRcthrYV.d.ts +98 -0
- package/dist/Table-BWlFCfBG.d.mts +106 -0
- package/dist/Table-BWlFCfBG.d.ts +106 -0
- package/dist/Table-CHFmNrme.d.mts +77 -0
- package/dist/Table-CHFmNrme.d.ts +77 -0
- package/dist/Table-CX6UwQiD.d.mts +116 -0
- package/dist/Table-CX6UwQiD.d.ts +116 -0
- package/dist/Table-Chud2XSq.d.mts +99 -0
- package/dist/Table-Chud2XSq.d.ts +99 -0
- package/dist/Table-D5QRe_j3.d.mts +121 -0
- package/dist/Table-D5QRe_j3.d.ts +121 -0
- package/dist/Table-DAgFGahx.d.mts +39 -0
- package/dist/Table-DAgFGahx.d.ts +39 -0
- package/dist/Table-DWniK7At.d.mts +87 -0
- package/dist/Table-DWniK7At.d.ts +87 -0
- package/dist/Table-PyFlnUDu.d.mts +47 -0
- package/dist/Table-PyFlnUDu.d.ts +47 -0
- package/dist/Table-wqyg13Y9.d.mts +77 -0
- package/dist/Table-wqyg13Y9.d.ts +77 -0
- package/dist/Tag-l7I5oeyk.d.mts +13 -0
- package/dist/Tag-l7I5oeyk.d.ts +13 -0
- package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.d.mts +2 -0
- package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.d.ts +2 -0
- package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.js +791 -0
- package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.mjs +11 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.mts +18 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.ts +18 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.js +370 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.mjs +8 -0
- package/dist/atom/Avatar/Avatar.d.mts +9 -0
- package/dist/atom/Avatar/Avatar.d.ts +9 -0
- package/dist/atom/Avatar/Avatar.js +123 -0
- package/dist/atom/Avatar/Avatar.mjs +9 -0
- package/dist/{Button.js → atom/Button/Button.js} +4 -4
- package/dist/{Button.mjs → atom/Button/Button.mjs} +2 -2
- package/dist/{Checkbox.js → atom/Checkbox/Checkbox.js} +4 -4
- package/dist/{Checkbox.mjs → atom/Checkbox/Checkbox.mjs} +2 -2
- package/dist/atom/LoadingSpinner/LoadingSpinner.d.mts +19 -0
- package/dist/atom/LoadingSpinner/LoadingSpinner.d.ts +19 -0
- package/dist/atom/LoadingSpinner/LoadingSpinner.js +90 -0
- package/dist/atom/LoadingSpinner/LoadingSpinner.mjs +9 -0
- package/dist/atom/Modal/Modal.d.mts +25 -0
- package/dist/atom/Modal/Modal.d.ts +25 -0
- package/dist/atom/Modal/Modal.js +267 -0
- package/dist/atom/Modal/Modal.mjs +10 -0
- package/dist/atom/Radio/Radio.d.mts +17 -0
- package/dist/atom/Radio/Radio.d.ts +17 -0
- package/dist/atom/Radio/Radio.js +122 -0
- package/dist/atom/Radio/Radio.mjs +9 -0
- package/dist/atom/RangePicker/Chevron.d.mts +13 -0
- package/dist/atom/RangePicker/Chevron.d.ts +13 -0
- package/dist/atom/RangePicker/Chevron.js +110 -0
- package/dist/atom/RangePicker/Chevron.mjs +7 -0
- package/dist/atom/RangePicker/RangePicker.d.mts +26 -0
- package/dist/atom/RangePicker/RangePicker.d.ts +26 -0
- package/dist/atom/RangePicker/RangePicker.js +1465 -0
- package/dist/atom/RangePicker/RangePicker.mjs +13 -0
- package/dist/atom/Select/Select.d.mts +40 -0
- package/dist/atom/Select/Select.d.ts +40 -0
- package/dist/atom/Select/Select.js +805 -0
- package/dist/atom/Select/Select.mjs +11 -0
- package/dist/atom/Slider/Slider.d.mts +34 -0
- package/dist/atom/Slider/Slider.d.ts +34 -0
- package/dist/atom/Slider/Slider.js +107 -0
- package/dist/atom/Slider/Slider.mjs +9 -0
- package/dist/atom/Switch/Switch.d.mts +13 -0
- package/dist/atom/Switch/Switch.d.ts +13 -0
- package/dist/atom/Switch/Switch.js +102 -0
- package/dist/atom/Switch/Switch.mjs +9 -0
- package/dist/atom/Table/LuminaPagination.d.mts +7 -0
- package/dist/atom/Table/LuminaPagination.d.ts +7 -0
- package/dist/atom/Table/LuminaPagination.js +153 -0
- package/dist/atom/Table/LuminaPagination.mjs +9 -0
- package/dist/atom/Table/Table.d.mts +3 -0
- package/dist/atom/Table/Table.d.ts +3 -0
- package/dist/atom/Table/Table.js +306 -0
- package/dist/atom/Table/Table.mjs +9 -0
- package/dist/atom/Table/TableAccordion.d.mts +9 -0
- package/dist/atom/Table/TableAccordion.d.ts +9 -0
- package/dist/atom/Table/TableAccordion.js +91 -0
- package/dist/atom/Table/TableAccordion.mjs +10 -0
- package/dist/atom/Table/TableColumnHeader.d.mts +7 -0
- package/dist/atom/Table/TableColumnHeader.d.ts +7 -0
- package/dist/atom/Table/TableColumnHeader.js +151 -0
- package/dist/atom/Table/TableColumnHeader.mjs +10 -0
- package/dist/atom/Table/TableToolbar.d.mts +9 -0
- package/dist/atom/Table/TableToolbar.d.ts +9 -0
- package/dist/atom/Table/TableToolbar.js +114 -0
- package/dist/atom/Table/TableToolbar.mjs +10 -0
- package/dist/atom/Table/__tests__/Table.test.d.mts +2 -0
- package/dist/atom/Table/__tests__/Table.test.d.ts +2 -0
- package/dist/atom/Table/__tests__/Table.test.js +61133 -0
- package/dist/atom/Table/__tests__/Table.test.mjs +59522 -0
- package/dist/atom/TableAccordion/index.d.mts +17 -0
- package/dist/atom/TableAccordion/index.d.ts +17 -0
- package/dist/atom/TableAccordion/index.js +91 -0
- package/dist/atom/TableAccordion/index.mjs +9 -0
- package/dist/atom/TableToolbar/index.d.mts +23 -0
- package/dist/atom/TableToolbar/index.d.ts +23 -0
- package/dist/atom/TableToolbar/index.js +114 -0
- package/dist/atom/TableToolbar/index.mjs +9 -0
- package/dist/atom/Tag/Tag.d.mts +6 -0
- package/dist/atom/Tag/Tag.d.ts +6 -0
- package/dist/atom/Tag/Tag.js +108 -0
- package/dist/atom/Tag/Tag.mjs +9 -0
- package/dist/atom/Tooltip/Tooltip.d.mts +12 -0
- package/dist/atom/Tooltip/Tooltip.d.ts +12 -0
- package/dist/atom/Tooltip/Tooltip.js +97 -0
- package/dist/atom/Tooltip/Tooltip.mjs +9 -0
- package/dist/chunk-2EBPXGRY.mjs +65 -0
- package/dist/chunk-2PIFDGVK.mjs +420 -0
- package/dist/chunk-35KDS27M.mjs +618 -0
- package/dist/chunk-3S4X3YO2.mjs +64 -0
- package/dist/chunk-3XUHGVYA.mjs +77 -0
- package/dist/chunk-4JX54OKI.mjs +627 -0
- package/dist/chunk-4VZB2KR2.mjs +51 -0
- package/dist/chunk-5HF6Y37C.mjs +642 -0
- package/dist/chunk-5OGQ4YIR.mjs +238 -0
- package/dist/chunk-6FCSXN7R.mjs +388 -0
- package/dist/chunk-7W72LPSU.mjs +66 -0
- package/dist/chunk-A66QDQHK.mjs +627 -0
- package/dist/chunk-ABLIL47F.mjs +618 -0
- package/dist/chunk-AEPDEUGY.mjs +627 -0
- package/dist/chunk-AF2RKLH6.mjs +77 -0
- package/dist/chunk-AFLEGUF3.mjs +232 -0
- package/dist/chunk-APCEITHQ.mjs +232 -0
- package/dist/chunk-AVQBFGBT.mjs +141 -0
- package/dist/chunk-B5BOBELW.mjs +213 -0
- package/dist/chunk-BQ4PVLJ4.mjs +262 -0
- package/dist/chunk-D3N7VFER.mjs +73 -0
- package/dist/{chunk-OMYHSSPQ.mjs → chunk-DBNLBCQK.mjs} +5 -5
- package/dist/chunk-DLLT6V65.mjs +141 -0
- package/dist/chunk-DOQQRYTS.mjs +73 -0
- package/dist/chunk-DSVR2DVF.mjs +660 -0
- package/dist/chunk-DXUPULDI.mjs +424 -0
- package/dist/chunk-E465D6OH.mjs +644 -0
- package/dist/chunk-E4FCLHYA.mjs +678 -0
- package/dist/chunk-ENQN5BAN.mjs +225 -0
- package/dist/chunk-F6VMSH4N.mjs +79 -0
- package/dist/chunk-FKGGN3FA.mjs +412 -0
- package/dist/chunk-GFTO2N3Q.mjs +432 -0
- package/dist/chunk-GM6H6RPJ.mjs +232 -0
- package/dist/chunk-GU5F7Z7I.mjs +681 -0
- package/dist/chunk-HF3VJBMY.mjs +244 -0
- package/dist/{chunk-ME35H7QC.mjs → chunk-HISCHZ5H.mjs} +4 -4
- package/dist/chunk-HWQBE6PT.mjs +99 -0
- package/dist/chunk-HXM657YW.mjs +115 -0
- package/dist/chunk-I5VHKSQR.mjs +64 -0
- package/dist/chunk-ICSZZNTY.mjs +384 -0
- package/dist/chunk-IWO2Y5QX.mjs +89 -0
- package/dist/chunk-IZGLD7U3.mjs +667 -0
- package/dist/chunk-J7X2PZG6.mjs +232 -0
- package/dist/chunk-JUXBLRMQ.mjs +50 -0
- package/dist/chunk-JXFSGADI.mjs +678 -0
- package/dist/chunk-KGKRSR6D.mjs +388 -0
- package/dist/chunk-KQKNFGWZ.mjs +388 -0
- package/dist/chunk-LCH4DXJY.mjs +92 -0
- package/dist/chunk-LCXU3K57.mjs +232 -0
- package/dist/chunk-LRN4XOIR.mjs +71 -0
- package/dist/chunk-LROMXY35.mjs +116 -0
- package/dist/chunk-LUNPHYAR.mjs +681 -0
- package/dist/chunk-LVOTEPLC.mjs +64 -0
- package/dist/chunk-M2ZM3X5Y.mjs +56 -0
- package/dist/chunk-M4MIYHAV.mjs +43 -0
- package/dist/chunk-M7F7DOC4.mjs +41 -0
- package/dist/chunk-MHWFVML4.mjs +115 -0
- package/dist/chunk-MLCMZRUC.mjs +50 -0
- package/dist/chunk-MNARBWAJ.mjs +47 -0
- package/dist/chunk-MPTVYTYS.mjs +0 -0
- package/dist/chunk-MQFW3LZR.mjs +111 -0
- package/dist/chunk-N2WTNCQU.mjs +66 -0
- package/dist/chunk-N355RJGH.mjs +141 -0
- package/dist/chunk-N3YFQDW7.mjs +77 -0
- package/dist/chunk-N4DPPZVJ.mjs +269 -0
- package/dist/chunk-NGCBOOIE.mjs +225 -0
- package/dist/chunk-NWQQYJSP.mjs +688 -0
- package/dist/chunk-NYQV556V.mjs +667 -0
- package/dist/chunk-O5C3355V.mjs +246 -0
- package/dist/chunk-OCP43S7U.mjs +241 -0
- package/dist/chunk-OHLFRULE.mjs +432 -0
- package/dist/chunk-PLO46EKV.mjs +65 -0
- package/dist/chunk-PQ3B2FEB.mjs +249 -0
- package/dist/chunk-PSBEYGD4.mjs +618 -0
- package/dist/chunk-PWIBJI6Z.mjs +115 -0
- package/dist/chunk-Q5KPXEH5.mjs +223 -0
- package/dist/chunk-QC34HHAY.mjs +57 -0
- package/dist/chunk-QKTMWS4J.mjs +43 -0
- package/dist/chunk-QVWV36BK.mjs +73 -0
- package/dist/chunk-QWK3MYDM.mjs +64 -0
- package/dist/chunk-RE44YAMD.mjs +47 -0
- package/dist/chunk-RH6DAYBU.mjs +369 -0
- package/dist/chunk-RSSEJENT.mjs +269 -0
- package/dist/chunk-SJBS5QCJ.mjs +225 -0
- package/dist/chunk-SWRFCTJW.mjs +77 -0
- package/dist/chunk-T4XNCAIB.mjs +231 -0
- package/dist/chunk-TCX5IFQ4.mjs +627 -0
- package/dist/chunk-TSAUBT2F.mjs +74 -0
- package/dist/chunk-U7Q7ILSE.mjs +690 -0
- package/dist/chunk-UHTUJJH7.mjs +112 -0
- package/dist/chunk-UOHYCMUS.mjs +53 -0
- package/dist/chunk-UQJ3BDM4.mjs +141 -0
- package/dist/chunk-UQZBL3F7.mjs +0 -0
- package/dist/chunk-UQZNUEZE.mjs +64 -0
- package/dist/chunk-URGYNKJM.mjs +229 -0
- package/dist/chunk-UTMZY37A.mjs +141 -0
- package/dist/chunk-UUEPD2FH.mjs +141 -0
- package/dist/chunk-V3CHJHUX.mjs +424 -0
- package/dist/chunk-VQOUJQIF.mjs +249 -0
- package/dist/chunk-VY3QH43W.mjs +6 -0
- package/dist/chunk-W2N3AWY6.mjs +80 -0
- package/dist/chunk-WUVS6S7N.mjs +119 -0
- package/dist/chunk-WZS2K7X3.mjs +688 -0
- package/dist/chunk-X76GNSBB.mjs +87 -0
- package/dist/chunk-XG7CZXBW.mjs +244 -0
- package/dist/chunk-XXKIBYXD.mjs +109 -0
- package/dist/chunk-XXTUVMAY.mjs +51 -0
- package/dist/chunk-Y3BIY4DW.mjs +618 -0
- package/dist/chunk-Y7FP6ZMW.mjs +225 -0
- package/dist/chunk-YELLXCMY.mjs +265 -0
- package/dist/chunk-YQEEM26W.mjs +232 -0
- package/dist/chunk-ZGFE3OPJ.mjs +678 -0
- package/dist/chunk-ZMJ3KDDY.mjs +618 -0
- package/dist/chunk-ZTRM4HZJ.mjs +53 -0
- package/dist/chunk-ZYPWQ53U.mjs +6 -0
- package/dist/dist-U2IPN4FB.mjs +567 -0
- package/dist/index.d.mts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +2820 -13
- package/dist/index.mjs +59 -5
- package/dist/magic-string.es-XOWQCRDO.mjs +1311 -0
- package/dist/molecules/UserProfile/UserProfile.d.mts +23 -0
- package/dist/molecules/UserProfile/UserProfile.d.ts +23 -0
- package/dist/molecules/UserProfile/UserProfile.js +243 -0
- package/dist/molecules/UserProfile/UserProfile.mjs +11 -0
- package/dist/styles.css +1802 -1067
- package/dist/types-CA0Wby2L.d.mts +67 -0
- package/dist/types-CA0Wby2L.d.ts +67 -0
- package/dist/types-CncMmuJM.d.mts +44 -0
- package/dist/types-CncMmuJM.d.ts +44 -0
- package/dist/types-D4MD2w3_.d.mts +9 -0
- package/dist/types-D4MD2w3_.d.ts +9 -0
- package/dist/types-D4fdeMWQ.d.mts +62 -0
- package/dist/types-D4fdeMWQ.d.ts +62 -0
- package/dist/types-mhQmqhsR.d.mts +10 -0
- package/dist/types-mhQmqhsR.d.ts +10 -0
- package/package.json +10 -18
- /package/dist/{Button.d.mts → atom/Button/Button.d.mts} +0 -0
- /package/dist/{Button.d.ts → atom/Button/Button.d.ts} +0 -0
- /package/dist/{Checkbox.d.mts → atom/Checkbox/Checkbox.d.mts} +0 -0
- /package/dist/{Checkbox.d.ts → atom/Checkbox/Checkbox.d.ts} +0 -0
- /package/dist/{chunk-FUJQIYOF.mjs → chunk-FWCSY2DS.mjs} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { T as TagProps } from '../../types-D4MD2w3_.mjs';
|
|
3
|
+
import { A as AvatarProps } from '../../types-mhQmqhsR.mjs';
|
|
4
|
+
|
|
5
|
+
interface UserProfileProps {
|
|
6
|
+
firstName: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
profileImg?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
avatarHeight?: number;
|
|
12
|
+
avatarWidth?: number;
|
|
13
|
+
avatarSize?: AvatarProps["size"];
|
|
14
|
+
showTag?: boolean;
|
|
15
|
+
tagProps?: TagProps;
|
|
16
|
+
uniqueKey?: string;
|
|
17
|
+
nameClassName?: string;
|
|
18
|
+
emailClassName?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare const UserProfile: React.FC<UserProfileProps>;
|
|
22
|
+
|
|
23
|
+
export { UserProfile, UserProfile as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { T as TagProps } from '../../types-D4MD2w3_.js';
|
|
3
|
+
import { A as AvatarProps } from '../../types-mhQmqhsR.js';
|
|
4
|
+
|
|
5
|
+
interface UserProfileProps {
|
|
6
|
+
firstName: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
profileImg?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
avatarHeight?: number;
|
|
12
|
+
avatarWidth?: number;
|
|
13
|
+
avatarSize?: AvatarProps["size"];
|
|
14
|
+
showTag?: boolean;
|
|
15
|
+
tagProps?: TagProps;
|
|
16
|
+
uniqueKey?: string;
|
|
17
|
+
nameClassName?: string;
|
|
18
|
+
emailClassName?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare const UserProfile: React.FC<UserProfileProps>;
|
|
22
|
+
|
|
23
|
+
export { UserProfile, UserProfile as default };
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __defProps = Object.defineProperties;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
+
var __spreadValues = (a, b) => {
|
|
14
|
+
for (var prop in b || (b = {}))
|
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
if (__getOwnPropSymbols)
|
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
+
if (__propIsEnum.call(b, prop))
|
|
20
|
+
__defNormalProp(a, prop, b[prop]);
|
|
21
|
+
}
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
40
|
+
};
|
|
41
|
+
var __copyProps = (to, from, except, desc) => {
|
|
42
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
43
|
+
for (let key of __getOwnPropNames(from))
|
|
44
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
45
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
46
|
+
}
|
|
47
|
+
return to;
|
|
48
|
+
};
|
|
49
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
50
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
51
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
52
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
53
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
54
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
55
|
+
mod
|
|
56
|
+
));
|
|
57
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
+
|
|
59
|
+
// src/molecules/UserProfile/UserProfile.tsx
|
|
60
|
+
var UserProfile_exports = {};
|
|
61
|
+
__export(UserProfile_exports, {
|
|
62
|
+
UserProfile: () => UserProfile,
|
|
63
|
+
default: () => UserProfile_default
|
|
64
|
+
});
|
|
65
|
+
module.exports = __toCommonJS(UserProfile_exports);
|
|
66
|
+
var import_clsx3 = __toESM(require("clsx"));
|
|
67
|
+
|
|
68
|
+
// src/atom/Avatar/Avatar.tsx
|
|
69
|
+
var import_clsx = __toESM(require("clsx"));
|
|
70
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
71
|
+
var COLOR_MAP = {
|
|
72
|
+
A: "#6455BF",
|
|
73
|
+
B: "#C46273",
|
|
74
|
+
C: "#52A79E",
|
|
75
|
+
D: "#DF8654",
|
|
76
|
+
E: "#B8639F",
|
|
77
|
+
F: "#6455BF",
|
|
78
|
+
G: "#C46273",
|
|
79
|
+
H: "#52A79E",
|
|
80
|
+
I: "#DF8654",
|
|
81
|
+
J: "#B8639F",
|
|
82
|
+
K: "#6455BF",
|
|
83
|
+
L: "#C46273",
|
|
84
|
+
M: "#52A79E",
|
|
85
|
+
N: "#DF8654",
|
|
86
|
+
O: "#B8639F",
|
|
87
|
+
P: "#6455BF",
|
|
88
|
+
Q: "#C46273",
|
|
89
|
+
R: "#52A79E",
|
|
90
|
+
S: "#DF8654",
|
|
91
|
+
T: "#B8639F",
|
|
92
|
+
U: "#6455BF",
|
|
93
|
+
V: "#C46273",
|
|
94
|
+
W: "#52A79E",
|
|
95
|
+
X: "#DF8654",
|
|
96
|
+
Y: "#B8639F",
|
|
97
|
+
Z: "#6455BF",
|
|
98
|
+
0: "#6455BF",
|
|
99
|
+
1: "#C46273",
|
|
100
|
+
6: "#C46273",
|
|
101
|
+
2: "#52A79E",
|
|
102
|
+
7: "#52A79E",
|
|
103
|
+
3: "#DF8654",
|
|
104
|
+
8: "#DF8654",
|
|
105
|
+
4: "#B8639F",
|
|
106
|
+
9: "#B8639F"
|
|
107
|
+
};
|
|
108
|
+
function Avatar({
|
|
109
|
+
img,
|
|
110
|
+
className,
|
|
111
|
+
name,
|
|
112
|
+
height = 28,
|
|
113
|
+
width = 28,
|
|
114
|
+
size = "normal"
|
|
115
|
+
}) {
|
|
116
|
+
var _a;
|
|
117
|
+
const firstChar = (_a = name == null ? void 0 : name[0]) == null ? void 0 : _a.toUpperCase();
|
|
118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
119
|
+
"div",
|
|
120
|
+
{
|
|
121
|
+
style: { height, width },
|
|
122
|
+
className: "tw-rounded-full tw-flex tw-items-center",
|
|
123
|
+
children: !img && name ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
124
|
+
"div",
|
|
125
|
+
{
|
|
126
|
+
style: {
|
|
127
|
+
backgroundColor: COLOR_MAP[firstChar],
|
|
128
|
+
height,
|
|
129
|
+
width
|
|
130
|
+
},
|
|
131
|
+
className: (0, import_clsx.default)(
|
|
132
|
+
{ "tw-text-font-size-10": size === "small" },
|
|
133
|
+
`tw-text-white tw-font-medium tw-rounded-full tw-flex tw-items-center tw-justify-center`,
|
|
134
|
+
className
|
|
135
|
+
),
|
|
136
|
+
children: firstChar
|
|
137
|
+
}
|
|
138
|
+
) : img ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
139
|
+
"img",
|
|
140
|
+
{
|
|
141
|
+
src: img,
|
|
142
|
+
style: { height, width },
|
|
143
|
+
alt: name,
|
|
144
|
+
className: (0, import_clsx.default)("tw-rounded-full tw-object-cover", className)
|
|
145
|
+
}
|
|
146
|
+
) : null
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
Avatar.displayName = "Avatar";
|
|
151
|
+
|
|
152
|
+
// src/atom/Tag/Tag.tsx
|
|
153
|
+
var import_antd = require("antd");
|
|
154
|
+
var import_clsx2 = __toESM(require("clsx"));
|
|
155
|
+
|
|
156
|
+
// src/atom/Tag/Tag.module.scss
|
|
157
|
+
var Tag_module_default = { "tag": "Tag-module__tag___PIkhI", "small": "Tag-module__small___nG5XQ", "success": "Tag-module__success___99fad", "blue": "Tag-module__blue___Zky2Z", "warning": "Tag-module__warning___KXsly", "processing": "Tag-module__processing___OssXC", "bookingConfirmed": "Tag-module__bookingConfirmed___potR4", "bookingRescheduled": "Tag-module__bookingRescheduled___ynrwI", "bookingRescheduledPending": "Tag-module__bookingRescheduledPending___K3GqS", "failed": "Tag-module__failed___dvpyQ", "bookingPending": "Tag-module__bookingPending___64umX" };
|
|
158
|
+
|
|
159
|
+
// src/atom/Tag/Tag.tsx
|
|
160
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
161
|
+
var Tag = (_a) => {
|
|
162
|
+
var _b = _a, {
|
|
163
|
+
type = "success",
|
|
164
|
+
className = "",
|
|
165
|
+
title = "",
|
|
166
|
+
icon = null,
|
|
167
|
+
size = ""
|
|
168
|
+
} = _b, rest = __objRest(_b, [
|
|
169
|
+
"type",
|
|
170
|
+
"className",
|
|
171
|
+
"title",
|
|
172
|
+
"icon",
|
|
173
|
+
"size"
|
|
174
|
+
]);
|
|
175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
176
|
+
import_antd.Tag,
|
|
177
|
+
__spreadProps(__spreadValues({
|
|
178
|
+
className: (0, import_clsx2.default)(
|
|
179
|
+
Tag_module_default.tag,
|
|
180
|
+
size === "small" && Tag_module_default.small,
|
|
181
|
+
Tag_module_default[type],
|
|
182
|
+
className
|
|
183
|
+
),
|
|
184
|
+
icon
|
|
185
|
+
}, rest), {
|
|
186
|
+
children: title
|
|
187
|
+
})
|
|
188
|
+
);
|
|
189
|
+
};
|
|
190
|
+
Tag.displayName = "Tag";
|
|
191
|
+
|
|
192
|
+
// src/molecules/UserProfile/UserProfile.module.scss
|
|
193
|
+
var UserProfile_module_default = { "userProfile": "UserProfile-module__userProfile___cRMm9", "profileContent": "UserProfile-module__profileContent___tfy8E", "profileHeader": "UserProfile-module__profileHeader___5qYbt", "profileName": "UserProfile-module__profileName___x8pg-", "profileEmail": "UserProfile-module__profileEmail___ZWKDd" };
|
|
194
|
+
|
|
195
|
+
// src/molecules/UserProfile/UserProfile.tsx
|
|
196
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
197
|
+
var UserProfile = ({
|
|
198
|
+
firstName = "",
|
|
199
|
+
lastName = "",
|
|
200
|
+
email = "",
|
|
201
|
+
profileImg = "",
|
|
202
|
+
className = "",
|
|
203
|
+
avatarHeight = 32,
|
|
204
|
+
avatarWidth = 32,
|
|
205
|
+
avatarSize = "normal",
|
|
206
|
+
showTag = false,
|
|
207
|
+
tagProps,
|
|
208
|
+
uniqueKey = "",
|
|
209
|
+
nameClassName = "",
|
|
210
|
+
emailClassName = ""
|
|
211
|
+
}) => {
|
|
212
|
+
const fullName = `${firstName} ${lastName}`;
|
|
213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: (0, import_clsx3.default)(UserProfile_module_default.userProfile, className), children: [
|
|
214
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
215
|
+
Avatar,
|
|
216
|
+
{
|
|
217
|
+
img: profileImg,
|
|
218
|
+
name: fullName,
|
|
219
|
+
className: "tw-w-full tw-h-full tw-border-none",
|
|
220
|
+
height: avatarHeight,
|
|
221
|
+
width: avatarWidth,
|
|
222
|
+
size: avatarSize
|
|
223
|
+
}
|
|
224
|
+
),
|
|
225
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: UserProfile_module_default.profileContent, children: [
|
|
226
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: UserProfile_module_default.profileHeader, children: [
|
|
227
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("p", { className: (0, import_clsx3.default)(nameClassName || (0, import_clsx3.default)(UserProfile_module_default.profileName, "tw-typography-body2Bold")), children: [
|
|
228
|
+
firstName,
|
|
229
|
+
" ",
|
|
230
|
+
lastName
|
|
231
|
+
] }),
|
|
232
|
+
showTag && tagProps && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Tag, __spreadValues({}, tagProps))
|
|
233
|
+
] }),
|
|
234
|
+
email && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: (0, import_clsx3.default)(emailClassName || (0, import_clsx3.default)(UserProfile_module_default.profileEmail, "tw-typography-caption3", "amp-mask")), children: email })
|
|
235
|
+
] })
|
|
236
|
+
] }, uniqueKey);
|
|
237
|
+
};
|
|
238
|
+
UserProfile.displayName = "UserProfile";
|
|
239
|
+
var UserProfile_default = UserProfile;
|
|
240
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
241
|
+
0 && (module.exports = {
|
|
242
|
+
UserProfile
|
|
243
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserProfile,
|
|
3
|
+
UserProfile_default
|
|
4
|
+
} from "../../chunk-N2WTNCQU.mjs";
|
|
5
|
+
import "../../chunk-4VZB2KR2.mjs";
|
|
6
|
+
import "../../chunk-IWO2Y5QX.mjs";
|
|
7
|
+
import "../../chunk-FWCSY2DS.mjs";
|
|
8
|
+
export {
|
|
9
|
+
UserProfile,
|
|
10
|
+
UserProfile_default as default
|
|
11
|
+
};
|