carbon-react 153.2.1 → 153.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/esm/__internal__/checkable-input/hidden-checkable-input.style.js +1 -1
- package/esm/components/box/box.style.js +1 -1
- package/esm/components/message/message.component.js +1 -1
- package/esm/locales/de-de.js +2 -1
- package/esm/locales/es-es.js +2 -1
- package/esm/locales/fr-ca.js +2 -1
- package/esm/locales/fr-fr.js +2 -1
- package/esm/locales/locale.d.ts +1 -1
- package/lib/__internal__/checkable-input/hidden-checkable-input.style.js +1 -1
- package/lib/components/box/box.style.js +1 -1
- package/lib/components/message/message.component.js +1 -1
- package/lib/locales/de-de.js +2 -1
- package/lib/locales/es-es.js +2 -1
- package/lib/locales/fr-ca.js +2 -1
- package/lib/locales/fr-fr.js +2 -1
- package/lib/locales/locale.d.ts +1 -1
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ export const Message = /*#__PURE__*/React.forwardRef(({
|
|
|
54
54
|
type: VARIANT_ICON_MAP[variant]
|
|
55
55
|
})), /*#__PURE__*/React.createElement(Typography, {
|
|
56
56
|
screenReaderOnly: true
|
|
57
|
-
}, locale.message
|
|
57
|
+
}, locale.message[variant]()), /*#__PURE__*/React.createElement(MessageContent, {
|
|
58
58
|
"data-element": "message-content",
|
|
59
59
|
"data-role": "message-content"
|
|
60
60
|
}, !showCloseIcon || !onDismiss ? /*#__PURE__*/React.createElement(Content, {
|
package/esm/locales/de-de.js
CHANGED
|
@@ -105,7 +105,8 @@ const deDE = {
|
|
|
105
105
|
info: () => "Informationen",
|
|
106
106
|
success: () => "Erfolg",
|
|
107
107
|
warning: () => "Warnung",
|
|
108
|
-
neutral: () => "Informationen"
|
|
108
|
+
neutral: () => "Informationen",
|
|
109
|
+
ai: () => "Von KI generierte Informationen"
|
|
109
110
|
},
|
|
110
111
|
numeralDate: {
|
|
111
112
|
validation: {
|
package/esm/locales/es-es.js
CHANGED
|
@@ -106,7 +106,8 @@ const esES = {
|
|
|
106
106
|
info: () => "Información",
|
|
107
107
|
success: () => "Acción realizada",
|
|
108
108
|
warning: () => "Aviso",
|
|
109
|
-
neutral: () => "Información"
|
|
109
|
+
neutral: () => "Información",
|
|
110
|
+
ai: () => "Información generada por IA"
|
|
110
111
|
},
|
|
111
112
|
numeralDate: {
|
|
112
113
|
validation: {
|
package/esm/locales/fr-ca.js
CHANGED
|
@@ -106,7 +106,8 @@ const frCA = {
|
|
|
106
106
|
info: () => "Information",
|
|
107
107
|
success: () => "Opération réussie",
|
|
108
108
|
warning: () => "Avertissement",
|
|
109
|
-
neutral: () => "Information"
|
|
109
|
+
neutral: () => "Information",
|
|
110
|
+
ai: () => "Information générée par l'IA"
|
|
110
111
|
},
|
|
111
112
|
numeralDate: {
|
|
112
113
|
validation: {
|
package/esm/locales/fr-fr.js
CHANGED
|
@@ -106,7 +106,8 @@ const frFR = {
|
|
|
106
106
|
info: () => "Information",
|
|
107
107
|
success: () => "Action réussie",
|
|
108
108
|
warning: () => "Avertissement",
|
|
109
|
-
neutral: () => "Information"
|
|
109
|
+
neutral: () => "Information",
|
|
110
|
+
ai: () => "Information générée par IA"
|
|
110
111
|
},
|
|
111
112
|
numeralDate: {
|
|
112
113
|
validation: {
|
package/esm/locales/locale.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ const calculatePosition = props => {
|
|
|
20
20
|
} = (0, _styledSystem.position)(props);
|
|
21
21
|
return {
|
|
22
22
|
position,
|
|
23
|
-
zIndex: ["sticky", "fixed"].includes(position) ?
|
|
23
|
+
zIndex: ["sticky", "fixed"].includes(position) ? 3 : undefined,
|
|
24
24
|
...rest
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -63,7 +63,7 @@ const Message = exports.Message = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
63
63
|
type: VARIANT_ICON_MAP[variant]
|
|
64
64
|
})), /*#__PURE__*/_react.default.createElement(_typography.default, {
|
|
65
65
|
screenReaderOnly: true
|
|
66
|
-
}, locale.message
|
|
66
|
+
}, locale.message[variant]()), /*#__PURE__*/_react.default.createElement(_message.MessageContent, {
|
|
67
67
|
"data-element": "message-content",
|
|
68
68
|
"data-role": "message-content"
|
|
69
69
|
}, !showCloseIcon || !onDismiss ? /*#__PURE__*/_react.default.createElement(_content.default, {
|
package/lib/locales/de-de.js
CHANGED
|
@@ -111,7 +111,8 @@ const deDE = {
|
|
|
111
111
|
info: () => "Informationen",
|
|
112
112
|
success: () => "Erfolg",
|
|
113
113
|
warning: () => "Warnung",
|
|
114
|
-
neutral: () => "Informationen"
|
|
114
|
+
neutral: () => "Informationen",
|
|
115
|
+
ai: () => "Von KI generierte Informationen"
|
|
115
116
|
},
|
|
116
117
|
numeralDate: {
|
|
117
118
|
validation: {
|
package/lib/locales/es-es.js
CHANGED
|
@@ -112,7 +112,8 @@ const esES = {
|
|
|
112
112
|
info: () => "Información",
|
|
113
113
|
success: () => "Acción realizada",
|
|
114
114
|
warning: () => "Aviso",
|
|
115
|
-
neutral: () => "Información"
|
|
115
|
+
neutral: () => "Información",
|
|
116
|
+
ai: () => "Información generada por IA"
|
|
116
117
|
},
|
|
117
118
|
numeralDate: {
|
|
118
119
|
validation: {
|
package/lib/locales/fr-ca.js
CHANGED
|
@@ -112,7 +112,8 @@ const frCA = {
|
|
|
112
112
|
info: () => "Information",
|
|
113
113
|
success: () => "Opération réussie",
|
|
114
114
|
warning: () => "Avertissement",
|
|
115
|
-
neutral: () => "Information"
|
|
115
|
+
neutral: () => "Information",
|
|
116
|
+
ai: () => "Information générée par l'IA"
|
|
116
117
|
},
|
|
117
118
|
numeralDate: {
|
|
118
119
|
validation: {
|
package/lib/locales/fr-fr.js
CHANGED
|
@@ -112,7 +112,8 @@ const frFR = {
|
|
|
112
112
|
info: () => "Information",
|
|
113
113
|
success: () => "Action réussie",
|
|
114
114
|
warning: () => "Avertissement",
|
|
115
|
-
neutral: () => "Information"
|
|
115
|
+
neutral: () => "Information",
|
|
116
|
+
ai: () => "Information générée par IA"
|
|
116
117
|
},
|
|
117
118
|
numeralDate: {
|
|
118
119
|
validation: {
|
package/lib/locales/locale.d.ts
CHANGED