@kvell-group/ui 1.18.7 → 1.18.8

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.7",
5
+ "version": "1.18.8",
6
6
  "type": "module",
7
7
  "main": "src/index.ts",
8
8
  "types": "src/index.ts",
@@ -0,0 +1,3 @@
1
+ .input {
2
+ --input-padding-y: rem(10px);
3
+ }
@@ -1,9 +1,15 @@
1
1
  import { Textarea as MantineTextarea } from '@mantine/core'
2
+ import clsx from 'clsx'
2
3
  import classNames from '../Input/Input.module.css'
4
+ import textareaClassNames from './Textarea.module.css'
5
+
6
+ // ----------------------------------------------------------------------
7
+
8
+ const inputClassName = clsx(textareaClassNames.input, classNames.input)
3
9
 
4
10
  // ----------------------------------------------------------------------
5
11
 
6
12
  export const Textarea = MantineTextarea.withProps({
7
- classNames,
13
+ classNames: { ...classNames, input: inputClassName },
8
14
  inputWrapperOrder: ['label', 'input', 'error', 'description'],
9
15
  })
@@ -82,6 +82,7 @@ export const theme: MantineThemeOverride = {
82
82
  lg: '0.625rem',
83
83
  xl: '0.75rem',
84
84
  xxl: '1rem',
85
+ xxxl: '1.5rem',
85
86
  },
86
87
  defaultRadius: 'xl',
87
88
  spacing: {