angular-visuals 0.1.3 → 0.1.4

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,13 +1,14 @@
1
1
  {
2
2
  "name": "angular-visuals",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
7
7
  "peerDependencies": {
8
8
  "@angular/common": ">=21.0.0",
9
9
  "@angular/core": ">=21.0.0",
10
- "@angular/cdk": ">=21.0.0"
10
+ "@angular/cdk": ">=21.0.0",
11
+ "@angular/forms": ">=21.0.0"
11
12
  },
12
13
  "dependencies": {
13
14
  "tslib": "^2.3.0"
@@ -1,9 +1,14 @@
1
+ @import "@angular/cdk/overlay-prebuilt.css";
1
2
  @import "./palette.css";
2
3
  @import "./animations.css";
3
4
  @import "./typography.css";
4
5
  @import "./theme.css";
5
6
 
6
-
7
+ *,
8
+ *::before,
9
+ *::after {
10
+ box-sizing: border-box;
11
+ }
7
12
 
8
13
  .bg-content {
9
14
  background-color: var(--av-color-bg);
@@ -15,14 +20,18 @@
15
20
 
16
21
  html,
17
22
  body {
18
- width: 100dvw;
19
- height: 100dvh;
23
+ min-height: 100%;
24
+ width: 100%;
25
+ }
26
+
27
+ body {
28
+ min-height: 100vh;
29
+ min-height: 100dvh;
20
30
  }
21
31
 
22
32
  *::-webkit-scrollbar {
23
- display: none;
24
- width: 2px;
25
- height: 2px;
33
+ width: .5rem;
34
+ height: .5rem;
26
35
  }
27
36
 
28
37
  *::-webkit-scrollbar-track {
@@ -50,6 +59,7 @@ body {
50
59
 
51
60
  @supports not selector(::-webkit-scrollbar) {
52
61
  body {
53
- scrollbar-color: var(--av-primary-900) var(--av-primary-950);
62
+ scrollbar-color: var(--av-primary-300) transparent;
63
+ scrollbar-width: thin;
54
64
  }
55
65
  }
@@ -372,7 +372,7 @@ declare class AvSwitch implements ControlValueAccessor {
372
372
  rounded: _angular_core.InputSignal<number | "xs" | "sm" | "md" | "lg" | "xl" | "full">;
373
373
  checked: _angular_core.ModelSignal<boolean>;
374
374
  disabled: _angular_core.InputSignal<boolean>;
375
- protected formDisabled: boolean;
375
+ protected readonly formDisabled: _angular_core.WritableSignal<boolean>;
376
376
  readonly isDisabled: _angular_core.Signal<boolean>;
377
377
  readonly themeVars: _angular_core.Signal<Record<string, string>>;
378
378
  private onChange;
@@ -1151,6 +1151,9 @@ interface VisualsConfig {
1151
1151
 
1152
1152
  declare class ThemeService {
1153
1153
  private config;
1154
+ private readonly destroyRef;
1155
+ private readonly document;
1156
+ private readonly isBrowser;
1154
1157
  private readonly colorIntensities;
1155
1158
  readonly mode: _angular_core.WritableSignal<AvThemeMode>;
1156
1159
  readonly systemDark: _angular_core.WritableSignal<boolean>;