Skip to content

release/0.2.0 #41

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

Open
wants to merge 97 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
c2369f8
Added setup files
EranNL Oct 24, 2020
02dbc95
Added test site
EranNL Oct 24, 2020
bb116d4
Merge pull request #1 from machielsdev/feature/setup-react
Oct 24, 2020
84c27e0
Added base style setup
EranNL Oct 24, 2020
c88e695
Merge pull request #2 from machielsdev/feature/setup-style
Oct 24, 2020
705d06b
Added page (and base) style and root imports
EranNL Oct 24, 2020
0b884d1
Merge pull request #4 from machielsdev/feature/page
EranNL Oct 24, 2020
7769999
Added basic buttons
EranNL Oct 26, 2020
3b30804
Uncommented font faces
EranNL Oct 26, 2020
504ab3c
Merge pull request #6 from machielsdev/feature/buttons
EranNL Oct 26, 2020
20b65a6
Added page and panel tests
EranNL Oct 26, 2020
f38435f
Fixed index was isolated module
EranNL Oct 27, 2020
f52c02b
Merge pull request #8 from machielsdev/feature/export-modules
EranNL Oct 27, 2020
3c4ded9
Merge branch 'develop' of https://github.com/machielsdev/ui into feat…
EranNL Oct 27, 2020
70eafb5
Merge pull request #7 from machielsdev/feature/page-tests
EranNL Oct 27, 2020
ac322f1
Added codecov script
EranNL Oct 27, 2020
e035f69
Merge pull request #9 from machielsdev/fix/codecov
EranNL Oct 27, 2020
f473fab
Fixed exports
EranNL Oct 27, 2020
a8cb315
Merge pull request #10 from machielsdev/fix/default-imports
EranNL Oct 27, 2020
584d7b1
Fixed incorrect dev server entry
EranNL Oct 29, 2020
c43998e
WIP inputs
EranNL Oct 29, 2020
bca35c4
Merge pull request #11 from machielsdev/fix/dev-server-entry
EranNL Oct 29, 2020
3e9e058
Merge branch 'develop' of https://github.com/machielsdev/ui into feat…
EranNL Oct 29, 2020
6ca8e7c
WIP inputs
EranNL Oct 30, 2020
3fca551
Added (in))valid colors
EranNL Oct 30, 2020
bda45ae
WIP
EranNL Nov 2, 2020
b5a0a49
WIP
EranNL Nov 2, 2020
1b2b263
Added base cards
EranNL Nov 2, 2020
b9a2c77
Added exports
EranNL Nov 2, 2020
3450852
Added card variants
EranNL Nov 2, 2020
8326ab4
Removed www test files
EranNL Nov 2, 2020
0465254
Merge pull request #13 from machielsdev/feature/cards
EranNL Nov 2, 2020
6d505f5
Merge branch 'develop' of https://github.com/machielsdev/ui into feat…
EranNL Nov 2, 2020
68e5bad
WIP
EranNL Nov 2, 2020
290d860
Added grid system
EranNL Nov 2, 2020
80a303c
Added container
EranNL Nov 2, 2020
9536de2
Merge pull request #14 from machielsdev/feature/grid
EranNL Nov 3, 2020
8decdfb
Merge branch 'develop' of https://github.com/machielsdev/ui into feat…
EranNL Nov 3, 2020
bda39be
Changed some icon names, changed button padding to work better with i…
EranNL Nov 3, 2020
23ed09a
Added class for button text, fixed icon button position
EranNL Nov 3, 2020
3dc7deb
Added icon showcase to test www
EranNL Nov 3, 2020
9d7897a
Removed standard font size in favor of browser font size
EranNL Nov 3, 2020
d5598a7
Added icon size prop
EranNL Nov 3, 2020
1f519a9
Merge pull request #15 from coderan-io/feature/icons
EranNL Nov 3, 2020
ba1679e
Removed cui prefix
EranNL Nov 3, 2020
83361b6
Merge branch 'develop' of github.com:coderan-io/ui into feature/inputs
EranNL Nov 3, 2020
14bc509
Merge pull request #16 from coderan-io/fix/names
EranNL Nov 3, 2020
d571122
Fixed incorrect rendering
EranNL Nov 3, 2020
8c2af2a
WIP
EranNL Nov 3, 2020
158b792
Removed cui prefix
EranNL Nov 3, 2020
36f4315
Added default and outside controllable value
EranNL Nov 4, 2020
e4c3de5
Added rest properties to underlying fields, changed form label class …
EranNL Nov 4, 2020
b7108d2
Added tests
EranNL Nov 4, 2020
fced49f
Merge branch 'develop' of github.com:coderan-io/ui into feature/inputs
EranNL Nov 4, 2020
a306539
Added form message
EranNL Nov 5, 2020
6dda1d5
WIP
EranNL Nov 7, 2020
f170583
Removed console logs
EranNL Nov 7, 2020
b84ef51
Changed input and button padding
EranNL Nov 8, 2020
bed9ee5
Added input tests
EranNL Nov 8, 2020
e14627d
Removed console log
EranNL Nov 8, 2020
2e7383c
Added field context tests
EranNL Nov 8, 2020
d2bd7a8
Merge pull request #17 from coderan-io/feature/inputs
EranNL Nov 8, 2020
78875b7
WIP
EranNL Nov 10, 2020
96b13f5
Added colors in a logic way
EranNL Nov 24, 2020
14717b4
Changed button text to corresponding color
EranNL Nov 25, 2020
02e3c54
Made all buttons block buttons
EranNL Nov 25, 2020
6ba7913
Merge pull request #18 from coderan-io/feature/more-colors
EranNL Nov 25, 2020
0a94e6f
Merge branch 'develop' of github.com:coderan-io/ui into feautre/tags
EranNL Nov 25, 2020
f4ecbb6
Added more tag colors
EranNL Nov 25, 2020
a8317f8
Merge pull request #19 from coderan-io/feautre/tags
EranNL Nov 25, 2020
f558c90
added ci action
EranNL Dec 27, 2020
96877a9
Feature/tooltips (#23)
EranNL Dec 27, 2020
bd0b217
Feature/modals (#24)
EranNL Dec 29, 2020
960912a
Merge branch 'master' of github.com:coderan-io/ui into develop
EranNL Feb 6, 2021
fb88e7a
Fixed exports (#27)
EranNL Feb 27, 2021
6c12e27
Cleaned up dependebc (#28)
EranNL Feb 27, 2021
9a5afa2
Added transpiling css (#29)
EranNL Feb 27, 2021
308ebb7
Added dependabot config
EranNL Mar 1, 2021
221ac67
Fix/remove fonts (#30)
EranNL Mar 1, 2021
3763837
Bump codecov/codecov-action from v1.0.15 to v1.2.1 (#32)
dependabot[bot] Mar 1, 2021
614eae3
Bump framer-motion from 3.7.0 to 3.8.1 (#39)
dependabot[bot] Mar 1, 2021
ab8569d
Bump @types/react from 16.14.4 to 17.0.2 (#40)
dependabot[bot] Mar 1, 2021
ac3de94
Bump css-loader from 5.1.0 to 5.1.1 (#38)
dependabot[bot] Mar 1, 2021
ced713c
Bump actions/setup-node from v2.1.3 to v2.1.5 (#31)
dependabot[bot] Mar 1, 2021
746f756
0.2.0
EranNL Mar 1, 2021
b4bc7e3
Changed panels to panes (#42)
EranNL Mar 1, 2021
55fb7e1
Merge branch 'develop' of github.com:coderan-io/ui into release/0.2.0
EranNL Mar 1, 2021
58c6cc8
Changed panel dir name to pane (#43)
EranNL Mar 1, 2021
a1ec7fe
Merge branch 'develop' of github.com:coderan-io/ui into release/0.2.0
EranNL Mar 1, 2021
d6faee1
Bump @typescript-eslint/parser from 4.15.2 to 4.16.1 (#47)
dependabot[bot] Mar 2, 2021
231baef
Bump framer-motion from 3.8.1 to 3.9.0 (#46)
dependabot[bot] Mar 2, 2021
5408b23
Bump @babel/preset-env from 7.13.8 to 7.13.9 (#45)
dependabot[bot] Mar 2, 2021
f689fe0
Bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.16.1 (#44)
dependabot[bot] Mar 2, 2021
aeaac7c
Bump framer-motion from 3.8.1 to 3.9.1 (#48)
dependabot[bot] Mar 2, 2021
5ec27a0
Feature/020 changelog (#49)
EranNL Mar 2, 2021
645a791
Merge branch 'develop' of github.com:coderan-io/ui into release/0.2.0
EranNL Mar 2, 2021
c110d8f
Simplified mergeRefs import
EranNL May 7, 2021
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
8 changes: 7 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
"node": true,
"es6": true
},
"ignorePatterns": ["dist", "setupTests.ts", "babel.config.js"],
"ignorePatterns": [
"dist",
"setupTests.ts",
"babel.config.js",
"www",
"src/**/__tests__/*"
],
"rules": {
"comma-dangle": "off",
"class-methods-use-this": "off",
Expand Down
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/[email protected].3
uses: actions/[email protected].5
with:
node-version: "15"
- name: Install dependencies
run: npm install
- name: Generate coverage report
run: npm run test-coverage
- name: Upload coverage report
uses: codecov/codecov-action@v1.0.15
uses: codecov/codecov-action@v1.2.1
with:
token: ${{ secrets.CODECOV }}
test-node-12:
Expand All @@ -29,6 +29,6 @@ jobs:
- name: Checkout codd
uses: actions/checkout@v2
- name: Use Node.js v12
uses: actions/[email protected].3
uses: actions/[email protected].5
with:
node-version: "12"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# production
/build
/dist
/scss

# misc
.DS_Store
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Changelog

### 0.2.0

#### Changes
* Changed panel to pane
* Changed css variables to be `default` so they can be overwritten

#### Added
* Added panel container
* Added panel content
* Added icons to dist
* Added (minified) css and scss to dist
* Added forwarding ref to field base
* Added

#### Removed
* Removed Inter font
* Removed unused `generateUuid` function
* Removed standard font size

#### Fixes
* Fixed missing exports

#### Development
* Changed root import to relative import
* Added gulp for copying files and transpiling css when building
25 changes: 0 additions & 25 deletions __tests__/Panel.test.tsx

This file was deleted.

6 changes: 1 addition & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
module.exports = {
plugins: [
'@babel/plugin-proposal-class-properties',
['babel-plugin-root-import', {
"rootPathSuffix": "src/",
"rootPathPrefix": "@/"
}]
'@babel/plugin-proposal-class-properties'
],
presets: [
'@babel/typescript',
Expand Down
44 changes: 44 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
'use strict';

const gulp = require('gulp');
const sass = require('gulp-sass');
sass.compiler = require('sass');
const rename = require('gulp-rename');

const buildCss = async () => {
return await gulp.src('./src/style/index.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./dist/css'));
}

gulp.task('css:build', buildCss);

const copySass = async () => {
return await gulp.src('./src/style/**/*.scss')
.pipe(gulp.dest('./dist/scss'))
}

gulp.task('sass:copy', copySass);

const buildCssMin = async () => {
return await gulp.src('./src/style/index.scss')
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
.pipe(rename('index.min.css'))
.pipe(gulp.dest('./dist/css'));
}

gulp.task('css:build:min', buildCssMin);

const copyIcons = async () => {
return await gulp.src('./src/icons/*')
.pipe(gulp.dest('./dist/icons'))
}

gulp.task('icons:copy', copyIcons);

gulp.task('default', gulp.series(
'css:build',
'css:build:min',
'sass:copy',
'icons:copy'
));
5 changes: 1 addition & 4 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"setupFilesAfterEnv": ["./setupTests.ts"],
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
}
"setupFilesAfterEnv": ["./setupTests.ts"]
}
Loading