@contractspec/lib.design-system 3.7.6 → 3.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.
- package/README.md +45 -110
- package/dist/browser/index.js +473 -466
- package/dist/components/agent/ApprovalQueue.d.ts +1 -1
- package/dist/components/agent/ApprovalQueue.mobile.d.ts +12 -0
- package/dist/components/atoms/ActionButtons.d.ts +3 -3
- package/dist/components/atoms/Button.d.ts +1 -1
- package/dist/components/atoms/Cta.d.ts +2 -2
- package/dist/components/atoms/DataChips.d.ts +1 -1
- package/dist/components/atoms/Input.mobile.d.ts +1 -1
- package/dist/components/atoms/LoaderCircular.d.ts +1 -1
- package/dist/components/atoms/Textarea.mobile.d.ts +1 -1
- package/dist/components/data-table/DataTable.d.ts +15 -0
- package/dist/components/data-table/DataTable.mobile.d.ts +15 -0
- package/dist/components/data-view/DataViewDetail.d.ts +1 -1
- package/dist/components/data-view/DataViewList.d.ts +1 -1
- package/dist/components/data-view/DataViewRenderer.d.ts +1 -1
- package/dist/components/data-view/DataViewRenderer.mobile.d.ts +25 -0
- package/dist/components/data-view/DataViewTable.d.ts +2 -2
- package/dist/components/data-view/DataViewTable.mobile.d.ts +17 -0
- package/dist/components/forms/ZodForm.d.ts +1 -1
- package/dist/components/legal/atoms/LegalCallout.d.ts +1 -1
- package/dist/components/legal/atoms/LegalHeading.d.ts +2 -2
- package/dist/components/legal/atoms/LegalList.d.ts +1 -1
- package/dist/components/legal/atoms/LegalSection.d.ts +2 -2
- package/dist/components/legal/atoms/LegalText.d.ts +3 -3
- package/dist/components/legal/molecules/LegalTOC.d.ts +1 -1
- package/dist/components/marketing/MarketingCard.d.ts +1 -1
- package/dist/components/marketing/MarketingCardsSection.d.ts +2 -2
- package/dist/components/marketing/MarketingComparisonSection.d.ts +1 -1
- package/dist/components/marketing/MarketingIconCard.d.ts +2 -2
- package/dist/components/marketing/MarketingSection.d.ts +1 -1
- package/dist/components/molecules/EntityCard.d.ts +2 -2
- package/dist/components/molecules/MarkdownRenderer/MarkdownRenderer.d.ts +2 -0
- package/dist/components/molecules/MarkdownRenderer/formatInlineMarkdown.d.ts +2 -0
- package/dist/components/molecules/MarkdownRenderer/index.d.ts +2 -0
- package/dist/components/molecules/MarkdownRenderer/renderMarkdownTable.d.ts +2 -0
- package/dist/components/molecules/MarkdownRenderer/types.d.ts +3 -0
- package/dist/components/molecules/SkeletonBlock/index.d.ts +1 -1
- package/dist/components/molecules/SkeletonCircle/index.d.ts +1 -1
- package/dist/components/molecules/SkeletonList/index.d.ts +1 -1
- package/dist/components/molecules/StatCard.d.ts +2 -2
- package/dist/components/molecules/StatusChip.d.ts +1 -1
- package/dist/components/native/FlatListScreen.mobile.d.ts +2 -2
- package/dist/components/organisms/GridLayout.d.ts +1 -1
- package/dist/components/organisms/ListCardPage.d.ts +1 -1
- package/dist/components/organisms/ListGridPage.d.ts +1 -1
- package/dist/components/organisms/ListTablePage.d.ts +1 -1
- package/dist/components/organisms/ListTablePage.mobile.d.ts +20 -0
- package/dist/components/organisms/PricingSection.d.ts +1 -1
- package/dist/components/templates/lists/ListPageTemplate/index.d.ts +1 -1
- package/dist/components/visualization/ComparisonView.d.ts +9 -0
- package/dist/components/visualization/ComparisonView.mobile.d.ts +9 -0
- package/dist/components/visualization/TimelineView.d.ts +9 -0
- package/dist/components/visualization/TimelineView.mobile.d.ts +9 -0
- package/dist/components/visualization/VisualizationCard.d.ts +13 -0
- package/dist/components/visualization/VisualizationCard.mobile.d.ts +13 -0
- package/dist/components/visualization/VisualizationGrid.d.ts +6 -0
- package/dist/components/visualization/VisualizationGrid.mobile.d.ts +6 -0
- package/dist/components/visualization/VisualizationRenderer.d.ts +12 -0
- package/dist/components/visualization/VisualizationRenderer.mobile.d.ts +12 -0
- package/dist/components/visualization/types.d.ts +12 -0
- package/dist/index.d.ts +108 -100
- package/dist/index.js +473 -466
- package/dist/theme/tokenBridge.d.ts +1 -1
- package/dist/theme/variants.d.ts +1 -1
- package/package.json +11 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ColorTokens,
|
|
1
|
+
import { type ColorTokens, type RadiusTokens, type SpaceTokens, defaultTokens as themeTokens } from './tokens';
|
|
2
2
|
export type PlatformKind = 'web' | 'native';
|
|
3
3
|
type WebTokens = typeof themeTokens;
|
|
4
4
|
interface NativeTokens {
|
package/dist/theme/variants.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare const dsBaseVariants: (props?: ({
|
|
|
11
11
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
12
12
|
density?: "compact" | "comfortable" | null | undefined;
|
|
13
13
|
tone?: "success" | "neutral" | "danger" | "info" | "warning" | null | undefined;
|
|
14
|
-
emphasis?: "
|
|
14
|
+
emphasis?: "strong" | "default" | "subtle" | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
16
|
export type DSBaseVariantsProps = VariantProps<typeof dsBaseVariants>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.design-system",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Design tokens and theming primitives",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"registry:build": "bun run scripts/build-registry.ts",
|
|
21
21
|
"test": "bun test --pass-with-no-tests",
|
|
22
22
|
"lint": "bun run lint:fix",
|
|
23
|
-
"lint:fix": "
|
|
24
|
-
"lint:check": "
|
|
23
|
+
"lint:fix": "biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .",
|
|
24
|
+
"lint:check": "biome check .",
|
|
25
25
|
"prebuild": "contractspec-bun-build prebuild",
|
|
26
26
|
"typecheck": "tsc --noEmit -p tsconfig.build.json"
|
|
27
27
|
},
|
|
@@ -30,16 +30,17 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"tree-shake": true,
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@contractspec/lib.ai-agent": "7.0.
|
|
34
|
-
"@contractspec/lib.contracts-spec": "
|
|
35
|
-
"@contractspec/lib.contracts-runtime-client-react": "3.7.
|
|
36
|
-
"@contractspec/lib.
|
|
37
|
-
"@contractspec/lib.ui-kit
|
|
33
|
+
"@contractspec/lib.ai-agent": "7.0.7",
|
|
34
|
+
"@contractspec/lib.contracts-spec": "4.0.0",
|
|
35
|
+
"@contractspec/lib.contracts-runtime-client-react": "3.7.7",
|
|
36
|
+
"@contractspec/lib.presentation-runtime-react": "35.0.0",
|
|
37
|
+
"@contractspec/lib.ui-kit": "3.8.0",
|
|
38
|
+
"@contractspec/lib.ui-kit-web": "3.8.0",
|
|
38
39
|
"@hookform/resolvers": "5.2.2",
|
|
39
40
|
"class-variance-authority": "^0.7.1",
|
|
40
41
|
"clsx": "^2.1.1",
|
|
41
42
|
"lucide-react": "^0.577.0",
|
|
42
|
-
"next": "16.
|
|
43
|
+
"next": "16.2.0",
|
|
43
44
|
"react": "19.2.0",
|
|
44
45
|
"react-dom": "19.2.0",
|
|
45
46
|
"react-hook-form": "^7.71.2",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
"postcss-load-config": "^6.0.1",
|
|
57
58
|
"react-native": "^0.81.6",
|
|
58
59
|
"react-native-css": "^3.0.4",
|
|
59
|
-
"tailwindcss": "4.2.
|
|
60
|
+
"tailwindcss": "4.2.2",
|
|
60
61
|
"typescript": "^5.9.3",
|
|
61
62
|
"@contractspec/tool.bun": "3.7.6"
|
|
62
63
|
},
|