Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit a2f8b47

Browse files
Rebuild components with Tabs changes
1 parent ed3d85c commit a2f8b47

File tree

4 files changed

+87
-97
lines changed

4 files changed

+87
-97
lines changed

dash_core_components/Tab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Tab(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- label (dash component | string; optional): The tab's label
15+
- label (string; optional): The tab's label
1616
- value (string; optional): Value for determining which Tab is currently selected
1717
- disabled (boolean; optional): Determines if tab is disabled or not - defaults to false
1818
- disabled_style (dict; optional): Overrides the default (inline) styles when disabled

dash_core_components/dash_core_components.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_core_components/metadata.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,15 +2704,7 @@
27042704
},
27052705
"label": {
27062706
"type": {
2707-
"name": "union",
2708-
"value": [
2709-
{
2710-
"name": "element"
2711-
},
2712-
{
2713-
"name": "string"
2714-
}
2715-
]
2707+
"name": "string"
27162708
},
27172709
"required": false,
27182710
"description": "The tab's label"

dash_core_components/package.json

Lines changed: 79 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,81 @@
11
{
2-
"name": "dash-core-components",
3-
"version": "0.30.2",
4-
"description": "Core component suite for Dash",
5-
"repository": {
6-
"type": "git",
7-
"url": "git://github.com/plotly/dash-core-components.git"
8-
},
9-
"main": "src/index.js",
10-
"scripts": {
11-
"generate-python-classes": "python -c \"import dash; dash.development.component_loader.generate_classes('dash_core_components', 'dash_core_components/metadata.json');\"",
12-
"prepublish": "npm run build:js && npm run build:py",
13-
"publish-all": "node scripts/publish.js",
14-
"start": "webpack-serve ./webpack.serve.config.js --open",
15-
"lint": "eslint src",
16-
"test": "python -m unittest test.test_integration",
17-
"test-unit": "jest",
18-
"format": "prettier --config .prettierrc --write src/**/*.js",
19-
"format:test": "prettier --config .prettierrc src/**/*.js --list-different",
20-
"uninstall-local": "pip uninstall dash-core-components -y",
21-
"build:js": "webpack --mode production",
22-
"build:js-dev": "webpack --mode development",
23-
"build:py": "node ./extract-meta src/components > dash_core_components/metadata.json && cp package.json dash_core_components && npm run generate-python-classes",
24-
"build:all": "npm run build:js && npm run build:py",
25-
"build:all-dev": "npm run build:js-dev && npm run build:py",
26-
"build:watch": "watch 'npm run build:all' src"
27-
},
28-
"author": "Chris Parmer <chris@plot.ly>",
29-
"license": "MIT",
30-
"dependencies": {
31-
"babel-core": "^6.26.3",
32-
"babel-eslint": "^8.2.6",
33-
"babel-loader": "^7.1.4",
34-
"babel-preset-env": "^1.7.0",
35-
"babel-preset-react": "^6.24.1",
36-
"builder": "3.2.2",
37-
"copyfiles": "^2.0.0",
38-
"cross-env": "^5.2.0",
39-
"css-loader": "^0.28.11",
40-
"enzyme": "^2.4.1",
41-
"eslint": "^5.4.0",
42-
"eslint-config-prettier": "^3.0.1",
43-
"eslint-plugin-react": "^7.11.1",
44-
"moment": "^2.20.1",
45-
"prettier": "^1.14.2",
46-
"prop-types": "^15.6.0",
47-
"radium": "^0.19.4",
48-
"ramda": "^0.24.1",
49-
"rc-slider": "^8.3.1",
50-
"react-addons-shallow-compare": "^15.6.0",
51-
"react-dates": "^12.3.0",
52-
"react-docgen": "^2.20.1",
53-
"react-dropzone": "^4.1.2",
54-
"react-markdown": "^2.4.5",
55-
"react-select": "^1.0.0-rc.10",
56-
"react-select-fast-filter-options": "^0.2.2",
57-
"react-syntax-highlighter": "^5.0.0",
58-
"react-virtualized-select": "^3.1.0",
59-
"style-loader": "^0.21.0",
60-
"styled-jsx": "^2.2.6",
61-
"webpack": "^4.8.3",
62-
"webpack-cli": "^2.1.3",
63-
"webpack-serve": "^1.0.2",
64-
"eslint-config-prettier": "^3.0.1",
65-
"prettier": "^1.14.2"
66-
},
67-
"devDependencies": {
68-
"babel-core": "^6.26.3",
69-
"babel-jest": "^23.6.0",
70-
"component-playground": "^2.0.0",
71-
"dash-components-archetype-dev": "^0.3.0-rc1",
72-
"enzyme": "^2.9.1",
73-
"enzyme-adapter-react-16": "^1.5.0",
74-
"jest": "^23.6.0",
75-
"regenerator-runtime": "^0.12.1",
76-
"exec-sh": "^0.3.0",
77-
"watch": "^1.0.2"
78-
},
79-
"peerDependencies": {
80-
"react": "^15.4.0 || ^16.0.0",
81-
"react-dom": "^15.4.0 || ^16.0.0"
82-
}
2+
"name": "dash-core-components",
3+
"version": "0.30.2",
4+
"description": "Core component suite for Dash",
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/plotly/dash-core-components.git"
8+
},
9+
"main": "src/index.js",
10+
"scripts": {
11+
"generate-python-classes": "python -c \"import dash; dash.development.component_loader.generate_classes('dash_core_components', 'dash_core_components/metadata.json');\"",
12+
"prepublish": "npm run build:js && npm run build:py",
13+
"publish-all": "node scripts/publish.js",
14+
"start": "webpack-serve ./webpack.serve.config.js --open",
15+
"lint": "eslint src",
16+
"test": "python -m unittest test.test_integration",
17+
"test-unit": "jest",
18+
"format": "prettier --config .prettierrc --write src/**/*.js",
19+
"format:test": "prettier --config .prettierrc src/**/*.js --list-different",
20+
"uninstall-local": "pip uninstall dash-core-components -y",
21+
"build:js": "webpack --mode production",
22+
"build:js-dev": "webpack --mode development",
23+
"build:py": "node ./extract-meta src/components > dash_core_components/metadata.json && cp package.json dash_core_components && npm run generate-python-classes",
24+
"build:all": "npm run build:js && npm run build:py",
25+
"build:all-dev": "npm run build:js-dev && npm run build:py",
26+
"build:watch": "watch 'npm run build:all' src"
27+
},
28+
"author": "Chris Parmer <chris@plot.ly>",
29+
"license": "MIT",
30+
"dependencies": {
31+
"babel-core": "^6.26.3",
32+
"babel-eslint": "^8.2.6",
33+
"babel-loader": "^7.1.4",
34+
"babel-preset-env": "^1.7.0",
35+
"babel-preset-react": "^6.24.1",
36+
"builder": "3.2.2",
37+
"copyfiles": "^2.0.0",
38+
"cross-env": "^5.2.0",
39+
"css-loader": "^0.28.11",
40+
"enzyme": "^2.4.1",
41+
"eslint": "^5.4.0",
42+
"eslint-config-prettier": "^3.0.1",
43+
"eslint-plugin-react": "^7.11.1",
44+
"moment": "^2.20.1",
45+
"prettier": "^1.14.2",
46+
"prop-types": "^15.6.0",
47+
"radium": "^0.19.4",
48+
"ramda": "^0.24.1",
49+
"rc-slider": "^8.3.1",
50+
"react-addons-shallow-compare": "^15.6.0",
51+
"react-dates": "^12.3.0",
52+
"react-docgen": "^2.20.1",
53+
"react-dropzone": "^4.1.2",
54+
"react-markdown": "^2.4.5",
55+
"react-select": "^1.0.0-rc.10",
56+
"react-select-fast-filter-options": "^0.2.2",
57+
"react-syntax-highlighter": "^5.0.0",
58+
"react-virtualized-select": "^3.1.0",
59+
"style-loader": "^0.21.0",
60+
"styled-jsx": "^3.1.0",
61+
"webpack": "^4.8.3",
62+
"webpack-cli": "^2.1.3",
63+
"webpack-serve": "^1.0.2"
64+
},
65+
"devDependencies": {
66+
"babel-core": "^6.26.3",
67+
"babel-jest": "^23.6.0",
68+
"component-playground": "^2.0.0",
69+
"dash-components-archetype-dev": "^0.3.0-rc1",
70+
"enzyme": "^2.9.1",
71+
"enzyme-adapter-react-16": "^1.5.0",
72+
"jest": "^23.6.0",
73+
"regenerator-runtime": "^0.12.1",
74+
"exec-sh": "^0.3.0",
75+
"watch": "^1.0.2"
76+
},
77+
"peerDependencies": {
78+
"react": "^15.4.0 || ^16.0.0",
79+
"react-dom": "^15.4.0 || ^16.0.0"
80+
}
8381
}

0 commit comments

Comments
 (0)