@gnist/design-system 5.4.3 → 5.4.4
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 +6 -0
- package/dist/building-blocks/skeletons/CircularSkeleton.d.ts.map +1 -1
- package/dist/building-blocks/skeletons/TextSkeleton.cjs +1 -3
- package/dist/building-blocks/skeletons/TextSkeleton.d.ts.map +1 -1
- package/dist/building-blocks/skeletons/TextSkeleton.js +1 -3
- package/dist/components/inputs/textFields/TextArea.cjs +1 -1
- package/dist/components/inputs/textFields/TextArea.js +1 -1
- package/dist/components/inputs/textFields/TextField.cjs +0 -1
- package/dist/components/inputs/textFields/TextField.js +0 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [5.4.4](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.3...@gnist/design-system@5.4.4) (2026-02-13)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* update react-content-loader to 7.1.2 with fix for hydration errors ([5dc1b4c](https://github.com/mollerdigital/design-system-design-system/commit/5dc1b4c3d6a8e39577c0228e03d0615500ee7194))
|
|
11
|
+
|
|
6
12
|
## [5.4.3](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.2...@gnist/design-system@5.4.3) (2026-02-06)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @gnist/design-system
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/CircularSkeleton.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,qBAAqB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,+BAI9B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"CircularSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/CircularSkeleton.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,qBAAqB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,+BAI9B,qBAAqB,4CAqBvB,CAAC"}
|
|
@@ -5,15 +5,13 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
5
5
|
const Row = require("../../utilities/layout/Row.cjs");
|
|
6
6
|
const tokens_css_js = require("@gnist/themes/tokens.css.js");
|
|
7
7
|
const reactContentLoader = require("react-content-loader");
|
|
8
|
-
const React = require("react");
|
|
9
8
|
const _interopDefaultCompat = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
|
|
10
9
|
const reactContentLoader__default = /* @__PURE__ */ _interopDefaultCompat(reactContentLoader);
|
|
11
10
|
const ContentLoader = reactContentLoader__default.default;
|
|
12
11
|
const TextSkeleton = ({ className, height = "1em", width = "100%" }) => {
|
|
13
|
-
const uniqueKey = React.useId();
|
|
14
12
|
return jsxRuntime.jsx(Row.Row, { className, style: {
|
|
15
13
|
height: `calc(1em * ${tokens_css_js.tokens.typeface["line-height"]})`,
|
|
16
14
|
width
|
|
17
|
-
}, verticalAlign: "center", children: jsxRuntime.jsx(ContentLoader, {
|
|
15
|
+
}, verticalAlign: "center", children: jsxRuntime.jsx(ContentLoader, { height, width, title: "", backgroundColor: tokens_css_js.tokens.color.loader, foregroundColor: tokens_css_js.tokens.color["on-loader"], children: jsxRuntime.jsx("rect", { x: "0", y: "0", rx: "4", ry: "6.7", height, width }) }) });
|
|
18
16
|
};
|
|
19
17
|
exports.TextSkeleton = TextSkeleton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/TextSkeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/TextSkeleton.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,+BAI1B,iBAAiB,4CA6BnB,CAAC"}
|
|
@@ -3,14 +3,12 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { Row } from "../../utilities/layout/Row.js";
|
|
4
4
|
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
5
5
|
import reactContentLoader from "react-content-loader";
|
|
6
|
-
import { useId } from "react";
|
|
7
6
|
const ContentLoader = reactContentLoader;
|
|
8
7
|
const TextSkeleton = ({ className, height = "1em", width = "100%" }) => {
|
|
9
|
-
const uniqueKey = useId();
|
|
10
8
|
return jsx(Row, { className, style: {
|
|
11
9
|
height: `calc(1em * ${tokens.typeface["line-height"]})`,
|
|
12
10
|
width
|
|
13
|
-
}, verticalAlign: "center", children: jsx(ContentLoader, {
|
|
11
|
+
}, verticalAlign: "center", children: jsx(ContentLoader, { height, width, title: "", backgroundColor: tokens.color.loader, foregroundColor: tokens.color["on-loader"], children: jsx("rect", { x: "0", y: "0", rx: "4", ry: "6.7", height, width }) }) });
|
|
14
12
|
};
|
|
15
13
|
export {
|
|
16
14
|
TextSkeleton
|
|
@@ -6,12 +6,12 @@ const InputHelperText = require("../../../building-blocks/inputs/InputHelperText
|
|
|
6
6
|
require("../../../utilities/layout/Row.cjs");
|
|
7
7
|
require("@gnist/themes/tokens.css.js");
|
|
8
8
|
require("react-content-loader");
|
|
9
|
-
require("react");
|
|
10
9
|
require("../../../foundation/iconography/ExtraIconsProvider.cjs");
|
|
11
10
|
require("../../../foundation/iconography/IconVariantProvider.cjs");
|
|
12
11
|
require("../../../foundation/iconography/icons.cjs");
|
|
13
12
|
const Icon = require("../../../foundation/iconography/Icon.cjs");
|
|
14
13
|
require("../../../foundation/typography/index.cjs");
|
|
14
|
+
require("react");
|
|
15
15
|
const classNames = require("classnames");
|
|
16
16
|
require("../../../foundation/logos/Logo.css.cjs");
|
|
17
17
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
@@ -4,12 +4,12 @@ import { InputHelperText } from "../../../building-blocks/inputs/InputHelperText
|
|
|
4
4
|
import "../../../utilities/layout/Row.js";
|
|
5
5
|
import "@gnist/themes/tokens.css.js";
|
|
6
6
|
import "react-content-loader";
|
|
7
|
-
import "react";
|
|
8
7
|
import "../../../foundation/iconography/ExtraIconsProvider.js";
|
|
9
8
|
import "../../../foundation/iconography/IconVariantProvider.js";
|
|
10
9
|
import "../../../foundation/iconography/icons.js";
|
|
11
10
|
import { Icon } from "../../../foundation/iconography/Icon.js";
|
|
12
11
|
import "../../../foundation/typography/index.js";
|
|
12
|
+
import "react";
|
|
13
13
|
import classNames from "classnames";
|
|
14
14
|
import "../../../foundation/logos/Logo.css.js";
|
|
15
15
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
@@ -13,7 +13,6 @@ const InputHelperText = require("../../../building-blocks/inputs/InputHelperText
|
|
|
13
13
|
require("../../../utilities/layout/Row.cjs");
|
|
14
14
|
require("@gnist/themes/tokens.css.js");
|
|
15
15
|
require("react-content-loader");
|
|
16
|
-
require("react");
|
|
17
16
|
const iconButtonOverlay_css = require("../shared-styles/iconButtonOverlay.css.cjs");
|
|
18
17
|
const inputField_css = require("../shared-styles/inputField.css.cjs");
|
|
19
18
|
const inputFieldConstants_css = require("../shared-styles/inputFieldConstants.css.cjs");
|
|
@@ -11,7 +11,6 @@ import { InputHelperText } from "../../../building-blocks/inputs/InputHelperText
|
|
|
11
11
|
import "../../../utilities/layout/Row.js";
|
|
12
12
|
import "@gnist/themes/tokens.css.js";
|
|
13
13
|
import "react-content-loader";
|
|
14
|
-
import "react";
|
|
15
14
|
import { iconButtonOverlayRecipe } from "../shared-styles/iconButtonOverlay.css.js";
|
|
16
15
|
import { inputFieldWrapperRecipe, inputFieldStyle, inputContentWrapper, wrapperStyle } from "../shared-styles/inputField.css.js";
|
|
17
16
|
import { postInputWidth, preInputWidth } from "../shared-styles/inputFieldConstants.css.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnist/design-system",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.4",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"classnames": "^2.5.1",
|
|
59
59
|
"fp-ts": "^2.16.10",
|
|
60
60
|
"immer": "^10.1.1",
|
|
61
|
-
"react-content-loader": "^7.1.
|
|
61
|
+
"react-content-loader": "^7.1.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"optional": true
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "a969a96aa0bb6b0038752c7234f2a4002f9ddc13"
|
|
106
106
|
}
|