@oardi/css-utils 0.119.0 → 0.120.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oardi/css-utils",
3
- "version": "0.119.0",
3
+ "version": "0.120.1",
4
4
  "author": "Ardian Shala",
5
5
  "homepage": "https://css-utils.oardi.com",
6
6
  "description": "Powerful set of semantic css classes with support for breakpoints, directions and spacings",
@@ -20,6 +20,14 @@
20
20
  "sass": "./scss/mixins/breakpoints.scss",
21
21
  "default": "./scss/mixins/breakpoints.scss"
22
22
  },
23
+ "./theme": {
24
+ "sass": "./scss/theme.scss",
25
+ "default": "./scss/theme.scss"
26
+ },
27
+ "./components/*": {
28
+ "sass": "./scss/components/*.scss",
29
+ "default": "./scss/components/*.scss"
30
+ },
23
31
  "./scss/*": "./scss/*"
24
32
  },
25
33
  "files": [
package/readme.md CHANGED
@@ -84,6 +84,8 @@ For custom responsive SCSS, import the breakpoint mixins without loading the lib
84
84
 
85
85
  The Dart Sass CLI uses `@use 'pkg:@oardi/css-utils/breakpoints' as bp;` with `--pkg-importer=node`.
86
86
 
87
+ Import theme values without generating CSS via `@use '@oardi/css-utils/theme' as theme;`. To load one component's styles, use a path such as `@use '@oardi/css-utils/components/button';`. The Dart Sass CLI uses the same paths with a `pkg:` prefix.
88
+
87
89
  ## Browser support
88
90
 
89
91
  The minimum supported versions for the compiled library CSS are:
@@ -72,7 +72,12 @@
72
72
  --form-select-font-size: var(--input-group-font-size);
73
73
  }
74
74
 
75
- > :is(.form-control, .form-select):is(:focus, :focus-visible, .is-focus-visible) {
75
+ > .form-control:focus,
76
+ > .form-control:focus-visible,
77
+ > .form-control.is-focus-visible,
78
+ > .form-select:focus,
79
+ > .form-select:focus-visible,
80
+ > .form-select.is-focus-visible {
76
81
  outline: 0;
77
82
  outline-offset: 0;
78
83
  }