);
}
});
-module.exports = ValuesAsNumbersField;
\ No newline at end of file
+module.exports = ValuesAsNumbersField;
diff --git a/examples/src/data/states.js b/examples/src/data/states.js
index 4abd75405e..bf6ac1c04e 100644
--- a/examples/src/data/states.js
+++ b/examples/src/data/states.js
@@ -70,3 +70,8 @@ exports.US = [
{ value: 'WI', label: 'Wisconsin' },
{ value: 'WY', label: 'Wyoming' }
];
+
+exports.Both = {
+ Australia: exports.AU,
+ 'United States': exports.US
+};
diff --git a/less/control.less b/less/control.less
index 37372626ac..1b66deaad3 100644
--- a/less/control.less
+++ b/less/control.less
@@ -1,4 +1,4 @@
-//
+//
// Control
// ------------------------------
@@ -28,6 +28,22 @@
}
}
+// categories
+
+.Select-category {
+ padding: @select-category-padding-vertical @select-category-padding-horizontal;
+ color: @select-category-text-color;
+ text-transform: capitalize;
+
+
+}
+
+.is-categorized {
+ &.Select-option, &.Select-searching, &.Select-noresults, &.Select-search-prompt {
+ padding-left: @select-item-categorized-padding-horizontal;
+ }
+}
+
.is-searchable {
&.is-open > .Select-control {
cursor: text;
@@ -103,7 +119,7 @@
// the