@okta/odyssey-contribution-tooling 1.58.0 → 1.62.2

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 (40) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.iife.js.map +1 -1
  4. package/dist/index.umd.cjs.map +1 -1
  5. package/dist/tsconfig.production.tsbuildinfo +1 -0
  6. package/dist/types/getTranslationServices.d.ts +1 -0
  7. package/dist/types/getTranslationServices.d.ts.map +1 -0
  8. package/dist/types/getTypedObjectEntries.d.ts +1 -0
  9. package/dist/types/getTypedObjectEntries.d.ts.map +1 -0
  10. package/dist/types/index.d.ts +1 -1
  11. package/dist/types/index.d.ts.map +1 -0
  12. package/dist/types/translationServices.types.d.ts +1 -0
  13. package/dist/types/translationServices.types.d.ts.map +1 -0
  14. package/package.json +12 -11
  15. package/src/index.ts +0 -1
  16. package/tsconfig.json +2 -4
  17. package/tsconfig.production.json +12 -0
  18. package/vite.config.ts +57 -18
  19. package/vitest.config.ts +21 -25
  20. package/dist/types/contributionsMetadata.types.d.ts +0 -31
  21. package/dist/types/contributionsMetadata.types.js +0 -2
  22. package/dist/types/contributionsMetadata.types.js.map +0 -1
  23. package/dist/types/getTranslationServices.browser.test.d.ts +0 -1
  24. package/dist/types/getTranslationServices.browser.test.js +0 -88
  25. package/dist/types/getTranslationServices.browser.test.js.map +0 -1
  26. package/dist/types/getTranslationServices.js +0 -77
  27. package/dist/types/getTranslationServices.js.map +0 -1
  28. package/dist/types/getTypedObjectEntries.js +0 -2
  29. package/dist/types/getTypedObjectEntries.js.map +0 -1
  30. package/dist/types/index.js +0 -4
  31. package/dist/types/index.js.map +0 -1
  32. package/dist/types/translationServices.types.js +0 -34
  33. package/dist/types/translationServices.types.js.map +0 -1
  34. package/dist/types/tsconfig.tsbuildinfo +0 -1
  35. package/ok.yaml +0 -1
  36. package/src/contributionsMetadata.types.ts +0 -36
  37. package/vite.config.project.ts +0 -61
  38. package/vite.config.ts.bak +0 -33
  39. package/vitest.config.project.ts +0 -16
  40. package/vitest.config.ts.bak +0 -27
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.es2024.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../node_modules/typescript/lib/lib.esnext.error.d.ts","../../../../node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../../../node_modules/@emotion/sheet/dist/declarations/src/index.d.ts","../../../../node_modules/@emotion/sheet/dist/emotion-sheet.cjs.d.ts","../../../../node_modules/@emotion/utils/dist/declarations/src/types.d.ts","../../../../node_modules/@emotion/utils/dist/declarations/src/index.d.ts","../../../../node_modules/@emotion/utils/dist/emotion-utils.cjs.d.ts","../../../../node_modules/@emotion/serialize/dist/declarations/src/index.d.ts","../../../../node_modules/@emotion/serialize/dist/emotion-serialize.cjs.d.ts","../../../../node_modules/@emotion/react/dist/declarations/src/types.d.ts","../../../../node_modules/@emotion/react/dist/declarations/src/theming.d.ts","../../../../node_modules/@emotion/react/dist/declarations/src/jsx-namespace.d.ts","../../../../node_modules/@emotion/react/dist/declarations/src/jsx-runtime.d.ts","../../../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.d.mts","../src/getTypedObjectEntries.ts","../../../../node_modules/react-i18next/helpers.d.ts","../../../../node_modules/i18next/typescript/helpers.d.ts","../../../../node_modules/i18next/typescript/options.d.ts","../../../../node_modules/i18next/typescript/t.d.ts","../../../../node_modules/i18next/index.d.ts","../../../../node_modules/react-i18next/TransWithoutContext.d.ts","../../../../node_modules/react-i18next/initReactI18next.d.ts","../../../../node_modules/react-i18next/index.d.ts","../../../../node_modules/react-i18next/index.d.mts","../../../../node_modules/i18next/index.d.mts","../src/translationServices.types.ts","../src/getTranslationServices.tsx","../src/index.ts"],"fileIdsList":[[85,93,95],[85,86,96],[85,94],[96],[97],[83,91],[92],[87],[89],[88],[90],[82,83,84],[85],[101,102,103,104,107],[101,102,103],[101],[101,102],[85,104,107],[107],[85,100,104,105,106,107],[104,107],[85,98,99,108,109,110],[98],[98,110,111]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"247a952efd811d780e5630f8cfd76f495196f5fa74f6f0fee39ac8ba4a3c9800","impliedFormat":1},{"version":"ddb7652e1e97673432651dd82304d1743be783994c76e4b99b4a025e81e1bc78","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"4dcdbdbc992d114e52247e2f960b05cf9d65d3142114bf08552b18938cb3d56b","impliedFormat":1},{"version":"b4fbfaa34aacd768965b0135a0c4e7dbaa055a8a4d6ffe7bedf1786d3dc614de","impliedFormat":1},{"version":"ddb5454371b8da3a72ec536ad319f9f4e0a9851ffa961ae174484296a88a70db","impliedFormat":1},{"version":"fb7c8a2d7e2b50ada1e15b223d3bb83690bd34fd764aa0e009918549e440db1d","impliedFormat":1},{"version":"b4fbfaa34aacd768965b0135a0c4e7dbaa055a8a4d6ffe7bedf1786d3dc614de","impliedFormat":1},{"version":"1fa33d8db2a9d2a7dbfb7a24718cccbcde8364d10cce29b1a7eea4cf3a530cbb","impliedFormat":1},{"version":"b4fbfaa34aacd768965b0135a0c4e7dbaa055a8a4d6ffe7bedf1786d3dc614de","impliedFormat":1},{"version":"381437930df37907c030519b23ffea4d8113f46e4431a70bfe008a0c43c63648","impliedFormat":1},{"version":"695cbb89013bc9e87fb24b0df020fe605c54f0ab5c267b5bf0490ed097044197","impliedFormat":1},{"version":"f43780383543bfcdc0a2ee850375e1f03d94bdb1b85091d5b11bb8b2023c8b49","impliedFormat":1},{"version":"977a7d9e35d24211f02d8f6fd3a60db8c289b50cacbed38a50d5b49133e76e9f","impliedFormat":1},{"version":"ea93c204a5d0c681048fe6c4554b8d23b3312f79cf99744ff42668896af975e3","impliedFormat":99},{"version":"ebc502b601a19cc93072f0f30dd513e6596b9558af8c691ac2d8bafe5994a8fe","signature":"550e04f9b02c29a8750de7e0cc227a99a675239c832358a4a5784ba34c2a6cce","impliedFormat":99},{"version":"890bdcec61a6fe8e39e35a1a9e4e0cad8c99b371646077bed13724862c4ab711","impliedFormat":1},{"version":"e30accdbef6f904f20354b6f598d7f2f7ff29094fc5410c33f63b29b4832172a","impliedFormat":1},{"version":"5fd2267cea69c19286f0e90a9ba78c0e19c3782ab2580bfc2f5678c5326fb78a","impliedFormat":1},{"version":"2a628d887712c299dd78731d2e18e5d456ac03fb258b8e39f61b2478b02481ee","impliedFormat":1},{"version":"b1e5f3a55aa219247976db1b0c6af31d07673e8085197aef925f25ca08fe12c4","impliedFormat":1},{"version":"9d3ebddb2b7d90a93d19ddae7fc3fe28bf2d3233f16c97f89b880fd045b068e4","impliedFormat":1},{"version":"b3e571e9f098c30db463d30d16d395ad8dd2457ee6e8d1561e2e1527bc2b6ce0","impliedFormat":1},{"version":"3b379989b0e78e36dae38e98cf724764d0ad05d0185b5de3aa18bcbcedccd4d3","impliedFormat":1},{"version":"a7661d2413b60a722b7d7ff8e52dd3efad86600553eba1c88c990a0b2c11870b","impliedFormat":99},{"version":"e9f80c5934982b97886eadab6684c073344a588d1758b12fba2d0184e6f450a2","impliedFormat":99},{"version":"9e764805aab5d64a6e1128ebcfcc875f27bb64855a3852bc9d63ef41f1f2cab3","signature":"00fd427512076e8ae537d1449f7ab678686c9fd8d254afe7bf6941c8fd3ae1d2","impliedFormat":99},{"version":"3cf94b768b47ea65fe97fb524ba9fc007a9ed3791148b7c803f506a5cb0b299e","signature":"a93ca07310f72bd314321be6e4dd0f935d15f28089d9e9ff1027beaae7d2f829","impliedFormat":99},{"version":"32f54ca50be084c27fc522c8ab5bf6c5acef30d43f4e11ff23e1f0bc55ad3d38","impliedFormat":99}],"root":[99,[110,112]],"options":{"allowJs":false,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":4,"jsxImportSource":"@emotion/react","module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[96,1],[97,2],[95,3],[94,4],[98,5],[92,6],[93,7],[88,8],[90,9],[89,10],[91,11],[85,12],[86,13],[109,14],[104,15],[102,16],[103,17],[105,18],[108,19],[107,20],[106,21],[111,22],[99,23],[112,24],[110,23]],"latestChangedDtsFile":"./types/index.d.ts","version":"5.9.3"}
@@ -87,3 +87,4 @@ export type TranslationServices<TNamespace extends string, TResources extends Re
87
87
  */
88
88
  export declare function getTranslationServices<TNamespace extends string, TResources extends ResourcesRecord, TDefaultLanguageCode extends Extract<keyof TResources, string>>({ defaultLanguageCode, namespace, resources, }: GetTranslationServicesProps<TNamespace, TResources, TDefaultLanguageCode>): TranslationServices<TNamespace, TResources, TDefaultLanguageCode>;
89
89
  export {};
90
+ //# sourceMappingURL=getTranslationServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTranslationServices.d.ts","sourceRoot":"","sources":["../../src/getTranslationServices.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,IAAI,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAE3F,OAAO,IAAI,EAAE,EAAkB,QAAQ,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAQ,YAAY,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AACjE,OAAO,EAIL,UAAU,IAAI,kBAAkB,EAEjC,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAIhF,+EAA+E;AAC/E,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE3D,8EAA8E;AAC9E,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,MAAM,MAAM,2BAA2B,CACrC,UAAU,SAAS,MA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ectType) => [keyof ObjectType, ObjectType[keyof ObjectType]][];
2
+ //# sourceMappingURL=getTypedObjectEntries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTypedObjectEntries.d.ts","sourceRoot":"","sources":["../../src/getTypedObjectEntries.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAAI,UAAU,SAAS,MAAM,EAC7D,KAAK,UAAU,KACW,CAAC,MAAM,UAAU,EAAE,UAAU,CAAC,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from "./contributionsMetadata.types.js";
2
1
  export * from "./getTranslationServices.js";
3
2
  export * from "./translationServices.types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export declare const defaultSupportedLanguages: readonly ["cs", "da", "de", "el", "en", "es", "eu", "fi", "fr", "ht", "hu", "id", "it", "ja", "ko", "ms", "nb", "nl_NL", "ok_PL", "ok_SK", "pl", "pt_BR", "ro", "ru", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_TW"];
2
2
  export type DefaultSupportedLanguages = (typeof defaultSupportedLanguages)[number];
3
+ //# sourceMappingURL=translationServices.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translationServices.types.d.ts","sourceRoot":"","sources":["../../src/translationServices.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,uNAgC5B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okta/odyssey-contribution-tooling",
3
- "version": "1.58.0",
3
+ "version": "1.62.2",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.umd.cjs",
@@ -15,14 +15,16 @@
15
15
  }
16
16
  },
17
17
  "scripts": {
18
- "build": "yarn ok-ui build",
19
- "dev:build-source": "yarn vite build --watch",
20
- "dev:build-types": "yarn ok-ui build --watch",
21
- "dev": "yarn concurrently npm:dev:build-source npm:dev:build-types",
18
+ "build:clean": "rimraf dist",
19
+ "build:source": "yarn vite build",
20
+ "build:types": "tsc --project tsconfig.production.json",
21
+ "build": "yarn build:clean && yarn build:source && yarn build:types",
22
+ "dev:source": "yarn vite build --watch",
23
+ "dev:types": "tsc --project tsconfig.production.json --watch",
24
+ "dev": "yarn concurrently npm:dev:types npm:dev:source",
22
25
  "playwright-install": "yarn playwright install --with-deps chromium",
23
- "provision": "yarn ok-ui provision",
24
- "test": "yarn ok-ui test",
25
- "typecheck": "yarn ok-ui typecheck"
26
+ "test": "NODE_ENV=test vitest run --reporter=default",
27
+ "typecheck": "tsc --project src/tsconfig.json --noEmit"
26
28
  },
27
29
  "dependencies": {
28
30
  "i18next": "^23.15.1",
@@ -33,8 +35,6 @@
33
35
  "react-dom": ">=18"
34
36
  },
35
37
  "devDependencies": {
36
- "@okta/ok-ui": "^4.15.1",
37
- "@okta/ui-stacks-component-libraries-odyssey-contributions": "1.1.3",
38
38
  "@testing-library/dom": "^10.4",
39
39
  "@testing-library/jest-dom": "^6.8",
40
40
  "@testing-library/react": "^16.3",
@@ -53,10 +53,11 @@
53
53
  "react": "^18.3.1",
54
54
  "react-dom": "^18.3.1",
55
55
  "regenerator-runtime": "^0.14.1",
56
+ "rimraf": "^6.0.1",
56
57
  "typescript": "^5.9.2",
57
58
  "vite": "^7.1",
58
59
  "vite-plugin-svgr": "^4.5",
59
60
  "vitest": "^3.2"
60
61
  },
61
- "gitHead": "1489f35781a13eb4590e6922d385727456cc3e00"
62
+ "gitHead": "c85e1d9dd37deab778e8f549a57a7fa9728e7322"
62
63
  }
package/src/index.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from "./contributionsMetadata.types.js";
2
1
  export * from "./getTranslationServices.js";
3
2
  export * from "./translationServices.types.js";
package/tsconfig.json CHANGED
@@ -32,10 +32,8 @@
32
32
  "include": [
33
33
  "src/**/*.ts",
34
34
  "src/**/*.tsx",
35
- "../vite.config.ts",
36
- "../vite.config.project.ts",
37
- "../vitest.config.ts",
38
- "../vitest.config.project.ts"
35
+ "vite.config.ts",
36
+ "vitest.config.ts"
39
37
  ],
40
38
  "exclude": ["**/dist/**/*"]
41
39
  }
@@ -0,0 +1,12 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "declarationMap": true,
6
+ "emitDeclarationOnly": true,
7
+ "noEmit": false,
8
+ "types": []
9
+ },
10
+ "include": ["src/**/*.ts", "src/**/*.tsx"],
11
+ "exclude": ["**/*.test.ts", "**/*.test.tsx", "**/dist/**/*"]
12
+ }
package/vite.config.ts CHANGED
@@ -1,21 +1,60 @@
1
- // DO NOT EDIT THIS FILE!
2
- // This is the vite.config.ts file provided by the core-gen4 stack. Do not edit this; instead, place any custom configuration settings
3
- // in the `vite.config.project.ts` file. If this file is modified, you are on your own and results of using the stack's vite config
4
- // cannot be supported.
1
+ /*!
2
+ * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
5
12
 
6
- import stackConfig from "@okta/ui-stacks-component-libraries-odyssey-contributions/dist/configs/vite.config.js";
7
- import { defineConfig, mergeConfig, type UserConfigFnPromise } from "vite";
13
+ import { defineConfig } from "vite";
8
14
 
9
- import projectConfig from "./vite.config.project.js";
15
+ import packageJson from "./package.json" with { type: "json" };
10
16
 
11
- // Merge, in this order:
12
- // - the stack's vite.config.js
13
- // - the project's vite.config.project.js
14
- export default defineConfig(async (env) =>
15
- mergeConfig(
16
- stackConfig,
17
- typeof projectConfig === "function"
18
- ? await (projectConfig as UserConfigFnPromise)(env)
19
- : projectConfig,
20
- ),
21
- );
17
+ const umdName = packageJson.name
18
+ .replace(/^(@(.+)\/)?(.+)$/, "$2-$3")
19
+ .split("-")
20
+ .map((namePart) =>
21
+ namePart.slice(0, 1).toUpperCase().concat(namePart.slice(1)),
22
+ )
23
+ .join("");
24
+
25
+ export default defineConfig(({ command }) => ({
26
+ define:
27
+ command === "build"
28
+ ? {
29
+ "process.env.NODE_ENV": '"production"',
30
+ }
31
+ : {},
32
+
33
+ build: {
34
+ emptyOutDir: false,
35
+ lib: {
36
+ entry: `${__dirname}/src/index.ts`,
37
+ fileName: (format) =>
38
+ `index.${format}.${format === "umd" ? "cjs" : "js"}`,
39
+ formats: ["es", "iife", "umd"],
40
+ name: umdName,
41
+ },
42
+ sourcemap: true,
43
+ rollupOptions: {
44
+ external: [
45
+ "react",
46
+ "react-dom",
47
+ "react/jsx-runtime",
48
+ "react/jsx-dev-runtime",
49
+ ],
50
+ output: {
51
+ globals: {
52
+ react: "React",
53
+ "react-dom": "ReactDOM",
54
+ "react/jsx-runtime": "ReactJSXRuntime",
55
+ "react/jsx-dev-runtime": "ReactJSXDevRuntime",
56
+ },
57
+ },
58
+ },
59
+ },
60
+ }));
package/vitest.config.ts CHANGED
@@ -1,27 +1,23 @@
1
- // DO NOT EDIT THIS FILE!
2
- // This is the vitest.config.ts file provided by the core-gen4 stack. Do not edit this; instead, place any custom configuration settings
3
- // in the `vitest.config.project.ts` file. If this file is modified, you are on your own and results of using the stack's vitest config
4
- // cannot be supported.
1
+ /*!
2
+ * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
5
12
 
6
- import stackTestConfig from "@okta/ui-stacks-component-libraries-odyssey-contributions/dist/configs/vitest.config.js";
7
- import { defineConfig, mergeConfig } from "vite";
8
- import { type UserConfigFnPromise } from "vitest/config";
13
+ import react from "@vitejs/plugin-react";
14
+ import { defineConfig } from "vitest/config";
9
15
 
10
- import viteConfig from "./vite.config.js";
11
- import projectTestConfig from "./vitest.config.project.js";
12
-
13
- // Merge, in this order:
14
- // - the project's vite.config.js
15
- // - the stack's vitest.config.js
16
- // - the project's vitest.config.project.js
17
- export default defineConfig(async (env) =>
18
- mergeConfig(
19
- mergeConfig(
20
- typeof viteConfig === "function" ? await viteConfig(env) : viteConfig,
21
- stackTestConfig,
22
- ),
23
- typeof projectTestConfig === "function"
24
- ? await (projectTestConfig as UserConfigFnPromise)(env)
25
- : projectTestConfig,
26
- ),
27
- );
16
+ export default defineConfig({
17
+ plugins: [react()],
18
+ test: {
19
+ environment: "jsdom",
20
+ globals: true,
21
+ setupFiles: ["./vitest-jsdom-setup.ts"],
22
+ },
23
+ });
@@ -1,31 +0,0 @@
1
- export type ContributionsMetadataEntry = {
2
- componentName: string;
3
- /**
4
- * When `true`, this component is excluded from Odyssey Core promotion
5
- * recommendations. Omit this field entirely for components that are
6
- * eligible for promotion.
7
- */
8
- isIgnoredFromPromotion?: true;
9
- libraryName: string;
10
- } & ({
11
- forkedFrom?: never;
12
- /**
13
- * Components with different requirements but matching designs to
14
- * existing ones. References use the format "libraryName::ComponentName".
15
- */
16
- similarTo: string[];
17
- } | {
18
- /**
19
- * The component this was copy-pasted (forked) from. A code diff can be
20
- * run against the source to patch in upstream changes. References use
21
- * the format "libraryName::ComponentName".
22
- */
23
- forkedFrom: string;
24
- similarTo?: never;
25
- } | {
26
- forkedFrom?: never;
27
- similarTo?: never;
28
- });
29
- export type ContributionsMetadataFile = {
30
- components: ContributionsMetadataEntry[];
31
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=contributionsMetadata.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contributionsMetadata.types.js","sourceRoot":"","sources":["../../src/contributionsMetadata.types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export {};
@@ -1,88 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
2
- import { render, screen, waitFor } from "@testing-library/react";
3
- import { getTranslationServices } from "./getTranslationServices.js";
4
- describe(getTranslationServices.name, () => {
5
- const en = {
6
- greeting: "Hello World {{friends}}",
7
- farewell: "Goodbye",
8
- };
9
- const fr = { greeting: "Bonjour le monde {{friends}}" };
10
- const testResources = {
11
- en,
12
- fr,
13
- };
14
- let OdysseyTranslationProvider;
15
- let useTranslation;
16
- // create a fresh instance of the translation services before each test
17
- beforeEach(() => {
18
- const services = getTranslationServices({
19
- namespace: "test-app",
20
- defaultLanguageCode: "en",
21
- resources: testResources,
22
- });
23
- OdysseyTranslationProvider = services.TranslationProvider;
24
- useTranslation = services.useTranslation;
25
- });
26
- const TestComponent = () => {
27
- const [t, i18n] = useTranslation();
28
- return (_jsxs("div", { children: [_jsx("h1", { children: t("greeting", { friends: "FRIENDS" }) }), _jsxs("p", { children: ["Current language: ", i18n.language] })] }));
29
- };
30
- test("renders `children` and uses the default translations", () => {
31
- render(_jsx(OdysseyTranslationProvider, { children: _jsx(TestComponent, {}) }));
32
- // check if the English text is rendered by default
33
- expect(screen.getByRole("heading", { name: "Hello World FRIENDS" })).toBeInTheDocument();
34
- });
35
- test("switches languages when the `languageCode` prop changes", async () => {
36
- const { rerender } = render(_jsx(OdysseyTranslationProvider, { languageCode: "en", children: _jsx(TestComponent, {}) }));
37
- expect(screen.getByRole("heading", { name: "Hello World FRIENDS" })).toBeInTheDocument();
38
- // rerender the component with a new language prop
39
- rerender(_jsx(OdysseyTranslationProvider, { languageCode: "fr", children: _jsx(TestComponent, {}) }));
40
- // wait for the content to update and check for the French text
41
- await waitFor(() => {
42
- expect(screen.getByRole("heading", { name: "Bonjour le monde FRIENDS" })).toBeInTheDocument();
43
- expect(screen.getByText("Current language: fr")).toBeInTheDocument();
44
- });
45
- });
46
- test("applies translation overrides to one of the known languages", () => {
47
- render(_jsx(OdysseyTranslationProvider, { translationOverrides: { en: { greeting: "Hello Overridden!" } }, children: _jsx(TestComponent, {}) }));
48
- expect(screen.getByRole("heading", { name: "Hello Overridden!" })).toBeInTheDocument();
49
- });
50
- describe("when components are nested", () => {
51
- const contributionsPackageResources = {
52
- en: {
53
- greeting: "I am the nested greeting",
54
- farewell: "I am the nested goodbye",
55
- withPlaceholders: "I am only available in the nested translations - {{placeholder1}}, {{placeholder2}}",
56
- },
57
- };
58
- const { TranslationProvider: ContributionsPackageOdysseyTranslationProvider, useTranslation: useContributionsPackageTranslation, Trans: ContributionsPackageTrans, } = getTranslationServices({
59
- namespace: "nested-app",
60
- defaultLanguageCode: "en",
61
- resources: contributionsPackageResources,
62
- });
63
- const ContributionsPackageComponent = () => {
64
- const { t } = useContributionsPackageTranslation();
65
- return (_jsxs("section", { children: [_jsx("h2", { children: t("greeting") }), _jsx("h2", { children: _jsx(ContributionsPackageTrans, { i18nKey: "withPlaceholders", values: {
66
- placeholder1: "placeholder text one",
67
- placeholder2: "placeholder text two",
68
- } }) })] }));
69
- };
70
- const ComponentWithNestedContributions = () => {
71
- const { t } = useTranslation();
72
- return (_jsxs("div", { children: [_jsx("h1", { children: t("greeting", { friends: "PARENT" }) }), _jsx(ContributionsPackageComponent, {})] }));
73
- };
74
- test("the appropriate translation bundle is used for each component", async () => {
75
- render(_jsx(OdysseyTranslationProvider, { children: _jsx(ContributionsPackageOdysseyTranslationProvider, { children: _jsx(ComponentWithNestedContributions, {}) }) }));
76
- await waitFor(() => {
77
- // we are correctly using top level odyssey translation provider text
78
- expect(screen.getByRole("heading", { name: "Hello World PARENT" })).toBeInTheDocument();
79
- // we are correctly using the nested odyssey translation provider text
80
- expect(screen.getByRole("heading", { name: "I am the nested greeting" })).toBeInTheDocument();
81
- expect(screen.getByRole("heading", {
82
- name: "I am only available in the nested translations - placeholder text one, placeholder text two",
83
- })).toBeInTheDocument();
84
- });
85
- });
86
- });
87
- });
88
- //# sourceMappingURL=getTranslationServices.browser.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getTranslationServices.browser.test.js","sourceRoot":"","sources":["../../src/getTranslationServices.browser.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAIjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,QAAQ,CAAC,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE;IACzC,MAAM,EAAE,GAAG;QACT,QAAQ,EAAE,yBAAyB;QACnC,QAAQ,EAAE,SAAS;KACX,CAAC;IACX,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,8BAA8B,EAAW,CAAC;IACjE,MAAM,aAAa,GAAG;QACpB,EAAE;QACF,EAAE;KACM,CAAC;IAEX,IAAI,0BAEoB,CAAC;IACzB,IAAI,cAAwE,CAAC;IAE7E,uEAAuE;IACvE,UAAU,CAAC,GAAG,EAAE;QACd,MAAM,QAAQ,GAAG,sBAAsB,CAAC;YACtC,SAAS,EAAE,UAAU;YACrB,mBAAmB,EAAE,IAAI;YACzB,SAAS,EAAE,aAAa;SACzB,CAAC,CAAC;QACH,0BAA0B,GAAG,QAAQ,CAAC,mBAAmB,CAAC;QAC1D,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,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,CAAC;YAC/B,OAAO,CACL,0BACE,uBAAK,CAAC,CAAC,UAAU,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,GAAM,EAC/C,KAAC,6BAA6B,KAAG,IAC7B,CACP,CAAC;QACJ,CAAC,CAAC;QAEF,IAAI,CAAC,+DAA+D,EAAE,KAAK,IAAI,EAAE;YAC/E,MAAM,CACJ,KAAC,0BAA0B,cACzB,KAAC,8CAA8C,cAC7C,KAAC,gCAAgC,KAAG,GACW,GACtB,CAC9B,CAAC;YAEF,MAAM,OAAO,CAAC,GAAG,EAAE;gBACjB,qEAAqE;gBACrE,MAAM,CACJ,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CAC5D,CAAC,iBAAiB,EAAE,CAAC;gBAEtB,sEAAsE;gBACtE,MAAM,CACJ,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC,CAClE,CAAC,iBAAiB,EAAE,CAAC;gBACtB,MAAM,CACJ,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE;oBAC1B,IAAI,EAAE,6FAA6F;iBACpG,CAAC,CACH,CAAC,iBAAiB,EAAE,CAAC;YACxB,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,77 +0,0 @@
1
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
2
- import { createInstance } from "i18next";
3
- import { memo, useEffect } from "react";
4
- import { I18nextProvider, initReactI18next, Trans as TransI18nNext, useTranslation as useI18nNextTranslation, } from "react-i18next";
5
- import { getTypedObjectEntries } from "./getTypedObjectEntries.js";
6
- /**
7
- * Initializes an `i18next` instance and provides strongly-typed
8
- * translation utilities: `useTranslation`, `Trans`, and `TranslationProvider`.
9
- */
10
- export function getTranslationServices({ defaultLanguageCode, namespace, resources, }) {
11
- const i18nInstance = createInstance();
12
- i18nInstance
13
- .use(initReactI18next)
14
- .init({
15
- defaultNS: namespace,
16
- ns: [namespace],
17
- fallbackLng: defaultLanguageCode,
18
- load: "currentOnly",
19
- keySeparator: false,
20
- interpolation: {
21
- escapeValue: false,
22
- skipOnVariables: false,
23
- },
24
- react: {
25
- bindI18nStore: "added",
26
- useSuspense: false,
27
- },
28
- })
29
- .catch((error) => {
30
- console.error(`[odyssey-contribution-tooling] Error initializing i18nInstance for namespace: ${namespace}`);
31
- console.error(error);
32
- });
33
- Object.entries(resources).forEach(([languageCode, bundle]) => {
34
- i18nInstance.addResourceBundle(languageCode, namespace, bundle);
35
- });
36
- const TranslationProvider = ({ children, languageCode, translationOverrides, }) => {
37
- useEffect(() => {
38
- const updatedLanguageCode = languageCode || window.navigator.language;
39
- i18nInstance.changeLanguage(updatedLanguageCode).catch((error) => {
40
- console.error(`[odyssey-contribution-tooling] Error changing language code in i18nInstance to: ${updatedLanguageCode}`);
41
- console.error(error);
42
- });
43
- }, [languageCode]);
44
- useEffect(() => {
45
- if (translationOverrides) {
46
- getTypedObjectEntries(translationOverrides).forEach(([languageCode, overrideBundle]) => {
47
- i18nInstance.addResourceBundle(languageCode, namespace, overrideBundle, true, true);
48
- });
49
- }
50
- }, [translationOverrides]);
51
- return _jsx(I18nextProvider, { i18n: i18nInstance, children: children });
52
- };
53
- const MemoizedTranslationProvider = memo(TranslationProvider);
54
- MemoizedTranslationProvider.displayName = "TranslationProvider";
55
- const Trans = (props) => {
56
- return (_jsx(TransI18nNext, { ...props, i18n: i18nInstance }));
57
- };
58
- const useTranslation = (options) => {
59
- const [t, i18n, ready] = useI18nNextTranslation(namespace, {
60
- ...options,
61
- i18n: i18nInstance,
62
- });
63
- const typedT = t;
64
- const result = [typedT, i18n, ready];
65
- result.t = typedT;
66
- result.i18n = i18n;
67
- result.ready = ready;
68
- return result;
69
- };
70
- return {
71
- i18n: i18nInstance,
72
- TranslationProvider: MemoizedTranslationProvider,
73
- Trans,
74
- useTranslation,
75
- };
76
- }
77
- //# sourceMappingURL=getTranslationServices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getTranslationServices.js","sourceRoot":"","sources":["../../src/getTranslationServices.tsx"],"names":[],"mappings":";AAEA,OAAa,EAAE,cAAc,EAAY,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,IAAI,EAA2B,SAAS,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,KAAK,IAAI,aAAa,EAEtB,cAAc,IAAI,sBAAsB,GACzC,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAmJnE;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAIpC,EACA,mBAAmB,EACnB,SAAS,EACT,SAAS,GAKV;IACC,MAAM,YAAY,GAAG,cAAc,EAAE,CAAC;IAEtC,YAAY;SACT,GAAG,CAAC,gBAAgB,CAAC;SACrB,IAAI,CAAC;QACJ,SAAS,EAAE,SAAS;QACpB,EAAE,EAAE,CAAC,SAAS,CAAC;QACf,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,KAAK;QACnB,aAAa,EAAE;YACb,WAAW,EAAE,KAAK;YAClB,eAAe,EAAE,KAAK;SACvB;QACD,KAAK,EAAE;YACL,aAAa,EAAE,OAAO;YACtB,WAAW,EAAE,KAAK;SACnB;KACF,CAAC;SACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;QACf,OAAO,CAAC,KAAK,CACX,iFAAiF,SAAS,EAAE,CAC7F,CAAC;QACF,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;IAEL,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,EAAE;QAC3D,YAAY,CAAC,iBAAiB,CAAC,YAAY,EAAE,SAAS,EAAE,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,CAAC,OAA2C,EAAE,EAAE;QAClD,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,GAAG,sBAAsB,CAAC,SAAS,EAAE;YACzD,GAAG,OAAO;YACV,IAAI,EAAE,YAAY;SACnB,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,CAEd,CAAC;QAEF,MAAM,MAAM,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAElC,CAAC;QAEF,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC;QAClB,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;QACnB,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;QAErB,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;IAEF,OAAO;QACL,IAAI,EAAE,YAAY;QAClB,mBAAmB,EAAE,2BAA2B;QAChD,KAAK;QACL,cAAc;KACf,CAAC;AACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export const getTypedObjectEntries = (obj) => Object.entries(obj);
2
- //# sourceMappingURL=getTypedObjectEntries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getTypedObjectEntries.js","sourceRoot":"","sources":["../../src/getTypedObjectEntries.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,GAAe,EACf,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAuD,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./contributionsMetadata.types.js";
2
- export * from "./getTranslationServices.js";
3
- export * from "./translationServices.types.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC"}
@@ -1,34 +0,0 @@
1
- export const defaultSupportedLanguages = [
2
- "cs", // Czech
3
- "da", // Danish
4
- "de", // German
5
- "el", // Greek
6
- "en", // English
7
- "es", // Spanish
8
- "eu", // Euskara
9
- "fi", // Finnish
10
- "fr", // French
11
- "ht", // Haitian Creole
12
- "hu", // Hungarian
13
- "id", // Indonesian
14
- "it", // Italian
15
- "ja", // Japanese
16
- "ko", // Korean
17
- "ms", // Malaysian
18
- "nb", // Norwegian
19
- "nl_NL", // Dutch
20
- "ok_PL", // (Test Language) Pseudo-loc
21
- "ok_SK", // (Test Language) Show Keys
22
- "pl", // Polish
23
- "pt_BR", // Portuguese (Brazil)
24
- "ro", // Romanian
25
- "ru", // Russian
26
- "sv", // Swedish
27
- "th", // Thai
28
- "tr", // Turkish
29
- "uk", // Ukrainian
30
- "vi", // Vietnamese
31
- "zh_CN", // Chinese (PRC)
32
- "zh_TW", // Chinese
33
- ];
34
- //# sourceMappingURL=translationServices.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"translationServices.types.js","sourceRoot":"","sources":["../../src/translationServices.types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,4BAA4B;IACrC,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,sBAAsB;IAC/B,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,UAAU;CACX,CAAC"}