@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.
- package/LICENSE +201 -0
- package/README.md +359 -2
- package/dist/PdfAnnotationCanvas.client-S64VRLUN.css +193 -0
- package/dist/PdfAnnotationCanvas.client-V7R4NXFO.js +799 -0
- package/dist/ar-AIV7P4FL.js +594 -0
- package/dist/bn-J2OR57PB.js +594 -0
- package/dist/chunk-4L3TYOIV.js +172 -0
- package/dist/chunk-BM76QBIO.js +594 -0
- package/dist/chunk-D2O46PZQ.js +240 -0
- package/dist/chunk-O23TLLXW.js +42 -0
- package/dist/chunk-WGTUIB6C.js +304 -0
- package/dist/cs-JNEAMHFB.js +594 -0
- package/dist/da-UY5ZRVTZ.js +594 -0
- package/dist/de-EETVXC42.js +594 -0
- package/dist/el-S5YKDMTL.js +594 -0
- package/dist/en-3YQWF45H.js +61 -0
- package/dist/es-GHA7S27R.js +594 -0
- package/dist/fa-JTR3GF6I.js +594 -0
- package/dist/fi-CQZ7BW57.js +594 -0
- package/dist/fr-OJH2WIY7.js +594 -0
- package/dist/he-2DBXWA2V.js +594 -0
- package/dist/hi-NZP7B55I.js +594 -0
- package/dist/id-4KXFKWOI.js +594 -0
- package/dist/index.css +4134 -0
- package/dist/index.d.ts +4040 -0
- package/dist/index.js +29638 -0
- package/dist/it-XBMYGKKY.js +594 -0
- package/dist/ja-OVHZS3EH.js +594 -0
- package/dist/ko-NW2MVM5L.js +594 -0
- package/dist/ms-RXLPBZLK.js +594 -0
- package/dist/nl-77CTBEDA.js +594 -0
- package/dist/no-RAPO56SE.js +594 -0
- package/dist/pl-XCFXZCTT.js +594 -0
- package/dist/pt-EMBE27IS.js +594 -0
- package/dist/ro-M7QLJBYN.js +594 -0
- package/dist/sv-ST6CITQY.js +594 -0
- package/dist/test-utils.css +112 -0
- package/dist/test-utils.d.ts +126 -0
- package/dist/test-utils.js +13119 -0
- package/dist/th-EEQGL3G7.js +594 -0
- package/dist/tr-5FYHZQKD.js +594 -0
- package/dist/uk-VTWDC467.js +594 -0
- package/dist/vi-ISBKJ66X.js +594 -0
- package/dist/zh-2AW2N66Z.js +594 -0
- package/package.json +132 -4
- package/src/components/ProtectedErrorBoundary.css +121 -0
- package/src/components/SessionExpiryBanner.css +67 -0
- package/src/components/StatusDisplay.css +439 -0
- package/src/components/Toast.css +136 -0
- package/src/components/annotation/annotation-entries.css +138 -0
- package/src/components/annotation/annotations.css +93 -0
- package/src/components/annotation/references.css +300 -0
- package/src/components/branding/Branding.css +129 -0
- package/src/components/error-states/errors.css +34 -0
- package/src/components/layout/Header.css +99 -0
- package/src/components/layout/LeftSidebar.css +115 -0
- package/src/components/layout/ResizeHandle.css +110 -0
- package/src/components/layout/SkipLinks.css +84 -0
- package/src/components/loading-states/loading.css +42 -0
- package/src/components/modals/SearchModal.css +1019 -0
- package/src/components/modals/modals.css +655 -0
- package/src/components/navigation/CollapsibleResourceNavigation.css +10 -0
- package/src/components/navigation/NavigationMenu.css +59 -0
- package/src/components/navigation/NavigationTabs.css +466 -0
- package/src/components/navigation/SimpleNavigation.css +9 -0
- package/src/components/pdf-annotation/PdfAnnotationCanvas.css +288 -0
- package/src/components/resource/panels/CollaborationPanel.css +184 -0
- package/src/components/resource/panels/DelegateSection.css +330 -0
- package/src/components/resource/panels/JsonLdPanel.css +37 -0
- package/src/components/resource/panels/ReferencesPanel.css +108 -0
- package/src/components/resource/panels/ResourceInfoPanel.css +183 -0
- package/src/components/resource/panels/StatisticsPanel.css +127 -0
- package/src/components/resource/panels/UnifiedAnnotationsPanel.css +129 -0
- package/src/components/settings/SettingsPanel.css +92 -0
- package/src/components/toolbar/Toolbar.css +245 -0
- package/src/features/auth/auth.css +120 -0
- package/src/styles/base/reset.css +105 -0
- package/src/styles/base/utilities.css +35 -0
- package/src/styles/core/badges.css +17 -0
- package/src/styles/core/buttons.css +772 -0
- package/src/styles/core/checkboxes.css +85 -0
- package/src/styles/core/forms.css +237 -0
- package/src/styles/core/index.css +43 -0
- package/src/styles/core/indicators.css +24 -0
- package/src/styles/core/inputs.css +164 -0
- package/src/styles/core/progress.css +85 -0
- package/src/styles/core/selects.css +119 -0
- package/src/styles/core/sliders.css +180 -0
- package/src/styles/core/tags.css +86 -0
- package/src/styles/core/textareas.css +104 -0
- package/src/styles/core/toggles.css +82 -0
- package/src/styles/features/compose.css +341 -0
- package/src/styles/features/entity-tags.css +140 -0
- package/src/styles/features/recent-docs.css +97 -0
- package/src/styles/features/resource-discovery.css +349 -0
- package/src/styles/features/resource-viewer.css +609 -0
- package/src/styles/features/resource.css +483 -0
- package/src/styles/features/schemas.css +222 -0
- package/src/styles/index.css +84 -0
- package/src/styles/layout/layout.css +28 -0
- package/src/styles/motivations/motivation-assessment.css +179 -0
- package/src/styles/motivations/motivation-comment.css +164 -0
- package/src/styles/motivations/motivation-highlight.css +132 -0
- package/src/styles/motivations/motivation-reference.css +167 -0
- package/src/styles/motivations/motivation-tag.css +182 -0
- package/src/styles/panels/history-panel.css +212 -0
- package/src/styles/panels/user-panel.css +21 -0
- package/src/styles/patterns/cards.css +26 -0
- package/src/styles/patterns/panel-helpers.css +32 -0
- package/src/styles/patterns/panels-base.css +272 -0
- package/src/styles/utilities/contrast.css +280 -0
- package/src/styles/utilities/focus-extended.css +276 -0
- package/src/styles/utilities/focus.css +41 -0
- package/src/styles/utilities/motion-overrides.css +286 -0
- package/src/styles/utilities/motion.css +184 -0
- package/src/styles/utilities/semantic-indicators.css +254 -0
- package/src/styles/variables.css +410 -0
- package/translations/ar.json +534 -0
- package/translations/bn.json +534 -0
- package/translations/cs.json +534 -0
- package/translations/da.json +534 -0
- package/translations/de.json +534 -0
- package/translations/el.json +534 -0
- package/translations/en.json +534 -0
- package/translations/es.json +534 -0
- package/translations/fa.json +534 -0
- package/translations/fi.json +534 -0
- package/translations/fr.json +534 -0
- package/translations/he.json +534 -0
- package/translations/hi.json +534 -0
- package/translations/id.json +534 -0
- package/translations/it.json +534 -0
- package/translations/ja.json +534 -0
- package/translations/ko.json +534 -0
- package/translations/ms.json +534 -0
- package/translations/nl.json +534 -0
- package/translations/no.json +534 -0
- package/translations/pl.json +534 -0
- package/translations/pt.json +534 -0
- package/translations/ro.json +534 -0
- package/translations/sv.json +534 -0
- package/translations/th.json +534 -0
- package/translations/tr.json +534 -0
- package/translations/uk.json +534 -0
- package/translations/vi.json +534 -0
- package/translations/zh.json +534 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CSS Reset / Normalize
|
|
3
|
+
*
|
|
4
|
+
* Minimal reset to ensure consistent cross-browser rendering
|
|
5
|
+
* while maintaining semantic HTML defaults
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Box sizing */
|
|
9
|
+
*,
|
|
10
|
+
*::before,
|
|
11
|
+
*::after {
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Remove default margins and paddings */
|
|
16
|
+
html,
|
|
17
|
+
body,
|
|
18
|
+
div,
|
|
19
|
+
span,
|
|
20
|
+
h1, h2, h3, h4, h5, h6,
|
|
21
|
+
p,
|
|
22
|
+
a,
|
|
23
|
+
img,
|
|
24
|
+
ul, ol, li,
|
|
25
|
+
table, tbody, tfoot, thead, tr, th, td,
|
|
26
|
+
article, aside, footer, header, nav, section {
|
|
27
|
+
margin: 0;
|
|
28
|
+
padding: 0;
|
|
29
|
+
border: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Set default font */
|
|
33
|
+
body {
|
|
34
|
+
font-family: var(--xynolog-font-sans);
|
|
35
|
+
line-height: 1.5;
|
|
36
|
+
color: var(--xynolog-text-primary);
|
|
37
|
+
background-color: var(--xynolog-bg-primary);
|
|
38
|
+
-webkit-font-smoothing: antialiased;
|
|
39
|
+
-moz-osx-font-smoothing: grayscale;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Remove list styles */
|
|
43
|
+
ul,
|
|
44
|
+
ol {
|
|
45
|
+
list-style: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Remove default table spacing */
|
|
49
|
+
table {
|
|
50
|
+
border-collapse: collapse;
|
|
51
|
+
border-spacing: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Make images responsive by default */
|
|
55
|
+
img {
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
height: auto;
|
|
58
|
+
display: block;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Reset button styles */
|
|
62
|
+
button {
|
|
63
|
+
background: none;
|
|
64
|
+
border: none;
|
|
65
|
+
padding: 0;
|
|
66
|
+
font: inherit;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
outline: inherit;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Reset link styles */
|
|
72
|
+
a {
|
|
73
|
+
color: inherit;
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Form elements */
|
|
78
|
+
input,
|
|
79
|
+
textarea,
|
|
80
|
+
select {
|
|
81
|
+
font: inherit;
|
|
82
|
+
color: inherit;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Remove spinner from number inputs */
|
|
86
|
+
input[type="number"]::-webkit-inner-spin-button,
|
|
87
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
88
|
+
appearance: none;
|
|
89
|
+
margin: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
input[type="number"] {
|
|
93
|
+
appearance: textfield;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Focus visible for accessibility */
|
|
97
|
+
:focus-visible {
|
|
98
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
99
|
+
outline-offset: 2px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Remove focus outline for mouse users */
|
|
103
|
+
:focus:not(:focus-visible) {
|
|
104
|
+
outline: none;
|
|
105
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility Classes
|
|
3
|
+
*
|
|
4
|
+
* The two text sizes markup renders, and the screen-reader-only class
|
|
5
|
+
* These are semantic utilities, not Tailwind-style atomics
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* ============================================
|
|
9
|
+
Text Utilities
|
|
10
|
+
============================================ */
|
|
11
|
+
|
|
12
|
+
/* Font Sizes */
|
|
13
|
+
.xynolog-text-xs {
|
|
14
|
+
font-size: var(--xynolog-text-xs);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.xynolog-text-sm {
|
|
18
|
+
font-size: var(--xynolog-text-sm);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* ============================================
|
|
22
|
+
Screen Reader Only
|
|
23
|
+
============================================ */
|
|
24
|
+
|
|
25
|
+
.xynolog-sr-only {
|
|
26
|
+
position: absolute;
|
|
27
|
+
width: 1px;
|
|
28
|
+
height: 1px;
|
|
29
|
+
padding: 0;
|
|
30
|
+
margin: -1px;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
clip: rect(0, 0, 0, 0);
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
border-width: 0;
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* ============================================
|
|
2
|
+
Badges
|
|
3
|
+
|
|
4
|
+
Holds a `pulse` keyframes rule only; there are no badge classes.
|
|
5
|
+
============================================ */
|
|
6
|
+
|
|
7
|
+
@keyframes pulse {
|
|
8
|
+
0% {
|
|
9
|
+
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
|
|
10
|
+
}
|
|
11
|
+
70% {
|
|
12
|
+
box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
|
|
13
|
+
}
|
|
14
|
+
100% {
|
|
15
|
+
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
|
|
16
|
+
}
|
|
17
|
+
}
|