@televet/kibble-ui 1.1.0-beta.1 → 1.1.0-beta.2

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/build/index.js CHANGED
@@ -9,63 +9,39 @@ var styledComponents = require('styled-components');
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
11
11
  function _interopNamespace(e) {
12
- if (e && e.__esModule) return e;
13
- var n = Object.create(null);
14
- if (e) {
15
- Object.keys(e).forEach(function (k) {
16
- if (k !== 'default') {
17
- var d = Object.getOwnPropertyDescriptor(e, k);
18
- Object.defineProperty(n, k, d.get ? d : {
19
- enumerable: true,
20
- get: function () { return e[k]; }
21
- });
22
- }
12
+ if (e && e.__esModule) return e;
13
+ var n = Object.create(null);
14
+ if (e) {
15
+ Object.keys(e).forEach(function (k) {
16
+ if (k !== 'default') {
17
+ var d = Object.getOwnPropertyDescriptor(e, k);
18
+ Object.defineProperty(n, k, d.get ? d : {
19
+ enumerable: true,
20
+ get: function () { return e[k]; }
23
21
  });
24
- }
25
- n["default"] = e;
26
- return Object.freeze(n);
22
+ }
23
+ });
24
+ }
25
+ n["default"] = e;
26
+ return Object.freeze(n);
27
27
  }
28
28
 
29
29
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
30
30
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
31
31
 
32
- /*! *****************************************************************************
33
- Copyright (c) Microsoft Corporation.
34
-
35
- Permission to use, copy, modify, and/or distribute this software for any
36
- purpose with or without fee is hereby granted.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
39
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
41
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
42
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
43
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
44
- PERFORMANCE OF THIS SOFTWARE.
45
- ***************************************************************************** */
46
-
47
- var __assign = function() {
48
- __assign = Object.assign || function __assign(t) {
49
- for (var s, i = 1, n = arguments.length; i < n; i++) {
50
- s = arguments[i];
51
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
52
- }
53
- return t;
54
- };
55
- return __assign.apply(this, arguments);
56
- };
57
-
58
- function __rest(s, e) {
59
- var t = {};
60
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
61
- t[p] = s[p];
62
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
63
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
64
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
65
- t[p[i]] = s[p[i]];
66
- }
67
- return t;
68
- }
32
+ var DrawerConfig = {
33
+ variants: {
34
+ alwaysOpen: {
35
+ parts: ['dialog, dialogContainer'],
36
+ dialog: {
37
+ pointerEvents: 'auto',
38
+ },
39
+ dialogContainer: {
40
+ pointerEvents: 'none',
41
+ },
42
+ },
43
+ },
44
+ };
69
45
 
70
46
  const SvgAlertCircle = ({ color = "currentColor", height = "24px", width = "24px" }, ref) => (React__namespace.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: width, height: height, ref: ref },
71
47
  React__namespace.createElement("path", { d: "M12 3a9 9 0 0 0-9 9 9 9 0 0 0 9 9 9 9 0 0 0 9-9 9 9 0 0 0-9-9Zm.9 12.6a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0Zm0-3.15a.9.9 0 1 1-1.8 0V8.4a.9.9 0 1 1 1.8 0v4.05Z", fill: color })));
@@ -660,8 +636,7 @@ var IconMap = {
660
636
  collapse: ForwardRef$1H,
661
637
  colorPicker: ForwardRef$Y,
662
638
  compose: ForwardRef$c,
663
- conversationClinicians: ForwardRef$1a,
664
- conversationParents: ForwardRef$1d,
639
+ conversation: ForwardRef$1d,
665
640
  conversations: ForwardRef$1q,
666
641
  conversationsOutlined: ForwardRef$1p,
667
642
  cow: ForwardRef$1M,
@@ -774,468 +749,26 @@ var Icon = React.forwardRef(function (_a, ref) {
774
749
  });
775
750
  Icon.displayName = 'Icon';
776
751
 
777
- var camelCaseToLabel = function (s) {
778
- return s.replace(/([A-Z])/g, ' $1').replace(/^\w/, function (c) { return c.toUpperCase(); });
752
+ var _path$k, _path2$7;
753
+
754
+ function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
755
+
756
+ var SvgTeal = function SvgTeal(props) {
757
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
758
+ width: 200,
759
+ height: 44,
760
+ fill: "none",
761
+ xmlns: "http://www.w3.org/2000/svg"
762
+ }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
763
+ d: "M176.773 35.166c-2.461 4.878-7.25 7.877-13.739 7.877-9.219 0-15.708-6.4-15.708-15.574 0-8.95 6.579-15.574 15.35-15.574 8.951 0 15.127 6.534 15.127 15.842 0 1.03-.045 1.79-.135 2.149h-21.749c.313 3.49 3.49 5.996 7.115 5.996 3.222 0 4.968-1.387 6.355-3.58l7.384 2.864Zm-7.563-11.009c-.358-3.177-3.043-5.46-6.579-5.46-3.49 0-6.31 2.64-6.668 5.46h13.247ZM192.482 3.929v8.682H200v7.205h-7.518v10.875c0 3.178 1.387 4.43 4.251 4.43 1.074 0 2.282-.313 3.222-.894v7.563c-1.298.671-3.311 1.208-6.131 1.208-6.221 0-10.069-3.849-10.069-10.427V19.86h-4.207v-7.205h4.207V3.974h8.727v-.045ZM139.047.035c-3.715.18-6.713 3.178-6.892 6.892-.179 4.162 3.133 7.564 7.205 7.564h.179l.134 5.236c0 .492.716.671.94.224 0 0 4.699-8.862 4.744-8.951.895-1.79 1.253-2.327 1.253-3.76 0-4.072-3.446-7.384-7.563-7.205ZM129.022 23.396h-.045L117.521.037h-10.696l17.23 33.52 4.878 9.442 4.922-9.622-4.833-9.98Z",
764
+ fill: "#050E5F"
765
+ })), _path2$7 || (_path2$7 = /*#__PURE__*/React__namespace.createElement("path", {
766
+ d: "M0 .26h31.193v8.413H20.139v33.564h-9.04V8.673H0V.259ZM58.537 35.166c-2.462 4.879-7.25 7.877-13.74 7.877-9.219 0-15.708-6.4-15.708-15.574 0-8.95 6.579-15.574 15.35-15.574 8.951 0 15.127 6.534 15.127 15.843 0 1.029-.045 1.79-.134 2.148h-21.75c.313 3.49 3.49 5.997 7.115 5.997 3.223 0 4.968-1.388 6.355-3.58l7.385 2.863Zm-7.564-11.009c-.358-3.177-3.043-5.46-6.578-5.46-3.491 0-6.31 2.64-6.668 5.46h13.246ZM73.216.26v41.977h-8.772V.26h8.772ZM107.675 35.166c-2.461 4.879-7.25 7.877-13.739 7.877-9.219 0-15.708-6.4-15.708-15.574 0-8.95 6.579-15.574 15.35-15.574 8.951 0 15.126 6.534 15.126 15.843 0 1.029-.044 1.79-.134 2.148H86.82c.314 3.49 3.491 5.997 7.116 5.997 3.222 0 4.968-1.388 6.355-3.58l7.384 2.863Zm-7.518-11.009c-.358-3.177-3.043-5.46-6.579-5.46-3.49 0-6.31 2.64-6.668 5.46h13.247Z",
767
+ fill: "#39ADC3"
768
+ })));
779
769
  };
780
770
 
781
- var Button = React.forwardRef(function (props, ref) {
782
- var components = useTheme().components;
783
- var _a = components.Button[props.variant || 'primary'], variant = _a.variant, light = _a.light, dark = _a.dark;
784
- var bg = react.useColorModeValue(light.default, dark.default);
785
- var color = react.useColorModeValue(light.content, dark.content);
786
- var borderColor = react.useColorModeValue(light.border, dark.border);
787
- var p = __assign(__assign({}, props), { variant: variant, bg: bg, color: color, borderColor: borderColor });
788
- var hoverClass = {
789
- bg: react.useColorModeValue(light.hover, dark.hover),
790
- };
791
- var activeClass = {
792
- bg: react.useColorModeValue(light.active, dark.active),
793
- transform: 'scale(0.98)',
794
- };
795
- if (p.iconName) {
796
- var ButtonIcon = React__default["default"].createElement(Icon, { size: p.size, name: p.iconName });
797
- if (!p.children) {
798
- var label = camelCaseToLabel(p.iconName);
799
- return (React__default["default"].createElement(react.IconButton, __assign({ ref: ref, _hover: hoverClass, _active: activeClass, "aria-label": label, icon: ButtonIcon }, p)));
800
- }
801
- else {
802
- var position = p.iconPosition === 'right' ? 'rightIcon' : 'leftIcon';
803
- p[position] = ButtonIcon;
804
- }
805
- }
806
- return (React__default["default"].createElement(react.Button, __assign({ ref: ref, _hover: hoverClass, _active: activeClass }, p), props.children));
807
- });
808
- Button.displayName = 'Button';
809
-
810
- var baseColors = {
811
- comet: {
812
- 50: '#F0F1F5',
813
- 100: '#D5D7E2',
814
- 200: '#BABECF',
815
- 300: '#9FA5BC',
816
- 400: '#838BA9',
817
- 500: '#687297',
818
- 600: '#575D7C',
819
- 700: '#3F445A',
820
- 800: '#2A2D3C',
821
- 900: '#15171E',
822
- },
823
- teal: {
824
- 50: '#F7FAFC',
825
- 100: '#EBF9FB',
826
- 200: '#DCF6FB',
827
- 300: '#AFE1EC',
828
- 400: '#78CBDC',
829
- 500: '#39ADC3',
830
- 600: '#3CA0B4',
831
- 700: '#2E8C9E',
832
- 800: '#236976',
833
- 900: '#17464F',
834
- },
835
- blue: {
836
- 50: '#E7E9FE',
837
- 100: '#BBC2FB',
838
- 200: '#909AF9',
839
- 300: '#6473F7',
840
- 400: '#384BF5',
841
- 500: '#0D24F2',
842
- 600: '#0A1DC2',
843
- 700: '#000B8E',
844
- 800: '#050E5F',
845
- 900: '#030730',
846
- },
847
- red: {
848
- 50: '#FFF5F5',
849
- 100: '#FED7D7',
850
- 200: '#FEB2B2',
851
- 300: '#FC8181',
852
- 400: '#F56565',
853
- 500: '#E01F1F',
854
- 600: '#C53030',
855
- 700: '#9B2C2C',
856
- 800: '#822727',
857
- 900: '#63171B',
858
- },
859
- orange: {
860
- 50: '#FFFAF0',
861
- 100: '#FEEBC8',
862
- 200: '#FBD38D',
863
- 300: '#F6AD55',
864
- 400: '#ED8936',
865
- 500: '#DD6B20',
866
- 600: '#C05621',
867
- 700: '#9C4221',
868
- 800: '#7B341E',
869
- 900: '#652B19',
870
- },
871
- yellow: {
872
- 50: '#FFFFF0',
873
- 100: '#FEEBCB',
874
- 200: '#FAF089',
875
- 300: '#F6E05E',
876
- 400: '#ECC94B',
877
- 500: '#D69E2E',
878
- 600: '#B7791F',
879
- 700: '#975A16',
880
- 800: '#744210',
881
- 900: '#5F370E',
882
- },
883
- green: {
884
- 50: '#F0FFF4',
885
- 100: '#C6F6D5',
886
- 200: '#9AE6B4',
887
- 300: '#68D391',
888
- 400: '#48BB78',
889
- 500: '#38A169',
890
- 600: '#25855A',
891
- 700: '#276749',
892
- 800: '#22543D',
893
- 900: '#1C4532',
894
- },
895
- transparent: 'transparent',
896
- current: 'currentColor',
897
- black: '#000000',
898
- white: '#FFFFFF',
899
- whiteAlpha: {
900
- 50: 'rgba(255, 255, 255, 0.04)',
901
- 100: 'rgba(255, 255, 255, 0.06)',
902
- 200: 'rgba(255, 255, 255, 0.08)',
903
- 300: 'rgba(255, 255, 255, 0.16)',
904
- 400: 'rgba(255, 255, 255, 0.24)',
905
- 500: 'rgba(255, 255, 255, 0.36)',
906
- 600: 'rgba(255, 255, 255, 0.48)',
907
- 700: 'rgba(255, 255, 255, 0.64)',
908
- 800: 'rgba(255, 255, 255, 0.80)',
909
- 900: 'rgba(255, 255, 255, 0.92)',
910
- },
911
- blackAlpha: {
912
- 50: 'rgba(0, 0, 0, 0.04)',
913
- 100: 'rgba(0, 0, 0, 0.06)',
914
- 200: 'rgba(0, 0, 0, 0.08)',
915
- 300: 'rgba(0, 0, 0, 0.16)',
916
- 400: 'rgba(0, 0, 0, 0.24)',
917
- 500: 'rgba(0, 0, 0, 0.36)',
918
- 600: 'rgba(0, 0, 0, 0.48)',
919
- 700: 'rgba(0, 0, 0, 0.64)',
920
- 800: 'rgba(0, 0, 0, 0.80)',
921
- 900: 'rgba(0, 0, 0, 0.92)',
922
- },
923
- gray: {
924
- 50: '#F9F9FA',
925
- 100: '#EBEEEF',
926
- 200: '#DDE2E3',
927
- 300: '#CDD4D6',
928
- 400: '#BCC5C8',
929
- 500: '#A9B5B8',
930
- 600: '#94A2A6',
931
- 700: '#7A8C90',
932
- 800: '#5B7074',
933
- 900: '#354144',
934
- },
935
- };
936
- var semanticTokens = {
937
- text: {
938
- onLight: baseColors.comet[700],
939
- linkOnLight: baseColors.teal[600],
940
- onLightSubtle: baseColors.gray[800],
941
- onDark: baseColors.white,
942
- headline: baseColors.blue[800],
943
- placeholder: baseColors.blackAlpha[500],
944
- success: baseColors.green[600],
945
- warning: baseColors.yellow[600],
946
- error: baseColors.red[600],
947
- },
948
- background: {
949
- light: baseColors.gray[300],
950
- grayLight: baseColors.gray[50],
951
- grayDark: baseColors.gray[300],
952
- tealLight: baseColors.teal[50],
953
- dark: baseColors.blue[800],
954
- table: baseColors.comet[50],
955
- overlay: baseColors.blackAlpha[300],
956
- info: baseColors.teal[200],
957
- error: baseColors.red[100],
958
- warning: baseColors.yellow[100],
959
- success: baseColors.green[100],
960
- },
961
- border: {
962
- default: baseColors.gray[200],
963
- dark: baseColors.comet[700],
964
- focus: baseColors.teal[600],
965
- info: baseColors.teal[600],
966
- error: baseColors.red[500],
967
- warning: baseColors.yellow[500],
968
- success: baseColors.green[400],
969
- },
970
- divider: {
971
- onLight: baseColors.gray[100],
972
- },
973
- status: {
974
- open: baseColors.blue[300],
975
- confirmed: baseColors.teal[500],
976
- success: baseColors.green[400],
977
- warning: baseColors.yellow[400],
978
- action: baseColors.orange[400],
979
- negative: baseColors.red[300],
980
- error: baseColors.red[500],
981
- archived: baseColors.gray[800],
982
- closed: baseColors.gray[900],
983
- },
984
- general: {
985
- brand: baseColors.teal[500],
986
- error: baseColors.red[500],
987
- },
988
- };
989
- var adaptiveColorTokens = {
990
- icon: {
991
- light: {
992
- currentColor: 'currentColor',
993
- default: baseColors.comet[700],
994
- subtle: baseColors.gray[800],
995
- inactive: baseColors.gray[700],
996
- active: baseColors.teal[600],
997
- success: baseColors.green[600],
998
- warning: baseColors.yellow[600],
999
- error: baseColors.red[600],
1000
- },
1001
- dark: {
1002
- currentColor: 'currentColor',
1003
- default: baseColors.white,
1004
- subtle: baseColors.gray[200],
1005
- inactive: baseColors.gray[400],
1006
- active: baseColors.teal[400],
1007
- success: baseColors.green[400],
1008
- warning: baseColors.yellow[300],
1009
- error: baseColors.red[300],
1010
- },
1011
- },
1012
- };
1013
- var colors = __assign(__assign(__assign({}, baseColors), semanticTokens), adaptiveColorTokens);
1014
-
1015
- var ButtonConfig = {
1016
- primary: {
1017
- variant: 'solid',
1018
- light: {
1019
- content: semanticTokens.text.onDark,
1020
- default: baseColors.teal['600'],
1021
- hover: baseColors.teal['700'],
1022
- active: baseColors.teal['800'],
1023
- border: baseColors.transparent,
1024
- },
1025
- dark: {
1026
- content: semanticTokens.text.onLight,
1027
- default: baseColors.white,
1028
- hover: baseColors.teal['100'],
1029
- active: baseColors.teal['200'],
1030
- border: baseColors.transparent,
1031
- },
1032
- },
1033
- primaryDestructive: {
1034
- variant: 'solid',
1035
- light: {
1036
- content: semanticTokens.text.onDark,
1037
- default: baseColors.red['500'],
1038
- hover: baseColors.red['600'],
1039
- active: baseColors.red['700'],
1040
- border: baseColors.transparent,
1041
- },
1042
- dark: {
1043
- content: semanticTokens.text.onLight,
1044
- default: baseColors.red['200'],
1045
- hover: baseColors.red['100'],
1046
- active: baseColors.red['50'],
1047
- border: baseColors.transparent,
1048
- },
1049
- },
1050
- secondary: {
1051
- variant: 'outline',
1052
- light: {
1053
- content: semanticTokens.text.onLight,
1054
- default: baseColors.transparent,
1055
- hover: baseColors.teal['100'],
1056
- active: baseColors.teal['200'],
1057
- border: semanticTokens.border.dark,
1058
- },
1059
- dark: {
1060
- content: semanticTokens.text.onDark,
1061
- default: baseColors.transparent,
1062
- hover: baseColors.whiteAlpha['200'],
1063
- active: baseColors.whiteAlpha['300'],
1064
- border: semanticTokens.text.onDark,
1065
- },
1066
- },
1067
- secondaryDestructive: {
1068
- variant: 'outline',
1069
- light: {
1070
- content: semanticTokens.text.error,
1071
- default: baseColors.transparent,
1072
- hover: baseColors.red['100'],
1073
- active: baseColors.red['200'],
1074
- border: semanticTokens.border.error,
1075
- },
1076
- dark: {
1077
- content: baseColors.red['200'],
1078
- default: baseColors.transparent,
1079
- hover: baseColors.whiteAlpha['200'],
1080
- active: baseColors.whiteAlpha['300'],
1081
- border: baseColors.red['200'],
1082
- },
1083
- },
1084
- secondarySubtle: {
1085
- variant: 'outline',
1086
- light: {
1087
- content: semanticTokens.text.onLight,
1088
- default: baseColors.white,
1089
- hover: baseColors.gray['50'],
1090
- active: baseColors.gray['100'],
1091
- border: semanticTokens.border.default,
1092
- },
1093
- dark: {
1094
- content: semanticTokens.text.onDark,
1095
- default: baseColors.whiteAlpha['200'],
1096
- hover: baseColors.whiteAlpha['300'],
1097
- active: baseColors.whiteAlpha['400'],
1098
- border: semanticTokens.text.onDark,
1099
- },
1100
- },
1101
- secondarySubtleDestructive: {
1102
- variant: 'outline',
1103
- light: {
1104
- content: semanticTokens.text.error,
1105
- default: baseColors.white,
1106
- hover: baseColors.red['50'],
1107
- active: baseColors.red['100'],
1108
- border: semanticTokens.border.default,
1109
- },
1110
- dark: {
1111
- content: baseColors.red['300'],
1112
- default: baseColors.transparent,
1113
- hover: baseColors.whiteAlpha['200'],
1114
- active: baseColors.whiteAlpha['300'],
1115
- border: baseColors.whiteAlpha['500'],
1116
- },
1117
- },
1118
- tertiary: {
1119
- variant: 'solid',
1120
- light: {
1121
- content: semanticTokens.text.onLight,
1122
- default: baseColors.gray['100'],
1123
- hover: baseColors.gray['200'],
1124
- active: baseColors.gray['300'],
1125
- border: baseColors.transparent,
1126
- },
1127
- dark: {
1128
- content: semanticTokens.text.onDark,
1129
- default: baseColors.gray['700'],
1130
- hover: baseColors.gray['600'],
1131
- active: baseColors.gray['700'],
1132
- border: baseColors.transparent,
1133
- },
1134
- },
1135
- tertiaryDestructive: {
1136
- variant: 'solid',
1137
- light: {
1138
- content: semanticTokens.text.error,
1139
- default: baseColors.red['100'],
1140
- hover: baseColors.red['200'],
1141
- active: baseColors.red['300'],
1142
- border: baseColors.transparent,
1143
- },
1144
- dark: {
1145
- content: baseColors.red['300'],
1146
- default: baseColors.whiteAlpha['200'],
1147
- hover: baseColors.whiteAlpha['300'],
1148
- active: baseColors.whiteAlpha['400'],
1149
- border: baseColors.transparent,
1150
- },
1151
- },
1152
- ghost: {
1153
- variant: 'ghost',
1154
- light: {
1155
- content: semanticTokens.text.linkOnLight,
1156
- default: baseColors.transparent,
1157
- hover: baseColors.teal['100'],
1158
- active: baseColors.teal['200'],
1159
- border: baseColors.transparent,
1160
- },
1161
- dark: {
1162
- content: baseColors.teal['400'],
1163
- default: baseColors.transparent,
1164
- hover: baseColors.whiteAlpha['200'],
1165
- active: baseColors.whiteAlpha['300'],
1166
- border: baseColors.transparent,
1167
- },
1168
- },
1169
- ghostNeutral: {
1170
- variant: 'ghost',
1171
- light: {
1172
- content: semanticTokens.text.onLight,
1173
- default: baseColors.transparent,
1174
- hover: baseColors.blackAlpha['100'],
1175
- active: baseColors.blackAlpha['200'],
1176
- border: baseColors.transparent,
1177
- },
1178
- dark: {
1179
- content: semanticTokens.text.onDark,
1180
- default: baseColors.transparent,
1181
- hover: baseColors.whiteAlpha['200'],
1182
- active: baseColors.whiteAlpha['300'],
1183
- border: baseColors.transparent,
1184
- },
1185
- },
1186
- ghostDestructive: {
1187
- variant: 'ghost',
1188
- light: {
1189
- content: semanticTokens.text.error,
1190
- default: baseColors.transparent,
1191
- hover: baseColors.red['100'],
1192
- active: baseColors.red['200'],
1193
- border: baseColors.transparent,
1194
- },
1195
- dark: {
1196
- content: baseColors.red['300'],
1197
- default: baseColors.transparent,
1198
- hover: baseColors.whiteAlpha['200'],
1199
- active: baseColors.whiteAlpha['300'],
1200
- border: baseColors.transparent,
1201
- },
1202
- },
1203
- };
1204
-
1205
- var DrawerConfig = {
1206
- variants: {
1207
- alwaysOpen: {
1208
- parts: ['dialog, dialogContainer'],
1209
- dialog: {
1210
- pointerEvents: 'auto',
1211
- },
1212
- dialogContainer: {
1213
- pointerEvents: 'none',
1214
- },
1215
- },
1216
- },
1217
- };
1218
-
1219
- var _path$k, _path2$7;
1220
-
1221
- function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
1222
-
1223
- var SvgTeal = function SvgTeal(props) {
1224
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
1225
- width: 200,
1226
- height: 44,
1227
- fill: "none",
1228
- xmlns: "http://www.w3.org/2000/svg"
1229
- }, props), _path$k || (_path$k = /*#__PURE__*/React__namespace.createElement("path", {
1230
- d: "M176.773 35.166c-2.461 4.878-7.25 7.877-13.739 7.877-9.219 0-15.708-6.4-15.708-15.574 0-8.95 6.579-15.574 15.35-15.574 8.951 0 15.127 6.534 15.127 15.842 0 1.03-.045 1.79-.135 2.149h-21.749c.313 3.49 3.49 5.996 7.115 5.996 3.222 0 4.968-1.387 6.355-3.58l7.384 2.864Zm-7.563-11.009c-.358-3.177-3.043-5.46-6.579-5.46-3.49 0-6.31 2.64-6.668 5.46h13.247ZM192.482 3.929v8.682H200v7.205h-7.518v10.875c0 3.178 1.387 4.43 4.251 4.43 1.074 0 2.282-.313 3.222-.894v7.563c-1.298.671-3.311 1.208-6.131 1.208-6.221 0-10.069-3.849-10.069-10.427V19.86h-4.207v-7.205h4.207V3.974h8.727v-.045ZM139.047.035c-3.715.18-6.713 3.178-6.892 6.892-.179 4.162 3.133 7.564 7.205 7.564h.179l.134 5.236c0 .492.716.671.94.224 0 0 4.699-8.862 4.744-8.951.895-1.79 1.253-2.327 1.253-3.76 0-4.072-3.446-7.384-7.563-7.205ZM129.022 23.396h-.045L117.521.037h-10.696l17.23 33.52 4.878 9.442 4.922-9.622-4.833-9.98Z",
1231
- fill: "#050E5F"
1232
- })), _path2$7 || (_path2$7 = /*#__PURE__*/React__namespace.createElement("path", {
1233
- d: "M0 .26h31.193v8.413H20.139v33.564h-9.04V8.673H0V.259ZM58.537 35.166c-2.462 4.879-7.25 7.877-13.74 7.877-9.219 0-15.708-6.4-15.708-15.574 0-8.95 6.579-15.574 15.35-15.574 8.951 0 15.127 6.534 15.127 15.843 0 1.029-.045 1.79-.134 2.148h-21.75c.313 3.49 3.49 5.997 7.115 5.997 3.223 0 4.968-1.388 6.355-3.58l7.385 2.863Zm-7.564-11.009c-.358-3.177-3.043-5.46-6.578-5.46-3.491 0-6.31 2.64-6.668 5.46h13.246ZM73.216.26v41.977h-8.772V.26h8.772ZM107.675 35.166c-2.461 4.879-7.25 7.877-13.739 7.877-9.219 0-15.708-6.4-15.708-15.574 0-8.95 6.579-15.574 15.35-15.574 8.951 0 15.126 6.534 15.126 15.843 0 1.029-.044 1.79-.134 2.148H86.82c.314 3.49 3.491 5.997 7.116 5.997 3.222 0 4.968-1.388 6.355-3.58l7.384 2.863Zm-7.518-11.009c-.358-3.177-3.043-5.46-6.579-5.46-3.49 0-6.31 2.64-6.668 5.46h13.247Z",
1234
- fill: "#39ADC3"
1235
- })));
1236
- };
1237
-
1238
- var _path$j;
771
+ var _path$j;
1239
772
 
1240
773
  function _extends$j() { _extends$j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
1241
774
 
@@ -2592,6 +2125,44 @@ var Logo = function (_a) {
2592
2125
  };
2593
2126
  Logo.displayName = 'Logo';
2594
2127
 
2128
+ /*! *****************************************************************************
2129
+ Copyright (c) Microsoft Corporation.
2130
+
2131
+ Permission to use, copy, modify, and/or distribute this software for any
2132
+ purpose with or without fee is hereby granted.
2133
+
2134
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2135
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2136
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2137
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2138
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2139
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2140
+ PERFORMANCE OF THIS SOFTWARE.
2141
+ ***************************************************************************** */
2142
+
2143
+ var __assign = function() {
2144
+ __assign = Object.assign || function __assign(t) {
2145
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
2146
+ s = arguments[i];
2147
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
2148
+ }
2149
+ return t;
2150
+ };
2151
+ return __assign.apply(this, arguments);
2152
+ };
2153
+
2154
+ function __rest(s, e) {
2155
+ var t = {};
2156
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2157
+ t[p] = s[p];
2158
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
2159
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2160
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
2161
+ t[p[i]] = s[p[i]];
2162
+ }
2163
+ return t;
2164
+ }
2165
+
2595
2166
  var Heading = function (_a) {
2596
2167
  var children = _a.children, _b = _a.size, size = _b === void 0 ? 'lg' : _b, _c = _a.variant, variant = _c === void 0 ? 'large' : _c, rest = __rest(_a, ["children", "size", "variant"]);
2597
2168
  var components = useTheme().components;
@@ -2701,6 +2272,211 @@ var borders = {
2701
2272
  '8px': '8px solid',
2702
2273
  };
2703
2274
 
2275
+ var baseColors = {
2276
+ comet: {
2277
+ 50: '#F0F1F5',
2278
+ 100: '#D5D7E2',
2279
+ 200: '#BABECF',
2280
+ 300: '#9FA5BC',
2281
+ 400: '#838BA9',
2282
+ 500: '#687297',
2283
+ 600: '#575D7C',
2284
+ 700: '#3F445A',
2285
+ 800: '#2A2D3C',
2286
+ 900: '#15171E',
2287
+ },
2288
+ teal: {
2289
+ 50: '#F7FAFC',
2290
+ 100: '#EBF9FB',
2291
+ 200: '#DCF6FB',
2292
+ 300: '#AFE1EC',
2293
+ 400: '#78CBDC',
2294
+ 500: '#39ADC3',
2295
+ 600: '#3CA0B4',
2296
+ 700: '#2E8C9E',
2297
+ 800: '#236976',
2298
+ 900: '#17464F',
2299
+ },
2300
+ blue: {
2301
+ 50: '#E7E9FE',
2302
+ 100: '#BBC2FB',
2303
+ 200: '#909AF9',
2304
+ 300: '#6473F7',
2305
+ 400: '#384BF5',
2306
+ 500: '#0D24F2',
2307
+ 600: '#0A1DC2',
2308
+ 700: '#000B8E',
2309
+ 800: '#050E5F',
2310
+ 900: '#030730',
2311
+ },
2312
+ red: {
2313
+ 50: '#FFF5F5',
2314
+ 100: '#FED7D7',
2315
+ 200: '#FEB2B2',
2316
+ 300: '#FC8181',
2317
+ 400: '#F56565',
2318
+ 500: '#E01F1F',
2319
+ 600: '#C53030',
2320
+ 700: '#9B2C2C',
2321
+ 800: '#822727',
2322
+ 900: '#63171B',
2323
+ },
2324
+ orange: {
2325
+ 50: '#FFFAF0',
2326
+ 100: '#FEEBC8',
2327
+ 200: '#FBD38D',
2328
+ 300: '#F6AD55',
2329
+ 400: '#ED8936',
2330
+ 500: '#DD6B20',
2331
+ 600: '#C05621',
2332
+ 700: '#9C4221',
2333
+ 800: '#7B341E',
2334
+ 900: '#652B19',
2335
+ },
2336
+ yellow: {
2337
+ 50: '#FFFFF0',
2338
+ 100: '#FEEBCB',
2339
+ 200: '#FAF089',
2340
+ 300: '#F6E05E',
2341
+ 400: '#ECC94B',
2342
+ 500: '#D69E2E',
2343
+ 600: '#B7791F',
2344
+ 700: '#975A16',
2345
+ 800: '#744210',
2346
+ 900: '#5F370E',
2347
+ },
2348
+ green: {
2349
+ 50: '#F0FFF4',
2350
+ 100: '#C6F6D5',
2351
+ 200: '#9AE6B4',
2352
+ 300: '#68D391',
2353
+ 400: '#48BB78',
2354
+ 500: '#38A169',
2355
+ 600: '#25855A',
2356
+ 700: '#276749',
2357
+ 800: '#22543D',
2358
+ 900: '#1C4532',
2359
+ },
2360
+ transparent: 'transparent',
2361
+ current: 'currentColor',
2362
+ black: '#000000',
2363
+ white: '#FFFFFF',
2364
+ whiteAlpha: {
2365
+ 50: 'rgba(255, 255, 255, 0.04)',
2366
+ 100: 'rgba(255, 255, 255, 0.06)',
2367
+ 200: 'rgba(255, 255, 255, 0.08)',
2368
+ 300: 'rgba(255, 255, 255, 0.16)',
2369
+ 400: 'rgba(255, 255, 255, 0.24)',
2370
+ 500: 'rgba(255, 255, 255, 0.36)',
2371
+ 600: 'rgba(255, 255, 255, 0.48)',
2372
+ 700: 'rgba(255, 255, 255, 0.64)',
2373
+ 800: 'rgba(255, 255, 255, 0.80)',
2374
+ 900: 'rgba(255, 255, 255, 0.92)',
2375
+ },
2376
+ blackAlpha: {
2377
+ 50: 'rgba(0, 0, 0, 0.04)',
2378
+ 100: 'rgba(0, 0, 0, 0.06)',
2379
+ 200: 'rgba(0, 0, 0, 0.08)',
2380
+ 300: 'rgba(0, 0, 0, 0.16)',
2381
+ 400: 'rgba(0, 0, 0, 0.24)',
2382
+ 500: 'rgba(0, 0, 0, 0.36)',
2383
+ 600: 'rgba(0, 0, 0, 0.48)',
2384
+ 700: 'rgba(0, 0, 0, 0.64)',
2385
+ 800: 'rgba(0, 0, 0, 0.80)',
2386
+ 900: 'rgba(0, 0, 0, 0.92)',
2387
+ },
2388
+ gray: {
2389
+ 50: '#F9F9FA',
2390
+ 100: '#EBEEEF',
2391
+ 200: '#DDE2E3',
2392
+ 300: '#CDD4D6',
2393
+ 400: '#BCC5C8',
2394
+ 500: '#A9B5B8',
2395
+ 600: '#94A2A6',
2396
+ 700: '#7A8C90',
2397
+ 800: '#5B7074',
2398
+ 900: '#354144',
2399
+ },
2400
+ };
2401
+ var semanticTokens = {
2402
+ text: {
2403
+ onLight: baseColors.comet[700],
2404
+ linkOnLight: baseColors.teal[600],
2405
+ onLightSubtle: baseColors.gray[800],
2406
+ onDark: baseColors.white,
2407
+ headline: baseColors.blue[800],
2408
+ placeholder: baseColors.blackAlpha[500],
2409
+ success: baseColors.green[600],
2410
+ warning: baseColors.yellow[600],
2411
+ error: baseColors.red[600],
2412
+ },
2413
+ background: {
2414
+ light: baseColors.gray[300],
2415
+ grayLight: baseColors.gray[50],
2416
+ grayDark: baseColors.gray[300],
2417
+ tealLight: baseColors.teal[50],
2418
+ dark: baseColors.blue[800],
2419
+ table: baseColors.comet[50],
2420
+ overlay: baseColors.blackAlpha[300],
2421
+ info: baseColors.teal[200],
2422
+ error: baseColors.red[100],
2423
+ warning: baseColors.yellow[100],
2424
+ success: baseColors.green[100],
2425
+ },
2426
+ border: {
2427
+ default: baseColors.gray[200],
2428
+ dark: baseColors.comet[700],
2429
+ focus: baseColors.teal[600],
2430
+ info: baseColors.teal[600],
2431
+ error: baseColors.red[500],
2432
+ warning: baseColors.yellow[500],
2433
+ success: baseColors.green[400],
2434
+ },
2435
+ divider: {
2436
+ onLight: baseColors.gray[100],
2437
+ },
2438
+ status: {
2439
+ open: baseColors.blue[300],
2440
+ confirmed: baseColors.teal[500],
2441
+ success: baseColors.green[400],
2442
+ warning: baseColors.yellow[400],
2443
+ action: baseColors.orange[400],
2444
+ negative: baseColors.red[300],
2445
+ error: baseColors.red[500],
2446
+ archived: baseColors.gray[800],
2447
+ closed: baseColors.gray[900],
2448
+ },
2449
+ general: {
2450
+ brand: baseColors.teal[500],
2451
+ error: baseColors.red[500],
2452
+ },
2453
+ };
2454
+ var adaptiveColorTokens = {
2455
+ icon: {
2456
+ light: {
2457
+ currentColor: 'currentColor',
2458
+ default: baseColors.comet[700],
2459
+ subtle: baseColors.gray[800],
2460
+ inactive: baseColors.gray[700],
2461
+ active: baseColors.teal[600],
2462
+ success: baseColors.green[600],
2463
+ warning: baseColors.yellow[600],
2464
+ error: baseColors.red[600],
2465
+ },
2466
+ dark: {
2467
+ currentColor: 'currentColor',
2468
+ default: baseColors.white,
2469
+ subtle: baseColors.gray[200],
2470
+ inactive: baseColors.gray[400],
2471
+ active: baseColors.teal[400],
2472
+ success: baseColors.green[400],
2473
+ warning: baseColors.yellow[300],
2474
+ error: baseColors.red[300],
2475
+ },
2476
+ },
2477
+ };
2478
+ var colors = __assign(__assign(__assign({}, baseColors), semanticTokens), adaptiveColorTokens);
2479
+
2704
2480
  var fonts = {
2705
2481
  body: 'LinearSans, Noto Sans, Arial, Helvetica, sans-serif',
2706
2482
  heading: 'LinearSans, Noto Sans, Arial, Helvetica, sans-serif',
@@ -2874,26 +2650,6 @@ var TextConfig = {
2874
2650
  },
2875
2651
  };
2876
2652
 
2877
- var useAdaptiveColor = function (color) { return react.useColorModeValue(color.light, color.dark); };
2878
-
2879
- var Tooltip = function (_a) {
2880
- var children = _a.children, label = _a.label, placement = _a.placement, isOpen = _a.isOpen, defaultIsOpen = _a.defaultIsOpen, rest = __rest(_a, ["children", "label", "placement", "isOpen", "defaultIsOpen"]);
2881
- var components = useTheme().components;
2882
- var bg = useAdaptiveColor(components.Tooltip.color);
2883
- return (React__default["default"].createElement(react.Tooltip, __assign({ hasArrow: true, arrowSize: 10, label: label, placement: placement, bg: bg, isOpen: isOpen, defaultIsOpen: defaultIsOpen }, rest), children));
2884
- };
2885
-
2886
- var TooltipGlobalStyle = {
2887
- '[id^=tooltip]': {
2888
- padding: '4px 8px 4px 8px !important',
2889
- borderRadius: '4px !important',
2890
- textTransform: 'capitalize',
2891
- },
2892
- };
2893
- var TooltipConfig = {
2894
- color: { light: semanticTokens.background.dark, dark: semanticTokens.background.light },
2895
- };
2896
-
2897
2653
  var Textarea = function (props) {
2898
2654
  var colors = useTheme().colors;
2899
2655
  return React__default["default"].createElement(react.Textarea, __assign({}, props, { errorBorderColor: colors.border.error, focusBorderColor: colors.border.focus }));
@@ -2940,11 +2696,231 @@ var TextareaConfig = {
2940
2696
  },
2941
2697
  };
2942
2698
 
2699
+ var camelCaseToLabel = function (s) {
2700
+ return s.replace(/([A-Z])/g, ' $1').replace(/^\w/, function (c) { return c.toUpperCase(); });
2701
+ };
2702
+
2703
+ var Button = React.forwardRef(function (props, ref) {
2704
+ var components = useTheme().components;
2705
+ var _a = components.Button[props.variant || 'primary'], variant = _a.variant, light = _a.light, dark = _a.dark;
2706
+ var bg = react.useColorModeValue(light.default, dark.default);
2707
+ var color = react.useColorModeValue(light.content, dark.content);
2708
+ var borderColor = react.useColorModeValue(light.border, dark.border);
2709
+ var p = __assign(__assign({}, props), { variant: variant, bg: bg, color: color, borderColor: borderColor });
2710
+ var hoverClass = {
2711
+ bg: react.useColorModeValue(light.hover, dark.hover),
2712
+ };
2713
+ var activeClass = {
2714
+ bg: react.useColorModeValue(light.active, dark.active),
2715
+ transform: 'scale(0.98)',
2716
+ };
2717
+ if (p.iconName) {
2718
+ var ButtonIcon = React__default["default"].createElement(Icon, { size: p.size, name: p.iconName });
2719
+ if (!p.children) {
2720
+ var label = camelCaseToLabel(p.iconName);
2721
+ return (React__default["default"].createElement(react.IconButton, __assign({ ref: ref, _hover: hoverClass, _active: activeClass, "aria-label": label, icon: ButtonIcon }, p)));
2722
+ }
2723
+ else {
2724
+ var position = p.iconPosition === 'right' ? 'rightIcon' : 'leftIcon';
2725
+ p[position] = ButtonIcon;
2726
+ }
2727
+ }
2728
+ return (React__default["default"].createElement(react.Button, __assign({ ref: ref, _hover: hoverClass, _active: activeClass }, p), props.children));
2729
+ });
2730
+ Button.displayName = 'Button';
2731
+
2732
+ var ButtonConfig = {
2733
+ primary: {
2734
+ variant: 'solid',
2735
+ light: {
2736
+ content: semanticTokens.text.onDark,
2737
+ default: baseColors.teal['600'],
2738
+ hover: baseColors.teal['700'],
2739
+ active: baseColors.teal['800'],
2740
+ border: baseColors.transparent,
2741
+ },
2742
+ dark: {
2743
+ content: semanticTokens.text.onLight,
2744
+ default: baseColors.white,
2745
+ hover: baseColors.teal['100'],
2746
+ active: baseColors.teal['200'],
2747
+ border: baseColors.transparent,
2748
+ },
2749
+ },
2750
+ primaryDestructive: {
2751
+ variant: 'solid',
2752
+ light: {
2753
+ content: semanticTokens.text.onDark,
2754
+ default: baseColors.red['500'],
2755
+ hover: baseColors.red['600'],
2756
+ active: baseColors.red['700'],
2757
+ border: baseColors.transparent,
2758
+ },
2759
+ dark: {
2760
+ content: semanticTokens.text.onLight,
2761
+ default: baseColors.red['200'],
2762
+ hover: baseColors.red['100'],
2763
+ active: baseColors.red['50'],
2764
+ border: baseColors.transparent,
2765
+ },
2766
+ },
2767
+ secondary: {
2768
+ variant: 'outline',
2769
+ light: {
2770
+ content: semanticTokens.text.onLight,
2771
+ default: baseColors.transparent,
2772
+ hover: baseColors.teal['100'],
2773
+ active: baseColors.teal['200'],
2774
+ border: semanticTokens.border.dark,
2775
+ },
2776
+ dark: {
2777
+ content: semanticTokens.text.onDark,
2778
+ default: baseColors.transparent,
2779
+ hover: baseColors.whiteAlpha['200'],
2780
+ active: baseColors.whiteAlpha['300'],
2781
+ border: semanticTokens.text.onDark,
2782
+ },
2783
+ },
2784
+ secondaryDestructive: {
2785
+ variant: 'outline',
2786
+ light: {
2787
+ content: semanticTokens.text.error,
2788
+ default: baseColors.transparent,
2789
+ hover: baseColors.red['100'],
2790
+ active: baseColors.red['200'],
2791
+ border: semanticTokens.border.error,
2792
+ },
2793
+ dark: {
2794
+ content: baseColors.red['200'],
2795
+ default: baseColors.transparent,
2796
+ hover: baseColors.whiteAlpha['200'],
2797
+ active: baseColors.whiteAlpha['300'],
2798
+ border: baseColors.red['200'],
2799
+ },
2800
+ },
2801
+ secondarySubtle: {
2802
+ variant: 'outline',
2803
+ light: {
2804
+ content: semanticTokens.text.onLight,
2805
+ default: baseColors.white,
2806
+ hover: baseColors.gray['50'],
2807
+ active: baseColors.gray['100'],
2808
+ border: semanticTokens.border.default,
2809
+ },
2810
+ dark: {
2811
+ content: semanticTokens.text.onDark,
2812
+ default: baseColors.whiteAlpha['200'],
2813
+ hover: baseColors.whiteAlpha['300'],
2814
+ active: baseColors.whiteAlpha['400'],
2815
+ border: semanticTokens.text.onDark,
2816
+ },
2817
+ },
2818
+ secondarySubtleDestructive: {
2819
+ variant: 'outline',
2820
+ light: {
2821
+ content: semanticTokens.text.error,
2822
+ default: baseColors.white,
2823
+ hover: baseColors.red['50'],
2824
+ active: baseColors.red['100'],
2825
+ border: semanticTokens.border.default,
2826
+ },
2827
+ dark: {
2828
+ content: baseColors.red['300'],
2829
+ default: baseColors.transparent,
2830
+ hover: baseColors.whiteAlpha['200'],
2831
+ active: baseColors.whiteAlpha['300'],
2832
+ border: baseColors.whiteAlpha['500'],
2833
+ },
2834
+ },
2835
+ tertiary: {
2836
+ variant: 'solid',
2837
+ light: {
2838
+ content: semanticTokens.text.onLight,
2839
+ default: baseColors.gray['100'],
2840
+ hover: baseColors.gray['200'],
2841
+ active: baseColors.gray['300'],
2842
+ border: baseColors.transparent,
2843
+ },
2844
+ dark: {
2845
+ content: semanticTokens.text.onDark,
2846
+ default: baseColors.gray['700'],
2847
+ hover: baseColors.gray['600'],
2848
+ active: baseColors.gray['700'],
2849
+ border: baseColors.transparent,
2850
+ },
2851
+ },
2852
+ tertiaryDestructive: {
2853
+ variant: 'solid',
2854
+ light: {
2855
+ content: semanticTokens.text.error,
2856
+ default: baseColors.red['100'],
2857
+ hover: baseColors.red['200'],
2858
+ active: baseColors.red['300'],
2859
+ border: baseColors.transparent,
2860
+ },
2861
+ dark: {
2862
+ content: baseColors.red['300'],
2863
+ default: baseColors.whiteAlpha['200'],
2864
+ hover: baseColors.whiteAlpha['300'],
2865
+ active: baseColors.whiteAlpha['400'],
2866
+ border: baseColors.transparent,
2867
+ },
2868
+ },
2869
+ ghost: {
2870
+ variant: 'ghost',
2871
+ light: {
2872
+ content: semanticTokens.text.linkOnLight,
2873
+ default: baseColors.transparent,
2874
+ hover: baseColors.teal['100'],
2875
+ active: baseColors.teal['200'],
2876
+ border: baseColors.transparent,
2877
+ },
2878
+ dark: {
2879
+ content: baseColors.teal['400'],
2880
+ default: baseColors.transparent,
2881
+ hover: baseColors.whiteAlpha['200'],
2882
+ active: baseColors.whiteAlpha['300'],
2883
+ border: baseColors.transparent,
2884
+ },
2885
+ },
2886
+ ghostNeutral: {
2887
+ variant: 'ghost',
2888
+ light: {
2889
+ content: semanticTokens.text.onLight,
2890
+ default: baseColors.transparent,
2891
+ hover: baseColors.blackAlpha['100'],
2892
+ active: baseColors.blackAlpha['200'],
2893
+ border: baseColors.transparent,
2894
+ },
2895
+ dark: {
2896
+ content: semanticTokens.text.onDark,
2897
+ default: baseColors.transparent,
2898
+ hover: baseColors.whiteAlpha['200'],
2899
+ active: baseColors.whiteAlpha['300'],
2900
+ border: baseColors.transparent,
2901
+ },
2902
+ },
2903
+ ghostDestructive: {
2904
+ variant: 'ghost',
2905
+ light: {
2906
+ content: semanticTokens.text.error,
2907
+ default: baseColors.transparent,
2908
+ hover: baseColors.red['100'],
2909
+ active: baseColors.red['200'],
2910
+ border: baseColors.transparent,
2911
+ },
2912
+ dark: {
2913
+ content: baseColors.red['300'],
2914
+ default: baseColors.transparent,
2915
+ hover: baseColors.whiteAlpha['200'],
2916
+ active: baseColors.whiteAlpha['300'],
2917
+ border: baseColors.transparent,
2918
+ },
2919
+ },
2920
+ };
2921
+
2943
2922
  // @ts-ignore
2944
2923
  var theme = react.extendTheme({
2945
- styles: {
2946
- global: __assign({}, TooltipGlobalStyle),
2947
- },
2948
2924
  blur: blur,
2949
2925
  borders: borders,
2950
2926
  colors: colors,
@@ -2967,9 +2943,8 @@ var theme = react.extendTheme({
2967
2943
  Text: TextConfig,
2968
2944
  Heading: HeadingConfig,
2969
2945
  Textarea: TextareaConfig,
2970
- Button: ButtonConfig,
2971
2946
  Drawer: DrawerConfig,
2972
- Tooltip: TooltipConfig,
2947
+ Button: ButtonConfig,
2973
2948
  },
2974
2949
  });
2975
2950
 
@@ -2991,9 +2966,6 @@ exports.Text = Text;
2991
2966
  exports.TextConfig = TextConfig;
2992
2967
  exports.Textarea = Textarea;
2993
2968
  exports.TextareaConfig = TextareaConfig;
2994
- exports.Tooltip = Tooltip;
2995
- exports.TooltipConfig = TooltipConfig;
2996
- exports.TooltipGlobalStyle = TooltipGlobalStyle;
2997
2969
  exports.theme = theme;
2998
2970
  exports.useTheme = useTheme;
2999
2971
  //# sourceMappingURL=index.js.map