sloncek-blockly 1.0.16 → 1.0.18

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/output.css CHANGED
@@ -35,8 +35,6 @@
35
35
  --text-xl--line-height: calc(1.75 / 1.25);
36
36
  --text-2xl: 1.5rem;
37
37
  --text-2xl--line-height: calc(2 / 1.5);
38
- --text-3xl: 1.875rem;
39
- --text-3xl--line-height: calc(2.25 / 1.875);
40
38
  --text-5xl: 3rem;
41
39
  --text-5xl--line-height: 1;
42
40
  --font-weight-semibold: 600;
@@ -44,7 +42,6 @@
44
42
  --radius-sm: 0.25rem;
45
43
  --radius-md: 0.375rem;
46
44
  --radius-lg: 0.5rem;
47
- --radius-xl: 0.75rem;
48
45
  --radius-3xl: 1.5rem;
49
46
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
50
47
  --default-transition-duration: 150ms;
@@ -240,15 +237,9 @@
240
237
  .top-1 {
241
238
  top: var(--spacing);
242
239
  }
243
- .top-2 {
244
- top: calc(var(--spacing) * 2);
245
- }
246
240
  .top-full {
247
241
  top: 100%;
248
242
  }
249
- .right-0 {
250
- right: 0px;
251
- }
252
243
  .right-2 {
253
244
  right: calc(var(--spacing) * 2);
254
245
  }
@@ -321,9 +312,6 @@
321
312
  .mr-2 {
322
313
  margin-right: calc(var(--spacing) * 2);
323
314
  }
324
- .mr-56 {
325
- margin-right: calc(var(--spacing) * 56);
326
- }
327
315
  .mb-0 {
328
316
  margin-bottom: 0px;
329
317
  }
@@ -339,9 +327,6 @@
339
327
  .ml-6 {
340
328
  margin-left: calc(var(--spacing) * 6);
341
329
  }
342
- .ml-auto {
343
- margin-left: auto;
344
- }
345
330
  .block {
346
331
  display: block;
347
332
  }
@@ -456,9 +441,6 @@
456
441
  .w-8 {
457
442
  width: calc(var(--spacing) * 8);
458
443
  }
459
- .w-9 {
460
- width: calc(var(--spacing) * 9);
461
- }
462
444
  .w-10 {
463
445
  width: calc(var(--spacing) * 10);
464
446
  }
@@ -474,9 +456,6 @@
474
456
  .w-40 {
475
457
  width: calc(var(--spacing) * 40);
476
458
  }
477
- .w-56 {
478
- width: calc(var(--spacing) * 56);
479
- }
480
459
  .w-full {
481
460
  width: 100%;
482
461
  }
@@ -547,6 +526,9 @@
547
526
  .items-center {
548
527
  align-items: center;
549
528
  }
529
+ .items-end {
530
+ align-items: flex-end;
531
+ }
550
532
  .justify-between {
551
533
  justify-content: space-between;
552
534
  }
@@ -581,9 +563,6 @@
581
563
  margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
582
564
  margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
583
565
  }
584
- .gap-x-1 {
585
- column-gap: var(--spacing);
586
- }
587
566
  .gap-x-2 {
588
567
  column-gap: calc(var(--spacing) * 2);
589
568
  }
@@ -642,17 +621,6 @@
642
621
  .rounded-sm {
643
622
  border-radius: var(--radius-sm);
644
623
  }
645
- .rounded-xl {
646
- border-radius: var(--radius-xl);
647
- }
648
- .rounded-l-xl {
649
- border-top-left-radius: var(--radius-xl);
650
- border-bottom-left-radius: var(--radius-xl);
651
- }
652
- .rounded-r-lg {
653
- border-top-right-radius: var(--radius-lg);
654
- border-bottom-right-radius: var(--radius-lg);
655
- }
656
624
  .border {
657
625
  border-style: var(--tw-border-style);
658
626
  border-width: 1px;
@@ -813,10 +781,6 @@
813
781
  font-size: var(--text-2xl);
814
782
  line-height: var(--tw-leading, var(--text-2xl--line-height));
815
783
  }
816
- .text-3xl {
817
- font-size: var(--text-3xl);
818
- line-height: var(--tw-leading, var(--text-3xl--line-height));
819
- }
820
784
  .text-5xl {
821
785
  font-size: var(--text-5xl);
822
786
  line-height: var(--tw-leading, var(--text-5xl--line-height));
@@ -899,6 +863,11 @@
899
863
  .filter {
900
864
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
901
865
  }
866
+ .transition {
867
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
868
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
869
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
870
+ }
902
871
  .transition-all {
903
872
  transition-property: all;
904
873
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -967,6 +936,9 @@
967
936
  .hover\:cursor-pointer:hover {
968
937
  cursor: pointer;
969
938
  }
939
+ .hover\:border-red-500:hover {
940
+ border-color: var(--color-red-500);
941
+ }
970
942
  .hover\:bg-accent-dark:hover {
971
943
  background-color: var(--color-accent-dark);
972
944
  }
@@ -994,6 +966,116 @@
994
966
  outline-color: var(--color-accent-dark);
995
967
  }
996
968
  }
969
+ @media (prefers-color-scheme: dark) {
970
+ .w-tc-editor {
971
+ --color-fg-default: #c9d1d9;
972
+ --color-canvas-subtle: #161b22;
973
+ --color-prettylights-syntax-comment: #8b949e;
974
+ --color-prettylights-syntax-entity-tag: #7ee787;
975
+ --color-prettylights-syntax-entity: #d2a8ff;
976
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
977
+ --color-prettylights-syntax-constant: #79c0ff;
978
+ --color-prettylights-syntax-string: #a5d6ff;
979
+ --color-prettylights-syntax-keyword: #ff7b72;
980
+ --color-prettylights-syntax-markup-bold: #c9d1d9;
981
+ }
982
+ }
983
+ @media (prefers-color-scheme: light) {
984
+ .w-tc-editor {
985
+ --color-fg-default: #24292f;
986
+ --color-canvas-subtle: #f6f8fa;
987
+ --color-prettylights-syntax-comment: #6e7781;
988
+ --color-prettylights-syntax-entity-tag: #116329;
989
+ --color-prettylights-syntax-entity: #8250df;
990
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
991
+ --color-prettylights-syntax-constant: #0550ae;
992
+ --color-prettylights-syntax-string: #0a3069;
993
+ --color-prettylights-syntax-keyword: #cf222e;
994
+ --color-prettylights-syntax-markup-bold: #24292f;
995
+ }
996
+ }
997
+ .w-tc-editor[data-color-mode*='dark'], [data-color-mode*='dark'] .w-tc-editor, [data-color-mode*='dark'] .w-tc-editor-var, body[data-color-mode*='dark'] {
998
+ --color-fg-default: #c9d1d9;
999
+ --color-canvas-subtle: #161b22;
1000
+ --color-prettylights-syntax-comment: #8b949e;
1001
+ --color-prettylights-syntax-entity-tag: #7ee787;
1002
+ --color-prettylights-syntax-entity: #d2a8ff;
1003
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
1004
+ --color-prettylights-syntax-constant: #79c0ff;
1005
+ --color-prettylights-syntax-string: #a5d6ff;
1006
+ --color-prettylights-syntax-keyword: #ff7b72;
1007
+ --color-prettylights-syntax-markup-bold: #c9d1d9;
1008
+ }
1009
+ .w-tc-editor[data-color-mode*='light'], [data-color-mode*='light'] .w-tc-editor, [data-color-mode*='light'] .w-tc-editor-var, body[data-color-mode*='light'] {
1010
+ --color-fg-default: #24292f;
1011
+ --color-canvas-subtle: #f6f8fa;
1012
+ --color-prettylights-syntax-comment: #6e7781;
1013
+ --color-prettylights-syntax-entity-tag: #116329;
1014
+ --color-prettylights-syntax-entity: #8250df;
1015
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
1016
+ --color-prettylights-syntax-constant: #0550ae;
1017
+ --color-prettylights-syntax-string: #0a3069;
1018
+ --color-prettylights-syntax-keyword: #cf222e;
1019
+ --color-prettylights-syntax-markup-bold: #24292f;
1020
+ }
1021
+ .w-tc-editor {
1022
+ font-family: inherit;
1023
+ font-size: 12px;
1024
+ background-color: var(--color-canvas-subtle);
1025
+ color: var(--color-fg-default);
1026
+ }
1027
+ .w-tc-editor-text, .w-tc-editor-preview {
1028
+ min-height: 16px;
1029
+ }
1030
+ .w-tc-editor-preview pre {
1031
+ margin: 0;
1032
+ padding: 0;
1033
+ white-space: inherit;
1034
+ font-family: inherit;
1035
+ font-size: inherit;
1036
+ }
1037
+ .w-tc-editor-preview pre code {
1038
+ font-family: inherit;
1039
+ }
1040
+ .w-tc-editor code[class*='language-'] .token.cdata, .w-tc-editor pre[class*='language-'] .token.cdata, .w-tc-editor code[class*='language-'] .token.comment, .w-tc-editor pre[class*='language-'] .token.comment, .w-tc-editor code[class*='language-'] .token.doctype, .w-tc-editor pre[class*='language-'] .token.doctype, .w-tc-editor code[class*='language-'] .token.prolog, .w-tc-editor pre[class*='language-'] .token.prolog {
1041
+ color: var(--color-prettylights-syntax-comment);
1042
+ }
1043
+ .w-tc-editor code[class*='language-'] .token.punctuation, .w-tc-editor pre[class*='language-'] .token.punctuation {
1044
+ color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);
1045
+ }
1046
+ .w-tc-editor code[class*='language-'] .namespace, .w-tc-editor pre[class*='language-'] .namespace {
1047
+ opacity: 0.7;
1048
+ }
1049
+ .w-tc-editor code[class*='language-'] .token.boolean, .w-tc-editor pre[class*='language-'] .token.boolean, .w-tc-editor code[class*='language-'] .token.constant, .w-tc-editor pre[class*='language-'] .token.constant, .w-tc-editor code[class*='language-'] .token.deleted, .w-tc-editor pre[class*='language-'] .token.deleted, .w-tc-editor code[class*='language-'] .token.number, .w-tc-editor pre[class*='language-'] .token.number, .w-tc-editor code[class*='language-'] .token.symbol, .w-tc-editor pre[class*='language-'] .token.symbol {
1050
+ color: var(--color-prettylights-syntax-entity-tag);
1051
+ }
1052
+ .w-tc-editor code[class*='language-'] .token.builtin, .w-tc-editor pre[class*='language-'] .token.builtin, .w-tc-editor code[class*='language-'] .token.char, .w-tc-editor pre[class*='language-'] .token.char, .w-tc-editor code[class*='language-'] .token.inserted, .w-tc-editor pre[class*='language-'] .token.inserted, .w-tc-editor code[class*='language-'] .token.selector, .w-tc-editor pre[class*='language-'] .token.selector, .w-tc-editor code[class*='language-'] .token.string, .w-tc-editor pre[class*='language-'] .token.string {
1053
+ color: var(--color-prettylights-syntax-constant);
1054
+ }
1055
+ .w-tc-editor code[class*='language-'] .style .token.string, .w-tc-editor pre[class*='language-'] .style .token.string, .w-tc-editor code[class*='language-'] .token.entity, .w-tc-editor pre[class*='language-'] .token.entity, .w-tc-editor code[class*='language-'] .token.property, .w-tc-editor pre[class*='language-'] .token.property, .w-tc-editor code[class*='language-'] .token.operator, .w-tc-editor pre[class*='language-'] .token.operator, .w-tc-editor code[class*='language-'] .token.url, .w-tc-editor pre[class*='language-'] .token.url {
1056
+ color: var(--color-prettylights-syntax-constant);
1057
+ }
1058
+ .w-tc-editor code[class*='language-'] .token.atrule, .w-tc-editor pre[class*='language-'] .token.atrule, .w-tc-editor code[class*='language-'] .token.property-access .token.method, .w-tc-editor pre[class*='language-'] .token.property-access .token.method, .w-tc-editor code[class*='language-'] .token.keyword, .w-tc-editor pre[class*='language-'] .token.keyword {
1059
+ color: var(--color-prettylights-syntax-keyword);
1060
+ }
1061
+ .w-tc-editor code[class*='language-'] .token.function, .w-tc-editor pre[class*='language-'] .token.function {
1062
+ color: var(--color-prettylights-syntax-string);
1063
+ }
1064
+ .w-tc-editor code[class*='language-'] .token.important, .w-tc-editor pre[class*='language-'] .token.important, .w-tc-editor code[class*='language-'] .token.regex, .w-tc-editor pre[class*='language-'] .token.regex, .w-tc-editor code[class*='language-'] .token.variable, .w-tc-editor pre[class*='language-'] .token.variable {
1065
+ color: var(--color-prettylights-syntax-string-regexp);
1066
+ }
1067
+ .w-tc-editor code[class*='language-'] .token.bold, .w-tc-editor pre[class*='language-'] .token.bold, .w-tc-editor code[class*='language-'] .token.important, .w-tc-editor pre[class*='language-'] .token.important {
1068
+ color: var(--color-prettylights-syntax-markup-bold);
1069
+ }
1070
+ .w-tc-editor code[class*='language-'] .token.tag, .w-tc-editor pre[class*='language-'] .token.tag {
1071
+ color: var(--color-prettylights-syntax-entity-tag);
1072
+ }
1073
+ .w-tc-editor code[class*='language-'] .token.attr-value, .w-tc-editor pre[class*='language-'] .token.attr-value, .w-tc-editor code[class*='language-'] .token.attr-name, .w-tc-editor pre[class*='language-'] .token.attr-name {
1074
+ color: var(--color-prettylights-syntax-constant);
1075
+ }
1076
+ .w-tc-editor code[class*='language-'] .token.selector .class, .w-tc-editor pre[class*='language-'] .token.selector .class, .w-tc-editor code[class*='language-'] .token.class-name, .w-tc-editor pre[class*='language-'] .token.class-name {
1077
+ color: var(--color-prettylights-syntax-entity);
1078
+ }
997
1079
  :root {
998
1080
  --background: #ffffff;
999
1081
  --foreground: #171717;
@@ -1036,6 +1118,9 @@
1036
1118
  .blocklyFlyoutScrollbar[display="none"] {
1037
1119
  display: none;
1038
1120
  }
1121
+ .blocklyEditing > text {
1122
+ display: none;
1123
+ }
1039
1124
  @property --tw-translate-x {
1040
1125
  syntax: "*";
1041
1126
  inherits: false;