@yurikilian/lex4 0.2.0 → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { LexicalEditor } from 'lexical';
3
- declare const SUPPORTED_FONTS: readonly ["Inter", "Times New Roman", "Arial", "Calibri", "Georgia", "Courier New"];
3
+ declare const SUPPORTED_FONTS: readonly ["Calibri", "Inter", "Times New Roman", "Arial", "Georgia", "Courier New"];
4
4
  export type FontFamily = (typeof SUPPORTED_FONTS)[number];
5
5
  export { SUPPORTED_FONTS };
6
6
  /**
package/dist/style.css CHANGED
@@ -645,6 +645,11 @@ video {
645
645
  margin-right: 0.125rem;
646
646
  }
647
647
 
648
+ .my-1{
649
+ margin-top: 0.25rem;
650
+ margin-bottom: 0.25rem;
651
+ }
652
+
648
653
  .mb-1{
649
654
  margin-bottom: 0.25rem;
650
655
  }
@@ -693,6 +698,10 @@ video {
693
698
  display: inline-flex;
694
699
  }
695
700
 
701
+ .grid{
702
+ display: grid;
703
+ }
704
+
696
705
  .list-item{
697
706
  display: list-item;
698
707
  }
@@ -729,6 +738,10 @@ video {
729
738
  height: 100%;
730
739
  }
731
740
 
741
+ .h-px{
742
+ height: 1px;
743
+ }
744
+
732
745
  .max-h-48{
733
746
  max-height: 12rem;
734
747
  }
@@ -757,6 +770,10 @@ video {
757
770
  width: 0.75rem;
758
771
  }
759
772
 
773
+ .w-56{
774
+ width: 14rem;
775
+ }
776
+
760
777
  .w-6{
761
778
  width: 1.5rem;
762
779
  }
@@ -842,12 +859,12 @@ video {
842
859
  list-style-type: none;
843
860
  }
844
861
 
845
- .flex-col{
846
- flex-direction: column;
862
+ .grid-cols-2{
863
+ grid-template-columns: repeat(2, minmax(0, 1fr));
847
864
  }
848
865
 
849
- .flex-wrap{
850
- flex-wrap: wrap;
866
+ .flex-col{
867
+ flex-direction: column;
851
868
  }
852
869
 
853
870
  .items-start{
@@ -1010,6 +1027,11 @@ video {
1010
1027
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
1011
1028
  }
1012
1029
 
1030
+ .bg-gray-100{
1031
+ --tw-bg-opacity: 1;
1032
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
1033
+ }
1034
+
1013
1035
  .bg-gray-200{
1014
1036
  --tw-bg-opacity: 1;
1015
1037
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
@@ -1020,10 +1042,6 @@ video {
1020
1042
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
1021
1043
  }
1022
1044
 
1023
- .bg-gray-300\/60{
1024
- background-color: rgb(209 213 219 / 0.6);
1025
- }
1026
-
1027
1045
  .bg-gray-50{
1028
1046
  --tw-bg-opacity: 1;
1029
1047
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
@@ -1115,6 +1133,14 @@ video {
1115
1133
  padding-bottom: 2rem;
1116
1134
  }
1117
1135
 
1136
+ .pb-1{
1137
+ padding-bottom: 0.25rem;
1138
+ }
1139
+
1140
+ .pb-2{
1141
+ padding-bottom: 0.5rem;
1142
+ }
1143
+
1118
1144
  .pb-3{
1119
1145
  padding-bottom: 0.75rem;
1120
1146
  }
@@ -1135,6 +1161,10 @@ video {
1135
1161
  padding-right: 0.75rem;
1136
1162
  }
1137
1163
 
1164
+ .pt-2{
1165
+ padding-top: 0.5rem;
1166
+ }
1167
+
1138
1168
  .text-left{
1139
1169
  text-align: left;
1140
1170
  }
@@ -1143,6 +1173,10 @@ video {
1143
1173
  text-align: center;
1144
1174
  }
1145
1175
 
1176
+ .text-justify{
1177
+ text-align: justify;
1178
+ }
1179
+
1146
1180
  .text-2xl{
1147
1181
  font-size: 1.5rem;
1148
1182
  line-height: 2rem;
@@ -1171,11 +1205,6 @@ video {
1171
1205
  line-height: 1.75rem;
1172
1206
  }
1173
1207
 
1174
- .text-sm{
1175
- font-size: 0.875rem;
1176
- line-height: 1.25rem;
1177
- }
1178
-
1179
1208
  .text-xl{
1180
1209
  font-size: 1.25rem;
1181
1210
  line-height: 1.75rem;
@@ -1325,7 +1354,13 @@ video {
1325
1354
  }
1326
1355
 
1327
1356
  .lex4-editor {
1328
- font-family: 'Inter', system-ui, -apple-system, sans-serif;
1357
+ font-family: 'Calibri', 'Carlito', sans-serif;
1358
+ }
1359
+
1360
+ .lex4-page,
1361
+ .lex4-page [contenteditable],
1362
+ .lex4-page .pointer-events-none {
1363
+ font-family: inherit;
1329
1364
  }
1330
1365
 
1331
1366
  .lex4-editor[data-global-selection-active="true"] [data-testid^="page-body-"] [contenteditable="true"] {
@@ -1363,10 +1398,6 @@ video {
1363
1398
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
1364
1399
  }
1365
1400
 
1366
- .hover\:bg-gray-200\/60:hover{
1367
- background-color: rgb(229 231 235 / 0.6);
1368
- }
1369
-
1370
1401
  .hover\:bg-gray-50:hover{
1371
1402
  --tw-bg-opacity: 1;
1372
1403
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
@@ -1377,11 +1408,6 @@ video {
1377
1408
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
1378
1409
  }
1379
1410
 
1380
- .hover\:text-gray-700:hover{
1381
- --tw-text-opacity: 1;
1382
- color: rgb(55 65 81 / var(--tw-text-opacity, 1));
1383
- }
1384
-
1385
1411
  .hover\:text-gray-900:hover{
1386
1412
  --tw-text-opacity: 1;
1387
1413
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
@@ -1 +1 @@
1
- {"version":3,"file":"variable-node.d.ts","sourceRoot":"","sources":["../../src/variables/variable-node.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACZ,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,sBAAsB,GAAG,MAAM,CACzC;IAA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,qBAAa,YAAa,SAAQ,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC;IAC1D,aAAa,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY;gBAIlC,WAAW,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;IAK9C,cAAc,IAAI,MAAM;IAMxB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,sBAAsB,GAAG,YAAY;IAIvE,UAAU,IAAI,sBAAsB;IAUpC,SAAS,IAAI,WAAW;IASxB,SAAS,IAAI,KAAK;IAIlB,SAAS,IAAI,eAAe;IAO5B,MAAM,CAAC,SAAS,IAAI,gBAAgB,GAAG,IAAI;IAM3C,QAAQ,IAAI,OAAO;IAInB,oBAAoB,IAAI,OAAO;IAI/B,cAAc,IAAI,MAAM;IAMxB,QAAQ,IAAI,GAAG,CAAC,OAAO;CAKxB;AAmBD,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,YAAY,CAErE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,YAAY,CAEtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yurikilian/lex4",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",