Skip to content

Commit 89c2983

Browse files
Rework dash-renderer setProps (plotly#99)
1 parent 2956bb0 commit 89c2983

File tree

136 files changed

+265
-265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+265
-265
lines changed

Diff for: packages/dash-html-components/.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
command: |
3232
git clone [email protected]:plotly/dash.git
3333
git clone [email protected]:plotly/dash-renderer.git
34-
git clone [email protected]:plotly/dash-html-components.git
34+
git clone [email protected]:plotly/dash-core-components.git
3535
git clone [email protected]:plotly/dash-table.git
3636
. venv/bin/activate
3737
pip install -e ./dash --quiet

Diff for: packages/dash-html-components/dash_html_components/dash_html_components.dev.js

+131-131
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/dash-html-components/dash_html_components/dash_html_components.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
900 KB
Binary file not shown.

Diff for: packages/dash-html-components/scripts/generate-components.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const ${Component} = (props) => {
147147
})
148148
}
149149
}}
150-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
150+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
151151
{...dataAttributes}
152152
>
153153
{props.children}

Diff for: packages/dash-html-components/src/components/A.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const A = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Abbr.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Abbr = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Acronym.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Acronym = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Address.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Address = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Area.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Area = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Article.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Article = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Aside.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Aside = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Audio.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Audio = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/B.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const B = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Base.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Base = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Basefont.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Basefont = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Bdi.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Bdi = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Bdo.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Bdo = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Big.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Big = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Blink.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Blink = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Blockquote.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Blockquote = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Br.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Br = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Button.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Button = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Canvas.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Canvas = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Caption.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Caption = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Center.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Center = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Cite.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Cite = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Code.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Code = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Col.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Col = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Colgroup.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Colgroup = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Command.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Command = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Content.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Content = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Data.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Data = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Datalist.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Datalist = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Dd.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Dd = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Del.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Del = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Details.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Details = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Dfn.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Dfn = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Dialog.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Dialog = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Div.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Div = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Dl.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Dl = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Dt.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Dt = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Element.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Element = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Em.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Em = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Embed.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Embed = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Fieldset.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Fieldset = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

Diff for: packages/dash-html-components/src/components/Figcaption.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Figcaption = (props) => {
1919
})
2020
}
2121
}}
22-
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state'], props)}
22+
{...omit(['n_clicks', 'n_clicks_timestamp', 'loading_state', 'setProps'], props)}
2323
{...dataAttributes}
2424
>
2525
{props.children}

0 commit comments

Comments
 (0)