@w100n/documents 0.16.3 → 0.17.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-KXFUAILH.js → SheetView-SBLAFGTL.js} +5 -5
  3. package/dist/{TextEditor-RNHXPYJX.js → TextEditor-X2GSL4QM.js} +119 -27
  4. package/dist/TextEditor-X2GSL4QM.js.map +1 -0
  5. package/dist/{chunk-E2FVJNDT.js → chunk-A6AHJCEK.js} +67 -832
  6. package/dist/chunk-A6AHJCEK.js.map +1 -0
  7. package/dist/{chunk-XFLYD3JS.js → chunk-ASTNK6WZ.js} +2 -2
  8. package/dist/{chunk-VNXZVOPN.js → chunk-B7C6NBBQ.js} +929 -1
  9. package/dist/chunk-B7C6NBBQ.js.map +1 -0
  10. package/dist/chunk-FFXAOK4A.js +39 -0
  11. package/dist/chunk-FFXAOK4A.js.map +1 -0
  12. package/dist/{chunk-EQLBYW42.js → chunk-GSIPTCQH.js} +9 -1
  13. package/dist/chunk-GSIPTCQH.js.map +1 -0
  14. package/dist/collab.cjs +170 -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 +1212 -536
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.css +324 -0
  22. package/dist/index.css.map +1 -1
  23. package/dist/index.d.cts +12 -3
  24. package/dist/index.d.ts +12 -3
  25. package/dist/index.js +878 -490
  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 +3 -2
  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 +3 -2
  34. package/dist/memory.js.map +1 -1
  35. package/dist/{types-BUO0OzOl.d.cts → types-CHmV8GLx.d.cts} +1 -0
  36. package/dist/{types-BUO0OzOl.d.ts → types-CHmV8GLx.d.ts} +1 -0
  37. package/package.json +1 -1
  38. package/dist/TextEditor-RNHXPYJX.js.map +0 -1
  39. package/dist/chunk-E2FVJNDT.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-KXFUAILH.js.map → SheetView-SBLAFGTL.js.map} +0 -0
  44. /package/dist/{chunk-XFLYD3JS.js.map → chunk-ASTNK6WZ.js.map} +0 -0
package/dist/index.css CHANGED
@@ -4819,6 +4819,330 @@ svg.w100n-pdf-marks {
4819
4819
  padding: 0 6px;
4820
4820
  font-size: 12.5px;
4821
4821
  }
4822
+ .w100n-preview {
4823
+ --docs-thumb: #f1f5f9;
4824
+ --docs-border: transparent;
4825
+ display: block;
4826
+ width: 100%;
4827
+ height: 100%;
4828
+ }
4829
+ .w100n-preview .w100n-docs-thumb {
4830
+ height: 100%;
4831
+ aspect-ratio: auto;
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-jump-back {
5013
+ position: fixed;
5014
+ inset: 0;
5015
+ z-index: 70;
5016
+ display: flex;
5017
+ justify-content: center;
5018
+ align-items: flex-start;
5019
+ padding-top: 12vh;
5020
+ background: rgb(5 6 12 / 55%);
5021
+ }
5022
+ .w100n-jump {
5023
+ width: min(600px, 92vw);
5024
+ border: 1px solid var(--docs-border);
5025
+ border-radius: 14px;
5026
+ background: var(--docs-card);
5027
+ color: var(--docs-text);
5028
+ box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
5029
+ overflow: hidden;
5030
+ }
5031
+ .w100n-jump-field {
5032
+ display: flex;
5033
+ align-items: center;
5034
+ gap: 10px;
5035
+ padding: 14px 16px;
5036
+ border-bottom: 1px solid var(--docs-border);
5037
+ }
5038
+ .w100n-jump-field svg {
5039
+ width: 17px;
5040
+ height: 17px;
5041
+ color: var(--docs-muted);
5042
+ }
5043
+ .w100n-jump-field input {
5044
+ flex: 1;
5045
+ border: 0;
5046
+ outline: none;
5047
+ background: none;
5048
+ color: var(--docs-text);
5049
+ font: inherit;
5050
+ font-size: 16px;
5051
+ }
5052
+ .w100n-jump-list {
5053
+ display: grid;
5054
+ gap: 1px;
5055
+ max-height: 380px;
5056
+ overflow-y: auto;
5057
+ padding: 6px;
5058
+ }
5059
+ .w100n-docs .w100n-jump-list button {
5060
+ display: flex;
5061
+ align-items: center;
5062
+ gap: 10px;
5063
+ padding: 9px 11px;
5064
+ border-radius: 9px;
5065
+ color: var(--docs-text);
5066
+ font-size: 14px;
5067
+ text-align: left;
5068
+ }
5069
+ .w100n-docs .w100n-jump-list button[aria-selected=true] {
5070
+ background: var(--docs-active);
5071
+ }
5072
+ .w100n-jump-list button svg {
5073
+ width: 16px;
5074
+ height: 16px;
5075
+ flex: none;
5076
+ color: var(--docs-muted);
5077
+ }
5078
+ .w100n-jump-list button span {
5079
+ flex: 1;
5080
+ min-width: 0;
5081
+ overflow: hidden;
5082
+ text-overflow: ellipsis;
5083
+ white-space: nowrap;
5084
+ }
5085
+ .w100n-jump-list button small {
5086
+ color: var(--docs-dim);
5087
+ font-size: 12px;
5088
+ }
5089
+ .w100n-jump-list kbd {
5090
+ padding: 1px 6px;
5091
+ border: 1px solid var(--docs-border);
5092
+ border-radius: 5px;
5093
+ color: var(--docs-dim);
5094
+ font: 600 11px ui-monospace, monospace;
5095
+ }
5096
+ .w100n-jump mark,
5097
+ .w100n-links mark {
5098
+ background: none;
5099
+ color: var(--docs-accent);
5100
+ font-weight: 700;
5101
+ }
5102
+ .w100n-jump-keys {
5103
+ margin: 0;
5104
+ padding: 9px 16px;
5105
+ border-top: 1px solid var(--docs-border);
5106
+ color: var(--docs-dim);
5107
+ font-size: 11.5px;
5108
+ }
5109
+ .w100n-links {
5110
+ display: grid;
5111
+ gap: 8px;
5112
+ }
5113
+ .w100n-docs .w100n-links-card {
5114
+ display: grid;
5115
+ gap: 4px;
5116
+ padding: 10px 11px;
5117
+ border: 1px solid var(--docs-border);
5118
+ border-radius: 10px;
5119
+ background: var(--docs-bg);
5120
+ text-align: left;
5121
+ }
5122
+ .w100n-docs .w100n-links-card:hover {
5123
+ border-color: var(--docs-line2);
5124
+ }
5125
+ .w100n-links-card b {
5126
+ display: flex;
5127
+ align-items: center;
5128
+ gap: 6px;
5129
+ color: var(--docs-text);
5130
+ font-size: 13px;
5131
+ }
5132
+ .w100n-links-card b svg {
5133
+ width: 14px;
5134
+ height: 14px;
5135
+ color: var(--docs-muted);
5136
+ }
5137
+ .w100n-links-card small {
5138
+ color: var(--docs-muted);
5139
+ font-size: 12.5px;
5140
+ line-height: 1.5;
5141
+ }
5142
+ .w100n-links-card .w100n-links-folder {
5143
+ color: var(--docs-dim);
5144
+ font-size: 11.5px;
5145
+ }
4822
5146
 
4823
5147
  /* src/sheets/sheets.css */
4824
5148
  @font-face {