pds-dev-kit-web 1.9.5 → 1.9.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.
Files changed (36) hide show
  1. package/dist/src/common/services/i18n/i18n.js +10 -4
  2. package/dist/src/common/services/i18n/resources/en.json +0 -6835
  3. package/dist/src/common/services/i18n/resources/es.json +0 -6835
  4. package/dist/src/common/services/i18n/resources/fil.json +9 -0
  5. package/dist/src/common/services/i18n/resources/index.d.ts +11 -41012
  6. package/dist/src/common/services/i18n/resources/index.js +8 -5
  7. package/dist/src/common/services/i18n/resources/ja.json +9 -0
  8. package/dist/src/common/services/i18n/resources/ko.json +0 -6835
  9. package/dist/src/common/services/i18n/resources/zh-cn.json +9 -0
  10. package/dist/src/common/services/i18n/resources/zh-tw.json +0 -6835
  11. package/dist/src/common/styles/colorSet/UIColor.json +2 -1
  12. package/dist/src/common/styles/colorSet/index.d.ts +3 -2
  13. package/dist/src/common/styles/colorSet/index.js +2 -2
  14. package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
  15. package/dist/src/desktop/components/AdminList/BulkActionBar.js +1 -2
  16. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +1 -1
  17. package/dist/storybook-static/{0.69b174ef.iframe.bundle.d.ts → 0.bdf0f29c.iframe.bundle.d.ts} +0 -0
  18. package/dist/storybook-static/{0.69b174ef.iframe.bundle.js → 0.bdf0f29c.iframe.bundle.js} +5 -5
  19. package/dist/storybook-static/{4.32dc09b1.iframe.bundle.d.ts → 4.62b599f9.iframe.bundle.d.ts} +0 -0
  20. package/dist/storybook-static/{4.32dc09b1.iframe.bundle.js → 4.62b599f9.iframe.bundle.js} +68 -68
  21. package/dist/storybook-static/{5.c1637fa3.iframe.bundle.d.ts → 5.ee42a9b1.iframe.bundle.d.ts} +0 -0
  22. package/dist/storybook-static/{5.c1637fa3.iframe.bundle.js → 5.ee42a9b1.iframe.bundle.js} +12 -12
  23. package/dist/storybook-static/{6.9d79e5b5.iframe.bundle.d.ts → 6.580084b5.iframe.bundle.d.ts} +0 -0
  24. package/dist/storybook-static/{6.9d79e5b5.iframe.bundle.js → 6.580084b5.iframe.bundle.js} +5 -5
  25. package/dist/storybook-static/{7.b309bb58.iframe.bundle.d.ts → 7.6c647d87.iframe.bundle.d.ts} +0 -0
  26. package/dist/storybook-static/{7.b309bb58.iframe.bundle.js → 7.6c647d87.iframe.bundle.js} +1 -1
  27. package/dist/storybook-static/{main.1434d31c.iframe.bundle.d.ts → main.efb83dbc.iframe.bundle.d.ts} +38 -36
  28. package/dist/storybook-static/{main.1434d31c.iframe.bundle.js → main.efb83dbc.iframe.bundle.js} +691 -620
  29. package/dist/storybook-static/{runtime~main.b6fc2c86.iframe.bundle.d.ts → runtime~main.316ecc0a.iframe.bundle.d.ts} +0 -0
  30. package/dist/storybook-static/{runtime~main.b6fc2c86.iframe.bundle.js → runtime~main.316ecc0a.iframe.bundle.js} +1 -1
  31. package/dist/storybook-static/{vendors~main.0fbc3a5b.iframe.bundle.d.ts → vendors~main.d952545a.iframe.bundle.d.ts} +0 -0
  32. package/dist/storybook-static/{vendors~main.0fbc3a5b.iframe.bundle.js → vendors~main.d952545a.iframe.bundle.js} +340 -340
  33. package/package.json +1 -2
  34. package/release-note.md +2 -11
  35. package/dist/src/common/services/i18n/resources/jp.json +0 -6844
  36. package/dist/src/common/services/i18n/resources/zh-zh.json +0 -6844
@@ -17,11 +17,17 @@ var i18next_browser_languagedetector_1 = __importDefault(require("i18next-browse
17
17
  var i18next_intervalplural_postprocessor_1 = __importDefault(require("i18next-intervalplural-postprocessor"));
18
18
  var react_i18next_1 = require("react-i18next");
19
19
  var resources_1 = __importDefault(require("./resources"));
20
- i18next_1.default.use(i18next_browser_languagedetector_1.default).use(i18next_intervalplural_postprocessor_1.default).use(react_i18next_1.initReactI18next).init({
20
+ var availableLanguages = ['ko', 'en', 'ja', 'es', 'zh', 'zh-cn', 'zh-hk', 'zh-tw', 'fil'];
21
+ i18next_1.default
22
+ .use(i18next_browser_languagedetector_1.default)
23
+ .use(i18next_intervalplural_postprocessor_1.default)
24
+ .use(react_i18next_1.initReactI18next)
25
+ .init({
26
+ fallbackLng: { zh: ['zh-cn'], 'zh-hk': ['zh-tw'], default: ['en'] },
21
27
  resources: resources_1.default,
22
- load: 'languageOnly',
23
- lowerCaseLng: true,
24
- fallbackLng: 'ko'
28
+ supportedLngs: availableLanguages,
29
+ nonExplicitSupportedLngs: true,
30
+ lowerCaseLng: true
25
31
  });
26
32
  // override getSuffix method to support plurals in 'ko'
27
33
  var originalGetSuffix = i18next_1.default.services.pluralResolver.getSuffix;