@bodynarf/react.components 1.7.63 → 1.7.71

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,4 @@
1
+ /// <reference types="react" />
1
2
  import "./style.scss";
2
3
  import { AccordionProps } from "../../accordion";
3
4
  /** Accordion panel */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/component/index.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAOtB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,sBAAsB;AACtB,QAAA,MAAM,SAAS,2FAKZ,cAAc,KAAG,WA8DnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/component/index.tsx"],"names":[],"mappings":";AAIA,OAAO,cAAc,CAAC;AAOtB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,sBAAsB;AACtB,QAAA,MAAM,SAAS,2FAKZ,cAAc,KAAG,WA8DnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,31 @@
1
+ .bbr-accordion {
2
+ .message {
3
+ &-header {
4
+ cursor: pointer;
5
+
6
+ .bbr-icon {
7
+ transition: transform 0.125s ease-in-out;
8
+ }
9
+ }
10
+ &-body {
11
+ color: black !important;
12
+ transition: max-height 0.2s ease-out;
13
+ overflow-y: inherit;
14
+ padding: 0 1.5em;
15
+
16
+ &__content {
17
+ padding: 1.25em 0;
18
+ }
19
+ }
20
+ }
21
+ &[aria-expanded="true"] {
22
+ .message-header i {
23
+ transform: rotate(180deg);
24
+ }
25
+ }
26
+ &[aria-expanded="false"] {
27
+ .message-body {
28
+ overflow-y: hidden;
29
+ }
30
+ }
31
+ }
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
 
20
- &__label {
20
+ label#{&}__label {
21
21
  cursor: pointer;
22
22
  user-select: none;
23
23
  display: flex;
@@ -84,7 +84,7 @@
84
84
  }
85
85
 
86
86
  &.is-active {
87
- .bbr-dropdown__label .bbr-icon.bi-arrow-down::before {
87
+ label.bbr-dropdown__label .bbr-icon.bi-arrow-down::before {
88
88
  transform: rotate(180deg);
89
89
  }
90
90
  }
@@ -104,7 +104,7 @@
104
104
  }
105
105
 
106
106
  &--disabled {
107
- .bbr-dropdown__label {
107
+ label.bbr-dropdown__label {
108
108
  background-color: hsl(0deg, 0%, 96%);
109
109
  border-color: hsl(0deg, 0%, 96%);
110
110
  box-shadow: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodynarf/react.components",
3
- "version": "1.7.63",
3
+ "version": "1.7.71",
4
4
  "author": {
5
5
  "name": "Artem",
6
6
  "email": "bodynar@gmail.com"