@talentlytica/prodigy 1.1.1 → 1.2.1
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 +2 -2
- package/dist/carousel.d.ts +1 -0
- package/dist/carousel.js +2 -0
- package/dist/charts.d.ts +2 -0
- package/dist/charts.js +2 -0
- package/dist/components/Select/Select.d.ts +3 -0
- package/dist/components/index.d.ts +0 -8
- package/dist/data-table.d.ts +1 -0
- package/dist/data-table.js +63 -0
- package/dist/dates.d.ts +1 -0
- package/dist/dates.js +9 -0
- package/dist/dropzone.d.ts +1 -0
- package/dist/dropzone.js +2 -0
- package/dist/index.js +223 -334
- package/dist/notifications.d.ts +1 -0
- package/dist/notifications.js +2 -0
- package/dist/primitives-BiEY8qsh.js +2 -0
- package/dist/rte.d.ts +1 -0
- package/dist/rte.js +43 -0
- package/dist/themes/kelola.d.ts +8 -8
- package/package.json +41 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { notifications, Notifications, type NotificationData, } from './components/NotificationsSystem/NotificationsSystem';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Box as e, Center as t, Container as n, Flex as r, Grid as i, Group as a, Image as o, Pagination as s, ScrollArea as c, SimpleGrid as l, Stack as u, Table as d, Text as f, TextInput as p, Title as m } from "@mantine/core";
|
|
2
|
+
export { i as a, c, f as d, m as f, p as h, r as i, l, s as m, t as n, a as o, d as p, n as r, o as s, e as t, u };
|
package/dist/rte.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RichTextEditor, type RichTextEditorProps } from './components/RichTextEditor/RichTextEditor';
|
package/dist/rte.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { useEffect as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { useEditor as r } from "@tiptap/react";
|
|
4
|
+
import i from "@tiptap/starter-kit";
|
|
5
|
+
import { Link as a, RichTextEditor as o } from "@mantine/tiptap";
|
|
6
|
+
//#region src/components/RichTextEditor/RichTextEditor.tsx
|
|
7
|
+
function s({ content: s = "", onChange: c, editable: l = !0, ...u }) {
|
|
8
|
+
let d = r({
|
|
9
|
+
extensions: [i.configure({ link: !1 }), a],
|
|
10
|
+
content: s,
|
|
11
|
+
editable: l,
|
|
12
|
+
immediatelyRender: !1,
|
|
13
|
+
onUpdate: ({ editor: e }) => c?.(e.getHTML())
|
|
14
|
+
});
|
|
15
|
+
return e(() => {
|
|
16
|
+
d?.setEditable(l);
|
|
17
|
+
}, [d, l]), /* @__PURE__ */ n(o, {
|
|
18
|
+
editor: d,
|
|
19
|
+
...u,
|
|
20
|
+
children: [/* @__PURE__ */ n(o.Toolbar, {
|
|
21
|
+
sticky: !0,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ n(o.ControlsGroup, { children: [
|
|
24
|
+
/* @__PURE__ */ t(o.Bold, {}),
|
|
25
|
+
/* @__PURE__ */ t(o.Italic, {}),
|
|
26
|
+
/* @__PURE__ */ t(o.Underline, {}),
|
|
27
|
+
/* @__PURE__ */ t(o.Strikethrough, {}),
|
|
28
|
+
/* @__PURE__ */ t(o.ClearFormatting, {})
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ n(o.ControlsGroup, { children: [
|
|
31
|
+
/* @__PURE__ */ t(o.H1, {}),
|
|
32
|
+
/* @__PURE__ */ t(o.H2, {}),
|
|
33
|
+
/* @__PURE__ */ t(o.H3, {})
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ n(o.ControlsGroup, { children: [/* @__PURE__ */ t(o.BulletList, {}), /* @__PURE__ */ t(o.OrderedList, {})] }),
|
|
36
|
+
/* @__PURE__ */ n(o.ControlsGroup, { children: [/* @__PURE__ */ t(o.Link, {}), /* @__PURE__ */ t(o.Unlink, {})] }),
|
|
37
|
+
/* @__PURE__ */ n(o.ControlsGroup, { children: [/* @__PURE__ */ t(o.Undo, {}), /* @__PURE__ */ t(o.Redo, {})] })
|
|
38
|
+
]
|
|
39
|
+
}), /* @__PURE__ */ t(o.Content, {})]
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
export { s as RichTextEditor };
|
package/dist/themes/kelola.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MantineColorsTuple } from '@mantine/core';
|
|
2
2
|
export declare const kelolaTheme: {
|
|
3
|
-
focusRing?: "
|
|
3
|
+
focusRing?: "auto" | "always" | "never" | undefined;
|
|
4
4
|
scale?: number | undefined;
|
|
5
5
|
fontSmoothing?: boolean | undefined;
|
|
6
6
|
white?: string | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const kelolaTheme: {
|
|
|
35
35
|
headings?: {
|
|
36
36
|
fontFamily?: string | undefined;
|
|
37
37
|
fontWeight?: string | undefined;
|
|
38
|
-
textWrap?: "
|
|
38
|
+
textWrap?: "nowrap" | "wrap" | "balance" | "pretty" | "stable" | undefined;
|
|
39
39
|
sizes?: {
|
|
40
40
|
h1?: {
|
|
41
41
|
fontSize?: string | undefined;
|
|
@@ -71,8 +71,8 @@ export declare const kelolaTheme: {
|
|
|
71
71
|
} | undefined;
|
|
72
72
|
radius?: {
|
|
73
73
|
[x: string & {}]: string | undefined;
|
|
74
|
-
xs?: string | undefined;
|
|
75
74
|
sm?: string | undefined;
|
|
75
|
+
xs?: string | undefined;
|
|
76
76
|
md?: string | undefined;
|
|
77
77
|
lg?: string | undefined;
|
|
78
78
|
xl?: string | undefined;
|
|
@@ -81,24 +81,24 @@ export declare const kelolaTheme: {
|
|
|
81
81
|
spacing?: {
|
|
82
82
|
[x: number]: string | undefined;
|
|
83
83
|
[x: string & {}]: string | undefined;
|
|
84
|
-
xs?: string | undefined;
|
|
85
84
|
sm?: string | undefined;
|
|
85
|
+
xs?: string | undefined;
|
|
86
86
|
md?: string | undefined;
|
|
87
87
|
lg?: string | undefined;
|
|
88
88
|
xl?: string | undefined;
|
|
89
89
|
} | undefined;
|
|
90
90
|
fontSizes?: {
|
|
91
91
|
[x: string & {}]: string | undefined;
|
|
92
|
-
xs?: string | undefined;
|
|
93
92
|
sm?: string | undefined;
|
|
93
|
+
xs?: string | undefined;
|
|
94
94
|
md?: string | undefined;
|
|
95
95
|
lg?: string | undefined;
|
|
96
96
|
xl?: string | undefined;
|
|
97
97
|
} | undefined;
|
|
98
98
|
lineHeights?: {
|
|
99
99
|
[x: string & {}]: string | undefined;
|
|
100
|
-
xs?: string | undefined;
|
|
101
100
|
sm?: string | undefined;
|
|
101
|
+
xs?: string | undefined;
|
|
102
102
|
md?: string | undefined;
|
|
103
103
|
lg?: string | undefined;
|
|
104
104
|
xl?: string | undefined;
|
|
@@ -111,16 +111,16 @@ export declare const kelolaTheme: {
|
|
|
111
111
|
} | undefined;
|
|
112
112
|
breakpoints?: {
|
|
113
113
|
[x: string & {}]: string | undefined;
|
|
114
|
-
xs?: string | undefined;
|
|
115
114
|
sm?: string | undefined;
|
|
115
|
+
xs?: string | undefined;
|
|
116
116
|
md?: string | undefined;
|
|
117
117
|
lg?: string | undefined;
|
|
118
118
|
xl?: string | undefined;
|
|
119
119
|
} | undefined;
|
|
120
120
|
shadows?: {
|
|
121
121
|
[x: string & {}]: string | undefined;
|
|
122
|
-
xs?: string | undefined;
|
|
123
122
|
sm?: string | undefined;
|
|
123
|
+
xs?: string | undefined;
|
|
124
124
|
md?: string | undefined;
|
|
125
125
|
lg?: string | undefined;
|
|
126
126
|
xl?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talentlytica/prodigy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Talentlytica Prodigy design system — Mantine v9 base, tema Kelola Apps.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -23,6 +23,46 @@
|
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"import": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./charts": {
|
|
28
|
+
"types": "./dist/charts.d.ts",
|
|
29
|
+
"import": "./dist/charts.js"
|
|
30
|
+
},
|
|
31
|
+
"./dates": {
|
|
32
|
+
"types": "./dist/dates.d.ts",
|
|
33
|
+
"import": "./dist/dates.js"
|
|
34
|
+
},
|
|
35
|
+
"./dropzone": {
|
|
36
|
+
"types": "./dist/dropzone.d.ts",
|
|
37
|
+
"import": "./dist/dropzone.js"
|
|
38
|
+
},
|
|
39
|
+
"./carousel": {
|
|
40
|
+
"types": "./dist/carousel.d.ts",
|
|
41
|
+
"import": "./dist/carousel.js"
|
|
42
|
+
},
|
|
43
|
+
"./rte": {
|
|
44
|
+
"types": "./dist/rte.d.ts",
|
|
45
|
+
"import": "./dist/rte.js"
|
|
46
|
+
},
|
|
47
|
+
"./data-table": {
|
|
48
|
+
"types": "./dist/data-table.d.ts",
|
|
49
|
+
"import": "./dist/data-table.js"
|
|
50
|
+
},
|
|
51
|
+
"./notifications": {
|
|
52
|
+
"types": "./dist/notifications.d.ts",
|
|
53
|
+
"import": "./dist/notifications.js"
|
|
54
|
+
},
|
|
55
|
+
"./package.json": "./package.json"
|
|
56
|
+
},
|
|
57
|
+
"typesVersions": {
|
|
58
|
+
"*": {
|
|
59
|
+
"charts": ["./dist/charts.d.ts"],
|
|
60
|
+
"dates": ["./dist/dates.d.ts"],
|
|
61
|
+
"dropzone": ["./dist/dropzone.d.ts"],
|
|
62
|
+
"carousel": ["./dist/carousel.d.ts"],
|
|
63
|
+
"rte": ["./dist/rte.d.ts"],
|
|
64
|
+
"data-table": ["./dist/data-table.d.ts"],
|
|
65
|
+
"notifications": ["./dist/notifications.d.ts"]
|
|
26
66
|
}
|
|
27
67
|
},
|
|
28
68
|
"scripts": {
|