@uniformdev/design-system 20.50.2-alpha.167 → 20.50.2-alpha.180

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,7 +690,8 @@ var AsideAndSectionLayoutContainer = (withSidebar) => css5`
690
690
  margin-left: ${withSidebar ? 0 : "var(--spacing-sm)"};
691
691
 
692
692
  ${mq("md")} {
693
- grid-template-columns: ${withSidebar ? "minmax(0, 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`
@@ -701,6 +702,7 @@ var AsideAndSectionLayoutAsideStyles = css5`
701
702
 
702
703
  ${mq("md")} {
703
704
  order: 0;
705
+ min-width: 260px;
704
706
  }
705
707
  `;
706
708
  var AsideAndSectionLayoutSectionStyles = css5`
@@ -709,7 +711,8 @@ var AsideAndSectionLayoutSectionStyles = css5`
709
711
  padding: var(--spacing-lg);
710
712
  height: 100%;
711
713
  position: relative;
712
- overflow: hidden;
714
+ overflow-y: auto;
715
+ ${scrollbarStyles}
713
716
  `;
714
717
  var AsideAndSectionLayoutSectionScrollable = css5`
715
718
  overflow: auto;
@@ -7601,38 +7604,18 @@ var Link = React13.forwardRef(
7601
7604
  );
7602
7605
  Link.displayName = "Link";
7603
7606
  var LinkWithRef = React13.forwardRef(
7604
- ({
7605
- linkManagerComponent: LinkManager,
7606
- href,
7607
- as,
7608
- onClick,
7609
- external,
7610
- linkColor = "default",
7611
- children,
7612
- text,
7613
- ...props
7614
- }, ref) => {
7615
- const externalAttrs = external ? {
7616
- target: "_blank",
7617
- rel: "noreferrer noopener"
7618
- } : {};
7619
- return /* @__PURE__ */ jsxs37(
7620
- LinkManager,
7621
- {
7622
- ...props,
7623
- ...externalAttrs,
7624
- as,
7625
- href,
7626
- ref,
7627
- css: [link, textColor[linkColor]],
7628
- onClick,
7629
- children: [
7630
- text != null ? text : children,
7631
- external ? /* @__PURE__ */ jsx55(Icon, { icon: CgExternal, iconColor: "currentColor", size: 20 }) : null
7632
- ]
7633
- }
7634
- );
7635
- }
7607
+ ({ linkManagerComponent: LinkManager, href, as, onClick, linkColor = "default", children, text, ...props }, ref) => /* @__PURE__ */ jsx55(
7608
+ LinkManager,
7609
+ {
7610
+ ...props,
7611
+ as,
7612
+ href,
7613
+ ref,
7614
+ css: [link, textColor[linkColor]],
7615
+ onClick,
7616
+ children: text != null ? text : children
7617
+ }
7618
+ )
7636
7619
  );
7637
7620
  LinkWithRef.displayName = "LinkWithRef";
7638
7621
 
@@ -8339,6 +8322,11 @@ var FilterChip = css49`
8339
8322
  &[aria-selected='true'] {
8340
8323
  border-color: var(--accent-dark);
8341
8324
  }
8325
+
8326
+ &:disabled {
8327
+ cursor: not-allowed;
8328
+ opacity: var(--opacity-50);
8329
+ }
8342
8330
  `;
8343
8331
  var FilterChipDropdown = css49`
8344
8332
  padding: var(--input-padding);
@@ -13205,6 +13193,7 @@ var ObjectGridItem2 = ({
13205
13193
  {
13206
13194
  css: [ObjectGridItem, props.onClick ? ObjectGridWithOnClick : void 0],
13207
13195
  "aria-selected": isSelected,
13196
+ "data-object-grid-item": true,
13208
13197
  ...props,
13209
13198
  children: [
13210
13199
  /* @__PURE__ */ jsx112("div", { css: ObjectGridItemMediaWrapper, children: /* @__PURE__ */ jsx112(
package/dist/index.d.mts CHANGED
@@ -3748,7 +3748,7 @@ declare const ObjectGridItemCardCover: (props: ObjectGridItemCardCoverProps) =>
3748
3748
  type ObjectGridItemCoverProps = {
3749
3749
  /** Slot positioned at the top-left of the cover (e.g. a selection checkbox). */
3750
3750
  coverSlotLeft?: React.ReactNode;
3751
- /** Slot positioned at the top-right of the cover (e.g. a favourite icon). */
3751
+ /** Slot positioned at the top-right of the cover (e.g. a favorite icon). */
3752
3752
  coverSlotRight?: React.ReactNode;
3753
3753
  /** Slot positioned at the bottom-left of the cover. */
3754
3754
  coverSlotBottomLeft?: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -3748,7 +3748,7 @@ declare const ObjectGridItemCardCover: (props: ObjectGridItemCardCoverProps) =>
3748
3748
  type ObjectGridItemCoverProps = {
3749
3749
  /** Slot positioned at the top-left of the cover (e.g. a selection checkbox). */
3750
3750
  coverSlotLeft?: React.ReactNode;
3751
- /** Slot positioned at the top-right of the cover (e.g. a favourite icon). */
3751
+ /** Slot positioned at the top-right of the cover (e.g. a favorite icon). */
3752
3752
  coverSlotRight?: React.ReactNode;
3753
3753
  /** Slot positioned at the bottom-left of the cover. */
3754
3754
  coverSlotBottomLeft?: React.ReactNode;
package/dist/index.js CHANGED
@@ -2410,7 +2410,8 @@ var AsideAndSectionLayoutContainer = (withSidebar) => import_react6.css`
2410
2410
  margin-left: ${withSidebar ? 0 : "var(--spacing-sm)"};
2411
2411
 
2412
2412
  ${mq("md")} {
2413
- grid-template-columns: ${withSidebar ? "minmax(0, 25%) 1fr" : "1fr"};
2413
+ /* 260px floor (usable sidebar) with a fixed 25% cap so long item names truncate instead of expanding the column. */
2414
+ grid-template-columns: ${withSidebar ? "minmax(260px, 25%) 1fr" : "1fr"};
2414
2415
  }
2415
2416
  `;
2416
2417
  var AsideAndSectionLayoutAsideStyles = import_react6.css`
@@ -2421,6 +2422,7 @@ var AsideAndSectionLayoutAsideStyles = import_react6.css`
2421
2422
 
2422
2423
  ${mq("md")} {
2423
2424
  order: 0;
2425
+ min-width: 260px;
2424
2426
  }
2425
2427
  `;
2426
2428
  var AsideAndSectionLayoutSectionStyles = import_react6.css`
@@ -2429,7 +2431,8 @@ var AsideAndSectionLayoutSectionStyles = import_react6.css`
2429
2431
  padding: var(--spacing-lg);
2430
2432
  height: 100%;
2431
2433
  position: relative;
2432
- overflow: hidden;
2434
+ overflow-y: auto;
2435
+ ${scrollbarStyles}
2433
2436
  `;
2434
2437
  var AsideAndSectionLayoutSectionScrollable = import_react6.css`
2435
2438
  overflow: auto;
@@ -9446,38 +9449,18 @@ var Link = React13.forwardRef(
9446
9449
  );
9447
9450
  Link.displayName = "Link";
9448
9451
  var LinkWithRef = React13.forwardRef(
9449
- ({
9450
- linkManagerComponent: LinkManager,
9451
- href,
9452
- as,
9453
- onClick,
9454
- external,
9455
- linkColor = "default",
9456
- children,
9457
- text,
9458
- ...props
9459
- }, ref) => {
9460
- const externalAttrs = external ? {
9461
- target: "_blank",
9462
- rel: "noreferrer noopener"
9463
- } : {};
9464
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
9465
- LinkManager,
9466
- {
9467
- ...props,
9468
- ...externalAttrs,
9469
- as,
9470
- href,
9471
- ref,
9472
- css: [link, textColor[linkColor]],
9473
- onClick,
9474
- children: [
9475
- text != null ? text : children,
9476
- external ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { icon: import_CgExternal2.CgExternal, iconColor: "currentColor", size: 20 }) : null
9477
- ]
9478
- }
9479
- );
9480
- }
9452
+ ({ linkManagerComponent: LinkManager, href, as, onClick, linkColor = "default", children, text, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
9453
+ LinkManager,
9454
+ {
9455
+ ...props,
9456
+ as,
9457
+ href,
9458
+ ref,
9459
+ css: [link, textColor[linkColor]],
9460
+ onClick,
9461
+ children: text != null ? text : children
9462
+ }
9463
+ )
9481
9464
  );
9482
9465
  LinkWithRef.displayName = "LinkWithRef";
9483
9466
 
@@ -10204,6 +10187,11 @@ var FilterChip = import_react76.css`
10204
10187
  &[aria-selected='true'] {
10205
10188
  border-color: var(--accent-dark);
10206
10189
  }
10190
+
10191
+ &:disabled {
10192
+ cursor: not-allowed;
10193
+ opacity: var(--opacity-50);
10194
+ }
10207
10195
  `;
10208
10196
  var FilterChipDropdown = import_react76.css`
10209
10197
  padding: var(--input-padding);
@@ -15172,6 +15160,7 @@ var ObjectGridItem2 = ({
15172
15160
  {
15173
15161
  css: [ObjectGridItem, props.onClick ? ObjectGridWithOnClick : void 0],
15174
15162
  "aria-selected": isSelected,
15163
+ "data-object-grid-item": true,
15175
15164
  ...props,
15176
15165
  children: [
15177
15166
  /* @__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.50.2-alpha.167+74e60d5bb7",
3
+ "version": "20.50.2-alpha.180+0be2307590",
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.50.2-alpha.167+74e60d5bb7",
38
- "@uniformdev/richtext": "^20.50.2-alpha.167+74e60d5bb7",
37
+ "@uniformdev/canvas": "^20.50.2-alpha.180+0be2307590",
38
+ "@uniformdev/richtext": "^20.50.2-alpha.180+0be2307590",
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": "74e60d5bb79fe1c4d446e4d3e6edf9f08850be4f"
85
+ "gitHead": "0be23075901a6fd0acd8166a2bea65fbd5589789"
86
86
  }