@lssm-tech/lib.ui-kit-core 3.8.9 → 6.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 +50 -7
- package/package.json +706 -88
- package/dist/browser/index.js +0 -1
- package/dist/browser/interfaces/collections.js +0 -0
- package/dist/browser/interfaces/common.js +0 -0
- package/dist/browser/interfaces/feedback.js +0 -0
- package/dist/browser/interfaces/forms.js +0 -0
- package/dist/browser/interfaces/index.js +0 -1
- package/dist/browser/interfaces/layout.js +0 -0
- package/dist/browser/interfaces/marketing.js +0 -0
- package/dist/browser/interfaces/registry.js +0 -1
- package/dist/browser/interfaces/visualization.js +0 -0
- package/dist/browser/ui-kit-core.feature.js +0 -1
- package/dist/browser/utils.js +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -2
- package/dist/interfaces/collections.d.ts +0 -102
- package/dist/interfaces/collections.js +0 -1
- package/dist/interfaces/common.d.ts +0 -30
- package/dist/interfaces/common.js +0 -1
- package/dist/interfaces/feedback.d.ts +0 -29
- package/dist/interfaces/feedback.js +0 -1
- package/dist/interfaces/forms.d.ts +0 -66
- package/dist/interfaces/forms.js +0 -1
- package/dist/interfaces/index.d.ts +0 -8
- package/dist/interfaces/index.js +0 -2
- package/dist/interfaces/layout.d.ts +0 -17
- package/dist/interfaces/layout.js +0 -1
- package/dist/interfaces/marketing.d.ts +0 -26
- package/dist/interfaces/marketing.js +0 -1
- package/dist/interfaces/registry.d.ts +0 -2
- package/dist/interfaces/registry.js +0 -2
- package/dist/interfaces/visualization.d.ts +0 -7
- package/dist/interfaces/visualization.js +0 -1
- package/dist/ui-kit-core.feature.d.ts +0 -1
- package/dist/ui-kit-core.feature.js +0 -2
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -2
package/dist/browser/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r=["accordion","alert","alert-dialog","aspect-ratio","atoms/FilterSelect","atoms/FilterSelect/FilterSelect","atoms/FilterSelect/types","atoms/LoadingSpinner","atoms/LoadingSpinner/LoadingSpinner","atoms/Pagination","atoms/Pagination/Pagination","atoms/Pagination/types","atoms/SearchInput","atoms/SearchInput/SearchInput","atoms/SearchInput/types","avatar","badge","breadcrumb","button","card","carousel","checkbox","collapsible","combobox","command","context-menu","data-table","date-picker","date-range-picker","datetime-picker","dialog","dropdown-menu","empty","empty-state","field","form","hover-card","input","input-group","input-otp","input-password","label","list","loading-button","marketing","marketing/FeatureGrid","marketing/Hero","marketing/PricingTable","menubar","molecules/Autocomplete","molecules/SearchAndFilter","molecules/SearchAndFilter/SearchAndFilter","molecules/SearchAndFilter/types","molecules/SkeletonList","native-select","navigation-menu","organisms/ErrorBoundary","organisms/ErrorBoundary/ErrorBoundary","organisms/ListPage","organisms/ListPage/ListPage","organisms/ListPage/types","page-header","popover","progress","radio-group","select","separator","sheet","sidebar","skeleton","slider","stack","stepper","switch","table","tabs","text","textarea","time-picker","toast","toggle","toggle-group","tooltip","typography","useListState","usecases","usecases/UseCaseCard","usecases/UserStoryCard","visualization","visualization/Visualization"],a=["contracts.typecheck","link","utils"];import{defineFeature as t}from"@contractspec/lib.contracts-spec/features";var l=t({meta:{key:"libs.ui-kit-core",version:"1.0.0",title:"Ui Kit Core",description:"Core UI primitives and utilities",domain:"ui-kit-core",owners:["@contractspec-core"],tags:["package","libs","ui-kit-core"],stability:"experimental"}});import{clsx as o}from"clsx";import{twMerge as s}from"tailwind-merge";function m(...e){return s(o(e))}export{r as sharedUiContractKeys,a as sharedUiContractExclusions,m as cn,l as UiKitCoreFeature};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=["accordion","alert","alert-dialog","aspect-ratio","atoms/FilterSelect","atoms/FilterSelect/FilterSelect","atoms/FilterSelect/types","atoms/LoadingSpinner","atoms/LoadingSpinner/LoadingSpinner","atoms/Pagination","atoms/Pagination/Pagination","atoms/Pagination/types","atoms/SearchInput","atoms/SearchInput/SearchInput","atoms/SearchInput/types","avatar","badge","breadcrumb","button","card","carousel","checkbox","collapsible","combobox","command","context-menu","data-table","date-picker","date-range-picker","datetime-picker","dialog","dropdown-menu","empty","empty-state","field","form","hover-card","input","input-group","input-otp","input-password","label","list","loading-button","marketing","marketing/FeatureGrid","marketing/Hero","marketing/PricingTable","menubar","molecules/Autocomplete","molecules/SearchAndFilter","molecules/SearchAndFilter/SearchAndFilter","molecules/SearchAndFilter/types","molecules/SkeletonList","native-select","navigation-menu","organisms/ErrorBoundary","organisms/ErrorBoundary/ErrorBoundary","organisms/ListPage","organisms/ListPage/ListPage","organisms/ListPage/types","page-header","popover","progress","radio-group","select","separator","sheet","sidebar","skeleton","slider","stack","stepper","switch","table","tabs","text","textarea","time-picker","toast","toggle","toggle-group","tooltip","typography","useListState","usecases","usecases/UseCaseCard","usecases/UserStoryCard","visualization","visualization/Visualization"],r=["contracts.typecheck","link","utils"];export{e as sharedUiContractKeys,r as sharedUiContractExclusions};
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=["accordion","alert","alert-dialog","aspect-ratio","atoms/FilterSelect","atoms/FilterSelect/FilterSelect","atoms/FilterSelect/types","atoms/LoadingSpinner","atoms/LoadingSpinner/LoadingSpinner","atoms/Pagination","atoms/Pagination/Pagination","atoms/Pagination/types","atoms/SearchInput","atoms/SearchInput/SearchInput","atoms/SearchInput/types","avatar","badge","breadcrumb","button","card","carousel","checkbox","collapsible","combobox","command","context-menu","data-table","date-picker","date-range-picker","datetime-picker","dialog","dropdown-menu","empty","empty-state","field","form","hover-card","input","input-group","input-otp","input-password","label","list","loading-button","marketing","marketing/FeatureGrid","marketing/Hero","marketing/PricingTable","menubar","molecules/Autocomplete","molecules/SearchAndFilter","molecules/SearchAndFilter/SearchAndFilter","molecules/SearchAndFilter/types","molecules/SkeletonList","native-select","navigation-menu","organisms/ErrorBoundary","organisms/ErrorBoundary/ErrorBoundary","organisms/ListPage","organisms/ListPage/ListPage","organisms/ListPage/types","page-header","popover","progress","radio-group","select","separator","sheet","sidebar","skeleton","slider","stack","stepper","switch","table","tabs","text","textarea","time-picker","toast","toggle","toggle-group","tooltip","typography","useListState","usecases","usecases/UseCaseCard","usecases/UserStoryCard","visualization","visualization/Visualization"],t=["contracts.typecheck","link","utils"];export{e as sharedUiContractKeys,t as sharedUiContractExclusions};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineFeature as g}from"@contractspec/lib.contracts-spec/features";var j=g({meta:{key:"libs.ui-kit-core",version:"1.0.0",title:"Ui Kit Core",description:"Core UI primitives and utilities",domain:"ui-kit-core",owners:["@contractspec-core"],tags:["package","libs","ui-kit-core"],stability:"experimental"}});export{j as UiKitCoreFeature};
|
package/dist/browser/utils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{clsx as e}from"clsx";import{twMerge as t}from"tailwind-merge";function s(...r){return t(e(r))}export{s as cn};
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
var r=["accordion","alert","alert-dialog","aspect-ratio","atoms/FilterSelect","atoms/FilterSelect/FilterSelect","atoms/FilterSelect/types","atoms/LoadingSpinner","atoms/LoadingSpinner/LoadingSpinner","atoms/Pagination","atoms/Pagination/Pagination","atoms/Pagination/types","atoms/SearchInput","atoms/SearchInput/SearchInput","atoms/SearchInput/types","avatar","badge","breadcrumb","button","card","carousel","checkbox","collapsible","combobox","command","context-menu","data-table","date-picker","date-range-picker","datetime-picker","dialog","dropdown-menu","empty","empty-state","field","form","hover-card","input","input-group","input-otp","input-password","label","list","loading-button","marketing","marketing/FeatureGrid","marketing/Hero","marketing/PricingTable","menubar","molecules/Autocomplete","molecules/SearchAndFilter","molecules/SearchAndFilter/SearchAndFilter","molecules/SearchAndFilter/types","molecules/SkeletonList","native-select","navigation-menu","organisms/ErrorBoundary","organisms/ErrorBoundary/ErrorBoundary","organisms/ListPage","organisms/ListPage/ListPage","organisms/ListPage/types","page-header","popover","progress","radio-group","select","separator","sheet","sidebar","skeleton","slider","stack","stepper","switch","table","tabs","text","textarea","time-picker","toast","toggle","toggle-group","tooltip","typography","useListState","usecases","usecases/UseCaseCard","usecases/UserStoryCard","visualization","visualization/Visualization"],a=["contracts.typecheck","link","utils"];import{defineFeature as t}from"@contractspec/lib.contracts-spec/features";var l=t({meta:{key:"libs.ui-kit-core",version:"1.0.0",title:"Ui Kit Core",description:"Core UI primitives and utilities",domain:"ui-kit-core",owners:["@contractspec-core"],tags:["package","libs","ui-kit-core"],stability:"experimental"}});import{clsx as o}from"clsx";import{twMerge as s}from"tailwind-merge";function m(...e){return s(o(e))}export{r as sharedUiContractKeys,a as sharedUiContractExclusions,m as cn,l as UiKitCoreFeature};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { SharedActionConfig, SharedClassNameProps, SharedDisableableProps, SharedOption } from './common';
|
|
3
|
-
export interface SharedFilterSelectProps<TValue = string | SharedOption> extends SharedClassNameProps, SharedDisableableProps {
|
|
4
|
-
value: TValue;
|
|
5
|
-
options: SharedOption[];
|
|
6
|
-
onChange: (value: TValue | undefined) => void;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
showCounts?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface SharedSearchInputProps extends SharedClassNameProps, SharedDisableableProps {
|
|
12
|
-
value: string;
|
|
13
|
-
onChange: (value: string) => void;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
onClear?: () => void;
|
|
16
|
-
autoFocus?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface SharedPaginationProps extends SharedClassNameProps, SharedDisableableProps {
|
|
19
|
-
currentPage: number;
|
|
20
|
-
totalPages: number;
|
|
21
|
-
totalItems: number;
|
|
22
|
-
itemsPerPage: number;
|
|
23
|
-
onPageChange: (page: number) => void;
|
|
24
|
-
onItemsPerPageChange?: (itemsPerPage: number) => void;
|
|
25
|
-
showItemsPerPage?: boolean;
|
|
26
|
-
itemsPerPageOptions?: number[];
|
|
27
|
-
}
|
|
28
|
-
export interface SharedSearchAndFilterItem<TValue = string | SharedOption> {
|
|
29
|
-
key: string;
|
|
30
|
-
label: string;
|
|
31
|
-
value: string;
|
|
32
|
-
options: SharedOption[];
|
|
33
|
-
onChange: (value: TValue | undefined) => void;
|
|
34
|
-
showCounts?: boolean;
|
|
35
|
-
}
|
|
36
|
-
export interface SharedSearchAndFilterProps<TValue = string | SharedOption> extends SharedClassNameProps, SharedDisableableProps {
|
|
37
|
-
searchValue: string;
|
|
38
|
-
onSearchChange: (value: string) => void;
|
|
39
|
-
searchPlaceholder?: string;
|
|
40
|
-
filters?: SharedSearchAndFilterItem<TValue>[];
|
|
41
|
-
isLoading?: boolean;
|
|
42
|
-
collapsible?: boolean;
|
|
43
|
-
defaultCollapsed?: boolean;
|
|
44
|
-
}
|
|
45
|
-
export interface SharedUseListStateOptions {
|
|
46
|
-
initialSearch?: string;
|
|
47
|
-
initialFilters?: Record<string, string>;
|
|
48
|
-
initialPage?: number;
|
|
49
|
-
initialItemsPerPage?: number;
|
|
50
|
-
debounceMs?: number;
|
|
51
|
-
}
|
|
52
|
-
export interface SharedUseListStateReturn {
|
|
53
|
-
searchQuery: string;
|
|
54
|
-
setSearchQuery: (query: string) => void;
|
|
55
|
-
filters: Record<string, string>;
|
|
56
|
-
setFilter: (key: string, value: string) => void;
|
|
57
|
-
clearFilters: () => void;
|
|
58
|
-
currentPage: number;
|
|
59
|
-
itemsPerPage: number;
|
|
60
|
-
setCurrentPage: (page: number) => void;
|
|
61
|
-
setItemsPerPage: (itemsPerPage: number) => void;
|
|
62
|
-
queryParams: {
|
|
63
|
-
search: string;
|
|
64
|
-
page: number;
|
|
65
|
-
limit: number;
|
|
66
|
-
} & Record<string, string | number>;
|
|
67
|
-
resetAll: () => void;
|
|
68
|
-
}
|
|
69
|
-
export interface SharedDataTableProps<_TItem = unknown> extends SharedClassNameProps {
|
|
70
|
-
controller: unknown;
|
|
71
|
-
toolbar?: React.ReactNode;
|
|
72
|
-
footer?: React.ReactNode;
|
|
73
|
-
emptyState?: React.ReactNode;
|
|
74
|
-
loading?: boolean;
|
|
75
|
-
}
|
|
76
|
-
export interface SharedListPageFilter {
|
|
77
|
-
key: string;
|
|
78
|
-
label: string;
|
|
79
|
-
options: SharedOption[];
|
|
80
|
-
showCounts?: boolean;
|
|
81
|
-
}
|
|
82
|
-
export interface SharedListPageProps<T = unknown> extends SharedClassNameProps {
|
|
83
|
-
title: string;
|
|
84
|
-
description?: string;
|
|
85
|
-
header?: React.ReactNode;
|
|
86
|
-
items: T[];
|
|
87
|
-
totalItems: number;
|
|
88
|
-
totalPages: number;
|
|
89
|
-
isLoading: boolean;
|
|
90
|
-
isFetching?: boolean;
|
|
91
|
-
error?: Error | null;
|
|
92
|
-
listState: SharedUseListStateReturn;
|
|
93
|
-
searchPlaceholder?: string;
|
|
94
|
-
filters?: SharedListPageFilter[];
|
|
95
|
-
onRefresh?: () => void;
|
|
96
|
-
primaryAction?: SharedActionConfig;
|
|
97
|
-
toolbar?: React.ReactNode;
|
|
98
|
-
renderItem: (item: T, index: number) => React.ReactNode;
|
|
99
|
-
renderEmpty?: () => React.ReactNode;
|
|
100
|
-
renderStats?: (items: T[]) => React.ReactNode;
|
|
101
|
-
itemClassName?: string;
|
|
102
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
export type SharedDensity = 'compact' | 'default';
|
|
3
|
-
export type SharedSize = 'sm' | 'md' | 'lg';
|
|
4
|
-
export type SharedFieldOrientation = 'vertical' | 'horizontal' | 'responsive';
|
|
5
|
-
export interface SharedClassNameProps {
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface SharedChildrenProps {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export interface SharedDisableableProps {
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface SharedLoadableProps {
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface SharedOption {
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
count?: number;
|
|
21
|
-
}
|
|
22
|
-
export interface SharedActionConfig {
|
|
23
|
-
label: string;
|
|
24
|
-
href?: string;
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
icon?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
export interface SharedFieldError {
|
|
29
|
-
message?: string;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { SharedClassNameProps, SharedDensity, SharedDisableableProps } from './common';
|
|
3
|
-
export interface SharedEmptyStateProps extends SharedClassNameProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
title: React.ReactNode;
|
|
6
|
-
description?: React.ReactNode;
|
|
7
|
-
primaryAction?: React.ReactNode;
|
|
8
|
-
secondaryAction?: React.ReactNode;
|
|
9
|
-
density?: SharedDensity | null;
|
|
10
|
-
}
|
|
11
|
-
export interface SharedPageHeaderProps extends SharedClassNameProps {
|
|
12
|
-
breadcrumb?: React.ReactNode;
|
|
13
|
-
title: React.ReactNode;
|
|
14
|
-
subtitle?: React.ReactNode;
|
|
15
|
-
actions?: React.ReactNode;
|
|
16
|
-
spacing?: 'sm' | 'md' | 'lg' | null;
|
|
17
|
-
}
|
|
18
|
-
export interface SharedStepperProps extends SharedClassNameProps {
|
|
19
|
-
current: number;
|
|
20
|
-
total: number;
|
|
21
|
-
size?: 'sm' | 'md' | null;
|
|
22
|
-
}
|
|
23
|
-
export interface SharedLoadingButtonProps extends SharedDisableableProps, SharedClassNameProps {
|
|
24
|
-
loading?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export interface SharedToastProps extends SharedClassNameProps {
|
|
27
|
-
open?: boolean;
|
|
28
|
-
onOpenChange?: (open: boolean) => void;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { SharedChildrenProps, SharedClassNameProps, SharedDisableableProps, SharedFieldError, SharedFieldOrientation } from './common';
|
|
2
|
-
export type SharedButtonVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
3
|
-
export type SharedButtonSize = 'default' | 'sm' | 'lg' | 'icon';
|
|
4
|
-
export interface SharedButtonProps extends SharedChildrenProps, SharedClassNameProps, SharedDisableableProps {
|
|
5
|
-
variant?: SharedButtonVariant;
|
|
6
|
-
size?: SharedButtonSize;
|
|
7
|
-
}
|
|
8
|
-
export interface SharedInputProps extends SharedClassNameProps, SharedDisableableProps {
|
|
9
|
-
value?: string | number | readonly string[];
|
|
10
|
-
defaultValue?: string | number | readonly string[];
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface SharedTextareaProps extends SharedInputProps {
|
|
15
|
-
rows?: number;
|
|
16
|
-
}
|
|
17
|
-
export interface SharedDatePickerProps extends SharedClassNameProps, SharedDisableableProps {
|
|
18
|
-
value: Date | null;
|
|
19
|
-
onChange: (date: Date | null) => void;
|
|
20
|
-
minDate?: Date;
|
|
21
|
-
maxDate?: Date;
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface SharedDateRange {
|
|
25
|
-
start: Date | null;
|
|
26
|
-
end: Date | null;
|
|
27
|
-
}
|
|
28
|
-
export interface SharedDateRangePickerProps extends SharedClassNameProps, SharedDisableableProps {
|
|
29
|
-
value: SharedDateRange;
|
|
30
|
-
onChange: (range: SharedDateRange) => void;
|
|
31
|
-
minDate?: Date;
|
|
32
|
-
maxDate?: Date;
|
|
33
|
-
placeholders?: {
|
|
34
|
-
start?: string;
|
|
35
|
-
end?: string;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export interface SharedTimePickerProps extends SharedClassNameProps, SharedDisableableProps {
|
|
39
|
-
value: Date | null;
|
|
40
|
-
onChange: (date: Date | null) => void;
|
|
41
|
-
placeholder?: string;
|
|
42
|
-
is24Hour?: boolean;
|
|
43
|
-
}
|
|
44
|
-
export interface SharedDateTimePickerProps extends SharedTimePickerProps {
|
|
45
|
-
minDate?: Date;
|
|
46
|
-
maxDate?: Date;
|
|
47
|
-
}
|
|
48
|
-
export interface SharedFieldProps extends SharedClassNameProps {
|
|
49
|
-
orientation?: SharedFieldOrientation;
|
|
50
|
-
}
|
|
51
|
-
export interface SharedFieldLegendProps extends SharedClassNameProps {
|
|
52
|
-
variant?: 'legend' | 'label';
|
|
53
|
-
}
|
|
54
|
-
export interface SharedFieldErrorProps extends SharedChildrenProps, SharedClassNameProps {
|
|
55
|
-
errors?: SharedFieldError[];
|
|
56
|
-
}
|
|
57
|
-
export interface SharedSelectProps<TValue = string> extends SharedClassNameProps, SharedDisableableProps {
|
|
58
|
-
value?: TValue;
|
|
59
|
-
onChange?: (value: TValue) => void;
|
|
60
|
-
placeholder?: string;
|
|
61
|
-
}
|
|
62
|
-
export interface SharedFormFieldStateProps {
|
|
63
|
-
name?: string;
|
|
64
|
-
required?: boolean;
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
}
|
package/dist/interfaces/forms.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type { SharedDataTableProps, SharedFilterSelectProps, SharedListPageFilter, SharedListPageProps, SharedPaginationProps, SharedSearchAndFilterItem, SharedSearchAndFilterProps, SharedSearchInputProps, SharedUseListStateOptions, SharedUseListStateReturn, } from './collections';
|
|
2
|
-
export type { SharedActionConfig, SharedChildrenProps, SharedClassNameProps, SharedDensity, SharedDisableableProps, SharedFieldError, SharedFieldOrientation, SharedLoadableProps, SharedOption, SharedSize, } from './common';
|
|
3
|
-
export type { SharedEmptyStateProps, SharedLoadingButtonProps, SharedPageHeaderProps, SharedStepperProps, SharedToastProps, } from './feedback';
|
|
4
|
-
export type { SharedButtonProps, SharedButtonSize, SharedButtonVariant, SharedDatePickerProps, SharedDateRange, SharedDateRangePickerProps, SharedDateTimePickerProps, SharedFieldErrorProps, SharedFieldLegendProps, SharedFieldProps, SharedFormFieldStateProps, SharedInputProps, SharedSelectProps, SharedTextareaProps, SharedTimePickerProps, } from './forms';
|
|
5
|
-
export type { SharedDialogProps, SharedSliderProps, SharedStackProps, SharedTableProps, } from './layout';
|
|
6
|
-
export type { SharedFeatureGridProps, SharedFeatureItem, SharedPricingTableProps, SharedPricingTier, } from './marketing';
|
|
7
|
-
export { sharedUiContractExclusions, sharedUiContractKeys, } from './registry';
|
|
8
|
-
export type { SharedVisualizationInteractionHandler, SharedVisualizationProps, } from './visualization';
|
package/dist/interfaces/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
var e=["accordion","alert","alert-dialog","aspect-ratio","atoms/FilterSelect","atoms/FilterSelect/FilterSelect","atoms/FilterSelect/types","atoms/LoadingSpinner","atoms/LoadingSpinner/LoadingSpinner","atoms/Pagination","atoms/Pagination/Pagination","atoms/Pagination/types","atoms/SearchInput","atoms/SearchInput/SearchInput","atoms/SearchInput/types","avatar","badge","breadcrumb","button","card","carousel","checkbox","collapsible","combobox","command","context-menu","data-table","date-picker","date-range-picker","datetime-picker","dialog","dropdown-menu","empty","empty-state","field","form","hover-card","input","input-group","input-otp","input-password","label","list","loading-button","marketing","marketing/FeatureGrid","marketing/Hero","marketing/PricingTable","menubar","molecules/Autocomplete","molecules/SearchAndFilter","molecules/SearchAndFilter/SearchAndFilter","molecules/SearchAndFilter/types","molecules/SkeletonList","native-select","navigation-menu","organisms/ErrorBoundary","organisms/ErrorBoundary/ErrorBoundary","organisms/ListPage","organisms/ListPage/ListPage","organisms/ListPage/types","page-header","popover","progress","radio-group","select","separator","sheet","sidebar","skeleton","slider","stack","stepper","switch","table","tabs","text","textarea","time-picker","toast","toggle","toggle-group","tooltip","typography","useListState","usecases","usecases/UseCaseCard","usecases/UserStoryCard","visualization","visualization/Visualization"],r=["contracts.typecheck","link","utils"];export{e as sharedUiContractKeys,r as sharedUiContractExclusions};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { SharedClassNameProps, SharedFieldOrientation } from './common';
|
|
2
|
-
export interface SharedDialogProps {
|
|
3
|
-
open?: boolean;
|
|
4
|
-
onOpenChange?: (open: boolean) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface SharedStackProps extends SharedClassNameProps {
|
|
7
|
-
direction?: Extract<SharedFieldOrientation, 'horizontal' | 'vertical'>;
|
|
8
|
-
}
|
|
9
|
-
export interface SharedSliderProps extends SharedClassNameProps {
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
min?: number;
|
|
12
|
-
max?: number;
|
|
13
|
-
step?: number;
|
|
14
|
-
value?: number | number[];
|
|
15
|
-
}
|
|
16
|
-
export interface SharedTableProps extends SharedClassNameProps {
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { SharedClassNameProps } from './common';
|
|
3
|
-
export interface SharedFeatureItem {
|
|
4
|
-
title: React.ReactNode;
|
|
5
|
-
description?: React.ReactNode;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export interface SharedFeatureGridProps extends SharedClassNameProps {
|
|
9
|
-
items: SharedFeatureItem[];
|
|
10
|
-
columns?: 2 | 3 | 4;
|
|
11
|
-
}
|
|
12
|
-
export interface SharedPricingTier {
|
|
13
|
-
name: string;
|
|
14
|
-
price: string;
|
|
15
|
-
tagline?: string;
|
|
16
|
-
features: string[];
|
|
17
|
-
cta?: {
|
|
18
|
-
label: string;
|
|
19
|
-
href?: string;
|
|
20
|
-
onClick?: () => void;
|
|
21
|
-
};
|
|
22
|
-
highlighted?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface SharedPricingTableProps extends SharedClassNameProps {
|
|
25
|
-
tiers: SharedPricingTier[];
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const sharedUiContractKeys: readonly ["accordion", "alert", "alert-dialog", "aspect-ratio", "atoms/FilterSelect", "atoms/FilterSelect/FilterSelect", "atoms/FilterSelect/types", "atoms/LoadingSpinner", "atoms/LoadingSpinner/LoadingSpinner", "atoms/Pagination", "atoms/Pagination/Pagination", "atoms/Pagination/types", "atoms/SearchInput", "atoms/SearchInput/SearchInput", "atoms/SearchInput/types", "avatar", "badge", "breadcrumb", "button", "card", "carousel", "checkbox", "collapsible", "combobox", "command", "context-menu", "data-table", "date-picker", "date-range-picker", "datetime-picker", "dialog", "dropdown-menu", "empty", "empty-state", "field", "form", "hover-card", "input", "input-group", "input-otp", "input-password", "label", "list", "loading-button", "marketing", "marketing/FeatureGrid", "marketing/Hero", "marketing/PricingTable", "menubar", "molecules/Autocomplete", "molecules/SearchAndFilter", "molecules/SearchAndFilter/SearchAndFilter", "molecules/SearchAndFilter/types", "molecules/SkeletonList", "native-select", "navigation-menu", "organisms/ErrorBoundary", "organisms/ErrorBoundary/ErrorBoundary", "organisms/ListPage", "organisms/ListPage/ListPage", "organisms/ListPage/types", "page-header", "popover", "progress", "radio-group", "select", "separator", "sheet", "sidebar", "skeleton", "slider", "stack", "stepper", "switch", "table", "tabs", "text", "textarea", "time-picker", "toast", "toggle", "toggle-group", "tooltip", "typography", "useListState", "usecases", "usecases/UseCaseCard", "usecases/UserStoryCard", "visualization", "visualization/Visualization"];
|
|
2
|
-
export declare const sharedUiContractExclusions: readonly ["contracts.typecheck", "link", "utils"];
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
var e=["accordion","alert","alert-dialog","aspect-ratio","atoms/FilterSelect","atoms/FilterSelect/FilterSelect","atoms/FilterSelect/types","atoms/LoadingSpinner","atoms/LoadingSpinner/LoadingSpinner","atoms/Pagination","atoms/Pagination/Pagination","atoms/Pagination/types","atoms/SearchInput","atoms/SearchInput/SearchInput","atoms/SearchInput/types","avatar","badge","breadcrumb","button","card","carousel","checkbox","collapsible","combobox","command","context-menu","data-table","date-picker","date-range-picker","datetime-picker","dialog","dropdown-menu","empty","empty-state","field","form","hover-card","input","input-group","input-otp","input-password","label","list","loading-button","marketing","marketing/FeatureGrid","marketing/Hero","marketing/PricingTable","menubar","molecules/Autocomplete","molecules/SearchAndFilter","molecules/SearchAndFilter/SearchAndFilter","molecules/SearchAndFilter/types","molecules/SkeletonList","native-select","navigation-menu","organisms/ErrorBoundary","organisms/ErrorBoundary/ErrorBoundary","organisms/ListPage","organisms/ListPage/ListPage","organisms/ListPage/types","page-header","popover","progress","radio-group","select","separator","sheet","sidebar","skeleton","slider","stack","stepper","switch","table","tabs","text","textarea","time-picker","toast","toggle","toggle-group","tooltip","typography","useListState","usecases","usecases/UseCaseCard","usecases/UserStoryCard","visualization","visualization/Visualization"],t=["contracts.typecheck","link","utils"];export{e as sharedUiContractKeys,t as sharedUiContractExclusions};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SharedClassNameProps } from './common';
|
|
2
|
-
export type SharedVisualizationInteractionHandler = (params: unknown) => void;
|
|
3
|
-
export interface SharedVisualizationProps extends SharedClassNameProps {
|
|
4
|
-
model: unknown;
|
|
5
|
-
height?: number;
|
|
6
|
-
onDataPointPress?: SharedVisualizationInteractionHandler;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const UiKitCoreFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{defineFeature as g}from"@contractspec/lib.contracts-spec/features";var j=g({meta:{key:"libs.ui-kit-core",version:"1.0.0",title:"Ui Kit Core",description:"Core UI primitives and utilities",domain:"ui-kit-core",owners:["@contractspec-core"],tags:["package","libs","ui-kit-core"],stability:"experimental"}});export{j as UiKitCoreFeature};
|
package/dist/utils.d.ts
DELETED
package/dist/utils.js
DELETED