@wavv/ui 2.0.0-alpha.90 → 2.0.0-alpha.91

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.
@@ -1,5 +1,6 @@
1
- import type { ReactNode } from 'react';
1
+ import type { HTMLProps, ReactNode } from 'react';
2
2
  import type { Margin, Position } from './types';
3
+ type DivAttributes = Omit<HTMLProps<HTMLDivElement>, 'onChange' | 'as'>;
3
4
  type NotificationProps = {
4
5
  children?: ReactNode;
5
6
  /** The color of the dot */
@@ -8,6 +9,6 @@ type NotificationProps = {
8
9
  size?: number | string;
9
10
  /** Styles the dot to accommodate containing a number */
10
11
  number?: boolean;
11
- } & Margin & Position;
12
+ } & Margin & Position & DivAttributes;
12
13
  declare const Notification: ({ children, ...props }: NotificationProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default Notification;
package/build/colors.ts CHANGED
@@ -5,7 +5,7 @@ var polished = require('polished');
5
5
  const brand = '#0074F4';
6
6
  const error = '#FF6068';
7
7
  const warning = '#FF9900';
8
- const alert = '#F0BB00';
8
+ const alertColor = '#F0BB00';
9
9
  const success = '#00C242';
10
10
  const grayVal = '#001D32';
11
11
  const white$1 = '#FFFFFF';
@@ -41,12 +41,12 @@ const colors = {
41
41
  warningTint0: polished.transparentize(0.95, warning),
42
42
  warningTint1: polished.transparentize(0.9, warning),
43
43
  warningTint2: polished.transparentize(0.8, warning),
44
- alert,
44
+ alert: alertColor,
45
45
  alertShade1: '#E4B200',
46
46
  alertShade2: '#C09600',
47
- alertTint0: polished.transparentize(0.95, alert),
48
- alertTint1: polished.transparentize(0.9, alert),
49
- alertTint2: polished.transparentize(0.8, alert),
47
+ alertTint0: polished.transparentize(0.95, alertColor),
48
+ alertTint1: polished.transparentize(0.9, alertColor),
49
+ alertTint2: polished.transparentize(0.8, alertColor),
50
50
  success,
51
51
  successShade1: '#00AF3B',
52
52
  successShade2: '#009B35',