mol_plot_all 1.2.569 → 1.2.571

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/node.d.ts CHANGED
@@ -603,34 +603,34 @@ declare namespace $ {
603
603
  readonly literal: Literal;
604
604
  constructor(value: number, literal: Literal);
605
605
  postfix(): Literal;
606
- static per(value: number): $mol_style_unit<"%">;
607
- static px(value: number): $mol_style_unit<"px">;
608
- static mm(value: number): $mol_style_unit<"mm">;
609
- static cm(value: number): $mol_style_unit<"cm">;
610
- static Q(value: number): $mol_style_unit<"Q">;
611
- static in(value: number): $mol_style_unit<"in">;
612
- static pc(value: number): $mol_style_unit<"pc">;
613
- static pt(value: number): $mol_style_unit<"pt">;
614
- static cap(value: number): $mol_style_unit<"cap">;
615
- static ch(value: number): $mol_style_unit<"ch">;
616
- static em(value: number): $mol_style_unit<"em">;
617
- static rem(value: number): $mol_style_unit<"rem">;
618
- static ex(value: number): $mol_style_unit<"ex">;
619
- static ic(value: number): $mol_style_unit<"ic">;
620
- static lh(value: number): $mol_style_unit<"lh">;
621
- static rlh(value: number): $mol_style_unit<"rlh">;
622
- static vh(value: number): $mol_style_unit<"vh">;
623
- static vw(value: number): $mol_style_unit<"vw">;
624
- static vi(value: number): $mol_style_unit<"vi">;
625
- static vb(value: number): $mol_style_unit<"vb">;
626
- static vmin(value: number): $mol_style_unit<"vmin">;
627
- static vmax(value: number): $mol_style_unit<"vmax">;
628
- static deg(value: number): $mol_style_unit<"deg">;
629
- static rad(value: number): $mol_style_unit<"rad">;
630
- static grad(value: number): $mol_style_unit<"grad">;
631
- static turn(value: number): $mol_style_unit<"turn">;
632
- static s(value: number): $mol_style_unit<"s">;
633
- static ms(value: number): $mol_style_unit<"ms">;
606
+ static per(value: number): `${number}%`;
607
+ static px(value: number): `${number}px`;
608
+ static mm(value: number): `${number}mm`;
609
+ static cm(value: number): `${number}cm`;
610
+ static Q(value: number): `${number}Q`;
611
+ static in(value: number): `${number}in`;
612
+ static pc(value: number): `${number}pc`;
613
+ static pt(value: number): `${number}pt`;
614
+ static cap(value: number): `${number}cap`;
615
+ static ch(value: number): `${number}ch`;
616
+ static em(value: number): `${number}em`;
617
+ static rem(value: number): `${number}rem`;
618
+ static ex(value: number): `${number}ex`;
619
+ static ic(value: number): `${number}ic`;
620
+ static lh(value: number): `${number}lh`;
621
+ static rlh(value: number): `${number}rlh`;
622
+ static vh(value: number): `${number}vh`;
623
+ static vw(value: number): `${number}vw`;
624
+ static vi(value: number): `${number}vi`;
625
+ static vb(value: number): `${number}vb`;
626
+ static vmin(value: number): `${number}vmin`;
627
+ static vmax(value: number): `${number}vmax`;
628
+ static deg(value: number): `${number}deg`;
629
+ static rad(value: number): `${number}rad`;
630
+ static grad(value: number): `${number}grad`;
631
+ static turn(value: number): `${number}turn`;
632
+ static s(value: number): `${number}s`;
633
+ static ms(value: number): `${number}ms`;
634
634
  }
635
635
  }
636
636
 
@@ -644,7 +644,7 @@ declare namespace $ {
644
644
  static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
645
645
  static vary<Name extends string>(name: Name): $mol_style_func<"var", Name>;
646
646
  static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
647
- static hsla(hue: number, saturation: number, lightness: number, alpha: number): $mol_style_func<"hsla", (number | $mol_style_unit<"%">)[]>;
647
+ static hsla(hue: number, saturation: number, lightness: number, alpha: number): $mol_style_func<"hsla", (number | `${number}%`)[]>;
648
648
  static clamp(min: $mol_style_unit<any>, mid: $mol_style_unit<any>, max: $mol_style_unit<any>): $mol_style_func<"clamp", $mol_style_unit<any>[]>;
649
649
  static rgba(red: number, green: number, blue: number, alpha: number): $mol_style_func<"rgba", number[]>;
650
650
  static scale(zoom: number): $mol_style_func<"scale", number[]>;
package/node.js CHANGED
@@ -2370,34 +2370,34 @@ var $;
2370
2370
  postfix() {
2371
2371
  return this.literal;
2372
2372
  }
2373
- static per(value) { return new $mol_style_unit(value, '%'); }
2374
- static px(value) { return new $mol_style_unit(value, 'px'); }
2375
- static mm(value) { return new $mol_style_unit(value, 'mm'); }
2376
- static cm(value) { return new $mol_style_unit(value, 'cm'); }
2377
- static Q(value) { return new $mol_style_unit(value, 'Q'); }
2378
- static in(value) { return new $mol_style_unit(value, 'in'); }
2379
- static pc(value) { return new $mol_style_unit(value, 'pc'); }
2380
- static pt(value) { return new $mol_style_unit(value, 'pt'); }
2381
- static cap(value) { return new $mol_style_unit(value, 'cap'); }
2382
- static ch(value) { return new $mol_style_unit(value, 'ch'); }
2383
- static em(value) { return new $mol_style_unit(value, 'em'); }
2384
- static rem(value) { return new $mol_style_unit(value, 'rem'); }
2385
- static ex(value) { return new $mol_style_unit(value, 'ex'); }
2386
- static ic(value) { return new $mol_style_unit(value, 'ic'); }
2387
- static lh(value) { return new $mol_style_unit(value, 'lh'); }
2388
- static rlh(value) { return new $mol_style_unit(value, 'rlh'); }
2389
- static vh(value) { return new $mol_style_unit(value, 'vh'); }
2390
- static vw(value) { return new $mol_style_unit(value, 'vw'); }
2391
- static vi(value) { return new $mol_style_unit(value, 'vi'); }
2392
- static vb(value) { return new $mol_style_unit(value, 'vb'); }
2393
- static vmin(value) { return new $mol_style_unit(value, 'vmin'); }
2394
- static vmax(value) { return new $mol_style_unit(value, 'vmax'); }
2395
- static deg(value) { return new $mol_style_unit(value, 'deg'); }
2396
- static rad(value) { return new $mol_style_unit(value, 'rad'); }
2397
- static grad(value) { return new $mol_style_unit(value, 'grad'); }
2398
- static turn(value) { return new $mol_style_unit(value, 'turn'); }
2399
- static s(value) { return new $mol_style_unit(value, 's'); }
2400
- static ms(value) { return new $mol_style_unit(value, 'ms'); }
2373
+ static per(value) { return `${value}%`; }
2374
+ static px(value) { return `${value}px`; }
2375
+ static mm(value) { return `${value}mm`; }
2376
+ static cm(value) { return `${value}cm`; }
2377
+ static Q(value) { return `${value}Q`; }
2378
+ static in(value) { return `${value}in`; }
2379
+ static pc(value) { return `${value}pc`; }
2380
+ static pt(value) { return `${value}pt`; }
2381
+ static cap(value) { return `${value}cap`; }
2382
+ static ch(value) { return `${value}ch`; }
2383
+ static em(value) { return `${value}em`; }
2384
+ static rem(value) { return `${value}rem`; }
2385
+ static ex(value) { return `${value}ex`; }
2386
+ static ic(value) { return `${value}ic`; }
2387
+ static lh(value) { return `${value}lh`; }
2388
+ static rlh(value) { return `${value}rlh`; }
2389
+ static vh(value) { return `${value}vh`; }
2390
+ static vw(value) { return `${value}vw`; }
2391
+ static vi(value) { return `${value}vi`; }
2392
+ static vb(value) { return `${value}vb`; }
2393
+ static vmin(value) { return `${value}vmin`; }
2394
+ static vmax(value) { return `${value}vmax`; }
2395
+ static deg(value) { return `${value}deg`; }
2396
+ static rad(value) { return `${value}rad`; }
2397
+ static grad(value) { return `${value}grad`; }
2398
+ static turn(value) { return `${value}turn`; }
2399
+ static s(value) { return `${value}s`; }
2400
+ static ms(value) { return `${value}ms`; }
2401
2401
  }
2402
2402
  $.$mol_style_unit = $mol_style_unit;
2403
2403
  })($ || ($ = {}));
@@ -2891,7 +2891,7 @@ var $;
2891
2891
  "use strict";
2892
2892
  var $;
2893
2893
  (function ($) {
2894
- $mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n}\n\n@media print {\n\t[mol_view_root] {\n\t\theight: auto;\n\t}\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .75;\n\t}\n\t80% {\n\t\topacity: .5;\n\t}\n\tto {\n\t\topacity: .75;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_hover);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tanimation: mol_view_wait 1s steps( 10, end ) infinite;\n}\n");
2894
+ $mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n}\n\n@media print {\n\t[mol_view_root] {\n\t\theight: auto;\n\t}\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .25;\n\t}\n\t20% {\n\t\topacity: .75;\n\t}\n\tto {\n\t\topacity: .25;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_hover);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tanimation: mol_view_wait 1s steps( 20, end ) infinite;\n}\n");
2895
2895
  })($ || ($ = {}));
2896
2896
  //mol/view/view/-css/view.css.ts
2897
2897
  ;