@charcoal-ui/react 2.7.0 → 3.0.0-beta.0

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/dist/index.esm.js CHANGED
@@ -147,7 +147,7 @@ var Button2 = React4.forwardRef(function Button3({
147
147
  children,
148
148
  variant = "Default",
149
149
  size = "M",
150
- fixed = false,
150
+ fullWidth: fixed = false,
151
151
  disabled = false,
152
152
  ...rest
153
153
  }, ref) {
@@ -158,7 +158,7 @@ var Button2 = React4.forwardRef(function Button3({
158
158
  disabled,
159
159
  variant,
160
160
  size,
161
- fixed,
161
+ fullWidth: fixed,
162
162
  ref
163
163
  },
164
164
  children
@@ -167,10 +167,10 @@ var Button2 = React4.forwardRef(function Button3({
167
167
  var Button_default = Button2;
168
168
  var StyledButton = styled3(Clickable_default).withConfig({
169
169
  shouldForwardProp(prop) {
170
- return prop !== "fixed";
170
+ return prop !== "fullWidth";
171
171
  }
172
172
  }).attrs(styledProps)`
173
- width: ${(p) => p.fixed ? "stretch" : "min-content"};
173
+ width: ${(p) => p.fullWidth ? "stretch" : "min-content"};
174
174
  display: inline-grid;
175
175
  align-items: center;
176
176
  justify-content: center;