Commit Graph

914 Commits

Author SHA1 Message Date
witt
bdfc0fec71 fix(auto-complete): hide shadow when no content (#547) 2021-08-13 17:06:27 +08:00
unix
ad8f373c71 chore: release v2.2.0-rc.3 2021-08-13 17:06:27 +08:00
witt
c14909478a fix(auto-complete): fix size of loading icon (#546) 2021-08-13 17:06:27 +08:00
unix
745876ce5f chore: release v2.2.0-rc.2 2021-08-13 17:06:27 +08:00
witt
77c92daf9c feat(auto-complete): add forwardRef for input element (#542)
* feat(auto-complete): add forwardRef for input element

* test(auto-complete): add testcase to ensure ref is available

* docs(auto-complete): append props for ref
2021-08-13 17:06:27 +08:00
unix
888ad5d3ef chore: release v2.2.0-rc.1 2021-08-13 17:06:27 +08:00
witt
a3fb0566ff feat: useKeyboard hooks (#541)
* feat(keyboard): create keyboard hooks

* feat(usekeyboard): redesign event handler to match keyboard events from browser

\

* test(usekeyboard): add testcase

* docs(usekeyboard): create new hooks document
2021-08-13 17:06:27 +08:00
witt
d6fcafa954 fix: upgrade to be compatible with React-17's event system (#533) 2021-08-13 17:06:27 +08:00
witt
1a3aef9df0 fix(modal): disable backdrop even if actions missing (#532) 2021-08-13 17:06:27 +08:00
unix
f8a115160a chore: release v2.2.0-rc.0 2021-08-13 17:06:26 +08:00
Florian Levis
384a4a050f chore(deps): update styled-jsx to ^3.3.1 (#520)
* chore(deps): update styled-jsx to ^3.3.1

update styled-jsx to ^3.3.1 to allow compatiblity with react@^17

* fix(modules): fix 695-issue to compatible with React 17

* docs: fix module error caused by styled-jsx update

Co-authored-by: unix <unix.bio@gmail.com>
2021-08-13 17:06:26 +08:00
Deepankar
5c64799ef7 feat(loading): apply width & height props (#500)
* feat(loading): apply width & height props

* test(loading): test case added & updating snapshots

* fix(loading): add a string type for size prop

test(loading): update test case & snapshots

* feat(loading): support custom the ratio of spaces

* docs(loading): append size and spaceRatio

test(loading): update snapshots

Co-authored-by: unix <unix.bio@gmail.com>
2021-08-13 17:06:26 +08:00
Deepankar
a0784a6139 feat(slider): add option to hide slider value (#494)
* feat(slider): hideValue prop added

* test(slider): test added for hideValue prop

docs(slider): add hideValue prop

docs(slider): add hideValue prop for cn docs

feat(slider): ensure the dot stays round when no content

test(slider): update snapshots
2021-08-13 17:06:26 +08:00
Bowen
89e82c88ed chore(showcase): add Regex-Vis (#596) 2021-08-09 16:47:11 +08:00
Andrew
53192111a8 Fix typos (#595)
* fix(typo):  customise -> customize (en-us)

* fix(typo): Recat -> React

* fix(typo): porject -> project

Co-authored-by: spectralapps <56676505+spectralapps@users.noreply.github.com>
2021-08-05 18:36:42 +03:00
Harsh Karande
74e76adbcf fix: remove ms-reveal for input (#553)
* fix: remove ms-reveal for input

* fix(lint): no-unused-vars for next line
2021-06-04 16:43:35 +08:00
dependabot[bot]
22261e2b4c chore(deps): bump ws from 7.4.2 to 7.4.6 (#550)
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-30 11:06:30 +03:00
Deepankar
41f2f5192c fix: deprecated pseudo element selector (#549)
* fix: deprecated pseudo element selector

* test(css-baseline): update tests
2021-05-30 01:28:13 +08:00
l1shen
af111f469f docs: fix display & badge spacing (#548) 2021-05-28 17:18:35 +08:00
Max Prilutskiy
de483cdfbd object-fit: cover in Avatar component (#544)
* `object-fit: cover` in Avatar component

* fix: added `object-fit: cover` to Avatar component

* test: updated Avatar test snapshot

* test: update User component test snapshot
2021-05-26 10:33:08 +08:00
dependabot[bot]
e95ef4a4bc chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#538)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 20:24:09 +03:00
dependabot[bot]
7be62ca909 chore(deps): bump lodash from 4.17.20 to 4.17.21 (#537)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 14:40:16 +03:00
dependabot[bot]
97f44c8c74 chore(deps): bump ssri from 6.0.1 to 6.0.2 (#529)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 21:15:15 +03:00
witt
6d196628db build: ignore the example folder when build document site (#525) 2021-04-29 11:37:24 +08:00
Hiroki.Ihoriya
09e1342dd5 docs(display): fix image props (#521) 2021-04-22 12:03:23 +08:00
Bowen
c3774f2840 fix: fix the style of button-dropdown (#518)
* fix(btn-dropdown): fix the style

* test(button-dropdown): update snapshots
2021-04-21 10:40:14 +08:00
Deepankar
95fc6ef59b chore(config): update issue-template spectrum link with github discussions (#513) 2021-04-12 12:36:01 +08:00
witt
be7c92ebb7 docs: add secret repo as an example (#511) 2021-04-11 21:01:37 +03:00
unix
56c966eb9b chore: release v2.1.5 v2.1.5 2021-04-11 22:17:55 +08:00
izayl
66b0c891e8 fix: fieldset title/subtitle use block element (#510)
* fix: fieldset title/subtitle use block element

* test: update test-snapshot
2021-04-11 22:16:55 +08:00
Deepankar
18c1afbc14 fix(typo): Dodcument -> Do Document (#503) 2021-04-02 21:49:56 +08:00
Deepankar
cf0cc1deb2 chore(docs): update spectrum link with github discussions (#504) 2021-04-02 13:20:59 +03:00
unix
18d08f8acc chore: release v2.1.4 v2.1.4 2021-03-31 20:33:46 +08:00
witt
ad09a72742 fix(auto-complete): fix the type constraint error in options (#498)
* fix(auto-complete): fix the type constraint error in options

* chore: remove type check of examples when deploy document site

* chore: migrate .now to .vercel
2021-03-31 20:33:06 +08:00
Deepankar
1894928ba3 chore: update GitHub bug report template (#489)
`Expection` isn't a word actually, Hence `Expected Behaviour` is a better term.
2021-03-31 03:22:07 +03:00
Ofek Ashery
9e0e102195 chore: add code of conduct (#492) 2021-03-27 15:41:20 +03:00
Bowen
502da720f1 fix: fix the invalid vertical-align (#486)
* fix: fix the invalid vertical-align

* test: update snapshots
2021-03-21 21:46:13 +08:00
witt
d351700d04 docs(breakpoints): upgrade documentatino to match the new theme system (#478) 2021-03-15 01:14:34 +08:00
ʀᴀʏ
2c236918fa fix(typo): gesit -> geist (#476) 2021-03-13 12:27:57 +02:00
dependabot[bot]
cfe7e2b180 chore(deps): bump elliptic from 6.5.3 to 6.5.4 (#472)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 18:09:58 +02:00
unix
76eb6b6510 chore: release v2.1.3 v2.1.3 2021-02-17 19:26:22 +08:00
witt
f898ade9d3 fix(snippet): fix typo of copy type (#461) 2021-02-17 19:22:42 +08:00
witt
cfd0a48688 fix(tabs): remove the scrollbar of the tab container (#460)
* fix(tabs): remove the scrollbar of the tab container

* test(tabs): update snapshots
2021-02-17 19:14:27 +08:00
Benjamin Mock
f6608affd9 docs: fix default value of direction prop (#458) 2021-02-17 14:03:33 +08:00
witt
ac25da9a9b fix(grid): fix the invalid property of flex in the default scene (#457)
* fix(grid): fix the invalid property of flex in the default scene

* test(grid): update snapshots

* chore: release v2.1.2
v2.1.2
2021-02-16 17:39:54 +08:00
witt
823fcfc445 chore: upgrade examples to adapt to new theme system (#453) 2021-02-14 17:22:27 +08:00
witt
3c4890ef65 chore: release v2.1.1 (#452)
* fix: update version of styled-jsx to fix namespace error

* chore: release v2.1.1
v2.1.1
2021-02-14 16:35:18 +08:00
unix
06d3699ea8 chore: release v2.1.0 v2.1.0 2021-02-14 16:00:54 +08:00
witt
6da0509316 release 2.1.0 (#451)
* feat: optimize fonts rendering on windows (#385)

* feat(styles): set Inter to highest font

* docs(fonts): add guide for fonts rendering on windows

* test: udpate snapshots

* chore: release v2.1.0-canary.0

* feat(table): add update row action to Table (#378)

* feat: add update to Table's actions. add test and doc

fix(table): fix comments

* feat(table): improve type for table actions

chore: update docs

chore: remove unused types

chore(table): improve docs

Co-authored-by: William Castandet <williamcastandet@williams-air.home>
Co-authored-by: unix <unix.bio@gmail.com>

* refactor(use-theme): move use-theme to the top directory (#397)

* refactor(use-theme): move use-theme to the top directory

* chore(jest): ignore use-theme of forwarding

* chore: release v2.1.0-canary.1

* feat(select): add clearable option to select multiple with test and english doc (#396)

* docs: add clearable option to select multiple with test and english doc

* fix: fix types for onClear

* fix: fix import path for use-theme

add more test for coverage

* docs(select): add chinese document

Co-authored-by: unix <unix.bio@gmail.com>

* chore: release v2.1.0-canary.2

* fix(tabs): scrollable (#404)

docs(tabs): scroll behavior

* feat(textarea): resize prop (#416)

* feat: add resize prop to textarea

* docs: add resize prop for textarea

* docs(textarea): improve docs and attributes for cn

* test(textarea): update snapshots

Co-authored-by: unix <unix.bio@gmail.com>

* fix(types): replace path aliases in type files (#432)

* fix(types): replace path aliases in type files

* chore(lint): upgrade eslint and optimize code style

* chore: fix type error for context handler

* test: update snapshots

* fix: use ttsc to identify aliases in type paths

* feat(hooks): add a tool hooks for react context (#439)

* feat(hooks): add a tool hooks for react context

* chore: move use-context-state to internal tools

style: fix lint warning

* chore: simplify the structure of the catalog

* refactor(themes): refactor theme module to keep multiple themes (#440)

* refactor(themes): refactor theme module to keep multiple themes

* chore: migrate APIs to be compatible with new theme system

* test: update snapshots

* chore: migrate the path of the theme module

* feat(themes): append static methods of themes

* chore: hide custom theme when no custom content in the context

* chore: manually add flush to preload styles in html

* docs(themes): update to fit the new theme system

* chore: release v2.1.0-canary.3 (#450)

* docs: add link to GH discussions

* chore: upgrade deps

* chore: update code style for prettier

* chore: release v2.1.0-canary.3

* chore(deps): upgrade babel

* chore: replace enzyme adapter with community repo to fit react.17

* test: updatee snapshots for auto typesetting

* test(config): ignore unexported parts of the tools

Co-authored-by: William <wcastand@gmail.com>
Co-authored-by: William Castandet <williamcastandet@williams-air.home>
Co-authored-by: Vaibhav Acharya <vaibhavacharya111@gmail.com>
Co-authored-by: Paul van Dyk <39598117+PaulPCIO@users.noreply.github.com>
2021-02-14 15:58:52 +08:00
Amine troudi
08f1be1b9f fix: remove unnecessary style in xs grid class (#442)
fix: unset the display when value is higher than 0 for grid

test: update test snapshots

fix(grid): always override style up
2021-02-14 15:19:21 +08:00