@elasticias/ui 1.0.7 → 1.0.9
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
package/styles/_patterns.scss
CHANGED
|
@@ -1701,6 +1701,13 @@
|
|
|
1701
1701
|
display: inline-flex;
|
|
1702
1702
|
align-items: center;
|
|
1703
1703
|
gap: 10px;
|
|
1704
|
+
/* A pill radius on a box that wraps to five lines is a circle, which is
|
|
1705
|
+
what a long range ("15 jan. 2021 — 7 fév. 2026") did in a narrow
|
|
1706
|
+
column. One line, truncated if it must be. */
|
|
1707
|
+
white-space: nowrap;
|
|
1708
|
+
overflow: hidden;
|
|
1709
|
+
min-width: 0;
|
|
1710
|
+
max-width: 100%;
|
|
1704
1711
|
cursor: pointer;
|
|
1705
1712
|
transition: all var(--t-fast) var(--ease-out);
|
|
1706
1713
|
min-height: 38px;
|
|
@@ -4360,3 +4367,17 @@ input.ef-input[type='number'] {
|
|
|
4360
4367
|
padding: 10px var(--s-4);
|
|
4361
4368
|
}
|
|
4362
4369
|
}
|
|
4370
|
+
|
|
4371
|
+
/* The date trigger's value can be long; on a phone it takes the room it has
|
|
4372
|
+
and truncates rather than wrapping the pill out of shape. */
|
|
4373
|
+
@media (max-width: 767px) {
|
|
4374
|
+
.dp__trigger {
|
|
4375
|
+
width: 100%;
|
|
4376
|
+
justify-content: flex-start;
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
.dp__trigger .dp__value {
|
|
4380
|
+
overflow: hidden;
|
|
4381
|
+
text-overflow: ellipsis;
|
|
4382
|
+
}
|
|
4383
|
+
}
|
package/types/elasticias-ui.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { PipeTransform, OnInit, OnChanges, TemplateRef, EventEmitter, AfterContentInit, OnDestroy, SimpleChanges, InjectionToken, AfterViewInit } from '@angular/core';
|
|
3
3
|
import { Menu } from 'primeng/menu';
|
|
4
4
|
import * as _elasticias_core from '@elasticias/core';
|
|
5
|
-
import { EfModule,
|
|
5
|
+
import { EfModule, EfNavSection, EfNavItem, EfModuleId, EfToast, EfToastAction, EfThemeConfigService } from '@elasticias/core';
|
|
6
6
|
import * as i1 from 'primeng/tooltip';
|
|
7
7
|
import * as _elasticias_screens from '@elasticias/screens';
|
|
8
8
|
import { ScreenContext, EfDetailToolbarAction, EfSearchToolbarAction, EfDataCardColumn, EfDataCardSort, EfDateRange, EfDatePresetKey } from '@elasticias/screens';
|
|
@@ -1383,6 +1383,16 @@ declare class EfAppShellComponent {
|
|
|
1383
1383
|
/** Five tabs is what fits a phone; the rest live in the sheet. */
|
|
1384
1384
|
readonly tabs: _angular_core.Signal<EfModule[]>;
|
|
1385
1385
|
readonly allVisible: _angular_core.Signal<readonly EfModule[]>;
|
|
1386
|
+
/**
|
|
1387
|
+
* The screens inside the active module, for the mobile sheet.
|
|
1388
|
+
*
|
|
1389
|
+
* On a phone the side nav is not rendered, and the tab bar switches
|
|
1390
|
+
* modules — so without this there was no way to reach any screen except
|
|
1391
|
+
* the module's default one. Same filtering as `ef-module-side`, because
|
|
1392
|
+
* it answers the same question.
|
|
1393
|
+
*/
|
|
1394
|
+
readonly moduleSections: _angular_core.Signal<EfNavSection[]>;
|
|
1395
|
+
onNavigate(item: EfNavItem): void;
|
|
1386
1396
|
openSwitcher(): void;
|
|
1387
1397
|
onSwitcherChange(open: boolean): void;
|
|
1388
1398
|
onSelect(module: EfModule): void;
|