@televet/kibble-ui 1.0.17-beta.6 → 1.0.17
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/components/Drawer/index.d.ts +1 -1
- package/build/components/Logo/logo.component.d.ts +5 -2
- package/build/components/Typography/Heading/index.d.ts +1 -1
- package/build/components/Typography/Text/index.d.ts +1 -1
- package/build/components/index.d.ts +0 -2
- package/build/index.js +276 -528
- package/build/index.js.map +1 -1
- package/build/theme/index.d.ts +2 -2
- package/build/theme/theme.config.d.ts +2 -0
- package/build/theme/{theme.model.d.ts → theme.types.d.ts} +1 -3
- package/package.json +1 -1
- package/build/components/Button/button.component.d.ts +0 -12
- package/build/components/Button/button.model.d.ts +0 -5
- package/build/components/Button/button.records.d.ts +0 -2
- package/build/components/Button/button.types.d.ts +0 -5
- package/build/components/Button/index.d.ts +0 -4
- package/build/components/Tooltip/index.d.ts +0 -3
- package/build/components/Tooltip/tooltip.component.d.ts +0 -8
- package/build/components/Tooltip/tooltip.model.d.ts +0 -4
- package/build/components/Tooltip/tooltip.records.d.ts +0 -9
- package/build/theme/theme.record.d.ts +0 -2
- /package/build/components/Drawer/{drawer.records.d.ts → drawer.config.d.ts} +0 -0
- /package/build/components/Icon/{icon.records.d.ts → icon.config.d.ts} +0 -0
- /package/build/components/Logo/{logo.records.d.ts → logo.config.d.ts} +0 -0
- /package/build/components/Typography/Heading/{heading.records.d.ts → heading.config.d.ts} +0 -0
- /package/build/components/Typography/Text/{text.records.d.ts → text.config.d.ts} +0 -0
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
26
|
-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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 })));
|
|
@@ -766,450 +742,9 @@ var Icon = function (_a) {
|
|
|
766
742
|
var name = _a.name, _b = _a.size, size = _b === void 0 ? 'lg' : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
767
743
|
var colors = useTheme().colors;
|
|
768
744
|
var c = useAdaptiveColorMap(colors.icon, color);
|
|
769
|
-
var MappedIcon = IconMap[name];
|
|
770
|
-
var d = IconSizeMap[size] + 'px';
|
|
771
|
-
return React__default["default"].createElement(MappedIcon, { width: d, height: d, color: c });
|
|
772
|
-
};
|
|
773
|
-
|
|
774
|
-
var camelCaseToLabel = function (s) {
|
|
775
|
-
return s.replace(/([A-Z])/g, ' $1').replace(/^\w/, function (c) { return c.toUpperCase(); });
|
|
776
|
-
};
|
|
777
|
-
|
|
778
|
-
var Button = function (props) {
|
|
779
|
-
var components = useTheme().components;
|
|
780
|
-
var _a = components.Button[props.variant], variant = _a.variant, light = _a.light, dark = _a.dark;
|
|
781
|
-
var bg = react.useColorModeValue(light.default, dark.default);
|
|
782
|
-
var color = react.useColorModeValue(light.content, dark.content);
|
|
783
|
-
var borderColor = react.useColorModeValue(light.border, dark.border);
|
|
784
|
-
var p = structuredClone(__assign(__assign({}, props), { variant: variant, bg: bg, color: color, borderColor: borderColor }));
|
|
785
|
-
var hoverClass = {
|
|
786
|
-
bg: react.useColorModeValue(light.hover, dark.hover),
|
|
787
|
-
};
|
|
788
|
-
var activeClass = {
|
|
789
|
-
bg: react.useColorModeValue(light.active, dark.active),
|
|
790
|
-
transform: 'scale(0.98)',
|
|
791
|
-
};
|
|
792
|
-
if (p.iconName) {
|
|
793
|
-
var ButtonIcon = React__default["default"].createElement(Icon, { size: p.size, name: p.iconName });
|
|
794
|
-
if (!p.children) {
|
|
795
|
-
var label = camelCaseToLabel(p.iconName);
|
|
796
|
-
return React__default["default"].createElement(react.IconButton, __assign({ _hover: hoverClass, _active: activeClass, "aria-label": label, icon: ButtonIcon }, p));
|
|
797
|
-
}
|
|
798
|
-
else {
|
|
799
|
-
var position = p.iconPosition === 'right' ? 'rightIcon' : 'leftIcon';
|
|
800
|
-
p[position] = ButtonIcon;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
return (React__default["default"].createElement(react.Button, __assign({ _hover: hoverClass, _active: activeClass }, p), props.children));
|
|
804
|
-
};
|
|
805
|
-
|
|
806
|
-
var baseColors = {
|
|
807
|
-
comet: {
|
|
808
|
-
50: '#F0F1F5',
|
|
809
|
-
100: '#D5D7E2',
|
|
810
|
-
200: '#BABECF',
|
|
811
|
-
300: '#9FA5BC',
|
|
812
|
-
400: '#838BA9',
|
|
813
|
-
500: '#687297',
|
|
814
|
-
600: '#575D7C',
|
|
815
|
-
700: '#3F445A',
|
|
816
|
-
800: '#2A2D3C',
|
|
817
|
-
900: '#15171E',
|
|
818
|
-
},
|
|
819
|
-
teal: {
|
|
820
|
-
50: '#F7FAFC',
|
|
821
|
-
100: '#EBF9FB',
|
|
822
|
-
200: '#DCF6FB',
|
|
823
|
-
300: '#AFE1EC',
|
|
824
|
-
400: '#78CBDC',
|
|
825
|
-
500: '#39ADC3',
|
|
826
|
-
600: '#3CA0B4',
|
|
827
|
-
700: '#2E8C9E',
|
|
828
|
-
800: '#236976',
|
|
829
|
-
900: '#17464F',
|
|
830
|
-
},
|
|
831
|
-
blue: {
|
|
832
|
-
50: '#E7E9FE',
|
|
833
|
-
100: '#BBC2FB',
|
|
834
|
-
200: '#909AF9',
|
|
835
|
-
300: '#6473F7',
|
|
836
|
-
400: '#384BF5',
|
|
837
|
-
500: '#0D24F2',
|
|
838
|
-
600: '#0A1DC2',
|
|
839
|
-
700: '#000B8E',
|
|
840
|
-
800: '#050E5F',
|
|
841
|
-
900: '#030730',
|
|
842
|
-
},
|
|
843
|
-
red: {
|
|
844
|
-
50: '#FFF5F5',
|
|
845
|
-
100: '#FED7D7',
|
|
846
|
-
200: '#FEB2B2',
|
|
847
|
-
300: '#FC8181',
|
|
848
|
-
400: '#F56565',
|
|
849
|
-
500: '#E01F1F',
|
|
850
|
-
600: '#C53030',
|
|
851
|
-
700: '#9B2C2C',
|
|
852
|
-
800: '#822727',
|
|
853
|
-
900: '#63171B',
|
|
854
|
-
},
|
|
855
|
-
orange: {
|
|
856
|
-
50: '#FFFAF0',
|
|
857
|
-
100: '#FEEBC8',
|
|
858
|
-
200: '#FBD38D',
|
|
859
|
-
300: '#F6AD55',
|
|
860
|
-
400: '#ED8936',
|
|
861
|
-
500: '#DD6B20',
|
|
862
|
-
600: '#C05621',
|
|
863
|
-
700: '#9C4221',
|
|
864
|
-
800: '#7B341E',
|
|
865
|
-
900: '#652B19',
|
|
866
|
-
},
|
|
867
|
-
yellow: {
|
|
868
|
-
50: '#FFFFF0',
|
|
869
|
-
100: '#FEEBCB',
|
|
870
|
-
200: '#FAF089',
|
|
871
|
-
300: '#F6E05E',
|
|
872
|
-
400: '#ECC94B',
|
|
873
|
-
500: '#D69E2E',
|
|
874
|
-
600: '#B7791F',
|
|
875
|
-
700: '#975A16',
|
|
876
|
-
800: '#744210',
|
|
877
|
-
900: '#5F370E',
|
|
878
|
-
},
|
|
879
|
-
green: {
|
|
880
|
-
50: '#F0FFF4',
|
|
881
|
-
100: '#C6F6D5',
|
|
882
|
-
200: '#9AE6B4',
|
|
883
|
-
300: '#68D391',
|
|
884
|
-
400: '#48BB78',
|
|
885
|
-
500: '#38A169',
|
|
886
|
-
600: '#25855A',
|
|
887
|
-
700: '#276749',
|
|
888
|
-
800: '#22543D',
|
|
889
|
-
900: '#1C4532',
|
|
890
|
-
},
|
|
891
|
-
transparent: 'transparent',
|
|
892
|
-
current: 'currentColor',
|
|
893
|
-
black: '#000000',
|
|
894
|
-
white: '#FFFFFF',
|
|
895
|
-
whiteAlpha: {
|
|
896
|
-
50: 'rgba(255, 255, 255, 0.04)',
|
|
897
|
-
100: 'rgba(255, 255, 255, 0.06)',
|
|
898
|
-
200: 'rgba(255, 255, 255, 0.08)',
|
|
899
|
-
300: 'rgba(255, 255, 255, 0.16)',
|
|
900
|
-
400: 'rgba(255, 255, 255, 0.24)',
|
|
901
|
-
500: 'rgba(255, 255, 255, 0.36)',
|
|
902
|
-
600: 'rgba(255, 255, 255, 0.48)',
|
|
903
|
-
700: 'rgba(255, 255, 255, 0.64)',
|
|
904
|
-
800: 'rgba(255, 255, 255, 0.80)',
|
|
905
|
-
900: 'rgba(255, 255, 255, 0.92)',
|
|
906
|
-
},
|
|
907
|
-
blackAlpha: {
|
|
908
|
-
50: 'rgba(0, 0, 0, 0.04)',
|
|
909
|
-
100: 'rgba(0, 0, 0, 0.06)',
|
|
910
|
-
200: 'rgba(0, 0, 0, 0.08)',
|
|
911
|
-
300: 'rgba(0, 0, 0, 0.16)',
|
|
912
|
-
400: 'rgba(0, 0, 0, 0.24)',
|
|
913
|
-
500: 'rgba(0, 0, 0, 0.36)',
|
|
914
|
-
600: 'rgba(0, 0, 0, 0.48)',
|
|
915
|
-
700: 'rgba(0, 0, 0, 0.64)',
|
|
916
|
-
800: 'rgba(0, 0, 0, 0.80)',
|
|
917
|
-
900: 'rgba(0, 0, 0, 0.92)',
|
|
918
|
-
},
|
|
919
|
-
gray: {
|
|
920
|
-
50: '#F9F9FA',
|
|
921
|
-
100: '#EBEEEF',
|
|
922
|
-
200: '#DDE2E3',
|
|
923
|
-
300: '#CDD4D6',
|
|
924
|
-
400: '#BCC5C8',
|
|
925
|
-
500: '#A9B5B8',
|
|
926
|
-
600: '#94A2A6',
|
|
927
|
-
700: '#7A8C90',
|
|
928
|
-
800: '#5B7074',
|
|
929
|
-
900: '#354144',
|
|
930
|
-
},
|
|
931
|
-
};
|
|
932
|
-
var semanticTokens = {
|
|
933
|
-
text: {
|
|
934
|
-
onLight: baseColors.comet[700],
|
|
935
|
-
linkOnLight: baseColors.teal[600],
|
|
936
|
-
onLightSubtle: baseColors.gray[800],
|
|
937
|
-
onDark: baseColors.white,
|
|
938
|
-
headline: baseColors.blue[800],
|
|
939
|
-
placeholder: baseColors.blackAlpha[500],
|
|
940
|
-
success: baseColors.green[600],
|
|
941
|
-
warning: baseColors.yellow[600],
|
|
942
|
-
error: baseColors.red[600],
|
|
943
|
-
},
|
|
944
|
-
background: {
|
|
945
|
-
light: baseColors.gray[300],
|
|
946
|
-
grayLight: baseColors.gray[50],
|
|
947
|
-
grayDark: baseColors.gray[300],
|
|
948
|
-
tealLight: baseColors.teal[50],
|
|
949
|
-
dark: baseColors.blue[800],
|
|
950
|
-
table: baseColors.comet[50],
|
|
951
|
-
overlay: baseColors.blackAlpha[300],
|
|
952
|
-
info: baseColors.teal[200],
|
|
953
|
-
error: baseColors.red[100],
|
|
954
|
-
warning: baseColors.yellow[100],
|
|
955
|
-
success: baseColors.green[100],
|
|
956
|
-
},
|
|
957
|
-
border: {
|
|
958
|
-
default: baseColors.gray[200],
|
|
959
|
-
dark: baseColors.comet[700],
|
|
960
|
-
focus: baseColors.teal[600],
|
|
961
|
-
info: baseColors.teal[600],
|
|
962
|
-
error: baseColors.red[500],
|
|
963
|
-
warning: baseColors.yellow[500],
|
|
964
|
-
success: baseColors.green[400],
|
|
965
|
-
},
|
|
966
|
-
divider: {
|
|
967
|
-
onLight: baseColors.gray[100],
|
|
968
|
-
},
|
|
969
|
-
status: {
|
|
970
|
-
open: baseColors.blue[300],
|
|
971
|
-
confirmed: baseColors.teal[500],
|
|
972
|
-
success: baseColors.green[400],
|
|
973
|
-
warning: baseColors.yellow[400],
|
|
974
|
-
action: baseColors.orange[400],
|
|
975
|
-
negative: baseColors.red[300],
|
|
976
|
-
error: baseColors.red[500],
|
|
977
|
-
archived: baseColors.gray[800],
|
|
978
|
-
closed: baseColors.gray[900],
|
|
979
|
-
},
|
|
980
|
-
general: {
|
|
981
|
-
brand: baseColors.teal[500],
|
|
982
|
-
error: baseColors.red[500],
|
|
983
|
-
},
|
|
984
|
-
};
|
|
985
|
-
var adaptiveColorTokens = {
|
|
986
|
-
icon: {
|
|
987
|
-
light: {
|
|
988
|
-
currentColor: 'currentColor',
|
|
989
|
-
default: baseColors.comet[700],
|
|
990
|
-
subtle: baseColors.gray[800],
|
|
991
|
-
inactive: baseColors.gray[700],
|
|
992
|
-
active: baseColors.teal[600],
|
|
993
|
-
success: baseColors.green[600],
|
|
994
|
-
warning: baseColors.yellow[600],
|
|
995
|
-
error: baseColors.red[600],
|
|
996
|
-
},
|
|
997
|
-
dark: {
|
|
998
|
-
currentColor: 'currentColor',
|
|
999
|
-
default: baseColors.white,
|
|
1000
|
-
subtle: baseColors.gray[200],
|
|
1001
|
-
inactive: baseColors.gray[400],
|
|
1002
|
-
active: baseColors.teal[400],
|
|
1003
|
-
success: baseColors.green[400],
|
|
1004
|
-
warning: baseColors.yellow[300],
|
|
1005
|
-
error: baseColors.red[300],
|
|
1006
|
-
},
|
|
1007
|
-
},
|
|
1008
|
-
};
|
|
1009
|
-
var colors = __assign(__assign(__assign({}, baseColors), semanticTokens), adaptiveColorTokens);
|
|
1010
|
-
|
|
1011
|
-
var ButtonConfig = {
|
|
1012
|
-
primary: {
|
|
1013
|
-
variant: 'solid',
|
|
1014
|
-
light: {
|
|
1015
|
-
content: semanticTokens.text.onDark,
|
|
1016
|
-
default: baseColors.teal['600'],
|
|
1017
|
-
hover: baseColors.teal['700'],
|
|
1018
|
-
active: baseColors.teal['800'],
|
|
1019
|
-
border: baseColors.transparent,
|
|
1020
|
-
},
|
|
1021
|
-
dark: {
|
|
1022
|
-
content: semanticTokens.text.onLight,
|
|
1023
|
-
default: baseColors.white,
|
|
1024
|
-
hover: baseColors.teal['100'],
|
|
1025
|
-
active: baseColors.teal['200'],
|
|
1026
|
-
border: baseColors.transparent,
|
|
1027
|
-
},
|
|
1028
|
-
},
|
|
1029
|
-
primaryDestructive: {
|
|
1030
|
-
variant: 'solid',
|
|
1031
|
-
light: {
|
|
1032
|
-
content: semanticTokens.text.onDark,
|
|
1033
|
-
default: baseColors.red['500'],
|
|
1034
|
-
hover: baseColors.red['600'],
|
|
1035
|
-
active: baseColors.red['700'],
|
|
1036
|
-
border: baseColors.transparent,
|
|
1037
|
-
},
|
|
1038
|
-
dark: {
|
|
1039
|
-
content: semanticTokens.text.onLight,
|
|
1040
|
-
default: baseColors.red['200'],
|
|
1041
|
-
hover: baseColors.red['100'],
|
|
1042
|
-
active: baseColors.red['50'],
|
|
1043
|
-
border: baseColors.transparent,
|
|
1044
|
-
},
|
|
1045
|
-
},
|
|
1046
|
-
secondary: {
|
|
1047
|
-
variant: 'outline',
|
|
1048
|
-
light: {
|
|
1049
|
-
content: semanticTokens.text.onLight,
|
|
1050
|
-
default: baseColors.transparent,
|
|
1051
|
-
hover: baseColors.teal['100'],
|
|
1052
|
-
active: baseColors.teal['200'],
|
|
1053
|
-
border: semanticTokens.border.dark,
|
|
1054
|
-
},
|
|
1055
|
-
dark: {
|
|
1056
|
-
content: semanticTokens.text.onDark,
|
|
1057
|
-
default: baseColors.transparent,
|
|
1058
|
-
hover: baseColors.whiteAlpha['200'],
|
|
1059
|
-
active: baseColors.whiteAlpha['300'],
|
|
1060
|
-
border: semanticTokens.text.onDark,
|
|
1061
|
-
},
|
|
1062
|
-
},
|
|
1063
|
-
secondaryDestructive: {
|
|
1064
|
-
variant: 'outline',
|
|
1065
|
-
light: {
|
|
1066
|
-
content: semanticTokens.text.error,
|
|
1067
|
-
default: baseColors.transparent,
|
|
1068
|
-
hover: baseColors.red['100'],
|
|
1069
|
-
active: baseColors.red['200'],
|
|
1070
|
-
border: semanticTokens.border.error,
|
|
1071
|
-
},
|
|
1072
|
-
dark: {
|
|
1073
|
-
content: baseColors.red['200'],
|
|
1074
|
-
default: baseColors.transparent,
|
|
1075
|
-
hover: baseColors.whiteAlpha['200'],
|
|
1076
|
-
active: baseColors.whiteAlpha['300'],
|
|
1077
|
-
border: baseColors.red['200'],
|
|
1078
|
-
},
|
|
1079
|
-
},
|
|
1080
|
-
secondarySubtle: {
|
|
1081
|
-
variant: 'outline',
|
|
1082
|
-
light: {
|
|
1083
|
-
content: semanticTokens.text.onLight,
|
|
1084
|
-
default: baseColors.white,
|
|
1085
|
-
hover: baseColors.gray['50'],
|
|
1086
|
-
active: baseColors.gray['100'],
|
|
1087
|
-
border: semanticTokens.border.default,
|
|
1088
|
-
},
|
|
1089
|
-
dark: {
|
|
1090
|
-
content: semanticTokens.text.onDark,
|
|
1091
|
-
default: baseColors.whiteAlpha['200'],
|
|
1092
|
-
hover: baseColors.whiteAlpha['300'],
|
|
1093
|
-
active: baseColors.whiteAlpha['400'],
|
|
1094
|
-
border: semanticTokens.text.onDark,
|
|
1095
|
-
},
|
|
1096
|
-
},
|
|
1097
|
-
secondarySubtleDestructive: {
|
|
1098
|
-
variant: 'outline',
|
|
1099
|
-
light: {
|
|
1100
|
-
content: semanticTokens.text.error,
|
|
1101
|
-
default: baseColors.white,
|
|
1102
|
-
hover: baseColors.red['50'],
|
|
1103
|
-
active: baseColors.red['100'],
|
|
1104
|
-
border: semanticTokens.border.default,
|
|
1105
|
-
},
|
|
1106
|
-
dark: {
|
|
1107
|
-
content: baseColors.red['300'],
|
|
1108
|
-
default: baseColors.transparent,
|
|
1109
|
-
hover: baseColors.whiteAlpha['200'],
|
|
1110
|
-
active: baseColors.whiteAlpha['300'],
|
|
1111
|
-
border: baseColors.whiteAlpha['500'],
|
|
1112
|
-
},
|
|
1113
|
-
},
|
|
1114
|
-
tertiary: {
|
|
1115
|
-
variant: 'solid',
|
|
1116
|
-
light: {
|
|
1117
|
-
content: semanticTokens.text.onLight,
|
|
1118
|
-
default: baseColors.gray['100'],
|
|
1119
|
-
hover: baseColors.gray['200'],
|
|
1120
|
-
active: baseColors.gray['300'],
|
|
1121
|
-
border: baseColors.transparent,
|
|
1122
|
-
},
|
|
1123
|
-
dark: {
|
|
1124
|
-
content: semanticTokens.text.onDark,
|
|
1125
|
-
default: baseColors.gray['700'],
|
|
1126
|
-
hover: baseColors.gray['600'],
|
|
1127
|
-
active: baseColors.gray['700'],
|
|
1128
|
-
border: baseColors.transparent,
|
|
1129
|
-
},
|
|
1130
|
-
},
|
|
1131
|
-
tertiaryDestructive: {
|
|
1132
|
-
variant: 'solid',
|
|
1133
|
-
light: {
|
|
1134
|
-
content: semanticTokens.text.error,
|
|
1135
|
-
default: baseColors.red['100'],
|
|
1136
|
-
hover: baseColors.red['200'],
|
|
1137
|
-
active: baseColors.red['300'],
|
|
1138
|
-
border: baseColors.transparent,
|
|
1139
|
-
},
|
|
1140
|
-
dark: {
|
|
1141
|
-
content: baseColors.red['300'],
|
|
1142
|
-
default: baseColors.whiteAlpha['200'],
|
|
1143
|
-
hover: baseColors.whiteAlpha['300'],
|
|
1144
|
-
active: baseColors.whiteAlpha['400'],
|
|
1145
|
-
border: baseColors.transparent,
|
|
1146
|
-
},
|
|
1147
|
-
},
|
|
1148
|
-
ghost: {
|
|
1149
|
-
variant: 'ghost',
|
|
1150
|
-
light: {
|
|
1151
|
-
content: semanticTokens.text.linkOnLight,
|
|
1152
|
-
default: baseColors.transparent,
|
|
1153
|
-
hover: baseColors.teal['100'],
|
|
1154
|
-
active: baseColors.teal['200'],
|
|
1155
|
-
border: baseColors.transparent,
|
|
1156
|
-
},
|
|
1157
|
-
dark: {
|
|
1158
|
-
content: baseColors.teal['400'],
|
|
1159
|
-
default: baseColors.transparent,
|
|
1160
|
-
hover: baseColors.whiteAlpha['200'],
|
|
1161
|
-
active: baseColors.whiteAlpha['300'],
|
|
1162
|
-
border: baseColors.transparent,
|
|
1163
|
-
},
|
|
1164
|
-
},
|
|
1165
|
-
ghostNeutral: {
|
|
1166
|
-
variant: 'ghost',
|
|
1167
|
-
light: {
|
|
1168
|
-
content: semanticTokens.text.onLight,
|
|
1169
|
-
default: baseColors.transparent,
|
|
1170
|
-
hover: baseColors.blackAlpha['100'],
|
|
1171
|
-
active: baseColors.blackAlpha['200'],
|
|
1172
|
-
border: baseColors.transparent,
|
|
1173
|
-
},
|
|
1174
|
-
dark: {
|
|
1175
|
-
content: semanticTokens.text.onDark,
|
|
1176
|
-
default: baseColors.transparent,
|
|
1177
|
-
hover: baseColors.whiteAlpha['200'],
|
|
1178
|
-
active: baseColors.whiteAlpha['300'],
|
|
1179
|
-
border: baseColors.transparent,
|
|
1180
|
-
},
|
|
1181
|
-
},
|
|
1182
|
-
ghostDestructive: {
|
|
1183
|
-
variant: 'ghost',
|
|
1184
|
-
light: {
|
|
1185
|
-
content: semanticTokens.text.error,
|
|
1186
|
-
default: baseColors.transparent,
|
|
1187
|
-
hover: baseColors.red['100'],
|
|
1188
|
-
active: baseColors.red['200'],
|
|
1189
|
-
border: baseColors.transparent,
|
|
1190
|
-
},
|
|
1191
|
-
dark: {
|
|
1192
|
-
content: baseColors.red['300'],
|
|
1193
|
-
default: baseColors.transparent,
|
|
1194
|
-
hover: baseColors.whiteAlpha['200'],
|
|
1195
|
-
active: baseColors.whiteAlpha['300'],
|
|
1196
|
-
border: baseColors.transparent,
|
|
1197
|
-
},
|
|
1198
|
-
},
|
|
1199
|
-
};
|
|
1200
|
-
|
|
1201
|
-
var DrawerConfig = {
|
|
1202
|
-
variants: {
|
|
1203
|
-
alwaysOpen: {
|
|
1204
|
-
parts: ['dialog, dialogContainer'],
|
|
1205
|
-
dialog: {
|
|
1206
|
-
pointerEvents: 'auto',
|
|
1207
|
-
},
|
|
1208
|
-
dialogContainer: {
|
|
1209
|
-
pointerEvents: 'none',
|
|
1210
|
-
},
|
|
1211
|
-
},
|
|
1212
|
-
},
|
|
745
|
+
var MappedIcon = IconMap[name];
|
|
746
|
+
var d = IconSizeMap[size] + 'px';
|
|
747
|
+
return React__default["default"].createElement(MappedIcon, { width: d, height: d, color: c });
|
|
1213
748
|
};
|
|
1214
749
|
|
|
1215
750
|
var _path$k, _path2$7;
|
|
@@ -2572,7 +2107,7 @@ var fullLogoMap = {
|
|
|
2572
2107
|
teal: SvgTeal,
|
|
2573
2108
|
};
|
|
2574
2109
|
|
|
2575
|
-
var Logo =
|
|
2110
|
+
var Logo = function (_a) {
|
|
2576
2111
|
var _b = _a.type, type = _b === void 0 ? 'full' : _b, _c = _a.color, color = _c === void 0 ? 'teal' : _c, holiday = _a.holiday, style = _a.style, handleClick = _a.handleClick;
|
|
2577
2112
|
var LogoComponent;
|
|
2578
2113
|
if (holiday) {
|
|
@@ -2584,10 +2119,48 @@ var Logo = React.forwardRef(function (_a, ref) {
|
|
|
2584
2119
|
else {
|
|
2585
2120
|
LogoComponent = fullLogoMap[color];
|
|
2586
2121
|
}
|
|
2587
|
-
return React__default["default"].createElement(LogoComponent, { style: style, onClick: handleClick
|
|
2588
|
-
}
|
|
2122
|
+
return React__default["default"].createElement(LogoComponent, { style: style, onClick: handleClick });
|
|
2123
|
+
};
|
|
2589
2124
|
Logo.displayName = 'Logo';
|
|
2590
2125
|
|
|
2126
|
+
/*! *****************************************************************************
|
|
2127
|
+
Copyright (c) Microsoft Corporation.
|
|
2128
|
+
|
|
2129
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
2130
|
+
purpose with or without fee is hereby granted.
|
|
2131
|
+
|
|
2132
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
2133
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
2134
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
2135
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
2136
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
2137
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2138
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
2139
|
+
***************************************************************************** */
|
|
2140
|
+
|
|
2141
|
+
var __assign = function() {
|
|
2142
|
+
__assign = Object.assign || function __assign(t) {
|
|
2143
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2144
|
+
s = arguments[i];
|
|
2145
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
2146
|
+
}
|
|
2147
|
+
return t;
|
|
2148
|
+
};
|
|
2149
|
+
return __assign.apply(this, arguments);
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
function __rest(s, e) {
|
|
2153
|
+
var t = {};
|
|
2154
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2155
|
+
t[p] = s[p];
|
|
2156
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2157
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2158
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2159
|
+
t[p[i]] = s[p[i]];
|
|
2160
|
+
}
|
|
2161
|
+
return t;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2591
2164
|
var Heading = function (_a) {
|
|
2592
2165
|
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"]);
|
|
2593
2166
|
var components = useTheme().components;
|
|
@@ -2697,6 +2270,211 @@ var borders = {
|
|
|
2697
2270
|
'8px': '8px solid',
|
|
2698
2271
|
};
|
|
2699
2272
|
|
|
2273
|
+
var baseColors = {
|
|
2274
|
+
comet: {
|
|
2275
|
+
50: '#F0F1F5',
|
|
2276
|
+
100: '#D5D7E2',
|
|
2277
|
+
200: '#BABECF',
|
|
2278
|
+
300: '#9FA5BC',
|
|
2279
|
+
400: '#838BA9',
|
|
2280
|
+
500: '#687297',
|
|
2281
|
+
600: '#575D7C',
|
|
2282
|
+
700: '#3F445A',
|
|
2283
|
+
800: '#2A2D3C',
|
|
2284
|
+
900: '#15171E',
|
|
2285
|
+
},
|
|
2286
|
+
teal: {
|
|
2287
|
+
50: '#F7FAFC',
|
|
2288
|
+
100: '#EBF9FB',
|
|
2289
|
+
200: '#DCF6FB',
|
|
2290
|
+
300: '#AFE1EC',
|
|
2291
|
+
400: '#78CBDC',
|
|
2292
|
+
500: '#39ADC3',
|
|
2293
|
+
600: '#3CA0B4',
|
|
2294
|
+
700: '#2E8C9E',
|
|
2295
|
+
800: '#236976',
|
|
2296
|
+
900: '#17464F',
|
|
2297
|
+
},
|
|
2298
|
+
blue: {
|
|
2299
|
+
50: '#E7E9FE',
|
|
2300
|
+
100: '#BBC2FB',
|
|
2301
|
+
200: '#909AF9',
|
|
2302
|
+
300: '#6473F7',
|
|
2303
|
+
400: '#384BF5',
|
|
2304
|
+
500: '#0D24F2',
|
|
2305
|
+
600: '#0A1DC2',
|
|
2306
|
+
700: '#000B8E',
|
|
2307
|
+
800: '#050E5F',
|
|
2308
|
+
900: '#030730',
|
|
2309
|
+
},
|
|
2310
|
+
red: {
|
|
2311
|
+
50: '#FFF5F5',
|
|
2312
|
+
100: '#FED7D7',
|
|
2313
|
+
200: '#FEB2B2',
|
|
2314
|
+
300: '#FC8181',
|
|
2315
|
+
400: '#F56565',
|
|
2316
|
+
500: '#E01F1F',
|
|
2317
|
+
600: '#C53030',
|
|
2318
|
+
700: '#9B2C2C',
|
|
2319
|
+
800: '#822727',
|
|
2320
|
+
900: '#63171B',
|
|
2321
|
+
},
|
|
2322
|
+
orange: {
|
|
2323
|
+
50: '#FFFAF0',
|
|
2324
|
+
100: '#FEEBC8',
|
|
2325
|
+
200: '#FBD38D',
|
|
2326
|
+
300: '#F6AD55',
|
|
2327
|
+
400: '#ED8936',
|
|
2328
|
+
500: '#DD6B20',
|
|
2329
|
+
600: '#C05621',
|
|
2330
|
+
700: '#9C4221',
|
|
2331
|
+
800: '#7B341E',
|
|
2332
|
+
900: '#652B19',
|
|
2333
|
+
},
|
|
2334
|
+
yellow: {
|
|
2335
|
+
50: '#FFFFF0',
|
|
2336
|
+
100: '#FEEBCB',
|
|
2337
|
+
200: '#FAF089',
|
|
2338
|
+
300: '#F6E05E',
|
|
2339
|
+
400: '#ECC94B',
|
|
2340
|
+
500: '#D69E2E',
|
|
2341
|
+
600: '#B7791F',
|
|
2342
|
+
700: '#975A16',
|
|
2343
|
+
800: '#744210',
|
|
2344
|
+
900: '#5F370E',
|
|
2345
|
+
},
|
|
2346
|
+
green: {
|
|
2347
|
+
50: '#F0FFF4',
|
|
2348
|
+
100: '#C6F6D5',
|
|
2349
|
+
200: '#9AE6B4',
|
|
2350
|
+
300: '#68D391',
|
|
2351
|
+
400: '#48BB78',
|
|
2352
|
+
500: '#38A169',
|
|
2353
|
+
600: '#25855A',
|
|
2354
|
+
700: '#276749',
|
|
2355
|
+
800: '#22543D',
|
|
2356
|
+
900: '#1C4532',
|
|
2357
|
+
},
|
|
2358
|
+
transparent: 'transparent',
|
|
2359
|
+
current: 'currentColor',
|
|
2360
|
+
black: '#000000',
|
|
2361
|
+
white: '#FFFFFF',
|
|
2362
|
+
whiteAlpha: {
|
|
2363
|
+
50: 'rgba(255, 255, 255, 0.04)',
|
|
2364
|
+
100: 'rgba(255, 255, 255, 0.06)',
|
|
2365
|
+
200: 'rgba(255, 255, 255, 0.08)',
|
|
2366
|
+
300: 'rgba(255, 255, 255, 0.16)',
|
|
2367
|
+
400: 'rgba(255, 255, 255, 0.24)',
|
|
2368
|
+
500: 'rgba(255, 255, 255, 0.36)',
|
|
2369
|
+
600: 'rgba(255, 255, 255, 0.48)',
|
|
2370
|
+
700: 'rgba(255, 255, 255, 0.64)',
|
|
2371
|
+
800: 'rgba(255, 255, 255, 0.80)',
|
|
2372
|
+
900: 'rgba(255, 255, 255, 0.92)',
|
|
2373
|
+
},
|
|
2374
|
+
blackAlpha: {
|
|
2375
|
+
50: 'rgba(0, 0, 0, 0.04)',
|
|
2376
|
+
100: 'rgba(0, 0, 0, 0.06)',
|
|
2377
|
+
200: 'rgba(0, 0, 0, 0.08)',
|
|
2378
|
+
300: 'rgba(0, 0, 0, 0.16)',
|
|
2379
|
+
400: 'rgba(0, 0, 0, 0.24)',
|
|
2380
|
+
500: 'rgba(0, 0, 0, 0.36)',
|
|
2381
|
+
600: 'rgba(0, 0, 0, 0.48)',
|
|
2382
|
+
700: 'rgba(0, 0, 0, 0.64)',
|
|
2383
|
+
800: 'rgba(0, 0, 0, 0.80)',
|
|
2384
|
+
900: 'rgba(0, 0, 0, 0.92)',
|
|
2385
|
+
},
|
|
2386
|
+
gray: {
|
|
2387
|
+
50: '#F9F9FA',
|
|
2388
|
+
100: '#EBEEEF',
|
|
2389
|
+
200: '#DDE2E3',
|
|
2390
|
+
300: '#CDD4D6',
|
|
2391
|
+
400: '#BCC5C8',
|
|
2392
|
+
500: '#A9B5B8',
|
|
2393
|
+
600: '#94A2A6',
|
|
2394
|
+
700: '#7A8C90',
|
|
2395
|
+
800: '#5B7074',
|
|
2396
|
+
900: '#354144',
|
|
2397
|
+
},
|
|
2398
|
+
};
|
|
2399
|
+
var semanticTokens = {
|
|
2400
|
+
text: {
|
|
2401
|
+
onLight: baseColors.comet[700],
|
|
2402
|
+
linkOnLight: baseColors.teal[600],
|
|
2403
|
+
onLightSubtle: baseColors.gray[800],
|
|
2404
|
+
onDark: baseColors.white,
|
|
2405
|
+
headline: baseColors.blue[800],
|
|
2406
|
+
placeholder: baseColors.blackAlpha[500],
|
|
2407
|
+
success: baseColors.green[600],
|
|
2408
|
+
warning: baseColors.yellow[600],
|
|
2409
|
+
error: baseColors.red[600],
|
|
2410
|
+
},
|
|
2411
|
+
background: {
|
|
2412
|
+
light: baseColors.gray[300],
|
|
2413
|
+
grayLight: baseColors.gray[50],
|
|
2414
|
+
grayDark: baseColors.gray[300],
|
|
2415
|
+
tealLight: baseColors.teal[50],
|
|
2416
|
+
dark: baseColors.blue[800],
|
|
2417
|
+
table: baseColors.comet[50],
|
|
2418
|
+
overlay: baseColors.blackAlpha[300],
|
|
2419
|
+
info: baseColors.teal[200],
|
|
2420
|
+
error: baseColors.red[100],
|
|
2421
|
+
warning: baseColors.yellow[100],
|
|
2422
|
+
success: baseColors.green[100],
|
|
2423
|
+
},
|
|
2424
|
+
border: {
|
|
2425
|
+
default: baseColors.gray[200],
|
|
2426
|
+
dark: baseColors.comet[700],
|
|
2427
|
+
focus: baseColors.teal[600],
|
|
2428
|
+
info: baseColors.teal[600],
|
|
2429
|
+
error: baseColors.red[500],
|
|
2430
|
+
warning: baseColors.yellow[500],
|
|
2431
|
+
success: baseColors.green[400],
|
|
2432
|
+
},
|
|
2433
|
+
divider: {
|
|
2434
|
+
onLight: baseColors.gray[100],
|
|
2435
|
+
},
|
|
2436
|
+
status: {
|
|
2437
|
+
open: baseColors.blue[300],
|
|
2438
|
+
confirmed: baseColors.teal[500],
|
|
2439
|
+
success: baseColors.green[400],
|
|
2440
|
+
warning: baseColors.yellow[400],
|
|
2441
|
+
action: baseColors.orange[400],
|
|
2442
|
+
negative: baseColors.red[300],
|
|
2443
|
+
error: baseColors.red[500],
|
|
2444
|
+
archived: baseColors.gray[800],
|
|
2445
|
+
closed: baseColors.gray[900],
|
|
2446
|
+
},
|
|
2447
|
+
general: {
|
|
2448
|
+
brand: baseColors.teal[500],
|
|
2449
|
+
error: baseColors.red[500],
|
|
2450
|
+
},
|
|
2451
|
+
};
|
|
2452
|
+
var adaptiveColorTokens = {
|
|
2453
|
+
icon: {
|
|
2454
|
+
light: {
|
|
2455
|
+
currentColor: 'currentColor',
|
|
2456
|
+
default: baseColors.comet[700],
|
|
2457
|
+
subtle: baseColors.gray[800],
|
|
2458
|
+
inactive: baseColors.gray[700],
|
|
2459
|
+
active: baseColors.teal[600],
|
|
2460
|
+
success: baseColors.green[600],
|
|
2461
|
+
warning: baseColors.yellow[600],
|
|
2462
|
+
error: baseColors.red[600],
|
|
2463
|
+
},
|
|
2464
|
+
dark: {
|
|
2465
|
+
currentColor: 'currentColor',
|
|
2466
|
+
default: baseColors.white,
|
|
2467
|
+
subtle: baseColors.gray[200],
|
|
2468
|
+
inactive: baseColors.gray[400],
|
|
2469
|
+
active: baseColors.teal[400],
|
|
2470
|
+
success: baseColors.green[400],
|
|
2471
|
+
warning: baseColors.yellow[300],
|
|
2472
|
+
error: baseColors.red[300],
|
|
2473
|
+
},
|
|
2474
|
+
},
|
|
2475
|
+
};
|
|
2476
|
+
var colors = __assign(__assign(__assign({}, baseColors), semanticTokens), adaptiveColorTokens);
|
|
2477
|
+
|
|
2700
2478
|
var fonts = {
|
|
2701
2479
|
body: 'LinearSans, Noto Sans, Arial, Helvetica, sans-serif',
|
|
2702
2480
|
heading: 'LinearSans, Noto Sans, Arial, Helvetica, sans-serif',
|
|
@@ -2870,26 +2648,6 @@ var TextConfig = {
|
|
|
2870
2648
|
},
|
|
2871
2649
|
};
|
|
2872
2650
|
|
|
2873
|
-
var useAdaptiveColor = function (color) { return react.useColorModeValue(color.light, color.dark); };
|
|
2874
|
-
|
|
2875
|
-
var Tooltip = function (_a) {
|
|
2876
|
-
var children = _a.children, label = _a.label, placement = _a.placement, isOpen = _a.isOpen, defaultIsOpen = _a.defaultIsOpen, rest = __rest(_a, ["children", "label", "placement", "isOpen", "defaultIsOpen"]);
|
|
2877
|
-
var components = useTheme().components;
|
|
2878
|
-
var bg = useAdaptiveColor(components.Tooltip.color);
|
|
2879
|
-
return (React__default["default"].createElement(react.Tooltip, __assign({ hasArrow: true, arrowSize: 10, label: label, placement: placement, shouldWrapChildren: true, bg: bg, isOpen: isOpen, defaultIsOpen: defaultIsOpen }, rest), children));
|
|
2880
|
-
};
|
|
2881
|
-
|
|
2882
|
-
var TooltipGlobalStyle = {
|
|
2883
|
-
'[id^=tooltip]': {
|
|
2884
|
-
padding: '4px 8px 4px 8px !important',
|
|
2885
|
-
borderRadius: '4px !important',
|
|
2886
|
-
textTransform: 'capitalize',
|
|
2887
|
-
},
|
|
2888
|
-
};
|
|
2889
|
-
var TooltipConfig = {
|
|
2890
|
-
color: { light: semanticTokens.background.dark, dark: semanticTokens.background.light },
|
|
2891
|
-
};
|
|
2892
|
-
|
|
2893
2651
|
var Textarea = function (props) {
|
|
2894
2652
|
var colors = useTheme().colors;
|
|
2895
2653
|
return React__default["default"].createElement(react.Textarea, __assign({}, props, { errorBorderColor: colors.border.error, focusBorderColor: colors.border.focus }));
|
|
@@ -2938,9 +2696,6 @@ var TextareaConfig = {
|
|
|
2938
2696
|
|
|
2939
2697
|
// @ts-ignore
|
|
2940
2698
|
var theme = react.extendTheme({
|
|
2941
|
-
styles: {
|
|
2942
|
-
global: __assign({}, TooltipGlobalStyle),
|
|
2943
|
-
},
|
|
2944
2699
|
blur: blur,
|
|
2945
2700
|
borders: borders,
|
|
2946
2701
|
colors: colors,
|
|
@@ -2963,9 +2718,7 @@ var theme = react.extendTheme({
|
|
|
2963
2718
|
Text: TextConfig,
|
|
2964
2719
|
Heading: HeadingConfig,
|
|
2965
2720
|
Textarea: TextareaConfig,
|
|
2966
|
-
Button: ButtonConfig,
|
|
2967
2721
|
Drawer: DrawerConfig,
|
|
2968
|
-
Tooltip: TooltipConfig,
|
|
2969
2722
|
},
|
|
2970
2723
|
});
|
|
2971
2724
|
|
|
@@ -2975,8 +2728,6 @@ var KibbleThemeProvider = function (_a) {
|
|
|
2975
2728
|
React__default["default"].createElement(styledComponents.ThemeProvider, { theme: theme }, children)));
|
|
2976
2729
|
};
|
|
2977
2730
|
|
|
2978
|
-
exports.Button = Button;
|
|
2979
|
-
exports.ButtonConfig = ButtonConfig;
|
|
2980
2731
|
exports.DrawerConfig = DrawerConfig;
|
|
2981
2732
|
exports.Heading = Heading;
|
|
2982
2733
|
exports.HeadingConfig = HeadingConfig;
|
|
@@ -2987,9 +2738,6 @@ exports.Text = Text;
|
|
|
2987
2738
|
exports.TextConfig = TextConfig;
|
|
2988
2739
|
exports.Textarea = Textarea;
|
|
2989
2740
|
exports.TextareaConfig = TextareaConfig;
|
|
2990
|
-
exports.Tooltip = Tooltip;
|
|
2991
|
-
exports.TooltipConfig = TooltipConfig;
|
|
2992
|
-
exports.TooltipGlobalStyle = TooltipGlobalStyle;
|
|
2993
2741
|
exports.theme = theme;
|
|
2994
2742
|
exports.useTheme = useTheme;
|
|
2995
2743
|
//# sourceMappingURL=index.js.map
|