@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,161 @@
1
+ /* Collapsible Resource Navigation Styles */
2
+
3
+ .semiont-collapsible-nav {
4
+ height: 100%;
5
+ }
6
+
7
+ /* Header - maintains consistent height regardless of content */
8
+ .semiont-collapsible-nav__header {
9
+ position: relative;
10
+ height: 3rem; /* Fixed height - matches h-12 */
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: space-between; /* Space between title and chevron when expanded */
14
+ margin-bottom: 0.75rem; /* matches mb-3 */
15
+ }
16
+
17
+ /* When collapsed, center the hamburger button */
18
+ .semiont-collapsible-nav__header:has(.semiont-collapsible-nav__expand-btn) {
19
+ justify-content: center;
20
+ }
21
+
22
+ /* Title in expanded state */
23
+ .semiont-collapsible-nav__title {
24
+ /* This is using semiont-nav-header__title class from sidebar-navigation.css */
25
+ }
26
+
27
+ /* Clickable title variant - makes the header title interactive for dropdown */
28
+ .semiont-nav-header__title--clickable {
29
+ cursor: pointer;
30
+ padding: 0.25rem 0.5rem;
31
+ margin: -0.25rem -0.5rem;
32
+ border-radius: var(--semiont-radius-md);
33
+ transition: background var(--semiont-duration-base);
34
+ background: none;
35
+ border: none;
36
+ text-align: left;
37
+ width: auto;
38
+ }
39
+
40
+ .semiont-nav-header__title--clickable:hover {
41
+ background: var(--semiont-bg-tertiary);
42
+ }
43
+
44
+ [data-theme="dark"] .semiont-nav-header__title--clickable:hover {
45
+ background: var(--semiont-bg-tertiary);
46
+ }
47
+
48
+ .semiont-nav-header__title--clickable:focus-visible {
49
+ outline: 2px solid var(--semiont-color-primary-500);
50
+ outline-offset: 2px;
51
+ }
52
+
53
+ [data-theme="dark"] .semiont-nav-header__title--clickable:focus-visible {
54
+ outline-color: var(--semiont-color-primary-400);
55
+ }
56
+
57
+ /* Dropdown menu for collapsible navigation */
58
+ .semiont-collapsible-nav__dropdown {
59
+ position: absolute;
60
+ top: 100%;
61
+ left: 0;
62
+ margin-top: 0.5rem;
63
+ background: linear-gradient(to bottom, var(--semiont-bg-primary), var(--semiont-color-gray-50));
64
+ border: 1px solid var(--semiont-color-gray-300);
65
+ border-radius: var(--semiont-radius-lg);
66
+ box-shadow: var(--semiont-shadow-xl);
67
+ min-width: 12rem;
68
+ z-index: 50;
69
+ }
70
+
71
+ [data-theme="dark"] .semiont-collapsible-nav__dropdown {
72
+ background: linear-gradient(to bottom, var(--semiont-bg-secondary), var(--semiont-color-gray-800));
73
+ border-color: var(--semiont-color-gray-700);
74
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
75
+ }
76
+
77
+ /* Collapse button (chevron) in expanded state */
78
+ .semiont-collapsible-nav__collapse-btn {
79
+ padding: 0.5rem;
80
+ border-radius: 0.375rem;
81
+ background-color: var(--semiont-color-gray-100);
82
+ border: 1px solid var(--semiont-color-gray-300);
83
+ transition: all 0.2s;
84
+ flex-shrink: 0;
85
+ display: flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ }
89
+
90
+ .semiont-collapsible-nav__collapse-btn:hover {
91
+ background-color: var(--semiont-color-gray-200);
92
+ }
93
+
94
+ [data-theme="dark"] .semiont-collapsible-nav__collapse-btn {
95
+ background-color: var(--semiont-color-gray-800);
96
+ border-color: var(--semiont-color-gray-600);
97
+ }
98
+
99
+ [data-theme="dark"] .semiont-collapsible-nav__collapse-btn:hover {
100
+ background-color: var(--semiont-color-gray-700);
101
+ }
102
+
103
+ /* Expand button (hamburger) in collapsed state */
104
+ .semiont-collapsible-nav__expand-btn {
105
+ padding: 0.5rem;
106
+ border-radius: 0.375rem;
107
+ background-color: var(--semiont-color-gray-100);
108
+ border: 1px solid var(--semiont-color-gray-300);
109
+ transition: all 0.2s;
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: center;
113
+ }
114
+
115
+ .semiont-collapsible-nav__expand-btn:hover {
116
+ background-color: var(--semiont-color-gray-200);
117
+ }
118
+
119
+ [data-theme="dark"] .semiont-collapsible-nav__expand-btn {
120
+ background-color: var(--semiont-color-gray-800);
121
+ border-color: var(--semiont-color-gray-600);
122
+ }
123
+
124
+ [data-theme="dark"] .semiont-collapsible-nav__expand-btn:hover {
125
+ background-color: var(--semiont-color-gray-700);
126
+ }
127
+
128
+ /* Icon styles */
129
+ .semiont-collapsible-nav__collapse-btn svg,
130
+ .semiont-collapsible-nav__expand-btn svg {
131
+ height: 1.25rem;
132
+ width: 1.25rem;
133
+ color: var(--semiont-color-gray-700);
134
+ }
135
+
136
+ [data-theme="dark"] .semiont-collapsible-nav__collapse-btn svg,
137
+ [data-theme="dark"] .semiont-collapsible-nav__expand-btn svg {
138
+ color: var(--semiont-color-gray-300);
139
+ }
140
+
141
+ /* Content area */
142
+ .semiont-collapsible-nav__content {
143
+ /* Content that comes after the header */
144
+ }
145
+
146
+ /* Container with padding */
147
+ .semiont-collapsible-nav__container {
148
+ padding: 1rem; /* matches p-4 */
149
+ }
150
+
151
+ /* Resources list with vertical spacing */
152
+ .semiont-collapsible-nav__list {
153
+ display: flex;
154
+ flex-direction: column;
155
+ gap: 0.25rem; /* matches space-y-1 */
156
+ }
157
+
158
+ /* Resources section */
159
+ .semiont-collapsible-nav__resources {
160
+ margin-top: 0.75rem;
161
+ }
@@ -0,0 +1,499 @@
1
+ /**
2
+ * Detection Widget Component Styles
3
+ *
4
+ * Shared styles for AI-powered detection sections across all motivation panels.
5
+ * Each panel (highlight, comment, assessment, tag, reference) uses data-type
6
+ * attribute for motivation-specific theming.
7
+ */
8
+
9
+ /* ============================================
10
+ Base Detection Widget Container
11
+ ============================================ */
12
+
13
+ .semiont-detect-widget {
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: 1rem;
17
+ padding: 1rem;
18
+ background-color: var(--semiont-bg-secondary);
19
+ border-radius: 0.5rem;
20
+ border: 1px solid var(--semiont-color-gray-200);
21
+ }
22
+
23
+ [data-theme="dark"] .semiont-detect-widget {
24
+ background-color: var(--semiont-color-gray-800);
25
+ border-color: var(--semiont-color-gray-700);
26
+ }
27
+
28
+ /* ============================================
29
+ Labels and Descriptive Text
30
+ ============================================ */
31
+
32
+ .semiont-detect-widget__label {
33
+ font-size: 0.875rem;
34
+ font-weight: 500;
35
+ color: var(--semiont-color-gray-700);
36
+ margin-bottom: 0.5rem;
37
+ }
38
+
39
+ [data-theme="dark"] .semiont-detect-widget__label {
40
+ color: var(--semiont-color-gray-300);
41
+ }
42
+
43
+ .semiont-detect-widget__count {
44
+ font-size: 0.75rem;
45
+ color: var(--semiont-color-gray-500);
46
+ text-align: center;
47
+ margin-bottom: 1rem;
48
+ }
49
+
50
+ [data-theme="dark"] .semiont-detect-widget__count {
51
+ color: var(--semiont-color-gray-400);
52
+ }
53
+
54
+ .semiont-detect-widget__no-types {
55
+ font-size: 0.875rem;
56
+ color: var(--semiont-color-gray-500);
57
+ font-style: italic;
58
+ }
59
+
60
+ [data-theme="dark"] .semiont-detect-widget__no-types {
61
+ color: var(--semiont-color-gray-400);
62
+ }
63
+
64
+ /* ============================================
65
+ Entity Types / Chips Section (References)
66
+ ============================================ */
67
+
68
+ .semiont-detect-widget__entity-types {
69
+ margin-bottom: 1rem;
70
+ }
71
+
72
+ .semiont-detect-widget__chips {
73
+ display: flex;
74
+ flex-wrap: wrap;
75
+ gap: 0.5rem;
76
+ }
77
+
78
+ /* ============================================
79
+ Checkbox Group (References)
80
+ ============================================ */
81
+
82
+ .semiont-detect-widget__checkbox-group {
83
+ margin-bottom: 1rem;
84
+ }
85
+
86
+ .semiont-detect-widget__checkbox-label {
87
+ display: flex;
88
+ align-items: center;
89
+ gap: 0.5rem;
90
+ font-size: 0.875rem;
91
+ color: var(--semiont-color-gray-700);
92
+ cursor: pointer;
93
+ }
94
+
95
+ [data-theme="dark"] .semiont-detect-widget__checkbox-label {
96
+ color: var(--semiont-color-gray-300);
97
+ }
98
+
99
+ .semiont-detect-widget__checkbox {
100
+ border-radius: 0.25rem;
101
+ border: 1px solid var(--semiont-color-gray-300);
102
+ color: var(--semiont-color-blue-600);
103
+ }
104
+
105
+ [data-theme="dark"] .semiont-detect-widget__checkbox {
106
+ border-color: var(--semiont-color-gray-600);
107
+ }
108
+
109
+ .semiont-detect-widget__checkbox:focus {
110
+ outline: 2px solid var(--semiont-color-blue-500);
111
+ outline-offset: 2px;
112
+ }
113
+
114
+ .semiont-detect-widget__checkbox-hint {
115
+ font-size: 0.75rem;
116
+ color: var(--semiont-color-gray-500);
117
+ margin-top: 0.25rem;
118
+ margin-left: 1.5rem;
119
+ }
120
+
121
+ [data-theme="dark"] .semiont-detect-widget__checkbox-hint {
122
+ color: var(--semiont-color-gray-400);
123
+ }
124
+
125
+ /* ============================================
126
+ Detection Log (Completed Results)
127
+ ============================================ */
128
+
129
+ .semiont-detect-widget__log {
130
+ background-color: var(--semiont-bg-primary);
131
+ border-radius: 0.5rem;
132
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
133
+ padding: 1rem;
134
+ display: flex;
135
+ flex-direction: column;
136
+ gap: 0.75rem;
137
+ }
138
+
139
+ [data-theme="dark"] .semiont-detect-widget__log {
140
+ background-color: var(--semiont-color-gray-800);
141
+ }
142
+
143
+ .semiont-detect-widget__log-items {
144
+ display: flex;
145
+ flex-direction: column;
146
+ gap: 0.25rem;
147
+ }
148
+
149
+ .semiont-detect-widget__log-item {
150
+ font-size: 0.75rem;
151
+ color: var(--semiont-color-gray-600);
152
+ display: flex;
153
+ align-items: center;
154
+ gap: 0.5rem;
155
+ }
156
+
157
+ [data-theme="dark"] .semiont-detect-widget__log-item {
158
+ color: var(--semiont-color-gray-400);
159
+ }
160
+
161
+ .semiont-detect-widget__log-check {
162
+ color: var(--semiont-color-green-600);
163
+ }
164
+
165
+ [data-theme="dark"] .semiont-detect-widget__log-check {
166
+ color: var(--semiont-color-green-400);
167
+ }
168
+
169
+ .semiont-detect-widget__log-type {
170
+ font-weight: 500;
171
+ }
172
+
173
+ /* ============================================
174
+ Detection Progress Display
175
+ ============================================ */
176
+
177
+ .semiont-detection-progress {
178
+ background-color: var(--semiont-bg-primary);
179
+ border-radius: 0.5rem;
180
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
181
+ padding: 1rem;
182
+ border: 2px solid var(--semiont-color-blue-500);
183
+ }
184
+
185
+ [data-theme="dark"] .semiont-detection-progress {
186
+ background-color: var(--semiont-color-gray-800);
187
+ border-color: var(--semiont-color-blue-600);
188
+ }
189
+
190
+ /* Header section */
191
+ .semiont-detection-header {
192
+ display: flex;
193
+ align-items: center;
194
+ justify-content: space-between;
195
+ margin-bottom: 0.75rem;
196
+ }
197
+
198
+ .semiont-detection-title {
199
+ font-size: 0.875rem;
200
+ font-weight: 600;
201
+ color: var(--semiont-color-gray-900);
202
+ display: flex;
203
+ align-items: center;
204
+ gap: 0.5rem;
205
+ margin: 0;
206
+ }
207
+
208
+ [data-theme="dark"] .semiont-detection-title {
209
+ color: var(--semiont-color-gray-100);
210
+ }
211
+
212
+ .semiont-detection-sparkle {
213
+ font-size: 1.125rem;
214
+ animation: semiont-sparkle-infinite 1.5s ease-in-out infinite;
215
+ }
216
+
217
+ @keyframes semiont-sparkle-infinite {
218
+ 0%, 100% {
219
+ opacity: 0.5;
220
+ transform: scale(1);
221
+ }
222
+ 50% {
223
+ opacity: 1;
224
+ transform: scale(1.1);
225
+ }
226
+ }
227
+
228
+ .semiont-detection-cancel {
229
+ color: var(--semiont-color-gray-600);
230
+ background: none;
231
+ border: none;
232
+ padding: 0;
233
+ font-size: 0.875rem;
234
+ cursor: pointer;
235
+ transition: color 0.2s;
236
+ }
237
+
238
+ .semiont-detection-cancel:hover {
239
+ color: var(--semiont-color-gray-900);
240
+ }
241
+
242
+ [data-theme="dark"] .semiont-detection-cancel {
243
+ color: var(--semiont-color-gray-400);
244
+ }
245
+
246
+ [data-theme="dark"] .semiont-detection-cancel:hover {
247
+ color: var(--semiont-color-gray-300);
248
+ }
249
+
250
+ /* Completed entity types log */
251
+ .semiont-detection-log {
252
+ margin-bottom: 0.75rem;
253
+ display: flex;
254
+ flex-direction: column;
255
+ gap: 0.25rem;
256
+ }
257
+
258
+ .semiont-detection-log-item {
259
+ font-size: 0.75rem;
260
+ color: var(--semiont-color-gray-600);
261
+ display: flex;
262
+ align-items: center;
263
+ gap: 0.5rem;
264
+ }
265
+
266
+ [data-theme="dark"] .semiont-detection-log-item {
267
+ color: var(--semiont-color-gray-400);
268
+ }
269
+
270
+ .semiont-detection-check {
271
+ color: var(--semiont-color-green-600);
272
+ }
273
+
274
+ [data-theme="dark"] .semiont-detection-check {
275
+ color: var(--semiont-color-green-400);
276
+ }
277
+
278
+ .semiont-detection-entity-type {
279
+ font-weight: 500;
280
+ }
281
+
282
+ .semiont-detection-progress__params {
283
+ margin-bottom: 0.75rem;
284
+ padding: 0.5rem;
285
+ background-color: rgba(59, 130, 246, 0.05);
286
+ border-radius: 0.375rem;
287
+ border: 1px solid rgba(59, 130, 246, 0.2);
288
+ }
289
+
290
+ [data-theme="dark"] .semiont-detection-progress__params {
291
+ background-color: rgba(59, 130, 246, 0.1);
292
+ border-color: rgba(59, 130, 246, 0.3);
293
+ }
294
+
295
+ .semiont-detection-progress__params-title {
296
+ font-size: 0.75rem;
297
+ font-weight: 600;
298
+ color: var(--semiont-color-blue-700);
299
+ margin-bottom: 0.25rem;
300
+ }
301
+
302
+ [data-theme="dark"] .semiont-detection-progress__params-title {
303
+ color: var(--semiont-color-blue-300);
304
+ }
305
+
306
+ .semiont-detection-progress__param {
307
+ font-size: 0.75rem;
308
+ color: var(--semiont-color-gray-700);
309
+ }
310
+
311
+ [data-theme="dark"] .semiont-detection-progress__param {
312
+ color: var(--semiont-color-gray-300);
313
+ }
314
+
315
+ .semiont-detection-progress__param-label {
316
+ font-weight: 500;
317
+ }
318
+
319
+ .semiont-detection-progress__status {
320
+ display: flex;
321
+ flex-direction: column;
322
+ gap: 0.5rem;
323
+ }
324
+
325
+ .semiont-detection-progress__message {
326
+ display: flex;
327
+ align-items: center;
328
+ gap: 0.5rem;
329
+ font-size: 0.875rem;
330
+ color: var(--semiont-color-gray-900);
331
+ font-weight: 500;
332
+ padding: 0.75rem 1rem;
333
+ border-radius: 0.5rem;
334
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
335
+ border: 2px solid rgba(59, 130, 246, 0.3);
336
+ animation: semiont-detection-pulse 2s ease-in-out infinite;
337
+ }
338
+
339
+ [data-theme="dark"] .semiont-detection-progress__message {
340
+ color: var(--semiont-color-gray-100);
341
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.25));
342
+ border-color: rgba(59, 130, 246, 0.5);
343
+ }
344
+
345
+ @keyframes semiont-detection-pulse {
346
+ 0%, 100% {
347
+ opacity: 1;
348
+ transform: scale(1);
349
+ }
350
+ 50% {
351
+ opacity: 0.85;
352
+ transform: scale(1.02);
353
+ }
354
+ }
355
+
356
+ .semiont-detection-progress__icon {
357
+ font-size: 1.125rem;
358
+ animation: semiont-sparkle-rotate 2s linear infinite;
359
+ }
360
+
361
+ @keyframes semiont-sparkle-rotate {
362
+ 0% {
363
+ transform: rotate(0deg) scale(1);
364
+ filter: brightness(1);
365
+ }
366
+ 25% {
367
+ transform: rotate(90deg) scale(1.2);
368
+ filter: brightness(1.3);
369
+ }
370
+ 50% {
371
+ transform: rotate(180deg) scale(1);
372
+ filter: brightness(1);
373
+ }
374
+ 75% {
375
+ transform: rotate(270deg) scale(1.2);
376
+ filter: brightness(1.3);
377
+ }
378
+ 100% {
379
+ transform: rotate(360deg) scale(1);
380
+ filter: brightness(1);
381
+ }
382
+ }
383
+
384
+ .semiont-detection-progress__details {
385
+ font-size: 0.75rem;
386
+ color: var(--semiont-color-gray-500);
387
+ }
388
+
389
+ [data-theme="dark"] .semiont-detection-progress__details {
390
+ color: var(--semiont-color-gray-400);
391
+ }
392
+
393
+ /* ============================================
394
+ Motivation-Specific Theming via data-type
395
+ ============================================ */
396
+
397
+ /* Highlight */
398
+ .semiont-detect-widget[data-type="highlight"] {
399
+ border-color: var(--semiont-color-yellow-300);
400
+ }
401
+
402
+ [data-theme="dark"] .semiont-detect-widget[data-type="highlight"] {
403
+ border-color: var(--semiont-color-yellow-600);
404
+ }
405
+
406
+ /* Comment */
407
+ .semiont-detect-widget[data-type="comment"] {
408
+ border-color: var(--semiont-color-gray-300);
409
+ }
410
+
411
+ [data-theme="dark"] .semiont-detect-widget[data-type="comment"] {
412
+ border-color: var(--semiont-color-gray-600);
413
+ }
414
+
415
+ /* Assessment */
416
+ .semiont-detect-widget[data-type="assessment"] {
417
+ border-color: var(--semiont-color-purple-300);
418
+ }
419
+
420
+ [data-theme="dark"] .semiont-detect-widget[data-type="assessment"] {
421
+ border-color: var(--semiont-color-purple-600);
422
+ }
423
+
424
+ /* Tag */
425
+ .semiont-detect-widget[data-type="tag"] {
426
+ border-color: var(--semiont-color-orange-300);
427
+ }
428
+
429
+ [data-theme="dark"] .semiont-detect-widget[data-type="tag"] {
430
+ border-color: var(--semiont-color-orange-600);
431
+ }
432
+
433
+ /* Reference */
434
+ .semiont-detect-widget[data-type="reference"] {
435
+ border-color: var(--semiont-color-blue-300);
436
+ }
437
+
438
+ [data-theme="dark"] .semiont-detect-widget[data-type="reference"] {
439
+ border-color: var(--semiont-color-blue-600);
440
+ }
441
+
442
+ /* ============================================
443
+ Detection Progress Message - Motivation Colors
444
+ ============================================ */
445
+
446
+ /* Highlight - Yellow */
447
+ .semiont-detection-progress[data-type="highlight"] .semiont-detection-progress__message {
448
+ background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(234, 179, 8, 0.15));
449
+ border-color: rgba(250, 204, 21, 0.3);
450
+ }
451
+
452
+ [data-theme="dark"] .semiont-detection-progress[data-type="highlight"] .semiont-detection-progress__message {
453
+ background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(234, 179, 8, 0.25));
454
+ border-color: rgba(250, 204, 21, 0.5);
455
+ }
456
+
457
+ /* Comment - Gray */
458
+ .semiont-detection-progress[data-type="comment"] .semiont-detection-progress__message {
459
+ background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(75, 85, 99, 0.15));
460
+ border-color: rgba(107, 114, 128, 0.3);
461
+ }
462
+
463
+ [data-theme="dark"] .semiont-detection-progress[data-type="comment"] .semiont-detection-progress__message {
464
+ background: linear-gradient(135deg, rgba(107, 114, 128, 0.25), rgba(75, 85, 99, 0.25));
465
+ border-color: rgba(107, 114, 128, 0.5);
466
+ }
467
+
468
+ /* Assessment - Purple */
469
+ .semiont-detection-progress[data-type="assessment"] .semiont-detection-progress__message {
470
+ background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(147, 51, 234, 0.15));
471
+ border-color: rgba(168, 85, 247, 0.3);
472
+ }
473
+
474
+ [data-theme="dark"] .semiont-detection-progress[data-type="assessment"] .semiont-detection-progress__message {
475
+ background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(147, 51, 234, 0.25));
476
+ border-color: rgba(168, 85, 247, 0.5);
477
+ }
478
+
479
+ /* Tag - Orange */
480
+ .semiont-detection-progress[data-type="tag"] .semiont-detection-progress__message {
481
+ background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(249, 115, 22, 0.15));
482
+ border-color: rgba(251, 146, 60, 0.3);
483
+ }
484
+
485
+ [data-theme="dark"] .semiont-detection-progress[data-type="tag"] .semiont-detection-progress__message {
486
+ background: linear-gradient(135deg, rgba(251, 146, 60, 0.25), rgba(249, 115, 22, 0.25));
487
+ border-color: rgba(251, 146, 60, 0.5);
488
+ }
489
+
490
+ /* Reference - Blue */
491
+ .semiont-detection-progress[data-type="reference"] .semiont-detection-progress__message {
492
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
493
+ border-color: rgba(59, 130, 246, 0.3);
494
+ }
495
+
496
+ [data-theme="dark"] .semiont-detection-progress[data-type="reference"] .semiont-detection-progress__message {
497
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.25));
498
+ border-color: rgba(59, 130, 246, 0.5);
499
+ }