dce-reactkit 3.10.1 → 3.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.10.1",
3
+ "version": "3.10.2",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -117,18 +117,17 @@ const CheckboxButton: React.FC<Props> = (props) => {
117
117
  onChanged(!checked);
118
118
  }}
119
119
  >
120
- <div className="d-flex">
121
- <div className="align-items-center">
120
+ <div className="d-flex align-items-center">
121
+ <div className="me-1">
122
122
  <FontAwesomeIcon
123
123
  icon={icon}
124
- className="me-1"
125
124
  />
126
125
  </div>
127
126
  {
128
127
  useComplexFormatting
129
128
  ? (
130
129
  <pre
131
- className="ps-2 text-start text-break"
130
+ className="ps-1 text-start text-break"
132
131
  style={{
133
132
  whiteSpace: 'pre-wrap',
134
133
  }}
@@ -137,7 +136,7 @@ const CheckboxButton: React.FC<Props> = (props) => {
137
136
  </pre>
138
137
  )
139
138
  : (
140
- <div className="flex-grow-1 text-start text-break ps-2">
139
+ <div className="flex-grow-1 text-start text-break">
141
140
  {text}
142
141
  </div>
143
142
  )
@@ -101,18 +101,17 @@ const RadioButton: React.FC<Props> = (props) => {
101
101
  }
102
102
  }}
103
103
  >
104
- <div className="d-flex">
105
- <div className="align-items-center">
104
+ <div className="d-flex flex-row align-items-center">
105
+ <div className="me-1">
106
106
  <FontAwesomeIcon
107
107
  icon={selected ? faDotCircle : faCircle}
108
- className="me-1"
109
108
  />
110
109
  </div>
111
110
  {
112
111
  useComplexFormatting
113
112
  ? (
114
113
  <pre
115
- className="ps-2 text-start text-break"
114
+ className="ps-1 text-start text-break"
116
115
  style={{
117
116
  whiteSpace: 'pre-wrap',
118
117
  }}
@@ -121,7 +120,7 @@ const RadioButton: React.FC<Props> = (props) => {
121
120
  </pre>
122
121
  )
123
122
  : (
124
- <div className="flex-grow-1 text-start text-break ps-2">
123
+ <div className="flex-grow-1 text-start text-break">
125
124
  {text}
126
125
  </div>
127
126
  )