@makeswift/runtime 0.1.6 → 0.1.9
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/Box.cjs.js +4 -3
- package/dist/Box.cjs.js.map +1 -1
- package/dist/Box.es.js +5 -4
- package/dist/Box.es.js.map +1 -1
- package/dist/Button.cjs.js +5 -3
- package/dist/Button.cjs.js.map +1 -1
- package/dist/Button.es.js +16 -14
- package/dist/Button.es.js.map +1 -1
- package/dist/Carousel.cjs.js +4 -3
- package/dist/Carousel.cjs.js.map +1 -1
- package/dist/Carousel.es.js +5 -4
- package/dist/Carousel.es.js.map +1 -1
- package/dist/Countdown.cjs.js +4 -3
- package/dist/Countdown.cjs.js.map +1 -1
- package/dist/Countdown.es.js +5 -4
- package/dist/Countdown.es.js.map +1 -1
- package/dist/Divider.cjs.js +4 -3
- package/dist/Divider.cjs.js.map +1 -1
- package/dist/Divider.es.js +5 -4
- package/dist/Divider.es.js.map +1 -1
- package/dist/Embed.cjs.js +4 -3
- package/dist/Embed.cjs.js.map +1 -1
- package/dist/Embed.es.js +5 -4
- package/dist/Embed.es.js.map +1 -1
- package/dist/Form.cjs.js +7 -3
- package/dist/Form.cjs.js.map +1 -1
- package/dist/Form.es.js +9 -5
- package/dist/Form.es.js.map +1 -1
- package/dist/Image.cjs2.js +6 -4
- package/dist/Image.cjs2.js.map +1 -1
- package/dist/Image.es2.js +10 -8
- package/dist/Image.es2.js.map +1 -1
- package/dist/Navigation.cjs.js +4 -3
- package/dist/Navigation.cjs.js.map +1 -1
- package/dist/Navigation.es.js +5 -4
- package/dist/Navigation.es.js.map +1 -1
- package/dist/SocialLinks.cjs.js +3 -2
- package/dist/SocialLinks.cjs.js.map +1 -1
- package/dist/SocialLinks.es.js +4 -3
- package/dist/SocialLinks.es.js.map +1 -1
- package/dist/Text.cjs.js +7 -3
- package/dist/Text.cjs.js.map +1 -1
- package/dist/Text.es.js +9 -5
- package/dist/Text.es.js.map +1 -1
- package/dist/Video.cjs.js +4 -3
- package/dist/Video.cjs.js.map +1 -1
- package/dist/Video.es.js +5 -4
- package/dist/Video.es.js.map +1 -1
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +1 -1
- package/dist/cssMediaRules.es.js +1 -1
- package/dist/index.cjs.js +8 -29
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs3.js +27 -11
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.es.js +9 -29
- package/dist/index.es.js.map +1 -1
- package/dist/index.es2.js +1 -1
- package/dist/index.es3.js +28 -12
- package/dist/index.es3.js.map +1 -1
- package/dist/next.es.js +1 -1
- package/dist/react-builder-preview.es.js +1 -1
- package/dist/react-page.cjs.js +3 -3
- package/dist/react-page.cjs.js.map +1 -1
- package/dist/react-page.es.js +3 -3
- package/dist/react-page.es.js.map +1 -1
- 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 +2 -1
- package/dist/types/components/builtin/Button/Button.d.ts.map +1 -1
- package/dist/types/components/builtin/Carousel/Carousel.d.ts +2 -2
- package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -1
- package/dist/types/components/builtin/Carousel/register.d.ts.map +1 -1
- package/dist/types/components/builtin/Countdown/Countdown.d.ts +2 -2
- package/dist/types/components/builtin/Countdown/Countdown.d.ts.map +1 -1
- package/dist/types/components/builtin/Countdown/register.d.ts.map +1 -1
- package/dist/types/components/builtin/Divider/Divider.d.ts +2 -2
- package/dist/types/components/builtin/Divider/Divider.d.ts.map +1 -1
- package/dist/types/components/builtin/Divider/register.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 +2 -2
- package/dist/types/components/builtin/Form/Form.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts +2 -1
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/register.d.ts.map +1 -1
- package/dist/types/components/builtin/Image/Image.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/Navigation.d.ts +2 -2
- package/dist/types/components/builtin/Navigation/Navigation.d.ts.map +1 -1
- package/dist/types/components/builtin/Navigation/register.d.ts.map +1 -1
- package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts +2 -2
- package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -1
- package/dist/types/components/builtin/SocialLinks/register.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/Text/components/RichTextEditor/index.d.ts.map +1 -1
- package/dist/types/components/builtin/Text/register.d.ts.map +1 -1
- package/dist/types/components/builtin/Video/Video.d.ts +2 -2
- package/dist/types/components/builtin/Video/Video.d.ts.map +1 -1
- package/dist/types/components/builtin/Video/register.d.ts.map +1 -1
- package/dist/types/components/shared/Link/index.d.ts.map +1 -1
- package/dist/useBoxShadow.es.js +1 -1
- package/dist/useMediaQuery.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DateValue, ElementIDValue, FontValue, GapXValue, MarginValue, ResponsiveIconRadioGroupValue, TextInputValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { DateValue, ElementIDValue, FontValue, GapXValue, MarginValue, ResponsiveIconRadioGroupValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
id?: ElementIDValue;
|
|
@@ -13,7 +13,7 @@ declare type Props = {
|
|
|
13
13
|
blockColor?: ResponsiveColor | null;
|
|
14
14
|
labelFont?: FontValue;
|
|
15
15
|
labelColor?: ResponsiveColor | null;
|
|
16
|
-
width?:
|
|
16
|
+
width?: WidthValue;
|
|
17
17
|
margin?: MarginValue;
|
|
18
18
|
daysLabel?: TextInputValue;
|
|
19
19
|
hoursLabel?: TextInputValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Countdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/Countdown.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Countdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/Countdown.tsx"],"names":[],"mappings":";AAMA,OAAO,EAEL,SAAS,EACT,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,EACX,6BAA6B,EAC7B,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,6BAA6B,CACrC,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,OAAO,CAClE,CAAA;IACD,KAAK,CAAC,EAAE,6BAA6B,CAAC,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IACpE,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,WAAW,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACpC,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,YAAY,CAAC,EAAE,cAAc,CAAA;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAsPD,QAAA,MAAM,SAAS,kGA4Eb,CAAA;AAEF,eAAe,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/register.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/register.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAsFtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ElementIDValue, MarginValue, ResponsiveLengthValue, ResponsiveSelectValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { ElementIDValue, MarginValue, ResponsiveLengthValue, ResponsiveSelectValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
4
4
|
declare type DividerVariant = 'solid' | 'dashed' | 'dotted' | 'blended';
|
|
5
5
|
declare type Props = {
|
|
@@ -7,7 +7,7 @@ declare type Props = {
|
|
|
7
7
|
variant?: ResponsiveSelectValue<DividerVariant>;
|
|
8
8
|
thickness?: ResponsiveLengthValue;
|
|
9
9
|
color?: ResponsiveColor | null;
|
|
10
|
-
width?:
|
|
10
|
+
width?: WidthValue;
|
|
11
11
|
margin?: MarginValue;
|
|
12
12
|
};
|
|
13
13
|
declare const Divider: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/Divider.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/Divider.tsx"],"names":[],"mappings":";AAIA,OAAO,EAEL,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,EACX,MAAM,uCAAuC,CAAA;AAG9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,aAAK,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE/D,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAA;IAC/C,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAsED,QAAA,MAAM,OAAO,kGAYX,CAAA;AAEF,eAAe,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/register.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/register.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA+BtD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ElementIDValue, MarginValue, TextAreaValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { ElementIDValue, MarginValue, TextAreaValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
declare type Props = {
|
|
4
4
|
id?: ElementIDValue;
|
|
5
5
|
html?: TextAreaValue;
|
|
6
|
-
width?:
|
|
6
|
+
width?: WidthValue;
|
|
7
7
|
margin?: MarginValue;
|
|
8
8
|
};
|
|
9
9
|
declare const Embed: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Embed.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Embed/Embed.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Embed.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Embed/Embed.tsx"],"names":[],"mappings":";AAMA,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,uCAAuC,CAAA;AAG9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAmCD,QAAA,MAAM,KAAK,kGA0ET,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Size, Shape, Contrast, Alignment } from './context/FormContext';
|
|
3
|
-
import { ElementIDValue, GapYValue, LinkValue, MarginValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TableFormFieldsDescriptor, TableFormFieldsValue, TableValue, TextInputValue, TextStyleValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ElementIDValue, GapYValue, LinkValue, MarginValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TableFormFieldsDescriptor, TableFormFieldsValue, TableValue, TextInputValue, TextStyleValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
4
4
|
import { BoxModelHandle } from '../../../box-model';
|
|
5
5
|
import { PropControllersHandle } from '../../../state/modules/prop-controller-handles';
|
|
6
6
|
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
@@ -22,7 +22,7 @@ declare type Props = {
|
|
|
22
22
|
submitVariant?: ResponsiveSelectValue<'flat' | 'outline' | 'shadow' | 'clear' | 'blocky' | 'bubbly' | 'skewed'>;
|
|
23
23
|
submitWidth?: ResponsiveLengthValue;
|
|
24
24
|
submitAlignment?: ResponsiveIconRadioGroupValue<Alignment>;
|
|
25
|
-
width?:
|
|
25
|
+
width?: WidthValue;
|
|
26
26
|
margin?: MarginValue;
|
|
27
27
|
};
|
|
28
28
|
declare type Descriptors = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/Form.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/Form.tsx"],"names":[],"mappings":";AAiBA,OAAO,EACL,IAAI,EAGJ,KAAK,EACL,QAAQ,EACR,SAAS,EAEV,MAAM,uBAAuB,CAAA;AAO9B,OAAO,EACL,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,EACX,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,UAAU,EACV,cAAc,EACd,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AAItF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAqBlE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,6BAA6B,CAAC,KAAK,CAAC,CAAA;IAC5C,IAAI,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAC,CAAA;IAC1C,QAAQ,CAAC,EAAE,6BAA6B,CAAC,QAAQ,CAAC,CAAA;IAClD,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,cAAc,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACvC,eAAe,CAAC,EAAE,cAAc,CAAA;IAChC,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,aAAa,CAAC,EAAE,qBAAqB,CACnC,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CACzE,CAAA;IACD,WAAW,CAAC,EAAE,qBAAqB,CAAA;IACnC,eAAe,CAAC,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAA;IAC1D,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAoHD,aAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,yBAAyB,CAAA;CAAE,CAAA;AAEzD,QAAA,MAAM,IAAI,uIA0QR,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MarginValue } from '../../../../../prop-controllers/descriptors';
|
|
2
|
+
import { MarginValue, WidthValue } from '../../../../../prop-controllers/descriptors';
|
|
3
3
|
declare type Props = {
|
|
4
4
|
className?: string;
|
|
5
|
+
width?: WidthValue;
|
|
5
6
|
margin?: MarginValue;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Placeholder/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Placeholder/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAA;AA2CrF,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAED,wBAmBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAItD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAItD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA0HtD"}
|
|
@@ -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":";AAIA,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;AAsB9C,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;AA8ED,QAAA,MAAM,cAAc,oGA8ElB,CAAA;AAEF,eAAe,cAAc,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
id?: ElementIDValue;
|
|
@@ -16,7 +16,7 @@ declare type Props = {
|
|
|
16
16
|
mobileMenuOpenIconColor?: ResponsiveColor | null;
|
|
17
17
|
mobileMenuCloseIconColor?: ResponsiveColor | null;
|
|
18
18
|
mobileMenuBackgroundColor?: ResponsiveColor | null;
|
|
19
|
-
width?:
|
|
19
|
+
width?: WidthValue;
|
|
20
20
|
margin?: MarginValue;
|
|
21
21
|
};
|
|
22
22
|
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":";AAWA,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,EAEd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAI9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAGlE,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,GAAG,IAAI,CAAA;IAChD,wBAAwB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACjD,yBAAyB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAClD,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AA0FD,QAAA,MAAM,UAAU,kGAiFd,CAAA;AAEF,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAmGtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ElementIDValue, SocialLinksValue, ResponsiveIconRadioGroupValue, ResponsiveSelectValue, GapXValue, MarginValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { ElementIDValue, SocialLinksValue, ResponsiveIconRadioGroupValue, ResponsiveSelectValue, GapXValue, MarginValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
id?: ElementIDValue;
|
|
@@ -11,7 +11,7 @@ declare type Props = {
|
|
|
11
11
|
backgroundColor?: ResponsiveColor | null;
|
|
12
12
|
alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
13
13
|
gutter?: GapXValue;
|
|
14
|
-
width?:
|
|
14
|
+
width?: WidthValue;
|
|
15
15
|
margin?: MarginValue;
|
|
16
16
|
};
|
|
17
17
|
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":";
|
|
1
|
+
{"version":3,"file":"SocialLinks.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/SocialLinks.tsx"],"names":[],"mappings":";AAUA,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,SAAS,EACT,WAAW,EACX,UAAU,EACX,MAAM,uCAAuC,CAAA;AAC9C,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,GAAG,IAAI,CAAA;IAC7B,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACxC,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAoFD,QAAA,MAAM,WAAW,kGAkDf,CAAA;AAEF,eAAe,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/register.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/register.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA8HtD"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ElementIDValue, MarginValue, RichTextDescriptor, RichTextValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { ElementIDValue, MarginValue, RichTextDescriptor, RichTextValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
import { BoxModelHandle } from '../../../box-model';
|
|
4
4
|
import { PropControllersHandle } from '../../../state/modules/prop-controller-handles';
|
|
5
5
|
declare type Props = {
|
|
6
6
|
id?: ElementIDValue;
|
|
7
7
|
text?: RichTextValue;
|
|
8
|
-
width?:
|
|
8
|
+
width?: WidthValue;
|
|
9
9
|
margin?: MarginValue;
|
|
10
10
|
};
|
|
11
11
|
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":";AAkBA,OAAO,EACL,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,UAAU,EACX,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AAKtF,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAgBD,aAAK,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAA;AAEhD,QAAA,MAAM,IAAI,uIA8IR,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Text/components/RichTextEditor/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,aAAa,CAAA;AAWnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAI3D,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Text/components/RichTextEditor/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,aAAa,CAAA;AAWnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAI3D,eAAO,MAAM,cAAc,sPA6B1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/register.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/register.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAuEtD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BorderRadiusValue, ElementIDValue, MarginValue, VideoValue } from '../../../prop-controllers/descriptors';
|
|
2
|
+
import { BorderRadiusValue, ElementIDValue, MarginValue, VideoValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
3
|
declare type Props = {
|
|
4
4
|
id?: ElementIDValue;
|
|
5
5
|
video?: VideoValue;
|
|
6
|
-
width?:
|
|
6
|
+
width?: WidthValue;
|
|
7
7
|
margin?: MarginValue;
|
|
8
8
|
borderRadius?: BorderRadiusValue;
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Video/Video.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Video/Video.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACX,MAAM,uCAAuC,CAAA;AAI9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;CACjC,CAAA;AAeD,QAAA,MAAM,KAAK,kGA+BT,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Video/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Video/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAgBtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAE,MAAM,OAAO,CAAA;AAIxE,OAAO,EAAE,SAAS,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAI5F,aAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAA;CAC5D,CAAA;AAID,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAE,MAAM,OAAO,CAAA;AAIxE,OAAO,EAAE,SAAS,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAI5F,aAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAA;CAC5D,CAAA;AAID,eAAO,MAAM,IAAI,6TAuHf,CAAA"}
|
package/dist/useBoxShadow.es.js
CHANGED
|
@@ -29,7 +29,7 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
32
|
+
import { K as isNonNullable, v as useQuery, F as SWATCHES_BY_ID } from "./index.es.js";
|
|
33
33
|
const ShadowDefaultValue = {
|
|
34
34
|
inset: false,
|
|
35
35
|
offsetX: 0,
|
package/dist/useMediaQuery.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { y as DEVICES, z as findDeviceOverride, q as useIsomorphicLayoutEffect, J as getDeviceMediaQuery } from "./index.es.js";
|
|
3
3
|
function useMediaQuery(responsiveValue) {
|
|
4
4
|
const [deviceId, setDeviceId] = useState(DEVICES[0].id);
|
|
5
5
|
const { value } = findDeviceOverride(responsiveValue, deviceId) || {};
|