@sebgroup/green-core 1.79.0 → 1.81.0
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/components/breadcrumbs/breadcrumbs.component.d.ts +23 -0
- package/components/breadcrumbs/breadcrumbs.component.js +71 -0
- package/components/breadcrumbs/breadcrumbs.d.ts +2 -0
- package/components/breadcrumbs/breadcrumbs.js +6 -0
- package/components/breadcrumbs/breadcrumbs.styles.d.ts +2 -0
- package/components/breadcrumbs/breadcrumbs.styles.js +95 -0
- package/components/breadcrumbs/index.d.ts +1 -0
- package/components/breadcrumbs/index.js +1 -0
- package/components/dialog/dialog.component.js +2 -1
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/input/input.component.d.ts +34 -0
- package/components/input/input.component.js +58 -6
- package/components/pure.d.ts +1 -0
- package/components/pure.js +1 -0
- package/components/textarea/textarea.component.d.ts +21 -0
- package/components/textarea/textarea.component.js +45 -6
- package/generated/locales/da.d.ts +1 -0
- package/generated/locales/da.js +1 -0
- package/generated/locales/de.d.ts +1 -0
- package/generated/locales/de.js +1 -0
- package/generated/locales/fi.d.ts +1 -0
- package/generated/locales/fi.js +1 -0
- package/generated/locales/fr.d.ts +1 -0
- package/generated/locales/fr.js +1 -0
- package/generated/locales/it.d.ts +1 -0
- package/generated/locales/it.js +1 -0
- package/generated/locales/nl.d.ts +1 -0
- package/generated/locales/nl.js +1 -0
- package/generated/locales/no.d.ts +1 -0
- package/generated/locales/no.js +1 -0
- package/generated/locales/sv.d.ts +1 -0
- package/generated/locales/sv.js +1 -0
- package/generated/react/breadcrumbs/index.d.ts +383 -0
- package/generated/react/breadcrumbs/index.js +13 -0
- package/generated/react/index.d.ts +3 -2
- package/generated/react/index.js +3 -2
- package/generated/react/input/index.d.ts +11 -3
- package/generated/react/textarea/index.d.ts +8 -3
- package/package.json +3 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { GdsElement } from '../../gds-element';
|
|
2
|
+
declare const GdsBreadcrumbs_base: (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").LayoutChildProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeXProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").MarginProps) & typeof GdsElement;
|
|
3
|
+
/**
|
|
4
|
+
* @element gds-breadcrumbs
|
|
5
|
+
* @summary The `gds-breadcrumbs` component is a navigation element
|
|
6
|
+
* It helps users understand their current * location within a hierarchical structure of a website or application.
|
|
7
|
+
*
|
|
8
|
+
* @status beta
|
|
9
|
+
*/
|
|
10
|
+
export declare class GdsBreadcrumbs extends GdsBreadcrumbs_base {
|
|
11
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
12
|
+
/**
|
|
13
|
+
* Controls the font-size and spacing of separators and breadcrumbs items
|
|
14
|
+
*/
|
|
15
|
+
size: 'large' | 'small';
|
|
16
|
+
/**
|
|
17
|
+
* This property allow you to set the accessible label of the breadcrumbs.
|
|
18
|
+
* If not provided, the default label is "breadcrumbs".
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__decorateClass
|
|
3
|
+
} from "../../chunks/chunk.QTSIPXV3.js";
|
|
4
|
+
import { localized, msg } from "@lit/localize";
|
|
5
|
+
import { html } from "lit";
|
|
6
|
+
import { property } from "lit/decorators.js";
|
|
7
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
8
|
+
import { GdsElement } from "../../gds-element.js";
|
|
9
|
+
import { tokens } from "../../tokens.style.js";
|
|
10
|
+
import { gdsCustomElement } from "../../utils/helpers/custom-element-scoping.js";
|
|
11
|
+
import {
|
|
12
|
+
withLayoutChildProps,
|
|
13
|
+
withMarginProps,
|
|
14
|
+
withSizeXProps
|
|
15
|
+
} from "../../utils/mixins/declarative-layout-mixins.js";
|
|
16
|
+
import { IconChevronLeft } from "../icon/icons/chevron-left.component.js";
|
|
17
|
+
import breadcrumbsCSS from "./breadcrumbs.styles.js";
|
|
18
|
+
let GdsBreadcrumbs = class extends withLayoutChildProps(
|
|
19
|
+
withSizeXProps(withMarginProps(GdsElement))
|
|
20
|
+
) {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.size = "large";
|
|
24
|
+
this.label = msg("Breadcrumbs");
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
const elements = Array.from(this.children);
|
|
28
|
+
const secondToLastIndex = elements.length - 2;
|
|
29
|
+
return html`
|
|
30
|
+
<nav
|
|
31
|
+
role="navigation"
|
|
32
|
+
aria-label=${this.label}
|
|
33
|
+
class=${classMap({ "size-small": this.size === "small" })}
|
|
34
|
+
>
|
|
35
|
+
<div class="mobile-return">
|
|
36
|
+
<gds-icon-chevron-left></gds-icon-chevron-left>
|
|
37
|
+
</div>
|
|
38
|
+
<ol>
|
|
39
|
+
${elements.map(
|
|
40
|
+
(element, index) => html`
|
|
41
|
+
<li
|
|
42
|
+
class=${classMap({
|
|
43
|
+
"show-on-mobile": index === secondToLastIndex
|
|
44
|
+
})}
|
|
45
|
+
>
|
|
46
|
+
${element}
|
|
47
|
+
</li>
|
|
48
|
+
${index < elements.length - 1 ? html`<span class="separator" aria-hidden="true">/</span>` : null}
|
|
49
|
+
`
|
|
50
|
+
)}
|
|
51
|
+
</ol>
|
|
52
|
+
</nav>
|
|
53
|
+
`;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
GdsBreadcrumbs.styles = [tokens, breadcrumbsCSS];
|
|
57
|
+
__decorateClass([
|
|
58
|
+
property({ type: String })
|
|
59
|
+
], GdsBreadcrumbs.prototype, "size", 2);
|
|
60
|
+
__decorateClass([
|
|
61
|
+
property({ type: String })
|
|
62
|
+
], GdsBreadcrumbs.prototype, "label", 2);
|
|
63
|
+
GdsBreadcrumbs = __decorateClass([
|
|
64
|
+
gdsCustomElement("gds-breadcrumbs", {
|
|
65
|
+
dependsOn: [IconChevronLeft]
|
|
66
|
+
}),
|
|
67
|
+
localized()
|
|
68
|
+
], GdsBreadcrumbs);
|
|
69
|
+
export {
|
|
70
|
+
GdsBreadcrumbs
|
|
71
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import "../../chunks/chunk.QTSIPXV3.js";
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
const style = css`
|
|
4
|
+
@layer base, reset, transitional-styles;
|
|
5
|
+
@layer base {
|
|
6
|
+
:host {
|
|
7
|
+
container-type: inline-size;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
nav {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
width: max-content;
|
|
14
|
+
gap: var(--gds-sys-space-s);
|
|
15
|
+
font-size: var(--gds-sys-text-size-detail-m);
|
|
16
|
+
line-height: var(--gds-sys-text-line-height-detail-m);
|
|
17
|
+
font-weight: var(--gds-sys-text-weight-regular);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.size-small {
|
|
21
|
+
font-size: var(--gds-sys-text-size-detail-s);
|
|
22
|
+
line-height: var(--gds-sys-text-line-height-detail-s);
|
|
23
|
+
gap: var(--gds-sys-space-xs);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.size-small ol {
|
|
27
|
+
gap: var(--gds-sys-space-xs);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
ol {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: var(--gds-sys-space-s);
|
|
34
|
+
list-style: none;
|
|
35
|
+
margin-block-start: 0;
|
|
36
|
+
margin-block-end: 0;
|
|
37
|
+
padding-inline-start: 0;
|
|
38
|
+
height: max-content;
|
|
39
|
+
font-weight: inherit;
|
|
40
|
+
font-size: inherit;
|
|
41
|
+
line-height: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
li {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
list-style: none;
|
|
49
|
+
margin: unset;
|
|
50
|
+
padding: unset;
|
|
51
|
+
height: max-content;
|
|
52
|
+
font-weight: inherit;
|
|
53
|
+
font-size: inherit;
|
|
54
|
+
line-height: inherit;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
li:last-child {
|
|
58
|
+
color: var(--gds-sys-color-l3-content-secondary);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.separator {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.mobile-return {
|
|
68
|
+
display: none;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@container (max-width: 400px) {
|
|
74
|
+
.mobile-return {
|
|
75
|
+
display: flex;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
li {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.show-on-mobile {
|
|
83
|
+
display: flex;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.separator {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
`;
|
|
92
|
+
var breadcrumbs_styles_default = style;
|
|
93
|
+
export {
|
|
94
|
+
breadcrumbs_styles_default as default
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './breadcrumbs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./breadcrumbs.js";
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
} from "../../utils/mixins/declarative-layout-mixins.js";
|
|
23
23
|
import { GdsButton } from "../button/button.component.js";
|
|
24
24
|
import { GdsCard } from "../card/card.component.js";
|
|
25
|
+
import { GdsDiv } from "../div/div.component.js";
|
|
25
26
|
import { GdsFlex } from "../flex/flex.component.js";
|
|
26
27
|
import { IconCrossLarge } from "../icon/icons/cross-large.component.js";
|
|
27
28
|
import { styles } from "./dialog.styles.js";
|
|
@@ -213,7 +214,7 @@ __decorateClass([
|
|
|
213
214
|
], GdsDialog.prototype, "_handleOpenChange", 1);
|
|
214
215
|
GdsDialog = __decorateClass([
|
|
215
216
|
gdsCustomElement("gds-dialog", {
|
|
216
|
-
dependsOn: [GdsButton, GdsCard, GdsFlex, IconCrossLarge]
|
|
217
|
+
dependsOn: [GdsButton, GdsCard, GdsDiv, GdsFlex, IconCrossLarge]
|
|
217
218
|
}),
|
|
218
219
|
localized()
|
|
219
220
|
], GdsDialog);
|
package/components/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from '../primitives/menu/menu-heading';
|
|
|
3
3
|
export * from '../primitives/menu/menu-item';
|
|
4
4
|
export * from './button';
|
|
5
5
|
export * from './badge';
|
|
6
|
+
export * from './breadcrumbs';
|
|
6
7
|
export * from './menu-button';
|
|
7
8
|
export * from './context-menu';
|
|
8
9
|
export * from './coachmark';
|
package/components/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from "../primitives/menu/menu-heading.js";
|
|
|
3
3
|
export * from "../primitives/menu/menu-item.js";
|
|
4
4
|
export * from "./button/index.js";
|
|
5
5
|
export * from "./badge/index.js";
|
|
6
|
+
export * from "./breadcrumbs/index.js";
|
|
6
7
|
export * from "./menu-button/index.js";
|
|
7
8
|
export * from "./context-menu/index.js";
|
|
8
9
|
export * from "./coachmark/index.js";
|
|
@@ -31,6 +31,40 @@ declare class Input extends GdsFormControlElement<string> {
|
|
|
31
31
|
* Always set the `label` attribute, and if you need to hide it, add this attribute and keep `label` set.
|
|
32
32
|
*/
|
|
33
33
|
plain: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults
|
|
36
|
+
* to `text`.
|
|
37
|
+
*/
|
|
38
|
+
type: 'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url';
|
|
39
|
+
/** The input's minimum value. Only applies to date and number input types. */
|
|
40
|
+
min?: number | string;
|
|
41
|
+
/** The input's maximum value. Only applies to date and number input types. */
|
|
42
|
+
max?: number | string;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is
|
|
45
|
+
* implied, allowing any numeric value. Only applies to date and number input types.
|
|
46
|
+
*/
|
|
47
|
+
step?: number | 'any';
|
|
48
|
+
/** Controls whether and how text input is automatically capitalized as it is entered by the user. */
|
|
49
|
+
autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
50
|
+
/** Indicates whether the browser's autocorrect feature is on or off. */
|
|
51
|
+
autocorrect?: 'off' | 'on';
|
|
52
|
+
/**
|
|
53
|
+
* Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
|
|
54
|
+
* [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
|
|
55
|
+
*/
|
|
56
|
+
autocomplete?: string;
|
|
57
|
+
/** Indicates that the input should receive focus on page load. */
|
|
58
|
+
autofocus: boolean;
|
|
59
|
+
/** Used to customize the label or icon of the Enter key on virtual keyboards. */
|
|
60
|
+
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
61
|
+
/** Enables spell checking on the input. */
|
|
62
|
+
spellcheck: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
|
|
65
|
+
* keyboard on supportive devices.
|
|
66
|
+
*/
|
|
67
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
34
68
|
private elInputAsync;
|
|
35
69
|
private elInput;
|
|
36
70
|
/**
|
|
@@ -4,9 +4,10 @@ import {
|
|
|
4
4
|
__privateGet,
|
|
5
5
|
__privateMethod
|
|
6
6
|
} from "../../chunks/chunk.QTSIPXV3.js";
|
|
7
|
-
var _shouldShowFooter, shouldShowFooter_fn,
|
|
7
|
+
var _shouldShowFooter, shouldShowFooter_fn, _handleOnInput, _handleOnChange, _handleFieldClick, _handleClearBtnClick, _renderFieldContents, renderFieldContents_fn, _renderSlotLead, renderSlotLead_fn, _renderSlotTrail, renderSlotTrail_fn, _renderNativeInput, renderNativeInput_fn, _renderClearButton, renderClearButton_fn, _shouldShowRemainingChars, shouldShowRemainingChars_get;
|
|
8
8
|
import { localized, msg } from "@lit/localize";
|
|
9
9
|
import { property, query, queryAsync } from "lit/decorators.js";
|
|
10
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
10
11
|
import { when } from "lit/directives/when.js";
|
|
11
12
|
import { nothing } from "lit/html.js";
|
|
12
13
|
import { GdsFieldBase } from "../../primitives/field-base/field-base.component.js";
|
|
@@ -15,7 +16,6 @@ import { GdsFormControlHeader } from "../../primitives/form-control-header/form-
|
|
|
15
16
|
import { gdsCustomElement, html } from "../../scoping.js";
|
|
16
17
|
import formControlHostStyles from "../../shared-styles/form-control-host.style.js";
|
|
17
18
|
import { tokens } from "../../tokens.style.js";
|
|
18
|
-
import { forwardAttributes } from "../../utils/directives/index.js";
|
|
19
19
|
import {
|
|
20
20
|
withLayoutChildProps,
|
|
21
21
|
withMarginProps,
|
|
@@ -42,8 +42,10 @@ let Input = class extends GdsFormControlElement {
|
|
|
42
42
|
this.maxlength = Number.MAX_SAFE_INTEGER;
|
|
43
43
|
this.size = "large";
|
|
44
44
|
this.plain = false;
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
this.type = "text";
|
|
46
|
+
this.autocapitalize = "off";
|
|
47
|
+
this.autofocus = false;
|
|
48
|
+
this.spellcheck = true;
|
|
47
49
|
__privateAdd(this, _handleOnInput, (e) => {
|
|
48
50
|
const element = e.target;
|
|
49
51
|
this.value = element.value;
|
|
@@ -135,7 +137,6 @@ _shouldShowFooter = new WeakSet();
|
|
|
135
137
|
shouldShowFooter_fn = function() {
|
|
136
138
|
return !this.plain && (this.invalid || __privateGet(this, _shouldShowRemainingChars, shouldShowRemainingChars_get));
|
|
137
139
|
};
|
|
138
|
-
_forwardableAttrs = new WeakMap();
|
|
139
140
|
_handleOnInput = new WeakMap();
|
|
140
141
|
_handleOnChange = new WeakMap();
|
|
141
142
|
_handleFieldClick = new WeakMap();
|
|
@@ -172,7 +173,18 @@ renderNativeInput_fn = function() {
|
|
|
172
173
|
aria-invalid=${this.invalid}
|
|
173
174
|
aria-label=${this.plain && this.label || nothing}
|
|
174
175
|
placeholder=" "
|
|
175
|
-
|
|
176
|
+
type=${this.type}
|
|
177
|
+
min=${ifDefined(this.min)}
|
|
178
|
+
max=${ifDefined(this.max)}
|
|
179
|
+
step=${ifDefined(this.step)}
|
|
180
|
+
autocapitalize=${ifDefined(this.autocapitalize)}
|
|
181
|
+
autocomplete=${ifDefined(this.autocomplete)}
|
|
182
|
+
autocorrect=${ifDefined(this.autocorrect)}
|
|
183
|
+
?autofocus=${this.autofocus}
|
|
184
|
+
spellcheck=${this.spellcheck}
|
|
185
|
+
enterkeyhint=${ifDefined(this.enterkeyhint)}
|
|
186
|
+
inputmode=${ifDefined(this.inputmode)}
|
|
187
|
+
?required=${this.required}
|
|
176
188
|
/>
|
|
177
189
|
`;
|
|
178
190
|
};
|
|
@@ -221,6 +233,46 @@ __decorateClass([
|
|
|
221
233
|
__decorateClass([
|
|
222
234
|
property({ type: Boolean })
|
|
223
235
|
], Input.prototype, "plain", 2);
|
|
236
|
+
__decorateClass([
|
|
237
|
+
property({ reflect: true })
|
|
238
|
+
], Input.prototype, "type", 2);
|
|
239
|
+
__decorateClass([
|
|
240
|
+
property()
|
|
241
|
+
], Input.prototype, "min", 2);
|
|
242
|
+
__decorateClass([
|
|
243
|
+
property()
|
|
244
|
+
], Input.prototype, "max", 2);
|
|
245
|
+
__decorateClass([
|
|
246
|
+
property()
|
|
247
|
+
], Input.prototype, "step", 2);
|
|
248
|
+
__decorateClass([
|
|
249
|
+
property()
|
|
250
|
+
], Input.prototype, "autocapitalize", 2);
|
|
251
|
+
__decorateClass([
|
|
252
|
+
property()
|
|
253
|
+
], Input.prototype, "autocorrect", 2);
|
|
254
|
+
__decorateClass([
|
|
255
|
+
property()
|
|
256
|
+
], Input.prototype, "autocomplete", 2);
|
|
257
|
+
__decorateClass([
|
|
258
|
+
property({ type: Boolean })
|
|
259
|
+
], Input.prototype, "autofocus", 2);
|
|
260
|
+
__decorateClass([
|
|
261
|
+
property()
|
|
262
|
+
], Input.prototype, "enterkeyhint", 2);
|
|
263
|
+
__decorateClass([
|
|
264
|
+
property({
|
|
265
|
+
type: Boolean,
|
|
266
|
+
converter: {
|
|
267
|
+
// Allow "true|false" attribute values but keep the property boolean
|
|
268
|
+
fromAttribute: (value) => !value || value === "false" ? false : true,
|
|
269
|
+
toAttribute: (value) => value ? "true" : "false"
|
|
270
|
+
}
|
|
271
|
+
})
|
|
272
|
+
], Input.prototype, "spellcheck", 2);
|
|
273
|
+
__decorateClass([
|
|
274
|
+
property()
|
|
275
|
+
], Input.prototype, "inputmode", 2);
|
|
224
276
|
__decorateClass([
|
|
225
277
|
queryAsync("input")
|
|
226
278
|
], Input.prototype, "elInputAsync", 2);
|
package/components/pure.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from '../primitives/menu/menu-heading.component';
|
|
|
3
3
|
export * from '../primitives/menu/menu-item.component';
|
|
4
4
|
export * from './button/button.component';
|
|
5
5
|
export * from './badge/badge.component';
|
|
6
|
+
export * from './breadcrumbs/breadcrumbs.component';
|
|
6
7
|
export * from './menu-button/menu-button.component';
|
|
7
8
|
export * from './context-menu/context-menu.component';
|
|
8
9
|
export * from './coachmark/coachmark.component';
|
package/components/pure.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from "../primitives/menu/menu-heading.component.js";
|
|
|
3
3
|
export * from "../primitives/menu/menu-item.component.js";
|
|
4
4
|
export * from "./button/button.component.js";
|
|
5
5
|
export * from "./badge/badge.component.js";
|
|
6
|
+
export * from "./breadcrumbs/breadcrumbs.component.js";
|
|
6
7
|
export * from "./menu-button/menu-button.component.js";
|
|
7
8
|
export * from "./context-menu/context-menu.component.js";
|
|
8
9
|
export * from "./coachmark/coachmark.component.js";
|
|
@@ -43,6 +43,27 @@ declare class Textarea extends GdsFormControlElement<string> {
|
|
|
43
43
|
* Always set the `label` attribute, and if you need to hide it, add this attribute and keep `label` set.
|
|
44
44
|
*/
|
|
45
45
|
plain: boolean;
|
|
46
|
+
/** Controls whether and how text input is automatically capitalized as it is entered by the user. */
|
|
47
|
+
autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
48
|
+
/** Indicates whether the browser's autocorrect feature is on or off. */
|
|
49
|
+
autocorrect?: 'off' | 'on';
|
|
50
|
+
/**
|
|
51
|
+
* Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
|
|
52
|
+
* [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
|
|
53
|
+
*/
|
|
54
|
+
autocomplete?: string;
|
|
55
|
+
/** Indicates that the input should receive focus on page load. */
|
|
56
|
+
autofocus: boolean;
|
|
57
|
+
/** Enables spell checking on the input. */
|
|
58
|
+
spellcheck: boolean;
|
|
59
|
+
wrap: 'hard' | 'soft';
|
|
60
|
+
/** Used to customize the label or icon of the Enter key on virtual keyboards. */
|
|
61
|
+
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
62
|
+
/**
|
|
63
|
+
* Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
|
|
64
|
+
* keyboard on supportive devices.
|
|
65
|
+
*/
|
|
66
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
46
67
|
private elTextareaAsync;
|
|
47
68
|
private elTextarea;
|
|
48
69
|
private fieldBase;
|
|
@@ -4,9 +4,10 @@ import {
|
|
|
4
4
|
__privateGet,
|
|
5
5
|
__privateMethod
|
|
6
6
|
} from "../../chunks/chunk.QTSIPXV3.js";
|
|
7
|
-
var _shouldShowFooter, shouldShowFooter_fn,
|
|
7
|
+
var _shouldShowFooter, shouldShowFooter_fn, _handleOnInput, _handleOnChange, _handleOnPaste, _handleFieldClick, _handleClearBtnClick, _renderFieldContents, renderFieldContents_fn, _renderSlotLead, renderSlotLead_fn, _renderSlotTrail, renderSlotTrail_fn, _renderNativeTextarea, renderNativeTextarea_fn, _renderClearButton, renderClearButton_fn, _shouldShowRemainingChars, shouldShowRemainingChars_get;
|
|
8
8
|
import { localized, msg } from "@lit/localize";
|
|
9
9
|
import { property, query, queryAsync } from "lit/decorators.js";
|
|
10
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
10
11
|
import { when } from "lit/directives/when.js";
|
|
11
12
|
import { nothing } from "lit/html.js";
|
|
12
13
|
import { GdsFieldBase } from "../../primitives/field-base/field-base.component.js";
|
|
@@ -18,7 +19,6 @@ import { tokens } from "../../tokens.style.js";
|
|
|
18
19
|
import { watch } from "../../utils/decorators/index.js";
|
|
19
20
|
import { resizeObserver } from "../../utils/decorators/resize-observer.js";
|
|
20
21
|
import { styleExpressionProperty } from "../../utils/decorators/style-expression-property.js";
|
|
21
|
-
import { forwardAttributes } from "../../utils/directives/index.js";
|
|
22
22
|
import {
|
|
23
23
|
withLayoutChildProps,
|
|
24
24
|
withMarginProps,
|
|
@@ -47,13 +47,14 @@ let Textarea = class extends GdsFormControlElement {
|
|
|
47
47
|
this.maxlength = Number.MAX_SAFE_INTEGER;
|
|
48
48
|
this.size = "large";
|
|
49
49
|
this.plain = false;
|
|
50
|
+
this.autocapitalize = "off";
|
|
51
|
+
this.autofocus = false;
|
|
52
|
+
this.spellcheck = true;
|
|
50
53
|
this._handleSlotChange = () => {
|
|
51
54
|
requestAnimationFrame(() => {
|
|
52
55
|
this._handleResize();
|
|
53
56
|
});
|
|
54
57
|
};
|
|
55
|
-
// Any attribute name added here will get forwarded to the native <input> element.
|
|
56
|
-
__privateAdd(this, _forwardableAttrs, (attr) => ["type", "placeholder", "required"].includes(attr.name));
|
|
57
58
|
__privateAdd(this, _handleOnInput, (e) => {
|
|
58
59
|
const element = e.target;
|
|
59
60
|
this.value = element.value;
|
|
@@ -240,7 +241,6 @@ _shouldShowFooter = new WeakSet();
|
|
|
240
241
|
shouldShowFooter_fn = function() {
|
|
241
242
|
return !this.plain && (this.invalid || __privateGet(this, _shouldShowRemainingChars, shouldShowRemainingChars_get));
|
|
242
243
|
};
|
|
243
|
-
_forwardableAttrs = new WeakMap();
|
|
244
244
|
_handleOnInput = new WeakMap();
|
|
245
245
|
_handleOnChange = new WeakMap();
|
|
246
246
|
_handleOnPaste = new WeakMap();
|
|
@@ -277,7 +277,15 @@ renderNativeTextarea_fn = function() {
|
|
|
277
277
|
aria-label=${this.plain && this.label || nothing}
|
|
278
278
|
aria-describedby="supporting-text extended-supporting-text sub-label message"
|
|
279
279
|
placeholder=" "
|
|
280
|
-
|
|
280
|
+
autocapitalize=${ifDefined(this.autocapitalize)}
|
|
281
|
+
autocomplete=${ifDefined(this.autocomplete)}
|
|
282
|
+
autocorrect=${ifDefined(this.autocorrect)}
|
|
283
|
+
?autofocus=${this.autofocus}
|
|
284
|
+
spellcheck=${this.spellcheck}
|
|
285
|
+
enterkeyhint=${ifDefined(this.enterkeyhint)}
|
|
286
|
+
inputmode=${ifDefined(this.inputmode)}
|
|
287
|
+
wrap=${ifDefined(this.wrap)}
|
|
288
|
+
?required=${this.required}
|
|
281
289
|
></textarea>
|
|
282
290
|
`;
|
|
283
291
|
};
|
|
@@ -341,6 +349,37 @@ __decorateClass([
|
|
|
341
349
|
__decorateClass([
|
|
342
350
|
property({ type: Boolean })
|
|
343
351
|
], Textarea.prototype, "plain", 2);
|
|
352
|
+
__decorateClass([
|
|
353
|
+
property()
|
|
354
|
+
], Textarea.prototype, "autocapitalize", 2);
|
|
355
|
+
__decorateClass([
|
|
356
|
+
property()
|
|
357
|
+
], Textarea.prototype, "autocorrect", 2);
|
|
358
|
+
__decorateClass([
|
|
359
|
+
property()
|
|
360
|
+
], Textarea.prototype, "autocomplete", 2);
|
|
361
|
+
__decorateClass([
|
|
362
|
+
property({ type: Boolean })
|
|
363
|
+
], Textarea.prototype, "autofocus", 2);
|
|
364
|
+
__decorateClass([
|
|
365
|
+
property({
|
|
366
|
+
type: Boolean,
|
|
367
|
+
converter: {
|
|
368
|
+
// Allow "true|false" attribute values but keep the property boolean
|
|
369
|
+
fromAttribute: (value) => !value || value === "false" ? false : true,
|
|
370
|
+
toAttribute: (value) => value ? "true" : "false"
|
|
371
|
+
}
|
|
372
|
+
})
|
|
373
|
+
], Textarea.prototype, "spellcheck", 2);
|
|
374
|
+
__decorateClass([
|
|
375
|
+
property()
|
|
376
|
+
], Textarea.prototype, "wrap", 2);
|
|
377
|
+
__decorateClass([
|
|
378
|
+
property()
|
|
379
|
+
], Textarea.prototype, "enterkeyhint", 2);
|
|
380
|
+
__decorateClass([
|
|
381
|
+
property()
|
|
382
|
+
], Textarea.prototype, "inputmode", 2);
|
|
344
383
|
__decorateClass([
|
|
345
384
|
queryAsync("textarea")
|
|
346
385
|
], Textarea.prototype, "elTextareaAsync", 2);
|
package/generated/locales/da.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `November`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Annuller`,
|
|
12
12
|
"s39938ecdae568740": `September`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Br\xF8dkrummer`,
|
|
13
14
|
"s407a88a592a0987c": `August`,
|
|
14
15
|
"s46d6587089bd0356": `N\xE6ste m\xE5ned`,
|
|
15
16
|
"s49730f3d5751a433": `Indl\xE6ser...`,
|
package/generated/locales/de.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `November`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Abbrechen`,
|
|
12
12
|
"s39938ecdae568740": `September`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Brotkr\xFCmelnavigation`,
|
|
13
14
|
"s407a88a592a0987c": `August`,
|
|
14
15
|
"s46d6587089bd0356": `N\xE4chster Monat`,
|
|
15
16
|
"s49730f3d5751a433": `Laden...`,
|
package/generated/locales/fi.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `Marraskuu`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Peruuta`,
|
|
12
12
|
"s39938ecdae568740": `Syys`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Murupolku`,
|
|
13
14
|
"s407a88a592a0987c": `Elokuu`,
|
|
14
15
|
"s46d6587089bd0356": `Seuraava kuukausi`,
|
|
15
16
|
"s49730f3d5751a433": `Ladataan...`,
|
package/generated/locales/fr.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `Novembre`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Annuler`,
|
|
12
12
|
"s39938ecdae568740": `Septembre`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Fil d'Ariane`,
|
|
13
14
|
"s407a88a592a0987c": `Ao\xFBt`,
|
|
14
15
|
"s46d6587089bd0356": `Mois suivant`,
|
|
15
16
|
"s49730f3d5751a433": `Chargement...`,
|
package/generated/locales/it.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `Novembre`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Annulla`,
|
|
12
12
|
"s39938ecdae568740": `Settembre`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Percorso di navigazione`,
|
|
13
14
|
"s407a88a592a0987c": `Agosto`,
|
|
14
15
|
"s46d6587089bd0356": `Mese successivo`,
|
|
15
16
|
"s49730f3d5751a433": `Caricamento...`,
|
package/generated/locales/nl.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `November`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Annuleren`,
|
|
12
12
|
"s39938ecdae568740": `September`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Kruimelpad`,
|
|
13
14
|
"s407a88a592a0987c": `Augustus`,
|
|
14
15
|
"s46d6587089bd0356": `Volgende maand`,
|
|
15
16
|
"s49730f3d5751a433": `Laden...`,
|
package/generated/locales/no.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `November`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Avbryt`,
|
|
12
12
|
"s39938ecdae568740": `September`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Br\xF8dsmuler`,
|
|
13
14
|
"s407a88a592a0987c": `August`,
|
|
14
15
|
"s46d6587089bd0356": `Neste m\xE5ned`,
|
|
15
16
|
"s49730f3d5751a433": `Laster...`,
|
package/generated/locales/sv.js
CHANGED
|
@@ -10,6 +10,7 @@ const templates = {
|
|
|
10
10
|
"s281846ef0421c71f": `November`,
|
|
11
11
|
"s2ceb11be2290bb1b": `Avbryt`,
|
|
12
12
|
"s39938ecdae568740": `September`,
|
|
13
|
+
"s3b8a6245b12fa2ad": `Br\xF6dsmulor`,
|
|
13
14
|
"s407a88a592a0987c": `Augusti`,
|
|
14
15
|
"s46d6587089bd0356": `N\xE4sta m\xE5nad`,
|
|
15
16
|
"s49730f3d5751a433": `Laddar...`,
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { getReactComponent } from "../../../utils/react";
|
|
2
|
+
import { GdsBreadcrumbs as GdsBreadcrumbsClass } from "../../../components/breadcrumbs/breadcrumbs.component";
|
|
3
|
+
export declare const GdsBreadcrumbs: (props: React.ComponentProps<ReturnType<typeof getReactComponent<GdsBreadcrumbsClass>>>) => import("react").ReactElement<Omit<{
|
|
4
|
+
size?: "small" | "large" | undefined;
|
|
5
|
+
label?: string | undefined;
|
|
6
|
+
render?: (() => import("lit-html").TemplateResult<1>) | undefined;
|
|
7
|
+
'align-self'?: string | undefined;
|
|
8
|
+
'justify-self'?: string | undefined;
|
|
9
|
+
'place-self'?: string | undefined;
|
|
10
|
+
'grid-column'?: string | undefined;
|
|
11
|
+
'grid-row'?: string | undefined;
|
|
12
|
+
'grid-area'?: string | undefined;
|
|
13
|
+
flex?: string | undefined;
|
|
14
|
+
width?: string | undefined;
|
|
15
|
+
'min-width'?: string | undefined;
|
|
16
|
+
'max-width'?: string | undefined;
|
|
17
|
+
'inline-size'?: string | undefined;
|
|
18
|
+
'min-inline-size'?: string | undefined;
|
|
19
|
+
'max-inline-size'?: string | undefined;
|
|
20
|
+
margin?: string | undefined;
|
|
21
|
+
'margin-inline'?: string | undefined;
|
|
22
|
+
'margin-block'?: string | undefined;
|
|
23
|
+
gdsElementName?: string | undefined;
|
|
24
|
+
_isUsingTransitionalStyles?: boolean | undefined;
|
|
25
|
+
_dynamicStylesController?: import("../../../utils/controllers/dynamic-styles-controller").DynamicStylesController | undefined;
|
|
26
|
+
connectedCallback?: (() => void) | undefined;
|
|
27
|
+
disconnectedCallback?: (() => void) | undefined;
|
|
28
|
+
readonly renderOptions?: import("lit-html").RenderOptions | undefined;
|
|
29
|
+
readonly renderRoot?: HTMLElement | DocumentFragment | undefined;
|
|
30
|
+
isUpdatePending?: boolean | undefined;
|
|
31
|
+
hasUpdated?: boolean | undefined;
|
|
32
|
+
addController?: ((controller: import("lit").ReactiveController) => void) | undefined;
|
|
33
|
+
removeController?: ((controller: import("lit").ReactiveController) => void) | undefined;
|
|
34
|
+
attributeChangedCallback?: ((name: string, _old: string | null, value: string | null) => void) | undefined;
|
|
35
|
+
requestUpdate?: ((name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void) | undefined;
|
|
36
|
+
readonly updateComplete?: Promise<boolean> | undefined;
|
|
37
|
+
accessKey?: string | undefined;
|
|
38
|
+
readonly accessKeyLabel?: string | undefined;
|
|
39
|
+
autocapitalize?: string | undefined;
|
|
40
|
+
dir?: string | undefined;
|
|
41
|
+
draggable?: boolean | undefined;
|
|
42
|
+
hidden?: boolean | undefined;
|
|
43
|
+
inert?: boolean | undefined;
|
|
44
|
+
innerText?: string | undefined;
|
|
45
|
+
lang?: string | undefined;
|
|
46
|
+
readonly offsetHeight?: number | undefined;
|
|
47
|
+
readonly offsetLeft?: number | undefined;
|
|
48
|
+
readonly offsetParent?: Element | null | undefined;
|
|
49
|
+
readonly offsetTop?: number | undefined;
|
|
50
|
+
readonly offsetWidth?: number | undefined;
|
|
51
|
+
outerText?: string | undefined;
|
|
52
|
+
popover?: string | null | undefined;
|
|
53
|
+
spellcheck?: boolean | undefined;
|
|
54
|
+
title?: string | undefined;
|
|
55
|
+
translate?: boolean | undefined;
|
|
56
|
+
attachInternals?: (() => ElementInternals) | undefined;
|
|
57
|
+
click?: (() => void) | undefined;
|
|
58
|
+
hidePopover?: (() => void) | undefined;
|
|
59
|
+
showPopover?: (() => void) | undefined;
|
|
60
|
+
togglePopover?: ((force?: boolean | undefined) => boolean) | undefined;
|
|
61
|
+
addEventListener?: {
|
|
62
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
63
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
64
|
+
} | undefined;
|
|
65
|
+
removeEventListener?: {
|
|
66
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
67
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
68
|
+
} | undefined;
|
|
69
|
+
readonly attributes?: NamedNodeMap | undefined;
|
|
70
|
+
readonly classList?: DOMTokenList | undefined;
|
|
71
|
+
className?: string | undefined;
|
|
72
|
+
readonly clientHeight?: number | undefined;
|
|
73
|
+
readonly clientLeft?: number | undefined;
|
|
74
|
+
readonly clientTop?: number | undefined;
|
|
75
|
+
readonly clientWidth?: number | undefined;
|
|
76
|
+
id?: string | undefined;
|
|
77
|
+
readonly localName?: string | undefined;
|
|
78
|
+
readonly namespaceURI?: string | null | undefined;
|
|
79
|
+
onfullscreenchange?: ((this: Element, ev: Event) => any) | null | undefined;
|
|
80
|
+
onfullscreenerror?: ((this: Element, ev: Event) => any) | null | undefined;
|
|
81
|
+
outerHTML?: string | undefined;
|
|
82
|
+
readonly ownerDocument?: Document | undefined;
|
|
83
|
+
readonly part?: DOMTokenList | undefined;
|
|
84
|
+
readonly prefix?: string | null | undefined;
|
|
85
|
+
readonly scrollHeight?: number | undefined;
|
|
86
|
+
scrollLeft?: number | undefined;
|
|
87
|
+
scrollTop?: number | undefined;
|
|
88
|
+
readonly scrollWidth?: number | undefined;
|
|
89
|
+
readonly shadowRoot?: ShadowRoot | null | undefined;
|
|
90
|
+
slot?: string | undefined;
|
|
91
|
+
readonly tagName?: string | undefined;
|
|
92
|
+
attachShadow?: ((init: ShadowRootInit) => ShadowRoot) | undefined;
|
|
93
|
+
checkVisibility?: ((options?: CheckVisibilityOptions | undefined) => boolean) | undefined;
|
|
94
|
+
closest?: {
|
|
95
|
+
<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
96
|
+
<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
97
|
+
<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
98
|
+
<E extends Element = Element>(selectors: string): E | null;
|
|
99
|
+
} | undefined;
|
|
100
|
+
computedStyleMap?: (() => StylePropertyMapReadOnly) | undefined;
|
|
101
|
+
getAttribute?: ((qualifiedName: string) => string | null) | undefined;
|
|
102
|
+
getAttributeNS?: ((namespace: string | null, localName: string) => string | null) | undefined;
|
|
103
|
+
getAttributeNames?: (() => string[]) | undefined;
|
|
104
|
+
getAttributeNode?: ((qualifiedName: string) => Attr | null) | undefined;
|
|
105
|
+
getAttributeNodeNS?: ((namespace: string | null, localName: string) => Attr | null) | undefined;
|
|
106
|
+
getBoundingClientRect?: (() => DOMRect) | undefined;
|
|
107
|
+
getClientRects?: (() => DOMRectList) | undefined;
|
|
108
|
+
getElementsByClassName?: ((classNames: string) => HTMLCollectionOf<Element>) | undefined;
|
|
109
|
+
getElementsByTagName?: {
|
|
110
|
+
<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
111
|
+
<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
112
|
+
<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
113
|
+
<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
114
|
+
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
115
|
+
} | undefined;
|
|
116
|
+
getElementsByTagNameNS?: {
|
|
117
|
+
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
118
|
+
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
119
|
+
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
120
|
+
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
121
|
+
} | undefined;
|
|
122
|
+
hasAttribute?: ((qualifiedName: string) => boolean) | undefined;
|
|
123
|
+
hasAttributeNS?: ((namespace: string | null, localName: string) => boolean) | undefined;
|
|
124
|
+
hasAttributes?: (() => boolean) | undefined;
|
|
125
|
+
hasPointerCapture?: ((pointerId: number) => boolean) | undefined;
|
|
126
|
+
insertAdjacentElement?: ((where: InsertPosition, element: Element) => Element | null) | undefined;
|
|
127
|
+
insertAdjacentHTML?: ((position: InsertPosition, text: string) => void) | undefined;
|
|
128
|
+
insertAdjacentText?: ((where: InsertPosition, data: string) => void) | undefined;
|
|
129
|
+
matches?: ((selectors: string) => boolean) | undefined;
|
|
130
|
+
releasePointerCapture?: ((pointerId: number) => void) | undefined;
|
|
131
|
+
removeAttribute?: ((qualifiedName: string) => void) | undefined;
|
|
132
|
+
removeAttributeNS?: ((namespace: string | null, localName: string) => void) | undefined;
|
|
133
|
+
removeAttributeNode?: ((attr: Attr) => Attr) | undefined;
|
|
134
|
+
requestFullscreen?: ((options?: FullscreenOptions | undefined) => Promise<void>) | undefined;
|
|
135
|
+
requestPointerLock?: (() => void) | undefined;
|
|
136
|
+
scroll?: {
|
|
137
|
+
(options?: ScrollToOptions | undefined): void;
|
|
138
|
+
(x: number, y: number): void;
|
|
139
|
+
} | undefined;
|
|
140
|
+
scrollBy?: {
|
|
141
|
+
(options?: ScrollToOptions | undefined): void;
|
|
142
|
+
(x: number, y: number): void;
|
|
143
|
+
} | undefined;
|
|
144
|
+
scrollIntoView?: ((arg?: boolean | ScrollIntoViewOptions | undefined) => void) | undefined;
|
|
145
|
+
scrollTo?: {
|
|
146
|
+
(options?: ScrollToOptions | undefined): void;
|
|
147
|
+
(x: number, y: number): void;
|
|
148
|
+
} | undefined;
|
|
149
|
+
setAttribute?: ((qualifiedName: string, value: string) => void) | undefined;
|
|
150
|
+
setAttributeNS?: ((namespace: string | null, qualifiedName: string, value: string) => void) | undefined;
|
|
151
|
+
setAttributeNode?: ((attr: Attr) => Attr | null) | undefined;
|
|
152
|
+
setAttributeNodeNS?: ((attr: Attr) => Attr | null) | undefined;
|
|
153
|
+
setPointerCapture?: ((pointerId: number) => void) | undefined;
|
|
154
|
+
toggleAttribute?: ((qualifiedName: string, force?: boolean | undefined) => boolean) | undefined;
|
|
155
|
+
webkitMatchesSelector?: ((selectors: string) => boolean) | undefined;
|
|
156
|
+
readonly baseURI?: string | undefined;
|
|
157
|
+
readonly childNodes?: NodeListOf<ChildNode> | undefined;
|
|
158
|
+
readonly firstChild?: ChildNode | null | undefined;
|
|
159
|
+
readonly isConnected?: boolean | undefined;
|
|
160
|
+
readonly lastChild?: ChildNode | null | undefined;
|
|
161
|
+
readonly nextSibling?: ChildNode | null | undefined;
|
|
162
|
+
readonly nodeName?: string | undefined;
|
|
163
|
+
readonly nodeType?: number | undefined;
|
|
164
|
+
nodeValue?: string | null | undefined;
|
|
165
|
+
readonly parentElement?: HTMLElement | null | undefined;
|
|
166
|
+
readonly parentNode?: ParentNode | null | undefined;
|
|
167
|
+
readonly previousSibling?: ChildNode | null | undefined;
|
|
168
|
+
textContent?: string | null | undefined;
|
|
169
|
+
appendChild?: (<T extends Node>(node: T) => T) | undefined;
|
|
170
|
+
cloneNode?: ((deep?: boolean | undefined) => Node) | undefined;
|
|
171
|
+
compareDocumentPosition?: ((other: Node) => number) | undefined;
|
|
172
|
+
contains?: ((other: Node | null) => boolean) | undefined;
|
|
173
|
+
getRootNode?: ((options?: GetRootNodeOptions | undefined) => Node) | undefined;
|
|
174
|
+
hasChildNodes?: (() => boolean) | undefined;
|
|
175
|
+
insertBefore?: (<T_1 extends Node>(node: T_1, child: Node | null) => T_1) | undefined;
|
|
176
|
+
isDefaultNamespace?: ((namespace: string | null) => boolean) | undefined;
|
|
177
|
+
isEqualNode?: ((otherNode: Node | null) => boolean) | undefined;
|
|
178
|
+
isSameNode?: ((otherNode: Node | null) => boolean) | undefined;
|
|
179
|
+
lookupNamespaceURI?: ((prefix: string | null) => string | null) | undefined;
|
|
180
|
+
lookupPrefix?: ((namespace: string | null) => string | null) | undefined;
|
|
181
|
+
normalize?: (() => void) | undefined;
|
|
182
|
+
removeChild?: (<T_2 extends Node>(child: T_2) => T_2) | undefined;
|
|
183
|
+
replaceChild?: (<T_3 extends Node>(node: Node, child: T_3) => T_3) | undefined;
|
|
184
|
+
readonly ELEMENT_NODE?: 1 | undefined;
|
|
185
|
+
readonly ATTRIBUTE_NODE?: 2 | undefined;
|
|
186
|
+
readonly TEXT_NODE?: 3 | undefined;
|
|
187
|
+
readonly CDATA_SECTION_NODE?: 4 | undefined;
|
|
188
|
+
readonly ENTITY_REFERENCE_NODE?: 5 | undefined;
|
|
189
|
+
readonly ENTITY_NODE?: 6 | undefined;
|
|
190
|
+
readonly PROCESSING_INSTRUCTION_NODE?: 7 | undefined;
|
|
191
|
+
readonly COMMENT_NODE?: 8 | undefined;
|
|
192
|
+
readonly DOCUMENT_NODE?: 9 | undefined;
|
|
193
|
+
readonly DOCUMENT_TYPE_NODE?: 10 | undefined;
|
|
194
|
+
readonly DOCUMENT_FRAGMENT_NODE?: 11 | undefined;
|
|
195
|
+
readonly NOTATION_NODE?: 12 | undefined;
|
|
196
|
+
readonly DOCUMENT_POSITION_DISCONNECTED?: 1 | undefined;
|
|
197
|
+
readonly DOCUMENT_POSITION_PRECEDING?: 2 | undefined;
|
|
198
|
+
readonly DOCUMENT_POSITION_FOLLOWING?: 4 | undefined;
|
|
199
|
+
readonly DOCUMENT_POSITION_CONTAINS?: 8 | undefined;
|
|
200
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY?: 16 | undefined;
|
|
201
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC?: 32 | undefined;
|
|
202
|
+
dispatchEvent?: ((event: Event) => boolean) | undefined;
|
|
203
|
+
ariaAtomic?: string | null | undefined;
|
|
204
|
+
ariaAutoComplete?: string | null | undefined;
|
|
205
|
+
ariaBusy?: string | null | undefined;
|
|
206
|
+
ariaChecked?: string | null | undefined;
|
|
207
|
+
ariaColCount?: string | null | undefined;
|
|
208
|
+
ariaColIndex?: string | null | undefined;
|
|
209
|
+
ariaColSpan?: string | null | undefined;
|
|
210
|
+
ariaCurrent?: string | null | undefined;
|
|
211
|
+
ariaDescription?: string | null | undefined;
|
|
212
|
+
ariaDisabled?: string | null | undefined;
|
|
213
|
+
ariaExpanded?: string | null | undefined;
|
|
214
|
+
ariaHasPopup?: string | null | undefined;
|
|
215
|
+
ariaHidden?: string | null | undefined;
|
|
216
|
+
ariaInvalid?: string | null | undefined;
|
|
217
|
+
ariaKeyShortcuts?: string | null | undefined;
|
|
218
|
+
ariaLabel?: string | null | undefined;
|
|
219
|
+
ariaLevel?: string | null | undefined;
|
|
220
|
+
ariaLive?: string | null | undefined;
|
|
221
|
+
ariaModal?: string | null | undefined;
|
|
222
|
+
ariaMultiLine?: string | null | undefined;
|
|
223
|
+
ariaMultiSelectable?: string | null | undefined;
|
|
224
|
+
ariaOrientation?: string | null | undefined;
|
|
225
|
+
ariaPlaceholder?: string | null | undefined;
|
|
226
|
+
ariaPosInSet?: string | null | undefined;
|
|
227
|
+
ariaPressed?: string | null | undefined;
|
|
228
|
+
ariaReadOnly?: string | null | undefined;
|
|
229
|
+
ariaRequired?: string | null | undefined;
|
|
230
|
+
ariaRoleDescription?: string | null | undefined;
|
|
231
|
+
ariaRowCount?: string | null | undefined;
|
|
232
|
+
ariaRowIndex?: string | null | undefined;
|
|
233
|
+
ariaRowSpan?: string | null | undefined;
|
|
234
|
+
ariaSelected?: string | null | undefined;
|
|
235
|
+
ariaSetSize?: string | null | undefined;
|
|
236
|
+
ariaSort?: string | null | undefined;
|
|
237
|
+
ariaValueMax?: string | null | undefined;
|
|
238
|
+
ariaValueMin?: string | null | undefined;
|
|
239
|
+
ariaValueNow?: string | null | undefined;
|
|
240
|
+
ariaValueText?: string | null | undefined;
|
|
241
|
+
role?: string | null | undefined;
|
|
242
|
+
animate?: ((keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation) | undefined;
|
|
243
|
+
getAnimations?: ((options?: GetAnimationsOptions | undefined) => Animation[]) | undefined;
|
|
244
|
+
after?: ((...nodes: (string | Node)[]) => void) | undefined;
|
|
245
|
+
before?: ((...nodes: (string | Node)[]) => void) | undefined;
|
|
246
|
+
remove?: (() => void) | undefined;
|
|
247
|
+
replaceWith?: ((...nodes: (string | Node)[]) => void) | undefined;
|
|
248
|
+
innerHTML?: string | undefined;
|
|
249
|
+
readonly nextElementSibling?: Element | null | undefined;
|
|
250
|
+
readonly previousElementSibling?: Element | null | undefined;
|
|
251
|
+
readonly childElementCount?: number | undefined;
|
|
252
|
+
readonly children?: HTMLCollection | undefined;
|
|
253
|
+
readonly firstElementChild?: Element | null | undefined;
|
|
254
|
+
readonly lastElementChild?: Element | null | undefined;
|
|
255
|
+
append?: ((...nodes: (string | Node)[]) => void) | undefined;
|
|
256
|
+
prepend?: ((...nodes: (string | Node)[]) => void) | undefined;
|
|
257
|
+
querySelector?: {
|
|
258
|
+
<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
259
|
+
<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
260
|
+
<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
261
|
+
<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
262
|
+
<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
263
|
+
} | undefined;
|
|
264
|
+
querySelectorAll?: {
|
|
265
|
+
<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
266
|
+
<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
267
|
+
<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
268
|
+
<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
269
|
+
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
270
|
+
} | undefined;
|
|
271
|
+
replaceChildren?: ((...nodes: (string | Node)[]) => void) | undefined;
|
|
272
|
+
readonly assignedSlot?: HTMLSlotElement | null | undefined;
|
|
273
|
+
readonly attributeStyleMap?: StylePropertyMap | undefined;
|
|
274
|
+
readonly style?: CSSStyleDeclaration | undefined;
|
|
275
|
+
contentEditable?: string | undefined;
|
|
276
|
+
enterKeyHint?: string | undefined;
|
|
277
|
+
inputMode?: string | undefined;
|
|
278
|
+
readonly isContentEditable?: boolean | undefined;
|
|
279
|
+
onabort?: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null | undefined;
|
|
280
|
+
onanimationcancel?: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null | undefined;
|
|
281
|
+
onanimationend?: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null | undefined;
|
|
282
|
+
onanimationiteration?: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null | undefined;
|
|
283
|
+
onanimationstart?: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null | undefined;
|
|
284
|
+
onauxclick?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
285
|
+
onbeforeinput?: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null | undefined;
|
|
286
|
+
onbeforetoggle?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
287
|
+
onblur?: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null | undefined;
|
|
288
|
+
oncancel?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
289
|
+
oncanplay?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
290
|
+
oncanplaythrough?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
291
|
+
onchange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
292
|
+
onclick?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
293
|
+
onclose?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
294
|
+
oncontextmenu?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
295
|
+
oncopy?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
296
|
+
oncuechange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
297
|
+
oncut?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
298
|
+
ondblclick?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
299
|
+
ondrag?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
300
|
+
ondragend?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
301
|
+
ondragenter?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
302
|
+
ondragleave?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
303
|
+
ondragover?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
304
|
+
ondragstart?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
305
|
+
ondrop?: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null | undefined;
|
|
306
|
+
ondurationchange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
307
|
+
onemptied?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
308
|
+
onended?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
309
|
+
onerror?: OnErrorEventHandler | undefined;
|
|
310
|
+
onfocus?: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null | undefined;
|
|
311
|
+
onformdata?: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null | undefined;
|
|
312
|
+
ongotpointercapture?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
313
|
+
oninput?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
314
|
+
oninvalid?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
315
|
+
onkeydown?: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null | undefined;
|
|
316
|
+
onkeypress?: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null | undefined;
|
|
317
|
+
onkeyup?: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null | undefined;
|
|
318
|
+
onload?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
319
|
+
onloadeddata?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
320
|
+
onloadedmetadata?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
321
|
+
onloadstart?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
322
|
+
onlostpointercapture?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
323
|
+
onmousedown?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
324
|
+
onmouseenter?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
325
|
+
onmouseleave?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
326
|
+
onmousemove?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
327
|
+
onmouseout?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
328
|
+
onmouseover?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
329
|
+
onmouseup?: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null | undefined;
|
|
330
|
+
onpaste?: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null | undefined;
|
|
331
|
+
onpause?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
332
|
+
onplay?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
333
|
+
onplaying?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
334
|
+
onpointercancel?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
335
|
+
onpointerdown?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
336
|
+
onpointerenter?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
337
|
+
onpointerleave?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
338
|
+
onpointermove?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
339
|
+
onpointerout?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
340
|
+
onpointerover?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
341
|
+
onpointerup?: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null | undefined;
|
|
342
|
+
onprogress?: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null | undefined;
|
|
343
|
+
onratechange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
344
|
+
onreset?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
345
|
+
onresize?: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null | undefined;
|
|
346
|
+
onscroll?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
347
|
+
onscrollend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
348
|
+
onsecuritypolicyviolation?: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null | undefined;
|
|
349
|
+
onseeked?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
350
|
+
onseeking?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
351
|
+
onselect?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
352
|
+
onselectionchange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
353
|
+
onselectstart?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
354
|
+
onslotchange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
355
|
+
onstalled?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
356
|
+
onsubmit?: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null | undefined;
|
|
357
|
+
onsuspend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
358
|
+
ontimeupdate?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
359
|
+
ontoggle?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
360
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
361
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
362
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
363
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
364
|
+
ontransitioncancel?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
365
|
+
ontransitionend?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
366
|
+
ontransitionrun?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
367
|
+
ontransitionstart?: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null | undefined;
|
|
368
|
+
onvolumechange?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
369
|
+
onwaiting?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
370
|
+
onwebkitanimationend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
371
|
+
onwebkitanimationiteration?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
372
|
+
onwebkitanimationstart?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
373
|
+
onwebkittransitionend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
374
|
+
onwheel?: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null | undefined;
|
|
375
|
+
autofocus?: boolean | undefined;
|
|
376
|
+
readonly dataset?: DOMStringMap | undefined;
|
|
377
|
+
nonce?: string | undefined;
|
|
378
|
+
tabIndex?: number | undefined;
|
|
379
|
+
blur?: (() => void) | undefined;
|
|
380
|
+
focus?: ((options?: FocusOptions | undefined) => void) | undefined;
|
|
381
|
+
}, "children"> & {
|
|
382
|
+
children?: import("react").ReactNode;
|
|
383
|
+
} & Omit<import("react").HTMLAttributes<HTMLElement>, "children"> & import("react").RefAttributes<HTMLElement>, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../../../chunks/chunk.QTSIPXV3.js";
|
|
2
|
+
import { getReactComponent } from "../../../utils/react.js";
|
|
3
|
+
import { GdsBreadcrumbs as GdsBreadcrumbsClass } from "../../../components/breadcrumbs/breadcrumbs.component.js";
|
|
4
|
+
import { createElement } from "react";
|
|
5
|
+
const GdsBreadcrumbs = (props) => {
|
|
6
|
+
GdsBreadcrumbsClass.define();
|
|
7
|
+
const JSXElement = getReactComponent("gds-breadcrumbs");
|
|
8
|
+
const propsWithClass = { ...props, class: props.className };
|
|
9
|
+
return createElement(JSXElement, propsWithClass);
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
GdsBreadcrumbs
|
|
13
|
+
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export * from './badge/index.js';
|
|
2
|
-
export * from './
|
|
2
|
+
export * from './breadcrumbs/index.js';
|
|
3
3
|
export * from './button/index.js';
|
|
4
4
|
export * from './calendar/index.js';
|
|
5
|
+
export * from './blur/index.js';
|
|
5
6
|
export * from './card/index.js';
|
|
6
7
|
export * from './checkbox/index.js';
|
|
7
|
-
export * from './coachmark/index.js';
|
|
8
8
|
export * from './container/index.js';
|
|
9
|
+
export * from './coachmark/index.js';
|
|
9
10
|
export * from './context-menu/index.js';
|
|
10
11
|
export * from './datepicker/index.js';
|
|
11
12
|
export * from './details/index.js';
|
package/generated/react/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export * from "./badge/index.js";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./breadcrumbs/index.js";
|
|
3
3
|
export * from "./button/index.js";
|
|
4
4
|
export * from "./calendar/index.js";
|
|
5
|
+
export * from "./blur/index.js";
|
|
5
6
|
export * from "./card/index.js";
|
|
6
7
|
export * from "./checkbox/index.js";
|
|
7
|
-
export * from "./coachmark/index.js";
|
|
8
8
|
export * from "./container/index.js";
|
|
9
|
+
export * from "./coachmark/index.js";
|
|
9
10
|
export * from "./context-menu/index.js";
|
|
10
11
|
export * from "./datepicker/index.js";
|
|
11
12
|
export * from "./details/index.js";
|
|
@@ -23,6 +23,17 @@ export declare const GdsInput: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
23
23
|
maxlength?: number | undefined;
|
|
24
24
|
size?: "small" | "large" | undefined;
|
|
25
25
|
plain?: boolean | undefined;
|
|
26
|
+
type?: "number" | "search" | "time" | "text" | "date" | "email" | "datetime-local" | "password" | "tel" | "url" | undefined;
|
|
27
|
+
min?: string | number | undefined;
|
|
28
|
+
max?: string | number | undefined;
|
|
29
|
+
step?: number | "any" | undefined;
|
|
30
|
+
autocapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
31
|
+
autocorrect?: "off" | "on" | undefined;
|
|
32
|
+
autocomplete?: string | undefined;
|
|
33
|
+
autofocus?: boolean | undefined;
|
|
34
|
+
enterkeyhint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
35
|
+
spellcheck?: boolean | undefined;
|
|
36
|
+
inputmode?: "search" | "none" | "text" | "numeric" | "email" | "tel" | "url" | "decimal" | undefined;
|
|
26
37
|
test_getClearButton?: (() => import("../../..").GdsButton | null | undefined) | undefined;
|
|
27
38
|
test_getFieldElement?: (() => Element | null | undefined) | undefined;
|
|
28
39
|
render?: (() => any) | undefined;
|
|
@@ -58,7 +69,6 @@ export declare const GdsInput: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
58
69
|
readonly updateComplete?: Promise<boolean> | undefined;
|
|
59
70
|
accessKey?: string | undefined;
|
|
60
71
|
readonly accessKeyLabel?: string | undefined;
|
|
61
|
-
autocapitalize?: string | undefined;
|
|
62
72
|
dir?: string | undefined;
|
|
63
73
|
draggable?: boolean | undefined;
|
|
64
74
|
hidden?: boolean | undefined;
|
|
@@ -72,7 +82,6 @@ export declare const GdsInput: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
72
82
|
readonly offsetWidth?: number | undefined;
|
|
73
83
|
outerText?: string | undefined;
|
|
74
84
|
popover?: string | null | undefined;
|
|
75
|
-
spellcheck?: boolean | undefined;
|
|
76
85
|
title?: string | undefined;
|
|
77
86
|
translate?: boolean | undefined;
|
|
78
87
|
attachInternals?: (() => ElementInternals) | undefined;
|
|
@@ -394,7 +403,6 @@ export declare const GdsInput: (props: React.ComponentProps<ReturnType<typeof ge
|
|
|
394
403
|
onwebkitanimationstart?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
395
404
|
onwebkittransitionend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
396
405
|
onwheel?: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null | undefined;
|
|
397
|
-
autofocus?: boolean | undefined;
|
|
398
406
|
readonly dataset?: DOMStringMap | undefined;
|
|
399
407
|
nonce?: string | undefined;
|
|
400
408
|
tabIndex?: number | undefined;
|
|
@@ -25,6 +25,14 @@ export declare const GdsTextarea: (props: React.ComponentProps<ReturnType<typeof
|
|
|
25
25
|
maxlength?: number | undefined;
|
|
26
26
|
size?: "small" | "large" | undefined;
|
|
27
27
|
plain?: boolean | undefined;
|
|
28
|
+
autocapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
29
|
+
autocorrect?: "off" | "on" | undefined;
|
|
30
|
+
autocomplete?: string | undefined;
|
|
31
|
+
autofocus?: boolean | undefined;
|
|
32
|
+
spellcheck?: boolean | undefined;
|
|
33
|
+
wrap?: "hard" | "soft" | undefined;
|
|
34
|
+
enterkeyhint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
35
|
+
inputmode?: "search" | "none" | "text" | "numeric" | "email" | "tel" | "url" | "decimal" | undefined;
|
|
28
36
|
test_getClearButton?: (() => import("../../..").GdsButton | null | undefined) | undefined;
|
|
29
37
|
test_getFieldElement?: (() => Element | null | undefined) | undefined;
|
|
30
38
|
connectedCallback?: (() => void) | undefined;
|
|
@@ -59,7 +67,6 @@ export declare const GdsTextarea: (props: React.ComponentProps<ReturnType<typeof
|
|
|
59
67
|
readonly updateComplete?: Promise<boolean> | undefined;
|
|
60
68
|
accessKey?: string | undefined;
|
|
61
69
|
readonly accessKeyLabel?: string | undefined;
|
|
62
|
-
autocapitalize?: string | undefined;
|
|
63
70
|
dir?: string | undefined;
|
|
64
71
|
draggable?: boolean | undefined;
|
|
65
72
|
hidden?: boolean | undefined;
|
|
@@ -73,7 +80,6 @@ export declare const GdsTextarea: (props: React.ComponentProps<ReturnType<typeof
|
|
|
73
80
|
readonly offsetWidth?: number | undefined;
|
|
74
81
|
outerText?: string | undefined;
|
|
75
82
|
popover?: string | null | undefined;
|
|
76
|
-
spellcheck?: boolean | undefined;
|
|
77
83
|
title?: string | undefined;
|
|
78
84
|
translate?: boolean | undefined;
|
|
79
85
|
attachInternals?: (() => ElementInternals) | undefined;
|
|
@@ -395,7 +401,6 @@ export declare const GdsTextarea: (props: React.ComponentProps<ReturnType<typeof
|
|
|
395
401
|
onwebkitanimationstart?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
396
402
|
onwebkittransitionend?: ((this: GlobalEventHandlers, ev: Event) => any) | null | undefined;
|
|
397
403
|
onwheel?: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null | undefined;
|
|
398
|
-
autofocus?: boolean | undefined;
|
|
399
404
|
readonly dataset?: DOMStringMap | undefined;
|
|
400
405
|
nonce?: string | undefined;
|
|
401
406
|
tabIndex?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebgroup/green-core",
|
|
3
3
|
"description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.81.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"./components/badge/index.js",
|
|
48
48
|
"./components/blur/blur.js",
|
|
49
49
|
"./components/blur/index.js",
|
|
50
|
+
"./components/breadcrumbs/breadcrumbs.js",
|
|
51
|
+
"./components/breadcrumbs/index.js",
|
|
50
52
|
"./components/button/button.js",
|
|
51
53
|
"./components/button/index.js",
|
|
52
54
|
"./components/calendar/calendar.js",
|