From 1963dfd64825b131793725172a1fc79aa8f8e4b5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 16 Mar 2022 13:32:26 +0800 Subject: [PATCH 01/15] docs: fix --- --- CHANGELOG.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index b46c47fa42..3c2456cfcd 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -13,7 +13,7 @@ timeline: true - 次版本号:每月发布一个带有新特性的向下兼容的版本。 - 主版本号:含有破坏性更新和新特性,不在发布周期内。 --- +--- ## 4.19.2 From 4eb097cef95f4ef7be0f5138bf91397825612f7c Mon Sep 17 00:00:00 2001 From: vagusX Date: Wed, 16 Mar 2022 16:04:01 +0800 Subject: [PATCH 02/15] fix: typos in Input.tsx (#34534) --- components/input/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/input/Input.tsx b/components/input/Input.tsx index c2ba610402..e39e6346ad 100644 --- a/components/input/Input.tsx +++ b/components/input/Input.tsx @@ -140,7 +140,7 @@ const Input = forwardRef((props, ref) => { const prefixCls = getPrefixCls('input', customizePrefixCls); const inputRef = useRef(null); - // ===================== Status ===================== + // ===================== Size ===================== const size = React.useContext(SizeContext); const mergedSize = customSize || size; From 2e20f314b191f20e15364aea7fdbb17f41a8a78b Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 16 Mar 2022 16:40:04 +0800 Subject: [PATCH 03/15] =?UTF-8?q?chore(=F0=9F=A4=96):=20add=20ChainAlert?= =?UTF-8?q?=20action=20(#34530)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/chain-alert.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/chain-alert.yml diff --git a/.github/workflows/chain-alert.yml b/.github/workflows/chain-alert.yml new file mode 100644 index 0000000000..edb9c6af7e --- /dev/null +++ b/.github/workflows/chain-alert.yml @@ -0,0 +1,12 @@ +name: ChainAlert +on: + schedule: + - cron: '0 0 * * *' + push: + branches: [ master ] +jobs: + chainalert: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: checkmarx/chainalert-github-action@v1 From 7f7b3a59dcbcdd8d504d78b172e3a71c600aec71 Mon Sep 17 00:00:00 2001 From: mic-web <4804412+mic-web@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:01:27 +0100 Subject: [PATCH 04/15] fix: col-x class names in css when using custom prefix (#34494) * fix: col-x class names of Row and Col components when using custom prefix * refactor: reuse @col-prefix-cls and @row-prefix-cls * refactor: move @col-prefix-cls and @row-prefix-cls to mixin.less --- components/grid/style/index.less | 3 --- components/grid/style/mixin.less | 27 +++++++++++++----------- components/grid/style/rtl.less | 35 ++++++++++++++++---------------- 3 files changed, 33 insertions(+), 32 deletions(-) diff --git a/components/grid/style/index.less b/components/grid/style/index.less index 10f2136094..1369f0035c 100644 --- a/components/grid/style/index.less +++ b/components/grid/style/index.less @@ -2,9 +2,6 @@ @import '../../style/mixins/index'; @import './mixin'; -@row-prefix-cls: ~'@{ant-prefix}-row'; -@col-prefix-cls: ~'@{ant-prefix}-col'; - // Grid system .@{row-prefix-cls} { display: flex; diff --git a/components/grid/style/mixin.less b/components/grid/style/mixin.less index 4d9de47060..7182bf4e45 100644 --- a/components/grid/style/mixin.less +++ b/components/grid/style/mixin.less @@ -1,49 +1,52 @@ @import '../../style/mixins/index'; +@row-prefix-cls: ~'@{ant-prefix}-row'; +@col-prefix-cls: ~'@{ant-prefix}-col'; + // mixins for grid system // ------------------------ .loop-grid-columns(@index, @class) when (@index > 0) { - .@{ant-prefix}-col@{class}-@{index} { + .@{col-prefix-cls}@{class}-@{index} { display: block; flex: 0 0 percentage((@index / @grid-columns)); max-width: percentage((@index / @grid-columns)); } - .@{ant-prefix}-col@{class}-push-@{index} { + .@{col-prefix-cls}@{class}-push-@{index} { left: percentage((@index / @grid-columns)); } - .@{ant-prefix}-col@{class}-pull-@{index} { + .@{col-prefix-cls}@{class}-pull-@{index} { right: percentage((@index / @grid-columns)); } - .@{ant-prefix}-col@{class}-offset-@{index} { + .@{col-prefix-cls}@{class}-offset-@{index} { margin-left: percentage((@index / @grid-columns)); } - .@{ant-prefix}-col@{class}-order-@{index} { + .@{col-prefix-cls}@{class}-order-@{index} { order: @index; } .loop-grid-columns((@index - 1), @class); } .loop-grid-columns(@index, @class) when (@index = 0) { - .@{ant-prefix}-col@{class}-@{index} { + .@{col-prefix-cls}@{class}-@{index} { display: none; } - .@{ant-prefix}-col-push-@{index} { + .@{col-prefix-cls}-push-@{index} { left: auto; } - .@{ant-prefix}-col-pull-@{index} { + .@{col-prefix-cls}-pull-@{index} { right: auto; } - .@{ant-prefix}-col@{class}-push-@{index} { + .@{col-prefix-cls}@{class}-push-@{index} { left: auto; } - .@{ant-prefix}-col@{class}-pull-@{index} { + .@{col-prefix-cls}@{class}-pull-@{index} { right: auto; } - .@{ant-prefix}-col@{class}-offset-@{index} { + .@{col-prefix-cls}@{class}-offset-@{index} { margin-left: 0; } - .@{ant-prefix}-col@{class}-order-@{index} { + .@{col-prefix-cls}@{class}-order-@{index} { order: 0; } } diff --git a/components/grid/style/rtl.less b/components/grid/style/rtl.less index 5a9e7256b8..b098812bc5 100644 --- a/components/grid/style/rtl.less +++ b/components/grid/style/rtl.less @@ -1,7 +1,8 @@ @import '../../style/themes/index'; @import '../../style/mixins/index'; +@import './mixin'; -.@{ant-prefix}-row { +.@{row-prefix-cls} { &-rtl { direction: rtl; } @@ -9,25 +10,25 @@ // mixin .loop-grid-columns(@index, @class) when (@index > 0) { - .@{ant-prefix}-col@{class}-push-@{index} { + .@{col-prefix-cls}@{class}-push-@{index} { // reset property in RTL direction - &.@{ant-prefix}-col-rtl { + &.@{col-prefix-cls}-rtl { right: percentage((@index / @grid-columns)); left: auto; } } - .@{ant-prefix}-col@{class}-pull-@{index} { + .@{col-prefix-cls}@{class}-pull-@{index} { // reset property in RTL direction - &.@{ant-prefix}-col-rtl { + &.@{col-prefix-cls}-rtl { right: auto; left: percentage((@index / @grid-columns)); } } - .@{ant-prefix}-col@{class}-offset-@{index} { + .@{col-prefix-cls}@{class}-offset-@{index} { // reset property in RTL direction - &.@{ant-prefix}-col-rtl { + &.@{col-prefix-cls}-rtl { margin-right: percentage((@index / @grid-columns)); margin-left: 0; } @@ -35,33 +36,33 @@ } .loop-grid-columns(@index, @class) when (@index = 0) { - .@{ant-prefix}-col-push-@{index} { + .@{col-prefix-cls}-push-@{index} { // reset property in RTL direction - &.@{ant-prefix}-col-rtl { + &.@{col-prefix-cls}-rtl { right: auto; } } - .@{ant-prefix}-col-pull-@{index} { - &.@{ant-prefix}-col-rtl { + .@{col-prefix-cls}-pull-@{index} { + &.@{col-prefix-cls}-rtl { left: auto; } } - .@{ant-prefix}-col@{class}-push-@{index} { - &.@{ant-prefix}-col-rtl { + .@{col-prefix-cls}@{class}-push-@{index} { + &.@{col-prefix-cls}-rtl { right: auto; } } - .@{ant-prefix}-col@{class}-pull-@{index} { - &.@{ant-prefix}-col-rtl { + .@{col-prefix-cls}@{class}-pull-@{index} { + &.@{col-prefix-cls}-rtl { left: auto; } } - .@{ant-prefix}-col@{class}-offset-@{index} { - &.@{ant-prefix}-col-rtl { + .@{col-prefix-cls}@{class}-offset-@{index} { + &.@{col-prefix-cls}-rtl { margin-right: 0; } } From fcbae92f5af67cbcadac9dce5081087c45db5c18 Mon Sep 17 00:00:00 2001 From: vagusX Date: Wed, 16 Mar 2022 17:34:07 +0800 Subject: [PATCH 05/15] docs: update Input docs for default size in Form (#34537) --- components/input/index.en-US.md | 2 +- components/input/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/input/index.en-US.md b/components/input/index.en-US.md index 2a563d7a47..fabcc3865b 100644 --- a/components/input/index.en-US.md +++ b/components/input/index.en-US.md @@ -29,7 +29,7 @@ A basic widget for getting the user input is a text field. Keyboard and mouse ca | showCount | Whether show text count | boolean \| { formatter: ({ count: number, maxLength?: number }) => ReactNode } | false | 4.18.0 | | status | Set validation status | 'error' \| 'warning' | - | 4.19.0 | | prefix | The prefix icon for the Input | ReactNode | - | | -| size | The size of the input box. Note: in the context of a form, the `large` size is used | `large` \| `middle` \| `small` | - | | +| size | The size of the input box. Note: in the context of a form, the `middle` size is used | `large` \| `middle` \| `small` | - | | | suffix | The suffix icon for the Input | ReactNode | - | | | type | The type of input, see: [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types)( use `Input.TextArea` instead of `type="textarea"`) | string | `text` | | | value | The input content value | string | - | | diff --git a/components/input/index.zh-CN.md b/components/input/index.zh-CN.md index c745afd66a..9ed2c1deda 100644 --- a/components/input/index.zh-CN.md +++ b/components/input/index.zh-CN.md @@ -30,7 +30,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/xS9YEJhfe/Input.svg | showCount | 是否展示字数 | boolean \| { formatter: ({ count: number, maxLength?: number }) => ReactNode } | false | 4.18.0 | | status | 设置校验状态 | 'error' \| 'warning' | - | 4.19.0 | | prefix | 带有前缀图标的 input | ReactNode | - | | -| size | 控件大小。注:标准表单内的输入框大小限制为 `large` | `large` \| `middle` \| `small` | - | | +| size | 控件大小。注:标准表单内的输入框大小限制为 `middle` | `large` \| `middle` \| `small` | - | | | suffix | 带有后缀图标的 input | ReactNode | - | | | type | 声明 input 类型,同原生 input 标签的 type 属性,见:[MDN](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#属性)(请直接使用 `Input.TextArea` 代替 `type="textarea"`) | string | `text` | | | value | 输入框内容 | string | - | | From bf6dfaa3159de61ce6576be399639eaeffa9d7d5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 16 Mar 2022 18:59:00 +0800 Subject: [PATCH 06/15] docs: move treeLoadedKeys to TreeSelect close #34538 --- components/tree-select/index.en-US.md | 1 + components/tree-select/index.zh-CN.md | 1 + components/tree/index.en-US.md | 1 - components/tree/index.zh-CN.md | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tree-select/index.en-US.md b/components/tree-select/index.en-US.md index 4a8a49c1c0..feae8947e8 100644 --- a/components/tree-select/index.en-US.md +++ b/components/tree-select/index.en-US.md @@ -55,6 +55,7 @@ Tree selection control. | treeDefaultExpandedKeys | Default expanded treeNodes | string\[] | - | | | treeExpandedKeys | Set expanded keys | string\[] | - | | | treeIcon | Shows the icon before a TreeNode's title. There is no default style; you must set a custom style for it if set to `true` | boolean | false | | +| treeLoadedKeys | (Controlled) Set loaded tree nodes, work with `loadData` only | string[] | [] | | | treeLine | Show the line. Ref [Tree - showLine](/components/tree/#components-tree-demo-line) | boolean \| object | false | 4.17.0 | | treeNodeFilterProp | Will be used for filtering if `filterTreeNode` returns true | string | `value` | | | treeNodeLabelProp | Will render as content of select | string | `title` | | diff --git a/components/tree-select/index.zh-CN.md b/components/tree-select/index.zh-CN.md index 83e6179403..a5e3cbdca7 100644 --- a/components/tree-select/index.zh-CN.md +++ b/components/tree-select/index.zh-CN.md @@ -57,6 +57,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Ax4DA0njr/TreeSelect.svg | treeExpandedKeys | 设置展开的树节点 | string\[] | - | | | treeIcon | 是否展示 TreeNode title 前的图标,没有默认样式,如设置为 true,需要自行定义图标相关样式 | boolean | false | | | treeLine | 是否展示线条样式,请参考 [Tree - showLine](/components/tree/#components-tree-demo-line) | boolean \| object | false | 4.17.0 | +| treeLoadedKeys | (受控)已经加载的节点,需要配合 `loadData` 使用 | string[] | [] | | | treeNodeFilterProp | 输入项过滤对应的 treeNode 属性 | string | `value` | | | treeNodeLabelProp | 作为显示的 prop 设置 | string | `title` | | | value | 指定当前选中的条目 | string \| string\[] | - | | diff --git a/components/tree/index.en-US.md b/components/tree/index.en-US.md index c80ccc84c5..90b7b29f63 100644 --- a/components/tree/index.en-US.md +++ b/components/tree/index.en-US.md @@ -45,7 +45,6 @@ Almost anything can be represented in a tree structure. Examples include directo | switcherIcon | Customize collapse/expand icon of tree node | ReactNode | - | | | titleRender | Customize tree node title render | (nodeData) => ReactNode | - | 4.5.0 | | treeData | The treeNodes data Array, if set it then you need not to construct children TreeNode. (key should be unique across the whole array) | array<{ key, title, children, \[disabled, selectable] }> | - | | -| treeLoadedKeys | (Controlled) Set loaded tree nodes, work with `loadData` only | string[] | [] | | | virtual | Disable virtual scroll when set to false | boolean | true | 4.1.0 | | onCheck | Callback function for when the onCheck event occurs | function(checkedKeys, e:{checked: bool, checkedNodes, node, event, halfCheckedKeys}) | - | | | onDragEnd | Callback function for when the onDragEnd event occurs | function({event, node}) | - | | diff --git a/components/tree/index.zh-CN.md b/components/tree/index.zh-CN.md index a8d9e0211f..97a80356b2 100644 --- a/components/tree/index.zh-CN.md +++ b/components/tree/index.zh-CN.md @@ -46,7 +46,6 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Xh-oWqg9k/Tree.svg | switcherIcon | 自定义树节点的展开/折叠图标 | ReactNode | - | | | titleRender | 自定义渲染节点 | (nodeData) => ReactNode | - | 4.5.0 | | treeData | treeNodes 数据,如果设置则不需要手动构造 TreeNode 节点(key 在整个树范围内唯一) | array<{key, title, children, \[disabled, selectable]}> | - | | -| treeLoadedKeys | (受控)已经加载的节点,需要配合 `loadData` 使用 | string[] | [] | | | virtual | 设置 false 时关闭虚拟滚动 | boolean | true | 4.1.0 | | onCheck | 点击复选框触发 | function(checkedKeys, e:{checked: bool, checkedNodes, node, event, halfCheckedKeys}) | - | | | onDragEnd | dragend 触发时调用 | function({event, node}) | - | | From 8501788138b2dd5a0412eb048275769f69854d64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:38:51 +0800 Subject: [PATCH 07/15] chore(deps-dev): bump @types/gtag.js from 0.0.8 to 0.0.9 (#34540) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.8 to 0.0.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js) --- updated-dependencies: - dependency-name: "@types/gtag.js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b920a229b1..dd019eb75c 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.1.4", "@types/enzyme": "^3.10.5", - "@types/gtag.js": "^0.0.8", + "@types/gtag.js": "^0.0.9", "@types/jest": "^27.0.0", "@types/jest-axe": "^3.5.3", "@types/jest-environment-puppeteer": "^5.0.0", From 66bad244138ee8ba539e5ead2338e7f93f6205a0 Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Thu, 17 Mar 2022 10:47:56 +0800 Subject: [PATCH 08/15] fix: Badge RTL wrong placement (#34545) --- components/badge/style/rtl.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/badge/style/rtl.less b/components/badge/style/rtl.less index 7d7c02867c..a322596929 100644 --- a/components/badge/style/rtl.less +++ b/components/badge/style/rtl.less @@ -6,7 +6,7 @@ &:not(&-not-a-wrapper) &-count, &:not(&-not-a-wrapper) &-dot, &:not(&-not-a-wrapper) .@{number-prefix-cls}-custom-component { - .@{badge-prefix-cls}-rtl & { + .@{badge-prefix-cls}-rtl& { right: auto; left: 0; direction: ltr; From 10c090a99396f22450f1ae44feb5516e8655f5c6 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Thu, 17 Mar 2022 11:48:52 +0800 Subject: [PATCH 09/15] fix: tooltip preset color (#34548) * fix: tooltip preset color * chore: code clean --- components/tooltip/style/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tooltip/style/index.less b/components/tooltip/style/index.less index 697f685574..129ab7fc43 100644 --- a/components/tooltip/style/index.less +++ b/components/tooltip/style/index.less @@ -201,7 +201,7 @@ } .@{tooltip-prefix-cls}-arrow { &-content::before { - background-color: @@lightColor; + background: @@lightColor; } } } From 310c7775d9ec2a3fb39544e8668edcf288633424 Mon Sep 17 00:00:00 2001 From: Yunwoo Ji Date: Thu, 17 Mar 2022 12:54:52 +0900 Subject: [PATCH 10/15] fix: apply scale transform to disabled star (#34547) --- components/rate/style/index.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/rate/style/index.less b/components/rate/style/index.less index 7b5dad79ee..c6d26df0e0 100644 --- a/components/rate/style/index.less +++ b/components/rate/style/index.less @@ -17,8 +17,8 @@ &-disabled &-star { cursor: default; - - &:hover { + + > div:hover { transform: scale(1); } } From 86b045e12c10b1d97ea77ca9d01078185cb62b1d Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Mar 2022 11:19:38 +0800 Subject: [PATCH 11/15] test: add type test for Input --- components/input/__tests__/type.test.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 components/input/__tests__/type.test.tsx diff --git a/components/input/__tests__/type.test.tsx b/components/input/__tests__/type.test.tsx new file mode 100644 index 0000000000..58acf6fb19 --- /dev/null +++ b/components/input/__tests__/type.test.tsx @@ -0,0 +1,17 @@ +import React from 'react'; +import { mount } from 'enzyme'; +import Input from '..'; +import { InputProps } from '../Input'; + +describe('Input types', () => { + it('should support data-attributes', () => { + const dataProps: InputProps = { + 'data-test': 'test', + size: 'large', + }; + const wrapper = mount(); + expect(wrapper.find('input').prop('data-test')).toBe('test'); + const wrapper2 = mount(); + expect(wrapper2.find('input').prop('data-test')).toBe('test'); + }); +}); From 54b7fef3708f62520d930e612c9f080dfd0efff6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Mar 2022 13:50:17 +0800 Subject: [PATCH 12/15] docs: add Currency recommendation --- docs/react/recommendation.en-US.md | 1 + docs/react/recommendation.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/react/recommendation.en-US.md b/docs/react/recommendation.en-US.md index 64ea436e38..f189ce8a40 100644 --- a/docs/react/recommendation.en-US.md +++ b/docs/react/recommendation.en-US.md @@ -39,6 +39,7 @@ title: Third-Party Libraries | Animation | [react-move](https://github.com/react-tools/react-move) [Ant Motion](https://motion.ant.design/components/tween-one) [react-spring](https://www.react-spring.io) | | Page Footer | [rc-footer](https://github.com/react-component/footer) | | Water Mark | [WaterMark](https://procomponents.ant.design/components/water-mark) | +| Currency | [react-number-format](https://github.com/s-yadav/react-number-format) [react-currency-input-fiel](https://github.com/cchanxzy/react-currency-input-field) | ## Products we are using ✨ diff --git a/docs/react/recommendation.zh-CN.md b/docs/react/recommendation.zh-CN.md index 8c34b9c779..a7318a333a 100644 --- a/docs/react/recommendation.zh-CN.md +++ b/docs/react/recommendation.zh-CN.md @@ -39,6 +39,7 @@ title: 社区精选组件 | 动画 | [react-move](https://github.com/react-tools/react-move) [Ant Motion](https://motion.ant.design/components/tween-one) [react-spring](https://www.react-spring.io) | | 页脚 | [rc-footer](https://github.com/react-component/footer) | | 水印 | [WaterMark](https://procomponents.ant.design/components/water-mark) | +| 金额格式化 | [react-number-format](https://github.com/s-yadav/react-number-format) [react-currency-input-fiel](https://github.com/cchanxzy/react-currency-input-field) | ## 推荐产品 ✨ From acceca70293dbb7a8665d519a91e34b9044576dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Mar 2022 19:56:38 +0800 Subject: [PATCH 13/15] chore(deps-dev): bump @types/gtag.js from 0.0.9 to 0.0.10 (#34561) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.9 to 0.0.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js) --- updated-dependencies: - dependency-name: "@types/gtag.js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd019eb75c..1f03c901d4 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.1.4", "@types/enzyme": "^3.10.5", - "@types/gtag.js": "^0.0.9", + "@types/gtag.js": "^0.0.10", "@types/jest": "^27.0.0", "@types/jest-axe": "^3.5.3", "@types/jest-environment-puppeteer": "^5.0.0", From 183dec11f6f245826d23c74aa5ac48ab2d81fee7 Mon Sep 17 00:00:00 2001 From: Anizcus <48563303+Anizcus@users.noreply.github.com> Date: Fri, 18 Mar 2022 07:55:40 +0200 Subject: [PATCH 14/15] fix: lt_LT locale for typeTemplate (#34567) --- components/locale/lt_LT.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/locale/lt_LT.tsx b/components/locale/lt_LT.tsx index 857d6ffda5..0573b87718 100644 --- a/components/locale/lt_LT.tsx +++ b/components/locale/lt_LT.tsx @@ -6,7 +6,7 @@ import TimePicker from '../time-picker/locale/lt_LT'; import Calendar from '../calendar/locale/lt_LT'; import { Locale } from '../locale-provider'; -const typeTemplate: string = '${label} не является типом ${type}'; +const typeTemplate: string = '${label} neatitinka tipo ${type}'; const localeValues: Locale = { locale: 'lt', From 4c46aeb265c57788538f2bf0e6225f9c247bee6a Mon Sep 17 00:00:00 2001 From: Gianmarco Rengucci Date: Fri, 18 Mar 2022 07:37:46 +0100 Subject: [PATCH 15/15] fix: Update it_IT locales (#34566) --- components/locale/it_IT.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/locale/it_IT.tsx b/components/locale/it_IT.tsx index a22dbca301..17a64c0823 100644 --- a/components/locale/it_IT.tsx +++ b/components/locale/it_IT.tsx @@ -17,6 +17,8 @@ const localeValues: Locale = { filterTitle: 'Menù Filtro', filterConfirm: 'OK', filterReset: 'Reset', + selectNone: 'Deseleziona tutto', + selectionAll: 'Seleziona tutto', selectAll: 'Seleziona pagina corrente', selectInvert: 'Inverti selezione nella pagina corrente', sortTitle: 'Ordina',