From c4ecaad08999ce40047b3560abd80224bb86d835 Mon Sep 17 00:00:00 2001 From: PritamIT2023 Date: Sat, 24 Aug 2024 22:58:41 +0530 Subject: [PATCH 1/2] fix(global): :bug: fix validProps of oreCheckbox fix validProps of oreCheckbox Ref: #323 --- package/components/inputs/CoreCheckbox.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/package/components/inputs/CoreCheckbox.js b/package/components/inputs/CoreCheckbox.js index 22c9cc26..36770e7c 100644 --- a/package/components/inputs/CoreCheckbox.js +++ b/package/components/inputs/CoreCheckbox.js @@ -24,7 +24,7 @@ CoreCheckbox.validProps = [ { description: "The icon to display when the component is checked.", name : "checkedIcon", - types : [{ default: check_box, type: "object" }], + types : [{ default: check_box, type: "node" }], }, { @@ -66,7 +66,7 @@ CoreCheckbox.validProps = [ { description: "The icon to display when the component is unchecked.", name : "icon", - types : [{ default: check_box_outline_blank, type: "object" }], + types : [{ default: check_box_outline_blank, type: "node" }], }, { description: "The id of the input element.", @@ -93,7 +93,7 @@ CoreCheckbox.validProps = [ { description: "The icon to display when the component is indeterminate.", name : "indeterminateIcon", - types : [{ default: indeterminate_check_box, type: "object" }], + types : [{ default: indeterminate_check_box, type: "node" }], }, { description: "Attributes applied to the input element.", @@ -120,7 +120,13 @@ CoreCheckbox.validProps = [ description: "The size of the component. small is equivalent to the dense checkbox styling.", name : "size", - types: [{ default: "medium'", type: "medium'| 'small'| string" }], + types: [ + { + default : "medium", + type : "string", + validValues: ["medium", "small"], + }, + ] }, { description: "The value of the component. The DOM API casts this to a string. The browser uses \"on\" as the default value.", From 5ac23c6f8a6cd8c612c2b65612fb65b4ad260636 Mon Sep 17 00:00:00 2001 From: wrappidcare Date: Sat, 24 Aug 2024 17:54:37 +0000 Subject: [PATCH 2/2] chore(release): 0.0.523 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- package/package-lock.json | 4 ++-- package/package.json | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99967827..2bee0b92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.523](https://github.com/wrappid/core/compare/v0.0.522...v0.0.523) (2024-08-24) + + +### Bug Fixes + +* **global:** :bug: fix validProps of oreCheckbox ([c4ecaad](https://github.com/wrappid/core/commit/c4ecaad08999ce40047b3560abd80224bb86d835)), closes [#323](https://github.com/wrappid/core/issues/323) + ### [0.0.522](https://github.com/wrappid/core/compare/v0.0.521...v0.0.522) (2024-08-24) diff --git a/package-lock.json b/package-lock.json index 98aa9382..e37d9da4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@wrappid/core", - "version": "0.0.522", + "version": "0.0.523", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@wrappid/core", - "version": "0.0.522", + "version": "0.0.523", "license": "MIT", "devDependencies": { "@babel/cli": "7.21.0", diff --git a/package.json b/package.json index 27080899..9b66a08f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wrappid/core", - "version": "0.0.522", + "version": "0.0.523", "description": "Multi platform app builder core package.", "main": "index.js", "scripts": { diff --git a/package/package-lock.json b/package/package-lock.json index 75104abf..7db86307 100644 --- a/package/package-lock.json +++ b/package/package-lock.json @@ -1,12 +1,12 @@ { "name": "@wrappid/core", - "version": "0.0.522", + "version": "0.0.523", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@wrappid/core", - "version": "0.0.522", + "version": "0.0.523", "license": "MIT", "peerDependencies": { "@reduxjs/toolkit": "1.9.1", diff --git a/package/package.json b/package/package.json index 3bbd7510..35fb4c62 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "@wrappid/core", - "version": "0.0.522", + "version": "0.0.523", "description": "Multi platform app builder core package.", "main": "index.js", "scripts": {},