@breadstone/mosaik-elements-foundation 0.0.237 → 0.0.241
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.d.ts +23 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.js +37 -20
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.js.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.js +13 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.js.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.d.ts +64 -7
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.js +135 -12
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.js.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.js +18 -8
- package/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.js.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.d.ts +7 -1
- package/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.js +31 -3
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.js +67 -3
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.js.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.js +31 -3
- package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.js.map +1 -1
- package/Routing/PathToRegexp.d.ts +1 -1
- package/custom-elements.json +157 -26
- package/package.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CustomElement } from '../../Abstracts/CustomElement';
|
|
2
|
+
import { BreadcrumbItemElement } from './BreadcrumbItemElement';
|
|
2
3
|
import type { IBreadcrumbElementProps } from './IBreadcrumbElementProps';
|
|
3
4
|
declare const BreadcrumbElement_base: (abstract new (...args: Array<any>) => import("../../../../Controls/Behaviors/Themeable").IThemeableProps) & typeof CustomElement & import("../../../../Controls/Behaviors/Themeable").IThemeableCtor;
|
|
4
5
|
/**
|
|
@@ -14,6 +15,9 @@ declare const BreadcrumbElement_base: (abstract new (...args: Array<any>) => imp
|
|
|
14
15
|
* @category Navigation
|
|
15
16
|
*
|
|
16
17
|
* @slot - The default slot.
|
|
18
|
+
* @slot item-${i} - The item-${i} slot.
|
|
19
|
+
*
|
|
20
|
+
* @csspart symbol - The symbol part.
|
|
17
21
|
*
|
|
18
22
|
* @cssprop {String} --breadcrumb-font-family - The font family CSS custom property.
|
|
19
23
|
* @cssprop {String} --breadcrumb-font-letter-spacing - The font letter spacing CSS custom property.
|
|
@@ -38,6 +42,8 @@ declare const BreadcrumbElement_base: (abstract new (...args: Array<any>) => imp
|
|
|
38
42
|
* @cssprop {String} --breadcrumb-transition-property - The transition property CSS custom property.
|
|
39
43
|
* @cssprop {String} --breadcrumb-translate - The translate CSS custom property.
|
|
40
44
|
*
|
|
45
|
+
* @dependency mosaik-icon - The Icon element.
|
|
46
|
+
*
|
|
41
47
|
* @example
|
|
42
48
|
* Basic breadcrumb navigation trail:
|
|
43
49
|
* ```html
|
|
@@ -63,8 +69,8 @@ declare const BreadcrumbElement_base: (abstract new (...args: Array<any>) => imp
|
|
|
63
69
|
* @public
|
|
64
70
|
*/
|
|
65
71
|
export declare class BreadcrumbElement extends BreadcrumbElement_base implements IBreadcrumbElementProps {
|
|
66
|
-
private readonly _breadcrumbs;
|
|
67
72
|
private _wrap;
|
|
73
|
+
private _items;
|
|
68
74
|
/**
|
|
69
75
|
* @public
|
|
70
76
|
*/
|
|
@@ -86,6 +92,22 @@ export declare class BreadcrumbElement extends BreadcrumbElement_base implements
|
|
|
86
92
|
*/
|
|
87
93
|
get wrap(): boolean;
|
|
88
94
|
set wrap(value: boolean);
|
|
95
|
+
/**
|
|
96
|
+
* Returns the breadcrumb items.
|
|
97
|
+
*
|
|
98
|
+
* @private
|
|
99
|
+
* @template
|
|
100
|
+
* @readonly
|
|
101
|
+
*/
|
|
102
|
+
get items(): Array<BreadcrumbItemElement>;
|
|
103
|
+
/**
|
|
104
|
+
* Handles slot changes on the collector slot.
|
|
105
|
+
* Collects items and assigns them to named slots.
|
|
106
|
+
*
|
|
107
|
+
* @private
|
|
108
|
+
* @template
|
|
109
|
+
*/
|
|
110
|
+
onSlotChange(event: Event): void;
|
|
89
111
|
}
|
|
90
112
|
/**
|
|
91
113
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BreadcrumbElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;;AAOzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,qBAaa,iBACT,SAAQ,sBACR,YAAW,uBAAuB;IAIlC,OAAO,CAAC,KAAK,CAAU;IACvB,OAAO,CAAC,MAAM,CAA+B;IAM7C;;OAEG;;IAYH;;;;;;;OAOG;IACH,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;;OAKG;IACH,IAIW,IAAI,IAAI,OAAO,CAEzB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,OAAO,EAK7B;IAED;;;;;;OAMG;IACH,IAAW,KAAK,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAE/C;IAMD;;;;;;OAMG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;CAyB1C;AAED;;GAEG;AACH,yBAAiB,iBAAiB,CAAC;IAC/B,KAAY,KAAK,GAAG,uBAAuB,CAAC;CAC/C;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEX,UAAU,qBAAqB;QAE3B,mBAAmB,EAAE,iBAAiB,CAAC;KAC1C;CACJ"}
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
import { Themeable } from '../../../../Controls/Behaviors/Themeable';
|
|
12
12
|
import { Attribute } from '../../../Decorators/AttributeDecorator';
|
|
13
13
|
import { Component } from '../../../Decorators/ComponentDecorator';
|
|
14
|
-
import { QueryAssignedElements } from '../../../Decorators/Decorators';
|
|
15
14
|
import { CustomElement } from '../../Abstracts/CustomElement';
|
|
15
|
+
import { IconElement } from '../../Media/Icon/IconElement';
|
|
16
16
|
import { breadcrumbElementTemplate } from './BreadcrumbElementTemplate';
|
|
17
17
|
import { BreadcrumbItemElement } from './BreadcrumbItemElement';
|
|
18
18
|
import { breadcrumbElementCosmopolitanStyle } from './Themes/BreadcrumbElement.Cosmopolitan';
|
|
@@ -32,6 +32,9 @@ import { breadcrumbElementMemphisStyle } from './Themes/BreadcrumbElement.Memphi
|
|
|
32
32
|
* @category Navigation
|
|
33
33
|
*
|
|
34
34
|
* @slot - The default slot.
|
|
35
|
+
* @slot item-${i} - The item-${i} slot.
|
|
36
|
+
*
|
|
37
|
+
* @csspart symbol - The symbol part.
|
|
35
38
|
*
|
|
36
39
|
* @cssprop {String} --breadcrumb-font-family - The font family CSS custom property.
|
|
37
40
|
* @cssprop {String} --breadcrumb-font-letter-spacing - The font letter spacing CSS custom property.
|
|
@@ -56,6 +59,8 @@ import { breadcrumbElementMemphisStyle } from './Themes/BreadcrumbElement.Memphi
|
|
|
56
59
|
* @cssprop {String} --breadcrumb-transition-property - The transition property CSS custom property.
|
|
57
60
|
* @cssprop {String} --breadcrumb-translate - The translate CSS custom property.
|
|
58
61
|
*
|
|
62
|
+
* @dependency mosaik-icon - The Icon element.
|
|
63
|
+
*
|
|
59
64
|
* @example
|
|
60
65
|
* Basic breadcrumb navigation trail:
|
|
61
66
|
* ```html
|
|
@@ -82,8 +87,8 @@ import { breadcrumbElementMemphisStyle } from './Themes/BreadcrumbElement.Memphi
|
|
|
82
87
|
*/
|
|
83
88
|
let BreadcrumbElement = class BreadcrumbElement extends Themeable(CustomElement) {
|
|
84
89
|
// #region Fields
|
|
85
|
-
_breadcrumbs;
|
|
86
90
|
_wrap;
|
|
91
|
+
_items;
|
|
87
92
|
// #endregion
|
|
88
93
|
// #region Ctor
|
|
89
94
|
/**
|
|
@@ -92,6 +97,7 @@ let BreadcrumbElement = class BreadcrumbElement extends Themeable(CustomElement)
|
|
|
92
97
|
constructor() {
|
|
93
98
|
super();
|
|
94
99
|
this._wrap = false;
|
|
100
|
+
this._items = [];
|
|
95
101
|
}
|
|
96
102
|
// #endregion
|
|
97
103
|
// #region Properties
|
|
@@ -121,32 +127,42 @@ let BreadcrumbElement = class BreadcrumbElement extends Themeable(CustomElement)
|
|
|
121
127
|
this.requestUpdate('wrap');
|
|
122
128
|
}
|
|
123
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Returns the breadcrumb items.
|
|
132
|
+
*
|
|
133
|
+
* @private
|
|
134
|
+
* @template
|
|
135
|
+
* @readonly
|
|
136
|
+
*/
|
|
137
|
+
get items() {
|
|
138
|
+
return this._items;
|
|
139
|
+
}
|
|
124
140
|
// #endregion
|
|
125
141
|
// #region Methods
|
|
126
142
|
/**
|
|
127
|
-
*
|
|
143
|
+
* Handles slot changes on the collector slot.
|
|
144
|
+
* Collects items and assigns them to named slots.
|
|
145
|
+
*
|
|
146
|
+
* @private
|
|
128
147
|
* @template
|
|
129
148
|
*/
|
|
130
149
|
onSlotChange(event) {
|
|
131
|
-
const
|
|
132
|
-
assignedElements.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
150
|
+
const slot = event.target;
|
|
151
|
+
const assignedElements = slot.assignedElements();
|
|
152
|
+
if (assignedElements.length === 0) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
this._items = assignedElements.filter((child) => child.tagName.toLowerCase() === BreadcrumbItemElement.is);
|
|
156
|
+
this._items.forEach((item, i) => {
|
|
157
|
+
item.classList.add('breadcrumb-item');
|
|
158
|
+
item.classList.toggle('first', i === 0);
|
|
159
|
+
item.classList.toggle('inner', i > 0 && i < this._items.length - 1);
|
|
160
|
+
item.classList.toggle('last', i === this._items.length - 1);
|
|
161
|
+
item.setAttribute('slot', `item-${i}`);
|
|
140
162
|
});
|
|
163
|
+
this.requestUpdate();
|
|
141
164
|
}
|
|
142
165
|
};
|
|
143
|
-
__decorate([
|
|
144
|
-
QueryAssignedElements({
|
|
145
|
-
slot: 'actions',
|
|
146
|
-
selector: BreadcrumbItemElement.is
|
|
147
|
-
}),
|
|
148
|
-
__metadata("design:type", Array)
|
|
149
|
-
], BreadcrumbElement.prototype, "_breadcrumbs", void 0);
|
|
150
166
|
__decorate([
|
|
151
167
|
Attribute({
|
|
152
168
|
type: Boolean,
|
|
@@ -165,7 +181,8 @@ BreadcrumbElement = __decorate([
|
|
|
165
181
|
cosmopolitan: breadcrumbElementCosmopolitanStyle
|
|
166
182
|
},
|
|
167
183
|
imports: [
|
|
168
|
-
|
|
184
|
+
BreadcrumbItemElement,
|
|
185
|
+
IconElement
|
|
169
186
|
]
|
|
170
187
|
}),
|
|
171
188
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BreadcrumbElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,k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
1
|
-
{"version":3,"file":"BreadcrumbElementTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"BreadcrumbElementTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAIjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,iBAAiB,EAAE,CAAC,EAAE,CAAC,GAAG,cAAc,CAa3F"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// #region Imports
|
|
2
2
|
import { html } from '../../../../Dom/Html';
|
|
3
|
+
import { Icons } from '../../../../Resources/Icons';
|
|
4
|
+
import { when } from '../../../Directives/Directives';
|
|
5
|
+
import { Size } from '../../../Types/Size';
|
|
3
6
|
// #endregion
|
|
4
7
|
/**
|
|
5
8
|
* The template of the `BreadcrumbElement`.
|
|
@@ -8,7 +11,16 @@ import { html } from '../../../../Dom/Html';
|
|
|
8
11
|
*/
|
|
9
12
|
export function breadcrumbElementTemplate(e) {
|
|
10
13
|
return html `
|
|
11
|
-
<slot slotchange="${(x) => e.onSlotChange(x)}"></slot>
|
|
14
|
+
<slot style="display:none" @slotchange="${(x) => e.onSlotChange(x)}"></slot>
|
|
15
|
+
${e.items.map((_, i) => html `
|
|
16
|
+
${when(i > 0, () => html `
|
|
17
|
+
<mosaik-icon part="symbol"
|
|
18
|
+
.data="${Icons.chevronRight}"
|
|
19
|
+
.size="${Size.Small}"
|
|
20
|
+
.inline="${true}"></mosaik-icon>
|
|
21
|
+
`)}
|
|
22
|
+
<slot name="item-${i}"></slot>
|
|
23
|
+
`)}
|
|
12
24
|
`;
|
|
13
25
|
}
|
|
14
26
|
//# sourceMappingURL=BreadcrumbElementTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAuB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"BreadcrumbElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAuB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAG3C,aAAa;AAEb;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAA8B,CAAI;IACvE,OAAO,IAAI,CAAA;kDACmC,CAAC,CAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;UACvE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,CAAA;cACtB,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA;;kCAEF,KAAK,CAAC,YAAY;kCAClB,IAAI,CAAC,KAAK;oCACR,IAAI;aAC3B,CAAC;+BACiB,CAAC;SACvB,CAAC;KACL,CAAC;AACN,CAAC"}
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
+
import { HyperlinkUnderline } from '../../../Types/HyperlinkUnderline';
|
|
1
2
|
import { CustomElement } from '../../Abstracts/CustomElement';
|
|
2
3
|
import type { IBreadcrumbItemElementProps } from './IBreadcrumbItemElementProps';
|
|
3
|
-
declare const BreadcrumbItemElement_base: (abstract new (...args: Array<any>) => import("../../../../Controls/Behaviors/Themeable").IThemeableProps) & typeof CustomElement & import("../../../../Controls/Behaviors/Themeable").IThemeableCtor;
|
|
4
|
+
declare const BreadcrumbItemElement_base: (abstract new (...args: Array<any>) => import("../../../../Controls/Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Labelable").ILabelableProps) & typeof CustomElement & import("../../../../Controls/Behaviors/Themeable").IThemeableCtor;
|
|
4
5
|
/**
|
|
5
6
|
* Breadcrumb Item - A component representing an individual link or label within a breadcrumb navigation trail.
|
|
6
7
|
*
|
|
7
8
|
* @description
|
|
8
9
|
* The `Breadcrumb Item` component is used as a single element in a breadcrumb navigation trail. It can act as a link to navigate
|
|
9
|
-
* to a previous section of the hierarchy or as a label for the current page.
|
|
10
|
+
* to a previous section of the hierarchy or as a label for the current page. When an `href` is provided, the item renders as
|
|
11
|
+
* an anchor link. Otherwise, it renders its slotted content directly. Breadcrumb items are commonly used in conjunction
|
|
10
12
|
* with the `Breadcrumb` component to create a complete navigation trail.
|
|
11
13
|
*
|
|
12
14
|
* @name Breadcrumb Item
|
|
13
15
|
* @element mosaik-breadcrumb-item
|
|
14
16
|
* @category Navigation
|
|
15
17
|
*
|
|
16
|
-
* @slot - The content
|
|
18
|
+
* @slot label - The label content when using the anchor behavior.
|
|
19
|
+
*
|
|
20
|
+
* @csspart link - The anchor link element when href is provided.
|
|
21
|
+
* @csspart label - The text label area of the anchor link.
|
|
17
22
|
*
|
|
18
23
|
* @cssprop {String} --breadcrumb-item-border-style - The item border style CSS custom property.
|
|
19
24
|
* @cssprop {String} --breadcrumb-item-font-family - The item font family CSS custom property.
|
|
@@ -23,6 +28,7 @@ declare const BreadcrumbItemElement_base: (abstract new (...args: Array<any>) =>
|
|
|
23
28
|
* @cssprop {String} --breadcrumb-item-font-text-decoration - The item font text decoration CSS custom property.
|
|
24
29
|
* @cssprop {String} --breadcrumb-item-font-text-transform - The item font text transform CSS custom property.
|
|
25
30
|
* @cssprop {String} --breadcrumb-item-font-weight - The item font weight CSS custom property.
|
|
31
|
+
* @cssprop {String} --breadcrumb-item-foreground-color - The item foreground color CSS custom property.
|
|
26
32
|
* @cssprop {String} --breadcrumb-item-gap - The item gap CSS custom property.
|
|
27
33
|
* @cssprop {String} --breadcrumb-item-padding-bottom - The item padding bottom CSS custom property.
|
|
28
34
|
* @cssprop {String} --breadcrumb-item-padding-left - The item padding left CSS custom property.
|
|
@@ -39,23 +45,37 @@ declare const BreadcrumbItemElement_base: (abstract new (...args: Array<any>) =>
|
|
|
39
45
|
* @cssprop {String} --breadcrumb-item-transition-property - The item transition property CSS custom property.
|
|
40
46
|
* @cssprop {String} --breadcrumb-item-translate - The item translate CSS custom property.
|
|
41
47
|
*
|
|
42
|
-
* @dependency mosaik-
|
|
48
|
+
* @dependency mosaik-text - The Text element.
|
|
43
49
|
*
|
|
44
50
|
* @example
|
|
45
|
-
*
|
|
51
|
+
* Breadcrumb trail with slotted content:
|
|
46
52
|
* ```html
|
|
47
53
|
* <mosaik-breadcrumb>
|
|
48
54
|
* <mosaik-breadcrumb-item>Home</mosaik-breadcrumb-item>
|
|
49
55
|
* <mosaik-breadcrumb-item>Category</mosaik-breadcrumb-item>
|
|
50
|
-
* <mosaik-breadcrumb-item>Subcategory</mosaik-breadcrumb-item>
|
|
51
56
|
* <mosaik-breadcrumb-item is-active>Current Page</mosaik-breadcrumb-item>
|
|
52
57
|
* </mosaik-breadcrumb>
|
|
53
58
|
* ```
|
|
54
59
|
*
|
|
60
|
+
* @example
|
|
61
|
+
* Breadcrumb trail with anchor links for navigation:
|
|
62
|
+
* ```html
|
|
63
|
+
* <mosaik-breadcrumb>
|
|
64
|
+
* <mosaik-breadcrumb-item label="Home" href="/home"></mosaik-breadcrumb-item>
|
|
65
|
+
* <mosaik-breadcrumb-item label="Products" href="/products"></mosaik-breadcrumb-item>
|
|
66
|
+
* <mosaik-breadcrumb-item label="Details" is-active></mosaik-breadcrumb-item>
|
|
67
|
+
* </mosaik-breadcrumb>
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
55
70
|
* @public
|
|
56
71
|
*/
|
|
57
72
|
export declare class BreadcrumbItemElement extends BreadcrumbItemElement_base implements IBreadcrumbItemElementProps {
|
|
58
73
|
private _isActive;
|
|
74
|
+
private _href;
|
|
75
|
+
private _download;
|
|
76
|
+
private _rel;
|
|
77
|
+
private _target;
|
|
78
|
+
private _underline;
|
|
59
79
|
/**
|
|
60
80
|
* @public
|
|
61
81
|
*/
|
|
@@ -78,9 +98,46 @@ export declare class BreadcrumbItemElement extends BreadcrumbItemElement_base im
|
|
|
78
98
|
get isActive(): boolean;
|
|
79
99
|
set isActive(value: boolean);
|
|
80
100
|
/**
|
|
101
|
+
* Gets or sets the `href` property.
|
|
102
|
+
* Contains a URL or a URL fragment that the hyperlink points to.
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
get href(): string;
|
|
107
|
+
set href(value: string);
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the `download` property.
|
|
110
|
+
* Instructs browsers to download the URL instead of navigating to it.
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
get download(): string;
|
|
115
|
+
set download(value: string);
|
|
116
|
+
/**
|
|
117
|
+
* Gets or sets the `rel` property.
|
|
118
|
+
* Specifies the relationship of the target object to the link object.
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
get rel(): string;
|
|
123
|
+
set rel(value: string);
|
|
124
|
+
/**
|
|
125
|
+
* Gets or sets the `target` property.
|
|
126
|
+
* Specifies where to display the linked URL.
|
|
127
|
+
*
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
get target(): string;
|
|
131
|
+
set target(value: string);
|
|
132
|
+
/**
|
|
133
|
+
* Gets or sets the `underline` property.
|
|
134
|
+
* Determines when the underline is displayed on the link.
|
|
135
|
+
*
|
|
81
136
|
* @public
|
|
137
|
+
* @attr underline
|
|
82
138
|
*/
|
|
83
|
-
|
|
139
|
+
get underline(): HyperlinkUnderline;
|
|
140
|
+
set underline(value: HyperlinkUnderline);
|
|
84
141
|
}
|
|
85
142
|
/**
|
|
86
143
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;;AAOjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,qBAaa,qBACT,SAAQ,0BACR,YAAW,2BAA2B;IAItC,OAAO,CAAC,SAAS,CAAU;IAC3B,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,UAAU,CAAqB;IAMvC;;OAEG;;IAgBH;;;;;;;OAOG;IACH,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;;OAKG;IACH,IAIW,QAAQ,IAAI,OAAO,CAE7B;IACD,IAAW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAKjC;IAED;;;;;OAKG;IACH,IACW,IAAI,IAAI,MAAM,CAExB;IACD,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAK5B;IAED;;;;;OAKG;IACH,IACW,QAAQ,IAAI,MAAM,CAE5B;IACD,IAAW,QAAQ,CAAC,KAAK,EAAE,MAAM,EAKhC;IAED;;;;;OAKG;IACH,IACW,GAAG,IAAI,MAAM,CAEvB;IACD,IAAW,GAAG,CAAC,KAAK,EAAE,MAAM,EAK3B;IAED;;;;;OAKG;IACH,IACW,MAAM,IAAI,MAAM,CAE1B;IACD,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,EAK9B;IAED;;;;;;OAMG;IACH,IACW,SAAS,IAAI,kBAAkB,CAEzC;IACD,IAAW,SAAS,CAAC,KAAK,EAAE,kBAAkB,EAK7C;CAQJ;AAED;;GAEG;AACH,yBAAiB,qBAAqB,CAAC;IACnC,KAAY,KAAK,GAAG,2BAA2B,CAAC;CACnD;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEX,UAAU,qBAAqB;QAE3B,wBAAwB,EAAE,qBAAqB,CAAC;KACnD;CACJ"}
|
|
@@ -9,10 +9,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
import { Themeable } from '../../../../Controls/Behaviors/Themeable';
|
|
12
|
+
import { Disableable } from '../../../Behaviors/Disableable';
|
|
13
|
+
import { Labelable } from '../../../Behaviors/Labelable';
|
|
14
|
+
import { Variantable } from '../../../Behaviors/Variantable';
|
|
12
15
|
import { Attribute } from '../../../Decorators/AttributeDecorator';
|
|
13
16
|
import { Component } from '../../../Decorators/ComponentDecorator';
|
|
17
|
+
import { Property } from '../../../Decorators/PropertyDecorator';
|
|
18
|
+
import { HyperlinkUnderline } from '../../../Types/HyperlinkUnderline';
|
|
14
19
|
import { CustomElement } from '../../Abstracts/CustomElement';
|
|
15
20
|
import { IconElement } from '../../Media/Icon/IconElement';
|
|
21
|
+
import { TextElement } from '../../Primitives/Text/TextElement';
|
|
16
22
|
import { breadcrumbItemElementTemplate } from './BreadcrumbItemElementTemplate';
|
|
17
23
|
import { breadcrumbItemElementCosmopolitanStyle } from './Themes/BreadcrumbItemElement.Cosmopolitan';
|
|
18
24
|
import { breadcrumbItemElementJoyStyle } from './Themes/BreadcrumbItemElement.Joy';
|
|
@@ -23,14 +29,18 @@ import { breadcrumbItemElementMemphisStyle } from './Themes/BreadcrumbItemElemen
|
|
|
23
29
|
*
|
|
24
30
|
* @description
|
|
25
31
|
* The `Breadcrumb Item` component is used as a single element in a breadcrumb navigation trail. It can act as a link to navigate
|
|
26
|
-
* to a previous section of the hierarchy or as a label for the current page.
|
|
32
|
+
* to a previous section of the hierarchy or as a label for the current page. When an `href` is provided, the item renders as
|
|
33
|
+
* an anchor link. Otherwise, it renders its slotted content directly. Breadcrumb items are commonly used in conjunction
|
|
27
34
|
* with the `Breadcrumb` component to create a complete navigation trail.
|
|
28
35
|
*
|
|
29
36
|
* @name Breadcrumb Item
|
|
30
37
|
* @element mosaik-breadcrumb-item
|
|
31
38
|
* @category Navigation
|
|
32
39
|
*
|
|
33
|
-
* @slot - The content
|
|
40
|
+
* @slot label - The label content when using the anchor behavior.
|
|
41
|
+
*
|
|
42
|
+
* @csspart link - The anchor link element when href is provided.
|
|
43
|
+
* @csspart label - The text label area of the anchor link.
|
|
34
44
|
*
|
|
35
45
|
* @cssprop {String} --breadcrumb-item-border-style - The item border style CSS custom property.
|
|
36
46
|
* @cssprop {String} --breadcrumb-item-font-family - The item font family CSS custom property.
|
|
@@ -40,6 +50,7 @@ import { breadcrumbItemElementMemphisStyle } from './Themes/BreadcrumbItemElemen
|
|
|
40
50
|
* @cssprop {String} --breadcrumb-item-font-text-decoration - The item font text decoration CSS custom property.
|
|
41
51
|
* @cssprop {String} --breadcrumb-item-font-text-transform - The item font text transform CSS custom property.
|
|
42
52
|
* @cssprop {String} --breadcrumb-item-font-weight - The item font weight CSS custom property.
|
|
53
|
+
* @cssprop {String} --breadcrumb-item-foreground-color - The item foreground color CSS custom property.
|
|
43
54
|
* @cssprop {String} --breadcrumb-item-gap - The item gap CSS custom property.
|
|
44
55
|
* @cssprop {String} --breadcrumb-item-padding-bottom - The item padding bottom CSS custom property.
|
|
45
56
|
* @cssprop {String} --breadcrumb-item-padding-left - The item padding left CSS custom property.
|
|
@@ -56,24 +67,38 @@ import { breadcrumbItemElementMemphisStyle } from './Themes/BreadcrumbItemElemen
|
|
|
56
67
|
* @cssprop {String} --breadcrumb-item-transition-property - The item transition property CSS custom property.
|
|
57
68
|
* @cssprop {String} --breadcrumb-item-translate - The item translate CSS custom property.
|
|
58
69
|
*
|
|
59
|
-
* @dependency mosaik-
|
|
70
|
+
* @dependency mosaik-text - The Text element.
|
|
60
71
|
*
|
|
61
72
|
* @example
|
|
62
|
-
*
|
|
73
|
+
* Breadcrumb trail with slotted content:
|
|
63
74
|
* ```html
|
|
64
75
|
* <mosaik-breadcrumb>
|
|
65
76
|
* <mosaik-breadcrumb-item>Home</mosaik-breadcrumb-item>
|
|
66
77
|
* <mosaik-breadcrumb-item>Category</mosaik-breadcrumb-item>
|
|
67
|
-
* <mosaik-breadcrumb-item>Subcategory</mosaik-breadcrumb-item>
|
|
68
78
|
* <mosaik-breadcrumb-item is-active>Current Page</mosaik-breadcrumb-item>
|
|
69
79
|
* </mosaik-breadcrumb>
|
|
70
80
|
* ```
|
|
71
81
|
*
|
|
82
|
+
* @example
|
|
83
|
+
* Breadcrumb trail with anchor links for navigation:
|
|
84
|
+
* ```html
|
|
85
|
+
* <mosaik-breadcrumb>
|
|
86
|
+
* <mosaik-breadcrumb-item label="Home" href="/home"></mosaik-breadcrumb-item>
|
|
87
|
+
* <mosaik-breadcrumb-item label="Products" href="/products"></mosaik-breadcrumb-item>
|
|
88
|
+
* <mosaik-breadcrumb-item label="Details" is-active></mosaik-breadcrumb-item>
|
|
89
|
+
* </mosaik-breadcrumb>
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
72
92
|
* @public
|
|
73
93
|
*/
|
|
74
|
-
let BreadcrumbItemElement = class BreadcrumbItemElement extends Themeable(CustomElement) {
|
|
94
|
+
let BreadcrumbItemElement = class BreadcrumbItemElement extends Themeable(Variantable(Disableable(Labelable(CustomElement)))) {
|
|
75
95
|
// #region Fields
|
|
76
96
|
_isActive;
|
|
97
|
+
_href;
|
|
98
|
+
_download;
|
|
99
|
+
_rel;
|
|
100
|
+
_target;
|
|
101
|
+
_underline;
|
|
77
102
|
// #endregion
|
|
78
103
|
// #region Ctor
|
|
79
104
|
/**
|
|
@@ -82,6 +107,11 @@ let BreadcrumbItemElement = class BreadcrumbItemElement extends Themeable(Custom
|
|
|
82
107
|
constructor() {
|
|
83
108
|
super();
|
|
84
109
|
this._isActive = false;
|
|
110
|
+
this._href = '';
|
|
111
|
+
this._download = '';
|
|
112
|
+
this._rel = '';
|
|
113
|
+
this._target = '';
|
|
114
|
+
this._underline = HyperlinkUnderline.Hover;
|
|
85
115
|
}
|
|
86
116
|
// #endregion
|
|
87
117
|
// #region Properties
|
|
@@ -111,14 +141,81 @@ let BreadcrumbItemElement = class BreadcrumbItemElement extends Themeable(Custom
|
|
|
111
141
|
this.requestUpdate('isActive');
|
|
112
142
|
}
|
|
113
143
|
}
|
|
114
|
-
// #endregion
|
|
115
|
-
// #region Methods
|
|
116
144
|
/**
|
|
145
|
+
* Gets or sets the `href` property.
|
|
146
|
+
* Contains a URL or a URL fragment that the hyperlink points to.
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
get href() {
|
|
151
|
+
return this._href;
|
|
152
|
+
}
|
|
153
|
+
set href(value) {
|
|
154
|
+
if (this._href !== value) {
|
|
155
|
+
this._href = value;
|
|
156
|
+
this.requestUpdate('href');
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Gets or sets the `download` property.
|
|
161
|
+
* Instructs browsers to download the URL instead of navigating to it.
|
|
162
|
+
*
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
get download() {
|
|
166
|
+
return this._download;
|
|
167
|
+
}
|
|
168
|
+
set download(value) {
|
|
169
|
+
if (this._download !== value) {
|
|
170
|
+
this._download = value;
|
|
171
|
+
this.requestUpdate('download');
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Gets or sets the `rel` property.
|
|
176
|
+
* Specifies the relationship of the target object to the link object.
|
|
177
|
+
*
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
get rel() {
|
|
181
|
+
return this._rel;
|
|
182
|
+
}
|
|
183
|
+
set rel(value) {
|
|
184
|
+
if (this._rel !== value) {
|
|
185
|
+
this._rel = value;
|
|
186
|
+
this.requestUpdate('rel');
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Gets or sets the `target` property.
|
|
191
|
+
* Specifies where to display the linked URL.
|
|
192
|
+
*
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
get target() {
|
|
196
|
+
return this._target;
|
|
197
|
+
}
|
|
198
|
+
set target(value) {
|
|
199
|
+
if (this._target !== value) {
|
|
200
|
+
this._target = value;
|
|
201
|
+
this.requestUpdate('target');
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Gets or sets the `underline` property.
|
|
206
|
+
* Determines when the underline is displayed on the link.
|
|
207
|
+
*
|
|
117
208
|
* @public
|
|
209
|
+
* @attr underline
|
|
118
210
|
*/
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
211
|
+
get underline() {
|
|
212
|
+
return this._underline;
|
|
213
|
+
}
|
|
214
|
+
set underline(value) {
|
|
215
|
+
if (this._underline !== value) {
|
|
216
|
+
this._underline = value;
|
|
217
|
+
this.requestUpdate('underline');
|
|
218
|
+
}
|
|
122
219
|
}
|
|
123
220
|
};
|
|
124
221
|
__decorate([
|
|
@@ -129,6 +226,31 @@ __decorate([
|
|
|
129
226
|
__metadata("design:type", Boolean),
|
|
130
227
|
__metadata("design:paramtypes", [Boolean])
|
|
131
228
|
], BreadcrumbItemElement.prototype, "isActive", null);
|
|
229
|
+
__decorate([
|
|
230
|
+
Property({ type: String }),
|
|
231
|
+
__metadata("design:type", String),
|
|
232
|
+
__metadata("design:paramtypes", [String])
|
|
233
|
+
], BreadcrumbItemElement.prototype, "href", null);
|
|
234
|
+
__decorate([
|
|
235
|
+
Property({ type: String }),
|
|
236
|
+
__metadata("design:type", String),
|
|
237
|
+
__metadata("design:paramtypes", [String])
|
|
238
|
+
], BreadcrumbItemElement.prototype, "download", null);
|
|
239
|
+
__decorate([
|
|
240
|
+
Property({ type: String }),
|
|
241
|
+
__metadata("design:type", String),
|
|
242
|
+
__metadata("design:paramtypes", [String])
|
|
243
|
+
], BreadcrumbItemElement.prototype, "rel", null);
|
|
244
|
+
__decorate([
|
|
245
|
+
Property({ type: String }),
|
|
246
|
+
__metadata("design:type", String),
|
|
247
|
+
__metadata("design:paramtypes", [String])
|
|
248
|
+
], BreadcrumbItemElement.prototype, "target", null);
|
|
249
|
+
__decorate([
|
|
250
|
+
Attribute({ type: HyperlinkUnderline }),
|
|
251
|
+
__metadata("design:type", String),
|
|
252
|
+
__metadata("design:paramtypes", [String])
|
|
253
|
+
], BreadcrumbItemElement.prototype, "underline", null);
|
|
132
254
|
BreadcrumbItemElement = __decorate([
|
|
133
255
|
Component({
|
|
134
256
|
selector: 'mosaik-breadcrumb-item',
|
|
@@ -139,7 +261,8 @@ BreadcrumbItemElement = __decorate([
|
|
|
139
261
|
cosmopolitan: breadcrumbItemElementCosmopolitanStyle
|
|
140
262
|
},
|
|
141
263
|
imports: [
|
|
142
|
-
IconElement
|
|
264
|
+
IconElement,
|
|
265
|
+
TextElement
|
|
143
266
|
]
|
|
144
267
|
}),
|
|
145
268
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,aAAa;AAEb
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE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ot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElementTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIrE;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,SAAS,qBAAqB,EAAE,CAAC,EAAE,CAAC,GAAG,cAAc,CAoBnG"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// #region Imports
|
|
2
2
|
import { html } from '../../../../Dom/Html';
|
|
3
|
-
import { Icons } from '../../../../Resources/Icons';
|
|
4
3
|
import { when } from '../../../Directives/Directives';
|
|
5
|
-
import {
|
|
4
|
+
import { ifNonEmpty } from '../../../Directives/IfNonEmpty';
|
|
6
5
|
// #endregion
|
|
7
6
|
/**
|
|
8
7
|
* The template of the `BreadcrumbItemElement`.
|
|
@@ -11,12 +10,23 @@ import { Size } from '../../../Types/Size';
|
|
|
11
10
|
*/
|
|
12
11
|
export function breadcrumbItemElementTemplate(e) {
|
|
13
12
|
return html `
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
<a part="link"
|
|
14
|
+
href="${ifNonEmpty(e.href)}"
|
|
15
|
+
rel="${ifNonEmpty(e.rel)}"
|
|
16
|
+
target="${ifNonEmpty(e.target)}"
|
|
17
|
+
download="${ifNonEmpty(e.download)}"
|
|
18
|
+
class="${e.underline}">
|
|
19
|
+
<slot name="label">
|
|
20
|
+
${when(e.label, () => html `
|
|
21
|
+
<mosaik-text part="label"
|
|
22
|
+
.lang="${e.lang}"
|
|
23
|
+
.dir="${e.dir}"
|
|
24
|
+
.text="${e.label}"
|
|
25
|
+
.variant="${e.variant}"
|
|
26
|
+
?disabled="${e.disabled}"></mosaik-text>
|
|
27
|
+
`)}
|
|
28
|
+
</slot>
|
|
29
|
+
</a>
|
|
20
30
|
`;
|
|
21
31
|
}
|
|
22
32
|
//# sourceMappingURL=BreadcrumbItemElementTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAuB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/BreadcrumbItemElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAuB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAG5D,aAAa;AAEb;;;;GAIG;AACH,MAAM,UAAU,6BAA6B,CAAkC,CAAI;IAC/E,OAAO,IAAI,CAAA;;mBAEI,UAAU,CAAC,CAAC,CAAC,IAAI,CAAW;kBAC7B,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC;qBACd,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;uBAClB,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAW;oBACnC,CAAC,CAAC,SAAS;;kBAEb,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA;;sCAEJ,CAAC,CAAC,IAAI;qCACP,CAAC,CAAC,GAAG;sCACJ,CAAC,CAAC,KAAK;yCACJ,CAAC,CAAC,OAAO;0CACR,CAAC,CAAC,QAAQ;iBACnC,CAAC;;;KAGb,CAAC;AACN,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import type { IDisableableProps } from '../../../Behaviors/Disableable';
|
|
2
|
+
import type { ILabelableProps } from '../../../Behaviors/Labelable';
|
|
3
|
+
import type { IVariantableProps } from '../../../Behaviors/Variantable';
|
|
4
|
+
import type { HyperlinkUnderline } from '../../../Types/HyperlinkUnderline';
|
|
5
|
+
import type { IButtonLinkElementProps } from '../../Buttons/Button/IButtonLinkElementProps';
|
|
1
6
|
/**
|
|
2
7
|
* Represents the `IBreadcrumbItemElementProps` interface.
|
|
3
8
|
*
|
|
4
9
|
* @public
|
|
5
10
|
*/
|
|
6
|
-
export interface IBreadcrumbItemElementProps {
|
|
11
|
+
export interface IBreadcrumbItemElementProps extends IButtonLinkElementProps, IDisableableProps, IVariantableProps, ILabelableProps {
|
|
7
12
|
isActive: boolean;
|
|
13
|
+
underline: HyperlinkUnderline;
|
|
8
14
|
}
|
|
9
15
|
//# sourceMappingURL=IBreadcrumbItemElementProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBreadcrumbItemElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IBreadcrumbItemElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAE5F;;;;GAIG;AACH,MAAM,WAAW,2BACb,SAAQ,uBAAuB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe;IAItF,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,kBAAkB,CAAC;CAIjC"}
|
package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,sCAAsC,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,sCAAsC,IAAI,SAAS,CAoGlE"}
|
package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.js
CHANGED
|
@@ -20,6 +20,7 @@ export function breadcrumbItemElementCosmopolitanStyle() {
|
|
|
20
20
|
--breadcrumb-item-font-text-decoration: unset;
|
|
21
21
|
--breadcrumb-item-font-text-transform: unset;
|
|
22
22
|
--breadcrumb-item-font-weight: unset;
|
|
23
|
+
--breadcrumb-item-foreground-color: var(--cosmopolitan-scheme-foreground);
|
|
23
24
|
--breadcrumb-item-gap: unset;
|
|
24
25
|
--breadcrumb-item-padding-bottom: unset;
|
|
25
26
|
--breadcrumb-item-padding-left: unset;
|
|
@@ -76,9 +77,36 @@ export function breadcrumbItemElementCosmopolitanStyle() {
|
|
|
76
77
|
font-weight: inherit;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
|
-
:host
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
:host [part="link"] {
|
|
81
|
+
color: var(--breadcrumb-item-foreground-color);
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
align-items: center;
|
|
84
|
+
text-decoration-line: underline;
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host [part="link"]:link.always, :host [part="link"]:visited.always, :host [part="link"]:hover.always, :host [part="link"]:active.always {
|
|
89
|
+
text-decoration-line: underline;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host [part="link"]:link.hover, :host [part="link"]:link.never, :host [part="link"]:visited.hover, :host [part="link"]:visited.never, :host [part="link"]:hover.hover, :host [part="link"]:hover.never, :host [part="link"]:active.hover, :host [part="link"]:active.never {
|
|
93
|
+
text-decoration-line: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host [part="link"].hover:hover {
|
|
97
|
+
text-decoration-line: underline;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host([is-active]:not([disabled]:not([disabled="false"]))) [part="link"] [part="label"], :host([is-active]:not([disabled]:not([disabled="false"]))) [part="link"] ::slotted(mosaik-text) {
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host([disabled]:not([disabled="false"])) {
|
|
105
|
+
cursor: default;
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
-webkit-user-select: none;
|
|
108
|
+
-moz-user-select: none;
|
|
109
|
+
user-select: none;
|
|
82
110
|
}
|
|
83
111
|
|
|
84
112
|
`;
|
package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,sCAAsC;IAClD,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,sCAAsC;IAClD,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkGT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,CAyIzD"}
|
|
@@ -21,6 +21,7 @@ export function breadcrumbItemElementJoyStyle() {
|
|
|
21
21
|
--breadcrumb-item-font-text-decoration: unset;
|
|
22
22
|
--breadcrumb-item-font-text-transform: unset;
|
|
23
23
|
--breadcrumb-item-font-weight: unset;
|
|
24
|
+
--breadcrumb-item-foreground-color: var(--joy-scheme-foreground);
|
|
24
25
|
--breadcrumb-item-gap: unset;
|
|
25
26
|
--breadcrumb-item-padding-bottom: unset;
|
|
26
27
|
--breadcrumb-item-padding-left: unset;
|
|
@@ -77,9 +78,72 @@ export function breadcrumbItemElementJoyStyle() {
|
|
|
77
78
|
font-weight: inherit;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
|
-
:host
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
:host [part="link"] {
|
|
82
|
+
color: var(--breadcrumb-item-foreground-color);
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
align-items: center;
|
|
85
|
+
text-decoration-line: underline;
|
|
86
|
+
display: flex;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:host [part="link"]:link.always, :host [part="link"]:visited.always, :host [part="link"]:hover.always, :host [part="link"]:active.always {
|
|
90
|
+
text-decoration-line: underline;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
:host [part="link"]:link.hover, :host [part="link"]:link.never, :host [part="link"]:visited.hover, :host [part="link"]:visited.never, :host [part="link"]:hover.hover, :host [part="link"]:hover.never, :host [part="link"]:active.hover, :host [part="link"]:active.never {
|
|
94
|
+
text-decoration-line: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:host [part="link"].hover:hover {
|
|
98
|
+
text-decoration-line: underline;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([is-active]:not([disabled]:not([disabled="false"]))) [part="link"] [part="label"], :host([is-active]:not([disabled]:not([disabled="false"]))) [part="link"] ::slotted(mosaik-text) {
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:host([disabled]:not([disabled="false"])) {
|
|
106
|
+
cursor: default;
|
|
107
|
+
pointer-events: none;
|
|
108
|
+
-webkit-user-select: none;
|
|
109
|
+
-moz-user-select: none;
|
|
110
|
+
user-select: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host([variant="primary"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
114
|
+
text-decoration-color: var(--joy-color-primary-500);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
118
|
+
text-decoration-color: var(--joy-color-secondary-500);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
122
|
+
text-decoration-color: var(--joy-color-tertiary-500);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:host([variant="danger"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
126
|
+
text-decoration-color: var(--joy-color-danger-500);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:host([variant="warning"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
130
|
+
text-decoration-color: var(--joy-color-warning-500);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
:host([variant="success"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
134
|
+
text-decoration-color: var(--joy-color-success-500);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
:host([variant="info"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
138
|
+
text-decoration-color: var(--joy-color-info-500);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
142
|
+
text-decoration-color: var(--joy-color-highlight-500);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) [part="link"] {
|
|
146
|
+
text-decoration-color: var(--joy-color-neutral-500);
|
|
83
147
|
}
|
|
84
148
|
|
|
85
149
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,6BAA6B;IACzC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,6BAA6B;IACzC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuIT,CAAC;AACN,CAAC"}
|
package/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,iCAAiC,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,iCAAiC,IAAI,SAAS,CAoG7D"}
|
|
@@ -20,6 +20,7 @@ export function breadcrumbItemElementMemphisStyle() {
|
|
|
20
20
|
--breadcrumb-item-font-text-decoration: unset;
|
|
21
21
|
--breadcrumb-item-font-text-transform: unset;
|
|
22
22
|
--breadcrumb-item-font-weight: unset;
|
|
23
|
+
--breadcrumb-item-foreground-color: var(--memphis-scheme-foreground);
|
|
23
24
|
--breadcrumb-item-gap: unset;
|
|
24
25
|
--breadcrumb-item-padding-bottom: unset;
|
|
25
26
|
--breadcrumb-item-padding-left: unset;
|
|
@@ -76,9 +77,36 @@ export function breadcrumbItemElementMemphisStyle() {
|
|
|
76
77
|
font-weight: inherit;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
|
-
:host
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
:host [part="link"] {
|
|
81
|
+
color: var(--breadcrumb-item-foreground-color);
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
align-items: center;
|
|
84
|
+
text-decoration-line: underline;
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host [part="link"]:link.always, :host [part="link"]:visited.always, :host [part="link"]:hover.always, :host [part="link"]:active.always {
|
|
89
|
+
text-decoration-line: underline;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host [part="link"]:link.hover, :host [part="link"]:link.never, :host [part="link"]:visited.hover, :host [part="link"]:visited.never, :host [part="link"]:hover.hover, :host [part="link"]:hover.never, :host [part="link"]:active.hover, :host [part="link"]:active.never {
|
|
93
|
+
text-decoration-line: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host [part="link"].hover:hover {
|
|
97
|
+
text-decoration-line: underline;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host([is-active]:not([disabled]:not([disabled="false"]))) [part="link"] [part="label"], :host([is-active]:not([disabled]:not([disabled="false"]))) [part="link"] ::slotted(mosaik-text) {
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host([disabled]:not([disabled="false"])) {
|
|
105
|
+
cursor: default;
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
-webkit-user-select: none;
|
|
108
|
+
-moz-user-select: none;
|
|
109
|
+
user-select: none;
|
|
82
110
|
}
|
|
83
111
|
|
|
84
112
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbItemElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,iCAAiC;IAC7C,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"BreadcrumbItemElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Grouping/Breadcrumb/Themes/BreadcrumbItemElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,iCAAiC;IAC7C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkGT,CAAC;AACN,CAAC"}
|
|
@@ -91,7 +91,7 @@ export interface Options {
|
|
|
91
91
|
*/
|
|
92
92
|
encode?: (value: string) => string;
|
|
93
93
|
}
|
|
94
|
-
export declare function modifierToString(modifier: Modifier): "" | "*" | "
|
|
94
|
+
export declare function modifierToString(modifier: Modifier): "" | "*" | "?" | "+";
|
|
95
95
|
/**
|
|
96
96
|
* Expose a function for taking tokens and returning a RegExp.
|
|
97
97
|
*/
|
package/custom-elements.json
CHANGED
|
@@ -21672,20 +21672,6 @@
|
|
|
21672
21672
|
"module": "./../src/Controls/Components/Abstracts/CustomElement.ts"
|
|
21673
21673
|
}
|
|
21674
21674
|
},
|
|
21675
|
-
{
|
|
21676
|
-
"kind": "method",
|
|
21677
|
-
"name": "onSlotChange",
|
|
21678
|
-
"privacy": "public",
|
|
21679
|
-
"type": "(event: Event): void",
|
|
21680
|
-
"parameters": [
|
|
21681
|
-
{
|
|
21682
|
-
"name": "event"
|
|
21683
|
-
}
|
|
21684
|
-
],
|
|
21685
|
-
"return": {
|
|
21686
|
-
"type": "void"
|
|
21687
|
-
}
|
|
21688
|
-
},
|
|
21689
21675
|
{
|
|
21690
21676
|
"kind": "method",
|
|
21691
21677
|
"name": "adoptStyle",
|
|
@@ -21842,6 +21828,10 @@
|
|
|
21842
21828
|
"description": "The default slot.",
|
|
21843
21829
|
"name": ""
|
|
21844
21830
|
},
|
|
21831
|
+
{
|
|
21832
|
+
"description": "The item-${i} slot.",
|
|
21833
|
+
"name": "item-${i}"
|
|
21834
|
+
},
|
|
21845
21835
|
{
|
|
21846
21836
|
"description": "Custom styles injection slot for shadow DOM styling escape hatch",
|
|
21847
21837
|
"name": "style",
|
|
@@ -21994,6 +21984,12 @@
|
|
|
21994
21984
|
"description": "The translate CSS custom property.",
|
|
21995
21985
|
"type": "String"
|
|
21996
21986
|
}
|
|
21987
|
+
],
|
|
21988
|
+
"cssParts": [
|
|
21989
|
+
{
|
|
21990
|
+
"name": "symbol",
|
|
21991
|
+
"description": "The symbol part."
|
|
21992
|
+
}
|
|
21997
21993
|
]
|
|
21998
21994
|
}
|
|
21999
21995
|
]
|
|
@@ -22019,6 +22015,18 @@
|
|
|
22019
22015
|
{
|
|
22020
22016
|
"name": "Themeable",
|
|
22021
22017
|
"module": "./../src/Controls/Behaviors/Themeable.ts"
|
|
22018
|
+
},
|
|
22019
|
+
{
|
|
22020
|
+
"name": "Variantable",
|
|
22021
|
+
"module": "./../src/Controls/Behaviors/Variantable.ts"
|
|
22022
|
+
},
|
|
22023
|
+
{
|
|
22024
|
+
"name": "Disableable",
|
|
22025
|
+
"module": "./../src/Controls/Behaviors/Disableable.ts"
|
|
22026
|
+
},
|
|
22027
|
+
{
|
|
22028
|
+
"name": "Labelable",
|
|
22029
|
+
"module": "./../src/Controls/Behaviors/Labelable.ts"
|
|
22022
22030
|
}
|
|
22023
22031
|
],
|
|
22024
22032
|
"description": "Breadcrumb Item - A component representing an individual link or label within a breadcrumb navigation trail.",
|
|
@@ -22035,6 +22043,61 @@
|
|
|
22035
22043
|
"module": "./../src/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.ts"
|
|
22036
22044
|
}
|
|
22037
22045
|
},
|
|
22046
|
+
{
|
|
22047
|
+
"kind": "field",
|
|
22048
|
+
"name": "underline",
|
|
22049
|
+
"privacy": "public",
|
|
22050
|
+
"description": "Gets or sets the `underline` property.\nDetermines when the underline is displayed on the link.",
|
|
22051
|
+
"type": "HyperlinkUnderline",
|
|
22052
|
+
"inheritedFrom": {
|
|
22053
|
+
"name": "IBreadcrumbItemElementProps",
|
|
22054
|
+
"module": "./../src/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.ts"
|
|
22055
|
+
}
|
|
22056
|
+
},
|
|
22057
|
+
{
|
|
22058
|
+
"kind": "field",
|
|
22059
|
+
"name": "download",
|
|
22060
|
+
"privacy": "public",
|
|
22061
|
+
"description": "Gets or sets the `download` property.\nInstructs browsers to download the URL instead of navigating to it.",
|
|
22062
|
+
"type": "string",
|
|
22063
|
+
"inheritedFrom": {
|
|
22064
|
+
"name": "IButtonLinkElementProps",
|
|
22065
|
+
"module": "./../src/Controls/Components/Buttons/Button/IButtonLinkElementProps.ts"
|
|
22066
|
+
}
|
|
22067
|
+
},
|
|
22068
|
+
{
|
|
22069
|
+
"kind": "field",
|
|
22070
|
+
"name": "href",
|
|
22071
|
+
"privacy": "public",
|
|
22072
|
+
"description": "Gets or sets the `href` property.\nContains a URL or a URL fragment that the hyperlink points to.",
|
|
22073
|
+
"type": "string",
|
|
22074
|
+
"inheritedFrom": {
|
|
22075
|
+
"name": "IButtonLinkElementProps",
|
|
22076
|
+
"module": "./../src/Controls/Components/Buttons/Button/IButtonLinkElementProps.ts"
|
|
22077
|
+
}
|
|
22078
|
+
},
|
|
22079
|
+
{
|
|
22080
|
+
"kind": "field",
|
|
22081
|
+
"name": "rel",
|
|
22082
|
+
"privacy": "public",
|
|
22083
|
+
"description": "Gets or sets the `rel` property.\nSpecifies the relationship of the target object to the link object.",
|
|
22084
|
+
"type": "string",
|
|
22085
|
+
"inheritedFrom": {
|
|
22086
|
+
"name": "IButtonLinkElementProps",
|
|
22087
|
+
"module": "./../src/Controls/Components/Buttons/Button/IButtonLinkElementProps.ts"
|
|
22088
|
+
}
|
|
22089
|
+
},
|
|
22090
|
+
{
|
|
22091
|
+
"kind": "field",
|
|
22092
|
+
"name": "target",
|
|
22093
|
+
"privacy": "public",
|
|
22094
|
+
"description": "Gets or sets the `target` property.\nSpecifies where to display the linked URL.",
|
|
22095
|
+
"type": "string",
|
|
22096
|
+
"inheritedFrom": {
|
|
22097
|
+
"name": "IButtonLinkElementProps",
|
|
22098
|
+
"module": "./../src/Controls/Components/Buttons/Button/IButtonLinkElementProps.ts"
|
|
22099
|
+
}
|
|
22100
|
+
},
|
|
22038
22101
|
{
|
|
22039
22102
|
"kind": "field",
|
|
22040
22103
|
"name": "themeName",
|
|
@@ -22045,6 +22108,39 @@
|
|
|
22045
22108
|
"module": "./../src/Controls/Behaviors/Themeable.ts"
|
|
22046
22109
|
}
|
|
22047
22110
|
},
|
|
22111
|
+
{
|
|
22112
|
+
"kind": "field",
|
|
22113
|
+
"name": "variant",
|
|
22114
|
+
"privacy": "public",
|
|
22115
|
+
"description": "Determines the visual appearance (color) of the element.\nThe default value is `default`, which means the element will use the default variant.",
|
|
22116
|
+
"type": "Variant",
|
|
22117
|
+
"inheritedFrom": {
|
|
22118
|
+
"name": "Variantable",
|
|
22119
|
+
"module": "./../src/Controls/Behaviors/Variantable.ts"
|
|
22120
|
+
}
|
|
22121
|
+
},
|
|
22122
|
+
{
|
|
22123
|
+
"kind": "field",
|
|
22124
|
+
"name": "disabled",
|
|
22125
|
+
"privacy": "public",
|
|
22126
|
+
"description": "The disabled state of the element.\nThe default value is `false`, which means the element is not disabled.",
|
|
22127
|
+
"type": "boolean",
|
|
22128
|
+
"inheritedFrom": {
|
|
22129
|
+
"name": "Disableable",
|
|
22130
|
+
"module": "./../src/Controls/Behaviors/Disableable.ts"
|
|
22131
|
+
}
|
|
22132
|
+
},
|
|
22133
|
+
{
|
|
22134
|
+
"kind": "field",
|
|
22135
|
+
"name": "label",
|
|
22136
|
+
"privacy": "public",
|
|
22137
|
+
"description": "Gets or sets the `label` property.\nThe default value is an empty string, which means no label is displayed.",
|
|
22138
|
+
"type": "string",
|
|
22139
|
+
"inheritedFrom": {
|
|
22140
|
+
"name": "Labelable",
|
|
22141
|
+
"module": "./../src/Controls/Behaviors/Labelable.ts"
|
|
22142
|
+
}
|
|
22143
|
+
},
|
|
22048
22144
|
{
|
|
22049
22145
|
"kind": "field",
|
|
22050
22146
|
"name": "dir",
|
|
@@ -22100,16 +22196,6 @@
|
|
|
22100
22196
|
"module": "./../src/Controls/Components/Abstracts/CustomElement.ts"
|
|
22101
22197
|
}
|
|
22102
22198
|
},
|
|
22103
|
-
{
|
|
22104
|
-
"kind": "method",
|
|
22105
|
-
"name": "firstItem",
|
|
22106
|
-
"privacy": "public",
|
|
22107
|
-
"type": "(): boolean",
|
|
22108
|
-
"parameters": [],
|
|
22109
|
-
"return": {
|
|
22110
|
-
"type": "boolean"
|
|
22111
|
-
}
|
|
22112
|
-
},
|
|
22113
22199
|
{
|
|
22114
22200
|
"kind": "method",
|
|
22115
22201
|
"name": "adoptStyle",
|
|
@@ -22263,8 +22349,8 @@
|
|
|
22263
22349
|
],
|
|
22264
22350
|
"slots": [
|
|
22265
22351
|
{
|
|
22266
|
-
"description": "The content
|
|
22267
|
-
"name": ""
|
|
22352
|
+
"description": "The label content when using the anchor behavior.",
|
|
22353
|
+
"name": "label"
|
|
22268
22354
|
},
|
|
22269
22355
|
{
|
|
22270
22356
|
"description": "Custom styles injection slot for shadow DOM styling escape hatch",
|
|
@@ -22286,6 +22372,36 @@
|
|
|
22286
22372
|
"module": "./../src/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.ts"
|
|
22287
22373
|
}
|
|
22288
22374
|
},
|
|
22375
|
+
{
|
|
22376
|
+
"name": "underline",
|
|
22377
|
+
"fieldName": "underline",
|
|
22378
|
+
"description": "Gets or sets the `underline` property.\nDetermines when the underline is displayed on the link.",
|
|
22379
|
+
"type": "HyperlinkUnderline",
|
|
22380
|
+
"inheritedFrom": {
|
|
22381
|
+
"name": "IBreadcrumbItemElementProps",
|
|
22382
|
+
"module": "./../src/Controls/Components/Grouping/Breadcrumb/IBreadcrumbItemElementProps.ts"
|
|
22383
|
+
}
|
|
22384
|
+
},
|
|
22385
|
+
{
|
|
22386
|
+
"name": "variant",
|
|
22387
|
+
"fieldName": "variant",
|
|
22388
|
+
"description": "Determines the visual appearance (color) of the element.\nThe default value is `default`, which means the element will use the default variant.",
|
|
22389
|
+
"type": "Variant",
|
|
22390
|
+
"inheritedFrom": {
|
|
22391
|
+
"name": "Variantable",
|
|
22392
|
+
"module": "./../src/Controls/Behaviors/Variantable.ts"
|
|
22393
|
+
}
|
|
22394
|
+
},
|
|
22395
|
+
{
|
|
22396
|
+
"name": "disabled",
|
|
22397
|
+
"fieldName": "disabled",
|
|
22398
|
+
"description": "The disabled state of the element.\nThe default value is `false`, which means the element is not disabled.",
|
|
22399
|
+
"type": "boolean",
|
|
22400
|
+
"inheritedFrom": {
|
|
22401
|
+
"name": "Disableable",
|
|
22402
|
+
"module": "./../src/Controls/Behaviors/Disableable.ts"
|
|
22403
|
+
}
|
|
22404
|
+
},
|
|
22289
22405
|
{
|
|
22290
22406
|
"name": "dir",
|
|
22291
22407
|
"fieldName": "dir",
|
|
@@ -22348,6 +22464,11 @@
|
|
|
22348
22464
|
"description": "The item font weight CSS custom property.",
|
|
22349
22465
|
"type": "String"
|
|
22350
22466
|
},
|
|
22467
|
+
{
|
|
22468
|
+
"name": "--breadcrumb-item-foreground-color",
|
|
22469
|
+
"description": "The item foreground color CSS custom property.",
|
|
22470
|
+
"type": "String"
|
|
22471
|
+
},
|
|
22351
22472
|
{
|
|
22352
22473
|
"name": "--breadcrumb-item-gap",
|
|
22353
22474
|
"description": "The item gap CSS custom property.",
|
|
@@ -22423,6 +22544,16 @@
|
|
|
22423
22544
|
"description": "The item translate CSS custom property.",
|
|
22424
22545
|
"type": "String"
|
|
22425
22546
|
}
|
|
22547
|
+
],
|
|
22548
|
+
"cssParts": [
|
|
22549
|
+
{
|
|
22550
|
+
"name": "link",
|
|
22551
|
+
"description": "The anchor link element when href is provided."
|
|
22552
|
+
},
|
|
22553
|
+
{
|
|
22554
|
+
"name": "label",
|
|
22555
|
+
"description": "The text label area of the anchor link."
|
|
22556
|
+
}
|
|
22426
22557
|
]
|
|
22427
22558
|
}
|
|
22428
22559
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-foundation",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.241",
|
|
4
4
|
"description": "Mosaik elements components package.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@breadstone/mosaik-elements": "^0.0.
|
|
18
|
-
"@breadstone/mosaik-themes": "^0.0.
|
|
17
|
+
"@breadstone/mosaik-elements": "^0.0.241",
|
|
18
|
+
"@breadstone/mosaik-themes": "^0.0.241",
|
|
19
19
|
"@floating-ui/dom": "^1.7.6",
|
|
20
20
|
"@lit-labs/virtualizer": "^2.1.1",
|
|
21
21
|
"@lit/context": "^1.1.6",
|