@economic/taco 11.0.0-EC-84901-test-release.2 → 11.0.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/charts/index.d.ts +8 -0
- package/dist/charts/utils/common.d.ts +1 -1
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/Select2/Select2.d.ts +2 -2
- package/dist/components/Select2/components/Search.d.ts +1 -1
- package/dist/components/index.d.ts +62 -0
- package/dist/index.cjs +89 -89
- package/dist/index.d.ts +2 -70
- package/dist/index.js +36 -36
- package/dist/taco.css +76 -77
- package/package.json +4 -4
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './components/Area/AreaChart';
|
|
2
|
+
export * from './components/Bar/BarChart';
|
|
3
|
+
export * from './components/Composed/BarLineChart';
|
|
4
|
+
export * from './components/Donut/DonutChart';
|
|
5
|
+
export * from './components/LegacyDonut/LegacyDonutChart';
|
|
6
|
+
export * from './components/Line/LineChart';
|
|
7
|
+
export * from './components/Pie/PieChart';
|
|
8
|
+
export * from './components/types';
|
|
@@ -10,7 +10,7 @@ export declare function getAxisProps<TData extends object>(axis: 'x' | 'y', prop
|
|
|
10
10
|
scale: Function | import('recharts/types/util/types').ScaleType | undefined;
|
|
11
11
|
tickLine: boolean;
|
|
12
12
|
tickMargin: number;
|
|
13
|
-
tickFormatter: import('
|
|
13
|
+
tickFormatter: import('..').TickFormatter | undefined;
|
|
14
14
|
type: any;
|
|
15
15
|
width: number;
|
|
16
16
|
};
|
|
@@ -15,7 +15,7 @@ export declare namespace List {
|
|
|
15
15
|
children: JSX.Element | JSX.Element[];
|
|
16
16
|
defaultOpen?: boolean;
|
|
17
17
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
var Switch: React.ForwardRefExoticComponent<import("./components/Item").ComposableListItemProps<"div"> & Omit<import("
|
|
18
|
+
var Switch: React.ForwardRefExoticComponent<import("./components/Item").ComposableListItemProps<"div"> & Omit<import("..").ControlledSwitchProps, "title"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
var Checkbox: React.ForwardRefExoticComponent<import("./components/Item").ComposableListItemProps<"div"> & {
|
|
20
20
|
defaultChecked?: never;
|
|
21
21
|
checked: boolean;
|
|
@@ -117,8 +117,8 @@ export declare const Select2: (<T extends Select2Value = Select2Value>(props: Om
|
|
|
117
117
|
color?: import('../..').Color;
|
|
118
118
|
description?: string;
|
|
119
119
|
fontSize?: FontSize;
|
|
120
|
-
prefix?: import('
|
|
121
|
-
postfix?: import('
|
|
120
|
+
prefix?: import('..').IconName | JSX.Element;
|
|
121
|
+
postfix?: import('..').IconName | JSX.Element;
|
|
122
122
|
textValue?: string;
|
|
123
123
|
} & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
124
124
|
Group: React.ForwardRefExoticComponent<Omit<ListboxPrimitive.Listbox2GroupProps, "children"> & {
|
|
@@ -6,5 +6,5 @@ export declare const Search: React.ForwardRefExoticComponent<Omit<React.InputHTM
|
|
|
6
6
|
prefix?: string | JSX.Element;
|
|
7
7
|
} & {
|
|
8
8
|
button?: React.ReactElement;
|
|
9
|
-
icon?: import('
|
|
9
|
+
icon?: import('../..').IconName | JSX.Element;
|
|
10
10
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export * from './Alert/Alert';
|
|
2
|
+
export * from './AlertDialog/AlertDialog';
|
|
3
|
+
export * from './Accordion/Accordion';
|
|
4
|
+
export * from './Backdrop/Backdrop';
|
|
5
|
+
export * from './Badge/Badge';
|
|
6
|
+
export * from './BadgeIcon/BadgeIcon';
|
|
7
|
+
export * from './Banner/Banner';
|
|
8
|
+
export * from './Actions/Button/Button';
|
|
9
|
+
export * from './LegacyComponents/Button/Button';
|
|
10
|
+
export * from './Calendar/Calendar';
|
|
11
|
+
export * from './Card/Card';
|
|
12
|
+
export * from './Checkbox/Checkbox';
|
|
13
|
+
export * from './Combobox/Combobox';
|
|
14
|
+
export * from './Datepicker/Datepicker';
|
|
15
|
+
export * from './Dialog/Dialog';
|
|
16
|
+
export * from './Drawer/Drawer';
|
|
17
|
+
export * from './Field/Field';
|
|
18
|
+
export * from './Form/Form';
|
|
19
|
+
export * from './Group/Group';
|
|
20
|
+
export * from './Hanger/Hanger';
|
|
21
|
+
export * from './HoverCard/HoverCard';
|
|
22
|
+
export * from './Icon/Icon';
|
|
23
|
+
export * from './LegacyComponents/IconButton/IconButton';
|
|
24
|
+
export * from './Inline/Inline';
|
|
25
|
+
export * from './Input/Input';
|
|
26
|
+
export * from './Actions/Link/Link';
|
|
27
|
+
export * from './Actions/LinkButton/LinkButton';
|
|
28
|
+
export * from './List/List';
|
|
29
|
+
export * from './Listbox/Listbox';
|
|
30
|
+
export * from './Menu/Menu';
|
|
31
|
+
export * from './OverflowGroup/OverflowGroup';
|
|
32
|
+
export * from './Pagination/Pagination';
|
|
33
|
+
export * from './Popover/Popover';
|
|
34
|
+
export * from './Progress/Progress';
|
|
35
|
+
export * from './Provider/Provider';
|
|
36
|
+
export * from './Provider/Localization';
|
|
37
|
+
export * from './RadioGroup/RadioGroup';
|
|
38
|
+
export * from './Report/Report';
|
|
39
|
+
export * from './SearchInput/SearchInput';
|
|
40
|
+
export * from './SearchInput2/SearchInput2';
|
|
41
|
+
export * from './Select/Select';
|
|
42
|
+
export * from './Select2/Select2';
|
|
43
|
+
export * from './Shortcut/Shortcut';
|
|
44
|
+
export * from './Spinner/Spinner';
|
|
45
|
+
export * from './Stack/Stack';
|
|
46
|
+
export * from './Switch/Switch';
|
|
47
|
+
export * from './Table3/Table3';
|
|
48
|
+
export * from './Tabs/Tabs';
|
|
49
|
+
export * from './Tag/Tag';
|
|
50
|
+
export * from './Textarea/Textarea';
|
|
51
|
+
export * from './Toast/Toaster';
|
|
52
|
+
export * from './Tooltip/Tooltip';
|
|
53
|
+
export * from './Tour/Tour';
|
|
54
|
+
export * from './Treeview/Treeview';
|
|
55
|
+
export * from './Truncate/Truncate';
|
|
56
|
+
export * from './Typography/Heading';
|
|
57
|
+
export * from './Typography/Text';
|
|
58
|
+
export * from './VisuallyHidden/VisuallyHidden';
|
|
59
|
+
export * from './Header/Header';
|
|
60
|
+
export * from './Layout/Layout';
|
|
61
|
+
export * from './Navigation2/Navigation2';
|
|
62
|
+
export * from './Dialog/useDialogScope';
|
package/dist/index.cjs
CHANGED
|
@@ -3,42 +3,72 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
;/* empty css */
|
|
4
4
|
require("@economic/taco-tokens/tokens.css");
|
|
5
5
|
const tacoTokens = require("@economic/taco-tokens");
|
|
6
|
+
const Collection = require("./primitives/Collection/Collection.cjs");
|
|
7
|
+
const types$1 = require("./primitives/Table/types.cjs");
|
|
8
|
+
const useTableDataLoader = require("./primitives/Table/useTableDataLoader.cjs");
|
|
9
|
+
const useTableDataLoader2 = require("./primitives/Table/useTableDataLoader2.cjs");
|
|
10
|
+
const date = require("./utils/date.cjs");
|
|
11
|
+
const keyboard = require("./utils/keyboard.cjs");
|
|
12
|
+
const mergeRefs = require("./utils/mergeRefs.cjs");
|
|
13
|
+
const useBoundaryOverflowDetection = require("./hooks/useBoundaryOverflowDetection.cjs");
|
|
14
|
+
const useBoundingClientRectListener = require("./hooks/useBoundingClientRectListener.cjs");
|
|
15
|
+
const useIntersectionObserver = require("./hooks/useIntersectionObserver.cjs");
|
|
16
|
+
const useIsLargeScreen = require("./hooks/useIsLargeScreen.cjs");
|
|
17
|
+
const useLazyEffect = require("./hooks/useLazyEffect.cjs");
|
|
18
|
+
const useMatchMedia = require("./hooks/useMatchMedia.cjs");
|
|
19
|
+
const useMergedRef = require("./hooks/useMergedRef.cjs");
|
|
20
|
+
const useDropTarget = require("./utils/hooks/useDropTarget.cjs");
|
|
21
|
+
const useListKeyboardNavigation = require("./utils/hooks/useListKeyboardNavigation.cjs");
|
|
22
|
+
const useListScrollTo = require("./utils/hooks/useListScrollTo.cjs");
|
|
23
|
+
const useOnClickOutside = require("./utils/hooks/useOnClickOutside.cjs");
|
|
24
|
+
const types = require("./types.cjs");
|
|
25
|
+
const Accordion = require("./components/Accordion/Accordion.cjs");
|
|
6
26
|
const Alert = require("./components/Alert/Alert.cjs");
|
|
7
27
|
const AlertDialog = require("./components/AlertDialog/AlertDialog.cjs");
|
|
8
|
-
const
|
|
28
|
+
const AreaChart = require("./charts/components/Area/AreaChart.cjs");
|
|
9
29
|
const Backdrop = require("./components/Backdrop/Backdrop.cjs");
|
|
10
30
|
const Badge = require("./components/Badge/Badge.cjs");
|
|
11
31
|
const BadgeIcon = require("./components/BadgeIcon/BadgeIcon.cjs");
|
|
12
32
|
const Banner = require("./components/Banner/Banner.cjs");
|
|
33
|
+
const BarChart = require("./charts/components/Bar/BarChart.cjs");
|
|
34
|
+
const BarLineChart = require("./charts/components/Composed/BarLineChart.cjs");
|
|
13
35
|
const Button = require("./components/Actions/Button/Button.cjs");
|
|
14
|
-
const Button$1 = require("./components/LegacyComponents/Button/Button.cjs");
|
|
15
36
|
const Calendar = require("./components/Calendar/Calendar.cjs");
|
|
16
37
|
const Card = require("./components/Card/Card.cjs");
|
|
17
38
|
const Checkbox = require("./components/Checkbox/Checkbox.cjs");
|
|
18
39
|
const Combobox = require("./components/Combobox/Combobox.cjs");
|
|
19
40
|
const Datepicker = require("./components/Datepicker/Datepicker.cjs");
|
|
20
41
|
const Dialog = require("./components/Dialog/Dialog.cjs");
|
|
42
|
+
const DonutChart = require("./charts/components/Donut/DonutChart.cjs");
|
|
21
43
|
const Drawer = require("./components/Drawer/Drawer.cjs");
|
|
22
44
|
const Field = require("./components/Field/Field.cjs");
|
|
23
45
|
const Form = require("./components/Form/Form.cjs");
|
|
24
46
|
const Group = require("./components/Group/Group.cjs");
|
|
25
47
|
const Hanger = require("./components/Hanger/Hanger.cjs");
|
|
48
|
+
const Header = require("./components/Header/Header.cjs");
|
|
49
|
+
const Heading = require("./components/Typography/Heading.cjs");
|
|
26
50
|
const HoverCard = require("./components/HoverCard/HoverCard.cjs");
|
|
27
51
|
const Icon = require("./components/Icon/Icon.cjs");
|
|
28
|
-
const IconButton = require("./components/LegacyComponents/IconButton/IconButton.cjs");
|
|
29
52
|
const Inline = require("./components/Inline/Inline.cjs");
|
|
30
53
|
const Input = require("./components/Input/Input.cjs");
|
|
54
|
+
const Layout = require("./components/Layout/Layout.cjs");
|
|
55
|
+
const Button$1 = require("./components/LegacyComponents/Button/Button.cjs");
|
|
56
|
+
const LegacyDonutChart = require("./charts/components/LegacyDonut/LegacyDonutChart.cjs");
|
|
57
|
+
const IconButton = require("./components/LegacyComponents/IconButton/IconButton.cjs");
|
|
58
|
+
const LineChart = require("./charts/components/Line/LineChart.cjs");
|
|
31
59
|
const Link = require("./components/Actions/Link/Link.cjs");
|
|
32
60
|
const LinkButton = require("./components/Actions/LinkButton/LinkButton.cjs");
|
|
33
61
|
const List = require("./components/List/List.cjs");
|
|
34
62
|
const Listbox = require("./components/Listbox/Listbox.cjs");
|
|
63
|
+
const Localization = require("./components/Provider/Localization.cjs");
|
|
35
64
|
const Menu = require("./components/Menu/Menu.cjs");
|
|
65
|
+
const Navigation2 = require("./components/Navigation2/Navigation2.cjs");
|
|
36
66
|
const OverflowGroup = require("./components/OverflowGroup/OverflowGroup.cjs");
|
|
37
67
|
const Pagination = require("./components/Pagination/Pagination.cjs");
|
|
68
|
+
const PieChart = require("./charts/components/Pie/PieChart.cjs");
|
|
38
69
|
const Popover = require("./components/Popover/Popover.cjs");
|
|
39
70
|
const Progress = require("./components/Progress/Progress.cjs");
|
|
40
71
|
const Provider = require("./components/Provider/Provider.cjs");
|
|
41
|
-
const Localization = require("./components/Provider/Localization.cjs");
|
|
42
72
|
const RadioGroup = require("./components/RadioGroup/RadioGroup.cjs");
|
|
43
73
|
const Report = require("./components/Report/Report.cjs");
|
|
44
74
|
const SearchInput = require("./components/SearchInput/SearchInput.cjs");
|
|
@@ -52,92 +82,104 @@ const Switch = require("./components/Switch/Switch.cjs");
|
|
|
52
82
|
const Table3 = require("./components/Table3/Table3.cjs");
|
|
53
83
|
const Tabs = require("./components/Tabs/Tabs.cjs");
|
|
54
84
|
const Tag = require("./components/Tag/Tag.cjs");
|
|
85
|
+
const Text = require("./components/Typography/Text.cjs");
|
|
55
86
|
const Textarea = require("./components/Textarea/Textarea.cjs");
|
|
56
87
|
const Toaster = require("./components/Toast/Toaster.cjs");
|
|
57
88
|
const Tooltip = require("./components/Tooltip/Tooltip.cjs");
|
|
58
89
|
const Tour = require("./components/Tour/Tour.cjs");
|
|
59
90
|
const Treeview = require("./components/Treeview/Treeview.cjs");
|
|
60
91
|
const Truncate = require("./components/Truncate/Truncate.cjs");
|
|
61
|
-
const Heading = require("./components/Typography/Heading.cjs");
|
|
62
|
-
const Text = require("./components/Typography/Text.cjs");
|
|
63
92
|
const VisuallyHidden = require("./components/VisuallyHidden/VisuallyHidden.cjs");
|
|
64
|
-
const AreaChart = require("./charts/components/Area/AreaChart.cjs");
|
|
65
|
-
const BarChart = require("./charts/components/Bar/BarChart.cjs");
|
|
66
|
-
const BarLineChart = require("./charts/components/Composed/BarLineChart.cjs");
|
|
67
|
-
const DonutChart = require("./charts/components/Donut/DonutChart.cjs");
|
|
68
|
-
const LegacyDonutChart = require("./charts/components/LegacyDonut/LegacyDonutChart.cjs");
|
|
69
|
-
const LineChart = require("./charts/components/Line/LineChart.cjs");
|
|
70
|
-
const PieChart = require("./charts/components/Pie/PieChart.cjs");
|
|
71
|
-
const Header = require("./components/Header/Header.cjs");
|
|
72
|
-
const Layout = require("./components/Layout/Layout.cjs");
|
|
73
|
-
const Navigation2 = require("./components/Navigation2/Navigation2.cjs");
|
|
74
|
-
const Collection = require("./primitives/Collection/Collection.cjs");
|
|
75
|
-
const types$1 = require("./primitives/Table/types.cjs");
|
|
76
|
-
const useTableDataLoader = require("./primitives/Table/useTableDataLoader.cjs");
|
|
77
|
-
const useTableDataLoader2 = require("./primitives/Table/useTableDataLoader2.cjs");
|
|
78
|
-
const date = require("./utils/date.cjs");
|
|
79
|
-
const keyboard = require("./utils/keyboard.cjs");
|
|
80
|
-
const mergeRefs = require("./utils/mergeRefs.cjs");
|
|
81
|
-
const useDialogScope = require("./components/Dialog/useDialogScope.cjs");
|
|
82
|
-
const useBoundaryOverflowDetection = require("./hooks/useBoundaryOverflowDetection.cjs");
|
|
83
|
-
const useBoundingClientRectListener = require("./hooks/useBoundingClientRectListener.cjs");
|
|
84
|
-
const useIntersectionObserver = require("./hooks/useIntersectionObserver.cjs");
|
|
85
|
-
const useIsLargeScreen = require("./hooks/useIsLargeScreen.cjs");
|
|
86
|
-
const useLazyEffect = require("./hooks/useLazyEffect.cjs");
|
|
87
|
-
const useMatchMedia = require("./hooks/useMatchMedia.cjs");
|
|
88
|
-
const useMergedRef = require("./hooks/useMergedRef.cjs");
|
|
89
|
-
const useDropTarget = require("./utils/hooks/useDropTarget.cjs");
|
|
90
|
-
const useListKeyboardNavigation = require("./utils/hooks/useListKeyboardNavigation.cjs");
|
|
91
|
-
const useListScrollTo = require("./utils/hooks/useListScrollTo.cjs");
|
|
92
|
-
const useOnClickOutside = require("./utils/hooks/useOnClickOutside.cjs");
|
|
93
|
-
const types = require("./types.cjs");
|
|
94
93
|
const Link$1 = require("./components/Navigation2/components/Link.cjs");
|
|
95
94
|
const index = require("./components/Icon/components/index.cjs");
|
|
95
|
+
const useDialogScope = require("./components/Dialog/useDialogScope.cjs");
|
|
96
96
|
const usePagination = require("./components/Pagination/usePagination.cjs");
|
|
97
|
+
exports.CollectionPrimitive = Collection;
|
|
98
|
+
exports.TableFilterComparator = types$1.TableFilterComparator;
|
|
99
|
+
exports.DEFAULT_PAGE_SIZE = useTableDataLoader.DEFAULT_PAGE_SIZE;
|
|
100
|
+
exports.useTableDataLoader = useTableDataLoader.useTableDataLoader;
|
|
101
|
+
exports.useTableDataLoader2 = useTableDataLoader2.useTableDataLoader2;
|
|
102
|
+
exports.format = date.format;
|
|
103
|
+
exports.isWeakEqual = date.isWeakEqual;
|
|
104
|
+
exports.parse = date.parse;
|
|
105
|
+
exports.parseFromCustomString = date.parseFromCustomString;
|
|
106
|
+
exports.parseFromISOString = date.parseFromISOString;
|
|
107
|
+
exports.createShortcutKeyDownHandler = keyboard.createShortcutKeyDownHandler;
|
|
108
|
+
exports.isMacOs = keyboard.isMacOs;
|
|
109
|
+
exports.isPressingMetaKey = keyboard.isPressingMetaKey;
|
|
110
|
+
exports.shouldTriggerShortcut = keyboard.shouldTriggerShortcut;
|
|
111
|
+
exports.mergeRefs = mergeRefs.mergeRefs;
|
|
112
|
+
exports.useBoundaryOverflowDetection = useBoundaryOverflowDetection.useBoundaryOverflowDetection;
|
|
113
|
+
exports.useBoundingClientRectListener = useBoundingClientRectListener.useBoundingClientRectListener;
|
|
114
|
+
exports.useIntersectionObserver = useIntersectionObserver.useIntersectionObserver;
|
|
115
|
+
exports.useIsLargeScreen = useIsLargeScreen.useIsLargeScreen;
|
|
116
|
+
exports.useLazyEffect = useLazyEffect.useLazyEffect;
|
|
117
|
+
exports.useMatchMedia = useMatchMedia.useMatchMedia;
|
|
118
|
+
exports.useMergedRef = useMergedRef.useMergedRef;
|
|
119
|
+
exports.useDropTarget = useDropTarget.useDropTarget;
|
|
120
|
+
exports.getNextIndexFromKey = useListKeyboardNavigation.getNextIndexFromKey;
|
|
121
|
+
exports.useListKeyboardNavigation = useListKeyboardNavigation.useListKeyboardNavigation;
|
|
122
|
+
exports.useListScrollTo = useListScrollTo.useListScrollTo;
|
|
123
|
+
exports.useOnClickOutside = useOnClickOutside.useOnClickOutside;
|
|
124
|
+
exports.FontSizes = types.FontSizes;
|
|
125
|
+
exports.fixedForwardRef = types.fixedForwardRef;
|
|
126
|
+
exports.Accordion = Accordion.Accordion;
|
|
97
127
|
exports.Alert = Alert.Alert;
|
|
98
128
|
exports.AlertDialog = AlertDialog.AlertDialog;
|
|
99
|
-
exports.
|
|
129
|
+
exports.AreaChart = AreaChart.AreaChart;
|
|
100
130
|
exports.Backdrop = Backdrop.Backdrop;
|
|
101
131
|
exports.Badge = Badge.Badge;
|
|
102
132
|
exports.BadgeIcon = BadgeIcon.BadgeIcon;
|
|
103
133
|
exports.Banner = Banner.Banner;
|
|
134
|
+
exports.BarChart = BarChart.BarChart;
|
|
135
|
+
exports.renderBars = BarChart.renderBars;
|
|
136
|
+
exports.BarLineChart = BarLineChart.BarLineChart;
|
|
104
137
|
exports.Button = Button.Button;
|
|
105
|
-
exports.LegacyButton = Button$1.LegacyButton;
|
|
106
138
|
exports.Calendar = Calendar.Calendar;
|
|
107
139
|
exports.Card = Card.Card;
|
|
108
140
|
exports.Checkbox = Checkbox.Checkbox;
|
|
109
141
|
exports.Combobox = Combobox.Combobox;
|
|
110
142
|
exports.Datepicker = Datepicker.Datepicker;
|
|
111
143
|
exports.Dialog = Dialog.Dialog;
|
|
144
|
+
exports.DonutChart = DonutChart.DonutChart;
|
|
112
145
|
exports.Drawer = Drawer.Drawer;
|
|
113
146
|
exports.Field = Field.Field;
|
|
114
147
|
exports.Form = Form.Form;
|
|
115
148
|
exports.Group = Group.Group;
|
|
116
149
|
exports.Hanger = Hanger.Hanger;
|
|
117
150
|
exports.Title = Hanger.Title;
|
|
151
|
+
exports.Header = Header.Header;
|
|
152
|
+
exports.Heading = Heading.Heading;
|
|
118
153
|
exports.HoverCard = HoverCard.HoverCard;
|
|
119
154
|
exports.Icon = Icon.Icon;
|
|
120
|
-
exports.LegacyIconButton = IconButton.LegacyIconButton;
|
|
121
|
-
exports.LegacyIconButtonBase = IconButton.LegacyIconButtonBase;
|
|
122
155
|
exports.Inline = Inline.Inline;
|
|
123
156
|
exports.Input = Input.Input;
|
|
157
|
+
exports.Layout = Layout.Layout;
|
|
158
|
+
exports.LegacyButton = Button$1.LegacyButton;
|
|
159
|
+
exports.LegacyDonutChart = LegacyDonutChart.LegacyDonutChart;
|
|
160
|
+
exports.LegacyIconButton = IconButton.LegacyIconButton;
|
|
161
|
+
exports.LegacyIconButtonBase = IconButton.LegacyIconButtonBase;
|
|
162
|
+
exports.LineChart = LineChart.LineChart;
|
|
163
|
+
exports.renderLines = LineChart.renderLines;
|
|
124
164
|
exports.Link = Link.Link;
|
|
125
165
|
exports.LinkButton = LinkButton.LinkButton;
|
|
126
166
|
exports.List = List.List;
|
|
127
167
|
exports.Listbox = Listbox.Listbox;
|
|
128
168
|
exports.MultiListbox = Listbox.MultiListbox;
|
|
169
|
+
exports.LocalizationContext = Localization.LocalizationContext;
|
|
170
|
+
exports.LocalizationProvider = Localization.LocalizationProvider;
|
|
171
|
+
exports.defaultLocalisationTexts = Localization.defaultLocalisationTexts;
|
|
172
|
+
exports.defaultLocalizationContext = Localization.defaultLocalizationContext;
|
|
173
|
+
exports.useLocalization = Localization.useLocalization;
|
|
129
174
|
exports.Menu = Menu.Menu;
|
|
175
|
+
exports.Navigation2 = Navigation2.Navigation2;
|
|
130
176
|
exports.OverflowGroup = OverflowGroup.OverflowGroup;
|
|
131
177
|
exports.Pagination = Pagination.Pagination;
|
|
178
|
+
exports.PieChart = PieChart.PieChart;
|
|
132
179
|
exports.Popover = Popover.Popover;
|
|
133
180
|
exports.Progress = Progress.Progress;
|
|
134
181
|
exports.Provider = Provider.Provider;
|
|
135
182
|
exports.TacoContext = Provider.TacoContext;
|
|
136
|
-
exports.LocalizationContext = Localization.LocalizationContext;
|
|
137
|
-
exports.LocalizationProvider = Localization.LocalizationProvider;
|
|
138
|
-
exports.defaultLocalisationTexts = Localization.defaultLocalisationTexts;
|
|
139
|
-
exports.defaultLocalizationContext = Localization.defaultLocalizationContext;
|
|
140
|
-
exports.useLocalization = Localization.useLocalization;
|
|
141
183
|
exports.RadioGroup = RadioGroup.RadioGroup;
|
|
142
184
|
exports.Report = Report.Report;
|
|
143
185
|
exports.SearchInput = SearchInput.SearchInput;
|
|
@@ -151,6 +193,7 @@ exports.Switch = Switch.Switch;
|
|
|
151
193
|
exports.Table3 = Table3.Table3;
|
|
152
194
|
exports.Tabs = Tabs.Tabs;
|
|
153
195
|
exports.Tag = Tag.Tag;
|
|
196
|
+
exports.Text = Text.Text;
|
|
154
197
|
exports.Textarea = Textarea.Textarea;
|
|
155
198
|
exports.ToastProvider = Toaster.ToastProvider;
|
|
156
199
|
exports.useToast = Toaster.useToast;
|
|
@@ -159,53 +202,10 @@ exports.Tour = Tour.Tour;
|
|
|
159
202
|
exports.TourStep = Tour.TourStep;
|
|
160
203
|
exports.Treeview = Treeview.Treeview;
|
|
161
204
|
exports.Truncate = Truncate.Truncate;
|
|
162
|
-
exports.Heading = Heading.Heading;
|
|
163
|
-
exports.Text = Text.Text;
|
|
164
205
|
exports.VisuallyHidden = VisuallyHidden.VisuallyHidden;
|
|
165
|
-
exports.AreaChart = AreaChart.AreaChart;
|
|
166
|
-
exports.BarChart = BarChart.BarChart;
|
|
167
|
-
exports.renderBars = BarChart.renderBars;
|
|
168
|
-
exports.BarLineChart = BarLineChart.BarLineChart;
|
|
169
|
-
exports.DonutChart = DonutChart.DonutChart;
|
|
170
|
-
exports.LegacyDonutChart = LegacyDonutChart.LegacyDonutChart;
|
|
171
|
-
exports.LineChart = LineChart.LineChart;
|
|
172
|
-
exports.renderLines = LineChart.renderLines;
|
|
173
|
-
exports.PieChart = PieChart.PieChart;
|
|
174
|
-
exports.Header = Header.Header;
|
|
175
|
-
exports.Layout = Layout.Layout;
|
|
176
|
-
exports.Navigation2 = Navigation2.Navigation2;
|
|
177
|
-
exports.CollectionPrimitive = Collection;
|
|
178
|
-
exports.TableFilterComparator = types$1.TableFilterComparator;
|
|
179
|
-
exports.DEFAULT_PAGE_SIZE = useTableDataLoader.DEFAULT_PAGE_SIZE;
|
|
180
|
-
exports.useTableDataLoader = useTableDataLoader.useTableDataLoader;
|
|
181
|
-
exports.useTableDataLoader2 = useTableDataLoader2.useTableDataLoader2;
|
|
182
|
-
exports.format = date.format;
|
|
183
|
-
exports.isWeakEqual = date.isWeakEqual;
|
|
184
|
-
exports.parse = date.parse;
|
|
185
|
-
exports.parseFromCustomString = date.parseFromCustomString;
|
|
186
|
-
exports.parseFromISOString = date.parseFromISOString;
|
|
187
|
-
exports.createShortcutKeyDownHandler = keyboard.createShortcutKeyDownHandler;
|
|
188
|
-
exports.isMacOs = keyboard.isMacOs;
|
|
189
|
-
exports.isPressingMetaKey = keyboard.isPressingMetaKey;
|
|
190
|
-
exports.shouldTriggerShortcut = keyboard.shouldTriggerShortcut;
|
|
191
|
-
exports.mergeRefs = mergeRefs.mergeRefs;
|
|
192
|
-
exports.useDialogScope = useDialogScope.useDialogScope;
|
|
193
|
-
exports.useBoundaryOverflowDetection = useBoundaryOverflowDetection.useBoundaryOverflowDetection;
|
|
194
|
-
exports.useBoundingClientRectListener = useBoundingClientRectListener.useBoundingClientRectListener;
|
|
195
|
-
exports.useIntersectionObserver = useIntersectionObserver.useIntersectionObserver;
|
|
196
|
-
exports.useIsLargeScreen = useIsLargeScreen.useIsLargeScreen;
|
|
197
|
-
exports.useLazyEffect = useLazyEffect.useLazyEffect;
|
|
198
|
-
exports.useMatchMedia = useMatchMedia.useMatchMedia;
|
|
199
|
-
exports.useMergedRef = useMergedRef.useMergedRef;
|
|
200
|
-
exports.useDropTarget = useDropTarget.useDropTarget;
|
|
201
|
-
exports.getNextIndexFromKey = useListKeyboardNavigation.getNextIndexFromKey;
|
|
202
|
-
exports.useListKeyboardNavigation = useListKeyboardNavigation.useListKeyboardNavigation;
|
|
203
|
-
exports.useListScrollTo = useListScrollTo.useListScrollTo;
|
|
204
|
-
exports.useOnClickOutside = useOnClickOutside.useOnClickOutside;
|
|
205
|
-
exports.FontSizes = types.FontSizes;
|
|
206
|
-
exports.fixedForwardRef = types.fixedForwardRef;
|
|
207
206
|
exports.getNavigationLinkClasses = Link$1.getNavigationLinkClasses;
|
|
208
207
|
exports.icons = index.icons;
|
|
208
|
+
exports.useDialogScope = useDialogScope.useDialogScope;
|
|
209
209
|
exports.usePagination = usePagination.usePagination;
|
|
210
210
|
Object.keys(tacoTokens).forEach((k) => {
|
|
211
211
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,73 +1,6 @@
|
|
|
1
1
|
export * from '@economic/taco-tokens';
|
|
2
|
-
export * from './components
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './components/Accordion/Accordion';
|
|
5
|
-
export * from './components/Backdrop/Backdrop';
|
|
6
|
-
export * from './components/Badge/Badge';
|
|
7
|
-
export * from './components/BadgeIcon/BadgeIcon';
|
|
8
|
-
export * from './components/Banner/Banner';
|
|
9
|
-
export * from './components/Actions/Button/Button';
|
|
10
|
-
export * from './components/LegacyComponents/Button/Button';
|
|
11
|
-
export * from './components/Calendar/Calendar';
|
|
12
|
-
export * from './components/Card/Card';
|
|
13
|
-
export * from './components/Checkbox/Checkbox';
|
|
14
|
-
export * from './components/Combobox/Combobox';
|
|
15
|
-
export * from './components/Datepicker/Datepicker';
|
|
16
|
-
export * from './components/Dialog/Dialog';
|
|
17
|
-
export * from './components/Drawer/Drawer';
|
|
18
|
-
export * from './components/Field/Field';
|
|
19
|
-
export * from './components/Form/Form';
|
|
20
|
-
export * from './components/Group/Group';
|
|
21
|
-
export * from './components/Hanger/Hanger';
|
|
22
|
-
export * from './components/HoverCard/HoverCard';
|
|
23
|
-
export * from './components/Icon/Icon';
|
|
24
|
-
export * from './components/LegacyComponents/IconButton/IconButton';
|
|
25
|
-
export * from './components/Inline/Inline';
|
|
26
|
-
export * from './components/Input/Input';
|
|
27
|
-
export * from './components/Actions/Link/Link';
|
|
28
|
-
export * from './components/Actions/LinkButton/LinkButton';
|
|
29
|
-
export * from './components/List/List';
|
|
30
|
-
export * from './components/Listbox/Listbox';
|
|
31
|
-
export * from './components/Menu/Menu';
|
|
32
|
-
export * from './components/OverflowGroup/OverflowGroup';
|
|
33
|
-
export * from './components/Pagination/Pagination';
|
|
34
|
-
export * from './components/Popover/Popover';
|
|
35
|
-
export * from './components/Progress/Progress';
|
|
36
|
-
export * from './components/Provider/Provider';
|
|
37
|
-
export * from './components/Provider/Localization';
|
|
38
|
-
export * from './components/RadioGroup/RadioGroup';
|
|
39
|
-
export * from './components/Report/Report';
|
|
40
|
-
export * from './components/SearchInput/SearchInput';
|
|
41
|
-
export * from './components/SearchInput2/SearchInput2';
|
|
42
|
-
export * from './components/Select/Select';
|
|
43
|
-
export * from './components/Select2/Select2';
|
|
44
|
-
export * from './components/Shortcut/Shortcut';
|
|
45
|
-
export * from './components/Spinner/Spinner';
|
|
46
|
-
export * from './components/Stack/Stack';
|
|
47
|
-
export * from './components/Switch/Switch';
|
|
48
|
-
export * from './components/Table3/Table3';
|
|
49
|
-
export * from './components/Tabs/Tabs';
|
|
50
|
-
export * from './components/Tag/Tag';
|
|
51
|
-
export * from './components/Textarea/Textarea';
|
|
52
|
-
export * from './components/Toast/Toaster';
|
|
53
|
-
export * from './components/Tooltip/Tooltip';
|
|
54
|
-
export * from './components/Tour/Tour';
|
|
55
|
-
export * from './components/Treeview/Treeview';
|
|
56
|
-
export * from './components/Truncate/Truncate';
|
|
57
|
-
export * from './components/Typography/Heading';
|
|
58
|
-
export * from './components/Typography/Text';
|
|
59
|
-
export * from './components/VisuallyHidden/VisuallyHidden';
|
|
60
|
-
export * from './charts/components/Area/AreaChart';
|
|
61
|
-
export * from './charts/components/Bar/BarChart';
|
|
62
|
-
export * from './charts/components/Composed/BarLineChart';
|
|
63
|
-
export * from './charts/components/Donut/DonutChart';
|
|
64
|
-
export * from './charts/components/LegacyDonut/LegacyDonutChart';
|
|
65
|
-
export * from './charts/components/Line/LineChart';
|
|
66
|
-
export * from './charts/components/Pie/PieChart';
|
|
67
|
-
export * from './charts/components/types';
|
|
68
|
-
export * from './components/Header/Header';
|
|
69
|
-
export * from './components/Layout/Layout';
|
|
70
|
-
export * from './components/Navigation2/Navigation2';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export * from './charts';
|
|
71
4
|
export * as CollectionPrimitive from './primitives/Collection/Collection';
|
|
72
5
|
export * from './primitives/Table/types';
|
|
73
6
|
export * from './primitives/Table/useTableDataLoader';
|
|
@@ -75,7 +8,6 @@ export * from './primitives/Table/useTableDataLoader2';
|
|
|
75
8
|
export * from './utils/date';
|
|
76
9
|
export * from './utils/keyboard';
|
|
77
10
|
export * from './utils/mergeRefs';
|
|
78
|
-
export * from './components/Dialog/useDialogScope';
|
|
79
11
|
export * from './hooks/useBoundaryOverflowDetection';
|
|
80
12
|
export * from './hooks/useBoundingClientRectListener';
|
|
81
13
|
export * from './hooks/useIntersectionObserver';
|
package/dist/index.js
CHANGED
|
@@ -1,42 +1,72 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import "@economic/taco-tokens/tokens.css";
|
|
3
3
|
export * from "@economic/taco-tokens";
|
|
4
|
+
import * as Collection from "./primitives/Collection/Collection.js";
|
|
5
|
+
import { TableFilterComparator } from "./primitives/Table/types.js";
|
|
6
|
+
import { DEFAULT_PAGE_SIZE, useTableDataLoader } from "./primitives/Table/useTableDataLoader.js";
|
|
7
|
+
import { useTableDataLoader2 } from "./primitives/Table/useTableDataLoader2.js";
|
|
8
|
+
import { format, isWeakEqual, parse, parseFromCustomString, parseFromISOString } from "./utils/date.js";
|
|
9
|
+
import { createShortcutKeyDownHandler, isMacOs, isPressingMetaKey, shouldTriggerShortcut } from "./utils/keyboard.js";
|
|
10
|
+
import { mergeRefs } from "./utils/mergeRefs.js";
|
|
11
|
+
import { useBoundaryOverflowDetection } from "./hooks/useBoundaryOverflowDetection.js";
|
|
12
|
+
import { useBoundingClientRectListener } from "./hooks/useBoundingClientRectListener.js";
|
|
13
|
+
import { useIntersectionObserver } from "./hooks/useIntersectionObserver.js";
|
|
14
|
+
import { useIsLargeScreen } from "./hooks/useIsLargeScreen.js";
|
|
15
|
+
import { useLazyEffect } from "./hooks/useLazyEffect.js";
|
|
16
|
+
import { useMatchMedia } from "./hooks/useMatchMedia.js";
|
|
17
|
+
import { useMergedRef } from "./hooks/useMergedRef.js";
|
|
18
|
+
import { useDropTarget } from "./utils/hooks/useDropTarget.js";
|
|
19
|
+
import { getNextIndexFromKey, useListKeyboardNavigation } from "./utils/hooks/useListKeyboardNavigation.js";
|
|
20
|
+
import { useListScrollTo } from "./utils/hooks/useListScrollTo.js";
|
|
21
|
+
import { useOnClickOutside } from "./utils/hooks/useOnClickOutside.js";
|
|
22
|
+
import { FontSizes, fixedForwardRef } from "./types.js";
|
|
23
|
+
import { Accordion } from "./components/Accordion/Accordion.js";
|
|
4
24
|
import { Alert } from "./components/Alert/Alert.js";
|
|
5
25
|
import { AlertDialog } from "./components/AlertDialog/AlertDialog.js";
|
|
6
|
-
import {
|
|
26
|
+
import { AreaChart } from "./charts/components/Area/AreaChart.js";
|
|
7
27
|
import { Backdrop } from "./components/Backdrop/Backdrop.js";
|
|
8
28
|
import { Badge } from "./components/Badge/Badge.js";
|
|
9
29
|
import { BadgeIcon } from "./components/BadgeIcon/BadgeIcon.js";
|
|
10
30
|
import { Banner } from "./components/Banner/Banner.js";
|
|
31
|
+
import { BarChart, renderBars } from "./charts/components/Bar/BarChart.js";
|
|
32
|
+
import { BarLineChart } from "./charts/components/Composed/BarLineChart.js";
|
|
11
33
|
import { Button } from "./components/Actions/Button/Button.js";
|
|
12
|
-
import { LegacyButton } from "./components/LegacyComponents/Button/Button.js";
|
|
13
34
|
import { Calendar } from "./components/Calendar/Calendar.js";
|
|
14
35
|
import { Card } from "./components/Card/Card.js";
|
|
15
36
|
import { Checkbox } from "./components/Checkbox/Checkbox.js";
|
|
16
37
|
import { Combobox } from "./components/Combobox/Combobox.js";
|
|
17
38
|
import { Datepicker } from "./components/Datepicker/Datepicker.js";
|
|
18
39
|
import { Dialog } from "./components/Dialog/Dialog.js";
|
|
40
|
+
import { DonutChart } from "./charts/components/Donut/DonutChart.js";
|
|
19
41
|
import { Drawer } from "./components/Drawer/Drawer.js";
|
|
20
42
|
import { Field } from "./components/Field/Field.js";
|
|
21
43
|
import { Form } from "./components/Form/Form.js";
|
|
22
44
|
import { Group } from "./components/Group/Group.js";
|
|
23
45
|
import { Hanger, Title } from "./components/Hanger/Hanger.js";
|
|
46
|
+
import { Header } from "./components/Header/Header.js";
|
|
47
|
+
import { Heading } from "./components/Typography/Heading.js";
|
|
24
48
|
import { HoverCard } from "./components/HoverCard/HoverCard.js";
|
|
25
49
|
import { Icon } from "./components/Icon/Icon.js";
|
|
26
|
-
import { LegacyIconButton, LegacyIconButtonBase } from "./components/LegacyComponents/IconButton/IconButton.js";
|
|
27
50
|
import { Inline } from "./components/Inline/Inline.js";
|
|
28
51
|
import { Input } from "./components/Input/Input.js";
|
|
52
|
+
import { Layout } from "./components/Layout/Layout.js";
|
|
53
|
+
import { LegacyButton } from "./components/LegacyComponents/Button/Button.js";
|
|
54
|
+
import { LegacyDonutChart } from "./charts/components/LegacyDonut/LegacyDonutChart.js";
|
|
55
|
+
import { LegacyIconButton, LegacyIconButtonBase } from "./components/LegacyComponents/IconButton/IconButton.js";
|
|
56
|
+
import { LineChart, renderLines } from "./charts/components/Line/LineChart.js";
|
|
29
57
|
import { Link } from "./components/Actions/Link/Link.js";
|
|
30
58
|
import { LinkButton } from "./components/Actions/LinkButton/LinkButton.js";
|
|
31
59
|
import { List } from "./components/List/List.js";
|
|
32
60
|
import { Listbox, MultiListbox } from "./components/Listbox/Listbox.js";
|
|
61
|
+
import { LocalizationContext, LocalizationProvider, defaultLocalisationTexts, defaultLocalizationContext, useLocalization } from "./components/Provider/Localization.js";
|
|
33
62
|
import { Menu } from "./components/Menu/Menu.js";
|
|
63
|
+
import { Navigation2 } from "./components/Navigation2/Navigation2.js";
|
|
34
64
|
import { OverflowGroup } from "./components/OverflowGroup/OverflowGroup.js";
|
|
35
65
|
import { Pagination } from "./components/Pagination/Pagination.js";
|
|
66
|
+
import { PieChart } from "./charts/components/Pie/PieChart.js";
|
|
36
67
|
import { Popover } from "./components/Popover/Popover.js";
|
|
37
68
|
import { Progress } from "./components/Progress/Progress.js";
|
|
38
69
|
import { Provider, TacoContext } from "./components/Provider/Provider.js";
|
|
39
|
-
import { LocalizationContext, LocalizationProvider, defaultLocalisationTexts, defaultLocalizationContext, useLocalization } from "./components/Provider/Localization.js";
|
|
40
70
|
import { RadioGroup } from "./components/RadioGroup/RadioGroup.js";
|
|
41
71
|
import { Report } from "./components/Report/Report.js";
|
|
42
72
|
import { SearchInput } from "./components/SearchInput/SearchInput.js";
|
|
@@ -50,47 +80,17 @@ import { Switch } from "./components/Switch/Switch.js";
|
|
|
50
80
|
import { Table3 } from "./components/Table3/Table3.js";
|
|
51
81
|
import { Tabs } from "./components/Tabs/Tabs.js";
|
|
52
82
|
import { Tag } from "./components/Tag/Tag.js";
|
|
83
|
+
import { Text } from "./components/Typography/Text.js";
|
|
53
84
|
import { Textarea } from "./components/Textarea/Textarea.js";
|
|
54
85
|
import { ToastProvider, useToast } from "./components/Toast/Toaster.js";
|
|
55
86
|
import { Tooltip } from "./components/Tooltip/Tooltip.js";
|
|
56
87
|
import { Tour, TourStep } from "./components/Tour/Tour.js";
|
|
57
88
|
import { Treeview } from "./components/Treeview/Treeview.js";
|
|
58
89
|
import { Truncate } from "./components/Truncate/Truncate.js";
|
|
59
|
-
import { Heading } from "./components/Typography/Heading.js";
|
|
60
|
-
import { Text } from "./components/Typography/Text.js";
|
|
61
90
|
import { VisuallyHidden } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
62
|
-
import { AreaChart } from "./charts/components/Area/AreaChart.js";
|
|
63
|
-
import { BarChart, renderBars } from "./charts/components/Bar/BarChart.js";
|
|
64
|
-
import { BarLineChart } from "./charts/components/Composed/BarLineChart.js";
|
|
65
|
-
import { DonutChart } from "./charts/components/Donut/DonutChart.js";
|
|
66
|
-
import { LegacyDonutChart } from "./charts/components/LegacyDonut/LegacyDonutChart.js";
|
|
67
|
-
import { LineChart, renderLines } from "./charts/components/Line/LineChart.js";
|
|
68
|
-
import { PieChart } from "./charts/components/Pie/PieChart.js";
|
|
69
|
-
import { Header } from "./components/Header/Header.js";
|
|
70
|
-
import { Layout } from "./components/Layout/Layout.js";
|
|
71
|
-
import { Navigation2 } from "./components/Navigation2/Navigation2.js";
|
|
72
|
-
import * as Collection from "./primitives/Collection/Collection.js";
|
|
73
|
-
import { TableFilterComparator } from "./primitives/Table/types.js";
|
|
74
|
-
import { DEFAULT_PAGE_SIZE, useTableDataLoader } from "./primitives/Table/useTableDataLoader.js";
|
|
75
|
-
import { useTableDataLoader2 } from "./primitives/Table/useTableDataLoader2.js";
|
|
76
|
-
import { format, isWeakEqual, parse, parseFromCustomString, parseFromISOString } from "./utils/date.js";
|
|
77
|
-
import { createShortcutKeyDownHandler, isMacOs, isPressingMetaKey, shouldTriggerShortcut } from "./utils/keyboard.js";
|
|
78
|
-
import { mergeRefs } from "./utils/mergeRefs.js";
|
|
79
|
-
import { useDialogScope } from "./components/Dialog/useDialogScope.js";
|
|
80
|
-
import { useBoundaryOverflowDetection } from "./hooks/useBoundaryOverflowDetection.js";
|
|
81
|
-
import { useBoundingClientRectListener } from "./hooks/useBoundingClientRectListener.js";
|
|
82
|
-
import { useIntersectionObserver } from "./hooks/useIntersectionObserver.js";
|
|
83
|
-
import { useIsLargeScreen } from "./hooks/useIsLargeScreen.js";
|
|
84
|
-
import { useLazyEffect } from "./hooks/useLazyEffect.js";
|
|
85
|
-
import { useMatchMedia } from "./hooks/useMatchMedia.js";
|
|
86
|
-
import { useMergedRef } from "./hooks/useMergedRef.js";
|
|
87
|
-
import { useDropTarget } from "./utils/hooks/useDropTarget.js";
|
|
88
|
-
import { getNextIndexFromKey, useListKeyboardNavigation } from "./utils/hooks/useListKeyboardNavigation.js";
|
|
89
|
-
import { useListScrollTo } from "./utils/hooks/useListScrollTo.js";
|
|
90
|
-
import { useOnClickOutside } from "./utils/hooks/useOnClickOutside.js";
|
|
91
|
-
import { FontSizes, fixedForwardRef } from "./types.js";
|
|
92
91
|
import { getNavigationLinkClasses } from "./components/Navigation2/components/Link.js";
|
|
93
92
|
import { icons } from "./components/Icon/components/index.js";
|
|
93
|
+
import { useDialogScope } from "./components/Dialog/useDialogScope.js";
|
|
94
94
|
import { usePagination } from "./components/Pagination/usePagination.js";
|
|
95
95
|
export {
|
|
96
96
|
Accordion,
|
package/dist/taco.css
CHANGED
|
@@ -177,6 +177,60 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
177
177
|
@apply opacity-100;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
+
[data-taco='card-content'] > [data-taco='chart-wrapper']:not(:has([data-taco='chart-donut'], [data-taco='chart-pie'])) {
|
|
181
|
+
@apply w-full;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
[data-taco='card-content']
|
|
185
|
+
> [data-taco='chart-wrapper']:not([class*='h-']):not(:has([data-taco='chart-donut'], [data-taco='chart-pie'])) {
|
|
186
|
+
@apply h-full;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
[data-taco='card-content'] > [data-taco='chart-wrapper'] {
|
|
190
|
+
container: wrapper / inline-size;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-donut']:not([class*='w-']),
|
|
194
|
+
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-pie']:not([class*='w-']) {
|
|
195
|
+
@apply aspect-square w-3/5;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@container wrapper (width > 400px) {
|
|
199
|
+
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-donut']:not([class*='w-']),
|
|
200
|
+
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-pie']:not([class*='w-']) {
|
|
201
|
+
@apply w-2/3;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.recharts-cartesian-axis line,
|
|
206
|
+
.recharts-cartesian-grid-horizontal line,
|
|
207
|
+
.recharts-cartesian-grid-vertical line {
|
|
208
|
+
@apply !stroke-gray-100;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.recharts-cartesian-axis-tick-value {
|
|
212
|
+
@apply !fill-gray-700;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.recharts-tooltip-cursor {
|
|
216
|
+
@apply !fill-transparent;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.recharts-legend-wrapper {
|
|
220
|
+
@apply !left-0 !w-full;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.recharts-sector,
|
|
224
|
+
.recharts-wrapper > svg g {
|
|
225
|
+
@apply !outline-none;
|
|
226
|
+
}
|
|
227
|
+
[data-taco='legacy-button'] > [data-taco='icon'] {
|
|
228
|
+
@apply pointer-events-none -mb-2 -ml-2 -mt-2 inline p-px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[data-taco='legacy-button'] > * + [data-taco='icon'] {
|
|
232
|
+
@apply -mr-2 ml-0;
|
|
233
|
+
}
|
|
180
234
|
[data-taco='badge'] > [data-taco='spinner'] {
|
|
181
235
|
@apply ml-2 h-3 w-3;
|
|
182
236
|
}
|
|
@@ -241,13 +295,6 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
241
295
|
[class*='text-'] svg circle {
|
|
242
296
|
stroke: currentColor;
|
|
243
297
|
}
|
|
244
|
-
[data-taco='legacy-button'] > [data-taco='icon'] {
|
|
245
|
-
@apply pointer-events-none -mb-2 -ml-2 -mt-2 inline p-px;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
[data-taco='legacy-button'] > * + [data-taco='icon'] {
|
|
249
|
-
@apply -mr-2 ml-0;
|
|
250
|
-
}
|
|
251
298
|
[data-taco='calendar'] .rdp-root {
|
|
252
299
|
@apply select-none;
|
|
253
300
|
}
|
|
@@ -397,6 +444,25 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
397
444
|
[data-taco='backdrop'][aria-hidden='true'] [role='tablist'] [role='tab'].visible {
|
|
398
445
|
visibility: hidden;
|
|
399
446
|
}
|
|
447
|
+
[data-taco='chart-donut-total'] {
|
|
448
|
+
container: wrapper / inline-size;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
@container wrapper (width > 130px) {
|
|
452
|
+
[data-taco='chart-donut-total'] span:first-child {
|
|
453
|
+
@apply text-xl;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
@container wrapper (width < 80px) {
|
|
458
|
+
[data-taco='chart-donut-total'] span:first-child {
|
|
459
|
+
@apply text-base;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
[data-taco='chart-donut']:has([data-taco='chart-tooltip']) {
|
|
464
|
+
@apply relative z-10;
|
|
465
|
+
}
|
|
400
466
|
/* label inside label is invalid html, but the client is littered with it */
|
|
401
467
|
[data-taco='label'] [data-taco='label'] {
|
|
402
468
|
min-height: 0;
|
|
@@ -530,10 +596,6 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
530
596
|
content: '';
|
|
531
597
|
@apply mt-[0.2rem] flex h-4 w-4 flex-shrink-0 items-center justify-center self-start rounded-full border-2 border-gray-200 bg-white;
|
|
532
598
|
}
|
|
533
|
-
/* Add focus ring when focused */
|
|
534
|
-
[data-taco='radio-group'] > label::before[data-focus-visible='true'] {
|
|
535
|
-
@apply ring-2 ring-blue-500 ring-offset-2;
|
|
536
|
-
}
|
|
537
599
|
[data-taco='radio-group'] > label::before:not([data-disabled]):not([data-readonly]):not([data-invalid]):not([data-selected]):hover {
|
|
538
600
|
@apply border-gray-300;
|
|
539
601
|
}
|
|
@@ -543,6 +605,9 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
|
543
605
|
[data-taco='radio-group'] > label::before[data-disabled] {
|
|
544
606
|
@apply opacity-50;
|
|
545
607
|
}
|
|
608
|
+
[data-taco='radio-group'] > label:has(input:focus-visible)::before {
|
|
609
|
+
@apply yt-focus;
|
|
610
|
+
}
|
|
546
611
|
/* Selected state */
|
|
547
612
|
[data-taco='radio-group'] > label[data-selected]::before {
|
|
548
613
|
@apply border-4 border-blue-500;
|
|
@@ -1491,69 +1556,3 @@ table[data-taco='table3'] td[data-taco='save-status'] [data-taco='spinner'] svg
|
|
|
1491
1556
|
table[data-taco='table3'] > tbody > tr table[data-taco='table3'] thead th:hover {
|
|
1492
1557
|
@apply bg-transparent;
|
|
1493
1558
|
}
|
|
1494
|
-
[data-taco='card-content'] > [data-taco='chart-wrapper']:not(:has([data-taco='chart-donut'], [data-taco='chart-pie'])) {
|
|
1495
|
-
@apply w-full;
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
[data-taco='card-content']
|
|
1499
|
-
> [data-taco='chart-wrapper']:not([class*='h-']):not(:has([data-taco='chart-donut'], [data-taco='chart-pie'])) {
|
|
1500
|
-
@apply h-full;
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
[data-taco='card-content'] > [data-taco='chart-wrapper'] {
|
|
1504
|
-
container: wrapper / inline-size;
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-donut']:not([class*='w-']),
|
|
1508
|
-
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-pie']:not([class*='w-']) {
|
|
1509
|
-
@apply aspect-square w-3/5;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
@container wrapper (width > 400px) {
|
|
1513
|
-
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-donut']:not([class*='w-']),
|
|
1514
|
-
[data-taco='card-content'] > [data-taco='chart-wrapper'] [data-taco='chart-pie']:not([class*='w-']) {
|
|
1515
|
-
@apply w-2/3;
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
.recharts-cartesian-axis line,
|
|
1520
|
-
.recharts-cartesian-grid-horizontal line,
|
|
1521
|
-
.recharts-cartesian-grid-vertical line {
|
|
1522
|
-
@apply !stroke-gray-100;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
.recharts-cartesian-axis-tick-value {
|
|
1526
|
-
@apply !fill-gray-700;
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
.recharts-tooltip-cursor {
|
|
1530
|
-
@apply !fill-transparent;
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
.recharts-legend-wrapper {
|
|
1534
|
-
@apply !left-0 !w-full;
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
.recharts-sector,
|
|
1538
|
-
.recharts-wrapper > svg g {
|
|
1539
|
-
@apply !outline-none;
|
|
1540
|
-
}
|
|
1541
|
-
[data-taco='chart-donut-total'] {
|
|
1542
|
-
container: wrapper / inline-size;
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
@container wrapper (width > 130px) {
|
|
1546
|
-
[data-taco='chart-donut-total'] span:first-child {
|
|
1547
|
-
@apply text-xl;
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
@container wrapper (width < 80px) {
|
|
1552
|
-
[data-taco='chart-donut-total'] span:first-child {
|
|
1553
|
-
@apply text-base;
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
[data-taco='chart-donut']:has([data-taco='chart-tooltip']) {
|
|
1558
|
-
@apply relative z-10;
|
|
1559
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@economic/taco",
|
|
3
|
-
"version": "11.0.0
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
47
47
|
"@dnd-kit/sortable": "^10.0.0",
|
|
48
48
|
"@dnd-kit/utilities": "^3.2.2",
|
|
49
|
-
"@economic/taco-tokens": "3.0.1
|
|
49
|
+
"@economic/taco-tokens": "^3.0.1",
|
|
50
50
|
"@radix-ui/react-scroll-area": "1.2.10",
|
|
51
51
|
"@react-aria/focus": "^3.19.0",
|
|
52
52
|
"@react-aria/interactions": "^3.12.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"tailwindcss": ">=3.4.19"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@economic/taco-rules": "1.0.1
|
|
75
|
+
"@economic/taco-rules": "^1.0.1",
|
|
76
76
|
"@oxlint/plugins": "^1.75.0",
|
|
77
77
|
"@svgr/cli": "^8.1.0",
|
|
78
78
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"optionalDependencies": {
|
|
104
104
|
"@rollup/rollup-linux-x64-gnu": "^4.62.4"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "a3d5eac57e3da392cff315172769d1e9d8acf62c"
|
|
107
107
|
}
|