Skip to content

Commit edb5e0b

Browse files
authored
Merge pull request #3546 from jasongrout/spec8
Update spec snapshot for ipywidgets 8
2 parents 91dfb9a + 7abbd25 commit edb5e0b

File tree

4 files changed

+699
-232
lines changed

4 files changed

+699
-232
lines changed

packages/schema/generate-spec.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
the form `"IPY_MODEL_<MODEL_ID>"`, where `<MODEL_ID>` is the model ID of a
3838
previously created widget of the specified type.
3939
40-
This model specification is for ipywidgets 7.4.*, @jupyter-widgets/base 1.1.*,
41-
and @jupyter-widgets/controls 1.4.*.
40+
This model specification is for ipywidgets 8.
4241
4342
## Model attributes
4443

packages/schema/jupyterwidgetmodels.latest.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,6 +2851,13 @@
28512851
"name": "base",
28522852
"type": "float"
28532853
},
2854+
{
2855+
"default": "drag-tap",
2856+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
2857+
"help": "Slider dragging behavior.",
2858+
"name": "behavior",
2859+
"type": "string"
2860+
},
28542861
{
28552862
"default": true,
28562863
"help": "Update the value of the widget as the user is holding the slider.",
@@ -3138,6 +3145,13 @@
31383145
"name": "_view_name",
31393146
"type": "string"
31403147
},
3148+
{
3149+
"default": "drag-tap",
3150+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
3151+
"help": "Slider dragging behavior.",
3152+
"name": "behavior",
3153+
"type": "string"
3154+
},
31413155
{
31423156
"default": true,
31433157
"help": "Update the value of the widget as the user is sliding the slider.",
@@ -3293,6 +3307,13 @@
32933307
"name": "_view_name",
32943308
"type": "string"
32953309
},
3310+
{
3311+
"default": "drag-tap",
3312+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
3313+
"help": "Slider dragging behavior.",
3314+
"name": "behavior",
3315+
"type": "string"
3316+
},
32963317
{
32973318
"default": true,
32983319
"help": "Update the value of the widget as the user is holding the slider.",
@@ -4527,6 +4548,13 @@
45274548
"name": "_view_name",
45284549
"type": "string"
45294550
},
4551+
{
4552+
"default": "drag-tap",
4553+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
4554+
"help": "Slider dragging behavior.",
4555+
"name": "behavior",
4556+
"type": "string"
4557+
},
45304558
{
45314559
"default": true,
45324560
"help": "Update the value of the widget as the user is sliding the slider.",
@@ -4681,6 +4709,13 @@
46814709
"name": "_view_name",
46824710
"type": "string"
46834711
},
4712+
{
4713+
"default": "drag-tap",
4714+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
4715+
"help": "Slider dragging behavior.",
4716+
"name": "behavior",
4717+
"type": "string"
4718+
},
46844719
{
46854720
"default": true,
46864721
"help": "Update the value of the widget as the user is holding the slider.",
@@ -6245,6 +6280,13 @@
62456280
"name": "_view_name",
62466281
"type": "string"
62476282
},
6283+
{
6284+
"default": "drag-tap",
6285+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
6286+
"help": "Slider dragging behavior.",
6287+
"name": "behavior",
6288+
"type": "string"
6289+
},
62486290
{
62496291
"default": true,
62506292
"help": "Update the value of the widget as the user is holding the slider.",
@@ -6384,6 +6426,13 @@
63846426
"name": "_view_name",
63856427
"type": "string"
63866428
},
6429+
{
6430+
"default": "drag-tap",
6431+
"enum": ["drag-tap", "drag-snap", "tap", "drag", "snap"],
6432+
"help": "Slider dragging behavior.",
6433+
"name": "behavior",
6434+
"type": "string"
6435+
},
63876436
{
63886437
"default": true,
63896438
"help": "Update the value of the widget as the user is holding the slider.",

packages/schema/jupyterwidgetmodels.latest.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ widget is using. A reference to a widget is serialized to JSON as a string of
66
the form `"IPY_MODEL_<MODEL_ID>"`, where `<MODEL_ID>` is the model ID of a
77
previously created widget of the specified type.
88

9-
This model specification is for ipywidgets 7.4.*, @jupyter-widgets/base 1.1.*,
10-
and @jupyter-widgets/controls 1.4.*.
9+
This model specification is for ipywidgets 8.
1110

1211
## Model attributes
1312

0 commit comments

Comments
 (0)