@dso-toolkit/react 89.0.0 → 90.1.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/dist/components/accordion/accordion.content.js +5 -5
- package/dist/components/badge/badge.content.js +3 -0
- package/dist/components/badge/badge.react-template.js +6 -3
- package/dist/components/badge/badge.stories.js +4 -2
- package/dist/components/banner/banner.content.js +1 -1
- package/dist/components/icon/icon-overview.decorator.js +1 -1
- package/dist/components/icon/icon.stories.js +1 -1
- package/dist/components/info-button/info-button.content.js +4 -5
- package/dist/components/table/table.react-template.js +1 -1
- package/dist/components/toggletip/toggletip.content.js +4 -5
- package/dist/components.js +18 -0
- package/dist/types/components/badge/badge.content.d.ts +2 -0
- package/dist/types/components/badge/badge.react-template.d.ts +2 -1
- package/dist/types/components/badge/badge.stories.d.ts +9 -1
- package/dist/types/components.d.ts +9 -1
- package/dist/types/templates.d.ts +1 -1
- package/package.json +3 -3
|
@@ -105,12 +105,12 @@ export function nestedSections({ accordionTemplate }) {
|
|
|
105
105
|
export const addonsSections = [
|
|
106
106
|
{
|
|
107
107
|
...section1,
|
|
108
|
-
icon: "user-
|
|
108
|
+
icon: "user-outline",
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
...section1,
|
|
112
112
|
status: "error",
|
|
113
|
-
icon: "user-
|
|
113
|
+
icon: "user-outline",
|
|
114
114
|
open: true,
|
|
115
115
|
},
|
|
116
116
|
{
|
|
@@ -135,16 +135,16 @@ export const addonsSections = [
|
|
|
135
135
|
export const alignmentSections = [
|
|
136
136
|
{
|
|
137
137
|
...section1,
|
|
138
|
-
icon: "user-
|
|
138
|
+
icon: "user-outline",
|
|
139
139
|
open: true,
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
...section2,
|
|
143
|
-
icon: "user-
|
|
143
|
+
icon: "user-outline",
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
...section3,
|
|
147
|
-
icon: "user-
|
|
147
|
+
icon: "user-outline",
|
|
148
148
|
},
|
|
149
149
|
];
|
|
150
150
|
export const renvooiSections = [
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { DsoBadge } from "../../components";
|
|
3
3
|
export const reactBadge = {
|
|
4
4
|
component: "badge",
|
|
5
5
|
implementation: "react",
|
|
6
|
-
template: () => function badgeTemplate({ status, message }) {
|
|
7
|
-
return React.createElement(DsoBadge, { status: status },
|
|
6
|
+
template: () => function badgeTemplate({ status, message, label, toggletipPlacement, children }) {
|
|
7
|
+
return (React.createElement(DsoBadge, { status: status, label: label, toggletipPlacement: toggletipPlacement },
|
|
8
|
+
message,
|
|
9
|
+
" ",
|
|
10
|
+
children && React.createElement("div", { slot: "toggletip" }, children)));
|
|
8
11
|
},
|
|
9
12
|
};
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import readme from "@dso-toolkit/react/src/components/badge/readme.md?raw";
|
|
2
2
|
import { badgeMeta, badgeStories } from "dso-toolkit";
|
|
3
3
|
import { templateContainer } from "../../templates";
|
|
4
|
+
import { children } from "./badge.content";
|
|
4
5
|
const meta = {
|
|
5
6
|
...badgeMeta({ readme }),
|
|
6
7
|
title: "Badge",
|
|
7
8
|
};
|
|
8
9
|
export default meta;
|
|
9
|
-
const { Primary, Success, Info, Warning, Error, Outline, Attention, Plain } = badgeStories({
|
|
10
|
+
const { Primary, Success, Info, Warning, Error, Outline, Attention, Plain, WithToggletip } = badgeStories({
|
|
10
11
|
templateContainer,
|
|
11
12
|
storyTemplates: (templates) => {
|
|
12
13
|
const { badgeTemplate } = templates;
|
|
13
14
|
return {
|
|
14
15
|
badgeTemplate,
|
|
16
|
+
children,
|
|
15
17
|
};
|
|
16
18
|
},
|
|
17
19
|
});
|
|
18
|
-
export { Attention, Error, Info, Outline, Plain, Primary, Success, Warning };
|
|
20
|
+
export { Attention, Error, Info, Outline, Plain, Primary, Success, Warning, WithToggletip };
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
const closeButton = ({ iconTemplate }) => {
|
|
3
3
|
return (React.createElement("button", { type: "button", className: "dso-tertiary", onClick: () => null },
|
|
4
4
|
React.createElement("span", { className: "sr-only" }, "Sluiten"),
|
|
5
|
-
iconTemplate({ icon: "
|
|
5
|
+
iconTemplate({ icon: "cross" })));
|
|
6
6
|
};
|
|
7
7
|
export const warningRichContent = (templates) => (React.createElement(React.Fragment, null,
|
|
8
8
|
React.createElement("div", { className: "dso-rich-content" },
|
|
@@ -6,7 +6,7 @@ export const decorator = (story, icons) => {
|
|
|
6
6
|
if (!React.isValidElement(s)) {
|
|
7
7
|
throw new Error("Expected a valid JSX element");
|
|
8
8
|
}
|
|
9
|
-
return (React.createElement("li",
|
|
9
|
+
return (React.createElement("li", { key: icon },
|
|
10
10
|
s,
|
|
11
11
|
React.createElement("br", null),
|
|
12
12
|
React.createElement("code", null, icon)));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { iconMeta, iconStories } from "dso-toolkit";
|
|
2
|
+
import icons from "dso-toolkit/storybook-assets/icons.json";
|
|
2
3
|
import { templateContainer } from "../../templates";
|
|
3
4
|
import { decorator } from "./icon-overview.decorator";
|
|
4
5
|
import readme from "./readme.md?raw";
|
|
5
|
-
const icons = import.meta.env?.VITE_ICONS?.split(",") || [];
|
|
6
6
|
const meta = {
|
|
7
7
|
...iconMeta({ readme }),
|
|
8
8
|
title: "Icon",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export const children = (React.createElement("div", { className: "dso-rich-content" },
|
|
3
|
-
React.createElement("h2", null, "
|
|
3
|
+
React.createElement("h2", null, "Introductie DSO"),
|
|
4
4
|
React.createElement("p", null,
|
|
5
|
-
"Het
|
|
6
|
-
" ",
|
|
7
|
-
|
|
8
|
-
" in samenwerking met haar partners. De ontwikkeling vraagt een intensief samenspel tussen de wetgever en de ontwikkelpartners van het DSO. Enerzijds moeten wetgever en de ontwikkelpartners zorgen dat alles wat in de wet- en regelgeving wordt geregeld ook makkelijk toegankelijk is of kan worden. Anderzijds moeten zij zorgen dat alles wat digitaal wordt gerealiseerd, ook juridisch verankerd is of kan worden.")));
|
|
5
|
+
"Het ",
|
|
6
|
+
React.createElement("a", { href: "https://iplo.nl/digitaal-stelsel/" }, "Digitaal Stelsel Omgevingswet (DSO)"),
|
|
7
|
+
" ondersteunt de uitvoering van de Omgevingswet. Het bestaat uit lokale systemen van overheden en de onderdelen van de landelijke voorziening (DSO-LV), zoals het Omgevingsloket.")));
|
|
@@ -21,7 +21,7 @@ export const reactTable = {
|
|
|
21
21
|
React.createElement("tr", null, content.head.map((col, cellIndex) => "sortable" in col ? (React.createElement("th", { scope: "col", key: cellIndex, "aria-sort": col.sorting },
|
|
22
22
|
React.createElement("button", { type: "button", "aria-roledescription": getAriaRoledescription(col.sorting), className: clsx("dso-tertiary dso-sort", { "dso-sort-active": !!col.sorting }) },
|
|
23
23
|
React.createElement("span", null, col.label),
|
|
24
|
-
React.createElement(DsoIcon, { icon: col.sorting ? "sort-"
|
|
24
|
+
React.createElement(DsoIcon, { icon: col.sorting === "ascending" ? "sort-ascending" : "sort-descending" })))) : (React.createElement("th", { scope: "col", key: cellIndex }, col.label))))),
|
|
25
25
|
React.createElement("tbody", null, content.rows.map((row, index) => (React.createElement("tr", { key: index }, row.map((col, cellIndex) => index === 0 ? (typeof col === "string" ? (React.createElement("th", { key: cellIndex, scope: "row", dangerouslySetInnerHTML: { __html: col } })) : (React.createElement("th", { key: cellIndex, scope: "row" }, col))) : typeof col === "string" ? (React.createElement("td", { key: cellIndex, dangerouslySetInnerHTML: { __html: col } })) : (React.createElement("td", { key: cellIndex }, col))))))))));
|
|
26
26
|
},
|
|
27
27
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export const children = (React.createElement("div", { className: "dso-rich-content" },
|
|
3
|
-
React.createElement("h2", null, "
|
|
3
|
+
React.createElement("h2", null, "Introductie DSO"),
|
|
4
4
|
React.createElement("p", null,
|
|
5
|
-
"Het
|
|
6
|
-
" ",
|
|
7
|
-
|
|
8
|
-
" in samenwerking met haar partners. De ontwikkeling vraagt een intensief samenspel tussen de wetgever en de ontwikkelpartners van het DSO. Enerzijds moeten wetgever en de ontwikkelpartners zorgen dat alles wat in de wet- en regelgeving wordt geregeld ook makkelijk toegankelijk is of kan worden. Anderzijds moeten zij zorgen dat alles wat digitaal wordt gerealiseerd, ook juridisch verankerd is of kan worden.")));
|
|
5
|
+
"Het ",
|
|
6
|
+
React.createElement("a", { href: "https://iplo.nl/digitaal-stelsel/" }, "Digitaal Stelsel Omgevingswet (DSO)"),
|
|
7
|
+
" ondersteunt de uitvoering van de Omgevingswet. Het bestaat uit lokale systemen van overheden en de onderdelen van de landelijke voorziening (DSO-LV), zoals het Omgevingsloket.")));
|
package/dist/components.js
CHANGED
|
@@ -43,6 +43,7 @@ import { DsoMapBaseLayers as DsoMapBaseLayersElement, defineCustomElement as def
|
|
|
43
43
|
import { DsoMapControls as DsoMapControlsElement, defineCustomElement as defineDsoMapControls } from "@dso-toolkit/core/dist/components/dso-map-controls.js";
|
|
44
44
|
import { DsoMapLayerObject as DsoMapLayerObjectElement, defineCustomElement as defineDsoMapLayerObject } from "@dso-toolkit/core/dist/components/dso-map-layer-object.js";
|
|
45
45
|
import { DsoMapLayer as DsoMapLayerElement, defineCustomElement as defineDsoMapLayer } from "@dso-toolkit/core/dist/components/dso-map-layer.js";
|
|
46
|
+
import { DsoMapMessage as DsoMapMessageElement, defineCustomElement as defineDsoMapMessage } from "@dso-toolkit/core/dist/components/dso-map-message.js";
|
|
46
47
|
import { DsoMapOverlays as DsoMapOverlaysElement, defineCustomElement as defineDsoMapOverlays } from "@dso-toolkit/core/dist/components/dso-map-overlays.js";
|
|
47
48
|
import { DsoMarkBar as DsoMarkBarElement, defineCustomElement as defineDsoMarkBar } from "@dso-toolkit/core/dist/components/dso-mark-bar.js";
|
|
48
49
|
import { DsoModal as DsoModalElement, defineCustomElement as defineDsoModal } from "@dso-toolkit/core/dist/components/dso-modal.js";
|
|
@@ -57,6 +58,7 @@ import { DsoProjectItem as DsoProjectItemElement, defineCustomElement as defineD
|
|
|
57
58
|
import { DsoRenvooi as DsoRenvooiElement, defineCustomElement as defineDsoRenvooi } from "@dso-toolkit/core/dist/components/dso-renvooi.js";
|
|
58
59
|
import { DsoResponsiveElement as DsoResponsiveElementElement, defineCustomElement as defineDsoResponsiveElement } from "@dso-toolkit/core/dist/components/dso-responsive-element.js";
|
|
59
60
|
import { DsoScrollable as DsoScrollableElement, defineCustomElement as defineDsoScrollable } from "@dso-toolkit/core/dist/components/dso-scrollable.js";
|
|
61
|
+
import { DsoSegmentedButton as DsoSegmentedButtonElement, defineCustomElement as defineDsoSegmentedButton } from "@dso-toolkit/core/dist/components/dso-segmented-button.js";
|
|
60
62
|
import { DsoSelectable as DsoSelectableElement, defineCustomElement as defineDsoSelectable } from "@dso-toolkit/core/dist/components/dso-selectable.js";
|
|
61
63
|
import { DsoSkiplink as DsoSkiplinkElement, defineCustomElement as defineDsoSkiplink } from "@dso-toolkit/core/dist/components/dso-skiplink.js";
|
|
62
64
|
import { DsoSlideToggle as DsoSlideToggleElement, defineCustomElement as defineDsoSlideToggle } from "@dso-toolkit/core/dist/components/dso-slide-toggle.js";
|
|
@@ -474,6 +476,14 @@ export const DsoMapLayerObject = /*@__PURE__*/ createComponent({
|
|
|
474
476
|
},
|
|
475
477
|
defineCustomElement: defineDsoMapLayerObject
|
|
476
478
|
});
|
|
479
|
+
export const DsoMapMessage = /*@__PURE__*/ createComponent({
|
|
480
|
+
tagName: 'dso-map-message',
|
|
481
|
+
elementClass: DsoMapMessageElement,
|
|
482
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
483
|
+
react: React,
|
|
484
|
+
events: {},
|
|
485
|
+
defineCustomElement: defineDsoMapMessage
|
|
486
|
+
});
|
|
477
487
|
export const DsoMapOverlays = /*@__PURE__*/ createComponent({
|
|
478
488
|
tagName: 'dso-map-overlays',
|
|
479
489
|
elementClass: DsoMapOverlaysElement,
|
|
@@ -594,6 +604,14 @@ export const DsoScrollable = /*@__PURE__*/ createComponent({
|
|
|
594
604
|
events: { onDsoScrollEnd: 'dsoScrollEnd' },
|
|
595
605
|
defineCustomElement: defineDsoScrollable
|
|
596
606
|
});
|
|
607
|
+
export const DsoSegmentedButton = /*@__PURE__*/ createComponent({
|
|
608
|
+
tagName: 'dso-segmented-button',
|
|
609
|
+
elementClass: DsoSegmentedButtonElement,
|
|
610
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
611
|
+
react: React,
|
|
612
|
+
events: { onDsoChange: 'dsoChange' },
|
|
613
|
+
defineCustomElement: defineDsoSegmentedButton
|
|
614
|
+
});
|
|
597
615
|
export const DsoSelectable = /*@__PURE__*/ createComponent({
|
|
598
616
|
tagName: 'dso-selectable',
|
|
599
617
|
elementClass: DsoSelectableElement,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Badge } from "dso-toolkit";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
import { ComponentImplementation } from "../../templates";
|
|
3
|
-
export declare const reactBadge: ComponentImplementation<Badge
|
|
4
|
+
export declare const reactBadge: ComponentImplementation<Badge<JSX.Element>>;
|
|
@@ -66,5 +66,13 @@ declare const Primary: import("storybook/internal/csf").BaseAnnotations<import("
|
|
|
66
66
|
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("storybook/internal/csf").Renderer, BadgeArgs, Partial<BadgeArgs>>, "story"> | undefined;
|
|
67
67
|
} & {
|
|
68
68
|
args?: Partial<BadgeArgs> | undefined;
|
|
69
|
+
}, WithToggletip: import("storybook/internal/csf").BaseAnnotations<import("storybook/internal/csf").Renderer, BadgeArgs> & {
|
|
70
|
+
name?: import("storybook/internal/csf").StoryName;
|
|
71
|
+
storyName?: import("storybook/internal/csf").StoryName;
|
|
72
|
+
play?: import("storybook/internal/csf").PlayFunction<import("storybook/internal/csf").Renderer, BadgeArgs> | undefined;
|
|
73
|
+
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
74
|
+
story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("storybook/internal/csf").Renderer, BadgeArgs, Partial<BadgeArgs>>, "story"> | undefined;
|
|
75
|
+
} & {
|
|
76
|
+
args?: Partial<BadgeArgs> | undefined;
|
|
69
77
|
};
|
|
70
|
-
export { Attention, Error, Info, Outline, Plain, Primary, Success, Warning };
|
|
78
|
+
export { Attention, Error, Info, Outline, Plain, Primary, Success, Warning, WithToggletip };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was automatically generated by the Stencil React Output Target.
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
|
-
import { type AccordionSectionActiveChangeEvent, type AccordionSectionAnimationEndEvent, type AccordionSectionAnimationStartEvent, type AccordionSectionToggleClickEvent, type AdvancedSelectChangeEvent, type AdvancedSelectRedirectEvent, type AlertCloseEvent, type AnnotationActiveChangeEvent, type AnnotationKaartClickEvent, type BaseLayerChangeEvent, type CardClickEvent, type DatePickerBlurEvent, type DatePickerChangeEvent, type DatePickerFocusEvent, type DatePickerKeyboardEvent, type DocumentCardClickEvent, type DocumentComponentMarkItemHighlightEvent, type DocumentComponentOpenToggleEvent, type DocumentComponentOzonContentClickEvent, type DocumentComponentRecursiveToggleEvent, type DocumentComponentTableOfContentsClickEvent, type DocumentComponentToggleAnnotationEvent, type DsoAccordionSectionCustomEvent, type DsoAdvancedSelectCustomEvent, type DsoAlertCustomEvent, type DsoAnnotationActiviteitCustomEvent, type DsoAnnotationGebiedsaanwijzingCustomEvent, type DsoAnnotationKaartCustomEvent, type DsoAnnotationLocatieCustomEvent, type DsoAnnotationOmgevingsnormwaardeCustomEvent, type DsoAutosuggestCustomEvent, type DsoCardCustomEvent, type DsoDatePickerCustomEvent, type DsoDocumentCardCustomEvent, type DsoDocumentComponentCustomEvent, type DsoExpandableCustomEvent, type DsoHeaderCustomEvent, type DsoHistoryItemCustomEvent, type DsoIconButtonCustomEvent, type DsoInfoButtonCustomEvent, type DsoInfoCustomEvent, type DsoInputRangeCustomEvent, type DsoLabelCustomEvent, type DsoLegendCustomEvent, type DsoLegendGroupCustomEvent, type DsoLegendItemCustomEvent, type DsoListButtonCustomEvent, type DsoLogoCustomEvent, type DsoMapBaseLayersCustomEvent, type DsoMapControlsCustomEvent, type DsoMapLayerCustomEvent, type DsoMapLayerObjectCustomEvent, type DsoMapOverlaysCustomEvent, type DsoMarkBarCustomEvent, type DsoModalCustomEvent, type DsoOnboardingTipCustomEvent, type DsoOzonContentCustomEvent, type DsoPaginationCustomEvent, type DsoPanelCustomEvent, type DsoPlekinfoCardCustomEvent, type DsoRenvooiCustomEvent, type DsoResponsiveElementCustomEvent, type DsoScrollEndEvent, type DsoScrollableCustomEvent, type DsoSelectableCustomEvent, type DsoSkiplinkCustomEvent, type DsoSlideToggleCustomEvent, type DsoSurveyRatingCustomEvent, type DsoTabCustomEvent, type DsoTreeViewCustomEvent, type DsoViewerGridCustomEvent, type DsotDocumentComponentDemoCustomEvent, type ExpandableAnimationEndEvent, type ExpandableAnimationStartEvent, type HeaderEvent, type HistoryItemClickEvent, type IconButtonClickEvent, type InfoButtonToggleEvent, type InputRangeChangeEvent, type LegendCloseEvent, type LegendContentSwitchEvent, type LegendGroupModeChangeEvent, type LegendItemActiveChangeEvent, type LegendItemDeleteEvent, type ListButtonChangeEvent, type ListButtonSelectedEvent, type LogoClickEvent, type LogoLabelClickEvent, type MapControlsToggleEvent, type MapLayerActiveChangeEvent, type MapLayerObjectActiveChangeEvent, type MarkBarClearEvent, type MarkBarInputEvent, type MarkBarPaginationEvent, type ModalCloseEvent, type OnboardingTipCloseEvent, type OverlayChangeEvent, type OzonContentClickEvent, type OzonContentMarkItemHighlightEvent, type PaginationSelectPageEvent, type PanelCloseEvent, type PlekinfoCardClickEvent, type RenvooiMarkItemHighlightEvent, type ResponsiveElementSize, type SelectableChangeEvent, type SkiplinkClickEvent, type SlideToggleActiveEvent, type Suggestion, type SurveyRatingCloseEvent, type SurveyRatingSubmitEvent, type TabsSwitchEvent, type TreeViewItem, type TreeViewPointerEvent, type ViewerGridActiveTabSwitchEvent, type ViewerGridChangeSizeAnimationEndEvent, type ViewerGridChangeSizeEvent, type ViewerGridCloseFilterPanelEvent, type ViewerGridCloseOverlayEvent, type ViewerGridMainToggleEvent } from "@dso-toolkit/core";
|
|
5
|
+
import { type AccordionSectionActiveChangeEvent, type AccordionSectionAnimationEndEvent, type AccordionSectionAnimationStartEvent, type AccordionSectionToggleClickEvent, type AdvancedSelectChangeEvent, type AdvancedSelectRedirectEvent, type AlertCloseEvent, type AnnotationActiveChangeEvent, type AnnotationKaartClickEvent, type BaseLayerChangeEvent, type CardClickEvent, type DatePickerBlurEvent, type DatePickerChangeEvent, type DatePickerFocusEvent, type DatePickerKeyboardEvent, type DocumentCardClickEvent, type DocumentComponentMarkItemHighlightEvent, type DocumentComponentOpenToggleEvent, type DocumentComponentOzonContentClickEvent, type DocumentComponentRecursiveToggleEvent, type DocumentComponentTableOfContentsClickEvent, type DocumentComponentToggleAnnotationEvent, type DsoAccordionSectionCustomEvent, type DsoAdvancedSelectCustomEvent, type DsoAlertCustomEvent, type DsoAnnotationActiviteitCustomEvent, type DsoAnnotationGebiedsaanwijzingCustomEvent, type DsoAnnotationKaartCustomEvent, type DsoAnnotationLocatieCustomEvent, type DsoAnnotationOmgevingsnormwaardeCustomEvent, type DsoAutosuggestCustomEvent, type DsoCardCustomEvent, type DsoDatePickerCustomEvent, type DsoDocumentCardCustomEvent, type DsoDocumentComponentCustomEvent, type DsoExpandableCustomEvent, type DsoHeaderCustomEvent, type DsoHistoryItemCustomEvent, type DsoIconButtonCustomEvent, type DsoInfoButtonCustomEvent, type DsoInfoCustomEvent, type DsoInputRangeCustomEvent, type DsoLabelCustomEvent, type DsoLegendCustomEvent, type DsoLegendGroupCustomEvent, type DsoLegendItemCustomEvent, type DsoListButtonCustomEvent, type DsoLogoCustomEvent, type DsoMapBaseLayersCustomEvent, type DsoMapControlsCustomEvent, type DsoMapLayerCustomEvent, type DsoMapLayerObjectCustomEvent, type DsoMapOverlaysCustomEvent, type DsoMarkBarCustomEvent, type DsoModalCustomEvent, type DsoOnboardingTipCustomEvent, type DsoOzonContentCustomEvent, type DsoPaginationCustomEvent, type DsoPanelCustomEvent, type DsoPlekinfoCardCustomEvent, type DsoRenvooiCustomEvent, type DsoResponsiveElementCustomEvent, type DsoScrollEndEvent, type DsoScrollableCustomEvent, type DsoSegmentedButtonCustomEvent, type DsoSelectableCustomEvent, type DsoSkiplinkCustomEvent, type DsoSlideToggleCustomEvent, type DsoSurveyRatingCustomEvent, type DsoTabCustomEvent, type DsoTreeViewCustomEvent, type DsoViewerGridCustomEvent, type DsotDocumentComponentDemoCustomEvent, type ExpandableAnimationEndEvent, type ExpandableAnimationStartEvent, type HeaderEvent, type HistoryItemClickEvent, type IconButtonClickEvent, type InfoButtonToggleEvent, type InputRangeChangeEvent, type LegendCloseEvent, type LegendContentSwitchEvent, type LegendGroupModeChangeEvent, type LegendItemActiveChangeEvent, type LegendItemDeleteEvent, type ListButtonChangeEvent, type ListButtonSelectedEvent, type LogoClickEvent, type LogoLabelClickEvent, type MapControlsToggleEvent, type MapLayerActiveChangeEvent, type MapLayerObjectActiveChangeEvent, type MarkBarClearEvent, type MarkBarInputEvent, type MarkBarPaginationEvent, type ModalCloseEvent, type OnboardingTipCloseEvent, type OverlayChangeEvent, type OzonContentClickEvent, type OzonContentMarkItemHighlightEvent, type PaginationSelectPageEvent, type PanelCloseEvent, type PlekinfoCardClickEvent, type RenvooiMarkItemHighlightEvent, type ResponsiveElementSize, type SegmentedButtonChangeEvent, type SelectableChangeEvent, type SkiplinkClickEvent, type SlideToggleActiveEvent, type Suggestion, type SurveyRatingCloseEvent, type SurveyRatingSubmitEvent, type TabsSwitchEvent, type TreeViewItem, type TreeViewPointerEvent, type ViewerGridActiveTabSwitchEvent, type ViewerGridChangeSizeAnimationEndEvent, type ViewerGridChangeSizeEvent, type ViewerGridCloseFilterPanelEvent, type ViewerGridCloseOverlayEvent, type ViewerGridMainToggleEvent } from "@dso-toolkit/core";
|
|
6
6
|
import { DsoAccordionSection as DsoAccordionSectionElement } from "@dso-toolkit/core/dist/components/dso-accordion-section.js";
|
|
7
7
|
import { DsoAccordion as DsoAccordionElement } from "@dso-toolkit/core/dist/components/dso-accordion.js";
|
|
8
8
|
import { DsoActionListItem as DsoActionListItemElement } from "@dso-toolkit/core/dist/components/dso-action-list-item.js";
|
|
@@ -47,6 +47,7 @@ import { DsoMapBaseLayers as DsoMapBaseLayersElement } from "@dso-toolkit/core/d
|
|
|
47
47
|
import { DsoMapControls as DsoMapControlsElement } from "@dso-toolkit/core/dist/components/dso-map-controls.js";
|
|
48
48
|
import { DsoMapLayerObject as DsoMapLayerObjectElement } from "@dso-toolkit/core/dist/components/dso-map-layer-object.js";
|
|
49
49
|
import { DsoMapLayer as DsoMapLayerElement } from "@dso-toolkit/core/dist/components/dso-map-layer.js";
|
|
50
|
+
import { DsoMapMessage as DsoMapMessageElement } from "@dso-toolkit/core/dist/components/dso-map-message.js";
|
|
50
51
|
import { DsoMapOverlays as DsoMapOverlaysElement } from "@dso-toolkit/core/dist/components/dso-map-overlays.js";
|
|
51
52
|
import { DsoMarkBar as DsoMarkBarElement } from "@dso-toolkit/core/dist/components/dso-mark-bar.js";
|
|
52
53
|
import { DsoModal as DsoModalElement } from "@dso-toolkit/core/dist/components/dso-modal.js";
|
|
@@ -61,6 +62,7 @@ import { DsoProjectItem as DsoProjectItemElement } from "@dso-toolkit/core/dist/
|
|
|
61
62
|
import { DsoRenvooi as DsoRenvooiElement } from "@dso-toolkit/core/dist/components/dso-renvooi.js";
|
|
62
63
|
import { DsoResponsiveElement as DsoResponsiveElementElement } from "@dso-toolkit/core/dist/components/dso-responsive-element.js";
|
|
63
64
|
import { DsoScrollable as DsoScrollableElement } from "@dso-toolkit/core/dist/components/dso-scrollable.js";
|
|
65
|
+
import { DsoSegmentedButton as DsoSegmentedButtonElement } from "@dso-toolkit/core/dist/components/dso-segmented-button.js";
|
|
64
66
|
import { DsoSelectable as DsoSelectableElement } from "@dso-toolkit/core/dist/components/dso-selectable.js";
|
|
65
67
|
import { DsoSkiplink as DsoSkiplinkElement } from "@dso-toolkit/core/dist/components/dso-skiplink.js";
|
|
66
68
|
import { DsoSlideToggle as DsoSlideToggleElement } from "@dso-toolkit/core/dist/components/dso-slide-toggle.js";
|
|
@@ -249,6 +251,8 @@ export type DsoMapLayerObjectEvents = {
|
|
|
249
251
|
onDsoMouseLeave: EventName<DsoMapLayerObjectCustomEvent<any>>;
|
|
250
252
|
};
|
|
251
253
|
export declare const DsoMapLayerObject: StencilReactComponent<DsoMapLayerObjectElement, DsoMapLayerObjectEvents>;
|
|
254
|
+
export type DsoMapMessageEvents = NonNullable<unknown>;
|
|
255
|
+
export declare const DsoMapMessage: StencilReactComponent<DsoMapMessageElement, DsoMapMessageEvents>;
|
|
252
256
|
export type DsoMapOverlaysEvents = {
|
|
253
257
|
onDsoToggleOverlay: EventName<DsoMapOverlaysCustomEvent<OverlayChangeEvent>>;
|
|
254
258
|
};
|
|
@@ -303,6 +307,10 @@ export type DsoScrollableEvents = {
|
|
|
303
307
|
onDsoScrollEnd: EventName<DsoScrollableCustomEvent<DsoScrollEndEvent>>;
|
|
304
308
|
};
|
|
305
309
|
export declare const DsoScrollable: StencilReactComponent<DsoScrollableElement, DsoScrollableEvents>;
|
|
310
|
+
export type DsoSegmentedButtonEvents = {
|
|
311
|
+
onDsoChange: EventName<DsoSegmentedButtonCustomEvent<SegmentedButtonChangeEvent>>;
|
|
312
|
+
};
|
|
313
|
+
export declare const DsoSegmentedButton: StencilReactComponent<DsoSegmentedButtonElement, DsoSegmentedButtonEvents>;
|
|
306
314
|
export type DsoSelectableEvents = {
|
|
307
315
|
onDsoChange: EventName<DsoSelectableCustomEvent<SelectableChangeEvent>>;
|
|
308
316
|
};
|
|
@@ -6,7 +6,7 @@ export interface Components {
|
|
|
6
6
|
alert: Alert<JSX.Element>;
|
|
7
7
|
attachmentsCounter: AttachmentsCounter;
|
|
8
8
|
autosuggest: Autosuggest<JSX.Element>;
|
|
9
|
-
badge: Badge
|
|
9
|
+
badge: Badge<JSX.Element>;
|
|
10
10
|
banner: Banner<JSX.Element>;
|
|
11
11
|
card: Card<JSX.Element>;
|
|
12
12
|
cardContainer: CardContainer<JSX.Element>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dso-toolkit/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "90.1.0",
|
|
5
5
|
"description": "React specific wrapper for @dso-toolkit/core web components",
|
|
6
6
|
"homepage": "https://www.dso-toolkit.nl/",
|
|
7
7
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/lodash.startcase": "^4.4.9",
|
|
31
31
|
"@types/react": "^19.2.14",
|
|
32
32
|
"@types/react-dom": "^19.2.3",
|
|
33
|
-
"dso-toolkit": "^
|
|
33
|
+
"dso-toolkit": "^90.1.0",
|
|
34
34
|
"eslint": "^9.39.2",
|
|
35
35
|
"eslint-plugin-storybook": "10.2.8",
|
|
36
36
|
"http-proxy-middleware": "^3.0.5",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"wait-on": "^9.0.4"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@dso-toolkit/core": "
|
|
48
|
+
"@dso-toolkit/core": "90.1.0",
|
|
49
49
|
"react": "^18.3.0 || ^19.0.0",
|
|
50
50
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
51
51
|
},
|