ff-ds-ui 0.0.3 → 0.0.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/README.md +12 -0
- package/package.json +1 -1
- package/src/components/Avatar/Avatar.tsx +2 -2
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Button/__stories__/Button.stories.tsx +1 -1
- package/src/components/Card/Card.tsx +1 -1
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Divider/Divider.tsx +1 -1
- package/src/components/Divider/__stories__/Divider.stories.tsx +2 -2
- package/src/components/Flex/Flex.tsx +1 -1
- package/src/components/Label/Label.tsx +1 -1
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/Loader/Loader.tsx +1 -1
- package/src/components/Radio/Radio.tsx +1 -1
- package/src/components/Skeleton/Skeleton.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Text/Text.tsx +1 -1
- package/src/components/Text/_stories_/Text.stories.tsx +1 -1
- package/src/components/TextArea/TextArea.tsx +2 -3
- package/src/components/TextInput/TextInput.tsx +2 -2
- package/src/components/User/User.tsx +1 -1
- package/src/index.ts +1 -1
- package/tsconfig.app.json +1 -4
- package/tsconfig.build.json +1 -5
- package/vite.config.ts +0 -5
package/README.md
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
1
|
# FF-DS-UI lib
|
|
2
|
+
|
|
3
|
+
## Publish to Npm
|
|
4
|
+
|
|
5
|
+
### 1 - version up => package.json, json-lock versions
|
|
6
|
+
|
|
7
|
+
### 2 - tag => git tag v.0.0.0
|
|
8
|
+
|
|
9
|
+
### 3 - push tag => git push origin --tags
|
|
10
|
+
|
|
11
|
+
### 4 - run build => npm run build
|
|
12
|
+
|
|
13
|
+
### 5 - push packets => npm publish
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react'
|
|
2
2
|
import './Avatar.scss'
|
|
3
|
-
import { bemBlock } from '
|
|
4
|
-
import { Text } from '
|
|
3
|
+
import { bemBlock } from '../../utils'
|
|
4
|
+
import { Text } from '../../components/Text'
|
|
5
5
|
import { getAvatarCamelCaseText } from './utils'
|
|
6
6
|
|
|
7
7
|
export interface AvatarProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import './Button.scss'
|
|
3
|
-
import { bemBlock } from '
|
|
3
|
+
import { bemBlock } from '../../utils'
|
|
4
4
|
import type { BUTTON_BORDER, BUTTON_SIZES, BUTTON_VARIANTS, BUTTON_WIDTH } from './const'
|
|
5
5
|
|
|
6
6
|
export type ButtonBorder = (typeof BUTTON_BORDER)[number]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
2
|
import { Divider } from '../Divider'
|
|
3
|
-
import { Flex } from '
|
|
4
|
-
import { Avatar } from '
|
|
3
|
+
import { Flex } from '../../'
|
|
4
|
+
import { Avatar } from '../../Avatar'
|
|
5
5
|
|
|
6
6
|
const meta = {
|
|
7
7
|
title: 'Components/Divider',
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import './TextArea.scss'
|
|
3
|
-
import { bemBlock } from '
|
|
4
|
-
import { Text } from '../
|
|
5
|
-
import { Flex } from '../Flex'
|
|
3
|
+
import { bemBlock } from '../../utils'
|
|
4
|
+
import { Text, Flex } from '../'
|
|
6
5
|
|
|
7
6
|
interface TextAreaProps extends React.HTMLAttributes<HTMLTextAreaElement> {
|
|
8
7
|
placeholder?: string
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import './TextInput.scss'
|
|
3
|
-
import { bemBlock } from '
|
|
4
|
-
import { Flex } from '
|
|
3
|
+
import { bemBlock } from '../../utils'
|
|
4
|
+
import { Flex } from '../'
|
|
5
5
|
import { Text } from '../Text/Text'
|
|
6
6
|
|
|
7
7
|
interface TextInputProps extends React.HTMLAttributes<HTMLInputElement> {
|
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './components'
|
|
1
|
+
export * from './components'
|
package/tsconfig.app.json
CHANGED
package/tsconfig.build.json
CHANGED