@ship-ui/core 0.16.13 → 0.16.15

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": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.16.13",
4
+ "version": "0.16.15",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=20",
7
7
  "@angular/core": ">=20"
@@ -120,6 +120,11 @@ $shipTable: true !default;
120
120
  div[table-header] tr:first-child th {
121
121
  border-bottom: 0;
122
122
  }
123
+
124
+ .actionbar {
125
+ background-color: var(--base-2);
126
+ border-width: p2r(1 0 0);
127
+ }
123
128
  }
124
129
 
125
130
  width: 100%;
@@ -148,6 +153,41 @@ $shipTable: true !default;
148
153
  }
149
154
  }
150
155
 
156
+ .actionbar {
157
+ display: grid;
158
+ grid-column: 1 / -1;
159
+ align-items: start;
160
+ gap: p2r(8);
161
+ grid-template-rows: 1fr;
162
+ grid-auto-flow: column;
163
+ grid-auto-columns: max-content;
164
+ padding: p2r(8);
165
+ border: 1px solid var(--base-4);
166
+ border-width: p2r(1 0);
167
+ opacity: 1;
168
+
169
+ transition:
170
+ grid-template-rows 300ms ease-out,
171
+ padding 300ms ease-out,
172
+ border-width 300ms ease-out,
173
+ opacity 300ms ease-out;
174
+
175
+ overflow: hidden;
176
+
177
+ &:empty {
178
+ grid-template-rows: 0fr;
179
+ padding-top: 0;
180
+ padding-bottom: 0;
181
+ border-width: 0;
182
+ opacity: 0;
183
+ pointer-events: none;
184
+ }
185
+
186
+ & > * {
187
+ min-height: 0;
188
+ }
189
+ }
190
+
151
191
  tbody {
152
192
  position: relative;
153
193
 
@@ -755,7 +755,7 @@ declare class ShipTable {
755
755
  e: _angular_core.EffectRef;
756
756
  toggleSort(column: string): void;
757
757
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipTable, never>;
758
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipTable, "sh-table", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "sortByColumn": { "alias": "sortByColumn"; "required": false; "isSignal": true; }; }, { "dataChange": "dataChange"; "sortByColumn": "sortByColumnChange"; }, never, ["th", "[thead]", "*", "[table-no-rows]"], true, never>;
758
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipTable, "sh-table", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "sortByColumn": { "alias": "sortByColumn"; "required": false; "isSignal": true; }; }, { "dataChange": "dataChange"; "sortByColumn": "sortByColumnChange"; }, never, ["[actionbar]", "th", "[thead]", "*", "[table-no-rows]"], true, never>;
759
759
  }
760
760
 
761
761
  declare class ShipTabs {