@redocly/theme-experimental 0.1.37 → 0.1.39

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme-experimental",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "description": "Experimental UI components lib",
5
5
  "keywords": [
6
6
  "theme-experimental",
@@ -24,18 +24,6 @@
24
24
  "@markdoc/markdoc": "0.4.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@storybook/addon-actions": "7.6.19",
28
- "@storybook/addon-essentials": "7.6.19",
29
- "@storybook/addon-interactions": "7.6.19",
30
- "@storybook/addon-links": "7.6.19",
31
- "@storybook/addon-viewport": "7.6.19",
32
- "@storybook/addons": "7.6.17",
33
- "@storybook/core-common": "7.6.19",
34
- "@storybook/node-logger": "7.6.19",
35
- "@storybook/react": "7.6.19",
36
- "@storybook/react-webpack5": "7.6.19",
37
- "@storybook/testing-library": "0.2.2",
38
- "@storybook/theming": "8.0.0",
39
27
  "@testing-library/jest-dom": "6.1.5",
40
28
  "@testing-library/react": "14.1.2",
41
29
  "@testing-library/user-event": "14.5.1",
@@ -49,7 +37,6 @@
49
37
  "@types/react-dom": "18.2.25",
50
38
  "@types/styled-components": "5.1.34",
51
39
  "@types/styled-system": "5.1.22",
52
- "chromatic": "6.17.2",
53
40
  "concurrently": "7.6.0",
54
41
  "jest": "29.5.0",
55
42
  "jest-environment-jsdom": "29.5.0",
@@ -61,9 +48,6 @@
61
48
  "react-refresh": "0.14.2",
62
49
  "react-router-dom": "6.21.1",
63
50
  "rimraf": "5.0.7",
64
- "storybook": "7.6.19",
65
- "storybook-addon-pseudo-states": "3.1.1",
66
- "storybook-design-token": "3.1.0",
67
51
  "styled-components": "5.3.11",
68
52
  "styled-system": "5.1.5",
69
53
  "ts-jest": "29.1.2",
@@ -76,19 +60,14 @@
76
60
  "webpack": "5.94.0"
77
61
  },
78
62
  "dependencies": {
79
- "@redocly/config": "0.13.0",
80
- "@redocly/theme": "0.44.5"
63
+ "@redocly/config": "0.14.0",
64
+ "@redocly/theme": "0.44.7"
81
65
  },
82
66
  "scripts": {
83
- "start": "npm-run-all --parallel storybook storybook:tokens:watch",
84
67
  "watch": "tsc -p tsconfig.build.json && (concurrently \"tsc -w -p tsconfig.build.json\" \"tsc-alias -w -p tsconfig.build.json\")",
85
68
  "ts:check": "tsc --noEmit --skipLibCheck",
86
69
  "clean": "rimraf lib",
87
70
  "compile": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
88
- "build": "npm run clean && npm run compile",
89
- "storybook": "storybook dev -p 6007",
90
- "storybook:build": "npm run storybook:tokens && storybook build",
91
- "storybook:tokens": "ts-node scripts/generate-css-tokens.ts",
92
- "storybook:tokens:watch": "ts-node-dev --respawn scripts/generate-css-tokens.ts"
71
+ "build": "npm run clean && npm run compile"
93
72
  }
94
73
  }
@@ -1,37 +0,0 @@
1
- import React from 'react';
2
-
3
- import type { Meta, StoryObj } from '@storybook/react';
4
-
5
- import { Card } from './Card';
6
-
7
- type Story = StoryObj<typeof Card>;
8
-
9
- const meta: Meta<typeof Card> = {
10
- title: 'Components/Card',
11
- component: Card,
12
- };
13
-
14
- export default meta;
15
-
16
- export const Default: Story = {
17
- args: {
18
- title: 'Card Links',
19
- links: {
20
- type: 'group' as const,
21
- label: 'Card Links',
22
- items: [
23
- {
24
- type: 'link' as const,
25
- link: '#1',
26
- label: 'Link 1',
27
- },
28
- {
29
- type: 'link' as const,
30
- link: '#2',
31
- label: 'Link 2',
32
- },
33
- ],
34
- },
35
- },
36
- render: (args) => <Card {...args} />,
37
- };