@sit-onyx/storybook-utils 1.0.2 → 1.1.0-dev-20251106075238

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sit-onyx/storybook-utils",
3
3
  "description": "Storybook utilities for Vue",
4
- "version": "1.0.2",
4
+ "version": "1.1.0-dev-20251106075238",
5
5
  "type": "module",
6
6
  "author": "Schwarz IT KG",
7
7
  "license": "Apache-2.0",
@@ -32,16 +32,16 @@
32
32
  "storybook": ">= 9.0.0",
33
33
  "vue-component-type-helpers": ">= 2",
34
34
  "@sit-onyx/flags": "^1.0.0",
35
- "@sit-onyx/icons": "^1.1.0"
35
+ "@sit-onyx/icons": "^1.2.0-dev-20251106075238"
36
36
  },
37
37
  "dependencies": {
38
38
  "deepmerge-ts": "^7.1.5"
39
39
  },
40
40
  "devDependencies": {
41
- "storybook": "^9.1.10",
41
+ "storybook": "^10.0.4",
42
42
  "vue": "3.5.22",
43
- "vue-component-type-helpers": "^3.1.1",
44
- "@sit-onyx/icons": "^1.1.0",
43
+ "vue-component-type-helpers": "^3.1.3",
44
+ "@sit-onyx/icons": "^1.2.0-dev-20251106075238",
45
45
  "@sit-onyx/shared": "^0.1.0"
46
46
  },
47
47
  "scripts": {
package/src/actions.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { Decorator } from "@storybook/vue3-vite";
2
2
  import { action } from "storybook/actions";
3
- import { useArgs } from "storybook/internal/preview-api";
4
3
  import type { ArgTypes, ArgTypesEnhancer, StrictInputType } from "storybook/internal/types";
4
+ import { useArgs } from "storybook/preview-api";
5
5
  import { h, isReactive, reactive, watch, type Component, type Events } from "vue";
6
6
  import type { ComponentProps, ComponentSlots } from "vue-component-type-helpers";
7
7
  import { EVENT_DOC_MAP } from "./events.js";
package/src/preview.ts CHANGED
@@ -2,8 +2,8 @@ import type { Preview } from "@storybook/vue3-vite";
2
2
  import { DARK_MODE_EVENT_NAME } from "@vueless/storybook-dark-mode";
3
3
  import { deepmerge } from "deepmerge-ts";
4
4
  import { DOCS_RENDERED } from "storybook/internal/core-events";
5
- import { addons } from "storybook/internal/preview-api";
6
- import type { ThemeVars } from "storybook/internal/theming";
5
+ import { addons } from "storybook/preview-api";
6
+ import type { ThemeVars } from "storybook/theming";
7
7
  import { enhanceEventArgTypes } from "./actions.js";
8
8
  import { requiredGlobalType, withRequired } from "./required.js";
9
9
  import { ONYX_BREAKPOINTS, createTheme, type BrandDetails } from "./theme.js";
package/src/theme.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { create, type ThemeVars } from "storybook/internal/theming";
2
- import type { Viewport } from "storybook/internal/viewport";
1
+ import { create, type ThemeVars } from "storybook/theming";
2
+ import type { Viewport } from "storybook/viewport";
3
3
  import { ONYX_BREAKPOINTS as RAW_ONYX_BREAKPOINTS, type OnyxBreakpoint } from "./breakpoints.js";
4
4
 
5
5
  export type BrandDetails = Pick<ThemeVars, "brandTitle" | "brandImage" | "brandUrl">;