@openeuropa/bcl-data-select 0.20.0 → 0.23.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.
|
File without changes
|
package/data--sort.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const drupalAttribute = require("drupal-attribute");
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
label: "Sort by",
|
|
5
|
+
attributes: new drupalAttribute().addClass("mb-4 mb-md-0 ms-md-4"),
|
|
6
|
+
aria_label: "sort-select",
|
|
7
|
+
label_extra_classes: "mb-0",
|
|
8
|
+
options: [
|
|
9
|
+
{ value: 1, label: "a select option" },
|
|
10
|
+
{ value: 2, label: "another select option" },
|
|
11
|
+
{ value: 3, label: "another option" },
|
|
12
|
+
{ value: 4, label: "last option" },
|
|
13
|
+
{ label: "A-Z", selected: true },
|
|
14
|
+
],
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-data-select",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.23.0",
|
|
6
6
|
"description": "OE select data",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"component-library",
|
|
21
21
|
"design-system"
|
|
22
22
|
],
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "fa2097e14024989cddf6f9cd7a9115bed5886aeb"
|
|
24
24
|
}
|