@doist/reactist 30.0.1 → 30.1.0
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 +18 -0
- package/dist/reactist.cjs.development.js +74 -38
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/components/progress-bar/progress-bar.js +73 -37
- package/es/components/progress-bar/progress-bar.js.map +1 -1
- package/es/components/progress-bar/progress-bar.module.css.js +1 -1
- package/es/menu/menu.js.map +1 -1
- package/lib/components/progress-bar/progress-bar.d.ts +3 -1
- package/lib/components/progress-bar/progress-bar.js +73 -37
- package/lib/components/progress-bar/progress-bar.js.map +1 -1
- package/lib/components/progress-bar/progress-bar.module.css.js +1 -1
- package/lib/menu/menu.d.ts +1 -1
- package/lib/menu/menu.js.map +1 -1
- package/package.json +1 -1
- package/styles/index.css +1 -8
- package/styles/menu.css +1 -1
- package/styles/progress-bar.module.css.css +1 -1
- package/styles/reactist.css +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [30.1.0](https://github.com/Doist/reactist/compare/v30.0.1...v30.1.0) (2026-03-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🚀 Features
|
|
7
|
+
|
|
8
|
+
* Add showScale prop to ProgressBar ([#1020](https://github.com/Doist/reactist/issues/1020)) ([1451b85](https://github.com/Doist/reactist/commit/1451b8502dd71575fdf31f0c3eaafdbe088ab77c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### 🐛 Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **ci:** use PAT for release-please to trigger CI on its PRs ([#1021](https://github.com/Doist/reactist/issues/1021)) ([c4cafbf](https://github.com/Doist/reactist/commit/c4cafbfe27cf8023bc289a551063999978f432b0))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🧰 Maintenance
|
|
17
|
+
|
|
18
|
+
* Add project conventions guide (CLAUDE.md) ([#1019](https://github.com/Doist/reactist/issues/1019)) ([c06b0bc](https://github.com/Doist/reactist/commit/c06b0bc4d6aa0f768ebadc49b0fd7fe876152d25))
|
|
19
|
+
* convert menu.less to menu.module.css ([#1007](https://github.com/Doist/reactist/issues/1007)) ([b63ce3a](https://github.com/Doist/reactist/commit/b63ce3a3a7511519e70c941345742da4677abf5d))
|
|
20
|
+
|
|
3
21
|
## [30.0.1](https://github.com/Doist/reactist/compare/v30.0.0...v30.0.1) (2026-01-26)
|
|
4
22
|
|
|
5
23
|
|
|
@@ -7021,67 +7021,103 @@ function KeyboardShortcut(_ref) {
|
|
|
7021
7021
|
}, key))))));
|
|
7022
7022
|
}
|
|
7023
7023
|
|
|
7024
|
-
var modules_a0e70af1 = {"progressBar":"
|
|
7024
|
+
var modules_a0e70af1 = {"progressBar":"_3c4a804a","inner":"e00c8a54","wrapper":"f2385919","scaleContainer":"_0cbb5ff3","ticks":"df4a8127"};
|
|
7025
7025
|
|
|
7026
7026
|
function ProgressBar(t0) {
|
|
7027
|
-
const $ = reactCompilerRuntime.c(
|
|
7027
|
+
const $ = reactCompilerRuntime.c(17);
|
|
7028
7028
|
const {
|
|
7029
7029
|
fillPercentage: t1,
|
|
7030
7030
|
className,
|
|
7031
|
-
"aria-valuetext": ariaValuetext
|
|
7031
|
+
"aria-valuetext": ariaValuetext,
|
|
7032
|
+
showScale
|
|
7032
7033
|
} = t0;
|
|
7033
7034
|
const fillPercentage = t1 === undefined ? 0 : t1;
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7035
|
+
const width = fillPercentage < 0 ? 0 : fillPercentage > 100 ? 100 : fillPercentage;
|
|
7036
|
+
const t2 = !showScale && className;
|
|
7037
|
+
let t3;
|
|
7038
|
+
if ($[0] !== t2) {
|
|
7039
|
+
t3 = classNames__default["default"](modules_a0e70af1.progressBar, t2);
|
|
7040
|
+
$[0] = t2;
|
|
7041
|
+
$[1] = t3;
|
|
7039
7042
|
} else {
|
|
7040
|
-
|
|
7043
|
+
t3 = $[1];
|
|
7041
7044
|
}
|
|
7042
|
-
const
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
if ($[2] !== t3) {
|
|
7047
|
-
t4 = /*#__PURE__*/React__namespace.createElement("div", {
|
|
7045
|
+
const t4 = `${width}%`;
|
|
7046
|
+
let t5;
|
|
7047
|
+
if ($[2] !== t4) {
|
|
7048
|
+
t5 = /*#__PURE__*/React__namespace.createElement("div", {
|
|
7048
7049
|
className: modules_a0e70af1.inner,
|
|
7049
7050
|
style: {
|
|
7050
|
-
width:
|
|
7051
|
+
width: t4
|
|
7051
7052
|
}
|
|
7052
7053
|
});
|
|
7053
|
-
$[2] =
|
|
7054
|
-
$[3] =
|
|
7054
|
+
$[2] = t4;
|
|
7055
|
+
$[3] = t5;
|
|
7055
7056
|
} else {
|
|
7056
|
-
|
|
7057
|
+
t5 = $[3];
|
|
7057
7058
|
}
|
|
7058
|
-
const
|
|
7059
|
-
let
|
|
7060
|
-
if ($[4] !==
|
|
7061
|
-
|
|
7059
|
+
const t6 = ariaValuetext ?? undefined;
|
|
7060
|
+
let t7;
|
|
7061
|
+
if ($[4] !== t6 || $[5] !== width) {
|
|
7062
|
+
t7 = /*#__PURE__*/React__namespace.createElement(HiddenVisually, null, /*#__PURE__*/React__namespace.createElement("progress", {
|
|
7062
7063
|
value: width,
|
|
7063
7064
|
max: 100,
|
|
7064
|
-
"aria-valuetext":
|
|
7065
|
+
"aria-valuetext": t6
|
|
7065
7066
|
}));
|
|
7066
|
-
$[4] =
|
|
7067
|
+
$[4] = t6;
|
|
7067
7068
|
$[5] = width;
|
|
7068
|
-
$[6] =
|
|
7069
|
+
$[6] = t7;
|
|
7069
7070
|
} else {
|
|
7070
|
-
|
|
7071
|
+
t7 = $[6];
|
|
7071
7072
|
}
|
|
7072
|
-
let
|
|
7073
|
-
if ($[7] !==
|
|
7074
|
-
|
|
7075
|
-
className:
|
|
7076
|
-
},
|
|
7077
|
-
$[7] =
|
|
7078
|
-
$[8] =
|
|
7079
|
-
$[9] =
|
|
7080
|
-
$[10] =
|
|
7073
|
+
let t8;
|
|
7074
|
+
if ($[7] !== t3 || $[8] !== t5 || $[9] !== t7) {
|
|
7075
|
+
t8 = /*#__PURE__*/React__namespace.createElement("div", {
|
|
7076
|
+
className: t3
|
|
7077
|
+
}, t5, t7);
|
|
7078
|
+
$[7] = t3;
|
|
7079
|
+
$[8] = t5;
|
|
7080
|
+
$[9] = t7;
|
|
7081
|
+
$[10] = t8;
|
|
7081
7082
|
} else {
|
|
7082
|
-
|
|
7083
|
+
t8 = $[10];
|
|
7083
7084
|
}
|
|
7084
|
-
|
|
7085
|
+
const bar = t8;
|
|
7086
|
+
if (!showScale) {
|
|
7087
|
+
return bar;
|
|
7088
|
+
}
|
|
7089
|
+
let t9;
|
|
7090
|
+
if ($[11] !== className) {
|
|
7091
|
+
t9 = classNames__default["default"](modules_a0e70af1.wrapper, className);
|
|
7092
|
+
$[11] = className;
|
|
7093
|
+
$[12] = t9;
|
|
7094
|
+
} else {
|
|
7095
|
+
t9 = $[12];
|
|
7096
|
+
}
|
|
7097
|
+
let t10;
|
|
7098
|
+
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
7099
|
+
t10 = /*#__PURE__*/React__namespace.createElement("div", {
|
|
7100
|
+
className: modules_a0e70af1.scaleContainer
|
|
7101
|
+
}, /*#__PURE__*/React__namespace.createElement("div", {
|
|
7102
|
+
className: modules_a0e70af1.ticks,
|
|
7103
|
+
"aria-hidden": "true"
|
|
7104
|
+
}, /*#__PURE__*/React__namespace.createElement("span", null, "00"), /*#__PURE__*/React__namespace.createElement("span", null, "25"), /*#__PURE__*/React__namespace.createElement("span", null, "50"), /*#__PURE__*/React__namespace.createElement("span", null, "75"), /*#__PURE__*/React__namespace.createElement("span", null)));
|
|
7105
|
+
$[13] = t10;
|
|
7106
|
+
} else {
|
|
7107
|
+
t10 = $[13];
|
|
7108
|
+
}
|
|
7109
|
+
let t11;
|
|
7110
|
+
if ($[14] !== bar || $[15] !== t9) {
|
|
7111
|
+
t11 = /*#__PURE__*/React__namespace.createElement("div", {
|
|
7112
|
+
className: t9
|
|
7113
|
+
}, bar, t10);
|
|
7114
|
+
$[14] = bar;
|
|
7115
|
+
$[15] = t9;
|
|
7116
|
+
$[16] = t11;
|
|
7117
|
+
} else {
|
|
7118
|
+
t11 = $[16];
|
|
7119
|
+
}
|
|
7120
|
+
return t11;
|
|
7085
7121
|
}
|
|
7086
7122
|
ProgressBar.displayName = 'ProgressBar';
|
|
7087
7123
|
|