@editio-ui/react 0.0.0-stage → 0.1.1
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/components/button/button.d.ts +17 -0
- package/dist/components/button/button.js +11 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/checkbox/checkbox.d.ts +23 -0
- package/dist/components/checkbox/checkbox.js +19 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/input.d.ts +15 -0
- package/dist/components/input/input.js +14 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/radio-group.d.ts +31 -0
- package/dist/components/radio-group/radio-group.js +47 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/separator.d.ts +18 -0
- package/dist/components/separator/separator.js +13 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/switch.d.ts +7 -0
- package/dist/components/switch/switch.js +12 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/textarea.d.ts +15 -0
- package/dist/components/textarea/textarea.js +14 -0
- package/dist/editorial/backgrounds.css +201 -0
- package/dist/editorial/buttons.css +209 -0
- package/dist/editorial/choices.css +360 -0
- package/dist/editorial/disclosure.css +359 -0
- package/dist/editorial/feedback.css +272 -0
- package/dist/editorial/fields.css +205 -0
- package/dist/editorial/motion.css +184 -0
- package/dist/editorial/showcase.css +395 -0
- package/dist/editorial/tokens.css +129 -0
- package/dist/editorial/type.css +379 -0
- package/dist/editorial-fonts.css +4 -0
- package/dist/editorial.css +2704 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +8 -0
- package/package.json +74 -4
- package/README.md +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { Button } from "./components/button/index.js";
|
|
2
|
+
export type { ButtonProps } from "./components/button/index.js";
|
|
3
|
+
export { Checkbox } from "./components/checkbox/index.js";
|
|
4
|
+
export type { CheckboxProps } from "./components/checkbox/index.js";
|
|
5
|
+
export { Switch } from "./components/switch/index.js";
|
|
6
|
+
export type { SwitchProps } from "./components/switch/index.js";
|
|
7
|
+
export { RadioGroup } from "./components/radio-group/index.js";
|
|
8
|
+
export type { RadioGroupRootProps, RadioGroupItemProps } from "./components/radio-group/index.js";
|
|
9
|
+
export { Input } from "./components/input/index.js";
|
|
10
|
+
export type { InputProps } from "./components/input/index.js";
|
|
11
|
+
export { Textarea } from "./components/textarea/index.js";
|
|
12
|
+
export type { TextareaProps } from "./components/textarea/index.js";
|
|
13
|
+
export { Separator } from "./components/separator/index.js";
|
|
14
|
+
export type { SeparatorProps } from "./components/separator/index.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Button as e } from "./components/button/button.js";
|
|
2
|
+
import { Checkbox as t } from "./components/checkbox/checkbox.js";
|
|
3
|
+
import { Switch as n } from "./components/switch/switch.js";
|
|
4
|
+
import { RadioGroup as r } from "./components/radio-group/radio-group.js";
|
|
5
|
+
import { Input as i } from "./components/input/input.js";
|
|
6
|
+
import { Textarea as a } from "./components/textarea/textarea.js";
|
|
7
|
+
import { Separator as o } from "./components/separator/separator.js";
|
|
8
|
+
export { e as Button, t as Checkbox, i as Input, r as RadioGroup, o as Separator, n as Switch, a as Textarea };
|
package/package.json
CHANGED
|
@@ -1,6 +1,76 @@
|
|
|
1
|
+
|
|
1
2
|
{
|
|
2
3
|
"name": "@editio-ui/react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"description": "Headless, accessible React components with an editorial design layer for expressive, typography-driven and print-inspired websites.",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"**/*.css"
|
|
10
|
+
],
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./editorial.css": "./dist/editorial.css",
|
|
25
|
+
"./fonts.css": "./dist/editorial-fonts.css",
|
|
26
|
+
"./editorial/*": "./dist/editorial/*",
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public",
|
|
31
|
+
"registry": "https://registry.npmjs.org/"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"editio",
|
|
35
|
+
"react",
|
|
36
|
+
"react-components",
|
|
37
|
+
"ui-library",
|
|
38
|
+
"component-library",
|
|
39
|
+
"design-system",
|
|
40
|
+
"editorial",
|
|
41
|
+
"typography",
|
|
42
|
+
"headless-ui",
|
|
43
|
+
"accessible",
|
|
44
|
+
"accessibility",
|
|
45
|
+
"print-design",
|
|
46
|
+
"magazine",
|
|
47
|
+
"typescript",
|
|
48
|
+
"css"
|
|
49
|
+
],
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": ">=18",
|
|
52
|
+
"react-dom": ">=18"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "vite build && tsc -p tsconfig.build.json && node scripts/build-css.mjs",
|
|
56
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
57
|
+
"test": "vitest run",
|
|
58
|
+
"test:watch": "vitest",
|
|
59
|
+
"prepublishOnly": "pnpm typecheck && pnpm test && pnpm build"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@testing-library/dom": "^10.4.2",
|
|
63
|
+
"@testing-library/jest-dom": "^8.0.0",
|
|
64
|
+
"@testing-library/react": "^16.3.3",
|
|
65
|
+
"@testing-library/user-event": "^14.6.13",
|
|
66
|
+
"@types/react": "^19.3.3",
|
|
67
|
+
"@types/react-dom": "^19.3.0",
|
|
68
|
+
"axe-core": "^4.14.1",
|
|
69
|
+
"jsdom": "^31.0.1",
|
|
70
|
+
"react": ">=18",
|
|
71
|
+
"react-dom": ">=18",
|
|
72
|
+
"typescript": "^7.0.2",
|
|
73
|
+
"vite": "^8.4.0",
|
|
74
|
+
"vitest": "^5.1.2"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/README.md
DELETED