@carbon/web-components 2.36.0-rc.1 → 2.37.0-rc.0
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 +248 -0
- package/dist/ai-label.min.js +1 -1
- package/dist/{button-skeleton-BW8_RGsc.js → button-skeleton-Df1e1bWc.js} +1 -1
- package/dist/{button-Nlq4SV2t.js → button-ziU9wKdi.js} +1 -1
- package/dist/button.min.js +1 -1
- package/dist/chat-button.min.js +1 -1
- package/dist/{checkbox-bmgb9_fW.js → checkbox-DCLTPFGQ.js} +2 -2
- package/dist/checkbox.min.js +1 -1
- package/dist/code-snippet.min.js +1 -1
- package/dist/combo-button.min.js +1 -1
- package/dist/{content-switcher-item-DDMLTkOF.js → content-switcher-item-RhcQcYth.js} +1 -1
- package/dist/content-switcher.min.js +1 -1
- package/dist/copy-button.min.js +1 -1
- package/dist/data-table.min.js +1 -1
- package/dist/feature-flags.min.js +1 -1
- package/dist/file-uploader.min.js +1 -1
- package/dist/icon-button.min.js +1 -1
- package/dist/menu-button.min.js +1 -1
- package/dist/modal.min.js +1 -1
- package/dist/multi-select.min.js +1 -1
- package/dist/notification.min.js +19 -5
- package/dist/number-input.min.js +11 -11
- package/dist/overflow-menu.min.js +1 -1
- package/dist/pagination.min.js +3 -3
- package/dist/{search-CM5cXy8n.js → search-C8VP2Zu3.js} +3 -3
- package/dist/search.min.js +1 -1
- package/dist/side-panel.min.js +1 -1
- package/dist/slug.min.js +1 -1
- package/dist/tabs.min.js +1 -1
- package/dist/tag.min.js +4 -4
- package/dist/tearsheet.min.js +1 -1
- package/dist/toggle.min.js +1 -1
- package/dist/ui-shell.min.js +1 -1
- package/es/components/ai-label/ai-label.scss.js +1 -1
- package/es/components/button/button.scss.js +1 -1
- package/es/components/chat-button/chat-button.scss.js +1 -1
- package/es/components/checkbox/checkbox.d.ts +1 -0
- package/es/components/checkbox/checkbox.js +7 -4
- package/es/components/checkbox/checkbox.js.map +1 -1
- package/es/components/content-switcher/content-switcher.scss.js +1 -1
- package/es/components/icon-button/icon-button.scss.js +1 -1
- package/es/components/modal/modal.scss.js +1 -1
- package/es/components/notification/actionable-notification.d.ts +11 -0
- package/es/components/notification/actionable-notification.js +1 -1
- package/es/components/notification/actionable-notification.js.map +1 -1
- package/es/components/notification/actionable-notification.scss.js +1 -1
- package/es/components/notification/callout-notification.d.ts +33 -0
- package/es/components/notification/callout-notification.js +106 -0
- package/es/components/notification/callout-notification.js.map +1 -0
- package/es/components/notification/defs.d.ts +8 -2
- package/es/components/notification/defs.js +7 -1
- package/es/components/notification/defs.js.map +1 -1
- package/es/components/notification/index.d.ts +2 -1
- package/es/components/notification/index.js +1 -0
- package/es/components/notification/index.js.map +1 -1
- package/es/components/number-input/number-input.d.ts +1 -0
- package/es/components/number-input/number-input.js +17 -3
- package/es/components/number-input/number-input.js.map +1 -1
- package/es/components/pagination/pagination.d.ts +1 -1
- package/es/components/pagination/pagination.js +6 -3
- package/es/components/pagination/pagination.js.map +1 -1
- package/es/components/search/search.d.ts +13 -1
- package/es/components/search/search.js +74 -5
- package/es/components/search/search.js.map +1 -1
- package/es/components/search/search.scss.js +1 -1
- package/es/components/slug/slug.scss.js +1 -1
- package/es/components/tabs/tabs.js +10 -3
- package/es/components/tabs/tabs.js.map +1 -1
- package/es/components/tag/dismissible-tag.d.ts +4 -0
- package/es/components/tag/dismissible-tag.js +13 -2
- package/es/components/tag/dismissible-tag.js.map +1 -1
- package/es/feature-flags/es/index.js +14 -0
- package/es/feature-flags/es/index.js.map +1 -1
- package/es-custom/components/ai-label/ai-label.scss.js +1 -1
- package/es-custom/components/button/button.scss.js +1 -1
- package/es-custom/components/chat-button/chat-button.scss.js +1 -1
- package/es-custom/components/checkbox/checkbox.d.ts +1 -0
- package/es-custom/components/checkbox/checkbox.js +7 -4
- package/es-custom/components/checkbox/checkbox.js.map +1 -1
- package/es-custom/components/content-switcher/content-switcher.scss.js +1 -1
- package/es-custom/components/icon-button/icon-button.scss.js +1 -1
- package/es-custom/components/modal/modal.scss.js +1 -1
- package/es-custom/components/notification/actionable-notification.d.ts +11 -0
- package/es-custom/components/notification/actionable-notification.js +1 -1
- package/es-custom/components/notification/actionable-notification.js.map +1 -1
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- package/es-custom/components/notification/callout-notification.d.ts +33 -0
- package/es-custom/components/notification/callout-notification.js +106 -0
- package/es-custom/components/notification/callout-notification.js.map +1 -0
- package/es-custom/components/notification/defs.d.ts +8 -2
- package/es-custom/components/notification/defs.js +7 -1
- package/es-custom/components/notification/defs.js.map +1 -1
- package/es-custom/components/notification/index.d.ts +2 -1
- package/es-custom/components/notification/index.js +1 -0
- package/es-custom/components/notification/index.js.map +1 -1
- package/es-custom/components/number-input/number-input.d.ts +1 -0
- package/es-custom/components/number-input/number-input.js +17 -3
- package/es-custom/components/number-input/number-input.js.map +1 -1
- package/es-custom/components/pagination/pagination.d.ts +1 -1
- package/es-custom/components/pagination/pagination.js +6 -3
- package/es-custom/components/pagination/pagination.js.map +1 -1
- package/es-custom/components/search/search.d.ts +13 -1
- package/es-custom/components/search/search.js +74 -5
- package/es-custom/components/search/search.js.map +1 -1
- package/es-custom/components/search/search.scss.js +1 -1
- package/es-custom/components/slug/slug.scss.js +1 -1
- package/es-custom/components/tabs/tabs.js +10 -3
- package/es-custom/components/tabs/tabs.js.map +1 -1
- package/es-custom/components/tag/dismissible-tag.d.ts +4 -0
- package/es-custom/components/tag/dismissible-tag.js +13 -2
- package/es-custom/components/tag/dismissible-tag.js.map +1 -1
- package/es-custom/feature-flags/es/index.js +14 -0
- package/es-custom/feature-flags/es/index.js.map +1 -1
- package/lib/components/checkbox/checkbox.d.ts +1 -0
- package/lib/components/notification/actionable-notification.d.ts +11 -0
- package/lib/components/notification/callout-notification.d.ts +33 -0
- package/lib/components/notification/defs.d.ts +8 -2
- package/lib/components/notification/defs.js +7 -1
- package/lib/components/notification/defs.js.map +1 -1
- package/lib/components/notification/index.d.ts +2 -1
- package/lib/components/number-input/number-input.d.ts +1 -0
- package/lib/components/pagination/pagination.d.ts +1 -1
- package/lib/components/search/search.d.ts +13 -1
- package/lib/components/tag/dismissible-tag.d.ts +4 -0
- package/package.json +12 -11
- package/scss/components/button/button.scss +3 -0
- package/scss/components/notification/actionable-notification.scss +130 -1
- package/scss/components/search/search.scss +16 -0
- package/telemetry.yml +766 -4
package/custom-elements.json
CHANGED
|
@@ -9415,6 +9415,236 @@
|
|
|
9415
9415
|
}
|
|
9416
9416
|
]
|
|
9417
9417
|
},
|
|
9418
|
+
{
|
|
9419
|
+
"name": "cds-callout-notification",
|
|
9420
|
+
"path": "./src/components/notification/callout-notification.ts",
|
|
9421
|
+
"description": "Callout notification.",
|
|
9422
|
+
"attributes": [
|
|
9423
|
+
{
|
|
9424
|
+
"name": "title-id",
|
|
9425
|
+
"description": "Specify the id for the title element.",
|
|
9426
|
+
"type": "string",
|
|
9427
|
+
"default": "\"\""
|
|
9428
|
+
},
|
|
9429
|
+
{
|
|
9430
|
+
"name": "inline",
|
|
9431
|
+
"description": "Inline notification type.",
|
|
9432
|
+
"type": "boolean",
|
|
9433
|
+
"default": "false"
|
|
9434
|
+
},
|
|
9435
|
+
{
|
|
9436
|
+
"name": "action-button-label",
|
|
9437
|
+
"description": "Pass in the action button label that will be rendered within the ActionableNotification.",
|
|
9438
|
+
"type": "string",
|
|
9439
|
+
"default": "\"\""
|
|
9440
|
+
},
|
|
9441
|
+
{
|
|
9442
|
+
"name": "close-on-escape",
|
|
9443
|
+
"description": "Specify if pressing the escape key should close notifications",
|
|
9444
|
+
"type": "boolean",
|
|
9445
|
+
"default": "true"
|
|
9446
|
+
},
|
|
9447
|
+
{
|
|
9448
|
+
"name": "has-focus",
|
|
9449
|
+
"description": "Specify if focus should be moved to the component when the notification contains actions",
|
|
9450
|
+
"type": "boolean",
|
|
9451
|
+
"default": "true"
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
"name": "caption",
|
|
9455
|
+
"description": "The caption.",
|
|
9456
|
+
"type": "string",
|
|
9457
|
+
"default": "\"\""
|
|
9458
|
+
},
|
|
9459
|
+
{
|
|
9460
|
+
"name": "aria-label",
|
|
9461
|
+
"description": "Provide a description for \"close\" icon button that can be read by screen readers",
|
|
9462
|
+
"type": "string"
|
|
9463
|
+
},
|
|
9464
|
+
{
|
|
9465
|
+
"name": "hide-close-button",
|
|
9466
|
+
"description": "`true` to hide the close button.",
|
|
9467
|
+
"type": "boolean",
|
|
9468
|
+
"default": "false"
|
|
9469
|
+
},
|
|
9470
|
+
{
|
|
9471
|
+
"name": "status-icon-description",
|
|
9472
|
+
"description": "Provide a description for \"status\" icon that can be read by screen readers",
|
|
9473
|
+
"type": "string"
|
|
9474
|
+
},
|
|
9475
|
+
{
|
|
9476
|
+
"name": "kind",
|
|
9477
|
+
"description": "Specify the notification kind, Defaults to 'info'.",
|
|
9478
|
+
"type": "NOTIFICATION_KIND",
|
|
9479
|
+
"default": "\"info\""
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"name": "low-contrast",
|
|
9483
|
+
"description": "Low contrast mode",
|
|
9484
|
+
"type": "boolean",
|
|
9485
|
+
"default": "false"
|
|
9486
|
+
},
|
|
9487
|
+
{
|
|
9488
|
+
"name": "open",
|
|
9489
|
+
"description": "`true` if the notification should be open.",
|
|
9490
|
+
"type": "boolean",
|
|
9491
|
+
"default": "true"
|
|
9492
|
+
},
|
|
9493
|
+
{
|
|
9494
|
+
"name": "timeout",
|
|
9495
|
+
"description": "Specify an optional duration the notification should be closed in",
|
|
9496
|
+
"type": "number | null"
|
|
9497
|
+
},
|
|
9498
|
+
{
|
|
9499
|
+
"name": "subtitle",
|
|
9500
|
+
"description": "The subtitle.",
|
|
9501
|
+
"type": "string",
|
|
9502
|
+
"default": "\"\""
|
|
9503
|
+
},
|
|
9504
|
+
{
|
|
9505
|
+
"name": "title",
|
|
9506
|
+
"description": "The title.",
|
|
9507
|
+
"type": "string",
|
|
9508
|
+
"default": "\"\""
|
|
9509
|
+
}
|
|
9510
|
+
],
|
|
9511
|
+
"properties": [
|
|
9512
|
+
{
|
|
9513
|
+
"name": "titleId",
|
|
9514
|
+
"attribute": "title-id",
|
|
9515
|
+
"description": "Specify the id for the title element.",
|
|
9516
|
+
"type": "string",
|
|
9517
|
+
"default": "\"\""
|
|
9518
|
+
},
|
|
9519
|
+
{
|
|
9520
|
+
"name": "inline",
|
|
9521
|
+
"attribute": "inline",
|
|
9522
|
+
"description": "Inline notification type.",
|
|
9523
|
+
"type": "boolean",
|
|
9524
|
+
"default": "false"
|
|
9525
|
+
},
|
|
9526
|
+
{
|
|
9527
|
+
"name": "actionButtonLabel",
|
|
9528
|
+
"attribute": "action-button-label",
|
|
9529
|
+
"description": "Pass in the action button label that will be rendered within the ActionableNotification.",
|
|
9530
|
+
"type": "string",
|
|
9531
|
+
"default": "\"\""
|
|
9532
|
+
},
|
|
9533
|
+
{
|
|
9534
|
+
"name": "closeOnEscape",
|
|
9535
|
+
"attribute": "close-on-escape",
|
|
9536
|
+
"description": "Specify if pressing the escape key should close notifications",
|
|
9537
|
+
"type": "boolean",
|
|
9538
|
+
"default": "true"
|
|
9539
|
+
},
|
|
9540
|
+
{
|
|
9541
|
+
"name": "hasFocus",
|
|
9542
|
+
"attribute": "has-focus",
|
|
9543
|
+
"description": "Specify if focus should be moved to the component when the notification contains actions",
|
|
9544
|
+
"type": "boolean",
|
|
9545
|
+
"default": "true"
|
|
9546
|
+
},
|
|
9547
|
+
{
|
|
9548
|
+
"name": "caption",
|
|
9549
|
+
"attribute": "caption",
|
|
9550
|
+
"description": "The caption.",
|
|
9551
|
+
"type": "string",
|
|
9552
|
+
"default": "\"\""
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"name": "ariaLabel",
|
|
9556
|
+
"attribute": "aria-label",
|
|
9557
|
+
"description": "Provide a description for \"close\" icon button that can be read by screen readers",
|
|
9558
|
+
"type": "string"
|
|
9559
|
+
},
|
|
9560
|
+
{
|
|
9561
|
+
"name": "hideCloseButton",
|
|
9562
|
+
"attribute": "hide-close-button",
|
|
9563
|
+
"description": "`true` to hide the close button.",
|
|
9564
|
+
"type": "boolean",
|
|
9565
|
+
"default": "false"
|
|
9566
|
+
},
|
|
9567
|
+
{
|
|
9568
|
+
"name": "statusIconDescription",
|
|
9569
|
+
"attribute": "status-icon-description",
|
|
9570
|
+
"description": "Provide a description for \"status\" icon that can be read by screen readers",
|
|
9571
|
+
"type": "string"
|
|
9572
|
+
},
|
|
9573
|
+
{
|
|
9574
|
+
"name": "kind",
|
|
9575
|
+
"attribute": "kind",
|
|
9576
|
+
"description": "Specify the notification kind, Defaults to 'info'.",
|
|
9577
|
+
"type": "NOTIFICATION_KIND",
|
|
9578
|
+
"default": "\"info\""
|
|
9579
|
+
},
|
|
9580
|
+
{
|
|
9581
|
+
"name": "lowContrast",
|
|
9582
|
+
"attribute": "low-contrast",
|
|
9583
|
+
"description": "Low contrast mode",
|
|
9584
|
+
"type": "boolean",
|
|
9585
|
+
"default": "false"
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
"name": "open",
|
|
9589
|
+
"attribute": "open",
|
|
9590
|
+
"description": "`true` if the notification should be open.",
|
|
9591
|
+
"type": "boolean",
|
|
9592
|
+
"default": "true"
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"name": "timeout",
|
|
9596
|
+
"attribute": "timeout",
|
|
9597
|
+
"description": "Specify an optional duration the notification should be closed in",
|
|
9598
|
+
"type": "number | null"
|
|
9599
|
+
},
|
|
9600
|
+
{
|
|
9601
|
+
"name": "subtitle",
|
|
9602
|
+
"attribute": "subtitle",
|
|
9603
|
+
"description": "The subtitle.",
|
|
9604
|
+
"type": "string",
|
|
9605
|
+
"default": "\"\""
|
|
9606
|
+
},
|
|
9607
|
+
{
|
|
9608
|
+
"name": "title",
|
|
9609
|
+
"attribute": "title",
|
|
9610
|
+
"description": "The title.",
|
|
9611
|
+
"type": "string",
|
|
9612
|
+
"default": "\"\""
|
|
9613
|
+
},
|
|
9614
|
+
{
|
|
9615
|
+
"name": "styles",
|
|
9616
|
+
"default": "\"styles\""
|
|
9617
|
+
}
|
|
9618
|
+
],
|
|
9619
|
+
"events": [
|
|
9620
|
+
{
|
|
9621
|
+
"name": "cds-notification-beingclosed",
|
|
9622
|
+
"description": "The custom event fired before this notification is being closed upon a user gesture.\nCancellation of this event stops the user-initiated action of closing this notification."
|
|
9623
|
+
},
|
|
9624
|
+
{
|
|
9625
|
+
"name": "cds-notification-closed",
|
|
9626
|
+
"description": "The custom event fired after this notification is closed upon a user gesture."
|
|
9627
|
+
}
|
|
9628
|
+
],
|
|
9629
|
+
"slots": [
|
|
9630
|
+
{
|
|
9631
|
+
"name": "subtitle",
|
|
9632
|
+
"description": "The subtitle."
|
|
9633
|
+
},
|
|
9634
|
+
{
|
|
9635
|
+
"name": "title",
|
|
9636
|
+
"description": "The title."
|
|
9637
|
+
},
|
|
9638
|
+
{
|
|
9639
|
+
"name": "action",
|
|
9640
|
+
"description": "The action button."
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
"name": "",
|
|
9644
|
+
"description": "The default slot for additional content."
|
|
9645
|
+
}
|
|
9646
|
+
]
|
|
9647
|
+
},
|
|
9418
9648
|
{
|
|
9419
9649
|
"name": "cds-inline-notification",
|
|
9420
9650
|
"path": "./src/components/notification/inline-notification.ts",
|
|
@@ -10015,6 +10245,11 @@
|
|
|
10015
10245
|
"type": "boolean",
|
|
10016
10246
|
"default": "false"
|
|
10017
10247
|
},
|
|
10248
|
+
{
|
|
10249
|
+
"name": "getDecimalPlaces",
|
|
10250
|
+
"type": "(num: number) => number",
|
|
10251
|
+
"default": "\"(num: number) => {\\n const parts = num.toString().split('.');\\n\\n return parts[1] ? parts[1].length : 0;\\n }\""
|
|
10252
|
+
},
|
|
10018
10253
|
{
|
|
10019
10254
|
"name": "autocomplete",
|
|
10020
10255
|
"attribute": "autocomplete",
|
|
@@ -15083,6 +15318,12 @@
|
|
|
15083
15318
|
"path": "./src/components/tag/dismissible-tag.ts",
|
|
15084
15319
|
"description": "Dismissible Tag.",
|
|
15085
15320
|
"attributes": [
|
|
15321
|
+
{
|
|
15322
|
+
"name": "dismiss-tooltip-alignment",
|
|
15323
|
+
"description": "Specify the tooltip alignment for the dismiss button",
|
|
15324
|
+
"type": "string",
|
|
15325
|
+
"default": "\"bottom\""
|
|
15326
|
+
},
|
|
15086
15327
|
{
|
|
15087
15328
|
"name": "dismiss-tooltip-label",
|
|
15088
15329
|
"description": "Provide a custom tooltip label for the dismiss button",
|
|
@@ -15146,6 +15387,13 @@
|
|
|
15146
15387
|
}
|
|
15147
15388
|
],
|
|
15148
15389
|
"properties": [
|
|
15390
|
+
{
|
|
15391
|
+
"name": "dismissTooltipAlignment",
|
|
15392
|
+
"attribute": "dismiss-tooltip-alignment",
|
|
15393
|
+
"description": "Specify the tooltip alignment for the dismiss button",
|
|
15394
|
+
"type": "string",
|
|
15395
|
+
"default": "\"bottom\""
|
|
15396
|
+
},
|
|
15149
15397
|
{
|
|
15150
15398
|
"name": "dismissTooltipLabel",
|
|
15151
15399
|
"attribute": "dismiss-tooltip-label",
|