@onewelcome/react-lib-components 1.9.1 → 2.0.0-alpha

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.
@@ -4,12 +4,11 @@
4
4
  */
5
5
  import { HTMLAttributes, ReactChild } from "react";
6
6
  interface CSSProperties {
7
+ colorBlack10?: string;
7
8
  colorFocus?: string;
8
9
  colorPrimary?: string;
9
10
  colorSecondary?: string;
10
11
  colorTertiary?: string;
11
- lightPink?: string;
12
- vividViolet?: string;
13
12
  colorPrimary300?: string;
14
13
  colorPrimary500?: string;
15
14
  colorPrimary600?: string;
@@ -19,6 +18,8 @@ interface CSSProperties {
19
18
  colorBlueGrey200?: string;
20
19
  colorBlueGrey400?: string;
21
20
  colorBlueGrey25?: string;
21
+ colorBlueGrey25Transparent?: string;
22
+ colorBlueGrey50?: string;
22
23
  colorBlueGrey500?: string;
23
24
  colorBlueGrey700?: string;
24
25
  colorBlueGrey900?: string;
@@ -27,6 +28,7 @@ interface CSSProperties {
27
28
  colorLightBlue600?: string;
28
29
  colorOrange500?: string;
29
30
  colorRed500?: string;
31
+ colorWhite?: string;
30
32
  defaultLineHeight?: string;
31
33
  buttonBorderRadius?: string;
32
34
  buttonBorderWidth?: string;
@@ -73,7 +75,6 @@ interface CSSProperties {
73
75
  lightGreyBorder?: string;
74
76
  warning?: string;
75
77
  light?: string;
76
- grey?: string;
77
78
  fontFamily?: string;
78
79
  fontFamilyCode?: string;
79
80
  fontSize?: string;
@@ -41,12 +41,15 @@ var BaseStyling = function BaseStyling(_ref) {
41
41
  _ref$properties = _ref.properties,
42
42
  properties = _ref$properties === void 0 ? {} : _ref$properties;
43
43
  var defaultProperties = {
44
+ colorBlack10: "#0000001a",
44
45
  colorPrimary300: "#6871BF",
45
46
  colorPrimary500: "#041295",
46
47
  colorPrimary600: "#030F77",
47
48
  colorPrimary700: "#020B59",
48
49
  colorPrimary900: "#01041E",
49
50
  colorBlueGrey25: "#F7F7F9",
51
+ colorBlueGrey25Transparent: "#F7F7F980",
52
+ colorBlueGrey50: "#EEEFF3",
50
53
  colorBlueGrey100: "#DEDEE6",
51
54
  colorBlueGrey200: "#BCBECE",
52
55
  colorBlueGrey400: "#797D9C",
@@ -58,12 +61,11 @@ var BaseStyling = function BaseStyling(_ref) {
58
61
  colorLightBlue600: "#0096B1",
59
62
  colorOrange500: "#E07900",
60
63
  colorRed500: "#E01E00",
64
+ colorWhite: "#FFFFFF",
61
65
  colorFocus: "var(--color-primary300)",
62
66
  colorPrimary: "var(--color-primary500)",
63
67
  colorSecondary: "var(--color-blue-grey700)",
64
68
  colorTertiary: "var(--color-light-blue600)",
65
- lightPink: "#9E006B1A",
66
- vividViolet: "#9E006B",
67
69
  defaultLineHeight: "1.5",
68
70
  buttonBorderRadius: "2px",
69
71
  buttonBorderWidth: "2px",
@@ -77,8 +79,8 @@ var BaseStyling = function BaseStyling(_ref) {
77
79
  inputBorderWidthFocus: "2px",
78
80
  inputBorderStyle: "solid",
79
81
  inputBackgroundColor: "var(--light)",
80
- dragBackgroundColor: "#1313191A",
81
- dragBorderStyle: "dashed",
82
+ dragBackgroundColor: "var(--color-blue-grey25-transparent)",
83
+ dragBorderStyle: "solid",
82
84
  modalShadowColor: "rgba(0, 0, 0, 0.16)",
83
85
  modalBackgroundColor: "var(--color-blue-grey25)",
84
86
  modalHeaderBackgroundColor: "var(--light)",
@@ -109,8 +111,7 @@ var BaseStyling = function BaseStyling(_ref) {
109
111
  greyedOut: "var(--color-blue-grey500)",
110
112
  lightGreyBorder: "var(--color-blue-grey100)",
111
113
  warning: "var(--color-orange500)",
112
- light: "#FFF",
113
- grey: "#c3c3c7",
114
+ light: "var(--color-white)",
114
115
  fontFamily: "Roboto, sans-serif",
115
116
  fontFamilyCode: "'Roboto Mono', monospace",
116
117
  fontSize: "1rem",