sanity-plugin-workflow 1.0.2 → 1.0.4

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-plugin-workflow",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A demonstration of a custom content publishing workflow using Sanity.",
5
5
  "keywords": [
6
6
  "sanity",
@@ -49,11 +49,10 @@
49
49
  "watch": "pkg-utils watch --strict"
50
50
  },
51
51
  "dependencies": {
52
- "@hello-pangea/dnd": "^16.2.0",
52
+ "@hello-pangea/dnd": "^16.5.0",
53
53
  "@sanity/icons": "^2.2.2",
54
54
  "@sanity/incompatible-plugin": "^1.0.4",
55
55
  "@tanstack/react-virtual": "^3.0.0-beta.54",
56
- "@types/styled-components": "^5.1.26",
57
56
  "framer-motion": "^10.6.1",
58
57
  "groq": "^3.3.1",
59
58
  "lexorank": "^1.0.5",
@@ -63,10 +62,11 @@
63
62
  "devDependencies": {
64
63
  "@commitlint/cli": "^17.4.4",
65
64
  "@commitlint/config-conventional": "^17.4.4",
66
- "@sanity/pkg-utils": "^2.2.4",
65
+ "@sanity/pkg-utils": "^2.4.10",
67
66
  "@sanity/plugin-kit": "^3.1.4",
68
67
  "@sanity/semantic-release-preset": "^4.0.1",
69
68
  "@types/react": "^18.0.27",
69
+ "@types/styled-components": "^5.1.26",
70
70
  "@typescript-eslint/eslint-plugin": "^5.51.0",
71
71
  "@typescript-eslint/parser": "^5.51.0",
72
72
  "eslint": "^8.33.0",
@@ -85,15 +85,16 @@
85
85
  "react-dom": "^18.2.0",
86
86
  "react-is": "^18.2.0",
87
87
  "rimraf": "^4.1.2",
88
- "sanity": "^3.9.1",
88
+ "sanity": "^3.26.0",
89
89
  "semantic-release": "^20.1.3",
90
90
  "typescript": "^5.0.0"
91
91
  },
92
92
  "peerDependencies": {
93
- "@sanity/ui": "^1.2.2",
93
+ "@sanity/ui": "^1.0 || ^2.0",
94
94
  "react": "^18",
95
+ "react-dom": "^18",
95
96
  "sanity": "^3.0.0",
96
- "styled-components": "^5.3.6"
97
+ "styled-components": "^5.0 || ^6.0"
97
98
  },
98
99
  "engines": {
99
100
  "node": ">=14"
@@ -133,8 +133,7 @@ export function DocumentCard(props: DocumentCardProps) {
133
133
  <Card
134
134
  borderBottom
135
135
  radius={2}
136
- padding={3}
137
- paddingLeft={2}
136
+ paddingRight={2}
138
137
  tone={cardTone}
139
138
  style={{pointerEvents: 'none'}}
140
139
  >
@@ -69,6 +69,8 @@ export default function Filters(props: FiltersProps) {
69
69
  <MenuButton
70
70
  button={
71
71
  <Button
72
+ padding={3}
73
+ fontSize={1}
72
74
  text="Filter Assignees"
73
75
  tone="primary"
74
76
  icon={UserIcon}
@@ -129,6 +131,8 @@ export default function Filters(props: FiltersProps) {
129
131
 
130
132
  {selectedUserIds.length > 0 ? (
131
133
  <Button
134
+ padding={3}
135
+ fontSize={1}
132
136
  text="Clear"
133
137
  onClick={resetSelectedUsers}
134
138
  mode="ghost"
@@ -150,6 +154,8 @@ export default function Filters(props: FiltersProps) {
150
154
 
151
155
  return (
152
156
  <Button
157
+ padding={3}
158
+ fontSize={1}
153
159
  key={typeName}
154
160
  text={schemaType?.title ?? typeName}
155
161
  icon={schemaType?.icon ?? undefined}