@mailstep/design-system 0.7.68 → 0.7.69

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.7.68",
3
+ "version": "0.7.69",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -14,7 +14,7 @@ import { useEffect } from 'react';
14
14
  import Button from '../../../../Elements/Button/Button';
15
15
  import { Settings2 } from '../../../../Elements/Icon/icons/Settings2';
16
16
  import Tag from '../../../../Elements/Tag/Tag';
17
- import { palletes } from '../../../../Elements/Tag/palletes';
17
+ import { palettes } from '../../../../Elements/Tag/palettes';
18
18
  import { H6 } from '../../../../Elements/Typography';
19
19
  import useQuickFilter from '../../hooks/useQuickFilter';
20
20
  import { ExtraControlButtonPosition } from '../../types';
@@ -41,6 +41,6 @@ var ControlButtons = function (_a) {
41
41
  id: 'controlButtons.searchPlaceholder',
42
42
  message: "Search ".concat(translatedValue, " ..."),
43
43
  values: { translatedValue: translatedValue }
44
- }), onChange: onChangeInputValue, onClear: onClear, onClick: onDisplayInput, displayInput: displayInput, isMobileInputView: isMobileInputView, alwaysShowClear: isMobile })), _jsx(ExtraControlButtons, { extraControlButtons: extraControlButtons, targetPosition: ExtraControlButtonPosition.TopLeft }), _jsx(x.div, { children: filtersOn && (_jsx(Button, { type: "button", onClick: onClearSettings, variant: "default", appearance: "secondary", "data-cy": "resetFiltersBtn", children: _jsx(Trans, { id: "dataGrid.buttonClearSettings", message: "Reset" }) })) })] })), withPresets && gridName && (_jsxs(_Fragment, { children: [_jsx(x.div, { mx: "12px", children: _jsx(Button, { onClick: onOpenPresetsModal, type: "button", variant: "default", appearance: "tertiary", children: _jsx(Trans, { id: "dataGrid.presets.title", message: "Presets" }) }) }), selectedPresetName && (_jsx(Tag, __assign({ size: "medium" }, palletes.redWhite, { children: _jsx(H6, { mt: 0, mb: 0, variant: "semiBold", children: selectedPresetName }) })))] }))] }), _jsxs(Right, { children: [_jsx(ExtraControlButtons, { extraControlButtons: extraControlButtons, targetPosition: ExtraControlButtonPosition.TopRight }), displayManageColumnButton && (_jsx(StyledColumnButton, { type: "button", variant: "ghost", appearance: "primary", iconLeft: _jsx(Settings2, {}), onClick: openManageColumnForm, children: _jsx(H6, { variant: "semiBold", mt: 0, mb: 0, children: _jsx(Trans, { id: "manageColumn.title", message: "Manage column" }) }) }))] })] }));
44
+ }), onChange: onChangeInputValue, onClear: onClear, onClick: onDisplayInput, displayInput: displayInput, isMobileInputView: isMobileInputView, alwaysShowClear: isMobile })), _jsx(ExtraControlButtons, { extraControlButtons: extraControlButtons, targetPosition: ExtraControlButtonPosition.TopLeft }), _jsx(x.div, { children: filtersOn && (_jsx(Button, { type: "button", onClick: onClearSettings, variant: "default", appearance: "secondary", "data-cy": "resetFiltersBtn", children: _jsx(Trans, { id: "dataGrid.buttonClearSettings", message: "Reset" }) })) })] })), withPresets && gridName && (_jsxs(_Fragment, { children: [_jsx(x.div, { mx: "12px", children: _jsx(Button, { onClick: onOpenPresetsModal, type: "button", variant: "default", appearance: "tertiary", children: _jsx(Trans, { id: "dataGrid.presets.title", message: "Presets" }) }) }), selectedPresetName && (_jsx(Tag, __assign({ size: "medium" }, palettes.redWhite, { children: _jsx(H6, { mt: 0, mb: 0, variant: "semiBold", children: selectedPresetName }) })))] }))] }), _jsxs(Right, { children: [_jsx(ExtraControlButtons, { extraControlButtons: extraControlButtons, targetPosition: ExtraControlButtonPosition.TopRight }), displayManageColumnButton && (_jsx(StyledColumnButton, { type: "button", variant: "ghost", appearance: "primary", iconLeft: _jsx(Settings2, {}), onClick: openManageColumnForm, children: _jsx(H6, { variant: "semiBold", mt: 0, mb: 0, children: _jsx(Trans, { id: "manageColumn.title", message: "Manage column" }) }) }))] })] }));
45
45
  };
46
46
  export default ControlButtons;
@@ -14,7 +14,7 @@ import { useMemo } from 'react';
14
14
  import Button from '../../../../Elements/Button/Button';
15
15
  import { Cancel } from '../../../../Elements/Icon/icons/Cancel';
16
16
  import Tag from '../../../../Elements/Tag/Tag';
17
- import { palletes } from '../../../../Elements/Tag/palletes';
17
+ import { palettes } from '../../../../Elements/Tag/palettes';
18
18
  import { H6 } from '../../../../Elements/Typography/Typography';
19
19
  import { TagRemove } from './components/TagRemove';
20
20
  import { Trans } from '@lingui/react';
@@ -27,6 +27,6 @@ export var PresetsModalBody = function (_a) {
27
27
  return (_jsxs(x.div, { children: [_jsx(x.div, { display: "flex", rowGap: "12px", flexWrap: "wrap", children: hasPresets ? (presets === null || presets === void 0 ? void 0 : presets.map(function (_a, index) {
28
28
  var presetName = _a[0], filters = _a[1];
29
29
  var isSelected = presetName === selectedPresetName;
30
- return (_jsxs(Tag, __assign({ size: "big", onClick: handleSelectPreset(presetName, filters) }, (isSelected ? palletes.redWhite : palletes.redRed), { pointer: true, children: [_jsx(H6, { mt: 0, mb: 0, variant: "semiBold", children: presetName }), _jsx(TagRemove, { onClick: handleOpenDeletePresetModal(presetName), children: _jsx(Cancel, { fill: isSelected ? 'white' : '#DB2B19', width: "11px", height: "11px" }) })] }), "".concat(presetName, "_").concat(index)));
30
+ return (_jsxs(Tag, __assign({ size: "big", onClick: handleSelectPreset(presetName, filters) }, (isSelected ? palettes.redWhite : palettes.redRed), { pointer: true, children: [_jsx(H6, { mt: 0, mb: 0, variant: "semiBold", children: presetName }), _jsx(TagRemove, { onClick: handleOpenDeletePresetModal(presetName), children: _jsx(Cancel, { fill: isSelected ? 'white' : '#DB2B19', width: "11px", height: "11px" }) })] }), "".concat(presetName, "_").concat(index)));
31
31
  })) : (_jsx(Trans, { id: "dataGrid.noPresets.title", message: "No presets available" })) }), _jsx(x.input, { type: "file", accept: ".json", onChange: handleImportPresets, ref: fileInputRef, display: "none" }), _jsxs(x.div, { display: "flex", mt: "34px", gap: "12px", justifyContent: "space-between", children: [_jsxs(x.div, { display: "flex", gap: "12px", children: [hasPresets && (_jsx(Button, { onClick: handleExportPresets, type: "button", appearance: "secondary", children: _jsx(Trans, { id: "dataGrid.exportPreset.title", message: "Export presets" }) })), _jsx(Button, { onClick: handleImportButtonClick, type: "button", appearance: "secondary", children: _jsx(Trans, { id: "dataGrid.importPreset.title", message: "Import presets" }) })] }), _jsx(Button, { type: "button", onClick: onOpenCreatePresetModal, disabled: isEmpty(filters), children: _jsx(Trans, { id: "dataGrid.createNewPreset.title", message: "Create new preset" }) })] })] }));
32
32
  };
@@ -6,17 +6,17 @@ import styled, { th } from '@xstyled/styled-components';
6
6
  var fontSizeMap = {
7
7
  small: '14px',
8
8
  medium: '16px',
9
- big: '20px',
9
+ big: '20px'
10
10
  };
11
11
  var paddingMap = {
12
12
  small: '2px 8px',
13
13
  medium: '7px 10px',
14
- big: '12px 12px',
14
+ big: '12px 12px'
15
15
  };
16
16
  var borderRadiusMap = {
17
17
  small: '6px',
18
18
  medium: '20px',
19
- big: '20px',
19
+ big: '20px'
20
20
  };
21
21
  var getTextColor = function (isNotSelected, textColor) {
22
22
  if (textColor) {
@@ -27,9 +27,12 @@ var getTextColor = function (isNotSelected, textColor) {
27
27
  var getBgColor = function (color) {
28
28
  return color ? th.color(color) : 'rgba(157, 163, 169, 0.2)';
29
29
  };
30
- var Tag = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n margin-right: 10px;\n color: ", ";\n width: fit-content;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n text-align: center;\n white-space: nowrap;\n display: flex;\n align-items: center;\n font-size: 14px;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n & span {\n &:first-letter {\n text-transform: uppercase;\n }\n }\n}\n"], ["\n background-color: ", ";\n margin-right: 10px;\n color: ", ";\n width: fit-content;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n text-align: center;\n white-space: nowrap;\n display: flex;\n align-items: center;\n font-size: 14px;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n & span {\n &:first-letter {\n text-transform: uppercase;\n }\n }\n}\n"])), function (_a) {
30
+ var Tag = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n margin-right: ", ";\n color: ", ";\n width: fit-content;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n text-align: center;\n white-space: nowrap;\n display: flex;\n align-items: center;\n font-size: 14px;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n & span {\n &:first-letter {\n text-transform: uppercase;\n }\n }\n}\n"], ["\n background-color: ", ";\n margin-right: ", ";\n color: ", ";\n width: fit-content;\n transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n text-align: center;\n white-space: nowrap;\n display: flex;\n align-items: center;\n font-size: 14px;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n & span {\n &:first-letter {\n text-transform: uppercase;\n }\n }\n}\n"])), function (_a) {
31
31
  var color = _a.color;
32
32
  return getBgColor(color);
33
+ }, function (_a) {
34
+ var marginRight = _a.marginRight;
35
+ return marginRight || '10px';
33
36
  }, function (_a) {
34
37
  var isNotSelected = _a.isNotSelected, textColor = _a.textColor;
35
38
  return getTextColor(isNotSelected, textColor);
@@ -1,5 +1,5 @@
1
1
  import { default as Tag } from './Tag';
2
2
 
3
- export { palletes } from './palletes';
4
- export { type Pallete } from './types';
3
+ export { palettes } from './palettes';
4
+ export { type Palette } from './types';
5
5
  export default Tag;
@@ -1,3 +1,3 @@
1
1
  import Tag from './Tag';
2
- export { palletes } from './palletes';
2
+ export { palettes } from './palettes';
3
3
  export default Tag;
@@ -0,0 +1,6 @@
1
+ import { Palette, PaletteNames } from './types';
2
+
3
+ /**
4
+ * [string, string]: [background, text]
5
+ */
6
+ export declare const palettes: Record<PaletteNames, Palette>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * [string, string]: [background, text]
3
3
  */
4
- export var palletes = {
4
+ export var palettes = {
5
5
  greenWhite: { color: 'green60', textColor: 'white' },
6
6
  greenGreen: { color: 'green30', textColor: 'green80' },
7
7
  blueBlue: { color: 'blue20', textColor: 'blue80' },
@@ -1,4 +1,2 @@
1
- import { FC } from 'react';
2
-
3
- declare const PredefinedTags: FC;
1
+ declare const PredefinedTags: () => import("react/jsx-runtime").JSX.Element;
4
2
  export default PredefinedTags;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import Tag from '../../';
3
- import { palletes } from '../../palletes';
2
+ import Tag from '../../Tag';
3
+ import { palettes } from '../../palettes';
4
4
  import { x } from '@xstyled/styled-components';
5
5
  var PredefinedTags = function () {
6
- return (_jsx(x.div, { display: "flex", flexWrap: "wrap", fontFamily: "monospace", children: Object.keys(palletes).map(function (pallete, i) { return (_jsx(Tag, { color: palletes[pallete].color, textColor: palletes[pallete].textColor, children: pallete }, i)); }) }));
6
+ return (_jsx(x.div, { display: "flex", flexWrap: "wrap", fontFamily: "monospace", children: Object.keys(palettes).map(function (paletteName) { return (_jsx(Tag, { color: palettes[paletteName].color, textColor: palettes[paletteName].textColor, children: paletteName }, paletteName)); }) }));
7
7
  };
8
8
  export default PredefinedTags;
@@ -9,8 +9,10 @@ export type Props = {
9
9
  size?: 'small' | 'medium' | 'big';
10
10
  children?: React.ReactNode;
11
11
  onClick?: () => void;
12
+ marginRight?: string;
12
13
  };
13
- export type Pallete = {
14
+ export type Palette = {
14
15
  color: string;
15
16
  textColor: string;
16
17
  };
18
+ export type PaletteNames = 'greenWhite' | 'greenGreen' | 'blueBlue' | 'magentaWhite' | 'magentaMagenta' | 'tealTeal' | 'orangeOrange' | 'grayGray' | 'redWhite' | 'redRed' | 'purplePurple';
package/ui/index.es.js CHANGED
@@ -13829,7 +13829,9 @@ const nle = Z.div`
13829
13829
  background-color: ${({
13830
13830
  color: e
13831
13831
  }) => fle(e)};
13832
- margin-right: 10px;
13832
+ margin-right: ${({
13833
+ marginRight: e
13834
+ }) => e || "10px"};
13833
13835
  color: ${({
13834
13836
  isNotSelected: e,
13835
13837
  textColor: t
@@ -50087,7 +50089,7 @@ export {
50087
50089
  A9e as createSelectors,
50088
50090
  twe as expandedMenuWidth,
50089
50091
  g7 as iconDictionary,
50090
- h9 as palletes,
50092
+ h9 as palettes,
50091
50093
  bIe as reducer,
50092
50094
  ZO as themes,
50093
50095
  LD as useAddFilter,
package/ui/index.umd.js CHANGED
@@ -1158,7 +1158,7 @@ Message: ${e}`),e}}const fa=e=>typeof e=="string",yg=e=>typeof e=="function",JM=
1158
1158
  }
1159
1159
  `,ace=({gridActions:e,gridSelectors:t,actionOptions:n,onBatchAction:r,rowsData:i,processCheckedValues:o,processCheckedValuesTitle:l})=>{const{handleUxChange:c}=e||{},{uxState:d={}}=t||{},[f,h]=KE(i,d,c),[g,v]=G$(i,d,n,r),y=Object.keys((d==null?void 0:d.checkedRows)||[]).length,x=C.useCallback(()=>{f||h()},[f,h]),S=C.useMemo(()=>n!=null&&n.length?n.map(I=>({title:I.label,onClick:()=>{v(I.value)},link:"#"})):[],[n,v]);return p.jsx(ece,{children:y>0&&p.jsx(tce,{children:p.jsxs(rce,{children:[p.jsx(nce,{children:Fe._({id:"dataGrid.checkedRowsCount",message:"Selected {checkedRowsCount} items",values:{checkedRowsCount:y}})}),p.jsxs(ice,{children:[p.jsx(kn,{type:"button",onClick:x,appearance:"secondary",variant:"default","data-cy":"checkAllBtn",disabled:f,children:p.jsx(ct,{id:"dataGrid.checkAll",message:"Check all"})}),o&&p.jsx(kn,{type:"button",onClick:o,appearance:"primary",variant:"default","data-cy":"exportBtn",disabled:!i.length,children:l||p.jsx(ct,{id:"dataGrid.actionOptions.export",message:"Export"})}),(n==null?void 0:n.length)&&p.jsx(Ble,{items:S,disabled:!g.length||!i.length,dropdownPosition:"top"})]})]})})})},oce={small:"14px",medium:"16px",big:"20px"},sce={small:"2px 8px",medium:"7px 10px",big:"12px 12px"},lce={small:"6px",medium:"20px",big:"20px"},cce=(e,t)=>t?V.color(t):e?V.color("blue2"):"white",uce=e=>e?V.color(e):"rgba(157, 163, 169, 0.2)",kA=U.div`
1160
1160
  background-color: ${({color:e})=>uce(e)};
1161
- margin-right: 10px;
1161
+ margin-right: ${({marginRight:e})=>e||"10px"};
1162
1162
  color: ${({isNotSelected:e,textColor:t})=>cce(e,t)};
1163
1163
  width: fit-content;
1164
1164
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
@@ -4294,4 +4294,4 @@ function print() { __p += __j.call(arguments, '') }
4294
4294
  `,tIe=U.div`
4295
4295
  display: flex;
4296
4296
  position: relative;
4297
- `,nIe=({name:e,label:t,value:n,disabled:r,error:i,spaceAround:o=!1,isInvalid:l=void 0,className:c,resize:d,icon:f,rows:h=4,Footer:g,...v})=>{const y=l!==void 0?l:!!i;return p.jsxs(ms,{spaceAround:o,children:[p.jsxs($Se,{children:[t&&p.jsx(Hc,{htmlFor:e,children:t}),p.jsxs(eIe,{$isInvalid:y,disabled:r,children:[p.jsxs(tIe,{children:[f&&p.jsx(KSe,{children:p.jsx(at,{icon:f})}),p.jsx(qSe,{name:e,value:n,disabled:r,className:c,$isInvalid:y,$resize:d,...v,rows:h})]}),g]})]}),i&&p.jsx(S1,{children:i})]})};ne.Add=ZZ,ne.AddPhoto=zI,ne.Admin=ZI,ne.Alert=cSe,ne.ArrowDown=Zf,ne.ArrowForward=GZ,ne.ArrowUp=VI,ne.AsyncSelect=uSe,ne.Avatar=ASe,ne.Badge=gSe,ne.BarcodeScan=AZ,ne.BoolIconCell=sme,ne.BorderedBox=vSe,ne.Box=yZ,ne.Button=kn,ne.ButtonInCell=fme,ne.Calendar=DZ,ne.Cancel=i5,ne.Card=bSe,ne.Checkbox=x1,ne.CheckedBox=CZ,ne.CommonGrid=Ive,ne.Company=FZ,ne.Complaint=tZ,ne.Consolidation=wZ,ne.Container=YZ,ne.CornerDialog=Fye,ne.CustomSelectButton=gge,ne.Dashboard=JZ,ne.DateCell=tme,ne.DatePicker=z3,ne.DatePickerRepeat=Es,ne.DateTimeCell=rme,ne.Desktop=VZ,ne.Dispatch=xZ,ne.Dropdown=wSe,ne.DropdownSelect=UD,ne.EmptyRack=SZ,ne.EnumInCell=Ome,ne.ErrorMessage=S1,ne.Expeditions=nZ,ne.FieldLabel=Hc,ne.FlagCZ=_G,ne.FlagEL=YG,ne.FlagESP=JG,ne.FlagHU=$G,ne.FlagITA=XG,ne.FlagNL=qG,ne.FlagRUS=QG,ne.FlagSVK=KG,ne.FlagUK=eZ,ne.FlagUSA=UG,ne.Foldable=qZ,ne.Fragile=UZ,ne.Gift=IZ,ne.Group=WI,ne.H1=fce,ne.H2=rL,ne.H3=Ace,ne.H4=hce,ne.H5=iL,ne.H6=bl,ne.H7=aL,ne.HamburgerMenu=BI,ne.HamburgerMenuButton=rxe,ne.HelpCircle1=rZ,ne.HorizontalLines=XZ,ne.HoverBubble=Dme,ne.Icon=at,ne.IconButtonInCell=X7,ne.Image=HB,ne.ImageCell=xme,ne.ImageList=PCe,ne.ImagePlaceholder=fZ,ne.Income=iZ,ne.Info=EZ,ne.Input=$a,ne.Integrations=WZ,ne.Inventory=aZ,ne.Inventory2=hZ,ne.KeyPress=HM,ne.Label=Sce,ne.LanguageSwitch=iF,ne.Layout=mZ,ne.LightBox=tF,ne.Line=SSe,ne.Link=mg,ne.LinkInCell=dme,ne.Liquid=KZ,ne.Location=kZ,ne.LoginPage=mwe,ne.Logo=oF,ne.Logout1=pZ,ne.MachinePackingForbidden=$Z,ne.MakePhoto=MZ,ne.MenuItems=NI,ne.Message=HZ,ne.MobileCancel=FI,ne.MobilePhone=tU,ne.Modal=Cu,ne.MultiSelect=OO,ne.Notification2=oZ,ne.OpenBox=vZ,ne.Pagination=JI,ne.Pallet=QZ,ne.Paragraph1=dce,ne.Paragraph2=tL,ne.Paragraph3=wg,ne.Paragraph4=xg,ne.Paragraph5=nL,ne.Plus1=sZ,ne.Popover=Y3,ne.Portal=l2,ne.Print=LZ,ne.Product=dZ,ne.Products=lZ,ne.Profile=jI,ne.ProgressBar=TSe,ne.Puzzle1=gZ,ne.QRCode=BZ,ne.Rack=bZ,ne.RadioButton=QSe,ne.RemoveCell=ume,ne.Return=cZ,ne.RowActionsCell=ZB,ne.Rows=NZ,ne.Scheduler=txe,ne.Select=KA,ne.Settings2=RI,ne.ShoppingBag=jZ,ne.SideMenu=Exe,ne.SimpleLink=jB,ne.SingleSelect=$g,ne.SpaceAround=ms,ne.SpaceAroundWrap=ms,ne.Spinner=p1,ne.StepCircle=mF,ne.Stepper=Wxe,ne.StringJoinCell=ime,ne.SwitchInCell=RB,ne.TabContent=Xxe,ne.Tabs=Jxe,ne.Tag=kA,ne.Text=gs,ne.TextArea=nIe,ne.ThemeProvider=Vee,ne.ThreeDots=TZ,ne.TimePickerRepeat=$1,ne.Toast=GSe,ne.ToastError=GI,ne.ToastSuccess=HI,ne.Toggle=P1,ne.ToggleCell=Nme,ne.Transfer=uZ,ne.TrashBin=_Z,ne.Truck=RZ,ne.TwoBoxes=OZ,ne.TwoCheckedBoxes=PZ,ne.TwoUsers=zZ,ne.Types=Z6e,ne.Typography=gs,ne.Valuable=eU,ne.actionPrefix=Cn,ne.actionTypes=it,ne.compactMenuWidth=fF,ne.createActions=oN,ne.createFullSelector=lN,ne.createRgba=ps,ne.createSelectors=sN,ne.expandedMenuWidth=AF,ne.iconDictionary=Gf,ne.palletes=MA,ne.reducer=pve,ne.themes=q5,ne.useAddFilter=v7,ne.useClickOutside=Io,ne.useEvent=pu,ne.useFloatingButton=kye,ne.useLightBox=nF,ne.useModal=Mc,ne.useStepper=Vxe,ne.useTabs=Qxe,ne.utils=Ele,ne.withReduxActions=Eye,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
4297
+ `,nIe=({name:e,label:t,value:n,disabled:r,error:i,spaceAround:o=!1,isInvalid:l=void 0,className:c,resize:d,icon:f,rows:h=4,Footer:g,...v})=>{const y=l!==void 0?l:!!i;return p.jsxs(ms,{spaceAround:o,children:[p.jsxs($Se,{children:[t&&p.jsx(Hc,{htmlFor:e,children:t}),p.jsxs(eIe,{$isInvalid:y,disabled:r,children:[p.jsxs(tIe,{children:[f&&p.jsx(KSe,{children:p.jsx(at,{icon:f})}),p.jsx(qSe,{name:e,value:n,disabled:r,className:c,$isInvalid:y,$resize:d,...v,rows:h})]}),g]})]}),i&&p.jsx(S1,{children:i})]})};ne.Add=ZZ,ne.AddPhoto=zI,ne.Admin=ZI,ne.Alert=cSe,ne.ArrowDown=Zf,ne.ArrowForward=GZ,ne.ArrowUp=VI,ne.AsyncSelect=uSe,ne.Avatar=ASe,ne.Badge=gSe,ne.BarcodeScan=AZ,ne.BoolIconCell=sme,ne.BorderedBox=vSe,ne.Box=yZ,ne.Button=kn,ne.ButtonInCell=fme,ne.Calendar=DZ,ne.Cancel=i5,ne.Card=bSe,ne.Checkbox=x1,ne.CheckedBox=CZ,ne.CommonGrid=Ive,ne.Company=FZ,ne.Complaint=tZ,ne.Consolidation=wZ,ne.Container=YZ,ne.CornerDialog=Fye,ne.CustomSelectButton=gge,ne.Dashboard=JZ,ne.DateCell=tme,ne.DatePicker=z3,ne.DatePickerRepeat=Es,ne.DateTimeCell=rme,ne.Desktop=VZ,ne.Dispatch=xZ,ne.Dropdown=wSe,ne.DropdownSelect=UD,ne.EmptyRack=SZ,ne.EnumInCell=Ome,ne.ErrorMessage=S1,ne.Expeditions=nZ,ne.FieldLabel=Hc,ne.FlagCZ=_G,ne.FlagEL=YG,ne.FlagESP=JG,ne.FlagHU=$G,ne.FlagITA=XG,ne.FlagNL=qG,ne.FlagRUS=QG,ne.FlagSVK=KG,ne.FlagUK=eZ,ne.FlagUSA=UG,ne.Foldable=qZ,ne.Fragile=UZ,ne.Gift=IZ,ne.Group=WI,ne.H1=fce,ne.H2=rL,ne.H3=Ace,ne.H4=hce,ne.H5=iL,ne.H6=bl,ne.H7=aL,ne.HamburgerMenu=BI,ne.HamburgerMenuButton=rxe,ne.HelpCircle1=rZ,ne.HorizontalLines=XZ,ne.HoverBubble=Dme,ne.Icon=at,ne.IconButtonInCell=X7,ne.Image=HB,ne.ImageCell=xme,ne.ImageList=PCe,ne.ImagePlaceholder=fZ,ne.Income=iZ,ne.Info=EZ,ne.Input=$a,ne.Integrations=WZ,ne.Inventory=aZ,ne.Inventory2=hZ,ne.KeyPress=HM,ne.Label=Sce,ne.LanguageSwitch=iF,ne.Layout=mZ,ne.LightBox=tF,ne.Line=SSe,ne.Link=mg,ne.LinkInCell=dme,ne.Liquid=KZ,ne.Location=kZ,ne.LoginPage=mwe,ne.Logo=oF,ne.Logout1=pZ,ne.MachinePackingForbidden=$Z,ne.MakePhoto=MZ,ne.MenuItems=NI,ne.Message=HZ,ne.MobileCancel=FI,ne.MobilePhone=tU,ne.Modal=Cu,ne.MultiSelect=OO,ne.Notification2=oZ,ne.OpenBox=vZ,ne.Pagination=JI,ne.Pallet=QZ,ne.Paragraph1=dce,ne.Paragraph2=tL,ne.Paragraph3=wg,ne.Paragraph4=xg,ne.Paragraph5=nL,ne.Plus1=sZ,ne.Popover=Y3,ne.Portal=l2,ne.Print=LZ,ne.Product=dZ,ne.Products=lZ,ne.Profile=jI,ne.ProgressBar=TSe,ne.Puzzle1=gZ,ne.QRCode=BZ,ne.Rack=bZ,ne.RadioButton=QSe,ne.RemoveCell=ume,ne.Return=cZ,ne.RowActionsCell=ZB,ne.Rows=NZ,ne.Scheduler=txe,ne.Select=KA,ne.Settings2=RI,ne.ShoppingBag=jZ,ne.SideMenu=Exe,ne.SimpleLink=jB,ne.SingleSelect=$g,ne.SpaceAround=ms,ne.SpaceAroundWrap=ms,ne.Spinner=p1,ne.StepCircle=mF,ne.Stepper=Wxe,ne.StringJoinCell=ime,ne.SwitchInCell=RB,ne.TabContent=Xxe,ne.Tabs=Jxe,ne.Tag=kA,ne.Text=gs,ne.TextArea=nIe,ne.ThemeProvider=Vee,ne.ThreeDots=TZ,ne.TimePickerRepeat=$1,ne.Toast=GSe,ne.ToastError=GI,ne.ToastSuccess=HI,ne.Toggle=P1,ne.ToggleCell=Nme,ne.Transfer=uZ,ne.TrashBin=_Z,ne.Truck=RZ,ne.TwoBoxes=OZ,ne.TwoCheckedBoxes=PZ,ne.TwoUsers=zZ,ne.Types=Z6e,ne.Typography=gs,ne.Valuable=eU,ne.actionPrefix=Cn,ne.actionTypes=it,ne.compactMenuWidth=fF,ne.createActions=oN,ne.createFullSelector=lN,ne.createRgba=ps,ne.createSelectors=sN,ne.expandedMenuWidth=AF,ne.iconDictionary=Gf,ne.palettes=MA,ne.reducer=pve,ne.themes=q5,ne.useAddFilter=v7,ne.useClickOutside=Io,ne.useEvent=pu,ne.useFloatingButton=kye,ne.useLightBox=nF,ne.useModal=Mc,ne.useStepper=Vxe,ne.useTabs=Qxe,ne.utils=Ele,ne.withReduxActions=Eye,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
@@ -1,6 +0,0 @@
1
- import { Pallete } from './types';
2
-
3
- /**
4
- * [string, string]: [background, text]
5
- */
6
- export declare const palletes: Record<string, Pallete>;