@kopexa/theme 1.5.2 → 1.5.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.
Files changed (62) hide show
  1. package/dist/{chunk-BIRJNNEY.mjs → chunk-3M5JSM7Y.mjs} +5 -5
  2. package/dist/chunk-5BIGFSZK.mjs +48 -0
  3. package/dist/chunk-CDTKWCOH.mjs +120 -0
  4. package/dist/{chunk-7CM52H5K.mjs → chunk-CQDTDA47.mjs} +1 -1
  5. package/dist/chunk-GNYTZGE5.mjs +48 -0
  6. package/dist/chunk-HAVJ6EQ6.mjs +39 -0
  7. package/dist/{chunk-Q5DCJR2X.mjs → chunk-I2NMD23O.mjs} +16 -3
  8. package/dist/chunk-KPOZFVP6.mjs +13 -0
  9. package/dist/chunk-NWKBPO37.mjs +21 -0
  10. package/dist/chunk-VNQEJU4P.mjs +9 -0
  11. package/dist/chunk-XCLEKBCJ.mjs +17 -0
  12. package/dist/components/avatar-group.d.mts +29 -0
  13. package/dist/components/avatar-group.d.ts +29 -0
  14. package/dist/components/avatar-group.js +41 -0
  15. package/dist/components/avatar-group.mjs +6 -0
  16. package/dist/components/avatar.d.mts +30 -0
  17. package/dist/components/avatar.d.ts +30 -0
  18. package/dist/components/avatar.js +16 -3
  19. package/dist/components/avatar.mjs +1 -1
  20. package/dist/components/button.js +5 -5
  21. package/dist/components/button.mjs +1 -1
  22. package/dist/components/checkbox.d.mts +43 -0
  23. package/dist/components/checkbox.d.ts +43 -0
  24. package/dist/components/checkbox.js +37 -0
  25. package/dist/components/checkbox.mjs +6 -0
  26. package/dist/components/code.d.mts +70 -0
  27. package/dist/components/code.d.ts +70 -0
  28. package/dist/components/code.js +120 -0
  29. package/dist/components/code.mjs +7 -0
  30. package/dist/components/data-table.d.mts +121 -0
  31. package/dist/components/data-table.d.ts +121 -0
  32. package/dist/components/data-table.js +72 -0
  33. package/dist/components/data-table.mjs +6 -0
  34. package/dist/components/heading.d.mts +34 -0
  35. package/dist/components/heading.d.ts +34 -0
  36. package/dist/components/heading.js +45 -0
  37. package/dist/components/heading.mjs +6 -0
  38. package/dist/components/index.d.mts +8 -0
  39. package/dist/components/index.d.ts +8 -0
  40. package/dist/components/index.js +352 -36
  41. package/dist/components/index.mjs +51 -19
  42. package/dist/components/input.js +1 -1
  43. package/dist/components/input.mjs +1 -1
  44. package/dist/components/page-header.d.mts +85 -0
  45. package/dist/components/page-header.d.ts +85 -0
  46. package/dist/components/page-header.js +63 -0
  47. package/dist/components/page-header.mjs +6 -0
  48. package/dist/components/skeleton.d.mts +5 -0
  49. package/dist/components/skeleton.d.ts +5 -0
  50. package/dist/components/skeleton.js +33 -0
  51. package/dist/components/skeleton.mjs +6 -0
  52. package/dist/components/table.d.mts +215 -0
  53. package/dist/components/table.d.ts +215 -0
  54. package/dist/components/table.js +144 -0
  55. package/dist/components/table.mjs +6 -0
  56. package/dist/index.css +131 -26
  57. package/dist/index.d.mts +8 -0
  58. package/dist/index.d.ts +8 -0
  59. package/dist/index.js +352 -36
  60. package/dist/index.mjs +51 -19
  61. package/package.json +3 -3
  62. /package/dist/{chunk-PWBTAIYS.mjs → chunk-FWB233VZ.mjs} +0 -0
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/data-table.ts
21
+ var data_table_exports = {};
22
+ __export(data_table_exports, {
23
+ dataTable: () => dataTable
24
+ });
25
+ module.exports = __toCommonJS(data_table_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var dataTable = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ base: "relative flex min-h-0 flex-1 flex-col",
30
+ toolbarWrapper: "flex flex-col gap-2 divide-y pb-2",
31
+ toolbar: "flex items-center py-4",
32
+ wrapper: "min-h-0 w-full flex-1 overflow-auto overscroll-none",
33
+ th: "",
34
+ td: ""
35
+ },
36
+ variants: {
37
+ isFirstColumn: {
38
+ true: {
39
+ th: "after:absolute after:inset-y-0 after:right-0 after:h-full after:w-px after:bg-transparent after:content-['']",
40
+ td: "after:absolute after:inset-y-0 after:right-0 after:h-full after:w-px after:bg-transparent after:content-['']"
41
+ }
42
+ },
43
+ showStickyBorder: {
44
+ true: {
45
+ th: "after:bg-border",
46
+ td: "after:bg-border"
47
+ }
48
+ },
49
+ isSelect: {
50
+ true: {
51
+ th: "w-[calc(20px+24px+24px)] min-w-[calc(20px+24px+24px)] max-w-[calc(20px+24px+24px)]",
52
+ td: "w-[calc(20px+24px+24px)] min-w-[calc(20px+24px+24px)] max-w-[calc(20px+24px+24px)]"
53
+ }
54
+ },
55
+ isAction: {
56
+ true: {
57
+ th: "w-[calc(28px+24px+4px)] min-w-[calc(28px+24px+4px)] max-w-[calc(28px+24px+4px)]",
58
+ td: "w-[calc(28px+24px+4px)] min-w-[calc(28px+24px+4px)] max-w-[calc(28px+24px+4px)]"
59
+ }
60
+ },
61
+ isSticky: {
62
+ true: {
63
+ th: "bg-background sticky",
64
+ td: "bg-background sticky z-[2]"
65
+ }
66
+ }
67
+ }
68
+ });
69
+ // Annotate the CommonJS export names for ESM import in node:
70
+ 0 && (module.exports = {
71
+ dataTable
72
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ dataTable
3
+ } from "../chunk-GNYTZGE5.mjs";
4
+ export {
5
+ dataTable
6
+ };
@@ -0,0 +1,34 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const heading: tailwind_variants.TVReturnType<{
5
+ level: {
6
+ h1: string;
7
+ h2: string;
8
+ h3: string;
9
+ h4: string;
10
+ h5: string;
11
+ h6: string;
12
+ };
13
+ }, undefined, undefined, {
14
+ level: {
15
+ h1: string;
16
+ h2: string;
17
+ h3: string;
18
+ h4: string;
19
+ h5: string;
20
+ h6: string;
21
+ };
22
+ }, undefined, tailwind_variants.TVReturnType<{
23
+ level: {
24
+ h1: string;
25
+ h2: string;
26
+ h3: string;
27
+ h4: string;
28
+ h5: string;
29
+ h6: string;
30
+ };
31
+ }, undefined, undefined, unknown, unknown, undefined>>;
32
+ type HeadingVariantProps = VariantProps<typeof heading>;
33
+
34
+ export { type HeadingVariantProps, heading };
@@ -0,0 +1,34 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const heading: tailwind_variants.TVReturnType<{
5
+ level: {
6
+ h1: string;
7
+ h2: string;
8
+ h3: string;
9
+ h4: string;
10
+ h5: string;
11
+ h6: string;
12
+ };
13
+ }, undefined, undefined, {
14
+ level: {
15
+ h1: string;
16
+ h2: string;
17
+ h3: string;
18
+ h4: string;
19
+ h5: string;
20
+ h6: string;
21
+ };
22
+ }, undefined, tailwind_variants.TVReturnType<{
23
+ level: {
24
+ h1: string;
25
+ h2: string;
26
+ h3: string;
27
+ h4: string;
28
+ h5: string;
29
+ h6: string;
30
+ };
31
+ }, undefined, undefined, unknown, unknown, undefined>>;
32
+ type HeadingVariantProps = VariantProps<typeof heading>;
33
+
34
+ export { type HeadingVariantProps, heading };
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/heading.ts
21
+ var heading_exports = {};
22
+ __export(heading_exports, {
23
+ heading: () => heading
24
+ });
25
+ module.exports = __toCommonJS(heading_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var heading = (0, import_tailwind_variants.tv)({
28
+ variants: {
29
+ level: {
30
+ h1: "text-h1-core",
31
+ h2: "text-h2-core",
32
+ h3: "text-h3-core",
33
+ h4: "text-h4-core",
34
+ h5: "text-h5-core",
35
+ h6: "text-h6-core"
36
+ }
37
+ },
38
+ defaultVariants: {
39
+ level: "h1"
40
+ }
41
+ });
42
+ // Annotate the CommonJS export names for ESM import in node:
43
+ 0 && (module.exports = {
44
+ heading
45
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ heading
3
+ } from "../chunk-NWKBPO37.mjs";
4
+ export {
5
+ heading
6
+ };
@@ -1,16 +1,24 @@
1
1
  export { AlertDialogSlots, AlertDialogVariants, alertDialog } from './alert-dialog.mjs';
2
2
  export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.mjs';
3
+ export { AvatarGroupSlots, AvatarGroupVariantProps, avatarGroup } from './avatar-group.mjs';
3
4
  export { ButtonVariantProps, button } from './button.mjs';
4
5
  export { CalendarVariantProps, calendar } from './calendar.mjs';
5
6
  export { CardSlots, CardVariantProps, card } from './card.mjs';
7
+ export { CheckboxVariantProps, checkbox } from './checkbox.mjs';
6
8
  export { ChipSlots, ChipVariantProps, chip } from './chip.mjs';
9
+ export { CodeVariantProps, code } from './code.mjs';
7
10
  export { CommandVariants, command } from './command.mjs';
11
+ export { DataTableVariants, dataTable } from './data-table.mjs';
8
12
  export { DialogSlots, DialogVariantProps, dialog } from './dialog.mjs';
9
13
  export { DrawerVariantProps, drawer } from './drawer.mjs';
10
14
  export { DropdownMenuVariantProps, dropdownMenu } from './dropdown-menu.mjs';
15
+ export { HeadingVariantProps, heading } from './heading.mjs';
11
16
  export { InputVariantProps, input, passwordInput } from './input.mjs';
17
+ export { PageHeaderVariantProps, pageHeader } from './page-header.mjs';
12
18
  export { PageLayoutVariantProps, pageLayout } from './page-layout.mjs';
13
19
  export { PopoverVariants, popover } from './popover.mjs';
20
+ export { skeleton } from './skeleton.mjs';
14
21
  export { SpinnerVariants, spinner } from './spinner.mjs';
22
+ export { TableSlots, TableVariantProps, table } from './table.mjs';
15
23
  export { TooltipVariants, tooltip } from './tooltip.mjs';
16
24
  import 'tailwind-variants';
@@ -1,16 +1,24 @@
1
1
  export { AlertDialogSlots, AlertDialogVariants, alertDialog } from './alert-dialog.js';
2
2
  export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.js';
3
+ export { AvatarGroupSlots, AvatarGroupVariantProps, avatarGroup } from './avatar-group.js';
3
4
  export { ButtonVariantProps, button } from './button.js';
4
5
  export { CalendarVariantProps, calendar } from './calendar.js';
5
6
  export { CardSlots, CardVariantProps, card } from './card.js';
7
+ export { CheckboxVariantProps, checkbox } from './checkbox.js';
6
8
  export { ChipSlots, ChipVariantProps, chip } from './chip.js';
9
+ export { CodeVariantProps, code } from './code.js';
7
10
  export { CommandVariants, command } from './command.js';
11
+ export { DataTableVariants, dataTable } from './data-table.js';
8
12
  export { DialogSlots, DialogVariantProps, dialog } from './dialog.js';
9
13
  export { DrawerVariantProps, drawer } from './drawer.js';
10
14
  export { DropdownMenuVariantProps, dropdownMenu } from './dropdown-menu.js';
15
+ export { HeadingVariantProps, heading } from './heading.js';
11
16
  export { InputVariantProps, input, passwordInput } from './input.js';
17
+ export { PageHeaderVariantProps, pageHeader } from './page-header.js';
12
18
  export { PageLayoutVariantProps, pageLayout } from './page-layout.js';
13
19
  export { PopoverVariants, popover } from './popover.js';
20
+ export { skeleton } from './skeleton.js';
14
21
  export { SpinnerVariants, spinner } from './spinner.js';
22
+ export { TableSlots, TableVariantProps, table } from './table.js';
15
23
  export { TooltipVariants, tooltip } from './tooltip.js';
16
24
  import 'tailwind-variants';