@octohirono/stitch-design-system 0.1.0 → 0.3.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.
Files changed (83) hide show
  1. package/dist/components/BarChart/BarChart.d.ts +42 -0
  2. package/dist/components/BarChart/BarChart.js +71 -0
  3. package/dist/components/BarChart/bar-chart.module.js +4 -0
  4. package/dist/components/BarChart/index.d.ts +2 -0
  5. package/dist/components/Calendar/Calendar.d.ts +57 -0
  6. package/dist/components/Calendar/Calendar.js +83 -0
  7. package/dist/components/Calendar/calendar.module.js +26 -0
  8. package/dist/components/Calendar/index.d.ts +2 -0
  9. package/dist/components/ChatFile/ChatFile.d.ts +34 -0
  10. package/dist/components/ChatFile/ChatFile.js +71 -0
  11. package/dist/components/ChatFile/chat-file.module.js +12 -0
  12. package/dist/components/ChatFile/index.d.ts +2 -0
  13. package/dist/components/ChatImage/ChatImage.d.ts +31 -0
  14. package/dist/components/ChatImage/ChatImage.js +88 -0
  15. package/dist/components/ChatImage/chat-image.module.js +12 -0
  16. package/dist/components/ChatImage/index.d.ts +2 -0
  17. package/dist/components/ChatInput/ChatInput.d.ts +77 -0
  18. package/dist/components/ChatInput/ChatInput.js +88 -0
  19. package/dist/components/ChatInput/chat-input.module.js +11 -0
  20. package/dist/components/ChatInput/index.d.ts +2 -0
  21. package/dist/components/ChatList/ChatList.d.ts +58 -0
  22. package/dist/components/ChatList/ChatList.js +49 -0
  23. package/dist/components/ChatList/chat-list.module.js +7 -0
  24. package/dist/components/ChatList/index.d.ts +2 -0
  25. package/dist/components/ChatMessage/ChatMessage.d.ts +52 -0
  26. package/dist/components/ChatMessage/ChatMessage.js +71 -0
  27. package/dist/components/ChatMessage/chat-message.module.js +21 -0
  28. package/dist/components/ChatMessage/index.d.ts +2 -0
  29. package/dist/components/ChatMessageActions/ChatMessageActions.d.ts +40 -0
  30. package/dist/components/ChatMessageActions/ChatMessageActions.js +34 -0
  31. package/dist/components/ChatMessageActions/chat-message-actions.module.js +7 -0
  32. package/dist/components/ChatMessageActions/index.d.ts +2 -0
  33. package/dist/components/ChatVoice/ChatVoice.d.ts +39 -0
  34. package/dist/components/ChatVoice/ChatVoice.js +44 -0
  35. package/dist/components/ChatVoice/chat-voice.module.js +12 -0
  36. package/dist/components/ChatVoice/index.d.ts +2 -0
  37. package/dist/components/ContextMenu/ContextMenu.js +41 -34
  38. package/dist/components/ContextMenu/context-menu.module.js +10 -9
  39. package/dist/components/DatePicker/DatePicker.d.ts +60 -0
  40. package/dist/components/DatePicker/DatePicker.js +75 -0
  41. package/dist/components/DatePicker/datepicker.module.js +17 -0
  42. package/dist/components/DatePicker/index.d.ts +2 -0
  43. package/dist/components/DropdownMenu/DropdownMenu.js +45 -38
  44. package/dist/components/DropdownMenu/dropdown-menu.module.js +10 -9
  45. package/dist/components/Icon/Icon.d.ts +36 -0
  46. package/dist/components/Icon/Icon.js +59 -1
  47. package/dist/components/Image/Image.js +1 -1
  48. package/dist/components/Image/image.module.js +14 -14
  49. package/dist/components/LineChart/LineChart.d.ts +48 -0
  50. package/dist/components/LineChart/LineChart.js +110 -0
  51. package/dist/components/LineChart/index.d.ts +2 -0
  52. package/dist/components/LineChart/line-chart.module.js +7 -0
  53. package/dist/components/PieChart/PieChart.d.ts +43 -0
  54. package/dist/components/PieChart/PieChart.js +56 -0
  55. package/dist/components/PieChart/index.d.ts +2 -0
  56. package/dist/components/PieChart/pie-chart.module.js +7 -0
  57. package/dist/components/Select/Select.js +87 -83
  58. package/dist/components/Select/select.module.js +10 -9
  59. package/dist/components/Stat/Stat.d.ts +71 -0
  60. package/dist/components/Stat/Stat.js +66 -0
  61. package/dist/components/Stat/StatGroup.d.ts +14 -0
  62. package/dist/components/Stat/StatGroup.js +16 -0
  63. package/dist/components/Stat/index.d.ts +4 -0
  64. package/dist/components/Stat/stat.module.js +23 -0
  65. package/dist/components/TypingIndicator/TypingIndicator.d.ts +24 -0
  66. package/dist/components/TypingIndicator/TypingIndicator.js +29 -0
  67. package/dist/components/TypingIndicator/index.d.ts +2 -0
  68. package/dist/components/TypingIndicator/typing-indicator.module.js +8 -0
  69. package/dist/components/_internal/dataviz/ChartFrame.d.ts +20 -0
  70. package/dist/components/_internal/dataviz/ChartFrame.js +18 -0
  71. package/dist/components/_internal/dataviz/ChartTooltip.d.ts +23 -0
  72. package/dist/components/_internal/dataviz/ChartTooltip.js +33 -0
  73. package/dist/components/_internal/dataviz/chart-frame.module.js +4 -0
  74. package/dist/components/_internal/dataviz/chart-tooltip.module.js +11 -0
  75. package/dist/components/_internal/dataviz/chartColors.d.ts +12 -0
  76. package/dist/components/_internal/dataviz/chartColors.js +3 -0
  77. package/dist/components/_internal/dataviz/index.d.ts +5 -0
  78. package/dist/index.d.ts +28 -0
  79. package/dist/index.js +37 -22
  80. package/dist/style.css +1305 -448
  81. package/dist/themes/seline.css +39 -0
  82. package/dist/themes/steep.css +37 -0
  83. package/package.json +9 -4
@@ -0,0 +1,39 @@
1
+ /* site theme: seline. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
2
+ [data-site="seline"] {
3
+ --stitch-bg-canvas: #fafaf9;
4
+ --stitch-bg-section: #fafaf9;
5
+ --stitch-bg-card: #ffffff;
6
+ --stitch-bg-elevated: #ffffff;
7
+ --stitch-bg-accent: #c1e1f7;
8
+ --stitch-bg-inverted: #1c1917;
9
+ --stitch-text-primary: #0c0a09;
10
+ --stitch-text-secondary: #78716c;
11
+ --stitch-text-muted: #a8a29e;
12
+ --stitch-text-on-accent: #3398e1;
13
+ --stitch-text-on-dark: #ffffff;
14
+ --stitch-accent: #3ba6f1;
15
+ --stitch-accent-text: #0c0a09;
16
+ --stitch-link: #3398e1;
17
+ --stitch-cat-1: #3ba6f1;
18
+ --stitch-cat-2: #78716c;
19
+ --stitch-cat-3: #a8a29e;
20
+ --stitch-cat-4: #0c0a09;
21
+ --stitch-cat-5: #c1e1f7;
22
+ --stitch-cat-6: #d6d3d1;
23
+ --stitch-font-display: 'Roobert', 'Inter Tight', 'Satoshi', ui-sans-serif, system-ui, sans-serif;
24
+ --stitch-font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
25
+ --stitch-font-weight-normal: 400;
26
+ --stitch-font-weight-medium: 500;
27
+ --stitch-radius-button: 9999px;
28
+ --stitch-radius-card: 10px;
29
+ --stitch-radius-input: 6px;
30
+ --stitch-radius-image: 16px;
31
+ --stitch-border: #e8e6e5;
32
+ --stitch-border-strong: #d6d3d1;
33
+ --stitch-icon-stroke-width: 1;
34
+ --stitch-shadow-sm: rgba(0,0,0,0.05) 0px 1px 2px 0px;
35
+ --stitch-shadow-base: rgba(0,0,0,0.05) 0px 4px 16px 0px;
36
+ --stitch-shadow-lg: rgba(17,12,46,0.12) 0px 12px 45px 0px;
37
+ --stitch-font-size-base: 14px;
38
+ --stitch-font-size-display: 52px;
39
+ }
@@ -0,0 +1,37 @@
1
+ /* site theme: steep. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
2
+ [data-site="steep"] {
3
+ --stitch-bg-canvas: #ffffff;
4
+ --stitch-bg-section: #fafafb;
5
+ --stitch-bg-card: #f2f2f3;
6
+ --stitch-bg-elevated: #ffffff;
7
+ --stitch-bg-accent: #fbe1d1;
8
+ --stitch-bg-inverted: #17191c;
9
+ --stitch-text-primary: #17191c;
10
+ --stitch-text-secondary: #777b86;
11
+ --stitch-text-muted: #979799;
12
+ --stitch-text-on-accent: #5d2a1a;
13
+ --stitch-accent: #17191c;
14
+ --stitch-accent-text: #ffffff;
15
+ --stitch-link: #777b86;
16
+ --stitch-cat-1: #fbe1d1;
17
+ --stitch-cat-2: #5d2a1a;
18
+ --stitch-cat-3: #777b86;
19
+ --stitch-cat-4: #a3a6af;
20
+ --stitch-cat-5: color-mix(in srgb, #fbe1d1, #5d2a1a 45%);
21
+ --stitch-cat-6: color-mix(in srgb, #777b86, #ffffff 45%);
22
+ --stitch-font-display: 'Signifier', ui-serif, Georgia, serif;
23
+ --stitch-font-body: 'Sohne', ui-sans-serif, system-ui, sans-serif;
24
+ --stitch-font-weight-normal: 400;
25
+ --stitch-font-weight-medium: 400;
26
+ --stitch-radius-button: 9999px;
27
+ --stitch-radius-card: 24px;
28
+ --stitch-radius-input: 16px;
29
+ --stitch-radius-image: 12px;
30
+ --stitch-border: #ececec;
31
+ --stitch-icon-stroke-width: 2;
32
+ --stitch-shadow-sm: oklab(0 0 0 / 0.05) 0px 0px 0px 1px, rgba(0,0,0,0.08) 0px 4px 24px 0px;
33
+ --stitch-shadow-base: oklab(0 0 0 / 0.05) 0px 0px 0px 1px, rgba(0,0,0,0.1) 0px 8px 40px 0px;
34
+ --stitch-shadow-lg: rgba(4,23,43,0.05) 0px 0px 0px 1px, rgba(0,0,0,0.1) 0px 20px 25px -5px, rgba(0,0,0,0.1) 0px 8px 10px -6px;
35
+ --stitch-font-size-base: 17px;
36
+ --stitch-font-size-display: 90px;
37
+ }
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@octohirono/stitch-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
- "prepublishOnly": "npm --prefix ../.. run ci"
6
+ "prepublishOnly": "npm --prefix ../.. run ci",
7
+ "version": "node ../../scripts/sync-plugin-version.mjs && git add ../../.claude-plugin/plugin.json"
7
8
  },
8
9
  "main": "./dist/index.js",
9
10
  "module": "./dist/index.js",
@@ -16,7 +17,8 @@
16
17
  "types": "./dist/index.d.ts",
17
18
  "import": "./dist/index.js"
18
19
  },
19
- "./style": "./dist/style.css"
20
+ "./style": "./dist/style.css",
21
+ "./themes/*": "./dist/themes/*.css"
20
22
  },
21
23
  "sideEffects": [
22
24
  "**/*.css",
@@ -28,7 +30,10 @@
28
30
  },
29
31
  "dependencies": {
30
32
  "radix-ui": "^1.6.7",
31
- "clsx": "^2"
33
+ "clsx": "^2",
34
+ "recharts": "^3.10.1",
35
+ "react-day-picker": "^10.0.1",
36
+ "date-fns": "^4.4.0"
32
37
  },
33
38
  "publishConfig": {
34
39
  "access": "public"