@krak-stack/registry 0.11.1 → 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 (76) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +22 -0
  3. package/dist/components/agent/react.js +29 -183
  4. package/dist/components/animated-list/html.js +1 -105
  5. package/dist/components/animated-list/react.js +16 -168
  6. package/dist/components/animated-number/react.js +8 -162
  7. package/dist/components/app-switcher/html.js +1 -103
  8. package/dist/components/async-action-button/html.js +1 -101
  9. package/dist/components/async-action-button/react.js +10 -164
  10. package/dist/components/audit-log-table/react.js +59 -213
  11. package/dist/components/bulk-list-input/html.js +2 -102
  12. package/dist/components/choice-cards/html.js +1 -101
  13. package/dist/components/code-block/html.js +1 -101
  14. package/dist/components/code-block/react.js +10 -164
  15. package/dist/components/copy-button/html.d.ts +2 -2
  16. package/dist/components/copy-button/html.js +1 -101
  17. package/dist/components/copy-button/react.js +10 -164
  18. package/dist/components/copy-value/html.js +6 -105
  19. package/dist/components/copy-value/react.js +20 -172
  20. package/dist/components/danger-confirmation/react.js +13 -167
  21. package/dist/components/data-table/html.d.ts +51 -51
  22. package/dist/components/data-table/html.js +28 -101
  23. package/dist/components/data-table/react.js +59 -213
  24. package/dist/components/date-input/html.js +2 -105
  25. package/dist/components/editable-text/html.d.ts +2 -2
  26. package/dist/components/editable-text/html.js +4 -102
  27. package/dist/components/editable-text/react.js +14 -168
  28. package/dist/components/editing-locale-switcher/html.js +2 -102
  29. package/dist/components/email-composer/react.js +25 -174
  30. package/dist/components/email-editor/html.js +8 -107
  31. package/dist/components/email-editor/react.js +34 -186
  32. package/dist/components/error-component/html.d.ts +4 -4
  33. package/dist/components/error-component/html.js +10 -107
  34. package/dist/components/error-component/react.js +15 -169
  35. package/dist/components/file-input/html.js +6 -106
  36. package/dist/components/icon-input/html.js +3 -103
  37. package/dist/components/icon-input/react.js +7 -161
  38. package/dist/components/image-crop-editor/html.js +1 -101
  39. package/dist/components/image-crop-editor/react.js +19 -173
  40. package/dist/components/loading/html.js +1 -101
  41. package/dist/components/locale-switcher/html.js +1 -103
  42. package/dist/components/map-menu/html.d.ts +8 -8
  43. package/dist/components/map-menu/html.js +7 -106
  44. package/dist/components/markdown/html.js +1 -101
  45. package/dist/components/markdown/react.js +10 -164
  46. package/dist/components/notification-menu/html.js +7 -114
  47. package/dist/components/pagination/html.js +5 -100
  48. package/dist/components/presence-transition/react.js +9 -163
  49. package/dist/components/registry-previews/component-example.js +10 -164
  50. package/dist/components/rich-text-editor/html.js +14 -108
  51. package/dist/components/rich-text-editor/react.js +9 -161
  52. package/dist/components/search-menu/html.js +1 -103
  53. package/dist/components/search-menu/react.js +11 -165
  54. package/dist/components/sidebar-layout/html.js +2 -102
  55. package/dist/components/sidebar-layout/react.js +3 -157
  56. package/dist/components/stepper/html.js +4 -102
  57. package/dist/components/support/html.js +1 -101
  58. package/dist/components/support/react.js +14 -168
  59. package/dist/components/theme-switcher/html.js +4 -105
  60. package/dist/components/time-input/html.d.ts +2 -2
  61. package/dist/components/time-input/html.js +1 -103
  62. package/dist/components/timezone-input/react.js +9 -163
  63. package/dist/components/toast/html.js +11 -104
  64. package/dist/components/upload-attachment/html.d.ts +4 -4
  65. package/dist/components/upload-attachment/html.js +7 -102
  66. package/dist/components/webhook-delivery-table/html.js +28 -101
  67. package/dist/components/webhook-delivery-table/react.js +74 -226
  68. package/dist/lib/docs.integrations.server.js +16 -35
  69. package/dist/lib/docs.js +31 -183
  70. package/dist/lib/docs.server.js +16 -35
  71. package/dist/lib/documentation-toolkit.js +19 -38
  72. package/dist/lib/effect-ui-adapter/use-model.js +158 -0
  73. package/dist/lib/lucide-effect.d.ts +2432 -0
  74. package/dist/lib/lucide-effect.js +7428 -0
  75. package/dist/services/agent/client/index.js +29 -183
  76. package/package.json +10 -2
@@ -2,7 +2,6 @@
2
2
  import { Redacted as Redacted2 } from "effect";
3
3
  import { Command as Command2 } from "effect/ui";
4
4
  import { Html, HtmlCommand } from "effect/ui/html";
5
- import { Pencil } from "lucide";
6
5
 
7
6
  // ../../src/components/effectcn/button.ts
8
7
  import {
@@ -52,107 +51,11 @@ var Input = (h, options) => KitInput(h, options).class(inputVariants(options));
52
51
 
53
52
  // ../../src/components/editable-text/html.ts
54
53
  import { krakstackLocaleRead } from "@krak-stack/registry/krakstack-provider/html";
55
-
56
- // ../../src/lib/lucide-effect.ts
57
54
  import {
58
- ArrowDown as arrowDown,
59
- ArrowUp as arrowUp,
60
- ListFilter as listFilter,
61
- Check as check,
62
- ChevronLeft as chevronLeft,
63
- ChevronDown as chevronDown,
64
- ChevronRight as chevronRight,
65
- ChevronsLeft as chevronsLeft,
66
- ChevronsRight as chevronsRight,
67
- ChevronsUpDown as chevronsUpDown,
68
- Copy as copy,
69
- Download as download,
70
- Eye as eye,
71
- EyeOff as eyeOff,
72
- Ellipsis as ellipsis,
73
- FileJson as fileJson,
74
- FileText as fileText,
75
- GripVertical as gripVertical,
76
- Image as image,
77
- LayoutGrid as layoutGrid,
78
- LoaderCircle as loaderCircle,
79
- Mail as mail,
80
- Paperclip as paperclip,
81
- RefreshCw as refreshCw,
82
- RotateCcw as rotateCcw,
83
- Rows3 as rows3,
84
- Search as search,
85
- Settings2 as settings2,
86
- TriangleAlert as triangleAlert,
87
- X as x
88
- } from "lucide";
89
- var createLucideIcon = (icon) => (h, {
90
- size = 24,
91
- color = "currentColor",
92
- strokeWidth = 2,
93
- className
94
- } = {}) => h.svg.attrs({
95
- class: className,
96
- width: String(size),
97
- height: String(size),
98
- viewBox: "0 0 24 24",
99
- fill: "none",
100
- stroke: color,
101
- "stroke-width": String(strokeWidth),
102
- "stroke-linecap": "round",
103
- "stroke-linejoin": "round",
104
- "aria-hidden": "true"
105
- }).children(...icon.map(([tag, attributes]) => {
106
- const attrs = Object.fromEntries(Object.entries(attributes).flatMap(([name, value]) => value === undefined ? [] : [[name, String(value)]]));
107
- switch (tag) {
108
- case "path":
109
- return h.path.attrs(attrs);
110
- case "circle":
111
- return h.circle.attrs(attrs);
112
- case "ellipse":
113
- return h.ellipse.attrs(attrs);
114
- case "line":
115
- return h.line.attrs(attrs);
116
- case "polyline":
117
- return h.polyline.attrs(attrs);
118
- case "polygon":
119
- return h.polygon.attrs(attrs);
120
- case "rect":
121
- return h.rect.attrs(attrs);
122
- default:
123
- throw new Error(`Unsupported Lucide SVG element: ${tag}`);
124
- }
125
- }));
126
- var Check = createLucideIcon(check);
127
- var ArrowDown = createLucideIcon(arrowDown);
128
- var ArrowUp = createLucideIcon(arrowUp);
129
- var ListFilter = createLucideIcon(listFilter);
130
- var ChevronLeft = createLucideIcon(chevronLeft);
131
- var ChevronDown = createLucideIcon(chevronDown);
132
- var ChevronRight = createLucideIcon(chevronRight);
133
- var ChevronsLeft = createLucideIcon(chevronsLeft);
134
- var ChevronsRight = createLucideIcon(chevronsRight);
135
- var ChevronsUpDown = createLucideIcon(chevronsUpDown);
136
- var Copy = createLucideIcon(copy);
137
- var Download = createLucideIcon(download);
138
- var Eye = createLucideIcon(eye);
139
- var EyeOff = createLucideIcon(eyeOff);
140
- var Ellipsis = createLucideIcon(ellipsis);
141
- var FileJson = createLucideIcon(fileJson);
142
- var FileText = createLucideIcon(fileText);
143
- var GripVertical = createLucideIcon(gripVertical);
144
- var Image = createLucideIcon(image);
145
- var LayoutGrid = createLucideIcon(layoutGrid);
146
- var LoaderCircle = createLucideIcon(loaderCircle);
147
- var Mail = createLucideIcon(mail);
148
- var Paperclip = createLucideIcon(paperclip);
149
- var RefreshCw = createLucideIcon(refreshCw);
150
- var RotateCcw = createLucideIcon(rotateCcw);
151
- var Rows3 = createLucideIcon(rows3);
152
- var Search = createLucideIcon(search);
153
- var Settings2 = createLucideIcon(settings2);
154
- var TriangleAlert = createLucideIcon(triangleAlert);
155
- var X = createLucideIcon(x);
55
+ LoaderCircle,
56
+ Pencil as PencilIcon,
57
+ RotateCcw
58
+ } from "@krak-stack/registry/lucide-effect";
156
59
 
157
60
  // ../../src/components/editable-text/classes.ts
158
61
  var editableTextClasses = {
@@ -295,7 +198,6 @@ var editableTextBehaviours = {
295
198
  };
296
199
 
297
200
  // ../../src/components/editable-text/html.ts
298
- var PencilIcon = createLucideIcon(Pencil);
299
201
  var Input2 = Html.ref("EditableTextInput", "input");
300
202
  var Trigger = Html.ref("EditableTextTrigger", "button");
301
203
  var EditableText = Html.component({
@@ -1,8 +1,8 @@
1
1
  // ../../src/components/editable-text/react.tsx
2
- import { Effect as Effect3, Redacted as Redacted2 } from "effect";
3
- import { Component as Component2, View as View2 } from "effect/ui";
2
+ import { Effect as Effect2, Redacted as Redacted2 } from "effect";
3
+ import { Component as Component2, View } from "effect/ui";
4
4
  import { LoaderCircle, Pencil, RotateCcw } from "lucide-react";
5
- import { useEffect as useEffect2, useId, useLayoutEffect as useLayoutEffect2, useRef as useRef2, useState as useState2 } from "react";
5
+ import { useEffect, useId, useLayoutEffect, useRef, useState } from "react";
6
6
 
7
7
  // ../../src/components/ui/button.tsx
8
8
  import { Button as ButtonPrimitive } from "@base-ui/react/button";
@@ -77,161 +77,7 @@ function Label({ className, ...props }) {
77
77
 
78
78
  // ../../src/components/editable-text/react.tsx
79
79
  import { useKrakstackLocale } from "@krak-stack/registry/krakstack-provider/react";
80
-
81
- // ../../src/lib/effect-ui-adapter/use-model.ts
82
- import { MessageLog as MessageLog2 } from "effect/ui";
83
- import {
84
- createContext,
85
- useCallback,
86
- useContext,
87
- useEffect,
88
- useLayoutEffect,
89
- useRef,
90
- useState,
91
- useSyncExternalStore
92
- } from "react";
93
-
94
- // ../../src/lib/effect-ui-adapter/model-runtime.ts
95
- import { MessageLog, Renderer, View } from "effect/ui";
96
- import { BrowserHost, Html } from "effect/ui/html";
97
- import { Cause, Effect, Fiber } from "effect";
98
- var node = () => ({ children: [] });
99
- var modelHost = (commit) => {
100
- const remove = (child) => {
101
- if (!child.parent)
102
- return;
103
- child.parent.children.splice(child.parent.children.indexOf(child), 1);
104
- delete child.parent;
105
- };
106
- return {
107
- createElement: node,
108
- createText: node,
109
- setText: () => {},
110
- setAttr: () => {},
111
- setProp: () => {},
112
- setEvents: () => {},
113
- insertBefore: (parent, child, before) => {
114
- if (child === before)
115
- return;
116
- remove(child);
117
- const index = before ? parent.children.indexOf(before) : parent.children.length;
118
- parent.children.splice(index, 0, child);
119
- child.parent = parent;
120
- },
121
- remove,
122
- parentOf: (child) => child.parent,
123
- nextOf: (child) => child.parent?.children[child.parent.children.indexOf(child) + 1],
124
- elements: ["html"],
125
- controlled: new Set,
126
- runsMounts: false,
127
- commit
128
- };
129
- };
130
- var mountModel = (component, props, publishSnapshot, messageLog, onEmit) => {
131
- let currentProps = props;
132
- let root;
133
- let active = true;
134
- let failure;
135
- const publish = () => {
136
- if (!active)
137
- return;
138
- if (failure) {
139
- publishSnapshot({ error: failure });
140
- return;
141
- }
142
- const current = root?.model();
143
- if (current !== undefined)
144
- publishSnapshot({ model: current });
145
- };
146
- const fiber = Effect.runFork(Effect.scoped(Effect.gen(function* () {
147
- const mounted = yield* Renderer.mount(component, Effect.succeed(props), node(), {
148
- head: false,
149
- onEmit,
150
- fallback: ({ cause }) => {
151
- failure = new Error("Effect UI root failed", {
152
- cause: Cause.squash(cause)
153
- });
154
- return View.text("");
155
- }
156
- });
157
- if (!active)
158
- return;
159
- root = mounted;
160
- if (props !== currentProps)
161
- mounted.setProps(currentProps);
162
- publish();
163
- return yield* Effect.never;
164
- }).pipe(Effect.provide(Renderer.layer(modelHost(publish))), Effect.provideService(Html.Host, BrowserHost.htmlHost), Effect.provideService(MessageLog.MessageLog, messageLog))));
165
- return {
166
- send: (message) => {
167
- root?.send(message);
168
- publish();
169
- },
170
- setProps: (next) => {
171
- currentProps = next;
172
- root?.setProps(next);
173
- },
174
- dispose: () => {
175
- active = false;
176
- root = undefined;
177
- Effect.runFork(Fiber.interrupt(fiber));
178
- }
179
- };
180
- };
181
-
182
- // ../../src/lib/effect-ui-adapter/use-model.ts
183
- "use client";
184
- var ModelMessageLogContext = createContext(undefined);
185
- var useModel = (component, props, options = {}) => {
186
- const contextLog = useContext(ModelMessageLogContext);
187
- const messageLog = options.messageLog ?? (contextLog === undefined ? MessageLog2.noop : contextLog);
188
- const [store] = useState(() => {
189
- const initial = { model: component.init(props).model };
190
- let snapshot = initial;
191
- const listeners = new Set;
192
- return {
193
- subscribe: (listener) => {
194
- listeners.add(listener);
195
- return () => {
196
- listeners.delete(listener);
197
- };
198
- },
199
- getSnapshot: () => snapshot,
200
- getServerSnapshot: () => initial,
201
- publish: (next) => {
202
- if ("model" in snapshot && "model" in next && Object.is(snapshot.model, next.model))
203
- return;
204
- if ("error" in snapshot && "error" in next && snapshot.error === next.error)
205
- return;
206
- snapshot = next;
207
- listeners.forEach((listener) => listener());
208
- }
209
- };
210
- });
211
- const snapshot = useSyncExternalStore(store.subscribe, store.getSnapshot, store.getServerSnapshot);
212
- const committed = useRef(props);
213
- const onEmit = useRef(options.onEmit);
214
- const runtime = useRef(undefined);
215
- const send = useCallback((message) => runtime.current?.send(message), []);
216
- useLayoutEffect(() => {
217
- onEmit.current = options.onEmit;
218
- committed.current = props;
219
- runtime.current?.setProps(props);
220
- }, [props, options.onEmit]);
221
- useEffect(() => {
222
- if (messageLog === null)
223
- return;
224
- const mounted = mountModel(component, committed.current, store.publish, messageLog, (event) => onEmit.current?.(event));
225
- runtime.current = mounted;
226
- return () => {
227
- runtime.current = undefined;
228
- mounted.dispose();
229
- };
230
- }, [component, messageLog, store]);
231
- if ("error" in snapshot)
232
- throw snapshot.error;
233
- return { model: snapshot.model, send };
234
- };
80
+ import { useModel } from "@krak-stack/registry/effect-ui-adapter/react";
235
81
 
236
82
  // ../../src/components/editable-text/classes.ts
237
83
  var editableTextClasses = {
@@ -248,7 +94,7 @@ var resolveEditableTextClasses = (overrides) => ({
248
94
  });
249
95
 
250
96
  // ../../src/components/editable-text/index.ts
251
- import { Effect as Effect2, Redacted, Schema as Schema2 } from "effect";
97
+ import { Effect, Redacted, Schema as Schema2 } from "effect";
252
98
  import { Command, Component, UiSchema } from "effect/ui";
253
99
 
254
100
  // ../../src/components/editable-text/schema.ts
@@ -320,7 +166,7 @@ var EditableTextEvents = UiSchema.TaggedEnum({
320
166
  }).annotate({ identifier: "EditableTextEvents" });
321
167
 
322
168
  class SaveEditableText extends Command.Service()("editable-text/SaveEditableText", { args: { value: Draft }, success: EditableTextMessage }) {
323
- static layerFromEffect = (save) => SaveEditableText.toLayer(({ value }) => Effect2.suspend(() => save(Redacted.value(value))).pipe(Effect2.match({
169
+ static layerFromEffect = (save) => SaveEditableText.toLayer(({ value }) => Effect.suspend(() => save(Redacted.value(value))).pipe(Effect.match({
324
170
  onSuccess: () => EditableTextMessage.Finished({ value, success: true }),
325
171
  onFailure: () => EditableTextMessage.Finished({ value, success: false })
326
172
  })));
@@ -378,25 +224,25 @@ import { jsx as jsx4, jsxs } from "react/jsx-runtime";
378
224
  "use client";
379
225
  var EditableTextModel = Component2.define(editableTextOptions).make({
380
226
  ...editableTextBehaviours,
381
- view: () => View2.text("")
227
+ view: () => View.text("")
382
228
  });
383
229
  var EditableText = ({ onSave, ...props }) => {
384
230
  const editableTextClasses = resolveEditableTextClasses(props.classes);
385
231
  const copy = editableTextMessages(useKrakstackLocale(props.locale), props.messages);
386
- const callback = useRef2(onSave);
387
- useLayoutEffect2(() => {
232
+ const callback = useRef(onSave);
233
+ useLayoutEffect(() => {
388
234
  callback.current = onSave;
389
235
  }, [onSave]);
390
- const [component] = useState2(() => EditableTextModel.pipe(Component2.provide(SaveEditableText.layerFromEffect((value) => Effect3.tryPromise(() => callback.current(value))))));
236
+ const [component] = useState(() => EditableTextModel.pipe(Component2.provide(SaveEditableText.layerFromEffect((value) => Effect2.tryPromise(() => callback.current(value))))));
391
237
  const { model, send } = useModel(component, props);
392
238
  const editing = model.status !== "idle";
393
239
  const pending = model.status === "pending";
394
240
  const failed = model.status === "error";
395
- const trigger = useRef2(null);
396
- const input = useRef2(null);
397
- const wasEditing = useRef2(false);
241
+ const trigger = useRef(null);
242
+ const input = useRef(null);
243
+ const wasEditing = useRef(false);
398
244
  const id = useId();
399
- useEffect2(() => {
245
+ useEffect(() => {
400
246
  if (editing) {
401
247
  input.current?.focus();
402
248
  input.current?.select();
@@ -1,7 +1,6 @@
1
1
  // ../../src/components/editing-locale-switcher/html.ts
2
2
  import { Html } from "effect/ui/html";
3
3
  import { Select } from "effect/ui/kit";
4
- import { SquarePen } from "lucide";
5
4
  import { krakstackLocaleRead } from "@krak-stack/registry/krakstack-provider/html";
6
5
 
7
6
  // ../../src/lib/utils.ts
@@ -45,106 +44,8 @@ var SelectScrollDownArrow = (h, select, options = {}) => select.scrollDownArrow(
45
44
  element: h.div.class(cn(scrollArrow, "bottom-0 before:-translate-y-0.5 before:border-r-[1.5px] before:border-b-[1.5px]", options.class))
46
45
  });
47
46
 
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
+ // ../../src/components/editing-locale-switcher/html.ts
48
+ import { SquarePen as EditIcon } from "@krak-stack/registry/lucide-effect";
148
49
 
149
50
  // ../../src/components/editing-locale-switcher/classes.ts
150
51
  var editingLocaleSwitcherClasses = {
@@ -214,7 +115,6 @@ var editingLocaleSwitcherBehaviours = {
214
115
  };
215
116
 
216
117
  // ../../src/components/editing-locale-switcher/html.ts
217
- var EditIcon = createLucideIcon(SquarePen);
218
118
  var EditingLocaleSwitcher = Html.component({
219
119
  ...editingLocaleSwitcherOptions,
220
120
  reads: { localeConfig: krakstackLocaleRead }