Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function CustomToolbar() {
ownerState={{ expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function CustomToolbar() {
ownerState={{ expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function CustomToolbar() {
sx={{ width: 260 }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function CustomToolbar() {
sx={{ width: 260 }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function CustomToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function CustomToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function CustomToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function CustomToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/components/toolbar/GridToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function CustomToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/components/toolbar/GridToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function CustomToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function MyCustomToolbar() {
sx={{ width: 260 }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function MyCustomToolbar() {
sx={{ width: 260 }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/list-view/components/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function Toolbar(props) {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/list-view/components/Toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function Toolbar(props: ToolbarProps) {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/date-range-calendar.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/date-range-picker.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/date-pickers/date-time-range-picker.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
},
"renderLoading": {
"type": { "name": "func" },
"default": "() => \"...\"",
"default": "() => \"\"",
"signature": {
"type": "function() => React.ReactNode",
"describedArgs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function InventoryToolbar() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function CalendarSearch() {
ownerState={{ expanded: state.expanded }}
inputRef={ref}
aria-label="Search"
placeholder="Search..."
placeholder="Search"
size="small"
slotProps={{
input: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ DateRangeCalendar.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ DateRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ DateTimeRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ DesktopDateRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ DesktopDateTimeRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ MobileDateRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ MobileDateTimeRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ StaticDateRangePicker.propTypes = {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading: PropTypes.func,
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface ExportedDayCalendarProps extends ExportedPickersDayProps {
/**
* Component rendered on the "day" view when `props.loading` is true.
* @returns {React.ReactNode} The node to render when loading.
* @default () => "..."
* @default () => ""
*/
renderLoading?: () => React.ReactNode;
/**
Expand Down Expand Up @@ -348,7 +348,7 @@ export function DayCalendar(inProps: DayCalendarProps) {
onMonthSwitchingAnimationEnd,
readOnly,
reduceAnimations,
renderLoading = () => <span data-testid="loading-progress">...</span>,
renderLoading = () => <span data-testid="loading-progress"></span>,
slideDirection,
TransitionProps,
disablePast,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-scheduler/src/locales/enUS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const enUSDialog: EventDialogLocaleText = {
title: 'Apply this change to:',

// General
loading: 'Loading...',
loading: 'Loading',
};

const enUSCalendar: Omit<EventCalendarLocaleText, keyof EventDialogLocaleText> = {
Expand Down
2 changes: 1 addition & 1 deletion packages/x-tree-view/src/RichTreeView/RichTreeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const RichTreeView = React.forwardRef(function RichTreeView<
const slots = React.useMemo(() => ({ root: RichTreeViewRoot, ...inSlots }), [inSlots]);

if (isLoading) {
return <Typography>Loading...</Typography>;
return <Typography>Loading</Typography>;
}

if (error) {
Expand Down
Loading