@carbon/ibm-products-web-components 0.40.0 → 0.41.0-rc.1
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 +584 -0
- package/es/components/add-select/add-select-body.d.ts +81 -0
- package/es/components/add-select/add-select-body.d.ts.map +1 -0
- package/es/components/add-select/add-select-body.js +190 -0
- package/es/components/add-select/add-select-body.js.map +1 -0
- package/es/components/add-select/add-select-body.scss.js +14 -0
- package/es/components/add-select/add-select-body.scss.js.map +1 -0
- package/es/components/add-select/add-select-content.d.ts +57 -0
- package/es/components/add-select/add-select-content.d.ts.map +1 -0
- package/es/components/add-select/add-select-content.js +188 -0
- package/es/components/add-select/add-select-content.js.map +1 -0
- package/es/components/add-select/add-select-content.scss.js +14 -0
- package/es/components/add-select/add-select-content.scss.js.map +1 -0
- package/es/components/add-select/add-select-row.d.ts +83 -0
- package/es/components/add-select/add-select-row.d.ts.map +1 -0
- package/es/components/add-select/add-select-row.js +211 -0
- package/es/components/add-select/add-select-row.js.map +1 -0
- package/es/components/add-select/add-select-row.scss.js +14 -0
- package/es/components/add-select/add-select-row.scss.js.map +1 -0
- package/es/components/add-select/add-select.d.ts +24 -0
- package/es/components/add-select/add-select.d.ts.map +1 -0
- package/es/components/add-select/add-select.js +54 -0
- package/es/components/add-select/add-select.js.map +1 -0
- package/es/components/add-select/add-select.scss.js +14 -0
- package/es/components/add-select/add-select.scss.js.map +1 -0
- package/es/components/add-select/index.d.ts +13 -0
- package/es/components/add-select/index.d.ts.map +1 -0
- package/es/components/add-select/index.js +11 -0
- package/es/components/edit-in-place/defs.d.ts +30 -0
- package/es/components/edit-in-place/defs.d.ts.map +1 -0
- package/es/components/edit-in-place/defs.js +43 -0
- package/es/components/edit-in-place/defs.js.map +1 -0
- package/es/components/edit-in-place/edit-in-place.d.ts +201 -0
- package/es/components/edit-in-place/edit-in-place.d.ts.map +1 -0
- package/es/components/edit-in-place/edit-in-place.js +442 -0
- package/es/components/edit-in-place/edit-in-place.js.map +1 -0
- package/es/components/edit-in-place/edit-in-place.scss.js +14 -0
- package/es/components/edit-in-place/edit-in-place.scss.js.map +1 -0
- package/es/components/edit-in-place/index.d.ts +10 -0
- package/es/components/edit-in-place/index.d.ts.map +1 -0
- package/es/components/edit-in-place/index.js +8 -0
- package/es/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.js +1 -1
- package/es/components/page-header/page-header-tags-set/page-header-tags-set.js +2 -2
- package/es/components/tearsheet/tearsheet.scss.js +1 -1
- package/es/components/tearsheet-preview/tearsheet-header-content.scss.js +1 -1
- package/es/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -1
- package/es/components/tearsheet-preview/tearsheet-header.scss.js +1 -1
- package/es/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +1 -1
- package/es/components/tearsheet-preview/tearsheet.scss.js +1 -1
- package/es/index.d.ts +3 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +3 -1
- package/es/package.js +1 -1
- package/es-custom/components/add-select/add-select-body.js +190 -0
- package/es-custom/components/add-select/add-select-body.js.map +1 -0
- package/es-custom/components/add-select/add-select-body.scss.js +14 -0
- package/es-custom/components/add-select/add-select-body.scss.js.map +1 -0
- package/es-custom/components/add-select/add-select-content.js +188 -0
- package/es-custom/components/add-select/add-select-content.js.map +1 -0
- package/es-custom/components/add-select/add-select-content.scss.js +14 -0
- package/es-custom/components/add-select/add-select-content.scss.js.map +1 -0
- package/es-custom/components/add-select/add-select-row.js +211 -0
- package/es-custom/components/add-select/add-select-row.js.map +1 -0
- package/es-custom/components/add-select/add-select-row.scss.js +14 -0
- package/es-custom/components/add-select/add-select-row.scss.js.map +1 -0
- package/es-custom/components/add-select/add-select.js +54 -0
- package/es-custom/components/add-select/add-select.js.map +1 -0
- package/es-custom/components/add-select/add-select.scss.js +14 -0
- package/es-custom/components/add-select/add-select.scss.js.map +1 -0
- package/es-custom/components/add-select/index.js +11 -0
- package/es-custom/components/edit-in-place/defs.js +43 -0
- package/es-custom/components/edit-in-place/defs.js.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place.js +442 -0
- package/es-custom/components/edit-in-place/edit-in-place.js.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place.scss.js +14 -0
- package/es-custom/components/edit-in-place/edit-in-place.scss.js.map +1 -0
- package/es-custom/components/edit-in-place/index.js +8 -0
- package/es-custom/components/page-header/page-header-breadcrumbs-set/page-header-breadcrumbs-set.js +1 -1
- package/es-custom/components/page-header/page-header-tags-set/page-header-tags-set.js +2 -2
- package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js +1 -1
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -1
- package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js +1 -1
- package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +1 -1
- package/es-custom/components/tearsheet-preview/tearsheet.scss.js +1 -1
- package/es-custom/index.js +3 -1
- package/es-custom/package.js +1 -1
- package/lib/components/add-select/add-select-body.d.ts +81 -0
- package/lib/components/add-select/add-select-body.d.ts.map +1 -0
- package/lib/components/add-select/add-select-content.d.ts +57 -0
- package/lib/components/add-select/add-select-content.d.ts.map +1 -0
- package/lib/components/add-select/add-select-row.d.ts +83 -0
- package/lib/components/add-select/add-select-row.d.ts.map +1 -0
- package/lib/components/add-select/add-select.d.ts +24 -0
- package/lib/components/add-select/add-select.d.ts.map +1 -0
- package/lib/components/add-select/index.d.ts +13 -0
- package/lib/components/add-select/index.d.ts.map +1 -0
- package/lib/components/edit-in-place/defs.d.ts +30 -0
- package/lib/components/edit-in-place/defs.d.ts.map +1 -0
- package/lib/components/edit-in-place/defs.js +45 -0
- package/lib/components/edit-in-place/defs.js.map +1 -0
- package/lib/components/edit-in-place/edit-in-place.d.ts +201 -0
- package/lib/components/edit-in-place/edit-in-place.d.ts.map +1 -0
- package/lib/components/edit-in-place/index.d.ts +10 -0
- package/lib/components/edit-in-place/index.d.ts.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/scss/components/add-select/add-select-body.scss +65 -0
- package/scss/components/add-select/add-select-content.scss +42 -0
- package/scss/components/add-select/add-select-row.scss +151 -0
- package/scss/components/add-select/add-select.scss +32 -0
- package/scss/components/edit-in-place/edit-in-place.scss +145 -0
- package/scss/components/tearsheet-preview/tearsheet-header-content.scss +3 -0
- package/telemetry.yml +57 -4
package/custom-elements.json
CHANGED
|
@@ -191,6 +191,311 @@
|
|
|
191
191
|
}
|
|
192
192
|
]
|
|
193
193
|
},
|
|
194
|
+
{
|
|
195
|
+
"name": "c4p-add-select-body",
|
|
196
|
+
"path": "./src/components/add-select/add-select-body.ts",
|
|
197
|
+
"description": "Add Select Body component - contains the main content area",
|
|
198
|
+
"attributes": [
|
|
199
|
+
{
|
|
200
|
+
"name": "items-label",
|
|
201
|
+
"description": "Label for items section",
|
|
202
|
+
"type": "string",
|
|
203
|
+
"default": "\"\""
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "global-search-label",
|
|
207
|
+
"description": "Global search label",
|
|
208
|
+
"type": "string",
|
|
209
|
+
"default": "\"\""
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "global-search-placeholder",
|
|
213
|
+
"description": "Global search placeholder",
|
|
214
|
+
"type": "string",
|
|
215
|
+
"default": "\"Search\""
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "search-results-title",
|
|
219
|
+
"description": "No results title",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"default": "\"Search results\""
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "item-count",
|
|
225
|
+
"description": "Item count for display",
|
|
226
|
+
"type": "number",
|
|
227
|
+
"default": "0"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "path",
|
|
231
|
+
"description": "Navigation path for breadcrumbs",
|
|
232
|
+
"type": "{ id: string; title: string; }[]",
|
|
233
|
+
"default": "[]"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"properties": [
|
|
237
|
+
{
|
|
238
|
+
"name": "itemsLabel",
|
|
239
|
+
"attribute": "items-label",
|
|
240
|
+
"description": "Label for items section",
|
|
241
|
+
"type": "string",
|
|
242
|
+
"default": "\"\""
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "globalSearchLabel",
|
|
246
|
+
"attribute": "global-search-label",
|
|
247
|
+
"description": "Global search label",
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "\"\""
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "globalSearchPlaceholder",
|
|
253
|
+
"attribute": "global-search-placeholder",
|
|
254
|
+
"description": "Global search placeholder",
|
|
255
|
+
"type": "string",
|
|
256
|
+
"default": "\"Search\""
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "searchResultsTitle",
|
|
260
|
+
"attribute": "search-results-title",
|
|
261
|
+
"description": "No results title",
|
|
262
|
+
"type": "string",
|
|
263
|
+
"default": "\"Search results\""
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "itemCount",
|
|
267
|
+
"attribute": "item-count",
|
|
268
|
+
"description": "Item count for display",
|
|
269
|
+
"type": "number",
|
|
270
|
+
"default": "0"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "path",
|
|
274
|
+
"attribute": "path",
|
|
275
|
+
"description": "Navigation path for breadcrumbs",
|
|
276
|
+
"type": "{ id: string; title: string; }[]",
|
|
277
|
+
"default": "[]"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "styles",
|
|
281
|
+
"default": "\"styles\""
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"events": [
|
|
285
|
+
{
|
|
286
|
+
"name": "c4p-add-select-body-search",
|
|
287
|
+
"description": "Fired when search term changes"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"slots": [
|
|
291
|
+
{
|
|
292
|
+
"name": "default",
|
|
293
|
+
"description": "The main content area containing c4p-add-select-content"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "header",
|
|
297
|
+
"description": "Custom header content"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "c4p-add-select-content",
|
|
303
|
+
"path": "./src/components/add-select/add-select-content.ts",
|
|
304
|
+
"description": "Add Select Content component - contains the list of selectable items",
|
|
305
|
+
"properties": [
|
|
306
|
+
{
|
|
307
|
+
"name": "styles",
|
|
308
|
+
"default": "\"styles\""
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"events": [
|
|
312
|
+
{
|
|
313
|
+
"name": "c4p-add-select-row-navigate"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "c4p-add-select-row-select"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"slots": [
|
|
320
|
+
{
|
|
321
|
+
"name": "default",
|
|
322
|
+
"description": "Contains c4p-add-select-row components"
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "c4p-add-select-row",
|
|
328
|
+
"path": "./src/components/add-select/add-select-row.ts",
|
|
329
|
+
"description": "Add Select Row component - represents a single selectable row",
|
|
330
|
+
"attributes": [
|
|
331
|
+
{
|
|
332
|
+
"name": "item-id",
|
|
333
|
+
"description": "Unique identifier for the item",
|
|
334
|
+
"type": "string",
|
|
335
|
+
"default": "\"\""
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "title",
|
|
339
|
+
"description": "Item title",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"default": "\"\""
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "subtitle",
|
|
345
|
+
"description": "Item subtitle",
|
|
346
|
+
"type": "string",
|
|
347
|
+
"default": "\"\""
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "value",
|
|
351
|
+
"description": "Item value",
|
|
352
|
+
"type": "string",
|
|
353
|
+
"default": "\"\""
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "selected",
|
|
357
|
+
"description": "Whether the item is selected",
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"default": "false"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "disabled",
|
|
363
|
+
"description": "Whether the item is disabled",
|
|
364
|
+
"type": "boolean",
|
|
365
|
+
"default": "false"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "has-children",
|
|
369
|
+
"description": "Whether the item has children (for navigation)",
|
|
370
|
+
"type": "boolean",
|
|
371
|
+
"default": "false"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "parent-id",
|
|
375
|
+
"description": "Parent ID for hierarchical navigation",
|
|
376
|
+
"type": "string",
|
|
377
|
+
"default": "\"\""
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"properties": [
|
|
381
|
+
{
|
|
382
|
+
"name": "itemId",
|
|
383
|
+
"attribute": "item-id",
|
|
384
|
+
"description": "Unique identifier for the item",
|
|
385
|
+
"type": "string",
|
|
386
|
+
"default": "\"\""
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "title",
|
|
390
|
+
"attribute": "title",
|
|
391
|
+
"description": "Item title",
|
|
392
|
+
"type": "string",
|
|
393
|
+
"default": "\"\""
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "subtitle",
|
|
397
|
+
"attribute": "subtitle",
|
|
398
|
+
"description": "Item subtitle",
|
|
399
|
+
"type": "string",
|
|
400
|
+
"default": "\"\""
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "value",
|
|
404
|
+
"attribute": "value",
|
|
405
|
+
"description": "Item value",
|
|
406
|
+
"type": "string",
|
|
407
|
+
"default": "\"\""
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "selected",
|
|
411
|
+
"attribute": "selected",
|
|
412
|
+
"description": "Whether the item is selected",
|
|
413
|
+
"type": "boolean",
|
|
414
|
+
"default": "false"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "disabled",
|
|
418
|
+
"attribute": "disabled",
|
|
419
|
+
"description": "Whether the item is disabled",
|
|
420
|
+
"type": "boolean",
|
|
421
|
+
"default": "false"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "hasChildren",
|
|
425
|
+
"attribute": "has-children",
|
|
426
|
+
"description": "Whether the item has children (for navigation)",
|
|
427
|
+
"type": "boolean",
|
|
428
|
+
"default": "false"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "parentId",
|
|
432
|
+
"attribute": "parent-id",
|
|
433
|
+
"description": "Parent ID for hierarchical navigation",
|
|
434
|
+
"type": "string",
|
|
435
|
+
"default": "\"\""
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "styles",
|
|
439
|
+
"default": "\"styles\""
|
|
440
|
+
}
|
|
441
|
+
],
|
|
442
|
+
"events": [
|
|
443
|
+
{
|
|
444
|
+
"name": "c4p-add-select-row-select",
|
|
445
|
+
"description": "Fired when row is selected/deselected"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "c4p-add-select-row-navigate",
|
|
449
|
+
"description": "Fired when navigating to children"
|
|
450
|
+
}
|
|
451
|
+
],
|
|
452
|
+
"slots": [
|
|
453
|
+
{
|
|
454
|
+
"name": "default",
|
|
455
|
+
"description": "Custom content to render after the title/subtitle section. Useful for adding badges, tags, or other metadata to the row."
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "icon",
|
|
459
|
+
"description": "Optional icon slot"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "meta",
|
|
463
|
+
"description": "Optional metadata slot"
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "c4p-add-select",
|
|
469
|
+
"path": "./src/components/add-select/add-select.ts",
|
|
470
|
+
"description": "Add Select wrapper component - provides context for child components",
|
|
471
|
+
"attributes": [
|
|
472
|
+
{
|
|
473
|
+
"name": "multi",
|
|
474
|
+
"description": "Whether this is a multi-select (checkboxes) or single-select (radio buttons)",
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"default": "false"
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"properties": [
|
|
480
|
+
{
|
|
481
|
+
"name": "multi",
|
|
482
|
+
"attribute": "multi",
|
|
483
|
+
"description": "Whether this is a multi-select (checkboxes) or single-select (radio buttons)",
|
|
484
|
+
"type": "boolean",
|
|
485
|
+
"default": "false"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "styles",
|
|
489
|
+
"default": "\"styles\""
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"slots": [
|
|
493
|
+
{
|
|
494
|
+
"name": "default",
|
|
495
|
+
"description": "The main content area containing c4p-add-select-body"
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
|
+
},
|
|
194
499
|
{
|
|
195
500
|
"name": "c4p-big-number-skeleton",
|
|
196
501
|
"path": "./src/components/big-number/big-number-skeleton.ts",
|
|
@@ -1100,6 +1405,285 @@
|
|
|
1100
1405
|
}
|
|
1101
1406
|
]
|
|
1102
1407
|
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "c4p-edit-in-place",
|
|
1410
|
+
"path": "./src/components/edit-in-place/edit-in-place.ts",
|
|
1411
|
+
"description": "EditInPlace component for inline text editing.",
|
|
1412
|
+
"attributes": [
|
|
1413
|
+
{
|
|
1414
|
+
"name": "cancel-label",
|
|
1415
|
+
"description": "Label for the cancel button",
|
|
1416
|
+
"type": "string",
|
|
1417
|
+
"default": "\"Cancel\""
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "edit-always-visible",
|
|
1421
|
+
"description": "By default the edit icon is shown on hover only. Set to true to always show it.",
|
|
1422
|
+
"type": "boolean",
|
|
1423
|
+
"default": "false"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "edit-label",
|
|
1427
|
+
"description": "Label for the edit button",
|
|
1428
|
+
"type": "string",
|
|
1429
|
+
"default": "\"Edit\""
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"name": "id",
|
|
1433
|
+
"description": "Specify a custom id for the input",
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"default": "\"\""
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"name": "inherit-typography",
|
|
1439
|
+
"description": "Causes the text entry field to inherit typography settings from the container",
|
|
1440
|
+
"type": "boolean",
|
|
1441
|
+
"default": "false"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "invalid",
|
|
1445
|
+
"description": "Determines if the input is invalid",
|
|
1446
|
+
"type": "boolean",
|
|
1447
|
+
"default": "false"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "invalid-text",
|
|
1451
|
+
"description": "Text that is displayed if the input is invalid",
|
|
1452
|
+
"type": "string",
|
|
1453
|
+
"default": "\"\""
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "label-text",
|
|
1457
|
+
"description": "Text that will be read by a screen reader when visiting this control",
|
|
1458
|
+
"type": "string",
|
|
1459
|
+
"default": "\"\""
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "placeholder",
|
|
1463
|
+
"description": "Placeholder text for the input",
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"default": "\"\""
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "read-only",
|
|
1469
|
+
"description": "Determines if the input is in readOnly mode",
|
|
1470
|
+
"type": "boolean",
|
|
1471
|
+
"default": "false"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "read-only-label",
|
|
1475
|
+
"description": "Label for the edit off button that displays when in read only mode",
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"default": "\"Edit off\""
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "read-only-toggletip-text",
|
|
1481
|
+
"description": "Text for the toggletip that displays when in read only mode",
|
|
1482
|
+
"type": "string",
|
|
1483
|
+
"default": "\"This field is read-only and cannot be edited\""
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "save-label",
|
|
1487
|
+
"description": "Label for the save button",
|
|
1488
|
+
"type": "string",
|
|
1489
|
+
"default": "\"Save\""
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "size",
|
|
1493
|
+
"description": "Vertical size of control",
|
|
1494
|
+
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
1495
|
+
"default": "\"sm\""
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"name": "toggletip-alignment",
|
|
1499
|
+
"description": "Alignment for the toggletip that displays when in read only mode",
|
|
1500
|
+
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\"",
|
|
1501
|
+
"default": "\"bottom\""
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"name": "tooltip-alignment",
|
|
1505
|
+
"description": "Tooltip alignment for buttons",
|
|
1506
|
+
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\"",
|
|
1507
|
+
"default": "\"top\""
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"name": "value",
|
|
1511
|
+
"description": "Current value of the input (controlled mode)",
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"default": "\"\""
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "default-value",
|
|
1517
|
+
"description": "Default value for uncontrolled mode",
|
|
1518
|
+
"type": "string",
|
|
1519
|
+
"default": "\"\""
|
|
1520
|
+
}
|
|
1521
|
+
],
|
|
1522
|
+
"properties": [
|
|
1523
|
+
{
|
|
1524
|
+
"name": "cancelLabel",
|
|
1525
|
+
"attribute": "cancel-label",
|
|
1526
|
+
"description": "Label for the cancel button",
|
|
1527
|
+
"type": "string",
|
|
1528
|
+
"default": "\"Cancel\""
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "editAlwaysVisible",
|
|
1532
|
+
"attribute": "edit-always-visible",
|
|
1533
|
+
"description": "By default the edit icon is shown on hover only. Set to true to always show it.",
|
|
1534
|
+
"type": "boolean",
|
|
1535
|
+
"default": "false"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "editLabel",
|
|
1539
|
+
"attribute": "edit-label",
|
|
1540
|
+
"description": "Label for the edit button",
|
|
1541
|
+
"type": "string",
|
|
1542
|
+
"default": "\"Edit\""
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "id",
|
|
1546
|
+
"attribute": "id",
|
|
1547
|
+
"description": "Specify a custom id for the input",
|
|
1548
|
+
"type": "string",
|
|
1549
|
+
"default": "\"\""
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"name": "inheritTypography",
|
|
1553
|
+
"attribute": "inherit-typography",
|
|
1554
|
+
"description": "Causes the text entry field to inherit typography settings from the container",
|
|
1555
|
+
"type": "boolean",
|
|
1556
|
+
"default": "false"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "invalid",
|
|
1560
|
+
"attribute": "invalid",
|
|
1561
|
+
"description": "Determines if the input is invalid",
|
|
1562
|
+
"type": "boolean",
|
|
1563
|
+
"default": "false"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "invalidText",
|
|
1567
|
+
"attribute": "invalid-text",
|
|
1568
|
+
"description": "Text that is displayed if the input is invalid",
|
|
1569
|
+
"type": "string",
|
|
1570
|
+
"default": "\"\""
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"name": "labelText",
|
|
1574
|
+
"attribute": "label-text",
|
|
1575
|
+
"description": "Text that will be read by a screen reader when visiting this control",
|
|
1576
|
+
"type": "string",
|
|
1577
|
+
"default": "\"\""
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "placeholder",
|
|
1581
|
+
"attribute": "placeholder",
|
|
1582
|
+
"description": "Placeholder text for the input",
|
|
1583
|
+
"type": "string",
|
|
1584
|
+
"default": "\"\""
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"name": "readOnly",
|
|
1588
|
+
"attribute": "read-only",
|
|
1589
|
+
"description": "Determines if the input is in readOnly mode",
|
|
1590
|
+
"type": "boolean",
|
|
1591
|
+
"default": "false"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "readOnlyLabel",
|
|
1595
|
+
"attribute": "read-only-label",
|
|
1596
|
+
"description": "Label for the edit off button that displays when in read only mode",
|
|
1597
|
+
"type": "string",
|
|
1598
|
+
"default": "\"Edit off\""
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "readOnlyToggleTipText",
|
|
1602
|
+
"attribute": "read-only-toggletip-text",
|
|
1603
|
+
"description": "Text for the toggletip that displays when in read only mode",
|
|
1604
|
+
"type": "string",
|
|
1605
|
+
"default": "\"This field is read-only and cannot be edited\""
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "saveLabel",
|
|
1609
|
+
"attribute": "save-label",
|
|
1610
|
+
"description": "Label for the save button",
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"default": "\"Save\""
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "size",
|
|
1616
|
+
"attribute": "size",
|
|
1617
|
+
"description": "Vertical size of control",
|
|
1618
|
+
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
1619
|
+
"default": "\"sm\""
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"name": "toggleTipAlignment",
|
|
1623
|
+
"attribute": "toggletip-alignment",
|
|
1624
|
+
"description": "Alignment for the toggletip that displays when in read only mode",
|
|
1625
|
+
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\"",
|
|
1626
|
+
"default": "\"bottom\""
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "tooltipAlignment",
|
|
1630
|
+
"attribute": "tooltip-alignment",
|
|
1631
|
+
"description": "Tooltip alignment for buttons",
|
|
1632
|
+
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\"",
|
|
1633
|
+
"default": "\"top\""
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "value",
|
|
1637
|
+
"attribute": "value",
|
|
1638
|
+
"description": "Current value of the input (controlled mode)",
|
|
1639
|
+
"type": "string",
|
|
1640
|
+
"default": "\"\""
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"name": "defaultValue",
|
|
1644
|
+
"attribute": "default-value",
|
|
1645
|
+
"description": "Default value for uncontrolled mode",
|
|
1646
|
+
"type": "string",
|
|
1647
|
+
"default": "\"\""
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"name": "styles",
|
|
1651
|
+
"default": "\"styles\""
|
|
1652
|
+
}
|
|
1653
|
+
],
|
|
1654
|
+
"events": [
|
|
1655
|
+
{
|
|
1656
|
+
"name": "c4p-edit-in-place-change",
|
|
1657
|
+
"description": "Fired when the input value changes"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"name": "c4p-edit-in-place-save",
|
|
1661
|
+
"description": "Fired when the save button is clicked or Enter is pressed"
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"name": "c4p-edit-in-place-cancel",
|
|
1665
|
+
"description": "Fired when the cancel button is clicked or Escape is pressed"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "c4p-edit-in-place-blur",
|
|
1669
|
+
"description": "Fired when the input loses focus (if onBlur handler is used)"
|
|
1670
|
+
}
|
|
1671
|
+
],
|
|
1672
|
+
"cssParts": [
|
|
1673
|
+
{
|
|
1674
|
+
"name": "input",
|
|
1675
|
+
"description": "The input element"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"name": "actions",
|
|
1679
|
+
"description": "The button container"
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"name": "invalid-text",
|
|
1683
|
+
"description": "The error message container"
|
|
1684
|
+
}
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1103
1687
|
{
|
|
1104
1688
|
"name": "c4p-full-page-error",
|
|
1105
1689
|
"path": "./src/components/full-page-error/full-page-error.ts",
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { LitElement } from 'lit';
|
|
10
|
+
import '@carbon/web-components/es/components/button/index.js';
|
|
11
|
+
import '@carbon/web-components/es/components/search/index.js';
|
|
12
|
+
import '@carbon/web-components/es/components/tag/index.js';
|
|
13
|
+
import '@carbon/web-components/es/components/breadcrumb/index.js';
|
|
14
|
+
import '@carbon/web-components/es/components/link/index.js';
|
|
15
|
+
/**
|
|
16
|
+
* Add Select Body component - contains the main content area
|
|
17
|
+
* @element c4p-add-select-body
|
|
18
|
+
* @slot default - The main content area containing c4p-add-select-content
|
|
19
|
+
* @slot header - Custom header content
|
|
20
|
+
* @fires c4p-add-select-body-search - Fired when search term changes
|
|
21
|
+
*/
|
|
22
|
+
declare class CDSAddSelectBody extends LitElement {
|
|
23
|
+
/**
|
|
24
|
+
* Whether this is a multi-select (inherited from parent c4p-add-select)
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
private get _multi();
|
|
28
|
+
/**
|
|
29
|
+
* Label for items section
|
|
30
|
+
*/
|
|
31
|
+
itemsLabel: string;
|
|
32
|
+
/**
|
|
33
|
+
* Global search label
|
|
34
|
+
*/
|
|
35
|
+
globalSearchLabel: string;
|
|
36
|
+
/**
|
|
37
|
+
* Global search placeholder
|
|
38
|
+
*/
|
|
39
|
+
globalSearchPlaceholder: string;
|
|
40
|
+
/**
|
|
41
|
+
* No results title
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* No results description
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Search results title
|
|
48
|
+
*/
|
|
49
|
+
searchResultsTitle: string;
|
|
50
|
+
/**
|
|
51
|
+
* Current search term
|
|
52
|
+
*/
|
|
53
|
+
private _searchTerm;
|
|
54
|
+
/**
|
|
55
|
+
* Item count for display
|
|
56
|
+
*/
|
|
57
|
+
itemCount: number;
|
|
58
|
+
/**
|
|
59
|
+
* Navigation path for breadcrumbs
|
|
60
|
+
*/
|
|
61
|
+
path: Array<{
|
|
62
|
+
id: string;
|
|
63
|
+
title: string;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Handle search input
|
|
67
|
+
*/
|
|
68
|
+
private _handleSearch;
|
|
69
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the custom event fired when search term changes
|
|
72
|
+
*/
|
|
73
|
+
static get eventSearch(): string;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the custom event fired when breadcrumb is clicked
|
|
76
|
+
*/
|
|
77
|
+
static get eventBreadcrumbClick(): string;
|
|
78
|
+
static styles: any;
|
|
79
|
+
}
|
|
80
|
+
export default CDSAddSelectBody;
|
|
81
|
+
//# sourceMappingURL=add-select-body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-select-body.d.ts","sourceRoot":"","sources":["../../../src/components/add-select/add-select-body.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,sDAAsD,CAAC;AAC9D,OAAO,sDAAsD,CAAC;AAC9D,OAAO,mDAAmD,CAAC;AAC3D,OAAO,0DAA0D,CAAC;AAClE,OAAO,oDAAoD,CAAC;AAM5D;;;;;;GAMG;AACH,cACM,gBAAiB,SAAQ,UAAU;IACvC;;;OAGG;IACH,OAAO,KAAK,MAAM,GAGjB;IAED;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,iBAAiB,SAAM;IAEvB;;OAEG;IAEH,uBAAuB,SAAY;IAEnC;;OAEG;IAIH;;OAEG;IAIH;;OAEG;IAEH,kBAAkB,SAAoB;IAEtC;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAM;IAEzB;;OAEG;IAEH,SAAS,SAAK;IAEd;;OAEG;IAEH,IAAI,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IAEhD;;OAEG;IACH,OAAO,CAAC,aAAa;IAgBrB,MAAM;IA2GN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC"}
|