Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Release: 2.0.4 #52

Draft
wants to merge 36 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
23dbe61
Merge pull request #34 from gotitinc/release/2.0.3
tinhvqbk Nov 3, 2021
b565fb5
fix: use bottom aligned avatar for bubble chat
caseykhuc Jan 18, 2022
ec7c0b9
fix: make bubble chat image style more predictable
caseykhuc Jan 18, 2022
ea23d0a
fix: add comments for hacky implementation
caseykhuc Jan 18, 2022
eb8aa2c
docs: update CHANGELOG.md
caseykhuc Jan 18, 2022
1720f73
chore: update browserslist
caseykhuc Jan 18, 2022
a685ec7
fix: prioritize classnames over inline style
caseykhuc Jan 18, 2022
dfc6363
Update CHANGELOG.md
namdaoduy Jan 19, 2022
eefab2c
Merge pull request #37 from khuctrang/release/2.0.4-alpha.1
namdaoduy Jan 19, 2022
9a9a2f9
chore: update alpha version 2.0.4-alpha.1
namdaoduy Jan 19, 2022
1bf5b47
Merge pull request #38 from gotitinc/release/2.0.4
namdaoduy Jan 19, 2022
56f5dfc
fix: update typing indicator style
caseykhuc Jan 19, 2022
ccefa9d
Merge pull request #40 from gotitinc/release/2.0.4-alpha.2
namdaoduy Jan 19, 2022
11a8642
chore: update alpha version 2.0.4-alpha.2
namdaoduy Jan 19, 2022
41ad1e8
Merge branch 'alpha' into release/2.0.4
namdaoduy Jan 19, 2022
9cc9fb6
refactor: Add proptypes docs & clean up Dropdown.Container
Feb 16, 2022
3f88b93
fix: Only use compatible props for Container
Feb 16, 2022
df17b00
refactor: Organize props destructuring assignments
Feb 16, 2022
1bc6f6d
refactor: Format Composer file
Feb 16, 2022
86a34b6
feat: Allow custom styling for Composer from props
Feb 16, 2022
40dd2ca
style: Remove unnecessary parens
Feb 16, 2022
1474b56
style: Sort eslint rules by alphanum
Feb 17, 2022
e117049
style: Disable react/jsx-props-no-spreading globally
Feb 17, 2022
de933ab
docs: Update CHANGELOG.md for release 2.0.4
Feb 17, 2022
c21ef48
Merge pull request #42 from gotitinc/feat/dropdown-n-composer
namdaoduy Feb 17, 2022
a076565
chore: version in main release branch should not be alpha
namdaoduy Feb 17, 2022
898aaf7
fix: accessibility close button Modal, Message, Toogle, missing class…
tinhvqbk Mar 18, 2022
15ca24d
Merge branch 'release/2.0.4' of github.com:gotitinc/aha-react into fi…
tinhvqbk Mar 18, 2022
b716884
Merge branch 'release/2.0.4' into fix/accessibility
tinhvqbk Mar 18, 2022
8f0922c
updated: CHANGELOG.md
tinhvqbk Mar 18, 2022
8ac59af
Merge branch 'fix/accessibility' of github.com:gotitinc/aha-react int…
tinhvqbk Mar 18, 2022
85af360
Merge pull request #45 from gotitinc/fix/accessibility
namdaoduy Mar 18, 2022
e88e13f
chore: update peer deps for @ahaui/css
namdaoduy Apr 6, 2022
f98c93f
Merge pull request #47 from gotitinc/feat/update-peer-deps
namdaoduy Apr 6, 2022
45155b7
hotfix: temporarily remove ahaui/css as peer deps
namdaoduy Apr 6, 2022
1abd2eb
Merge pull request #49 from gotitinc/hotfix/peer-deps
namdaoduy Apr 7, 2022
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
15 changes: 8 additions & 7 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
> 1%
ie >= 8
edge >= 15
edge >= 16
ie_mob >= 10
ff >= 45
chrome >= 45
safari >= 7
opera >= 23
ios >= 7
android >= 4
ff >= 52
chrome >= 57
safari >= 10.1
opera >= 44
ios >= 10.3
and_uc >= 12.12
and_chr >= 97
bb >= 10
72 changes: 42 additions & 30 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,57 @@
},
"extends": "airbnb",
"rules": {
"jsx-a11y/label-has-associated-control": 0,
"space-before-function-paren": 0,
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"linebreak-style": 0,
"global-require": 0,
"camelcase": 0,
"class-methods-use-this": 0,
"comma-dangle": [
"error",
"always-multiline"
],
"eol-last": 0,
"comma-dangle": ["error", "always-multiline"],
"spaced-comment": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"jsx-a11y/label-has-for": 0,
"function-paren-newline": 0,
"global-require": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/interactive-supports-focus": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/no-did-mount-set-state": 0,
"linebreak-style": 0,
"max-len": 0,
"react/jsx-no-bind": 0,
"class-methods-use-this" :0,
"react/prop-types": 0,
"no-console": 0,
"no-debugger": 0,
"no-multi-assign": 0,
"no-plusplus": 0,
"no-shadow": 0,
"no-unused-expressions": 0,
"radix": 0,
"object-curly-newline": 0,
"no-console": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"prefer-destructuring": 0,
"no-multi-assign": 0,
"function-paren-newline": 0,
"radix": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-no-bind": 0,
"react/jsx-props-no-spreading": 0,
"react/no-did-mount-set-state": 0,
"react/no-multi-comp": 0,
"react/no-unescaped-entities": 0,
"no-debugger": 0,
"no-shadow": 0,
"no-plusplus": 0,
"camelcase": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/require-default-props": 0,
"react/sort-comp": [
1,
{
Expand All @@ -59,8 +71,8 @@
]
}
],
"react/no-multi-comp": 0,
"import/prefer-default-export": 0
"space-before-function-paren": 0,
"spaced-comment": 0
},
"globals": {
"zE": true,
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Release 2.0.4 - Unreleased
### Fixed
* BubbleChat: Use bottom alignment for avatar
* BubbleChat.Image: Set `lineHeight` to `0` to make image in the same baseline with avatar
* Dropdown.Container: Correct extra props that are passed to internal `div`, so incompatible props (such as `popperConfig`) are excluded
* Composer: Allow passing `className` and `style` to `attachButtonProps`, `inputProps`, and `sendButtonProps`
* Button: add className `u-fontMedium` to sync value with UI
* Message, Modal, Toggle: add aria-label for accessibility
## Release 2.0.3 - January 18, 2022
### Fixed
* Code base: use absolute imports, rearrange hooks and utils
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ahaui/react",
"version": "2.0.3",
"version": "2.0.4",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
Expand Down Expand Up @@ -72,7 +72,6 @@
"webpack-node-externals": "1.7.2"
},
"peerDependencies": {
"@ahaui/css": "^2.0.4",
"react": "^16.9.0 || 17.x",
"react-dom": "^16.9.0 || 17.x"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/BubbleChat/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const BubbleChatImage = React.forwardRef(({ className, ...props }, ref) => {
ref={ref}
className={classNames(
'BubbleChat-image',
'u-marginBottomTiny',
'u-lineHeightNone',
(type === 'inbound') && 'u-textRight',
className && className
)}
Expand Down
Loading