@kvell-group/ui 1.18.3 → 1.18.4

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kvell-group/ui",
3
3
  "author": "Kvell Group",
4
4
  "private": false,
5
- "version": "1.18.3",
5
+ "version": "1.18.4",
6
6
  "type": "module",
7
7
  "main": "src/index.ts",
8
8
  "types": "src/index.ts",
@@ -1,3 +1,3 @@
1
- <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.50001 14.6666C4.81801 14.6666 1.83334 11.6819 1.83334 7.99992C1.83334 4.31792 4.81801 1.33325 8.50001 1.33325C12.182 1.33325 15.1667 4.31792 15.1667 7.99992C15.1667 11.6819 12.182 14.6666 8.50001 14.6666ZM8.50001 13.3333C9.9145 13.3333 11.2711 12.7713 12.2712 11.7712C13.2714 10.771 13.8333 9.41441 13.8333 7.99992C13.8333 6.58543 13.2714 5.22888 12.2712 4.22868C11.2711 3.22849 9.9145 2.66659 8.50001 2.66659C7.08552 2.66659 5.72897 3.22849 4.72877 4.22868C3.72858 5.22888 3.16668 6.58543 3.16668 7.99992C3.16668 9.41441 3.72858 10.771 4.72877 11.7712C5.72897 12.7713 7.08552 13.3333 8.50001 13.3333ZM7.83334 4.66659H9.16668V5.99992H7.83334V4.66659ZM7.83334 7.33325H9.16668V11.3333H7.83334V7.33325Z" fill="currentColor" style="fill:#E6483D;fill:color(display-p3 0.9020 0.2824 0.2392);fill-opacity:1;"/>
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.00004 14.6667C4.31804 14.6667 1.33337 11.682 1.33337 8.00004C1.33337 4.31804 4.31804 1.33337 8.00004 1.33337C11.682 1.33337 14.6667 4.31804 14.6667 8.00004C14.6667 11.682 11.682 14.6667 8.00004 14.6667ZM8.00004 13.3334C9.41453 13.3334 10.7711 12.7715 11.7713 11.7713C12.7715 10.7711 13.3334 9.41453 13.3334 8.00004C13.3334 6.58555 12.7715 5.229 11.7713 4.2288C10.7711 3.22861 9.41453 2.66671 8.00004 2.66671C6.58555 2.66671 5.229 3.22861 4.2288 4.2288C3.22861 5.229 2.66671 6.58555 2.66671 8.00004C2.66671 9.41453 3.22861 10.7711 4.2288 11.7713C5.229 12.7715 6.58555 13.3334 8.00004 13.3334ZM7.33337 4.66671H8.66671V6.00004H7.33337V4.66671ZM7.33337 7.33337H8.66671V11.3334H7.33337V7.33337Z" fill="currentColor"/>
3
3
  </svg>
@@ -0,0 +1,110 @@
1
+ .root {
2
+ --ai-size-xs: rem(24px);
3
+ --ai-size-sm: rem(32px);
4
+ --ai-size-md: rem(40px);
5
+ --ai-size-lg: rem(48px);
6
+
7
+ --ai-radius-xs: var(--mantine-radius-md);
8
+ --ai-radius-sm: var(--mantine-radius-sm);
9
+ --ai-radius-md: var(--mantine-radius-md);
10
+ --ai-radius-lg: var(--mantine-radius-lg);
11
+
12
+ background-color: var(--ai-bg);
13
+ color: var(--ai-color);
14
+
15
+ &[data-size='xs'] {
16
+ --ai-radius: var(--ai-radius-xs);
17
+ }
18
+
19
+ &[data-size='sm'] {
20
+ --ai-radius: var(--ai-radius-lg);
21
+ }
22
+
23
+ &[data-size='md'] {
24
+ --ai-radius: var(--ai-radius-xl);
25
+ }
26
+
27
+ &[data-size='lg'] {
28
+ --ai-radius: var(--ai-radius-xl);
29
+ }
30
+
31
+ &[data-variant='primary'] {
32
+ --ai-bg: var(--color-background-button-primary);
33
+ --ai-color: var(--color-icon-base-inverted);
34
+
35
+ box-shadow: var(--mantine-shadow-xs);
36
+
37
+ &:focus-visible {
38
+ border: none;
39
+ }
40
+
41
+ &:hover {
42
+ --ai-bg: var(--color-background-button-primary-hover);
43
+ }
44
+
45
+ &:disabled,
46
+ &[data-disabled] {
47
+ --ai-bg: var(--color-background-button-primary-disabled);
48
+ --ai-color: var(--color-icon-base-quaternary);
49
+
50
+ box-shadow: none;
51
+ }
52
+ }
53
+
54
+ &[data-variant='secondary'] {
55
+ --ai-bg: var(--color-background-button-secondary);
56
+ --ai-color: var(--color-icon-base-secondary);
57
+
58
+ border: rem(1px) solid var(--color-border-action-normal);
59
+ box-shadow: var(--mantine-shadow-xs);
60
+
61
+ &:hover {
62
+ --ai-bg: var(--color-background-button-secondary-hover);
63
+ border-color: var(--color-border-action-hover);
64
+ }
65
+
66
+ &:disabled,
67
+ &[data-disabled] {
68
+ --ai-bg: var(--color-background-button-secondary-disabled);
69
+ --ai-color: var(--color-icon-base-quaternary);
70
+
71
+ border-color: var(--color-border-action-disabled);
72
+ box-shadow: none;
73
+ }
74
+ }
75
+
76
+ &[data-variant='tertiary'] {
77
+ --ai-bg: var(--color-background-button-tertiary);
78
+ --ai-color: var(--color-icon-base-secondary);
79
+
80
+ &:hover {
81
+ --ai-bg: var(--color-background-button-tertiary-hover);
82
+ }
83
+
84
+ &:disabled,
85
+ &[data-disabled] {
86
+ --ai-bg: var(--color-background-button-tertiary);
87
+ --ai-color: var(--color-icon-base-quaternary);
88
+ }
89
+ }
90
+
91
+ &[data-variant='ghost'] {
92
+ --ai-bg: transparent;
93
+ --ai-color: var(--color-icon-base-secondary);
94
+
95
+ &:hover {
96
+ --ai-bg: var(--color-background-button-ghost-hover);
97
+ }
98
+
99
+ &:disabled,
100
+ &[data-disabled] {
101
+ --ai-bg: transparent;
102
+ --ai-color: var(--color-icon-base-quaternary);
103
+ }
104
+ }
105
+
106
+ &:focus-visible {
107
+ border: rem(1px) solid var(--color-border-action-focus-light);
108
+ box-shadow: var(--shadow-focus-ring-light);
109
+ }
110
+ }
@@ -0,0 +1,25 @@
1
+ import { createPolymorphicComponent, ActionIcon as MantineActionIcon } from '@mantine/core'
2
+ import type { ActionIconProps as BaseActionIconProps } from '@mantine/core'
3
+ import '@mantine/core/styles/UnstyledButton.layer.css'
4
+ import '@mantine/core/styles/Button.layer.css'
5
+ import classNames from './ActionIcon.module.css'
6
+ import { forwardRef } from 'react'
7
+ import type { ExtendedActionIconVariant } from './types'
8
+
9
+ // ----------------------------------------------------------------------
10
+
11
+ export type ActionIconProps = BaseActionIconProps & { variant?: ExtendedActionIconVariant }
12
+
13
+ export const ActionIcon = createPolymorphicComponent<'button', ActionIconProps>(
14
+ forwardRef<HTMLButtonElement, ActionIconProps>((props, ref) => {
15
+ const { size = 'md', ...resProps } = props
16
+ return (
17
+ <MantineActionIcon
18
+ ref={ref}
19
+ size={size}
20
+ {...resProps}
21
+ classNames={classNames}
22
+ />
23
+ )
24
+ })
25
+ )
@@ -0,0 +1,13 @@
1
+ export const ACTION_ICON_VARIANT = {
2
+ PRIMARY: 'primary',
3
+ SECONDARY: 'secondary',
4
+ TERTIARY: 'tertiary',
5
+ GHOST: 'ghost',
6
+ } as const
7
+
8
+ export const ACTION_ICON_SIZE = {
9
+ LG: 'lg',
10
+ MD: 'md',
11
+ SM: 'sm',
12
+ XS: 'xs',
13
+ }
@@ -0,0 +1 @@
1
+ export * from './ActionIcon'
@@ -0,0 +1,8 @@
1
+ import { ACTION_ICON_VARIANT } from './constants'
2
+ import type { ActionIconVariant } from '@mantine/core'
3
+
4
+ // ----------------------------------------------------------------------
5
+
6
+ type ActionIconVariantsTypes = (typeof ACTION_ICON_VARIANT)[keyof typeof ACTION_ICON_VARIANT]
7
+
8
+ export type ExtendedActionIconVariant = ActionIconVariant | ActionIconVariantsTypes
@@ -1,5 +1,4 @@
1
1
  .root {
2
- box-shadow: var(--mantine-shadow-xs);
3
2
  --button-height-sm: 2rem;
4
3
  --button-height-md: 2.5rem;
5
4
  --button-height-lg: 3rem;
@@ -17,12 +16,38 @@
17
16
  &[data-variant='primary'] {
18
17
  background-color: var(--mantine-color-primary-0);
19
18
  color: var(--mantine-color-white);
19
+ box-shadow: var(--mantine-shadow-xs);
20
+
21
+ &:focus-visible {
22
+ border: none;
23
+ }
24
+
25
+ &:hover {
26
+ background-color: var(--color-background-button-primary-hover);
27
+ }
28
+
29
+ &:disabled,
30
+ &[data-disabled] {
31
+ background-color: var(--color-background-button-primary-disabled);
32
+ }
20
33
  }
21
34
 
22
35
  &[data-variant='secondary'] {
23
36
  background-color: var(--mantine-color-secondary-0);
24
37
  color: var(--mantine-color-primary);
25
38
  border: 1px solid var(--mantine-color-border-action-normal-0);
39
+ box-shadow: var(--mantine-shadow-xs);
40
+
41
+ &:hover {
42
+ background-color: var(--color-background-button-secondary-hover);
43
+ border: 1px solid var(--color-border-action-hover);
44
+ }
45
+
46
+ &:disabled,
47
+ &[data-disabled] {
48
+ background-color: var(--color-background-button-secondary-disabled);
49
+ border: 1px solid var(--color-border-action-disabled);
50
+ }
26
51
 
27
52
  .loader {
28
53
  --button-color: var(--mantine-color-gray-5);
@@ -30,9 +55,18 @@
30
55
  }
31
56
 
32
57
  &[data-variant='tertiary'] {
33
- background-color: var(--mantine-color-tertiary-0);
58
+ background-color: var(--color-background-button-tertiary);
34
59
  color: var(--mantine-color-primary);
35
60
 
61
+ &:hover {
62
+ background-color: var(--color-background-button-tertiary-hover);
63
+ }
64
+
65
+ &:disabled,
66
+ &[data-disabled] {
67
+ background-color: var(--color-background-button-tertiary);
68
+ }
69
+
36
70
  .loader {
37
71
  --button-color: var(--mantine-color-gray-5);
38
72
  }
@@ -44,7 +78,12 @@
44
78
  box-shadow: none;
45
79
 
46
80
  &:hover {
47
- background-color: var(--mantine-color-background-button-ghost-hover-0);
81
+ background-color: var(--color-background-button-ghost-hover);
82
+ }
83
+
84
+ &:disabled,
85
+ &[data-disabled] {
86
+ background-color: transparent;
48
87
  }
49
88
 
50
89
  .loader {
@@ -54,8 +93,12 @@
54
93
 
55
94
  &:disabled,
56
95
  &[data-disabled] {
57
- background-color: var(--mantine-color-background-button-primary-disabled-0);
58
- color: var(--mantine-color-text-base-quaternary-0);
96
+ color: var(--color-text-base-quaternary);
97
+ }
98
+
99
+ &:focus-visible {
100
+ border: rem(1px) solid var(--color-border-action-focus-light);
101
+ box-shadow: var(--shadow-focus-ring-light);
59
102
  }
60
103
  }
61
104
 
@@ -8,7 +8,7 @@ import type { ExtendedButtonVariant } from './types'
8
8
 
9
9
  // ----------------------------------------------------------------------
10
10
 
11
- type ButtonProps = BaseButtonProps & { variant?: ExtendedButtonVariant }
11
+ export type ButtonProps = BaseButtonProps & { variant?: ExtendedButtonVariant }
12
12
 
13
13
  export const Button = createPolymorphicComponent<'button', ButtonProps>(
14
14
  forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
@@ -1 +1 @@
1
- export { Button } from './Button'
1
+ export * from './Button'
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  :where([data-mantine-color-scheme='light']) .root:hover .input:not(:checked):not(:disabled) {
12
- border-color: var(--mantine-color-border-action-hover-0);
12
+ border-color: var(--color-border-action-hover);
13
13
  }
14
14
 
15
15
  .inner {
@@ -1,8 +1,6 @@
1
1
  @font-face {
2
- font-family: 'Password';
3
- src:
4
- local('Password'),
5
- url(../../../assets/fonts/password.woff2) format('woff2');
2
+ font-family: Password;
3
+ src: url(../../../assets/fonts/password.woff2) format('woff2');
6
4
  font-weight: 100;
7
5
  }
8
6
 
@@ -1,39 +1,75 @@
1
+ .root {
2
+ display: flex;
3
+ flex-flow: column;
4
+ gap: rem(8px);
5
+ }
6
+
1
7
  .input {
8
+ --input-height: 2.5rem;
9
+
2
10
  border-radius: var(--mantine-radius-xl);
3
11
  border: 1px solid var(--mantine-color-border-action-normal-0);
4
12
  box-shadow: var(--mantine-shadow-xs);
5
13
  color: var(--mantine-color-text-base-primary-0);
6
14
 
7
- --input-height: 2.5rem;
15
+ [data-position='left'] ~ & {
16
+ --input-padding-inline-start: 2.5rem;
17
+ }
8
18
 
9
- &[data-error] {
10
- border: 1px solid var(--mantine-color-border-action-destructive-0);
11
- margin-bottom: -0.125px;
12
- color: var(--mantine-color-text-status-destructive-0);
19
+ &:hover {
20
+ border-color: var(--color-border-action-hover);
13
21
  }
14
22
 
15
- [data-position='left'] ~ & {
16
- --input-padding-inline-start: 2.5rem;
23
+ &:focus-within {
24
+ border-color: var(--mantine-color-text-base-primary-0);
25
+ }
26
+
27
+ &[data-error] {
28
+ border: 1px solid var(--color-border-action-destructive);
29
+ color: var(--color-text-status-destructive);
30
+
31
+ &:hover {
32
+ border-color: var(--color-border-action-destructive-hover);
33
+ }
34
+
35
+ &:focus-within {
36
+ border-color: var(--color-border-action-focus-destructive-light);
37
+ }
17
38
  }
18
39
  }
19
40
 
41
+ .wrapper {
42
+ margin-bottom: 0;
43
+ }
44
+
20
45
  .section {
21
46
  --right-section-end: 0.75rem;
22
47
  --left-section-start: 0.25rem;
23
48
  }
24
49
 
25
- .label {
26
- margin-bottom: 0.2rem;
27
- }
28
-
50
+ .description,
29
51
  .error {
30
- color: var(--mantine-color-text-status-destructive-0);
31
- padding-left: 0.25rem;
52
+ padding-block: rem(2px);
53
+ font-size: var(--mantine-font-size-caption-l);
54
+ line-height: var(--mantine-line-height-caption-l);
55
+ letter-spacing: var(--mantine-spacing-caption-l);
32
56
 
33
57
  &::before {
34
- content: url('../../../assets/error.svg');
35
- position: relative;
36
- top: 3px;
37
- left: -0.25rem;
58
+ content: '';
59
+ display: inline-block;
60
+ width: rem(16px);
61
+ height: rem(16px);
62
+ background: currentColor;
63
+ mask: url('../../../assets/error.svg');
64
+ margin-right: rem(4px);
65
+ vertical-align: sub;
38
66
  }
39
67
  }
68
+
69
+ .description {
70
+ color: var(--color-text-base-tertiary);
71
+ }
72
+
73
+ .error {
74
+ color: var(--color-text-status-destructive);
75
+ }
@@ -1,21 +1,10 @@
1
- import '@mantine/core/styles/Input.layer.css'
2
1
  import { TextInput } from '@mantine/core'
2
+ import '@mantine/core/styles/Input.layer.css'
3
3
  import classNames from './Input.module.css'
4
- import textClassNames from '../../../styles/typography.module.css'
5
- import clsx from 'clsx'
6
- import { CAPTION_L_REGULAR_FONT_VARIANT } from '../../../constants/font-variants'
7
-
8
- // ----------------------------------------------------------------------
9
-
10
- const { input, error, ...restClassNames } = classNames
11
-
12
- const captionLRegular = textClassNames[CAPTION_L_REGULAR_FONT_VARIANT]
13
-
14
- const inputClassNames = clsx(input, captionLRegular)
15
- const errorClassNames = clsx(error, captionLRegular)
16
4
 
17
5
  // ----------------------------------------------------------------------
18
6
 
19
7
  export const Input = TextInput.withProps({
20
- classNames: { ...restClassNames, input: inputClassNames, error: errorClassNames },
8
+ classNames,
9
+ inputWrapperOrder: ['label', 'input', 'error', 'description'],
21
10
  })
@@ -1,27 +1,14 @@
1
1
  import { PasswordInput as PasswordInputBase } from '@mantine/core'
2
2
  import classNames from '../Input/Input.module.css'
3
3
  import sectionClassNames from './PasswordInput.module.css'
4
- import textClassNames from '../../../styles/typography.module.css'
5
- import clsx from 'clsx'
6
- import { CAPTION_L_REGULAR_FONT_VARIANT } from '../../../constants/font-variants'
7
-
8
- // ----------------------------------------------------------------------
9
-
10
- const { input, error, ...restClassNames } = classNames
11
-
12
- const captionLRegular = textClassNames[CAPTION_L_REGULAR_FONT_VARIANT]
13
-
14
- const inputClassNames = clsx(input, captionLRegular)
15
- const errorClassNames = clsx(error, captionLRegular)
16
4
 
17
5
  // ----------------------------------------------------------------------
18
6
 
19
7
  export const PasswordInput = PasswordInputBase.withProps({
20
8
  classNames: {
21
- ...restClassNames,
22
- input: inputClassNames,
23
- error: errorClassNames,
9
+ ...classNames,
24
10
  section: sectionClassNames.section,
25
11
  },
26
12
  autoComplete: 'current-password',
13
+ inputWrapperOrder: ['label', 'input', 'error', 'description'],
27
14
  })
@@ -0,0 +1,9 @@
1
+ import { Select as MantineSelect } from '@mantine/core'
2
+ import classNames from '../Input/Input.module.css'
3
+
4
+ // ----------------------------------------------------------------------
5
+
6
+ export const Select = MantineSelect.withProps({
7
+ classNames,
8
+ inputWrapperOrder: ['label', 'input', 'error', 'description'],
9
+ })
@@ -0,0 +1 @@
1
+ export { Select } from './Select'
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .error {
18
- color: var(--mantine-color-text-status-destructive-0);
18
+ color: var(--color-text-status-destructive);
19
19
  padding-left: 0.25rem;
20
20
  margin-top: 0;
21
21
 
@@ -0,0 +1,9 @@
1
+ import { Textarea as MantineTextarea } from '@mantine/core'
2
+ import classNames from '../Input/Input.module.css'
3
+
4
+ // ----------------------------------------------------------------------
5
+
6
+ export const Textarea = MantineTextarea.withProps({
7
+ classNames,
8
+ inputWrapperOrder: ['label', 'input', 'error', 'description'],
9
+ })
@@ -0,0 +1 @@
1
+ export { Textarea } from './Textarea'
@@ -42,3 +42,34 @@
42
42
  U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
43
43
  U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
44
44
  }
45
+
46
+ :root {
47
+ --color-background-accent-gray-accent: #717684;
48
+ --color-background-accent-gray-subtle: #e9eaec;
49
+ --color-background-accent-green-accent: #26bd6c;
50
+ --color-background-button-primary: #14151a;
51
+ --color-background-button-primary-hover: #1f2228;
52
+ --color-background-button-primary-disabled: #e9eaec;
53
+ --color-background-button-secondary: #ffffff;
54
+ --color-background-button-secondary-hover: #f7f7f8;
55
+ --color-background-button-secondary-disabled: #fff;
56
+ --color-background-button-tertiary: #0a0f290a;
57
+ --color-background-button-tertiary-hover: #0a0f2914;
58
+ --color-background-button-ghost-hover: #0a0f290a;
59
+ --color-border-action-normal: #dee0e3;
60
+ --color-border-action-hover: #c8cad0;
61
+ --color-border-action-disabled: #e9eaec;
62
+ --color-border-action-focus-light: #b78af0;
63
+ --color-border-action-destructive: #f7c3c0;
64
+ --color-border-action-destructive-hover: #f5b2ad;
65
+ --color-border-action-focus-destructive-light: #f08b85;
66
+ --color-text-accent-blue-accent: #4778f5;
67
+ --color-text-base-tertiary: #0d112666;
68
+ --color-text-base-quaternary: #0a0f2940;
69
+ --color-text-status-destructive: #e6483d;
70
+ --color-icon-base-secondary: #0f132499;
71
+ --color-icon-base-tertiary: #0d112666;
72
+ --color-icon-base-quaternary: #0a0f2940;
73
+ --color-icon-base-inverted: #ffffff;
74
+ --shadow-focus-ring-light: 0px 0px 0px 2px #c8b2ff80;
75
+ }
@@ -32,7 +32,7 @@ button.close {
32
32
  right: 0.25rem;
33
33
  top: 0.4rem;
34
34
  display: flex;
35
- background-color: var(--mantine-color-background-button-tertiary-0);
35
+ background-color: var(--color-background-button-tertiary);
36
36
  border-radius: 50%;
37
37
  --cb-size: 1.5rem;
38
38
 
@@ -1,8 +1,10 @@
1
1
  //heading
2
2
  export const H5_MEDIUM_FONT_VARIANT = 'h5-medium' as const
3
+ export const H5_SEMIBOLD_FONT_VARIANT = 'h5-semibold' as const
3
4
  export const H6_BOLD_FONT_VARIANT = 'h6-bold' as const
4
5
 
5
6
  //body
7
+ export const BODY_M_REGULAR_FONT_VARIANT = 'body-m-regular' as const
6
8
  export const BODY_M_MEDIUM_FONT_VARIANT = 'body-m-medium' as const
7
9
  export const BODY_M_BOLD_FONT_VARIANT = 'body-m-bold' as const
8
10
  export const BODY_L_BOLD_FONT_VARIANT = 'body-l-bold' as const
@@ -20,9 +22,11 @@ export const CAPTION_M_REGULAR_FONT_VARIANT = 'caption-m-regular' as const
20
22
  export const FontVariants = [
21
23
  //heading
22
24
  H5_MEDIUM_FONT_VARIANT,
25
+ H5_SEMIBOLD_FONT_VARIANT,
23
26
  H6_BOLD_FONT_VARIANT,
24
27
  //body
25
28
  BODY_L_BOLD_FONT_VARIANT,
29
+ BODY_M_REGULAR_FONT_VARIANT,
26
30
  BODY_M_MEDIUM_FONT_VARIANT,
27
31
  BODY_M_BOLD_FONT_VARIANT,
28
32
  BODY_S_MEDIUM_FONT_VARIANT,
package/src/index.ts CHANGED
@@ -9,12 +9,14 @@ export { PasswordInput } from './components/Inputs/PasswordInput'
9
9
  export { CvvInput } from './components/Inputs/CvvInput'
10
10
  export { Checkbox } from './components/Inputs/Checkbox'
11
11
  export { Switch } from './components/Inputs/Switch'
12
+ export { Select } from './components/Inputs/Select'
13
+ export { Textarea } from './components/Inputs/Textarea'
12
14
 
13
15
  //providers
14
16
  export { KvellUiProvider } from './components/KvellUiProvider'
15
17
 
16
18
  //components
17
- export { Button } from './components/Button'
19
+ export * from './components/Button'
18
20
  export { CardLogoByPan } from './components/CardLogoByPan'
19
21
  export { Loader } from './components/Loader'
20
22
  export { Modal } from './components/Modal'
@@ -22,6 +24,7 @@ export { Text } from './components/Text'
22
24
  export { Badge } from './components/Badge'
23
25
  export { Carousel } from './components/Carousel'
24
26
  export { Card } from './components/Card'
27
+ export * from './components/ActionIcon'
25
28
 
26
29
  // core-components ------------------------------------------------------
27
30
 
@@ -6,6 +6,14 @@
6
6
  letter-spacing: var(--mantine-spacing-h5);
7
7
  }
8
8
 
9
+ .h5-semibold {
10
+ font-family: var(--mantine-font-family);
11
+ font-weight: 600;
12
+ font-size: var(--mantine-font-size-h5);
13
+ line-height: var(--mantine-line-height-h5);
14
+ letter-spacing: var(--mantine-spacing-h5);
15
+ }
16
+
9
17
  /* heading */
10
18
  .h6-bold {
11
19
  font-family: var(--mantine-font-family);
@@ -16,6 +24,14 @@
16
24
  }
17
25
 
18
26
  /* body */
27
+ .body-l-medium {
28
+ font-family: var(--mantine-font-family);
29
+ font-weight: 500;
30
+ font-size: var(--mantine-font-size-body-l);
31
+ line-height: var(--mantine-line-height-body-l);
32
+ letter-spacing: var(--mantine-spacing-body-l);
33
+ }
34
+
19
35
  .body-l-bold {
20
36
  font-family: var(--mantine-font-family);
21
37
  font-weight: 700;
@@ -24,6 +40,14 @@
24
40
  letter-spacing: var(--mantine-spacing-body-l);
25
41
  }
26
42
 
43
+ .body-m-regular {
44
+ font-family: var(--mantine-font-family);
45
+ font-weight: 400;
46
+ font-size: var(--mantine-font-size-body-m);
47
+ line-height: var(--mantine-line-height-body-m);
48
+ letter-spacing: var(--mantine-spacing-body-m);
49
+ }
50
+
27
51
  .body-m-bold {
28
52
  font-family: var(--mantine-font-family);
29
53
  font-weight: 700;
@@ -19,15 +19,9 @@ export const theme: MantineThemeOverride = {
19
19
  //borders
20
20
  'border-action-normal': colorsTuple('#dee0e3'),
21
21
  'border-action-destructive': colorsTuple('#f7c3c0'),
22
- 'border-action-hover': colorsTuple('#C8CAD0'),
23
22
  'border-base-alpha': colorsTuple('#0a0f2914'),
24
23
  'border-base-surface': colorsTuple('#ffffff'),
25
24
 
26
- //buttons
27
- 'background-button-tertiary': colorsTuple('#0a0f290a'),
28
- 'background-button-primary-disabled': colorsTuple('#e9eaec'),
29
- 'background-button-ghost-hover': colorsTuple('#0A0F290A'),
30
-
31
25
  //icons
32
26
  'icon-base-secondary': colorsTuple('#0f132499'),
33
27
  'icon-base-tertiary': colorsTuple('#0D112666'),
@@ -39,8 +33,6 @@ export const theme: MantineThemeOverride = {
39
33
  'text-base-primary': colorsTuple('#14151a'),
40
34
  'text-base-secondary': colorsTuple('#0f132499'),
41
35
  'text-base-tertiary': colorsTuple('#0d112666'),
42
- 'text-base-quaternary': colorsTuple('#0a0f2940'),
43
- 'text-status-destructive': colorsTuple('#e6483d'),
44
36
  'text-accent-blue-accent': colorsTuple('#4778F5'),
45
37
 
46
38
  //toggle