@ultraviolet/ui 1.31.2 → 1.31.3

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.
@@ -111,15 +111,15 @@ const CheckboxGroup = ({
111
111
  })]
112
112
  })
113
113
  }), helper ? jsx(Text, {
114
- as: "p",
115
- variant: "bodySmall",
114
+ as: "span",
115
+ variant: "caption",
116
116
  prominence: "weak",
117
+ sentiment: "neutral",
117
118
  children: helper
118
119
  }) : null, error ? jsx(Text, {
119
- as: "p",
120
- variant: "bodySmall",
120
+ as: "span",
121
+ variant: "caption",
121
122
  sentiment: "danger",
122
- prominence: "weak",
123
123
  children: error
124
124
  }) : null]
125
125
  })
@@ -189,7 +189,7 @@ const NumberInputV2 = /*#__PURE__*/forwardRef(({
189
189
  alignItems: "start",
190
190
  children: [jsx(Text, {
191
191
  as: "label",
192
- variant: "bodySmallStrong",
192
+ variant: "bodyStrong",
193
193
  sentiment: "neutral",
194
194
  htmlFor: id ?? localId,
195
195
  children: label
@@ -113,15 +113,15 @@ const RadioGroup = ({
113
113
  })]
114
114
  })
115
115
  }), helper ? jsx(Text, {
116
- as: "p",
117
- variant: "bodySmall",
116
+ as: "span",
117
+ variant: "caption",
118
118
  prominence: "weak",
119
+ sentiment: "neutral",
119
120
  children: helper
120
121
  }) : null, error ? jsx(Text, {
121
- as: "p",
122
- variant: "bodySmall",
122
+ as: "span",
123
+ variant: "caption",
123
124
  sentiment: "danger",
124
- prominence: "weak",
125
125
  children: error
126
126
  }) : null]
127
127
  })
@@ -122,7 +122,7 @@ const TextArea = /*#__PURE__*/forwardRef(({
122
122
  alignItems: "start",
123
123
  children: [jsx(Text, {
124
124
  as: "label",
125
- variant: "bodySmallStrong",
125
+ variant: "bodyStrong",
126
126
  sentiment: "neutral",
127
127
  htmlFor: id ?? localId,
128
128
  children: label
@@ -141,7 +141,7 @@ const TextInput = /*#__PURE__*/forwardRef(({
141
141
  alignItems: "start",
142
142
  children: [jsx(Text, {
143
143
  as: "label",
144
- variant: "bodySmallStrong",
144
+ variant: "bodyStrong",
145
145
  sentiment: "neutral",
146
146
  htmlFor: id ?? localId,
147
147
  children: label
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/ui",
3
- "version": "1.31.2",
3
+ "version": "1.31.3",
4
4
  "description": "Ultraviolet UI",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -43,8 +43,8 @@
43
43
  "@emotion/babel-plugin": "11.11.0",
44
44
  "@emotion/react": "11.11.3",
45
45
  "@emotion/styled": "11.11.0",
46
- "@types/react": "18.2.45",
47
- "@types/react-datepicker": "4.19.4",
46
+ "@types/react": "18.2.47",
47
+ "@types/react-datepicker": "4.19.5",
48
48
  "@types/react-dom": "18.2.18",
49
49
  "react": "18.2.0",
50
50
  "react-dom": "18.2.0"
@@ -67,7 +67,7 @@
67
67
  "react-use-clipboard": "1.0.9",
68
68
  "reakit": "1.3.11",
69
69
  "@ultraviolet/themes": "1.7.0",
70
- "@ultraviolet/icons": "2.8.0"
70
+ "@ultraviolet/icons": "2.8.1"
71
71
  },
72
72
  "scripts": {
73
73
  "build": "rollup -c ../../rollup.config.mjs",