@kaizen/components 1.73.3 → 1.73.4

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.
@@ -31,21 +31,19 @@ var InputEditModal = function (_a) {
31
31
  onSubmit = _a.onSubmit,
32
32
  onSecondaryAction = _a.onSecondaryAction,
33
33
  onAfterLeave = _a.onAfterLeave,
34
- _b = _a.localeDirection,
35
- localeDirection = _b === undefined ? 'ltr' : _b,
36
- _c = _a.submitLabel,
37
- submitLabel = _c === undefined ? 'Submit' : _c,
38
- _d = _a.dismissLabel,
39
- dismissLabel = _d === undefined ? 'Cancel' : _d,
34
+ _b = _a.submitLabel,
35
+ submitLabel = _b === undefined ? 'Submit' : _b,
36
+ _c = _a.dismissLabel,
37
+ dismissLabel = _c === undefined ? 'Cancel' : _c,
40
38
  secondaryLabel = _a.secondaryLabel,
41
39
  submitWorking = _a.submitWorking,
42
40
  children = _a.children,
43
- _e = _a.unpadded,
44
- unpadded = _e === undefined ? false : _e,
41
+ _d = _a.unpadded,
42
+ unpadded = _d === undefined ? false : _d,
45
43
  propsOnDismiss = _a.onDismiss,
46
44
  onAfterEnter = _a.onAfterEnter,
47
45
  className = _a.className,
48
- props = tslib.__rest(_a, ["isOpen", "mood", "title", "onSubmit", "onSecondaryAction", "onAfterLeave", "localeDirection", "submitLabel", "dismissLabel", "secondaryLabel", "submitWorking", "children", "unpadded", "onDismiss", "onAfterEnter", "className"]);
46
+ props = tslib.__rest(_a, ["isOpen", "mood", "title", "onSubmit", "onSecondaryAction", "onAfterLeave", "submitLabel", "dismissLabel", "secondaryLabel", "submitWorking", "children", "unpadded", "onDismiss", "onAfterEnter", "className"]);
49
47
  var onDismiss = submitWorking ? undefined : propsOnDismiss;
50
48
  var submitAction = {
51
49
  label: submitLabel,
@@ -70,18 +68,16 @@ var InputEditModal = function (_a) {
70
68
  className: className
71
69
  }, React__default.default.createElement("div", tslib.__assign({
72
70
  className: InputEditModal_module.modal,
73
- dir: localeDirection,
74
71
  "data-modal": true
75
72
  }, props), React__default.default.createElement(ModalHeader.ModalHeader, {
76
73
  onDismiss: onDismiss
77
74
  }, React__default.default.createElement("div", {
78
- className: classnames__default.default(InputEditModal_module.header, localeDirection === 'rtl' && InputEditModal_module.textAlignRTL, !unpadded && InputEditModal_module.padded)
75
+ className: classnames__default.default(InputEditModal_module.header, !unpadded && InputEditModal_module.padded)
79
76
  }, React__default.default.createElement(ModalAccessibleLabel.ModalAccessibleLabel, null, React__default.default.createElement(Heading.Heading, {
80
77
  tag: "h2",
81
78
  variant: "heading-2"
82
79
  }, title)))), React__default.default.createElement(ModalBody.ModalBody, null, React__default.default.createElement("div", {
83
- className: classnames__default.default(InputEditModal_module.body, !unpadded && InputEditModal_module.padded),
84
- dir: localeDirection
80
+ className: classnames__default.default(InputEditModal_module.body, !unpadded && InputEditModal_module.padded)
85
81
  }, children)), React__default.default.createElement(ModalFooter.ModalFooter, {
86
82
  actions: footerActions,
87
83
  appearance: mood === 'destructive' ? 'destructive' : 'primary',
@@ -18,7 +18,6 @@ var styles = {
18
18
  "custom-5": "InputEditModal-module_custom-5__trORr",
19
19
  "custom-7": "InputEditModal-module_custom-7__-98CZ",
20
20
  "header": "InputEditModal-module_header__nivTf",
21
- "textAlignRTL": "InputEditModal-module_textAlignRTL__5QQP8",
22
21
  "padded": "InputEditModal-module_padded__ZdEIS",
23
22
  "body": "InputEditModal-module_body__LyxBE"
24
23
  };
@@ -23,21 +23,19 @@ const InputEditModal = /*#__PURE__*/function () {
23
23
  onSubmit = _a.onSubmit,
24
24
  onSecondaryAction = _a.onSecondaryAction,
25
25
  onAfterLeave = _a.onAfterLeave,
26
- _b = _a.localeDirection,
27
- localeDirection = _b === undefined ? 'ltr' : _b,
28
- _c = _a.submitLabel,
29
- submitLabel = _c === undefined ? 'Submit' : _c,
30
- _d = _a.dismissLabel,
31
- dismissLabel = _d === undefined ? 'Cancel' : _d,
26
+ _b = _a.submitLabel,
27
+ submitLabel = _b === undefined ? 'Submit' : _b,
28
+ _c = _a.dismissLabel,
29
+ dismissLabel = _c === undefined ? 'Cancel' : _c,
32
30
  secondaryLabel = _a.secondaryLabel,
33
31
  submitWorking = _a.submitWorking,
34
32
  children = _a.children,
35
- _e = _a.unpadded,
36
- unpadded = _e === undefined ? false : _e,
33
+ _d = _a.unpadded,
34
+ unpadded = _d === undefined ? false : _d,
37
35
  propsOnDismiss = _a.onDismiss,
38
36
  onAfterEnter = _a.onAfterEnter,
39
37
  className = _a.className,
40
- props = __rest(_a, ["isOpen", "mood", "title", "onSubmit", "onSecondaryAction", "onAfterLeave", "localeDirection", "submitLabel", "dismissLabel", "secondaryLabel", "submitWorking", "children", "unpadded", "onDismiss", "onAfterEnter", "className"]);
38
+ props = __rest(_a, ["isOpen", "mood", "title", "onSubmit", "onSecondaryAction", "onAfterLeave", "submitLabel", "dismissLabel", "secondaryLabel", "submitWorking", "children", "unpadded", "onDismiss", "onAfterEnter", "className"]);
41
39
  var onDismiss = submitWorking ? undefined : propsOnDismiss;
42
40
  var submitAction = {
43
41
  label: submitLabel,
@@ -62,18 +60,16 @@ const InputEditModal = /*#__PURE__*/function () {
62
60
  className: className
63
61
  }, /*#__PURE__*/React.createElement("div", __assign({
64
62
  className: styles.modal,
65
- dir: localeDirection,
66
63
  "data-modal": true
67
64
  }, props), /*#__PURE__*/React.createElement(ModalHeader, {
68
65
  onDismiss: onDismiss
69
66
  }, /*#__PURE__*/React.createElement("div", {
70
- className: classnames(styles.header, localeDirection === 'rtl' && styles.textAlignRTL, !unpadded && styles.padded)
67
+ className: classnames(styles.header, !unpadded && styles.padded)
71
68
  }, /*#__PURE__*/React.createElement(ModalAccessibleLabel, null, /*#__PURE__*/React.createElement(Heading, {
72
69
  tag: "h2",
73
70
  variant: "heading-2"
74
71
  }, title)))), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement("div", {
75
- className: classnames(styles.body, !unpadded && styles.padded),
76
- dir: localeDirection
72
+ className: classnames(styles.body, !unpadded && styles.padded)
77
73
  }, children)), /*#__PURE__*/React.createElement(ModalFooter, {
78
74
  actions: footerActions,
79
75
  appearance: mood === 'destructive' ? 'destructive' : 'primary',
@@ -16,7 +16,6 @@ var styles = {
16
16
  "custom-5": "InputEditModal-module_custom-5__trORr",
17
17
  "custom-7": "InputEditModal-module_custom-7__-98CZ",
18
18
  "header": "InputEditModal-module_header__nivTf",
19
- "textAlignRTL": "InputEditModal-module_textAlignRTL__5QQP8",
20
19
  "padded": "InputEditModal-module_padded__ZdEIS",
21
20
  "body": "InputEditModal-module_body__LyxBE"
22
21
  };
package/dist/styles.css CHANGED
@@ -6409,7 +6409,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6409
6409
 
6410
6410
  .GenericModal-module_pseudoScrollbar__BhRqh {
6411
6411
  /* Tech debt - this !important existed before Stylelint rules */
6412
- padding-right: 15px !important; /* stylelint-disable-line declaration-no-important */
6412
+ padding-inline-end: 15px !important; /* stylelint-disable-line declaration-no-important */
6413
6413
  }
6414
6414
 
6415
6415
  .GenericModal-module_hide__SK9PI {
@@ -6460,11 +6460,11 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6460
6460
  }
6461
6461
 
6462
6462
  .ModalFooter-module_actionButton__YD4vG + .ModalFooter-module_actionButton__YD4vG {
6463
- margin-right: var(--spacing-sm, 0.75rem);
6463
+ margin-inline-end: var(--spacing-sm, 0.75rem);
6464
6464
  }
6465
6465
  @media (max-width: calc(768px - 1px)) {
6466
6466
  .ModalFooter-module_actionButton__YD4vG + .ModalFooter-module_actionButton__YD4vG {
6467
- margin-top: var(--spacing-sm, 0.75rem);
6467
+ margin-block-start: var(--spacing-sm, 0.75rem);
6468
6468
  }
6469
6469
  }
6470
6470
 
@@ -6480,7 +6480,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6480
6480
  }
6481
6481
 
6482
6482
  .ModalFooter-module_border__jj-Zy {
6483
- border-top: 1px solid var(--border-solid-border-color, #e1e2ea);
6483
+ border-block-start: 1px solid var(--border-solid-border-color, #e1e2ea);
6484
6484
  }
6485
6485
 
6486
6486
  .ModalFooter-module_start__0GJno {
@@ -6495,8 +6495,8 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6495
6495
 
6496
6496
  .ModalFooter-module_fixed__mV5fZ {
6497
6497
  position: absolute;
6498
- bottom: 0;
6499
- left: 0;
6498
+ inset-block-end: 0;
6499
+ inset-inline-start: 0;
6500
6500
  }
6501
6501
 
6502
6502
  .ModalFooter-module_filler__kElGb {
@@ -6531,8 +6531,8 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6531
6531
 
6532
6532
  .ModalHeader-module_fixed__JEeic {
6533
6533
  position: absolute;
6534
- top: 0;
6535
- left: 0;
6534
+ inset-block-start: 0;
6535
+ inset-inline-start: 0;
6536
6536
  }
6537
6537
 
6538
6538
  .ModalHeader-module_filler__w1MCN {
@@ -6555,7 +6555,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6555
6555
  }
6556
6556
  .ModalAccessibleLabel-module_modalLabel__CQAIs.ModalAccessibleLabel-module_prominent__WEPnY {
6557
6557
  grid-column-start: 2;
6558
- text-align: left;
6558
+ text-align: start;
6559
6559
  }
6560
6560
  .ModalAccessibleLabel-module_modalLabel__CQAIs:focus {
6561
6561
  outline: none;
@@ -6798,7 +6798,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6798
6798
 
6799
6799
  .ConfirmationModal-module_pseudoScrollbar__NqMuT {
6800
6800
  /* Tech debt - this !important existed before Stylelint rules */
6801
- padding-right: 15px !important; /* stylelint-disable-line declaration-no-important */
6801
+ padding-inline-end: 15px !important; /* stylelint-disable-line declaration-no-important */
6802
6802
  }
6803
6803
 
6804
6804
  .ConfirmationModal-module_hide__jOdWV {
@@ -6819,7 +6819,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6819
6819
  grid-template-columns: 0.2fr 2fr;
6820
6820
  align-items: center;
6821
6821
  color: var(--color-white, #ffffff);
6822
- text-align: left;
6822
+ text-align: start;
6823
6823
  border-radius: var(--border-solid-border-radius, 7px) var(--border-solid-border-radius, 7px) 0 0;
6824
6824
  }
6825
6825
  .ConfirmationModal-module_header__Ooy23.ConfirmationModal-module_padded__nGa2- {
@@ -6850,9 +6850,9 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6850
6850
  }
6851
6851
  @media (max-width: 768px) {
6852
6852
  .ConfirmationModal-module_iconContainer__QjdGa .ConfirmationModal-module_spotIcon__rFSHQ {
6853
- margin-right: 0.9375rem;
6853
+ margin-inline-end: 0.9375rem;
6854
6854
  position: relative;
6855
- top: 0.125rem;
6855
+ inset-block-start: 0.125rem;
6856
6856
  }
6857
6857
  }
6858
6858
 
@@ -6872,13 +6872,13 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
6872
6872
  }
6873
6873
  .ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa {
6874
6874
  position: absolute;
6875
- top: 8%;
6875
+ inset-block-start: 8%;
6876
6876
  }
6877
6877
  @media (max-width: 768px) {
6878
6878
  .ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_iconContainer__QjdGa {
6879
6879
  position: relative;
6880
- top: 0;
6881
- margin-bottom: var(--spacing-sm, 0.75rem);
6880
+ inset-block-start: 0;
6881
+ margin-block-end: var(--spacing-sm, 0.75rem);
6882
6882
  }
6883
6883
  }
6884
6884
  .ConfirmationModal-module_prominent__8-gkP .ConfirmationModal-module_spotIcon__rFSHQ {
@@ -7153,7 +7153,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
7153
7153
 
7154
7154
  .ContextModal-module_pseudoScrollbar__6RfHj {
7155
7155
  /* Tech debt - this !important existed before Stylelint rules */
7156
- padding-right: 15px !important; /* stylelint-disable-line declaration-no-important */
7156
+ padding-inline-end: 15px !important; /* stylelint-disable-line declaration-no-important */
7157
7157
  }
7158
7158
 
7159
7159
  .ContextModal-module_hide__Sdnsg {
@@ -7228,7 +7228,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
7228
7228
  }
7229
7229
 
7230
7230
  .ContextModal-module_footerWithSecondaryAction__-5sq8 {
7231
- margin-left: calc(-1 * var(--spacing-sm, 0.75rem));
7231
+ margin-inline-start: calc(-1 * var(--spacing-sm, 0.75rem));
7232
7232
  }
7233
7233
 
7234
7234
  .ContextModal-module_emptyFooter__UHWc- {
@@ -7268,7 +7268,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
7268
7268
  justify-content: center;
7269
7269
  }
7270
7270
  .ContextModal-module_landscapeContentlayout__IFqQN .ContextModal-module_content__-KrFF {
7271
- padding-left: 0;
7271
+ padding-inline-start: 0;
7272
7272
  }
7273
7273
  @media (min-width: 768px) {
7274
7274
  .ContextModal-module_landscapeContentlayout__IFqQN .ContextModal-module_content__-KrFF {
@@ -7476,7 +7476,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
7476
7476
 
7477
7477
  .InputEditModal-module_pseudoScrollbar__WCHmn {
7478
7478
  /* Tech debt - this !important existed before Stylelint rules */
7479
- padding-right: 15px !important; /* stylelint-disable-line declaration-no-important */
7479
+ padding-inline-end: 15px !important; /* stylelint-disable-line declaration-no-important */
7480
7480
  }
7481
7481
 
7482
7482
  .InputEditModal-module_hide__N88RW {
@@ -7525,10 +7525,7 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
7525
7525
 
7526
7526
  .InputEditModal-module_header__nivTf {
7527
7527
  color: var(--color-purple-800, #2f2438);
7528
- text-align: left;
7529
- }
7530
- .InputEditModal-module_header__nivTf.InputEditModal-module_textAlignRTL__5QQP8 {
7531
- text-align: right;
7528
+ text-align: start;
7532
7529
  }
7533
7530
  .InputEditModal-module_header__nivTf.InputEditModal-module_padded__ZdEIS {
7534
7531
  padding: var(--spacing-md, 1.5rem) var(--spacing-lg, 2.25rem);
@@ -14,7 +14,6 @@ export type InputEditModalProps = {
14
14
  onAfterEnter?: () => void;
15
15
  /** A callback that is triggered after the modal is closed. */
16
16
  onAfterLeave?: () => void;
17
- localeDirection?: 'rtl' | 'ltr';
18
17
  submitLabel?: string;
19
18
  dismissLabel?: string;
20
19
  secondaryLabel?: string;
@@ -33,6 +32,6 @@ export type InputEditModalProps = {
33
32
  * {@link https://cultureamp.design/?path=/docs/components-modals-inputeditmodal--docs Storybook}
34
33
  */
35
34
  export declare const InputEditModal: {
36
- ({ isOpen, mood, title, onSubmit, onSecondaryAction, onAfterLeave, localeDirection, submitLabel, dismissLabel, secondaryLabel, submitWorking, children, unpadded, onDismiss: propsOnDismiss, onAfterEnter, className, ...props }: InputEditModalProps): JSX.Element;
35
+ ({ isOpen, mood, title, onSubmit, onSecondaryAction, onAfterLeave, submitLabel, dismissLabel, secondaryLabel, submitWorking, children, unpadded, onDismiss: propsOnDismiss, onAfterEnter, className, ...props }: InputEditModalProps): JSX.Element;
37
36
  displayName: string;
38
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.73.3",
3
+ "version": "1.73.4",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -21,7 +21,7 @@
21
21
  grid-template-columns: 0.2fr 2fr;
22
22
  align-items: center;
23
23
  color: $color-white;
24
- text-align: left;
24
+ text-align: start;
25
25
  border-radius: $border-solid-border-radius $border-solid-border-radius 0 0;
26
26
 
27
27
  &.padded {
@@ -53,9 +53,9 @@
53
53
  height: 30px;
54
54
 
55
55
  @media (max-width: $layout-breakpoints-medium) {
56
- margin-right: 0.9375rem;
56
+ margin-inline-end: 0.9375rem;
57
57
  position: relative;
58
- top: 0.125rem;
58
+ inset-block-start: 0.125rem;
59
59
  }
60
60
  }
61
61
  }
@@ -75,12 +75,12 @@
75
75
 
76
76
  .iconContainer {
77
77
  position: absolute;
78
- top: 8%;
78
+ inset-block-start: 8%;
79
79
 
80
80
  @media (max-width: $layout-breakpoints-medium) {
81
81
  position: relative;
82
- top: 0;
83
- margin-bottom: $spacing-sm;
82
+ inset-block-start: 0;
83
+ margin-block-end: $spacing-sm;
84
84
  }
85
85
  }
86
86
 
@@ -58,7 +58,7 @@
58
58
  .footerWithSecondaryAction {
59
59
  @extend %footer;
60
60
 
61
- margin-left: calc(-1 * #{$spacing-sm});
61
+ margin-inline-start: calc(-1 * #{$spacing-sm});
62
62
  }
63
63
 
64
64
  .emptyFooter {
@@ -97,7 +97,7 @@
97
97
  }
98
98
 
99
99
  .content {
100
- padding-left: 0;
100
+ padding-inline-start: 0;
101
101
 
102
102
  @media (min-width: $layout-breakpoints-medium) {
103
103
  max-width: 100%;
@@ -115,7 +115,7 @@
115
115
 
116
116
  .pseudoScrollbar {
117
117
  /* Tech debt - this !important existed before Stylelint rules */
118
- padding-right: 15px !important; /* stylelint-disable-line declaration-no-important */
118
+ padding-inline-end: 15px !important; /* stylelint-disable-line declaration-no-important */
119
119
  }
120
120
 
121
121
  .hide {
@@ -27,7 +27,7 @@ $ca-breakpoint-small-mobile: 375px;
27
27
 
28
28
  &.prominent {
29
29
  grid-column-start: 2;
30
- text-align: left;
30
+ text-align: start;
31
31
  }
32
32
 
33
33
  &:focus {
@@ -32,10 +32,10 @@
32
32
  }
33
33
 
34
34
  .actionButton + .actionButton {
35
- margin-right: $spacing-sm;
35
+ margin-inline-end: $spacing-sm;
36
36
 
37
37
  @media (max-width: (calc(#{$layout-breakpoints-medium} - 1px))) {
38
- margin-top: $spacing-sm;
38
+ margin-block-start: $spacing-sm;
39
39
  }
40
40
  }
41
41
 
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .border {
54
- border-top: 1px solid $border-solid-border-color;
54
+ border-block-start: 1px solid $border-solid-border-color;
55
55
  }
56
56
 
57
57
  .start {
@@ -66,8 +66,8 @@
66
66
 
67
67
  .fixed {
68
68
  position: absolute;
69
- bottom: 0;
70
- left: 0;
69
+ inset-block-end: 0;
70
+ inset-inline-start: 0;
71
71
  }
72
72
 
73
73
  .filler {
@@ -15,8 +15,8 @@
15
15
 
16
16
  .fixed {
17
17
  position: absolute;
18
- top: 0;
19
- left: 0;
18
+ inset-block-start: 0;
19
+ inset-inline-start: 0;
20
20
  }
21
21
 
22
22
  .filler {
@@ -28,11 +28,7 @@
28
28
 
29
29
  .header {
30
30
  color: $color-purple-800;
31
- text-align: left;
32
-
33
- &.textAlignRTL {
34
- text-align: right;
35
- }
31
+ text-align: start;
36
32
 
37
33
  &.padded {
38
34
  padding: $spacing-md $spacing-lg;
@@ -26,7 +26,6 @@ export type InputEditModalProps = {
26
26
  onAfterEnter?: () => void
27
27
  /** A callback that is triggered after the modal is closed. */
28
28
  onAfterLeave?: () => void
29
- localeDirection?: 'rtl' | 'ltr'
30
29
  submitLabel?: string
31
30
  dismissLabel?: string
32
31
  secondaryLabel?: string
@@ -49,7 +48,6 @@ export const InputEditModal = ({
49
48
  onSubmit,
50
49
  onSecondaryAction,
51
50
  onAfterLeave,
52
- localeDirection = 'ltr',
53
51
  submitLabel = 'Submit',
54
52
  dismissLabel = 'Cancel',
55
53
  secondaryLabel,
@@ -90,15 +88,9 @@ export const InputEditModal = ({
90
88
  onAfterEnter={onAfterEnter}
91
89
  className={className}
92
90
  >
93
- <div className={styles.modal} dir={localeDirection} data-modal {...props}>
91
+ <div className={styles.modal} data-modal {...props}>
94
92
  <ModalHeader onDismiss={onDismiss}>
95
- <div
96
- className={classnames(
97
- styles.header,
98
- localeDirection === 'rtl' && styles.textAlignRTL,
99
- !unpadded && styles.padded,
100
- )}
101
- >
93
+ <div className={classnames(styles.header, !unpadded && styles.padded)}>
102
94
  <ModalAccessibleLabel>
103
95
  <Heading tag="h2" variant="heading-2">
104
96
  {title}
@@ -107,12 +99,7 @@ export const InputEditModal = ({
107
99
  </div>
108
100
  </ModalHeader>
109
101
  <ModalBody>
110
- <div
111
- className={classnames(styles.body, !unpadded && styles.padded)}
112
- dir={localeDirection}
113
- >
114
- {children}
115
- </div>
102
+ <div className={classnames(styles.body, !unpadded && styles.padded)}>{children}</div>
116
103
  </ModalBody>
117
104
  <ModalFooter
118
105
  actions={footerActions}