forstok-ui-lib 5.0.1 → 5.0.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -24,6 +24,7 @@ const ButtonComponent = ({ children, $mode, $isIndicatorArrow=false, isIndicator
24
24
  ) : null;
25
25
  return (
26
26
  <ButtonContainer
27
+ {...$mode && { name: $mode }}
27
28
  $mode={$mode}
28
29
  $isIndicatorArrow={$isIndicatorArrow ? true : false}
29
30
  $isShown={$isShown ? true : false}
@@ -102,13 +102,13 @@ const getPopupHeaderWrapperModifiedStyled = ({ $width, $mode, $isOpen }:Pick<TPo
102
102
  position: fixed;
103
103
  z-index: 10;
104
104
  border-bottom: 1px solid var(--sec-clr-ln);
105
- button[mode=round-close] {
105
+ button[name=round-close] {
106
106
  position: absolute;
107
107
  top: 12px;
108
108
  right: 0px;
109
109
  }
110
110
  @media only screen and (min-width: 768px) {
111
- button[mode=round-close] {
111
+ button[name=round-close] {
112
112
  top: 16px;
113
113
  right: 20px;
114
114
  }