([]);
+
+ const handleSelect = (
+ type: 'single' | 'multiple',
+ value: SelectOption | SelectOption[],
+ ) => {
+ if (type === 'single') {
+ setSingleValue(value as SelectOption);
+ } else {
+ setMultipleValue(value as SelectOption[]);
+ }
+ };
+
+ return (
+ <>
+ Single – Small
+
+
+ Single – Medium
+
+ handleSelect('single', value)}
+ />
+ handleSelect('single', value)}
+ />
+ handleSelect('single', value)}
+ />
+ handleSelect('single', value)}
+ />
+
+
+ Multiple – Small
+
+
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+
+
+ Multiple – Medium
+
+
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+
+
+ Single – With label, description, and helper text
+
+
+ handleSelect('single', value)}
+ />
+ handleSelect('single', value)}
+ />
+ handleSelect('single', value)}
+ />
+ handleSelect('single', value)}
+ />
+
+
+ Multiple – With label, description, and helper text
+
+
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+ handleSelect('multiple', value)}
+ />
+
+
+ Error – With label, description, and helper text
+
+
+
+
+
+
+
+ >
+ );
+};
diff --git a/packages/frontend/src/types/common.ts b/packages/frontend/src/types/common.ts
new file mode 100644
index 00000000..fc796289
--- /dev/null
+++ b/packages/frontend/src/types/common.ts
@@ -0,0 +1,9 @@
+/**
+ * Construct a type by excluding common keys from one type to another.
+ * @template T - The type from which to omit properties.
+ * @template U - The type whose properties to omit from T.
+ * @param {T} - The source type.
+ * @param {U} - The target type.
+ * @returns A new type that includes all properties from T except those that are common with U.
+ */
+export type OmitCommon = Pick>;
diff --git a/packages/frontend/tailwind.config.js b/packages/frontend/tailwind.config.js
index ffd17636..2ddac405 100644
--- a/packages/frontend/tailwind.config.js
+++ b/packages/frontend/tailwind.config.js
@@ -151,7 +151,7 @@ export default withMT({
boxShadow: {
button:
'inset 0px 0px 4px rgba(255, 255, 255, 0.25), inset 0px -2px 0px rgba(0, 0, 0, 0.04)',
- calendar:
+ dropdown:
'0px 3px 20px rgba(8, 47, 86, 0.1), 0px 0px 4px rgba(8, 47, 86, 0.14)',
field: '0px 1px 2px rgba(0, 0, 0, 0.04)',
inset: 'inset 0px 1px 0px rgba(8, 47, 86, 0.06)',
@@ -160,6 +160,7 @@ export default withMT({
2.5: '0.625rem',
3.25: '0.8125rem',
3.5: '0.875rem',
+ 4.5: '1.125rem',
},
zIndex: {
toast: '9999',