@momentum-design/components 0.87.0 → 0.87.1

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.
@@ -11,14 +11,14 @@ export { default as ButtonGroup } from './buttongroup';
11
11
  export { default as ButtonLink } from './buttonlink';
12
12
  export { default as Buttonsimple } from './buttonsimple';
13
13
  export { default as Card } from './card';
14
+ export { default as CardButton } from './cardbutton';
14
15
  export { default as CardCheckbox } from './cardcheckbox';
15
16
  export { default as CardRadio } from './cardradio';
16
- export { default as CardButton } from './cardbutton';
17
17
  export { default as Checkbox } from './checkbox';
18
18
  export { default as Chip } from './chip';
19
19
  export { default as Coachmark } from './coachmark';
20
- export { default as Dialog } from './dialog';
21
20
  export { default as Divider } from './divider';
21
+ export { default as Dialog } from './dialog';
22
22
  export { default as FilterChip } from './filterchip';
23
23
  export { default as FormfieldGroup } from './formfieldgroup';
24
24
  export { default as FormfieldWrapper } from './formfieldwrapper';
@@ -11,14 +11,14 @@ export { default as ButtonGroup } from './buttongroup';
11
11
  export { default as ButtonLink } from './buttonlink';
12
12
  export { default as Buttonsimple } from './buttonsimple';
13
13
  export { default as Card } from './card';
14
+ export { default as CardButton } from './cardbutton';
14
15
  export { default as CardCheckbox } from './cardcheckbox';
15
16
  export { default as CardRadio } from './cardradio';
16
- export { default as CardButton } from './cardbutton';
17
17
  export { default as Checkbox } from './checkbox';
18
18
  export { default as Chip } from './chip';
19
19
  export { default as Coachmark } from './coachmark';
20
- export { default as Dialog } from './dialog';
21
20
  export { default as Divider } from './divider';
21
+ export { default as Dialog } from './dialog';
22
22
  export { default as FilterChip } from './filterchip';
23
23
  export { default as FormfieldGroup } from './formfieldgroup';
24
24
  export { default as FormfieldWrapper } from './formfieldwrapper';
@@ -6,6 +6,8 @@ import Component from '../../components/select';
6
6
  * The component ensures accessibility and usability while handling various use cases,
7
7
  * including long text truncation with tooltip support.
8
8
  *
9
+ * To set a default option, use the `selected` attribute on the `mdc-option` element.
10
+ *
9
11
  * @dependency mdc-button
10
12
  * @dependency mdc-icon
11
13
  * @dependency mdc-popover
@@ -18,11 +20,13 @@ import Component from '../../components/select';
18
20
  *
19
21
  * @event click - (React: onClick) This event is dispatched when the select is clicked.
20
22
  * @event change - (React: onChange) This event is dispatched when the select is changed.
23
+ * @event input - (React: onInput) This event is dispatched when the select is changed.
21
24
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.
22
25
  * @event focus - (React: onFocus) This event is dispatched when the select receives focus.
23
26
  */
24
27
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
25
28
  onChange: EventName<Event>;
29
+ onInput: EventName<Event>;
26
30
  onClick: EventName<MouseEvent>;
27
31
  onKeyDown: EventName<KeyboardEvent>;
28
32
  onFocus: EventName<FocusEvent>;
@@ -8,6 +8,8 @@ import { TAG_NAME } from '../../components/select/select.constants';
8
8
  * The component ensures accessibility and usability while handling various use cases,
9
9
  * including long text truncation with tooltip support.
10
10
  *
11
+ * To set a default option, use the `selected` attribute on the `mdc-option` element.
12
+ *
11
13
  * @dependency mdc-button
12
14
  * @dependency mdc-icon
13
15
  * @dependency mdc-popover
@@ -20,6 +22,7 @@ import { TAG_NAME } from '../../components/select/select.constants';
20
22
  *
21
23
  * @event click - (React: onClick) This event is dispatched when the select is clicked.
22
24
  * @event change - (React: onChange) This event is dispatched when the select is changed.
25
+ * @event input - (React: onInput) This event is dispatched when the select is changed.
23
26
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.
24
27
  * @event focus - (React: onFocus) This event is dispatched when the select receives focus.
25
28
  */
@@ -29,6 +32,7 @@ const reactWrapper = createComponent({
29
32
  react: React,
30
33
  events: {
31
34
  onChange: 'change',
35
+ onInput: 'input',
32
36
  onClick: 'click',
33
37
  onKeyDown: 'keydown',
34
38
  onFocus: 'focus',
package/package.json CHANGED
@@ -41,5 +41,5 @@
41
41
  "lottie-web": "^5.12.2",
42
42
  "uuid": "^11.0.5"
43
43
  },
44
- "version": "0.87.0"
44
+ "version": "0.87.1"
45
45
  }