@dracor/react 1.0.0-beta.1 → 1.0.0-rc.2
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 +7 -12
- package/dist/index.es.js +418 -426
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -23
- package/dist/index.umd.js.map +1 -1
- package/package.json +51 -54
- 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-rc.2",
|
|
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,70 +25,67 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@tanstack/react-router": "^1.
|
|
28
|
+
"@tanstack/react-router": "^1.163.3",
|
|
29
29
|
"react-markdown": "^10.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@chromatic-com/storybook": "^
|
|
33
|
-
"@eslint/js": "^
|
|
34
|
-
"@fortawesome/fontawesome-svg-core": "^
|
|
35
|
-
"@fortawesome/free-brands-svg-icons": "^
|
|
36
|
-
"@fortawesome/free-solid-svg-icons": "^
|
|
37
|
-
"@fortawesome/react-fontawesome": "^
|
|
38
|
-
"@headlessui/react": "^2.2.
|
|
39
|
-
"@storybook/addon-docs": "^
|
|
40
|
-
"@storybook/addon-
|
|
41
|
-
"@storybook/addon-
|
|
42
|
-
"@storybook/
|
|
43
|
-
"@storybook/
|
|
44
|
-
"@storybook/experimental-addon-test": "^8.6.12",
|
|
45
|
-
"@storybook/react": "^8.6.12",
|
|
46
|
-
"@storybook/react-vite": "^8.6.12",
|
|
47
|
-
"@storybook/test": "^8.6.12",
|
|
32
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
33
|
+
"@eslint/js": "^10.0.1",
|
|
34
|
+
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
35
|
+
"@fortawesome/free-brands-svg-icons": "^7.2.0",
|
|
36
|
+
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
37
|
+
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
38
|
+
"@headlessui/react": "^2.2.9",
|
|
39
|
+
"@storybook/addon-docs": "^10.2.14",
|
|
40
|
+
"@storybook/addon-links": "^10.2.14",
|
|
41
|
+
"@storybook/addon-vitest": "10.2.14",
|
|
42
|
+
"@storybook/builder-vite": "^10.2.14",
|
|
43
|
+
"@storybook/react-vite": "^10.2.14",
|
|
48
44
|
"@svgr/cli": "^8.1.0",
|
|
49
|
-
"@tailwindcss/vite": "^4.1
|
|
45
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
50
46
|
"@tanstack/react-table": "^8.21.3",
|
|
51
|
-
"@testing-library/jest-dom": "^6.
|
|
52
|
-
"@testing-library/react": "^16.3.
|
|
53
|
-
"@types/jest": "^
|
|
54
|
-
"@types/react": "^19.
|
|
47
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
48
|
+
"@testing-library/react": "^16.3.2",
|
|
49
|
+
"@types/jest": "^30.0.0",
|
|
50
|
+
"@types/react": "^19.2.14",
|
|
55
51
|
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
56
|
-
"@types/react-dom": "^19.
|
|
52
|
+
"@types/react-dom": "^19.2.3",
|
|
57
53
|
"@types/swagger-ui-react": "^5.18.0",
|
|
58
|
-
"@vitejs/plugin-react": "^
|
|
59
|
-
"@vitest/browser": "^
|
|
60
|
-
"@vitest/
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"eslint
|
|
64
|
-
"eslint-plugin-react-
|
|
65
|
-
"eslint-plugin-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
54
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
55
|
+
"@vitest/browser": "^4.0.18",
|
|
56
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
57
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
58
|
+
"CETEIcean": "^1.9.5",
|
|
59
|
+
"eslint": "^10.0.2",
|
|
60
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
61
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
62
|
+
"eslint-plugin-storybook": "^10.2.14",
|
|
63
|
+
"globals": "^17.4.0",
|
|
64
|
+
"jsdom": "^28.1.0",
|
|
65
|
+
"playwright": "^1.58.2",
|
|
66
|
+
"prettier": "^3.8.1",
|
|
67
|
+
"react": "^19.2.4",
|
|
71
68
|
"react-copy-to-clipboard": "^5.1.0",
|
|
72
|
-
"react-dom": "^19.
|
|
69
|
+
"react-dom": "^19.2.4",
|
|
73
70
|
"react-helmet-async": "^2.0.5",
|
|
74
71
|
"remark-gfm": "^4.0.1",
|
|
75
|
-
"storybook": "^
|
|
76
|
-
"swagger-ui-react": "^5.
|
|
77
|
-
"tailwindcss": "^4.1
|
|
78
|
-
"typescript": "~5.
|
|
79
|
-
"typescript-eslint": "^8.
|
|
80
|
-
"vite": "^
|
|
81
|
-
"vite-plugin-dts": "^4.5.
|
|
82
|
-
"vitest": "^
|
|
72
|
+
"storybook": "^10.2.14",
|
|
73
|
+
"swagger-ui-react": "^5.32.0",
|
|
74
|
+
"tailwindcss": "^4.2.1",
|
|
75
|
+
"typescript": "~5.9.3",
|
|
76
|
+
"typescript-eslint": "^8.56.1",
|
|
77
|
+
"vite": "^7.3.1",
|
|
78
|
+
"vite-plugin-dts": "^4.5.4",
|
|
79
|
+
"vitest": "^4.0.18"
|
|
83
80
|
},
|
|
84
81
|
"peerDependencies": {
|
|
85
|
-
"@fortawesome/fontawesome-svg-core": "^
|
|
86
|
-
"@fortawesome/free-brands-svg-icons": "^
|
|
87
|
-
"@fortawesome/free-solid-svg-icons": "^
|
|
88
|
-
"@fortawesome/react-fontawesome": "^
|
|
89
|
-
"@headlessui/react": "^2.2.
|
|
90
|
-
"@tanstack/react-router": "^1.
|
|
91
|
-
"@tanstack/react-table": "^8.21.
|
|
82
|
+
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
83
|
+
"@fortawesome/free-brands-svg-icons": "^7.2.0",
|
|
84
|
+
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
85
|
+
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
86
|
+
"@headlessui/react": "^2.2.9",
|
|
87
|
+
"@tanstack/react-router": "^1.163.3",
|
|
88
|
+
"@tanstack/react-table": "^8.21.3",
|
|
92
89
|
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
93
90
|
"CETEIcean": "^1.9.4",
|
|
94
91
|
"react": "^19.0.0",
|
|
@@ -96,7 +93,7 @@
|
|
|
96
93
|
"react-dom": "^19.0.0",
|
|
97
94
|
"react-helmet-async": "^2.0.5",
|
|
98
95
|
"react-markdown": "^10.1.0",
|
|
99
|
-
"swagger-ui-react": "^5.
|
|
96
|
+
"swagger-ui-react": "^5.31.2"
|
|
100
97
|
},
|
|
101
98
|
"eslintConfig": {
|
|
102
99
|
"extends": [
|
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);
|