@redsift/table 7.3.0 → 7.4.0-alpha.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.
- package/CONTRIBUTING.md +2 -2
- package/index.d.ts +1 -0
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +4 -4
package/CONTRIBUTING.md
CHANGED
|
@@ -32,7 +32,7 @@ The Design System is following a monorepo architecture, providing multiple packa
|
|
|
32
32
|
|
|
33
33
|
- `@redsift/icons`
|
|
34
34
|
|
|
35
|
-
This package provides icons based on [Material Design Icon](https://
|
|
35
|
+
This package provides icons based on [Material Design Icon](https://pictogrammers.com/library/mdi/) library.
|
|
36
36
|
|
|
37
37
|
- `@redsift/design-system`
|
|
38
38
|
|
|
@@ -123,7 +123,7 @@ import { Comp } from '~/types';
|
|
|
123
123
|
import { StyledBadge } from './styles';
|
|
124
124
|
import { BadgeProps } from './types';
|
|
125
125
|
|
|
126
|
-
const COMPONENT_NAME = '
|
|
126
|
+
const COMPONENT_NAME = 'Badge';
|
|
127
127
|
const CLASSNAME = 'redsift-badge';
|
|
128
128
|
const DEFAULT_PROPS: Partial<BadgeProps> = {
|
|
129
129
|
// default values
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -382,7 +382,7 @@ const GridToolbarWrapper = styled.div`
|
|
|
382
382
|
|
|
383
383
|
/** ------ */
|
|
384
384
|
|
|
385
|
-
const COMPONENT_NAME$2 = '
|
|
385
|
+
const COMPONENT_NAME$2 = 'Toolbar';
|
|
386
386
|
const CLASSNAME$2 = 'redsift-data-grid';
|
|
387
387
|
const DEFAULT_PROPS$1 = {
|
|
388
388
|
hasExportButton: true,
|
|
@@ -436,7 +436,7 @@ Toolbar.defaultProps = DEFAULT_PROPS$1;
|
|
|
436
436
|
Toolbar.displayName = COMPONENT_NAME$2;
|
|
437
437
|
|
|
438
438
|
const _excluded$1 = ["className", "height", "hideToolbar", "license", "toolbar"];
|
|
439
|
-
const COMPONENT_NAME$1 = '
|
|
439
|
+
const COMPONENT_NAME$1 = 'DataGrid';
|
|
440
440
|
const CLASSNAME$1 = 'redsift-data-grid';
|
|
441
441
|
const DEFAULT_PROPS = {
|
|
442
442
|
license: process.env.MUI_LICENSE_KEY,
|
|
@@ -513,7 +513,7 @@ const StyledTextCellText = styled.div`
|
|
|
513
513
|
`;
|
|
514
514
|
|
|
515
515
|
const _excluded = ["badge", "children", "className", "leftIcon", "leftIconColor", "rightIcon", "rightIconColor", "shieldVariant"];
|
|
516
|
-
const COMPONENT_NAME = '
|
|
516
|
+
const COMPONENT_NAME = 'DataGridCell';
|
|
517
517
|
const CLASSNAME = 'redsift-datagrid-cell';
|
|
518
518
|
|
|
519
519
|
/**
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/utils/columns/detailPanelToggleColDef.ts","../src/utils/operators/containsAnyOf.tsx","../src/utils/operators/endsWithAnyOf.tsx","../src/utils/operators/isAnyOf.tsx","../src/utils/operators/startsWithAnyOf.tsx","../src/utils/operators/getGridStringArrayOperators.ts","../../../node_modules/classnames/index.js","../../../node_modules/@mui/utils/esm/ponyfillGlobal.js","../../../node_modules/@mui/x-license-pro/utils/licenseInfo.js","../src/components/DataGrid/styles.ts","../src/components/Toolbar/styles.ts","../src/components/Toolbar/Toolbar.tsx","../src/components/DataGrid/DataGrid.tsx","../src/components/TextCell/styles.ts","../src/components/TextCell/TextCell.tsx"],"sourcesContent":["import { GRID_DETAIL_PANEL_TOGGLE_COL_DEF } from '@mui/x-data-grid-pro';\n\n// Don't use a spread operator there or it will break the build due to MUI internal components\nconst DETAIL_PANEL_TOGGLE_COL_DEF = GRID_DETAIL_PANEL_TOGGLE_COL_DEF;\nDETAIL_PANEL_TOGGLE_COL_DEF.type = 'actions';\n\nexport { DETAIL_PANEL_TOGGLE_COL_DEF };\n","import {\n GridCellParams,\n GridFilterInputMultipleValue,\n GridFilterItem,\n} from '@mui/x-data-grid-pro';\n\nconst containsAnyOfOperator = {\n label: 'contains any of',\n value: 'containsAnyOf',\n getApplyFilterFn: (filterItem: GridFilterItem) => {\n if (\n !filterItem.columnField ||\n !filterItem.value ||\n !filterItem.operatorValue\n ) {\n return null;\n }\n\n return (params: GridCellParams): boolean => {\n if (filterItem.value.length === 0) {\n return true;\n }\n\n let match = false;\n filterItem.value.forEach((filteredValue: string) => {\n if (params.value.indexOf(filteredValue) !== -1) {\n match = true;\n }\n });\n return match;\n };\n },\n InputComponent: GridFilterInputMultipleValue,\n};\n\nexport const CONTAINS_ANY_OF = containsAnyOfOperator;\n","import {\n GridCellParams,\n GridFilterInputMultipleValue,\n GridFilterItem,\n} from '@mui/x-data-grid-pro';\n\nconst endsWithAnyOfOperator = {\n label: 'ends with any of',\n value: 'endsWithAnyOf',\n getApplyFilterFn: (filterItem: GridFilterItem) => {\n if (\n !filterItem.columnField ||\n !filterItem.value ||\n !filterItem.operatorValue\n ) {\n return null;\n }\n\n return (params: GridCellParams): boolean => {\n if (filterItem.value.length === 0) {\n return true;\n }\n const paramValues = Array.isArray(params.value)\n ? params.value\n : [params.value];\n\n let match = false;\n filterItem.value.forEach((filteredValue: string) => {\n paramValues.forEach((paramValue: string) => {\n if (paramValue.endsWith(filteredValue)) {\n match = true;\n }\n });\n });\n return match;\n };\n },\n InputComponent: GridFilterInputMultipleValue,\n};\n\nexport const ENDS_WITH_ANY_OF = endsWithAnyOfOperator;\n","import { getGridStringOperators } from '@mui/x-data-grid-pro';\n\nconst isAnyOfOperator = getGridStringOperators().filter(\n (operator) => operator.value === 'isAnyOf'\n)[0];\n\nexport const IS_ANY_OF = isAnyOfOperator;\n","import {\n GridCellParams,\n GridFilterInputMultipleValue,\n GridFilterItem,\n} from '@mui/x-data-grid-pro';\n\nconst startsWithAnyOfOperator = {\n label: 'starts with any of',\n value: 'startsWithAnyOf',\n getApplyFilterFn: (filterItem: GridFilterItem) => {\n if (\n !filterItem.columnField ||\n !filterItem.value ||\n !filterItem.operatorValue\n ) {\n return null;\n }\n\n return (params: GridCellParams): boolean => {\n if (filterItem.value.length === 0) {\n return true;\n }\n const paramValues = Array.isArray(params.value)\n ? params.value\n : [params.value];\n\n let match = false;\n filterItem.value.forEach((filteredValue: string) => {\n paramValues.forEach((paramValue: string) => {\n if (paramValue.startsWith(filteredValue)) {\n match = true;\n }\n });\n });\n return match;\n };\n },\n InputComponent: GridFilterInputMultipleValue,\n};\n\nexport const STARTS_WITH_ANY_OF = startsWithAnyOfOperator;\n","import { GridFilterOperator } from '@mui/x-data-grid-pro';\nimport { CONTAINS_ANY_OF } from './containsAnyOf';\nimport { ENDS_WITH_ANY_OF } from './endsWithAnyOf';\nimport { IS_ANY_OF } from './isAnyOf';\nimport { STARTS_WITH_ANY_OF } from './startsWithAnyOf';\n\nexport const getGridStringArrayOperators: () => GridFilterOperator<\n any,\n number | string | null,\n any\n>[] = () => [CONTAINS_ANY_OF, ENDS_WITH_ANY_OF, IS_ANY_OF, STARTS_WITH_ANY_OF];\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/* eslint-disable */\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nexport default typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();","import { ponyfillGlobal } from '@mui/utils';\n// Store the license information in a global, so it can be shared\n// when module duplication occurs. The duplication of the modules can happen\n// if using multiple version of MUI X at the same time of the bundler\n// decide to duplicate to improve the size of the chunks.\n// eslint-disable-next-line no-underscore-dangle\nponyfillGlobal.__MUI_LICENSE_INFO__ = ponyfillGlobal.__MUI_LICENSE_INFO__ || {\n key: undefined\n};\nexport class LicenseInfo {\n static getLicenseInfo() {\n // eslint-disable-next-line no-underscore-dangle\n return ponyfillGlobal.__MUI_LICENSE_INFO__;\n }\n\n static getLicenseKey() {\n return LicenseInfo.getLicenseInfo().key;\n }\n\n static setLicenseKey(key) {\n const licenseInfo = LicenseInfo.getLicenseInfo();\n licenseInfo.key = key;\n }\n\n}","import styled, { css } from 'styled-components';\nimport { StyledDataGridProps } from './types';\n\n/**\n * Component style.\n */\nexport const StyledDataGrid = styled.div<StyledDataGridProps>`\n ${({ $height }) =>\n css`\n height: ${$height};\n `}\n\n width: 100%;\n\n .MuiDataGrid-root {\n font-family: var(--redsift-typography-datagrid-font-family);\n border: none;\n }\n\n .MuiDataGrid-row {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n font-size: var(--redsift-typography-datagrid-row-font-size);\n font-weight: var(--redsift-typography-datagrid-row-font-weight);\n }\n\n .MuiDataGrid-columnHeaderTitle {\n font-family: var(--redsift-typography-datagrid-header-font-family);\n font-size: var(--redsift-typography-datagrid-header-font-size);\n font-weight: var(--redsift-typography-datagrid-header-font-weight);\n }\n\n .MuiDataGrid-columnHeaders {\n border-bottom-color: var(--redsift-color-default-primary);\n }\n\n .MuiDataGrid-columnSeparator {\n display: none;\n }\n\n .MuiTablePagination-root {\n .MuiTablePagination-selectLabel {\n font-family: var(--redsift-typography-datagrid-font-family);\n }\n .MuiTablePagination-displayedRows {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n\n .MuiInputBase-root {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n }\n\n .Mui-checked {\n color: var(--redsift-color-default-primary);\n }\n\n .MuiDataGrid-rowCount {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n\n .MuiTablePagination-displayedRows {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n`;\n","import styled from 'styled-components';\n\n/**\n * Component style.\n */\nexport const GridToolbarWrapper = styled.div`\n .MuiButtonBase-root-JobBs.MuiButton-root {\n svg {\n path {\n fill: var(--redsift-color-default-primary);\n }\n }\n }\n\n .MuiDataGrid-toolbarContainer {\n font-family: var(--redsift-typography-datagrid-font-family);\n\n button {\n font-family: var(--redsift-typography-datagrid-font-family);\n font-size: var(--redsift-typography-button-large-font-size);\n line-height: var(--redsift-typography-button-large-line-height);\n color: var(--redsift-color-default-primary);\n border-radius: 0px;\n padding: 6px 8px;\n\n .MuiButton-startIcon {\n margin-left: 0px;\n\n svg {\n color: var(--redsift-color-default-primary);\n }\n }\n }\n\n button:hover {\n background: var(--redsift-color-primary-outlined-hover);\n }\n }\n`;\n","import React, { forwardRef, RefObject } from 'react';\n\nimport { Comp } from '@redsift/design-system';\nimport {\n GridToolbarContainer,\n GridToolbarColumnsButton,\n GridToolbarDensitySelector,\n GridToolbarFilterButton,\n GridToolbarExport,\n gridVisibleSortedRowIdsSelector,\n GridCsvGetRowsToExportParams,\n} from '@mui/x-data-grid-pro';\n\nimport { GridToolbarWrapper } from './styles';\nimport { ToolbarProps } from './types';\n\n/**\n * Temporary workaround for a type mismatch between react 17 and 18\n * https://github.com/mui/material-ui/issues/35287#issuecomment-1337250566\n */\ndeclare global {\n namespace React {\n interface DOMAttributes<T> {\n onResize?: React.ReactEventHandler<T> | undefined;\n onResizeCapture?: React.ReactEventHandler<T> | undefined;\n nonce?: string | undefined;\n }\n }\n}\n/** ------ */\n\nconst COMPONENT_NAME = 'RedSiftToolbar';\nconst CLASSNAME = 'redsift-data-grid';\nconst DEFAULT_PROPS: Partial<ToolbarProps> = {\n hasExportButton: true,\n hasFilterButton: true,\n hasColumnsButton: true,\n hasDensityButton: true,\n};\n\nexport const Toolbar: Comp<ToolbarProps, HTMLDivElement> = forwardRef(\n (props, ref) => {\n const {\n hasExportButton,\n exportButtonProps,\n exportButtonRef,\n hasFilterButton,\n filterButtonProps,\n filterButtonRef,\n hasColumnsButton,\n columnsButtonProps,\n columnsButtonRef,\n hasDensityButton,\n densityButtonProps,\n densityButtonRef,\n } = props;\n\n return (\n <GridToolbarWrapper ref={ref as RefObject<HTMLDivElement>}>\n <GridToolbarContainer>\n {hasFilterButton ? (\n <GridToolbarFilterButton\n {...filterButtonProps}\n ref={filterButtonRef}\n />\n ) : null}\n {hasColumnsButton ? (\n <GridToolbarColumnsButton\n {...columnsButtonProps}\n ref={columnsButtonRef}\n />\n ) : null}\n {hasDensityButton ? (\n <GridToolbarDensitySelector\n {...densityButtonProps}\n ref={densityButtonRef}\n />\n ) : null}\n {hasExportButton ? (\n <GridToolbarExport\n csvOptions={{\n allColumns: true,\n fileName: 'csv',\n getRowsToExport: ({ apiRef }: GridCsvGetRowsToExportParams) =>\n gridVisibleSortedRowIdsSelector(apiRef),\n }}\n printOptions={{\n disableToolbarButton: true,\n }}\n {...exportButtonProps}\n ref={exportButtonRef}\n />\n ) : null}\n </GridToolbarContainer>\n </GridToolbarWrapper>\n );\n }\n);\nToolbar.className = CLASSNAME;\nToolbar.defaultProps = DEFAULT_PROPS;\nToolbar.displayName = COMPONENT_NAME;\n","import React, { forwardRef, RefObject, useRef } from 'react';\nimport classNames from 'classnames';\nimport { LicenseInfo } from '@mui/x-license-pro';\nimport { Comp, Icon } from '@redsift/design-system';\nimport { DataGridPro } from '@mui/x-data-grid-pro';\nimport {\n mdiChevronDown,\n mdiChevronUp,\n mdiChevronRight,\n mdiFilterVariant,\n} from '@redsift/icons';\n\nimport { StyledDataGrid } from './styles';\nimport { DataGridProps } from './types';\nimport { Toolbar } from '../Toolbar';\n\nconst COMPONENT_NAME = 'RedSiftDataGrid';\nconst CLASSNAME = 'redsift-data-grid';\nconst DEFAULT_PROPS: Partial<DataGridProps> = {\n license: process.env.MUI_LICENSE_KEY,\n height: '500px',\n};\n\nconst ColumnSortedAscendingIcon = () => (\n <Icon icon={mdiChevronUp} size=\"small\" />\n);\nconst ColumnSortedDescendingIcon = () => (\n <Icon icon={mdiChevronDown} size=\"small\" />\n);\nconst DetailPanelExpandIcon = () => (\n <Icon icon={mdiChevronRight} size=\"small\" />\n);\nconst DetailPanelCollapseIcon = () => (\n <Icon icon={mdiChevronDown} size=\"small\" />\n);\nconst ColumnFilteredIcon = () => <Icon icon={mdiFilterVariant} size=\"small\" />;\n\nexport const DataGrid: Comp<DataGridProps, HTMLDivElement> = forwardRef(\n (props, ref) => {\n const datagridRef = ref || useRef<HTMLDivElement>();\n\n const {\n className,\n height,\n hideToolbar,\n license,\n toolbar = Toolbar,\n ...forwardedProps\n } = props;\n\n LicenseInfo.setLicenseKey(license!);\n\n return (\n <StyledDataGrid\n ref={datagridRef as RefObject<HTMLDivElement>}\n className={classNames(DataGrid.className, className)}\n $height={height}\n >\n <DataGridPro\n {...forwardedProps}\n components={{\n ColumnFilteredIcon,\n ColumnSortedAscendingIcon,\n ColumnSortedDescendingIcon,\n DetailPanelExpandIcon,\n DetailPanelCollapseIcon,\n OpenFilterButtonIcon: ColumnFilteredIcon,\n ...props.components,\n ...(!hideToolbar && { Toolbar: toolbar }),\n }}\n />\n </StyledDataGrid>\n );\n }\n);\nDataGrid.className = CLASSNAME;\nDataGrid.defaultProps = DEFAULT_PROPS;\nDataGrid.displayName = COMPONENT_NAME;\n","import styled from 'styled-components';\n\nexport const StyledTextCell = styled.div`\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: 8px;\n justify-content: flex-start;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nexport const StyledTextCellText = styled.div`\n box-sizing: border-box;\n line-height: normal;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n","import React, { forwardRef, RefObject, useRef } from 'react';\nimport classNames from 'classnames';\nimport { Comp } from '~/types';\nimport { Icon, Shield } from '@redsift/design-system';\n\nimport { StyledTextCell, StyledTextCellText } from './styles';\nimport { TextCellProps } from './types';\n\nconst COMPONENT_NAME = 'RedSiftDataGridCell';\nconst CLASSNAME = 'redsift-datagrid-cell';\n\n/**\n * The Cell component.\n */\nexport const TextCell: Comp<TextCellProps, HTMLDivElement> = forwardRef(\n (props, ref) => {\n const textCellRef = ref || useRef<HTMLDivElement>();\n const {\n badge,\n children,\n className,\n leftIcon,\n leftIconColor,\n rightIcon,\n rightIconColor,\n shieldVariant,\n ...forwardedProps\n } = props;\n\n return (\n <StyledTextCell\n {...forwardedProps}\n className={classNames(TextCell.className, className)}\n ref={textCellRef as RefObject<HTMLDivElement>}\n >\n <>\n {shieldVariant ? <Shield variant={shieldVariant} /> : null}\n {leftIcon ? (\n <Icon\n icon={leftIcon}\n aria-hidden=\"true\"\n size=\"small\"\n color={leftIconColor}\n />\n ) : null}\n <StyledTextCellText>{children}</StyledTextCellText>\n {badge ? badge : null}\n {rightIcon ? (\n <Icon\n icon={rightIcon}\n aria-hidden=\"true\"\n size=\"small\"\n color={rightIconColor}\n />\n ) : null}\n </>\n </StyledTextCell>\n );\n }\n);\n\nTextCell.className = CLASSNAME;\nTextCell.displayName = COMPONENT_NAME;\n"],"names":["DETAIL_PANEL_TOGGLE_COL_DEF","GRID_DETAIL_PANEL_TOGGLE_COL_DEF","type","containsAnyOfOperator","label","value","getApplyFilterFn","filterItem","columnField","operatorValue","params","length","match","forEach","filteredValue","indexOf","InputComponent","GridFilterInputMultipleValue","CONTAINS_ANY_OF","endsWithAnyOfOperator","paramValues","Array","isArray","paramValue","endsWith","ENDS_WITH_ANY_OF","isAnyOfOperator","getGridStringOperators","filter","operator","IS_ANY_OF","startsWithAnyOfOperator","startsWith","STARTS_WITH_ANY_OF","getGridStringArrayOperators","StyledDataGrid","styled","div","$height","css","GridToolbarWrapper","COMPONENT_NAME","CLASSNAME","DEFAULT_PROPS","hasExportButton","hasFilterButton","hasColumnsButton","hasDensityButton","Toolbar","forwardRef","props","ref","exportButtonProps","exportButtonRef","filterButtonProps","filterButtonRef","columnsButtonProps","columnsButtonRef","densityButtonProps","densityButtonRef","allColumns","fileName","getRowsToExport","apiRef","gridVisibleSortedRowIdsSelector","disableToolbarButton","className","defaultProps","displayName","license","process","env","MUI_LICENSE_KEY","height","ColumnSortedAscendingIcon","mdiChevronUp","ColumnSortedDescendingIcon","mdiChevronDown","DetailPanelExpandIcon","mdiChevronRight","DetailPanelCollapseIcon","ColumnFilteredIcon","mdiFilterVariant","DataGrid","datagridRef","useRef","hideToolbar","toolbar","forwardedProps","_excluded","LicenseInfo","setLicenseKey","classNames","_objectSpread","OpenFilterButtonIcon","components","StyledTextCell","StyledTextCellText","TextCell","textCellRef","badge","children","leftIcon","leftIconColor","rightIcon","rightIconColor","shieldVariant"],"mappings":";;;;;;;AAEA;AACMA,MAAAA,2BAA2B,GAAGC,iCAAgC;AACpED,2BAA2B,CAACE,IAAI,GAAG,SAAS;;ACE5C,MAAMC,qBAAqB,GAAG;AAC5BC,EAAAA,KAAK,EAAE,iBAAiB;AACxBC,EAAAA,KAAK,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,IAAA,OAAO,EAAEA,aAAAA;AAAc,GAAA,CAAG,GAAG,IAAI,EACzDJ,QAAQ,gBACP,oBAAC,IAAI,EAAA;AACH,IAAA,IAAI,EAAEA,QAAS;AACf,IAAA,aAAA,EAAY,MAAM;AAClB,IAAA,IAAI,EAAC,OAAO;AACZ,IAAA,KAAK,EAAEC,aAAAA;AAAc,GAAA,CACrB,GACA,IAAI,eACR,oBAAC,kBAAkB,EAAA,IAAA,EAAEF,QAAQ,CAAsB,EAClDD,KAAK,GAAGA,KAAK,GAAG,IAAI,EACpBI,SAAS,gBACR,oBAAC,IAAI,EAAA;AACH,IAAA,IAAI,EAAEA,SAAU;AAChB,IAAA,aAAA,EAAY,MAAM;AAClB,IAAA,IAAI,EAAC,OAAO;AACZ,IAAA,KAAK,EAAEC,cAAAA;GACP,CAAA,GACA,IAAI,CACP,CACY,CAAA;AAErB,CAAC,EACF;AAEDP,QAAQ,CAAChC,SAAS,GAAGxB,SAAS,CAAA;AAC9BwD,QAAQ,CAAC9B,WAAW,GAAG3B,cAAc;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/utils/columns/detailPanelToggleColDef.ts","../src/utils/operators/containsAnyOf.tsx","../src/utils/operators/endsWithAnyOf.tsx","../src/utils/operators/isAnyOf.tsx","../src/utils/operators/startsWithAnyOf.tsx","../src/utils/operators/getGridStringArrayOperators.ts","../../../node_modules/classnames/index.js","../../../node_modules/@mui/utils/esm/ponyfillGlobal.js","../../../node_modules/@mui/x-license-pro/utils/licenseInfo.js","../src/components/DataGrid/styles.ts","../src/components/Toolbar/styles.ts","../src/components/Toolbar/Toolbar.tsx","../src/components/DataGrid/DataGrid.tsx","../src/components/TextCell/styles.ts","../src/components/TextCell/TextCell.tsx"],"sourcesContent":["import { GRID_DETAIL_PANEL_TOGGLE_COL_DEF } from '@mui/x-data-grid-pro';\n\n// Don't use a spread operator there or it will break the build due to MUI internal components\nconst DETAIL_PANEL_TOGGLE_COL_DEF = GRID_DETAIL_PANEL_TOGGLE_COL_DEF;\nDETAIL_PANEL_TOGGLE_COL_DEF.type = 'actions';\n\nexport { DETAIL_PANEL_TOGGLE_COL_DEF };\n","import {\n GridCellParams,\n GridFilterInputMultipleValue,\n GridFilterItem,\n} from '@mui/x-data-grid-pro';\n\nconst containsAnyOfOperator = {\n label: 'contains any of',\n value: 'containsAnyOf',\n getApplyFilterFn: (filterItem: GridFilterItem) => {\n if (\n !filterItem.columnField ||\n !filterItem.value ||\n !filterItem.operatorValue\n ) {\n return null;\n }\n\n return (params: GridCellParams): boolean => {\n if (filterItem.value.length === 0) {\n return true;\n }\n\n let match = false;\n filterItem.value.forEach((filteredValue: string) => {\n if (params.value.indexOf(filteredValue) !== -1) {\n match = true;\n }\n });\n return match;\n };\n },\n InputComponent: GridFilterInputMultipleValue,\n};\n\nexport const CONTAINS_ANY_OF = containsAnyOfOperator;\n","import {\n GridCellParams,\n GridFilterInputMultipleValue,\n GridFilterItem,\n} from '@mui/x-data-grid-pro';\n\nconst endsWithAnyOfOperator = {\n label: 'ends with any of',\n value: 'endsWithAnyOf',\n getApplyFilterFn: (filterItem: GridFilterItem) => {\n if (\n !filterItem.columnField ||\n !filterItem.value ||\n !filterItem.operatorValue\n ) {\n return null;\n }\n\n return (params: GridCellParams): boolean => {\n if (filterItem.value.length === 0) {\n return true;\n }\n const paramValues = Array.isArray(params.value)\n ? params.value\n : [params.value];\n\n let match = false;\n filterItem.value.forEach((filteredValue: string) => {\n paramValues.forEach((paramValue: string) => {\n if (paramValue.endsWith(filteredValue)) {\n match = true;\n }\n });\n });\n return match;\n };\n },\n InputComponent: GridFilterInputMultipleValue,\n};\n\nexport const ENDS_WITH_ANY_OF = endsWithAnyOfOperator;\n","import { getGridStringOperators } from '@mui/x-data-grid-pro';\n\nconst isAnyOfOperator = getGridStringOperators().filter(\n (operator) => operator.value === 'isAnyOf'\n)[0];\n\nexport const IS_ANY_OF = isAnyOfOperator;\n","import {\n GridCellParams,\n GridFilterInputMultipleValue,\n GridFilterItem,\n} from '@mui/x-data-grid-pro';\n\nconst startsWithAnyOfOperator = {\n label: 'starts with any of',\n value: 'startsWithAnyOf',\n getApplyFilterFn: (filterItem: GridFilterItem) => {\n if (\n !filterItem.columnField ||\n !filterItem.value ||\n !filterItem.operatorValue\n ) {\n return null;\n }\n\n return (params: GridCellParams): boolean => {\n if (filterItem.value.length === 0) {\n return true;\n }\n const paramValues = Array.isArray(params.value)\n ? params.value\n : [params.value];\n\n let match = false;\n filterItem.value.forEach((filteredValue: string) => {\n paramValues.forEach((paramValue: string) => {\n if (paramValue.startsWith(filteredValue)) {\n match = true;\n }\n });\n });\n return match;\n };\n },\n InputComponent: GridFilterInputMultipleValue,\n};\n\nexport const STARTS_WITH_ANY_OF = startsWithAnyOfOperator;\n","import { GridFilterOperator } from '@mui/x-data-grid-pro';\nimport { CONTAINS_ANY_OF } from './containsAnyOf';\nimport { ENDS_WITH_ANY_OF } from './endsWithAnyOf';\nimport { IS_ANY_OF } from './isAnyOf';\nimport { STARTS_WITH_ANY_OF } from './startsWithAnyOf';\n\nexport const getGridStringArrayOperators: () => GridFilterOperator<\n any,\n number | string | null,\n any\n>[] = () => [CONTAINS_ANY_OF, ENDS_WITH_ANY_OF, IS_ANY_OF, STARTS_WITH_ANY_OF];\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/* eslint-disable */\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nexport default typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();","import { ponyfillGlobal } from '@mui/utils';\n// Store the license information in a global, so it can be shared\n// when module duplication occurs. The duplication of the modules can happen\n// if using multiple version of MUI X at the same time of the bundler\n// decide to duplicate to improve the size of the chunks.\n// eslint-disable-next-line no-underscore-dangle\nponyfillGlobal.__MUI_LICENSE_INFO__ = ponyfillGlobal.__MUI_LICENSE_INFO__ || {\n key: undefined\n};\nexport class LicenseInfo {\n static getLicenseInfo() {\n // eslint-disable-next-line no-underscore-dangle\n return ponyfillGlobal.__MUI_LICENSE_INFO__;\n }\n\n static getLicenseKey() {\n return LicenseInfo.getLicenseInfo().key;\n }\n\n static setLicenseKey(key) {\n const licenseInfo = LicenseInfo.getLicenseInfo();\n licenseInfo.key = key;\n }\n\n}","import styled, { css } from 'styled-components';\nimport { StyledDataGridProps } from './types';\n\n/**\n * Component style.\n */\nexport const StyledDataGrid = styled.div<StyledDataGridProps>`\n ${({ $height }) =>\n css`\n height: ${$height};\n `}\n\n width: 100%;\n\n .MuiDataGrid-root {\n font-family: var(--redsift-typography-datagrid-font-family);\n border: none;\n }\n\n .MuiDataGrid-row {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n font-size: var(--redsift-typography-datagrid-row-font-size);\n font-weight: var(--redsift-typography-datagrid-row-font-weight);\n }\n\n .MuiDataGrid-columnHeaderTitle {\n font-family: var(--redsift-typography-datagrid-header-font-family);\n font-size: var(--redsift-typography-datagrid-header-font-size);\n font-weight: var(--redsift-typography-datagrid-header-font-weight);\n }\n\n .MuiDataGrid-columnHeaders {\n border-bottom-color: var(--redsift-color-default-primary);\n }\n\n .MuiDataGrid-columnSeparator {\n display: none;\n }\n\n .MuiTablePagination-root {\n .MuiTablePagination-selectLabel {\n font-family: var(--redsift-typography-datagrid-font-family);\n }\n .MuiTablePagination-displayedRows {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n\n .MuiInputBase-root {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n }\n\n .Mui-checked {\n color: var(--redsift-color-default-primary);\n }\n\n .MuiDataGrid-rowCount {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n\n .MuiTablePagination-displayedRows {\n font-family: var(--redsift-typography-datagrid-row-font-family);\n }\n`;\n","import styled from 'styled-components';\n\n/**\n * Component style.\n */\nexport const GridToolbarWrapper = styled.div`\n .MuiButtonBase-root-JobBs.MuiButton-root {\n svg {\n path {\n fill: var(--redsift-color-default-primary);\n }\n }\n }\n\n .MuiDataGrid-toolbarContainer {\n font-family: var(--redsift-typography-datagrid-font-family);\n\n button {\n font-family: var(--redsift-typography-datagrid-font-family);\n font-size: var(--redsift-typography-button-large-font-size);\n line-height: var(--redsift-typography-button-large-line-height);\n color: var(--redsift-color-default-primary);\n border-radius: 0px;\n padding: 6px 8px;\n\n .MuiButton-startIcon {\n margin-left: 0px;\n\n svg {\n color: var(--redsift-color-default-primary);\n }\n }\n }\n\n button:hover {\n background: var(--redsift-color-primary-outlined-hover);\n }\n }\n`;\n","import React, { forwardRef, RefObject } from 'react';\n\nimport { Comp } from '@redsift/design-system';\nimport {\n GridToolbarContainer,\n GridToolbarColumnsButton,\n GridToolbarDensitySelector,\n GridToolbarFilterButton,\n GridToolbarExport,\n gridVisibleSortedRowIdsSelector,\n GridCsvGetRowsToExportParams,\n} from '@mui/x-data-grid-pro';\n\nimport { GridToolbarWrapper } from './styles';\nimport { ToolbarProps } from './types';\n\n/**\n * Temporary workaround for a type mismatch between react 17 and 18\n * https://github.com/mui/material-ui/issues/35287#issuecomment-1337250566\n */\ndeclare global {\n namespace React {\n interface DOMAttributes<T> {\n onResize?: React.ReactEventHandler<T> | undefined;\n onResizeCapture?: React.ReactEventHandler<T> | undefined;\n nonce?: string | undefined;\n }\n }\n}\n/** ------ */\n\nconst COMPONENT_NAME = 'Toolbar';\nconst CLASSNAME = 'redsift-data-grid';\nconst DEFAULT_PROPS: Partial<ToolbarProps> = {\n hasExportButton: true,\n hasFilterButton: true,\n hasColumnsButton: true,\n hasDensityButton: true,\n};\n\nexport const Toolbar: Comp<ToolbarProps, HTMLDivElement> = forwardRef(\n (props, ref) => {\n const {\n hasExportButton,\n exportButtonProps,\n exportButtonRef,\n hasFilterButton,\n filterButtonProps,\n filterButtonRef,\n hasColumnsButton,\n columnsButtonProps,\n columnsButtonRef,\n hasDensityButton,\n densityButtonProps,\n densityButtonRef,\n } = props;\n\n return (\n <GridToolbarWrapper ref={ref as RefObject<HTMLDivElement>}>\n <GridToolbarContainer>\n {hasFilterButton ? (\n <GridToolbarFilterButton\n {...filterButtonProps}\n ref={filterButtonRef}\n />\n ) : null}\n {hasColumnsButton ? (\n <GridToolbarColumnsButton\n {...columnsButtonProps}\n ref={columnsButtonRef}\n />\n ) : null}\n {hasDensityButton ? (\n <GridToolbarDensitySelector\n {...densityButtonProps}\n ref={densityButtonRef}\n />\n ) : null}\n {hasExportButton ? (\n <GridToolbarExport\n csvOptions={{\n allColumns: true,\n fileName: 'csv',\n getRowsToExport: ({ apiRef }: GridCsvGetRowsToExportParams) =>\n gridVisibleSortedRowIdsSelector(apiRef),\n }}\n printOptions={{\n disableToolbarButton: true,\n }}\n {...exportButtonProps}\n ref={exportButtonRef}\n />\n ) : null}\n </GridToolbarContainer>\n </GridToolbarWrapper>\n );\n }\n);\nToolbar.className = CLASSNAME;\nToolbar.defaultProps = DEFAULT_PROPS;\nToolbar.displayName = COMPONENT_NAME;\n","import React, { forwardRef, RefObject, useRef } from 'react';\nimport classNames from 'classnames';\nimport { LicenseInfo } from '@mui/x-license-pro';\nimport { Comp, Icon } from '@redsift/design-system';\nimport { DataGridPro } from '@mui/x-data-grid-pro';\nimport {\n mdiChevronDown,\n mdiChevronUp,\n mdiChevronRight,\n mdiFilterVariant,\n} from '@redsift/icons';\n\nimport { StyledDataGrid } from './styles';\nimport { DataGridProps } from './types';\nimport { Toolbar } from '../Toolbar';\n\nconst COMPONENT_NAME = 'DataGrid';\nconst CLASSNAME = 'redsift-data-grid';\nconst DEFAULT_PROPS: Partial<DataGridProps> = {\n license: process.env.MUI_LICENSE_KEY,\n height: '500px',\n};\n\nconst ColumnSortedAscendingIcon = () => (\n <Icon icon={mdiChevronUp} size=\"small\" />\n);\nconst ColumnSortedDescendingIcon = () => (\n <Icon icon={mdiChevronDown} size=\"small\" />\n);\nconst DetailPanelExpandIcon = () => (\n <Icon icon={mdiChevronRight} size=\"small\" />\n);\nconst DetailPanelCollapseIcon = () => (\n <Icon icon={mdiChevronDown} size=\"small\" />\n);\nconst ColumnFilteredIcon = () => <Icon icon={mdiFilterVariant} size=\"small\" />;\n\nexport const DataGrid: Comp<DataGridProps, HTMLDivElement> = forwardRef(\n (props, ref) => {\n const datagridRef = ref || useRef<HTMLDivElement>();\n\n const {\n className,\n height,\n hideToolbar,\n license,\n toolbar = Toolbar,\n ...forwardedProps\n } = props;\n\n LicenseInfo.setLicenseKey(license!);\n\n return (\n <StyledDataGrid\n ref={datagridRef as RefObject<HTMLDivElement>}\n className={classNames(DataGrid.className, className)}\n $height={height}\n >\n <DataGridPro\n {...forwardedProps}\n components={{\n ColumnFilteredIcon,\n ColumnSortedAscendingIcon,\n ColumnSortedDescendingIcon,\n DetailPanelExpandIcon,\n DetailPanelCollapseIcon,\n OpenFilterButtonIcon: ColumnFilteredIcon,\n ...props.components,\n ...(!hideToolbar && { Toolbar: toolbar }),\n }}\n />\n </StyledDataGrid>\n );\n }\n);\nDataGrid.className = CLASSNAME;\nDataGrid.defaultProps = DEFAULT_PROPS;\nDataGrid.displayName = COMPONENT_NAME;\n","import styled from 'styled-components';\n\nexport const StyledTextCell = styled.div`\n align-items: center;\n box-sizing: border-box;\n display: flex;\n gap: 8px;\n justify-content: flex-start;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nexport const StyledTextCellText = styled.div`\n box-sizing: border-box;\n line-height: normal;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n","import React, { forwardRef, RefObject, useRef } from 'react';\nimport classNames from 'classnames';\nimport { Comp } from '~/types';\nimport { Icon, Shield } from '@redsift/design-system';\n\nimport { StyledTextCell, StyledTextCellText } from './styles';\nimport { TextCellProps } from './types';\n\nconst COMPONENT_NAME = 'DataGridCell';\nconst CLASSNAME = 'redsift-datagrid-cell';\n\n/**\n * The Cell component.\n */\nexport const TextCell: Comp<TextCellProps, HTMLDivElement> = forwardRef(\n (props, ref) => {\n const textCellRef = ref || useRef<HTMLDivElement>();\n const {\n badge,\n children,\n className,\n leftIcon,\n leftIconColor,\n rightIcon,\n rightIconColor,\n shieldVariant,\n ...forwardedProps\n } = props;\n\n return (\n <StyledTextCell\n {...forwardedProps}\n className={classNames(TextCell.className, className)}\n ref={textCellRef as RefObject<HTMLDivElement>}\n >\n <>\n {shieldVariant ? <Shield variant={shieldVariant} /> : null}\n {leftIcon ? (\n <Icon\n icon={leftIcon}\n aria-hidden=\"true\"\n size=\"small\"\n color={leftIconColor}\n />\n ) : null}\n <StyledTextCellText>{children}</StyledTextCellText>\n {badge ? badge : null}\n {rightIcon ? (\n <Icon\n icon={rightIcon}\n aria-hidden=\"true\"\n size=\"small\"\n color={rightIconColor}\n />\n ) : null}\n </>\n </StyledTextCell>\n );\n }\n);\n\nTextCell.className = CLASSNAME;\nTextCell.displayName = COMPONENT_NAME;\n"],"names":["DETAIL_PANEL_TOGGLE_COL_DEF","GRID_DETAIL_PANEL_TOGGLE_COL_DEF","type","containsAnyOfOperator","label","value","getApplyFilterFn","filterItem","columnField","operatorValue","params","length","match","forEach","filteredValue","indexOf","InputComponent","GridFilterInputMultipleValue","CONTAINS_ANY_OF","endsWithAnyOfOperator","paramValues","Array","isArray","paramValue","endsWith","ENDS_WITH_ANY_OF","isAnyOfOperator","getGridStringOperators","filter","operator","IS_ANY_OF","startsWithAnyOfOperator","startsWith","STARTS_WITH_ANY_OF","getGridStringArrayOperators","StyledDataGrid","styled","div","$height","css","GridToolbarWrapper","COMPONENT_NAME","CLASSNAME","DEFAULT_PROPS","hasExportButton","hasFilterButton","hasColumnsButton","hasDensityButton","Toolbar","forwardRef","props","ref","exportButtonProps","exportButtonRef","filterButtonProps","filterButtonRef","columnsButtonProps","columnsButtonRef","densityButtonProps","densityButtonRef","allColumns","fileName","getRowsToExport","apiRef","gridVisibleSortedRowIdsSelector","disableToolbarButton","className","defaultProps","displayName","license","process","env","MUI_LICENSE_KEY","height","ColumnSortedAscendingIcon","mdiChevronUp","ColumnSortedDescendingIcon","mdiChevronDown","DetailPanelExpandIcon","mdiChevronRight","DetailPanelCollapseIcon","ColumnFilteredIcon","mdiFilterVariant","DataGrid","datagridRef","useRef","hideToolbar","toolbar","forwardedProps","_excluded","LicenseInfo","setLicenseKey","classNames","_objectSpread","OpenFilterButtonIcon","components","StyledTextCell","StyledTextCellText","TextCell","textCellRef","badge","children","leftIcon","leftIconColor","rightIcon","rightIconColor","shieldVariant"],"mappings":";;;;;;;AAEA;AACMA,MA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,GAAA,CAAA,eAE9C,KACGO,CAAAA,aAAAA,CAAAA,KAAAA,CAAAA,QAAAA,EAAAA,IAAAA,EAAAA,aAAa,gBAAG,KAAA,CAAA,aAAA,CAAC,MAAM,EAAA;AAAC,IAAA,OAAO,EAAEA,aAAAA;AAAc,GAAA,CAAG,GAAG,IAAI,EACzDJ,QAAQ,gBACP,oBAAC,IAAI,EAAA;AACH,IAAA,IAAI,EAAEA,QAAS;AACf,IAAA,aAAA,EAAY,MAAM;AAClB,IAAA,IAAI,EAAC,OAAO;AACZ,IAAA,KAAK,EAAEC,aAAAA;AAAc,GAAA,CACrB,GACA,IAAI,eACR,oBAAC,kBAAkB,EAAA,IAAA,EAAEF,QAAQ,CAAsB,EAClDD,KAAK,GAAGA,KAAK,GAAG,IAAI,EACpBI,SAAS,gBACR,oBAAC,IAAI,EAAA;AACH,IAAA,IAAI,EAAEA,SAAU;AAChB,IAAA,aAAA,EAAY,MAAM;AAClB,IAAA,IAAI,EAAC,OAAO;AACZ,IAAA,KAAK,EAAEC,cAAAA;GACP,CAAA,GACA,IAAI,CACP,CACY,CAAA;AAErB,CAAC,EACF;AAEDP,QAAQ,CAAChC,SAAS,GAAGxB,SAAS,CAAA;AAC9BwD,QAAQ,CAAC9B,WAAW,GAAG3B,cAAc;;;;"}
|
package/package.json
CHANGED
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"test": "cp -f ../../.env ./ && NODE_ENV=test jest --verbose"
|
|
29
29
|
},
|
|
30
30
|
"types": "types.d.ts",
|
|
31
|
-
"version": "7.
|
|
31
|
+
"version": "7.4.0-alpha.0",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@mui/material": "^5.11.0",
|
|
34
34
|
"@mui/styled-engine-sc": "^5.11.0",
|
|
35
|
-
"@redsift/design-system": "^7.
|
|
36
|
-
"@redsift/icons": "^7.
|
|
35
|
+
"@redsift/design-system": "^7.4.0-alpha.0",
|
|
36
|
+
"@redsift/icons": "^7.4.0-alpha.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@babel/core": "^7.8.3",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"react-dom": "17 || 18",
|
|
94
94
|
"styled-components": "^5.3.3"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "a5481a2e4c668599126a736e6a39d4877a4ed809"
|
|
97
97
|
}
|