@eagami/ui 5.81.0 → 5.82.0
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/fesm2022/eagami-ui.mjs +23 -4
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +10 -0
package/fesm2022/eagami-ui.mjs
CHANGED
|
@@ -19862,7 +19862,7 @@ var EagamiWordmarkComponent = class EagamiWordmarkComponent {
|
|
|
19862
19862
|
},
|
|
19863
19863
|
ngImport: i0,
|
|
19864
19864
|
template: "@if (linked()) {\n <a\n class=\"ea-eagami-wordmark\"\n [class.ea-eagami-wordmark--inline]=\"layout() === 'inline'\"\n [class.ea-eagami-wordmark--tagline]=\"showTagline()\"\n href=\"https://eagami.com\"\n target=\"_blank\"\n rel=\"noopener\"\n [attr.aria-label]=\"ariaLabel()\">\n <ng-container [ngTemplateOutlet]=\"lockup\" />\n </a>\n} @else {\n <span\n class=\"ea-eagami-wordmark\"\n [class.ea-eagami-wordmark--inline]=\"layout() === 'inline'\"\n [class.ea-eagami-wordmark--tagline]=\"showTagline()\">\n <ng-container [ngTemplateOutlet]=\"lockup\" />\n </span>\n}\n\n<ng-template #lockup>\n <ea-icon-eagami\n class=\"ea-eagami-wordmark__logo\"\n aria-hidden=\"true\" />\n\n <span class=\"ea-eagami-wordmark__text\">\n @if (showOverline()) {\n <span class=\"ea-eagami-wordmark__overline\">\n {{ i18n.messages().wordmark.overline }}\n </span>\n }\n <span class=\"ea-eagami-wordmark__brand\">{{ brandText() }}</span>\n @if (showTagline()) {\n @if (layout() === 'inline') {\n <span\n class=\"ea-eagami-wordmark__separator\"\n aria-hidden=\"true\">\n —\n </span>\n }\n <span class=\"ea-eagami-wordmark__tagline\">\n {{ i18n.messages().wordmark.tagline }}\n </span>\n }\n </span>\n</ng-template>\n",
|
|
19865
|
-
styles: ["
|
|
19865
|
+
styles: [":host{display:inline-flex;line-height:var(--line-height-none)}.ea-eagami-wordmark{display:inline-flex;align-items:center;gap:.125em;border-radius:var(--radius-sm);color:var(--ea-eagami-wordmark-color, var(--color-text-primary));text-decoration:none;transition:var(--transition-opacity)}.ea-eagami-wordmark:any-link:hover{opacity:.75}.ea-eagami-wordmark:any-link:focus-visible{outline:none;outline:var(--border-width-medium) solid var(--color-border-focus);outline-offset:2px}@media(forced-colors:active){.ea-eagami-wordmark:any-link:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-eagami-wordmark__logo{flex-shrink:0;font-size:1.5em;forced-color-adjust:none}.ea-eagami-wordmark__text{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:var(--line-height-tight)}.ea-eagami-wordmark__overline,.ea-eagami-wordmark__brand,.ea-eagami-wordmark__tagline{white-space:nowrap;text-transform:lowercase}.ea-eagami-wordmark__overline,.ea-eagami-wordmark__separator,.ea-eagami-wordmark__tagline{font-size:.4em;font-weight:var(--font-weight-regular);letter-spacing:var(--letter-spacing-wide);font-family:var(--font-family-sans);color:var(--color-text-secondary)}.ea-eagami-wordmark__overline{margin-bottom:-.375em;color:var(--ea-eagami-wordmark-overline-color, var(--color-text-secondary))}.ea-eagami-wordmark__brand{font-size:1em;font-weight:var(--font-weight-medium);letter-spacing:var(--letter-spacing-wide);font-family:Syne,Syne Fallback,system-ui,sans-serif}.ea-eagami-wordmark--tagline .ea-eagami-wordmark__text{transform:translateY(-.125em)}.ea-eagami-wordmark--inline .ea-eagami-wordmark__text{flex-direction:row;align-items:baseline;gap:.4em;transform:none}.ea-eagami-wordmark--inline .ea-eagami-wordmark__overline,.ea-eagami-wordmark--inline .ea-eagami-wordmark__separator,.ea-eagami-wordmark--inline .ea-eagami-wordmark__tagline{margin-bottom:0;font-size:1em}\n"],
|
|
19866
19866
|
dependencies: [{
|
|
19867
19867
|
kind: "component",
|
|
19868
19868
|
type: EagamiIconComponent,
|
|
@@ -19897,7 +19897,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19897
19897
|
"[style.font-size]": "resolvedSize()"
|
|
19898
19898
|
},
|
|
19899
19899
|
template: "@if (linked()) {\n <a\n class=\"ea-eagami-wordmark\"\n [class.ea-eagami-wordmark--inline]=\"layout() === 'inline'\"\n [class.ea-eagami-wordmark--tagline]=\"showTagline()\"\n href=\"https://eagami.com\"\n target=\"_blank\"\n rel=\"noopener\"\n [attr.aria-label]=\"ariaLabel()\">\n <ng-container [ngTemplateOutlet]=\"lockup\" />\n </a>\n} @else {\n <span\n class=\"ea-eagami-wordmark\"\n [class.ea-eagami-wordmark--inline]=\"layout() === 'inline'\"\n [class.ea-eagami-wordmark--tagline]=\"showTagline()\">\n <ng-container [ngTemplateOutlet]=\"lockup\" />\n </span>\n}\n\n<ng-template #lockup>\n <ea-icon-eagami\n class=\"ea-eagami-wordmark__logo\"\n aria-hidden=\"true\" />\n\n <span class=\"ea-eagami-wordmark__text\">\n @if (showOverline()) {\n <span class=\"ea-eagami-wordmark__overline\">\n {{ i18n.messages().wordmark.overline }}\n </span>\n }\n <span class=\"ea-eagami-wordmark__brand\">{{ brandText() }}</span>\n @if (showTagline()) {\n @if (layout() === 'inline') {\n <span\n class=\"ea-eagami-wordmark__separator\"\n aria-hidden=\"true\">\n —\n </span>\n }\n <span class=\"ea-eagami-wordmark__tagline\">\n {{ i18n.messages().wordmark.tagline }}\n </span>\n }\n </span>\n</ng-template>\n",
|
|
19900
|
-
styles: ["
|
|
19900
|
+
styles: [":host{display:inline-flex;line-height:var(--line-height-none)}.ea-eagami-wordmark{display:inline-flex;align-items:center;gap:.125em;border-radius:var(--radius-sm);color:var(--ea-eagami-wordmark-color, var(--color-text-primary));text-decoration:none;transition:var(--transition-opacity)}.ea-eagami-wordmark:any-link:hover{opacity:.75}.ea-eagami-wordmark:any-link:focus-visible{outline:none;outline:var(--border-width-medium) solid var(--color-border-focus);outline-offset:2px}@media(forced-colors:active){.ea-eagami-wordmark:any-link:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-eagami-wordmark__logo{flex-shrink:0;font-size:1.5em;forced-color-adjust:none}.ea-eagami-wordmark__text{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:var(--line-height-tight)}.ea-eagami-wordmark__overline,.ea-eagami-wordmark__brand,.ea-eagami-wordmark__tagline{white-space:nowrap;text-transform:lowercase}.ea-eagami-wordmark__overline,.ea-eagami-wordmark__separator,.ea-eagami-wordmark__tagline{font-size:.4em;font-weight:var(--font-weight-regular);letter-spacing:var(--letter-spacing-wide);font-family:var(--font-family-sans);color:var(--color-text-secondary)}.ea-eagami-wordmark__overline{margin-bottom:-.375em;color:var(--ea-eagami-wordmark-overline-color, var(--color-text-secondary))}.ea-eagami-wordmark__brand{font-size:1em;font-weight:var(--font-weight-medium);letter-spacing:var(--letter-spacing-wide);font-family:Syne,Syne Fallback,system-ui,sans-serif}.ea-eagami-wordmark--tagline .ea-eagami-wordmark__text{transform:translateY(-.125em)}.ea-eagami-wordmark--inline .ea-eagami-wordmark__text{flex-direction:row;align-items:baseline;gap:.4em;transform:none}.ea-eagami-wordmark--inline .ea-eagami-wordmark__overline,.ea-eagami-wordmark--inline .ea-eagami-wordmark__separator,.ea-eagami-wordmark--inline .ea-eagami-wordmark__tagline{margin-bottom:0;font-size:1em}\n"]
|
|
19901
19901
|
}]
|
|
19902
19902
|
}],
|
|
19903
19903
|
propDecorators: {
|
|
@@ -21700,6 +21700,7 @@ var LineChartComponent = class LineChartComponent {
|
|
|
21700
21700
|
curve = input("linear", ...ngDevMode ? [{ debugName: "curve" }] : /* istanbul ignore next */ []);
|
|
21701
21701
|
showArea = input(false, ...ngDevMode ? [{ debugName: "showArea" }] : /* istanbul ignore next */ []);
|
|
21702
21702
|
showPoints = input(true, ...ngDevMode ? [{ debugName: "showPoints" }] : /* istanbul ignore next */ []);
|
|
21703
|
+
connectGaps = input(false, ...ngDevMode ? [{ debugName: "connectGaps" }] : /* istanbul ignore next */ []);
|
|
21703
21704
|
showGrid = input(true, ...ngDevMode ? [{ debugName: "showGrid" }] : /* istanbul ignore next */ []);
|
|
21704
21705
|
showLegend = input(true, ...ngDevMode ? [{ debugName: "showLegend" }] : /* istanbul ignore next */ []);
|
|
21705
21706
|
yMin = input(void 0, ...ngDevMode ? [{ debugName: "yMin" }] : /* istanbul ignore next */ []);
|
|
@@ -21791,14 +21792,17 @@ var LineChartComponent = class LineChartComponent {
|
|
|
21791
21792
|
}), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
21792
21793
|
runs = computed(() => {
|
|
21793
21794
|
const positions = this.positions();
|
|
21795
|
+
const connectGaps = this.connectGaps();
|
|
21794
21796
|
return this.series().map((s) => {
|
|
21795
21797
|
const runs = [];
|
|
21796
21798
|
let run = [];
|
|
21797
21799
|
positions.forEach((position, index) => {
|
|
21798
21800
|
const value = s.data[index];
|
|
21799
21801
|
if (!this.isValue(value) || !isFinite(position)) {
|
|
21800
|
-
if (run.length)
|
|
21801
|
-
|
|
21802
|
+
if (!connectGaps && run.length) {
|
|
21803
|
+
runs.push(run);
|
|
21804
|
+
run = [];
|
|
21805
|
+
}
|
|
21802
21806
|
return;
|
|
21803
21807
|
}
|
|
21804
21808
|
run.push({
|
|
@@ -22481,6 +22485,13 @@ var LineChartComponent = class LineChartComponent {
|
|
|
22481
22485
|
isRequired: false,
|
|
22482
22486
|
transformFunction: null
|
|
22483
22487
|
},
|
|
22488
|
+
connectGaps: {
|
|
22489
|
+
classPropertyName: "connectGaps",
|
|
22490
|
+
publicName: "connectGaps",
|
|
22491
|
+
isSignal: true,
|
|
22492
|
+
isRequired: false,
|
|
22493
|
+
transformFunction: null
|
|
22494
|
+
},
|
|
22484
22495
|
showGrid: {
|
|
22485
22496
|
classPropertyName: "showGrid",
|
|
22486
22497
|
publicName: "showGrid",
|
|
@@ -22718,6 +22729,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22718
22729
|
required: false
|
|
22719
22730
|
}]
|
|
22720
22731
|
}],
|
|
22732
|
+
connectGaps: [{
|
|
22733
|
+
type: i0.Input,
|
|
22734
|
+
args: [{
|
|
22735
|
+
isSignal: true,
|
|
22736
|
+
alias: "connectGaps",
|
|
22737
|
+
required: false
|
|
22738
|
+
}]
|
|
22739
|
+
}],
|
|
22721
22740
|
showGrid: [{
|
|
22722
22741
|
type: i0.Input,
|
|
22723
22742
|
args: [{
|