@cds/core 6.0.0-next.2 → 6.0.0-next.6

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 (304) hide show
  1. package/accordion/accordion-content.element.scss.js +1 -1
  2. package/accordion/accordion-header.element.js +1 -1
  3. package/accordion/accordion-header.element.js.map +1 -1
  4. package/accordion/accordion-header.element.scss.js +1 -1
  5. package/accordion/accordion-panel.element.d.ts +3 -3
  6. package/accordion/accordion-panel.element.js +1 -1
  7. package/accordion/accordion-panel.element.js.map +1 -1
  8. package/accordion/accordion-panel.element.scss.js +1 -1
  9. package/accordion/accordion.element.scss.js +1 -1
  10. package/accordion/index.js +1 -1
  11. package/alert/alert-actions.element.d.ts +2 -2
  12. package/alert/alert-actions.element.js +1 -1
  13. package/alert/alert-actions.element.js.map +1 -1
  14. package/alert/alert-actions.element.scss.js +1 -1
  15. package/alert/alert-group.element.d.ts +3 -3
  16. package/alert/alert-group.element.js +1 -1
  17. package/alert/alert-group.element.js.map +1 -1
  18. package/alert/alert-group.element.scss.js +1 -1
  19. package/alert/alert.element.d.ts +4 -3
  20. package/alert/alert.element.js +1 -1
  21. package/alert/alert.element.scss.js +1 -1
  22. package/badge/badge.element.js +1 -1
  23. package/badge/badge.element.js.map +1 -1
  24. package/badge/badge.element.scss.js +1 -1
  25. package/breadcrumb/breadcrumb.element.d.ts +1 -1
  26. package/breadcrumb/breadcrumb.element.js +1 -1
  27. package/breadcrumb/breadcrumb.element.js.map +1 -1
  28. package/breadcrumb/breadcrumb.element.scss.js +1 -1
  29. package/button/button.element.d.ts +5 -3
  30. package/button/button.element.js +1 -1
  31. package/button/button.element.js.map +1 -1
  32. package/button/button.element.scss.js +1 -1
  33. package/button/icon-button.element.d.ts +0 -8
  34. package/button/icon-button.element.js +1 -1
  35. package/button/icon-button.element.js.map +1 -1
  36. package/button-action/button-action.element.d.ts +2 -1
  37. package/button-action/button-action.element.js +1 -1
  38. package/button-action/button-action.element.js.map +1 -1
  39. package/button-action/button-action.element.scss.js +1 -1
  40. package/button-expand/button-expand.element.d.ts +1 -1
  41. package/button-expand/button-expand.element.js +1 -1
  42. package/button-expand/button-expand.element.js.map +1 -1
  43. package/button-expand/button-expand.element.scss.js +1 -1
  44. package/button-handle/button-handle.element.scss.js +1 -1
  45. package/button-handle/index.js +1 -1
  46. package/button-inline/button-inline.element.scss.js +1 -1
  47. package/button-sort/button-sort.element.js +1 -1
  48. package/button-sort/button-sort.element.js.map +1 -1
  49. package/button-sort/button-sort.element.scss.js +1 -1
  50. package/card/card.element.d.ts +2 -2
  51. package/card/card.element.js +1 -1
  52. package/card/card.element.js.map +1 -1
  53. package/card/card.element.scss.js +1 -1
  54. package/checkbox/checkbox.element.scss.js +1 -1
  55. package/checkbox/index.js +1 -1
  56. package/custom-elements.json +34940 -38299
  57. package/datalist/datalist.element.js +1 -1
  58. package/datalist/datalist.element.js.map +1 -1
  59. package/datalist/datalist.global.scss.js +1 -1
  60. package/date/date.element.js +1 -1
  61. package/date/date.element.js.map +1 -1
  62. package/date/date.global.scss.js +1 -1
  63. package/divider/divider.element.js +1 -1
  64. package/divider/divider.element.js.map +1 -1
  65. package/divider/divider.element.scss.js +1 -1
  66. package/dropdown/dropdown.element.d.ts +1 -0
  67. package/dropdown/dropdown.element.js.map +1 -1
  68. package/dropdown/index.js +1 -1
  69. package/file/file.element.d.ts +2 -1
  70. package/file/file.element.js +1 -1
  71. package/file/file.element.js.map +1 -1
  72. package/file/file.element.scss.js +1 -1
  73. package/forms/control/control.element.d.ts +3 -3
  74. package/forms/control/control.element.js +2 -2
  75. package/forms/control/control.element.js.map +1 -1
  76. package/forms/control/control.element.scss.js +1 -1
  77. package/forms/control-action/control-action.element.d.ts +1 -1
  78. package/forms/control-action/control-action.element.js +1 -1
  79. package/forms/control-action/control-action.element.js.map +1 -1
  80. package/forms/control-group/control-group.element.d.ts +3 -3
  81. package/forms/control-group/control-group.element.js +1 -1
  82. package/forms/control-group/control-group.element.js.map +1 -1
  83. package/forms/control-group/control-group.element.scss.js +1 -1
  84. package/forms/control-inline/control-inline.element.d.ts +3 -2
  85. package/forms/control-inline/control-inline.element.js +1 -1
  86. package/forms/control-inline/control-inline.element.js.map +1 -1
  87. package/forms/control-inline/control-inline.element.scss.js +1 -1
  88. package/forms/control-label/control-label.element.js +1 -1
  89. package/forms/control-label/control-label.element.js.map +1 -1
  90. package/forms/control-label/control-label.element.scss.js +1 -1
  91. package/forms/control-message/control-message.element.js +1 -1
  92. package/forms/control-message/control-message.element.js.map +1 -1
  93. package/forms/control-message/control-message.element.scss.js +1 -1
  94. package/forms/form-group/form-group.element.d.ts +3 -3
  95. package/forms/form-group/form-group.element.js +1 -1
  96. package/forms/form-group/form-group.element.js.map +1 -1
  97. package/forms/form-group/form-group.element.scss.js +1 -1
  98. package/forms/utils/utils.js +1 -1
  99. package/forms/utils/utils.js.map +1 -1
  100. package/forms/utils/validate.js +1 -1
  101. package/forms/utils/validate.js.map +1 -1
  102. package/icon/collections/essential.d.ts +2 -0
  103. package/icon/collections/essential.js +1 -1
  104. package/icon/collections/essential.js.map +1 -1
  105. package/icon/icon.element.d.ts +3 -3
  106. package/icon/icon.element.js +1 -1
  107. package/icon/icon.element.js.map +1 -1
  108. package/icon/icon.element.scss.js +1 -1
  109. package/icon/index.js +1 -1
  110. package/icon/shapes/host.js +1 -1
  111. package/icon/shapes/host.js.map +1 -1
  112. package/icon/shapes/launchpad.d.ts +3 -0
  113. package/icon/shapes/launchpad.js +2 -0
  114. package/icon/shapes/launchpad.js.map +1 -0
  115. package/icon/utils/icon.svg-helpers.js +1 -1
  116. package/icon/utils/icon.svg-helpers.js.map +1 -1
  117. package/index.js +1 -1
  118. package/input/index.js +1 -1
  119. package/input/index.js.map +1 -1
  120. package/input/input-group.element.d.ts +2 -1
  121. package/input/input-group.element.js +1 -1
  122. package/input/input-group.element.js.map +1 -1
  123. package/input/input-group.element.scss.js +1 -1
  124. package/input/input.element.scss.js +1 -1
  125. package/internal/base/base.element.scss.js +1 -1
  126. package/internal/base/button.base.js +1 -1
  127. package/internal/base/button.base.js.map +1 -1
  128. package/internal/base/focus-trap.base.d.ts +0 -6
  129. package/internal/base/focus-trap.base.js +1 -1
  130. package/internal/base/focus-trap.base.js.map +1 -1
  131. package/internal/controllers/active.controller.js +1 -1
  132. package/internal/controllers/active.controller.js.map +1 -1
  133. package/internal/controllers/button-anchor.controller.js +1 -1
  134. package/internal/controllers/button-anchor.controller.js.map +1 -1
  135. package/internal/controllers/button-submit.controller.js +1 -1
  136. package/internal/controllers/button-submit.controller.js.map +1 -1
  137. package/internal/controllers/closable.controller.js +1 -1
  138. package/internal/controllers/closable.controller.js.map +1 -1
  139. package/internal/decorators/animate.js +1 -1
  140. package/internal/decorators/animate.js.map +1 -1
  141. package/internal/decorators/i18n.js +1 -1
  142. package/internal/decorators/i18n.js.map +1 -1
  143. package/internal/decorators/property.js +1 -1
  144. package/internal/decorators/property.js.map +1 -1
  145. package/internal/decorators/query-slot.js +1 -1
  146. package/internal/decorators/query-slot.js.map +1 -1
  147. package/internal/index.d.ts +0 -1
  148. package/internal/index.js +1 -1
  149. package/internal/index.js.map +1 -1
  150. package/internal/motion/interfaces.d.ts +1 -1
  151. package/internal/motion/utils.d.ts +4 -3
  152. package/internal/motion/utils.js +1 -1
  153. package/internal/motion/utils.js.map +1 -1
  154. package/internal/positioning/utils.js +1 -1
  155. package/internal/positioning/utils.js.map +1 -1
  156. package/internal/services/focus-trap-tracker.service.js +1 -1
  157. package/internal/services/focus-trap-tracker.service.js.map +1 -1
  158. package/internal/utils/__.js +1 -1
  159. package/internal/utils/__.js.map +1 -1
  160. package/internal/utils/dom.js +1 -1
  161. package/internal/utils/dom.js.map +1 -1
  162. package/internal/utils/environment.d.ts +2 -0
  163. package/internal/utils/environment.js +2 -0
  164. package/internal/utils/environment.js.map +1 -0
  165. package/internal/utils/events.js +1 -1
  166. package/internal/utils/events.js.map +1 -1
  167. package/internal/utils/exists.d.ts +0 -1
  168. package/internal/utils/exists.js +1 -1
  169. package/internal/utils/exists.js.map +1 -1
  170. package/internal/utils/framework.js +1 -1
  171. package/internal/utils/framework.js.map +1 -1
  172. package/internal/utils/global.js +1 -1
  173. package/internal/utils/global.js.map +1 -1
  174. package/internal/utils/lit.d.ts +1 -1
  175. package/internal/utils/metadata.js +1 -1
  176. package/internal/utils/metadata.js.map +1 -1
  177. package/internal/utils/registration.js +1 -1
  178. package/internal/utils/registration.js.map +1 -1
  179. package/internal-components/close-button/close-button.element.js +1 -1
  180. package/internal-components/close-button/close-button.element.js.map +1 -1
  181. package/internal-components/overlay/overlay.element.d.ts +5 -4
  182. package/internal-components/overlay/overlay.element.js +1 -1
  183. package/internal-components/overlay/overlay.element.js.map +1 -1
  184. package/internal-components/overlay/overlay.element.scss.js +1 -1
  185. package/internal-components/overlay/shared.element.scss.js +1 -1
  186. package/internal-components/panel/index.js +1 -1
  187. package/internal-components/panel/panel.element.scss.js +1 -1
  188. package/internal-components/popup/pointer.element.d.ts +2 -2
  189. package/internal-components/popup/pointer.element.js +1 -1
  190. package/internal-components/popup/pointer.element.js.map +1 -1
  191. package/internal-components/popup/pointer.element.scss.js +1 -1
  192. package/internal-components/popup/popup.element.d.ts +3 -2
  193. package/internal-components/popup/popup.element.js +1 -1
  194. package/internal-components/popup/popup.element.js.map +1 -1
  195. package/internal-components/popup/popup.element.scss.js +1 -1
  196. package/internal-components/visual-checkbox/visual-checkbox.element.js +1 -1
  197. package/internal-components/visual-checkbox/visual-checkbox.element.js.map +1 -1
  198. package/internal-components/visual-checkbox/visual-checkbox.element.scss.js +1 -1
  199. package/modal/index.js +1 -1
  200. package/modal/modal.element.d.ts +4 -2
  201. package/modal/modal.element.js +1 -1
  202. package/modal/modal.element.js.map +1 -1
  203. package/modal/modal.element.scss.js +1 -1
  204. package/navigation/navigation-group.element.d.ts +1 -1
  205. package/navigation/navigation-group.element.js +1 -1
  206. package/navigation/navigation-group.element.js.map +1 -1
  207. package/navigation/navigation-group.element.scss.js +1 -1
  208. package/navigation/navigation-item.element.d.ts +2 -3
  209. package/navigation/navigation-item.element.js +1 -1
  210. package/navigation/navigation-item.element.js.map +1 -1
  211. package/navigation/navigation-item.element.scss.js +1 -1
  212. package/navigation/navigation-start.element.d.ts +2 -3
  213. package/navigation/navigation-start.element.js +1 -1
  214. package/navigation/navigation-start.element.js.map +1 -1
  215. package/navigation/navigation.element.d.ts +1 -2
  216. package/navigation/navigation.element.js +1 -1
  217. package/navigation/navigation.element.js.map +1 -1
  218. package/navigation/navigation.element.scss.js +1 -1
  219. package/navigation/utils/utils.js +1 -1
  220. package/navigation/utils/utils.js.map +1 -1
  221. package/package.json +5 -6
  222. package/pagination/pagination-button.element.d.ts +1 -1
  223. package/pagination/pagination.element.d.ts +3 -3
  224. package/pagination/pagination.element.js +1 -1
  225. package/pagination/pagination.element.js.map +1 -1
  226. package/pagination/pagination.element.scss.js +1 -1
  227. package/pagination/register.d.ts +1 -0
  228. package/pagination/register.js +1 -1
  229. package/pagination/register.js.map +1 -1
  230. package/pagination/utils.js +1 -1
  231. package/pagination/utils.js.map +1 -1
  232. package/password/password.element.js +1 -1
  233. package/polyfills/aria-reflect.js +1 -1
  234. package/polyfills/aria-reflect.js.map +1 -1
  235. package/progress-circle/progress-circle.element.d.ts +3 -21
  236. package/progress-circle/progress-circle.element.js +1 -1
  237. package/progress-circle/progress-circle.element.js.map +1 -1
  238. package/progress-circle/progress-circle.element.scss.js +1 -1
  239. package/progress-circle/progress-circle.utils.d.ts +0 -5
  240. package/progress-circle/progress-circle.utils.js +1 -1
  241. package/progress-circle/progress-circle.utils.js.map +1 -1
  242. package/radio/index.js +1 -1
  243. package/radio/radio-group.element.d.ts +2 -1
  244. package/radio/radio.element.d.ts +2 -1
  245. package/radio/radio.element.scss.js +1 -1
  246. package/range/range.element.d.ts +2 -1
  247. package/range/range.element.js +1 -1
  248. package/range/range.element.js.map +1 -1
  249. package/range/range.element.scss.js +1 -1
  250. package/range/range.global.scss.js +1 -1
  251. package/search/search.element.js +1 -1
  252. package/search/search.element.js.map +1 -1
  253. package/search/search.global.scss.js +1 -1
  254. package/select/select.element.d.ts +2 -1
  255. package/select/select.element.js +1 -1
  256. package/select/select.element.js.map +1 -1
  257. package/select/select.element.scss.js +1 -1
  258. package/select/select.global.scss.js +1 -1
  259. package/selection-panels/checkbox/checkbox-panel.element.js +1 -1
  260. package/selection-panels/checkbox/checkbox-panel.element.js.map +1 -1
  261. package/selection-panels/radio/radio-panel.element.js +1 -1
  262. package/selection-panels/radio/radio-panel.element.js.map +1 -1
  263. package/selection-panels/shared/selection-panel.element.scss.js +1 -1
  264. package/styles/shim.clr-ui.css +5 -2
  265. package/styles/shim.clr-ui.min.css +4 -2
  266. package/tag/tag.element.d.ts +2 -1
  267. package/tag/tag.element.js +1 -1
  268. package/tag/tag.element.js.map +1 -1
  269. package/tag/tag.element.scss.js +1 -1
  270. package/test/index.js +1 -1
  271. package/test/utils.d.ts +1 -1
  272. package/test/utils.js +1 -1
  273. package/test/utils.js.map +1 -1
  274. package/test-dropdown/test-dropdown.element.d.ts +2 -2
  275. package/test-dropdown/test-dropdown.element.js +1 -1
  276. package/test-dropdown/test-dropdown.element.js.map +1 -1
  277. package/test-dropdown/test-dropdown.element.scss.js +1 -1
  278. package/textarea/index.js +1 -1
  279. package/textarea/textarea.element.js +1 -1
  280. package/textarea/textarea.element.js.map +1 -1
  281. package/textarea/textarea.element.scss.js +1 -1
  282. package/time/time.element.js +1 -1
  283. package/time/time.element.js.map +1 -1
  284. package/time/time.global.scss.js +1 -1
  285. package/toggle/index.js +1 -1
  286. package/toggle/toggle.element.d.ts +2 -1
  287. package/toggle/toggle.element.js +1 -1
  288. package/toggle/toggle.element.js.map +1 -1
  289. package/toggle/toggle.element.scss.js +1 -1
  290. package/tree-view/register.d.ts +1 -0
  291. package/tree-view/register.js +1 -1
  292. package/tree-view/register.js.map +1 -1
  293. package/tree-view/story-utils.d.ts +22 -0
  294. package/tree-view/tree-item.element.d.ts +10 -2
  295. package/tree-view/tree-item.element.js +1 -1
  296. package/tree-view/tree-item.element.js.map +1 -1
  297. package/tree-view/tree-item.element.scss.js +1 -1
  298. package/tree-view/tree.element.js +1 -1
  299. package/tree-view/tree.element.js.map +1 -1
  300. package/tree-view/tree.element.scss.js +1 -1
  301. package/custom-elements.legacy.json +0 -5376
  302. package/internal/utils/focus-trap.d.ts +0 -51
  303. package/internal/utils/focus-trap.js +0 -2
  304. package/internal/utils/focus-trap.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{css as t}from"lit";var a=t`@charset "UTF-8";:host,:root{--δ2:var(--cds-global-layout-space-xxs, 0.25rem);--δ3:var(--cds-global-layout-space-xs, 0.5rem);--δ4:var(--cds-global-layout-space-sm, 0.75rem);--δ5:var(--cds-global-layout-space-md, 1rem);--δ6:var(--cds-global-layout-space-lg, 1.5rem);--δ7:var(--cds-global-layout-space-xl, 2rem)}[cds-layout~="wrap:none"]{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}[cds-layout*="align:stretch"]{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}[cds-layout*="align:shrink"]{-ms-flex-negative:1!important;flex-shrink:1!important;-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}[cds-layout~=horizontal],[cds-layout~=vertical]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}[cds-layout~=horizontal]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-items:flex-start;margin:0;min-height:0}[cds-layout~=horizontal]>[cds-layout~=horizontal],[cds-layout~=horizontal]>[cds-layout~=vertical],[cds-layout~=horizontal]>[cds-text]{width:initial!important}[cds-layout~=horizontal],[cds-layout~=horizontal][cds-layout*="align:top"]{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}[cds-layout~=horizontal][cds-layout*="align:left"]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}[cds-layout~=horizontal][cds-layout*="align:right"]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[cds-layout~=horizontal][cds-layout*="align:vertical-center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~=horizontal][cds-layout*="align:center"],[cds-layout~=horizontal][cds-layout*="align:horizontal-center"]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=horizontal][cds-layout*="align:center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~=horizontal][cds-layout*="order:reverse"]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]{-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:vertical-center"]{-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:horizontal-center"]{margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:top"]{-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal]>[cds-layout*="align:right"]{margin-left:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:left"]{margin-right:auto!important}[cds-layout~=vertical]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}[cds-layout~=vertical],[cds-layout~=vertical][cds-layout*="align:top"]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}[cds-layout~=grid],[cds-layout~=vertical],[cds-layout~=vertical][cds-layout*="align:left"]{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}[cds-layout~=vertical][cds-layout*="align:right"]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}[cds-layout~=vertical][cds-layout*="align:vertical-center"]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=vertical][cds-layout*="align:center"],[cds-layout~=vertical][cds-layout*="align:horizontal-center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}[cds-layout~=vertical][cds-layout*="align:center"]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=vertical][cds-layout*="order:reverse"]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}[cds-layout~=vertical][cds-layout*="align:horizontal-stretch"],[cds-layout~=vertical][cds-layout*="align:stretch"]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]{-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:vertical-center"]{margin-top:auto;margin-bottom:auto}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:horizontal-center"]{-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical]>[cds-layout*="align:top"]{margin-bottom:auto!important}[cds-layout~=vertical]>[cds-layout*="align:right"]{margin-left:auto}[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}[cds-layout~=grid]{display:grid;align-items:start;-ms-flex-line-pack:start;align-content:start;grid-template-columns:repeat(var(--cds-global-layout-grid-cols,12),1fr);width:100%}[cds-layout~=grid][cds-layout*=rows]{grid-template-rows:repeat(12,auto)}[cds-layout~=grid]>[cds-layout*=row]{-ms-flex-item-align:stretch;align-self:stretch}[cds-layout~=grid][cds-layout*="align:top"]{-ms-flex-line-pack:start;align-content:start}[cds-layout~=grid][cds-layout*="align:right"]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}[cds-layout~=grid][cds-layout*="align:left"]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}[cds-layout~=grid][cds-layout*="align:horizontal-stretch"],[cds-layout~=grid][cds-layout*="align:stretch"]{justify-items:stretch;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch}[cds-layout~=grid][cds-layout*="align:stretch"]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch}[cds-layout~=grid][cds-layout*="align:vertical-center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~=grid][cds-layout*="align:center"],[cds-layout~=grid][cds-layout*="align:horizontal-center"]{justify-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=grid][cds-layout*="align:center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~="display:screen-reader-only"]{position:absolute!important;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);padding:0;border:0;height:1px;width:1px;overflow:hidden;white-space:nowrap;top:0;left:0;display:block!important}[cds-layout*="gap:none"]{gap:0}[cds-layout*="gap:xxs"]{gap:var(--δ2)}[cds-layout*="gap:xs"]{gap:var(--δ3)}[cds-layout*="gap:sm"]{gap:var(--δ4)}[cds-layout*="gap:md"]{gap:var(--δ5)}[cds-layout*="gap:lg"]{gap:var(--δ6)}[cds-layout~="p:none"]{padding:0!important}[cds-layout~="p:xxs"]{padding:var(--δ2)!important}[cds-layout~="p:xs"]{padding:var(--δ3)!important}[cds-layout~="p:sm"]{padding:var(--δ4)!important}[cds-layout~="p:md"]{padding:var(--δ5)!important}[cds-layout~="m:md"]{margin:var(--δ5)!important}[cds-layout~="p:lg"]{padding:var(--δ6)!important}[cds-layout~="p-y:xs"]{padding-top:var(--δ3)!important;padding-bottom:var(--δ3)!important}[cds-layout~="p-x:lg"]{padding-left:var(--δ6)!important;padding-right:var(--δ6)!important}[cds-layout~="p-l:md"]{padding-left:var(--δ5)!important}[cds-layout~="p-t:lg"]{padding-top:var(--δ6)!important}[cds-layout~="p-b:lg"]{padding-bottom:var(--δ6)!important}@media (min-width:992px){[cds-layout*="gap@md:lg"]{gap:var(--δ6)}[cds-layout~="p@md:lg"]{padding:var(--δ6)!important}[cds-layout~="m@md:xl"]{margin:var(--δ7)!important}}[cds-layout~=fill]{width:100%!important}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>::slotted(*),[cds-layout~=horizontal][cds-layout*="align:stretch"]>::slotted(*),[cds-layout~=vertical][cds-layout*="align:stretch"]>::slotted(*){-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:left"]),[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}@media (min-width:576px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto}}@media (min-width:768px){[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto}}@media (min-width:992px){[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:left"]){margin-right:auto}}@media (min-width:1200px){[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto}}@media (min-width:1440px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto}}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:left"]){margin-right:auto!important}@media (min-width:576px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto!important}}@media (min-width:768px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto!important}}@media (min-width:992px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:left"]){margin-right:auto!important}}@media (min-width:1200px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto!important}}@media (min-width:1440px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto!important}}[cds-text]{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);margin-top:0;margin-bottom:0}[cds-text][cds-layout~=grid]::after,[cds-text][cds-layout~=grid]::before,[cds-text][cds-layout~=horizontal]::after,[cds-text][cds-layout~=horizontal]::before,[cds-text][cds-layout~=vertical]::after,[cds-text][cds-layout~=vertical]::before{display:none}[cds-text*=display],[cds-text*=section],[cds-text*=subsection],[cds-text*=title]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);color:var(--cds-global-typography-color-400,var(--cds-global-color-construction-900,#21333b))}[cds-text*=body],[cds-text*=message],[cds-text*=secondary]{color:var(--cds-global-typography-color-500,var(--cds-global-color-black,#000))}[cds-text*=inline]{width:auto!important;display:inline-block!important}[cds-text*=display]{font-size:var(--cds-global-typography-display-font-size,2.5rem);font-weight:var(--cds-global-typography-display-font-weight,400);line-height:var(--cds-global-typography-display-line-height,1.1em);letter-spacing:var(--cds-global-typography-display-letter-spacing,-.0125em)}[cds-text*=display]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) + .037em)}[cds-text*=display]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) - .044em)}[cds-text*=title]{font-size:var(--cds-global-typography-title-font-size,1.5rem);font-weight:var(--cds-global-typography-title-font-weight,400);line-height:var(--cds-global-typography-title-line-height,1.16667em);letter-spacing:var(--cds-global-typography-title-letter-spacing,-.008333em)}[cds-text*=title]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-title-line-height,1.16667em) - 1em)/ 2))*-1) + .037em)}[cds-text*=title]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-title-line-height,1.16667em) - 1em)/ 2))*-1) - .044em)}[cds-text*=section]{font-size:var(--cds-global-typography-section-font-size,1.25rem);font-weight:var(--cds-global-typography-section-font-weight,400);line-height:var(--cds-global-typography-section-line-height,1.2em);letter-spacing:var(--cds-global-typography-section-letter-spacing,-.01em)}[cds-text*=section]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) + .037em)}[cds-text*=section]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) - .044em)}[cds-text*=subsection]{font-size:var(--cds-global-typography-subsection-font-size,1rem);font-weight:var(--cds-global-typography-subsection-font-weight,400);line-height:var(--cds-global-typography-subsection-line-height,1.25em);letter-spacing:var(--cds-global-typography-subsection-letter-spacing,-.0125em)}[cds-text*=subsection]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-subsection-line-height,1.25em) - 1em)/ 2))*-1) + .037em)}[cds-text*=subsection]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-subsection-line-height,1.25em) - 1em)/ 2))*-1) - .044em)}[cds-text*=body]{font-weight:var(--cds-global-typography-body-font-weight,400);font-size:var(--cds-global-typography-body-font-size,.875rem);letter-spacing:var(--cds-global-typography-body-letter-spacing,-.014286em);line-height:var(--cds-global-typography-body-line-height,1.42857em)}[cds-text*=body]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-body-line-height,1.42857em) - 1em)/ 2))*-1) + .1em)}[cds-text*=body]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-body-line-height,1.42857em) - 1em)/ 2))*-1) - .044em)}[cds-text*=message]{font-size:var(--cds-global-typography-message-font-size,1rem);font-weight:var(--cds-global-typography-message-font-weight,25rem);line-height:var(--cds-global-typography-message-line-height,1.25em);letter-spacing:var(--cds-global-typography-message-letter-spacing,-.0125em)}[cds-text*=message]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-message-line-height,1.25em) - 1em)/ 2))*-1) + .037em)}[cds-text*=message]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-message-line-height,1.25em) - 1em)/ 2))*-1) - .044em)}[cds-text*=secondary]{font-size:var(--cds-global-typography-secondary-font-size,.8125rem);font-weight:var(--cds-global-typography-secondary-font-weight,400);line-height:var(--cds-global-typography-secondary-line-height,1.23077em);letter-spacing:var(--cds-global-typography-secondary-letter-spacing,-.007692em)}[cds-text*=secondary]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) + .037em)}[cds-text*=secondary]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) - .044em)}[cds-text~=link]{color:var(--cds-global-typography-link-color,var(--cds-global-color-blue-800,#00608a))!important;text-decoration:underline!important;line-height:inherit!important;font-size:inherit!important}[cds-text~=link]:hover{color:var(--cds-global-typography-link-color-hover,var(--cds-global-color-blue-900,#004b6b))!important}[cds-text~=link]:visited:not([cds-text~=static]){color:var(--cds-global-typography-link-color-visited,var(--cds-global-color-lavender-600,#3b40ce))!important}[cds-text~=link]:visited:not([cds-text~=static]):hover{color:var(--cds-global-typography-link-color-visited-hover,var(--cds-global-color-lavender-700,#2429c2))!important}[cds-divider]{display:block;height:var(--cds-alias-object-border-width-100,.0625rem);overflow:hidden;-webkit-box-shadow:var(--cds-alias-object-border-color,var(--cds-global-color-construction-200,#cbd4d8)) 0 0 0 var(--cds-alias-object-border-width-100,.0625rem) inset;box-shadow:var(--cds-alias-object-border-color,var(--cds-global-color-construction-200,#cbd4d8)) 0 0 0 var(--cds-alias-object-border-width-100,.0625rem) inset}[cds-text~=light]{font-weight:var(--cds-global-typography-font-weight-light,300)!important}[cds-text~=left]{text-align:left!important}[cds-text~=right]{text-align:right!important}[cds-text~=center]{text-align:center!important}[cds-text~=lhe]{padding:.05px 0}[cds-text~=lhe]::before{content:"";margin-top:-.124em;display:block;height:0}[cds-text~=lhe]::after{content:"";margin-bottom:-.221em;display:block;height:0}[cds-text*=h2],[cds-text*=h3]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);font-size:1.4rem;font-weight:200;color:#333;line-height:1.7143em;letter-spacing:-.017857em}[cds-text*=h2]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.7143em - 1em)/ 2))*-1) + .037em)}[cds-text*=h2]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.7143em - 1em)/ 2))*-1) - .044em)}[cds-text*=h3]{font-size:1.1rem;line-height:1.0909em;letter-spacing:-.013636em}[cds-text*=h3]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.0909em - 1em)/ 2))*-1) + .037em)}[cds-text*=h3]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.0909em - 1em)/ 2))*-1) - .044em)}:host{all:initial;display:block;visibility:inherit;font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);contain:layout;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;-webkit-appearance:none!important}*,:after,:before{-webkit-box-sizing:inherit!important;box-sizing:inherit!important}slot{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);display:contents!important}::slotted(*){font-family:inherit;-webkit-box-sizing:inherit;box-sizing:inherit}::slotted(*)::-webkit-input-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*)::-moz-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*):-ms-input-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*)::-ms-input-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*)::placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}:host([_is-anchor]),:host([role=button]){cursor:pointer!important}:host([_is-anchor]) ::slotted(*),:host([role=button]) ::slotted(*){cursor:pointer!important}:host([role=button][disabled]){cursor:not-allowed!important}:host([role=button][disabled]) ::slotted(*){cursor:not-allowed!important;pointer-events:none}:host([hidden]),[hidden]{display:none!important}:host([hidden*=false]){display:block!important}:host([_focused]) .input,:host([_focused]) [focusable],:host([tabindex="0"]:focus),:host([tabindex="0"]:focus) [focusable],[tabindex="0"][focusable]:focus{outline:var(--cds-alias-object-interaction-outline,Highlight solid 2px);outline-offset:var(--cds-alias-object-interaction-outline-offset,1px)}@media (-webkit-min-device-pixel-ratio:0){:host([_focused]) .input,:host([_focused]) [focusable],:host([tabindex="0"]:focus),:host([tabindex="0"]:focus) [focusable],[tabindex="0"][focusable]:focus{outline:var(--cds-alias-object-interaction-outline-webkit,5px auto -webkit-focus-ring-color)}}`;export default a;
1
+ import{css as t}from"lit";var a=t`@charset "UTF-8";:host,:root{--δ2:var(--cds-global-layout-space-xxs, 0.25rem);--δ3:var(--cds-global-layout-space-xs, 0.5rem);--δ4:var(--cds-global-layout-space-sm, 0.75rem);--δ5:var(--cds-global-layout-space-md, 1rem);--δ6:var(--cds-global-layout-space-lg, 1.5rem);--δ7:var(--cds-global-layout-space-xl, 2rem)}[cds-layout~="wrap:none"]{-ms-flex-wrap:nowrap!important;flex-wrap:nowrap!important}[cds-layout*="align:stretch"]{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}[cds-layout*="align:shrink"]{-ms-flex-negative:1!important;flex-shrink:1!important;-webkit-box-flex:0!important;-ms-flex-positive:0!important;flex-grow:0!important}[cds-layout~=horizontal],[cds-layout~=vertical]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}[cds-layout~=horizontal]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-items:flex-start;margin:0;min-height:0}[cds-layout~=horizontal]>[cds-layout~=horizontal],[cds-layout~=horizontal]>[cds-layout~=vertical],[cds-layout~=horizontal]>[cds-text]{width:initial!important}[cds-layout~=horizontal],[cds-layout~=horizontal][cds-layout*="align:top"]{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}[cds-layout~=horizontal][cds-layout*="align:left"]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}[cds-layout~=horizontal][cds-layout*="align:right"]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[cds-layout~=horizontal][cds-layout*="align:vertical-center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~=horizontal][cds-layout*="align:center"],[cds-layout~=horizontal][cds-layout*="align:horizontal-center"]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=horizontal][cds-layout*="align:center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~=horizontal][cds-layout*="order:reverse"]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]{-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:vertical-center"]{-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:horizontal-center"]{margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:top"]{-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal]>[cds-layout*="align:right"]{margin-left:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:left"]{margin-right:auto!important}[cds-layout~=vertical]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}[cds-layout~=vertical],[cds-layout~=vertical][cds-layout*="align:top"]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}[cds-layout~=grid],[cds-layout~=vertical],[cds-layout~=vertical][cds-layout*="align:left"]{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}[cds-layout~=vertical][cds-layout*="align:right"]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}[cds-layout~=vertical][cds-layout*="align:vertical-center"]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=vertical][cds-layout*="align:center"],[cds-layout~=vertical][cds-layout*="align:horizontal-center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}[cds-layout~=vertical][cds-layout*="align:center"]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=vertical][cds-layout*="order:reverse"]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}[cds-layout~=vertical][cds-layout*="align:horizontal-stretch"],[cds-layout~=vertical][cds-layout*="align:stretch"]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]{-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]>*{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:vertical-center"]{margin-top:auto;margin-bottom:auto}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:horizontal-center"]{-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical]>[cds-layout*="align:top"]{margin-bottom:auto!important}[cds-layout~=vertical]>[cds-layout*="align:right"]{margin-left:auto}[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}[cds-layout~=grid]{display:grid;align-items:start;-ms-flex-line-pack:start;align-content:start;grid-template-columns:repeat(var(--cds-global-layout-grid-cols,12),1fr);width:100%}[cds-layout~=grid][cds-layout*=rows]{grid-template-rows:repeat(12,auto)}[cds-layout~=grid]>[cds-layout*=row]{-ms-flex-item-align:stretch;align-self:stretch}[cds-layout~=grid][cds-layout*="align:top"]{-ms-flex-line-pack:start;align-content:start}[cds-layout~=grid][cds-layout*="align:right"]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}[cds-layout~=grid][cds-layout*="align:left"]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}[cds-layout~=grid][cds-layout*="align:horizontal-stretch"],[cds-layout~=grid][cds-layout*="align:stretch"]{justify-items:stretch;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch}[cds-layout~=grid][cds-layout*="align:stretch"]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch}[cds-layout~=grid][cds-layout*="align:vertical-center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~=grid][cds-layout*="align:center"],[cds-layout~=grid][cds-layout*="align:horizontal-center"]{justify-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[cds-layout~=grid][cds-layout*="align:center"]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}[cds-layout~="display:screen-reader-only"]{position:absolute!important;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);padding:0;border:0;height:1px;width:1px;overflow:hidden;white-space:nowrap;top:0;left:0;display:block!important}[cds-layout*="gap:none"]{gap:0}[cds-layout*="gap:xxs"]{gap:var(--δ2)}[cds-layout*="gap:xs"]{gap:var(--δ3)}[cds-layout*="gap:sm"]{gap:var(--δ4)}[cds-layout*="gap:md"]{gap:var(--δ5)}[cds-layout*="gap:lg"]{gap:var(--δ6)}[cds-layout~="p:none"]{padding:0!important}[cds-layout~="p:xxs"]{padding:var(--δ2)!important}[cds-layout~="p:xs"]{padding:var(--δ3)!important}[cds-layout~="p:sm"]{padding:var(--δ4)!important}[cds-layout~="p:md"]{padding:var(--δ5)!important}[cds-layout~="m:md"]{margin:var(--δ5)!important}[cds-layout~="p:lg"]{padding:var(--δ6)!important}[cds-layout~="p-y:xs"]{padding-top:var(--δ3)!important;padding-bottom:var(--δ3)!important}[cds-layout~="p-x:lg"]{padding-left:var(--δ6)!important;padding-right:var(--δ6)!important}[cds-layout~="p-l:md"]{padding-left:var(--δ5)!important}[cds-layout~="p-t:lg"]{padding-top:var(--δ6)!important}[cds-layout~="p-b:lg"]{padding-bottom:var(--δ6)!important}@media (min-width:992px){[cds-layout*="gap@md:lg"]{gap:var(--δ6)}[cds-layout~="p@md:lg"]{padding:var(--δ6)!important}[cds-layout~="m@md:xl"]{margin:var(--δ7)!important}}[cds-layout~=fill]{width:100%!important}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>::slotted(*),[cds-layout~=horizontal][cds-layout*="align:stretch"]>::slotted(*),[cds-layout~=vertical][cds-layout*="align:stretch"]>::slotted(*){-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:left"]),[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}@media (min-width:576px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto}}@media (min-width:768px){[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto}}@media (min-width:992px){[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:left"]){margin-right:auto}}@media (min-width:1200px){[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto}}@media (min-width:1440px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:horizontal-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto}}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:left"]){margin-right:auto!important}@media (min-width:576px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto!important}}@media (min-width:768px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto!important}}@media (min-width:992px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:left"]){margin-right:auto!important}}@media (min-width:1200px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto!important}}@media (min-width:1440px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:vertical-center"]){-ms-flex-item-align:center;align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:top"]){-ms-flex-item-align:start;align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:bottom"]){-ms-flex-item-align:end;align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto!important}}[cds-text]{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);margin-top:0;margin-bottom:0}[cds-text][cds-layout~=grid]::after,[cds-text][cds-layout~=grid]::before,[cds-text][cds-layout~=horizontal]::after,[cds-text][cds-layout~=horizontal]::before,[cds-text][cds-layout~=vertical]::after,[cds-text][cds-layout~=vertical]::before{display:none}[cds-text*=display],[cds-text*=section],[cds-text*=subsection],[cds-text*=title]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);color:var(--cds-global-typography-color-400,var(--cds-global-color-construction-900,#21333b))}[cds-text*=body],[cds-text*=message],[cds-text*=secondary]{color:var(--cds-global-typography-color-500,var(--cds-global-color-black,#000))}[cds-text*=inline]{width:auto!important;display:inline-block!important}[cds-text*=display]{font-size:var(--cds-global-typography-display-font-size,2.5rem);font-weight:var(--cds-global-typography-display-font-weight,400);line-height:var(--cds-global-typography-display-line-height,1.1em);letter-spacing:var(--cds-global-typography-display-letter-spacing,-.0125em)}[cds-text*=display]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) + .037em)}[cds-text*=display]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) - .044em)}[cds-text*=title]{font-size:var(--cds-global-typography-title-font-size,1.5rem);font-weight:var(--cds-global-typography-title-font-weight,400);line-height:var(--cds-global-typography-title-line-height,1.16667em);letter-spacing:var(--cds-global-typography-title-letter-spacing,-.008333em)}[cds-text*=title]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-title-line-height,1.16667em) - 1em)/ 2))*-1) + .037em)}[cds-text*=title]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-title-line-height,1.16667em) - 1em)/ 2))*-1) - .044em)}[cds-text*=section]{font-size:var(--cds-global-typography-section-font-size,1.25rem);font-weight:var(--cds-global-typography-section-font-weight,400);line-height:var(--cds-global-typography-section-line-height,1.2em);letter-spacing:var(--cds-global-typography-section-letter-spacing,-.01em)}[cds-text*=section]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) + .037em)}[cds-text*=section]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) - .044em)}[cds-text*=subsection]{font-size:var(--cds-global-typography-subsection-font-size,1rem);font-weight:var(--cds-global-typography-subsection-font-weight,400);line-height:var(--cds-global-typography-subsection-line-height,1.25em);letter-spacing:var(--cds-global-typography-subsection-letter-spacing,-.0125em)}[cds-text*=subsection]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-subsection-line-height,1.25em) - 1em)/ 2))*-1) + .037em)}[cds-text*=subsection]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-subsection-line-height,1.25em) - 1em)/ 2))*-1) - .044em)}[cds-text*=body]{font-weight:var(--cds-global-typography-body-font-weight,400);font-size:var(--cds-global-typography-body-font-size,.875rem);letter-spacing:var(--cds-global-typography-body-letter-spacing,-.014286em);line-height:var(--cds-global-typography-body-line-height,1.42857em)}[cds-text*=body]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-body-line-height,1.42857em) - 1em)/ 2))*-1) + .1em)}[cds-text*=body]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-body-line-height,1.42857em) - 1em)/ 2))*-1) - .044em)}[cds-text*=message]{font-size:var(--cds-global-typography-message-font-size,1rem);font-weight:var(--cds-global-typography-message-font-weight,25rem);line-height:var(--cds-global-typography-message-line-height,1.25em);letter-spacing:var(--cds-global-typography-message-letter-spacing,-.0125em)}[cds-text*=message]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-message-line-height,1.25em) - 1em)/ 2))*-1) + .037em)}[cds-text*=message]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-message-line-height,1.25em) - 1em)/ 2))*-1) - .044em)}[cds-text*=secondary]{font-size:var(--cds-global-typography-secondary-font-size,.8125rem);font-weight:var(--cds-global-typography-secondary-font-weight,400);line-height:var(--cds-global-typography-secondary-line-height,1.23077em);letter-spacing:var(--cds-global-typography-secondary-letter-spacing,-.007692em)}[cds-text*=secondary]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) + .037em)}[cds-text*=secondary]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) - .044em)}[cds-text~=link]{color:var(--cds-global-typography-link-color,var(--cds-global-color-blue-800,#00608a))!important;text-decoration:underline!important;line-height:inherit!important;font-size:inherit!important}[cds-text~=link]:hover{color:var(--cds-global-typography-link-color-hover,var(--cds-global-color-blue-900,#004b6b))!important}[cds-text~=link]:visited:not([cds-text~=static]){color:var(--cds-global-typography-link-color-visited,var(--cds-global-color-lavender-600,#3b40ce))!important}[cds-text~=link]:visited:not([cds-text~=static]):hover{color:var(--cds-global-typography-link-color-visited-hover,var(--cds-global-color-lavender-700,#2429c2))!important}[cds-text~=code]{color:var(--cds-alias-status-danger,var(--cds-global-color-red-700,#e02200));font-family:monospace;font-size:1.1em}[cds-divider]{display:block;height:var(--cds-alias-object-border-width-100,.0625rem);overflow:hidden;-webkit-box-shadow:var(--cds-alias-object-border-color,var(--cds-global-color-construction-200,#cbd4d8)) 0 0 0 var(--cds-alias-object-border-width-100,.0625rem) inset;box-shadow:var(--cds-alias-object-border-color,var(--cds-global-color-construction-200,#cbd4d8)) 0 0 0 var(--cds-alias-object-border-width-100,.0625rem) inset}[cds-text~=light]{font-weight:var(--cds-global-typography-font-weight-light,300)!important}[cds-text~=left]{text-align:left!important}[cds-text~=right]{text-align:right!important}[cds-text~=center]{text-align:center!important}[cds-text~=lhe]{padding:.05px 0}[cds-text~=lhe]::before{content:"";margin-top:-.124em;display:block;height:0}[cds-text~=lhe]::after{content:"";margin-bottom:-.221em;display:block;height:0}[cds-text*=h2],[cds-text*=h3]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);font-size:1.4rem;font-weight:200;color:#333;line-height:1.7143em;letter-spacing:-.017857em}[cds-text*=h2]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.7143em - 1em)/ 2))*-1) + .037em)}[cds-text*=h2]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.7143em - 1em)/ 2))*-1) - .044em)}[cds-text*=h3]{font-size:1.1rem;line-height:1.0909em;letter-spacing:-.013636em}[cds-text*=h3]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.0909em - 1em)/ 2))*-1) + .037em)}[cds-text*=h3]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.0909em - 1em)/ 2))*-1) - .044em)}:host{all:initial;display:block;visibility:inherit;font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);contain:layout;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;-webkit-appearance:none!important}*,:after,:before{-webkit-box-sizing:inherit!important;box-sizing:inherit!important}slot{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);display:contents!important}::slotted(*){font-family:inherit;-webkit-box-sizing:inherit;box-sizing:inherit}::slotted(*)::-webkit-input-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*)::-moz-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*):-ms-input-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*)::-ms-input-placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}::slotted(*)::placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}:host([_is-anchor]),:host([role=button]){cursor:pointer!important}:host([_is-anchor]) ::slotted(*),:host([role=button]) ::slotted(*){cursor:pointer!important}:host([role=button][disabled]){cursor:not-allowed!important}:host([role=button][disabled]) ::slotted(*){cursor:not-allowed!important;pointer-events:none}:host([hidden]),[hidden]{display:none!important}:host([hidden*=false]){display:block!important}:host([_focused]) .input,:host([_focused]) [focusable],:host([tabindex="0"]:focus),:host([tabindex="0"]:focus) [focusable],[tabindex="0"][focusable]:focus{outline:var(--cds-alias-object-interaction-outline,Highlight solid 2px);outline-offset:var(--cds-alias-object-interaction-outline-offset,1px)}@media (-webkit-min-device-pixel-ratio:0){:host([_focused]) .input,:host([_focused]) [focusable],:host([tabindex="0"]:focus),:host([tabindex="0"]:focus) [focusable],[tabindex="0"][focusable]:focus{outline:var(--cds-alias-object-interaction-outline-webkit,5px auto -webkit-focus-ring-color)}}`;export{a as default};
2
2
  //# sourceMappingURL=base.element.scss.js.map
@@ -1,2 +1,2 @@
1
- import{__decorate as o}from"tslib";import{LitElement as r}from"lit";import{property as t}from"../decorators/property.js";import{active as e}from"../controllers/active.controller.js";import{ariaPopupTrigger as p}from"../controllers/aria-popup-trigger.controller.js";import{ariaDisabled as l}from"../controllers/aria-disabled.controller.js";import{ariaPressed as i}from"../controllers/aria-pressed.controller.js";import{ariaButton as s}from"../controllers/aria-button.controller.js";import{buttonAnchor as n}from"../controllers/button-anchor.controller.js";import{buttonSubmit as a}from"../controllers/button-submit.controller.js";let m=class extends r{constructor(){super(...arguments),this.readonly=!1,this.disabled=!1}};o([t({type:Boolean})],m.prototype,"readonly",void 0),o([t({type:String})],m.prototype,"type",void 0),o([t({type:String})],m.prototype,"name",void 0),o([t({type:String})],m.prototype,"value",void 0),o([t({type:Boolean})],m.prototype,"disabled",void 0),o([t({type:String})],m.prototype,"popup",void 0),o([t({type:Boolean})],m.prototype,"pressed",void 0),m=o([e(),s(),i(),l(),p(),a(),n()],m);export{m as CdsBaseButton};
1
+ import{__decorate as o}from"tslib";import{LitElement as r}from"lit";import{property as t}from"../decorators/property.js";import{active as e}from"../controllers/active.controller.js";import{ariaPopupTrigger as p}from"../controllers/aria-popup-trigger.controller.js";import{ariaDisabled as l}from"../controllers/aria-disabled.controller.js";import{ariaPressed as i}from"../controllers/aria-pressed.controller.js";import{ariaButton as s}from"../controllers/aria-button.controller.js";import{buttonAnchor as n}from"../controllers/button-anchor.controller.js";import{buttonSubmit as a}from"../controllers/button-submit.controller.js";let m=class extends r{constructor(){super(...arguments);this.readonly=!1,this.disabled=!1}};o([t({type:Boolean})],m.prototype,"readonly",void 0),o([t({type:String})],m.prototype,"type",void 0),o([t({type:String})],m.prototype,"name",void 0),o([t({type:String})],m.prototype,"value",void 0),o([t({type:Boolean})],m.prototype,"disabled",void 0),o([t({type:String})],m.prototype,"popup",void 0),o([t({type:Boolean})],m.prototype,"pressed",void 0),m=o([e(),s(),i(),l(),p(),a(),n()],m);export{m as CdsBaseButton};
2
2
  //# sourceMappingURL=button.base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.base.js","sources":["../../../../src/internal/base/button.base.ts"],"sourcesContent":null,"names":["CdsBaseButton","LitElement","[object Object]","super","arguments","this","readonly","disabled","__decorate","property","type","Boolean","prototype","String","active","ariaButton","ariaPressed","ariaDisabled","ariaPopupTrigger","buttonSubmit","buttonAnchor"],"mappings":"qnBAkBG,IAACA,EAAgB,cAA4BC,EAC5CC,cACIC,SAASC,WACTC,KAAKC,UAAW,EAChBD,KAAKE,UAAW,IAGxBC,EAAW,CACPC,EAAS,CAAEC,KAAMC,WAClBX,EAAcY,UAAW,gBAAY,GACxCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBb,EAAcY,UAAW,YAAQ,GACpCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBb,EAAcY,UAAW,YAAQ,GACpCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBb,EAAcY,UAAW,aAAS,GACrCJ,EAAW,CACPC,EAAS,CAAEC,KAAMC,WAClBX,EAAcY,UAAW,gBAAY,GACxCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBb,EAAcY,UAAW,aAAS,GACrCJ,EAAW,CACPC,EAAS,CAAEC,KAAMC,WAClBX,EAAcY,UAAW,eAAW,GACvCZ,EAAgBQ,EAAW,CACvBM,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,KACDpB"}
1
+ {"version":3,"file":"button.base.js","sources":["../../../../src/internal/base/button.base.ts"],"sourcesContent":null,"names":["CdsBaseButton","LitElement","[object Object]","super","this","readonly","disabled","__decorate","property","type","Boolean","prototype","String","active","ariaButton","ariaPressed","ariaDisabled","ariaPopupTrigger","buttonSubmit","buttonAnchor"],"mappings":"qnBAkBG,IAACA,EAAgB,cAA4BC,EAC5CC,cACIC,oBACAC,KAAKC,UAAW,EAChBD,KAAKE,UAAW,IAGxBC,EAAW,CACPC,EAAS,CAAEC,KAAMC,WAClBV,EAAcW,UAAW,gBAAY,GACxCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBZ,EAAcW,UAAW,YAAQ,GACpCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBZ,EAAcW,UAAW,YAAQ,GACpCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBZ,EAAcW,UAAW,aAAS,GACrCJ,EAAW,CACPC,EAAS,CAAEC,KAAMC,WAClBV,EAAcW,UAAW,gBAAY,GACxCJ,EAAW,CACPC,EAAS,CAAEC,KAAMG,UAClBZ,EAAcW,UAAW,aAAS,GACrCJ,EAAW,CACPC,EAAS,CAAEC,KAAMC,WAClBV,EAAcW,UAAW,eAAW,GACvCX,EAAgBO,EAAW,CACvBM,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,KACDnB"}
@@ -9,11 +9,5 @@ export declare class CdsBaseFocusTrap extends LitElement {
9
9
  protected demoMode: boolean;
10
10
  protected focusTrapId: string;
11
11
  constructor();
12
- /**
13
- * Its recommended to remove or add a focus trap element from the DOM
14
- * some SSR systems can have technical constraints where the item can
15
- * only be removed via CSS/hidden.
16
- */
17
- hidden: boolean;
18
12
  protected render(): import("lit-html").TemplateResult<1>;
19
13
  }
@@ -1,2 +1,2 @@
1
- import{__decorate as o}from"tslib";import{LitElement as r,html as t}from"lit";import{state as e,property as s}from"../decorators/property.js";import{createId as i}from"../utils/identity.js";import{FirstFocusController as l}from"../controllers/first-focus.controller.js";import{ClosableController as n}from"../controllers/closable.controller.js";import{InlineFocusTrapController as p}from"../controllers/inline-focus-trap.controller.js";class c extends r{constructor(){super(),this.firstFocusController=new l(this),this.closableController=new n(this),this.inlineFocusTrapController=new p(this),this.demoMode=!1,this.hidden=!1,this.focusTrapId=i()}render(){return t`<slot></slot>`}}o([e({type:Boolean,reflect:!0})],c.prototype,"demoMode",void 0),o([e({type:String})],c.prototype,"focusTrapId",void 0),o([s({type:Boolean})],c.prototype,"hidden",void 0);export{c as CdsBaseFocusTrap};
1
+ import{__decorate as o}from"tslib";import{LitElement as r,html as t}from"lit";import{state as e}from"../decorators/property.js";import{createId as s}from"../utils/identity.js";import{FirstFocusController as l}from"../controllers/first-focus.controller.js";import{ClosableController as i}from"../controllers/closable.controller.js";import{InlineFocusTrapController as n}from"../controllers/inline-focus-trap.controller.js";class p extends r{constructor(){super();this.firstFocusController=new l(this),this.closableController=new i(this),this.inlineFocusTrapController=new n(this),this.demoMode=!1,this.focusTrapId=s()}render(){return t`<slot></slot>`}}o([e({type:Boolean,reflect:!0})],p.prototype,"demoMode",void 0),o([e({type:String})],p.prototype,"focusTrapId",void 0);export{p as CdsBaseFocusTrap};
2
2
  //# sourceMappingURL=focus-trap.base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"focus-trap.base.js","sources":["../../../../src/internal/base/focus-trap.base.ts"],"sourcesContent":null,"names":["CdsBaseFocusTrap","LitElement","[object Object]","super","this","firstFocusController","FirstFocusController","closableController","ClosableController","inlineFocusTrapController","InlineFocusTrapController","demoMode","hidden","focusTrapId","createId","html","__decorate","state","type","Boolean","reflect","prototype","String","property"],"mappings":"obAYO,MAAMA,UAAyBC,EAClCC,cACIC,QACAC,KAAKC,qBAAuB,IAAIC,EAAqBF,MACrDA,KAAKG,mBAAqB,IAAIC,EAAmBJ,MACjDA,KAAKK,0BAA4B,IAAIC,EAA0BN,MAC/DA,KAAKO,UAAW,EAMhBP,KAAKQ,QAAS,EACdR,KAAKS,YAAcC,IAEvBZ,SACI,OAAOa,CAAK,iBAGpBC,EAAW,CACPC,EAAM,CAAEC,KAAMC,QAASC,SAAS,KACjCpB,EAAiBqB,UAAW,gBAAY,GAC3CL,EAAW,CACPC,EAAM,CAAEC,KAAMI,UACftB,EAAiBqB,UAAW,mBAAe,GAC9CL,EAAW,CACPO,EAAS,CAAEL,KAAMC,WAClBnB,EAAiBqB,UAAW,cAAU"}
1
+ {"version":3,"file":"focus-trap.base.js","sources":["../../../../src/internal/base/focus-trap.base.ts"],"sourcesContent":null,"names":["CdsBaseFocusTrap","LitElement","[object Object]","super","this","firstFocusController","FirstFocusController","closableController","ClosableController","inlineFocusTrapController","InlineFocusTrapController","demoMode","focusTrapId","createId","html","__decorate","state","type","Boolean","reflect","prototype","String"],"mappings":"saAYO,MAAMA,UAAyBC,EAClCC,cACIC,QACAC,KAAKC,qBAAuB,IAAIC,EAAqBF,MACrDA,KAAKG,mBAAqB,IAAIC,EAAmBJ,MACjDA,KAAKK,0BAA4B,IAAIC,EAA0BN,MAC/DA,KAAKO,UAAW,EAChBP,KAAKQ,YAAcC,IAEvBX,SACI,OAAOY,CAAK,iBAGpBC,EAAW,CACPC,EAAM,CAAEC,KAAMC,QAASC,SAAS,KACjCnB,EAAiBoB,UAAW,gBAAY,GAC3CL,EAAW,CACPC,EAAM,CAAEC,KAAMI,UACfrB,EAAiBoB,UAAW,mBAAe"}
@@ -1,2 +1,2 @@
1
- function t(){return t=>t.addInitializer((t=>new e(t)))}class e{constructor(t){this.host=t,this.host.addController(this)}async hostConnected(){await this.host.updateComplete,this.host.addEventListener("keydown",(t=>this.emulateActive(t))),this.host.addEventListener("mousedown",(t=>this.emulateActive(t))),this.host.addEventListener("keyup",(()=>this.emulateInactive())),this.host.addEventListener("blur",(()=>this.emulateInactive())),this.host.addEventListener("mouseup",(()=>this.emulateInactive()))}emulateActive(t){var e;this.host.disabled||null===(e=this.host)||void 0===e||e.setAttribute("cds-active",""),"Space"===t.code&&t.target===this.host&&t.preventDefault()}emulateInactive(){this.host.removeAttribute("cds-active")}}export{e as ActiveController,t as active};
1
+ function t(){return t=>t.addInitializer((t=>new e(t)))}class e{constructor(t){this.host=t,this.host.addController(this)}async hostConnected(){await this.host.updateComplete,this.host.addEventListener("keydown",(t=>this.emulateActive(t))),this.host.addEventListener("mousedown",(t=>this.emulateActive(t))),this.host.addEventListener("keyup",(()=>this.emulateInactive())),this.host.addEventListener("blur",(()=>this.emulateInactive())),this.host.addEventListener("mouseup",(()=>this.emulateInactive()))}emulateActive(t){this.host.disabled||this.host?.setAttribute("cds-active",""),"Space"===t.code&&t.target===this.host&&t.preventDefault()}emulateInactive(){this.host.removeAttribute("cds-active")}}export{e as ActiveController,t as active};
2
2
  //# sourceMappingURL=active.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"active.controller.js","sources":["../../../../src/internal/controllers/active.controller.ts"],"sourcesContent":null,"names":["active","target","addInitializer","instance","ActiveController","[object Object]","host","this","addController","updateComplete","addEventListener","e","emulateActive","emulateInactive","_a","disabled","setAttribute","code","preventDefault","removeAttribute"],"mappings":"AAQO,SAASA,IACZ,OAAQC,GAAWA,EAAOC,gBAAgBC,GAAa,IAAIC,EAAiBD,KAEzE,MAAMC,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKD,KAAKE,cAAcD,MAE5BF,4BACUE,KAAKD,KAAKG,eAChBF,KAAKD,KAAKI,iBAAiB,WAAYC,GAAMJ,KAAKK,cAAcD,KAChEJ,KAAKD,KAAKI,iBAAiB,aAAcC,GAAMJ,KAAKK,cAAcD,KAClEJ,KAAKD,KAAKI,iBAAiB,SAAS,IAAMH,KAAKM,oBAC/CN,KAAKD,KAAKI,iBAAiB,QAAQ,IAAMH,KAAKM,oBAC9CN,KAAKD,KAAKI,iBAAiB,WAAW,IAAMH,KAAKM,oBAErDR,cAAcM,GACV,IAAIG,EACCP,KAAKD,KAAKS,UACU,QAApBD,EAAKP,KAAKD,YAAyB,IAAPQ,GAAyBA,EAAGE,aAAa,aAAc,IAEzE,UAAXL,EAAEM,MAAoBN,EAAEV,SAAWM,KAAKD,MACxCK,EAAEO,iBAGVb,kBACIE,KAAKD,KAAKa,gBAAgB"}
1
+ {"version":3,"file":"active.controller.js","sources":["../../../../src/internal/controllers/active.controller.ts"],"sourcesContent":null,"names":["active","target","addInitializer","instance","ActiveController","[object Object]","host","this","addController","updateComplete","addEventListener","e","emulateActive","emulateInactive","disabled","setAttribute","code","preventDefault","removeAttribute"],"mappings":"AAQO,SAASA,IACZ,OAAQC,GAAWA,EAAOC,gBAAgBC,GAAa,IAAIC,EAAiBD,KAEzE,MAAMC,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKD,KAAKE,cAAcD,MAE5BF,4BACUE,KAAKD,KAAKG,eAChBF,KAAKD,KAAKI,iBAAiB,WAAYC,GAAMJ,KAAKK,cAAcD,KAChEJ,KAAKD,KAAKI,iBAAiB,aAAcC,GAAMJ,KAAKK,cAAcD,KAClEJ,KAAKD,KAAKI,iBAAiB,SAAS,IAAMH,KAAKM,oBAC/CN,KAAKD,KAAKI,iBAAiB,QAAQ,IAAMH,KAAKM,oBAC9CN,KAAKD,KAAKI,iBAAiB,WAAW,IAAMH,KAAKM,oBAErDR,cAAcM,GACLJ,KAAKD,KAAKQ,UACXP,KAAKD,MAAMS,aAAa,aAAc,IAE3B,UAAXJ,EAAEK,MAAoBL,EAAEV,SAAWM,KAAKD,MACxCK,EAAEM,iBAGVZ,kBACIE,KAAKD,KAAKY,gBAAgB"}
@@ -1,2 +1,2 @@
1
- function t(){return t=>t.addInitializer((t=>new e(t)))}class e{constructor(t){this.host=t,this.host.addController(this)}hostUpdated(){var t;const e="A"===(null===(t=this.host.parentElement)||void 0===t?void 0:t.tagName);e&&this.host.parentElement&&(this.host.readonly=e,this.host.parentElement.style.lineHeight="0",this.host.parentElement.style.textDecoration="none")}}export{e as ButtonAnchorController,t as buttonAnchor};
1
+ function t(){return t=>t.addInitializer((t=>new e(t)))}class e{constructor(t){this.host=t,this.host.addController(this)}hostUpdated(){const t="A"===this.host.parentElement?.tagName;t&&this.host.parentElement&&(this.host.readonly=t,this.host.parentElement.style.lineHeight="0",this.host.parentElement.style.textDecoration="none")}}export{e as ButtonAnchorController,t as buttonAnchor};
2
2
  //# sourceMappingURL=button-anchor.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-anchor.controller.js","sources":["../../../../src/internal/controllers/button-anchor.controller.ts"],"sourcesContent":null,"names":["buttonAnchor","target","addInitializer","instance","ButtonAnchorController","[object Object]","host","this","addController","_a","hasAnchor","parentElement","tagName","readonly","style","lineHeight","textDecoration"],"mappings":"AAYO,SAASA,IACZ,OAAQC,GAAWA,EAAOC,gBAAgBC,GAAa,IAAIC,EAAuBD,KAE/E,MAAMC,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKD,KAAKE,cAAcD,MAE5BF,cACI,IAAII,EACJ,MAAMC,EAAiG,OAAjD,QAAlCD,EAAKF,KAAKD,KAAKK,qBAAkC,IAAPF,OAAgB,EAASA,EAAGG,SACtFF,GAAaH,KAAKD,KAAKK,gBACvBJ,KAAKD,KAAKO,SAAWH,EACrBH,KAAKD,KAAKK,cAAcG,MAAMC,WAAa,IAC3CR,KAAKD,KAAKK,cAAcG,MAAME,eAAiB"}
1
+ {"version":3,"file":"button-anchor.controller.js","sources":["../../../../src/internal/controllers/button-anchor.controller.ts"],"sourcesContent":null,"names":["buttonAnchor","target","addInitializer","instance","ButtonAnchorController","[object Object]","host","this","addController","hasAnchor","parentElement","tagName","readonly","style","lineHeight","textDecoration"],"mappings":"AAYO,SAASA,IACZ,OAAQC,GAAWA,EAAOC,gBAAgBC,GAAa,IAAIC,EAAuBD,KAE/E,MAAMC,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKD,KAAKE,cAAcD,MAE5BF,cACI,MAAMI,EAAiD,MAArCF,KAAKD,KAAKI,eAAeC,QACvCF,GAAaF,KAAKD,KAAKI,gBACvBH,KAAKD,KAAKM,SAAWH,EACrBF,KAAKD,KAAKI,cAAcG,MAAMC,WAAa,IAC3CP,KAAKD,KAAKI,cAAcG,MAAME,eAAiB"}
@@ -1,2 +1,2 @@
1
- import{html as t}from"lit";import{ifDefined as e}from"lit/directives/if-defined.js";import{stopEvent as i}from"../utils/events.js";import{onAnyKey as s}from"../utils/keycodes.js";import{renderAfter as o}from"../utils/lit.js";function r(){return t=>t.addInitializer((t=>new h(t)))}class h{constructor(t){this.host=t,this.triggerNativeButtonBehaviorHandler=this.triggerNativeButtonBehavior.bind(this),this.emulateKeyBoardEventBehaviorHandler=this.emulateKeyBoardEventBehavior.bind(this),this.host.addController(this)}hostUpdated(){this.setButtonType(),this.setupNativeButtonBehavior()}setButtonType(){!this.host.type&&this.host.closest("form")&&(this.host.type="submit")}setupNativeButtonBehavior(){this.host.readonly||this.host.disabled?(this.host.removeEventListener("click",this.triggerNativeButtonBehaviorHandler),this.host.removeEventListener("keyup",this.emulateKeyBoardEventBehaviorHandler)):(this.host.addEventListener("click",this.triggerNativeButtonBehaviorHandler),this.host.addEventListener("keyup",this.emulateKeyBoardEventBehaviorHandler))}emulateKeyBoardEventBehavior(t){s(["enter","space"],t,(()=>{"submit"===this.host.type?this.triggerNativeButtonBehavior(t):this.host.click(),i(t)}))}triggerNativeButtonBehavior(s){if(this.host.disabled)i(s);else if(!s.defaultPrevented){const i=o(t`<button aria-hidden="true" role="presentation" ?disabled="${this.host.disabled}" tabindex="-1" style="display:none!important" value="${e(this.host.value)}" name="${e(this.host.name)}" type="${e(this.host.type)}"></button>`,this.host);null==i||i.dispatchEvent(new MouseEvent("click",{relatedTarget:this.host,composed:!0})),null==i||i.remove()}}}export{h as ButtonSubmitController,r as buttonSubmit};
1
+ import{html as t}from"lit";import{ifDefined as e}from"lit/directives/if-defined.js";import{stopEvent as i}from"../utils/events.js";import{onAnyKey as s}from"../utils/keycodes.js";import{renderAfter as o}from"../utils/lit.js";function r(){return t=>t.addInitializer((t=>new h(t)))}class h{constructor(t){this.host=t,this.triggerNativeButtonBehaviorHandler=this.triggerNativeButtonBehavior.bind(this),this.emulateKeyBoardEventBehaviorHandler=this.emulateKeyBoardEventBehavior.bind(this),this.host.addController(this)}hostUpdated(){this.setButtonType(),this.setupNativeButtonBehavior()}setButtonType(){!this.host.type&&this.host.closest("form")&&(this.host.type="submit")}setupNativeButtonBehavior(){this.host.readonly||this.host.disabled?(this.host.removeEventListener("click",this.triggerNativeButtonBehaviorHandler),this.host.removeEventListener("keyup",this.emulateKeyBoardEventBehaviorHandler)):(this.host.addEventListener("click",this.triggerNativeButtonBehaviorHandler),this.host.addEventListener("keyup",this.emulateKeyBoardEventBehaviorHandler))}emulateKeyBoardEventBehavior(t){s(["enter","space"],t,(()=>{"submit"===this.host.type?this.triggerNativeButtonBehavior(t):this.host.click(),i(t)}))}triggerNativeButtonBehavior(s){if(this.host.disabled)i(s);else if(!s.defaultPrevented){const i=o(t`<button aria-hidden="true" role="presentation" ?disabled="${this.host.disabled}" tabindex="-1" style="display:none!important" value="${e(this.host.value)}" name="${e(this.host.name)}" type="${e(this.host.type)}"></button>`,this.host);i?.dispatchEvent(new MouseEvent("click",{relatedTarget:this.host,composed:!0})),i?.remove()}}}export{h as ButtonSubmitController,r as buttonSubmit};
2
2
  //# sourceMappingURL=button-submit.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-submit.controller.js","sources":["../../../../src/internal/controllers/button-submit.controller.ts"],"sourcesContent":null,"names":["buttonSubmit","target","addInitializer","instance","ButtonSubmitController","[object Object]","host","this","triggerNativeButtonBehaviorHandler","triggerNativeButtonBehavior","bind","emulateKeyBoardEventBehaviorHandler","emulateKeyBoardEventBehavior","addController","setButtonType","setupNativeButtonBehavior","type","closest","readonly","disabled","removeEventListener","addEventListener","evt","onAnyKey","click","stopEvent","event","defaultPrevented","submitButton","renderAfter","html","ifDefined","value","name","dispatchEvent","MouseEvent","relatedTarget","composed","remove"],"mappings":"iOAQO,SAASA,IACZ,OAAQC,GAAWA,EAAOC,gBAAgBC,GAAa,IAAIC,EAAuBD,KAE/E,MAAMC,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKC,mCAAqCD,KAAKE,4BAA4BC,KAAKH,MAChFA,KAAKI,oCAAsCJ,KAAKK,6BAA6BF,KAAKH,MAClFA,KAAKD,KAAKO,cAAcN,MAE5BF,cACIE,KAAKO,gBACLP,KAAKQ,4BAETV,iBACSE,KAAKD,KAAKU,MAAQT,KAAKD,KAAKW,QAAQ,UACrCV,KAAKD,KAAKU,KAAO,UAGzBX,4BACQE,KAAKD,KAAKY,UAAYX,KAAKD,KAAKa,UAChCZ,KAAKD,KAAKc,oBAAoB,QAASb,KAAKC,oCAC5CD,KAAKD,KAAKc,oBAAoB,QAASb,KAAKI,uCAG5CJ,KAAKD,KAAKe,iBAAiB,QAASd,KAAKC,oCACzCD,KAAKD,KAAKe,iBAAiB,QAASd,KAAKI,sCAGjDN,6BAA6BiB,GACzBC,EAAS,CAAC,QAAS,SAAUD,GAAK,KAEP,WAAnBf,KAAKD,KAAKU,KACVT,KAAKE,4BAA4Ba,GAGjCf,KAAKD,KAAKkB,QAEdC,EAAUH,MAOlBjB,4BAA4BqB,GACxB,GAAInB,KAAKD,KAAKa,SACVM,EAAUC,QAET,IAAKA,EAAMC,iBAAkB,CAC9B,MAAMC,EAAeC,EAAYC,CAAK,6DAG3BvB,KAAKD,KAAKa,iEAGdY,EAAUxB,KAAKD,KAAK0B,iBACrBD,EAAUxB,KAAKD,KAAK2B,gBACpBF,EAAUxB,KAAKD,KAAKU,mBACjBT,KAAKD,MACdsB,MAAAA,GAA4DA,EAAaM,cAAc,IAAIC,WAAW,QAAS,CAAEC,cAAe7B,KAAKD,KAAM+B,UAAU,KACrJT,MAAAA,GAA4DA,EAAaU"}
1
+ {"version":3,"file":"button-submit.controller.js","sources":["../../../../src/internal/controllers/button-submit.controller.ts"],"sourcesContent":null,"names":["buttonSubmit","target","addInitializer","instance","ButtonSubmitController","[object Object]","host","this","triggerNativeButtonBehaviorHandler","triggerNativeButtonBehavior","bind","emulateKeyBoardEventBehaviorHandler","emulateKeyBoardEventBehavior","addController","setButtonType","setupNativeButtonBehavior","type","closest","readonly","disabled","removeEventListener","addEventListener","evt","onAnyKey","click","stopEvent","event","defaultPrevented","submitButton","renderAfter","html","ifDefined","value","name","dispatchEvent","MouseEvent","relatedTarget","composed","remove"],"mappings":"iOAQO,SAASA,IACZ,OAAQC,GAAWA,EAAOC,gBAAgBC,GAAa,IAAIC,EAAuBD,KAE/E,MAAMC,EACTC,YAAYC,GACRC,KAAKD,KAAOA,EACZC,KAAKC,mCAAqCD,KAAKE,4BAA4BC,KAAKH,MAChFA,KAAKI,oCAAsCJ,KAAKK,6BAA6BF,KAAKH,MAClFA,KAAKD,KAAKO,cAAcN,MAE5BF,cACIE,KAAKO,gBACLP,KAAKQ,4BAETV,iBACSE,KAAKD,KAAKU,MAAQT,KAAKD,KAAKW,QAAQ,UACrCV,KAAKD,KAAKU,KAAO,UAGzBX,4BACQE,KAAKD,KAAKY,UAAYX,KAAKD,KAAKa,UAChCZ,KAAKD,KAAKc,oBAAoB,QAASb,KAAKC,oCAC5CD,KAAKD,KAAKc,oBAAoB,QAASb,KAAKI,uCAG5CJ,KAAKD,KAAKe,iBAAiB,QAASd,KAAKC,oCACzCD,KAAKD,KAAKe,iBAAiB,QAASd,KAAKI,sCAGjDN,6BAA6BiB,GACzBC,EAAS,CAAC,QAAS,SAAUD,GAAK,KAEP,WAAnBf,KAAKD,KAAKU,KACVT,KAAKE,4BAA4Ba,GAGjCf,KAAKD,KAAKkB,QAEdC,EAAUH,MAOlBjB,4BAA4BqB,GACxB,GAAInB,KAAKD,KAAKa,SACVM,EAAUC,QAET,IAAKA,EAAMC,iBAAkB,CAC9B,MAAMC,EAAeC,EAAYC,CAAK,6DAG3BvB,KAAKD,KAAKa,iEAGdY,EAAUxB,KAAKD,KAAK0B,iBACrBD,EAAUxB,KAAKD,KAAK2B,gBACpBF,EAAUxB,KAAKD,KAAKU,mBACjBT,KAAKD,MACdsB,GAAcM,cAAc,IAAIC,WAAW,QAAS,CAAEC,cAAe7B,KAAKD,KAAM+B,UAAU,KAC1FT,GAAcU"}
@@ -1,2 +1,2 @@
1
- import{listenForAttributeChange as t}from"../utils/events.js";import{ignoreFocusTrap as s}from"./utils/first-focus.controller.utils.js";import{FocusTrapTrackerService as e}from"../services/focus-trap-tracker.service.js";class o{constructor(t,s){this.host=t,this.config={escape:!0,lastFocus:!0,closable:()=>!0,...s},this.host.addController(this)}get isFocusTrapper(){return this.host.focusTrapId&&!s(this.host)}hostConnected(){this.togglePriorActiveElement(),this.host.addEventListener("keyup",(t=>this.keyEvent(t))),this.observer=t(this.host,"hidden",(()=>this.togglePriorActiveElement()))}hostDisconnected(){var t;null===(t=this.priorActiveElement)||void 0===t||t.focus(),this.removeFocusTrap(),this.observer.disconnect()}close(t){this.config&&this.config.closable&&this.config.closable()&&(this.host.closeChange?this.host.closeChange.emit(t):this.host.dispatchEvent(new CustomEvent("closeChange",{detail:t})))}setFocusTrap(){this.isFocusTrapper&&e.setCurrent({focusTrapId:this.host.focusTrapId})}removeFocusTrap(){this.isFocusTrapper&&e.removeTrapElement({focusTrapId:this.host.focusTrapId})}togglePriorActiveElement(){var t;this.host.hidden&&this.config.lastFocus?(this.removeFocusTrap(),null===(t=this.priorActiveElement)||void 0===t||t.focus()):(this.setFocusTrap(),this.setPriorActiveElement())}setPriorActiveElement(){this.priorActiveElement=this.host.getRootNode().activeElement}keyEvent(t){this.config.escape&&"Escape"===t.code&&(t.preventDefault(),t.stopPropagation(),this.close("escape-keypress"))}}export{o as ClosableController};
1
+ import{listenForAttributeChange as t}from"../utils/events.js";import{ignoreFocusTrap as s}from"./utils/first-focus.controller.utils.js";import{FocusTrapTrackerService as e}from"../services/focus-trap-tracker.service.js";class o{constructor(t,s){this.host=t,this.config={escape:!0,lastFocus:!0,closable:()=>!0,...s},this.host.addController(this)}get isFocusTrapper(){return this.host.focusTrapId&&!s(this.host)}hostConnected(){this.togglePriorActiveElement(),this.host.addEventListener("keyup",(t=>this.keyEvent(t))),this.observer=t(this.host,"hidden",(()=>this.togglePriorActiveElement()))}hostDisconnected(){this.priorActiveElement?.focus(),this.removeFocusTrap(),this.observer.disconnect()}close(t){this.config&&this.config.closable&&this.config.closable()&&(this.host.closeChange?this.host.closeChange.emit(t):this.host.dispatchEvent(new CustomEvent("closeChange",{detail:t})))}setFocusTrap(){this.isFocusTrapper&&e.setCurrent({focusTrapId:this.host.focusTrapId})}removeFocusTrap(){this.isFocusTrapper&&e.removeTrapElement({focusTrapId:this.host.focusTrapId})}togglePriorActiveElement(){this.host.hidden&&this.config.lastFocus?(this.removeFocusTrap(),this.priorActiveElement?.focus()):(this.setFocusTrap(),this.setPriorActiveElement())}setPriorActiveElement(){this.priorActiveElement=this.host.getRootNode().activeElement}keyEvent(t){this.config.escape&&"Escape"===t.code&&(t.preventDefault(),t.stopPropagation(),this.close("escape-keypress"))}}export{o as ClosableController};
2
2
  //# sourceMappingURL=closable.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"closable.controller.js","sources":["../../../../src/internal/controllers/closable.controller.ts"],"sourcesContent":null,"names":["ClosableController","[object Object]","host","config","this","escape","lastFocus","closable","addController","isFocusTrapper","focusTrapId","ignoreFocusTrap","togglePriorActiveElement","addEventListener","e","keyEvent","observer","listenForAttributeChange","_a","priorActiveElement","focus","removeFocusTrap","disconnect","detail","closeChange","emit","dispatchEvent","CustomEvent","FocusTrapTrackerService","setCurrent","removeTrapElement","hidden","setFocusTrap","setPriorActiveElement","getRootNode","activeElement","code","preventDefault","stopPropagation","close"],"mappings":"4NASO,MAAMA,EACTC,YAAYC,EAAMC,GACdC,KAAKF,KAAOA,EACZE,KAAKD,OAAS,CAAEE,QAAQ,EAAMC,WAAW,EAAMC,SAAU,KAAM,KAASJ,GACxEC,KAAKF,KAAKM,cAAcJ,MAE5BK,qBACI,OAAOL,KAAKF,KAAKQ,cAAgBC,EAAgBP,KAAKF,MAE1DD,gBACIG,KAAKQ,2BACLR,KAAKF,KAAKW,iBAAiB,SAAUC,GAAMV,KAAKW,SAASD,KACzDV,KAAKY,SAAWC,EAAyBb,KAAKF,KAAM,UAAU,IAAME,KAAKQ,6BAE7EX,mBACI,IAAIiB,EAC+B,QAAlCA,EAAKd,KAAKe,0BAAuC,IAAPD,GAAyBA,EAAGE,QACvEhB,KAAKiB,kBACLjB,KAAKY,SAASM,aAElBrB,MAAMsB,GACEnB,KAAKD,QAAUC,KAAKD,OAAOI,UAAYH,KAAKD,OAAOI,aAE/CH,KAAKF,KAAKsB,YACVpB,KAAKF,KAAKsB,YAAYC,KAAKF,GAG3BnB,KAAKF,KAAKwB,cAAc,IAAIC,YAAY,cAAe,CAAEJ,OAAAA,MAIrEtB,eACQG,KAAKK,gBACLmB,EAAwBC,WAAW,CAAEnB,YAAaN,KAAKF,KAAKQ,cAGpET,kBACQG,KAAKK,gBACLmB,EAAwBE,kBAAkB,CAAEpB,YAAaN,KAAKF,KAAKQ,cAG3ET,2BACI,IAAIiB,EACAd,KAAKF,KAAK6B,QAAU3B,KAAKD,OAAOG,WAChCF,KAAKiB,kBAC8B,QAAlCH,EAAKd,KAAKe,0BAAuC,IAAPD,GAAyBA,EAAGE,UAGvEhB,KAAK4B,eACL5B,KAAK6B,yBAGbhC,wBACIG,KAAKe,mBAAqBf,KAAKF,KAAKgC,cAAcC,cAEtDlC,SAASa,GACDV,KAAKD,OAAOE,QAAqB,WAAXS,EAAEsB,OACxBtB,EAAEuB,iBACFvB,EAAEwB,kBACFlC,KAAKmC,MAAM"}
1
+ {"version":3,"file":"closable.controller.js","sources":["../../../../src/internal/controllers/closable.controller.ts"],"sourcesContent":null,"names":["ClosableController","[object Object]","host","config","this","escape","lastFocus","closable","addController","isFocusTrapper","focusTrapId","ignoreFocusTrap","togglePriorActiveElement","addEventListener","e","keyEvent","observer","listenForAttributeChange","priorActiveElement","focus","removeFocusTrap","disconnect","detail","closeChange","emit","dispatchEvent","CustomEvent","FocusTrapTrackerService","setCurrent","removeTrapElement","hidden","setFocusTrap","setPriorActiveElement","getRootNode","activeElement","code","preventDefault","stopPropagation","close"],"mappings":"4NASO,MAAMA,EACTC,YAAYC,EAAMC,GACdC,KAAKF,KAAOA,EACZE,KAAKD,OAAS,CAAEE,QAAQ,EAAMC,WAAW,EAAMC,SAAU,KAAM,KAASJ,GACxEC,KAAKF,KAAKM,cAAcJ,MAE5BK,qBACI,OAAOL,KAAKF,KAAKQ,cAAgBC,EAAgBP,KAAKF,MAE1DD,gBACIG,KAAKQ,2BACLR,KAAKF,KAAKW,iBAAiB,SAAUC,GAAMV,KAAKW,SAASD,KACzDV,KAAKY,SAAWC,EAAyBb,KAAKF,KAAM,UAAU,IAAME,KAAKQ,6BAE7EX,mBACIG,KAAKc,oBAAoBC,QACzBf,KAAKgB,kBACLhB,KAAKY,SAASK,aAElBpB,MAAMqB,GACElB,KAAKD,QAAUC,KAAKD,OAAOI,UAAYH,KAAKD,OAAOI,aAE/CH,KAAKF,KAAKqB,YACVnB,KAAKF,KAAKqB,YAAYC,KAAKF,GAG3BlB,KAAKF,KAAKuB,cAAc,IAAIC,YAAY,cAAe,CAAEJ,OAAAA,MAIrErB,eACQG,KAAKK,gBACLkB,EAAwBC,WAAW,CAAElB,YAAaN,KAAKF,KAAKQ,cAGpET,kBACQG,KAAKK,gBACLkB,EAAwBE,kBAAkB,CAAEnB,YAAaN,KAAKF,KAAKQ,cAG3ET,2BACQG,KAAKF,KAAK4B,QAAU1B,KAAKD,OAAOG,WAChCF,KAAKgB,kBACLhB,KAAKc,oBAAoBC,UAGzBf,KAAK2B,eACL3B,KAAK4B,yBAGb/B,wBACIG,KAAKc,mBAAqBd,KAAKF,KAAK+B,cAAcC,cAEtDjC,SAASa,GACDV,KAAKD,OAAOE,QAAqB,WAAXS,EAAEqB,OACxBrB,EAAEsB,iBACFtB,EAAEuB,kBACFjC,KAAKkC,MAAM"}
@@ -1,2 +1,2 @@
1
- import{PRIVATE_ANIMATION_STATUS_ATTR_NAME as t,AnimationStatus as i}from"../motion/interfaces.js";import{runPropertyAnimations as o}from"../motion/utils.js";function e(e){return function(n){return class extends n{constructor(){super(...arguments),this._animationReady=!1,this._animationDemoMode=!1,this._animations=e}updated(e){if(super.updated(e),!this._animationReady&&!this.hasAttribute(t))return this.setAttribute(t,i.ready),void(this._animationReady=!0);!0===this._animationDemoMode||this.hasAttribute("_demo-mode")?this._animationDemoMode=!0:o(e,this)}}}}export{e as animate};
1
+ import{PRIVATE_ANIMATION_STATUS_ATTR_NAME as t,AnimationStatus as i}from"../motion/interfaces.js";import{runPropertyAnimations as o}from"../motion/utils.js";function e(e){return function(n){return class extends n{constructor(){super(...arguments);this._animationReady=!1,this._animationDemoMode=!1,this._animations=e}updated(e){if(super.updated(e),!this._animationReady&&!this.hasAttribute(t))return this.setAttribute(t,i.ready),void(this._animationReady=!0);!0===this._animationDemoMode||this.hasAttribute("_demo-mode")?this._animationDemoMode=!0:o(e,this)}}}}export{e as animate};
2
2
  //# sourceMappingURL=animate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"animate.js","sources":["../../../../src/internal/decorators/animate.ts"],"sourcesContent":null,"names":["animate","config","constructor","[object Object]","super","arguments","this","_animationReady","_animationDemoMode","_animations","props","updated","hasAttribute","PRIVATE_ANIMATION_STATUS_ATTR_NAME","setAttribute","AnimationStatus","ready","runPropertyAnimations"],"mappings":"6JAQO,SAASA,EAAQC,GAEpB,OAAO,SAA6BC,GAChC,OAAO,cAAcA,EACjBC,cACIC,SAASC,WACTC,KAAKC,iBAAkB,EACvBD,KAAKE,oBAAqB,EAC1BF,KAAKG,YAAcR,EAEvBE,QAAQO,GAEJ,GADAN,MAAMO,QAAQD,IACTJ,KAAKC,kBAAoBD,KAAKM,aAAaC,GAI5C,OAFAP,KAAKQ,aAAaD,EAAoCE,EAAgBC,YACtEV,KAAKC,iBAAkB,IAGK,IAA5BD,KAAKE,oBAA+BF,KAAKM,aAAa,cAItDN,KAAKE,oBAAqB,EAG9BS,EAAsBP,EAAOJ"}
1
+ {"version":3,"file":"animate.js","sources":["../../../../src/internal/decorators/animate.ts"],"sourcesContent":null,"names":["animate","config","constructor","[object Object]","super","this","_animationReady","_animationDemoMode","_animations","props","updated","hasAttribute","PRIVATE_ANIMATION_STATUS_ATTR_NAME","setAttribute","AnimationStatus","ready","runPropertyAnimations"],"mappings":"6JAQO,SAASA,EAAQC,GAEpB,OAAO,SAA6BC,GAChC,OAAO,cAAcA,EACjBC,cACIC,oBACAC,KAAKC,iBAAkB,EACvBD,KAAKE,oBAAqB,EAC1BF,KAAKG,YAAcP,EAEvBE,QAAQM,GAEJ,GADAL,MAAMM,QAAQD,IACTJ,KAAKC,kBAAoBD,KAAKM,aAAaC,GAI5C,OAFAP,KAAKQ,aAAaD,EAAoCE,EAAgBC,YACtEV,KAAKC,iBAAkB,IAGK,IAA5BD,KAAKE,oBAA+BF,KAAKM,aAAa,cAItDN,KAAKE,oBAAqB,EAG9BS,EAAsBP,EAAOJ"}
@@ -1,2 +1,2 @@
1
- import{property as e}from"lit/decorators/property.js";import{GlobalStateService as t}from"../services/global.service.js";import{I18nService as n}from"../services/i18n.service.js";function i(){return(i,s)=>{const r=i.connectedCallback,c=i.disconnectedCallback;i.connectedCallback=function(){i.__i18nSub=t.stateUpdates.subscribe((e=>{"i18nRegistry"===e.key&&this.requestUpdate(s)})),r&&r.apply(this)},i.disconnectedCallback=function(){i.__i18nSub.unsubscribe(),c&&c.apply(this)};const o={get(){return{...n.keys[this.__i18nKey],...this.__i18n}},set(e){this.__i18nKey=Object.keys(n.keys).find((t=>n.keys[t]===e)),this.__i18nKey||(this.__i18n=e)},enumerable:!0,configurable:!0};return void 0!==s?function(t,n,i){const s=Object.defineProperty(n,i,t);return e({type:Object,attribute:"cds-i18n"})(s,i)}(o,i,s):function(t,n){const i={kind:"method",placement:"prototype",key:n.key,descriptor:t};return e({type:Object})(i)}(o,i)}}export{i as i18n};
1
+ import{property as e}from"lit/decorators/property.js";import{GlobalStateService as t}from"../services/global.service.js";import{I18nService as i}from"../services/i18n.service.js";function n(){return(n,s)=>{const r=n.connectedCallback,c=n.disconnectedCallback;n.connectedCallback=function(){n.__i18nSub=t.stateUpdates.subscribe((e=>{"i18nRegistry"===e.key&&this.requestUpdate(s)})),r&&r.apply(this)},n.disconnectedCallback=function(){n.__i18nSub.unsubscribe(),c&&c.apply(this)};const o={get(){return{...i.keys[this.__i18nKey],...this.__i18n}},set(e){this.__i18nKey=Object.keys(i.keys).find((t=>i.keys[t]===e)),this.__i18nKey||(this.__i18n=e),this.requestUpdate(s)},enumerable:!0,configurable:!0};return void 0!==s?function(t,i,n){const s=Object.defineProperty(i,n,t);return e({type:Object,attribute:"cds-i18n"})(s,n)}(o,n,s):function(t,i){const n={kind:"method",placement:"prototype",key:i.key,descriptor:t};return e({type:Object})(n)}(o,n)}}export{n as i18n};
2
2
  //# sourceMappingURL=i18n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.js","sources":["../../../../src/internal/decorators/i18n.ts"],"sourcesContent":null,"names":["i18n","protoOrDescriptor","name","targetConnectedCallback","connectedCallback","targetDisconnectedCallback","disconnectedCallback","__i18nSub","GlobalStateService","stateUpdates","subscribe","update","key","this","requestUpdate","apply","unsubscribe","descriptor","[object Object]","I18nService","keys","__i18nKey","__i18n","value","Object","find","enumerable","configurable","undefined","desc","defineProperty","property","type","attribute","legacyI18n","element","kind","placement","standardI18n"],"mappings":"mLAuCO,SAASA,IACZ,MAAO,CAACC,EAAmBC,KACvB,MAAMC,EAA0BF,EAAkBG,kBAC5CC,EAA6BJ,EAAkBK,qBAiBrDL,EAAkBG,kBAhBlB,WACIH,EAAkBM,UAAYC,EAAmBC,aAAaC,WAAUC,IACjD,iBAAfA,EAAOC,KACPC,KAAKC,cAAcZ,MAGvBC,GACAA,EAAwBY,MAAMF,OAUtCZ,EAAkBK,qBAPlB,WACIL,EAAkBM,UAAUS,cACxBX,GACAA,EAA2BU,MAAMF,OAKzC,MAAMI,EAAa,CACfC,MACI,MAAO,IAAKC,EAAYC,KAAKP,KAAKQ,cAAeR,KAAKS,SAE1DJ,IAAIK,GACAV,KAAKQ,UAAYG,OAAOJ,KAAKD,EAAYC,MAAMK,MAAKb,GAAOO,EAAYC,KAAKR,KAASW,IAChFV,KAAKQ,YACNR,KAAKS,OAASC,IAGtBG,YAAY,EACZC,cAAc,GAElB,YAAgBC,IAAT1B,EAjEf,SAAoBe,EAAYhB,EAAmBC,GAC/C,MAAM2B,EAAOL,OAAOM,eAAe7B,EAAmBC,EAAMe,GAC5D,OAAOc,EAAS,CAAEC,KAAMR,OAAQS,UAAW,YAApCF,CAAkDF,EAAM3B,GAgErDgC,CAAWjB,EAAYhB,EAAmBC,GA7DxD,SAAsBe,EAAYkB,GAC9B,MAAMN,EAAO,CACTO,KAAM,SACNC,UAAW,YACXzB,IAAKuB,EAAQvB,IACbK,WAAAA,GAEJ,OAAOc,EAAS,CAAEC,KAAMR,QAAjBO,CAA2BF,GAuDxBS,CAAarB,EAAYhB"}
1
+ {"version":3,"file":"i18n.js","sources":["../../../../src/internal/decorators/i18n.ts"],"sourcesContent":null,"names":["i18n","protoOrDescriptor","name","targetConnectedCallback","connectedCallback","targetDisconnectedCallback","disconnectedCallback","__i18nSub","GlobalStateService","stateUpdates","subscribe","update","key","this","requestUpdate","apply","unsubscribe","descriptor","[object Object]","I18nService","keys","__i18nKey","__i18n","value","Object","find","enumerable","configurable","undefined","desc","defineProperty","property","type","attribute","legacyI18n","element","kind","placement","standardI18n"],"mappings":"mLAuCO,SAASA,IACZ,MAAO,CAACC,EAAmBC,KACvB,MAAMC,EAA0BF,EAAkBG,kBAC5CC,EAA6BJ,EAAkBK,qBAiBrDL,EAAkBG,kBAhBlB,WACIH,EAAkBM,UAAYC,EAAmBC,aAAaC,WAAUC,IACjD,iBAAfA,EAAOC,KACPC,KAAKC,cAAcZ,MAGvBC,GACAA,EAAwBY,MAAMF,OAUtCZ,EAAkBK,qBAPlB,WACIL,EAAkBM,UAAUS,cACxBX,GACAA,EAA2BU,MAAMF,OAKzC,MAAMI,EAAa,CACfC,MACI,MAAO,IAAKC,EAAYC,KAAKP,KAAKQ,cAAeR,KAAKS,SAE1DJ,IAAIK,GACAV,KAAKQ,UAAYG,OAAOJ,KAAKD,EAAYC,MAAMK,MAAKb,GAAOO,EAAYC,KAAKR,KAASW,IAChFV,KAAKQ,YACNR,KAAKS,OAASC,GAElBV,KAAKC,cAAcZ,IAEvBwB,YAAY,EACZC,cAAc,GAElB,YAAgBC,IAAT1B,EAlEf,SAAoBe,EAAYhB,EAAmBC,GAC/C,MAAM2B,EAAOL,OAAOM,eAAe7B,EAAmBC,EAAMe,GAC5D,OAAOc,EAAS,CAAEC,KAAMR,OAAQS,UAAW,YAApCF,CAAkDF,EAAM3B,GAiErDgC,CAAWjB,EAAYhB,EAAmBC,GA9DxD,SAAsBe,EAAYkB,GAC9B,MAAMN,EAAO,CACTO,KAAM,SACNC,UAAW,YACXzB,IAAKuB,EAAQvB,IACbK,WAAAA,GAEJ,OAAOc,EAAS,CAAEC,KAAMR,QAAjBO,CAA2BF,GAwDxBS,CAAarB,EAAYhB"}
@@ -1,2 +1,2 @@
1
- import{property as t}from"lit/decorators/property.js";import{camelCaseToKebabCase as r,capitalizeFirstLetter as e,kebabCaseToPascalCase as n}from"../utils/string.js";import{LogService as i}from"../services/log.service.js";import{getAngularVersion as o,getVueVersion as u,getReactVersion as c}from"../utils/framework.js";import{isNilOrEmpty as s}from"../utils/identity.js";function a(t,e){switch(e?e.type:e){case Array:case Object:return{reflect:!1,...e};case String:return{reflect:!0,attribute:r(t),converter:{toAttribute:t=>t||null},...e};case Number:return{reflect:!0,attribute:r(t),...e};case Boolean:return{reflect:!0,attribute:r(t),converter:{toAttribute:t=>t?"":null,fromAttribute:t=>"false"!==t&&null!==t},...e};case Date:return{reflect:!1,converter:{fromAttribute:t=>new Date(t)},...e};default:return{...e}}}function l(t,a,l){const f=t.firstUpdated;t.firstUpdated=function(t){if(l&&l.required&&s(this[a])){const t=l.requiredMessage||function(t="warning",i,s){const a=s.toLocaleLowerCase();return`${e(t)}: ${i} is required to use ${a} component. Set the JS Property or HTML Attribute.\n\n`+(o()?`Angular: <${a} [${i}]="..."></${a}>\n`:"")+(u()?`Vue: <${a} :${i}="..."></${a}>\n`:"")+(c()?`React: <${n(a)} ${function(t){return t.startsWith("aria")?r(t):t}(i)}={...} />\n`:"")+`HTML: <${a} ${r(i)}="..."></${a}>\n`+`JavaScript: document.querySelector('${a}').${i} = '...';\n\n`}(l.required,a,this.tagName);if("error"===l.required)throw Error(t);i.warn(t,this)}f&&f.call(this,t)}}function f(r){return(e,n)=>(l(e,n,r),t(a(n,r))(e,n))}function m(e){return(n,i)=>{const o=a(i,e);return o&&(o.reflect=!!(null==e?void 0:e.reflect)&&e.reflect,o.reflect&&!(null==e?void 0:e.attribute)&&(o.attribute="_"+r(i))),t(o)(n,i)}}export{a as getDefaultOptions,f as property,l as requirePropertyCheck,m as state};
1
+ import{property as t}from"lit/decorators/property.js";import{camelCaseToKebabCase as r,capitalizeFirstLetter as e,kebabCaseToPascalCase as n}from"../utils/string.js";import{LogService as i}from"../services/log.service.js";import{getAngularVersion as o,getVueVersion as u,getReactVersion as c}from"../utils/framework.js";import{isNilOrEmpty as s}from"../utils/identity.js";function a(t,e){switch(e?e.type:e){case Array:case Object:return{reflect:!1,...e};case String:return{reflect:!0,attribute:r(t),converter:{toAttribute:t=>t||null},...e};case Number:return{reflect:!0,attribute:r(t),...e};case Boolean:return{reflect:!0,attribute:r(t),converter:{toAttribute:t=>t?"":null,fromAttribute:t=>"false"!==t&&null!==t},...e};case Date:return{reflect:!1,converter:{fromAttribute:t=>new Date(t)},...e};default:return{...e}}}function f(t,a,f){const l=t.firstUpdated;t.firstUpdated=function(t){if(f&&f.required&&s(this[a])){const t=f.requiredMessage||function(t="warning",i,s){const a=s.toLocaleLowerCase();return`${e(t)}: ${i} is required to use ${a} component. Set the JS Property or HTML Attribute.\n\n`+(o()?`Angular: <${a} [${i}]="..."></${a}>\n`:"")+(u()?`Vue: <${a} :${i}="..."></${a}>\n`:"")+(c()?`React: <${n(a)} ${function(t){return t.startsWith("aria")?r(t):t}(i)}={...} />\n`:"")+`HTML: <${a} ${r(i)}="..."></${a}>\n`+`JavaScript: document.querySelector('${a}').${i} = '...';\n\n`}(f.required,a,this.tagName);if("error"===f.required)throw Error(t);i.warn(t,this)}l&&l.call(this,t)}}function l(r){return(e,n)=>(f(e,n,r),t(a(n,r))(e,n))}function m(e){return(n,i)=>{const o=a(i,e);return o&&(o.reflect=!!e?.reflect&&e.reflect,o.reflect&&!e?.attribute&&(o.attribute="_"+r(i))),t(o)(n,i)}}export{a as getDefaultOptions,l as property,f as requirePropertyCheck,m as state};
2
2
  //# sourceMappingURL=property.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"property.js","sources":["../../../../src/internal/decorators/property.ts"],"sourcesContent":null,"names":["getDefaultOptions","propertyKey","options","type","Array","Object","reflect","String","attribute","camelCaseToKebabCase","converter","toAttribute","value","Number","Boolean","fromAttribute","Date","requirePropertyCheck","protoOrDescriptor","name","targetFirstUpdated","firstUpdated","props","required","isNilOrEmpty","this","message","requiredMessage","level","propertyName","tagName","tag","toLocaleLowerCase","capitalizeFirstLetter","getAngularVersion","getVueVersion","getReactVersion","kebabCaseToPascalCase","startsWith","getReactPropertyName","getRequiredMessage","Error","LogService","warn","apply","property","_property","state","defaultOptions"],"mappings":"oXAaO,SAASA,EAAkBC,EAAaC,GAE3C,OADaA,EAAUA,EAAQC,KAAOD,GAElC,KAAKE,MAEL,KAAKC,OACD,MAAO,CAAEC,SAAS,KAAUJ,GAChC,KAAKK,OACD,MAAO,CACHD,SAAS,EACTE,UAAWC,EAAqBR,GAChCS,UAAW,CACPC,YAAcC,GAAWA,GAAgB,SAE1CV,GAEX,KAAKW,OACD,MAAO,CAAEP,SAAS,EAAME,UAAWC,EAAqBR,MAAiBC,GAC7E,KAAKY,QACD,MAAO,CACHR,SAAS,EACTE,UAAWC,EAAqBR,GAChCS,UAAW,CAGPC,YAAcC,GAAWA,EAAQ,GAAK,KACtCG,cAAgBH,GAAoB,UAAVA,GAA+B,OAAVA,MAEhDV,GAEX,KAAKc,KACD,MAAO,CAEHV,SAAS,EACTI,UAAW,CACPK,cAAgBH,GAAU,IAAII,KAAKJ,OAEpCV,GAGX,QACI,MAAO,IAAKA,IAGjB,SAASe,EAAqBC,EAAmBC,EAAMjB,GAC1D,MAAMkB,EAAqBF,EAAkBG,aAe7CH,EAAkBG,aAdlB,SAAsBC,GAClB,GAAIpB,GAAWA,EAAQqB,UAAYC,EAAaC,KAAKN,IAAQ,CACzD,MAAMO,EAAUxB,EAAQyB,iBA0BpC,SAA4BC,EAAQ,UAAWC,EAAcC,GACzD,MAAMC,EAAMD,EAAQE,oBACpB,MAAQ,GAAGC,EAAsBL,OAAWC,wBAAmCE,2DACxEG,IAAsB,aAAaH,MAAQF,cAAyBE,OAAW,KAC/EI,IAAkB,SAASJ,MAAQF,aAAwBE,OAAW,KACtEK,IAAoB,WAAWC,EAAsBN,MAXhE,SAA8BF,GAC1B,OAAIA,EAAaS,WAAW,QACjB7B,EAAqBoB,GAEzBA,EAO6DU,CAAqBV,gBAA6B,IAClH,UAAaE,KAAOtB,EAAqBoB,cAAyBE,OAClE,uCAA0CA,OAASF,iBAjCJW,CAAmBtC,EAAQqB,SAAUJ,EAAMM,KAAKK,SAC3F,GAAyB,UAArB5B,EAAQqB,SACR,MAAUkB,MAAMf,GAGhBgB,EAAWC,KAAKjB,EAASD,MAG7BL,GACAA,EAAmBwB,KAAMnB,KAAOH,IAoCrC,SAASuB,EAAS3C,GACrB,MAAO,CAACgB,EAAmBC,KACvBF,EAAqBC,EAAmBC,EAAMjB,GACvC4C,EAAU9C,EAAkBmB,EAAMjB,GAAlC4C,CAA4C5B,EAAmBC,IAevE,SAAS4B,EAAM7C,GAClB,MAAO,CAACgB,EAAmBC,KACvB,MAAM6B,EAAiBhD,EAAkBmB,EAAMjB,GAS/C,OARI8C,IACAA,EAAe1C,WAAWJ,MAAAA,OAAyC,EAASA,EAAQI,UAAWJ,EAAQI,QACnG0C,EAAe1C,WAAaJ,MAAAA,OAAyC,EAASA,EAAQM,aAGtFwC,EAAexC,UAAY,IAAIC,EAAqBU,KAGrD2B,EAAUE,EAAVF,CAA0B5B,EAAmBC"}
1
+ {"version":3,"file":"property.js","sources":["../../../../src/internal/decorators/property.ts"],"sourcesContent":null,"names":["getDefaultOptions","propertyKey","options","type","Array","Object","reflect","String","attribute","camelCaseToKebabCase","converter","toAttribute","value","Number","Boolean","fromAttribute","Date","requirePropertyCheck","protoOrDescriptor","name","targetFirstUpdated","firstUpdated","props","required","isNilOrEmpty","this","message","requiredMessage","level","propertyName","tagName","tag","toLocaleLowerCase","capitalizeFirstLetter","getAngularVersion","getVueVersion","getReactVersion","kebabCaseToPascalCase","startsWith","getReactPropertyName","getRequiredMessage","Error","LogService","warn","apply","property","_property","state","defaultOptions"],"mappings":"oXAaO,SAASA,EAAkBC,EAAaC,GAE3C,OADaA,EAAUA,EAAQC,KAAOD,GAElC,KAAKE,MAEL,KAAKC,OACD,MAAO,CAAEC,SAAS,KAAUJ,GAChC,KAAKK,OACD,MAAO,CACHD,SAAS,EACTE,UAAWC,EAAqBR,GAChCS,UAAW,CACPC,YAAcC,GAAWA,GAAgB,SAE1CV,GAEX,KAAKW,OACD,MAAO,CAAEP,SAAS,EAAME,UAAWC,EAAqBR,MAAiBC,GAC7E,KAAKY,QACD,MAAO,CACHR,SAAS,EACTE,UAAWC,EAAqBR,GAChCS,UAAW,CAGPC,YAAcC,GAAWA,EAAQ,GAAK,KACtCG,cAAgBH,GAAoB,UAAVA,GAA+B,OAAVA,MAEhDV,GAEX,KAAKc,KACD,MAAO,CAEHV,SAAS,EACTI,UAAW,CACPK,cAAgBH,GAAU,IAAII,KAAKJ,OAEpCV,GAGX,QACI,MAAO,IAAKA,IAGjB,SAASe,EAAqBC,EAAmBC,EAAMjB,GAC1D,MAAMkB,EAAqBF,EAAkBG,aAe7CH,EAAkBG,aAdlB,SAAsBC,GAClB,GAAIpB,GAAWA,EAAQqB,UAAYC,EAAaC,KAAKN,IAAQ,CACzD,MAAMO,EAAUxB,EAAQyB,iBA0BpC,SAA4BC,EAAQ,UAAWC,EAAcC,GACzD,MAAMC,EAAMD,EAAQE,oBACpB,MAAQ,GAAGC,EAAsBL,OAAWC,wBAAmCE,2DACxEG,IAAsB,aAAaH,MAAQF,cAAyBE,OAAW,KAC/EI,IAAkB,SAASJ,MAAQF,aAAwBE,OAAW,KACtEK,IAAoB,WAAWC,EAAsBN,MAXhE,SAA8BF,GAC1B,OAAIA,EAAaS,WAAW,QACjB7B,EAAqBoB,GAEzBA,EAO6DU,CAAqBV,gBAA6B,IAClH,UAAaE,KAAOtB,EAAqBoB,cAAyBE,OAClE,uCAA0CA,OAASF,iBAjCJW,CAAmBtC,EAAQqB,SAAUJ,EAAMM,KAAKK,SAC3F,GAAyB,UAArB5B,EAAQqB,SACR,MAAUkB,MAAMf,GAGhBgB,EAAWC,KAAKjB,EAASD,MAG7BL,GACAA,EAAmBwB,KAAMnB,KAAOH,IAoCrC,SAASuB,EAAS3C,GACrB,MAAO,CAACgB,EAAmBC,KACvBF,EAAqBC,EAAmBC,EAAMjB,GACvC4C,EAAU9C,EAAkBmB,EAAMjB,GAAlC4C,CAA4C5B,EAAmBC,IAevE,SAAS4B,EAAM7C,GAClB,MAAO,CAACgB,EAAmBC,KACvB,MAAM6B,EAAiBhD,EAAkBmB,EAAMjB,GAS/C,OARI8C,IACAA,EAAe1C,UAAUJ,GAASI,SAAUJ,EAAQI,QAChD0C,EAAe1C,UAAYJ,GAASM,YAGpCwC,EAAexC,UAAY,IAAIC,EAAqBU,KAGrD2B,EAAUE,EAAVF,CAA0B5B,EAAmBC"}
@@ -1,2 +1,2 @@
1
- import{notProductionEnvironment as e,LogService as t}from"../services/log.service.js";const r=(e,t,r)=>{Object.defineProperty(t,r,e)},i=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function o(o,s){return(n,l)=>{const u=n.firstUpdated;n.firstUpdated=function(){const r=this.querySelector(o),i=(null==s?void 0:s.exemptOn)&&(null==s?void 0:s.exemptOn(this));if(!r&&e()&&(null==s?void 0:s.required)&&!i){const e=s.requiredMessage||`The <${o}> element is required to use <${this.tagName.toLocaleLowerCase()}>`;if("error"===s.required)throw Error(e);t.warn(e,this)}(null==s?void 0:s.assign)&&!1===(null==r?void 0:r.hasAttribute("slot"))&&r.setAttribute("slot",s.assign),u&&u.apply(this)};const a={get(){return this.querySelector(o)},enumerable:!0,configurable:!0};return void 0!==l?r(a,n,l):i(a,n)}}function s(e,t){return(o,s)=>{const n=o.firstUpdated;o.firstUpdated=function(r){(null==t?void 0:t.assign)&&Array.from(this.querySelectorAll(e)).filter((e=>!e.hasAttribute("slot"))).forEach((e=>e.setAttribute("slot",t.assign))),n&&n.call(this,r)};const l={get(){return this.querySelectorAll(e)},enumerable:!0,configurable:!0};return void 0!==s?r(l,o,s):i(l,o)}}export{o as querySlot,s as querySlotAll};
1
+ import{notProductionEnvironment as e,LogService as t}from"../services/log.service.js";const r=(e,t,r)=>{Object.defineProperty(t,r,e)},s=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function i(i,o){return(n,u)=>{const a=n.firstUpdated;n.firstUpdated=function(){const r=this.querySelector(i),s=o?.exemptOn&&o?.exemptOn(this);if(!r&&e()&&o?.required&&!s){const e=o.requiredMessage||`The <${i}> element is required to use <${this.tagName.toLocaleLowerCase()}>`;if("error"===o.required)throw Error(e);t.warn(e,this)}o?.assign&&!1===r?.hasAttribute("slot")&&r.setAttribute("slot",o.assign),a&&a.apply(this)};const c={get(){return this.querySelector(i)},enumerable:!0,configurable:!0};return void 0!==u?r(c,n,u):s(c,n)}}function o(e,t){return(i,o)=>{const n=i.firstUpdated;i.firstUpdated=function(r){t?.assign&&Array.from(this.querySelectorAll(e)).filter((e=>!e.hasAttribute("slot"))).forEach((e=>e.setAttribute("slot",t.assign))),n&&n.call(this,r)};const u={get(){return this.querySelectorAll(e)},enumerable:!0,configurable:!0};return void 0!==o?r(u,i,o):s(u,i)}}export{i as querySlot,o as querySlotAll};
2
2
  //# sourceMappingURL=query-slot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-slot.js","sources":["../../../../src/internal/decorators/query-slot.ts"],"sourcesContent":null,"names":["legacyQuery","descriptor","proto","name","Object","defineProperty","standardQuery","element","kind","placement","key","querySlot","selector","config","protoOrDescriptor","targetFirstUpdated","firstUpdated","ref","this","querySelector","shouldExempt","exemptOn","notProductionEnvironment","required","message","requiredMessage","tagName","toLocaleLowerCase","Error","LogService","warn","assign","hasAttribute","setAttribute","apply","[object Object]","enumerable","configurable","undefined","querySlotAll","props","Array","from","querySelectorAll","filter","i","forEach"],"mappings":"sFAQA,MAAMA,EAAc,CAACC,EAAYC,EAAOC,KACpCC,OAAOC,eAAeH,EAAOC,EAAMF,IAEjCK,EAAgB,CAACL,EAAYM,MAC/BC,KAAM,SACNC,UAAW,YACXC,IAAKH,EAAQG,IACbT,WAAAA,IAQG,SAASU,EAAUC,EAAUC,GAChC,MAAO,CAACC,EAAmBX,KACvB,MAAMY,EAAqBD,EAAkBE,aAqB7CF,EAAkBE,aApBlB,WACI,MAAMC,EAAMC,KAAKC,cAAcP,GACzBQ,GAAgBP,MAAAA,OAAuC,EAASA,EAAOQ,YAAcR,MAAAA,OAAuC,EAASA,EAAOQ,SAASH,OAC3J,IAAKD,GAAOK,MAA+BT,MAAAA,OAAuC,EAASA,EAAOU,YAAcH,EAAc,CAC1H,MAAMI,EAAUX,EAAOY,iBACnB,QAAQb,kCAAyCM,KAAKQ,QAAQC,uBAClE,GAAwB,UAApBd,EAAOU,SACP,MAAUK,MAAMJ,GAGhBK,EAAWC,KAAKN,EAASN,OAG5BL,MAAAA,OAAuC,EAASA,EAAOkB,UAAoF,KAAxEd,MAAAA,OAAiC,EAASA,EAAIe,aAAa,UAC/Hf,EAAIgB,aAAa,OAAQpB,EAAOkB,QAEhChB,GACAA,EAAmBmB,MAAMhB,OAIjC,MAAMjB,EAAa,CACfkC,MACI,OAAOjB,KAAKC,cAAcP,IAE9BwB,YAAY,EACZC,cAAc,GAElB,YAAgBC,IAATnC,EACDH,EAAYC,EAAYa,EAAmBX,GAC3CG,EAAcL,EAAYa,IASjC,SAASyB,EAAa3B,EAAUC,GACnC,MAAO,CAACC,EAAmBX,KACvB,MAAMY,EAAqBD,EAAkBE,aAW7CF,EAAkBE,aAVlB,SAAsBwB,IACd3B,MAAAA,OAAuC,EAASA,EAAOkB,SACvDU,MAAMC,KAAKxB,KAAKyB,iBAAiB/B,IAC5BgC,QAAQC,IAAOA,EAAEb,aAAa,UAC9Bc,SAASD,GAAMA,EAAEZ,aAAa,OAAQpB,EAAOkB,UAElDhB,GACAA,EAAmBmB,KAAMhB,KAAOsB,IAIxC,MAAMvC,EAAa,CACfkC,MACI,OAAOjB,KAAKyB,iBAAiB/B,IAEjCwB,YAAY,EACZC,cAAc,GAElB,YAAgBC,IAATnC,EACDH,EAAYC,EAAYa,EAAmBX,GAC3CG,EAAcL,EAAYa"}
1
+ {"version":3,"file":"query-slot.js","sources":["../../../../src/internal/decorators/query-slot.ts"],"sourcesContent":null,"names":["legacyQuery","descriptor","proto","name","Object","defineProperty","standardQuery","element","kind","placement","key","querySlot","selector","config","protoOrDescriptor","targetFirstUpdated","firstUpdated","ref","this","querySelector","shouldExempt","exemptOn","notProductionEnvironment","required","message","requiredMessage","tagName","toLocaleLowerCase","Error","LogService","warn","assign","hasAttribute","setAttribute","apply","[object Object]","enumerable","configurable","undefined","querySlotAll","props","Array","from","querySelectorAll","filter","i","forEach"],"mappings":"sFAQA,MAAMA,EAAc,CAACC,EAAYC,EAAOC,KACpCC,OAAOC,eAAeH,EAAOC,EAAMF,IAEjCK,EAAgB,CAACL,EAAYM,MAC/BC,KAAM,SACNC,UAAW,YACXC,IAAKH,EAAQG,IACbT,WAAAA,IAQG,SAASU,EAAUC,EAAUC,GAChC,MAAO,CAACC,EAAmBX,KACvB,MAAMY,EAAqBD,EAAkBE,aAqB7CF,EAAkBE,aApBlB,WACI,MAAMC,EAAMC,KAAKC,cAAcP,GACzBQ,EAAeP,GAAQQ,UAAYR,GAAQQ,SAASH,MAC1D,IAAKD,GAAOK,KAA8BT,GAAQU,WAAaH,EAAc,CACzE,MAAMI,EAAUX,EAAOY,iBACnB,QAAQb,kCAAyCM,KAAKQ,QAAQC,uBAClE,GAAwB,UAApBd,EAAOU,SACP,MAAUK,MAAMJ,GAGhBK,EAAWC,KAAKN,EAASN,MAG7BL,GAAQkB,SAAwC,IAA9Bd,GAAKe,aAAa,SACpCf,EAAIgB,aAAa,OAAQpB,EAAOkB,QAEhChB,GACAA,EAAmBmB,MAAMhB,OAIjC,MAAMjB,EAAa,CACfkC,MACI,OAAOjB,KAAKC,cAAcP,IAE9BwB,YAAY,EACZC,cAAc,GAElB,YAAgBC,IAATnC,EACDH,EAAYC,EAAYa,EAAmBX,GAC3CG,EAAcL,EAAYa,IASjC,SAASyB,EAAa3B,EAAUC,GACnC,MAAO,CAACC,EAAmBX,KACvB,MAAMY,EAAqBD,EAAkBE,aAW7CF,EAAkBE,aAVlB,SAAsBwB,GACd3B,GAAQkB,QACRU,MAAMC,KAAKxB,KAAKyB,iBAAiB/B,IAC5BgC,QAAQC,IAAOA,EAAEb,aAAa,UAC9Bc,SAASD,GAAMA,EAAEZ,aAAa,OAAQpB,EAAOkB,UAElDhB,GACAA,EAAmBmB,KAAMhB,KAAOsB,IAIxC,MAAMvC,EAAa,CACfkC,MACI,OAAOjB,KAAKyB,iBAAiB/B,IAEjCwB,YAAY,EACZC,cAAc,GAElB,YAAgBC,IAATnC,EACDH,EAAYC,EAAYa,EAAmBX,GAC3CG,EAAcL,EAAYa"}
@@ -39,7 +39,6 @@ export * from './services/keycodes.service.js';
39
39
  export * from './utils/conditional.js';
40
40
  export * from './utils/enum.js';
41
41
  export * from './utils/exists.js';
42
- export * from './utils/focus-trap.js';
43
42
  export * from './utils/framework.js';
44
43
  export * from './i18n/utils.js';
45
44
  export * from './positioning/utils.js';
package/internal/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import"@cds/core/polyfills";import e from"./base/base.element.scss.js";export{CdsBaseButton}from"./base/button.base.js";export{CdsBaseFocusTrap}from"./base/focus-trap.base.js";export{hslToRgb,rgbToHex}from"./utils/color.js";export{ActiveController,active}from"./controllers/active.controller.js";export{AriaButtonController,ariaButton}from"./controllers/aria-button.controller.js";export{AriaDisabledController,ariaDisabled}from"./controllers/aria-disabled.controller.js";export{AriaPopupController}from"./controllers/aria-popup.controller.js";export{AriaPopupTriggerController,ariaPopupTrigger}from"./controllers/aria-popup-trigger.controller.js";export{AriaPressedController,ariaPressed}from"./controllers/aria-pressed.controller.js";export{AriaSelectedController,ariaSelected}from"./controllers/aria-selected.controller.js";export{ButtonAnchorController,buttonAnchor}from"./controllers/button-anchor.controller.js";export{ButtonSubmitController,buttonSubmit}from"./controllers/button-submit.controller.js";export{ClosableController}from"./controllers/closable.controller.js";export{FirstFocusController}from"./controllers/first-focus.controller.js";export{InlineFocusTrapController}from"./controllers/inline-focus-trap.controller.js";export{addClassnames,getCssPropertyValue,hasClassnames,isCssPropertyName,pxToRem,removeClassnames,removeClassnamesUnless,setCssPropertyValue,unsetElementStyles,updateElementStyles}from"./utils/css.js";export{addAttributeValue,assignSlotNames,createFragment,focusableSelectors,getElementWidth,getElementWidthUnless,getShadowRootOrElse,getWindowDimensions,hasAttributeAndIsNotEmpty,isFocusable,isHTMLElement,isScrollable,isVisible,makeFocusable,queryAllFocusable,queryChildFromLightOrShadowDom,removeAttributeValue,removeAttributes,setAttributes,setOrRemoveAttribute,spanWrapper,tabFlowSelectors,windowIsAboveMobileBreakpoint}from"./utils/dom.js";export{registerElementSafely}from"./utils/registration.js";export{animate}from"./decorators/animate.js";export{querySlot,querySlotAll}from"./decorators/query-slot.js";export{getDefaultOptions,property,requirePropertyCheck,state}from"./decorators/property.js";export{customElement}from"./decorators/element.js";export{EventEmitter,event}from"./decorators/event.js";export{SpreadProps,spreadProps}from"./directives/spread-props.js";export{id}from"./decorators/id.js";export{i18n}from"./decorators/i18n.js";export{globalStyle}from"./decorators/global-style.js";export{CDS_FOCUS_TRAP_DOCUMENT_ATTR,FocusTrapTrackerService}from"./services/focus-trap-tracker.service.js";export{GlobalStateService}from"./services/global.service.js";export{I18nService,componentStringsDefault}from"./services/i18n.service.js";export{LogService,notProductionEnvironment}from"./services/log.service.js";export{sleep}from"./utils/async.js";export{describeElementByElements,hasAriaLabelTypeAttr}from"./utils/a11y.js";export{arrayHead,arrayRemoveAllInstances,arrayRemoveFirstInstance,arrayRemoveLastInstance,arrayTail,arrayToObject,nextInArray,previousInArray}from"./utils/array.js";export{KeyCodeService,getKeycodeFromRegistry}from"./services/keycodes.service.js";export{anyPassOrAnyFail,returnOrFallthrough}from"./utils/conditional.js";export{getEnumValueFromStringKey}from"./utils/enum.js";export{elementExists,existsIn,existsInWindow,isBrowser}from"./utils/exists.js";export{FocusTrap,addReboundElementsToFocusTrapElement,castHtmlElementToFocusTrapElement,createFocusTrapReboundElement,elementIsOutsideFocusTrapElement,refocusIfOutsideFocusTrapElement,removeReboundElementsFromFocusTrapElement,reorderCloseButtonSlot,whichReboundElement}from"./utils/focus-trap.js";export{getAngularJSVersion,getAngularVersion,getReactVersion,getVueVersion,isStorybook}from"./utils/framework.js";export{getElementLanguageDirection}from"./i18n/utils.js";export{checkNextPosition,getBestPositionForPreferences,getCrossAxisOrderOfPreference,getCrossAxisPosition,getMainAxisPosition,getMainAxisPositionOrViolation,getNextDefaultPosition,getNextPosition,getOrientationTuple,getPointerAlignment,getPointerPosition,getPopupOffsetOrDefaultOffsets,getPopupPosition,getPositionConfig,getPositionOrViolationFromCrossAxis,getPositions,setPopupPosition,testCrossAxisPosition,testMainAxisPosition}from"./positioning/utils.js";export{Positions}from"./positioning/interfaces.js";export{allAre,allAreDefined,allPropertiesPass,anyOrAllPropertiesPass,anyPropertiesPass,convertAttributeStringValuesToValue,convertStringPropValuePairsToTuple,createId,deepClone,doesPropertyPass,getEnumValues,hasPropertyChanged,hasStringPropertyChanged,hasStringPropertyChangedAndNotNil,isMap,isNil,isNilOrEmpty,isNumericString,isObject,isObjectAndNotNilOrEmpty,isString,isStringAndNotNilOrEmpty,isStringOrNil}from"./utils/identity.js";export{getModifierKeysFromKeyCombo,keyWasEvented,onAnyKey,onKey,onKeyCombo,removeModifierKeysFromKeyCombo}from"./utils/keycodes.js";export{childrenUpdateComplete,propUpdated,renderAfter,renderBefore,syncDefinedProps,syncProps,syncPropsForAllItems}from"./utils/lit.js";export{compareSumTo,getMillisecondsFromSeconds,sumAndSubtract}from"./utils/math.js";export{getElementStorybookArgTypes,getElementStorybookArgs}from"./utils/metadata.js";export{elementResize,elementVisible,updateComponentLayout}from"./utils/responsive.js";export{isTshirtSize,updateEquilateralSizeStyles}from"./utils/size.js";export{camelCaseToKebabCase,capitalizeFirstLetter,convertStringPropertyToObjectConfig,cssGroup,getNumericValueFromCssSecondsStyleValue,isPrefixedBy,isPrefixedOrSuffixedBy,isSuffixedBy,kebabCaseToCamelCase,kebabCaseToPascalCase,pluckPixelValue,pluckValueFromStringUnit,propertiesGroup,removePrefix,removePrefixOrSuffix,removeSuffix,replaceWord,setPropStyles,setStyles,transformSpacedStringToArray,transformToSpacedString,transformToString,transformToUnspacedString,trimExtraWhitespace}from"./utils/string.js";export{browserFeatures}from"./utils/supports.js";export{getElementUpdates,listenForAttributeChange,listenForAttributeListChange,onChildListMutation,onFirstInteraction,stopEvent}from"./utils/events.js";export{EventSubject}from"./utils/event-subject.js";export{getChildren,getFlattenedDOMTree,getFlattenedFocusableItems,getFocusableItems}from"./utils/traversal.js";import"./interfaces/interfaces.js";export{AnimationStatus,CLARITY_MOTION_ENTER_LEAVE_PROPERTY,CLARITY_MOTION_FALLBACK_DURATION_IN_MS,CLARITY_MOTION_FALLBACK_EASING,CLARITY_MOTION_REVERSE_ANIMATION_LABEL,CLARITY_MOTION_REVERSE_ANIMATION_SUFFIX,PRIVATE_ANIMATION_STATUS_ATTR_NAME}from"./motion/interfaces.js";export{ClarityMotion}from"./motion/motion.service.js";export{animationIsReversed,extractAnimationNameIfReversed,filterAnimationsByUpdatedProperties,flattenAndSortAnimations,getAnimationConfigForPropertyValue,getAnimationFromOverrideOrDecorator,getAnimationKeyframesOrPropertyIndexedFrames,getAnimationPromiseInstructions,getAnimationTarget,getHidingAndNonHidingPropertyAnimations,getInlineOverride,getPropertyAnimations,resolveAnimationEndStatus,reverseAnimation,reverseAnimationConfig,runPropertyAnimations,setAnimationConfigOptions,setAnimationDuration,setAnimationEasing,setAnimationProperty,setAnimationStartStatus,sizeDimensionKeyframes,zeroOutAnimationConfig}from"./motion/utils.js";export{AnimationModalEnterConfig,AnimationModalEnterName}from"./motion/animations/cds-modal-enter.js";export{AnimationAccordionPanelOpenConfig,AnimationAccordionPanelOpenName}from"./motion/animations/cds-accordion-panel-open.js";export{AnimationHingeConfig,AnimationHingeName}from"./motion/animations/cds-overlay-hinge-example.js";export{AnimationShakeConfig,AnimationShakeName}from"./motion/animations/cds-component-shake.js";export{AnimationNavigationGroupOpenConfig,AnimationNavigationGroupOpenName}from"./motion/animations/cds-navigation-group-open.js";export{AnimationNavigationOpenConfig,AnimationNavigationOpenName}from"./motion/animations/cds-navigation-open.js";export{AnimationTreeItemExpandConfig,AnimationTreeItemExpandName}from"./motion/animations/cds-tree-item-expand.js";export{AnimationResponsivePopupEnterConfig,AnimationResponsivePopupEnterName}from"./motion/animations/cds-dropdown-open.js";import"lit";import"lit/directives/if-defined.js";import"ramda/es/is.js";import"ramda/es/isEmpty.js";import"ramda/es/includes.js";import"ramda/es/without.js";import"ramda/es/clone.js";import"lit/decorators/property.js";const o=e;export{o as baseStyles};
1
+ import"@cds/core/polyfills";import e from"./base/base.element.scss.js";export{CdsBaseButton}from"./base/button.base.js";export{CdsBaseFocusTrap}from"./base/focus-trap.base.js";export{hslToRgb,rgbToHex}from"./utils/color.js";export{ActiveController,active}from"./controllers/active.controller.js";export{AriaButtonController,ariaButton}from"./controllers/aria-button.controller.js";export{AriaDisabledController,ariaDisabled}from"./controllers/aria-disabled.controller.js";export{AriaPopupController}from"./controllers/aria-popup.controller.js";export{AriaPopupTriggerController,ariaPopupTrigger}from"./controllers/aria-popup-trigger.controller.js";export{AriaPressedController,ariaPressed}from"./controllers/aria-pressed.controller.js";export{AriaSelectedController,ariaSelected}from"./controllers/aria-selected.controller.js";export{ButtonAnchorController,buttonAnchor}from"./controllers/button-anchor.controller.js";export{ButtonSubmitController,buttonSubmit}from"./controllers/button-submit.controller.js";export{ClosableController}from"./controllers/closable.controller.js";export{FirstFocusController}from"./controllers/first-focus.controller.js";export{InlineFocusTrapController}from"./controllers/inline-focus-trap.controller.js";export{addClassnames,getCssPropertyValue,hasClassnames,isCssPropertyName,pxToRem,removeClassnames,removeClassnamesUnless,setCssPropertyValue,unsetElementStyles,updateElementStyles}from"./utils/css.js";export{addAttributeValue,assignSlotNames,createFragment,focusableSelectors,getElementWidth,getElementWidthUnless,getShadowRootOrElse,getWindowDimensions,hasAttributeAndIsNotEmpty,isFocusable,isHTMLElement,isScrollable,isVisible,makeFocusable,queryAllFocusable,queryChildFromLightOrShadowDom,removeAttributeValue,removeAttributes,setAttributes,setOrRemoveAttribute,spanWrapper,tabFlowSelectors,windowIsAboveMobileBreakpoint}from"./utils/dom.js";export{registerElementSafely}from"./utils/registration.js";export{animate}from"./decorators/animate.js";export{querySlot,querySlotAll}from"./decorators/query-slot.js";export{getDefaultOptions,property,requirePropertyCheck,state}from"./decorators/property.js";export{customElement}from"./decorators/element.js";export{EventEmitter,event}from"./decorators/event.js";export{SpreadProps,spreadProps}from"./directives/spread-props.js";export{id}from"./decorators/id.js";export{i18n}from"./decorators/i18n.js";export{globalStyle}from"./decorators/global-style.js";export{CDS_FOCUS_TRAP_DOCUMENT_ATTR,FocusTrapTrackerService}from"./services/focus-trap-tracker.service.js";export{GlobalStateService}from"./services/global.service.js";export{I18nService,componentStringsDefault}from"./services/i18n.service.js";export{LogService,notProductionEnvironment}from"./services/log.service.js";export{sleep}from"./utils/async.js";export{describeElementByElements,hasAriaLabelTypeAttr}from"./utils/a11y.js";export{arrayHead,arrayRemoveAllInstances,arrayRemoveFirstInstance,arrayRemoveLastInstance,arrayTail,arrayToObject,nextInArray,previousInArray}from"./utils/array.js";export{KeyCodeService,getKeycodeFromRegistry}from"./services/keycodes.service.js";export{anyPassOrAnyFail,returnOrFallthrough}from"./utils/conditional.js";export{getEnumValueFromStringKey}from"./utils/enum.js";export{elementExists,existsIn,existsInWindow}from"./utils/exists.js";export{getAngularJSVersion,getAngularVersion,getReactVersion,getVueVersion,isStorybook}from"./utils/framework.js";export{getElementLanguageDirection}from"./i18n/utils.js";export{checkNextPosition,getBestPositionForPreferences,getCrossAxisOrderOfPreference,getCrossAxisPosition,getMainAxisPosition,getMainAxisPositionOrViolation,getNextDefaultPosition,getNextPosition,getOrientationTuple,getPointerAlignment,getPointerPosition,getPopupOffsetOrDefaultOffsets,getPopupPosition,getPositionConfig,getPositionOrViolationFromCrossAxis,getPositions,setPopupPosition,testCrossAxisPosition,testMainAxisPosition}from"./positioning/utils.js";export{Positions}from"./positioning/interfaces.js";export{allAre,allAreDefined,allPropertiesPass,anyOrAllPropertiesPass,anyPropertiesPass,convertAttributeStringValuesToValue,convertStringPropValuePairsToTuple,createId,deepClone,doesPropertyPass,getEnumValues,hasPropertyChanged,hasStringPropertyChanged,hasStringPropertyChangedAndNotNil,isMap,isNil,isNilOrEmpty,isNumericString,isObject,isObjectAndNotNilOrEmpty,isString,isStringAndNotNilOrEmpty,isStringOrNil}from"./utils/identity.js";export{getModifierKeysFromKeyCombo,keyWasEvented,onAnyKey,onKey,onKeyCombo,removeModifierKeysFromKeyCombo}from"./utils/keycodes.js";export{childrenUpdateComplete,propUpdated,renderAfter,renderBefore,syncDefinedProps,syncProps,syncPropsForAllItems}from"./utils/lit.js";export{compareSumTo,getMillisecondsFromSeconds,sumAndSubtract}from"./utils/math.js";export{getElementStorybookArgTypes,getElementStorybookArgs}from"./utils/metadata.js";export{elementResize,elementVisible,updateComponentLayout}from"./utils/responsive.js";export{isTshirtSize,updateEquilateralSizeStyles}from"./utils/size.js";export{camelCaseToKebabCase,capitalizeFirstLetter,convertStringPropertyToObjectConfig,cssGroup,getNumericValueFromCssSecondsStyleValue,isPrefixedBy,isPrefixedOrSuffixedBy,isSuffixedBy,kebabCaseToCamelCase,kebabCaseToPascalCase,pluckPixelValue,pluckValueFromStringUnit,propertiesGroup,removePrefix,removePrefixOrSuffix,removeSuffix,replaceWord,setPropStyles,setStyles,transformSpacedStringToArray,transformToSpacedString,transformToString,transformToUnspacedString,trimExtraWhitespace}from"./utils/string.js";export{browserFeatures}from"./utils/supports.js";export{getElementUpdates,listenForAttributeChange,listenForAttributeListChange,onChildListMutation,onFirstInteraction,stopEvent}from"./utils/events.js";export{EventSubject}from"./utils/event-subject.js";export{getChildren,getFlattenedDOMTree,getFlattenedFocusableItems,getFocusableItems}from"./utils/traversal.js";import"./interfaces/interfaces.js";export{AnimationStatus,CLARITY_MOTION_ENTER_LEAVE_PROPERTY,CLARITY_MOTION_FALLBACK_DURATION_IN_MS,CLARITY_MOTION_FALLBACK_EASING,CLARITY_MOTION_REVERSE_ANIMATION_LABEL,CLARITY_MOTION_REVERSE_ANIMATION_SUFFIX,PRIVATE_ANIMATION_STATUS_ATTR_NAME}from"./motion/interfaces.js";export{ClarityMotion}from"./motion/motion.service.js";export{animationIsReversed,extractAnimationNameIfReversed,filterAnimationsByUpdatedProperties,flattenAndSortAnimations,getAnimationConfigForPropertyValue,getAnimationFromOverrideOrDecorator,getAnimationKeyframesOrPropertyIndexedFrames,getAnimationPromiseInstructions,getAnimationTarget,getHidingAndNonHidingPropertyAnimations,getInlineOverride,getPropertyAnimations,resolveAnimationEndStatus,reverseAnimation,reverseAnimationConfig,runPropertyAnimations,setAnimationConfigOptions,setAnimationDuration,setAnimationEasing,setAnimationProperty,setAnimationStartStatus,sizeDimensionKeyframes,zeroOutAnimationConfig}from"./motion/utils.js";export{AnimationModalEnterConfig,AnimationModalEnterName}from"./motion/animations/cds-modal-enter.js";export{AnimationAccordionPanelOpenConfig,AnimationAccordionPanelOpenName}from"./motion/animations/cds-accordion-panel-open.js";export{AnimationHingeConfig,AnimationHingeName}from"./motion/animations/cds-overlay-hinge-example.js";export{AnimationShakeConfig,AnimationShakeName}from"./motion/animations/cds-component-shake.js";export{AnimationNavigationGroupOpenConfig,AnimationNavigationGroupOpenName}from"./motion/animations/cds-navigation-group-open.js";export{AnimationNavigationOpenConfig,AnimationNavigationOpenName}from"./motion/animations/cds-navigation-open.js";export{AnimationTreeItemExpandConfig,AnimationTreeItemExpandName}from"./motion/animations/cds-tree-item-expand.js";export{AnimationResponsivePopupEnterConfig,AnimationResponsivePopupEnterName}from"./motion/animations/cds-dropdown-open.js";const o=e;export{o as baseStyles};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/internal/index.ts"],"sourcesContent":null,"names":["baseStyles","styles"],"mappings":"soQAQY,MAACA,EAAaC"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/internal/index.ts"],"sourcesContent":null,"names":["baseStyles","styles"],"mappings":"ynPAQY,MAACA,EAAaC"}
@@ -1,5 +1,5 @@
1
1
  import { ReactiveElement } from 'lit';
2
- import { EventEmitter } from '../decorators/event';
2
+ import { EventEmitter } from '../decorators/event.js';
3
3
  export declare enum AnimationStatus {
4
4
  ready = "ready",
5
5
  active = "active",
@@ -1,4 +1,5 @@
1
1
  import { AnimatableElement, AnimationKeyframes, PropertyDrivenAnimation, TargetedAnimation, TargetedAnimationAsPropertyTuple } from './interfaces.js';
2
+ import { PropertyValues } from 'lit';
2
3
  /**
3
4
  * runPropertyAnimations() is a utility function called by the @animate(). It is a single point of entry
4
5
  * to execute the property-driven animations found in components like the accordion and overlay.
@@ -11,7 +12,7 @@ import { AnimatableElement, AnimationKeyframes, PropertyDrivenAnimation, Targete
11
12
  *
12
13
  * @internal
13
14
  */
14
- export declare function runPropertyAnimations(props: Map<string, any>, hostEl: AnimatableElement): Promise<boolean>;
15
+ export declare function runPropertyAnimations(props: PropertyValues<any>, hostEl: AnimatableElement): Promise<boolean>;
15
16
  export declare function setAnimationStartStatus(animatedPropertyValueAsString: string, hostEl: AnimatableElement): void;
16
17
  export declare function resolveAnimationEndStatus(animatedPropertyValueAsString: string, hostEl: AnimatableElement): void;
17
18
  export declare function setAnimationConfigOptions(motionName: string, motionForMyValue: TargetedAnimation[], hostEl: AnimatableElement): TargetedAnimation[];
@@ -30,9 +31,9 @@ export declare function setAnimationEasing(config: TargetedAnimation[], hostEl:
30
31
  export declare function zeroOutAnimationConfig(config: TargetedAnimation[]): TargetedAnimation[];
31
32
  export declare function setAnimationProperty(propertyName: string, hostEl: AnimatableElement, config: TargetedAnimation[], staticFallback: string | number, valueConverter?: (arg: string) => string | number): TargetedAnimation[];
32
33
  export declare function sizeDimensionKeyframes(animationKeyframes: AnimationKeyframes, hostEl: HTMLElement): AnimationKeyframes;
33
- export declare function filterAnimationsByUpdatedProperties(animations: PropertyDrivenAnimation, updatingProps: Map<string, any>): PropertyDrivenAnimation | null;
34
+ export declare function filterAnimationsByUpdatedProperties(animations: PropertyDrivenAnimation, updatingProps: PropertyValues<any>): PropertyDrivenAnimation | null;
34
35
  declare type TupleOfHiddenAndOtherAnimations = [TargetedAnimationAsPropertyTuple[], TargetedAnimationAsPropertyTuple[]];
35
36
  export declare function flattenAndSortAnimations(hiddenAndNotAnimationTuple: TupleOfHiddenAndOtherAnimations, isHiding: boolean): TargetedAnimationAsPropertyTuple[];
36
37
  export declare function getHidingAndNonHidingPropertyAnimations(animations: PropertyDrivenAnimation): [TargetedAnimationAsPropertyTuple[], TargetedAnimationAsPropertyTuple[]];
37
- export declare function getPropertyAnimations(animations: PropertyDrivenAnimation, updatingProps: Map<string, any>): TargetedAnimationAsPropertyTuple[];
38
+ export declare function getPropertyAnimations(animations: PropertyDrivenAnimation, updatingProps: PropertyValues<any>): TargetedAnimationAsPropertyTuple[];
38
39
  export {};
@@ -1,2 +1,2 @@
1
- import{CLARITY_MOTION_REVERSE_ANIMATION_SUFFIX as t,AnimationStatus as n,CLARITY_MOTION_REVERSE_ANIMATION_LABEL as o,CLARITY_MOTION_FALLBACK_EASING as i,CLARITY_MOTION_FALLBACK_DURATION_IN_MS as r,CLARITY_MOTION_ENTER_LEAVE_PROPERTY as e}from"./interfaces.js";import{LogService as s}from"../services/log.service.js";import{ClarityMotion as u}from"./motion.service.js";import a from"ramda/es/clone.js";import{isCssPropertyName as c,getCssPropertyValue as f}from"../utils/css.js";import{isSuffixedBy as l,getNumericValueFromCssSecondsStyleValue as m,isPrefixedBy as d,removePrefix as p}from"../utils/string.js";import{queryChildFromLightOrShadowDom as h}from"../utils/dom.js";import{allPropertiesPass as g}from"../utils/identity.js";import{getMillisecondsFromSeconds as v}from"../utils/math.js";async function y(t,n){if(!n._animations)return s.warn(n.tagName.toLocaleLowerCase()+" is trying to animate but no animations are defined."),!1;const o=z(n._animations,t);return await Promise.all(o.map((o=>{const[i,r]=o;if(t.get(i)===n[i])return!1;const e=r[n[i].toString()],s=n.cdsMotion,[u,c]=M(e,x(s,i,n[i].toString()));let f=a(c);if(f.length<1)return!1;f=O(u,f,n);const l=b(e,f,n);return Promise.all(l).then((()=>(w(e,n),!0)))}))).then((t=>t.indexOf(!0)>-1)).catch((()=>!1))}function j(t,o){o.getAttribute("_cds-animation-status")!==n.active&&(o.setAttribute("_cds-animation-status",n.active),o.cdsMotionChange.emit(`${t} animation ${n.start}`))}function w(t,o){o.setAttribute("_cds-animation-status",n.ready),o.cdsMotionChange.emit(`${t} animation ${n.end}`)}function O(t,n,o){const i=o.cdsMotion,r=!i||"off"===i;return S(t)&&(n=C(n)),r?B(n):$(n=N(n,o),o)}function b(t,n,o){return n.filter((t=>!t.onlyIf||g(o,t.onlyIf))).map((n=>(j(t,o),new Promise((t=>{const i=A(o,n.target).animate(P(n.animation,o),n.options||{}),r=()=>{t("animation finished"),i.removeEventListener("finish",r)};i.addEventListener("finish",r)})))))}function A(t,n){return h(t,n)||t}function P(t,n){return Array.isArray(t)?R(t,n):t}function S(n){return l(n,t)}function C(t){return t.map((t=>(t.options?t.options.direction=o:t.options={direction:o},t)))}function _(t){return t+"-"+o}function x(t,n,o){if(!t||!n||void 0===o)return"";if("on"===t||"off"===t)return"";let i;try{i=JSON.parse(t)}catch(t){return""}return i[n]&&i[n][o]||""}function E(n){return S(n)?n.slice(0,-1*t.length):n}function L(t,n){return n&&u.has(E(n))?n:t}function M(t,n){const o=L(t,n);return[o,a(u.get(E(o)))]}function N(t,n){return I("duration",n,t,r,(t=>v(m(t))))}function $(t,n){return I("easing",n,t,i)}function B(t){return t.map((t=>(t.options?(t.options.duration=0,t.options.easing=i):t.options={duration:0,easing:i},t)))}function I(t,n,o,i,r){return o.map((o=>{if(o.options)if(o.options[t]){if(c(o.options[t])){const e=o.options[t];let s=f(e,n);s?r&&(s=r(s)):s=i,o.options[t]=s}}else o.options[t]=i;else{const n={};n[t]=i,o.options=n}return o}))}function R(t,n){return Array.isArray(t)?t.map((t=>{var o,i,r,e;if(Object.prototype.hasOwnProperty.call(t,"height")&&d((null===(o=null==t?void 0:t.height)||void 0===o?void 0:o.toString())||"","from:")){const o=p((null===(i=null==t?void 0:t.height)||void 0===i?void 0:i.toString())||"","from:"),r=h(n,o)||null;t.height=r?r.getBoundingClientRect().height+"px":"auto"}if(Object.prototype.hasOwnProperty.call(t,"width")&&d((null===(r=null==t?void 0:t.width)||void 0===r?void 0:r.toString())||"","from:")){const o=p((null===(e=null==t?void 0:t.width)||void 0===e?void 0:e.toString())||"","from:"),i=h(n,o)||null;t.width=i?i.getBoundingClientRect().width+"px":"auto"}return t})):t}function J(t,n){if(null==t)return null;let o=!0;const i={};return Object.getOwnPropertyNames(t).forEach((r=>{n.has(r)&&void 0!==n.get(r)&&(i[r]=a(t[r]),o=!1)})),o?null:i}function k(t,n){if(null==t)return[];const[o,i]=t;return o.length>0?n?[].concat(i,o):[].concat(o,i):i}function q(t){const n=[],o=[];return Object.getOwnPropertyNames(t||{}).forEach((i=>{const r=[i,a(t[i])];i===e?n.push(r):o.push(r)})),[n,o]}function z(t,n){const o=J(t||{},n);return null===o?[]:k(q(o),n.get(e))}export{S as animationIsReversed,E as extractAnimationNameIfReversed,J as filterAnimationsByUpdatedProperties,k as flattenAndSortAnimations,M as getAnimationConfigForPropertyValue,L as getAnimationFromOverrideOrDecorator,P as getAnimationKeyframesOrPropertyIndexedFrames,b as getAnimationPromiseInstructions,A as getAnimationTarget,q as getHidingAndNonHidingPropertyAnimations,x as getInlineOverride,z as getPropertyAnimations,w as resolveAnimationEndStatus,_ as reverseAnimation,C as reverseAnimationConfig,y as runPropertyAnimations,O as setAnimationConfigOptions,N as setAnimationDuration,$ as setAnimationEasing,I as setAnimationProperty,j as setAnimationStartStatus,R as sizeDimensionKeyframes,B as zeroOutAnimationConfig};
1
+ import{CLARITY_MOTION_REVERSE_ANIMATION_SUFFIX as t,AnimationStatus as n,CLARITY_MOTION_REVERSE_ANIMATION_LABEL as o,CLARITY_MOTION_FALLBACK_EASING as i,CLARITY_MOTION_FALLBACK_DURATION_IN_MS as r,CLARITY_MOTION_ENTER_LEAVE_PROPERTY as e}from"./interfaces.js";import{LogService as s}from"../services/log.service.js";import{ClarityMotion as a}from"./motion.service.js";import u from"ramda/es/clone.js";import{isCssPropertyName as c,getCssPropertyValue as f}from"../utils/css.js";import{isSuffixedBy as m,getNumericValueFromCssSecondsStyleValue as l,isPrefixedBy as p,removePrefix as h}from"../utils/string.js";import{queryChildFromLightOrShadowDom as g}from"../utils/dom.js";import{allPropertiesPass as d}from"../utils/identity.js";import{getMillisecondsFromSeconds as y}from"../utils/math.js";async function j(t,n){if(!n._animations)return s.warn(n.tagName.toLocaleLowerCase()+" is trying to animate but no animations are defined."),!1;const o=z(n._animations,t);return await Promise.all(o.map((o=>{const[i,r]=o;if(t.get(i)===n[i])return!1;const e=r[n[i].toString()],s=n.cdsMotion,[a,c]=M(e,x(s,i,n[i].toString()));let f=u(c);if(f.length<1)return!1;f=O(a,f,n);const m=b(e,f,n);return Promise.all(m).then((()=>(v(e,n),!0)))}))).then((t=>t.indexOf(!0)>-1)).catch((()=>!1))}function w(t,o){o.getAttribute("_cds-animation-status")!==n.active&&(o.setAttribute("_cds-animation-status",n.active),o.cdsMotionChange.emit(`${t} animation ${n.start}`))}function v(t,o){o.setAttribute("_cds-animation-status",n.ready),o.cdsMotionChange.emit(`${t} animation ${n.end}`)}function O(t,n,o){const i=o.cdsMotion,r=!i||"off"===i;return S(t)&&(n=C(n)),r?B(n):$(n=N(n,o),o)}function b(t,n,o){return n.filter((t=>!t.onlyIf||d(o,t.onlyIf))).map((n=>(w(t,o),new Promise((t=>{const i=A(o,n.target).animate(P(n.animation,o),n.options||{}),r=()=>{t("animation finished"),i.removeEventListener("finish",r)};i.addEventListener("finish",r)})))))}function A(t,n){return g(t,n)||t}function P(t,n){return Array.isArray(t)?R(t,n):t}function S(n){return m(n,t)}function C(t){return t.map((t=>(t.options?t.options.direction=o:t.options={direction:o},t)))}function _(t){return t+"-"+o}function x(t,n,o){if(!t||!n||void 0===o)return"";if("on"===t||"off"===t)return"";let i;try{i=JSON.parse(t)}catch(t){return""}return i[n]&&i[n][o]||""}function E(n){return S(n)?n.slice(0,-1*t.length):n}function L(t,n){return n&&a.has(E(n))?n:t}function M(t,n){const o=L(t,n);return[o,u(a.get(E(o)))]}function N(t,n){return I("duration",n,t,r,(t=>y(l(t))))}function $(t,n){return I("easing",n,t,i)}function B(t){return t.map((t=>(t.options?(t.options.duration=0,t.options.easing=i):t.options={duration:0,easing:i},t)))}function I(t,n,o,i,r){return o.map((o=>{if(o.options)if(o.options[t]){if(c(o.options[t])){const e=o.options[t];let s=f(e,n);s?r&&(s=r(s)):s=i,o.options[t]=s}}else o.options[t]=i;else{const n={};n[t]=i,o.options=n}return o}))}function R(t,n){return Array.isArray(t)?t.map((t=>{if(Object.prototype.hasOwnProperty.call(t,"height")&&p(t?.height?.toString()||"","from:")){const o=h(t?.height?.toString()||"","from:"),i=g(n,o)||null;t.height=i?i.getBoundingClientRect().height+"px":"auto"}if(Object.prototype.hasOwnProperty.call(t,"width")&&p(t?.width?.toString()||"","from:")){const o=h(t?.width?.toString()||"","from:"),i=g(n,o)||null;t.width=i?i.getBoundingClientRect().width+"px":"auto"}return t})):t}function J(t,n){if(null==t)return null;let o=!0;const i={};return Object.getOwnPropertyNames(t).forEach((r=>{n.has(r)&&void 0!==n.get(r)&&(i[r]=u(t[r]),o=!1)})),o?null:i}function k(t,n){if(null==t)return[];const[o,i]=t;return o.length>0?n?[].concat(i,o):[].concat(o,i):i}function q(t){const n=[],o=[];return Object.getOwnPropertyNames(t||{}).forEach((i=>{const r=[i,u(t[i])];i===e?n.push(r):o.push(r)})),[n,o]}function z(t,n){const o=J(t||{},n);return null===o?[]:k(q(o),n.get(e))}export{S as animationIsReversed,E as extractAnimationNameIfReversed,J as filterAnimationsByUpdatedProperties,k as flattenAndSortAnimations,M as getAnimationConfigForPropertyValue,L as getAnimationFromOverrideOrDecorator,P as getAnimationKeyframesOrPropertyIndexedFrames,b as getAnimationPromiseInstructions,A as getAnimationTarget,q as getHidingAndNonHidingPropertyAnimations,x as getInlineOverride,z as getPropertyAnimations,v as resolveAnimationEndStatus,_ as reverseAnimation,C as reverseAnimationConfig,j as runPropertyAnimations,O as setAnimationConfigOptions,N as setAnimationDuration,$ as setAnimationEasing,I as setAnimationProperty,w as setAnimationStartStatus,R as sizeDimensionKeyframes,B as zeroOutAnimationConfig};
2
2
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../src/internal/motion/utils.ts"],"sourcesContent":null,"names":["async","runPropertyAnimations","props","hostEl","_animations","LogService","warn","tagName","toLocaleLowerCase","propertyAnimations","getPropertyAnimations","Promise","all","map","propNameAnimationTuple","propname","propertyAnimationsByValue","get","animatedPropertyValueAsString","toString","cdsMotionValue","cdsMotion","motionName","returnedMotion","getAnimationConfigForPropertyValue","getInlineOverride","motionForMyValue","clone","length","setAnimationConfigOptions","animations","getAnimationPromiseInstructions","then","resolveAnimationEndStatus","result","indexOf","catch","setAnimationStartStatus","getAttribute","AnimationStatus","active","setAttribute","cdsMotionChange","emit","start","ready","end","animationsAreTurnedOff","animationIsReversed","reverseAnimationConfig","zeroOutAnimationConfig","setAnimationEasing","setAnimationDuration","motionConfigs","filter","config","onlyIf","allPropertiesPass","resolve","animationPlayer","getAnimationTarget","target","animate","getAnimationKeyframesOrPropertyIndexedFrames","animation","options","listener","removeEventListener","addEventListener","targetSelector","queryChildFromLightOrShadowDom","animationConfig","Array","isArray","sizeDimensionKeyframes","nameOfAnimation","isSuffixedBy","CLARITY_MOTION_REVERSE_ANIMATION_SUFFIX","anim","direction","CLARITY_MOTION_REVERSE_ANIMATION_LABEL","reverseAnimation","animationName","propName","propValue","inlineOverride","JSON","parse","e","extractAnimationNameIfReversed","name","slice","getAnimationFromOverrideOrDecorator","decoratorValue","overrideValue","ClarityMotion","has","nameOfAnimationFromObject","cdsMotionOverride","setAnimationProperty","CLARITY_MOTION_FALLBACK_DURATION_IN_MS","val","getMillisecondsFromSeconds","getNumericValueFromCssSecondsStyleValue","CLARITY_MOTION_FALLBACK_EASING","duration","easing","propertyName","staticFallback","valueConverter","isCssPropertyName","myConfigOption","valFromProperty","getCssPropertyValue","newConfigOptions","animationKeyframes","kf","_a","_b","_c","_d","Object","prototype","hasOwnProperty","call","isPrefixedBy","height","selector","removePrefix","measureTarget","getBoundingClientRect","width","filterAnimationsByUpdatedProperties","updatingProps","objectIsEmpty","returnObject","getOwnPropertyNames","forEach","prop","undefined","flattenAndSortAnimations","hiddenAndNotAnimationTuple","isHiding","hiddenAnimations","otherAnimations","concat","getHidingAndNonHidingPropertyAnimations","animationTuple","CLARITY_MOTION_ENTER_LEAVE_PROPERTY","push","activeAnimations"],"mappings":"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"}
1
+ {"version":3,"file":"utils.js","sources":["../../../../src/internal/motion/utils.ts"],"sourcesContent":null,"names":["async","runPropertyAnimations","props","hostEl","_animations","LogService","warn","tagName","toLocaleLowerCase","propertyAnimations","getPropertyAnimations","Promise","all","map","propNameAnimationTuple","propname","propertyAnimationsByValue","get","animatedPropertyValueAsString","toString","cdsMotionValue","cdsMotion","motionName","returnedMotion","getAnimationConfigForPropertyValue","getInlineOverride","motionForMyValue","clone","length","setAnimationConfigOptions","animations","getAnimationPromiseInstructions","then","resolveAnimationEndStatus","result","indexOf","catch","setAnimationStartStatus","getAttribute","AnimationStatus","active","setAttribute","cdsMotionChange","emit","start","ready","end","animationsAreTurnedOff","animationIsReversed","reverseAnimationConfig","zeroOutAnimationConfig","setAnimationEasing","setAnimationDuration","motionConfigs","filter","config","onlyIf","allPropertiesPass","resolve","animationPlayer","getAnimationTarget","target","animate","getAnimationKeyframesOrPropertyIndexedFrames","animation","options","listener","removeEventListener","addEventListener","targetSelector","queryChildFromLightOrShadowDom","animationConfig","Array","isArray","sizeDimensionKeyframes","nameOfAnimation","isSuffixedBy","CLARITY_MOTION_REVERSE_ANIMATION_SUFFIX","anim","direction","CLARITY_MOTION_REVERSE_ANIMATION_LABEL","reverseAnimation","animationName","propName","propValue","inlineOverride","JSON","parse","e","extractAnimationNameIfReversed","name","slice","getAnimationFromOverrideOrDecorator","decoratorValue","overrideValue","ClarityMotion","has","nameOfAnimationFromObject","cdsMotionOverride","setAnimationProperty","CLARITY_MOTION_FALLBACK_DURATION_IN_MS","val","getMillisecondsFromSeconds","getNumericValueFromCssSecondsStyleValue","CLARITY_MOTION_FALLBACK_EASING","duration","easing","propertyName","staticFallback","valueConverter","isCssPropertyName","myConfigOption","valFromProperty","getCssPropertyValue","newConfigOptions","animationKeyframes","kf","Object","prototype","hasOwnProperty","call","isPrefixedBy","height","selector","removePrefix","measureTarget","getBoundingClientRect","width","filterAnimationsByUpdatedProperties","updatingProps","objectIsEmpty","returnObject","getOwnPropertyNames","forEach","prop","undefined","flattenAndSortAnimations","hiddenAndNotAnimationTuple","isHiding","hiddenAnimations","otherAnimations","concat","getHidingAndNonHidingPropertyAnimations","animationTuple","CLARITY_MOTION_ENTER_LEAVE_PROPERTY","push","activeAnimations"],"mappings":"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"}