@oddmash/ui 0.6.0 → 0.7.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.
@@ -194,6 +194,10 @@
194
194
  "value": 28,
195
195
  "unit": "px"
196
196
  }
197
+ },
198
+ "touch-target": {
199
+ "$type": "dimension",
200
+ "$value": "{primitive.dimension.px-44}"
197
201
  }
198
202
  },
199
203
  "overlay": {
@@ -207,6 +211,236 @@
207
211
  ],
208
212
  "alpha": 0.5
209
213
  }
214
+ },
215
+ "dimension": {
216
+ "px-2": {
217
+ "$type": "dimension",
218
+ "$value": "{primitive.dimension.px-2}"
219
+ },
220
+ "px-1": {
221
+ "$type": "dimension",
222
+ "$value": "{primitive.dimension.px-1}"
223
+ },
224
+ "px-440": {
225
+ "$type": "dimension",
226
+ "$value": "{primitive.dimension.px-440}"
227
+ },
228
+ "px-32": {
229
+ "$type": "dimension",
230
+ "$value": "{primitive.dimension.px-32}"
231
+ },
232
+ "px-3": {
233
+ "$type": "dimension",
234
+ "$value": "{primitive.dimension.px-3}"
235
+ },
236
+ "px-480": {
237
+ "$type": "dimension",
238
+ "$value": "{primitive.dimension.px-480}"
239
+ },
240
+ "px-240": {
241
+ "$type": "dimension",
242
+ "$value": "{primitive.dimension.px-240}"
243
+ },
244
+ "rem-1": {
245
+ "$type": "dimension",
246
+ "$value": "{primitive.dimension.rem-1}"
247
+ },
248
+ "rem-0-5": {
249
+ "$type": "dimension",
250
+ "$value": "{primitive.dimension.rem-0-5}"
251
+ },
252
+ "rem-0-28": {
253
+ "$type": "dimension",
254
+ "$value": "{primitive.dimension.rem-0-28}"
255
+ },
256
+ "rem-0-375": {
257
+ "$type": "dimension",
258
+ "$value": "{primitive.dimension.rem-0-375}"
259
+ },
260
+ "rem-2-25": {
261
+ "$type": "dimension",
262
+ "$value": "{primitive.dimension.rem-2-25}"
263
+ },
264
+ "rem-1-25": {
265
+ "$type": "dimension",
266
+ "$value": "{primitive.dimension.rem-1-25}"
267
+ },
268
+ "rem-0-75": {
269
+ "$type": "dimension",
270
+ "$value": "{primitive.dimension.rem-0-75}"
271
+ },
272
+ "rem-1-125": {
273
+ "$type": "dimension",
274
+ "$value": "{primitive.dimension.rem-1-125}"
275
+ },
276
+ "rem-2-5": {
277
+ "$type": "dimension",
278
+ "$value": "{primitive.dimension.rem-2-5}"
279
+ },
280
+ "px-4": {
281
+ "$type": "dimension",
282
+ "$value": "{primitive.dimension.px-4}"
283
+ },
284
+ "rem-12": {
285
+ "$type": "dimension",
286
+ "$value": "{primitive.dimension.rem-12}"
287
+ },
288
+ "rem-22": {
289
+ "$type": "dimension",
290
+ "$value": "{primitive.dimension.rem-22}"
291
+ },
292
+ "px-0": {
293
+ "$type": "dimension",
294
+ "$value": "{primitive.dimension.px-0}"
295
+ },
296
+ "px-20": {
297
+ "$type": "dimension",
298
+ "$value": "{primitive.dimension.px-20}"
299
+ },
300
+ "px-28": {
301
+ "$type": "dimension",
302
+ "$value": "{primitive.dimension.px-28}"
303
+ },
304
+ "px-5": {
305
+ "$type": "dimension",
306
+ "$value": "{primitive.dimension.px-5}"
307
+ },
308
+ "px-16": {
309
+ "$type": "dimension",
310
+ "$value": "{primitive.dimension.px-16}"
311
+ },
312
+ "px-12": {
313
+ "$type": "dimension",
314
+ "$value": "{primitive.dimension.px-12}"
315
+ },
316
+ "px-8": {
317
+ "$type": "dimension",
318
+ "$value": "{primitive.dimension.px-8}"
319
+ },
320
+ "px-360": {
321
+ "$type": "dimension",
322
+ "$value": "{primitive.dimension.px-360}"
323
+ },
324
+ "rem-72": {
325
+ "$type": "dimension",
326
+ "$value": "{primitive.dimension.rem-72}"
327
+ },
328
+ "px-48": {
329
+ "$type": "dimension",
330
+ "$value": "{primitive.dimension.px-48}"
331
+ },
332
+ "rem-4": {
333
+ "$type": "dimension",
334
+ "$value": "{primitive.dimension.rem-4}"
335
+ },
336
+ "px-44": {
337
+ "$type": "dimension",
338
+ "$value": "{primitive.dimension.px-44}"
339
+ }
340
+ },
341
+ "duration": {
342
+ "ms-160": {
343
+ "$type": "duration",
344
+ "$value": "{primitive.duration.ms-160}"
345
+ },
346
+ "ms-750": {
347
+ "$type": "duration",
348
+ "$value": "{primitive.duration.ms-750}"
349
+ },
350
+ "ms-240": {
351
+ "$type": "duration",
352
+ "$value": "{primitive.duration.ms-240}"
353
+ },
354
+ "ms-180": {
355
+ "$type": "duration",
356
+ "$value": "{primitive.duration.ms-180}"
357
+ },
358
+ "ms-120": {
359
+ "$type": "duration",
360
+ "$value": "{primitive.duration.ms-120}"
361
+ },
362
+ "ms-900": {
363
+ "$type": "duration",
364
+ "$value": "{primitive.duration.ms-900}"
365
+ },
366
+ "ms-220": {
367
+ "$type": "duration",
368
+ "$value": "{primitive.duration.ms-220}"
369
+ },
370
+ "ms-140": {
371
+ "$type": "duration",
372
+ "$value": "{primitive.duration.ms-140}"
373
+ },
374
+ "ms-1600": {
375
+ "$type": "duration",
376
+ "$value": "{primitive.duration.ms-1600}"
377
+ },
378
+ "ms-950": {
379
+ "$type": "duration",
380
+ "$value": "{primitive.duration.ms-950}"
381
+ }
382
+ },
383
+ "number": {
384
+ "opacity-0-5": {
385
+ "$type": "number",
386
+ "$value": "{primitive.number.opacity-0-5}"
387
+ },
388
+ "layer-1000": {
389
+ "$type": "number",
390
+ "$value": "{primitive.number.layer-1000}"
391
+ },
392
+ "layer-1001": {
393
+ "$type": "number",
394
+ "$value": "{primitive.number.layer-1001}"
395
+ },
396
+ "weight-650": {
397
+ "$type": "number",
398
+ "$value": "{primitive.number.weight-650}"
399
+ },
400
+ "layer-2": {
401
+ "$type": "number",
402
+ "$value": "{primitive.number.layer-2}"
403
+ },
404
+ "layer-900": {
405
+ "$type": "number",
406
+ "$value": "{primitive.number.layer-900}"
407
+ },
408
+ "weight-600": {
409
+ "$type": "number",
410
+ "$value": "{primitive.number.weight-600}"
411
+ },
412
+ "opacity-0-65": {
413
+ "$type": "number",
414
+ "$value": "{primitive.number.opacity-0-65}"
415
+ }
416
+ },
417
+ "easing": {
418
+ "curve-0-22-0-8-0-3-1": {
419
+ "$type": "cubicBezier",
420
+ "$value": "{primitive.easing.curve-0-22-0-8-0-3-1}"
421
+ },
422
+ "curve-0-4-0-0-2-1": {
423
+ "$type": "cubicBezier",
424
+ "$value": "{primitive.easing.curve-0-4-0-0-2-1}"
425
+ },
426
+ "curve-0-2-0-8-0-2-1": {
427
+ "$type": "cubicBezier",
428
+ "$value": "{primitive.easing.curve-0-2-0-8-0-2-1}"
429
+ },
430
+ "curve-0-45-0-0-55-1": {
431
+ "$type": "cubicBezier",
432
+ "$value": "{primitive.easing.curve-0-45-0-0-55-1}"
433
+ }
434
+ },
435
+ "focus": {
436
+ "width": {
437
+ "$type": "dimension",
438
+ "$value": "{primitive.dimension.px-2}"
439
+ },
440
+ "offset": {
441
+ "$type": "dimension",
442
+ "$value": "{primitive.dimension.px-2}"
443
+ }
210
444
  }
211
445
  }
212
446
  }
@@ -1,53 +0,0 @@
1
- "use client";
2
-
3
- // src/generated/tokens.ts
4
- var tokens = {
5
- "color.bg": "var(--om-semantic-color-bg)",
6
- "color.surface": "var(--om-semantic-color-surface)",
7
- "color.text": "var(--om-semantic-color-text)",
8
- "color.muted": "var(--om-semantic-color-muted)",
9
- "color.border": "var(--om-semantic-color-border)",
10
- "color.accent": "var(--om-semantic-color-accent)",
11
- "color.accent-hover": "var(--om-semantic-color-accent-hover)",
12
- "color.on-accent": "var(--om-semantic-color-on-accent)",
13
- "color.danger": "var(--om-semantic-color-danger)",
14
- "color.success": "var(--om-semantic-color-success)",
15
- "color.warning": "var(--om-semantic-color-warning)",
16
- "color.info": "var(--om-semantic-color-info)",
17
- "color.focus": "var(--om-semantic-color-focus)",
18
- "color.border-subtle": "var(--om-semantic-color-border-subtle)",
19
- "color.action": "var(--om-semantic-color-action)",
20
- "color.on-action": "var(--om-semantic-color-on-action)",
21
- "color.action-hover": "var(--om-semantic-color-action-hover)",
22
- "space.xs": "var(--om-semantic-space-xs)",
23
- "space.sm": "var(--om-semantic-space-sm)",
24
- "space.md": "var(--om-semantic-space-md)",
25
- "space.lg": "var(--om-semantic-space-lg)",
26
- "space.xl": "var(--om-semantic-space-xl)",
27
- "radius.sm": "var(--om-semantic-radius-sm)",
28
- "radius.md": "var(--om-semantic-radius-md)",
29
- "radius.lg": "var(--om-semantic-radius-lg)",
30
- "radius.xl": "var(--om-semantic-radius-xl)",
31
- "radius.2xl": "var(--om-semantic-radius-2xl)",
32
- "radius.pill": "var(--om-semantic-radius-pill)",
33
- "font.family": "var(--om-semantic-font-family)",
34
- "font.size": "var(--om-semantic-font-size)",
35
- "font.small": "var(--om-semantic-font-small)",
36
- "font.heading": "var(--om-semantic-font-heading)",
37
- "font.weight": "var(--om-semantic-font-weight)",
38
- "font.line": "var(--om-semantic-font-line)",
39
- "font.mono-family": "var(--om-semantic-font-mono-family)",
40
- "border.default": "var(--om-semantic-border-default)",
41
- "border.width": "var(--om-semantic-border-width)",
42
- "border.style": "var(--om-semantic-border-style)",
43
- "shadow": "var(--om-semantic-shadow)",
44
- "motion.duration": "var(--om-semantic-motion-duration)",
45
- "motion.ease": "var(--om-semantic-motion-ease)",
46
- "control.height": "var(--om-semantic-control-height)",
47
- "control.small": "var(--om-semantic-control-small)",
48
- "overlay": "var(--om-semantic-overlay)"
49
- };
50
-
51
- export {
52
- tokens
53
- };