From 932cb8f2b71fecff54db42f40345c8f9c21fe479 Mon Sep 17 00:00:00 2001 From: arkaprota Date: Sat, 21 Sep 2024 14:24:39 +0530 Subject: [PATCH 1/5] feat(global): :sparkles: borderlist props added and changes in gridItemComponent props in corelist changes in gridItemComponent Props and borderList props has been added Ref: #377 --- package/components/dataDisplay/CoreList.js | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/package/components/dataDisplay/CoreList.js b/package/components/dataDisplay/CoreList.js index 2173e3a3..7d044098 100644 --- a/package/components/dataDisplay/CoreList.js +++ b/package/components/dataDisplay/CoreList.js @@ -141,9 +141,27 @@ CoreList.validProps = [ name : "gridItemComponent", types : [ { - default : "2", + default : "default", type : "string", - validValues: ["2", "3", "4", "6"] + validValues: [ + "default", + "xs", + "s", + "m", + "l", + "xl" + ] + } + ], + }, + { + description: "The content of the subheader, normally ListSubheader.", + name : "borderList", + types : [ + { + default : false, + type : "boolean", + validValues: [true, false] } ], } From d6fa6aecb5d7ecfb361e1ea994f3624737ae0306 Mon Sep 17 00:00:00 2001 From: arkaprota Date: Sat, 21 Sep 2024 20:03:22 +0530 Subject: [PATCH 2/5] feat(global): :fire: the improvement of codestructure in corelist the improvement of code structure of corelist Ref: #377 --- package/components/dataDisplay/CoreList.js | 32 +++------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/package/components/dataDisplay/CoreList.js b/package/components/dataDisplay/CoreList.js index 7d044098..c45e4ee5 100644 --- a/package/components/dataDisplay/CoreList.js +++ b/package/components/dataDisplay/CoreList.js @@ -132,38 +132,14 @@ CoreList.validProps = [ { default : "DEFAULT", type : "string", - validValues: ["DEFAULT", "HTML", "GRID"] + validValues: ["DEFAULT", "HTML", "grid"] } ], }, { - description: "The content of the subheader, normally ListSubheader.", - name : "gridItemComponent", - types : [ - { - default : "default", - type : "string", - validValues: [ - "default", - "xs", - "s", - "m", - "l", - "xl" - ] - } - ], - }, - { - description: "The content of the subheader, normally ListSubheader.", - name : "borderList", - types : [ - { - default : false, - type : "boolean", - validValues: [true, false] - } - ], + description: "This helps to add gridProps into the children of corelist.", + name : "itemGridProps", + types : [{ type: "object" }], } ]; From dc3ae4743a1e7c14d9bfcdca6b38e52e701966e9 Mon Sep 17 00:00:00 2001 From: arkaprota Date: Mon, 23 Sep 2024 18:34:59 +0530 Subject: [PATCH 3/5] feat(global): :sparkles: added a itemStylesProps props to add styleclasses to corelist child added a new props name itemStylesProps in CoreList to add syles directly to the childs of corelist Ref: #377 --- package/components/dataDisplay/CoreList.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/components/dataDisplay/CoreList.js b/package/components/dataDisplay/CoreList.js index c45e4ee5..851a1b80 100644 --- a/package/components/dataDisplay/CoreList.js +++ b/package/components/dataDisplay/CoreList.js @@ -140,6 +140,11 @@ CoreList.validProps = [ description: "This helps to add gridProps into the children of corelist.", name : "itemGridProps", types : [{ type: "object" }], + }, + { + description: "This helps to add StyleClasses into the children of corelist.", + name : "itemStylesProps", + types : [{ type: "object" }], } ]; From 07ea367f3389b2982a86428054eed2c6043b35a6 Mon Sep 17 00:00:00 2001 From: arkaprota Date: Fri, 27 Sep 2024 01:41:17 +0530 Subject: [PATCH 4/5] feat(global): :sparkles: added new props toolbox added new props toolbox Ref: #377 --- package/components/dataDisplay/CoreList.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/components/dataDisplay/CoreList.js b/package/components/dataDisplay/CoreList.js index 851a1b80..bcf5344e 100644 --- a/package/components/dataDisplay/CoreList.js +++ b/package/components/dataDisplay/CoreList.js @@ -145,6 +145,17 @@ CoreList.validProps = [ description: "This helps to add StyleClasses into the children of corelist.", name : "itemStylesProps", types : [{ type: "object" }], + }, + { + description: "This helps to add StyleClasses into the children of corelist.", + name : "toolbox", + types : [ + { + default : true, + type : "boolean", + validValues: [true, false] + } + ], } ]; From f72acbcaa19c777b9af98129abeff5a59329f354 Mon Sep 17 00:00:00 2001 From: arkaprota Date: Tue, 22 Oct 2024 11:58:50 +0530 Subject: [PATCH 5/5] feat(core): :truck: name of the props has change the name of CoreList props (toolbar - enableToolbar and search - enableSearch) Ref: #377 --- package/components/dataDisplay/CoreList.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/package/components/dataDisplay/CoreList.js b/package/components/dataDisplay/CoreList.js index 4240b897..2b4d53fb 100644 --- a/package/components/dataDisplay/CoreList.js +++ b/package/components/dataDisplay/CoreList.js @@ -148,7 +148,7 @@ CoreList.validProps = [ }, { description: "This helps to add toolbox to selaect the size in the corelist.", - name : "toolbar", + name : "enableToolbar", types : [ { default : false, @@ -159,11 +159,17 @@ CoreList.validProps = [ }, { description: "This helps to add Searchbar in the toolbar of corelist.", - name : "search", - types : [{ type: "object" }], + name : "enableSearch", + types : [ + { + default : false, + type : "boolean", + validValues: [true, false] + } + ] }, { - description: "This helps to add Searchbar in the toolbar of corelist.", + description: "This helps to take json file of corelist.", name : "items", types : [{ type: "object" }], },