@eui/components 17.0.1-snapshot-1701096824737 → 17.0.1-snapshot-1701254423874
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/directives/eui-smooth-scroll.directive.d.ts +0 -1
- package/directives/eui-smooth-scroll.directive.d.ts.map +1 -1
- package/docs/components/EuiAppTopMessageComponent.html +24 -0
- package/docs/components/EuiBadgeComponent.html +1 -1
- package/docs/components/EuiButtonComponent.html +54 -372
- package/docs/components/EuiButtonGroupComponent.html +65 -829
- package/docs/components/EuiButtonsComponent.html +25 -1
- package/docs/components/EuiCardComponent.html +59 -574
- package/docs/components/EuiChipComponent.html +34 -124
- package/docs/components/EuiChipListComponent.html +24 -0
- package/docs/components/EuiDatepickerComponent.html +24 -0
- package/docs/components/EuiDialogComponent.html +37 -0
- package/docs/components/EuiDiscussionThreadComponent.html +100 -1
- package/docs/components/EuiDiscussionThreadItemComponent.html +100 -1
- package/docs/components/EuiDropdownComponent.html +24 -0
- package/docs/components/EuiFeedbackMessageComponent.html +24 -0
- package/docs/components/EuiFooterComponent.html +24 -0
- package/docs/components/EuiIconComponent.html +24 -0
- package/docs/components/EuiIconSvgComponent.html +25 -1
- package/docs/components/EuiLabelComponent.html +24 -0
- package/docs/components/EuiLanguageSelectorComponent.html +24 -0
- package/docs/components/EuiListComponent.html +24 -0
- package/docs/components/EuiListItemComponent.html +24 -0
- package/docs/components/EuiMessageBoxComponent.html +37 -0
- package/docs/components/EuiOverlayBodyComponent.html +24 -0
- package/docs/components/EuiOverlayComponent.html +24 -0
- package/docs/components/EuiOverlayFooterComponent.html +24 -0
- package/docs/components/EuiOverlayHeaderComponent.html +24 -0
- package/docs/components/EuiOverlayHeaderTitleComponent.html +24 -0
- package/docs/components/EuiPageColumnComponent.html +24 -0
- package/docs/components/EuiPageFooterComponent.html +24 -0
- package/docs/components/EuiPageTopContentComponent.html +24 -0
- package/docs/components/EuiPopoverComponent.html +37 -0
- package/docs/components/EuiProgressCircleComponent.html +24 -0
- package/docs/components/EuiSlideToggleComponent.html +24 -0
- package/docs/components/EuiTabComponent.html +37 -0
- package/docs/components/EuiTableComponent.html +24 -0
- package/docs/components/EuiTableFilterComponent.html +24 -0
- package/docs/components/EuiTextareaComponent.html +37 -0
- package/docs/components/EuiToolbarItemsComponent.html +24 -0
- package/docs/components/EuiTreeComponent.html +26 -2
- package/docs/components/EuiUserProfileComponent.html +44 -9
- package/docs/dependencies.html +2 -2
- package/docs/directives/BaseDirective.html +57 -0
- package/docs/directives/BaseStatesDirective.html +138 -0
- package/docs/directives/EuiButtonsActionsContentTagDirective.html +119 -7
- package/docs/directives/EuiButtonsLocalMenuContentTagDirective.html +119 -7
- package/docs/directives/EuiSmoothScrollToDirective.html +0 -13
- package/docs/js/menu-wc.js +18 -18
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2022/directives/eui-smooth-scroll.directive.mjs +2 -3
- package/esm2022/eui-avatar/eui-avatar.component.mjs +2 -2
- package/esm2022/eui-badge/eui-badge.component.mjs +8 -3
- package/esm2022/eui-button/eui-button.component.mjs +23 -54
- package/esm2022/eui-button-group/eui-button-group.component.mjs +18 -31
- package/esm2022/eui-buttons/eui-buttons.component.mjs +19 -7
- package/esm2022/eui-card/eui-card.component.mjs +36 -87
- package/esm2022/eui-chip/eui-chip.component.mjs +23 -34
- package/esm2022/eui-dashboard-button/eui-dashboard-button.component.mjs +2 -2
- package/esm2022/eui-discussion-thread/eui-discussion-thread-item.component.mjs +9 -5
- package/esm2022/eui-discussion-thread/eui-discussion-thread.component.mjs +11 -5
- package/esm2022/eui-fieldset/eui-fieldset.component.mjs +2 -2
- package/esm2022/eui-icon/eui-icon-svg.component.mjs +3 -3
- package/esm2022/eui-icon/eui-icon.component.mjs +2 -2
- package/esm2022/eui-select/eui-select.component.mjs +2 -1
- package/esm2022/eui-tabs/eui-tab/eui-tab.component.mjs +2 -2
- package/esm2022/eui-tabs/eui-tabs.component.mjs +2 -2
- package/esm2022/eui-tree/eui-tree-helper.mjs +7 -4
- package/esm2022/eui-tree/eui-tree.component.mjs +119 -63
- package/esm2022/eui-tree/eui-tree.model.mjs +1 -1
- package/esm2022/layout/eui-notifications/eui-notifications.component.mjs +2 -2
- package/esm2022/layout/eui-notifications-v2/eui-notifications.component.mjs +2 -2
- package/esm2022/layout/eui-user-profile/user-profile.component.mjs +27 -38
- package/esm2022/shared/base/base-states.directive.mjs +22 -8
- package/esm2022/shared/base/base.directive.mjs +9 -8
- package/eui-badge/eui-badge.component.d.ts +1 -1
- package/eui-badge/eui-badge.component.d.ts.map +1 -1
- package/eui-button/eui-button.component.d.ts +13 -20
- package/eui-button/eui-button.component.d.ts.map +1 -1
- package/eui-button-group/eui-button-group.component.d.ts +6 -11
- package/eui-button-group/eui-button-group.component.d.ts.map +1 -1
- package/eui-buttons/eui-buttons.component.d.ts +2 -0
- package/eui-buttons/eui-buttons.component.d.ts.map +1 -1
- package/eui-card/eui-card.component.d.ts +16 -32
- package/eui-card/eui-card.component.d.ts.map +1 -1
- package/eui-chip/eui-chip.component.d.ts +7 -10
- package/eui-chip/eui-chip.component.d.ts.map +1 -1
- package/eui-discussion-thread/eui-discussion-thread-item.component.d.ts +1 -0
- package/eui-discussion-thread/eui-discussion-thread-item.component.d.ts.map +1 -1
- package/eui-discussion-thread/eui-discussion-thread.component.d.ts +1 -0
- package/eui-discussion-thread/eui-discussion-thread.component.d.ts.map +1 -1
- package/eui-icon/eui-icon-svg.component.d.ts +1 -1
- package/eui-icon/eui-icon-svg.component.d.ts.map +1 -1
- package/eui-select/eui-select.component.d.ts.map +1 -1
- package/eui-tree/eui-tree-helper.d.ts.map +1 -1
- package/eui-tree/eui-tree.component.d.ts +3 -1
- package/eui-tree/eui-tree.component.d.ts.map +1 -1
- package/eui-tree/eui-tree.model.d.ts +1 -0
- package/eui-tree/eui-tree.model.d.ts.map +1 -1
- package/fesm2022/eui-components-directives.mjs +1 -2
- package/fesm2022/eui-components-directives.mjs.map +1 -1
- package/fesm2022/eui-components-eui-avatar.mjs +2 -2
- package/fesm2022/eui-components-eui-avatar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-badge.mjs +7 -2
- package/fesm2022/eui-components-eui-badge.mjs.map +1 -1
- package/fesm2022/eui-components-eui-button-group.mjs +17 -30
- package/fesm2022/eui-components-eui-button-group.mjs.map +1 -1
- package/fesm2022/eui-components-eui-button.mjs +22 -53
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-buttons.mjs +18 -6
- package/fesm2022/eui-components-eui-buttons.mjs.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +35 -82
- package/fesm2022/eui-components-eui-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-chip.mjs +22 -33
- package/fesm2022/eui-components-eui-chip.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dashboard-button.mjs +2 -2
- package/fesm2022/eui-components-eui-dashboard-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-discussion-thread.mjs +17 -7
- package/fesm2022/eui-components-eui-discussion-thread.mjs.map +1 -1
- package/fesm2022/eui-components-eui-fieldset.mjs +2 -2
- package/fesm2022/eui-components-eui-fieldset.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon.mjs +4 -4
- package/fesm2022/eui-components-eui-icon.mjs.map +1 -1
- package/fesm2022/eui-components-eui-select.mjs +1 -0
- package/fesm2022/eui-components-eui-select.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tabs.mjs +4 -4
- package/fesm2022/eui-components-eui-tabs.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tree.mjs +124 -65
- package/fesm2022/eui-components-eui-tree.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +98 -108
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components-shared-base.mjs +28 -13
- package/fesm2022/eui-components-shared-base.mjs.map +1 -1
- package/layout/eui-user-profile/user-profile.component.d.ts +19 -11
- package/layout/eui-user-profile/user-profile.component.d.ts.map +1 -1
- package/package.json +7 -7
- package/shared/base/base-states.directive.d.ts +5 -1
- package/shared/base/base-states.directive.d.ts.map +1 -1
- package/shared/base/base.directive.d.ts +1 -0
- package/shared/base/base.directive.d.ts.map +1 -1
@@ -766,7 +766,6 @@ function applyMixins(derivedCtor, constructors) {
|
|
766
766
|
}
|
767
767
|
|
768
768
|
const BaseComponentMixinBase = mixinEuiPrimary(mixinEuiSecondary(mixinEuiInfo(mixinEuiSuccess(mixinEuiWarning(mixinEuiDisabled())))));
|
769
|
-
// export class BaseDirective extends BaseComponentMixinBase {
|
770
769
|
class BaseDirective {
|
771
770
|
constructor() {
|
772
771
|
this._euiPrimary = false;
|
@@ -797,6 +796,9 @@ class BaseDirective {
|
|
797
796
|
this._euiClearable = false;
|
798
797
|
this._euiLoading = false;
|
799
798
|
}
|
799
|
+
get ariaDisabled() {
|
800
|
+
return this._euiDisabled ? true : null;
|
801
|
+
}
|
800
802
|
// COLORS
|
801
803
|
get euiPrimary() {
|
802
804
|
return coerceBooleanProperty(this._euiPrimary);
|
@@ -1014,18 +1016,17 @@ class BaseDirective {
|
|
1014
1016
|
.trim();
|
1015
1017
|
}
|
1016
1018
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: BaseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1017
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: BaseDirective, selector: "[euiBase]", inputs: { e2eAttr: "e2eAttr", styleClass: "styleClass", euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: "euiRounded", euiOutline: "euiOutline", euiCompact: "euiCompact", euiDisabled: "euiDisabled", euiResponsive: "euiResponsive", euiHighlighted: "euiHighlighted", euiClearable: "euiClearable", euiLoading: "euiLoading" }, host: { properties: { "attr.aria-disabled": "this.
|
1019
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: BaseDirective, selector: "[euiBase]", inputs: { e2eAttr: "e2eAttr", styleClass: "styleClass", euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: "euiRounded", euiOutline: "euiOutline", euiCompact: "euiCompact", euiDisabled: "euiDisabled", euiResponsive: "euiResponsive", euiHighlighted: "euiHighlighted", euiClearable: "euiClearable", euiLoading: "euiLoading" }, host: { properties: { "attr.aria-disabled": "this.ariaDisabled", "attr.data-e2e": "this.e2eAttr" } }, ngImport: i0 }); }
|
1018
1020
|
}
|
1019
1021
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: BaseDirective, decorators: [{
|
1020
1022
|
type: Directive,
|
1021
1023
|
args: [{
|
1022
1024
|
selector: '[euiBase]',
|
1023
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
1024
|
-
host: {
|
1025
|
-
'[attr.aria-disabled]': 'this._euiDisabled.toString()',
|
1026
|
-
},
|
1027
1025
|
}]
|
1028
|
-
}], propDecorators: {
|
1026
|
+
}], propDecorators: { ariaDisabled: [{
|
1027
|
+
type: HostBinding,
|
1028
|
+
args: ['attr.aria-disabled']
|
1029
|
+
}], e2eAttr: [{
|
1029
1030
|
type: HostBinding,
|
1030
1031
|
args: ['attr.data-e2e']
|
1031
1032
|
}, {
|
@@ -1103,6 +1104,7 @@ class BaseStatesDirective {
|
|
1103
1104
|
this.euiInverted = false;
|
1104
1105
|
this._euiPrimary = false;
|
1105
1106
|
this._euiSecondary = false;
|
1107
|
+
this._euiSecondaryLight = false;
|
1106
1108
|
this._euiInfo = false;
|
1107
1109
|
this._euiSuccess = false;
|
1108
1110
|
this._euiWarning = false;
|
@@ -1121,6 +1123,9 @@ class BaseStatesDirective {
|
|
1121
1123
|
this._euiSizeVariant = '';
|
1122
1124
|
this._euiVariant = '';
|
1123
1125
|
}
|
1126
|
+
get ariaDisabled() {
|
1127
|
+
return this.euiDisabled ? true : null;
|
1128
|
+
}
|
1124
1129
|
// COLORS
|
1125
1130
|
get euiPrimary() {
|
1126
1131
|
return this._euiPrimary;
|
@@ -1136,6 +1141,13 @@ class BaseStatesDirective {
|
|
1136
1141
|
this._euiSecondary = coerceBooleanProperty(value);
|
1137
1142
|
this._euiVariant = 'secondary';
|
1138
1143
|
}
|
1144
|
+
get euiSecondaryLight() {
|
1145
|
+
return this._euiSecondaryLight;
|
1146
|
+
}
|
1147
|
+
set euiSecondaryLight(value) {
|
1148
|
+
this._euiSecondaryLight = coerceBooleanProperty(value);
|
1149
|
+
this._euiVariant = 'secondaryLight';
|
1150
|
+
}
|
1139
1151
|
get euiInfo() {
|
1140
1152
|
return this._euiInfo;
|
1141
1153
|
}
|
@@ -1177,6 +1189,7 @@ class BaseStatesDirective {
|
|
1177
1189
|
set euiVariant(value) {
|
1178
1190
|
this.euiPrimary = value === 'primary';
|
1179
1191
|
this.euiSecondary = value === 'secondary';
|
1192
|
+
this.euiSecondaryLight = value === 'secondaryLight';
|
1180
1193
|
this.euiWarning = value === 'warning';
|
1181
1194
|
this.euiInfo = value === 'info';
|
1182
1195
|
this.euiSuccess = value === 'success';
|
@@ -1276,6 +1289,7 @@ class BaseStatesDirective {
|
|
1276
1289
|
rootClass,
|
1277
1290
|
this.euiPrimary ? `${rootClass}--primary` : '',
|
1278
1291
|
this.euiSecondary ? `${rootClass}--secondary` : '',
|
1292
|
+
this.euiSecondaryLight ? `${rootClass}--secondary-light` : '',
|
1279
1293
|
this.euiInfo ? `${rootClass}--info` : '',
|
1280
1294
|
this.euiSuccess ? `${rootClass}--success` : '',
|
1281
1295
|
this.euiWarning ? `${rootClass}--warning` : '',
|
@@ -1305,7 +1319,7 @@ class BaseStatesDirective {
|
|
1305
1319
|
.trim();
|
1306
1320
|
}
|
1307
1321
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: BaseStatesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1308
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: BaseStatesDirective, isStandalone: true, selector: "[euiBase]", inputs: { euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: "euiRounded", euiOutline: "euiOutline", euiCompact: "euiCompact", euiDisabled: "euiDisabled", euiResponsive: "euiResponsive", euiHighlighted: "euiHighlighted", euiClearable: "euiClearable", euiLoading: "euiLoading", euiInverted: "euiInverted" }, host: { properties: { "attr.aria-disabled": "this.
|
1322
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: BaseStatesDirective, isStandalone: true, selector: "[euiBase]", inputs: { euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiSecondaryLight: "euiSecondaryLight", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: "euiRounded", euiOutline: "euiOutline", euiCompact: "euiCompact", euiDisabled: "euiDisabled", euiResponsive: "euiResponsive", euiHighlighted: "euiHighlighted", euiClearable: "euiClearable", euiLoading: "euiLoading", euiInverted: "euiInverted" }, host: { properties: { "attr.aria-disabled": "this.ariaDisabled" } }, ngImport: i0 }); }
|
1309
1323
|
}
|
1310
1324
|
__decorate([
|
1311
1325
|
coerceBoolean
|
@@ -1339,15 +1353,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
1339
1353
|
args: [{
|
1340
1354
|
standalone: true,
|
1341
1355
|
selector: '[euiBase]',
|
1342
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
1343
|
-
host: {
|
1344
|
-
'[attr.aria-disabled]': 'this.euiDisabled.toString()',
|
1345
|
-
},
|
1346
1356
|
}]
|
1347
|
-
}], propDecorators: {
|
1357
|
+
}], propDecorators: { ariaDisabled: [{
|
1358
|
+
type: HostBinding,
|
1359
|
+
args: ['attr.aria-disabled']
|
1360
|
+
}], euiPrimary: [{
|
1348
1361
|
type: Input
|
1349
1362
|
}], euiSecondary: [{
|
1350
1363
|
type: Input
|
1364
|
+
}], euiSecondaryLight: [{
|
1365
|
+
type: Input
|
1351
1366
|
}], euiInfo: [{
|
1352
1367
|
type: Input
|
1353
1368
|
}], euiSuccess: [{
|