@w100n/documents 0.16.0 → 0.16.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.
Files changed (39) hide show
  1. package/dist/{SheetView-EFBSMY7K.js → SheetView-S5AFXKPA.js} +5 -5
  2. package/dist/{TextEditor-MGCSGGGA.js → TextEditor-7WQJFUUU.js} +399 -349
  3. package/dist/TextEditor-7WQJFUUU.js.map +1 -0
  4. package/dist/{chunk-3OLRFIHQ.js → chunk-JC4DLTMI.js} +2 -2
  5. package/dist/{chunk-2L3TK7UF.js → chunk-KGAQT5M3.js} +3 -3
  6. package/dist/{chunk-2L3TK7UF.js.map → chunk-KGAQT5M3.js.map} +1 -1
  7. package/dist/{chunk-RKV3N6OS.js → chunk-LZYITB56.js} +22 -1
  8. package/dist/chunk-LZYITB56.js.map +1 -0
  9. package/dist/collab.cjs +22 -1
  10. package/dist/collab.cjs.map +1 -1
  11. package/dist/collab.d.cts +1 -1
  12. package/dist/collab.d.ts +1 -1
  13. package/dist/collab.js +2 -2
  14. package/dist/{grid-Q4XBPQFY.js → grid-AZLMNS7K.js} +15 -6
  15. package/dist/grid-AZLMNS7K.js.map +1 -0
  16. package/dist/index.cjs +1023 -886
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.css +78 -6
  19. package/dist/index.css.map +1 -1
  20. package/dist/index.d.cts +2 -2
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.js +58 -14
  23. package/dist/index.js.map +1 -1
  24. package/dist/kinds.d.cts +1 -1
  25. package/dist/kinds.d.ts +1 -1
  26. package/dist/memory.cjs +25 -2
  27. package/dist/memory.cjs.map +1 -1
  28. package/dist/memory.d.cts +3 -2
  29. package/dist/memory.d.ts +3 -2
  30. package/dist/memory.js +25 -2
  31. package/dist/memory.js.map +1 -1
  32. package/dist/{types-BTsVooZw.d.cts → types-DNcaU6SK.d.cts} +9 -0
  33. package/dist/{types-BTsVooZw.d.ts → types-DNcaU6SK.d.ts} +9 -0
  34. package/package.json +1 -1
  35. package/dist/TextEditor-MGCSGGGA.js.map +0 -1
  36. package/dist/chunk-RKV3N6OS.js.map +0 -1
  37. package/dist/grid-Q4XBPQFY.js.map +0 -1
  38. /package/dist/{SheetView-EFBSMY7K.js.map → SheetView-S5AFXKPA.js.map} +0 -0
  39. /package/dist/{chunk-3OLRFIHQ.js.map → chunk-JC4DLTMI.js.map} +0 -0
package/dist/index.css CHANGED
@@ -3926,11 +3926,31 @@ svg.w100n-pdf-marks {
3926
3926
  }
3927
3927
  .w100n-text-find {
3928
3928
  display: grid;
3929
+ grid-template-columns: minmax(0, 1fr) auto;
3929
3930
  gap: 8px;
3930
- width: 340px;
3931
+ width: 400px;
3931
3932
  }
3932
- .w100n-text-find .w100n-docs-row {
3933
- gap: 6px;
3933
+ .w100n-docs .w100n-text-find .w100n-docs-row {
3934
+ display: contents;
3935
+ }
3936
+ .w100n-text-find-end {
3937
+ display: flex;
3938
+ align-items: center;
3939
+ justify-content: flex-end;
3940
+ gap: 4px;
3941
+ }
3942
+ .w100n-text-find .w100n-setup-check {
3943
+ grid-column: 1 / -1;
3944
+ }
3945
+ .w100n-docs .w100n-text-find .w100n-text-find-end > .w100n-docs-action {
3946
+ height: 32px;
3947
+ padding: 0 12px;
3948
+ font-size: 13px;
3949
+ }
3950
+ .w100n-docs .w100n-text-find .w100n-text-find-end > .w100n-pdf-link {
3951
+ height: 32px;
3952
+ padding: 0 8px;
3953
+ font-size: 13px;
3934
3954
  }
3935
3955
  .w100n-docs .w100n-text-find input:not([type]) {
3936
3956
  flex: 1;
@@ -3943,13 +3963,13 @@ svg.w100n-pdf-marks {
3943
3963
  color: var(--docs-text);
3944
3964
  }
3945
3965
  .w100n-text-find small {
3946
- min-width: 56px;
3966
+ margin-right: 2px;
3947
3967
  color: var(--docs-dim);
3948
3968
  font-size: 11.5px;
3949
3969
  text-align: right;
3950
3970
  white-space: nowrap;
3951
3971
  }
3952
- .w100n-docs .w100n-text-find .w100n-docs-row > button:not(.w100n-docs-action):not(.w100n-pdf-link) {
3972
+ .w100n-docs .w100n-text-find .w100n-text-find-end > button:not(.w100n-docs-action):not(.w100n-pdf-link) {
3953
3973
  display: grid;
3954
3974
  place-items: center;
3955
3975
  width: 28px;
@@ -3957,7 +3977,7 @@ svg.w100n-pdf-marks {
3957
3977
  border-radius: 8px;
3958
3978
  color: var(--docs-muted);
3959
3979
  }
3960
- .w100n-text-find .w100n-docs-row > button:not(.w100n-docs-action):not(.w100n-pdf-link):hover:not(:disabled) {
3980
+ .w100n-text-find .w100n-text-find-end > button:not(.w100n-docs-action):not(.w100n-pdf-link):hover:not(:disabled) {
3961
3981
  background: var(--docs-hover);
3962
3982
  }
3963
3983
  .w100n-docs-new {
@@ -4683,6 +4703,58 @@ svg.w100n-pdf-marks {
4683
4703
  min-height: 40px;
4684
4704
  }
4685
4705
  }
4706
+ .w100n-docs .w100n-docs-card-text small.w100n-docs-hit {
4707
+ display: -webkit-box;
4708
+ -webkit-line-clamp: 3;
4709
+ -webkit-box-orient: vertical;
4710
+ overflow: hidden;
4711
+ white-space: normal;
4712
+ margin-top: 2px;
4713
+ color: var(--docs-muted);
4714
+ line-height: 1.35;
4715
+ }
4716
+ .w100n-docs-hit mark {
4717
+ padding: 0 1px;
4718
+ border-radius: 3px;
4719
+ background: #fde68a;
4720
+ color: #422006;
4721
+ }
4722
+ .w100n-text-mentions {
4723
+ position: relative;
4724
+ display: grid;
4725
+ }
4726
+ .w100n-text-mentions .w100n-text-people-list {
4727
+ top: calc(100% + 4px);
4728
+ left: 0;
4729
+ right: 0;
4730
+ z-index: 12;
4731
+ min-width: 0;
4732
+ }
4733
+ .w100n-docs .w100n-text-people-list button[aria-selected=true] {
4734
+ background: var(--docs-hover);
4735
+ }
4736
+ .w100n-text-people-list .w100n-text-face {
4737
+ width: 22px;
4738
+ height: 22px;
4739
+ font-size: 11px;
4740
+ }
4741
+ .w100n-text-given {
4742
+ justify-self: start;
4743
+ padding: 2px 8px;
4744
+ border-radius: 6px;
4745
+ background: var(--docs-hover);
4746
+ color: var(--docs-muted);
4747
+ font-size: 11.5px;
4748
+ font-weight: 600;
4749
+ }
4750
+ .w100n-text-given[data-me=true] {
4751
+ background:
4752
+ linear-gradient(
4753
+ 135deg,
4754
+ #8b5cf6,
4755
+ #6d28d9);
4756
+ color: #fff;
4757
+ }
4686
4758
 
4687
4759
  /* src/sheets/sheets.css */
4688
4760
  @font-face {