@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,92 @@
1
+ /* ============================================
2
+ Checkboxes - Core UI Element
3
+
4
+ This is the authoritative source for all checkbox styles.
5
+ Usage: Apply .semiont-checkbox to <input type="checkbox"> elements.
6
+
7
+ Available modifiers:
8
+ - .semiont-checkbox--small (reduced size)
9
+ - .semiont-checkbox--large (increased size)
10
+ ============================================ */
11
+
12
+ /* Base Checkbox Styling */
13
+ .semiont-checkbox {
14
+ width: 1.125rem;
15
+ height: 1.125rem;
16
+ border: 2px solid var(--semiont-color-gray-400);
17
+ border-radius: var(--semiont-radius-sm);
18
+ cursor: pointer;
19
+ flex-shrink: 0;
20
+ appearance: none;
21
+ background-color: var(--semiont-bg-primary);
22
+ transition: all 0.2s ease;
23
+ }
24
+
25
+ [data-theme="dark"] .semiont-checkbox {
26
+ border-color: var(--semiont-color-gray-600);
27
+ background-color: var(--semiont-bg-primary);
28
+ }
29
+
30
+ /* Checked State */
31
+ .semiont-checkbox:checked {
32
+ background-color: var(--semiont-color-primary-500);
33
+ border-color: var(--semiont-color-primary-500);
34
+ }
35
+
36
+ [data-theme="dark"] .semiont-checkbox:checked {
37
+ background-color: var(--semiont-color-primary-400);
38
+ border-color: var(--semiont-color-primary-400);
39
+ }
40
+
41
+ /* Focus State */
42
+ .semiont-checkbox:focus {
43
+ outline: none;
44
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
45
+ }
46
+
47
+ .semiont-checkbox:focus-visible {
48
+ outline: 2px solid var(--semiont-color-primary-500);
49
+ outline-offset: 2px;
50
+ }
51
+
52
+ [data-theme="dark"] .semiont-checkbox:focus-visible {
53
+ outline-color: var(--semiont-color-primary-400);
54
+ }
55
+
56
+ /* Hover State */
57
+ .semiont-checkbox:hover:not(:disabled) {
58
+ border-color: var(--semiont-color-primary-500);
59
+ }
60
+
61
+ [data-theme="dark"] .semiont-checkbox:hover:not(:disabled) {
62
+ border-color: var(--semiont-color-primary-400);
63
+ }
64
+
65
+ /* Disabled State */
66
+ .semiont-checkbox:disabled {
67
+ opacity: 0.5;
68
+ cursor: not-allowed;
69
+ background-color: var(--semiont-color-gray-100);
70
+ }
71
+
72
+ [data-theme="dark"] .semiont-checkbox:disabled {
73
+ background-color: var(--semiont-color-gray-800);
74
+ }
75
+
76
+ /* Size Variants */
77
+ .semiont-checkbox--small {
78
+ width: 0.875rem;
79
+ height: 0.875rem;
80
+ }
81
+
82
+ .semiont-checkbox--large {
83
+ width: 1.5rem;
84
+ height: 1.5rem;
85
+ }
86
+
87
+ /* Accessibility - Reduced Motion */
88
+ @media (prefers-reduced-motion: reduce) {
89
+ .semiont-checkbox {
90
+ transition: none;
91
+ }
92
+ }
@@ -0,0 +1,254 @@
1
+ /**
2
+ * Form Component Styles
3
+ *
4
+ * Reusable form field styles using BEM methodology
5
+ */
6
+
7
+ /* Form container */
8
+ .semiont-form {
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 1.5rem;
12
+ }
13
+
14
+ .semiont-form__fields {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 1rem;
18
+ }
19
+
20
+ /* Form field */
21
+ .semiont-form__field {
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: 0.25rem;
25
+ }
26
+
27
+ /* Labels */
28
+ .semiont-form__label {
29
+ font-size: 0.875rem;
30
+ font-weight: 500;
31
+ color: var(--semiont-text-primary);
32
+ }
33
+
34
+ [data-theme="dark"] .semiont-form__label {
35
+ color: var(--semiont-text-primary);
36
+ }
37
+
38
+ /* Note: Form control styles (.semiont-input, .semiont-textarea, .semiont-select, .semiont-checkbox)
39
+ are now defined in dedicated core files:
40
+ - core/inputs.css
41
+ - core/textareas.css
42
+ - core/selects.css
43
+ - core/checkboxes.css */
44
+
45
+ /* Error messages */
46
+ .semiont-form__error {
47
+ color: var(--semiont-color-red-600);
48
+ font-size: 0.875rem;
49
+ margin-top: 0.25rem;
50
+ }
51
+
52
+ [data-theme="dark"] .semiont-form__error {
53
+ color: var(--semiont-color-red-400);
54
+ }
55
+
56
+ /* Checkbox and radio - wrapper fields */
57
+ .semiont-form__checkbox-field,
58
+ .semiont-form__radio-field {
59
+ display: flex;
60
+ align-items: center;
61
+ gap: 0.5rem;
62
+ }
63
+
64
+ .semiont-form__checkbox-label,
65
+ .semiont-form__radio-label {
66
+ font-size: 0.875rem;
67
+ color: var(--semiont-text-primary);
68
+ }
69
+
70
+ [data-theme="dark"] .semiont-form__checkbox-label,
71
+ [data-theme="dark"] .semiont-form__radio-label {
72
+ color: var(--semiont-text-primary);
73
+ }
74
+
75
+ /* Form actions */
76
+ .semiont-form__actions {
77
+ display: flex;
78
+ gap: 1rem;
79
+ margin-top: 1.5rem;
80
+ }
81
+
82
+ .semiont-form__actions--right {
83
+ justify-content: flex-end;
84
+ }
85
+
86
+ .semiont-form__actions--center {
87
+ justify-content: center;
88
+ }
89
+
90
+ .semiont-form__actions--between {
91
+ justify-content: space-between;
92
+ }
93
+
94
+ /* Help text */
95
+ .semiont-form__help {
96
+ font-size: 0.875rem;
97
+ color: var(--semiont-text-secondary);
98
+ margin-top: 0.25rem;
99
+ }
100
+
101
+ [data-theme="dark"] .semiont-form__help {
102
+ color: var(--semiont-text-secondary);
103
+ }
104
+
105
+ /* Fieldset and legend */
106
+ .semiont-form__fieldset {
107
+ border: 1px solid var(--semiont-color-gray-200);
108
+ border-radius: 0.375rem;
109
+ padding: 1rem;
110
+ margin-bottom: 1rem;
111
+ }
112
+
113
+ [data-theme="dark"] .semiont-form__fieldset {
114
+ border-color: var(--semiont-color-gray-700);
115
+ }
116
+
117
+ .semiont-form__legend {
118
+ font-size: 1rem;
119
+ font-weight: 600;
120
+ color: var(--semiont-text-primary);
121
+ padding: 0 0.5rem;
122
+ }
123
+
124
+ [data-theme="dark"] .semiont-form__legend {
125
+ color: var(--semiont-text-primary);
126
+ }
127
+
128
+ /* Note: Disabled states for form controls are defined in their respective core files */
129
+
130
+ /* Panel form elements */
131
+ .semiont-panel-label {
132
+ display: block;
133
+ font-size: var(--semiont-text-sm);
134
+ font-weight: var(--semiont-font-medium);
135
+ color: var(--semiont-text-secondary);
136
+ margin-bottom: 0.5rem;
137
+ }
138
+
139
+ [data-theme="dark"] .semiont-panel-label {
140
+ color: var(--semiont-color-gray-300);
141
+ }
142
+
143
+ .semiont-panel-hint {
144
+ font-size: var(--semiont-text-xs);
145
+ color: var(--semiont-color-gray-500);
146
+ margin-top: 0.25rem;
147
+ }
148
+
149
+ [data-theme="dark"] .semiont-panel-hint {
150
+ color: var(--semiont-color-gray-400);
151
+ }
152
+
153
+ .semiont-panel-divider {
154
+ border-top: 1px solid var(--semiont-color-gray-200);
155
+ padding-top: 0.5rem;
156
+ }
157
+
158
+ [data-theme="dark"] .semiont-panel-divider {
159
+ border-top-color: var(--semiont-color-gray-700);
160
+ }
161
+
162
+ /* Language selector dropdown */
163
+ .semiont-language-select {
164
+ width: 100%;
165
+ padding: 0.5rem 0.75rem;
166
+ border-radius: var(--semiont-radius-lg);
167
+ font-size: var(--semiont-text-sm);
168
+ border: 1px solid var(--semiont-color-gray-300);
169
+ background-color: var(--semiont-bg-primary);
170
+ color: var(--semiont-text-primary);
171
+ transition: all var(--semiont-duration-base);
172
+ cursor: pointer;
173
+ }
174
+
175
+ .semiont-language-select:focus {
176
+ outline: none;
177
+ box-shadow: 0 0 0 2px var(--semiont-color-primary-500);
178
+ border-color: transparent;
179
+ }
180
+
181
+ .semiont-language-select:disabled {
182
+ opacity: 0.5;
183
+ cursor: not-allowed;
184
+ }
185
+
186
+ [data-theme="dark"] .semiont-language-select {
187
+ border-color: var(--semiont-color-gray-600);
188
+ background-color: var(--semiont-color-gray-700);
189
+ color: var(--semiont-color-gray-100);
190
+ }
191
+
192
+ [data-theme="dark"] .semiont-language-select option {
193
+ background-color: var(--semiont-color-gray-700);
194
+ color: var(--semiont-color-gray-100);
195
+ }
196
+ /* ============================================
197
+ Detect Section Form Fields (single-dash BEM variant)
198
+ Used in DetectSection component
199
+ ============================================ */
200
+
201
+ .semiont-form-field {
202
+ display: flex;
203
+ flex-direction: column;
204
+ gap: 0.5rem;
205
+ margin-bottom: 1rem;
206
+ }
207
+
208
+ .semiont-form-field__header {
209
+ display: flex;
210
+ justify-content: space-between;
211
+ align-items: center;
212
+ }
213
+
214
+ .semiont-form-field__label {
215
+ display: block;
216
+ font-size: var(--semiont-text-sm);
217
+ font-weight: var(--semiont-font-medium);
218
+ color: var(--semiont-text-primary);
219
+ }
220
+
221
+ [data-theme="dark"] .semiont-form-field__label {
222
+ color: var(--semiont-text-primary);
223
+ }
224
+
225
+ .semiont-form-field__label--with-checkbox {
226
+ display: flex;
227
+ align-items: center;
228
+ gap: 0.5rem;
229
+ cursor: pointer;
230
+ }
231
+
232
+ .semiont-form-field__info {
233
+ font-size: var(--semiont-text-xs);
234
+ color: var(--semiont-text-tertiary);
235
+ font-weight: var(--semiont-font-medium);
236
+ }
237
+
238
+ [data-theme="dark"] .semiont-form-field__info {
239
+ color: var(--semiont-text-tertiary);
240
+ }
241
+
242
+ .semiont-form-field__char-count {
243
+ font-size: var(--semiont-text-xs);
244
+ color: var(--semiont-text-tertiary);
245
+ text-align: right;
246
+ }
247
+
248
+ [data-theme="dark"] .semiont-form-field__char-count {
249
+ color: var(--semiont-text-tertiary);
250
+ }
251
+
252
+ /* Note: Basic form controls (.semiont-textarea, .semiont-select, .semiont-checkbox)
253
+ are now defined in /styles/core/ as they are fundamental UI elements.
254
+ See: core/textareas.css, core/selects.css, core/checkboxes.css */
@@ -0,0 +1,43 @@
1
+ /* ============================================
2
+ Core UI Elements
3
+
4
+ This is the central import file for all core UI elements.
5
+ These are fundamental, reusable components that can be used
6
+ anywhere in the application.
7
+ ============================================ */
8
+
9
+ /* Buttons - Primary interactive elements */
10
+ @import './buttons.css';
11
+
12
+ /* Toggle switches - On/off switches for settings */
13
+ @import './toggles.css';
14
+
15
+ /* Progress bars - Loading and completion indicators */
16
+ @import './progress.css';
17
+
18
+ /* Range sliders - Input controls for numeric ranges */
19
+ @import './sliders.css';
20
+
21
+ /* Inputs - Text input fields */
22
+ @import './inputs.css';
23
+
24
+ /* Checkboxes - Checkbox input controls */
25
+ @import './checkboxes.css';
26
+
27
+ /* Textareas - Multi-line text input fields */
28
+ @import './textareas.css';
29
+
30
+ /* Selects - Dropdown selection controls */
31
+ @import './selects.css';
32
+
33
+ /* Forms - Form field wrappers and layout structures */
34
+ @import './forms.css';
35
+
36
+ /* Badges - Status and role indicators (Admin, Active, etc.) */
37
+ @import './badges.css';
38
+
39
+ /* Tags - Content labels and metadata */
40
+ @import './tags.css';
41
+
42
+ /* Status indicators - Online/offline/busy dots */
43
+ @import './indicators.css';
@@ -0,0 +1,225 @@
1
+ /* ============================================
2
+ Status Indicators - Core UI Element
3
+
4
+ This is the authoritative source for all status indicator styles.
5
+ Usage: Apply .semiont-indicator with appropriate modifier.
6
+
7
+ Available modifiers:
8
+ - .semiont-indicator--online (green)
9
+ - .semiont-indicator--offline (gray)
10
+ - .semiont-indicator--busy (orange)
11
+ - .semiont-indicator--error (red)
12
+ - .semiont-indicator--pulse (animated)
13
+ ============================================ */
14
+
15
+ /* Base Status Indicator (dot) */
16
+ .semiont-indicator {
17
+ display: inline-block;
18
+ width: 0.5rem;
19
+ height: 0.5rem;
20
+ border-radius: 50%;
21
+ background-color: var(--semiont-color-gray-400);
22
+ position: relative;
23
+ }
24
+
25
+ [data-theme="dark"] .semiont-indicator {
26
+ background-color: var(--semiont-color-gray-600);
27
+ }
28
+
29
+ /* Status Variants */
30
+ .semiont-indicator--online {
31
+ background-color: var(--semiont-color-green-500);
32
+ box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2);
33
+ }
34
+
35
+ [data-theme="dark"] .semiont-indicator--online {
36
+ background-color: var(--semiont-color-green-400);
37
+ box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.2);
38
+ }
39
+
40
+ .semiont-indicator--offline {
41
+ background-color: var(--semiont-color-gray-400);
42
+ box-shadow: 0 0 0 1px rgba(156, 163, 175, 0.2);
43
+ }
44
+
45
+ [data-theme="dark"] .semiont-indicator--offline {
46
+ background-color: var(--semiont-color-gray-600);
47
+ box-shadow: 0 0 0 1px rgba(75, 85, 99, 0.2);
48
+ }
49
+
50
+ .semiont-indicator--busy {
51
+ background-color: var(--semiont-color-amber-500);
52
+ box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2);
53
+ }
54
+
55
+ [data-theme="dark"] .semiont-indicator--busy {
56
+ background-color: var(--semiont-color-amber-400);
57
+ box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2);
58
+ }
59
+
60
+ .semiont-indicator--error {
61
+ background-color: var(--semiont-color-red-500);
62
+ box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
63
+ }
64
+
65
+ [data-theme="dark"] .semiont-indicator--error {
66
+ background-color: var(--semiont-color-red-400);
67
+ box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2);
68
+ }
69
+
70
+ /* Pulse Animation */
71
+ .semiont-indicator--pulse {
72
+ animation: pulse 2s infinite;
73
+ }
74
+
75
+ .semiont-indicator--pulse::before {
76
+ content: '';
77
+ position: absolute;
78
+ inset: 0;
79
+ border-radius: 50%;
80
+ background-color: inherit;
81
+ animation: pulse-ring 2s infinite;
82
+ }
83
+
84
+ @keyframes pulse {
85
+ 0% {
86
+ opacity: 1;
87
+ }
88
+ 50% {
89
+ opacity: 0.5;
90
+ }
91
+ 100% {
92
+ opacity: 1;
93
+ }
94
+ }
95
+
96
+ @keyframes pulse-ring {
97
+ 0% {
98
+ transform: scale(1);
99
+ opacity: 1;
100
+ }
101
+ 50% {
102
+ transform: scale(1.5);
103
+ opacity: 0;
104
+ }
105
+ 100% {
106
+ transform: scale(1);
107
+ opacity: 0;
108
+ }
109
+ }
110
+
111
+ /* Size Variants */
112
+ .semiont-indicator--small {
113
+ width: 0.375rem;
114
+ height: 0.375rem;
115
+ }
116
+
117
+ .semiont-indicator--large {
118
+ width: 0.75rem;
119
+ height: 0.75rem;
120
+ }
121
+
122
+ /* Indicator with Label */
123
+ .semiont-indicator-wrapper {
124
+ display: inline-flex;
125
+ align-items: center;
126
+ gap: 0.5rem;
127
+ }
128
+
129
+ .semiont-indicator__label {
130
+ font-size: var(--semiont-text-sm);
131
+ color: var(--semiont-text-secondary);
132
+ }
133
+
134
+ [data-theme="dark"] .semiont-indicator__label {
135
+ color: var(--semiont-text-secondary);
136
+ }
137
+
138
+ /* Indicator Badge (dot with count) */
139
+ .semiont-indicator-badge {
140
+ position: relative;
141
+ display: inline-block;
142
+ }
143
+
144
+ .semiont-indicator-badge__count {
145
+ position: absolute;
146
+ top: -0.25rem;
147
+ right: -0.25rem;
148
+ min-width: 1rem;
149
+ height: 1rem;
150
+ padding: 0 0.25rem;
151
+ background-color: var(--semiont-color-red-500);
152
+ color: var(--semiont-color-white);
153
+ border-radius: var(--semiont-radius-full);
154
+ font-size: var(--semiont-text-2xs);
155
+ font-weight: var(--semiont-font-bold);
156
+ display: flex;
157
+ align-items: center;
158
+ justify-content: center;
159
+ border: 2px solid var(--semiont-bg-primary);
160
+ }
161
+
162
+ [data-theme="dark"] .semiont-indicator-badge__count {
163
+ background-color: var(--semiont-color-red-400);
164
+ border-color: var(--semiont-bg-primary);
165
+ }
166
+
167
+ /* Connection Status Bar */
168
+ .semiont-connection-status {
169
+ display: inline-flex;
170
+ align-items: center;
171
+ gap: 0.5rem;
172
+ padding: 0.25rem 0.75rem;
173
+ background-color: var(--semiont-bg-secondary);
174
+ border-radius: var(--semiont-radius-full);
175
+ font-size: var(--semiont-text-xs);
176
+ }
177
+
178
+ [data-theme="dark"] .semiont-connection-status {
179
+ background-color: var(--semiont-bg-tertiary);
180
+ }
181
+
182
+ .semiont-connection-status--online {
183
+ background-color: rgba(34, 197, 94, 0.1);
184
+ color: var(--semiont-color-green-700);
185
+ }
186
+
187
+ [data-theme="dark"] .semiont-connection-status--online {
188
+ background-color: rgba(74, 222, 128, 0.1);
189
+ color: var(--semiont-color-green-300);
190
+ }
191
+
192
+ .semiont-connection-status--offline {
193
+ background-color: rgba(156, 163, 175, 0.1);
194
+ color: var(--semiont-color-gray-700);
195
+ }
196
+
197
+ [data-theme="dark"] .semiont-connection-status--offline {
198
+ background-color: rgba(75, 85, 99, 0.1);
199
+ color: var(--semiont-color-gray-300);
200
+ }
201
+
202
+ /* Accessibility - Reduced Motion */
203
+ @media (prefers-reduced-motion: reduce) {
204
+ .semiont-indicator--pulse,
205
+ .semiont-indicator--pulse::before {
206
+ animation: none;
207
+ }
208
+
209
+ .semiont-indicator--pulse {
210
+ opacity: 1;
211
+ }
212
+ }
213
+
214
+ /* Accessibility - Screen Reader Text */
215
+ .semiont-indicator__sr-text {
216
+ position: absolute;
217
+ width: 1px;
218
+ height: 1px;
219
+ padding: 0;
220
+ margin: -1px;
221
+ overflow: hidden;
222
+ clip: rect(0, 0, 0, 0);
223
+ white-space: nowrap;
224
+ border: 0;
225
+ }