@spscommerce/i18n 0.0.0-20260319-8230915ce
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.
- package/README.md +46 -0
- package/lib/SpsLanguage.d.ts +2 -0
- package/lib/i18n-woodland.d.ts +4 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +3839 -0
- package/lib/index.umd.cjs +2 -0
- package/lib/localize.d.ts +23 -0
- package/lib/useSpsLanguage.d.ts +2 -0
- package/locales/de-DE/woodland.json +110 -0
- package/locales/en-US/woodland.json +126 -0
- package/locales/es-ES/woodland.json +110 -0
- package/locales/fr-CA/woodland.json +110 -0
- package/locales/fr-FR/woodland.json +110 -0
- package/locales/it-IT/woodland.json +110 -0
- package/locales/nl-NL/woodland.json +110 -0
- package/locales/zh-CN/woodland.json +110 -0
- package/locales/zh-TW/woodland.json +110 -0
- package/package.json +46 -0
- package/update.mjs +16 -0
- package/vite.config.mjs +20 -0
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[//]: # "START_AUTOGENERATED"
|
|
2
|
+
|
|
3
|
+
## [@spscommerce/i18n](https://github.com/spscommerce/ui-angular/tree/master/packages/@spscommerce/i18n#readme)
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
SPS Design System React components
|
|
10
|
+
|
|
11
|
+
### Installation
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
npm install --save @spscommerce/i18n
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
#### Peer Dependencies
|
|
18
|
+
|
|
19
|
+
<div class="row">
|
|
20
|
+
<div class="col-5">
|
|
21
|
+
<table class="sps-table">
|
|
22
|
+
<thead class="sps-table__head">
|
|
23
|
+
<tr class="sps-table__row">
|
|
24
|
+
<th class="sps-table__header">
|
|
25
|
+
<span class="sps-table__header-cell-body">
|
|
26
|
+
Package
|
|
27
|
+
</span>
|
|
28
|
+
</th>
|
|
29
|
+
<th class="sps-table__header text-right">
|
|
30
|
+
<span class="sps-table__header-cell-body">
|
|
31
|
+
Version
|
|
32
|
+
</span>
|
|
33
|
+
</th>
|
|
34
|
+
</tr>
|
|
35
|
+
</thead>
|
|
36
|
+
<tbody class="sps-table__body">
|
|
37
|
+
<tr class="sps-table__row"><td class="sps-table__cell"><a href="https://reactjs.org/">react</a></td><td class="sps-table__cell text-right">^16.9.0</td></tr>
|
|
38
|
+
</tbody>
|
|
39
|
+
</table>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-7">
|
|
42
|
+
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
[//]: # "END_AUTOGENERATED"
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type UseTranslationOptions } from "react-i18next";
|
|
2
|
+
declare const i18nWoodland: import("i18next").i18n;
|
|
3
|
+
export declare function useWoodlandLanguage(options?: UseTranslationOptions): import("react-i18next").UseTranslationResponse<"woodland", undefined>;
|
|
4
|
+
export { i18nWoodland };
|
package/lib/index.d.ts
ADDED