beem-component 1.0.7 → 1.0.8

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.
@@ -1,3 +1,13 @@
1
+ .sidebar {
2
+ display: flex;
3
+ flex-direction: column;
4
+ max-height: 100%;
5
+ height: 100%;
6
+ overflow: auto;
7
+ max-width: 20%;
8
+ width: 20%;
9
+ }
10
+
1
11
  .main-sidebar-tabs {
2
12
  display: flex;
3
13
  flex-direction: row;
@@ -15,7 +15,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
15
15
 
16
16
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
17
17
 
18
- var BmContactCard = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n > *:not(:last-child) {\n margin-right: 1rem;\n }\n &:hover {\n background: ", ";\n }\n\n ", "\n cursor: pointer;\n"])), _colors.BmGrey100, function (_ref) {
18
+ var BmContactCard = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n > *:not(:last-child) {\n margin-right: 1rem;\n }\n &:hover {\n background: ", ";\n }\n\n ", "\n cursor: pointer;\n padding: 1rem 1.5rem;\n"])), _colors.BmGrey100, function (_ref) {
19
19
  var active = _ref.active;
20
20
  return active && " \n background: ".concat(_colors.BmGrey100, ";\n ");
21
21
  });
@@ -180,6 +180,12 @@ Object.defineProperty(exports, "BmTab", {
180
180
  return _tabs.BmTab;
181
181
  }
182
182
  });
183
+ Object.defineProperty(exports, "BmTag", {
184
+ enumerable: true,
185
+ get: function get() {
186
+ return _tags.BmTag;
187
+ }
188
+ });
183
189
  Object.defineProperty(exports, "BmTagIcon", {
184
190
  enumerable: true,
185
191
  get: function get() {
@@ -245,6 +251,8 @@ var _loader = require("./Loader/loader");
245
251
 
246
252
  var _checkbox = require("./checkbox");
247
253
 
254
+ var _tags = require("./tags");
255
+
248
256
  var _iconStyles = require("./iconStyles");
249
257
 
250
258
  var _noteBar = require("./NoteBar/noteBar");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beem-component",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "main": "dist/components/index.js",
6
6
  "scripts": {
@@ -1,3 +1,13 @@
1
+ .sidebar {
2
+ display: flex;
3
+ flex-direction: column;
4
+ max-height: 100%;
5
+ height: 100%;
6
+ overflow: auto;
7
+ max-width: 20%;
8
+ width: 20%;
9
+ }
10
+
1
11
  .main-sidebar-tabs {
2
12
  display: flex;
3
13
  flex-direction: row;
@@ -18,6 +18,7 @@ export const BmContactCard = styled.div`
18
18
  background: ${BmGrey100};
19
19
  `}
20
20
  cursor: pointer;
21
+ padding: 1rem 1.5rem;
21
22
  `;
22
23
 
23
24
  BmContactCard.Profile = styled.div`
@@ -17,6 +17,7 @@ import { BmTab } from "./Tabs/tabs";
17
17
  import * as BmColors from "./colors";
18
18
  import { BmLoader } from "./Loader/loader";
19
19
  import { BmCheckbox } from "./checkbox";
20
+ import { BmTag } from "./tags";
20
21
  import {
21
22
  BmTagIcon,
22
23
  BmAvatarIcon,
@@ -55,11 +56,12 @@ export {
55
56
  BmTab,
56
57
  GlobalStyle,
57
58
  MainWrapper,
59
+ BmLoader,
58
60
  // Old components to be refactored
59
61
  BmButtonDropDown,
60
62
  BmCheckbox,
61
63
  BmInput,
62
- BmLoader,
64
+ BmTag,
63
65
  //Icons (Remove unused ones and check on the sizing for custom icons)
64
66
  BmAvatarIcon,
65
67
  BmIcons,