From 69e1e2b75f5ea6611a6db73d9800340dcb83a46b Mon Sep 17 00:00:00 2001 From: Alessandro Macanha Date: Wed, 20 Oct 2021 09:39:07 -0300 Subject: [PATCH 1/4] feat: added richtext support for inputs of type Radio and Checkbox --- CHANGELOG.md | 2 ++ src/components/CheckboxRadioInput/index.tsx | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57fcaf8..0af6d42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added rich-text support for inputs of type Radio and Checkbox + ### Fixed ## [3.1.3] 2021-08-04 diff --git a/src/components/CheckboxRadioInput/index.tsx b/src/components/CheckboxRadioInput/index.tsx index 8aa6b09..2e0430c 100644 --- a/src/components/CheckboxRadioInput/index.tsx +++ b/src/components/CheckboxRadioInput/index.tsx @@ -1,5 +1,6 @@ import React, { useEffect, useRef } from 'react'; import classnames from 'classnames'; +import { HTMLParsedContent } from '../HTMLParsedContent'; const sizeClassnameMap = { small: 'pui-check-radio-small', @@ -98,7 +99,9 @@ export const CheckboxRadioInput: React.FC = ({
{bottom}
From 27dd3f75caeaaeb864bb2455bbb96965e3df4be5 Mon Sep 17 00:00:00 2001 From: Alessandro Macanha Date: Wed, 20 Oct 2021 09:47:47 -0300 Subject: [PATCH 2/4] build: bumping version: 3.1.4 --- CHANGELOG.md | 8 ++++++-- package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0af6d42..b4b6a9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,10 +23,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added rich-text support for inputs of type Radio and Checkbox - ### Fixed +## [3.1.4] + +### Added + +- Added rich-text support for inputs of type Radio and Checkbox + ## [3.1.3] 2021-08-04 ### Changes diff --git a/package.json b/package.json index f83fe2d..5345959 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@perimetre/ui", "description": "A component library made by @perimetre", - "version": "3.1.3", + "version": "3.1.4", "repository": { "type": "git", "url": "git+https://github.com/perimetre/ui.git" From bdb857178c0c5535e24d2c3280eea1e59c61f192 Mon Sep 17 00:00:00 2001 From: Alessandro Macanha Date: Wed, 20 Oct 2021 09:55:11 -0300 Subject: [PATCH 3/4] fix: added className on HTMLParsedContent for inputs --- src/components/CheckboxRadioInput/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CheckboxRadioInput/index.tsx b/src/components/CheckboxRadioInput/index.tsx index 2e0430c..9602ff9 100644 --- a/src/components/CheckboxRadioInput/index.tsx +++ b/src/components/CheckboxRadioInput/index.tsx @@ -100,7 +100,7 @@ export const CheckboxRadioInput: React.FC = ({ {bottom} From 773ec35855733e7aa161608eeaa623ba8dc12db0 Mon Sep 17 00:00:00 2001 From: Alessandro Macanha Date: Wed, 20 Oct 2021 10:01:21 -0300 Subject: [PATCH 4/4] fix: added date on changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4b6a9a..b36ecaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -## [3.1.4] +## [3.1.4] 2021-10-20 ### Added