@krak-stack/registry 0.11.5 → 0.11.7

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 (47) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/components/audit-log-table/classes.d.ts +1 -0
  3. package/dist/components/audit-log-table/html.d.ts +158 -0
  4. package/dist/components/audit-log-table/html.js +3260 -0
  5. package/dist/components/audit-log-table/index.d.ts +37 -0
  6. package/dist/components/audit-log-table/react.d.ts +3 -51
  7. package/dist/components/audit-log-table/react.js +246 -92
  8. package/dist/components/audit-log-table/schema.d.ts +122 -0
  9. package/dist/components/copy-button/html.d.ts +2 -2
  10. package/dist/components/danger-confirmation/index.d.ts +2 -2
  11. package/dist/components/data-table/classes.d.ts +10 -3
  12. package/dist/components/data-table/html.d.ts +93 -21
  13. package/dist/components/data-table/html.js +122 -32
  14. package/dist/components/data-table/index.d.ts +97 -9
  15. package/dist/components/data-table/react.d.ts +14 -3
  16. package/dist/components/data-table/react.js +162 -19
  17. package/dist/components/data-table/schema.d.ts +175 -16
  18. package/dist/components/date-input/html.d.ts +2 -2
  19. package/dist/components/docs/html.js +1 -1
  20. package/dist/components/editable-text/html.d.ts +2 -2
  21. package/dist/components/editable-text/index.d.ts +4 -4
  22. package/dist/components/editing-locale-switcher/html.d.ts +2 -2
  23. package/dist/components/email-editor/legacy-editor.html.d.ts +6 -6
  24. package/dist/components/form/react.d.ts +5 -5
  25. package/dist/components/locale-switcher/html.d.ts +2 -2
  26. package/dist/components/map-menu/html.d.ts +4 -4
  27. package/dist/components/presence-transition/index.d.ts +2 -2
  28. package/dist/components/select-with-custom-input/html.d.ts +2 -2
  29. package/dist/components/sidebar-layout/html.js +1 -1
  30. package/dist/components/switch/react.d.ts +14 -0
  31. package/dist/components/switch/react.js +55 -0
  32. package/dist/components/theme-switcher/html.d.ts +2 -2
  33. package/dist/components/tracking-notice/classes.d.ts +6 -0
  34. package/dist/components/tracking-notice/html.d.ts +85 -0
  35. package/dist/components/tracking-notice/html.js +354 -0
  36. package/dist/components/tracking-notice/index.d.ts +95 -0
  37. package/dist/components/tracking-notice/react.d.ts +5 -27
  38. package/dist/components/tracking-notice/react.js +189 -59
  39. package/dist/components/tracking-notice/schema.d.ts +45 -0
  40. package/dist/components/upload-attachment/html.d.ts +4 -4
  41. package/dist/components/virtualized-combobox/html.d.ts +3 -3
  42. package/dist/components/webhook-delivery-table/html.js +122 -32
  43. package/dist/components/webhook-delivery-table/react.js +162 -19
  44. package/dist/services/events/browser.js +39 -26
  45. package/dist/services/events/index.js +23 -19
  46. package/dist/services/opentelemetry/web-vitals.js +27 -23
  47. package/package.json +9 -1
@@ -115,6 +115,21 @@ export declare const DataTableRowSchema: Schema.Struct<{
115
115
  readonly selectable: Schema.optionalKey<Schema.Boolean>;
116
116
  readonly disabledColumnIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
117
117
  }>;
118
+ declare const DataTableBadgeOptionSchema: Schema.Struct<{
119
+ readonly value: Schema.NonEmptyString;
120
+ readonly label: Schema.optionalKey<Schema.String>;
121
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
122
+ }>;
123
+ export type DataTableBadgeOption = typeof DataTableBadgeOptionSchema.Type;
124
+ declare const DataTableBadgeOptionsSchema: Schema.Struct<{
125
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
126
+ readonly value: Schema.NonEmptyString;
127
+ readonly label: Schema.optionalKey<Schema.String>;
128
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
129
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
130
+ }>>>;
131
+ }>;
132
+ export type DataTableBadgeOptions = typeof DataTableBadgeOptionsSchema.Type;
118
133
  export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct<{
119
134
  readonly id: Schema.NonEmptyString;
120
135
  readonly headerName: Schema.String;
@@ -131,6 +146,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
131
146
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
132
147
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
133
148
  readonly type: Schema.Literal<"text">;
149
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
150
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
151
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
152
+ readonly value: Schema.NonEmptyString;
153
+ readonly label: Schema.optionalKey<Schema.String>;
154
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
155
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
156
+ }>>>;
157
+ }>>;
134
158
  readonly fields: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
135
159
  readonly id: Schema.NonEmptyString;
136
160
  readonly headerName: Schema.String;
@@ -147,6 +171,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
147
171
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
148
172
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
149
173
  readonly type: Schema.Literal<"text">;
174
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
175
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
176
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
177
+ readonly value: Schema.NonEmptyString;
178
+ readonly label: Schema.optionalKey<Schema.String>;
179
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
180
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
181
+ }>>>;
182
+ }>>;
150
183
  }>, Schema.Struct<{
151
184
  readonly id: Schema.NonEmptyString;
152
185
  readonly headerName: Schema.String;
@@ -288,7 +321,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
288
321
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
289
322
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
290
323
  }>>>;
291
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
324
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
292
325
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
293
326
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
294
327
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -335,6 +368,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
335
368
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
336
369
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
337
370
  readonly type: Schema.Literal<"text">;
371
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
372
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
373
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
374
+ readonly value: Schema.NonEmptyString;
375
+ readonly label: Schema.optionalKey<Schema.String>;
376
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
377
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
378
+ }>>>;
379
+ }>>;
338
380
  }>, Schema.Struct<{
339
381
  readonly id: Schema.NonEmptyString;
340
382
  readonly headerName: Schema.String;
@@ -476,7 +518,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
476
518
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
477
519
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
478
520
  }>>>;
479
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
521
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
480
522
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
481
523
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
482
524
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -513,6 +555,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
513
555
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
514
556
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
515
557
  readonly type: Schema.Literal<"text">;
558
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
559
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
560
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
561
+ readonly value: Schema.NonEmptyString;
562
+ readonly label: Schema.optionalKey<Schema.String>;
563
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
564
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
565
+ }>>>;
566
+ }>>;
516
567
  }>, Schema.Struct<{
517
568
  readonly id: Schema.NonEmptyString;
518
569
  readonly headerName: Schema.String;
@@ -654,7 +705,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
654
705
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
655
706
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
656
707
  }>>>;
657
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
708
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
658
709
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
659
710
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
660
711
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -697,6 +748,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
697
748
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
698
749
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
699
750
  readonly type: Schema.Literal<"text">;
751
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
752
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
753
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
754
+ readonly value: Schema.NonEmptyString;
755
+ readonly label: Schema.optionalKey<Schema.String>;
756
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
757
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
758
+ }>>>;
759
+ }>>;
700
760
  }>, Schema.Struct<{
701
761
  readonly id: Schema.NonEmptyString;
702
762
  readonly headerName: Schema.String;
@@ -838,7 +898,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
838
898
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
839
899
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
840
900
  }>>>;
841
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
901
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
842
902
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
843
903
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
844
904
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -883,6 +943,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
883
943
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
884
944
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
885
945
  readonly type: Schema.Literal<"text">;
946
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
947
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
948
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
949
+ readonly value: Schema.NonEmptyString;
950
+ readonly label: Schema.optionalKey<Schema.String>;
951
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
952
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
953
+ }>>>;
954
+ }>>;
886
955
  }>, Schema.Struct<{
887
956
  readonly id: Schema.NonEmptyString;
888
957
  readonly headerName: Schema.String;
@@ -1024,7 +1093,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1024
1093
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1025
1094
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1026
1095
  }>>>;
1027
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
1096
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
1028
1097
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
1029
1098
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
1030
1099
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -1067,6 +1136,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1067
1136
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1068
1137
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1069
1138
  readonly type: Schema.Literal<"text">;
1139
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
1140
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1141
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1142
+ readonly value: Schema.NonEmptyString;
1143
+ readonly label: Schema.optionalKey<Schema.String>;
1144
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
1145
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
1146
+ }>>>;
1147
+ }>>;
1070
1148
  }>, Schema.Struct<{
1071
1149
  readonly id: Schema.NonEmptyString;
1072
1150
  readonly headerName: Schema.String;
@@ -1208,7 +1286,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1208
1286
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1209
1287
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1210
1288
  }>>>;
1211
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
1289
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
1212
1290
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
1213
1291
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
1214
1292
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -1244,7 +1322,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1244
1322
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1245
1323
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1246
1324
  }>>>;
1247
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
1325
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
1248
1326
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
1249
1327
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
1250
1328
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -1264,6 +1342,15 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1264
1342
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1265
1343
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1266
1344
  readonly type: Schema.Literal<"text">;
1345
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
1346
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1347
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1348
+ readonly value: Schema.NonEmptyString;
1349
+ readonly label: Schema.optionalKey<Schema.String>;
1350
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
1351
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
1352
+ }>>>;
1353
+ }>>;
1267
1354
  }>, Schema.Struct<{
1268
1355
  readonly id: Schema.NonEmptyString;
1269
1356
  readonly headerName: Schema.String;
@@ -1405,7 +1492,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1405
1492
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1406
1493
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1407
1494
  }>>>;
1408
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
1495
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
1409
1496
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
1410
1497
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
1411
1498
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -1509,6 +1596,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1509
1596
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1510
1597
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1511
1598
  readonly type: Schema.Literal<"text">;
1599
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
1600
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1601
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1602
+ readonly value: Schema.NonEmptyString;
1603
+ readonly label: Schema.optionalKey<Schema.String>;
1604
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
1605
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
1606
+ }>>>;
1607
+ }>>;
1512
1608
  readonly fields: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1513
1609
  readonly id: Schema.NonEmptyString;
1514
1610
  readonly headerName: Schema.String;
@@ -1525,6 +1621,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1525
1621
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1526
1622
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1527
1623
  readonly type: Schema.Literal<"text">;
1624
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
1625
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1626
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1627
+ readonly value: Schema.NonEmptyString;
1628
+ readonly label: Schema.optionalKey<Schema.String>;
1629
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
1630
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
1631
+ }>>>;
1632
+ }>>;
1528
1633
  }>, Schema.Struct<{
1529
1634
  readonly id: Schema.NonEmptyString;
1530
1635
  readonly headerName: Schema.String;
@@ -1666,7 +1771,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1666
1771
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1667
1772
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1668
1773
  }>>>;
1669
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
1774
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
1670
1775
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
1671
1776
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
1672
1777
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -1713,6 +1818,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1713
1818
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1714
1819
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1715
1820
  readonly type: Schema.Literal<"text">;
1821
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
1822
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1823
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1824
+ readonly value: Schema.NonEmptyString;
1825
+ readonly label: Schema.optionalKey<Schema.String>;
1826
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
1827
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
1828
+ }>>>;
1829
+ }>>;
1716
1830
  }>, Schema.Struct<{
1717
1831
  readonly id: Schema.NonEmptyString;
1718
1832
  readonly headerName: Schema.String;
@@ -1854,7 +1968,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1854
1968
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1855
1969
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1856
1970
  }>>>;
1857
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
1971
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
1858
1972
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
1859
1973
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
1860
1974
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -1891,6 +2005,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1891
2005
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1892
2006
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1893
2007
  readonly type: Schema.Literal<"text">;
2008
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
2009
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2010
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2011
+ readonly value: Schema.NonEmptyString;
2012
+ readonly label: Schema.optionalKey<Schema.String>;
2013
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
2014
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
2015
+ }>>>;
2016
+ }>>;
1894
2017
  }>, Schema.Struct<{
1895
2018
  readonly id: Schema.NonEmptyString;
1896
2019
  readonly headerName: Schema.String;
@@ -2032,7 +2155,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2032
2155
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
2033
2156
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
2034
2157
  }>>>;
2035
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
2158
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
2036
2159
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
2037
2160
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
2038
2161
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -2075,6 +2198,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2075
2198
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2076
2199
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2077
2200
  readonly type: Schema.Literal<"text">;
2201
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
2202
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2203
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2204
+ readonly value: Schema.NonEmptyString;
2205
+ readonly label: Schema.optionalKey<Schema.String>;
2206
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
2207
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
2208
+ }>>>;
2209
+ }>>;
2078
2210
  }>, Schema.Struct<{
2079
2211
  readonly id: Schema.NonEmptyString;
2080
2212
  readonly headerName: Schema.String;
@@ -2216,7 +2348,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2216
2348
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
2217
2349
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
2218
2350
  }>>>;
2219
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
2351
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
2220
2352
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
2221
2353
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
2222
2354
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -2261,6 +2393,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2261
2393
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2262
2394
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2263
2395
  readonly type: Schema.Literal<"text">;
2396
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
2397
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2398
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2399
+ readonly value: Schema.NonEmptyString;
2400
+ readonly label: Schema.optionalKey<Schema.String>;
2401
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
2402
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
2403
+ }>>>;
2404
+ }>>;
2264
2405
  }>, Schema.Struct<{
2265
2406
  readonly id: Schema.NonEmptyString;
2266
2407
  readonly headerName: Schema.String;
@@ -2402,7 +2543,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2402
2543
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
2403
2544
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
2404
2545
  }>>>;
2405
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
2546
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
2406
2547
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
2407
2548
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
2408
2549
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -2445,6 +2586,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2445
2586
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2446
2587
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2447
2588
  readonly type: Schema.Literal<"text">;
2589
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
2590
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2591
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2592
+ readonly value: Schema.NonEmptyString;
2593
+ readonly label: Schema.optionalKey<Schema.String>;
2594
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
2595
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
2596
+ }>>>;
2597
+ }>>;
2448
2598
  }>, Schema.Struct<{
2449
2599
  readonly id: Schema.NonEmptyString;
2450
2600
  readonly headerName: Schema.String;
@@ -2586,7 +2736,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2586
2736
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
2587
2737
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
2588
2738
  }>>>;
2589
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
2739
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
2590
2740
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
2591
2741
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
2592
2742
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -2622,7 +2772,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2622
2772
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
2623
2773
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
2624
2774
  }>>>;
2625
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
2775
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
2626
2776
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
2627
2777
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
2628
2778
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -2642,6 +2792,15 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2642
2792
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2643
2793
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2644
2794
  readonly type: Schema.Literal<"text">;
2795
+ readonly display: Schema.optionalKey<Schema.Literal<"badge">>;
2796
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2797
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2798
+ readonly value: Schema.NonEmptyString;
2799
+ readonly label: Schema.optionalKey<Schema.String>;
2800
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "secondary", "outline", "destructive", "success", "info", "muted"]>>;
2801
+ readonly icon: Schema.optionalKey<Schema.declare<<Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">, <Msg>(h: import("effect/ui/html/Html").H<Msg>, { size, color, strokeWidth, className, }?: import("../../lib/lucide-effect.js").LucideIconProps) => import("effect/ui/html/Html").SvgElement<Msg, never, SVGSVGElement, "svg">>>;
2802
+ }>>>;
2803
+ }>>;
2645
2804
  }>, Schema.Struct<{
2646
2805
  readonly id: Schema.NonEmptyString;
2647
2806
  readonly headerName: Schema.String;
@@ -2783,7 +2942,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2783
2942
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
2784
2943
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
2785
2944
  }>>>;
2786
- readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon"]>>;
2945
+ readonly display: Schema.optionalKey<Schema.Literals<readonly ["list", "icon", "badge"]>>;
2787
2946
  readonly visibleCount: Schema.optionalKey<Schema.Int>;
2788
2947
  readonly actionsLabel: Schema.optionalKey<Schema.String>;
2789
2948
  readonly manageLabel: Schema.optionalKey<Schema.String>;
@@ -42,9 +42,9 @@ export declare const DateInput: Component.Component<"DateInput", {
42
42
  readonly open: boolean;
43
43
  readonly month: DateTime.Utc | null;
44
44
  }, {
45
- readonly _tag: "Closed";
46
- } | {
47
45
  readonly _tag: "Opened";
46
+ } | {
47
+ readonly _tag: "Closed";
48
48
  } | {
49
49
  readonly _tag: "Edited";
50
50
  readonly value: string;
@@ -566,7 +566,7 @@ var SidebarLayout = Html3.component({
566
566
  const mobile = model.mobile && !fixed;
567
567
  const compact = !model.open && sidebarCollapsible === "icon";
568
568
  const offcanvasClosed = !model.open && sidebarCollapsible === "offcanvas";
569
- const rail = (narrow, mobile) => h.nav.attr("aria-label", toggleLabel).attr("inert", !mobile && offcanvasClosed ? "" : undefined).class("flex min-h-0 min-w-0 flex-1 flex-col").children(h.div.class("shrink-0 overflow-x-clip").children(h.div.class(cn("flex flex-col gap-2 p-2 empty:hidden", !mobile && "[&_[data-slot=app-brand]]:transition-[padding] [&_[data-slot=app-brand]]:duration-200 [&_[data-slot=app-brand]]:ease-in-out motion-reduce:[&_[data-slot=app-brand]]:transition-none", narrow && "[&_[data-slot=app-brand]]:px-0", !mobile && "w-64")).children(h.slots.sidebarHeader)), h.div.attr("data-collapsible", narrow ? "icon" : undefined).class("group no-scrollbar flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto overflow-x-hidden").children(groups.map((group) => h.section.key(group.label).class("flex min-w-0 flex-col p-2").children(h.h2.class(cn("text-sidebar-foreground/70 flex h-8 shrink-0 items-center px-2 text-xs font-medium", narrow && "sr-only")).children(group.label), h.ul.class("grid gap-1").children(...group.items.map((item) => {
569
+ const rail = (narrow, mobile) => h.nav.attr("aria-label", toggleLabel).attr("inert", !mobile && offcanvasClosed ? "" : undefined).class("flex min-h-0 min-w-0 flex-1 flex-col").children(h.div.attr("data-collapsible", narrow ? "icon" : undefined).class("group shrink-0 overflow-x-clip").children(h.div.class(cn("flex flex-col gap-2 p-2 empty:hidden", !mobile && "[&_[data-slot=app-brand]]:transition-[padding] [&_[data-slot=app-brand]]:duration-200 [&_[data-slot=app-brand]]:ease-in-out motion-reduce:[&_[data-slot=app-brand]]:transition-none", narrow && "[&_[data-slot=app-brand]]:px-0", !mobile && "w-64")).children(h.slots.sidebarHeader)), h.div.attr("data-collapsible", narrow ? "icon" : undefined).class("group no-scrollbar flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto overflow-x-hidden").children(groups.map((group) => h.section.key(group.label).class("flex min-w-0 flex-col p-2").children(h.h2.class(cn("text-sidebar-foreground/70 flex h-8 shrink-0 items-center px-2 text-xs font-medium", narrow && "sr-only")).children(group.label), h.ul.class("grid gap-1").children(...group.items.map((item) => {
570
570
  const active = isNavItemActive(currentPath, item);
571
571
  const icon = Predicate.isFunction(item.icon) ? item.icon : item.icon && createLucideIcon2(item.icon);
572
572
  const link = h.a.attrs({
@@ -32,6 +32,8 @@ export declare const EditableText: import("effect/ui/Component").Component<"Edit
32
32
  readonly draft: Redacted.Redacted<string>;
33
33
  }, {
34
34
  readonly _tag: "Opened";
35
+ } | {
36
+ readonly _tag: "Focused";
35
37
  } | {
36
38
  readonly _tag: "Cancelled";
37
39
  } | {
@@ -41,8 +43,6 @@ export declare const EditableText: import("effect/ui/Component").Component<"Edit
41
43
  readonly _tag: "Finished";
42
44
  readonly value: Redacted.Redacted<string>;
43
45
  readonly success: boolean;
44
- } | {
45
- readonly _tag: "Focused";
46
46
  } | {
47
47
  readonly _tag: "Saved";
48
48
  }, {
@@ -106,9 +106,9 @@ declare const init: () => Model;
106
106
  export declare const canSaveEditableText: (model: Model, props: EditableTextSharedProps) => boolean;
107
107
  export declare const editableTextTransition: (model: Model, props: EditableTextSharedProps, message: typeof EditableTextMessage.Type) => Model;
108
108
  export declare const saveEditableDraft: (model: Model) => Command.Issued<{
109
- readonly _tag: "Opened";
110
- } | {
111
109
  readonly _tag: "Focused";
110
+ } | {
111
+ readonly _tag: "Opened";
112
112
  } | {
113
113
  readonly _tag: "Cancelled";
114
114
  } | {
@@ -121,9 +121,9 @@ export declare const saveEditableDraft: (model: Model) => Command.Issued<{
121
121
  } | {
122
122
  readonly _tag: "Saved";
123
123
  }, SaveEditableText, {
124
- readonly _tag: "Opened";
125
- } | {
126
124
  readonly _tag: "Focused";
125
+ } | {
126
+ readonly _tag: "Opened";
127
127
  } | {
128
128
  readonly _tag: "Cancelled";
129
129
  } | {
@@ -15,9 +15,9 @@ export declare const EditingLocaleSwitcher: import("effect/ui/Component").Compon
15
15
  } | undefined;
16
16
  readonly value: string;
17
17
  }, boolean, {
18
- readonly _tag: "Opened";
19
- } | {
20
18
  readonly _tag: "Closed";
19
+ } | {
20
+ readonly _tag: "Opened";
21
21
  } | {
22
22
  readonly _tag: "Picked";
23
23
  readonly value: string;
@@ -66,6 +66,12 @@ export declare const LegacyEditor: import("effect/ui/Component").Component<"Emai
66
66
  readonly link: string;
67
67
  readonly linkError: boolean;
68
68
  }, {
69
+ readonly _tag: "ApplyLink";
70
+ } | {
71
+ readonly _tag: "CloseLink";
72
+ } | {
73
+ readonly _tag: "ToggleLink";
74
+ } | {
69
75
  readonly _tag: "Action";
70
76
  readonly action: {
71
77
  readonly _tag: "Block";
@@ -80,8 +86,6 @@ export declare const LegacyEditor: import("effect/ui/Component").Component<"Emai
80
86
  readonly _tag: "Link";
81
87
  readonly href: string;
82
88
  };
83
- } | {
84
- readonly _tag: "ApplyLink";
85
89
  } | {
86
90
  readonly _tag: "Changed";
87
91
  readonly value: {
@@ -109,8 +113,6 @@ export declare const LegacyEditor: import("effect/ui/Component").Component<"Emai
109
113
  })[];
110
114
  }[];
111
115
  };
112
- } | {
113
- readonly _tag: "CloseLink";
114
116
  } | {
115
117
  readonly _tag: "EditLink";
116
118
  readonly value: string;
@@ -128,8 +130,6 @@ export declare const LegacyEditor: import("effect/ui/Component").Component<"Emai
128
130
  readonly link: string;
129
131
  readonly block: "bullet" | "heading" | "numbered" | "paragraph";
130
132
  };
131
- } | {
132
- readonly _tag: "ToggleLink";
133
133
  }, {
134
134
  readonly _tag: "Changed";
135
135
  readonly value: {