@workday/canvas-kit-react 9.0.0-alpha.309-next.0 → 9.0.0-alpha.312-next.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.
@@ -294,7 +294,7 @@ export const BaseButton = createComponent('button')({
294
294
  displayName: 'Button',
295
295
  Component: ({children, ...elemProps}: ButtonContainerProps, ref, Element) => {
296
296
  return (
297
- <ButtonContainer as={Element} ref={ref} {...elemProps}>
297
+ <ButtonContainer as={Element} ref={ref} type="button" {...elemProps}>
298
298
  {children}
299
299
  </ButtonContainer>
300
300
  );
@@ -189,7 +189,7 @@ exports.BaseButton = common_1.createComponent('button')({
189
189
  displayName: 'Button',
190
190
  Component: function (_a, ref, Element) {
191
191
  var children = _a.children, elemProps = __rest(_a, ["children"]);
192
- return (React.createElement(ButtonContainer, __assign({ as: Element, ref: ref }, elemProps), children));
192
+ return (React.createElement(ButtonContainer, __assign({ as: Element, ref: ref, type: "button" }, elemProps), children));
193
193
  },
194
194
  subComponents: {
195
195
  Icon: ButtonLabelIcon_1.ButtonLabelIcon,
@@ -165,7 +165,7 @@ export var BaseButton = createComponent('button')({
165
165
  displayName: 'Button',
166
166
  Component: function (_a, ref, Element) {
167
167
  var children = _a.children, elemProps = __rest(_a, ["children"]);
168
- return (React.createElement(ButtonContainer, __assign({ as: Element, ref: ref }, elemProps), children));
168
+ return (React.createElement(ButtonContainer, __assign({ as: Element, ref: ref, type: "button" }, elemProps), children));
169
169
  },
170
170
  subComponents: {
171
171
  Icon: ButtonLabelIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "9.0.0-alpha.309-next.0+d330b12e",
3
+ "version": "9.0.0-alpha.312-next.0+938dab0b",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -49,7 +49,7 @@
49
49
  "@emotion/styled": "^11.6.0",
50
50
  "@popperjs/core": "^2.5.4",
51
51
  "@workday/canvas-colors-web": "^2.0.0",
52
- "@workday/canvas-kit-popup-stack": "^9.0.0-alpha.309-next.0+d330b12e",
52
+ "@workday/canvas-kit-popup-stack": "^9.0.0-alpha.312-next.0+938dab0b",
53
53
  "@workday/canvas-system-icons-web": "^3.0.0",
54
54
  "@workday/design-assets-types": "^0.2.8",
55
55
  "chroma-js": "^2.1.0",
@@ -67,5 +67,5 @@
67
67
  "@workday/canvas-accent-icons-web": "^3.0.0",
68
68
  "@workday/canvas-applet-icons-web": "^2.0.0"
69
69
  },
70
- "gitHead": "d330b12ec1ca39f0ed4dc77168dbb52ed0faf702"
70
+ "gitHead": "938dab0b78b2bfa6545c3d91751b1cef2f9c7f19"
71
71
  }