@digital-ai/dot-components 2.24.0 → 2.24.1

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/index.esm.js CHANGED
@@ -2742,8 +2742,9 @@ const StyledIconButton = styled(IconButton).withConfig({
2742
2742
  displayName: "IconButtonstyles__StyledIconButton",
2743
2743
  componentId: "eko0kb-0"
2744
2744
  })(["", ""], ({
2745
- theme
2746
- }) => css(["&.", "{color:", ";font-size:inherit;padding:10px;&:hover{background-color:", ";}&:active{background-color:", ";}&:focus{background-color:", ";}&.Mui-disabled .dot-icon{color:", ";}&.ripple-disabled{&:hover,&:focus{background:", ";}}&.shape-square{border-radius:4px;border:1px solid ", ";padding:", ";&:active{background:", ";}}.dot-icon.MuiIcon-fontSizeSmall{padding:1px;}&.MuiIconButton-sizeSmall{padding:3px;}"], rootClassName$U, theme.palette.figma.icon.black, theme.palette.figma.neutral.elevated, theme.palette.figma.neutral.ripple, theme.palette.figma.neutral.active, theme.palette.figma.icon.disabled, theme.palette.figma.neutral.elevated, theme.palette.figma.border.defaultButton, theme.spacing(1), theme.palette.figma.toggleTabs.bckg));
2745
+ theme,
2746
+ color
2747
+ }) => css(["&.", "{", " ", " font-size:inherit;padding:10px;&:hover{background-color:", ";}&:active{background-color:", ";}&:focus{background-color:", ";}&.Mui-disabled .dot-icon{color:", ";}&.ripple-disabled{&:hover,&:focus{background:", ";}}&.shape-square{border-radius:4px;border:1px solid ", ";padding:", ";&:active{background:", ";}}.dot-icon{color:inherit;}.dot-icon.MuiIcon-fontSizeSmall{padding:1px;}&.MuiIconButton-sizeSmall{padding:3px;}"], rootClassName$U, color === 'inherit' ? css(["color:inherit;"]) : '', color === 'default' ? css(["color:", ";"], theme.palette.figma.icon.black) : '', theme.palette.figma.neutral.elevated, theme.palette.figma.neutral.ripple, theme.palette.figma.neutral.active, theme.palette.figma.icon.disabled, theme.palette.figma.neutral.elevated, theme.palette.figma.border.defaultButton, theme.spacing(1), theme.palette.figma.toggleTabs.bckg));
2747
2748
 
2748
2749
  const DotIconButton = ({
2749
2750
  ariaLabel,
@@ -6241,19 +6242,18 @@ const CssCell = styled(Cell).withConfig({
6241
6242
  middle: _middle = true,
6242
6243
  md,
6243
6244
  sm,
6244
- start,
6245
6245
  theme,
6246
6246
  top,
6247
- width,
6248
6247
  xl,
6248
+ xxl,
6249
6249
  xs
6250
- }) => css(["height:", ";min-width:0;box-sizing:border-box;", ";", ";", ";", ";grid-row-end:", ";", ";", ";", " ", " ", " ", " ", " ", " grid-column:", ";}"], height ? height : '100%', top && `grid-row-start: ${top}`, _center && `text-align: center`, !start && `grid-column-start: ${start}`, !width && `grid-column-end: span ${width}`, height && `span ${height}`, area && `grid-area: ${area}`, _middle && `
6250
+ }) => css(["height:", ";min-width:0;box-sizing:border-box;", ";", ";grid-row-end:", ";", ";", ";", " ", " ", " ", " ", " ", " grid-column:", ";}"], height ? height : '100%', top && `grid-row-start: ${top}`, _center && `text-align: center`, height && `span ${height}`, area && `grid-area: ${area}`, _middle && `
6251
6251
  display: inline-flex;
6252
6252
  flex-flow: column wrap;
6253
6253
  justify-content: ${_justifyContent};
6254
6254
  align-items: ${_alignItems};
6255
6255
  justify-self: stretch;
6256
- `, xs && breakpointsGetter(xs, theme, 'xs'), sm && breakpointsGetter(sm, theme, 'sm'), md && breakpointsGetter(md, theme, 'md'), lg && breakpointsGetter(lg, theme, 'lg'), lg && breakpointsGetter(lg, theme, 'lg'), xl && breakpointsGetter(lg, theme, 'xl'), gridColumn));
6256
+ `, xs && breakpointsGetter(xs, theme, 'xs'), sm && breakpointsGetter(sm, theme, 'sm'), md && breakpointsGetter(md, theme, 'md'), lg && breakpointsGetter(lg, theme, 'lg'), xl && breakpointsGetter(xl, theme, 'xl'), xxl && breakpointsGetter(xxl, theme, 'xxl'), gridColumn));
6257
6257
 
6258
6258
  const gridClassName = 'debug-grid';
6259
6259
  const gridClassContainer = 'debug-grid-container';
@@ -6344,13 +6344,9 @@ const CssGridDebug = ({
6344
6344
  }), jsx(StyledGridOverlay, {
6345
6345
  className: gridClassName,
6346
6346
  rows: "minmax(100vh, 100%)",
6347
- children: [...Array(columns)].map((item, i) => {
6348
- return jsx(CssCell, {
6349
- className: `${cellClassName}`,
6350
- start: i + 1,
6351
- width: 1
6352
- }, i);
6353
- })
6347
+ children: Array.from(Array(columns), (_item, i) => jsx(CssCell, {
6348
+ className: `${cellClassName}`
6349
+ }, i))
6354
6350
  })]
6355
6351
  });
6356
6352
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "2.24.0",
3
+ "version": "2.24.1",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -28,15 +28,14 @@ export interface CssCellProps extends CommonProps {
28
28
  middle?: boolean;
29
29
  /** Small column breakpoint */
30
30
  sm?: CellSize;
31
- /** Column start when Cell column breakpoints are not used */
32
- start?: number | string;
33
31
  /** Row start override */
34
32
  top?: number | string;
35
- width?: number;
36
33
  /** Extra large column breakpoint */
37
34
  xl?: CellSize;
38
35
  /** Extra small column breakpoint */
39
36
  xs?: CellSize;
37
+ /** Extra, extra large column breakpoint */
38
+ xxl?: CellSize;
40
39
  }
41
40
  export declare const Cell: ({ children, className }: CssCellProps) => import("react/jsx-runtime").JSX.Element;
42
41
  export declare const CssCell: import("styled-components").StyledComponent<({ children, className }: CssCellProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;