@feathery/react 2.3.32 → 2.3.33
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/Form/grid/Element/index.d.ts.map +1 -1
- package/dist/elements/fields/CustomField/Status.d.ts +9 -0
- package/dist/elements/fields/CustomField/Status.d.ts.map +1 -0
- package/dist/elements/fields/CustomField/index.d.ts +4 -0
- package/dist/elements/fields/CustomField/index.d.ts.map +1 -0
- package/dist/elements/fields/CustomField/template.d.ts +2 -0
- package/dist/elements/fields/CustomField/template.d.ts.map +1 -0
- package/dist/elements/fields/CustomField/useCustomComponentIframe.d.ts +15 -0
- package/dist/elements/fields/CustomField/useCustomComponentIframe.d.ts.map +1 -0
- package/dist/elements/fields/index.d.ts +1 -0
- package/dist/elements/fields/index.d.ts.map +1 -1
- package/dist/elements/index.d.ts +1 -0
- package/dist/elements/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Form/grid/Element/index.tsx"],"names":[],"mappings":"AAuCA,QAAA,MAAM,OAAO,uBAAwB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Form/grid/Element/index.tsx"],"names":[],"mappings":"AAuCA,QAAA,MAAM,OAAO,uBAAwB,GAAG,4DA6pBvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
Placeholder: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
Loading: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
Error: ({ error }: {
|
|
5
|
+
error: string;
|
|
6
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=Status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/CustomField/Status.tsx"],"names":[],"mappings":";;;;;;;AAoDA,wBAA+C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<({ element, responsiveStyles, elementProps, editMode, onChange, rawValue }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/CustomField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AA2DpC,wBAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/CustomField/template.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,cAAc,SACnB,MAAM,gBACE,MAAM,aACT,MAAM,WAiHlB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
|
+
componentCode: string;
|
|
4
|
+
elementId: string;
|
|
5
|
+
value: string;
|
|
6
|
+
onChange?: (value: string) => void;
|
|
7
|
+
}
|
|
8
|
+
interface Result {
|
|
9
|
+
iframeRef: React.RefObject<HTMLIFrameElement>;
|
|
10
|
+
error: string | null;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function useCustomComponentIframe({ componentCode, elementId, value, onChange }: Props): Result;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=useCustomComponentIframe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCustomComponentIframe.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/CustomField/useCustomComponentIframe.tsx"],"names":[],"mappings":";AAIA,UAAU,KAAK;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,UAAU,MAAM;IACd,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,aAAa,EACb,SAAS,EACT,KAAK,EACL,QAAQ,EACT,EAAE,KAAK,GAAG,MAAM,CA2FhB"}
|
|
@@ -19,6 +19,7 @@ declare const Fields: {
|
|
|
19
19
|
CheckboxField: typeof CheckboxField;
|
|
20
20
|
CheckboxGroupField: typeof CheckboxGroupField;
|
|
21
21
|
ColorPickerField: typeof ColorPickerField;
|
|
22
|
+
CustomField: React.MemoExoticComponent<({ element, responsiveStyles, elementProps, editMode, onChange, rawValue }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
22
23
|
DateSelectorField: React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, rightToLeft, onComplete, onEnter, setRef, value, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
23
24
|
DropdownField: typeof DropdownField;
|
|
24
25
|
DropdownMultiField: typeof DropdownMultiField;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/fields/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/fields/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAGlD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,WAAW,MAAM,eAAe,CAAC;AAMxC,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAiZnC,eAAe,MAAM,CAAC"}
|
package/dist/elements/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const Elements: {
|
|
|
10
10
|
CheckboxField: typeof import("./fields/CheckboxField").default;
|
|
11
11
|
CheckboxGroupField: typeof import("./fields/CheckboxGroupField").default;
|
|
12
12
|
ColorPickerField: typeof import("./fields/ColorPickerField").default;
|
|
13
|
+
CustomField: React.MemoExoticComponent<({ element, responsiveStyles, elementProps, editMode, onChange, rawValue }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
13
14
|
DateSelectorField: React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, rightToLeft, onComplete, onEnter, setRef, value, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
14
15
|
DropdownField: typeof import("./fields/DropdownField").default;
|
|
15
16
|
DropdownMultiField: typeof import("./fields/DropdownMultiField").default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/elements/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAWhD,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/elements/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAI7C,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAWhD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAC;AA4DzC,eAAe,QAAQ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ declare const Feathery: {
|
|
|
69
69
|
CheckboxField: typeof import("./elements/fields/CheckboxField").default;
|
|
70
70
|
CheckboxGroupField: typeof import("./elements/fields/CheckboxGroupField").default;
|
|
71
71
|
ColorPickerField: typeof import("./elements/fields/ColorPickerField").default;
|
|
72
|
+
CustomField: React.MemoExoticComponent<({ element, responsiveStyles, elementProps, editMode, onChange, rawValue }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
72
73
|
DateSelectorField: React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, rightToLeft, onComplete, onEnter, setRef, value, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
73
74
|
DropdownField: typeof import("./elements/fields/DropdownField").default;
|
|
74
75
|
DropdownMultiField: typeof import("./elements/fields/DropdownMultiField").default;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBvE;AAGD,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MA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