@gnist/design-system 3.9.1 → 3.9.2
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/CHANGELOG.md +7 -0
- package/dist/components/actions/selectionControls/shared.cjs +11 -1
- package/dist/components/actions/selectionControls/shared.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/shared.js +11 -1
- package/dist/components/surfaces/cards/internal/SelectionCard.cjs +2 -1
- package/dist/components/surfaces/cards/internal/SelectionCard.d.ts.map +1 -1
- package/dist/components/surfaces/cards/internal/SelectionCard.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.9.2](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@3.9.1...@gnist/design-system@3.9.2) (2025-09-03)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* adjust styling on selection controls description ([ff1630a](https://github.com/mollerdigital/design-system-design-system/commit/ff1630ac81e6bbd5b71e525e6a70d7942084b0a3))
|
|
11
|
+
* align description with label on RadioCard and CheckboxCard ([f0e7906](https://github.com/mollerdigital/design-system-design-system/commit/f0e7906f40485f4fcada607d9a27a1586615e448))
|
|
12
|
+
|
|
6
13
|
## [3.9.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@3.9.0...@gnist/design-system@3.9.1) (2025-09-02)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @gnist/design-system
|
|
@@ -6,11 +6,21 @@ const InputHelperText = require("../../../building-blocks/inputs/InputHelperText
|
|
|
6
6
|
const Column = require("../../../utilities/layout/Column.cjs");
|
|
7
7
|
require("../../../utilities/layout/Row.cjs");
|
|
8
8
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
9
|
+
require("../../../foundation/iconography/ExtraIconsProvider.cjs");
|
|
10
|
+
require("../../../foundation/iconography/IconVariantProvider.cjs");
|
|
11
|
+
require("../../../foundation/iconography/icons.cjs");
|
|
12
|
+
require("../../../foundation/iconography/Icon.cjs");
|
|
13
|
+
const index = require("../../../foundation/typography/index.cjs");
|
|
14
|
+
require("react");
|
|
15
|
+
require("classnames");
|
|
16
|
+
require("../../../foundation/logos/Logo.css.cjs");
|
|
9
17
|
const HelperTextWrapper = ({ children, id, validity, reserveSpaceForMessage, helperText }) => {
|
|
10
18
|
return jsxRuntime.jsxs(Column.Column, { className: atoms_css_js.atoms({ position: "relative" }), children: [children, jsxRuntime.jsx(InputHelperText.InputHelperText, { className: atoms_css_js.atoms({ marginLeft: "base" }), id, helperText, validity, reserveSpaceForMessage })] });
|
|
11
19
|
};
|
|
12
20
|
const SelectionDescription = ({ disabled, children }) => {
|
|
13
|
-
return jsxRuntime.jsx("div",
|
|
21
|
+
return jsxRuntime.jsx(index.DetailText, { "$as": "div", className: disabled ? atoms_css_js.atoms({
|
|
22
|
+
color: "on-disabled"
|
|
23
|
+
}) : void 0, children });
|
|
14
24
|
};
|
|
15
25
|
exports.HelperTextWrapper = HelperTextWrapper;
|
|
16
26
|
exports.SelectionDescription = SelectionDescription;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/shared.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/shared.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAK/E,MAAM,WAAW,qBAAqB,CAAC,MAAM,CACzC,SAAQ,IAAI,CACJ,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,IAAI,CACnE,EACD,gBAAgB,CAAC,MAAM,CAAC,EACxB,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO,CAAC;CAC3E;AAED,UAAU,sBAAuB,SAAQ,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;IAC1E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmB9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,4BAG9B;IACC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,4CAeA,CAAC"}
|
|
@@ -4,11 +4,21 @@ import { InputHelperText } from "../../../building-blocks/inputs/InputHelperText
|
|
|
4
4
|
import { Column } from "../../../utilities/layout/Column.js";
|
|
5
5
|
import "../../../utilities/layout/Row.js";
|
|
6
6
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
7
|
+
import "../../../foundation/iconography/ExtraIconsProvider.js";
|
|
8
|
+
import "../../../foundation/iconography/IconVariantProvider.js";
|
|
9
|
+
import "../../../foundation/iconography/icons.js";
|
|
10
|
+
import "../../../foundation/iconography/Icon.js";
|
|
11
|
+
import { DetailText } from "../../../foundation/typography/index.js";
|
|
12
|
+
import "react";
|
|
13
|
+
import "classnames";
|
|
14
|
+
import "../../../foundation/logos/Logo.css.js";
|
|
7
15
|
const HelperTextWrapper = ({ children, id, validity, reserveSpaceForMessage, helperText }) => {
|
|
8
16
|
return jsxs(Column, { className: atoms({ position: "relative" }), children: [children, jsx(InputHelperText, { className: atoms({ marginLeft: "base" }), id, helperText, validity, reserveSpaceForMessage })] });
|
|
9
17
|
};
|
|
10
18
|
const SelectionDescription = ({ disabled, children }) => {
|
|
11
|
-
return jsx("div",
|
|
19
|
+
return jsx(DetailText, { "$as": "div", className: disabled ? atoms({
|
|
20
|
+
color: "on-disabled"
|
|
21
|
+
}) : void 0, children });
|
|
12
22
|
};
|
|
13
23
|
export {
|
|
14
24
|
HelperTextWrapper,
|
|
@@ -21,6 +21,7 @@ const RectangularSkeleton = require("../../../../building-blocks/skeletons/Recta
|
|
|
21
21
|
require("../../../../utilities/layout/Column.cjs");
|
|
22
22
|
const Row = require("../../../../utilities/layout/Row.cjs");
|
|
23
23
|
const SelectionCard_css = require("./SelectionCard.css.cjs");
|
|
24
|
+
const shared_css = require("../../../actions/selectionControls/shared.css.cjs");
|
|
24
25
|
const SelectionCardLoader = ({ type, density }) => jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(Row.Row, { gap: "base", verticalAlign: "baseline", children: [jsxRuntime.jsx(RectangularSkeleton.RectangularSkeleton, { className: SelectionCard_css.SelectionControlSkeletonRecipe({ type }) }), jsxRuntime.jsx(TextSkeleton.TextSkeleton, {})] }), jsxRuntime.jsx("div", { children: jsxRuntime.jsx(CardDescription, { density, children: jsxRuntime.jsx(TextSkeleton.TextSkeleton, {}) }) })] });
|
|
25
26
|
const CardDescription = componentUtils.component("CardDescription", SelectionCard_css.cardDescription, "span");
|
|
26
27
|
const SelectionCardContent = ({ description, value, density, children }) => {
|
|
@@ -28,7 +29,7 @@ const SelectionCardContent = ({ description, value, density, children }) => {
|
|
|
28
29
|
if (!(description || children)) {
|
|
29
30
|
return null;
|
|
30
31
|
}
|
|
31
|
-
return jsxRuntime.
|
|
32
|
+
return jsxRuntime.jsxs("div", { className: shared_css.indentedDescriptionStyle, ref: animationParent, children: [description && jsxRuntime.jsx(CardDescription, { density, children: description }), value && children && jsxRuntime.jsx(CardDescription, { density, children })] });
|
|
32
33
|
};
|
|
33
34
|
exports.SelectionCardContent = SelectionCardContent;
|
|
34
35
|
exports.SelectionCardLoader = SelectionCardLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/cards/internal/SelectionCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,gBAAgB,EAChB,QAAQ,EACX,6CAAoE;AACrE,OAAO,EAAE,gBAAgB,EAAE,+BAAwC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectionCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/cards/internal/SelectionCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,gBAAgB,EAChB,QAAQ,EACX,6CAAoE;AACrE,OAAO,EAAE,gBAAgB,EAAE,+BAAwC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOhD,MAAM,WAAW,cAAc;IAC3B,SAAS,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACvC;AAED,MAAM,MAAM,yBAAyB,GAAG,IAAI,CACxC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EACjC,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,IAAI,GAAG,IAAI,CAC5D,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACnC,+EAA+E;IAC/E,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,kBACb,SAAQ,sBAAsB,EAC1B,aAAa,CAAC,KAAK,CAAC,EACpB,cAAc,EACd,gBAAgB,CAAC,OAAO,CAAC,EACzB,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;CAAG;AAEhD,eAAO,MAAM,mBAAmB,uBAG7B;IAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAA;CAAE,GAAG,gBAAgB,4CAcnD,CAAC;AAIF,eAAO,MAAM,oBAAoB,+CAK9B,IAAI,CACH,kBAAkB,EAClB,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CACnD,mDAiBA,CAAC"}
|
|
@@ -19,6 +19,7 @@ import { RectangularSkeleton } from "../../../../building-blocks/skeletons/Recta
|
|
|
19
19
|
import "../../../../utilities/layout/Column.js";
|
|
20
20
|
import { Row } from "../../../../utilities/layout/Row.js";
|
|
21
21
|
import { cardDescription, SelectionControlSkeletonRecipe } from "./SelectionCard.css.js";
|
|
22
|
+
import { indentedDescriptionStyle } from "../../../actions/selectionControls/shared.css.js";
|
|
22
23
|
const SelectionCardLoader = ({ type, density }) => jsxs(Fragment, { children: [jsxs(Row, { gap: "base", verticalAlign: "baseline", children: [jsx(RectangularSkeleton, { className: SelectionControlSkeletonRecipe({ type }) }), jsx(TextSkeleton, {})] }), jsx("div", { children: jsx(CardDescription, { density, children: jsx(TextSkeleton, {}) }) })] });
|
|
23
24
|
const CardDescription = component("CardDescription", cardDescription, "span");
|
|
24
25
|
const SelectionCardContent = ({ description, value, density, children }) => {
|
|
@@ -26,7 +27,7 @@ const SelectionCardContent = ({ description, value, density, children }) => {
|
|
|
26
27
|
if (!(description || children)) {
|
|
27
28
|
return null;
|
|
28
29
|
}
|
|
29
|
-
return
|
|
30
|
+
return jsxs("div", { className: indentedDescriptionStyle, ref: animationParent, children: [description && jsx(CardDescription, { density, children: description }), value && children && jsx(CardDescription, { density, children })] });
|
|
30
31
|
};
|
|
31
32
|
export {
|
|
32
33
|
SelectionCardContent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnist/design-system",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"optional": true
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "4af19b3d032a1c21e560a7ea90dbffcd1e1db250"
|
|
106
106
|
}
|