armtek-uikit-react 1.0.84 → 1.0.86

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.
@@ -203,7 +203,7 @@
203
203
  .button_transparent {
204
204
  background: transparent;
205
205
  &.button_primary{
206
- color: var(--color-blue-600);
206
+ color: var(--color-primary);
207
207
  &:hover{
208
208
  background-color: rgba(var(--color-blue-800), 0.1);
209
209
  }
@@ -550,6 +550,8 @@
550
550
  .button_small{
551
551
  height: $size-small;
552
552
  font-size: 13px;
553
+ padding-left: calc(var(--size-step) * 1.2);
554
+ padding-right: calc(var(--size-step) * 1.2);
553
555
  }
554
556
 
555
557
 
@@ -7,6 +7,7 @@
7
7
  border-radius: 4px;
8
8
  outline: none;
9
9
  border:none;
10
+ font-weight: 400;
10
11
  font-family: inherit;
11
12
  }
12
13
  .status_primary{
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"armtek-uikit-react","version":"1.0.84","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
1
+ {"name":"armtek-uikit-react","version":"1.0.86","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
@@ -32,12 +32,14 @@ const Accordion = props => {
32
32
  if (expanded === undefined) setIsExpanded(prev => !prev);
33
33
  if (onChange) onChange();
34
34
  };
35
- const handleHeadClick = () => {
35
+ const handleHeadClick = e => {
36
36
  if (!triggerOnIcon) handleExpand();
37
37
  };
38
38
  const handleIconClick = e => {
39
- e.stopPropagation();
40
- handleExpand();
39
+ if (triggerOnIcon) {
40
+ e.stopPropagation();
41
+ handleExpand();
42
+ }
41
43
  };
42
44
  const handleExit = () => {
43
45
  if (!(transitionProps != null && transitionProps.unmountOnExit)) setContentHidden(true);
@@ -56,7 +58,7 @@ const Accordion = props => {
56
58
  [css['Accordion_color_' + color]]: !!color
57
59
  }),
58
60
  children: [/*#__PURE__*/_jsxs("div", {
59
- className: clsx(css.AccordionHead, classNames == null ? void 0 : classNames.AccordionHead, {
61
+ className: clsx(css.AccordionHead, 'Arm-AccordionHead', classNames == null ? void 0 : classNames.AccordionHead, {
60
62
  [css['AccordionHead_variant_' + variant]]: !!variant,
61
63
  [css['AccordionHead_color_' + color]]: !!color,
62
64
  'py-1': size === 'small',