@kvell-group/ui 1.16.24 → 1.17.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.
- package/package.json +1 -1
- package/src/components/Button/Button.stories.tsx +1 -1
- package/src/components/CardLogoByPan/CardLogoByPan.stories.tsx +1 -1
- package/src/components/Inputs/CardExpireDateInput/CardExpireDateInput.stories.tsx +1 -1
- package/src/components/Inputs/CardInput/CardInput.stories.tsx +1 -1
- package/src/components/Inputs/Checkbox/Checkbox.stories.tsx +1 -1
- package/src/components/Inputs/CvvInput/CvvInput.stories.tsx +1 -1
- package/src/components/Inputs/Input/Input.module.css +1 -0
- package/src/components/Inputs/Input/Input.stories.tsx +1 -1
- package/src/components/Inputs/MaskedInput/MaskedInput.stories.tsx +1 -1
- package/src/components/Inputs/PasswordInput/PasswordInput.stories.tsx +1 -1
- package/src/components/Inputs/Switch/Switch.stories.tsx +1 -1
- package/src/components/KvellUiProvider/KvellUiProvider.tsx +0 -3
- package/src/components/Loader/Loader.stories.tsx +1 -1
- package/src/components/Modal/Modal.stories.tsx +1 -1
- package/src/components/Text/Text.stories.tsx +1 -1
- package/src/index.ts +9 -10
- /package/src/{core-components → components/@core}/Divider.tsx +0 -0
- /package/src/{components/theme.ts → theme/index.ts} +0 -0
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
|
4
4
|
|
|
5
5
|
import { RiArrowLeftLine as ArrowLeftSVG, RiLockLine as LockSVG } from '@remixicon/react'
|
|
6
6
|
|
|
7
|
-
import { theme } from '@/
|
|
7
|
+
import { theme } from '@/theme'
|
|
8
8
|
import { Button } from '@/components/Button'
|
|
9
9
|
import { Text } from '@/components/Text/Text'
|
|
10
10
|
import {
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
|
|
7
7
|
import { CardLogoByPan as CardLogoByPanComponent } from '@/components/CardLogoByPan/CardLogoByPan'
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { CardExpireDateInput as CardExpireDateInputComponent } from '@/components/Inputs/CardExpireDateInput'
|
|
7
7
|
|
|
8
8
|
// ----------------------------------------------------------------------
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
|
|
7
7
|
import { CardInput as CardInputComponent } from '@/components/Inputs/CardInput'
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
2
|
|
|
3
|
-
import { theme } from '@/
|
|
3
|
+
import { theme } from '@/theme'
|
|
4
4
|
import { Checkbox as CheckboxComponent } from '@/components/Inputs/Checkbox'
|
|
5
5
|
import { Text } from '@/components/Text'
|
|
6
6
|
import { Anchor } from '@mantine/core'
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { CvvInput as CvvInputComponent } from '@/components/Inputs/CvvInput'
|
|
7
7
|
|
|
8
8
|
// ----------------------------------------------------------------------
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { Input as InputComponent } from '@/components/Inputs/Input/Input'
|
|
7
7
|
|
|
8
8
|
// ----------------------------------------------------------------------
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { MaskedInput as MaskedInputComponent } from '@/components/Inputs/MaskedInput'
|
|
7
7
|
|
|
8
8
|
import { PHONE_MASK } from '@/constants/masks'
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { PasswordInput as PasswordInputComponent } from '@/components/Inputs/PasswordInput/PasswordInput'
|
|
7
7
|
|
|
8
8
|
// ----------------------------------------------------------------------
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { Switch } from '@/components/Inputs/Switch'
|
|
7
7
|
|
|
8
8
|
// ----------------------------------------------------------------------
|
|
@@ -2,9 +2,6 @@ import { MantineProvider as MantineProviderCore } from '@mantine/core'
|
|
|
2
2
|
import type { MantineProviderProps } from '@mantine/core'
|
|
3
3
|
|
|
4
4
|
import '@mantine/core/styles.layer.css'
|
|
5
|
-
import '@mantine/core/styles/baseline.layer.css'
|
|
6
|
-
import '@mantine/core/styles/default-css-variables.layer.css'
|
|
7
|
-
import '@mantine/core/styles/global.layer.css'
|
|
8
5
|
import './KvellUiProvider.module.css'
|
|
9
6
|
|
|
10
7
|
// ----------------------------------------------------------------------
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { Loader } from '@/components/Loader'
|
|
7
7
|
import { LoaderSizes } from '@/components/Loader/constants'
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
import { Text } from '@/components/Text'
|
|
5
5
|
|
|
6
|
-
import { theme } from '@/
|
|
6
|
+
import { theme } from '@/theme'
|
|
7
7
|
import { Modal } from '@/components/Modal'
|
|
8
8
|
import { Button } from '@/components/Button'
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|
|
2
2
|
|
|
3
3
|
import { KvellUiProvider } from '@/components/KvellUiProvider'
|
|
4
4
|
|
|
5
|
-
import { theme } from '@/
|
|
5
|
+
import { theme } from '@/theme'
|
|
6
6
|
import { Text } from '@/components/Text/Text'
|
|
7
7
|
import { FontVariants } from '@/constants/font-variants'
|
|
8
8
|
|
package/src/index.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
// components
|
|
2
|
-
export { Button } from './components/Button'
|
|
3
|
-
export { CardLogoByPan } from './components/CardLogoByPan'
|
|
4
|
-
|
|
5
1
|
// constants
|
|
6
|
-
export { theme } from './
|
|
2
|
+
export { theme } from './theme'
|
|
7
3
|
|
|
8
4
|
//inputs
|
|
9
5
|
export { Input } from './components/Inputs/Input'
|
|
@@ -14,14 +10,17 @@ export { CvvInput } from './components/Inputs/CvvInput'
|
|
|
14
10
|
export { Checkbox } from './components/Inputs/Checkbox'
|
|
15
11
|
export { Switch } from './components/Inputs/Switch'
|
|
16
12
|
|
|
13
|
+
//providers
|
|
14
|
+
export { KvellUiProvider } from './components/KvellUiProvider'
|
|
15
|
+
|
|
16
|
+
//components
|
|
17
|
+
export { Button } from './components/Button'
|
|
18
|
+
export { CardLogoByPan } from './components/CardLogoByPan'
|
|
17
19
|
export { Loader } from './components/Loader'
|
|
18
20
|
export { Modal } from './components/Modal'
|
|
19
21
|
export { Text } from './components/Text'
|
|
20
22
|
|
|
21
|
-
//
|
|
22
|
-
export { KvellUiProvider } from './components/KvellUiProvider'
|
|
23
|
+
// core-components ------------------------------------------------------
|
|
23
24
|
|
|
24
|
-
//core-components
|
|
25
|
-
// ----------------------------------------------------------------------
|
|
26
25
|
//Miscellaneous
|
|
27
|
-
export { Divider } from './core
|
|
26
|
+
export { Divider } from './components/@core/Divider'
|
|
File without changes
|
|
File without changes
|