fis-component 0.1.24 → 0.1.26

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.
@@ -1,7 +1,7 @@
1
1
  import { ComponentPropsWithoutRef, JSX } from "react";
2
2
  export type InputTypeSuffix = "icon" | "suffix" | "dropdown";
3
3
  export type InputTypePrefix = "prefix" | "dropdown";
4
- export type InputSize = "md" | "lg";
4
+ export type InputSize = "xs" | "sm" | "md" | "lg";
5
5
  export interface InputFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onClick"> {
6
6
  /**Control the size of the component*/
7
7
  sizeInput?: InputSize;
package/dist/esm/index.js CHANGED
@@ -62024,17 +62024,17 @@ FISIconButton.displayName = "FISIconButton";
62024
62024
 
62025
62025
  function IncreIcon(props) {
62026
62026
  const { width = 16, height = 16, ...rest } = props;
62027
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M7.99992 3.33331V12.6666M3.33325 7.99998H12.6666", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62027
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M7.99992 3.33331V12.6666M3.33325 7.99998H12.6666", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62028
62028
  }
62029
62029
 
62030
62030
  function DecreIcon(props) {
62031
62031
  const { width = 16, height = 16, ...rest } = props;
62032
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M3.33325 8H12.6666", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62032
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M3.33325 8H12.6666", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62033
62033
  }
62034
62034
 
62035
62035
  function CategoryIcon(props) {
62036
62036
  const { width = 20, height = 20, ...rest } = props;
62037
- return (jsxs("svg", { width: width, height: height, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: [jsx("path", { d: "M2.83325 5.2C2.83325 4.0799 2.83325 3.51984 3.05124 3.09202C3.24299 2.71569 3.54895 2.40973 3.92527 2.21799C4.35309 2 4.91315 2 6.03325 2H11.6333C12.7534 2 13.3134 2 13.7412 2.21799C14.1176 2.40973 14.4235 2.71569 14.6153 3.09202C14.8333 3.51984 14.8333 4.0799 14.8333 5.2V10.8C14.8333 11.9201 14.8333 12.4802 14.6153 12.908C14.4235 13.2843 14.1176 13.5903 13.7412 13.782C13.3134 14 12.7534 14 11.6333 14H6.03325C4.91315 14 4.35309 14 3.92527 13.782C3.54895 13.5903 3.24299 13.2843 3.05124 12.908C2.83325 12.4802 2.83325 11.9201 2.83325 10.8V5.2Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }), jsx("path", { d: "M6.80429 9.15942C6.21543 9.0122 5.921 8.9386 5.80708 8.87583C5.11725 8.49569 5.11725 7.50431 5.80708 7.12417C5.921 7.0614 6.21542 6.98779 6.80428 6.84058C6.91412 6.81312 6.96904 6.79939 7.01861 6.78127C7.29535 6.68012 7.5134 6.46208 7.61455 6.18533C7.63266 6.13577 7.64639 6.08085 7.67385 5.97101C7.82107 5.38215 7.89467 5.08772 7.95744 4.97381C8.33758 4.28398 9.32896 4.28398 9.7091 4.97381C9.77187 5.08772 9.84548 5.38215 9.99269 5.97101C10.0202 6.08085 10.0339 6.13577 10.052 6.18533C10.1531 6.46208 10.3712 6.68012 10.6479 6.78127C10.6975 6.79939 10.7524 6.81312 10.8623 6.84058C11.4511 6.98779 11.7455 7.0614 11.8595 7.12417C12.5493 7.5043 12.5493 8.49569 11.8595 8.87582C11.7455 8.9386 11.4511 9.0122 10.8623 9.15942C10.7524 9.18688 10.6975 9.20061 10.6479 9.21872C10.3712 9.31987 10.1531 9.53792 10.052 9.81466C10.0339 9.86422 10.0202 9.91914 9.99269 10.029C9.84548 10.6178 9.77187 10.9123 9.7091 11.0262C9.32896 11.716 8.33758 11.716 7.95744 11.0262C7.89467 10.9123 7.82107 10.6178 7.67385 10.029C7.64639 9.91914 7.63266 9.86423 7.61455 9.81466C7.5134 9.53792 7.29535 9.31987 7.0186 9.21872C6.96904 9.20061 6.91412 9.18688 6.80429 9.15942Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })] }));
62037
+ return (jsxs("svg", { width: width, height: height, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: [jsx("path", { d: "M2.83325 5.2C2.83325 4.0799 2.83325 3.51984 3.05124 3.09202C3.24299 2.71569 3.54895 2.40973 3.92527 2.21799C4.35309 2 4.91315 2 6.03325 2H11.6333C12.7534 2 13.3134 2 13.7412 2.21799C14.1176 2.40973 14.4235 2.71569 14.6153 3.09202C14.8333 3.51984 14.8333 4.0799 14.8333 5.2V10.8C14.8333 11.9201 14.8333 12.4802 14.6153 12.908C14.4235 13.2843 14.1176 13.5903 13.7412 13.782C13.3134 14 12.7534 14 11.6333 14H6.03325C4.91315 14 4.35309 14 3.92527 13.782C3.54895 13.5903 3.24299 13.2843 3.05124 12.908C2.83325 12.4802 2.83325 11.9201 2.83325 10.8V5.2Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M6.80429 9.15942C6.21543 9.0122 5.921 8.9386 5.80708 8.87583C5.11725 8.49569 5.11725 7.50431 5.80708 7.12417C5.921 7.0614 6.21542 6.98779 6.80428 6.84058C6.91412 6.81312 6.96904 6.79939 7.01861 6.78127C7.29535 6.68012 7.5134 6.46208 7.61455 6.18533C7.63266 6.13577 7.64639 6.08085 7.67385 5.97101C7.82107 5.38215 7.89467 5.08772 7.95744 4.97381C8.33758 4.28398 9.32896 4.28398 9.7091 4.97381C9.77187 5.08772 9.84548 5.38215 9.99269 5.97101C10.0202 6.08085 10.0339 6.13577 10.052 6.18533C10.1531 6.46208 10.3712 6.68012 10.6479 6.78127C10.6975 6.79939 10.7524 6.81312 10.8623 6.84058C11.4511 6.98779 11.7455 7.0614 11.8595 7.12417C12.5493 7.5043 12.5493 8.49569 11.8595 8.87582C11.7455 8.9386 11.4511 9.0122 10.8623 9.15942C10.7524 9.18688 10.6975 9.20061 10.6479 9.21872C10.3712 9.31987 10.1531 9.53792 10.052 9.81466C10.0339 9.86422 10.0202 9.91914 9.99269 10.029C9.84548 10.6178 9.77187 10.9123 9.7091 11.0262C9.32896 11.716 8.33758 11.716 7.95744 11.0262C7.89467 10.9123 7.82107 10.6178 7.67385 10.029C7.64639 9.91914 7.63266 9.86423 7.61455 9.81466C7.5134 9.53792 7.29535 9.31987 7.0186 9.21872C6.96904 9.20061 6.91412 9.18688 6.80429 9.15942Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })] }));
62038
62038
  }
62039
62039
 
62040
62040
  function DotIcon(props) {
@@ -62049,7 +62049,7 @@ function SeparatorIcon(props) {
62049
62049
 
62050
62050
  function HomeIcon(props) {
62051
62051
  const { width = 16, height = 16, ...rest } = props;
62052
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M5.33333 11.3333H10.6667M7.34513 1.84267L2.82359 5.35942C2.52135 5.5945 2.37022 5.71204 2.26135 5.85925C2.16491 5.98964 2.09307 6.13653 2.04935 6.29271C2 6.46902 2 6.66047 2 7.04338V11.8667C2 12.6134 2 12.9868 2.14532 13.272C2.27316 13.5229 2.47713 13.7268 2.72801 13.8547C3.01323 14 3.3866 14 4.13333 14H11.8667C12.6134 14 12.9868 14 13.272 13.8547C13.5229 13.7268 13.7268 13.5229 13.8547 13.272C14 12.9868 14 12.6134 14 11.8667V7.04338C14 6.66047 14 6.46902 13.9506 6.29271C13.9069 6.13653 13.8351 5.98964 13.7386 5.85925C13.6298 5.71204 13.4787 5.5945 13.1764 5.35942L8.65487 1.84267C8.42065 1.6605 8.30354 1.56942 8.17423 1.53441C8.06013 1.50351 7.93987 1.50351 7.82577 1.53441C7.69646 1.56942 7.57935 1.6605 7.34513 1.84267Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62052
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M5.33333 11.3333H10.6667M7.34513 1.84267L2.82359 5.35942C2.52135 5.5945 2.37022 5.71204 2.26135 5.85925C2.16491 5.98964 2.09307 6.13653 2.04935 6.29271C2 6.46902 2 6.66047 2 7.04338V11.8667C2 12.6134 2 12.9868 2.14532 13.272C2.27316 13.5229 2.47713 13.7268 2.72801 13.8547C3.01323 14 3.3866 14 4.13333 14H11.8667C12.6134 14 12.9868 14 13.272 13.8547C13.5229 13.7268 13.7268 13.5229 13.8547 13.272C14 12.9868 14 12.6134 14 11.8667V7.04338C14 6.66047 14 6.46902 13.9506 6.29271C13.9069 6.13653 13.8351 5.98964 13.7386 5.85925C13.6298 5.71204 13.4787 5.5945 13.1764 5.35942L8.65487 1.84267C8.42065 1.6605 8.30354 1.56942 8.17423 1.53441C8.06013 1.50351 7.93987 1.50351 7.82577 1.53441C7.69646 1.56942 7.57935 1.6605 7.34513 1.84267Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62053
62053
  }
62054
62054
 
62055
62055
  function CloseIcon(props) {
@@ -62059,30 +62059,30 @@ function CloseIcon(props) {
62059
62059
 
62060
62060
  function DropdownIcon(props) {
62061
62061
  const { width = 16, height = 16, ...rest } = props;
62062
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62062
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62063
62063
  }
62064
62064
 
62065
62065
  function checkedIcon(props) {
62066
- return (jsx("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.70711 0.542893C10.0976 0.933417 10.0976 1.56658 9.70711 1.95711L4.20711 7.45711C3.81658 7.84763 3.18342 7.84763 2.79289 7.45711L0.292893 4.95711C-0.0976311 4.56658 -0.0976311 3.93342 0.292893 3.54289C0.683417 3.15237 1.31658 3.15237 1.70711 3.54289L3.5 5.33579L8.29289 0.542893C8.68342 0.152369 9.31658 0.152369 9.70711 0.542893Z", fill: "currentColor" }) }));
62066
+ return (jsx("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.70711 0.542893C10.0976 0.933417 10.0976 1.56658 9.70711 1.95711L4.20711 7.45711C3.81658 7.84763 3.18342 7.84763 2.79289 7.45711L0.292893 4.95711C-0.0976311 4.56658 -0.0976311 3.93342 0.292893 3.54289C0.683417 3.15237 1.31658 3.15237 1.70711 3.54289L3.5 5.33579L8.29289 0.542893C8.68342 0.152369 9.31658 0.152369 9.70711 0.542893Z", fill: "currentColor" }) }));
62067
62067
  }
62068
62068
 
62069
62069
  function IndeterminateIcon(props) {
62070
- return (jsx("svg", { width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.5 1C0.5 0.447715 0.947715 0 1.5 0H8.5C9.05228 0 9.5 0.447715 9.5 1C9.5 1.55228 9.05228 2 8.5 2H1.5C0.947715 2 0.5 1.55228 0.5 1Z", fill: "currentColor" }) }));
62070
+ return (jsx("svg", { width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.5 1C0.5 0.447715 0.947715 0 1.5 0H8.5C9.05228 0 9.5 0.447715 9.5 1C9.5 1.55228 9.05228 2 8.5 2H1.5C0.947715 2 0.5 1.55228 0.5 1Z", fill: "currentColor" }) }));
62071
62071
  }
62072
62072
 
62073
62073
  function SearchIcon(props) {
62074
62074
  const { width = 20, height = 20, ...rest } = props;
62075
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "#2A3034", "stroke-width": "1.3", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62075
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "#2A3034", strokeWidth: "1.3", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62076
62076
  }
62077
62077
 
62078
62078
  function ResizeIcon(props) {
62079
62079
  const { width = 20, height = 20, ...rest } = props;
62080
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M12 14L14 12M7 14L14 7", stroke: "currentColor", "stroke-linecap": "round" }) }));
62080
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M12 14L14 12M7 14L14 7", stroke: "currentColor", strokeLinecap: "round" }) }));
62081
62081
  }
62082
62082
 
62083
62083
  function LevelingIcon(props) {
62084
62084
  const { width = 20, height = 20, ...rest } = props;
62085
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.3", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62085
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62086
62086
  }
62087
62087
 
62088
62088
  function CaretIcon(props) {
@@ -62096,7 +62096,7 @@ function ExitIcon(props) {
62096
62096
  }
62097
62097
 
62098
62098
  function InfoIcon(props) {
62099
- return (jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("g", { "clip-path": "url(#clip0_11224_1706)", children: jsx("path", { d: "M7.99992 10.6666V7.99992M7.99992 5.33325H8.00659M14.6666 7.99992C14.6666 11.6818 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6818 1.33325 7.99992C1.33325 4.31802 4.31802 1.33325 7.99992 1.33325C11.6818 1.33325 14.6666 4.31802 14.6666 7.99992Z", stroke: "#505A5F", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_11224_1706", children: jsx("rect", { width: "16", height: "16", fill: "white" }) }) })] }));
62099
+ return (jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("g", { clipPath: "url(#clip0_11224_1706)", children: jsx("path", { d: "M7.99992 10.6666V7.99992M7.99992 5.33325H8.00659M14.6666 7.99992C14.6666 11.6818 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6818 1.33325 7.99992C1.33325 4.31802 4.31802 1.33325 7.99992 1.33325C11.6818 1.33325 14.6666 4.31802 14.6666 7.99992Z", stroke: "#505A5F", strokeLinecap: "round", strokeLinejoin: "round" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_11224_1706", children: jsx("rect", { width: "16", height: "16", fill: "white" }) }) })] }));
62100
62100
  }
62101
62101
 
62102
62102
  function CheckIcon(props) {
@@ -62141,7 +62141,7 @@ function TimeIcon(props) {
62141
62141
 
62142
62142
  function DateIcon(props) {
62143
62143
  const { width = 16, height = 16, ...rest } = props;
62144
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M14 6.66659H2M10.6667 1.33325V3.99992M5.33333 1.33325V3.99992M5.2 14.6666H10.8C11.9201 14.6666 12.4802 14.6666 12.908 14.4486C13.2843 14.2569 13.5903 13.9509 13.782 13.5746C14 13.1467 14 12.5867 14 11.4666V5.86659C14 4.74648 14 4.18643 13.782 3.7586C13.5903 3.38228 13.2843 3.07632 12.908 2.88457C12.4802 2.66659 11.9201 2.66659 10.8 2.66659H5.2C4.0799 2.66659 3.51984 2.66659 3.09202 2.88457C2.71569 3.07632 2.40973 3.38228 2.21799 3.7586C2 4.18643 2 4.74648 2 5.86659V11.4666C2 12.5867 2 13.1467 2.21799 13.5746C2.40973 13.9509 2.71569 14.2569 3.09202 14.4486C3.51984 14.6666 4.0799 14.6666 5.2 14.6666Z", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62144
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M14 6.66659H2M10.6667 1.33325V3.99992M5.33333 1.33325V3.99992M5.2 14.6666H10.8C11.9201 14.6666 12.4802 14.6666 12.908 14.4486C13.2843 14.2569 13.5903 13.9509 13.782 13.5746C14 13.1467 14 12.5867 14 11.4666V5.86659C14 4.74648 14 4.18643 13.782 3.7586C13.5903 3.38228 13.2843 3.07632 12.908 2.88457C12.4802 2.66659 11.9201 2.66659 10.8 2.66659H5.2C4.0799 2.66659 3.51984 2.66659 3.09202 2.88457C2.71569 3.07632 2.40973 3.38228 2.21799 3.7586C2 4.18643 2 4.74648 2 5.86659V11.4666C2 12.5867 2 13.1467 2.21799 13.5746C2.40973 13.9509 2.71569 14.2569 3.09202 14.4486C3.51984 14.6666 4.0799 14.6666 5.2 14.6666Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62145
62145
  }
62146
62146
 
62147
62147
  function CalendarIcon(props) {
@@ -62155,32 +62155,32 @@ function ArrowRightIcon(props) {
62155
62155
  }
62156
62156
 
62157
62157
  function MoreIcon() {
62158
- return (jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.66667 8.00008C6.66667 7.2637 7.26362 6.66675 8 6.66675C8.73638 6.66675 9.33333 7.2637 9.33333 8.00008C9.33333 8.73646 8.73638 9.33341 8 9.33341C7.26362 9.33341 6.66667 8.73646 6.66667 8.00008Z", fill: "#505A5F" }), jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3333 8.00008C11.3333 7.2637 11.9303 6.66675 12.6667 6.66675C13.403 6.66675 14 7.2637 14 8.00008C14 8.73646 13.403 9.33341 12.6667 9.33341C11.9303 9.33341 11.3333 8.73646 11.3333 8.00008Z", fill: "#505A5F" }), jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2 8.00008C2 7.2637 2.59695 6.66675 3.33333 6.66675C4.06971 6.66675 4.66667 7.2637 4.66667 8.00008C4.66667 8.73646 4.06971 9.33341 3.33333 9.33341C2.59695 9.33341 2 8.73646 2 8.00008Z", fill: "#505A5F" })] }));
62158
+ return (jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.66667 8.00008C6.66667 7.2637 7.26362 6.66675 8 6.66675C8.73638 6.66675 9.33333 7.2637 9.33333 8.00008C9.33333 8.73646 8.73638 9.33341 8 9.33341C7.26362 9.33341 6.66667 8.73646 6.66667 8.00008Z", fill: "#505A5F" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.3333 8.00008C11.3333 7.2637 11.9303 6.66675 12.6667 6.66675C13.403 6.66675 14 7.2637 14 8.00008C14 8.73646 13.403 9.33341 12.6667 9.33341C11.9303 9.33341 11.3333 8.73646 11.3333 8.00008Z", fill: "#505A5F" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 8.00008C2 7.2637 2.59695 6.66675 3.33333 6.66675C4.06971 6.66675 4.66667 7.2637 4.66667 8.00008C4.66667 8.73646 4.06971 9.33341 3.33333 9.33341C2.59695 9.33341 2 8.73646 2 8.00008Z", fill: "#505A5F" })] }));
62159
62159
  }
62160
62160
 
62161
62161
  function NoDataIcon(props) {
62162
62162
  const { width = 44, height = 44, ...rest } = props;
62163
- return (jsxs("svg", { width: width, height: height, viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: [jsx("path", { d: "M38.5 32.0538C38.5 34.4194 34.933 35.8258 27.799 38.6385C24.933 39.7684 23.5 40.3334 22 40.3334C20.5 40.3334 19.067 39.7684 16.201 38.6385C9.06701 35.8258 5.5 34.4194 5.5 32.0538L5.5 14.6667L22 22.1184L38.5 14.6667L38.5 32.0538Z", fill: "#F5F8FC" }), jsx("path", { d: "M15.2642 19.6009L9.90865 17.0094C6.96955 15.5872 5.5 14.8761 5.5 13.75C5.5 12.6239 6.96955 11.9128 9.90865 10.4906L15.2642 7.89913C18.5695 6.29971 20.2222 5.5 22 5.5C23.7778 5.5 25.4305 6.29971 28.7358 7.89913L34.0914 10.4906C37.0305 11.9128 38.5 12.6239 38.5 13.75C38.5 14.8761 37.0305 15.5872 34.0914 17.0094L28.7358 19.6009C25.4305 21.2003 23.7778 22 22 22C20.2222 22 18.5695 21.2003 15.2642 19.6009Z", fill: "#F5F8FC" }), jsx("path", { d: "M22 40.3333C20.5 40.3333 19.067 39.7185 16.201 38.4888C9.06701 35.4279 5.5 33.8975 5.5 31.3231L5.5 14.2038M22 40.3333C23.5 40.3333 24.933 39.7185 27.799 38.4888C34.933 35.4279 38.5 33.8975 38.5 31.3231L38.5 14.2038M22 40.3333L22 22.3129M38.5 14.2038C38.5 15.3106 37.0305 16.0096 34.0914 17.4075L28.7358 19.9548C25.4305 21.5269 23.7778 22.3129 22 22.3129M38.5 14.2038C38.5 13.0969 37.0305 12.3979 34.0914 11M5.5 14.2038C5.5 15.3106 6.96955 16.0096 9.90865 17.4075L15.2642 19.9548C18.5695 21.5269 20.2222 22.3129 22 22.3129M5.5 14.2038C5.5 13.0969 6.96955 12.3979 9.90865 11M11.6087 24.4036L15.2642 26.1422", stroke: "#2A30A0", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), jsx("path", { d: "M22.0003 3.66675V7.33341M29.3337 5.50008L26.5837 9.16675M14.667 5.50008L17.417 9.16675", stroke: "#2A30A0", "stroke-width": "1.5", "stroke-linecap": "round" })] }));
62163
+ return (jsxs("svg", { width: width, height: height, viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: [jsx("path", { d: "M38.5 32.0538C38.5 34.4194 34.933 35.8258 27.799 38.6385C24.933 39.7684 23.5 40.3334 22 40.3334C20.5 40.3334 19.067 39.7684 16.201 38.6385C9.06701 35.8258 5.5 34.4194 5.5 32.0538L5.5 14.6667L22 22.1184L38.5 14.6667L38.5 32.0538Z", fill: "#F5F8FC" }), jsx("path", { d: "M15.2642 19.6009L9.90865 17.0094C6.96955 15.5872 5.5 14.8761 5.5 13.75C5.5 12.6239 6.96955 11.9128 9.90865 10.4906L15.2642 7.89913C18.5695 6.29971 20.2222 5.5 22 5.5C23.7778 5.5 25.4305 6.29971 28.7358 7.89913L34.0914 10.4906C37.0305 11.9128 38.5 12.6239 38.5 13.75C38.5 14.8761 37.0305 15.5872 34.0914 17.0094L28.7358 19.6009C25.4305 21.2003 23.7778 22 22 22C20.2222 22 18.5695 21.2003 15.2642 19.6009Z", fill: "#F5F8FC" }), jsx("path", { d: "M22 40.3333C20.5 40.3333 19.067 39.7185 16.201 38.4888C9.06701 35.4279 5.5 33.8975 5.5 31.3231L5.5 14.2038M22 40.3333C23.5 40.3333 24.933 39.7185 27.799 38.4888C34.933 35.4279 38.5 33.8975 38.5 31.3231L38.5 14.2038M22 40.3333L22 22.3129M38.5 14.2038C38.5 15.3106 37.0305 16.0096 34.0914 17.4075L28.7358 19.9548C25.4305 21.5269 23.7778 22.3129 22 22.3129M38.5 14.2038C38.5 13.0969 37.0305 12.3979 34.0914 11M5.5 14.2038C5.5 15.3106 6.96955 16.0096 9.90865 17.4075L15.2642 19.9548C18.5695 21.5269 20.2222 22.3129 22 22.3129M5.5 14.2038C5.5 13.0969 6.96955 12.3979 9.90865 11M11.6087 24.4036L15.2642 26.1422", stroke: "#2A30A0", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M22.0003 3.66675V7.33341M29.3337 5.50008L26.5837 9.16675M14.667 5.50008L17.417 9.16675", stroke: "#2A30A0", strokeWidth: "1.5", strokeLinecap: "round" })] }));
62164
62164
  }
62165
62165
 
62166
62166
  function NoResultIcon(props) {
62167
62167
  const { width = 44, height = 44, ...rest } = props;
62168
- return (jsxs("svg", { width: width, height: height, viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M36.6666 31.9138C36.6666 34.5191 33.0996 36.0679 25.9656 39.1655C23.0996 40.41 21.6666 41.0322 20.1666 41.0322C18.6666 41.0322 17.2336 40.41 14.3677 39.1655C7.23364 36.0679 3.66663 34.5191 3.66663 31.9138L3.66663 12.7653L20.1666 20.9718L36.6666 12.7653L36.6666 31.9138Z", fill: "#F5F8FC" }), jsx("path", { d: "M13.4308 17.8529L8.07527 15.1891C5.13617 13.7273 3.66663 12.9963 3.66663 11.8388C3.66663 10.6813 5.13617 9.95042 8.07527 8.48856L13.4308 5.8248C16.7362 4.18078 18.3888 3.35876 20.1666 3.35876C21.9444 3.35876 23.5971 4.18078 26.9024 5.8248L32.258 8.48856C35.1971 9.95042 36.6666 10.6813 36.6666 11.8388C36.6666 12.9963 35.1971 13.7273 32.258 15.1891L26.9024 17.8529C23.5971 19.4969 21.9444 20.3189 20.1666 20.3189C18.3888 20.3189 16.7362 19.4969 13.4308 17.8529Z", fill: "#F5F8FC" }), jsx("path", { d: "M38.8666 32.2667C38.8666 28.6217 35.9117 25.6667 32.2666 25.6667C28.6215 25.6667 25.6666 28.6217 25.6666 32.2667C25.6666 35.9118 28.6215 38.8667 32.2666 38.8667C35.9117 38.8667 38.8666 35.9118 38.8666 32.2667Z", fill: "#F5F8FC" }), jsx("path", { d: "M20.1666 40.3334C18.6666 40.3334 17.2336 39.728 14.3677 38.5174C7.23364 35.5038 3.66663 33.997 3.66663 31.4624C3.66663 30.7527 3.66663 18.4517 3.66663 12.8334M20.1666 40.3334L20.1666 20.8172M20.1666 40.3334C20.7907 40.3334 21.3515 40.2286 22 40.019M36.6666 12.8334V21.0834", stroke: "#2A30A0", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), jsx("path", { d: "M39.803 40.8637C40.0959 41.1566 40.5707 41.1566 40.8636 40.8637C41.1565 40.5709 41.1565 40.096 40.8636 39.8031L39.803 40.8637ZM37.4 37.4001L36.8696 37.9304L39.803 40.8637L40.3333 40.3334L40.8636 39.8031L37.9303 36.8698L37.4 37.4001ZM38.8666 32.2667H39.6166C39.6166 28.2075 36.3259 24.9167 32.2666 24.9167V25.6667V26.4167C35.4975 26.4167 38.1166 29.0359 38.1166 32.2667H38.8666ZM32.2666 25.6667V24.9167C28.2073 24.9167 24.9166 28.2075 24.9166 32.2667H25.6666H26.4166C26.4166 29.0359 29.0358 26.4167 32.2666 26.4167V25.6667ZM25.6666 32.2667H24.9166C24.9166 36.326 28.2073 39.6167 32.2666 39.6167V38.8667V38.1167C29.0358 38.1167 26.4166 35.4976 26.4166 32.2667H25.6666ZM32.2666 38.8667V39.6167C36.3259 39.6167 39.6166 36.326 39.6166 32.2667H38.8666H38.1166C38.1166 35.4976 35.4975 38.1167 32.2666 38.1167V38.8667Z", fill: "#2A30A0" }), jsx("path", { d: "M13.4308 17.7675L8.07527 15.176C5.13617 13.7538 3.66663 13.0427 3.66663 11.9166C3.66663 10.7905 5.13617 10.0794 8.07527 8.65724L13.4308 6.06576C16.7362 4.46634 18.3888 3.66663 20.1666 3.66663C21.9444 3.66663 23.5971 4.46634 26.9024 6.06575L32.258 8.65724C35.1971 10.0794 36.6666 10.7905 36.6666 11.9166C36.6666 13.0427 35.1971 13.7538 32.258 15.176L26.9024 17.7675C23.5971 19.3669 21.9444 20.1666 20.1666 20.1666C18.3888 20.1666 16.7362 19.3669 13.4308 17.7675Z", stroke: "#2A30A0", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), jsx("path", { d: "M9.16663 22L12.8333 23.8333", stroke: "#2A30A0", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), jsx("path", { d: "M29.3333 7.33337L11 16.5", stroke: "#2A30A0", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })] }));
62168
+ return (jsxs("svg", { width: width, height: height, viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M36.6666 31.9138C36.6666 34.5191 33.0996 36.0679 25.9656 39.1655C23.0996 40.41 21.6666 41.0322 20.1666 41.0322C18.6666 41.0322 17.2336 40.41 14.3677 39.1655C7.23364 36.0679 3.66663 34.5191 3.66663 31.9138L3.66663 12.7653L20.1666 20.9718L36.6666 12.7653L36.6666 31.9138Z", fill: "#F5F8FC" }), jsx("path", { d: "M13.4308 17.8529L8.07527 15.1891C5.13617 13.7273 3.66663 12.9963 3.66663 11.8388C3.66663 10.6813 5.13617 9.95042 8.07527 8.48856L13.4308 5.8248C16.7362 4.18078 18.3888 3.35876 20.1666 3.35876C21.9444 3.35876 23.5971 4.18078 26.9024 5.8248L32.258 8.48856C35.1971 9.95042 36.6666 10.6813 36.6666 11.8388C36.6666 12.9963 35.1971 13.7273 32.258 15.1891L26.9024 17.8529C23.5971 19.4969 21.9444 20.3189 20.1666 20.3189C18.3888 20.3189 16.7362 19.4969 13.4308 17.8529Z", fill: "#F5F8FC" }), jsx("path", { d: "M38.8666 32.2667C38.8666 28.6217 35.9117 25.6667 32.2666 25.6667C28.6215 25.6667 25.6666 28.6217 25.6666 32.2667C25.6666 35.9118 28.6215 38.8667 32.2666 38.8667C35.9117 38.8667 38.8666 35.9118 38.8666 32.2667Z", fill: "#F5F8FC" }), jsx("path", { d: "M20.1666 40.3334C18.6666 40.3334 17.2336 39.728 14.3677 38.5174C7.23364 35.5038 3.66663 33.997 3.66663 31.4624C3.66663 30.7527 3.66663 18.4517 3.66663 12.8334M20.1666 40.3334L20.1666 20.8172M20.1666 40.3334C20.7907 40.3334 21.3515 40.2286 22 40.019M36.6666 12.8334V21.0834", stroke: "#2A30A0", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M39.803 40.8637C40.0959 41.1566 40.5707 41.1566 40.8636 40.8637C41.1565 40.5709 41.1565 40.096 40.8636 39.8031L39.803 40.8637ZM37.4 37.4001L36.8696 37.9304L39.803 40.8637L40.3333 40.3334L40.8636 39.8031L37.9303 36.8698L37.4 37.4001ZM38.8666 32.2667H39.6166C39.6166 28.2075 36.3259 24.9167 32.2666 24.9167V25.6667V26.4167C35.4975 26.4167 38.1166 29.0359 38.1166 32.2667H38.8666ZM32.2666 25.6667V24.9167C28.2073 24.9167 24.9166 28.2075 24.9166 32.2667H25.6666H26.4166C26.4166 29.0359 29.0358 26.4167 32.2666 26.4167V25.6667ZM25.6666 32.2667H24.9166C24.9166 36.326 28.2073 39.6167 32.2666 39.6167V38.8667V38.1167C29.0358 38.1167 26.4166 35.4976 26.4166 32.2667H25.6666ZM32.2666 38.8667V39.6167C36.3259 39.6167 39.6166 36.326 39.6166 32.2667H38.8666H38.1166C38.1166 35.4976 35.4975 38.1167 32.2666 38.1167V38.8667Z", fill: "#2A30A0" }), jsx("path", { d: "M13.4308 17.7675L8.07527 15.176C5.13617 13.7538 3.66663 13.0427 3.66663 11.9166C3.66663 10.7905 5.13617 10.0794 8.07527 8.65724L13.4308 6.06576C16.7362 4.46634 18.3888 3.66663 20.1666 3.66663C21.9444 3.66663 23.5971 4.46634 26.9024 6.06575L32.258 8.65724C35.1971 10.0794 36.6666 10.7905 36.6666 11.9166C36.6666 13.0427 35.1971 13.7538 32.258 15.176L26.9024 17.7675C23.5971 19.3669 21.9444 20.1666 20.1666 20.1666C18.3888 20.1666 16.7362 19.3669 13.4308 17.7675Z", stroke: "#2A30A0", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M9.16663 22L12.8333 23.8333", stroke: "#2A30A0", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M29.3333 7.33337L11 16.5", stroke: "#2A30A0", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] }));
62169
62169
  }
62170
62170
 
62171
62171
  function RemoveIcon(props) {
62172
62172
  const { width = 20, height = 20, ...rest } = props;
62173
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M6.6665 9.99999H13.3332M18.3332 9.99999C18.3332 14.6024 14.6022 18.3333 9.99984 18.3333C5.39746 18.3333 1.6665 14.6024 1.6665 9.99999C1.6665 5.39762 5.39746 1.66666 9.99984 1.66666C14.6022 1.66666 18.3332 5.39762 18.3332 9.99999Z", stroke: "#A80A12", "stroke-width": "1.3", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62173
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M6.6665 9.99999H13.3332M18.3332 9.99999C18.3332 14.6024 14.6022 18.3333 9.99984 18.3333C5.39746 18.3333 1.6665 14.6024 1.6665 9.99999C1.6665 5.39762 5.39746 1.66666 9.99984 1.66666C14.6022 1.66666 18.3332 5.39762 18.3332 9.99999Z", stroke: "#A80A12", strokeWidth: "1.3", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62174
62174
  }
62175
62175
 
62176
62176
  function ChevronLeftIcon(props) {
62177
62177
  const { width = 16, height = 16, ...rest } = props;
62178
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M10 12L6 8L10 4", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62178
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M10 12L6 8L10 4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62179
62179
  }
62180
62180
 
62181
62181
  function ChevronRightIcon(props) {
62182
62182
  const { width = 16, height = 16, ...rest } = props;
62183
- return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }) }));
62183
+ return (jsx("svg", { width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest, children: jsx("path", { d: "M6 12L10 8L6 4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
62184
62184
  }
62185
62185
 
62186
62186
  const SortTableIcon = (props) => (jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { d: "M4.66666 9.99996L7.99999 13.3333L11.3333 9.99996M4.66666 5.99996L7.99999 2.66663L11.3333 5.99996", stroke: "#505A5F", strokeLinecap: "round", strokeLinejoin: "round" }) }));
@@ -65269,6 +65269,52 @@ const InputSC$2 = styled.input `
65269
65269
  border-radius: 0;
65270
65270
  }
65271
65271
 
65272
+ /* xs/sm dùng chung corner-radius với md nên chỉ cần override height,
65273
+ typography và sub-spacing. */
65274
+ &.input-text-xs {
65275
+ height: calc(
65276
+ ${getTheme("com/input/field/size-xs/height")} - 2 *
65277
+ ${getTheme("com/input/field/stroke-width")}
65278
+ );
65279
+ ${getTheme("Paragraph/XS")}
65280
+ padding-right: calc(
65281
+ ${getTheme("com/input/field/size-xs/label/sub-spacing")} +
65282
+ ${getTheme("com/input/field/right-padding")}
65283
+ );
65284
+ padding-left: calc(
65285
+ ${getTheme("com/input/field/size-xs/label/sub-spacing")} +
65286
+ ${getTheme("com/input/field/left-padding")}
65287
+ );
65288
+
65289
+ &.prefix,
65290
+ &.suffix {
65291
+ padding-right: ${getTheme("com/input/field/size-xs/label/sub-spacing")};
65292
+ padding-left: ${getTheme("com/input/field/size-xs/label/sub-spacing")};
65293
+ }
65294
+ }
65295
+
65296
+ &.input-text-sm {
65297
+ height: calc(
65298
+ ${getTheme("com/input/field/size-sm/height")} - 2 *
65299
+ ${getTheme("com/input/field/stroke-width")}
65300
+ );
65301
+ ${getTheme("Paragraph/XS")}
65302
+ padding-right: calc(
65303
+ ${getTheme("com/input/field/size-sm/label/sub-spacing")} +
65304
+ ${getTheme("com/input/field/right-padding")}
65305
+ );
65306
+ padding-left: calc(
65307
+ ${getTheme("com/input/field/size-sm/label/sub-spacing")} +
65308
+ ${getTheme("com/input/field/left-padding")}
65309
+ );
65310
+
65311
+ &.prefix,
65312
+ &.suffix {
65313
+ padding-right: ${getTheme("com/input/field/size-sm/label/sub-spacing")};
65314
+ padding-left: ${getTheme("com/input/field/size-sm/label/sub-spacing")};
65315
+ }
65316
+ }
65317
+
65272
65318
  &.input-text-lg {
65273
65319
  height: calc(
65274
65320
  ${getTheme("com/input/field/size-lg/height")} - 2 *
@@ -65330,8 +65376,38 @@ const DivIconSC$2 = styled.div `
65330
65376
  margin-left: ${getTheme("com/input/field/size-md/icon/left-padding")};
65331
65377
  color: ${getTheme("com/input/field/default/icon/color-icon/default")};
65332
65378
 
65379
+ svg {
65380
+ width: ${getTheme("com/input/field/size-md/icon/size-icon")};
65381
+ height: ${getTheme("com/input/field/size-md/icon/size-icon")};
65382
+ }
65383
+
65384
+ /* xs/sm không có token icon/left-padding, dùng label/sub-spacing (cùng 4px
65385
+ như token icon/left-padding của select ở hai size này). */
65386
+ &.input-text-xs {
65387
+ margin-left: ${getTheme("com/input/field/size-xs/label/sub-spacing")};
65388
+
65389
+ svg {
65390
+ width: ${getTheme("com/input/field/size-xs/icon/size-icon")};
65391
+ height: ${getTheme("com/input/field/size-xs/icon/size-icon")};
65392
+ }
65393
+ }
65394
+
65395
+ &.input-text-sm {
65396
+ margin-left: ${getTheme("com/input/field/size-sm/label/sub-spacing")};
65397
+
65398
+ svg {
65399
+ width: ${getTheme("com/input/field/size-sm/icon/size-icon")};
65400
+ height: ${getTheme("com/input/field/size-sm/icon/size-icon")};
65401
+ }
65402
+ }
65403
+
65333
65404
  &.input-text-lg {
65334
65405
  margin-left: ${getTheme("com/input/field/size-lg/icon/left-padding")};
65406
+
65407
+ svg {
65408
+ width: ${getTheme("com/input/field/size-lg/icon/size-icon")};
65409
+ height: ${getTheme("com/input/field/size-lg/icon/size-icon")};
65410
+ }
65335
65411
  }
65336
65412
  `;
65337
65413
  const DivIconSuffixSC$1 = styled.div `
@@ -65374,7 +65450,7 @@ const DivDropdownSuffixSC = styled.div `
65374
65450
  );
65375
65451
  padding-right: ${getTheme("com/input/dropdown/horizontal-padding")};
65376
65452
  border-left: ${getTheme("com/input/dropdown/divider/stroke-width")} solid
65377
- ${getTheme("com/input/suffix/divider/color-stroke")};
65453
+ ${getTheme("com/input/dropdown/divider/color-stroke")};
65378
65454
  border-top-right-radius: ${getTheme("com/input/field/size-md/corner-radius")};
65379
65455
  border-bottom-right-radius: ${getTheme("com/input/field/size-md/corner-radius")};
65380
65456
  background-color: ${getTheme("com/input/dropdown/background/default")};
@@ -65442,7 +65518,7 @@ const DivDropdownPreFixSC = styled.div `
65442
65518
  );
65443
65519
  padding-right: ${getTheme("com/input/dropdown/horizontal-padding")};
65444
65520
  border-right: ${getTheme("com/input/dropdown/divider/stroke-width")} solid
65445
- ${getTheme("com/input/suffix/divider/color-stroke")};
65521
+ ${getTheme("com/input/dropdown/divider/color-stroke")};
65446
65522
  border-top-left-radius: ${getTheme("com/input/field/size-md/corner-radius")};
65447
65523
  border-bottom-left-radius: ${getTheme("com/input/field/size-md/corner-radius")};
65448
65524
  background-color: ${getTheme("com/input/dropdown/background/default")};
@@ -65591,6 +65667,19 @@ const DivContainerSC$6 = styled.div `
65591
65667
  color: ${getTheme("com/input/character-limit/label/over-limit/color-text")};
65592
65668
  }
65593
65669
 
65670
+ /* xs/sm dùng chung corner-radius với md nên chỉ cần override height. */
65671
+ &.input-text-xs {
65672
+ height: ${getTheme("com/input/field/size-xs/height")};
65673
+ min-height: ${getTheme("com/input/field/size-xs/height")};
65674
+ max-height: ${getTheme("com/input/field/size-xs/height")};
65675
+ }
65676
+
65677
+ &.input-text-sm {
65678
+ height: ${getTheme("com/input/field/size-sm/height")};
65679
+ min-height: ${getTheme("com/input/field/size-sm/height")};
65680
+ max-height: ${getTheme("com/input/field/size-sm/height")};
65681
+ }
65682
+
65594
65683
  &.input-text-lg {
65595
65684
  height: ${getTheme("com/input/field/size-lg/height")};
65596
65685
  min-height: ${getTheme("com/input/field/size-lg/height")};
@@ -65741,6 +65830,8 @@ const DivContainerSC$6 = styled.div `
65741
65830
  const FISInputField = forwardRef(({ onClickSuffix, onClickPrefix, ...props }, ref) => {
65742
65831
  const { sizeInput = "md", iconPrefix, iconSuffix, labelSuffix, labelPrefix, typeSuffix, typePrefix, disabled, negative, activeDropdown, ...rest } = props;
65743
65832
  return (jsxs(DivContainerSC$6, { className: classNames({
65833
+ "input-text-xs": sizeInput === "xs",
65834
+ "input-text-sm": sizeInput === "sm",
65744
65835
  "input-text-lg": sizeInput === "lg",
65745
65836
  negative: negative,
65746
65837
  dropdownSuffix: typeSuffix === "dropdown",
@@ -65751,6 +65842,8 @@ const FISInputField = forwardRef(({ onClickSuffix, onClickPrefix, ...props }, re
65751
65842
  iconSuffix: typeSuffix === "icon",
65752
65843
  disabled: disabled,
65753
65844
  }), children: [iconPrefix && typePrefix !== "prefix" && typePrefix !== "dropdown" && (jsx(DivIconSC$2, { className: classNames({
65845
+ "input-text-xs": sizeInput === "xs",
65846
+ "input-text-sm": sizeInput === "sm",
65754
65847
  "input-text-lg": sizeInput === "lg",
65755
65848
  }), children: iconPrefix })), typePrefix === "prefix" && (jsxs(DivPrefixSC, { onClick: onClickPrefix, className: classNames({ disabled: disabled }), children: [iconPrefix && jsx(DivIconPrefixSC$1, { children: iconPrefix }), labelPrefix && jsx(SpanTextPrefixSC, { children: labelPrefix })] })), typePrefix === "dropdown" && (jsxs(DivDropdownPreFixSC, { className: classNames({
65756
65849
  "active-dropdown": activeDropdown,
@@ -65758,12 +65851,14 @@ const FISInputField = forwardRef(({ onClickSuffix, onClickPrefix, ...props }, re
65758
65851
  "input-text-lg": sizeInput === "lg",
65759
65852
  }), onClick: onClickPrefix, children: [iconPrefix && jsx(DivIconDropSC, { children: iconPrefix }), labelPrefix && jsx(SpanTextDropSC, { children: labelPrefix }), jsx(DivIconPrefixSC$1, { children: jsx(DropdownIcon, {}) })] })), jsx(InputSC$2, { ...rest, ref: ref, disabled: disabled, "$isPointer": props.$isPointer, className: classNames({
65760
65853
  negative: negative,
65854
+ "input-text-xs": sizeInput === "xs",
65855
+ "input-text-sm": sizeInput === "sm",
65761
65856
  "input-text-lg": sizeInput === "lg",
65762
65857
  prefix: iconPrefix,
65763
65858
  suffix: typeSuffix === "icon" ||
65764
65859
  typeSuffix === "suffix" ||
65765
65860
  typeSuffix === "dropdown",
65766
- }) }), typeSuffix === "icon" && iconSuffix && (jsx(FISIconButton, { size: "md", icon: iconSuffix, variant: "tertiary-invisible", className: "icon-suffix", onClick: onClickSuffix, disabled: disabled })), typeSuffix === "suffix" && (jsxs(DivSuffixSC, { onClick: onClickSuffix, className: classNames({ disabled: disabled }), children: [iconSuffix && jsx(DivIconSuffixSC$1, { children: iconSuffix }), labelSuffix && jsx(SpanTextSuffixSC, { children: labelSuffix })] })), typeSuffix === "dropdown" && (jsxs(DivDropdownSuffixSC, { className: classNames({
65861
+ }) }), typeSuffix === "icon" && iconSuffix && (jsx(FISIconButton, { size: sizeInput === "xs" || sizeInput === "sm" ? sizeInput : "md", icon: iconSuffix, variant: "tertiary-invisible", className: "icon-suffix", onClick: onClickSuffix, disabled: disabled })), typeSuffix === "suffix" && (jsxs(DivSuffixSC, { onClick: onClickSuffix, className: classNames({ disabled: disabled }), children: [iconSuffix && jsx(DivIconSuffixSC$1, { children: iconSuffix }), labelSuffix && jsx(SpanTextSuffixSC, { children: labelSuffix })] })), typeSuffix === "dropdown" && (jsxs(DivDropdownSuffixSC, { className: classNames({
65767
65862
  "active-dropdown": activeDropdown,
65768
65863
  disabled: disabled,
65769
65864
  "input-text-lg": sizeInput === "lg",