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.
@@ -4,6 +4,6 @@ const HiddenCheckableInputStyle = styled.input`
4
4
  opacity: 0;
5
5
  margin: 0;
6
6
  position: relative;
7
- z-index: 999;
7
+ z-index: 2;
8
8
  `;
9
9
  export default HiddenCheckableInputStyle;
@@ -11,7 +11,7 @@ const calculatePosition = props => {
11
11
  } = positionFn(props);
12
12
  return {
13
13
  position,
14
- zIndex: ["sticky", "fixed"].includes(position) ? 1 : undefined,
14
+ zIndex: ["sticky", "fixed"].includes(position) ? 3 : undefined,
15
15
  ...rest
16
16
  };
17
17
  };
@@ -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?.[variant]?.()), /*#__PURE__*/React.createElement(MessageContent, {
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, {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -93,7 +93,7 @@ interface Locale {
93
93
  success: () => string;
94
94
  warning: () => string;
95
95
  neutral: () => string;
96
- ai?: () => string;
96
+ ai: () => string;
97
97
  };
98
98
  numeralDate: {
99
99
  validation: {
@@ -11,6 +11,6 @@ const HiddenCheckableInputStyle = _styledComponents.default.input`
11
11
  opacity: 0;
12
12
  margin: 0;
13
13
  position: relative;
14
- z-index: 999;
14
+ z-index: 2;
15
15
  `;
16
16
  var _default = exports.default = HiddenCheckableInputStyle;
@@ -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) ? 1 : undefined,
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?.[variant]?.()), /*#__PURE__*/_react.default.createElement(_message.MessageContent, {
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, {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -93,7 +93,7 @@ interface Locale {
93
93
  success: () => string;
94
94
  warning: () => string;
95
95
  neutral: () => string;
96
- ai?: () => string;
96
+ ai: () => string;
97
97
  };
98
98
  numeralDate: {
99
99
  validation: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "153.2.1",
3
+ "version": "153.3.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",