unsys-canvas 0.1.0 → 0.1.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.
- package/README.md +14 -5
- package/dist/core.d.ts +6 -5
- package/dist/core.js +20 -7
- package/dist/core.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.js +2413 -2876
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -96
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"Courier New", monospace;
|
|
11
11
|
--color-neutral-200: oklch(92.2% 0 none);
|
|
12
12
|
--color-neutral-400: oklch(70.8% 0 none);
|
|
13
|
-
--color-neutral-500: oklch(55.6% 0 none);
|
|
14
13
|
--color-neutral-600: oklch(43.9% 0 none);
|
|
15
14
|
--color-neutral-800: oklch(26.9% 0 none);
|
|
16
15
|
--color-neutral-900: oklch(20.5% 0 none);
|
|
@@ -209,18 +208,12 @@
|
|
|
209
208
|
.static {
|
|
210
209
|
position: static;
|
|
211
210
|
}
|
|
212
|
-
.sticky {
|
|
213
|
-
position: sticky;
|
|
214
|
-
}
|
|
215
211
|
.inset-0 {
|
|
216
212
|
inset: 0px;
|
|
217
213
|
}
|
|
218
214
|
.inset-y-3 {
|
|
219
215
|
inset-block: calc(var(--spacing) * 3);
|
|
220
216
|
}
|
|
221
|
-
.top-0 {
|
|
222
|
-
top: 0px;
|
|
223
|
-
}
|
|
224
217
|
.top-0\.5 {
|
|
225
218
|
top: calc(var(--spacing) * 0.5);
|
|
226
219
|
}
|
|
@@ -230,9 +223,6 @@
|
|
|
230
223
|
.top-1\.5 {
|
|
231
224
|
top: calc(var(--spacing) * 1.5);
|
|
232
225
|
}
|
|
233
|
-
.top-8 {
|
|
234
|
-
top: calc(var(--spacing) * 8);
|
|
235
|
-
}
|
|
236
226
|
.right-0\.5 {
|
|
237
227
|
right: calc(var(--spacing) * 0.5);
|
|
238
228
|
}
|
|
@@ -242,9 +232,6 @@
|
|
|
242
232
|
.right-1\.5 {
|
|
243
233
|
right: calc(var(--spacing) * 1.5);
|
|
244
234
|
}
|
|
245
|
-
.right-full {
|
|
246
|
-
right: 100%;
|
|
247
|
-
}
|
|
248
235
|
.bottom-0\.5 {
|
|
249
236
|
bottom: calc(var(--spacing) * 0.5);
|
|
250
237
|
}
|
|
@@ -263,24 +250,15 @@
|
|
|
263
250
|
.left-1\.5 {
|
|
264
251
|
left: calc(var(--spacing) * 1.5);
|
|
265
252
|
}
|
|
266
|
-
.left-full {
|
|
267
|
-
left: 100%;
|
|
268
|
-
}
|
|
269
253
|
.z-10 {
|
|
270
254
|
z-index: 10;
|
|
271
255
|
}
|
|
272
|
-
.z-20 {
|
|
273
|
-
z-index: 20;
|
|
274
|
-
}
|
|
275
256
|
.z-\[18\] {
|
|
276
257
|
z-index: 18;
|
|
277
258
|
}
|
|
278
259
|
.z-\[55\] {
|
|
279
260
|
z-index: 55;
|
|
280
261
|
}
|
|
281
|
-
.z-\[58\] {
|
|
282
|
-
z-index: 58;
|
|
283
|
-
}
|
|
284
262
|
.z-\[80\] {
|
|
285
263
|
z-index: 80;
|
|
286
264
|
}
|
|
@@ -314,18 +292,9 @@
|
|
|
314
292
|
.mt-auto {
|
|
315
293
|
margin-top: auto;
|
|
316
294
|
}
|
|
317
|
-
.mr-1 {
|
|
318
|
-
margin-right: var(--spacing);
|
|
319
|
-
}
|
|
320
295
|
.mb-3 {
|
|
321
296
|
margin-bottom: calc(var(--spacing) * 3);
|
|
322
297
|
}
|
|
323
|
-
.ml-1 {
|
|
324
|
-
margin-left: var(--spacing);
|
|
325
|
-
}
|
|
326
|
-
.ml-auto {
|
|
327
|
-
margin-left: auto;
|
|
328
|
-
}
|
|
329
298
|
.box-border {
|
|
330
299
|
box-sizing: border-box;
|
|
331
300
|
}
|
|
@@ -350,9 +319,6 @@
|
|
|
350
319
|
.inline-flex {
|
|
351
320
|
display: inline-flex;
|
|
352
321
|
}
|
|
353
|
-
.aspect-square {
|
|
354
|
-
aspect-ratio: 1 / 1;
|
|
355
|
-
}
|
|
356
322
|
.size-1 {
|
|
357
323
|
width: var(--spacing);
|
|
358
324
|
height: var(--spacing);
|
|
@@ -369,9 +335,6 @@
|
|
|
369
335
|
.h-4 {
|
|
370
336
|
height: calc(var(--spacing) * 4);
|
|
371
337
|
}
|
|
372
|
-
.h-6 {
|
|
373
|
-
height: calc(var(--spacing) * 6);
|
|
374
|
-
}
|
|
375
338
|
.h-10 {
|
|
376
339
|
height: calc(var(--spacing) * 10);
|
|
377
340
|
}
|
|
@@ -408,18 +371,12 @@
|
|
|
408
371
|
.w-4 {
|
|
409
372
|
width: calc(var(--spacing) * 4);
|
|
410
373
|
}
|
|
411
|
-
.w-6 {
|
|
412
|
-
width: calc(var(--spacing) * 6);
|
|
413
|
-
}
|
|
414
374
|
.w-10 {
|
|
415
375
|
width: calc(var(--spacing) * 10);
|
|
416
376
|
}
|
|
417
377
|
.w-12 {
|
|
418
378
|
width: calc(var(--spacing) * 12);
|
|
419
379
|
}
|
|
420
|
-
.w-56 {
|
|
421
|
-
width: calc(var(--spacing) * 56);
|
|
422
|
-
}
|
|
423
380
|
.w-64 {
|
|
424
381
|
width: calc(var(--spacing) * 64);
|
|
425
382
|
}
|
|
@@ -462,15 +419,9 @@
|
|
|
462
419
|
.resize {
|
|
463
420
|
resize: both;
|
|
464
421
|
}
|
|
465
|
-
.grid-cols-1 {
|
|
466
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
467
|
-
}
|
|
468
422
|
.grid-cols-2 {
|
|
469
423
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
470
424
|
}
|
|
471
|
-
.grid-cols-4 {
|
|
472
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
473
|
-
}
|
|
474
425
|
.flex-col {
|
|
475
426
|
flex-direction: column;
|
|
476
427
|
}
|
|
@@ -486,9 +437,6 @@
|
|
|
486
437
|
.items-start {
|
|
487
438
|
align-items: flex-start;
|
|
488
439
|
}
|
|
489
|
-
.items-stretch {
|
|
490
|
-
align-items: stretch;
|
|
491
|
-
}
|
|
492
440
|
.justify-between {
|
|
493
441
|
justify-content: space-between;
|
|
494
442
|
}
|
|
@@ -565,9 +513,6 @@
|
|
|
565
513
|
.border-current {
|
|
566
514
|
border-color: currentcolor;
|
|
567
515
|
}
|
|
568
|
-
.border-neutral-600 {
|
|
569
|
-
border-color: var(--color-neutral-600);
|
|
570
|
-
}
|
|
571
516
|
.border-neutral-800 {
|
|
572
517
|
border-color: var(--color-neutral-800);
|
|
573
518
|
}
|
|
@@ -640,9 +585,6 @@
|
|
|
640
585
|
.bg-inherit {
|
|
641
586
|
background-color: inherit;
|
|
642
587
|
}
|
|
643
|
-
.bg-neutral-900 {
|
|
644
|
-
background-color: var(--color-neutral-900);
|
|
645
|
-
}
|
|
646
588
|
.bg-neutral-900\/30 {
|
|
647
589
|
background-color: color-mix(in srgb, oklch(20.5% 0 none) 30%, transparent);
|
|
648
590
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -658,12 +600,6 @@
|
|
|
658
600
|
background-color: color-mix(in oklab, var(--color-neutral-950) 94%, transparent);
|
|
659
601
|
}
|
|
660
602
|
}
|
|
661
|
-
.bg-neutral-950\/95 {
|
|
662
|
-
background-color: color-mix(in srgb, oklch(14.5% 0 none) 95%, transparent);
|
|
663
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
664
|
-
background-color: color-mix(in oklab, var(--color-neutral-950) 95%, transparent);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
603
|
.bg-white {
|
|
668
604
|
background-color: var(--color-white);
|
|
669
605
|
}
|
|
@@ -685,12 +621,6 @@
|
|
|
685
621
|
.bg-center {
|
|
686
622
|
background-position: center;
|
|
687
623
|
}
|
|
688
|
-
.p-0 {
|
|
689
|
-
padding: 0px;
|
|
690
|
-
}
|
|
691
|
-
.p-1 {
|
|
692
|
-
padding: var(--spacing);
|
|
693
|
-
}
|
|
694
624
|
.p-2 {
|
|
695
625
|
padding: calc(var(--spacing) * 2);
|
|
696
626
|
}
|
|
@@ -700,9 +630,6 @@
|
|
|
700
630
|
.p-5 {
|
|
701
631
|
padding: calc(var(--spacing) * 5);
|
|
702
632
|
}
|
|
703
|
-
.px-0\.5 {
|
|
704
|
-
padding-inline: calc(var(--spacing) * 0.5);
|
|
705
|
-
}
|
|
706
633
|
.px-1 {
|
|
707
634
|
padding-inline: var(--spacing);
|
|
708
635
|
}
|
|
@@ -786,9 +713,6 @@
|
|
|
786
713
|
.text-\[8px\] {
|
|
787
714
|
font-size: 8px;
|
|
788
715
|
}
|
|
789
|
-
.text-\[9px\] {
|
|
790
|
-
font-size: 9px;
|
|
791
|
-
}
|
|
792
716
|
.text-\[10px\] {
|
|
793
717
|
font-size: 10px;
|
|
794
718
|
}
|
|
@@ -833,10 +757,6 @@
|
|
|
833
757
|
--tw-tracking: 0.16em;
|
|
834
758
|
letter-spacing: 0.16em;
|
|
835
759
|
}
|
|
836
|
-
.tracking-\[0\.22em\] {
|
|
837
|
-
--tw-tracking: 0.22em;
|
|
838
|
-
letter-spacing: 0.22em;
|
|
839
|
-
}
|
|
840
760
|
.tracking-wider {
|
|
841
761
|
--tw-tracking: var(--tracking-wider);
|
|
842
762
|
letter-spacing: var(--tracking-wider);
|
|
@@ -865,12 +785,6 @@
|
|
|
865
785
|
color: color-mix(in oklab, var(--color-white) 40%, transparent);
|
|
866
786
|
}
|
|
867
787
|
}
|
|
868
|
-
.text-white\/45 {
|
|
869
|
-
color: color-mix(in srgb, #fff 45%, transparent);
|
|
870
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
871
|
-
color: color-mix(in oklab, var(--color-white) 45%, transparent);
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
788
|
.text-white\/55 {
|
|
875
789
|
color: color-mix(in srgb, #fff 55%, transparent);
|
|
876
790
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -908,9 +822,6 @@
|
|
|
908
822
|
--tw-ordinal: ordinal;
|
|
909
823
|
font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
|
|
910
824
|
}
|
|
911
|
-
.placeholder-neutral-500::placeholder {
|
|
912
|
-
color: var(--color-neutral-500);
|
|
913
|
-
}
|
|
914
825
|
.opacity-25 {
|
|
915
826
|
opacity: 25%;
|
|
916
827
|
}
|
|
@@ -981,13 +892,6 @@
|
|
|
981
892
|
color: var(--color-white);
|
|
982
893
|
}
|
|
983
894
|
}
|
|
984
|
-
.focus\:border-white:focus {
|
|
985
|
-
border-color: var(--color-white);
|
|
986
|
-
}
|
|
987
|
-
.focus\:outline-none:focus {
|
|
988
|
-
--tw-outline-style: none;
|
|
989
|
-
outline-style: none;
|
|
990
|
-
}
|
|
991
895
|
.active\:cursor-grabbing:active {
|
|
992
896
|
cursor: grabbing;
|
|
993
897
|
}
|