@digital-ai/dot-components 3.11.0 → 3.11.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.
Files changed (2) hide show
  1. package/index.esm.js +16 -11
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -9875,16 +9875,16 @@ const StyledDashboardDetails = styled(DotDrawer)`
9875
9875
  }
9876
9876
  .dot-card {
9877
9877
  border: none;
9878
+ padding: ${theme.spacing(0, 2)};
9878
9879
 
9879
9880
  .dot-card-header {
9880
9881
  padding: ${theme.spacing(2, 1, 0, 0)};
9881
9882
  }
9882
9883
  .dot-card-content {
9883
- padding: ${theme.spacing(0, 2, 3, 2)};
9884
+ padding: ${theme.spacing(0, 0, 3, 0)};
9884
9885
  }
9885
9886
  }
9886
9887
  .content {
9887
- padding: ${theme.spacing(0, 2, 1, 2)};
9888
9888
  overflow-y: auto;
9889
9889
  }
9890
9890
  .dot-avatar {
@@ -9893,10 +9893,11 @@ const StyledDashboardDetails = styled(DotDrawer)`
9893
9893
  .section-title {
9894
9894
  display: flex;
9895
9895
  align-items: center;
9896
- padding: ${theme.spacing(2, 0, 2, 2)};
9897
- margin: ${theme.spacing(2, -2, 0)};
9896
+ padding: ${theme.spacing(2)};
9897
+ }
9898
+ .section-title-border {
9899
+ margin: ${theme.spacing(1, -2, 0)};
9898
9900
  border-bottom: 1px solid ${theme.palette.figma.border.default};
9899
- font-weight: normal;
9900
9901
  }
9901
9902
  .dot-icon {
9902
9903
  flex-basis: content;
@@ -9956,12 +9957,16 @@ const DashboardDetailsSectionHeading = ({
9956
9957
  if (className) {
9957
9958
  c += ` ${className}`;
9958
9959
  }
9959
- return jsx(DotTypography, {
9960
- ariaRole: "heading",
9961
- className: c,
9962
- component: "div",
9963
- variant: "subtitle1",
9964
- children: label
9960
+ return jsx("div", {
9961
+ className: "section-title-border",
9962
+ children: jsx(DotTypography, {
9963
+ ariaRole: "heading",
9964
+ ariaLevel: 2,
9965
+ className: c,
9966
+ component: "div",
9967
+ variant: "body1",
9968
+ children: label
9969
+ })
9965
9970
  });
9966
9971
  };
9967
9972
  const DotDashboardDetailsView = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [