@itilite/lumina-ui 1.0.1 → 1.0.2-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-ozItnkhp.d.mts +57 -0
- package/dist/AdvancedDateRangePicker-ozItnkhp.d.ts +57 -0
- package/dist/Table-BOq-_9Nr.d.mts +121 -0
- package/dist/Table-BOq-_9Nr.d.ts +121 -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 +17 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.ts +17 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.js +370 -0
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.mjs +8 -0
- package/dist/{Avatar.d.mts → atom/Avatar/Avatar.d.mts} +1 -9
- package/dist/{Avatar.d.ts → atom/Avatar/Avatar.d.ts} +1 -9
- package/dist/{Avatar.js → atom/Avatar/Avatar.js} +4 -2
- package/dist/{Avatar.mjs → atom/Avatar/Avatar.mjs} +2 -2
- package/dist/{Button.js → atom/Button/Button.js} +1 -1
- package/dist/{Button.mjs → atom/Button/Button.mjs} +2 -2
- 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/{Modal.d.mts → atom/Modal/Modal.d.mts} +1 -1
- package/dist/{Modal.d.ts → atom/Modal/Modal.d.ts} +1 -1
- package/dist/{Modal.js → atom/Modal/Modal.js} +1 -1
- package/dist/atom/Modal/Modal.mjs +10 -0
- package/dist/{Radio.mjs → atom/Radio/Radio.mjs} +2 -2
- 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/{Switch.mjs → atom/Switch/Switch.mjs} +2 -2
- 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/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/{Tooltip.mjs → atom/Tooltip/Tooltip.mjs} +2 -2
- package/dist/chunk-4JX54OKI.mjs +627 -0
- package/dist/chunk-4VZB2KR2.mjs +51 -0
- package/dist/chunk-53O7JM5I.mjs +424 -0
- package/dist/{chunk-HISCHZ5H.mjs → chunk-AF2RKLH6.mjs} +1 -1
- package/dist/chunk-D3N7VFER.mjs +73 -0
- package/dist/chunk-GU5F7Z7I.mjs +681 -0
- package/dist/{chunk-X76GNSBB.mjs → chunk-IWO2Y5QX.mjs} +4 -2
- package/dist/chunk-J4YYP4IZ.mjs +0 -0
- package/dist/chunk-N2WTNCQU.mjs +66 -0
- package/dist/chunk-N4DPPZVJ.mjs +269 -0
- package/dist/chunk-PQ3B2FEB.mjs +249 -0
- package/dist/chunk-QKTMWS4J.mjs +43 -0
- package/dist/{chunk-N355RJGH.mjs → chunk-UQJ3BDM4.mjs} +1 -1
- package/dist/chunk-V3CHJHUX.mjs +424 -0
- package/dist/chunk-ZTRM4HZJ.mjs +53 -0
- package/dist/index.d.mts +18 -7
- package/dist/index.d.ts +18 -7
- package/dist/index.js +2461 -8
- package/dist/index.mjs +46 -12
- 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 +1740 -891
- package/dist/types-D4MD2w3_.d.mts +9 -0
- package/dist/types-D4MD2w3_.d.ts +9 -0
- package/dist/types-mhQmqhsR.d.mts +10 -0
- package/dist/types-mhQmqhsR.d.ts +10 -0
- package/package.json +9 -32
- package/dist/Modal.mjs +0 -10
- package/dist/chunk-2O2IH2FG.mjs +0 -83
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
- /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/{Checkbox.js → atom/Checkbox/Checkbox.js} +0 -0
- /package/dist/{Radio.d.mts → atom/Radio/Radio.d.mts} +0 -0
- /package/dist/{Radio.d.ts → atom/Radio/Radio.d.ts} +0 -0
- /package/dist/{Radio.js → atom/Radio/Radio.js} +0 -0
- /package/dist/{Switch.d.mts → atom/Switch/Switch.d.mts} +0 -0
- /package/dist/{Switch.d.ts → atom/Switch/Switch.d.ts} +0 -0
- /package/dist/{Switch.js → atom/Switch/Switch.js} +0 -0
- /package/dist/{Tooltip.d.mts → atom/Tooltip/Tooltip.d.mts} +0 -0
- /package/dist/{Tooltip.d.ts → atom/Tooltip/Tooltip.d.ts} +0 -0
- /package/dist/{Tooltip.js → atom/Tooltip/Tooltip.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itilite/lumina-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2-alpha",
|
|
4
4
|
"description": "Itilite Lumina Design System UI Components",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,35 +17,10 @@
|
|
|
17
17
|
"import": "./dist/index.mjs",
|
|
18
18
|
"require": "./dist/index.js"
|
|
19
19
|
},
|
|
20
|
-
"
|
|
21
|
-
"types": "./dist
|
|
22
|
-
"import": "./dist
|
|
23
|
-
"require": "./dist
|
|
24
|
-
},
|
|
25
|
-
"./checkbox": {
|
|
26
|
-
"types": "./dist/Checkbox.d.ts",
|
|
27
|
-
"import": "./dist/Checkbox.mjs",
|
|
28
|
-
"require": "./dist/Checkbox.js"
|
|
29
|
-
},
|
|
30
|
-
"./modal": {
|
|
31
|
-
"types": "./dist/Modal.d.ts",
|
|
32
|
-
"import": "./dist/Modal.mjs",
|
|
33
|
-
"require": "./dist/Modal.js"
|
|
34
|
-
},
|
|
35
|
-
"./radio": {
|
|
36
|
-
"types": "./dist/Radio.d.ts",
|
|
37
|
-
"import": "./dist/Radio.mjs",
|
|
38
|
-
"require": "./dist/Radio.js"
|
|
39
|
-
},
|
|
40
|
-
"./switch": {
|
|
41
|
-
"types": "./dist/Switch.d.ts",
|
|
42
|
-
"import": "./dist/Switch.mjs",
|
|
43
|
-
"require": "./dist/Switch.js"
|
|
44
|
-
},
|
|
45
|
-
"./tooltip": {
|
|
46
|
-
"types": "./dist/Tooltip.d.ts",
|
|
47
|
-
"import": "./dist/Tooltip.mjs",
|
|
48
|
-
"require": "./dist/Tooltip.js"
|
|
20
|
+
"./*": {
|
|
21
|
+
"types": "./dist/*.d.ts",
|
|
22
|
+
"import": "./dist/*.mjs",
|
|
23
|
+
"require": "./dist/*.js"
|
|
49
24
|
},
|
|
50
25
|
"./styles.css": "./dist/styles.css"
|
|
51
26
|
},
|
|
@@ -93,12 +68,14 @@
|
|
|
93
68
|
"postcss-modules": "^6.0.1",
|
|
94
69
|
"react": "^18.2.0",
|
|
95
70
|
"sass": "^1.69.5",
|
|
96
|
-
"tailwindcss": "^3.4
|
|
71
|
+
"tailwindcss": "^3.2.4",
|
|
97
72
|
"tsup": "^8.0.2",
|
|
98
73
|
"typescript": "5.5.4"
|
|
99
74
|
},
|
|
100
75
|
"peerDependencies": {
|
|
101
76
|
"antd": "5.13.1",
|
|
102
|
-
"
|
|
77
|
+
"dayjs": "^1.11.0",
|
|
78
|
+
"react": "^18.2.0",
|
|
79
|
+
"@ant-design/icons": "^5.0.1"
|
|
103
80
|
}
|
|
104
81
|
}
|
package/dist/Modal.mjs
DELETED
package/dist/chunk-2O2IH2FG.mjs
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// src/atom/Avatar/Avatar.tsx
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
var COLOR_MAP = {
|
|
5
|
-
A: "#6455BF",
|
|
6
|
-
B: "#C46273",
|
|
7
|
-
C: "#52A79E",
|
|
8
|
-
D: "#DF8654",
|
|
9
|
-
E: "#B8639F",
|
|
10
|
-
F: "#6455BF",
|
|
11
|
-
G: "#C46273",
|
|
12
|
-
H: "#52A79E",
|
|
13
|
-
I: "#DF8654",
|
|
14
|
-
J: "#B8639F",
|
|
15
|
-
K: "#6455BF",
|
|
16
|
-
L: "#C46273",
|
|
17
|
-
M: "#52A79E",
|
|
18
|
-
N: "#DF8654",
|
|
19
|
-
O: "#B8639F",
|
|
20
|
-
P: "#6455BF",
|
|
21
|
-
Q: "#C46273",
|
|
22
|
-
R: "#52A79E",
|
|
23
|
-
S: "#DF8654",
|
|
24
|
-
T: "#B8639F",
|
|
25
|
-
U: "#6455BF",
|
|
26
|
-
V: "#C46273",
|
|
27
|
-
W: "#52A79E",
|
|
28
|
-
X: "#DF8654",
|
|
29
|
-
Y: "#B8639F",
|
|
30
|
-
Z: "#6455BF",
|
|
31
|
-
0: "#6455BF",
|
|
32
|
-
1: "#C46273",
|
|
33
|
-
6: "#C46273",
|
|
34
|
-
2: "#52A79E",
|
|
35
|
-
7: "#52A79E",
|
|
36
|
-
3: "#DF8654",
|
|
37
|
-
8: "#DF8654",
|
|
38
|
-
4: "#B8639F",
|
|
39
|
-
9: "#B8639F"
|
|
40
|
-
};
|
|
41
|
-
function Avatar({
|
|
42
|
-
img,
|
|
43
|
-
className,
|
|
44
|
-
name,
|
|
45
|
-
height = 28,
|
|
46
|
-
width = 28,
|
|
47
|
-
size = "normal"
|
|
48
|
-
}) {
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
style: { height, width },
|
|
53
|
-
className: "tw-rounded-full tw-flex tw-items-center",
|
|
54
|
-
children: !img && name ? /* @__PURE__ */ jsx(
|
|
55
|
-
"div",
|
|
56
|
-
{
|
|
57
|
-
style: { backgroundColor: COLOR_MAP[name[0]] },
|
|
58
|
-
className: clsx(
|
|
59
|
-
{ "tw-text-font-size-10": size === "small" },
|
|
60
|
-
`tw-text-white tw-font-medium tw-rounded-full tw-flex tw-items-center tw-justify-center `,
|
|
61
|
-
className
|
|
62
|
-
),
|
|
63
|
-
children: name[0]
|
|
64
|
-
}
|
|
65
|
-
) : img ? /* @__PURE__ */ jsx(
|
|
66
|
-
"img",
|
|
67
|
-
{
|
|
68
|
-
src: img,
|
|
69
|
-
style: { height, width },
|
|
70
|
-
alt: name,
|
|
71
|
-
className: clsx("tw-rounded-full tw-object-cover", className)
|
|
72
|
-
}
|
|
73
|
-
) : null
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
Avatar.displayName = "Avatar";
|
|
78
|
-
var Avatar_default = Avatar;
|
|
79
|
-
|
|
80
|
-
export {
|
|
81
|
-
Avatar,
|
|
82
|
-
Avatar_default
|
|
83
|
-
};
|
package/dist/styles.d.mts
DELETED
package/dist/styles.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|