@powerhousedao/design-system 6.2.3-dev.78 → 6.2.3-dev.79
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.
- package/dist/{add-local-drive-form.impl-B8f13Rzz.js → add-local-drive-form.impl-COIpcmgW.js} +4 -3
- package/dist/add-local-drive-form.impl-COIpcmgW.js.map +1 -0
- package/dist/{checkbox-BIhO-KB2.d.ts → checkbox-BIAGwP7d.d.ts} +2 -2
- package/dist/{checkbox-BIhO-KB2.d.ts.map → checkbox-BIAGwP7d.d.ts.map} +1 -1
- package/dist/connect/index.d.ts +2 -2
- package/dist/connect/index.js +1 -1
- package/dist/{content-Ch3oDYCL.d.ts → content-Cv0kRppo.d.ts} +2 -2
- package/dist/{content-Ch3oDYCL.d.ts.map → content-Cv0kRppo.d.ts.map} +1 -1
- package/dist/{enum-field-DsyC0ml7.d.ts → enum-field-Cub1rt3e.d.ts} +3 -3
- package/dist/{enum-field-DsyC0ml7.d.ts.map → enum-field-Cub1rt3e.d.ts.map} +1 -1
- package/dist/{id-autocomplete-Cr7p129s.d.ts → id-autocomplete-8LcmtjSR.d.ts} +2 -2
- package/dist/id-autocomplete-8LcmtjSR.d.ts.map +1 -0
- package/dist/{id-autocomplete-input-container-iTw9wYZn.d.ts → id-autocomplete-input-container-D2L7p-Yh.d.ts} +2 -2
- package/dist/{id-autocomplete-input-container-iTw9wYZn.d.ts.map → id-autocomplete-input-container-D2L7p-Yh.d.ts.map} +1 -1
- package/dist/{id-autocomplete-list-BIC3RxOp.d.ts → id-autocomplete-list-BXvN07Hr.d.ts} +2 -2
- package/dist/{id-autocomplete-list-BIC3RxOp.d.ts.map → id-autocomplete-list-BXvN07Hr.d.ts.map} +1 -1
- package/dist/{id-autocomplete-list-option-DlpZer-2.d.ts → id-autocomplete-list-option-D_1BOv50.d.ts} +2 -2
- package/dist/{id-autocomplete-list-option-DlpZer-2.d.ts.map → id-autocomplete-list-option-D_1BOv50.d.ts.map} +1 -1
- package/dist/{index-Ck34z7kD.d.ts → index-5FEr1tXH.d.ts} +3 -1
- package/dist/index-5FEr1tXH.d.ts.map +1 -0
- package/dist/index-i-xHUsLr.d.ts +30 -0
- package/dist/index.d.ts +1 -1
- package/dist/{radio-group-field-0-cC_e65.d.ts → radio-group-field-X18o287K.d.ts} +2 -2
- package/dist/{radio-group-field-0-cC_e65.d.ts.map → radio-group-field-X18o287K.d.ts.map} +1 -1
- package/dist/{select-field-VZPf666l.d.ts → select-field-DHaCiAso.d.ts} +2 -2
- package/dist/{select-field-VZPf666l.d.ts.map → select-field-DHaCiAso.d.ts.map} +1 -1
- package/dist/{selected-content-D6NWiceG.d.ts → selected-content-CSTFkQr9.d.ts} +2 -2
- package/dist/{selected-content-D6NWiceG.d.ts.map → selected-content-CSTFkQr9.d.ts.map} +1 -1
- package/dist/{splitted-input-diff-Bkoi0Odc.d.ts → splitted-input-diff-DNKcSOAB.d.ts} +2 -2
- package/dist/{splitted-input-diff-Bkoi0Odc.d.ts.map → splitted-input-diff-DNKcSOAB.d.ts.map} +1 -1
- package/dist/style.css +141 -56
- package/dist/{text-field-CDYSwanK.d.ts → text-field-Dq1DTC_t.d.ts} +3 -3
- package/dist/{text-field-CDYSwanK.d.ts.map → text-field-Dq1DTC_t.d.ts.map} +1 -1
- package/dist/{text-input-CFRCPYq6.d.ts → text-input-CRjOT54_.d.ts} +2 -2
- package/dist/{text-input-CFRCPYq6.d.ts.map → text-input-CRjOT54_.d.ts.map} +1 -1
- package/dist/{text-input-diff-BgJAxPQV.d.ts → text-input-diff-CcF0QblL.d.ts} +2 -2
- package/dist/{text-input-diff-BgJAxPQV.d.ts.map → text-input-diff-CcF0QblL.d.ts.map} +1 -1
- package/dist/ui/components/checkbox/checkbox.d.ts +1 -1
- package/dist/ui/components/enum-field/enum-field.d.ts +1 -1
- package/dist/ui/components/enum-field/types.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/types.d.ts +1 -1
- package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +1 -1
- package/dist/ui/components/index.d.ts +17 -17
- package/dist/ui/components/input/splitted-input-diff.d.ts +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.d.ts +1 -1
- package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
- package/dist/ui/components/select-field/content.d.ts +1 -1
- package/dist/ui/components/select-field/select-field.d.ts +1 -1
- package/dist/ui/components/select-field/selected-content.d.ts +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +1 -1
- package/dist/ui/components/select-field/use-select-field.d.ts +1 -1
- package/dist/ui/components/text-field/text-field.d.ts +1 -1
- package/dist/ui/components/text-input/text-input-diff.d.ts +1 -1
- package/dist/ui/components/text-input/text-input.d.ts +1 -1
- package/dist/ui/components/types.d.ts +1 -1
- package/dist/ui/components/value-transformer/value-transformer.d.ts +1 -1
- package/dist/ui/components/with-field-validation/with-field-validation.d.ts +1 -1
- package/dist/ui/index.d.ts +18 -18
- package/dist/ui/types.d.ts +1 -1
- package/dist/{use-id-autocomplete-WH2ROfQn.d.ts → use-id-autocomplete-m9Bf0qCy.d.ts} +2 -2
- package/dist/{use-id-autocomplete-WH2ROfQn.d.ts.map → use-id-autocomplete-m9Bf0qCy.d.ts.map} +1 -1
- package/dist/{value-transformer-Cg5TEYP2.d.ts → value-transformer-BtUh3-UP.d.ts} +2 -2
- package/dist/{value-transformer-Cg5TEYP2.d.ts.map → value-transformer-BtUh3-UP.d.ts.map} +1 -1
- package/dist/{with-field-validation-CObZoT4r.d.ts → with-field-validation-Bh26a6fr.d.ts} +2 -2
- package/dist/{with-field-validation-CObZoT4r.d.ts.map → with-field-validation-Bh26a6fr.d.ts.map} +1 -1
- package/package.json +4 -4
- package/tailwind.css +39 -1
- package/dist/add-local-drive-form.impl-B8f13Rzz.js.map +0 -1
- package/dist/id-autocomplete-Cr7p129s.d.ts.map +0 -1
- package/dist/index-Ck34z7kD.d.ts.map +0 -1
- package/dist/index-Ds9-qjjC.d.ts +0 -30
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as WithDifference, f as FieldErrorHandling } from "./index-
|
|
2
|
-
import { n as TextInputProps } from "./text-input-
|
|
1
|
+
import { _ as WithDifference, f as FieldErrorHandling } from "./index-5FEr1tXH.js";
|
|
2
|
+
import { n as TextInputProps } from "./text-input-CRjOT54_.js";
|
|
3
3
|
//#region src/ui/components/text-field/text-field.d.ts
|
|
4
4
|
type TextFieldProps = TextInputProps & FieldErrorHandling & WithDifference<string>;
|
|
5
5
|
declare const TextField: import("react").ForwardRefExoticComponent<TextInputProps & FieldErrorHandling & WithDifference<string> & import("react").RefAttributes<HTMLInputElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TextFieldProps as n, TextField as t };
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=text-field-
|
|
9
|
+
//# sourceMappingURL=text-field-Dq1DTC_t.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field-
|
|
1
|
+
{"version":3,"file":"text-field-Dq1DTC_t.d.ts","names":[],"sources":["../src/ui/components/text-field/text-field.tsx"],"mappings":";;;KAMY,iBAAiB,iBAC3B,qBACA;cAEW,2BAAS,0BAAA,iBAAA,qBAAA,yCAAA,cAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as WithDifference, p as InputBaseProps, u as DiffMode } from "./index-
|
|
1
|
+
import { _ as WithDifference, p as InputBaseProps, u as DiffMode } from "./index-5FEr1tXH.js";
|
|
2
2
|
import { t as CommonTextProps } from "./types-BNTIrhb5.js";
|
|
3
3
|
//#region src/ui/components/text-input/text-input.d.ts
|
|
4
4
|
interface TextInputProps extends Omit<InputBaseProps<string> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "pattern"> & CommonTextProps, "value" | "autoComplete">, Omit<WithDifference<string>, "diffMode"> {
|
|
@@ -10,4 +10,4 @@ declare const TextInput: import("react").ForwardRefExoticComponent<TextInputProp
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { TextInputProps as n, TextInput as t };
|
|
12
12
|
export {};
|
|
13
|
-
//# sourceMappingURL=text-input-
|
|
13
|
+
//# sourceMappingURL=text-input-CRjOT54_.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input-
|
|
1
|
+
{"version":3,"file":"text-input-CRjOT54_.d.ts","names":[],"sources":["../src/ui/components/text-input/text-input.tsx"],"mappings":";;;UAeU,uBAEN,KACE,yBACE,KAAK,MAAM,oBAAoB,gCAC/B,4CAGJ,KAAK;EACP;EACA;EACA,WAAW,QAAQ;;cAGf,2BAAS,0BAAA,iCAAA,cAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as WithDifference } from "./index-
|
|
1
|
+
import { _ as WithDifference } from "./index-5FEr1tXH.js";
|
|
2
2
|
//#region src/ui/components/text-input/text-input-diff.d.ts
|
|
3
3
|
interface TextInputDiffProps extends WithDifference<string> {
|
|
4
4
|
value: string;
|
|
@@ -9,4 +9,4 @@ declare const TextInputDiff: ({ value, label, required, baseValue, viewMode, dif
|
|
|
9
9
|
//#endregion
|
|
10
10
|
export { TextInputDiff as t };
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=text-input-diff-
|
|
12
|
+
//# sourceMappingURL=text-input-diff-CcF0QblL.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input-diff-
|
|
1
|
+
{"version":3,"file":"text-input-diff-CcF0QblL.d.ts","names":[],"sources":["../src/ui/components/text-input/text-input-diff.tsx"],"mappings":";;UAKU,2BAA2B;EACnC;EACA,QAAQ,MAAM;EACd;;cAEI,kBAAa,OAAA,OAAA,UAAA,WAAA,UAAA,YAOhB,mDAAkB,IAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as SelectProps, S as SelectOption, b as RadioGroupProps, x as SelectBaseProps } from "../../../index-
|
|
1
|
+
import { C as SelectProps, S as SelectOption, b as RadioGroupProps, x as SelectBaseProps } from "../../../index-5FEr1tXH.js";
|
|
2
2
|
export { RadioGroupProps, SelectBaseProps, SelectOption, SelectProps };
|
|
3
3
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../../../id-autocomplete-input-container-
|
|
1
|
+
import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../../../id-autocomplete-input-container-D2L7p-Yh.js";
|
|
2
2
|
export { IdAutocompleteInputContainer, type IdAutocompleteInputContainerProps };
|
|
3
3
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../../../id-autocomplete-list-option-
|
|
1
|
+
import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../../../id-autocomplete-list-option-D_1BOv50.js";
|
|
2
2
|
export { IdAutocompleteListOption, type IdAutocompleteListOptionProps };
|
|
3
3
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../../../id-autocomplete-list-
|
|
1
|
+
import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../../../id-autocomplete-list-BXvN07Hr.js";
|
|
2
2
|
export { IdAutocompleteList, type IdAutocompleteListProps };
|
|
3
3
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as ButtonProps, r as buttonVariants, t as Button } from "../../button-BYcXvZXr.js";
|
|
2
2
|
import { n as CharacterCounterProps, t as CharacterCounter } from "../../character-counter-BZmZZCHN.js";
|
|
3
3
|
import { n as CheckboxValue, t as CheckboxBase } from "../../checkbox-base-Bm0GPWgm.js";
|
|
4
|
-
import { n as CheckboxProps, t as Checkbox } from "../../checkbox-
|
|
4
|
+
import { n as CheckboxProps, t as Checkbox } from "../../checkbox-BIAGwP7d.js";
|
|
5
5
|
import { a as CommandItem, i as CommandInput, n as CommandEmpty, o as CommandList, r as CommandGroup, s as CommandLoading, t as Command } from "../../command-DHHTsHfH.js";
|
|
6
|
-
import { n as RadioGroupFieldProps, t as RadioGroupField } from "../../radio-group-field-
|
|
7
|
-
import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../../select-field-
|
|
8
|
-
import { n as EnumFieldProps, t as EnumField } from "../../enum-field-
|
|
6
|
+
import { n as RadioGroupFieldProps, t as RadioGroupField } from "../../radio-group-field-X18o287K.js";
|
|
7
|
+
import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../../select-field-DHaCiAso.js";
|
|
8
|
+
import { n as EnumFieldProps, t as EnumField } from "../../enum-field-Cub1rt3e.js";
|
|
9
9
|
import { n as FormDescriptionProps, t as FormDescription } from "../../form-description-DJrDJzJi.js";
|
|
10
10
|
import { t as FormGroup } from "../../form-group-Ckd28lpW.js";
|
|
11
11
|
import { n as FormLabelProps, t as FormLabel } from "../../form-label-C8ghd_lR.js";
|
|
@@ -13,13 +13,13 @@ import { n as FormMessageProps, r as FormMessageType, t as FormMessage } from ".
|
|
|
13
13
|
import { t as FormServerErrorMessage } from "../../form-server-error-message-D2tFtDZ0.js";
|
|
14
14
|
import { t as FormMessageList } from "../../message-list-D8d2ltLd.js";
|
|
15
15
|
import { t as Form } from "../../form-Brj5AQNr.js";
|
|
16
|
-
import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../../id-autocomplete-input-container-
|
|
17
|
-
import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../../id-autocomplete-list-option-
|
|
18
|
-
import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../../id-autocomplete-list-
|
|
19
|
-
import { t as IdAutocomplete } from "../../id-autocomplete-
|
|
20
|
-
import { t as useIdAutocomplete } from "../../use-id-autocomplete-
|
|
16
|
+
import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../../id-autocomplete-input-container-D2L7p-Yh.js";
|
|
17
|
+
import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../../id-autocomplete-list-option-D_1BOv50.js";
|
|
18
|
+
import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../../id-autocomplete-list-BXvN07Hr.js";
|
|
19
|
+
import { t as IdAutocomplete } from "../../id-autocomplete-8LcmtjSR.js";
|
|
20
|
+
import { t as useIdAutocomplete } from "../../use-id-autocomplete-m9Bf0qCy.js";
|
|
21
21
|
import { n as InputProps, t as Input } from "../../input-WDvjJFqf.js";
|
|
22
|
-
import { t as SplittedInputDiff } from "../../splitted-input-diff-
|
|
22
|
+
import { t as SplittedInputDiff } from "../../splitted-input-diff-DNKcSOAB.js";
|
|
23
23
|
import { t as JsonViewer } from "../../json-viewer-Kg0IBIt-.js";
|
|
24
24
|
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "../../popover-TvQxa0RU.js";
|
|
25
25
|
import { n as RadioGroup, t as CustomizableRadioGroupProps } from "../../radio-group-CROIwgYz.js";
|
|
@@ -27,16 +27,16 @@ import { n as RadioProps, t as Radio } from "../../radio-CTS4WsNy.js";
|
|
|
27
27
|
import { n as SearchAutocompleteProps, r as SearchAutocompleteRowContext, t as SearchAutocompleteOption } from "../../types-D4CirgNk.js";
|
|
28
28
|
import { t as SearchAutocomplete } from "../../search-autocomplete-COvFRZIb.js";
|
|
29
29
|
import { t as useSearchAutocomplete } from "../../use-search-autocomplete-vSvcsvcB.js";
|
|
30
|
-
import { t as Content } from "../../content-
|
|
31
|
-
import { t as SelectedContent } from "../../selected-content-
|
|
32
|
-
import { n as TextInputProps, t as TextInput } from "../../text-input-
|
|
33
|
-
import { n as TextFieldProps, t as TextField } from "../../text-field-
|
|
30
|
+
import { t as Content } from "../../content-Cv0kRppo.js";
|
|
31
|
+
import { t as SelectedContent } from "../../selected-content-CSTFkQr9.js";
|
|
32
|
+
import { n as TextInputProps, t as TextInput } from "../../text-input-CRjOT54_.js";
|
|
33
|
+
import { n as TextFieldProps, t as TextField } from "../../text-field-Dq1DTC_t.js";
|
|
34
34
|
import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../../types-FTqFl5du.js";
|
|
35
35
|
import { n as SidebarProps, t as Sidebar } from "../../sidebar-DFqreKf1.js";
|
|
36
36
|
import { n as useSidebar, t as SidebarProvider } from "../../sidebar-provider-CZHhqW5n.js";
|
|
37
37
|
import { a as TooltipProps, i as TooltipContent, n as Root, o as Trigger, r as Tooltip, t as Provider } from "../../tooltip-B4uQJPUm.js";
|
|
38
|
-
import { t as ValueTransformer } from "../../value-transformer-
|
|
39
|
-
import { n as withFieldValidation, t as ValidationOptions } from "../../with-field-validation-
|
|
40
|
-
import "../../index-
|
|
38
|
+
import { t as ValueTransformer } from "../../value-transformer-BtUh3-UP.js";
|
|
39
|
+
import { n as withFieldValidation, t as ValidationOptions } from "../../with-field-validation-Bh26a6fr.js";
|
|
40
|
+
import "../../index-i-xHUsLr.js";
|
|
41
41
|
export { Button, ButtonProps, CharacterCounter, CharacterCounterProps, Checkbox, CheckboxBase, CheckboxProps, type CheckboxValue, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, Content, CustomizableRadioGroupProps, EnumField, EnumFieldProps, type FlattenedNode, Form, FormDescription, FormDescriptionProps, FormGroup, FormLabel, FormLabelProps, FormMessage, FormMessageList, FormMessageProps, FormMessageType, FormServerErrorMessage, IdAutocomplete, IdAutocompleteInputContainer, type IdAutocompleteInputContainerProps, IdAutocompleteList, IdAutocompleteListOption, type IdAutocompleteListOptionProps, type IdAutocompleteListProps, Input, InputProps, JsonViewer, type NodeSortComparisonFn, type NodeSortOrder, type NodeSortType, type NodeStatus, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Radio, RadioGroup, RadioGroupField, RadioGroupFieldProps, RadioProps, SearchAutocomplete, type SearchAutocompleteOption, type SearchAutocompleteProps, type SearchAutocompleteRowContext, SelectField, SelectFieldProps, SelectFieldRaw, SelectedContent, Sidebar, type SidebarIcon, type SidebarNode, SidebarProps, SidebarProvider, SplittedInputDiff, TextField, TextFieldProps, TextInput, type TextInputProps, Tooltip, TooltipContent, type TooltipProps, Provider as TooltipProvider, Root as TooltipRoot, Trigger as TooltipTrigger, ValidationOptions, ValueTransformer, buttonVariants, useIdAutocomplete, useSearchAutocomplete, useSidebar, withFieldValidation };
|
|
42
42
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as WithDifference } from "../../../../index-
|
|
1
|
+
import { _ as WithDifference } from "../../../../index-5FEr1tXH.js";
|
|
2
2
|
//#region src/ui/components/input/subcomponent/text-diff.d.ts
|
|
3
3
|
interface TextDiffProps extends WithDifference<string> {
|
|
4
4
|
value: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as RadioGroupFieldProps, t as RadioGroupField } from "../../../radio-group-field-
|
|
1
|
+
import { n as RadioGroupFieldProps, t as RadioGroupField } from "../../../radio-group-field-X18o287K.js";
|
|
2
2
|
export { RadioGroupField, RadioGroupFieldProps };
|
|
3
3
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../../../select-field-
|
|
1
|
+
import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../../../select-field-DHaCiAso.js";
|
|
2
2
|
export { SelectField, SelectFieldProps, SelectFieldRaw };
|
|
3
3
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as SelectProps } from "../../../../index-
|
|
1
|
+
import { C as SelectProps } from "../../../../index-5FEr1tXH.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
//#region src/ui/components/select-field/subcomponents/CommandItemList.d.ts
|
|
4
4
|
interface FavoriteOptionsProps {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as SelectProps, S as SelectOption, b as RadioGroupProps, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../../index-
|
|
1
|
+
import { C as SelectProps, S as SelectOption, b as RadioGroupProps, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../../index-5FEr1tXH.js";
|
|
2
2
|
export type { IdAutocompleteOption, IdAutocompleteProps, RadioGroupProps, SelectBaseProps, SelectOption, SelectProps };
|
|
3
3
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as withFieldValidation, t as ValidationOptions } from "../../../with-field-validation-
|
|
1
|
+
import { n as withFieldValidation, t as ValidationOptions } from "../../../with-field-validation-Bh26a6fr.js";
|
|
2
2
|
export { ValidationOptions, withFieldValidation };
|
|
3
3
|
export {};
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-
|
|
1
|
+
import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-5FEr1tXH.js";
|
|
2
2
|
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
3
|
import { n as ButtonProps, r as buttonVariants, t as Button } from "../button-BYcXvZXr.js";
|
|
4
4
|
import { n as CharacterCounterProps, t as CharacterCounter } from "../character-counter-BZmZZCHN.js";
|
|
5
5
|
import { n as CheckboxValue, t as CheckboxBase } from "../checkbox-base-Bm0GPWgm.js";
|
|
6
|
-
import { n as CheckboxProps, t as Checkbox } from "../checkbox-
|
|
6
|
+
import { n as CheckboxProps, t as Checkbox } from "../checkbox-BIAGwP7d.js";
|
|
7
7
|
import { a as CommandItem, i as CommandInput, n as CommandEmpty, o as CommandList, r as CommandGroup, s as CommandLoading, t as Command } from "../command-DHHTsHfH.js";
|
|
8
|
-
import { n as RadioGroupFieldProps, t as RadioGroupField } from "../radio-group-field-
|
|
9
|
-
import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../select-field-
|
|
10
|
-
import { n as EnumFieldProps, t as EnumField } from "../enum-field-
|
|
8
|
+
import { n as RadioGroupFieldProps, t as RadioGroupField } from "../radio-group-field-X18o287K.js";
|
|
9
|
+
import { n as SelectFieldProps, r as SelectFieldRaw, t as SelectField } from "../select-field-DHaCiAso.js";
|
|
10
|
+
import { n as EnumFieldProps, t as EnumField } from "../enum-field-Cub1rt3e.js";
|
|
11
11
|
import { n as FormDescriptionProps, t as FormDescription } from "../form-description-DJrDJzJi.js";
|
|
12
12
|
import { t as FormGroup } from "../form-group-Ckd28lpW.js";
|
|
13
13
|
import { n as FormLabelProps, t as FormLabel } from "../form-label-C8ghd_lR.js";
|
|
@@ -15,13 +15,13 @@ import { n as FormMessageProps, r as FormMessageType, t as FormMessage } from ".
|
|
|
15
15
|
import { t as FormServerErrorMessage } from "../form-server-error-message-D2tFtDZ0.js";
|
|
16
16
|
import { t as FormMessageList } from "../message-list-D8d2ltLd.js";
|
|
17
17
|
import { t as Form } from "../form-Brj5AQNr.js";
|
|
18
|
-
import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../id-autocomplete-input-container-
|
|
19
|
-
import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../id-autocomplete-list-option-
|
|
20
|
-
import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../id-autocomplete-list-
|
|
21
|
-
import { t as IdAutocomplete } from "../id-autocomplete-
|
|
22
|
-
import { t as useIdAutocomplete } from "../use-id-autocomplete-
|
|
18
|
+
import { n as IdAutocompleteInputContainerProps, t as IdAutocompleteInputContainer } from "../id-autocomplete-input-container-D2L7p-Yh.js";
|
|
19
|
+
import { n as IdAutocompleteListOptionProps, t as IdAutocompleteListOption } from "../id-autocomplete-list-option-D_1BOv50.js";
|
|
20
|
+
import { n as IdAutocompleteListProps, t as IdAutocompleteList } from "../id-autocomplete-list-BXvN07Hr.js";
|
|
21
|
+
import { t as IdAutocomplete } from "../id-autocomplete-8LcmtjSR.js";
|
|
22
|
+
import { t as useIdAutocomplete } from "../use-id-autocomplete-m9Bf0qCy.js";
|
|
23
23
|
import { n as InputProps, t as Input } from "../input-WDvjJFqf.js";
|
|
24
|
-
import { t as SplittedInputDiff } from "../splitted-input-diff-
|
|
24
|
+
import { t as SplittedInputDiff } from "../splitted-input-diff-DNKcSOAB.js";
|
|
25
25
|
import { t as JsonViewer } from "../json-viewer-Kg0IBIt-.js";
|
|
26
26
|
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "../popover-TvQxa0RU.js";
|
|
27
27
|
import { n as RadioGroup, t as CustomizableRadioGroupProps } from "../radio-group-CROIwgYz.js";
|
|
@@ -29,16 +29,16 @@ import { n as RadioProps, t as Radio } from "../radio-CTS4WsNy.js";
|
|
|
29
29
|
import { n as SearchAutocompleteProps, r as SearchAutocompleteRowContext, t as SearchAutocompleteOption } from "../types-D4CirgNk.js";
|
|
30
30
|
import { t as SearchAutocomplete } from "../search-autocomplete-COvFRZIb.js";
|
|
31
31
|
import { t as useSearchAutocomplete } from "../use-search-autocomplete-vSvcsvcB.js";
|
|
32
|
-
import { t as Content } from "../content-
|
|
33
|
-
import { t as SelectedContent } from "../selected-content-
|
|
34
|
-
import { n as TextInputProps, t as TextInput } from "../text-input-
|
|
35
|
-
import { n as TextFieldProps, t as TextField } from "../text-field-
|
|
32
|
+
import { t as Content } from "../content-Cv0kRppo.js";
|
|
33
|
+
import { t as SelectedContent } from "../selected-content-CSTFkQr9.js";
|
|
34
|
+
import { n as TextInputProps, t as TextInput } from "../text-input-CRjOT54_.js";
|
|
35
|
+
import { n as TextFieldProps, t as TextField } from "../text-field-Dq1DTC_t.js";
|
|
36
36
|
import { a as NodeStatus, i as NodeSortType, n as NodeSortComparisonFn, o as SidebarIcon, r as NodeSortOrder, s as SidebarNode, t as FlattenedNode } from "../types-FTqFl5du.js";
|
|
37
37
|
import { n as SidebarProps, t as Sidebar } from "../sidebar-DFqreKf1.js";
|
|
38
38
|
import { n as useSidebar, t as SidebarProvider } from "../sidebar-provider-CZHhqW5n.js";
|
|
39
39
|
import { a as TooltipProps, i as TooltipContent, n as Root, o as Trigger, r as Tooltip, t as Provider } from "../tooltip-B4uQJPUm.js";
|
|
40
|
-
import { t as ValueTransformer } from "../value-transformer-
|
|
41
|
-
import { n as withFieldValidation, t as ValidationOptions } from "../with-field-validation-
|
|
42
|
-
import "../index-
|
|
40
|
+
import { t as ValueTransformer } from "../value-transformer-BtUh3-UP.js";
|
|
41
|
+
import { n as withFieldValidation, t as ValidationOptions } from "../with-field-validation-Bh26a6fr.js";
|
|
42
|
+
import "../index-i-xHUsLr.js";
|
|
43
43
|
export { type Amount, type AmountCrypto, type AmountCurrency, type AmountFiat, type AmountInputPropsGeneric, type AmountPercentage, type AmountValue, Button, ButtonProps, CharacterCounter, CharacterCounterProps, Checkbox, CheckboxBase, CheckboxProps, type CheckboxValue, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, Content, type Currency, type CurrencyTicker, CustomizableRadioGroupProps, type DateFieldValue, type DatePickerView, type DiffMode, EnumField, EnumFieldProps, type ErrorMessage, type FieldErrorHandling, type FlattenedNode, Form, FormDescription, FormDescriptionProps, FormGroup, FormLabel, FormLabelProps, FormMessage, FormMessageList, FormMessageProps, FormMessageType, FormServerErrorMessage, IdAutocomplete, IdAutocompleteInputContainer, type IdAutocompleteInputContainerProps, IdAutocompleteList, IdAutocompleteListOption, type IdAutocompleteListOptionProps, type IdAutocompleteListProps, type IdAutocompleteOption, type IdAutocompleteProps, Input, type InputBaseProps, InputProps, JsonViewer, type NodeSortComparisonFn, type NodeSortOrder, type NodeSortType, type NodeStatus, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Radio, RadioGroup, RadioGroupField, RadioGroupFieldProps, type RadioGroupProps, RadioProps, SearchAutocomplete, type SearchAutocompleteOption, type SearchAutocompleteProps, type SearchAutocompleteRowContext, type SelectBaseProps, SelectField, SelectFieldProps, SelectFieldRaw, type SelectOption, type SelectProps, SelectedContent, Sidebar, type SidebarIcon, type SidebarNode, SidebarProps, SidebarProvider, SplittedInputDiff, TextField, TextFieldProps, TextInput, type TextInputProps, Tooltip, TooltipContent, type TooltipProps, Provider as TooltipProvider, Root as TooltipRoot, Trigger as TooltipTrigger, type TransformerObject, type TransformerTrigger, type TransformerType, ValidationOptions, type ValidatorHandler, type ValidatorResult, ValueTransformer, type ValueTransformerFn, type ValueTransformerProps, type ViewMode, type WeekStartDayNumber, type WithDifference, buttonVariants, useIdAutocomplete, useSearchAutocomplete, useSidebar, withFieldValidation };
|
|
44
44
|
export {};
|
package/dist/ui/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-
|
|
1
|
+
import { C as SelectProps, S as SelectOption, _ as WithDifference, a as AmountInputPropsGeneric, b as RadioGroupProps, c as Currency, d as ErrorMessage, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, o as AmountPercentage, p as InputBaseProps, r as AmountCurrency, s as AmountValue, t as Amount, u as DiffMode, v as IdAutocompleteOption, x as SelectBaseProps, y as IdAutocompleteProps } from "../index-5FEr1tXH.js";
|
|
2
2
|
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
3
|
export { Amount, AmountCrypto, AmountCurrency, AmountFiat, AmountInputPropsGeneric, AmountPercentage, AmountValue, Currency, CurrencyTicker, type DateFieldValue, type DatePickerView, DiffMode, ErrorMessage, FieldErrorHandling, type IdAutocompleteOption, type IdAutocompleteProps, InputBaseProps, type RadioGroupProps, type SelectBaseProps, type SelectOption, type SelectProps, type TransformerObject, type TransformerTrigger, type TransformerType, ValidatorHandler, ValidatorResult, type ValueTransformerFn, type ValueTransformerProps, ViewMode, type WeekStartDayNumber, WithDifference };
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-
|
|
1
|
+
import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-5FEr1tXH.js";
|
|
2
2
|
//#region src/ui/components/id-autocomplete/use-id-autocomplete.d.ts
|
|
3
3
|
interface UseIdAutocompleteParams {
|
|
4
4
|
autoComplete: IdAutocompleteProps["autoComplete"];
|
|
@@ -33,4 +33,4 @@ declare function useIdAutocomplete({ autoComplete, defaultValue, value, isOpenBy
|
|
|
33
33
|
//#endregion
|
|
34
34
|
export { useIdAutocomplete as t };
|
|
35
35
|
export {};
|
|
36
|
-
//# sourceMappingURL=use-id-autocomplete-
|
|
36
|
+
//# sourceMappingURL=use-id-autocomplete-m9Bf0qCy.d.ts.map
|
package/dist/{use-id-autocomplete-WH2ROfQn.d.ts.map → use-id-autocomplete-m9Bf0qCy.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-id-autocomplete-
|
|
1
|
+
{"version":3,"file":"use-id-autocomplete-m9Bf0qCy.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/use-id-autocomplete.ts"],"mappings":";;UAKU;EACR,cAAc;EACd;EACA;EACA,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,SAAS,MAAM,kBAAkB;EACjC,cAAc;EACd,qBAAqB;;iBAGP,oBACd,cACA,cACA,OACA,iBACA,gBACA,UACA,QACA,cACA,uBACC;;;;;;;;;;;EAuIe,eAAA;EAVP,mBAAA;EAqCH,gBAAA,GAAA,MAAM,WAAW;EAfjB,eAAA,GAAA,MAAM,YAAY;EAUuB,qBAAA;EAjFrC,4BAAA;EA+FJ,cAAA,GAAA,MAAM,eAAe"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-5FEr1tXH.js";
|
|
2
2
|
import { s as ValueTransformerProps } from "./types-CpFPFB1a.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
//#region src/ui/components/value-transformer/value-transformer.d.ts
|
|
@@ -40,4 +40,4 @@ declare function ValueTransformer({ transformers, children }: ValueTransformerPr
|
|
|
40
40
|
//#endregion
|
|
41
41
|
export { ValueTransformer as t };
|
|
42
42
|
export {};
|
|
43
|
-
//# sourceMappingURL=value-transformer-
|
|
43
|
+
//# sourceMappingURL=value-transformer-BtUh3-UP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-transformer-
|
|
1
|
+
{"version":3,"file":"value-transformer-BtUh3-UP.d.ts","names":[],"sources":["../src/ui/components/value-transformer/value-transformer.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2FgB,mBACd,cACA,YACC,wBAAqB,MAAA,+BAAA,MAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as FieldErrorHandling, m as ValidatorHandler, p as InputBaseProps } from "./index-
|
|
1
|
+
import { f as FieldErrorHandling, m as ValidatorHandler, p as InputBaseProps } from "./index-5FEr1tXH.js";
|
|
2
2
|
import { ComponentType, ElementRef, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from "react";
|
|
3
3
|
//#region src/ui/components/with-field-validation/with-field-validation.d.ts
|
|
4
4
|
interface PossibleProps extends InputBaseProps<unknown>, FieldErrorHandling {
|
|
@@ -16,4 +16,4 @@ declare const withFieldValidation: <T extends PossibleProps, R extends ElementRe
|
|
|
16
16
|
//#endregion
|
|
17
17
|
export { withFieldValidation as n, ValidationOptions as t };
|
|
18
18
|
export {};
|
|
19
|
-
//# sourceMappingURL=with-field-validation-
|
|
19
|
+
//# sourceMappingURL=with-field-validation-Bh26a6fr.d.ts.map
|
package/dist/{with-field-validation-CObZoT4r.d.ts.map → with-field-validation-Bh26a6fr.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-field-validation-
|
|
1
|
+
{"version":3,"file":"with-field-validation-Bh26a6fr.d.ts","names":[],"sources":["../src/ui/components/with-field-validation/with-field-validation.tsx"],"mappings":";;;UAiBU,sBAAsB,yBAAyB;EACvD,UAAU;EACV;EACA;EACA;EACA;;UAQe,kBAAkB;EACjC,cAAc,gBAAgB,aAAa,MAAM;EACjD,kBAAkB;;cAGP,sBACX,UAAU,eACV,UAAU,kBAAkB,iBAAe,WAEhC,cAAc,IAAE,UACjB,kBAAkB,OAC3B,0BAA0B,gBAAgB,KAAK,cAAc"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/design-system",
|
|
3
|
-
"version": "6.2.3-dev.
|
|
3
|
+
"version": "6.2.3-dev.79",
|
|
4
4
|
"description": "Powerhouse document-engineering design system — GraphQL scalar UI components for building consistent Powerhouse editors.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@babel/core": "^7.29.0",
|
|
77
77
|
"@babel/plugin-transform-react-pure-annotations": "^7.27.1",
|
|
78
78
|
"@babel/preset-typescript": "^7.28.5",
|
|
79
|
-
"@powerhousedao/config": "6.2.3-dev.
|
|
79
|
+
"@powerhousedao/config": "6.2.3-dev.79",
|
|
80
80
|
"@prettier/sync": "^0.5.2",
|
|
81
81
|
"@rollup/plugin-babel": "^7.0.0",
|
|
82
82
|
"@storybook/addon-actions": "^8.6.18",
|
|
@@ -121,8 +121,8 @@
|
|
|
121
121
|
"react-dom": ">=19.0.0"
|
|
122
122
|
},
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"@powerhousedao/reactor-browser": "6.2.3-dev.
|
|
125
|
-
"@powerhousedao/shared": "6.2.3-dev.
|
|
124
|
+
"@powerhousedao/reactor-browser": "6.2.3-dev.79",
|
|
125
|
+
"@powerhousedao/shared": "6.2.3-dev.79",
|
|
126
126
|
"@radix-ui/react-checkbox": "^1.1.2",
|
|
127
127
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
128
128
|
"@radix-ui/react-dropdown-menu": "^2.1.5",
|
package/tailwind.css
CHANGED
|
@@ -100,7 +100,7 @@ input[type="number"] {
|
|
|
100
100
|
@apply font-sans text-sm font-normal leading-none text-foreground;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
/* Default styles for text input fields and textareas based on Storybook */
|
|
103
|
+
/* Default styles for text input fields, selects and textareas based on Storybook */
|
|
104
104
|
.ph-default-styles input[type="text"],
|
|
105
105
|
.ph-default-styles input[type="email"],
|
|
106
106
|
.ph-default-styles input[type="password"],
|
|
@@ -138,6 +138,44 @@ input[type="number"] {
|
|
|
138
138
|
@apply bg-background text-muted-foreground;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
.ph-default-styles select {
|
|
142
|
+
@apply mb-2.5 box-border w-full rounded-md border border-input bg-card px-3 py-1.75 font-sans text-sm font-normal leading-5 text-foreground;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.ph-default-styles select:disabled {
|
|
146
|
+
@apply bg-background text-muted-foreground;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ph-default-styles input[type="checkbox"],
|
|
150
|
+
.ph-default-styles input[type="radio"] {
|
|
151
|
+
@apply size-4 accent-primary;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Buttons: outlined; a utility class on one still wins, as base styles do. */
|
|
155
|
+
.ph-default-styles button {
|
|
156
|
+
@apply inline-flex items-center justify-center gap-2 rounded-md border border-input bg-card px-3 py-1.5 font-sans text-sm font-medium leading-5 text-foreground transition-colors;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ph-default-styles button:hover:not(:disabled) {
|
|
160
|
+
@apply bg-accent text-accent-foreground;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ph-default-styles button:focus-visible {
|
|
164
|
+
@apply outline-none ring-2 ring-ring/50 ring-offset-2;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.ph-default-styles button:disabled {
|
|
168
|
+
@apply cursor-not-allowed opacity-50;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ph-default-styles button[type="submit"] {
|
|
172
|
+
@apply border-primary bg-primary text-primary-foreground;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.ph-default-styles button[type="submit"]:hover:not(:disabled) {
|
|
176
|
+
@apply bg-primary/90 text-primary-foreground;
|
|
177
|
+
}
|
|
178
|
+
|
|
141
179
|
/* Default styles for anchor/links */
|
|
142
180
|
.ph-default-styles a {
|
|
143
181
|
/* Example link color - match your design system */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-local-drive-form.impl-B8f13Rzz.js","names":["Icon","Controller","ConnectSelect","appToInputOption","app","value","id","displayValue","name","icon","description","AppFormInput","props","control","appOptions","delegatedProps","items","map","field","PowerhouseButton","useForm","FormInput","AppFormInput","Label","AddLocalDriveForm","props","register","handleSubmit","control","formState","errors","defaultValues","name","sharingType","availableOffline","id","appOptions","e","onSubmit","required","message"],"sources":["../src/connect/components/form/inputs/app-form-input.tsx","../src/connect/components/form/add-local-drive-form.impl.tsx"],"sourcesContent":["import { Icon, type AppOptions } from \"#design-system\";\nimport type { ComponentPropsWithRef } from \"react\";\nimport type { Control, Path } from \"react-hook-form\";\nimport { Controller } from \"react-hook-form\";\nimport type { ConnectSelectItem } from \"../../select/select.js\";\nimport { ConnectSelect } from \"../../select/select.js\";\n\nexport function appToInputOption(app: AppOptions): ConnectSelectItem<string> {\n return {\n value: app.id,\n displayValue: app.name,\n icon: <Icon name=\"PowerhouseLogoSmall\" />,\n description: \"Built by Powerhouse\",\n };\n}\ntype AppFormInputProps<T extends AppOptions> = Omit<\n ComponentPropsWithRef<typeof ConnectSelect>,\n \"id\" | \"items\" | \"value\" | \"onChange\"\n> & {\n readonly control: Control<T>;\n readonly appOptions: T[];\n};\n\nexport function AppFormInput<T extends AppOptions>(\n props: AppFormInputProps<T>,\n) {\n const { control, appOptions, ...delegatedProps } = props;\n const items = appOptions.map(appToInputOption);\n\n return (\n <Controller\n control={control}\n name={\"id\" as Path<T>}\n render={({ field }) => (\n <ConnectSelect {...delegatedProps} {...field} id=\"id\" items={items} />\n )}\n />\n );\n}\n","import { PowerhouseButton, type AppOptions } from \"#design-system\";\nimport type { SubmitHandler } from \"react-hook-form\";\nimport { useForm } from \"react-hook-form\";\nimport { FormInput } from \"../form-input/form-input.js\";\nimport { AppFormInput } from \"./inputs/app-form-input.js\";\nimport { Label } from \"./inputs/label.js\";\n\ntype AddLocalDriveFormProps = {\n readonly onSubmit: CreateDriveFormSubmitHandler;\n readonly onCancel: () => void;\n readonly appOptions: AppOptions[];\n};\n\ntype CreateDriveFormSubmitHandler = SubmitHandler<AppOptions>;\n\nexport function AddLocalDriveForm(props: AddLocalDriveFormProps) {\n const {\n register,\n handleSubmit,\n control,\n formState: { errors },\n } = useForm<AppOptions>({\n defaultValues: {\n name: \"\",\n sharingType: \"LOCAL\",\n availableOffline: false,\n id: props.appOptions[0].id,\n },\n });\n\n return (\n <form\n name=\"add-local-drive\"\n onSubmit={(e) => void handleSubmit(props.onSubmit)(e)}\n className=\"flex flex-col gap-4\"\n >\n <div className=\"flex flex-col gap-4\">\n <div>\n <Label htmlFor=\"name\" className=\"text-sm font-medium text-foreground\">\n Drive Name\n </Label>\n <FormInput\n {...register(\"name\", {\n required: \"Drive name is required\",\n })}\n errorMessage={errors.name?.message}\n placeholder=\"Drive name\"\n />\n </div>\n <div>\n <Label\n htmlFor=\"driveApp\"\n className=\"text-sm font-medium text-foreground\"\n >\n Drive App\n </Label>\n <AppFormInput control={control} appOptions={props.appOptions} />\n </div>\n <PowerhouseButton className=\"mt-2 w-full\" type=\"submit\">\n Create new drive\n </PowerhouseButton>\n </div>\n </form>\n );\n}\n"],"mappings":";;;;;;;AAOA,SAAgBG,iBAAiBC,KAA4C;CAC3E,OAAO;EACLC,OAAOD,IAAIE;EACXC,cAAcH,IAAII;EAClBC,MAAM,oBAAC,MAAD,EAAM,MAAK,sBAAqB,CAAA;EACtCC,aAAa;CACf;AACF;AASA,SAAgBC,aACdC,OACA;CACA,MAAM,EAAEC,SAASC,YAAY,GAAGC,mBAAmBH;CACnD,MAAMI,QAAQF,WAAWG,IAAId,gBAAgB;CAE7C,OACE,oBAAC,YAAD;EACWU;EACT,MAAM;EACN,SAAS,EAAEK,YACT,oBAAC,eAAD;GAAe,GAAIH;GAAgB,GAAIG;GAAO,IAAG;GAAYF;EAAM,CAAA;CACnE,CAAA;AAGR;;;ACvBA,SAAgBQ,kBAAkBC,OAA+B;CAC/D,MAAM,EACJC,UACAC,cACAC,SACAC,WAAW,EAAEC,aACXV,QAAoB,EACtBW,eAAe;EACbC,MAAM;EACNC,aAAa;EACbC,kBAAkB;EAClBC,IAAIV,MAAMW,WAAW,EAAE,CAACD;CAC1B,EACF,CAAC;CAED,OACE,oBAAC,QAAD;EACE,MAAK;EACL,WAAWE,MAAM,KAAKV,aAAaF,MAAMa,QAAQ,CAAC,CAACD,CAAC;EACpD,WAAU;EAEV,UAAA,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACE,qBAAC,OAAD,EAAA,UAAA,CACE,oBAAC,OAAD;KAAO,SAAQ;KAAO,WAAU;KAAqC,UAAA;IAE9D,CAAA,GACP,oBAAC,WAAD;KACE,GAAIX,SAAS,QAAQ,EACnBa,UAAU,yBACZ,CAAC;KACD,cAAcT,OAAOE,MAAMQ;KAC3B,aAAY;IAAY,CAAA,CAEvB,EAAA,CAAA;IACL,qBAAC,OAAD,EAAA,UAAA,CACE,oBAAC,OAAD;KACE,SAAQ;KACR,WAAU;KAAqC,UAAA;IAG1C,CAAA,GACP,oBAAC,cAAD;KAAuBZ;KAAS,YAAYH,MAAMW;IAAW,CAAA,CAC1D,EAAA,CAAA;IACL,oBAAC,kBAAD;KAAkB,WAAU;KAAc,MAAK;KAAQ,UAAA;IAErC,CAAA;GACf;;CACD,CAAA;AAEV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"id-autocomplete-Cr7p129s.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete.tsx"],"mappings":";;;cAkBM,gBAAc,MAAA,0BAAA,sBAAA,MAAA,cAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Ck34z7kD.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":"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"}
|
package/dist/index-Ds9-qjjC.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import "./button-BYcXvZXr.js";
|
|
2
|
-
import "./checkbox-base-Bm0GPWgm.js";
|
|
3
|
-
import "./checkbox-BIhO-KB2.js";
|
|
4
|
-
import "./command-DHHTsHfH.js";
|
|
5
|
-
import "./radio-group-field-0-cC_e65.js";
|
|
6
|
-
import "./select-field-VZPf666l.js";
|
|
7
|
-
import "./enum-field-DsyC0ml7.js";
|
|
8
|
-
import "./form-Brj5AQNr.js";
|
|
9
|
-
import "./id-autocomplete-input-container-iTw9wYZn.js";
|
|
10
|
-
import "./id-autocomplete-list-option-DlpZer-2.js";
|
|
11
|
-
import "./id-autocomplete-list-BIC3RxOp.js";
|
|
12
|
-
import "./id-autocomplete-Cr7p129s.js";
|
|
13
|
-
import "./use-id-autocomplete-WH2ROfQn.js";
|
|
14
|
-
import "./input-WDvjJFqf.js";
|
|
15
|
-
import "./splitted-input-diff-Bkoi0Odc.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-Ch3oDYCL.js";
|
|
22
|
-
import "./selected-content-D6NWiceG.js";
|
|
23
|
-
import "./text-input-CFRCPYq6.js";
|
|
24
|
-
import "./text-field-CDYSwanK.js";
|
|
25
|
-
import "./text-input-diff-BgJAxPQV.js";
|
|
26
|
-
import "./index-C-Tup7Br.js";
|
|
27
|
-
import "./tooltip-B4uQJPUm.js";
|
|
28
|
-
import "./value-transformer-Cg5TEYP2.js";
|
|
29
|
-
import "./with-field-validation-CObZoT4r.js";
|
|
30
|
-
export {};
|