@cfasim-ui/theme 0.3.1 → 0.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfasim-ui/theme",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "CSS theming system for cfasim-ui",
6
6
  "license": "Apache-2.0",
@@ -15,11 +15,20 @@
15
15
  "files": [
16
16
  "src"
17
17
  ],
18
+ "sideEffects": [
19
+ "*.css",
20
+ "./src/all.js"
21
+ ],
18
22
  "exports": {
19
23
  ".": "./src/cfasim.css",
24
+ "./all": "./src/all.js",
20
25
  "./base.css": "./src/base.css",
21
26
  "./theme.css": "./src/theme.css",
22
27
  "./utilities.css": "./src/utilities.css",
23
28
  "./themes/cdc.css": "./src/themes/cdc.css"
29
+ },
30
+ "dependencies": {
31
+ "@cfasim-ui/components": "0.3.2",
32
+ "@cfasim-ui/charts": "0.3.2"
24
33
  }
25
34
  }
package/src/all.js ADDED
@@ -0,0 +1,5 @@
1
+ import "@cfasim-ui/components/style.css";
2
+ import "@cfasim-ui/charts/style.css";
3
+ import "./base.css";
4
+ import "./theme.css";
5
+ import "./utilities.css";
package/src/utilities.css CHANGED
@@ -500,4 +500,19 @@
500
500
  .text-tertiary {
501
501
  color: var(--color-text-tertiary) !important;
502
502
  }
503
+
504
+ /* Visually hidden — hides content visually but keeps it available to
505
+ screen readers. Focusable elements reappear on keyboard focus. */
506
+ .visually-hidden:not(:focus):not(:focus-within):not(:active) {
507
+ position: absolute !important;
508
+ width: 1px !important;
509
+ height: 1px !important;
510
+ padding: 0 !important;
511
+ margin: -1px !important;
512
+ overflow: hidden !important;
513
+ clip: rect(0 0 0 0) !important;
514
+ clip-path: inset(50%) !important;
515
+ white-space: nowrap !important;
516
+ border: 0 !important;
517
+ }
503
518
  }