@pushwoosh/dumb-components 1.1.189 → 1.1.190

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/Banner/styles.js CHANGED
@@ -1,4 +1,3 @@
1
- import { rgba } from 'polished';
2
1
  import styled from 'styled-components';
3
2
  import { ShapeRadius, FontWeight } from '@pushwoosh/kit-constants';
4
3
  import { colors } from './colors';
@@ -42,4 +41,4 @@ export const BannerShape = styled(BannerBox).withConfig({
42
41
  export const BannerGhost = styled(BannerBox).withConfig({
43
42
  displayName: "BannerGhost",
44
43
  componentId: "sc-9uu4ap-7"
45
- })(["background:", ";", "{color:", ";background:", ";}", "{color:", ";background:", ";;border-radius:", ";&:hover{text-decoration:none;background:", ";border-radius:", ";}}", "{color:", ";> *{&:hover{text-decoration:none;background:", ";border-radius:16px;}}}"], props => colors[props.$type].ghost.base.bgColor, IconContainer, props => colors[props.$type].ghost.iconArea.color, props => rgba(colors[props.$type].ghost.iconArea.bgColor, 0.14), ActionButton, props => colors[props.$type].ghost.iconArea.color, props => props.$isLoading ? colors[props.$type].ghost.base.bgColor : 'initial', props => props.$isLoading ? ShapeRadius.CONTROL : 'initial', props => colors[props.$type].ghost.hover.bgColor, ShapeRadius.CONTROL, CloseButton, props => colors[props.$type].ghost.iconArea.color, props => colors[props.$type].ghost.hover.bgColor);
44
+ })(["background:", ";", "{color:", ";background:", ";}", "{color:", ";background:", ";;border-radius:", ";&:hover{text-decoration:none;background:", ";border-radius:", ";}}", "{color:", ";> *{&:hover{text-decoration:none;background:", ";border-radius:16px;}}}"], props => colors[props.$type].ghost.base.bgColor, IconContainer, props => colors[props.$type].ghost.iconArea.color, props => `hsl(from ${colors[props.$type].ghost.iconArea.bgColor} h s l / 0.14)`, ActionButton, props => colors[props.$type].ghost.iconArea.color, props => props.$isLoading ? colors[props.$type].ghost.base.bgColor : 'initial', props => props.$isLoading ? ShapeRadius.CONTROL : 'initial', props => colors[props.$type].ghost.hover.bgColor, ShapeRadius.CONTROL, CloseButton, props => colors[props.$type].ghost.iconArea.color, props => colors[props.$type].ghost.hover.bgColor);
package/Radio/styles.js CHANGED
@@ -1,4 +1,3 @@
1
- import { rgba } from 'polished';
2
1
  import styled from 'styled-components';
3
2
  import { Color, FontSize, LineHeight } from '@pushwoosh/kit-constants';
4
3
  import { Horizontal } from '@pushwoosh/kit-helpers';
@@ -29,7 +28,7 @@ export const NativeRadio = styled.input.withConfig({
29
28
  $type
30
29
  }) => `${$size === 'compact' ? '4px' : '6px'} solid ${ColorByType[$type].checked}`, Color.CLEAR, ({
31
30
  $type
32
- }) => rgba(ColorByType[$type].notChecked, 0.3), ({
31
+ }) => `hsl(from ${ColorByType[$type].notChecked} h s l / 0.3)`, ({
33
32
  $size
34
33
  }) => $size === 'compact' ? '3px' : '4px', ({
35
34
  $size
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "1.1.189",
3
+ "version": "1.1.190",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",