canvas-ui-sdk 0.1.7 → 0.2.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/index.d.ts +67 -3
- package/dist/index.js +2588 -301
- package/dist/index.js.map +1 -1
- package/mcp/dist/index.js +5 -1
- package/package.json +1 -1
- package/styles/tokens.reference.css +35 -3
package/mcp/dist/index.js
CHANGED
|
@@ -21756,6 +21756,7 @@ var defaultButtonSizes = {
|
|
|
21756
21756
|
"--btn-mini-radius": "4px",
|
|
21757
21757
|
"--btn-mini-font-weight": "500",
|
|
21758
21758
|
"--btn-mini-letter-spacing": "0em",
|
|
21759
|
+
"--btn-mini-font-family": "",
|
|
21759
21760
|
// Small
|
|
21760
21761
|
"--btn-small-height": "32px",
|
|
21761
21762
|
"--btn-small-font-size": "14px",
|
|
@@ -21763,6 +21764,7 @@ var defaultButtonSizes = {
|
|
|
21763
21764
|
"--btn-small-radius": "6px",
|
|
21764
21765
|
"--btn-small-font-weight": "500",
|
|
21765
21766
|
"--btn-small-letter-spacing": "0em",
|
|
21767
|
+
"--btn-small-font-family": "",
|
|
21766
21768
|
// Standard
|
|
21767
21769
|
"--btn-standard-height": "40px",
|
|
21768
21770
|
"--btn-standard-font-size": "14px",
|
|
@@ -21770,13 +21772,15 @@ var defaultButtonSizes = {
|
|
|
21770
21772
|
"--btn-standard-radius": "8px",
|
|
21771
21773
|
"--btn-standard-font-weight": "500",
|
|
21772
21774
|
"--btn-standard-letter-spacing": "0em",
|
|
21775
|
+
"--btn-standard-font-family": "",
|
|
21773
21776
|
// Large
|
|
21774
21777
|
"--btn-large-height": "48px",
|
|
21775
21778
|
"--btn-large-font-size": "16px",
|
|
21776
21779
|
"--btn-large-px": "20px",
|
|
21777
21780
|
"--btn-large-radius": "10px",
|
|
21778
21781
|
"--btn-large-font-weight": "500",
|
|
21779
|
-
"--btn-large-letter-spacing": "0em"
|
|
21782
|
+
"--btn-large-letter-spacing": "0em",
|
|
21783
|
+
"--btn-large-font-family": ""
|
|
21780
21784
|
};
|
|
21781
21785
|
var defaultButtonColors = {
|
|
21782
21786
|
// Primary Save
|
package/package.json
CHANGED
|
@@ -206,6 +206,26 @@
|
|
|
206
206
|
--typo-input-label-size: 14px;
|
|
207
207
|
--typo-button-size: 14px;
|
|
208
208
|
|
|
209
|
+
/* Per-style font overrides (empty = use global font) */
|
|
210
|
+
--typo-h1-font: ;
|
|
211
|
+
--typo-h2-font: ;
|
|
212
|
+
--typo-h3-font: ;
|
|
213
|
+
--typo-h4-font: ;
|
|
214
|
+
--typo-h5-font: ;
|
|
215
|
+
--typo-h6-font: ;
|
|
216
|
+
--typo-body-xl-font: ;
|
|
217
|
+
--typo-body-l-font: ;
|
|
218
|
+
--typo-body-m-font: ;
|
|
219
|
+
--typo-body-s-font: ;
|
|
220
|
+
--typo-body-xs-font: ;
|
|
221
|
+
--typo-menu-label-font: ;
|
|
222
|
+
--typo-sidebar-label-font: ;
|
|
223
|
+
--typo-sidebar-tab-font: ;
|
|
224
|
+
--typo-sidebar-subtab-font: ;
|
|
225
|
+
--typo-header-font: ;
|
|
226
|
+
--typo-input-label-font: ;
|
|
227
|
+
--typo-button-font: ;
|
|
228
|
+
|
|
209
229
|
/* ============================================
|
|
210
230
|
* BUTTON SIZE TOKENS
|
|
211
231
|
* ============================================ */
|
|
@@ -215,24 +235,36 @@
|
|
|
215
235
|
--btn-mini-font-size: 12px;
|
|
216
236
|
--btn-mini-px: 10px;
|
|
217
237
|
--btn-mini-radius: 4px;
|
|
218
|
-
|
|
238
|
+
--btn-mini-font-weight: 500;
|
|
239
|
+
--btn-mini-letter-spacing: 0em;
|
|
240
|
+
--btn-mini-font-family: ;
|
|
241
|
+
|
|
219
242
|
/* Small */
|
|
220
243
|
--btn-small-height: 32px;
|
|
221
244
|
--btn-small-font-size: 14px;
|
|
222
245
|
--btn-small-px: 12px;
|
|
223
246
|
--btn-small-radius: 6px;
|
|
224
|
-
|
|
247
|
+
--btn-small-font-weight: 500;
|
|
248
|
+
--btn-small-letter-spacing: 0em;
|
|
249
|
+
--btn-small-font-family: ;
|
|
250
|
+
|
|
225
251
|
/* Standard */
|
|
226
252
|
--btn-standard-height: 40px;
|
|
227
253
|
--btn-standard-font-size: 14px;
|
|
228
254
|
--btn-standard-px: 16px;
|
|
229
255
|
--btn-standard-radius: 8px;
|
|
230
|
-
|
|
256
|
+
--btn-standard-font-weight: 500;
|
|
257
|
+
--btn-standard-letter-spacing: 0em;
|
|
258
|
+
--btn-standard-font-family: ;
|
|
259
|
+
|
|
231
260
|
/* Large */
|
|
232
261
|
--btn-large-height: 48px;
|
|
233
262
|
--btn-large-font-size: 16px;
|
|
234
263
|
--btn-large-px: 20px;
|
|
235
264
|
--btn-large-radius: 10px;
|
|
265
|
+
--btn-large-font-weight: 500;
|
|
266
|
+
--btn-large-letter-spacing: 0em;
|
|
267
|
+
--btn-large-font-family: ;
|
|
236
268
|
|
|
237
269
|
/* ============================================
|
|
238
270
|
* BUTTON COLOR TOKENS
|