itmar-block-packages 1.6.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +2 -0
  2. package/build/index.asset.php +1 -1
  3. package/build/index.js +3 -3
  4. package/languages/itmar-block-packages-ja-2e59d6ebc088ea4b3d475a06e1e94824.json +1 -0
  5. package/languages/itmar-block-packages-ja-314423d5ad20380dc5fb85a96050381e.json +1 -0
  6. package/languages/itmar-block-packages-ja-3e946be5d900b4a727047c8a51bb058e.json +1 -0
  7. package/languages/itmar-block-packages-ja-5f1760422a0125b48fdcca644f4db89f.json +1 -0
  8. package/languages/itmar-block-packages-ja-800102e626a7ce0305d324a5bb0ee61e.json +1 -0
  9. package/languages/itmar-block-packages-ja-865f209aff5ee1f8efb51f6a62e8d8e1.json +1 -0
  10. package/languages/itmar-block-packages-ja-88eb778e4da0e010ceace8232ab1a901.json +1 -0
  11. package/languages/itmar-block-packages-ja-a418e2f5e97a053f5e0785a30f28b854.json +1 -0
  12. package/languages/itmar-block-packages-ja-ce2d14d174f0af0f13cd9a1302cebdd7.json +1 -0
  13. package/languages/itmar-block-packages-ja-f55909920e3bd84845271a62dbfb8dfe.json +1 -0
  14. package/languages/itmar-block-packages-ja-f6bd3c69ad85ee9ae9f1315af8f44e4a.json +1 -0
  15. package/languages/itmar-block-packages-ja.mo +0 -0
  16. package/languages/itmar-block-packages-ja.po +1485 -0
  17. package/languages/itmar-block-packages.pot +530 -0
  18. package/package.json +1 -1
  19. package/src/AnimationBlock.js +8 -8
  20. package/src/BlockPlace.js +76 -62
  21. package/src/DateElm.js +7 -7
  22. package/src/DraggableBox.js +4 -4
  23. package/src/GridControls.js +9 -9
  24. package/src/IconSelectControl.js +70 -30
  25. package/src/ShadowStyle.js +215 -158
  26. package/src/TypographyControls.js +62 -30
  27. package/src/ZipAddress.js +3 -3
  28. package/src/customFooks.js +1 -1
  29. package/src/wordpressApi.js +9 -9
package/src/BlockPlace.js CHANGED
@@ -66,20 +66,20 @@ export default function BlockPlace(props) {
66
66
  //ツールチップの選択
67
67
  const start_tip =
68
68
  sel_pos.direction === "vertical"
69
- ? __("upper alignment", "block-collections")
70
- : __("left alignment", "block-collections");
69
+ ? __("upper alignment", "itmar-block-packages")
70
+ : __("left alignment", "itmar-block-packages");
71
71
  const end_tip =
72
72
  sel_pos.direction === "vertical"
73
- ? __("lower alignment", "block-collections")
74
- : __("right alignment", "block-collections");
73
+ ? __("lower alignment", "itmar-block-packages")
74
+ : __("right alignment", "itmar-block-packages");
75
75
  const cross_start_tip =
76
76
  sel_pos.direction === "vertical"
77
- ? __("left alignment", "block-collections")
78
- : __("upper alignment", "block-collections");
77
+ ? __("left alignment", "itmar-block-packages")
78
+ : __("upper alignment", "itmar-block-packages");
79
79
  const cross_end_tip =
80
80
  sel_pos.direction === "vertical"
81
- ? __("right alignment", "block-collections")
82
- : __("lower alignment", "block-collections");
81
+ ? __("right alignment", "itmar-block-packages")
82
+ : __("lower alignment", "itmar-block-packages");
83
83
 
84
84
  const [isContainer, setIsContainer] = useState(false);
85
85
  const [direction, setDirection] = useState("row");
@@ -123,14 +123,14 @@ export default function BlockPlace(props) {
123
123
  // 翻訳が必要な文字列を直接指定
124
124
  const blockMaxWidthMobile = __(
125
125
  "Block Max Width(Mobile)",
126
- "block-collections"
126
+ "itmar-block-packages"
127
127
  );
128
- const blockWidthMobile = __("Block Width(Mobile)", "block-collections");
128
+ const blockWidthMobile = __("Block Width(Mobile)", "itmar-block-packages");
129
129
  const blockMaxWidthDesktop = __(
130
130
  "Block Max Width(DeskTop)",
131
- "block-collections"
131
+ "itmar-block-packages"
132
132
  );
133
- const blockWidthDesktop = __("Block Width(DeskTop)", "block-collections");
133
+ const blockWidthDesktop = __("Block Width(DeskTop)", "itmar-block-packages");
134
134
 
135
135
  // 条件に応じて選択
136
136
  const blockWidthLabel = isMobile
@@ -144,14 +144,14 @@ export default function BlockPlace(props) {
144
144
  return (
145
145
  <>
146
146
  <PanelBody
147
- title={__("Block placement", "block-collections")}
147
+ title={__("Block placement", "itmar-block-packages")}
148
148
  initialOpen={false}
149
149
  className="itmar_group_direction"
150
150
  >
151
151
  {isMobile ? (
152
- <p>{__("InnerBlock direction(Mobile)", "block-collections")}</p>
152
+ <p>{__("InnerBlock direction(Mobile)", "itmar-block-packages")}</p>
153
153
  ) : (
154
- <p>{__("InnerBlock direction(DeskTop)", "block-collections")}</p>
154
+ <p>{__("InnerBlock direction(DeskTop)", "itmar-block-packages")}</p>
155
155
  )}
156
156
 
157
157
  <ToolbarGroup>
@@ -162,7 +162,7 @@ export default function BlockPlace(props) {
162
162
  isPressed={sel_pos.direction === "block"}
163
163
  onClick={() => props.onDirectionChange("block")}
164
164
  icon={group}
165
- label={__("block", "block-collections")}
165
+ label={__("block", "itmar-block-packages")}
166
166
  />
167
167
  )}
168
168
  </ToolbarItem>
@@ -173,7 +173,7 @@ export default function BlockPlace(props) {
173
173
  isPressed={sel_pos.direction === "vertical"}
174
174
  onClick={() => props.onDirectionChange("vertical")}
175
175
  icon={stack}
176
- label={__("virtical", "block-collections")}
176
+ label={__("virtical", "itmar-block-packages")}
177
177
  />
178
178
  )}
179
179
  </ToolbarItem>
@@ -184,7 +184,7 @@ export default function BlockPlace(props) {
184
184
  isPressed={sel_pos.direction === "horizen"}
185
185
  onClick={() => props.onDirectionChange("horizen")}
186
186
  icon={flex}
187
- label={__("horizen", "block-collections")}
187
+ label={__("horizen", "itmar-block-packages")}
188
188
  />
189
189
  )}
190
190
  </ToolbarItem>
@@ -195,7 +195,7 @@ export default function BlockPlace(props) {
195
195
  isPressed={sel_pos.direction === "grid"}
196
196
  onClick={() => props.onDirectionChange("grid")}
197
197
  icon={layout}
198
- label={__("grid", "block-collections")}
198
+ label={__("grid", "itmar-block-packages")}
199
199
  />
200
200
  )}
201
201
  </ToolbarItem>
@@ -203,12 +203,12 @@ export default function BlockPlace(props) {
203
203
  sel_pos.direction === "vertical") && (
204
204
  <PanelRow className="position_row">
205
205
  <ToggleControl
206
- label={__("reverse", "block-collections")}
206
+ label={__("reverse", "itmar-block-packages")}
207
207
  checked={sel_pos.reverse}
208
208
  onChange={(checked) => props.onReverseChange(checked)}
209
209
  />
210
210
  <ToggleControl
211
- label={__("wrap", "block-collections")}
211
+ label={__("wrap", "itmar-block-packages")}
212
212
  checked={sel_pos.wrap}
213
213
  onChange={(checked) => props.onWrapChange(checked)}
214
214
  />
@@ -219,9 +219,13 @@ export default function BlockPlace(props) {
219
219
  {sel_pos.direction !== "block" && sel_pos.direction !== "grid" && (
220
220
  <>
221
221
  {isMobile ? (
222
- <p>{__("InnerBlock Main Axis(Mobile)", "block-collections")}</p>
222
+ <p>
223
+ {__("InnerBlock Main Axis(Mobile)", "itmar-block-packages")}
224
+ </p>
223
225
  ) : (
224
- <p>{__("InnerBlock Main Axis(DeskTop)", "block-collections")}</p>
226
+ <p>
227
+ {__("InnerBlock Main Axis(DeskTop)", "itmar-block-packages")}
228
+ </p>
225
229
  )}
226
230
  <ToolbarGroup>
227
231
  <ToolbarItem>
@@ -244,7 +248,7 @@ export default function BlockPlace(props) {
244
248
  isPressed={sel_pos.inner_align === "center"}
245
249
  onClick={() => props.onFlexChange("center", "inner_align")} //親コンポーネントに通知
246
250
  icon={center_icon}
247
- label={__("center alignment", "block-collections")}
251
+ label={__("center alignment", "itmar-block-packages")}
248
252
  />
249
253
  )}
250
254
  </ToolbarItem>
@@ -270,7 +274,7 @@ export default function BlockPlace(props) {
270
274
  props.onFlexChange("space-between", "inner_align")
271
275
  } //親コンポーネントに通知
272
276
  icon={between_icon}
273
- label={__("beteen stretch", "block-collections")}
277
+ label={__("beteen stretch", "itmar-block-packages")}
274
278
  />
275
279
  )}
276
280
  </ToolbarItem>
@@ -283,7 +287,7 @@ export default function BlockPlace(props) {
283
287
  props.onFlexChange("space-around", "inner_align")
284
288
  } //親コンポーネントに通知
285
289
  icon={around_icon}
286
- label={__("around stretch", "block-collections")}
290
+ label={__("around stretch", "itmar-block-packages")}
287
291
  />
288
292
  )}
289
293
  </ToolbarItem>
@@ -293,9 +297,11 @@ export default function BlockPlace(props) {
293
297
 
294
298
  {!isSubmenu &&
295
299
  (isMobile ? (
296
- <p>{__("InnerBlock Cross Axis(Mobile)", "block-collections")}</p>
300
+ <p>{__("InnerBlock Cross Axis(Mobile)", "itmar-block-packages")}</p>
297
301
  ) : (
298
- <p>{__("InnerBlock Cross Axis(DeskTop)", "block-collections")}</p>
302
+ <p>
303
+ {__("InnerBlock Cross Axis(DeskTop)", "itmar-block-packages")}
304
+ </p>
299
305
  ))}
300
306
 
301
307
  {!isSubmenu && (
@@ -320,7 +326,7 @@ export default function BlockPlace(props) {
320
326
  isPressed={sel_pos.inner_items === "center"}
321
327
  onClick={() => props.onFlexChange("center", "inner_items")} //親コンポーネントに通知
322
328
  icon={center_cross}
323
- label={__("center alignment", "block-collections")}
329
+ label={__("center alignment", "itmar-block-packages")}
324
330
  />
325
331
  )}
326
332
  </ToolbarItem>
@@ -340,10 +346,12 @@ export default function BlockPlace(props) {
340
346
  {isContainer && (
341
347
  <>
342
348
  {isMobile ? (
343
- <p>{__("Alignment in container(Mobile)", "block-collections")}</p>
349
+ <p>
350
+ {__("Alignment in container(Mobile)", "itmar-block-packages")}
351
+ </p>
344
352
  ) : (
345
353
  <p>
346
- {__("Alignment in container(DeskTop)", "block-collections")}
354
+ {__("Alignment in container(DeskTop)", "itmar-block-packages")}
347
355
  </p>
348
356
  )}
349
357
 
@@ -365,8 +373,8 @@ export default function BlockPlace(props) {
365
373
  icon={direction === "row" ? upper : justifyLeft}
366
374
  label={
367
375
  direction === "row"
368
- ? __("upper alignment", "block-collections")
369
- : __("left alignment", "block-collections")
376
+ ? __("upper alignment", "itmar-block-packages")
377
+ : __("left alignment", "itmar-block-packages")
370
378
  }
371
379
  />
372
380
  )}
@@ -386,7 +394,7 @@ export default function BlockPlace(props) {
386
394
  : () => props.onAlignChange("center")
387
395
  }
388
396
  icon={direction === "row" ? middle : justifyCenter}
389
- label={__("center alignment", "block-collections")}
397
+ label={__("center alignment", "itmar-block-packages")}
390
398
  />
391
399
  )}
392
400
  </ToolbarItem>
@@ -407,8 +415,8 @@ export default function BlockPlace(props) {
407
415
  icon={direction === "row" ? lower : justifyRight}
408
416
  label={
409
417
  direction === "row"
410
- ? __("lower alignment", "block-collections")
411
- : __("right alignment", "block-collections")
418
+ ? __("lower alignment", "itmar-block-packages")
419
+ : __("right alignment", "itmar-block-packages")
412
420
  }
413
421
  />
414
422
  )}
@@ -437,12 +445,12 @@ export default function BlockPlace(props) {
437
445
  {sel_pos.direction === "grid" && (
438
446
  <>
439
447
  {isMobile ? (
440
- <p>{__("Grid Info settings(Mobile)", "block-collections")}</p>
448
+ <p>{__("Grid Info settings(Mobile)", "itmar-block-packages")}</p>
441
449
  ) : (
442
- <p>{__("Grid Info settings(DeskTop)", "block-collections")}</p>
450
+ <p>{__("Grid Info settings(DeskTop)", "itmar-block-packages")}</p>
443
451
  )}
444
452
  <Button variant="primary" onClick={openGridModal}>
445
- {__("Open Setting Modal", "block-collections")}
453
+ {__("Open Setting Modal", "itmar-block-packages")}
446
454
  </Button>
447
455
  {isGridModalOpen && (
448
456
  <Modal title="Grid Info settings" onRequestClose={closeGridModal}>
@@ -459,14 +467,20 @@ export default function BlockPlace(props) {
459
467
  )}
460
468
  <div className="itmar_title_type">
461
469
  <RadioControl
462
- label={__("Position Type", "block-collections")}
470
+ label={__("Position Type", "itmar-block-packages")}
463
471
  selected={positionType}
464
472
  options={[
465
- { label: __("Static", "block-collections"), value: "staic" },
466
- { label: __("Relative", "block-collections"), value: "relative" },
467
- { label: __("Absolute", "block-collections"), value: "absolute" },
468
- { label: __("Fix", "block-collections"), value: "fixed" },
469
- { label: __("Sticky", "block-collections"), value: "sticky" },
473
+ { label: __("Static", "itmar-block-packages"), value: "staic" },
474
+ {
475
+ label: __("Relative", "itmar-block-packages"),
476
+ value: "relative",
477
+ },
478
+ {
479
+ label: __("Absolute", "itmar-block-packages"),
480
+ value: "absolute",
481
+ },
482
+ { label: __("Fix", "itmar-block-packages"), value: "fixed" },
483
+ { label: __("Sticky", "itmar-block-packages"), value: "sticky" },
470
484
  ]}
471
485
  onChange={(newVal) => {
472
486
  props.onPositionChange(newVal);
@@ -477,7 +491,7 @@ export default function BlockPlace(props) {
477
491
  <ToggleControl
478
492
  label={__(
479
493
  "Center Vertically and Horizontally",
480
- "block-collections"
494
+ "itmar-block-packages"
481
495
  )}
482
496
  checked={isPosCenter}
483
497
  onChange={(newVal) => {
@@ -490,12 +504,12 @@ export default function BlockPlace(props) {
490
504
  positionType === "sticky") && (
491
505
  <>
492
506
  {isMobile ? (
493
- <p>{__("Block Position(Mobile)", "block-collections")}</p>
507
+ <p>{__("Block Position(Mobile)", "itmar-block-packages")}</p>
494
508
  ) : (
495
- <p>{__("Block Position(DeskTop)", "block-collections")}</p>
509
+ <p>{__("Block Position(DeskTop)", "itmar-block-packages")}</p>
496
510
  )}
497
511
  <PanelBody
498
- title={__("Vertical", "block-collections")}
512
+ title={__("Vertical", "itmar-block-packages")}
499
513
  initialOpen={true}
500
514
  >
501
515
  {!sel_pos.posValue?.isVertCenter && (
@@ -529,7 +543,7 @@ export default function BlockPlace(props) {
529
543
  )}
530
544
  {!isParallax && (
531
545
  <ToggleControl
532
- label={__("Is Center", "block-collections")}
546
+ label={__("Is Center", "itmar-block-packages")}
533
547
  checked={sel_pos.posValue?.isVertCenter}
534
548
  onChange={(newValue) => {
535
549
  const newValObj = {
@@ -543,7 +557,7 @@ export default function BlockPlace(props) {
543
557
  </PanelBody>
544
558
 
545
559
  <PanelBody
546
- title={__("Horizon", "block-collections")}
560
+ title={__("Horizon", "itmar-block-packages")}
547
561
  initialOpen={true}
548
562
  >
549
563
  {!sel_pos.posValue?.isHorCenter && (
@@ -577,7 +591,7 @@ export default function BlockPlace(props) {
577
591
  )}
578
592
  {!isParallax && (
579
593
  <ToggleControl
580
- label={__("Is Center", "block-collections")}
594
+ label={__("Is Center", "itmar-block-packages")}
581
595
  checked={sel_pos.posValue?.isHorCenter}
582
596
  onChange={(newValue) => {
583
597
  const newValObj = {
@@ -606,14 +620,14 @@ export function BlockWidth(props) {
606
620
  // 翻訳が必要な文字列を直接指定
607
621
  const blockMaxWidthMobile = __(
608
622
  "Block Max Width(Mobile)",
609
- "block-collections"
623
+ "itmar-block-packages"
610
624
  );
611
- const blockWidthMobile = __("Block Width(Mobile)", "block-collections");
625
+ const blockWidthMobile = __("Block Width(Mobile)", "itmar-block-packages");
612
626
  const blockMaxWidthDesktop = __(
613
627
  "Block Max Width(DeskTop)",
614
- "block-collections"
628
+ "itmar-block-packages"
615
629
  );
616
- const blockWidthDesktop = __("Block Width(DeskTop)", "block-collections");
630
+ const blockWidthDesktop = __("Block Width(DeskTop)", "itmar-block-packages");
617
631
 
618
632
  // ラベル
619
633
  const widthLabel = isMobile ? blockWidthMobile : blockWidthDesktop;
@@ -649,7 +663,7 @@ export function BlockWidth(props) {
649
663
  isPressed={sel_pos.width_val === "wideSize"}
650
664
  onClick={() => props.onWidthChange("width_val", "wideSize")}
651
665
  icon={stretchWide}
652
- label={__("Wide Size", "block-collections")}
666
+ label={__("Wide Size", "itmar-block-packages")}
653
667
  />
654
668
  )}
655
669
  </ToolbarItem>
@@ -660,7 +674,7 @@ export function BlockWidth(props) {
660
674
  isPressed={sel_pos.width_val === "contentSize"}
661
675
  onClick={() => props.onWidthChange("width_val", "contentSize")}
662
676
  icon={positionCenter}
663
- label={__("Content Size", "block-collections")}
677
+ label={__("Content Size", "itmar-block-packages")}
664
678
  />
665
679
  )}
666
680
  </ToolbarItem>
@@ -714,7 +728,7 @@ export function BlockWidth(props) {
714
728
  isPressed={sel_pos.max_width === "wideSize"}
715
729
  onClick={() => props.onWidthChange("max_width", "wideSize")}
716
730
  icon={stretchWide}
717
- label={__("Wide Size", "block-collections")}
731
+ label={__("Wide Size", "itmar-block-packages")}
718
732
  />
719
733
  )}
720
734
  </ToolbarItem>
@@ -725,7 +739,7 @@ export function BlockWidth(props) {
725
739
  isPressed={sel_pos.max_width === "contentSize"}
726
740
  onClick={() => props.onWidthChange("max_width", "contentSize")}
727
741
  icon={positionCenter}
728
- label={__("Content Size", "block-collections")}
742
+ label={__("Content Size", "itmar-block-packages")}
729
743
  />
730
744
  )}
731
745
  </ToolbarItem>
@@ -764,9 +778,9 @@ export function BlockHeight(props) {
764
778
  return (
765
779
  <>
766
780
  {isMobile ? (
767
- <p>{__("Block Height(Mobile)", "block-collections")}</p>
781
+ <p>{__("Block Height(Mobile)", "itmar-block-packages")}</p>
768
782
  ) : (
769
- <p>{__("Block Height(DeskTop)", "block-collections")}</p>
783
+ <p>{__("Block Height(DeskTop)", "itmar-block-packages")}</p>
770
784
  )}
771
785
  <ToolbarGroup>
772
786
  <ToolbarItem>
package/src/DateElm.js CHANGED
@@ -88,14 +88,14 @@ export const PeriodCtrl = ({
88
88
  }) => {
89
89
  return (
90
90
  <PanelBody
91
- title={__("Period Setting", "block-collections")}
91
+ title={__("Period Setting", "itmar-block-packages")}
92
92
  initialOpen={true}
93
93
  className="form_setteing_ctrl"
94
94
  >
95
- <label>{__("Start of period", "block-collections")}</label>
95
+ <label>{__("Start of period", "itmar-block-packages")}</label>
96
96
  <PanelRow className="itmar_date_span">
97
97
  <NumberControl
98
- label={__("Year", "block-collections")}
98
+ label={__("Year", "itmar-block-packages")}
99
99
  labelPosition="side"
100
100
  max={endYear}
101
101
  min={startYear}
@@ -112,7 +112,7 @@ export const PeriodCtrl = ({
112
112
  />
113
113
  {isMonth && (
114
114
  <NumberControl
115
- label={__("Month", "block-collections")}
115
+ label={__("Month", "itmar-block-packages")}
116
116
  labelPosition="side"
117
117
  max={12}
118
118
  min={1}
@@ -129,10 +129,10 @@ export const PeriodCtrl = ({
129
129
  />
130
130
  )}
131
131
  </PanelRow>
132
- <label>{__("End of period", "block-collections")}</label>
132
+ <label>{__("End of period", "itmar-block-packages")}</label>
133
133
  <PanelRow className="itmar_date_span">
134
134
  <NumberControl
135
- label={__("Year", "block-collections")}
135
+ label={__("Year", "itmar-block-packages")}
136
136
  labelPosition="side"
137
137
  max={endYear}
138
138
  min={startYear}
@@ -148,7 +148,7 @@ export const PeriodCtrl = ({
148
148
  value={dateSpan.endYear}
149
149
  />
150
150
  <NumberControl
151
- label={__("Month", "block-collections")}
151
+ label={__("Month", "itmar-block-packages")}
152
152
  labelPosition="side"
153
153
  max={12}
154
154
  min={1}
@@ -115,26 +115,26 @@ export default function DraggableBox(props) {
115
115
  return (
116
116
  <>
117
117
  <PanelBody
118
- title={__("Position Setting", "block-collections")}
118
+ title={__("Position Setting", "itmar-block-packages")}
119
119
  initialOpen={true}
120
120
  >
121
121
  <PanelRow className="distance_row">
122
122
  <UnitControl
123
123
  dragDirection="e"
124
124
  onChange={(value) => chagePosition(value, "x")}
125
- label={__("Vertical", "block-collections")}
125
+ label={__("Vertical", "itmar-block-packages")}
126
126
  value={position?.x || 0}
127
127
  />
128
128
  <UnitControl
129
129
  dragDirection="e"
130
130
  onChange={(value) => chagePosition(value, "y")}
131
- label={__("Horizen", "block-collections")}
131
+ label={__("Horizen", "itmar-block-packages")}
132
132
  value={position?.y || 0}
133
133
  />
134
134
  </PanelRow>
135
135
  <PanelRow className="reset_row">
136
136
  <Button variant="secondary" onClick={() => resetPos()}>
137
- {__("Reset", "block-collections")}
137
+ {__("Reset", "itmar-block-packages")}
138
138
  </Button>
139
139
  </PanelRow>
140
140
  </PanelBody>
@@ -173,7 +173,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
173
173
  {setElm &&
174
174
  <StopPropagationWrapper>
175
175
  <ToolbarDropdownMenu
176
- label={__('Lateral Alignment', 'block-collections')}
176
+ label={__('Lateral Alignment', 'itmar-block-packages')}
177
177
  icon={setElm.elm.latAlign ? alignIconMap[setElm.elm.latAlign] : alignIconMap['left']}
178
178
  controls={['left', 'center', 'right'].map(align => ({
179
179
  icon: alignIconMap[align],
@@ -182,7 +182,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
182
182
  }))}
183
183
  />
184
184
  <ToolbarDropdownMenu
185
- label={__('Vertical Alignment', 'block-collections')}
185
+ label={__('Vertical Alignment', 'itmar-block-packages')}
186
186
  icon={setElm.elm.vertAlign ? alignIconMap[setElm.elm.vertAlign] : alignIconMap['upper']}
187
187
  controls={['upper', 'middle', 'lower'].map(align => ({
188
188
  icon: alignIconMap[align],
@@ -337,7 +337,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
337
337
  const input_val = typeof (newValue) === 'number' ? newValue : Number(newValue);
338
338
  setRowCount(input_val);
339
339
  }}
340
- label={__('Number of Row ', 'block-collections')}
340
+ label={__('Number of Row ', 'itmar-block-packages')}
341
341
  value={rowCount}
342
342
  min={2}
343
343
  />
@@ -346,7 +346,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
346
346
  const input_val = typeof (newValue) === 'number' ? newValue : Number(newValue);
347
347
  setColCount(input_val);
348
348
  }}
349
- label={__('Number of Colum', 'block-collections')}
349
+ label={__('Number of Colum', 'itmar-block-packages')}
350
350
  value={colCount}
351
351
  />
352
352
  </PanelRow>
@@ -359,7 +359,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
359
359
  const newStyle = { ...attributes, rowGap: newValue };
360
360
  onChange(newStyle);
361
361
  }}
362
- label={__('Row Gap', 'block-collections')}
362
+ label={__('Row Gap', 'itmar-block-packages')}
363
363
  value={rowGap}
364
364
  units={units}
365
365
  />
@@ -369,7 +369,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
369
369
  const newStyle = { ...attributes, colGap: newValue };
370
370
  onChange(newStyle);
371
371
  }}
372
- label={__('Colum Gap', 'block-collections')}
372
+ label={__('Colum Gap', 'itmar-block-packages')}
373
373
  value={colGap}
374
374
  units={units}
375
375
  />
@@ -377,9 +377,9 @@ const GridControls = ({ attributes, clientId, onChange }) => {
377
377
  </PanelRow>
378
378
 
379
379
  <PanelRow className='distance_row'>
380
- <p>{__('Element placement', 'block-collections')}</p>
380
+ <p>{__('Element placement', 'itmar-block-packages')}</p>
381
381
  <Button variant="secondary" onClick={clear_placement}>
382
- {__("Clear", 'block-collections')}
382
+ {__("Clear", 'itmar-block-packages')}
383
383
  </Button>
384
384
  </PanelRow>
385
385
 
@@ -389,7 +389,7 @@ const GridControls = ({ attributes, clientId, onChange }) => {
389
389
  </table>
390
390
  </PanelRow>
391
391
  <ComboboxControl
392
- label={__('InnerBlock Name', 'block-collections')}
392
+ label={__('InnerBlock Name', 'itmar-block-packages')}
393
393
  options={blockNames}
394
394
  value={selBlock ? selBlock.value : null}
395
395
  onChange={(sel_id) => {