@blakesteve/roster 4.0.0 → 4.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.
Files changed (35) hide show
  1. package/README.md +76 -1
  2. package/dist/Table-BaJ8qfrV.js +4949 -0
  3. package/dist/Table-Cqm_mtRS.cjs +566 -0
  4. package/dist/components/atoms/Eyebrow/Eyebrow.d.ts +29 -0
  5. package/dist/components/atoms/Eyebrow/eyebrow-variants.d.ts +13 -0
  6. package/dist/components/atoms/InlineCode/InlineCode.d.ts +9 -0
  7. package/dist/components/atoms/InlineCode/inline-code-variants.d.ts +10 -0
  8. package/dist/components/atoms/LabeledDivider/LabeledDivider.d.ts +19 -0
  9. package/dist/components/atoms/Stat/Stat.d.ts +21 -0
  10. package/dist/components/atoms/Stat/stat-variants.d.ts +9 -0
  11. package/dist/components/atoms/ThemeToggle/ThemeToggle.d.ts +31 -0
  12. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +42 -3
  13. package/dist/components/molecules/DescriptionList/DescriptionList.d.ts +24 -0
  14. package/dist/components/molecules/DescriptionList/description-list-variants.d.ts +10 -0
  15. package/dist/components/molecules/Pullquote/Pullquote.d.ts +22 -0
  16. package/dist/components/molecules/Pullquote/pullquote-variants.d.ts +11 -0
  17. package/dist/data-table.cjs.js +1 -1
  18. package/dist/data-table.es.js +6 -5
  19. package/dist/hooks/useKeySequence.d.ts +39 -0
  20. package/dist/index.d.ts +13 -0
  21. package/dist/preflight.cjs.js +1 -1
  22. package/dist/preflight.es.js +1 -1
  23. package/dist/roster.cjs.js +2 -2
  24. package/dist/roster.css +1 -1
  25. package/dist/roster.es.js +2863 -2528
  26. package/dist/tokens.cjs.js +1 -1
  27. package/dist/tokens.es.js +1 -1
  28. package/dist/utils-D2U2F80P.cjs +1 -0
  29. package/dist/utils-DtaLkIY8.js +2776 -0
  30. package/dist/utils.cjs.js +1 -0
  31. package/dist/utils.d.ts +14 -0
  32. package/dist/utils.es.js +4 -0
  33. package/package.json +6 -1
  34. package/dist/Table-CG6Z6c1A.js +0 -7711
  35. package/dist/Table-CPAcmkIV.cjs +0 -566
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-D2U2F80P.cjs");exports.cn=e.cn;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Utilities, shipped from their own entry.
3
+ *
4
+ * The main bundle carries a `"use client"` directive, because the modules
5
+ * inside it do and the bundler hoists the directive to the top of the chunk.
6
+ * That makes everything exported from `@blakesteve/roster` a client reference,
7
+ * which is correct for components but wrong for a plain function: importing
8
+ * `cn` from the root and calling it inside a React Server Component
9
+ * typechecks, then throws at render.
10
+ *
11
+ * This entry has no directive and no React, so `cn` is callable from either
12
+ * side. It is still re-exported from the root for existing consumers.
13
+ */
14
+ export { cn } from './lib/utils';
@@ -0,0 +1,4 @@
1
+ import { c as r } from "./utils-DtaLkIY8.js";
2
+ export {
3
+ r as cn
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blakesteve/roster",
3
- "version": "4.0.0",
3
+ "version": "4.2.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -19,6 +19,11 @@
19
19
  "import": "./dist/data-table.es.js",
20
20
  "require": "./dist/data-table.cjs.js"
21
21
  },
22
+ "./utils": {
23
+ "types": "./dist/utils.d.ts",
24
+ "import": "./dist/utils.es.js",
25
+ "require": "./dist/utils.cjs.js"
26
+ },
22
27
  "./style.css": "./dist/roster.css",
23
28
  "./tokens.css": "./dist/tokens.css",
24
29
  "./preflight.css": "./dist/preflight.css"