yukit-web 0.9.1 → 0.10.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "0.9.1",
4
+ "version": "0.10.0",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -0,0 +1,5 @@
1
+ [data-slot='label'][data-required]::after {
2
+ content: '*' / '';
3
+ margin-inline-start: -0.25rem;
4
+ color: var(--destructive);
5
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  @import './components/button.css';
13
13
  @import './components/button-group.css';
14
+ @import './components/label.css';
14
15
  @import './components/reveal-on-hover.css';
15
16
  @import './components/overflow-list-cell.css';
16
17
  @import './spartan-overwrites/accordion.css';
@@ -27,6 +28,16 @@
27
28
  outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
28
29
  }
29
30
 
31
+ /**
32
+ * Focus rings are drawn inset. `--tw-ring-inset` does not inherit, so it is set on every element a focus variant
33
+ * rings: the focused one, a container through `focus-within`/`has-`, and the descendants of a `group` or
34
+ * `group/day` ringed through `group-has-`/`group-data-`.
35
+ */
36
+ :where(:focus-visible, :focus-within, :has(:focus-visible), [data-focused='true']),
37
+ :where(.group:has(:focus-visible), [class~='group/day'][data-focused='true']) * {
38
+ --tw-ring-inset: inset;
39
+ }
40
+
30
41
  body {
31
42
  background-color: var(--background);
32
43
  color: var(--foreground);