ingeniuscliq-core 0.4.27 → 0.4.28
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/common/index.d.ts +1 -0
- package/dist/components/common/index.d.ts.map +1 -1
- package/dist/components/common/toast/Toaster.d.ts +5 -0
- package/dist/components/common/toast/Toaster.d.ts.map +1 -0
- package/dist/components/common/toast/Toaster.js +36 -0
- package/dist/components/common/toast/index.d.ts +2 -0
- package/dist/components/common/toast/index.d.ts.map +1 -0
- package/dist/components/templates/CoreHomeLayout.d.ts.map +1 -1
- package/dist/components/templates/CoreHomeLayout.js +21 -2
- package/dist/components/templates/CorePreviewLayout.d.ts.map +1 -1
- package/dist/components/templates/CorePreviewLayout.js +22 -3
- package/dist/index.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../../src/components/common/toast/Toaster.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE1C,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;AAEvD,eAAO,MAAM,OAAO,GAAI,cAAc,YAAY,gCAiCjD,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Loader2Icon, OctagonXIcon, TriangleAlertIcon, InfoIcon, CircleCheckIcon } from 'lucide-react';
|
|
3
|
+
import { Toaster as Toaster$1 } from 'sonner';
|
|
4
|
+
|
|
5
|
+
const Toaster = ({ ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
Toaster$1,
|
|
8
|
+
{
|
|
9
|
+
className: "toaster group",
|
|
10
|
+
toastOptions: {
|
|
11
|
+
classNames: {
|
|
12
|
+
toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
|
|
13
|
+
description: "group-[.toast]:text-muted-foreground",
|
|
14
|
+
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
|
|
15
|
+
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
icons: {
|
|
19
|
+
success: /* @__PURE__ */ jsx(CircleCheckIcon, { className: "size-4" }),
|
|
20
|
+
info: /* @__PURE__ */ jsx(InfoIcon, { className: "size-4" }),
|
|
21
|
+
warning: /* @__PURE__ */ jsx(TriangleAlertIcon, { className: "size-4" }),
|
|
22
|
+
error: /* @__PURE__ */ jsx(OctagonXIcon, { className: "size-4" }),
|
|
23
|
+
loading: /* @__PURE__ */ jsx(Loader2Icon, { className: "size-4 animate-spin" })
|
|
24
|
+
},
|
|
25
|
+
style: {
|
|
26
|
+
"--normal-bg": "var(--popover)",
|
|
27
|
+
"--normal-text": "var(--popover-foreground)",
|
|
28
|
+
"--normal-border": "var(--border)",
|
|
29
|
+
"--border-radius": "var(--radius)"
|
|
30
|
+
},
|
|
31
|
+
...props
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export { Toaster };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/common/toast/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreHomeLayout.d.ts","sourceRoot":"","sources":["../../../src/components/templates/CoreHomeLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoreHomeLayout.d.ts","sourceRoot":"","sources":["../../../src/components/templates/CoreHomeLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhF,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BAOvE"}
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import 'clsx';
|
|
3
|
+
import 'tailwind-merge';
|
|
4
|
+
import '../ui/carousel.js';
|
|
5
|
+
import '../ui/form.js';
|
|
6
|
+
import '../ui/input.js';
|
|
7
|
+
import 'react-i18next';
|
|
8
|
+
import '../../i18n/config.js';
|
|
9
|
+
import 'react';
|
|
10
|
+
import '../ui/textarea.js';
|
|
11
|
+
import '../ui/select.js';
|
|
12
|
+
import '../ui/checkbox.js';
|
|
13
|
+
import '@tanstack/react-router';
|
|
14
|
+
import '../ui/pagination.js';
|
|
15
|
+
/* empty css */
|
|
16
|
+
import 'lucide-react';
|
|
17
|
+
import { Toaster } from '../common/toast/Toaster.js';
|
|
2
18
|
import { CoreBaseLayout } from '../layouts/CoreBaseLayout.js';
|
|
3
19
|
|
|
4
20
|
function CoreHomeLayout({ styles, children }) {
|
|
5
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ jsxs(CoreBaseLayout, { styles, children: [
|
|
22
|
+
children,
|
|
23
|
+
/* @__PURE__ */ jsx(Toaster, {})
|
|
24
|
+
] });
|
|
6
25
|
}
|
|
7
26
|
|
|
8
27
|
export { CoreHomeLayout };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorePreviewLayout.d.ts","sourceRoot":"","sources":["../../../src/components/templates/CorePreviewLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CorePreviewLayout.d.ts","sourceRoot":"","sources":["../../../src/components/templates/CorePreviewLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhF,wBAAgB,iBAAiB,CAAC,EAChC,cAAc,EACd,cAAc,EACd,eAAe,EACf,aAAa,EACb,eAAe,EACf,QAAQ,EACR,MAAM,GACP,EAAE,mBAAmB,+BAcrB"}
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import 'clsx';
|
|
3
|
+
import 'tailwind-merge';
|
|
4
|
+
import '../ui/carousel.js';
|
|
5
|
+
import '../ui/form.js';
|
|
6
|
+
import '../ui/input.js';
|
|
7
|
+
import 'react-i18next';
|
|
8
|
+
import '../../i18n/config.js';
|
|
9
|
+
import 'react';
|
|
10
|
+
import '../ui/textarea.js';
|
|
11
|
+
import '../ui/select.js';
|
|
12
|
+
import '../ui/checkbox.js';
|
|
13
|
+
import '@tanstack/react-router';
|
|
14
|
+
import '../ui/pagination.js';
|
|
15
|
+
/* empty css */
|
|
16
|
+
import 'lucide-react';
|
|
17
|
+
import { Toaster } from '../common/toast/Toaster.js';
|
|
2
18
|
import { CoreBaseLayout } from '../layouts/CoreBaseLayout.js';
|
|
3
19
|
|
|
4
20
|
function CorePreviewLayout({
|
|
@@ -10,7 +26,7 @@ function CorePreviewLayout({
|
|
|
10
26
|
children,
|
|
11
27
|
styles
|
|
12
28
|
}) {
|
|
13
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ jsxs(
|
|
14
30
|
CoreBaseLayout,
|
|
15
31
|
{
|
|
16
32
|
headerChildren,
|
|
@@ -19,7 +35,10 @@ function CorePreviewLayout({
|
|
|
19
35
|
mainClassName,
|
|
20
36
|
footerClassName,
|
|
21
37
|
styles,
|
|
22
|
-
children
|
|
38
|
+
children: [
|
|
39
|
+
children,
|
|
40
|
+
/* @__PURE__ */ jsx(Toaster, {})
|
|
41
|
+
]
|
|
23
42
|
}
|
|
24
43
|
);
|
|
25
44
|
}
|
package/dist/index.js
CHANGED
|
@@ -43,6 +43,7 @@ export { CustomPagination } from './components/common/pagination/CustomPaginatio
|
|
|
43
43
|
export { CustomSelect } from './components/common/select/CustomSelect.js';
|
|
44
44
|
export { Spinner } from './components/common/spinner/Spinner.js';
|
|
45
45
|
export { Stepper } from './components/common/stepper/Stepper.js';
|
|
46
|
+
export { Toaster } from './components/common/toast/Toaster.js';
|
|
46
47
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/ui/accordion.js';
|
|
47
48
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/ui/alert-dialog.js';
|
|
48
49
|
export { Alert, AlertDescription, AlertTitle } from './components/ui/alert.js';
|