@maggioli-design-system/mds-stepper-bar
Advanced tools
Comparing version 5.7.2 to 5.7.3
@@ -5,2 +5,5 @@ import Handlebars from "handlebars"; | ||
this.rollbackLanguage = 'en'; | ||
this.set = (configData) => { | ||
this.config = configData; | ||
}; | ||
this.lang = (element) => { | ||
@@ -11,6 +14,7 @@ this.closestElement = element.closest('[lang]'); | ||
this.language = this.closestElement.lang; | ||
return; | ||
return this.language; | ||
} | ||
} | ||
this.language = this.rollbackLanguage; | ||
return this.language; | ||
}; | ||
@@ -48,4 +52,6 @@ this.pluralize = (tag, context) => { | ||
}; | ||
this.config = configData; | ||
if (configData) { | ||
this.set(configData); | ||
} | ||
} | ||
} |
@@ -30,2 +30,7 @@ const buttonVariantDictionary = [ | ||
]; | ||
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, }; | ||
const buttonTypeDictionary = [ | ||
'button', | ||
'submit', | ||
'reset', | ||
]; | ||
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonTypeDictionary, buttonVariantDictionary, }; |
@@ -86,2 +86,7 @@ const themeVariantDictionary = [ | ||
]; | ||
const toneSmartVariantDictionary = [ | ||
'strong', | ||
'weak', | ||
'ghost', | ||
]; | ||
const toneMinimalVariantDictionary = [ | ||
@@ -91,2 +96,2 @@ 'strong', | ||
]; | ||
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, }; | ||
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, }; |
{ | ||
"timestamp": "2024-09-17T06:02:25", | ||
"timestamp": "2024-09-26T11:03:11", | ||
"compiler": { | ||
@@ -4,0 +4,0 @@ "name": "@stencil/core", |
{ | ||
"timestamp": "2024-09-17T06:02:25", | ||
"timestamp": "2024-09-26T11:03:11", | ||
"compiler": { | ||
@@ -12,9 +12,10 @@ "name": "node", | ||
"entries": 1, | ||
"bundles": 91, | ||
"bundles": 93, | ||
"outputs": [ | ||
{ | ||
"name": "dist-collection", | ||
"files": 43, | ||
"files": 45, | ||
"generatedFiles": [ | ||
"./dist/collection/common/aria.js", | ||
"./dist/collection/common/date.js", | ||
"./dist/collection/common/file.js", | ||
@@ -51,2 +52,3 @@ "./dist/collection/common/icon.js", | ||
"./dist/collection/type/button.js", | ||
"./dist/collection/type/date.js", | ||
"./dist/collection/type/file-types.js", | ||
@@ -503,2 +505,3 @@ "./dist/collection/type/floating-ui.js", | ||
"./src/common/aria.ts": [], | ||
"./src/common/date.ts": [], | ||
"./src/common/file.ts": [], | ||
@@ -547,2 +550,3 @@ "./src/common/icon.ts": [], | ||
"./src/type/button.ts": [], | ||
"./src/type/date.ts": [], | ||
"./src/type/file-types.ts": [], | ||
@@ -549,0 +553,0 @@ "./src/type/floating-ui.ts": [], |
@@ -12,4 +12,5 @@ type LocaleConfig = { | ||
closestElement: HTMLElement; | ||
constructor(configData: LocaleConfig); | ||
lang: (element: HTMLElement) => void; | ||
constructor(configData?: LocaleConfig); | ||
set: (configData: LocaleConfig) => void; | ||
lang: (element: HTMLElement) => string; | ||
private pluralize; | ||
@@ -16,0 +17,0 @@ get: (tag: string | string[], context?: Record<string, string | number>) => string; |
@@ -6,2 +6,3 @@ declare const buttonVariantDictionary: string[]; | ||
declare const buttonIconPositionDictionary: string[]; | ||
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, }; | ||
declare const buttonTypeDictionary: string[]; | ||
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonTypeDictionary, buttonVariantDictionary, }; |
@@ -10,3 +10,4 @@ declare const themeVariantDictionary: string[]; | ||
declare const toneSimpleVariantDictionary: string[]; | ||
declare const toneSmartVariantDictionary: string[]; | ||
declare const toneMinimalVariantDictionary: string[]; | ||
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, }; | ||
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, }; |
@@ -11,3 +11,3 @@ export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning'; | ||
export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet'; | ||
export type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet'; | ||
export type ToneSimpleVariantType = 'quiet' | 'strong' | 'weak'; | ||
export type ToneMinimalVariantType = 'strong' | 'weak'; |
{ | ||
"timestamp": "2024-09-17T03:14:28", | ||
"timestamp": "2024-09-26T07:00:37", | ||
"compiler": { | ||
@@ -138,4 +138,4 @@ "name": "@stencil/core", | ||
}, | ||
"src/type/variant.ts::ToneSimpleVariantType": { | ||
"declaration": "export type ToneSimpleVariantType =\n | 'strong'\n | 'weak'\n | 'quiet'", | ||
"src/type/variant.ts::ToneVariantType": { | ||
"declaration": "export type ToneVariantType =\n | 'strong' // background strong\n | 'weak' // background weak\n | 'ghost' // bordered\n | 'quiet'", | ||
"docstring": "", | ||
@@ -164,2 +164,7 @@ "path": "src/type/variant.ts" | ||
}, | ||
"src/type/variant.ts::ToneSimpleVariantType": { | ||
"declaration": "export type ToneSimpleVariantType =\n | 'quiet'\n | 'strong'\n | 'weak'", | ||
"docstring": "", | ||
"path": "src/type/variant.ts" | ||
}, | ||
"src/components/mds-benchmark-bar/meta/types.ts::BenchmarkBarTypographyType": { | ||
@@ -205,7 +210,2 @@ "declaration": "export type BenchmarkBarTypographyType =\n | 'option'\n | 'label'", | ||
}, | ||
"src/type/variant.ts::ToneVariantType": { | ||
"declaration": "export type ToneVariantType =\n | 'strong' // background strong\n | 'weak' // background weak\n | 'ghost' // bordered\n | 'quiet'", | ||
"docstring": "", | ||
"path": "src/type/variant.ts" | ||
}, | ||
"src/type/button.ts::ButtonSizeType": { | ||
@@ -486,2 +486,12 @@ "declaration": "export type ButtonSizeType =\n | 'sm'\n | 'md'\n | 'lg'\n | 'xl'", | ||
}, | ||
"src/type/date.ts::ISO8601Date": { | ||
"declaration": "type ISO8601Date = ISO8601DateFormat<string, 'ISO8601Date'>", | ||
"docstring": "", | ||
"path": "src/type/date.ts" | ||
}, | ||
"src/components/mds-push-notification/meta/types.ts::NotificationDateFormatType": { | ||
"declaration": "string", | ||
"docstring": "", | ||
"path": "src/components/mds-push-notification/meta/types.ts" | ||
}, | ||
"src/components/mds-push-notification/meta/types.ts::NotificationPreviewType": { | ||
@@ -488,0 +498,0 @@ "declaration": "export type NotificationPreviewType =\n | 'avatar'\n | 'image'", |
{ | ||
"name": "@maggioli-design-system/mds-stepper-bar", | ||
"version": "5.7.2", | ||
"version": "5.7.3", | ||
"description": "mds-stepper-bar 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 JavaScirpt framework you are using.", | ||
@@ -26,4 +26,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@maggioli-design-system/mds-progress": "2.10.2", | ||
"@maggioli-design-system/mds-stepper-bar-item": "5.6.8", | ||
"@maggioli-design-system/mds-progress": "2.10.3", | ||
"@maggioli-design-system/mds-stepper-bar-item": "5.6.9", | ||
"@maggioli-design-system/styles": "15.3.2", | ||
@@ -30,0 +30,0 @@ "@stencil/core": "4.21.0" |
@@ -16,14 +16,19 @@ import Handlebars from 'handlebars' | ||
constructor (configData: LocaleConfig) { | ||
constructor (configData?: LocaleConfig) { | ||
if (configData) { | ||
this.set(configData) | ||
} | ||
} | ||
set = (configData: LocaleConfig): void => { | ||
this.config = configData | ||
} | ||
lang = (element: HTMLElement): void => { | ||
lang = (element: HTMLElement): string => { | ||
this.closestElement = element.closest('[lang]') as HTMLElement | ||
if (this.closestElement) { | ||
if (this.closestElement.lang) { | ||
this.language = this.closestElement.lang | ||
return | ||
return this.language | ||
} | ||
@@ -33,2 +38,3 @@ } | ||
this.language = this.rollbackLanguage | ||
return this.language | ||
} | ||
@@ -35,0 +41,0 @@ |
@@ -35,2 +35,8 @@ const buttonVariantDictionary = [ | ||
const buttonTypeDictionary = [ | ||
'button', | ||
'submit', | ||
'reset', | ||
] | ||
export { | ||
@@ -41,3 +47,4 @@ buttonIconPositionDictionary, | ||
buttonToneVariantDictionary, | ||
buttonTypeDictionary, | ||
buttonVariantDictionary, | ||
} |
@@ -95,2 +95,8 @@ const themeVariantDictionary = [ | ||
const toneSmartVariantDictionary = [ | ||
'strong', | ||
'weak', | ||
'ghost', | ||
] | ||
const toneMinimalVariantDictionary = [ | ||
@@ -111,3 +117,4 @@ 'strong', | ||
toneSimpleVariantDictionary, | ||
toneSmartVariantDictionary, | ||
toneVariantDictionary, | ||
} |
@@ -36,2 +36,3 @@ [ | ||
"mgg/adv-denied", | ||
"mgg/ai", | ||
"mgg/alerts-pagopa", | ||
@@ -90,4 +91,12 @@ "mgg/ansc", | ||
"mgg/electronic-document", | ||
"mgg/email-assigned", | ||
"mgg/email-open-blocked", | ||
"mgg/email-open-check", | ||
"mgg/email-open-lock", | ||
"mgg/email-open-off", | ||
"mgg/email-open-play", | ||
"mgg/email-open-stop", | ||
"mgg/email-open-user", | ||
"mgg/email-open-view", | ||
"mgg/email-to-assign", | ||
"mgg/face-to-face-meeting", | ||
@@ -120,2 +129,8 @@ "mgg/factory", | ||
"mgg/fullscreen-on-alt", | ||
"mgg/google-book-closed", | ||
"mgg/google-book-closed-outline", | ||
"mgg/google-book-large", | ||
"mgg/google-book-large-outline", | ||
"mgg/google-book-opening", | ||
"mgg/google-book-opening-outline", | ||
"mgg/google-check-small", | ||
@@ -127,2 +142,3 @@ "mgg/google-experiment", | ||
"mgg/google-keyboard-double-arrow-up", | ||
"mgg/google-newsstand", | ||
"mgg/google-place-item", | ||
@@ -137,2 +153,3 @@ "mgg/group-assigned-automatically-system", | ||
"mgg/home-hammer", | ||
"mgg/home-link", | ||
"mgg/home-number", | ||
@@ -139,0 +156,0 @@ "mgg/inagibile", |
@@ -24,2 +24,3 @@ [ | ||
"mgg/adv-denied", | ||
"mgg/ai", | ||
"mgg/alerts-pagopa", | ||
@@ -78,4 +79,12 @@ "mgg/ansc", | ||
"mgg/electronic-document", | ||
"mgg/email-assigned", | ||
"mgg/email-open-blocked", | ||
"mgg/email-open-check", | ||
"mgg/email-open-lock", | ||
"mgg/email-open-off", | ||
"mgg/email-open-play", | ||
"mgg/email-open-stop", | ||
"mgg/email-open-user", | ||
"mgg/email-open-view", | ||
"mgg/email-to-assign", | ||
"mgg/face-to-face-meeting", | ||
@@ -108,2 +117,8 @@ "mgg/factory", | ||
"mgg/fullscreen-on-alt", | ||
"mgg/google-book-closed-outline", | ||
"mgg/google-book-closed", | ||
"mgg/google-book-large-outline", | ||
"mgg/google-book-large", | ||
"mgg/google-book-opening-outline", | ||
"mgg/google-book-opening", | ||
"mgg/google-check-small", | ||
@@ -115,2 +130,3 @@ "mgg/google-experiment", | ||
"mgg/google-keyboard-double-arrow-up", | ||
"mgg/google-newsstand", | ||
"mgg/google-place-item", | ||
@@ -125,2 +141,3 @@ "mgg/group-assigned-automatically-system", | ||
"mgg/home-hammer", | ||
"mgg/home-link", | ||
"mgg/home-number", | ||
@@ -127,0 +144,0 @@ "mgg/inagibile", |
@@ -93,5 +93,5 @@ export type ThemeStatusVariantType = | ||
export type ToneSimpleVariantType = | ||
| 'quiet' | ||
| 'strong' | ||
| 'weak' | ||
| 'quiet' | ||
@@ -98,0 +98,0 @@ export type ToneMinimalVariantType = |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
895900
211
12487
+ Added@maggioli-design-system/mds-badge@3.1.0(transitive)
+ Added@maggioli-design-system/mds-progress@2.10.3(transitive)
+ Added@maggioli-design-system/mds-stepper-bar-item@5.6.9(transitive)
+ Added@maggioli-design-system/mds-text@4.4.3(transitive)
- Removed@maggioli-design-system/mds-badge@3.0.2(transitive)
- Removed@maggioli-design-system/mds-progress@2.10.2(transitive)
- Removed@maggioli-design-system/mds-stepper-bar-item@5.6.8(transitive)
- Removed@maggioli-design-system/mds-text@4.4.2(transitive)