@common-origin/design-system 2.2.5 → 2.3.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/dist/components/atoms/CategoryBadge/CategoryBadge.d.ts +82 -0
- package/dist/components/atoms/CategoryBadge/index.d.ts +2 -0
- package/dist/components/atoms/StatusBadge/StatusBadge.d.ts +68 -0
- package/dist/components/atoms/StatusBadge/index.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/molecules/ActionSheet/ActionSheet.d.ts +110 -0
- package/dist/components/molecules/ActionSheet/index.d.ts +2 -0
- package/dist/components/molecules/SearchField/SearchField.d.ts +108 -0
- package/dist/components/molecules/SearchField/index.d.ts +2 -0
- package/dist/components/molecules/TabBar/TabBar.d.ts +79 -0
- package/dist/components/molecules/TabBar/index.d.ts +2 -0
- package/dist/components/molecules/index.d.ts +3 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.esm.js +1465 -262
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1468 -260
- package/dist/index.js.map +1 -1
- package/dist/styles/tokens.json +85 -0
- package/dist/tokens/index.esm.js +85 -0
- package/dist/tokens/index.esm.js.map +1 -1
- package/dist/tokens/index.js +85 -0
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/tokens.d.ts +85 -0
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import type { IconName } from '../../../types/icons';
|
|
3
|
+
/**
|
|
4
|
+
* Category color options for CategoryBadge
|
|
5
|
+
*/
|
|
6
|
+
export type CategoryColor = 'blue' | 'purple' | 'pink' | 'yellow' | 'green' | 'red' | 'orange' | 'gray';
|
|
7
|
+
/**
|
|
8
|
+
* Visual variant options for CategoryBadge
|
|
9
|
+
*/
|
|
10
|
+
export type CategoryVariant = 'filled' | 'outlined' | 'minimal';
|
|
11
|
+
/**
|
|
12
|
+
* Size options for CategoryBadge
|
|
13
|
+
*/
|
|
14
|
+
export type CategorySize = 'small' | 'medium';
|
|
15
|
+
/**
|
|
16
|
+
* Props for the CategoryBadge component
|
|
17
|
+
*/
|
|
18
|
+
export interface CategoryBadgeProps {
|
|
19
|
+
/**
|
|
20
|
+
* The category text to display
|
|
21
|
+
*/
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Color scheme for the badge
|
|
25
|
+
* @default 'blue'
|
|
26
|
+
*/
|
|
27
|
+
color?: CategoryColor;
|
|
28
|
+
/**
|
|
29
|
+
* Visual variant of the badge
|
|
30
|
+
* @default 'filled'
|
|
31
|
+
*/
|
|
32
|
+
variant?: CategoryVariant;
|
|
33
|
+
/**
|
|
34
|
+
* Size of the badge
|
|
35
|
+
* @default 'medium'
|
|
36
|
+
*/
|
|
37
|
+
size?: CategorySize;
|
|
38
|
+
/**
|
|
39
|
+
* Optional icon name to display
|
|
40
|
+
*/
|
|
41
|
+
icon?: IconName;
|
|
42
|
+
/**
|
|
43
|
+
* Optional click handler (makes badge interactive)
|
|
44
|
+
*/
|
|
45
|
+
onClick?: () => void;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the badge is disabled
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Test identifier for automated testing
|
|
53
|
+
*/
|
|
54
|
+
'data-testid'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Accessible label for the badge
|
|
57
|
+
*/
|
|
58
|
+
'aria-label'?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* CategoryBadge component for displaying transaction categories
|
|
62
|
+
*
|
|
63
|
+
* Supports 8 color options, 3 visual variants, optional icons, and interactive behavior.
|
|
64
|
+
* Perfect for categorizing financial transactions or content.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```tsx
|
|
68
|
+
* <CategoryBadge color="orange" icon="restaurant">
|
|
69
|
+
* Food & Dining
|
|
70
|
+
* </CategoryBadge>
|
|
71
|
+
*
|
|
72
|
+
* <CategoryBadge
|
|
73
|
+
* color="blue"
|
|
74
|
+
* variant="outlined"
|
|
75
|
+
* size="small"
|
|
76
|
+
* onClick={() => filterByCategory('travel')}
|
|
77
|
+
* >
|
|
78
|
+
* Travel
|
|
79
|
+
* </CategoryBadge>
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare const CategoryBadge: React.FC<CategoryBadgeProps>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status type options for StatusBadge
|
|
3
|
+
*/
|
|
4
|
+
export type StatusType = 'pending' | 'completed' | 'failed' | 'cancelled' | 'processing' | 'scheduled';
|
|
5
|
+
/**
|
|
6
|
+
* Size options for StatusBadge
|
|
7
|
+
*/
|
|
8
|
+
export type StatusSize = 'small' | 'medium';
|
|
9
|
+
/**
|
|
10
|
+
* Props for the StatusBadge component
|
|
11
|
+
*/
|
|
12
|
+
export interface StatusBadgeProps {
|
|
13
|
+
/**
|
|
14
|
+
* The status type to display
|
|
15
|
+
*/
|
|
16
|
+
status: StatusType;
|
|
17
|
+
/**
|
|
18
|
+
* Optional custom label (defaults to status name)
|
|
19
|
+
*/
|
|
20
|
+
label?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Size of the badge
|
|
23
|
+
* @default 'medium'
|
|
24
|
+
*/
|
|
25
|
+
size?: StatusSize;
|
|
26
|
+
/**
|
|
27
|
+
* Whether to show the icon
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
showIcon?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether status changes should be announced to screen readers
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
liveRegion?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Test identifier for automated testing
|
|
38
|
+
*/
|
|
39
|
+
'data-testid'?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Accessible label override
|
|
42
|
+
*/
|
|
43
|
+
'aria-label'?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* StatusBadge component for displaying transaction or task status
|
|
47
|
+
*
|
|
48
|
+
* Displays status with appropriate color, icon, and supports live updates for screen readers.
|
|
49
|
+
* Maps to 6 common status types with semantic color tokens.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```tsx
|
|
53
|
+
* <StatusBadge status="completed" />
|
|
54
|
+
*
|
|
55
|
+
* <StatusBadge
|
|
56
|
+
* status="pending"
|
|
57
|
+
* label="Awaiting approval"
|
|
58
|
+
* size="small"
|
|
59
|
+
* />
|
|
60
|
+
*
|
|
61
|
+
* <StatusBadge
|
|
62
|
+
* status="failed"
|
|
63
|
+
* showIcon={false}
|
|
64
|
+
* liveRegion={true}
|
|
65
|
+
* />
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare const StatusBadge: React.FC<StatusBadgeProps>;
|
|
@@ -2,6 +2,7 @@ export * from './Avatar';
|
|
|
2
2
|
export * from './Badge';
|
|
3
3
|
export * from './Box';
|
|
4
4
|
export * from './Button';
|
|
5
|
+
export * from './CategoryBadge';
|
|
5
6
|
export * from './Chip';
|
|
6
7
|
export * from './Container';
|
|
7
8
|
export * from './Picture';
|
|
@@ -12,5 +13,6 @@ export * from './MoneyDisplay';
|
|
|
12
13
|
export * from './ProgressBar';
|
|
13
14
|
export * from './Divider';
|
|
14
15
|
export * from './Stack';
|
|
16
|
+
export * from './StatusBadge';
|
|
15
17
|
export * from './Tag';
|
|
16
18
|
export * from './Typography';
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { type IconName } from '../../../types/icons';
|
|
2
|
+
/**
|
|
3
|
+
* Action item for the action sheet
|
|
4
|
+
*/
|
|
5
|
+
export interface Action {
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Display label
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional icon
|
|
16
|
+
*/
|
|
17
|
+
icon?: IconName;
|
|
18
|
+
/**
|
|
19
|
+
* Whether this is a destructive action (shown in red)
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
destructive?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether this action is disabled
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Callback when action is selected
|
|
30
|
+
*/
|
|
31
|
+
onSelect: () => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Props for the ActionSheet component
|
|
35
|
+
*/
|
|
36
|
+
export interface ActionSheetProps {
|
|
37
|
+
/**
|
|
38
|
+
* Whether the action sheet is open
|
|
39
|
+
*/
|
|
40
|
+
isOpen: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Callback when the action sheet should close
|
|
43
|
+
*/
|
|
44
|
+
onClose: () => void;
|
|
45
|
+
/**
|
|
46
|
+
* Title of the action sheet
|
|
47
|
+
*/
|
|
48
|
+
title?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Optional description
|
|
51
|
+
*/
|
|
52
|
+
description?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Array of actions
|
|
55
|
+
*/
|
|
56
|
+
actions: Action[];
|
|
57
|
+
/**
|
|
58
|
+
* Whether to close on overlay click
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
61
|
+
closeOnOverlayClick?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether to close on Escape key
|
|
64
|
+
* @default true
|
|
65
|
+
*/
|
|
66
|
+
closeOnEscape?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Show close button in header
|
|
69
|
+
* @default true
|
|
70
|
+
*/
|
|
71
|
+
showCloseButton?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Test identifier
|
|
74
|
+
*/
|
|
75
|
+
'data-testid'?: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* ActionSheet component for bottom sheet modals
|
|
79
|
+
*
|
|
80
|
+
* Displays a modal action sheet that slides up from the bottom,
|
|
81
|
+
* providing a list of actions for the user to choose from.
|
|
82
|
+
* Includes focus trapping, keyboard navigation, and accessibility features.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```tsx
|
|
86
|
+
* const [isOpen, setIsOpen] = useState(false)
|
|
87
|
+
*
|
|
88
|
+
* <ActionSheet
|
|
89
|
+
* isOpen={isOpen}
|
|
90
|
+
* onClose={() => setIsOpen(false)}
|
|
91
|
+
* title="Choose an action"
|
|
92
|
+
* actions={[
|
|
93
|
+
* {
|
|
94
|
+
* id: 'edit',
|
|
95
|
+
* label: 'Edit',
|
|
96
|
+
* icon: 'edit',
|
|
97
|
+
* onSelect: () => console.log('Edit')
|
|
98
|
+
* },
|
|
99
|
+
* {
|
|
100
|
+
* id: 'delete',
|
|
101
|
+
* label: 'Delete',
|
|
102
|
+
* icon: 'trash',
|
|
103
|
+
* destructive: true,
|
|
104
|
+
* onSelect: () => console.log('Delete')
|
|
105
|
+
* }
|
|
106
|
+
* ]}
|
|
107
|
+
* />
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
export declare const ActionSheet: ({ isOpen, onClose, title, description, actions, closeOnOverlayClick, closeOnEscape, showCloseButton, "data-testid": dataTestId }: ActionSheetProps) => import("react").ReactPortal | null;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Suggestion item for autocomplete
|
|
4
|
+
*/
|
|
5
|
+
export interface Suggestion {
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Display text
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional secondary text
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Optional category for grouping
|
|
20
|
+
*/
|
|
21
|
+
category?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Props for the SearchField component
|
|
25
|
+
*/
|
|
26
|
+
export interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange'> {
|
|
27
|
+
/**
|
|
28
|
+
* Current search value
|
|
29
|
+
*/
|
|
30
|
+
value: string;
|
|
31
|
+
/**
|
|
32
|
+
* Callback when value changes
|
|
33
|
+
*/
|
|
34
|
+
onChange: (value: string) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Suggestions to display
|
|
37
|
+
*/
|
|
38
|
+
suggestions?: Suggestion[];
|
|
39
|
+
/**
|
|
40
|
+
* Whether to show recent searches
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
showRecentSearches?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Array of recent search terms
|
|
46
|
+
*/
|
|
47
|
+
recentSearches?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Callback when a suggestion is selected
|
|
50
|
+
*/
|
|
51
|
+
onSuggestionSelect?: (suggestion: Suggestion | string) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback to clear recent searches
|
|
54
|
+
*/
|
|
55
|
+
onClearRecentSearches?: () => void;
|
|
56
|
+
/**
|
|
57
|
+
* Debounce delay in milliseconds
|
|
58
|
+
* @default 300
|
|
59
|
+
*/
|
|
60
|
+
debounceMs?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Placeholder text
|
|
63
|
+
* @default 'Search...'
|
|
64
|
+
*/
|
|
65
|
+
placeholder?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the field is disabled
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Whether to show loading state
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
loading?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Accessible label
|
|
78
|
+
*/
|
|
79
|
+
'aria-label'?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Test identifier
|
|
82
|
+
*/
|
|
83
|
+
'data-testid'?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* SearchField component with autocomplete and recent searches
|
|
87
|
+
*
|
|
88
|
+
* Provides intelligent search with debouncing, keyboard navigation,
|
|
89
|
+
* suggestions, and recent search history. Fully accessible with ARIA.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* const [search, setSearch] = useState('')
|
|
94
|
+
* const [suggestions] = useState([
|
|
95
|
+
* { id: '1', label: 'Apple', category: 'Fruit' },
|
|
96
|
+
* { id: '2', label: 'Banana', category: 'Fruit' }
|
|
97
|
+
* ])
|
|
98
|
+
*
|
|
99
|
+
* <SearchField
|
|
100
|
+
* value={search}
|
|
101
|
+
* onChange={setSearch}
|
|
102
|
+
* suggestions={suggestions}
|
|
103
|
+
* recentSearches={['coffee', 'tea']}
|
|
104
|
+
* onSuggestionSelect={(item) => console.log('Selected:', item)}
|
|
105
|
+
* />
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
export declare const SearchField: import("react").ForwardRefExoticComponent<SearchFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tab variant options for TabBar
|
|
3
|
+
*/
|
|
4
|
+
export type TabVariant = 'default' | 'pills' | 'underline';
|
|
5
|
+
/**
|
|
6
|
+
* Individual tab configuration
|
|
7
|
+
*/
|
|
8
|
+
export interface Tab {
|
|
9
|
+
/**
|
|
10
|
+
* Unique identifier for the tab
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Tab label text
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional badge count to display
|
|
19
|
+
*/
|
|
20
|
+
badge?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Whether this tab is disabled
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Props for the TabBar component
|
|
29
|
+
*/
|
|
30
|
+
export interface TabBarProps {
|
|
31
|
+
/**
|
|
32
|
+
* Array of tab configurations
|
|
33
|
+
*/
|
|
34
|
+
tabs: Tab[];
|
|
35
|
+
/**
|
|
36
|
+
* Currently active tab ID
|
|
37
|
+
*/
|
|
38
|
+
activeTab: string;
|
|
39
|
+
/**
|
|
40
|
+
* Callback when tab changes
|
|
41
|
+
*/
|
|
42
|
+
onTabChange: (tabId: string) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Visual variant of the tabs
|
|
45
|
+
* @default 'default'
|
|
46
|
+
*/
|
|
47
|
+
variant?: TabVariant;
|
|
48
|
+
/**
|
|
49
|
+
* Accessible label for the tab list
|
|
50
|
+
*/
|
|
51
|
+
'aria-label'?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Test identifier for automated testing
|
|
54
|
+
*/
|
|
55
|
+
'data-testid'?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* TabBar component for tabbed navigation
|
|
59
|
+
*
|
|
60
|
+
* Provides accessible tab navigation with 3 visual variants, keyboard support,
|
|
61
|
+
* and optional badge counts. Follows ARIA tablist pattern.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```tsx
|
|
65
|
+
* const [activeTab, setActiveTab] = useState('all')
|
|
66
|
+
*
|
|
67
|
+
* <TabBar
|
|
68
|
+
* tabs={[
|
|
69
|
+
* { id: 'all', label: 'All', badge: 42 },
|
|
70
|
+
* { id: 'pending', label: 'Pending', badge: 5 },
|
|
71
|
+
* { id: 'completed', label: 'Completed' }
|
|
72
|
+
* ]}
|
|
73
|
+
* activeTab={activeTab}
|
|
74
|
+
* onTabChange={setActiveTab}
|
|
75
|
+
* variant="pills"
|
|
76
|
+
* />
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare const TabBar: React.FC<TabBarProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './AccountCard';
|
|
2
|
+
export * from './ActionSheet';
|
|
2
3
|
export * from './Alert';
|
|
3
4
|
export * from './Breadcrumbs';
|
|
4
5
|
export * from './CardSmall';
|
|
@@ -14,7 +15,9 @@ export * from './List';
|
|
|
14
15
|
export * from './NumberInput';
|
|
15
16
|
export * from './PageTitle';
|
|
16
17
|
export * from './PasswordField';
|
|
18
|
+
export * from './SearchField';
|
|
17
19
|
export * from './Sheet';
|
|
18
20
|
export * from './Slider';
|
|
21
|
+
export * from './TabBar';
|
|
19
22
|
export * from './TextField';
|
|
20
23
|
export * from './TransactionListItem';
|
package/dist/index.d.ts
CHANGED
|
@@ -169,6 +169,51 @@ export declare const tokens: {
|
|
|
169
169
|
"1200": string;
|
|
170
170
|
"1300": string;
|
|
171
171
|
};
|
|
172
|
+
purple: {
|
|
173
|
+
"100": string;
|
|
174
|
+
"200": string;
|
|
175
|
+
"300": string;
|
|
176
|
+
"400": string;
|
|
177
|
+
"500": string;
|
|
178
|
+
"600": string;
|
|
179
|
+
"700": string;
|
|
180
|
+
"800": string;
|
|
181
|
+
"900": string;
|
|
182
|
+
"1000": string;
|
|
183
|
+
"1100": string;
|
|
184
|
+
"1200": string;
|
|
185
|
+
"1300": string;
|
|
186
|
+
};
|
|
187
|
+
pink: {
|
|
188
|
+
"100": string;
|
|
189
|
+
"200": string;
|
|
190
|
+
"300": string;
|
|
191
|
+
"400": string;
|
|
192
|
+
"500": string;
|
|
193
|
+
"600": string;
|
|
194
|
+
"700": string;
|
|
195
|
+
"800": string;
|
|
196
|
+
"900": string;
|
|
197
|
+
"1000": string;
|
|
198
|
+
"1100": string;
|
|
199
|
+
"1200": string;
|
|
200
|
+
"1300": string;
|
|
201
|
+
};
|
|
202
|
+
yellow: {
|
|
203
|
+
"100": string;
|
|
204
|
+
"200": string;
|
|
205
|
+
"300": string;
|
|
206
|
+
"400": string;
|
|
207
|
+
"500": string;
|
|
208
|
+
"600": string;
|
|
209
|
+
"700": string;
|
|
210
|
+
"800": string;
|
|
211
|
+
"900": string;
|
|
212
|
+
"1000": string;
|
|
213
|
+
"1100": string;
|
|
214
|
+
"1200": string;
|
|
215
|
+
"1300": string;
|
|
216
|
+
};
|
|
172
217
|
};
|
|
173
218
|
spacing: {
|
|
174
219
|
"0": string;
|
|
@@ -647,6 +692,46 @@ export declare const tokens: {
|
|
|
647
692
|
pending: string;
|
|
648
693
|
neutral: string;
|
|
649
694
|
};
|
|
695
|
+
category: {
|
|
696
|
+
blue: string;
|
|
697
|
+
"blue-emphasis": string;
|
|
698
|
+
"blue-subtle": string;
|
|
699
|
+
purple: string;
|
|
700
|
+
"purple-emphasis": string;
|
|
701
|
+
"purple-subtle": string;
|
|
702
|
+
pink: string;
|
|
703
|
+
"pink-emphasis": string;
|
|
704
|
+
"pink-subtle": string;
|
|
705
|
+
yellow: string;
|
|
706
|
+
"yellow-emphasis": string;
|
|
707
|
+
"yellow-subtle": string;
|
|
708
|
+
green: string;
|
|
709
|
+
"green-emphasis": string;
|
|
710
|
+
"green-subtle": string;
|
|
711
|
+
red: string;
|
|
712
|
+
"red-emphasis": string;
|
|
713
|
+
"red-subtle": string;
|
|
714
|
+
orange: string;
|
|
715
|
+
"orange-emphasis": string;
|
|
716
|
+
"orange-subtle": string;
|
|
717
|
+
gray: string;
|
|
718
|
+
"gray-emphasis": string;
|
|
719
|
+
"gray-subtle": string;
|
|
720
|
+
};
|
|
721
|
+
status: {
|
|
722
|
+
pending: string;
|
|
723
|
+
"pending-bg": string;
|
|
724
|
+
completed: string;
|
|
725
|
+
"completed-bg": string;
|
|
726
|
+
failed: string;
|
|
727
|
+
"failed-bg": string;
|
|
728
|
+
cancelled: string;
|
|
729
|
+
"cancelled-bg": string;
|
|
730
|
+
processing: string;
|
|
731
|
+
"processing-bg": string;
|
|
732
|
+
scheduled: string;
|
|
733
|
+
"scheduled-bg": string;
|
|
734
|
+
};
|
|
650
735
|
};
|
|
651
736
|
typography: {
|
|
652
737
|
display: string;
|