@octohirono/stitch-design-system 0.2.0 → 0.4.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.js +32 -31
- 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/Collapse/collapse.module.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +41 -34
- package/dist/components/ContextMenu/context-menu.module.js +10 -9
- 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 +20 -0
- package/dist/components/Icon/Icon.js +35 -2
- package/dist/components/Image/Image.js +1 -1
- package/dist/components/Image/image.module.js +14 -14
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +1 -1
- package/dist/components/NavigationMenu/navigation-menu.module.js +3 -3
- package/dist/components/PieChart/PieChart.js +27 -26
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +87 -83
- package/dist/components/Select/select.module.js +10 -9
- 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/ChartLegendLabel.d.ts +6 -0
- package/dist/components/_internal/dataviz/ChartLegendLabel.js +9 -0
- package/dist/components/_internal/dataviz/index.d.ts +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +36 -28
- package/dist/style.css +962 -467
- package/dist/themes/phantom.css +75 -0
- package/dist/themes/seline.css +31 -0
- package/dist/themes/steep.css +42 -2
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* site theme: phantom. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
|
|
2
|
+
[data-site="phantom"] {
|
|
3
|
+
--stitch-text-caption: 13px;
|
|
4
|
+
--stitch-leading-caption: 1.35;
|
|
5
|
+
--stitch-text-body-sm: 15px;
|
|
6
|
+
--stitch-leading-body-sm: 1.4;
|
|
7
|
+
--stitch-tracking-body-sm: -0.375px;
|
|
8
|
+
--stitch-text-subheading: 20px;
|
|
9
|
+
--stitch-leading-subheading: 1.35;
|
|
10
|
+
--stitch-tracking-subheading: -0.5px;
|
|
11
|
+
--stitch-text-heading-sm: 24px;
|
|
12
|
+
--stitch-leading-heading-sm: 1.25;
|
|
13
|
+
--stitch-tracking-heading-sm: -0.6px;
|
|
14
|
+
--stitch-text-heading: 30px;
|
|
15
|
+
--stitch-leading-heading: 1.21;
|
|
16
|
+
--stitch-tracking-heading: -0.75px;
|
|
17
|
+
--stitch-text-heading-lg: 64px;
|
|
18
|
+
--stitch-leading-heading-lg: 1.1;
|
|
19
|
+
--stitch-tracking-heading-lg: -1.6px;
|
|
20
|
+
--stitch-text-display: 96px;
|
|
21
|
+
--stitch-leading-display: 1;
|
|
22
|
+
--stitch-tracking-display: -2.4px;
|
|
23
|
+
--stitch-space-unit: 4px;
|
|
24
|
+
--stitch-space-4: 4px;
|
|
25
|
+
--stitch-space-8: 8px;
|
|
26
|
+
--stitch-space-12: 12px;
|
|
27
|
+
--stitch-space-16: 16px;
|
|
28
|
+
--stitch-space-20: 20px;
|
|
29
|
+
--stitch-space-24: 24px;
|
|
30
|
+
--stitch-space-32: 32px;
|
|
31
|
+
--stitch-space-48: 48px;
|
|
32
|
+
--stitch-space-64: 64px;
|
|
33
|
+
--stitch-space-96: 96px;
|
|
34
|
+
--stitch-space-128: 128px;
|
|
35
|
+
--stitch-page-max-width: 1200px;
|
|
36
|
+
--stitch-section-gap: 64px;
|
|
37
|
+
--stitch-card-padding: 48px;
|
|
38
|
+
--stitch-element-gap: 8px;
|
|
39
|
+
--stitch-bg-canvas: #fdfcfe;
|
|
40
|
+
--stitch-bg-section: #f4f2f4;
|
|
41
|
+
--stitch-bg-card: #fdfcfe;
|
|
42
|
+
--stitch-bg-elevated: #fdfcfe;
|
|
43
|
+
--stitch-bg-accent: #e2dffe;
|
|
44
|
+
--stitch-bg-inverted: #3c315b;
|
|
45
|
+
--stitch-text-primary: #1c1c1c;
|
|
46
|
+
--stitch-text-secondary: #86848d;
|
|
47
|
+
--stitch-text-muted: color-mix(in srgb, #86848d, #fdfcfe 40%);
|
|
48
|
+
--stitch-text-on-accent: #3c315b;
|
|
49
|
+
--stitch-text-on-dark: #fdfcfe;
|
|
50
|
+
--stitch-accent: #e2dffe;
|
|
51
|
+
--stitch-accent-text: #3c315b;
|
|
52
|
+
--stitch-brand: #3c315b;
|
|
53
|
+
--stitch-link: #3c315b;
|
|
54
|
+
--stitch-cat-1: #ab9ff2;
|
|
55
|
+
--stitch-cat-2: #4a87f2;
|
|
56
|
+
--stitch-cat-3: #ffffc4;
|
|
57
|
+
--stitch-cat-4: #ffdadc;
|
|
58
|
+
--stitch-cat-5: #3c315b;
|
|
59
|
+
--stitch-cat-6: #2ec08b;
|
|
60
|
+
--stitch-font-display: 'Phantom', 'Inter', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
|
|
61
|
+
--stitch-font-body: 'Phantom', 'Inter', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
|
|
62
|
+
--stitch-font-weight-normal: 350;
|
|
63
|
+
--stitch-font-weight-medium: 350;
|
|
64
|
+
--stitch-radius-button: 100px;
|
|
65
|
+
--stitch-radius-card: 24px;
|
|
66
|
+
--stitch-radius-input: 100px;
|
|
67
|
+
--stitch-radius-image: 24px;
|
|
68
|
+
--stitch-border: #e9e8ea;
|
|
69
|
+
--stitch-border-strong: #3c315b;
|
|
70
|
+
--stitch-icon-stroke-width: 1.5;
|
|
71
|
+
--stitch-shadow-sm: rgb(226, 223, 254) 0px 0px 4px 0px;
|
|
72
|
+
--stitch-shadow-base: rgb(226, 223, 254) 0px 0px 4px 0px;
|
|
73
|
+
--stitch-shadow-lg: rgb(226, 223, 254) 0px 0px 8px 0px;
|
|
74
|
+
--stitch-font-size-display: 96px;
|
|
75
|
+
}
|
package/dist/themes/seline.css
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
/* site theme: seline. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
|
|
2
2
|
[data-site="seline"] {
|
|
3
|
+
--stitch-text-caption: 10px;
|
|
4
|
+
--stitch-leading-caption: 2.3;
|
|
5
|
+
--stitch-text-body-lg: 16px;
|
|
6
|
+
--stitch-leading-body-lg: 1.69;
|
|
7
|
+
--stitch-tracking-body-lg: 0.048px;
|
|
8
|
+
--stitch-text-subheading: 20px;
|
|
9
|
+
--stitch-leading-subheading: 1.2;
|
|
10
|
+
--stitch-tracking-subheading: -0.1px;
|
|
11
|
+
--stitch-text-heading-sm: 32px;
|
|
12
|
+
--stitch-leading-heading-sm: 1.25;
|
|
13
|
+
--stitch-tracking-heading-sm: -0.8px;
|
|
14
|
+
--stitch-text-display: 52px;
|
|
15
|
+
--stitch-leading-display: 1.12;
|
|
16
|
+
--stitch-tracking-display: -1.092px;
|
|
17
|
+
--stitch-space-unit: 4px;
|
|
18
|
+
--stitch-space-4: 4px;
|
|
19
|
+
--stitch-space-8: 8px;
|
|
20
|
+
--stitch-space-12: 12px;
|
|
21
|
+
--stitch-space-16: 16px;
|
|
22
|
+
--stitch-space-24: 24px;
|
|
23
|
+
--stitch-space-32: 32px;
|
|
24
|
+
--stitch-space-40: 40px;
|
|
25
|
+
--stitch-space-48: 48px;
|
|
26
|
+
--stitch-space-64: 64px;
|
|
27
|
+
--stitch-space-80: 80px;
|
|
28
|
+
--stitch-space-96: 96px;
|
|
29
|
+
--stitch-space-160: 160px;
|
|
30
|
+
--stitch-page-max-width: 1200px;
|
|
31
|
+
--stitch-section-gap: 96px;
|
|
32
|
+
--stitch-card-padding: 24px;
|
|
33
|
+
--stitch-element-gap: 8px;
|
|
3
34
|
--stitch-bg-canvas: #fafaf9;
|
|
4
35
|
--stitch-bg-section: #fafaf9;
|
|
5
36
|
--stitch-bg-card: #ffffff;
|
package/dist/themes/steep.css
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
/* site theme: steep. per-site values only; constants/derived follow from :root. DO NOT EDIT. */
|
|
2
2
|
[data-site="steep"] {
|
|
3
|
+
--stitch-text-caption: 15px;
|
|
4
|
+
--stitch-leading-caption: 1.5;
|
|
5
|
+
--stitch-text-body: 17px;
|
|
6
|
+
--stitch-leading-body: 1.35;
|
|
7
|
+
--stitch-text-body-lg: 20px;
|
|
8
|
+
--stitch-leading-body-lg: 1.35;
|
|
9
|
+
--stitch-text-subheading: 22px;
|
|
10
|
+
--stitch-leading-subheading: 1.5;
|
|
11
|
+
--stitch-text-heading-sm: 26px;
|
|
12
|
+
--stitch-leading-heading-sm: 1.18;
|
|
13
|
+
--stitch-tracking-heading-sm: -0.23px;
|
|
14
|
+
--stitch-text-heading: 44px;
|
|
15
|
+
--stitch-leading-heading: 1.3;
|
|
16
|
+
--stitch-tracking-heading: -0.66px;
|
|
17
|
+
--stitch-text-heading-lg: 64px;
|
|
18
|
+
--stitch-leading-heading-lg: 1.3;
|
|
19
|
+
--stitch-tracking-heading-lg: -0.96px;
|
|
20
|
+
--stitch-text-display: 90px;
|
|
21
|
+
--stitch-leading-display: 1.3;
|
|
22
|
+
--stitch-tracking-display: -2.25px;
|
|
23
|
+
--stitch-space-unit: 4px;
|
|
24
|
+
--stitch-space-4: 4px;
|
|
25
|
+
--stitch-space-8: 8px;
|
|
26
|
+
--stitch-space-12: 12px;
|
|
27
|
+
--stitch-space-16: 16px;
|
|
28
|
+
--stitch-space-20: 20px;
|
|
29
|
+
--stitch-space-24: 24px;
|
|
30
|
+
--stitch-space-28: 28px;
|
|
31
|
+
--stitch-space-32: 32px;
|
|
32
|
+
--stitch-space-40: 40px;
|
|
33
|
+
--stitch-space-64: 64px;
|
|
34
|
+
--stitch-space-80: 80px;
|
|
35
|
+
--stitch-space-96: 96px;
|
|
36
|
+
--stitch-space-124: 124px;
|
|
37
|
+
--stitch-space-128: 128px;
|
|
38
|
+
--stitch-space-160: 160px;
|
|
39
|
+
--stitch-page-max-width: 1200px;
|
|
40
|
+
--stitch-section-gap: 80px;
|
|
41
|
+
--stitch-card-padding: 20px;
|
|
42
|
+
--stitch-element-gap: 8px;
|
|
3
43
|
--stitch-bg-canvas: #ffffff;
|
|
4
44
|
--stitch-bg-section: #fafafb;
|
|
5
45
|
--stitch-bg-card: #f2f2f3;
|
|
@@ -8,11 +48,11 @@
|
|
|
8
48
|
--stitch-bg-inverted: #17191c;
|
|
9
49
|
--stitch-text-primary: #17191c;
|
|
10
50
|
--stitch-text-secondary: #777b86;
|
|
11
|
-
--stitch-text-muted: #
|
|
51
|
+
--stitch-text-muted: #a3a6af;
|
|
12
52
|
--stitch-text-on-accent: #5d2a1a;
|
|
13
53
|
--stitch-accent: #17191c;
|
|
14
54
|
--stitch-accent-text: #ffffff;
|
|
15
|
-
--stitch-link: #
|
|
55
|
+
--stitch-link: #17191c;
|
|
16
56
|
--stitch-cat-1: #fbe1d1;
|
|
17
57
|
--stitch-cat-2: #5d2a1a;
|
|
18
58
|
--stitch-cat-3: #777b86;
|