@admin-layout/tailwind-ui 12.0.16-alpha.2 → 12.0.16-alpha.23
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/lib/components/PageContainer/PageContainer.d.ts.map +1 -1
- package/lib/components/PageContainer/PageContainer.js +9 -4
- package/lib/components/PageContainer/PageContainer.js.map +1 -1
- package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts +11 -0
- package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewCheckboxWidget.d.ts +8 -0
- package/lib/components/RJSFPreview/PreviewCheckboxWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewCustomFieldTemplate.d.ts +4 -0
- package/lib/components/RJSFPreview/PreviewCustomFieldTemplate.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewDateWidget.d.ts +8 -0
- package/lib/components/RJSFPreview/PreviewDateWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewDialog.d.ts +9 -0
- package/lib/components/RJSFPreview/PreviewDialog.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewDropdownWidget.d.ts +8 -0
- package/lib/components/RJSFPreview/PreviewDropdownWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewFieldTemplate.d.ts +4 -0
- package/lib/components/RJSFPreview/PreviewFieldTemplate.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewFileUploadWidget.d.ts +4 -0
- package/lib/components/RJSFPreview/PreviewFileUploadWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewFormRenderer.d.ts +16 -0
- package/lib/components/RJSFPreview/PreviewFormRenderer.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewImageUploadWidget.d.ts +4 -0
- package/lib/components/RJSFPreview/PreviewImageUploadWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewInputWidget.d.ts +4 -0
- package/lib/components/RJSFPreview/PreviewInputWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewObjectFieldTemplate.d.ts +4 -0
- package/lib/components/RJSFPreview/PreviewObjectFieldTemplate.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewRadioWidget.d.ts +8 -0
- package/lib/components/RJSFPreview/PreviewRadioWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewStepper.d.ts +9 -0
- package/lib/components/RJSFPreview/PreviewStepper.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewSwitchWidget.d.ts +9 -0
- package/lib/components/RJSFPreview/PreviewSwitchWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewTab.d.ts +17 -0
- package/lib/components/RJSFPreview/PreviewTab.d.ts.map +1 -0
- package/lib/components/RJSFPreview/PreviewTextareaWidget.d.ts +8 -0
- package/lib/components/RJSFPreview/PreviewTextareaWidget.d.ts.map +1 -0
- package/lib/components/RJSFPreview/generateSchemaWithInputs.d.ts +9 -0
- package/lib/components/RJSFPreview/generateSchemaWithInputs.d.ts.map +1 -0
- package/lib/components/RJSFPreview/index.d.ts +2 -0
- package/lib/components/RJSFPreview/index.d.ts.map +1 -0
- package/lib/components/ReactTable/Table.d.ts.map +1 -1
- package/lib/hooks/index.d.ts +4 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/useTheme.js +1 -1
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/hooks/useWindowSize.d.ts.map +1 -0
- package/lib/hooks/useWindowSize.js +20 -0
- package/lib/hooks/useWindowSize.js.map +1 -0
- package/lib/index.d.ts +1 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/shardui/accordion.js +1 -1
- package/lib/shardui/accordion.js.map +1 -1
- package/lib/shardui/alert-dialog.js +1 -1
- package/lib/shardui/alert-dialog.js.map +1 -1
- package/lib/shardui/alert.js +1 -1
- package/lib/shardui/alert.js.map +1 -1
- package/lib/shardui/avatar.js +1 -1
- package/lib/shardui/avatar.js.map +1 -1
- package/lib/shardui/badge.js +1 -1
- package/lib/shardui/breadcrumb.js +1 -1
- package/lib/shardui/breadcrumb.js.map +1 -1
- package/lib/shardui/button.js +1 -1
- package/lib/shardui/button.js.map +1 -1
- package/lib/shardui/calendar.js +1 -1
- package/lib/shardui/card.js +1 -1
- package/lib/shardui/card.js.map +1 -1
- package/lib/shardui/carousel.js +1 -1
- package/lib/shardui/carousel.js.map +1 -1
- package/lib/shardui/chart.js +1 -1
- package/lib/shardui/checkbox.js +1 -1
- package/lib/shardui/command.js +1 -1
- package/lib/shardui/context-menu.js +1 -1
- package/lib/shardui/context-menu.js.map +1 -1
- package/lib/shardui/dialog.js +1 -1
- package/lib/shardui/dialog.js.map +1 -1
- package/lib/shardui/drawer.js +1 -1
- package/lib/shardui/dropdown-menu.js +1 -1
- package/lib/shardui/dropdown-menu.js.map +1 -1
- package/lib/shardui/form.js +1 -1
- package/lib/shardui/hover-card.js +1 -1
- package/lib/shardui/hover-card.js.map +1 -1
- package/lib/shardui/index.js +1 -0
- package/lib/shardui/index.js.map +1 -0
- package/lib/shardui/input-otp.js +1 -1
- package/lib/shardui/input.js +1 -1
- package/lib/shardui/label.js +1 -1
- package/lib/shardui/menubar.js +1 -1
- package/lib/shardui/navigation-menu.js +1 -1
- package/lib/shardui/navigation-menu.js.map +1 -1
- package/lib/shardui/pagination.js +1 -1
- package/lib/shardui/pagination.js.map +1 -1
- package/lib/shardui/popover.js +1 -1
- package/lib/shardui/popover.js.map +1 -1
- package/lib/shardui/progress.js +1 -1
- package/lib/shardui/radio-group.js +1 -1
- package/lib/shardui/resizable.d.ts +1 -1
- package/lib/shardui/resizable.js +1 -1
- package/lib/shardui/scroll-area.js +1 -1
- package/lib/shardui/scroll-area.js.map +1 -1
- package/lib/shardui/select.js +1 -1
- package/lib/shardui/select.js.map +1 -1
- package/lib/shardui/separator.js +1 -1
- package/lib/shardui/sheet.js +1 -1
- package/lib/shardui/sheet.js.map +1 -1
- package/lib/shardui/sidebar.js +1 -1
- package/lib/shardui/sidebar.js.map +1 -1
- package/lib/shardui/skeleton.js +1 -1
- package/lib/shardui/slider.js +1 -1
- package/lib/shardui/sonner.js +3 -3
- package/lib/shardui/sonner.js.map +1 -1
- package/lib/shardui/switch.js +1 -1
- package/lib/shardui/table.js +1 -1
- package/lib/shardui/table.js.map +1 -1
- package/lib/shardui/tabs.js +1 -1
- package/lib/shardui/tabs.js.map +1 -1
- package/lib/shardui/textarea.js +1 -1
- package/lib/shardui/textarea.js.map +1 -1
- package/lib/shardui/toast.js +1 -1
- package/lib/shardui/toaster.js +1 -1
- package/lib/shardui/toggle-group.js +1 -1
- package/lib/shardui/toggle.js +1 -1
- package/lib/shardui/tooltip.js +1 -1
- package/lib/shardui/tooltip.js.map +1 -1
- package/package.json +47 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/PageContainer/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/PageContainer/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+DtD,CAAC"}
|
|
@@ -30,9 +30,9 @@ import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';
|
|
|
30
30
|
return jsx(Spin, {});
|
|
31
31
|
}
|
|
32
32
|
return jsxs("div", {
|
|
33
|
-
className: "
|
|
33
|
+
className: "themed-card p-4",
|
|
34
34
|
children: [tabList && tabList.length > 0 && jsx("div", {
|
|
35
|
-
className: "
|
|
35
|
+
className: "border-b border-border mb-4",
|
|
36
36
|
children: jsxs("div", {
|
|
37
37
|
className: "flex items-center justify-between",
|
|
38
38
|
children: [jsx("ul", {
|
|
@@ -41,16 +41,21 @@ import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';
|
|
|
41
41
|
className: "mr-2",
|
|
42
42
|
children: jsx("button", {
|
|
43
43
|
onClick: () => handleTabChange(tab.path),
|
|
44
|
-
className: `
|
|
44
|
+
className: `
|
|
45
|
+
inline-block p-4 transition-colors
|
|
46
|
+
${activeTabKey === tab.path ? 'text-primary border-b-2 border-primary' : 'text-muted-foreground hover:text-foreground border-b-2 border-transparent hover:border-accent'}
|
|
47
|
+
focus-themed
|
|
48
|
+
`,
|
|
45
49
|
children: tab.tab
|
|
46
50
|
})
|
|
47
51
|
}, tab.path))
|
|
48
52
|
}), tabBarExtraContent && jsx("div", {
|
|
53
|
+
className: "text-muted-foreground",
|
|
49
54
|
children: tabBarExtraContent
|
|
50
55
|
})]
|
|
51
56
|
})
|
|
52
57
|
}), jsx("div", {
|
|
53
|
-
className: "page-content",
|
|
58
|
+
className: "page-content text-foreground",
|
|
54
59
|
children: props.children
|
|
55
60
|
})]
|
|
56
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
2
|
+
export interface SelectWidgetProps extends WidgetProps {
|
|
3
|
+
multiple?: boolean;
|
|
4
|
+
widgetContext?: {
|
|
5
|
+
fetcher?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
|
6
|
+
formData: Record<string, any>;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const PreviewAsyncDropdown: (props: SelectWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default PreviewAsyncDropdown;
|
|
11
|
+
//# sourceMappingURL=PreviewAsyncDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewAsyncDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewAsyncDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE;QACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC9E,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACjC,CAAC;CACL;AAOD,QAAA,MAAM,oBAAoB,GAAI,OAAO,iBAAiB,4CA6GrD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
3
|
+
interface PreviewCheckboxWidgetProps extends WidgetProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const PreviewCheckboxWidget: React.FC<PreviewCheckboxWidgetProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PreviewCheckboxWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewCheckboxWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewCheckboxWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,0BAA2B,SAAQ,WAAW;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAwHtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewCustomFieldTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewCustomFieldTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMjD,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoPnE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
3
|
+
interface PreviewDateWidgetProps extends WidgetProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const PreviewDateWidget: React.FC<PreviewDateWidgetProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PreviewDateWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewDateWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewDateWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiB1C,UAAU,sBAAuB,SAAQ,WAAW;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6K9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewDialog.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmBtD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
3
|
+
interface PreviewDropdownWidgetProps extends WidgetProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const PreviewDropdownWidget: React.FC<PreviewDropdownWidgetProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PreviewDropdownWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewDropdownWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewDropdownWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,0BAA2B,SAAQ,WAAW;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAqEtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewFieldTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewFieldTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgE7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewFileUploadWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewFileUploadWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmHzD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface PreviewFormRendererProps {
|
|
3
|
+
schema: any;
|
|
4
|
+
uiSchema: any;
|
|
5
|
+
stepName?: string;
|
|
6
|
+
onNext?: (data: Record<string, any>) => void;
|
|
7
|
+
onPrevious?: () => void;
|
|
8
|
+
initialData?: Record<string, any>;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
isLastStep?: boolean;
|
|
11
|
+
customValidateFunction?: (formData: any, errors: any, uiSchema: any) => any;
|
|
12
|
+
validator?: any;
|
|
13
|
+
}
|
|
14
|
+
export declare const PreviewFormRenderer: React.FC<PreviewFormRendererProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=PreviewFormRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewFormRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewFormRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiBxC,UAAU,wBAAwB;IAC9B,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;IAC5E,SAAS,CAAC,EAAE,GAAG,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA2OlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewImageUploadWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewImageUploadWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA4G1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewInputWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewInputWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6EpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewObjectFieldTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewObjectFieldTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAgCzE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
3
|
+
interface PreviewRadioWidgetProps extends WidgetProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const PreviewRadioWidget: React.FC<PreviewRadioWidgetProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PreviewRadioWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewRadioWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewRadioWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,uBAAwB,SAAQ,WAAW;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAwEhE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewStepper.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewStepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,mBAAmB;IACzB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,GAAG,CAAC;CACf;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmDxD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
3
|
+
interface PreviewSwitchWidgetProps extends WidgetProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
showTitle?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const PreviewSwitchWidget: React.FC<PreviewSwitchWidgetProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=PreviewSwitchWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewSwitchWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewSwitchWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,wBAAyB,SAAQ,WAAW;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAoFlE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface PreviewTabProps {
|
|
3
|
+
formSchema: any;
|
|
4
|
+
uiSchema: any;
|
|
5
|
+
customValidateFunction: (formData: any, errors: any, uiSchema: any) => any;
|
|
6
|
+
validator: any;
|
|
7
|
+
handleSubmit: ({ formData, generatedSchema, amenitiesFragmentSchema, }: {
|
|
8
|
+
formData: any;
|
|
9
|
+
generatedSchema?: any;
|
|
10
|
+
amenitiesFragmentSchema?: any;
|
|
11
|
+
}) => void;
|
|
12
|
+
isConfigurationSchema?: boolean;
|
|
13
|
+
extensionData?: any;
|
|
14
|
+
}
|
|
15
|
+
export declare const PreviewTab: React.FC<PreviewTabProps>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=PreviewTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewTab.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAMjD,UAAU,eAAe;IACrB,UAAU,EAAE,GAAG,CAAC;IAChB,QAAQ,EAAE,GAAG,CAAC;IACd,sBAAsB,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;IAC3E,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,CAAC,EACX,QAAQ,EACR,eAAe,EACf,uBAAuB,GAC1B,EAAE;QACC,QAAQ,EAAE,GAAG,CAAC;QACd,eAAe,CAAC,EAAE,GAAG,CAAC;QACtB,uBAAuB,CAAC,EAAE,GAAG,CAAC;KACjC,KAAK,IAAI,CAAC;IACX,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,GAAG,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4XhD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WidgetProps } from '@rjsf/utils';
|
|
3
|
+
interface PreviewTextareaWidgetProps extends WidgetProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const PreviewTextareaWidget: React.FC<PreviewTextareaWidgetProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=PreviewTextareaWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewTextareaWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewTextareaWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,0BAA2B,SAAQ,WAAW;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAiDtE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates a JSON schema with input values embedded in the properties
|
|
3
|
+
*/
|
|
4
|
+
export declare function generateSchemaWithInputs(formSchema: any, formData: any): any;
|
|
5
|
+
export declare function extractConfigurationFormData(formData: any): any;
|
|
6
|
+
export declare function extractMultiStepFormData(formData: any): any;
|
|
7
|
+
export declare function extractConfigurationAnswers(extensionData: any): any;
|
|
8
|
+
export declare function generateAmenitiesFragmentSchema(formSchema: any): any;
|
|
9
|
+
//# sourceMappingURL=generateSchemaWithInputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateSchemaWithInputs.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/generateSchemaWithInputs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG,CA0D5E;AAED,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,CAE/D;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,CAQ3D;AAED,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,GAAG,GAAG,GAAG,CAsFnE;AAED,wBAAgB,+BAA+B,CAAC,UAAU,EAAE,GAAG,GAAG,GAAG,CAmEpE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/ReactTable/Table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/ReactTable/Table.tsx"],"names":[],"mappings":"AAsCA,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,QAAQ,CAAC;CACnC;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,oBAAoB,4CAgNrD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
package/lib/hooks/useTheme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {useContext}from'react';import {ThemeContext}from'../components/ThemeProvider/ThemeProvider.js';
|
|
1
|
+
import {useContext}from'react';import {ThemeContext}from'../components/ThemeProvider/ThemeProvider.js';function useTheme() {
|
|
2
2
|
const context = useContext(ThemeContext);
|
|
3
3
|
if (context === undefined) {
|
|
4
4
|
throw new Error('useTheme must be used within a ThemeProvider');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useWindowSize.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa;;;EAsB5B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {useState,useEffect}from'react';function useWindowSize() {
|
|
2
|
+
const [windowSize, setWindowSize] = useState({
|
|
3
|
+
width: typeof window !== 'undefined' ? window.innerWidth : 0,
|
|
4
|
+
// Check if window is defined
|
|
5
|
+
height: typeof window !== 'undefined' ? window.innerHeight : 0 // Check if window is defined
|
|
6
|
+
});
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
function handleResize() {
|
|
9
|
+
setWindowSize({
|
|
10
|
+
width: window.innerWidth,
|
|
11
|
+
height: window.innerHeight
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
// Add event listener for window resize
|
|
15
|
+
window.addEventListener('resize', handleResize);
|
|
16
|
+
// Cleanup the event listener on component unmount
|
|
17
|
+
return () => window.removeEventListener('resize', handleResize);
|
|
18
|
+
}, []);
|
|
19
|
+
return windowSize;
|
|
20
|
+
}export{useWindowSize};//# sourceMappingURL=useWindowSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWindowSize.js","sources":["../../src/hooks/useWindowSize.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAwBC,IAAA,KAAA,EAAA,OAAA,MAAA,KAAA,WAAA,GAAA,MAAA,CAAA,UAAA,GAAA,CAAA;;;;;;;;;;;;;;;;;"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{default as PageLoading}from'./components/PageLoading/index.js';export{ApplicationErrorHandler}from'./components/ErrorHandlers/ApplicationErrorHandler.js';export{ErrorBoundary}from'./components/ErrorHandlers/ErrorBoundary.js';export{LayoutErrorBoundary}from'./components/ErrorHandlers/LayoutErrorBoundary.js';export{ReactTable}from'./components/ReactTable/Table.js';export{DefaultColumnFilter,SelectColumnFilter}from'./components/ReactTable/TableFilters.js';export{Error404}from'./components/ErrorPages/404.js';export{Error500}from'./components/ErrorPages/500.js';export{Error403}from'./components/ErrorPages/403.js';export{PageContainer}from'./components/PageContainer/PageContainer.js';export{Spin}from'./components/Spin/index.js';export{OTPInput}from'./components/OTP/OTPInput.js';export{SingleInput}from'./components/OTP/SingleInput.js';export{useOTPInput}from'./components/OTP/hooks.js';export{OTPVerification}from'./components/OTP/OTPVerification.js';export{DatePicker}from'./components/DatePicker/DatePicker.js';export{TailwindUiButton}from'./components/Button/Button.js';export{TailwindThemeProvider,ThemeContext,themes}from'./components/ThemeProvider/ThemeProvider.js';export{ThemeToggle}from'./components/ThemeProvider/ThemeToggle.js';export{
|
|
1
|
+
export{default as PageLoading}from'./components/PageLoading/index.js';export{ApplicationErrorHandler}from'./components/ErrorHandlers/ApplicationErrorHandler.js';export{ErrorBoundary}from'./components/ErrorHandlers/ErrorBoundary.js';export{LayoutErrorBoundary}from'./components/ErrorHandlers/LayoutErrorBoundary.js';export{ReactTable}from'./components/ReactTable/Table.js';export{DefaultColumnFilter,SelectColumnFilter}from'./components/ReactTable/TableFilters.js';export{Error404}from'./components/ErrorPages/404.js';export{Error500}from'./components/ErrorPages/500.js';export{Error403}from'./components/ErrorPages/403.js';export{PageContainer}from'./components/PageContainer/PageContainer.js';export{Spin}from'./components/Spin/index.js';export{OTPInput}from'./components/OTP/OTPInput.js';export{SingleInput}from'./components/OTP/SingleInput.js';export{useOTPInput}from'./components/OTP/hooks.js';export{OTPVerification}from'./components/OTP/OTPVerification.js';export{DatePicker}from'./components/DatePicker/DatePicker.js';export{TailwindUiButton}from'./components/Button/Button.js';export{TailwindThemeProvider,ThemeContext,themes}from'./components/ThemeProvider/ThemeProvider.js';export{ThemeToggle}from'./components/ThemeProvider/ThemeToggle.js';export{useTheme}from'./hooks/useTheme.js';export{useWindowSize}from'./hooks/useWindowSize.js';export{ToastContainer,useToast,useToastCloseAll}from'./hooks/useToast.js';//# sourceMappingURL=index.js.map
|
package/lib/shardui/accordion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import*as AccordionPrimitive from'@radix-ui/react-accordion';import {ChevronDown}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const Accordion = AccordionPrimitive.Root;
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import*as AccordionPrimitive from'@radix-ui/react-accordion';import {ChevronDown}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Accordion = AccordionPrimitive.Root;
|
|
2
2
|
const AccordionItem = React.forwardRef(({
|
|
3
3
|
className,
|
|
4
4
|
...props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.js","sources":["../../src/shardui/accordion.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accordion.js","sources":["../../src/shardui/accordion.tsx"],"sourcesContent":[null],"names":[],"mappings":"gRAoCA,MAAA,SAAsB,GAAA,kBAAA,CAAA;AAef,MAAA,aAAa,GAAA,KAAA,CAAA,UAA+B,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import*as AlertDialogPrimitive from'@radix-ui/react-alert-dialog';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';import {buttonVariants}from'./button.js';const AlertDialog = AlertDialogPrimitive.Root;
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import*as AlertDialogPrimitive from'@radix-ui/react-alert-dialog';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {buttonVariants}from'./button.js';const AlertDialog = AlertDialogPrimitive.Root;
|
|
2
2
|
const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
3
3
|
const AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
4
4
|
const AlertDialogOverlay = React.forwardRef(({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.js","sources":["../../src/shardui/alert-dialog.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert-dialog.js","sources":["../../src/shardui/alert-dialog.tsx"],"sourcesContent":[null],"names":[],"mappings":"uRAYA,MAAA,WAAwB,GAAA,oBAAA,CAAA;AAexB,MAAA,kBAAwB,GAAA,oBAAA,CAAA;AAkBxB,MAAA,iBAAuB,GAAA,oBAAA,CAAA;AAA6B,MAAA,kBAAA,GAAA,KAAA,CAAA,UAAM,CAAA,CAAA;;EAExD,GAAA;AAGF,CAAA,EAAA,GAAA,QAAuB,CAAA,oBAAA,CAAA,OAAA,EAAA;AAA6B,EAAA,SAAA,EAAA,EAAA,CAAA,yJAAoC,EAAA,SAAA,CAAA;;EAEtF,GAAA,EAAA;AAGF,CAAA,CAAA;AAQA,kBAA4B,CAAA,WAAA,GAAA,oBAAA,CAAA,OAAA,CAAA,WAAA;AAQ5B,MAAA,kBAAuB,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAQvB,EAAA,SAAA;AAYA,EAAO,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/alert.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import*as React from'react';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const alertVariants = cva('relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', {
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import*as React from'react';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const alertVariants = cva('relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', {
|
|
2
2
|
variants: {
|
|
3
3
|
variant: {
|
|
4
4
|
default: 'bg-background text-foreground',
|
package/lib/shardui/alert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sources":["../../src/shardui/alert.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert.js","sources":["../../src/shardui/alert.tsx"],"sourcesContent":[null],"names":[],"mappings":"uYAyBG,EAAA;AAGH,EAAA,QAAA,EAAA;AAOA,IAAA,OAAA,EAAA;AAOA,MAAA,OAAc,EAAA,+BAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/avatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import*as React from'react';import*as AvatarPrimitive from'@radix-ui/react-avatar';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const Avatar = React.forwardRef(({
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import*as React from'react';import*as AvatarPrimitive from'@radix-ui/react-avatar';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Avatar = React.forwardRef(({
|
|
2
2
|
className,
|
|
3
3
|
...props
|
|
4
4
|
}, ref) => jsx(AvatarPrimitive.Root, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.js","sources":["../../src/shardui/avatar.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar.js","sources":["../../src/shardui/avatar.tsx"],"sourcesContent":[null],"names":[],"mappings":"8NAyBA,MAAA,MAAA,GAAoB,KAAA,CAAA,UAAA,CAAA,CAAA;AAYpB,EAAA,SAAe;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'react';import'fast-deep-equal/react';const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'react';import'fast-deep-equal/react.js';const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
|
|
2
2
|
variants: {
|
|
3
3
|
variant: {
|
|
4
4
|
default: 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import {Slot}from'@radix-ui/react-slot';import {MoreHorizontal,ChevronRight}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const Breadcrumb = React.forwardRef(({
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import {Slot}from'@radix-ui/react-slot';import {MoreHorizontal,ChevronRight}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Breadcrumb = React.forwardRef(({
|
|
2
2
|
...props
|
|
3
3
|
}, ref) => jsx("nav", {
|
|
4
4
|
ref: ref,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.js","sources":["../../src/shardui/breadcrumb.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","sources":["../../src/shardui/breadcrumb.tsx"],"sourcesContent":[null],"names":[],"mappings":"2QA4BA,MAAA,UAAoB,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAOpB,EAAA,GAAA;cAGyB,CAAA,KAAA,EAAA;;AASzB,EAAA,YAAM,EAAc,YAAA;AAcpB,EAAA,GAAA;AAAgE,CAAA,CAAA;;AAI9D,MAAA,cAAA,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAGF,EAAA;AAAqD,EAAA,GAAA;;EAUnD,GAAA,EAAA,GAAA;AAGF,EAAA,SACI,EAAA,EAAA,CAAA,0FAMA,EAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import*as React from'react';import {Slot}from'@radix-ui/react-slot';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const buttonVariants = cva('inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', {
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import*as React from'react';import {Slot}from'@radix-ui/react-slot';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const buttonVariants = cva('inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', {
|
|
2
2
|
variants: {
|
|
3
3
|
variant: {
|
|
4
4
|
default: 'bg-primary text-primary-foreground hover:bg-primary/90',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../src/shardui/button.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../src/shardui/button.tsx"],"sourcesContent":[null],"names":[],"mappings":"+mBA8BE,EAAA;AAEF,EAAA,QAAiB,EAAA;IAGb,OAAO,EAAG;AACb,MAAA,OAAA,EAAA,wDAAA;AAED,MAAA,WAAY,EAAA,oEAAA;AAQZ,MAAA,OAAS,EAAM,gFAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/calendar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import {ChevronRight,ChevronLeft}from'lucide-react';import {DayPicker}from'react-day-picker';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'react';import'fast-deep-equal/react';import {buttonVariants}from'./button.js';function Calendar({
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import {ChevronRight,ChevronLeft}from'lucide-react';import {DayPicker}from'react-day-picker';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'react';import'fast-deep-equal/react.js';import {buttonVariants}from'./button.js';function Calendar({
|
|
2
2
|
className,
|
|
3
3
|
classNames,
|
|
4
4
|
showOutsideDays = true,
|
package/lib/shardui/card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import*as React from'react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const Card = React.forwardRef(({
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import*as React from'react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Card = React.forwardRef(({
|
|
2
2
|
className,
|
|
3
3
|
...props
|
|
4
4
|
}, ref) => jsx("div", {
|
package/lib/shardui/card.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sources":["../../src/shardui/card.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.js","sources":["../../src/shardui/card.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"uKAgBA,MAAA,IAAA,GAAA,KAAe,CAAA,UAAA,CAAA,CAAA;AAOf,EAAA,SAAA;AAOA,EAAA,GAAA;AAKA,CAAA,EAAA,GAAA,KAAAA,GAAgB,CAAA,KAAA,EAAA;AAOhB,EAAA,GAAA,EAAO,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/carousel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import useEmblaCarousel from'embla-carousel-react';import {ArrowLeft,ArrowRight}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';import {Button}from'./button.js';const CarouselContext = React.createContext(null);
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import useEmblaCarousel from'embla-carousel-react';import {ArrowLeft,ArrowRight}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {Button}from'./button.js';const CarouselContext = React.createContext(null);
|
|
2
2
|
function useCarousel() {
|
|
3
3
|
const context = React.useContext(CarouselContext);
|
|
4
4
|
if (!context) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.js","sources":["../../src/shardui/carousel.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carousel.js","sources":["../../src/shardui/carousel.tsx"],"sourcesContent":[null],"names":[],"mappings":"gTAYA,qBAAqB,GAAA,KAAA,CAAA,aAAA,CAAA,IAAA,CAAA;SACZ,WAAE,GAAA;QACA,OAAG,GAAA,KAAA,CAAA,UAAe,CAAA,eAAA,CAAA;AACzB,EAAA,IAAA,CAAA,OAAA,EAAY;IACZ,MAAM,IAAI,KAAK,CAAW,gDAAU,CAAA;;AAwBxC,EAAA,OAAA,OAAc;AA6Fd;AAiBA,MAAA,QAAM,GAAY,KAAA,CAAA,UAAA,CAAA,CAAA;AAqBlB,EAAA,WAAA,GAAsB,YAAA;AA4BtB,EAAA,IAAA;AA4BA,EAAA,MAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/shardui/chart.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx,jsxs,Fragment}from'react/jsx-runtime';import*as React from'react';import*as RechartsPrimitive from'recharts';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';// Format: { THEME_NAME: CSS_SELECTOR }
|
|
1
|
+
import {jsx,jsxs,Fragment}from'react/jsx-runtime';import*as React from'react';import*as RechartsPrimitive from'recharts';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';// Format: { THEME_NAME: CSS_SELECTOR }
|
|
2
2
|
const THEMES = {
|
|
3
3
|
light: '',
|
|
4
4
|
dark: '.dark'
|
package/lib/shardui/checkbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx}from'react/jsx-runtime';import*as React from'react';import*as CheckboxPrimitive from'@radix-ui/react-checkbox';import {Check}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const Checkbox = React.forwardRef(({
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import*as React from'react';import*as CheckboxPrimitive from'@radix-ui/react-checkbox';import {Check}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Checkbox = React.forwardRef(({
|
|
2
2
|
className,
|
|
3
3
|
...props
|
|
4
4
|
}, ref) => jsx(CheckboxPrimitive.Root, {
|
package/lib/shardui/command.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import {Command as Command$1}from'cmdk';import {Search}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';import {Dialog,DialogContent}from'./dialog.js';const Command = React.forwardRef(({
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import {Command as Command$1}from'cmdk';import {Search}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {Dialog,DialogContent}from'./dialog.js';const Command = React.forwardRef(({
|
|
2
2
|
className,
|
|
3
3
|
...props
|
|
4
4
|
}, ref) => jsx(Command$1, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';import*as React from'react';import*as ContextMenuPrimitive from'@radix-ui/react-context-menu';import {ChevronRight,Check,Circle}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react';const ContextMenu = ContextMenuPrimitive.Root;
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import*as React from'react';import*as ContextMenuPrimitive from'@radix-ui/react-context-menu';import {ChevronRight,Check,Circle}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const ContextMenu = ContextMenuPrimitive.Root;
|
|
2
2
|
const ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
3
3
|
const ContextMenuGroup = ContextMenuPrimitive.Group;
|
|
4
4
|
const ContextMenuPortal = ContextMenuPrimitive.Portal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.js","sources":["../../src/shardui/context-menu.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"
|
|
1
|
+
{"version":3,"file":"context-menu.js","sources":["../../src/shardui/context-menu.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"mSAYA,MAAA,WAAuB,GAAA,oBAAA,CAAA;AAEvB,MAAA,kBAAoB,GAAA,oBAAA,CAAA;AAEpB,MAAA,gBAA2B,GAAA,oBAAA,CAAA;AAE3B,MAAA,iBAA2B,GAAA,oBAAA,CAAA;oBAGJ,GAAA,oBAAA,CAAA;kDAepB,CAAA;AAGH,MAAA,qBAA2B,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAe3B,EAAA,SAAA;AAiBA,EAAA,KAAA;;;AAkBA,CAAA,EAAA,GAAA,KAAAA,IAA6B,CAAA,oBAAA,CAAA,UAAA,EAAA;AAuB7B,EAAA,GAAA,EAAA,GAAA;AAsBA,EAAA,aAAsB,CAAA,4MAAA,EAAA,KAAA,IAAA,MAAA,EAAA,SAAA,CAAA;;uCAWpB,EAAC;AAGH,IAAA,SAAA,EAA0B;AAQ1B,GAAA,CAAA;AAAsD,CAAA,CAAA;;AAEpD,MAAA,qBAAA,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAGF,EAAA,SACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|