@bodynarf/react.components 1.4.15 → 1.4.17

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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownProps } from '../..';
3
2
  declare const DropdownWithLabel: ({ items, value, onSelect, validationState, deselectable, className, hideOnOuterClick, listMaxHeight, label, placeholder }: DropdownProps) => JSX.Element;
4
3
  export default DropdownWithLabel;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dropdown/components/withLabel/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKtC,QAAA,MAAM,iBAAiB,8HAOpB,aAAa,KAAG,WA0KlB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dropdown/components/withLabel/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKtC,QAAA,MAAM,iBAAiB,8HAOpB,aAAa,KAAG,WA2KlB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -56,6 +56,7 @@ const DropdownWithLabel = ({ items, value, onSelect, validationState, deselectab
56
56
  if (label.horizontal) {
57
57
  const labelContainerClassName = getClassName([
58
58
  "field-label",
59
+ "is-normal",
59
60
  label.horizontalContainerClassName
60
61
  ]);
61
62
  const fieldContainerClassName = getClassName([
@@ -1,10 +1,6 @@
1
1
  .bbr-dropdown {
2
2
  min-width: 7.5rem;
3
3
 
4
- &__root-container--with-label.is-horizontal {
5
- align-items: center;
6
- }
7
-
8
4
  &:not(.bbr-dropdown--compact) {
9
5
  display: block;
10
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodynarf/react.components",
3
- "version": "1.4.15",
3
+ "version": "1.4.17",
4
4
  "author": {
5
5
  "name": "Artem",
6
6
  "email": "bodynar@gmail.com"