@fibery/ui-kit 1.36.2 → 1.38.0

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 (296) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +8 -5
  3. package/src/action-badge.tsx +5 -4
  4. package/src/actions-menu/actions-menu-confirmation.tsx +1 -12
  5. package/src/actions-menu/actions-menu-item.tsx +19 -7
  6. package/src/actions-menu/actions-menu-props.tsx +4 -0
  7. package/src/actions-menu/actions-menu-sub-command-menu.tsx +7 -4
  8. package/src/actions-menu/actions-menu-sub-menu.tsx +9 -3
  9. package/src/actions-menu/actions-menu.tsx +24 -8
  10. package/src/actions-panel.tsx +12 -2
  11. package/src/antd/ant-modal.tsx +17 -2
  12. package/src/antd/input.tsx +4 -3
  13. package/src/app-icon-with-fallback.tsx +5 -8
  14. package/src/app-icon-wrapper.tsx +4 -4
  15. package/src/appIcons.json +20 -0
  16. package/src/axis-header.tsx +136 -76
  17. package/src/badge.tsx +14 -7
  18. package/src/beta-badge.tsx +12 -8
  19. package/src/box.tsx +1 -1
  20. package/src/breadcrumb.tsx +78 -0
  21. package/src/button/actions-button-compact.tsx +5 -2
  22. package/src/button/base-button.tsx +7 -4
  23. package/src/button/button-group.tsx +1 -1
  24. package/src/button/button.tsx +120 -2
  25. package/src/button/icon-button.tsx +13 -2
  26. package/src/button/select-button.tsx +27 -8
  27. package/src/card-container.tsx +36 -69
  28. package/src/card-hidden-link.tsx +52 -0
  29. package/src/collapsible-section.tsx +13 -3
  30. package/src/color-picker/index.js +65 -60
  31. package/src/color-picker/swatch.tsx +29 -14
  32. package/src/command-menu/index.tsx +5 -5
  33. package/src/context-menu/index.tsx +10 -1
  34. package/src/count-badge.tsx +57 -0
  35. package/src/date-picker/date-range-input.tsx +1 -1
  36. package/src/date-picker/date-range-picker.tsx +6 -3
  37. package/src/date-picker/fake-date-input.tsx +1 -1
  38. package/src/date-picker/relative-date-picker.tsx +7 -3
  39. package/src/date-picker/single-date-input.tsx +1 -1
  40. package/src/date-picker/single-date-picker.tsx +8 -5
  41. package/src/date-picker/styles.ts +32 -26
  42. package/src/date-picker/types.ts +3 -1
  43. package/src/date-picker/utils.ts +9 -2
  44. package/src/day-select/day-select.tsx +21 -75
  45. package/src/day-select/iso-week-day-select.tsx +1 -1
  46. package/src/day-select/mount-day-select.tsx +2 -2
  47. package/src/day-select/week-day-select.tsx +1 -5
  48. package/src/design-system.ts +91 -51
  49. package/src/dropdown-menu/index.tsx +8 -1
  50. package/src/emoji-picker/app-icon-picker.tsx +6 -4
  51. package/src/emoji-picker/emoji-picker-content-with-color.tsx +3 -9
  52. package/src/emoji-picker/emoji-picker-preview-footer.tsx +1 -1
  53. package/src/emoji-picker/emoji-picker.tsx +3 -0
  54. package/src/emoji-picker/emoji.tsx +2 -1
  55. package/src/emoji-picker/icon-emoji-picker.tsx +83 -68
  56. package/src/emoji-picker/primitives/footer.tsx +0 -1
  57. package/src/emoji-picker/primitives/header.tsx +1 -0
  58. package/src/emoji-picker/primitives/search.tsx +12 -13
  59. package/src/emoji-picker/primitives/skin-tone.tsx +1 -0
  60. package/src/emoji-picker/use-responsive-emoji-size.ts +11 -0
  61. package/src/emoji-picker/utils/emoji-set.ts +2 -1
  62. package/src/empty-state/empty-state.tsx +6 -0
  63. package/src/error-alert/error-alert.tsx +19 -7
  64. package/src/field-app-icon.tsx +29 -0
  65. package/src/field-container.tsx +4 -2
  66. package/src/field-icon.tsx +29 -0
  67. package/src/field-type-icon.tsx +82 -0
  68. package/src/file-item.tsx +164 -47
  69. package/src/guide-link.tsx +4 -3
  70. package/src/hint.tsx +10 -1
  71. package/src/html-styles.ts +23 -13
  72. package/src/icons/ast/ActivityFilled.ts +8 -0
  73. package/src/icons/ast/AiAssistantFilled.ts +8 -0
  74. package/src/icons/ast/AiFiberyBuild.ts +8 -0
  75. package/src/icons/ast/Anthropic.ts +1 -1
  76. package/src/icons/ast/Apple.ts +8 -0
  77. package/src/icons/ast/ArrowBottom.ts +1 -1
  78. package/src/icons/ast/ArrowForward.ts +1 -1
  79. package/src/icons/ast/ArrowLeft.ts +1 -1
  80. package/src/icons/ast/ArrowRight.ts +1 -1
  81. package/src/icons/ast/ArrowTop.ts +1 -1
  82. package/src/icons/ast/CollapseAllHorizontal.ts +8 -0
  83. package/src/icons/ast/Crosshair.ts +8 -0
  84. package/src/icons/ast/DateRange.ts +1 -1
  85. package/src/icons/ast/Document.ts +8 -0
  86. package/src/icons/ast/EntityCreate.ts +8 -0
  87. package/src/icons/ast/EntityCreateFilled.ts +8 -0
  88. package/src/icons/ast/ExpandAll.ts +8 -0
  89. package/src/icons/ast/ExpandAllHorizontal.ts +8 -0
  90. package/src/icons/ast/FiberyDesktopApp.ts +8 -0
  91. package/src/icons/ast/FileDownload.ts +8 -0
  92. package/src/icons/ast/GlobeUnpublish.ts +8 -0
  93. package/src/icons/ast/GraduationCapFilled.ts +8 -0
  94. package/src/icons/ast/Home.ts +1 -1
  95. package/src/icons/ast/HomeFilled.ts +8 -0
  96. package/src/icons/ast/ImportFilled.ts +8 -0
  97. package/src/icons/ast/IntegrationsFilled.ts +8 -0
  98. package/src/icons/ast/KeyboardHideDown.ts +8 -0
  99. package/src/icons/ast/LayoutMultiple.ts +8 -0
  100. package/src/icons/ast/LocationEdit.ts +8 -0
  101. package/src/icons/ast/MessagePlus.ts +8 -0
  102. package/src/icons/ast/OpenAi.ts +1 -1
  103. package/src/icons/ast/RicheditorHistoryRedo.ts +1 -1
  104. package/src/icons/ast/RicheditorHistoryUndo.ts +1 -1
  105. package/src/icons/ast/RicheditorMarkHighlight.ts +8 -0
  106. package/src/icons/ast/RicheditorMarkStrike.ts +1 -1
  107. package/src/icons/ast/RicheditorMarkUnderline.ts +1 -1
  108. package/src/icons/ast/SearchFilled.ts +8 -0
  109. package/src/icons/ast/SettingsFilled.ts +8 -0
  110. package/src/icons/ast/SlideMenuFilled.ts +8 -0
  111. package/src/icons/ast/SpaceApp.ts +8 -0
  112. package/src/icons/ast/SpaceGenerate.ts +8 -0
  113. package/src/icons/ast/SpaceScratch.ts +8 -0
  114. package/src/icons/ast/SpaceTemplate.ts +8 -0
  115. package/src/icons/ast/TableLayout.ts +8 -0
  116. package/src/icons/ast/TemplatesFilled.ts +8 -0
  117. package/src/icons/ast/ThumbsDown.ts +8 -0
  118. package/src/icons/ast/ThumbsUp.ts +8 -0
  119. package/src/icons/ast/TypeDate.ts +1 -1
  120. package/src/icons/ast/ViewDashboard.ts +8 -0
  121. package/src/icons/ast/WarningTriangleFilled.ts +8 -0
  122. package/src/icons/ast/Windows.ts +8 -0
  123. package/src/icons/ast/index.tsx +37 -0
  124. package/src/icons/react/ActivityFilled.tsx +13 -0
  125. package/src/icons/react/AiAssistantFilled.tsx +13 -0
  126. package/src/icons/react/AiFiberyBuild.tsx +13 -0
  127. package/src/icons/react/Apple.tsx +13 -0
  128. package/src/icons/react/CollapseAllHorizontal.tsx +13 -0
  129. package/src/icons/react/Crosshair.tsx +13 -0
  130. package/src/icons/react/Document.tsx +13 -0
  131. package/src/icons/react/EntityCreate.tsx +13 -0
  132. package/src/icons/react/EntityCreateFilled.tsx +13 -0
  133. package/src/icons/react/ExpandAll.tsx +13 -0
  134. package/src/icons/react/ExpandAllHorizontal.tsx +13 -0
  135. package/src/icons/react/FiberyDesktopApp.tsx +13 -0
  136. package/src/icons/react/FileDownload.tsx +13 -0
  137. package/src/icons/react/GlobeUnpublish.tsx +13 -0
  138. package/src/icons/react/GraduationCapFilled.tsx +13 -0
  139. package/src/icons/react/HomeFilled.tsx +13 -0
  140. package/src/icons/react/ImportFilled.tsx +13 -0
  141. package/src/icons/react/IntegrationsFilled.tsx +13 -0
  142. package/src/icons/react/KeyboardHideDown.tsx +13 -0
  143. package/src/icons/react/LayoutMultiple.tsx +13 -0
  144. package/src/icons/react/LocationEdit.tsx +13 -0
  145. package/src/icons/react/MessagePlus.tsx +13 -0
  146. package/src/icons/react/RicheditorMarkHighlight.tsx +13 -0
  147. package/src/icons/react/SearchFilled.tsx +13 -0
  148. package/src/icons/react/SettingsFilled.tsx +13 -0
  149. package/src/icons/react/SlideMenuFilled.tsx +13 -0
  150. package/src/icons/react/SpaceApp.tsx +13 -0
  151. package/src/icons/react/SpaceGenerate.tsx +13 -0
  152. package/src/icons/react/SpaceScratch.tsx +13 -0
  153. package/src/icons/react/SpaceTemplate.tsx +13 -0
  154. package/src/icons/react/TableLayout.tsx +13 -0
  155. package/src/icons/react/TemplatesFilled.tsx +13 -0
  156. package/src/icons/react/ThumbsDown.tsx +13 -0
  157. package/src/icons/react/ThumbsUp.tsx +13 -0
  158. package/src/icons/react/ViewDashboard.tsx +13 -0
  159. package/src/icons/react/WarningTriangleFilled.tsx +13 -0
  160. package/src/icons/react/Windows.tsx +13 -0
  161. package/src/icons/react/index.tsx +37 -0
  162. package/src/icons/svg/activity-filled.svg +4 -0
  163. package/src/icons/svg/ai-assistant-filled.svg +3 -0
  164. package/src/icons/svg/ai-fibery-build.svg +24 -0
  165. package/src/icons/svg/anthropic.svg +2 -14
  166. package/src/icons/svg/apple.svg +4 -0
  167. package/src/icons/svg/arrow-bottom.svg +1 -1
  168. package/src/icons/svg/arrow-forward.svg +1 -1
  169. package/src/icons/svg/arrow-left.svg +1 -1
  170. package/src/icons/svg/arrow-right.svg +1 -1
  171. package/src/icons/svg/arrow-top.svg +1 -1
  172. package/src/icons/svg/collapse-all-horizontal.svg +3 -0
  173. package/src/icons/svg/crosshair.svg +4 -0
  174. package/src/icons/svg/date-range.svg +3 -3
  175. package/src/icons/svg/document.svg +4 -0
  176. package/src/icons/svg/entity-create-filled.svg +4 -0
  177. package/src/icons/svg/entity-create.svg +3 -0
  178. package/src/icons/svg/expand-all-horizontal.svg +3 -0
  179. package/src/icons/svg/expand-all.svg +3 -0
  180. package/src/icons/svg/fibery-desktop-app.svg +101 -0
  181. package/src/icons/svg/file-download.svg +4 -0
  182. package/src/icons/svg/globe-unpublish.svg +4 -0
  183. package/src/icons/svg/go-to.svg +1 -3
  184. package/src/icons/svg/graduation-cap-filled.svg +4 -0
  185. package/src/icons/svg/home-filled.svg +3 -0
  186. package/src/icons/svg/home.svg +4 -2
  187. package/src/icons/svg/import-filled.svg +4 -0
  188. package/src/icons/svg/integrations-filled.svg +4 -0
  189. package/src/icons/svg/keyboard-hide-down.svg +1 -0
  190. package/src/icons/svg/layout-multiple.svg +3 -0
  191. package/src/icons/svg/location-edit.svg +13 -0
  192. package/src/icons/svg/message-plus.svg +4 -0
  193. package/src/icons/svg/open-ai.svg +2 -7
  194. package/src/icons/svg/open-as-page.svg +2 -3
  195. package/src/icons/svg/richeditor/history/redo.svg +3 -2
  196. package/src/icons/svg/richeditor/history/undo.svg +3 -2
  197. package/src/icons/svg/richeditor/mark/code.svg +4 -5
  198. package/src/icons/svg/richeditor/mark/em.svg +3 -2
  199. package/src/icons/svg/richeditor/mark/highlight.svg +3 -0
  200. package/src/icons/svg/richeditor/mark/strike.svg +3 -2
  201. package/src/icons/svg/richeditor/mark/strong.svg +3 -2
  202. package/src/icons/svg/richeditor/mark/underline.svg +4 -2
  203. package/src/icons/svg/search-filled.svg +3 -0
  204. package/src/icons/svg/settings-filled.svg +3 -0
  205. package/src/icons/svg/slide-menu-filled.svg +1 -0
  206. package/src/icons/svg/space-app.svg +3 -0
  207. package/src/icons/svg/space-generate.svg +3 -0
  208. package/src/icons/svg/space-scratch.svg +3 -0
  209. package/src/icons/svg/space-template.svg +3 -0
  210. package/src/icons/svg/table-layout.svg +3 -0
  211. package/src/icons/svg/templates-filled.svg +6 -0
  212. package/src/icons/svg/thumbs-down.svg +3 -0
  213. package/src/icons/svg/thumbs-up.svg +3 -0
  214. package/src/icons/svg/type/date.svg +3 -2
  215. package/src/icons/svg/view-dashboard.svg +5 -0
  216. package/src/icons/svg/warning-triangle-filled.svg +3 -0
  217. package/src/icons/svg/windows.svg +15 -0
  218. package/src/images-gallery/images-gallery.tsx +254 -0
  219. package/src/images-gallery/zoom.tsx +112 -0
  220. package/src/integration-compact-info-button.tsx +3 -1
  221. package/src/is-in-popup.ts +1 -1
  222. package/src/layout-styles.ts +43 -0
  223. package/src/lists/actions-menu-row-surface.tsx +3 -1
  224. package/src/lists/list-row-surface.tsx +9 -2
  225. package/src/loaders.tsx +6 -6
  226. package/src/logo.tsx +16 -9
  227. package/src/mobile-keyboard-aware-popup.tsx +87 -0
  228. package/src/mobile-styles.ts +10 -0
  229. package/src/modal-menu/contexts/modal-menu-context.tsx +22 -0
  230. package/src/modal-menu/contexts/modal-submenu-context.tsx +16 -0
  231. package/src/modal-menu/index.tsx +14 -0
  232. package/src/modal-menu/modal-menu-content.tsx +68 -0
  233. package/src/modal-menu/modal-menu-group.tsx +10 -0
  234. package/src/modal-menu/modal-menu-item.tsx +37 -0
  235. package/src/modal-menu/modal-menu-label.tsx +24 -0
  236. package/src/modal-menu/modal-menu-root.tsx +57 -0
  237. package/src/modal-menu/modal-menu-separator.tsx +14 -0
  238. package/src/modal-menu/modal-menu-trigger.tsx +37 -0
  239. package/src/modal-menu/modal-submenu-content.tsx +49 -0
  240. package/src/modal-menu/modal-submenu-trigger.tsx +34 -0
  241. package/src/modal-menu/modal-submenu.tsx +17 -0
  242. package/src/new-badge.tsx +4 -7
  243. package/src/number-input/text-area-auto-sized.tsx +47 -0
  244. package/src/number-input/text-input-auto-sized.tsx +49 -0
  245. package/src/online-users.tsx +3 -3
  246. package/src/palette.ts +50 -50
  247. package/src/popover/index.tsx +687 -0
  248. package/src/popover/mobile-popup-context.tsx +29 -0
  249. package/src/{popup → popover}/modifiers.tsx +0 -7
  250. package/src/{popup → popover}/popup-modifiers-context.ts +3 -3
  251. package/src/reactions/reaction-button.tsx +30 -45
  252. package/src/reactions/reaction-picker.tsx +39 -45
  253. package/src/rich-text-embed-error.tsx +2 -2
  254. package/src/select/{custom-select-partials → components}/menu.tsx +13 -7
  255. package/src/select/{custom-select-partials → components}/no-option-message.tsx +0 -1
  256. package/src/select/constants.ts +1 -0
  257. package/src/select/index.tsx +143 -148
  258. package/src/select/select-in-popover.tsx +119 -138
  259. package/src/select/styles.ts +60 -24
  260. package/src/shortcut-badge.tsx +1 -0
  261. package/src/tab-nav/tab-nav.tsx +47 -28
  262. package/src/theme-provider.tsx +9 -1
  263. package/src/toast/primitives.tsx +8 -1
  264. package/src/toggle-button/round-toggle-button.tsx +23 -0
  265. package/src/toggle-button/toggle-button-group.tsx +34 -0
  266. package/src/toggle-button/toggle-button.tsx +164 -0
  267. package/src/toggle.tsx +3 -3
  268. package/src/tooltip-if-overflown.tsx +9 -3
  269. package/src/tooltip.tsx +2 -2
  270. package/src/unit/index.tsx +9 -1
  271. package/src/unit/loading-unit-value.tsx +1 -0
  272. package/src/unit/maybe-unit-value.tsx +3 -3
  273. package/src/unit/primitive.tsx +58 -42
  274. package/src/unit/styles.ts +10 -14
  275. package/src/unit/types.ts +4 -2
  276. package/src/unit/unit-button-group.tsx +6 -11
  277. package/src/unit/unit-content.tsx +13 -5
  278. package/src/unit/unit-with-title.tsx +6 -1
  279. package/src/unit/unit-with-tooltip.tsx +24 -9
  280. package/src/use-is-phone.tsx +37 -0
  281. package/src/use-is-support-hover.ts +1 -1
  282. package/src/use-on-screen-keyboard-data.tsx +66 -0
  283. package/src/workflow-progress-icon.tsx +17 -23
  284. package/src/number-input/text-area-with-autosize.tsx +0 -91
  285. package/src/number-input/text-inline-input-with-autosize.tsx +0 -60
  286. package/src/popup/index.tsx +0 -382
  287. package/src/use-is-phone.ts +0 -5
  288. /package/src/{popup → popover}/popup-stack-context.tsx +0 -0
  289. /package/src/{popup → popover}/reference.ts +0 -0
  290. /package/src/{popup → popover}/styles.ts +0 -0
  291. /package/src/{popup → popover}/use-click-outside.ts +0 -0
  292. /package/src/select/{custom-select-partials → components}/clear-indicator.tsx +0 -0
  293. /package/src/select/{custom-select-partials → components}/drop-down-indicator.tsx +0 -0
  294. /package/src/select/{custom-select-partials → components}/group-heading.tsx +0 -0
  295. /package/src/select/{custom-select-partials → components}/menu-list-virtualized.tsx +0 -0
  296. /package/src/select/{custom-select-partials → components}/option.tsx +0 -0
package/src/file-item.tsx CHANGED
@@ -1,10 +1,15 @@
1
1
  import {css, cx} from "@linaria/core";
2
- import {PureComponent} from "react";
2
+ import {PureComponent, useEffect, useState} from "react";
3
3
  import {ActionsMenu, ActionsMenuItem} from "./actions-menu";
4
4
  import {ActionsButtonCompact} from "./button/actions-button-compact";
5
5
  import {Item} from "./item";
6
6
  import {border, colors, fontWeight, space, textStyles, themeVars} from "./design-system";
7
7
  import {makeButtonColors} from "./button/make-button-colors";
8
+ import {IconButton} from "./button/icon-button";
9
+ import ZoomIn from "./icons/react/RicheditorImageZoom";
10
+ import {Tooltip} from "./tooltip";
11
+ import {Zoom} from "./images-gallery/zoom";
12
+ import {useImagesGalleryMethods, useImagesGalleryRegistry} from "./images-gallery/images-gallery";
8
13
 
9
14
  const fileItemStyle = css`
10
15
  ${{
@@ -50,7 +55,7 @@ const imageOverlayStyle = css`
50
55
  borderRadius: border.radius6,
51
56
  "&:hover": {
52
57
  backgroundPosition: "0% 0%",
53
- color: colors.inversedTextColor,
58
+ color: themeVars.inversedTextColor,
54
59
  },
55
60
  }}
56
61
  `;
@@ -65,15 +70,71 @@ export type FileItemType = {
65
70
  name: string;
66
71
  url: string;
67
72
  thumbnailUrl: string | null;
73
+ previewUrl: string | null;
68
74
  status?: string;
69
75
  };
70
76
 
71
77
  export type FileItemProps = {
72
78
  data: FileItemType;
73
- onRemoveClick: (x: FileItemType) => void;
79
+ onRemoveClick?: (x: FileItemType) => void;
74
80
  disabled?: boolean;
75
81
  };
76
82
 
83
+ function ImageZoom({thumbnailUrl, url}: {thumbnailUrl: string; url: string}) {
84
+ const [zoomed, setZoomed] = useState(false);
85
+ const imagesRegistry = useImagesGalleryRegistry();
86
+ const galleryMethods = useImagesGalleryMethods();
87
+ useEffect(() => {
88
+ imagesRegistry.set(thumbnailUrl, {zoomed: false, setZoomed});
89
+ }, [imagesRegistry, thumbnailUrl]);
90
+ useEffect(() => {
91
+ if (zoomed) {
92
+ galleryMethods.setActivated(true);
93
+ }
94
+ const imageData = imagesRegistry.get(thumbnailUrl);
95
+ if (imageData) {
96
+ imageData.zoomed = zoomed;
97
+ } else {
98
+ imagesRegistry.set(thumbnailUrl, {zoomed, setZoomed});
99
+ }
100
+ }, [galleryMethods, zoomed, thumbnailUrl, imagesRegistry]);
101
+ return (
102
+ <div
103
+ className={css`
104
+ position: relative;
105
+ `}
106
+ >
107
+ <Zoom
108
+ zoomImg={{src: url}}
109
+ openOnClick={true}
110
+ className={css`
111
+ position: absolute;
112
+ outline: none;
113
+ bottom: 0;
114
+ top: 0;
115
+ left: 0;
116
+ right: 0;
117
+ cursor: zoom-in;
118
+ `}
119
+ zoomed={zoomed}
120
+ onZoomedChange={setZoomed}
121
+ >
122
+ <div role="img" style={{backgroundImage: `url(${thumbnailUrl})`, outline: "none"}} />
123
+ </Zoom>
124
+ <Tooltip title={"Zoom in"}>
125
+ <IconButton
126
+ style={makeButtonColors(colors.inversedTextColor, "ghost")}
127
+ onClick={() => setZoomed(true)}
128
+ size={"small"}
129
+ supportMobile={true}
130
+ >
131
+ <ZoomIn />
132
+ </IconButton>
133
+ </Tooltip>
134
+ </div>
135
+ );
136
+ }
137
+
77
138
  export class FileItem extends PureComponent<FileItemProps> {
78
139
  _renderStatus() {
79
140
  const {status} = this.props.data;
@@ -91,61 +152,117 @@ export class FileItem extends PureComponent<FileItemProps> {
91
152
  }
92
153
 
93
154
  render() {
94
- const {name, url, thumbnailUrl, status} = this.props.data;
95
-
155
+ const {name, url, thumbnailUrl, status, previewUrl} = this.props.data;
96
156
  const isActive = status === "uploading" || status === "deleting";
97
157
  const isBackgroundReady = thumbnailUrl && !isActive;
98
-
99
158
  return (
100
- <a
101
- href={url}
102
- rel="noopener noreferrer nofollow"
103
- target="_blank"
104
- style={isBackgroundReady ? {backgroundImage: `url(${thumbnailUrl})`} : {}}
159
+ <div
105
160
  className={cx(
106
- fileItemStyle,
107
- isActive &&
161
+ css`
162
+ position: relative;
163
+ height: 100%;
164
+ `,
165
+ isBackgroundReady &&
108
166
  css`
109
- ${{backgroundColor: themeVars.entityCardSelectedColor}}
167
+ &:hover .${overlayStyle} {
168
+ background-position: 0 0;
169
+ color: ${themeVars.inversedTextColor};
170
+ }
110
171
  `
111
172
  )}
112
173
  >
113
- <div className={cx(overlayStyle, isBackgroundReady ? imageOverlayStyle : fileOverlayStyle)}>
114
- <Item
115
- multiline
116
- textClassName={nameStyle}
117
- rightContainer={
118
- <ActionsMenu
119
- trigger={
120
- <ActionsButtonCompact
121
- style={isBackgroundReady ? makeButtonColors(colors.inversedTextColor, "ghost") : undefined}
122
- />
123
- }
124
- >
125
- <a download={name} href={url}>
126
- <ActionsMenuItem>Download</ActionsMenuItem>
127
- </a>
128
- <ActionsMenuItem
129
- onSelect={() => this.props.onRemoveClick(this.props.data)}
130
- dangerous
131
- disabled={this.props.disabled}
132
- >
133
- Delete
134
- </ActionsMenuItem>
135
- </ActionsMenu>
174
+ {/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
175
+ <a
176
+ href={url}
177
+ className={css`
178
+ &::before {
179
+ bottom: 0;
180
+ content: "";
181
+ display: block;
182
+ left: 0;
183
+ position: absolute;
184
+ right: 0;
185
+ top: 0;
136
186
  }
137
- >
138
- <div
139
- className={css`
140
- ${fontWeight}
141
- `}
187
+ `}
188
+ rel="noopener noreferrer nofollow"
189
+ target="_blank"
190
+ />
191
+ <div
192
+ style={isBackgroundReady ? {backgroundImage: `url(${thumbnailUrl})`} : {}}
193
+ className={cx(
194
+ fileItemStyle,
195
+ isActive &&
196
+ css`
197
+ ${{backgroundColor: themeVars.entityCardSelectedColor}}
198
+ `
199
+ )}
200
+ >
201
+ <div className={cx(overlayStyle, isBackgroundReady ? imageOverlayStyle : fileOverlayStyle)}>
202
+ <Item
203
+ multiline
204
+ textClassName={nameStyle}
205
+ rightContainer={
206
+ <div
207
+ className={css`
208
+ display: flex;
209
+ align-items: center;
210
+ gap: ${space.s4}px;
211
+ `}
212
+ >
213
+ {previewUrl ? <ImageZoom url={url} thumbnailUrl={previewUrl} /> : null}
214
+ <ActionsMenu
215
+ trigger={
216
+ <ActionsButtonCompact
217
+ className={css`
218
+ z-index: 1;
219
+ `}
220
+ style={isBackgroundReady ? makeButtonColors(colors.inversedTextColor, "ghost") : undefined}
221
+ />
222
+ }
223
+ >
224
+ <a download={name} href={url}>
225
+ <ActionsMenuItem>Download</ActionsMenuItem>
226
+ </a>
227
+ <ActionsMenuItem
228
+ onSelect={() => this.props.onRemoveClick?.(this.props.data)}
229
+ dangerous
230
+ disabled={this.props.disabled}
231
+ >
232
+ Delete
233
+ </ActionsMenuItem>
234
+ </ActionsMenu>
235
+ </div>
236
+ }
142
237
  >
143
- {this._renderStatus()}
144
- </div>
145
- {name}
146
- </Item>
238
+ <div
239
+ className={css`
240
+ ${fontWeight}
241
+ `}
242
+ >
243
+ {this._renderStatus()}
244
+ </div>
245
+ <a
246
+ className={css`
247
+ position: relative;
248
+ z-index: 1;
249
+ color: inherit;
250
+ text-decoration: none;
251
+ &:hover {
252
+ text-decoration: none;
253
+ color: inherit;
254
+ }
255
+ `}
256
+ href={url}
257
+ target={"_blank"}
258
+ rel="noreferrer"
259
+ >
260
+ {name}
261
+ </a>
262
+ </Item>
263
+ </div>
147
264
  </div>
148
- </a>
265
+ </div>
149
266
  );
150
267
  }
151
268
  }
@@ -1,17 +1,18 @@
1
1
  import {Button} from "./button/button";
2
- import {ButtonSize} from "./button/base-button";
2
+ import {ButtonSize, ButtonVariant} from "./button/base-button";
3
3
  import HintIcon from "./icons/react/Hint";
4
4
  import {IconButton} from "./button/icon-button";
5
5
 
6
6
  type GuideLinkProps = React.PropsWithChildren<{
7
7
  href: string;
8
8
  size?: ButtonSize;
9
+ variant?: ButtonVariant;
9
10
  }>;
10
- export const GuideLink: React.FC<GuideLinkProps> = ({href, children, size = "small"}) => {
11
+ export const GuideLink: React.FC<GuideLinkProps> = ({href, children, size = "small", variant = "ghost"}) => {
11
12
  return (
12
13
  <a href={href} rel="noreferrer" target={"_blank"}>
13
14
  {children ? (
14
- <Button iconStart={<HintIcon />} variant="ghost" color="neutral" size={size}>
15
+ <Button iconStart={<HintIcon />} variant={variant} color="neutral" size={size}>
15
16
  {children}
16
17
  </Button>
17
18
  ) : (
package/src/hint.tsx CHANGED
@@ -17,11 +17,15 @@ interface HintProps {
17
17
  tooltipSide?: TooltipProps["side"];
18
18
  tooltipAlign?: TooltipProps["align"];
19
19
  children?: ReactNode;
20
+ containerSize?: number;
21
+ iconSize?: number;
20
22
  }
21
23
 
22
24
  export const Hint: FC<HintProps> = ({
23
25
  children,
24
26
  text,
27
+ containerSize = 20,
28
+ iconSize = 18,
25
29
  title,
26
30
  description,
27
31
  multiline,
@@ -36,7 +40,12 @@ export const Hint: FC<HintProps> = ({
36
40
  rightContainer={
37
41
  <Tooltip title={text || title} description={description} side={tooltipSide} align={tooltipAlign}>
38
42
  <div>
39
- <HintIcon viewBox={"0 0 20 20"} color={themeVars.iconColor} containerSize={20} iconSize={18} />
43
+ <HintIcon
44
+ viewBox={"0 0 20 20"}
45
+ color={themeVars.iconColor}
46
+ containerSize={containerSize}
47
+ iconSize={iconSize}
48
+ />
40
49
  </div>
41
50
  </Tooltip>
42
51
  }
@@ -88,14 +88,14 @@ const htmlStyles = {
88
88
  marginTop: space.s16,
89
89
  },
90
90
  "& ul": {
91
- margin: space.s2,
91
+ margin: space.s3,
92
92
  marginLeft: space.s12,
93
93
  listStyleType: "disc",
94
94
  padding: 0,
95
95
  ...textStyles.regular,
96
96
  },
97
97
  "& ol": {
98
- margin: space.s2,
98
+ margin: space.s3,
99
99
  marginLeft: space.s12,
100
100
  listStyleType: "decimal",
101
101
  padding: 0,
@@ -110,8 +110,8 @@ const htmlStyles = {
110
110
  ...textStyles.regular,
111
111
  },
112
112
  "& li p": {
113
- marginTop: space.s2,
114
- marginBottom: space.s2,
113
+ marginTop: space.s3,
114
+ marginBottom: space.s3,
115
115
  marginLeft: space.s4,
116
116
  paddingTop: space.s3,
117
117
  paddingBottom: space.s3,
@@ -135,16 +135,16 @@ const htmlStyles = {
135
135
  },
136
136
  },
137
137
  "& p": {
138
- marginTop: space.s2,
139
- marginBottom: space.s2,
138
+ marginTop: space.s3,
139
+ marginBottom: space.s3,
140
140
  paddingTop: space.s3,
141
141
  paddingBottom: space.s3,
142
142
  ...textStyles.big,
143
143
  lineHeight: lineHeight.text,
144
144
  },
145
145
  "& .fibery-rich-text-check-item": {
146
- marginTop: space.s2,
147
- marginBottom: space.s2,
146
+ marginTop: space.s3,
147
+ marginBottom: space.s3,
148
148
  paddingTop: space.s3,
149
149
  paddingBottom: space.s3,
150
150
  ...textStyles.big,
@@ -160,8 +160,8 @@ const htmlStyles = {
160
160
  paddingRight: space.s12,
161
161
  paddingBottom: space.s3,
162
162
  "& p": {
163
- marginTop: space.s2,
164
- marginBottom: space.s2,
163
+ marginTop: space.s3,
164
+ marginBottom: space.s3,
165
165
  paddingTop: space.s3,
166
166
  paddingBottom: space.s3,
167
167
  ...textStyles.big,
@@ -169,8 +169,8 @@ const htmlStyles = {
169
169
  },
170
170
  },
171
171
  "& .code-block": {
172
- marginTop: space.s8,
173
- marginBottom: space.s8,
172
+ marginTop: space.s12,
173
+ marginBottom: space.s12,
174
174
  },
175
175
  "& pre": {
176
176
  whiteSpace: "pre-wrap",
@@ -226,9 +226,13 @@ const htmlStyles = {
226
226
  },
227
227
  "& > *:first-child": {
228
228
  marginTop: 0,
229
+ paddingTop: space.s3,
230
+ paddingBottom: space.s3,
229
231
  },
230
232
  "& > *:last-child": {
231
233
  marginBottom: 0,
234
+ paddingTop: space.s3,
235
+ paddingBottom: space.s3,
232
236
  },
233
237
  "& > .fibery-rich-text-image-block:last-child": {
234
238
  marginBottom: space.s4,
@@ -433,9 +437,13 @@ const smallHtmlStyles = {
433
437
  },
434
438
  "& > *:first-child": {
435
439
  marginTop: 0,
440
+ paddingTop: space.s2,
441
+ paddingBottom: space.s2,
436
442
  },
437
443
  "& > *:last-child": {
438
444
  marginBottom: 0,
445
+ paddingTop: space.s2,
446
+ paddingBottom: space.s2,
439
447
  },
440
448
  "& > .fibery-rich-text-image-block:last-child": {
441
449
  marginBottom: space.s2,
@@ -582,13 +590,14 @@ const chatHtmlStyles = {
582
590
  backgroundColor: themeVars.codeBlockBgColor,
583
591
  borderRadius: 6,
584
592
  ...textStyles.code,
593
+ fontSize: typeSizes[5],
585
594
  "& *:last-child": {
586
595
  marginBottom: 0,
587
596
  },
588
597
  },
589
598
  "& code": {
590
599
  ...textStyles.code,
591
- fontSize: "85%",
600
+ fontSize: typeSizes[5],
592
601
  lineHeight: "inherit",
593
602
  fontWeight: "inherit",
594
603
  padding: `${space.s2}px ${space.s3}px`,
@@ -598,6 +607,7 @@ const chatHtmlStyles = {
598
607
  },
599
608
  "& pre code": {
600
609
  ...textStyles.code,
610
+ fontSize: typeSizes[5],
601
611
  backgroundColor: themeVars.transparent,
602
612
  color: themeVars.textColor,
603
613
  padding: 0,
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const ActivityFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M12.4 16.5c.192 0 .288 0 .355.05.053.04.094.117.099.183.005.084-.041.155-.134.296a3.247 3.247 0 0 1-5.439 0c-.092-.141-.139-.212-.133-.296a.273.273 0 0 1 .098-.183c.067-.05.163-.05.355-.05h4.8ZM10 2c1.51 0 2.966.559 4.048 1.568 1.083 1.012 1.702 2.395 1.702 3.849 0 2.105.529 3.55 1.117 4.514.273.445.484.761.641.995l.065.097c.076.114.153.23.21.332.028.05.064.12.092.2a.898.898 0 0 1 .052.38c-.01.105-.031.287-.135.473a1.151 1.151 0 0 1-.335.365.94.94 0 0 1-.299.145 1.501 1.501 0 0 1-.205.042c-.12.017-.259.025-.404.03-.28.01-.669.01-1.155.01H4.607c-.487 0-.875 0-1.156-.01a4.065 4.065 0 0 1-.404-.03 1.498 1.498 0 0 1-.205-.042.942.942 0 0 1-.299-.145 1.151 1.151 0 0 1-.335-.365 1.157 1.157 0 0 1-.135-.473.895.895 0 0 1 .053-.38c.029-.08.064-.15.093-.2.056-.101.133-.218.209-.332l.065-.097c.157-.234.368-.55.64-.995.589-.964 1.117-2.409 1.117-4.514 0-1.454.62-2.837 1.703-3.849C7.035 2.56 8.491 2 10 2Z"},"children":[]}],"metadata":""}]},"name":"activity-filled"};
7
+
8
+ export default ActivityFilled;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const AiAssistantFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M3.374.262a.398.398 0 0 0-.75.006l-.548 1.607a.317.317 0 0 1-.207.2l-1.59.493a.395.395 0 0 0-.006.754l1.595.524a.317.317 0 0 1 .202.202l.552 1.68c.119.36.629.364.753.006l.587-1.69a.317.317 0 0 1 .199-.197l1.568-.526a.395.395 0 0 0-.006-.752l-1.564-.494a.317.317 0 0 1-.203-.195L3.374.262Zm-.562 14.956a.332.332 0 0 0-.626.006l-.456 1.338a.264.264 0 0 1-.172.168l-1.325.41a.33.33 0 0 0-.006.628l1.33.437c.08.027.142.089.168.169l.46 1.399c.099.3.524.304.628.005l.488-1.409a.264.264 0 0 1 .166-.163l1.308-.439a.33.33 0 0 0-.006-.626l-1.303-.412a.264.264 0 0 1-.17-.162l-.484-1.349Zm9.183-12.814c-.336-.936-1.663-.924-1.983.017l-1.47 4.33a1.2 1.2 0 0 1-.78.76L3.506 8.835c-.975.304-.986 1.68-.017 2l4.273 1.41a1.2 1.2 0 0 1 .764.767l1.482 4.53c.314.957 1.662.968 1.99.017l1.578-4.566a1.2 1.2 0 0 1 .752-.745l4.202-1.415c.963-.324.95-1.689-.017-1.996L14.326 7.51a1.2 1.2 0 0 1-.766-.74l-1.565-4.365Z"},"children":[]}],"metadata":""}]},"name":"ai-assistant-filled"};
7
+
8
+ export default AiAssistantFilled;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const AiFiberyBuild: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20","opacity":0.6},"children":[{"type":"element","tagName":"path","properties":{"d":"M10.13 18.55a.725.725 0 0 1 .021 1.449 9.544 9.544 0 0 1-.302 0 .725.725 0 0 1 .021-1.45 9.353 9.353 0 0 0 .26 0ZM6.469 17.807l.138.046.24.097.13.069a.725.725 0 0 1-.524 1.319l-.14-.04-.28-.115-.129-.073a.725.725 0 0 1 .565-1.303ZM13.531 17.807a.726.726 0 0 1 .437 1.376l-.28.115a.725.725 0 0 1-.535-1.348c.08-.032.16-.063.24-.098l.138-.045ZM2.839 15.938a.725.725 0 0 1 .912-.079l.112.095.183.183a.725.725 0 0 1-.895 1.13l-.114-.09-.215-.214a.725.725 0 0 1 .017-1.025ZM16.249 15.86a.725.725 0 0 1 .929 1.103l-.215.215-.114.09a.725.725 0 0 1-.895-1.131l.183-.183.112-.095ZM11.254 12.842l.116.38c.084.277.057.576-.077.833a1.087 1.087 0 0 1-.96.583c-.232 0-.457-.075-.644-.213a1.096 1.096 0 0 1-.392-.559l-.225-.736 1.178-.687 1.004.399ZM1.108 12.747a.725.725 0 0 1 .873.276l.069.13.097.24.046.138a.726.726 0 0 1-1.303.565l-.073-.128-.115-.28-.04-.141a.725.725 0 0 1 .446-.8ZM17.95 13.153a.725.725 0 0 1 1.348.534c-.037.094-.075.189-.115.28l-.073.129a.725.725 0 0 1-1.258-.703l.098-.24ZM11.188 5.378c.275-.047.558.015.789.174a1.105 1.105 0 0 1 .312 1.48l-4.014 5.956a1.087 1.087 0 0 1-.895.478 1.074 1.074 0 0 1-.953-.582 1.104 1.104 0 0 1 .06-1.124l4.014-5.957a1.08 1.08 0 0 1 .688-.425ZM13.475 10.922c.234.093.429.266.55.49a1.106 1.106 0 0 1-.256 1.37c-.194.163-.438.251-.69.251a1.061 1.061 0 0 1-.395-.071l-1.977-.785 2.4-1.4.368.145ZM13.65 7.68a1.074 1.074 0 0 1 .843.543 1.105 1.105 0 0 1-.396 1.494l-5.139 2.998 3.334-4.947 1.179-.09c.06-.004.12-.004.18.002ZM.736 9.135c.4.006.72.335.714.735a8.77 8.77 0 0 0 0 .26.725.725 0 0 1-1.449.021 10.237 10.237 0 0 1 0-.302c.006-.4.335-.72.735-.714ZM19.264 9.135c.4-.006.729.314.735.714a9.535 9.535 0 0 1 0 .302.725.725 0 0 1-1.45-.021 9.351 9.351 0 0 0 0-.26.725.725 0 0 1 .715-.735ZM6.926 10.37l-.399.03a1.075 1.075 0 0 1-.833-.303 1.1 1.1 0 0 1-.055-1.519c.187-.21.447-.34.726-.361l2.118-.16-1.557 2.312ZM8.272 5.564c.287.011.558.137.753.35l.52.566-.765 1.136-1.072.081-.27-.294a1.103 1.103 0 0 1 .058-1.548c.21-.197.49-.301.776-.29ZM.817 6.032a.725.725 0 0 1 1.33.575c-.034.08-.065.16-.097.24a.725.725 0 0 1-1.348-.535 10 10 0 0 1 .115-.28ZM18.23 5.655a.725.725 0 0 1 .88.25l.073.127.115.28.04.141a.725.725 0 0 1-1.32.524l-.068-.13-.098-.24-.045-.138a.726.726 0 0 1 .423-.814ZM15.938 2.839a.725.725 0 0 1 1.025-.017l.215.215.09.114a.725.725 0 0 1-1.131.895l-.183-.183-.095-.112a.725.725 0 0 1 .08-.912ZM3.151 2.732a.725.725 0 0 1 .895 1.131l-.183.183-.112.095a.725.725 0 0 1-.929-1.104l.215-.215.114-.09ZM6.313.702a.725.725 0 0 1 .534 1.348c-.08.032-.16.063-.24.097a.724.724 0 1 1-.575-1.33 10 10 0 0 1 .28-.115ZM13.547.662l.14.04.28.115.129.073a.725.725 0 0 1-.565 1.303l-.138-.046-.24-.097-.13-.069a.725.725 0 0 1 .524-1.319ZM10.151.001a.725.725 0 0 1-.021 1.45 8.769 8.769 0 0 0-.26 0A.725.725 0 0 1 9.85 0a10.228 10.228 0 0 1 .302 0Z"},"children":[]}],"metadata":""}]},"name":"ai-fibery-build"};
7
+
8
+ export default AiFiberyBuild;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const Anthropic: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"g","properties":{"clipPath":"url(#Anthropic__a)"},"children":[{"type":"element","tagName":"mask","properties":{"id":"Anthropic__b","maskUnits":"userSpaceOnUse","x":0,"y":0,"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M20 10c0-5.523-4.477-10-10-10S0 4.477 0 10s4.477 10 10 10 10-4.477 10-10Z","fill":"#fff"},"children":[]}]},{"type":"element","tagName":"g","properties":{"mask":"url(#Anthropic__b)"},"children":[{"type":"element","tagName":"path","properties":{"d":"m3.908 13.296 3.945-2.206.066-.192-.066-.106H7.66l-.66-.04-2.254-.061-1.954-.081-1.894-.101-.477-.102-.447-.587.046-.293.4-.268.574.05 1.27.086 1.903.132 1.381.08 2.046.213h.325l.045-.131-.11-.081-.088-.081-1.97-1.33-2.13-1.407-1.117-.81-.604-.41-.305-.384-.132-.84.548-.602.737.05.187.051.747.572 1.594 1.23 2.08 1.526.304.253.122-.086.015-.06-.137-.228-1.132-2.04L5.365 2.94l-.538-.86-.142-.517A2.5 2.5 0 0 1 4.6.956l.624-.845L5.568 0l.833.111.35.304.518 1.179.837 1.857 1.3 2.524.38.749.204.693.076.213h.132v-.122l.107-1.421.197-1.746.193-2.246.066-.633.315-.759.624-.41.488.233.4.572-.055.37-.239 1.542-.467 2.419-.304 1.619h.178l.203-.203.822-1.087 1.38-1.72.61-.684.71-.753.457-.36h.863l.635.941-.284.972-.889 1.123-.736.951-1.056 1.417-.66 1.133.061.091.158-.015 2.386-.506 1.29-.233 1.537-.263.696.324.076.329-.274.673-1.645.405-1.93.384-2.872.678-.036.025.04.051 1.295.121.553.03h1.356l2.523.188.66.435.396.531-.066.405-1.015.516-1.37-.324-3.199-.759-1.097-.273h-.152v.091l.914.89 1.675 1.508 2.097 1.943.106.48-.269.38-.284-.04-1.843-1.381-.71-.623-1.61-1.35h-.106v.141l.37.541 1.96 2.935.101.9-.142.294-.508.177-.558-.101-1.147-1.604-1.183-1.806-.954-1.62-.117.067-.564 6.046-.264.308-.609.233-.507-.384-.27-.623.27-1.23.324-1.603.264-1.275.24-1.584.141-.526-.01-.035-.117.015-1.198 1.64-1.822 2.453-1.442 1.538-.345.137-.6-.309.057-.551.335-.491 1.995-2.53L8 13.074l.777-.906-.006-.132h-.045l-5.3 3.43-.944.122-.406-.38.05-.622.193-.202 1.594-1.093-.005.005Z","fill":"#D97757"},"children":[]}]}]},{"type":"element","tagName":"defs","properties":{},"children":[{"type":"element","tagName":"clipPath","properties":{"id":"Anthropic__a"},"children":[{"type":"element","tagName":"path","properties":{"fill":"#fff","d":"M0 0h20v20H0z"},"children":[]}]}]}],"metadata":""}]},"name":"anthropic"};
6
+ const Anthropic: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"m4.516 12.967 3.551-1.986.06-.173-.06-.095h-.173l-.594-.036-2.03-.055-1.758-.073-1.705-.09-.43-.093-.402-.528.042-.264.36-.241.516.045 1.143.077 1.713.12 1.244.071 1.841.192h.293l.04-.118-.1-.073-.078-.073-1.773-1.197L4.298 7.11l-1.005-.729-.544-.369-.274-.345-.12-.756.494-.542.664.045.168.046.672.514 1.435 1.108L7.66 7.455l.274.228.11-.077.014-.054-.124-.206L6.915 5.51 5.828 3.645l-.484-.774-.128-.466a2.25 2.25 0 0 1-.078-.546l.562-.76.31-.1.75.1.315.273.467 1.061.753 1.672 1.17 2.272.342.674.184.624.069.192h.118v-.11l.097-1.28.177-1.571.174-2.022.06-.57.283-.683.561-.369.44.21.36.515-.05.333-.215 1.388-.42 2.177-.274 1.458h.16l.183-.183.74-.978 1.242-1.549.55-.615.638-.678.412-.324h.777l.571.847-.255.875-.8 1.01-.663.857-.95 1.275-.595 1.02.055.082.142-.014 2.148-.455 1.16-.21 1.385-.237.626.292.069.296-.247.606-1.48.365-1.738.345-2.585.61-.033.023.036.046 1.166.109.498.027h1.22l2.271.17.595.39.356.479-.06.364-.913.465-1.234-.292-2.879-.683-.987-.246h-.137v.082l.823.801 1.507 1.358 1.888 1.749.095.432-.242.342-.255-.036-1.66-1.243-.638-.561-1.45-1.215h-.095v.127l.333.487 1.764 2.642.091.81-.128.264-.457.16-.502-.091-1.033-1.444-1.065-1.626-.858-1.458-.106.06-.507 5.443-.238.277-.548.21-.457-.346-.243-.56.243-1.108.292-1.443.238-1.148.215-1.426.128-.473-.01-.031-.105.013-1.078 1.476-1.64 2.208-1.298 1.385-.31.123-.54-.278.05-.496.302-.442 1.796-2.277L8.2 12.767l.7-.815-.006-.12h-.04L4.081 14.92l-.85.11-.365-.342.045-.56.174-.182 1.435-.984-.005.005Z","fill":"#D97757"},"children":[]}],"metadata":""}]},"name":"anthropic"};
7
7
 
8
8
  export default Anthropic;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const Apple: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M14.693 9.973c-.021-2.17 1.776-3.21 1.856-3.263-1.01-1.471-2.584-1.673-3.144-1.696-1.338-.136-2.613.785-3.292.785-.677 0-1.726-.766-2.836-.746-1.46.022-2.806.846-3.557 2.148-1.517 2.62-.388 6.504 1.09 8.631.722 1.04 1.583 2.21 2.713 2.167 1.09-.043 1.5-.702 2.817-.702 1.317 0 1.687.702 2.839.68 1.171-.021 1.914-1.06 2.63-2.103.83-1.208 1.17-2.378 1.191-2.437-.026-.012-2.283-.873-2.307-3.464Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M12.214 3.767c.516-.734.865-1.753.77-2.767-.744.035-1.646.58-2.18 1.312-.48.65-.898 1.685-.786 2.681.831.076 1.678-.495 2.196-1.226Z"},"children":[]}],"metadata":""}]},"name":"apple"};
7
+
8
+ export default Apple;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const ArrowBottom: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.434 7.434a.8.8 0 0 1 1.132 0L10 10.87l3.434-3.435a.8.8 0 0 1 1.132 1.132l-4 4a.8.8 0 0 1-1.132 0l-4-4a.8.8 0 0 1 0-1.132Z"},"children":[]}],"metadata":""}]},"name":"arrow-bottom"};
6
+ const ArrowBottom: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.434 7.834a.8.8 0 0 1 1.132 0L10 11.27l3.434-3.435a.8.8 0 0 1 1.132 1.132l-4 4a.8.8 0 0 1-1.132 0l-4-4a.8.8 0 0 1 0-1.132Z"},"children":[]}],"metadata":""}]},"name":"arrow-bottom"};
7
7
 
8
8
  export default ArrowBottom;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const ArrowForward: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M10.461 16.018a.75.75 0 0 1 .024-1.06l4.146-3.96H4a.75.75 0 0 1 0-1.5h10.63l-4.145-3.955a.75.75 0 1 1 1.036-1.086l5.498 5.249a.75.75 0 0 1 0 1.085l-5.498 5.251a.75.75 0 0 1-1.06-.024Z"},"children":[]}],"metadata":""}]},"name":"arrow-forward"};
6
+ const ArrowForward: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M12.53 5.22a.75.75 0 1 0-1.06 1.06l2.97 2.97H3.75a.75.75 0 0 0 0 1.5h10.69l-2.97 2.97a.75.75 0 1 0 1.06 1.06l4.25-4.25a.747.747 0 0 0 0-1.06l-4.25-4.25Z"},"children":[]}],"metadata":""}]},"name":"arrow-forward"};
7
7
 
8
8
  export default ArrowForward;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const ArrowLeft: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M12.566 5.434a.8.8 0 0 1 0 1.132L9.13 10l3.435 3.434a.8.8 0 1 1-1.132 1.132l-4-4a.8.8 0 0 1 0-1.132l4-4a.8.8 0 0 1 1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-left"};
6
+ const ArrowLeft: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M12.166 5.434a.8.8 0 0 1 0 1.132L8.73 10l3.435 3.434a.8.8 0 1 1-1.132 1.132l-4-4a.8.8 0 0 1 0-1.132l4-4a.8.8 0 0 1 1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-left"};
7
7
 
8
8
  export default ArrowLeft;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const ArrowRight: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M7.434 14.566a.8.8 0 0 1 0-1.132L10.87 10 7.434 6.566a.8.8 0 1 1 1.132-1.132l4 4a.8.8 0 0 1 0 1.132l-4 4a.8.8 0 0 1-1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-right"};
6
+ const ArrowRight: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M7.834 14.566a.8.8 0 0 1 0-1.132L11.27 10 7.834 6.566a.8.8 0 1 1 1.132-1.132l4 4a.8.8 0 0 1 0 1.132l-4 4a.8.8 0 0 1-1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-right"};
7
7
 
8
8
  export default ArrowRight;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const ArrowTop: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14.566 12.566a.8.8 0 0 1-1.132 0L10 9.13l-3.434 3.435a.8.8 0 1 1-1.132-1.132l4-4a.8.8 0 0 1 1.132 0l4 4a.8.8 0 0 1 0 1.132Z"},"children":[]}],"metadata":""}]},"name":"arrow-top"};
6
+ const ArrowTop: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14.566 12.166a.8.8 0 0 1-1.132 0L10 8.73l-3.434 3.435a.8.8 0 1 1-1.132-1.132l4-4a.8.8 0 0 1 1.132 0l4 4a.8.8 0 0 1 0 1.132Z"},"children":[]}],"metadata":""}]},"name":"arrow-top"};
7
7
 
8
8
  export default ArrowTop;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const CollapseAllHorizontal: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M3.381 13.119a.8.8 0 0 0 1.132 1.131l3.334-3.566a.8.8 0 0 0 0-1.131L4.513 5.987A.8.8 0 0 0 3.38 7.12l2.769 3-2.769 3Zm13.238-6a.8.8 0 1 0-1.132-1.132l-3.571 3.566a.8.8 0 0 0 0 1.131l3.571 3.566a.8.8 0 1 0 1.132-1.131l-3.006-3 3.006-3Z"},"children":[]}],"metadata":""}]},"name":"collapse-all-horizontal"};
7
+
8
+ export default CollapseAllHorizontal;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const Crosshair: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm.75 4.25a.75.75 0 0 1-1.5 0V3.544A6.5 6.5 0 0 0 3.544 9.25H6.25a.75.75 0 0 1 0 1.5H3.544a6.5 6.5 0 0 0 5.706 5.705V13.75a.75.75 0 0 1 1.5 0v2.705a6.5 6.5 0 0 0 5.706-5.705H13.75a.75.75 0 0 1 0-1.5h2.706a6.5 6.5 0 0 0-5.706-5.706V6.25Z"},"children":[]}],"metadata":""}]},"name":"crosshair"};
7
+
8
+ export default Crosshair;
@@ -3,6 +3,6 @@
3
3
 
4
4
  import { IconDefinition } from '../types';
5
5
 
6
- const DateRange: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14 3.6h1.6A2.4 2.4 0 0 1 18 6v9.6a2.4 2.4 0 0 1-2.4 2.4H4.4A2.4 2.4 0 0 1 2 15.6V6a2.4 2.4 0 0 1 2.4-2.4H6v-.8a.8.8 0 0 1 1.6 0v.8h4.8v-.8a.8.8 0 0 1 1.6 0v.8Zm2.166 12.566a.8.8 0 0 0 .234-.566V6a.8.8 0 0 0-.8-.8H14V6a.8.8 0 0 1-1.6 0v-.8H7.6V6A.8.8 0 0 1 6 6v-.8H4.4a.8.8 0 0 0-.8.8v9.6a.8.8 0 0 0 .8.8h11.2a.8.8 0 0 0 .566-.234ZM8.78 8.22a.75.75 0 0 1 0 1.06L7.56 10.5h4.88l-1.22-1.22a.75.75 0 0 1 1.06-1.06l2.5 2.5a.75.75 0 0 1 0 1.06l-2.5 2.5a.75.75 0 1 1-1.06-1.06L12.44 12H7.56l1.22 1.22a.75.75 0 1 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0Z"},"children":[]}],"metadata":""}]},"name":"date-range"};
6
+ const DateRange: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M15.6 3H14V1.804a.8.8 0 0 0-1.6 0V3H7.6V1.804a.8.8 0 0 0-1.6 0V3H4.4A2.4 2.4 0 0 0 2 5.4v9.2A2.4 2.4 0 0 0 4.4 17h11.2a2.4 2.4 0 0 0 2.4-2.4V5.4A2.4 2.4 0 0 0 15.6 3Zm.566 12.166a.8.8 0 0 0 .234-.566V5.4a.8.8 0 0 0-.8-.8H4.4a.8.8 0 0 0-.8.8v9.2a.8.8 0 0 0 .8.8h11.2a.8.8 0 0 0 .566-.234Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M8.78 8.08a.75.75 0 0 0-1.06-1.06l-2.5 2.5a.75.75 0 0 0 0 1.06l2.5 2.5a.75.75 0 0 0 1.06-1.06L7.56 10.8h4.88l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.5-2.5a.75.75 0 0 0 0-1.06l-2.5-2.5a.75.75 0 1 0-1.06 1.06l1.22 1.22H7.56l1.22-1.22Z"},"children":[]}],"metadata":""}]},"name":"date-range"};
7
7
 
8
8
  export default DateRange;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const Document: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.745 3c-.69 0-1.25.56-1.25 1.25v11.5c0 .69.56 1.25 1.25 1.25h8.503c.69 0 1.25-.56 1.25-1.25V7.497h-2.923a1.582 1.582 0 0 1-1.582-1.584V3H5.745Zm6.747 1.058 1.942 1.939h-1.859a.083.083 0 0 1-.083-.084V4.058Zm-9.495.192A2.75 2.75 0 0 1 5.745 1.5h5.997a.75.75 0 0 1 .53.22l4.504 4.496a.75.75 0 0 1 .22.53v9.004a2.75 2.75 0 0 1-2.748 2.75H5.745a2.75 2.75 0 0 1-2.748-2.75V4.25Zm3.002 6a.75.75 0 0 1 .75-.75h6.496a.75.75 0 0 1 0 1.5H6.748a.75.75 0 0 1-.75-.75Zm0 3a.75.75 0 0 1 .75-.75h4.497a.75.75 0 0 1 0 1.5H6.748a.75.75 0 0 1-.75-.75Z"},"children":[]}],"metadata":""}]},"name":"document"};
7
+
8
+ export default Document;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const EntityCreate: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75v-6a.75.75 0 0 0-1.5 0v6a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75V4.25a.75.75 0 0 1 .75-.75h6a.75.75 0 0 0 0-1.5h-6Zm9.675.7A2.387 2.387 0 0 1 17.3 6.074l-5.727 5.727a.676.676 0 0 1-.478.198H8.838A.838.838 0 0 1 8 11.162V8.904c0-.18.071-.351.198-.478l5.727-5.727Zm2.42.956a1.035 1.035 0 0 0-1.464 0l-.224.224 1.463 1.463.224-.224a1.035 1.035 0 0 0 0-1.463ZM9.352 9.184v1.464h1.463l4.462-4.463-1.463-1.463-4.463 4.462Z"},"children":[]}],"metadata":""}]},"name":"entity-create"};
7
+
8
+ export default EntityCreate;
@@ -0,0 +1,8 @@
1
+
2
+ // This icon file is generated automatically.
3
+
4
+ import { IconDefinition } from '../types';
5
+
6
+ const EntityCreateFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M11.5 2a.75.75 0 0 1 .53 1.28L7.366 7.944A1.25 1.25 0 0 0 7 8.828v2.922c0 .69.56 1.25 1.25 1.25h2.922c.331 0 .65-.132.884-.366L16.72 7.97A.75.75 0 0 1 18 8.5v6.75A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25V4.75A2.75 2.75 0 0 1 4.75 2h6.75Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M14.85 2.625a1.785 1.785 0 0 1 2.525 2.524l-.225.224-5.803 5.805a.752.752 0 0 1-.532.22H9.353a.75.75 0 0 1-.75-.75V9.184c0-.2.079-.39.22-.53l5.804-5.805.224-.225Z"},"children":[]}],"metadata":""}]},"name":"entity-create-filled"};
7
+
8
+ export default EntityCreateFilled;