@cupra/ui-kit 1.0.0-canary.9 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/README.md +5 -3
  2. package/dist/components/base/DsUiElement.js +47 -0
  3. package/dist/components/base/UiKitElement.js +82 -0
  4. package/dist/components/base/ds-base-input/ds-base-input.js +112 -0
  5. package/dist/components/base/ds-base-input/styles/common.styles.js +63 -0
  6. package/dist/components/base/ds-base-input/styles/cupra.styles.js +124 -0
  7. package/dist/components/base/ds-base-progress-bar/ds-base-progress-bar.js +64 -0
  8. package/dist/components/base/ds-base-progress-bar/styles/common.styles.js +22 -0
  9. package/dist/components/base/ds-base-progress-bar/styles/cupra-diagonal.styles.js +27 -0
  10. package/dist/components/base/ds-base-progress-bar/styles/cupra.styles.js +27 -0
  11. package/dist/components/base/ds-base-progress-bar/styles/seat.styles.js +8 -0
  12. package/dist/components/ds-accordion/ds-accordion.js +124 -0
  13. package/dist/components/ds-accordion/styles/common.styles.js +64 -0
  14. package/dist/components/ds-accordion/theme-config.js +26 -0
  15. package/dist/components/ds-avatar/ds-avatar.js +102 -0
  16. package/dist/components/ds-avatar/styles/common.styles.js +12 -0
  17. package/dist/components/ds-badge/ds-badge.d.ts +18 -0
  18. package/dist/components/ds-badge/ds-badge.js +53 -0
  19. package/dist/components/ds-badge/ds-badge.test.d.ts +8 -0
  20. package/dist/components/ds-badge/ds-badge.types.d.ts +6 -0
  21. package/dist/components/ds-badge/styles/common.styles.d.ts +1 -0
  22. package/dist/components/ds-badge/styles/common.styles.js +9 -0
  23. package/dist/components/ds-badge/styles/cupra-diagonal.styles.d.ts +1 -0
  24. package/dist/components/ds-badge/styles/cupra-diagonal.styles.js +47 -0
  25. package/dist/components/ds-bullets/ds-bullets.js +79 -0
  26. package/dist/components/ds-bullets/styles/common.styles.js +26 -0
  27. package/dist/components/ds-button/ds-button.js +196 -0
  28. package/dist/components/ds-button/styles/common.styles.js +116 -0
  29. package/dist/components/ds-carousel-indicator/ds-carousel-indicator.js +63 -0
  30. package/dist/components/ds-carousel-indicator/styles/common.styles.js +19 -0
  31. package/dist/components/ds-checkbox/ds-checkbox.js +142 -0
  32. package/dist/components/ds-checkbox/styles/common.styles.js +60 -0
  33. package/dist/components/ds-chip/ds-chip.js +131 -0
  34. package/dist/components/ds-chip/styles/common.styles.js +25 -0
  35. package/dist/components/ds-chips/ds-chips.js +143 -0
  36. package/dist/components/ds-chips/styles/common.styles.js +94 -0
  37. package/dist/components/ds-currency/ds-currency.js +139 -0
  38. package/dist/components/ds-currency/styles/common.styles.js +17 -0
  39. package/dist/components/ds-dialog/ds-dialog.js +107 -0
  40. package/dist/components/ds-dialog/styles/common.styles.js +82 -0
  41. package/dist/components/ds-dialog-body/ds-dialog-body.js +46 -0
  42. package/dist/components/ds-dialog-body/styles/common.styles.js +12 -0
  43. package/dist/components/ds-dialog-footer/ds-dialog-footer.js +47 -0
  44. package/dist/components/ds-dialog-footer/styles/common.styles.js +16 -0
  45. package/dist/components/ds-dialog-header/ds-dialog-header.js +68 -0
  46. package/dist/components/ds-dialog-header/styles/common.styles.js +12 -0
  47. package/dist/components/ds-divider/ds-divider.js +58 -0
  48. package/dist/components/ds-divider/styles/common.styles.js +13 -0
  49. package/dist/components/ds-hyperlink/ds-hyperlink.js +93 -0
  50. package/dist/components/ds-hyperlink/styles/common.styles.js +22 -0
  51. package/dist/components/ds-icon/Icons.type.d.ts +1 -1
  52. package/dist/components/ds-icon/ds-icon.js +105 -0
  53. package/dist/components/ds-icon/iconNames.d.ts +1 -1
  54. package/dist/components/ds-icon/iconNames.js +394 -0
  55. package/dist/components/ds-icon-button/ds-icon-button.js +138 -0
  56. package/dist/components/ds-icon-button/styles/common.styles.js +24 -0
  57. package/dist/components/ds-input/ds-input.js +138 -0
  58. package/dist/components/ds-interactive-card/ds-interactive-card.js +90 -0
  59. package/dist/components/ds-interactive-card/styles/common.styles.js +12 -0
  60. package/dist/components/ds-link-button/ds-link-button.js +120 -0
  61. package/dist/components/ds-link-button/styles/common.styles.js +24 -0
  62. package/dist/components/ds-loader-bar/ds-loader-bar.js +23 -0
  63. package/dist/components/ds-loader-bar/styles/common.styles.js +23 -0
  64. package/dist/components/ds-loader-dots/ds-loader-dots.js +62 -0
  65. package/dist/components/ds-loader-dots/styles/common.styles.js +35 -0
  66. package/dist/components/ds-loader-logo/ds-loader-logo.js +65 -0
  67. package/dist/components/ds-loader-logo/ds-loader-logo.styles.js +67 -0
  68. package/dist/components/ds-loader-spinner/ds-loader-spinner.js +53 -0
  69. package/dist/components/ds-loader-spinner/styles/common.styles.js +56 -0
  70. package/dist/components/ds-logo/ds-logo.js +69 -0
  71. package/dist/components/ds-logo/styles/common.styles.js +18 -0
  72. package/dist/components/ds-main-title/ds-main-title.d.ts +10 -0
  73. package/dist/components/ds-main-title/ds-main-title.js +35 -0
  74. package/dist/components/ds-main-title/ds-main-title.test.d.ts +7 -0
  75. package/dist/components/ds-main-title/ds-main-title.types.d.ts +2 -0
  76. package/dist/components/ds-main-title/styles/common.styles.d.ts +1 -0
  77. package/dist/components/ds-main-title/styles/common.styles.js +19 -0
  78. package/dist/components/ds-map-pin/ds-map-pin.js +116 -0
  79. package/dist/components/ds-map-pin/styles/common.styles.js +43 -0
  80. package/dist/components/ds-modal/ds-modal.js +215 -0
  81. package/dist/components/ds-modal/styles/common.styles.js +289 -0
  82. package/dist/components/ds-password-input/ds-password-input.js +43 -0
  83. package/dist/components/ds-picker-item/ds-picker-item.js +89 -0
  84. package/dist/components/ds-picker-item/styles/common.styles.js +12 -0
  85. package/dist/components/ds-portal/ds-portal.js +41 -0
  86. package/dist/components/ds-progress-bar/ds-progress-bar.js +34 -0
  87. package/dist/components/ds-progress-bar/styles/common.styles.js +12 -0
  88. package/dist/components/ds-radio/ds-radio.js +111 -0
  89. package/dist/components/ds-radio/styles/common.styles.js +44 -0
  90. package/dist/components/ds-radio-button/ds-radio-button.js +185 -0
  91. package/dist/components/ds-radio-button/styles/common.styles.js +52 -0
  92. package/dist/components/ds-radio-button-group/ds-radio-button-group.js +83 -0
  93. package/dist/components/ds-radio-button-group/styles/common.styles.js +25 -0
  94. package/dist/components/ds-radio-group/ds-radio-group.js +79 -0
  95. package/dist/components/ds-radio-group/ds-radio-group.styles.js +21 -0
  96. package/dist/components/ds-rating/ds-rating.d.ts +14 -0
  97. package/dist/components/ds-rating/ds-rating.js +73 -0
  98. package/dist/components/ds-rating/ds-rating.test.d.ts +8 -0
  99. package/dist/components/ds-rating/ds-rating.types.d.ts +6 -0
  100. package/dist/components/ds-rating/styles/common.styles.d.ts +1 -0
  101. package/dist/components/ds-rating/styles/common.styles.js +14 -0
  102. package/dist/components/ds-search/ds-search.js +210 -0
  103. package/dist/components/ds-search/styles/common.styles.js +61 -0
  104. package/dist/components/ds-search-input/ds-search-input.js +158 -0
  105. package/dist/components/ds-search-input/styles/common.styles.js +12 -0
  106. package/dist/components/ds-secondary-navigation/ds-secondary-navigation.js +233 -0
  107. package/dist/components/ds-secondary-navigation/styles/common.styles.js +12 -0
  108. package/dist/components/ds-segmented-control/ds-segmented-control.js +71 -0
  109. package/dist/components/ds-segmented-control/styles/common.styles.js +56 -0
  110. package/dist/components/ds-select/controllers/SelectKeyboardController.js +33 -0
  111. package/dist/components/ds-select/ds-select.js +274 -0
  112. package/dist/components/ds-select/styles/common.styles.js +29 -0
  113. package/dist/components/ds-selection/ds-selection.js +57 -0
  114. package/dist/components/ds-selection/styles/common.styles.js +17 -0
  115. package/dist/components/ds-sidebar-navigation/ds-sidebar-navigation.js +102 -0
  116. package/dist/components/ds-sidebar-navigation/styles/common.styles.js +25 -0
  117. package/dist/components/ds-slider/ds-slider.js +409 -0
  118. package/dist/components/ds-slider/styles/common.styles.js +61 -0
  119. package/dist/components/ds-slider/utils/getStepValue/getStepValue.js +28 -0
  120. package/dist/components/ds-slider/utils/roundToDecimals/roundToDecimals.js +7 -0
  121. package/dist/components/ds-static-box/ds-static-box.js +77 -0
  122. package/dist/components/ds-static-box/styles/common.styles.js +12 -0
  123. package/dist/components/ds-stepper/ds-stepper.js +57 -0
  124. package/dist/components/ds-stepper/styles/common.styles.js +12 -0
  125. package/dist/components/ds-tabs/ds-tabs.js +203 -0
  126. package/dist/components/ds-tabs/styles/common.styles.js +97 -0
  127. package/dist/components/ds-tabs/theme-config.js +14 -0
  128. package/dist/components/ds-tag/ds-tag.js +87 -0
  129. package/dist/components/ds-tag/styles/common.styles.js +20 -0
  130. package/dist/components/ds-text/ds-text.js +83 -0
  131. package/dist/components/ds-text/styles/common.styles.js +29 -0
  132. package/dist/components/ds-text-input/ds-text-input.js +100 -0
  133. package/dist/components/ds-text-input/styles/common.styles.js +12 -0
  134. package/dist/components/ds-textarea/ds-textarea.js +87 -0
  135. package/dist/components/ds-textarea/styles/common.styles.js +12 -0
  136. package/dist/components/ds-theme-provider/ds-theme-provider.js +90 -0
  137. package/dist/components/ds-theme-provider/themeContext.js +5 -0
  138. package/dist/components/ds-toast/ds-toast.js +95 -0
  139. package/dist/components/ds-toast/styles/common.styles.js +112 -0
  140. package/dist/components/ds-toast/utils/ToastManager.js +48 -0
  141. package/dist/components/ds-toast-message/ds-toast-message.js +103 -0
  142. package/dist/components/ds-toast-message/styles/common.styles.js +12 -0
  143. package/dist/components/ds-toggle-button/ds-toggle-button.js +73 -0
  144. package/dist/components/ds-toggle-switch/ds-toggle-switch.js +100 -0
  145. package/dist/components/ds-toggle-switch/styles/common.styles.js +47 -0
  146. package/dist/components/ds-tooltip/ds-tooltip.d.ts +38 -23
  147. package/dist/components/ds-tooltip/ds-tooltip.js +234 -0
  148. package/dist/components/ds-tooltip/ds-tooltip.test.d.ts +8 -0
  149. package/dist/components/ds-tooltip/ds-tooltip.types.d.ts +5 -10
  150. package/dist/components/ds-tooltip/styles/common.styles.d.ts +0 -2
  151. package/dist/components/ds-tooltip/styles/common.styles.js +130 -0
  152. package/dist/components/index.d.ts +4 -1
  153. package/dist/core/theme.constants.d.ts +1 -0
  154. package/dist/core/theme.constants.js +4 -0
  155. package/dist/decorators/customUiKitElement.js +23 -0
  156. package/dist/index.js +61 -9699
  157. package/dist/mixins/FormAssociatedMixin.js +14 -0
  158. package/dist/mixins/ViewportMixin.js +32 -0
  159. package/dist/mixins/inputStatesMixin.js +46 -0
  160. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +430 -0
  161. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +313 -0
  162. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +132 -0
  163. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
  164. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/context-request-event.js +13 -0
  165. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-consumer.js +29 -0
  166. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-provider.js +37 -0
  167. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/create-context.js +11 -0
  168. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/consume.js +22 -0
  169. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/provide.js +42 -0
  170. package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/value-notifier.js +36 -0
  171. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +50 -0
  172. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/base.js +9 -0
  173. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +37 -0
  174. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +19 -0
  175. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js +19 -0
  176. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.js +20 -0
  177. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +12 -0
  178. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +252 -0
  179. package/dist/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +51 -0
  180. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +37 -0
  181. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +27 -0
  182. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/choose.js +12 -0
  183. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +34 -0
  184. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +10 -0
  185. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +61 -0
  186. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +27 -0
  187. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/when.js +11 -0
  188. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +243 -0
  189. package/dist/styles/fonts-config.js +28 -0
  190. package/dist/utils/IconsManager.d.ts +1 -4
  191. package/dist/utils/IconsManager.js +39 -0
  192. package/dist/utils/PubSub.d.ts +0 -2
  193. package/dist/utils/PubSub.js +33 -0
  194. package/dist/utils/StylesRegistry/StylesRegistry.js +32 -0
  195. package/dist/utils/arrayConverter.js +19 -0
  196. package/dist/utils/booleanConverter.js +4 -0
  197. package/dist/utils/componentFactory.js +167 -0
  198. package/dist/utils/cssQueries.js +16 -0
  199. package/dist/utils/cssWithTokens.js +11 -0
  200. package/dist/utils/formatNumber/formatNumber.js +54 -0
  201. package/dist/utils/htmlWithTokens.js +11 -0
  202. package/dist/utils/objectConverter.js +11 -0
  203. package/dist/utils/validateMaxLength.js +6 -0
  204. package/dist-react/components/base/DsUiElement.js +47 -0
  205. package/dist-react/components/base/UiKitElement.js +82 -0
  206. package/dist-react/components/base/ds-base-input/ds-base-input.js +112 -0
  207. package/dist-react/components/base/ds-base-input/styles/common.styles.js +63 -0
  208. package/dist-react/components/base/ds-base-input/styles/cupra.styles.js +124 -0
  209. package/dist-react/components/base/ds-base-progress-bar/ds-base-progress-bar.js +64 -0
  210. package/dist-react/components/base/ds-base-progress-bar/styles/common.styles.js +22 -0
  211. package/dist-react/components/base/ds-base-progress-bar/styles/cupra-diagonal.styles.js +27 -0
  212. package/dist-react/components/base/ds-base-progress-bar/styles/cupra.styles.js +27 -0
  213. package/dist-react/components/base/ds-base-progress-bar/styles/seat.styles.js +8 -0
  214. package/dist-react/components/ds-accordion/ds-accordion.js +124 -0
  215. package/dist-react/components/ds-accordion/styles/common.styles.js +64 -0
  216. package/dist-react/components/ds-accordion/theme-config.js +26 -0
  217. package/dist-react/components/ds-avatar/ds-avatar.js +102 -0
  218. package/dist-react/components/ds-avatar/styles/common.styles.js +12 -0
  219. package/dist-react/components/ds-badge/ds-badge.d.ts +18 -0
  220. package/dist-react/components/ds-badge/ds-badge.js +53 -0
  221. package/dist-react/components/ds-badge/ds-badge.test.d.ts +8 -0
  222. package/dist-react/components/ds-badge/ds-badge.types.d.ts +6 -0
  223. package/dist-react/components/ds-badge/styles/common.styles.d.ts +1 -0
  224. package/dist-react/components/ds-badge/styles/common.styles.js +9 -0
  225. package/dist-react/components/ds-badge/styles/cupra-diagonal.styles.d.ts +1 -0
  226. package/dist-react/components/ds-badge/styles/cupra-diagonal.styles.js +47 -0
  227. package/dist-react/components/ds-bullets/ds-bullets.js +79 -0
  228. package/dist-react/components/ds-bullets/styles/common.styles.js +26 -0
  229. package/dist-react/components/ds-button/ds-button.js +196 -0
  230. package/dist-react/components/ds-button/styles/common.styles.js +116 -0
  231. package/dist-react/components/ds-carousel-indicator/ds-carousel-indicator.js +63 -0
  232. package/dist-react/components/ds-carousel-indicator/styles/common.styles.js +19 -0
  233. package/dist-react/components/ds-checkbox/ds-checkbox.js +142 -0
  234. package/dist-react/components/ds-checkbox/styles/common.styles.js +60 -0
  235. package/dist-react/components/ds-chip/ds-chip.js +131 -0
  236. package/dist-react/components/ds-chip/styles/common.styles.js +25 -0
  237. package/dist-react/components/ds-chips/ds-chips.js +143 -0
  238. package/dist-react/components/ds-chips/styles/common.styles.js +94 -0
  239. package/dist-react/components/ds-currency/ds-currency.js +139 -0
  240. package/dist-react/components/ds-currency/styles/common.styles.js +17 -0
  241. package/dist-react/components/ds-dialog/ds-dialog.js +107 -0
  242. package/dist-react/components/ds-dialog/styles/common.styles.js +82 -0
  243. package/dist-react/components/ds-dialog-body/ds-dialog-body.js +46 -0
  244. package/dist-react/components/ds-dialog-body/styles/common.styles.js +12 -0
  245. package/dist-react/components/ds-dialog-footer/ds-dialog-footer.js +47 -0
  246. package/dist-react/components/ds-dialog-footer/styles/common.styles.js +16 -0
  247. package/dist-react/components/ds-dialog-header/ds-dialog-header.js +68 -0
  248. package/dist-react/components/ds-dialog-header/styles/common.styles.js +12 -0
  249. package/dist-react/components/ds-divider/ds-divider.js +58 -0
  250. package/dist-react/components/ds-divider/styles/common.styles.js +13 -0
  251. package/dist-react/components/ds-hyperlink/ds-hyperlink.js +93 -0
  252. package/dist-react/components/ds-hyperlink/styles/common.styles.js +22 -0
  253. package/dist-react/components/ds-icon/Icons.type.d.ts +1 -1
  254. package/dist-react/components/ds-icon/ds-icon.js +105 -0
  255. package/dist-react/components/ds-icon/iconNames.d.ts +1 -1
  256. package/dist-react/components/ds-icon/iconNames.js +394 -0
  257. package/dist-react/components/ds-icon-button/ds-icon-button.js +138 -0
  258. package/dist-react/components/ds-icon-button/styles/common.styles.js +24 -0
  259. package/dist-react/components/ds-input/ds-input.js +138 -0
  260. package/dist-react/components/ds-interactive-card/ds-interactive-card.js +90 -0
  261. package/dist-react/components/ds-interactive-card/styles/common.styles.js +12 -0
  262. package/dist-react/components/ds-link-button/ds-link-button.js +120 -0
  263. package/dist-react/components/ds-link-button/styles/common.styles.js +24 -0
  264. package/dist-react/components/ds-loader-bar/ds-loader-bar.js +23 -0
  265. package/dist-react/components/ds-loader-bar/styles/common.styles.js +23 -0
  266. package/dist-react/components/ds-loader-dots/ds-loader-dots.js +62 -0
  267. package/dist-react/components/ds-loader-dots/styles/common.styles.js +35 -0
  268. package/dist-react/components/ds-loader-logo/ds-loader-logo.js +65 -0
  269. package/dist-react/components/ds-loader-logo/ds-loader-logo.styles.js +67 -0
  270. package/dist-react/components/ds-loader-spinner/ds-loader-spinner.js +53 -0
  271. package/dist-react/components/ds-loader-spinner/styles/common.styles.js +56 -0
  272. package/dist-react/components/ds-logo/ds-logo.js +69 -0
  273. package/dist-react/components/ds-logo/styles/common.styles.js +18 -0
  274. package/dist-react/components/ds-main-title/ds-main-title.d.ts +10 -0
  275. package/dist-react/components/ds-main-title/ds-main-title.js +35 -0
  276. package/dist-react/components/ds-main-title/ds-main-title.test.d.ts +7 -0
  277. package/dist-react/components/ds-main-title/ds-main-title.types.d.ts +2 -0
  278. package/dist-react/components/ds-main-title/styles/common.styles.d.ts +1 -0
  279. package/dist-react/components/ds-main-title/styles/common.styles.js +19 -0
  280. package/dist-react/components/ds-map-pin/ds-map-pin.js +116 -0
  281. package/dist-react/components/ds-map-pin/styles/common.styles.js +43 -0
  282. package/dist-react/components/ds-modal/ds-modal.js +215 -0
  283. package/dist-react/components/ds-modal/styles/common.styles.js +289 -0
  284. package/dist-react/components/ds-password-input/ds-password-input.js +43 -0
  285. package/dist-react/components/ds-picker-item/ds-picker-item.js +89 -0
  286. package/dist-react/components/ds-picker-item/styles/common.styles.js +12 -0
  287. package/dist-react/components/ds-portal/ds-portal.js +41 -0
  288. package/dist-react/components/ds-progress-bar/ds-progress-bar.js +34 -0
  289. package/dist-react/components/ds-progress-bar/styles/common.styles.js +12 -0
  290. package/dist-react/components/ds-radio/ds-radio.js +111 -0
  291. package/dist-react/components/ds-radio/styles/common.styles.js +44 -0
  292. package/dist-react/components/ds-radio-button/ds-radio-button.js +185 -0
  293. package/dist-react/components/ds-radio-button/styles/common.styles.js +52 -0
  294. package/dist-react/components/ds-radio-button-group/ds-radio-button-group.js +83 -0
  295. package/dist-react/components/ds-radio-button-group/styles/common.styles.js +25 -0
  296. package/dist-react/components/ds-radio-group/ds-radio-group.js +79 -0
  297. package/dist-react/components/ds-radio-group/ds-radio-group.styles.js +21 -0
  298. package/dist-react/components/ds-rating/ds-rating.d.ts +14 -0
  299. package/dist-react/components/ds-rating/ds-rating.js +73 -0
  300. package/dist-react/components/ds-rating/ds-rating.test.d.ts +8 -0
  301. package/dist-react/components/ds-rating/ds-rating.types.d.ts +6 -0
  302. package/dist-react/components/ds-rating/styles/common.styles.d.ts +1 -0
  303. package/dist-react/components/ds-rating/styles/common.styles.js +14 -0
  304. package/dist-react/components/ds-search/ds-search.js +210 -0
  305. package/dist-react/components/ds-search/styles/common.styles.js +61 -0
  306. package/dist-react/components/ds-search-input/ds-search-input.js +158 -0
  307. package/dist-react/components/ds-search-input/styles/common.styles.js +12 -0
  308. package/dist-react/components/ds-secondary-navigation/ds-secondary-navigation.js +233 -0
  309. package/dist-react/components/ds-secondary-navigation/styles/common.styles.js +12 -0
  310. package/dist-react/components/ds-segmented-control/ds-segmented-control.js +71 -0
  311. package/dist-react/components/ds-segmented-control/styles/common.styles.js +56 -0
  312. package/dist-react/components/ds-select/controllers/SelectKeyboardController.js +33 -0
  313. package/dist-react/components/ds-select/ds-select.js +274 -0
  314. package/dist-react/components/ds-select/styles/common.styles.js +29 -0
  315. package/dist-react/components/ds-selection/ds-selection.js +57 -0
  316. package/dist-react/components/ds-selection/styles/common.styles.js +17 -0
  317. package/dist-react/components/ds-sidebar-navigation/ds-sidebar-navigation.js +102 -0
  318. package/dist-react/components/ds-sidebar-navigation/styles/common.styles.js +25 -0
  319. package/dist-react/components/ds-slider/ds-slider.js +409 -0
  320. package/dist-react/components/ds-slider/styles/common.styles.js +61 -0
  321. package/dist-react/components/ds-slider/utils/getStepValue/getStepValue.js +28 -0
  322. package/dist-react/components/ds-slider/utils/roundToDecimals/roundToDecimals.js +7 -0
  323. package/dist-react/components/ds-static-box/ds-static-box.js +77 -0
  324. package/dist-react/components/ds-static-box/styles/common.styles.js +12 -0
  325. package/dist-react/components/ds-stepper/ds-stepper.js +57 -0
  326. package/dist-react/components/ds-stepper/styles/common.styles.js +12 -0
  327. package/dist-react/components/ds-tabs/ds-tabs.js +203 -0
  328. package/dist-react/components/ds-tabs/styles/common.styles.js +97 -0
  329. package/dist-react/components/ds-tabs/theme-config.js +14 -0
  330. package/dist-react/components/ds-tag/ds-tag.js +87 -0
  331. package/dist-react/components/ds-tag/styles/common.styles.js +20 -0
  332. package/dist-react/components/ds-text/ds-text.js +83 -0
  333. package/dist-react/components/ds-text/styles/common.styles.js +29 -0
  334. package/dist-react/components/ds-text-input/ds-text-input.js +100 -0
  335. package/dist-react/components/ds-text-input/styles/common.styles.js +12 -0
  336. package/dist-react/components/ds-textarea/ds-textarea.js +87 -0
  337. package/dist-react/components/ds-textarea/styles/common.styles.js +12 -0
  338. package/dist-react/components/ds-theme-provider/ds-theme-provider.js +90 -0
  339. package/dist-react/components/ds-theme-provider/themeContext.js +5 -0
  340. package/dist-react/components/ds-toast/ds-toast.js +95 -0
  341. package/dist-react/components/ds-toast/styles/common.styles.js +112 -0
  342. package/dist-react/components/ds-toast/utils/ToastManager.js +48 -0
  343. package/dist-react/components/ds-toast-message/ds-toast-message.js +103 -0
  344. package/dist-react/components/ds-toast-message/styles/common.styles.js +12 -0
  345. package/dist-react/components/ds-toggle-button/ds-toggle-button.js +73 -0
  346. package/dist-react/components/ds-toggle-switch/ds-toggle-switch.js +100 -0
  347. package/dist-react/components/ds-toggle-switch/styles/common.styles.js +47 -0
  348. package/dist-react/components/ds-tooltip/ds-tooltip.d.ts +38 -23
  349. package/dist-react/components/ds-tooltip/ds-tooltip.js +234 -0
  350. package/dist-react/components/ds-tooltip/ds-tooltip.test.d.ts +8 -0
  351. package/dist-react/components/ds-tooltip/ds-tooltip.types.d.ts +5 -10
  352. package/dist-react/components/ds-tooltip/styles/common.styles.d.ts +0 -2
  353. package/dist-react/components/ds-tooltip/styles/common.styles.js +130 -0
  354. package/dist-react/components/index.d.ts +4 -1
  355. package/dist-react/core/theme.constants.d.ts +1 -0
  356. package/dist-react/core/theme.constants.js +4 -0
  357. package/dist-react/decorators/customUiKitElement.js +23 -0
  358. package/dist-react/index.js +61 -9623
  359. package/dist-react/mixins/FormAssociatedMixin.js +14 -0
  360. package/dist-react/mixins/ViewportMixin.js +32 -0
  361. package/dist-react/mixins/inputStatesMixin.js +46 -0
  362. package/dist-react/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +430 -0
  363. package/dist-react/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +313 -0
  364. package/dist-react/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +132 -0
  365. package/dist-react/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
  366. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/context-request-event.js +13 -0
  367. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-consumer.js +29 -0
  368. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-provider.js +37 -0
  369. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/create-context.js +11 -0
  370. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/consume.js +22 -0
  371. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/provide.js +42 -0
  372. package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/value-notifier.js +36 -0
  373. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +50 -0
  374. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/base.js +9 -0
  375. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +37 -0
  376. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +19 -0
  377. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js +19 -0
  378. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.js +20 -0
  379. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +12 -0
  380. package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +252 -0
  381. package/dist-react/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +51 -0
  382. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +37 -0
  383. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +27 -0
  384. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/choose.js +12 -0
  385. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +34 -0
  386. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +10 -0
  387. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +61 -0
  388. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +27 -0
  389. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/when.js +11 -0
  390. package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +243 -0
  391. package/dist-react/styles/fonts-config.js +28 -0
  392. package/dist-react/utils/IconsManager.d.ts +1 -4
  393. package/dist-react/utils/IconsManager.js +39 -0
  394. package/dist-react/utils/PubSub.d.ts +0 -2
  395. package/dist-react/utils/PubSub.js +33 -0
  396. package/dist-react/utils/StylesRegistry/StylesRegistry.js +32 -0
  397. package/dist-react/utils/arrayConverter.js +19 -0
  398. package/dist-react/utils/booleanConverter.js +4 -0
  399. package/dist-react/utils/componentFactory.js +90 -0
  400. package/dist-react/utils/cssQueries.js +16 -0
  401. package/dist-react/utils/cssWithTokens.js +11 -0
  402. package/dist-react/utils/formatNumber/formatNumber.js +54 -0
  403. package/dist-react/utils/htmlWithTokens.js +11 -0
  404. package/dist-react/utils/objectConverter.js +11 -0
  405. package/dist-react/utils/validateMaxLength.js +6 -0
  406. package/package.json +12 -6
@@ -0,0 +1,42 @@
1
+ import { ContextProvider as c } from "../controllers/context-provider.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ function l({ context: a }) {
8
+ return (r, o) => {
9
+ const s = /* @__PURE__ */ new WeakMap();
10
+ if (typeof o == "object") return { get() {
11
+ return r.get.call(this);
12
+ }, set(t) {
13
+ return s.get(this).setValue(t), r.set.call(this, t);
14
+ }, init(t) {
15
+ return s.set(this, new c(this, { context: a, initialValue: t })), t;
16
+ } };
17
+ {
18
+ r.constructor.addInitializer(((e) => {
19
+ s.set(e, new c(e, { context: a }));
20
+ }));
21
+ const t = Object.getOwnPropertyDescriptor(r, o);
22
+ let n;
23
+ if (t === void 0) {
24
+ const e = /* @__PURE__ */ new WeakMap();
25
+ n = { get() {
26
+ return e.get(this);
27
+ }, set(i) {
28
+ s.get(this).setValue(i), e.set(this, i);
29
+ }, configurable: !0, enumerable: !0 };
30
+ } else {
31
+ const e = t.set;
32
+ n = { ...t, set(i) {
33
+ s.get(this).setValue(i), e == null || e.call(this, i);
34
+ } };
35
+ }
36
+ return void Object.defineProperty(r, o, n);
37
+ }
38
+ };
39
+ }
40
+ export {
41
+ l as provide
42
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ class r {
7
+ get value() {
8
+ return this.o;
9
+ }
10
+ set value(s) {
11
+ this.setValue(s);
12
+ }
13
+ setValue(s, t = !1) {
14
+ const i = t || !Object.is(s, this.o);
15
+ this.o = s, i && this.updateObservers();
16
+ }
17
+ constructor(s) {
18
+ this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
19
+ for (const [t, { disposer: i }] of this.subscriptions) t(this.o, i);
20
+ }, s !== void 0 && (this.value = s);
21
+ }
22
+ addCallback(s, t, i) {
23
+ if (!i) return void s(this.value);
24
+ this.subscriptions.has(s) || this.subscriptions.set(s, { disposer: () => {
25
+ this.subscriptions.delete(s);
26
+ }, consumerHost: t });
27
+ const { disposer: e } = this.subscriptions.get(s);
28
+ s(this.value, e);
29
+ }
30
+ clearCallbacks() {
31
+ this.subscriptions.clear();
32
+ }
33
+ }
34
+ export {
35
+ r as ValueNotifier
36
+ };
@@ -0,0 +1,50 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const r = globalThis, c = r.ShadowRoot && (r.ShadyCSS === void 0 || r.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, a = Symbol(), i = /* @__PURE__ */ new WeakMap();
7
+ class l {
8
+ constructor(s, t, o) {
9
+ if (this._$cssResult$ = !0, o !== a) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
+ this.cssText = s, this.t = t;
11
+ }
12
+ get styleSheet() {
13
+ let s = this.o;
14
+ const t = this.t;
15
+ if (c && s === void 0) {
16
+ const o = t !== void 0 && t.length === 1;
17
+ o && (s = i.get(t)), s === void 0 && ((this.o = s = new CSSStyleSheet()).replaceSync(this.cssText), o && i.set(t, s));
18
+ }
19
+ return s;
20
+ }
21
+ toString() {
22
+ return this.cssText;
23
+ }
24
+ }
25
+ const h = (e) => new l(typeof e == "string" ? e : e + "", void 0, a), p = (e, ...s) => {
26
+ const t = e.length === 1 ? e[0] : s.reduce(((o, S, u) => o + ((n) => {
27
+ if (n._$cssResult$ === !0) return n.cssText;
28
+ if (typeof n == "number") return n;
29
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
+ })(S) + e[u + 1]), e[0]);
31
+ return new l(t, e, a);
32
+ }, d = (e, s) => {
33
+ if (c) e.adoptedStyleSheets = s.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
34
+ else for (const t of s) {
35
+ const o = document.createElement("style"), S = r.litNonce;
36
+ S !== void 0 && o.setAttribute("nonce", S), o.textContent = t.cssText, e.appendChild(o);
37
+ }
38
+ }, y = c ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((s) => {
39
+ let t = "";
40
+ for (const o of s.cssRules) t += o.cssText;
41
+ return h(t);
42
+ })(e) : e;
43
+ export {
44
+ l as CSSResult,
45
+ d as adoptStyles,
46
+ p as css,
47
+ y as getCompatibleStyle,
48
+ c as supportsAdoptingStyleSheets,
49
+ h as unsafeCSS
50
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const o = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
7
+ export {
8
+ o as desc
9
+ };
@@ -0,0 +1,37 @@
1
+ import { notEqual as p, defaultConverter as l } from "../reactive-element.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ const d = { attribute: !0, type: String, converter: l, reflect: !1, hasChanged: p }, u = (t = d, s, e) => {
8
+ const { kind: n, metadata: i } = e;
9
+ let r = globalThis.litPropertyMetadata.get(i);
10
+ if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((t = Object.create(t)).wrapped = !0), r.set(e.name, t), n === "accessor") {
11
+ const { name: o } = e;
12
+ return { set(a) {
13
+ const c = s.get.call(this);
14
+ s.set.call(this, a), this.requestUpdate(o, c, t);
15
+ }, init(a) {
16
+ return a !== void 0 && this.C(o, void 0, t, a), a;
17
+ } };
18
+ }
19
+ if (n === "setter") {
20
+ const { name: o } = e;
21
+ return function(a) {
22
+ const c = this[o];
23
+ s.call(this, a), this.requestUpdate(o, c, t);
24
+ };
25
+ }
26
+ throw Error("Unsupported decorator location: " + n);
27
+ };
28
+ function f(t) {
29
+ return (s, e) => typeof e == "object" ? u(t, s, e) : ((n, i, r) => {
30
+ const o = i.hasOwnProperty(r);
31
+ return i.constructor.createProperty(r, n), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
32
+ })(t, s, e);
33
+ }
34
+ export {
35
+ f as property,
36
+ u as standardProperty
37
+ };
@@ -0,0 +1,19 @@
1
+ import { desc as a } from "./base.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2021 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ function d(t) {
8
+ return (c, i) => {
9
+ const { slot: r, selector: s } = t ?? {}, l = "slot" + (r ? `[name=${r}]` : ":not([name])");
10
+ return a(c, i, { get() {
11
+ var o;
12
+ const e = (o = this.renderRoot) == null ? void 0 : o.querySelector(l), n = (e == null ? void 0 : e.assignedElements(t)) ?? [];
13
+ return s === void 0 ? n : n.filter(((m) => m.matches(s)));
14
+ } });
15
+ };
16
+ }
17
+ export {
18
+ d as queryAssignedElements
19
+ };
@@ -0,0 +1,19 @@
1
+ import { desc as u } from "./base.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ function c(s) {
8
+ return (t, n) => {
9
+ const { slot: o } = s ?? {}, d = "slot" + (o ? `[name=${o}]` : ":not([name])");
10
+ return u(t, n, { get() {
11
+ var r;
12
+ const e = (r = this.renderRoot) == null ? void 0 : r.querySelector(d);
13
+ return (e == null ? void 0 : e.assignedNodes(s)) ?? [];
14
+ } });
15
+ };
16
+ }
17
+ export {
18
+ c as queryAssignedNodes
19
+ };
@@ -0,0 +1,20 @@
1
+ import { desc as s } from "./base.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ function a(e, c) {
8
+ return (t, o, i) => {
9
+ const n = (u) => {
10
+ var r;
11
+ return ((r = u.renderRoot) == null ? void 0 : r.querySelector(e)) ?? null;
12
+ };
13
+ return s(t, o, { get() {
14
+ return n(this);
15
+ } });
16
+ };
17
+ }
18
+ export {
19
+ a as query
20
+ };
@@ -0,0 +1,12 @@
1
+ import { property as r } from "./property.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ function a(t) {
8
+ return r({ ...t, state: !0, attribute: !1 });
9
+ }
10
+ export {
11
+ a as state
12
+ };
@@ -0,0 +1,252 @@
1
+ import { getCompatibleStyle as E, adoptStyles as m } from "./css-tag.js";
2
+ import { CSSResult as M, css as R, supportsAdoptingStyleSheets as z, unsafeCSS as j } from "./css-tag.js";
3
+ /**
4
+ * @license
5
+ * Copyright 2017 Google LLC
6
+ * SPDX-License-Identifier: BSD-3-Clause
7
+ */
8
+ const { is: g, defineProperty: b, getOwnPropertyDescriptor: P, getOwnPropertyNames: v, getOwnPropertySymbols: w, getPrototypeOf: S } = Object, n = globalThis, _ = n.trustedTypes, U = _ ? _.emptyScript : "", d = n.reactiveElementPolyfillSupport, c = (a, t) => a, u = { toAttribute(a, t) {
9
+ switch (t) {
10
+ case Boolean:
11
+ a = a ? U : null;
12
+ break;
13
+ case Object:
14
+ case Array:
15
+ a = a == null ? a : JSON.stringify(a);
16
+ }
17
+ return a;
18
+ }, fromAttribute(a, t) {
19
+ let e = a;
20
+ switch (t) {
21
+ case Boolean:
22
+ e = a !== null;
23
+ break;
24
+ case Number:
25
+ e = a === null ? null : Number(a);
26
+ break;
27
+ case Object:
28
+ case Array:
29
+ try {
30
+ e = JSON.parse(a);
31
+ } catch {
32
+ e = null;
33
+ }
34
+ }
35
+ return e;
36
+ } }, y = (a, t) => !g(a, t), $ = { attribute: !0, type: String, converter: u, reflect: !1, useDefault: !1, hasChanged: y };
37
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), n.litPropertyMetadata ?? (n.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
38
+ class l extends HTMLElement {
39
+ static addInitializer(t) {
40
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
41
+ }
42
+ static get observedAttributes() {
43
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
44
+ }
45
+ static createProperty(t, e = $) {
46
+ if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
47
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
48
+ i !== void 0 && b(this.prototype, t, i);
49
+ }
50
+ }
51
+ static getPropertyDescriptor(t, e, s) {
52
+ const { get: i, set: r } = P(this.prototype, t) ?? { get() {
53
+ return this[e];
54
+ }, set(o) {
55
+ this[e] = o;
56
+ } };
57
+ return { get: i, set(o) {
58
+ const h = i == null ? void 0 : i.call(this);
59
+ r == null || r.call(this, o), this.requestUpdate(t, h, s);
60
+ }, configurable: !0, enumerable: !0 };
61
+ }
62
+ static getPropertyOptions(t) {
63
+ return this.elementProperties.get(t) ?? $;
64
+ }
65
+ static _$Ei() {
66
+ if (this.hasOwnProperty(c("elementProperties"))) return;
67
+ const t = S(this);
68
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
69
+ }
70
+ static finalize() {
71
+ if (this.hasOwnProperty(c("finalized"))) return;
72
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(c("properties"))) {
73
+ const e = this.properties, s = [...v(e), ...w(e)];
74
+ for (const i of s) this.createProperty(i, e[i]);
75
+ }
76
+ const t = this[Symbol.metadata];
77
+ if (t !== null) {
78
+ const e = litPropertyMetadata.get(t);
79
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
80
+ }
81
+ this._$Eh = /* @__PURE__ */ new Map();
82
+ for (const [e, s] of this.elementProperties) {
83
+ const i = this._$Eu(e, s);
84
+ i !== void 0 && this._$Eh.set(i, e);
85
+ }
86
+ this.elementStyles = this.finalizeStyles(this.styles);
87
+ }
88
+ static finalizeStyles(t) {
89
+ const e = [];
90
+ if (Array.isArray(t)) {
91
+ const s = new Set(t.flat(1 / 0).reverse());
92
+ for (const i of s) e.unshift(E(i));
93
+ } else t !== void 0 && e.push(E(t));
94
+ return e;
95
+ }
96
+ static _$Eu(t, e) {
97
+ const s = e.attribute;
98
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
99
+ }
100
+ constructor() {
101
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
102
+ }
103
+ _$Ev() {
104
+ var t;
105
+ this._$ES = new Promise(((e) => this.enableUpdating = e)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach(((e) => e(this)));
106
+ }
107
+ addController(t) {
108
+ var e;
109
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
110
+ }
111
+ removeController(t) {
112
+ var e;
113
+ (e = this._$EO) == null || e.delete(t);
114
+ }
115
+ _$E_() {
116
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
117
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
118
+ t.size > 0 && (this._$Ep = t);
119
+ }
120
+ createRenderRoot() {
121
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
122
+ return m(t, this.constructor.elementStyles), t;
123
+ }
124
+ connectedCallback() {
125
+ var t;
126
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach(((e) => {
127
+ var s;
128
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
129
+ }));
130
+ }
131
+ enableUpdating(t) {
132
+ }
133
+ disconnectedCallback() {
134
+ var t;
135
+ (t = this._$EO) == null || t.forEach(((e) => {
136
+ var s;
137
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
138
+ }));
139
+ }
140
+ attributeChangedCallback(t, e, s) {
141
+ this._$AK(t, s);
142
+ }
143
+ _$ET(t, e) {
144
+ var r;
145
+ const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
146
+ if (i !== void 0 && s.reflect === !0) {
147
+ const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : u).toAttribute(e, s.type);
148
+ this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
149
+ }
150
+ }
151
+ _$AK(t, e) {
152
+ var r, o;
153
+ const s = this.constructor, i = s._$Eh.get(t);
154
+ if (i !== void 0 && this._$Em !== i) {
155
+ const h = s.getPropertyOptions(i), p = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter : u;
156
+ this._$Em = i;
157
+ const f = p.fromAttribute(e, h.type);
158
+ this[i] = f ?? ((o = this._$Ej) == null ? void 0 : o.get(i)) ?? f, this._$Em = null;
159
+ }
160
+ }
161
+ requestUpdate(t, e, s) {
162
+ var i;
163
+ if (t !== void 0) {
164
+ const r = this.constructor, o = this[t];
165
+ if (s ?? (s = r.getPropertyOptions(t)), !((s.hasChanged ?? y)(o, e) || s.useDefault && s.reflect && o === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, s)))) return;
166
+ this.C(t, e, s);
167
+ }
168
+ this.isUpdatePending === !1 && (this._$ES = this._$EP());
169
+ }
170
+ C(t, e, { useDefault: s, reflect: i, wrapped: r }, o) {
171
+ s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), r !== !0 || o !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
172
+ }
173
+ async _$EP() {
174
+ this.isUpdatePending = !0;
175
+ try {
176
+ await this._$ES;
177
+ } catch (e) {
178
+ Promise.reject(e);
179
+ }
180
+ const t = this.scheduleUpdate();
181
+ return t != null && await t, !this.isUpdatePending;
182
+ }
183
+ scheduleUpdate() {
184
+ return this.performUpdate();
185
+ }
186
+ performUpdate() {
187
+ var s;
188
+ if (!this.isUpdatePending) return;
189
+ if (!this.hasUpdated) {
190
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
191
+ for (const [r, o] of this._$Ep) this[r] = o;
192
+ this._$Ep = void 0;
193
+ }
194
+ const i = this.constructor.elementProperties;
195
+ if (i.size > 0) for (const [r, o] of i) {
196
+ const { wrapped: h } = o, p = this[r];
197
+ h !== !0 || this._$AL.has(r) || p === void 0 || this.C(r, void 0, o, p);
198
+ }
199
+ }
200
+ let t = !1;
201
+ const e = this._$AL;
202
+ try {
203
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach(((i) => {
204
+ var r;
205
+ return (r = i.hostUpdate) == null ? void 0 : r.call(i);
206
+ })), this.update(e)) : this._$EM();
207
+ } catch (i) {
208
+ throw t = !1, this._$EM(), i;
209
+ }
210
+ t && this._$AE(e);
211
+ }
212
+ willUpdate(t) {
213
+ }
214
+ _$AE(t) {
215
+ var e;
216
+ (e = this._$EO) == null || e.forEach(((s) => {
217
+ var i;
218
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
219
+ })), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
220
+ }
221
+ _$EM() {
222
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
223
+ }
224
+ get updateComplete() {
225
+ return this.getUpdateComplete();
226
+ }
227
+ getUpdateComplete() {
228
+ return this._$ES;
229
+ }
230
+ shouldUpdate(t) {
231
+ return !0;
232
+ }
233
+ update(t) {
234
+ this._$Eq && (this._$Eq = this._$Eq.forEach(((e) => this._$ET(e, this[e])))), this._$EM();
235
+ }
236
+ updated(t) {
237
+ }
238
+ firstUpdated(t) {
239
+ }
240
+ }
241
+ l.elementStyles = [], l.shadowRootOptions = { mode: "open" }, l[c("elementProperties")] = /* @__PURE__ */ new Map(), l[c("finalized")] = /* @__PURE__ */ new Map(), d == null || d({ ReactiveElement: l }), (n.reactiveElementVersions ?? (n.reactiveElementVersions = [])).push("2.1.1");
242
+ export {
243
+ M as CSSResult,
244
+ l as ReactiveElement,
245
+ m as adoptStyles,
246
+ R as css,
247
+ u as defaultConverter,
248
+ E as getCompatibleStyle,
249
+ y as notEqual,
250
+ z as supportsAdoptingStyleSheets,
251
+ j as unsafeCSS
252
+ };
@@ -0,0 +1,51 @@
1
+ import { ReactiveElement as i } from "../../../@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
2
+ import { defaultConverter as m, notEqual as C } from "../../../@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
3
+ import { render as a, noChange as l } from "../../../lit-html@3.3.1/node_modules/lit-html/lit-html.js";
4
+ import { _$LH as E, html as R, nothing as $ } from "../../../lit-html@3.3.1/node_modules/lit-html/lit-html.js";
5
+ /**
6
+ * @license
7
+ * Copyright 2017 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ */
10
+ const t = globalThis;
11
+ class r extends i {
12
+ constructor() {
13
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
14
+ }
15
+ createRenderRoot() {
16
+ var n;
17
+ const e = super.createRenderRoot();
18
+ return (n = this.renderOptions).renderBefore ?? (n.renderBefore = e.firstChild), e;
19
+ }
20
+ update(e) {
21
+ const n = this.render();
22
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = a(n, this.renderRoot, this.renderOptions);
23
+ }
24
+ connectedCallback() {
25
+ var e;
26
+ super.connectedCallback(), (e = this._$Do) == null || e.setConnected(!0);
27
+ }
28
+ disconnectedCallback() {
29
+ var e;
30
+ super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
31
+ }
32
+ render() {
33
+ return l;
34
+ }
35
+ }
36
+ var s;
37
+ r._$litElement$ = !0, r.finalized = !0, (s = t.litElementHydrateSupport) == null || s.call(t, { LitElement: r });
38
+ const o = t.litElementPolyfillSupport;
39
+ o == null || o({ LitElement: r });
40
+ (t.litElementVersions ?? (t.litElementVersions = [])).push("4.2.1");
41
+ export {
42
+ r as LitElement,
43
+ i as ReactiveElement,
44
+ E as _$LH,
45
+ m as defaultConverter,
46
+ R as html,
47
+ l as noChange,
48
+ C as notEqual,
49
+ $ as nothing,
50
+ a as render
51
+ };
@@ -0,0 +1,37 @@
1
+ import { _$LH as l } from "./lit-html.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2020 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ const { I: f } = l, m = () => document.createComment(""), u = (e, A, t) => {
8
+ var o;
9
+ const $ = e._$AA.parentNode, i = A === void 0 ? e._$AB : A._$AA;
10
+ if (t === void 0) {
11
+ const s = $.insertBefore(m(), i), _ = $.insertBefore(m(), i);
12
+ t = new f(s, _, e, e.options);
13
+ } else {
14
+ const s = t._$AB.nextSibling, _ = t._$AM, a = _ !== e;
15
+ if (a) {
16
+ let r;
17
+ (o = t._$AQ) == null || o.call(t, e), t._$AM = e, t._$AP !== void 0 && (r = e._$AU) !== _._$AU && t._$AP(r);
18
+ }
19
+ if (s !== i || a) {
20
+ let r = t._$AA;
21
+ for (; r !== s; ) {
22
+ const d = r.nextSibling;
23
+ $.insertBefore(r, i), r = d;
24
+ }
25
+ }
26
+ }
27
+ return t;
28
+ }, v = (e, A, t = e) => (e._$AI(A, t), e), c = {}, p = (e, A = c) => e._$AH = A, B = (e) => e._$AH, P = (e) => {
29
+ e._$AR(), e._$AA.remove();
30
+ };
31
+ export {
32
+ B as getCommittedValue,
33
+ u as insertPart,
34
+ P as removePart,
35
+ v as setChildPartValue,
36
+ p as setCommittedValue
37
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const s = { ATTRIBUTE: 1, CHILD: 2 }, $ = (i) => (...t) => ({ _$litDirective$: i, values: t });
7
+ class _ {
8
+ constructor(t) {
9
+ }
10
+ get _$AU() {
11
+ return this._$AM._$AU;
12
+ }
13
+ _$AT(t, e, r) {
14
+ this._$Ct = t, this._$AM = e, this._$Ci = r;
15
+ }
16
+ _$AS(t, e) {
17
+ return this.update(t, e);
18
+ }
19
+ update(t, e) {
20
+ return this.render(...e);
21
+ }
22
+ }
23
+ export {
24
+ _ as Directive,
25
+ s as PartType,
26
+ $ as directive
27
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const s = (e, n, o) => {
7
+ for (const r of n) if (r[0] === e) return (0, r[1])();
8
+ return o == null ? void 0 : o();
9
+ };
10
+ export {
11
+ s as choose
12
+ };
@@ -0,0 +1,34 @@
1
+ import { noChange as o } from "../lit-html.js";
2
+ import { directive as h, Directive as c, PartType as d } from "../directive.js";
3
+ /**
4
+ * @license
5
+ * Copyright 2018 Google LLC
6
+ * SPDX-License-Identifier: BSD-3-Clause
7
+ */
8
+ const f = h(class extends c {
9
+ constructor(s) {
10
+ var e;
11
+ if (super(s), s.type !== d.ATTRIBUTE || s.name !== "class" || ((e = s.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
12
+ }
13
+ render(s) {
14
+ return " " + Object.keys(s).filter(((e) => s[e])).join(" ") + " ";
15
+ }
16
+ update(s, [e]) {
17
+ var n, i;
18
+ if (this.st === void 0) {
19
+ this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter(((t) => t !== ""))));
20
+ for (const t in e) e[t] && !((n = this.nt) != null && n.has(t)) && this.st.add(t);
21
+ return this.render(e);
22
+ }
23
+ const r = s.element.classList;
24
+ for (const t of this.st) t in e || (r.remove(t), this.st.delete(t));
25
+ for (const t in e) {
26
+ const a = !!e[t];
27
+ a === this.st.has(t) || (i = this.nt) != null && i.has(t) || (a ? (r.add(t), this.st.add(t)) : (r.remove(t), this.st.delete(t)));
28
+ }
29
+ return o;
30
+ }
31
+ });
32
+ export {
33
+ f as classMap
34
+ };
@@ -0,0 +1,10 @@
1
+ import { nothing as i } from "../lit-html.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2018 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ const t = (o) => o ?? i;
8
+ export {
9
+ t as ifDefined
10
+ };