@workday/canvas-kit-preview-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.
|
@@ -207,7 +207,7 @@ export const ColorPicker = ({
|
|
|
207
207
|
showCheck={value === validHexValue || value === customHexValue}
|
|
208
208
|
/>
|
|
209
209
|
</ColorInputAndLabel>
|
|
210
|
-
<CheckButton aria-label={submitLabel} icon={checkIcon} />
|
|
210
|
+
<CheckButton aria-label={submitLabel} icon={checkIcon} type="submit" />
|
|
211
211
|
</ColorInputWrapper>
|
|
212
212
|
)}
|
|
213
213
|
</ColorPickerContainer>
|
|
@@ -162,7 +162,7 @@ var ColorPicker = function (_a) {
|
|
|
162
162
|
showCustomHexInput && (React.createElement(ColorInputWrapper, { onSubmit: onSubmit },
|
|
163
163
|
React.createElement(ColorInputAndLabel, { label: customHexInputLabel },
|
|
164
164
|
React.createElement(HexColorInput, { onChange: onCustomHexChange, onValidColorChange: onValidCustomHexChange, value: customHexValue, showCheck: value === validHexValue || value === customHexValue })),
|
|
165
|
-
React.createElement(CheckButton, { "aria-label": submitLabel, icon: canvas_system_icons_web_1.checkIcon })))));
|
|
165
|
+
React.createElement(CheckButton, { "aria-label": submitLabel, icon: canvas_system_icons_web_1.checkIcon, type: "submit" })))));
|
|
166
166
|
};
|
|
167
167
|
exports.ColorPicker = ColorPicker;
|
|
168
168
|
exports.ColorPicker.defaultColorSet = defaultColorSet;
|
|
@@ -137,6 +137,6 @@ export var ColorPicker = function (_a) {
|
|
|
137
137
|
showCustomHexInput && (React.createElement(ColorInputWrapper, { onSubmit: onSubmit },
|
|
138
138
|
React.createElement(ColorInputAndLabel, { label: customHexInputLabel },
|
|
139
139
|
React.createElement(HexColorInput, { onChange: onCustomHexChange, onValidColorChange: onValidCustomHexChange, value: customHexValue, showCheck: value === validHexValue || value === customHexValue })),
|
|
140
|
-
React.createElement(CheckButton, { "aria-label": submitLabel, icon: checkIcon })))));
|
|
140
|
+
React.createElement(CheckButton, { "aria-label": submitLabel, icon: checkIcon, type: "submit" })))));
|
|
141
141
|
};
|
|
142
142
|
ColorPicker.defaultColorSet = defaultColorSet;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-preview-react",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.312-next.0+938dab0b",
|
|
4
4
|
"description": "Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,16 +46,16 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
48
48
|
"@emotion/styled": "^11.6.0",
|
|
49
|
-
"@workday/canvas-kit-react": "^9.0.0-alpha.
|
|
49
|
+
"@workday/canvas-kit-react": "^9.0.0-alpha.312-next.0+938dab0b",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"@workday/design-assets-types": "^0.2.8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
55
|
-
"@workday/canvas-kit-labs-react": "^9.0.0-alpha.
|
|
55
|
+
"@workday/canvas-kit-labs-react": "^9.0.0-alpha.312-next.0+938dab0b",
|
|
56
56
|
"formik": "^2.2.9",
|
|
57
57
|
"react-hook-form": "7.36.1",
|
|
58
58
|
"yup": "^0.32.11"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "938dab0b78b2bfa6545c3d91751b1cef2f9c7f19"
|
|
61
61
|
}
|