@carbon/web-components 2.4.0-rc.1 → 2.4.0-rc.2

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.
Files changed (128) hide show
  1. package/dist/16-44367639.js +7 -7
  2. package/dist/16-880e779e.js +7 -7
  3. package/dist/16-8ab58ede.js +7 -7
  4. package/dist/16-945f9ad8.js +7 -7
  5. package/dist/16-9bdb8b2e.js +7 -7
  6. package/dist/16-afc2ad08.js +7 -7
  7. package/dist/16-f2933a25.js +60 -0
  8. package/dist/16-f2df91a2.js +7 -7
  9. package/dist/20-c1834a3b.js +7 -7
  10. package/dist/accordion.min.js +8 -8
  11. package/dist/ai-skeleton.min.js +8 -8
  12. package/dist/breadcrumb.min.js +8 -8
  13. package/dist/{button-dade8f28.js → button-ad33c11e.js} +8 -8
  14. package/dist/{button-set-5f5affa0.js → button-set-0868cd7d.js} +8 -8
  15. package/dist/{button-skeleton-7325ea56.js → button-skeleton-5d59f37f.js} +9 -9
  16. package/dist/button.min.js +8 -8
  17. package/dist/carbon-element-4ca9803f.js +7 -7
  18. package/dist/chat-button.min.js +8 -8
  19. package/dist/{checkbox-a610152a.js → checkbox-3f270cb6.js} +8 -8
  20. package/dist/checkbox.min.js +13 -13
  21. package/dist/class-map-b1739c02.js +7 -7
  22. package/dist/code-snippet.min.js +8 -8
  23. package/dist/collection-helpers-4e32fe16.js +7 -7
  24. package/dist/combo-box.min.js +8 -8
  25. package/dist/{content-switcher-item-9714594a.js → content-switcher-item-ef4c3ffc.js} +8 -8
  26. package/dist/content-switcher.min.js +8 -8
  27. package/dist/{copy-button-e4f754c9.js → copy-button-22693367.js} +8 -8
  28. package/dist/copy-button.min.js +8 -8
  29. package/dist/custom-element-975be15f.js +7 -7
  30. package/dist/data-table.min.js +8 -8
  31. package/dist/date-picker.min.js +8 -8
  32. package/dist/{objectSpread2-0b7e8561.js → defineProperty-d784d12c.js} +8 -8
  33. package/dist/directive-e2d48b9c.js +7 -7
  34. package/dist/{dropdown-item-cc7cc1dc.js → dropdown-item-5213e869.js} +8 -8
  35. package/dist/dropdown.min.js +8 -8
  36. package/dist/file-uploader.min.js +8 -8
  37. package/dist/{floating-menu-6ec5c7fa.js → floating-menu-413f6e95.js} +8 -8
  38. package/dist/floating-menu.min.js +8 -8
  39. package/dist/focus-92d82b5f.js +7 -7
  40. package/dist/form-group.min.js +7 -7
  41. package/dist/form.min.js +7 -7
  42. package/dist/get-d229c408.js +7 -7
  43. package/dist/{host-listener-a948931e.js → host-listener-0024708a.js} +9 -9
  44. package/dist/{icon-button-ab6ad963.js → icon-button-7a997866.js} +8 -8
  45. package/dist/icon-button.min.js +8 -8
  46. package/dist/if-defined-b99f5484.js +7 -7
  47. package/dist/if-non-empty-d69cc3f0.js +7 -7
  48. package/dist/inline-loading.min.js +7 -7
  49. package/dist/layer-62995057.js +7 -7
  50. package/dist/layer.min.js +7 -7
  51. package/dist/{link-d5d53be2.js → link-6fcc6a0e.js} +8 -8
  52. package/dist/link.min.js +8 -8
  53. package/dist/list.min.js +7 -7
  54. package/dist/loading-0dcb7680.js +7 -7
  55. package/dist/loading-icon-2ac6de26.js +7 -7
  56. package/dist/loading.min.js +7 -7
  57. package/dist/modal.min.js +9 -9
  58. package/dist/multi-select.min.js +8 -8
  59. package/dist/notification.min.js +10 -10
  60. package/dist/number-input.min.js +8 -8
  61. package/dist/{16-2aa048a9.js → objectSpread2-58bc1706.js} +8 -8
  62. package/dist/on-6c264d49.js +7 -7
  63. package/dist/overflow-menu.min.js +8 -8
  64. package/dist/pagination.min.js +8 -8
  65. package/dist/popover-content-2df97cf7.js +75 -0
  66. package/dist/popover-controller-e5f73836.js +60 -0
  67. package/dist/popover.min.js +8 -8
  68. package/dist/progress-bar.min.js +7 -7
  69. package/dist/progress-indicator.min.js +8 -8
  70. package/dist/query-6ca5e414.js +7 -7
  71. package/dist/query-assigned-elements-8e88277c.js +7 -7
  72. package/dist/radio-button.min.js +8 -8
  73. package/dist/{radio-group-manager-3cfdd620.js → radio-group-manager-9810bd7d.js} +8 -8
  74. package/dist/{search-4c0e8630.js → search-b8b073b6.js} +8 -8
  75. package/dist/search.min.js +8 -8
  76. package/dist/select-item-db3c6fa0.js +7 -7
  77. package/dist/select.min.js +8 -8
  78. package/dist/settings-387c0fa4.js +7 -7
  79. package/dist/shared-enums-c6fe8c39.js +7 -7
  80. package/dist/side-panel.min.js +16 -16
  81. package/dist/skeleton-icon-451d3c47.js +7 -7
  82. package/dist/skeleton-icon.min.js +7 -7
  83. package/dist/{skeleton-placeholder-e6490dbd.js → skeleton-placeholder-5aa06271.js} +8 -8
  84. package/dist/skeleton-placeholder.min.js +8 -8
  85. package/dist/{skeleton-text-eeac3c87.js → skeleton-text-283abe50.js} +8 -8
  86. package/dist/skeleton-text.min.js +8 -8
  87. package/dist/skip-to-content.min.js +8 -8
  88. package/dist/slider.min.js +8 -8
  89. package/dist/slug.min.js +9 -9
  90. package/dist/spread-6af5f657.js +7 -7
  91. package/dist/stack.min.js +7 -7
  92. package/dist/state-63312e74.js +7 -7
  93. package/dist/structured-list.min.js +8 -8
  94. package/dist/tabs.min.js +9 -9
  95. package/dist/tag.min.js +8 -8
  96. package/dist/{text-input-8d011ae2.js → text-input-d40fbf4d.js} +8 -8
  97. package/dist/text-input.min.js +9 -9
  98. package/dist/textarea.min.js +12 -12
  99. package/dist/tile.min.js +8 -8
  100. package/dist/toggle-tip.min.js +8 -8
  101. package/dist/toggle.min.js +8 -8
  102. package/dist/{toggletip-17030a2a.js → toggletip-2d777826.js} +10 -10
  103. package/dist/{tooltip-content-45723618.js → tooltip-content-2ef20c6a.js} +8 -8
  104. package/dist/tooltip.min.js +8 -8
  105. package/dist/ui-shell.min.js +8 -8
  106. package/dist/validity-d86ffa4f.js +7 -7
  107. package/es/components/popover/popover.d.ts +4 -0
  108. package/es/components/popover/popover.js +19 -6
  109. package/es/components/popover/popover.js.map +1 -1
  110. package/es/components/slug/slug.css.js +1 -1
  111. package/es/components/slug/slug.d.ts +1 -1
  112. package/es/components/slug/slug.js +1 -1
  113. package/es/components/slug/slug.js.map +1 -1
  114. package/es/components/toggle-tip/toggletip.d.ts +5 -1
  115. package/es/components/toggle-tip/toggletip.js +19 -10
  116. package/es/components/toggle-tip/toggletip.js.map +1 -1
  117. package/es/globals/controllers/popover-controller.d.ts +47 -0
  118. package/es/globals/controllers/popover-controller.js +142 -0
  119. package/es/globals/controllers/popover-controller.js.map +1 -0
  120. package/lib/globals/controllers/popover-controller.js +150 -0
  121. package/lib/globals/controllers/popover-controller.js.map +1 -0
  122. package/package.json +2 -2
  123. package/scss/components/slug/slug.scss +9 -0
  124. package/dist/floating-ui-a76fcefc.js +0 -69
  125. package/dist/popover-content-620200e8.js +0 -75
  126. package/es/globals/internal/floating-ui.d.ts +0 -30
  127. package/es/globals/internal/floating-ui.js +0 -102
  128. package/es/globals/internal/floating-ui.js.map +0 -1
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
package/dist/layer.min.js CHANGED
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -57,7 +57,7 @@
57
57
  * https://www.npmjs.com/package/@floating-ui/core
58
58
  */
59
59
 
60
- import{_ as e}from"./objectSpread2-0b7e8561.js";import{i,_ as n,p as d,x as t,s as o}from"./settings-387c0fa4.js";import{o as l}from"./class-map-b1739c02.js";import{l as s}from"./if-defined-b99f5484.js";import{n as r}from"./query-assigned-elements-8e88277c.js";import{i as c}from"./query-6ca5e414.js";import{F as a}from"./focus-92d82b5f.js";import{c as k}from"./carbon-element-4ca9803f.js";var f=i([".cds--link{border:0;box-sizing:border-box;color:var(--cds-link-text-color,var(--cds-link-primary,#0f62fe));display:inline-flex;font-family:inherit;font-size:100%;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);margin:0;outline:none;padding:0;text-decoration:none;transition:color 70ms cubic-bezier(.2,0,.38,.9);vertical-align:baseline}.cds--link *,.cds--link :after,.cds--link :before{box-sizing:inherit}.cds--link:hover{color:var(--cds-link-hover-text-color,var(--cds-link-primary-hover,#0043ce));text-decoration:underline}.cds--link:active,.cds--link:active:visited,.cds--link:active:visited:hover{color:var(--cds-text-primary,#161616);text-decoration:underline}.cds--link:focus{outline:1px solid var(--cds-focus,#0f62fe);outline-color:var(--cds-link-focus-text-color,var(--cds-focus,#0f62fe))}@media screen and (prefers-contrast){.cds--link:focus{outline-style:dotted}}.cds--link:visited{color:var(--cds-link-primary,#0f62fe)}.cds--link:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}.cds--link--disabled,.cds--link--disabled:hover{border:0;box-sizing:border-box;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed;font-family:inherit;font-size:100%;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);margin:0;padding:0;text-decoration:none;vertical-align:baseline}.cds--link--disabled *,.cds--link--disabled :after,.cds--link--disabled :before,.cds--link--disabled:hover *,.cds--link--disabled:hover :after,.cds--link--disabled:hover :before{box-sizing:inherit}.cds--link.cds--link--visited:visited{color:var(--cds-link-visited,#8a3ffc)}.cds--link.cds--link--visited:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}.cds--link.cds--link--inline{display:inline;text-decoration:underline}.cds--link.cds--link--inline:focus,.cds--link.cds--link--inline:visited{text-decoration:none}.cds--link--disabled.cds--link--inline{text-decoration:underline}.cds--link--sm,.cds--link--sm.cds--link--disabled:hover{font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333)}.cds--link--lg,.cds--link--lg.cds--link--disabled:hover{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);line-height:var(--cds-body-compact-02-line-height,1.375)}.cds--link__icon{align-self:center;display:inline-flex;margin-inline-start:.5rem}:host(cds-link){outline:none}:host(cds-link) .cds--link--disabled{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host(cds-link) .cds--link__icon[hidden]{display:none}"]);let v,h,p,u=e=>e;const m="";let y=n([k(`${d}-link`)],(function(i,n){return{F:class extends n{constructor(...e){super(...e),i(this)}},d:[{kind:"field",key:"_hasIcon",value:()=>!1},{kind:"method",key:"_handleSlotChange",value:function({target:e}){const{name:i}=e,n=e.assignedNodes().some((e=>e.nodeType!==Node.TEXT_NODE||e.textContent.trim()));this["icon"===i?"_hasIcon":""]=n,this.requestUpdate()}},{kind:"field",decorators:[c("#link")],key:"_linkNode",value:void 0},{kind:"get",key:"_classes",value:function(){const{disabled:e,size:i,inline:n,visited:t,_hasIcon:o}=this;return l({[`${d}--link`]:!0,[`${d}--link--disabled`]:e,[`${d}--link--icon`]:o,[`${d}--link--inline`]:n,[`${d}--link--${i}`]:i,[`${d}--link--visited`]:t})}},{kind:"method",key:"_handleClick",value:function(e){}},{kind:"method",key:"_renderInner",value:function(){const{_hasIcon:e,_handleSlotChange:i}=this;return t(v||(v=u`
60
+ import{_ as e}from"./objectSpread2-58bc1706.js";import{i,_ as n,p as d,x as t,s as o}from"./settings-387c0fa4.js";import{o as l}from"./class-map-b1739c02.js";import{l as s}from"./if-defined-b99f5484.js";import{n as r}from"./query-assigned-elements-8e88277c.js";import{i as c}from"./query-6ca5e414.js";import{F as a}from"./focus-92d82b5f.js";import{c as k}from"./carbon-element-4ca9803f.js";var f=i([".cds--link{border:0;box-sizing:border-box;color:var(--cds-link-text-color,var(--cds-link-primary,#0f62fe));display:inline-flex;font-family:inherit;font-size:100%;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);margin:0;outline:none;padding:0;text-decoration:none;transition:color 70ms cubic-bezier(.2,0,.38,.9);vertical-align:baseline}.cds--link *,.cds--link :after,.cds--link :before{box-sizing:inherit}.cds--link:hover{color:var(--cds-link-hover-text-color,var(--cds-link-primary-hover,#0043ce));text-decoration:underline}.cds--link:active,.cds--link:active:visited,.cds--link:active:visited:hover{color:var(--cds-text-primary,#161616);text-decoration:underline}.cds--link:focus{outline:1px solid var(--cds-focus,#0f62fe);outline-color:var(--cds-link-focus-text-color,var(--cds-focus,#0f62fe))}@media screen and (prefers-contrast){.cds--link:focus{outline-style:dotted}}.cds--link:visited{color:var(--cds-link-primary,#0f62fe)}.cds--link:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}.cds--link--disabled,.cds--link--disabled:hover{border:0;box-sizing:border-box;color:var(--cds-text-disabled,hsla(0,0%,9%,.25));cursor:not-allowed;font-family:inherit;font-size:100%;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);font-weight:400;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);margin:0;padding:0;text-decoration:none;vertical-align:baseline}.cds--link--disabled *,.cds--link--disabled :after,.cds--link--disabled :before,.cds--link--disabled:hover *,.cds--link--disabled:hover :after,.cds--link--disabled:hover :before{box-sizing:inherit}.cds--link.cds--link--visited:visited{color:var(--cds-link-visited,#8a3ffc)}.cds--link.cds--link--visited:visited:hover{color:var(--cds-link-primary-hover,#0043ce)}.cds--link.cds--link--inline{display:inline;text-decoration:underline}.cds--link.cds--link--inline:focus,.cds--link.cds--link--inline:visited{text-decoration:none}.cds--link--disabled.cds--link--inline{text-decoration:underline}.cds--link--sm,.cds--link--sm.cds--link--disabled:hover{font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333)}.cds--link--lg,.cds--link--lg.cds--link--disabled:hover{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);line-height:var(--cds-body-compact-02-line-height,1.375)}.cds--link__icon{align-self:center;display:inline-flex;margin-inline-start:.5rem}:host(cds-link){outline:none}:host(cds-link) .cds--link--disabled{color:var(--cds-text-disabled,hsla(0,0%,9%,.25))}:host(cds-link) .cds--link__icon[hidden]{display:none}"]);let v,h,p,u=e=>e;const m="";let y=n([k(`${d}-link`)],(function(i,n){return{F:class extends n{constructor(...e){super(...e),i(this)}},d:[{kind:"field",key:"_hasIcon",value:()=>!1},{kind:"method",key:"_handleSlotChange",value:function({target:e}){const{name:i}=e,n=e.assignedNodes().some((e=>e.nodeType!==Node.TEXT_NODE||e.textContent.trim()));this["icon"===i?"_hasIcon":""]=n,this.requestUpdate()}},{kind:"field",decorators:[c("#link")],key:"_linkNode",value:void 0},{kind:"get",key:"_classes",value:function(){const{disabled:e,size:i,inline:n,visited:t,_hasIcon:o}=this;return l({[`${d}--link`]:!0,[`${d}--link--disabled`]:e,[`${d}--link--icon`]:o,[`${d}--link--inline`]:n,[`${d}--link--${i}`]:i,[`${d}--link--visited`]:t})}},{kind:"method",key:"_handleClick",value:function(e){}},{kind:"method",key:"_renderInner",value:function(){const{_hasIcon:e,_handleSlotChange:i}=this;return t(v||(v=u`
61
61
  <slot @slotchange="${0}"></slot>
62
62
  <div ?hidden="${0}" class="${0}--link__icon">
63
63
  <slot name="icon" @slotchange="${0}"></slot>
package/dist/link.min.js CHANGED
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -57,4 +57,4 @@
57
57
  * https://www.npmjs.com/package/@floating-ui/core
58
58
  */
59
59
 
60
- import"./link-d5d53be2.js";import"./objectSpread2-0b7e8561.js";import"./settings-387c0fa4.js";import"./class-map-b1739c02.js";import"./directive-e2d48b9c.js";import"./if-defined-b99f5484.js";import"./query-assigned-elements-8e88277c.js";import"./query-6ca5e414.js";import"./focus-92d82b5f.js";import"./carbon-element-4ca9803f.js";
60
+ import"./link-6fcc6a0e.js";import"./objectSpread2-58bc1706.js";import"./defineProperty-d784d12c.js";import"./settings-387c0fa4.js";import"./class-map-b1739c02.js";import"./directive-e2d48b9c.js";import"./if-defined-b99f5484.js";import"./query-assigned-elements-8e88277c.js";import"./query-6ca5e414.js";import"./focus-92d82b5f.js";import"./carbon-element-4ca9803f.js";
package/dist/list.min.js CHANGED
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
package/dist/modal.min.js CHANGED
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -57,7 +57,7 @@
57
57
  * https://www.npmjs.com/package/@floating-ui/core
58
58
  */
59
59
 
60
- let e;import{_ as o}from"./objectSpread2-0b7e8561.js";import{i as t,_ as s,p as d,x as r,a as n,s as a}from"./settings-387c0fa4.js";import{o as c}from"./class-map-b1739c02.js";import{n as i}from"./query-assigned-elements-8e88277c.js";import{i as l}from"./query-6ca5e414.js";import{H as p,a as b}from"./host-listener-a948931e.js";import{c as v}from"./carbon-element-4ca9803f.js";import{e as m}from"./custom-element-975be15f.js";import{s as u}from"./20-c1834a3b.js";import{l as f}from"./if-defined-b99f5484.js";import{F as h}from"./focus-92d82b5f.js";import{C as g,b as y}from"./button-dade8f28.js";import"./directive-e2d48b9c.js";import"./on-6c264d49.js";import"./spread-6af5f657.js";
60
+ let e;import{_ as o}from"./objectSpread2-58bc1706.js";import{i as t,_ as s,p as d,x as r,a as n,s as a}from"./settings-387c0fa4.js";import{o as c}from"./class-map-b1739c02.js";import{n as i}from"./query-assigned-elements-8e88277c.js";import{i as l}from"./query-6ca5e414.js";import{H as p,a as b}from"./host-listener-0024708a.js";import{c as v}from"./carbon-element-4ca9803f.js";import{e as m}from"./custom-element-975be15f.js";import{s as u}from"./20-c1834a3b.js";import{l as f}from"./if-defined-b99f5484.js";import{F as h}from"./focus-92d82b5f.js";import{C as g,b as y}from"./button-ad33c11e.js";import"./defineProperty-d784d12c.js";import"./directive-e2d48b9c.js";import"./on-6c264d49.js";import"./spread-6af5f657.js";
61
61
  /**
62
62
  * @license
63
63
  *
@@ -86,7 +86,7 @@ let e;import{_ as o}from"./objectSpread2-0b7e8561.js";import{i as t,_ as s,p as
86
86
  class="${0}--visually-hidden"
87
87
  href="javascript:void 0"
88
88
  role="navigation"></a>
89
- `),d,t,i,e?"alert":"dialog",this._handleClickContainer,this._handleSlotChange,n?r(_||(_=z` <div class="cds--modal-content--overflow-indicator"></div> `)):"",d)}},{kind:"method",key:"updated",value:async function(e){if(e.has("open"))if(this.open){this._launcher=this.ownerDocument.activeElement;const e=this.querySelector(this.constructor.selectorPrimaryFocus);await this.constructor._delay(),e?e.focus():$(this.querySelectorAll(this.constructor.selectorTabbable),!0)||this.focus()}else this._launcher&&"function"==typeof this._launcher.focus&&(this._launcher.focus(),this._launcher=null)}},{kind:"method",static:!0,key:"_delay",value:function(e=0){return new Promise((o=>{setTimeout(o,e)}))}},{kind:"get",static:!0,key:"selectorCloseButton",value:function(){return`[data-modal-close],${d}-modal-close-button`}},{kind:"get",static:!0,key:"selectorTabbable",value:function(){return n}},{kind:"get",static:!0,key:"selectorPrimaryFocus",value:function(){return`[data-modal-primary-focus],${d}-modal-footer ${d}-button[kind="primary"]`}},{kind:"get",static:!0,key:"selectorModalBody",value:function(){return`${d}-modal-body`}},{kind:"get",static:!0,key:"eventBeforeClose",value:function(){return`${d}-modal-beingclosed`}},{kind:"get",static:!0,key:"eventClose",value:function(){return`${d}-modal-closed`}},{kind:"field",static:!0,key:"styles",value:()=>x}]}}),p(a));let S,E=e=>e;s([v(`${d}-modal-body`)],(function(e,o){return{F:class extends o{constructor(...o){super(...o),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(S||(S=E` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>x}]}}),a);let B,N=e=>e;s([m(`${d}-modal-body-content`)],(function(e,o){return{F:class extends o{constructor(...o){super(...o),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(B||(B=N`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>x}]}}),a);let O,j=e=>e;s([v(`${d}-modal-close-button`)],(function(e,t){return{F:class extends t{constructor(...o){super(...o),e(this)}},d:[{kind:"field",decorators:[i({attribute:"close-button-label"})],key:"closeButtonLabel",value:()=>"Close"},{kind:"method",key:"updated",value:function(){var e;null===(e=this.parentElement)||void 0===e||e.setAttribute("close-button","")}},{kind:"method",key:"render",value:function(){const{closeButtonLabel:e}=this;return r(O||(O=j`
89
+ `),d,t,i,e?"alert":"dialog",this._handleClickContainer,this._handleSlotChange,n?r(_||(_=z` <div class="cds--modal-content--overflow-indicator"></div> `)):"",d)}},{kind:"method",key:"updated",value:async function(e){if(e.has("open"))if(this.open){this._launcher=this.ownerDocument.activeElement;const e=this.querySelector(this.constructor.selectorPrimaryFocus);await this.constructor._delay(),e?e.focus():$(this.querySelectorAll(this.constructor.selectorTabbable),!0)||this.focus()}else this._launcher&&"function"==typeof this._launcher.focus&&(this._launcher.focus(),this._launcher=null)}},{kind:"method",static:!0,key:"_delay",value:function(e=0){return new Promise((o=>{setTimeout(o,e)}))}},{kind:"get",static:!0,key:"selectorCloseButton",value:function(){return`[data-modal-close],${d}-modal-close-button`}},{kind:"get",static:!0,key:"selectorTabbable",value:function(){return n}},{kind:"get",static:!0,key:"selectorPrimaryFocus",value:function(){return`[data-modal-primary-focus],${d}-modal-footer ${d}-button[kind="primary"]`}},{kind:"get",static:!0,key:"selectorModalBody",value:function(){return`${d}-modal-body`}},{kind:"get",static:!0,key:"eventBeforeClose",value:function(){return`${d}-modal-beingclosed`}},{kind:"get",static:!0,key:"eventClose",value:function(){return`${d}-modal-closed`}},{kind:"field",static:!0,key:"styles",value:()=>x}]}}),p(a));let S,E=e=>e;s([v(`${d}-modal-body`)],(function(e,o){return{F:class extends o{constructor(...o){super(...o),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(S||(S=E` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>x}]}}),a);let B,N=e=>e;s([m(`${d}-modal-body-content`)],(function(e,o){return{F:class extends o{constructor(...o){super(...o),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(B||(B=N`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value:()=>x}]}}),a);let j,O=e=>e;s([v(`${d}-modal-close-button`)],(function(e,t){return{F:class extends t{constructor(...o){super(...o),e(this)}},d:[{kind:"field",decorators:[i({attribute:"close-button-label"})],key:"closeButtonLabel",value:()=>"Close"},{kind:"method",key:"updated",value:function(){var e;null===(e=this.parentElement)||void 0===e||e.setAttribute("close-button","")}},{kind:"method",key:"render",value:function(){const{closeButtonLabel:e}=this;return r(j||(j=O`
90
90
  <button
91
91
  part="button"
92
92
  aria-label="${0}"
@@ -15,6 +15,13 @@
15
15
  *
16
16
  flatpickr v4.6.1, @license MIT
17
17
  *
18
+ * @carbon/motion:
19
+ *
20
+ * Copyright IBM Corp. 2018, 2023
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ *
18
25
  * lit-element:
19
26
  *
20
27
  * @license
@@ -27,13 +34,6 @@
27
34
  * Copyright 2022 Google LLC
28
35
  * SPDX-License-Identifier: BSD-3-Clause
29
36
  *
30
- * @carbon/motion:
31
- *
32
- * Copyright IBM Corp. 2018, 2023
33
- *
34
- * This source code is licensed under the Apache-2.0 license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- *
37
37
  * @lit/reactive-element:
38
38
  *
39
39
  * @license
@@ -57,7 +57,7 @@
57
57
  * https://www.npmjs.com/package/@floating-ui/core
58
58
  */
59
59
 
60
- let e;import{i as t,_ as s,x as i,p as o}from"./settings-387c0fa4.js";import{_ as c,a as d}from"./get-d229c408.js";import{n as l}from"./query-assigned-elements-8e88277c.js";import{i as n}from"./query-6ca5e414.js";import{o as r}from"./class-map-b1739c02.js";import{s as a}from"./16-9bdb8b2e.js";import{f as b,c as u,i as m}from"./collection-helpers-4e32fe16.js";import{C as p,D as x,b as _,a as g}from"./dropdown-item-cc7cc1dc.js";import{c as h}from"./carbon-element-4ca9803f.js";import{l as v}from"./if-defined-b99f5484.js";import"./directive-e2d48b9c.js";import"./spread-6af5f657.js";import"./objectSpread2-0b7e8561.js";import"./16-8ab58ede.js";import"./16-945f9ad8.js";import"./16-2aa048a9.js";import"./on-6c264d49.js";import"./focus-92d82b5f.js";import"./host-listener-a948931e.js";import"./validity-d86ffa4f.js";import"./shared-enums-c6fe8c39.js";
60
+ let e;import{i as t,_ as s,x as i,p as o}from"./settings-387c0fa4.js";import{_ as c,a as d}from"./get-d229c408.js";import{n as l}from"./query-assigned-elements-8e88277c.js";import{i as n}from"./query-6ca5e414.js";import{o as r}from"./class-map-b1739c02.js";import{s as a}from"./16-9bdb8b2e.js";import{f as b,c as u,i as m}from"./collection-helpers-4e32fe16.js";import{C as p,D as x,b as _,a as g}from"./dropdown-item-5213e869.js";import{c as h}from"./carbon-element-4ca9803f.js";import{l as v}from"./if-defined-b99f5484.js";import"./directive-e2d48b9c.js";import"./spread-6af5f657.js";import"./objectSpread2-58bc1706.js";import"./defineProperty-d784d12c.js";import"./16-8ab58ede.js";import"./16-945f9ad8.js";import"./16-f2933a25.js";import"./on-6c264d49.js";import"./focus-92d82b5f.js";import"./host-listener-0024708a.js";import"./validity-d86ffa4f.js";import"./shared-enums-c6fe8c39.js";
61
61
  /**
62
62
  * @license
63
63
  *