@momentum-design/components 0.104.6 → 0.104.7

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.
@@ -0,0 +1,16 @@
1
+ import { CSSResult } from 'lit';
2
+ import { Component } from '../../models';
3
+ /**
4
+ * combobox component, which ...
5
+ *
6
+ * @tagname mdc-combobox
7
+ *
8
+ * @slot default - This is a default/unnamed slot
9
+ *
10
+ * @cssproperty --custom-property-name - Description of the CSS custom property
11
+ */
12
+ declare class Combobox extends Component {
13
+ render(): import("lit-html").TemplateResult<1>;
14
+ static styles: Array<CSSResult>;
15
+ }
16
+ export default Combobox;
@@ -0,0 +1,20 @@
1
+ import { html } from 'lit';
2
+ import { Component } from '../../models';
3
+ import styles from './combobox.styles';
4
+ /**
5
+ * combobox component, which ...
6
+ *
7
+ * @tagname mdc-combobox
8
+ *
9
+ * @slot default - This is a default/unnamed slot
10
+ *
11
+ * @cssproperty --custom-property-name - Description of the CSS custom property
12
+ */
13
+ class Combobox extends Component {
14
+ render() {
15
+ return html `<p>This is a dummy combobox component!</p>
16
+ <slot></slot>`;
17
+ }
18
+ }
19
+ Combobox.styles = [...Component.styles, ...styles];
20
+ export default Combobox;
@@ -0,0 +1,2 @@
1
+ declare const TAG_NAME: "mdc-combobox";
2
+ export { TAG_NAME };
@@ -0,0 +1,3 @@
1
+ import utils from '../../utils/tag-name';
2
+ const TAG_NAME = utils.constructTagName('combobox');
3
+ export { TAG_NAME };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult[];
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { css } from 'lit';
2
+ const styles = css `
3
+ :host {
4
+ display: block;
5
+ }
6
+ `;
7
+ export default [styles];
@@ -0,0 +1,3 @@
1
+ interface Events {
2
+ }
3
+ export type { Events };
@@ -0,0 +1,2 @@
1
+ // import type { ValueOf } from '../../utils/types';
2
+ export {};
@@ -0,0 +1,7 @@
1
+ import Combobox from './combobox.component';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ ['mdc-combobox']: Combobox;
5
+ }
6
+ }
7
+ export default Combobox;
@@ -0,0 +1,4 @@
1
+ import Combobox from './combobox.component';
2
+ import { TAG_NAME } from './combobox.constants';
3
+ Combobox.register(TAG_NAME);
4
+ export default Combobox;