@ctlyst.id/internal-ui 2.1.18 → 2.1.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +107 -85
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +71 -49
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/components/accordion/__stories__/accordion.stories.d.ts +0 -9
- package/dist/components/accordion/components/accordion-indicator.d.ts +0 -1
- package/dist/components/accordion/components/index.d.ts +0 -2
- package/dist/components/accordion/index.d.ts +0 -1
- package/dist/components/alert/__stories__/alert.stories.d.ts +0 -11
- package/dist/components/alert/components/alert-action.d.ts +0 -6
- package/dist/components/alert/components/alert-close.d.ts +0 -6
- package/dist/components/alert/components/alert-context.d.ts +0 -33
- package/dist/components/alert/components/alert-description.d.ts +0 -3
- package/dist/components/alert/components/alert-icon.d.ts +0 -6
- package/dist/components/alert/components/alert-title.d.ts +0 -3
- package/dist/components/alert/components/alert.d.ts +0 -25
- package/dist/components/alert/components/icons.d.ts +0 -3
- package/dist/components/alert/components/index.d.ts +0 -14
- package/dist/components/alert/index.d.ts +0 -1
- package/dist/components/anchor/__stories__/anchor.stories.d.ts +0 -9
- package/dist/components/anchor/components/anchor.d.ts +0 -20
- package/dist/components/anchor/components/index.d.ts +0 -1
- package/dist/components/anchor/index.d.ts +0 -1
- package/dist/components/badge/__stories__/badge.stories.d.ts +0 -15
- package/dist/components/badge/components/badge.d.ts +0 -11
- package/dist/components/badge/components/index.d.ts +0 -1
- package/dist/components/badge/index.d.ts +0 -1
- package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -8
- package/dist/components/breadcrumb/components/bread-crumb.d.ts +0 -18
- package/dist/components/breadcrumb/index.d.ts +0 -2
- package/dist/components/button/__stories__/button.stories.d.ts +0 -12
- package/dist/components/button/components/button.d.ts +0 -4
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/card/__stories__/card.stories.d.ts +0 -8
- package/dist/components/card/components/card.d.ts +0 -8
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -13
- package/dist/components/checkbox/components/checkbox-group.d.ts +0 -18
- package/dist/components/checkbox/components/checkbox.d.ts +0 -10
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/chips/__stories__/chips.stories.d.ts +0 -9
- package/dist/components/chips/components/chips.d.ts +0 -19
- package/dist/components/chips/index.d.ts +0 -2
- package/dist/components/collapse/__stories__/collapse.stories.d.ts +0 -7
- package/dist/components/counter/__stories__/counter.stories.d.ts +0 -10
- package/dist/components/counter/components/counter.d.ts +0 -15
- package/dist/components/counter/index.d.ts +0 -1
- package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -21
- package/dist/components/data-table/components/data-table.d.ts +0 -30
- package/dist/components/data-table/index.d.ts +0 -3
- package/dist/components/data-table/types/table-core.d.ts +0 -1
- package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -13
- package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker-month/index.d.ts +0 -4
- package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker.d.ts +0 -17
- package/dist/components/datepicker/components/styles.d.ts +0 -2
- package/dist/components/datepicker/components/time-input.d.ts +0 -9
- package/dist/components/datepicker/index.d.ts +0 -3
- package/dist/components/dialog/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/dialog/components/dialog.d.ts +0 -12
- package/dist/components/dialog/index.d.ts +0 -1
- package/dist/components/empty-state/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/field/__stories__/field.stories.d.ts +0 -7
- package/dist/components/field/components/field.d.ts +0 -15
- package/dist/components/field/index.d.ts +0 -2
- package/dist/components/form/__stories__/input.stories.d.ts +0 -15
- package/dist/components/form/__stories__/textarea.stories.d.ts +0 -7
- package/dist/components/form/components/input-addon.d.ts +0 -7
- package/dist/components/form/components/input-element.d.ts +0 -2
- package/dist/components/form/components/input-field.d.ts +0 -13
- package/dist/components/form/components/textarea.d.ts +0 -8
- package/dist/components/form/index.d.ts +0 -7
- package/dist/components/form/styles/input-field.d.ts +0 -4
- package/dist/components/header/__stories__/header.stories.d.ts +0 -9
- package/dist/components/header/components/header.d.ts +0 -19
- package/dist/components/header/components/logo.d.ts +0 -10
- package/dist/components/header/components/profile.d.ts +0 -11
- package/dist/components/header/components/switch-mode.d.ts +0 -3
- package/dist/components/header/components/version.d.ts +0 -10
- package/dist/components/header/index.d.ts +0 -3
- package/dist/components/header/types.d.ts +0 -10
- package/dist/components/header/utils/formatter.d.ts +0 -2
- package/dist/components/image/__stories__/image.stories.d.ts +0 -9
- package/dist/components/image/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -34
- package/dist/components/layouting/index.d.ts +0 -1
- package/dist/components/list/index.d.ts +0 -1
- package/dist/components/loader/__stories__/loader.stories.d.ts +0 -9
- package/dist/components/loader/components/loader.d.ts +0 -10
- package/dist/components/loader/index.d.ts +0 -3
- package/dist/components/modal/__stories__/modal.stories.d.ts +0 -7
- package/dist/components/modal/components/modal-body.d.ts +0 -4
- package/dist/components/modal/components/modal-close-button.d.ts +0 -4
- package/dist/components/modal/components/modal-footer.d.ts +0 -4
- package/dist/components/modal/components/modal-header.d.ts +0 -4
- package/dist/components/modal/index.d.ts +0 -5
- package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -8
- package/dist/components/navigation/components/customer-icon.d.ts +0 -2
- package/dist/components/navigation/components/mapping-icon.d.ts +0 -2
- package/dist/components/navigation/components/navigation-bar.d.ts +0 -12
- package/dist/components/navigation/components/navigation.d.ts +0 -11
- package/dist/components/navigation/index.d.ts +0 -4
- package/dist/components/navigation/types.d.ts +0 -24
- package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button-trigger.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button.d.ts +0 -6
- package/dist/components/pagination/components/pagination-detail.d.ts +0 -10
- package/dist/components/pagination/components/pagination-filter.d.ts +0 -13
- package/dist/components/pagination/components/pagination.d.ts +0 -16
- package/dist/components/pagination/index.d.ts +0 -6
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/radio/__stories__/radio.stories.d.ts +0 -13
- package/dist/components/radio/components/radio-group.d.ts +0 -18
- package/dist/components/radio/components/radio.d.ts +0 -17
- package/dist/components/radio/index.d.ts +0 -3
- package/dist/components/rating/__stories__/rating.stories.d.ts +0 -7
- package/dist/components/rating/components/rating.d.ts +0 -6
- package/dist/components/rating/index.d.ts +0 -2
- package/dist/components/select/__stories__/select.stories.d.ts +0 -10
- package/dist/components/select/components/select-async-creatable.d.ts +0 -5
- package/dist/components/select/components/select-async.d.ts +0 -6
- package/dist/components/select/components/select-creatable.d.ts +0 -5
- package/dist/components/select/components/select-wrapper.d.ts +0 -6
- package/dist/components/select/components/select.d.ts +0 -5
- package/dist/components/select/components/types/select.types.d.ts +0 -3
- package/dist/components/select/components/utils.d.ts +0 -26
- package/dist/components/select/index.d.ts +0 -8
- package/dist/components/switch/__stories__/switch.stories.d.ts +0 -10
- package/dist/components/switch/components/switch.d.ts +0 -18
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -8
- package/dist/components/tabs/components/tab.d.ts +0 -12
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/text/index.d.ts +0 -1
- package/dist/components/toast/__stories__/toast.stories.d.ts +0 -12
- package/dist/components/toast/components/toast.d.ts +0 -21
- package/dist/components/toast/index.d.ts +0 -1
- package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -7
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -9
- package/dist/components/uploader/components/uploader.d.ts +0 -12
- package/dist/components/uploader/constants.d.ts +0 -8
- package/dist/components/uploader/index.d.ts +0 -2
- package/dist/config/__stories__/foundations.stories.d.ts +0 -15
- package/dist/config/__stories__/globals.stories.d.ts +0 -10
- package/dist/config/index.d.ts +0 -1
- package/dist/config/theme/components/accordion.d.ts +0 -53
- package/dist/config/theme/components/alert.d.ts +0 -69
- package/dist/config/theme/components/badge.d.ts +0 -3
- package/dist/config/theme/components/button.d.ts +0 -3
- package/dist/config/theme/components/card.d.ts +0 -18
- package/dist/config/theme/components/checkbox.d.ts +0 -101
- package/dist/config/theme/components/chips.d.ts +0 -34
- package/dist/config/theme/components/form-label.d.ts +0 -20
- package/dist/config/theme/components/index.d.ts +0 -16
- package/dist/config/theme/components/input.d.ts +0 -101
- package/dist/config/theme/components/loader.d.ts +0 -85
- package/dist/config/theme/components/popover.d.ts +0 -3
- package/dist/config/theme/components/radio.d.ts +0 -102
- package/dist/config/theme/components/switch.d.ts +0 -75
- package/dist/config/theme/components/table.d.ts +0 -180
- package/dist/config/theme/components/tabs.d.ts +0 -30
- package/dist/config/theme/components/textarea.d.ts +0 -55
- package/dist/config/theme/foundations/index.d.ts +0 -5
- package/dist/config/theme/foundations/radius.d.ts +0 -8
- package/dist/config/theme/foundations/shadows.d.ts +0 -15
- package/dist/config/theme/foundations/sizes.d.ts +0 -66
- package/dist/config/theme/foundations/spacing.d.ts +0 -42
- package/dist/config/theme/foundations/typography.d.ts +0 -191
- package/dist/config/theme/index.d.ts +0 -1
- package/dist/config/theme/themeConfiguration.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useFetcher.d.ts +0 -4
- package/dist/interfaces/common.d.ts +0 -17
- package/dist/internal-ui.cjs.development.js +0 -6119
- package/dist/internal-ui.cjs.development.js.map +0 -1
- package/dist/internal-ui.cjs.production.min.js +0 -38
- package/dist/internal-ui.cjs.production.min.js.map +0 -1
- package/dist/internal-ui.esm.js +0 -5082
- package/dist/internal-ui.esm.js.map +0 -1
- package/dist/provider/__stories__/provider.stories.d.ts +0 -13
- package/dist/provider/components/provider.d.ts +0 -7
- package/dist/provider/index.d.ts +0 -3
- package/dist/provider/types.d.ts +0 -14
package/dist/index.mjs
CHANGED
@@ -920,13 +920,12 @@ var getCommonPinningStyles = (column) => {
|
|
920
920
|
"&:after": {
|
921
921
|
content: "''",
|
922
922
|
position: "absolute",
|
923
|
-
width: "
|
924
|
-
height: "100%",
|
923
|
+
width: "30px",
|
925
924
|
right: "0px",
|
925
|
+
bottom: "-1px",
|
926
926
|
top: 0,
|
927
|
-
|
928
|
-
boxShadow: "
|
929
|
-
clipPath: "inset(0px -38px 0px 0px)"
|
927
|
+
transform: "translateX(100%)",
|
928
|
+
boxShadow: "inset 14px 0px 20px -10px #00000010"
|
930
929
|
}
|
931
930
|
} : {},
|
932
931
|
...isFirstRightPinnedColumn ? {
|
@@ -934,13 +933,12 @@ var getCommonPinningStyles = (column) => {
|
|
934
933
|
"&:after": {
|
935
934
|
content: "''",
|
936
935
|
position: "absolute",
|
937
|
-
width: "
|
938
|
-
height: "100%",
|
936
|
+
width: "30px",
|
939
937
|
left: "0%",
|
940
938
|
top: 0,
|
941
|
-
|
942
|
-
|
943
|
-
|
939
|
+
bottom: "-1px",
|
940
|
+
transform: "translateX(-100%)",
|
941
|
+
boxShadow: "inset -14px 0px 20px -10px #00000010"
|
944
942
|
}
|
945
943
|
} : {}
|
946
944
|
};
|
@@ -3965,6 +3963,7 @@ __export(components_exports, {
|
|
3965
3963
|
Input: () => input_default,
|
3966
3964
|
LoaderStyle: () => loader_default2,
|
3967
3965
|
Modal: () => modal_default,
|
3966
|
+
Popover: () => popover_default,
|
3968
3967
|
Radio: () => radio_default,
|
3969
3968
|
Switch: () => switch_default2,
|
3970
3969
|
Table: () => table_default,
|
@@ -4905,11 +4904,23 @@ var Modal3 = defineStyleConfig6({
|
|
4905
4904
|
});
|
4906
4905
|
var modal_default = Modal3;
|
4907
4906
|
|
4908
|
-
// src/config/theme/components/
|
4909
|
-
import {
|
4907
|
+
// src/config/theme/components/popover.ts
|
4908
|
+
import { popoverAnatomy as parts4 } from "@chakra-ui/anatomy";
|
4910
4909
|
import { createMultiStyleConfigHelpers as createMultiStyleConfigHelpers5 } from "@chakra-ui/react";
|
4911
|
-
var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = createMultiStyleConfigHelpers5(
|
4910
|
+
var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = createMultiStyleConfigHelpers5(parts4.keys);
|
4912
4911
|
var baseStyle6 = definePartsStyle5({
|
4912
|
+
content: {
|
4913
|
+
bg: "white"
|
4914
|
+
}
|
4915
|
+
});
|
4916
|
+
var popoverTheme = defineMultiStyleConfig5({ baseStyle: baseStyle6 });
|
4917
|
+
var popover_default = popoverTheme;
|
4918
|
+
|
4919
|
+
// src/config/theme/components/radio.ts
|
4920
|
+
import { radioAnatomy } from "@chakra-ui/anatomy";
|
4921
|
+
import { createMultiStyleConfigHelpers as createMultiStyleConfigHelpers6 } from "@chakra-ui/react";
|
4922
|
+
var { definePartsStyle: definePartsStyle6, defineMultiStyleConfig: defineMultiStyleConfig6 } = createMultiStyleConfigHelpers6(radioAnatomy.keys);
|
4923
|
+
var baseStyle7 = definePartsStyle6({
|
4913
4924
|
control: {
|
4914
4925
|
border: "1px solid",
|
4915
4926
|
width: "16px",
|
@@ -4925,7 +4936,7 @@ var baseStyle6 = definePartsStyle5({
|
|
4925
4936
|
}
|
4926
4937
|
}
|
4927
4938
|
});
|
4928
|
-
var errors2 =
|
4939
|
+
var errors2 = definePartsStyle6({
|
4929
4940
|
control: {
|
4930
4941
|
borderColor: "danger.500",
|
4931
4942
|
_checked: {
|
@@ -4960,7 +4971,7 @@ var errors2 = definePartsStyle5({
|
|
4960
4971
|
fontSize: "12px"
|
4961
4972
|
}
|
4962
4973
|
});
|
4963
|
-
var unstyled3 =
|
4974
|
+
var unstyled3 = definePartsStyle6({
|
4964
4975
|
control: {
|
4965
4976
|
borderColor: "neutral.600",
|
4966
4977
|
_checked: {
|
@@ -4999,8 +5010,8 @@ var variants4 = {
|
|
4999
5010
|
errors: errors2,
|
5000
5011
|
unstyled: unstyled3
|
5001
5012
|
};
|
5002
|
-
var Radio2 =
|
5003
|
-
baseStyle:
|
5013
|
+
var Radio2 = defineMultiStyleConfig6({
|
5014
|
+
baseStyle: baseStyle7,
|
5004
5015
|
variants: variants4,
|
5005
5016
|
defaultProps: {
|
5006
5017
|
variant: "unstyled"
|
@@ -5009,10 +5020,10 @@ var Radio2 = defineMultiStyleConfig5({
|
|
5009
5020
|
var radio_default = Radio2;
|
5010
5021
|
|
5011
5022
|
// src/config/theme/components/switch.ts
|
5012
|
-
import { switchAnatomy as
|
5013
|
-
import { createMultiStyleConfigHelpers as
|
5023
|
+
import { switchAnatomy as parts5 } from "@chakra-ui/anatomy";
|
5024
|
+
import { createMultiStyleConfigHelpers as createMultiStyleConfigHelpers7, defineStyle as defineStyle4 } from "@chakra-ui/styled-system";
|
5014
5025
|
import { calc, cssVar as cssVar2 } from "@chakra-ui/theme-tools";
|
5015
|
-
var { defineMultiStyleConfig:
|
5026
|
+
var { defineMultiStyleConfig: defineMultiStyleConfig7, definePartsStyle: definePartsStyle7 } = createMultiStyleConfigHelpers7(parts5.keys);
|
5016
5027
|
var $width = cssVar2("switch-track-width");
|
5017
5028
|
var $height = cssVar2("switch-track-height");
|
5018
5029
|
var $diff = cssVar2("switch-track-diff");
|
@@ -5029,7 +5040,7 @@ var baseStyleThumb = defineStyle4({
|
|
5029
5040
|
transform: `translateX(${$translateX.reference})`
|
5030
5041
|
}
|
5031
5042
|
});
|
5032
|
-
var
|
5043
|
+
var baseStyle8 = definePartsStyle7(() => ({
|
5033
5044
|
container: {
|
5034
5045
|
[$diff.variable]: diffValue,
|
5035
5046
|
[$translateX.variable]: $diff.reference,
|
@@ -5054,7 +5065,7 @@ var baseStyle7 = definePartsStyle6(() => ({
|
|
5054
5065
|
thumb: baseStyleThumb
|
5055
5066
|
}));
|
5056
5067
|
var sizes3 = {
|
5057
|
-
sm:
|
5068
|
+
sm: definePartsStyle7({
|
5058
5069
|
container: {
|
5059
5070
|
[$width.variable]: "1.875rem",
|
5060
5071
|
[$height.variable]: "0.75rem"
|
@@ -5064,7 +5075,7 @@ var sizes3 = {
|
|
5064
5075
|
[$height.variable]: "0.75rem"
|
5065
5076
|
}
|
5066
5077
|
}),
|
5067
|
-
md:
|
5078
|
+
md: definePartsStyle7({
|
5068
5079
|
container: {
|
5069
5080
|
[$width.variable]: "2.375rem",
|
5070
5081
|
[$height.variable]: "1rem"
|
@@ -5074,7 +5085,7 @@ var sizes3 = {
|
|
5074
5085
|
[$height.variable]: "1rem"
|
5075
5086
|
}
|
5076
5087
|
}),
|
5077
|
-
lg:
|
5088
|
+
lg: definePartsStyle7({
|
5078
5089
|
container: {
|
5079
5090
|
[$width.variable]: "3.25rem",
|
5080
5091
|
[$height.variable]: "1.375rem"
|
@@ -5085,8 +5096,8 @@ var sizes3 = {
|
|
5085
5096
|
}
|
5086
5097
|
})
|
5087
5098
|
};
|
5088
|
-
var Switch3 =
|
5089
|
-
baseStyle:
|
5099
|
+
var Switch3 = defineMultiStyleConfig7({
|
5100
|
+
baseStyle: baseStyle8,
|
5090
5101
|
sizes: sizes3,
|
5091
5102
|
defaultProps: {
|
5092
5103
|
size: "md"
|
@@ -5095,14 +5106,15 @@ var Switch3 = defineMultiStyleConfig6({
|
|
5095
5106
|
var switch_default2 = Switch3;
|
5096
5107
|
|
5097
5108
|
// src/config/theme/components/table.ts
|
5098
|
-
import { tableAnatomy as
|
5099
|
-
import { createMultiStyleConfigHelpers as
|
5109
|
+
import { tableAnatomy as parts6 } from "@chakra-ui/anatomy";
|
5110
|
+
import { createMultiStyleConfigHelpers as createMultiStyleConfigHelpers8, defineStyle as defineStyle5 } from "@chakra-ui/styled-system";
|
5100
5111
|
import { mode as mode2 } from "@chakra-ui/theme-tools";
|
5101
|
-
var { defineMultiStyleConfig:
|
5102
|
-
var
|
5112
|
+
var { defineMultiStyleConfig: defineMultiStyleConfig8, definePartsStyle: definePartsStyle8 } = createMultiStyleConfigHelpers8(parts6.keys);
|
5113
|
+
var baseStyle9 = definePartsStyle8({
|
5103
5114
|
table: {
|
5104
5115
|
fontVariantNumeric: "lining-nums tabular-nums",
|
5105
|
-
borderCollapse: "
|
5116
|
+
borderCollapse: "separate",
|
5117
|
+
borderSpacing: 0,
|
5106
5118
|
width: "full",
|
5107
5119
|
tableLayout: "fixed"
|
5108
5120
|
},
|
@@ -5128,15 +5140,25 @@ var baseStyle8 = definePartsStyle7({
|
|
5128
5140
|
tr: {
|
5129
5141
|
cursor: "pointer",
|
5130
5142
|
_hover: {
|
5131
|
-
|
5143
|
+
td: {
|
5144
|
+
backgroundColor: "neutral.200",
|
5145
|
+
"&>div": {
|
5146
|
+
backgroundColor: "neutral.200"
|
5147
|
+
}
|
5148
|
+
}
|
5132
5149
|
},
|
5133
5150
|
'&[data-active="true"]': {
|
5134
|
-
|
5151
|
+
td: {
|
5152
|
+
backgroundColor: "neutral.100",
|
5153
|
+
"&>div": {
|
5154
|
+
backgroundColor: "neutral.200"
|
5155
|
+
}
|
5156
|
+
}
|
5135
5157
|
}
|
5136
5158
|
}
|
5137
5159
|
},
|
5138
5160
|
td: {
|
5139
|
-
backgroundColor:
|
5161
|
+
// backgroundColor: 'neutral.50',
|
5140
5162
|
textAlign: "start",
|
5141
5163
|
height: "56px",
|
5142
5164
|
"&:first-of-type": {
|
@@ -5161,7 +5183,7 @@ var numericStyles = defineStyle5({
|
|
5161
5183
|
textAlign: "end"
|
5162
5184
|
}
|
5163
5185
|
});
|
5164
|
-
var variantSimple =
|
5186
|
+
var variantSimple = definePartsStyle8((props) => {
|
5165
5187
|
const { colorScheme: c } = props;
|
5166
5188
|
return {
|
5167
5189
|
th: {
|
@@ -5187,7 +5209,7 @@ var variantSimple = definePartsStyle7((props) => {
|
|
5187
5209
|
}
|
5188
5210
|
};
|
5189
5211
|
});
|
5190
|
-
var variantStripe =
|
5212
|
+
var variantStripe = definePartsStyle8((props) => {
|
5191
5213
|
const { colorScheme: c } = props;
|
5192
5214
|
return {
|
5193
5215
|
th: {
|
@@ -5232,7 +5254,7 @@ var variants5 = {
|
|
5232
5254
|
unstyled: defineStyle5({})
|
5233
5255
|
};
|
5234
5256
|
var sizes4 = {
|
5235
|
-
sm:
|
5257
|
+
sm: definePartsStyle8({
|
5236
5258
|
th: {
|
5237
5259
|
px: "2",
|
5238
5260
|
py: "4",
|
@@ -5251,7 +5273,7 @@ var sizes4 = {
|
|
5251
5273
|
fontSize: "xs"
|
5252
5274
|
}
|
5253
5275
|
}),
|
5254
|
-
md:
|
5276
|
+
md: definePartsStyle8({
|
5255
5277
|
th: {
|
5256
5278
|
px: "2",
|
5257
5279
|
py: "4",
|
@@ -5269,7 +5291,7 @@ var sizes4 = {
|
|
5269
5291
|
fontSize: "sm"
|
5270
5292
|
}
|
5271
5293
|
}),
|
5272
|
-
lg:
|
5294
|
+
lg: definePartsStyle8({
|
5273
5295
|
th: {
|
5274
5296
|
px: "2",
|
5275
5297
|
py: "4",
|
@@ -5288,8 +5310,8 @@ var sizes4 = {
|
|
5288
5310
|
}
|
5289
5311
|
})
|
5290
5312
|
};
|
5291
|
-
var tableTheme =
|
5292
|
-
baseStyle:
|
5313
|
+
var tableTheme = defineMultiStyleConfig8({
|
5314
|
+
baseStyle: baseStyle9,
|
5293
5315
|
variants: variants5,
|
5294
5316
|
sizes: sizes4,
|
5295
5317
|
defaultProps: {
|
@@ -5301,10 +5323,10 @@ var tableTheme = defineMultiStyleConfig7({
|
|
5301
5323
|
var table_default = tableTheme;
|
5302
5324
|
|
5303
5325
|
// src/config/theme/components/tabs.ts
|
5304
|
-
import { tabsAnatomy as
|
5305
|
-
import { createMultiStyleConfigHelpers as
|
5306
|
-
var { defineMultiStyleConfig:
|
5307
|
-
var variantLine =
|
5326
|
+
import { tabsAnatomy as parts7 } from "@chakra-ui/anatomy";
|
5327
|
+
import { createMultiStyleConfigHelpers as createMultiStyleConfigHelpers9 } from "@chakra-ui/styled-system";
|
5328
|
+
var { defineMultiStyleConfig: defineMultiStyleConfig9, definePartsStyle: definePartsStyle9 } = createMultiStyleConfigHelpers9(parts7.keys);
|
5329
|
+
var variantLine = definePartsStyle9((props) => {
|
5308
5330
|
const { orientation } = props;
|
5309
5331
|
const isVertical = orientation === "vertical";
|
5310
5332
|
const borderProp = isVertical ? "borderStart" : "borderBottom";
|
@@ -5321,12 +5343,12 @@ var variantLine = definePartsStyle8((props) => {
|
|
5321
5343
|
}
|
5322
5344
|
};
|
5323
5345
|
});
|
5324
|
-
var variantUnstyled =
|
5346
|
+
var variantUnstyled = definePartsStyle9({});
|
5325
5347
|
var variants6 = {
|
5326
5348
|
line: variantLine,
|
5327
5349
|
unstyled: variantUnstyled
|
5328
5350
|
};
|
5329
|
-
var tabsTheme =
|
5351
|
+
var tabsTheme = defineMultiStyleConfig9({
|
5330
5352
|
variants: variants6,
|
5331
5353
|
defaultProps: {
|
5332
5354
|
size: "md",
|
@@ -5411,12 +5433,12 @@ var textarea_default2 = Textarea;
|
|
5411
5433
|
// src/config/theme/components/tooltip.ts
|
5412
5434
|
import { cssVar as cssVar3, defineStyleConfig as defineStyleConfig8 } from "@chakra-ui/react";
|
5413
5435
|
var $arrowBg = cssVar3("popper-arrow-bg");
|
5414
|
-
var
|
5436
|
+
var baseStyle10 = {
|
5415
5437
|
bg: "neutral.700",
|
5416
5438
|
fontSize: "text.sm",
|
5417
5439
|
[$arrowBg.variable]: "var(--chakra-colors-neutral-700)"
|
5418
5440
|
};
|
5419
|
-
var Tooltip2 = defineStyleConfig8({ baseStyle:
|
5441
|
+
var Tooltip2 = defineStyleConfig8({ baseStyle: baseStyle10 });
|
5420
5442
|
var tooltip_default = Tooltip2;
|
5421
5443
|
|
5422
5444
|
// src/config/theme/themeConfiguration.ts
|