Skip to content

Commit 38f9748

Browse files
committed
chore: renamed custom Style to custom Styles
1 parent d411b6a commit 38f9748

File tree

15 files changed

+86
-86
lines changed

15 files changed

+86
-86
lines changed

shesha-reactjs/src/designer-components/alert/settingsForm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export const getSettings = (data: IAlertComponentProps) => {
190190
.addCollapsiblePanel({
191191
id: nanoid(),
192192
propertyName: 'customStyle',
193-
label: 'Custom Style',
193+
label: 'Custom Styles',
194194
labelAlign: 'right',
195195
ghost: true,
196196
parentId: appearanceTabId,

shesha-reactjs/src/designer-components/card/new-cardSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export const getSettings = (data: any) => {
358358
.addCollapsiblePanel({
359359
id: 'customStyleCollapsiblePanel',
360360
propertyName: 'customStyle',
361-
label: 'Custom Style',
361+
label: 'Custom Styles',
362362
labelAlign: 'right',
363363
ghost: true,
364364
parentId: 'styleRouter',

shesha-reactjs/src/designer-components/columns/settingsForm.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const getSettings = (data: any) => {
138138
.addSettingsInputRow({
139139
id: nanoid(),
140140
parentId: dimensionsStylePnlId,
141-
inline: true,
141+
inline: true,
142142
inputs: [
143143
{
144144
type: 'textField',
@@ -172,7 +172,7 @@ export const getSettings = (data: any) => {
172172
.addSettingsInputRow({
173173
id: nanoid(),
174174
parentId: dimensionsStylePnlId,
175-
inline: true,
175+
inline: true,
176176
inputs: [
177177
{
178178
type: 'textField',
@@ -223,7 +223,7 @@ export const getSettings = (data: any) => {
223223
parentId: borderStylePnlId,
224224
hidden: {
225225
_code: 'return !getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.border?.hideBorder);', _mode: 'code', _value: false
226-
} as any,
226+
} as any,
227227
inputs: [
228228
{
229229
type: 'button',
@@ -419,7 +419,7 @@ export const getSettings = (data: any) => {
419419
.addSettingsInputRow({
420420
id: nanoid(),
421421
parentId: shadowStylePnlId,
422-
inline: true,
422+
inline: true,
423423
inputs: [
424424
{
425425
type: 'numberField',
@@ -497,15 +497,15 @@ export const getSettings = (data: any) => {
497497
.addCollapsiblePanel({
498498
id: nanoid(),
499499
propertyName: 'style',
500-
label: 'Custom Style',
500+
label: 'Custom Styles',
501501
labelAlign: 'right',
502502
ghost: true,
503503
parentId: styleRouterId,
504504
collapsible: 'header',
505505
content: {
506506
id: nanoid(),
507507
components: [...new DesignerToolbarSettings()
508-
.addSettingsInput({
508+
.addSettingsInput({
509509
id: nanoid(),
510510
inputType: 'codeEditor',
511511
propertyName: 'style',

shesha-reactjs/src/designer-components/dateField/settingsForm.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ export const getSettings = (data: IDateFieldProps) => {
376376
parentId: 'fontStylePnl',
377377
inline: true,
378378
propertyName: 'font',
379-
inputs: [
379+
inputs: [
380380
{
381381
type: 'dropdown',
382382
id: 'fontFamily-s4gmBg31azZC0UjZjpfTm',
@@ -440,7 +440,7 @@ export const getSettings = (data: IDateFieldProps) => {
440440
id: 'dimensionsStyleRowWidth',
441441
parentId: 'dimensionsStylePnl',
442442
inline: true,
443-
inputs: [
443+
inputs: [
444444
{
445445
type: 'textField',
446446
id: 'width-s4gmBg31azZC0UjZjpfTm',
@@ -475,7 +475,7 @@ export const getSettings = (data: IDateFieldProps) => {
475475
id: 'dimensionsStyleRowHeight',
476476
parentId: 'dimensionsStylePnl',
477477
inline: true,
478-
inputs: [
478+
inputs: [
479479
{
480480
type: 'textField',
481481
id: 'height-s4gmBg31azZC0UjZjpfTm',
@@ -524,7 +524,7 @@ export const getSettings = (data: IDateFieldProps) => {
524524
id: `borderStyleRow`,
525525
parentId: 'borderStylePnl',
526526
hidden: { _code: 'return !getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.border?.hideBorder);', _mode: 'code', _value: false } as any,
527-
inputs: [
527+
inputs: [
528528
{
529529
type: 'button',
530530
id: 'borderStyleRow-hideBorder',
@@ -571,7 +571,7 @@ export const getSettings = (data: IDateFieldProps) => {
571571
inputType: "radio",
572572
tooltip: "Select a type of background",
573573
buttonGroupOptions: backgroundTypeOptions,
574-
})
574+
})
575575
.addSettingsInputRow({
576576
id: "backgroundStyleRow-color",
577577
parentId: "backgroundStylePnl",
@@ -584,7 +584,7 @@ export const getSettings = (data: IDateFieldProps) => {
584584
jsSetting: false,
585585
}],
586586
hidden: { _code: 'return getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.background?.type) !== "color";', _mode: 'code', _value: false } as any,
587-
})
587+
})
588588
.addSettingsInputRow({
589589
id: "backgroundStyle-gradientColors",
590590
parentId: "backgroundStylePnl",
@@ -598,7 +598,7 @@ export const getSettings = (data: IDateFieldProps) => {
598598
],
599599
hidden: { _code: 'return getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.background?.type) !== "gradient";', _mode: 'code', _value: false } as any,
600600
hideLabel: true,
601-
})
601+
})
602602
.addSettingsInputRow({
603603
id: "backgroundStyle-url",
604604
parentId: "backgroundStylePnl",
@@ -610,7 +610,7 @@ export const getSettings = (data: IDateFieldProps) => {
610610
label: "URL",
611611
}],
612612
hidden: { _code: 'return getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.background?.type) !== "url";', _mode: 'code', _value: false } as any,
613-
})
613+
})
614614
.addSettingsInputRow({
615615
id: "backgroundStyle-image",
616616
parentId: 'backgroundStylePnl',
@@ -622,12 +622,12 @@ export const getSettings = (data: IDateFieldProps) => {
622622
jsSetting: false,
623623
}],
624624
hidden: { _code: 'return getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.background?.type) !== "image";', _mode: 'code', _value: false } as any,
625-
})
625+
})
626626
.addSettingsInputRow({
627627
id: "backgroundStyleRow-storedFile",
628628
parentId: 'backgroundStylePnl',
629629
hidden: { _code: 'return getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.background?.type) !== "storedFile";', _mode: 'code', _value: false } as any,
630-
inputs: [
630+
inputs: [
631631
{
632632
type: 'textField',
633633
id: 'backgroundStyle-storedFile',
@@ -642,7 +642,7 @@ export const getSettings = (data: IDateFieldProps) => {
642642
parentId: 'backgroundStyleRow',
643643
hidden: { _code: 'return getSettingValue(data[`${contexts.canvasContext?.designerDevice || "desktop"}`]?.background?.type) === "color";', _mode: 'code', _value: false } as any,
644644
inline: true,
645-
inputs: [
645+
inputs: [
646646
{
647647
type: 'customDropdown',
648648
id: 'backgroundStyleRow-size',
@@ -664,7 +664,7 @@ export const getSettings = (data: IDateFieldProps) => {
664664
.addSettingsInputRow({
665665
id: 'backgroundStyleRow-repeat',
666666
parentId: 'backgroundStyleRow',
667-
inputs: [{
667+
inputs: [{
668668
type: 'radio',
669669
id: 'backgroundStyleRow-repeat-radio',
670670
label: 'Repeat',
@@ -694,7 +694,7 @@ export const getSettings = (data: IDateFieldProps) => {
694694
id: 'shadowStyleRow',
695695
parentId: 'shadowStylePnl',
696696
inline: true,
697-
inputs: [
697+
inputs: [
698698
{
699699
type: 'numberField',
700700
id: 'shadowStyleRow-offsetX',
@@ -771,7 +771,7 @@ export const getSettings = (data: IDateFieldProps) => {
771771
.addCollapsiblePanel({
772772
id: 'customStyleCollapsiblePanel',
773773
propertyName: 'customStyle',
774-
label: 'Custom Style',
774+
label: 'Custom Styles',
775775
labelAlign: 'right',
776776
ghost: true,
777777
parentId: 'styleRouter',
@@ -780,7 +780,7 @@ export const getSettings = (data: IDateFieldProps) => {
780780
id: 'stylePnl-M500-911MFR',
781781
components: [...new DesignerToolbarSettings()
782782
.addSettingsInput({
783-
id: 'custom-css-412c-8461-4c8d55e5c073',
783+
id: 'custom-css-412c-8461-4c8d55e5c073',
784784
inputType: 'codeEditor',
785785
propertyName: 'style',
786786
hideLabel: true,

shesha-reactjs/src/designer-components/dropdown/settingsForm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ export const getSettings = (data: IDropdownComponentProps) => {
788788
.addCollapsiblePanel({
789789
id: 'customStyleCollapsiblePanel',
790790
propertyName: 'customStyle',
791-
label: 'Custom Style',
791+
label: 'Custom Styles',
792792
labelAlign: 'right',
793793
ghost: true,
794794
parentId: 'styleRouter',

0 commit comments

Comments
 (0)