@ultraviolet/ui 1.40.0 → 1.40.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/dist/index.d.ts CHANGED
@@ -3063,7 +3063,7 @@ declare const TextInputV2: react.ForwardRefExoticComponent<{
3063
3063
  tooltip?: string | undefined;
3064
3064
  type?: "text" | "email" | "password" | "url" | undefined;
3065
3065
  value?: string | undefined;
3066
- } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoFocus" | "id" | "tabIndex" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "name" | "disabled" | "placeholder" | "readOnly" | "required"> & react.RefAttributes<HTMLInputElement>>;
3066
+ } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoFocus" | "id" | "tabIndex" | "aria-label" | "aria-labelledby" | "onFocus" | "onBlur" | "name" | "disabled" | "autoComplete" | "placeholder" | "readOnly" | "required"> & react.RefAttributes<HTMLInputElement>>;
3067
3067
 
3068
3068
  declare const schedules: {
3069
3069
  half: readonly ["00:00", "00:30", "01:00", "01:30", "02:00", "02:30", "03:00", "03:30", "04:00", "04:30", "05:00", "05:30", "06:00", "06:30", "07:00", "07:30", "08:00", "08:30", "09:00", "09:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00", "13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00", "22:30", "23:00", "23:30"];
@@ -24,7 +24,7 @@ const StyledSelectableCard = /*#__PURE__*/_styled(SelectableCard, {
24
24
  theme
25
25
  }) => theme.space['2'], ";font-weight:", ({
26
26
  theme
27
- }) => theme.typography.bodyStrong.weight, ";justify-content:center;align-items:center;transition:all 200ms ease-in-out;&:hover,&:focus-within,&:active{box-shadow:none;border:none;&:not([data-error='true'][data-disabled='true']){border:none;}}&[data-checked='true']{border:none;}&[data-checked='true'] label{color:", ({
27
+ }) => theme.typography.bodyStrong.weight, ";justify-content:center;align-items:center;transition:all 200ms ease-in-out;white-space:nowrap;&:hover,&:focus-within,&:active{box-shadow:none;border:none;&:not([data-error='true'][data-disabled='true']){border:none;}}&[data-checked='true']{border:none;}&[data-checked='true'] label{color:", ({
28
28
  theme
29
29
  }) => theme.colors.primary.textStrong, ";}&:not([data-checked='true']) label{&:hover{color:", ({
30
30
  theme
@@ -113,7 +113,8 @@ const TextInputV2 = /*#__PURE__*/forwardRef(({
113
113
  minLength,
114
114
  maxLength,
115
115
  'aria-labelledby': ariaLabelledBy,
116
- 'aria-label': ariaLabel
116
+ 'aria-label': ariaLabel,
117
+ autoComplete
117
118
  }, ref) => {
118
119
  const localId = useId();
119
120
  const [hasFocus, setHasFocus] = useState(false);
@@ -202,7 +203,9 @@ const TextInputV2 = /*#__PURE__*/forwardRef(({
202
203
  minLength: minLength,
203
204
  maxLength: maxLength,
204
205
  "aria-labelledby": ariaLabelledBy,
205
- "aria-label": ariaLabel
206
+ "aria-label": ariaLabel,
207
+ autoComplete: autoComplete,
208
+ required: required
206
209
  }), success || error || loading || computedClearable ? jsxs(StateStack, {
207
210
  direction: "row",
208
211
  gap: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/ui",
3
- "version": "1.40.0",
3
+ "version": "1.40.1",
4
4
  "description": "Ultraviolet UI",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -39,11 +39,11 @@
39
39
  "react-dom": "18.2.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@babel/core": "7.23.9",
42
+ "@babel/core": "7.24.0",
43
43
  "@emotion/babel-plugin": "11.11.0",
44
44
  "@emotion/react": "11.11.4",
45
45
  "@emotion/styled": "11.11.0",
46
- "@types/react": "18.2.55",
46
+ "@types/react": "18.2.61",
47
47
  "@types/react-datepicker": "4.19.6",
48
48
  "@types/react-dom": "18.2.19",
49
49
  "react": "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.9.0",
70
- "@ultraviolet/icons": "2.9.2"
70
+ "@ultraviolet/icons": "2.9.3"
71
71
  },
72
72
  "scripts": {
73
73
  "build": "rollup -c ../../rollup.config.mjs",