@patternfly/patternfly 5.0.0-alpha.20 → 5.0.0-alpha.22
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/components/Chip/chip.css +33 -24
- package/components/Chip/chip.scss +40 -31
- package/components/Label/label.css +35 -24
- package/components/Label/label.scss +40 -27
- package/components/Table/table-tree-view.css +10 -0
- package/components/Table/table-tree-view.scss +15 -0
- package/components/Table/table.css +4 -0
- package/components/Table/table.scss +4 -0
- package/docs/components/Chip/examples/Chip.md +61 -43
- package/docs/components/ChipGroup/examples/ChipGroup.md +437 -329
- package/docs/components/InlineEdit/examples/InlineEdit.md +5 -3
- package/docs/components/Label/examples/Label.md +1399 -718
- package/docs/components/LabelGroup/examples/LabelGroup.md +274 -209
- package/docs/components/Select/examples/Select.md +224 -170
- package/docs/components/Table/examples/Table.md +565 -41
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +343 -261
- package/docs/components/Toolbar/examples/Toolbar.md +306 -234
- package/docs/demos/Card/examples/Card.md +29 -27
- package/docs/demos/Dashboard/examples/Dashboard.md +23 -15
- package/docs/demos/DescriptionList/examples/DescriptionList.md +21 -9
- package/docs/demos/Drawer/examples/Drawer.md +4 -2
- package/docs/demos/Form/examples/BasicForms.md +28 -22
- package/docs/demos/Tabs/examples/Tabs.md +39 -16
- package/docs/demos/Toolbar/examples/Toolbar.md +102 -78
- package/package.json +2 -2
- package/patternfly-no-reset.css +82 -48
- package/patternfly.css +82 -48
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -1003,87 +1003,107 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1003
1003
|
>
|
|
1004
1004
|
<li class="pf-c-chip-group__list-item">
|
|
1005
1005
|
<div class="pf-c-chip">
|
|
1006
|
-
<span
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1006
|
+
<span class="pf-c-chip__content">
|
|
1007
|
+
<span
|
|
1008
|
+
class="pf-c-chip__text"
|
|
1009
|
+
id="select-multi-typeahead-expanded-chip_one"
|
|
1010
|
+
>Arkansas</span>
|
|
1011
|
+
</span>
|
|
1012
|
+
<span class="pf-c-chip__actions">
|
|
1013
|
+
<button
|
|
1014
|
+
class="pf-c-button pf-m-plain"
|
|
1015
|
+
type="button"
|
|
1016
|
+
aria-labelledby="remove_select-multi-typeahead-expanded_chip_one select-multi-typeahead-expanded-chip_two"
|
|
1017
|
+
aria-label="Remove"
|
|
1018
|
+
id="remove_select-multi-typeahead-expanded_chip_one"
|
|
1019
|
+
>
|
|
1020
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1021
|
+
</button>
|
|
1022
|
+
</span>
|
|
1019
1023
|
</div>
|
|
1020
1024
|
</li>
|
|
1021
1025
|
<li class="pf-c-chip-group__list-item">
|
|
1022
1026
|
<div class="pf-c-chip">
|
|
1023
|
-
<span
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1027
|
+
<span class="pf-c-chip__content">
|
|
1028
|
+
<span
|
|
1029
|
+
class="pf-c-chip__text"
|
|
1030
|
+
id="select-multi-typeahead-expanded-chip_two"
|
|
1031
|
+
>Massachusetts</span>
|
|
1032
|
+
</span>
|
|
1033
|
+
<span class="pf-c-chip__actions">
|
|
1034
|
+
<button
|
|
1035
|
+
class="pf-c-button pf-m-plain"
|
|
1036
|
+
type="button"
|
|
1037
|
+
aria-labelledby="remove_select-multi-typeahead-expanded_chip_two select-multi-typeahead-expanded-chip_two"
|
|
1038
|
+
aria-label="Remove"
|
|
1039
|
+
id="remove_select-multi-typeahead-expanded_chip_two"
|
|
1040
|
+
>
|
|
1041
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1042
|
+
</button>
|
|
1043
|
+
</span>
|
|
1036
1044
|
</div>
|
|
1037
1045
|
</li>
|
|
1038
1046
|
<li class="pf-c-chip-group__list-item">
|
|
1039
1047
|
<div class="pf-c-chip">
|
|
1040
|
-
<span
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1048
|
+
<span class="pf-c-chip__content">
|
|
1049
|
+
<span
|
|
1050
|
+
class="pf-c-chip__text"
|
|
1051
|
+
id="select-multi-typeahead-expanded-chip_three"
|
|
1052
|
+
>New Mexico</span>
|
|
1053
|
+
</span>
|
|
1054
|
+
<span class="pf-c-chip__actions">
|
|
1055
|
+
<button
|
|
1056
|
+
class="pf-c-button pf-m-plain"
|
|
1057
|
+
type="button"
|
|
1058
|
+
aria-labelledby="remove_select-multi-typeahead-expanded_chip_three select-multi-typeahead-expanded-chip_three"
|
|
1059
|
+
aria-label="Remove"
|
|
1060
|
+
id="remove_select-multi-typeahead-expanded_chip_three"
|
|
1061
|
+
>
|
|
1062
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1063
|
+
</button>
|
|
1064
|
+
</span>
|
|
1053
1065
|
</div>
|
|
1054
1066
|
</li>
|
|
1055
1067
|
<li class="pf-c-chip-group__list-item">
|
|
1056
1068
|
<div class="pf-c-chip">
|
|
1057
|
-
<span
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1069
|
+
<span class="pf-c-chip__content">
|
|
1070
|
+
<span
|
|
1071
|
+
class="pf-c-chip__text"
|
|
1072
|
+
id="select-multi-typeahead-expanded-chip_four"
|
|
1073
|
+
>Ohio</span>
|
|
1074
|
+
</span>
|
|
1075
|
+
<span class="pf-c-chip__actions">
|
|
1076
|
+
<button
|
|
1077
|
+
class="pf-c-button pf-m-plain"
|
|
1078
|
+
type="button"
|
|
1079
|
+
aria-labelledby="remove_select-multi-typeahead-expanded_chip_four select-multi-typeahead-expanded-chip_four"
|
|
1080
|
+
aria-label="Remove"
|
|
1081
|
+
id="remove_select-multi-typeahead-expanded_chip_four"
|
|
1082
|
+
>
|
|
1083
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1084
|
+
</button>
|
|
1085
|
+
</span>
|
|
1070
1086
|
</div>
|
|
1071
1087
|
</li>
|
|
1072
1088
|
<li class="pf-c-chip-group__list-item">
|
|
1073
1089
|
<div class="pf-c-chip">
|
|
1074
|
-
<span
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1090
|
+
<span class="pf-c-chip__content">
|
|
1091
|
+
<span
|
|
1092
|
+
class="pf-c-chip__text"
|
|
1093
|
+
id="select-multi-typeahead-expanded-chip_five"
|
|
1094
|
+
>Washington</span>
|
|
1095
|
+
</span>
|
|
1096
|
+
<span class="pf-c-chip__actions">
|
|
1097
|
+
<button
|
|
1098
|
+
class="pf-c-button pf-m-plain"
|
|
1099
|
+
type="button"
|
|
1100
|
+
aria-labelledby="remove_select-multi-typeahead-expanded_chip_five select-multi-typeahead-expanded-chip_five"
|
|
1101
|
+
aria-label="Remove"
|
|
1102
|
+
id="remove_select-multi-typeahead-expanded_chip_five"
|
|
1103
|
+
>
|
|
1104
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1105
|
+
</button>
|
|
1106
|
+
</span>
|
|
1087
1107
|
</div>
|
|
1088
1108
|
</li>
|
|
1089
1109
|
</ul>
|
|
@@ -1165,58 +1185,72 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1165
1185
|
>
|
|
1166
1186
|
<li class="pf-c-chip-group__list-item">
|
|
1167
1187
|
<div class="pf-c-chip">
|
|
1168
|
-
<span
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1188
|
+
<span class="pf-c-chip__content">
|
|
1189
|
+
<span
|
|
1190
|
+
class="pf-c-chip__text"
|
|
1191
|
+
id="select-multi-typeahead-expanded-selected-chip_one"
|
|
1192
|
+
>Arkansas</span>
|
|
1193
|
+
</span>
|
|
1194
|
+
<span class="pf-c-chip__actions">
|
|
1195
|
+
<button
|
|
1196
|
+
class="pf-c-button pf-m-plain"
|
|
1197
|
+
type="button"
|
|
1198
|
+
aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_one select-multi-typeahead-expanded-selected-chip_one"
|
|
1199
|
+
aria-label="Remove"
|
|
1200
|
+
id="remove_select-multi-typeahead-expanded-selected_chip_one"
|
|
1201
|
+
>
|
|
1202
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1203
|
+
</button>
|
|
1204
|
+
</span>
|
|
1181
1205
|
</div>
|
|
1182
1206
|
</li>
|
|
1183
1207
|
<li class="pf-c-chip-group__list-item">
|
|
1184
1208
|
<div class="pf-c-chip">
|
|
1185
|
-
<span
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1209
|
+
<span class="pf-c-chip__content">
|
|
1210
|
+
<span
|
|
1211
|
+
class="pf-c-chip__text"
|
|
1212
|
+
id="select-multi-typeahead-expanded-selected-chip_two"
|
|
1213
|
+
>Massachusetts</span>
|
|
1214
|
+
</span>
|
|
1215
|
+
<span class="pf-c-chip__actions">
|
|
1216
|
+
<button
|
|
1217
|
+
class="pf-c-button pf-m-plain"
|
|
1218
|
+
type="button"
|
|
1219
|
+
aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_two select-multi-typeahead-expanded-selected-chip_two"
|
|
1220
|
+
aria-label="Remove"
|
|
1221
|
+
id="remove_select-multi-typeahead-expanded-selected_chip_two"
|
|
1222
|
+
>
|
|
1223
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1224
|
+
</button>
|
|
1225
|
+
</span>
|
|
1198
1226
|
</div>
|
|
1199
1227
|
</li>
|
|
1200
1228
|
<li class="pf-c-chip-group__list-item">
|
|
1201
1229
|
<div class="pf-c-chip">
|
|
1202
|
-
<span
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1230
|
+
<span class="pf-c-chip__content">
|
|
1231
|
+
<span
|
|
1232
|
+
class="pf-c-chip__text"
|
|
1233
|
+
id="select-multi-typeahead-expanded-selected-chip_three"
|
|
1234
|
+
>New Mexico</span>
|
|
1235
|
+
</span>
|
|
1236
|
+
<span class="pf-c-chip__actions">
|
|
1237
|
+
<button
|
|
1238
|
+
class="pf-c-button pf-m-plain"
|
|
1239
|
+
type="button"
|
|
1240
|
+
aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_three select-multi-typeahead-expanded-selected-chip_three"
|
|
1241
|
+
aria-label="Remove"
|
|
1242
|
+
id="remove_select-multi-typeahead-expanded-selected_chip_three"
|
|
1243
|
+
>
|
|
1244
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1245
|
+
</button>
|
|
1246
|
+
</span>
|
|
1215
1247
|
</div>
|
|
1216
1248
|
</li>
|
|
1217
1249
|
<li class="pf-c-chip-group__list-item">
|
|
1218
1250
|
<button class="pf-c-chip pf-m-overflow">
|
|
1219
|
-
<span class="pf-c-
|
|
1251
|
+
<span class="pf-c-chip__content">
|
|
1252
|
+
<span class="pf-c-chip__text">2 more</span>
|
|
1253
|
+
</span>
|
|
1220
1254
|
</button>
|
|
1221
1255
|
</li>
|
|
1222
1256
|
</ul>
|
|
@@ -1289,87 +1323,107 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
1289
1323
|
>
|
|
1290
1324
|
<li class="pf-c-chip-group__list-item">
|
|
1291
1325
|
<div class="pf-c-chip">
|
|
1292
|
-
<span
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1326
|
+
<span class="pf-c-chip__content">
|
|
1327
|
+
<span
|
|
1328
|
+
class="pf-c-chip__text"
|
|
1329
|
+
id="select-multi-typeahead-invalid-chip_one"
|
|
1330
|
+
>Arkansas</span>
|
|
1331
|
+
</span>
|
|
1332
|
+
<span class="pf-c-chip__actions">
|
|
1333
|
+
<button
|
|
1334
|
+
class="pf-c-button pf-m-plain"
|
|
1335
|
+
type="button"
|
|
1336
|
+
aria-labelledby="remove_select-multi-typeahead-invalid_chip_one select-multi-typeahead-invalid-chip_two"
|
|
1337
|
+
aria-label="Remove"
|
|
1338
|
+
id="remove_select-multi-typeahead-invalid_chip_one"
|
|
1339
|
+
>
|
|
1340
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1341
|
+
</button>
|
|
1342
|
+
</span>
|
|
1305
1343
|
</div>
|
|
1306
1344
|
</li>
|
|
1307
1345
|
<li class="pf-c-chip-group__list-item">
|
|
1308
1346
|
<div class="pf-c-chip">
|
|
1309
|
-
<span
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1347
|
+
<span class="pf-c-chip__content">
|
|
1348
|
+
<span
|
|
1349
|
+
class="pf-c-chip__text"
|
|
1350
|
+
id="select-multi-typeahead-invalid-chip_two"
|
|
1351
|
+
>Massachusetts</span>
|
|
1352
|
+
</span>
|
|
1353
|
+
<span class="pf-c-chip__actions">
|
|
1354
|
+
<button
|
|
1355
|
+
class="pf-c-button pf-m-plain"
|
|
1356
|
+
type="button"
|
|
1357
|
+
aria-labelledby="remove_select-multi-typeahead-invalid_chip_two select-multi-typeahead-invalid-chip_two"
|
|
1358
|
+
aria-label="Remove"
|
|
1359
|
+
id="remove_select-multi-typeahead-invalid_chip_two"
|
|
1360
|
+
>
|
|
1361
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1362
|
+
</button>
|
|
1363
|
+
</span>
|
|
1322
1364
|
</div>
|
|
1323
1365
|
</li>
|
|
1324
1366
|
<li class="pf-c-chip-group__list-item">
|
|
1325
1367
|
<div class="pf-c-chip">
|
|
1326
|
-
<span
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1368
|
+
<span class="pf-c-chip__content">
|
|
1369
|
+
<span
|
|
1370
|
+
class="pf-c-chip__text"
|
|
1371
|
+
id="select-multi-typeahead-invalid-chip_three"
|
|
1372
|
+
>New Mexico</span>
|
|
1373
|
+
</span>
|
|
1374
|
+
<span class="pf-c-chip__actions">
|
|
1375
|
+
<button
|
|
1376
|
+
class="pf-c-button pf-m-plain"
|
|
1377
|
+
type="button"
|
|
1378
|
+
aria-labelledby="remove_select-multi-typeahead-invalid_chip_three select-multi-typeahead-invalid-chip_three"
|
|
1379
|
+
aria-label="Remove"
|
|
1380
|
+
id="remove_select-multi-typeahead-invalid_chip_three"
|
|
1381
|
+
>
|
|
1382
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1383
|
+
</button>
|
|
1384
|
+
</span>
|
|
1339
1385
|
</div>
|
|
1340
1386
|
</li>
|
|
1341
1387
|
<li class="pf-c-chip-group__list-item">
|
|
1342
1388
|
<div class="pf-c-chip">
|
|
1343
|
-
<span
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1389
|
+
<span class="pf-c-chip__content">
|
|
1390
|
+
<span
|
|
1391
|
+
class="pf-c-chip__text"
|
|
1392
|
+
id="select-multi-typeahead-invalid-chip_four"
|
|
1393
|
+
>Ohio</span>
|
|
1394
|
+
</span>
|
|
1395
|
+
<span class="pf-c-chip__actions">
|
|
1396
|
+
<button
|
|
1397
|
+
class="pf-c-button pf-m-plain"
|
|
1398
|
+
type="button"
|
|
1399
|
+
aria-labelledby="remove_select-multi-typeahead-invalid_chip_four select-multi-typeahead-invalid-chip_four"
|
|
1400
|
+
aria-label="Remove"
|
|
1401
|
+
id="remove_select-multi-typeahead-invalid_chip_four"
|
|
1402
|
+
>
|
|
1403
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1404
|
+
</button>
|
|
1405
|
+
</span>
|
|
1356
1406
|
</div>
|
|
1357
1407
|
</li>
|
|
1358
1408
|
<li class="pf-c-chip-group__list-item">
|
|
1359
1409
|
<div class="pf-c-chip">
|
|
1360
|
-
<span
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1410
|
+
<span class="pf-c-chip__content">
|
|
1411
|
+
<span
|
|
1412
|
+
class="pf-c-chip__text"
|
|
1413
|
+
id="select-multi-typeahead-invalid-chip_five"
|
|
1414
|
+
>Washington</span>
|
|
1415
|
+
</span>
|
|
1416
|
+
<span class="pf-c-chip__actions">
|
|
1417
|
+
<button
|
|
1418
|
+
class="pf-c-button pf-m-plain"
|
|
1419
|
+
type="button"
|
|
1420
|
+
aria-labelledby="remove_select-multi-typeahead-invalid_chip_five select-multi-typeahead-invalid-chip_five"
|
|
1421
|
+
aria-label="Remove"
|
|
1422
|
+
id="remove_select-multi-typeahead-invalid_chip_five"
|
|
1423
|
+
>
|
|
1424
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
1425
|
+
</button>
|
|
1426
|
+
</span>
|
|
1373
1427
|
</div>
|
|
1374
1428
|
</li>
|
|
1375
1429
|
</ul>
|