@pushwoosh/dumb-components 2.3.0 → 2.3.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.
package/Tooltip/styles.js CHANGED
@@ -2,7 +2,7 @@ import styled, { css } from 'styled-components';
2
2
  import { Color, FontSize, Shadow, ShapeRadius } from '@pushwoosh/kit-constants';
3
3
  import { Horizontal } from '@pushwoosh/kit-helpers';
4
4
  import { DEFAULT_MAX_WIDTH } from './constants';
5
- const clearBox = css(["color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ";"], Color.MAIN, Color.CLEAR, Color.FORM, Shadow.REGULAR);
5
+ const clearBox = css(["padding:16px;color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ";"], Color.MAIN, Color.CLEAR, Color.FORM, Shadow.LARGE);
6
6
  export const TooltipBox = styled.div.withConfig({
7
7
  displayName: "TooltipBox",
8
8
  componentId: "sc-1hariht-0"
@@ -7,7 +7,7 @@ export type TooltipColor = 'main' | 'clear';
7
7
  export type TooltipProps = {
8
8
  /** Tooltip content. */
9
9
  readonly content: ReactNode;
10
- /** Background color (default `main`); `clear` is a card on the page background, with border and shadow. */
10
+ /** Background color (default `main`); `clear` is a card on the page background: 16px padding, border and large shadow. */
11
11
  readonly color?: TooltipColor;
12
12
  /** Placement relative to the anchor (default `top-start`). */
13
13
  readonly position?: TooltipPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -40,8 +40,8 @@
40
40
  "@codemirror/view": "^6.43.11",
41
41
  "@floating-ui/react-dom": "^2.1.2",
42
42
  "@lezer/highlight": "^1.2.1",
43
- "@pushwoosh/kit-constants": "^2.0.0",
44
- "@pushwoosh/kit-helpers": "^4.12.5",
43
+ "@pushwoosh/kit-constants": "^2.1.0",
44
+ "@pushwoosh/kit-helpers": "^4.12.7",
45
45
  "@pushwoosh/kit-icons": "^2.3.3",
46
46
  "@pushwoosh/kit-typography": "^1.8.5",
47
47
  "@tippyjs/react": "^4.2.6",