@eui/components 17.0.0-next.16 → 17.0.0-next.18
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/docs/components/EuiDashboardButtonComponent.html +151 -696
- package/docs/components/EuiFieldsetComponent.html +132 -956
- package/docs/components/EuiMenuItemComponent.html +1 -1
- package/docs/dependencies.html +2 -2
- package/docs/directives/BaseStatesDirective.html +1076 -107
- package/docs/js/menu-wc.js +6 -6
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/modules/EuiDashboardButtonModule.html +10 -0
- package/esm2022/eui-avatar/eui-avatar.component.mjs +2 -2
- package/esm2022/eui-badge/eui-badge.component.mjs +2 -2
- package/esm2022/eui-button/eui-button.component.mjs +2 -2
- package/esm2022/eui-card/eui-card.component.mjs +2 -2
- package/esm2022/eui-dashboard-button/eui-dashboard-button.component.mjs +52 -14
- package/esm2022/eui-dialog/container/eui-dialog-container.component.mjs +2 -2
- package/esm2022/eui-dialog/eui-dialog.component.mjs +2 -2
- package/esm2022/eui-feedback-message/eui-feedback-message.component.mjs +2 -2
- package/esm2022/eui-fieldset/eui-fieldset.component.mjs +108 -67
- package/esm2022/eui-growl/eui-growl.component.mjs +2 -2
- package/esm2022/eui-label/eui-label.component.mjs +2 -2
- package/esm2022/eui-list/eui-list-item/eui-list-item.component.mjs +2 -2
- package/esm2022/eui-list/eui-list.component.mjs +2 -2
- package/esm2022/eui-menu/eui-menu-item.component.mjs +3 -3
- package/esm2022/eui-popover/eui-popover.component.mjs +2 -2
- 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-timebar/eui-timebar.component.mjs +2 -2
- package/esm2022/eui-timeline/eui-timeline-item.component.mjs +2 -2
- package/esm2022/eui-timeline/eui-timeline.component.mjs +2 -2
- package/esm2022/eui-tree-list/eui-tree-list.component.mjs +2 -2
- package/esm2022/externals/eui-editor/eui-editor.component.mjs +2 -2
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +2 -2
- package/esm2022/shared/base/base-states.directive.mjs +140 -71
- package/eui-dashboard-button/eui-dashboard-button.component.d.ts +15 -7
- package/eui-dashboard-button/eui-dashboard-button.component.d.ts.map +1 -1
- package/eui-fieldset/eui-fieldset.component.d.ts +20 -25
- package/eui-fieldset/eui-fieldset.component.d.ts.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 +2 -2
- package/fesm2022/eui-components-eui-badge.mjs.map +1 -1
- package/fesm2022/eui-components-eui-button.mjs +2 -2
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +2 -2
- package/fesm2022/eui-components-eui-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dashboard-button.mjs +51 -13
- package/fesm2022/eui-components-eui-dashboard-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dialog.mjs +4 -4
- package/fesm2022/eui-components-eui-dialog.mjs.map +1 -1
- package/fesm2022/eui-components-eui-feedback-message.mjs +2 -2
- package/fesm2022/eui-components-eui-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-components-eui-fieldset.mjs +108 -67
- package/fesm2022/eui-components-eui-fieldset.mjs.map +1 -1
- package/fesm2022/eui-components-eui-growl.mjs +2 -2
- package/fesm2022/eui-components-eui-growl.mjs.map +1 -1
- package/fesm2022/eui-components-eui-label.mjs +2 -2
- package/fesm2022/eui-components-eui-list.mjs +4 -4
- package/fesm2022/eui-components-eui-list.mjs.map +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +2 -2
- package/fesm2022/eui-components-eui-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-popover.mjs +2 -2
- package/fesm2022/eui-components-eui-popover.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tabs.mjs +4 -4
- package/fesm2022/eui-components-eui-timebar.mjs +2 -2
- package/fesm2022/eui-components-eui-timebar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timeline.mjs +4 -4
- package/fesm2022/eui-components-eui-timeline.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tree-list.mjs +2 -2
- package/fesm2022/eui-components-eui-tree-list.mjs.map +1 -1
- package/fesm2022/eui-components-externals-eui-editor.mjs +2 -2
- package/fesm2022/eui-components-externals-eui-editor.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +2 -2
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components-shared-base.mjs +138 -70
- package/fesm2022/eui-components-shared-base.mjs.map +1 -1
- package/package.json +7 -7
- package/shared/base/base-states.directive.d.ts +51 -17
- package/shared/base/base-states.directive.d.ts.map +1 -1
@@ -1090,25 +1090,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ng
|
|
1090
1090
|
|
1091
1091
|
class BaseStatesDirective {
|
1092
1092
|
constructor() {
|
1093
|
-
// COLORS
|
1094
|
-
this.euiPrimary = false;
|
1095
|
-
this.euiSecondary = false;
|
1096
|
-
this.euiInfo = false;
|
1097
|
-
this.euiSuccess = false;
|
1098
|
-
this.euiWarning = false;
|
1099
|
-
this.euiDanger = false;
|
1100
|
-
this.euiAccent = false;
|
1101
|
-
// SIZES
|
1102
|
-
this.euiSize2XS = false;
|
1103
|
-
this.euiSizeXS = false;
|
1104
|
-
this.euiSizeS = false;
|
1105
|
-
this.euiSizeM = false;
|
1106
|
-
this.euiSizeL = false;
|
1107
|
-
this.euiSizeXL = false;
|
1108
|
-
this.euiSize2XL = false;
|
1109
|
-
this.euiSize3XL = false;
|
1110
|
-
this.euiSize4XL = false;
|
1111
|
-
this.euiSize5XL = false;
|
1112
1093
|
// EXTRA SHAPES
|
1113
1094
|
this.euiRounded = false;
|
1114
1095
|
this.euiOutline = false;
|
@@ -1120,9 +1101,76 @@ class BaseStatesDirective {
|
|
1120
1101
|
this.euiClearable = false;
|
1121
1102
|
this.euiLoading = false;
|
1122
1103
|
this.euiInverted = false;
|
1104
|
+
this._euiPrimary = false;
|
1105
|
+
this._euiSecondary = false;
|
1106
|
+
this._euiInfo = false;
|
1107
|
+
this._euiSuccess = false;
|
1108
|
+
this._euiWarning = false;
|
1109
|
+
this._euiDanger = false;
|
1110
|
+
this._euiAccent = false;
|
1111
|
+
this._euiSize2XS = false;
|
1112
|
+
this._euiSizeXS = false;
|
1113
|
+
this._euiSizeS = false;
|
1114
|
+
this._euiSizeM = false;
|
1115
|
+
this._euiSizeL = false;
|
1116
|
+
this._euiSizeXL = false;
|
1117
|
+
this._euiSize2XL = false;
|
1118
|
+
this._euiSize3XL = false;
|
1119
|
+
this._euiSize4XL = false;
|
1120
|
+
this._euiSize5XL = false;
|
1123
1121
|
this._euiSizeVariant = '';
|
1124
1122
|
this._euiVariant = '';
|
1125
1123
|
}
|
1124
|
+
// COLORS
|
1125
|
+
get euiPrimary() {
|
1126
|
+
return this._euiPrimary;
|
1127
|
+
}
|
1128
|
+
set euiPrimary(value) {
|
1129
|
+
this._euiPrimary = coerceBooleanProperty(value);
|
1130
|
+
this._euiVariant = 'primary';
|
1131
|
+
}
|
1132
|
+
get euiSecondary() {
|
1133
|
+
return this._euiSecondary;
|
1134
|
+
}
|
1135
|
+
set euiSecondary(value) {
|
1136
|
+
this._euiSecondary = coerceBooleanProperty(value);
|
1137
|
+
this._euiVariant = 'secondary';
|
1138
|
+
}
|
1139
|
+
get euiInfo() {
|
1140
|
+
return this._euiInfo;
|
1141
|
+
}
|
1142
|
+
set euiInfo(value) {
|
1143
|
+
this._euiInfo = coerceBooleanProperty(value);
|
1144
|
+
this._euiVariant = 'info';
|
1145
|
+
}
|
1146
|
+
get euiSuccess() {
|
1147
|
+
return this._euiSuccess;
|
1148
|
+
}
|
1149
|
+
set euiSuccess(value) {
|
1150
|
+
this._euiSuccess = coerceBooleanProperty(value);
|
1151
|
+
this._euiVariant = 'success';
|
1152
|
+
}
|
1153
|
+
get euiWarning() {
|
1154
|
+
return this._euiWarning;
|
1155
|
+
}
|
1156
|
+
set euiWarning(value) {
|
1157
|
+
this._euiWarning = coerceBooleanProperty(value);
|
1158
|
+
this._euiVariant = 'warning';
|
1159
|
+
}
|
1160
|
+
get euiDanger() {
|
1161
|
+
return this._euiDanger;
|
1162
|
+
}
|
1163
|
+
set euiDanger(value) {
|
1164
|
+
this._euiDanger = coerceBooleanProperty(value);
|
1165
|
+
this._euiVariant = 'danger';
|
1166
|
+
}
|
1167
|
+
get euiAccent() {
|
1168
|
+
return this._euiAccent;
|
1169
|
+
}
|
1170
|
+
set euiAccent(value) {
|
1171
|
+
this._euiAccent = coerceBooleanProperty(value);
|
1172
|
+
this._euiVariant = 'accent';
|
1173
|
+
}
|
1126
1174
|
get euiVariant() {
|
1127
1175
|
return this._euiVariant;
|
1128
1176
|
}
|
@@ -1136,6 +1184,77 @@ class BaseStatesDirective {
|
|
1136
1184
|
this.euiAccent = value === 'accent';
|
1137
1185
|
this._euiVariant = value;
|
1138
1186
|
}
|
1187
|
+
// SIZES
|
1188
|
+
get euiSize2XS() {
|
1189
|
+
return this._euiSize2XS;
|
1190
|
+
}
|
1191
|
+
set euiSize2XS(value) {
|
1192
|
+
this._euiSize2XS = coerceBooleanProperty(value);
|
1193
|
+
this._euiSizeVariant = '2xs';
|
1194
|
+
}
|
1195
|
+
get euiSizeXS() {
|
1196
|
+
return this._euiSizeXS;
|
1197
|
+
}
|
1198
|
+
set euiSizeXS(value) {
|
1199
|
+
this._euiSizeXS = coerceBooleanProperty(value);
|
1200
|
+
this._euiSizeVariant = 'xs';
|
1201
|
+
}
|
1202
|
+
get euiSizeS() {
|
1203
|
+
return this._euiSizeS;
|
1204
|
+
}
|
1205
|
+
set euiSizeS(value) {
|
1206
|
+
this._euiSizeS = coerceBooleanProperty(value);
|
1207
|
+
this._euiSizeVariant = 's';
|
1208
|
+
}
|
1209
|
+
get euiSizeM() {
|
1210
|
+
return this._euiSizeM;
|
1211
|
+
}
|
1212
|
+
set euiSizeM(value) {
|
1213
|
+
this._euiSizeM = coerceBooleanProperty(value);
|
1214
|
+
this._euiSizeVariant = 'm';
|
1215
|
+
}
|
1216
|
+
get euiSizeL() {
|
1217
|
+
return this._euiSizeL;
|
1218
|
+
}
|
1219
|
+
set euiSizeL(value) {
|
1220
|
+
this._euiSizeL = coerceBooleanProperty(value);
|
1221
|
+
this._euiSizeVariant = 'l';
|
1222
|
+
}
|
1223
|
+
get euiSizeXL() {
|
1224
|
+
return this._euiSizeXL;
|
1225
|
+
}
|
1226
|
+
set euiSizeXL(value) {
|
1227
|
+
this._euiSizeXL = coerceBooleanProperty(value);
|
1228
|
+
this._euiSizeVariant = 'xl';
|
1229
|
+
}
|
1230
|
+
get euiSize2XL() {
|
1231
|
+
return this._euiSize2XL;
|
1232
|
+
}
|
1233
|
+
set euiSize2XL(value) {
|
1234
|
+
this._euiSize2XL = coerceBooleanProperty(value);
|
1235
|
+
this._euiSizeVariant = '2xl';
|
1236
|
+
}
|
1237
|
+
get euiSize3XL() {
|
1238
|
+
return this._euiSize3XL;
|
1239
|
+
}
|
1240
|
+
set euiSize3XL(value) {
|
1241
|
+
this._euiSize3XL = coerceBooleanProperty(value);
|
1242
|
+
this._euiSizeVariant = '3xl';
|
1243
|
+
}
|
1244
|
+
get euiSize4XL() {
|
1245
|
+
return this._euiSize4XL;
|
1246
|
+
}
|
1247
|
+
set euiSize4XL(value) {
|
1248
|
+
this._euiSize4XL = coerceBooleanProperty(value);
|
1249
|
+
this._euiSizeVariant = '4xl';
|
1250
|
+
}
|
1251
|
+
get euiSize5XL() {
|
1252
|
+
return this._euiSize5XL;
|
1253
|
+
}
|
1254
|
+
set euiSize5XL(value) {
|
1255
|
+
this._euiSize5XL = coerceBooleanProperty(value);
|
1256
|
+
this._euiSizeVariant = '5xl';
|
1257
|
+
}
|
1139
1258
|
get euiSizeVariant() {
|
1140
1259
|
return this._euiSizeVariant;
|
1141
1260
|
}
|
@@ -1188,57 +1307,6 @@ class BaseStatesDirective {
|
|
1188
1307
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: BaseStatesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
1189
1308
|
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-rc.1", 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.euiDisabled.toString()" } }, ngImport: i0 }); }
|
1190
1309
|
}
|
1191
|
-
__decorate([
|
1192
|
-
coerceBoolean
|
1193
|
-
], BaseStatesDirective.prototype, "euiPrimary", void 0);
|
1194
|
-
__decorate([
|
1195
|
-
coerceBoolean
|
1196
|
-
], BaseStatesDirective.prototype, "euiSecondary", void 0);
|
1197
|
-
__decorate([
|
1198
|
-
coerceBoolean
|
1199
|
-
], BaseStatesDirective.prototype, "euiInfo", void 0);
|
1200
|
-
__decorate([
|
1201
|
-
coerceBoolean
|
1202
|
-
], BaseStatesDirective.prototype, "euiSuccess", void 0);
|
1203
|
-
__decorate([
|
1204
|
-
coerceBoolean
|
1205
|
-
], BaseStatesDirective.prototype, "euiWarning", void 0);
|
1206
|
-
__decorate([
|
1207
|
-
coerceBoolean
|
1208
|
-
], BaseStatesDirective.prototype, "euiDanger", void 0);
|
1209
|
-
__decorate([
|
1210
|
-
coerceBoolean
|
1211
|
-
], BaseStatesDirective.prototype, "euiAccent", void 0);
|
1212
|
-
__decorate([
|
1213
|
-
coerceBoolean
|
1214
|
-
], BaseStatesDirective.prototype, "euiSize2XS", void 0);
|
1215
|
-
__decorate([
|
1216
|
-
coerceBoolean
|
1217
|
-
], BaseStatesDirective.prototype, "euiSizeXS", void 0);
|
1218
|
-
__decorate([
|
1219
|
-
coerceBoolean
|
1220
|
-
], BaseStatesDirective.prototype, "euiSizeS", void 0);
|
1221
|
-
__decorate([
|
1222
|
-
coerceBoolean
|
1223
|
-
], BaseStatesDirective.prototype, "euiSizeM", void 0);
|
1224
|
-
__decorate([
|
1225
|
-
coerceBoolean
|
1226
|
-
], BaseStatesDirective.prototype, "euiSizeL", void 0);
|
1227
|
-
__decorate([
|
1228
|
-
coerceBoolean
|
1229
|
-
], BaseStatesDirective.prototype, "euiSizeXL", void 0);
|
1230
|
-
__decorate([
|
1231
|
-
coerceBoolean
|
1232
|
-
], BaseStatesDirective.prototype, "euiSize2XL", void 0);
|
1233
|
-
__decorate([
|
1234
|
-
coerceBoolean
|
1235
|
-
], BaseStatesDirective.prototype, "euiSize3XL", void 0);
|
1236
|
-
__decorate([
|
1237
|
-
coerceBoolean
|
1238
|
-
], BaseStatesDirective.prototype, "euiSize4XL", void 0);
|
1239
|
-
__decorate([
|
1240
|
-
coerceBoolean
|
1241
|
-
], BaseStatesDirective.prototype, "euiSize5XL", void 0);
|
1242
1310
|
__decorate([
|
1243
1311
|
coerceBoolean
|
1244
1312
|
], BaseStatesDirective.prototype, "euiRounded", void 0);
|