Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.12.x #175

Merged
merged 4 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import '@mantine/carousel/styles.css';
import { themes } from '@smile/react-front-kit-shared';
import '@smile/react-front-kit-shared/style.css';
import '@smile/react-front-kit/style.css';
import '@smile/react-front-kit-dates/style.css';
import '@smile/react-front-kit-dropzone/style.css';
import '@smile/react-front-kit-table/style.css';

Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

React Front Kit is a component library based on [Mantine](https://mantine.dev/) that offers a higher level of components to help you build consistent user interfaces faster.

## Documentation

You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc

## Storybook

You can check the components in Storybook: https://smile-sa.github.io/react-front-kit
Expand All @@ -11,15 +15,17 @@ You can check the components in Storybook: https://smile-sa.github.io/react-fron
React front kit is split into multiple packages:

- [@smile/react-front-kit-shared](./packages/react-front-kit-shared/README.md): Shared components (required by other packages)
- [@smile/react-front-kit](./packages/react-front-kit/README.md): Base components
- [@smile/react-front-kit-table](./packages/react-front-table/README.md): Table component
- [@smile/react-front-kit](./packages/react-front-kit/README.md): Core components library containing all major components.
- [@smile/react-front-kit-dates](./packages/react-front-kit-dates/README.md): Date related components.
- [@smile/react-front-kit-dropzone](./packages/react-front-kit-dropzone/README.md): File upload components.
- [@smile/react-front-kit-table](./packages/react-front-table/README.md): Table related components.

### Installation

For a basic installation, ensure you use React 18 or later and then run:

```bash
npm i @smile/react-front-kit @emotion/react @mantine/core @mantine/hooks @mantine/styles @phosphor-icons/react
npm i @smile/react-front-kit @mantine/core @mantine/hooks @phosphor-icons/react
```

See each package README file for installation.
769 changes: 258 additions & 511 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"changeset": "changeset",
"version": "turbo run build lint test && changeset version",
"publish": "turbo run build lint test && changeset publish",
"prestorybook": "npm run build",
"storybook": "storybook dev -p 6006",
"storybook:no-open": "storybook dev --no-open -p 6006",
"prebuild-storybook": "npm run build",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-front-kit-dates/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @smile/react-front-kit-dates

## 0.12.0

### Patch Changes

- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]:
- @smile/react-front-kit@0.12.0
- @smile/react-front-kit-shared@0.12.0

## 0.11.0

### Patch Changes
Expand Down
19 changes: 16 additions & 3 deletions packages/react-front-kit-dates/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
# React Front Kit dates

Date/Calendar components.
Date related components.

## Documentation

You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc

## Prerequisite

You must have React 18 or later installed on your project.

## Installation

Install `@smile/react-front-kit-dates` and peer dependencies with:
You must install `@smile/react-front-kit` first and the install `@smile/react-front-kit-dates` and peer dependencies with:

```bash
npm i @smile/react-front-kit-dates @emotion/react @mantine/core @mantine/dates @mantine/hooks @phosphor-icons/react
npm i @smile/react-front-kit-dates @mantine/dates
```

## Styles

Import the styles in your app with:

```js
import '@mantine/dates/styles.css';
import '@smile/react-front-kit-dates/style.css';
```

## License
Expand Down
7 changes: 3 additions & 4 deletions packages/react-front-kit-dates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smile/react-front-kit-dates",
"version": "0.11.0",
"version": "0.12.0",
"description": "Date and Calendar React component library based on mantine",
"license": "LGPL-3.0",
"homepage": "https://github.com/Smile-SA/react-front-kit",
Expand Down Expand Up @@ -70,8 +70,8 @@
"prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs"
},
"dependencies": {
"@smile/react-front-kit": "0.11.0",
"@smile/react-front-kit-shared": "0.11.0"
"@smile/react-front-kit": "0.12.0",
"@smile/react-front-kit-shared": "0.12.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.20",
Expand All @@ -95,7 +95,6 @@
"vite-plugin-dts": "^3.7.2"
},
"peerDependencies": {
"@emotion/react": ">=11",
"@mantine/core": "7",
"@mantine/dates": "7",
"@mantine/hooks": "7",
Expand Down
1 change: 0 additions & 1 deletion packages/react-front-kit-dates/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default defineConfig({
},
rollupOptions: {
external: [
'@emotion/react',
'@mantine/carousel',
'@mantine/core',
'@mantine/dates',
Expand Down
8 changes: 8 additions & 0 deletions packages/react-front-kit-dropzone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @smile/react-front-kit-dropzone

## 0.12.0

### Patch Changes

- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]:
- @smile/react-front-kit@0.12.0
- @smile/react-front-kit-shared@0.12.0

## 0.11.0

### Patch Changes
Expand Down
19 changes: 16 additions & 3 deletions packages/react-front-kit-dropzone/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
# React Front Kit dropzone

Dropzone component.
File upload components.

## Documentation

You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc

## Prerequisite

You must have React 18 or later installed on your project.

## Installation

Install `@smile/react-front-kit-dropzone` and peer dependencies with:
You must install `@smile/react-front-kit` first and then install `@smile/react-front-kit-dropzone` and peer dependencies with:

```bash
npm i @smile/react-front-kit-dropzone @emotion/react @mantine/core @mantine/hooks @mantine/styles @mantine/dropzone @phosphor-icons/react
npm i @smile/react-front-kit-dropzone @mantine/dropzone
```

## Styles

Import the styles in your app with:

```js
import '@mantine/dropzone/styles.css';
import '@smile/react-front-kit-dropzone/style.css';
```

## License
Expand Down
7 changes: 3 additions & 4 deletions packages/react-front-kit-dropzone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smile/react-front-kit-dropzone",
"version": "0.11.0",
"version": "0.12.0",
"description": "Dropzone React component library based on mantine",
"license": "LGPL-3.0",
"homepage": "https://github.com/Smile-SA/react-front-kit",
Expand Down Expand Up @@ -54,8 +54,8 @@
"prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs"
},
"dependencies": {
"@smile/react-front-kit": "0.11.0",
"@smile/react-front-kit-shared": "0.11.0"
"@smile/react-front-kit": "0.12.0",
"@smile/react-front-kit-shared": "0.12.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.20",
Expand All @@ -79,7 +79,6 @@
"vite-plugin-dts": "^3.7.2"
},
"peerDependencies": {
"@emotion/react": ">=11",
"@mantine/core": "7",
"@mantine/dropzone": "7",
"@mantine/hooks": "7",
Expand Down
1 change: 0 additions & 1 deletion packages/react-front-kit-dropzone/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default defineConfig({
},
rollupOptions: {
external: [
'@emotion/react',
'@mantine/carousel',
'@mantine/core',
'@mantine/dates',
Expand Down
2 changes: 2 additions & 0 deletions packages/react-front-kit-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @smile/react-front-kit-shared

## 0.12.0

## 0.11.0

## 0.10.0
Expand Down
15 changes: 14 additions & 1 deletion packages/react-front-kit-shared/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Shared components and functions.

## Documentation

You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc

## Prerequisite

You must have React 18 or later installed on your project.
Expand All @@ -11,7 +15,16 @@ You must have React 18 or later installed on your project.
Install `@smile/react-front-kit-shared` and peer dependencies with:

```bash
npm i @smile/react-front-kit-shared @emotion/react @mantine/core @mantine/hooks @phosphor-icons/react
npm i @smile/react-front-kit-shared @mantine/core @mantine/hooks @phosphor-icons/react
```

## Styles

Import the styles in your app with:

```js
import '@mantine/core/styles.css';
import '@smile/react-front-kit-shared/style.css';
```

## License
Expand Down
3 changes: 1 addition & 2 deletions packages/react-front-kit-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smile/react-front-kit-shared",
"version": "0.11.0",
"version": "0.12.0",
"description": "Shared elements for react-front-kit component library based on mantine",
"license": "LGPL-3.0",
"homepage": "https://github.com/Smile-SA/react-front-kit",
Expand Down Expand Up @@ -102,7 +102,6 @@
"vite-plugin-dts": "^3.7.2"
},
"peerDependencies": {
"@emotion/react": ">=11",
"@mantine/core": "7",
"@mantine/hooks": "7",
"@phosphor-icons/react": ">=2",
Expand Down
1 change: 0 additions & 1 deletion packages/react-front-kit-shared/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default defineConfig({
},
rollupOptions: {
external: [
'@emotion/react',
'@mantine/carousel',
'@mantine/core',
'@mantine/dates',
Expand Down
8 changes: 8 additions & 0 deletions packages/react-front-kit-table/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @smile/react-front-kit-table

## 0.12.0

### Patch Changes

- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]:
- @smile/react-front-kit@0.12.0
- @smile/react-front-kit-shared@0.12.0

## 0.11.0

### Minor Changes
Expand Down
20 changes: 17 additions & 3 deletions packages/react-front-kit-table/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
# React Front Kit table

Table component.
Table related components.

## Documentation

You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc

## Prerequisite

You must have React 18 or later installed on your project.

## Installation

Install `@smile/react-front-kit-table` and peer dependencies with:
You must install `@smile/react-front-kit` first and then install `@smile/react-front-kit-table` and peer dependencies with:

```bash
npm i @smile/react-front-kit-table @emotion/react @mantine/core @mantine/dates @mantine/hooks @mantine/styles @phosphor-icons/react @tabler/icons-react dayjs mantine-react-table
npm i @smile/react-front-kit-table @mantine/dates dayjs mantine-react-table@beta @tabler/icons-react
```

## Styles

Import the styles in your app with:

```js
import '@mantine/dates/styles.css';
import 'mantine-react-table/styles.css';
import '@smile/react-front-kit-table/style.css';
```

## License
Expand Down
7 changes: 3 additions & 4 deletions packages/react-front-kit-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smile/react-front-kit-table",
"version": "0.11.0",
"version": "0.12.0",
"description": "Table React component library based on mantine",
"license": "LGPL-3.0",
"homepage": "https://github.com/Smile-SA/react-front-kit",
Expand Down Expand Up @@ -69,8 +69,8 @@
"prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs"
},
"dependencies": {
"@smile/react-front-kit": "0.11.0",
"@smile/react-front-kit-shared": "0.11.0"
"@smile/react-front-kit": "0.12.0",
"@smile/react-front-kit-shared": "0.12.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.20",
Expand All @@ -94,7 +94,6 @@
"vite-plugin-dts": "^3.7.2"
},
"peerDependencies": {
"@emotion/react": ">=11",
"@mantine/core": "7",
"@mantine/dates": "7",
"@mantine/hooks": "7",
Expand Down
1 change: 0 additions & 1 deletion packages/react-front-kit-table/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default defineConfig({
},
rollupOptions: {
external: [
'@emotion/react',
'@mantine/carousel',
'@mantine/core',
'@mantine/dates',
Expand Down
13 changes: 13 additions & 0 deletions packages/react-front-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @smile/react-front-kit

## 0.12.0

### Minor Changes

- [#174](https://github.com/Smile-SA/react-front-kit/pull/174) [`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16) Thanks [@vapersmile](https://github.com/vapersmile)! - Add AddressAutocompleteFields

- [#172](https://github.com/Smile-SA/react-front-kit/pull/172) [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f) Thanks [@vapersmile](https://github.com/vapersmile)! - add component AddressGouvAutoCompleteField

### Patch Changes

- Updated dependencies []:
- @smile/react-front-kit-shared@0.12.0

## 0.11.0

### Minor Changes
Expand Down
Loading
Loading