@instructure/ui-color-picker 10.5.0 → 10.5.1-snapshot-1
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/CHANGELOG.md +11 -0
- package/es/ColorPicker/index.js +2 -2
- package/lib/ColorPicker/index.js +2 -2
- package/package.json +25 -25
- package/src/ColorPicker/index.tsx +3 -3
- package/src/ColorPicker/props.ts +4 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/ColorPicker/index.d.ts.map +1 -1
- package/types/ColorPicker/props.d.ts +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,8BAA8B;AAC9B,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAgBrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAW7D,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AA4BhB;;;;GAIG;AACH,cAEM,WAAY,SAAQ,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACrE,MAAM,CAAC,SAAS;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,8BAA8B;AAC9B,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAgBrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAW7D,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AA4BhB;;;;GAI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,CAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,MAAM;IAsBzE,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;IA6BlD,YAAY;IAIZ,WAAW;IAiBX,aAAa,wBA8BZ;IAED,0BAA0B,wBA4BzB;IAED,2BAA2B,wBA6H1B;IAED,MAAM;CAwCP;AAED,OAAO,EAAE,WAAW,EAAE,CAAA;AACtB,eAAe,WAAW,CAAA"}
|
|
@@ -20,7 +20,7 @@ type ColorPickerOwnProps = {
|
|
|
20
20
|
*
|
|
21
21
|
* FormMessage[]: Array of objects with shape: `{
|
|
22
22
|
* text: ReactNode,
|
|
23
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
23
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
24
24
|
* }`
|
|
25
25
|
*/
|
|
26
26
|
checkContrast?: {
|
|
@@ -109,7 +109,7 @@ type ColorPickerOwnProps = {
|
|
|
109
109
|
*
|
|
110
110
|
* FormMessage[]: Array of objects with shape: `{
|
|
111
111
|
* text: ReactNode,
|
|
112
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
112
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
113
113
|
* }`
|
|
114
114
|
*/
|
|
115
115
|
renderInvalidColorMessage?: (hexCode: string) => FormMessage[];
|
|
@@ -118,7 +118,7 @@ type ColorPickerOwnProps = {
|
|
|
118
118
|
*
|
|
119
119
|
* FormMessage[]: Array of objects with shape: `{
|
|
120
120
|
* text: ReactNode,
|
|
121
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
121
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
122
122
|
* }`
|
|
123
123
|
*/
|
|
124
124
|
renderIsRequiredMessage?: () => FormMessage[];
|
|
@@ -127,7 +127,7 @@ type ColorPickerOwnProps = {
|
|
|
127
127
|
*
|
|
128
128
|
* FormMessage[]: Array of objects with shape: `{
|
|
129
129
|
* text: ReactNode,
|
|
130
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
130
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
131
131
|
* }`
|
|
132
132
|
*/
|
|
133
133
|
renderMessages?: (hexCode: string, isValidHex: boolean, minContrast: number, contrast?: number) => FormMessage[];
|