@sia.soul/sia-react-ui 0.1.2 → 0.1.4

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 (44) hide show
  1. package/dist/{Select-CJJ5LQap.d.ts → Select-GiTHMScg.d.cts} +4 -5
  2. package/dist/{Select-CJJ5LQap.d.cts → Select-rtDktLYY.d.ts} +4 -5
  3. package/dist/chart.cjs +731 -707
  4. package/dist/chart.css +1 -1
  5. package/dist/chart.js +3 -2
  6. package/dist/{chunk-6VXOLMKZ.js → chunk-5ZTWY3PG.js} +18 -1
  7. package/dist/{chunk-YCVXUMGP.js → chunk-EJ23MVR6.js} +5 -20
  8. package/dist/chunk-EJDPRAU2.js +36 -0
  9. package/dist/{chunk-DZ45HRVP.js → chunk-IHTODT53.js} +8 -5
  10. package/dist/{chunk-QEDWRVDA.js → chunk-MJUTLEEE.js} +20 -8
  11. package/dist/{chunk-OMA75YLM.js → chunk-PX6BOFTW.js} +10 -3
  12. package/dist/{chunk-JKZGAZMB.js → chunk-R7BVDN3Q.js} +91 -43
  13. package/dist/{chunk-ZPYGBMBH.js → chunk-S2JAJCLN.js} +6 -4
  14. package/dist/{chunk-NZAT2RUM.js → chunk-WHARTF2I.js} +10 -1
  15. package/dist/{chunk-I342FGQY.js → chunk-Z3T6RDQP.js} +1 -1
  16. package/dist/{core-DFYheaoJ.d.ts → core-CBtbeAms.d.cts} +2 -1
  17. package/dist/{core-De2pRX5w.d.cts → core-D8BSMfHD.d.ts} +2 -1
  18. package/dist/core.cjs +277 -212
  19. package/dist/core.css +238 -38
  20. package/dist/core.d.cts +3 -2
  21. package/dist/core.d.ts +3 -2
  22. package/dist/core.js +6 -5
  23. package/dist/index.cjs +2538 -2416
  24. package/dist/index.css +239 -39
  25. package/dist/index.d.cts +18 -9
  26. package/dist/index.d.ts +18 -9
  27. package/dist/index.js +230 -193
  28. package/dist/markdown-editor.cjs +52 -20
  29. package/dist/markdown-editor.d.cts +3 -1
  30. package/dist/markdown-editor.d.ts +3 -1
  31. package/dist/markdown-editor.js +2 -1
  32. package/dist/rich-text-editor.cjs +884 -864
  33. package/dist/rich-text-editor.d.cts +3 -1
  34. package/dist/rich-text-editor.d.ts +3 -1
  35. package/dist/rich-text-editor.js +4 -3
  36. package/dist/{select-date-range-DOyG1DGp.d.ts → select-date-range-CQ1vmze_.d.ts} +7 -4
  37. package/dist/{select-date-range-UyYrHex6.d.cts → select-date-range-DRmGaEzP.d.cts} +7 -4
  38. package/dist/select-date-range.cjs +972 -903
  39. package/dist/select-date-range.d.cts +3 -2
  40. package/dist/select-date-range.d.ts +3 -2
  41. package/dist/select-date-range.js +4 -3
  42. package/dist/shared-DAYZvZVu.d.cts +5 -0
  43. package/dist/shared-DAYZvZVu.d.ts +5 -0
  44. package/package.json +129 -129
@@ -1,3 +1,4 @@
1
- export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-UyYrHex6.cjs';
1
+ export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-DRmGaEzP.cjs';
2
2
  import 'react';
3
- import './Select-CJJ5LQap.cjs';
3
+ import './shared-DAYZvZVu.cjs';
4
+ import './Select-GiTHMScg.cjs';
@@ -1,3 +1,4 @@
1
- export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-DOyG1DGp.js';
1
+ export { S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-CQ1vmze_.js';
2
2
  import 'react';
3
- import './Select-CJJ5LQap.js';
3
+ import './shared-DAYZvZVu.js';
4
+ import './Select-rtDktLYY.js';
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  SelectDateRange
3
- } from "./chunk-QEDWRVDA.js";
4
- import "./chunk-JKZGAZMB.js";
5
- import "./chunk-YCVXUMGP.js";
3
+ } from "./chunk-MJUTLEEE.js";
4
+ import "./chunk-R7BVDN3Q.js";
5
+ import "./chunk-EJ23MVR6.js";
6
+ import "./chunk-EJDPRAU2.js";
6
7
  export {
7
8
  SelectDateRange
8
9
  };
@@ -0,0 +1,5 @@
1
+ type ControlSize = "small" | "medium" | "large";
2
+ type ControlStatus = "default" | "warning" | "error";
3
+ type InputPlaceholderMode = "default" | "floating";
4
+
5
+ export type { ControlSize as C, InputPlaceholderMode as I, ControlStatus as a };
@@ -0,0 +1,5 @@
1
+ type ControlSize = "small" | "medium" | "large";
2
+ type ControlStatus = "default" | "warning" | "error";
3
+ type InputPlaceholderMode = "default" | "floating";
4
+
5
+ export type { ControlSize as C, InputPlaceholderMode as I, ControlStatus as a };
package/package.json CHANGED
@@ -1,129 +1,129 @@
1
- {
2
- "name": "@sia.soul/sia-react-ui",
3
- "version": "0.1.2",
4
- "description": "Sia Design components and tokens for React",
5
- "publishConfig": {
6
- "access": "public",
7
- "registry": "https://registry.npmjs.org/"
8
- },
9
- "type": "module",
10
- "main": "./dist/index.cjs",
11
- "module": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "sideEffects": [
14
- "**/*.css"
15
- ],
16
- "exports": {
17
- ".": {
18
- "types": "./dist/index.d.ts",
19
- "import": "./dist/index.js",
20
- "require": "./dist/index.cjs"
21
- },
22
- "./core": {
23
- "types": "./dist/core.d.ts",
24
- "import": "./dist/core.js",
25
- "require": "./dist/core.cjs"
26
- },
27
- "./select-date-range": {
28
- "types": "./dist/select-date-range.d.ts",
29
- "import": "./dist/select-date-range.js",
30
- "require": "./dist/select-date-range.cjs"
31
- },
32
- "./rich-text-editor": {
33
- "types": "./dist/rich-text-editor.d.ts",
34
- "import": "./dist/rich-text-editor.js",
35
- "require": "./dist/rich-text-editor.cjs"
36
- },
37
- "./markdown-editor": {
38
- "types": "./dist/markdown-editor.d.ts",
39
- "import": "./dist/markdown-editor.js",
40
- "require": "./dist/markdown-editor.cjs"
41
- },
42
- "./chart": {
43
- "types": "./dist/chart.d.ts",
44
- "import": "./dist/chart.js",
45
- "require": "./dist/chart.cjs"
46
- },
47
- "./styles.css": "./dist/index.css"
48
- },
49
- "files": [
50
- "dist",
51
- "THIRD_PARTY_NOTICES.md"
52
- ],
53
- "scripts": {
54
- "build": "tsup src/index.ts src/core.ts src/select-date-range.ts src/rich-text-editor.ts src/markdown-editor.ts src/chart.ts --format esm,cjs --dts --clean",
55
- "typecheck": "tsc -p tsconfig.json",
56
- "prepublishOnly": "pnpm typecheck && pnpm build"
57
- },
58
- "peerDependencies": {
59
- "react": ">=18",
60
- "react-dom": ">=18"
61
- },
62
- "dependencies": {
63
- "@tiptap/core": "3",
64
- "@tiptap/extension-blockquote": "3",
65
- "@tiptap/extension-bold": "3",
66
- "@tiptap/extension-bullet-list": "3",
67
- "@tiptap/extension-code": "3",
68
- "@tiptap/extension-code-block": "3",
69
- "@tiptap/extension-document": "3",
70
- "@tiptap/extension-dropcursor": "3",
71
- "@tiptap/extension-gapcursor": "3",
72
- "@tiptap/extension-hard-break": "3",
73
- "@tiptap/extension-heading": "3",
74
- "@tiptap/extension-horizontal-rule": "3",
75
- "@tiptap/extension-image": "3",
76
- "@tiptap/extension-italic": "3",
77
- "@tiptap/extension-link": "3",
78
- "@tiptap/extension-list": "3",
79
- "@tiptap/extension-list-item": "3",
80
- "@tiptap/extension-list-keymap": "3",
81
- "@tiptap/extension-ordered-list": "3",
82
- "@tiptap/extension-paragraph": "3",
83
- "@tiptap/extension-placeholder": "3",
84
- "@tiptap/extension-strike": "3",
85
- "@tiptap/extension-table": "3",
86
- "@tiptap/extension-table-cell": "3",
87
- "@tiptap/extension-table-header": "3",
88
- "@tiptap/extension-table-row": "3",
89
- "@tiptap/extension-task-item": "3",
90
- "@tiptap/extension-task-list": "3",
91
- "@tiptap/extension-text": "3",
92
- "@tiptap/extension-underline": "3",
93
- "@tiptap/extensions": "3",
94
- "@tiptap/markdown": "3",
95
- "@tiptap/pm": "3",
96
- "@tiptap/starter-kit": "3",
97
- "dompurify": "3.4.8",
98
- "fast-equals": "5.3.3",
99
- "linkifyjs": "4.3.3",
100
- "marked": "17.0.6",
101
- "monaco-editor": "0.56.0",
102
- "orderedmap": "2",
103
- "prosemirror-changeset": "^2.4.1",
104
- "prosemirror-commands": "^1.7.2",
105
- "prosemirror-dropcursor": "^1.8.3",
106
- "prosemirror-gapcursor": "^1.4.1",
107
- "prosemirror-history": "^1.5.0",
108
- "prosemirror-inputrules": "^1.5.1",
109
- "prosemirror-keymap": "^1.2.3",
110
- "prosemirror-model": "^1.25.11",
111
- "prosemirror-schema-list": "^1.5.1",
112
- "prosemirror-state": "^1.4.4",
113
- "prosemirror-tables": "^1.8.5",
114
- "prosemirror-transform": "^1.12.0",
115
- "prosemirror-view": "^1.42.2",
116
- "rope-sequence": "1.3.0",
117
- "use-sync-external-store": "1.6.0",
118
- "vditor": "3.11.3",
119
- "w3c-keyname": "2.2.0"
120
- },
121
- "devDependencies": {
122
- "@types/react": "^18.3.12",
123
- "@types/react-dom": "^18.3.1",
124
- "react": "^18.3.1",
125
- "react-dom": "^18.3.1",
126
- "tsup": "^8.3.5",
127
- "typescript": "^5.7.2"
128
- }
129
- }
1
+ {
2
+ "name": "@sia.soul/sia-react-ui",
3
+ "version": "0.1.4",
4
+ "description": "Sia Design components and tokens for React",
5
+ "publishConfig": {
6
+ "access": "public",
7
+ "registry": "https://registry.npmjs.org/"
8
+ },
9
+ "type": "module",
10
+ "main": "./dist/index.cjs",
11
+ "module": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "sideEffects": [
14
+ "**/*.css"
15
+ ],
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.cjs"
21
+ },
22
+ "./core": {
23
+ "types": "./dist/core.d.ts",
24
+ "import": "./dist/core.js",
25
+ "require": "./dist/core.cjs"
26
+ },
27
+ "./select-date-range": {
28
+ "types": "./dist/select-date-range.d.ts",
29
+ "import": "./dist/select-date-range.js",
30
+ "require": "./dist/select-date-range.cjs"
31
+ },
32
+ "./rich-text-editor": {
33
+ "types": "./dist/rich-text-editor.d.ts",
34
+ "import": "./dist/rich-text-editor.js",
35
+ "require": "./dist/rich-text-editor.cjs"
36
+ },
37
+ "./markdown-editor": {
38
+ "types": "./dist/markdown-editor.d.ts",
39
+ "import": "./dist/markdown-editor.js",
40
+ "require": "./dist/markdown-editor.cjs"
41
+ },
42
+ "./chart": {
43
+ "types": "./dist/chart.d.ts",
44
+ "import": "./dist/chart.js",
45
+ "require": "./dist/chart.cjs"
46
+ },
47
+ "./styles.css": "./dist/index.css"
48
+ },
49
+ "files": [
50
+ "dist",
51
+ "THIRD_PARTY_NOTICES.md"
52
+ ],
53
+ "scripts": {
54
+ "build": "tsup src/index.ts src/core.ts src/select-date-range.ts src/rich-text-editor.ts src/markdown-editor.ts src/chart.ts --format esm,cjs --dts --clean",
55
+ "typecheck": "tsc -p tsconfig.json",
56
+ "prepublishOnly": "pnpm typecheck && pnpm build"
57
+ },
58
+ "peerDependencies": {
59
+ "react": ">=18",
60
+ "react-dom": ">=18"
61
+ },
62
+ "dependencies": {
63
+ "@tiptap/core": "3",
64
+ "@tiptap/extension-blockquote": "3",
65
+ "@tiptap/extension-bold": "3",
66
+ "@tiptap/extension-bullet-list": "3",
67
+ "@tiptap/extension-code": "3",
68
+ "@tiptap/extension-code-block": "3",
69
+ "@tiptap/extension-document": "3",
70
+ "@tiptap/extension-dropcursor": "3",
71
+ "@tiptap/extension-gapcursor": "3",
72
+ "@tiptap/extension-hard-break": "3",
73
+ "@tiptap/extension-heading": "3",
74
+ "@tiptap/extension-horizontal-rule": "3",
75
+ "@tiptap/extension-image": "3",
76
+ "@tiptap/extension-italic": "3",
77
+ "@tiptap/extension-link": "3",
78
+ "@tiptap/extension-list": "3",
79
+ "@tiptap/extension-list-item": "3",
80
+ "@tiptap/extension-list-keymap": "3",
81
+ "@tiptap/extension-ordered-list": "3",
82
+ "@tiptap/extension-paragraph": "3",
83
+ "@tiptap/extension-placeholder": "3",
84
+ "@tiptap/extension-strike": "3",
85
+ "@tiptap/extension-table": "3",
86
+ "@tiptap/extension-table-cell": "3",
87
+ "@tiptap/extension-table-header": "3",
88
+ "@tiptap/extension-table-row": "3",
89
+ "@tiptap/extension-task-item": "3",
90
+ "@tiptap/extension-task-list": "3",
91
+ "@tiptap/extension-text": "3",
92
+ "@tiptap/extension-underline": "3",
93
+ "@tiptap/extensions": "3",
94
+ "@tiptap/markdown": "3",
95
+ "@tiptap/pm": "3",
96
+ "@tiptap/starter-kit": "3",
97
+ "dompurify": "3.4.8",
98
+ "fast-equals": "5.3.3",
99
+ "linkifyjs": "4.3.3",
100
+ "marked": "17.0.6",
101
+ "monaco-editor": "0.56.0",
102
+ "orderedmap": "2",
103
+ "prosemirror-changeset": "^2.4.1",
104
+ "prosemirror-commands": "^1.7.2",
105
+ "prosemirror-dropcursor": "^1.8.3",
106
+ "prosemirror-gapcursor": "^1.4.1",
107
+ "prosemirror-history": "^1.5.0",
108
+ "prosemirror-inputrules": "^1.5.1",
109
+ "prosemirror-keymap": "^1.2.3",
110
+ "prosemirror-model": "^1.25.11",
111
+ "prosemirror-schema-list": "^1.5.1",
112
+ "prosemirror-state": "^1.4.4",
113
+ "prosemirror-tables": "^1.8.5",
114
+ "prosemirror-transform": "^1.12.0",
115
+ "prosemirror-view": "^1.42.2",
116
+ "rope-sequence": "1.3.0",
117
+ "use-sync-external-store": "1.6.0",
118
+ "vditor": "3.11.3",
119
+ "w3c-keyname": "2.2.0"
120
+ },
121
+ "devDependencies": {
122
+ "@types/react": "^18.3.12",
123
+ "@types/react-dom": "^18.3.1",
124
+ "react": "^18.3.1",
125
+ "react-dom": "^18.3.1",
126
+ "tsup": "^8.3.5",
127
+ "typescript": "^5.7.2"
128
+ }
129
+ }