@grucloud/bau-ui 0.76.0 → 0.78.0

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.
@@ -232,6 +232,8 @@ export default function (context, componentOptions = {}) {
232
232
  tabindex: -1,
233
233
  defaultValue: defaultOption && getOptionValue(defaultOption),
234
234
  required,
235
+ "aria-hidden": false,
236
+ "aria-label": name,
235
237
  name,
236
238
  });
237
239
 
package/form/form.js CHANGED
@@ -25,7 +25,12 @@ export default function (context, options = {}) {
25
25
  }
26
26
  &
27
27
  label:has(
28
- :is(input[type="text"], input[type="password"], input[type="email"])
28
+ :is(
29
+ input[type="text"],
30
+ input[type="password"],
31
+ input[type="email"],
32
+ input[type="search"]
33
+ )
29
34
  ),
30
35
  legend {
31
36
  display: inline-flex;
@@ -25,7 +25,6 @@ export default function (context, options = {}) {
25
25
 
26
26
  const className = css`
27
27
  &.inputSearch {
28
- margin: 0.5rem 1rem;
29
28
  padding-left: 1.8rem;
30
29
  background-image: ${svgData};
31
30
  background-repeat: no-repeat;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grucloud/bau-ui",
3
3
  "description": "Components library built with Bau",
4
- "version": "0.76.0",
4
+ "version": "0.78.0",
5
5
  "type": "module",
6
6
  "license": "BSD",
7
7
  "keywords": [
@@ -20,11 +20,11 @@
20
20
  "directory": "bau-ui"
21
21
  },
22
22
  "dependencies": {
23
- "@grucloud/bau": "^0.76.0",
24
- "@grucloud/bau-css": "^0.76.0"
23
+ "@grucloud/bau": "^0.78.0",
24
+ "@grucloud/bau-css": "^0.78.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "typedoc": "0.24.8"
28
28
  },
29
- "gitHead": "75254d461eef335537d9a6dd9bf3a8363ca9ed7c"
29
+ "gitHead": "b4d9eace364c2ec25f23bec9efa064cbc29606ed"
30
30
  }
@@ -3,7 +3,7 @@ declare module "@grucloud/bau-ui/radioButton" {
3
3
  type ComponentOption = import("../bau-ui").ComponentOption;
4
4
 
5
5
  export type RadioButtonProps = {
6
- value: string | import("@grucloud/bau").State<string>;
6
+ value?: string | import("@grucloud/bau").State<string>;
7
7
  } & DefaultDesignProps;
8
8
 
9
9
  type Component = import("../bau-ui").Component<
package/select/select.js CHANGED
@@ -176,7 +176,7 @@ export default function (context, componentOptions = {}) {
176
176
  });
177
177
  // Hidden select, required to save the value.
178
178
  const selectEl = select(
179
- props,
179
+ { ...props, "aria-label": label },
180
180
  option({ value: "" }, "--Select Category--"),
181
181
  options.map((opt) =>
182
182
  option({ value: getOptionValue(opt) }, getOptionLabel(opt))