@sanity/assist 1.2.15 → 1.2.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/assist",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "sanity",
@@ -56,7 +56,7 @@
56
56
  "dependencies": {
57
57
  "@sanity/icons": "^2.4.0",
58
58
  "@sanity/incompatible-plugin": "^1.0.4",
59
- "@sanity/ui": "^1.6.0",
59
+ "@sanity/ui": "^2.0.0-beta.13",
60
60
  "date-fns": "^2.30.0",
61
61
  "react-fast-compare": "^3.2.1",
62
62
  "react-is": "^18.2.0",
@@ -64,8 +64,8 @@
64
64
  "rxjs-exhaustmap-with-trailing": "^2.1.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@commitlint/cli": "^17.8.1",
68
- "@commitlint/config-conventional": "^17.8.1",
67
+ "@commitlint/cli": "^18.4.3",
68
+ "@commitlint/config-conventional": "^18.4.3",
69
69
  "@rollup/plugin-image": "^3.0.3",
70
70
  "@sanity/pkg-utils": "^2.4.10",
71
71
  "@sanity/plugin-kit": "^3.1.10",
@@ -75,7 +75,7 @@
75
75
  "@typescript-eslint/eslint-plugin": "^5.62.0",
76
76
  "@typescript-eslint/parser": "^5.62.0",
77
77
  "date-fns": "^2.30.0",
78
- "eslint": "^8.53.0",
78
+ "eslint": "^8.56.0",
79
79
  "eslint-config-prettier": "^8.10.0",
80
80
  "eslint-config-sanity": "^6.0.0",
81
81
  "eslint-plugin-prettier": "^4.2.1",
@@ -84,11 +84,11 @@
84
84
  "npm-run-all": "^4.1.5",
85
85
  "react": "^18.2.0",
86
86
  "react-dom": "^18.2.0",
87
- "rimraf": "^4.4.0",
88
- "sanity": "^3.19.3",
87
+ "rimraf": "^5.0.5",
88
+ "sanity": "^3.23.1",
89
89
  "semantic-release": "^21.1.2",
90
90
  "styled-components": "^6.1.1",
91
- "typescript": "^5.2.2",
91
+ "typescript": "^5.3.3",
92
92
  "vitest": "^0.34.6"
93
93
  },
94
94
  "peerDependencies": {
@@ -148,7 +148,7 @@ export function DocumentForm(
148
148
  readOnly={formState.readOnly}
149
149
  schemaType={formState.schemaType}
150
150
  validation={validation}
151
- value={formState.value}
151
+ value={formState.value as any}
152
152
  />
153
153
  )
154
154
  ) : (
@@ -167,7 +167,7 @@ export function InstructionTaskHistoryButton(props: InstructionTaskHistoryButton
167
167
  )
168
168
  }
169
169
 
170
- const TASK_STATUS_BUTTON_TOOLTIP_PROPS: StatusButtonProps['tooltip'] = {
170
+ const TASK_STATUS_BUTTON_TOOLTIP_PROPS: StatusButtonProps['tooltipProps'] = {
171
171
  placement: 'top',
172
172
  }
173
173
 
@@ -190,11 +190,10 @@ const TaskStatusButton = forwardRef(function TaskStatusButton(
190
190
  mode="bleed"
191
191
  onClick={onClick}
192
192
  tone={hasErrors ? 'critical' : undefined}
193
- fontSize={1}
194
193
  disabled={disabled}
195
194
  ref={ref}
196
195
  selected={selected}
197
- tooltip={TASK_STATUS_BUTTON_TOOLTIP_PROPS}
196
+ tooltipProps={TASK_STATUS_BUTTON_TOOLTIP_PROPS}
198
197
  />
199
198
  )
200
199
  })
@@ -88,7 +88,7 @@ export function AssistAvatar(props: {state?: 'present' | 'active'}) {
88
88
  </Outline>
89
89
  <IconDisc>
90
90
  <Text as="span" size={0} style={{color: 'inherit'}}>
91
- <SparklesIcon />
91
+ <SparklesIcon style={{color: 'inherit'}} />
92
92
  </Text>
93
93
  </IconDisc>
94
94
  </Root>