@homefile/components-v2 2.48.1 → 2.48.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,5 +10,5 @@ export const PartnerServiceTicketsToolbar = ({ ageItems, initialAge, initialDisp
10
10
  }
11
11
  return `Create ${sanitizedLabel.toLowerCase()}`;
12
12
  };
13
- return (_jsx(Box, { p: "base", as: "section", "aria-label": "Service tickets toolbar", children: _jsxs(Flex, { align: { base: 'stretch', md: 'center' }, justify: "space-between", gap: "base", direction: { base: 'column', md: 'row' }, children: [_jsxs(Flex, { gap: { base: 'base', lg: '12' }, align: { base: 'stretch', lg: 'center' }, direction: { base: 'column', lg: 'row' }, flex: "1", children: [showNewTicketButton && (_jsx(Box, { ml: { base: '0', lg: '-base' }, children: _jsx(Button, { id: "addServiceTicketButton", size: "md", onClick: onNewTicketClick, leftIcon: _jsx(Plus, {}), variant: "rightRounded", w: { base: '100%', sm: 'auto' }, "aria-label": getButtonAriaLabel(), children: newTicketLabel }) })), _jsxs(Flex, { gap: "base", wrap: "wrap", flex: "1", children: [_jsx(Box, { w: { base: '100%', sm: '140px' }, children: _jsx(SelectInput, { height: "md", width: "100%", handleClick: (item) => onAgeChange(getValue(item)), items: ageItems, initialValue: initialAge }) }), _jsx(Box, { w: { base: '100%', sm: '140px' }, children: _jsx(SelectInput, { height: "md", width: "100%", handleClick: (item) => onPriorityChange(getValue(item)), items: priorityItems, initialValue: initialPriority }) }), _jsx(Box, { w: { base: '100%', sm: '200px' }, children: _jsx(SelectInput, { height: "md", width: "100%", handleClick: (item) => onStatusChange(getValue(item)), items: statusItems, initialValue: initialStatus }) })] })] }), _jsx(Box, { alignSelf: { base: 'flex-end', md: 'center' }, children: _jsx(DisplayOptionsButtons, { displays: ['list', 'grid'], initialDisplay: initialDisplay, onDisplayClick: onDisplayChange, iconSize: 6 }) })] }) }));
13
+ return (_jsx(Box, { p: "base", as: "section", "aria-label": "Service tickets toolbar", children: _jsxs(Flex, { align: { base: 'stretch', md: 'center' }, justify: "space-between", direction: { base: 'column', md: 'row' }, gap: "base", children: [_jsxs(Flex, { flex: "1", minW: "0", align: { base: 'stretch', md: 'center' }, direction: { base: 'column', md: 'row' }, gap: "base", children: [showNewTicketButton && (_jsx(Box, { ml: "-base", flexShrink: 0, children: _jsx(Button, { id: "addServiceTicketButton", size: "md", onClick: onNewTicketClick, leftIcon: _jsx(Plus, {}), variant: "rightRounded", w: { base: '100%', sm: 'auto' }, "aria-label": getButtonAriaLabel(), children: newTicketLabel }) })), _jsxs(Flex, { flex: "1", minW: "0", gap: "base", wrap: { base: 'wrap', md: 'nowrap' }, align: "stretch", children: [_jsx(Box, { flex: { base: '1 1 100%', md: '1 1 120px' }, minW: { base: '100%', md: '96px' }, maxW: { md: '140px' }, children: _jsx(SelectInput, { height: "md", width: "100%", handleClick: (item) => onAgeChange(getValue(item)), items: ageItems, initialValue: initialAge }) }), _jsx(Box, { flex: { base: '1 1 100%', md: '1 1 120px' }, minW: { base: '100%', md: '96px' }, maxW: { md: '140px' }, children: _jsx(SelectInput, { height: "md", width: "100%", handleClick: (item) => onPriorityChange(getValue(item)), items: priorityItems, initialValue: initialPriority }) }), _jsx(Box, { flex: { base: '1 1 100%', md: '1.4 1 160px' }, minW: { base: '100%', md: '120px' }, maxW: { md: '200px' }, children: _jsx(SelectInput, { height: "md", width: "100%", handleClick: (item) => onStatusChange(getValue(item)), items: statusItems, initialValue: initialStatus }) })] })] }), _jsx(Box, { alignSelf: { base: 'flex-end', md: 'center' }, flexShrink: 0, children: _jsx(DisplayOptionsButtons, { displays: ['list', 'grid'], initialDisplay: initialDisplay, onDisplayClick: onDisplayChange, iconSize: 6 }) })] }) }));
14
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.48.1",
3
+ "version": "2.48.2",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",