@sanity/ui 5.0.0-alpha.23 → 5.0.0-alpha.24

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.
Files changed (281) hide show
  1. package/dist/index.d.ts +15 -7
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +76 -59
  4. package/dist/index.js.map +1 -1
  5. package/dist/styles.css +1 -1
  6. package/docs/components/button.dsds.yaml +24 -12
  7. package/docs/components/code.dsds.yaml +2 -0
  8. package/docs/components/eyebrow.dsds.yaml +3 -22
  9. package/docs/components/icon-button.dsds.yaml +9 -2
  10. package/docs/components/popover.dsds.yaml +8 -2
  11. package/docs/foundations/typography-guidelines.dsds.yaml +4 -4
  12. package/docs/icons/icon-access-denied.dsds.yaml +40 -0
  13. package/docs/icons/icon-activity.dsds.yaml +40 -0
  14. package/docs/icons/icon-add-circle.dsds.yaml +14 -0
  15. package/docs/icons/icon-add-comment.dsds.yaml +34 -0
  16. package/docs/icons/icon-add-document.dsds.yaml +34 -0
  17. package/docs/icons/icon-add-user.dsds.yaml +30 -0
  18. package/docs/icons/icon-add.dsds.yaml +57 -0
  19. package/docs/icons/icon-api.dsds.yaml +17 -0
  20. package/docs/icons/icon-archive.dsds.yaml +44 -0
  21. package/docs/icons/icon-arrow-down.dsds.yaml +38 -0
  22. package/docs/icons/icon-arrow-left.dsds.yaml +32 -0
  23. package/docs/icons/icon-arrow-right.dsds.yaml +32 -0
  24. package/docs/icons/icon-arrow-top-right.dsds.yaml +32 -0
  25. package/docs/icons/icon-arrow-up.dsds.yaml +44 -0
  26. package/docs/icons/icon-asterisk.dsds.yaml +18 -0
  27. package/docs/icons/icon-bar-chart.dsds.yaml +40 -0
  28. package/docs/icons/icon-basket.dsds.yaml +14 -0
  29. package/docs/icons/icon-bell.dsds.yaml +30 -0
  30. package/docs/icons/icon-bill.dsds.yaml +40 -0
  31. package/docs/icons/icon-binary-document.dsds.yaml +30 -0
  32. package/docs/icons/icon-block-content.dsds.yaml +30 -0
  33. package/docs/icons/icon-block-element.dsds.yaml +32 -0
  34. package/docs/icons/icon-blockquote.dsds.yaml +32 -0
  35. package/docs/icons/icon-bold.dsds.yaml +28 -0
  36. package/docs/icons/icon-bolt.dsds.yaml +18 -0
  37. package/docs/icons/icon-book.dsds.yaml +34 -0
  38. package/docs/icons/icon-bookmark-filled.dsds.yaml +14 -0
  39. package/docs/icons/icon-bookmark.dsds.yaml +14 -0
  40. package/docs/icons/icon-bottle.dsds.yaml +18 -0
  41. package/docs/icons/icon-bug.dsds.yaml +28 -0
  42. package/docs/icons/icon-bulb-filled.dsds.yaml +14 -0
  43. package/docs/icons/icon-bulb-outline.dsds.yaml +30 -0
  44. package/docs/icons/icon-calendar.dsds.yaml +36 -0
  45. package/docs/icons/icon-case.dsds.yaml +18 -0
  46. package/docs/icons/icon-chart-upward.dsds.yaml +40 -0
  47. package/docs/icons/icon-checkmark-circle.dsds.yaml +40 -0
  48. package/docs/icons/icon-checkmark.dsds.yaml +36 -0
  49. package/docs/icons/icon-chevron-down.dsds.yaml +46 -0
  50. package/docs/icons/icon-chevron-left.dsds.yaml +42 -0
  51. package/docs/icons/icon-chevron-right.dsds.yaml +42 -0
  52. package/docs/icons/icon-chevron-up.dsds.yaml +44 -0
  53. package/docs/icons/icon-circle.dsds.yaml +28 -0
  54. package/docs/icons/icon-clipboard-image.dsds.yaml +30 -0
  55. package/docs/icons/icon-clipboard.dsds.yaml +34 -0
  56. package/docs/icons/icon-clock.dsds.yaml +39 -0
  57. package/docs/icons/icon-close-circle.dsds.yaml +18 -0
  58. package/docs/icons/icon-close.dsds.yaml +51 -0
  59. package/docs/icons/icon-code-block.dsds.yaml +38 -0
  60. package/docs/icons/icon-code.dsds.yaml +40 -0
  61. package/docs/icons/icon-cog.dsds.yaml +38 -0
  62. package/docs/icons/icon-collapse.dsds.yaml +40 -0
  63. package/docs/icons/icon-color-wheel.dsds.yaml +30 -0
  64. package/docs/icons/icon-comment.dsds.yaml +38 -0
  65. package/docs/icons/icon-component.dsds.yaml +18 -0
  66. package/docs/icons/icon-compose-sparkles.dsds.yaml +36 -0
  67. package/docs/icons/icon-compose.dsds.yaml +38 -0
  68. package/docs/icons/icon-confetti.dsds.yaml +18 -0
  69. package/docs/icons/icon-controls.dsds.yaml +36 -0
  70. package/docs/icons/icon-copy.dsds.yaml +31 -0
  71. package/docs/icons/icon-credit-card.dsds.yaml +18 -0
  72. package/docs/icons/icon-crop.dsds.yaml +32 -0
  73. package/docs/icons/icon-cube.dsds.yaml +36 -0
  74. package/docs/icons/icon-dashboard.dsds.yaml +34 -0
  75. package/docs/icons/icon-database.dsds.yaml +40 -0
  76. package/docs/icons/icon-desktop.dsds.yaml +31 -0
  77. package/docs/icons/icon-diamond.dsds.yaml +18 -0
  78. package/docs/icons/icon-document-pdf.dsds.yaml +34 -0
  79. package/docs/icons/icon-document-remove.dsds.yaml +30 -0
  80. package/docs/icons/icon-document-sheet.dsds.yaml +34 -0
  81. package/docs/icons/icon-document-text.dsds.yaml +30 -0
  82. package/docs/icons/icon-document-video.dsds.yaml +30 -0
  83. package/docs/icons/icon-document-word.dsds.yaml +34 -0
  84. package/docs/icons/icon-document-zip.dsds.yaml +30 -0
  85. package/docs/icons/icon-document.dsds.yaml +52 -0
  86. package/docs/icons/icon-documents.dsds.yaml +30 -0
  87. package/docs/icons/icon-dot.dsds.yaml +32 -0
  88. package/docs/icons/icon-double-chevron-down.dsds.yaml +38 -0
  89. package/docs/icons/icon-double-chevron-left.dsds.yaml +34 -0
  90. package/docs/icons/icon-double-chevron-right.dsds.yaml +34 -0
  91. package/docs/icons/icon-double-chevron-up.dsds.yaml +36 -0
  92. package/docs/icons/icon-double-quote.dsds.yaml +14 -0
  93. package/docs/icons/icon-download.dsds.yaml +40 -0
  94. package/docs/icons/icon-drag-handle.dsds.yaml +28 -0
  95. package/docs/icons/icon-drop.dsds.yaml +30 -0
  96. package/docs/icons/icon-earth-americas.dsds.yaml +34 -0
  97. package/docs/icons/icon-earth-globe.dsds.yaml +34 -0
  98. package/docs/icons/icon-edit.dsds.yaml +34 -0
  99. package/docs/icons/icon-ellipsis-horizontal.dsds.yaml +32 -0
  100. package/docs/icons/icon-ellipsis-vertical.dsds.yaml +14 -0
  101. package/docs/icons/icon-empty.dsds.yaml +28 -0
  102. package/docs/icons/icon-enter-right.dsds.yaml +18 -0
  103. package/docs/icons/icon-enter.dsds.yaml +18 -0
  104. package/docs/icons/icon-envelope.dsds.yaml +34 -0
  105. package/docs/icons/icon-equal.dsds.yaml +14 -0
  106. package/docs/icons/icon-error-filled.dsds.yaml +14 -0
  107. package/docs/icons/icon-error-outline.dsds.yaml +38 -0
  108. package/docs/icons/icon-error-screen.dsds.yaml +14 -0
  109. package/docs/icons/icon-expand.dsds.yaml +36 -0
  110. package/docs/icons/icon-eye-closed.dsds.yaml +38 -0
  111. package/docs/icons/icon-eye-open.dsds.yaml +38 -0
  112. package/docs/icons/icon-face-happy.dsds.yaml +14 -0
  113. package/docs/icons/icon-face-indifferent.dsds.yaml +14 -0
  114. package/docs/icons/icon-face-sad.dsds.yaml +14 -0
  115. package/docs/icons/icon-feedback.dsds.yaml +30 -0
  116. package/docs/icons/icon-filter.dsds.yaml +38 -0
  117. package/docs/icons/icon-folder.dsds.yaml +36 -0
  118. package/docs/icons/icon-generate.dsds.yaml +18 -0
  119. package/docs/icons/icon-github.dsds.yaml +14 -0
  120. package/docs/icons/icon-groq.dsds.yaml +31 -0
  121. package/docs/icons/icon-hash.dsds.yaml +18 -0
  122. package/docs/icons/icon-heart-filled.dsds.yaml +18 -0
  123. package/docs/icons/icon-heart.dsds.yaml +18 -0
  124. package/docs/icons/icon-help-circle.dsds.yaml +38 -0
  125. package/docs/icons/icon-highlight.dsds.yaml +18 -0
  126. package/docs/icons/icon-home.dsds.yaml +28 -0
  127. package/docs/icons/icon-ice-cream.dsds.yaml +18 -0
  128. package/docs/icons/icon-image-remove.dsds.yaml +32 -0
  129. package/docs/icons/icon-image.dsds.yaml +36 -0
  130. package/docs/icons/icon-images.dsds.yaml +34 -0
  131. package/docs/icons/icon-inbox.dsds.yaml +14 -0
  132. package/docs/icons/icon-info-filled.dsds.yaml +14 -0
  133. package/docs/icons/icon-info-outline.dsds.yaml +38 -0
  134. package/docs/icons/icon-inline-element.dsds.yaml +32 -0
  135. package/docs/icons/icon-inline.dsds.yaml +18 -0
  136. package/docs/icons/icon-insert-above.dsds.yaml +32 -0
  137. package/docs/icons/icon-insert-below.dsds.yaml +32 -0
  138. package/docs/icons/icon-italic.dsds.yaml +28 -0
  139. package/docs/icons/icon-joystick.dsds.yaml +18 -0
  140. package/docs/icons/icon-json.dsds.yaml +36 -0
  141. package/docs/icons/icon-launch.dsds.yaml +34 -0
  142. package/docs/icons/icon-leave.dsds.yaml +35 -0
  143. package/docs/icons/icon-lemon.dsds.yaml +18 -0
  144. package/docs/icons/icon-link-removed.dsds.yaml +30 -0
  145. package/docs/icons/icon-link.dsds.yaml +36 -0
  146. package/docs/icons/icon-linkedin.dsds.yaml +14 -0
  147. package/docs/icons/icon-list.dsds.yaml +14 -0
  148. package/docs/icons/icon-lock.dsds.yaml +39 -0
  149. package/docs/icons/icon-logo-js.dsds.yaml +18 -0
  150. package/docs/icons/icon-logo-ts.dsds.yaml +18 -0
  151. package/docs/icons/icon-marker-removed.dsds.yaml +14 -0
  152. package/docs/icons/icon-marker.dsds.yaml +14 -0
  153. package/docs/icons/icon-master-detail.dsds.yaml +28 -0
  154. package/docs/icons/icon-menu.dsds.yaml +40 -0
  155. package/docs/icons/icon-microphone-slash.dsds.yaml +14 -0
  156. package/docs/icons/icon-microphone.dsds.yaml +14 -0
  157. package/docs/icons/icon-mobile-device.dsds.yaml +32 -0
  158. package/docs/icons/icon-moon.dsds.yaml +30 -0
  159. package/docs/icons/icon-number.dsds.yaml +30 -0
  160. package/docs/icons/icon-ok-hand.dsds.yaml +18 -0
  161. package/docs/icons/icon-olist.dsds.yaml +36 -0
  162. package/docs/icons/icon-overage.dsds.yaml +42 -0
  163. package/docs/icons/icon-package.dsds.yaml +34 -0
  164. package/docs/icons/icon-panel-left.dsds.yaml +38 -0
  165. package/docs/icons/icon-panel-right.dsds.yaml +40 -0
  166. package/docs/icons/icon-pause.dsds.yaml +32 -0
  167. package/docs/icons/icon-pin-filled.dsds.yaml +28 -0
  168. package/docs/icons/icon-pin-removed.dsds.yaml +14 -0
  169. package/docs/icons/icon-pin.dsds.yaml +32 -0
  170. package/docs/icons/icon-play.dsds.yaml +32 -0
  171. package/docs/icons/icon-plug.dsds.yaml +35 -0
  172. package/docs/icons/icon-presentation.dsds.yaml +18 -0
  173. package/docs/icons/icon-progress50.dsds.yaml +14 -0
  174. package/docs/icons/icon-progress75.dsds.yaml +14 -0
  175. package/docs/icons/icon-projects.dsds.yaml +14 -0
  176. package/docs/icons/icon-publish.dsds.yaml +38 -0
  177. package/docs/icons/icon-read-only.dsds.yaml +36 -0
  178. package/docs/icons/icon-redo.dsds.yaml +38 -0
  179. package/docs/icons/icon-refresh.dsds.yaml +38 -0
  180. package/docs/icons/icon-remove-circle.dsds.yaml +14 -0
  181. package/docs/icons/icon-remove.dsds.yaml +30 -0
  182. package/docs/icons/icon-reset.dsds.yaml +40 -0
  183. package/docs/icons/icon-restore.dsds.yaml +45 -0
  184. package/docs/icons/icon-retrieve.dsds.yaml +14 -0
  185. package/docs/icons/icon-retry.dsds.yaml +14 -0
  186. package/docs/icons/icon-revert.dsds.yaml +14 -0
  187. package/docs/icons/icon-robot.dsds.yaml +17 -0
  188. package/docs/icons/icon-rocket.dsds.yaml +34 -0
  189. package/docs/icons/icon-schema.dsds.yaml +36 -0
  190. package/docs/icons/icon-search.dsds.yaml +34 -0
  191. package/docs/icons/icon-select.dsds.yaml +38 -0
  192. package/docs/icons/icon-share.dsds.yaml +36 -0
  193. package/docs/icons/icon-sort.dsds.yaml +40 -0
  194. package/docs/icons/icon-sparkle.dsds.yaml +26 -0
  195. package/docs/icons/icon-sparkles.dsds.yaml +34 -0
  196. package/docs/icons/icon-spinner.dsds.yaml +38 -0
  197. package/docs/icons/icon-split-horizontal.dsds.yaml +32 -0
  198. package/docs/icons/icon-split-vertical.dsds.yaml +30 -0
  199. package/docs/icons/icon-square.dsds.yaml +18 -0
  200. package/docs/icons/icon-stack-compact.dsds.yaml +30 -0
  201. package/docs/icons/icon-stack.dsds.yaml +44 -0
  202. package/docs/icons/icon-star-filled.dsds.yaml +48 -0
  203. package/docs/icons/icon-star.dsds.yaml +51 -0
  204. package/docs/icons/icon-stop.dsds.yaml +32 -0
  205. package/docs/icons/icon-strikethrough.dsds.yaml +28 -0
  206. package/docs/icons/icon-string.dsds.yaml +38 -0
  207. package/docs/icons/icon-sun.dsds.yaml +30 -0
  208. package/docs/icons/icon-sync.dsds.yaml +36 -0
  209. package/docs/icons/icon-tablet-device.dsds.yaml +30 -0
  210. package/docs/icons/icon-tag.dsds.yaml +32 -0
  211. package/docs/icons/icon-tags.dsds.yaml +36 -0
  212. package/docs/icons/icon-target.dsds.yaml +14 -0
  213. package/docs/icons/icon-task.dsds.yaml +30 -0
  214. package/docs/icons/icon-terminal.dsds.yaml +30 -0
  215. package/docs/icons/icon-text.dsds.yaml +32 -0
  216. package/docs/icons/icon-th-large.dsds.yaml +34 -0
  217. package/docs/icons/icon-th-list.dsds.yaml +30 -0
  218. package/docs/icons/icon-thumbs-down.dsds.yaml +27 -0
  219. package/docs/icons/icon-thumbs-up.dsds.yaml +30 -0
  220. package/docs/icons/icon-tiers.dsds.yaml +18 -0
  221. package/docs/icons/icon-timeline.dsds.yaml +32 -0
  222. package/docs/icons/icon-toggle-arrow-right.dsds.yaml +39 -0
  223. package/docs/icons/icon-token.dsds.yaml +30 -0
  224. package/docs/icons/icon-transfer.dsds.yaml +32 -0
  225. package/docs/icons/icon-translate.dsds.yaml +32 -0
  226. package/docs/icons/icon-trash.dsds.yaml +34 -0
  227. package/docs/icons/icon-trend-upward.dsds.yaml +42 -0
  228. package/docs/icons/icon-triangle-outline.dsds.yaml +18 -0
  229. package/docs/icons/icon-trolley.dsds.yaml +18 -0
  230. package/docs/icons/icon-truncate.dsds.yaml +18 -0
  231. package/docs/icons/icon-twitter.dsds.yaml +18 -0
  232. package/docs/icons/icon-ulist.dsds.yaml +36 -0
  233. package/docs/icons/icon-unarchive.dsds.yaml +32 -0
  234. package/docs/icons/icon-underline.dsds.yaml +28 -0
  235. package/docs/icons/icon-undo.dsds.yaml +34 -0
  236. package/docs/icons/icon-unknown.dsds.yaml +36 -0
  237. package/docs/icons/icon-unlink.dsds.yaml +32 -0
  238. package/docs/icons/icon-unlock.dsds.yaml +41 -0
  239. package/docs/icons/icon-unpublish.dsds.yaml +38 -0
  240. package/docs/icons/icon-upload.dsds.yaml +40 -0
  241. package/docs/icons/icon-user.dsds.yaml +34 -0
  242. package/docs/icons/icon-users.dsds.yaml +34 -0
  243. package/docs/icons/icon-versions.dsds.yaml +14 -0
  244. package/docs/icons/icon-video.dsds.yaml +32 -0
  245. package/docs/icons/icon-warning-filled.dsds.yaml +14 -0
  246. package/docs/icons/icon-warning-outline.dsds.yaml +38 -0
  247. package/docs/icons/icon-wrench.dsds.yaml +18 -0
  248. package/docs/icons.dsds.yaml +767 -2512
  249. package/docs/index.dsds.yaml +76 -85
  250. package/docs/overview/component-reference.dsds.yaml +0 -2
  251. package/docs/overview/installation.dsds.yaml +20 -4
  252. package/docs/patterns/forms.dsds.yaml +6 -0
  253. package/docs/patterns/layouts.dsds.yaml +1 -1
  254. package/docs/patterns/loading-states.dsds.yaml +1 -1
  255. package/docs/tokens/dtcg/README.md +5 -3
  256. package/docs/tokens/dtcg/css/color.css +1 -1
  257. package/docs/tokens/dtcg/css/index.css +0 -1
  258. package/docs/tokens/dtcg/css/typography.css +23 -25
  259. package/docs/tokens/dtcg/json/color.tokens.json +2 -2
  260. package/docs/tokens/dtcg/json/typography.tokens.json +45 -45
  261. package/docs/tokens/typography.dsds.yaml +25 -25
  262. package/package.json +2 -2
  263. package/src/components/button/Button.tsx +14 -3
  264. package/src/components/button/button.css +23 -25
  265. package/src/components/button/button.props.ts +4 -0
  266. package/src/components/code/code.props.ts +3 -2
  267. package/src/components/eyebrow/Eyebrow.tsx +8 -3
  268. package/src/components/eyebrow/eyebrow.props.ts +10 -2
  269. package/src/components/heading/Heading.tsx +1 -1
  270. package/src/components/heading/heading.props.ts +4 -3
  271. package/src/components/popover/Popover.tsx +4 -3
  272. package/src/components/popover/popover.css +5 -3
  273. package/src/components/popover/popover.props.ts +9 -0
  274. package/src/components/text/text.props.ts +6 -1
  275. package/src/css/classes/system/typography.css +6 -6
  276. package/src/css/tokens/semantic.css +7 -7
  277. package/src/props/typography.ts +1 -5
  278. package/src/version.ts +2 -2
  279. package/docs/overview/designer-contribution-model.dsds.yaml +0 -77
  280. package/docs/overview/developer-contribution-model.dsds.yaml +0 -362
  281. package/docs/overview/resources.dsds.yaml +0 -34
@@ -0,0 +1,32 @@
1
+ kind: component
2
+ id: icon-mobile-device
3
+ name: MobileDeviceIcon
4
+ description: Mobile device or phone.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Phone
10
+ - Smartphone
11
+ - Mobile
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/mobile-device.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: To represent a mobile device when choosing between different device types
27
+ - level: should
28
+ statement: To represent general touch-based devices
29
+ - level: should-not
30
+ statement: To represent tablets. Use TabletDeviceIcon instead.
31
+ alternatives:
32
+ - to: icon-tablet-device
@@ -0,0 +1,30 @@
1
+ kind: component
2
+ id: icon-moon
3
+ name: MoonIcon
4
+ description: Dark mode setting.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Dark Mode
10
+ - Night
11
+ - Theme
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/moon.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: For setting a color scheme to dark mode
27
+ - level: should-not
28
+ statement: For light mode. Use SunIcon instead.
29
+ alternatives:
30
+ - to: icon-sun
@@ -0,0 +1,30 @@
1
+ kind: component
2
+ id: icon-number
3
+ name: NumberIcon
4
+ description: Numeric data or Number type.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Hash
10
+ - Numeric
11
+ - Count
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/number.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: To indicate that a numeric data or a Number type value
27
+ - level: should-not
28
+ statement: To represent underlined text style. Use UnderlineIcon instead.
29
+ alternatives:
30
+ - to: icon-underline
@@ -0,0 +1,18 @@
1
+ kind: component
2
+ id: icon-ok-hand
3
+ name: OkHandIcon
4
+ description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Okay
10
+ - Approved
11
+ - Good
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ok-hand.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
@@ -0,0 +1,36 @@
1
+ kind: component
2
+ id: icon-olist
3
+ name: OlistIcon
4
+ description: Ordered/numbered lists.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Ordered List
10
+ - Numbered
11
+ - Sequence
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/olist.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: To represent numbered lists
27
+ - level: should
28
+ statement: List formatting for ordered lists
29
+ - level: should-not
30
+ statement: To represent a general list. Use ListIcon instead.
31
+ alternatives:
32
+ - to: icon-list
33
+ - level: should-not
34
+ statement: For unordered lists. Use UlistIcon instead.
35
+ alternatives:
36
+ - to: icon-ulist
@@ -0,0 +1,42 @@
1
+ kind: component
2
+ id: icon-overage
3
+ name: OverageIcon
4
+ description: Overage or exceeding limits.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Excess
10
+ - Limit
11
+ - Quota
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/overage.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: For quota warnings, exceeded limit indicators, or overage alerts
27
+ - level: should-not
28
+ statement: For general warnings Use WarningOutlineIcon instead.
29
+ alternatives:
30
+ - to: icon-warning-outline
31
+ - level: should-not
32
+ statement: To represent usage or a general line chart. Use ChartUpwardIcon instead.
33
+ alternatives:
34
+ - to: icon-chart-upward
35
+ - level: should-not
36
+ statement: To represent activity or health metrics. Use ActivityIcon instead.
37
+ alternatives:
38
+ - to: icon-activity
39
+ - level: should-not
40
+ statement: To represent trends in data. Use TrendUpwardIcon instead.
41
+ alternatives:
42
+ - to: icon-trend-upward
@@ -0,0 +1,34 @@
1
+ kind: component
2
+ id: icon-package
3
+ name: PackageIcon
4
+ description: Packages, or bundles, or collections.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Bundle
10
+ - Module
11
+ - Dependency
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/package.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: To represent package management, bundles, or collections of data.
27
+ - level: should-not
28
+ statement: For shipping general groups of documents. Use DocumentsIcon instead.
29
+ alternatives:
30
+ - to: icon-documents
31
+ - level: should-not
32
+ statement: For directories/folders of files. Use FolderIcon instead.
33
+ alternatives:
34
+ - to: icon-folder
@@ -0,0 +1,38 @@
1
+ kind: component
2
+ id: icon-panel-left
3
+ name: PanelLeftIcon
4
+ description: Toggle the visibility of a left panel or sidebar.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Sidebar Left
10
+ - Left Panel
11
+ - West
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/panel-left.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: Toggling the visibility, docking or locking a left sidebar/panel
27
+ - level: should-not
28
+ statement: Don't use for navigation. Use MenuIcon instead.
29
+ alternatives:
30
+ - to: icon-menu
31
+ - level: should-not
32
+ statement: "Don't use to indicate closing the PanelRightIcon. Use PanelLeftIcon instead. Best practices:"
33
+ alternatives:
34
+ - to: icon-panel-right
35
+ - level: should-not
36
+ statement: Consider RTL languages when using panel left/right.
37
+ - level: should-not
38
+ statement: 'Make sure to reinforce which toggle action will occur in the label (ex: "Open the navigation panel")'
@@ -0,0 +1,40 @@
1
+ kind: component
2
+ id: icon-panel-right
3
+ name: PanelRightIcon
4
+ description: Toggle the visibility of a left panel or sidebar.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Sidebar Right
10
+ - Right Panel
11
+ - East
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/panel-right.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: Toggling the visibility, docking or locking a right sidebar/panel
27
+ - level: should-not
28
+ statement: Don't use for navigation. Use MenuIcon instead.
29
+ alternatives:
30
+ - to: icon-menu
31
+ - level: should-not
32
+ statement: "Don't use to indicate closing the PanelLeftIcon. Use PanelRightIcon instead. Best practices:"
33
+ alternatives:
34
+ - to: icon-panel-left
35
+ - level: should-not
36
+ statement: Consider RTL languages when using panel left/right.
37
+ - level: should-not
38
+ statement: Consider RTL languages when using panel left/right.
39
+ - level: should-not
40
+ statement: 'Make sure to reinforce which toggle action will occur in the label (ex: "Close the inspector panel")'
@@ -0,0 +1,32 @@
1
+ kind: component
2
+ id: icon-pause
3
+ name: PauseIcon
4
+ description: Pausing media playback or holding actions.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Stop
10
+ - Hold
11
+ - Wait
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pause.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: For pausing media playback
27
+ - level: should
28
+ statement: For holding processes or actions
29
+ - level: should-not
30
+ statement: Don't use for stopping playback completely or terminating actions. Use StopIcon instead.
31
+ alternatives:
32
+ - to: icon-stop
@@ -0,0 +1,28 @@
1
+ kind: component
2
+ id: icon-pin-filled
3
+ name: PinFilledIcon
4
+ description: To represent a pinned item.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Pinned
10
+ refs:
11
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pin-filled.svg
12
+ rel: source
13
+ $extensions:
14
+ com.sanity.ui:
15
+ iconOf: icons
16
+ described: true
17
+ sections:
18
+ - kind: guidelines
19
+ for: all
20
+ framing: when-to-use
21
+ title: When to use
22
+ items:
23
+ - level: should
24
+ statement: To represent an item that has been pinned to a view
25
+ - level: should-not
26
+ statement: To represent favorited or saved content. Use StarFilledIcon instead.
27
+ alternatives:
28
+ - to: icon-star-filled
@@ -0,0 +1,14 @@
1
+ kind: component
2
+ id: icon-pin-removed
3
+ name: PinRemovedIcon
4
+ description: The pin removed icon from the Sanity icon set.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ refs:
9
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pin-removed.svg
10
+ rel: source
11
+ $extensions:
12
+ com.sanity.ui:
13
+ iconOf: icons
14
+ described: false
@@ -0,0 +1,32 @@
1
+ kind: component
2
+ id: icon-pin
3
+ name: PinIcon
4
+ description: To represent an item that can be pinned.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Unpinned
10
+ refs:
11
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/pin.svg
12
+ rel: source
13
+ $extensions:
14
+ com.sanity.ui:
15
+ iconOf: icons
16
+ described: true
17
+ sections:
18
+ - kind: guidelines
19
+ for: all
20
+ framing: when-to-use
21
+ title: When to use
22
+ items:
23
+ - level: should
24
+ statement: As an affordance for pinning an item to a view
25
+ - level: should-not
26
+ statement: For representing an actively pinned item. Use PinFilledIcon instead.
27
+ alternatives:
28
+ - to: icon-pin-filled
29
+ - level: should-not
30
+ statement: For favoriting or saving content. Use StarIcon instead.
31
+ alternatives:
32
+ - to: icon-star
@@ -0,0 +1,32 @@
1
+ kind: component
2
+ id: icon-play
3
+ name: PlayIcon
4
+ description: Starting media playback or initiating actions.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Start
10
+ - Run
11
+ - Begin
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/play.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: To represent media playback or starting media playback
27
+ - level: should
28
+ statement: For initiating processes or actions
29
+ - level: should-not
30
+ statement: For toggling visibility of items within a tree view. Use ToggleArrowRightIcon instead.
31
+ alternatives:
32
+ - to: icon-toggle-arrow-right
@@ -0,0 +1,35 @@
1
+ kind: component
2
+ id: icon-plug
3
+ name: PlugIcon
4
+ description: Represents API endpoints or integrations.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Plugin
10
+ - Extension
11
+ - Connection
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/plug.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: Referencing API integrations, features, or endpoints
27
+ - level: should-not
28
+ statement: For general code references. Use CodeIcon or CodeBlockIcon instead.
29
+ alternatives:
30
+ - to: icon-code
31
+ - to: icon-code-block
32
+ - level: should-not
33
+ statement: For code inspection. Use JsonIcon instead.
34
+ alternatives:
35
+ - to: icon-json
@@ -0,0 +1,18 @@
1
+ kind: component
2
+ id: icon-presentation
3
+ name: PresentationIcon
4
+ description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Slideshow
10
+ - Present
11
+ - Display
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/presentation.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
@@ -0,0 +1,14 @@
1
+ kind: component
2
+ id: icon-progress50
3
+ name: Progress50Icon
4
+ description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ refs:
9
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/progress50.svg
10
+ rel: source
11
+ $extensions:
12
+ com.sanity.ui:
13
+ iconOf: icons
14
+ described: true
@@ -0,0 +1,14 @@
1
+ kind: component
2
+ id: icon-progress75
3
+ name: Progress75Icon
4
+ description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ refs:
9
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/progress75.svg
10
+ rel: source
11
+ $extensions:
12
+ com.sanity.ui:
13
+ iconOf: icons
14
+ described: true
@@ -0,0 +1,14 @@
1
+ kind: component
2
+ id: icon-projects
3
+ name: ProjectsIcon
4
+ description: The projects icon from the Sanity icon set.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ refs:
9
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/projects.svg
10
+ rel: source
11
+ $extensions:
12
+ com.sanity.ui:
13
+ iconOf: icons
14
+ described: false
@@ -0,0 +1,38 @@
1
+ kind: component
2
+ id: icon-publish
3
+ name: PublishIcon
4
+ description: Publishing or releasing.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Release
10
+ - Deploy
11
+ - Go Live
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/publish.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: For publishing, deploying or releasing content.
27
+ - level: should-not
28
+ statement: For unpublishing content. Use UnpublishIcon instead.
29
+ alternatives:
30
+ - to: icon-unpublish
31
+ - level: should-not
32
+ statement: For uploading content. Use UploadIcon instead.
33
+ alternatives:
34
+ - to: icon-upload
35
+ - level: should-not
36
+ statement: For collapsing content vertically. Use ChevronUpIcon instead.
37
+ alternatives:
38
+ - to: icon-chevron-up
@@ -0,0 +1,36 @@
1
+ kind: component
2
+ id: icon-read-only
3
+ name: ReadOnlyIcon
4
+ description: Read-only or view-only state.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - View Only
10
+ - Locked
11
+ - No Edit
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/read-only.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: For read-only fields or to reinforce when content is not editable.
27
+ - level: should
28
+ statement: To represent a view-only mode.
29
+ - level: should-not
30
+ statement: For locked content. Use LockIcon instead.
31
+ alternatives:
32
+ - to: icon-lock
33
+ - level: should-not
34
+ statement: For content a user is not allowed to access. Use AccessDeniedIcon instead.
35
+ alternatives:
36
+ - to: icon-access-denied
@@ -0,0 +1,38 @@
1
+ kind: component
2
+ id: icon-redo
3
+ name: RedoIcon
4
+ description: Redo or reapply actions.
5
+ metadata:
6
+ status:
7
+ status: stable
8
+ aliases:
9
+ - Repeat
10
+ - Forward
11
+ - Reapply
12
+ refs:
13
+ - href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/redo.svg
14
+ rel: source
15
+ $extensions:
16
+ com.sanity.ui:
17
+ iconOf: icons
18
+ described: true
19
+ sections:
20
+ - kind: guidelines
21
+ for: all
22
+ framing: when-to-use
23
+ title: When to use
24
+ items:
25
+ - level: should
26
+ statement: For redo operations
27
+ - level: should-not
28
+ statement: For retrying an operation. Use RetryIcon instead.
29
+ alternatives:
30
+ - to: icon-retry
31
+ - level: should-not
32
+ statement: For going forward in history. Use ArrowRightIcon instead.
33
+ alternatives:
34
+ - to: icon-arrow-right
35
+ - level: should-not
36
+ statement: For refreshing content. Use RefreshIcon instead.
37
+ alternatives:
38
+ - to: icon-refresh