Skip to content

Commit

Permalink
Merge pull request #568 from StratoDem/566-add-missing-file
Browse files Browse the repository at this point in the history
Add missing file for Picker
  • Loading branch information
coralvanda authored Dec 28, 2020
2 parents 3f7c9ab + 4fc043a commit d14ffbc
Show file tree
Hide file tree
Showing 8 changed files with 411 additions and 181 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 4.3.2 2020-12-28
### Fixes
- Fixes file that was missing from git

## 4.3.1 2020-12-22
### Fixes
- Fixes version for deployment on pypi
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sd-material-ui",
"version": "4.3.1",
"version": "4.3.2",
"description": "material-ui components for Dash",
"main": "build/index.js",
"author": "Michael Clawar, Eric Linden, Sreeja Keesara [email protected]",
Expand Down
37 changes: 37 additions & 0 deletions sd_material_ui/Picker.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# AUTO GENERATED FILE - DO NOT EDIT

from dash.development.base_component import Component, _explicitize_args


class Picker(Component):
"""A Picker component.
Keyword arguments:
- format (string; default ""): Format to be used in displaying date. Some possibilities:
yyyy-MM-dd
MM/dd/yyyy
MM-dd
- id (string; required): Picker ID
- label (string; default ""): Label for the date or time picker
- type (string; default "date"): Type of date or time picker, "time", "date", or "date-dialog"
- value (string; default "01-01-2020"): Representation of datetime, like 2020-12-25T13:11:00.000Z"""
@_explicitize_args
def __init__(self, format=Component.UNDEFINED, id=Component.REQUIRED, label=Component.UNDEFINED, type=Component.UNDEFINED, value=Component.UNDEFINED, **kwargs):
self._prop_names = ['format', 'id', 'label', 'type', 'value']
self._type = 'Picker'
self._namespace = 'sd_material_ui'
self._valid_wildcard_attributes = []
self.available_properties = ['format', 'id', 'label', 'type', 'value']
self.available_wildcard_properties = []

_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in ['id']:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Picker, self).__init__(**args)
178 changes: 89 additions & 89 deletions sd_material_ui/metadata.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sd_material_ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sd-material-ui",
"version": "4.3.1",
"version": "4.3.2",
"description": "material-ui components for Dash",
"main": "build/index.js",
"author": "Michael Clawar, Eric Linden, Sreeja Keesara [email protected]",
Expand Down
353 changes: 273 additions & 80 deletions sd_material_ui/sd_material_ui.dev.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions sd_material_ui/sd_material_ui.min.js

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions usage.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import datetime

import sd_material_ui
import dash
import flask
import dash_html_components as html
import time
import sd_material_ui

app = dash.Dash(
'',
Expand Down

0 comments on commit d14ffbc

Please sign in to comment.