@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.
- package/dist/components/BarChart/BarChart.d.ts +42 -0
- package/dist/components/BarChart/BarChart.js +71 -0
- package/dist/components/BarChart/bar-chart.module.js +4 -0
- package/dist/components/BarChart/index.d.ts +2 -0
- package/dist/components/Calendar/Calendar.d.ts +57 -0
- package/dist/components/Calendar/Calendar.js +83 -0
- package/dist/components/Calendar/calendar.module.js +26 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/ChatFile/ChatFile.d.ts +34 -0
- package/dist/components/ChatFile/ChatFile.js +71 -0
- package/dist/components/ChatFile/chat-file.module.js +12 -0
- package/dist/components/ChatFile/index.d.ts +2 -0
- package/dist/components/ChatImage/ChatImage.d.ts +31 -0
- package/dist/components/ChatImage/ChatImage.js +88 -0
- package/dist/components/ChatImage/chat-image.module.js +12 -0
- package/dist/components/ChatImage/index.d.ts +2 -0
- package/dist/components/ChatInput/ChatInput.d.ts +77 -0
- package/dist/components/ChatInput/ChatInput.js +88 -0
- package/dist/components/ChatInput/chat-input.module.js +11 -0
- package/dist/components/ChatInput/index.d.ts +2 -0
- package/dist/components/ChatList/ChatList.d.ts +58 -0
- package/dist/components/ChatList/ChatList.js +49 -0
- package/dist/components/ChatList/chat-list.module.js +7 -0
- package/dist/components/ChatList/index.d.ts +2 -0
- package/dist/components/ChatMessage/ChatMessage.d.ts +52 -0
- package/dist/components/ChatMessage/ChatMessage.js +71 -0
- package/dist/components/ChatMessage/chat-message.module.js +21 -0
- package/dist/components/ChatMessage/index.d.ts +2 -0
- package/dist/components/ChatMessageActions/ChatMessageActions.d.ts +40 -0
- package/dist/components/ChatMessageActions/ChatMessageActions.js +34 -0
- package/dist/components/ChatMessageActions/chat-message-actions.module.js +7 -0
- package/dist/components/ChatMessageActions/index.d.ts +2 -0
- package/dist/components/ChatVoice/ChatVoice.d.ts +39 -0
- package/dist/components/ChatVoice/ChatVoice.js +44 -0
- package/dist/components/ChatVoice/chat-voice.module.js +12 -0
- package/dist/components/ChatVoice/index.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenu.js +41 -34
- package/dist/components/ContextMenu/context-menu.module.js +10 -9
- package/dist/components/DatePicker/DatePicker.d.ts +60 -0
- package/dist/components/DatePicker/DatePicker.js +75 -0
- package/dist/components/DatePicker/datepicker.module.js +17 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +45 -38
- package/dist/components/DropdownMenu/dropdown-menu.module.js +10 -9
- package/dist/components/Icon/Icon.d.ts +36 -0
- package/dist/components/Icon/Icon.js +59 -1
- package/dist/components/Image/Image.js +1 -1
- package/dist/components/Image/image.module.js +14 -14
- package/dist/components/LineChart/LineChart.d.ts +48 -0
- package/dist/components/LineChart/LineChart.js +110 -0
- package/dist/components/LineChart/index.d.ts +2 -0
- package/dist/components/LineChart/line-chart.module.js +7 -0
- package/dist/components/PieChart/PieChart.d.ts +43 -0
- package/dist/components/PieChart/PieChart.js +56 -0
- package/dist/components/PieChart/index.d.ts +2 -0
- package/dist/components/PieChart/pie-chart.module.js +7 -0
- package/dist/components/Select/Select.js +87 -83
- package/dist/components/Select/select.module.js +10 -9
- package/dist/components/Stat/Stat.d.ts +71 -0
- package/dist/components/Stat/Stat.js +66 -0
- package/dist/components/Stat/StatGroup.d.ts +14 -0
- package/dist/components/Stat/StatGroup.js +16 -0
- package/dist/components/Stat/index.d.ts +4 -0
- package/dist/components/Stat/stat.module.js +23 -0
- package/dist/components/TypingIndicator/TypingIndicator.d.ts +24 -0
- package/dist/components/TypingIndicator/TypingIndicator.js +29 -0
- package/dist/components/TypingIndicator/index.d.ts +2 -0
- package/dist/components/TypingIndicator/typing-indicator.module.js +8 -0
- package/dist/components/_internal/dataviz/ChartFrame.d.ts +20 -0
- package/dist/components/_internal/dataviz/ChartFrame.js +18 -0
- package/dist/components/_internal/dataviz/ChartTooltip.d.ts +23 -0
- package/dist/components/_internal/dataviz/ChartTooltip.js +33 -0
- package/dist/components/_internal/dataviz/chart-frame.module.js +4 -0
- package/dist/components/_internal/dataviz/chart-tooltip.module.js +11 -0
- package/dist/components/_internal/dataviz/chartColors.d.ts +12 -0
- package/dist/components/_internal/dataviz/chartColors.js +3 -0
- package/dist/components/_internal/dataviz/index.d.ts +5 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +37 -22
- package/dist/style.css +1305 -448
- package/dist/themes/seline.css +39 -0
- package/dist/themes/steep.css +37 -0
- 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.
|
|
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"
|