@harpercollins/harpercollins-design-system 1.22.4 → 1.24.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/cjs/index.cjs +250 -399
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/data-display/Table/FilterChipsSection.d.ts +10 -0
- package/dist/cjs/types/src/components/data-display/Table/Table.d.ts +8 -18
- package/dist/cjs/types/src/components/data-display/Table/Table.filtering.stories.d.ts +8 -0
- package/dist/cjs/types/src/components/data-display/Table/Table.sorting.stories.d.ts +32 -0
- package/dist/cjs/types/src/components/data-display/Table/Table.stories.d.ts +8 -0
- package/dist/cjs/types/src/components/data-display/Table/Table.styles.d.ts +117 -0
- package/dist/cjs/types/src/components/data-display/Table/Table.types.d.ts +34 -0
- package/dist/cjs/types/src/components/data-display/Table/TableBody.d.ts +13 -0
- package/dist/cjs/types/src/components/data-display/Table/TableToolbar.d.ts +17 -0
- package/dist/cjs/types/src/components/data-display/Table/filters/FilterComponents.d.ts +61 -0
- package/dist/cjs/types/src/components/data-display/Table/filters/filterFunctions.d.ts +28 -0
- package/dist/cjs/types/src/components/data-display/Table/filters/index.d.ts +2 -0
- package/dist/cjs/types/src/components/data-display/Table/hooks/index.d.ts +3 -0
- package/dist/cjs/types/src/components/data-display/Table/hooks/useInfiniteScroll.d.ts +7 -0
- package/dist/cjs/types/src/components/data-display/Table/hooks/useStickyHeader.d.ts +14 -0
- package/dist/cjs/types/src/components/data-display/Table/hooks/useStickyScrollbar.d.ts +6 -0
- package/dist/cjs/types/src/components/data-display/Table/mockProducts.d.ts +24 -0
- package/dist/cjs/types/src/components/data-display/Tabs/Tabs.d.ts +39 -9
- package/dist/cjs/types/src/components/data-display/Tabs/Tabs.stories.d.ts +5 -3
- package/dist/cjs/types/src/components/data-display/Tabs/index.d.ts +3 -2
- package/dist/cjs/types/src/components/index.d.ts +3 -2
- package/dist/cjs/types/src/components/inputs/Autocomplete/AutocompleteOption.d.ts +3 -0
- package/dist/cjs/types/src/components/inputs/Button/Button.d.ts +2 -37
- package/dist/cjs/types/src/components/inputs/Button/Button.stories.d.ts +1 -14
- package/dist/cjs/types/src/components/inputs/Button/index.d.ts +1 -0
- package/dist/cjs/types/src/tests/mockProducts.d.ts +24 -0
- package/dist/esm/index.js +251 -400
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/data-display/Table/FilterChipsSection.d.ts +10 -0
- package/dist/esm/types/src/components/data-display/Table/Table.d.ts +8 -18
- package/dist/esm/types/src/components/data-display/Table/Table.filtering.stories.d.ts +8 -0
- package/dist/esm/types/src/components/data-display/Table/Table.sorting.stories.d.ts +32 -0
- package/dist/esm/types/src/components/data-display/Table/Table.stories.d.ts +8 -0
- package/dist/esm/types/src/components/data-display/Table/Table.styles.d.ts +117 -0
- package/dist/esm/types/src/components/data-display/Table/Table.types.d.ts +34 -0
- package/dist/esm/types/src/components/data-display/Table/TableBody.d.ts +13 -0
- package/dist/esm/types/src/components/data-display/Table/TableToolbar.d.ts +17 -0
- package/dist/esm/types/src/components/data-display/Table/filters/FilterComponents.d.ts +61 -0
- package/dist/esm/types/src/components/data-display/Table/filters/filterFunctions.d.ts +28 -0
- package/dist/esm/types/src/components/data-display/Table/filters/index.d.ts +2 -0
- package/dist/esm/types/src/components/data-display/Table/hooks/index.d.ts +3 -0
- package/dist/esm/types/src/components/data-display/Table/hooks/useInfiniteScroll.d.ts +7 -0
- package/dist/esm/types/src/components/data-display/Table/hooks/useStickyHeader.d.ts +14 -0
- package/dist/esm/types/src/components/data-display/Table/hooks/useStickyScrollbar.d.ts +6 -0
- package/dist/esm/types/src/components/data-display/Table/mockProducts.d.ts +24 -0
- package/dist/esm/types/src/components/data-display/Tabs/Tabs.d.ts +39 -9
- package/dist/esm/types/src/components/data-display/Tabs/Tabs.stories.d.ts +5 -3
- package/dist/esm/types/src/components/data-display/Tabs/index.d.ts +3 -2
- package/dist/esm/types/src/components/index.d.ts +3 -2
- package/dist/esm/types/src/components/inputs/Autocomplete/AutocompleteOption.d.ts +3 -0
- package/dist/esm/types/src/components/inputs/Button/Button.d.ts +2 -37
- package/dist/esm/types/src/components/inputs/Button/Button.stories.d.ts +1 -14
- package/dist/esm/types/src/components/inputs/Button/index.d.ts +1 -0
- package/dist/esm/types/src/tests/mockProducts.d.ts +24 -0
- package/dist/index.d.ts +74 -44
- package/package.json +13 -13
- package/dist/cjs/types/src/components/data-display/Tabs/Tabs.style.d.ts +0 -9
- package/dist/esm/types/src/components/data-display/Tabs/Tabs.style.d.ts +0 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as _mui_joy from '@mui/joy';
|
|
3
|
-
import { AvatarProps, BadgeProps, ChipProps, ColorPaletteProp, DividerProps, ListProps, TooltipProps as TooltipProps$1, TypographyProps, AlertProps, CircularProgressProps, SkeletonProps, AutocompleteProps as AutocompleteProps$1, CheckboxProps, InputProps, FormControlProps, FormLabelProps, RadioProps, SelectProps, SliderProps, SwitchProps, TextareaProps, ContainerProps, GridProps, DropdownProps, MenuProps, ListItem, DrawerProps, AccordionProps as AccordionProps$1, AccordionDetailsProps, AccordionGroupProps, AccordionSummaryProps, CardProps, SheetProps } from '@mui/joy';
|
|
3
|
+
import { AvatarProps, BadgeProps, ChipProps, ColorPaletteProp, DividerProps, ListProps, TooltipProps as TooltipProps$1, TypographyProps, AlertProps, CircularProgressProps, SkeletonProps, AutocompleteProps as AutocompleteProps$1, AutocompleteOptionProps, ButtonProps, CheckboxProps, InputProps, FormControlProps, FormLabelProps, RadioProps, SelectProps, SliderProps, SwitchProps, TextareaProps, ContainerProps, GridProps, DropdownProps, MenuProps, ListItem, DrawerProps, AccordionProps as AccordionProps$1, AccordionDetailsProps, AccordionGroupProps, AccordionSummaryProps, CardProps, SheetProps } from '@mui/joy';
|
|
4
4
|
export { Box, CardActions, CardContent, CardCover, CardOverflow, IconButton, ListDivider, ListItem, ListItemButton, ListItemContent, ListItemDecorator, ListSubheader, MenuButton, Option, RadioGroup, TextField } from '@mui/joy';
|
|
5
5
|
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
6
6
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
7
7
|
import * as React$1 from 'react';
|
|
8
|
-
import React__default, { ReactElement, PropsWithChildren } from 'react';
|
|
8
|
+
import React__default, { ReactElement, SyntheticEvent, PropsWithChildren } from 'react';
|
|
9
9
|
import { Row, TableOptions } from '@tanstack/react-table';
|
|
10
|
+
import { TabsProps as TabsProps$1 } from '@mui/joy/Tabs';
|
|
10
11
|
import ReactDatePicker, { ReactDatePickerProps } from 'react-datepicker';
|
|
11
12
|
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
12
13
|
import * as styled_components from 'styled-components';
|
|
14
|
+
export { default as Tab, tabClasses } from '@mui/joy/Tab';
|
|
15
|
+
export { default as TabList, tabListClasses } from '@mui/joy/TabList';
|
|
16
|
+
export { default as TabPanel, tabPanelClasses } from '@mui/joy/TabPanel';
|
|
13
17
|
|
|
14
18
|
declare function Avatar(props: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
15
19
|
|
|
@@ -96,35 +100,85 @@ declare function StatusIcon({ status, size, }: {
|
|
|
96
100
|
size?: IconSizes;
|
|
97
101
|
}): react_jsx_runtime.JSX.Element;
|
|
98
102
|
|
|
99
|
-
interface
|
|
103
|
+
interface TableToolbarOptions {
|
|
104
|
+
enabled: boolean;
|
|
105
|
+
totalResults?: number;
|
|
106
|
+
customContent?: React__default.ReactNode;
|
|
107
|
+
showFilterChips?: boolean;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
interface InfiniteScrollOptions {
|
|
111
|
+
enabled: boolean;
|
|
112
|
+
hasNextPage?: boolean;
|
|
113
|
+
isFetchingNextPage?: boolean;
|
|
114
|
+
fetchNextPage?: () => Promise<unknown> | void;
|
|
115
|
+
loadingText?: string;
|
|
116
|
+
}
|
|
117
|
+
interface TableProps<TData = unknown> {
|
|
100
118
|
id: string;
|
|
101
119
|
loading?: boolean;
|
|
102
120
|
maxHeight?: boolean;
|
|
103
121
|
wrapText?: boolean;
|
|
104
|
-
rowRender?: (row: Row<
|
|
105
|
-
|
|
122
|
+
rowRender?: (row: Row<TData>, props: {
|
|
123
|
+
key: string;
|
|
124
|
+
}) => JSX.Element;
|
|
125
|
+
reactTableOptions: Partial<TableOptions<TData>> & Pick<TableOptions<TData>, "data" | "columns">;
|
|
106
126
|
gridCheckboxes?: boolean;
|
|
107
127
|
selectedField?: string;
|
|
108
|
-
onSelectionChange?: (dataItem:
|
|
128
|
+
onSelectionChange?: (dataItem: TData) => void;
|
|
109
129
|
onHeaderSelectionChange?: (checked: boolean) => void;
|
|
110
130
|
headerSelectionValue?: boolean;
|
|
111
131
|
allSelected?: boolean;
|
|
112
132
|
showStickyScrollbar?: boolean;
|
|
113
133
|
enableStickyHeader?: boolean;
|
|
114
134
|
stickyHeaderOffset?: number;
|
|
135
|
+
infiniteScroll?: InfiniteScrollOptions;
|
|
136
|
+
toolbar?: TableToolbarOptions;
|
|
115
137
|
}
|
|
116
|
-
declare function Table({ id, loading, maxHeight, wrapText, rowRender, reactTableOptions, gridCheckboxes, selectedField, onSelectionChange, onHeaderSelectionChange, headerSelectionValue, allSelected, showStickyScrollbar, enableStickyHeader, stickyHeaderOffset, }: TableProps): react_jsx_runtime.JSX.Element;
|
|
117
138
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
tabsConfig: TabConfig[];
|
|
125
|
-
defaultId?: string;
|
|
139
|
+
declare module "@tanstack/react-table" {
|
|
140
|
+
interface ColumnMeta<TData, TValue> {
|
|
141
|
+
filterType?: "text" | "number" | "date" | "select" | "multiselect";
|
|
142
|
+
filterOptions?: string[];
|
|
143
|
+
pinned?: "left" | "right";
|
|
144
|
+
}
|
|
126
145
|
}
|
|
127
|
-
declare function
|
|
146
|
+
declare function Table<TData = unknown>({ id, loading, maxHeight, wrapText, rowRender, reactTableOptions, gridCheckboxes, selectedField, onSelectionChange, onHeaderSelectionChange, headerSelectionValue, allSelected, showStickyScrollbar, enableStickyHeader, stickyHeaderOffset, infiniteScroll, toolbar, }: TableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
147
|
+
|
|
148
|
+
interface TabsProps extends Omit<TabsProps$1, "value" | "onChange" | "defaultValue"> {
|
|
149
|
+
/**
|
|
150
|
+
* The content of the tabs.
|
|
151
|
+
*/
|
|
152
|
+
children: React.ReactNode;
|
|
153
|
+
/**
|
|
154
|
+
* The default value of the tabs.
|
|
155
|
+
*/
|
|
156
|
+
defaultValue?: string | number;
|
|
157
|
+
/**
|
|
158
|
+
* The controlled value of the tabs.
|
|
159
|
+
*/
|
|
160
|
+
value?: string | number;
|
|
161
|
+
/**
|
|
162
|
+
* Callback fired when the value changes.
|
|
163
|
+
* @param event
|
|
164
|
+
* @param value
|
|
165
|
+
* @returns void
|
|
166
|
+
*/
|
|
167
|
+
onChange?: (event: SyntheticEvent | null, value: string | number | null) => void;
|
|
168
|
+
/**
|
|
169
|
+
* Whether to update the URL with the selected tab value.
|
|
170
|
+
*/
|
|
171
|
+
updateUrl?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* The style of the tabs.
|
|
174
|
+
*/
|
|
175
|
+
tabStyle?: "default" | "attached";
|
|
176
|
+
/**
|
|
177
|
+
* A key to use for storing the selected tab in localStorage.
|
|
178
|
+
*/
|
|
179
|
+
storageKey?: string;
|
|
180
|
+
}
|
|
181
|
+
declare function Tabs({ children, defaultValue, value: controlledValue, onChange, updateUrl, sx, tabStyle, storageKey, ...restProps }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
128
182
|
|
|
129
183
|
interface TextBlockProps {
|
|
130
184
|
label?: string;
|
|
@@ -248,6 +302,8 @@ interface AutocompleteProps<T extends BaseOption> extends AutocompleteProps$1<T,
|
|
|
248
302
|
}
|
|
249
303
|
declare function AutoComplete<T extends BaseOption>({ id, options, onChange, name, ...props }: AutocompleteProps<T>): ReactElement;
|
|
250
304
|
|
|
305
|
+
declare function AutocompleteOption(props: AutocompleteOptionProps): react_jsx_runtime.JSX.Element;
|
|
306
|
+
|
|
251
307
|
interface AutocompleteSelectMultipleProps<T extends BaseOption> extends AutocompleteProps$1<T, boolean, boolean, boolean> {
|
|
252
308
|
id: string;
|
|
253
309
|
inline?: boolean;
|
|
@@ -260,33 +316,7 @@ interface AutocompleteSelectMultipleProps<T extends BaseOption> extends Autocomp
|
|
|
260
316
|
}
|
|
261
317
|
declare function AutocompleteSelectMultiple<T extends BaseOption>({ defaultValue, id, name, inline, onChange, SelectedOption, helpText, ...props }: AutocompleteSelectMultipleProps<T>): ReactElement;
|
|
262
318
|
|
|
263
|
-
|
|
264
|
-
kind?: "primary" | "secondary" | "danger" | "basic" | "debug";
|
|
265
|
-
size?: "normal" | "small";
|
|
266
|
-
}
|
|
267
|
-
interface CommonButtonProps {
|
|
268
|
-
kind?: "primary" | "secondary" | "danger" | "basic" | "debug";
|
|
269
|
-
size?: "normal" | "small";
|
|
270
|
-
disabled?: boolean;
|
|
271
|
-
style?: React__default.CSSProperties;
|
|
272
|
-
isSubmitting?: boolean;
|
|
273
|
-
}
|
|
274
|
-
interface LinkButtonProps extends CommonButtonProps, LinkButtonInternalProps {
|
|
275
|
-
type: "link";
|
|
276
|
-
href: string;
|
|
277
|
-
as?: React__default.ElementType;
|
|
278
|
-
}
|
|
279
|
-
interface SubmitButtonProps extends CommonButtonProps {
|
|
280
|
-
type: "submit";
|
|
281
|
-
name?: string;
|
|
282
|
-
value?: string;
|
|
283
|
-
hideSpinner?: boolean;
|
|
284
|
-
}
|
|
285
|
-
interface ButtonProps extends CommonButtonProps {
|
|
286
|
-
type: "button";
|
|
287
|
-
onClick: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
288
|
-
}
|
|
289
|
-
declare function Button({ children, ...props }: React__default.PropsWithChildren<LinkButtonProps | SubmitButtonProps | ButtonProps>): React__default.ReactElement;
|
|
319
|
+
declare function Button(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
290
320
|
|
|
291
321
|
declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
292
322
|
|
|
@@ -452,4 +482,4 @@ declare const formatText: (text: string | null | undefined) => string;
|
|
|
452
482
|
* */
|
|
453
483
|
declare const formatCurrency: (value: number | string | null | undefined, locale?: string | undefined, options?: Intl.NumberFormatOptions) => string;
|
|
454
484
|
|
|
455
|
-
export { Accordion$1 as Accordion, AccordionDetails, AccordionGroup, Accordion as AccordionLegacy, AccordionSummary, Alert, AppBar, AutoComplete as Autocomplete, AutocompleteSelectMultiple, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Chip, ChipIcon, CircularProgress, Container, DateInput as DatePicker, DateTimeInput, Divider, Modal as Drawer, Dropdown, FormControl, FormLabel, FullPageErrorFallback, Grid, Heading, Icon, Input, Layout, List, LoadingSpinner, LogoSVG as Logo, LogoSVGMini as LogoMini, Menu, MenuHeading, StyledMenuItem as MenuItem, NavigationProgressProvider, ProgressBar, ProgressCircle, Radio as RadioButton, ReadMore, RelativeTime, Select, Sheet, Skeleton, Slider, StatusIcon, Switch, Table, Tabs, TextBlock, Textarea, ThemeProvider, ToastMessages, Tooltip, Typography, formatCurrency, formatDate, formatNumber, formatText, useFetch, useLocalStorage, useNavigationProgress, useSentryFeedbackOpen, useToggle };
|
|
485
|
+
export { Accordion$1 as Accordion, AccordionDetails, AccordionGroup, Accordion as AccordionLegacy, AccordionSummary, Alert, AppBar, AutoComplete as Autocomplete, AutocompleteOption, AutocompleteSelectMultiple, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Chip, ChipIcon, CircularProgress, Container, DateInput as DatePicker, DateTimeInput, Divider, Modal as Drawer, Dropdown, FormControl, FormLabel, FullPageErrorFallback, Grid, Heading, Icon, Input, Layout, List, LoadingSpinner, LogoSVG as Logo, LogoSVGMini as LogoMini, Menu, MenuHeading, StyledMenuItem as MenuItem, NavigationProgressProvider, ProgressBar, ProgressCircle, Radio as RadioButton, ReadMore, RelativeTime, Select, Sheet, Skeleton, Slider, StatusIcon, Switch, Table, Tabs, TextBlock, Textarea, ThemeProvider, ToastMessages, Tooltip, Typography, formatCurrency, formatDate, formatNumber, formatText, useFetch, useLocalStorage, useNavigationProgress, useSentryFeedbackOpen, useToggle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harpercollins/harpercollins-design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@ssh.dev.azure.com:v3/HarperCollinsUK/HCDesignSystem/HCDesignSystem"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
47
47
|
"@mui/joy": "^5.0.0-beta.48",
|
|
48
48
|
"@popperjs/core": "^2.11.8",
|
|
49
|
-
"@storybook/react-vite": "^
|
|
49
|
+
"@storybook/react-vite": "^10.0.8",
|
|
50
50
|
"@svgr/rollup": "^8.1.0",
|
|
51
51
|
"@tanstack/react-table": "^8.15.0",
|
|
52
52
|
"@tanstack/react-virtual": "^3.13.12",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vitest": "^3.2.4"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@chromatic-com/storybook": "^4.1.
|
|
69
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
70
70
|
"@playwright/test": "^1.55.0",
|
|
71
71
|
"@rollup/plugin-babel": "^6.0.3",
|
|
72
72
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"@rollup/plugin-terser": "^0.4.3",
|
|
75
75
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
76
76
|
"@rollup/plugin-url": "^8.0.2",
|
|
77
|
-
"@storybook/addon-a11y": "^
|
|
78
|
-
"@storybook/addon-coverage": "^
|
|
79
|
-
"@storybook/addon-docs": "^
|
|
80
|
-
"@storybook/addon-links": "^
|
|
81
|
-
"@storybook/addon-onboarding": "^
|
|
82
|
-
"@storybook/addon-themes": "^
|
|
83
|
-
"@storybook/addon-vitest": "^
|
|
77
|
+
"@storybook/addon-a11y": "^10.0.8",
|
|
78
|
+
"@storybook/addon-coverage": "^3.0.0",
|
|
79
|
+
"@storybook/addon-docs": "^10.0.8",
|
|
80
|
+
"@storybook/addon-links": "^10.0.8",
|
|
81
|
+
"@storybook/addon-onboarding": "^10.0.8",
|
|
82
|
+
"@storybook/addon-themes": "^10.0.8",
|
|
83
|
+
"@storybook/addon-vitest": "^10.0.8",
|
|
84
84
|
"@types/jest": "^29.5.12",
|
|
85
85
|
"@types/node": "^20.12.3",
|
|
86
86
|
"@types/react": "^18.3.9",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@vitest/browser": "3.2.4",
|
|
92
92
|
"@vitest/coverage-v8": "^3.2.4",
|
|
93
93
|
"@whitespace/storybook-addon-html": "^6.0.2",
|
|
94
|
-
"chromatic": "^
|
|
94
|
+
"chromatic": "^15.2.0",
|
|
95
95
|
"eslint": "^8.57.0",
|
|
96
96
|
"eslint-config-airbnb": "^19.0.4",
|
|
97
97
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"eslint-plugin-react": "^7.34.1",
|
|
102
102
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
103
103
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
104
|
-
"eslint-plugin-storybook": "^
|
|
104
|
+
"eslint-plugin-storybook": "^10.0.8",
|
|
105
105
|
"happy-dom": "^14.3.8",
|
|
106
106
|
"playwright": "^1.55.0",
|
|
107
107
|
"prettier": "^3.2.5",
|
|
108
108
|
"react-syntax-highlighter": "^15.5.0",
|
|
109
|
-
"storybook": "^
|
|
109
|
+
"storybook": "^10.0.8",
|
|
110
110
|
"tslib": "^2.6.2",
|
|
111
111
|
"typescript": "^5.4.3",
|
|
112
112
|
"vite": "^7.1.7"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const Tab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
export declare const TabMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const TabMenuItems: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const TabMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
5
|
-
export declare const TabNav: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
|
-
export declare const TabPanelWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
-
export declare const TabPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {
|
|
8
|
-
$show: boolean;
|
|
9
|
-
}>> & string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const Tab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
export declare const TabMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const TabMenuItems: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const TabMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
5
|
-
export declare const TabNav: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
|
-
export declare const TabPanelWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
-
export declare const TabPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {
|
|
8
|
-
$show: boolean;
|
|
9
|
-
}>> & string;
|