@ontoui/react 0.1.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.
- package/LICENSE +21 -0
- package/dist/index.cjs +34 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +3580 -0
- package/dist/react.css +1 -0
- package/package.json +58 -0
package/dist/react.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Button_tp3a5_1{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 16px;height:36px;font-family:inherit;font-weight:500;font-size:14px;line-height:1;white-space:nowrap;text-decoration:none;border:none;border-radius:8px;transition:background-color .15s ease,color .15s ease,border-color .15s ease,opacity .15s ease;cursor:default}._Button_tp3a5_1:focus-visible{outline:2px solid #2b94ff;outline-offset:2px}._Button_tp3a5_1[disabled]{opacity:.5;cursor:not-allowed}._Button_variant_primary_tp3a5_34{color:#fff;background-color:#2b94ff}._Button_variant_primary_tp3a5_34:hover:not([disabled]){background-color:color-mix(in srgb,#2b94ff 88%,#ffffff)}._Button_variant_primary_tp3a5_34:active:not([disabled]){background-color:color-mix(in srgb,#2b94ff 92%,#000000)}._Button_variant_secondary_tp3a5_47{color:#2b94ff;background-color:transparent;border:1px solid #2b94ff}._Button_variant_secondary_tp3a5_47:hover:not([disabled]){background-color:color-mix(in srgb,#2b94ff 4%,transparent)}._Button_variant_secondary_tp3a5_47:active:not([disabled]){background-color:color-mix(in srgb,#2b94ff 8%,transparent)}._Modal-Backdrop_1gbjc_1{position:fixed;min-height:100dvh;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:#000;opacity:.2;transition:opacity .15s cubic-bezier(.45,1.005,0,1.005);touch-action:none}._Modal-Backdrop_1gbjc_1[data-starting-style],._Modal-Backdrop_1gbjc_1[data-ending-style]{opacity:0}._Modal-Panel_1gbjc_17{box-sizing:border-box;position:fixed;top:50%;left:50%;z-index:9999;width:24rem;max-width:calc(100vw - 3rem);margin-top:-2rem;padding:1.5rem;border-radius:.5rem;outline:1px solid #e5e7eb;background-color:#f9fafb;color:#111827;transition:all .15s;touch-action:none;transform:translate(-50%,-50%) scale(calc(1 - .1 * var(--nested-dialogs)));translate:0 calc(0px + 1.25rem * var(--nested-dialogs))}._Modal-Panel_1gbjc_17[data-nested-dialog-open]:after{content:"";top:0;right:0;bottom:0;left:0;position:absolute;border-radius:inherit;background-color:#0000000d}._Modal-Panel_1gbjc_17[data-starting-style],._Modal-Panel_1gbjc_17[data-ending-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}._Modal-Title_1gbjc_53{margin-top:-.375rem;margin-bottom:.25rem;font-size:1.125rem;line-height:1.75rem;letter-spacing:-.0025em;font-weight:700}._Modal-Description_1gbjc_62{margin:0 0 1.5rem;font-size:1rem;line-height:1.5rem;color:#4b5563}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ontoui/react",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "OntoUI React component library",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./styles": "./dist/react.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"sideEffects": [
|
|
21
|
+
"**/*.css"
|
|
22
|
+
],
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"react": ">=18",
|
|
25
|
+
"react-dom": ">=18"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@base-ui/react": "^1.4.1"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
32
|
+
"@testing-library/react": "^16.3.2",
|
|
33
|
+
"@testing-library/user-event": "^14.6.1",
|
|
34
|
+
"@types/react": "^19.1.2",
|
|
35
|
+
"@types/react-dom": "^19.1.2",
|
|
36
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
37
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
38
|
+
"jsdom": "^29.1.1",
|
|
39
|
+
"react": "^19.1.0",
|
|
40
|
+
"react-dom": "^19.1.0",
|
|
41
|
+
"typescript": "^5.8.3",
|
|
42
|
+
"vite": "^6.3.4",
|
|
43
|
+
"vite-plugin-dts": "^4.5.3",
|
|
44
|
+
"vitest": "^4.1.5"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "vite build",
|
|
51
|
+
"dev": "vite build --watch",
|
|
52
|
+
"lint": "tsc --noEmit",
|
|
53
|
+
"test": "vitest run",
|
|
54
|
+
"test:watch": "vitest",
|
|
55
|
+
"test:coverage": "vitest run --coverage",
|
|
56
|
+
"clean": "rm -rf dist"
|
|
57
|
+
}
|
|
58
|
+
}
|