@w100n/documents 0.15.1 → 0.16.1

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 (43) hide show
  1. package/dist/Compare-M57FG4R3.js +96 -0
  2. package/dist/Compare-M57FG4R3.js.map +1 -0
  3. package/dist/{SheetView-RPQS43XY.js → SheetView-FVLKQR7J.js} +6 -4
  4. package/dist/{SheetView-RPQS43XY.js.map → SheetView-FVLKQR7J.js.map} +1 -1
  5. package/dist/{TextEditor-D6QH2B7O.js → TextEditor-BF6HCNHL.js} +500 -369
  6. package/dist/TextEditor-BF6HCNHL.js.map +1 -0
  7. package/dist/chunk-EQLBYW42.js +458 -0
  8. package/dist/chunk-EQLBYW42.js.map +1 -0
  9. package/dist/{chunk-BGH36LAR.js → chunk-GN3ZOD36.js} +87 -411
  10. package/dist/chunk-GN3ZOD36.js.map +1 -0
  11. package/dist/chunk-LZYITB56.js +1032 -0
  12. package/dist/chunk-LZYITB56.js.map +1 -0
  13. package/dist/{chunk-XR42B3F5.js → chunk-NPVH2YDI.js} +2 -2
  14. package/dist/{chunk-CAPICJ6B.js → chunk-ZAVXCH7V.js} +51 -1032
  15. package/dist/chunk-ZAVXCH7V.js.map +1 -0
  16. package/dist/collab.cjs +367 -200
  17. package/dist/collab.cjs.map +1 -1
  18. package/dist/collab.d.cts +1 -1
  19. package/dist/collab.d.ts +1 -1
  20. package/dist/collab.js +4 -2
  21. package/dist/index.cjs +1680 -1230
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.css +187 -0
  24. package/dist/index.css.map +1 -1
  25. package/dist/index.d.cts +2 -2
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +70 -15
  28. package/dist/index.js.map +1 -1
  29. package/dist/kinds.d.cts +1 -1
  30. package/dist/kinds.d.ts +1 -1
  31. package/dist/memory.cjs +25 -2
  32. package/dist/memory.cjs.map +1 -1
  33. package/dist/memory.d.cts +3 -2
  34. package/dist/memory.d.ts +3 -2
  35. package/dist/memory.js +25 -2
  36. package/dist/memory.js.map +1 -1
  37. package/dist/{types-BTsVooZw.d.cts → types-DNcaU6SK.d.cts} +9 -0
  38. package/dist/{types-BTsVooZw.d.ts → types-DNcaU6SK.d.ts} +9 -0
  39. package/package.json +1 -1
  40. package/dist/TextEditor-D6QH2B7O.js.map +0 -1
  41. package/dist/chunk-BGH36LAR.js.map +0 -1
  42. package/dist/chunk-CAPICJ6B.js.map +0 -1
  43. /package/dist/{chunk-XR42B3F5.js.map → chunk-NPVH2YDI.js.map} +0 -0
package/dist/index.css CHANGED
@@ -4548,6 +4548,193 @@ svg.w100n-pdf-marks {
4548
4548
  #8b5cf6,
4549
4549
  #6d28d9);
4550
4550
  }
4551
+ .w100n-docs-head,
4552
+ .w100n-docs-tabs,
4553
+ .w100n-docs-outline,
4554
+ .w100n-docs-cards,
4555
+ .w100n-docs-menu {
4556
+ user-select: none;
4557
+ -webkit-user-select: none;
4558
+ }
4559
+ .w100n-compare {
4560
+ margin: 0 auto;
4561
+ font-size: 15px;
4562
+ line-height: 1.7;
4563
+ overflow-wrap: anywhere;
4564
+ white-space: pre-wrap;
4565
+ }
4566
+ .w100n-compare p {
4567
+ margin: 0 0 12px;
4568
+ padding: 2px 10px;
4569
+ border-left: 3px solid transparent;
4570
+ border-radius: 4px;
4571
+ }
4572
+ .w100n-compare p[data-op="="] {
4573
+ color: #6b7280;
4574
+ }
4575
+ .w100n-compare p[data-op="+"] {
4576
+ border-color: #10b981;
4577
+ background: #ecfdf5;
4578
+ }
4579
+ .w100n-compare p[data-op="-"] {
4580
+ border-color: #f43f5e;
4581
+ background: #fff1f2;
4582
+ }
4583
+ .w100n-compare p[data-op="~"] {
4584
+ border-color: #3b82f6;
4585
+ background: #eff6ff;
4586
+ }
4587
+ .w100n-compare ins {
4588
+ background: #bbf7d0;
4589
+ color: #065f46;
4590
+ text-decoration: none;
4591
+ border-radius: 3px;
4592
+ }
4593
+ .w100n-compare del {
4594
+ background: #fecdd3;
4595
+ color: #9f1239;
4596
+ border-radius: 3px;
4597
+ }
4598
+ .w100n-compare .w100n-compare-sum {
4599
+ margin-bottom: 24px;
4600
+ padding: 0;
4601
+ border: 0;
4602
+ color: #374151;
4603
+ font-weight: 600;
4604
+ white-space: normal;
4605
+ }
4606
+ .w100n-text-endnotes {
4607
+ margin-top: 32px;
4608
+ padding-top: 8px;
4609
+ border-top: 1px solid #cbd5e1;
4610
+ color: #334155;
4611
+ font-size: 13px;
4612
+ line-height: 1.6;
4613
+ user-select: none;
4614
+ }
4615
+ .w100n-text-endnotes p {
4616
+ margin: 0 0 4px;
4617
+ }
4618
+ .w100n-text-endnotes sup {
4619
+ margin-right: 4px;
4620
+ color: #6d28d9;
4621
+ font-weight: 600;
4622
+ }
4623
+ .w100n-text-pop.w100n-text-context {
4624
+ position: fixed;
4625
+ z-index: 40;
4626
+ bottom: auto;
4627
+ right: auto;
4628
+ max-height: none;
4629
+ }
4630
+ .w100n-text-context .w100n-text-hint {
4631
+ display: block;
4632
+ padding: 6px 10px 2px;
4633
+ border-top: 1px solid var(--docs-border);
4634
+ margin-top: 4px;
4635
+ color: var(--docs-dim);
4636
+ font-size: 11.5px;
4637
+ }
4638
+ .w100n-text-sheet.is-flow {
4639
+ width: 100%;
4640
+ min-height: 0;
4641
+ padding: 20px 18px 40px;
4642
+ border-radius: 6px;
4643
+ }
4644
+ .w100n-text-sheet.is-flow img {
4645
+ max-width: 100%;
4646
+ height: auto;
4647
+ }
4648
+ .w100n-text-sheet:not(.is-flow) .w100n-text-endnotes {
4649
+ display: none;
4650
+ }
4651
+ .w100n-docs .w100n-text-ribbon.w100n-text-island {
4652
+ bottom: calc(14px + var(--kb, 0px));
4653
+ }
4654
+ @container (max-width: 560px) {
4655
+ .w100n-text:has(> .w100n-text-top) {
4656
+ display: grid;
4657
+ grid-template: auto minmax(0, 1fr) / minmax(0, 1fr) auto;
4658
+ column-gap: 6px;
4659
+ }
4660
+ .w100n-text > .w100n-text-scroll {
4661
+ grid-area: 2 / 1 / 3 / -1;
4662
+ }
4663
+ .w100n-docs .w100n-text > .w100n-text-ribbon.w100n-text-corner[data-side=right] {
4664
+ position: static;
4665
+ grid-area: 1 / 2;
4666
+ align-self: stretch;
4667
+ padding: 2px;
4668
+ }
4669
+ .w100n-text-top .w100n-text-menus {
4670
+ overflow-x: auto;
4671
+ scrollbar-width: none;
4672
+ }
4673
+ .w100n-docs .w100n-text-ribbon.w100n-text-island {
4674
+ bottom: calc(8px + var(--kb, 0px));
4675
+ }
4676
+ }
4677
+ @media (pointer: coarse) {
4678
+ .w100n-docs .w100n-text-ribbon:is(.w100n-text-island, .w100n-text-corner) :is(.w100n-text-tools, .w100n-text-anchor) > button:not(.w100n-docs-action, .w100n-text-picker, .w100n-text-word) {
4679
+ width: 42px;
4680
+ height: 42px;
4681
+ }
4682
+ .w100n-docs .w100n-text-menu button {
4683
+ min-height: 40px;
4684
+ }
4685
+ }
4686
+ .w100n-docs .w100n-docs-card-text small.w100n-docs-hit {
4687
+ display: -webkit-box;
4688
+ -webkit-line-clamp: 3;
4689
+ -webkit-box-orient: vertical;
4690
+ overflow: hidden;
4691
+ white-space: normal;
4692
+ margin-top: 2px;
4693
+ color: var(--docs-muted);
4694
+ line-height: 1.35;
4695
+ }
4696
+ .w100n-docs-hit mark {
4697
+ padding: 0 1px;
4698
+ border-radius: 3px;
4699
+ background: #fde68a;
4700
+ color: #422006;
4701
+ }
4702
+ .w100n-text-mentions {
4703
+ position: relative;
4704
+ display: grid;
4705
+ }
4706
+ .w100n-text-mentions .w100n-text-people-list {
4707
+ top: calc(100% + 4px);
4708
+ left: 0;
4709
+ right: 0;
4710
+ z-index: 12;
4711
+ min-width: 0;
4712
+ }
4713
+ .w100n-docs .w100n-text-people-list button[aria-selected=true] {
4714
+ background: var(--docs-hover);
4715
+ }
4716
+ .w100n-text-people-list .w100n-text-face {
4717
+ width: 22px;
4718
+ height: 22px;
4719
+ font-size: 11px;
4720
+ }
4721
+ .w100n-text-given {
4722
+ justify-self: start;
4723
+ padding: 2px 8px;
4724
+ border-radius: 6px;
4725
+ background: var(--docs-hover);
4726
+ color: var(--docs-muted);
4727
+ font-size: 11.5px;
4728
+ font-weight: 600;
4729
+ }
4730
+ .w100n-text-given[data-me=true] {
4731
+ background:
4732
+ linear-gradient(
4733
+ 135deg,
4734
+ #8b5cf6,
4735
+ #6d28d9);
4736
+ color: #fff;
4737
+ }
4551
4738
 
4552
4739
  /* src/sheets/sheets.css */
4553
4740
  @font-face {