@symbo.ls/create 2.11.291 → 2.11.294

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.
@@ -5820,7 +5820,7 @@ var require_cjs9 = __commonJS({
5820
5820
  var { overwriteDeep: overwriteDeep2, deepDestringify } = utils2;
5821
5821
  var { window: window5 } = globals2;
5822
5822
  var IS_DEVELOPMENT = window5 && window5.location ? window5.location.host.includes("dev.") || window5.location.host.includes("symbo.ls") : true;
5823
- var SERVER_URL = IS_DEVELOPMENT ? "http://localhost:13335/" : "https://api.symbols.app/";
5823
+ var SERVER_URL = IS_DEVELOPMENT ? "http://localhost:13335/get/" : "https://api.symbols.app/get/";
5824
5824
  var defaultOptions = {
5825
5825
  endpoint: SERVER_URL
5826
5826
  };
@@ -5856,7 +5856,15 @@ var require_cjs9 = __commonJS({
5856
5856
  overwriteDeep2(options[editor.serviceRoute], evalData);
5857
5857
  }
5858
5858
  } else {
5859
- ["state", "designSystem", "components", "snippets", "pages", "utils", "functions"].forEach((key2) => {
5859
+ [
5860
+ "state",
5861
+ "designSystem",
5862
+ "components",
5863
+ "snippets",
5864
+ "pages",
5865
+ "utils",
5866
+ "functions"
5867
+ ].forEach((key2) => {
5860
5868
  overwriteDeep2(options[key2], evalData[key2.toLowerCase()]);
5861
5869
  });
5862
5870
  }
@@ -13209,628 +13217,7 @@ var createEmotion3 = (key = "smbls", container) => {
13209
13217
  var emotion = createEmotion3();
13210
13218
 
13211
13219
  // ../init/dynamic.json
13212
- var dynamic_default = {
13213
- key: "rosi.symbo.ls",
13214
- name: "Rosi Studios",
13215
- files: {
13216
- "app.js": {
13217
- content: {},
13218
- code: "{ LayoutNav: {} }",
13219
- key: "app.js",
13220
- type: "code",
13221
- format: "js"
13222
- }
13223
- },
13224
- state: {},
13225
- components: {
13226
- Layout: {
13227
- content: {
13228
- props: {
13229
- ignoreChildExtend: true,
13230
- position: "absolute",
13231
- inset: "3.75vw 3.75vw 3.75vw 3.75vw",
13232
- overflow: "hidden"
13233
- }
13234
- }
13235
- },
13236
- Logo: {
13237
- extend: [
13238
- "Link"
13239
- ],
13240
- props: {
13241
- href: "/"
13242
- },
13243
- Icon: {
13244
- name: "logo",
13245
- fontSize: "I"
13246
- }
13247
- },
13248
- FrameLine: {
13249
- extend: [
13250
- "Flex"
13251
- ],
13252
- tag: "nav",
13253
- props: {
13254
- whiteSpace: "nowrap",
13255
- align: "center",
13256
- gap: "0",
13257
- ":nth-child(even)": {
13258
- "> a": {
13259
- ":before": {
13260
- left: "W",
13261
- right: "auto",
13262
- bottom: "100%",
13263
- top: "Z",
13264
- transition: "A bottom ease",
13265
- borderWidth: "0 0 3px 0"
13266
- },
13267
- ":hover:before": {
13268
- bottom: "Z"
13269
- }
13270
- }
13271
- },
13272
- childProps: {
13273
- gap: "X",
13274
- padding: "X 1ch"
13275
- }
13276
- },
13277
- childExtend: {
13278
- extend: "Navlink",
13279
- Span: {}
13280
- },
13281
- $propsCollection: [
13282
- {
13283
- href: "/",
13284
- class: "logo",
13285
- position: "absolute",
13286
- left: "0",
13287
- background: "black",
13288
- padding: "",
13289
- margin: "- -Y1 - 0",
13290
- style: {
13291
- padding: "0 !important"
13292
- },
13293
- zIndex: 2,
13294
- $href: null,
13295
- ":after": {
13296
- hide: true
13297
- },
13298
- ":before": {
13299
- hide: true
13300
- },
13301
- Icon: {
13302
- name: "logo",
13303
- fontSize: "1.5em"
13304
- }
13305
- },
13306
- {
13307
- text: "Rosi Studios",
13308
- href: "/"
13309
- },
13310
- {
13311
- text: "Archive",
13312
- href: "/archive"
13313
- },
13314
- {
13315
- text: "Services",
13316
- href: "/services"
13317
- },
13318
- {
13319
- text: "About",
13320
- href: "/about"
13321
- },
13322
- {
13323
- text: "hello@rosistudios.com",
13324
- href: "/about"
13325
- },
13326
- {
13327
- text: "Working hours",
13328
- href: "/about"
13329
- },
13330
- {
13331
- text: "10am - 6pm",
13332
- href: "/about"
13333
- },
13334
- {
13335
- text: "Monday - Friday",
13336
- href: "/about",
13337
- "@widescreen": {
13338
- hide: true
13339
- },
13340
- "@square": {
13341
- show: true
13342
- }
13343
- },
13344
- {
13345
- text: "Contact",
13346
- href: "/about",
13347
- "@ultrawidescreen": {
13348
- hide: true
13349
- }
13350
- },
13351
- {
13352
- text: "29 Tabukashvili Street",
13353
- href: "/about"
13354
- },
13355
- {
13356
- text: "0108",
13357
- href: "/about"
13358
- },
13359
- {
13360
- text: "Tbilisi",
13361
- href: "/about"
13362
- },
13363
- {
13364
- text: "Georgia",
13365
- href: "/about"
13366
- },
13367
- {
13368
- text: "+995 555 025 252",
13369
- href: "/about"
13370
- },
13371
- {
13372
- Span: {
13373
- text: "Follow on ",
13374
- "@ultrawidescreen": {
13375
- hide: true
13376
- }
13377
- },
13378
- text: "Instagram",
13379
- target: "_blank",
13380
- href: "/"
13381
- },
13382
- {
13383
- flexFlow: "row",
13384
- text: "Copyright \xA9 2024",
13385
- Span: {
13386
- order: 2,
13387
- text: " All rights reserved",
13388
- "@widescreen": {
13389
- hide: true
13390
- }
13391
- }
13392
- }
13393
- ]
13394
- },
13395
- Navlink: {
13396
- extend: "Link",
13397
- props: {
13398
- lineHeight: "1",
13399
- position: "relative",
13400
- $href: {
13401
- ":after": {
13402
- content: "''",
13403
- position: "absolute",
13404
- bottom: "W",
13405
- left: "Z",
13406
- right: "Z",
13407
- borderWidth: "0 0 3px",
13408
- borderStyle: "solid",
13409
- borderColor: "primary",
13410
- opacity: 0
13411
- },
13412
- ":hover:after": {
13413
- opacity: 1
13414
- }
13415
- },
13416
- ":before": {
13417
- content: '"\u2022"',
13418
- position: "absolute",
13419
- top: "50%",
13420
- left: "100%",
13421
- transform: "translate3d(-50%, -50%, 1px)"
13422
- }
13423
- },
13424
- Icon: {
13425
- if: "({\n props\n }) => props.src"
13426
- }
13427
- },
13428
- LayoutNav: {
13429
- props: "() => ({\n position: 'absolute',\n top: '3.75vw',\n left: '3.75vw',\n right: '3.75vw',\n bottom: '3.75vw',\n '--vertical-offset': '2.5vw',\n '--type-tail': 'calc(-1 * var(--spacing-Z))',\n\n '@tabletS': {\n '--vertical-offset': '4.5vw',\n top: '6.5vw',\n left: '6.5vw',\n right: '6.5vw',\n bottom: '6.5vw',\n },\n '!loaded': {\n '& nav': {\n opacity: '0',\n margin: '- - - 1.5em',\n transition: 'E all ease',\n }\n },\n onRender: (el, s) => {\n if (s.loaded) return\n const t = setTimeout(() => {\n el.setProps({\n '& nav': {\n margin: '0',\n opacity: '1',\n },\n })\n s.loaded = true\n clearTimeout(t)\n }, 250)\n },\n })",
13430
- childExtend: {
13431
- props: {
13432
- fontSize: "2.755vw",
13433
- position: "absolute",
13434
- overflow: "hidden",
13435
- lineHeight: "1",
13436
- "@wideportrait": {
13437
- fontSize: "3.96vw"
13438
- },
13439
- "@ultrawideportrait": {
13440
- fontSize: "5.75vw"
13441
- },
13442
- ":nth-child(odd)": {
13443
- "> nav": {
13444
- "> a:before": {
13445
- top: "100%",
13446
- left: "50%",
13447
- transform: "translate3d(-50%, -50%, 1px)"
13448
- },
13449
- "> a:after": {
13450
- top: "Z",
13451
- bottom: "Z",
13452
- right: "auto",
13453
- left: "W"
13454
- }
13455
- }
13456
- }
13457
- }
13458
- },
13459
- content: {
13460
- props: {
13461
- ignoreChildExtend: true,
13462
- position: "absolute",
13463
- inset: "3.75vw 3.75vw 3.75vw 3.75vw",
13464
- overflow: "hidden"
13465
- }
13466
- },
13467
- Top: {
13468
- props: {
13469
- top: "--type-tail",
13470
- left: "-Z",
13471
- right: "0"
13472
- },
13473
- FrameLine: {
13474
- padding: "- - - 1.35em",
13475
- content: {
13476
- childProps: {
13477
- "@ultrawideportrait": {
13478
- ":nth-child(2)": {
13479
- hide: true
13480
- }
13481
- }
13482
- }
13483
- }
13484
- }
13485
- },
13486
- Right: {
13487
- props: {
13488
- right: "--type-tail",
13489
- top: "--vertical-offset",
13490
- bottom: "--vertical-offset",
13491
- style: {
13492
- writingMode: "tb"
13493
- },
13494
- "@landscape": {
13495
- letterSpacing: "0.185vmin"
13496
- },
13497
- "@ultrawidescreen": {
13498
- letterSpacing: "0.0375vmin"
13499
- },
13500
- "@narrowscreen": {
13501
- letterSpacing: "0.5375vmin"
13502
- },
13503
- "@square": {
13504
- letterSpacing: "0.0375em"
13505
- },
13506
- "@wideportrait": {
13507
- letterSpacing: "0.035em"
13508
- }
13509
- },
13510
- FrameLine: {
13511
- align: "center center",
13512
- transform: "translate3d(0, 0, 0)",
13513
- content: {
13514
- childProps: {
13515
- "@landscape": {
13516
- ":nth-child(-n + 6)": {
13517
- hide: true
13518
- },
13519
- ":nth-child(n + 10)": {
13520
- ":before": {
13521
- hide: true
13522
- }
13523
- },
13524
- ":nth-child(n + 11)": {
13525
- hide: true
13526
- }
13527
- },
13528
- "@wideportrait": {
13529
- ":nth-child(-n + 5)": {
13530
- hide: true
13531
- },
13532
- ":nth-child(n + 8)": {
13533
- ":before": {
13534
- hide: true
13535
- }
13536
- },
13537
- ":nth-child(n + 9)": {
13538
- hide: true
13539
- }
13540
- }
13541
- }
13542
- }
13543
- }
13544
- },
13545
- Bottom: {
13546
- props: {
13547
- transform: "scale(-1)",
13548
- top: "initial",
13549
- bottom: "--type-tail",
13550
- left: "0",
13551
- right: "0",
13552
- "@wideportrait": {
13553
- letterSpacing: "0.02em"
13554
- }
13555
- },
13556
- FrameLine: {
13557
- ":before": {
13558
- content: '"\u2022"',
13559
- margin: "- -.2em 0 0"
13560
- },
13561
- childProps: {
13562
- "@landscape": {
13563
- ":nth-child(-n + 10)": {
13564
- hide: true
13565
- }
13566
- },
13567
- "@wideportrait": {
13568
- order: 3,
13569
- ":nth-child(-n + 10)": {
13570
- hide: true
13571
- },
13572
- ":nth-child(12)": {
13573
- hide: true
13574
- },
13575
- ":nth-child(13)": {
13576
- hide: true
13577
- },
13578
- ":nth-child(14)": {
13579
- hide: true
13580
- },
13581
- ":nth-child(15)": {
13582
- order: 1
13583
- },
13584
- ":nth-child(11)": {
13585
- order: 2
13586
- }
13587
- },
13588
- "@ultrawideportrait": {
13589
- ":nth-child(12)": {
13590
- hide: false,
13591
- show: true,
13592
- display: "block !important"
13593
- },
13594
- ":nth-child(15)": {
13595
- hide: true
13596
- },
13597
- ":nth-child(16)": {
13598
- hide: true
13599
- },
13600
- ":nth-child(17)": {
13601
- hide: true
13602
- }
13603
- }
13604
- }
13605
- }
13606
- },
13607
- Left: {
13608
- props: {
13609
- left: "--type-tail",
13610
- top: "--vertical-offset",
13611
- bottom: "--vertical-offset",
13612
- transform: "scale(-1) translate3d(0,-.125em,0)",
13613
- letterSpacing: "-0.035em",
13614
- style: {
13615
- writingMode: "tb"
13616
- },
13617
- "@landscape": {
13618
- letterSpacing: "0.035vmin"
13619
- },
13620
- "@ultrawidescreen": {
13621
- letterSpacing: "-0.025em"
13622
- },
13623
- "@narrowscreen": {
13624
- letterSpacing: "0.37vmin"
13625
- },
13626
- "@square": {
13627
- letterSpacing: "0.025em"
13628
- },
13629
- "@wideportrait": {
13630
- letterSpacing: "-0.025em"
13631
- }
13632
- },
13633
- FrameLine: {
13634
- align: "center center",
13635
- content: {
13636
- childProps: {
13637
- "@landscape": {
13638
- ":nth-child(-n + 15)": {
13639
- hide: true
13640
- },
13641
- ":last-child:before": {
13642
- hide: true
13643
- }
13644
- },
13645
- "@portrait": {
13646
- "& span": {
13647
- hide: true
13648
- },
13649
- ":nth-child(15)": {
13650
- hide: true
13651
- },
13652
- ":nth-child(-n + 11)": {
13653
- hide: true
13654
- },
13655
- ":last-child:before": {
13656
- hide: true
13657
- }
13658
- }
13659
- }
13660
- }
13661
- }
13662
- }
13663
- }
13664
- },
13665
- pages: {
13666
- "/": {
13667
- extend: "LayoutNav"
13668
- },
13669
- "/archive": {
13670
- props: {},
13671
- extend: "LayoutNav",
13672
- content: {
13673
- props: {
13674
- flexAlign: "center center"
13675
- },
13676
- H1: {
13677
- textAlign: "center",
13678
- text: "archive"
13679
- }
13680
- }
13681
- },
13682
- "/services": {
13683
- props: {},
13684
- extend: "LayoutNav",
13685
- content: {
13686
- props: {
13687
- flexAlign: "center center"
13688
- },
13689
- H1: {
13690
- textAlign: "center",
13691
- text: "services"
13692
- }
13693
- }
13694
- },
13695
- "/about": {
13696
- props: {},
13697
- extend: "LayoutNav",
13698
- content: {
13699
- props: {
13700
- flexAlign: "center center"
13701
- },
13702
- H1: {
13703
- textAlign: "center",
13704
- text: "about"
13705
- }
13706
- }
13707
- }
13708
- },
13709
- snippets: {},
13710
- id: "102bd4c6f0",
13711
- designSystem: {
13712
- COLOR: {
13713
- light: "#ffffff",
13714
- gray: "#6e6e72",
13715
- dark: "#000000",
13716
- primary: [
13717
- "--dark",
13718
- "--light"
13719
- ]
13720
- },
13721
- GRADIENT: {},
13722
- THEME: {
13723
- document: {
13724
- "@dark": {
13725
- background: "dark",
13726
- color: "light"
13727
- },
13728
- "@light": {
13729
- background: "light",
13730
- color: "dark"
13731
- }
13732
- },
13733
- primary: {}
13734
- },
13735
- FONT: {
13736
- "RS-Professional": [
13737
- {
13738
- url: "https://based-files-production.based.dev/enD5U3P7x0/fia5bde6eb/a2d2cc96-6d17-4199-8922-dbff01ea0d5c-08873076-1679-4df8-a403-30478e4a23ec-ea1c9be0-00e8-4450-a2d0-be00190d7bee.woff",
13739
- fontStyle: "normal",
13740
- fontWeight: "600",
13741
- fontDisplay: "swap",
13742
- isVariable: true
13743
- }
13744
- ],
13745
- Figtree: [
13746
- {
13747
- url: "https://based-files-production.based.dev/enD5U3P7x0/fi98a58619/37999dcc-71ab-4bbb-b72f-3d82b415a5d7-68517462-18eb-4b0a-93c9-7159ccf6e251-621a5448-8e66-49db-96cb-51fe9ec1acdd.woff",
13748
- fontStyle: "normal",
13749
- fontWeight: "600",
13750
- fontDisplay: "swap",
13751
- isVariable: true
13752
- }
13753
- ]
13754
- },
13755
- FONT_FAMILY: {
13756
- def: {
13757
- type: "serif",
13758
- value: [
13759
- "RS-Professional",
13760
- "Figtree"
13761
- ]
13762
- }
13763
- },
13764
- TYPOGRAPHY: {
13765
- base: 16,
13766
- ratio: 1.25,
13767
- subSequence: true,
13768
- templates: {
13769
- h1: {},
13770
- h2: {},
13771
- h3: {},
13772
- h4: {},
13773
- h5: {},
13774
- h6: {},
13775
- body: {}
13776
- },
13777
- "@custom": {
13778
- base: 16,
13779
- ratio: 1.25
13780
- },
13781
- "@mobileXS": {
13782
- base: 16,
13783
- ratio: 1.25
13784
- },
13785
- "@tabletS": {
13786
- base: 16,
13787
- ratio: 1.25
13788
- },
13789
- "@tabletL": {
13790
- base: 16,
13791
- ratio: 1.25
13792
- },
13793
- "@screenM": {
13794
- base: 16,
13795
- ratio: 1.25
13796
- }
13797
- },
13798
- SPACING: {
13799
- base: 16,
13800
- ratio: 1.618,
13801
- subSequence: true
13802
- },
13803
- TIMING: {
13804
- base: 150,
13805
- ratio: 1.333,
13806
- subSequence: true
13807
- },
13808
- MEDIA: {
13809
- landscape: "(orientation: landscape)",
13810
- portrait: "(orientation: portrait)",
13811
- ultrawidescreen: "(min-aspect-ratio: 5/3)",
13812
- widescreen: "(min-aspect-ratio: 5/4)",
13813
- narrowscreen: "(max-aspect-ratio: 4/3) and (min-aspect-ratio: 1/1)",
13814
- square: "(min-aspect-ratio: 4/5) and (max-aspect-ratio: 5/4)",
13815
- narrowportrait: "(max-aspect-ratio: 3/4) and (min-aspect-ratio: 1/1)",
13816
- wideportrait: "(max-aspect-ratio: 4/5)",
13817
- ultrawideportrait: "(max-aspect-ratio: 3/5)"
13818
- },
13819
- RESET: {},
13820
- ANIMATION: {},
13821
- useReset: true,
13822
- useVariable: true,
13823
- useFontImport: true,
13824
- useIconSprite: true,
13825
- useSvgSprite: true,
13826
- useDefaultConfig: true,
13827
- useDocumentTheme: true,
13828
- verbose: false,
13829
- ICONS: {
13830
- logo: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.11861199,11.0779445 C10.867171,10.3593456 11.8798375,8.84811038 11.9015452,6.98193084 C11.9123991,6.02452485 11.9142081,5.01812348 11.9069721,3.96272673 C11.9067982,3.93113012 11.9245599,3.9024403 11.953285,3.88791931 C11.9820101,3.87339832 12.0171138,3.87536388 12.0448163,3.89304441 L23.3740897,11.2869914 C23.4532043,11.3393059 23.5005787,11.4282063 23.5,11.5232581 C23.4956531,12.3296857 23.4913116,13.1611554 23.48697,14.0176672 C23.4833521,14.6498891 23.3643212,15.2472698 23.1298776,15.8098093 C22.5336381,17.2412002 21.4916662,18.2022355 20.0039619,18.6929151 C19.6457841,18.8112299 19.293395,18.8707502 18.9467946,18.8714761 C16.93521,18.8780088 14.6790515,18.8798234 12.178319,18.87692 C11.9699246,18.87692 11.77962,18.8188514 11.6074052,18.7027142 C11.2781711,18.4813277 10.9464043,18.2624817 10.612105,18.0461761 C8.96448698,16.982795 7.38380118,15.9546179 5.87004759,14.9616449 C4.23834857,13.891731 2.55889251,12.8011301 0.83167941,11.6898423 C0.726035039,11.6216117 0.625455809,11.5548329 0.529941721,11.4895057 C0.500998057,11.4691817 0.49303855,11.4430508 0.506063198,11.4111131 C0.517337731,11.3814997 0.545435619,11.3619864 0.576613378,11.3621177 C2.93913989,11.355585 5.23473418,11.3552221 7.46339625,11.3610289 C8.10160402,11.3632065 8.6533426,11.268845 9.11861199,11.0779445 Z"/></svg>'
13831
- }
13832
- }
13833
- };
13220
+ var dynamic_default = {};
13834
13221
 
13835
13222
  // ../init/index.js
13836
13223
  var CONFIG = (0, import_scratch.getActiveConfig)();
@@ -25511,13 +24898,12 @@ var prepareState = (options, App) => {
25511
24898
  return (0, import_utils28.deepCloneWithExtnd)(state);
25512
24899
  };
25513
24900
  var preparePages = (options) => {
25514
- const pages = options.pages || {};
25515
- Object.keys(pages).filter((v) => !v.startsWith("/")).forEach((v) => {
24901
+ const pages = {};
24902
+ Object.keys(options.pages).filter((v) => !v.startsWith("/")).forEach((v) => {
25516
24903
  if (v === "main")
25517
- pages["/"] = pages.main;
24904
+ pages["/"] = options.pages.main;
25518
24905
  else {
25519
- pages["/" + v] = pages[v];
25520
- delete pages[v];
24906
+ pages["/" + v] = options.pages[v];
25521
24907
  }
25522
24908
  });
25523
24909
  return pages;
@@ -80,13 +80,12 @@ const prepareState = (options, App) => {
80
80
  return (0, import_utils.deepCloneWithExtnd)(state);
81
81
  };
82
82
  const preparePages = (options) => {
83
- const pages = options.pages || {};
84
- Object.keys(pages).filter((v) => !v.startsWith("/")).forEach((v) => {
83
+ const pages = {};
84
+ Object.keys(options.pages).filter((v) => !v.startsWith("/")).forEach((v) => {
85
85
  if (v === "main")
86
- pages["/"] = pages.main;
86
+ pages["/"] = options.pages.main;
87
87
  else {
88
- pages["/" + v] = pages[v];
89
- delete pages[v];
88
+ pages["/" + v] = options.pages[v];
90
89
  }
91
90
  });
92
91
  return pages;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.291",
3
+ "version": "2.11.294",
4
4
  "license": "MIT",
5
- "gitHead": "54f3dd0f443356a9cc26b3005ad352d5333f0c11",
5
+ "gitHead": "20ecf9eb8605d65112863b11eefc61a69b6608c5",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/prepare.js CHANGED
@@ -48,14 +48,13 @@ export const prepareState = (options, App) => {
48
48
  }
49
49
 
50
50
  export const preparePages = options => {
51
- const pages = options.pages || {}
52
- Object.keys(pages)
51
+ const pages = {}
52
+ Object.keys(options.pages)
53
53
  .filter(v => !v.startsWith('/'))
54
54
  .forEach(v => {
55
- if (v === 'main') pages['/'] = pages.main
55
+ if (v === 'main') pages['/'] = options.pages.main
56
56
  else {
57
- pages['/' + v] = pages[v]
58
- delete pages[v]
57
+ pages['/' + v] = options.pages[v]
59
58
  }
60
59
  })
61
60
  return pages