Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 authored and dpellier committed Jul 29, 2024
1 parent 7618e58 commit c4b77f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class OdsInput {
@Prop({ mutable: true, reflect: true }) public value: string | number | null = null;

@Event() odsBlur!: EventEmitter<void>;
@Event() odsChange!: EventEmitter<OdsInputValueChangeEventDetail>;
@Event() odsChange!: EventEmitter<OdsInputChangeEventDetail>;
@Event() odsClear!: EventEmitter<void>;
@Event() odsFocus!: EventEmitter<void>;
@Event() odsReset!: EventEmitter<void>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class OdsRadio {
});
}

private emitChange(detail: OdsRadioValueChangeEventDetail): void {
private emitChange(detail: OdsRadioChangeEventDetail): void {
this.odsChange.emit({
checked: detail.checked,
name: detail.name,
Expand Down
1 change: 0 additions & 1 deletion packages/ods/src/components/tag/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export { OdsTag } from './components/ods-tag/ods-tag';
export { ODS_TAG_COLOR, ODS_TAG_COLORS, type OdsTagColor } from './constants/tag-color';
export { ODS_TAG_SIZE, ODS_TAG_SIZES, type OdsTagSize } from './constants/tag-size';
export { ODS_TAG_VARIANT, ODS_TAG_VARIANTS, type OdsTagVariant } from './constants/tag-variant';
export { type OdsTagRemoveEvent, type OdsTagRemoveEventDetail } from './interfaces/events';
6 changes: 3 additions & 3 deletions packages/ods/vue/tests/_app/src/components/ods-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- FIXME custom event not working in vue -->
<ods-input name="ods-input" @ods-value-change="() => console.log('test')"></ods-input>

<OdsInput name="ods-input-disabled" is-disabled @ods-value-change="onOdsValueChange" />
<OdsInput name="ods-input-disabled" is-disabled @ods-change="onOdsChange" />

</template>

Expand All @@ -16,8 +16,8 @@
OdsInput,
},
methods: {
onOdsValueChange() {
console.log('Vue input odsValueChange');
onOdsChange() {
console.log('Vue input odsChange');
}
}
});
Expand Down

0 comments on commit c4b77f2

Please sign in to comment.