@appdirect/design-system 0.0.11 → 0.0.13
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 +84 -6
- package/dist/Buttons/ActionIcon.js +14 -0
- package/dist/Buttons/Button.js +66 -0
- package/dist/Buttons/CloseButton.js +48 -0
- package/dist/Buttons/index.js +13 -0
- package/dist/Combobox/AutocompleteClearable.js +36 -0
- package/dist/Combobox/Combobox.js +28 -0
- package/dist/Combobox/Multiselect.js +31 -0
- package/dist/Combobox/SearchableSelect.js +43 -0
- package/dist/Combobox/Select.js +72 -0
- package/dist/Combobox/index.js +10 -0
- package/dist/ComplexComponents/DashboardWidget/DashboardWidget.js +96 -0
- package/dist/ComplexComponents/DashboardWidget/index.js +1 -0
- package/dist/ComplexComponents/DataTable/CustomBottomToolbar/index.js +82 -0
- package/dist/ComplexComponents/DataTable/CustomBottomToolbar/utils.js +23 -0
- package/dist/ComplexComponents/DataTable/CustomToolbarAlertBannerContent/index.js +23 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/DateRangeSelectorFilter/index.js +230 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterChip.js +30 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/DateRangeFilter.js +12 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/FilterRenderer.js +32 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/FilterSystem.js +90 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/MultiSelectFilter.js +43 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/SingleSelectFilter.js +30 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/index.js +39 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/FilterSystem/types.js +9 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/ResultCount/index.js +31 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/SearchFilter.js +42 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/SelectFilter.js +21 -0
- package/dist/ComplexComponents/DataTable/CustomTopToolbar/index.js +410 -0
- package/dist/ComplexComponents/DataTable/DataTable.js +405 -0
- package/dist/ComplexComponents/DataTable/ErrorOverlay/index.js +9 -0
- package/dist/ComplexComponents/DataTable/SortableHeaderCell/index.js +27 -0
- package/dist/ComplexComponents/DataTable/index.js +1 -0
- package/dist/ComplexComponents/DataTable/translations/en.js +99 -0
- package/dist/ComplexComponents/DataTable/translations/index.js +17 -0
- package/dist/ComplexComponents/KeyInsight/KeyInsights.js +176 -0
- package/dist/ComplexComponents/KeyInsight/index.js +1 -0
- package/dist/ComplexComponents/NameValue/NameValue.js +94 -0
- package/dist/ComplexComponents/NameValue/NameValueItem.js +59 -0
- package/dist/ComplexComponents/NameValue/index.js +2 -0
- package/dist/ComplexComponents/PageContentHeader/PageContentHeader.js +92 -0
- package/dist/ComplexComponents/PageContentHeader/index.js +1 -0
- package/dist/ComplexComponents/Placeholder/Placeholder.js +51 -0
- package/dist/ComplexComponents/Placeholder/index.js +1 -0
- package/dist/ComplexComponents/Slat/Slat.js +53 -0
- package/dist/ComplexComponents/Slat/index.js +1 -0
- package/dist/ComplexComponents/Utilities/CopyButton.js +45 -0
- package/dist/ComplexComponents/Utilities/index.js +1 -0
- package/dist/DataDisplay/Alert.js +77 -0
- package/dist/DataDisplay/Avatar.js +157 -0
- package/dist/DataDisplay/Badge.js +78 -0
- package/dist/DataDisplay/Card.js +100 -0
- package/dist/DataDisplay/Chip.js +36 -0
- package/dist/DataDisplay/Indicator.js +59 -0
- package/dist/DataDisplay/List.js +60 -0
- package/dist/DataDisplay/Pill.js +81 -0
- package/dist/DataDisplay/Progress.js +42 -0
- package/dist/DataDisplay/Table.js +38 -0
- package/dist/DataDisplay/ThemeIcon.js +31 -0
- package/dist/DataDisplay/index.js +18 -0
- package/dist/Inputs/Checkbox.js +62 -0
- package/dist/Inputs/ColorInput.js +48 -0
- package/dist/Inputs/DropZone.js +12 -0
- package/dist/Inputs/FileInput.js +77 -0
- package/dist/Inputs/NumberInput.js +49 -0
- package/dist/Inputs/Radio.js +55 -0
- package/dist/Inputs/RadioGroup.js +59 -0
- package/dist/Inputs/SegmentedControl.js +50 -0
- package/dist/Inputs/Slider.js +50 -0
- package/dist/Inputs/SliderWithLabel.js +32 -0
- package/dist/Inputs/Switch.js +47 -0
- package/dist/Inputs/TextArea.js +50 -0
- package/dist/Inputs/TextInput.js +87 -0
- package/dist/Inputs/index.js +27 -0
- package/dist/Layout/Box.js +39 -0
- package/dist/Layout/Center.js +11 -0
- package/dist/Layout/Container.js +11 -0
- package/dist/Layout/Flex.js +12 -0
- package/dist/Layout/Grid.js +13 -0
- package/dist/Layout/Group.js +14 -0
- package/dist/Layout/Inline.js +46 -0
- package/dist/Layout/SimpleGrid.js +14 -0
- package/dist/Layout/Stack.js +45 -0
- package/dist/Layout/index.js +10 -0
- package/dist/Misc/Divider.js +8 -0
- package/dist/Misc/Paper.js +24 -0
- package/dist/Misc/index.js +10 -0
- package/dist/Navigation/Breadcrumb.js +60 -0
- package/dist/Navigation/NavLink.js +28 -0
- package/dist/Navigation/Stepper.js +8 -0
- package/dist/Navigation/Tabs.js +22 -0
- package/dist/Navigation/index.js +9 -0
- package/dist/Overlays/Drawer.js +63 -0
- package/dist/Overlays/Menu.js +85 -0
- package/dist/Overlays/Modal.js +61 -0
- package/dist/Overlays/Popover.js +118 -0
- package/dist/Overlays/Tooltip.js +71 -0
- package/dist/Overlays/index.js +12 -0
- package/dist/Shell/AppShellLayout.js +13 -0
- package/dist/Shell/HeaderBar.js +8 -0
- package/dist/Shell/SidebarNav.js +9 -0
- package/dist/Shell/SidebarNavLink.js +17 -0
- package/dist/Shell/SingleColumnLayout.js +11 -0
- package/dist/Shell/TertiaryColumnLayout.js +12 -0
- package/dist/Shell/index.js +6 -0
- package/dist/Typography/Code.js +8 -0
- package/dist/Typography/Kbd.js +58 -0
- package/dist/Typography/Text.js +8 -0
- package/dist/Typography/Title.js +11 -0
- package/dist/Typography/index.js +12 -0
- package/dist/config.js +202 -0
- package/dist/contracts/index.json +1 -1
- package/dist/css/mantine.css +2 -2
- package/dist/hooks/useTableHandlers.js +136 -0
- package/dist/hooks/useTableRenderFunctions.js +164 -0
- package/dist/hooks/useTableState.js +70 -0
- package/dist/index.js +162 -0
- package/dist/stories/index.json +1 -1
- package/dist/types.js +127 -0
- package/package.json +9 -6
package/dist/index.js
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppDirect Design System Components
|
|
3
|
+
*
|
|
4
|
+
* This module exports all AppDirect design system components built on top of Mantine.
|
|
5
|
+
* Components are organized by category and provide consistent styling,
|
|
6
|
+
* behavior, and API across the application.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* // Import specific components
|
|
10
|
+
* import { Button, TextInput, Badge } from '.';
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* // Import by category
|
|
14
|
+
* import { Inputs, Buttons, DataDisplay } from '.';
|
|
15
|
+
*/
|
|
16
|
+
// Import components for category exports
|
|
17
|
+
import { TextInput, TextArea, NumberInput, ColorInput, Slider, SliderWithLabel, Switch, SegmentedControl, Checkbox, Radio, RadioGroup, DropZone, FileInput } from './Inputs/index.js';
|
|
18
|
+
import { Button, ActionIcon, CloseButton } from './Buttons/index.js';
|
|
19
|
+
import { Alert, Avatar, Badge, Card, CardSection, Chip, Pill, Indicator, Progress, ThemeIcon, List, Table } from './DataDisplay/index.js';
|
|
20
|
+
import { SearchableSelect, AutocompleteClearable, Multiselect, Select, Combobox } from './Combobox/index.js';
|
|
21
|
+
import { Breadcrumb, BackBreadcrumb, NavLink, Stepper, Tabs } from './Navigation/index.js';
|
|
22
|
+
import { Drawer, Menu, Modal, ConfirmationModal, Popover, ConfirmationPopover, Tooltip } from './Overlays/index.js';
|
|
23
|
+
import { Kbd, Code, Text, Title } from './Typography/index.js';
|
|
24
|
+
import { Divider, Paper } from './Misc/index.js';
|
|
25
|
+
import { Stack, Group, Inline, Box, SimpleGrid, Grid, Flex, Container, Center } from './Layout/index.js';
|
|
26
|
+
import { AppShellLayout, HeaderBar, SidebarNav, SidebarNavLink, SingleColumnLayout, TertiaryColumnLayout } from './Shell/index.js';
|
|
27
|
+
import { KeyInsight } from './ComplexComponents/KeyInsight/index.js';
|
|
28
|
+
import { NameValue, NameValueItem } from './ComplexComponents/NameValue/index.js';
|
|
29
|
+
import { CopyButton } from './ComplexComponents/Utilities/index.js';
|
|
30
|
+
import { PageContentHeader } from './ComplexComponents/PageContentHeader/index.js';
|
|
31
|
+
import { DataTable } from './ComplexComponents/DataTable/index.js';
|
|
32
|
+
import { DashboardWidget } from './ComplexComponents/DashboardWidget/index.js';
|
|
33
|
+
import { Placeholder } from './ComplexComponents/Placeholder/index.js';
|
|
34
|
+
import { Slat } from './ComplexComponents/Slat/index.js';
|
|
35
|
+
// ========================== INPUTS ==========================
|
|
36
|
+
export { TextInput, TextArea, NumberInput, ColorInput, Slider, SliderWithLabel, Switch, SegmentedControl, Checkbox, Radio, RadioGroup, DropZone, FileInput } from './Inputs/index.js';
|
|
37
|
+
// ========================== BUTTONS ==========================
|
|
38
|
+
export { Button, ActionIcon, CloseButton } from './Buttons/index.js';
|
|
39
|
+
// ========================== COMBOBOX ==========================
|
|
40
|
+
export { SearchableSelect, AutocompleteClearable, Multiselect, Select, Combobox } from './Combobox/index.js';
|
|
41
|
+
// ========================== NAVIGATION ==========================
|
|
42
|
+
export { Breadcrumb, BackBreadcrumb, NavLink, Stepper, Tabs } from './Navigation/index.js';
|
|
43
|
+
// ========================== OVERLAYS ==========================
|
|
44
|
+
export { Drawer, Menu, Modal, ConfirmationModal, Popover, ConfirmationPopover, Tooltip } from './Overlays/index.js';
|
|
45
|
+
// ========================== DATA DISPLAY ==========================
|
|
46
|
+
export { Alert, Avatar, Badge, Card, CardSection, Chip, Pill, Indicator, Progress, ThemeIcon, List, Table } from './DataDisplay/index.js';
|
|
47
|
+
// ========================== TYPOGRAPHY ==========================
|
|
48
|
+
export { Kbd, Code, Text, Title } from './Typography/index.js';
|
|
49
|
+
// ========================== MISC ==========================
|
|
50
|
+
export { Divider, Paper } from './Misc/index.js';
|
|
51
|
+
// ========================== LAYOUT ==========================
|
|
52
|
+
export { Stack, Group, Inline, Box, SimpleGrid, Grid, Flex, Container, Center } from './Layout/index.js';
|
|
53
|
+
// ========================== SHELL ==========================
|
|
54
|
+
export { AppShellLayout, HeaderBar, SidebarNav, SidebarNavLink, SingleColumnLayout, TertiaryColumnLayout } from './Shell/index.js';
|
|
55
|
+
// ========================== COMPLEX COMPONENTS ==========================
|
|
56
|
+
export { KeyInsight } from './ComplexComponents/KeyInsight/index.js';
|
|
57
|
+
export { NameValue, NameValueItem } from './ComplexComponents/NameValue/index.js';
|
|
58
|
+
export { CopyButton } from './ComplexComponents/Utilities/index.js';
|
|
59
|
+
export { PageContentHeader } from './ComplexComponents/PageContentHeader/index.js';
|
|
60
|
+
export { DataTable } from './ComplexComponents/DataTable/index.js';
|
|
61
|
+
export { DashboardWidget } from './ComplexComponents/DashboardWidget/index.js';
|
|
62
|
+
export { Placeholder } from './ComplexComponents/Placeholder/index.js';
|
|
63
|
+
export { Slat } from './ComplexComponents/Slat/index.js';
|
|
64
|
+
// ========================== CATEGORY EXPORTS ==========================
|
|
65
|
+
// Export components grouped by category for convenient importing
|
|
66
|
+
export const Inputs = {
|
|
67
|
+
TextInput,
|
|
68
|
+
TextArea,
|
|
69
|
+
NumberInput,
|
|
70
|
+
ColorInput,
|
|
71
|
+
Slider,
|
|
72
|
+
SliderWithLabel,
|
|
73
|
+
Switch,
|
|
74
|
+
SegmentedControl,
|
|
75
|
+
Checkbox,
|
|
76
|
+
Radio,
|
|
77
|
+
RadioGroup,
|
|
78
|
+
DropZone,
|
|
79
|
+
FileInput,
|
|
80
|
+
};
|
|
81
|
+
export const Buttons = {
|
|
82
|
+
Button,
|
|
83
|
+
ActionIcon,
|
|
84
|
+
CloseButton,
|
|
85
|
+
};
|
|
86
|
+
export const ComboboxComponents = {
|
|
87
|
+
SearchableSelect,
|
|
88
|
+
AutocompleteClearable,
|
|
89
|
+
Multiselect,
|
|
90
|
+
Select,
|
|
91
|
+
Combobox,
|
|
92
|
+
};
|
|
93
|
+
export const Navigation = {
|
|
94
|
+
Breadcrumb,
|
|
95
|
+
BackBreadcrumb,
|
|
96
|
+
NavLink,
|
|
97
|
+
Stepper,
|
|
98
|
+
Tabs,
|
|
99
|
+
};
|
|
100
|
+
export const Overlays = {
|
|
101
|
+
Drawer,
|
|
102
|
+
Menu,
|
|
103
|
+
Modal,
|
|
104
|
+
ConfirmationModal,
|
|
105
|
+
Popover,
|
|
106
|
+
ConfirmationPopover,
|
|
107
|
+
Tooltip,
|
|
108
|
+
};
|
|
109
|
+
export const DataDisplay = {
|
|
110
|
+
Alert,
|
|
111
|
+
Avatar,
|
|
112
|
+
Badge,
|
|
113
|
+
Card,
|
|
114
|
+
CardSection,
|
|
115
|
+
Chip,
|
|
116
|
+
Pill,
|
|
117
|
+
Indicator,
|
|
118
|
+
Progress,
|
|
119
|
+
ThemeIcon,
|
|
120
|
+
List,
|
|
121
|
+
Table,
|
|
122
|
+
};
|
|
123
|
+
export const Typography = {
|
|
124
|
+
Kbd,
|
|
125
|
+
Code,
|
|
126
|
+
Text,
|
|
127
|
+
Title,
|
|
128
|
+
};
|
|
129
|
+
export const Misc = {
|
|
130
|
+
Divider,
|
|
131
|
+
Paper,
|
|
132
|
+
};
|
|
133
|
+
export const Layout = {
|
|
134
|
+
Stack,
|
|
135
|
+
Group,
|
|
136
|
+
Inline,
|
|
137
|
+
Box,
|
|
138
|
+
SimpleGrid,
|
|
139
|
+
Grid,
|
|
140
|
+
Flex,
|
|
141
|
+
Container,
|
|
142
|
+
Center,
|
|
143
|
+
};
|
|
144
|
+
export const Shell = {
|
|
145
|
+
AppShellLayout,
|
|
146
|
+
HeaderBar,
|
|
147
|
+
SidebarNav,
|
|
148
|
+
SidebarNavLink,
|
|
149
|
+
SingleColumnLayout,
|
|
150
|
+
TertiaryColumnLayout,
|
|
151
|
+
};
|
|
152
|
+
export const ComplexComponents = {
|
|
153
|
+
KeyInsight,
|
|
154
|
+
NameValue,
|
|
155
|
+
NameValueItem,
|
|
156
|
+
CopyButton,
|
|
157
|
+
PageContentHeader,
|
|
158
|
+
DataTable,
|
|
159
|
+
DashboardWidget,
|
|
160
|
+
Placeholder,
|
|
161
|
+
Slat,
|
|
162
|
+
};
|
package/dist/stories/index.json
CHANGED
package/dist/types.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared unions imported by DS wrappers.
|
|
3
|
+
*
|
|
4
|
+
* Wrapper TSX is still the implementation source of truth. These arrays must
|
|
5
|
+
* match the wrappers that import them (`Button`, `Badge`, `Alert`). Do not
|
|
6
|
+
* treat this file as a second API.
|
|
7
|
+
*/
|
|
8
|
+
// ========================== SIZE TOKENS ==========================
|
|
9
|
+
/**
|
|
10
|
+
* Standardized size tokens for all Design System components
|
|
11
|
+
* Maps 1:1 with Mantine's size tokens
|
|
12
|
+
*/
|
|
13
|
+
export const DS_SIZES = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
14
|
+
// ========================== VARIANT TOKENS ==========================
|
|
15
|
+
/**
|
|
16
|
+
* Canonical variant values for the Design System
|
|
17
|
+
* Not all components support all variants - each component defines its subset
|
|
18
|
+
*/
|
|
19
|
+
export const DS_VARIANTS = ['filled', 'outline', 'light', 'subtle', 'transparent'];
|
|
20
|
+
/**
|
|
21
|
+
* Button-specific variants (extends canonical variants with semantic additions)
|
|
22
|
+
*/
|
|
23
|
+
export const DS_BUTTON_VARIANTS = [
|
|
24
|
+
'primary',
|
|
25
|
+
'secondary',
|
|
26
|
+
'default',
|
|
27
|
+
'disabled',
|
|
28
|
+
'link',
|
|
29
|
+
'secret',
|
|
30
|
+
'outline',
|
|
31
|
+
'danger',
|
|
32
|
+
];
|
|
33
|
+
/**
|
|
34
|
+
* Badge `variant` values on the wrapper. Figma Code Connect exposes
|
|
35
|
+
* `filled` | `outline`; the wrapper also accepts semantic names as shortcuts.
|
|
36
|
+
*/
|
|
37
|
+
export const DS_BADGE_VARIANTS = [
|
|
38
|
+
'filled',
|
|
39
|
+
'outline',
|
|
40
|
+
'info',
|
|
41
|
+
'success',
|
|
42
|
+
'danger',
|
|
43
|
+
'pending',
|
|
44
|
+
'default',
|
|
45
|
+
'warning',
|
|
46
|
+
];
|
|
47
|
+
/**
|
|
48
|
+
* Badge `color` values on the wrapper (semantic names plus Mantine aliases).
|
|
49
|
+
*/
|
|
50
|
+
export const DS_BADGE_COLORS = [
|
|
51
|
+
'info',
|
|
52
|
+
'success',
|
|
53
|
+
'danger',
|
|
54
|
+
'pending',
|
|
55
|
+
'default',
|
|
56
|
+
'warning',
|
|
57
|
+
'blue',
|
|
58
|
+
'green',
|
|
59
|
+
'red',
|
|
60
|
+
'yellow',
|
|
61
|
+
'gray',
|
|
62
|
+
];
|
|
63
|
+
/**
|
|
64
|
+
* Alert `color` / deprecated `type` on the wrapper. No `warning` — use `pending`.
|
|
65
|
+
*/
|
|
66
|
+
export const DS_ALERT_COLORS = ['info', 'success', 'danger', 'pending', 'default'];
|
|
67
|
+
// ========================== SEMANTIC COLOR TOKENS ==========================
|
|
68
|
+
/**
|
|
69
|
+
* Semantic color names for the Design System
|
|
70
|
+
* These are the ONLY color values that should be exposed in the public API
|
|
71
|
+
*/
|
|
72
|
+
export const DS_SEMANTIC_COLORS = [
|
|
73
|
+
'neutral', // Gray scale - for default/inactive states
|
|
74
|
+
'info', // Blue - for informational content
|
|
75
|
+
'success', // Green - for success/positive states
|
|
76
|
+
'warning', // Yellow/Orange - for warnings/caution
|
|
77
|
+
'danger', // Red - for errors/destructive actions
|
|
78
|
+
'highlight', // Violet/Accent - for highlighting/emphasis
|
|
79
|
+
];
|
|
80
|
+
/**
|
|
81
|
+
* Status-oriented semantic colors (commonly used for feedback)
|
|
82
|
+
* A subset focused on status indication
|
|
83
|
+
*/
|
|
84
|
+
export const DS_STATUS_COLORS = ['default', 'info', 'success', 'warning', 'danger', 'pending'];
|
|
85
|
+
/**
|
|
86
|
+
* Semantic → Mantine color map. Wrappers that import a map must stay in sync.
|
|
87
|
+
*/
|
|
88
|
+
export const SEMANTIC_TO_MANTINE_COLOR = {
|
|
89
|
+
neutral: 'gray',
|
|
90
|
+
info: 'blue',
|
|
91
|
+
success: 'green',
|
|
92
|
+
warning: 'yellow',
|
|
93
|
+
danger: 'red',
|
|
94
|
+
highlight: 'violet',
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Status color mapping (Badge / Chip / Indicator). Alert uses `DS_ALERT_COLORS`
|
|
98
|
+
* (no `warning`).
|
|
99
|
+
*/
|
|
100
|
+
export const STATUS_TO_MANTINE_COLOR = {
|
|
101
|
+
default: 'gray',
|
|
102
|
+
info: 'blue',
|
|
103
|
+
success: 'green',
|
|
104
|
+
warning: 'yellow',
|
|
105
|
+
danger: 'red',
|
|
106
|
+
pending: 'yellow',
|
|
107
|
+
};
|
|
108
|
+
export const ALERT_TO_MANTINE_COLOR = {
|
|
109
|
+
default: 'gray',
|
|
110
|
+
info: 'blue',
|
|
111
|
+
success: 'green',
|
|
112
|
+
danger: 'red',
|
|
113
|
+
pending: 'yellow',
|
|
114
|
+
};
|
|
115
|
+
// ========================== HELPER FUNCTIONS ==========================
|
|
116
|
+
/**
|
|
117
|
+
* Convert semantic color to Mantine color
|
|
118
|
+
*/
|
|
119
|
+
export function getSemanticColor(semanticColor) {
|
|
120
|
+
return SEMANTIC_TO_MANTINE_COLOR[semanticColor];
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Convert status color to Mantine color
|
|
124
|
+
*/
|
|
125
|
+
export function getStatusColor(statusColor) {
|
|
126
|
+
return STATUS_TO_MANTINE_COLOR[statusColor];
|
|
127
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appdirect/design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "AppDirect Design System components. Wraps Mantine v9 with standardized props, variants, and tokens.",
|
|
5
|
-
"main": "./dist/index.
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.ts",
|
|
7
7
|
"bin": {
|
|
8
8
|
"ds-audit": "./dist/bin/ds-audit.js"
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./dist/index.ts",
|
|
13
|
-
"default": "./dist/index.
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
14
|
},
|
|
15
15
|
"./config": {
|
|
16
16
|
"types": "./dist/config.ts",
|
|
17
|
-
"default": "./dist/config.
|
|
17
|
+
"default": "./dist/config.js"
|
|
18
18
|
},
|
|
19
19
|
"./types": {
|
|
20
20
|
"types": "./dist/types.ts",
|
|
21
|
-
"default": "./dist/types.
|
|
21
|
+
"default": "./dist/types.js"
|
|
22
22
|
},
|
|
23
23
|
"./css/foundations.css": "./dist/css/foundations.css",
|
|
24
24
|
"./css/mantine.css": "./dist/css/mantine.css",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepublishOnly": "npm run build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@appdirect/ad-design-tokens": "0.0.
|
|
42
|
+
"@appdirect/ad-design-tokens": "0.0.13",
|
|
43
43
|
"@mantine/dropzone": "^9.6.0",
|
|
44
44
|
"@remixicon/react": "^4.6.0",
|
|
45
45
|
"@tabler/icons-react": "^3.33.0",
|
|
@@ -52,6 +52,9 @@
|
|
|
52
52
|
"react": "^19.2.0",
|
|
53
53
|
"react-dom": "^19.2.0"
|
|
54
54
|
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"typescript": "^5.9.3"
|
|
57
|
+
},
|
|
55
58
|
"repository": {
|
|
56
59
|
"type": "git",
|
|
57
60
|
"url": "git+https://github.com/AppDirect/ad-design-system.git"
|