@dso-toolkit/react 85.0.0 → 87.0.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.
@@ -3,8 +3,8 @@ import { DsoHighlightBox } from "../../components";
3
3
  export const reactHighlightBox = {
4
4
  component: "highlightBox",
5
5
  implementation: "react",
6
- template: ({ iconTemplate }) => function highlightBoxTemplate({ yellow, white, dropShadow, border, step, icon, content }) {
7
- return (React.createElement(DsoHighlightBox, { step: step, yellow: yellow, white: white, dropShadow: dropShadow, border: border },
6
+ template: ({ iconTemplate }) => function highlightBoxTemplate({ yellow, white, green, dropShadow, border, step, icon, content }) {
7
+ return (React.createElement(DsoHighlightBox, { step: step, yellow: yellow, white: white, green: green, dropShadow: dropShadow, border: border },
8
8
  icon && iconTemplate({ icon, slot: "icon" }),
9
9
  typeof content === "string" ? (React.createElement("div", { className: "dso-rich-content", dangerouslySetInnerHTML: { __html: content } })) : (React.createElement("div", { className: "dso-rich-content" }, content))));
10
10
  },
@@ -7,7 +7,7 @@ const meta = {
7
7
  title: "Highlight Box",
8
8
  };
9
9
  export default meta;
10
- const { Default, Yellow, WhiteWithDropshadow, WithBorder, WithIcon, WithBannerImage } = highlightBoxStories({
10
+ const { Default, Yellow, Green, WhiteWithDropshadow, WithBorder, WithIcon, WithBannerImage } = highlightBoxStories({
11
11
  templateContainer,
12
12
  storyTemplates: (templates) => {
13
13
  const { highlightBoxTemplate, iconTemplate } = templates;
@@ -39,4 +39,4 @@ const { Default, Yellow, WhiteWithDropshadow, WithBorder, WithIcon, WithBannerIm
39
39
  };
40
40
  },
41
41
  });
42
- export { Default, WhiteWithDropshadow, WithBannerImage, WithBorder, WithIcon, Yellow };
42
+ export { Default, Green, WhiteWithDropshadow, WithBannerImage, WithBorder, WithIcon, Yellow };
@@ -18,6 +18,7 @@ import { DsoButtonGroup as DsoButtonGroupElement, defineCustomElement as defineD
18
18
  import { DsoCardContainer as DsoCardContainerElement, defineCustomElement as defineDsoCardContainer } from "@dso-toolkit/core/dist/components/dso-card-container.js";
19
19
  import { DsoCard as DsoCardElement, defineCustomElement as defineDsoCard } from "@dso-toolkit/core/dist/components/dso-card.js";
20
20
  import { DsoContactInformation as DsoContactInformationElement, defineCustomElement as defineDsoContactInformation } from "@dso-toolkit/core/dist/components/dso-contact-information.js";
21
+ import { DsoCursorTooltip as DsoCursorTooltipElement, defineCustomElement as defineDsoCursorTooltip } from "@dso-toolkit/core/dist/components/dso-cursor-tooltip.js";
21
22
  import { DsoDatePicker as DsoDatePickerElement, defineCustomElement as defineDsoDatePicker } from "@dso-toolkit/core/dist/components/dso-date-picker.js";
22
23
  import { DsoDocumentCard as DsoDocumentCardElement, defineCustomElement as defineDsoDocumentCard } from "@dso-toolkit/core/dist/components/dso-document-card.js";
23
24
  import { DsoDocumentComponent as DsoDocumentComponentElement, defineCustomElement as defineDsoDocumentComponent } from "@dso-toolkit/core/dist/components/dso-document-component.js";
@@ -234,6 +235,14 @@ export const DsoContactInformation = /*@__PURE__*/ createComponent({
234
235
  events: {},
235
236
  defineCustomElement: defineDsoContactInformation
236
237
  });
238
+ export const DsoCursorTooltip = /*@__PURE__*/ createComponent({
239
+ tagName: 'dso-cursor-tooltip',
240
+ elementClass: DsoCursorTooltipElement,
241
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
242
+ react: React,
243
+ events: {},
244
+ defineCustomElement: defineDsoCursorTooltip
245
+ });
237
246
  export const DsoDatePicker = /*@__PURE__*/ createComponent({
238
247
  tagName: 'dso-date-picker',
239
248
  elementClass: DsoDatePickerElement,
@@ -18,6 +18,14 @@ declare const Default: import("storybook/internal/csf").BaseAnnotations<import("
18
18
  story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("storybook/internal/csf").Renderer, HighlightBoxArgs, Partial<HighlightBoxArgs>>, "story"> | undefined;
19
19
  } & {
20
20
  args?: Partial<HighlightBoxArgs> | undefined;
21
+ }, Green: import("storybook/internal/csf").BaseAnnotations<import("storybook/internal/csf").Renderer, HighlightBoxArgs> & {
22
+ name?: import("storybook/internal/csf").StoryName;
23
+ storyName?: import("storybook/internal/csf").StoryName;
24
+ play?: import("storybook/internal/csf").PlayFunction<import("storybook/internal/csf").Renderer, HighlightBoxArgs> | undefined;
25
+ globals?: import("storybook/internal/csf").Globals | undefined;
26
+ story?: Omit<import("storybook/internal/csf").StoryAnnotations<import("storybook/internal/csf").Renderer, HighlightBoxArgs, Partial<HighlightBoxArgs>>, "story"> | undefined;
27
+ } & {
28
+ args?: Partial<HighlightBoxArgs> | undefined;
21
29
  }, WhiteWithDropshadow: import("storybook/internal/csf").BaseAnnotations<import("storybook/internal/csf").Renderer, HighlightBoxArgs> & {
22
30
  name?: import("storybook/internal/csf").StoryName;
23
31
  storyName?: import("storybook/internal/csf").StoryName;
@@ -51,4 +59,4 @@ declare const Default: import("storybook/internal/csf").BaseAnnotations<import("
51
59
  } & {
52
60
  args?: Partial<HighlightBoxArgs> | undefined;
53
61
  };
54
- export { Default, WhiteWithDropshadow, WithBannerImage, WithBorder, WithIcon, Yellow };
62
+ export { Default, Green, WhiteWithDropshadow, WithBannerImage, WithBorder, WithIcon, Yellow };
@@ -22,6 +22,7 @@ import { DsoButtonGroup as DsoButtonGroupElement } from "@dso-toolkit/core/dist/
22
22
  import { DsoCardContainer as DsoCardContainerElement } from "@dso-toolkit/core/dist/components/dso-card-container.js";
23
23
  import { DsoCard as DsoCardElement } from "@dso-toolkit/core/dist/components/dso-card.js";
24
24
  import { DsoContactInformation as DsoContactInformationElement } from "@dso-toolkit/core/dist/components/dso-contact-information.js";
25
+ import { DsoCursorTooltip as DsoCursorTooltipElement } from "@dso-toolkit/core/dist/components/dso-cursor-tooltip.js";
25
26
  import { DsoDatePicker as DsoDatePickerElement } from "@dso-toolkit/core/dist/components/dso-date-picker.js";
26
27
  import { DsoDocumentCard as DsoDocumentCardElement } from "@dso-toolkit/core/dist/components/dso-document-card.js";
27
28
  import { DsoDocumentComponent as DsoDocumentComponentElement } from "@dso-toolkit/core/dist/components/dso-document-component.js";
@@ -137,6 +138,8 @@ export type DsoCardContainerEvents = NonNullable<unknown>;
137
138
  export declare const DsoCardContainer: StencilReactComponent<DsoCardContainerElement, DsoCardContainerEvents>;
138
139
  export type DsoContactInformationEvents = NonNullable<unknown>;
139
140
  export declare const DsoContactInformation: StencilReactComponent<DsoContactInformationElement, DsoContactInformationEvents>;
141
+ export type DsoCursorTooltipEvents = NonNullable<unknown>;
142
+ export declare const DsoCursorTooltip: StencilReactComponent<DsoCursorTooltipElement, DsoCursorTooltipEvents>;
140
143
  export type DsoDatePickerEvents = {
141
144
  onDsoDateChange: EventName<DsoDatePickerCustomEvent<DatePickerChangeEvent>>;
142
145
  onDsoBlur: EventName<DsoDatePickerCustomEvent<DatePickerBlurEvent>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dso-toolkit/react",
3
3
  "type": "module",
4
- "version": "85.0.0",
4
+ "version": "87.0.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.7",
32
32
  "@types/react-dom": "^19.2.3",
33
- "dso-toolkit": "^85.0.0",
33
+ "dso-toolkit": "^87.0.0",
34
34
  "eslint": "^9.39.2",
35
35
  "eslint-plugin-storybook": "10.1.9",
36
36
  "http-proxy-middleware": "^3.0.5",
@@ -45,7 +45,7 @@
45
45
  "wait-on": "^9.0.3"
46
46
  },
47
47
  "peerDependencies": {
48
- "@dso-toolkit/core": "85.0.0",
48
+ "@dso-toolkit/core": "87.0.0",
49
49
  "react": "^18.3.0 || ^19.0.0",
50
50
  "react-dom": "^18.3.0 || ^19.0.0"
51
51
  },