@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.
- package/dist/_BaseStyling_/BaseStyling.d.ts +4 -3
- package/dist/react-lib-components.cjs.development.js +7 -6
- package/dist/react-lib-components.cjs.development.js.map +1 -1
- package/dist/react-lib-components.cjs.production.min.js +1 -1
- package/dist/react-lib-components.cjs.production.min.js.map +1 -1
- package/dist/react-lib-components.esm.js +7 -6
- package/dist/react-lib-components.esm.js.map +1 -1
- package/package.json +16 -16
- package/src/Form/FileUpload/FileItem/FileItem.modules.scss +1 -1
- package/src/Form/FileUpload/FileUpload.module.scss +1 -1
- package/src/Form/FileUpload/FileUpload.tsx +3 -1
- package/src/Form/Select/Select.test.tsx +66 -22
- package/src/Tabs/Tabs.test.tsx +1 -1
- package/src/Tiles/Tile.test.tsx +10 -4
- package/src/Tooltip/Tooltip.test.tsx +5 -3
- package/src/_BaseStyling_/BaseStyling.tsx +11 -9
- package/src/hooks/useAnimation.test.tsx +8 -2
- package/src/util/helper.test.tsx +33 -22
|
@@ -33,12 +33,15 @@ var BaseStyling = function BaseStyling(_ref) {
|
|
|
33
33
|
_ref$properties = _ref.properties,
|
|
34
34
|
properties = _ref$properties === void 0 ? {} : _ref$properties;
|
|
35
35
|
var defaultProperties = {
|
|
36
|
+
colorBlack10: "#0000001a",
|
|
36
37
|
colorPrimary300: "#6871BF",
|
|
37
38
|
colorPrimary500: "#041295",
|
|
38
39
|
colorPrimary600: "#030F77",
|
|
39
40
|
colorPrimary700: "#020B59",
|
|
40
41
|
colorPrimary900: "#01041E",
|
|
41
42
|
colorBlueGrey25: "#F7F7F9",
|
|
43
|
+
colorBlueGrey25Transparent: "#F7F7F980",
|
|
44
|
+
colorBlueGrey50: "#EEEFF3",
|
|
42
45
|
colorBlueGrey100: "#DEDEE6",
|
|
43
46
|
colorBlueGrey200: "#BCBECE",
|
|
44
47
|
colorBlueGrey400: "#797D9C",
|
|
@@ -50,12 +53,11 @@ var BaseStyling = function BaseStyling(_ref) {
|
|
|
50
53
|
colorLightBlue600: "#0096B1",
|
|
51
54
|
colorOrange500: "#E07900",
|
|
52
55
|
colorRed500: "#E01E00",
|
|
56
|
+
colorWhite: "#FFFFFF",
|
|
53
57
|
colorFocus: "var(--color-primary300)",
|
|
54
58
|
colorPrimary: "var(--color-primary500)",
|
|
55
59
|
colorSecondary: "var(--color-blue-grey700)",
|
|
56
60
|
colorTertiary: "var(--color-light-blue600)",
|
|
57
|
-
lightPink: "#9E006B1A",
|
|
58
|
-
vividViolet: "#9E006B",
|
|
59
61
|
defaultLineHeight: "1.5",
|
|
60
62
|
buttonBorderRadius: "2px",
|
|
61
63
|
buttonBorderWidth: "2px",
|
|
@@ -69,8 +71,8 @@ var BaseStyling = function BaseStyling(_ref) {
|
|
|
69
71
|
inputBorderWidthFocus: "2px",
|
|
70
72
|
inputBorderStyle: "solid",
|
|
71
73
|
inputBackgroundColor: "var(--light)",
|
|
72
|
-
dragBackgroundColor: "
|
|
73
|
-
dragBorderStyle: "
|
|
74
|
+
dragBackgroundColor: "var(--color-blue-grey25-transparent)",
|
|
75
|
+
dragBorderStyle: "solid",
|
|
74
76
|
modalShadowColor: "rgba(0, 0, 0, 0.16)",
|
|
75
77
|
modalBackgroundColor: "var(--color-blue-grey25)",
|
|
76
78
|
modalHeaderBackgroundColor: "var(--light)",
|
|
@@ -101,8 +103,7 @@ var BaseStyling = function BaseStyling(_ref) {
|
|
|
101
103
|
greyedOut: "var(--color-blue-grey500)",
|
|
102
104
|
lightGreyBorder: "var(--color-blue-grey100)",
|
|
103
105
|
warning: "var(--color-orange500)",
|
|
104
|
-
light: "
|
|
105
|
-
grey: "#c3c3c7",
|
|
106
|
+
light: "var(--color-white)",
|
|
106
107
|
fontFamily: "Roboto, sans-serif",
|
|
107
108
|
fontFamilyCode: "'Roboto Mono', monospace",
|
|
108
109
|
fontSize: "1rem",
|