From af0e25e8e2ef2d55661d99298f8e516b4425583b Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Thu, 5 Aug 2021 21:49:16 -0400 Subject: [PATCH] Fixed typos --- docs/source/examples/Widget Events.ipynb | 2 +- docs/source/examples/Widget Styling.ipynb | 6 +++--- ipywidgets/embed.py | 2 +- ipywidgets/widgets/tests/test_datetime_serializers.py | 2 +- ipywidgets/widgets/tests/test_traits.py | 4 ++-- ipywidgets/widgets/tests/test_widget_templates.py | 2 +- ipywidgets/widgets/widget_float.py | 2 +- ipywidgets/widgets/widget_int.py | 4 ++-- packages/base/src/widget.ts | 2 +- packages/controls/css/labvariables.css | 2 +- packages/controls/css/widgets-base.css | 2 +- packages/controls/src/widget_bool.ts | 2 +- packages/controls/src/widget_selectioncontainer.ts | 2 +- packages/controls/test/src/widget_datetime_test.ts | 4 ++-- packages/controls/test/src/widget_time_test.ts | 2 +- packages/html-manager/src/libembed-amd.ts | 2 +- packages/schema/jupyterwidgetmodels.latest.json | 6 +++--- packages/schema/jupyterwidgetmodels.latest.md | 6 +++--- packages/schema/jupyterwidgetmodels.v6.md | 6 +++--- packages/schema/jupyterwidgetmodels.v7-1.md | 6 +++--- packages/schema/jupyterwidgetmodels.v7-2.md | 6 +++--- packages/schema/jupyterwidgetmodels.v7-3.md | 6 +++--- packages/schema/jupyterwidgetmodels.v7-4.md | 6 +++--- packages/schema/jupyterwidgetmodels.v7-5.md | 6 +++--- packages/schema/jupyterwidgetmodels.v7.md | 6 +++--- packages/schema/jupyterwidgetmodels.v8.md | 6 +++--- packages/schema/messages.md | 4 ++-- 27 files changed, 53 insertions(+), 53 deletions(-) diff --git a/docs/source/examples/Widget Events.ipynb b/docs/source/examples/Widget Events.ipynb index cfec468f2c..5e0cca0312 100644 --- a/docs/source/examples/Widget Events.ipynb +++ b/docs/source/examples/Widget Events.ipynb @@ -316,7 +316,7 @@ "\n", "Linking in the kernel means linking via python. If two sliders are linked in the kernel, when one slider is changed the browser sends a message to the kernel (python in this case) updating the changed slider, the link widget in the kernel then propagates the change to the other slider object in the kernel, and then the other slider's kernel object sends a message to the browser to update the other slider's views in the browser. If the kernel is not running (as in a static web page), then the controls will not be linked.\n", "\n", - "Linking using jslink (i.e., on the browser side) means contructing the link in Javascript. When one slider is changed, Javascript running in the browser changes the value of the other slider in the browser, without needing to communicate with the kernel at all. If the sliders are attached to kernel objects, each slider will update their kernel-side objects independently.\n", + "Linking using jslink (i.e., on the browser side) means constructing the link in Javascript. When one slider is changed, Javascript running in the browser changes the value of the other slider in the browser, without needing to communicate with the kernel at all. If the sliders are attached to kernel objects, each slider will update their kernel-side objects independently.\n", "\n", "To see the difference between the two, go to the [static version of this page in the ipywidgets documentation](http://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Events.html) and try out the sliders near the bottom. The ones linked in the kernel with `link` and `dlink` are no longer linked, but the ones linked in the browser with `jslink` and `jsdlink` are still linked." ] diff --git a/docs/source/examples/Widget Styling.ipynb b/docs/source/examples/Widget Styling.ipynb index e4163e4cdd..3dee50f227 100644 --- a/docs/source/examples/Widget Styling.ipynb +++ b/docs/source/examples/Widget Styling.ipynb @@ -1057,7 +1057,7 @@ "\n", "Use `Image.layout.object_position` to control how where an image is positioned within a container like a box. The default value ensures that the image is centered in the box. The effect of `Image.layout.object_position` depends, in some cases, on the value of `Image.layout.object_fit`.\n", "\n", - "There are severl ways to specify the value for `object_position`, described below." + "There are several ways to specify the value for `object_position`, described below." ] }, { @@ -1263,7 +1263,7 @@ "+ A mix of pixel and percent offsets.\n", "+ A mix of keywords and offsets.\n", "\n", - "Image scaling as determined by `object_fit` will take precendence over the positioning in some cases. For example, if `object_fit` is `fill`, so that the image is supposed to fill the container without preserving the aspect ratio, then `object_position` will have no effect because there is effectively no positioning to do. \n", + "Image scaling as determined by `object_fit` will take precedence over the positioning in some cases. For example, if `object_fit` is `fill`, so that the image is supposed to fill the container without preserving the aspect ratio, then `object_position` will have no effect because there is effectively no positioning to do. \n", "\n", "Another way to think about it is this: `object_position` specifies how the *white space* around an image should be distributed in a container if there is white space in a particular direction. " ] @@ -1279,7 +1279,7 @@ "+ The horizontal position must be one of: \n", " * `'left'`: the left side of the image should be aligned with the left side of the container\n", " * `'center'`: the image should be centered horizontally in the container.\n", - " * `'right'`: the right side of the image should be aligned with the rigth side of the container.\n", + " * `'right'`: the right side of the image should be aligned with the right side of the container.\n", "+ The vertical position must be one of\n", " * `'top'`: the top of the image should be aligned with the top of the container.\n", " * '`center`': the image should be centered vertically in the container. \n", diff --git a/ipywidgets/embed.py b/ipywidgets/embed.py index a8da0d04ed..3b28a6ec2f 100644 --- a/ipywidgets/embed.py +++ b/ipywidgets/embed.py @@ -143,7 +143,7 @@ def dependency_state(widgets, drop_defaults=True): - any widget in a list/tuple attribute in the state of an included widget - any widget in a dict attribute in the state of an included widget - any jslink/jsdlink between two included widgets - What this alogrithm does not do: + What this alogorithm does not do: - Find widget references in nested list/dict structures - Find widget references in other types of attributes diff --git a/ipywidgets/widgets/tests/test_datetime_serializers.py b/ipywidgets/widgets/tests/test_datetime_serializers.py index adfdef3615..f6e6863b26 100644 --- a/ipywidgets/widgets/tests/test_datetime_serializers.py +++ b/ipywidgets/widgets/tests/test_datetime_serializers.py @@ -57,7 +57,7 @@ def test_datetime_serialize_value(): def test_datetime_serialize_non_utz(): - # Non-existant timezone, so it wil never be the local one: + # Non-existent timezone, so it will never be the local one: tz = pytz.FixedOffset(42) t = datetime.datetime(2002, 2, 20, 13, 37, 42, 7000, tz) assert datetime_to_json(t, None) == dict( diff --git a/ipywidgets/widgets/tests/test_traits.py b/ipywidgets/widgets/tests/test_traits.py index 4b68626516..efcaf5651f 100644 --- a/ipywidgets/widgets/tests/test_traits.py +++ b/ipywidgets/widgets/tests/test_traits.py @@ -54,7 +54,7 @@ class TestColor(TraitTestBase): 'hsla(10,10,10, 0.5)', # rgba with float alpha ] _bad_values = [ - "vanilla", "blues", # Invald color names + "vanilla", "blues", # Invalid color names 1.2, 0.0, # Should fail with float input 0, 1, 2, # Should fail with int input 'rgb(0.4, 512, -40)', @@ -124,7 +124,7 @@ def test_remove_and_put_buffers(self): state = {'plain': [0, 'text'], # should not get removed 'x': {'ar': mv1}, # should result in an empty dict 'y': {'shape': (10, 10), 'data': mv1}, - 'z': (mv1, mv2), # tests tuple assigment + 'z': (mv1, mv2), # tests tuple assignment 'top': mv1, # test a top level removal 'deep': {'a': 1, 'b':[0,{'deeper':mv2}]}} # deeply nested plain = state['plain'] diff --git a/ipywidgets/widgets/tests/test_widget_templates.py b/ipywidgets/widgets/tests/test_widget_templates.py index acd27dfddb..e53683630c 100644 --- a/ipywidgets/widgets/tests/test_widget_templates.py +++ b/ipywidgets/widgets/tests/test_widget_templates.py @@ -189,7 +189,7 @@ def test_pass_layout_options(self): #pylint: disable=no-self-use assert box.layout.justify_content == "center" assert box.layout.align_items == "center" - # values passed directly in the constructor should overwite layout options + # values passed directly in the constructor should overwrite layout options layout = widgets.Layout(grid_gap="10px", justify_content="center", align_items="center") box = widgets.TwoByTwoLayout(top_left=button1, top_right=button2, diff --git a/ipywidgets/widgets/widget_float.py b/ipywidgets/widgets/widget_float.py index a8fde26c3e..08e59dc59b 100644 --- a/ipywidgets/widgets/widget_float.py +++ b/ipywidgets/widgets/widget_float.py @@ -248,7 +248,7 @@ class FloatProgress(_BoundedFloat): bar_style = CaselessStrEnum( values=['success', 'info', 'warning', 'danger', ''], default_value='', allow_none=True, - help="Use a predefined styling for the progess bar.").tag(sync=True) + help="Use a predefined styling for the progress bar.").tag(sync=True) style = InstanceDict(ProgressStyle).tag(sync=True, **widget_serialization) diff --git a/ipywidgets/widgets/widget_int.py b/ipywidgets/widgets/widget_int.py index b043328e7d..b1dbb5783f 100644 --- a/ipywidgets/widgets/widget_int.py +++ b/ipywidgets/widgets/widget_int.py @@ -188,7 +188,7 @@ class IntProgress(_BoundedInt): bar_style = CaselessStrEnum( values=['success', 'info', 'warning', 'danger', ''], default_value='', - help="""Use a predefined styling for the progess bar.""").tag(sync=True) + help="""Use a predefined styling for the progress bar.""").tag(sync=True) style = InstanceDict(ProgressStyle).tag(sync=True, **widget_serialization) @@ -228,7 +228,7 @@ class Play(_BoundedInt): _model_name = Unicode('PlayModel').tag(sync=True) playing = Bool(help="Whether the control is currently playing.").tag(sync=True) - repeat = Bool(help="Whether the control will repeat in a continous loop.").tag(sync=True) + repeat = Bool(help="Whether the control will repeat in a continuous loop.").tag(sync=True) interval = CInt(100, help="The time between two animation steps (ms).").tag(sync=True) step = CInt(1, help="Increment step").tag(sync=True) diff --git a/packages/base/src/widget.ts b/packages/base/src/widget.ts index be173abe0b..981264fc31 100644 --- a/packages/base/src/widget.ts +++ b/packages/base/src/widget.ts @@ -49,7 +49,7 @@ export function unpack_models( }); return utils.resolvePromisesDict(unpacked); } else if (typeof value === 'string' && value.slice(0, 10) === 'IPY_MODEL_') { - // get_model returns a promise already (except when it retunrs undefined!) + // get_model returns a promise already (except when it returns undefined!) return Promise.resolve(manager.get_model(value.slice(10, value.length))); } else { return Promise.resolve(value); diff --git a/packages/controls/css/labvariables.css b/packages/controls/css/labvariables.css index e5194e46ba..8e5b86a98e 100644 --- a/packages/controls/css/labvariables.css +++ b/packages/controls/css/labvariables.css @@ -39,7 +39,7 @@ all of MD as it is not optimized for dense, information rich UIs. /* @import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); */ /* - * Added for compabitility with output area + * Added for compatibility with output area */ :root { --jp-icon-search: none; diff --git a/packages/controls/css/widgets-base.css b/packages/controls/css/widgets-base.css index 923148ece9..151f314cef 100644 --- a/packages/controls/css/widgets-base.css +++ b/packages/controls/css/widgets-base.css @@ -594,7 +594,7 @@ display: none; } -/* Widget Text and TextArea Stying */ +/* Widget Text and TextArea Styling */ /* */ .widget-textarea, /* */ diff --git a/packages/controls/src/widget_bool.ts b/packages/controls/src/widget_bool.ts index 6f58446c92..e7dcbd3617 100644 --- a/packages/controls/src/widget_bool.ts +++ b/packages/controls/src/widget_bool.ts @@ -68,7 +68,7 @@ export class CheckboxView extends DescriptionView { } /** - * Overriden from super class + * Overridden from super class * * Update the description span (rather than the label) since * we want the description to the right of the checkbox. diff --git a/packages/controls/src/widget_selectioncontainer.ts b/packages/controls/src/widget_selectioncontainer.ts index abb502f4f7..e4e8ad386e 100644 --- a/packages/controls/src/widget_selectioncontainer.ts +++ b/packages/controls/src/widget_selectioncontainer.ts @@ -347,7 +347,7 @@ export class TabView extends DOMWidgetView { widget.title.closable = false; const i = ArrayExt.firstIndexOf(tabs.widgets, placeholder); - // insert after placeholder so that if placholder is selected, the + // insert after placeholder so that if placeholder is selected, the // real widget will be selected now (this depends on the tab bar // insert behavior) tabs.insertWidget(i + 1, widget); diff --git a/packages/controls/test/src/widget_datetime_test.ts b/packages/controls/test/src/widget_datetime_test.ts index a1255febbd..bbe6f9ec45 100644 --- a/packages/controls/test/src/widget_datetime_test.ts +++ b/packages/controls/test/src/widget_datetime_test.ts @@ -23,7 +23,7 @@ describe('Datetime', () => { expect(model.get('value')).to.be.a('null'); }); - it('should be createable with a value', () => { + it('should be creatable with a value', () => { const state = { value: date }; const model = createTestModel(DatetimeModel, state); expect(model).to.be.instanceof(DatetimeModel); @@ -122,7 +122,7 @@ describe('Datetime', () => { expect(model.get('value')).to.be.a('null'); }); - it('should be createable with a value', () => { + it('should be creatable with a value', () => { const state = { value: date }; const model = createTestModel(NaiveDatetimeModel, state); expect(model).to.be.an.instanceof(NaiveDatetimeModel); diff --git a/packages/controls/test/src/widget_time_test.ts b/packages/controls/test/src/widget_time_test.ts index 7433505d8b..4e3f1d10a7 100644 --- a/packages/controls/test/src/widget_time_test.ts +++ b/packages/controls/test/src/widget_time_test.ts @@ -22,7 +22,7 @@ describe('Time', () => { expect(model.get('value')).to.be.a('null'); }); - it('should be createable with a value', () => { + it('should be creatable with a value', () => { const state = { value: timeString }; const model = createTestModel(TimeModel, state); expect(model).to.be.an.instanceof(TimeModel); diff --git a/packages/html-manager/src/libembed-amd.ts b/packages/html-manager/src/libembed-amd.ts index 723959db5c..6cf1868c60 100644 --- a/packages/html-manager/src/libembed-amd.ts +++ b/packages/html-manager/src/libembed-amd.ts @@ -55,7 +55,7 @@ function moduleNameToCDNUrl(moduleName: string, moduleVersion: string): string { * @param version The semver range for the module, if loaded from a CDN. * * By default, the CDN service used is jsDelivr. However, this default can be - * overriden by specifying another URL via the HTML attribute + * overridden by specifying another URL via the HTML attribute * "data-jupyter-widgets-cdn" on a script tag of the page. * * The semver range is only used with the CDN. diff --git a/packages/schema/jupyterwidgetmodels.latest.json b/packages/schema/jupyterwidgetmodels.latest.json index a8b2f51874..ef3ad4352a 100644 --- a/packages/schema/jupyterwidgetmodels.latest.json +++ b/packages/schema/jupyterwidgetmodels.latest.json @@ -2892,7 +2892,7 @@ "allow_none": true, "default": "", "enum": ["success", "info", "warning", "danger", ""], - "help": "Use a predefined styling for the progess bar.", + "help": "Use a predefined styling for the progress bar.", "name": "bar_style", "type": "string" }, @@ -4163,7 +4163,7 @@ { "default": "", "enum": ["success", "info", "warning", "danger", ""], - "help": "Use a predefined styling for the progess bar.", + "help": "Use a predefined styling for the progress bar.", "name": "bar_style", "type": "string" }, @@ -5472,7 +5472,7 @@ }, { "default": false, - "help": "Whether the control will repeat in a continous loop.", + "help": "Whether the control will repeat in a continuous loop.", "name": "repeat", "type": "bool" }, diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index 3eb36670e3..e1b3b101b9 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -516,7 +516,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'2.0.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_allow_html` | boolean | `false` | Accept HTML in the description. `layout` | reference to Layout widget | reference to new instance | @@ -733,7 +733,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'2.0.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_allow_html` | boolean | `false` | Accept HTML in the description. `layout` | reference to Layout widget | reference to new instance | @@ -942,7 +942,7 @@ Attribute | Type | Default | Help `max` | number (integer) | `100` | Max value `min` | number (integer) | `0` | Min value `playing` | boolean | `false` | Whether the control is currently playing. -`repeat` | boolean | `false` | Whether the control will repeat in a continous loop. +`repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. `step` | number (integer) | `1` | Increment step `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations diff --git a/packages/schema/jupyterwidgetmodels.v6.md b/packages/schema/jupyterwidgetmodels.v6.md index 2e00c0ac85..2dfeaddcab 100644 --- a/packages/schema/jupyterwidgetmodels.v6.md +++ b/packages/schema/jupyterwidgetmodels.v6.md @@ -243,7 +243,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'jupyter-js-widgets'` | `_view_module_version` | string | `'~2.1.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes `layout` | reference to Layout widget | reference to new instance | @@ -404,7 +404,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'jupyter-js-widgets'` | `_view_module_version` | string | `'~2.1.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `disabled` | boolean | `false` | Enable or disable user changes `layout` | reference to Layout widget | reference to new instance | @@ -839,7 +839,7 @@ Attribute | Type | Default | Help ## Inheritance -In the list below, the notation `WidgetB(WidgetA)` indicates that WidgetB inherits all of the attributes from WidgetA. This may help in implementing widgets to easily see the inheritance hierarcy. +In the list below, the notation `WidgetB(WidgetA)` indicates that WidgetB inherits all of the attributes from WidgetA. This may help in implementing widgets to easily see the inheritance hierarchy. * CoreWidget - Abstract * DOMWidget(Widget) - Abstract diff --git a/packages/schema/jupyterwidgetmodels.v7-1.md b/packages/schema/jupyterwidgetmodels.v7-1.md index c4189ac33d..0f905cbbd1 100644 --- a/packages/schema/jupyterwidgetmodels.v7-1.md +++ b/packages/schema/jupyterwidgetmodels.v7-1.md @@ -307,7 +307,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.1.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | `max` | number (float) | `100.0` | Max value @@ -460,7 +460,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.1.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | `max` | number (integer) | `100` | Max value @@ -594,7 +594,7 @@ Attribute | Type | Default | Help `_model_module_version` | string | `'1.1.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. +`_repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.1.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/jupyterwidgetmodels.v7-2.md b/packages/schema/jupyterwidgetmodels.v7-2.md index 6069fa70c4..bb44eeea6d 100644 --- a/packages/schema/jupyterwidgetmodels.v7-2.md +++ b/packages/schema/jupyterwidgetmodels.v7-2.md @@ -332,7 +332,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_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. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | `max` | number (float) | `100.0` | Max value @@ -485,7 +485,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_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. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | `max` | number (integer) | `100` | Max value @@ -619,7 +619,7 @@ Attribute | Type | Default | Help `_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. +`_repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.2.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/jupyterwidgetmodels.v7-3.md b/packages/schema/jupyterwidgetmodels.v7-3.md index 3beb671181..f17ef52779 100644 --- a/packages/schema/jupyterwidgetmodels.v7-3.md +++ b/packages/schema/jupyterwidgetmodels.v7-3.md @@ -349,7 +349,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.3.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -523,7 +523,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.3.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -663,7 +663,7 @@ Attribute | Type | Default | Help `_model_module_version` | string | `'1.3.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. +`_repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.3.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/jupyterwidgetmodels.v7-4.md b/packages/schema/jupyterwidgetmodels.v7-4.md index 1e28f8cc47..72b4a7f921 100644 --- a/packages/schema/jupyterwidgetmodels.v7-4.md +++ b/packages/schema/jupyterwidgetmodels.v7-4.md @@ -381,7 +381,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.4.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -555,7 +555,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.4.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -695,7 +695,7 @@ Attribute | Type | Default | Help `_model_module_version` | string | `'1.4.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. +`_repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.4.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/jupyterwidgetmodels.v7-5.md b/packages/schema/jupyterwidgetmodels.v7-5.md index 52b12d4cfb..523a27bad6 100644 --- a/packages/schema/jupyterwidgetmodels.v7-5.md +++ b/packages/schema/jupyterwidgetmodels.v7-5.md @@ -431,7 +431,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.5.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -605,7 +605,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.5.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -745,7 +745,7 @@ Attribute | Type | Default | Help `_model_module_version` | string | `'1.5.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. +`_repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.5.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/jupyterwidgetmodels.v7.md b/packages/schema/jupyterwidgetmodels.v7.md index 3ea85d4865..e111338c58 100644 --- a/packages/schema/jupyterwidgetmodels.v7.md +++ b/packages/schema/jupyterwidgetmodels.v7.md @@ -307,7 +307,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.0.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | `max` | number (float) | `100.0` | Max value @@ -460,7 +460,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.0.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `layout` | reference to Layout widget | reference to new instance | `max` | number (integer) | `100` | Max value @@ -594,7 +594,7 @@ Attribute | Type | Default | Help `_model_module_version` | string | `'1.0.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. +`_repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.0.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/jupyterwidgetmodels.v8.md b/packages/schema/jupyterwidgetmodels.v8.md index b2ff3539ae..30ba5b6cd1 100644 --- a/packages/schema/jupyterwidgetmodels.v8.md +++ b/packages/schema/jupyterwidgetmodels.v8.md @@ -404,7 +404,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.4.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -578,7 +578,7 @@ Attribute | Type | Default | Help `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.4.0'` | `_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. `description` | string | `''` | Description of the control. `description_tooltip` | `null` or string | `null` | Tooltip for the description (defaults to description). `layout` | reference to Layout widget | reference to new instance | @@ -718,7 +718,7 @@ Attribute | Type | Default | Help `_model_module_version` | string | `'1.4.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. +`repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'1.4.0'` | `_view_name` | string | `'PlayView'` | diff --git a/packages/schema/messages.md b/packages/schema/messages.md index c2576e38bc..8c6749dfc6 100644 --- a/packages/schema/messages.md +++ b/packages/schema/messages.md @@ -13,7 +13,7 @@ For more details on the `comm` infrastructure, see the [Custom messages section] Throughout this document, relevant parts of messages to the discussion are quoted, and fields irrelevant to the discussion are not displayed. -## Implementating the Jupyter widgets protocol in the kernel +## Implementing the Jupyter widgets protocol in the kernel In this section, we concentrate on implementing the Jupyter widget messaging protocol in the kernel. @@ -240,7 +240,7 @@ The core idea of widgets is that some state is automatically synced back and for These fields are assumed immutable (set at initialization, and never changed). -## Implementating the Jupyter widgets protocol in the kernel +## Implementing the Jupyter widgets protocol in the kernel In this section, we concentrate on implementing the Jupyter widget messaging protocol in the kernel.