Skip to content

Commit

Permalink
feat(scaleable): add scaleable props to each component (#531)
Browse files Browse the repository at this point in the history
* feat(scaleable): add scaleable props to each component

* chore(scaleable): update the exported type

* feat: apply scaleable to components

chore: remove with-default

test: improve testcase for scaleable

chore: resolve test warning

ci: upgrade nodejs to latest lts

docs: fix type error in document site

* docs: update documents to be compatible with scaleable

chore: fix build errors

* chore: remove all size-related attributes

docs: improve guide document

* docs: add scaleable documentation

test: update snapshots

chore: remove unused

* feat: add scaleable to grid components

* docs: improve docs

* test: update snapshots

* fix(grid): fix basic component props
  • Loading branch information
unix authored Jun 23, 2021
1 parent 2a45693 commit d4a1e02
Show file tree
Hide file tree
Showing 383 changed files with 16,696 additions and 17,388 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
test:
docker:
- image: circleci/node:12.0
- image: circleci/node:14.15.0

working_directory: ~/repo

Expand All @@ -27,7 +27,7 @@ jobs:

build:
docker:
- image: circleci/node:12.0
- image: circleci/node:14.15.0

working_directory: ~/repo

Expand Down
4 changes: 2 additions & 2 deletions .jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ module.exports = {

moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],

testPathIgnorePatterns: ['/pages/', '/dist/', '/lib/'],
testPathIgnorePatterns: ['/pages/', '/dist/', '/lib/', '/esm/'],

transform: {
'^.+\\.tsx?$': ['babel-jest', { configFile: './tests/.babelrc.js' }],
},

testRegex: '.*\\.test\\.(j|t)sx?$',
// testRegex: 'grid\\/.*\\.test\\.(j|t)sx?$',
// testRegex: 'scaleable\\/.*\\.test\\.(j|t)sx?$',

collectCoverageFrom: [
'components/**/*.{ts,tsx}',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AutoComplete should render correctly 1`] = `
<ForwardRef
className=""
clearable={false}
disableFreeSolo={false}
disableMatchWidth={false}
disabled={false}
initialValue=""
options={Array []}
size="medium"
type="default"
/>
`;
exports[`AutoComplete should render correctly 1`] = `<ScaleableGeistAutoComplete />`;
Loading

0 comments on commit d4a1e02

Please sign in to comment.