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

feat: Add Bootstrap 4 Theme support #1938

Merged
merged 63 commits into from
Aug 4, 2020
Merged
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f4756f1
new(theme): initial setup for bootstrap-4 using react-bootstrap
anikethsaha Jun 15, 2020
2fc2f27
create bootstrap-4 textfield widget
Xtremilicious Jun 16, 2020
6d89f36
add * for required fields
Xtremilicious Jun 16, 2020
1220fd8
chore: fixed formatting issue
anikethsaha Jun 16, 2020
1b216f8
tests: added tests for textWidget
anikethsaha Jun 16, 2020
5e3d410
create Radio Widget
Xtremilicious Jun 17, 2020
7f9b5c6
minor fix
Xtremilicious Jun 17, 2020
8d3d162
removed margin-bottom to fix description/helpertext margin
Xtremilicious Jun 17, 2020
05049c9
add bootstrap-4 updown widget
Xtremilicious Jun 18, 2020
831cdf7
Update packages/bootstrap-4/src/RadioWidget/RadioWidget.tsx
Xtremilicious Jun 18, 2020
1960f08
Update RadioWidget.tsx
Xtremilicious Jun 18, 2020
b7acde0
Update packages/bootstrap-4/src/RadioWidget/RadioWidget.tsx
Xtremilicious Jun 18, 2020
d000268
Update packages/bootstrap-4/src/RadioWidget/RadioWidget.tsx
Xtremilicious Jun 18, 2020
4066d17
add bootstrap-4 URL widget
Xtremilicious Jun 19, 2020
e1887e2
add email, password, select. modified text, field template for fixes …
Xtremilicious Jun 22, 2020
f10e70e
add errorlist component, modified others for required attribute support
Xtremilicious Jun 24, 2020
907ba47
code fixes
Xtremilicious Jun 26, 2020
04ea422
chore: resolve conflicts
anikethsaha Jun 25, 2020
5b1c3df
feat(bootstrap-4): added descriptionField
anikethsaha Jun 16, 2020
87eedbf
chore: removed style tag and using classname for styling
anikethsaha Jun 17, 2020
a696905
update: changed typedef and using fieldProps
anikethsaha Jun 17, 2020
324fb86
chore: fix tests
anikethsaha Jun 17, 2020
5244da4
types: descriptionField extending from FieldProps
anikethsaha Jun 18, 2020
ad72f02
tests: updated tests and typinh
anikethsaha Jun 23, 2020
afd39ef
feat(bootstrap-4): titleField Component
anikethsaha Jun 18, 2020
b56720e
test: updated test and types for titleField
anikethsaha Jun 23, 2020
0705ff0
chore: fixed merge conflicts
anikethsaha Jul 8, 2020
0591018
chore(bootstrap-4): removed fontawesome icons
anikethsaha Jul 2, 2020
ce69632
feat(bootstrap-4): checboxesWidget
anikethsaha Jul 4, 2020
586486b
style(bootstrap-4): fixed inconsistency of the buttons (fixes #52)
anikethsaha Jul 6, 2020
2d0699c
chore: resolved merge conflict
anikethsaha Jun 25, 2020
93d6f9b
chore: upate the tests and added mock handlers
anikethsaha Jun 23, 2020
c662767
test(bootstrap-4): added tests for DateWidget
anikethsaha Jun 24, 2020
a856e0b
test(bootstrap-4): added tests for DateTimeWidget
anikethsaha Jun 24, 2020
4b5e9d1
chore: fixed tests and components
anikethsaha Jun 25, 2020
1b15145
fix: temporary playground fix
anikethsaha Jun 30, 2020
831b195
feat(bootstrap-4): added textAreaWidget
anikethsaha Jun 19, 2020
203bff9
chore: tests for testAreaWidget
anikethsaha Jun 29, 2020
f94159f
chore: added margin left
anikethsaha Jun 29, 2020
db4aa49
feat(bootstrap-4): checkboxWidget [WIP]
anikethsaha Jun 23, 2020
68c0cd1
test: added tests for checkboxWidget
anikethsaha Jun 29, 2020
f5cba5e
chore: added suggestions and todos
anikethsaha Jul 21, 2020
23005ce
update README.md
Xtremilicious Jul 21, 2020
72a5144
chore: uncomment temp changes
anikethsaha Jul 21, 2020
06b7c65
Merge pull request #81 from MLH-Fellowship/react-bootstrap-4-clone-re…
anikethsaha Jul 22, 2020
ea75552
chore: deleted extra files
anikethsaha Jul 22, 2020
11a4136
minor fixes
Xtremilicious Jul 22, 2020
6a129d2
chore: suggestion applied
anikethsaha Jul 22, 2020
7cf0163
Fix ObjectFieldTemplate
Xtremilicious Jul 23, 2020
2fb95ec
add placeholder to select widget
Xtremilicious Jul 23, 2020
36467c5
test: updated tests for placeholder in select widget
anikethsaha Jul 23, 2020
fe9f106
Merge branch 'react-bootstrap-4-final' of https://github.com/MLH-Fell…
epicfaace Jul 26, 2020
10917a6
fix CI build
epicfaace Jul 26, 2020
a49a95d
update deps
epicfaace Jul 26, 2020
202a242
Merge pull request #96 from rjsf-team/MLH-Fellowship-react-bootstrap-…
anikethsaha Jul 26, 2020
c62a3f6
suggestion fixes pt.1
Xtremilicious Jul 27, 2020
b228117
suggested changes fix pt.2
Xtremilicious Jul 27, 2020
6439066
fix suggested changes pt.3
Xtremilicious Jul 27, 2020
5c94cff
fix: fixed the inconsistency in the radio and select widget
anikethsaha Jul 28, 2020
5e18566
snapshot fixes
Xtremilicious Jul 30, 2020
1cf23dc
snapshot fixes pt.2
Xtremilicious Jul 30, 2020
b430544
Merge pull request #101 from rjsf-team/master
Xtremilicious Jul 30, 2020
62170c5
chore: small changes and test update
anikethsaha Aug 4, 2020
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
126 changes: 0 additions & 126 deletions packages/antd/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/bootstrap-4/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.rts2_**
84 changes: 84 additions & 0 deletions packages/bootstrap-4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!-- PROJECT LOGO -->
<br />
<p align="center">
<a href="https://github.com/cybertec-postgresql/rjsf-material-ui">
Xtremilicious marked this conversation as resolved.
Show resolved Hide resolved
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Bootstrap_logo.svg/800px-Bootstrap_logo.svg.png" alt="Logo" width="140" height="120">
</a>

<h3 align="center">@rjsf/bootstrap-4</h3>

<p align="center">
Bootstrap-4 theme, fields and widgets for <a href="https://github.com/mozilla-services/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
<br />
<a href="https://react-jsonschema-form.readthedocs.io/en/latest/"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="#">View Playground</a>
·
<a href="#">Report Bug</a>
·
<a href="#">Request Feature</a>
</p>
</p>

<!-- ABOUT THE PROJECT -->

## About The Project


Exports `bootstrap-4` theme, fields and widgets for `react-jsonschema-form`.

### Built With

- [react-jsonschema-form](https://github.com/mozilla-services/react-jsonschema-form/)
- [Bootstrap-4](https://getbootstrap.com/docs/4.0/)
- [Typescript](https://www.typescriptlang.org/)

<!-- GETTING STARTED -->

## Getting Started

### Prerequisites

- `react-bootstrap >= 1.0.1`
- `@rjsf/core >= 2.2.0`

```bash
yarn add react-bootstrap @rjsf/core
```

### Installation

```bash
yarn add @rjsf/bootstrap-4
```

## Usage

```js
import Form from '@rjsf/bootstrap-4';
```

or

```js
import { withTheme } from '@rjsf/core';
import { Theme as Bootstrap4Theme } from '@rjsf/bootstrap-4';

const Form = withTheme(Bootstrap4Theme);
```

<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->

[build-shield]: https://img.shields.io/circleci/build/github/cybertec-postgresql/rjsf-material-ui.svg?style=flat-square&token=a58b0890f96bff2b53eef0f4d9c9e5d16eec2200
[build-url]: https://circleci.com/gh/cybertec-postgresql/rjsf-material-ui
Xtremilicious marked this conversation as resolved.
Show resolved Hide resolved
[contributors-shield]: https://img.shields.io/badge/contributors-1-orange.svg?style=flat-square
[contributors-url]: https://github.com/cybertec-postgresql/rjsf-material-ui/graphs/contributors
[license-shield]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[license-url]: https://choosealicense.com/licenses/mit
[npm-shield]: https://img.shields.io/npm/v/rjsf-material-ui/latest.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/rjsf-material-ui
[npm-dl-shield]: https://img.shields.io/npm/dm/rjsf-material-ui.svg?style=flat-square
[npm-dl-url]: https://www.npmjs.com/package/rjsf-material-ui
[product-screenshot]: https://raw.githubusercontent.com/cybertec-postgresql/rjsf-material-ui/master/screenshot.png
Loading