@maggioli-design-system/mds-input-select 3.3.0 → 3.3.1
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/dist/collection/common/browser.js +7 -0
- package/dist/documentation.json +1 -1
- package/dist/stats.json +5 -3
- package/dist/types/common/browser.d.ts +2 -0
- package/dist/types/common/locale.d.ts +1 -1
- package/documentation.json +1 -1
- package/package.json +2 -2
- package/src/common/browser.ts +10 -0
- package/src/common/locale.ts +2 -2
- package/src/fixtures/icons.json +2 -0
- package/src/fixtures/iconsauce.json +1 -0
package/dist/documentation.json
CHANGED
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-03-
|
|
2
|
+
"timestamp": "2025-03-10T11:06:23",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "22.11.0"
|
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
"fsNamespace": "mds-input-select",
|
|
10
10
|
"components": 1,
|
|
11
11
|
"entries": 1,
|
|
12
|
-
"bundles":
|
|
12
|
+
"bundles": 102,
|
|
13
13
|
"outputs": [
|
|
14
14
|
{
|
|
15
15
|
"name": "dist-collection",
|
|
16
|
-
"files":
|
|
16
|
+
"files": 54,
|
|
17
17
|
"generatedFiles": [
|
|
18
18
|
"./dist/collection/common/aria.js",
|
|
19
|
+
"./dist/collection/common/browser.js",
|
|
19
20
|
"./dist/collection/common/date.js",
|
|
20
21
|
"./dist/collection/common/device.js",
|
|
21
22
|
"./dist/collection/common/file.js",
|
|
@@ -924,6 +925,7 @@
|
|
|
924
925
|
},
|
|
925
926
|
"sourceGraph": {
|
|
926
927
|
"./src/common/aria.ts": [],
|
|
928
|
+
"./src/common/browser.ts": [],
|
|
927
929
|
"./src/common/date.ts": [],
|
|
928
930
|
"./src/common/device.ts": [],
|
|
929
931
|
"./src/common/file.ts": [],
|
|
@@ -15,6 +15,6 @@ export declare class Locale {
|
|
|
15
15
|
lang: (el: HTMLElement) => string;
|
|
16
16
|
update: (doc?: Document | ShadowRoot) => void;
|
|
17
17
|
private pluralize;
|
|
18
|
-
get: (tag: string | string[], context?: Record<string, string | number>) => string;
|
|
18
|
+
get: (tag: string | string[], context?: Record<string, string | number | boolean>) => string;
|
|
19
19
|
}
|
|
20
20
|
export {};
|
package/documentation.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-input-select",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "mds-input-select is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@maggioli-design-system/styles": "15.9.0",
|
|
28
|
-
"@maggioli-design-system/mds-input-tip": "1.4.
|
|
28
|
+
"@maggioli-design-system/mds-input-tip": "1.4.1",
|
|
29
29
|
"@stencil/core": "4.27.2",
|
|
30
30
|
"clsx": "2.1.0"
|
|
31
31
|
},
|
package/src/common/locale.ts
CHANGED
|
@@ -52,7 +52,7 @@ export class Locale {
|
|
|
52
52
|
})
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
private pluralize = (tag: string | string[], context: Record<string, string | number>): string => {
|
|
55
|
+
private pluralize = (tag: string | string[], context: Record<string, string | number | boolean>): string => {
|
|
56
56
|
|
|
57
57
|
const languagePhrase: string | string[] = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag]
|
|
58
58
|
const phrases: string[] = []
|
|
@@ -81,7 +81,7 @@ export class Locale {
|
|
|
81
81
|
return render(translatePhrase, context)
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
get = (tag: string | string[], context?: Record<string, string | number>): string => {
|
|
84
|
+
get = (tag: string | string[], context?: Record<string, string | number | boolean>): string => {
|
|
85
85
|
if (context) {
|
|
86
86
|
return this.pluralize(tag, context)
|
|
87
87
|
}
|
package/src/fixtures/icons.json
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"mgg/ai-status-suspended",
|
|
53
53
|
"mgg/alerts-pagopa",
|
|
54
54
|
"mgg/anagrafe-nazionale",
|
|
55
|
+
"mgg/anist",
|
|
55
56
|
"mgg/anpr",
|
|
56
57
|
"mgg/ansc",
|
|
57
58
|
"mgg/area-edificabile",
|
|
@@ -361,6 +362,7 @@
|
|
|
361
362
|
"mi/baseline/eco",
|
|
362
363
|
"mi/baseline/email",
|
|
363
364
|
"mi/baseline/error",
|
|
365
|
+
"mi/baseline/expand-more",
|
|
364
366
|
"mi/baseline/explore",
|
|
365
367
|
"mi/baseline/favorite",
|
|
366
368
|
"mi/baseline/favorite-border",
|