@pushwoosh/dumb-components 4.9.0 → 4.9.1

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.
@@ -10,11 +10,11 @@ export const RootBox = styled(Vertical).attrs({
10
10
  }).withConfig({
11
11
  displayName: "RootBox",
12
12
  componentId: "sc-1woucxa-0"
13
- })(["width:", ";height:100%;box-sizing:border-box;outline:", ";cursor:", ";opacity:", ";pointer-events:", ";&:hover{background:", ";}"], ({
13
+ })(["width:", ";height:100%;box-sizing:border-box;outline:1px solid ", ";cursor:", ";opacity:", ";pointer-events:", ";&:hover{background:", ";}"], ({
14
14
  $width
15
15
  }) => toCssValue($width), ({
16
16
  $isActive
17
- }) => $isActive ? `2px solid ${Color.PRIMARY}` : `1px solid ${Color.DIVIDER}`, ({
17
+ }) => $isActive ? Color.PRIMARY : Color.DIVIDER, ({
18
18
  $isDisabled
19
19
  }) => $isDisabled ? 'default' : 'pointer', ({
20
20
  $isDisabled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -7,5 +7,5 @@ export type DynamicContentChipProps = {
7
7
  /** `solid` for opaque surfaces, `subtle` over author-chosen backgrounds. */
8
8
  tone?: DynamicContentTone;
9
9
  };
10
- /** Renders one dynamic-content token as `{ tagName }`. */
10
+ /** Renders one dynamic-content token as `{tagName}`. */
11
11
  export declare function DynamicContentChip(props: DynamicContentChipProps): ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Bracket, Chip } from './styles';
3
- /** Renders one dynamic-content token as `{ tagName }`. */
3
+ /** Renders one dynamic-content token as `{tagName}`. */
4
4
  export function DynamicContentChip(props) {
5
5
  const {
6
6
  dc,
@@ -12,7 +12,7 @@ export function DynamicContentChip(props) {
12
12
  children: [_jsx(Bracket, {
13
13
  "$tone": tone,
14
14
  children: '{'
15
- }), "\u00A0", dc.tagName, "\u00A0", _jsx(Bracket, {
15
+ }), dc.tagName, _jsx(Bracket, {
16
16
  "$tone": tone,
17
17
  children: '}'
18
18
  })]