-
Notifications
You must be signed in to change notification settings - Fork 48
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
chore: refactoring field #981
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mleralec
force-pushed
the
chore-refactoring-field
branch
from
January 5, 2022 09:35
47c8b29
to
49dacdf
Compare
mleralec
requested review from
anucreative,
Calvein,
cnairiwttj,
DuarteParadela,
guillaumewttj,
jeromeraffin,
P1X3L and
theo-mesnil
as code owners
January 5, 2022 16:13
cnairiwttj
reviewed
Jan 6, 2022
Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co>
Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co>
Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co>
Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co>
Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co>
mleralec
force-pushed
the
chore-refactoring-field
branch
from
January 6, 2022 16:04
9cf06c4
to
97b0b94
Compare
theo-mesnil
approved these changes
Jan 7, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So clean 😍
cnairiwttj
approved these changes
Jan 10, 2022
P1X3L
reviewed
Jan 10, 2022
P1X3L
approved these changes
Jan 10, 2022
guillaumewttj
pushed a commit
that referenced
this pull request
Feb 10, 2022
* chore: refactoring field * chore: some clean field * fix: rollback IconWrapper * chore: refactoring select tests without ConnectedField * chore: refactoring InputText tests without ConnectedField * chore: refactoring PasswordInput tests without ConnectedField * chore: refactoring Checkbox tests without ConnectedField * chore: refactoring Search tests without ConnectedField * chore: refactoring Picker tests without ConnectedField * fix: remove forwardFieldRef type from system * chore: remove ConnectedField component * chore: refactoring DateTimePicker tests without ConnectedField * fix: replace ConnectedField in documentation and use new Field api Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * chore: add some tests for Field * fix: add hookform to fieldgroup doc Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: fix tests and add size props and id to field children Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: remove size prop from field Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: add skipped test to handle no id no name field child Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * chore: generate random id/htmlFor if no exist * fix: @welcome-ui/system version * chore: update input-text doc * chore: update docs with new field on label/field/password-input/textarea * chore: update docs with new field on select * chore: update docs with new field on toggle/search * chore: update docs with new field on file-drop * chore: update docs with new field on pickers/markdown-editor/radios * chore: update file-upload doc * fix: remove useless comment * fix: typo on drawer.mdx * fix: restore DatePicker tests * refactor: default fields style (#988) * fix: polish field test with toContain instead toBe Co-authored-by: Paul-Xavier Ceccaldi <pix@wttj.co>
guillaumewttj
added a commit
that referenced
this pull request
Feb 10, 2022
* chore!: add and modify colors for button variants (#855) !! BREAKING CHANGES !! `theme.colors.success[500]` becomes `theme.colors.success[700]` `theme.colors.success[200]` becomes `theme.colors.success[500]` `theme.colors.info[500]` becomes `theme.colors.info[700]` `theme.colors.info[200]` becomes `theme.colors.info[500]` * for welcome theme: `theme.colors.success[200]` has been changed for the new color `45BE98` `theme.colors.info[200]` has been changed for the new color `9AC7F7` * for the core theme: `theme.colors.success[200]` has been changed for the new color `7EC784` `theme.colors.info[200]` has been changed for the new color `6696DF` * feat: typescript iterations (squashed commits) v4.0.0-alpha.0 feat: add new icon set (#862) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> fix: icons reordering (#863) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> v4.0.0-alpha.1 v4.0.0-alpha.2 feat: typescript (#854) * feat: init typescript * chore: fix shouldForwardProp types for <Box /> * chore: convert <Tag /> * chore: convert <Badge /> * fix: remove ts-ignore * chore: add types declaration for Badge & Tag * fix: typo * fix: tests * fix: lint * fix: badge component * feat: accordion component * chore: convert <Button /> * fix: button component * feat: add WuiProps on @welcome-ui/system * fix: replace SystemProps by WuiProps on button * feat: convert <Text /> * feat: convert <VariantIcon /> * feat: convert <Hint /> * feat: convert <Table /> * feat: convert <Label /> * feat: convert <UniversalLink /> * feat: convert <Link /> * feat: stack to typescropt (#860) * feat: stack to typescropt * fix: missing converted files & wrong types * feat: convert <Textarea /> * feat: convert <Checkbox /> * fix: textarea type * chore: convert Modal to TS * feat: convert <ClearButton /> * Chore upgrade xstyled v3 (#858) * chore: upgrade styled-components to v 5.3.0 styled-components * @welcome-ui/accordion: ^5.2.1 → 5.3.0 * @welcome-ui/alert: ^5.2.1 → 5.3.0 * @welcome-ui/avatar: ^5.2.1 → 5.3.0 * @welcome-ui/badge: ^5.2.1 → 5.3.0 * @welcome-ui/box: ^5.2.1 → 5.3.0 * @welcome-ui/breadcrumb: ^5.2.1 → 5.3.0 * @welcome-ui/button: ^5.2.1 → 5.3.0 * @welcome-ui/card: ^5.2.1 → 5.3.0 * @welcome-ui/checkbox: ^5.2.1 → 5.3.0 * @welcome-ui/clear-button: ^5.2.1 → 5.3.0 * @welcome-ui/connected-field: ^5.2.1 → 5.3.0 * @welcome-ui/core: ^5.2.1 → 5.3.0 * @welcome-ui/date-picker: ^5.2.1 → 5.3.0 * @welcome-ui/date-time-picker: ^5.2.1 → 5.3.0 * @welcome-ui/date-time-picker-common: ^5.2.1 → 5.3.0 * @welcome-ui/drawer: ^5.2.1 → 5.3.0 * @welcome-ui/dropdown-menu: ^5.2.1 → 5.3.0 * @welcome-ui/emoji: ^5.2.1 → 5.3.0 * @welcome-ui/emoji-picker: ^5.2.1 → 5.3.0 * @welcome-ui/field: ^5.2.1 → 5.3.0 * @welcome-ui/field-group: ^5.2.1 → 5.3.0 * @welcome-ui/file-drop: ^5.2.1 → 5.3.0 * @welcome-ui/file-upload: ^5.2.1 → 5.3.0 * @welcome-ui/group: ^5.2.1 → 5.3.0 * @welcome-ui/hint: ^5.2.1 → 5.3.0 * @welcome-ui/icon: ^5.2.1 → 5.3.0 * @welcome-ui/icons.font: ^5.2.1 → 5.3.0 * @welcome-ui/input-text: ^5.2.1 → 5.3.0 * @welcome-ui/label: ^5.2.1 → 5.3.0 * @welcome-ui/link: ^5.2.1 → 5.3.0 * @welcome-ui/loader: ^5.2.1 → 5.3.0 * @welcome-ui/markdown-editor: ^5.2.1 → 5.3.0 * @welcome-ui/modal: ^5.2.1 → 5.3.0 * @welcome-ui/pagination: ^5.2.1 → 5.3.0 * @welcome-ui/picker: ^5.2.1 → 5.3.0 * @welcome-ui/popover: ^5.2.1 → 5.3.0 * @welcome-ui/radio: ^5.2.1 → 5.3.0 * @welcome-ui/radio-group: ^5.2.1 → 5.3.0 * @welcome-ui/radio-tab: ^5.2.1 → 5.3.0 * @welcome-ui/search: ^5.2.1 → 5.3.0 * @welcome-ui/select: ^5.2.1 → 5.3.0 * @welcome-ui/shape: ^5.2.1 → 5.3.0 * @welcome-ui/stack: ^5.2.1 → 5.3.0 * @welcome-ui/swiper: ^5.2.1 → 5.3.0 * @welcome-ui/system: ^5.2.1 → 5.3.0 * @welcome-ui/table: ^5.2.1 → 5.3.0 * @welcome-ui/tabs: ^5.2.1 → 5.3.0 * @welcome-ui/tag: ^5.2.1 → 5.3.0 * @welcome-ui/text: ^5.2.1 → 5.3.0 * @welcome-ui/textarea: ^5.2.1 → 5.3.0 * @welcome-ui/time-picker: ^5.2.1 → 5.3.0 * @welcome-ui/toast: ^5.2.1 → 5.3.0 * @welcome-ui/toggle: ^5.2.1 → 5.3.0 * @welcome-ui/tooltip: ^5.2.1 → 5.3.0 * @welcome-ui/universal-link: ^5.2.1 → 5.3.0 * @welcome-ui/utils: ^5.2.1 → 5.3.0 * @welcome-ui/utils.copy: ^5.2.1 → 5.3.0 * @welcome-ui/variant-icon: ^5.2.1 → 5.3.0 * chore: upgrade @xstyled-styled-components to v 3.0.1 @xstyled/styled-components * @welcome-ui/accordion: ^2.2.3 → ^3.0.1 * @welcome-ui/alert: ^2.2.3 → ^3.0.1 * @welcome-ui/avatar: ^2.2.3 → ^3.0.1 * @welcome-ui/box: ^2.2.3 → ^3.0.1 * @welcome-ui/breadcrumb: ^2.2.3 → ^3.0.1 * @welcome-ui/button: ^2.2.3 → ^3.0.1 * @welcome-ui/card: ^2.2.3 → ^3.0.1 * @welcome-ui/checkbox: ^2.2.3 → ^3.0.1 * @welcome-ui/clear-button: ^2.2.3 → ^3.0.1 * @welcome-ui/core: ^2.2.3 → ^3.0.1 * @welcome-ui/date-picker: ^2.2.3 → ^3.0.1 * @welcome-ui/date-time-picker: ^2.2.3 → ^3.0.1 * @welcome-ui/date-time-picker-common: ^2.2.3 → ^3.0.1 * @welcome-ui/drawer: ^2.2.3 → ^3.0.1 * @welcome-ui/dropdown-menu: ^2.2.3 → ^3.0.1 * @welcome-ui/emoji-picker: ^2.2.3 → ^3.0.1 * @welcome-ui/field: ^2.2.3 → ^3.0.1 * @welcome-ui/field-group: ^2.2.3 → ^3.0.1 * @welcome-ui/file-drop: ^2.2.3 → ^3.0.1 * @welcome-ui/file-upload: ^2.2.3 → ^3.0.1 * @welcome-ui/group: ^2.2.3 → ^3.0.1 * @welcome-ui/hint: ^2.2.3 → ^3.0.1 * @welcome-ui/icon: ^2.2.3 → ^3.0.1 * @welcome-ui/icons.font: ^2.2.3 → ^3.0.1 * @welcome-ui/input-text: ^2.2.3 → ^3.0.1 * @welcome-ui/label: ^2.2.3 → ^3.0.1 * @welcome-ui/link: ^2.2.3 → ^3.0.1 * @welcome-ui/loader: ^2.2.3 → ^3.0.1 * @welcome-ui/markdown-editor: ^2.2.3 → ^3.0.1 * @welcome-ui/modal: ^2.2.3 → ^3.0.1 * @welcome-ui/pagination: ^2.2.3 → ^3.0.1 * @welcome-ui/picker: ^2.2.3 → ^3.0.1 * @welcome-ui/popover: ^2.2.3 → ^3.0.1 * @welcome-ui/radio: ^2.2.3 → ^3.0.1 * @welcome-ui/radio-group: ^2.2.3 → ^3.0.1 * @welcome-ui/radio-tab: ^2.2.3 → ^3.0.1 * @welcome-ui/search: ^2.2.3 → ^3.0.1 * @welcome-ui/select: ^2.2.3 → ^3.0.1 * @welcome-ui/shape: ^2.2.3 → ^3.0.1 * @welcome-ui/stack: ^2.2.3 → ^3.0.1 * @welcome-ui/swiper: ^2.2.3 → ^3.0.1 * @welcome-ui/system: ^2.2.3 → ^3.0.1 * @welcome-ui/table: ^2.2.3 → ^3.0.1 * @welcome-ui/tabs: ^2.2.3 → ^3.0.1 * @welcome-ui/tag: ^2.2.3 → ^3.0.1 * @welcome-ui/text: ^2.2.3 → ^3.0.1 * @welcome-ui/textarea: ^2.2.3 → ^3.0.1 * @welcome-ui/time-picker: ^2.2.3 → ^3.0.1 * @welcome-ui/toast: ^2.2.3 → ^3.0.1 * @welcome-ui/toggle: ^2.2.3 → ^3.0.1 * @welcome-ui/tooltip: ^2.2.3 → ^3.0.1 * @welcome-ui/universal-link: ^2.2.3 → ^3.0.1 * @welcome-ui/utils: ^2.2.3 → ^3.0.1 * @welcome-ui/variant-icon: ^2.2.3 → ^3.0.1 * fix: styled-components version with ^ Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * chore: upgrade @xstyled/system to v3.0.1 @xstyled/system * @welcome-ui/accordion: ^2.2.3 → ^3.0.1 * @welcome-ui/alert: ^2.2.3 → ^3.0.1 * @welcome-ui/avatar: ^2.2.3 → ^3.0.1 * @welcome-ui/breadcrumb: ^2.2.3 → ^3.0.1 * @welcome-ui/button: ^2.2.3 → ^3.0.1 * @welcome-ui/card: ^2.2.3 → ^3.0.1 * @welcome-ui/checkbox: ^2.2.3 → ^3.0.1 * @welcome-ui/clear-button: ^2.2.3 → ^3.0.1 * @welcome-ui/core: ^2.2.3 → ^3.0.1 * @welcome-ui/date-time-picker: ^2.2.3 → ^3.0.1 * @welcome-ui/date-time-picker-common: ^2.2.3 → ^3.0.1 * @welcome-ui/drawer: ^2.2.3 → ^3.0.1 * @welcome-ui/emoji-picker: ^2.2.3 → ^3.0.1 * @welcome-ui/field: ^2.2.3 → ^3.0.1 * @welcome-ui/field-group: ^2.2.3 → ^3.0.1 * @welcome-ui/file-drop: ^2.2.3 → ^3.0.1 * @welcome-ui/hint: ^2.2.3 → ^3.0.1 * @welcome-ui/icon: ^2.2.3 → ^3.0.1 * @welcome-ui/icons.font: ^2.2.3 → ^3.0.1 * @welcome-ui/input-text: ^2.2.3 → ^3.0.1 * @welcome-ui/label: ^2.2.3 → ^3.0.1 * @welcome-ui/link: ^2.2.3 → ^3.0.1 * @welcome-ui/loader: ^2.2.3 → ^3.0.1 * @welcome-ui/markdown-editor: ^2.2.3 → ^3.0.1 * @welcome-ui/modal: ^2.2.3 → ^3.0.1 * @welcome-ui/pagination: ^2.2.3 → ^3.0.1 * @welcome-ui/picker: ^2.2.3 → ^3.0.1 * @welcome-ui/popover: ^2.2.3 → ^3.0.1 * @welcome-ui/radio: ^2.2.3 → ^3.0.1 * @welcome-ui/search: ^2.2.3 → ^3.0.1 * @welcome-ui/select: ^2.2.3 → ^3.0.1 * @welcome-ui/stack: ^2.2.3 → ^3.0.1 * @welcome-ui/swiper: ^2.2.3 → ^3.0.1 * @welcome-ui/system: ^2.2.3 → ^3.0.1 * @welcome-ui/table: ^2.2.3 → ^3.0.1 * @welcome-ui/tag: ^2.2.3 → ^3.0.1 * @welcome-ui/text: ^2.2.3 → ^3.0.1 * @welcome-ui/textarea: ^2.2.3 → ^3.0.1 * @welcome-ui/toast: ^2.2.3 → ^3.0.1 * @welcome-ui/toggle: ^2.2.3 → ^3.0.1 * @welcome-ui/tooltip: ^2.2.3 → ^3.0.1 * @welcome-ui/utils: ^2.2.3 → ^3.0.1 * @welcome-ui/variant-icon: ^2.2.3 → ^3.0.1 * fix: tests Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: use Box from welcome-ui Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: mjs files Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> Signed-off-by: Guillaume Rousseau <guillaume.rousseau@wttj.co> Signed-off-by: Mick Le Ralec<mickael.leralec@wttj.co> * fix: widths in percentage using a value between 0 and 1 Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: remove mjs config as we no longer have mjs files Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: yarn.lock Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * feat: convert <InputText /> * feat: convert <Toggle /> * fix: remove welcomeUI from checkbox styles type * chore: convert Tooltip * chore: type colors/underline theme values * fix: clearButton type * fix: toggle type * feat: convert @welcome-ui/utils * fix: revert Core for tests * fix: tests * feat: convert Core * feat: convert Core * fix: export core * chore: add theme for tags * chore: add theme for tooltips * chore: add theme for checkboxes * chore: add theme for defaultFields * chore: add theme for modal * chore: add theme for toggle * chore: add theme for hint * chore: add theme for accordion/icons * chore: add theme for links * chore: add theme for table * chore: add theme for fields * chore: add theme for missing packages * fix: remove ts-ignore on core * feat: convert Emoji (#861) * feat: convert Emoji * fix: convert Emoji rollback prettier upgrade * fix: import WuiProps from Wui system * fix: line breaks in Emoji func * fix: use react FC instead of jsx element * fix: updates tsconfig.json with root directory * fix: broken yarn start * chore: tsconfig faster (#864) * chore: add missing options on tsConfig for :sonic: * fix: add tsconfig.build.json * fix: extends default tsconfig * chore: refactor * feat: typescript shape and loader components (#859) * feat: convertion of Shape and Loader to typescript * fix: add of wuiProps. npmignore * fix: fpascal case types & generic size type * fix: remove useless SystemProps * fix: remove useless WuiProps & updated to typescript test files Co-authored-by: Duarte <duarte.paradela@wttj.co> * fix: bump aws-s3 orb version (#871) * feat: typescript on Avatar component (#865) * feat: typescript on Breadcrumb component (#866) * feat: typescript on Card component (#867) * chore: add test props on WuiProps (#870) * chore: add test props inside WuiProps * chore: remove useless props * feat: alert to typescript (#868) * feat: alert to typescript * fix: remove useless dataTestId type * feat: utils.copy to typescript (#873) * feat: utils.copy to typescript * fix: use | operator for targeted element in refObject Co-authored-by: cnairiwttj <camille.nairi@wttj.co> Co-authored-by: guillaumewttj <61152048+guillaumewttj@users.noreply.github.com> Co-authored-by: Robert Douglas <robert@wttj.co> Co-authored-by: Paul-Xavier Ceccaldi <pix@wttj.co> Co-authored-by: cnairiwttj <86954832+cnairiwttj@users.noreply.github.com> Co-authored-by: DuarteParadela <72656743+DuarteParadela@users.noreply.github.com> Co-authored-by: Duarte <duarte.paradela@wttj.co> Co-authored-by: Théo Mesnil <50322149+theo-mesnil@users.noreply.github.com> fix: rebase (#872) chore: export custom props & full props from components (#877) v4.0.0-alpha.3 feat: convert Drawer to TS (#876) * feat: convert Drawer to TS * fix: types export due to rebase & WuiProps added to Drawer * fix: remove WuiProps since ClearButtonProps implements it feat: dropdown menu to TS (#879) feat: typescript on Pagination component (#874) * chore: update github codeowners (#869) * chore: update github codeowners * Update CODEOWNERS * feat: typescript on Pagination component feat: convert icon to TS (#881) * feat: convert icon to TS * feat: convert icon.font to TS (#882) feat: typescript on Group component (#885) * feat: typescript on Group component * fix: wrong name on packages fix: launch webfont on build before building core (#901) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> v4.0.0-alpha.4 docs: add upgrade for v4 (#894) * feat: add upgrade doc for v4 * docs: fix typo feat: add original emoji size when above 64px (#893) feat: typescript on Files util (#892) * feat: typescript on Files util * feat: get better types feat: typescript on RadioTab component (#890) feat: typescript on FieldGroup component (#889) feat: typescript on Radio component (#888) fix: build file package (#904) * fix: build on files package * fix: refacto Feat add new icon set (#907) * fix: remove duplicate pen icon Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * feat: add unavailable icon Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * feat: add new icon set Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: change screenshare off and on icons Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: add new icon webfont Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: when adding icons with yarn icons, don't checkout builded icon font Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> v4.0.0-alpha.5 feat: toast to TS (#886) feat: tabs to TS (#880) * feat: tabs to TS * fix: wrong types file configuration on package.json of many packages Enhance package.json (#910) * fix: remove useless checkout on ignored files Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: when running yarn:icons, deploy newly built webfont to s3 Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: don't auto deploy tags on prod Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> fix: remove git ignored files (#913) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> Upgrade linter (#911) * fix: upgrade prettier to handle optionnal chaining in typescript * fix: autofix by linter feat: typescript icons (#914) * feat: config/script files * fix: typo * chore: remove icons/**/index.js file * fix: lint with new rules * feat: icons with declaration file feat: build without ts plugin & add build:types script (#919) * feat: build without ts plugin * fix: typo * fix: remove useless files [ci-skip] * chore: upgrade typescript version * chore: upgrade prettier to support typescript 4.4 (#920) Co-authored-by: guillaumewttj <61152048+guillaumewttj@users.noreply.github.com> feat: typescript on RadioGroup component (#905) fix: lint:ts script (#925) feat: typescript on Field Component (#898) * feat: typescript on Field Component * fix: diverse review fixes * fix: add es2016 to compilerOptions target * fix: add dom and esnext to global tsconfig * fix: rm workaround in InputText and Field tsconfig * fix: rm InputText useless types * fix: field types + types script in package feat: swiper to TS (#883) * feat: swiper to TS * fix: remove immutable support & fix reactNode to react.reactNode * fix: add tsconfig * fix: update scripts * feat: picker to ts (#927) * feat: picker to ts * fix: new scripts for types & types location * feat: popover to ts (#912) * feat: popover to ts * fix: new scripts for types & types location * chore: CreateWuiProps type (#941) * chore: add CreateWuiProps type * fix: types * fix: remove test props on system * chore: add tests on as prop * fix: add test on Button props * fix: typo System old props * chore: should specify Box props for avoid giving any props * fix: wrong package version on PasswordInput * feat: typescript on PasswordInput component (#947) * fix: missing size and variant on form components (#948) * fix: add new size for tag on typescript files * chore: remove useless prop-types packages (#950) * v4.0.0-alpha.6 * feat: typescript on FileDrop component (#956) * fix: missing types script on file-drop package * fix(lint): icons ordering in package.json * feat: typescript for select component (#960) * feat: typescript for select component * fix: edit interface options and re-add comment * fix: tests not skipped * feat: add CreateEvent type from wui utils * fix: implements CreateWuiProps * fix: utils test with options label and value 0 Co-authored-by: Jerome Raffin <raffin.jerome@gmail.com> * feat: emoji picker to ts & other components fixes (#940) * feat: emoji picker to ts & other components fixes * fix: add tsconfig to icons package * fix: rollback previous changes to icons * fix: omit ref from tab props * v4.0.0-alpha.7 * chore: migrate theme to typescript (#963) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * feat: typescript on DatetimePickerCommon component (#961) * feat: typescript on DatetimePickerCommon component * fix: select component type * feat: search ts (#962) * feat: search ts * fix: throttle type * fix: handleResize for BreadcrumbComponent * fix: shape types Co-authored-by: cnairiwttj <camille.nairi@wttj.co> * fix: make color prop optional for Loader component (#967) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: toggle component styles on small viewport widths (#968) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * feat: custom forwardRef to inject AsComponent props (#969) * feat: custom forwardRef to inject AsComponent props * fix: missing @welcome-ui/ui dependecy on some packages * feat: convert some components with new custom forwardRef (part 1) * feat: convert some components with new custom forwardRef (part 2) * feat: convert some components with new custom forwardRef (part 3) * feat: typescript on MarkdownEditor (#964) * fix: some optionnal props (#971) * v4.0.0-alpha.8 * fix: v4.0.0-alpha.8 (#972) * fix: some types fix * fix: add @welcome-ui/icons declaration file * fix: v4.0.0 alpha.8-2 (#974) * fix: undefined background for avatar * fix: color prop doesnt work on secondary variant * fix: missing dependency in @welcome-ui/files (#975) * v4.0.0-alpha.9 * chore: 4.0.0-alpha.9 * v4.0.0-alpha.10 * fix: inputs/fields fixes (#976) * fix: add missing currentColor on attachment icon (#973) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * v4.0.0-alpha.11 * feat: inject as props on Box (#983) * feat: fileUpload to ts (#980) * fix: border & placeholder colors (#984) * fix: optionalize button and fix its styles (#985) Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * v4.0.0-alpha.12 * refactoring: use JSX components instead styled on modal (#987) * fix: padding on modal with workarround * fix: stylelint comment format * refactor: use JSX components instead styled * fix: remove ButtonLink component (#989) * chore: refactoring field (#981) * chore: refactoring field * chore: some clean field * fix: rollback IconWrapper * chore: refactoring select tests without ConnectedField * chore: refactoring InputText tests without ConnectedField * chore: refactoring PasswordInput tests without ConnectedField * chore: refactoring Checkbox tests without ConnectedField * chore: refactoring Search tests without ConnectedField * chore: refactoring Picker tests without ConnectedField * fix: remove forwardFieldRef type from system * chore: remove ConnectedField component * chore: refactoring DateTimePicker tests without ConnectedField * fix: replace ConnectedField in documentation and use new Field api Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * chore: add some tests for Field * fix: add hookform to fieldgroup doc Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: fix tests and add size props and id to field children Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: remove size prop from field Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * fix: add skipped test to handle no id no name field child Signed-off-by: Paul-Xavier Ceccaldi <pix@wttj.co> * chore: generate random id/htmlFor if no exist * fix: @welcome-ui/system version * chore: update input-text doc * chore: update docs with new field on label/field/password-input/textarea * chore: update docs with new field on select * chore: update docs with new field on toggle/search * chore: update docs with new field on file-drop * chore: update docs with new field on pickers/markdown-editor/radios * chore: update file-upload doc * fix: remove useless comment * fix: typo on drawer.mdx * fix: restore DatePicker tests * refactor: default fields style (#988) * fix: polish field test with toContain instead toBe Co-authored-by: Paul-Xavier Ceccaldi <pix@wttj.co> * feat: docgen with typescript (#990) * feat: init doc-props script * fix: comment WuiProvider propTypes on /installation * chore: add script for all components * fix: lint * fix: missing props * fix: display React props name instead values * fix: no props on components * chore: fix scoped components props * fix: lint * fix: prevent 137 code on circleci * v4.0.0-alpha.13 * fix: textarea value optional prop * fix: missing @welcome-ui/fieldset dependency on <Field /> * v4.0.0-alpha.14 * fix: field can accept string/JSX.Element on label & hint props * fix: export return type of useDrawerState/useDropdownMenuState * fix: children should be optional on RadioGroup * v4.0.0-alpha.15 * fix: reakitRadioGroupOptions should be optional on RadioGroupProps * fix: createWuiProps with styled icon until svg element on IconProps * v4.0.0-alpha.16 * fix: remove useless peer dependency on themes * chore: export own types on modal instead Reakit types * refactor: use JSX components instead styled on drawer * chore: new documentation design (#991) Signed-off-by: Théo Mesnil <mesniltheo@gmail.com> * fix: radio group direction with field * fix: tooltip v4 (rm wrapping div + types) (#994) * fix: tooltip for v4 (types + rm useless div) * fix: replaces children type with ReactNode * refactor: use css pseudo-class instead of JS & prevent slow transition (#995) * v4.0.0-alpha.17 * Fix popover type (#997) * fix: use createWuiprops on props of popopver Trigger * fix(popover): onClose optional & arrow styles is unstable_arrowStyles * fix(toast): options are optional * v4.0.0-alpha.18 * fix(popover): remove custom forward of unstable_arrowStyles as the prop (#998) is already handled by PopoverArrow * v4.0.0-alpha.19 * fix: prevent avatar to crash when missing name (#1000) * fix: toast types system import (#1004) * feat: export icon font props interface (#1003) * chore: add UseToastOptions definition * feat: handle deployment of previous docs versions on same domain (#992) * feat: handle deployment of previous docs versions on same domain * fix: remove any s3 sync from deocs previews job * fix: document circle config & change url in versions dropdown * feat: add useTheme (#1007) * fix wui props types (#1009) * feat: add useTheme * fix: wui props types with wui theme * fix: remove babel dependency from dist (#1005) * fix: add warning on field if children receive forwarded props (#1006) * chore: document theme override for ts (#1008) * feat: DateTimePicker / DatePicker / TimePicker to typescript (#970) * feat: time picker to ts * fix: remove prop types from package * refactor: import forwardRef from system Signed-off-by: Théo Mesnil <mesniltheo@gmail.com> * feat: ts on DatePicker Signed-off-by: Théo Mesnil <mesniltheo@gmail.com> * fix: types of DatePicker * feat: date-time-picker to TS * fix: use forwardRef from system * fix: omit keyof options in datePicker * fix: bring back list of keys to omit Co-authored-by: Théo Mesnil <mesniltheo@gmail.com> * chore: upgrade xstyled (#1010) * chore: upgrade xstyled-components to v^3.5.1 * chore: upgrade xstyled-system to v^3.5.1 * chore: upgrade styled-components to v^5.3.3 * fix: allow number on SystemProps sizes & spaces * fix: allow mjs in node_modules * fix: remove * on style * docs: add homepage (#1011) * docs: add homepage Signed-off-by: Théo Mesnil <mesniltheo@gmail.com> * docs: add wordings Signed-off-by: Théo Mesnil <mesniltheo@gmail.com> Co-authored-by: guillaumewttj <61152048+guillaumewttj@users.noreply.github.com> Co-authored-by: Mickaël <mickael.leralec@gmail.com> Co-authored-by: Théo Mesnil <mesniltheo@gmail.com> Co-authored-by: Théo Mesnil <50322149+theo-mesnil@users.noreply.github.com> Co-authored-by: Guillaume Rousseau <guillaume.rousseau@wttj.co> Co-authored-by: cnairiwttj <86954832+cnairiwttj@users.noreply.github.com> Co-authored-by: Jerome Raffin <raffin.jerome@gmail.com> Co-authored-by: cnairiwttj <camille.nairi@wttj.co> Co-authored-by: François Robichet <Calvein@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.