@caspeco/casper-ui-library 5.3.0 → 5.4.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/highlight/highlight.d.ts +4 -0
- package/dist/components/highlight/highlight.d.ts.map +1 -0
- package/dist/components/highlight/highlight.js +8 -0
- package/dist/components/highlight/index.d.ts +3 -0
- package/dist/components/highlight/index.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +113 -111
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HighlightProps as ChakraHighlightProps } from '@chakra-ui/react';
|
|
2
|
+
export type HighlightProps = Pick<ChakraHighlightProps, "query" | "children">;
|
|
3
|
+
export declare function Highlight(props: HighlightProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../lib/components/highlight/highlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,cAAc,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7G,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE9E,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAM9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/highlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './components/flex/index.js';
|
|
|
15
15
|
export * from './components/form-control/index.js';
|
|
16
16
|
export * from './components/grid/index.js';
|
|
17
17
|
export * from './components/heading/index.js';
|
|
18
|
+
export * from './components/highlight/index.js';
|
|
18
19
|
export * from './components/icon/index.js';
|
|
19
20
|
export * from './components/icon-button/index.js';
|
|
20
21
|
export * from './components/image/index.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAA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AC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { ThemeColorModeScript as a, ThemeProvider as i, ThemeProviderContext as n } from "./theme/theme-provider.js";
|
|
4
|
-
import { ThemeBorderVariable as d, ThemeBreakPointVariable as u, ThemeColorVariable as T, ThemeFontSizeVariable as c, ThemeFontVariable as s, ThemeIconSizeVariable as b, ThemeRadiusVariable as
|
|
4
|
+
import { ThemeBorderVariable as d, ThemeBreakPointVariable as u, ThemeColorVariable as T, ThemeFontSizeVariable as c, ThemeFontVariable as s, ThemeIconSizeVariable as b, ThemeRadiusVariable as h, ThemeShadowVariable as g, ThemeSpaceVariable as M } from "./theme/theme-types.js";
|
|
5
5
|
import { Accordion as C } from "./components/accordion/accordion.js";
|
|
6
6
|
import { AccordionItem as I } from "./components/accordion/accordion-item.js";
|
|
7
7
|
import { AccordionPanel as L } from "./components/accordion/accordion-panel.js";
|
|
@@ -26,60 +26,61 @@ import { FormLabel as ao } from "./components/form-control/form-label.js";
|
|
|
26
26
|
import { Grid as no } from "./components/grid/grid.js";
|
|
27
27
|
import { GridItem as uo } from "./components/grid/grid-item.js";
|
|
28
28
|
import { Heading as co } from "./components/heading/heading.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
29
|
+
import { Highlight as bo } from "./components/highlight/highlight.js";
|
|
30
|
+
import { Icon as go } from "./components/icon/icon.js";
|
|
31
|
+
import { Icons as Bo } from "./components/icon/types.js";
|
|
32
|
+
import { IconButton as So } from "./components/icon-button/icon-button.js";
|
|
33
|
+
import { Image as ko } from "./components/image/image.js";
|
|
34
|
+
import { ImageUpload as Po } from "./components/image-upload/image-upload.js";
|
|
35
|
+
import { ImageUploadAspectRatio as vo } from "./components/image-upload/types.js";
|
|
36
|
+
import { Input as Fo } from "./components/input/input.js";
|
|
37
|
+
import { Link as Ao } from "./components/link/link.js";
|
|
38
|
+
import { List as Ho } from "./components/list/list.js";
|
|
39
|
+
import { ListItem as No } from "./components/list/list-item.js";
|
|
40
|
+
import { Menu as zo } from "./components/menu/menu.js";
|
|
41
|
+
import { MenuBoxButton as Eo } from "./components/menu/menu-box-button.js";
|
|
42
|
+
import { MenuButton as Wo } from "./components/menu/menu-button.js";
|
|
43
|
+
import { MenuDivider as qo } from "./components/menu/menu-divider.js";
|
|
44
|
+
import { MenuGroup as Ko } from "./components/menu/menu-group.js";
|
|
45
|
+
import { MenuIconButton as Xo } from "./components/menu/menu-icon-button.js";
|
|
46
|
+
import { MenuItem as Zo } from "./components/menu/menu-item.js";
|
|
47
|
+
import { MenuList as $o } from "./components/menu/menu-list.js";
|
|
48
|
+
import { Message as rr } from "./components/message/message.js";
|
|
49
|
+
import { Modal as tr } from "./components/modal/modal.js";
|
|
50
|
+
import { ModalBody as pr } from "./components/modal/modal-body.js";
|
|
51
|
+
import { ModalCloseButton as fr } from "./components/modal/modal-close-button.js";
|
|
52
|
+
import { ModalFooter as ir } from "./components/modal/modal-footer.js";
|
|
53
|
+
import { ModalHeader as lr } from "./components/modal/modal-header.js";
|
|
54
|
+
import { NavigationList as ur } from "./components/navigation-list/navigation-list.js";
|
|
55
|
+
import { NavigationListButton as cr, NavigationListLink as sr } from "./components/navigation-list/navigation-list-item.js";
|
|
56
|
+
import { Paginator as hr } from "./components/paginator/paginator.js";
|
|
56
57
|
import { QuantityButton as Mr } from "./components/quantity-button/quantity-button.js";
|
|
57
|
-
import { Radio as
|
|
58
|
-
import { RadioAddon as
|
|
59
|
-
import { RadioCard as
|
|
60
|
-
import { RadioGroup as
|
|
61
|
-
import { SegmentedControl as
|
|
62
|
-
import { Select as
|
|
63
|
-
import { Skeleton as
|
|
64
|
-
import { SkeletonText as
|
|
65
|
-
import { Stack as
|
|
66
|
-
import { StepContext as
|
|
67
|
-
import { Stepper as
|
|
68
|
-
import { Switch as
|
|
69
|
-
import { createColumnHelper as
|
|
70
|
-
import { Table as
|
|
71
|
-
import { TableContent as
|
|
72
|
-
import { TableToolbar as
|
|
73
|
-
import { Tab as
|
|
74
|
-
import { TabList as
|
|
75
|
-
import { TabPanel as
|
|
76
|
-
import { TabPanels as
|
|
77
|
-
import { Tabs as
|
|
78
|
-
import { Tag as
|
|
79
|
-
import { Text as
|
|
80
|
-
import { Textarea as
|
|
81
|
-
import { useToast as
|
|
82
|
-
import { ToggleButton as
|
|
58
|
+
import { Radio as Cr } from "./components/radio/radio.js";
|
|
59
|
+
import { RadioAddon as Ir } from "./components/radio/radio-addon.js";
|
|
60
|
+
import { RadioCard as Lr } from "./components/radio/radio-card.js";
|
|
61
|
+
import { RadioGroup as Vr } from "./components/radio-group/radio-group.js";
|
|
62
|
+
import { SegmentedControl as Dr } from "./components/segmented-control/segmented-control.js";
|
|
63
|
+
import { Select as Rr } from "./components/select/select.js";
|
|
64
|
+
import { Skeleton as Gr } from "./components/skeleton/skeleton.js";
|
|
65
|
+
import { SkeletonText as wr } from "./components/skeleton/skeleton-text.js";
|
|
66
|
+
import { Stack as yr } from "./components/stack/stack.js";
|
|
67
|
+
import { StepContext as Ur } from "./components/stepper/step-context.js";
|
|
68
|
+
import { Stepper as Qr } from "./components/stepper/stepper.js";
|
|
69
|
+
import { Switch as jr } from "./components/switch/switch.js";
|
|
70
|
+
import { createColumnHelper as Jr } from "./node_modules/@tanstack/table-core/build/lib/index.js";
|
|
71
|
+
import { Table as Or } from "./components/table/table.js";
|
|
72
|
+
import { TableContent as Yr } from "./components/table/table-content.js";
|
|
73
|
+
import { TableToolbar as _r } from "./components/table/table-toolbar.js";
|
|
74
|
+
import { Tab as oe } from "./components/tabs/tab.js";
|
|
75
|
+
import { TabList as ee } from "./components/tabs/tab-list.js";
|
|
76
|
+
import { TabPanel as me } from "./components/tabs/tab-panel.js";
|
|
77
|
+
import { TabPanels as xe } from "./components/tabs/tab-panels.js";
|
|
78
|
+
import { Tabs as ae } from "./components/tabs/tabs.js";
|
|
79
|
+
import { Tag as ne } from "./components/tag/tag.js";
|
|
80
|
+
import { Text as de } from "./components/text/text.js";
|
|
81
|
+
import { Textarea as Te } from "./components/textarea/textarea.js";
|
|
82
|
+
import { useToast as se } from "./components/toast/toast.js";
|
|
83
|
+
import { ToggleButton as he } from "./components/toggle-button/toggle-button.js";
|
|
83
84
|
import { Tooltip as Me } from "./components/tooltip/tooltip.js";
|
|
84
85
|
export {
|
|
85
86
|
C as Accordion,
|
|
@@ -107,58 +108,59 @@ export {
|
|
|
107
108
|
no as Grid,
|
|
108
109
|
uo as GridItem,
|
|
109
110
|
co as Heading,
|
|
110
|
-
bo as
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
ko as
|
|
115
|
-
Po as
|
|
116
|
-
vo as
|
|
117
|
-
Fo as
|
|
118
|
-
Ao as
|
|
119
|
-
Ho as
|
|
120
|
-
No as
|
|
121
|
-
zo as
|
|
122
|
-
Eo as
|
|
123
|
-
Wo as
|
|
124
|
-
qo as
|
|
125
|
-
Ko as
|
|
126
|
-
Xo as
|
|
127
|
-
Zo as
|
|
128
|
-
$o as
|
|
129
|
-
rr as
|
|
130
|
-
tr as
|
|
131
|
-
pr as
|
|
132
|
-
fr as
|
|
133
|
-
ir as
|
|
134
|
-
lr as
|
|
135
|
-
ur as
|
|
136
|
-
|
|
137
|
-
sr as
|
|
111
|
+
bo as Highlight,
|
|
112
|
+
go as Icon,
|
|
113
|
+
So as IconButton,
|
|
114
|
+
Bo as Icons,
|
|
115
|
+
ko as Image,
|
|
116
|
+
Po as ImageUpload,
|
|
117
|
+
vo as ImageUploadAspectRatio,
|
|
118
|
+
Fo as Input,
|
|
119
|
+
Ao as Link,
|
|
120
|
+
Ho as List,
|
|
121
|
+
No as ListItem,
|
|
122
|
+
zo as Menu,
|
|
123
|
+
Eo as MenuBoxButton,
|
|
124
|
+
Wo as MenuButton,
|
|
125
|
+
qo as MenuDivider,
|
|
126
|
+
Ko as MenuGroup,
|
|
127
|
+
Xo as MenuIconButton,
|
|
128
|
+
Zo as MenuItem,
|
|
129
|
+
$o as MenuList,
|
|
130
|
+
rr as Message,
|
|
131
|
+
tr as Modal,
|
|
132
|
+
pr as ModalBody,
|
|
133
|
+
fr as ModalCloseButton,
|
|
134
|
+
ir as ModalFooter,
|
|
135
|
+
lr as ModalHeader,
|
|
136
|
+
ur as NavigationList,
|
|
137
|
+
cr as NavigationListButton,
|
|
138
|
+
sr as NavigationListLink,
|
|
139
|
+
hr as Paginator,
|
|
138
140
|
Mr as QuantityButton,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
141
|
+
Cr as Radio,
|
|
142
|
+
Ir as RadioAddon,
|
|
143
|
+
Lr as RadioCard,
|
|
144
|
+
Vr as RadioGroup,
|
|
145
|
+
Dr as SegmentedControl,
|
|
146
|
+
Rr as Select,
|
|
147
|
+
Gr as Skeleton,
|
|
148
|
+
wr as SkeletonText,
|
|
149
|
+
yr as Stack,
|
|
150
|
+
Ur as StepContext,
|
|
151
|
+
Qr as Stepper,
|
|
152
|
+
jr as Switch,
|
|
153
|
+
oe as Tab,
|
|
154
|
+
ee as TabList,
|
|
155
|
+
me as TabPanel,
|
|
156
|
+
xe as TabPanels,
|
|
157
|
+
Or as Table,
|
|
158
|
+
Yr as TableContent,
|
|
159
|
+
_r as TableToolbar,
|
|
160
|
+
ae as Tabs,
|
|
161
|
+
ne as Tag,
|
|
162
|
+
de as Text,
|
|
163
|
+
Te as Textarea,
|
|
162
164
|
d as ThemeBorderVariable,
|
|
163
165
|
u as ThemeBreakPointVariable,
|
|
164
166
|
T as ThemeColorVariable,
|
|
@@ -167,15 +169,15 @@ export {
|
|
|
167
169
|
b as ThemeIconSizeVariable,
|
|
168
170
|
i as ThemeProvider,
|
|
169
171
|
n as ThemeProviderContext,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
h as ThemeRadiusVariable,
|
|
173
|
+
g as ThemeShadowVariable,
|
|
174
|
+
M as ThemeSpaceVariable,
|
|
175
|
+
he as ToggleButton,
|
|
174
176
|
Me as Tooltip,
|
|
175
|
-
|
|
177
|
+
Jr as createColumnHelper,
|
|
176
178
|
x as isTouchScreenDevice,
|
|
177
179
|
e as useColorMode,
|
|
178
180
|
t as useDisclosure,
|
|
179
181
|
m as useRadioGroup,
|
|
180
|
-
|
|
182
|
+
se as useToast
|
|
181
183
|
};
|