@w100n/documents 0.16.1 → 0.16.3

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 (40) hide show
  1. package/dist/{SheetView-FVLKQR7J.js → SheetView-KXFUAILH.js} +7 -5
  2. package/dist/SheetView-KXFUAILH.js.map +1 -0
  3. package/dist/{TextEditor-BF6HCNHL.js → TextEditor-RNHXPYJX.js} +19 -15
  4. package/dist/TextEditor-RNHXPYJX.js.map +1 -0
  5. package/dist/{chunk-GN3ZOD36.js → chunk-E2FVJNDT.js} +3 -3
  6. package/dist/{chunk-GN3ZOD36.js.map → chunk-E2FVJNDT.js.map} +1 -1
  7. package/dist/{chunk-LZYITB56.js → chunk-VNXZVOPN.js} +37 -1
  8. package/dist/chunk-VNXZVOPN.js.map +1 -0
  9. package/dist/{chunk-NPVH2YDI.js → chunk-XFLYD3JS.js} +2 -2
  10. package/dist/collab.cjs +37 -1
  11. package/dist/collab.cjs.map +1 -1
  12. package/dist/collab.d.cts +1 -1
  13. package/dist/collab.d.ts +1 -1
  14. package/dist/collab.js +2 -2
  15. package/dist/{grid-Q4XBPQFY.js → grid-IR5YFFSF.js} +33 -6
  16. package/dist/grid-IR5YFFSF.js.map +1 -0
  17. package/dist/index.cjs +313 -32
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.css +90 -6
  20. package/dist/index.css.map +1 -1
  21. package/dist/index.d.cts +2 -2
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +232 -18
  24. package/dist/index.js.map +1 -1
  25. package/dist/kinds.d.cts +1 -1
  26. package/dist/kinds.d.ts +1 -1
  27. package/dist/memory.cjs +6 -0
  28. package/dist/memory.cjs.map +1 -1
  29. package/dist/memory.d.cts +1 -1
  30. package/dist/memory.d.ts +1 -1
  31. package/dist/memory.js +6 -0
  32. package/dist/memory.js.map +1 -1
  33. package/dist/{types-DNcaU6SK.d.cts → types-BUO0OzOl.d.cts} +5 -0
  34. package/dist/{types-DNcaU6SK.d.ts → types-BUO0OzOl.d.ts} +5 -0
  35. package/package.json +1 -1
  36. package/dist/SheetView-FVLKQR7J.js.map +0 -1
  37. package/dist/TextEditor-BF6HCNHL.js.map +0 -1
  38. package/dist/chunk-LZYITB56.js.map +0 -1
  39. package/dist/grid-Q4XBPQFY.js.map +0 -1
  40. /package/dist/{chunk-NPVH2YDI.js.map → chunk-XFLYD3JS.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 {
@@ -4735,6 +4755,70 @@ svg.w100n-pdf-marks {
4735
4755
  #6d28d9);
4736
4756
  color: #fff;
4737
4757
  }
4758
+ .w100n-docs .w100n-docs-menu.w100n-docs-context {
4759
+ position: fixed;
4760
+ z-index: 40;
4761
+ right: auto;
4762
+ width: 280px;
4763
+ max-height: none;
4764
+ overflow: visible;
4765
+ }
4766
+ .w100n-docs-context button {
4767
+ color: var(--docs-text);
4768
+ }
4769
+ .w100n-docs-context button > svg:first-child {
4770
+ margin-left: 0;
4771
+ width: 15px;
4772
+ height: 15px;
4773
+ color: var(--docs-muted);
4774
+ }
4775
+ .w100n-docs-context button[data-tone=red],
4776
+ .w100n-docs-context button[data-tone=red] > svg:first-child {
4777
+ color: #ef4444;
4778
+ }
4779
+ .w100n-docs-context hr {
4780
+ margin: 4px 2px;
4781
+ border: 0;
4782
+ border-top: 1px solid var(--docs-border);
4783
+ }
4784
+ .w100n-docs-context-head {
4785
+ display: grid;
4786
+ gap: 2px;
4787
+ margin-bottom: 4px;
4788
+ padding: 6px 8px 8px;
4789
+ border-bottom: 1px solid var(--docs-border);
4790
+ }
4791
+ .w100n-docs-context-head b {
4792
+ overflow: hidden;
4793
+ text-overflow: ellipsis;
4794
+ white-space: nowrap;
4795
+ font-size: 13px;
4796
+ font-weight: 650;
4797
+ }
4798
+ .w100n-docs-context-head small {
4799
+ color: var(--docs-dim);
4800
+ font-size: 11.5px;
4801
+ }
4802
+ .w100n-docs-context-ask {
4803
+ display: grid;
4804
+ gap: 10px;
4805
+ padding: 6px 8px;
4806
+ font-size: 12.5px;
4807
+ }
4808
+ .w100n-docs-context-ask p {
4809
+ margin: 0;
4810
+ }
4811
+ .w100n-docs .w100n-docs-context-ask .w100n-docs-action {
4812
+ width: auto;
4813
+ min-height: 32px;
4814
+ color: #fff;
4815
+ }
4816
+ .w100n-docs-card .w100n-docs-field {
4817
+ width: 100%;
4818
+ height: 26px;
4819
+ padding: 0 6px;
4820
+ font-size: 12.5px;
4821
+ }
4738
4822
 
4739
4823
  /* src/sheets/sheets.css */
4740
4824
  @font-face {