@onewelcome/react-lib-components 1.7.0 → 1.8.0

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.
Files changed (35) hide show
  1. package/dist/Typography/Typography.d.ts +1 -1
  2. package/dist/_BaseStyling_/BaseStyling.d.ts +20 -0
  3. package/dist/react-lib-components.cjs.development.js +89 -64
  4. package/dist/react-lib-components.cjs.development.js.map +1 -1
  5. package/dist/react-lib-components.cjs.production.min.js +1 -1
  6. package/dist/react-lib-components.cjs.production.min.js.map +1 -1
  7. package/dist/react-lib-components.esm.js +89 -64
  8. package/dist/react-lib-components.esm.js.map +1 -1
  9. package/dist/util/helper.d.ts +2 -0
  10. package/package.json +3 -3
  11. package/src/Breadcrumbs/Breadcrumbs.module.scss +2 -2
  12. package/src/Button/Button.module.scss +14 -2
  13. package/src/ContextMenu/ContextMenuItem.module.scss +1 -0
  14. package/src/DataGrid/DataGridHeader/DataGridHeader.module.scss +1 -1
  15. package/src/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss +1 -1
  16. package/src/Form/Fieldset/Fieldset.module.scss +8 -1
  17. package/src/Form/FileUpload/FileUpload.module.scss +2 -2
  18. package/src/Form/Input/Input.module.scss +9 -2
  19. package/src/Form/Select/Select.module.scss +26 -3
  20. package/src/Form/Wrapper/InputWrapper/InputWrapper.tsx +3 -1
  21. package/src/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss +9 -1
  22. package/src/Form/Wrapper/Wrapper/Wrapper.module.scss +11 -2
  23. package/src/Link/Link.module.scss +1 -1
  24. package/src/Notifications/Banner/Banner.module.scss +2 -2
  25. package/src/Pagination/Pagination.module.scss +1 -0
  26. package/src/Tabs/TabButton.module.scss +3 -3
  27. package/src/Tabs/Tabs.module.scss +1 -0
  28. package/src/Typography/Typography.module.scss +2 -2
  29. package/src/Typography/Typography.tsx +1 -1
  30. package/src/Wizard/BaseWizardSteps/BaseWizardSteps.module.scss +17 -7
  31. package/src/_BaseStyling_/BaseStyling.tsx +67 -27
  32. package/src/mixins.module.scss +2 -2
  33. package/src/util/helper.test.tsx +34 -17
  34. package/src/util/helper.tsx +5 -0
  35. package/src/variables.scss +18 -0
@@ -1,7 +1,7 @@
1
1
  import React, { ComponentPropsWithRef, ReactNode } from "react";
2
2
  import { Spacing } from "../hooks/useSpacing";
3
3
  export declare const validVariants: readonly ["h1", "h2", "h3", "h4", "body", "body-bold", "sub-text", "code"];
4
- export type Variant = typeof validVariants[number];
4
+ export type Variant = (typeof validVariants)[number];
5
5
  type Tags = "h1" | "h2" | "h3" | "h4" | "p" | "div" | "code" | "span" | "sup" | "sub" | "strong" | "em" | "small" | "mark" | "del" | "ins" | "blockquote";
6
6
  export interface Props extends ComponentPropsWithRef<any> {
7
7
  children: ReactNode;
@@ -10,6 +10,23 @@ interface CSSProperties {
10
10
  colorTertiary?: string;
11
11
  lightPink?: string;
12
12
  vividViolet?: string;
13
+ colorPrimary300?: string;
14
+ colorPrimary500?: string;
15
+ colorPrimary600?: string;
16
+ colorPrimary700?: string;
17
+ colorPrimary900?: string;
18
+ colorBlueGrey100?: string;
19
+ colorBlueGrey200?: string;
20
+ colorBlueGrey400?: string;
21
+ colorBlueGrey25?: string;
22
+ colorBlueGrey500?: string;
23
+ colorBlueGrey700?: string;
24
+ colorBlueGrey900?: string;
25
+ colorGreen500?: string;
26
+ colorLightBlue500?: string;
27
+ colorLightBlue600?: string;
28
+ colorOrange500?: string;
29
+ colorRed500?: string;
13
30
  defaultLineHeight?: string;
14
31
  buttonBorderRadius?: string;
15
32
  buttonBorderWidth?: string;
@@ -23,6 +40,7 @@ interface CSSProperties {
23
40
  inputBorderWidthFocus?: string;
24
41
  inputBorderStyle?: string;
25
42
  inputBackgroundColor?: string;
43
+ dragBackgroundColor?: string;
26
44
  dragBorderStyle?: string;
27
45
  modalShadowColor?: string;
28
46
  modalBackgroundColor?: string;
@@ -35,6 +53,7 @@ interface CSSProperties {
35
53
  snackbarErrorBackgroundColor?: string;
36
54
  snackbarBorderRadius?: string;
37
55
  bannerBorderRadius?: string;
56
+ bannerBorderWidth?: string;
38
57
  dataGridRowBackgroundColor?: string;
39
58
  dataGridRowHoverBackgroundColor?: string;
40
59
  tabsBackgroundColor?: string;
@@ -44,6 +63,7 @@ interface CSSProperties {
44
63
  tablistBorderStyle?: string;
45
64
  tablistBorderColor?: string;
46
65
  tabTextColor?: string;
66
+ wizardStepIndicatorFutureColor?: string;
47
67
  default?: string;
48
68
  success?: string;
49
69
  error?: string;