Skip to content

v3.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mbrambilla mbrambilla released this 27 Jun 17:32
· 404 commits to v3-dev since this release

For previous changes see #161, #207, and #219.

Yes, this one is a barrage of commits instead of using PR's. I know bad dev, bad. ☹️

Major Updates:

  • New Component - Switches - available in standard input and rounded shapes. Color and size variants are also included. Switches can also be reversed to 'toggle' in the opposite direction.
  • .table now supports <tfoot> and has a few more border options. Also .table-scroll now has responsive variants in the form of .table-scroll-*-down.
  • Reworked the .btn focus border and added it to .form-control and some custom form control items. This also fixes the box-shadow transitions not working when $enable-shadows is true.
  • Overhauled the doc layout to try and increase usability and add some visual interest.
    • Added new branding.
    • Use more available width.
    • Add search to be available in localhost modes as well.
    • xl screens show a modified TOC to right hand-column
  • Dropped _custom.scss as it causes more problems than it solves. Either it is in the wrong place in load order where settings cannot be overridden, or default settings cannot be used in new variables.
  • Dropped the use of Normalize.css and move to updated version of Bootstrap's Reboot. Adjusted a few items at the same time:
    • .form-control-legend no longer adds padding, just adjusts font size and added sizing variants.
    • Base text-align:left on <body> now
    • <th> now inherits the text-align property of its ancestor

CSS

  • 0e5b687: Popover: Allow customizing header font size
  • 6ec6cc7: Grid: Revert simplified grid back to flex-basis widths
  • 39996ce: Modal: Add pointer-event rules to help with custom close handlers
  • 9ebddf0: Input Group: When using validation colors, don't z-index button above input
  • 5991758: Progress: update how heights and labels are handled
  • 771a6b5: Cards: fix for overflowing text
  • c7cbed4: Custom File Input: hide choose text, not control when empty
  • 63faee3: Normalize naming for 'inner' settings
  • 9131f18: Cards: Extend .card-inverse settings
  • b4dc24b: Normalize var name for input border-color
  • fe0c79a, 4daea25, df411d2, adbebf6: Add new Switch component
  • 59cfb17: Table: Add <tfoot> support and extend border options
  • b6fa8b4: Table: Added responsive .table-scroll variants, and give inertial scrolling to WebKit browsers
  • 1fdc561: Tweak padding on <code> elements, now gives a bit of space between them when stacked.
  • 70b829a: Rework focus border for buttons, form controls, and some custom form controls.
  • 5b197d4, b448633, b9f2029: Move _assert-*() from _settings.scss to functions, this keeps them in proper load order, and gets them out of the way.
  • 9dcf520, 329f5cd: Drop problematic _custom.scss
  • 740d7fd: Add support query for position: sticky and update doc
  • d092596: Make media-breakpoint-only() mixin more robust
  • 952640b: Fix shorthand flex-basis for those non postcss-flexbugs-fixes users - (going to leave it activated for now though)
    -1adf73ba968848b6b2df105e6a8425b690ae13bf: Make responsive variants for .text-hide
  • 711b7bf: Make .card-deck and .card-group always display: flex;
  • c6b44d1: Add emoji fonts to base font stack
  • ff4cfc8: Drop Normalize.css and move to updated Reboot

JS

  • 7b535a4: Dropdown: improve spacebar handling for <button>s and role="button"
  • 4abc188: Drag: update event handling with instances and stop killing element drag listeners
  • a696379: Tooltip/Popover: Reset focus to trigger on hide via ESC or close item
  • 4956a30: Collapse: Add basic flexbox handling
  • 8cf638e: Scrollspy: read settings from the calling element
  • 316eb48: Affix: dipose events on target element, remove unused var
  • 6b7e2fd: CFW_API: rework CFW_Init(), create CFW_Dispose()

Docs

  • c31683f, 5de82b4: Additional image replacement/.text-hide examples
  • ed5cf12: Add branding, overhaul layout, give homepage more info
  • b985fb3: Tweak new heading for IE 11, still off a bit in IE 10
  • d55d826: Input groups - mention labels should go outside of the group
  • de4cfe6: Navbar: Update some spacing in examples

Build

  • 3faa135: Update QUnit 2.3.2 -> 2.3.3
  • b2e8095: Travis/Sauce: Use localhost due to MS Edge loopback blocking