@northlight/ui 2.35.3 → 2.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,27 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@chakra-ui/react'), require('react'), require('chakra-react-select'), require('ramda'), require('@react-aria/focus'), require('react-hook-form'), require('@chakra-ui/system'), require('@northlight/tokens'), require('@emotion/react'), require('@chakra-ui/theme-tools'), require('@northlight/icons'), require('@hookform/resolvers/joi'), require('@react-aria/checkbox'), require('@react-aria/radio'), require('@react-aria/utils'), require('@react-stately/radio'), require('@react-stately/checkbox'), require('@react-aria/datepicker'), require('@react-stately/datepicker'), require('@internationalized/date'), require('@react-aria/button'), require('@react-aria/i18n'), require('@react-stately/calendar'), require('@react-aria/calendar'), require('react-router-dom'), require('@chakra-ui/clickable'), require('framer-motion'), require('@dnd-kit/core'), require('@dnd-kit/utilities'), require('@dnd-kit/sortable'), require('@dnd-kit/modifiers'), require('react-window'), require('react-virtualized-auto-sizer'), require('react-avatar-editor'), require('react-number-format'), require('react-input-mask'), require('yafu')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@chakra-ui/react', 'react', 'chakra-react-select', 'ramda', '@react-aria/focus', 'react-hook-form', '@chakra-ui/system', '@northlight/tokens', '@emotion/react', '@chakra-ui/theme-tools', '@northlight/icons', '@hookform/resolvers/joi', '@react-aria/checkbox', '@react-aria/radio', '@react-aria/utils', '@react-stately/radio', '@react-stately/checkbox', '@react-aria/datepicker', '@react-stately/datepicker', '@internationalized/date', '@react-aria/button', '@react-aria/i18n', '@react-stately/calendar', '@react-aria/calendar', 'react-router-dom', '@chakra-ui/clickable', 'framer-motion', '@dnd-kit/core', '@dnd-kit/utilities', '@dnd-kit/sortable', '@dnd-kit/modifiers', 'react-window', 'react-virtualized-auto-sizer', 'react-avatar-editor', 'react-number-format', 'react-input-mask', 'yafu'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.chakraReactSelect, global.ramda, global.focus, global.reactHookForm, global.system, global.tokens, global.react$1, global.themeTools, global.icons, global.joi, global.checkbox$1, global.radio$1, global.utils, global.radio, global.checkbox, global.datepicker, global.datepicker$1, global.date, global.button, global.i18n, global.calendar$1, global.calendar, global.reactRouterDom, global.clickable, global.framerMotion, global.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.reactNumberFormat, global.InputMask, global.yafu));
5
- })(this, (function (exports, react, React, chakraReactSelect, ramda, focus, reactHookForm, system, tokens, react$1, themeTools, icons, joi, checkbox$1, radio$1, utils, radio, checkbox, datepicker, datepicker$1, date, button, i18n, calendar$1, calendar, reactRouterDom, clickable, framerMotion, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, reactNumberFormat, InputMask, yafu) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.chakraReactSelect, global.ramda, global.focus, global.reactHookForm, global.system, global.tokens, global.react$1, global.themeTools, global.NorthlightIcons, global.joi, global.checkbox$1, global.radio$1, global.utils, global.radio, global.checkbox, global.datepicker, global.datepicker$1, global.date, global.button, global.i18n, global.calendar$1, global.calendar, global.reactRouterDom, global.clickable, global.framerMotion, global.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.reactNumberFormat, global.InputMask, global.yafu));
5
+ })(this, (function (exports, react, React, chakraReactSelect, ramda, focus, reactHookForm, system, tokens, react$1, themeTools, NorthlightIcons, joi, checkbox$1, radio$1, utils, radio, checkbox, datepicker, datepicker$1, date, button, i18n, calendar$1, calendar, reactRouterDom, clickable, framerMotion, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, reactNumberFormat, InputMask, yafu) { 'use strict';
6
+
7
+ function _interopNamespaceDefault(e) {
8
+ var n = Object.create(null);
9
+ if (e) {
10
+ Object.keys(e).forEach(function (k) {
11
+ if (k !== 'default') {
12
+ var d = Object.getOwnPropertyDescriptor(e, k);
13
+ Object.defineProperty(n, k, d.get ? d : {
14
+ enumerable: true,
15
+ get: function () { return e[k]; }
16
+ });
17
+ }
18
+ });
19
+ }
20
+ n.default = e;
21
+ return Object.freeze(n);
22
+ }
23
+
24
+ var NorthlightIcons__namespace = /*#__PURE__*/_interopNamespaceDefault(NorthlightIcons);
6
25
 
7
26
  var __defProp$2t = Object.defineProperty;
8
27
  var __getOwnPropSymbols$2t = Object.getOwnPropertySymbols;
@@ -1006,8 +1025,9 @@
1006
1025
  _focusVisible: {
1007
1026
  bgColor: color.background.input["outline-focus"],
1008
1027
  borderColor: color.border.input.focus,
1028
+ boxShadow: `inset 0 0 0 1px ${color.border.input.focus}`,
1009
1029
  _invalid: {
1010
- boxShadow: `0 0 0 1px ${color.border.input.error}`,
1030
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`,
1011
1031
  bgColor: color.background.input["outline-error"],
1012
1032
  borderColor: color.border.input.error
1013
1033
  }
@@ -1018,7 +1038,8 @@
1018
1038
  },
1019
1039
  _invalid: {
1020
1040
  bgColor: color.background.input["outline-error"],
1021
- borderColor: color.border.input.error
1041
+ borderColor: color.border.input.error,
1042
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`
1022
1043
  },
1023
1044
  _disabled: {
1024
1045
  bgColor: color.background.input["outline-disabled"],
@@ -1057,20 +1078,20 @@
1057
1078
  bgColor: color.background.input["filled-hover"]
1058
1079
  },
1059
1080
  _focusVisible: {
1060
- boxShadow: `0 0 0 1px ${color.border.input.focus}`,
1081
+ boxShadow: `inset 0 0 0 1px ${color.border.input.focus}`,
1061
1082
  borderColor: color.border.input.focus,
1062
1083
  bgColor: color.background.input["filled-focus"],
1063
1084
  _readOnly: {
1064
1085
  bgColor: color.background.input["filled-default"]
1065
1086
  },
1066
1087
  _invalid: {
1067
- boxShadow: `0 0 0 1px ${color.border.input.error}`,
1088
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`,
1068
1089
  bgColor: color.background.input["outline-error"],
1069
1090
  borderColor: color.border.input.error
1070
1091
  }
1071
1092
  },
1072
1093
  _invalid: {
1073
- boxShadow: `0 0 0 1px ${color.border.input.error}`,
1094
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`,
1074
1095
  bgColor: color.background.input["filled-error"],
1075
1096
  borderColor: color.border.input.error
1076
1097
  },
@@ -1157,11 +1178,11 @@
1157
1178
  _focusVisible: {
1158
1179
  bgColor: color.background.input["outline-focus"],
1159
1180
  _hover: {
1160
- boxShadow: `0 0 0 1px ${color.border.ai}`,
1181
+ boxShadow: `inset 0 0 0 1px ${color.border.ai}`,
1161
1182
  borderColor: color.border.ai
1162
1183
  },
1163
1184
  _invalid: {
1164
- boxShadow: `0 0 0 1px ${color.border.input.error}`,
1185
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`,
1165
1186
  bgColor: color.background.input["outline-error"],
1166
1187
  borderColor: color.border.input.error
1167
1188
  }
@@ -1605,7 +1626,7 @@
1605
1626
  };
1606
1627
 
1607
1628
  const Alert$1 = {
1608
- parts: ["container", "title", "description"],
1629
+ parts: ["container", "title", "description", "icon"],
1609
1630
  baseStyle: ({ theme: {
1610
1631
  radii: borderRadius,
1611
1632
  colors: color,
@@ -1617,40 +1638,69 @@
1617
1638
  paddingEnd: coreSpacing[8],
1618
1639
  width: "auto",
1619
1640
  display: "flex"
1641
+ },
1642
+ title: {
1643
+ lineHeight: "1.25",
1644
+ overflowWrap: "break-word"
1645
+ },
1646
+ description: {
1647
+ lineHeight: "1.25",
1648
+ overflowWrap: "break-word"
1649
+ },
1650
+ icon: {
1651
+ boxSize: 6
1620
1652
  }
1621
1653
  }),
1622
1654
  variants: {
1623
1655
  success: ({ theme: { colors: color } }) => ({
1624
1656
  container: {
1625
1657
  bgColor: color.background.toast.success
1658
+ },
1659
+ icon: {
1660
+ color: color.icon.toast.success
1626
1661
  }
1627
1662
  }),
1628
1663
  warning: ({ theme: { colors: color } }) => ({
1629
1664
  container: {
1630
1665
  bgColor: color.background.toast.warning
1666
+ },
1667
+ icon: {
1668
+ color: color.icon.toast.warning
1631
1669
  }
1632
1670
  }),
1633
1671
  info: ({ theme: { colors: color } }) => ({
1634
1672
  container: {
1635
1673
  bgColor: color.background.toast.info
1674
+ },
1675
+ icon: {
1676
+ color: color.icon.toast.info
1636
1677
  }
1637
1678
  }),
1638
1679
  error: ({ theme: { colors: color } }) => ({
1639
1680
  container: {
1640
1681
  bgColor: color.background.toast.error,
1641
1682
  color: color.text.toast.error
1683
+ },
1684
+ icon: {
1685
+ color: color.icon.toast.error
1642
1686
  }
1643
1687
  }),
1644
1688
  ai: ({ theme: { colors: color } }) => ({
1645
1689
  container: {
1646
1690
  bgColor: color.bg.ai.default,
1647
1691
  color: color.text.inverted
1692
+ },
1693
+ icon: {
1694
+ color: color.icon.toast.ai
1648
1695
  }
1649
1696
  }),
1650
1697
  default: ({ theme: { colors: color } }) => ({
1651
1698
  container: {
1652
1699
  bgColor: color.bg.layer,
1653
1700
  color: color.text.default
1701
+ },
1702
+ icon: {
1703
+ color: color.icon.toast.default
1654
1704
  }
1655
1705
  }),
1656
1706
  ghost: ({ theme: { colors: color } }) => ({
@@ -1660,6 +1710,9 @@
1660
1710
  borderWidth: "xs",
1661
1711
  borderColor: color.border.default,
1662
1712
  borderStyle: "solid"
1713
+ },
1714
+ icon: {
1715
+ color: color.icon.toast.ghost
1663
1716
  }
1664
1717
  })
1665
1718
  }
@@ -1718,12 +1771,12 @@
1718
1771
  _focusVisible: {
1719
1772
  bg: color.background.input["outline-focus"],
1720
1773
  borderColor: color.border.input.focus,
1721
- boxShadow: `0 0 0 1px ${color.border.textarea.focus}`
1774
+ boxShadow: `inset 0 0 0 1px ${color.border.textarea.focus}`
1722
1775
  },
1723
1776
  _invalid: {
1724
1777
  bg: color.background.input["outline-error"],
1725
1778
  borderColor: color.border.input.error,
1726
- boxShadow: `0 0 0 1px ${color.border.input.error}`
1779
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`
1727
1780
  },
1728
1781
  _disabled: {
1729
1782
  bg: color.background.input["outline-disabled"],
@@ -1929,10 +1982,10 @@
1929
1982
  _focusWithin: {
1930
1983
  bgColor: color.background.input["outline-focus"],
1931
1984
  borderColor: color.border.textarea.focus,
1932
- boxShadow: `0 0 0 1px ${color.border.textarea.focus}`
1985
+ boxShadow: `inset 0 0 0 1px ${color.border.textarea.focus}`
1933
1986
  },
1934
1987
  _invalid: {
1935
- boxShadow: `0 0 0 1px ${color.border.input.error}`,
1988
+ boxShadow: `inset 0 0 0 1px ${color.border.input.error}`,
1936
1989
  borderColor: color.border.input.error
1937
1990
  },
1938
1991
  _disabled: {
@@ -1953,11 +2006,11 @@
1953
2006
  outline: "none",
1954
2007
  rounded: "md",
1955
2008
  _focus: {
1956
- bgColor: "blue.500",
2009
+ bgColor: "bg.brand.default",
1957
2010
  color: color.text.inverted
1958
2011
  },
1959
2012
  _placeholder: {
1960
- color: "red.500"
2013
+ color: "destructive"
1961
2014
  }
1962
2015
  }
1963
2016
  }),
@@ -3720,7 +3773,7 @@
3720
3773
  return a;
3721
3774
  };
3722
3775
  var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
3723
- var __objRest$1R = (source, exclude) => {
3776
+ var __objRest$1S = (source, exclude) => {
3724
3777
  var target = {};
3725
3778
  for (var prop in source)
3726
3779
  if (__hasOwnProp$2g.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3741,7 +3794,7 @@
3741
3794
  "data-testid": testId,
3742
3795
  value = [],
3743
3796
  onError
3744
- } = _b, rest = __objRest$1R(_b, [
3797
+ } = _b, rest = __objRest$1S(_b, [
3745
3798
  "options",
3746
3799
  "onChange",
3747
3800
  "isLoading",
@@ -3851,7 +3904,7 @@
3851
3904
  }
3852
3905
  return a;
3853
3906
  };
3854
- var __objRest$1Q = (source, exclude) => {
3907
+ var __objRest$1R = (source, exclude) => {
3855
3908
  var target = {};
3856
3909
  for (var prop in source)
3857
3910
  if (__hasOwnProp$2f.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3868,7 +3921,7 @@
3868
3921
  name,
3869
3922
  image,
3870
3923
  variant = "square"
3871
- } = _b, rest = __objRest$1Q(_b, [
3924
+ } = _b, rest = __objRest$1R(_b, [
3872
3925
  "name",
3873
3926
  "image",
3874
3927
  "variant"
@@ -3910,7 +3963,7 @@
3910
3963
  }
3911
3964
  return a;
3912
3965
  };
3913
- var __objRest$1P = (source, exclude) => {
3966
+ var __objRest$1Q = (source, exclude) => {
3914
3967
  var target = {};
3915
3968
  for (var prop in source)
3916
3969
  if (__hasOwnProp$2e.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3926,7 +3979,7 @@
3926
3979
  var _b = _a, {
3927
3980
  variant = "success",
3928
3981
  children
3929
- } = _b, rest = __objRest$1P(_b, [
3982
+ } = _b, rest = __objRest$1Q(_b, [
3930
3983
  "variant",
3931
3984
  "children"
3932
3985
  ]);
@@ -3967,7 +4020,7 @@
3967
4020
  }
3968
4021
  return a;
3969
4022
  };
3970
- var __objRest$1O = (source, exclude) => {
4023
+ var __objRest$1P = (source, exclude) => {
3971
4024
  var target = {};
3972
4025
  for (var prop in source)
3973
4026
  if (__hasOwnProp$2c.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -3985,7 +4038,7 @@
3985
4038
  size,
3986
4039
  color,
3987
4040
  boxSize
3988
- } = _b, rest = __objRest$1O(_b, [
4041
+ } = _b, rest = __objRest$1P(_b, [
3989
4042
  "as",
3990
4043
  "size",
3991
4044
  "color",
@@ -4026,7 +4079,7 @@
4026
4079
  }
4027
4080
  return a;
4028
4081
  };
4029
- var __objRest$1N = (source, exclude) => {
4082
+ var __objRest$1O = (source, exclude) => {
4030
4083
  var target = {};
4031
4084
  for (var prop in source)
4032
4085
  if (__hasOwnProp$2b.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4046,7 +4099,7 @@
4046
4099
  image,
4047
4100
  size,
4048
4101
  bgColor
4049
- } = _b, rest = __objRest$1N(_b, [
4102
+ } = _b, rest = __objRest$1O(_b, [
4050
4103
  "variant",
4051
4104
  "notificationCount",
4052
4105
  "name",
@@ -4071,7 +4124,7 @@
4071
4124
  ) : name ? /* @__PURE__ */ React.createElement(react.chakra.span, { sx: text }, getInitials(name)) : /* @__PURE__ */ React.createElement(
4072
4125
  Icon,
4073
4126
  {
4074
- as: variant === "square" ? icons.UserSquareDuo : icons.BusinessContactDuo,
4127
+ as: variant === "square" ? NorthlightIcons.UserSquareDuo : NorthlightIcons.BusinessContactDuo,
4075
4128
  sx: icon,
4076
4129
  "aria-label": "user-avatar"
4077
4130
  }
@@ -4094,7 +4147,7 @@
4094
4147
  }
4095
4148
  return a;
4096
4149
  };
4097
- var __objRest$1M = (source, exclude) => {
4150
+ var __objRest$1N = (source, exclude) => {
4098
4151
  var target = {};
4099
4152
  for (var prop in source)
4100
4153
  if (__hasOwnProp$2a.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4110,7 +4163,7 @@
4110
4163
  var _b = _a, {
4111
4164
  children,
4112
4165
  sx = {}
4113
- } = _b, rest = __objRest$1M(_b, [
4166
+ } = _b, rest = __objRest$1N(_b, [
4114
4167
  "children",
4115
4168
  "sx"
4116
4169
  ]);
@@ -4142,7 +4195,7 @@
4142
4195
  }
4143
4196
  return a;
4144
4197
  };
4145
- var __objRest$1L = (source, exclude) => {
4198
+ var __objRest$1M = (source, exclude) => {
4146
4199
  var target = {};
4147
4200
  for (var prop in source)
4148
4201
  if (__hasOwnProp$29.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4158,7 +4211,7 @@
4158
4211
  var _b = _a, {
4159
4212
  children,
4160
4213
  sx = {}
4161
- } = _b, rest = __objRest$1L(_b, [
4214
+ } = _b, rest = __objRest$1M(_b, [
4162
4215
  "children",
4163
4216
  "sx"
4164
4217
  ]);
@@ -4190,7 +4243,7 @@
4190
4243
  }
4191
4244
  return a;
4192
4245
  };
4193
- var __objRest$1K = (source, exclude) => {
4246
+ var __objRest$1L = (source, exclude) => {
4194
4247
  var target = {};
4195
4248
  for (var prop in source)
4196
4249
  if (__hasOwnProp$28.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4206,7 +4259,7 @@
4206
4259
  var _b = _a, {
4207
4260
  children,
4208
4261
  sx = {}
4209
- } = _b, rest = __objRest$1K(_b, [
4262
+ } = _b, rest = __objRest$1L(_b, [
4210
4263
  "children",
4211
4264
  "sx"
4212
4265
  ]);
@@ -4238,7 +4291,7 @@
4238
4291
  }
4239
4292
  return a;
4240
4293
  };
4241
- var __objRest$1J = (source, exclude) => {
4294
+ var __objRest$1K = (source, exclude) => {
4242
4295
  var target = {};
4243
4296
  for (var prop in source)
4244
4297
  if (__hasOwnProp$27.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4254,7 +4307,7 @@
4254
4307
  var _b = _a, {
4255
4308
  children,
4256
4309
  sx = {}
4257
- } = _b, rest = __objRest$1J(_b, [
4310
+ } = _b, rest = __objRest$1K(_b, [
4258
4311
  "children",
4259
4312
  "sx"
4260
4313
  ]);
@@ -4286,7 +4339,7 @@
4286
4339
  }
4287
4340
  return a;
4288
4341
  };
4289
- var __objRest$1I = (source, exclude) => {
4342
+ var __objRest$1J = (source, exclude) => {
4290
4343
  var target = {};
4291
4344
  for (var prop in source)
4292
4345
  if (__hasOwnProp$26.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4302,7 +4355,7 @@
4302
4355
  var _b = _a, {
4303
4356
  children,
4304
4357
  sx = {}
4305
- } = _b, rest = __objRest$1I(_b, [
4358
+ } = _b, rest = __objRest$1J(_b, [
4306
4359
  "children",
4307
4360
  "sx"
4308
4361
  ]);
@@ -4334,7 +4387,7 @@
4334
4387
  }
4335
4388
  return a;
4336
4389
  };
4337
- var __objRest$1H = (source, exclude) => {
4390
+ var __objRest$1I = (source, exclude) => {
4338
4391
  var target = {};
4339
4392
  for (var prop in source)
4340
4393
  if (__hasOwnProp$25.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4350,7 +4403,7 @@
4350
4403
  var _b = _a, {
4351
4404
  children,
4352
4405
  sx = {}
4353
- } = _b, rest = __objRest$1H(_b, [
4406
+ } = _b, rest = __objRest$1I(_b, [
4354
4407
  "children",
4355
4408
  "sx"
4356
4409
  ]);
@@ -4382,7 +4435,7 @@
4382
4435
  }
4383
4436
  return a;
4384
4437
  };
4385
- var __objRest$1G = (source, exclude) => {
4438
+ var __objRest$1H = (source, exclude) => {
4386
4439
  var target = {};
4387
4440
  for (var prop in source)
4388
4441
  if (__hasOwnProp$24.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4399,7 +4452,7 @@
4399
4452
  children,
4400
4453
  variant = "16",
4401
4454
  sx = {}
4402
- } = _b, rest = __objRest$1G(_b, [
4455
+ } = _b, rest = __objRest$1H(_b, [
4403
4456
  "children",
4404
4457
  "variant",
4405
4458
  "sx"
@@ -4432,7 +4485,7 @@
4432
4485
  }
4433
4486
  return a;
4434
4487
  };
4435
- var __objRest$1F = (source, exclude) => {
4488
+ var __objRest$1G = (source, exclude) => {
4436
4489
  var target = {};
4437
4490
  for (var prop in source)
4438
4491
  if (__hasOwnProp$23.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4446,7 +4499,7 @@
4446
4499
  };
4447
4500
  const Blockquote = React.forwardRef(
4448
4501
  (_a, ref) => {
4449
- var _b = _a, { children, sx = {} } = _b, rest = __objRest$1F(_b, ["children", "sx"]);
4502
+ var _b = _a, { children, sx = {} } = _b, rest = __objRest$1G(_b, ["children", "sx"]);
4450
4503
  const styles = react.useStyleConfig("Blockquote", { sx });
4451
4504
  return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$23({ as: "span", sx: styles, ref }, rest), children);
4452
4505
  }
@@ -4468,7 +4521,7 @@
4468
4521
  }
4469
4522
  return a;
4470
4523
  };
4471
- var __objRest$1E = (source, exclude) => {
4524
+ var __objRest$1F = (source, exclude) => {
4472
4525
  var target = {};
4473
4526
  for (var prop in source)
4474
4527
  if (__hasOwnProp$22.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4484,7 +4537,7 @@
4484
4537
  var _b = _a, {
4485
4538
  children,
4486
4539
  sx = {}
4487
- } = _b, rest = __objRest$1E(_b, [
4540
+ } = _b, rest = __objRest$1F(_b, [
4488
4541
  "children",
4489
4542
  "sx"
4490
4543
  ]);
@@ -4516,7 +4569,7 @@
4516
4569
  }
4517
4570
  return a;
4518
4571
  };
4519
- var __objRest$1D = (source, exclude) => {
4572
+ var __objRest$1E = (source, exclude) => {
4520
4573
  var target = {};
4521
4574
  for (var prop in source)
4522
4575
  if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4532,7 +4585,7 @@
4532
4585
  var _b = _a, {
4533
4586
  children,
4534
4587
  sx = {}
4535
- } = _b, rest = __objRest$1D(_b, [
4588
+ } = _b, rest = __objRest$1E(_b, [
4536
4589
  "children",
4537
4590
  "sx"
4538
4591
  ]);
@@ -4564,7 +4617,7 @@
4564
4617
  }
4565
4618
  return a;
4566
4619
  };
4567
- var __objRest$1C = (source, exclude) => {
4620
+ var __objRest$1D = (source, exclude) => {
4568
4621
  var target = {};
4569
4622
  for (var prop in source)
4570
4623
  if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4580,7 +4633,7 @@
4580
4633
  var _b = _a, {
4581
4634
  children,
4582
4635
  sx = {}
4583
- } = _b, rest = __objRest$1C(_b, [
4636
+ } = _b, rest = __objRest$1D(_b, [
4584
4637
  "children",
4585
4638
  "sx"
4586
4639
  ]);
@@ -4612,7 +4665,7 @@
4612
4665
  }
4613
4666
  return a;
4614
4667
  };
4615
- var __objRest$1B = (source, exclude) => {
4668
+ var __objRest$1C = (source, exclude) => {
4616
4669
  var target = {};
4617
4670
  for (var prop in source)
4618
4671
  if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4628,7 +4681,7 @@
4628
4681
  var _b = _a, {
4629
4682
  children,
4630
4683
  sx = {}
4631
- } = _b, rest = __objRest$1B(_b, [
4684
+ } = _b, rest = __objRest$1C(_b, [
4632
4685
  "children",
4633
4686
  "sx"
4634
4687
  ]);
@@ -4660,7 +4713,7 @@
4660
4713
  }
4661
4714
  return a;
4662
4715
  };
4663
- var __objRest$1A = (source, exclude) => {
4716
+ var __objRest$1B = (source, exclude) => {
4664
4717
  var target = {};
4665
4718
  for (var prop in source)
4666
4719
  if (__hasOwnProp$1_.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4677,7 +4730,7 @@
4677
4730
  children,
4678
4731
  size = "sm",
4679
4732
  sx = {}
4680
- } = _b, rest = __objRest$1A(_b, [
4733
+ } = _b, rest = __objRest$1B(_b, [
4681
4734
  "children",
4682
4735
  "size",
4683
4736
  "sx"
@@ -4710,7 +4763,7 @@
4710
4763
  }
4711
4764
  return a;
4712
4765
  };
4713
- var __objRest$1z = (source, exclude) => {
4766
+ var __objRest$1A = (source, exclude) => {
4714
4767
  var target = {};
4715
4768
  for (var prop in source)
4716
4769
  if (__hasOwnProp$1Z.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4724,7 +4777,7 @@
4724
4777
  };
4725
4778
  const NumVal = React.forwardRef(
4726
4779
  (_a, ref) => {
4727
- var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$1z(_b, ["children", "size", "sx"]);
4780
+ var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$1A(_b, ["children", "size", "sx"]);
4728
4781
  const styles = react.useStyleConfig("NumVal", { sx, size });
4729
4782
  return /* @__PURE__ */ React.createElement(
4730
4783
  react.Text,
@@ -4834,7 +4887,7 @@
4834
4887
  }
4835
4888
  return a;
4836
4889
  };
4837
- var __objRest$1y = (source, exclude) => {
4890
+ var __objRest$1z = (source, exclude) => {
4838
4891
  var target = {};
4839
4892
  for (var prop in source)
4840
4893
  if (__hasOwnProp$1Y.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -4851,7 +4904,7 @@
4851
4904
  children,
4852
4905
  max = Infinity,
4853
4906
  spacing = "-4"
4854
- } = _b, rest = __objRest$1y(_b, [
4907
+ } = _b, rest = __objRest$1z(_b, [
4855
4908
  "children",
4856
4909
  "max",
4857
4910
  "spacing"
@@ -4881,7 +4934,33 @@
4881
4934
  }
4882
4935
  return a;
4883
4936
  };
4884
- const Badge = React.forwardRef((props, ref) => /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1X({ ref }, props)));
4937
+ var __objRest$1y = (source, exclude) => {
4938
+ var target = {};
4939
+ for (var prop in source)
4940
+ if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
4941
+ target[prop] = source[prop];
4942
+ if (source != null && __getOwnPropSymbols$1X)
4943
+ for (var prop of __getOwnPropSymbols$1X(source)) {
4944
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
4945
+ target[prop] = source[prop];
4946
+ }
4947
+ return target;
4948
+ };
4949
+ const Badge = React.forwardRef((props, ref) => {
4950
+ const _a = props, {
4951
+ children,
4952
+ withIcon,
4953
+ iconPosition = "left",
4954
+ iconAs
4955
+ } = _a, rest = __objRest$1y(_a, [
4956
+ "children",
4957
+ "withIcon",
4958
+ "iconPosition",
4959
+ "iconAs"
4960
+ ]);
4961
+ const IconComponent = iconAs ? NorthlightIcons__namespace[iconAs] : NorthlightIcons.MediatoolLogoSolid;
4962
+ return /* @__PURE__ */ React.createElement(react.Badge, __spreadValues$1X({ ref }, rest), /* @__PURE__ */ React.createElement(react.Flex, { align: "center", gap: "1" }, withIcon && iconPosition === "left" && IconComponent && /* @__PURE__ */ React.createElement(Icon, { as: IconComponent, boxSize: "3" }), children, withIcon && iconPosition === "right" && IconComponent && /* @__PURE__ */ React.createElement(Icon, { as: IconComponent, boxSize: "3" })));
4963
+ });
4885
4964
 
4886
4965
  var __defProp$1W = Object.defineProperty;
4887
4966
  var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
@@ -5566,7 +5645,7 @@
5566
5645
  "aria-label": `select-${color}`,
5567
5646
  onClick,
5568
5647
  sx: colorButton,
5569
- icon: /* @__PURE__ */ React.createElement(Icon, { as: icons.CheckDuo, boxSize: selected ? void 0 : "0" }),
5648
+ icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.CheckDuo, boxSize: selected ? void 0 : "0" }),
5570
5649
  color: getContrastColor(color)
5571
5650
  }
5572
5651
  );
@@ -5624,7 +5703,7 @@
5624
5703
  onClick,
5625
5704
  sx: colorButton
5626
5705
  },
5627
- /* @__PURE__ */ React.createElement(Icon, { as: expanded ? icons.ChevronUpDuo : icons.ChevronDownDuo })
5706
+ /* @__PURE__ */ React.createElement(Icon, { as: expanded ? NorthlightIcons.ChevronUpDuo : NorthlightIcons.ChevronDownDuo })
5628
5707
  );
5629
5708
  };
5630
5709
 
@@ -5781,7 +5860,7 @@
5781
5860
  name,
5782
5861
  sx: trigger,
5783
5862
  size,
5784
- icon: /* @__PURE__ */ React.createElement(Icon, { as: icons.ColorsDuo })
5863
+ icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.ColorsDuo })
5785
5864
  }, rest)
5786
5865
  )),
5787
5866
  /* @__PURE__ */ React.createElement(RenderInPortal, { shouldRenderInPortal }, /* @__PURE__ */ React.createElement(react.PopoverContent, { w: "auto", boxShadow: "md", p: 2, bgColor: "background.default" }, /* @__PURE__ */ React.createElement(react.Stack, null, /* @__PURE__ */ React.createElement(
@@ -6036,7 +6115,7 @@
6036
6115
  as: "label"
6037
6116
  },
6038
6117
  /* @__PURE__ */ React.createElement("input", __spreadValues$1H({}, flipButtonProps)),
6039
- icon && iconPlacement !== "none" ? /* @__PURE__ */ React.createElement(Icon, { as: icon || icons.CheckSolid, sx: buttonIcon }) : isSelected && iconPlacement !== "none" && /* @__PURE__ */ React.createElement(react.SlideFade, { in: isSelected }, /* @__PURE__ */ React.createElement(Icon, { as: icon || icons.CheckSolid, sx: buttonIcon })),
6118
+ icon && iconPlacement !== "none" ? /* @__PURE__ */ React.createElement(Icon, { as: icon || NorthlightIcons.CheckSolid, sx: buttonIcon }) : isSelected && iconPlacement !== "none" && /* @__PURE__ */ React.createElement(react.SlideFade, { in: isSelected }, /* @__PURE__ */ React.createElement(Icon, { as: icon || NorthlightIcons.CheckSolid, sx: buttonIcon })),
6040
6119
  /* @__PURE__ */ React.createElement(react.Text, { textAlign: "center" }, children)
6041
6120
  );
6042
6121
  };
@@ -6290,7 +6369,7 @@
6290
6369
  onPointerDown: handleClick,
6291
6370
  pointerEvents: isDisabled ? "none" : "auto"
6292
6371
  }),
6293
- /* @__PURE__ */ React.createElement(Icon, { as: icons.CalendarDuo })
6372
+ /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.CalendarDuo })
6294
6373
  );
6295
6374
  };
6296
6375
 
@@ -6909,7 +6988,7 @@
6909
6988
  const weekNumber = getWeekNumberAtStartOfMonth(startDate.year, startDate.month);
6910
6989
  return weekNumber;
6911
6990
  }, [startDate.year, startDate.month]);
6912
- return /* @__PURE__ */ React.createElement(react.Box, __spreadProps$h(__spreadValues$1u({}, calendarProps), { h: "265px", p: "0" }), /* @__PURE__ */ React.createElement(react.Stack, null, /* @__PURE__ */ React.createElement(react.Flex, { justify: "space-between", w: "full", p: "1", alignItems: "center" }, /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1u({}, prevButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: icons.ChevronLeftSolid, boxSize: 4 })), /* @__PURE__ */ React.createElement(react.HStack, { spacing: "0" }, /* @__PURE__ */ React.createElement(MonthSelect, { state }), /* @__PURE__ */ React.createElement(YearSelectRangeCalendar, { state })), /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1u({}, nextButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: icons.ChevronRightSolid, boxSize: 4 }))), /* @__PURE__ */ React.createElement(react.chakra.table, __spreadProps$h(__spreadValues$1u({}, gridProps), { sx: { borderSpacing: "0" } }), /* @__PURE__ */ React.createElement(react.chakra.thead, __spreadValues$1u({}, headerProps), /* @__PURE__ */ React.createElement(react.chakra.tr, null, /* @__PURE__ */ React.createElement(react.chakra.th, null), /* @__PURE__ */ React.createElement(DayLabels, { weekDays }))), /* @__PURE__ */ React.createElement(react.chakra.tbody, null, ramda.times((weekIndex) => {
6991
+ return /* @__PURE__ */ React.createElement(react.Box, __spreadProps$h(__spreadValues$1u({}, calendarProps), { h: "265px", p: "0" }), /* @__PURE__ */ React.createElement(react.Stack, null, /* @__PURE__ */ React.createElement(react.Flex, { justify: "space-between", w: "full", p: "1", alignItems: "center" }, /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1u({}, prevButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.ChevronLeftSolid, boxSize: 4 })), /* @__PURE__ */ React.createElement(react.HStack, { spacing: "0" }, /* @__PURE__ */ React.createElement(MonthSelect, { state }), /* @__PURE__ */ React.createElement(YearSelectRangeCalendar, { state })), /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1u({}, nextButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.ChevronRightSolid, boxSize: 4 }))), /* @__PURE__ */ React.createElement(react.chakra.table, __spreadProps$h(__spreadValues$1u({}, gridProps), { sx: { borderSpacing: "0" } }), /* @__PURE__ */ React.createElement(react.chakra.thead, __spreadValues$1u({}, headerProps), /* @__PURE__ */ React.createElement(react.chakra.tr, null, /* @__PURE__ */ React.createElement(react.chakra.th, null), /* @__PURE__ */ React.createElement(DayLabels, { weekDays }))), /* @__PURE__ */ React.createElement(react.chakra.tbody, null, ramda.times((weekIndex) => {
6913
6992
  const weekNumber = getDisplayWeek(
6914
6993
  weekNumberStart,
6915
6994
  weekIndex,
@@ -6962,7 +7041,7 @@
6962
7041
  props,
6963
7042
  state
6964
7043
  );
6965
- return /* @__PURE__ */ React.createElement(react.Box, __spreadProps$g(__spreadValues$1t({}, calendarProps), { __css: container }), /* @__PURE__ */ React.createElement(react.Stack, null, /* @__PURE__ */ React.createElement(react.Flex, { justifyContent: "space-between" }, /* @__PURE__ */ React.createElement(react.Box, { paddingInlineStart: "2" }, /* @__PURE__ */ React.createElement(YearSelectCalendar, { state })), /* @__PURE__ */ React.createElement(react.HStack, { spacing: 2 }, /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1t({}, prevButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: icons.ChevronLeftSolid, boxSize: 4 })), /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1t({}, nextButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: icons.ChevronRightSolid, boxSize: 4 })))), /* @__PURE__ */ React.createElement(
7044
+ return /* @__PURE__ */ React.createElement(react.Box, __spreadProps$g(__spreadValues$1t({}, calendarProps), { __css: container }), /* @__PURE__ */ React.createElement(react.Stack, null, /* @__PURE__ */ React.createElement(react.Flex, { justifyContent: "space-between" }, /* @__PURE__ */ React.createElement(react.Box, { paddingInlineStart: "2" }, /* @__PURE__ */ React.createElement(YearSelectCalendar, { state })), /* @__PURE__ */ React.createElement(react.HStack, { spacing: 2 }, /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1t({}, prevButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.ChevronLeftSolid, boxSize: 4 })), /* @__PURE__ */ React.createElement(MonthButton, __spreadValues$1t({}, nextButtonProps), /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.ChevronRightSolid, boxSize: 4 })))), /* @__PURE__ */ React.createElement(
6966
7045
  CalendarGrid,
6967
7046
  {
6968
7047
  state,
@@ -7060,7 +7139,7 @@
7060
7139
  onClick: resetDate,
7061
7140
  hidden: !state.dateValue || !isClearable,
7062
7141
  isDisabled,
7063
- icon: /* @__PURE__ */ React.createElement(Icon, { as: icons.XCloseSolid })
7142
+ icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.XCloseSolid })
7064
7143
  }
7065
7144
  ))),
7066
7145
  state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$f(__spreadValues$1s({}, dialogProps), { ref, w: 64, border: "none" }), /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(Calendar, __spreadProps$f(__spreadValues$1s({}, calendarProps), { firstDayOfWeek })))))
@@ -7726,7 +7805,7 @@
7726
7805
  onClick: resetDate,
7727
7806
  hidden: !isClearable,
7728
7807
  isDisabled,
7729
- icon: /* @__PURE__ */ React.createElement(Icon, { as: icons.XCloseSolid })
7808
+ icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.XCloseSolid })
7730
7809
  }
7731
7810
  ))),
7732
7811
  /* @__PURE__ */ React.createElement(PortalWrapper, { renderInPortal }, state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$e(__spreadValues$1p({}, dialogProps), { ref, w: "max-content" }), /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(
@@ -7988,14 +8067,14 @@
7988
8067
  });
7989
8068
 
7990
8069
  const tooltipIconMap = {
7991
- success: icons.CheckCircleSolid,
7992
- warning: icons.AlertTriangleSolid,
7993
- error: icons.AlertCircleSolid,
7994
- danger: icons.AlertOctagonSolid,
7995
- info: icons.InfoSolid,
7996
- ai: icons.BrightnessSolid,
7997
- default: icons.HelpCircleSolid,
7998
- ghost: icons.HelpCircleSolid
8070
+ success: NorthlightIcons.CheckCircleSolid,
8071
+ warning: NorthlightIcons.AlertTriangleSolid,
8072
+ error: NorthlightIcons.AlertCircleSolid,
8073
+ danger: NorthlightIcons.AlertOctagonSolid,
8074
+ info: NorthlightIcons.InfoSolid,
8075
+ ai: NorthlightIcons.BrightnessSolid,
8076
+ default: NorthlightIcons.HelpCircleSolid,
8077
+ ghost: NorthlightIcons.HelpCircleSolid
7999
8078
  };
8000
8079
 
8001
8080
  var __defProp$1l = Object.defineProperty;
@@ -8172,7 +8251,7 @@
8172
8251
  };
8173
8252
  const IntentButton = (_a) => {
8174
8253
  var _b = _a, {
8175
- icon = icons.TrashDuo,
8254
+ icon = NorthlightIcons.TrashDuo,
8176
8255
  timeout = 1e3,
8177
8256
  ringColor = "border.error",
8178
8257
  onTimeout = () => {
@@ -8704,7 +8783,8 @@
8704
8783
  onClose,
8705
8784
  autoFocus = true,
8706
8785
  resizeLimit = "full",
8707
- zIndex = tokens.coreZIndex.overlay
8786
+ zIndex = tokens.coreZIndex.overlay,
8787
+ slideProps
8708
8788
  } = _b, rest = __objRest$10(_b, [
8709
8789
  "isResizable",
8710
8790
  "isOpen",
@@ -8715,7 +8795,8 @@
8715
8795
  "onClose",
8716
8796
  "autoFocus",
8717
8797
  "resizeLimit",
8718
- "zIndex"
8798
+ "zIndex",
8799
+ "slideProps"
8719
8800
  ]);
8720
8801
  const { container } = system.useMultiStyleConfig("Toolbox", { size });
8721
8802
  const newChildren = getChildrenWithProps(
@@ -8750,7 +8831,7 @@
8750
8831
  },
8751
8832
  /* @__PURE__ */ React.createElement(react.Portal, null, /* @__PURE__ */ React.createElement(
8752
8833
  Slide,
8753
- {
8834
+ __spreadValues$1d({
8754
8835
  direction,
8755
8836
  in: isOpen,
8756
8837
  style: {
@@ -8758,7 +8839,7 @@
8758
8839
  width: adjustableWidth,
8759
8840
  zIndex
8760
8841
  }
8761
- },
8842
+ }, slideProps),
8762
8843
  /* @__PURE__ */ React.createElement(
8763
8844
  react.Flex,
8764
8845
  __spreadValues$1d({
@@ -9119,7 +9200,7 @@
9119
9200
  sx: arrow,
9120
9201
  onClick
9121
9202
  }, rest),
9122
- /* @__PURE__ */ React.createElement(IconButton, { "aria-label": `move carousel to ${direction}`, variant: "ghost", size: "lg" }, /* @__PURE__ */ React.createElement(Icon, { as: direction === "right" ? icons.ChevronRightSolid : icons.ChevronLeftSolid }))
9203
+ /* @__PURE__ */ React.createElement(IconButton, { "aria-label": `move carousel to ${direction}`, variant: "ghost", size: "lg" }, /* @__PURE__ */ React.createElement(Icon, { as: direction === "right" ? NorthlightIcons.ChevronRightSolid : NorthlightIcons.ChevronLeftSolid }))
9123
9204
  );
9124
9205
  };
9125
9206
 
@@ -9429,7 +9510,7 @@
9429
9510
  "data-testid": testId,
9430
9511
  value,
9431
9512
  onSearchInputChange = ramda.identity,
9432
- icon = icons.SearchDuo
9513
+ icon = NorthlightIcons.SearchDuo
9433
9514
  } = _b, rest = __objRest$S(_b, [
9434
9515
  "defaultOptions",
9435
9516
  "isMulti",
@@ -9616,7 +9697,7 @@
9616
9697
  fontSize: "sm",
9617
9698
  hidden: ramda.isEmpty(value) || !isClearable,
9618
9699
  onClick: () => onChange([]),
9619
- icon: /* @__PURE__ */ React.createElement(Icon, { as: icons.XCloseSolid })
9700
+ icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.XCloseSolid })
9620
9701
  }
9621
9702
  ))
9622
9703
  );
@@ -9802,7 +9883,7 @@
9802
9883
  minW: "max-content"
9803
9884
  }, rest),
9804
9885
  /* @__PURE__ */ React.createElement(react.TagLabel, null, itemLabel),
9805
- /* @__PURE__ */ React.createElement(react.TagRightIcon, null, /* @__PURE__ */ React.createElement(Icon, { as: icons.DotsMatrixSolid }))
9886
+ /* @__PURE__ */ React.createElement(react.TagRightIcon, null, /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.DotsMatrixSolid }))
9806
9887
  );
9807
9888
  }
9808
9889
  );
@@ -10083,7 +10164,7 @@
10083
10164
  return /* @__PURE__ */ React.createElement(
10084
10165
  Icon,
10085
10166
  __spreadValues$U({
10086
- as: icon || icons.DragDuo,
10167
+ as: icon || NorthlightIcons.DragDuo,
10087
10168
  cursor: isDragging ? "grabbing" : "grab"
10088
10169
  }, rest)
10089
10170
  );
@@ -10474,7 +10555,7 @@
10474
10555
  sx: button,
10475
10556
  variant: mapEditableVariantsToButtonCancelVariants[variant]
10476
10557
  }, getCancelButtonProps()),
10477
- /* @__PURE__ */ React.createElement(Icon, { sx: icon, as: icons.XCloseSolid })
10558
+ /* @__PURE__ */ React.createElement(Icon, { sx: icon, as: NorthlightIcons.XCloseSolid })
10478
10559
  ), /* @__PURE__ */ React.createElement(
10479
10560
  IconButton,
10480
10561
  __spreadValues$P({
@@ -10482,7 +10563,7 @@
10482
10563
  sx: button,
10483
10564
  variant: mapEditableVariantsToButtonSubmitVariants[variant]
10484
10565
  }, getSubmitButtonProps()),
10485
- /* @__PURE__ */ React.createElement(Icon, { sx: icon, as: icons.CheckDuo })
10566
+ /* @__PURE__ */ React.createElement(Icon, { sx: icon, as: NorthlightIcons.CheckDuo })
10486
10567
  )) : /* @__PURE__ */ React.createElement(
10487
10568
  IconButton,
10488
10569
  {
@@ -10491,7 +10572,7 @@
10491
10572
  sx: button,
10492
10573
  onClick: onEdit
10493
10574
  },
10494
- /* @__PURE__ */ React.createElement(Icon, { sx: icon, as: icons.EditDuo })
10575
+ /* @__PURE__ */ React.createElement(Icon, { sx: icon, as: NorthlightIcons.EditDuo })
10495
10576
  ));
10496
10577
  };
10497
10578
 
@@ -10773,7 +10854,7 @@
10773
10854
  onChange: (value) => setZoomLevel(value)
10774
10855
  },
10775
10856
  /* @__PURE__ */ React.createElement(react.SliderTrack, null, /* @__PURE__ */ React.createElement(react.SliderFilledTrack, null)),
10776
- /* @__PURE__ */ React.createElement(react.SliderThumb, { boxSize: 6 }, /* @__PURE__ */ React.createElement(Icon, { as: icons.ZoomInDuo }))
10857
+ /* @__PURE__ */ React.createElement(react.SliderThumb, { boxSize: 6 }, /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.ZoomInDuo }))
10777
10858
  ))),
10778
10859
  canEditFileName && /* @__PURE__ */ React.createElement(react.Stack, { w: "90%", direction: isImage ? "row" : "column", pt: 2 }, /* @__PURE__ */ React.createElement(FormLabel, null, "Name the file:"), /* @__PURE__ */ React.createElement(react.Box, { maxW: "50%" }, /* @__PURE__ */ React.createElement(EditableText, { onSubmit: (v) => setFileName(v), value: fileName, size: "sm" })))
10779
10860
  ),
@@ -11446,7 +11527,7 @@
11446
11527
  /* @__PURE__ */ React.createElement(
11447
11528
  Icon,
11448
11529
  {
11449
- as: onlyImageAccepted ? icons.Image03Solid : icons.UploadCloudSolid,
11530
+ as: onlyImageAccepted ? NorthlightIcons.Image03Solid : NorthlightIcons.UploadCloudSolid,
11450
11531
  boxSize: "32px",
11451
11532
  color: isInvalid ? "red.500" : editable ? "blue.500" : "gray.300",
11452
11533
  display: isImage && !hasLoaded ? "inline-block" : "none",
@@ -11456,7 +11537,7 @@
11456
11537
  /* @__PURE__ */ React.createElement(
11457
11538
  Icon,
11458
11539
  {
11459
- as: icons.FileBlankDuo,
11540
+ as: NorthlightIcons.FileBlankDuo,
11460
11541
  boxSize: "32px",
11461
11542
  color: "gray.300",
11462
11543
  display: hasLoaded && !isImage ? "inline-block" : "none"
@@ -11513,7 +11594,7 @@
11513
11594
  {
11514
11595
  "aria-label": "edit-file",
11515
11596
  onClick: editModal.onOpen,
11516
- icon: icons.EditBoxDuo
11597
+ icon: NorthlightIcons.EditBoxDuo
11517
11598
  }
11518
11599
  ),
11519
11600
  /* @__PURE__ */ React.createElement(
@@ -11521,7 +11602,7 @@
11521
11602
  {
11522
11603
  "aria-label": "download-file",
11523
11604
  onClick: handleDownload(file),
11524
- icon: icons.DownloadDuo
11605
+ icon: NorthlightIcons.DownloadDuo
11525
11606
  }
11526
11607
  ),
11527
11608
  /* @__PURE__ */ React.createElement(
@@ -11529,7 +11610,7 @@
11529
11610
  {
11530
11611
  "aria-label": "delete-file",
11531
11612
  onClick: confirmDelete ? deleteModal.onOpen : clearImage,
11532
- icon: icons.TrashFullDuo,
11613
+ icon: NorthlightIcons.TrashFullDuo,
11533
11614
  color: "red.500"
11534
11615
  }
11535
11616
  )
@@ -11767,7 +11848,7 @@
11767
11848
  /* @__PURE__ */ React.createElement(
11768
11849
  Icon,
11769
11850
  {
11770
- as: onlyImageAccepted ? icons.Image03Solid : icons.UploadCloudSolid,
11851
+ as: onlyImageAccepted ? NorthlightIcons.Image03Solid : NorthlightIcons.UploadCloudSolid,
11771
11852
  boxSize: "32px",
11772
11853
  color: isInvalid ? "red.500 " : active ? "blue.500 " : "gray.300",
11773
11854
  "aria-label": "image-icon-upload",
@@ -11885,7 +11966,7 @@
11885
11966
  /* @__PURE__ */ React.createElement(react.HStack, { spacing: 4, alignItems: "start", maxW: "50%" }, isFileImage(file) ? file.isUploading || loadingImage ? /* @__PURE__ */ React.createElement(
11886
11967
  Icon,
11887
11968
  {
11888
- as: icons.Image03Duo,
11969
+ as: NorthlightIcons.Image03Duo,
11889
11970
  bgColor: "gray.100",
11890
11971
  color: "gray.400",
11891
11972
  boxSize: "10",
@@ -11905,7 +11986,7 @@
11905
11986
  ) : /* @__PURE__ */ React.createElement(
11906
11987
  Icon,
11907
11988
  {
11908
- as: icons.FileBlankDuo,
11989
+ as: NorthlightIcons.FileBlankDuo,
11909
11990
  boxSize: "10",
11910
11991
  p: "1",
11911
11992
  color: "gray.300"
@@ -11946,7 +12027,7 @@
11946
12027
  {
11947
12028
  "aria-label": "Edit-image",
11948
12029
  onClick: editModalDisclosure.onOpen,
11949
- icon: icons.EditBoxDuo
12030
+ icon: NorthlightIcons.EditBoxDuo
11950
12031
  }
11951
12032
  ),
11952
12033
  /* @__PURE__ */ React.createElement(
@@ -11954,7 +12035,7 @@
11954
12035
  {
11955
12036
  "aria-label": "download-image",
11956
12037
  onClick: handleDownload(file),
11957
- icon: icons.DownloadDuo
12038
+ icon: NorthlightIcons.DownloadDuo
11958
12039
  }
11959
12040
  ),
11960
12041
  /* @__PURE__ */ React.createElement(
@@ -12359,14 +12440,14 @@
12359
12440
  }) => /* @__PURE__ */ React.createElement(react.NumberInputStepper, null, /* @__PURE__ */ React.createElement(react.HStack, { alignItems: "center", h: "full" }, includePercentage && /* @__PURE__ */ React.createElement(react.Center, { bgColor: "gray.50", borderRadius: "md", boxSize: "6" }, /* @__PURE__ */ React.createElement(P, null, "%")), enableStepperArrows && /* @__PURE__ */ React.createElement(react.HStack, { alignItems: "center", h: "full" }, /* @__PURE__ */ React.createElement(react.Divider, { orientation: "vertical", h: "50%" }), /* @__PURE__ */ React.createElement(react.NumberIncrementStepper, { border: "none" }, /* @__PURE__ */ React.createElement(
12360
12441
  Icon,
12361
12442
  {
12362
- as: icons.ChevronUpSolid,
12443
+ as: NorthlightIcons.ChevronUpSolid,
12363
12444
  color: "icon.input-stepper.default",
12364
12445
  boxSize: 4
12365
12446
  }
12366
12447
  )), /* @__PURE__ */ React.createElement(react.NumberDecrementStepper, null, /* @__PURE__ */ React.createElement(
12367
12448
  Icon,
12368
12449
  {
12369
- as: icons.ChevronDownSolid,
12450
+ as: NorthlightIcons.ChevronDownSolid,
12370
12451
  color: "icon.input-stepper.default",
12371
12452
  boxSize: 4
12372
12453
  }
@@ -12898,7 +12979,7 @@
12898
12979
  onChange(void 0);
12899
12980
  onChangeCallback(void 0, { action: "clear", removedValues: value });
12900
12981
  },
12901
- icon: /* @__PURE__ */ React.createElement(Icon, { as: icons.XCloseSolid })
12982
+ icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.XCloseSolid })
12902
12983
  }
12903
12984
  ))
12904
12985
  );
@@ -13581,14 +13662,14 @@
13581
13662
  });
13582
13663
 
13583
13664
  const toastIconMap = {
13584
- success: icons.CheckCircleSolid,
13585
- warning: icons.AlertTriangleSolid,
13586
- error: icons.AlertCircleSolid,
13587
- danger: icons.AlertCircleSolid,
13588
- info: icons.BellSolid,
13589
- ai: icons.BrightnessSolid,
13590
- default: icons.HelpCircleSolid,
13591
- ghost: icons.HelpCircleSolid
13665
+ success: NorthlightIcons.CheckCircleSolid,
13666
+ warning: NorthlightIcons.AlertTriangleSolid,
13667
+ error: NorthlightIcons.AlertCircleSolid,
13668
+ danger: NorthlightIcons.AlertCircleSolid,
13669
+ info: NorthlightIcons.BellSolid,
13670
+ ai: NorthlightIcons.BrightnessSolid,
13671
+ default: NorthlightIcons.HelpCircleSolid,
13672
+ ghost: NorthlightIcons.HelpCircleSolid
13592
13673
  };
13593
13674
 
13594
13675
  var __defProp$g = Object.defineProperty;
@@ -14016,7 +14097,7 @@
14016
14097
  /* @__PURE__ */ React.createElement(
14017
14098
  Icon,
14018
14099
  {
14019
- as: hasCopied ? icons.CheckDuo : icons.CopyDuo,
14100
+ as: hasCopied ? NorthlightIcons.CheckDuo : NorthlightIcons.CopyDuo,
14020
14101
  sx: icon
14021
14102
  }
14022
14103
  )
@@ -14292,7 +14373,7 @@
14292
14373
  justifyContent: "center",
14293
14374
  alignItems: "center"
14294
14375
  },
14295
- /* @__PURE__ */ React.createElement(Icon, { as: icons.PlusSolid, color: "brand" })
14376
+ /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.PlusSolid, color: "brand" })
14296
14377
  ), !props.data.isCreation && /* @__PURE__ */ React.createElement(react.Box, { mr: 3, width: 1.5 }), /* @__PURE__ */ React.createElement(
14297
14378
  react.Text,
14298
14379
  {
@@ -14425,7 +14506,7 @@
14425
14506
  );
14426
14507
  const customOptions = [
14427
14508
  __spreadProps$1(__spreadValues$2({}, creationOption), {
14428
- icon: /* @__PURE__ */ React.createElement(react.Icon, { as: icons.PlusSolid, color: "brand" })
14509
+ icon: /* @__PURE__ */ React.createElement(react.Icon, { as: NorthlightIcons.PlusSolid, color: "brand" })
14429
14510
  }),
14430
14511
  ...combinedOptions
14431
14512
  ];