motion-dom 12.28.1 → 12.28.2
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/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/animation/waapi/utils/px-values.mjs +2 -1
- package/dist/es/animation/waapi/utils/px-values.mjs.map +1 -1
- package/dist/es/value/types/maps/number.mjs +2 -1
- package/dist/es/value/types/maps/number.mjs.map +1 -1
- package/dist/motion-dom.dev.js +4 -2
- package/dist/motion-dom.js +1 -1
- package/dist/size-rollup-style-effect.js +1 -1
- package/dist/size-rollup-style-effect.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,6 @@ const pxValues = new Set([
|
|
|
6
6
|
"borderBottomWidth",
|
|
7
7
|
"borderLeftWidth",
|
|
8
8
|
"borderRadius",
|
|
9
|
-
"radius",
|
|
10
9
|
"borderTopLeftRadius",
|
|
11
10
|
"borderTopRightRadius",
|
|
12
11
|
"borderBottomRightRadius",
|
|
@@ -50,6 +49,8 @@ const pxValues = new Set([
|
|
|
50
49
|
"marginInline",
|
|
51
50
|
"marginInlineStart",
|
|
52
51
|
"marginInlineEnd",
|
|
52
|
+
// Typography
|
|
53
|
+
"fontSize",
|
|
53
54
|
// Misc
|
|
54
55
|
"backgroundPositionX",
|
|
55
56
|
"backgroundPositionY",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"px-values.mjs","sources":["../../../../../src/animation/waapi/utils/px-values.ts"],"sourcesContent":["export const pxValues = new Set([\n // Border props\n \"borderWidth\",\n \"borderTopWidth\",\n \"borderRightWidth\",\n \"borderBottomWidth\",\n \"borderLeftWidth\",\n \"borderRadius\",\n \"
|
|
1
|
+
{"version":3,"file":"px-values.mjs","sources":["../../../../../src/animation/waapi/utils/px-values.ts"],"sourcesContent":["export const pxValues = new Set([\n // Border props\n \"borderWidth\",\n \"borderTopWidth\",\n \"borderRightWidth\",\n \"borderBottomWidth\",\n \"borderLeftWidth\",\n \"borderRadius\",\n \"borderTopLeftRadius\",\n \"borderTopRightRadius\",\n \"borderBottomRightRadius\",\n \"borderBottomLeftRadius\",\n // Positioning props\n \"width\",\n \"maxWidth\",\n \"height\",\n \"maxHeight\",\n \"top\",\n \"right\",\n \"bottom\",\n \"left\",\n \"inset\",\n \"insetBlock\",\n \"insetBlockStart\",\n \"insetBlockEnd\",\n \"insetInline\",\n \"insetInlineStart\",\n \"insetInlineEnd\",\n // Spacing props\n \"padding\",\n \"paddingTop\",\n \"paddingRight\",\n \"paddingBottom\",\n \"paddingLeft\",\n \"paddingBlock\",\n \"paddingBlockStart\",\n \"paddingBlockEnd\",\n \"paddingInline\",\n \"paddingInlineStart\",\n \"paddingInlineEnd\",\n \"margin\",\n \"marginTop\",\n \"marginRight\",\n \"marginBottom\",\n \"marginLeft\",\n \"marginBlock\",\n \"marginBlockStart\",\n \"marginBlockEnd\",\n \"marginInline\",\n \"marginInlineStart\",\n \"marginInlineEnd\",\n // Typography\n \"fontSize\",\n // Misc\n \"backgroundPositionX\",\n \"backgroundPositionY\",\n])\n"],"names":[],"mappings":"AAAa,MAAA,QAAQ,GAAG,IAAI,GAAG,CAAC;;IAE5B,aAAa;IACb,gBAAgB;IAChB,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,cAAc;IACd,qBAAqB;IACrB,sBAAsB;IACtB,yBAAyB;IACzB,wBAAwB;;IAExB,OAAO;IACP,UAAU;IACV,QAAQ;IACR,WAAW;IACX,KAAK;IACL,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,YAAY;IACZ,iBAAiB;IACjB,eAAe;IACf,aAAa;IACb,kBAAkB;IAClB,gBAAgB;;IAEhB,SAAS;IACT,YAAY;IACZ,cAAc;IACd,eAAe;IACf,aAAa;IACb,cAAc;IACd,mBAAmB;IACnB,iBAAiB;IACjB,eAAe;IACf,oBAAoB;IACpB,kBAAkB;IAClB,QAAQ;IACR,WAAW;IACX,aAAa;IACb,cAAc;IACd,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,cAAc;IACd,mBAAmB;IACnB,iBAAiB;;IAEjB,UAAU;;IAEV,qBAAqB;IACrB,qBAAqB;AACxB,CAAA;;;;"}
|
|
@@ -11,7 +11,6 @@ const numberValueTypes = {
|
|
|
11
11
|
borderBottomWidth: px,
|
|
12
12
|
borderLeftWidth: px,
|
|
13
13
|
borderRadius: px,
|
|
14
|
-
radius: px,
|
|
15
14
|
borderTopLeftRadius: px,
|
|
16
15
|
borderTopRightRadius: px,
|
|
17
16
|
borderBottomRightRadius: px,
|
|
@@ -55,6 +54,8 @@ const numberValueTypes = {
|
|
|
55
54
|
marginInline: px,
|
|
56
55
|
marginInlineStart: px,
|
|
57
56
|
marginInlineEnd: px,
|
|
57
|
+
// Typography
|
|
58
|
+
fontSize: px,
|
|
58
59
|
// Misc
|
|
59
60
|
backgroundPositionX: px,
|
|
60
61
|
backgroundPositionY: px,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number.mjs","sources":["../../../../../src/value/types/maps/number.ts"],"sourcesContent":["import { int } from \"../int\"\nimport { alpha } from \"../numbers\"\nimport { px } from \"../numbers/units\"\nimport { transformValueTypes } from \"./transform\"\nimport { ValueTypeMap } from \"./types\"\n\nexport const numberValueTypes: ValueTypeMap = {\n // Border props\n borderWidth: px,\n borderTopWidth: px,\n borderRightWidth: px,\n borderBottomWidth: px,\n borderLeftWidth: px,\n borderRadius: px,\n
|
|
1
|
+
{"version":3,"file":"number.mjs","sources":["../../../../../src/value/types/maps/number.ts"],"sourcesContent":["import { int } from \"../int\"\nimport { alpha } from \"../numbers\"\nimport { px } from \"../numbers/units\"\nimport { transformValueTypes } from \"./transform\"\nimport { ValueTypeMap } from \"./types\"\n\nexport const numberValueTypes: ValueTypeMap = {\n // Border props\n borderWidth: px,\n borderTopWidth: px,\n borderRightWidth: px,\n borderBottomWidth: px,\n borderLeftWidth: px,\n borderRadius: px,\n borderTopLeftRadius: px,\n borderTopRightRadius: px,\n borderBottomRightRadius: px,\n borderBottomLeftRadius: px,\n\n // Positioning props\n width: px,\n maxWidth: px,\n height: px,\n maxHeight: px,\n top: px,\n right: px,\n bottom: px,\n left: px,\n inset: px,\n insetBlock: px,\n insetBlockStart: px,\n insetBlockEnd: px,\n insetInline: px,\n insetInlineStart: px,\n insetInlineEnd: px,\n\n // Spacing props\n padding: px,\n paddingTop: px,\n paddingRight: px,\n paddingBottom: px,\n paddingLeft: px,\n paddingBlock: px,\n paddingBlockStart: px,\n paddingBlockEnd: px,\n paddingInline: px,\n paddingInlineStart: px,\n paddingInlineEnd: px,\n margin: px,\n marginTop: px,\n marginRight: px,\n marginBottom: px,\n marginLeft: px,\n marginBlock: px,\n marginBlockStart: px,\n marginBlockEnd: px,\n marginInline: px,\n marginInlineStart: px,\n marginInlineEnd: px,\n\n // Typography\n fontSize: px,\n\n // Misc\n backgroundPositionX: px,\n backgroundPositionY: px,\n\n ...transformValueTypes,\n zIndex: int,\n\n // SVG\n fillOpacity: alpha,\n strokeOpacity: alpha,\n numOctaves: int,\n}\n"],"names":[],"mappings":";;;;;AAMa,MAAA,gBAAgB,GAAiB;;AAE1C,IAAA,WAAW,EAAE,EAAE;AACf,IAAA,cAAc,EAAE,EAAE;AAClB,IAAA,gBAAgB,EAAE,EAAE;AACpB,IAAA,iBAAiB,EAAE,EAAE;AACrB,IAAA,eAAe,EAAE,EAAE;AACnB,IAAA,YAAY,EAAE,EAAE;AAChB,IAAA,mBAAmB,EAAE,EAAE;AACvB,IAAA,oBAAoB,EAAE,EAAE;AACxB,IAAA,uBAAuB,EAAE,EAAE;AAC3B,IAAA,sBAAsB,EAAE,EAAE;;AAG1B,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,QAAQ,EAAE,EAAE;AACZ,IAAA,MAAM,EAAE,EAAE;AACV,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,GAAG,EAAE,EAAE;AACP,IAAA,KAAK,EAAE,EA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546,7 +3546,6 @@
|
|
|
3546
3546
|
borderBottomWidth: px,
|
|
3547
3547
|
borderLeftWidth: px,
|
|
3548
3548
|
borderRadius: px,
|
|
3549
|
-
radius: px,
|
|
3550
3549
|
borderTopLeftRadius: px,
|
|
3551
3550
|
borderTopRightRadius: px,
|
|
3552
3551
|
borderBottomRightRadius: px,
|
|
@@ -3590,6 +3589,8 @@
|
|
|
3590
3589
|
marginInline: px,
|
|
3591
3590
|
marginInlineStart: px,
|
|
3592
3591
|
marginInlineEnd: px,
|
|
3592
|
+
// Typography
|
|
3593
|
+
fontSize: px,
|
|
3593
3594
|
// Misc
|
|
3594
3595
|
backgroundPositionX: px,
|
|
3595
3596
|
backgroundPositionY: px,
|
|
@@ -3801,7 +3802,6 @@
|
|
|
3801
3802
|
"borderBottomWidth",
|
|
3802
3803
|
"borderLeftWidth",
|
|
3803
3804
|
"borderRadius",
|
|
3804
|
-
"radius",
|
|
3805
3805
|
"borderTopLeftRadius",
|
|
3806
3806
|
"borderTopRightRadius",
|
|
3807
3807
|
"borderBottomRightRadius",
|
|
@@ -3845,6 +3845,8 @@
|
|
|
3845
3845
|
"marginInline",
|
|
3846
3846
|
"marginInlineStart",
|
|
3847
3847
|
"marginInlineEnd",
|
|
3848
|
+
// Typography
|
|
3849
|
+
"fontSize",
|
|
3848
3850
|
// Misc
|
|
3849
3851
|
"backgroundPositionX",
|
|
3850
3852
|
"backgroundPositionY",
|