Skip to content

Commit 8ceb47f

Browse files
authored
Update Style Overrides (#5335)
1 parent 006832a commit 8ceb47f

File tree

3 files changed

+16494
-11
lines changed

3 files changed

+16494
-11
lines changed

documentation-site/components/yard/config/file-uploader-beta.ts

+19-10
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LICENSE file in the root directory of this source tree.
88
import { FileUploaderBeta } from "baseui/file-uploader-beta";
99
import { PropTypes } from "react-view";
1010
import type { TConfig } from "../types";
11-
import buttonConfig from "./button";
11+
import iconConfig from "./icon";
1212

1313
const changeHandlers = [
1414
"onClick",
@@ -114,15 +114,24 @@ const FileUploaderBetaConfig: TConfig = {
114114
description: "Lets you customize all aspects of the component.",
115115
custom: {
116116
names: [
117-
{ ...buttonConfig, componentName: "ButtonComponent" },
118-
{ ...buttonConfig, componentName: "CancelButtonComponent" },
119-
{ ...buttonConfig, componentName: "RetryButtonComponent" },
120-
"ContentMessage",
121-
"ErrorMessage",
122-
"FileDragAndDrop",
123-
"HiddenInput",
124-
"Spinner",
125-
"ProgressBar",
117+
{ ...iconConfig, componentName: "AlertIcon" },
118+
{ ...iconConfig, componentName: "CircleCheckFilledIcon" },
119+
"FileRow",
120+
"FileRowColumn",
121+
"FileRowContent",
122+
"FileRowFileName",
123+
"FileRowText",
124+
"FileRowUploadMessage",
125+
"FileRowUploadText",
126+
"FileRows",
127+
"Hint",
128+
"ImagePreviewThumbnail",
129+
"ItemPreviewContainer",
130+
"Label",
131+
{ ...iconConfig, componentName: "PaperclipFilledIcon" },
132+
"ParentRoot",
133+
{ ...iconConfig, componentName: "TrashCanFilledIcon" },
134+
"TrashCanFilledIconContainer",
126135
],
127136
sharedProps: {},
128137
},

documentation-site/pages/components/file-uploader-beta.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default Layout;
1313

1414
<Yard placeholderHeight={120} {...fileUploaderBetaYardConfig} />
1515

16-
Creates a dropzone for file uploads.
16+
Creates a dropzone for file uploads with file row state binding, props to control errors, and props to control uploads. Inherits all style props from the `FileUploader` component.
1717

1818
## Accessibility
1919

0 commit comments

Comments
 (0)