@ndla/ui 56.0.24-alpha.0 → 56.0.26-alpha.0
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/es/i18n/index.js +1 -1
- package/es/index.js +1 -1
- package/lib/i18n/index.d.ts +1 -1
- package/lib/i18n/index.js +6 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +6 -0
- package/package.json +7 -7
- package/src/i18n/index.ts +1 -0
- package/src/index.ts +1 -0
package/es/i18n/index.js
CHANGED
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
export { i18nInstance } from "./i18n";
|
|
10
10
|
export { formatNestedMessages } from "./formatNestedMessages";
|
|
11
|
-
export { useComboboxTranslations, useTagSelectorTranslations, useTagsInputTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations } from "./useComponentTranslations";
|
|
11
|
+
export { useComboboxTranslations, useTagSelectorTranslations, useTagsInputTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, useVideoSearchTranslations } from "./useComponentTranslations";
|
package/es/index.js
CHANGED
|
@@ -29,7 +29,7 @@ export { default as messagesEN } from "./locale/messages-en";
|
|
|
29
29
|
export { default as messagesSE } from "./locale/messages-se";
|
|
30
30
|
export { default as messagesSMA } from "./locale/messages-sma";
|
|
31
31
|
export { default as Breadcrumb, HomeBreadcrumb } from "./Breadcrumb";
|
|
32
|
-
export { i18nInstance, formatNestedMessages, useTagsInputTranslations, useTagSelectorTranslations, useComboboxTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations } from "./i18n";
|
|
32
|
+
export { i18nInstance, formatNestedMessages, useTagsInputTranslations, useTagSelectorTranslations, useComboboxTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, useVideoSearchTranslations } from "./i18n";
|
|
33
33
|
export { default as LayoutItem, OneColumn, PageContainer } from "./Layout";
|
|
34
34
|
export { default as ContentTypeBadge, SubjectMaterialBadge, TasksAndActivitiesBadge, AssessmentResourcesBadge, LearningPathBadge, SubjectBadge, SourceMaterialBadge, ConceptBadge } from "./ContentTypeBadge";
|
|
35
35
|
export { ContentTypeBadge as ContentTypeBadgeNew, contentTypeToBadgeVariantMap } from "./ContentTypeBadge/ContentTypeBadgeNew";
|
package/lib/i18n/index.d.ts
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export { i18nInstance } from "./i18n";
|
|
9
9
|
export { formatNestedMessages } from "./formatNestedMessages";
|
|
10
|
-
export { useComboboxTranslations, useTagSelectorTranslations, useTagsInputTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, } from "./useComponentTranslations";
|
|
10
|
+
export { useComboboxTranslations, useTagSelectorTranslations, useTagsInputTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, useVideoSearchTranslations, } from "./useComponentTranslations";
|
package/lib/i18n/index.js
CHANGED
|
@@ -51,6 +51,12 @@ Object.defineProperty(exports, "useTagsInputTranslations", {
|
|
|
51
51
|
return _useComponentTranslations.useTagsInputTranslations;
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
+
Object.defineProperty(exports, "useVideoSearchTranslations", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _useComponentTranslations.useVideoSearchTranslations;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
54
60
|
var _i18n = require("./i18n");
|
|
55
61
|
var _formatNestedMessages = require("./formatNestedMessages");
|
|
56
62
|
var _useComponentTranslations = require("./useComponentTranslations");
|
package/lib/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export { default as messagesSE } from "./locale/messages-se";
|
|
|
27
27
|
export { default as messagesSMA } from "./locale/messages-sma";
|
|
28
28
|
export { default as Breadcrumb, HomeBreadcrumb } from "./Breadcrumb";
|
|
29
29
|
export type { SimpleBreadcrumbItem, IndexedBreadcrumbItem } from "./Breadcrumb";
|
|
30
|
-
export { i18nInstance, formatNestedMessages, useTagsInputTranslations, useTagSelectorTranslations, useComboboxTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, } from "./i18n";
|
|
30
|
+
export { i18nInstance, formatNestedMessages, useTagsInputTranslations, useTagSelectorTranslations, useComboboxTranslations, usePaginationTranslations, useAudioSearchTranslations, useImageSearchTranslations, useVideoSearchTranslations, } from "./i18n";
|
|
31
31
|
export { default as LayoutItem, OneColumn, PageContainer } from "./Layout";
|
|
32
32
|
export { default as ContentTypeBadge, SubjectMaterialBadge, TasksAndActivitiesBadge, AssessmentResourcesBadge, LearningPathBadge, SubjectBadge, SourceMaterialBadge, ConceptBadge, } from "./ContentTypeBadge";
|
|
33
33
|
export type { ContentTypeBadgeProps, ContentType } from "./ContentTypeBadge/ContentTypeBadgeNew";
|
package/lib/index.js
CHANGED
|
@@ -621,6 +621,12 @@ Object.defineProperty(exports, "useTagsInputTranslations", {
|
|
|
621
621
|
return _i18n.useTagsInputTranslations;
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
|
+
Object.defineProperty(exports, "useVideoSearchTranslations", {
|
|
625
|
+
enumerable: true,
|
|
626
|
+
get: function () {
|
|
627
|
+
return _i18n.useVideoSearchTranslations;
|
|
628
|
+
}
|
|
629
|
+
});
|
|
624
630
|
var _Concept = require("./Concept/Concept");
|
|
625
631
|
var _Embed = require("./Embed");
|
|
626
632
|
var _LicenseByline = require("./LicenseByline");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/ui",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.26-alpha.0",
|
|
4
4
|
"description": "UI component library for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ndla/core": "^5.0.2",
|
|
37
|
-
"@ndla/icons": "^8.0.
|
|
37
|
+
"@ndla/icons": "^8.0.17-alpha.0",
|
|
38
38
|
"@ndla/licenses": "^8.0.2-alpha.0",
|
|
39
|
-
"@ndla/primitives": "^1.0.
|
|
40
|
-
"@ndla/safelink": "^7.0.
|
|
41
|
-
"@ndla/styled-system": "^0.0.
|
|
39
|
+
"@ndla/primitives": "^1.0.23-alpha.0",
|
|
40
|
+
"@ndla/safelink": "^7.0.23-alpha.0",
|
|
41
|
+
"@ndla/styled-system": "^0.0.19",
|
|
42
42
|
"@ndla/util": "^4.1.0",
|
|
43
43
|
"html-react-parser": "^5.1.8",
|
|
44
44
|
"i18next-browser-languagedetector": "^7.1.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"react-router-dom": "> 6.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@ndla/preset-panda": "^0.0.
|
|
56
|
+
"@ndla/preset-panda": "^0.0.27",
|
|
57
57
|
"@ndla/types-backend": "^0.2.86",
|
|
58
58
|
"@ndla/types-embed": "^5.0.1-alpha.0",
|
|
59
59
|
"@pandacss/dev": "^0.46.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "8b76ecf3764730339a324ead4dcbe26c26d6d60f"
|
|
70
70
|
}
|
package/src/i18n/index.ts
CHANGED
package/src/index.ts
CHANGED