Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cozy/cozy-libs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cozy-harvest-lib@6.12.0
Choose a base ref
...
head repository: cozy/cozy-libs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cozy-harvest-lib@6.13.0
Choose a head ref
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Nov 8, 2021

  1. feat: Bump cozy-ui from 47.4.0 to 57.6.0 in cozy-harvest-lib

    We need this new version in order to retrieve support of
    `autoCapitalize` prop in `Field` component
    Ldoppea committed Nov 8, 2021
    Copy the full SHA
    4015a38 View commit details
  2. feat: Disable autocapitalize on Harvest account fields

    On mobile devices, we don't want on-screen keyboard to force first word
    capitalization as we are manipulating user's authentification data
    (i.e. logins)
    Ldoppea committed Nov 8, 2021
    Copy the full SHA
    7bcbaea View commit details
  3. [skip ci] Publish

     - cozy-harvest-lib@6.13.0
    Cozy Bot committed Nov 8, 2021
    Copy the full SHA
    a3ffe5f View commit details
12 changes: 12 additions & 0 deletions packages/cozy-harvest-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [6.13.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@6.12.0...cozy-harvest-lib@6.13.0) (2021-11-08)


### Features

* Bump cozy-ui from 47.4.0 to 57.6.0 in cozy-harvest-lib ([4015a38](https://github.com/cozy/cozy-libs/commit/4015a38))
* Disable autocapitalize on Harvest account fields ([7bcbaea](https://github.com/cozy/cozy-libs/commit/7bcbaea))





# [6.12.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@6.11.0...cozy-harvest-lib@6.12.0) (2021-11-08)


6 changes: 3 additions & 3 deletions packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-harvest-lib",
"version": "6.12.0",
"version": "6.13.0",
"description": "Provides logic, modules and components for Cozy's harvest applications.",
"main": "dist/index.js",
"author": "Cozy",
@@ -57,7 +57,7 @@
"cozy-flags": "^2.8.0",
"cozy-keys-lib": "3.8.0",
"cozy-realtime": "^3.14.0",
"cozy-ui": "^47.4.0",
"cozy-ui": "^57.6.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"form-data": "3.0.0",
@@ -80,7 +80,7 @@
"cozy-flags": ">=2.3.5",
"cozy-keys-lib": ">=3.7.0",
"cozy-realtime": ">=3.12.2",
"cozy-ui": ">=47.4.0",
"cozy-ui": ">=57.6.0",
"leaflet": "^1.7.1",
"react-router-dom": "^5.0.1"
},
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const getCssVariableValue = () => '#fff'
export const getInvertedCssVariableValue = () => '#000'
Original file line number Diff line number Diff line change
@@ -97,6 +97,7 @@ export class AccountField extends PureComponent {
...this.props,
name: finalName,
id: `harvest-account-${finalName}`,
autoCapitalize: 'none',
autoComplete: 'off',
className: 'u-m-0', // 0 margin
disabled: disabled,
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

exports[`AccountField render a date field 1`] = `
<Field
autoCapitalize="none"
autoComplete="off"
className="u-m-0"
error={false}
@@ -100,6 +101,7 @@ exports[`AccountField render a date field 1`] = `

exports[`AccountField render a dropdown field 1`] = `
<Field
autoCapitalize="none"
className="u-m-0"
error={false}
fieldProps={Object {}}
@@ -193,6 +195,7 @@ exports[`AccountField render a dropdown field 1`] = `

exports[`AccountField render a password field 1`] = `
<PasswordField
autoCapitalize="none"
autoComplete="off"
className="u-m-0"
encrypted={true}
@@ -280,6 +283,7 @@ exports[`AccountField render a password field 1`] = `

exports[`AccountField should render 1`] = `
<Field
autoCapitalize="none"
autoComplete="off"
className="u-m-0"
encrypted={false}
Loading