@jameskabz/nextcraft-ui 0.6.3 → 0.6.4
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/craft/components.cjs +64 -1779
- package/dist/craft/components.cjs.map +1 -1
- package/dist/craft/components.js +31 -42
- package/dist/craft/components.js.map +1 -1
- package/dist/craft/forms.cjs +6 -1347
- package/dist/craft/forms.cjs.map +1 -1
- package/dist/craft/forms.js +3 -8
- package/dist/craft/forms.js.map +1 -1
- package/dist/craft/layout.cjs +20 -374
- package/dist/craft/layout.cjs.map +1 -1
- package/dist/craft/layout.js +10 -14
- package/dist/craft/layout.js.map +1 -1
- package/dist/craft/table.cjs +8 -632
- package/dist/craft/table.cjs.map +1 -1
- package/dist/craft/table.js +4 -8
- package/dist/craft/table.js.map +1 -1
- package/dist/craft/theme.cjs +5 -137
- package/dist/craft/theme.cjs.map +1 -1
- package/dist/craft/theme.js +2 -6
- package/dist/craft/theme.js.map +1 -1
- package/dist/index.cjs +103 -3426
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +50 -70
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -31
- package/package.json +6 -1
- package/dist/chunk-6F7FN2ZF.js +0 -671
- package/dist/chunk-6F7FN2ZF.js.map +0 -1
- package/dist/chunk-7Q4Z47HT.js +0 -657
- package/dist/chunk-7Q4Z47HT.js.map +0 -1
- package/dist/chunk-7SKDTIEK.js +0 -49
- package/dist/chunk-7SKDTIEK.js.map +0 -1
- package/dist/chunk-FEFH5O5K.js +0 -49
- package/dist/chunk-FEFH5O5K.js.map +0 -1
- package/dist/chunk-M2EKVXB6.js +0 -127
- package/dist/chunk-M2EKVXB6.js.map +0 -1
- package/dist/chunk-SBLIF6UU.js +0 -1029
- package/dist/chunk-SBLIF6UU.js.map +0 -1
- package/dist/chunk-VQ6T3HIX.js +0 -9
- package/dist/chunk-VQ6T3HIX.js.map +0 -1
- package/dist/chunk-YVZL4GET.js +0 -328
- package/dist/chunk-YVZL4GET.js.map +0 -1
- package/dist/chunk-ZRV4Y374.js +0 -582
- package/dist/chunk-ZRV4Y374.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,73 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
23
|
-
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
28
|
-
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
40
|
-
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./chunk-YVZL4GET.js";
|
|
52
|
-
import {
|
|
53
|
-
CraftIcon,
|
|
54
|
-
CraftIconProvider
|
|
55
|
-
} from "./chunk-FEFH5O5K.js";
|
|
56
|
-
import {
|
|
57
|
-
CraftDataTable,
|
|
58
|
-
CraftFilterBar,
|
|
59
|
-
CraftPagination,
|
|
60
|
-
CraftTableToolbar
|
|
61
|
-
} from "./chunk-ZRV4Y374.js";
|
|
62
|
-
import {
|
|
63
|
-
CraftInput
|
|
64
|
-
} from "./chunk-7SKDTIEK.js";
|
|
65
|
-
import {
|
|
66
|
-
ThemeProvider,
|
|
67
|
-
ThemeSwitcher,
|
|
68
|
-
useTheme
|
|
69
|
-
} from "./chunk-M2EKVXB6.js";
|
|
70
|
-
import "./chunk-VQ6T3HIX.js";
|
|
1
|
+
import { CraftButton } from "./components/craft-button";
|
|
2
|
+
import { GlassCard } from "./components/glass-card";
|
|
3
|
+
import { CraftInput } from "./components/craft-input";
|
|
4
|
+
import { CraftTextarea } from "./components/craft-textarea";
|
|
5
|
+
import { CraftSelect } from "./components/craft-select";
|
|
6
|
+
import { CraftCheckbox } from "./components/craft-checkbox";
|
|
7
|
+
import { CraftSwitch } from "./components/craft-switch";
|
|
8
|
+
import { CraftBadge } from "./components/craft-badge";
|
|
9
|
+
import { CraftAlert } from "./components/craft-alert";
|
|
10
|
+
import { CraftErrorState } from "./components/craft-error-state";
|
|
11
|
+
import { CraftLoadingState } from "./components/craft-loading-state";
|
|
12
|
+
import { CraftCard } from "./components/craft-card";
|
|
13
|
+
import { CraftModal } from "./components/craft-modal";
|
|
14
|
+
import { CraftDrawer } from "./components/craft-drawer";
|
|
15
|
+
import { CraftTabs } from "./components/craft-tabs";
|
|
16
|
+
import { CraftTooltip } from "./components/craft-tooltip";
|
|
17
|
+
import { CraftToastHost, useCraftToast } from "./components/craft-toast";
|
|
18
|
+
import { CraftSkeleton } from "./components/craft-skeleton";
|
|
19
|
+
import { CraftEmptyState } from "./components/craft-empty-state";
|
|
20
|
+
import { CraftPopover } from "./components/craft-popover";
|
|
21
|
+
import { CraftDropdownMenu } from "./components/craft-dropdown-menu";
|
|
22
|
+
import { CraftCommandPalette } from "./components/craft-command-palette";
|
|
23
|
+
import { CraftLink } from "./components/craft-link";
|
|
24
|
+
import { CraftStatCard } from "./components/craft-stat-card";
|
|
25
|
+
import { CraftDatePicker } from "./components/craft-date-picker";
|
|
26
|
+
import { CraftIcon, CraftIconProvider } from "./components/craft-icon";
|
|
27
|
+
import { CraftNumberInput } from "./components/craft-number-input";
|
|
28
|
+
import { CraftCurrencyInput } from "./components/craft-currency-input";
|
|
29
|
+
import { CraftForm } from "./components/craft-form";
|
|
30
|
+
import { CraftFormBuilder } from "./components/craft-form-builder";
|
|
31
|
+
import { CraftFormField } from "./components/craft-form-field";
|
|
32
|
+
import { CraftSubmitButton } from "./components/craft-submit-button";
|
|
33
|
+
import { CraftConfirmDialog } from "./components/craft-confirm-dialog";
|
|
34
|
+
import { CraftCreateEditDrawer } from "./components/craft-create-edit-drawer";
|
|
35
|
+
import { CraftFilterBar } from "./components/craft-filter-bar";
|
|
36
|
+
import { CraftTableToolbar } from "./components/craft-table-toolbar";
|
|
37
|
+
import { CraftDataTable } from "./components/craft-data-table";
|
|
38
|
+
import { CraftPagination } from "./components/craft-pagination";
|
|
39
|
+
import { AppShell } from "./components/layout/app-shell";
|
|
40
|
+
import { AppTemplate } from "./components/layout/app-template";
|
|
41
|
+
import { layoutConfigSchema } from "./components/layout/layout-config";
|
|
42
|
+
import { Sidebar } from "./components/layout/sidebar";
|
|
43
|
+
import { TopNav } from "./components/layout/top-nav";
|
|
44
|
+
import { PageHeader } from "./components/layout/page-header";
|
|
45
|
+
import { Breadcrumbs } from "./components/layout/breadcrumbs";
|
|
46
|
+
import { AuthLayout } from "./components/layout/auth-layout";
|
|
47
|
+
import { Container } from "./components/layout/container";
|
|
48
|
+
import { Grid } from "./components/layout/grid";
|
|
49
|
+
import { ThemeSwitcher } from "./components/theme-switcher";
|
|
50
|
+
import { ThemeProvider, useTheme } from "./theme/theme-context";
|
|
71
51
|
export {
|
|
72
52
|
AppShell,
|
|
73
53
|
AppTemplate,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { CraftButton } from \"./components/craft-button\";\nexport type { CraftButtonProps } from \"./components/craft-button\";\n\nexport { GlassCard } from \"./components/glass-card\";\nexport type { GlassCardProps } from \"./components/glass-card\";\n\nexport { CraftInput } from \"./components/craft-input\";\nexport type { CraftInputProps } from \"./components/craft-input\";\n\nexport { CraftTextarea } from \"./components/craft-textarea\";\nexport type { CraftTextareaProps } from \"./components/craft-textarea\";\n\nexport { CraftSelect } from \"./components/craft-select\";\nexport type { CraftSelectProps } from \"./components/craft-select\";\n\nexport { CraftCheckbox } from \"./components/craft-checkbox\";\nexport type { CraftCheckboxProps } from \"./components/craft-checkbox\";\n\nexport { CraftSwitch } from \"./components/craft-switch\";\nexport type { CraftSwitchProps } from \"./components/craft-switch\";\n\nexport { CraftBadge } from \"./components/craft-badge\";\nexport type { CraftBadgeProps } from \"./components/craft-badge\";\n\nexport { CraftAlert } from \"./components/craft-alert\";\nexport type { CraftAlertProps } from \"./components/craft-alert\";\n\nexport { CraftErrorState } from \"./components/craft-error-state\";\nexport type { CraftErrorStateProps } from \"./components/craft-error-state\";\n\nexport { CraftLoadingState } from \"./components/craft-loading-state\";\nexport type { CraftLoadingStateProps } from \"./components/craft-loading-state\";\n\nexport { CraftCard } from \"./components/craft-card\";\nexport type { CraftCardProps } from \"./components/craft-card\";\n\nexport { CraftModal } from \"./components/craft-modal\";\nexport type { CraftModalProps } from \"./components/craft-modal\";\n\nexport { CraftDrawer } from \"./components/craft-drawer\";\nexport type { CraftDrawerProps } from \"./components/craft-drawer\";\n\nexport { CraftTabs } from \"./components/craft-tabs\";\nexport type { CraftTabsProps } from \"./components/craft-tabs\";\n\nexport { CraftTooltip } from \"./components/craft-tooltip\";\nexport type { CraftTooltipProps } from \"./components/craft-tooltip\";\n\nexport { CraftToastHost, useCraftToast } from \"./components/craft-toast\";\nexport type { CraftToast, CraftToastHostProps } from \"./components/craft-toast\";\n\nexport { CraftSkeleton } from \"./components/craft-skeleton\";\nexport type { CraftSkeletonProps } from \"./components/craft-skeleton\";\n\nexport { CraftEmptyState } from \"./components/craft-empty-state\";\nexport type { CraftEmptyStateProps } from \"./components/craft-empty-state\";\n\nexport { CraftPopover } from \"./components/craft-popover\";\nexport type { CraftPopoverProps } from \"./components/craft-popover\";\n\nexport { CraftDropdownMenu } from \"./components/craft-dropdown-menu\";\nexport type { CraftDropdownMenuProps, CraftDropdownItem } from \"./components/craft-dropdown-menu\";\n\nexport { CraftCommandPalette } from \"./components/craft-command-palette\";\nexport type { CraftCommandPaletteProps, CraftCommandItem } from \"./components/craft-command-palette\";\n\nexport { CraftLink } from \"./components/craft-link\";\nexport type { CraftLinkProps } from \"./components/craft-link\";\n\nexport { CraftStatCard } from \"./components/craft-stat-card\";\nexport type { CraftStatCardProps } from \"./components/craft-stat-card\";\n\nexport { CraftDatePicker } from \"./components/craft-date-picker\";\nexport type { CraftDatePickerProps } from \"./components/craft-date-picker\";\n\nexport { CraftIcon, CraftIconProvider } from \"./components/craft-icon\";\nexport type {\n CraftIconProps,\n CraftIconProviderProps,\n CraftIconRegistry,\n} from \"./components/craft-icon\";\n\nexport { CraftNumberInput } from \"./components/craft-number-input\";\nexport type { CraftNumberInputProps } from \"./components/craft-number-input\";\n\nexport { CraftCurrencyInput } from \"./components/craft-currency-input\";\nexport type { CraftCurrencyInputProps } from \"./components/craft-currency-input\";\n\nexport { CraftForm } from \"./components/craft-form\";\nexport type { CraftFormProps } from \"./components/craft-form\";\n\nexport { CraftFormBuilder } from \"./components/craft-form-builder\";\nexport type { CraftFormBuilderProps, CraftFormBuilderField } from \"./components/craft-form-builder\";\n\nexport { CraftFormField } from \"./components/craft-form-field\";\nexport type { CraftFormFieldProps, CraftFormFieldOption, CraftFormFieldType } from \"./components/craft-form-field\";\n\nexport { CraftSubmitButton } from \"./components/craft-submit-button\";\nexport type { CraftSubmitButtonProps } from \"./components/craft-submit-button\";\n\nexport { CraftConfirmDialog } from \"./components/craft-confirm-dialog\";\nexport type { CraftConfirmDialogProps } from \"./components/craft-confirm-dialog\";\n\nexport { CraftCreateEditDrawer } from \"./components/craft-create-edit-drawer\";\nexport type { CraftCreateEditDrawerProps } from \"./components/craft-create-edit-drawer\";\n\nexport { CraftFilterBar } from \"./components/craft-filter-bar\";\nexport type { CraftFilterBarProps } from \"./components/craft-filter-bar\";\n\nexport { CraftTableToolbar } from \"./components/craft-table-toolbar\";\nexport type { CraftTableToolbarProps } from \"./components/craft-table-toolbar\";\n\nexport { CraftDataTable } from \"./components/craft-data-table\";\nexport type { CraftDataTableProps, CraftDataTableColumn, CraftDataTableSort } from \"./components/craft-data-table\";\n\nexport { CraftPagination } from \"./components/craft-pagination\";\nexport type { CraftPaginationProps } from \"./components/craft-pagination\";\n\nexport { AppShell } from \"./components/layout/app-shell\";\nexport type { AppShellProps } from \"./components/layout/app-shell\";\n\nexport { AppTemplate } from \"./components/layout/app-template\";\nexport type { AppTemplateProps } from \"./components/layout/app-template\";\n\nexport type {\n LayoutConfig,\n LayoutSidebarItem,\n LayoutBreadcrumbItem,\n LayoutIconName,\n} from \"./components/layout/layout-config\";\nexport { layoutConfigSchema } from \"./components/layout/layout-config\";\n\nexport { Sidebar } from \"./components/layout/sidebar\";\nexport type { SidebarProps, SidebarItem } from \"./components/layout/sidebar\";\n\nexport { TopNav } from \"./components/layout/top-nav\";\nexport type { TopNavProps } from \"./components/layout/top-nav\";\n\nexport { PageHeader } from \"./components/layout/page-header\";\nexport type { PageHeaderProps } from \"./components/layout/page-header\";\n\nexport { Breadcrumbs } from \"./components/layout/breadcrumbs\";\nexport type { BreadcrumbsProps, BreadcrumbItem } from \"./components/layout/breadcrumbs\";\n\nexport { AuthLayout } from \"./components/layout/auth-layout\";\nexport type { AuthLayoutProps } from \"./components/layout/auth-layout\";\n\nexport { Container } from \"./components/layout/container\";\nexport type { ContainerProps } from \"./components/layout/container\";\n\nexport { Grid } from \"./components/layout/grid\";\nexport type { GridProps } from \"./components/layout/grid\";\n\nexport { ThemeSwitcher } from \"./components/theme-switcher\";\nexport type { ThemeSwitcherProps } from \"./components/theme-switcher\";\n\nexport { ThemeProvider, useTheme } from \"./theme/theme-context\";\nexport type { ThemeName, ThemeMode } from \"./theme/theme-context\";\n"],"mappings":"AAAA,SAAS,mBAAmB;AAG5B,SAAS,iBAAiB;AAG1B,SAAS,kBAAkB;AAG3B,SAAS,qBAAqB;AAG9B,SAAS,mBAAmB;AAG5B,SAAS,qBAAqB;AAG9B,SAAS,mBAAmB;AAG5B,SAAS,kBAAkB;AAG3B,SAAS,kBAAkB;AAG3B,SAAS,uBAAuB;AAGhC,SAAS,yBAAyB;AAGlC,SAAS,iBAAiB;AAG1B,SAAS,kBAAkB;AAG3B,SAAS,mBAAmB;AAG5B,SAAS,iBAAiB;AAG1B,SAAS,oBAAoB;AAG7B,SAAS,gBAAgB,qBAAqB;AAG9C,SAAS,qBAAqB;AAG9B,SAAS,uBAAuB;AAGhC,SAAS,oBAAoB;AAG7B,SAAS,yBAAyB;AAGlC,SAAS,2BAA2B;AAGpC,SAAS,iBAAiB;AAG1B,SAAS,qBAAqB;AAG9B,SAAS,uBAAuB;AAGhC,SAAS,WAAW,yBAAyB;AAO7C,SAAS,wBAAwB;AAGjC,SAAS,0BAA0B;AAGnC,SAAS,iBAAiB;AAG1B,SAAS,wBAAwB;AAGjC,SAAS,sBAAsB;AAG/B,SAAS,yBAAyB;AAGlC,SAAS,0BAA0B;AAGnC,SAAS,6BAA6B;AAGtC,SAAS,sBAAsB;AAG/B,SAAS,yBAAyB;AAGlC,SAAS,sBAAsB;AAG/B,SAAS,uBAAuB;AAGhC,SAAS,gBAAgB;AAGzB,SAAS,mBAAmB;AAS5B,SAAS,0BAA0B;AAEnC,SAAS,eAAe;AAGxB,SAAS,cAAc;AAGvB,SAAS,kBAAkB;AAG3B,SAAS,mBAAmB;AAG5B,SAAS,kBAAkB;AAG3B,SAAS,iBAAiB;AAG1B,SAAS,YAAY;AAGrB,SAAS,qBAAqB;AAG9B,SAAS,eAAe,gBAAgB;","names":[]}
|
package/dist/styles.css
CHANGED
|
@@ -355,9 +355,6 @@
|
|
|
355
355
|
.inline-flex {
|
|
356
356
|
display: inline-flex;
|
|
357
357
|
}
|
|
358
|
-
.table {
|
|
359
|
-
display: table;
|
|
360
|
-
}
|
|
361
358
|
.h-3 {
|
|
362
359
|
height: calc(var(--spacing) * 3);
|
|
363
360
|
}
|
|
@@ -504,9 +501,6 @@
|
|
|
504
501
|
--tw-translate-y: calc(var(--spacing) * 2);
|
|
505
502
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
506
503
|
}
|
|
507
|
-
.transform {
|
|
508
|
-
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
509
|
-
}
|
|
510
504
|
.animate-spin {
|
|
511
505
|
animation: var(--animate-spin);
|
|
512
506
|
}
|
|
@@ -2024,26 +2018,6 @@ body {
|
|
|
2024
2018
|
inherits: false;
|
|
2025
2019
|
initial-value: 0;
|
|
2026
2020
|
}
|
|
2027
|
-
@property --tw-rotate-x {
|
|
2028
|
-
syntax: "*";
|
|
2029
|
-
inherits: false;
|
|
2030
|
-
}
|
|
2031
|
-
@property --tw-rotate-y {
|
|
2032
|
-
syntax: "*";
|
|
2033
|
-
inherits: false;
|
|
2034
|
-
}
|
|
2035
|
-
@property --tw-rotate-z {
|
|
2036
|
-
syntax: "*";
|
|
2037
|
-
inherits: false;
|
|
2038
|
-
}
|
|
2039
|
-
@property --tw-skew-x {
|
|
2040
|
-
syntax: "*";
|
|
2041
|
-
inherits: false;
|
|
2042
|
-
}
|
|
2043
|
-
@property --tw-skew-y {
|
|
2044
|
-
syntax: "*";
|
|
2045
|
-
inherits: false;
|
|
2046
|
-
}
|
|
2047
2021
|
@property --tw-space-y-reverse {
|
|
2048
2022
|
syntax: "*";
|
|
2049
2023
|
inherits: false;
|
|
@@ -2298,11 +2272,6 @@ body {
|
|
|
2298
2272
|
--tw-translate-x: 0;
|
|
2299
2273
|
--tw-translate-y: 0;
|
|
2300
2274
|
--tw-translate-z: 0;
|
|
2301
|
-
--tw-rotate-x: initial;
|
|
2302
|
-
--tw-rotate-y: initial;
|
|
2303
|
-
--tw-rotate-z: initial;
|
|
2304
|
-
--tw-skew-x: initial;
|
|
2305
|
-
--tw-skew-y: initial;
|
|
2306
2275
|
--tw-space-y-reverse: 0;
|
|
2307
2276
|
--tw-border-style: solid;
|
|
2308
2277
|
--tw-gradient-position: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jameskabz/nextcraft-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Next.js + Tailwind UI components with a bold, crafted aesthetic.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,6 +77,11 @@
|
|
|
77
77
|
"react-hook-form": "^7.71.1",
|
|
78
78
|
"tailwindcss": "^4"
|
|
79
79
|
},
|
|
80
|
+
"peerDependenciesMeta": {
|
|
81
|
+
"lucide-react": {
|
|
82
|
+
"optional": true
|
|
83
|
+
}
|
|
84
|
+
},
|
|
80
85
|
"devDependencies": {
|
|
81
86
|
"@tailwindcss/cli": "^4",
|
|
82
87
|
"@tailwindcss/postcss": "^4",
|