@latty-ds/web 0.7.0 → 0.8.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.
Files changed (48) hide show
  1. package/custom-elements.json +272 -41
  2. package/dist/components/accordion/index.js +4 -4
  3. package/dist/components/alert/index.js +39 -5
  4. package/dist/components/avatar/index.js +1 -1
  5. package/dist/components/badge/index.js +6 -2
  6. package/dist/components/breadcrumb/index.js +1 -1
  7. package/dist/components/button/button.d.ts +7 -2
  8. package/dist/components/button/button.types.d.ts +3 -2
  9. package/dist/components/button/index.js +83 -4
  10. package/dist/components/calendar/index.js +3 -3
  11. package/dist/components/checkbox/index.js +2 -1
  12. package/dist/components/chip/index.js +6 -2
  13. package/dist/components/color-input/index.js +6 -3
  14. package/dist/components/combobox/index.js +4 -4
  15. package/dist/components/date-input/index.js +6 -6
  16. package/dist/components/datepicker/index.js +3 -3
  17. package/dist/components/dialog/index.js +40 -6
  18. package/dist/components/divider/index.js +1 -1
  19. package/dist/components/dropdown/index.js +5 -5
  20. package/dist/components/icon-button/icon-button.d.ts +4 -0
  21. package/dist/components/icon-button/index.js +35 -1
  22. package/dist/components/image/image.d.ts +32 -1
  23. package/dist/components/image/image.types.d.ts +7 -0
  24. package/dist/components/image/index.js +41 -2
  25. package/dist/components/list/index.js +86 -7
  26. package/dist/components/list/list-item.d.ts +35 -0
  27. package/dist/components/nav/index.js +19 -5
  28. package/dist/components/nav/nav-item.d.ts +7 -1
  29. package/dist/components/pagination/index.js +1 -1
  30. package/dist/components/radio/index.js +2 -1
  31. package/dist/components/radio-group/index.js +2 -2
  32. package/dist/components/select/index.js +6 -6
  33. package/dist/components/shared/aria-forwarding.d.ts +43 -0
  34. package/dist/components/sidepanel/index.js +36 -2
  35. package/dist/components/slider/index.js +2 -2
  36. package/dist/components/snackbar/index.js +4 -4
  37. package/dist/components/surface/index.js +3 -3
  38. package/dist/components/switch/index.js +2 -1
  39. package/dist/components/tab/index.js +1 -1
  40. package/dist/components/tab-group/index.js +2 -2
  41. package/dist/components/table/index.js +3 -3
  42. package/dist/components/text/index.js +1 -1
  43. package/dist/components/textfield/index.js +7 -3
  44. package/dist/components/tooltip/index.js +1 -1
  45. package/dist/index.cjs +294 -67
  46. package/dist/index.js +336 -106
  47. package/dist/manifest.json +45 -3
  48. package/package.json +3 -3
@@ -421,11 +421,12 @@
421
421
  },
422
422
  {
423
423
  "name": "appearance",
424
- "description": "Appearance style (filled or outlined).",
424
+ "description": "Appearance style (filled, outlined, or ghost).",
425
425
  "type": "select",
426
426
  "options": [
427
427
  "filled",
428
- "outlined"
428
+ "outlined",
429
+ "ghost"
429
430
  ],
430
431
  "default": "filled"
431
432
  },
@@ -1310,6 +1311,17 @@
1310
1311
  "description": "Makes the image fill its container using `object-fit: cover`.\nSize the `lt-image` element externally to define the crop box.",
1311
1312
  "type": "boolean",
1312
1313
  "default": false
1314
+ },
1315
+ {
1316
+ "name": "loading",
1317
+ "description": "Forwarded to the underlying `<img loading>` attribute.\n`lazy` defers loading until the image approaches the viewport.",
1318
+ "type": "select",
1319
+ "options": [
1320
+ "",
1321
+ "eager",
1322
+ "lazy"
1323
+ ],
1324
+ "default": ""
1313
1325
  }
1314
1326
  ]
1315
1327
  },
@@ -1342,6 +1354,36 @@
1342
1354
  "description": "Icon name to display after the item content.",
1343
1355
  "type": "icon",
1344
1356
  "default": ""
1357
+ },
1358
+ {
1359
+ "name": "clickable",
1360
+ "description": "Renders the row as a native `<button>` with hover/active/focus states.\nListen for `click` on the element to react. Ignored when `href` is set.",
1361
+ "type": "boolean",
1362
+ "default": false
1363
+ },
1364
+ {
1365
+ "name": "href",
1366
+ "description": "When set, renders the row as an `<a>` with hover/active/focus states.",
1367
+ "type": "text",
1368
+ "default": ""
1369
+ },
1370
+ {
1371
+ "name": "target",
1372
+ "description": "Forwarded to the anchor's `target` attribute when `href` is set.",
1373
+ "type": "text",
1374
+ "default": ""
1375
+ },
1376
+ {
1377
+ "name": "rel",
1378
+ "description": "Forwarded to the anchor's `rel` attribute when `href` is set.\nDefaults to `noopener noreferrer` when `target=\"_blank\"` and `rel` is not specified.",
1379
+ "type": "text",
1380
+ "default": ""
1381
+ },
1382
+ {
1383
+ "name": "disabled",
1384
+ "description": "Disables the interactive row. Only relevant with `clickable` or `href`.",
1385
+ "type": "boolean",
1386
+ "default": false
1345
1387
  }
1346
1388
  ]
1347
1389
  },
@@ -1410,7 +1452,7 @@
1410
1452
  },
1411
1453
  {
1412
1454
  "name": "active",
1413
- "description": "Whether this item is currently the active/selected page.",
1455
+ "description": "Whether this item is currently the active/selected page.\nSets `aria-current=\"page\"` on the internal trigger.",
1414
1456
  "type": "boolean",
1415
1457
  "default": false
1416
1458
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latty-ds/web",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Web Components for the Latty design system — framework-agnostic UI components built with Lit",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -224,8 +224,8 @@
224
224
  },
225
225
  "dependencies": {
226
226
  "@floating-ui/dom": "^1.7.6",
227
- "@latty-ds/icons": "0.7.0"
227
+ "@latty-ds/icons": "0.8.0"
228
228
  },
229
229
  "customElements": "custom-elements.json",
230
- "gitHead": "40d5903d30b50455ed244d5f0fd75fbd84934c46"
230
+ "gitHead": "144dd8d2f7440fd5fd8ecb4f396407c4ce3be9f2"
231
231
  }