rotion 0.0.9 → 0.0.11

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 (56) hide show
  1. package/dist/exporter/blocks.js +9 -2
  2. package/dist/exporter/blocks.js.map +1 -1
  3. package/dist/exporter/types.d.ts +21 -1
  4. package/dist/ui/cjs/index.js +1 -1
  5. package/dist/ui/cjs/index.js.map +1 -1
  6. package/dist/ui/cjs/style.css +48 -37
  7. package/dist/ui/cjs/types/exporter/types.d.ts +21 -1
  8. package/dist/ui/cjs/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
  9. package/dist/ui/cjs/types/ui/components/Page/PageIcon/PageIcon.d.ts +2 -1
  10. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
  11. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
  12. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/LinkPreviewMention/LinkPreviewMention.d.ts +1 -1
  13. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
  14. package/dist/ui/{esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts → cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts} +1 -3
  15. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
  16. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
  17. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
  18. package/dist/ui/cjs/types/ui/components/tokens.stylex.d.ts +15 -5
  19. package/dist/ui/esm/index.js +1 -1
  20. package/dist/ui/esm/index.js.map +1 -1
  21. package/dist/ui/esm/style.css +48 -37
  22. package/dist/ui/esm/types/exporter/types.d.ts +21 -1
  23. package/dist/ui/esm/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
  24. package/dist/ui/esm/types/ui/components/Page/PageIcon/PageIcon.d.ts +2 -1
  25. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
  26. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
  27. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/LinkPreviewMention/LinkPreviewMention.d.ts +1 -1
  28. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
  29. package/dist/ui/{cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.types.d.ts → esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts} +1 -3
  30. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
  31. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
  32. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
  33. package/dist/ui/esm/types/ui/components/tokens.stylex.d.ts +15 -5
  34. package/dist/ui/types.d.ts +25 -4
  35. package/dist/ui/umd/index.js +1 -1
  36. package/dist/ui/umd/index.js.map +1 -1
  37. package/dist/ui/umd/style.css +48 -37
  38. package/dist/ui/umd/types/exporter/types.d.ts +21 -1
  39. package/dist/ui/umd/types/ui/components/Page/FileBlock/FileBlock.types.d.ts +2 -2
  40. package/dist/ui/umd/types/ui/components/Page/PageIcon/PageIcon.d.ts +2 -1
  41. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.d.ts +1 -1
  42. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/DateMention/DateMention.types.d.ts +0 -2
  43. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/LinkPreviewMention/LinkPreviewMention.d.ts +1 -1
  44. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/PageOrDatabaseMention.d.ts +4 -0
  45. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{PageMention/PageMention.types.d.ts → PageOrDatabaseMention/PageOrDatabaseMention.types.d.ts} +1 -3
  46. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageOrDatabaseMention/index.d.ts +2 -0
  47. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/UserMention/UserMention.d.ts +1 -1
  48. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/UserMention/UserMention.types.d.ts +2 -2
  49. package/dist/ui/umd/types/ui/components/tokens.stylex.d.ts +15 -5
  50. package/package.json +6 -4
  51. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
  52. package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
  53. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
  54. package/dist/ui/esm/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
  55. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/PageMention.d.ts +0 -4
  56. package/dist/ui/umd/types/ui/components/Page/RichText/Mention/PageMention/index.d.ts +0 -2
@@ -1,5 +1,6 @@
1
- :root{--x1y92o4d:rgb(50, 48, 44);--xgq91e7:rgba(227, 226, 224, 0.5);--xsjpurm:rgb(50, 48, 44);--x17xzs96:rgb(227, 226, 224);--x18bsbx9:rgb(68, 42, 30);--x7p2d1:rgb(238, 224, 218);--x16z8mn5:rgb(73, 41, 14);--xx63jd3:rgb(250, 222, 201);--x1ma8or9:rgb(64, 44, 27);--xjrctlu:rgb(253, 236, 200);--xl5mk0q:rgb(28, 56, 41);--xnhdkh7:rgb(219, 237, 219);--x1y9xni7:rgb(24, 51, 71);--x1xipc9s:rgb(211, 229, 239);--x17iakwi:rgb(65, 36, 84);--x1q4sjy7:rgb(232, 222, 238);--x1bkyxkq:rgb(76, 35, 55);--x5fno5p:rgb(245, 224, 233);--xw1fo1u:rgb(93, 23, 21);--x1vwzxpo:rgb(255, 226, 221);}
2
- :root{--xdhvszd:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";}
1
+ :root{--x1ctp1av:rgb(50, 48, 44, 0.8);--x1hhtl5i:rgb(50, 48, 44, 0.6);--x1khxzqo:1px solid rgb(50, 48, 44, 0.4);--x1uo4k1o:1px solid rgb(50, 48, 44, 0.2);--x1c2jxxn:inherit;--xqk8mah:rgba(227, 226, 224, 0.5);--xo1lou4:none;--x1fk9x9:pointer;}
2
+ :root{--x1kobltp:rgb(50, 48, 44);--xvgebug:rgba(227, 226, 224, 0.5);--x1rmwt51:rgb(50, 48, 44);--xct8ea3:rgb(227, 226, 224);--x1j9csdi:rgb(68, 42, 30);--x1sd8ela:rgb(238, 224, 218);--x1k1yqrb:rgb(73, 41, 14);--x1i7j10x:rgb(250, 222, 201);--xl5u7lq:rgb(64, 44, 27);--x1moi2c1:rgb(253, 236, 200);--x1vhimwe:rgb(28, 56, 41);--x1nnc86d:rgb(219, 237, 219);--xkc13yr:rgb(24, 51, 71);--x1afd3dd:rgb(211, 229, 239);--xrtss6q:rgb(65, 36, 84);--x6sa30t:rgb(232, 222, 238);--xdxv7wn:rgb(76, 35, 55);--x1dwla9d:rgb(245, 224, 233);--x1u13keg:rgb(93, 23, 21);--x7ti7sc:rgb(255, 226, 221);}
3
+ :root{--xpzsu2c:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";--xcevxv5:4px;--x1e0rwzh:rgba(55, 53, 47, 0.65);--x1ulgvz2:rgba(55, 53, 47, 0.3);}
3
4
  .x130j894:not(#\#){background:inherit}
4
5
  .xwpv0f9:not(#\#){background:rgb(211,229,239) none repeat scroll 0 0}
5
6
  .x1rzy9ey:not(#\#){background:rgb(25,25,25)}
@@ -34,7 +35,6 @@
34
35
  .x1qk52y6:not(#\#){margin:4px 0}
35
36
  .x1bpp3o7:not(#\#){margin:auto}
36
37
  .x16riluj:not(#\#){padding:.1rem .2rem}
37
- .xz94u7r:not(#\#){padding:.1rem 0 .1rem .3rem}
38
38
  .x1q4hdjl:not(#\#){padding:.2rem .3rem}
39
39
  .x13ahkag:not(#\#){padding:.2rem .4rem}
40
40
  .xdlojud:not(#\#){padding:.2rem 0 .2rem .3rem}
@@ -42,7 +42,7 @@
42
42
  .x5zvi0u:not(#\#){padding:.3rem}
43
43
  .xl1j9gz:not(#\#){padding:.5rem 0}
44
44
  .xkzfsa1:not(#\#){padding:.6rem .3rem}
45
- .x1vn9ge:not(#\#){padding:.6rem 0 .4rem}
45
+ .xoouf11:not(#\#){padding:.6rem 0}
46
46
  .x2kcbxv:not(#\#){padding:.6rem 1rem}
47
47
  .x1ab2qf2:not(#\#){padding:.7rem 1rem 0}
48
48
  .xlcowx6:not(#\#){padding:0 .3rem}
@@ -56,13 +56,13 @@
56
56
  .xcq2ivu:not(#\#){padding:0 5px 4px}
57
57
  .x1717udv:not(#\#){padding:0}
58
58
  .x3vcqe7:not(#\#){padding:1.2rem}
59
- .x1x8mqaw:not(#\#){padding:1.6rem 0 0}
59
+ .x1shdda8:not(#\#){padding:1.6rem 0 3px}
60
60
  .xs3lrdy:not(#\#){padding:10px 10px 0}
61
61
  .xpwwz5d:not(#\#){padding:1px 2px}
62
62
  .x1uz70x1:not(#\#){padding:1rem}
63
63
  .x1rbdj2j:not(#\#){padding:2px 10px}
64
- .xmzctq6:not(#\#){padding:2rem 0 0}
65
- .xvfrpa1:not(#\#){padding:3rem 0 0}
64
+ .x1cfqnp1:not(#\#){padding:2rem 0 3px}
65
+ .xp8ws5:not(#\#){padding:3rem 0 3px}
66
66
  .xoth7wd:not(#\#){padding:4px 0 1px 2px}
67
67
  .xztvwtv:not(#\#){padding:4px 0}
68
68
  .xfawy5m:not(#\#){padding:4px}
@@ -72,14 +72,14 @@
72
72
  .x3u7e13:hover:not(#\#){background:rgba(55,53,47,.03)}
73
73
  @media (max-width: 580px){.x1t8upxr.x1t8upxr:not(#\#){padding:1rem 0 .85rem}}
74
74
  .x13pqoeu:not(#\#):not(#\#){background-position:0 100%}
75
- .xv6mfv7:not(#\#):not(#\#){border-bottom:1px solid #999}
76
75
  .x15su7se:not(#\#):not(#\#){border-bottom:1px solid #ddd}
77
76
  .xagqfe1:not(#\#):not(#\#){border-bottom:1px solid rgba(55,53,47,.09)}
77
+ .xpzjx3:not(#\#):not(#\#){border-bottom:var(--x1khxzqo)}
78
78
  .x4ubzz0:not(#\#):not(#\#){border-left:3px solid currentcolor}
79
79
  .x1nj7uno:not(#\#):not(#\#){border-radius:1px}
80
80
  .x18zih8k:not(#\#):not(#\#){border-radius:3px}
81
81
  .x12oqio5:not(#\#):not(#\#){border-radius:4px}
82
- .x1pjcqnp:not(#\#):not(#\#){border-radius:inherit}
82
+ .xoz5i10:not(#\#):not(#\#){border-radius:var(--xcevxv5)}
83
83
  .x3o4md8:not(#\#):not(#\#){border-right:1px solid rgba(55,53,47,.09)}
84
84
  .x1mpjign:not(#\#):not(#\#){border-top:1px dashed #999}
85
85
  .x1jlbt0v:not(#\#):not(#\#){border-top:1px solid rgb(233,233,231)}
@@ -94,12 +94,12 @@
94
94
  .xmqliwb:not(#\#):not(#\#){text-decoration:line-through}
95
95
  .x1hl2dhg:not(#\#):not(#\#){text-decoration:none}
96
96
  .x1bvjpef:not(#\#):not(#\#){text-decoration:underline}
97
+ .x1lmuraq:not(#\#):not(#\#){text-decoration:var(--xo1lou4)}
97
98
  .xrjfsii:not(#\#):not(#\#){transition:background .02s ease-in 0s}
98
99
  .x1pgibqq:not(#\#):not(#\#){transition:background .1s ease-out 0s}
99
100
  .xtpmwse:not(#\#):not(#\#){transition:background .2s ease-out 0s}
100
101
  .x1kzuo5g:not(#\#):not(#\#){transition:transform .2s ease-out 0s}
101
- .x1ipnmua:hover:not(#\#):not(#\#){border-bottom:1px solid #ddd}
102
- .x1ri5ofb:hover:not(#\#):not(#\#){border-radius:3px}
102
+ .xn7j128:hover:not(#\#):not(#\#){border-bottom:var(--x1uo4k1o)}
103
103
  .x6s0dn4:not(#\#):not(#\#):not(#\#){align-items:center}
104
104
  .x1cy8zhl:not(#\#):not(#\#):not(#\#){align-items:flex-start}
105
105
  .x1qjc9v5:not(#\#):not(#\#):not(#\#){align-items:stretch}
@@ -109,7 +109,6 @@
109
109
  .xlp1x4z:not(#\#):not(#\#):not(#\#){backface-visibility:hidden}
110
110
  .xjup8qr:not(#\#):not(#\#):not(#\#){background-color:#f5f2f0}
111
111
  .xgcd1z6:not(#\#):not(#\#):not(#\#){background-color:inherit}
112
- .x1u5cvvl:not(#\#):not(#\#):not(#\#){background-color:inhirit}
113
112
  .xivqcaa:not(#\#):not(#\#):not(#\#){background-color:rgb(231,243,248)}
114
113
  .xk1eqyx:not(#\#):not(#\#):not(#\#){background-color:rgb(237,243,236)}
115
114
  .xan1y3o:not(#\#):not(#\#):not(#\#){background-color:rgb(241,241,239)}
@@ -120,15 +119,16 @@
120
119
  .x1e4p6wl:not(#\#):not(#\#):not(#\#){background-color:rgb(253,235,236)}
121
120
  .xjy77r2:not(#\#):not(#\#):not(#\#){background-color:rgba(244,240,247,.8)}
122
121
  .x1u8e821:not(#\#):not(#\#):not(#\#){background-color:rgba(249,238,243,.8)}
123
- .xci70tp:not(#\#):not(#\#):not(#\#){background-color:var(--x17xzs96)}
124
- .x133r7a8:not(#\#):not(#\#):not(#\#){background-color:var(--x1q4sjy7)}
125
- .x15i6tbi:not(#\#):not(#\#):not(#\#){background-color:var(--x1vwzxpo)}
126
- .x14hnfas:not(#\#):not(#\#):not(#\#){background-color:var(--x1xipc9s)}
127
- .xd76jeb:not(#\#):not(#\#):not(#\#){background-color:var(--x7p2d1)}
128
- .x1h0t2o7:not(#\#):not(#\#):not(#\#){background-color:var(--xgq91e7)}
129
- .xqu49kv:not(#\#):not(#\#):not(#\#){background-color:var(--xjrctlu)}
130
- .xn4xrgm:not(#\#):not(#\#):not(#\#){background-color:var(--xnhdkh7)}
131
- .x1kalnq:not(#\#):not(#\#):not(#\#){background-color:var(--xx63jd3)}
122
+ .xr54tmh:not(#\#):not(#\#):not(#\#){background-color:var(--x1afd3dd)}
123
+ .x1h2krsp:not(#\#):not(#\#):not(#\#){background-color:var(--x1c2jxxn)}
124
+ .xfw6yvh:not(#\#):not(#\#):not(#\#){background-color:var(--x1i7j10x)}
125
+ .x161dwim:not(#\#):not(#\#):not(#\#){background-color:var(--x1moi2c1)}
126
+ .xn4asuu:not(#\#):not(#\#):not(#\#){background-color:var(--x1nnc86d)}
127
+ .x12pkou0:not(#\#):not(#\#):not(#\#){background-color:var(--x1sd8ela)}
128
+ .x1fi4u8n:not(#\#):not(#\#):not(#\#){background-color:var(--x6sa30t)}
129
+ .xnsnhni:not(#\#):not(#\#):not(#\#){background-color:var(--x7ti7sc)}
130
+ .x1ckdm3g:not(#\#):not(#\#):not(#\#){background-color:var(--xct8ea3)}
131
+ .x1a1dwqt:not(#\#):not(#\#):not(#\#){background-color:var(--xvgebug)}
132
132
  .x1hk33u3:not(#\#):not(#\#):not(#\#){background-image:linear-gradient(to right,rgba(55,53,47,.16) 0,rgba(55,53,47,.16) 100%)}
133
133
  .x1w3jsh0:not(#\#):not(#\#):not(#\#){background-repeat:repeat-x}
134
134
  .xntq7mn:not(#\#):not(#\#):not(#\#){background-size:100% 1px}
@@ -141,8 +141,6 @@ html:not([dir='rtl']) .x14n9bkn:not(#\#):not(#\#):not(#\#){box-shadow:rgb(15 15
141
141
  html[dir='rtl'] .x14n9bkn:not(#\#):not(#\#):not(#\#){box-shadow:rgb(15 -15 15/10%) 0 0 0 1px, rgb(15 -15 15/10%) 0 2px 4px}
142
142
  html:not([dir='rtl']) .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white -3px 0 0,rgb(233 233 231) 0 1px 0}
143
143
  html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, rgb(233 -233 231) 0 1px 0}
144
- .x1525slw:not(#\#):not(#\#):not(#\#){color:#333}
145
- .x33gn0b:not(#\#):not(#\#):not(#\#){color:#666}
146
144
  .xh3659q:not(#\#):not(#\#):not(#\#){color:#777}
147
145
  .x1g3taxb:not(#\#):not(#\#):not(#\#){color:#888}
148
146
  .x1noocy9:not(#\#):not(#\#):not(#\#){color:#999}
@@ -169,24 +167,30 @@ html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, r
169
167
  .x2xfezk:not(#\#):not(#\#):not(#\#){color:rgba(51,126,169,1)}
170
168
  .xyj4yit:not(#\#):not(#\#):not(#\#){color:rgba(55,53,47,.65)}
171
169
  .x9lygya:not(#\#):not(#\#):not(#\#){color:rgba(68,131,97,1)}
172
- .x128jwoc:not(#\#):not(#\#):not(#\#){color:var(--x16z8mn5)}
173
- .x1snsg9x:not(#\#):not(#\#):not(#\#){color:var(--x17iakwi)}
174
- .xq5r36o:not(#\#):not(#\#):not(#\#){color:var(--x18bsbx9)}
175
- .x1eyqu72:not(#\#):not(#\#):not(#\#){color:var(--x1ma8or9)}
176
- .x1oky7nv:not(#\#):not(#\#):not(#\#){color:var(--x1y92o4d)}
177
- .x10o3wkq:not(#\#):not(#\#):not(#\#){color:var(--x1y9xni7)}
178
- .x1ux9al1:not(#\#):not(#\#):not(#\#){color:var(--xl5mk0q)}
179
- .x1n7irgc:not(#\#):not(#\#):not(#\#){color:var(--xsjpurm)}
180
- .x1ftp93z:not(#\#):not(#\#):not(#\#){color:var(--xw1fo1u)}
170
+ .x2w0cx1:not(#\#):not(#\#):not(#\#){color:var(--x1ctp1av)}
171
+ .x7j76ka:not(#\#):not(#\#):not(#\#){color:var(--x1e0rwzh)}
172
+ .xyrhg7e:not(#\#):not(#\#):not(#\#){color:var(--x1j9csdi)}
173
+ .xz43sf9:not(#\#):not(#\#):not(#\#){color:var(--x1k1yqrb)}
174
+ .x1d0pfws:not(#\#):not(#\#):not(#\#){color:var(--x1kobltp)}
175
+ .x1vng7ge:not(#\#):not(#\#):not(#\#){color:var(--x1rmwt51)}
176
+ .xylzfvh:not(#\#):not(#\#):not(#\#){color:var(--x1u13keg)}
177
+ .x1i17pws:not(#\#):not(#\#):not(#\#){color:var(--x1ulgvz2)}
178
+ .xe04n57:not(#\#):not(#\#):not(#\#){color:var(--x1vhimwe)}
179
+ .x19jod5o:not(#\#):not(#\#):not(#\#){color:var(--xkc13yr)}
180
+ .x1o2vnr2:not(#\#):not(#\#):not(#\#){color:var(--xl5u7lq)}
181
+ .x1jk8wgv:not(#\#):not(#\#):not(#\#){color:var(--xrtss6q)}
181
182
  .x1ypdohk:not(#\#):not(#\#):not(#\#){cursor:pointer}
183
+ .xoebl6a:not(#\#):not(#\#):not(#\#){cursor:var(--x1fk9x9)}
182
184
  .x1lliihq:not(#\#):not(#\#):not(#\#){display:block}
183
185
  .x78zum5:not(#\#):not(#\#):not(#\#){display:flex}
184
186
  .xrvj5dj:not(#\#):not(#\#):not(#\#){display:grid}
187
+ .x1rg5ohu:not(#\#):not(#\#):not(#\#){display:inline-block}
185
188
  .x3nfvp2:not(#\#):not(#\#):not(#\#){display:inline-flex}
186
189
  .xt0psk2:not(#\#):not(#\#):not(#\#){display:inline}
187
190
  .x1pa04qk:not(#\#):not(#\#):not(#\#){fill:#000}
188
191
  .x1kihv7h:not(#\#):not(#\#):not(#\#){fill:inherit}
189
192
  .x118tc7y:not(#\#):not(#\#):not(#\#){fill:rgba(55,53,47,.45)}
193
+ .x5hlbpq:not(#\#):not(#\#):not(#\#){fill:rgba(55,53,47,1)}
190
194
  .xypthjr:not(#\#):not(#\#):not(#\#){fill:white}
191
195
  .xdt5ytf:not(#\#):not(#\#):not(#\#){flex-direction:column}
192
196
  .x1q0g3np:not(#\#):not(#\#):not(#\#){flex-direction:row}
@@ -197,7 +201,7 @@ html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, r
197
201
  .x7ycizk:not(#\#):not(#\#):not(#\#){flexshrink:0}
198
202
  .x1faq86j:not(#\#):not(#\#):not(#\#){float:left}
199
203
  .x1yuf4xd:not(#\#):not(#\#):not(#\#){font-family:"SFMono-Regular",Menlo,Consolas,"PT Mono","Liberation Mono",Courier,monospace}
200
- .x1xh6qhr:not(#\#):not(#\#):not(#\#){font-family:var(--xdhvszd)}
204
+ .xqmnm37:not(#\#):not(#\#):not(#\#){font-family:var(--xpzsu2c)}
201
205
  .xboafo0:not(#\#):not(#\#):not(#\#){font-size:.75rem}
202
206
  .x1sfrptf:not(#\#):not(#\#):not(#\#){font-size:.7rem}
203
207
  .x1qzg9v8:not(#\#):not(#\#):not(#\#){font-size:.85rem}
@@ -221,6 +225,7 @@ html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, r
221
225
  .x1nhvcw1:not(#\#):not(#\#):not(#\#){justify-content:flex-start}
222
226
  .x1szn6h9:not(#\#):not(#\#):not(#\#){justify-content:stretch}
223
227
  .x1u7k74:not(#\#):not(#\#):not(#\#){line-height:1.2}
228
+ .xwn7fz2:not(#\#):not(#\#):not(#\#){line-height:1.3}
224
229
  .x37zpob:not(#\#):not(#\#):not(#\#){line-height:1.4}
225
230
  .x1evy7pa:not(#\#):not(#\#):not(#\#){line-height:1.5}
226
231
  .xa7kkou:not(#\#):not(#\#):not(#\#){line-height:1.7}
@@ -253,15 +258,16 @@ html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, r
253
258
  .x126k92a:not(#\#):not(#\#):not(#\#){white-space:pre-wrap}
254
259
  .x13faqbe:not(#\#):not(#\#):not(#\#){word-break:break-word}
255
260
  .xy8jdh7:hover:not(#\#):not(#\#):not(#\#){background-color:#eee}
256
- .xolk286:hover:not(#\#):not(#\#):not(#\#){background-color:#f5f5f5}
257
- .xedk425:hover:not(#\#):not(#\#):not(#\#){background-color:rgba(55,53,47,.08)}
258
- .xh456z8:hover:not(#\#):not(#\#):not(#\#){color:#ddd}
259
- .xslp9yy:hover:not(#\#):not(#\#):not(#\#){color:rgb(50,48,44)}
261
+ .xwy3pg2:hover:not(#\#):not(#\#):not(#\#){background-color:var(--xqk8mah)}
262
+ .x1binvwd:hover:not(#\#):not(#\#):not(#\#){color:var(--x1hhtl5i)}
260
263
  @media (max-width: 580px){.xjimrh6.xjimrh6:not(#\#):not(#\#):not(#\#){display:block}}
261
264
  @media (max-width: 580px){.x1v6uw9j.x1v6uw9j:not(#\#):not(#\#):not(#\#){display:none}}
262
265
  @media (max-width: 580px){.x1xrxgpl.x1xrxgpl:not(#\#):not(#\#):not(#\#){position:static}}
266
+ .x1l0ckx5:not(#\#):not(#\#):not(#\#):not(#\#){bottom:-0.2em}
263
267
  .xwlngq8:not(#\#):not(#\#):not(#\#):not(#\#){height:.6875em}
268
+ .x1h95vlm:not(#\#):not(#\#):not(#\#):not(#\#){height:.7em}
264
269
  .xqtp20y:not(#\#):not(#\#):not(#\#):not(#\#){height:0}
270
+ .xydt64x:not(#\#):not(#\#):not(#\#):not(#\#){height:1.4rem}
265
271
  .x5yr21d:not(#\#):not(#\#):not(#\#):not(#\#){height:100%}
266
272
  .x1rxgj4k:not(#\#):not(#\#):not(#\#):not(#\#){height:101.25px}
267
273
  .x1dr9wh:not(#\#):not(#\#):not(#\#):not(#\#){height:108px}
@@ -282,6 +288,7 @@ html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, r
282
288
  .xj3b58b:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:0}
283
289
  .xcmxlu1:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:14px}
284
290
  .x8x9d4c:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:auto}
291
+ .xpoiemb:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:.5rem}
285
292
  .x1yf7rl7:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:0}
286
293
  .xyo1k6t:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:10px}
287
294
  .xl010v5:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:4px}
@@ -313,11 +320,15 @@ html[dir='rtl'] .x139so5o:not(#\#):not(#\#):not(#\#){box-shadow:white 3px 0 0, r
313
320
  .x10avn17:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:56.25%}
314
321
  .x15u6esi:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:.5rem}
315
322
  .x9dzeaa:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:1rem}
323
+ .xq0jmyz:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:.3rem}
316
324
  .xkkytvh:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:.4rem}
317
325
  .xumxmzd:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:.6rem}
326
+ .x1gpu0sb:not(#\#):not(#\#):not(#\#):not(#\#){right:-0.1em}
318
327
  .x1nh8u4m:not(#\#):not(#\#):not(#\#):not(#\#){top:.5rem}
319
328
  .x13vifvy:not(#\#):not(#\#):not(#\#):not(#\#){top:0}
320
329
  .xdj6tmt:not(#\#):not(#\#):not(#\#):not(#\#){width:.6875em}
330
+ .x1z0he6f:not(#\#):not(#\#):not(#\#):not(#\#){width:.7em}
331
+ .xzgh36o:not(#\#):not(#\#):not(#\#):not(#\#){width:1.4rem}
321
332
  .xh8yej3:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}
322
333
  .xsmyaan:not(#\#):not(#\#):not(#\#):not(#\#){width:12px}
323
334
  .x6jxa94:not(#\#):not(#\#):not(#\#):not(#\#){width:14px}
@@ -216,6 +216,26 @@ export type Breadcrumb = {
216
216
  export type BreadcrumbBlockObjectResponseEx = BreadcrumbBlockObjectResponse & {
217
217
  list: Breadcrumb[];
218
218
  };
219
+ export type FileBlockObjectResponseEx = FileBlockObjectResponse & {
220
+ file: {
221
+ type: "external";
222
+ external: {
223
+ url: TextRequest;
224
+ };
225
+ caption: Array<RichTextItemResponse>;
226
+ src: string;
227
+ size: number;
228
+ } | {
229
+ type: 'file';
230
+ file: {
231
+ url: string;
232
+ expiry_time: string;
233
+ };
234
+ caption: Array<RichTextItemResponse>;
235
+ src: string;
236
+ size: number;
237
+ };
238
+ };
219
239
  export type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
220
240
  pdf: {
221
241
  type: "external";
@@ -239,7 +259,7 @@ export type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
239
259
  export type SyncedBlockBlockObjectResponseEx = SyncedBlockBlockObjectResponse & {
240
260
  children?: ListBlockChildrenResponseEx;
241
261
  };
242
- export type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponse | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
262
+ export type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
243
263
  export type ListBlockChildrenResponseEx = ListBlockChildrenResponse & {
244
264
  results: Array<BlockObjectResponse>;
245
265
  children?: ListBlockChildrenResponse;
@@ -1,4 +1,4 @@
1
- import { FileBlockObjectResponse } from '../../../../exporter';
1
+ import { FileBlockObjectResponseEx } from '../../../../exporter';
2
2
  export interface FileBlockProps {
3
- block: FileBlockObjectResponse;
3
+ block: FileBlockObjectResponseEx;
4
4
  }
@@ -3,6 +3,7 @@ export interface PageIconProps {
3
3
  name: 'figma' | 'slack' | 'github' | 'file' | 'link';
4
4
  width?: string;
5
5
  height?: string;
6
+ className?: string;
6
7
  }
7
- declare const PageIcon: ({ name, width, height }: PageIconProps) => React.JSX.Element;
8
+ declare const PageIcon: ({ name, width, height, className }: PageIconProps) => React.JSX.Element;
8
9
  export default PageIcon;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { DateMentionProps } from './DateMention.types';
3
- declare const DateMention: ({ date, children }: DateMentionProps) => React.JSX.Element;
3
+ declare const DateMention: ({ date }: DateMentionProps) => React.JSX.Element;
4
4
  export default DateMention;
@@ -1,6 +1,4 @@
1
- import type { ReactNode } from 'react';
2
1
  import { DateResponse } from '../../../../../../exporter';
3
2
  export interface DateMentionProps {
4
3
  date: DateResponse;
5
- children?: ReactNode;
6
4
  }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { LinkPreviewMemtionProps } from './LinkPreviewMention.types';
3
- declare const LinkPreviewMention: ({ url, text, children }: LinkPreviewMemtionProps) => React.JSX.Element;
3
+ declare const LinkPreviewMention: ({ url, text }: LinkPreviewMemtionProps) => React.JSX.Element;
4
4
  export default LinkPreviewMention;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { PageOrDatabaseMentionProps } from './PageOrDatabaseMention.types';
3
+ declare const PageOrDatabaseMention: ({ mention }: PageOrDatabaseMentionProps) => React.JSX.Element;
4
+ export default PageOrDatabaseMention;
@@ -1,6 +1,4 @@
1
- import type { ReactNode } from 'react';
2
1
  import { PageOrDatabaseMention } from '../../../../../../exporter';
3
- export interface PageMentionProps {
2
+ export interface PageOrDatabaseMentionProps {
4
3
  mention: PageOrDatabaseMention;
5
- children?: ReactNode;
6
4
  }
@@ -0,0 +1,2 @@
1
+ import PageOrDatabaseMention from './PageOrDatabaseMention';
2
+ export { PageOrDatabaseMention };
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { UserMentionProps } from './UserMention.types';
3
- declare const UserMention: ({ children }: UserMentionProps) => React.JSX.Element;
3
+ declare const UserMention: ({ payload }: UserMentionProps) => React.JSX.Element;
4
4
  export default UserMention;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { MentionRichTextItemResponseEx } from '../../../../../../exporter';
2
2
  export interface UserMentionProps {
3
- children: ReactNode;
3
+ payload: MentionRichTextItemResponseEx;
4
4
  }
@@ -1,9 +1,19 @@
1
- export declare const fontFamily: import("@stylexjs/stylex").VarGroup<Readonly<{
2
- sansserif: string;
1
+ export declare const tokens: import("@stylexjs/stylex").VarGroup<Readonly<{
2
+ fontFamily: string;
3
+ borderRadius: string;
4
+ secondaryText: string;
5
+ thirdText: string;
3
6
  }>, symbol>;
4
- export declare const color: import("@stylexjs/stylex").VarGroup<Readonly<{
5
- [x: string]: string;
7
+ export declare const link: import("@stylexjs/stylex").VarGroup<Readonly<{
8
+ color: string;
9
+ colorHover: string;
10
+ borderBottom: string;
11
+ borderBottomHover: string;
12
+ backgroundColor: string;
13
+ backgroundColorHover: string;
14
+ textDecoration: string;
15
+ cursor: string;
6
16
  }>, symbol>;
7
- export declare const withDarkColor: import("@stylexjs/stylex").VarGroup<Readonly<{
17
+ export declare const colors: import("@stylexjs/stylex").VarGroup<Readonly<{
8
18
  [x: string]: string;
9
19
  }>, symbol>;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, ParagraphBlockObjectResponse, BreadcrumbBlockObjectResponse, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, FileBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, GetSelfResponse, MultiSelectPropertyItemObjectResponse, NumberPropertyItemObjectResponse, RichTextPropertyItemObjectResponse, TitlePropertyItemObjectResponse, SelectPropertyItemObjectResponse } from '@notionhq/client/build/src/api-endpoints.js';
2
+ import { ListBlockChildrenResponse, BulletedListItemBlockObjectResponse, NumberedListItemBlockObjectResponse, TableBlockObjectResponse, ToggleBlockObjectResponse, ColumnListBlockObjectResponse, ChildPageBlockObjectResponse, ChildDatabaseBlockObjectResponse, BookmarkBlockObjectResponse, RichTextItemResponse, CalloutBlockObjectResponse, ImageBlockObjectResponse, VideoBlockObjectResponse, EmbedBlockObjectResponse, TextRichTextItemResponse, EquationRichTextItemResponse, ParagraphBlockObjectResponse, BreadcrumbBlockObjectResponse, FileBlockObjectResponse, PdfBlockObjectResponse, SyncedBlockBlockObjectResponse, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, ToDoBlockObjectResponse, TemplateBlockObjectResponse, EquationBlockObjectResponse, CodeBlockObjectResponse, DividerBlockObjectResponse, TableOfContentsBlockObjectResponse, ColumnBlockObjectResponse, LinkToPageBlockObjectResponse, TableRowBlockObjectResponse, AudioBlockObjectResponse, LinkPreviewBlockObjectResponse, UnsupportedBlockObjectResponse, PageObjectResponse, GetPagePropertyResponse, DatabaseObjectResponse, QueryDatabaseResponse, MentionRichTextItemResponse, GetSelfResponse, MultiSelectPropertyItemObjectResponse, NumberPropertyItemObjectResponse, RichTextPropertyItemObjectResponse, TitlePropertyItemObjectResponse, SelectPropertyItemObjectResponse } from '@notionhq/client/build/src/api-endpoints.js';
3
3
  import { ParsedUrlQueryInput } from 'node:querystring';
4
4
  import { UrlObject } from 'node:url';
5
5
 
@@ -182,6 +182,26 @@ type Breadcrumb = {
182
182
  type BreadcrumbBlockObjectResponseEx = BreadcrumbBlockObjectResponse & {
183
183
  list: Breadcrumb[];
184
184
  };
185
+ type FileBlockObjectResponseEx = FileBlockObjectResponse & {
186
+ file: {
187
+ type: "external";
188
+ external: {
189
+ url: TextRequest;
190
+ };
191
+ caption: Array<RichTextItemResponse>;
192
+ src: string;
193
+ size: number;
194
+ } | {
195
+ type: 'file';
196
+ file: {
197
+ url: string;
198
+ expiry_time: string;
199
+ };
200
+ caption: Array<RichTextItemResponse>;
201
+ src: string;
202
+ size: number;
203
+ };
204
+ };
185
205
  type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
186
206
  pdf: {
187
207
  type: "external";
@@ -205,7 +225,7 @@ type PdfBlockObjectResponseEx = PdfBlockObjectResponse & {
205
225
  type SyncedBlockBlockObjectResponseEx = SyncedBlockBlockObjectResponse & {
206
226
  children?: ListBlockChildrenResponseEx;
207
227
  };
208
- type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponse | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
228
+ type BlockObjectResponse = ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | BulletedListItemBlockObjectResponseEx | NumberedListItemBlockObjectResponseEx | QuoteBlockObjectResponse | ToDoBlockObjectResponse | ToggleBlockObjectResponseEx | TemplateBlockObjectResponse | SyncedBlockBlockObjectResponseEx | ChildPageBlockObjectResponseEx | ChildDatabaseBlockObjectResponseEx | EquationBlockObjectResponse | CodeBlockObjectResponse | CalloutBlockObjectResponseEx | DividerBlockObjectResponse | BreadcrumbBlockObjectResponseEx | TableOfContentsBlockObjectResponse | ColumnListBlockObjectResponseEx | ColumnBlockObjectResponse | LinkToPageBlockObjectResponse | TableBlockObjectResponseEx | TableRowBlockObjectResponse | EmbedBlockObjectResponseEx | BookmarkBlockObjectResponseEx | ImageBlockObjectResponseEx | VideoBlockObjectResponseEx | PdfBlockObjectResponseEx | FileBlockObjectResponseEx | AudioBlockObjectResponse | LinkPreviewBlockObjectResponse | UnsupportedBlockObjectResponse;
209
229
  type ListBlockChildrenResponseEx = ListBlockChildrenResponse & {
210
230
  results: Array<BlockObjectResponse>;
211
231
  children?: ListBlockChildrenResponse;
@@ -633,7 +653,7 @@ interface EquationBlockProps {
633
653
  declare const EquationBlock: ({ block }: EquationBlockProps) => React.JSX.Element;
634
654
 
635
655
  interface FileBlockProps {
636
- block: FileBlockObjectResponse;
656
+ block: FileBlockObjectResponseEx;
637
657
  }
638
658
 
639
659
  declare const FileBlock: ({ block }: FileBlockProps) => React.JSX.Element;
@@ -663,8 +683,9 @@ interface PageIconProps {
663
683
  name: 'figma' | 'slack' | 'github' | 'file' | 'link';
664
684
  width?: string;
665
685
  height?: string;
686
+ className?: string;
666
687
  }
667
- declare const PageIcon: ({ name, width, height }: PageIconProps) => React.JSX.Element;
688
+ declare const PageIcon: ({ name, width, height, className }: PageIconProps) => React.JSX.Element;
668
689
 
669
690
  interface PdfBlockProps {
670
691
  block: PdfBlockObjectResponseEx;