@entur/dropdown 6.0.10 → 6.0.11
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/Dropdown.d.ts +5 -1
- package/dist/dropdown.cjs.development.js +4 -1
- package/dist/dropdown.cjs.development.js.map +1 -1
- package/dist/dropdown.cjs.production.min.js +1 -1
- package/dist/dropdown.cjs.production.min.js.map +1 -1
- package/dist/dropdown.esm.js +4 -1
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +174 -174
- package/package.json +2 -2
package/dist/dropdown.esm.js
CHANGED
|
@@ -2290,7 +2290,7 @@ var MultiSelect = function MultiSelect(_ref) {
|
|
|
2290
2290
|
}));
|
|
2291
2291
|
};
|
|
2292
2292
|
|
|
2293
|
-
var _excluded$1 = ["ariaLabelChosenSingular", "ariaLabelCloseList", "ariaLabelOpenList", "ariaLabelSelectedItem", "className", "clearable", "disabled", "disableLabelAnimation", "feedback", "items", "label", "labelClearSelectedItem", "labelTooltip", "listStyle", "loadingText", "onChange", "placeholder", "prepend", "readOnly", "selectedItem", "selectOnBlur", "selectOnTab", "style", "variant"];
|
|
2293
|
+
var _excluded$1 = ["ariaLabelChosenSingular", "ariaLabelCloseList", "ariaLabelOpenList", "ariaLabelSelectedItem", "className", "clearable", "disabled", "disableLabelAnimation", "feedback", "items", "label", "labelClearSelectedItem", "labelTooltip", "listStyle", "loadingText", "noMatchesText", "onChange", "placeholder", "prepend", "readOnly", "selectedItem", "selectOnBlur", "selectOnTab", "style", "variant"];
|
|
2294
2294
|
var Dropdown = function Dropdown(_ref) {
|
|
2295
2295
|
var _ref3, _selectedItem$label;
|
|
2296
2296
|
var ariaLabelChosenSingular = _ref.ariaLabelChosenSingular,
|
|
@@ -2311,6 +2311,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
2311
2311
|
labelTooltip = _ref.labelTooltip,
|
|
2312
2312
|
listStyle = _ref.listStyle,
|
|
2313
2313
|
loadingText = _ref.loadingText,
|
|
2314
|
+
_ref$noMatchesText = _ref.noMatchesText,
|
|
2315
|
+
noMatchesText = _ref$noMatchesText === void 0 ? 'Ingen tilgjengelige valg …' : _ref$noMatchesText,
|
|
2314
2316
|
onChange = _ref.onChange,
|
|
2315
2317
|
placeholder = _ref.placeholder,
|
|
2316
2318
|
prepend = _ref.prepend,
|
|
@@ -2435,6 +2437,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
2435
2437
|
highlightedIndex: highlightedIndex,
|
|
2436
2438
|
isOpen: isOpen,
|
|
2437
2439
|
listItems: normalizedItems,
|
|
2440
|
+
noMatchesText: noMatchesText,
|
|
2438
2441
|
style: listStyle,
|
|
2439
2442
|
setListRef: refs.setFloating,
|
|
2440
2443
|
loading: loading,
|