@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.
- package/README.md +76 -1
- package/dist/Table-BaJ8qfrV.js +4949 -0
- package/dist/Table-Cqm_mtRS.cjs +566 -0
- package/dist/components/atoms/Eyebrow/Eyebrow.d.ts +29 -0
- package/dist/components/atoms/Eyebrow/eyebrow-variants.d.ts +13 -0
- package/dist/components/atoms/InlineCode/InlineCode.d.ts +9 -0
- package/dist/components/atoms/InlineCode/inline-code-variants.d.ts +10 -0
- package/dist/components/atoms/LabeledDivider/LabeledDivider.d.ts +19 -0
- package/dist/components/atoms/Stat/Stat.d.ts +21 -0
- package/dist/components/atoms/Stat/stat-variants.d.ts +9 -0
- package/dist/components/atoms/ThemeToggle/ThemeToggle.d.ts +31 -0
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +42 -3
- package/dist/components/molecules/DescriptionList/DescriptionList.d.ts +24 -0
- package/dist/components/molecules/DescriptionList/description-list-variants.d.ts +10 -0
- package/dist/components/molecules/Pullquote/Pullquote.d.ts +22 -0
- package/dist/components/molecules/Pullquote/pullquote-variants.d.ts +11 -0
- package/dist/data-table.cjs.js +1 -1
- package/dist/data-table.es.js +6 -5
- package/dist/hooks/useKeySequence.d.ts +39 -0
- package/dist/index.d.ts +13 -0
- package/dist/preflight.cjs.js +1 -1
- package/dist/preflight.es.js +1 -1
- package/dist/roster.cjs.js +2 -2
- package/dist/roster.css +1 -1
- package/dist/roster.es.js +2863 -2528
- package/dist/tokens.cjs.js +1 -1
- package/dist/tokens.es.js +1 -1
- package/dist/utils-D2U2F80P.cjs +1 -0
- package/dist/utils-DtaLkIY8.js +2776 -0
- package/dist/utils.cjs.js +1 -0
- package/dist/utils.d.ts +14 -0
- package/dist/utils.es.js +4 -0
- package/package.json +6 -1
- package/dist/Table-CG6Z6c1A.js +0 -7711
- 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;
|
package/dist/utils.d.ts
ADDED
|
@@ -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';
|
package/dist/utils.es.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blakesteve/roster",
|
|
3
|
-
"version": "4.
|
|
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"
|