@brickclay-org/ui 0.1.69 → 0.1.70

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<"bottom" | "top">;
869
+ dropdownPosition: i0.InputSignal<"top" | "bottom">;
870
870
  hasError: boolean;
871
871
  errorMessage: string;
872
872
  appendToBody: i0.InputSignal<boolean>;
@@ -1963,7 +1963,7 @@ declare class BkHierarchicalSelect implements ControlValueAccessor {
1963
1963
  /** When true, dropdown is positioned fixed and sized to the trigger (use inside modals/popups). */
1964
1964
  appendToBody: i0.InputSignal<boolean>;
1965
1965
  /** Open above or below the trigger (also used when appendToBody is true for fixed coordinates). */
1966
- dropdownPosition: i0.InputSignal<"bottom" | "top">;
1966
+ dropdownPosition: i0.InputSignal<"top" | "bottom">;
1967
1967
  /** Key for option color (e.g. "color"). When set, option label and selected value use this color. */
1968
1968
  colorKey: i0.InputSignal<string>;
1969
1969
  /** Whether to show clear button when a value is selected. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brickclay-org/ui",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-add": {
6
6
  "save": "dependencies"
@@ -7,7 +7,7 @@
7
7
  Grid layout: columns flow horizontally and size to content
8
8
  (auto-cols-max), matching the old flex row while giving grid control. */
9
9
  .tabs-list {
10
- @apply grid grid-flow-col auto-cols-max gap-0 list-none m-0 px-0 py-0.5;
10
+ @apply grid grid-flow-col auto-cols-max gap-[4px] list-none m-0 px-0 py-0.5;
11
11
  }
12
12
 
13
13
  /* Tab Item */
@@ -29,9 +29,14 @@
29
29
  }
30
30
 
31
31
  /* Tab Button - Hover State */
32
- /* .tabs-button:hover:not(:disabled):not(.tabs-button--active) {
33
- @apply text-[#141414] bg-[#F9FAFA];
34
- } */
32
+ .tabs-button:hover:not(:disabled):not(.tabs-button--active) {
33
+ @apply text-[#141414] bg-[#EDEEF0];
34
+ }
35
+
36
+ /* Vertical (default variant): 9px top/bottom padding on stacked tabs */
37
+ .tabs-list--vertical .tabs-button {
38
+ @apply py-[9px];
39
+ }
35
40
 
36
41
  /* Tab Button - Active State */
37
42
  .tabs-button--active {
@@ -71,22 +76,26 @@
71
76
  @apply whitespace-nowrap;
72
77
  }
73
78
 
74
-
75
79
  /* =========================================================
76
80
  Segmented variant (pill-in-a-track)
77
81
  Colors are driven by CSS vars set per-usage via [colors],
78
82
  falling back to the default design tokens.
79
83
  ========================================================= */
80
84
 
81
- /* Track / wrapper — default background; override via colors.wrapper (use ! classes). */
85
+ /* Track / wrapper — default background; override via colors.wrapper (use ! classes).
86
+ overflow-x-auto lets the pill row scroll horizontally when there are more
87
+ tabs than fit, instead of squishing them until the labels overlap. */
82
88
  .tabs-container--segmented {
83
- @apply p-[3px] rounded-md w-full md:w-auto;
89
+ @apply p-[3px] rounded-md w-full md:w-auto overflow-x-auto;
84
90
  background: #54578E12;
85
91
  }
86
92
 
87
- /* Pill row — equal-width columns (auto-cols-fr) replace the old flex-1. */
93
+ /* Pill row — columns are minmax(max-content, 1fr): they share the track
94
+ equally while they fit (like the old auto-cols-fr), but never shrink below
95
+ their content, so a long list overflows the track and scrolls. */
88
96
  .tabs-list--segmented {
89
- @apply grid grid-flow-col auto-cols-fr items-center gap-2 rounded-md font-medium text-sm leading-4 w-full sm:w-auto py-0;
97
+ @apply grid grid-flow-col items-center gap-2 rounded-md font-medium text-sm leading-4 w-full sm:w-auto py-0;
98
+ grid-auto-columns: minmax(max-content, 1fr);
90
99
  color: #6B7080;
91
100
  }
92
101
 
@@ -121,4 +130,6 @@
121
130
  /* Left-align pill content in the vertical segmented layout */
122
131
  .tabs-list--segmented-vertical .tabs-button--segmented {
123
132
  @apply justify-start text-left;
124
- }
133
+ }
134
+
135
+ /* Testing */