@krak-stack/registry 0.11.2 → 0.11.3

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 (45) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +22 -0
  3. package/dist/components/animated-list/html.js +1 -105
  4. package/dist/components/app-switcher/html.js +1 -103
  5. package/dist/components/async-action-button/html.js +1 -101
  6. package/dist/components/bulk-list-input/html.js +2 -102
  7. package/dist/components/choice-cards/html.js +1 -101
  8. package/dist/components/code-block/html.js +1 -101
  9. package/dist/components/copy-button/html.d.ts +2 -2
  10. package/dist/components/copy-button/html.js +1 -101
  11. package/dist/components/copy-value/html.js +2 -101
  12. package/dist/components/data-table/html.d.ts +51 -51
  13. package/dist/components/data-table/html.js +28 -101
  14. package/dist/components/date-input/html.js +2 -105
  15. package/dist/components/editable-text/html.d.ts +2 -2
  16. package/dist/components/editable-text/html.js +4 -102
  17. package/dist/components/editing-locale-switcher/html.js +2 -102
  18. package/dist/components/email-editor/html.js +8 -107
  19. package/dist/components/error-component/html.d.ts +4 -4
  20. package/dist/components/error-component/html.js +10 -107
  21. package/dist/components/file-input/html.js +6 -106
  22. package/dist/components/icon-input/html.js +3 -103
  23. package/dist/components/image-crop-editor/html.js +1 -101
  24. package/dist/components/loading/html.js +1 -101
  25. package/dist/components/locale-switcher/html.js +1 -103
  26. package/dist/components/map-menu/html.d.ts +8 -8
  27. package/dist/components/map-menu/html.js +7 -106
  28. package/dist/components/markdown/html.js +1 -101
  29. package/dist/components/notification-menu/html.js +7 -114
  30. package/dist/components/pagination/html.js +5 -100
  31. package/dist/components/rich-text-editor/html.js +14 -108
  32. package/dist/components/search-menu/html.js +1 -103
  33. package/dist/components/sidebar-layout/html.js +2 -102
  34. package/dist/components/stepper/html.js +4 -102
  35. package/dist/components/support/html.js +1 -101
  36. package/dist/components/theme-switcher/html.js +4 -105
  37. package/dist/components/time-input/html.d.ts +2 -2
  38. package/dist/components/time-input/html.js +1 -103
  39. package/dist/components/toast/html.js +11 -104
  40. package/dist/components/upload-attachment/html.d.ts +4 -4
  41. package/dist/components/upload-attachment/html.js +7 -102
  42. package/dist/components/webhook-delivery-table/html.js +28 -101
  43. package/dist/lib/lucide-effect.d.ts +2432 -0
  44. package/dist/lib/lucide-effect.js +7428 -0
  45. package/package.json +6 -2
@@ -44,107 +44,7 @@ var Button = (h, options = {}) => KitButton(h, {
44
44
 
45
45
  // ../../src/components/copy-button/html.ts
46
46
  import { krakstackLocaleRead } from "@krak-stack/registry/krakstack-provider/html";
47
-
48
- // ../../src/lib/lucide-effect.ts
49
- import {
50
- ArrowDown as arrowDown,
51
- ArrowUp as arrowUp,
52
- ListFilter as listFilter,
53
- Check as check,
54
- ChevronLeft as chevronLeft,
55
- ChevronDown as chevronDown,
56
- ChevronRight as chevronRight,
57
- ChevronsLeft as chevronsLeft,
58
- ChevronsRight as chevronsRight,
59
- ChevronsUpDown as chevronsUpDown,
60
- Copy as copy,
61
- Download as download,
62
- Eye as eye,
63
- EyeOff as eyeOff,
64
- Ellipsis as ellipsis,
65
- FileJson as fileJson,
66
- FileText as fileText,
67
- GripVertical as gripVertical,
68
- Image as image,
69
- LayoutGrid as layoutGrid,
70
- LoaderCircle as loaderCircle,
71
- Mail as mail,
72
- Paperclip as paperclip,
73
- RefreshCw as refreshCw,
74
- RotateCcw as rotateCcw,
75
- Rows3 as rows3,
76
- Search as search,
77
- Settings2 as settings2,
78
- TriangleAlert as triangleAlert,
79
- X as x
80
- } from "lucide";
81
- var createLucideIcon = (icon) => (h, {
82
- size = 24,
83
- color = "currentColor",
84
- strokeWidth = 2,
85
- className
86
- } = {}) => h.svg.attrs({
87
- class: className,
88
- width: String(size),
89
- height: String(size),
90
- viewBox: "0 0 24 24",
91
- fill: "none",
92
- stroke: color,
93
- "stroke-width": String(strokeWidth),
94
- "stroke-linecap": "round",
95
- "stroke-linejoin": "round",
96
- "aria-hidden": "true"
97
- }).children(...icon.map(([tag, attributes]) => {
98
- const attrs = Object.fromEntries(Object.entries(attributes).flatMap(([name, value]) => value === undefined ? [] : [[name, String(value)]]));
99
- switch (tag) {
100
- case "path":
101
- return h.path.attrs(attrs);
102
- case "circle":
103
- return h.circle.attrs(attrs);
104
- case "ellipse":
105
- return h.ellipse.attrs(attrs);
106
- case "line":
107
- return h.line.attrs(attrs);
108
- case "polyline":
109
- return h.polyline.attrs(attrs);
110
- case "polygon":
111
- return h.polygon.attrs(attrs);
112
- case "rect":
113
- return h.rect.attrs(attrs);
114
- default:
115
- throw new Error(`Unsupported Lucide SVG element: ${tag}`);
116
- }
117
- }));
118
- var Check = createLucideIcon(check);
119
- var ArrowDown = createLucideIcon(arrowDown);
120
- var ArrowUp = createLucideIcon(arrowUp);
121
- var ListFilter = createLucideIcon(listFilter);
122
- var ChevronLeft = createLucideIcon(chevronLeft);
123
- var ChevronDown = createLucideIcon(chevronDown);
124
- var ChevronRight = createLucideIcon(chevronRight);
125
- var ChevronsLeft = createLucideIcon(chevronsLeft);
126
- var ChevronsRight = createLucideIcon(chevronsRight);
127
- var ChevronsUpDown = createLucideIcon(chevronsUpDown);
128
- var Copy = createLucideIcon(copy);
129
- var Download = createLucideIcon(download);
130
- var Eye = createLucideIcon(eye);
131
- var EyeOff = createLucideIcon(eyeOff);
132
- var Ellipsis = createLucideIcon(ellipsis);
133
- var FileJson = createLucideIcon(fileJson);
134
- var FileText = createLucideIcon(fileText);
135
- var GripVertical = createLucideIcon(gripVertical);
136
- var Image = createLucideIcon(image);
137
- var LayoutGrid = createLucideIcon(layoutGrid);
138
- var LoaderCircle = createLucideIcon(loaderCircle);
139
- var Mail = createLucideIcon(mail);
140
- var Paperclip = createLucideIcon(paperclip);
141
- var RefreshCw = createLucideIcon(refreshCw);
142
- var RotateCcw = createLucideIcon(rotateCcw);
143
- var Rows3 = createLucideIcon(rows3);
144
- var Search = createLucideIcon(search);
145
- var Settings2 = createLucideIcon(settings2);
146
- var TriangleAlert = createLucideIcon(triangleAlert);
147
- var X = createLucideIcon(x);
47
+ import { Check, Copy, TriangleAlert } from "@krak-stack/registry/lucide-effect";
148
48
 
149
49
  // ../../src/components/copy-button/index.ts
150
50
  import { Effect, Redacted, Schema as Schema2 } from "effect";
@@ -39,10 +39,10 @@ export declare const CopyButton: Component.Component<"CopyButton", {
39
39
  }, {
40
40
  readonly status: "copied" | "failed" | "idle";
41
41
  }, {
42
+ readonly _tag: "Reset";
43
+ } | {
42
44
  readonly _tag: "Finished";
43
45
  readonly success: boolean;
44
46
  } | {
45
47
  readonly _tag: "Pressed";
46
- } | {
47
- readonly _tag: "Reset";
48
48
  }, never, never, Html.Elements, {}, never>;
@@ -38,107 +38,7 @@ var Button = (h, options = {}) => KitButton(h, {
38
38
 
39
39
  // ../../src/components/copy-button/html.ts
40
40
  import { krakstackLocaleRead } from "@krak-stack/registry/krakstack-provider/html";
41
-
42
- // ../../src/lib/lucide-effect.ts
43
- import {
44
- ArrowDown as arrowDown,
45
- ArrowUp as arrowUp,
46
- ListFilter as listFilter,
47
- Check as check,
48
- ChevronLeft as chevronLeft,
49
- ChevronDown as chevronDown,
50
- ChevronRight as chevronRight,
51
- ChevronsLeft as chevronsLeft,
52
- ChevronsRight as chevronsRight,
53
- ChevronsUpDown as chevronsUpDown,
54
- Copy as copy,
55
- Download as download,
56
- Eye as eye,
57
- EyeOff as eyeOff,
58
- Ellipsis as ellipsis,
59
- FileJson as fileJson,
60
- FileText as fileText,
61
- GripVertical as gripVertical,
62
- Image as image,
63
- LayoutGrid as layoutGrid,
64
- LoaderCircle as loaderCircle,
65
- Mail as mail,
66
- Paperclip as paperclip,
67
- RefreshCw as refreshCw,
68
- RotateCcw as rotateCcw,
69
- Rows3 as rows3,
70
- Search as search,
71
- Settings2 as settings2,
72
- TriangleAlert as triangleAlert,
73
- X as x
74
- } from "lucide";
75
- var createLucideIcon = (icon) => (h, {
76
- size = 24,
77
- color = "currentColor",
78
- strokeWidth = 2,
79
- className
80
- } = {}) => h.svg.attrs({
81
- class: className,
82
- width: String(size),
83
- height: String(size),
84
- viewBox: "0 0 24 24",
85
- fill: "none",
86
- stroke: color,
87
- "stroke-width": String(strokeWidth),
88
- "stroke-linecap": "round",
89
- "stroke-linejoin": "round",
90
- "aria-hidden": "true"
91
- }).children(...icon.map(([tag, attributes]) => {
92
- const attrs = Object.fromEntries(Object.entries(attributes).flatMap(([name, value]) => value === undefined ? [] : [[name, String(value)]]));
93
- switch (tag) {
94
- case "path":
95
- return h.path.attrs(attrs);
96
- case "circle":
97
- return h.circle.attrs(attrs);
98
- case "ellipse":
99
- return h.ellipse.attrs(attrs);
100
- case "line":
101
- return h.line.attrs(attrs);
102
- case "polyline":
103
- return h.polyline.attrs(attrs);
104
- case "polygon":
105
- return h.polygon.attrs(attrs);
106
- case "rect":
107
- return h.rect.attrs(attrs);
108
- default:
109
- throw new Error(`Unsupported Lucide SVG element: ${tag}`);
110
- }
111
- }));
112
- var Check = createLucideIcon(check);
113
- var ArrowDown = createLucideIcon(arrowDown);
114
- var ArrowUp = createLucideIcon(arrowUp);
115
- var ListFilter = createLucideIcon(listFilter);
116
- var ChevronLeft = createLucideIcon(chevronLeft);
117
- var ChevronDown = createLucideIcon(chevronDown);
118
- var ChevronRight = createLucideIcon(chevronRight);
119
- var ChevronsLeft = createLucideIcon(chevronsLeft);
120
- var ChevronsRight = createLucideIcon(chevronsRight);
121
- var ChevronsUpDown = createLucideIcon(chevronsUpDown);
122
- var Copy = createLucideIcon(copy);
123
- var Download = createLucideIcon(download);
124
- var Eye = createLucideIcon(eye);
125
- var EyeOff = createLucideIcon(eyeOff);
126
- var Ellipsis = createLucideIcon(ellipsis);
127
- var FileJson = createLucideIcon(fileJson);
128
- var FileText = createLucideIcon(fileText);
129
- var GripVertical = createLucideIcon(gripVertical);
130
- var Image = createLucideIcon(image);
131
- var LayoutGrid = createLucideIcon(layoutGrid);
132
- var LoaderCircle = createLucideIcon(loaderCircle);
133
- var Mail = createLucideIcon(mail);
134
- var Paperclip = createLucideIcon(paperclip);
135
- var RefreshCw = createLucideIcon(refreshCw);
136
- var RotateCcw = createLucideIcon(rotateCcw);
137
- var Rows3 = createLucideIcon(rows3);
138
- var Search = createLucideIcon(search);
139
- var Settings2 = createLucideIcon(settings2);
140
- var TriangleAlert = createLucideIcon(triangleAlert);
141
- var X = createLucideIcon(x);
41
+ import { Check, Copy, TriangleAlert } from "@krak-stack/registry/lucide-effect";
142
42
 
143
43
  // ../../src/components/copy-button/index.ts
144
44
  import { Effect, Redacted, Schema as Schema2 } from "effect";
@@ -55,107 +55,7 @@ import { Schema as Schema3 } from "effect";
55
55
  import { Component as Component2 } from "effect/ui";
56
56
  import { Html } from "effect/ui/html";
57
57
  import { krakstackLocaleRead } from "@krak-stack/registry/krakstack-provider/html";
58
-
59
- // ../../src/lib/lucide-effect.ts
60
- import {
61
- ArrowDown as arrowDown,
62
- ArrowUp as arrowUp,
63
- ListFilter as listFilter,
64
- Check as check,
65
- ChevronLeft as chevronLeft,
66
- ChevronDown as chevronDown,
67
- ChevronRight as chevronRight,
68
- ChevronsLeft as chevronsLeft,
69
- ChevronsRight as chevronsRight,
70
- ChevronsUpDown as chevronsUpDown,
71
- Copy as copy,
72
- Download as download,
73
- Eye as eye,
74
- EyeOff as eyeOff,
75
- Ellipsis as ellipsis,
76
- FileJson as fileJson,
77
- FileText as fileText,
78
- GripVertical as gripVertical,
79
- Image as image,
80
- LayoutGrid as layoutGrid,
81
- LoaderCircle as loaderCircle,
82
- Mail as mail,
83
- Paperclip as paperclip,
84
- RefreshCw as refreshCw,
85
- RotateCcw as rotateCcw,
86
- Rows3 as rows3,
87
- Search as search,
88
- Settings2 as settings2,
89
- TriangleAlert as triangleAlert,
90
- X as x
91
- } from "lucide";
92
- var createLucideIcon = (icon) => (h, {
93
- size = 24,
94
- color = "currentColor",
95
- strokeWidth = 2,
96
- className
97
- } = {}) => h.svg.attrs({
98
- class: className,
99
- width: String(size),
100
- height: String(size),
101
- viewBox: "0 0 24 24",
102
- fill: "none",
103
- stroke: color,
104
- "stroke-width": String(strokeWidth),
105
- "stroke-linecap": "round",
106
- "stroke-linejoin": "round",
107
- "aria-hidden": "true"
108
- }).children(...icon.map(([tag, attributes]) => {
109
- const attrs = Object.fromEntries(Object.entries(attributes).flatMap(([name, value]) => value === undefined ? [] : [[name, String(value)]]));
110
- switch (tag) {
111
- case "path":
112
- return h.path.attrs(attrs);
113
- case "circle":
114
- return h.circle.attrs(attrs);
115
- case "ellipse":
116
- return h.ellipse.attrs(attrs);
117
- case "line":
118
- return h.line.attrs(attrs);
119
- case "polyline":
120
- return h.polyline.attrs(attrs);
121
- case "polygon":
122
- return h.polygon.attrs(attrs);
123
- case "rect":
124
- return h.rect.attrs(attrs);
125
- default:
126
- throw new Error(`Unsupported Lucide SVG element: ${tag}`);
127
- }
128
- }));
129
- var Check = createLucideIcon(check);
130
- var ArrowDown = createLucideIcon(arrowDown);
131
- var ArrowUp = createLucideIcon(arrowUp);
132
- var ListFilter = createLucideIcon(listFilter);
133
- var ChevronLeft = createLucideIcon(chevronLeft);
134
- var ChevronDown = createLucideIcon(chevronDown);
135
- var ChevronRight = createLucideIcon(chevronRight);
136
- var ChevronsLeft = createLucideIcon(chevronsLeft);
137
- var ChevronsRight = createLucideIcon(chevronsRight);
138
- var ChevronsUpDown = createLucideIcon(chevronsUpDown);
139
- var Copy = createLucideIcon(copy);
140
- var Download = createLucideIcon(download);
141
- var Eye = createLucideIcon(eye);
142
- var EyeOff = createLucideIcon(eyeOff);
143
- var Ellipsis = createLucideIcon(ellipsis);
144
- var FileJson = createLucideIcon(fileJson);
145
- var FileText = createLucideIcon(fileText);
146
- var GripVertical = createLucideIcon(gripVertical);
147
- var Image = createLucideIcon(image);
148
- var LayoutGrid = createLucideIcon(layoutGrid);
149
- var LoaderCircle = createLucideIcon(loaderCircle);
150
- var Mail = createLucideIcon(mail);
151
- var Paperclip = createLucideIcon(paperclip);
152
- var RefreshCw = createLucideIcon(refreshCw);
153
- var RotateCcw = createLucideIcon(rotateCcw);
154
- var Rows3 = createLucideIcon(rows3);
155
- var Search = createLucideIcon(search);
156
- var Settings2 = createLucideIcon(settings2);
157
- var TriangleAlert = createLucideIcon(triangleAlert);
158
- var X = createLucideIcon(x);
58
+ import { Check, Copy, TriangleAlert } from "@krak-stack/registry/lucide-effect";
159
59
 
160
60
  // ../../src/components/copy-button/index.ts
161
61
  import { Effect, Redacted, Schema as Schema2 } from "effect";
@@ -280,6 +180,7 @@ var CopyButton = Html.component({
280
180
 
281
181
  // ../../src/components/copy-value/html.ts
282
182
  import { krakstackLocaleRead as krakstackLocaleRead2 } from "@krak-stack/registry/krakstack-provider/html";
183
+ import { Eye, EyeOff } from "@krak-stack/registry/lucide-effect";
283
184
 
284
185
  // ../../src/components/copy-value/index.ts
285
186
  import { Effect as Effect2, Redacted as Redacted2, Schema as Schema5, Stream } from "effect";
@@ -1639,6 +1639,25 @@ export declare const DataTable: Component.Component<"DataTable", {
1639
1639
  } | null;
1640
1640
  readonly invalidFilter: boolean;
1641
1641
  }, {
1642
+ readonly _tag: "PreferencesLoaded";
1643
+ readonly preferences: {
1644
+ readonly columnVisibility: {
1645
+ readonly [x: string]: boolean;
1646
+ };
1647
+ readonly columnSizing: {
1648
+ readonly [x: string]: number;
1649
+ };
1650
+ readonly grouping?: readonly string[] | undefined;
1651
+ readonly view: "gallery" | "table";
1652
+ } | null;
1653
+ } | {
1654
+ readonly _tag: "BuiltInExportRequested";
1655
+ readonly format: "csv" | "json";
1656
+ readonly locale?: string | undefined;
1657
+ } | {
1658
+ readonly _tag: "BulkActionRequested";
1659
+ readonly actionId: string;
1660
+ } | {
1642
1661
  readonly _tag: "CellEditRequested";
1643
1662
  readonly rowId: string;
1644
1663
  readonly columnId: string;
@@ -1652,41 +1671,6 @@ export declare const DataTable: Component.Component<"DataTable", {
1652
1671
  readonly _tag: "SetBoolean";
1653
1672
  readonly value: boolean;
1654
1673
  };
1655
- } | {
1656
- readonly _tag: "ExportRequested";
1657
- readonly actionId: string;
1658
- } | {
1659
- readonly _tag: "GroupActionRequested";
1660
- readonly fieldId: string;
1661
- readonly groupId: string;
1662
- readonly actionId: string;
1663
- } | {
1664
- readonly _tag: "GroupMoveRequested";
1665
- readonly rowId: string;
1666
- readonly fieldId: string;
1667
- readonly groupId: string;
1668
- } | {
1669
- readonly _tag: "ItemActionRequested";
1670
- readonly rowId: string;
1671
- readonly columnId: string;
1672
- readonly itemId: string;
1673
- readonly actionId: string;
1674
- } | {
1675
- readonly _tag: "RefreshRequested";
1676
- } | {
1677
- readonly _tag: "RowActionRequested";
1678
- readonly rowId: string;
1679
- readonly actionId: string;
1680
- } | {
1681
- readonly _tag: "RowActivated";
1682
- readonly rowId: string;
1683
- } | {
1684
- readonly _tag: "BuiltInExportRequested";
1685
- readonly format: "csv" | "json";
1686
- readonly locale?: string | undefined;
1687
- } | {
1688
- readonly _tag: "BulkActionRequested";
1689
- readonly actionId: string;
1690
1674
  } | {
1691
1675
  readonly _tag: "ColumnFilterChanged";
1692
1676
  readonly id: string;
@@ -1742,6 +1726,9 @@ export declare const DataTable: Component.Component<"DataTable", {
1742
1726
  } | {
1743
1727
  readonly _tag: "ExportFinished";
1744
1728
  readonly failed: boolean;
1729
+ } | {
1730
+ readonly _tag: "ExportRequested";
1731
+ readonly actionId: string;
1745
1732
  } | {
1746
1733
  readonly _tag: "ExportStarted";
1747
1734
  } | {
@@ -1761,16 +1748,32 @@ export declare const DataTable: Component.Component<"DataTable", {
1761
1748
  readonly checked: boolean;
1762
1749
  } | {
1763
1750
  readonly _tag: "FiltersCleared";
1751
+ } | {
1752
+ readonly _tag: "GroupActionRequested";
1753
+ readonly fieldId: string;
1754
+ readonly groupId: string;
1755
+ readonly actionId: string;
1764
1756
  } | {
1765
1757
  readonly _tag: "GroupDropped";
1766
1758
  readonly fieldId: string;
1767
1759
  readonly groupId: string;
1760
+ } | {
1761
+ readonly _tag: "GroupMoveRequested";
1762
+ readonly rowId: string;
1763
+ readonly fieldId: string;
1764
+ readonly groupId: string;
1768
1765
  } | {
1769
1766
  readonly _tag: "GroupToggled";
1770
1767
  readonly key: string;
1771
1768
  } | {
1772
1769
  readonly _tag: "GroupingToggled";
1773
1770
  readonly fieldId: string;
1771
+ } | {
1772
+ readonly _tag: "ItemActionRequested";
1773
+ readonly rowId: string;
1774
+ readonly columnId: string;
1775
+ readonly itemId: string;
1776
+ readonly actionId: string;
1774
1777
  } | {
1775
1778
  readonly _tag: "MenuClosed";
1776
1779
  readonly key: string;
@@ -1787,21 +1790,11 @@ export declare const DataTable: Component.Component<"DataTable", {
1787
1790
  } | {
1788
1791
  readonly _tag: "PageSizeRequested";
1789
1792
  readonly pageSize: number;
1790
- } | {
1791
- readonly _tag: "PreferencesLoaded";
1792
- readonly preferences: {
1793
- readonly columnVisibility: {
1794
- readonly [x: string]: boolean;
1795
- };
1796
- readonly columnSizing: {
1797
- readonly [x: string]: number;
1798
- };
1799
- readonly grouping?: readonly string[] | undefined;
1800
- readonly view: "gallery" | "table";
1801
- } | null;
1802
1793
  } | {
1803
1794
  readonly _tag: "ReferenceImageFailed";
1804
1795
  readonly src: string;
1796
+ } | {
1797
+ readonly _tag: "RefreshRequested";
1805
1798
  } | {
1806
1799
  readonly _tag: "ReorderRequested";
1807
1800
  readonly rowId: string;
@@ -1819,6 +1812,13 @@ export declare const DataTable: Component.Component<"DataTable", {
1819
1812
  readonly id: string;
1820
1813
  readonly x: number;
1821
1814
  readonly pointerId: number;
1815
+ } | {
1816
+ readonly _tag: "RowActionRequested";
1817
+ readonly rowId: string;
1818
+ readonly actionId: string;
1819
+ } | {
1820
+ readonly _tag: "RowActivated";
1821
+ readonly rowId: string;
1822
1822
  } | {
1823
1823
  readonly _tag: "SearchChanged";
1824
1824
  readonly value: string;
@@ -1843,10 +1843,6 @@ export declare const DataTable: Component.Component<"DataTable", {
1843
1843
  readonly _tag: "ViewPicked";
1844
1844
  readonly view: "gallery" | "table";
1845
1845
  }, {
1846
- readonly _tag: "BulkActionRequested";
1847
- readonly rowIds: readonly string[];
1848
- readonly actionId: string;
1849
- } | {
1850
1846
  readonly _tag: "CellEditRequested";
1851
1847
  readonly rowId: string;
1852
1848
  readonly columnId: string;
@@ -1888,6 +1884,10 @@ export declare const DataTable: Component.Component<"DataTable", {
1888
1884
  } | {
1889
1885
  readonly _tag: "RowActivated";
1890
1886
  readonly rowId: string;
1887
+ } | {
1888
+ readonly _tag: "BulkActionRequested";
1889
+ readonly rowIds: readonly string[];
1890
+ readonly actionId: string;
1891
1891
  } | {
1892
1892
  readonly _tag: "RowsReordered";
1893
1893
  readonly rowIds: readonly string[];
@@ -137,107 +137,12 @@ var SelectScrollDownArrow = (h, select, options = {}) => select.scrollDownArrow(
137
137
 
138
138
  // ../../src/components/pagination/html.ts
139
139
  import { krakstackLocaleRead } from "@krak-stack/registry/krakstack-provider/html";
140
-
141
- // ../../src/lib/lucide-effect.ts
142
140
  import {
143
- ArrowDown as arrowDown,
144
- ArrowUp as arrowUp,
145
- ListFilter as listFilter,
146
- Check as check,
147
- ChevronLeft as chevronLeft,
148
- ChevronDown as chevronDown,
149
- ChevronRight as chevronRight,
150
- ChevronsLeft as chevronsLeft,
151
- ChevronsRight as chevronsRight,
152
- ChevronsUpDown as chevronsUpDown,
153
- Copy as copy,
154
- Download as download,
155
- Eye as eye,
156
- EyeOff as eyeOff,
157
- Ellipsis as ellipsis,
158
- FileJson as fileJson,
159
- FileText as fileText,
160
- GripVertical as gripVertical,
161
- Image as image,
162
- LayoutGrid as layoutGrid,
163
- LoaderCircle as loaderCircle,
164
- Mail as mail,
165
- Paperclip as paperclip,
166
- RefreshCw as refreshCw,
167
- RotateCcw as rotateCcw,
168
- Rows3 as rows3,
169
- Search as search,
170
- Settings2 as settings2,
171
- TriangleAlert as triangleAlert,
172
- X as x
173
- } from "lucide";
174
- var createLucideIcon = (icon) => (h, {
175
- size = 24,
176
- color = "currentColor",
177
- strokeWidth = 2,
178
- className
179
- } = {}) => h.svg.attrs({
180
- class: className,
181
- width: String(size),
182
- height: String(size),
183
- viewBox: "0 0 24 24",
184
- fill: "none",
185
- stroke: color,
186
- "stroke-width": String(strokeWidth),
187
- "stroke-linecap": "round",
188
- "stroke-linejoin": "round",
189
- "aria-hidden": "true"
190
- }).children(...icon.map(([tag, attributes]) => {
191
- const attrs = Object.fromEntries(Object.entries(attributes).flatMap(([name, value]) => value === undefined ? [] : [[name, String(value)]]));
192
- switch (tag) {
193
- case "path":
194
- return h.path.attrs(attrs);
195
- case "circle":
196
- return h.circle.attrs(attrs);
197
- case "ellipse":
198
- return h.ellipse.attrs(attrs);
199
- case "line":
200
- return h.line.attrs(attrs);
201
- case "polyline":
202
- return h.polyline.attrs(attrs);
203
- case "polygon":
204
- return h.polygon.attrs(attrs);
205
- case "rect":
206
- return h.rect.attrs(attrs);
207
- default:
208
- throw new Error(`Unsupported Lucide SVG element: ${tag}`);
209
- }
210
- }));
211
- var Check = createLucideIcon(check);
212
- var ArrowDown = createLucideIcon(arrowDown);
213
- var ArrowUp = createLucideIcon(arrowUp);
214
- var ListFilter = createLucideIcon(listFilter);
215
- var ChevronLeft = createLucideIcon(chevronLeft);
216
- var ChevronDown = createLucideIcon(chevronDown);
217
- var ChevronRight = createLucideIcon(chevronRight);
218
- var ChevronsLeft = createLucideIcon(chevronsLeft);
219
- var ChevronsRight = createLucideIcon(chevronsRight);
220
- var ChevronsUpDown = createLucideIcon(chevronsUpDown);
221
- var Copy = createLucideIcon(copy);
222
- var Download = createLucideIcon(download);
223
- var Eye = createLucideIcon(eye);
224
- var EyeOff = createLucideIcon(eyeOff);
225
- var Ellipsis = createLucideIcon(ellipsis);
226
- var FileJson = createLucideIcon(fileJson);
227
- var FileText = createLucideIcon(fileText);
228
- var GripVertical = createLucideIcon(gripVertical);
229
- var Image = createLucideIcon(image);
230
- var LayoutGrid = createLucideIcon(layoutGrid);
231
- var LoaderCircle = createLucideIcon(loaderCircle);
232
- var Mail = createLucideIcon(mail);
233
- var Paperclip = createLucideIcon(paperclip);
234
- var RefreshCw = createLucideIcon(refreshCw);
235
- var RotateCcw = createLucideIcon(rotateCcw);
236
- var Rows3 = createLucideIcon(rows3);
237
- var Search = createLucideIcon(search);
238
- var Settings2 = createLucideIcon(settings2);
239
- var TriangleAlert = createLucideIcon(triangleAlert);
240
- var X = createLucideIcon(x);
141
+ ChevronLeft,
142
+ ChevronRight,
143
+ ChevronsLeft,
144
+ ChevronsRight
145
+ } from "@krak-stack/registry/lucide-effect";
241
146
 
242
147
  // ../../src/components/pagination/classes.ts
243
148
  var paginationClasses = {
@@ -612,6 +517,28 @@ var PaginationMeta = Schema3.Struct({
612
517
  examples: [{ page: 0, pageSize: 20, total: 125, pageCount: 7 }]
613
518
  }));
614
519
 
520
+ // ../../src/components/data-table/html.ts
521
+ import {
522
+ ArrowDown,
523
+ ArrowUp,
524
+ ChevronDown,
525
+ ChevronRight as ChevronRight2,
526
+ ChevronsUpDown,
527
+ Download,
528
+ Ellipsis,
529
+ EyeOff,
530
+ FileJson,
531
+ FileText,
532
+ GripVertical,
533
+ LayoutGrid,
534
+ ListFilter,
535
+ RefreshCw,
536
+ Rows3,
537
+ Search,
538
+ Settings2,
539
+ X
540
+ } from "@krak-stack/registry/lucide-effect";
541
+
615
542
  // ../../src/components/data-table/index.ts
616
543
  import { DateTime as DateTime3, Effect as Effect2, Option as Option3, Redacted, Schema as Schema5, Stream } from "effect";
617
544
  import { Csv } from "effect/encoding";
@@ -2387,7 +2314,7 @@ var DataTable = Html2.component({
2387
2314
  const definition = field.groups?.find(({ id }) => id === groupId);
2388
2315
  const label = definition?.label ?? groupId;
2389
2316
  const open = !model.collapsedGroups[key];
2390
- const title = h.div.class(cn(tableClasses.groupContent, !gallery && tableClasses.groupSticky)).children(h.button.attr("type", "button").class(tableClasses.groupTrigger).style({ paddingInlineStart: `${depth * 20}px` }).on("click", DataTableMessage.GroupToggled({ key })).attr("aria-expanded", open ? "true" : "false").attr("aria-label", label).children((open ? ChevronDown : ChevronRight)(h, {
2317
+ const title = h.div.class(cn(tableClasses.groupContent, !gallery && tableClasses.groupSticky)).children(h.button.attr("type", "button").class(tableClasses.groupTrigger).style({ paddingInlineStart: `${depth * 20}px` }).on("click", DataTableMessage.GroupToggled({ key })).attr("aria-expanded", open ? "true" : "false").attr("aria-label", label).children((open ? ChevronDown : ChevronRight2)(h, {
2391
2318
  size: 16,
2392
2319
  className: "shrink-0"
2393
2320
  }), h.span.class("min-w-0 flex-1 truncate").children(label), h.span.class(tableClasses.count).children(String(children.length))), !!field.actions?.length && menu(keyOf("group", key), field.actionsLabel ?? copy.actions, `${field.actionsLabel ?? copy.actions}: ${label}`, field.actions.map((action) => ({