sprint-asia-custom-component 0.1.149 → 0.1.151

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sprint-asia-custom-component",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.149",
4
+ "version": "0.1.151",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -16,8 +16,8 @@ const Footer = ({
16
16
  additionalButton,
17
17
  }) => {
18
18
  return (
19
- <div className="fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white">
20
- <div className="flex items-center mr-48">
19
+ <div className="fixed left-0 bottom-0 flex justify-end w-full flex-1 items-center py-1 px-6 bg-white">
20
+ <div className="flex items-center">
21
21
  {isActiveLeftButton && (
22
22
  <div className="m-1">
23
23
  {modeLeftButton === "primary" && (
@@ -15,6 +15,8 @@ const TextInput = ({
15
15
  className = "",
16
16
  rightAdornment,
17
17
  leftAdornment,
18
+ minimum,
19
+ maximum
18
20
  }) => {
19
21
  const [isFocused, setIsFocused] = useState(false);
20
22
  const [showPassword, setShowPassword] = useState(false);
@@ -56,6 +58,8 @@ const TextInput = ({
56
58
  </section>
57
59
 
58
60
  <input
61
+ min={minimum !== null && minimum !== undefined && type === "number" ? minimum : undefined}
62
+ max={maximum !== null && maximum !== undefined && type === "number" ? maximum : undefined}
59
63
  type={type === "password" ? (showPassword ? "text" : "password") : type}
60
64
  className={`py-2.5 px-4 w-full font-normal text-sm text-neutral300 rounded-md border
61
65
  ${