@dracor/react 1.0.0-alpha.2 → 1.0.0-beta.5
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/index.d.ts +30 -23
- package/dist/index.es.js +347 -316
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +43 -45
- package/src/dracor.css +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dracor/react",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.5",
|
|
4
4
|
"description": "DraCor react component library",
|
|
5
5
|
"repository": "https://github.com/dracor-org/dracor-react",
|
|
6
6
|
"homepage": "https://github.com/dracor-org/dracor-react#readme",
|
|
@@ -25,65 +25,62 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@tanstack/react-router": "^1.
|
|
28
|
+
"@tanstack/react-router": "^1.131.49",
|
|
29
|
+
"react-markdown": "^10.1.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
|
-
"@chromatic-com/storybook": "^
|
|
32
|
-
"@eslint/js": "^9.
|
|
33
|
-
"@fortawesome/fontawesome-svg-core": "^
|
|
34
|
-
"@fortawesome/free-brands-svg-icons": "^
|
|
35
|
-
"@fortawesome/free-solid-svg-icons": "^
|
|
36
|
-
"@fortawesome/react-fontawesome": "^0.2
|
|
37
|
-
"@headlessui/react": "^2.2.
|
|
38
|
-
"@storybook/addon-docs": "^
|
|
39
|
-
"@storybook/addon-
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@storybook/
|
|
42
|
-
"@storybook/builder-vite": "^8.6.12",
|
|
43
|
-
"@storybook/experimental-addon-test": "^8.6.12",
|
|
44
|
-
"@storybook/react": "^8.6.12",
|
|
45
|
-
"@storybook/react-vite": "^8.6.12",
|
|
46
|
-
"@storybook/test": "^8.6.12",
|
|
32
|
+
"@chromatic-com/storybook": "^4.1.1",
|
|
33
|
+
"@eslint/js": "^9.36.0",
|
|
34
|
+
"@fortawesome/fontawesome-svg-core": "^7.0.1",
|
|
35
|
+
"@fortawesome/free-brands-svg-icons": "^7.0.1",
|
|
36
|
+
"@fortawesome/free-solid-svg-icons": "^7.0.1",
|
|
37
|
+
"@fortawesome/react-fontawesome": "^3.0.2",
|
|
38
|
+
"@headlessui/react": "^2.2.8",
|
|
39
|
+
"@storybook/addon-docs": "^9.1.7",
|
|
40
|
+
"@storybook/addon-links": "^9.1.7",
|
|
41
|
+
"@storybook/builder-vite": "^9.1.7",
|
|
42
|
+
"@storybook/react-vite": "^9.1.7",
|
|
47
43
|
"@svgr/cli": "^8.1.0",
|
|
48
|
-
"@tailwindcss/vite": "^4.1.
|
|
44
|
+
"@tailwindcss/vite": "^4.1.13",
|
|
49
45
|
"@tanstack/react-table": "^8.21.3",
|
|
50
|
-
"@testing-library/jest-dom": "^6.
|
|
46
|
+
"@testing-library/jest-dom": "^6.8.0",
|
|
51
47
|
"@testing-library/react": "^16.3.0",
|
|
52
|
-
"@types/jest": "^
|
|
53
|
-
"@types/react": "^19.1.
|
|
48
|
+
"@types/jest": "^30.0.0",
|
|
49
|
+
"@types/react": "^19.1.13",
|
|
54
50
|
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
55
|
-
"@types/react-dom": "^19.1.
|
|
51
|
+
"@types/react-dom": "^19.1.9",
|
|
56
52
|
"@types/swagger-ui-react": "^5.18.0",
|
|
57
|
-
"@vitejs/plugin-react": "^
|
|
58
|
-
"@vitest/browser": "^3.
|
|
59
|
-
"@vitest/coverage-v8": "^3.
|
|
60
|
-
"CETEIcean": "^1.9.
|
|
61
|
-
"eslint": "^9.
|
|
53
|
+
"@vitejs/plugin-react": "^5.0.3",
|
|
54
|
+
"@vitest/browser": "^3.2.4",
|
|
55
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
56
|
+
"CETEIcean": "^1.9.5",
|
|
57
|
+
"eslint": "^9.36.0",
|
|
62
58
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
63
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
64
|
-
"eslint-plugin-storybook": "^
|
|
65
|
-
"globals": "^16.
|
|
66
|
-
"jsdom": "^
|
|
67
|
-
"playwright": "^1.
|
|
68
|
-
"prettier": "^3.
|
|
69
|
-
"react": "^19.1.
|
|
59
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
60
|
+
"eslint-plugin-storybook": "^9.1.7",
|
|
61
|
+
"globals": "^16.4.0",
|
|
62
|
+
"jsdom": "^27.0.0",
|
|
63
|
+
"playwright": "^1.55.0",
|
|
64
|
+
"prettier": "^3.6.2",
|
|
65
|
+
"react": "^19.1.1",
|
|
70
66
|
"react-copy-to-clipboard": "^5.1.0",
|
|
71
|
-
"react-dom": "^19.1.
|
|
67
|
+
"react-dom": "^19.1.1",
|
|
72
68
|
"react-helmet-async": "^2.0.5",
|
|
73
69
|
"remark-gfm": "^4.0.1",
|
|
74
|
-
"storybook": "^
|
|
75
|
-
"swagger-ui-react": "^5.
|
|
76
|
-
"tailwindcss": "^4.1.
|
|
70
|
+
"storybook": "^9.1.7",
|
|
71
|
+
"swagger-ui-react": "^5.29.0",
|
|
72
|
+
"tailwindcss": "^4.1.11",
|
|
77
73
|
"typescript": "~5.7.3",
|
|
78
|
-
"typescript-eslint": "^8.
|
|
79
|
-
"vite": "^
|
|
80
|
-
"vite-plugin-dts": "^4.5.
|
|
81
|
-
"vitest": "^3.
|
|
74
|
+
"typescript-eslint": "^8.44.0",
|
|
75
|
+
"vite": "^7.1.6",
|
|
76
|
+
"vite-plugin-dts": "^4.5.4",
|
|
77
|
+
"vitest": "^3.2.4",
|
|
78
|
+
"@storybook/addon-vitest": "9.1.7"
|
|
82
79
|
},
|
|
83
80
|
"peerDependencies": {
|
|
84
|
-
"@fortawesome/fontawesome-svg-core": "^
|
|
81
|
+
"@fortawesome/fontawesome-svg-core": "^7.0.0",
|
|
85
82
|
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
|
86
|
-
"@fortawesome/free-solid-svg-icons": "^
|
|
83
|
+
"@fortawesome/free-solid-svg-icons": "^7.0.0",
|
|
87
84
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
88
85
|
"@headlessui/react": "^2.2.0",
|
|
89
86
|
"@tanstack/react-router": "^1.116.0",
|
|
@@ -94,6 +91,7 @@
|
|
|
94
91
|
"react-copy-to-clipboard": "^5.1.0",
|
|
95
92
|
"react-dom": "^19.0.0",
|
|
96
93
|
"react-helmet-async": "^2.0.5",
|
|
94
|
+
"react-markdown": "^10.1.0",
|
|
97
95
|
"swagger-ui-react": "^5.20.0"
|
|
98
96
|
},
|
|
99
97
|
"eslintConfig": {
|
package/src/dracor.css
CHANGED
|
@@ -101,13 +101,16 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
input {
|
|
104
|
-
@apply shadow-sm appearance-none border rounded-sm py-2 px-3 text-gray-700 mb-4;
|
|
104
|
+
@apply shadow-sm appearance-none border rounded-sm py-2 px-3 text-gray-700 bg-white mb-4;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* Basic styling for CETEIcean */
|
|
109
109
|
@layer base {
|
|
110
|
-
tei-div,
|
|
110
|
+
tei-div,
|
|
111
|
+
tei-p,
|
|
112
|
+
tei-head,
|
|
113
|
+
tei-front {
|
|
111
114
|
display: block;
|
|
112
115
|
}
|
|
113
116
|
tei-p {
|
|
@@ -123,17 +126,17 @@
|
|
|
123
126
|
text-align: center;
|
|
124
127
|
margin-bottom: var(--spacing-4);
|
|
125
128
|
}
|
|
126
|
-
tei-doctitle > tei-titlepart[type=main] {
|
|
129
|
+
tei-doctitle > tei-titlepart[type='main'] {
|
|
127
130
|
font-size: var(--text-2xl);
|
|
128
131
|
margin-top: var(--spacing-3);
|
|
129
132
|
margin-bottom: var(--spacing-3);
|
|
130
133
|
}
|
|
131
|
-
tei-doctitle > tei-titlepart[type=sub] {
|
|
134
|
+
tei-doctitle > tei-titlepart[type='sub'] {
|
|
132
135
|
font-size: var(--text-xl);
|
|
133
136
|
margin-top: var(--spacing-3);
|
|
134
137
|
margin-bottom: var(--spacing-3);
|
|
135
138
|
}
|
|
136
|
-
tei-div[type=chapter] > tei-head {
|
|
139
|
+
tei-div[type='chapter'] > tei-head {
|
|
137
140
|
font-size: var(--text-xl);
|
|
138
141
|
font-weight: bold;
|
|
139
142
|
margin-top: var(--spacing-8);
|