@abgov/jsonforms-components 2.22.0 → 2.22.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/index.esm.js
CHANGED
|
@@ -5193,7 +5193,7 @@ let _$9 = t => t,
|
|
|
5193
5193
|
_t2$6,
|
|
5194
5194
|
_t3$5,
|
|
5195
5195
|
_t4$5,
|
|
5196
|
-
_t5$
|
|
5196
|
+
_t5$5,
|
|
5197
5197
|
_t6$3,
|
|
5198
5198
|
_t7$2,
|
|
5199
5199
|
_t8$2;
|
|
@@ -5220,7 +5220,7 @@ const PageReviewNameCol = styled.td(_t4$5 || (_t4$5 = _$9`
|
|
|
5220
5220
|
padding-bottom: var(--goa-space-s);
|
|
5221
5221
|
padding-right: var(--goa-space-m);
|
|
5222
5222
|
`));
|
|
5223
|
-
const PageReviewValueCol = styled.td(_t5$
|
|
5223
|
+
const PageReviewValueCol = styled.td(_t5$5 || (_t5$5 = _$9`
|
|
5224
5224
|
width: 20%;
|
|
5225
5225
|
text-align: left;
|
|
5226
5226
|
`));
|
|
@@ -5461,7 +5461,8 @@ let _$8 = t => t,
|
|
|
5461
5461
|
_t$8,
|
|
5462
5462
|
_t2$5,
|
|
5463
5463
|
_t3$4,
|
|
5464
|
-
_t4$4
|
|
5464
|
+
_t4$4,
|
|
5465
|
+
_t5$4;
|
|
5465
5466
|
const GoADropdownTextbox = styled.div(_t$8 || (_t$8 = _$8`
|
|
5466
5467
|
border-radius: var(--goa-space-2xs);
|
|
5467
5468
|
box-shadow: ${0};
|
|
@@ -5534,6 +5535,9 @@ const GoADropdownListOption = styled.div(_t4$4 || (_t4$4 = _$8`
|
|
|
5534
5535
|
color: ${0};
|
|
5535
5536
|
}
|
|
5536
5537
|
`), p => p.isSelected ? '#fff' : 'var(--goa-color-greyscale-black)', p => p.isSelected ? 'var(--goa-color-interactive-default)' : '#fff', p => p.isSelected ? 'var(--goa-color-interactive-hover)' : 'var(--goa-color-greyscale-100) !important', p => p.isSelected ? 'var(--goa-color-interactive-default)' : 'var(--goa-color-interactive-hover) !important', p => p.isSelected ? 'var(--goa-color-interactive-hover)' : 'var(--goa-color-greyscale-100) !important', p => p.isSelected ? 'var(--goa-color-interactive-default)' : 'var(--goa-color-interactive-hover) !important', p => p.isSelected ? 'var(--goa-color-interactive-hover)' : 'var(--goa-color-greyscale-100) !important', p => p.isSelected ? 'var(--goa-color-interactive-hover)' : 'var(--goa-color-greyscale-100) !important', p => p.isSelected ? '#fff' : 'var(--goa-color-interactive-hover) !important');
|
|
5538
|
+
const LabelItem = styled.span(_t5$4 || (_t5$4 = _$8`
|
|
5539
|
+
font: var(--goa-dropdown-typography);
|
|
5540
|
+
`));
|
|
5537
5541
|
|
|
5538
5542
|
const isValidKey = keyCode => {
|
|
5539
5543
|
if (keyCode === SHIFT_KEY || keyCode === ALT_KEY) return false;
|
|
@@ -5766,7 +5770,9 @@ const Dropdown = props => {
|
|
|
5766
5770
|
onClick: e => {
|
|
5767
5771
|
updateDropDownData(item);
|
|
5768
5772
|
},
|
|
5769
|
-
children:
|
|
5773
|
+
children: jsx(LabelItem, {
|
|
5774
|
+
children: item.label
|
|
5775
|
+
})
|
|
5770
5776
|
}, `${PREFIX}-${label}-${item.value}`)
|
|
5771
5777
|
}, `${PREFIX}-option-${label}-${item.value}`);
|
|
5772
5778
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.1",
|
|
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",
|
|
@@ -3,3 +3,4 @@ export declare const GoADropdownTextbox: import("styled-components/dist/types").
|
|
|
3
3
|
export declare const GoADropdownListContainerWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, GoADropdownListContainerWrapperProps>> & string;
|
|
4
4
|
export declare const GoADropdownListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, GoADropdownListContainerProps>> & string;
|
|
5
5
|
export declare const GoADropdownListOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, GoADropdownListOptionProps>> & string;
|
|
6
|
+
export declare const LabelItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|