diff --git a/dist/react-dropdown.css b/dist/react-dropdown.css index 5dbe0f8..be9f0ad 100644 --- a/dist/react-dropdown.css +++ b/dist/react-dropdown.css @@ -1,4 +1,4 @@ -/*! react-dropdown v1.1.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-dropdown */ +/*! react-dropdown v1.2.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-dropdown */ .dropdown---dropdown---1yvIZ { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; diff --git a/dist/react-dropdown.min.css b/dist/react-dropdown.min.css index e73876e..2de0184 100644 --- a/dist/react-dropdown.min.css +++ b/dist/react-dropdown.min.css @@ -1 +1 @@ -/*! react-dropdown v1.1.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-dropdown */.dropdown---dropdown---1yvIZ{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px;position:relative}.dropdown---dropdown---1yvIZ *,.dropdown---dropdown---1yvIZ :after,.dropdown---dropdown---1yvIZ :before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.dropdown---dropdown-toggle---vMtjL{min-width:0}.dropdown---dropdown-toggle---vMtjL .dropdown---caret---3CkEt{display:inline-block;width:0;height:0;vertical-align:middle;border-top:4px dashed #666;border-right:4px solid transparent;border-left:4px solid transparent;margin-left:8px}.dropdown---dropup---30DnN .dropdown---dropdown-toggle---vMtjL .dropdown---caret---3CkEt{border-top:0;border-bottom:4px dashed #666}.dropdown---dropdown-toggle---vMtjL:focus{outline:0}.dropdown---dropdown-toggle---vMtjL.dropdown---btn-link---1xwS4:hover .dropdown---caret---3CkEt{border-top-color:#0096cc}.dropdown---dropdown-toggle---vMtjL.dropdown---empty---zMmdA .dropdown---caret---3CkEt{margin-left:0}.dropdown---dropdown-menu---1fkH0{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:0;padding:8px 0;margin:0;list-style:none;font-size:13px;text-align:left;background-color:#fff;border:1px solid #bbb;border-radius:0;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box}.dropdown---dropdown-menu---1fkH0.dropdown---pull-right---2juGH{right:0;left:auto}.dropdown---dropdown-menu---1fkH0 .dropdown---header---3pfXo{display:block;padding:4px 16px;font-size:12px;line-height:20px;color:#888;white-space:nowrap}.dropdown---dropdown-menu---1fkH0 .dropdown---header---3pfXo~.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL{padding-left:28px}.dropdown---dropdown-menu---1fkH0 .dropdown---divider---13uxG{height:1px;margin:8px 0;overflow:hidden;background-color:#eee}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL{display:block;padding:4px 16px;clear:both;font-weight:400;line-height:20px;color:#222;text-decoration:none;white-space:nowrap;cursor:pointer}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---dropdown-submenu---11C1M>.dropdown---menu-item---1LjoL{padding-right:32px}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL:focus{outline:0}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL:hover{text-decoration:none;color:#222;background-color:#eee}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b{cursor:not-allowed}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:hover{color:#bbb}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:hover{text-decoration:none;background-color:transparent;cursor:not-allowed}.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL{padding:4px 32px 4px 40px}.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KPCFbQ0RBVEFbDQoJLnN0MHtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiMwMDk2Q0M7fQ0KXV0+DQo8L3N0eWxlPg0KPGcgaWQ9Imljb25TZWxlY3RDaGVjayI+DQoJPGc+DQoJCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMi43LDQuMWMtMC40LTAuNC0xLTAuNC0xLjQsMGwtNS4yLDYuMUw0LjcsNy4zQzQuMyw3LDMuNyw3LDMuMyw3LjNzLTAuNCwxLDAsMS40TDUsMTIuMg0KCQkJYzAsMC4xLDAuMSwwLjIsMC4yLDAuM2wwLjEsMC4yYzAuNCwwLjQsMSwwLjQsMS40LDBjMCwwLDAtMC4xLDAuMS0wLjFsNi03LjFDMTMuMSw1LjEsMTMuMSw0LjUsMTIuNyw0LjF6Ii8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=);background-position:0 2px;background-repeat:no-repeat;content:"";display:inline-block;height:20px;margin:0 8px 0 -24px;vertical-align:top;width:16px}.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL,.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL:hover{text-decoration:none;outline:0}.dropdown---dropup---30DnN>.dropdown---dropdown-menu---1fkH0{top:auto;bottom:100%}.dropdown---dropdown---1yvIZ.dropdown---open---1ju75>.dropdown---dropdown-menu---1fkH0{display:block}.dropdown---dropdown-menu-wrapper---3gX-X{display:none;position:absolute;left:0;top:100%;z-index:1000;background-color:#fff;border:1px solid #bbb;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2)}.dropdown---dropdown-menu-wrapper---3gX-X>.dropdown---dropdown-menu---1fkH0{position:static}.dropdown---dropdown---1yvIZ.dropdown---open---1ju75>.dropdown---dropdown-menu-wrapper---3gX-X{display:block}.dropdown---dropdown---1yvIZ.dropdown---open---1ju75>.dropdown---dropdown-menu-wrapper---3gX-X>.dropdown---dropdown-menu---1fkH0{display:inline-block;border:0;-webkit-box-shadow:none;box-shadow:none}.dropdown---dropdown-submenu---11C1M{position:relative}.dropdown---dropdown-submenu---11C1M.dropdown---open---1ju75>.dropdown---dropdown-menu---1fkH0,.dropdown---dropdown-submenu---11C1M:hover>.dropdown---dropdown-menu---1fkH0{display:block}.dropdown---dropdown-submenu---11C1M.dropdown---pull-left---176QY{float:none}.dropdown---dropdown-submenu---11C1M.dropdown---pull-left---176QY>.dropdown---dropdown-menu---1fkH0{left:auto;right:100%;margin-left:0}.dropdown---dropdown-submenu---11C1M>.dropdown---menu-item---1LjoL:before{display:block;content:" ";float:right;width:0;height:0;border:4px solid transparent;border-right-width:0;border-left-color:#666;margin:6px -16px 6px 0}.dropdown---dropdown-submenu---11C1M>.dropdown---dropdown-menu---1fkH0{top:0;left:100%;margin-top:0} \ No newline at end of file +/*! react-dropdown v1.2.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-dropdown */.dropdown---dropdown---1yvIZ{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px;position:relative}.dropdown---dropdown---1yvIZ *,.dropdown---dropdown---1yvIZ :after,.dropdown---dropdown---1yvIZ :before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.dropdown---dropdown-toggle---vMtjL{min-width:0}.dropdown---dropdown-toggle---vMtjL .dropdown---caret---3CkEt{display:inline-block;width:0;height:0;vertical-align:middle;border-top:4px dashed #666;border-right:4px solid transparent;border-left:4px solid transparent;margin-left:8px}.dropdown---dropup---30DnN .dropdown---dropdown-toggle---vMtjL .dropdown---caret---3CkEt{border-top:0;border-bottom:4px dashed #666}.dropdown---dropdown-toggle---vMtjL:focus{outline:0}.dropdown---dropdown-toggle---vMtjL.dropdown---btn-link---1xwS4:hover .dropdown---caret---3CkEt{border-top-color:#0096cc}.dropdown---dropdown-toggle---vMtjL.dropdown---empty---zMmdA .dropdown---caret---3CkEt{margin-left:0}.dropdown---dropdown-menu---1fkH0{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:0;padding:8px 0;margin:0;list-style:none;font-size:13px;text-align:left;background-color:#fff;border:1px solid #bbb;border-radius:0;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box}.dropdown---dropdown-menu---1fkH0.dropdown---pull-right---2juGH{right:0;left:auto}.dropdown---dropdown-menu---1fkH0 .dropdown---header---3pfXo{display:block;padding:4px 16px;font-size:12px;line-height:20px;color:#888;white-space:nowrap}.dropdown---dropdown-menu---1fkH0 .dropdown---header---3pfXo~.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL{padding-left:28px}.dropdown---dropdown-menu---1fkH0 .dropdown---divider---13uxG{height:1px;margin:8px 0;overflow:hidden;background-color:#eee}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL{display:block;padding:4px 16px;clear:both;font-weight:400;line-height:20px;color:#222;text-decoration:none;white-space:nowrap;cursor:pointer}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---dropdown-submenu---11C1M>.dropdown---menu-item---1LjoL{padding-right:32px}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL:focus{outline:0}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL:hover{text-decoration:none;color:#222;background-color:#eee}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b{cursor:not-allowed}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:hover{color:#bbb}.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0>.dropdown---menu-item-wrapper---3uAM0.dropdown---disabled---eCY9b>.dropdown---menu-item---1LjoL:hover{text-decoration:none;background-color:transparent;cursor:not-allowed}.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0>.dropdown---menu-item---1LjoL{padding:4px 32px 4px 40px}.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL:before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFN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:inline-block;height:20px;margin:0 8px 0 -24px;vertical-align:top;width:16px}.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL,.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL:focus,.dropdown---dropdown-menu---1fkH0.dropdown---selected---1EK3y>.dropdown---menu-item-wrapper---3uAM0.dropdown---active---2-a32>.dropdown---menu-item---1LjoL:hover{text-decoration:none;outline:0}.dropdown---dropup---30DnN>.dropdown---dropdown-menu---1fkH0{top:auto;bottom:100%}.dropdown---dropdown---1yvIZ.dropdown---open---1ju75>.dropdown---dropdown-menu---1fkH0{display:block}.dropdown---dropdown-menu-wrapper---3gX-X{display:none;position:absolute;left:0;top:100%;z-index:1000;background-color:#fff;border:1px solid #bbb;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2)}.dropdown---dropdown-menu-wrapper---3gX-X>.dropdown---dropdown-menu---1fkH0{position:static}.dropdown---dropdown---1yvIZ.dropdown---open---1ju75>.dropdown---dropdown-menu-wrapper---3gX-X{display:block}.dropdown---dropdown---1yvIZ.dropdown---open---1ju75>.dropdown---dropdown-menu-wrapper---3gX-X>.dropdown---dropdown-menu---1fkH0{display:inline-block;border:0;-webkit-box-shadow:none;box-shadow:none}.dropdown---dropdown-submenu---11C1M{position:relative}.dropdown---dropdown-submenu---11C1M.dropdown---open---1ju75>.dropdown---dropdown-menu---1fkH0,.dropdown---dropdown-submenu---11C1M:hover>.dropdown---dropdown-menu---1fkH0{display:block}.dropdown---dropdown-submenu---11C1M.dropdown---pull-left---176QY{float:none}.dropdown---dropdown-submenu---11C1M.dropdown---pull-left---176QY>.dropdown---dropdown-menu---1fkH0{left:auto;right:100%;margin-left:0}.dropdown---dropdown-submenu---11C1M>.dropdown---menu-item---1LjoL:before{display:block;content:" ";float:right;width:0;height:0;border:4px solid transparent;border-right-width:0;border-left-color:#666;margin:6px -16px 6px 0}.dropdown---dropdown-submenu---11C1M>.dropdown---dropdown-menu---1fkH0{top:0;left:100%;margin-top:0} \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 3d60daf..3b3ff6d 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -84,7 +84,7 @@ eval("\n\nvar _Anchor = __webpack_require__(\"../node_modules/@trendmicro/react- /***/ "../node_modules/@trendmicro/react-buttons/dist/react-buttons.css": /***/ (function(module, exports, __webpack_require__) { -eval("// style-loader: Adds some css to the DOM by adding a