@krak-stack/registry 0.11.6 → 0.11.9

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 (123) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +39 -0
  3. package/dist/components/app-switcher/html.d.ts +2 -2
  4. package/dist/components/asset-input/html.d.ts +70 -0
  5. package/dist/components/asset-input/html.js +1549 -0
  6. package/dist/components/asset-input/index.d.ts +280 -0
  7. package/dist/components/asset-input/react.d.ts +32 -0
  8. package/dist/components/asset-input/react.js +2269 -0
  9. package/dist/components/asset-input/schema.d.ts +93 -0
  10. package/dist/components/asset-input/upload.d.ts +15 -0
  11. package/dist/components/asset-table/html.d.ts +110 -0
  12. package/dist/components/asset-table/html.js +4934 -0
  13. package/dist/components/asset-table/index.d.ts +225 -0
  14. package/dist/components/asset-table/react.d.ts +21 -0
  15. package/dist/components/asset-table/react.js +8241 -0
  16. package/dist/components/asset-table/schema.d.ts +73 -0
  17. package/dist/components/audit-log-table/classes.d.ts +1 -0
  18. package/dist/components/audit-log-table/html.d.ts +158 -0
  19. package/dist/components/audit-log-table/html.js +3294 -0
  20. package/dist/components/audit-log-table/index.d.ts +37 -0
  21. package/dist/components/audit-log-table/react.d.ts +3 -51
  22. package/dist/components/audit-log-table/react.js +130 -89
  23. package/dist/components/audit-log-table/schema.d.ts +122 -0
  24. package/dist/components/danger-confirmation/html.d.ts +2 -2
  25. package/dist/components/danger-confirmation/index.d.ts +2 -2
  26. package/dist/components/data-table/classes.d.ts +3 -0
  27. package/dist/components/data-table/html.d.ts +70 -12
  28. package/dist/components/data-table/html.js +56 -19
  29. package/dist/components/data-table/index.d.ts +51 -1
  30. package/dist/components/data-table/react.d.ts +1 -0
  31. package/dist/components/data-table/react.js +46 -16
  32. package/dist/components/data-table/schema.d.ts +93 -3
  33. package/dist/components/docs/html.js +22 -4
  34. package/dist/components/docs/react.js +33 -2
  35. package/dist/components/editable-text/html.d.ts +2 -2
  36. package/dist/components/editable-text/index.d.ts +4 -4
  37. package/dist/components/effect-form/react.js +343 -138
  38. package/dist/components/email-editor/legacy-editor.html.d.ts +6 -6
  39. package/dist/components/file-input/classes.d.ts +1 -1
  40. package/dist/components/file-input/file-type.d.ts +1 -0
  41. package/dist/components/file-input/html.d.ts +8 -1
  42. package/dist/components/file-input/html.js +170 -12
  43. package/dist/components/file-input/index.d.ts +1 -0
  44. package/dist/components/file-input/react.d.ts +9 -1
  45. package/dist/components/file-input/react.js +277 -127
  46. package/dist/components/file-input/schema.d.ts +1 -0
  47. package/dist/components/form/react.js +343 -138
  48. package/dist/components/icon-input/html.js +19 -5
  49. package/dist/components/icon-input/react.js +70 -13
  50. package/dist/components/map-menu/html.d.ts +6 -0
  51. package/dist/components/map-menu/html.js +13 -8
  52. package/dist/components/map-menu/index.d.ts +5 -4
  53. package/dist/components/map-menu/react.d.ts +28 -17
  54. package/dist/components/map-menu/react.js +84 -178
  55. package/dist/components/map-menu/schema.d.ts +6 -0
  56. package/dist/components/map-menu/shared.d.ts +4 -0
  57. package/dist/components/permissions-input/classes.d.ts +8 -0
  58. package/dist/components/permissions-input/html.d.ts +41 -0
  59. package/dist/components/permissions-input/html.js +130 -0
  60. package/dist/components/permissions-input/index.d.ts +80 -0
  61. package/dist/components/permissions-input/react.d.ts +7 -0
  62. package/dist/components/permissions-input/react.js +201 -0
  63. package/dist/components/permissions-input/schema.d.ts +33 -0
  64. package/dist/components/phone-number-input/html.js +48 -14
  65. package/dist/components/phone-number-input/react.js +67 -10
  66. package/dist/components/search-menu/html.d.ts +2 -2
  67. package/dist/components/select-with-custom-input/html.d.ts +2 -2
  68. package/dist/components/sidebar-layout/html.d.ts +3 -2
  69. package/dist/components/sidebar-layout/html.js +20 -2
  70. package/dist/components/sidebar-layout/index.d.ts +1 -0
  71. package/dist/components/sidebar-layout/react.js +33 -2
  72. package/dist/components/switch/react.d.ts +14 -0
  73. package/dist/components/switch/react.js +55 -0
  74. package/dist/components/theme-switcher/html.d.ts +2 -2
  75. package/dist/components/time-input/html.d.ts +2 -2
  76. package/dist/components/timezone-input/html.js +48 -14
  77. package/dist/components/timezone-input/react.js +67 -10
  78. package/dist/components/tracking-notice/classes.d.ts +6 -0
  79. package/dist/components/tracking-notice/html.d.ts +85 -0
  80. package/dist/components/tracking-notice/html.js +354 -0
  81. package/dist/components/tracking-notice/index.d.ts +95 -0
  82. package/dist/components/tracking-notice/react.d.ts +5 -27
  83. package/dist/components/tracking-notice/react.js +189 -59
  84. package/dist/components/tracking-notice/schema.d.ts +45 -0
  85. package/dist/components/upload-attachment/classes.d.ts +3 -2
  86. package/dist/components/upload-attachment/html.d.ts +5 -5
  87. package/dist/components/upload-attachment/html.js +7 -5
  88. package/dist/components/upload-attachment/react.d.ts +3 -1
  89. package/dist/components/upload-attachment/react.js +25 -17
  90. package/dist/components/virtualized-combobox/classes.d.ts +12 -0
  91. package/dist/components/virtualized-combobox/html.d.ts +42 -0
  92. package/dist/components/virtualized-combobox/html.js +48 -14
  93. package/dist/components/virtualized-combobox/index.d.ts +55 -4
  94. package/dist/components/virtualized-combobox/react.d.ts +6 -2
  95. package/dist/components/virtualized-combobox/react.js +67 -10
  96. package/dist/components/virtualized-combobox/schema.d.ts +60 -4
  97. package/dist/components/webhook-delivery-table/html.js +56 -19
  98. package/dist/components/webhook-delivery-table/react.js +46 -16
  99. package/dist/lib/access/index.d.ts +61 -0
  100. package/dist/lib/access/index.js +92 -0
  101. package/dist/lib/access/table/classes.d.ts +13 -0
  102. package/dist/lib/access/table/html.d.ts +39 -0
  103. package/dist/lib/access/table/html.js +157 -0
  104. package/dist/lib/access/table/index.d.ts +32 -0
  105. package/dist/lib/access/table/react.d.ts +3 -0
  106. package/dist/lib/access/table/react.js +195 -0
  107. package/dist/lib/access/table/schema.d.ts +43 -0
  108. package/dist/lib/docs.integrations.server.js +23 -1
  109. package/dist/lib/docs.js +33 -2
  110. package/dist/lib/docs.server.js +29 -2
  111. package/dist/lib/documentation-toolkit.js +23 -1
  112. package/dist/lib/effect-ui-adapter/use-model.d.ts +1 -1
  113. package/dist/lib/effect-ui-adapter/use-model.js +19 -11
  114. package/dist/lib/lucide-effect.d.ts +19 -19
  115. package/dist/lib/lucide-effect.js +38 -38
  116. package/dist/services/assets/library.d.ts +221 -0
  117. package/dist/services/assets/schema.d.ts +3 -0
  118. package/dist/services/assets/url.d.ts +12 -0
  119. package/dist/services/assets/use-library.d.ts +20 -0
  120. package/dist/services/events/browser.js +39 -26
  121. package/dist/services/events/index.js +23 -19
  122. package/dist/services/opentelemetry/web-vitals.js +27 -23
  123. package/package.json +21 -1
@@ -1,8 +1,8 @@
1
1
  import { Schema } from "effect";
2
- declare const TableClassesOverridesSchema: Schema.$Record<Schema.Literals<("actionTrigger" | "actionsAlign" | "actionsCell" | "cell" | "cellContent" | "count" | "group" | "groupContent" | "groupSticky" | "groupTrigger" | "header" | "headerTrigger" | "menubar" | "reference" | "referenceAvatar" | "referenceDescription" | "referenceName" | "referenceText" | "relationshipCell" | "relationshipTrigger" | "resizeHandle" | "selectedTrigger" | "selectionCell" | "selectionCenter" | "stickyHeader" | "stickyHeaderRule" | "toolbar" | "toolbarMenus" | "toolbarSearch")[]>, Schema.optionalKey<Schema.String>>;
2
+ declare const TableClassesOverridesSchema: Schema.$Record<Schema.Literals<("actionTrigger" | "actionsAlign" | "actionsCell" | "cell" | "cellContent" | "count" | "group" | "groupContent" | "groupSticky" | "groupTrigger" | "header" | "headerTrigger" | "menubar" | "reference" | "referenceAvatar" | "referenceDescription" | "referenceName" | "referenceText" | "relationshipCell" | "relationshipTrigger" | "resizeHandle" | "row" | "selectedTrigger" | "selectionCell" | "selectionCenter" | "stickyHeader" | "stickyHeaderRule" | "toolbar" | "toolbarMenus" | "toolbarSearch")[]>, Schema.optionalKey<Schema.String>>;
3
3
  export type TableClassesOverrides = typeof TableClassesOverridesSchema.Type;
4
4
  export declare const DataTableCommonPropsSchema: Schema.Struct<{
5
- readonly classes: Schema.optional<Schema.$Record<Schema.Literals<("actionTrigger" | "actionsAlign" | "actionsCell" | "cell" | "cellContent" | "count" | "group" | "groupContent" | "groupSticky" | "groupTrigger" | "header" | "headerTrigger" | "menubar" | "reference" | "referenceAvatar" | "referenceDescription" | "referenceName" | "referenceText" | "relationshipCell" | "relationshipTrigger" | "resizeHandle" | "selectedTrigger" | "selectionCell" | "selectionCenter" | "stickyHeader" | "stickyHeaderRule" | "toolbar" | "toolbarMenus" | "toolbarSearch")[]>, Schema.optionalKey<Schema.String>>>;
5
+ readonly classes: Schema.optional<Schema.$Record<Schema.Literals<("actionTrigger" | "actionsAlign" | "actionsCell" | "cell" | "cellContent" | "count" | "group" | "groupContent" | "groupSticky" | "groupTrigger" | "header" | "headerTrigger" | "menubar" | "reference" | "referenceAvatar" | "referenceDescription" | "referenceName" | "referenceText" | "relationshipCell" | "relationshipTrigger" | "resizeHandle" | "row" | "selectedTrigger" | "selectionCell" | "selectionCenter" | "stickyHeader" | "stickyHeaderRule" | "toolbar" | "toolbarMenus" | "toolbarSearch")[]>, Schema.optionalKey<Schema.String>>>;
6
6
  readonly className: Schema.optionalKey<Schema.String>;
7
7
  readonly locale: Schema.optionalKey<Schema.String>;
8
8
  }>;
@@ -93,6 +93,14 @@ export declare const DataTableActionSchema: Schema.Struct<{
93
93
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
94
94
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
95
95
  }>;
96
+ declare const DataTableRowActionSchema: Schema.Struct<{
97
+ readonly id: Schema.NonEmptyString;
98
+ readonly name: Schema.String;
99
+ readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
100
+ readonly disabled: Schema.optionalKey<Schema.Boolean>;
101
+ 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">>>;
102
+ }>;
103
+ export type DataTableRowAction = typeof DataTableRowActionSchema.Type;
96
104
  export declare const DataTableRowSchema: Schema.Struct<{
97
105
  readonly id: Schema.NonEmptyString;
98
106
  readonly label: Schema.String;
@@ -109,6 +117,7 @@ export declare const DataTableRowSchema: Schema.Struct<{
109
117
  readonly name: Schema.String;
110
118
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
111
119
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
120
+ 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">>>;
112
121
  }>>>;
113
122
  readonly primaryActionId: Schema.optionalKey<Schema.String>;
114
123
  readonly groups: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
@@ -198,6 +207,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
198
207
  readonly type: Schema.Literal<"number">;
199
208
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
200
209
  readonly locale: Schema.optionalKey<Schema.String>;
210
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
201
211
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
202
212
  readonly currency: Schema.optionalKey<Schema.String>;
203
213
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -222,6 +232,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
222
232
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
223
233
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
224
234
  readonly type: Schema.Literal<"reference">;
235
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
236
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
237
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
238
+ }>>;
225
239
  }>, Schema.Struct<{
226
240
  readonly id: Schema.NonEmptyString;
227
241
  readonly headerName: Schema.String;
@@ -344,6 +358,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
344
358
  readonly type: Schema.Literal<"number">;
345
359
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
346
360
  readonly locale: Schema.optionalKey<Schema.String>;
361
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
347
362
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
348
363
  readonly currency: Schema.optionalKey<Schema.String>;
349
364
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -395,6 +410,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
395
410
  readonly type: Schema.Literal<"number">;
396
411
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
397
412
  readonly locale: Schema.optionalKey<Schema.String>;
413
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
398
414
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
399
415
  readonly currency: Schema.optionalKey<Schema.String>;
400
416
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -419,6 +435,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
419
435
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
420
436
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
421
437
  readonly type: Schema.Literal<"reference">;
438
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
439
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
440
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
441
+ }>>;
422
442
  }>, Schema.Struct<{
423
443
  readonly id: Schema.NonEmptyString;
424
444
  readonly headerName: Schema.String;
@@ -539,6 +559,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
539
559
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
540
560
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
541
561
  readonly type: Schema.Literal<"reference">;
562
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
563
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
564
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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
+ }>>;
542
566
  readonly fields: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
543
567
  readonly id: Schema.NonEmptyString;
544
568
  readonly headerName: Schema.String;
@@ -582,6 +606,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
582
606
  readonly type: Schema.Literal<"number">;
583
607
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
584
608
  readonly locale: Schema.optionalKey<Schema.String>;
609
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
585
610
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
586
611
  readonly currency: Schema.optionalKey<Schema.String>;
587
612
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -606,6 +631,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
606
631
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
607
632
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
608
633
  readonly type: Schema.Literal<"reference">;
634
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
635
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
636
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
637
+ }>>;
609
638
  }>, Schema.Struct<{
610
639
  readonly id: Schema.NonEmptyString;
611
640
  readonly headerName: Schema.String;
@@ -775,6 +804,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
775
804
  readonly type: Schema.Literal<"number">;
776
805
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
777
806
  readonly locale: Schema.optionalKey<Schema.String>;
807
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
778
808
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
779
809
  readonly currency: Schema.optionalKey<Schema.String>;
780
810
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -799,6 +829,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
799
829
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
800
830
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
801
831
  readonly type: Schema.Literal<"reference">;
832
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
833
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
834
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
835
+ }>>;
802
836
  }>, Schema.Struct<{
803
837
  readonly id: Schema.NonEmptyString;
804
838
  readonly headerName: Schema.String;
@@ -970,6 +1004,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
970
1004
  readonly type: Schema.Literal<"number">;
971
1005
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
972
1006
  readonly locale: Schema.optionalKey<Schema.String>;
1007
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
973
1008
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
974
1009
  readonly currency: Schema.optionalKey<Schema.String>;
975
1010
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -994,6 +1029,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
994
1029
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
995
1030
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
996
1031
  readonly type: Schema.Literal<"reference">;
1032
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1033
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
1034
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
1035
+ }>>;
997
1036
  }>, Schema.Struct<{
998
1037
  readonly id: Schema.NonEmptyString;
999
1038
  readonly headerName: Schema.String;
@@ -1163,6 +1202,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1163
1202
  readonly type: Schema.Literal<"number">;
1164
1203
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1165
1204
  readonly locale: Schema.optionalKey<Schema.String>;
1205
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
1166
1206
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
1167
1207
  readonly currency: Schema.optionalKey<Schema.String>;
1168
1208
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -1187,6 +1227,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1187
1227
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1188
1228
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1189
1229
  readonly type: Schema.Literal<"reference">;
1230
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1231
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
1232
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
1233
+ }>>;
1190
1234
  }>, Schema.Struct<{
1191
1235
  readonly id: Schema.NonEmptyString;
1192
1236
  readonly headerName: Schema.String;
@@ -1369,6 +1413,7 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1369
1413
  readonly type: Schema.Literal<"number">;
1370
1414
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1371
1415
  readonly locale: Schema.optionalKey<Schema.String>;
1416
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
1372
1417
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
1373
1418
  readonly currency: Schema.optionalKey<Schema.String>;
1374
1419
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -1393,6 +1438,10 @@ export declare const DataTableColumnSchema: Schema.Union<readonly [Schema.Struct
1393
1438
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1394
1439
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1395
1440
  readonly type: Schema.Literal<"reference">;
1441
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1442
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
1443
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
1444
+ }>>;
1396
1445
  }>, Schema.Struct<{
1397
1446
  readonly id: Schema.NonEmptyString;
1398
1447
  readonly headerName: Schema.String;
@@ -1553,7 +1602,7 @@ export declare const DataTablePreferencesSchema: Schema.Struct<{
1553
1602
  readonly view: Schema.Literals<readonly ["table", "gallery"]>;
1554
1603
  }>;
1555
1604
  export declare const DataTablePropsSchema: Schema.Struct<{
1556
- readonly classes: Schema.optional<Schema.$Record<Schema.Literals<("actionTrigger" | "actionsAlign" | "actionsCell" | "cell" | "cellContent" | "count" | "group" | "groupContent" | "groupSticky" | "groupTrigger" | "header" | "headerTrigger" | "menubar" | "reference" | "referenceAvatar" | "referenceDescription" | "referenceName" | "referenceText" | "relationshipCell" | "relationshipTrigger" | "resizeHandle" | "selectedTrigger" | "selectionCell" | "selectionCenter" | "stickyHeader" | "stickyHeaderRule" | "toolbar" | "toolbarMenus" | "toolbarSearch")[]>, Schema.optionalKey<Schema.String>>>;
1605
+ readonly classes: Schema.optional<Schema.$Record<Schema.Literals<("actionTrigger" | "actionsAlign" | "actionsCell" | "cell" | "cellContent" | "count" | "group" | "groupContent" | "groupSticky" | "groupTrigger" | "header" | "headerTrigger" | "menubar" | "reference" | "referenceAvatar" | "referenceDescription" | "referenceName" | "referenceText" | "relationshipCell" | "relationshipTrigger" | "resizeHandle" | "row" | "selectedTrigger" | "selectionCell" | "selectionCenter" | "stickyHeader" | "stickyHeaderRule" | "toolbar" | "toolbarMenus" | "toolbarSearch")[]>, Schema.optionalKey<Schema.String>>>;
1557
1606
  readonly className: Schema.optionalKey<Schema.String>;
1558
1607
  readonly locale: Schema.optionalKey<Schema.String>;
1559
1608
  readonly label: Schema.String;
@@ -1573,6 +1622,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1573
1622
  readonly name: Schema.String;
1574
1623
  readonly variant: Schema.optionalKey<Schema.Literals<readonly ["default", "destructive"]>>;
1575
1624
  readonly disabled: Schema.optionalKey<Schema.Boolean>;
1625
+ 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">>>;
1576
1626
  }>>>;
1577
1627
  readonly primaryActionId: Schema.optionalKey<Schema.String>;
1578
1628
  readonly groups: Schema.optionalKey<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
@@ -1648,6 +1698,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1648
1698
  readonly type: Schema.Literal<"number">;
1649
1699
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1650
1700
  readonly locale: Schema.optionalKey<Schema.String>;
1701
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
1651
1702
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
1652
1703
  readonly currency: Schema.optionalKey<Schema.String>;
1653
1704
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -1672,6 +1723,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1672
1723
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1673
1724
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1674
1725
  readonly type: Schema.Literal<"reference">;
1726
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1727
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
1728
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
1729
+ }>>;
1675
1730
  }>, Schema.Struct<{
1676
1731
  readonly id: Schema.NonEmptyString;
1677
1732
  readonly headerName: Schema.String;
@@ -1794,6 +1849,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1794
1849
  readonly type: Schema.Literal<"number">;
1795
1850
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1796
1851
  readonly locale: Schema.optionalKey<Schema.String>;
1852
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
1797
1853
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
1798
1854
  readonly currency: Schema.optionalKey<Schema.String>;
1799
1855
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -1845,6 +1901,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1845
1901
  readonly type: Schema.Literal<"number">;
1846
1902
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1847
1903
  readonly locale: Schema.optionalKey<Schema.String>;
1904
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
1848
1905
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
1849
1906
  readonly currency: Schema.optionalKey<Schema.String>;
1850
1907
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -1869,6 +1926,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1869
1926
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1870
1927
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1871
1928
  readonly type: Schema.Literal<"reference">;
1929
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
1930
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
1931
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
1932
+ }>>;
1872
1933
  }>, Schema.Struct<{
1873
1934
  readonly id: Schema.NonEmptyString;
1874
1935
  readonly headerName: Schema.String;
@@ -1989,6 +2050,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
1989
2050
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
1990
2051
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
1991
2052
  readonly type: Schema.Literal<"reference">;
2053
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2054
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
2055
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
2056
+ }>>;
1992
2057
  readonly fields: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1993
2058
  readonly id: Schema.NonEmptyString;
1994
2059
  readonly headerName: Schema.String;
@@ -2032,6 +2097,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2032
2097
  readonly type: Schema.Literal<"number">;
2033
2098
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2034
2099
  readonly locale: Schema.optionalKey<Schema.String>;
2100
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
2035
2101
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
2036
2102
  readonly currency: Schema.optionalKey<Schema.String>;
2037
2103
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -2056,6 +2122,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2056
2122
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2057
2123
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2058
2124
  readonly type: Schema.Literal<"reference">;
2125
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2126
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
2127
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
2128
+ }>>;
2059
2129
  }>, Schema.Struct<{
2060
2130
  readonly id: Schema.NonEmptyString;
2061
2131
  readonly headerName: Schema.String;
@@ -2225,6 +2295,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2225
2295
  readonly type: Schema.Literal<"number">;
2226
2296
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2227
2297
  readonly locale: Schema.optionalKey<Schema.String>;
2298
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
2228
2299
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
2229
2300
  readonly currency: Schema.optionalKey<Schema.String>;
2230
2301
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -2249,6 +2320,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2249
2320
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2250
2321
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2251
2322
  readonly type: Schema.Literal<"reference">;
2323
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2324
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
2325
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
2326
+ }>>;
2252
2327
  }>, Schema.Struct<{
2253
2328
  readonly id: Schema.NonEmptyString;
2254
2329
  readonly headerName: Schema.String;
@@ -2420,6 +2495,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2420
2495
  readonly type: Schema.Literal<"number">;
2421
2496
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2422
2497
  readonly locale: Schema.optionalKey<Schema.String>;
2498
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
2423
2499
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
2424
2500
  readonly currency: Schema.optionalKey<Schema.String>;
2425
2501
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -2444,6 +2520,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2444
2520
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2445
2521
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2446
2522
  readonly type: Schema.Literal<"reference">;
2523
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2524
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
2525
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
2526
+ }>>;
2447
2527
  }>, Schema.Struct<{
2448
2528
  readonly id: Schema.NonEmptyString;
2449
2529
  readonly headerName: Schema.String;
@@ -2613,6 +2693,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2613
2693
  readonly type: Schema.Literal<"number">;
2614
2694
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2615
2695
  readonly locale: Schema.optionalKey<Schema.String>;
2696
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
2616
2697
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
2617
2698
  readonly currency: Schema.optionalKey<Schema.String>;
2618
2699
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -2637,6 +2718,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2637
2718
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2638
2719
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2639
2720
  readonly type: Schema.Literal<"reference">;
2721
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2722
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
2723
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
2724
+ }>>;
2640
2725
  }>, Schema.Struct<{
2641
2726
  readonly id: Schema.NonEmptyString;
2642
2727
  readonly headerName: Schema.String;
@@ -2819,6 +2904,7 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2819
2904
  readonly type: Schema.Literal<"number">;
2820
2905
  readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2821
2906
  readonly locale: Schema.optionalKey<Schema.String>;
2907
+ readonly format: Schema.optionalKey<Schema.Literal<"bytes">>;
2822
2908
  readonly style: Schema.optionalKey<Schema.Literals<readonly ["decimal", "percent", "currency", "unit"]>>;
2823
2909
  readonly currency: Schema.optionalKey<Schema.String>;
2824
2910
  readonly unit: Schema.optionalKey<Schema.String>;
@@ -2843,6 +2929,10 @@ export declare const DataTablePropsSchema: Schema.Struct<{
2843
2929
  readonly emptyLabel: Schema.optionalKey<Schema.String>;
2844
2930
  readonly nulls: Schema.optionalKey<Schema.Literals<readonly ["first", "last"]>>;
2845
2931
  readonly type: Schema.Literal<"reference">;
2932
+ readonly typeOptions: Schema.optionalKey<Schema.Struct<{
2933
+ readonly imageVariant: Schema.optionalKey<Schema.Literals<readonly ["circle", "square"]>>;
2934
+ readonly fallbackIcons: Schema.optionalKey<Schema.$Record<Schema.String, 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">>>>;
2935
+ }>>;
2846
2936
  }>, Schema.Struct<{
2847
2937
  readonly id: Schema.NonEmptyString;
2848
2938
  readonly headerName: Schema.String;
@@ -375,7 +375,8 @@ var SearchMenu = Html2.component({
375
375
  });
376
376
 
377
377
  // ../../src/components/sidebar-layout/html.ts
378
- import { Predicate, Schema as Schema8 } from "effect";
378
+ import { Effect, Predicate, Schema as Schema8 } from "effect";
379
+ import { Component as Component3, Mount } from "effect/ui";
379
380
  import { Html as Html3, HtmlSubscription } from "effect/ui/html";
380
381
  import { Dialog as Dialog2, Tooltip } from "effect/ui/kit";
381
382
  import { buttonVariants as buttonVariants2 } from "@/components/effectcn/button";
@@ -465,6 +466,22 @@ var isNavItemActive = (path, item) => {
465
466
  const target = normalize(item.href);
466
467
  return current === target || !item.exact && target !== "/" && current.startsWith(`${target}/`);
467
468
  };
469
+ var centerActiveSidebarLink = (sidebar) => {
470
+ if (!sidebar?.clientHeight)
471
+ return;
472
+ let active;
473
+ for (const link of sidebar.querySelectorAll('a[aria-current="page"]')) {
474
+ if (!link.getClientRects().length)
475
+ continue;
476
+ if (!active || link.pathname.length > active.pathname.length)
477
+ active = link;
478
+ }
479
+ if (!active)
480
+ return;
481
+ const link = active.getBoundingClientRect();
482
+ const sidebarTop = sidebar.getBoundingClientRect().top;
483
+ sidebar.scrollTop += link.top + link.height / 2 - (sidebarTop + sidebar.clientHeight / 2);
484
+ };
468
485
  var SidebarLayoutMessage = UiSchema3.TaggedEnum({
469
486
  SetOpen: { open: Schema7.Boolean },
470
487
  SetMobileOpen: { open: Schema7.Boolean },
@@ -500,6 +517,7 @@ var sidebarLayoutBehaviours = {
500
517
  };
501
518
 
502
519
  // ../../src/components/sidebar-layout/html.ts
520
+ var CenterActiveLink = Mount.make("SidebarLayout/CenterActiveLink", { args: {} }, (sidebar) => Effect.sync(() => centerActiveSidebarLink(sidebar)).pipe(Effect.as(Component3.noop)));
503
521
  var badges = {
504
522
  default: "bg-primary text-primary-foreground",
505
523
  secondary: "bg-secondary text-secondary-foreground",
@@ -566,7 +584,7 @@ var SidebarLayout = Html3.component({
566
584
  const mobile = model.mobile && !fixed;
567
585
  const compact = !model.open && sidebarCollapsible === "icon";
568
586
  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.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) => {
587
+ 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").onMount(CenterActiveLink({})).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
588
  const active = isNavItemActive(currentPath, item);
571
589
  const icon = Predicate.isFunction(item.icon) ? item.icon : item.icon && createLucideIcon2(item.icon);
572
590
  const link = h.a.attrs({
@@ -660,7 +678,7 @@ var docsArticleClasses = {
660
678
 
661
679
  // ../../src/components/docs/index.ts
662
680
  import { Schema as Schema9 } from "effect";
663
- import { Component as Component3, UiSchema as UiSchema4, View } from "effect/ui";
681
+ import { Component as Component4, UiSchema as UiSchema4, View } from "effect/ui";
664
682
  var normalizeDocsSearch = (value) => value.normalize("NFKD").replace(/\p{Diacritic}/gu, "").toLowerCase();
665
683
  var matchesDocsSearch = (query) => {
666
684
  const terms = normalizeDocsSearch(query.trim().slice(0, 200)).split(/\s+/);
@@ -692,7 +710,7 @@ var docsBehaviours = {
692
710
  init: () => "",
693
711
  update: (_, message) => message._tag === "QueryChanged" ? message.query : ""
694
712
  };
695
- var DocsSearchModel = Component3.define(docsOptions).make({
713
+ var DocsSearchModel = Component4.define(docsOptions).make({
696
714
  ...docsBehaviours,
697
715
  view: () => View.text("")
698
716
  });
@@ -436,8 +436,9 @@ function SearchMenu({
436
436
  });
437
437
  }
438
438
  // ../../src/components/sidebar-layout/react.tsx
439
- import { Link, Outlet } from "@tanstack/react-router";
439
+ import { Link, Outlet, ScriptOnce } from "@tanstack/react-router";
440
440
  import { Component as Component4, View as View2 } from "effect/ui";
441
+ import { useLayoutEffect, useRef as useRef2 } from "react";
441
442
  import { useModel as useModel2 } from "@krak-stack/registry/effect-ui-adapter/react";
442
443
  import { Badge } from "@/components/ui/badge";
443
444
  import {
@@ -527,6 +528,22 @@ var SidebarOpenCookie = Schema4.Literals(["true", "false"]).annotate({
527
528
  identifier: "SidebarOpenCookie"
528
529
  });
529
530
  var getSidebarDefaultOpen = (defaultOpen) => Schema4.decodeUnknownOption(SidebarOpenCookie)(Cookies.parseHeader(globalThis.document?.cookie ?? "")[cookieName]).pipe(Option.map((value) => value === "true"), Option.getOrElse(() => defaultOpen));
531
+ var centerActiveSidebarLink = (sidebar) => {
532
+ if (!sidebar?.clientHeight)
533
+ return;
534
+ let active;
535
+ for (const link of sidebar.querySelectorAll('a[aria-current="page"]')) {
536
+ if (!link.getClientRects().length)
537
+ continue;
538
+ if (!active || link.pathname.length > active.pathname.length)
539
+ active = link;
540
+ }
541
+ if (!active)
542
+ return;
543
+ const link = active.getBoundingClientRect();
544
+ const sidebarTop = sidebar.getBoundingClientRect().top;
545
+ sidebar.scrollTop += link.top + link.height / 2 - (sidebarTop + sidebar.clientHeight / 2);
546
+ };
530
547
  var SidebarLayoutMessage = UiSchema2.TaggedEnum({
531
548
  SetOpen: { open: Schema4.Boolean },
532
549
  SetMobileOpen: { open: Schema4.Boolean },
@@ -567,8 +584,18 @@ var SidebarModel = Component4.define(sidebarLayoutOptions).make({
567
584
  ...sidebarLayoutBehaviours,
568
585
  view: () => View2.text("")
569
586
  });
587
+ var sidebarScrollScript = `requestAnimationFrame(
588
+ (${centerActiveSidebarLink.toString()}).bind(null,
589
+ document.currentScript.parentElement.querySelector(':scope > [data-slot="sidebar-content"]')
590
+ )
591
+ )`;
570
592
  function AppSidebar({ collapsible, footer, groups, header }) {
571
- const { isMobile, setOpenMobile } = useSidebar();
593
+ const { isMobile, openMobile, setOpenMobile } = useSidebar();
594
+ const contentRef = useRef2(null);
595
+ const drawerOpen = isMobile && collapsible !== "none" && openMobile;
596
+ useLayoutEffect(() => {
597
+ centerActiveSidebarLink(contentRef.current);
598
+ }, [isMobile, drawerOpen]);
572
599
  const closeMobileSidebar = () => {
573
600
  if (isMobile)
574
601
  setOpenMobile(false);
@@ -580,6 +607,7 @@ function AppSidebar({ collapsible, footer, groups, header }) {
580
607
  children: header
581
608
  }),
582
609
  /* @__PURE__ */ jsx3(SidebarContent, {
610
+ ref: contentRef,
583
611
  className: "group-data-[collapsible=icon]:overflow-x-hidden group-data-[collapsible=icon]:overflow-y-auto",
584
612
  children: groups.map((group) => /* @__PURE__ */ jsxs3(SidebarGroup, {
585
613
  children: [
@@ -651,6 +679,9 @@ function AppSidebar({ collapsible, footer, groups, header }) {
651
679
  footer ? /* @__PURE__ */ jsx3(SidebarFooter, {
652
680
  children: footer
653
681
  }) : null,
682
+ /* @__PURE__ */ jsx3(ScriptOnce, {
683
+ children: sidebarScrollScript
684
+ }),
654
685
  /* @__PURE__ */ jsx3(SidebarRail, {})
655
686
  ]
656
687
  });
@@ -31,6 +31,8 @@ export declare const EditableText: import("effect/ui/Component").Component<"Edit
31
31
  readonly status: "editing" | "error" | "idle" | "pending";
32
32
  readonly draft: Redacted.Redacted<string>;
33
33
  }, {
34
+ readonly _tag: "Focused";
35
+ } | {
34
36
  readonly _tag: "Opened";
35
37
  } | {
36
38
  readonly _tag: "Cancelled";
@@ -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
  } | {