@makeswift/runtime 0.0.0-ef05bba → 0.0.0-f5b044f
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/builder.js +1 -0
- package/dist/Page.cjs.js +215 -0
- package/dist/Page.cjs.js.map +1 -0
- package/dist/Page.es.js +209 -0
- package/dist/Page.es.js.map +1 -0
- package/dist/actions.cjs.js +43 -2
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +37 -2
- package/dist/actions.es.js.map +1 -1
- package/dist/api.cjs.js +1 -2
- package/dist/api.cjs.js.map +1 -1
- package/dist/box-model.cjs.js +1 -2
- package/dist/box-model.cjs.js.map +1 -1
- package/dist/box-models.cjs.js +2 -0
- package/dist/box-models.cjs.js.map +1 -1
- package/dist/box-models.es.js +2 -0
- package/dist/box-models.es.js.map +1 -1
- package/dist/builder.cjs.js +10 -0
- package/dist/builder.cjs.js.map +1 -0
- package/dist/builder.es.js +3 -0
- package/dist/builder.es.js.map +1 -0
- package/dist/components.cjs.js +54 -38
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +14 -7
- package/dist/components.es.js.map +1 -1
- package/dist/constants.cjs.js +96 -1
- package/dist/constants.cjs.js.map +1 -1
- package/dist/constants.es.js +96 -1
- package/dist/constants.es.js.map +1 -1
- package/dist/control-serialization.cjs.js +223 -0
- package/dist/control-serialization.cjs.js.map +1 -0
- package/dist/control-serialization.es.js +218 -0
- package/dist/control-serialization.es.js.map +1 -0
- package/dist/descriptors.cjs.js +17 -3
- package/dist/descriptors.cjs.js.map +1 -1
- package/dist/descriptors.es.js +14 -4
- package/dist/descriptors.es.js.map +1 -1
- package/dist/index.cjs.js +8037 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +7956 -0
- package/dist/index.es.js.map +1 -0
- package/dist/instances.cjs.js +17 -0
- package/dist/instances.cjs.js.map +1 -1
- package/dist/instances.es.js +17 -1
- package/dist/instances.es.js.map +1 -1
- package/dist/main.cjs.js +10 -2
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +5 -1
- package/dist/main.es.js.map +1 -1
- package/dist/next.cjs.js +64 -22
- package/dist/next.cjs.js.map +1 -1
- package/dist/next.es.js +61 -19
- package/dist/next.es.js.map +1 -1
- package/dist/prop-controllers.cjs.js +2 -2
- package/dist/prop-controllers.es.js +1 -1
- package/dist/react-builder-preview.cjs.js +36 -39
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +34 -37
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react-page.cjs.js +263 -0
- package/dist/react-page.cjs.js.map +1 -0
- package/dist/react-page.es.js +241 -0
- package/dist/react-page.es.js.map +1 -0
- package/dist/react.cjs.js +21 -14
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +2500 -567
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +13 -7
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +2488 -557
- package/dist/react.es2.js.map +1 -1
- package/dist/types/api/constants.d.ts.map +1 -1
- package/dist/types/api/generated/graphql.d.ts +59 -0
- package/dist/types/api/generated/graphql.d.ts.map +1 -1
- package/dist/types/api/react.d.ts +26 -4
- package/dist/types/api/react.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +2 -2
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/builder/index.d.ts +2 -0
- package/dist/types/builder/index.d.ts.map +1 -0
- package/dist/types/builder/serialization/control-serialization.d.ts +144 -0
- package/dist/types/builder/serialization/control-serialization.d.ts.map +1 -0
- package/dist/types/builder/serialization/function-serialization.d.ts +12 -0
- package/dist/types/builder/serialization/function-serialization.d.ts.map +1 -0
- package/dist/types/builder/serialization/index.d.ts +3 -0
- package/dist/types/builder/serialization/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Box/Box.d.ts +2 -2
- package/dist/types/components/builtin/Box/Box.d.ts.map +1 -1
- package/dist/types/components/builtin/Button/Button.d.ts +5 -5
- package/dist/types/components/builtin/Button/Button.d.ts.map +1 -1
- package/dist/types/components/builtin/Carousel/Carousel.d.ts +6 -5
- package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -1
- package/dist/types/components/builtin/Countdown/Countdown.d.ts +6 -5
- package/dist/types/components/builtin/Countdown/Countdown.d.ts.map +1 -1
- package/dist/types/components/builtin/Divider/Divider.d.ts +4 -3
- package/dist/types/components/builtin/Divider/Divider.d.ts.map +1 -1
- package/dist/types/components/builtin/Embed/Embed.d.ts +2 -2
- package/dist/types/components/builtin/Embed/Embed.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/Form.d.ts +42 -0
- package/dist/types/components/builtin/Form/Form.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +15 -0
- package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts +15 -0
- package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Input/index.d.ts +14 -0
- package/dist/types/components/builtin/Form/components/Field/components/Input/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts +16 -0
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts +10 -0
- package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts +23 -0
- package/dist/types/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts +3 -0
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts +17 -0
- package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts +23 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts +19 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts +24 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts +13 -0
- package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/index.d.ts +19 -0
- package/dist/types/components/builtin/Form/components/Field/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/services/cssField.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/services/cssField.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts +9 -0
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts +3 -0
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/context/FormContext.d.ts +33 -0
- package/dist/types/components/builtin/Form/context/FormContext.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/index.d.ts +2 -0
- package/dist/types/components/builtin/Form/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Image/Image.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/Navigation.d.ts +6 -5
- package/dist/types/components/builtin/Navigation/Navigation.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts +4 -3
- package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -1
- package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts +5 -4
- package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -1
- package/dist/types/components/builtin/Text/Text.d.ts +2 -2
- package/dist/types/components/builtin/Text/Text.d.ts.map +1 -1
- package/dist/types/components/builtin/Video/Video.d.ts +15 -0
- package/dist/types/components/builtin/Video/Video.d.ts.map +1 -0
- package/dist/types/components/builtin/Video/index.d.ts +2 -0
- package/dist/types/components/builtin/Video/index.d.ts.map +1 -0
- package/dist/types/components/builtin/index.d.ts +1 -0
- package/dist/types/components/builtin/index.d.ts.map +1 -1
- package/dist/types/components/hooks/index.d.ts +1 -0
- package/dist/types/components/hooks/index.d.ts.map +1 -1
- package/dist/types/components/hooks/useTable.d.ts +66 -0
- package/dist/types/components/hooks/useTable.d.ts.map +1 -0
- package/dist/types/components/hooks/useTableFormFieldRefs.d.ts +8 -0
- package/dist/types/components/hooks/useTableFormFieldRefs.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/page/BodySnippet.d.ts +7 -0
- package/dist/types/components/page/BodySnippet.d.ts.map +1 -0
- package/dist/types/components/page/Page.d.ts +43 -0
- package/dist/types/components/page/Page.d.ts.map +1 -0
- package/dist/types/components/page/index.d.ts +2 -0
- package/dist/types/components/page/index.d.ts.map +1 -0
- package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -1
- package/dist/types/components/shared/FallbackComponent/FallbackComponent.d.ts +7 -0
- package/dist/types/components/shared/FallbackComponent/FallbackComponent.d.ts.map +1 -0
- package/dist/types/components/shared/FallbackComponent/index.d.ts +2 -0
- package/dist/types/components/shared/FallbackComponent/index.d.ts.map +1 -0
- package/dist/types/components/utils/placeholders.d.ts +7 -0
- package/dist/types/components/utils/placeholders.d.ts.map +1 -1
- package/dist/types/components/utils/queries.d.ts +1 -0
- package/dist/types/components/utils/queries.d.ts.map +1 -1
- package/dist/types/components/utils/responsive-style.d.ts +9 -0
- package/dist/types/components/utils/responsive-style.d.ts.map +1 -0
- package/dist/types/components/utils/types.d.ts +1 -2
- package/dist/types/components/utils/types.d.ts.map +1 -1
- package/dist/types/controls/select.d.ts +19 -0
- package/dist/types/controls/select.d.ts.map +1 -0
- package/dist/types/controls.d.ts +4 -0
- package/dist/types/controls.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/next.d.ts +8 -4
- package/dist/types/next.d.ts.map +1 -1
- package/dist/types/prop-controllers/descriptors.d.ts +58 -26
- package/dist/types/prop-controllers/descriptors.d.ts.map +1 -1
- package/dist/types/prop-controllers/index.d.ts +3 -3
- package/dist/types/prop-controllers/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/instances/slot.d.ts +2 -0
- package/dist/types/prop-controllers/instances/slot.d.ts.map +1 -0
- package/dist/types/prop-controllers/instances.d.ts +36 -4
- package/dist/types/prop-controllers/instances.d.ts.map +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/react.d.ts.map +1 -1
- package/dist/types/runtimes/index.d.ts +43 -0
- package/dist/types/runtimes/index.d.ts.map +1 -0
- package/dist/types/runtimes/react/controls.d.ts +10 -0
- package/dist/types/runtimes/react/controls.d.ts.map +1 -0
- package/dist/types/runtimes/react/index.d.ts +45 -0
- package/dist/types/runtimes/react/index.d.ts.map +1 -0
- package/dist/types/runtimes/react/react.d.ts +43 -0
- package/dist/types/runtimes/react/react.d.ts.map +1 -0
- package/dist/types/runtimes/react.d.ts +16 -9
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/actions.d.ts +55 -1
- package/dist/types/state/actions.d.ts.map +1 -1
- package/dist/types/state/modules/box-models.d.ts.map +1 -1
- package/dist/types/state/modules/read-only-documents.d.ts +8 -4
- package/dist/types/state/modules/read-only-documents.d.ts.map +1 -1
- package/dist/types/state/modules/read-write-documents.d.ts +1 -1
- package/dist/types/state/modules/read-write-documents.d.ts.map +1 -1
- package/dist/types/state/react-builder-preview.d.ts.map +1 -1
- package/dist/types/state/react-page.d.ts +4 -3
- package/dist/types/state/react-page.d.ts.map +1 -1
- package/package.json +22 -7
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Value as FormContextValue } from '../../../../context/FormContext';
|
|
3
|
+
declare const HiddenCheckbox: import("styled-components").StyledComponent<"input", any, Pick<FormContextValue, "size" | "contrast" | "brandColor"> & {
|
|
4
|
+
error?: boolean | undefined;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare type BaseProps = {
|
|
7
|
+
error?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
form?: unknown;
|
|
11
|
+
};
|
|
12
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof HiddenCheckbox>, keyof BaseProps>;
|
|
13
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAK3E,OAAO,EAEL,KAAK,IAAI,gBAAgB,EAG1B,MAAM,iCAAiC,CAAA;AA8CxC,QAAA,MAAM,cAAc;;SA+EnB,CAAA;AAED,aAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAE/F,wBAqBE"}
|
package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormikProps } from 'formik';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
form: FormikProps<{
|
|
5
|
+
[key: string]: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
id: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
value?: boolean;
|
|
11
|
+
error?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/CheckboxTableField/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AA0BpC,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,WAAW,CAAC;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KACvB,CAAC,CAAA;IACF,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;;AAED,wBA0BE"}
|
package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/EmailTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Size, Value } from '../../../../context/FormContext';
|
|
3
|
+
export declare function getSizeHeight(size: Size): number;
|
|
4
|
+
declare const Base: import("styled-components").StyledComponent<"input", any, Pick<Value, "size" | "shape" | "contrast" | "brandColor"> & {
|
|
5
|
+
error?: boolean | undefined;
|
|
6
|
+
}, never>;
|
|
7
|
+
declare type BaseProps = {
|
|
8
|
+
error?: boolean;
|
|
9
|
+
form?: unknown;
|
|
10
|
+
};
|
|
11
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Base>, keyof BaseProps>;
|
|
12
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAA;AAI5D,OAAO,EAAE,IAAI,EAAyB,KAAK,EAAE,MAAM,iCAAiC,CAAA;AAGpF,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAED,QAAA,MAAM,IAAI;;SAYT,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAErF,wBAkBE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ResponsiveValue } from '../../../../../../../prop-controllers';
|
|
3
|
+
import { TextStyleValue } from '../../../../../../../prop-controllers/descriptors';
|
|
4
|
+
import { Size, Contrast } from '../../../../context/FormContext';
|
|
5
|
+
import { ColorValue } from '../../../../../../utils/types';
|
|
6
|
+
export declare function getSizeHeight(size: Size): number;
|
|
7
|
+
declare const Base: import("styled-components").StyledComponent<"label", any, {
|
|
8
|
+
contrast?: ResponsiveValue<Contrast> | null | undefined;
|
|
9
|
+
size?: ResponsiveValue<Size> | null | undefined;
|
|
10
|
+
textStyle?: TextStyleValue | null | undefined;
|
|
11
|
+
textColor?: ResponsiveValue<ColorValue> | null | undefined;
|
|
12
|
+
}, never>;
|
|
13
|
+
declare type Props = ComponentPropsWithoutRef<typeof Base>;
|
|
14
|
+
export default function Label(props: Props): JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/Label/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAA;AAIlF,OAAO,EAAkB,IAAI,EAAS,QAAQ,EAAa,MAAM,iCAAiC,CAAA;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE1D,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAeD,QAAA,MAAM,IAAI;eACG,gBAAgB,QAAQ,CAAC,GAAG,IAAI,GAAG,SAAS;WAChD,gBAAgB,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS;gBACnC,cAAc,GAAG,IAAI,GAAG,SAAS;gBACjC,gBAAgB,UAAU,CAAC,GAAG,IAAI,GAAG,SAAS;SAa3D,CAAA;AAED,aAAK,KAAK,GAAG,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAA;AAElD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAYvD"}
|
package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
hideLabel?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/LongTextTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAUE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SyntheticEvent } from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
tableColumn: {
|
|
5
|
+
options: Array<{
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}>;
|
|
9
|
+
};
|
|
10
|
+
value?: Array<string>;
|
|
11
|
+
label?: string;
|
|
12
|
+
onChange: (arg0: SyntheticEvent<HTMLInputElement>) => unknown;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
hideLabel?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<{
|
|
17
|
+
validity: {
|
|
18
|
+
valueMissing: boolean;
|
|
19
|
+
typeMismatch: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>;
|
|
22
|
+
export default _default;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,cAAc,EAAE,MAAM,OAAO,CAAA;AAwB/E,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;cAIa;QACR,YAAY,EAAE,OAAO,CAAA;QACrB,YAAY,EAAE,OAAO,CAAA;KACtB;;AALL,wBAuDE"}
|
package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/NumberTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/PlaceholderTableField/index.tsx"],"names":[],"mappings":";AA4CA,MAAM,CAAC,OAAO,UAAU,qBAAqB,IAAI,GAAG,CAAC,OAAO,CAS3D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Value } from '../../../../context/FormContext';
|
|
3
|
+
declare const HiddenRadioButton: import("styled-components").StyledComponent<"input", any, {
|
|
4
|
+
type: "radio";
|
|
5
|
+
} & Pick<Value, "contrast" | "brandColor"> & {
|
|
6
|
+
error?: boolean | undefined;
|
|
7
|
+
}, "type">;
|
|
8
|
+
declare type BaseProps = {
|
|
9
|
+
error?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
form?: unknown;
|
|
13
|
+
};
|
|
14
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof HiddenRadioButton>, keyof BaseProps>;
|
|
15
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/RadioButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAK3E,OAAO,EAAoC,KAAK,EAAE,MAAM,iCAAiC,CAAA;AA2CzF,QAAA,MAAM,iBAAiB;;;;UAsEtB,CAAA;AAED,aAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAElG,wBAkBE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SyntheticEvent } from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
tableColumn: {
|
|
5
|
+
options: Array<{
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}>;
|
|
9
|
+
};
|
|
10
|
+
label?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
hideLabel?: boolean;
|
|
13
|
+
onChange: (arg0: SyntheticEvent<HTMLInputElement>) => unknown;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<{
|
|
17
|
+
validity: {
|
|
18
|
+
valueMissing: boolean;
|
|
19
|
+
typeMismatch: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>;
|
|
22
|
+
export default _default;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,cAAc,EAAE,MAAM,OAAO,CAAA;AAoB/E,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;;cAIa;QACR,YAAY,EAAE,OAAO,CAAA;QACrB,YAAY,EAAE,OAAO,CAAA;KACtB;;AALL,wBAmDE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
tableColumn: {
|
|
5
|
+
options: Array<{
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}>;
|
|
9
|
+
};
|
|
10
|
+
value?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
error?: boolean;
|
|
14
|
+
hideLabel?: boolean;
|
|
15
|
+
form?: unknown;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLSelectElement>>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.tsx"],"names":[],"mappings":";AAuDA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;;AAED,wBAqCE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SyntheticEvent } from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
tableColumn: {
|
|
6
|
+
options: Array<{
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
11
|
+
label?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
onChange: (arg0: SyntheticEvent<HTMLInputElement>) => unknown;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
type: 'select' | 'radio';
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<{
|
|
18
|
+
readonly validity: {
|
|
19
|
+
readonly valueMissing: boolean;
|
|
20
|
+
readonly typeMismatch: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,MAAM,OAAO,CAAA;AAKlD,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAA;CACzB,CAAA;;uBAIsB;QACjB,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;QAC9B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;KAC/B;;AALL,wBAeE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Value } from '../../../../context/FormContext';
|
|
3
|
+
declare const Base: import("styled-components").StyledComponent<"textarea", any, Value & {
|
|
4
|
+
error?: boolean | undefined;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare type BaseProps = {
|
|
7
|
+
error?: boolean;
|
|
8
|
+
form?: unknown;
|
|
9
|
+
};
|
|
10
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Base>, keyof BaseProps>;
|
|
11
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/TextArea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAI5D,OAAO,EAAE,KAAK,EAAkB,MAAM,iCAAiC,CAAA;AAEvE,QAAA,MAAM,IAAI;;SAGT,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAErF,wBAkBE"}
|
package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/URLTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TableColumn } from '../../../../hooks';
|
|
3
|
+
declare type TableFormField = {
|
|
4
|
+
id: string;
|
|
5
|
+
tableColumnId: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
hidden?: boolean;
|
|
10
|
+
type?: 'select' | 'radio';
|
|
11
|
+
hideLabel?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare type Props = {
|
|
14
|
+
tableColumn: TableColumn | null | undefined;
|
|
15
|
+
tableFormField: TableFormField;
|
|
16
|
+
};
|
|
17
|
+
export default function Field({ tableColumn, tableFormField: { id, label, placeholder, required, hidden, type, hideLabel, }, }: Props): JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Field/index.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AA0D/C,aAAK,cAAc,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,CAAA;IAC3C,cAAc,EAAE,cAAc,CAAA;CAC/B,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,WAAW,EACX,cAAc,EAAE,EACd,EAAE,EACF,KAAU,EACV,WAAW,EACX,QAAgB,EAChB,MAAc,EACd,IAAc,EACd,SAAiB,GAClB,GACF,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAoDrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Size, Shape, Contrast, Value } from '../../../context/FormContext';
|
|
2
|
+
export declare function getSizeHeight(size: Size): number;
|
|
3
|
+
export declare function getSizeHorizontalPadding(size: Size): number;
|
|
4
|
+
export declare function getShapeBorderRadius(shape: Shape): number;
|
|
5
|
+
export declare function getContrastBorderColor(contrast: Contrast, error?: boolean): string;
|
|
6
|
+
export declare function getContrastBackgroundColor(contrast: Contrast): string;
|
|
7
|
+
export declare function getContrastColor(contrast: Contrast): string;
|
|
8
|
+
export default function cssField(): import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<Pick<Value, "size" | "shape" | "contrast" | "brandColor"> & {
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
}, any>>;
|
|
11
|
+
//# sourceMappingURL=cssField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cssField.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Form/components/Field/services/cssField.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EAIR,KAAK,EACN,MAAM,8BAA8B,CAAA;AAErC,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAc3D;AAkBD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAczD;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAWlF;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAWrE;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAW3D;AAeD,MAAM,CAAC,OAAO,UAAU,QAAQ;;SAkC/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MarginValue } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
className?: string;
|
|
5
|
+
margin?: MarginValue;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Placeholder/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAc,MAAM,6CAA6C,CAAA;AAwCrF,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAED,wBAmBE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Spinner/index.tsx"],"names":[],"mappings":";AAmBA,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,GAAG,CAAC,OAAO,CAE7C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveValue, TextStyleValue } from '../../../../prop-controllers/descriptors';
|
|
3
|
+
import { ResponsiveColor } from '../../../../runtimes/react/controls';
|
|
4
|
+
import { ColorValue } from '../../../utils/types';
|
|
5
|
+
export declare const Shapes: Readonly<{
|
|
6
|
+
readonly SQUARE: "square";
|
|
7
|
+
readonly ROUNDED: "rounded";
|
|
8
|
+
readonly PILL: "pill";
|
|
9
|
+
}>;
|
|
10
|
+
export declare type Shape = typeof Shapes[keyof typeof Shapes];
|
|
11
|
+
export declare const Sizes: Readonly<{
|
|
12
|
+
readonly SMALL: "small";
|
|
13
|
+
readonly MEDIUM: "medium";
|
|
14
|
+
readonly LARGE: "large";
|
|
15
|
+
}>;
|
|
16
|
+
export declare type Size = typeof Sizes[keyof typeof Sizes];
|
|
17
|
+
export declare const Contrasts: Readonly<{
|
|
18
|
+
readonly LIGHT: "light";
|
|
19
|
+
readonly DARK: "dark";
|
|
20
|
+
}>;
|
|
21
|
+
export declare type Contrast = typeof Contrasts[keyof typeof Contrasts];
|
|
22
|
+
export declare type Value = {
|
|
23
|
+
shape: ResponsiveValue<Shape> | null | undefined;
|
|
24
|
+
size: ResponsiveValue<Size> | null | undefined;
|
|
25
|
+
contrast: ResponsiveValue<Contrast> | null | undefined;
|
|
26
|
+
brandColor: ResponsiveValue<ColorValue> | null | undefined;
|
|
27
|
+
labelTextStyle?: TextStyleValue;
|
|
28
|
+
labelTextColor?: ResponsiveColor;
|
|
29
|
+
};
|
|
30
|
+
export declare function useFormContext(): Value;
|
|
31
|
+
declare const Provider: import("react").Provider<Value>;
|
|
32
|
+
export { Provider };
|
|
33
|
+
//# sourceMappingURL=FormContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/context/FormContext.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,eAAO,MAAM,MAAM;;;;EAIR,CAAA;AAEX,oBAAY,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAA;AAEtD,eAAO,MAAM,KAAK;;;;EAIP,CAAA;AAEX,oBAAY,IAAI,GAAG,OAAO,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,CAAA;AAEnD,eAAO,MAAM,SAAS;;;EAGX,CAAA;AAEX,oBAAY,QAAQ,GAAG,OAAO,SAAS,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA;AAE/D,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAChD,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAC9C,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IACtD,UAAU,EAAE,eAAe,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAC1D,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,cAAc,CAAC,EAAE,eAAe,CAAA;CACjC,CAAA;AAID,wBAAgB,cAAc,IAAI,KAAK,CAEtC;AAED,QAAA,MAAQ,QAAQ,iCAAY,CAAA;AAE5B,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAKA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAkB9C,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAIjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA+DD,QAAA,MAAM,cAAc,oGAiFlB,CAAA;AAEF,eAAe,cAAc,CAAA;AAE7B,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAkBtD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue,
|
|
2
|
+
import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { ReactRuntime } from '../../../react';
|
|
4
4
|
import { Props } from '../../../prop-controllers';
|
|
5
|
+
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
5
6
|
declare type Props = {
|
|
6
7
|
id?: ElementIDValue;
|
|
7
8
|
links?: NavigationLinksValue;
|
|
@@ -14,10 +15,10 @@ declare type Props = {
|
|
|
14
15
|
alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
15
16
|
gutter?: GapXValue;
|
|
16
17
|
mobileMenuAnimation?: ResponsiveSelectValue<'coverRight' | 'coverLeft'>;
|
|
17
|
-
mobileMenuOpenIconColor?:
|
|
18
|
-
mobileMenuCloseIconColor?:
|
|
19
|
-
mobileMenuBackgroundColor?:
|
|
20
|
-
width?:
|
|
18
|
+
mobileMenuOpenIconColor?: ResponsiveColor;
|
|
19
|
+
mobileMenuCloseIconColor?: ResponsiveColor;
|
|
20
|
+
mobileMenuBackgroundColor?: ResponsiveColor;
|
|
21
|
+
width?: string;
|
|
21
22
|
margin?: MarginValue;
|
|
22
23
|
};
|
|
23
24
|
declare const Navigation: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/Navigation.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/Navigation.tsx"],"names":[],"mappings":";AAYA,OAAO,EAEL,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACf,MAAM,uCAAuC,CAAA;AAI9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,aAAa,CAAC,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvE,uBAAuB,CAAC,EAAE,eAAe,CAAA;IACzC,wBAAwB,CAAC,EAAE,eAAe,CAAA;IAC1C,yBAAyB,CAAC,EAAE,eAAe,CAAA;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAuDD,QAAA,MAAM,UAAU,kGAwEd,CAAA;AAEF,eAAe,UAAU,CAAA;AAEzB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA+EtD"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ResponsiveValue, NavigationLinksValue
|
|
2
|
+
import { ResponsiveValue, NavigationLinksValue } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
import { ResponsiveColor } from '../../../../../runtimes/react/controls';
|
|
3
4
|
declare type Props = {
|
|
4
5
|
animation?: ResponsiveValue<'coverRight' | 'coverLeft'>;
|
|
5
|
-
backgroundColor?:
|
|
6
|
-
closeIconColor?:
|
|
6
|
+
backgroundColor?: ResponsiveColor;
|
|
7
|
+
closeIconColor?: ResponsiveColor;
|
|
7
8
|
links?: NavigationLinksValue;
|
|
8
9
|
onClose?: () => unknown;
|
|
9
10
|
open?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/MobileMenu/index.tsx"],"names":[],"mappings":";AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/MobileMenu/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAA;AAOnG,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAyDxE,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,eAAe,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvD,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,cAAc,CAAC,EAAE,eAAe,CAAA;IAChC,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,OAAO,CAAA;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,SAAS,EACT,eAAe,EACf,IAAY,EACZ,cAAc,EACd,KAAU,EACV,OAAkB,GACnB,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAuBrB"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ElementIDValue, SocialLinksValue, ResponsiveIconRadioGroupValue, ResponsiveSelectValue,
|
|
2
|
+
import { ElementIDValue, SocialLinksValue, ResponsiveIconRadioGroupValue, ResponsiveSelectValue, GapXValue, MarginValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { ReactRuntime } from '../../../react';
|
|
4
4
|
import { Props } from '../../../prop-controllers';
|
|
5
|
+
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
5
6
|
declare type Props = {
|
|
6
7
|
id?: ElementIDValue;
|
|
7
8
|
links?: SocialLinksValue;
|
|
8
9
|
shape?: ResponsiveIconRadioGroupValue<'naked' | 'circle' | 'rounded' | 'square'>;
|
|
9
10
|
size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
|
|
10
11
|
hoverStyle?: ResponsiveSelectValue<'none' | 'grow' | 'shrink' | 'fade'>;
|
|
11
|
-
fill?:
|
|
12
|
-
backgroundColor?:
|
|
12
|
+
fill?: ResponsiveColor;
|
|
13
|
+
backgroundColor?: ResponsiveColor;
|
|
13
14
|
alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
14
15
|
gutter?: GapXValue;
|
|
15
|
-
width?:
|
|
16
|
+
width?: string;
|
|
16
17
|
margin?: MarginValue;
|
|
17
18
|
};
|
|
18
19
|
declare const SocialLinks: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialLinks.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/SocialLinks.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"SocialLinks.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/SocialLinks.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,SAAS,EACT,WAAW,EACZ,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,KAAK,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IAChF,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,UAAU,CAAC,EAAE,qBAAqB,CAAC,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAA;IACvE,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AA2ED,QAAA,MAAM,WAAW,kGAkDf,CAAA;AAEF,eAAe,WAAW,CAAA;AAE1B,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAuGtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ElementIDValue, MarginValue, RichTextDescriptor, RichTextValue
|
|
2
|
+
import { ElementIDValue, MarginValue, RichTextDescriptor, RichTextValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { BoxModelHandle } from '../../../box-model';
|
|
4
4
|
import { PropControllersHandle } from '../../../state/modules/prop-controller-handles';
|
|
5
5
|
import { ReactRuntime } from '../../../react';
|
|
@@ -7,7 +7,7 @@ import { Props } from '../../../prop-controllers';
|
|
|
7
7
|
declare type Props = {
|
|
8
8
|
id?: ElementIDValue;
|
|
9
9
|
text?: RichTextValue;
|
|
10
|
-
width?:
|
|
10
|
+
width?: string;
|
|
11
11
|
margin?: MarginValue;
|
|
12
12
|
};
|
|
13
13
|
declare type Descriptors = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/Text.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/Text.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,aAAa,EACd,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AAEtF,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAaD,aAAK,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAA;AAEhD,QAAA,MAAM,IAAI,uIA8HR,CAAA;AAEF,eAAe,IAAI,CAAA;AAEnB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAsEtD"}
|