@uniformdev/design-system 20.71.0 → 20.71.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/dist/esm/index.js CHANGED
@@ -690,15 +690,19 @@ var AsideAndSectionLayoutContainer = (withSidebar) => css5`
690
690
  margin-left: ${withSidebar ? 0 : "var(--spacing-sm)"};
691
691
 
692
692
  ${mq("md")} {
693
- grid-template-columns: ${withSidebar ? "fit-content(25%) 1fr" : "1fr"};
693
+ /* 260px floor (usable sidebar) with a fixed 25% cap so long item names truncate instead of expanding the column. */
694
+ grid-template-columns: ${withSidebar ? "minmax(260px, 25%) 1fr" : "1fr"};
694
695
  }
695
696
  `;
696
697
  var AsideAndSectionLayoutAsideStyles = css5`
697
698
  order: 1;
698
699
  padding: var(--spacing-base) 0 var(--spacing-base) var(--spacing-base);
700
+ min-width: 0;
701
+ overflow: hidden;
699
702
 
700
703
  ${mq("md")} {
701
704
  order: 0;
705
+ min-width: 260px;
702
706
  }
703
707
  `;
704
708
  var AsideAndSectionLayoutSectionStyles = css5`
@@ -707,7 +711,8 @@ var AsideAndSectionLayoutSectionStyles = css5`
707
711
  padding: var(--spacing-lg);
708
712
  height: 100%;
709
713
  position: relative;
710
- overflow: hidden;
714
+ overflow-y: auto;
715
+ ${scrollbarStyles}
711
716
  `;
712
717
  var AsideAndSectionLayoutSectionScrollable = css5`
713
718
  overflow: auto;
@@ -13228,6 +13233,7 @@ var ObjectGridItem2 = ({
13228
13233
  {
13229
13234
  css: [ObjectGridItem, props.onClick ? ObjectGridWithOnClick : void 0],
13230
13235
  "aria-selected": isSelected,
13236
+ "data-object-grid-item": true,
13231
13237
  ...props,
13232
13238
  children: [
13233
13239
  /* @__PURE__ */ jsx112("div", { css: ObjectGridItemMediaWrapper, children: /* @__PURE__ */ jsx112(
package/dist/index.d.mts CHANGED
@@ -3750,7 +3750,7 @@ declare const ObjectGridItemCardCover: (props: ObjectGridItemCardCoverProps) =>
3750
3750
  type ObjectGridItemCoverProps = {
3751
3751
  /** Slot positioned at the top-left of the cover (e.g. a selection checkbox). */
3752
3752
  coverSlotLeft?: React.ReactNode;
3753
- /** Slot positioned at the top-right of the cover (e.g. a favourite icon). */
3753
+ /** Slot positioned at the top-right of the cover (e.g. a favorite icon). */
3754
3754
  coverSlotRight?: React.ReactNode;
3755
3755
  /** Slot positioned at the bottom-left of the cover. */
3756
3756
  coverSlotBottomLeft?: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -3750,7 +3750,7 @@ declare const ObjectGridItemCardCover: (props: ObjectGridItemCardCoverProps) =>
3750
3750
  type ObjectGridItemCoverProps = {
3751
3751
  /** Slot positioned at the top-left of the cover (e.g. a selection checkbox). */
3752
3752
  coverSlotLeft?: React.ReactNode;
3753
- /** Slot positioned at the top-right of the cover (e.g. a favourite icon). */
3753
+ /** Slot positioned at the top-right of the cover (e.g. a favorite icon). */
3754
3754
  coverSlotRight?: React.ReactNode;
3755
3755
  /** Slot positioned at the bottom-left of the cover. */
3756
3756
  coverSlotBottomLeft?: React.ReactNode;
package/dist/index.js CHANGED
@@ -2411,15 +2411,19 @@ var AsideAndSectionLayoutContainer = (withSidebar) => import_react6.css`
2411
2411
  margin-left: ${withSidebar ? 0 : "var(--spacing-sm)"};
2412
2412
 
2413
2413
  ${mq("md")} {
2414
- grid-template-columns: ${withSidebar ? "fit-content(25%) 1fr" : "1fr"};
2414
+ /* 260px floor (usable sidebar) with a fixed 25% cap so long item names truncate instead of expanding the column. */
2415
+ grid-template-columns: ${withSidebar ? "minmax(260px, 25%) 1fr" : "1fr"};
2415
2416
  }
2416
2417
  `;
2417
2418
  var AsideAndSectionLayoutAsideStyles = import_react6.css`
2418
2419
  order: 1;
2419
2420
  padding: var(--spacing-base) 0 var(--spacing-base) var(--spacing-base);
2421
+ min-width: 0;
2422
+ overflow: hidden;
2420
2423
 
2421
2424
  ${mq("md")} {
2422
2425
  order: 0;
2426
+ min-width: 260px;
2423
2427
  }
2424
2428
  `;
2425
2429
  var AsideAndSectionLayoutSectionStyles = import_react6.css`
@@ -2428,7 +2432,8 @@ var AsideAndSectionLayoutSectionStyles = import_react6.css`
2428
2432
  padding: var(--spacing-lg);
2429
2433
  height: 100%;
2430
2434
  position: relative;
2431
- overflow: hidden;
2435
+ overflow-y: auto;
2436
+ ${scrollbarStyles}
2432
2437
  `;
2433
2438
  var AsideAndSectionLayoutSectionScrollable = import_react6.css`
2434
2439
  overflow: auto;
@@ -15196,6 +15201,7 @@ var ObjectGridItem2 = ({
15196
15201
  {
15197
15202
  css: [ObjectGridItem, props.onClick ? ObjectGridWithOnClick : void 0],
15198
15203
  "aria-selected": isSelected,
15204
+ "data-object-grid-item": true,
15199
15205
  ...props,
15200
15206
  children: [
15201
15207
  /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { css: ObjectGridItemMediaWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "20.71.0",
3
+ "version": "20.71.1",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "exports": {
@@ -34,8 +34,8 @@
34
34
  "@storybook/react-vite": "10.4.6",
35
35
  "@types/react": "19.2.17",
36
36
  "@types/react-dom": "19.2.3",
37
- "@uniformdev/canvas": "^20.71.0",
38
- "@uniformdev/richtext": "^20.71.0",
37
+ "@uniformdev/canvas": "^20.71.1",
38
+ "@uniformdev/richtext": "^20.71.1",
39
39
  "autoprefixer": "10.5.0",
40
40
  "hygen": "6.2.11",
41
41
  "jsdom": "29.1.1",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "9b3f5e3fa27b275c00cc252da7ed72913464cce6"
85
+ "gitHead": "61da3b98665928e0cef764fb9ae78d25ca558085"
86
86
  }