@odx/foundation 1.0.0-beta.13 → 1.0.0-beta.130

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 (276) hide show
  1. package/README.md +7 -8
  2. package/dist/_virtual_class-decorator-runtime.js +13 -0
  3. package/dist/components/accordion/accordion.d.ts +14 -2
  4. package/dist/components/accordion-item/accordion-item.d.ts +25 -0
  5. package/dist/components/{accordion → accordion-panel}/accordion-panel.d.ts +0 -1
  6. package/dist/components/action-button/action-button.d.ts +26 -0
  7. package/dist/components/anchor-navigation/anchor-navigation.d.ts +3 -4
  8. package/dist/components/anchor-navigation/anchor-observer.d.ts +9 -7
  9. package/dist/components/anchor-navigation/index.d.ts +0 -1
  10. package/dist/components/area-header/area-header.d.ts +11 -5
  11. package/dist/components/auto-grid/auto-grid.d.ts +16 -0
  12. package/dist/components/avatar/avatar.d.ts +32 -7
  13. package/dist/components/badge/badge.d.ts +18 -6
  14. package/dist/components/breadcrumbs/breadcrumbs-item.d.ts +1 -4
  15. package/dist/components/breadcrumbs/breadcrumbs.d.ts +2 -5
  16. package/dist/components/breadcrumbs/index.d.ts +1 -2
  17. package/dist/components/button/button.d.ts +29 -24
  18. package/dist/components/button-group/button-group.d.ts +7 -1
  19. package/dist/components/card/card.d.ts +3 -2
  20. package/dist/components/checkbox/checkbox.d.ts +3 -4
  21. package/dist/components/checkbox-group/checkbox-group.d.ts +8 -4
  22. package/dist/components/chip/chip.d.ts +16 -4
  23. package/dist/components/combobox/autocomplete.d.ts +24 -0
  24. package/dist/components/content-box/content-box.d.ts +0 -1
  25. package/dist/components/dropdown/dropdown.d.ts +9 -13
  26. package/dist/components/empty-state/empty-state.d.ts +37 -0
  27. package/dist/components/form-field/form-field.d.ts +0 -1
  28. package/dist/components/format/base-format.d.ts +0 -1
  29. package/dist/components/format/format-bytes.d.ts +1 -2
  30. package/dist/components/format/format-date.d.ts +0 -1
  31. package/dist/components/format/format-number.d.ts +1 -2
  32. package/dist/components/format/index.d.ts +0 -1
  33. package/dist/components/format/relative-time.d.ts +2 -3
  34. package/dist/components/gradient-overlay/gradient-overlay.d.ts +21 -0
  35. package/dist/components/header/header-actions.d.ts +0 -1
  36. package/dist/components/header/header.d.ts +0 -1
  37. package/dist/components/header/index.d.ts +1 -2
  38. package/dist/components/highlight/highlight.d.ts +27 -8
  39. package/dist/components/icon-button/icon-button.d.ts +12 -17
  40. package/dist/components/image/image.d.ts +4 -5
  41. package/dist/components/inline-message/inline-message.d.ts +19 -6
  42. package/dist/components/input/input.d.ts +17 -10
  43. package/dist/components/kpi/kpi.d.ts +39 -0
  44. package/dist/components/line-clamp/line-clamp.d.ts +2 -3
  45. package/dist/components/link/link.d.ts +3 -4
  46. package/dist/components/list/list.d.ts +3 -1
  47. package/dist/components/{list → list-item}/list-item.d.ts +7 -6
  48. package/dist/components/loader.d.ts +1 -0
  49. package/dist/components/loading-overlay/loading-overlay.d.ts +2 -4
  50. package/dist/components/loading-spinner/loading-spinner.d.ts +1 -3
  51. package/dist/components/logo/logo.d.ts +11 -4
  52. package/dist/components/main-menu/index.d.ts +1 -3
  53. package/dist/components/main-menu/main-menu-button.d.ts +0 -1
  54. package/dist/components/main-menu/main-menu-subtitle.d.ts +0 -1
  55. package/dist/components/main-menu/main-menu-title.d.ts +0 -1
  56. package/dist/components/main-menu/main-menu.d.ts +4 -5
  57. package/dist/components/main.d.ts +63 -56
  58. package/dist/components/menu/index.d.ts +1 -2
  59. package/dist/components/menu/menu-label.d.ts +0 -1
  60. package/dist/components/menu/menu.d.ts +3 -4
  61. package/dist/components/menu-item/menu-item.d.ts +5 -4
  62. package/dist/components/modal/modal.d.ts +8 -7
  63. package/dist/components/navigation-item/navigation-item.d.ts +15 -8
  64. package/dist/components/navigation-item-group/navigation-item-group.d.ts +20 -0
  65. package/dist/components/option/option.d.ts +1 -2
  66. package/dist/components/page/page.d.ts +16 -7
  67. package/dist/components/page-layout/page-layout.d.ts +0 -1
  68. package/dist/components/pagination/pagination.d.ts +0 -1
  69. package/dist/components/popover/popover-host.d.ts +34 -0
  70. package/dist/components/popover/popover-observer.d.ts +10 -0
  71. package/dist/{cdk → components}/popover/popover.d.ts +1 -1
  72. package/dist/components/progress-bar/base-progress.d.ts +13 -0
  73. package/dist/components/progress-bar/progress-bar.d.ts +2 -14
  74. package/dist/components/progress-ring/progress-ring.d.ts +33 -0
  75. package/dist/components/radio-button/radio-button.d.ts +1 -2
  76. package/dist/components/radio-group/radio-group.d.ts +8 -4
  77. package/dist/components/rail-navigation/rail-navigation.d.ts +6 -4
  78. package/dist/components/search-bar/index.d.ts +0 -2
  79. package/dist/components/search-bar/search-bar.d.ts +9 -4
  80. package/dist/components/search-bar/search-bar.events.d.ts +0 -1
  81. package/dist/components/select/select.d.ts +14 -6
  82. package/dist/components/separator/separator.d.ts +9 -5
  83. package/dist/components/skeleton/skeleton.d.ts +21 -7
  84. package/dist/components/slider/index.d.ts +2 -3
  85. package/dist/components/slider/slider-handle.d.ts +7 -7
  86. package/dist/components/slider/slider-marks.d.ts +1 -2
  87. package/dist/components/slider/slider.d.ts +2 -4
  88. package/dist/components/slider/slider.models.d.ts +3 -3
  89. package/dist/components/spacer/spacer.d.ts +0 -1
  90. package/dist/components/spinbox/spinbox.d.ts +15 -13
  91. package/dist/components/status/status.d.ts +26 -0
  92. package/dist/components/switch/switch.d.ts +1 -2
  93. package/dist/components/table/index.d.ts +3 -4
  94. package/dist/components/table/table-body.d.ts +0 -3
  95. package/dist/components/table/table-cell.d.ts +0 -3
  96. package/dist/components/table/table-checkbox-cell.d.ts +0 -1
  97. package/dist/components/table/table-header-cell.d.ts +0 -1
  98. package/dist/components/table/table-header.d.ts +2 -3
  99. package/dist/components/table/table-row.d.ts +0 -1
  100. package/dist/components/table/table.d.ts +0 -1
  101. package/dist/components/table/table.models.d.ts +0 -1
  102. package/dist/components/text/text.d.ts +27 -5
  103. package/dist/components/title/title.d.ts +18 -6
  104. package/dist/components/toast/toast.d.ts +18 -4
  105. package/dist/components/toggle-button/toggle-button.d.ts +2 -6
  106. package/dist/components/toggle-button-group/toggle-button-group.d.ts +11 -0
  107. package/dist/components/toggle-content/toggle-content.d.ts +2 -3
  108. package/dist/components/tooltip/tooltip.d.ts +36 -4
  109. package/dist/components/translate/translate.d.ts +0 -1
  110. package/dist/components/visually-hidden/visually-hidden.d.ts +0 -3
  111. package/dist/components.js +3195 -3756
  112. package/dist/i18n/{lib/config.d.ts → config.d.ts} +0 -1
  113. package/dist/i18n/{lib/format.d.ts → format.d.ts} +0 -1
  114. package/dist/i18n/{lib/is-localized.d.ts → is-localized.d.ts} +2 -3
  115. package/dist/i18n/{lib/localization.d.ts → localization.d.ts} +0 -2
  116. package/dist/i18n/main.d.ts +6 -7
  117. package/dist/i18n/{lib/models.d.ts → models.d.ts} +0 -1
  118. package/dist/i18n/{lib/translate.d.ts → translate.d.ts} +1 -3
  119. package/dist/i18n.js +15 -28
  120. package/dist/lib/control/checkbox-form-control.d.ts +13 -0
  121. package/dist/lib/control/checkbox-group-form-control.d.ts +22 -0
  122. package/dist/lib/control/form-control.d.ts +28 -0
  123. package/dist/lib/control/listbox-form-control.d.ts +25 -0
  124. package/dist/lib/control/number-form-control.d.ts +12 -0
  125. package/dist/lib/control/option-control.d.ts +23 -0
  126. package/dist/lib/control/radio-group-form-control.d.ts +15 -0
  127. package/dist/lib/controllers/active-descendants-controller.d.ts +28 -0
  128. package/dist/{cdk/drag-drop → lib/controllers}/drag.controller.d.ts +2 -2
  129. package/dist/lib/controllers/expandable-controller.d.ts +1 -3
  130. package/dist/lib/custom-element.d.ts +10 -6
  131. package/dist/lib/interactive/interactive-element.d.ts +29 -0
  132. package/dist/{cdk → lib}/interactive/interactive-link.d.ts +9 -4
  133. package/dist/lib/main.d.ts +27 -24
  134. package/dist/lib/mixins/can-be-disabled.d.ts +1 -10
  135. package/dist/lib/mixins/can-be-expanded.d.ts +5 -8
  136. package/dist/lib/mixins/is-draggable.d.ts +15 -0
  137. package/dist/{cdk/drag-drop/drag-events.d.ts → lib/models/drag-event.d.ts} +0 -1
  138. package/dist/lib/models/layout.d.ts +30 -0
  139. package/dist/lib/models/placement.d.ts +16 -0
  140. package/dist/lib/models/shape.d.ts +6 -0
  141. package/dist/lib/models/size.d.ts +10 -0
  142. package/dist/lib/models/variant.d.ts +23 -0
  143. package/dist/lib/utils/compute-popover-placement.d.ts +12 -0
  144. package/dist/lib/utils/dom.d.ts +26 -16
  145. package/dist/lib/utils/get-unique-id.d.ts +6 -24
  146. package/dist/lib/utils/lit.d.ts +2 -5
  147. package/dist/lib/utils/shared-resize-observer.d.ts +0 -8
  148. package/dist/lib/utils/{a11y.d.ts → types.d.ts} +2 -6
  149. package/dist/loader.js +6 -11
  150. package/dist/main.js +1112 -732
  151. package/dist/styles.css +1 -1
  152. package/dist/vendor.js +1986 -0
  153. package/package.json +49 -27
  154. package/dist/cdk/control/checkbox-form-control.d.ts +0 -15
  155. package/dist/cdk/control/checkbox-group-form-control.d.ts +0 -21
  156. package/dist/cdk/control/listbox-form-control.d.ts +0 -22
  157. package/dist/cdk/control/option-control.d.ts +0 -24
  158. package/dist/cdk/control/radio-group-form-control.d.ts +0 -22
  159. package/dist/cdk/drag-drop/is-draggable.d.ts +0 -18
  160. package/dist/cdk/interactive/interactive-element.d.ts +0 -28
  161. package/dist/cdk/main.d.ts +0 -14
  162. package/dist/cdk/popover/popover-host.d.ts +0 -25
  163. package/dist/cdk/popover/popover.models.d.ts +0 -34
  164. package/dist/cdk/popover/popover.utils.d.ts +0 -5
  165. package/dist/cdk.js +0 -948
  166. package/dist/components/accordion/accordion-header.d.ts +0 -18
  167. package/dist/components/accordion/index.d.ts +0 -4
  168. package/dist/components/action-group/action-group.d.ts +0 -24
  169. package/dist/components/action-group/index.d.ts +0 -2
  170. package/dist/components/area-header/area-header.models.d.ts +0 -12
  171. package/dist/components/area-header/index.d.ts +0 -3
  172. package/dist/components/avatar/avatar.models.d.ts +0 -13
  173. package/dist/components/avatar/index.d.ts +0 -3
  174. package/dist/components/avatar-group/avatar-group.d.ts +0 -15
  175. package/dist/components/avatar-group/index.d.ts +0 -2
  176. package/dist/components/badge/badge.models.d.ts +0 -14
  177. package/dist/components/badge/index.d.ts +0 -3
  178. package/dist/components/button/button.models.d.ts +0 -26
  179. package/dist/components/button/index.d.ts +0 -3
  180. package/dist/components/button-group/index.d.ts +0 -2
  181. package/dist/components/card/index.d.ts +0 -2
  182. package/dist/components/checkbox/index.d.ts +0 -2
  183. package/dist/components/checkbox-group/checkbox-group.models.d.ts +0 -6
  184. package/dist/components/checkbox-group/index.d.ts +0 -3
  185. package/dist/components/chip/chip.models.d.ts +0 -10
  186. package/dist/components/chip/index.d.ts +0 -3
  187. package/dist/components/circular-progress-bar/circular-progress-bar.d.ts +0 -42
  188. package/dist/components/circular-progress-bar/circular-progress-bar.models.d.ts +0 -7
  189. package/dist/components/circular-progress-bar/index.d.ts +0 -3
  190. package/dist/components/combobox/combobox.d.ts +0 -20
  191. package/dist/components/combobox/index.d.ts +0 -2
  192. package/dist/components/content-box/content-box.models.d.ts +0 -2
  193. package/dist/components/content-box/index.d.ts +0 -2
  194. package/dist/components/dropdown/dropdown.models.d.ts +0 -6
  195. package/dist/components/dropdown/index.d.ts +0 -3
  196. package/dist/components/form-field/index.d.ts +0 -2
  197. package/dist/components/headline/headline.d.ts +0 -13
  198. package/dist/components/headline/headline.models.d.ts +0 -8
  199. package/dist/components/headline/index.d.ts +0 -3
  200. package/dist/components/highlight/index.d.ts +0 -2
  201. package/dist/components/icon-button/index.d.ts +0 -2
  202. package/dist/components/image/index.d.ts +0 -2
  203. package/dist/components/inline-message/index.d.ts +0 -3
  204. package/dist/components/inline-message/inline-message.models.d.ts +0 -12
  205. package/dist/components/input/index.d.ts +0 -3
  206. package/dist/components/input/input.models.d.ts +0 -7
  207. package/dist/components/line-clamp/index.d.ts +0 -2
  208. package/dist/components/link/base-link.d.ts +0 -15
  209. package/dist/components/link/index.d.ts +0 -3
  210. package/dist/components/list/index.d.ts +0 -3
  211. package/dist/components/loading-overlay/index.d.ts +0 -2
  212. package/dist/components/loading-spinner/index.d.ts +0 -2
  213. package/dist/components/logo/index.d.ts +0 -3
  214. package/dist/components/logo/logo.models.d.ts +0 -9
  215. package/dist/components/main-menu/main-menu-link.d.ts +0 -9
  216. package/dist/components/menu-item/index.d.ts +0 -2
  217. package/dist/components/modal/index.d.ts +0 -3
  218. package/dist/components/modal/modal.models.d.ts +0 -5
  219. package/dist/components/navigation-item/index.d.ts +0 -3
  220. package/dist/components/navigation-item/navigation-item.models.d.ts +0 -6
  221. package/dist/components/option/index.d.ts +0 -2
  222. package/dist/components/page/index.d.ts +0 -3
  223. package/dist/components/page/page.models.d.ts +0 -10
  224. package/dist/components/page-layout/index.d.ts +0 -2
  225. package/dist/components/pagination/index.d.ts +0 -2
  226. package/dist/components/progress-bar/index.d.ts +0 -3
  227. package/dist/components/progress-bar/progress-bar.models.d.ts +0 -7
  228. package/dist/components/radio-button/index.d.ts +0 -2
  229. package/dist/components/radio-group/index.d.ts +0 -3
  230. package/dist/components/radio-group/radio-group.models.d.ts +0 -6
  231. package/dist/components/rail-navigation/index.d.ts +0 -2
  232. package/dist/components/search-bar/search-bar.models.d.ts +0 -6
  233. package/dist/components/select/index.d.ts +0 -2
  234. package/dist/components/separator/index.d.ts +0 -3
  235. package/dist/components/separator/separator.models.d.ts +0 -6
  236. package/dist/components/skeleton/index.d.ts +0 -3
  237. package/dist/components/skeleton/skeleton.models.d.ts +0 -13
  238. package/dist/components/spacer/index.d.ts +0 -2
  239. package/dist/components/spacer/spacer.models.d.ts +0 -7
  240. package/dist/components/spinbox/index.d.ts +0 -2
  241. package/dist/components/stack/index.d.ts +0 -3
  242. package/dist/components/stack/stack.d.ts +0 -18
  243. package/dist/components/stack/stack.models.d.ts +0 -25
  244. package/dist/components/switch/index.d.ts +0 -2
  245. package/dist/components/text/index.d.ts +0 -3
  246. package/dist/components/text/text.models.d.ts +0 -14
  247. package/dist/components/title/index.d.ts +0 -3
  248. package/dist/components/title/title.models.d.ts +0 -10
  249. package/dist/components/toast/index.d.ts +0 -3
  250. package/dist/components/toast/toast.models.d.ts +0 -5
  251. package/dist/components/toggle-button/index.d.ts +0 -2
  252. package/dist/components/toggle-content/index.d.ts +0 -2
  253. package/dist/components/tooltip/index.d.ts +0 -3
  254. package/dist/components/tooltip/tooltip.models.d.ts +0 -8
  255. package/dist/components/translate/index.d.ts +0 -2
  256. package/dist/components/visually-hidden/index.d.ts +0 -2
  257. package/dist/lib/controllers/active-desendants-controller.d.ts +0 -25
  258. package/dist/lib/controllers/focus-trap.controller.d.ts +0 -14
  259. package/dist/lib/mixins/can-be-highlighted.d.ts +0 -8
  260. package/dist/lib/mixins/can-be-readonly.d.ts +0 -7
  261. package/dist/lib/mixins/can-be-required.d.ts +0 -7
  262. package/dist/lib/mixins/can-be-selected.d.ts +0 -9
  263. package/dist/lib/mixins/can-be-validated.d.ts +0 -12
  264. package/dist/lib/mixins/form-control.d.ts +0 -17
  265. package/dist/lib/mixins/number-control.d.ts +0 -12
  266. package/dist/lib/mixins/with-loading-state.d.ts +0 -8
  267. package/dist/lib/utils/date.d.ts +0 -2
  268. package/dist/lib/utils/dedupe-mixin.d.ts +0 -3
  269. package/dist/lib/utils/empty-slot-fallback-fix.d.ts +0 -8
  270. package/dist/lib/utils/keyboard-events.d.ts +0 -43
  271. package/dist/lib/utils/query-assigned-element.d.ts +0 -16
  272. package/dist/lib/utils/search-text-content.d.ts +0 -8
  273. package/dist/lib/utils/shared-intersection-observer.d.ts +0 -18
  274. package/dist/lib/utils/transformers.d.ts +0 -5
  275. package/dist/loader/main.d.ts +0 -2
  276. package/dist/vendor-dJxQG085.js +0 -138
package/README.md CHANGED
@@ -1,26 +1,25 @@
1
1
 
2
2
  # @odx/foundation
3
3
 
4
- The `@odx/foundation` package is an integral element of the ODX Design System, offering essential building blocks for developing consistent and cohesive user interfaces. This package provides foundational styles for layout, typography, and global styles, ensuring a unified design across all ODX projects.
4
+ The `@odx/foundation` package is a core part of the ODX Design System, providing essential building blocks for creating consistent and cohesive user interfaces. This package includes foundational components, styles, and utilities to ensure a unified design across all ODX projects.
5
5
 
6
6
  ### Features
7
7
 
8
- - **Layout Styles**: Standardized layout styles to maintain consistency across different pages and elements.
9
- - **Typography**: Predefined typography styles for headers, paragraphs, and other text elements to ensure a cohesive look and feel.
10
- - **Global Styles**: Comprehensive global styles that set the base for your application's design, including colors, spacing, and more.
11
-
12
- ### Prequisites
8
+ - **Components**: Reusable web components, including buttons, tables, headers, and more.
9
+ - **i18n**: Internationalization utilities for building multilingual applications, with support for locale changes and translations.
10
+ - **Global Styles**: Comprehensive global styles, including colors, spacing, and themes.
13
11
 
12
+ ### Prerequisites
14
13
 
15
14
  ### Install
16
15
 
17
16
  [<img alt="NPM Version (with dist tag)" src="https://img.shields.io/npm/v/%40odx%2Ffoundation/latest?style=flat-square">](https://npmjs.org/package/@odx/foundation)
18
17
 
19
18
 
20
- To install `@odx/foundation` in your project, run the following command:
19
+ To install `@odx/foundation` and it's peer dependencies in your project, run the following command:
21
20
 
22
21
  ```bash
23
- npm install @odx/foundation @odx/icons@next --save
22
+ npm install @odx/design-tokens @odx/foundation @odx/icons@next --save
24
23
  ```
25
24
 
26
25
  > We depend on the <a href="https://lit.dev" target="_blank" rel="noopener">**Lit package**</a> for building web elements because it offers a lightweight, efficient framework with a simple syntax for creating fast, reusable elements. Its powerful templating system ensures high performance and seamless user experience. Lit is also highly interoperable, making it easy to integrate with other frameworks and libraries.
@@ -0,0 +1,13 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+
4
+ const __decorateClass = (decorators, target, key, kind) => {
5
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
7
+ if (decorator = decorators[i])
8
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9
+ if (kind && result) __defProp(target, key, result);
10
+ return result;
11
+ };
12
+
13
+ export { __decorateClass as _ };
@@ -1,11 +1,23 @@
1
- import { CustomElement } from '../../lib/main.js';
1
+ import { CustomElement, ValuesOf } from '../../lib/main.js';
2
+ import { PropertyValues } from 'lit';
3
+ import { AccordionItemSize, OdxAccordionItem } from '../accordion-item/accordion-item.js';
2
4
  declare global {
3
5
  interface HTMLElementTagNameMap {
4
6
  'odx-accordion': OdxAccordion;
5
7
  }
6
8
  }
9
+ export type AccordionIndicatorPosition = ValuesOf<typeof AccordionIndicatorPosition>;
10
+ export declare const AccordionIndicatorPosition: {
11
+ readonly START: "start";
12
+ readonly END: "end";
13
+ };
7
14
  export declare class OdxAccordion extends CustomElement {
15
+ /** @internal */
16
+ items: OdxAccordionItem[];
17
+ indicatorPosition: AccordionIndicatorPosition;
8
18
  multiple: boolean;
19
+ size?: AccordionItemSize;
9
20
  constructor();
21
+ protected updated(props: PropertyValues<this>): void;
22
+ toggleAll(state?: boolean, emitEvent?: boolean): void;
10
23
  }
11
- //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1,25 @@
1
+ import { CanBeExpanded, InteractiveElement, ValuesOf } from '../../lib/main.js';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'odx-accordion-item': OdxAccordionItem;
6
+ }
7
+ }
8
+ export type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
9
+ export declare const AccordionItemSize: Pick<{
10
+ readonly XS: "xs";
11
+ readonly SM: "sm";
12
+ readonly MD: "md";
13
+ readonly LG: "lg";
14
+ readonly XL: "xl";
15
+ readonly XXL: "xxl";
16
+ }, "SM" | "MD" | "LG">;
17
+ declare const OdxAccordionItem_base: import('../../lib/main.js').Constructor<CanBeExpanded> & typeof InteractiveElement;
18
+ export declare class OdxAccordionItem extends OdxAccordionItem_base {
19
+ #private;
20
+ size: AccordionItemSize;
21
+ get panel(): HTMLElement | null;
22
+ protected renderContent(): TemplateResult;
23
+ protected willUpdate(props: PropertyValues<this>): void;
24
+ }
25
+ export {};
@@ -10,4 +10,3 @@ export declare class OdxAccordionPanel extends CustomElement {
10
10
  connectedCallback(): void;
11
11
  protected render(): TemplateResult;
12
12
  }
13
- //# sourceMappingURL=accordion-panel.d.ts.map
@@ -0,0 +1,26 @@
1
+ import { OdxIconName } from '@odx/icons';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
+ import { OdxButton } from '../button/button.js';
4
+ import { OdxTooltip } from '../tooltip/tooltip.js';
5
+ declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'odx-action-button': OdxActionButton;
8
+ }
9
+ }
10
+ export declare class OdxActionButton extends OdxButton {
11
+ #private;
12
+ protected tooltip?: OdxTooltip;
13
+ /** @internal */
14
+ protected isStatusMessageShown: boolean;
15
+ done: boolean;
16
+ icon: OdxIconName | undefined;
17
+ statusIcon: OdxIconName;
18
+ statusMessage: string;
19
+ statusTimeout: number;
20
+ statusMessageTimeout: number;
21
+ replaceContent: boolean;
22
+ protected firstUpdated(props: PropertyValues<this>): void;
23
+ protected render(): TemplateResult;
24
+ protected renderContent(): TemplateResult;
25
+ protected willUpdate(props: PropertyValues<this>): void;
26
+ }
@@ -1,5 +1,5 @@
1
1
  import { CustomElement } from '../../lib/main.js';
2
- import { PropertyValueMap, TemplateResult } from 'lit';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
3
  declare global {
4
4
  interface HTMLElementTagNameMap {
5
5
  'odx-anchor-navigation': OdxAnchorNavigation;
@@ -8,14 +8,13 @@ declare global {
8
8
  declare const OdxAnchorNavigation_base: typeof CustomElement;
9
9
  export declare class OdxAnchorNavigation extends OdxAnchorNavigation_base {
10
10
  #private;
11
+ private navigationItems;
11
12
  container?: string;
12
13
  vertical: boolean;
13
14
  constructor();
14
15
  connectedCallback(): void;
15
16
  disconnectedCallback(): void;
16
- renderAnchorLink(anchor: Element, isActive?: boolean): unknown;
17
17
  protected render(): TemplateResult;
18
- protected updated(props: PropertyValueMap<this>): void;
18
+ protected updated(props: PropertyValues<this>): void;
19
19
  }
20
20
  export {};
21
- //# sourceMappingURL=anchor-navigation.d.ts.map
@@ -1,11 +1,13 @@
1
+ import { InteractiveLink } from '../../lib/main.js';
2
+ export interface AnchorObserverOptions {
3
+ threshold?: number;
4
+ }
1
5
  export declare class AnchorObserver {
2
6
  #private;
3
- readonly root: Element | Document;
4
- readonly anchors: import('@preact/signals-core').Signal<Element[]>;
5
- readonly visibleAnchors: import('@preact/signals-core').ReadonlySignal<Element[]>;
6
- constructor(root?: Element | null);
7
- observe(): void;
7
+ readonly root: Document | Element;
8
+ readonly activeAnchors: import('@preact/signals-core').ReadonlySignal<InteractiveLink[]>;
9
+ constructor(root: Document | Element, options?: AnchorObserverOptions);
8
10
  disconnect(): void;
9
- updateAnchors: () => void;
11
+ isAnchorActive(anchor: InteractiveLink): boolean;
12
+ updateAnchors(anchors?: InteractiveLink[]): void;
10
13
  }
11
- //# sourceMappingURL=anchor-observer.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from './anchor-navigation.js';
2
2
  export * from './anchor-observer.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,14 +1,20 @@
1
- import { CustomElement } from '../../lib/main.js';
1
+ import { CustomElement, ValuesOf } from '../../lib/main.js';
2
2
  import { TemplateResult } from 'lit';
3
- import { AreaHeaderSize, AreaHeaderVariant } from './area-header.models.js';
4
3
  declare global {
5
4
  interface HTMLElementTagNameMap {
6
5
  'odx-area-header': OdxAreaHeader;
7
6
  }
8
7
  }
8
+ export type AreaHeaderSize = ValuesOf<typeof AreaHeaderSize>;
9
+ export declare const AreaHeaderSize: Pick<{
10
+ readonly XS: "xs";
11
+ readonly SM: "sm";
12
+ readonly MD: "md";
13
+ readonly LG: "lg";
14
+ readonly XL: "xl";
15
+ readonly XXL: "xxl";
16
+ }, "SM" | "MD" | "LG" | "XL">;
9
17
  export declare class OdxAreaHeader extends CustomElement {
10
- size?: AreaHeaderSize;
11
- variant?: AreaHeaderVariant;
18
+ size: AreaHeaderSize;
12
19
  protected render(): TemplateResult;
13
20
  }
14
- //# sourceMappingURL=area-header.d.ts.map
@@ -0,0 +1,16 @@
1
+ import { CustomElement, ValuesOf } from '../../lib/main.js';
2
+ import { TemplateResult } from 'lit';
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'odx-auto-grid': OdxAutoGrid;
6
+ }
7
+ }
8
+ export type AutoGridMode = ValuesOf<typeof AutoGridMode>;
9
+ export declare const AutoGridMode: {
10
+ readonly FIT: "fit";
11
+ readonly FILL: "fill";
12
+ };
13
+ export declare class OdxAutoGrid extends CustomElement {
14
+ mode: AutoGridMode;
15
+ protected render(): TemplateResult;
16
+ }
@@ -1,14 +1,39 @@
1
- import { CustomElement } from '../../lib/main.js';
2
- import { TemplateResult } from 'lit';
3
- import { AvatarSize, AvatarVariant } from './avatar.models.js';
1
+ import { CustomElement, ValuesOf } from '../../lib/main.js';
4
2
  declare global {
5
3
  interface HTMLElementTagNameMap {
6
4
  'odx-avatar': OdxAvatar;
7
5
  }
8
6
  }
7
+ export type AvatarShape = ValuesOf<typeof AvatarShape>;
8
+ export declare const AvatarShape: Pick<{
9
+ readonly CIRCLE: "circle";
10
+ readonly RECTANGLE: "rectangle";
11
+ }, "CIRCLE" | "RECTANGLE">;
12
+ export type AvatarSize = ValuesOf<typeof AvatarSize>;
13
+ export declare const AvatarSize: Pick<{
14
+ readonly XS: "xs";
15
+ readonly SM: "sm";
16
+ readonly MD: "md";
17
+ readonly LG: "lg";
18
+ readonly XL: "xl";
19
+ readonly XXL: "xxl";
20
+ }, "SM" | "MD" | "LG" | "XL" | "XXL">;
21
+ export type AvatarVariant = ValuesOf<typeof AvatarVariant>;
22
+ export declare const AvatarVariant: Pick<{
23
+ readonly NEUTRAL: "neutral";
24
+ readonly NEUTRAL_SUBTLE: "neutral-subtle";
25
+ readonly PRIMARY: "primary";
26
+ readonly PRIMARY_SUBTLE: "primary-subtle";
27
+ readonly ACCENT: "accent";
28
+ readonly ACCENT_SUBTLE: "accent-subtle";
29
+ readonly SUCCESS: "success";
30
+ readonly WARNING: "warning";
31
+ readonly DANGER: "danger";
32
+ readonly DANGER_SUBTLE: "danger-subtle";
33
+ readonly GHOST: "ghost";
34
+ }, "NEUTRAL" | "PRIMARY" | "PRIMARY_SUBTLE" | "ACCENT" | "ACCENT_SUBTLE">;
9
35
  export declare class OdxAvatar extends CustomElement {
10
- size?: AvatarSize;
11
- variant?: AvatarVariant;
12
- protected render(): TemplateResult;
36
+ shape: AvatarShape;
37
+ size: AvatarSize;
38
+ variant: AvatarVariant;
13
39
  }
14
- //# sourceMappingURL=avatar.d.ts.map
@@ -1,15 +1,27 @@
1
- import { CustomElement } from '../../lib/main.js';
1
+ import { CustomElement, ValuesOf } from '../../lib/main.js';
2
2
  import { TemplateResult } from 'lit';
3
- import { BadgeVariant } from './badge.models.js';
4
3
  declare global {
5
4
  interface HTMLElementTagNameMap {
6
5
  'odx-badge': OdxBadge;
7
6
  }
8
7
  }
8
+ export type BadgeVariant = ValuesOf<typeof BadgeVariant>;
9
+ export declare const BadgeVariant: Pick<{
10
+ readonly NEUTRAL: "neutral";
11
+ readonly NEUTRAL_SUBTLE: "neutral-subtle";
12
+ readonly PRIMARY: "primary";
13
+ readonly PRIMARY_SUBTLE: "primary-subtle";
14
+ readonly ACCENT: "accent";
15
+ readonly ACCENT_SUBTLE: "accent-subtle";
16
+ readonly SUCCESS: "success";
17
+ readonly WARNING: "warning";
18
+ readonly DANGER: "danger";
19
+ readonly DANGER_SUBTLE: "danger-subtle";
20
+ readonly GHOST: "ghost";
21
+ }, "NEUTRAL" | "PRIMARY" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
9
22
  export declare class OdxBadge extends CustomElement {
10
- compact?: boolean;
11
- pulse?: boolean;
12
- variant?: BadgeVariant;
23
+ compact: boolean;
24
+ pulse: boolean;
25
+ variant: BadgeVariant;
13
26
  protected render(): TemplateResult;
14
27
  }
15
- //# sourceMappingURL=badge.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { CustomElement } from '../../lib/main.js';
2
2
  import { PropertyValues, TemplateResult } from 'lit';
3
- import { OdxLink } from '../link/index.js';
3
+ import { OdxLink } from '../link/link.js';
4
4
  declare global {
5
5
  interface HTMLElementTagNameMap {
6
6
  'odx-breadcrumbs-item': OdxBreadcrumbsItem;
@@ -8,10 +8,7 @@ declare global {
8
8
  }
9
9
  export declare class OdxBreadcrumbsItem extends CustomElement {
10
10
  private linkElements;
11
- fallback: boolean;
12
- isLast(): boolean;
13
11
  protected get interactiveElement(): OdxLink | null;
14
12
  protected render(): TemplateResult;
15
13
  protected updated(props: PropertyValues<this>): void;
16
14
  }
17
- //# sourceMappingURL=breadcrumbs-item.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { CustomElement } from '../../lib/main.js';
2
2
  import { PropertyValues, TemplateResult } from 'lit';
3
- interface BreadcrumbsItem {
3
+ export interface BreadcrumbsItem {
4
4
  href: string;
5
5
  label: string;
6
6
  }
@@ -12,12 +12,9 @@ declare global {
12
12
  export declare class OdxBreadcrumbs extends CustomElement {
13
13
  #private;
14
14
  private itemElements;
15
- private renderedItemElements;
16
15
  max: number;
17
- items?: BreadcrumbsItem[] | null;
16
+ items: BreadcrumbsItem[];
18
17
  protected firstUpdated(props: PropertyValues<this>): void;
19
18
  protected render(): TemplateResult;
20
19
  protected updated(props: PropertyValues<this>): void;
21
20
  }
22
- export {};
23
- //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -1,3 +1,2 @@
1
- export * from './breadcrumbs-item.js';
2
1
  export * from './breadcrumbs.js';
3
- //# sourceMappingURL=index.d.ts.map
2
+ export * from './breadcrumbs-item.js';
@@ -1,29 +1,36 @@
1
- import { InteractiveElement } from '../../cdk/main.js';
2
- import { TemplateResult } from 'lit';
3
- import { ButtonBadgeAlign, ButtonSize, ButtonVariant } from './button.models.js';
1
+ import { InteractiveElement, ValuesOf } from '../../lib/main.js';
4
2
  declare global {
5
3
  interface HTMLElementTagNameMap {
6
4
  'odx-button': OdxButton;
7
5
  }
8
6
  }
9
- declare const OdxButton_base: import('../../lib/main.js').Constructor<import('../../lib/main.js').HasLoadingState> & typeof InteractiveElement;
10
- /**
11
- * A button is clickable text or an icon that triggers an action on the page or in the background.
12
- * Depending on the action, content, and hierarchy, a button can be used on its own or grouped with
13
- * other buttons.
14
- * @summary Triggers actions on the page or in the background
15
- * @csspart button - Internal button element
16
- * @csspart prefix - Container for the prefix slot
17
- * @csspart suffix - Container for the suffix slot
18
- * @slot prefix - Contains the button's icon or state indicator, e.g. a spinner.
19
- * @slot suffix - Contains the button's icon or state indicator, e.g. a spinner.
20
- * @slot - Contains button text
21
- */
22
- export declare class OdxButton extends OdxButton_base {
7
+ export type ButtonSize = ValuesOf<typeof ButtonSize>;
8
+ export declare const ButtonSize: Pick<{
9
+ readonly XS: "xs";
10
+ readonly SM: "sm";
11
+ readonly MD: "md";
12
+ readonly LG: "lg";
13
+ readonly XL: "xl";
14
+ readonly XXL: "xxl";
15
+ }, "XS" | "SM" | "MD" | "LG">;
16
+ export type ButtonVariant = ValuesOf<typeof ButtonVariant>;
17
+ export declare const ButtonVariant: Pick<{
18
+ readonly NEUTRAL: "neutral";
19
+ readonly NEUTRAL_SUBTLE: "neutral-subtle";
20
+ readonly PRIMARY: "primary";
21
+ readonly PRIMARY_SUBTLE: "primary-subtle";
22
+ readonly ACCENT: "accent";
23
+ readonly ACCENT_SUBTLE: "accent-subtle";
24
+ readonly SUCCESS: "success";
25
+ readonly WARNING: "warning";
26
+ readonly DANGER: "danger";
27
+ readonly DANGER_SUBTLE: "danger-subtle";
28
+ readonly GHOST: "ghost";
29
+ }, "NEUTRAL" | "PRIMARY" | "ACCENT" | "DANGER" | "GHOST">;
30
+ export declare class OdxButton extends InteractiveElement {
23
31
  #private;
32
+ /** @internal */
24
33
  static readonly formAssociated = true;
25
- alignBadge?: ButtonBadgeAlign;
26
- block: boolean;
27
34
  /**
28
35
  * The type of the button.
29
36
  */
@@ -31,13 +38,11 @@ export declare class OdxButton extends OdxButton_base {
31
38
  /**
32
39
  * The size of the button.
33
40
  */
34
- size?: ButtonSize;
41
+ size: ButtonSize;
35
42
  /**
36
43
  * The variant of the button.
37
44
  */
38
- variant?: ButtonVariant;
45
+ variant: ButtonVariant;
39
46
  constructor();
40
- protected render(): TemplateResult;
47
+ connectedCallback(): void;
41
48
  }
42
- export {};
43
- //# sourceMappingURL=button.d.ts.map
@@ -1,4 +1,6 @@
1
1
  import { CanBeDisabled, CustomElement } from '../../lib/main.js';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
+ import { ButtonVariant } from '../button/button.js';
2
4
  declare global {
3
5
  interface HTMLElementTagNameMap {
4
6
  'odx-button-group': OdxButtonGroup;
@@ -6,8 +8,12 @@ declare global {
6
8
  }
7
9
  declare const OdxButtonGroup_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
8
10
  export declare class OdxButtonGroup extends OdxButtonGroup_base {
11
+ #private;
12
+ private buttons;
9
13
  block: boolean;
10
14
  vertical: boolean;
15
+ variant?: ButtonVariant;
16
+ protected render(): TemplateResult;
17
+ protected updated(props: PropertyValues<this>): void;
11
18
  }
12
19
  export {};
13
- //# sourceMappingURL=button-group.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { CanBeDisabled, CustomElement } from '../../lib/main.js';
2
- import { TemplateResult } from 'lit';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
3
  declare global {
4
4
  interface HTMLElementTagNameMap {
5
5
  'odx-card': OdxCard;
@@ -7,7 +7,8 @@ declare global {
7
7
  }
8
8
  declare const OdxCard_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
9
9
  export declare class OdxCard extends OdxCard_base {
10
+ interactive: boolean;
11
+ protected updated(_changedProperties: PropertyValues): void;
10
12
  protected render(): TemplateResult;
11
13
  }
12
14
  export {};
13
- //# sourceMappingURL=card.d.ts.map
@@ -1,5 +1,5 @@
1
- import { CheckboxFormControl } from '../../cdk/main.js';
2
- import { PropertyValueMap, TemplateResult } from 'lit';
1
+ import { CheckboxFormControl } from '../../lib/main.js';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
3
  declare global {
4
4
  interface HTMLElementTagNameMap {
5
5
  'odx-checkbox': OdxCheckbox;
@@ -8,7 +8,6 @@ declare global {
8
8
  export declare class OdxCheckbox extends CheckboxFormControl {
9
9
  indeterminate: boolean;
10
10
  protected render(): TemplateResult;
11
- protected willUpdate(props: PropertyValueMap<this>): void;
11
+ protected willUpdate(props: PropertyValues<this>): void;
12
12
  toggle(state?: boolean, dispatchEvent?: boolean): void;
13
13
  }
14
- //# sourceMappingURL=checkbox.d.ts.map
@@ -1,14 +1,18 @@
1
- import { CheckboxGroupFormControl } from '../../cdk/main.js';
1
+ import { ValuesOf, CheckboxGroupFormControl } from '../../lib/main.js';
2
2
  import { TemplateResult } from 'lit';
3
- import { CheckboxGroupVariant } from './checkbox-group.models.js';
4
3
  declare global {
5
4
  interface HTMLElementTagNameMap {
6
5
  'odx-checkbox-group': OdxCheckboxGroup;
7
6
  }
8
7
  }
8
+ export type CheckboxGroupLayout = ValuesOf<typeof CheckboxGroupLayout>;
9
+ export declare const CheckboxGroupLayout: {
10
+ readonly VERTICAL: "vertical";
11
+ readonly HORIZONTAL: "horizontal";
12
+ readonly LIST: "list";
13
+ };
9
14
  export declare class OdxCheckboxGroup extends CheckboxGroupFormControl {
10
15
  #private;
11
- variant?: CheckboxGroupVariant;
16
+ layout: CheckboxGroupLayout;
12
17
  protected render(): TemplateResult;
13
18
  }
14
- //# sourceMappingURL=checkbox-group.d.ts.map
@@ -1,22 +1,34 @@
1
- import { CanBeDisabled, CustomElement } from '../../lib/main.js';
1
+ import { CanBeDisabled, CustomElement, ValuesOf } from '../../lib/main.js';
2
2
  import { PropertyValues, TemplateResult } from 'lit';
3
- import { ChipVariant } from './chip.models.js';
4
3
  declare global {
5
4
  interface HTMLElementTagNameMap {
6
5
  'odx-chip': OdxChip;
7
6
  }
8
7
  }
8
+ export type ChipVariant = ValuesOf<typeof ChipVariant>;
9
+ export declare const ChipVariant: Pick<{
10
+ readonly NEUTRAL: "neutral";
11
+ readonly NEUTRAL_SUBTLE: "neutral-subtle";
12
+ readonly PRIMARY: "primary";
13
+ readonly PRIMARY_SUBTLE: "primary-subtle";
14
+ readonly ACCENT: "accent";
15
+ readonly ACCENT_SUBTLE: "accent-subtle";
16
+ readonly SUCCESS: "success";
17
+ readonly WARNING: "warning";
18
+ readonly DANGER: "danger";
19
+ readonly DANGER_SUBTLE: "danger-subtle";
20
+ readonly GHOST: "ghost";
21
+ }, "NEUTRAL" | "PRIMARY" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
9
22
  declare const OdxChip_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
10
23
  export declare class OdxChip extends OdxChip_base {
11
24
  #private;
12
25
  protected actionElement?: HTMLElement;
13
26
  removable: boolean;
14
27
  interactive: boolean;
15
- variant?: ChipVariant;
28
+ variant: ChipVariant;
16
29
  protected render(): TemplateResult;
17
30
  protected renderAction(): TemplateResult;
18
31
  protected willUpdate(props: PropertyValues<this>): void;
19
32
  protected updated(props: PropertyValues<this>): void;
20
33
  }
21
34
  export {};
22
- //# sourceMappingURL=chip.d.ts.map
@@ -0,0 +1,24 @@
1
+ import { ActiveDescendantsController, FormControl, OptionControl } from '../../lib/main.js';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
+ import { OdxDropdown } from '../dropdown/dropdown.js';
4
+ import { OdxHighlight } from '../highlight/highlight.js';
5
+ declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'odx-autocomplete': OdxAutocomplete;
8
+ }
9
+ }
10
+ export declare class OdxAutocomplete extends FormControl {
11
+ #private;
12
+ /** @internal */
13
+ static shadowRootOptions: ShadowRootInit;
14
+ protected readonly activeDescendants: ActiveDescendantsController<OptionControl>;
15
+ protected options: OptionControl[];
16
+ protected readonly highlight: OdxHighlight;
17
+ protected readonly dropdown: OdxDropdown;
18
+ minQueryLength: number;
19
+ searchFn: (option: OptionControl, query?: string) => boolean;
20
+ get control(): HTMLInputElement | undefined;
21
+ get controlValue(): string;
22
+ protected firstUpdated(props: PropertyValues<this>): void;
23
+ protected render(): TemplateResult;
24
+ }
@@ -8,4 +8,3 @@ declare global {
8
8
  export declare class OdxContentBox extends CustomElement {
9
9
  protected render(): TemplateResult;
10
10
  }
11
- //# sourceMappingURL=content-box.d.ts.map
@@ -1,28 +1,24 @@
1
- import { CanBeDisabled } from '../../lib/main.js';
2
- import { OdxPopover, PopoverHost, PopoverPlacementOptions } from '../../cdk/main.js';
1
+ import { PopoverPlacementOptions, ValuesOf } from '../../lib/main.js';
3
2
  import { PropertyValues, TemplateResult } from 'lit';
4
- import { DropdownPlacement } from './dropdown.models.js';
3
+ import { PopoverHost } from '../popover/popover-host.js';
5
4
  declare global {
6
5
  interface HTMLElementTagNameMap {
7
6
  'odx-dropdown': OdxDropdown;
8
7
  }
9
8
  }
10
- declare const OdxDropdown_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof PopoverHost;
11
- export declare class OdxDropdown extends OdxDropdown_base {
9
+ export type DropdownPlacement = ValuesOf<typeof DropdownPlacement>;
10
+ export declare const DropdownPlacement: {
11
+ readonly TOP: "top";
12
+ readonly BOTTOM: "bottom";
13
+ };
14
+ export declare class OdxDropdown extends PopoverHost {
12
15
  #private;
13
- popoverElement: OdxPopover;
14
16
  matchReferenceWidth: boolean;
15
17
  placement: DropdownPlacement;
16
18
  get options(): PopoverPlacementOptions;
17
19
  connectedCallback(): void;
18
- mountPopover(referenceElement?: HTMLElement | null): void;
20
+ mountPopover(referenceElement: HTMLElement | null): void;
19
21
  unmountPopover(referenceElement: HTMLElement): void;
20
- onBeforePopoverShow(): void;
21
- onPopoverShow(): void;
22
- onBeforePopoverHide(): void;
23
- onPopoverHide(): void;
24
22
  protected render(): TemplateResult;
25
23
  protected willUpdate(props: PropertyValues<this>): void;
26
24
  }
27
- export {};
28
- //# sourceMappingURL=dropdown.d.ts.map