@ctlyst.id/internal-ui 2.0.4 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,26 +1,256 @@
1
- import { Badge as Badge$2, useToken, Box, Text, useColorModeValue, Breadcrumb, BreadcrumbItem, BreadcrumbLink, forwardRef, useStyleConfig, Button as Button$2, Card, Checkbox as Checkbox$1, FormControl, FormLabel as FormLabel$1, FormHelperText, FormErrorMessage, CheckboxGroup, Stack, Flex, Spinner, Table, Thead, Tr, Th, Tbody, Td, defineStyle, InputGroup, Input as Input$1, InputRightAddon, InputRightElement, theme as theme$1, InputLeftAddon, Textarea as Textarea$1, Image, useDisclosure, Popover as Popover$1, HStack, VStack, PopoverTrigger, Avatar, PopoverContent, PopoverArrow, PopoverBody, useColorMode as useColorMode$1, Container, Grid, Wrap, ModalBody as ModalBody$1, ModalCloseButton as ModalCloseButton$1, ModalFooter as ModalFooter$1, ModalHeader as ModalHeader$1, createIcon, Icon, Portal, Link, VisuallyHidden, Select as Select$1, Radio as Radio$1, RadioGroup, useMultiStyleConfig, omitThemingProps, useCheckbox, chakra, useTab, TabList as TabList$1, TabPanel as TabPanel$1, Heading, createMultiStyleConfigHelpers as createMultiStyleConfigHelpers$1, defineStyleConfig as defineStyleConfig$1, extendTheme } from '@chakra-ui/react';
1
+ import { cx, dataAttr } from '@chakra-ui/shared-utils';
2
+ import { forwardRef, omitThemingProps, useMultiStyleConfig, chakra, useColorMode } from '@chakra-ui/system';
3
+ import React__default, { createElement, forwardRef as forwardRef$2, useRef, useEffect, useState, useMemo, Fragment, useCallback, createContext as createContext$1, useContext } from 'react';
4
+ import { createContext } from '@chakra-ui/react-context';
5
+ import { CheckCircle, Info, AlertTriangle, Close, EyeOff, Eye, Rating as Rating$1, Check } from '@ctlyst.id/internal-icon';
6
+ import { cx as cx$1 } from '@chakra-ui/utils';
7
+ import { forwardRef as forwardRef$1, useStyleConfig, Box, Button as Button$2, Badge as Badge$2, useToken, Text, useColorModeValue, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Card, Checkbox as Checkbox$1, FormControl, FormLabel as FormLabel$1, FormHelperText, FormErrorMessage, CheckboxGroup, Stack, Flex, Spinner, Table, Thead, Tr, Th, Tbody, Td, defineStyle, InputGroup, Input as Input$1, InputRightAddon, InputRightElement, theme as theme$1, InputLeftAddon, Textarea as Textarea$1, Image, useDisclosure, Popover as Popover$1, HStack, VStack, PopoverTrigger, Avatar, PopoverContent, PopoverArrow, PopoverBody, useColorMode as useColorMode$1, Container, Grid, Wrap, ModalBody as ModalBody$1, ModalCloseButton as ModalCloseButton$1, ModalFooter as ModalFooter$1, ModalHeader as ModalHeader$1, createIcon, Icon, Portal, Link, VisuallyHidden, Select as Select$1, Radio as Radio$1, RadioGroup, useMultiStyleConfig as useMultiStyleConfig$1, omitThemingProps as omitThemingProps$1, useCheckbox, chakra as chakra$1, useTab, TabList as TabList$1, TabPanel as TabPanel$1, Heading, createMultiStyleConfigHelpers as createMultiStyleConfigHelpers$1, defineStyleConfig as defineStyleConfig$1, extendTheme } from '@chakra-ui/react';
2
8
  export { AlertDialog, ModalBody as AlertDialogBody, ModalCloseButton as AlertDialogCloseButton, AlertDialogContent, ModalFooter as AlertDialogFooter, ModalHeader as AlertDialogHeader, ModalOverlay as AlertDialogOverlay, Drawer, ModalBody as DrawerBody, ModalCloseButton as DrawerCloseButton, DrawerContent, ModalFooter as DrawerFooter, ModalHeader as DrawerHeader, ModalOverlay as DrawerOverlay, InputLeftElement as InputElementLeft, InputRightElement as InputElementRight, Modal, ModalContent, ModalContextProvider, ModalFocusScope, ModalOverlay, TabIndicator, TabPanels, Tabs, TabsDescendantsProvider, TabsProvider, useDrawerContext, useModal, useModalContext, useModalStyles, useTab, useTabIndicator, useTabList, useTabPanel, useTabPanels, useTabs, useTabsContext, useTabsDescendant, useTabsDescendants, useTabsDescendantsContext, useTabsStyles } from '@chakra-ui/react';
3
- import React__default, { createElement, forwardRef as forwardRef$1, useRef, useEffect, useState, useMemo, Fragment, useCallback, createContext, useContext } from 'react';
4
9
  import { FiChevronsRight, FiHome, FiCalendar, FiX, FiPower, FiMoon, FiSun, FiShoppingBag, FiShoppingCart, FiRepeat, FiBox, FiLayers, FiDollarSign, FiUsers, FiRotateCcw, FiSettings, FiLayout, FiGift, FiChevronDown } from 'react-icons/fi';
5
10
  import { ChevronUpIcon, ChevronDownIcon, UpDownIcon, ArrowLeftIcon, ChevronLeftIcon, ChevronRightIcon, ArrowRightIcon } from '@chakra-ui/icons';
6
11
  import { css, Global, keyframes } from '@emotion/react';
7
12
  import { useReactTable, getCoreRowModel, getSortedRowModel, flexRender } from '@tanstack/react-table';
8
13
  import classnames from 'classnames';
9
14
  import ReactDatePicker from 'react-datepicker';
10
- import { useColorMode } from '@chakra-ui/system';
11
15
  import styled from '@emotion/styled';
12
- import { Close, EyeOff, Eye, Check } from '@ctlyst.id/internal-icon';
13
16
  import ReactSelect from 'react-select';
14
17
  import { AsyncPaginate } from 'react-select-async-paginate';
15
18
  import ReactSelectAsyncCreatable from 'react-select/async-creatable';
16
19
  import ReactSelectCreatable from 'react-select/creatable';
17
- import { cx, dataAttr } from '@chakra-ui/shared-utils';
18
20
  import { useDropzone } from 'react-dropzone';
19
21
  import { alertAnatomy, checkboxAnatomy, inputAnatomy, popoverAnatomy, radioAnatomy, switchAnatomy } from '@chakra-ui/anatomy';
20
22
  import { createMultiStyleConfigHelpers, cssVar, defineStyleConfig, defineStyle as defineStyle$1 } from '@chakra-ui/styled-system';
21
23
  import { transparentize, mode, calc, cssVar as cssVar$1 } from '@chakra-ui/theme-tools';
22
24
  import axios from 'axios';
23
25
 
26
+ /* eslint-disable react/require-default-props */
27
+ function CheckIcon() {
28
+ return /*#__PURE__*/React__default.createElement(CheckCircle, {
29
+ color: "inherit",
30
+ size: 4
31
+ });
32
+ }
33
+ function InfoIcon() {
34
+ return /*#__PURE__*/React__default.createElement(Info, {
35
+ color: "inherit",
36
+ size: 4
37
+ });
38
+ }
39
+ function WarningIcon() {
40
+ return /*#__PURE__*/React__default.createElement(AlertTriangle, {
41
+ color: "inherit",
42
+ size: 4
43
+ });
44
+ }
45
+
46
+ const [AlertProvider, useAlertContext] = /*#__PURE__*/createContext({
47
+ name: 'AlertContext',
48
+ hookName: 'useAlertContext',
49
+ providerName: '<Alert />'
50
+ });
51
+ const [AlertStylesProvider, useAlertStyles] = /*#__PURE__*/createContext({
52
+ name: `AlertStylesContext`,
53
+ hookName: `useAlertStyles`,
54
+ providerName: '<Alert />'
55
+ });
56
+ const STATUSES = {
57
+ info: {
58
+ icon: InfoIcon,
59
+ colorScheme: 'info'
60
+ },
61
+ warning: {
62
+ icon: InfoIcon,
63
+ colorScheme: 'warning'
64
+ },
65
+ success: {
66
+ icon: CheckIcon,
67
+ colorScheme: 'success'
68
+ },
69
+ error: {
70
+ icon: WarningIcon,
71
+ colorScheme: 'danger'
72
+ }
73
+ };
74
+ function getStatusColorScheme(status) {
75
+ return STATUSES[status].colorScheme;
76
+ }
77
+ function getStatusIcon(status) {
78
+ return STATUSES[status].icon;
79
+ }
80
+
81
+ /**
82
+ * Alert is used to communicate the state or status of a
83
+ * page, feature or action
84
+ *
85
+ * @see Docs https://chakra-ui.com/docs/components/alert
86
+ * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/alert/
87
+ */
88
+ const Alert = /*#__PURE__*/forwardRef(function Alert(props, ref) {
89
+ var _props$colorScheme;
90
+ const {
91
+ status = 'info',
92
+ addRole = true,
93
+ children,
94
+ ...rest
95
+ } = omitThemingProps(props);
96
+ const colorScheme = (_props$colorScheme = props.colorScheme) !== null && _props$colorScheme !== void 0 ? _props$colorScheme : getStatusColorScheme(status);
97
+ const styles = useMultiStyleConfig('Alert', {
98
+ ...props,
99
+ colorScheme
100
+ });
101
+ const alertStyles = {
102
+ width: '100%',
103
+ display: 'grid',
104
+ gridTemplateColumns: 'auto 1fr auto auto',
105
+ alignItems: 'center',
106
+ position: 'relative',
107
+ overflow: 'hidden',
108
+ ...styles.container
109
+ };
110
+ return /*#__PURE__*/React__default.createElement(AlertProvider, {
111
+ value: {
112
+ status
113
+ }
114
+ }, /*#__PURE__*/React__default.createElement(AlertStylesProvider, {
115
+ value: styles
116
+ }, /*#__PURE__*/React__default.createElement(chakra.div, Object.assign({
117
+ "data-status": status,
118
+ role: addRole ? 'alert' : undefined,
119
+ ref: ref
120
+ }, rest, {
121
+ className: cx('chakra-alert', props.className),
122
+ __css: alertStyles
123
+ }), children)));
124
+ });
125
+ Alert.displayName = 'Alert';
126
+
127
+ const Loader = /*#__PURE__*/forwardRef$1((props, ref) => {
128
+ const styles = useStyleConfig('LoaderStyle', props);
129
+ return /*#__PURE__*/React__default.createElement(Box, {
130
+ ref: ref,
131
+ __css: styles
132
+ });
133
+ });
134
+
135
+ const Button = props => {
136
+ const {
137
+ children,
138
+ variant,
139
+ size,
140
+ ...rest
141
+ } = props;
142
+ const getLoaderSize = () => {
143
+ if (size === 'lg') return 'md';
144
+ if (size === 'md') return 'sm';
145
+ return 'xs';
146
+ };
147
+ const getLoaderColor = () => {
148
+ if (variant === 'primary' || variant === 'danger') return 'white';
149
+ if (variant === 'outline-danger') return 'danger';
150
+ return 'primary';
151
+ };
152
+ return /*#__PURE__*/React__default.createElement(Button$2, Object.assign({
153
+ size: size,
154
+ variant: variant,
155
+ spinner: /*#__PURE__*/React__default.createElement(Loader, {
156
+ size: getLoaderSize(),
157
+ color: getLoaderColor()
158
+ })
159
+ }, rest), children);
160
+ };
161
+
162
+ function AlertAction({
163
+ children,
164
+ className
165
+ }) {
166
+ const styles = useAlertStyles();
167
+ const css = styles.action;
168
+ return /*#__PURE__*/React__default.createElement(Button, {
169
+ "data-test-id": "alert-action",
170
+ className: cx$1('chakra-alert__close', className),
171
+ variant: "link",
172
+ color: "inherit",
173
+ fontWeight: "700",
174
+ __css: css
175
+ }, children);
176
+ }
177
+ AlertAction.displayName = 'AlertAction';
178
+
179
+ function AlertClose({
180
+ className,
181
+ children,
182
+ ...rest
183
+ }) {
184
+ const styles = useAlertStyles();
185
+ const css = styles.close;
186
+ return /*#__PURE__*/React__default.createElement(chakra.span, Object.assign({
187
+ display: "inherit",
188
+ "data-status": 'alert-close'
189
+ }, rest, {
190
+ className: cx('chakra-alert__close', className),
191
+ __css: css
192
+ }), children || /*#__PURE__*/React__default.createElement(Close, {
193
+ color: "inherit",
194
+ size: 4
195
+ }));
196
+ }
197
+ AlertClose.displayName = 'AlertClose';
198
+
199
+ const AlertDescription = /*#__PURE__*/forwardRef(function AlertDescription(props, ref) {
200
+ const styles = useAlertStyles();
201
+ const {
202
+ status
203
+ } = useAlertContext();
204
+ const descriptionStyles = {
205
+ display: 'inline',
206
+ ...styles.description
207
+ };
208
+ return /*#__PURE__*/React__default.createElement(chakra.div, Object.assign({
209
+ ref: ref,
210
+ "data-status": status
211
+ }, props, {
212
+ className: cx('chakra-alert__desc', props.className),
213
+ __css: descriptionStyles
214
+ }));
215
+ });
216
+ AlertDescription.displayName = 'AlertDescription';
217
+
218
+ function AlertIcon({
219
+ className,
220
+ children,
221
+ ...rest
222
+ }) {
223
+ const {
224
+ status
225
+ } = useAlertContext();
226
+ const BaseIcon = getStatusIcon(status);
227
+ const styles = useAlertStyles();
228
+ const css = styles.icon;
229
+ return /*#__PURE__*/React__default.createElement(chakra.span, Object.assign({
230
+ display: "inherit",
231
+ "data-status": status
232
+ }, rest, {
233
+ className: cx('chakra-alert__icon', className),
234
+ __css: css
235
+ }), children || /*#__PURE__*/React__default.createElement(BaseIcon, null));
236
+ }
237
+ AlertIcon.displayName = 'AlertIcon';
238
+
239
+ const AlertTitle = /*#__PURE__*/forwardRef(function AlertTitle(props, ref) {
240
+ const styles = useAlertStyles();
241
+ const {
242
+ status
243
+ } = useAlertContext();
244
+ return /*#__PURE__*/React__default.createElement(chakra.div, Object.assign({
245
+ ref: ref,
246
+ "data-status": status
247
+ }, props, {
248
+ className: cx('chakra-alert__title', props.className),
249
+ __css: styles.title
250
+ }));
251
+ });
252
+ AlertTitle.displayName = 'AlertTitle';
253
+
24
254
  const Badge = props => {
25
255
  const {
26
256
  children,
@@ -32,7 +262,7 @@ const Badge = props => {
32
262
  variant: "primary-solid",
33
263
  padding: "0 8px",
34
264
  height: "18px",
35
- display: "flex",
265
+ display: "inline-flex",
36
266
  alignItems: "center",
37
267
  justifyContent: "space-between",
38
268
  textTransform: "none"
@@ -137,42 +367,7 @@ BreadCrumb.defaultProps = {
137
367
  spacing: 2
138
368
  };
139
369
 
140
- const Loader = /*#__PURE__*/forwardRef((props, ref) => {
141
- const styles = useStyleConfig('LoaderStyle', props);
142
- return /*#__PURE__*/React__default.createElement(Box, {
143
- ref: ref,
144
- __css: styles
145
- });
146
- });
147
-
148
- const Button = props => {
149
- const {
150
- children,
151
- variant,
152
- size,
153
- ...rest
154
- } = props;
155
- const getLoaderSize = () => {
156
- if (size === 'lg') return 'md';
157
- if (size === 'md') return 'sm';
158
- return 'xs';
159
- };
160
- const getLoaderColor = () => {
161
- if (variant === 'primary' || variant === 'danger') return 'white';
162
- if (variant === 'outline-danger') return 'danger';
163
- return 'primary';
164
- };
165
- return /*#__PURE__*/React__default.createElement(Button$2, Object.assign({
166
- size: size,
167
- variant: variant,
168
- spinner: /*#__PURE__*/React__default.createElement(Loader, {
169
- size: getLoaderSize(),
170
- color: getLoaderColor()
171
- })
172
- }, rest), children);
173
- };
174
-
175
- const CardCustom = /*#__PURE__*/forwardRef$1(({
370
+ const CardCustom = /*#__PURE__*/forwardRef$2(({
176
371
  children,
177
372
  ...rest
178
373
  }, ref) => {
@@ -1949,20 +2144,26 @@ const InputAddonLeft = ({
1949
2144
  children
1950
2145
  }) => {
1951
2146
  return /*#__PURE__*/React__default.createElement(InputLeftAddon, {
1952
- borderLeftRadius: "md",
1953
2147
  backgroundColor: "neutral.200",
1954
2148
  px: 3,
1955
- py: 2.5
2149
+ py: 2.5,
2150
+ style: {
2151
+ border: 0,
2152
+ marginInlineEnd: 0
2153
+ }
1956
2154
  }, children);
1957
2155
  };
1958
2156
  const InputAddonRight = ({
1959
2157
  children
1960
2158
  }) => {
1961
2159
  return /*#__PURE__*/React__default.createElement(InputRightAddon, {
1962
- borderRightRadius: "md",
1963
2160
  backgroundColor: "neutral.200",
1964
2161
  px: 3,
1965
- py: 2.5
2162
+ py: 2.5,
2163
+ style: {
2164
+ border: 0,
2165
+ marginInlineStart: 0
2166
+ }
1966
2167
  }, children);
1967
2168
  };
1968
2169
 
@@ -2290,7 +2491,7 @@ const ModalBody = /*#__PURE__*/React__default.forwardRef(({
2290
2491
  }, rest), children);
2291
2492
  });
2292
2493
 
2293
- const ModalCloseButton = /*#__PURE__*/forwardRef$1((props, ref) => {
2494
+ const ModalCloseButton = /*#__PURE__*/forwardRef$2((props, ref) => {
2294
2495
  return /*#__PURE__*/React__default.createElement(ModalCloseButton$1, Object.assign({
2295
2496
  ref: ref,
2296
2497
  top: 4,
@@ -2300,7 +2501,7 @@ const ModalCloseButton = /*#__PURE__*/forwardRef$1((props, ref) => {
2300
2501
  }, props));
2301
2502
  });
2302
2503
 
2303
- const ModalFooter = /*#__PURE__*/forwardRef$1(({
2504
+ const ModalFooter = /*#__PURE__*/forwardRef$2(({
2304
2505
  children,
2305
2506
  ...rest
2306
2507
  }, ref) => {
@@ -2311,7 +2512,7 @@ const ModalFooter = /*#__PURE__*/forwardRef$1(({
2311
2512
  }, rest), children);
2312
2513
  });
2313
2514
 
2314
- const ModalHeader = /*#__PURE__*/forwardRef$1(({
2515
+ const ModalHeader = /*#__PURE__*/forwardRef$2(({
2315
2516
  children,
2316
2517
  ...rest
2317
2518
  }, ref) => {
@@ -2462,7 +2663,7 @@ Navigation.defaultProps = {
2462
2663
  host: undefined
2463
2664
  };
2464
2665
 
2465
- const PaginationButton = /*#__PURE__*/forwardRef(({
2666
+ const PaginationButton = /*#__PURE__*/forwardRef$1(({
2466
2667
  className,
2467
2668
  style,
2468
2669
  isActive,
@@ -2744,6 +2945,18 @@ RadioGroupComponent.defaultProps = {
2744
2945
  errorMessage: ''
2745
2946
  };
2746
2947
 
2948
+ const Rating = ({
2949
+ value
2950
+ }) => {
2951
+ return /*#__PURE__*/React__default.createElement(Grid, {
2952
+ gap: '4px',
2953
+ display: "flex"
2954
+ }, [...Array(5)].map((_, i) => /*#__PURE__*/React__default.createElement(Rating$1, {
2955
+ color: i < value ? '#FFA230' : '#E0E0E0',
2956
+ size: 24
2957
+ })));
2958
+ };
2959
+
2747
2960
  const SelectWrapper = ({
2748
2961
  children,
2749
2962
  isError = false
@@ -2942,8 +3155,8 @@ function SelectCreatable({
2942
3155
  * @see Docs https://chakra-ui.com/docs/components/switch
2943
3156
  * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/
2944
3157
  */
2945
- const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
2946
- const styles = useMultiStyleConfig('Switch', props);
3158
+ const Switch = /*#__PURE__*/forwardRef$1(function Switch(props, ref) {
3159
+ const styles = useMultiStyleConfig$1('Switch', props);
2947
3160
  const {
2948
3161
  size = 'md'
2949
3162
  } = props;
@@ -2951,7 +3164,7 @@ const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
2951
3164
  spacing = '0.5rem',
2952
3165
  children,
2953
3166
  ...ownProps
2954
- } = omitThemingProps(props);
3167
+ } = omitThemingProps$1(props);
2955
3168
  const {
2956
3169
  state,
2957
3170
  getInputProps,
@@ -2988,7 +3201,7 @@ const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
2988
3201
  };
2989
3202
  return iconSize[value];
2990
3203
  };
2991
- return /*#__PURE__*/React__default.createElement(chakra.label, Object.assign({}, getRootProps(), {
3204
+ return /*#__PURE__*/React__default.createElement(chakra$1.label, Object.assign({}, getRootProps(), {
2992
3205
  display: "flex",
2993
3206
  alignItems: "center",
2994
3207
  className: cx('chakra-switch', props.className),
@@ -2996,7 +3209,7 @@ const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
2996
3209
  }), /*#__PURE__*/React__default.createElement("input", Object.assign({
2997
3210
  "data-test-id": "",
2998
3211
  className: "chakra-switch__input"
2999
- }, getInputProps({}, ref))), /*#__PURE__*/React__default.createElement(chakra.span, Object.assign({}, getCheckboxProps(), {
3212
+ }, getInputProps({}, ref))), /*#__PURE__*/React__default.createElement(chakra$1.span, Object.assign({}, getCheckboxProps(), {
3000
3213
  className: "chakra-switch__track",
3001
3214
  pos: "relative",
3002
3215
  __css: trackStyles
@@ -3012,12 +3225,12 @@ const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
3012
3225
  }), /*#__PURE__*/React__default.createElement(Close, {
3013
3226
  color: state.isDisabled ? 'neutral.600' : 'neutral.900',
3014
3227
  size: getIconSize(size)
3015
- })), /*#__PURE__*/React__default.createElement(chakra.span, {
3228
+ })), /*#__PURE__*/React__default.createElement(chakra$1.span, {
3016
3229
  __css: styles.thumb,
3017
3230
  className: "chakra-switch__thumb",
3018
3231
  "data-checked": dataAttr(state.isChecked),
3019
3232
  "data-hover": dataAttr(state.isHovered)
3020
- })), children && /*#__PURE__*/React__default.createElement(chakra.span, Object.assign({
3233
+ })), children && /*#__PURE__*/React__default.createElement(chakra$1.span, Object.assign({
3021
3234
  className: "chakra-switch__label",
3022
3235
  color: state.isDisabled ? 'black.low' : 'black.high'
3023
3236
  }, getLabelProps(), {
@@ -3025,14 +3238,14 @@ const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
3025
3238
  }), children));
3026
3239
  });
3027
3240
 
3028
- const Tab = /*#__PURE__*/forwardRef((props, ref) => {
3241
+ const Tab = /*#__PURE__*/forwardRef$1((props, ref) => {
3029
3242
  var _props$leftAddon, _props$rightAddon;
3030
3243
  const tabProps = useTab({
3031
3244
  ...props,
3032
3245
  ref
3033
3246
  });
3034
3247
  const isSelected = !!tabProps['aria-selected'];
3035
- const styles = useMultiStyleConfig('Tabs', tabProps);
3248
+ const styles = useMultiStyleConfig$1('Tabs', tabProps);
3036
3249
  return /*#__PURE__*/createElement(Button$2, Object.assign({
3037
3250
  p: 3,
3038
3251
  fontSize: "text.md",
@@ -3053,13 +3266,13 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
3053
3266
  })));
3054
3267
  });
3055
3268
 
3056
- const TabList = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(TabList$1, {
3269
+ const TabList = /*#__PURE__*/forwardRef$1((props, ref) => /*#__PURE__*/React__default.createElement(TabList$1, {
3057
3270
  borderBottom: "1px solid",
3058
3271
  borderColor: useColorModeValue('gray.200', 'bright-gray.800'),
3059
3272
  ref: ref
3060
3273
  }, props.children));
3061
3274
 
3062
- const TabPanel = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(TabPanel$1, {
3275
+ const TabPanel = /*#__PURE__*/forwardRef$1((props, ref) => /*#__PURE__*/React__default.createElement(TabPanel$1, {
3063
3276
  px: 0,
3064
3277
  ref: ref
3065
3278
  }, props.children));
@@ -3749,6 +3962,7 @@ const Chips = /*#__PURE__*/defineStyleConfig({
3749
3962
 
3750
3963
  const baseStyle$2 = /*#__PURE__*/defineStyle$1({
3751
3964
  fontSize: 'field.sm',
3965
+ fontWeight: 'normal',
3752
3966
  marginEnd: 1,
3753
3967
  mb: 1
3754
3968
  });
@@ -4259,7 +4473,7 @@ const theme = /*#__PURE__*/extendTheme({
4259
4473
  config
4260
4474
  });
4261
4475
 
4262
- const ProviderContext = /*#__PURE__*/createContext({
4476
+ const ProviderContext = /*#__PURE__*/createContext$1({
4263
4477
  instance: undefined
4264
4478
  });
4265
4479
  const useInternalUI = () => {
@@ -4294,5 +4508,5 @@ const Provider = ({
4294
4508
  };
4295
4509
  Provider.displayName = 'Provider';
4296
4510
 
4297
- export { Badge, Box, BreadCrumb, Button, CardCustom as Card, CheckboxComponent as Checkbox, CheckboxGroupComponent as CheckboxGroup, Container, DataTable, DatePickerMonth, Datepicker, Field, Flex, Grid, Header, InputAddonLeft, InputAddonRight, InputField, Loader, Navigation as MainMenu, ModalBody, ModalCloseButton, ModalFooter, ModalHeader, MultiDatePickerMonth, Pagination, PaginationDetail, PaginationFilter, Provider, ProviderContext, RadioComponent as Radio, RadioGroupComponent as RadioGroup, Select, SelectAsync, SelectAsyncCreatable, SelectCreatable, Stack, Switch, Tab, TabList, TabPanel, Text, TextareaField, Uploader, Wrap, foundations, theme, useInternalUI };
4511
+ export { Alert, AlertAction, AlertClose, AlertDescription, AlertIcon, AlertTitle, Badge, Box, BreadCrumb, Button, CardCustom as Card, CheckboxComponent as Checkbox, CheckboxGroupComponent as CheckboxGroup, Container, DataTable, DatePickerMonth, Datepicker, Field, Flex, Grid, Header, InputAddonLeft, InputAddonRight, InputField, Loader, Navigation as MainMenu, ModalBody, ModalCloseButton, ModalFooter, ModalHeader, MultiDatePickerMonth, Pagination, PaginationDetail, PaginationFilter, Provider, ProviderContext, RadioComponent as Radio, RadioGroupComponent as RadioGroup, Rating, Select, SelectAsync, SelectAsyncCreatable, SelectCreatable, Stack, Switch, Tab, TabList, TabPanel, Text, TextareaField, Uploader, Wrap, foundations, theme, useAlertStyles, useInternalUI };
4298
4512
  //# sourceMappingURL=internal-ui.esm.js.map