@terrafirmagreg-team/ui 0.0.0-stage → 1.2.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 (225) hide show
  1. package/package.json +93 -3
  2. package/src/components/blocks/button/icon-button.tsx +49 -0
  3. package/src/components/blocks/canvas/chevron-edge.tsx +242 -0
  4. package/src/components/blocks/canvas/flow-canvas.tsx +181 -0
  5. package/src/components/blocks/canvas/flow-toolbar.tsx +33 -0
  6. package/src/components/blocks/canvas/flow-viewport.tsx +244 -0
  7. package/src/components/blocks/fit-box.tsx +26 -0
  8. package/src/components/blocks/git/github-info.tsx +78 -0
  9. package/src/components/blocks/lang/content.tsx +52 -0
  10. package/src/components/blocks/lang/flag.tsx +25 -0
  11. package/src/components/blocks/lang/link.tsx +23 -0
  12. package/src/components/blocks/lang/redirect.tsx +48 -0
  13. package/src/components/blocks/lang/switcher.tsx +54 -0
  14. package/src/components/blocks/lang/untranslated-callout.tsx +29 -0
  15. package/src/components/blocks/lang/untranslated-chip.tsx +53 -0
  16. package/src/components/blocks/link/link-preview.tsx +257 -0
  17. package/src/components/blocks/list/row.tsx +92 -0
  18. package/src/components/blocks/media/glb/model.tsx +244 -0
  19. package/src/components/blocks/media/glb/scene.tsx +373 -0
  20. package/src/components/blocks/media/glb/viewer.tsx +52 -0
  21. package/src/components/blocks/media/image.tsx +136 -0
  22. package/src/components/blocks/media/slideshow.tsx +178 -0
  23. package/src/components/blocks/nav/breadcrumb.tsx +51 -0
  24. package/src/components/blocks/nav/copy-menu.tsx +37 -0
  25. package/src/components/blocks/nav/link.tsx +86 -0
  26. package/src/components/blocks/nav/site-menu.tsx +78 -0
  27. package/src/components/blocks/nav/site-title.tsx +61 -0
  28. package/src/components/blocks/nav/switcher.tsx +206 -0
  29. package/src/components/blocks/page/empty-state.tsx +32 -0
  30. package/src/components/blocks/page/heading.tsx +54 -0
  31. package/src/components/blocks/page/pager.tsx +220 -0
  32. package/src/components/blocks/readability/fields.tsx +250 -0
  33. package/src/components/blocks/readability/menu.tsx +247 -0
  34. package/src/components/blocks/readability/track.tsx +165 -0
  35. package/src/components/blocks/search/command.tsx +80 -0
  36. package/src/components/blocks/search/dialog.tsx +724 -0
  37. package/src/components/blocks/search/provider.tsx +118 -0
  38. package/src/components/blocks/sidebar.tsx +406 -0
  39. package/src/components/blocks/sprite.tsx +231 -0
  40. package/src/components/blocks/text/format-text.tsx +110 -0
  41. package/src/components/blocks/theme/toggle.tsx +75 -0
  42. package/src/components/blocks/tooltip/hint.tsx +28 -0
  43. package/src/components/blocks/tooltip/lazy.tsx +41 -0
  44. package/src/components/blocks/viewer/controls.tsx +284 -0
  45. package/src/components/blocks/viewer/float-bar.tsx +51 -0
  46. package/src/components/layouts/layout.tsx +94 -0
  47. package/src/components/layouts/left-sidebar/content.tsx +63 -0
  48. package/src/components/layouts/left-sidebar/context.tsx +55 -0
  49. package/src/components/layouts/left-sidebar/expand.tsx +23 -0
  50. package/src/components/layouts/left-sidebar/footer.tsx +111 -0
  51. package/src/components/layouts/left-sidebar/index.ts +29 -0
  52. package/src/components/layouts/left-sidebar/items.tsx +103 -0
  53. package/src/components/layouts/left-sidebar/search.tsx +75 -0
  54. package/src/components/layouts/left-sidebar/sidebar.tsx +189 -0
  55. package/src/components/layouts/left-sidebar/tree.tsx +157 -0
  56. package/src/components/layouts/right-sidebar.tsx +96 -0
  57. package/src/components/layouts/tree-context.tsx +42 -0
  58. package/src/components/mdx/accordion.tsx +185 -0
  59. package/src/components/mdx/banner.tsx +157 -0
  60. package/src/components/mdx/callout.tsx +97 -0
  61. package/src/components/mdx/card.tsx +56 -0
  62. package/src/components/mdx/codeblock.tsx +250 -0
  63. package/src/components/mdx/collapsible.tsx +33 -0
  64. package/src/components/mdx/files.tsx +63 -0
  65. package/src/components/mdx/glow-header.tsx +54 -0
  66. package/src/components/mdx/gradient-text.tsx +28 -0
  67. package/src/components/mdx/icon.tsx +35 -0
  68. package/src/components/mdx/image-zoom.tsx +315 -0
  69. package/src/components/mdx/math.tsx +30 -0
  70. package/src/components/mdx/mermaid.tsx +23 -0
  71. package/src/components/mdx/multiblock.tsx +19 -0
  72. package/src/components/mdx/preview.tsx +101 -0
  73. package/src/components/mdx/steps.tsx +10 -0
  74. package/src/components/mdx/table.tsx +14 -0
  75. package/src/components/mdx/tabs.tsx +354 -0
  76. package/src/components/mdx/type-table.tsx +171 -0
  77. package/src/components/provider.tsx +139 -0
  78. package/src/components/ui/accordion.tsx +71 -0
  79. package/src/components/ui/alert-dialog.tsx +187 -0
  80. package/src/components/ui/alert.tsx +75 -0
  81. package/src/components/ui/aspect-ratio.tsx +22 -0
  82. package/src/components/ui/attachment.tsx +207 -0
  83. package/src/components/ui/avatar.tsx +108 -0
  84. package/src/components/ui/badge.tsx +51 -0
  85. package/src/components/ui/breadcrumb.tsx +124 -0
  86. package/src/components/ui/bubble.tsx +127 -0
  87. package/src/components/ui/button-group.tsx +87 -0
  88. package/src/components/ui/button.tsx +57 -0
  89. package/src/components/ui/calendar.tsx +221 -0
  90. package/src/components/ui/card.tsx +102 -0
  91. package/src/components/ui/carousel.tsx +242 -0
  92. package/src/components/ui/chart.tsx +371 -0
  93. package/src/components/ui/checkbox.tsx +28 -0
  94. package/src/components/ui/collapsible.tsx +21 -0
  95. package/src/components/ui/combobox.tsx +297 -0
  96. package/src/components/ui/command.tsx +198 -0
  97. package/src/components/ui/context-menu.tsx +270 -0
  98. package/src/components/ui/dialog.tsx +160 -0
  99. package/src/components/ui/direction.tsx +6 -0
  100. package/src/components/ui/drawer.tsx +227 -0
  101. package/src/components/ui/dropdown-menu.tsx +269 -0
  102. package/src/components/ui/empty.tsx +103 -0
  103. package/src/components/ui/field.tsx +238 -0
  104. package/src/components/ui/hover-card.tsx +50 -0
  105. package/src/components/ui/input-group.tsx +158 -0
  106. package/src/components/ui/input-otp.tsx +86 -0
  107. package/src/components/ui/input.tsx +19 -0
  108. package/src/components/ui/item.tsx +201 -0
  109. package/src/components/ui/kbd.tsx +26 -0
  110. package/src/components/ui/label.tsx +19 -0
  111. package/src/components/ui/marker.tsx +70 -0
  112. package/src/components/ui/menubar.tsx +280 -0
  113. package/src/components/ui/message-scroller.tsx +131 -0
  114. package/src/components/ui/message.tsx +91 -0
  115. package/src/components/ui/native-select.tsx +60 -0
  116. package/src/components/ui/navigation-menu.tsx +167 -0
  117. package/src/components/ui/pagination.tsx +130 -0
  118. package/src/components/ui/popover.tsx +91 -0
  119. package/src/components/ui/progress.tsx +82 -0
  120. package/src/components/ui/questionnaire.tsx +324 -0
  121. package/src/components/ui/radio-group.tsx +37 -0
  122. package/src/components/ui/resizable.tsx +49 -0
  123. package/src/components/ui/scroll-area.tsx +54 -0
  124. package/src/components/ui/select.tsx +200 -0
  125. package/src/components/ui/separator.tsx +24 -0
  126. package/src/components/ui/sheet.tsx +138 -0
  127. package/src/components/ui/sidebar.tsx +730 -0
  128. package/src/components/ui/skeleton.tsx +13 -0
  129. package/src/components/ui/slider.tsx +51 -0
  130. package/src/components/ui/spinner.tsx +10 -0
  131. package/src/components/ui/switch.tsx +31 -0
  132. package/src/components/ui/table.tsx +115 -0
  133. package/src/components/ui/tabs.tsx +81 -0
  134. package/src/components/ui/textarea.tsx +17 -0
  135. package/src/components/ui/toast.tsx +234 -0
  136. package/src/components/ui/toggle-group.tsx +89 -0
  137. package/src/components/ui/toggle.tsx +44 -0
  138. package/src/components/ui/tooltip.tsx +65 -0
  139. package/src/hooks/canvas/use-flow-hover.ts +19 -0
  140. package/src/hooks/canvas/use-flow-viewport-persist.ts +34 -0
  141. package/src/hooks/page/use-fit-pages.ts +92 -0
  142. package/src/hooks/page/use-location-search.ts +31 -0
  143. package/src/hooks/page/use-page-preview.ts +41 -0
  144. package/src/hooks/page/use-paged-list.ts +21 -0
  145. package/src/hooks/readability/use-readability.ts +87 -0
  146. package/src/hooks/search/use-dialog.ts +42 -0
  147. package/src/hooks/search/use-highlight-query.ts +58 -0
  148. package/src/hooks/search/use-provider.ts +26 -0
  149. package/src/hooks/use-async-value.ts +60 -0
  150. package/src/hooks/use-close-on-scroll.ts +24 -0
  151. package/src/hooks/use-copy-button.ts +47 -0
  152. package/src/hooks/use-cycle-index.ts +76 -0
  153. package/src/hooks/use-document-title.ts +10 -0
  154. package/src/hooks/use-element-size.ts +36 -0
  155. package/src/hooks/use-external-meta.ts +133 -0
  156. package/src/hooks/use-hot-key.ts +34 -0
  157. package/src/hooks/use-hover-follow.ts +55 -0
  158. package/src/hooks/use-in-view.ts +31 -0
  159. package/src/hooks/use-lang.ts +9 -0
  160. package/src/hooks/use-last-value.ts +16 -0
  161. package/src/hooks/use-layout.ts +19 -0
  162. package/src/hooks/use-marquee.ts +52 -0
  163. package/src/hooks/use-media-query.ts +15 -0
  164. package/src/hooks/use-mobile.ts +20 -0
  165. package/src/hooks/use-modifier-keys.ts +32 -0
  166. package/src/hooks/use-on-change.ts +36 -0
  167. package/src/hooks/use-pane-keys.ts +29 -0
  168. package/src/hooks/use-sidebar.ts +64 -0
  169. package/src/hooks/use-swipe.ts +27 -0
  170. package/src/hooks/use-tree.ts +100 -0
  171. package/src/hooks/viewer/use-in-float-bar.ts +7 -0
  172. package/src/hooks/viewer/use-viewer-prefs.ts +78 -0
  173. package/src/lib/canvas/edge.ts +202 -0
  174. package/src/lib/canvas/geometry.ts +54 -0
  175. package/src/lib/canvas/state.ts +48 -0
  176. package/src/lib/canvas/viewport.ts +38 -0
  177. package/src/lib/canvas/xyflow.ts +2 -0
  178. package/src/lib/config.ts +106 -0
  179. package/src/lib/mdx/callout.ts +21 -0
  180. package/src/lib/mdx/gradient.ts +16 -0
  181. package/src/lib/mdx/mermaid.ts +15 -0
  182. package/src/lib/media/crop-opaque.ts +77 -0
  183. package/src/lib/media/nearby-indexes.ts +7 -0
  184. package/src/lib/media/trim-transparent.ts +118 -0
  185. package/src/lib/readability/config.ts +11 -0
  186. package/src/lib/readability/spotlight.ts +187 -0
  187. package/src/lib/readability/store.ts +147 -0
  188. package/src/lib/tree.ts +90 -0
  189. package/src/lib/utils/cn.ts +2 -0
  190. package/src/lib/utils/format.ts +22 -0
  191. package/src/lib/utils/highlight-style.ts +10 -0
  192. package/src/lib/utils/history.ts +10 -0
  193. package/src/lib/utils/merge-refs.ts +14 -0
  194. package/src/lib/utils/nav-active.ts +59 -0
  195. package/src/lib/utils/stored-value.ts +137 -0
  196. package/src/lib/utils/urls.ts +18 -0
  197. package/src/locales/en_us.json +110 -0
  198. package/src/locales/pl_pl.json +33 -0
  199. package/src/locales/ru_ru.json +110 -0
  200. package/src/locales/uk_ua.json +33 -0
  201. package/src/locales/zh_cn.json +15 -0
  202. package/src/locales/zh_tw.json +15 -0
  203. package/src/locales.ts +6 -0
  204. package/src/types/canvas.ts +54 -0
  205. package/src/types/glb.ts +26 -0
  206. package/src/types/mdx-directives.ts +106 -0
  207. package/src/types/nav.ts +96 -0
  208. package/src/types/preview.ts +15 -0
  209. package/src/types/readability.ts +29 -0
  210. package/src/types/search.ts +57 -0
  211. package/src/types/tree.ts +19 -0
  212. package/src/types/viewer.ts +54 -0
  213. package/styles/content/base.css +198 -0
  214. package/styles/content/default-colors.css +51 -0
  215. package/styles/content/shiki.css +107 -0
  216. package/styles/content/typography.mjs +3637 -0
  217. package/styles/content.css +5 -0
  218. package/styles/image-zoom.css +83 -0
  219. package/styles/layout.css +28 -0
  220. package/styles/left-sidebar.css +140 -0
  221. package/styles/readability.css +50 -0
  222. package/styles/right-sidebar.css +6 -0
  223. package/styles/workspace.css +26 -0
  224. package/styles.css +430 -0
  225. package/README.md +0 -3
package/styles.css ADDED
@@ -0,0 +1,430 @@
1
+ @import 'flag-icons/css/flag-icons.min.css';
2
+ @import '@xyflow/react/dist/style.css';
3
+
4
+ @custom-variant dark (&:where(.dark, .dark *));
5
+
6
+ @theme {
7
+ --ease-expo: cubic-bezier(0.22, 1, 0.36, 1);
8
+ --text-3xs: 0.5625rem;
9
+ --text-2xs: 0.625rem;
10
+ --text-nav-title: 0.9375rem;
11
+
12
+ --color-background: hsl(0, 0%, 96%);
13
+ --color-foreground: hsl(0, 0%, 3.9%);
14
+ --color-card: hsl(0, 0%, 94.7%);
15
+ --color-card-foreground: hsl(0, 0%, 3.9%);
16
+ --color-popover: hsl(0, 0%, 98%);
17
+ --color-popover-foreground: hsl(0, 0%, 15.1%);
18
+ --color-primary: hsl(0, 0%, 9%);
19
+ --color-primary-foreground: hsl(0, 0%, 98%);
20
+ --color-secondary: hsl(0, 0%, 93.1%);
21
+ --color-secondary-foreground: hsl(0, 0%, 9%);
22
+ --color-muted: hsl(0, 0%, 96.1%);
23
+ --color-muted-foreground: hsl(0, 0%, 45.1%);
24
+ --color-accent: hsla(0, 0%, 82%, 50%);
25
+ --color-accent-foreground: hsl(0, 0%, 9%);
26
+ --color-destructive: oklch(63.7% 0.237 25.331);
27
+ --color-destructive-foreground: hsl(0, 0%, 98%);
28
+ --color-border: hsla(0, 0%, 80%, 50%);
29
+ --color-input: hsla(0, 0%, 80%, 50%);
30
+ --color-ring: hsl(0, 0%, 63.9%);
31
+ --color-overlay: hsla(0, 0%, 0%, 0.2);
32
+
33
+ --color-sidebar: hsl(0, 0%, 94.7%);
34
+ --color-sidebar-foreground: hsl(0, 0%, 3.9%);
35
+ --color-sidebar-primary: hsl(0, 0%, 9%);
36
+ --color-sidebar-primary-foreground: hsl(0, 0%, 98%);
37
+ --color-sidebar-accent: hsla(0, 0%, 82%, 50%);
38
+ --color-sidebar-accent-foreground: hsl(0, 0%, 9%);
39
+ --color-sidebar-border: hsla(0, 0%, 80%, 50%);
40
+ --color-sidebar-ring: hsl(0, 0%, 63.9%);
41
+
42
+ --color-info: oklch(62.3% 0.214 259.815);
43
+ --color-warning: oklch(76.9% 0.188 70.08);
44
+ --color-error: oklch(63.7% 0.237 25.331);
45
+ --color-success: oklch(72.3% 0.219 149.579);
46
+ --color-idea: oklch(70.5% 0.209 60.849);
47
+ --color-diff-remove: rgba(200, 10, 100, 0.12);
48
+ --color-diff-remove-symbol: rgb(230, 10, 100);
49
+ --color-diff-add: rgba(14, 180, 100, 0.1);
50
+ --color-diff-add-symbol: rgb(10, 200, 100);
51
+
52
+ --color-chart-1: oklch(0.646 0.222 41.116);
53
+ --color-chart-2: oklch(0.6 0.118 184.704);
54
+ --color-chart-3: oklch(0.398 0.07 227.392);
55
+ --color-chart-4: oklch(0.828 0.189 84.429);
56
+ --color-chart-5: oklch(0.769 0.188 70.08);
57
+
58
+ --color-float: hsl(0, 0%, 98%);
59
+ }
60
+
61
+ .dark {
62
+ --color-background: hsl(0, 0%, 7.04%);
63
+ --color-foreground: hsl(0, 0%, 92%);
64
+ --color-card: hsl(0, 0%, 9.8%);
65
+ --color-card-foreground: hsl(0, 0%, 98%);
66
+ --color-popover: hsl(0, 0%, 11.6%);
67
+ --color-popover-foreground: hsl(0, 0%, 86.9%);
68
+ --color-primary: hsl(0, 0%, 98%);
69
+ --color-primary-foreground: hsl(0, 0%, 9%);
70
+ --color-secondary: hsl(0, 0%, 12.9%);
71
+ --color-secondary-foreground: hsl(0, 0%, 92%);
72
+ --color-muted: hsl(0, 0%, 12.9%);
73
+ --color-muted-foreground: hsla(0, 0%, 70%, 0.8);
74
+ --color-accent: hsla(0, 0%, 40.9%, 30%);
75
+ --color-accent-foreground: hsl(0, 0%, 90%);
76
+ --color-destructive: oklch(63.7% 0.237 25.331);
77
+ --color-destructive-foreground: hsl(0, 0%, 9%);
78
+ --color-border: hsla(0, 0%, 40%, 20%);
79
+ --color-input: hsla(0, 0%, 40%, 20%);
80
+ --color-ring: hsl(0, 0%, 54.9%);
81
+
82
+ --color-sidebar: hsl(0, 0%, 9.8%);
83
+ --color-sidebar-foreground: hsl(0, 0%, 98%);
84
+ --color-sidebar-primary: hsl(0, 0%, 98%);
85
+ --color-sidebar-primary-foreground: hsl(0, 0%, 9%);
86
+ --color-sidebar-accent: hsla(0, 0%, 40.9%, 30%);
87
+ --color-sidebar-accent-foreground: hsl(0, 0%, 90%);
88
+ --color-sidebar-border: hsla(0, 0%, 40%, 20%);
89
+ --color-sidebar-ring: hsl(0, 0%, 54.9%);
90
+
91
+ --color-chart-1: oklch(0.488 0.243 264.376);
92
+ --color-chart-2: oklch(0.696 0.17 162.48);
93
+ --color-chart-3: oklch(0.769 0.188 70.08);
94
+ --color-chart-4: oklch(0.627 0.265 303.9);
95
+ --color-chart-5: oklch(0.645 0.246 16.439);
96
+
97
+ --color-float: hsl(0, 0%, 11.6%);
98
+ }
99
+
100
+ :root {
101
+ --spotlight-under-bg-color: color-mix(
102
+ in srgb,
103
+ var(--color-primary) 10%,
104
+ transparent
105
+ );
106
+ }
107
+
108
+ html {
109
+ scrollbar-gutter: stable;
110
+ }
111
+
112
+ html:has(.viewport-shell) {
113
+ scrollbar-gutter: auto;
114
+ }
115
+
116
+ [data-slot='command-list'] {
117
+ scrollbar-width: thin;
118
+ scrollbar-color: var(--color-border) transparent;
119
+ }
120
+ [data-slot='command-list']::-webkit-scrollbar {
121
+ width: 10px;
122
+ }
123
+ [data-slot='command-list']::-webkit-scrollbar-thumb {
124
+ border: 3px solid transparent;
125
+ border-radius: 9999px;
126
+ background: var(--color-border) padding-box;
127
+ }
128
+
129
+ html > body[data-scroll-locked] {
130
+ margin-right: 0px !important;
131
+ --removed-body-scroll-bar-size: 0px !important;
132
+ }
133
+
134
+ [data-slot='float-bar'] > :not(:first-child) {
135
+ position: relative;
136
+ }
137
+ [data-slot='float-bar'] > :not(:first-child)::before {
138
+ content: '';
139
+ position: absolute;
140
+ inset-inline-start: 0;
141
+ top: 50%;
142
+ translate: 0 -50%;
143
+ height: 45%;
144
+ width: 1px;
145
+ background: color-mix(in srgb, var(--color-foreground) 8%, transparent);
146
+ }
147
+
148
+ .marquee {
149
+ -webkit-mask-image: linear-gradient(
150
+ to right,
151
+ black calc(100% - 12px),
152
+ transparent
153
+ );
154
+ mask-image: linear-gradient(
155
+ to right,
156
+ black calc(100% - 12px),
157
+ transparent
158
+ );
159
+ }
160
+
161
+ .marquee-run > .marquee-inner {
162
+ animation: marquee var(--marquee-duration, 2s) ease-in-out 0.5s
163
+ infinite alternate;
164
+ }
165
+
166
+ @keyframes marquee {
167
+ to {
168
+ transform: translateX(var(--marquee-x, 0px));
169
+ }
170
+ }
171
+
172
+ @media (prefers-reduced-motion: reduce) {
173
+ .marquee-run > .marquee-inner {
174
+ animation: none;
175
+ }
176
+ }
177
+
178
+ [data-slot='tooltip-content'] {
179
+ max-width: max(16rem, 50vw);
180
+ background-color: var(--color-popover);
181
+ color: var(--color-popover-foreground);
182
+ border-radius: 0.5rem;
183
+ box-shadow:
184
+ 0 0 0 1px color-mix(in oklab, var(--color-foreground) 10%, transparent),
185
+ 0 4px 6px -1px rgb(0 0 0 / 0.1),
186
+ 0 2px 4px -2px rgb(0 0 0 / 0.1);
187
+ }
188
+
189
+ [data-slot='tooltip-content'] > .rotate-45 {
190
+ background-color: var(--color-popover);
191
+ fill: var(--color-popover);
192
+ }
193
+
194
+ *:has(> [data-slot='tooltip-content']) {
195
+ pointer-events: none;
196
+ }
197
+
198
+ .viewer-surface {
199
+ background: var(--color-background);
200
+ }
201
+
202
+ .viewer-surface:fullscreen {
203
+ width: 100% !important;
204
+ }
205
+
206
+ .viewer-surface:fullscreen > .viewer-scene {
207
+ height: 100% !important;
208
+ }
209
+
210
+ .viewer-scene {
211
+ background-color: var(--color-background);
212
+ }
213
+
214
+ .viewer-scene.viewer-dots {
215
+ background-image: radial-gradient(
216
+ circle,
217
+ color-mix(in oklab, var(--color-muted-foreground) 30%, transparent) 1px,
218
+ transparent 1px
219
+ );
220
+ background-size: 16px 16px;
221
+ }
222
+
223
+ .viewer-surface canvas {
224
+ display: block;
225
+ width: 100%;
226
+ height: 100%;
227
+ background: transparent;
228
+ touch-action: none;
229
+ }
230
+
231
+ :fullscreen {
232
+ width: 100%;
233
+ height: 100%;
234
+ max-width: none;
235
+ margin: 0;
236
+ border: none;
237
+ border-radius: 0;
238
+ background: var(--color-background);
239
+ }
240
+
241
+ :fullscreen .viewer-scene {
242
+ height: 100%;
243
+ }
244
+
245
+ .viewer-fallback-fullscreen {
246
+ position: fixed;
247
+ inset: 0;
248
+ z-index: 50;
249
+ width: 100%;
250
+ height: 100%;
251
+ max-width: none;
252
+ margin: 0;
253
+ border: none;
254
+ border-radius: 0;
255
+ background: var(--color-background);
256
+ }
257
+
258
+ .viewer-fallback-fullscreen .viewer-scene {
259
+ height: 100%;
260
+ }
261
+
262
+ .chevron-edge__stroke {
263
+ fill: none;
264
+ vector-effect: non-scaling-stroke;
265
+ stroke-width: 2.25;
266
+ stroke-linecap: round;
267
+ stroke-linejoin: round;
268
+ pointer-events: none;
269
+ }
270
+
271
+ .chevron-edge__base {
272
+ stroke-width: 1.75;
273
+ stroke: color-mix(
274
+ in oklab,
275
+ var(--color-foreground) 44%,
276
+ var(--color-muted-foreground)
277
+ );
278
+ }
279
+
280
+ .chevron-edge--outgoing .chevron-edge__base {
281
+ stroke: color-mix(in oklab, #00c8c8 40%, transparent);
282
+ }
283
+
284
+ .chevron-edge--incoming .chevron-edge__base {
285
+ stroke: color-mix(in oklab, #c8c800 40%, transparent);
286
+ }
287
+
288
+ .chevron-edge__stroke--main {
289
+ stroke: color-mix(
290
+ in oklab,
291
+ var(--color-foreground) 38%,
292
+ var(--color-muted-foreground)
293
+ );
294
+ }
295
+
296
+ .chevron-edge__tick {
297
+ offset-rotate: auto;
298
+ offset-distance: var(--chevron-o);
299
+ }
300
+
301
+ .chevron-edge--incoming .chevron-edge__tick:not(:last-child),
302
+ .chevron-edge--outgoing .chevron-edge__tick:not(:last-child) {
303
+ animation: chevron-flow 0.5s linear infinite;
304
+ }
305
+
306
+ @keyframes chevron-flow {
307
+ to {
308
+ offset-distance: calc(var(--chevron-o) + 10px);
309
+ }
310
+ }
311
+
312
+ @media (prefers-reduced-motion: reduce) {
313
+ .chevron-edge__tick {
314
+ animation: none;
315
+ }
316
+
317
+ .chevron-edge__stroke--main {
318
+ opacity: 0.55;
319
+ }
320
+ }
321
+
322
+ .chevron-edge--outgoing .chevron-edge__stroke--main {
323
+ stroke: #00c8c8;
324
+ }
325
+
326
+ .chevron-edge--incoming .chevron-edge__stroke--main {
327
+ stroke: #c8c800;
328
+ }
329
+
330
+ .chevron-edge--dim {
331
+ opacity: 0.3;
332
+ }
333
+
334
+ .chevron-edge__label {
335
+ position: absolute;
336
+ pointer-events: all;
337
+ z-index: 10;
338
+ }
339
+
340
+ [data-slot='left-sidebar'] ul,
341
+ [data-slot='left-sidebar'] li {
342
+ list-style: none;
343
+ margin: 0;
344
+ padding: 0;
345
+ }
346
+
347
+ :root {
348
+ --z-overlay: 1100;
349
+ }
350
+
351
+ @utility z-overlay {
352
+ z-index: var(--z-overlay);
353
+ }
354
+
355
+ @utility scrollbar-thin {
356
+ scrollbar-width: thin;
357
+ scrollbar-color: var(--color-border) transparent;
358
+
359
+ &::-webkit-scrollbar {
360
+ width: 5px;
361
+ height: 5px;
362
+ }
363
+
364
+ &::-webkit-scrollbar-thumb {
365
+ border-radius: 5px;
366
+ background: var(--color-border);
367
+ }
368
+
369
+ &::-webkit-scrollbar-track {
370
+ background: transparent;
371
+ }
372
+
373
+ &::-webkit-scrollbar-corner {
374
+ display: none;
375
+ }
376
+ }
377
+
378
+ @utility no-scrollbar {
379
+ scrollbar-width: none;
380
+
381
+ &::-webkit-scrollbar {
382
+ display: none;
383
+ }
384
+ }
385
+
386
+ @utility scrollbar-none {
387
+ scrollbar-width: none;
388
+
389
+ &::-webkit-scrollbar {
390
+ display: none;
391
+ }
392
+ }
393
+
394
+ @utility scroll-fade-x {
395
+ mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
396
+ }
397
+
398
+ @utility scroll-fade-b {
399
+ mask-image: linear-gradient(to bottom, black calc(100% - 24px), transparent);
400
+ }
401
+
402
+ @layer base {
403
+ a[href],
404
+ button,
405
+ summary,
406
+ select,
407
+ label[for],
408
+ label:has(> input[type='checkbox'], > input[type='radio']),
409
+ [role='button'],
410
+ [role='link'],
411
+ [role='tab'],
412
+ [role='menuitem'],
413
+ [role='option'],
414
+ [role='switch'],
415
+ input[type='checkbox'],
416
+ input[type='radio'],
417
+ input[type='file'],
418
+ input[type='submit'],
419
+ input[type='button'],
420
+ input[type='reset'],
421
+ input[type='range'],
422
+ input[type='color'] {
423
+ cursor: pointer;
424
+ }
425
+
426
+ :disabled,
427
+ [aria-disabled='true'] {
428
+ cursor: not-allowed;
429
+ }
430
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.