Skip to content

Commit 7106da8

Browse files
Febakkemimarz
andcommitted
refactor: rename error_message (#2670)
resolves #2668 Rename design token for typography; `error_message` -> `validation-message` --------- Co-authored-by: Michael Marszalek <mimarz@gmail.com>
1 parent 5ac05ac commit 7106da8

File tree

23 files changed

+347
-347
lines changed

23 files changed

+347
-347
lines changed

apps/storefront/tokens/altinn/dark.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

apps/storefront/tokens/altinn/light.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

apps/storefront/tokens/digdir/dark.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

apps/storefront/tokens/digdir/light.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

apps/storefront/tokens/portal/dark.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

apps/storefront/tokens/portal/light.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

apps/storefront/tokens/uutilsynet/dark.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -3843,11 +3843,11 @@ export const typography = [
38433843
letterSpacing: "{letter-spacing.8}"
38443844
}
38453845
},
3846-
name: "--ds-error_message-lg",
3846+
name: "--ds-validation-message-lg",
38473847
attributes: {},
38483848
path: [
38493849
"typography",
3850-
"error_message",
3850+
"validation-message",
38513851
"lg"
38523852
]
38533853
},
@@ -3872,11 +3872,11 @@ export const typography = [
38723872
letterSpacing: "{letter-spacing.8}"
38733873
}
38743874
},
3875-
name: "--ds-error_message-md",
3875+
name: "--ds-validation-message-md",
38763876
attributes: {},
38773877
path: [
38783878
"typography",
3879-
"error_message",
3879+
"validation-message",
38803880
"md"
38813881
]
38823882
},
@@ -3901,11 +3901,11 @@ export const typography = [
39013901
letterSpacing: "{letter-spacing.7}"
39023902
}
39033903
},
3904-
name: "--ds-error_message-sm",
3904+
name: "--ds-validation-message-sm",
39053905
attributes: {},
39063906
path: [
39073907
"typography",
3908-
"error_message",
3908+
"validation-message",
39093909
"sm"
39103910
]
39113911
},
@@ -3930,11 +3930,11 @@ export const typography = [
39303930
letterSpacing: "{letter-spacing.6}"
39313931
}
39323932
},
3933-
name: "--ds-error_message-xs",
3933+
name: "--ds-validation-message-xs",
39343934
attributes: {},
39353935
path: [
39363936
"typography",
3937-
"error_message",
3937+
"validation-message",
39383938
"xs"
39393939
]
39403940
}

0 commit comments

Comments
 (0)