@xynolog/react-ui 0.0.0-stage → 0.8.1

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 (146) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +359 -2
  3. package/dist/PdfAnnotationCanvas.client-S64VRLUN.css +193 -0
  4. package/dist/PdfAnnotationCanvas.client-V7R4NXFO.js +799 -0
  5. package/dist/ar-AIV7P4FL.js +594 -0
  6. package/dist/bn-J2OR57PB.js +594 -0
  7. package/dist/chunk-4L3TYOIV.js +172 -0
  8. package/dist/chunk-BM76QBIO.js +594 -0
  9. package/dist/chunk-D2O46PZQ.js +240 -0
  10. package/dist/chunk-O23TLLXW.js +42 -0
  11. package/dist/chunk-WGTUIB6C.js +304 -0
  12. package/dist/cs-JNEAMHFB.js +594 -0
  13. package/dist/da-UY5ZRVTZ.js +594 -0
  14. package/dist/de-EETVXC42.js +594 -0
  15. package/dist/el-S5YKDMTL.js +594 -0
  16. package/dist/en-3YQWF45H.js +61 -0
  17. package/dist/es-GHA7S27R.js +594 -0
  18. package/dist/fa-JTR3GF6I.js +594 -0
  19. package/dist/fi-CQZ7BW57.js +594 -0
  20. package/dist/fr-OJH2WIY7.js +594 -0
  21. package/dist/he-2DBXWA2V.js +594 -0
  22. package/dist/hi-NZP7B55I.js +594 -0
  23. package/dist/id-4KXFKWOI.js +594 -0
  24. package/dist/index.css +4134 -0
  25. package/dist/index.d.ts +4040 -0
  26. package/dist/index.js +29638 -0
  27. package/dist/it-XBMYGKKY.js +594 -0
  28. package/dist/ja-OVHZS3EH.js +594 -0
  29. package/dist/ko-NW2MVM5L.js +594 -0
  30. package/dist/ms-RXLPBZLK.js +594 -0
  31. package/dist/nl-77CTBEDA.js +594 -0
  32. package/dist/no-RAPO56SE.js +594 -0
  33. package/dist/pl-XCFXZCTT.js +594 -0
  34. package/dist/pt-EMBE27IS.js +594 -0
  35. package/dist/ro-M7QLJBYN.js +594 -0
  36. package/dist/sv-ST6CITQY.js +594 -0
  37. package/dist/test-utils.css +112 -0
  38. package/dist/test-utils.d.ts +126 -0
  39. package/dist/test-utils.js +13119 -0
  40. package/dist/th-EEQGL3G7.js +594 -0
  41. package/dist/tr-5FYHZQKD.js +594 -0
  42. package/dist/uk-VTWDC467.js +594 -0
  43. package/dist/vi-ISBKJ66X.js +594 -0
  44. package/dist/zh-2AW2N66Z.js +594 -0
  45. package/package.json +132 -4
  46. package/src/components/ProtectedErrorBoundary.css +121 -0
  47. package/src/components/SessionExpiryBanner.css +67 -0
  48. package/src/components/StatusDisplay.css +439 -0
  49. package/src/components/Toast.css +136 -0
  50. package/src/components/annotation/annotation-entries.css +138 -0
  51. package/src/components/annotation/annotations.css +93 -0
  52. package/src/components/annotation/references.css +300 -0
  53. package/src/components/branding/Branding.css +129 -0
  54. package/src/components/error-states/errors.css +34 -0
  55. package/src/components/layout/Header.css +99 -0
  56. package/src/components/layout/LeftSidebar.css +115 -0
  57. package/src/components/layout/ResizeHandle.css +110 -0
  58. package/src/components/layout/SkipLinks.css +84 -0
  59. package/src/components/loading-states/loading.css +42 -0
  60. package/src/components/modals/SearchModal.css +1019 -0
  61. package/src/components/modals/modals.css +655 -0
  62. package/src/components/navigation/CollapsibleResourceNavigation.css +10 -0
  63. package/src/components/navigation/NavigationMenu.css +59 -0
  64. package/src/components/navigation/NavigationTabs.css +466 -0
  65. package/src/components/navigation/SimpleNavigation.css +9 -0
  66. package/src/components/pdf-annotation/PdfAnnotationCanvas.css +288 -0
  67. package/src/components/resource/panels/CollaborationPanel.css +184 -0
  68. package/src/components/resource/panels/DelegateSection.css +330 -0
  69. package/src/components/resource/panels/JsonLdPanel.css +37 -0
  70. package/src/components/resource/panels/ReferencesPanel.css +108 -0
  71. package/src/components/resource/panels/ResourceInfoPanel.css +183 -0
  72. package/src/components/resource/panels/StatisticsPanel.css +127 -0
  73. package/src/components/resource/panels/UnifiedAnnotationsPanel.css +129 -0
  74. package/src/components/settings/SettingsPanel.css +92 -0
  75. package/src/components/toolbar/Toolbar.css +245 -0
  76. package/src/features/auth/auth.css +120 -0
  77. package/src/styles/base/reset.css +105 -0
  78. package/src/styles/base/utilities.css +35 -0
  79. package/src/styles/core/badges.css +17 -0
  80. package/src/styles/core/buttons.css +772 -0
  81. package/src/styles/core/checkboxes.css +85 -0
  82. package/src/styles/core/forms.css +237 -0
  83. package/src/styles/core/index.css +43 -0
  84. package/src/styles/core/indicators.css +24 -0
  85. package/src/styles/core/inputs.css +164 -0
  86. package/src/styles/core/progress.css +85 -0
  87. package/src/styles/core/selects.css +119 -0
  88. package/src/styles/core/sliders.css +180 -0
  89. package/src/styles/core/tags.css +86 -0
  90. package/src/styles/core/textareas.css +104 -0
  91. package/src/styles/core/toggles.css +82 -0
  92. package/src/styles/features/compose.css +341 -0
  93. package/src/styles/features/entity-tags.css +140 -0
  94. package/src/styles/features/recent-docs.css +97 -0
  95. package/src/styles/features/resource-discovery.css +349 -0
  96. package/src/styles/features/resource-viewer.css +609 -0
  97. package/src/styles/features/resource.css +483 -0
  98. package/src/styles/features/schemas.css +222 -0
  99. package/src/styles/index.css +84 -0
  100. package/src/styles/layout/layout.css +28 -0
  101. package/src/styles/motivations/motivation-assessment.css +179 -0
  102. package/src/styles/motivations/motivation-comment.css +164 -0
  103. package/src/styles/motivations/motivation-highlight.css +132 -0
  104. package/src/styles/motivations/motivation-reference.css +167 -0
  105. package/src/styles/motivations/motivation-tag.css +182 -0
  106. package/src/styles/panels/history-panel.css +212 -0
  107. package/src/styles/panels/user-panel.css +21 -0
  108. package/src/styles/patterns/cards.css +26 -0
  109. package/src/styles/patterns/panel-helpers.css +32 -0
  110. package/src/styles/patterns/panels-base.css +272 -0
  111. package/src/styles/utilities/contrast.css +280 -0
  112. package/src/styles/utilities/focus-extended.css +276 -0
  113. package/src/styles/utilities/focus.css +41 -0
  114. package/src/styles/utilities/motion-overrides.css +286 -0
  115. package/src/styles/utilities/motion.css +184 -0
  116. package/src/styles/utilities/semantic-indicators.css +254 -0
  117. package/src/styles/variables.css +410 -0
  118. package/translations/ar.json +534 -0
  119. package/translations/bn.json +534 -0
  120. package/translations/cs.json +534 -0
  121. package/translations/da.json +534 -0
  122. package/translations/de.json +534 -0
  123. package/translations/el.json +534 -0
  124. package/translations/en.json +534 -0
  125. package/translations/es.json +534 -0
  126. package/translations/fa.json +534 -0
  127. package/translations/fi.json +534 -0
  128. package/translations/fr.json +534 -0
  129. package/translations/he.json +534 -0
  130. package/translations/hi.json +534 -0
  131. package/translations/id.json +534 -0
  132. package/translations/it.json +534 -0
  133. package/translations/ja.json +534 -0
  134. package/translations/ko.json +534 -0
  135. package/translations/ms.json +534 -0
  136. package/translations/nl.json +534 -0
  137. package/translations/no.json +534 -0
  138. package/translations/pl.json +534 -0
  139. package/translations/pt.json +534 -0
  140. package/translations/ro.json +534 -0
  141. package/translations/sv.json +534 -0
  142. package/translations/th.json +534 -0
  143. package/translations/tr.json +534 -0
  144. package/translations/uk.json +534 -0
  145. package/translations/vi.json +534 -0
  146. package/translations/zh.json +534 -0
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Inline Annotation Styles
3
+ *
4
+ * Common annotation styles and effects.
5
+ * Motivation-specific styles are in /styles/motivations/*.css
6
+ */
7
+
8
+ /* Animation for newly created annotations (sparkle effect) */
9
+ @keyframes sparkle {
10
+ 0% {
11
+ box-shadow: 0 0 5px rgba(59, 130, 246, 0.8),
12
+ 0 0 10px rgba(59, 130, 246, 0.6),
13
+ 0 0 15px rgba(59, 130, 246, 0.4);
14
+ }
15
+ 50% {
16
+ box-shadow: 0 0 10px rgba(59, 130, 246, 0.8),
17
+ 0 0 20px rgba(59, 130, 246, 0.6),
18
+ 0 0 30px rgba(59, 130, 246, 0.4);
19
+ }
20
+ 100% {
21
+ box-shadow: 0 0 5px rgba(59, 130, 246, 0.8),
22
+ 0 0 10px rgba(59, 130, 246, 0.6),
23
+ 0 0 15px rgba(59, 130, 246, 0.4);
24
+ }
25
+ }
26
+
27
+ .annotation-sparkle {
28
+ animation: sparkle 1.5s ease-in-out infinite;
29
+ }
30
+
31
+ /* Active/selected annotation */
32
+ .annotation-active {
33
+ outline: 2px solid var(--xynolog-color-primary-500);
34
+ outline-offset: 2px;
35
+ z-index: 10;
36
+ position: relative;
37
+ }
38
+
39
+ /* Low-confidence anchor affordance.
40
+ *
41
+ * Annotations whose anchor was resolved by something other than a clean
42
+ * fast-path or unique-occurrence match (i.e. `confidence !== 'high'`)
43
+ * get a dotted underline so operators can see at a glance which
44
+ * highlights were rescued by score-resolved tiebreaking, fuzzy matching,
45
+ * or a position-fallback. The hover tooltip (added by
46
+ * `getAnnotationDecorationMeta`) names the strategy. */
47
+ .annotation-low-confidence {
48
+ text-decoration: underline dotted var(--xynolog-color-amber-500);
49
+ text-decoration-thickness: 2px;
50
+ text-underline-offset: 2px;
51
+ }
52
+
53
+ /* Print styles */
54
+ @media print {
55
+ .annotation-highlight,
56
+ .annotation-comment,
57
+ .annotation-assessment,
58
+ .annotation-reference,
59
+ .annotation-tag {
60
+ background: transparent !important;
61
+ outline: none !important;
62
+ text-decoration: underline !important;
63
+ color: inherit !important;
64
+ }
65
+ }
66
+
67
+ /* The running log of what a delegated job found, one line per item. */
68
+ .xynolog-annotation-log {
69
+ display: flex;
70
+ flex-direction: column;
71
+ gap: 0.25rem;
72
+ }
73
+
74
+ .xynolog-annotation-log-item {
75
+ display: flex;
76
+ align-items: baseline;
77
+ gap: 0.375rem;
78
+ font-size: var(--xynolog-text-xs);
79
+ color: var(--xynolog-text-secondary);
80
+ }
81
+
82
+ .xynolog-annotation-check {
83
+ color: var(--xynolog-color-success);
84
+ flex-shrink: 0;
85
+ }
86
+
87
+ .xynolog-annotation-entity-type {
88
+ color: var(--xynolog-text-tertiary);
89
+ }
90
+
91
+ [data-theme="dark"] .xynolog-annotation-check {
92
+ color: var(--xynolog-color-success-light);
93
+ }
@@ -0,0 +1,300 @@
1
+ /**
2
+ * References Panel Component Styles
3
+ *
4
+ * Styles for reference entries and incoming references.
5
+ */
6
+
7
+ /* Reference Item */
8
+ .xynolog-reference-item {
9
+ border: 1px solid var(--xynolog-color-gray-200);
10
+ border-radius: 0.25rem;
11
+ padding: 0.5rem;
12
+ }
13
+
14
+ [data-theme="dark"] .xynolog-reference-item {
15
+ border-color: var(--xynolog-color-gray-700);
16
+ }
17
+
18
+ .xynolog-reference-item__header {
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: space-between;
22
+ gap: 0.5rem;
23
+ margin-bottom: 0.25rem;
24
+ }
25
+
26
+ .xynolog-reference-item__title {
27
+ font-size: 0.875rem;
28
+ color: var(--xynolog-color-gray-700);
29
+ font-weight: 500;
30
+ }
31
+
32
+ [data-theme="dark"] .xynolog-reference-item__title {
33
+ color: var(--xynolog-color-gray-300);
34
+ }
35
+
36
+ .xynolog-reference-item__link {
37
+ font-size: 1.125rem;
38
+ transition: opacity 0.15s;
39
+ flex-shrink: 0;
40
+ text-decoration: none;
41
+ }
42
+
43
+ .xynolog-reference-item__link:hover {
44
+ opacity: 0.7;
45
+ }
46
+
47
+ .xynolog-reference-item__excerpt {
48
+ font-size: 0.75rem;
49
+ color: var(--xynolog-color-gray-500);
50
+ font-style: italic;
51
+ display: -webkit-box;
52
+ -webkit-line-clamp: 2;
53
+ -webkit-box-orient: vertical;
54
+ overflow: hidden;
55
+ }
56
+
57
+ [data-theme="dark"] .xynolog-reference-item__excerpt {
58
+ color: var(--xynolog-color-gray-400);
59
+ }
60
+
61
+ /* Chip Component for Entity Types */
62
+ .xynolog-chip {
63
+ padding: 0.25rem 0.75rem;
64
+ font-size: 0.875rem;
65
+ border-radius: 9999px;
66
+ transition: all 0.15s;
67
+ border: 1px solid;
68
+ cursor: pointer;
69
+ }
70
+
71
+ .xynolog-chip:focus-visible {
72
+ outline: 2px solid var(--xynolog-color-primary-500);
73
+ outline-offset: 2px;
74
+ }
75
+
76
+ [data-theme="dark"] .xynolog-chip:focus-visible {
77
+ outline-color: var(--xynolog-color-primary-400);
78
+ }
79
+
80
+ /* Remove focus for mouse users */
81
+ .xynolog-chip:focus:not(:focus-visible) {
82
+ outline: none;
83
+ }
84
+
85
+ @media (prefers-contrast: more) {
86
+ .xynolog-chip:focus-visible {
87
+ outline-width: 3px;
88
+ }
89
+ }
90
+
91
+ .xynolog-chip--selectable[data-selected="false"] {
92
+ background-color: var(--xynolog-bg-secondary);
93
+ color: var(--xynolog-color-gray-700);
94
+ border-color: var(--xynolog-color-gray-300);
95
+ }
96
+
97
+ [data-theme="dark"] .xynolog-chip--selectable[data-selected="false"] {
98
+ background-color: var(--xynolog-bg-secondary);
99
+ color: var(--xynolog-color-gray-300);
100
+ border-color: var(--xynolog-color-gray-600);
101
+ }
102
+
103
+ .xynolog-chip--selectable[data-selected="false"]:hover {
104
+ background-color: var(--xynolog-bg-tertiary);
105
+ }
106
+
107
+ .xynolog-chip--selectable[data-selected="true"] {
108
+ background-color: rgba(59, 130, 246, 0.1);
109
+ color: var(--xynolog-color-blue-700);
110
+ border-color: var(--xynolog-color-blue-300);
111
+ }
112
+
113
+ [data-theme="dark"] .xynolog-chip--selectable[data-selected="true"] {
114
+ background-color: rgba(59, 130, 246, 0.3);
115
+ color: var(--xynolog-color-blue-300);
116
+ border-color: var(--xynolog-color-blue-700);
117
+ }
118
+
119
+ /* Panel Elements */
120
+ .xynolog-panel__divider {
121
+ border-top: 1px solid var(--xynolog-color-gray-200);
122
+ padding-top: 1rem;
123
+ margin-bottom: 1rem;
124
+ }
125
+
126
+ [data-theme="dark"] .xynolog-panel__divider {
127
+ border-color: var(--xynolog-color-gray-700);
128
+ }
129
+
130
+ .xynolog-panel__subtitle {
131
+ font-size: 0.875rem;
132
+ font-weight: 600;
133
+ color: var(--xynolog-color-gray-700);
134
+ }
135
+
136
+ [data-theme="dark"] .xynolog-panel__subtitle {
137
+ color: var(--xynolog-color-gray-300);
138
+ }
139
+
140
+ .xynolog-panel__loading-indicator {
141
+ margin-left: 0.5rem;
142
+ font-size: 0.75rem;
143
+ font-weight: normal;
144
+ color: var(--xynolog-color-gray-500);
145
+ }
146
+
147
+ [data-theme="dark"] .xynolog-panel__loading-indicator {
148
+ color: var(--xynolog-color-gray-400);
149
+ }
150
+
151
+ .xynolog-panel__list {
152
+ display: flex;
153
+ flex-direction: column;
154
+ gap: 0.5rem;
155
+ }
156
+
157
+ .xynolog-panel__empty-message {
158
+ color: var(--xynolog-color-gray-500);
159
+ font-size: 0.875rem;
160
+ }
161
+
162
+ [data-theme="dark"] .xynolog-panel__empty-message {
163
+ color: var(--xynolog-color-gray-400);
164
+ }
165
+
166
+ .xynolog-panel__empty-message--small {
167
+ font-size: 0.75rem;
168
+ }
169
+
170
+ /* ============================================
171
+ Reference Annotation Creation Prompt
172
+ ============================================ */
173
+
174
+ .xynolog-annotation-prompt[data-type="reference"] {
175
+ background: var(--xynolog-bg-secondary);
176
+ border: 2px solid var(--xynolog-color-blue-300);
177
+ border-radius: 0.5rem;
178
+ padding: 1rem;
179
+ margin-bottom: 1rem;
180
+ display: flex;
181
+ flex-direction: column;
182
+ gap: 1rem;
183
+ }
184
+
185
+ [data-theme="dark"] .xynolog-annotation-prompt[data-type="reference"] {
186
+ background: var(--xynolog-color-gray-800);
187
+ border-color: var(--xynolog-color-blue-600);
188
+ }
189
+
190
+ /* Quote display */
191
+ .xynolog-annotation-prompt__quote {
192
+ background: var(--xynolog-bg-primary);
193
+ border-left: 4px solid var(--xynolog-color-blue-500);
194
+ border-radius: 0.375rem;
195
+ padding: 0.75rem;
196
+ font-size: 0.875rem;
197
+ font-style: italic;
198
+ color: var(--xynolog-color-gray-700);
199
+ line-height: 1.5;
200
+ }
201
+
202
+ [data-theme="dark"] .xynolog-annotation-prompt__quote {
203
+ background: var(--xynolog-color-gray-700);
204
+ border-left-color: var(--xynolog-color-blue-400);
205
+ color: var(--xynolog-color-gray-200);
206
+ }
207
+
208
+ /* Tag selector container (not interactive - children are interactive) */
209
+ /* stylelint-disable-next-line xynolog/accessibility */
210
+ .xynolog-tag-selector {
211
+ display: flex;
212
+ flex-wrap: wrap;
213
+ gap: 0.5rem;
214
+ }
215
+
216
+ /* Tag selector items (entity type buttons) */
217
+ .xynolog-tag-selector__item {
218
+ padding: 0.375rem 0.875rem;
219
+ font-size: 0.875rem;
220
+ font-weight: 500;
221
+ border-radius: 9999px;
222
+ border: 1.5px solid;
223
+ cursor: pointer;
224
+ transition: all 0.15s ease;
225
+ background-color: var(--xynolog-bg-primary);
226
+ color: var(--xynolog-color-gray-700);
227
+ border-color: var(--xynolog-color-gray-300);
228
+ }
229
+
230
+ .xynolog-tag-selector__item:hover {
231
+ background-color: var(--xynolog-bg-tertiary);
232
+ border-color: var(--xynolog-color-gray-400);
233
+ }
234
+
235
+ .xynolog-tag-selector__item:focus-visible {
236
+ outline: 2px solid var(--xynolog-color-blue-500);
237
+ outline-offset: 2px;
238
+ }
239
+
240
+ .xynolog-tag-selector__item[data-selected="true"] {
241
+ background: linear-gradient(to right, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
242
+ color: var(--xynolog-color-blue-700);
243
+ border-color: var(--xynolog-color-blue-500);
244
+ font-weight: 600;
245
+ }
246
+
247
+ .xynolog-tag-selector__item[data-selected="true"]:hover {
248
+ background: linear-gradient(to right, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.25));
249
+ border-color: var(--xynolog-color-blue-600);
250
+ }
251
+
252
+ .xynolog-tag-selector__item[data-selected="true"]:focus-visible {
253
+ outline: 2px solid var(--xynolog-color-blue-600);
254
+ outline-offset: 2px;
255
+ }
256
+
257
+ [data-theme="dark"] .xynolog-tag-selector__item {
258
+ background-color: var(--xynolog-color-gray-700);
259
+ color: var(--xynolog-color-gray-300);
260
+ border-color: var(--xynolog-color-gray-600);
261
+ }
262
+
263
+ [data-theme="dark"] .xynolog-tag-selector__item:hover {
264
+ background-color: var(--xynolog-color-gray-600);
265
+ border-color: var(--xynolog-color-gray-500);
266
+ }
267
+
268
+ [data-theme="dark"] .xynolog-tag-selector__item:focus-visible {
269
+ outline: 2px solid var(--xynolog-color-blue-400);
270
+ outline-offset: 2px;
271
+ }
272
+
273
+ [data-theme="dark"] .xynolog-tag-selector__item[data-selected="true"] {
274
+ background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
275
+ color: var(--xynolog-color-blue-300);
276
+ border-color: var(--xynolog-color-blue-400);
277
+ }
278
+
279
+ [data-theme="dark"] .xynolog-tag-selector__item[data-selected="true"]:hover {
280
+ background: linear-gradient(to right, rgba(59, 130, 246, 0.4), rgba(37, 99, 235, 0.4));
281
+ border-color: var(--xynolog-color-blue-300);
282
+ }
283
+
284
+ [data-theme="dark"] .xynolog-tag-selector__item[data-selected="true"]:focus-visible {
285
+ outline: 2px solid var(--xynolog-color-blue-500);
286
+ outline-offset: 2px;
287
+ }
288
+
289
+ @media (prefers-contrast: more) {
290
+ .xynolog-tag-selector__item:focus-visible {
291
+ outline-width: 3px;
292
+ }
293
+ }
294
+
295
+ /* An incoming reference points AT this resource; the arrow direction is the
296
+ only thing distinguishing it from an outgoing one in the same list. */
297
+ .xynolog-reference-item--incoming {
298
+ border-left: 2px solid var(--xynolog-border-secondary);
299
+ padding-left: 0.5rem;
300
+ }
@@ -0,0 +1,129 @@
1
+ /**
2
+ * Branding Component
3
+ *
4
+ * Styles for the Xynolog branding display including logo and tagline
5
+ */
6
+
7
+ .xynolog-branding {
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ justify-content: center;
12
+ text-align: center;
13
+ }
14
+
15
+ .xynolog-branding-title {
16
+ font-family: 'Orbitron', var(--xynolog-font-sans);
17
+ font-weight: bold;
18
+ text-transform: uppercase;
19
+ letter-spacing: -0.025em;
20
+ line-height: 1;
21
+ margin-bottom: 1.5rem; /* mb-6 */
22
+ }
23
+
24
+ /* Remove margin when tagline is not shown */
25
+ .xynolog-branding:not(:has(.xynolog-branding-tagline)) .xynolog-branding-title {
26
+ margin-bottom: 0;
27
+ }
28
+
29
+ .xynolog-branding[data-size="sm"] .xynolog-branding-title {
30
+ font-size: 1.5rem;
31
+ }
32
+
33
+ .xynolog-branding[data-size="md"] .xynolog-branding-title {
34
+ font-size: 1.875rem;
35
+ }
36
+
37
+ .xynolog-branding[data-size="lg"] .xynolog-branding-title {
38
+ font-size: 2.25rem;
39
+ }
40
+
41
+ .xynolog-branding[data-size="xl"] .xynolog-branding-title {
42
+ font-size: 3rem;
43
+ }
44
+
45
+ @media (min-width: 640px) {
46
+ .xynolog-branding[data-size="sm"] .xynolog-branding-title { font-size: 1.875rem; }
47
+ .xynolog-branding[data-size="md"] .xynolog-branding-title { font-size: 2.25rem; }
48
+ .xynolog-branding[data-size="lg"] .xynolog-branding-title { font-size: 3rem; }
49
+ .xynolog-branding[data-size="xl"] .xynolog-branding-title { font-size: 3.75rem; }
50
+
51
+ /* Increase spacing on larger screens */
52
+ .xynolog-branding-title {
53
+ margin-bottom: 2rem; /* sm:mb-8 */
54
+ }
55
+
56
+ /* Remove margin when tagline is not shown (override for larger screens) */
57
+ .xynolog-branding:not(:has(.xynolog-branding-tagline)) .xynolog-branding-title {
58
+ margin-bottom: 0;
59
+ }
60
+ }
61
+
62
+ @media (min-width: 768px) {
63
+ .xynolog-branding[data-size="sm"] .xynolog-branding-title { font-size: 2.25rem; }
64
+ .xynolog-branding[data-size="md"] .xynolog-branding-title { font-size: 3rem; }
65
+ .xynolog-branding[data-size="lg"] .xynolog-branding-title { font-size: 3.75rem; }
66
+ .xynolog-branding[data-size="xl"] .xynolog-branding-title { font-size: 4.5rem; }
67
+ }
68
+
69
+ .xynolog-branding-text {
70
+ background: linear-gradient(to right, var(--xynolog-color-black), var(--xynolog-color-primary-600), var(--xynolog-color-black));
71
+ background-clip: text;
72
+ -webkit-text-fill-color: transparent;
73
+ }
74
+
75
+ [data-theme="dark"] .xynolog-branding-text {
76
+ background: linear-gradient(to right, var(--xynolog-color-white), var(--xynolog-color-primary-400), var(--xynolog-color-white));
77
+ background-clip: text;
78
+ -webkit-text-fill-color: transparent;
79
+ }
80
+
81
+ .xynolog-branding[data-animated="true"] .xynolog-branding-title {
82
+ animation: fadeInUp 1s ease-out;
83
+ }
84
+
85
+ .xynolog-branding-tagline {
86
+ color: var(--xynolog-color-primary-600);
87
+ font-family: 'Orbitron', var(--xynolog-font-sans);
88
+ letter-spacing: 0.025em;
89
+ }
90
+
91
+ [data-theme="dark"] .xynolog-branding-tagline {
92
+ color: var(--xynolog-color-primary-400);
93
+ }
94
+
95
+ .xynolog-branding[data-compact-tagline="true"] .xynolog-branding-tagline {
96
+ font-size: 0.75rem;
97
+ letter-spacing: 0.1em;
98
+ }
99
+
100
+ .xynolog-branding[data-size="sm"] .xynolog-branding-tagline {
101
+ font-size: 1.125rem;
102
+ }
103
+
104
+ .xynolog-branding[data-size="md"] .xynolog-branding-tagline {
105
+ font-size: 1.25rem;
106
+ }
107
+
108
+ .xynolog-branding[data-size="lg"] .xynolog-branding-tagline {
109
+ font-size: 1.25rem;
110
+ }
111
+
112
+ .xynolog-branding[data-size="xl"] .xynolog-branding-tagline {
113
+ font-size: 1.5rem;
114
+ }
115
+
116
+ .xynolog-branding[data-animated="true"] .xynolog-branding-tagline {
117
+ animation: fadeInUp 1s ease-out 0.3s both;
118
+ }
119
+
120
+ @keyframes fadeInUp {
121
+ from {
122
+ opacity: 0;
123
+ transform: translateY(1rem);
124
+ }
125
+ to {
126
+ opacity: 1;
127
+ transform: translateY(0);
128
+ }
129
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Error Patterns
3
+ *
4
+ * Styles for error states and error messages
5
+ */
6
+
7
+ /* Error States */
8
+ .xynolog-error-state {
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ justify-content: center;
13
+ padding: 5rem 0;
14
+ gap: 1rem;
15
+ }
16
+
17
+ .xynolog-error-message {
18
+ color: var(--xynolog-color-error);
19
+ font-size: var(--xynolog-text-base);
20
+ }
21
+
22
+ [data-theme="dark"] .xynolog-error-message {
23
+ color: var(--xynolog-color-error-light);
24
+ }
25
+
26
+ .xynolog-error-state-resource {
27
+ display: flex;
28
+ flex-direction: column;
29
+ align-items: center;
30
+ justify-content: center;
31
+ gap: 0.75rem;
32
+ padding: 3rem 1.5rem;
33
+ text-align: center;
34
+ }
@@ -0,0 +1,99 @@
1
+ /* ============================================
2
+ UnifiedHeader Component
3
+ ============================================ */
4
+
5
+ .xynolog-unified-header {
6
+ background: var(--xynolog-bg-primary);
7
+ border-bottom: 1px solid var(--xynolog-border-primary);
8
+ }
9
+
10
+ .xynolog-unified-header--floating {
11
+ position: sticky;
12
+ top: 0;
13
+ z-index: 50;
14
+ box-shadow: var(--xynolog-shadow-md);
15
+ }
16
+
17
+ [data-theme="dark"] .xynolog-unified-header--floating {
18
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
19
+ }
20
+
21
+ .xynolog-unified-header--standalone {
22
+ border-bottom: 1px solid var(--xynolog-color-gray-200);
23
+ }
24
+
25
+ [data-theme="dark"] .xynolog-unified-header--standalone {
26
+ border-bottom-color: var(--xynolog-color-gray-800);
27
+ }
28
+
29
+ .xynolog-unified-header__container {
30
+ max-width: 80rem;
31
+ margin: 0 auto;
32
+ padding: 0 1rem;
33
+ }
34
+
35
+ @media (min-width: 640px) {
36
+ .xynolog-unified-header__container {
37
+ padding: 0 1.5rem;
38
+ }
39
+ }
40
+
41
+ @media (min-width: 1024px) {
42
+ .xynolog-unified-header__container {
43
+ padding: 0 2rem;
44
+ }
45
+ }
46
+
47
+ .xynolog-unified-header__content {
48
+ display: flex;
49
+ height: 4rem;
50
+ align-items: center;
51
+ justify-content: space-between;
52
+ }
53
+
54
+ .xynolog-unified-header__branding-wrapper {
55
+ display: flex;
56
+ align-items: center;
57
+ }
58
+
59
+ .xynolog-unified-header__branding-button {
60
+ display: flex;
61
+ align-items: center;
62
+ gap: 0.75rem;
63
+ padding: 0.5rem 0.75rem;
64
+ border-radius: var(--xynolog-radius-lg);
65
+ transition: background var(--xynolog-duration-base);
66
+ text-decoration: none;
67
+ color: inherit;
68
+ }
69
+
70
+ .xynolog-unified-header__branding-button:hover {
71
+ background: var(--xynolog-bg-tertiary);
72
+ }
73
+
74
+ [data-theme="dark"] .xynolog-unified-header__branding-button {
75
+ color: var(--xynolog-text-primary);
76
+ }
77
+
78
+ .xynolog-unified-header__branding-button:focus-visible {
79
+ outline: 2px solid var(--xynolog-color-primary-500);
80
+ outline-offset: 2px;
81
+ }
82
+
83
+ [data-theme="dark"] .xynolog-unified-header__branding-button:focus-visible {
84
+ outline-color: var(--xynolog-color-primary-400);
85
+ }
86
+
87
+ .xynolog-unified-header__branding-button:focus:not(:focus-visible) {
88
+ outline: none;
89
+ }
90
+
91
+ .xynolog-unified-header__branding {
92
+ display: flex;
93
+ align-items: center;
94
+ gap: 0.5rem;
95
+ }
96
+
97
+ .xynolog-unified-header__dropdown {
98
+ margin-left: 2rem;
99
+ }