@dexma/ui-components 6.8.1 → 7.0.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 (140) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +38 -36
  3. package/dist/index.d.ts +1 -0
  4. package/dist/lib/components/Alert/Alert.d.ts +13 -0
  5. package/dist/lib/components/Alert/index.d.ts +1 -0
  6. package/dist/lib/components/Button/Button.d.ts +50 -0
  7. package/dist/lib/components/Button/index.d.ts +1 -0
  8. package/dist/lib/components/Card/Card.d.ts +17 -0
  9. package/dist/lib/components/Card/index.d.ts +1 -0
  10. package/dist/lib/components/Cascader/Cascader.d.ts +19 -0
  11. package/dist/lib/components/Cascader/index.d.ts +1 -0
  12. package/dist/lib/components/Cell/Cell.d.ts +17 -0
  13. package/dist/lib/components/Cell/index.d.ts +1 -0
  14. package/dist/lib/components/Chart/Chart.d.ts +23 -0
  15. package/dist/lib/components/Chart/index.d.ts +1 -0
  16. package/dist/lib/components/Chart/types.d.ts +24 -0
  17. package/dist/lib/components/Checkbox/Checkbox.d.ts +9 -0
  18. package/dist/lib/components/Checkbox/index.d.ts +1 -0
  19. package/dist/lib/components/ColorPicker/ColorPicker.d.ts +15 -0
  20. package/dist/lib/components/ColorPicker/index.d.ts +1 -0
  21. package/dist/lib/components/DataId/DataIdProvider.d.ts +10 -0
  22. package/dist/lib/components/DataId/withDataId.d.ts +7 -0
  23. package/dist/lib/components/DatePicker/DatePicker.d.ts +24 -0
  24. package/dist/lib/components/DatePicker/datePickerUtils.d.ts +3 -0
  25. package/dist/lib/components/DatePicker/index.d.ts +1 -0
  26. package/dist/lib/components/Divider/Divider.d.ts +6 -0
  27. package/dist/lib/components/Divider/index.d.ts +1 -0
  28. package/dist/lib/components/Dots/Dots.d.ts +5 -0
  29. package/dist/lib/components/Dots/index.d.ts +1 -0
  30. package/dist/lib/components/Dropdown/Dropdown.d.ts +19 -0
  31. package/dist/lib/components/Dropdown/index.d.ts +1 -0
  32. package/dist/lib/components/FieldGroup/FieldGroup.d.ts +62 -0
  33. package/dist/lib/components/FieldGroup/index.d.ts +1 -0
  34. package/dist/lib/components/FormControl/FormControl.d.ts +35 -0
  35. package/dist/lib/components/FormControl/index.d.ts +1 -0
  36. package/dist/lib/components/Gauge/Gauge.d.ts +234 -0
  37. package/dist/lib/components/Gauge/index.d.ts +1 -0
  38. package/dist/lib/components/Grid/Grid.d.ts +5 -0
  39. package/dist/lib/components/Grid/index.d.ts +1 -0
  40. package/dist/lib/components/Heading/Heading.d.ts +10 -0
  41. package/dist/lib/components/Heading/index.d.ts +1 -0
  42. package/dist/lib/components/Icon/Icon.d.ts +17 -0
  43. package/dist/lib/components/Icon/index.d.ts +1 -0
  44. package/dist/lib/components/Input/Input.d.ts +17 -0
  45. package/dist/lib/components/Input/index.d.ts +1 -0
  46. package/dist/lib/components/Loading/Loading.d.ts +10 -0
  47. package/dist/lib/components/Loading/index.d.ts +1 -0
  48. package/dist/lib/components/Modal/Modal.d.ts +3 -0
  49. package/dist/lib/components/Modal/index.d.ts +1 -0
  50. package/dist/lib/components/Pagination/Pagination.d.ts +6 -0
  51. package/dist/lib/components/Pagination/index.d.ts +1 -0
  52. package/dist/lib/components/Paragraph/Paragraph.d.ts +9 -0
  53. package/dist/lib/components/Paragraph/index.d.ts +1 -0
  54. package/dist/lib/components/Popover/Popover.d.ts +6 -0
  55. package/dist/lib/components/Popover/index.d.ts +1 -0
  56. package/dist/lib/components/Progress/Progress.d.ts +12 -0
  57. package/dist/lib/components/Progress/index.d.ts +1 -0
  58. package/dist/lib/components/Result/Result.d.ts +20 -0
  59. package/dist/lib/components/Result/index.d.ts +1 -0
  60. package/dist/lib/components/Row/Row.d.ts +8 -0
  61. package/dist/lib/components/Row/index.d.ts +1 -0
  62. package/dist/lib/components/Section/Section.d.ts +15 -0
  63. package/dist/lib/components/Section/index.d.ts +1 -0
  64. package/dist/lib/components/Select/ButtonPaginationSelector.d.ts +18 -0
  65. package/dist/lib/components/Select/Select.d.ts +58 -0
  66. package/dist/lib/components/Select/index.d.ts +1 -0
  67. package/dist/lib/components/Select/selectUtils.d.ts +21 -0
  68. package/dist/lib/components/Spinner/Spinner.d.ts +4 -0
  69. package/dist/lib/components/Spinner/index.d.ts +1 -0
  70. package/dist/lib/components/Switch/Switch.d.ts +19 -0
  71. package/dist/lib/components/Switch/index.d.ts +1 -0
  72. package/dist/lib/components/SwitchPeriodComparative/SwitchPeriodComparative.d.ts +24 -0
  73. package/dist/lib/components/SwitchPeriodComparative/index.d.ts +1 -0
  74. package/dist/lib/components/Table/Table.d.ts +16 -0
  75. package/dist/lib/components/Table/index.d.ts +1 -0
  76. package/dist/lib/components/Tabs/Tabs.d.ts +16 -0
  77. package/dist/lib/components/Tabs/index.d.ts +1 -0
  78. package/dist/lib/components/Tag/Tag.d.ts +22 -0
  79. package/dist/lib/components/Tag/index.d.ts +1 -0
  80. package/dist/lib/components/TagGroup/TagGroup.d.ts +7 -0
  81. package/dist/lib/components/TagGroup/index.d.ts +1 -0
  82. package/dist/lib/components/Theme/Theme.d.ts +8 -0
  83. package/dist/lib/components/Theme/index.d.ts +1 -0
  84. package/dist/lib/components/Toaster/Toast.d.ts +12 -0
  85. package/dist/lib/components/Toaster/Toaster.d.ts +7 -0
  86. package/dist/lib/components/Toaster/ToasterContext.d.ts +11 -0
  87. package/dist/lib/components/Toaster/index.d.ts +3 -0
  88. package/dist/lib/components/Tooltip/Tooltip.d.ts +8 -0
  89. package/dist/lib/components/Tooltip/index.d.ts +1 -0
  90. package/dist/lib/components/index.d.ts +42 -0
  91. package/dist/lib/index.d.ts +5 -0
  92. package/dist/lib/styles/Alert/StyledAlert.d.ts +12 -0
  93. package/dist/lib/styles/Button/StyledButton.d.ts +44 -0
  94. package/dist/lib/styles/Card/StyledCard.d.ts +14 -0
  95. package/dist/lib/styles/Cascader/StyledCascader.d.ts +11 -0
  96. package/dist/lib/styles/Cell/StyledCell.d.ts +16 -0
  97. package/dist/lib/styles/Chart/StyledChart.d.ts +3 -0
  98. package/dist/lib/styles/ColorPicker/StyledColorPicker.d.ts +50 -0
  99. package/dist/lib/styles/DatePicker/StyledDatePicker.d.ts +25 -0
  100. package/dist/lib/styles/Divider/StyledDivider.d.ts +7 -0
  101. package/dist/lib/styles/Dots/StyledDots.d.ts +10 -0
  102. package/dist/lib/styles/Dropdown/StyledDropdown.d.ts +88 -0
  103. package/dist/lib/styles/Fieldgroup/StyledFieldGroup.d.ts +16 -0
  104. package/dist/lib/styles/FromControl/StyledFormControl.d.ts +5 -0
  105. package/dist/lib/styles/Grid/StyledGrid.d.ts +7 -0
  106. package/dist/lib/styles/Heading/StyledHeading.d.ts +8 -0
  107. package/dist/lib/styles/Icon/StyledIcon.d.ts +5 -0
  108. package/dist/lib/styles/Input/StyledInput.d.ts +11 -0
  109. package/dist/lib/styles/Loading/StyledLoading.d.ts +2 -0
  110. package/dist/lib/styles/Modal/StyledModal.d.ts +14 -0
  111. package/dist/lib/styles/Pagination/StyledPagination.d.ts +7 -0
  112. package/dist/lib/styles/Paragraph/StyledParagraph.d.ts +9 -0
  113. package/dist/lib/styles/Progress/StyledProgress.d.ts +14 -0
  114. package/dist/lib/styles/Result/StyledResult.d.ts +10 -0
  115. package/dist/lib/styles/Row/StyledRow.d.ts +8 -0
  116. package/dist/lib/styles/Section/StyledSection.d.ts +9 -0
  117. package/dist/lib/styles/Select/StyledSelect.d.ts +98 -0
  118. package/dist/lib/styles/Spinner/StyledSpinner.d.ts +9 -0
  119. package/dist/lib/styles/Switch/StyledSwitch.d.ts +2 -0
  120. package/dist/lib/styles/SwitchPeriodComparative/StyledSwitchPeriodComparative.d.ts +7 -0
  121. package/dist/lib/styles/Table/StyledTable.d.ts +7 -0
  122. package/dist/lib/styles/Tabs/StyledTabs.d.ts +9 -0
  123. package/dist/lib/styles/Tag/StyledTag.d.ts +14 -0
  124. package/dist/lib/styles/TagGroup/StyledTagGroup.d.ts +6 -0
  125. package/dist/lib/styles/Toast/StyledToast.d.ts +2 -0
  126. package/dist/lib/utils/animation.d.ts +13 -0
  127. package/dist/lib/utils/dates.d.ts +29 -0
  128. package/dist/lib/utils/formatter.d.ts +2 -0
  129. package/dist/lib/utils/global.d.ts +4 -0
  130. package/dist/lib/utils/selectors.d.ts +113 -0
  131. package/dist/lib/utils/theme.d.ts +85 -0
  132. package/dist/ui-components.es.js +72660 -0
  133. package/dist/ui-components.umd.js +4967 -0
  134. package/package.json +42 -137
  135. package/.github/workflows/cd.yml +0 -36
  136. package/.github/workflows/ci.yml +0 -45
  137. package/CHANGELOG.md +0 -1556
  138. package/CONTRIBUTING.md +0 -154
  139. package/dist/main.bundle.js +0 -253
  140. package/dist/main.bundle.js.map +0 -1
@@ -0,0 +1,98 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ import { Theme } from '../../utils/theme';
3
+
4
+ export declare const hexToRGBA: (hex: string, a: number) => string;
5
+ export declare const StyledPaginationPageWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<{
6
+ xs?: number;
7
+ sm?: number;
8
+ md?: number;
9
+ lg?: number;
10
+ xsOffset?: number;
11
+ smOffset?: number;
12
+ mdOffset?: number;
13
+ lgOffset?: number;
14
+ direction?: string;
15
+ onClick?: () => void;
16
+ "data-testid"?: string;
17
+ } & import('react').HTMLAttributes<HTMLDivElement>, {
18
+ $disabled?: boolean;
19
+ theme?: Theme;
20
+ }>> & string & Omit<({ xs, sm, md, lg, xsOffset, smOffset, mdOffset, lgOffset, direction, children, onClick, ...props }: {
21
+ xs?: number;
22
+ sm?: number;
23
+ md?: number;
24
+ lg?: number;
25
+ xsOffset?: number;
26
+ smOffset?: number;
27
+ mdOffset?: number;
28
+ lgOffset?: number;
29
+ direction?: string;
30
+ onClick?: () => void;
31
+ "data-testid"?: string;
32
+ } & import('react').HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
33
+ export declare const StyledIconButtonPagination: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<import('../../components/index.ts').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
34
+ ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
35
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('../../components/index.ts').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>, keyof import('react').Component<any, {}, any>>;
36
+ export declare const StyledRowButtonPagination: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<{
37
+ reverse?: boolean;
38
+ alignItems?: string;
39
+ } & import('react').HTMLAttributes<HTMLDivElement>, never>> & string & Omit<({ alignItems, reverse, children, ...props }: import('../../components/index.ts').RowhProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
40
+ export declare const StyledButtonSelectAll: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<{
41
+ text?: string;
42
+ size?: string | import('../../components/index.ts').ButtonSize;
43
+ variant?: string;
44
+ iconBefore?: string;
45
+ iconAfter?: string;
46
+ iconColor?: string;
47
+ tooltip?: string;
48
+ onClick?: (e?: any) => void;
49
+ onFocus?: () => void;
50
+ isLoading?: boolean;
51
+ isDisabled?: boolean;
52
+ isCircle?: boolean;
53
+ isExpanded?: boolean;
54
+ debounceTime?: number;
55
+ children?: import('react').ReactNode;
56
+ dataId?: string;
57
+ 'data-testid'?: string;
58
+ } & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "dataId"> & Partial<{
59
+ dataId?: string;
60
+ }> & import('react').RefAttributes<unknown>, "ref"> & {
61
+ ref?: ((instance: unknown) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<unknown> | null | undefined;
62
+ }, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<{
63
+ text?: string;
64
+ size?: string | import('../../components/index.ts').ButtonSize;
65
+ variant?: string;
66
+ iconBefore?: string;
67
+ iconAfter?: string;
68
+ iconColor?: string;
69
+ tooltip?: string;
70
+ onClick?: (e?: any) => void;
71
+ onFocus?: () => void;
72
+ isLoading?: boolean;
73
+ isDisabled?: boolean;
74
+ isCircle?: boolean;
75
+ isExpanded?: boolean;
76
+ debounceTime?: number;
77
+ children?: import('react').ReactNode;
78
+ dataId?: string;
79
+ 'data-testid'?: string;
80
+ } & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "dataId"> & Partial<{
81
+ dataId?: string;
82
+ }> & import('react').RefAttributes<unknown>>, keyof import('react').Component<any, {}, any>>;
83
+ export declare const StyledPaginationSelector: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
84
+ export declare const StyledSelectDropdown: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
85
+ export declare const StyledSpanOptionSelected: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
86
+ theme: Theme;
87
+ icon?: any;
88
+ closable?: any;
89
+ onClose?: any;
90
+ value: string;
91
+ }>> & string;
92
+ export declare const StyledSpanOption: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
93
+ value: string | null;
94
+ }>> & string;
95
+ export declare const getSelectOptionStyle: (theme: DefaultTheme | Theme) => import('styled-components').RuleSet<object>;
96
+ export declare const SelectOptionStyle: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & {
97
+ $theme: DefaultTheme | Theme;
98
+ }>;
@@ -0,0 +1,9 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ type StyledSpinnerProps = {
4
+ $size: number;
5
+ color: string;
6
+ theme: Theme;
7
+ };
8
+ declare const StyledSpinner: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSpinnerProps>> & string;
9
+ export { StyledSpinner };
@@ -0,0 +1,2 @@
1
+ declare const StyledSwitch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { StyledSwitch };
@@ -0,0 +1,7 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ type StyledSwitchPeriodComparativeProps = {
4
+ theme: Theme;
5
+ };
6
+ declare const StyledSwitchPeriodComparative: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSwitchPeriodComparativeProps>> & string;
7
+ export { StyledSwitchPeriodComparative };
@@ -0,0 +1,7 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ type StyledTableProps = {
4
+ theme: Theme;
5
+ };
6
+ declare const StyledTable: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledTableProps>> & string;
7
+ export { StyledTable };
@@ -0,0 +1,9 @@
1
+ import { Theme } from '../../utils/theme';
2
+ import { TabsVariant } from '../../components/Tabs';
3
+
4
+ type StyledTabsProps = {
5
+ theme: Theme;
6
+ $variant: TabsVariant;
7
+ };
8
+ declare const StyledTabs: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledTabsProps>> & string;
9
+ export { StyledTabs };
@@ -0,0 +1,14 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ export declare const getTagPrimary: (props: StyledTagProps) => import('styled-components').RuleSet<object>;
4
+ export declare const getTagOutline: (props: StyledTagProps) => import('styled-components').RuleSet<object>;
5
+ type StyledTagProps = {
6
+ theme: Theme;
7
+ $color: string;
8
+ $type: 'normal' | 'rounded';
9
+ $variant: 'primary' | 'outline';
10
+ $icon?: string;
11
+ $closable?: boolean;
12
+ };
13
+ declare const StyledTag: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledTagProps>> & string;
14
+ export { StyledTag };
@@ -0,0 +1,6 @@
1
+ import { Theme } from '../../utils/theme';
2
+
3
+ declare const StyledTagGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ theme: Theme;
5
+ }>> & string;
6
+ export { StyledTagGroup };
@@ -0,0 +1,2 @@
1
+ declare const StyledToast: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { StyledToast };
@@ -0,0 +1,13 @@
1
+ export declare const easing: {
2
+ rubber: string;
3
+ };
4
+ export declare const rotate360: import('styled-components/dist/models/Keyframes').default;
5
+ export declare const glow: import('styled-components/dist/models/Keyframes').default;
6
+ export declare const float: import('styled-components/dist/models/Keyframes').default;
7
+ export declare const jiggle: import('styled-components/dist/models/Keyframes').default;
8
+ export declare const shake: import('styled-components/dist/models/Keyframes').default;
9
+ export declare const inlineGlow: import('styled-components').RuleSet<{
10
+ theme: {
11
+ backgroundColor: string;
12
+ };
13
+ }>;
@@ -0,0 +1,29 @@
1
+ import { default as moment, Moment } from 'moment';
2
+
3
+ declare const ISO_FORMAT = "DD/MM/YY";
4
+ declare const NUMBER_OF_MONTHS = 3;
5
+ declare const START_DATE = "startDate";
6
+ declare const END_DATE = "endDate";
7
+ declare const DAY_SIZE = 25;
8
+ export type Parser = (start: Moment, end: Moment) => string;
9
+ declare const day: (number?: number) => moment.Moment;
10
+ declare const today: (parser: Parser) => string;
11
+ declare const yesterday: (parser: Parser) => string;
12
+ declare const last7Days: (parser: Parser) => string;
13
+ declare const last28Days: (parser: Parser) => string;
14
+ declare const currentMonth: (parser: Parser) => string;
15
+ declare const lastMonth: (parser: Parser) => string;
16
+ declare const yearToDate: (parser: Parser) => string;
17
+ declare const previousYear: (parser: Parser) => string;
18
+ declare enum DateRange {
19
+ CUSTOM = "custom",
20
+ TODAY = "today",
21
+ YESTERDAY = "yesterday",
22
+ LAST_7_DAYS = "last_7_days",
23
+ LAST_28_DAYS = "last_28_days",
24
+ CURRENT_MONTH = "current_month",
25
+ LAST_MONTH = "last_month",
26
+ YEAR_TO_DATE = "year_to_date",
27
+ PREVIOUS_YEAR = "previous_year"
28
+ }
29
+ export { ISO_FORMAT, NUMBER_OF_MONTHS, START_DATE, END_DATE, DAY_SIZE, DateRange, day, today, yesterday, last7Days, last28Days, currentMonth, lastMonth, yearToDate, previousYear };
@@ -0,0 +1,2 @@
1
+ export declare const numberFormatter: (number: number, decimal: string, grouping: string) => string;
2
+ export declare const applyScientific: (number: number, decimal: string, exponential: number) => string;
@@ -0,0 +1,4 @@
1
+ export declare const UIComponentsStyle: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
2
+ export declare const IsolatedGlobalStyle: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
3
+ export declare const GlobalStyle: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
4
+ export declare const StorybookStyles: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
@@ -0,0 +1,113 @@
1
+ import { Theme } from './theme';
2
+ import { DefaultTheme } from 'styled-components';
3
+
4
+ export declare const padding: (theme?: Theme) => any;
5
+ export declare const margin: (theme?: Theme) => any;
6
+ export declare const border: (theme?: Theme) => any;
7
+ export declare const borderRadius: (theme?: Theme) => any;
8
+ export declare const borderColor: (theme?: Theme) => any;
9
+ export declare const fontSize: (theme?: Theme) => any;
10
+ export declare const fontColor: (theme?: Theme) => any;
11
+ export declare const fontColorActive: (theme?: Theme) => any;
12
+ export declare const fontWeightLight: (theme?: Theme) => any;
13
+ export declare const fontWeightNormal: (theme?: Theme) => any;
14
+ export declare const fontWeightSemiBold: (theme?: Theme) => any;
15
+ export declare const fontWeightBold: (theme?: Theme) => any;
16
+ export declare const iconSize: (theme?: Theme) => any;
17
+ export declare const iconColor: (theme?: Theme) => any;
18
+ export declare const iconColorActive: (theme?: Theme) => any;
19
+ export declare const backgroundColor: (theme?: Theme) => any;
20
+ export declare const backgroundColorSelected: (theme?: Theme) => any;
21
+ export declare const backgroundColorActive: (theme?: Theme) => any;
22
+ export declare const backgroundColorHover: (theme?: Theme) => any;
23
+ export declare const backgroundColorFocused: (theme?: Theme) => any;
24
+ export declare const backgroundColorDisabled: (theme?: Theme) => any;
25
+ export declare const boxShadow: (theme?: Theme) => any;
26
+ export declare const boxShadowHover: (theme?: Theme) => any;
27
+ export declare const blue50: (theme?: Theme) => any;
28
+ export declare const blue100: (theme?: Theme) => any;
29
+ export declare const blue200: (theme?: Theme) => any;
30
+ export declare const blue300: (theme?: Theme) => any;
31
+ export declare const blue400: (theme?: Theme) => any;
32
+ export declare const blue500: (theme?: Theme) => any;
33
+ export declare const blue600: (theme?: Theme) => any;
34
+ export declare const blue700: (theme?: Theme) => any;
35
+ export declare const blue800: (theme?: Theme) => any;
36
+ export declare const blue900: (theme?: Theme) => any;
37
+ export declare const gray50: (theme?: Theme) => any;
38
+ export declare const gray100: (theme?: Theme) => any;
39
+ export declare const gray200: (theme?: Theme) => any;
40
+ export declare const gray300: (theme?: Theme) => any;
41
+ export declare const gray400: (theme?: Theme) => any;
42
+ export declare const gray500: (theme?: Theme) => any;
43
+ export declare const gray600: (theme?: Theme) => any;
44
+ export declare const gray700: (theme?: Theme) => any;
45
+ export declare const gray800: (theme?: Theme) => any;
46
+ export declare const gray900: (theme?: Theme) => any;
47
+ export declare const teal: (theme?: Theme) => any;
48
+ export declare const red: (theme?: Theme) => any;
49
+ export declare const orange: (theme?: Theme) => any;
50
+ export declare const amber: (theme?: Theme) => any;
51
+ export declare const green: (theme?: Theme) => any;
52
+ export declare const cyan: (theme?: Theme) => any;
53
+ export declare const blueLight: (theme?: Theme) => any;
54
+ export declare const blue: (theme?: Theme) => any;
55
+ export declare const violet: (theme?: Theme) => any;
56
+ export declare const magenta: (theme?: Theme) => any;
57
+ export declare const pink: (theme?: Theme) => any;
58
+ export declare const brown: (theme?: Theme) => any;
59
+ export declare const gray: (theme?: Theme) => any;
60
+ export declare const white: (theme?: Theme) => any;
61
+ export declare const black: (theme?: Theme) => any;
62
+ export declare const error: (theme?: Theme) => any;
63
+ export declare const primaryColor: (theme?: DefaultTheme | Theme) => any;
64
+ export declare const primaryColorSvg: (theme?: Theme) => string;
65
+ export declare const successColor: (theme?: Theme) => any;
66
+ export declare const warningColor: (theme?: Theme) => any;
67
+ export declare const errorColor: (theme?: Theme) => any;
68
+ export declare const infoColor: (theme?: Theme) => any;
69
+ export declare const componentHeight: (theme?: Theme) => any;
70
+ export declare const alertMessageFontSize: (theme?: Theme) => any;
71
+ export declare const alertDescriptionMessageFontSize: (theme?: Theme) => any;
72
+ export declare const headingFontSize: (theme?: Theme) => any;
73
+ export declare const buttonSize: (theme?: Theme) => any;
74
+ export declare const dataPickerHeight: (theme?: Theme) => any;
75
+ export declare const dataPickerFontSize: (theme?: Theme) => any;
76
+ export declare const dataPickerPaddingX: (theme?: Theme) => any;
77
+ export declare const paginationHeight: (theme?: Theme) => any;
78
+ export declare const paginationFontSize: (theme?: Theme) => any;
79
+ export declare const paginationPaddingX: (theme?: Theme) => any;
80
+ export declare const paragraphSize: (theme?: Theme) => any;
81
+ export declare const tableFontSize: (theme?: Theme) => any;
82
+ export declare const tagLineHeight: (theme?: Theme) => any;
83
+ export declare const tagFontSize: (theme?: Theme) => any;
84
+ export declare const tagPaddingX: (theme?: Theme) => any;
85
+ export declare const tagPaddingY: (theme?: Theme) => any;
86
+ export declare const tabHeight: (theme?: Theme) => any;
87
+ export declare const tabFontSize: (theme?: Theme) => any;
88
+ export declare const tabPaddingX: (theme?: Theme) => any;
89
+ export declare const inputHeight: (theme?: Theme) => any;
90
+ export declare const inputFontSize: (theme?: Theme) => any;
91
+ export declare const inputPaddingX: (theme?: Theme) => any;
92
+ export declare const selectHeight: (theme?: Theme) => any;
93
+ export declare const selectFontSize: (theme?: Theme) => any;
94
+ export declare const selectPaddingX: (theme?: Theme) => any;
95
+ export declare const cardPaddingX: (theme?: Theme) => any;
96
+ export declare const cardPaddingY: (theme?: Theme) => any;
97
+ export declare const cardFontSize: (theme?: Theme) => any;
98
+ export declare const cardLineHeight: (theme?: Theme) => any;
99
+ export declare const switchPeriodComparativeFontSize: (theme?: Theme) => any;
100
+ export declare const gridOuterPadding: (theme?: Theme) => any;
101
+ export declare const gridOuterMargin: (theme?: Theme) => any;
102
+ export declare const gridGutterWidth: (theme?: Theme) => any;
103
+ export declare const gridGutterCompensation: (theme?: Theme) => any;
104
+ export declare const gridHalfGutterWidth: (theme?: Theme) => any;
105
+ export declare const gridBreakpoints: (theme?: Theme) => any;
106
+ export declare const gridColumns: (theme?: Theme) => any;
107
+ export declare const gridContainerSm: (theme?: Theme) => any;
108
+ export declare const gridContainerMd: (theme?: Theme) => any;
109
+ export declare const gridContainerLg: (theme?: Theme) => any;
110
+ export declare const progressHeight: (theme?: Theme) => any;
111
+ export declare const progressFontSize: (theme?: Theme) => any;
112
+ export declare const progressBackgroundColor: (theme?: Theme) => any;
113
+ export declare const formControlMessageFontSize: (theme?: Theme) => any;
@@ -0,0 +1,85 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+
3
+ export declare const color: {
4
+ teal50: string;
5
+ teal100: string;
6
+ teal200: string;
7
+ teal300: string;
8
+ teal400: string;
9
+ teal500: string;
10
+ teal600: string;
11
+ teal700: string;
12
+ teal800: string;
13
+ teal900: string;
14
+ blue50: string;
15
+ blue100: string;
16
+ blue200: string;
17
+ blue300: string;
18
+ blue400: string;
19
+ blue500: string;
20
+ blue600: string;
21
+ blue700: string;
22
+ blue800: string;
23
+ blue900: string;
24
+ gray50: string;
25
+ gray100: string;
26
+ gray200: string;
27
+ gray300: string;
28
+ gray400: string;
29
+ gray500: string;
30
+ gray600: string;
31
+ gray700: string;
32
+ gray800: string;
33
+ gray900: string;
34
+ teal: string;
35
+ red: string;
36
+ orange: string;
37
+ amber: string;
38
+ green: string;
39
+ cyan: string;
40
+ blueLight: string;
41
+ blue: string;
42
+ irisBlue: string;
43
+ violet: string;
44
+ magenta: string;
45
+ pink: string;
46
+ brown: string;
47
+ gray: string;
48
+ white: string;
49
+ black: string;
50
+ };
51
+ export declare const transparent = "transparent";
52
+ export declare const primary: string;
53
+ export declare const success: string;
54
+ export declare const warning: string;
55
+ export declare const error: string;
56
+ export declare const info: string;
57
+ export declare const fontSizeNumber = 1;
58
+ export declare const fontSizeType = "rem";
59
+ export declare const fontSize = "1rem";
60
+ export declare const fontColor: string;
61
+ export declare const fontColorActive: string;
62
+ export declare const fontWeightLight = 300;
63
+ export declare const fontWeightNormal = 400;
64
+ export declare const fontWeightSemiBold = 600;
65
+ export declare const fontWeightBold = 700;
66
+ export declare const fontFamily = "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"";
67
+ export declare const pxToRem: (px: number) => number;
68
+ export declare const iconSize = "1rem";
69
+ export declare const iconColor: string;
70
+ export declare const iconColorActive: string;
71
+ export declare const backgroundColor: string;
72
+ export declare const backgroundColorSelected: string;
73
+ export declare const backgroundColorActive: string;
74
+ export declare const backgroundColorHover: string;
75
+ export declare const backgroundColorFocused: string;
76
+ export declare const radius = "4px";
77
+ export declare const padding = "20px";
78
+ export declare const borderColor: string;
79
+ export declare const heightElements = "30px";
80
+ export declare const heightComponents: number;
81
+ export declare const boxShadow = "0 1px 5px 0 rgba(0,0,0,0.2)";
82
+ export declare const boxShadowHover = "0 4px 8px 0 rgba(0, 0, 0, 0.2)";
83
+ declare const defaultTheme: DefaultTheme;
84
+ export type Theme = DefaultTheme;
85
+ export default defaultTheme;