Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(form-group): new label-size prop #1422

Merged
merged 51 commits into from
Nov 30, 2017
Merged

feat(form-group): new label-size prop #1422

merged 51 commits into from
Nov 30, 2017

Conversation

tmorehouse
Copy link
Member

Allow optionally control of the label's size to match the form input(s) size

Also removes need for inner <span> on label, invalid/valid feedback and description

Pooya Parsa and others added 30 commits November 29, 2017 22:33
…style (#1384)

* [pagination-mixin] use btn-primary to get focus styling

Avoids the need for custom CSS until properly addressed in Bootstrap V4.

See twbs/bootstrap#24838

* Update pagination-nav.js

* Delete pagination-nav.vue

* Update pagination.js

* Delete pagination.vue

* ESLint

* ESLint

* Include active style when pagination disabled

* Update pagination.js
…1389)

* fix(button): allow custom size classes to be passed to the size prop

Removed the validator for the size prop, so that people can use custom `.btn-{size}` classes

* remove import of arrayIncludes

no longer needed with removal of validator
* Update tab.js

* document b-tab no-body prop

* Update README.md

* Update README.md

* typo fix
…over (#1387)

* feat(tooltip+popover): add option to disable tooltip or popover (component versions)

Adds a new prop `disabled` to disabled/enable tooltips/popovers.

Defaults to `false`

* ESLint

* [b-popover] update docs

* [b-tooltip] document disabled prop

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* [tooltip.class.js] add enble and disable methods

* Update tooltip.class.js

* [toolpop.js mixin] use class instance methods for enable/disable

* [tooltip.class] add root listeners for enable/disable

* [b-popover] doc update

* [toolpop.js mixin] make disabled prop syncable

* [toolpop.js] prevent possible endless enent loops

Just in case a user fires `enabled` rather than `enable` or `disabled` instead of `disable`

* [tooltip.class] emit root enabled/disabled events and callbacks

* Update README.md

* Update package.json

* Update package.json

* Update package.json

* Update README.md

* Update tooltip.class.js

* Update README.md

* [tooltip directive] docs update

* [popover directive] docs update

* Update README.md

* Update package.json

* Update package.json

* Update README.md

* [b-tooltip] add missing triggers section in tooltip docs

* typo fix

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fix(docs) spellcheck & formatting

* Fix(docs) formatting

* Fix(docs) formatting

* Update README.md

* Update README.md

* Update README.md

* fix(Popover docs) update 'disable Popover' example

* fix(Tooltip docs) update 'disable Tooltip' example
* fix(dropdowns): remove memory leak on destroy

Also, we don't bother instantiating Popper if dropdown is in a navbar.

Closes issue #1391

* ESLint
* Fix carousel error on empty slides.  

Add extra validation for slides Uncaught TypeError: Cannot set property 'tabIndex' of undefined in pause() function

* Fix lint error

* Optimize code

* Update carousel.js
* Create stable-sort.js

* add stable sort to utils

* [b-table] use stableSort
* feat(table): add toggelDetails method to scoped item slots

* add toggleDetails to details scoped var

* documentation update

* Update README.md

* Update README.md

* Update README.md

* Use idMixin and add aria-describedby for details

* ESlint
* feat(table): add responsive stacked table option

This adds a new prop `stacked`, which allows the table to render in a visually stacked format based on breakpoint. (CSS assumes standard bootstrap breakpoints).

If no value is passed to `stacked`, the table will always be rendered as stacked.

If `stacked` is set to a breakpoint of `sm`, `md`, `lg`, or `xl`, then the table will only appear stacked at view ports below the specified breakpoint.

When visually stacked, the table thead and tfoot will not be shown.  Cells will be prefixed with the fields label (not the scoped HEAD slot). Because of this, it is not possible to click the "headings" to sort the columns.  Users however, can provide an external control (such as b-form-select) to control the sorting and sort direction (via b-table's `sort-by` and `sort-desc` syncable props).

* Update table.vue

* Update table.vue

* Update table.vue

* Update table.vue

* Update table.vue

* Update table.vue

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add props for adding classes to thead, tbody and tfoot

new props:
- `thead-class` Class(es) added to `<thead>`
- `thead-tr-class` Class(es) added to  `<tr>` element inside `<thead>`
- `tbody-class` Class(es) added to `<tbody>`
- `tbody-tr-class` Class(es) added to all `<tr>` elements inside `<tbody>`
- `tfoot-class` Class(es) added to `<tfoot>`
- `tbody-tr-class` Class(es) added to `<tr>` element inside `<tfoot>`

* ESLint

* Update README.md

* Create _table.js

* Update table.vue

* ESLint
* Create _form-file.js

* ESLint

* Update form-file.vue

* ESLint

* Create _form-group.js

* Update form-group.vue

* ESLint

* Create _form-input.js

* Update form-input.vue

* ESLint

* ESLint

* Create _progress.js

* Update progress.vue

* Create _modal.js

* Update modal.vue

* ESLint
…n favor of invalid-feedback (#1412)

* feat(form-group): add prop for label-class

* Update README.md

* Update README.md

* Update README.md
@tmorehouse tmorehouse merged commit dcffb5c into dev Nov 30, 2017
@tmorehouse tmorehouse deleted the feat/form-group branch November 30, 2017 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant