@sbb-esta/lyne-react 1.14.0 → 1.14.1
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/autocomplete-grid/autocomplete-grid-button.d.ts +2 -1
- package/autocomplete-grid/autocomplete-grid-button.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +6 -6
- package/autocomplete-grid/autocomplete-grid-option.d.ts +5 -5
- package/autocomplete-grid/autocomplete-grid-option.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-option.js +6 -6
- package/button/mini-button.d.ts +2 -1
- package/button/mini-button.d.ts.map +1 -1
- package/button/mini-button.js +6 -6
- package/checkbox/checkbox-group.d.ts +2 -1
- package/checkbox/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +5 -5
- package/checkbox/checkbox-panel.d.ts +6 -6
- package/checkbox/checkbox-panel.d.ts.map +1 -1
- package/checkbox/checkbox-panel.js +8 -8
- package/checkbox/checkbox.d.ts +6 -6
- package/checkbox/checkbox.d.ts.map +1 -1
- package/checkbox/checkbox.js +8 -8
- package/container/container.d.ts +2 -1
- package/container/container.d.ts.map +1 -1
- package/container/container.js +8 -8
- package/core.js +5 -37
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts +2 -1
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +4 -4
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts +5 -5
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option.js +4 -4
- package/development/button/mini-button.d.ts +2 -1
- package/development/button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button.js +4 -4
- package/development/checkbox/checkbox-group.d.ts +2 -1
- package/development/checkbox/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +4 -4
- package/development/checkbox/checkbox-panel.d.ts +6 -6
- package/development/checkbox/checkbox-panel.d.ts.map +1 -1
- package/development/checkbox/checkbox-panel.js +4 -4
- package/development/checkbox/checkbox.d.ts +6 -6
- package/development/checkbox/checkbox.d.ts.map +1 -1
- package/development/checkbox/checkbox.js +4 -4
- package/development/container/container.d.ts +2 -1
- package/development/container/container.d.ts.map +1 -1
- package/development/container/container.js +4 -4
- package/development/core.js +3 -47
- package/development/expansion-panel/expansion-panel-header.d.ts +4 -4
- package/development/expansion-panel/expansion-panel-header.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header.js +4 -4
- package/development/file-selector.d.ts +6 -6
- package/development/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +4 -4
- package/development/form-field/form-field.d.ts +2 -1
- package/development/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +4 -4
- package/development/link-list/link-list-anchor.d.ts +2 -1
- package/development/link-list/link-list-anchor.d.ts.map +1 -1
- package/development/link-list/link-list-anchor.js +4 -4
- package/development/link-list/link-list.d.ts +2 -1
- package/development/link-list/link-list.d.ts.map +1 -1
- package/development/link-list/link-list.js +4 -4
- package/development/navigation/navigation-list.d.ts +2 -1
- package/development/navigation/navigation-list.d.ts.map +1 -1
- package/development/navigation/navigation-list.js +4 -4
- package/development/navigation/navigation-section.d.ts +2 -1
- package/development/navigation/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +4 -4
- package/development/notification.d.ts +7 -7
- package/development/notification.d.ts.map +1 -1
- package/development/notification.js +4 -4
- package/development/option/option.d.ts +5 -5
- package/development/option/option.d.ts.map +1 -1
- package/development/option/option.js +4 -4
- package/development/radio-button/radio-button-group.d.ts +6 -6
- package/development/radio-button/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +4 -4
- package/development/radio-button/radio-button-panel.d.ts +2 -1
- package/development/radio-button/radio-button-panel.d.ts.map +1 -1
- package/development/radio-button/radio-button-panel.js +4 -4
- package/development/radio-button/radio-button.d.ts +2 -1
- package/development/radio-button/radio-button.d.ts.map +1 -1
- package/development/radio-button/radio-button.js +4 -4
- package/development/selection-expansion-panel.d.ts +7 -7
- package/development/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +4 -4
- package/development/skiplink-list.d.ts +2 -1
- package/development/skiplink-list.d.ts.map +1 -1
- package/development/skiplink-list.js +4 -4
- package/development/ssr-extensions-CqgUbNPR.js +49 -0
- package/development/status.d.ts +2 -1
- package/development/status.d.ts.map +1 -1
- package/development/status.js +4 -4
- package/development/tabs/tab-label.d.ts +2 -1
- package/development/tabs/tab-label.d.ts.map +1 -1
- package/development/tabs/tab-label.js +4 -4
- package/development/tag/tag.d.ts +6 -6
- package/development/tag/tag.d.ts.map +1 -1
- package/development/tag/tag.js +4 -4
- package/development/teaser-hero.d.ts +2 -1
- package/development/teaser-hero.d.ts.map +1 -1
- package/development/teaser-hero.js +4 -4
- package/development/teaser.d.ts +2 -1
- package/development/teaser.d.ts.map +1 -1
- package/development/teaser.js +4 -4
- package/development/toast.d.ts +7 -7
- package/development/toast.d.ts.map +1 -1
- package/development/toast.js +4 -4
- package/development/toggle/toggle-option.d.ts +2 -1
- package/development/toggle/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +4 -4
- package/development/toggle-check.d.ts +6 -6
- package/development/toggle-check.d.ts.map +1 -1
- package/development/toggle-check.js +4 -4
- package/expansion-panel/expansion-panel-header.d.ts +4 -4
- package/expansion-panel/expansion-panel-header.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-header.js +6 -6
- package/file-selector.d.ts +6 -6
- package/file-selector.d.ts.map +1 -1
- package/file-selector.js +6 -6
- package/form-field/form-field.d.ts +2 -1
- package/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +9 -9
- package/link-list/link-list-anchor.d.ts +2 -1
- package/link-list/link-list-anchor.d.ts.map +1 -1
- package/link-list/link-list-anchor.js +5 -5
- package/link-list/link-list.d.ts +2 -1
- package/link-list/link-list.d.ts.map +1 -1
- package/link-list/link-list.js +6 -6
- package/navigation/navigation-list.d.ts +2 -1
- package/navigation/navigation-list.d.ts.map +1 -1
- package/navigation/navigation-list.js +7 -7
- package/navigation/navigation-section.d.ts +2 -1
- package/navigation/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section.js +8 -8
- package/notification.d.ts +7 -7
- package/notification.d.ts.map +1 -1
- package/notification.js +6 -6
- package/option/option.d.ts +5 -5
- package/option/option.d.ts.map +1 -1
- package/option/option.js +8 -8
- package/package.json +3 -3
- package/radio-button/radio-button-group.d.ts +6 -6
- package/radio-button/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +7 -7
- package/radio-button/radio-button-panel.d.ts +2 -1
- package/radio-button/radio-button-panel.d.ts.map +1 -1
- package/radio-button/radio-button-panel.js +8 -8
- package/radio-button/radio-button.d.ts +2 -1
- package/radio-button/radio-button.d.ts.map +1 -1
- package/radio-button/radio-button.js +8 -8
- package/selection-expansion-panel.d.ts +7 -7
- package/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +8 -8
- package/skiplink-list.d.ts +2 -1
- package/skiplink-list.d.ts.map +1 -1
- package/skiplink-list.js +8 -8
- package/ssr-extensions-DNMI7L0q.js +37 -0
- package/status.d.ts +2 -1
- package/status.d.ts.map +1 -1
- package/status.js +6 -6
- package/tabs/tab-label.d.ts +2 -1
- package/tabs/tab-label.d.ts.map +1 -1
- package/tabs/tab-label.js +9 -9
- package/tag/tag.d.ts +6 -6
- package/tag/tag.d.ts.map +1 -1
- package/tag/tag.js +8 -8
- package/teaser-hero.d.ts +2 -1
- package/teaser-hero.d.ts.map +1 -1
- package/teaser-hero.js +6 -6
- package/teaser.d.ts +2 -1
- package/teaser.d.ts.map +1 -1
- package/teaser.js +8 -8
- package/toast.d.ts +7 -7
- package/toast.d.ts.map +1 -1
- package/toast.js +5 -5
- package/toggle/toggle-option.d.ts +2 -1
- package/toggle/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option.js +6 -6
- package/toggle-check.d.ts +6 -6
- package/toggle-check.d.ts.map +1 -1
- package/toggle-check.js +6 -6
package/development/core.js
CHANGED
|
@@ -1,51 +1,7 @@
|
|
|
1
1
|
import { c } from "./create-component-CSki5eOq.js";
|
|
2
|
-
import {
|
|
3
|
-
import react, { Children, isValidElement } from "react";
|
|
4
|
-
const withSsrDataSlotNames = (component) => {
|
|
5
|
-
return !isServer ? component : (originalProps) => {
|
|
6
|
-
const props = originalProps;
|
|
7
|
-
if (!props.children) {
|
|
8
|
-
return react.createElement(component, props);
|
|
9
|
-
}
|
|
10
|
-
const slots = /* @__PURE__ */ new Set();
|
|
11
|
-
Children.forEach(props.children, (child) => slots.add(typeof child === "object" && !!child && "props" in child && "slot" in child.props && child.props.slot || "unnamed"));
|
|
12
|
-
if (!slots.size) {
|
|
13
|
-
return react.createElement(component, props);
|
|
14
|
-
}
|
|
15
|
-
const innerProps = {
|
|
16
|
-
...props,
|
|
17
|
-
"data-named-slots": [...slots].sort().join(" ")
|
|
18
|
-
};
|
|
19
|
-
return react.createElement(component, innerProps);
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
function hasDisplayName(type) {
|
|
23
|
-
return typeof type.displayName === "string";
|
|
24
|
-
}
|
|
25
|
-
const withSsrDataChildCount = (childNames, component) => {
|
|
26
|
-
return !isServer ? component : (originalProps) => {
|
|
27
|
-
const props = originalProps;
|
|
28
|
-
if (!props.children) {
|
|
29
|
-
return react.createElement(component, props);
|
|
30
|
-
}
|
|
31
|
-
let counter = 0;
|
|
32
|
-
Children.forEach(props.children, (child) => {
|
|
33
|
-
if (isValidElement(child) && hasDisplayName(child.type) && childNames.includes(child.type.displayName)) {
|
|
34
|
-
counter += 1;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
if (!counter) {
|
|
38
|
-
return react.createElement(component, props);
|
|
39
|
-
}
|
|
40
|
-
const innerProps = {
|
|
41
|
-
...props,
|
|
42
|
-
"data-ssr-child-count": counter
|
|
43
|
-
};
|
|
44
|
-
return react.createElement(component, innerProps);
|
|
45
|
-
};
|
|
46
|
-
};
|
|
2
|
+
import { a, w } from "./ssr-extensions-CqgUbNPR.js";
|
|
47
3
|
export {
|
|
48
4
|
c as createComponent,
|
|
49
|
-
withSsrDataChildCount,
|
|
50
|
-
withSsrDataSlotNames
|
|
5
|
+
a as withSsrDataChildCount,
|
|
6
|
+
w as withSsrDataSlotNames
|
|
51
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventName } from '../core.js';
|
|
2
1
|
import { SbbExpansionPanelHeaderElement } from '@sbb-esta/lyne-elements/expansion-panel/expansion-panel-header.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbExpansionPanelHeader: react.ComponentType<Omit<react.HTMLAttributes<SbbExpansionPanelHeaderElement>, "form" | "value" | "disabled" | "name" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "disabledInteractive" | "renderOptions" | "iconName" | "onToggleExpanded"> & {
|
|
4
|
+
onToggleExpanded?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
} & Partial<Omit<SbbExpansionPanelHeaderElement, keyof HTMLElement>> & react.RefAttributes<SbbExpansionPanelHeaderElement>>;
|
|
6
6
|
//# sourceMappingURL=expansion-panel-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expansion-panel-header.d.ts","sourceRoot":"","sources":["../../../../src/react/expansion-panel/expansion-panel-header.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expansion-panel-header.d.ts","sourceRoot":"","sources":["../../../../src/react/expansion-panel/expansion-panel-header.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mEAAmE,CAAC;AACnH,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,uBAAuB;;2HAQjC,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbExpansionPanelHeaderElement } from "@sbb-esta/lyne-elements/expansion-panel/expansion-panel-header.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbExpansionPanelHeader = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-expansion-panel-header",
|
|
7
7
|
elementClass: SbbExpansionPanelHeaderElement,
|
|
8
8
|
react,
|
|
9
9
|
events: {
|
|
10
10
|
"onToggleExpanded": "toggleExpanded"
|
|
11
11
|
}
|
|
12
|
-
});
|
|
12
|
+
}));
|
|
13
13
|
export {
|
|
14
14
|
SbbExpansionPanelHeader
|
|
15
15
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventName } from './core.js';
|
|
2
1
|
import { SbbFileSelectorElement } from '@sbb-esta/lyne-elements/file-selector.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbFileSelector: react.ComponentType<Omit<react.HTMLAttributes<SbbFileSelectorElement>, "onChange" | "onInput" | "form" | "value" | "disabled" | "name" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "renderOptions" | "validity" | "validationMessage" | "willValidate" | "checkValidity" | "reportValidity" | "formAssociatedCallback" | "formDisabledCallback" | "formResetCallback" | "formStateRestoreCallback" | "multiple" | "accessibilityLabel" | "size" | "variant" | "multipleMode" | "accept" | "titleContent" | "files" | "onFileChanged" | "getFiles"> & {
|
|
4
|
+
onInput?: ((e: Event) => void) | undefined;
|
|
5
|
+
onChange?: ((e: Event) => void) | undefined;
|
|
6
|
+
onFileChanged?: ((e: CustomEvent<File[]>) => void) | undefined;
|
|
7
|
+
} & Partial<Omit<SbbFileSelectorElement, keyof HTMLElement>> & react.RefAttributes<SbbFileSelectorElement>>;
|
|
8
8
|
//# sourceMappingURL=file-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/react/file-selector.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,eAAe;;;;2GAUzB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "./ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbFileSelectorElement } from "@sbb-esta/lyne-elements/file-selector.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbFileSelector = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-file-selector",
|
|
7
7
|
elementClass: SbbFileSelectorElement,
|
|
8
8
|
react,
|
|
@@ -11,7 +11,7 @@ const SbbFileSelector = createComponent({
|
|
|
11
11
|
"onChange": "change",
|
|
12
12
|
"onFileChanged": "fileChanged"
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
}));
|
|
15
15
|
export {
|
|
16
16
|
SbbFileSelector
|
|
17
17
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbFormFieldElement } from '@sbb-esta/lyne-elements/form-field/form-field.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbFormField: react.ComponentType<Omit<react.HTMLAttributes<SbbFormFieldElement>, "reset" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "negative" | "borderless" | "size" | "inputElement" | "errorSpace" | "optional" | "width" | "hiddenLabel" | "floatingLabel" | "clear" | "getInputElement"> & {} & Partial<Omit<SbbFormFieldElement, keyof HTMLElement>> & react.RefAttributes<SbbFormFieldElement>>;
|
|
3
4
|
//# sourceMappingURL=form-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../src/react/form-field/form-field.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../src/react/form-field/form-field.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,YAAY,qkBAItB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbFormFieldElement } from "@sbb-esta/lyne-elements/form-field/form-field.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbFormField = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-form-field",
|
|
7
7
|
elementClass: SbbFormFieldElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbFormField
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbLinkListAnchorElement } from '@sbb-esta/lyne-elements/link-list/link-list-anchor.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbLinkListAnchor: react.ComponentType<Omit<react.HTMLAttributes<SbbLinkListAnchorElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "negative" | "titleLevel" | "size" | "titleContent"> & {} & Partial<Omit<SbbLinkListAnchorElement, keyof HTMLElement>> & react.RefAttributes<SbbLinkListAnchorElement>>;
|
|
3
4
|
//# sourceMappingURL=link-list-anchor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-list-anchor.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list-anchor.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"link-list-anchor.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list-anchor.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB,oeAI3B,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbLinkListAnchorElement } from "@sbb-esta/lyne-elements/link-list/link-list-anchor.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbLinkListAnchor = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-link-list-anchor",
|
|
7
7
|
elementClass: SbbLinkListAnchorElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbLinkListAnchor
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbLinkListElement } from '@sbb-esta/lyne-elements/link-list/link-list.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbLinkList: react.ComponentType<Omit<react.HTMLAttributes<SbbLinkListElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "negative" | "titleLevel" | "size" | "orientation" | "horizontalFrom" | "titleContent"> & {} & Partial<Omit<SbbLinkListElement, keyof HTMLElement>> & react.RefAttributes<SbbLinkListElement>>;
|
|
3
4
|
//# sourceMappingURL=link-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-list.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"link-list.d.ts","sourceRoot":"","sources":["../../../../src/react/link-list/link-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,WAAW,qfAIrB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbLinkListElement } from "@sbb-esta/lyne-elements/link-list/link-list.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbLinkList = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-link-list",
|
|
7
7
|
elementClass: SbbLinkListElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbLinkList
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbNavigationListElement } from '@sbb-esta/lyne-elements/navigation/navigation-list.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbNavigationList: react.ComponentType<Omit<react.HTMLAttributes<SbbNavigationListElement>, "label" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete"> & {} & Partial<Omit<SbbNavigationListElement, keyof HTMLElement>> & react.RefAttributes<SbbNavigationListElement>>;
|
|
3
4
|
//# sourceMappingURL=navigation-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-list.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-list.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB,wbAI3B,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbNavigationListElement } from "@sbb-esta/lyne-elements/navigation/navigation-list.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbNavigationList = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-navigation-list",
|
|
7
7
|
elementClass: SbbNavigationListElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbNavigationList
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbNavigationSectionElement } from '@sbb-esta/lyne-elements/navigation/navigation-section.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbNavigationSection: react.ComponentType<Omit<react.HTMLAttributes<SbbNavigationSectionElement>, "close" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "accessibilityLabel" | "trigger" | "open" | "titleContent" | "accessibilityBackLabel"> & {} & Partial<Omit<SbbNavigationSectionElement, keyof HTMLElement>> & react.RefAttributes<SbbNavigationSectionElement>>;
|
|
3
4
|
//# sourceMappingURL=navigation-section.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-section.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-section.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-section.d.ts","sourceRoot":"","sources":["../../../../src/react/navigation/navigation-section.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,oBAAoB,mgBAI9B,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbNavigationSectionElement } from "@sbb-esta/lyne-elements/navigation/navigation-section.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbNavigationSection = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-navigation-section",
|
|
7
7
|
elementClass: SbbNavigationSectionElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbNavigationSection
|
|
12
12
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventName } from './core.js';
|
|
2
1
|
import { SbbNotificationElement } from '@sbb-esta/lyne-elements/notification.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbNotification: react.ComponentType<Omit<react.HTMLAttributes<SbbNotificationElement>, "close" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "type" | "renderOptions" | "titleLevel" | "size" | "readonly" | "onWillOpen" | "onDidOpen" | "onWillClose" | "onDidClose" | "animation" | "titleContent"> & {
|
|
4
|
+
onWillOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
onDidOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
6
|
+
onWillClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
7
|
+
onDidClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
8
|
+
} & Partial<Omit<SbbNotificationElement, keyof HTMLElement>> & react.RefAttributes<SbbNotificationElement>>;
|
|
9
9
|
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/react/notification.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/react/notification.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,eAAe;;;;;2GAWzB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "./ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbNotificationElement } from "@sbb-esta/lyne-elements/notification.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbNotification = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-notification",
|
|
7
7
|
elementClass: SbbNotificationElement,
|
|
8
8
|
react,
|
|
@@ -12,7 +12,7 @@ const SbbNotification = createComponent({
|
|
|
12
12
|
"onWillClose": "willClose",
|
|
13
13
|
"onDidClose": "didClose"
|
|
14
14
|
}
|
|
15
|
-
});
|
|
15
|
+
}));
|
|
16
16
|
export {
|
|
17
17
|
SbbNotification
|
|
18
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventName } from '../core.js';
|
|
2
1
|
import { SbbOptionElement } from '@sbb-esta/lyne-elements/option/option.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbOption: react.ComponentType<Omit<react.HTMLAttributes<SbbOptionElement>, "value" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "iconName" | "active" | "selected" | "highlight" | "setSelectedViaUserInteraction" | "setActive" | "onOptionSelectionChange" | "onOptionSelected"> & {
|
|
4
|
+
onOptionSelectionChange?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
onOptionSelected?: ((e: CustomEvent<void>) => void) | undefined;
|
|
6
|
+
} & Partial<Omit<SbbOptionElement, keyof HTMLElement>> & react.RefAttributes<SbbOptionElement>>;
|
|
7
7
|
//# sourceMappingURL=option.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../src/react/option/option.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../src/react/option/option.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;+FASnB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbOptionElement } from "@sbb-esta/lyne-elements/option/option.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbOption = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-option",
|
|
7
7
|
elementClass: SbbOptionElement,
|
|
8
8
|
react,
|
|
@@ -10,7 +10,7 @@ const SbbOption = createComponent({
|
|
|
10
10
|
"onOptionSelectionChange": "optionSelectionChange",
|
|
11
11
|
"onOptionSelected": "optionSelected"
|
|
12
12
|
}
|
|
13
|
-
});
|
|
13
|
+
}));
|
|
14
14
|
export {
|
|
15
15
|
SbbOption
|
|
16
16
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventName } from '../core.js';
|
|
2
1
|
import { SbbRadioButtonGroupElement, SbbRadioButtonGroupEventDetail } from '@sbb-esta/lyne-elements/radio-button/radio-button-group.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbRadioButtonGroup: react.ComponentType<Omit<react.HTMLAttributes<SbbRadioButtonGroupElement>, "onChange" | "onInput" | "value" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "required" | "size" | "orientation" | "horizontalFrom" | "onDidChange" | "allowEmptySelection" | "radioButtons" | "willUpdate"> & {
|
|
4
|
+
onDidChange?: ((e: CustomEvent<SbbRadioButtonGroupEventDetail>) => void) | undefined;
|
|
5
|
+
onChange?: ((e: CustomEvent<SbbRadioButtonGroupEventDetail>) => void) | undefined;
|
|
6
|
+
onInput?: ((e: CustomEvent<SbbRadioButtonGroupEventDetail>) => void) | undefined;
|
|
7
|
+
} & Partial<Omit<SbbRadioButtonGroupElement, keyof HTMLElement>> & react.RefAttributes<SbbRadioButtonGroupElement>>;
|
|
8
8
|
//# sourceMappingURL=radio-button-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-group.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-group.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-button-group.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-group.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,0BAA0B,EAAE,KAAK,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;AAC7I,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB;;;;mHAU7B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbRadioButtonGroupElement } from "@sbb-esta/lyne-elements/radio-button/radio-button-group.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbRadioButtonGroup = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-radio-button-group",
|
|
7
7
|
elementClass: SbbRadioButtonGroupElement,
|
|
8
8
|
react,
|
|
@@ -11,7 +11,7 @@ const SbbRadioButtonGroup = createComponent({
|
|
|
11
11
|
"onChange": "change",
|
|
12
12
|
"onInput": "input"
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
}));
|
|
15
15
|
export {
|
|
16
16
|
SbbRadioButtonGroup
|
|
17
17
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbRadioButtonPanelElement } from '@sbb-esta/lyne-elements/radio-button/radio-button-panel.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbRadioButtonPanel: react.ComponentType<Omit<react.HTMLAttributes<SbbRadioButtonPanelElement>, "color" | "select" | "group" | "value" | "checked" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "required" | "borderless" | "expansionState" | "size" | "allowEmptySelection"> & {} & Partial<Omit<SbbRadioButtonPanelElement, keyof HTMLElement>> & react.RefAttributes<SbbRadioButtonPanelElement>>;
|
|
3
4
|
//# sourceMappingURL=radio-button-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-panel.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-panel.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-button-panel.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button-panel.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB,gjBAI7B,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbRadioButtonPanelElement } from "@sbb-esta/lyne-elements/radio-button/radio-button-panel.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbRadioButtonPanel = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-radio-button-panel",
|
|
7
7
|
elementClass: SbbRadioButtonPanelElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbRadioButtonPanel
|
|
12
12
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbRadioButtonElement } from '@sbb-esta/lyne-elements/radio-button/radio-button.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbRadioButton: react.ComponentType<Omit<react.HTMLAttributes<SbbRadioButtonElement>, "select" | "group" | "value" | "checked" | "disabled" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "required" | "size" | "allowEmptySelection"> & {} & Partial<Omit<SbbRadioButtonElement, keyof HTMLElement>> & react.RefAttributes<SbbRadioButtonElement>>;
|
|
3
4
|
//# sourceMappingURL=radio-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../../src/react/radio-button/radio-button.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,cAAc,qfAIxB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "../create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "../ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbRadioButtonElement } from "@sbb-esta/lyne-elements/radio-button/radio-button.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbRadioButton = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-radio-button",
|
|
7
7
|
elementClass: SbbRadioButtonElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbRadioButton
|
|
12
12
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventName } from './core.js';
|
|
2
1
|
import { SbbSelectionExpansionPanelElement } from '@sbb-esta/lyne-elements/selection-expansion-panel.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbSelectionExpansionPanel: react.ComponentType<Omit<react.HTMLAttributes<SbbSelectionExpansionPanelElement>, "color" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "borderless" | "onWillOpen" | "onDidOpen" | "onWillClose" | "onDidClose" | "forceOpen"> & {
|
|
4
|
+
onWillOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
5
|
+
onDidOpen?: ((e: CustomEvent<void>) => void) | undefined;
|
|
6
|
+
onWillClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
7
|
+
onDidClose?: ((e: CustomEvent<void>) => void) | undefined;
|
|
8
|
+
} & Partial<Omit<SbbSelectionExpansionPanelElement, keyof HTMLElement>> & react.RefAttributes<SbbSelectionExpansionPanelElement>>;
|
|
9
9
|
//# sourceMappingURL=selection-expansion-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-expansion-panel.d.ts","sourceRoot":"","sources":["../../../src/react/selection-expansion-panel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selection-expansion-panel.d.ts","sourceRoot":"","sources":["../../../src/react/selection-expansion-panel.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,0BAA0B;;;;;iIAWpC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "./ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbSelectionExpansionPanelElement } from "@sbb-esta/lyne-elements/selection-expansion-panel.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbSelectionExpansionPanel = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-selection-expansion-panel",
|
|
7
7
|
elementClass: SbbSelectionExpansionPanelElement,
|
|
8
8
|
react,
|
|
@@ -12,7 +12,7 @@ const SbbSelectionExpansionPanel = createComponent({
|
|
|
12
12
|
"onWillClose": "willClose",
|
|
13
13
|
"onDidClose": "didClose"
|
|
14
14
|
}
|
|
15
|
-
});
|
|
15
|
+
}));
|
|
16
16
|
export {
|
|
17
17
|
SbbSelectionExpansionPanel
|
|
18
18
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SbbSkiplinkListElement } from '@sbb-esta/lyne-elements/skiplink-list.js';
|
|
2
|
-
|
|
2
|
+
import { default as react } from 'react';
|
|
3
|
+
export declare const SbbSkiplinkList: react.ComponentType<Omit<react.HTMLAttributes<SbbSkiplinkListElement>, "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "renderOptions" | "hydrationComplete" | "titleLevel" | "titleContent"> & {} & Partial<Omit<SbbSkiplinkListElement, keyof HTMLElement>> & react.RefAttributes<SbbSkiplinkListElement>>;
|
|
3
4
|
//# sourceMappingURL=skiplink-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skiplink-list.d.ts","sourceRoot":"","sources":["../../../src/react/skiplink-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"skiplink-list.d.ts","sourceRoot":"","sources":["../../../src/react/skiplink-list.ts"],"names":[],"mappings":"AAEE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,eAAe,wcAIzB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as createComponent } from "./create-component-CSki5eOq.js";
|
|
2
|
-
import "
|
|
3
|
-
import react from "react";
|
|
2
|
+
import { w as withSsrDataSlotNames } from "./ssr-extensions-CqgUbNPR.js";
|
|
4
3
|
import { SbbSkiplinkListElement } from "@sbb-esta/lyne-elements/skiplink-list.js";
|
|
5
|
-
|
|
4
|
+
import react from "react";
|
|
5
|
+
const SbbSkiplinkList = withSsrDataSlotNames(createComponent({
|
|
6
6
|
tagName: "sbb-skiplink-list",
|
|
7
7
|
elementClass: SbbSkiplinkListElement,
|
|
8
8
|
react
|
|
9
|
-
});
|
|
9
|
+
}));
|
|
10
10
|
export {
|
|
11
11
|
SbbSkiplinkList
|
|
12
12
|
};
|