Skip to content

Commit 685dbf8

Browse files
committed
More rename
1 parent 92f6924 commit 685dbf8

File tree

17 files changed

+389
-389
lines changed

17 files changed

+389
-389
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ npm install --save @vscode/webview-ui-toolkit
4545
Further documentation can be found in the following places:
4646

4747
- [Component Docs](./packages/components/docs/components.md)
48-
- [Storybook (Interactive Component Sandbox)](https://microsoft.github.io/vscode-webview-ui-toolkit/)
48+
- [Storybook (Interactive Component Sandbox)](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/)
4949
- [Toolkit Extension Samples](./packages/lab-example)
5050

5151
## Contributing
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Visual Studio Code Badge
1+
# Jupyter Badge
22

3-
The `vscode-badge` component is used to highlight an item, attract attention, and/or flag status.
3+
The `jp-badge` component is used to highlight an item, attract attention, and/or flag status.
44

55
## Attributes
66

77
None
88

99
## Usage
1010

11-
A `vscode-badge` can only contain numbers to follow the conventions of the Visual Studio Code design language.
11+
A `jp-badge` can only contain numbers to follow the conventions of the Jupyter design language.
1212

13-
If a component that labels an item with a string is desired, see the `vscode-tag` component.
13+
If a component that labels an item with a string is desired, see the `jp-tag` component.
1414

1515
### Basic Usage
1616

17-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-badge--default)
17+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-badge--default)
1818

1919
```html
20-
<vscode-badge>1</vscode-badge>
20+
<jp-badge>1</jp-badge>
2121
```

packages/components/src/button/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Visual Studio Code Button
1+
# Jupyter Button
22

3-
The `vscode-button` is a web component implementation of a [button element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button). The `vscode-button` also supports several visual appearances––primary, secondary, and icon.
3+
The `jp-button` is a web component implementation of a [button element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button). The `jp-button` also supports several visual appearances––primary, secondary, and icon.
44

55
## Attributes
66

@@ -24,55 +24,55 @@ The `vscode-button` is a web component implementation of a [button element](http
2424

2525
### Basic Usage
2626

27-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-button--default)
27+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-button--default)
2828

2929
```html
30-
<vscode-button>Button Text</vscode-button>
30+
<jp-button>Button Text</jp-button>
3131
```
3232

3333
### Appearance Attribute
3434

35-
There are a number of visual appearances that the `vscode-button` can have. The default appearance is `primary`.
35+
There are a number of visual appearances that the `jp-button` can have. The default appearance is `primary`.
3636

37-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-button--default)
37+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-button--default)
3838

3939
```html
40-
<vscode-button appearance="primary">Button Text</vscode-button>
41-
<vscode-button appearance="secondary">Button Text</vscode-button>
42-
<vscode-button appearance="icon">
40+
<jp-button appearance="primary">Button Text</jp-button>
41+
<jp-button appearance="secondary">Button Text</jp-button>
42+
<jp-button appearance="icon">
4343
<span class="codicon codicon-check"></span>
44-
</vscode-button>
44+
</jp-button>
4545
```
4646

4747
### Autofocus Attribute
4848

49-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-button--with-autofocus)
49+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-button--with-autofocus)
5050

5151
```html
52-
<vscode-button autofocus>Button Text</vscode-button>
52+
<jp-button autofocus>Button Text</jp-button>
5353
```
5454

5555
### Disabled Attribute
5656

57-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-button--with-disabled)
57+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-button--with-disabled)
5858

5959
```html
60-
<vscode-button disabled>Button Text</vscode-button>
60+
<jp-button disabled>Button Text</jp-button>
6161
```
6262

6363
### Start Icon
6464

6565
An icon can be added to the left of Button text by adding an element with the attribute `slot="start"`.
6666

67-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-button--with-start-icon)
67+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-button--with-start-icon)
6868

6969
```html
7070
<!-- Note: Using Visual Studio Code Codicon Library -->
7171

72-
<vscode-button>
72+
<jp-button>
7373
Button Text
7474
<span slot="start" class="codicon codicon-add"></span>
75-
</vscode-button>
75+
</jp-button>
7676
```
7777

7878
### Icon Only
@@ -87,12 +87,12 @@ An `aria-label` of "Icon Button" is automatically defined on all icon buttons so
8787

8888
For example, if you're using an icon button to confirm a state change, adding an `aria-label` with the value "Confirm" or "Confirm Changes" would be appropriate.
8989

90-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-button--with-icon-only)
90+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-button--with-icon-only)
9191

9292
```html
9393
<!-- Note: Using Visual Studio Code Codicon Library -->
9494

95-
<vscode-button appearance="icon" aria-label="Confirm">
95+
<jp-button appearance="icon" aria-label="Confirm">
9696
<span class="codicon codicon-check"></span>
97-
</vscode-button>
97+
</jp-button>
9898
```
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Visual Studio Code Checkbox
1+
# Jupyter Checkbox
22

3-
The `vscode-checkbox` is a web component implementation of a [checkbox element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/checkbox).
3+
The `jp-checkbox` is a web component implementation of a [checkbox element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/checkbox).
44

55
## Attributes
66

@@ -23,87 +23,87 @@ The `vscode-checkbox` is a web component implementation of a [checkbox element](
2323

2424
### Basic Usage
2525

26-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--default)
26+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--default)
2727

2828
```html
29-
<vscode-checkbox>Label</vscode-checkbox>
29+
<jp-checkbox>Label</jp-checkbox>
3030
```
3131

3232
### Autofocus Attribute
3333

34-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--with-autofocus)
34+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--with-autofocus)
3535

3636
```html
37-
<vscode-checkbox autofocus>Label</vscode-checkbox>
37+
<jp-checkbox autofocus>Label</jp-checkbox>
3838
```
3939

4040
### Checked Attribute
4141

42-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--with-checked)
42+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--with-checked)
4343

4444
```html
45-
<vscode-checkbox checked>Label</vscode-checkbox>
45+
<jp-checkbox checked>Label</jp-checkbox>
4646
```
4747

4848
### Disabled Attribute
4949

50-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--with-disabled)
50+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--with-disabled)
5151

5252
```html
53-
<vscode-checkbox disabled>Label</vscode-checkbox>
53+
<jp-checkbox disabled>Label</jp-checkbox>
5454
```
5555

5656
### Readonly Attribute
5757

58-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--with-read-only)
58+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--with-read-only)
5959

6060
```html
61-
<vscode-checkbox readonly>Label</vscode-checkbox>
61+
<jp-checkbox readonly>Label</jp-checkbox>
6262
```
6363

6464
### Required Attribute
6565

6666
```html
67-
<vscode-checkbox required>Label</vscode-checkbox>
67+
<jp-checkbox required>Label</jp-checkbox>
6868
```
6969

7070
### Value Attribute
7171

72-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--with-value)
72+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--with-value)
7373

7474
```html
75-
<vscode-checkbox value="baz">Label</vscode-checkbox>
75+
<jp-checkbox value="baz">Label</jp-checkbox>
7676
```
7777

7878
### Indeterminate Property
7979

8080
Checkboxes can also render an indeterminate state. This is achieved by getting a reference to a given checkbox using JavaScript and then setting the `indeterminate` property of the checkbox to `true`.
8181

82-
[Interactive Storybook Example](https://microsoft.github.io/vscode-webview-ui-toolkit/?path=/story/library-checkbox--with-indeterminate)
82+
[Interactive Storybook Example](https://jupyterlab-contrib.github.io/jupyter-ui-toolkit/?path=/story/library-checkbox--with-indeterminate)
8383

8484
```javascript
8585
const checkbox = document.getElementById('basic-checkbox');
8686
checkbox.indeterminate = true;
8787
```
8888

8989
```html
90-
<vscode-checkbox id="basic-checkbox">Label</vscode-checkbox>
90+
<jp-checkbox id="basic-checkbox">Label</jp-checkbox>
9191
```
9292

9393
### Form Usage
9494

95-
Here is an example of the Visual Studio Code Checkbox and its various attributes being used in a form.
95+
Here is an example of the Jupyter Checkbox and its various attributes being used in a form.
9696

9797
```html
9898
<form>
9999
<fieldset>
100100
<legend>Fieldset Legend</legend>
101-
<vscode-checkbox checked required>Checked + Required</vscode-checkbox>
102-
<vscode-checkbox checked readonly>Checked + Readonly</vscode-checkbox>
103-
<vscode-checkbox autofocus>Autofocus</vscode-checkbox>
104-
<vscode-checkbox disabled>Disabled</vscode-checkbox>
105-
<vscode-checkbox value="baz">Value Set To "baz"</vscode-checkbox>
101+
<jp-checkbox checked required>Checked + Required</jp-checkbox>
102+
<jp-checkbox checked readonly>Checked + Readonly</jp-checkbox>
103+
<jp-checkbox autofocus>Autofocus</jp-checkbox>
104+
<jp-checkbox disabled>Disabled</jp-checkbox>
105+
<jp-checkbox value="baz">Value Set To "baz"</jp-checkbox>
106106
</fieldset>
107-
<vscode-button type="submit">Submit Button</vscode-button>
107+
<jp-button type="submit">Submit Button</jp-button>
108108
</form>
109109
```

0 commit comments

Comments
 (0)