@brickclay-org/ui 0.1.66 → 0.1.67
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/index.d.ts
CHANGED
|
@@ -866,7 +866,7 @@ declare class BkSelect implements ControlValueAccessor, AfterViewInit, OnDestroy
|
|
|
866
866
|
disabled: i0.ModelSignal<boolean>;
|
|
867
867
|
loading: i0.InputSignal<boolean>;
|
|
868
868
|
closeOnSelect: i0.InputSignal<boolean>;
|
|
869
|
-
dropdownPosition: i0.InputSignal<"
|
|
869
|
+
dropdownPosition: i0.InputSignal<"top" | "bottom">;
|
|
870
870
|
hasError: boolean;
|
|
871
871
|
errorMessage: string;
|
|
872
872
|
appendToBody: i0.InputSignal<boolean>;
|
|
@@ -1941,7 +1941,7 @@ declare class BkHierarchicalSelect implements ControlValueAccessor {
|
|
|
1941
1941
|
/** When true, dropdown is positioned fixed and sized to the trigger (use inside modals/popups). */
|
|
1942
1942
|
appendToBody: i0.InputSignal<boolean>;
|
|
1943
1943
|
/** Open above or below the trigger (also used when appendToBody is true for fixed coordinates). */
|
|
1944
|
-
dropdownPosition: i0.InputSignal<"
|
|
1944
|
+
dropdownPosition: i0.InputSignal<"top" | "bottom">;
|
|
1945
1945
|
/** Key for option color (e.g. "color"). When set, option label and selected value use this color. */
|
|
1946
1946
|
colorKey: i0.InputSignal<string>;
|
|
1947
1947
|
/** Whether to show clear button when a value is selected. */
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.toggle-base {
|
|
3
3
|
@apply relative inline-flex items-center rounded-full transition-colors duration-200 ease-in-out border-2 border-transparent;
|
|
4
4
|
/* Focus State (Blue Ring as seen in image) */
|
|
5
|
-
@apply focus:outline-none focus-visible:ring-
|
|
5
|
+
@apply focus:outline-none focus-visible:ring-1 focus-visible:ring-black focus-visible:ring-offset-1;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* --- Colors --- */
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.toggle-on {
|
|
14
|
-
@apply bg-
|
|
14
|
+
@apply bg-gray-800 hover:bg-black; /* Green when on */
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* --- Disabled State (Bottom row of image) --- */
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.simulate-hover.toggle-on {
|
|
85
|
-
@apply bg-
|
|
85
|
+
@apply bg-black; /* Matches the hover color defined in .toggle-on */
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/* Force Focus Appearance (Blue Ring) */
|
|
89
89
|
.simulate-focus {
|
|
90
|
-
@apply ring-2 ring-
|
|
90
|
+
@apply ring-2 ring-black ring-offset-1;
|
|
91
91
|
}
|