@powerhousedao/design-system 6.2.3-dev.77 → 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
package/dist/{add-local-drive-form.impl-B8f13Rzz.js → add-local-drive-form.impl-COIpcmgW.js}
RENAMED
|
@@ -6,11 +6,12 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
import { Controller, useForm } from "react-hook-form";
|
|
7
7
|
//#region src/connect/components/form/inputs/app-form-input.tsx
|
|
8
8
|
function appToInputOption(app) {
|
|
9
|
+
const builtBy = app.builtBy ?? "Powerhouse";
|
|
9
10
|
return {
|
|
10
11
|
value: app.id,
|
|
11
12
|
displayValue: app.name,
|
|
12
|
-
icon: /* @__PURE__ */ jsx(Icon, { name: "PowerhouseLogoSmall" }),
|
|
13
|
-
description:
|
|
13
|
+
icon: /* @__PURE__ */ jsx(Icon, { name: builtBy === "Powerhouse" ? "PowerhouseLogoSmall" : "AppModule" }),
|
|
14
|
+
description: `Built by ${builtBy}`
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
function AppFormInput(props) {
|
|
@@ -72,4 +73,4 @@ function AddLocalDriveForm(props) {
|
|
|
72
73
|
//#endregion
|
|
73
74
|
export { AddLocalDriveForm };
|
|
74
75
|
|
|
75
|
-
//# sourceMappingURL=add-local-drive-form.impl-
|
|
76
|
+
//# sourceMappingURL=add-local-drive-form.impl-COIpcmgW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-local-drive-form.impl-COIpcmgW.js","names":["Icon","Controller","ConnectSelect","appToInputOption","app","builtBy","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 const builtBy = app.builtBy ?? \"Powerhouse\";\n return {\n value: app.id,\n displayValue: app.name,\n icon: (\n <Icon\n name={builtBy === \"Powerhouse\" ? \"PowerhouseLogoSmall\" : \"AppModule\"}\n />\n ),\n description: `Built by ${builtBy}`,\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,MAAMC,UAAUD,IAAIC,WAAW;CAC/B,OAAO;EACLC,OAAOF,IAAIG;EACXC,cAAcJ,IAAIK;EAClBC,MACE,oBAAC,MAAD,EACE,MAAML,YAAY,eAAe,wBAAwB,YAAY,CAAA;EAGzEM,aAAa,YAAYN;CAC3B;AACF;AASA,SAAgBO,aACdC,OACA;CACA,MAAM,EAAEC,SAASC,YAAY,GAAGC,mBAAmBH;CACnD,MAAMI,QAAQF,WAAWG,IAAIf,gBAAgB;CAE7C,OACE,oBAAC,YAAD;EACWW;EACT,MAAM;EACN,SAAS,EAAEK,YACT,oBAAC,eAAD;GAAe,GAAIH;GAAgB,GAAIG;GAAO,IAAG;GAAYF;EAAM,CAAA;CACnE,CAAA;AAGR;;;AC5BA,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,4 +1,4 @@
|
|
|
1
|
-
import { p as InputBaseProps } from "./index-
|
|
1
|
+
import { p as InputBaseProps } from "./index-5FEr1tXH.js";
|
|
2
2
|
import { n as CheckboxValue } from "./checkbox-base-Bm0GPWgm.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
//#region src/ui/components/checkbox/checkbox.d.ts
|
|
@@ -10,4 +10,4 @@ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.Re
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { CheckboxProps as n, Checkbox as t };
|
|
12
12
|
export {};
|
|
13
|
-
//# sourceMappingURL=checkbox-
|
|
13
|
+
//# sourceMappingURL=checkbox-BIAGwP7d.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-
|
|
1
|
+
{"version":3,"file":"checkbox-BIAGwP7d.d.ts","names":[],"sources":["../src/ui/components/checkbox/checkbox.tsx"],"mappings":";;;;KAQK,oBAAoB,KACvB,MAAM,qBAAqB,0BACrB,eAAe;UAGN,sBACP,mBAAmB,eAAe;EAC1C,aAAa,SAAS,4BAA4B;;cAG9C,UAAQ,MAAA,0BAAA,gBAAA,MAAA,cAAA"}
|
package/dist/connect/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as PowerhouseButton, A as SidebarFooter, G as Modal, K as Icon, S as SelectOption, T as useWindowSize, at as AppOptions, ct as INITIAL_SYNC, dt as SYNCING, ft as syncStatuses, j as SidebarHeader, lt as MISSING, ot as CONFLICT, rt as SyncStatus$1, st as ERROR, ut as SUCCESS } from "../index-
|
|
1
|
+
import { $ as PowerhouseButton, A as SidebarFooter, G as Modal, K as Icon, S as SelectOption, T as useWindowSize, at as AppOptions, ct as INITIAL_SYNC, dt as SYNCING, ft as syncStatuses, j as SidebarHeader, lt as MISSING, ot as CONFLICT, rt as SyncStatus$1, st as ERROR, ut as SUCCESS } from "../index-5FEr1tXH.js";
|
|
2
2
|
import { i as Size, n as DivProps, o as IconName } from "../types-TZijOYrE.js";
|
|
3
|
-
import { t as Checkbox } from "../checkbox-
|
|
3
|
+
import { t as Checkbox } from "../checkbox-BIAGwP7d.js";
|
|
4
4
|
import "../ui/index.js";
|
|
5
5
|
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, FC, HTMLAttributes, PropsWithChildren, ReactNode, RefAttributes } from "react";
|
|
6
6
|
import { TooltipProps } from "@radix-ui/react-tooltip";
|
package/dist/connect/index.js
CHANGED
|
@@ -4077,7 +4077,7 @@ const FormInput = /*#__PURE__*/ forwardRef(function FormInput(props, ref) {
|
|
|
4077
4077
|
});
|
|
4078
4078
|
//#endregion
|
|
4079
4079
|
//#region src/connect/components/form/add-local-drive-form.tsx
|
|
4080
|
-
const AddLocalDriveForm = lazyComponent(() => import("../add-local-drive-form.impl-
|
|
4080
|
+
const AddLocalDriveForm = lazyComponent(() => import("../add-local-drive-form.impl-COIpcmgW.js").then((m) => m.AddLocalDriveForm));
|
|
4081
4081
|
//#endregion
|
|
4082
4082
|
//#region src/connect/components/form/add-remote-drive-form.tsx
|
|
4083
4083
|
const AddRemoteDriveForm = lazyComponent(() => import("../add-remote-drive-form.impl-_SqOzbSt.js").then((m) => m.AddRemoteDriveForm));
|
|
@@ -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/content.d.ts
|
|
4
4
|
interface ContentProps {
|
|
@@ -17,4 +17,4 @@ declare const Content: React.FC<ContentProps>;
|
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Content as t };
|
|
19
19
|
export {};
|
|
20
|
-
//# sourceMappingURL=content-
|
|
20
|
+
//# sourceMappingURL=content-Cv0kRppo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-
|
|
1
|
+
{"version":3,"file":"content-Cv0kRppo.d.ts","names":[],"sources":["../src/ui/components/select-field/content.tsx"],"mappings":";;;UAaU;EACR;EACA,gBAAgB,MAAM,UAAU;EAChC;EACA;EACA;EACA;EACA,SAAS;EACT,kBAAkB;EAClB;EACA,eAAe;;cAGJ,SAAS,MAAM,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as RadioGroupFieldProps } from "./radio-group-field-
|
|
2
|
-
import { n as SelectFieldProps } from "./select-field-
|
|
1
|
+
import { n as RadioGroupFieldProps } from "./radio-group-field-X18o287K.js";
|
|
2
|
+
import { n as SelectFieldProps } from "./select-field-DHaCiAso.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
//#region src/ui/components/enum-field/enum-field.d.ts
|
|
5
5
|
type EnumFieldProps = ({
|
|
@@ -13,4 +13,4 @@ declare const EnumField: React.ForwardRefExoticComponent<EnumFieldProps & React.
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { EnumFieldProps as n, EnumField as t };
|
|
15
15
|
export {};
|
|
16
|
-
//# sourceMappingURL=enum-field-
|
|
16
|
+
//# sourceMappingURL=enum-field-Cub1rt3e.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum-field-
|
|
1
|
+
{"version":3,"file":"enum-field-Cub1rt3e.d.ts","names":[],"sources":["../src/ui/components/enum-field/enum-field.tsx"],"mappings":";;;;KAUY;EAEN;KACG,uBAAuB;EAE1B;IACE;EAEF;IACE;cAEK,WAAS,MAAA,0BAAA,iBAAA,MAAA,cAAA,oBAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { y as IdAutocompleteProps } from "./index-
|
|
1
|
+
import { y as IdAutocompleteProps } from "./index-5FEr1tXH.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-
|
|
8
|
+
//# sourceMappingURL=id-autocomplete-8LcmtjSR.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-8LcmtjSR.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-
|
|
1
|
+
import { p as InputBaseProps, v as IdAutocompleteOption } from "./index-5FEr1tXH.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-
|
|
26
|
+
//# sourceMappingURL=id-autocomplete-input-container-D2L7p-Yh.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-autocomplete-input-container-
|
|
1
|
+
{"version":3,"file":"id-autocomplete-input-container-D2L7p-Yh.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-
|
|
1
|
+
import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-5FEr1tXH.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-
|
|
23
|
+
//# sourceMappingURL=id-autocomplete-list-BXvN07Hr.d.ts.map
|
package/dist/{id-autocomplete-list-BIC3RxOp.d.ts.map → id-autocomplete-list-BXvN07Hr.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-autocomplete-list-
|
|
1
|
+
{"version":3,"file":"id-autocomplete-list-BXvN07Hr.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"}
|
package/dist/{id-autocomplete-list-option-DlpZer-2.d.ts → id-autocomplete-list-option-D_1BOv50.d.ts}
RENAMED
|
@@ -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
|
import { o as IconName } from "./types-TZijOYrE.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
//#region src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts
|
|
@@ -16,4 +16,4 @@ declare const IdAutocompleteListOption: React.FC<IdAutocompleteListOptionProps>;
|
|
|
16
16
|
//#endregion
|
|
17
17
|
export { IdAutocompleteListOptionProps as n, IdAutocompleteListOption as t };
|
|
18
18
|
export {};
|
|
19
|
-
//# sourceMappingURL=id-autocomplete-list-option-
|
|
19
|
+
//# sourceMappingURL=id-autocomplete-list-option-D_1BOv50.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-autocomplete-list-option-
|
|
1
|
+
{"version":3,"file":"id-autocomplete-list-option-D_1BOv50.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"}
|
|
@@ -16,6 +16,8 @@ declare const syncStatuses: readonly ["INITIAL_SYNC", "SYNCING", "SUCCESS", "CON
|
|
|
16
16
|
type AppOptions = {
|
|
17
17
|
name: string;
|
|
18
18
|
id: string;
|
|
19
|
+
/** Who built the app, as "Built by …" shows it; Powerhouse when absent. */
|
|
20
|
+
builtBy?: string;
|
|
19
21
|
sharingType: SharingType;
|
|
20
22
|
availableOffline: boolean;
|
|
21
23
|
};
|
|
@@ -346,4 +348,4 @@ type AmountValue = Amount | AmountPercentage | AmountFiat | AmountCrypto | Amoun
|
|
|
346
348
|
//#endregion
|
|
347
349
|
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 };
|
|
348
350
|
export {};
|
|
349
|
-
//# sourceMappingURL=index-
|
|
351
|
+
//# sourceMappingURL=index-5FEr1tXH.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-5FEr1tXH.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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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./button-BYcXvZXr.js";
|
|
2
|
+
import "./checkbox-base-Bm0GPWgm.js";
|
|
3
|
+
import "./checkbox-BIAGwP7d.js";
|
|
4
|
+
import "./command-DHHTsHfH.js";
|
|
5
|
+
import "./radio-group-field-X18o287K.js";
|
|
6
|
+
import "./select-field-DHaCiAso.js";
|
|
7
|
+
import "./enum-field-Cub1rt3e.js";
|
|
8
|
+
import "./form-Brj5AQNr.js";
|
|
9
|
+
import "./id-autocomplete-input-container-D2L7p-Yh.js";
|
|
10
|
+
import "./id-autocomplete-list-option-D_1BOv50.js";
|
|
11
|
+
import "./id-autocomplete-list-BXvN07Hr.js";
|
|
12
|
+
import "./id-autocomplete-8LcmtjSR.js";
|
|
13
|
+
import "./use-id-autocomplete-m9Bf0qCy.js";
|
|
14
|
+
import "./input-WDvjJFqf.js";
|
|
15
|
+
import "./splitted-input-diff-DNKcSOAB.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-Cv0kRppo.js";
|
|
22
|
+
import "./selected-content-CSTFkQr9.js";
|
|
23
|
+
import "./text-input-CRjOT54_.js";
|
|
24
|
+
import "./text-field-Dq1DTC_t.js";
|
|
25
|
+
import "./text-input-diff-CcF0QblL.js";
|
|
26
|
+
import "./index-C-Tup7Br.js";
|
|
27
|
+
import "./tooltip-B4uQJPUm.js";
|
|
28
|
+
import "./value-transformer-BtUh3-UP.js";
|
|
29
|
+
import "./with-field-validation-Bh26a6fr.js";
|
|
30
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-5FEr1tXH.js";
|
|
2
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";
|
|
3
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";
|
|
4
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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as RadioGroupProps, f as FieldErrorHandling, p as InputBaseProps } from "./index-
|
|
1
|
+
import { b as RadioGroupProps, f as FieldErrorHandling, p as InputBaseProps } from "./index-5FEr1tXH.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-
|
|
14
|
+
//# sourceMappingURL=radio-group-field-X18o287K.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group-field-
|
|
1
|
+
{"version":3,"file":"radio-group-field-X18o287K.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,4 +1,4 @@
|
|
|
1
|
-
import { C as SelectProps, S as SelectOption, f as FieldErrorHandling, p as InputBaseProps } from "./index-
|
|
1
|
+
import { C as SelectProps, S as SelectOption, f as FieldErrorHandling, p as InputBaseProps } from "./index-5FEr1tXH.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
//#region src/ui/components/select-field/select-field.d.ts
|
|
4
4
|
type SelectFieldBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof InputBaseProps<string | string[]> | keyof FieldErrorHandling | keyof SelectProps>;
|
|
@@ -17,4 +17,4 @@ declare const SelectField: React.ForwardRefExoticComponent<SelectFieldBaseProps
|
|
|
17
17
|
//#endregion
|
|
18
18
|
export { SelectFieldProps as n, SelectFieldRaw as r, SelectField as t };
|
|
19
19
|
export {};
|
|
20
|
-
//# sourceMappingURL=select-field-
|
|
20
|
+
//# sourceMappingURL=select-field-DHaCiAso.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-field-
|
|
1
|
+
{"version":3,"file":"select-field-DHaCiAso.d.ts","names":[],"sources":["../src/ui/components/select-field/select-field.tsx"],"mappings":";;;KAgBK,uBAAuB,KAC1B,MAAM,qBAAqB,0BACnB,0CACA,2BACA;KAGE,mBAAmB,uBAC7B,oCACA;EACE,UAAU;EACV,kBAAkB;IAChB,KAAK;cAEE,gBAAc,MAAA,0BAAA,uBAAA,oCAAA;EAJb,UAAA;EACQ,kBAAA;IAwLrB,KAAA,8CAAA,MAAA,cAAA;cAEY,aAAW,MAAA,0BAAA,uBAAA,oCAAA;EA3LV,UAAA;EACQ,kBAAA;IA2LiC,KAAA,8CAAA,MAAA"}
|
|
@@ -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/selected-content.d.ts
|
|
4
4
|
interface SelectedContentProps {
|
|
@@ -13,4 +13,4 @@ declare const SelectedContent: React.FC<SelectedContentProps>;
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { SelectedContent as t };
|
|
15
15
|
export {};
|
|
16
|
-
//# sourceMappingURL=selected-content-
|
|
16
|
+
//# sourceMappingURL=selected-content-CSTFkQr9.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selected-content-
|
|
1
|
+
{"version":3,"file":"selected-content-CSTFkQr9.d.ts","names":[],"sources":["../src/ui/components/select-field/selected-content.tsx"],"mappings":";;;UAMU;EACR;EACA,SAAS;EACT;EACA;EACA;EACA;;cAGW,iBAAiB,MAAM,GAAG"}
|
|
@@ -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/splitted-input-diff.d.ts
|
|
3
3
|
interface SplittedInputDiffProps extends WithDifference<string> {
|
|
4
4
|
value: string;
|
|
@@ -8,4 +8,4 @@ declare const SplittedInputDiff: ({ baseValue, value, viewMode, diffMode, showCo
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { SplittedInputDiff as t };
|
|
10
10
|
export {};
|
|
11
|
-
//# sourceMappingURL=splitted-input-diff-
|
|
11
|
+
//# sourceMappingURL=splitted-input-diff-DNKcSOAB.d.ts.map
|
package/dist/{splitted-input-diff-Bkoi0Odc.d.ts.map → splitted-input-diff-DNKcSOAB.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitted-input-diff-
|
|
1
|
+
{"version":3,"file":"splitted-input-diff-DNKcSOAB.d.ts","names":[],"sources":["../src/ui/components/input/splitted-input-diff.tsx"],"mappings":";;UAwDU,+BAA+B;EACvC;EACA;;cAGW,sBAAiB,WAAA,OAAA,UAAA,UAAA,gBAM3B,uDAAsB,IAAA"}
|
package/dist/style.css
CHANGED
|
@@ -1006,6 +1006,91 @@ input[type="number"] {
|
|
|
1006
1006
|
background-color: var(--background);
|
|
1007
1007
|
color: var(--muted-foreground);
|
|
1008
1008
|
}
|
|
1009
|
+
.ph-default-styles select {
|
|
1010
|
+
margin-bottom: calc(var(--spacing, 0.25rem) * 2.5);
|
|
1011
|
+
box-sizing: border-box;
|
|
1012
|
+
width: 100%;
|
|
1013
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
1014
|
+
border-style: var(--tw-border-style);
|
|
1015
|
+
border-width: 1px;
|
|
1016
|
+
border-color: var(--input);
|
|
1017
|
+
background-color: var(--card);
|
|
1018
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 3);
|
|
1019
|
+
padding-block: calc(var(--spacing, 0.25rem) * 1.75);
|
|
1020
|
+
font-family: var(--font-sans);
|
|
1021
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1022
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1023
|
+
--tw-leading: calc(var(--spacing, 0.25rem) * 5);
|
|
1024
|
+
line-height: calc(var(--spacing, 0.25rem) * 5);
|
|
1025
|
+
--tw-font-weight: var(--font-weight-normal, 400);
|
|
1026
|
+
font-weight: var(--font-weight-normal, 400);
|
|
1027
|
+
color: var(--foreground);
|
|
1028
|
+
}
|
|
1029
|
+
.ph-default-styles select:disabled {
|
|
1030
|
+
background-color: var(--background);
|
|
1031
|
+
color: var(--muted-foreground);
|
|
1032
|
+
}
|
|
1033
|
+
.ph-default-styles input[type="checkbox"], .ph-default-styles input[type="radio"] {
|
|
1034
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
1035
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
1036
|
+
accent-color: var(--primary);
|
|
1037
|
+
}
|
|
1038
|
+
.ph-default-styles button {
|
|
1039
|
+
display: inline-flex;
|
|
1040
|
+
align-items: center;
|
|
1041
|
+
justify-content: center;
|
|
1042
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
1043
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
1044
|
+
border-style: var(--tw-border-style);
|
|
1045
|
+
border-width: 1px;
|
|
1046
|
+
border-color: var(--input);
|
|
1047
|
+
background-color: var(--card);
|
|
1048
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 3);
|
|
1049
|
+
padding-block: calc(var(--spacing, 0.25rem) * 1.5);
|
|
1050
|
+
font-family: var(--font-sans);
|
|
1051
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1052
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1053
|
+
--tw-leading: calc(var(--spacing, 0.25rem) * 5);
|
|
1054
|
+
line-height: calc(var(--spacing, 0.25rem) * 5);
|
|
1055
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
1056
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1057
|
+
color: var(--foreground);
|
|
1058
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
1059
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
1060
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
1061
|
+
}
|
|
1062
|
+
.ph-default-styles button:hover:not(:disabled) {
|
|
1063
|
+
background-color: var(--accent);
|
|
1064
|
+
color: var(--accent-foreground);
|
|
1065
|
+
}
|
|
1066
|
+
.ph-default-styles button:focus-visible {
|
|
1067
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1068
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1069
|
+
--tw-ring-color: var(--ring);
|
|
1070
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1071
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
1072
|
+
}
|
|
1073
|
+
--tw-ring-offset-width: 2px;
|
|
1074
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1075
|
+
--tw-outline-style: none;
|
|
1076
|
+
outline-style: none;
|
|
1077
|
+
}
|
|
1078
|
+
.ph-default-styles button:disabled {
|
|
1079
|
+
cursor: not-allowed;
|
|
1080
|
+
opacity: 50%;
|
|
1081
|
+
}
|
|
1082
|
+
.ph-default-styles button[type="submit"] {
|
|
1083
|
+
border-color: var(--primary);
|
|
1084
|
+
background-color: var(--primary);
|
|
1085
|
+
color: var(--primary-foreground);
|
|
1086
|
+
}
|
|
1087
|
+
.ph-default-styles button[type="submit"]:hover:not(:disabled) {
|
|
1088
|
+
background-color: var(--primary);
|
|
1089
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1090
|
+
background-color: color-mix(in oklab, var(--primary) 90%, transparent);
|
|
1091
|
+
}
|
|
1092
|
+
color: var(--primary-foreground);
|
|
1093
|
+
}
|
|
1009
1094
|
.ph-default-styles a {
|
|
1010
1095
|
color: var(--info);
|
|
1011
1096
|
text-decoration-line: none;
|
|
@@ -1069,123 +1154,123 @@ input[type="number"] {
|
|
|
1069
1154
|
inherits: false;
|
|
1070
1155
|
initial-value: solid;
|
|
1071
1156
|
}
|
|
1072
|
-
@property --tw-
|
|
1157
|
+
@property --tw-shadow {
|
|
1073
1158
|
syntax: "*";
|
|
1074
1159
|
inherits: false;
|
|
1160
|
+
initial-value: 0 0 #0000;
|
|
1075
1161
|
}
|
|
1076
|
-
@property --tw-
|
|
1162
|
+
@property --tw-shadow-color {
|
|
1077
1163
|
syntax: "*";
|
|
1078
1164
|
inherits: false;
|
|
1079
1165
|
}
|
|
1080
|
-
@property --tw-
|
|
1081
|
-
syntax: "
|
|
1166
|
+
@property --tw-shadow-alpha {
|
|
1167
|
+
syntax: "<percentage>";
|
|
1082
1168
|
inherits: false;
|
|
1169
|
+
initial-value: 100%;
|
|
1083
1170
|
}
|
|
1084
|
-
@property --tw-
|
|
1171
|
+
@property --tw-inset-shadow {
|
|
1085
1172
|
syntax: "*";
|
|
1086
1173
|
inherits: false;
|
|
1174
|
+
initial-value: 0 0 #0000;
|
|
1087
1175
|
}
|
|
1088
|
-
@property --tw-
|
|
1176
|
+
@property --tw-inset-shadow-color {
|
|
1089
1177
|
syntax: "*";
|
|
1090
1178
|
inherits: false;
|
|
1091
1179
|
}
|
|
1092
|
-
@property --tw-
|
|
1093
|
-
syntax: "
|
|
1180
|
+
@property --tw-inset-shadow-alpha {
|
|
1181
|
+
syntax: "<percentage>";
|
|
1094
1182
|
inherits: false;
|
|
1183
|
+
initial-value: 100%;
|
|
1095
1184
|
}
|
|
1096
|
-
@property --tw-
|
|
1185
|
+
@property --tw-ring-color {
|
|
1097
1186
|
syntax: "*";
|
|
1098
1187
|
inherits: false;
|
|
1099
1188
|
}
|
|
1100
|
-
@property --tw-
|
|
1189
|
+
@property --tw-ring-shadow {
|
|
1101
1190
|
syntax: "*";
|
|
1102
1191
|
inherits: false;
|
|
1192
|
+
initial-value: 0 0 #0000;
|
|
1103
1193
|
}
|
|
1104
|
-
@property --tw-
|
|
1194
|
+
@property --tw-inset-ring-color {
|
|
1105
1195
|
syntax: "*";
|
|
1106
1196
|
inherits: false;
|
|
1107
1197
|
}
|
|
1108
|
-
@property --tw-
|
|
1198
|
+
@property --tw-inset-ring-shadow {
|
|
1109
1199
|
syntax: "*";
|
|
1110
1200
|
inherits: false;
|
|
1201
|
+
initial-value: 0 0 #0000;
|
|
1111
1202
|
}
|
|
1112
|
-
@property --tw-
|
|
1203
|
+
@property --tw-ring-inset {
|
|
1113
1204
|
syntax: "*";
|
|
1114
1205
|
inherits: false;
|
|
1115
1206
|
}
|
|
1116
|
-
@property --tw-
|
|
1117
|
-
syntax: "<
|
|
1207
|
+
@property --tw-ring-offset-width {
|
|
1208
|
+
syntax: "<length>";
|
|
1118
1209
|
inherits: false;
|
|
1119
|
-
initial-value:
|
|
1210
|
+
initial-value: 0px;
|
|
1120
1211
|
}
|
|
1121
|
-
@property --tw-
|
|
1212
|
+
@property --tw-ring-offset-color {
|
|
1122
1213
|
syntax: "*";
|
|
1123
1214
|
inherits: false;
|
|
1215
|
+
initial-value: #fff;
|
|
1124
1216
|
}
|
|
1125
|
-
@property --tw-shadow {
|
|
1217
|
+
@property --tw-ring-offset-shadow {
|
|
1126
1218
|
syntax: "*";
|
|
1127
1219
|
inherits: false;
|
|
1128
1220
|
initial-value: 0 0 #0000;
|
|
1129
1221
|
}
|
|
1130
|
-
@property --tw-
|
|
1222
|
+
@property --tw-blur {
|
|
1131
1223
|
syntax: "*";
|
|
1132
1224
|
inherits: false;
|
|
1133
1225
|
}
|
|
1134
|
-
@property --tw-
|
|
1135
|
-
syntax: "
|
|
1226
|
+
@property --tw-brightness {
|
|
1227
|
+
syntax: "*";
|
|
1136
1228
|
inherits: false;
|
|
1137
|
-
initial-value: 100%;
|
|
1138
1229
|
}
|
|
1139
|
-
@property --tw-
|
|
1230
|
+
@property --tw-contrast {
|
|
1140
1231
|
syntax: "*";
|
|
1141
1232
|
inherits: false;
|
|
1142
|
-
initial-value: 0 0 #0000;
|
|
1143
1233
|
}
|
|
1144
|
-
@property --tw-
|
|
1234
|
+
@property --tw-grayscale {
|
|
1145
1235
|
syntax: "*";
|
|
1146
1236
|
inherits: false;
|
|
1147
1237
|
}
|
|
1148
|
-
@property --tw-
|
|
1149
|
-
syntax: "
|
|
1238
|
+
@property --tw-hue-rotate {
|
|
1239
|
+
syntax: "*";
|
|
1150
1240
|
inherits: false;
|
|
1151
|
-
initial-value: 100%;
|
|
1152
1241
|
}
|
|
1153
|
-
@property --tw-
|
|
1242
|
+
@property --tw-invert {
|
|
1154
1243
|
syntax: "*";
|
|
1155
1244
|
inherits: false;
|
|
1156
1245
|
}
|
|
1157
|
-
@property --tw-
|
|
1246
|
+
@property --tw-opacity {
|
|
1158
1247
|
syntax: "*";
|
|
1159
1248
|
inherits: false;
|
|
1160
|
-
initial-value: 0 0 #0000;
|
|
1161
1249
|
}
|
|
1162
|
-
@property --tw-
|
|
1250
|
+
@property --tw-saturate {
|
|
1163
1251
|
syntax: "*";
|
|
1164
1252
|
inherits: false;
|
|
1165
1253
|
}
|
|
1166
|
-
@property --tw-
|
|
1254
|
+
@property --tw-sepia {
|
|
1167
1255
|
syntax: "*";
|
|
1168
1256
|
inherits: false;
|
|
1169
|
-
initial-value: 0 0 #0000;
|
|
1170
1257
|
}
|
|
1171
|
-
@property --tw-
|
|
1258
|
+
@property --tw-drop-shadow {
|
|
1172
1259
|
syntax: "*";
|
|
1173
1260
|
inherits: false;
|
|
1174
1261
|
}
|
|
1175
|
-
@property --tw-
|
|
1176
|
-
syntax: "
|
|
1262
|
+
@property --tw-drop-shadow-color {
|
|
1263
|
+
syntax: "*";
|
|
1177
1264
|
inherits: false;
|
|
1178
|
-
initial-value: 0px;
|
|
1179
1265
|
}
|
|
1180
|
-
@property --tw-
|
|
1181
|
-
syntax: "
|
|
1266
|
+
@property --tw-drop-shadow-alpha {
|
|
1267
|
+
syntax: "<percentage>";
|
|
1182
1268
|
inherits: false;
|
|
1183
|
-
initial-value:
|
|
1269
|
+
initial-value: 100%;
|
|
1184
1270
|
}
|
|
1185
|
-
@property --tw-
|
|
1271
|
+
@property --tw-drop-shadow-size {
|
|
1186
1272
|
syntax: "*";
|
|
1187
1273
|
inherits: false;
|
|
1188
|
-
initial-value: 0 0 #0000;
|
|
1189
1274
|
}
|
|
1190
1275
|
@layer properties {
|
|
1191
1276
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
@@ -1193,19 +1278,6 @@ input[type="number"] {
|
|
|
1193
1278
|
--tw-leading: initial;
|
|
1194
1279
|
--tw-font-weight: initial;
|
|
1195
1280
|
--tw-border-style: solid;
|
|
1196
|
-
--tw-blur: initial;
|
|
1197
|
-
--tw-brightness: initial;
|
|
1198
|
-
--tw-contrast: initial;
|
|
1199
|
-
--tw-grayscale: initial;
|
|
1200
|
-
--tw-hue-rotate: initial;
|
|
1201
|
-
--tw-invert: initial;
|
|
1202
|
-
--tw-opacity: initial;
|
|
1203
|
-
--tw-saturate: initial;
|
|
1204
|
-
--tw-sepia: initial;
|
|
1205
|
-
--tw-drop-shadow: initial;
|
|
1206
|
-
--tw-drop-shadow-color: initial;
|
|
1207
|
-
--tw-drop-shadow-alpha: 100%;
|
|
1208
|
-
--tw-drop-shadow-size: initial;
|
|
1209
1281
|
--tw-shadow: 0 0 #0000;
|
|
1210
1282
|
--tw-shadow-color: initial;
|
|
1211
1283
|
--tw-shadow-alpha: 100%;
|
|
@@ -1220,6 +1292,19 @@ input[type="number"] {
|
|
|
1220
1292
|
--tw-ring-offset-width: 0px;
|
|
1221
1293
|
--tw-ring-offset-color: #fff;
|
|
1222
1294
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1295
|
+
--tw-blur: initial;
|
|
1296
|
+
--tw-brightness: initial;
|
|
1297
|
+
--tw-contrast: initial;
|
|
1298
|
+
--tw-grayscale: initial;
|
|
1299
|
+
--tw-hue-rotate: initial;
|
|
1300
|
+
--tw-invert: initial;
|
|
1301
|
+
--tw-opacity: initial;
|
|
1302
|
+
--tw-saturate: initial;
|
|
1303
|
+
--tw-sepia: initial;
|
|
1304
|
+
--tw-drop-shadow: initial;
|
|
1305
|
+
--tw-drop-shadow-color: initial;
|
|
1306
|
+
--tw-drop-shadow-alpha: 100%;
|
|
1307
|
+
--tw-drop-shadow-size: initial;
|
|
1223
1308
|
}
|
|
1224
1309
|
}
|
|
1225
1310
|
}
|