@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,276 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extended Focus Styles
|
|
3
|
+
*
|
|
4
|
+
* Additional focus indicators for specific component variants and states
|
|
5
|
+
* that extend beyond the base focus utilities.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* ========================================
|
|
9
|
+
Button Variants and States
|
|
10
|
+
======================================== */
|
|
11
|
+
|
|
12
|
+
.xynolog-button:focus-visible,
|
|
13
|
+
.xynolog-button[data-variant="primary"]:focus-visible,
|
|
14
|
+
.xynolog-button[data-variant="secondary"]:focus-visible,
|
|
15
|
+
.xynolog-button[data-variant="tertiary"]:focus-visible,
|
|
16
|
+
.xynolog-button[data-variant="danger"]:focus-visible,
|
|
17
|
+
.xynolog-button[data-variant="warning"]:focus-visible,
|
|
18
|
+
.xynolog-button[data-variant="ghost"]:focus-visible,
|
|
19
|
+
.xynolog-button[data-size="xs"]:focus-visible,
|
|
20
|
+
.xynolog-button[data-size="sm"]:focus-visible,
|
|
21
|
+
.xynolog-button[data-size="md"]:focus-visible,
|
|
22
|
+
.xynolog-button[data-size="lg"]:focus-visible,
|
|
23
|
+
.xynolog-button[data-size="xl"]:focus-visible,
|
|
24
|
+
.xynolog-button[data-icon-only="true"]:focus-visible,
|
|
25
|
+
.xynolog-button[data-full-width="true"]:focus-visible,
|
|
26
|
+
.xynolog-button--flex:focus-visible,
|
|
27
|
+
.xynolog-button-icon:focus-visible,
|
|
28
|
+
.xynolog-button-icon-left:focus-visible,
|
|
29
|
+
.xynolog-button-icon-right:focus-visible {
|
|
30
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
31
|
+
outline-offset: 2px;
|
|
32
|
+
position: relative;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-theme="dark"] .xynolog-button:focus-visible,
|
|
37
|
+
[data-theme="dark"] .xynolog-button[data-variant="primary"]:focus-visible,
|
|
38
|
+
[data-theme="dark"] .xynolog-button[data-variant="secondary"]:focus-visible,
|
|
39
|
+
[data-theme="dark"] .xynolog-button[data-variant="tertiary"]:focus-visible,
|
|
40
|
+
[data-theme="dark"] .xynolog-button[data-variant="danger"]:focus-visible,
|
|
41
|
+
[data-theme="dark"] .xynolog-button[data-variant="warning"]:focus-visible,
|
|
42
|
+
[data-theme="dark"] .xynolog-button[data-variant="ghost"]:focus-visible {
|
|
43
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.xynolog-button:focus:not(:focus-visible),
|
|
47
|
+
.xynolog-button[data-variant="primary"]:focus:not(:focus-visible),
|
|
48
|
+
.xynolog-button[data-variant="secondary"]:focus:not(:focus-visible),
|
|
49
|
+
.xynolog-button[data-variant="tertiary"]:focus:not(:focus-visible),
|
|
50
|
+
.xynolog-button[data-variant="danger"]:focus:not(:focus-visible),
|
|
51
|
+
.xynolog-button[data-variant="warning"]:focus:not(:focus-visible),
|
|
52
|
+
.xynolog-button[data-variant="ghost"]:focus:not(:focus-visible),
|
|
53
|
+
.xynolog-button[data-size="sm"]:focus:not(:focus-visible),
|
|
54
|
+
.xynolog-button[data-size="md"]:focus:not(:focus-visible),
|
|
55
|
+
.xynolog-button[data-size="lg"]:focus:not(:focus-visible),
|
|
56
|
+
.xynolog-button[data-full-width="true"]:focus:not(:focus-visible),
|
|
57
|
+
.xynolog-button[data-icon-only="true"]:focus:not(:focus-visible),
|
|
58
|
+
.xynolog-button--flex:focus:not(:focus-visible),
|
|
59
|
+
.xynolog-button-icon:focus:not(:focus-visible),
|
|
60
|
+
.xynolog-button-icon-left:focus:not(:focus-visible),
|
|
61
|
+
.xynolog-button-icon-right:focus:not(:focus-visible) {
|
|
62
|
+
outline: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* ========================================
|
|
66
|
+
Panel Components
|
|
67
|
+
======================================== */
|
|
68
|
+
|
|
69
|
+
.xynolog-panel-button:focus-visible,
|
|
70
|
+
.xynolog-panel-button-active:focus-visible {
|
|
71
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
72
|
+
outline-offset: 2px;
|
|
73
|
+
position: relative;
|
|
74
|
+
z-index: 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-theme="dark"] .xynolog-panel-button:focus-visible,
|
|
78
|
+
[data-theme="dark"] .xynolog-panel-button-active:focus-visible {
|
|
79
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.xynolog-panel-button:focus:not(:focus-visible),
|
|
83
|
+
.xynolog-panel-button-active:focus:not(:focus-visible) {
|
|
84
|
+
outline: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* ========================================
|
|
88
|
+
Chip Components
|
|
89
|
+
======================================== */
|
|
90
|
+
|
|
91
|
+
.xynolog-chip--selectable[data-selected="false"]:focus-visible,
|
|
92
|
+
.xynolog-chip--selectable[data-selected="true"]:focus-visible,
|
|
93
|
+
.xynolog-chip[data-selected="true"]:focus-visible,
|
|
94
|
+
.xynolog-chip[data-selected="false"]:focus-visible {
|
|
95
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
96
|
+
outline-offset: 2px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[data-theme="dark"] .xynolog-chip--selectable[data-selected="false"]:focus-visible,
|
|
100
|
+
[data-theme="dark"] .xynolog-chip--selectable[data-selected="true"]:focus-visible,
|
|
101
|
+
[data-theme="dark"] .xynolog-chip[data-selected="true"]:focus-visible,
|
|
102
|
+
[data-theme="dark"] .xynolog-chip[data-selected="false"]:focus-visible {
|
|
103
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* ========================================
|
|
107
|
+
Form Components
|
|
108
|
+
======================================== */
|
|
109
|
+
|
|
110
|
+
/* Base form inputs */
|
|
111
|
+
input:focus-visible,
|
|
112
|
+
textarea:focus-visible,
|
|
113
|
+
select:focus-visible,
|
|
114
|
+
input[type="number"]:focus-visible {
|
|
115
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
116
|
+
outline-offset: -1px;
|
|
117
|
+
border-color: var(--xynolog-color-primary-500);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[data-theme="dark"] input:focus-visible,
|
|
121
|
+
[data-theme="dark"] textarea:focus-visible,
|
|
122
|
+
[data-theme="dark"] select:focus-visible {
|
|
123
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
124
|
+
border-color: var(--xynolog-color-primary-400);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
input:focus:not(:focus-visible),
|
|
128
|
+
textarea:focus:not(:focus-visible),
|
|
129
|
+
select:focus:not(:focus-visible) {
|
|
130
|
+
outline: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Specific form inputs */
|
|
134
|
+
.xynolog-form__upload-input:focus-visible,
|
|
135
|
+
.xynolog-card__search-input:focus-visible {
|
|
136
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
137
|
+
outline-offset: -1px;
|
|
138
|
+
border-color: var(--xynolog-color-primary-500);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
[data-theme="dark"] .xynolog-form__upload-input:focus-visible,
|
|
142
|
+
[data-theme="dark"] .xynolog-card__search-input:focus-visible {
|
|
143
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
144
|
+
border-color: var(--xynolog-color-primary-400);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.xynolog-form__upload-input:focus:not(:focus-visible),
|
|
148
|
+
.xynolog-card__search-input:focus:not(:focus-visible) {
|
|
149
|
+
outline: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* Entity type button (selected state) */
|
|
153
|
+
.xynolog-form__entity-type-button[data-selected="true"]:focus-visible {
|
|
154
|
+
outline: 2px solid var(--xynolog-color-white);
|
|
155
|
+
outline-offset: 2px;
|
|
156
|
+
box-shadow: 0 0 0 4px var(--xynolog-color-primary-700);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[data-theme="dark"] .xynolog-form__entity-type-button[data-selected="true"]:focus-visible {
|
|
160
|
+
outline-color: var(--xynolog-color-white);
|
|
161
|
+
box-shadow: 0 0 0 4px var(--xynolog-color-primary-400);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* ========================================
|
|
165
|
+
Resource & Reference Components
|
|
166
|
+
======================================== */
|
|
167
|
+
|
|
168
|
+
.xynolog-resource-button:focus-visible,
|
|
169
|
+
.xynolog-resource-button--secondary:focus-visible,
|
|
170
|
+
.xynolog-resource-button--archive:focus-visible {
|
|
171
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
172
|
+
outline-offset: 2px;
|
|
173
|
+
position: relative;
|
|
174
|
+
z-index: 1;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
[data-theme="dark"] .xynolog-resource-button--secondary:focus-visible,
|
|
178
|
+
[data-theme="dark"] .xynolog-resource-button--archive:focus-visible {
|
|
179
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.xynolog-resource-button:focus:not(:focus-visible),
|
|
183
|
+
.xynolog-resource-button--secondary:focus:not(:focus-visible),
|
|
184
|
+
.xynolog-resource-button--archive:focus:not(:focus-visible) {
|
|
185
|
+
outline: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* ========================================
|
|
189
|
+
Toolbar Components
|
|
190
|
+
======================================== */
|
|
191
|
+
|
|
192
|
+
.xynolog-toolbar-button:focus-visible,
|
|
193
|
+
.xynolog-toolbar-menu-button:focus-visible,
|
|
194
|
+
.xynolog-toolbar-menu-button[data-selected="false"]:focus-visible,
|
|
195
|
+
.xynolog-toolbar-menu-button[data-selected="true"]:focus-visible,
|
|
196
|
+
.xynolog-toolbar-menu-button[data-delete="true"]:focus-visible,
|
|
197
|
+
.xynolog-toolbar-menu-button[data-delete="true"][data-selected="false"]:focus-visible,
|
|
198
|
+
.xynolog-toolbar-menu-button[data-delete="true"][data-selected="true"]:focus-visible {
|
|
199
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
200
|
+
outline-offset: 2px;
|
|
201
|
+
position: relative;
|
|
202
|
+
z-index: 1;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
[data-theme="dark"] .xynolog-toolbar-button:focus-visible,
|
|
206
|
+
[data-theme="dark"] .xynolog-toolbar-menu-button:focus-visible,
|
|
207
|
+
[data-theme="dark"] .xynolog-toolbar-menu-button[data-selected="false"]:focus-visible,
|
|
208
|
+
[data-theme="dark"] .xynolog-toolbar-menu-button[data-selected="true"]:focus-visible,
|
|
209
|
+
[data-theme="dark"] .xynolog-toolbar-menu-button[data-delete="true"]:focus-visible,
|
|
210
|
+
[data-theme="dark"] .xynolog-toolbar-menu-button[data-delete="true"][data-selected="false"]:focus-visible,
|
|
211
|
+
[data-theme="dark"] .xynolog-toolbar-menu-button[data-delete="true"][data-selected="true"]:focus-visible {
|
|
212
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.xynolog-toolbar-button:focus:not(:focus-visible),
|
|
216
|
+
.xynolog-toolbar-menu-button:focus:not(:focus-visible),
|
|
217
|
+
.xynolog-toolbar-menu-button[data-selected="true"]:focus:not(:focus-visible),
|
|
218
|
+
.xynolog-toolbar-menu-button[data-delete="true"]:focus:not(:focus-visible),
|
|
219
|
+
.xynolog-toolbar-menu-button[data-selected="false"]:focus:not(:focus-visible),
|
|
220
|
+
.xynolog-toolbar-menu-button[data-delete="true"][data-selected="false"]:focus:not(:focus-visible),
|
|
221
|
+
.xynolog-toolbar-menu-button[data-delete="true"][data-selected="true"]:focus:not(:focus-visible) {
|
|
222
|
+
outline: none;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* ========================================
|
|
226
|
+
Miscellaneous Components
|
|
227
|
+
======================================== */
|
|
228
|
+
|
|
229
|
+
/* Signout button */
|
|
230
|
+
.xynolog-signout-button:focus-visible {
|
|
231
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
232
|
+
outline-offset: 2px;
|
|
233
|
+
position: relative;
|
|
234
|
+
z-index: 1;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
[data-theme="dark"] .xynolog-signout-button:focus-visible {
|
|
238
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.xynolog-signout-button:focus:not(:focus-visible) {
|
|
242
|
+
outline: none;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* ========================================
|
|
246
|
+
High Contrast Mode Support
|
|
247
|
+
======================================== */
|
|
248
|
+
|
|
249
|
+
@media (prefers-contrast: more) {
|
|
250
|
+
/* All interactive elements get stronger focus indicators in high contrast mode */
|
|
251
|
+
.xynolog-button:focus-visible,
|
|
252
|
+
.xynolog-button[data-variant]:focus-visible,
|
|
253
|
+
.xynolog-button[data-size]:focus-visible,
|
|
254
|
+
.xynolog-button[data-icon-only]:focus-visible,
|
|
255
|
+
.xynolog-button[data-full-width]:focus-visible,
|
|
256
|
+
.xynolog-panel-button:focus-visible,
|
|
257
|
+
.xynolog-panel-button-active:focus-visible,
|
|
258
|
+
.xynolog-chip--selectable:focus-visible,
|
|
259
|
+
.xynolog-chip[data-selected]:focus-visible,
|
|
260
|
+
.xynolog-toolbar-button:focus-visible,
|
|
261
|
+
.xynolog-toolbar-menu-button:focus-visible,
|
|
262
|
+
.xynolog-resource-button:focus-visible,
|
|
263
|
+
.xynolog-signout-button:focus-visible,
|
|
264
|
+
input:focus-visible,
|
|
265
|
+
textarea:focus-visible,
|
|
266
|
+
select:focus-visible {
|
|
267
|
+
outline-width: 3px;
|
|
268
|
+
outline-color: currentColor;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* Ensure proper layering for all focus indicators */
|
|
273
|
+
*:focus-visible {
|
|
274
|
+
position: relative;
|
|
275
|
+
z-index: 1;
|
|
276
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* Focus Utilities - WCAG 2.1 AA Compliant */
|
|
2
|
+
/* Provides consistent focus indicators for keyboard navigation */
|
|
3
|
+
|
|
4
|
+
/* Global interactive element focus styles */
|
|
5
|
+
/* These apply to all standard interactive elements */
|
|
6
|
+
button:focus-visible,
|
|
7
|
+
a:focus-visible,
|
|
8
|
+
input:focus-visible,
|
|
9
|
+
textarea:focus-visible,
|
|
10
|
+
select:focus-visible,
|
|
11
|
+
[role="button"]:focus-visible,
|
|
12
|
+
[role="link"]:focus-visible,
|
|
13
|
+
[tabindex]:focus-visible {
|
|
14
|
+
outline: 2px solid var(--xynolog-color-primary-500);
|
|
15
|
+
outline-offset: 2px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-theme="dark"] button:focus-visible,
|
|
19
|
+
[data-theme="dark"] a:focus-visible,
|
|
20
|
+
[data-theme="dark"] input:focus-visible,
|
|
21
|
+
[data-theme="dark"] textarea:focus-visible,
|
|
22
|
+
[data-theme="dark"] select:focus-visible,
|
|
23
|
+
[data-theme="dark"] [role="button"]:focus-visible,
|
|
24
|
+
[data-theme="dark"] [role="link"]:focus-visible,
|
|
25
|
+
[data-theme="dark"] [tabindex]:focus-visible {
|
|
26
|
+
outline-color: var(--xynolog-color-primary-400);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Form fields need special handling */
|
|
30
|
+
input:focus-visible,
|
|
31
|
+
textarea:focus-visible,
|
|
32
|
+
select:focus-visible {
|
|
33
|
+
outline-offset: -1px;
|
|
34
|
+
border-color: var(--xynolog-color-primary-500);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-theme="dark"] input:focus-visible,
|
|
38
|
+
[data-theme="dark"] textarea:focus-visible,
|
|
39
|
+
[data-theme="dark"] select:focus-visible {
|
|
40
|
+
border-color: var(--xynolog-color-primary-400);
|
|
41
|
+
}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Motion Overrides for Accessibility
|
|
3
|
+
*
|
|
4
|
+
* This file applies prefers-reduced-motion overrides to all components
|
|
5
|
+
* that use animations or transitions, ensuring WCAG 2.1 compliance.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* ========================================
|
|
9
|
+
Global Reduced Motion Settings
|
|
10
|
+
======================================== */
|
|
11
|
+
|
|
12
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13
|
+
/* Remove ALL animations and transitions by default */
|
|
14
|
+
*,
|
|
15
|
+
*::before,
|
|
16
|
+
*::after {
|
|
17
|
+
animation-duration: 0.01ms !important;
|
|
18
|
+
animation-iteration-count: 1 !important;
|
|
19
|
+
transition-duration: 0.01ms !important;
|
|
20
|
+
scroll-behavior: auto !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* ========================================
|
|
24
|
+
Button Components
|
|
25
|
+
======================================== */
|
|
26
|
+
|
|
27
|
+
.xynolog-button,
|
|
28
|
+
.xynolog-button[data-variant],
|
|
29
|
+
.xynolog-button[data-size],
|
|
30
|
+
.xynolog-panel-button,
|
|
31
|
+
.xynolog-toolbar-button,
|
|
32
|
+
.xynolog-signout-button,
|
|
33
|
+
.xynolog-resource-button {
|
|
34
|
+
transition: none !important;
|
|
35
|
+
animation: none !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* ========================================
|
|
39
|
+
Loading & Spinner Components
|
|
40
|
+
======================================== */
|
|
41
|
+
|
|
42
|
+
.xynolog-spinner {
|
|
43
|
+
animation: none !important;
|
|
44
|
+
opacity: 0.6; /* Keep visible but static */
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Skeleton loading effects */
|
|
48
|
+
.xynolog-skeleton {
|
|
49
|
+
animation: none !important;
|
|
50
|
+
background: var(--xynolog-color-gray-200) !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-theme="dark"] .xynolog-skeleton {
|
|
54
|
+
background: var(--xynolog-color-gray-700) !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* ========================================
|
|
58
|
+
Toast & Notification Components
|
|
59
|
+
======================================== */
|
|
60
|
+
|
|
61
|
+
.xynolog-toast {
|
|
62
|
+
animation: none !important;
|
|
63
|
+
transition: opacity 0.01ms !important;
|
|
64
|
+
transform: none !important;
|
|
65
|
+
opacity: 1 !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* ========================================
|
|
69
|
+
Modal & Dialog Components
|
|
70
|
+
======================================== */
|
|
71
|
+
|
|
72
|
+
.xynolog-modal,
|
|
73
|
+
.xynolog-modal__backdrop,
|
|
74
|
+
.xynolog-modal__content {
|
|
75
|
+
animation: none !important;
|
|
76
|
+
transition: opacity 0.01ms !important;
|
|
77
|
+
transform: none !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* ========================================
|
|
81
|
+
Panel & Sidebar Components
|
|
82
|
+
======================================== */
|
|
83
|
+
|
|
84
|
+
.xynolog-panel,
|
|
85
|
+
.xynolog-panel__content {
|
|
86
|
+
transition: none !important;
|
|
87
|
+
animation: none !important;
|
|
88
|
+
transform: none !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ========================================
|
|
92
|
+
Dropdown & Select Components
|
|
93
|
+
======================================== */
|
|
94
|
+
|
|
95
|
+
.xynolog-dropdown {
|
|
96
|
+
transition: none !important;
|
|
97
|
+
animation: none !important;
|
|
98
|
+
transform: none !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* ========================================
|
|
102
|
+
Tab & Accordion Components
|
|
103
|
+
======================================== */
|
|
104
|
+
|
|
105
|
+
.xynolog-collapsible {
|
|
106
|
+
transition: none !important;
|
|
107
|
+
animation: none !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ========================================
|
|
111
|
+
Progress & Status Components
|
|
112
|
+
======================================== */
|
|
113
|
+
|
|
114
|
+
.xynolog-progress__fill {
|
|
115
|
+
transition: none !important;
|
|
116
|
+
animation: none !important;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* ========================================
|
|
120
|
+
Card & List Components
|
|
121
|
+
======================================== */
|
|
122
|
+
|
|
123
|
+
.xynolog-card {
|
|
124
|
+
transition: none !important;
|
|
125
|
+
transform: none !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* ========================================
|
|
129
|
+
Form Components
|
|
130
|
+
======================================== */
|
|
131
|
+
|
|
132
|
+
.xynolog-form__field,
|
|
133
|
+
.xynolog-input,
|
|
134
|
+
.xynolog-textarea,
|
|
135
|
+
.xynolog-checkbox,
|
|
136
|
+
.xynolog-toggle {
|
|
137
|
+
transition: none !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* ========================================
|
|
141
|
+
Annotation & Highlight Components
|
|
142
|
+
======================================== */
|
|
143
|
+
|
|
144
|
+
.xynolog-annotation,
|
|
145
|
+
.xynolog-annotation-entry {
|
|
146
|
+
transition: none !important;
|
|
147
|
+
animation: none !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* ========================================
|
|
151
|
+
Branding & Logo Components
|
|
152
|
+
======================================== */
|
|
153
|
+
|
|
154
|
+
.xynolog-brand {
|
|
155
|
+
animation: none !important;
|
|
156
|
+
transform: none !important;
|
|
157
|
+
opacity: 1 !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* ========================================
|
|
161
|
+
Resource Discovery Components
|
|
162
|
+
======================================== */
|
|
163
|
+
|
|
164
|
+
.xynolog-resource-card,
|
|
165
|
+
.xynolog-search-result {
|
|
166
|
+
transition: none !important;
|
|
167
|
+
animation: none !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* ========================================
|
|
171
|
+
Toolbar Components
|
|
172
|
+
======================================== */
|
|
173
|
+
|
|
174
|
+
.xynolog-toolbar-menu {
|
|
175
|
+
transition: none !important;
|
|
176
|
+
animation: none !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* ========================================
|
|
180
|
+
Specific Animation Overrides
|
|
181
|
+
======================================== */
|
|
182
|
+
|
|
183
|
+
/* Fade animations */
|
|
184
|
+
@keyframes fadeIn {
|
|
185
|
+
from, to { opacity: 1; }
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@keyframes fadeOut {
|
|
189
|
+
from, to { opacity: 0; }
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@keyframes fadeInUp {
|
|
193
|
+
from, to {
|
|
194
|
+
transform: none;
|
|
195
|
+
opacity: 1;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Slide animations */
|
|
200
|
+
@keyframes slideInUp {
|
|
201
|
+
from, to {
|
|
202
|
+
transform: none;
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@keyframes slideInDown {
|
|
208
|
+
from, to {
|
|
209
|
+
transform: none;
|
|
210
|
+
opacity: 1;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@keyframes slideInLeft {
|
|
215
|
+
from, to {
|
|
216
|
+
transform: none;
|
|
217
|
+
opacity: 1;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@keyframes slideInRight {
|
|
222
|
+
from, to {
|
|
223
|
+
transform: none;
|
|
224
|
+
opacity: 1;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@keyframes slideIn {
|
|
229
|
+
from, to {
|
|
230
|
+
transform: none;
|
|
231
|
+
opacity: 1;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@keyframes slideDown {
|
|
236
|
+
from, to {
|
|
237
|
+
transform: none;
|
|
238
|
+
opacity: 1;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* Scale animations */
|
|
243
|
+
@keyframes scaleIn {
|
|
244
|
+
from, to {
|
|
245
|
+
transform: none;
|
|
246
|
+
opacity: 1;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@keyframes scaleOut {
|
|
251
|
+
from, to {
|
|
252
|
+
transform: none;
|
|
253
|
+
opacity: 1;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* Spin animation - static */
|
|
258
|
+
@keyframes spin {
|
|
259
|
+
from, to { transform: none; }
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* Pulse animation - static */
|
|
263
|
+
@keyframes pulse {
|
|
264
|
+
from, to { transform: none; }
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* Shimmer animation - static */
|
|
268
|
+
@keyframes shimmer {
|
|
269
|
+
from, to { background-position: 0 0; }
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* Sparkle animation - static */
|
|
273
|
+
@keyframes sparkle {
|
|
274
|
+
from, to {
|
|
275
|
+
transform: none;
|
|
276
|
+
opacity: 1;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@keyframes xynolog-sparkle-infinite {
|
|
281
|
+
from, to {
|
|
282
|
+
transform: none;
|
|
283
|
+
opacity: 1;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|