@w100n/documents 0.12.1 → 0.13.0

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.
Files changed (34) hide show
  1. package/dist/{SheetView-G3YWPH5V.js → SheetView-3UAFXGZS.js} +4 -4
  2. package/dist/{TextEditor-SPEVB5HX.js → TextEditor-OLBLWC6F.js} +4 -4
  3. package/dist/{chunk-UWASFTDF.js → chunk-MRP3EURG.js} +3 -3
  4. package/dist/{chunk-UWASFTDF.js.map → chunk-MRP3EURG.js.map} +1 -1
  5. package/dist/{chunk-5NT5ALOF.js → chunk-T7XCGDE5.js} +2 -2
  6. package/dist/{chunk-BKUFGMEA.js → chunk-WR3MT7KP.js} +40 -4
  7. package/dist/{chunk-BKUFGMEA.js.map → chunk-WR3MT7KP.js.map} +1 -1
  8. package/dist/collab.cjs +40 -4
  9. package/dist/collab.cjs.map +1 -1
  10. package/dist/collab.d.cts +1 -1
  11. package/dist/collab.d.ts +1 -1
  12. package/dist/collab.js +2 -2
  13. package/dist/index.cjs +857 -603
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.css +131 -0
  16. package/dist/index.css.map +1 -1
  17. package/dist/index.d.cts +2 -2
  18. package/dist/index.d.ts +2 -2
  19. package/dist/index.js +546 -328
  20. package/dist/index.js.map +1 -1
  21. package/dist/kinds.d.cts +1 -1
  22. package/dist/kinds.d.ts +1 -1
  23. package/dist/memory.cjs +9 -1
  24. package/dist/memory.cjs.map +1 -1
  25. package/dist/memory.d.cts +1 -1
  26. package/dist/memory.d.ts +1 -1
  27. package/dist/memory.js +9 -1
  28. package/dist/memory.js.map +1 -1
  29. package/dist/{types-B5oF25dn.d.cts → types-Er60M5kL.d.cts} +6 -0
  30. package/dist/{types-B5oF25dn.d.ts → types-Er60M5kL.d.ts} +6 -0
  31. package/package.json +1 -1
  32. /package/dist/{SheetView-G3YWPH5V.js.map → SheetView-3UAFXGZS.js.map} +0 -0
  33. /package/dist/{TextEditor-SPEVB5HX.js.map → TextEditor-OLBLWC6F.js.map} +0 -0
  34. /package/dist/{chunk-5NT5ALOF.js.map → chunk-T7XCGDE5.js.map} +0 -0
package/dist/index.css CHANGED
@@ -3542,6 +3542,137 @@ svg.w100n-pdf-marks {
3542
3542
  padding-right: 8px;
3543
3543
  }
3544
3544
  }
3545
+ .w100n-docs .w100n-new {
3546
+ width: min(720px, 100%);
3547
+ gap: 14px;
3548
+ }
3549
+ .w100n-new-head {
3550
+ display: flex;
3551
+ align-items: center;
3552
+ gap: 10px;
3553
+ }
3554
+ .w100n-new-tile {
3555
+ display: grid;
3556
+ place-items: center;
3557
+ width: 32px;
3558
+ height: 32px;
3559
+ border-radius: 10px;
3560
+ color: #fff;
3561
+ background:
3562
+ linear-gradient(
3563
+ 145deg,
3564
+ #8b5cf6,
3565
+ #6d28d9);
3566
+ }
3567
+ .w100n-docs .w100n-new-tile svg {
3568
+ width: 16px;
3569
+ height: 16px;
3570
+ }
3571
+ .w100n-new-kinds {
3572
+ display: grid;
3573
+ grid-template-columns: repeat(4, minmax(0, 1fr));
3574
+ gap: 8px;
3575
+ }
3576
+ .w100n-docs .w100n-new-kinds button {
3577
+ display: flex;
3578
+ align-items: center;
3579
+ gap: 10px;
3580
+ padding: 10px;
3581
+ border: 1px solid var(--docs-border);
3582
+ border-radius: 12px;
3583
+ background: var(--docs-bg);
3584
+ text-align: left;
3585
+ }
3586
+ .w100n-docs .w100n-new-kinds button[aria-checked=true] {
3587
+ border-color: var(--docs-accent);
3588
+ background: var(--docs-active);
3589
+ }
3590
+ .w100n-new-kinds b {
3591
+ display: block;
3592
+ font-size: 12.5px;
3593
+ }
3594
+ .w100n-new-kinds small {
3595
+ color: var(--docs-dim);
3596
+ font-size: 11px;
3597
+ }
3598
+ .w100n-new-templates {
3599
+ display: grid;
3600
+ grid-template-columns: repeat(6, minmax(0, 1fr));
3601
+ gap: 10px;
3602
+ }
3603
+ .w100n-docs .w100n-new-templates button {
3604
+ display: grid;
3605
+ gap: 6px;
3606
+ font-size: 12px;
3607
+ text-align: left;
3608
+ color: var(--docs-text);
3609
+ }
3610
+ .w100n-new-sheet {
3611
+ display: flex;
3612
+ flex-direction: column;
3613
+ gap: 4px;
3614
+ height: 104px;
3615
+ padding: 10px 9px;
3616
+ overflow: hidden;
3617
+ border: 1px solid var(--docs-border);
3618
+ border-radius: 8px;
3619
+ background: #fff;
3620
+ }
3621
+ .w100n-new-sheet[data-blank=true] {
3622
+ display: grid;
3623
+ place-items: center;
3624
+ color: #94a3b8;
3625
+ }
3626
+ .w100n-new-sheet i {
3627
+ display: block;
3628
+ height: 4px;
3629
+ border-radius: 2px;
3630
+ background: #e2e8f0;
3631
+ }
3632
+ .w100n-new-sheet i[data-head] {
3633
+ width: 60%;
3634
+ height: 7px;
3635
+ background: #94a3b8;
3636
+ }
3637
+ .w100n-new-sheet i[data-accent] {
3638
+ width: 40%;
3639
+ margin-top: 4px;
3640
+ background: #c4b5fd;
3641
+ }
3642
+ .w100n-new-templates button[aria-checked=true] .w100n-new-sheet {
3643
+ outline: 2px solid var(--docs-accent);
3644
+ outline-offset: 2px;
3645
+ }
3646
+ .w100n-new-fields {
3647
+ display: grid;
3648
+ grid-template-columns: 1.3fr 1fr;
3649
+ gap: 12px;
3650
+ }
3651
+ .w100n-new-fields label,
3652
+ .w100n-new-fields > div {
3653
+ display: grid;
3654
+ gap: 6px;
3655
+ }
3656
+ .w100n-new-fields .w100n-docs-caption {
3657
+ padding: 0;
3658
+ font-size: 12px;
3659
+ color: var(--docs-muted);
3660
+ font-weight: 550;
3661
+ }
3662
+ .w100n-docs .w100n-new-place {
3663
+ color: var(--docs-muted);
3664
+ }
3665
+ @container (max-width: 640px) {
3666
+ .w100n-new-kinds {
3667
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3668
+ }
3669
+ .w100n-new-templates {
3670
+ grid-template-columns: repeat(3, minmax(0, 1fr));
3671
+ }
3672
+ .w100n-new-fields {
3673
+ grid-template-columns: 1fr;
3674
+ }
3675
+ }
3545
3676
 
3546
3677
  /* src/sheets/sheets.css */
3547
3678
  @font-face {