catchup-library-web 1.16.0 → 1.16.1

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/dist/index.js CHANGED
@@ -7449,10 +7449,10 @@ var PageTravelGroup = ({
7449
7449
  "input",
7450
7450
  {
7451
7451
  className: `w-[65px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`,
7452
- type: "text",
7452
+ type: "number",
7453
7453
  value: newPageNumber,
7454
7454
  onChange: (e) => {
7455
- const inputPageNumber = parseFloat(e.target.value);
7455
+ const inputPageNumber = parseInt(e.target.value);
7456
7456
  setNewPageNumber(inputPageNumber);
7457
7457
  },
7458
7458
  onKeyDown: (e) => {
package/dist/index.mjs CHANGED
@@ -7237,10 +7237,10 @@ var PageTravelGroup = ({
7237
7237
  "input",
7238
7238
  {
7239
7239
  className: `w-[65px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`,
7240
- type: "text",
7240
+ type: "number",
7241
7241
  value: newPageNumber,
7242
7242
  onChange: (e) => {
7243
- const inputPageNumber = parseFloat(e.target.value);
7243
+ const inputPageNumber = parseInt(e.target.value);
7244
7244
  setNewPageNumber(inputPageNumber);
7245
7245
  },
7246
7246
  onKeyDown: (e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -89,10 +89,10 @@ const PageTravelGroup = ({
89
89
  <div>
90
90
  <input
91
91
  className={`w-[65px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`}
92
- type="text"
92
+ type="number"
93
93
  value={newPageNumber}
94
94
  onChange={(e) => {
95
- const inputPageNumber = parseFloat(e.target.value);
95
+ const inputPageNumber = parseInt(e.target.value);
96
96
  setNewPageNumber(inputPageNumber);
97
97
  }}
98
98
  onKeyDown={(e) => {