@mittwald/flow-react-components 0.2.0-alpha.344 → 0.2.0-alpha.346
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/CHANGELOG.md +10 -0
- package/dist/assets/doc-properties.json +160 -160
- package/dist/js/components/src/components/TranslationProvider/TranslationProvider.mjs +7 -3
- package/dist/js/components/src/components/TranslationProvider/TranslationProvider.mjs.map +1 -1
- package/dist/js/default.mjs +2 -0
- package/dist/js/default.mjs.map +1 -1
- package/dist/js/flr-universal.mjs +1 -0
- package/dist/js/flr-universal.mjs.map +1 -1
- package/dist/types/components/TranslationProvider/TranslationProvider.d.ts +3 -3
- package/dist/types/components/TranslationProvider/TranslationProvider.d.ts.map +1 -1
- package/dist/types/components/TranslationProvider/index.d.ts +3 -1
- package/dist/types/components/TranslationProvider/index.d.ts.map +1 -1
- package/dist/types/components/public.d.ts +1 -0
- package/dist/types/components/public.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.346](https://github.com/mittwald/flow/compare/0.2.0-alpha.345...0.2.0-alpha.346) (2025-07-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
9
|
+
|
|
10
|
+
# [0.2.0-alpha.345](https://github.com/mittwald/flow/compare/0.2.0-alpha.344...0.2.0-alpha.345) (2025-07-14)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **TranslationProvider:** export translation provider ([#1755](https://github.com/mittwald/flow/issues/1755)) ([4b973c7](https://github.com/mittwald/flow/commit/4b973c75a731912965ea500059dea09886793598))
|
|
15
|
+
|
|
6
16
|
# [0.2.0-alpha.344](https://github.com/mittwald/flow/compare/0.2.0-alpha.343...0.2.0-alpha.344) (2025-07-14)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
],
|
|
595
595
|
"required": true,
|
|
596
596
|
"type": {
|
|
597
|
-
"name": "
|
|
597
|
+
"name": "Translations"
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
}
|
|
@@ -171800,165 +171800,6 @@
|
|
|
171800
171800
|
}
|
|
171801
171801
|
}
|
|
171802
171802
|
},
|
|
171803
|
-
{
|
|
171804
|
-
"tags": {
|
|
171805
|
-
"flr-generate": "all"
|
|
171806
|
-
},
|
|
171807
|
-
"filePath": "src/components/AreaChart/AreaChart.tsx",
|
|
171808
|
-
"description": "",
|
|
171809
|
-
"displayName": "AreaChart",
|
|
171810
|
-
"methods": [],
|
|
171811
|
-
"props": {
|
|
171812
|
-
"height": {
|
|
171813
|
-
"defaultValue": null,
|
|
171814
|
-
"description": "",
|
|
171815
|
-
"name": "height",
|
|
171816
|
-
"parent": {
|
|
171817
|
-
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
171818
|
-
"name": "AreaChartProps"
|
|
171819
|
-
},
|
|
171820
|
-
"declarations": [
|
|
171821
|
-
{
|
|
171822
|
-
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
171823
|
-
"name": "AreaChartProps"
|
|
171824
|
-
}
|
|
171825
|
-
],
|
|
171826
|
-
"required": false,
|
|
171827
|
-
"type": {
|
|
171828
|
-
"name": "string"
|
|
171829
|
-
}
|
|
171830
|
-
},
|
|
171831
|
-
"emptyView": {
|
|
171832
|
-
"defaultValue": null,
|
|
171833
|
-
"description": "View that is provided when data is empty/undefined",
|
|
171834
|
-
"name": "emptyView",
|
|
171835
|
-
"parent": {
|
|
171836
|
-
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
171837
|
-
"name": "AreaChartProps"
|
|
171838
|
-
},
|
|
171839
|
-
"declarations": [
|
|
171840
|
-
{
|
|
171841
|
-
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
171842
|
-
"name": "AreaChartProps"
|
|
171843
|
-
}
|
|
171844
|
-
],
|
|
171845
|
-
"required": false,
|
|
171846
|
-
"type": {
|
|
171847
|
-
"name": "ComponentType<AreaChartEmptyViewProps>"
|
|
171848
|
-
}
|
|
171849
|
-
},
|
|
171850
|
-
"flexGrow": {
|
|
171851
|
-
"defaultValue": null,
|
|
171852
|
-
"description": "Allow the height controlling container to set flex-grow: 1. Can only be\nused in combination with `height`",
|
|
171853
|
-
"name": "flexGrow",
|
|
171854
|
-
"parent": {
|
|
171855
|
-
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
171856
|
-
"name": "AreaChartProps"
|
|
171857
|
-
},
|
|
171858
|
-
"declarations": [
|
|
171859
|
-
{
|
|
171860
|
-
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
171861
|
-
"name": "AreaChartProps"
|
|
171862
|
-
}
|
|
171863
|
-
],
|
|
171864
|
-
"required": false,
|
|
171865
|
-
"type": {
|
|
171866
|
-
"name": "boolean"
|
|
171867
|
-
}
|
|
171868
|
-
},
|
|
171869
|
-
"className": {
|
|
171870
|
-
"defaultValue": null,
|
|
171871
|
-
"description": "",
|
|
171872
|
-
"name": "className",
|
|
171873
|
-
"parent": {
|
|
171874
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171875
|
-
"name": "CategoricalChartProps"
|
|
171876
|
-
},
|
|
171877
|
-
"declarations": [
|
|
171878
|
-
{
|
|
171879
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171880
|
-
"name": "CategoricalChartProps"
|
|
171881
|
-
}
|
|
171882
|
-
],
|
|
171883
|
-
"required": false,
|
|
171884
|
-
"type": {
|
|
171885
|
-
"name": "string"
|
|
171886
|
-
}
|
|
171887
|
-
},
|
|
171888
|
-
"data": {
|
|
171889
|
-
"defaultValue": null,
|
|
171890
|
-
"description": "",
|
|
171891
|
-
"name": "data",
|
|
171892
|
-
"parent": {
|
|
171893
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171894
|
-
"name": "CategoricalChartProps"
|
|
171895
|
-
},
|
|
171896
|
-
"declarations": [
|
|
171897
|
-
{
|
|
171898
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171899
|
-
"name": "CategoricalChartProps"
|
|
171900
|
-
}
|
|
171901
|
-
],
|
|
171902
|
-
"required": false,
|
|
171903
|
-
"type": {
|
|
171904
|
-
"name": "any[]"
|
|
171905
|
-
}
|
|
171906
|
-
},
|
|
171907
|
-
"syncId": {
|
|
171908
|
-
"defaultValue": null,
|
|
171909
|
-
"description": "",
|
|
171910
|
-
"name": "syncId",
|
|
171911
|
-
"parent": {
|
|
171912
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171913
|
-
"name": "CategoricalChartProps"
|
|
171914
|
-
},
|
|
171915
|
-
"declarations": [
|
|
171916
|
-
{
|
|
171917
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171918
|
-
"name": "CategoricalChartProps"
|
|
171919
|
-
}
|
|
171920
|
-
],
|
|
171921
|
-
"required": false,
|
|
171922
|
-
"type": {
|
|
171923
|
-
"name": "string | number"
|
|
171924
|
-
}
|
|
171925
|
-
},
|
|
171926
|
-
"syncMethod": {
|
|
171927
|
-
"defaultValue": null,
|
|
171928
|
-
"description": "",
|
|
171929
|
-
"name": "syncMethod",
|
|
171930
|
-
"parent": {
|
|
171931
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171932
|
-
"name": "CategoricalChartProps"
|
|
171933
|
-
},
|
|
171934
|
-
"declarations": [
|
|
171935
|
-
{
|
|
171936
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
171937
|
-
"name": "CategoricalChartProps"
|
|
171938
|
-
}
|
|
171939
|
-
],
|
|
171940
|
-
"required": false,
|
|
171941
|
-
"type": {
|
|
171942
|
-
"name": "SyncMethod"
|
|
171943
|
-
}
|
|
171944
|
-
},
|
|
171945
|
-
"children": {
|
|
171946
|
-
"defaultValue": null,
|
|
171947
|
-
"description": "",
|
|
171948
|
-
"name": "children",
|
|
171949
|
-
"declarations": [
|
|
171950
|
-
{
|
|
171951
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
171952
|
-
"name": "TypeLiteral"
|
|
171953
|
-
}
|
|
171954
|
-
],
|
|
171955
|
-
"required": false,
|
|
171956
|
-
"type": {
|
|
171957
|
-
"name": "ReactNode"
|
|
171958
|
-
}
|
|
171959
|
-
}
|
|
171960
|
-
}
|
|
171961
|
-
},
|
|
171962
171803
|
{
|
|
171963
171804
|
"tags": {
|
|
171964
171805
|
"flr-generate": "all"
|
|
@@ -172158,6 +171999,165 @@
|
|
|
172158
171999
|
}
|
|
172159
172000
|
}
|
|
172160
172001
|
},
|
|
172002
|
+
{
|
|
172003
|
+
"tags": {
|
|
172004
|
+
"flr-generate": "all"
|
|
172005
|
+
},
|
|
172006
|
+
"filePath": "src/components/AreaChart/AreaChart.tsx",
|
|
172007
|
+
"description": "",
|
|
172008
|
+
"displayName": "AreaChart",
|
|
172009
|
+
"methods": [],
|
|
172010
|
+
"props": {
|
|
172011
|
+
"height": {
|
|
172012
|
+
"defaultValue": null,
|
|
172013
|
+
"description": "",
|
|
172014
|
+
"name": "height",
|
|
172015
|
+
"parent": {
|
|
172016
|
+
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
172017
|
+
"name": "AreaChartProps"
|
|
172018
|
+
},
|
|
172019
|
+
"declarations": [
|
|
172020
|
+
{
|
|
172021
|
+
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
172022
|
+
"name": "AreaChartProps"
|
|
172023
|
+
}
|
|
172024
|
+
],
|
|
172025
|
+
"required": false,
|
|
172026
|
+
"type": {
|
|
172027
|
+
"name": "string"
|
|
172028
|
+
}
|
|
172029
|
+
},
|
|
172030
|
+
"emptyView": {
|
|
172031
|
+
"defaultValue": null,
|
|
172032
|
+
"description": "View that is provided when data is empty/undefined",
|
|
172033
|
+
"name": "emptyView",
|
|
172034
|
+
"parent": {
|
|
172035
|
+
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
172036
|
+
"name": "AreaChartProps"
|
|
172037
|
+
},
|
|
172038
|
+
"declarations": [
|
|
172039
|
+
{
|
|
172040
|
+
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
172041
|
+
"name": "AreaChartProps"
|
|
172042
|
+
}
|
|
172043
|
+
],
|
|
172044
|
+
"required": false,
|
|
172045
|
+
"type": {
|
|
172046
|
+
"name": "ComponentType<AreaChartEmptyViewProps>"
|
|
172047
|
+
}
|
|
172048
|
+
},
|
|
172049
|
+
"flexGrow": {
|
|
172050
|
+
"defaultValue": null,
|
|
172051
|
+
"description": "Allow the height controlling container to set flex-grow: 1. Can only be\nused in combination with `height`",
|
|
172052
|
+
"name": "flexGrow",
|
|
172053
|
+
"parent": {
|
|
172054
|
+
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
172055
|
+
"name": "AreaChartProps"
|
|
172056
|
+
},
|
|
172057
|
+
"declarations": [
|
|
172058
|
+
{
|
|
172059
|
+
"fileName": "src/components/AreaChart/AreaChart.tsx",
|
|
172060
|
+
"name": "AreaChartProps"
|
|
172061
|
+
}
|
|
172062
|
+
],
|
|
172063
|
+
"required": false,
|
|
172064
|
+
"type": {
|
|
172065
|
+
"name": "boolean"
|
|
172066
|
+
}
|
|
172067
|
+
},
|
|
172068
|
+
"className": {
|
|
172069
|
+
"defaultValue": null,
|
|
172070
|
+
"description": "",
|
|
172071
|
+
"name": "className",
|
|
172072
|
+
"parent": {
|
|
172073
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172074
|
+
"name": "CategoricalChartProps"
|
|
172075
|
+
},
|
|
172076
|
+
"declarations": [
|
|
172077
|
+
{
|
|
172078
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172079
|
+
"name": "CategoricalChartProps"
|
|
172080
|
+
}
|
|
172081
|
+
],
|
|
172082
|
+
"required": false,
|
|
172083
|
+
"type": {
|
|
172084
|
+
"name": "string"
|
|
172085
|
+
}
|
|
172086
|
+
},
|
|
172087
|
+
"data": {
|
|
172088
|
+
"defaultValue": null,
|
|
172089
|
+
"description": "",
|
|
172090
|
+
"name": "data",
|
|
172091
|
+
"parent": {
|
|
172092
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172093
|
+
"name": "CategoricalChartProps"
|
|
172094
|
+
},
|
|
172095
|
+
"declarations": [
|
|
172096
|
+
{
|
|
172097
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172098
|
+
"name": "CategoricalChartProps"
|
|
172099
|
+
}
|
|
172100
|
+
],
|
|
172101
|
+
"required": false,
|
|
172102
|
+
"type": {
|
|
172103
|
+
"name": "any[]"
|
|
172104
|
+
}
|
|
172105
|
+
},
|
|
172106
|
+
"syncId": {
|
|
172107
|
+
"defaultValue": null,
|
|
172108
|
+
"description": "",
|
|
172109
|
+
"name": "syncId",
|
|
172110
|
+
"parent": {
|
|
172111
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172112
|
+
"name": "CategoricalChartProps"
|
|
172113
|
+
},
|
|
172114
|
+
"declarations": [
|
|
172115
|
+
{
|
|
172116
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172117
|
+
"name": "CategoricalChartProps"
|
|
172118
|
+
}
|
|
172119
|
+
],
|
|
172120
|
+
"required": false,
|
|
172121
|
+
"type": {
|
|
172122
|
+
"name": "string | number"
|
|
172123
|
+
}
|
|
172124
|
+
},
|
|
172125
|
+
"syncMethod": {
|
|
172126
|
+
"defaultValue": null,
|
|
172127
|
+
"description": "",
|
|
172128
|
+
"name": "syncMethod",
|
|
172129
|
+
"parent": {
|
|
172130
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172131
|
+
"name": "CategoricalChartProps"
|
|
172132
|
+
},
|
|
172133
|
+
"declarations": [
|
|
172134
|
+
{
|
|
172135
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.0.0-beta.1_@types+react@19.1.6_redux@5.0.1/node_modules/recharts/types/chart/generateCategoricalChart.d.ts",
|
|
172136
|
+
"name": "CategoricalChartProps"
|
|
172137
|
+
}
|
|
172138
|
+
],
|
|
172139
|
+
"required": false,
|
|
172140
|
+
"type": {
|
|
172141
|
+
"name": "SyncMethod"
|
|
172142
|
+
}
|
|
172143
|
+
},
|
|
172144
|
+
"children": {
|
|
172145
|
+
"defaultValue": null,
|
|
172146
|
+
"description": "",
|
|
172147
|
+
"name": "children",
|
|
172148
|
+
"declarations": [
|
|
172149
|
+
{
|
|
172150
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
172151
|
+
"name": "TypeLiteral"
|
|
172152
|
+
}
|
|
172153
|
+
],
|
|
172154
|
+
"required": false,
|
|
172155
|
+
"type": {
|
|
172156
|
+
"name": "ReactNode"
|
|
172157
|
+
}
|
|
172158
|
+
}
|
|
172159
|
+
}
|
|
172160
|
+
},
|
|
172161
172161
|
{
|
|
172162
172162
|
"tags": {
|
|
172163
172163
|
"flr-generate": "all",
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import { createContext, useContext } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { createContext, useContext, useMemo } from 'react';
|
|
5
5
|
|
|
6
6
|
const context = createContext({});
|
|
7
7
|
const useTranslationProvider = () => useContext(context);
|
|
8
|
+
const TranslationProvider = (props) => {
|
|
9
|
+
const { children, translations } = props;
|
|
10
|
+
return /* @__PURE__ */ jsx(context.Provider, { value: useMemo(() => translations, [translations]), children });
|
|
11
|
+
};
|
|
8
12
|
|
|
9
|
-
export { useTranslationProvider };
|
|
13
|
+
export { TranslationProvider, TranslationProvider as default, useTranslationProvider };
|
|
10
14
|
//# sourceMappingURL=TranslationProvider.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranslationProvider.mjs","sources":["../../../../../../src/components/TranslationProvider/TranslationProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from \"react\";\nimport React, { createContext, useContext, useMemo } from \"react\";\n\nexport interface
|
|
1
|
+
{"version":3,"file":"TranslationProvider.mjs","sources":["../../../../../../src/components/TranslationProvider/TranslationProvider.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from \"react\";\nimport React, { createContext, useContext, useMemo } from \"react\";\n\nexport interface Translations {\n \"de-DE\"?: Record<string, string>;\n \"en-US\"?: Record<string, string>;\n}\n\ntype Props = PropsWithChildren & {\n translations: Translations;\n};\n\nconst context = createContext<Translations>({});\n\nexport const useTranslationProvider = () => useContext(context);\n\nexport const TranslationProvider: FC<Props> = (props) => {\n const { children, translations } = props;\n\n return (\n <context.Provider value={useMemo(() => translations, [translations])}>\n {children}\n </context.Provider>\n );\n};\n\nexport default TranslationProvider;\n"],"names":[],"mappings":";;;AAYA,MAAM,OAAA,GAAU,aAA4B,CAAA,EAAE,CAAA;AAEjC,MAAA,sBAAA,GAAyB,MAAM,UAAA,CAAW,OAAO;AAEjD,MAAA,mBAAA,GAAiC,CAAC,KAAU,KAAA;AACvD,EAAM,MAAA,EAAE,QAAU,EAAA,YAAA,EAAiB,GAAA,KAAA;AAEnC,EAAA,uBACG,GAAA,CAAA,OAAA,CAAQ,QAAR,EAAA,EAAiB,KAAO,EAAA,OAAA,CAAQ,MAAM,YAAA,EAAc,CAAC,YAAY,CAAC,CAAA,EAChE,QACH,EAAA,CAAA;AAEJ;;;;"}
|
package/dist/js/default.mjs
CHANGED
|
@@ -251,6 +251,8 @@ export { Text } from './components/src/components/Text/Text.mjs';
|
|
|
251
251
|
export { TextArea } from './components/src/components/TextArea/TextArea.mjs';
|
|
252
252
|
export { TextField } from './components/src/components/TextField/TextField.mjs';
|
|
253
253
|
export { TimeField } from './components/src/components/TimeField/TimeField.mjs';
|
|
254
|
+
export { TranslationProvider, useTranslationProvider } from './components/src/components/TranslationProvider/TranslationProvider.mjs';
|
|
255
|
+
export { useLocalizedContextStringFormatter } from './components/src/components/TranslationProvider/useLocalizedContextStringFormatter.mjs';
|
|
254
256
|
export { TooltipTrigger } from './components/src/components/Tooltip/components/TooltipTrigger/TooltipTrigger.mjs';
|
|
255
257
|
export { Tooltip } from './components/src/components/Tooltip/Tooltip.mjs';
|
|
256
258
|
export { TunnelEntry } from './components/src/components/TunnelEntry/TunnelEntry.mjs';
|
package/dist/js/default.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"default.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -216,6 +216,7 @@ import './components/src/components/Tabs/components/Tab/context.mjs';
|
|
|
216
216
|
import './components/src/components/TextArea/TextArea.mjs';
|
|
217
217
|
import './components/src/components/TextField/TextField.mjs';
|
|
218
218
|
import './components/src/components/TimeField/TimeField.mjs';
|
|
219
|
+
import './components/src/components/TranslationProvider/TranslationProvider.mjs';
|
|
219
220
|
export { useOnChange } from './components/src/lib/hooks/useOnChange.mjs';
|
|
220
221
|
export { useIsMounted } from './components/src/lib/hooks/useIsMounted.mjs';
|
|
221
222
|
//# sourceMappingURL=flr-universal.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flr-universal.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flr-universal.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
export interface
|
|
2
|
+
export interface Translations {
|
|
3
3
|
"de-DE"?: Record<string, string>;
|
|
4
4
|
"en-US"?: Record<string, string>;
|
|
5
5
|
}
|
|
6
6
|
type Props = PropsWithChildren & {
|
|
7
|
-
translations:
|
|
7
|
+
translations: Translations;
|
|
8
8
|
};
|
|
9
|
-
export declare const useTranslationProvider: () =>
|
|
9
|
+
export declare const useTranslationProvider: () => Translations;
|
|
10
10
|
export declare const TranslationProvider: FC<Props>;
|
|
11
11
|
export default TranslationProvider;
|
|
12
12
|
//# sourceMappingURL=TranslationProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranslationProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/TranslationProvider/TranslationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"TranslationProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/TranslationProvider/TranslationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAED,KAAK,KAAK,GAAG,iBAAiB,GAAG;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAIF,eAAO,MAAM,sBAAsB,oBAA4B,CAAC;AAEhE,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,CAQzC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export { TranslationProvider } from './TranslationProvider';
|
|
1
|
+
export { TranslationProvider, useTranslationProvider, } from './TranslationProvider';
|
|
2
|
+
export type { Translations } from './TranslationProvider';
|
|
3
|
+
export { useLocalizedContextStringFormatter } from './useLocalizedContextStringFormatter';
|
|
2
4
|
export { default } from './TranslationProvider';
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TranslationProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TranslationProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,sDAAsD,CAAC;AAC9D,YAAY,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAC;AACzF,OAAO,EAAE,kCAAkC,EAAE,MAAM,qEAAqE,CAAC;AAEzH,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/public.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,o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AwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.346",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@chakra-ui/live-region": "^2.1.0",
|
|
59
59
|
"@internationalized/string-compiler": "^3.2.6",
|
|
60
60
|
"@mittwald/password-tools-js": "^2.1.6",
|
|
61
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
61
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.346",
|
|
62
62
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
63
63
|
"@react-aria/form": "^3.0.18",
|
|
64
64
|
"@react-aria/utils": "^3.29.1",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@faker-js/faker": "^9.9.0",
|
|
100
100
|
"@internationalized/date": "^3.8.2",
|
|
101
101
|
"@mittwald/flow-core": "",
|
|
102
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
102
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.346",
|
|
103
103
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
104
104
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.3",
|
|
105
105
|
"@mittwald/typescript-config": "",
|
|
@@ -181,5 +181,5 @@
|
|
|
181
181
|
"optional": true
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
|
-
"gitHead": "
|
|
184
|
+
"gitHead": "294b591f9e955e03ca4e6458b7ce9ee6b53bd6a8"
|
|
185
185
|
}
|