@ecl/search-form 5.0.0-alpha.7 → 5.0.0-alpha.8

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/README.md CHANGED
@@ -8,9 +8,9 @@ npm install --save @ecl/search-form
8
8
 
9
9
  ### Parameters
10
10
 
11
- - **"label"** (string) default: '' Label of the search form
12
- - **"text_input"** (associative array) default: Predefined structure for the text-Input component
13
- - **"button"** (associative array) default: Predefined structure for the Button component
11
+ - **"label"** (string) (default: '') Label of the search form
12
+ - **"text_input"** (associative array) (default: Predefined structure for the text-Input component)
13
+ - **"button"** (associative array) (default: Predefined structure for the Button component)
14
14
  - **"width"** (string) (default: 'm')
15
15
  - **"extra_form_elements"** (optional) (string) (default: '') Extra elements for the form
16
16
  - **"extra_classes"** (optional) (string) (default: '') Extra classes (space separated)
package/package.json CHANGED
@@ -2,15 +2,15 @@
2
2
  "name": "@ecl/search-form",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "5.0.0-alpha.7",
5
+ "version": "5.0.0-alpha.8",
6
6
  "description": "ECL Search Form",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "style": "search-form.scss",
11
11
  "dependencies": {
12
- "@ecl/button": "5.0.0-alpha.7",
13
- "@ecl/form-group": "5.0.0-alpha.7"
12
+ "@ecl/button": "5.0.0-alpha.8",
13
+ "@ecl/form-group": "5.0.0-alpha.8"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -26,5 +26,5 @@
26
26
  "design-system",
27
27
  "twig"
28
28
  ],
29
- "gitHead": "caa7533a945f33c4337889c31109082b8b39b076"
29
+ "gitHead": "765d0f9f94ff5aebe563f8693bb682647cc4f8a8"
30
30
  }
@@ -2,8 +2,9 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
- - "text_input" (associative array) default: A predefined structure for EC Text Input
6
- - "button" (associative array) default: A predefined structure for EC Button
5
+ - "label" (string) (default: '') Label of the search form
6
+ - "text_input" (associative array) (default: A predefined structure for ECL Text Input)
7
+ - "button" (associative array) (default: A predefined structure for ECL Button)
7
8
  - "width" (string) (default: 'm')
8
9
  - "extra_classes" (string) (default: '')
9
10
  - "extra_attributes" (array) (default: []): format: [
package/search-form.scss CHANGED
@@ -15,7 +15,7 @@ $search-form: null !default;
15
15
  $button-border-width: 1px;
16
16
 
17
17
  .ecl-search-form {
18
- background-color: map.get($theme, 'color', 'white');
18
+ background-color: #fff;
19
19
  display: flex;
20
20
  margin: 0;
21
21
  position: relative;
@@ -55,7 +55,7 @@ $button-border-width: 1px;
55
55
  position: relative;
56
56
 
57
57
  &.ecl-button--ghost:not(:hover, :focus-visible) {
58
- background-color: map.get($theme, 'color', 'white');
58
+ background-color: #fff;
59
59
  }
60
60
 
61
61
  &::before {