Skip to content

Commit

Permalink
[0.2.20] Preparing release (#189) (#190)
Browse files Browse the repository at this point in the history
* Version 0.2.20 init commit

* OFR-351 | Returned to 4.12.0 node-sass (#187)

* OFR-351 | Added dropdown-no-data  slot to Select (#188)
  • Loading branch information
nbrylevv committed Apr 29, 2022
1 parent a1bef4c commit 1d93a31
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.2.20

### Features
* Added slot `dropdown-no-data` to `Select` component to be able to change message about empty array of options

### Maintenance
* Installed older version of node-sass (4.12.0) in cause of always failed builds



## 0.2.19 (Same as 0.2.18 which was failed to publish)

### Maintenance
Expand Down
16 changes: 12 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacetab-io/vue-components",
"version": "0.2.19",
"version": "0.2.20",
"private": false,
"scripts": {
"serve": "npm run generator:all && start-storybook -p 6006",
Expand Down Expand Up @@ -66,7 +66,7 @@
"json-templater": "^1.2.0",
"lint-staged": "^9.2.1",
"markdown-loader": "^5.1.0",
"node-sass": "^4.13.1",
"node-sass": "^4.12.0",
"sass-loader": "^7.2.0",
"stylelint": "^10.1.0",
"stylelint-config-recess-order": "^2.0.3",
Expand Down
3 changes: 3 additions & 0 deletions src/components/select/_select-multiple/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<template v-slot:dropdown-bottom>
<slot name="dropdown-bottom" />
</template>
<template v-slot:no-options-message>
<slot name="dropdown-no-data" />
</template>
<st-select-content slot="reference"
:value="selectedValues.join(',')"
:is-active="dropdownVisible"
Expand Down
3 changes: 3 additions & 0 deletions src/components/select/_select-single/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<template v-slot:dropdown-bottom>
<slot name="dropdown-bottom" />
</template>
<template v-slot:no-options-message>
<slot name="dropdown-no-data" />
</template>
<st-select-content slot="reference"
:value="selectedLabel"
:is-active="dropdownVisible"
Expand Down
3 changes: 3 additions & 0 deletions src/components/select/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
<slot name="option"
:option="option" />
</template>
<template v-slot:dropdown-no-data>
<slot name="dropdown-no-data" />
</template>

<template v-slot:collapser-control="{ amount }">
<slot name="collapser-control"
Expand Down

0 comments on commit 1d93a31

Please sign in to comment.