@vitessce/styles 3.8.13 → 3.9.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/dist/index.js CHANGED
@@ -24467,6 +24467,90 @@ ListItemText.propTypes = {
24467
24467
  */
24468
24468
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
24469
24469
  };
24470
+ function getListItemIconUtilityClass(slot) {
24471
+ return generateUtilityClass("MuiListItemIcon", slot);
24472
+ }
24473
+ const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
24474
+ const useUtilityClasses$1g = (ownerState) => {
24475
+ const {
24476
+ alignItems,
24477
+ classes: classes2
24478
+ } = ownerState;
24479
+ const slots = {
24480
+ root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
24481
+ };
24482
+ return composeClasses(slots, getListItemIconUtilityClass, classes2);
24483
+ };
24484
+ const ListItemIconRoot = styled("div", {
24485
+ name: "MuiListItemIcon",
24486
+ slot: "Root",
24487
+ overridesResolver: (props, styles2) => {
24488
+ const {
24489
+ ownerState
24490
+ } = props;
24491
+ return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
24492
+ }
24493
+ })(memoTheme(({
24494
+ theme
24495
+ }) => ({
24496
+ minWidth: 56,
24497
+ color: (theme.vars || theme).palette.action.active,
24498
+ flexShrink: 0,
24499
+ display: "inline-flex",
24500
+ variants: [{
24501
+ props: {
24502
+ alignItems: "flex-start"
24503
+ },
24504
+ style: {
24505
+ marginTop: 8
24506
+ }
24507
+ }]
24508
+ })));
24509
+ const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inProps, ref) {
24510
+ const props = useDefaultProps({
24511
+ props: inProps,
24512
+ name: "MuiListItemIcon"
24513
+ });
24514
+ const {
24515
+ className,
24516
+ ...other
24517
+ } = props;
24518
+ const context = React.useContext(ListContext);
24519
+ const ownerState = {
24520
+ ...props,
24521
+ alignItems: context.alignItems
24522
+ };
24523
+ const classes2 = useUtilityClasses$1g(ownerState);
24524
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
24525
+ className: clsx(classes2.root, className),
24526
+ ownerState,
24527
+ ref,
24528
+ ...other
24529
+ });
24530
+ });
24531
+ ListItemIcon.propTypes = {
24532
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
24533
+ // │ These PropTypes are generated from the TypeScript type definitions. │
24534
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
24535
+ // └─────────────────────────────────────────────────────────────────────┘
24536
+ /**
24537
+ * The content of the component, normally `Icon`, `SvgIcon`,
24538
+ * or a `@mui/icons-material` SVG icon element.
24539
+ */
24540
+ children: PropTypes.node,
24541
+ /**
24542
+ * Override or extend the styles applied to the component.
24543
+ */
24544
+ classes: PropTypes.object,
24545
+ /**
24546
+ * @ignore
24547
+ */
24548
+ className: PropTypes.string,
24549
+ /**
24550
+ * The system prop that allows defining system overrides as well as additional CSS styles.
24551
+ */
24552
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
24553
+ };
24470
24554
  function getScrollbarSize(win = window) {
24471
24555
  const documentWidth = win.document.documentElement.clientWidth;
24472
24556
  return win.innerWidth - documentWidth;
@@ -24718,7 +24802,7 @@ function getDividerUtilityClass(slot) {
24718
24802
  return generateUtilityClass("MuiDivider", slot);
24719
24803
  }
24720
24804
  const dividerClasses = generateUtilityClasses("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
24721
- const useUtilityClasses$1g = (ownerState) => {
24805
+ const useUtilityClasses$1f = (ownerState) => {
24722
24806
  const {
24723
24807
  absolute,
24724
24808
  children,
@@ -24932,7 +25016,7 @@ const Divider$1 = /* @__PURE__ */ React.forwardRef(function Divider2(inProps, re
24932
25016
  textAlign,
24933
25017
  variant
24934
25018
  };
24935
- const classes2 = useUtilityClasses$1g(ownerState);
25019
+ const classes2 = useUtilityClasses$1f(ownerState);
24936
25020
  return /* @__PURE__ */ jsxRuntimeExports.jsx(DividerRoot, {
24937
25021
  as: component,
24938
25022
  className: clsx(classes2.root, className),
@@ -25014,90 +25098,6 @@ Divider$1.propTypes = {
25014
25098
  */
25015
25099
  variant: PropTypes.oneOfType([PropTypes.oneOf(["fullWidth", "inset", "middle"]), PropTypes.string])
25016
25100
  };
25017
- function getListItemIconUtilityClass(slot) {
25018
- return generateUtilityClass("MuiListItemIcon", slot);
25019
- }
25020
- const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
25021
- const useUtilityClasses$1f = (ownerState) => {
25022
- const {
25023
- alignItems,
25024
- classes: classes2
25025
- } = ownerState;
25026
- const slots = {
25027
- root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
25028
- };
25029
- return composeClasses(slots, getListItemIconUtilityClass, classes2);
25030
- };
25031
- const ListItemIconRoot = styled("div", {
25032
- name: "MuiListItemIcon",
25033
- slot: "Root",
25034
- overridesResolver: (props, styles2) => {
25035
- const {
25036
- ownerState
25037
- } = props;
25038
- return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
25039
- }
25040
- })(memoTheme(({
25041
- theme
25042
- }) => ({
25043
- minWidth: 56,
25044
- color: (theme.vars || theme).palette.action.active,
25045
- flexShrink: 0,
25046
- display: "inline-flex",
25047
- variants: [{
25048
- props: {
25049
- alignItems: "flex-start"
25050
- },
25051
- style: {
25052
- marginTop: 8
25053
- }
25054
- }]
25055
- })));
25056
- const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inProps, ref) {
25057
- const props = useDefaultProps({
25058
- props: inProps,
25059
- name: "MuiListItemIcon"
25060
- });
25061
- const {
25062
- className,
25063
- ...other
25064
- } = props;
25065
- const context = React.useContext(ListContext);
25066
- const ownerState = {
25067
- ...props,
25068
- alignItems: context.alignItems
25069
- };
25070
- const classes2 = useUtilityClasses$1f(ownerState);
25071
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
25072
- className: clsx(classes2.root, className),
25073
- ownerState,
25074
- ref,
25075
- ...other
25076
- });
25077
- });
25078
- ListItemIcon.propTypes = {
25079
- // ┌────────────────────────────── Warning ──────────────────────────────┐
25080
- // │ These PropTypes are generated from the TypeScript type definitions. │
25081
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
25082
- // └─────────────────────────────────────────────────────────────────────┘
25083
- /**
25084
- * The content of the component, normally `Icon`, `SvgIcon`,
25085
- * or a `@mui/icons-material` SVG icon element.
25086
- */
25087
- children: PropTypes.node,
25088
- /**
25089
- * Override or extend the styles applied to the component.
25090
- */
25091
- classes: PropTypes.object,
25092
- /**
25093
- * @ignore
25094
- */
25095
- className: PropTypes.string,
25096
- /**
25097
- * The system prop that allows defining system overrides as well as additional CSS styles.
25098
- */
25099
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
25100
- };
25101
25101
  function getMenuItemUtilityClass(slot) {
25102
25102
  return generateUtilityClass("MuiMenuItem", slot);
25103
25103
  }
@@ -37601,6 +37601,9 @@ const LeakAdd = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
37601
37601
  const Warning = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
37602
37602
  d: "M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"
37603
37603
  }), "Warning");
37604
+ const Palette = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
37605
+ d: "M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"
37606
+ }), "Palette");
37604
37607
  const reactMajor = parseInt(React.version, 10);
37605
37608
  const forwardRef = (render) => {
37606
37609
  if (reactMajor >= 19) {
@@ -64868,12 +64871,14 @@ export {
64868
64871
  Link as LinkIcon,
64869
64872
  List$1 as List,
64870
64873
  ListItem,
64874
+ ListItemIcon,
64871
64875
  ListItemText,
64872
64876
  ListSubheader,
64873
64877
  MenuItem,
64874
64878
  MenuList,
64875
64879
  MoreVert,
64876
64880
  NativeSelect,
64881
+ Palette,
64877
64882
  Paper,
64878
64883
  Popper$2 as Popper,
64879
64884
  Popper as PopperV4,
@@ -30,6 +30,7 @@ export { default as List } from "@mui/material/List";
30
30
  export { default as ListSubheader } from "@mui/material/ListSubheader";
31
31
  export { default as ListItem } from "@mui/material/ListItem";
32
32
  export { default as ListItemText } from "@mui/material/ListItemText";
33
+ export { default as ListItemIcon } from "@mui/material/ListItemIcon";
33
34
  export { default as MenuList } from "@mui/material/MenuList";
34
35
  export { default as MenuItem } from "@mui/material/MenuItem";
35
36
  export { default as NativeSelect } from "@mui/material/NativeSelect";
@@ -91,6 +92,7 @@ export { default as Storage } from "@mui/icons-material/Storage";
91
92
  export { default as ViewCompact } from "@mui/icons-material/ViewCompact";
92
93
  export { default as LeakAdd } from "@mui/icons-material/LeakAdd";
93
94
  export { default as Warning } from "@mui/icons-material/Warning";
95
+ export { default as Palette } from "@mui/icons-material/Palette";
94
96
  export { DataGrid } from "@mui/x-data-grid/DataGrid";
95
97
  export { Popper as PopperV4 } from "./Popper.js";
96
98
  export { ScopedGlobalStyles } from "./ScopedGlobalStyles.js";
package/dist-tsc/index.js CHANGED
@@ -43,6 +43,7 @@ export { default as List } from '@mui/material/List';
43
43
  export { default as ListSubheader } from '@mui/material/ListSubheader';
44
44
  export { default as ListItem } from '@mui/material/ListItem';
45
45
  export { default as ListItemText } from '@mui/material/ListItemText';
46
+ export { default as ListItemIcon } from '@mui/material/ListItemIcon';
46
47
  export { default as MenuList } from '@mui/material/MenuList';
47
48
  export { default as MenuItem } from '@mui/material/MenuItem';
48
49
  export { default as NativeSelect } from '@mui/material/NativeSelect';
@@ -105,6 +106,7 @@ export { default as Storage } from '@mui/icons-material/Storage';
105
106
  export { default as ViewCompact } from '@mui/icons-material/ViewCompact';
106
107
  export { default as LeakAdd } from '@mui/icons-material/LeakAdd';
107
108
  export { default as Warning } from '@mui/icons-material/Warning';
109
+ export { default as Palette } from '@mui/icons-material/Palette';
108
110
  // Data Grid
109
111
  export { DataGrid } from '@mui/x-data-grid/DataGrid';
110
112
  // Local exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/styles",
3
- "version": "3.8.13",
3
+ "version": "3.9.0",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -49,6 +49,7 @@ export { default as List } from '@mui/material/List';
49
49
  export { default as ListSubheader } from '@mui/material/ListSubheader';
50
50
  export { default as ListItem } from '@mui/material/ListItem';
51
51
  export { default as ListItemText } from '@mui/material/ListItemText';
52
+ export { default as ListItemIcon } from '@mui/material/ListItemIcon';
52
53
  export { default as MenuList } from '@mui/material/MenuList';
53
54
  export { default as MenuItem } from '@mui/material/MenuItem';
54
55
  export { default as NativeSelect } from '@mui/material/NativeSelect';
@@ -112,6 +113,7 @@ export { default as Storage } from '@mui/icons-material/Storage';
112
113
  export { default as ViewCompact } from '@mui/icons-material/ViewCompact';
113
114
  export { default as LeakAdd } from '@mui/icons-material/LeakAdd';
114
115
  export { default as Warning } from '@mui/icons-material/Warning';
116
+ export { default as Palette } from '@mui/icons-material/Palette';
115
117
 
116
118
  // Data Grid
117
119
  export { DataGrid } from '@mui/x-data-grid/DataGrid';