@caspeco/casper-ui-library 6.0.0 → 7.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/components/alert/alert.js +25 -25
- package/dist/components/button/types.d.ts +1 -1
- package/dist/components/button/types.d.ts.map +1 -1
- package/dist/components/combobox/combobox-button.d.ts.map +1 -1
- package/dist/components/combobox/combobox-button.js +57 -57
- package/dist/components/combobox/combobox-menu.d.ts.map +1 -1
- package/dist/components/combobox/combobox-menu.js +58 -56
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/combobox.js +34 -34
- package/dist/components/combobox/types.d.ts +2 -2
- package/dist/components/combobox/types.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.js +129 -129
- package/dist/components/date-picker/types.d.ts +3 -2
- package/dist/components/date-picker/types.d.ts.map +1 -1
- package/dist/components/drawer/use-drawer-key-down.js +8 -6
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/icon/icon.js +13 -12
- package/dist/components/icon-button/icon-button.d.ts +1 -1
- package/dist/components/icon-button/types.d.ts +3 -2
- package/dist/components/icon-button/types.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +24 -24
- package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-modal.js +61 -58
- package/dist/components/menu/menu-item.d.ts +2 -1
- package/dist/components/menu/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu.composition.d.ts.map +1 -1
- package/dist/components/modal/modal-footer.d.ts.map +1 -1
- package/dist/components/modal/modal-footer.js +16 -13
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/table-cell.js +18 -18
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +21 -19
- package/dist/components/table/table-context-provider.d.ts +8 -4
- package/dist/components/table/table-context-provider.d.ts.map +1 -1
- package/dist/components/table/table-context-provider.js +96 -94
- package/dist/components/table/table-filter.d.ts +27 -0
- package/dist/components/table/table-filter.d.ts.map +1 -0
- package/dist/components/table/table-filter.js +140 -0
- package/dist/components/table/table-filter.spec.d.ts +2 -0
- package/dist/components/table/table-filter.spec.d.ts.map +1 -0
- package/dist/components/table/table-header-dropdown.d.ts +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +71 -59
- package/dist/components/table/table-row.js +40 -40
- package/dist/components/table/table-toolbar.d.ts.map +1 -1
- package/dist/components/table/table-toolbar.js +111 -81
- package/dist/components/table/table.composition.d.ts +1 -1
- package/dist/components/table/table.composition.d.ts.map +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +22 -24
- package/dist/components/table/translations.d.ts +10 -0
- package/dist/components/table/translations.d.ts.map +1 -1
- package/dist/components/table/translations.js +17 -9
- package/dist/components/table/types.d.ts +1 -5
- package/dist/components/table/types.d.ts.map +1 -1
- package/dist/components/tabs/tabs.composition.d.ts +1 -1
- package/dist/index.js +168 -165
- package/dist/theme/index.d.ts +2 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/theme-config/components/button-theme.d.ts.map +1 -1
- package/dist/theme/theme-config/components/button-theme.js +35 -20
- package/dist/theme/theme-context.d.ts +10 -0
- package/dist/theme/theme-context.d.ts.map +1 -0
- package/dist/theme/theme-context.js +11 -0
- package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
- package/dist/theme/theme-provider.d.ts +0 -8
- package/dist/theme/theme-provider.d.ts.map +1 -1
- package/dist/theme/theme-provider.js +21 -27
- package/package.json +16 -11
|
@@ -18,6 +18,8 @@ export declare const translations: {
|
|
|
18
18
|
settings: string;
|
|
19
19
|
more: string;
|
|
20
20
|
moreActions: string;
|
|
21
|
+
filterBoxReset: string;
|
|
22
|
+
filterReset: string;
|
|
21
23
|
};
|
|
22
24
|
"en-US": {
|
|
23
25
|
sortUp: string;
|
|
@@ -37,6 +39,8 @@ export declare const translations: {
|
|
|
37
39
|
settings: string;
|
|
38
40
|
more: string;
|
|
39
41
|
moreActions: string;
|
|
42
|
+
filterBoxReset: string;
|
|
43
|
+
filterReset: string;
|
|
40
44
|
};
|
|
41
45
|
"en-GB": {
|
|
42
46
|
sortUp: string;
|
|
@@ -56,6 +60,8 @@ export declare const translations: {
|
|
|
56
60
|
settings: string;
|
|
57
61
|
more: string;
|
|
58
62
|
moreActions: string;
|
|
63
|
+
filterBoxReset: string;
|
|
64
|
+
filterReset: string;
|
|
59
65
|
};
|
|
60
66
|
"nb-NO": {
|
|
61
67
|
sortUp: string;
|
|
@@ -75,6 +81,8 @@ export declare const translations: {
|
|
|
75
81
|
settings: string;
|
|
76
82
|
more: string;
|
|
77
83
|
moreActions: string;
|
|
84
|
+
filterBoxReset: string;
|
|
85
|
+
filterReset: string;
|
|
78
86
|
};
|
|
79
87
|
"da-DK": {
|
|
80
88
|
sortUp: string;
|
|
@@ -94,6 +102,8 @@ export declare const translations: {
|
|
|
94
102
|
settings: string;
|
|
95
103
|
more: string;
|
|
96
104
|
moreActions: string;
|
|
105
|
+
filterBoxReset: string;
|
|
106
|
+
filterReset: string;
|
|
97
107
|
};
|
|
98
108
|
};
|
|
99
109
|
//# sourceMappingURL=translations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../lib/components/table/translations.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../lib/components/table/translations.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAwBtE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkExB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
sortUp: "Sort up",
|
|
3
3
|
sortDown: "Sort down",
|
|
4
4
|
filter: "Filtering",
|
|
@@ -15,8 +15,10 @@ const n = {
|
|
|
15
15
|
rowsShowing: "Rows displayed",
|
|
16
16
|
settings: "Settings",
|
|
17
17
|
more: "More",
|
|
18
|
-
moreActions: "More actions"
|
|
19
|
-
|
|
18
|
+
moreActions: "More actions",
|
|
19
|
+
filterBoxReset: "Clear selection",
|
|
20
|
+
filterReset: "Clear filter"
|
|
21
|
+
}, n = {
|
|
20
22
|
"sv-SE": {
|
|
21
23
|
sortUp: "Sortera stigande",
|
|
22
24
|
sortDown: "Sortera fallande",
|
|
@@ -34,10 +36,12 @@ const n = {
|
|
|
34
36
|
rowsShowing: "Rader som visas",
|
|
35
37
|
settings: "Inställningar",
|
|
36
38
|
more: "Mer",
|
|
37
|
-
moreActions: "Fler åtgärder"
|
|
39
|
+
moreActions: "Fler åtgärder",
|
|
40
|
+
filterBoxReset: "Rensa val",
|
|
41
|
+
filterReset: "Rensa filter"
|
|
38
42
|
},
|
|
39
|
-
"en-US":
|
|
40
|
-
"en-GB":
|
|
43
|
+
"en-US": e,
|
|
44
|
+
"en-GB": e,
|
|
41
45
|
"nb-NO": {
|
|
42
46
|
sortUp: "Sortere stigende",
|
|
43
47
|
sortDown: "Sortere synkende",
|
|
@@ -55,7 +59,9 @@ const n = {
|
|
|
55
59
|
rowsShowing: "Rader vises",
|
|
56
60
|
settings: "Innstillinger",
|
|
57
61
|
more: "Flere",
|
|
58
|
-
moreActions: "Flere handlinger"
|
|
62
|
+
moreActions: "Flere handlinger",
|
|
63
|
+
filterBoxReset: "Fjern valg",
|
|
64
|
+
filterReset: "Fjern filter"
|
|
59
65
|
},
|
|
60
66
|
"da-DK": {
|
|
61
67
|
sortUp: "Sorter stigende",
|
|
@@ -74,9 +80,11 @@ const n = {
|
|
|
74
80
|
rowsShowing: "Rækker vises",
|
|
75
81
|
settings: "Indstillinger",
|
|
76
82
|
more: "Mere",
|
|
77
|
-
moreActions: "Flere handlinger"
|
|
83
|
+
moreActions: "Flere handlinger",
|
|
84
|
+
filterBoxReset: "Fjern valg",
|
|
85
|
+
filterReset: "Fjern filter"
|
|
78
86
|
}
|
|
79
87
|
};
|
|
80
88
|
export {
|
|
81
|
-
|
|
89
|
+
n as translations
|
|
82
90
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CellContext,
|
|
1
|
+
import { CellContext, ColumnDef, ExpandedState, Row, RowData, RowSelectionState, SortingState, VisibilityState } from '@tanstack/react-table';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { MenuList } from '../menu/index.js';
|
|
4
4
|
import { TableContentProps } from './table-content.js';
|
|
@@ -59,10 +59,6 @@ interface BaseTableProps<TData extends TableData> {
|
|
|
59
59
|
* Called when the breaking content settings changes, returns the current breaking content settings state.
|
|
60
60
|
*/
|
|
61
61
|
onBreakingContentChange?: (breakingContentState: Record<string, boolean>) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Called when the column filter is clicked. Returns the column that was clicked.
|
|
64
|
-
*/
|
|
65
|
-
onFilterColumn?: (clickedColumn: Column<TableRow<TData>, unknown>) => void;
|
|
66
62
|
columnVisibilityState?: VisibilityState;
|
|
67
63
|
/**
|
|
68
64
|
* Optional function used to derive a unique ID for any given row.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/table/types.ts"],"names":[],"mappings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U,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,IAAI,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;AAEvG;;;GAGG;AACH,OAAO,QAAQ,uBAAuB,CAAC;IACtC,UAAU,UAAU,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM;QACjD,SAAS,CAAC,EAAE,OAAO,CAAC;QAEpB,WAAW,CAAC,EAAE,KAAK,CAAC;QAEpB,YAAY,CAAC,EAAE,MAAM,CAAC;KACtB;IACD,UAAU,SAAS,CAAC,KAAK,SAAS,OAAO;QACxC,KAAK,CAAC,EAAE,KAAK,CAAC;KACd;CACD"}
|
|
@@ -2,6 +2,6 @@ export declare const CustomInitialSelection: () => import("react/jsx-runtime").J
|
|
|
2
2
|
export declare const CustomSpacingInBetween: () => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare const DisabledTab: () => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare const IsFitted: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const WithImages: () => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const LineVariant: () => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=tabs.composition.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,185 +1,188 @@
|
|
|
1
1
|
import { useColorMode as e, useDisclosure as t, useRadioGroup as m } from "@chakra-ui/react";
|
|
2
2
|
import { isTouchScreenDevice as x } from "./theme/theme-helper.js";
|
|
3
|
-
import { ThemeColorModeScript as a, ThemeProvider as i
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { ThemeColorModeScript as a, ThemeProvider as i } from "./theme/theme-provider.js";
|
|
4
|
+
import { ThemeProviderContext as l } from "./theme/theme-context.js";
|
|
5
|
+
import { ThemeBorderVariable as u, ThemeBreakPointVariable as T, ThemeColorVariable as c, ThemeFontSizeVariable as s, ThemeFontVariable as b, ThemeIconSizeVariable as h, ThemeRadiusVariable as g, ThemeShadowVariable as M, ThemeSpaceVariable as B } from "./theme/theme-types.js";
|
|
6
|
+
import { Accordion as S } from "./components/accordion/accordion.js";
|
|
7
|
+
import { AccordionItem as k } from "./components/accordion/accordion-item.js";
|
|
8
|
+
import { AccordionPanel as P } from "./components/accordion/accordion-panel.js";
|
|
8
9
|
import { Alert as V } from "./components/alert/alert.js";
|
|
9
10
|
import { Badge as D } from "./components/badge/badge.js";
|
|
10
|
-
import { Box as
|
|
11
|
-
import { Breadcrumbs as
|
|
12
|
-
import { Button as
|
|
13
|
-
import { Checkbox as
|
|
14
|
-
import { CheckboxGroup as
|
|
15
|
-
import { Combobox as
|
|
16
|
-
import { DatePicker as
|
|
17
|
-
import { DateRangePicker as
|
|
18
|
-
import { DateWeekPicker as
|
|
19
|
-
import { Divider as
|
|
20
|
-
import { Drawer as
|
|
21
|
-
import { Flex as
|
|
22
|
-
import { FormControl as
|
|
23
|
-
import { FormErrorMessage as
|
|
24
|
-
import { FormHelperText as
|
|
25
|
-
import { FormLabel as
|
|
26
|
-
import { Grid as
|
|
27
|
-
import { GridItem as
|
|
28
|
-
import { Heading as
|
|
29
|
-
import { Highlight as
|
|
30
|
-
import { Icon as
|
|
31
|
-
import { Icons as
|
|
32
|
-
import { IconButton as
|
|
33
|
-
import { Image as
|
|
34
|
-
import { ImageUpload as
|
|
11
|
+
import { Box as A } from "./components/box/box.js";
|
|
12
|
+
import { Breadcrumbs as H } from "./components/breadcrumbs/breadcrumbs.js";
|
|
13
|
+
import { Button as N } from "./components/button/button.js";
|
|
14
|
+
import { Checkbox as z } from "./components/checkbox/checkbox.js";
|
|
15
|
+
import { CheckboxGroup as E } from "./components/checkbox-group/checkbox-group.js";
|
|
16
|
+
import { Combobox as W } from "./components/combobox/combobox.js";
|
|
17
|
+
import { DatePicker as q } from "./components/date-picker/date-picker.js";
|
|
18
|
+
import { DateRangePicker as K } from "./components/date-picker/date-range-picker.js";
|
|
19
|
+
import { DateWeekPicker as X } from "./components/date-picker/date-week-picker.js";
|
|
20
|
+
import { Divider as Z } from "./components/divider/divider.js";
|
|
21
|
+
import { Drawer as $ } from "./components/drawer/drawer.js";
|
|
22
|
+
import { Flex as ro } from "./components/flex/flex.js";
|
|
23
|
+
import { FormControl as to } from "./components/form-control/form-control.js";
|
|
24
|
+
import { FormErrorMessage as po } from "./components/form-control/form-error-message.js";
|
|
25
|
+
import { FormHelperText as fo } from "./components/form-control/form-helper-text.js";
|
|
26
|
+
import { FormLabel as io } from "./components/form-control/form-label.js";
|
|
27
|
+
import { Grid as lo } from "./components/grid/grid.js";
|
|
28
|
+
import { GridItem as To } from "./components/grid/grid-item.js";
|
|
29
|
+
import { Heading as so } from "./components/heading/heading.js";
|
|
30
|
+
import { Highlight as ho } from "./components/highlight/highlight.js";
|
|
31
|
+
import { Icon as Mo } from "./components/icon/icon.js";
|
|
32
|
+
import { Icons as Co } from "./components/icon/types.js";
|
|
33
|
+
import { IconButton as Io } from "./components/icon-button/icon-button.js";
|
|
34
|
+
import { Image as Lo } from "./components/image/image.js";
|
|
35
|
+
import { ImageUpload as Fo } from "./components/image-upload/image-upload.js";
|
|
35
36
|
import { ImageUploadAspectRatio as vo } from "./components/image-upload/types.js";
|
|
36
|
-
import { Input as
|
|
37
|
-
import { Link as
|
|
38
|
-
import { List as
|
|
39
|
-
import { ListItem as
|
|
40
|
-
import { Menu as
|
|
41
|
-
import { MenuBoxButton as
|
|
42
|
-
import { MenuButton as
|
|
43
|
-
import { MenuDivider as
|
|
44
|
-
import { MenuGroup as
|
|
45
|
-
import { MenuIconButton as
|
|
46
|
-
import { MenuItem as
|
|
47
|
-
import { MenuList as
|
|
48
|
-
import { Message as
|
|
49
|
-
import { Modal as
|
|
50
|
-
import { ModalBody as
|
|
51
|
-
import { ModalCloseButton as
|
|
52
|
-
import { ModalFooter as
|
|
53
|
-
import { ModalHeader as
|
|
54
|
-
import { NavigationList as
|
|
55
|
-
import { NavigationListButton as
|
|
56
|
-
import { Paginator as
|
|
57
|
-
import { QuantityButton as
|
|
58
|
-
import { Radio as
|
|
59
|
-
import { RadioAddon as
|
|
60
|
-
import { RadioCard as
|
|
37
|
+
import { Input as Ro } from "./components/input/input.js";
|
|
38
|
+
import { Link as Go } from "./components/link/link.js";
|
|
39
|
+
import { List as wo } from "./components/list/list.js";
|
|
40
|
+
import { ListItem as yo } from "./components/list/list-item.js";
|
|
41
|
+
import { Menu as Uo } from "./components/menu/menu.js";
|
|
42
|
+
import { MenuBoxButton as Qo } from "./components/menu/menu-box-button.js";
|
|
43
|
+
import { MenuButton as jo } from "./components/menu/menu-button.js";
|
|
44
|
+
import { MenuDivider as Jo } from "./components/menu/menu-divider.js";
|
|
45
|
+
import { MenuGroup as Oo } from "./components/menu/menu-group.js";
|
|
46
|
+
import { MenuIconButton as Yo } from "./components/menu/menu-icon-button.js";
|
|
47
|
+
import { MenuItem as _o } from "./components/menu/menu-item.js";
|
|
48
|
+
import { MenuList as or } from "./components/menu/menu-list.js";
|
|
49
|
+
import { Message as er } from "./components/message/message.js";
|
|
50
|
+
import { Modal as mr } from "./components/modal/modal.js";
|
|
51
|
+
import { ModalBody as xr } from "./components/modal/modal-body.js";
|
|
52
|
+
import { ModalCloseButton as ar } from "./components/modal/modal-close-button.js";
|
|
53
|
+
import { ModalFooter as nr } from "./components/modal/modal-footer.js";
|
|
54
|
+
import { ModalHeader as dr } from "./components/modal/modal-header.js";
|
|
55
|
+
import { NavigationList as Tr } from "./components/navigation-list/navigation-list.js";
|
|
56
|
+
import { NavigationListButton as sr, NavigationListLink as br } from "./components/navigation-list/navigation-list-item.js";
|
|
57
|
+
import { Paginator as gr } from "./components/paginator/paginator.js";
|
|
58
|
+
import { QuantityButton as Br } from "./components/quantity-button/quantity-button.js";
|
|
59
|
+
import { Radio as Sr } from "./components/radio/radio.js";
|
|
60
|
+
import { RadioAddon as kr } from "./components/radio/radio-addon.js";
|
|
61
|
+
import { RadioCard as Pr } from "./components/radio/radio-card.js";
|
|
61
62
|
import { RadioGroup as Vr } from "./components/radio-group/radio-group.js";
|
|
62
63
|
import { SegmentedControl as Dr } from "./components/segmented-control/segmented-control.js";
|
|
63
|
-
import { Select as
|
|
64
|
-
import { Skeleton as
|
|
65
|
-
import { SkeletonText as
|
|
66
|
-
import { Stack as
|
|
67
|
-
import { StepContext as
|
|
68
|
-
import { Stepper as
|
|
69
|
-
import { Switch as
|
|
70
|
-
import { createColumnHelper as
|
|
71
|
-
import { Table as
|
|
72
|
-
import { TableContent as
|
|
73
|
-
import { useTableContext as
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
64
|
+
import { Select as Ar } from "./components/select/select.js";
|
|
65
|
+
import { Skeleton as Hr } from "./components/skeleton/skeleton.js";
|
|
66
|
+
import { SkeletonText as Nr } from "./components/skeleton/skeleton-text.js";
|
|
67
|
+
import { Stack as zr } from "./components/stack/stack.js";
|
|
68
|
+
import { StepContext as Er } from "./components/stepper/step-context.js";
|
|
69
|
+
import { Stepper as Wr } from "./components/stepper/stepper.js";
|
|
70
|
+
import { Switch as qr } from "./components/switch/switch.js";
|
|
71
|
+
import { createColumnHelper as Kr } from "./node_modules/@tanstack/table-core/build/lib/index.js";
|
|
72
|
+
import { Table as Xr } from "./components/table/table.js";
|
|
73
|
+
import { TableContent as Zr } from "./components/table/table-content.js";
|
|
74
|
+
import { useTableContext as $r } from "./components/table/table-context.js";
|
|
75
|
+
import { TableFilter as re } from "./components/table/table-filter.js";
|
|
76
|
+
import { TableToolbar as te } from "./components/table/table-toolbar.js";
|
|
77
|
+
import { Tab as pe } from "./components/tabs/tab.js";
|
|
78
|
+
import { TabList as fe } from "./components/tabs/tab-list.js";
|
|
79
|
+
import { TabPanel as ie } from "./components/tabs/tab-panel.js";
|
|
80
|
+
import { TabPanels as le } from "./components/tabs/tab-panels.js";
|
|
81
|
+
import { Tabs as ue } from "./components/tabs/tabs.js";
|
|
82
|
+
import { Tag as ce } from "./components/tag/tag.js";
|
|
83
|
+
import { Text as be } from "./components/text/text.js";
|
|
84
|
+
import { Textarea as ge } from "./components/textarea/textarea.js";
|
|
85
|
+
import { useToast as Be } from "./components/toast/toast.js";
|
|
86
|
+
import { ToggleButton as Se } from "./components/toggle-button/toggle-button.js";
|
|
87
|
+
import { Tooltip as ke } from "./components/tooltip/tooltip.js";
|
|
86
88
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
S as Accordion,
|
|
90
|
+
k as AccordionItem,
|
|
91
|
+
P as AccordionPanel,
|
|
90
92
|
V as Alert,
|
|
91
93
|
D as Badge,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
A as Box,
|
|
95
|
+
H as Breadcrumbs,
|
|
96
|
+
N as Button,
|
|
97
|
+
z as Checkbox,
|
|
98
|
+
E as CheckboxGroup,
|
|
97
99
|
a as ColorModeScript,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
100
|
+
W as Combobox,
|
|
101
|
+
q as DatePicker,
|
|
102
|
+
K as DateRangePicker,
|
|
103
|
+
X as DateWeekPicker,
|
|
104
|
+
Z as Divider,
|
|
105
|
+
$ as Drawer,
|
|
106
|
+
ro as Flex,
|
|
107
|
+
to as FormControl,
|
|
108
|
+
po as FormErrorMessage,
|
|
109
|
+
fo as FormHelperText,
|
|
110
|
+
io as FormLabel,
|
|
111
|
+
lo as Grid,
|
|
112
|
+
To as GridItem,
|
|
113
|
+
so as Heading,
|
|
114
|
+
ho as Highlight,
|
|
115
|
+
Mo as Icon,
|
|
116
|
+
Io as IconButton,
|
|
117
|
+
Co as Icons,
|
|
118
|
+
Lo as Image,
|
|
119
|
+
Fo as ImageUpload,
|
|
118
120
|
vo as ImageUploadAspectRatio,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
121
|
+
Ro as Input,
|
|
122
|
+
Go as Link,
|
|
123
|
+
wo as List,
|
|
124
|
+
yo as ListItem,
|
|
125
|
+
Uo as Menu,
|
|
126
|
+
Qo as MenuBoxButton,
|
|
127
|
+
jo as MenuButton,
|
|
128
|
+
Jo as MenuDivider,
|
|
129
|
+
Oo as MenuGroup,
|
|
130
|
+
Yo as MenuIconButton,
|
|
131
|
+
_o as MenuItem,
|
|
132
|
+
or as MenuList,
|
|
133
|
+
er as Message,
|
|
134
|
+
mr as Modal,
|
|
135
|
+
xr as ModalBody,
|
|
136
|
+
ar as ModalCloseButton,
|
|
137
|
+
nr as ModalFooter,
|
|
138
|
+
dr as ModalHeader,
|
|
139
|
+
Tr as NavigationList,
|
|
140
|
+
sr as NavigationListButton,
|
|
141
|
+
br as NavigationListLink,
|
|
142
|
+
gr as Paginator,
|
|
143
|
+
Br as QuantityButton,
|
|
144
|
+
Sr as Radio,
|
|
145
|
+
kr as RadioAddon,
|
|
146
|
+
Pr as RadioCard,
|
|
145
147
|
Vr as RadioGroup,
|
|
146
148
|
Dr as SegmentedControl,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
u as
|
|
167
|
-
T as
|
|
168
|
-
c as
|
|
169
|
-
s as
|
|
170
|
-
b as
|
|
149
|
+
Ar as Select,
|
|
150
|
+
Hr as Skeleton,
|
|
151
|
+
Nr as SkeletonText,
|
|
152
|
+
zr as Stack,
|
|
153
|
+
Er as StepContext,
|
|
154
|
+
Wr as Stepper,
|
|
155
|
+
qr as Switch,
|
|
156
|
+
pe as Tab,
|
|
157
|
+
fe as TabList,
|
|
158
|
+
ie as TabPanel,
|
|
159
|
+
le as TabPanels,
|
|
160
|
+
Xr as Table,
|
|
161
|
+
Zr as TableContent,
|
|
162
|
+
re as TableFilter,
|
|
163
|
+
te as TableToolbar,
|
|
164
|
+
ue as Tabs,
|
|
165
|
+
ce as Tag,
|
|
166
|
+
be as Text,
|
|
167
|
+
ge as Textarea,
|
|
168
|
+
u as ThemeBorderVariable,
|
|
169
|
+
T as ThemeBreakPointVariable,
|
|
170
|
+
c as ThemeColorVariable,
|
|
171
|
+
s as ThemeFontSizeVariable,
|
|
172
|
+
b as ThemeFontVariable,
|
|
173
|
+
h as ThemeIconSizeVariable,
|
|
171
174
|
i as ThemeProvider,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
l as ThemeProviderContext,
|
|
176
|
+
g as ThemeRadiusVariable,
|
|
177
|
+
M as ThemeShadowVariable,
|
|
178
|
+
B as ThemeSpaceVariable,
|
|
179
|
+
Se as ToggleButton,
|
|
180
|
+
ke as Tooltip,
|
|
181
|
+
Kr as createColumnHelper,
|
|
179
182
|
x as isTouchScreenDevice,
|
|
180
183
|
e as useColorMode,
|
|
181
184
|
t as useDisclosure,
|
|
182
185
|
m as useRadioGroup,
|
|
183
|
-
|
|
184
|
-
|
|
186
|
+
$r as useTableContext,
|
|
187
|
+
Be as useToast
|
|
185
188
|
};
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { useColorMode } from '@chakra-ui/react';
|
|
2
2
|
export { isTouchScreenDevice } from './theme-helper.js';
|
|
3
|
-
export { ThemeColorModeScript as ColorModeScript, ThemeProvider
|
|
3
|
+
export { ThemeColorModeScript as ColorModeScript, ThemeProvider } from './theme-provider.js';
|
|
4
|
+
export { ThemeProviderContext } from './theme-context.js';
|
|
4
5
|
export type { ThemeProviderProps } from './theme-provider.js';
|
|
5
6
|
export type { BorderProps, ColorProps, CustomChakraBoxProps, LayoutProps, MarginProps, PaddingProps, ShadowProps, ThemeStyleProps, TypographyProps, } from './theme-style-props.js';
|
|
6
7
|
export * from './theme-types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,oBAAoB,IAAI,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EACX,WAAW,EACX,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,eAAe,GACf,MAAM,qBAAqB,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-theme.d.ts","sourceRoot":"","sources":["../../../../lib/theme/theme-config/components/button-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,0BAA0B,EAA6C,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"button-theme.d.ts","sourceRoot":"","sources":["../../../../lib/theme/theme-config/components/button-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,0BAA0B,EAA6C,MAAM,kBAAkB,CAAC;AAuO9G,eAAO,MAAM,YAAY,EAAE,0BAgCzB,CAAC"}
|