@gnist/design-system 0.1.3 → 0.1.5
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
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
## [0.1.5](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@0.1.4...@gnist/design-system@0.1.5) (2024-11-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add NODE_ENV in dockerfile for gnist web app ([f83c382](https://github.com/mollerdigital/design-system-design-system/commit/f83c3823eab280a6f5331e1cba516e431ce3815c))
|
|
11
|
+
|
|
12
|
+
## [0.1.4](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@0.1.3...@gnist/design-system@0.1.4) (2024-11-22)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* include node_modules to docker container for gnist web app ([d42aab9](https://github.com/mollerdigital/design-system-design-system/commit/d42aab9ee1f0c2677089e8e1e7fea491c31c1426))
|
|
17
|
+
|
|
6
18
|
## [0.1.3](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@0.1.2...@gnist/design-system@0.1.3) (2024-11-22)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
|
@@ -5,7 +5,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
5
5
|
const componentUtils = require("@gnist/component-utils");
|
|
6
6
|
const dynamic = require("@vanilla-extract/dynamic");
|
|
7
7
|
const ProgressBar_css = require("./ProgressBar.css.cjs");
|
|
8
|
-
const
|
|
8
|
+
const tokens_css_js = require("@gnist/themes/tokens.css.js");
|
|
9
|
+
const ProgressBarComponent = ({ color = tokens_css_js.tokens.color.primary, percentage, animateOnChange = false, size = "medium", ...delegated }) => {
|
|
9
10
|
if (percentage < 0 || percentage > 100) {
|
|
10
11
|
throw new Error("The value of the progress bar must be a number between 0 and 100.");
|
|
11
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/progress/ProgressBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/progress/ProgressBar.tsx"],"names":[],"mappings":"AAUA,UAAU,gBAAgB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA0C3D,CAAC;AAEF,eAAO,MAAM,WAAW,sHAIvB,CAAC"}
|
|
@@ -3,7 +3,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { component } from "@gnist/component-utils";
|
|
4
4
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
5
5
|
import { progressBarStyles, progressBar, progressAnimation, progressPercentage } from "./ProgressBar.css.js";
|
|
6
|
-
|
|
6
|
+
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
7
|
+
const ProgressBarComponent = ({ color = tokens.color.primary, percentage, animateOnChange = false, size = "medium", ...delegated }) => {
|
|
7
8
|
if (percentage < 0 || percentage > 100) {
|
|
8
9
|
throw new Error("The value of the progress bar must be a number between 0 and 100.");
|
|
9
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnist/design-system",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"optional": true
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "f0b8b948fe91d0e5e215f6da61f1fb81dac199e5"
|
|
117
117
|
}
|