yukit-web 0.9.2 → 0.10.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,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.2",
4
+ "version": "0.10.1",
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
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * The toast's close button sits inside its top inline-end corner, instead of over its top-left one, and
3
+ * takes the toast's own colors.
4
+ */
5
+ :root {
6
+ --brn-sonner-toast-close-button-start: auto;
7
+ --brn-sonner-toast-close-button-end: 0.75rem;
8
+ --brn-sonner-toast-close-button-transform: none;
9
+ --brn-sonner-rtl-toast-close-button-start: 0.75rem;
10
+ --brn-sonner-rtl-toast-close-button-end: auto;
11
+ --brn-sonner-rtl-toast-close-button-transform: none;
12
+ --brn-sonner-toast-close-button-background: var(--toast);
13
+ --brn-sonner-toast-close-button-color: var(--toast-foreground);
14
+ --brn-sonner-toast-close-button-border: 1px solid transparent;
15
+ --brn-sonner-toast-close-button-hover-background: var(--toast);
16
+ --brn-sonner-toast-close-button-hover-color: var(--toast-foreground);
17
+ --brn-sonner-toast-close-button-hover-border-color: var(--toast-foreground);
18
+ }
@@ -11,10 +11,12 @@
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';
17
18
  @import './spartan-overwrites/sheet.css';
19
+ @import './spartan-overwrites/sonner.css';
18
20
 
19
21
  @layer base {
20
22
  *,
@@ -27,6 +29,16 @@
27
29
  outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
28
30
  }
29
31
 
32
+ /**
33
+ * Focus rings are drawn inset. `--tw-ring-inset` does not inherit, so it is set on every element a focus variant
34
+ * rings: the focused one, a container through `focus-within`/`has-`, and the descendants of a `group` or
35
+ * `group/day` ringed through `group-has-`/`group-data-`.
36
+ */
37
+ :where(:focus-visible, :focus-within, :has(:focus-visible), [data-focused='true']),
38
+ :where(.group:has(:focus-visible), [class~='group/day'][data-focused='true']) * {
39
+ --tw-ring-inset: inset;
40
+ }
41
+
30
42
  body {
31
43
  background-color: var(--background);
32
44
  color: var(--foreground);