@helixui/library 1.1.2-next.4 → 1.1.2-next.5
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/custom-elements.json +449 -513
- package/dist/components/hx-patient-banner/hx-patient-banner.d.ts +8 -0
- package/dist/components/hx-patient-banner/hx-patient-banner.d.ts.map +1 -1
- package/dist/components/hx-patient-banner/hx-patient-banner.styles.d.ts.map +1 -1
- package/dist/components/hx-patient-banner/index.js +1 -1
- package/dist/components/hx-phi-field/hx-phi-field.d.ts +27 -2
- package/dist/components/hx-phi-field/hx-phi-field.d.ts.map +1 -1
- package/dist/components/hx-phi-field/hx-phi-field.styles.d.ts.map +1 -1
- package/dist/components/hx-phi-field/index.js +1 -1
- package/dist/components/hx-select/hx-select.d.ts +1 -0
- package/dist/components/hx-select/hx-select.d.ts.map +1 -1
- package/dist/components/hx-select/hx-select.styles.d.ts.map +1 -1
- package/dist/components/hx-select/index.js +1 -1
- package/dist/components/hx-status-indicator/hx-status-indicator.d.ts +17 -1
- package/dist/components/hx-status-indicator/hx-status-indicator.d.ts.map +1 -1
- package/dist/components/hx-status-indicator/hx-status-indicator.styles.d.ts.map +1 -1
- package/dist/components/hx-status-indicator/index.js +1 -1
- package/dist/css/helix-all.css +144 -48
- package/dist/css/helix-feedback.css +33 -4
- package/dist/css/helix-forms.css +68 -41
- package/dist/css/hx-patient-banner.css +31 -3
- package/dist/css/hx-phi-field.css +12 -0
- package/dist/css/hx-select.css +68 -41
- package/dist/css/hx-status-indicator.css +33 -4
- package/dist/css/index.css +1 -1
- package/dist/css/manifest.json +11 -5
- package/dist/index.js +4 -4
- package/dist/shared/{hx-patient-banner-BoJHddAL.js → hx-patient-banner-wk4qWmsH.js} +88 -47
- package/dist/shared/hx-patient-banner-wk4qWmsH.js.map +1 -0
- package/dist/shared/{hx-phi-field-EDWna59z.js → hx-phi-field-DX9z3nu0.js} +67 -33
- package/dist/shared/hx-phi-field-DX9z3nu0.js.map +1 -0
- package/dist/shared/{hx-select-4-nHL0vd.js → hx-select-BWzxWZs_.js} +82 -55
- package/dist/shared/hx-select-BWzxWZs_.js.map +1 -0
- package/dist/shared/{hx-status-indicator-4ClvA5mU.js → hx-status-indicator-Dl3Y34mc.js} +76 -35
- package/dist/shared/hx-status-indicator-Dl3Y34mc.js.map +1 -0
- package/package.json +2 -2
- package/dist/shared/hx-patient-banner-BoJHddAL.js.map +0 -1
- package/dist/shared/hx-phi-field-EDWna59z.js.map +0 -1
- package/dist/shared/hx-select-4-nHL0vd.js.map +0 -1
- package/dist/shared/hx-status-indicator-4ClvA5mU.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -1131,104 +1131,98 @@
|
|
|
1131
1131
|
},
|
|
1132
1132
|
{
|
|
1133
1133
|
"kind": "javascript-module",
|
|
1134
|
-
"path": "src/components/hx-
|
|
1134
|
+
"path": "src/components/hx-badge/hx-badge.ts",
|
|
1135
1135
|
"declarations": [
|
|
1136
1136
|
{
|
|
1137
1137
|
"kind": "class",
|
|
1138
|
-
"description": "A
|
|
1139
|
-
"name": "
|
|
1138
|
+
"description": "A small status indicator for notifications, counts, and labels.",
|
|
1139
|
+
"name": "HelixBadge",
|
|
1140
1140
|
"cssProperties": [
|
|
1141
1141
|
{
|
|
1142
|
-
"description": "
|
|
1143
|
-
"name": "--hx-
|
|
1144
|
-
"default": "var(--hx-color-
|
|
1142
|
+
"description": "Badge background color. The primary override point.",
|
|
1143
|
+
"name": "--hx-badge-bg",
|
|
1144
|
+
"default": "var(--hx-color-primary-500)"
|
|
1145
1145
|
},
|
|
1146
1146
|
{
|
|
1147
|
-
"description": "
|
|
1148
|
-
"name": "--hx-
|
|
1149
|
-
"default": "var(--hx-color-
|
|
1147
|
+
"description": "Badge text color. The primary override point.",
|
|
1148
|
+
"name": "--hx-badge-color",
|
|
1149
|
+
"default": "var(--hx-color-neutral-0)"
|
|
1150
1150
|
},
|
|
1151
1151
|
{
|
|
1152
|
-
"description": "
|
|
1153
|
-
"name": "--hx-
|
|
1154
|
-
"default": "var(--hx-color-info-200)"
|
|
1152
|
+
"description": "Badge font size (set per size variant).",
|
|
1153
|
+
"name": "--hx-badge-font-size"
|
|
1155
1154
|
},
|
|
1156
1155
|
{
|
|
1157
|
-
"description": "
|
|
1158
|
-
"name": "--hx-
|
|
1159
|
-
"default": "var(--hx-
|
|
1156
|
+
"description": "Badge font weight.",
|
|
1157
|
+
"name": "--hx-badge-font-weight",
|
|
1158
|
+
"default": "var(--hx-font-weight-semibold)"
|
|
1160
1159
|
},
|
|
1161
1160
|
{
|
|
1162
|
-
"description": "
|
|
1163
|
-
"name": "--hx-
|
|
1164
|
-
"default": "var(--hx-
|
|
1161
|
+
"description": "Badge font family.",
|
|
1162
|
+
"name": "--hx-badge-font-family",
|
|
1163
|
+
"default": "var(--hx-font-family-sans)"
|
|
1165
1164
|
},
|
|
1166
1165
|
{
|
|
1167
|
-
"description": "
|
|
1168
|
-
"name": "--hx-
|
|
1169
|
-
"default": "var(--hx-
|
|
1166
|
+
"description": "Badge border radius.",
|
|
1167
|
+
"name": "--hx-badge-border-radius",
|
|
1168
|
+
"default": "var(--hx-border-radius-md)"
|
|
1170
1169
|
},
|
|
1171
1170
|
{
|
|
1172
|
-
"description": "
|
|
1173
|
-
"name": "--hx-
|
|
1174
|
-
"default": "var(--hx-color-info-500)"
|
|
1171
|
+
"description": "Badge horizontal padding (set per size variant).",
|
|
1172
|
+
"name": "--hx-badge-padding-x"
|
|
1175
1173
|
},
|
|
1176
1174
|
{
|
|
1177
|
-
"description": "
|
|
1178
|
-
"name": "--hx-
|
|
1179
|
-
"default": "var(--hx-font-family-sans)"
|
|
1175
|
+
"description": "Badge vertical padding (set per size variant).",
|
|
1176
|
+
"name": "--hx-badge-padding-y"
|
|
1180
1177
|
},
|
|
1181
1178
|
{
|
|
1182
|
-
"description": "
|
|
1183
|
-
"name": "--hx-
|
|
1184
|
-
"default": "var(--hx-banner-color)"
|
|
1179
|
+
"description": "Pulse color matching variant background with reduced opacity.",
|
|
1180
|
+
"name": "--hx-badge-pulse-color"
|
|
1185
1181
|
},
|
|
1186
1182
|
{
|
|
1187
|
-
"description": "
|
|
1188
|
-
"name": "--hx-
|
|
1189
|
-
"default": "
|
|
1183
|
+
"description": "Dot indicator size when rendered without content.",
|
|
1184
|
+
"name": "--hx-badge-dot-size",
|
|
1185
|
+
"default": "var(--hx-size-2)"
|
|
1190
1186
|
},
|
|
1191
1187
|
{
|
|
1192
|
-
"description": "
|
|
1193
|
-
"name": "--hx-
|
|
1194
|
-
"default": "100"
|
|
1188
|
+
"description": "Background for the secondary variant.",
|
|
1189
|
+
"name": "--hx-badge-secondary-bg",
|
|
1190
|
+
"default": "var(--hx-color-neutral-100)"
|
|
1195
1191
|
},
|
|
1196
1192
|
{
|
|
1197
|
-
"description": "
|
|
1198
|
-
"name": "--hx-
|
|
1199
|
-
"default": "
|
|
1200
|
-
}
|
|
1201
|
-
],
|
|
1202
|
-
"cssParts": [
|
|
1203
|
-
{
|
|
1204
|
-
"description": "The outer banner container.",
|
|
1205
|
-
"name": "banner"
|
|
1193
|
+
"description": "Text color for the secondary variant.",
|
|
1194
|
+
"name": "--hx-badge-secondary-color",
|
|
1195
|
+
"default": "var(--hx-color-neutral-700)"
|
|
1206
1196
|
},
|
|
1207
1197
|
{
|
|
1208
|
-
"description": "
|
|
1209
|
-
"name": "
|
|
1198
|
+
"description": "Background for the info variant.",
|
|
1199
|
+
"name": "--hx-badge-info-bg",
|
|
1200
|
+
"default": "var(--hx-color-info-700)"
|
|
1210
1201
|
},
|
|
1211
1202
|
{
|
|
1212
|
-
"description": "
|
|
1213
|
-
"name": "
|
|
1214
|
-
|
|
1203
|
+
"description": "Text color for the info variant.",
|
|
1204
|
+
"name": "--hx-badge-info-color",
|
|
1205
|
+
"default": "var(--hx-color-neutral-0)"
|
|
1206
|
+
}
|
|
1207
|
+
],
|
|
1208
|
+
"cssParts": [
|
|
1215
1209
|
{
|
|
1216
|
-
"description": "The
|
|
1217
|
-
"name": "
|
|
1210
|
+
"description": "The badge element.",
|
|
1211
|
+
"name": "badge"
|
|
1218
1212
|
},
|
|
1219
1213
|
{
|
|
1220
|
-
"description": "The dismiss button
|
|
1221
|
-
"name": "
|
|
1214
|
+
"description": "The remove/dismiss button.",
|
|
1215
|
+
"name": "remove-button"
|
|
1222
1216
|
}
|
|
1223
1217
|
],
|
|
1224
1218
|
"slots": [
|
|
1225
1219
|
{
|
|
1226
|
-
"description": "Default slot for
|
|
1220
|
+
"description": "Default slot for badge content (text, number). When empty with pulse enabled, renders as a dot indicator.",
|
|
1227
1221
|
"name": ""
|
|
1228
1222
|
},
|
|
1229
1223
|
{
|
|
1230
|
-
"description": "
|
|
1231
|
-
"name": "
|
|
1224
|
+
"description": "Icon or content rendered before the badge text.",
|
|
1225
|
+
"name": "prefix"
|
|
1232
1226
|
}
|
|
1233
1227
|
],
|
|
1234
1228
|
"members": [
|
|
@@ -1236,387 +1230,360 @@
|
|
|
1236
1230
|
"kind": "field",
|
|
1237
1231
|
"name": "variant",
|
|
1238
1232
|
"type": {
|
|
1239
|
-
"text": "'
|
|
1233
|
+
"text": "'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'neutral' | 'info'"
|
|
1240
1234
|
},
|
|
1241
|
-
"default": "'
|
|
1242
|
-
"description": "Visual variant of the
|
|
1235
|
+
"default": "'primary'",
|
|
1236
|
+
"description": "Visual style variant of the badge.",
|
|
1243
1237
|
"attribute": "variant",
|
|
1244
1238
|
"reflects": true
|
|
1245
1239
|
},
|
|
1246
1240
|
{
|
|
1247
1241
|
"kind": "field",
|
|
1248
|
-
"name": "
|
|
1242
|
+
"name": "size",
|
|
1249
1243
|
"type": {
|
|
1250
|
-
"text": "'
|
|
1244
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1251
1245
|
},
|
|
1252
|
-
"default": "'
|
|
1253
|
-
"description": "
|
|
1254
|
-
"attribute": "
|
|
1246
|
+
"default": "'md'",
|
|
1247
|
+
"description": "Size of the badge.",
|
|
1248
|
+
"attribute": "hx-size",
|
|
1255
1249
|
"reflects": true
|
|
1256
1250
|
},
|
|
1257
1251
|
{
|
|
1258
1252
|
"kind": "field",
|
|
1259
|
-
"name": "
|
|
1253
|
+
"name": "pill",
|
|
1260
1254
|
"type": {
|
|
1261
1255
|
"text": "boolean"
|
|
1262
1256
|
},
|
|
1263
1257
|
"default": "false",
|
|
1264
|
-
"description": "Whether the
|
|
1265
|
-
"attribute": "
|
|
1258
|
+
"description": "Whether the badge uses fully rounded (pill) styling.",
|
|
1259
|
+
"attribute": "pill",
|
|
1266
1260
|
"reflects": true
|
|
1267
1261
|
},
|
|
1268
1262
|
{
|
|
1269
1263
|
"kind": "field",
|
|
1270
|
-
"name": "
|
|
1264
|
+
"name": "pulse",
|
|
1271
1265
|
"type": {
|
|
1272
|
-
"text": "
|
|
1266
|
+
"text": "boolean"
|
|
1273
1267
|
},
|
|
1274
|
-
"default": "
|
|
1275
|
-
"description": "
|
|
1276
|
-
"attribute": "
|
|
1268
|
+
"default": "false",
|
|
1269
|
+
"description": "Whether the badge displays an animated pulse for attention.",
|
|
1270
|
+
"attribute": "pulse",
|
|
1271
|
+
"reflects": true
|
|
1277
1272
|
},
|
|
1278
1273
|
{
|
|
1279
1274
|
"kind": "field",
|
|
1280
|
-
"name": "
|
|
1275
|
+
"name": "removable",
|
|
1281
1276
|
"type": {
|
|
1282
|
-
"text": "
|
|
1277
|
+
"text": "boolean"
|
|
1283
1278
|
},
|
|
1284
|
-
"default": "
|
|
1285
|
-
"description": "
|
|
1286
|
-
"attribute": "
|
|
1279
|
+
"default": "false",
|
|
1280
|
+
"description": "Whether the badge renders a dismiss button.",
|
|
1281
|
+
"attribute": "removable",
|
|
1282
|
+
"reflects": true
|
|
1287
1283
|
},
|
|
1288
1284
|
{
|
|
1289
1285
|
"kind": "field",
|
|
1290
|
-
"name": "
|
|
1286
|
+
"name": "count",
|
|
1291
1287
|
"type": {
|
|
1292
|
-
"text": "
|
|
1288
|
+
"text": "number | undefined"
|
|
1293
1289
|
},
|
|
1294
|
-
"default": "
|
|
1295
|
-
"description": "
|
|
1296
|
-
"attribute": "
|
|
1290
|
+
"default": "undefined",
|
|
1291
|
+
"description": "Numeric count to display. When set, renders the count as badge content.\nWhen count exceeds `max`, displays `${max}+` (e.g. `99+`).",
|
|
1292
|
+
"attribute": "count",
|
|
1293
|
+
"reflects": true
|
|
1297
1294
|
},
|
|
1298
1295
|
{
|
|
1299
1296
|
"kind": "field",
|
|
1300
|
-
"name": "
|
|
1297
|
+
"name": "max",
|
|
1301
1298
|
"type": {
|
|
1302
|
-
"text": "
|
|
1299
|
+
"text": "number"
|
|
1303
1300
|
},
|
|
1304
|
-
"default": "
|
|
1305
|
-
"description": "
|
|
1306
|
-
"attribute": "
|
|
1301
|
+
"default": "99",
|
|
1302
|
+
"description": "Maximum count value before truncation to `${max}+`. Defaults to 99.",
|
|
1303
|
+
"attribute": "max",
|
|
1307
1304
|
"reflects": true
|
|
1308
1305
|
},
|
|
1309
1306
|
{
|
|
1310
1307
|
"kind": "field",
|
|
1311
|
-
"name": "
|
|
1308
|
+
"name": "dotLabel",
|
|
1312
1309
|
"type": {
|
|
1313
1310
|
"text": "string"
|
|
1314
1311
|
},
|
|
1315
|
-
"default": "'
|
|
1316
|
-
"description": "Accessible label for the
|
|
1317
|
-
"attribute": "label
|
|
1318
|
-
},
|
|
1319
|
-
{
|
|
1320
|
-
"kind": "field",
|
|
1321
|
-
"name": "severityLabel",
|
|
1322
|
-
"type": {
|
|
1323
|
-
"text": "string | undefined"
|
|
1324
|
-
},
|
|
1325
|
-
"description": "Override for the severity prefix announced to screen readers (e.g., \"Info:\", \"Error:\").\nWhen not set, defaults to the English label matching the current variant.",
|
|
1326
|
-
"attribute": "severity-label"
|
|
1327
|
-
},
|
|
1328
|
-
{
|
|
1329
|
-
"kind": "method",
|
|
1330
|
-
"name": "_defaultSeverityLabel",
|
|
1331
|
-
"privacy": "private",
|
|
1332
|
-
"return": {
|
|
1333
|
-
"type": {
|
|
1334
|
-
"text": "string"
|
|
1335
|
-
}
|
|
1336
|
-
},
|
|
1337
|
-
"description": "Returns the default English severity label for the current variant."
|
|
1312
|
+
"default": "''",
|
|
1313
|
+
"description": "Accessible label for the dot indicator mode (pulse + empty slot).\nRequired for WCAG 4.1.2 compliance when using the dot indicator pattern.\nExample: `dot-label=\"3 new messages\"`.",
|
|
1314
|
+
"attribute": "dot-label"
|
|
1338
1315
|
},
|
|
1339
1316
|
{
|
|
1340
1317
|
"kind": "field",
|
|
1341
|
-
"name": "
|
|
1318
|
+
"name": "removeLabel",
|
|
1342
1319
|
"type": {
|
|
1343
1320
|
"text": "string"
|
|
1344
1321
|
},
|
|
1345
|
-
"
|
|
1346
|
-
"description": "
|
|
1347
|
-
"
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
"kind": "method",
|
|
1351
|
-
"name": "dismiss",
|
|
1352
|
-
"return": {
|
|
1353
|
-
"type": {
|
|
1354
|
-
"text": "void"
|
|
1355
|
-
}
|
|
1356
|
-
},
|
|
1357
|
-
"description": "Programmatically dismisses the banner. Sets open=false and dispatches hx-dismiss."
|
|
1322
|
+
"default": "'Remove'",
|
|
1323
|
+
"description": "Accessible label for the remove button. Should describe what is being removed.\nDefaults to \"Remove\". For better accessibility, include context: e.g. \"Remove Critical badge\".",
|
|
1324
|
+
"attribute": "remove-label"
|
|
1358
1325
|
}
|
|
1359
1326
|
],
|
|
1360
1327
|
"events": [
|
|
1361
1328
|
{
|
|
1362
|
-
"name": "hx-
|
|
1329
|
+
"name": "hx-remove",
|
|
1363
1330
|
"type": {
|
|
1364
|
-
"text": "CustomEvent<
|
|
1331
|
+
"text": "CustomEvent<void>"
|
|
1365
1332
|
},
|
|
1366
|
-
"description": "Dispatched when the user
|
|
1333
|
+
"description": "Dispatched when the user clicks the remove button."
|
|
1367
1334
|
}
|
|
1368
1335
|
],
|
|
1369
1336
|
"attributes": [
|
|
1370
1337
|
{
|
|
1371
1338
|
"name": "variant",
|
|
1372
1339
|
"type": {
|
|
1373
|
-
"text": "'
|
|
1340
|
+
"text": "'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'neutral' | 'info'"
|
|
1374
1341
|
},
|
|
1375
|
-
"default": "'
|
|
1376
|
-
"description": "Visual variant of the
|
|
1342
|
+
"default": "'primary'",
|
|
1343
|
+
"description": "Visual style variant of the badge.",
|
|
1377
1344
|
"fieldName": "variant",
|
|
1378
1345
|
"attribute": "variant"
|
|
1379
1346
|
},
|
|
1380
1347
|
{
|
|
1381
|
-
"name": "
|
|
1348
|
+
"name": "hx-size",
|
|
1382
1349
|
"type": {
|
|
1383
|
-
"text": "'
|
|
1350
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1384
1351
|
},
|
|
1385
|
-
"default": "'
|
|
1386
|
-
"description": "
|
|
1387
|
-
"fieldName": "
|
|
1388
|
-
"attribute": "
|
|
1352
|
+
"default": "'md'",
|
|
1353
|
+
"description": "Size of the badge.",
|
|
1354
|
+
"fieldName": "size",
|
|
1355
|
+
"attribute": "hx-size"
|
|
1389
1356
|
},
|
|
1390
1357
|
{
|
|
1391
|
-
"name": "
|
|
1358
|
+
"name": "pill",
|
|
1392
1359
|
"type": {
|
|
1393
1360
|
"text": "boolean"
|
|
1394
1361
|
},
|
|
1395
1362
|
"default": "false",
|
|
1396
|
-
"description": "Whether the
|
|
1397
|
-
"fieldName": "
|
|
1398
|
-
"attribute": "
|
|
1363
|
+
"description": "Whether the badge uses fully rounded (pill) styling.",
|
|
1364
|
+
"fieldName": "pill",
|
|
1365
|
+
"attribute": "pill"
|
|
1399
1366
|
},
|
|
1400
1367
|
{
|
|
1401
|
-
"name": "
|
|
1368
|
+
"name": "pulse",
|
|
1402
1369
|
"type": {
|
|
1403
|
-
"text": "
|
|
1370
|
+
"text": "boolean"
|
|
1404
1371
|
},
|
|
1405
|
-
"default": "
|
|
1406
|
-
"description": "
|
|
1407
|
-
"fieldName": "
|
|
1408
|
-
"attribute": "
|
|
1372
|
+
"default": "false",
|
|
1373
|
+
"description": "Whether the badge displays an animated pulse for attention.",
|
|
1374
|
+
"fieldName": "pulse",
|
|
1375
|
+
"attribute": "pulse"
|
|
1409
1376
|
},
|
|
1410
1377
|
{
|
|
1411
|
-
"name": "
|
|
1378
|
+
"name": "removable",
|
|
1412
1379
|
"type": {
|
|
1413
|
-
"text": "
|
|
1380
|
+
"text": "boolean"
|
|
1414
1381
|
},
|
|
1415
|
-
"default": "
|
|
1416
|
-
"description": "
|
|
1417
|
-
"fieldName": "
|
|
1418
|
-
"attribute": "
|
|
1382
|
+
"default": "false",
|
|
1383
|
+
"description": "Whether the badge renders a dismiss button.",
|
|
1384
|
+
"fieldName": "removable",
|
|
1385
|
+
"attribute": "removable"
|
|
1419
1386
|
},
|
|
1420
1387
|
{
|
|
1421
|
-
"name": "
|
|
1388
|
+
"name": "count",
|
|
1422
1389
|
"type": {
|
|
1423
|
-
"text": "
|
|
1390
|
+
"text": "number | undefined"
|
|
1424
1391
|
},
|
|
1425
|
-
"default": "
|
|
1426
|
-
"description": "
|
|
1427
|
-
"fieldName": "
|
|
1428
|
-
"attribute": "
|
|
1392
|
+
"default": "undefined",
|
|
1393
|
+
"description": "Numeric count to display. When set, renders the count as badge content.\nWhen count exceeds `max`, displays `${max}+` (e.g. `99+`).",
|
|
1394
|
+
"fieldName": "count",
|
|
1395
|
+
"attribute": "count"
|
|
1429
1396
|
},
|
|
1430
1397
|
{
|
|
1431
|
-
"name": "
|
|
1398
|
+
"name": "max",
|
|
1432
1399
|
"type": {
|
|
1433
|
-
"text": "
|
|
1400
|
+
"text": "number"
|
|
1434
1401
|
},
|
|
1435
|
-
"default": "
|
|
1436
|
-
"description": "
|
|
1437
|
-
"fieldName": "
|
|
1438
|
-
"attribute": "
|
|
1402
|
+
"default": "99",
|
|
1403
|
+
"description": "Maximum count value before truncation to `${max}+`. Defaults to 99.",
|
|
1404
|
+
"fieldName": "max",
|
|
1405
|
+
"attribute": "max"
|
|
1439
1406
|
},
|
|
1440
1407
|
{
|
|
1441
|
-
"name": "
|
|
1408
|
+
"name": "dot-label",
|
|
1442
1409
|
"type": {
|
|
1443
|
-
"text": "string
|
|
1410
|
+
"text": "string"
|
|
1444
1411
|
},
|
|
1445
|
-
"
|
|
1446
|
-
"
|
|
1447
|
-
"
|
|
1412
|
+
"default": "''",
|
|
1413
|
+
"description": "Accessible label for the dot indicator mode (pulse + empty slot).\nRequired for WCAG 4.1.2 compliance when using the dot indicator pattern.\nExample: `dot-label=\"3 new messages\"`.",
|
|
1414
|
+
"fieldName": "dotLabel",
|
|
1415
|
+
"attribute": "dot-label"
|
|
1448
1416
|
},
|
|
1449
1417
|
{
|
|
1450
|
-
"name": "label
|
|
1418
|
+
"name": "remove-label",
|
|
1451
1419
|
"type": {
|
|
1452
1420
|
"text": "string"
|
|
1453
1421
|
},
|
|
1454
|
-
"default": "'
|
|
1455
|
-
"description": "Accessible label for the
|
|
1456
|
-
"fieldName": "
|
|
1422
|
+
"default": "'Remove'",
|
|
1423
|
+
"description": "Accessible label for the remove button. Should describe what is being removed.\nDefaults to \"Remove\". For better accessibility, include context: e.g. \"Remove Critical badge\".",
|
|
1424
|
+
"fieldName": "removeLabel",
|
|
1425
|
+
"attribute": "remove-label"
|
|
1457
1426
|
}
|
|
1458
1427
|
],
|
|
1459
1428
|
"superclass": {
|
|
1460
1429
|
"name": "LitElement",
|
|
1461
1430
|
"package": "lit"
|
|
1462
1431
|
},
|
|
1463
|
-
"tagName": "hx-
|
|
1432
|
+
"tagName": "hx-badge",
|
|
1464
1433
|
"customElement": true,
|
|
1465
|
-
"summary": "
|
|
1434
|
+
"summary": "Presentational badge for status indicators, notification counts, and labels."
|
|
1466
1435
|
}
|
|
1467
1436
|
],
|
|
1468
1437
|
"exports": [
|
|
1469
1438
|
{
|
|
1470
1439
|
"kind": "js",
|
|
1471
|
-
"name": "
|
|
1440
|
+
"name": "HelixBadge",
|
|
1472
1441
|
"declaration": {
|
|
1473
|
-
"name": "
|
|
1474
|
-
"module": "src/components/hx-
|
|
1442
|
+
"name": "HelixBadge",
|
|
1443
|
+
"module": "src/components/hx-badge/hx-badge.ts"
|
|
1475
1444
|
}
|
|
1476
1445
|
},
|
|
1477
1446
|
{
|
|
1478
1447
|
"kind": "custom-element-definition",
|
|
1479
|
-
"name": "hx-
|
|
1480
|
-
"declaration": {
|
|
1481
|
-
"name": "HelixBanner",
|
|
1482
|
-
"module": "src/components/hx-banner/hx-banner.ts"
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "js",
|
|
1487
|
-
"name": "HxBanner",
|
|
1448
|
+
"name": "hx-badge",
|
|
1488
1449
|
"declaration": {
|
|
1489
|
-
"name": "
|
|
1490
|
-
"module": "src/components/hx-
|
|
1450
|
+
"name": "HelixBadge",
|
|
1451
|
+
"module": "src/components/hx-badge/hx-badge.ts"
|
|
1491
1452
|
}
|
|
1492
1453
|
}
|
|
1493
1454
|
]
|
|
1494
1455
|
},
|
|
1495
1456
|
{
|
|
1496
1457
|
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/components/hx-
|
|
1458
|
+
"path": "src/components/hx-badge/index.ts",
|
|
1498
1459
|
"declarations": [],
|
|
1499
1460
|
"exports": [
|
|
1500
1461
|
{
|
|
1501
1462
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1463
|
+
"name": "HelixBadge",
|
|
1503
1464
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "./hx-
|
|
1465
|
+
"name": "HelixBadge",
|
|
1466
|
+
"module": "./hx-badge.js"
|
|
1506
1467
|
}
|
|
1507
1468
|
},
|
|
1508
1469
|
{
|
|
1509
1470
|
"kind": "js",
|
|
1510
|
-
"name": "
|
|
1471
|
+
"name": "HxBadge",
|
|
1511
1472
|
"declaration": {
|
|
1512
|
-
"name": "
|
|
1513
|
-
"module": "./hx-
|
|
1473
|
+
"name": "HxBadge",
|
|
1474
|
+
"module": "./hx-badge.js"
|
|
1514
1475
|
}
|
|
1515
1476
|
},
|
|
1516
1477
|
{
|
|
1517
1478
|
"kind": "js",
|
|
1518
|
-
"name": "
|
|
1479
|
+
"name": "WcBadge",
|
|
1519
1480
|
"declaration": {
|
|
1520
|
-
"name": "
|
|
1521
|
-
"module": "./hx-
|
|
1481
|
+
"name": "WcBadge",
|
|
1482
|
+
"module": "./hx-badge.js"
|
|
1522
1483
|
}
|
|
1523
1484
|
}
|
|
1524
1485
|
]
|
|
1525
1486
|
},
|
|
1526
1487
|
{
|
|
1527
1488
|
"kind": "javascript-module",
|
|
1528
|
-
"path": "src/components/hx-
|
|
1489
|
+
"path": "src/components/hx-banner/hx-banner.ts",
|
|
1529
1490
|
"declarations": [
|
|
1530
1491
|
{
|
|
1531
1492
|
"kind": "class",
|
|
1532
|
-
"description": "A
|
|
1533
|
-
"name": "
|
|
1493
|
+
"description": "A full-width page-level banner for persistent notifications and announcements.\nDesigned for healthcare applications requiring prominent system-level messaging.",
|
|
1494
|
+
"name": "HelixBanner",
|
|
1534
1495
|
"cssProperties": [
|
|
1535
1496
|
{
|
|
1536
|
-
"description": "
|
|
1537
|
-
"name": "--hx-
|
|
1538
|
-
"default": "var(--hx-color-
|
|
1497
|
+
"description": "Banner background color.",
|
|
1498
|
+
"name": "--hx-banner-bg",
|
|
1499
|
+
"default": "var(--hx-color-info-50)"
|
|
1539
1500
|
},
|
|
1540
1501
|
{
|
|
1541
|
-
"description": "
|
|
1542
|
-
"name": "--hx-
|
|
1543
|
-
"default": "var(--hx-color-
|
|
1502
|
+
"description": "Banner text color.",
|
|
1503
|
+
"name": "--hx-banner-color",
|
|
1504
|
+
"default": "var(--hx-color-info-800)"
|
|
1544
1505
|
},
|
|
1545
1506
|
{
|
|
1546
|
-
"description": "
|
|
1547
|
-
"name": "--hx-
|
|
1507
|
+
"description": "Banner bottom border color.",
|
|
1508
|
+
"name": "--hx-banner-border-color",
|
|
1509
|
+
"default": "var(--hx-color-info-200)"
|
|
1548
1510
|
},
|
|
1549
1511
|
{
|
|
1550
|
-
"description": "
|
|
1551
|
-
"name": "--hx-
|
|
1552
|
-
"default": "var(--hx-
|
|
1512
|
+
"description": "Banner bottom border width.",
|
|
1513
|
+
"name": "--hx-banner-border-width",
|
|
1514
|
+
"default": "var(--hx-border-width-thin)"
|
|
1553
1515
|
},
|
|
1554
1516
|
{
|
|
1555
|
-
"description": "
|
|
1556
|
-
"name": "--hx-
|
|
1557
|
-
"default": "var(--hx-
|
|
1517
|
+
"description": "Banner padding.",
|
|
1518
|
+
"name": "--hx-banner-padding",
|
|
1519
|
+
"default": "var(--hx-space-3) var(--hx-space-4)"
|
|
1558
1520
|
},
|
|
1559
1521
|
{
|
|
1560
|
-
"description": "
|
|
1561
|
-
"name": "--hx-
|
|
1562
|
-
"default": "var(--hx-
|
|
1522
|
+
"description": "Gap between banner elements.",
|
|
1523
|
+
"name": "--hx-banner-gap",
|
|
1524
|
+
"default": "var(--hx-space-3)"
|
|
1563
1525
|
},
|
|
1564
1526
|
{
|
|
1565
|
-
"description": "
|
|
1566
|
-
"name": "--hx-
|
|
1527
|
+
"description": "Banner icon color.",
|
|
1528
|
+
"name": "--hx-banner-icon-color",
|
|
1529
|
+
"default": "var(--hx-color-info-500)"
|
|
1567
1530
|
},
|
|
1568
1531
|
{
|
|
1569
|
-
"description": "
|
|
1570
|
-
"name": "--hx-
|
|
1532
|
+
"description": "Banner font family.",
|
|
1533
|
+
"name": "--hx-banner-font-family",
|
|
1534
|
+
"default": "var(--hx-font-family-sans)"
|
|
1571
1535
|
},
|
|
1572
1536
|
{
|
|
1573
|
-
"description": "
|
|
1574
|
-
"name": "--hx-
|
|
1537
|
+
"description": "Action link color.",
|
|
1538
|
+
"name": "--hx-banner-action-color",
|
|
1539
|
+
"default": "var(--hx-banner-color)"
|
|
1575
1540
|
},
|
|
1576
1541
|
{
|
|
1577
|
-
"description": "
|
|
1578
|
-
"name": "--hx-
|
|
1579
|
-
"default": "
|
|
1542
|
+
"description": "CSS position value (sticky or fixed).",
|
|
1543
|
+
"name": "--hx-banner-position",
|
|
1544
|
+
"default": "sticky"
|
|
1580
1545
|
},
|
|
1581
1546
|
{
|
|
1582
|
-
"description": "
|
|
1583
|
-
"name": "--hx-
|
|
1584
|
-
"default": "
|
|
1547
|
+
"description": "Banner z-index for stacking context.",
|
|
1548
|
+
"name": "--hx-banner-z-index",
|
|
1549
|
+
"default": "100"
|
|
1585
1550
|
},
|
|
1586
1551
|
{
|
|
1587
|
-
"description": "
|
|
1588
|
-
"name": "--hx-
|
|
1589
|
-
"default": "
|
|
1552
|
+
"description": "Minimum touch target size for the close button.",
|
|
1553
|
+
"name": "--hx-touch-target-size",
|
|
1554
|
+
"default": "44px"
|
|
1555
|
+
}
|
|
1556
|
+
],
|
|
1557
|
+
"cssParts": [
|
|
1558
|
+
{
|
|
1559
|
+
"description": "The outer banner container.",
|
|
1560
|
+
"name": "banner"
|
|
1590
1561
|
},
|
|
1591
1562
|
{
|
|
1592
|
-
"description": "
|
|
1593
|
-
"name": "
|
|
1594
|
-
"default": "var(--hx-color-info-700)"
|
|
1563
|
+
"description": "The icon container.",
|
|
1564
|
+
"name": "icon"
|
|
1595
1565
|
},
|
|
1596
1566
|
{
|
|
1597
|
-
"description": "
|
|
1598
|
-
"name": "
|
|
1599
|
-
|
|
1600
|
-
}
|
|
1601
|
-
],
|
|
1602
|
-
"cssParts": [
|
|
1567
|
+
"description": "The message content area.",
|
|
1568
|
+
"name": "message"
|
|
1569
|
+
},
|
|
1603
1570
|
{
|
|
1604
|
-
"description": "The
|
|
1605
|
-
"name": "
|
|
1571
|
+
"description": "The action link element (only rendered when action-label and action-href are set).",
|
|
1572
|
+
"name": "action"
|
|
1606
1573
|
},
|
|
1607
1574
|
{
|
|
1608
|
-
"description": "The
|
|
1609
|
-
"name": "
|
|
1575
|
+
"description": "The dismiss button (only rendered when dismissible).",
|
|
1576
|
+
"name": "close-button"
|
|
1610
1577
|
}
|
|
1611
1578
|
],
|
|
1612
1579
|
"slots": [
|
|
1613
1580
|
{
|
|
1614
|
-
"description": "Default slot for
|
|
1581
|
+
"description": "Default slot for banner message content.",
|
|
1615
1582
|
"name": ""
|
|
1616
1583
|
},
|
|
1617
1584
|
{
|
|
1618
|
-
"description": "
|
|
1619
|
-
"name": "
|
|
1585
|
+
"description": "Optional slot to override the built-in action link with custom content.",
|
|
1586
|
+
"name": "action"
|
|
1620
1587
|
}
|
|
1621
1588
|
],
|
|
1622
1589
|
"members": [
|
|
@@ -1624,256 +1591,289 @@
|
|
|
1624
1591
|
"kind": "field",
|
|
1625
1592
|
"name": "variant",
|
|
1626
1593
|
"type": {
|
|
1627
|
-
"text": "'
|
|
1594
|
+
"text": "'info' | 'success' | 'warning' | 'error'"
|
|
1628
1595
|
},
|
|
1629
|
-
"default": "'
|
|
1630
|
-
"description": "Visual
|
|
1596
|
+
"default": "'info'",
|
|
1597
|
+
"description": "Visual variant of the banner that determines colors and ARIA semantics.",
|
|
1631
1598
|
"attribute": "variant",
|
|
1632
1599
|
"reflects": true
|
|
1633
1600
|
},
|
|
1634
1601
|
{
|
|
1635
1602
|
"kind": "field",
|
|
1636
|
-
"name": "
|
|
1603
|
+
"name": "position",
|
|
1637
1604
|
"type": {
|
|
1638
|
-
"text": "'
|
|
1605
|
+
"text": "'sticky' | 'fixed'"
|
|
1639
1606
|
},
|
|
1640
|
-
"default": "'
|
|
1641
|
-
"description": "
|
|
1642
|
-
"attribute": "
|
|
1607
|
+
"default": "'sticky'",
|
|
1608
|
+
"description": "CSS positioning behavior. \"sticky\" keeps the banner in flow; \"fixed\" pins it to the viewport.",
|
|
1609
|
+
"attribute": "position",
|
|
1643
1610
|
"reflects": true
|
|
1644
1611
|
},
|
|
1645
1612
|
{
|
|
1646
1613
|
"kind": "field",
|
|
1647
|
-
"name": "
|
|
1614
|
+
"name": "dismissible",
|
|
1648
1615
|
"type": {
|
|
1649
1616
|
"text": "boolean"
|
|
1650
1617
|
},
|
|
1651
1618
|
"default": "false",
|
|
1652
|
-
"description": "Whether the
|
|
1653
|
-
"attribute": "
|
|
1619
|
+
"description": "Whether the banner can be dismissed by the user.",
|
|
1620
|
+
"attribute": "dismissible",
|
|
1654
1621
|
"reflects": true
|
|
1655
1622
|
},
|
|
1656
1623
|
{
|
|
1657
1624
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1625
|
+
"name": "heading",
|
|
1659
1626
|
"type": {
|
|
1660
|
-
"text": "
|
|
1627
|
+
"text": "string"
|
|
1661
1628
|
},
|
|
1662
|
-
"default": "
|
|
1663
|
-
"description": "
|
|
1664
|
-
"attribute": "
|
|
1665
|
-
"reflects": true
|
|
1629
|
+
"default": "''",
|
|
1630
|
+
"description": "Heading text for the banner, used to provide context in the action link's and\nclose button's accessible labels.",
|
|
1631
|
+
"attribute": "heading"
|
|
1666
1632
|
},
|
|
1667
1633
|
{
|
|
1668
1634
|
"kind": "field",
|
|
1669
|
-
"name": "
|
|
1635
|
+
"name": "actionLabel",
|
|
1670
1636
|
"type": {
|
|
1671
|
-
"text": "
|
|
1637
|
+
"text": "string"
|
|
1672
1638
|
},
|
|
1673
|
-
"default": "
|
|
1674
|
-
"description": "
|
|
1675
|
-
"attribute": "
|
|
1676
|
-
"reflects": true
|
|
1639
|
+
"default": "''",
|
|
1640
|
+
"description": "Label text for the optional action link. Requires action-href to render.",
|
|
1641
|
+
"attribute": "action-label"
|
|
1677
1642
|
},
|
|
1678
1643
|
{
|
|
1679
1644
|
"kind": "field",
|
|
1680
|
-
"name": "
|
|
1645
|
+
"name": "actionHref",
|
|
1681
1646
|
"type": {
|
|
1682
|
-
"text": "
|
|
1647
|
+
"text": "string"
|
|
1683
1648
|
},
|
|
1684
|
-
"default": "
|
|
1685
|
-
"description": "
|
|
1686
|
-
"attribute": "
|
|
1687
|
-
"reflects": true
|
|
1649
|
+
"default": "''",
|
|
1650
|
+
"description": "URL for the optional action link. Requires action-label to render.",
|
|
1651
|
+
"attribute": "action-href"
|
|
1688
1652
|
},
|
|
1689
1653
|
{
|
|
1690
1654
|
"kind": "field",
|
|
1691
|
-
"name": "
|
|
1655
|
+
"name": "open",
|
|
1692
1656
|
"type": {
|
|
1693
|
-
"text": "
|
|
1657
|
+
"text": "boolean"
|
|
1694
1658
|
},
|
|
1695
|
-
"default": "
|
|
1696
|
-
"description": "
|
|
1697
|
-
"attribute": "
|
|
1659
|
+
"default": "true",
|
|
1660
|
+
"description": "Whether the banner is visible. Defaults to true — banners are shown by default.",
|
|
1661
|
+
"attribute": "open",
|
|
1698
1662
|
"reflects": true
|
|
1699
1663
|
},
|
|
1700
1664
|
{
|
|
1701
1665
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1666
|
+
"name": "labelClose",
|
|
1703
1667
|
"type": {
|
|
1704
1668
|
"text": "string"
|
|
1705
1669
|
},
|
|
1706
|
-
"default": "''",
|
|
1707
|
-
"description": "Accessible label for the
|
|
1708
|
-
"attribute": "
|
|
1670
|
+
"default": "'Dismiss banner'",
|
|
1671
|
+
"description": "Accessible label for the dismiss button. Override for localized text.",
|
|
1672
|
+
"attribute": "label-close"
|
|
1709
1673
|
},
|
|
1710
1674
|
{
|
|
1711
1675
|
"kind": "field",
|
|
1712
|
-
"name": "
|
|
1676
|
+
"name": "severityLabel",
|
|
1677
|
+
"type": {
|
|
1678
|
+
"text": "string | undefined"
|
|
1679
|
+
},
|
|
1680
|
+
"description": "Override for the severity prefix announced to screen readers (e.g., \"Info:\", \"Error:\").\nWhen not set, defaults to the English label matching the current variant.",
|
|
1681
|
+
"attribute": "severity-label"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "method",
|
|
1685
|
+
"name": "_defaultSeverityLabel",
|
|
1686
|
+
"privacy": "private",
|
|
1687
|
+
"return": {
|
|
1688
|
+
"type": {
|
|
1689
|
+
"text": "string"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"description": "Returns the default English severity label for the current variant."
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"kind": "field",
|
|
1696
|
+
"name": "_effectiveSeverityLabel",
|
|
1713
1697
|
"type": {
|
|
1714
1698
|
"text": "string"
|
|
1715
1699
|
},
|
|
1716
|
-
"
|
|
1717
|
-
"description": "
|
|
1718
|
-
"
|
|
1700
|
+
"privacy": "private",
|
|
1701
|
+
"description": "Returns the effective severity label, using the override if provided.",
|
|
1702
|
+
"readonly": true
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "method",
|
|
1706
|
+
"name": "dismiss",
|
|
1707
|
+
"return": {
|
|
1708
|
+
"type": {
|
|
1709
|
+
"text": "void"
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
"description": "Programmatically dismisses the banner. Sets open=false and dispatches hx-dismiss."
|
|
1719
1713
|
}
|
|
1720
1714
|
],
|
|
1721
1715
|
"events": [
|
|
1722
1716
|
{
|
|
1723
|
-
"name": "hx-
|
|
1717
|
+
"name": "hx-dismiss",
|
|
1724
1718
|
"type": {
|
|
1725
|
-
"text": "CustomEvent<
|
|
1719
|
+
"text": "CustomEvent<{reason: string}>"
|
|
1726
1720
|
},
|
|
1727
|
-
"description": "Dispatched when the user
|
|
1721
|
+
"description": "Dispatched when the user dismisses the banner."
|
|
1728
1722
|
}
|
|
1729
1723
|
],
|
|
1730
1724
|
"attributes": [
|
|
1731
1725
|
{
|
|
1732
1726
|
"name": "variant",
|
|
1733
1727
|
"type": {
|
|
1734
|
-
"text": "'
|
|
1728
|
+
"text": "'info' | 'success' | 'warning' | 'error'"
|
|
1735
1729
|
},
|
|
1736
|
-
"default": "'
|
|
1737
|
-
"description": "Visual
|
|
1730
|
+
"default": "'info'",
|
|
1731
|
+
"description": "Visual variant of the banner that determines colors and ARIA semantics.",
|
|
1738
1732
|
"fieldName": "variant",
|
|
1739
1733
|
"attribute": "variant"
|
|
1740
1734
|
},
|
|
1741
1735
|
{
|
|
1742
|
-
"name": "
|
|
1736
|
+
"name": "position",
|
|
1743
1737
|
"type": {
|
|
1744
|
-
"text": "'
|
|
1738
|
+
"text": "'sticky' | 'fixed'"
|
|
1745
1739
|
},
|
|
1746
|
-
"default": "'
|
|
1747
|
-
"description": "
|
|
1748
|
-
"fieldName": "
|
|
1749
|
-
"attribute": "
|
|
1740
|
+
"default": "'sticky'",
|
|
1741
|
+
"description": "CSS positioning behavior. \"sticky\" keeps the banner in flow; \"fixed\" pins it to the viewport.",
|
|
1742
|
+
"fieldName": "position",
|
|
1743
|
+
"attribute": "position"
|
|
1750
1744
|
},
|
|
1751
1745
|
{
|
|
1752
|
-
"name": "
|
|
1746
|
+
"name": "dismissible",
|
|
1753
1747
|
"type": {
|
|
1754
1748
|
"text": "boolean"
|
|
1755
1749
|
},
|
|
1756
1750
|
"default": "false",
|
|
1757
|
-
"description": "Whether the
|
|
1758
|
-
"fieldName": "
|
|
1759
|
-
"attribute": "
|
|
1751
|
+
"description": "Whether the banner can be dismissed by the user.",
|
|
1752
|
+
"fieldName": "dismissible",
|
|
1753
|
+
"attribute": "dismissible"
|
|
1760
1754
|
},
|
|
1761
1755
|
{
|
|
1762
|
-
"name": "
|
|
1756
|
+
"name": "heading",
|
|
1763
1757
|
"type": {
|
|
1764
|
-
"text": "
|
|
1758
|
+
"text": "string"
|
|
1765
1759
|
},
|
|
1766
|
-
"default": "
|
|
1767
|
-
"description": "
|
|
1768
|
-
"fieldName": "
|
|
1769
|
-
"attribute": "
|
|
1760
|
+
"default": "''",
|
|
1761
|
+
"description": "Heading text for the banner, used to provide context in the action link's and\nclose button's accessible labels.",
|
|
1762
|
+
"fieldName": "heading",
|
|
1763
|
+
"attribute": "heading"
|
|
1770
1764
|
},
|
|
1771
1765
|
{
|
|
1772
|
-
"name": "
|
|
1766
|
+
"name": "action-label",
|
|
1773
1767
|
"type": {
|
|
1774
|
-
"text": "
|
|
1768
|
+
"text": "string"
|
|
1775
1769
|
},
|
|
1776
|
-
"default": "
|
|
1777
|
-
"description": "
|
|
1778
|
-
"fieldName": "
|
|
1779
|
-
"attribute": "
|
|
1770
|
+
"default": "''",
|
|
1771
|
+
"description": "Label text for the optional action link. Requires action-href to render.",
|
|
1772
|
+
"fieldName": "actionLabel",
|
|
1773
|
+
"attribute": "action-label"
|
|
1780
1774
|
},
|
|
1781
1775
|
{
|
|
1782
|
-
"name": "
|
|
1776
|
+
"name": "action-href",
|
|
1783
1777
|
"type": {
|
|
1784
|
-
"text": "
|
|
1785
|
-
},
|
|
1786
|
-
"default": "
|
|
1787
|
-
"description": "
|
|
1788
|
-
"fieldName": "
|
|
1789
|
-
"attribute": "
|
|
1778
|
+
"text": "string"
|
|
1779
|
+
},
|
|
1780
|
+
"default": "''",
|
|
1781
|
+
"description": "URL for the optional action link. Requires action-label to render.",
|
|
1782
|
+
"fieldName": "actionHref",
|
|
1783
|
+
"attribute": "action-href"
|
|
1790
1784
|
},
|
|
1791
1785
|
{
|
|
1792
|
-
"name": "
|
|
1786
|
+
"name": "open",
|
|
1793
1787
|
"type": {
|
|
1794
|
-
"text": "
|
|
1788
|
+
"text": "boolean"
|
|
1795
1789
|
},
|
|
1796
|
-
"default": "
|
|
1797
|
-
"description": "
|
|
1798
|
-
"fieldName": "
|
|
1799
|
-
"attribute": "
|
|
1790
|
+
"default": "true",
|
|
1791
|
+
"description": "Whether the banner is visible. Defaults to true — banners are shown by default.",
|
|
1792
|
+
"fieldName": "open",
|
|
1793
|
+
"attribute": "open"
|
|
1800
1794
|
},
|
|
1801
1795
|
{
|
|
1802
|
-
"name": "
|
|
1796
|
+
"name": "severity-label",
|
|
1803
1797
|
"type": {
|
|
1804
|
-
"text": "string"
|
|
1798
|
+
"text": "string | undefined"
|
|
1805
1799
|
},
|
|
1806
|
-
"
|
|
1807
|
-
"
|
|
1808
|
-
"
|
|
1809
|
-
"attribute": "dot-label"
|
|
1800
|
+
"description": "Override for the severity prefix announced to screen readers (e.g., \"Info:\", \"Error:\").\nWhen not set, defaults to the English label matching the current variant.",
|
|
1801
|
+
"fieldName": "severityLabel",
|
|
1802
|
+
"attribute": "severity-label"
|
|
1810
1803
|
},
|
|
1811
1804
|
{
|
|
1812
|
-
"name": "
|
|
1805
|
+
"name": "label-close",
|
|
1813
1806
|
"type": {
|
|
1814
1807
|
"text": "string"
|
|
1815
1808
|
},
|
|
1816
|
-
"default": "'
|
|
1817
|
-
"description": "Accessible label for the
|
|
1818
|
-
"fieldName": "
|
|
1819
|
-
"attribute": "remove-label"
|
|
1809
|
+
"default": "'Dismiss banner'",
|
|
1810
|
+
"description": "Accessible label for the dismiss button. Override for localized text.",
|
|
1811
|
+
"fieldName": "labelClose"
|
|
1820
1812
|
}
|
|
1821
1813
|
],
|
|
1822
1814
|
"superclass": {
|
|
1823
1815
|
"name": "LitElement",
|
|
1824
1816
|
"package": "lit"
|
|
1825
1817
|
},
|
|
1826
|
-
"tagName": "hx-
|
|
1818
|
+
"tagName": "hx-banner",
|
|
1827
1819
|
"customElement": true,
|
|
1828
|
-
"summary": "
|
|
1820
|
+
"summary": "Full-width page-level banner for persistent notifications with variant-based styling and ARIA live regions."
|
|
1829
1821
|
}
|
|
1830
1822
|
],
|
|
1831
1823
|
"exports": [
|
|
1832
1824
|
{
|
|
1833
1825
|
"kind": "js",
|
|
1834
|
-
"name": "
|
|
1826
|
+
"name": "HelixBanner",
|
|
1835
1827
|
"declaration": {
|
|
1836
|
-
"name": "
|
|
1837
|
-
"module": "src/components/hx-
|
|
1828
|
+
"name": "HelixBanner",
|
|
1829
|
+
"module": "src/components/hx-banner/hx-banner.ts"
|
|
1838
1830
|
}
|
|
1839
1831
|
},
|
|
1840
1832
|
{
|
|
1841
1833
|
"kind": "custom-element-definition",
|
|
1842
|
-
"name": "hx-
|
|
1834
|
+
"name": "hx-banner",
|
|
1843
1835
|
"declaration": {
|
|
1844
|
-
"name": "
|
|
1845
|
-
"module": "src/components/hx-
|
|
1836
|
+
"name": "HelixBanner",
|
|
1837
|
+
"module": "src/components/hx-banner/hx-banner.ts"
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "js",
|
|
1842
|
+
"name": "HxBanner",
|
|
1843
|
+
"declaration": {
|
|
1844
|
+
"name": "HelixBanner",
|
|
1845
|
+
"module": "src/components/hx-banner/hx-banner.ts"
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
]
|
|
1849
1849
|
},
|
|
1850
1850
|
{
|
|
1851
1851
|
"kind": "javascript-module",
|
|
1852
|
-
"path": "src/components/hx-
|
|
1852
|
+
"path": "src/components/hx-banner/index.ts",
|
|
1853
1853
|
"declarations": [],
|
|
1854
1854
|
"exports": [
|
|
1855
1855
|
{
|
|
1856
1856
|
"kind": "js",
|
|
1857
|
-
"name": "
|
|
1857
|
+
"name": "HelixBanner",
|
|
1858
1858
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"module": "./hx-
|
|
1859
|
+
"name": "HelixBanner",
|
|
1860
|
+
"module": "./hx-banner.js"
|
|
1861
1861
|
}
|
|
1862
1862
|
},
|
|
1863
1863
|
{
|
|
1864
1864
|
"kind": "js",
|
|
1865
|
-
"name": "
|
|
1865
|
+
"name": "BannerVariant",
|
|
1866
1866
|
"declaration": {
|
|
1867
|
-
"name": "
|
|
1868
|
-
"module": "./hx-
|
|
1867
|
+
"name": "BannerVariant",
|
|
1868
|
+
"module": "./hx-banner.js"
|
|
1869
1869
|
}
|
|
1870
1870
|
},
|
|
1871
1871
|
{
|
|
1872
1872
|
"kind": "js",
|
|
1873
|
-
"name": "
|
|
1873
|
+
"name": "BannerPosition",
|
|
1874
1874
|
"declaration": {
|
|
1875
|
-
"name": "
|
|
1876
|
-
"module": "./hx-
|
|
1875
|
+
"name": "BannerPosition",
|
|
1876
|
+
"module": "./hx-banner.js"
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
1879
|
]
|
|
@@ -15223,6 +15223,11 @@
|
|
|
15223
15223
|
"description": "Photo area size.",
|
|
15224
15224
|
"name": "--hx-patient-banner-photo-size",
|
|
15225
15225
|
"default": "var(--hx-space-10,2.5rem)"
|
|
15226
|
+
},
|
|
15227
|
+
{
|
|
15228
|
+
"description": "Photo area background color when empty.",
|
|
15229
|
+
"name": "--hx-patient-banner-photo-bg",
|
|
15230
|
+
"default": "var(--hx-color-neutral-200,#e5e7eb)"
|
|
15226
15231
|
}
|
|
15227
15232
|
],
|
|
15228
15233
|
"cssParts": [
|
|
@@ -15249,6 +15254,10 @@
|
|
|
15249
15254
|
{
|
|
15250
15255
|
"description": "The field value slot wrapper.",
|
|
15251
15256
|
"name": "field-value"
|
|
15257
|
+
},
|
|
15258
|
+
{
|
|
15259
|
+
"description": "The visually-hidden identifier rule violation status message.",
|
|
15260
|
+
"name": "violation-message"
|
|
15252
15261
|
}
|
|
15253
15262
|
],
|
|
15254
15263
|
"slots": [
|
|
@@ -15359,39 +15368,6 @@
|
|
|
15359
15368
|
"attribute": "enforce-identifier-rule",
|
|
15360
15369
|
"reflects": true
|
|
15361
15370
|
},
|
|
15362
|
-
{
|
|
15363
|
-
"kind": "field",
|
|
15364
|
-
"name": "_identifierCount",
|
|
15365
|
-
"type": {
|
|
15366
|
-
"text": "number"
|
|
15367
|
-
},
|
|
15368
|
-
"privacy": "private",
|
|
15369
|
-
"default": "0"
|
|
15370
|
-
},
|
|
15371
|
-
{
|
|
15372
|
-
"kind": "field",
|
|
15373
|
-
"name": "_nameSlot",
|
|
15374
|
-
"type": {
|
|
15375
|
-
"text": "HTMLSlotElement"
|
|
15376
|
-
},
|
|
15377
|
-
"privacy": "private"
|
|
15378
|
-
},
|
|
15379
|
-
{
|
|
15380
|
-
"kind": "field",
|
|
15381
|
-
"name": "_mrnSlot",
|
|
15382
|
-
"type": {
|
|
15383
|
-
"text": "HTMLSlotElement"
|
|
15384
|
-
},
|
|
15385
|
-
"privacy": "private"
|
|
15386
|
-
},
|
|
15387
|
-
{
|
|
15388
|
-
"kind": "field",
|
|
15389
|
-
"name": "_dobSlot",
|
|
15390
|
-
"type": {
|
|
15391
|
-
"text": "HTMLSlotElement"
|
|
15392
|
-
},
|
|
15393
|
-
"privacy": "private"
|
|
15394
|
-
},
|
|
15395
15371
|
{
|
|
15396
15372
|
"kind": "method",
|
|
15397
15373
|
"name": "_countPopulatedIdentifiers",
|
|
@@ -15598,6 +15574,11 @@
|
|
|
15598
15574
|
"description": "Focus ring color.",
|
|
15599
15575
|
"name": "--hx-phi-field-focus-ring-color",
|
|
15600
15576
|
"default": "var(--hx-focus-ring-color,var(--hx-color-primary-500,#2563eb))"
|
|
15577
|
+
},
|
|
15578
|
+
{
|
|
15579
|
+
"description": "Opacity applied when the field is disabled.",
|
|
15580
|
+
"name": "--hx-phi-field-disabled-opacity",
|
|
15581
|
+
"default": "var(--hx-opacity-50,0.5)"
|
|
15601
15582
|
}
|
|
15602
15583
|
],
|
|
15603
15584
|
"cssParts": [
|
|
@@ -15658,127 +15639,24 @@
|
|
|
15658
15639
|
},
|
|
15659
15640
|
{
|
|
15660
15641
|
"kind": "field",
|
|
15661
|
-
"name": "
|
|
15642
|
+
"name": "label",
|
|
15662
15643
|
"type": {
|
|
15663
|
-
"text": "
|
|
15644
|
+
"text": "string"
|
|
15664
15645
|
},
|
|
15665
|
-
"
|
|
15666
|
-
"
|
|
15646
|
+
"default": "''",
|
|
15647
|
+
"description": "Accessible label describing the PHI field. Used as a prefix in screen reader\nannouncements (e.g., \"Social Security Number is masked\").",
|
|
15648
|
+
"attribute": "label"
|
|
15667
15649
|
},
|
|
15668
15650
|
{
|
|
15669
15651
|
"kind": "field",
|
|
15670
|
-
"name": "
|
|
15652
|
+
"name": "disabled",
|
|
15671
15653
|
"type": {
|
|
15672
|
-
"text": "
|
|
15673
|
-
},
|
|
15674
|
-
"privacy": "private",
|
|
15675
|
-
"default": "null"
|
|
15676
|
-
},
|
|
15677
|
-
{
|
|
15678
|
-
"kind": "method",
|
|
15679
|
-
"name": "_cancelClipboardTimer",
|
|
15680
|
-
"privacy": "private",
|
|
15681
|
-
"return": {
|
|
15682
|
-
"type": {
|
|
15683
|
-
"text": "void"
|
|
15684
|
-
}
|
|
15685
|
-
}
|
|
15686
|
-
},
|
|
15687
|
-
{
|
|
15688
|
-
"kind": "method",
|
|
15689
|
-
"name": "_scheduleClipboardClear",
|
|
15690
|
-
"privacy": "private",
|
|
15691
|
-
"return": {
|
|
15692
|
-
"type": {
|
|
15693
|
-
"text": "void"
|
|
15694
|
-
}
|
|
15695
|
-
}
|
|
15696
|
-
},
|
|
15697
|
-
{
|
|
15698
|
-
"kind": "method",
|
|
15699
|
-
"name": "_clearClipboard",
|
|
15700
|
-
"privacy": "private",
|
|
15701
|
-
"return": {
|
|
15702
|
-
"type": {
|
|
15703
|
-
"text": "void"
|
|
15704
|
-
}
|
|
15705
|
-
}
|
|
15706
|
-
},
|
|
15707
|
-
{
|
|
15708
|
-
"kind": "method",
|
|
15709
|
-
"name": "_getMaskedValue",
|
|
15710
|
-
"privacy": "private",
|
|
15711
|
-
"return": {
|
|
15712
|
-
"type": {
|
|
15713
|
-
"text": "string"
|
|
15714
|
-
}
|
|
15715
|
-
}
|
|
15716
|
-
},
|
|
15717
|
-
{
|
|
15718
|
-
"kind": "method",
|
|
15719
|
-
"name": "_handleToggle",
|
|
15720
|
-
"privacy": "private",
|
|
15721
|
-
"return": {
|
|
15722
|
-
"type": {
|
|
15723
|
-
"text": "void"
|
|
15724
|
-
}
|
|
15725
|
-
}
|
|
15726
|
-
},
|
|
15727
|
-
{
|
|
15728
|
-
"kind": "method",
|
|
15729
|
-
"name": "_handleCopy",
|
|
15730
|
-
"privacy": "private",
|
|
15731
|
-
"return": {
|
|
15732
|
-
"type": {
|
|
15733
|
-
"text": "void"
|
|
15734
|
-
}
|
|
15735
|
-
},
|
|
15736
|
-
"parameters": [
|
|
15737
|
-
{
|
|
15738
|
-
"name": "e",
|
|
15739
|
-
"type": {
|
|
15740
|
-
"text": "ClipboardEvent"
|
|
15741
|
-
}
|
|
15742
|
-
}
|
|
15743
|
-
]
|
|
15744
|
-
},
|
|
15745
|
-
{
|
|
15746
|
-
"kind": "method",
|
|
15747
|
-
"name": "_handlePaste",
|
|
15748
|
-
"privacy": "private",
|
|
15749
|
-
"return": {
|
|
15750
|
-
"type": {
|
|
15751
|
-
"text": "void"
|
|
15752
|
-
}
|
|
15654
|
+
"text": "boolean"
|
|
15753
15655
|
},
|
|
15754
|
-
"
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
15758
|
-
"text": "ClipboardEvent"
|
|
15759
|
-
}
|
|
15760
|
-
}
|
|
15761
|
-
]
|
|
15762
|
-
},
|
|
15763
|
-
{
|
|
15764
|
-
"kind": "method",
|
|
15765
|
-
"name": "_renderEyeIcon",
|
|
15766
|
-
"privacy": "private",
|
|
15767
|
-
"return": {
|
|
15768
|
-
"type": {
|
|
15769
|
-
"text": "TemplateResult"
|
|
15770
|
-
}
|
|
15771
|
-
}
|
|
15772
|
-
},
|
|
15773
|
-
{
|
|
15774
|
-
"kind": "method",
|
|
15775
|
-
"name": "_renderEyeOffIcon",
|
|
15776
|
-
"privacy": "private",
|
|
15777
|
-
"return": {
|
|
15778
|
-
"type": {
|
|
15779
|
-
"text": "TemplateResult"
|
|
15780
|
-
}
|
|
15781
|
-
}
|
|
15656
|
+
"default": "false",
|
|
15657
|
+
"description": "When set, disables all interaction with the field and prevents reveal.",
|
|
15658
|
+
"reflects": true,
|
|
15659
|
+
"attribute": "disabled"
|
|
15782
15660
|
}
|
|
15783
15661
|
],
|
|
15784
15662
|
"events": [
|
|
@@ -15787,7 +15665,7 @@
|
|
|
15787
15665
|
"type": {
|
|
15788
15666
|
"text": "CustomEvent<PhiAccessEventDetail>"
|
|
15789
15667
|
},
|
|
15790
|
-
"description": "Fired on reveal, hide, and clipboard
|
|
15668
|
+
"description": "Fired on reveal, hide, and clipboard-clear actions."
|
|
15791
15669
|
}
|
|
15792
15670
|
],
|
|
15793
15671
|
"attributes": [
|
|
@@ -15830,6 +15708,26 @@
|
|
|
15830
15708
|
"description": "Milliseconds after clipboard write before the clipboard is automatically cleared.\nDefaults to 30000 (30 seconds).",
|
|
15831
15709
|
"fieldName": "clipboardTimeout",
|
|
15832
15710
|
"attribute": "clipboard-timeout"
|
|
15711
|
+
},
|
|
15712
|
+
{
|
|
15713
|
+
"name": "label",
|
|
15714
|
+
"type": {
|
|
15715
|
+
"text": "string"
|
|
15716
|
+
},
|
|
15717
|
+
"default": "''",
|
|
15718
|
+
"description": "Accessible label describing the PHI field. Used as a prefix in screen reader\nannouncements (e.g., \"Social Security Number is masked\").",
|
|
15719
|
+
"fieldName": "label",
|
|
15720
|
+
"attribute": "label"
|
|
15721
|
+
},
|
|
15722
|
+
{
|
|
15723
|
+
"name": "disabled",
|
|
15724
|
+
"type": {
|
|
15725
|
+
"text": "boolean"
|
|
15726
|
+
},
|
|
15727
|
+
"default": "false",
|
|
15728
|
+
"description": "When set, disables all interaction with the field and prevents reveal.",
|
|
15729
|
+
"fieldName": "disabled",
|
|
15730
|
+
"attribute": "disabled"
|
|
15833
15731
|
}
|
|
15834
15732
|
],
|
|
15835
15733
|
"superclass": {
|
|
@@ -18185,6 +18083,11 @@
|
|
|
18185
18083
|
"name": "--hx-select-chevron-color",
|
|
18186
18084
|
"default": "var(--hx-color-neutral-500)"
|
|
18187
18085
|
},
|
|
18086
|
+
{
|
|
18087
|
+
"description": "Chevron indicator size (width/height base unit).",
|
|
18088
|
+
"name": "--hx-select-chevron-size",
|
|
18089
|
+
"default": "0.5rem"
|
|
18090
|
+
},
|
|
18188
18091
|
{
|
|
18189
18092
|
"description": "Listbox panel background color.",
|
|
18190
18093
|
"name": "--hx-select-listbox-bg",
|
|
@@ -21178,7 +21081,7 @@
|
|
|
21178
21081
|
"declarations": [
|
|
21179
21082
|
{
|
|
21180
21083
|
"kind": "class",
|
|
21181
|
-
"description": "A colored dot/badge indicating system or entity health status.\
|
|
21084
|
+
"description": "A colored dot/badge indicating system or entity health status.\nSupports an animated pulse ring and an optional visible text label.\n\nStatus is conveyed through color AND an `aria-label` on the host element.\nWhen `show-label` is set, a visible text label is rendered inside the component,\nensuring status is not communicated by color alone (WCAG 1.4.1 — Use of Color).\n\nUses `role=\"img\"` with an auto-generated `aria-label` (e.g. \"Status: Online\").\nWhen used decoratively alongside visible text that conveys the same status information\n(e.g. \"Provider is available\"), set `aria-hidden=\"true\"` on the host element to prevent\nduplicate announcements to screen reader users. This is the recommended composition\npattern in healthcare dashboards.",
|
|
21182
21085
|
"name": "HelixStatusIndicator",
|
|
21183
21086
|
"cssProperties": [
|
|
21184
21087
|
{
|
|
@@ -21224,6 +21127,14 @@
|
|
|
21224
21127
|
{
|
|
21225
21128
|
"description": "Override pulse ring color independently from dot color.",
|
|
21226
21129
|
"name": "--hx-status-indicator-pulse-color"
|
|
21130
|
+
},
|
|
21131
|
+
{
|
|
21132
|
+
"description": "Override label text color.",
|
|
21133
|
+
"name": "--hx-status-indicator-label-color"
|
|
21134
|
+
},
|
|
21135
|
+
{
|
|
21136
|
+
"description": "Override label font size.",
|
|
21137
|
+
"name": "--hx-status-indicator-label-font-size"
|
|
21227
21138
|
}
|
|
21228
21139
|
],
|
|
21229
21140
|
"cssParts": [
|
|
@@ -21234,6 +21145,10 @@
|
|
|
21234
21145
|
{
|
|
21235
21146
|
"description": "The animated pulse ring element.",
|
|
21236
21147
|
"name": "pulse-ring"
|
|
21148
|
+
},
|
|
21149
|
+
{
|
|
21150
|
+
"description": "The visible status label text element (visible when show-label is set).",
|
|
21151
|
+
"name": "label"
|
|
21237
21152
|
}
|
|
21238
21153
|
],
|
|
21239
21154
|
"members": [
|
|
@@ -21279,6 +21194,17 @@
|
|
|
21279
21194
|
"default": "''",
|
|
21280
21195
|
"description": "Accessible label for the indicator. Defaults to \"Status: {Status}\".\nSet aria-hidden=\"true\" on the host when status is conveyed by adjacent text.",
|
|
21281
21196
|
"attribute": "label"
|
|
21197
|
+
},
|
|
21198
|
+
{
|
|
21199
|
+
"kind": "field",
|
|
21200
|
+
"name": "showLabel",
|
|
21201
|
+
"type": {
|
|
21202
|
+
"text": "boolean"
|
|
21203
|
+
},
|
|
21204
|
+
"default": "false",
|
|
21205
|
+
"description": "When true, renders a visible text label next to the dot conveying the status.\nUse this to satisfy WCAG 1.4.1 (Use of Color) when the indicator is not\naccompanied by other visible text that conveys the same status information.",
|
|
21206
|
+
"attribute": "show-label",
|
|
21207
|
+
"reflects": true
|
|
21282
21208
|
}
|
|
21283
21209
|
],
|
|
21284
21210
|
"attributes": [
|
|
@@ -21321,6 +21247,16 @@
|
|
|
21321
21247
|
"description": "Accessible label for the indicator. Defaults to \"Status: {Status}\".\nSet aria-hidden=\"true\" on the host when status is conveyed by adjacent text.",
|
|
21322
21248
|
"fieldName": "label",
|
|
21323
21249
|
"attribute": "label"
|
|
21250
|
+
},
|
|
21251
|
+
{
|
|
21252
|
+
"name": "show-label",
|
|
21253
|
+
"type": {
|
|
21254
|
+
"text": "boolean"
|
|
21255
|
+
},
|
|
21256
|
+
"default": "false",
|
|
21257
|
+
"description": "When true, renders a visible text label next to the dot conveying the status.\nUse this to satisfy WCAG 1.4.1 (Use of Color) when the indicator is not\naccompanied by other visible text that conveys the same status information.",
|
|
21258
|
+
"fieldName": "showLabel",
|
|
21259
|
+
"attribute": "show-label"
|
|
21324
21260
|
}
|
|
21325
21261
|
],
|
|
21326
21262
|
"superclass": {
|