@salemcobalt/ui 0.2.0-rc.2 → 0.2.0-rc.21

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salemcobalt/ui",
3
- "version": "0.2.0-rc.2",
4
- "description": "React components for the Salem Cobalt design system: Button, IconButton, Icon set, Badge, Card, Stack, Inline, Kbd, Dialog, Tooltip, Menu, Toolbar, Banner, Spinner, Progress, Tabs, Input, Textarea, Select, Checkbox, Switch, Heading, Text, Table, Stat.",
3
+ "version": "0.2.0-rc.21",
4
+ "description": "React components for the Salem Cobalt design system: Button, IconButton, Icon set, BroomIcon, Badge, Card, Stack, Inline, Kbd, Dialog, FullScreenFlow, Tooltip, Menu, Popover, PriorityNav, Toolbar, Banner, Spinner, Progress, Tabs, Input, Textarea, Select, FileInput, Checkbox, Switch, Heading, Text, Table, Stat, Chip, Disclosure, EmptyState, Skeleton, Score, ReasonList, WordDiff, Quote; TextEditor (CodeMirror 6, inline word diffs) at @salemcobalt/ui/editor.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,6 +24,10 @@
24
24
  "./fonts": {
25
25
  "import": "./dist/fonts.js"
26
26
  },
27
+ "./editor": {
28
+ "types": "./dist/editor.d.ts",
29
+ "import": "./dist/editor.js"
30
+ },
27
31
  "./package.json": "./package.json"
28
32
  },
29
33
  "files": [
@@ -31,16 +35,64 @@
31
35
  "README.md"
32
36
  ],
33
37
  "peerDependencies": {
38
+ "@codemirror/commands": "^6.11.1",
39
+ "@codemirror/lang-json": "^6.0.2",
40
+ "@codemirror/lang-markdown": "^6.5.2",
41
+ "@codemirror/lang-yaml": "^6.1.3",
42
+ "@codemirror/language": "^6.13.1",
43
+ "@codemirror/state": "^6.7.6",
44
+ "@codemirror/view": "^6.43.15",
45
+ "@lezer/highlight": "^1.2.5",
46
+ "diff": "^8.0.4",
34
47
  "react": "^19.0.0",
35
48
  "react-dom": "^19.0.0",
36
- "@salemcobalt/tokens": "^0.2.0-rc.2"
49
+ "@salemcobalt/tokens": "^0.2.0-rc.21"
50
+ },
51
+ "peerDependenciesMeta": {
52
+ "@codemirror/commands": {
53
+ "optional": true
54
+ },
55
+ "@codemirror/lang-json": {
56
+ "optional": true
57
+ },
58
+ "@codemirror/lang-markdown": {
59
+ "optional": true
60
+ },
61
+ "@codemirror/lang-yaml": {
62
+ "optional": true
63
+ },
64
+ "@codemirror/language": {
65
+ "optional": true
66
+ },
67
+ "@codemirror/state": {
68
+ "optional": true
69
+ },
70
+ "@codemirror/view": {
71
+ "optional": true
72
+ },
73
+ "@lezer/highlight": {
74
+ "optional": true
75
+ },
76
+ "diff": {
77
+ "optional": true
78
+ }
37
79
  },
38
80
  "dependencies": {
39
81
  "@base-ui/react": "^1.9.0",
40
82
  "@fontsource-variable/ibm-plex-sans": "^5.3.0",
41
- "@fontsource/ibm-plex-mono": "^5.3.0"
83
+ "@fontsource/ibm-plex-mono": "^5.3.0",
84
+ "filepond": "^4.32.12"
42
85
  },
43
86
  "devDependencies": {
87
+ "@codemirror/commands": "^6.11.1",
88
+ "@codemirror/lang-json": "^6.0.2",
89
+ "@codemirror/lang-markdown": "^6.5.2",
90
+ "@codemirror/lang-yaml": "^6.1.3",
91
+ "@codemirror/language": "^6.13.1",
92
+ "@codemirror/state": "^6.7.6",
93
+ "@codemirror/view": "^6.43.15",
94
+ "@lezer/highlight": "^1.2.5",
95
+ "@storybook/addon-docs": "^10.6.2",
44
96
  "@storybook/react-vite": "^10.6.2",
45
97
  "@testing-library/dom": "^10.4.0",
46
98
  "@testing-library/jest-dom": "^7.0.1",
@@ -49,6 +101,7 @@
49
101
  "@types/react": "^19.3.0",
50
102
  "@types/react-dom": "^19.3.0",
51
103
  "axe-core": "^4.14.0",
104
+ "diff": "^8.0.4",
52
105
  "jsdom": "^30.1.3",
53
106
  "react": "^19.3.1",
54
107
  "react-dom": "^19.3.1",
@@ -56,13 +109,13 @@
56
109
  "tsup": "^9.0.0",
57
110
  "typescript": "^5.9.3",
58
111
  "vitest": "^5.0.5",
59
- "@salemcobalt/tokens": "^0.2.0-rc.2"
112
+ "@salemcobalt/tokens": "^0.2.0-rc.21"
60
113
  },
61
114
  "publishConfig": {
62
115
  "access": "public"
63
116
  },
64
117
  "scripts": {
65
- "build": "node scripts/build-icons.mjs && tsup && node scripts/build-css.mjs",
118
+ "build": "node scripts/build-icons.mjs && node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsup && node scripts/build-css.mjs",
66
119
  "dev": "tsup --watch",
67
120
  "test": "vitest run",
68
121
  "typecheck": "tsc -p tsconfig.json --noEmit"