@instructure/ui-color-picker 11.7.2-snapshot-52 → 11.7.2-snapshot-60

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [11.7.2-snapshot-52](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-52) (2026-04-22)
6
+ ## [11.7.2-snapshot-60](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-60) (2026-04-23)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-color-picker",
3
- "version": "11.7.2-snapshot-52",
3
+ "version": "11.7.2-snapshot-60",
4
4
  "description": "A UI component library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,35 +15,35 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.27.6",
18
- "@instructure/emotion": "11.7.2-snapshot-52",
19
- "@instructure/ui-a11y-content": "11.7.2-snapshot-52",
20
- "@instructure/shared-types": "11.7.2-snapshot-52",
21
- "@instructure/ui-buttons": "11.7.2-snapshot-52",
22
- "@instructure/console": "11.7.2-snapshot-52",
23
- "@instructure/ui-color-utils": "11.7.2-snapshot-52",
24
- "@instructure/ui-form-field": "11.7.2-snapshot-52",
25
- "@instructure/ui-drilldown": "11.7.2-snapshot-52",
26
- "@instructure/ui-dom-utils": "11.7.2-snapshot-52",
27
- "@instructure/ui-heading": "11.7.2-snapshot-52",
28
- "@instructure/ui-icons": "11.7.2-snapshot-52",
29
- "@instructure/ui-pill": "11.7.2-snapshot-52",
30
- "@instructure/ui-popover": "11.7.2-snapshot-52",
31
- "@instructure/ui-react-utils": "11.7.2-snapshot-52",
32
- "@instructure/ui-text": "11.7.2-snapshot-52",
33
- "@instructure/ui-themes": "11.7.2-snapshot-52",
34
- "@instructure/ui-tooltip": "11.7.2-snapshot-52",
35
- "@instructure/ui-text-input": "11.7.2-snapshot-52",
36
- "@instructure/ui-utils": "11.7.2-snapshot-52",
37
- "@instructure/ui-view": "11.7.2-snapshot-52"
18
+ "@instructure/ui-a11y-content": "11.7.2-snapshot-60",
19
+ "@instructure/emotion": "11.7.2-snapshot-60",
20
+ "@instructure/ui-buttons": "11.7.2-snapshot-60",
21
+ "@instructure/console": "11.7.2-snapshot-60",
22
+ "@instructure/shared-types": "11.7.2-snapshot-60",
23
+ "@instructure/ui-color-utils": "11.7.2-snapshot-60",
24
+ "@instructure/ui-drilldown": "11.7.2-snapshot-60",
25
+ "@instructure/ui-dom-utils": "11.7.2-snapshot-60",
26
+ "@instructure/ui-heading": "11.7.2-snapshot-60",
27
+ "@instructure/ui-form-field": "11.7.2-snapshot-60",
28
+ "@instructure/ui-icons": "11.7.2-snapshot-60",
29
+ "@instructure/ui-pill": "11.7.2-snapshot-60",
30
+ "@instructure/ui-popover": "11.7.2-snapshot-60",
31
+ "@instructure/ui-react-utils": "11.7.2-snapshot-60",
32
+ "@instructure/ui-text": "11.7.2-snapshot-60",
33
+ "@instructure/ui-text-input": "11.7.2-snapshot-60",
34
+ "@instructure/ui-themes": "11.7.2-snapshot-60",
35
+ "@instructure/ui-tooltip": "11.7.2-snapshot-60",
36
+ "@instructure/ui-utils": "11.7.2-snapshot-60",
37
+ "@instructure/ui-view": "11.7.2-snapshot-60"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "^6.6.3",
41
41
  "@testing-library/react": "15.0.7",
42
42
  "@testing-library/user-event": "^14.6.1",
43
43
  "vitest": "^3.2.2",
44
- "@instructure/ui-axe-check": "11.7.2-snapshot-52",
45
- "@instructure/ui-babel-preset": "11.7.2-snapshot-52",
46
- "@instructure/ui-scripts": "11.7.2-snapshot-52"
44
+ "@instructure/ui-axe-check": "11.7.2-snapshot-60",
45
+ "@instructure/ui-babel-preset": "11.7.2-snapshot-60",
46
+ "@instructure/ui-scripts": "11.7.2-snapshot-60"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": ">=18 <=19"
@@ -35,7 +35,7 @@ import type { ColorContrastProps } from './props'
35
35
  * @return {Object} The final style object, which will be used in the component
36
36
  */
37
37
  const generateStyle = (
38
- componentTheme: NewComponentTypes['ColorContrast'],
38
+ componentTheme: ReturnType<NewComponentTypes['ColorContrast']>,
39
39
  props: ColorContrastProps
40
40
  ) => {
41
41
  const statusDescriptionStyle = (pass: boolean) => ({
@@ -51,7 +51,7 @@ const calcBlendedColor = (c1: RGBAType, c2: RGBAType) => {
51
51
  * @return {Object} The final style object, which will be used in the component
52
52
  */
53
53
  const generateStyle = (
54
- componentTheme: NewComponentTypes['ColorIndicator'],
54
+ componentTheme: ReturnType<NewComponentTypes['ColorIndicator']>,
55
55
  props: ColorIndicatorProps
56
56
  ): ColorIndicatorStyle => {
57
57
  const { color, shape } = props
@@ -41,7 +41,7 @@ import { px } from '@instructure/ui-utils'
41
41
  * @return {Object} The final style object, which will be used in the component
42
42
  */
43
43
  const generateStyle = (
44
- componentTheme: NewComponentTypes['Palette'],
44
+ componentTheme: ReturnType<NewComponentTypes['Palette']>,
45
45
  props: ColorPaletteProps,
46
46
  _sharedTokens: SharedTokens,
47
47
  state: ColorPaletteState
@@ -36,7 +36,7 @@ import type { NewComponentTypes } from '@instructure/ui-themes'
36
36
  * @return {Object} The final style object, which will be used in the component
37
37
  */
38
38
  const generateStyle = (
39
- componentTheme: NewComponentTypes['RgbaInput'],
39
+ componentTheme: ReturnType<NewComponentTypes['RgbaInput']>,
40
40
  props: RGBAInputProps
41
41
  ): RGBAInputStyle => {
42
42
  return {
@@ -36,7 +36,7 @@ import type { SliderStyle, SliderProps, SliderStyleProps } from './props'
36
36
  * @return {Object} The final style object, which will be used in the component
37
37
  */
38
38
  const generateStyle = (
39
- componentTheme: NewComponentTypes['Slider'],
39
+ componentTheme: ReturnType<NewComponentTypes['Slider']>,
40
40
  props: SliderProps,
41
41
  _sharedTokens: SharedTokens,
42
42
  state: SliderStyleProps
@@ -42,7 +42,7 @@ import type {
42
42
  * @return {Object} The final style object, which will be used in the component
43
43
  */
44
44
  const generateStyle = (
45
- componentTheme: NewComponentTypes['ColorPicker'],
45
+ componentTheme: ReturnType<NewComponentTypes['ColorPicker']>,
46
46
  props: ColorPickerProps,
47
47
  sharedTokens: SharedTokens,
48
48
  state: ColorPickerState & { isSimple: boolean }
@@ -35,7 +35,7 @@ import type { ColorPresetProps } from './props'
35
35
  * @return {Object} The final style object, which will be used in the component
36
36
  */
37
37
  const generateStyle = (
38
- componentTheme: NewComponentTypes['ColorPreset'],
38
+ componentTheme: ReturnType<NewComponentTypes['ColorPreset']>,
39
39
  props: ColorPresetProps
40
40
  ) => {
41
41
  const { colorMixerSettings, disabled } = props