@w100n/documents 0.16.4 → 0.18.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 (44) hide show
  1. package/dist/{Compare-M57FG4R3.js → Compare-RHAUAKUJ.js} +2 -2
  2. package/dist/{SheetView-OEKOHMKW.js → SheetView-43JDIP7D.js} +5 -5
  3. package/dist/{TextEditor-5S7FSLIZ.js → TextEditor-CYS4U5XA.js} +119 -27
  4. package/dist/TextEditor-CYS4U5XA.js.map +1 -0
  5. package/dist/{chunk-VNXZVOPN.js → chunk-BWU6FPPZ.js} +956 -1
  6. package/dist/chunk-BWU6FPPZ.js.map +1 -0
  7. package/dist/{chunk-3D2G5NBI.js → chunk-DATYTA4H.js} +2 -2
  8. package/dist/{chunk-EQLBYW42.js → chunk-GSIPTCQH.js} +9 -1
  9. package/dist/chunk-GSIPTCQH.js.map +1 -0
  10. package/dist/chunk-Z5STMOD6.js +39 -0
  11. package/dist/chunk-Z5STMOD6.js.map +1 -0
  12. package/dist/{chunk-AKJGYZME.js → chunk-ZCSHH24C.js} +67 -832
  13. package/dist/chunk-ZCSHH24C.js.map +1 -0
  14. package/dist/collab.cjs +197 -2
  15. package/dist/collab.cjs.map +1 -1
  16. package/dist/collab.d.cts +1 -1
  17. package/dist/collab.d.ts +1 -1
  18. package/dist/collab.js +3 -3
  19. package/dist/index.cjs +1437 -543
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.css +330 -0
  22. package/dist/index.css.map +1 -1
  23. package/dist/index.d.cts +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +1080 -497
  26. package/dist/index.js.map +1 -1
  27. package/dist/kinds.d.cts +1 -1
  28. package/dist/kinds.d.ts +1 -1
  29. package/dist/memory.cjs +34 -5
  30. package/dist/memory.cjs.map +1 -1
  31. package/dist/memory.d.cts +1 -1
  32. package/dist/memory.d.ts +1 -1
  33. package/dist/memory.js +34 -5
  34. package/dist/memory.js.map +1 -1
  35. package/dist/{types-BUO0OzOl.d.cts → types-DyonaPQf.d.cts} +12 -1
  36. package/dist/{types-BUO0OzOl.d.ts → types-DyonaPQf.d.ts} +12 -1
  37. package/package.json +1 -1
  38. package/dist/TextEditor-5S7FSLIZ.js.map +0 -1
  39. package/dist/chunk-AKJGYZME.js.map +0 -1
  40. package/dist/chunk-EQLBYW42.js.map +0 -1
  41. package/dist/chunk-VNXZVOPN.js.map +0 -1
  42. /package/dist/{Compare-M57FG4R3.js.map → Compare-RHAUAKUJ.js.map} +0 -0
  43. /package/dist/{SheetView-OEKOHMKW.js.map → SheetView-43JDIP7D.js.map} +0 -0
  44. /package/dist/{chunk-3D2G5NBI.js.map → chunk-DATYTA4H.js.map} +0 -0
package/dist/index.css CHANGED
@@ -4830,6 +4830,336 @@ svg.w100n-pdf-marks {
4830
4830
  height: 100%;
4831
4831
  aspect-ratio: auto;
4832
4832
  }
4833
+ .w100n-text[data-kind=markdown] .w100n-docs-page {
4834
+ width: min(760px, 100%);
4835
+ padding: 40px 40px 160px;
4836
+ border-radius: 0;
4837
+ background: transparent;
4838
+ color: var(--docs-text);
4839
+ color-scheme: normal;
4840
+ box-shadow: none;
4841
+ }
4842
+ .w100n-text[data-kind=markdown] .w100n-text-body,
4843
+ .w100n-text[data-kind=markdown] .w100n-docs-prose :is(h1, h2, h3, h4, h5, h6) {
4844
+ color: var(--docs-text);
4845
+ }
4846
+ .w100n-text[data-kind=markdown] .w100n-docs-prose blockquote {
4847
+ border-left-color: var(--docs-line2);
4848
+ color: var(--docs-muted);
4849
+ }
4850
+ .w100n-text[data-kind=markdown] .w100n-docs-prose hr {
4851
+ border-top-color: var(--docs-border);
4852
+ }
4853
+ .w100n-text[data-kind=markdown] .w100n-docs-prose :is(pre, code),
4854
+ .w100n-text[data-kind=markdown] .w100n-text-body th {
4855
+ background: var(--docs-soft);
4856
+ }
4857
+ .w100n-text[data-kind=markdown] .w100n-docs-prose :is(th, td) {
4858
+ border-color: var(--docs-line2);
4859
+ }
4860
+ .w100n-text[data-kind=markdown] .w100n-docs-prose a {
4861
+ color: var(--docs-accent);
4862
+ }
4863
+ .w100n-text[data-kind=markdown] .w100n-text-body ul[data-type=taskList] > li[data-checked=true] > div {
4864
+ color: var(--docs-muted);
4865
+ }
4866
+ .w100n-text[data-kind=markdown] :is(.w100n-text-island, .w100n-text-corner[data-side=left]) {
4867
+ display: none;
4868
+ }
4869
+ .w100n-wiki {
4870
+ color: var(--docs-accent, #7c3aed);
4871
+ text-decoration: underline;
4872
+ text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
4873
+ text-underline-offset: 3px;
4874
+ cursor: pointer;
4875
+ }
4876
+ .w100n-wiki.is-missing {
4877
+ color: var(--docs-muted, #64748b);
4878
+ text-decoration-style: dashed;
4879
+ }
4880
+ .w100n-syntax {
4881
+ color: var(--docs-dim, #94a3b8);
4882
+ font-weight: 400;
4883
+ font-style: normal;
4884
+ text-decoration: none;
4885
+ user-select: none;
4886
+ pointer-events: none;
4887
+ }
4888
+ .w100n-text-pop.w100n-wiki-ask {
4889
+ position: fixed;
4890
+ z-index: 60;
4891
+ width: 320px;
4892
+ }
4893
+ .w100n-docs .w100n-wiki-ask button svg {
4894
+ visibility: visible;
4895
+ color: var(--docs-muted);
4896
+ }
4897
+ .w100n-wiki-ask button b {
4898
+ flex: 1;
4899
+ min-width: 0;
4900
+ overflow: hidden;
4901
+ text-overflow: ellipsis;
4902
+ white-space: nowrap;
4903
+ font-weight: 500;
4904
+ }
4905
+ .w100n-wiki-ask button small {
4906
+ color: var(--docs-dim);
4907
+ font-size: 11.5px;
4908
+ }
4909
+ .w100n-wiki-ask button[aria-selected=true] {
4910
+ background: var(--docs-active);
4911
+ }
4912
+ .w100n-wiki-ask > .w100n-text-hint {
4913
+ padding: 6px 10px 2px;
4914
+ border-top: 1px solid var(--docs-border);
4915
+ margin-top: 4px;
4916
+ }
4917
+ .w100n-docs-search kbd {
4918
+ margin-left: auto;
4919
+ padding: 0 5px;
4920
+ border: 1px solid var(--docs-border);
4921
+ border-radius: 5px;
4922
+ color: var(--docs-dim);
4923
+ font: 600 10.5px ui-monospace, monospace;
4924
+ }
4925
+ .w100n-docs-shape {
4926
+ display: grid;
4927
+ grid-template-columns: 1fr 1fr;
4928
+ gap: 3px;
4929
+ padding: 3px;
4930
+ border: 1px solid var(--docs-border);
4931
+ border-radius: 10px;
4932
+ background: var(--docs-bg);
4933
+ }
4934
+ .w100n-docs .w100n-docs-shape button {
4935
+ display: flex;
4936
+ align-items: center;
4937
+ justify-content: center;
4938
+ gap: 6px;
4939
+ height: 28px;
4940
+ border-radius: 7px;
4941
+ color: var(--docs-muted);
4942
+ font-size: 12px;
4943
+ font-weight: 600;
4944
+ }
4945
+ .w100n-docs .w100n-docs-shape button[aria-checked=true] {
4946
+ background: var(--docs-active);
4947
+ color: var(--docs-text);
4948
+ }
4949
+ .w100n-docs-shape svg {
4950
+ width: 14px;
4951
+ height: 14px;
4952
+ }
4953
+ .w100n-tree {
4954
+ display: grid;
4955
+ gap: 1px;
4956
+ padding: 2px 0 12px;
4957
+ }
4958
+ .w100n-docs .w100n-tree-row {
4959
+ box-sizing: border-box;
4960
+ display: flex;
4961
+ align-items: center;
4962
+ gap: 7px;
4963
+ width: 100%;
4964
+ height: 30px;
4965
+ padding-right: 8px;
4966
+ border-radius: 7px;
4967
+ color: var(--docs-muted);
4968
+ font-size: 13px;
4969
+ text-align: left;
4970
+ white-space: nowrap;
4971
+ }
4972
+ .w100n-docs .w100n-tree-row:hover {
4973
+ background: var(--docs-hover);
4974
+ color: var(--docs-text);
4975
+ }
4976
+ .w100n-docs .w100n-tree-row[aria-current=true] {
4977
+ background: var(--docs-active);
4978
+ color: var(--docs-text);
4979
+ font-weight: 600;
4980
+ }
4981
+ .w100n-tree-row > svg {
4982
+ width: 15px;
4983
+ height: 15px;
4984
+ flex: none;
4985
+ }
4986
+ .w100n-tree-row > .w100n-tree-fold {
4987
+ width: 13px;
4988
+ height: 13px;
4989
+ margin-left: -18px;
4990
+ margin-right: 2px;
4991
+ color: var(--docs-dim);
4992
+ }
4993
+ .w100n-tree-row > svg.lucide-folder {
4994
+ color: #f59e0b;
4995
+ }
4996
+ .w100n-tree-row > span {
4997
+ flex: 1;
4998
+ min-width: 0;
4999
+ overflow: hidden;
5000
+ text-overflow: ellipsis;
5001
+ }
5002
+ .w100n-tree-row > small {
5003
+ color: var(--docs-dim);
5004
+ font-size: 11px;
5005
+ font-variant-numeric: tabular-nums;
5006
+ }
5007
+ .w100n-tree-row > .w100n-tree-kind {
5008
+ font-size: 9.5px;
5009
+ font-weight: 700;
5010
+ letter-spacing: .03em;
5011
+ }
5012
+ .w100n-docs .w100n-tree-input {
5013
+ border: 1px solid var(--docs-accent);
5014
+ background: var(--docs-bg);
5015
+ color: var(--docs-text);
5016
+ outline: none;
5017
+ }
5018
+ .w100n-tree [data-over],
5019
+ .w100n-tree[data-over] {
5020
+ border-radius: 7px;
5021
+ background: var(--docs-active);
5022
+ box-shadow: inset 0 0 0 1px var(--docs-accent);
5023
+ }
5024
+ .w100n-docs-context-list {
5025
+ display: grid;
5026
+ max-height: 280px;
5027
+ overflow: auto;
5028
+ }
5029
+ .w100n-jump-back {
5030
+ position: fixed;
5031
+ inset: 0;
5032
+ z-index: 70;
5033
+ display: flex;
5034
+ justify-content: center;
5035
+ align-items: flex-start;
5036
+ padding-top: 12vh;
5037
+ background: rgb(5 6 12 / 55%);
5038
+ }
5039
+ .w100n-jump {
5040
+ width: min(600px, 92vw);
5041
+ border: 1px solid var(--docs-border);
5042
+ border-radius: 14px;
5043
+ background: var(--docs-card);
5044
+ color: var(--docs-text);
5045
+ box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
5046
+ overflow: hidden;
5047
+ }
5048
+ .w100n-jump-field {
5049
+ display: flex;
5050
+ align-items: center;
5051
+ gap: 10px;
5052
+ padding: 14px 16px;
5053
+ border-bottom: 1px solid var(--docs-border);
5054
+ }
5055
+ .w100n-jump-field svg {
5056
+ width: 17px;
5057
+ height: 17px;
5058
+ color: var(--docs-muted);
5059
+ }
5060
+ .w100n-jump-field input {
5061
+ flex: 1;
5062
+ border: 0;
5063
+ outline: none;
5064
+ background: none;
5065
+ color: var(--docs-text);
5066
+ font: inherit;
5067
+ font-size: 16px;
5068
+ }
5069
+ .w100n-jump-list {
5070
+ display: grid;
5071
+ gap: 1px;
5072
+ max-height: 380px;
5073
+ overflow-y: auto;
5074
+ padding: 6px;
5075
+ }
5076
+ .w100n-docs .w100n-jump-list button {
5077
+ display: flex;
5078
+ align-items: center;
5079
+ gap: 10px;
5080
+ padding: 9px 11px;
5081
+ border-radius: 9px;
5082
+ color: var(--docs-text);
5083
+ font-size: 14px;
5084
+ text-align: left;
5085
+ }
5086
+ .w100n-docs .w100n-jump-list button[aria-selected=true] {
5087
+ background: var(--docs-active);
5088
+ }
5089
+ .w100n-jump-list button svg {
5090
+ width: 16px;
5091
+ height: 16px;
5092
+ flex: none;
5093
+ color: var(--docs-muted);
5094
+ }
5095
+ .w100n-jump-list button span {
5096
+ flex: 1;
5097
+ min-width: 0;
5098
+ overflow: hidden;
5099
+ text-overflow: ellipsis;
5100
+ white-space: nowrap;
5101
+ }
5102
+ .w100n-jump-list button small {
5103
+ color: var(--docs-dim);
5104
+ font-size: 12px;
5105
+ }
5106
+ .w100n-jump-list kbd {
5107
+ padding: 1px 6px;
5108
+ border: 1px solid var(--docs-border);
5109
+ border-radius: 5px;
5110
+ color: var(--docs-dim);
5111
+ font: 600 11px ui-monospace, monospace;
5112
+ }
5113
+ .w100n-jump mark,
5114
+ .w100n-links mark {
5115
+ background: none;
5116
+ color: var(--docs-accent);
5117
+ font-weight: 700;
5118
+ }
5119
+ .w100n-jump-keys {
5120
+ margin: 0;
5121
+ padding: 9px 16px;
5122
+ border-top: 1px solid var(--docs-border);
5123
+ color: var(--docs-dim);
5124
+ font-size: 11.5px;
5125
+ }
5126
+ .w100n-links {
5127
+ display: grid;
5128
+ gap: 8px;
5129
+ }
5130
+ .w100n-docs .w100n-links-card {
5131
+ display: grid;
5132
+ gap: 4px;
5133
+ padding: 10px 11px;
5134
+ border: 1px solid var(--docs-border);
5135
+ border-radius: 10px;
5136
+ background: var(--docs-bg);
5137
+ text-align: left;
5138
+ }
5139
+ .w100n-docs .w100n-links-card:hover {
5140
+ border-color: var(--docs-line2);
5141
+ }
5142
+ .w100n-links-card b {
5143
+ display: flex;
5144
+ align-items: center;
5145
+ gap: 6px;
5146
+ color: var(--docs-text);
5147
+ font-size: 13px;
5148
+ }
5149
+ .w100n-links-card b svg {
5150
+ width: 14px;
5151
+ height: 14px;
5152
+ color: var(--docs-muted);
5153
+ }
5154
+ .w100n-links-card small {
5155
+ color: var(--docs-muted);
5156
+ font-size: 12.5px;
5157
+ line-height: 1.5;
5158
+ }
5159
+ .w100n-links-card .w100n-links-folder {
5160
+ color: var(--docs-dim);
5161
+ font-size: 11.5px;
5162
+ }
4833
5163
 
4834
5164
  /* src/sheets/sheets.css */
4835
5165
  @font-face {