@symbo.ls/create 2.11.276 → 2.11.279

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.
@@ -12395,8 +12395,8 @@ var Block = {
12395
12395
  return;
12396
12396
  const [marginInlineStart, marginInlineEnd] = props4.marginInline.split(" ");
12397
12397
  return {
12398
- ...deps.getSpacingByKey("marginInlineStart", marginInlineStart),
12399
- ...deps.getSpacingByKey("marginInlineEnd", marginInlineEnd || marginInlineStart)
12398
+ ...deps.transformSize("marginInlineStart", marginInlineStart),
12399
+ ...deps.transformSize("marginInlineEnd", marginInlineEnd || marginInlineStart)
12400
12400
  };
12401
12401
  },
12402
12402
  marginBlock: ({ props: props4, deps }) => {
@@ -12404,8 +12404,8 @@ var Block = {
12404
12404
  return;
12405
12405
  const [marginBlockStart, marginBlockEnd] = props4.marginBlock.split(" ");
12406
12406
  return {
12407
- ...deps.getSpacingByKey("marginBlockStart", marginBlockStart),
12408
- ...deps.getSpacingByKey("marginBlockEnd", marginBlockEnd || marginBlockStart)
12407
+ ...deps.transformSize("marginBlockStart", marginBlockStart),
12408
+ ...deps.transformSize("marginBlockEnd", marginBlockEnd || marginBlockStart)
12409
12409
  };
12410
12410
  },
12411
12411
  marginInlineStart: ({ props: props4, deps }) => deps.transformSizeRatio("marginInlineStart", props4),
@@ -17091,13 +17091,11 @@ var UploadIcon = {
17091
17091
  padding: "B B2"
17092
17092
  },
17093
17093
  Input: {
17094
- props: {
17095
- type: "file",
17096
- position: "absolute",
17097
- inset: "0 0 0 0",
17098
- opacity: "0",
17099
- visibility: "hidden"
17100
- }
17094
+ type: "file",
17095
+ position: "absolute",
17096
+ inset: "0 0 0 0",
17097
+ opacity: "0",
17098
+ visibility: "hidden"
17101
17099
  },
17102
17100
  Icon: {
17103
17101
  props: {
@@ -21502,7 +21500,6 @@ var DevFocus = {
21502
21500
  on: {
21503
21501
  init: ({ context }) => {
21504
21502
  const { components } = context;
21505
- console.log(components);
21506
21503
  if ((0, import_utils21.isObject)(components)) {
21507
21504
  const { Content, ...rest } = components;
21508
21505
  for (const key in rest) {
@@ -22406,10 +22403,10 @@ var createDomqlElement = (App, options) => {
22406
22403
 
22407
22404
  // src/index.js
22408
22405
  var SYMBOLS_KEY2 = process.env.SYMBOLS_KEY;
22409
- var mergeWithLocalFile2 = (options, optionsExternalFile) => {
22410
- const rcfile = (0, import_utils29.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {};
22411
- return (0, import_utils29.deepMerge)(options, rcfile);
22412
- };
22406
+ var mergeWithLocalFile2 = (options, optionsExternalFile) => (0, import_utils29.deepMerge)(
22407
+ options,
22408
+ (0, import_utils29.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {}
22409
+ );
22413
22410
  var create = (App, options = options_default, optionsExternalFile) => {
22414
22411
  const redefinedOptions = { ...options_default, ...mergeWithLocalFile2(options, optionsExternalFile) };
22415
22412
  const domqlApp = createDomqlElement(App, redefinedOptions);
package/dist/cjs/index.js CHANGED
@@ -43,10 +43,10 @@ var import_options = __toESM(require("./options"), 1);
43
43
  var import_dynamic = __toESM(require("@symbo.ls/init/dynamic.json"), 1);
44
44
  var import_createDomql = require("./createDomql");
45
45
  const SYMBOLS_KEY = process.env.SYMBOLS_KEY;
46
- const mergeWithLocalFile = (options, optionsExternalFile) => {
47
- const rcfile = (0, import_utils.isObject)(optionsExternalFile) ? optionsExternalFile : import_dynamic.default || {};
48
- return (0, import_utils.deepMerge)(options, rcfile);
49
- };
46
+ const mergeWithLocalFile = (options, optionsExternalFile) => (0, import_utils.deepMerge)(
47
+ options,
48
+ (0, import_utils.isObject)(optionsExternalFile) ? optionsExternalFile : import_dynamic.default || {}
49
+ );
50
50
  const create = (App, options = import_options.default, optionsExternalFile) => {
51
51
  const redefinedOptions = { ...import_options.default, ...mergeWithLocalFile(options, optionsExternalFile) };
52
52
  const domqlApp = (0, import_createDomql.createDomqlElement)(App, redefinedOptions);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.276",
3
+ "version": "2.11.279",
4
4
  "license": "MIT",
5
- "gitHead": "ce33b49ad632d606b7304fbda48bade4aa368667",
5
+ "gitHead": "930c65852b7a939a2c3f1e4a6401ddf90919b33d",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/index.js CHANGED
@@ -14,10 +14,10 @@ import { createDomqlElement } from './createDomql'
14
14
 
15
15
  const SYMBOLS_KEY = process.env.SYMBOLS_KEY
16
16
 
17
- const mergeWithLocalFile = (options, optionsExternalFile) => {
18
- const rcfile = isObject(optionsExternalFile) ? optionsExternalFile : DYNAMIC_JSON || {}
19
- return deepMerge(options, rcfile)
20
- }
17
+ const mergeWithLocalFile = (options, optionsExternalFile) => deepMerge(
18
+ options,
19
+ isObject(optionsExternalFile) ? optionsExternalFile : DYNAMIC_JSON || {}
20
+ )
21
21
 
22
22
  export const create = (App, options = DEFAULT_CREATE_OPTIONS, optionsExternalFile) => {
23
23
  const redefinedOptions = { ...DEFAULT_CREATE_OPTIONS, ...mergeWithLocalFile(options, optionsExternalFile) }