Skip to content

Commit

Permalink
feat: enable interaction modes and localization APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Mar 7, 2020
1 parent 4430f11 commit 8486aaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/index.ts
@@ -1,8 +1,8 @@
export { validate } from './validate';
export { extend } from './extend';
// export { configure } from './config';
// export { setInteractionMode } from './modes';
// export { localize } from './localize';
export { configure } from './config';
export { setInteractionMode } from './modes';
export { localize } from './localize';
export { ValidationProvider, ValidationObserver } from './components';
export { normalizeRules } from './utils/rules';
export { useField } from './useField';
Expand Down
9 changes: 0 additions & 9 deletions packages/core/src/localeChanged.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/core/src/localize.ts
@@ -1,7 +1,6 @@
import { isCallable, merge, interpolate } from './utils';
import { ValidationMessageTemplate } from './types';
import { setConfig } from './config';
import { localeChanged } from './localeChanged';

interface PartialI18nDictionary {
name?: string;
Expand Down Expand Up @@ -72,7 +71,6 @@ function localize(locale: string | RootI18nDictionary, dictionary?: PartialI18nD
DICTIONARY.merge({ [locale]: dictionary });
}

localeChanged();
return;
}

Expand Down

0 comments on commit 8486aaf

Please sign in to comment.