@abgov/jsonforms-components 2.81.5 → 2.81.6

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
@@ -12557,7 +12557,8 @@ let _$8 = t => t,
12557
12557
  _t30,
12558
12558
  _t31,
12559
12559
  _t32,
12560
- _t33;
12560
+ _t33,
12561
+ _t34;
12561
12562
  const DeleteDialogContent = styled.div(_t$9 || (_t$9 = _$8`
12562
12563
  margin-bottom: var(--goa-space-m);
12563
12564
  `));
@@ -12630,6 +12631,12 @@ const RowFlex = styled.div(_t11$1 || (_t11$1 = _$8`
12630
12631
  margin: 1.5rem 0 1.5rem 0;
12631
12632
 
12632
12633
  align-items: flex-start;
12634
+
12635
+ /* The list and detail panes need more room than a phone has, so they stack. */
12636
+ @media (max-width: 639px) {
12637
+ flex-direction: column;
12638
+ align-items: stretch;
12639
+ }
12633
12640
  `));
12634
12641
  const RowFlexMenuMain = styled.div(_t12$1 || (_t12$1 = _$8`
12635
12642
  display: flex;
@@ -12668,6 +12675,10 @@ const FlexTabs = styled.div(_t14$1 || (_t14$1 = _$8`
12668
12675
  flex-direction: column;
12669
12676
  flex: 1;
12670
12677
  overflow-y: auto !important;
12678
+
12679
+ @media (max-width: 639px) {
12680
+ flex: none;
12681
+ }
12671
12682
  `));
12672
12683
  const FlexTabsWithMargin = styled.div(_t15$1 || (_t15$1 = _$8`
12673
12684
  flex-direction: column;
@@ -12677,12 +12688,25 @@ const FlexTabsWithMargin = styled.div(_t15$1 || (_t15$1 = _$8`
12677
12688
 
12678
12689
  flex-shrink: 1;
12679
12690
  // max-height: 500px;
12691
+
12692
+ /* height overrides the desktop height ListWithDetailControl sets to match the detail pane. */
12693
+ @media (max-width: 639px) {
12694
+ flex: none;
12695
+ height: auto !important;
12696
+ margin-right: 0;
12697
+ margin-bottom: var(--goa-space-m);
12698
+ }
12680
12699
  `));
12681
12700
  const FlexForm = styled.div(_t16$1 || (_t16$1 = _$8`
12682
12701
  flex-direction: column;
12683
12702
  flex: 3;
12684
12703
  flex-shrink: 0;
12685
12704
  overflow-y: visible;
12705
+
12706
+ @media (max-width: 639px) {
12707
+ flex: none;
12708
+ min-width: 0;
12709
+ }
12686
12710
  `));
12687
12711
  const TabName = styled.div(_t17$1 || (_t17$1 = _$8`
12688
12712
  margin: 1rem 0 1rem 1rem;
@@ -12705,6 +12729,11 @@ const UpdateListContainer = styled.div(_t21$1 || (_t21$1 = _$8`
12705
12729
  width: 100%;
12706
12730
  border: 1px solid #dcdcdc;
12707
12731
  padding: var(--goa-space-xl);
12732
+
12733
+ @media (max-width: 639px) {
12734
+ box-sizing: border-box;
12735
+ padding: var(--goa-space-m);
12736
+ }
12708
12737
  `));
12709
12738
  styled.div(_t22$1 || (_t22$1 = _$8`
12710
12739
  padding: 0 1.5rem 0 0;
@@ -12767,10 +12796,14 @@ const IconsContainer = styled.div(_t31 || (_t31 = _$8`
12767
12796
  gap: var(--goa-space-xs);
12768
12797
  padding-bottom: var(--goa-space-xs);
12769
12798
  `));
12770
- const TableContentContainer = styled.div(_t32 || (_t32 = _$8`
12799
+ /* A row of inputs can't wrap, so a wide table scrolls here rather than widening the form. */
12800
+ const TableScrollContainer = styled.div(_t32 || (_t32 = _$8`
12801
+ overflow-x: auto;
12802
+ `));
12803
+ const TableContentContainer = styled.div(_t33 || (_t33 = _$8`
12771
12804
  padding: var(--goa-space-l);
12772
12805
  `));
12773
- const NoDataMessage = styled.div(_t33 || (_t33 = _$8`
12806
+ const NoDataMessage = styled.div(_t34 || (_t34 = _$8`
12774
12807
  padding: var(--goa-space-xl) var(--goa-space-l);
12775
12808
  color: var(--goa-color-greyscale-700);
12776
12809
  font: var(--goa-typography-body-m);
@@ -16320,10 +16353,12 @@ const NonEmptyRowComponent = ({
16320
16353
  children: jsx("div", {
16321
16354
  children: GenerateRows(NonEmptyCell, schema, childPath, enabled, openDeleteDialog, handleChange, cells, uischema, isInReview, count, data)
16322
16355
  })
16323
- }) : jsx(GoabContainer, {
16324
- children: jsx("div", {
16356
+ }) : jsx(TableScrollContainer, {
16357
+ children: jsx(GoabContainer, {
16325
16358
  children: jsx("div", {
16326
- children: GenerateRows(NonEmptyCell, schema, childPath, enabled, openDeleteDialog, handleChange, cells, uischema, isInReview, count, data)
16359
+ children: jsx("div", {
16360
+ children: GenerateRows(NonEmptyCell, schema, childPath, enabled, openDeleteDialog, handleChange, cells, uischema, isInReview, count, data)
16361
+ })
16327
16362
  })
16328
16363
  })
16329
16364
  }) : null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.81.5",
3
+ "version": "2.81.6",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-05T21:07:34.083Z",
4
- "sourceCommit": "f7881913f0f16c05af64964094904d1a5fe1210a",
3
+ "generatedAt": "2026-11-06T15:41:56.117Z",
4
+ "sourceCommit": "e16e5d41d6e1384f25448a09cb3e40970a2c015d",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 23,
7
7
  "renderers": [
@@ -31,5 +31,6 @@ export declare const HilightCellWarning: import("styled-components/dist/types").
31
31
  export declare const FixTableHeaderAlignment: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
32
32
  export declare const ListWithDetailsReviewCellDiv: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
33
33
  export declare const IconsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
34
+ export declare const TableScrollContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
34
35
  export declare const TableContentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
35
36
  export declare const NoDataMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;