tembro 1.0.3 → 2.0.1
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 +2 -2
- package/dist/components/data-table/data-table.cjs +1 -1
- package/dist/components/data-table/data-table.js +68 -68
- package/dist/components/display/smart-card.d.ts +8 -8
- package/dist/components/patterns/index.cjs +1 -1
- package/dist/components/patterns/index.js +4 -4
- package/dist/components/patterns/public.cjs +1 -1
- package/dist/components/patterns/public.js +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +19 -38
- package/dist/showcase/index.cjs +1 -1
- package/dist/showcase/index.d.ts +0 -1
- package/dist/showcase/index.js +36 -38
- package/dist/showcase/package-meta.cjs +1 -1
- package/dist/showcase/package-meta.d.ts +2 -2
- package/dist/showcase/package-meta.js +1 -1
- package/dist/showcase/premium/accordion/mock.cjs +4 -4
- package/dist/showcase/premium/accordion/mock.js +1 -1
- package/dist/showcase/{families/data-table/types.d.ts → premium/data-table-parts/data.d.ts} +4 -0
- package/dist/showcase/{families/data-table → premium/data-table-parts}/data.js +1 -1
- package/dist/showcase/premium/data-table-parts/showcase.cjs +1 -1
- package/dist/showcase/premium/data-table-parts/showcase.js +1 -1
- package/dist/showcase/site-data.cjs +1 -1
- package/dist/showcase/site-data.d.ts +6 -6
- package/dist/showcase/site-data.js +414 -451
- package/dist/showcase/tembro-registry.json.cjs +1 -1
- package/dist/showcase/tembro-registry.json.js +1 -1
- package/package.json +2 -13
- package/packages/cli/dist/index.cjs +17 -17
- package/packages/cli/vendor/src/components/data-table/data-table.tsx +22 -13
- package/packages/cli/vendor/src/components/display/smart-card.tsx +8 -8
- package/packages/cli/vendor/src/index.ts +3 -4
- package/packages/cli/vendor/src/showcase/index.ts +5 -6
- package/packages/cli/vendor/src/showcase/package-meta.ts +1 -1
- package/packages/cli/vendor/src/showcase/premium/accordion/mock.ts +4 -4
- package/packages/cli/vendor/src/showcase/{families/data-table → premium/data-table-parts}/data.ts +25 -1
- package/packages/cli/vendor/src/showcase/premium/data-table-parts/showcase.tsx +1 -2
- package/packages/cli/vendor/src/showcase/site-data.tsx +151 -216
- package/packages/cli/vendor/src/showcase/tembro-registry.json +1 -1
- package/registry.json +1 -1
- package/dist/families/badge-family.cjs +0 -1
- package/dist/families/badge-family.d.ts +0 -5
- package/dist/families/badge-family.js +0 -5
- package/dist/families/card-family.cjs +0 -1
- package/dist/families/card-family.d.ts +0 -16
- package/dist/families/card-family.js +0 -21
- package/dist/families/catalog.cjs +0 -1
- package/dist/families/catalog.d.ts +0 -11
- package/dist/families/catalog.js +0 -140
- package/dist/families/data-table-family.cjs +0 -1
- package/dist/families/data-table-family.d.ts +0 -18
- package/dist/families/data-table-family.js +0 -29
- package/dist/families/docs-adoption.cjs +0 -1
- package/dist/families/docs-adoption.d.ts +0 -16
- package/dist/families/docs-adoption.js +0 -53
- package/dist/families/docs-groups.cjs +0 -1
- package/dist/families/docs-groups.d.ts +0 -18
- package/dist/families/docs-groups.js +0 -262
- package/dist/families/docs-queries.cjs +0 -1
- package/dist/families/docs-queries.d.ts +0 -37
- package/dist/families/docs-queries.js +0 -50
- package/dist/families/docs-routing.cjs +0 -1
- package/dist/families/docs-routing.d.ts +0 -17
- package/dist/families/docs-routing.js +0 -49
- package/dist/families/form-family.cjs +0 -1
- package/dist/families/form-family.d.ts +0 -20
- package/dist/families/form-family.js +0 -35
- package/dist/families/index.cjs +0 -1
- package/dist/families/index.d.ts +0 -19
- package/dist/families/index.js +0 -20
- package/dist/families/input-family.cjs +0 -1
- package/dist/families/input-family.d.ts +0 -32
- package/dist/families/input-family.js +0 -56
- package/dist/families/member-metadata.cjs +0 -1
- package/dist/families/member-metadata.d.ts +0 -11
- package/dist/families/member-metadata.js +0 -1013
- package/dist/families/member-queries.cjs +0 -1
- package/dist/families/member-queries.d.ts +0 -6
- package/dist/families/member-queries.js +0 -14
- package/dist/families/member-snippet-queries.cjs +0 -1
- package/dist/families/member-snippet-queries.d.ts +0 -8
- package/dist/families/member-snippet-queries.js +0 -30
- package/dist/families/member-snippets.cjs +0 -484
- package/dist/families/member-snippets.d.ts +0 -11
- package/dist/families/member-snippets.js +0 -1061
- package/dist/families/migration-map.cjs +0 -1
- package/dist/families/migration-map.d.ts +0 -10
- package/dist/families/migration-map.js +0 -787
- package/dist/families/overlay-family.cjs +0 -1
- package/dist/families/overlay-family.d.ts +0 -22
- package/dist/families/overlay-family.js +0 -29
- package/dist/families/public-surface-rationalization.cjs +0 -1
- package/dist/families/public-surface-rationalization.d.ts +0 -169
- package/dist/families/public-surface-rationalization.js +0 -296
- package/dist/families/queries.cjs +0 -1
- package/dist/families/queries.d.ts +0 -12
- package/dist/families/queries.js +0 -162
- package/dist/families/select-family.cjs +0 -1
- package/dist/families/select-family.d.ts +0 -22
- package/dist/families/select-family.js +0 -27
- package/dist/families/views.cjs +0 -1
- package/dist/families/views.d.ts +0 -26
- package/dist/families/views.js +0 -45
- package/dist/showcase/families/actions/index.cjs +0 -1
- package/dist/showcase/families/actions/index.d.ts +0 -2
- package/dist/showcase/families/actions/index.js +0 -3
- package/dist/showcase/families/actions/mock.cjs +0 -5
- package/dist/showcase/families/actions/mock.d.ts +0 -2
- package/dist/showcase/families/actions/mock.js +0 -40
- package/dist/showcase/families/actions/showcase.cjs +0 -1
- package/dist/showcase/families/actions/showcase.d.ts +0 -2
- package/dist/showcase/families/actions/showcase.js +0 -53
- package/dist/showcase/families/calendar/index.cjs +0 -1
- package/dist/showcase/families/calendar/index.d.ts +0 -2
- package/dist/showcase/families/calendar/index.js +0 -3
- package/dist/showcase/families/calendar/mock.cjs +0 -5
- package/dist/showcase/families/calendar/mock.d.ts +0 -2
- package/dist/showcase/families/calendar/mock.js +0 -40
- package/dist/showcase/families/calendar/showcase.cjs +0 -1
- package/dist/showcase/families/calendar/showcase.d.ts +0 -2
- package/dist/showcase/families/calendar/showcase.js +0 -60
- package/dist/showcase/families/command/index.cjs +0 -1
- package/dist/showcase/families/command/index.d.ts +0 -2
- package/dist/showcase/families/command/index.js +0 -3
- package/dist/showcase/families/command/mock.cjs +0 -5
- package/dist/showcase/families/command/mock.d.ts +0 -2
- package/dist/showcase/families/command/mock.js +0 -40
- package/dist/showcase/families/command/showcase.cjs +0 -1
- package/dist/showcase/families/command/showcase.d.ts +0 -2
- package/dist/showcase/families/command/showcase.js +0 -40
- package/dist/showcase/families/data-table/data.d.ts +0 -5
- package/dist/showcase/families/data-table/index.cjs +0 -1
- package/dist/showcase/families/data-table/index.d.ts +0 -4
- package/dist/showcase/families/data-table/index.js +0 -4
- package/dist/showcase/families/data-table/mock.cjs +0 -24
- package/dist/showcase/families/data-table/mock.d.ts +0 -2
- package/dist/showcase/families/data-table/mock.js +0 -48
- package/dist/showcase/families/data-table/showcase.cjs +0 -1
- package/dist/showcase/families/data-table/showcase.d.ts +0 -3
- package/dist/showcase/families/data-table/showcase.js +0 -751
- package/dist/showcase/families/data-table/types.cjs +0 -1
- package/dist/showcase/families/data-table/types.js +0 -0
- package/dist/showcase/families/display/data.cjs +0 -1
- package/dist/showcase/families/display/data.d.ts +0 -6
- package/dist/showcase/families/display/data.js +0 -24
- package/dist/showcase/families/display/index.cjs +0 -1
- package/dist/showcase/families/display/index.d.ts +0 -2
- package/dist/showcase/families/display/index.js +0 -3
- package/dist/showcase/families/display/mock.cjs +0 -5
- package/dist/showcase/families/display/mock.d.ts +0 -2
- package/dist/showcase/families/display/mock.js +0 -40
- package/dist/showcase/families/display/showcase.cjs +0 -1
- package/dist/showcase/families/display/showcase.d.ts +0 -2
- package/dist/showcase/families/display/showcase.js +0 -201
- package/dist/showcase/families/filters/data.cjs +0 -1
- package/dist/showcase/families/filters/data.d.ts +0 -31
- package/dist/showcase/families/filters/data.js +0 -61
- package/dist/showcase/families/filters/index.cjs +0 -1
- package/dist/showcase/families/filters/index.d.ts +0 -2
- package/dist/showcase/families/filters/index.js +0 -3
- package/dist/showcase/families/filters/mock.cjs +0 -5
- package/dist/showcase/families/filters/mock.d.ts +0 -2
- package/dist/showcase/families/filters/mock.js +0 -40
- package/dist/showcase/families/filters/showcase.cjs +0 -1
- package/dist/showcase/families/filters/showcase.d.ts +0 -3
- package/dist/showcase/families/filters/showcase.js +0 -213
- package/dist/showcase/families/form/data.cjs +0 -1
- package/dist/showcase/families/form/data.d.ts +0 -22
- package/dist/showcase/families/form/data.js +0 -53
- package/dist/showcase/families/form/index.cjs +0 -1
- package/dist/showcase/families/form/index.d.ts +0 -4
- package/dist/showcase/families/form/index.js +0 -4
- package/dist/showcase/families/form/mock.cjs +0 -12
- package/dist/showcase/families/form/mock.d.ts +0 -2
- package/dist/showcase/families/form/mock.js +0 -40
- package/dist/showcase/families/form/showcase.cjs +0 -1
- package/dist/showcase/families/form/showcase.d.ts +0 -3
- package/dist/showcase/families/form/showcase.js +0 -318
- package/dist/showcase/families/form/types.cjs +0 -1
- package/dist/showcase/families/form/types.d.ts +0 -9
- package/dist/showcase/families/form/types.js +0 -0
- package/dist/showcase/families/index.cjs +0 -1
- package/dist/showcase/families/index.d.ts +0 -3
- package/dist/showcase/families/index.js +0 -96
- package/dist/showcase/families/inputs/data.cjs +0 -1
- package/dist/showcase/families/inputs/data.d.ts +0 -24
- package/dist/showcase/families/inputs/data.js +0 -90
- package/dist/showcase/families/inputs/index.cjs +0 -1
- package/dist/showcase/families/inputs/index.d.ts +0 -2
- package/dist/showcase/families/inputs/index.js +0 -3
- package/dist/showcase/families/inputs/mock.cjs +0 -5
- package/dist/showcase/families/inputs/mock.d.ts +0 -2
- package/dist/showcase/families/inputs/mock.js +0 -40
- package/dist/showcase/families/inputs/showcase.cjs +0 -1
- package/dist/showcase/families/inputs/showcase.d.ts +0 -3
- package/dist/showcase/families/inputs/showcase.js +0 -404
- package/dist/showcase/families/layout/index.cjs +0 -1
- package/dist/showcase/families/layout/index.d.ts +0 -2
- package/dist/showcase/families/layout/index.js +0 -3
- package/dist/showcase/families/layout/mock.cjs +0 -5
- package/dist/showcase/families/layout/mock.d.ts +0 -2
- package/dist/showcase/families/layout/mock.js +0 -40
- package/dist/showcase/families/layout/showcase.cjs +0 -1
- package/dist/showcase/families/layout/showcase.d.ts +0 -2
- package/dist/showcase/families/layout/showcase.js +0 -88
- package/dist/showcase/families/navigation/index.cjs +0 -1
- package/dist/showcase/families/navigation/index.d.ts +0 -2
- package/dist/showcase/families/navigation/index.js +0 -3
- package/dist/showcase/families/navigation/mock.cjs +0 -5
- package/dist/showcase/families/navigation/mock.d.ts +0 -2
- package/dist/showcase/families/navigation/mock.js +0 -40
- package/dist/showcase/families/navigation/showcase.cjs +0 -1
- package/dist/showcase/families/navigation/showcase.d.ts +0 -2
- package/dist/showcase/families/navigation/showcase.js +0 -49
- package/dist/showcase/families/notifications/index.cjs +0 -1
- package/dist/showcase/families/notifications/index.d.ts +0 -2
- package/dist/showcase/families/notifications/index.js +0 -3
- package/dist/showcase/families/notifications/mock.cjs +0 -5
- package/dist/showcase/families/notifications/mock.d.ts +0 -2
- package/dist/showcase/families/notifications/mock.js +0 -40
- package/dist/showcase/families/notifications/showcase.cjs +0 -1
- package/dist/showcase/families/notifications/showcase.d.ts +0 -1
- package/dist/showcase/families/notifications/showcase.js +0 -50
- package/dist/showcase/families/overlay/index.cjs +0 -1
- package/dist/showcase/families/overlay/index.d.ts +0 -2
- package/dist/showcase/families/overlay/index.js +0 -3
- package/dist/showcase/families/overlay/mock.cjs +0 -5
- package/dist/showcase/families/overlay/mock.d.ts +0 -2
- package/dist/showcase/families/overlay/mock.js +0 -40
- package/dist/showcase/families/overlay/showcase.cjs +0 -1
- package/dist/showcase/families/overlay/showcase.d.ts +0 -1
- package/dist/showcase/families/overlay/showcase.js +0 -38
- package/dist/showcase/families/patterns/index.cjs +0 -1
- package/dist/showcase/families/patterns/index.d.ts +0 -2
- package/dist/showcase/families/patterns/index.js +0 -3
- package/dist/showcase/families/patterns/mock.cjs +0 -5
- package/dist/showcase/families/patterns/mock.d.ts +0 -2
- package/dist/showcase/families/patterns/mock.js +0 -40
- package/dist/showcase/families/patterns/showcase.cjs +0 -1
- package/dist/showcase/families/patterns/showcase.d.ts +0 -1
- package/dist/showcase/families/patterns/showcase.js +0 -38
- package/dist/showcase/families/types.cjs +0 -1
- package/dist/showcase/families/types.d.ts +0 -29
- package/dist/showcase/families/types.js +0 -10
- package/dist/showcase/families/upload/data.cjs +0 -1
- package/dist/showcase/families/upload/data.d.ts +0 -1
- package/dist/showcase/families/upload/data.js +0 -10
- package/dist/showcase/families/upload/index.cjs +0 -1
- package/dist/showcase/families/upload/index.d.ts +0 -2
- package/dist/showcase/families/upload/index.js +0 -3
- package/dist/showcase/families/upload/mock.cjs +0 -5
- package/dist/showcase/families/upload/mock.d.ts +0 -2
- package/dist/showcase/families/upload/mock.js +0 -40
- package/dist/showcase/families/upload/showcase.cjs +0 -1
- package/dist/showcase/families/upload/showcase.d.ts +0 -3
- package/dist/showcase/families/upload/showcase.js +0 -133
- package/dist/showcase/families/wizard/index.cjs +0 -1
- package/dist/showcase/families/wizard/index.d.ts +0 -2
- package/dist/showcase/families/wizard/index.js +0 -3
- package/dist/showcase/families/wizard/mock.cjs +0 -5
- package/dist/showcase/families/wizard/mock.d.ts +0 -2
- package/dist/showcase/families/wizard/mock.js +0 -40
- package/dist/showcase/families/wizard/showcase.cjs +0 -1
- package/dist/showcase/families/wizard/showcase.d.ts +0 -2
- package/dist/showcase/families/wizard/showcase.js +0 -56
- package/packages/cli/vendor/src/families/badge-family.ts +0 -7
- package/packages/cli/vendor/src/families/card-family.ts +0 -26
- package/packages/cli/vendor/src/families/catalog.ts +0 -125
- package/packages/cli/vendor/src/families/data-table-family.ts +0 -31
- package/packages/cli/vendor/src/families/docs-adoption.ts +0 -103
- package/packages/cli/vendor/src/families/docs-groups.ts +0 -248
- package/packages/cli/vendor/src/families/docs-queries.ts +0 -84
- package/packages/cli/vendor/src/families/docs-routing.ts +0 -89
- package/packages/cli/vendor/src/families/form-family.ts +0 -37
- package/packages/cli/vendor/src/families/index.ts +0 -19
- package/packages/cli/vendor/src/families/input-family.ts +0 -61
- package/packages/cli/vendor/src/families/member-metadata.ts +0 -1033
- package/packages/cli/vendor/src/families/member-queries.ts +0 -28
- package/packages/cli/vendor/src/families/member-snippet-queries.ts +0 -54
- package/packages/cli/vendor/src/families/member-snippets.ts +0 -1563
- package/packages/cli/vendor/src/families/migration-map.ts +0 -161
- package/packages/cli/vendor/src/families/overlay-family.ts +0 -31
- package/packages/cli/vendor/src/families/public-surface-rationalization.ts +0 -206
- package/packages/cli/vendor/src/families/queries.ts +0 -131
- package/packages/cli/vendor/src/families/select-family.ts +0 -33
- package/packages/cli/vendor/src/families/views.ts +0 -85
- package/packages/cli/vendor/src/showcase/families/actions/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/actions/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/actions/showcase.tsx +0 -36
- package/packages/cli/vendor/src/showcase/families/calendar/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/calendar/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/calendar/showcase.tsx +0 -33
- package/packages/cli/vendor/src/showcase/families/command/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/command/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/command/showcase.tsx +0 -33
- package/packages/cli/vendor/src/showcase/families/data-table/index.ts +0 -4
- package/packages/cli/vendor/src/showcase/families/data-table/mock.ts +0 -42
- package/packages/cli/vendor/src/showcase/families/data-table/showcase.tsx +0 -507
- package/packages/cli/vendor/src/showcase/families/data-table/types.ts +0 -25
- package/packages/cli/vendor/src/showcase/families/display/data.ts +0 -11
- package/packages/cli/vendor/src/showcase/families/display/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/display/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/display/showcase.tsx +0 -113
- package/packages/cli/vendor/src/showcase/families/filters/data.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/filters/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/filters/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/filters/showcase.tsx +0 -137
- package/packages/cli/vendor/src/showcase/families/form/data.ts +0 -37
- package/packages/cli/vendor/src/showcase/families/form/index.ts +0 -4
- package/packages/cli/vendor/src/showcase/families/form/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/form/showcase.tsx +0 -230
- package/packages/cli/vendor/src/showcase/families/form/types.ts +0 -10
- package/packages/cli/vendor/src/showcase/families/index.ts +0 -37
- package/packages/cli/vendor/src/showcase/families/inputs/data.ts +0 -40
- package/packages/cli/vendor/src/showcase/families/inputs/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/inputs/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/inputs/showcase.tsx +0 -294
- package/packages/cli/vendor/src/showcase/families/layout/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/layout/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/layout/showcase.tsx +0 -57
- package/packages/cli/vendor/src/showcase/families/navigation/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/navigation/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/navigation/showcase.tsx +0 -31
- package/packages/cli/vendor/src/showcase/families/notifications/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/notifications/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/notifications/showcase.tsx +0 -24
- package/packages/cli/vendor/src/showcase/families/overlay/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/overlay/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/overlay/showcase.tsx +0 -23
- package/packages/cli/vendor/src/showcase/families/patterns/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/patterns/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/patterns/showcase.tsx +0 -23
- package/packages/cli/vendor/src/showcase/families/types.ts +0 -40
- package/packages/cli/vendor/src/showcase/families/upload/data.ts +0 -7
- package/packages/cli/vendor/src/showcase/families/upload/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/upload/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/upload/showcase.tsx +0 -86
- package/packages/cli/vendor/src/showcase/families/wizard/index.ts +0 -2
- package/packages/cli/vendor/src/showcase/families/wizard/mock.ts +0 -18
- package/packages/cli/vendor/src/showcase/families/wizard/showcase.tsx +0 -39
- /package/dist/showcase/{families/data-table → premium/data-table-parts}/data.cjs +0 -0
package/registry.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={Root:require("../components/ui/badge/index.cjs").Badge};exports.BadgeFamily=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../components/ui/card/index.cjs"),t=require("../components/display/entity-card.cjs"),n=require("../components/display/file-card.cjs"),r=require("../components/display/statistic.cjs"),i=require("../components/display/smart-card.cjs");var a={Root:e.Card,Header:e.CardHeader,Title:e.CardTitle,Description:e.CardDescription,Action:e.CardAction,Content:e.CardContent,Footer:e.CardFooter,Info:i.SmartCard,Statistic:r.StatisticCard,Entity:t.EntityCard,File:n.FileCard};exports.CardFamily=a;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EntityCard, FileCard, InfoCard, StatisticCard } from "@/components/display";
|
|
2
|
-
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";
|
|
3
|
-
declare const CardFamily: {
|
|
4
|
-
readonly Root: typeof Card;
|
|
5
|
-
readonly Header: typeof CardHeader;
|
|
6
|
-
readonly Title: typeof CardTitle;
|
|
7
|
-
readonly Description: typeof CardDescription;
|
|
8
|
-
readonly Action: typeof CardAction;
|
|
9
|
-
readonly Content: typeof CardContent;
|
|
10
|
-
readonly Footer: typeof CardFooter;
|
|
11
|
-
readonly Info: typeof InfoCard;
|
|
12
|
-
readonly Statistic: typeof StatisticCard;
|
|
13
|
-
readonly Entity: typeof EntityCard;
|
|
14
|
-
readonly File: typeof FileCard;
|
|
15
|
-
};
|
|
16
|
-
export { CardFamily };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Card as e, CardAction as t, CardContent as n, CardDescription as r, CardFooter as i, CardHeader as a, CardTitle as o } from "../components/ui/card/index.js";
|
|
2
|
-
import { EntityCard as s } from "../components/display/entity-card.js";
|
|
3
|
-
import { FileCard as c } from "../components/display/file-card.js";
|
|
4
|
-
import { StatisticCard as l } from "../components/display/statistic.js";
|
|
5
|
-
import { SmartCard as u } from "../components/display/smart-card.js";
|
|
6
|
-
//#region src/families/card-family.ts
|
|
7
|
-
var d = {
|
|
8
|
-
Root: e,
|
|
9
|
-
Header: a,
|
|
10
|
-
Title: o,
|
|
11
|
-
Description: r,
|
|
12
|
-
Action: t,
|
|
13
|
-
Content: n,
|
|
14
|
-
Footer: i,
|
|
15
|
-
Info: u,
|
|
16
|
-
Statistic: l,
|
|
17
|
-
Entity: s,
|
|
18
|
-
File: c
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { d as CardFamily };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=[{family:`InputFamily`,label:`Input`,description:`Small core input surface for the input types used most often in dashboard screens.`,canonical:[`Input`,`Textarea`],members:[`NumberInput`,`DateInput`,`DateRangeInput`,`MoneyInput`,`PhoneInput`,`FormInput`],transitional:[`ClearableInput`,`SearchInput`,`MaskedInput`,`QuantityInput`],advanced:[`Slider`,`RangeSlider`,`Rating`,`OtpInput`,`ColorInput`,`InlineEditable`,`TagInput`,`QuantityStepper`]},{family:`SelectFamily`,label:`Select`,description:`Base select surface with async, keyboard-search, and form-wrapper members layered only when the workflow needs them.`,canonical:[`Select`],members:[`AsyncSelect`,`Combobox`,`FormSelect`],transitional:[`SimpleSelect`,`FormAsyncSelect`],advanced:[`AsyncMultiSelect`]},{family:`CardFamily`,label:`Card`,description:`Primitive card plus dashboard and entity-oriented composed card presets.`,canonical:[`Card`,`InfoCard`],members:[`StatisticCard`,`EntityCard`,`FileCard`,`TrendCard`,`ComparisonCard`],transitional:[`SmartCard`,`StatCard`]},{family:`BadgeFamily`,label:`Badge`,description:`Status, metadata, and inline labels expressed through one Badge API with tone, dot, size, and variant props.`,canonical:[`Badge`],members:[`DeltaBadge`]},{family:`OverlayFamily`,label:`Overlay`,description:`Dialog, popover, menu, tooltip, drawer, and hover-preview interaction surfaces grouped by behavior.`,canonical:[`Dialog`,`Popover`,`DropdownMenu`],members:[`Tooltip`,`HoverCard`,`ConfirmDialog`,`SheetShell`],transitional:[`RightClickMenu`,`AlertDialog`,`ModalShell`,`Drawer`,`DialogActions`]},{family:`FormFamily`,label:`Form`,description:`Field shell, wrappers, and builder presets.`,canonical:[`FormFieldShell`],members:[`FormInput`,`FormTextarea`,`FormSelect`,`FormAsyncSelect`,`FormSwitch`,`FormDatePicker`,`FormDateRangePicker`,`RepeaterField`],transitional:[`FormSearchInput`,`FormPasswordInput`,`FormNumberInput`,`FormPhoneInput`,`FormDateInput`,`FormDateRangeInput`],advanced:[`FormBuilder`]},{family:`DataTableFamily`,label:`Data Table`,description:`Canonical grid surface with a small set of reusable companions. Lower-level helpers stay secondary to the main table route.`,canonical:[`DataTable`],members:[`DataTableToolbar`,`DataTablePagination`,`DataTableRowActions`,`DataTableBulkActions`,`DataTableViewPresets`],advanced:[`DataTableColumnVisibilityMenu`,`DataTableSortableHeader`,`createDataTableSelectColumn`,`createDataTableActionsColumn`,`TableExportMenu`,`TableImportButton`]},...require("./public-surface-rationalization.cjs").additionalPublicFamilies];exports.componentFamilyCatalog=e;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type ComponentFamilyName = "InputFamily" | "SelectFamily" | "CardFamily" | "BadgeFamily" | "OverlayFamily" | "FormFamily" | "DataTableFamily" | "ActionFamily" | "FeedbackFamily" | "ProgressFamily" | "ChartFamily" | "NavigationFamily" | "UploadFamily" | "PrimitiveFamily";
|
|
2
|
-
export type ComponentFamilyCatalogEntry = {
|
|
3
|
-
family: ComponentFamilyName;
|
|
4
|
-
label: string;
|
|
5
|
-
description: string;
|
|
6
|
-
canonical: readonly string[];
|
|
7
|
-
members: readonly string[];
|
|
8
|
-
transitional?: readonly string[];
|
|
9
|
-
advanced?: readonly string[];
|
|
10
|
-
};
|
|
11
|
-
export declare const componentFamilyCatalog: ComponentFamilyCatalogEntry[];
|
package/dist/families/catalog.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { additionalPublicFamilies as e } from "./public-surface-rationalization.js";
|
|
2
|
-
//#region src/families/catalog.ts
|
|
3
|
-
var t = [
|
|
4
|
-
{
|
|
5
|
-
family: "InputFamily",
|
|
6
|
-
label: "Input",
|
|
7
|
-
description: "Small core input surface for the input types used most often in dashboard screens.",
|
|
8
|
-
canonical: ["Input", "Textarea"],
|
|
9
|
-
members: [
|
|
10
|
-
"NumberInput",
|
|
11
|
-
"DateInput",
|
|
12
|
-
"DateRangeInput",
|
|
13
|
-
"MoneyInput",
|
|
14
|
-
"PhoneInput",
|
|
15
|
-
"FormInput"
|
|
16
|
-
],
|
|
17
|
-
transitional: [
|
|
18
|
-
"ClearableInput",
|
|
19
|
-
"SearchInput",
|
|
20
|
-
"MaskedInput",
|
|
21
|
-
"QuantityInput"
|
|
22
|
-
],
|
|
23
|
-
advanced: [
|
|
24
|
-
"Slider",
|
|
25
|
-
"RangeSlider",
|
|
26
|
-
"Rating",
|
|
27
|
-
"OtpInput",
|
|
28
|
-
"ColorInput",
|
|
29
|
-
"InlineEditable",
|
|
30
|
-
"TagInput",
|
|
31
|
-
"QuantityStepper"
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
family: "SelectFamily",
|
|
36
|
-
label: "Select",
|
|
37
|
-
description: "Base select surface with async, keyboard-search, and form-wrapper members layered only when the workflow needs them.",
|
|
38
|
-
canonical: ["Select"],
|
|
39
|
-
members: [
|
|
40
|
-
"AsyncSelect",
|
|
41
|
-
"Combobox",
|
|
42
|
-
"FormSelect"
|
|
43
|
-
],
|
|
44
|
-
transitional: ["SimpleSelect", "FormAsyncSelect"],
|
|
45
|
-
advanced: ["AsyncMultiSelect"]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
family: "CardFamily",
|
|
49
|
-
label: "Card",
|
|
50
|
-
description: "Primitive card plus dashboard and entity-oriented composed card presets.",
|
|
51
|
-
canonical: ["Card", "InfoCard"],
|
|
52
|
-
members: [
|
|
53
|
-
"StatisticCard",
|
|
54
|
-
"EntityCard",
|
|
55
|
-
"FileCard",
|
|
56
|
-
"TrendCard",
|
|
57
|
-
"ComparisonCard"
|
|
58
|
-
],
|
|
59
|
-
transitional: ["SmartCard", "StatCard"]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
family: "BadgeFamily",
|
|
63
|
-
label: "Badge",
|
|
64
|
-
description: "Status, metadata, and inline labels expressed through one Badge API with tone, dot, size, and variant props.",
|
|
65
|
-
canonical: ["Badge"],
|
|
66
|
-
members: ["DeltaBadge"]
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
family: "OverlayFamily",
|
|
70
|
-
label: "Overlay",
|
|
71
|
-
description: "Dialog, popover, menu, tooltip, drawer, and hover-preview interaction surfaces grouped by behavior.",
|
|
72
|
-
canonical: [
|
|
73
|
-
"Dialog",
|
|
74
|
-
"Popover",
|
|
75
|
-
"DropdownMenu"
|
|
76
|
-
],
|
|
77
|
-
members: [
|
|
78
|
-
"Tooltip",
|
|
79
|
-
"HoverCard",
|
|
80
|
-
"ConfirmDialog",
|
|
81
|
-
"SheetShell"
|
|
82
|
-
],
|
|
83
|
-
transitional: [
|
|
84
|
-
"RightClickMenu",
|
|
85
|
-
"AlertDialog",
|
|
86
|
-
"ModalShell",
|
|
87
|
-
"Drawer",
|
|
88
|
-
"DialogActions"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
family: "FormFamily",
|
|
93
|
-
label: "Form",
|
|
94
|
-
description: "Field shell, wrappers, and builder presets.",
|
|
95
|
-
canonical: ["FormFieldShell"],
|
|
96
|
-
members: [
|
|
97
|
-
"FormInput",
|
|
98
|
-
"FormTextarea",
|
|
99
|
-
"FormSelect",
|
|
100
|
-
"FormAsyncSelect",
|
|
101
|
-
"FormSwitch",
|
|
102
|
-
"FormDatePicker",
|
|
103
|
-
"FormDateRangePicker",
|
|
104
|
-
"RepeaterField"
|
|
105
|
-
],
|
|
106
|
-
transitional: [
|
|
107
|
-
"FormSearchInput",
|
|
108
|
-
"FormPasswordInput",
|
|
109
|
-
"FormNumberInput",
|
|
110
|
-
"FormPhoneInput",
|
|
111
|
-
"FormDateInput",
|
|
112
|
-
"FormDateRangeInput"
|
|
113
|
-
],
|
|
114
|
-
advanced: ["FormBuilder"]
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
family: "DataTableFamily",
|
|
118
|
-
label: "Data Table",
|
|
119
|
-
description: "Canonical grid surface with a small set of reusable companions. Lower-level helpers stay secondary to the main table route.",
|
|
120
|
-
canonical: ["DataTable"],
|
|
121
|
-
members: [
|
|
122
|
-
"DataTableToolbar",
|
|
123
|
-
"DataTablePagination",
|
|
124
|
-
"DataTableRowActions",
|
|
125
|
-
"DataTableBulkActions",
|
|
126
|
-
"DataTableViewPresets"
|
|
127
|
-
],
|
|
128
|
-
advanced: [
|
|
129
|
-
"DataTableColumnVisibilityMenu",
|
|
130
|
-
"DataTableSortableHeader",
|
|
131
|
-
"createDataTableSelectColumn",
|
|
132
|
-
"createDataTableActionsColumn",
|
|
133
|
-
"TableExportMenu",
|
|
134
|
-
"TableImportButton"
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
...e
|
|
138
|
-
];
|
|
139
|
-
//#endregion
|
|
140
|
-
export { t as componentFamilyCatalog };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../components/data-table/data-table-row-actions.cjs"),t=require("../components/data-table/data-table-actions-column.cjs"),n=require("../components/data-table/data-table-bulk-actions.cjs"),r=require("../components/data-table/data-table-column-visibility-menu.cjs"),i=require("../components/data-table/data-table-pagination.cjs"),a=require("../components/data-table/data-table-toolbar.cjs"),o=require("../components/data-table/data-table.cjs"),s=require("../components/data-table/data-table-select-column.cjs"),c=require("../components/data-table/data-table-sortable-header.cjs"),l=require("../components/data-table/data-table-view-presets.cjs"),u=require("../components/data-table/table-export-menu.cjs"),d=require("../components/data-table/table-import-button.cjs");var f={Root:o.DataTable,Toolbar:a.DataTableToolbar,Pagination:i.DataTablePagination,ColumnVisibilityMenu:r.DataTableColumnVisibilityMenu,SortableHeader:c.DataTableSortableHeader,RowActions:e.DataTableRowActions,BulkActions:n.DataTableBulkActions,ViewPresets:l.DataTableViewPresets,ExportMenu:u.TableExportMenu,ImportButton:d.TableImportButton,createSelectColumn:s.createDataTableSelectColumn,createActionsColumn:t.createDataTableActionsColumn};exports.DataTableFamily=f;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createDataTableActionsColumn, createDataTableSelectColumn, DataTable, DataTableBulkActions, DataTableColumnVisibilityMenu, DataTablePagination, DataTableRowActions, DataTableSortableHeader, DataTableToolbar, DataTableViewPresets } from "@/components/data-table";
|
|
2
|
-
import { TableExportMenu } from "@/components/data-table/table-export-menu";
|
|
3
|
-
import { TableImportButton } from "@/components/data-table/table-import-button";
|
|
4
|
-
declare const DataTableFamily: {
|
|
5
|
-
readonly Root: typeof DataTable;
|
|
6
|
-
readonly Toolbar: typeof DataTableToolbar;
|
|
7
|
-
readonly Pagination: typeof DataTablePagination;
|
|
8
|
-
readonly ColumnVisibilityMenu: typeof DataTableColumnVisibilityMenu;
|
|
9
|
-
readonly SortableHeader: typeof DataTableSortableHeader;
|
|
10
|
-
readonly RowActions: typeof DataTableRowActions;
|
|
11
|
-
readonly BulkActions: typeof DataTableBulkActions;
|
|
12
|
-
readonly ViewPresets: typeof DataTableViewPresets;
|
|
13
|
-
readonly ExportMenu: typeof TableExportMenu;
|
|
14
|
-
readonly ImportButton: typeof TableImportButton;
|
|
15
|
-
readonly createSelectColumn: typeof createDataTableSelectColumn;
|
|
16
|
-
readonly createActionsColumn: typeof createDataTableActionsColumn;
|
|
17
|
-
};
|
|
18
|
-
export { DataTableFamily };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { DataTableRowActions as e } from "../components/data-table/data-table-row-actions.js";
|
|
2
|
-
import { createDataTableActionsColumn as t } from "../components/data-table/data-table-actions-column.js";
|
|
3
|
-
import { DataTableBulkActions as n } from "../components/data-table/data-table-bulk-actions.js";
|
|
4
|
-
import { DataTableColumnVisibilityMenu as r } from "../components/data-table/data-table-column-visibility-menu.js";
|
|
5
|
-
import { DataTablePagination as i } from "../components/data-table/data-table-pagination.js";
|
|
6
|
-
import { DataTableToolbar as a } from "../components/data-table/data-table-toolbar.js";
|
|
7
|
-
import { DataTable as o } from "../components/data-table/data-table.js";
|
|
8
|
-
import { createDataTableSelectColumn as s } from "../components/data-table/data-table-select-column.js";
|
|
9
|
-
import { DataTableSortableHeader as c } from "../components/data-table/data-table-sortable-header.js";
|
|
10
|
-
import { DataTableViewPresets as l } from "../components/data-table/data-table-view-presets.js";
|
|
11
|
-
import { TableExportMenu as u } from "../components/data-table/table-export-menu.js";
|
|
12
|
-
import { TableImportButton as d } from "../components/data-table/table-import-button.js";
|
|
13
|
-
//#region src/families/data-table-family.ts
|
|
14
|
-
var f = {
|
|
15
|
-
Root: o,
|
|
16
|
-
Toolbar: a,
|
|
17
|
-
Pagination: i,
|
|
18
|
-
ColumnVisibilityMenu: r,
|
|
19
|
-
SortableHeader: c,
|
|
20
|
-
RowActions: e,
|
|
21
|
-
BulkActions: n,
|
|
22
|
-
ViewPresets: l,
|
|
23
|
-
ExportMenu: u,
|
|
24
|
-
ImportButton: d,
|
|
25
|
-
createSelectColumn: s,
|
|
26
|
-
createActionsColumn: t
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { f as DataTableFamily };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./docs-groups.cjs"),t=require("./member-queries.cjs");var n={primitives:0,presets:100,"form-wrappers":200,wrappers:200,extensions:200,advanced:300,transitional:400};function r(e){let n=t.getComponentMemberMetadata(e);return n?n.maturity===`canonical`?{label:`Start here`,tone:`stable`}:n.maturity===`advanced`?{label:`Advanced`,tone:`advanced`}:n.maturity===`transitional`?{label:`Migration`,tone:`migration`}:{label:`Expand`,tone:`preview`}:{label:`Unknown`,tone:`preview`}}var i=new Map;for(let t of e.componentDocsGroups)t.sections.forEach((e,a)=>{e.components.forEach((o,s)=>{let c=(n[e.id]??500)+a*10+s;i.set(o,{component:o,group:t.group,badge:r(o),recommendedOrder:c,sectionOrder:a,itemOrder:s})})});function a(e){return i.get(e)}function o(e){return[...i.values()].filter(t=>t.group===e).sort((e,t)=>e.recommendedOrder-t.recommendedOrder)}exports.getComponentDocsAdoption=a,exports.listDocsAdoption=o;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type ComponentDocsGroupName } from "@/families/docs-groups";
|
|
2
|
-
export type ComponentDocsBadgeTone = "stable" | "preview" | "advanced" | "migration";
|
|
3
|
-
export type ComponentDocsAdoption = {
|
|
4
|
-
component: string;
|
|
5
|
-
group: ComponentDocsGroupName;
|
|
6
|
-
badge: {
|
|
7
|
-
label: string;
|
|
8
|
-
tone: ComponentDocsBadgeTone;
|
|
9
|
-
};
|
|
10
|
-
recommendedOrder: number;
|
|
11
|
-
sectionOrder: number;
|
|
12
|
-
itemOrder: number;
|
|
13
|
-
};
|
|
14
|
-
declare function getComponentDocsAdoption(component: string): ComponentDocsAdoption | undefined;
|
|
15
|
-
declare function listDocsAdoption(group: ComponentDocsGroupName): ComponentDocsAdoption[];
|
|
16
|
-
export { getComponentDocsAdoption, listDocsAdoption };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { componentDocsGroups as e } from "./docs-groups.js";
|
|
2
|
-
import { getComponentMemberMetadata as t } from "./member-queries.js";
|
|
3
|
-
//#region src/families/docs-adoption.ts
|
|
4
|
-
var n = {
|
|
5
|
-
primitives: 0,
|
|
6
|
-
presets: 100,
|
|
7
|
-
"form-wrappers": 200,
|
|
8
|
-
wrappers: 200,
|
|
9
|
-
extensions: 200,
|
|
10
|
-
advanced: 300,
|
|
11
|
-
transitional: 400
|
|
12
|
-
};
|
|
13
|
-
function r(e) {
|
|
14
|
-
let n = t(e);
|
|
15
|
-
return n ? n.maturity === "canonical" ? {
|
|
16
|
-
label: "Start here",
|
|
17
|
-
tone: "stable"
|
|
18
|
-
} : n.maturity === "advanced" ? {
|
|
19
|
-
label: "Advanced",
|
|
20
|
-
tone: "advanced"
|
|
21
|
-
} : n.maturity === "transitional" ? {
|
|
22
|
-
label: "Migration",
|
|
23
|
-
tone: "migration"
|
|
24
|
-
} : {
|
|
25
|
-
label: "Expand",
|
|
26
|
-
tone: "preview"
|
|
27
|
-
} : {
|
|
28
|
-
label: "Unknown",
|
|
29
|
-
tone: "preview"
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
var i = /* @__PURE__ */ new Map();
|
|
33
|
-
for (let t of e) t.sections.forEach((e, a) => {
|
|
34
|
-
e.components.forEach((o, s) => {
|
|
35
|
-
let c = (n[e.id] ?? 500) + a * 10 + s;
|
|
36
|
-
i.set(o, {
|
|
37
|
-
component: o,
|
|
38
|
-
group: t.group,
|
|
39
|
-
badge: r(o),
|
|
40
|
-
recommendedOrder: c,
|
|
41
|
-
sectionOrder: a,
|
|
42
|
-
itemOrder: s
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
function a(e) {
|
|
47
|
-
return i.get(e);
|
|
48
|
-
}
|
|
49
|
-
function o(e) {
|
|
50
|
-
return [...i.values()].filter((t) => t.group === e).sort((e, t) => e.recommendedOrder - t.recommendedOrder);
|
|
51
|
-
}
|
|
52
|
-
//#endregion
|
|
53
|
-
export { a as getComponentDocsAdoption, o as listDocsAdoption };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=[{group:`Input`,family:`InputFamily`,slug:`input`,label:`Input`,primaryComponent:`Input`,description:`Primary text-entry surface with a smaller public set of dashboard-ready input presets.`,sections:[{id:`primitives`,label:`Primitives`,description:`Start from the base field and long-form text area before adding specialized behavior.`,components:[`Input`,`Textarea`]},{id:`core-presets`,label:`Core presets`,description:`Keep only the input variants that are common in real admin and dashboard screens.`,components:[`NumberInput`,`PhoneInput`,`MoneyInput`,`DateInput`,`DateRangeInput`]},{id:`form-wrapper`,label:`Form wrapper`,description:`Input and its text-first presets can still connect to forms through the universal wrapper family.`,components:[]},{id:`compatibility-aliases`,label:`Compatibility aliases`,description:`Older focused input wrappers that still work, but should not lead new adoption.`,components:[`ClearableInput`,`SearchInput`,`MaskedInput`,`QuantityInput`,`FormInput`,`FormSearchInput`,`FormPasswordInput`,`FormNumberInput`,`FormPhoneInput`,`FormDateInput`,`FormDateRangeInput`]},{id:`advanced`,label:`Advanced presets`,description:`Specialized controls that belong to the input family, but should not lead the main catalog.`,components:[`Slider`,`RangeSlider`,`Rating`,`OtpInput`,`ColorInput`,`InlineEditable`,`TagInput`,`QuantityStepper`]}]},{group:`Select`,family:`SelectFamily`,slug:`select`,label:`Select`,primaryComponent:`Select`,description:`Primary choice-picking surface with async, combobox, and form members introduced only when the interaction actually changes.`,sections:[{id:`primitives`,label:`Primitives`,description:`Start with the base select surface before reaching for remote, multi-value, or command-style members.`,components:[`Select`]},{id:`complex-presets`,label:`Complex presets`,description:`Promote only members that add real behavior beyond the base select.`,components:[`AsyncSelect`,`Combobox`]},{id:`advanced`,label:`Advanced`,description:`Remote multi-value selection is powerful, but it should stay behind the simpler select path.`,components:[`AsyncMultiSelect`]},{id:`form-wrapper`,label:`Form wrapper`,description:`Use one form select wrapper instead of teaching separate wrapper names for each select flavor.`,components:[`FormSelect`]},{id:`compatibility-aliases`,label:`Compatibility aliases`,description:`Older select wrappers can stay available, but they should not lead the first-level route.`,components:[`SimpleSelect`,`FormAsyncSelect`]}]},{group:`Card`,family:`CardFamily`,slug:`card`,label:`Card`,primaryComponent:`Card`,description:`General-purpose container plus only the card presets that provide reusable product value.`,sections:[{id:`primitives`,label:`Primitives`,description:`The base card surface and reusable information card variant.`,components:[`Card`,`InfoCard`]},{id:`product-cards`,label:`Product cards`,description:`Card presets that are harder to recreate as a one-off variant.`,components:[`EntityCard`,`FileCard`,`TrendCard`,`ComparisonCard`,`SmartCard`,`StatCard`]}]},{group:`Badge`,family:`BadgeFamily`,slug:`badge`,label:`Badge`,primaryComponent:`Badge`,description:`Inline metadata and status labels through one Badge component with tone, dot, size, and variant props.`,sections:[{id:`primitives`,label:`Primitives`,description:`The canonical badge component. Use props for status, metadata, and subtle labels.`,components:[`Badge`,`DeltaBadge`]}]},{group:`Overlay`,family:`OverlayFamily`,slug:`overlay`,label:`Overlay`,primaryComponent:`Dialog`,description:`Floating interaction surfaces grouped by behavior, not by card-like visual appearance.`,sections:[{id:`primitives`,label:`Primitives`,description:`Start with the primitive that matches the interaction model.`,components:[`Dialog`,`Popover`,`DropdownMenu`,`Tooltip`]},{id:`focused-flows`,label:`Focused flows`,description:`Keep only overlay presets with real flow-level behavior in the public catalog.`,components:[`ConfirmDialog`,`SheetShell`,`HoverCard`,`RightClickMenu`,`AlertDialog`,`ModalShell`,`Drawer`,`DialogActions`]}]},{group:`FormField`,family:`FormFamily`,slug:`form-field`,label:`Form Field`,primaryComponent:`FormFieldShell`,description:`Field-shell composition and a compact set of form wrappers for consistent validation, copy, and layout.`,sections:[{id:`primitives`,label:`Primitives`,description:`The base field shell for labels, descriptions, and errors.`,components:[`FormFieldShell`]},{id:`wrappers`,label:`Wrappers`,description:`Prewired wrappers for common field families and calendar-driven flows.`,components:[`FormTextarea`,`FormSwitch`,`FormDatePicker`,`FormDateRangePicker`,`RepeaterField`]},{id:`advanced`,label:`Advanced`,description:`Higher-level builders and shells for teams that need abstraction over raw fields.`,components:[`FormBuilder`]}]},{group:`DataTable`,family:`DataTableFamily`,slug:`data-table`,label:`Data Table`,primaryComponent:`DataTable`,description:`Tabular data surface centered on one canonical DataTable route, with helper pieces kept secondary.`,sections:[{id:`primitives`,label:`Primitives`,description:`The canonical table surface teams should adopt first.`,components:[`DataTable`]},{id:`core-companions`,label:`Core companions`,description:`Only the companions that most product teams install next to the main grid.`,components:[`DataTableToolbar`,`DataTablePagination`,`DataTableRowActions`,`DataTableBulkActions`,`DataTableViewPresets`]},{id:`advanced`,label:`Advanced`,description:`Factories, visibility helpers, and import-export tooling belong after the main grid contract is already clear.`,components:[`DataTableColumnVisibilityMenu`,`DataTableSortableHeader`,`createDataTableSelectColumn`,`createDataTableActionsColumn`,`TableExportMenu`,`TableImportButton`]}]},...require("./public-surface-rationalization.cjs").additionalDocsGroups];exports.componentDocsGroups=e;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ComponentFamilyName } from "@/families/catalog";
|
|
2
|
-
export type ComponentDocsGroupName = "Input" | "Select" | "Card" | "Badge" | "Overlay" | "FormField" | "DataTable" | "Button" | "Alert" | "BarChart" | "Sidebar" | "FileUpload" | "Checkbox" | "Progress";
|
|
3
|
-
export type ComponentDocsSection = {
|
|
4
|
-
id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
description: string;
|
|
7
|
-
components: readonly string[];
|
|
8
|
-
};
|
|
9
|
-
export type ComponentDocsGroupEntry = {
|
|
10
|
-
group: ComponentDocsGroupName;
|
|
11
|
-
family: ComponentFamilyName;
|
|
12
|
-
slug: string;
|
|
13
|
-
label: string;
|
|
14
|
-
primaryComponent: string;
|
|
15
|
-
description: string;
|
|
16
|
-
sections: readonly ComponentDocsSection[];
|
|
17
|
-
};
|
|
18
|
-
export declare const componentDocsGroups: ComponentDocsGroupEntry[];
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
import { additionalDocsGroups as e } from "./public-surface-rationalization.js";
|
|
2
|
-
//#region src/families/docs-groups.ts
|
|
3
|
-
var t = [
|
|
4
|
-
{
|
|
5
|
-
group: "Input",
|
|
6
|
-
family: "InputFamily",
|
|
7
|
-
slug: "input",
|
|
8
|
-
label: "Input",
|
|
9
|
-
primaryComponent: "Input",
|
|
10
|
-
description: "Primary text-entry surface with a smaller public set of dashboard-ready input presets.",
|
|
11
|
-
sections: [
|
|
12
|
-
{
|
|
13
|
-
id: "primitives",
|
|
14
|
-
label: "Primitives",
|
|
15
|
-
description: "Start from the base field and long-form text area before adding specialized behavior.",
|
|
16
|
-
components: ["Input", "Textarea"]
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
id: "core-presets",
|
|
20
|
-
label: "Core presets",
|
|
21
|
-
description: "Keep only the input variants that are common in real admin and dashboard screens.",
|
|
22
|
-
components: [
|
|
23
|
-
"NumberInput",
|
|
24
|
-
"PhoneInput",
|
|
25
|
-
"MoneyInput",
|
|
26
|
-
"DateInput",
|
|
27
|
-
"DateRangeInput"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
id: "form-wrapper",
|
|
32
|
-
label: "Form wrapper",
|
|
33
|
-
description: "Input and its text-first presets can still connect to forms through the universal wrapper family.",
|
|
34
|
-
components: []
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: "compatibility-aliases",
|
|
38
|
-
label: "Compatibility aliases",
|
|
39
|
-
description: "Older focused input wrappers that still work, but should not lead new adoption.",
|
|
40
|
-
components: [
|
|
41
|
-
"ClearableInput",
|
|
42
|
-
"SearchInput",
|
|
43
|
-
"MaskedInput",
|
|
44
|
-
"QuantityInput",
|
|
45
|
-
"FormInput",
|
|
46
|
-
"FormSearchInput",
|
|
47
|
-
"FormPasswordInput",
|
|
48
|
-
"FormNumberInput",
|
|
49
|
-
"FormPhoneInput",
|
|
50
|
-
"FormDateInput",
|
|
51
|
-
"FormDateRangeInput"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: "advanced",
|
|
56
|
-
label: "Advanced presets",
|
|
57
|
-
description: "Specialized controls that belong to the input family, but should not lead the main catalog.",
|
|
58
|
-
components: [
|
|
59
|
-
"Slider",
|
|
60
|
-
"RangeSlider",
|
|
61
|
-
"Rating",
|
|
62
|
-
"OtpInput",
|
|
63
|
-
"ColorInput",
|
|
64
|
-
"InlineEditable",
|
|
65
|
-
"TagInput",
|
|
66
|
-
"QuantityStepper"
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
group: "Select",
|
|
73
|
-
family: "SelectFamily",
|
|
74
|
-
slug: "select",
|
|
75
|
-
label: "Select",
|
|
76
|
-
primaryComponent: "Select",
|
|
77
|
-
description: "Primary choice-picking surface with async, combobox, and form members introduced only when the interaction actually changes.",
|
|
78
|
-
sections: [
|
|
79
|
-
{
|
|
80
|
-
id: "primitives",
|
|
81
|
-
label: "Primitives",
|
|
82
|
-
description: "Start with the base select surface before reaching for remote, multi-value, or command-style members.",
|
|
83
|
-
components: ["Select"]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: "complex-presets",
|
|
87
|
-
label: "Complex presets",
|
|
88
|
-
description: "Promote only members that add real behavior beyond the base select.",
|
|
89
|
-
components: ["AsyncSelect", "Combobox"]
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
id: "advanced",
|
|
93
|
-
label: "Advanced",
|
|
94
|
-
description: "Remote multi-value selection is powerful, but it should stay behind the simpler select path.",
|
|
95
|
-
components: ["AsyncMultiSelect"]
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
id: "form-wrapper",
|
|
99
|
-
label: "Form wrapper",
|
|
100
|
-
description: "Use one form select wrapper instead of teaching separate wrapper names for each select flavor.",
|
|
101
|
-
components: ["FormSelect"]
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
id: "compatibility-aliases",
|
|
105
|
-
label: "Compatibility aliases",
|
|
106
|
-
description: "Older select wrappers can stay available, but they should not lead the first-level route.",
|
|
107
|
-
components: ["SimpleSelect", "FormAsyncSelect"]
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
group: "Card",
|
|
113
|
-
family: "CardFamily",
|
|
114
|
-
slug: "card",
|
|
115
|
-
label: "Card",
|
|
116
|
-
primaryComponent: "Card",
|
|
117
|
-
description: "General-purpose container plus only the card presets that provide reusable product value.",
|
|
118
|
-
sections: [{
|
|
119
|
-
id: "primitives",
|
|
120
|
-
label: "Primitives",
|
|
121
|
-
description: "The base card surface and reusable information card variant.",
|
|
122
|
-
components: ["Card", "InfoCard"]
|
|
123
|
-
}, {
|
|
124
|
-
id: "product-cards",
|
|
125
|
-
label: "Product cards",
|
|
126
|
-
description: "Card presets that are harder to recreate as a one-off variant.",
|
|
127
|
-
components: [
|
|
128
|
-
"EntityCard",
|
|
129
|
-
"FileCard",
|
|
130
|
-
"TrendCard",
|
|
131
|
-
"ComparisonCard",
|
|
132
|
-
"SmartCard",
|
|
133
|
-
"StatCard"
|
|
134
|
-
]
|
|
135
|
-
}]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
group: "Badge",
|
|
139
|
-
family: "BadgeFamily",
|
|
140
|
-
slug: "badge",
|
|
141
|
-
label: "Badge",
|
|
142
|
-
primaryComponent: "Badge",
|
|
143
|
-
description: "Inline metadata and status labels through one Badge component with tone, dot, size, and variant props.",
|
|
144
|
-
sections: [{
|
|
145
|
-
id: "primitives",
|
|
146
|
-
label: "Primitives",
|
|
147
|
-
description: "The canonical badge component. Use props for status, metadata, and subtle labels.",
|
|
148
|
-
components: ["Badge", "DeltaBadge"]
|
|
149
|
-
}]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
group: "Overlay",
|
|
153
|
-
family: "OverlayFamily",
|
|
154
|
-
slug: "overlay",
|
|
155
|
-
label: "Overlay",
|
|
156
|
-
primaryComponent: "Dialog",
|
|
157
|
-
description: "Floating interaction surfaces grouped by behavior, not by card-like visual appearance.",
|
|
158
|
-
sections: [{
|
|
159
|
-
id: "primitives",
|
|
160
|
-
label: "Primitives",
|
|
161
|
-
description: "Start with the primitive that matches the interaction model.",
|
|
162
|
-
components: [
|
|
163
|
-
"Dialog",
|
|
164
|
-
"Popover",
|
|
165
|
-
"DropdownMenu",
|
|
166
|
-
"Tooltip"
|
|
167
|
-
]
|
|
168
|
-
}, {
|
|
169
|
-
id: "focused-flows",
|
|
170
|
-
label: "Focused flows",
|
|
171
|
-
description: "Keep only overlay presets with real flow-level behavior in the public catalog.",
|
|
172
|
-
components: [
|
|
173
|
-
"ConfirmDialog",
|
|
174
|
-
"SheetShell",
|
|
175
|
-
"HoverCard",
|
|
176
|
-
"RightClickMenu",
|
|
177
|
-
"AlertDialog",
|
|
178
|
-
"ModalShell",
|
|
179
|
-
"Drawer",
|
|
180
|
-
"DialogActions"
|
|
181
|
-
]
|
|
182
|
-
}]
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
group: "FormField",
|
|
186
|
-
family: "FormFamily",
|
|
187
|
-
slug: "form-field",
|
|
188
|
-
label: "Form Field",
|
|
189
|
-
primaryComponent: "FormFieldShell",
|
|
190
|
-
description: "Field-shell composition and a compact set of form wrappers for consistent validation, copy, and layout.",
|
|
191
|
-
sections: [
|
|
192
|
-
{
|
|
193
|
-
id: "primitives",
|
|
194
|
-
label: "Primitives",
|
|
195
|
-
description: "The base field shell for labels, descriptions, and errors.",
|
|
196
|
-
components: ["FormFieldShell"]
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
id: "wrappers",
|
|
200
|
-
label: "Wrappers",
|
|
201
|
-
description: "Prewired wrappers for common field families and calendar-driven flows.",
|
|
202
|
-
components: [
|
|
203
|
-
"FormTextarea",
|
|
204
|
-
"FormSwitch",
|
|
205
|
-
"FormDatePicker",
|
|
206
|
-
"FormDateRangePicker",
|
|
207
|
-
"RepeaterField"
|
|
208
|
-
]
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
id: "advanced",
|
|
212
|
-
label: "Advanced",
|
|
213
|
-
description: "Higher-level builders and shells for teams that need abstraction over raw fields.",
|
|
214
|
-
components: ["FormBuilder"]
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
group: "DataTable",
|
|
220
|
-
family: "DataTableFamily",
|
|
221
|
-
slug: "data-table",
|
|
222
|
-
label: "Data Table",
|
|
223
|
-
primaryComponent: "DataTable",
|
|
224
|
-
description: "Tabular data surface centered on one canonical DataTable route, with helper pieces kept secondary.",
|
|
225
|
-
sections: [
|
|
226
|
-
{
|
|
227
|
-
id: "primitives",
|
|
228
|
-
label: "Primitives",
|
|
229
|
-
description: "The canonical table surface teams should adopt first.",
|
|
230
|
-
components: ["DataTable"]
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
id: "core-companions",
|
|
234
|
-
label: "Core companions",
|
|
235
|
-
description: "Only the companions that most product teams install next to the main grid.",
|
|
236
|
-
components: [
|
|
237
|
-
"DataTableToolbar",
|
|
238
|
-
"DataTablePagination",
|
|
239
|
-
"DataTableRowActions",
|
|
240
|
-
"DataTableBulkActions",
|
|
241
|
-
"DataTableViewPresets"
|
|
242
|
-
]
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
id: "advanced",
|
|
246
|
-
label: "Advanced",
|
|
247
|
-
description: "Factories, visibility helpers, and import-export tooling belong after the main grid contract is already clear.",
|
|
248
|
-
components: [
|
|
249
|
-
"DataTableColumnVisibilityMenu",
|
|
250
|
-
"DataTableSortableHeader",
|
|
251
|
-
"createDataTableSelectColumn",
|
|
252
|
-
"createDataTableActionsColumn",
|
|
253
|
-
"TableExportMenu",
|
|
254
|
-
"TableImportButton"
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
},
|
|
259
|
-
...e
|
|
260
|
-
];
|
|
261
|
-
//#endregion
|
|
262
|
-
export { t as componentDocsGroups };
|