diff --git a/ipywidgets/_version.py b/ipywidgets/_version.py index 6ae9f061a6..b1122f826e 100644 --- a/ipywidgets/_version.py +++ b/ipywidgets/_version.py @@ -11,7 +11,7 @@ __protocol_version__ = '2.0.0' __jupyter_widgets_base_version__ = '1.0.0' __jupyter_widgets_output_version__ = '1.0.0' -__jupyter_widgets_controls_version__ = '1.1.0' +__jupyter_widgets_controls_version__ = '1.2.0' # A compatible @jupyter-widgets/html-manager npm package semver range __html_manager_version__ = '^0.11.0' diff --git a/packages/controls/src/version.ts b/packages/controls/src/version.ts index 53ac249e2e..d8e97e26b6 100644 --- a/packages/controls/src/version.ts +++ b/packages/controls/src/version.ts @@ -6,4 +6,4 @@ * implements. */ export -const JUPYTER_CONTROLS_VERSION = '1.1.0'; +const JUPYTER_CONTROLS_VERSION = '1.2.0'; diff --git a/packages/jupyterlab-manager/src/manager.ts b/packages/jupyterlab-manager/src/manager.ts index 9bde71c5b9..329a13e0d3 100644 --- a/packages/jupyterlab-manager/src/manager.ts +++ b/packages/jupyterlab-manager/src/manager.ts @@ -29,6 +29,10 @@ import { DocumentRegistry } from '@jupyterlab/docregistry'; +import { + valid +} from 'semver'; + import { SemVerCache } from './semvercache'; @@ -167,6 +171,17 @@ class WidgetManager extends ManagerBase implements IDisposable { * Load a class and return a promise to the loaded object. */ protected loadClass(className: string, moduleName: string, moduleVersion: string): Promise { + + // Special-case the Jupyter base and controls packages. If we have just a + // plain version, with no indication of the compatible range, prepend a ^ to + // get all compatible versions. We may eventually apply this logic to all + // widget modules. See issues #2006 and #2017 for more discussion. + if ((moduleName === "@jupyter-widgets/base" + || moduleName === "@jupyter-widgets/controls") + && valid(moduleVersion)) { + moduleVersion = `^${moduleVersion}`; + } + let mod = this._registry.get(moduleName, moduleVersion); if (!mod) { return Promise.reject(`Module ${moduleName}, semver range ${moduleVersion} is not registered as a widget module`); diff --git a/packages/jupyterlab-manager/src/plugin.ts b/packages/jupyterlab-manager/src/plugin.ts index d6ac5e65a2..d4950d5e12 100644 --- a/packages/jupyterlab-manager/src/plugin.ts +++ b/packages/jupyterlab-manager/src/plugin.ts @@ -109,29 +109,10 @@ function activateWidgetExtension(app: JupyterLab): base.IJupyterWidgetRegistry { StyleView: base.StyleView } }); - extension.registerWidget({ - name: '@jupyter-widgets/controls', - version: JUPYTER_CONTROLS_VERSION, - exports: () => { - return new Promise((resolve, reject) => { - (require as any).ensure(['@jupyter-widgets/controls'], (require: NodeRequire) => { - resolve(require('@jupyter-widgets/controls')); - }, - (err: any) => { - reject(err); - }, - '@jupyter-widgets/controls' - ); - }); - } - }); - // Until we do automatic semver matching (for example, converting a request - // for 1.0.0 to ^1.0.0), we register the controls under both the current - // version (above) and older versions it can handle. extension.registerWidget({ name: '@jupyter-widgets/controls', - version: '1.0.0', + version: JUPYTER_CONTROLS_VERSION, exports: () => { return new Promise((resolve, reject) => { (require as any).ensure(['@jupyter-widgets/controls'], (require: NodeRequire) => { diff --git a/packages/jupyterlab-manager/src/semvercache.ts b/packages/jupyterlab-manager/src/semvercache.ts index b4b3b9809d..3e4d70fc5e 100644 --- a/packages/jupyterlab-manager/src/semvercache.ts +++ b/packages/jupyterlab-manager/src/semvercache.ts @@ -17,6 +17,8 @@ class SemVerCache { } if (!(version in this._cache[key])) { this._cache[key][version] = object; + } else { + throw `Version ${version} of key ${key} already registered.`; } } @@ -29,4 +31,4 @@ class SemVerCache { } private _cache: { [key: string]: {[version: string]: T} } = Object.create(null); -} \ No newline at end of file +} diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index b6cc1d191b..0e629e8eb9 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -45,33 +45,33 @@ Attribute | Type | Default | Help `visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. `width` | `null` or string | `null` | The width CSS attribute. -### AccordionModel (@jupyter-widgets/controls, 1.1.0); AccordionView (@jupyter-widgets/controls, 1.1.0) +### AccordionModel (@jupyter-widgets/controls, 1.2.0); AccordionView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'AccordionModel'` | `_titles` | object | `{}` | Titles of the pages `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'AccordionView'` | `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. `children` | array | `[]` | List of widget children `layout` | reference to Layout widget | reference to new instance | `selected_index` | `null` or number (integer) | `0` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -### BoundedFloatTextModel (@jupyter-widgets/controls, 1.1.0); FloatTextView (@jupyter-widgets/controls, 1.1.0) +### BoundedFloatTextModel (@jupyter-widgets/controls, 1.2.0); FloatTextView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'BoundedFloatTextModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'FloatTextView'` | `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -83,16 +83,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | number (float) | `0.0` | Float value -### BoundedIntTextModel (@jupyter-widgets/controls, 1.1.0); IntTextView (@jupyter-widgets/controls, 1.1.0) +### BoundedIntTextModel (@jupyter-widgets/controls, 1.2.0); IntTextView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'BoundedIntTextModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'IntTextView'` | `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -104,31 +104,31 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | number (integer) | `0` | Int value -### BoxModel (@jupyter-widgets/controls, 1.1.0); BoxView (@jupyter-widgets/controls, 1.1.0) +### BoxModel (@jupyter-widgets/controls, 1.2.0); BoxView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'BoxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'BoxView'` | `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. `children` | array | `[]` | List of widget children `layout` | reference to Layout widget | reference to new instance | -### ButtonModel (@jupyter-widgets/controls, 1.1.0); ButtonView (@jupyter-widgets/controls, 1.1.0) +### ButtonModel (@jupyter-widgets/controls, 1.2.0); ButtonView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ButtonModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ButtonView'` | `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. `description` | string | `''` | Button label. @@ -138,12 +138,12 @@ Attribute | Type | Default | Help `style` | reference to ButtonStyle widget | reference to new instance | `tooltip` | string | `''` | Tooltip caption of the button. -### ButtonStyleModel (@jupyter-widgets/controls, 1.1.0); StyleView (@jupyter-widgets/base, 1.0.0) +### ButtonStyleModel (@jupyter-widgets/controls, 1.2.0); StyleView (@jupyter-widgets/base, 1.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ButtonStyleModel'` | `_view_module` | string | `'@jupyter-widgets/base'` | `_view_module_version` | string | `'1.0.0'` | @@ -151,16 +151,16 @@ Attribute | Type | Default | Help `button_color` | `null` or string | `null` | Color of the button `font_weight` | string | `''` | Button text font weight. -### CheckboxModel (@jupyter-widgets/controls, 1.1.0); CheckboxView (@jupyter-widgets/controls, 1.1.0) +### CheckboxModel (@jupyter-widgets/controls, 1.2.0); CheckboxView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'CheckboxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'CheckboxView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes. @@ -169,16 +169,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | boolean | `false` | Bool value -### ColorPickerModel (@jupyter-widgets/controls, 1.1.0); ColorPickerView (@jupyter-widgets/controls, 1.1.0) +### ColorPickerModel (@jupyter-widgets/controls, 1.2.0); ColorPickerView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ColorPickerModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ColorPickerView'` | `concise` | boolean | `false` | Display short version with just a color selector. `description` | string | `''` | Description of the control. @@ -187,45 +187,45 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `'black'` | The color value. -### ControllerAxisModel (@jupyter-widgets/controls, 1.1.0); ControllerAxisView (@jupyter-widgets/controls, 1.1.0) +### ControllerAxisModel (@jupyter-widgets/controls, 1.2.0); ControllerAxisView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ControllerAxisModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ControllerAxisView'` | `layout` | reference to Layout widget | reference to new instance | `value` | number (float) | `0.0` | The value of the axis. -### ControllerButtonModel (@jupyter-widgets/controls, 1.1.0); ControllerButtonView (@jupyter-widgets/controls, 1.1.0) +### ControllerButtonModel (@jupyter-widgets/controls, 1.2.0); ControllerButtonView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ControllerButtonModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ControllerButtonView'` | `layout` | reference to Layout widget | reference to new instance | `pressed` | boolean | `false` | Whether the button is pressed. `value` | number (float) | `0.0` | The value of the button. -### ControllerModel (@jupyter-widgets/controls, 1.1.0); ControllerView (@jupyter-widgets/controls, 1.1.0) +### ControllerModel (@jupyter-widgets/controls, 1.2.0); ControllerView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ControllerModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ControllerView'` | `axes` | array | `[]` | The axes on the gamepad. `buttons` | array | `[]` | The buttons on the gamepad. @@ -236,16 +236,16 @@ Attribute | Type | Default | Help `name` | string | `''` | The name of the controller. `timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. -### DatePickerModel (@jupyter-widgets/controls, 1.1.0); DatePickerView (@jupyter-widgets/controls, 1.1.0) +### DatePickerModel (@jupyter-widgets/controls, 1.2.0); DatePickerView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'DatePickerModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'DatePickerView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes. @@ -253,42 +253,42 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | `null` or Date | `null` | -### DescriptionStyleModel (@jupyter-widgets/controls, 1.1.0); StyleView (@jupyter-widgets/base, 1.0.0) +### DescriptionStyleModel (@jupyter-widgets/controls, 1.2.0); StyleView (@jupyter-widgets/base, 1.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'DescriptionStyleModel'` | `_view_module` | string | `'@jupyter-widgets/base'` | `_view_module_version` | string | `'1.0.0'` | `_view_name` | string | `'StyleView'` | `description_width` | string | `''` | Width of the description to the side of the control. -### DirectionalLinkModel (@jupyter-widgets/controls, 1.1.0); None (@jupyter-widgets/controls, 1.1.0) +### DirectionalLinkModel (@jupyter-widgets/controls, 1.2.0); None (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'DirectionalLinkModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | `null` or string | `null` | Name of the view. `source` | array | `[]` | The source (widget, 'trait_name') pair `target` | array | `[]` | The target (widget, 'trait_name') pair -### DropdownModel (@jupyter-widgets/controls, 1.1.0); DropdownView (@jupyter-widgets/controls, 1.1.0) +### DropdownModel (@jupyter-widgets/controls, 1.2.0); DropdownView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'DropdownModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'DropdownView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes @@ -296,16 +296,16 @@ Attribute | Type | Default | Help `layout` | reference to Layout widget | reference to new instance | `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -### FloatLogSliderModel (@jupyter-widgets/controls, 1.1.0); FloatLogSliderView (@jupyter-widgets/controls, 1.1.0) +### FloatLogSliderModel (@jupyter-widgets/controls, 1.2.0); FloatLogSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'FloatLogSliderModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'FloatLogSliderView'` | `base` | number (float) | `10.0` | Base for the logarithm `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. @@ -321,16 +321,16 @@ Attribute | Type | Default | Help `style` | reference to SliderStyle widget | reference to new instance | `value` | number (float) | `1.0` | Float value -### FloatProgressModel (@jupyter-widgets/controls, 1.1.0); ProgressView (@jupyter-widgets/controls, 1.1.0) +### FloatProgressModel (@jupyter-widgets/controls, 1.2.0); ProgressView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'FloatProgressModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ProgressView'` | `bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. `description` | string | `''` | Description of the control. @@ -341,16 +341,16 @@ Attribute | Type | Default | Help `style` | reference to ProgressStyle widget | reference to new instance | `value` | number (float) | `0.0` | Float value -### FloatRangeSliderModel (@jupyter-widgets/controls, 1.1.0); FloatRangeSliderView (@jupyter-widgets/controls, 1.1.0) +### FloatRangeSliderModel (@jupyter-widgets/controls, 1.2.0); FloatRangeSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'FloatRangeSliderModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'FloatRangeSliderView'` | `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. `description` | string | `''` | Description of the control. @@ -365,16 +365,16 @@ Attribute | Type | Default | Help `style` | reference to SliderStyle widget | reference to new instance | `value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds -### FloatSliderModel (@jupyter-widgets/controls, 1.1.0); FloatSliderView (@jupyter-widgets/controls, 1.1.0) +### FloatSliderModel (@jupyter-widgets/controls, 1.2.0); FloatSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'FloatSliderModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'FloatSliderView'` | `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. `description` | string | `''` | Description of the control. @@ -389,16 +389,16 @@ Attribute | Type | Default | Help `style` | reference to SliderStyle widget | reference to new instance | `value` | number (float) | `0.0` | Float value -### FloatTextModel (@jupyter-widgets/controls, 1.1.0); FloatTextView (@jupyter-widgets/controls, 1.1.0) +### FloatTextModel (@jupyter-widgets/controls, 1.2.0); FloatTextView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'FloatTextModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'FloatTextView'` | `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -408,31 +408,31 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | number (float) | `0.0` | Float value -### HBoxModel (@jupyter-widgets/controls, 1.1.0); HBoxView (@jupyter-widgets/controls, 1.1.0) +### HBoxModel (@jupyter-widgets/controls, 1.2.0); HBoxView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'HBoxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'HBoxView'` | `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. `children` | array | `[]` | List of widget children `layout` | reference to Layout widget | reference to new instance | -### HTMLMathModel (@jupyter-widgets/controls, 1.1.0); HTMLMathView (@jupyter-widgets/controls, 1.1.0) +### HTMLMathModel (@jupyter-widgets/controls, 1.2.0); HTMLMathView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'HTMLMathModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'HTMLMathView'` | `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | @@ -440,16 +440,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `''` | String value -### HTMLModel (@jupyter-widgets/controls, 1.1.0); HTMLView (@jupyter-widgets/controls, 1.1.0) +### HTMLModel (@jupyter-widgets/controls, 1.2.0); HTMLView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'HTMLModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'HTMLView'` | `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | @@ -457,16 +457,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `''` | String value -### ImageModel (@jupyter-widgets/controls, 1.1.0); ImageView (@jupyter-widgets/controls, 1.1.0) +### ImageModel (@jupyter-widgets/controls, 1.2.0); ImageView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ImageModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ImageView'` | `format` | string | `'png'` | The format of the image. `height` | string | `''` | Height of the image in pixels. @@ -474,16 +474,16 @@ Attribute | Type | Default | Help `value` | Bytes | `b''` | The image data as a byte string. `width` | string | `''` | Width of the image in pixels. -### IntProgressModel (@jupyter-widgets/controls, 1.1.0); ProgressView (@jupyter-widgets/controls, 1.1.0) +### IntProgressModel (@jupyter-widgets/controls, 1.2.0); ProgressView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'IntProgressModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ProgressView'` | `bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. `description` | string | `''` | Description of the control. @@ -494,16 +494,16 @@ Attribute | Type | Default | Help `style` | reference to ProgressStyle widget | reference to new instance | `value` | number (integer) | `0` | Int value -### IntRangeSliderModel (@jupyter-widgets/controls, 1.1.0); IntRangeSliderView (@jupyter-widgets/controls, 1.1.0) +### IntRangeSliderModel (@jupyter-widgets/controls, 1.2.0); IntRangeSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'IntRangeSliderModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'IntRangeSliderView'` | `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. `description` | string | `''` | Description of the control. @@ -518,16 +518,16 @@ Attribute | Type | Default | Help `style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. `value` | array | `[0, 1]` | Tuple of (lower, upper) bounds -### IntSliderModel (@jupyter-widgets/controls, 1.1.0); IntSliderView (@jupyter-widgets/controls, 1.1.0) +### IntSliderModel (@jupyter-widgets/controls, 1.2.0); IntSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'IntSliderModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'IntSliderView'` | `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. `description` | string | `''` | Description of the control. @@ -542,16 +542,16 @@ Attribute | Type | Default | Help `style` | reference to SliderStyle widget | reference to new instance | `value` | number (integer) | `0` | Int value -### IntTextModel (@jupyter-widgets/controls, 1.1.0); IntTextView (@jupyter-widgets/controls, 1.1.0) +### IntTextModel (@jupyter-widgets/controls, 1.2.0); IntTextView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'IntTextModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'IntTextView'` | `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -561,16 +561,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | number (integer) | `0` | Int value -### LabelModel (@jupyter-widgets/controls, 1.1.0); LabelView (@jupyter-widgets/controls, 1.1.0) +### LabelModel (@jupyter-widgets/controls, 1.2.0); LabelView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'LabelModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'LabelView'` | `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | @@ -578,29 +578,29 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `''` | String value -### LinkModel (@jupyter-widgets/controls, 1.1.0); None (@jupyter-widgets/controls, 1.1.0) +### LinkModel (@jupyter-widgets/controls, 1.2.0); None (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'LinkModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | `null` or string | `null` | Name of the view. `source` | array | `[]` | The source (widget, 'trait_name') pair `target` | array | `[]` | The target (widget, 'trait_name') pair -### PasswordModel (@jupyter-widgets/controls, 1.1.0); PasswordView (@jupyter-widgets/controls, 1.1.0) +### PasswordModel (@jupyter-widgets/controls, 1.2.0); PasswordView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'PasswordModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'PasswordView'` | `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -610,18 +610,18 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `''` | String value -### PlayModel (@jupyter-widgets/controls, 1.1.0); PlayView (@jupyter-widgets/controls, 1.1.0) +### PlayModel (@jupyter-widgets/controls, 1.2.0); PlayView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'PlayModel'` | `_playing` | boolean | `false` | Whether the control is currently playing. `_repeat` | boolean | `false` | Whether the control will repeat in a continous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'PlayView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes @@ -634,12 +634,12 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | number (integer) | `0` | Int value -### ProgressStyleModel (@jupyter-widgets/controls, 1.1.0); StyleView (@jupyter-widgets/base, 1.0.0) +### ProgressStyleModel (@jupyter-widgets/controls, 1.2.0); StyleView (@jupyter-widgets/base, 1.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ProgressStyleModel'` | `_view_module` | string | `'@jupyter-widgets/base'` | `_view_module_version` | string | `'1.0.0'` | @@ -647,17 +647,17 @@ Attribute | Type | Default | Help `bar_color` | `null` or string | `null` | Color of the progress bar. `description_width` | string | `''` | Width of the description to the side of the control. -### RadioButtonsModel (@jupyter-widgets/controls, 1.1.0); RadioButtonsView (@jupyter-widgets/controls, 1.1.0) +### RadioButtonsModel (@jupyter-widgets/controls, 1.2.0); RadioButtonsView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'RadioButtonsModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'RadioButtonsView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes @@ -665,17 +665,17 @@ Attribute | Type | Default | Help `layout` | reference to Layout widget | reference to new instance | `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -### SelectModel (@jupyter-widgets/controls, 1.1.0); SelectView (@jupyter-widgets/controls, 1.1.0) +### SelectModel (@jupyter-widgets/controls, 1.2.0); SelectView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'SelectModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'SelectView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes @@ -684,17 +684,17 @@ Attribute | Type | Default | Help `rows` | number (integer) | `5` | The number of rows to display. `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -### SelectMultipleModel (@jupyter-widgets/controls, 1.1.0); SelectMultipleView (@jupyter-widgets/controls, 1.1.0) +### SelectMultipleModel (@jupyter-widgets/controls, 1.2.0); SelectMultipleView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'SelectMultipleModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'SelectMultipleView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes @@ -703,17 +703,17 @@ Attribute | Type | Default | Help `rows` | number (integer) | `5` | The number of rows to display. `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -### SelectionRangeSliderModel (@jupyter-widgets/controls, 1.1.0); SelectionRangeSliderView (@jupyter-widgets/controls, 1.1.0) +### SelectionRangeSliderModel (@jupyter-widgets/controls, 1.2.0); SelectionRangeSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'SelectionRangeSliderModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'SelectionRangeSliderView'` | `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. `description` | string | `''` | Description of the control. @@ -724,17 +724,17 @@ Attribute | Type | Default | Help `readout` | boolean | `true` | Display the current selected label next to the slider `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -### SelectionSliderModel (@jupyter-widgets/controls, 1.1.0); SelectionSliderView (@jupyter-widgets/controls, 1.1.0) +### SelectionSliderModel (@jupyter-widgets/controls, 1.2.0); SelectionSliderView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'SelectionSliderModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'SelectionSliderView'` | `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. `description` | string | `''` | Description of the control. @@ -745,12 +745,12 @@ Attribute | Type | Default | Help `readout` | boolean | `true` | Display the current selected label next to the slider `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -### SliderStyleModel (@jupyter-widgets/controls, 1.1.0); StyleView (@jupyter-widgets/base, 1.0.0) +### SliderStyleModel (@jupyter-widgets/controls, 1.2.0); StyleView (@jupyter-widgets/base, 1.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'SliderStyleModel'` | `_view_module` | string | `'@jupyter-widgets/base'` | `_view_module_version` | string | `'1.0.0'` | @@ -758,33 +758,33 @@ Attribute | Type | Default | Help `description_width` | string | `''` | Width of the description to the side of the control. `handle_color` | `null` or string | `null` | Color of the slider handle. -### TabModel (@jupyter-widgets/controls, 1.1.0); TabView (@jupyter-widgets/controls, 1.1.0) +### TabModel (@jupyter-widgets/controls, 1.2.0); TabView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'TabModel'` | `_titles` | object | `{}` | Titles of the pages `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'TabView'` | `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. `children` | array | `[]` | List of widget children `layout` | reference to Layout widget | reference to new instance | `selected_index` | `null` or number (integer) | `0` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -### TextModel (@jupyter-widgets/controls, 1.1.0); TextView (@jupyter-widgets/controls, 1.1.0) +### TextModel (@jupyter-widgets/controls, 1.2.0); TextView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'TextModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'TextView'` | `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -794,16 +794,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `''` | String value -### TextareaModel (@jupyter-widgets/controls, 1.1.0); TextareaView (@jupyter-widgets/controls, 1.1.0) +### TextareaModel (@jupyter-widgets/controls, 1.2.0); TextareaView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'TextareaModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'TextareaView'` | `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. `description` | string | `''` | Description of the control. @@ -814,16 +814,16 @@ Attribute | Type | Default | Help `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `value` | string | `''` | String value -### ToggleButtonModel (@jupyter-widgets/controls, 1.1.0); ToggleButtonView (@jupyter-widgets/controls, 1.1.0) +### ToggleButtonModel (@jupyter-widgets/controls, 1.2.0); ToggleButtonView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ToggleButtonModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ToggleButtonView'` | `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. `description` | string | `''` | Description of the control. @@ -834,17 +834,17 @@ Attribute | Type | Default | Help `tooltip` | string | `''` | Tooltip caption of the toggle button. `value` | boolean | `false` | Bool value -### ToggleButtonsModel (@jupyter-widgets/controls, 1.1.0); ToggleButtonsView (@jupyter-widgets/controls, 1.1.0) +### ToggleButtonsModel (@jupyter-widgets/controls, 1.2.0); ToggleButtonsView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ToggleButtonsModel'` | `_options_labels` | array | `[]` | The labels for the options. `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ToggleButtonsView'` | `button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. `description` | string | `''` | Description of the control. @@ -855,12 +855,12 @@ Attribute | Type | Default | Help `style` | reference to ToggleButtonsStyle widget | reference to new instance | `tooltips` | array | `[]` | Tooltips for each button. -### ToggleButtonsStyleModel (@jupyter-widgets/controls, 1.1.0); StyleView (@jupyter-widgets/base, 1.0.0) +### ToggleButtonsStyleModel (@jupyter-widgets/controls, 1.2.0); StyleView (@jupyter-widgets/base, 1.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ToggleButtonsStyleModel'` | `_view_module` | string | `'@jupyter-widgets/base'` | `_view_module_version` | string | `'1.0.0'` | @@ -869,31 +869,31 @@ Attribute | Type | Default | Help `description_width` | string | `''` | Width of the description to the side of the control. `font_weight` | string | `''` | Text font weight of each button. -### VBoxModel (@jupyter-widgets/controls, 1.1.0); VBoxView (@jupyter-widgets/controls, 1.1.0) +### VBoxModel (@jupyter-widgets/controls, 1.2.0); VBoxView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'VBoxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'VBoxView'` | `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. `children` | array | `[]` | List of widget children `layout` | reference to Layout widget | reference to new instance | -### ValidModel (@jupyter-widgets/controls, 1.1.0); ValidView (@jupyter-widgets/controls, 1.1.0) +### ValidModel (@jupyter-widgets/controls, 1.2.0); ValidView (@jupyter-widgets/controls, 1.2.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'1.1.0'` | +`_model_module_version` | string | `'1.2.0'` | `_model_name` | string | `'ValidModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'1.1.0'` | +`_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'ValidView'` | `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes.