@desktalk/ui 0.1.0-alpha.1
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/LICENSE +21 -0
- package/dist/chart-entry.d.ts +7 -0
- package/dist/chart-entry.d.ts.map +1 -0
- package/dist/chart.umd.js +30 -0
- package/dist/chart.umd.js.map +7 -0
- package/dist/desktalk-ui.js +1681 -0
- package/dist/desktalk-ui.js.map +7 -0
- package/dist/dt-badge.d.ts +39 -0
- package/dist/dt-badge.d.ts.map +1 -0
- package/dist/dt-badge.stories.d.ts +34 -0
- package/dist/dt-badge.stories.d.ts.map +1 -0
- package/dist/dt-button.d.ts +51 -0
- package/dist/dt-button.d.ts.map +1 -0
- package/dist/dt-button.stories.d.ts +40 -0
- package/dist/dt-button.stories.d.ts.map +1 -0
- package/dist/dt-card.d.ts +30 -0
- package/dist/dt-card.d.ts.map +1 -0
- package/dist/dt-card.stories.d.ts +31 -0
- package/dist/dt-card.stories.d.ts.map +1 -0
- package/dist/dt-chart.d.ts +67 -0
- package/dist/dt-chart.d.ts.map +1 -0
- package/dist/dt-chart.stories.d.ts +26 -0
- package/dist/dt-chart.stories.d.ts.map +1 -0
- package/dist/dt-divider.d.ts +41 -0
- package/dist/dt-divider.d.ts.map +1 -0
- package/dist/dt-divider.stories.d.ts +38 -0
- package/dist/dt-divider.stories.d.ts.map +1 -0
- package/dist/dt-grid.d.ts +50 -0
- package/dist/dt-grid.d.ts.map +1 -0
- package/dist/dt-grid.stories.d.ts +49 -0
- package/dist/dt-grid.stories.d.ts.map +1 -0
- package/dist/dt-list-view.d.ts +94 -0
- package/dist/dt-list-view.d.ts.map +1 -0
- package/dist/dt-list-view.stories.d.ts +49 -0
- package/dist/dt-list-view.stories.d.ts.map +1 -0
- package/dist/dt-markdown-editor.d.ts +54 -0
- package/dist/dt-markdown-editor.d.ts.map +1 -0
- package/dist/dt-markdown-editor.stories.d.ts +22 -0
- package/dist/dt-markdown-editor.stories.d.ts.map +1 -0
- package/dist/dt-markdown.d.ts +47 -0
- package/dist/dt-markdown.d.ts.map +1 -0
- package/dist/dt-markdown.stories.d.ts +22 -0
- package/dist/dt-markdown.stories.d.ts.map +1 -0
- package/dist/dt-select.d.ts +71 -0
- package/dist/dt-select.d.ts.map +1 -0
- package/dist/dt-select.stories.d.ts +41 -0
- package/dist/dt-select.stories.d.ts.map +1 -0
- package/dist/dt-stack.d.ts +51 -0
- package/dist/dt-stack.d.ts.map +1 -0
- package/dist/dt-stack.stories.d.ts +48 -0
- package/dist/dt-stack.stories.d.ts.map +1 -0
- package/dist/dt-stat.d.ts +61 -0
- package/dist/dt-stat.d.ts.map +1 -0
- package/dist/dt-stat.stories.d.ts +47 -0
- package/dist/dt-stat.stories.d.ts.map +1 -0
- package/dist/dt-table-view.d.ts +119 -0
- package/dist/dt-table-view.d.ts.map +1 -0
- package/dist/dt-table-view.stories.d.ts +46 -0
- package/dist/dt-table-view.stories.d.ts.map +1 -0
- package/dist/dt-tooltip.d.ts +47 -0
- package/dist/dt-tooltip.d.ts.map +1 -0
- package/dist/dt-tooltip.stories.d.ts +41 -0
- package/dist/dt-tooltip.stories.d.ts.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1681 -0
- package/dist/index.js.map +7 -0
- package/dist/lib/chart-loader.d.ts +10 -0
- package/dist/lib/chart-loader.d.ts.map +1 -0
- package/dist/lib/marked-loader.d.ts +13 -0
- package/dist/lib/marked-loader.d.ts.map +1 -0
- package/dist/lib/milkdown-loader.d.ts +12 -0
- package/dist/lib/milkdown-loader.d.ts.map +1 -0
- package/dist/lib/template-bind.d.ts +3 -0
- package/dist/lib/template-bind.d.ts.map +1 -0
- package/dist/lib/virtualizer.d.ts +35 -0
- package/dist/lib/virtualizer.d.ts.map +1 -0
- package/dist/marked-entry.d.ts +7 -0
- package/dist/marked-entry.d.ts.map +1 -0
- package/dist/marked.umd.js +61 -0
- package/dist/marked.umd.js.map +7 -0
- package/dist/milkdown-entry.d.ts +7 -0
- package/dist/milkdown-entry.d.ts.map +1 -0
- package/dist/milkdown.umd.js +1875 -0
- package/dist/milkdown.umd.js.map +7 -0
- package/dist/stores/all-components.stories.d.ts +6 -0
- package/dist/stores/all-components.stories.d.ts.map +1 -0
- package/dist/theme-css.d.ts +38 -0
- package/dist/theme-css.d.ts.map +1 -0
- package/dist/theme-css.js +193 -0
- package/dist/theme-css.js.map +7 -0
- package/dist/ui-elements.d.ts +213 -0
- package/dist/ui-elements.d.ts.map +1 -0
- package/package.json +65 -0
- package/src/fonts/OFL.txt +76 -0
- package/src/fonts/README.md +43 -0
- package/src/fonts/fonts.css +91 -0
- package/src/fonts/sora-400.ttf +0 -0
- package/src/fonts/sora-500.ttf +0 -0
- package/src/fonts/sora-600.ttf +0 -0
- package/src/fonts/sora-700.ttf +0 -0
- package/src/fonts/work-sans-400.ttf +0 -0
- package/src/fonts/work-sans-500.ttf +0 -0
- package/src/fonts/work-sans-600.ttf +0 -0
- package/src/fonts/work-sans-700.ttf +0 -0
- package/src/theme-css.ts +390 -0
- package/types.d.ts +249 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
type DtTooltipAttributes = Partial<{
|
|
3
|
+
content: string;
|
|
4
|
+
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
+
delay: number | string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
class: string;
|
|
8
|
+
style: string | Record<string, string>;
|
|
9
|
+
}>;
|
|
10
|
+
type DtTooltipJSXProps = DtTooltipAttributes & {
|
|
11
|
+
children?: unknown;
|
|
12
|
+
ref?: unknown;
|
|
13
|
+
key?: string | number | null;
|
|
14
|
+
};
|
|
15
|
+
type DtCardAttributes = Partial<{
|
|
16
|
+
variant: 'default' | 'outlined' | 'filled';
|
|
17
|
+
class: string;
|
|
18
|
+
style: string | Record<string, string>;
|
|
19
|
+
}>;
|
|
20
|
+
type DtCardJSXProps = DtCardAttributes & {
|
|
21
|
+
children?: unknown;
|
|
22
|
+
ref?: unknown;
|
|
23
|
+
key?: string | number | null;
|
|
24
|
+
};
|
|
25
|
+
type DtSelectAttributes = Partial<{
|
|
26
|
+
value: string;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
align: 'left' | 'right';
|
|
30
|
+
class: string;
|
|
31
|
+
style: string | Record<string, string>;
|
|
32
|
+
}>;
|
|
33
|
+
type DtSelectJSXProps = DtSelectAttributes & {
|
|
34
|
+
children?: unknown;
|
|
35
|
+
ref?: unknown;
|
|
36
|
+
key?: string | number | null;
|
|
37
|
+
};
|
|
38
|
+
type DtGridAttributes = Partial<{
|
|
39
|
+
cols: '1' | '2' | '3' | '4' | '5' | '6';
|
|
40
|
+
gap: '0' | '4' | '8' | '12' | '16' | '20' | '24' | '32';
|
|
41
|
+
'min-width': '150' | '180' | '200' | '220' | '260' | '300';
|
|
42
|
+
class: string;
|
|
43
|
+
style: string | Record<string, string>;
|
|
44
|
+
}>;
|
|
45
|
+
type DtGridJSXProps = DtGridAttributes & {
|
|
46
|
+
children?: unknown;
|
|
47
|
+
ref?: unknown;
|
|
48
|
+
key?: string | number | null;
|
|
49
|
+
};
|
|
50
|
+
type DtStackAttributes = Partial<{
|
|
51
|
+
direction: 'column' | 'row';
|
|
52
|
+
gap: '0' | '4' | '8' | '12' | '16' | '20' | '24' | '32';
|
|
53
|
+
align: 'start' | 'center' | 'end' | 'stretch';
|
|
54
|
+
class: string;
|
|
55
|
+
style: string | Record<string, string>;
|
|
56
|
+
}>;
|
|
57
|
+
type DtStackJSXProps = DtStackAttributes & {
|
|
58
|
+
children?: unknown;
|
|
59
|
+
ref?: unknown;
|
|
60
|
+
key?: string | number | null;
|
|
61
|
+
};
|
|
62
|
+
type DtStatAttributes = Partial<{
|
|
63
|
+
label: string;
|
|
64
|
+
value: string;
|
|
65
|
+
description: string;
|
|
66
|
+
size: 'sm' | 'md' | 'lg';
|
|
67
|
+
variant: 'default' | 'outlined' | 'filled';
|
|
68
|
+
trend: 'up' | 'down' | 'neutral';
|
|
69
|
+
'trend-value': string;
|
|
70
|
+
class: string;
|
|
71
|
+
style: string | Record<string, string>;
|
|
72
|
+
}>;
|
|
73
|
+
type DtStatJSXProps = DtStatAttributes & {
|
|
74
|
+
children?: unknown;
|
|
75
|
+
ref?: unknown;
|
|
76
|
+
key?: string | number | null;
|
|
77
|
+
};
|
|
78
|
+
type DtBadgeAttributes = Partial<{
|
|
79
|
+
variant: 'accent' | 'success' | 'danger' | 'warning' | 'info' | 'default' | 'neutral';
|
|
80
|
+
size: 'sm' | 'md' | 'lg';
|
|
81
|
+
text: string;
|
|
82
|
+
class: string;
|
|
83
|
+
style: string | Record<string, string>;
|
|
84
|
+
}>;
|
|
85
|
+
type DtBadgeJSXProps = DtBadgeAttributes & {
|
|
86
|
+
children?: unknown;
|
|
87
|
+
ref?: unknown;
|
|
88
|
+
key?: string | number | null;
|
|
89
|
+
};
|
|
90
|
+
type DtButtonAttributes = Partial<{
|
|
91
|
+
variant: 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
92
|
+
size: 'sm' | 'md' | 'lg';
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
fullwidth: boolean;
|
|
95
|
+
type: 'button' | 'submit' | 'reset';
|
|
96
|
+
class: string;
|
|
97
|
+
style: string | Record<string, string>;
|
|
98
|
+
}>;
|
|
99
|
+
type DtButtonJSXProps = DtButtonAttributes & {
|
|
100
|
+
children?: unknown;
|
|
101
|
+
ref?: unknown;
|
|
102
|
+
key?: string | number | null;
|
|
103
|
+
};
|
|
104
|
+
type DtDividerAttributes = Partial<{
|
|
105
|
+
direction: 'horizontal' | 'vertical';
|
|
106
|
+
'style-variant': 'default' | 'subtle' | 'strong';
|
|
107
|
+
spacing: 'sm' | 'md' | 'lg';
|
|
108
|
+
class: string;
|
|
109
|
+
style: string | Record<string, string>;
|
|
110
|
+
}>;
|
|
111
|
+
type DtDividerJSXProps = DtDividerAttributes & {
|
|
112
|
+
children?: unknown;
|
|
113
|
+
ref?: unknown;
|
|
114
|
+
key?: string | number | null;
|
|
115
|
+
};
|
|
116
|
+
type DtListViewAttributes = Partial<{
|
|
117
|
+
'item-height': number | string;
|
|
118
|
+
dividers: boolean;
|
|
119
|
+
selectable: 'none' | 'single' | 'multi';
|
|
120
|
+
'empty-text': string;
|
|
121
|
+
class: string;
|
|
122
|
+
style: string | Record<string, string>;
|
|
123
|
+
}>;
|
|
124
|
+
type DtListViewJSXProps = DtListViewAttributes & {
|
|
125
|
+
children?: unknown;
|
|
126
|
+
ref?: unknown;
|
|
127
|
+
key?: string | number | null;
|
|
128
|
+
};
|
|
129
|
+
type DtTableViewAttributes = Partial<{
|
|
130
|
+
'row-height': number | string;
|
|
131
|
+
sortable: boolean;
|
|
132
|
+
striped: boolean;
|
|
133
|
+
bordered: boolean;
|
|
134
|
+
'empty-text': string;
|
|
135
|
+
class: string;
|
|
136
|
+
style: string | Record<string, string>;
|
|
137
|
+
}>;
|
|
138
|
+
type DtTableViewJSXProps = DtTableViewAttributes & {
|
|
139
|
+
children?: unknown;
|
|
140
|
+
ref?: unknown;
|
|
141
|
+
key?: string | number | null;
|
|
142
|
+
};
|
|
143
|
+
type DtColumnAttributes = Partial<{
|
|
144
|
+
field: string;
|
|
145
|
+
header: string;
|
|
146
|
+
width: string;
|
|
147
|
+
'min-width': string;
|
|
148
|
+
align: 'left' | 'center' | 'right';
|
|
149
|
+
class: string;
|
|
150
|
+
style: string | Record<string, string>;
|
|
151
|
+
}>;
|
|
152
|
+
type DtColumnJSXProps = DtColumnAttributes & {
|
|
153
|
+
children?: unknown;
|
|
154
|
+
ref?: unknown;
|
|
155
|
+
key?: string | number | null;
|
|
156
|
+
};
|
|
157
|
+
type DtChartAttributes = Partial<{
|
|
158
|
+
type: 'bar' | 'line' | 'area' | 'pie' | 'doughnut' | 'radar' | 'scatter' | 'bubble';
|
|
159
|
+
legend: 'top' | 'bottom' | 'left' | 'right' | 'none';
|
|
160
|
+
stacked: boolean;
|
|
161
|
+
labels: string;
|
|
162
|
+
class: string;
|
|
163
|
+
style: string | Record<string, string>;
|
|
164
|
+
}>;
|
|
165
|
+
type DtChartJSXProps = DtChartAttributes & {
|
|
166
|
+
children?: unknown;
|
|
167
|
+
ref?: unknown;
|
|
168
|
+
key?: string | number | null;
|
|
169
|
+
};
|
|
170
|
+
type DtMarkdownAttributes = Partial<{
|
|
171
|
+
streaming: boolean;
|
|
172
|
+
'unsafe-html': boolean;
|
|
173
|
+
class: string;
|
|
174
|
+
style: string | Record<string, string>;
|
|
175
|
+
}>;
|
|
176
|
+
type DtMarkdownJSXProps = DtMarkdownAttributes & {
|
|
177
|
+
children?: unknown;
|
|
178
|
+
ref?: unknown;
|
|
179
|
+
key?: string | number | null;
|
|
180
|
+
};
|
|
181
|
+
type DtMarkdownEditorAttributes = Partial<{
|
|
182
|
+
placeholder: string;
|
|
183
|
+
readonly: boolean;
|
|
184
|
+
class: string;
|
|
185
|
+
style: string | Record<string, string>;
|
|
186
|
+
}>;
|
|
187
|
+
type DtMarkdownEditorJSXProps = DtMarkdownEditorAttributes & {
|
|
188
|
+
children?: unknown;
|
|
189
|
+
ref?: unknown;
|
|
190
|
+
key?: string | number | null;
|
|
191
|
+
};
|
|
192
|
+
declare module 'react' {
|
|
193
|
+
namespace JSX {
|
|
194
|
+
interface IntrinsicElements {
|
|
195
|
+
'dt-tooltip': DtTooltipJSXProps;
|
|
196
|
+
'dt-card': DtCardJSXProps;
|
|
197
|
+
'dt-select': DtSelectJSXProps;
|
|
198
|
+
'dt-grid': DtGridJSXProps;
|
|
199
|
+
'dt-stack': DtStackJSXProps;
|
|
200
|
+
'dt-stat': DtStatJSXProps;
|
|
201
|
+
'dt-badge': DtBadgeJSXProps;
|
|
202
|
+
'dt-button': DtButtonJSXProps;
|
|
203
|
+
'dt-divider': DtDividerJSXProps;
|
|
204
|
+
'dt-list-view': DtListViewJSXProps;
|
|
205
|
+
'dt-table-view': DtTableViewJSXProps;
|
|
206
|
+
'dt-column': DtColumnJSXProps;
|
|
207
|
+
'dt-chart': DtChartJSXProps;
|
|
208
|
+
'dt-markdown': DtMarkdownJSXProps;
|
|
209
|
+
'dt-markdown-editor': DtMarkdownEditorJSXProps;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=ui-elements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-elements.d.ts","sourceRoot":"","sources":["../src/ui-elements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,KAAK,mBAAmB,GAAG,OAAO,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,mBAAmB,GAAG;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,KAAK,gBAAgB,GAAG,OAAO,CAAC;IAC9B,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH,KAAK,cAAc,GAAG,gBAAgB,GAAG;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,GAAG,CAAC,EAAE,MA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AAE,eAAe,CAAC;YAC5B,aAAa,EAAE,kBAAkB,CAAC;YAClC,oBAAoB,EAAE,wBAAwB,CAAC;SAChD;KACF;CACF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@desktalk/ui",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "Shared UI components, fonts, and theme assets for DeskTalk.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/vincentdchan/DeskTalk.git",
|
|
10
|
+
"directory": "packages/ui"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist/index.js",
|
|
16
|
+
"module": "./dist/index.js",
|
|
17
|
+
"types": "./types.d.ts",
|
|
18
|
+
"unpkg": "./dist/desktalk-ui.js",
|
|
19
|
+
"jsdelivr": "./dist/desktalk-ui.js",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"src/theme-css.ts",
|
|
23
|
+
"src/fonts",
|
|
24
|
+
"types.d.ts"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./types.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"default": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./theme-css": {
|
|
33
|
+
"types": "./src/theme-css.ts",
|
|
34
|
+
"import": "./dist/theme-css.js",
|
|
35
|
+
"default": "./dist/theme-css.js"
|
|
36
|
+
},
|
|
37
|
+
"./fonts.css": "./src/fonts/fonts.css",
|
|
38
|
+
"./umd": "./dist/desktalk-ui.js",
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@storybook/addon-a11y": "^10.3.1",
|
|
43
|
+
"@storybook/addon-docs": "^10.3.3",
|
|
44
|
+
"@storybook/web-components-vite": "^10.3.1",
|
|
45
|
+
"@types/culori": "^4.0.1",
|
|
46
|
+
"esbuild": "^0.24.0",
|
|
47
|
+
"storybook": "^10.3.1",
|
|
48
|
+
"typescript": "^5.7.0",
|
|
49
|
+
"vite": "^7.3.1"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@milkdown/crepe": "^7.19.0",
|
|
53
|
+
"@milkdown/kit": "^7.19.0",
|
|
54
|
+
"chart.js": "^4.5.1",
|
|
55
|
+
"culori": "^4.0.2",
|
|
56
|
+
"marked": "^17.0.5"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "pnpm run clean && node ./build.mjs && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
60
|
+
"dev": "node ./build.mjs --watch",
|
|
61
|
+
"clean": "rm -rf dist storybook-static",
|
|
62
|
+
"storybook": "storybook dev -p 6006 -c .storybook",
|
|
63
|
+
"storybook:build": "storybook build -c .storybook"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Copyright 2024 The Sora Project Authors (https://github.com/sora-xor/sora-font)
|
|
2
|
+
Copyright 2014-2024 The Work Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://openfontlicense.org
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The fonts covered by this license can be used freely to create documents,
|
|
21
|
+
web pages, and other products. The fonts can be bundled, redistributed,
|
|
22
|
+
and sold as part of software bundles.
|
|
23
|
+
|
|
24
|
+
DEFINITIONS
|
|
25
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
26
|
+
Holder(s) under this license and clearly marked as such. This may include
|
|
27
|
+
source files, build scripts and documentation.
|
|
28
|
+
|
|
29
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
30
|
+
copyright statement(s).
|
|
31
|
+
|
|
32
|
+
"Original Version" refers to the collection of Font Software components as
|
|
33
|
+
distributed by the Copyright Holder(s).
|
|
34
|
+
|
|
35
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
36
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
37
|
+
Original Version.
|
|
38
|
+
|
|
39
|
+
"Author" refers to any designer, engineer, programmer, technical writer or
|
|
40
|
+
other person who contributed to the Font Software.
|
|
41
|
+
|
|
42
|
+
PERMISSION & CONDITIONS
|
|
43
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
44
|
+
copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
45
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
46
|
+
Software, subject to the following conditions:
|
|
47
|
+
|
|
48
|
+
1) Neither the Font Software nor any of its individual components, in
|
|
49
|
+
Original or Modified Versions, may be sold by itself.
|
|
50
|
+
|
|
51
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
52
|
+
redistributed and/or sold with any software, provided that each copy
|
|
53
|
+
contains the above copyright notice and this license.
|
|
54
|
+
|
|
55
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
56
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
57
|
+
Copyright Holder.
|
|
58
|
+
|
|
59
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
60
|
+
Software shall not be used to promote, endorse or advertise any Modified
|
|
61
|
+
Version, except to acknowledge the contribution(s) of the Copyright
|
|
62
|
+
Holder(s) and the Author(s).
|
|
63
|
+
|
|
64
|
+
5) The Font Software, modified or unmodified, in part or in whole, must
|
|
65
|
+
be distributed entirely under this license, and must not be distributed
|
|
66
|
+
under any other license.
|
|
67
|
+
|
|
68
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
69
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
70
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
71
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT.
|
|
72
|
+
|
|
73
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
74
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
75
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE FONT SOFTWARE OR THE USE
|
|
76
|
+
OR OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# DeskTalk Fonts
|
|
2
|
+
|
|
3
|
+
This directory contains self-hosted Google Fonts for the DeskTalk UI package.
|
|
4
|
+
|
|
5
|
+
## Included Fonts
|
|
6
|
+
|
|
7
|
+
### Sora
|
|
8
|
+
|
|
9
|
+
- **Usage**: Display font for headings and decorative numbers
|
|
10
|
+
- **Weights**: 400, 500, 600, 700
|
|
11
|
+
- **License**: SIL Open Font License (OFL)
|
|
12
|
+
- **Source**: https://fonts.google.com/specimen/Sora
|
|
13
|
+
|
|
14
|
+
### Work Sans
|
|
15
|
+
|
|
16
|
+
- **Usage**: UI font for body text, buttons, and navigation
|
|
17
|
+
- **Weights**: 400, 500, 600, 700
|
|
18
|
+
- **License**: SIL Open Font License (OFL)
|
|
19
|
+
- **Source**: https://fonts.google.com/specimen/Work+Sans
|
|
20
|
+
|
|
21
|
+
## Font Loading Strategy
|
|
22
|
+
|
|
23
|
+
All fonts use `font-display: swap` to ensure text remains visible during font loading,
|
|
24
|
+
providing better perceived performance.
|
|
25
|
+
|
|
26
|
+
## CSS Variables
|
|
27
|
+
|
|
28
|
+
The following CSS variables are available:
|
|
29
|
+
|
|
30
|
+
- `--font-display`: 'Sora' - For headings and large numbers
|
|
31
|
+
- `--font-ui`: 'Work Sans' - For body text and UI elements
|
|
32
|
+
- `--font-mono`: System monospace fonts - For code
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
Both fonts are licensed under the SIL Open Font License (OFL), which permits:
|
|
37
|
+
|
|
38
|
+
- ✓ Use in commercial projects
|
|
39
|
+
- ✓ Modification and redistribution
|
|
40
|
+
- ✓ Bundling with software
|
|
41
|
+
- ✗ Selling the fonts by themselves
|
|
42
|
+
|
|
43
|
+
Full license text available at: https://scripts.sil.org/OFL
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DeskTalk Font Faces
|
|
3
|
+
*
|
|
4
|
+
* Self-hosted Google Fonts:
|
|
5
|
+
* - Sora: Display/decorative font for headings and large numbers
|
|
6
|
+
* - Work Sans: UI font for body text, buttons, and navigation
|
|
7
|
+
*
|
|
8
|
+
* Fonts are licensed under SIL Open Font License (OFL)
|
|
9
|
+
* Source: https://fonts.google.com
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* ── Sora (Display Font) ──────────────────────────────────────────────────── */
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'Sora';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
src: url('sora-400.ttf') format('truetype');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Sora';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
font-display: swap;
|
|
27
|
+
src: url('sora-500.ttf') format('truetype');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Sora';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
font-display: swap;
|
|
35
|
+
src: url('sora-600.ttf') format('truetype');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Sora';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
font-display: swap;
|
|
43
|
+
src: url('sora-700.ttf') format('truetype');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* ── Work Sans (UI Font) ──────────────────────────────────────────────────── */
|
|
47
|
+
|
|
48
|
+
@font-face {
|
|
49
|
+
font-family: 'Work Sans';
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
font-display: swap;
|
|
53
|
+
src: url('work-sans-400.ttf') format('truetype');
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: 'Work Sans';
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
src: url('work-sans-500.ttf') format('truetype');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: 'Work Sans';
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
font-display: swap;
|
|
69
|
+
src: url('work-sans-600.ttf') format('truetype');
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@font-face {
|
|
73
|
+
font-family: 'Work Sans';
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 700;
|
|
76
|
+
font-display: swap;
|
|
77
|
+
src: url('work-sans-700.ttf') format('truetype');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* ── Font Variables ───────────────────────────────────────────────────────── */
|
|
81
|
+
|
|
82
|
+
:root {
|
|
83
|
+
/* Display font for headings and large numbers */
|
|
84
|
+
--font-display: 'Sora', system-ui, -apple-system, sans-serif;
|
|
85
|
+
|
|
86
|
+
/* UI font for body text, buttons, navigation */
|
|
87
|
+
--font-ui: 'Work Sans', system-ui, -apple-system, sans-serif;
|
|
88
|
+
|
|
89
|
+
/* Monospace font for code */
|
|
90
|
+
--font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
|
|
91
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|