@powerhousedao/design-system 6.2.3-dev.60 → 6.2.3-dev.62

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 (144) hide show
  1. package/dist/PinFilled-cSbUqZCA.js +41 -0
  2. package/dist/PinFilled-cSbUqZCA.js.map +1 -0
  3. package/dist/add-local-drive-form.impl-B5rVul7f.js +75 -0
  4. package/dist/add-local-drive-form.impl-B5rVul7f.js.map +1 -0
  5. package/dist/add-remote-drive-form.impl-D7zuqHJC.js +114 -0
  6. package/dist/add-remote-drive-form.impl-D7zuqHJC.js.map +1 -0
  7. package/dist/address-DsZy0bjk.js +92 -0
  8. package/dist/address-DsZy0bjk.js.map +1 -0
  9. package/dist/{checkbox-BmTXBcCE.d.ts → checkbox-DmRYkN10.d.ts} +2 -2
  10. package/dist/{checkbox-BmTXBcCE.d.ts.map → checkbox-DmRYkN10.d.ts.map} +1 -1
  11. package/dist/combobox.impl-C2oszOl2.js +144 -0
  12. package/dist/combobox.impl-C2oszOl2.js.map +1 -0
  13. package/dist/connect/components/toast/toast.js +2 -2
  14. package/dist/connect/index.d.ts +81 -33
  15. package/dist/connect/index.d.ts.map +1 -1
  16. package/dist/connect/index.js +184 -1608
  17. package/dist/connect/index.js.map +1 -1
  18. package/dist/{content-BMXLcwWY.d.ts → content-L3OINRSY.d.ts} +2 -2
  19. package/dist/{content-BMXLcwWY.d.ts.map → content-L3OINRSY.d.ts.map} +1 -1
  20. package/dist/default-editor.impl-a6EOuEme.js +30 -0
  21. package/dist/default-editor.impl-a6EOuEme.js.map +1 -0
  22. package/dist/document-timeline.impl-DRmIHFaI.js +254 -0
  23. package/dist/document-timeline.impl-DRmIHFaI.js.map +1 -0
  24. package/dist/drive-settings-form.impl-4yBGaTxe.js +171 -0
  25. package/dist/drive-settings-form.impl-4yBGaTxe.js.map +1 -0
  26. package/dist/{enum-field-qgV9wsyI.d.ts → enum-field-CSeQE4Ss.d.ts} +3 -3
  27. package/dist/{enum-field-qgV9wsyI.d.ts.map → enum-field-CSeQE4Ss.d.ts.map} +1 -1
  28. package/dist/formatted-json-viewer.impl-C198BZt5.js +58 -0
  29. package/dist/formatted-json-viewer.impl-C198BZt5.js.map +1 -0
  30. package/dist/icon-CR_tC1gc.js +358 -0
  31. package/dist/icon-CR_tC1gc.js.map +1 -0
  32. package/dist/{icon-01W_S_9A.js → icon-components-BZ_bQZmJ.js} +5 -479
  33. package/dist/icon-components-BZ_bQZmJ.js.map +1 -0
  34. package/dist/{id-autocomplete-CHvGhffo.d.ts → id-autocomplete-0bhU6VQG.d.ts} +2 -2
  35. package/dist/id-autocomplete-0bhU6VQG.d.ts.map +1 -0
  36. package/dist/{id-autocomplete-input-container-BqRQGpcs.d.ts → id-autocomplete-input-container-xg9lrpSK.d.ts} +2 -2
  37. package/dist/{id-autocomplete-input-container-BqRQGpcs.d.ts.map → id-autocomplete-input-container-xg9lrpSK.d.ts.map} +1 -1
  38. package/dist/{id-autocomplete-list-ChQsiJDg.d.ts → id-autocomplete-list-Da3FbpJ1.d.ts} +2 -2
  39. package/dist/{id-autocomplete-list-ChQsiJDg.d.ts.map → id-autocomplete-list-Da3FbpJ1.d.ts.map} +1 -1
  40. package/dist/{id-autocomplete-list-option-MsqKeLXD.d.ts → id-autocomplete-list-option-D7JgEK6E.d.ts} +3 -2
  41. package/dist/id-autocomplete-list-option-D7JgEK6E.d.ts.map +1 -0
  42. package/dist/index-C-Tup7Br.d.ts +4 -0
  43. package/dist/{index-C05uhexJ.d.ts → index-D99twPFI.d.ts} +6 -15
  44. package/dist/index-D99twPFI.d.ts.map +1 -0
  45. package/dist/index-D9nAoDks.d.ts +30 -0
  46. package/dist/index-FfMAMBu7.d.ts +3 -0
  47. package/dist/index-jfVVOU-H.d.ts +2 -0
  48. package/dist/index.d.ts +2 -1
  49. package/dist/index.js +2 -2
  50. package/dist/label-nH2HoKfI.js +15 -0
  51. package/dist/label-nH2HoKfI.js.map +1 -0
  52. package/dist/location-info-C3YbSsV0.js +47 -0
  53. package/dist/location-info-C3YbSsV0.js.map +1 -0
  54. package/dist/{radio-group-field-CjX_Zt0C.d.ts → radio-group-field-Bsf4waat.d.ts} +2 -2
  55. package/dist/{radio-group-field-CjX_Zt0C.d.ts.map → radio-group-field-Bsf4waat.d.ts.map} +1 -1
  56. package/dist/revision-history.impl-uogo6xDI.js +638 -0
  57. package/dist/revision-history.impl-uogo6xDI.js.map +1 -0
  58. package/dist/{select-field-BuXjM43L.d.ts → select-field-DbFd1YiC.d.ts} +2 -2
  59. package/dist/{select-field-BuXjM43L.d.ts.map → select-field-DbFd1YiC.d.ts.map} +1 -1
  60. package/dist/{selected-content-C49jmTLU.d.ts → selected-content-VMVPoru4.d.ts} +2 -2
  61. package/dist/{selected-content-C49jmTLU.d.ts.map → selected-content-VMVPoru4.d.ts.map} +1 -1
  62. package/dist/{sidebar-4juLhREX.d.ts → sidebar-DFqreKf1.d.ts} +2 -2
  63. package/dist/{sidebar-4juLhREX.d.ts.map → sidebar-DFqreKf1.d.ts.map} +1 -1
  64. package/dist/{sidebar-provider-CMG6WQWo.d.ts → sidebar-provider-CZHhqW5n.d.ts} +2 -2
  65. package/dist/{sidebar-provider-CMG6WQWo.d.ts.map → sidebar-provider-CZHhqW5n.d.ts.map} +1 -1
  66. package/dist/{splitted-input-diff-DBkgDh9Q.d.ts → splitted-input-diff-BKRMH7vI.d.ts} +2 -2
  67. package/dist/{splitted-input-diff-DBkgDh9Q.d.ts.map → splitted-input-diff-BKRMH7vI.d.ts.map} +1 -1
  68. package/dist/{src-CrUksCLW.js → src-B2s8MAp7.js} +148 -5
  69. package/dist/src-B2s8MAp7.js.map +1 -0
  70. package/dist/{text-field-3j4fLJ-7.d.ts → text-field-CtatgqNu.d.ts} +3 -3
  71. package/dist/{text-field-3j4fLJ-7.d.ts.map → text-field-CtatgqNu.d.ts.map} +1 -1
  72. package/dist/{text-input-tkqggbWx.d.ts → text-input-BSxhvnyx.d.ts} +2 -2
  73. package/dist/{text-input-tkqggbWx.d.ts.map → text-input-BSxhvnyx.d.ts.map} +1 -1
  74. package/dist/{text-input-diff-B7iFyzTK.d.ts → text-input-diff-CaZoFDjA.d.ts} +2 -2
  75. package/dist/{text-input-diff-B7iFyzTK.d.ts.map → text-input-diff-CaZoFDjA.d.ts.map} +1 -1
  76. package/dist/{types-DDSmPhHp.d.ts → types-FTqFl5du.d.ts} +2 -2
  77. package/dist/{types-DDSmPhHp.d.ts.map → types-FTqFl5du.d.ts.map} +1 -1
  78. package/dist/types-TZijOYrE.d.ts +17 -0
  79. package/dist/types-TZijOYrE.d.ts.map +1 -0
  80. package/dist/ui/components/checkbox/checkbox.d.ts +1 -1
  81. package/dist/ui/components/command/command.js +1 -1
  82. package/dist/ui/components/enum-field/enum-field.d.ts +1 -1
  83. package/dist/ui/components/enum-field/types.d.ts +1 -1
  84. package/dist/ui/components/form-label/form-label.js +1 -1
  85. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
  86. package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +1 -1
  87. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +1 -1
  88. package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js +1 -1
  89. package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +1 -1
  90. package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +1 -1
  91. package/dist/ui/components/id-autocomplete/types.d.ts +1 -1
  92. package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +1 -1
  93. package/dist/ui/components/index.d.ts +20 -20
  94. package/dist/ui/components/input/splitted-input-diff.d.ts +1 -1
  95. package/dist/ui/components/input/splitted-input-diff.js +1 -1
  96. package/dist/ui/components/input/subcomponent/text-diff.d.ts +1 -1
  97. package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
  98. package/dist/ui/components/select-field/content.d.ts +1 -1
  99. package/dist/ui/components/select-field/content.js +1 -1
  100. package/dist/ui/components/select-field/select-field.d.ts +1 -1
  101. package/dist/ui/components/select-field/selected-content.d.ts +1 -1
  102. package/dist/ui/components/select-field/selected-content.js +1 -1
  103. package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +1 -1
  104. package/dist/ui/components/select-field/subcomponents/CommandItemList.js +1 -1
  105. package/dist/ui/components/select-field/use-select-field.d.ts +1 -1
  106. package/dist/ui/components/sidebar/index.d.ts +4 -4
  107. package/dist/ui/components/sidebar/sidebar.d.ts +1 -1
  108. package/dist/ui/components/sidebar/sidebar.js +1 -1
  109. package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js +1 -1
  110. package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts +1 -1
  111. package/dist/ui/components/sidebar/subcomponents/sidebar-item.js +2 -1
  112. package/dist/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
  113. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +2 -2
  114. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +1 -1
  115. package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +1 -1
  116. package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +1 -1
  117. package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts +1 -1
  118. package/dist/ui/components/sidebar/subcomponents/status-icon.js +1 -1
  119. package/dist/ui/components/sidebar/types.d.ts +1 -1
  120. package/dist/ui/components/sidebar/utils.d.ts +1 -1
  121. package/dist/ui/components/text-field/text-field.d.ts +1 -1
  122. package/dist/ui/components/text-input/text-input-diff.d.ts +1 -1
  123. package/dist/ui/components/text-input/text-input.d.ts +1 -1
  124. package/dist/ui/components/types.d.ts +1 -1
  125. package/dist/ui/components/value-transformer/value-transformer.d.ts +1 -1
  126. package/dist/ui/components/with-field-validation/with-field-validation.d.ts +1 -1
  127. package/dist/ui/index.d.ts +21 -21
  128. package/dist/ui/types.d.ts +1 -1
  129. package/dist/{use-id-autocomplete-wdw3CfYc.d.ts → use-id-autocomplete-DSRXA4Wt.d.ts} +2 -2
  130. package/dist/{use-id-autocomplete-wdw3CfYc.d.ts.map → use-id-autocomplete-DSRXA4Wt.d.ts.map} +1 -1
  131. package/dist/{value-transformer-BAD6r8Ol.d.ts → value-transformer-Dv-10UyC.d.ts} +2 -2
  132. package/dist/{value-transformer-BAD6r8Ol.d.ts.map → value-transformer-Dv-10UyC.d.ts.map} +1 -1
  133. package/dist/{with-field-validation-Bt02MQn2.d.ts → with-field-validation-WiD_NFDk.d.ts} +2 -2
  134. package/dist/{with-field-validation-Bt02MQn2.d.ts.map → with-field-validation-WiD_NFDk.d.ts.map} +1 -1
  135. package/package.json +4 -4
  136. package/dist/icon-01W_S_9A.js.map +0 -1
  137. package/dist/id-autocomplete-CHvGhffo.d.ts.map +0 -1
  138. package/dist/id-autocomplete-list-option-MsqKeLXD.d.ts.map +0 -1
  139. package/dist/index-C05uhexJ.d.ts.map +0 -1
  140. package/dist/index-CpSqVZKp.d.ts +0 -2
  141. package/dist/index-DSknqh8u.d.ts +0 -30
  142. package/dist/index-DU-WgcAh.d.ts +0 -4
  143. package/dist/index-DaRBrjZI.d.ts +0 -3
  144. package/dist/src-CrUksCLW.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { y as IdAutocompleteProps } from "./index-C05uhexJ.js";
1
+ import { y as IdAutocompleteProps } from "./index-D99twPFI.js";
2
2
  import React from "react";
3
3
  //#region src/ui/components/id-autocomplete/id-autocomplete.d.ts
4
4
  declare const IdAutocomplete: React.ForwardRefExoticComponent<IdAutocompleteProps & React.RefAttributes<HTMLInputElement>>;
5
5
  //#endregion
6
6
  export { IdAutocomplete as t };
7
7
  export {};
8
- //# sourceMappingURL=id-autocomplete-CHvGhffo.d.ts.map
8
+ //# sourceMappingURL=id-autocomplete-0bhU6VQG.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-0bhU6VQG.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete.tsx"],"mappings":";;;cAkBM,gBAAc,MAAA,0BAAA,sBAAA,MAAA,cAAA"}
@@ -1,4 +1,4 @@
1
- import { p as InputBaseProps, v as IdAutocompleteOption } from "./index-C05uhexJ.js";
1
+ import { p as InputBaseProps, v as IdAutocompleteOption } from "./index-D99twPFI.js";
2
2
  import React from "react";
3
3
  //#region src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts
4
4
  interface IdAutocompleteInputContainerProps extends Omit<InputBaseProps<string>, "defaultValue" | "errors" | "warnings"> {
@@ -23,4 +23,4 @@ declare const IdAutocompleteInputContainer: React.ForwardRefExoticComponent<IdAu
23
23
  //#endregion
24
24
  export { IdAutocompleteInputContainerProps as n, IdAutocompleteInputContainer as t };
25
25
  export {};
26
- //# sourceMappingURL=id-autocomplete-input-container-BqRQGpcs.d.ts.map
26
+ //# sourceMappingURL=id-autocomplete-input-container-xg9lrpSK.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id-autocomplete-input-container-BqRQGpcs.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-input-container.tsx"],"mappings":";;;UAaU,0CAA0C,KAClD;EAGA;EACA;EACA,YAAY,GAAG,MAAM,YAAY;EACjC,UAAU,GAAG,MAAM,WAAW;EAC9B,WAAW,GAAG,MAAM,WAAW;EAC/B,iBAAiB;EACjB;EACA,oBAAoB;EACpB,aAAa,GAAG,MAAM,cAAc;EACpC,eAAe,GAAG,MAAM,WAAW;EACnC;EACA;EACA;EACA;EACA,eAAe,GAAG,MAAM,eAAe;EACvC,WAAW,GAAG,MAAM,eAAe;;cAG/B,8BAA4B,MAAA,0BAAA,oCAAA,MAAA,cAAA"}
1
+ {"version":3,"file":"id-autocomplete-input-container-xg9lrpSK.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-input-container.tsx"],"mappings":";;;UAaU,0CAA0C,KAClD;EAGA;EACA;EACA,YAAY,GAAG,MAAM,YAAY;EACjC,UAAU,GAAG,MAAM,WAAW;EAC9B,WAAW,GAAG,MAAM,WAAW;EAC/B,iBAAiB;EACjB;EACA,oBAAoB;EACpB,aAAa,GAAG,MAAM,cAAc;EACpC,eAAe,GAAG,MAAM,WAAW;EACnC;EACA;EACA;EACA;EACA,eAAe,GAAG,MAAM,eAAe;EACvC,WAAW,GAAG,MAAM,eAAe;;cAG/B,8BAA4B,MAAA,0BAAA,oCAAA,MAAA,cAAA"}
@@ -1,4 +1,4 @@
1
- import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-C05uhexJ.js";
1
+ import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-D99twPFI.js";
2
2
  import React from "react";
3
3
  //#region src/ui/components/id-autocomplete/id-autocomplete-list.d.ts
4
4
  interface IdAutocompleteListProps {
@@ -20,4 +20,4 @@ declare const IdAutocompleteList: React.FC<IdAutocompleteListProps>;
20
20
  //#endregion
21
21
  export { IdAutocompleteListProps as n, IdAutocompleteList as t };
22
22
  export {};
23
- //# sourceMappingURL=id-autocomplete-list-ChQsiJDg.d.ts.map
23
+ //# sourceMappingURL=id-autocomplete-list-Da3FbpJ1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"id-autocomplete-list-ChQsiJDg.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-list.tsx"],"mappings":";;;UAYU;EACR,SAAS;EACT,iBAAiB,MAAM,UAAU;EACjC;EACA,UAAU;EACV,gBAAgB;EAChB,gBACE,QAAQ,sBACR;IACE;IACA;IACA;IACA,6BAA6B;IAC7B;QAEC,MAAM;EACX,qBAAqB;;cAGjB,oBAAoB,MAAM,GAAG"}
1
+ {"version":3,"file":"id-autocomplete-list-Da3FbpJ1.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-list.tsx"],"mappings":";;;UAYU;EACR,SAAS;EACT,iBAAiB,MAAM,UAAU;EACjC;EACA,UAAU;EACV,gBAAgB;EAChB,gBACE,QAAQ,sBACR;IACE;IACA;IACA;IACA,6BAA6B;IAC7B;QAEC,MAAM;EACX,qBAAqB;;cAGjB,oBAAoB,MAAM,GAAG"}
@@ -1,4 +1,5 @@
1
- import { et as IconName, v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-C05uhexJ.js";
1
+ import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-D99twPFI.js";
2
+ import { o as IconName } from "./types-TZijOYrE.js";
2
3
  import React from "react";
3
4
  //#region src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts
4
5
  type IdAutocompleteListOptionProps = {
@@ -15,4 +16,4 @@ declare const IdAutocompleteListOption: React.FC<IdAutocompleteListOptionProps>;
15
16
  //#endregion
16
17
  export { IdAutocompleteListOptionProps as n, IdAutocompleteListOption as t };
17
18
  export {};
18
- //# sourceMappingURL=id-autocomplete-list-option-MsqKeLXD.d.ts.map
19
+ //# sourceMappingURL=id-autocomplete-list-option-D7JgEK6E.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-list-option-D7JgEK6E.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-list-option.tsx"],"mappings":";;;;KAyEK;EACH,SAAS;EACT;EACA;EACA;EACA,6BAA6B;EAC7B;EACA;EACA,kBAAkB,WAAW,MAAM;IACjC,qBAAqB;cAEnB,0BAA0B,MAAM,GAAG"}
@@ -0,0 +1,4 @@
1
+ import "./types-FTqFl5du.js";
2
+ import "./sidebar-DFqreKf1.js";
3
+ import "./index-jfVVOU-H.js";
4
+ export {};
@@ -1,4 +1,5 @@
1
- import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, RefObject } from "react";
1
+ import { a as IconComponentProps, i as Size, o as IconName, t as Color } from "./types-TZijOYrE.js";
2
+ import React$1, { ComponentPropsWithRef, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, RefObject } from "react";
2
3
  import { DropdownMenuContentProps, DropdownMenuProps } from "@radix-ui/react-dropdown-menu";
3
4
  import { Content as Content$1, Overlay } from "@radix-ui/react-dialog";
4
5
  import { SharingType } from "@powerhousedao/shared";
@@ -45,12 +46,8 @@ declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<Dro
45
46
  declare const DropdownMenuLabel: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
46
47
  declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
47
48
  //#endregion
48
- //#region src/powerhouse/components/icon-components/types.d.ts
49
- type IconName = (typeof iconNames)[number];
50
- type IconComponentProps = ComponentProps<"svg">;
51
- //#endregion
52
- //#region src/powerhouse/components/icon-components/index.d.ts
53
- declare const iconNames: readonly ["AnalyticsProcessorModule", "AppModule", "ArrowCouterclockwise", "ArrowFilledRight", "ArrowLeft", "ArrowUp", "BarChart", "BaseArrowLeft", "BaseArrowRight", "Braces", "Branch", "BrickGlobe", "Briefcase", "Calendar", "CalendarTime", "Caret", "CaretDown", "CaretLeft", "CaretRight", "CaretSort", "Check", "CheckCircle", "CheckCircleFill", "Checkmark", "ChevronDown", "Circle", "CircleInfo", "Clock", "ClockFill", "ClockHistory", "CloudSlash", "CodegenProcessorModule", "Collapse", "Compass", "Connect", "ConnectSmall", "Copy", "Created", "CrossCircle", "CurlyBrackets", "Danger", "DescendenceModified", "Disconnect", "Discord", "DocumentIcons", "DocumentModel", "DocumentModelModule", "DownloadFile", "Drive", "Duplicated", "Edit", "EditorModule", "Ellipsis", "Error", "Ethscan", "Exclamation", "ExportCsv", "ExportJson", "ExportPdf", "ExportUbl", "ExportZip", "File", "FilesEarmark", "FolderClose", "FolderOpen", "FolderPlus", "Forum", "Gear", "Github", "Globe", "GlobeWww", "Hdd", "History", "InfoSquare", "Link", "Linkedin", "Lock", "M", "Modified", "Moved", "Npm", "PackageManager", "PackageModule", "Pencil", "People", "PeopleFill", "Person", "Pin", "PinFilled", "Plus", "PlusCircle", "PlusSquare", "PowerhouseDocumentModule", "PowerhouseLogoSmall", "Project", "QuestionSquare", "RedoArrow", "RelationalProcessorModule", "Reload", "Removed", "Renown", "RenownHover", "RenownLight", "Ring", "Save", "Search", "Server", "Settings", "SubgraphModule", "Synced", "Syncing", "Tabler", "Timeline", "TimelineCaret", "Trash", "TrashFill", "TreeViewSlash", "TriangleDown", "Tube", "VariantArrowLeft", "VerticalDots", "WarningFill", "XTwitter", "Xmark", "XmarkLight", "Youtube"];
49
+ //#region src/powerhouse/components/icon/icon-components.d.ts
50
+ /** Every icon by name; non-critical ones load their chunk on first render. */
54
51
  declare const iconComponents: Record<IconName, (props: IconComponentProps) => React.JSX.Element>;
55
52
  //#endregion
56
53
  //#region src/powerhouse/components/icon/icon.d.ts
@@ -182,12 +179,6 @@ type Dimensions = {
182
179
  };
183
180
  declare function getDimensions(size?: Size): Dimensions;
184
181
  //#endregion
185
- //#region src/powerhouse/types.d.ts
186
- type DivProps = ComponentPropsWithoutRef<"div">;
187
- type DivWithRefProps = ComponentPropsWithRef<"div">;
188
- type Size = CSSProperties["width"];
189
- type Color = CSSProperties["color"];
190
- //#endregion
191
182
  //#region src/ui/components/enum-field/types.d.ts
192
183
  interface RadioGroupProps {
193
184
  options?: {
@@ -349,6 +340,6 @@ type AmountInputPropsGeneric = {
349
340
  };
350
341
  type AmountValue = Amount | AmountPercentage | AmountFiat | AmountCrypto | AmountCurrency;
351
342
  //#endregion
352
- export { IconComponentProps as $, useAnimation as A, PaginationPageEvent as B, SelectProps as C, Size as D, DivWithRefProps as E, SidebarHeader as F, UsePaginationResult as G, PageItem as H, SidebarPanel as I, PackageAnimationProps as J, usePagination as K, SidebarPanelProps as L, useExitAnimation as M, Sidebar as N, getDimensions as O, SidebarFooter as P, iconNames as Q, Pagination as R, SelectOption as S, DivProps as T, UsePaginationBaseResult as U, PaginationProps as V, UsePaginationOptions as W, Icon as X, Modal as Y, iconComponents as Z, WithDifference as _, SUCCESS as _t, AmountInputPropsGeneric as a, DropdownMenuTrigger as at, RadioGroupProps as b, Currency as c, DriveLocation as ct, ErrorMessage as d, SyncStatuses as dt, IconName as et, FieldErrorHandling as f, AppOptions as ft, ViewMode as g, MISSING as gt, ValidatorResult as h, INITIAL_SYNC as ht, AmountFiat as i, DropdownMenuLabel as it, useEnterAnimation as j, useWindowSize as k, CurrencyTicker as l, OptionMetadata as lt, ValidatorHandler as m, ERROR as mt, AmountCrypto as n, DropdownMenuContent as nt, AmountPercentage as o, PowerhouseButton as ot, InputBaseProps as p, CONFLICT as pt, PackageAnimation as q, AmountCurrency as r, DropdownMenuItem as rt, AmountValue as s, PowerhouseButtonProps as st, Amount as t, DropdownMenu as tt, DiffMode as u, SyncStatus as ut, IdAutocompleteOption as v, SYNCING as vt, Color as w, SelectBaseProps as x, IdAutocompleteProps as y, syncStatuses as yt, PaginationEvent as z };
343
+ export { PowerhouseButton as $, SidebarFooter as A, UsePaginationOptions as B, SelectProps as C, useEnterAnimation as D, useAnimation as E, PaginationEvent as F, Modal as G, usePagination as H, PaginationPageEvent as I, DropdownMenu as J, Icon as K, PaginationProps as L, SidebarPanel as M, SidebarPanelProps as N, useExitAnimation as O, Pagination as P, DropdownMenuTrigger as Q, PageItem as R, SelectOption as S, useWindowSize as T, PackageAnimation as U, UsePaginationResult as V, PackageAnimationProps as W, DropdownMenuItem as X, DropdownMenuContent as Y, DropdownMenuLabel as Z, WithDifference as _, AmountInputPropsGeneric as a, AppOptions as at, RadioGroupProps as b, Currency as c, INITIAL_SYNC as ct, ErrorMessage as d, SYNCING as dt, PowerhouseButtonProps as et, FieldErrorHandling as f, syncStatuses as ft, ViewMode as g, ValidatorResult as h, AmountFiat as i, SyncStatuses as it, SidebarHeader as j, Sidebar as k, CurrencyTicker as l, MISSING as lt, ValidatorHandler as m, AmountCrypto as n, OptionMetadata as nt, AmountPercentage as o, CONFLICT as ot, InputBaseProps as p, iconComponents as q, AmountCurrency as r, SyncStatus as rt, AmountValue as s, ERROR as st, Amount as t, DriveLocation as tt, DiffMode as u, SUCCESS as ut, IdAutocompleteOption as v, getDimensions as w, SelectBaseProps as x, IdAutocompleteProps as y, UsePaginationBaseResult as z };
353
344
  export {};
354
- //# sourceMappingURL=index-C05uhexJ.d.ts.map
345
+ //# sourceMappingURL=index-D99twPFI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-D99twPFI.d.ts","names":[],"sources":["../src/connect/constants/syncing.ts","../src/connect/components/types.ts","../src/connect/types.ts","../src/powerhouse/components/button/button.tsx","../src/powerhouse/components/dropdown-menu/dropdown-menu.tsx","../src/powerhouse/components/icon/icon-components.tsx","../src/powerhouse/components/icon/icon.tsx","../src/powerhouse/components/modal/modal.tsx","../src/powerhouse/components/package-animation/package-animation.tsx","../src/powerhouse/hooks/usePagination.ts","../src/powerhouse/components/pagination/pagination.tsx","../src/powerhouse/components/sidebar/sidebar-panel.tsx","../src/powerhouse/components/sidebar/sidebar.tsx","../src/powerhouse/hooks/animation.ts","../src/powerhouse/hooks/useWindowSize.ts","../src/powerhouse/utils/getDimensions.ts","../src/ui/components/enum-field/types.ts","../src/ui/components/id-autocomplete/types.ts","../src/ui/types.ts"],"mappings":";;;;;;cAAa;cACA;cACA;cACA;cACA;cACA;cAEA;;;KCLD;EACV;EACA;EACA,aAAa;EACb;;;;KCDU;KAEA;EACV,OAAO;EACP,MAAM,MAAM,IAAI;EAChB;;KAGU,sBAAsB;KACtB,aAAa;;;KCVb,wBAAwB;WACzB;WACA;WACA,OAAO,MAAM,IAAI;WACjB;;cAGE,kCAAgB,0BAAA,KAAA,gDAAA,cAAA;;;cCIhB,cAAc,MAAM,GAAG;cACvB,qCAAmB,kEAAA,2CAAA,cAAA;cAEnB,qCAAmB,0BAAA,2CAAA,cAAA;cAanB,mCAAiB,kEAAA,yCAAA,cAAA;cACjB,kCAAgB,kEAAA,wCAAA,cAAA;;;;cC1BhB,gBASR,OAAO,WAAW,OAAO,uBAAuB,MAAM,IAAI;;;KCX1D,YAAY;WACN,MAAM;WACN,OAAO;WACP,QAAQ;;iBAEH,OAAO,MAAM,MAAW,OAAO,UAAU,SAAS,wCAAS,IAAA;;;KCGtE;WACM;WACA,WAAW,MAAM;WACjB;WACA,gBAAgB;WAChB,eAAe,gCAAgC;WAC/C,eAAe,gCAAgC;;iBAE1C,MAAM,OAAO,oCAAK,IAAA;;;UCmUjB;WACN;WACA;WACA;WACA;WACA;;iBAGK,mBACd,SACA,MACA,OACA,MACA,cACC,oDAAqB,IAAA;;;KCnWZ;EACV;EACA;EACA;;UAGe;EACf;EACA;EACA;;UAGe;EACf,OAAO;EACP,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAEe,oBAAoB,WAAW;EAC9C,WAAW;;;;;;;;;;;;;;;;;;;;;;iBAwBG,cAAc,GAC5B,OAAO,KACP,UAAU,uBACT,oBAAoB;;;KChDX;EACV;;KAGU;EACV;EACA,MAAM;;UAGS,wBAAwB,KACvC;EAGA;EACA,iBAAiB,MAAM;EACvB,gBAAgB,MAAM;EACtB,gBAAgB,MAAM;EACtB,oBAAoB,MAAM;;cAGf,YAAY,MAAM,GAAG;;;KCxBtB,oBAAoB,MAAM,eAAe;iBAErC,eACd,WACA,aACG,SACF,gDAAiB,IAAA;;;iBCNJ,gBACd,cACG,SACF,eAAe,2CAAY,IAAA;iBAId,gBACd,cACG,SACF,eAAe,2CAAY,IAAA;KAIzB,eAAe,eAAe;EACjC;EACA;;iBAEc,UACd,UAAU,WACV,UACA,WACA,aACG,SACF,2CAAY,IAAA;;;iBCnBC,kBAAkB,KAAK,UAAU,cAAc;iBAU/C,iBAAiB,KAAK,UAAU,cAAc;iBA6B9C,aACd,KAAK,UAAU,cACf,mBACA;;;cChDW;EAAA;EAAA;;;;KCAR;EACC;EAAmB;;EACnB;EAAe;;iBAEL,cAAc,OAAO,OAAO;;;UCL3B;EACf;IACE;IACA;IACA;IACA;;EAEF,YAAY;;UAGG;EACf,OAAO,WAAW,MAAM;IAAgB;;EACxC;EACA;EACA;;UAGe;EACf,UAAU;EACV,kBAAkB;EAClB;EACA;EACA;EACA,YAAY;EACZ;EACA;;KAGU,eACP;EACC;EACA;MAED;EACC;EACA;;;;UChCI;EACR,YAAY;EACZ;EACA;;KAGG,4BAA4B;EAGzB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAGA;EACA;EAIA;EACA,iBAAiB;EACjB,uBACE,mBACA,UAAU,4BACP,QAAQ,0BAA0B;EACvC,+BACE,kBAEE,QAAQ,oCACR;EAEJ,gBACE,QAAQ,sBACR;IACE;IACA;IACA;IACA,6BAA6B;IAC7B;IACA;QAEC,QAAM;EACX,qBAAqB;;KAIxB,sBAAsB,KACzB,QAAM,oBAAoB,yBACpB,+BAA+B,yCAErC,yBACA;UAEQ;EACR,OAAO,WAAW,QAAM;EACxB;EACA;IAGM;IACA;;EAEN;EACA;;KAGG,qBACH,UAAU,0BAA0B,0BAClC,2BAA2B;;;KC3EnB;KAEA,kBAAkB;KAElB,oBACV,YACA,WAAW,wBACR,kBAAkB,QAAQ;KAEnB;KACA;UAEK,eAAe;EAC9B,WAAW;EACX,WAAW;EACX,YAAY;;UAGG,eAAe;EAC9B;EACA;EACA,QAAQ,MAAM;EACd;EACA,QAAQ;EACR,eAAe;EACf;EACA;EACA,SAAS;EACT,WAAW;EACX;;UAGe;EACf;EACA;EACA,aAAa,qBAAqB;;UAKnB;EACf;EACA;EACA;EACA;EACA,OAAO,WAAW,MAAM;IAAgB;;;KAG9B;EACV;EACA,OAAO;;KAEG;KACA,iBAAiB;UAEZ;EACf;EACA,MAAM;;UAGS;EACf;EACA,MAAM;;UAGS;EACf;EACA,MAAM;;KAGI;EAEN;EACA,QAAQ;EACR;;EAGA;EACA,QAAQ;EACR;;EAGA;EACA,QAAQ;EACR;EACA;;EAGA;EACA,QAAQ;EACR;;EAGA;EACA,QAAQ;EACR;;KAGM,cACR,SACA,mBACA,aACA,eACA"}
@@ -0,0 +1,30 @@
1
+ import "./button-BYcXvZXr.js";
2
+ import "./checkbox-base-Bm0GPWgm.js";
3
+ import "./checkbox-DmRYkN10.js";
4
+ import "./command-DHHTsHfH.js";
5
+ import "./radio-group-field-Bsf4waat.js";
6
+ import "./select-field-DbFd1YiC.js";
7
+ import "./enum-field-CSeQE4Ss.js";
8
+ import "./form-Brj5AQNr.js";
9
+ import "./id-autocomplete-input-container-xg9lrpSK.js";
10
+ import "./id-autocomplete-list-option-D7JgEK6E.js";
11
+ import "./id-autocomplete-list-Da3FbpJ1.js";
12
+ import "./id-autocomplete-0bhU6VQG.js";
13
+ import "./use-id-autocomplete-DSRXA4Wt.js";
14
+ import "./input-WDvjJFqf.js";
15
+ import "./splitted-input-diff-BKRMH7vI.js";
16
+ import "./json-viewer-Kg0IBIt-.js";
17
+ import "./popover-TvQxa0RU.js";
18
+ import "./radio-group-CROIwgYz.js";
19
+ import "./radio-CTS4WsNy.js";
20
+ import "./index-D6Zk5OLV.js";
21
+ import "./content-L3OINRSY.js";
22
+ import "./selected-content-VMVPoru4.js";
23
+ import "./text-input-BSxhvnyx.js";
24
+ import "./text-field-CtatgqNu.js";
25
+ import "./text-input-diff-CaZoFDjA.js";
26
+ import "./index-C-Tup7Br.js";
27
+ import "./tooltip-B4uQJPUm.js";
28
+ import "./value-transformer-Dv-10UyC.js";
29
+ import "./with-field-validation-WiD_NFDk.js";
30
+ export {};
@@ -0,0 +1,3 @@
1
+ import "./index-D99twPFI.js";
2
+ import "./index-D9nAoDks.js";
3
+ export {};
@@ -0,0 +1,2 @@
1
+ import "./sidebar-provider-CZHhqW5n.js";
2
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { $ as IconComponentProps, A as useAnimation, B as PaginationPageEvent, C as SelectProps, D as Size, E as DivWithRefProps, F as SidebarHeader, G as UsePaginationResult, H as PageItem, I as SidebarPanel, J as PackageAnimationProps, K as usePagination, L as SidebarPanelProps, M as useExitAnimation, N as Sidebar, O as getDimensions, P as SidebarFooter, Q as iconNames, R as Pagination, S as SelectOption, T as DivProps, U as UsePaginationBaseResult, V as PaginationProps, W as UsePaginationOptions, X as Icon, Y as Modal, Z as iconComponents, _ as WithDifference, a as AmountInputPropsGeneric, at as DropdownMenuTrigger, b as RadioGroupProps, c as Currency, ct as DriveLocation, d as ErrorMessage, dt as SyncStatuses, et as IconName, f as FieldErrorHandling, ft as AppOptions, g as ViewMode, h as ValidatorResult, i as AmountFiat, it as DropdownMenuLabel, j as useEnterAnimation, k as useWindowSize, l as CurrencyTicker, lt as OptionMetadata, m as ValidatorHandler, n as AmountCrypto, nt as DropdownMenuContent, o as AmountPercentage, ot as PowerhouseButton, p as InputBaseProps, q as PackageAnimation, r as AmountCurrency, rt as DropdownMenuItem, s as AmountValue, st as PowerhouseButtonProps, t as Amount, tt as DropdownMenu, u as DiffMode, ut as SyncStatus, v as IdAutocompleteOption, w as Color, x as SelectBaseProps, y as IdAutocompleteProps, z as PaginationEvent } from "./index-C05uhexJ.js";
1
+ import { $ as PowerhouseButton, A as SidebarFooter, B as UsePaginationOptions, C as SelectProps, D as useEnterAnimation, E as useAnimation, F as PaginationEvent, G as Modal, H as usePagination, I as PaginationPageEvent, J as DropdownMenu, K as Icon, L as PaginationProps, M as SidebarPanel, N as SidebarPanelProps, O as useExitAnimation, P as Pagination, Q as DropdownMenuTrigger, R as PageItem, S as SelectOption, T as useWindowSize, U as PackageAnimation, V as UsePaginationResult, W as PackageAnimationProps, X as DropdownMenuItem, Y as DropdownMenuContent, Z as DropdownMenuLabel, _ as WithDifference, a as AmountInputPropsGeneric, at as AppOptions, b as RadioGroupProps, c as Currency, d as ErrorMessage, et as PowerhouseButtonProps, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, it as SyncStatuses, j as SidebarHeader, k as Sidebar, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, nt as OptionMetadata, o as AmountPercentage, p as InputBaseProps, q as iconComponents, r as AmountCurrency, rt as SyncStatus, s as AmountValue, t as Amount, tt as DriveLocation, u as DiffMode, v as IdAutocompleteOption, w as getDimensions, x as SelectBaseProps, y as IdAutocompleteProps, z as UsePaginationBaseResult } from "./index-D99twPFI.js";
2
+ import { a as IconComponentProps, i as Size, n as DivProps, o as IconName, r as DivWithRefProps, s as iconNames, t as Color } from "./types-TZijOYrE.js";
2
3
  import { a as TransformerType, c as WeekStartDayNumber, i as TransformerTrigger, n as DatePickerView, o as ValueTransformerFn, r as TransformerObject, s as ValueTransformerProps, t as DateFieldValue } from "./types-CpFPFB1a.js";
3
4
  export { type Amount, type AmountCrypto, type AmountCurrency, type AmountFiat, type AmountInputPropsGeneric, type AmountPercentage, type AmountValue, type AppOptions, type Color, type Currency, type CurrencyTicker, type DateFieldValue, type DatePickerView, type DiffMode, type DivProps, type DivWithRefProps, type DriveLocation, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, type ErrorMessage, type FieldErrorHandling, Icon, type IconComponentProps, type IconName, type IdAutocompleteOption, type IdAutocompleteProps, type InputBaseProps, Modal, type OptionMetadata, PackageAnimation, PackageAnimationProps, PageItem, Pagination, PaginationEvent, PaginationPageEvent, PaginationProps, PowerhouseButton, PowerhouseButtonProps, type RadioGroupProps, type SelectBaseProps, type SelectOption, type SelectProps, Sidebar, SidebarFooter, SidebarHeader, SidebarPanel, SidebarPanelProps, type Size, type SyncStatus, type SyncStatuses, type TransformerObject, type TransformerTrigger, type TransformerType, UsePaginationBaseResult, UsePaginationOptions, UsePaginationResult, type ValidatorHandler, type ValidatorResult, type ValueTransformerFn, type ValueTransformerProps, type ViewMode, type WeekStartDayNumber, type WithDifference, getDimensions, iconComponents, iconNames, useAnimation, useEnterAnimation, useExitAnimation, usePagination, useWindowSize };
4
5
  export {};
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as DropdownMenuTrigger, a as useExitAnimation, c as SidebarHeader, d as PackageAnimation, f as Modal, g as DropdownMenuLabel, h as DropdownMenuItem, i as useEnterAnimation, l as SidebarPanel, m as DropdownMenuContent, n as usePagination, o as Sidebar, p as DropdownMenu, r as useAnimation, s as SidebarFooter, t as useWindowSize, u as Pagination, v as PowerhouseButton } from "./src-CrUksCLW.js";
2
- import { i as iconNames, n as getDimensions, r as iconComponents, t as Icon } from "./icon-01W_S_9A.js";
1
+ import { _ as DropdownMenuItem, a as useExitAnimation, b as PowerhouseButton, c as SidebarHeader, d as PackageAnimation, f as Modal, g as DropdownMenuContent, h as DropdownMenu, i as useEnterAnimation, l as SidebarPanel, m as iconNames, n as usePagination, o as Sidebar, p as iconComponents, r as useAnimation, s as SidebarFooter, t as useWindowSize, u as Pagination, v as DropdownMenuLabel, y as DropdownMenuTrigger } from "./src-B2s8MAp7.js";
2
+ import { n as getDimensions, t as Icon } from "./icon-CR_tC1gc.js";
3
3
  export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, Icon, Modal, PackageAnimation, Pagination, PowerhouseButton, Sidebar, SidebarFooter, SidebarHeader, SidebarPanel, getDimensions, iconComponents, iconNames, useAnimation, useEnterAnimation, useExitAnimation, usePagination, useWindowSize };
@@ -0,0 +1,15 @@
1
+ import { twMerge } from "tailwind-merge";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/connect/components/form/inputs/label.tsx
4
+ function Label(props) {
5
+ const { children, className, ...labelProps } = props;
6
+ return /* @__PURE__ */ jsx("label", {
7
+ ...labelProps,
8
+ className: twMerge("block font-semibold text-muted-foreground", className),
9
+ children
10
+ });
11
+ }
12
+ //#endregion
13
+ export { Label as t };
14
+
15
+ //# sourceMappingURL=label-nH2HoKfI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-nH2HoKfI.js","names":["twMerge","Label","props","children","className","labelProps"],"sources":["../src/connect/components/form/inputs/label.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\";\nimport { twMerge } from \"tailwind-merge\";\n\ntype LabelProps = ComponentPropsWithoutRef<\"label\">;\n\nexport function Label(props: LabelProps) {\n const { children, className, ...labelProps } = props;\n return (\n <label\n {...labelProps}\n className={twMerge(\n \"block font-semibold text-muted-foreground\",\n className,\n )}\n >\n {children}\n </label>\n );\n}\n"],"mappings":";;;AAKA,SAAgBC,MAAMC,OAAmB;CACvC,MAAM,EAAEC,UAAUC,WAAW,GAAGC,eAAeH;CAC/C,OACE,oBAAC,SAAD;EACE,GAAIG;EACJ,WAAWL,QACT,6CACAI,SACF;EAECD;CACI,CAAA;AAEX"}
@@ -0,0 +1,47 @@
1
+ import { Toggle, locationInfoByLocation } from "./connect/index.js";
2
+ import { forwardRef } from "react";
3
+ import { twMerge } from "tailwind-merge";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ //#region src/connect/components/form/inputs/available-offline-toggle.tsx
6
+ const AvailableOfflineToggle = /*#__PURE__*/ forwardRef(function AvailableOfflineToggle(props, ref) {
7
+ return /* @__PURE__ */ jsxs("div", {
8
+ className: "flex items-center rounded-md border border-border bg-background p-3 text-foreground",
9
+ children: [/* @__PURE__ */ jsxs("div", {
10
+ className: "flex-1",
11
+ children: [/* @__PURE__ */ jsx("label", {
12
+ className: "font-medium text-foreground",
13
+ htmlFor: "availableOffline",
14
+ children: "Make available offline"
15
+ }), /* @__PURE__ */ jsxs("p", {
16
+ className: "text-xs text-foreground",
17
+ children: [
18
+ "Check this options if you keep a local backup",
19
+ /* @__PURE__ */ jsx("br", {}),
20
+ "available at all times."
21
+ ]
22
+ })]
23
+ }), /* @__PURE__ */ jsx(Toggle, {
24
+ id: "availableOffline",
25
+ ref,
26
+ ...props
27
+ })]
28
+ });
29
+ });
30
+ //#endregion
31
+ //#region src/connect/components/form/inputs/location-info.tsx
32
+ function LocationInfo(props) {
33
+ const { location, className, ...divProps } = props;
34
+ const locationInfo = locationInfoByLocation[location];
35
+ return /* @__PURE__ */ jsxs("div", {
36
+ ...divProps,
37
+ className: twMerge("my-3 flex items-center gap-2 rounded-xl border border-border bg-background p-3 text-foreground shadow-sm", className),
38
+ children: [locationInfo.icon, /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", { children: locationInfo.title }), /* @__PURE__ */ jsx("p", {
39
+ className: "text-xs text-foreground",
40
+ children: locationInfo.description
41
+ })] })]
42
+ });
43
+ }
44
+ //#endregion
45
+ export { AvailableOfflineToggle as n, LocationInfo as t };
46
+
47
+ //# sourceMappingURL=location-info-C3YbSsV0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"location-info-C3YbSsV0.js","names":["forwardRef","Toggle","AvailableOfflineToggle","props","ref","twMerge","locationInfoByLocation","LocationInfo","props","location","className","divProps","locationInfo","icon","title","description"],"sources":["../src/connect/components/form/inputs/available-offline-toggle.tsx","../src/connect/components/form/inputs/location-info.tsx"],"sourcesContent":["import type { ComponentPropsWithRef, ForwardedRef } from \"react\";\nimport { forwardRef } from \"react\";\nimport { Toggle } from \"../../toggle/toggle.js\";\n\ntype AvailableOfflineToggleProps = Omit<\n ComponentPropsWithRef<typeof Toggle>,\n \"id\"\n>;\n\nexport const AvailableOfflineToggle = forwardRef(\n function AvailableOfflineToggle(\n props: AvailableOfflineToggleProps,\n ref: ForwardedRef<HTMLInputElement>,\n ) {\n return (\n <div className=\"flex items-center rounded-md border border-border bg-background p-3 text-foreground\">\n <div className=\"flex-1\">\n <label\n className=\"font-medium text-foreground\"\n htmlFor=\"availableOffline\"\n >\n Make available offline\n </label>\n <p className=\"text-xs text-foreground\">\n Check this options if you keep a local backup\n <br />\n available at all times.\n </p>\n </div>\n <Toggle id=\"availableOffline\" ref={ref} {...props} />\n </div>\n );\n },\n);\n","import type { DivProps, DriveLocation } from \"#design-system\";\nimport { twMerge } from \"tailwind-merge\";\nimport { locationInfoByLocation } from \"../../../constants/options.js\";\ntype LocationInfoProps = DivProps & {\n readonly location: DriveLocation;\n};\n\nexport function LocationInfo(props: LocationInfoProps) {\n const { location, className, ...divProps } = props;\n\n const locationInfo = locationInfoByLocation[location];\n return (\n <div\n {...divProps}\n className={twMerge(\n \"my-3 flex items-center gap-2 rounded-xl border border-border bg-background p-3 text-foreground shadow-sm\",\n className,\n )}\n >\n {locationInfo.icon}\n <div>\n <p>{locationInfo.title}</p>\n <p className=\"text-xs text-foreground\">{locationInfo.description}</p>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;AASA,MAAaE,yBAAyBF,yBACpC,SAASE,uBACPC,OACAC,KACA;CACA,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,oBAAC,SAAD;IACE,WAAU;IACV,SAAQ;IAAkB,UAAA;GAGrB,CAAA,GACP,qBAAC,KAAD;IAAG,WAAU;IAAb,UAAA;KAAsC;KAEpC,oBAAC,MAAD,CAAG,CAAA;KAAA;IAEF;GACA,CAAA,CAAA;EACL,CAAA,GAAA,oBAAC,QAAD;GAAQ,IAAG;GAAwBA;GAAK,GAAID;EAAM,CAAA,CAC/C;;AAET,CACF;;;AC1BA,SAAgBI,aAAaC,OAA0B;CACrD,MAAM,EAAEC,UAAUC,WAAW,GAAGC,aAAaH;CAE7C,MAAMI,eAAeN,uBAAuBG;CAC5C,OACE,qBAAC,OAAD;EACE,GAAIE;EACJ,WAAWN,QACT,4GACAK,SACF;EALF,UAAA,CAOGE,aAAaC,MACd,qBAAC,OAAD,EAAA,UAAA,CACE,oBAAC,KAAD,EAAA,UAAID,aAAaE,MAAS,CAAA,GAC1B,oBAAC,KAAD;GAAG,WAAU;GAA2BF,UAAAA,aAAaG;EAAe,CAAA,CACjE,EAAA,CAAA,CACF;;AAET"}
@@ -1,4 +1,4 @@
1
- import { b as RadioGroupProps, f as FieldErrorHandling, p as InputBaseProps } from "./index-C05uhexJ.js";
1
+ import { b as RadioGroupProps, f as FieldErrorHandling, p as InputBaseProps } from "./index-D99twPFI.js";
2
2
  import { HTMLAttributes } from "react";
3
3
  //#region src/ui/components/radio-group-field/radio-group-field.d.ts
4
4
  type RadioGroupFieldBaseProps = Omit<HTMLAttributes<HTMLDivElement>, keyof InputBaseProps<string> | keyof FieldErrorHandling | keyof RadioGroupProps | "dir"> & {
@@ -11,4 +11,4 @@ declare const RadioGroupField: import("react").ForwardRefExoticComponent<Omit<HT
11
11
  //#endregion
12
12
  export { RadioGroupFieldProps as n, RadioGroupField as t };
13
13
  export {};
14
- //# sourceMappingURL=radio-group-field-CjX_Zt0C.d.ts.map
14
+ //# sourceMappingURL=radio-group-field-Bsf4waat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group-field-CjX_Zt0C.d.ts","names":[],"sources":["../src/ui/components/radio-group-field/radio-group-field.tsx"],"mappings":";;;KAUK,2BAA2B,KAC9B,eAAe,uBACP,+BACA,2BACA;EAGR;;KAGU,uBAAuB,2BACjC,yBACA,qBACA;cAkFW,iCAAe,0BAAA,KAAA,eAAA,+BAAA,2BAAA,+BAAA;EAxFpB;IA+FN,yBAAA,qBAAA,kCAAA,cAAA"}
1
+ {"version":3,"file":"radio-group-field-Bsf4waat.d.ts","names":[],"sources":["../src/ui/components/radio-group-field/radio-group-field.tsx"],"mappings":";;;KAUK,2BAA2B,KAC9B,eAAe,uBACP,+BACA,2BACA;EAGR;;KAGU,uBAAuB,2BACjC,yBACA,qBACA;cAkFW,iCAAe,0BAAA,KAAA,eAAA,+BAAA,2BAAA,+BAAA;EAxFpB;IA+FN,yBAAA,qBAAA,kCAAA,cAAA"}