@semiont/react-ui 0.2.30 → 0.2.31

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/README.md +34 -1
  2. package/dist/{ar-TQSFB35U.mjs → ar-6QTTYSKD.mjs} +44 -2
  3. package/dist/ar-6QTTYSKD.mjs.map +1 -0
  4. package/dist/{bn-525U24T3.mjs → bn-AHD2VP4T.mjs} +44 -2
  5. package/dist/bn-AHD2VP4T.mjs.map +1 -0
  6. package/dist/{chunk-BHAP6MVA.mjs → chunk-GDEHLKCO.mjs} +44 -2
  7. package/dist/chunk-GDEHLKCO.mjs.map +1 -0
  8. package/dist/{chunk-W6E2UESX.mjs → chunk-WHI4ECK4.mjs} +89 -47
  9. package/dist/chunk-WHI4ECK4.mjs.map +1 -0
  10. package/dist/{cs-OYWTGLFM.mjs → cs-WKZ5PTM3.mjs} +44 -2
  11. package/dist/cs-WKZ5PTM3.mjs.map +1 -0
  12. package/dist/{da-BDXG2ITK.mjs → da-JLWQLEH2.mjs} +44 -2
  13. package/dist/da-JLWQLEH2.mjs.map +1 -0
  14. package/dist/{de-NB5JLMES.mjs → de-TOCT63PC.mjs} +44 -2
  15. package/dist/de-TOCT63PC.mjs.map +1 -0
  16. package/dist/{el-3SVXEAJI.mjs → el-2XXDPBHO.mjs} +44 -2
  17. package/dist/el-2XXDPBHO.mjs.map +1 -0
  18. package/dist/{en-DVB4OE2R.mjs → en-OAKDUA6C.mjs} +10 -2
  19. package/dist/{es-YBOFA3W5.mjs → es-VQZSZSKB.mjs} +44 -2
  20. package/dist/es-VQZSZSKB.mjs.map +1 -0
  21. package/dist/{fa-7MU36AMY.mjs → fa-HFYV6XFA.mjs} +44 -2
  22. package/dist/fa-HFYV6XFA.mjs.map +1 -0
  23. package/dist/{fi-PQKJB32G.mjs → fi-GYTT42QN.mjs} +44 -2
  24. package/dist/fi-GYTT42QN.mjs.map +1 -0
  25. package/dist/{fr-U4HK5GM6.mjs → fr-RBOM5A35.mjs} +44 -2
  26. package/dist/fr-RBOM5A35.mjs.map +1 -0
  27. package/dist/{he-F5MNZHAL.mjs → he-KNB7K2AV.mjs} +44 -2
  28. package/dist/he-KNB7K2AV.mjs.map +1 -0
  29. package/dist/{hi-2PHI37ZX.mjs → hi-QJ6E72XH.mjs} +44 -2
  30. package/dist/hi-QJ6E72XH.mjs.map +1 -0
  31. package/dist/{id-JPRBNCGS.mjs → id-EKQVDHC7.mjs} +44 -2
  32. package/dist/id-EKQVDHC7.mjs.map +1 -0
  33. package/dist/index.d.mts +775 -127
  34. package/dist/index.mjs +8786 -2892
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/{it-MRLWI5OS.mjs → it-43QKJZRF.mjs} +44 -2
  37. package/dist/it-43QKJZRF.mjs.map +1 -0
  38. package/dist/{ja-YQ6RPI2T.mjs → ja-SZUXDDO5.mjs} +44 -2
  39. package/dist/ja-SZUXDDO5.mjs.map +1 -0
  40. package/dist/{ko-DUAVCEXX.mjs → ko-HIR2TG2Q.mjs} +44 -2
  41. package/dist/ko-HIR2TG2Q.mjs.map +1 -0
  42. package/dist/{ms-FBHSR4PG.mjs → ms-6EJXSDHO.mjs} +44 -2
  43. package/dist/ms-6EJXSDHO.mjs.map +1 -0
  44. package/dist/{nl-IC2MPZXN.mjs → nl-AAAXD3KD.mjs} +44 -2
  45. package/dist/nl-AAAXD3KD.mjs.map +1 -0
  46. package/dist/{no-LLD43NRM.mjs → no-CEBS75VU.mjs} +44 -2
  47. package/dist/no-CEBS75VU.mjs.map +1 -0
  48. package/dist/{pl-DDOJBR4D.mjs → pl-SIB6PH3I.mjs} +44 -2
  49. package/dist/pl-SIB6PH3I.mjs.map +1 -0
  50. package/dist/{pt-7TFHQRRN.mjs → pt-6BMNSQTQ.mjs} +44 -2
  51. package/dist/pt-6BMNSQTQ.mjs.map +1 -0
  52. package/dist/{ro-P4PJEGDU.mjs → ro-63CZRSZ7.mjs} +44 -2
  53. package/dist/ro-63CZRSZ7.mjs.map +1 -0
  54. package/dist/{sv-LF3VEQD2.mjs → sv-BRAAQGIC.mjs} +44 -2
  55. package/dist/sv-BRAAQGIC.mjs.map +1 -0
  56. package/dist/test-utils.mjs +2 -2
  57. package/dist/{th-YUQAOFXF.mjs → th-DQEDBNDR.mjs} +44 -2
  58. package/dist/th-DQEDBNDR.mjs.map +1 -0
  59. package/dist/{tr-CSIGLMJC.mjs → tr-IR5MEUEU.mjs} +44 -2
  60. package/dist/tr-IR5MEUEU.mjs.map +1 -0
  61. package/dist/{uk-LW3QBKSR.mjs → uk-BVRTOFAO.mjs} +44 -2
  62. package/dist/uk-BVRTOFAO.mjs.map +1 -0
  63. package/dist/{vi-W464Y6ZC.mjs → vi-QRBKNVJA.mjs} +44 -2
  64. package/dist/vi-QRBKNVJA.mjs.map +1 -0
  65. package/dist/{zh-R5XLM3EI.mjs → zh-VQVBROMT.mjs} +44 -2
  66. package/dist/zh-VQVBROMT.mjs.map +1 -0
  67. package/package.json +44 -6
  68. package/public/favicons/android-chrome-192x192.png +0 -0
  69. package/public/favicons/android-chrome-512x512.png +0 -0
  70. package/public/favicons/apple-touch-icon.png +0 -0
  71. package/public/favicons/favicon-128x128.png +0 -0
  72. package/public/favicons/favicon-16x16.png +0 -0
  73. package/public/favicons/favicon-32x32.png +0 -0
  74. package/public/favicons/favicon-48x48.png +0 -0
  75. package/public/favicons/favicon-64x64.png +0 -0
  76. package/public/favicons/favicon-96x96.png +0 -0
  77. package/public/favicons/favicon.ico +0 -0
  78. package/public/favicons/favicon.svg +47 -0
  79. package/public/favicons/site.webmanifest +19 -0
  80. package/src/examples/ButtonUsageExample.tsx +242 -0
  81. package/src/examples/button-css-modules.module.css +164 -0
  82. package/src/examples/button-styled-components.tsx +215 -0
  83. package/src/examples/button-tailwind.css +51 -0
  84. package/src/integrations/css-modules-helper.tsx +223 -0
  85. package/src/integrations/styled-components-theme.ts +405 -0
  86. package/src/integrations/tailwind-plugin.js +224 -0
  87. package/src/styles/base/reset.css +105 -0
  88. package/src/styles/base/utilities.css +465 -0
  89. package/src/styles/components/annotation-entries.css +138 -0
  90. package/src/styles/components/annotations.css +51 -0
  91. package/src/styles/components/auth.css +309 -0
  92. package/src/styles/components/branding.css +131 -0
  93. package/src/styles/components/cards.css +136 -0
  94. package/src/styles/components/collapsible-resource-navigation.css +161 -0
  95. package/src/styles/components/detection-widget.css +499 -0
  96. package/src/styles/components/footer.css +98 -0
  97. package/src/styles/components/header.css +109 -0
  98. package/src/styles/components/left-sidebar.css +138 -0
  99. package/src/styles/components/modals.css +672 -0
  100. package/src/styles/components/navigation-menu.css +59 -0
  101. package/src/styles/components/navigation-tabs.css +474 -0
  102. package/src/styles/components/panel-sections.css +440 -0
  103. package/src/styles/components/panels-base.css +404 -0
  104. package/src/styles/components/panels.css +100 -0
  105. package/src/styles/components/references.css +430 -0
  106. package/src/styles/components/resize-handle.css +110 -0
  107. package/src/styles/components/search-modal.css +463 -0
  108. package/src/styles/components/skip-links.css +101 -0
  109. package/src/styles/components/status-display.css +409 -0
  110. package/src/styles/components/tables.css +199 -0
  111. package/src/styles/components/toast.css +130 -0
  112. package/src/styles/components/toolbar.css +201 -0
  113. package/src/styles/core/badges.css +209 -0
  114. package/src/styles/core/buttons.css +781 -0
  115. package/src/styles/core/checkboxes.css +92 -0
  116. package/src/styles/core/forms.css +254 -0
  117. package/src/styles/core/index.css +43 -0
  118. package/src/styles/core/indicators.css +225 -0
  119. package/src/styles/core/inputs.css +117 -0
  120. package/src/styles/core/progress.css +170 -0
  121. package/src/styles/core/selects.css +135 -0
  122. package/src/styles/core/sliders.css +236 -0
  123. package/src/styles/core/tags.css +203 -0
  124. package/src/styles/core/textareas.css +134 -0
  125. package/src/styles/core/toggles.css +86 -0
  126. package/src/styles/features/admin.css +293 -0
  127. package/src/styles/features/compose.css +192 -0
  128. package/src/styles/features/devops.css +154 -0
  129. package/src/styles/features/entity-tags.css +140 -0
  130. package/src/styles/features/recent-docs.css +97 -0
  131. package/src/styles/features/resource-discovery.css +387 -0
  132. package/src/styles/features/resource-viewer.css +508 -0
  133. package/src/styles/features/resource.css +506 -0
  134. package/src/styles/features/schemas.css +222 -0
  135. package/src/styles/features/static-pages.css +589 -0
  136. package/src/styles/features/welcome.css +81 -0
  137. package/src/styles/index.css +93 -0
  138. package/src/styles/layout/layout.css +85 -0
  139. package/src/styles/motivations/motivation-assessment.css +234 -0
  140. package/src/styles/motivations/motivation-comment.css +245 -0
  141. package/src/styles/motivations/motivation-highlight.css +195 -0
  142. package/src/styles/motivations/motivation-reference.css +210 -0
  143. package/src/styles/motivations/motivation-tag.css +254 -0
  144. package/src/styles/panels/assessment-panel.css +91 -0
  145. package/src/styles/panels/collaboration-panel.css +222 -0
  146. package/src/styles/panels/comments-panel.css +130 -0
  147. package/src/styles/panels/highlight-panel.css +63 -0
  148. package/src/styles/panels/history-panel.css +301 -0
  149. package/src/styles/panels/jsonld-panel.css +41 -0
  150. package/src/styles/panels/references-panel.css +85 -0
  151. package/src/styles/panels/resource-info-panel.css +230 -0
  152. package/src/styles/panels/settings-panel.css +58 -0
  153. package/src/styles/panels/statistics-panel.css +147 -0
  154. package/src/styles/panels/tagging-panel.css +59 -0
  155. package/src/styles/panels/unified-annotations-panel.css +133 -0
  156. package/src/styles/panels/user-panel.css +24 -0
  157. package/src/styles/patterns/errors.css +24 -0
  158. package/src/styles/patterns/loading.css +26 -0
  159. package/src/styles/utilities/contrast.css +443 -0
  160. package/src/styles/utilities/focus-extended.css +539 -0
  161. package/src/styles/utilities/focus.css +108 -0
  162. package/src/styles/utilities/motion-overrides.css +378 -0
  163. package/src/styles/utilities/motion.css +370 -0
  164. package/src/styles/utilities/semantic-indicators.css +321 -0
  165. package/src/styles/variables.css +354 -0
  166. package/translations/ar.json +35 -1
  167. package/translations/bn.json +35 -1
  168. package/translations/cs.json +35 -1
  169. package/translations/da.json +35 -1
  170. package/translations/de.json +35 -1
  171. package/translations/el.json +35 -1
  172. package/translations/en.json +35 -1
  173. package/translations/es.json +35 -1
  174. package/translations/fa.json +35 -1
  175. package/translations/fi.json +35 -1
  176. package/translations/fr.json +35 -1
  177. package/translations/he.json +35 -1
  178. package/translations/hi.json +35 -1
  179. package/translations/id.json +35 -1
  180. package/translations/it.json +35 -1
  181. package/translations/ja.json +35 -1
  182. package/translations/ko.json +35 -1
  183. package/translations/ms.json +35 -1
  184. package/translations/nl.json +35 -1
  185. package/translations/no.json +35 -1
  186. package/translations/pl.json +35 -1
  187. package/translations/pt.json +35 -1
  188. package/translations/ro.json +35 -1
  189. package/translations/sv.json +35 -1
  190. package/translations/th.json +35 -1
  191. package/translations/tr.json +35 -1
  192. package/translations/uk.json +35 -1
  193. package/translations/vi.json +35 -1
  194. package/translations/zh.json +35 -1
  195. package/dist/ar-TQSFB35U.mjs.map +0 -1
  196. package/dist/bn-525U24T3.mjs.map +0 -1
  197. package/dist/chunk-BHAP6MVA.mjs.map +0 -1
  198. package/dist/chunk-W6E2UESX.mjs.map +0 -1
  199. package/dist/cs-OYWTGLFM.mjs.map +0 -1
  200. package/dist/da-BDXG2ITK.mjs.map +0 -1
  201. package/dist/de-NB5JLMES.mjs.map +0 -1
  202. package/dist/el-3SVXEAJI.mjs.map +0 -1
  203. package/dist/es-YBOFA3W5.mjs.map +0 -1
  204. package/dist/fa-7MU36AMY.mjs.map +0 -1
  205. package/dist/fi-PQKJB32G.mjs.map +0 -1
  206. package/dist/fr-U4HK5GM6.mjs.map +0 -1
  207. package/dist/he-F5MNZHAL.mjs.map +0 -1
  208. package/dist/hi-2PHI37ZX.mjs.map +0 -1
  209. package/dist/id-JPRBNCGS.mjs.map +0 -1
  210. package/dist/it-MRLWI5OS.mjs.map +0 -1
  211. package/dist/ja-YQ6RPI2T.mjs.map +0 -1
  212. package/dist/ko-DUAVCEXX.mjs.map +0 -1
  213. package/dist/ms-FBHSR4PG.mjs.map +0 -1
  214. package/dist/nl-IC2MPZXN.mjs.map +0 -1
  215. package/dist/no-LLD43NRM.mjs.map +0 -1
  216. package/dist/pl-DDOJBR4D.mjs.map +0 -1
  217. package/dist/pt-7TFHQRRN.mjs.map +0 -1
  218. package/dist/ro-P4PJEGDU.mjs.map +0 -1
  219. package/dist/sv-LF3VEQD2.mjs.map +0 -1
  220. package/dist/th-YUQAOFXF.mjs.map +0 -1
  221. package/dist/tr-CSIGLMJC.mjs.map +0 -1
  222. package/dist/uk-LW3QBKSR.mjs.map +0 -1
  223. package/dist/vi-W464Y6ZC.mjs.map +0 -1
  224. package/dist/zh-R5XLM3EI.mjs.map +0 -1
  225. /package/dist/{en-DVB4OE2R.mjs.map → en-OAKDUA6C.mjs.map} +0 -0
@@ -0,0 +1,465 @@
1
+ /**
2
+ * Utility Classes
3
+ *
4
+ * Common utility classes for layout, spacing, and display
5
+ * These are semantic utilities, not Tailwind-style atomics
6
+ */
7
+
8
+ /* ============================================
9
+ Display Utilities
10
+ ============================================ */
11
+
12
+ .semiont-hidden {
13
+ display: none !important;
14
+ }
15
+
16
+ .semiont-block {
17
+ display: block;
18
+ }
19
+
20
+ .semiont-inline-block {
21
+ display: inline-block;
22
+ }
23
+
24
+ .semiont-flex {
25
+ display: flex;
26
+ }
27
+
28
+ .semiont-inline-flex {
29
+ display: inline-flex;
30
+ }
31
+
32
+ .semiont-grid {
33
+ display: grid;
34
+ }
35
+
36
+ /* ============================================
37
+ Flexbox Utilities
38
+ ============================================ */
39
+
40
+ .semiont-flex-row {
41
+ flex-direction: row;
42
+ }
43
+
44
+ .semiont-flex-col {
45
+ flex-direction: column;
46
+ }
47
+
48
+ .semiont-flex-wrap {
49
+ flex-wrap: wrap;
50
+ }
51
+
52
+ .semiont-flex-nowrap {
53
+ flex-wrap: nowrap;
54
+ }
55
+
56
+ .semiont-flex-grow {
57
+ flex: 1;
58
+ }
59
+
60
+ .semiont-flex-shrink-0 {
61
+ flex-shrink: 0;
62
+ }
63
+
64
+ /* Alignment */
65
+ .semiont-items-start {
66
+ align-items: flex-start;
67
+ }
68
+
69
+ .semiont-items-center {
70
+ align-items: center;
71
+ }
72
+
73
+ .semiont-items-end {
74
+ align-items: flex-end;
75
+ }
76
+
77
+ .semiont-justify-start {
78
+ justify-content: flex-start;
79
+ }
80
+
81
+ .semiont-justify-center {
82
+ justify-content: center;
83
+ }
84
+
85
+ .semiont-justify-end {
86
+ justify-content: flex-end;
87
+ }
88
+
89
+ .semiont-justify-between {
90
+ justify-content: space-between;
91
+ }
92
+
93
+ .semiont-justify-around {
94
+ justify-content: space-around;
95
+ }
96
+
97
+ /* ============================================
98
+ Spacing Utilities
99
+ ============================================ */
100
+
101
+ /* Margin */
102
+ .semiont-m-auto {
103
+ margin: auto;
104
+ }
105
+
106
+ .semiont-mx-auto {
107
+ margin-left: auto;
108
+ margin-right: auto;
109
+ }
110
+
111
+ .semiont-my-auto {
112
+ margin-top: auto;
113
+ margin-bottom: auto;
114
+ }
115
+
116
+ /* Gaps */
117
+ .semiont-gap-xs {
118
+ gap: var(--semiont-spacing-xs);
119
+ }
120
+
121
+ .semiont-gap-sm {
122
+ gap: var(--semiont-spacing-sm);
123
+ }
124
+
125
+ .semiont-gap-md {
126
+ gap: var(--semiont-spacing-md);
127
+ }
128
+
129
+ .semiont-gap-lg {
130
+ gap: var(--semiont-spacing-lg);
131
+ }
132
+
133
+ .semiont-gap-xl {
134
+ gap: var(--semiont-spacing-xl);
135
+ }
136
+
137
+ /* ============================================
138
+ Text Utilities
139
+ ============================================ */
140
+
141
+ .semiont-text-left {
142
+ text-align: left;
143
+ }
144
+
145
+ .semiont-text-center {
146
+ text-align: center;
147
+ }
148
+
149
+ .semiont-text-right {
150
+ text-align: right;
151
+ }
152
+
153
+ .semiont-text-justify {
154
+ text-align: justify;
155
+ }
156
+
157
+ /* Font Weights */
158
+ .semiont-font-normal {
159
+ font-weight: 400;
160
+ }
161
+
162
+ .semiont-font-medium {
163
+ font-weight: 500;
164
+ }
165
+
166
+ .semiont-font-semibold {
167
+ font-weight: 600;
168
+ }
169
+
170
+ .semiont-font-bold {
171
+ font-weight: 700;
172
+ }
173
+
174
+ /* Font Sizes */
175
+ .semiont-text-xs {
176
+ font-size: var(--semiont-text-xs);
177
+ }
178
+
179
+ .semiont-text-sm {
180
+ font-size: var(--semiont-text-sm);
181
+ }
182
+
183
+ .semiont-text-base {
184
+ font-size: var(--semiont-text-base);
185
+ }
186
+
187
+ .semiont-text-lg {
188
+ font-size: var(--semiont-text-lg);
189
+ }
190
+
191
+ .semiont-text-xl {
192
+ font-size: var(--semiont-text-xl);
193
+ }
194
+
195
+ .semiont-text-2xl {
196
+ font-size: var(--semiont-text-2xl);
197
+ }
198
+
199
+ .semiont-text-3xl {
200
+ font-size: var(--semiont-text-3xl);
201
+ }
202
+
203
+ /* Text Transforms */
204
+ .semiont-uppercase {
205
+ text-transform: uppercase;
206
+ }
207
+
208
+ .semiont-lowercase {
209
+ text-transform: lowercase;
210
+ }
211
+
212
+ .semiont-capitalize {
213
+ text-transform: capitalize;
214
+ }
215
+
216
+ .semiont-normal-case {
217
+ text-transform: none;
218
+ }
219
+
220
+ /* ============================================
221
+ Width & Height Utilities
222
+ ============================================ */
223
+
224
+ .semiont-w-full {
225
+ width: 100%;
226
+ }
227
+
228
+ .semiont-h-full {
229
+ height: 100%;
230
+ }
231
+
232
+ .semiont-w-auto {
233
+ width: auto;
234
+ }
235
+
236
+ .semiont-h-auto {
237
+ height: auto;
238
+ }
239
+
240
+ .semiont-min-w-0 {
241
+ min-width: 0;
242
+ }
243
+
244
+ .semiont-min-h-0 {
245
+ min-height: 0;
246
+ }
247
+
248
+ /* ============================================
249
+ Position Utilities
250
+ ============================================ */
251
+
252
+ .semiont-relative {
253
+ position: relative;
254
+ }
255
+
256
+ .semiont-absolute {
257
+ position: absolute;
258
+ }
259
+
260
+ .semiont-fixed {
261
+ position: fixed;
262
+ }
263
+
264
+ .semiont-sticky {
265
+ position: sticky;
266
+ }
267
+
268
+ .semiont-static {
269
+ position: static;
270
+ }
271
+
272
+ /* ============================================
273
+ Overflow Utilities
274
+ ============================================ */
275
+
276
+ .semiont-overflow-auto {
277
+ overflow: auto;
278
+ }
279
+
280
+ .semiont-overflow-hidden {
281
+ overflow: hidden;
282
+ }
283
+
284
+ .semiont-overflow-visible {
285
+ overflow: visible;
286
+ }
287
+
288
+ .semiont-overflow-scroll {
289
+ overflow: scroll;
290
+ }
291
+
292
+ .semiont-overflow-x-auto {
293
+ overflow: auto visible;
294
+ }
295
+
296
+ .semiont-overflow-y-auto {
297
+ overflow: visible auto;
298
+ }
299
+
300
+ /* ============================================
301
+ Border Radius Utilities
302
+ ============================================ */
303
+
304
+ .semiont-rounded-none {
305
+ border-radius: 0;
306
+ }
307
+
308
+ .semiont-rounded-sm {
309
+ border-radius: var(--semiont-radius-sm);
310
+ }
311
+
312
+ .semiont-rounded {
313
+ border-radius: var(--semiont-radius-base);
314
+ }
315
+
316
+ .semiont-rounded-md {
317
+ border-radius: var(--semiont-radius-md);
318
+ }
319
+
320
+ .semiont-rounded-lg {
321
+ border-radius: var(--semiont-radius-lg);
322
+ }
323
+
324
+ .semiont-rounded-xl {
325
+ border-radius: var(--semiont-radius-xl);
326
+ }
327
+
328
+ .semiont-rounded-full {
329
+ border-radius: 9999px;
330
+ }
331
+
332
+ /* ============================================
333
+ Cursor Utilities
334
+ ============================================ */
335
+
336
+ .semiont-cursor-pointer {
337
+ cursor: pointer;
338
+ }
339
+
340
+ .semiont-cursor-default {
341
+ cursor: default;
342
+ }
343
+
344
+ .semiont-cursor-not-allowed {
345
+ cursor: not-allowed;
346
+ }
347
+
348
+ .semiont-cursor-wait {
349
+ cursor: wait;
350
+ }
351
+
352
+ .semiont-cursor-text {
353
+ cursor: text;
354
+ }
355
+
356
+ /* ============================================
357
+ User Select Utilities
358
+ ============================================ */
359
+
360
+ .semiont-select-none {
361
+ user-select: none;
362
+ }
363
+
364
+ .semiont-select-text {
365
+ user-select: text;
366
+ }
367
+
368
+ .semiont-select-all {
369
+ user-select: all;
370
+ }
371
+
372
+ .semiont-select-auto {
373
+ user-select: auto;
374
+ }
375
+
376
+ /* ============================================
377
+ Pointer Events Utilities
378
+ ============================================ */
379
+
380
+ .semiont-pointer-events-none {
381
+ pointer-events: none;
382
+ }
383
+
384
+ .semiont-pointer-events-auto {
385
+ pointer-events: auto;
386
+ }
387
+
388
+ /* ============================================
389
+ Opacity Utilities
390
+ ============================================ */
391
+
392
+ .semiont-opacity-0 {
393
+ opacity: 0;
394
+ }
395
+
396
+ .semiont-opacity-25 {
397
+ opacity: 0.25;
398
+ }
399
+
400
+ .semiont-opacity-50 {
401
+ opacity: 0.5;
402
+ }
403
+
404
+ .semiont-opacity-75 {
405
+ opacity: 0.75;
406
+ }
407
+
408
+ .semiont-opacity-100 {
409
+ opacity: 1;
410
+ }
411
+
412
+ /* ============================================
413
+ Z-Index Utilities
414
+ ============================================ */
415
+
416
+ .semiont-z-0 {
417
+ z-index: 0;
418
+ }
419
+
420
+ .semiont-z-10 {
421
+ z-index: 10;
422
+ }
423
+
424
+ .semiont-z-20 {
425
+ z-index: 20;
426
+ }
427
+
428
+ .semiont-z-30 {
429
+ z-index: 30;
430
+ }
431
+
432
+ .semiont-z-40 {
433
+ z-index: 40;
434
+ }
435
+
436
+ .semiont-z-50 {
437
+ z-index: 50;
438
+ }
439
+
440
+ /* ============================================
441
+ Screen Reader Only
442
+ ============================================ */
443
+
444
+ .semiont-sr-only {
445
+ position: absolute;
446
+ width: 1px;
447
+ height: 1px;
448
+ padding: 0;
449
+ margin: -1px;
450
+ overflow: hidden;
451
+ clip: rect(0, 0, 0, 0);
452
+ white-space: nowrap;
453
+ border-width: 0;
454
+ }
455
+
456
+ .semiont-not-sr-only {
457
+ position: static;
458
+ width: auto;
459
+ height: auto;
460
+ padding: 0;
461
+ margin: 0;
462
+ overflow: visible;
463
+ clip: auto;
464
+ white-space: normal;
465
+ }
@@ -0,0 +1,138 @@
1
+ /**
2
+ * Annotation Entry Styles for Panels
3
+ *
4
+ * Base structure and common styles for annotation entries.
5
+ * Motivation-specific styles are in /styles/motivations/*.css
6
+ */
7
+
8
+ /* Base annotation entry container */
9
+ .semiont-annotation-entry {
10
+ padding: 0.75rem;
11
+ background: var(--semiont-bg-secondary);
12
+ border-radius: var(--semiont-radius-md);
13
+ border: 2px solid transparent;
14
+ transition: all 0.2s ease;
15
+ cursor: pointer;
16
+ position: relative;
17
+ margin-bottom: 0.5rem;
18
+ }
19
+
20
+ [data-theme="dark"] .semiont-annotation-entry {
21
+ background: var(--semiont-bg-tertiary);
22
+ }
23
+
24
+ /* Focused state */
25
+ .semiont-annotation-entry[data-focused="true"] {
26
+ outline: 2px solid var(--semiont-color-primary-500);
27
+ outline-offset: 2px;
28
+ z-index: 10;
29
+ }
30
+
31
+ /* Motivation-specific styles are handled in /styles/motivations/*.css */
32
+
33
+ /* Entry structure */
34
+ .semiont-annotation-entry__header {
35
+ display: flex;
36
+ align-items: flex-start;
37
+ gap: 0.5rem;
38
+ margin-bottom: 0.5rem;
39
+ }
40
+
41
+ .semiont-annotation-entry__content {
42
+ flex: 1;
43
+ min-width: 0;
44
+ }
45
+
46
+ /* Quote styling - base structure */
47
+ .semiont-annotation-entry__quote {
48
+ font-size: var(--semiont-text-sm);
49
+ line-height: 1.5;
50
+ padding: 0.375rem 0.5rem;
51
+ border-radius: var(--semiont-radius-sm);
52
+ margin-bottom: 0.5rem;
53
+ }
54
+
55
+ /* Motivation-specific quote styles are handled in /styles/motivations/*.css */
56
+
57
+ /* Body content */
58
+ .semiont-annotation-entry__body {
59
+ font-size: var(--semiont-text-sm);
60
+ color: var(--semiont-text-primary);
61
+ line-height: 1.5;
62
+ margin-bottom: 0.5rem;
63
+ }
64
+
65
+ [data-theme="dark"] .semiont-annotation-entry__body {
66
+ color: var(--semiont-text-primary);
67
+ }
68
+
69
+ /* Motivation-specific body styles are handled in /styles/motivations/*.css */
70
+
71
+ /* Metadata */
72
+ .semiont-annotation-entry__metadata,
73
+ .semiont-annotation-entry__meta {
74
+ font-size: var(--semiont-text-xs);
75
+ color: var(--semiont-text-tertiary);
76
+ }
77
+
78
+ [data-theme="dark"] .semiont-annotation-entry__metadata,
79
+ [data-theme="dark"] .semiont-annotation-entry__meta {
80
+ color: var(--semiont-text-tertiary);
81
+ }
82
+
83
+ /* Footer */
84
+ .semiont-annotation-entry__footer {
85
+ display: flex;
86
+ justify-content: space-between;
87
+ align-items: center;
88
+ margin-top: 0.5rem;
89
+ }
90
+
91
+ /* Actions */
92
+ .semiont-annotation-entry__actions {
93
+ display: flex;
94
+ gap: 0.25rem;
95
+ }
96
+
97
+ .semiont-annotation-entry__action-row {
98
+ display: flex;
99
+ gap: 0.25rem;
100
+ width: 100%;
101
+ }
102
+
103
+ /* Button group for edit mode */
104
+ .semiont-annotation-entry__button-group {
105
+ display: flex;
106
+ gap: 0.25rem;
107
+ }
108
+
109
+ /* Edit mode */
110
+ .semiont-annotation-entry__edit {
111
+ margin-top: 0.5rem;
112
+ }
113
+
114
+ .semiont-annotation-entry__edit-footer {
115
+ display: flex;
116
+ justify-content: space-between;
117
+ align-items: center;
118
+ margin-top: 0.5rem;
119
+ }
120
+
121
+ .semiont-annotation-entry__char-count {
122
+ font-size: var(--semiont-text-xs);
123
+ color: var(--semiont-text-tertiary);
124
+ }
125
+
126
+ [data-theme="dark"] .semiont-annotation-entry__char-count {
127
+ color: var(--semiont-text-tertiary);
128
+ }
129
+
130
+ /* Tags within entries */
131
+ .semiont-annotation-entry__tags {
132
+ display: flex;
133
+ flex-wrap: wrap;
134
+ gap: 0.25rem;
135
+ margin-top: 0.5rem;
136
+ }
137
+
138
+ /* Reference-specific styles moved to /styles/motivations/motivation-reference.css */
@@ -0,0 +1,51 @@
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(--semiont-color-primary-500);
34
+ outline-offset: 2px;
35
+ z-index: 10;
36
+ position: relative;
37
+ }
38
+
39
+ /* Print styles */
40
+ @media print {
41
+ .annotation-highlight,
42
+ .annotation-comment,
43
+ .annotation-assessment,
44
+ .annotation-reference,
45
+ .annotation-tag {
46
+ background: transparent !important;
47
+ outline: none !important;
48
+ text-decoration: underline !important;
49
+ color: inherit !important;
50
+ }
51
+ }