Skip to content

Commit 635e200

Browse files
fortespBirrer, Iwan
authored andcommitted
style: added index.html paragraph
1 parent 29803e9 commit 635e200

6 files changed

Lines changed: 17 additions & 16 deletions

File tree

docs/components/six-breadcrumbs-item.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
## Properties
77

8-
| Property | Attribute | Description | Type | Default |
9-
| ---------- | ---------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
10-
| `disabled` | `disabled` | Set to true to disable the breadcrumb item. | `boolean` | `false` |
11-
| `href` | `href` | When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. | `string \| undefined` | `undefined` |
12-
| `size` | `size` | The button's size. | `"large" \| "medium" \| "small"` | `'medium'` |
13-
| `target` | `target` | Tells the browser where to open the link. Only used when `href` is set. | `"_blank" \| "_parent" \| "_self" \| "_top" \| undefined` | `undefined` |
8+
| Property | Attribute | Description | Type | Default |
9+
| ---------- | ----------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
10+
| `href` | `href` | When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. | `string \| undefined` | `undefined` |
11+
| `readonly` | `read-only` | Set to true to readonly the breadcrumb item. | `boolean` | `false` |
12+
| `size` | `size` | The button's size. | `"large" \| "medium" \| "small"` | `'medium'` |
13+
| `target` | `target` | Tells the browser where to open the link. Only used when `href` is set. | `"_blank" \| "_parent" \| "_self" \| "_top" \| undefined` | `undefined` |
1414

1515

1616
## Events

libraries/ui-library/src/components/six-breadcrumbs-item/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
</head>
1111
<body>
1212
<h1>Breadcrumbs Item</h1>
13-
Requires six-breadcrumbs as a parent
13+
14+
Breadcrumb items are intended for use with the six-breadcrumbs component. For usage details, see the
15+
<a href="six-breadcrumbs/index.html">six-breadcrumbs documentation</a>.
16+
1417
<div class="container">
1518
<section>
1619
<p>Character / as separators</p>

libraries/ui-library/src/components/six-breadcrumbs-item/readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
## Properties
77

8-
| Property | Attribute | Description | Type | Default |
9-
| ---------- | ---------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
10-
| `disabled` | `disabled` | Set to true to disable the breadcrumb item. | `boolean` | `false` |
11-
| `href` | `href` | When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. | `string \| undefined` | `undefined` |
12-
| `size` | `size` | The button's size. | `"large" \| "medium" \| "small"` | `'medium'` |
13-
| `target` | `target` | Tells the browser where to open the link. Only used when `href` is set. | `"_blank" \| "_parent" \| "_self" \| "_top" \| undefined` | `undefined` |
8+
| Property | Attribute | Description | Type | Default |
9+
| ---------- | ----------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
10+
| `href` | `href` | When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. | `string \| undefined` | `undefined` |
11+
| `readonly` | `read-only` | Set to true to readonly the breadcrumb item. | `boolean` | `false` |
12+
| `size` | `size` | The button's size. | `"large" \| "medium" \| "small"` | `'medium'` |
13+
| `target` | `target` | Tells the browser where to open the link. Only used when `href` is set. | `"_blank" \| "_parent" \| "_self" \| "_top" \| undefined` | `undefined` |
1414

1515

1616
## Events

libraries/ui-library/src/components/six-breadcrumbs-item/six-breadcrumbs-item.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
}
2424

2525
:host([read-only]) {
26-
2726
six-button::part(base) {
2827
color: var(--six-breadcrumbs-item-readonly-color);
2928
}

libraries/ui-library/src/components/six-breadcrumbs-item/six-breadcrumbs-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class SixBreadcrumbsItem {
3636
<six-button
3737
part="button"
3838
type="link"
39-
href={(this.readonly) ? undefined : this.href}
39+
href={this.readonly ? undefined : this.href}
4040
target={this.target}
4141
size={this.size}
4242
onClick={this.handleClick}

libraries/ui-library/src/components/six-breadcrumbs/six-breadcrumbs.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@
2222
::slotted(six-breadcrumbs-item) {
2323
--six-breadcrumbs-item-margin: var(--six-breadcrumbs-margin);
2424
}
25-
2625
}
2726
}

0 commit comments

Comments
 (0)