@doist/reactist 30.0.0 → 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 CHANGED
@@ -1,5 +1,30 @@
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
+
21
+ ## [30.0.1](https://github.com/Doist/reactist/compare/v30.0.0...v30.0.1) (2026-01-26)
22
+
23
+
24
+ ### chore
25
+
26
+ * release 30.0.1 ([#1003](https://github.com/Doist/reactist/issues/1003)) ([fbee885](https://github.com/Doist/reactist/commit/fbee88569a03c83ead82b708000cb37bdedde60a))
27
+
3
28
  ## [30.0.0](https://github.com/Doist/reactist/compare/v29.1.2...v30.0.0) (2026-01-24)
4
29
 
5
30
 
@@ -7021,67 +7021,103 @@ function KeyboardShortcut(_ref) {
7021
7021
  }, key))))));
7022
7022
  }
7023
7023
 
7024
- var modules_a0e70af1 = {"progressBar":"_2661b3dc","inner":"_0ca877fd"};
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(11);
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
- let t2;
7035
- if ($[0] !== className) {
7036
- t2 = classNames__default["default"](modules_a0e70af1.progressBar, className);
7037
- $[0] = className;
7038
- $[1] = t2;
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
- t2 = $[1];
7043
+ t3 = $[1];
7041
7044
  }
7042
- const finalClassName = t2;
7043
- const width = fillPercentage < 0 ? 0 : fillPercentage > 100 ? 100 : fillPercentage;
7044
- const t3 = `${width}%`;
7045
- let t4;
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: t3
7051
+ width: t4
7051
7052
  }
7052
7053
  });
7053
- $[2] = t3;
7054
- $[3] = t4;
7054
+ $[2] = t4;
7055
+ $[3] = t5;
7055
7056
  } else {
7056
- t4 = $[3];
7057
+ t5 = $[3];
7057
7058
  }
7058
- const t5 = ariaValuetext ?? undefined;
7059
- let t6;
7060
- if ($[4] !== t5 || $[5] !== width) {
7061
- t6 = /*#__PURE__*/React__namespace.createElement(HiddenVisually, null, /*#__PURE__*/React__namespace.createElement("progress", {
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": t5
7065
+ "aria-valuetext": t6
7065
7066
  }));
7066
- $[4] = t5;
7067
+ $[4] = t6;
7067
7068
  $[5] = width;
7068
- $[6] = t6;
7069
+ $[6] = t7;
7069
7070
  } else {
7070
- t6 = $[6];
7071
+ t7 = $[6];
7071
7072
  }
7072
- let t7;
7073
- if ($[7] !== finalClassName || $[8] !== t4 || $[9] !== t6) {
7074
- t7 = /*#__PURE__*/React__namespace.createElement("div", {
7075
- className: finalClassName
7076
- }, t4, t6);
7077
- $[7] = finalClassName;
7078
- $[8] = t4;
7079
- $[9] = t6;
7080
- $[10] = t7;
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
- t7 = $[10];
7083
+ t8 = $[10];
7083
7084
  }
7084
- return t7;
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