@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.
Files changed (37) hide show
  1. package/dist/components/button/button.d.ts +17 -0
  2. package/dist/components/button/button.js +11 -0
  3. package/dist/components/button/index.d.ts +2 -0
  4. package/dist/components/checkbox/checkbox.d.ts +23 -0
  5. package/dist/components/checkbox/checkbox.js +19 -0
  6. package/dist/components/checkbox/index.d.ts +2 -0
  7. package/dist/components/input/index.d.ts +2 -0
  8. package/dist/components/input/input.d.ts +15 -0
  9. package/dist/components/input/input.js +14 -0
  10. package/dist/components/radio-group/index.d.ts +2 -0
  11. package/dist/components/radio-group/radio-group.d.ts +31 -0
  12. package/dist/components/radio-group/radio-group.js +47 -0
  13. package/dist/components/separator/index.d.ts +2 -0
  14. package/dist/components/separator/separator.d.ts +18 -0
  15. package/dist/components/separator/separator.js +13 -0
  16. package/dist/components/switch/index.d.ts +2 -0
  17. package/dist/components/switch/switch.d.ts +7 -0
  18. package/dist/components/switch/switch.js +12 -0
  19. package/dist/components/textarea/index.d.ts +2 -0
  20. package/dist/components/textarea/textarea.d.ts +15 -0
  21. package/dist/components/textarea/textarea.js +14 -0
  22. package/dist/editorial/backgrounds.css +201 -0
  23. package/dist/editorial/buttons.css +209 -0
  24. package/dist/editorial/choices.css +360 -0
  25. package/dist/editorial/disclosure.css +359 -0
  26. package/dist/editorial/feedback.css +272 -0
  27. package/dist/editorial/fields.css +205 -0
  28. package/dist/editorial/motion.css +184 -0
  29. package/dist/editorial/showcase.css +395 -0
  30. package/dist/editorial/tokens.css +129 -0
  31. package/dist/editorial/type.css +379 -0
  32. package/dist/editorial-fonts.css +4 -0
  33. package/dist/editorial.css +2704 -0
  34. package/dist/index.d.ts +14 -0
  35. package/dist/index.js +8 -0
  36. package/package.json +74 -4
  37. package/README.md +0 -3
@@ -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.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.