fic-designsystem-components 1.0.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/README.md +73 -0
- package/dist/favicon.svg +1 -0
- package/dist/fic-designsystem-components.css +3 -0
- package/dist/icons.svg +24 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +842 -0
- package/package.json +55 -0
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs)
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/)
|
|
9
|
+
|
|
10
|
+
## React Compiler
|
|
11
|
+
|
|
12
|
+
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
|
13
|
+
|
|
14
|
+
## Expanding the ESLint configuration
|
|
15
|
+
|
|
16
|
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
export default defineConfig([
|
|
20
|
+
globalIgnores(['dist']),
|
|
21
|
+
{
|
|
22
|
+
files: ['**/*.{ts,tsx}'],
|
|
23
|
+
extends: [
|
|
24
|
+
// Other configs...
|
|
25
|
+
|
|
26
|
+
// Remove tseslint.configs.recommended and replace with this
|
|
27
|
+
tseslint.configs.recommendedTypeChecked,
|
|
28
|
+
// Alternatively, use this for stricter rules
|
|
29
|
+
tseslint.configs.strictTypeChecked,
|
|
30
|
+
// Optionally, add this for stylistic rules
|
|
31
|
+
tseslint.configs.stylisticTypeChecked,
|
|
32
|
+
|
|
33
|
+
// Other configs...
|
|
34
|
+
],
|
|
35
|
+
languageOptions: {
|
|
36
|
+
parserOptions: {
|
|
37
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
38
|
+
tsconfigRootDir: import.meta.dirname,
|
|
39
|
+
},
|
|
40
|
+
// other options...
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
])
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
47
|
+
|
|
48
|
+
```js
|
|
49
|
+
// eslint.config.js
|
|
50
|
+
import reactX from 'eslint-plugin-react-x'
|
|
51
|
+
import reactDom from 'eslint-plugin-react-dom'
|
|
52
|
+
|
|
53
|
+
export default defineConfig([
|
|
54
|
+
globalIgnores(['dist']),
|
|
55
|
+
{
|
|
56
|
+
files: ['**/*.{ts,tsx}'],
|
|
57
|
+
extends: [
|
|
58
|
+
// Other configs...
|
|
59
|
+
// Enable lint rules for React
|
|
60
|
+
reactX.configs['recommended-typescript'],
|
|
61
|
+
// Enable lint rules for React DOM
|
|
62
|
+
reactDom.configs.recommended,
|
|
63
|
+
],
|
|
64
|
+
languageOptions: {
|
|
65
|
+
parserOptions: {
|
|
66
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
67
|
+
tsconfigRootDir: import.meta.dirname,
|
|
68
|
+
},
|
|
69
|
+
// other options...
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
])
|
|
73
|
+
```
|
package/dist/favicon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="46" fill="none" viewBox="0 0 48 46"><path fill="#863bff" d="M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z" style="fill:#863bff;fill:color(display-p3 .5252 .23 1);fill-opacity:1"/><mask id="a" width="48" height="46" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z" style="fill:#000;fill-opacity:1"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#ede6ff" rx="5.508" ry="14.704" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -4.47 31.516)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#ede6ff" rx="10.399" ry="29.851" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -39.328 7.883)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#7e14ff" rx="5.508" ry="30.487" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -25.913 -14.639)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -32.644 -3.334)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -34.34 30.47)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#ede6ff" rx="14.072" ry="22.078" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="rotate(93.35 24.506 48.493)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx=".387" cy="8.972" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(39.51 .387 8.972)"/></g><g filter="url(#k)"><ellipse cx="47.523" cy="-6.092" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 47.523 -6.092)"/></g><g filter="url(#l)"><ellipse cx="41.412" cy="6.333" fill="#47bfff" rx="5.971" ry="9.665" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 41.412 6.333)"/></g><g filter="url(#m)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#n)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#o)"><ellipse cx="35.651" cy="29.907" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 35.651 29.907)"/></g><g filter="url(#p)"><ellipse cx="38.418" cy="32.4" fill="#47bfff" rx="5.971" ry="15.297" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 38.418 32.4)"/></g></g><defs><filter id="b" width="60.045" height="41.654" x="-19.77" y="16.149" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-54.613" y="-7.533" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-49.64" y="2.03" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-45.045" y="20.029" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-43.513" y="21.178" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="g" width="74.749" height="58.852" x="15.756" y="-17.901" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="h" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="i" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="j" width="56.045" height="63.649" x="-27.636" y="-22.853" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="k" width="54.814" height="64.646" x="20.116" y="-38.415" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="l" width="33.541" height="35.313" x="24.641" y="-11.323" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="m" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="n" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="o" width="54.814" height="64.646" x="8.244" y="-2.416" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="p" width="39.409" height="43.623" x="18.713" y="10.588" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter></defs></svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
2
|
+
:root{--font-size:16px;--FontFamily-Family:"DM Sans", sans-serif;--FontFamily-Family-2:"DM Sans", sans-serif;--FontSize-Size80:80px;--FontSize-Size72:72px;--FontSize-Size64:64px;--FontSize-Size58:58px;--FontSize-Size48:48px;--FontSize-Size40:40px;--FontSize-Size-30:30px;--FontSize-Size-28:28px;--FontSize-Size-26:26px;--FontSize-Size-24:24px;--FontSize-Size-22:22px;--FontSize-Size-20:20px;--FontSize-Size-18:18px;--FontSize-Size-16:16px;--FontSize-Size-14:14px;--FontSize-Size-12:12px;--FontSize-Size-10:10px;--button-size-14:14px;--FontType-Thin:100;--FontType-Regular:400;--FontType-Medium:500;--FontType-SemiBold:600;--FontType-Bold:700;--FontType-ExtraBold:800;--FontType-Black:900;--TypographyTypes-Display-Display1-Family:var(--FontFamily-Family-2);--TypographyTypes-Display-Display1-Size:var(--FontSize-Size80);--TypographyTypes-Display-Display1-Type:var(--FontType-Thin);--TypographyTypes-Display-Display2-Family:var(--FontFamily-Family-2);--TypographyTypes-Display-Display2-Size:var(--FontSize-Size72);--TypographyTypes-Display-Display2-Type:var(--FontType-Thin);--TypographyTypes-Display-Display3-Family:var(--FontFamily-Family-2);--TypographyTypes-Display-Display3-Size:var(--FontSize-Size64);--TypographyTypes-Display-Display3-Type:var(--FontType-Thin);--TypographyTypes-Display-Display4-Family:var(--FontFamily-Family-2);--TypographyTypes-Display-Display4-Size:var(--FontSize-Size58);--TypographyTypes-Display-Display4-Type:var(--FontType-Thin);--TypographyTypes-Display-Display5-Family:var(--FontFamily-Family-2);--TypographyTypes-Display-Display5-Size:var(--FontSize-Size48);--TypographyTypes-Display-Display5-Type:var(--FontType-Thin);--TypographyTypes-Display-Display6-Family:var(--FontFamily-Family-2);--TypographyTypes-Display-Display6-Size:var(--FontSize-Size40);--TypographyTypes-Display-Display6-Type:var(--FontType-Thin);--TypographyTypes-Heading-Heading1-Family:var(--FontFamily-Family);--TypographyTypes-Fs-fs-xm-10-Family:var(--FontFamily-Family);--TypographyTypes-Body-Family:var(--FontFamily-Family);--TypographyTypes-Body-Size:var(--FontSize-Size-14);--TypographyTypes-Body-Type:var(--FontType-Regular);--TypographyTypes-Fs-fs-xm-10-Size:var(--FontSize-Size-10);--TypographyTypes-Fs-fs-xm-10-Extrabold:var(--FontType-ExtraBold);--TypographyTypes-Fs-fs-xm-10-Medium:var(--FontType-Medium);--TypographyTypes-Fs-fs-xm-10-Regular:var(--FontType-Medium);--TypographyTypes-Fs-fs-sm-12-Family:var(--FontFamily-Family);--TypographyTypes-Fs-fs-sm-12-Size:var(--FontSize-Size-12);--TypographyTypes-Fs-fs-sm-12-fs-sm:var(--FontType-Medium);--TypographyTypes-Fs-fs-sm-12-fs-sm-Regular:var(--FontType-Regular);--TypographyTypes-Heading-Heading1-Size:var(--FontSize-Size-30);--TypographyTypes-Heading-Heading1-Font-Weight-Thin:var(--FontType-Thin);--TypographyTypes-Heading-Heading1-Font-Weight-Regular:var(--FontType-Regular);--TypographyTypes-Heading-Heading1-Font-Weight-Medium:var(--FontType-Medium);--TypographyTypes-Heading-Heading1-Font-Weight-Semibold:var(--FontType-SemiBold);--TypographyTypes-Heading-Heading1-Font-Weight-Extrabold:var(--FontType-ExtraBold);--TypographyTypes-Heading-Heading1-Font-Weight-Black:var(--FontType-Black);--TypographyTypes-Heading-Heading2-Family:var(--FontFamily-Family);--TypographyTypes-Heading-Heading2-Size:var(--FontSize-Size-28);--TypographyTypes-Heading-Heading2-Heading2:var(--FontType-SemiBold);--TypographyTypes-Heading-Heading3-Family:var(--FontFamily-Family);--TypographyTypes-Heading-Heading4-Family:var(--FontFamily-Family);--TypographyTypes-Heading-Heading4-Size:var(--FontSize-Size-24);--TypographyTypes-Heading-Heading4-Heading4:var(--FontType-SemiBold);--TypographyTypes-Heading-Heading3-Size:var(--FontSize-Size-26);--TypographyTypes-Heading-Heading3-Heading3:var(--FontType-SemiBold);--TypographyTypes-Heading-Heading5-Family:var(--FontFamily-Family);--TypographyTypes-Heading-Heading5-Size:var(--FontSize-Size-22);--TypographyTypes-Heading-Heading5-Heading5:var(--FontType-SemiBold);--TypographyTypes-Heading-Heading6-Family:var(--FontFamily-Family);--TypographyTypes-Heading-Heading6-Size:var(--FontSize-Size-20);--TypographyTypes-Heading-Heading6-Heading6:var(--FontType-SemiBold);--TypographyTypes-Heading-SubHeading1-Family:var(--FontFamily-Family);--TypographyTypes-Heading-SubHeading1-Size:var(--FontSize-Size-18);--TypographyTypes-Heading-SubHeading1-Sbh1SemiBold:var(--FontType-SemiBold);--TypographyTypes-Heading-SubHeading1-Sbh1ExtraBold:var(--FontType-ExtraBold);--TypographyTypes-Heading-SubHeading1-Sbh1Regular:var(--FontType-Regular);--TypographyTypes-Heading-SubHeading1-Sbh1Medium:var(--FontType-Medium);--TypographyTypes-Heading-SubHeading2-Family:var(--FontFamily-Family);--TypographyTypes-Heading-SubHeading3-Family:var(--FontFamily-Family);--TypographyTypes-Heading-SubHeading3-Size:var(--FontSize-Size-14);--TypographyTypes-Heading-SubHeading3-Sbh3ExtraBold:var(--FontType-ExtraBold);--TypographyTypes-Heading-SubHeading3-Sbh3Semibold:var(--FontType-SemiBold);--TypographyTypes-Heading-SubHeading3-Sbh3Medium:var(--FontType-Medium);--TypographyTypes-Heading-SubHeading3-Sbh3Regular:var(--FontType-Regular);--TypographyTypes-Heading-SubHeading3-Sbh3Black:var(--FontType-Black);--TypographyTypes-Heading-SubHeading2-Size:var(--FontSize-Size-16);--TypographyTypes-Heading-SubHeading2-Sbh2SemiBold:var(--FontType-SemiBold);--TypographyTypes-Heading-SubHeading2-Sbh2ExtraBold:var(--FontType-ExtraBold);--TypographyTypes-Heading-SubHeading2-Sbh2Medium:var(--FontType-Medium);--TypographyTypes-Heading-SubHeading2-Sbh2Regular:var(--FontType-Regular);--TypographyTypes-ButtonsTypography-Standard_Button-Family:var(--FontFamily-Family);--TypographyTypes-ButtonsTypography-Standard_Button-Size:var(--button-size-14);--TypographyTypes-ButtonsTypography-Standard_Button-Type:var(--FontType-ExtraBold);--txt_textbox:var(--txt-ButtonLabelPrimary);--text-h1:var(--FontSize-Size-30);--text-h2:var(--FontSize-Size-28);--text-h3:var(--FontSize-Size-26);--text-h4:var(--FontSize-Size-24);--text-base:var(--FontSize-Size-14);--text-label:var(--FontSize-Size-12);--text-button-primary:var(--FontSize-Size-16);--text-large-number:var(--FontSize-Size-30);--font-weight-thin:var(--FontType-Thin);--font-weight-normal:var(--FontType-Regular);--font-weight-medium:var(--FontType-Medium);--font-weight-semibold:var(--FontType-SemiBold);--font-weight-bold:var(--FontType-Bold);--font-weight-extrabold:var(--FontType-ExtraBold);--font-weight-black:var(--FontType-Black);--colors-primitive-color-tokens-blue-50:#edf8ff;--colors-primitive-color-tokens-blue-100:#d2edff;--colors-primitive-color-tokens-blue-200:#b4e1ff;--colors-primitive-color-tokens-blue-300:#94d4ff;--colors-primitive-color-tokens-blue-400:#64b9f2;--colors-primitive-color-tokens-blue-500:#35a0e7;--colors-primitive-color-tokens-blue-600:#1a77b4;--colors-primitive-color-tokens-blue-700:#195f8e;--colors-primitive-color-tokens-blue-800:#024572;--colors-primitive-color-tokens-fuscia-50:#feecf6;--colors-primitive-color-tokens-fuscia-100:#ffdaef;--colors-primitive-color-tokens-fuscia-200:#ffaeda;--colors-primitive-color-tokens-fuscia-300:#f387c2;--colors-primitive-color-tokens-fuscia-400:#e65ca7;--colors-primitive-color-tokens-fuscia-500:#d72d8a;--colors-primitive-color-tokens-fuscia-600:#ac246e;--colors-primitive-color-tokens-fuscia-700:#811b53;--colors-primitive-color-tokens-fuscia-800:#561237;--colors-primitive-color-tokens-lime-50:#f0fae2;--colors-primitive-color-tokens-lime-100:#eeffd6;--colors-primitive-color-tokens-lime-200:#daf3b9;--colors-primitive-color-tokens-lime-300:#c5ed91;--colors-primitive-color-tokens-lime-400:#abdd65;--colors-primitive-color-tokens-lime-500:#92d03d;--colors-primitive-color-tokens-lime-600:#5e981d;--colors-primitive-color-tokens-lime-700:#578421;--colors-primitive-color-tokens-lime-800:#325b04;--colors-primitive-color-tokens-neutrals-bkg-50:#f9f9f6;--colors-primitive-color-tokens-neutrals-bkg-100:#f6f6f1;--colors-primitive-color-tokens-neutrals-bkg-200:#efeeea;--colors-primitive-color-tokens-neutrals-bkg-300:#e5e4dd;--colors-primitive-color-tokens-neutrals-bkg-400:#c3c1b5;--colors-primitive-color-tokens-neutrals-bkg-500:#959490;--colors-primitive-color-tokens-neutrals-bkg-600:#71706c;--colors-primitive-color-tokens-neutrals-bkg-700:#4b4b4a;--colors-primitive-color-tokens-neutrals-bkg-800:#303030;--colors-primitive-color-tokens-neutrals-inactive-50:#f4f8fb;--colors-primitive-color-tokens-neutrals-inactive-100:#eef2f6;--colors-primitive-color-tokens-neutrals-inactive-200:#d2dce6;--colors-primitive-color-tokens-neutrals-inactive-300:#b4c6d6;--colors-primitive-color-tokens-neutrals-inactive-400:#8ba1b9;--colors-primitive-color-tokens-neutrals-inactive-500:#6a809a;--colors-primitive-color-tokens-neutrals-inactive-600:#4b5867;--colors-primitive-color-tokens-neutrals-inactive-700:#2c3a4a;--colors-primitive-color-tokens-neutrals-inactive-800:#101725;--colors-primitive-color-tokens-neutrals-static-black:#000;--colors-primitive-color-tokens-neutrals-static-white:#fff;--colors-primitive-color-tokens-orange-50:#fff3e6;--colors-primitive-color-tokens-orange-100:#ffe9d3;--colors-primitive-color-tokens-orange-200:#ffd3b1;--colors-primitive-color-tokens-orange-300:#ffbe8d;--colors-primitive-color-tokens-orange-400:#ffa663;--colors-primitive-color-tokens-orange-500:#f27e25;--colors-primitive-color-tokens-orange-600:#b4530e;--colors-primitive-color-tokens-orange-700:#944b1d;--colors-primitive-color-tokens-orange-800:#6e3000;--colors-primitive-color-tokens-red-50:#ffeae9;--colors-primitive-color-tokens-red-100:#ffd3d2;--colors-primitive-color-tokens-red-200:#ffb0ae;--colors-primitive-color-tokens-red-300:#ff8884;--colors-primitive-color-tokens-red-400:#f1605b;--colors-primitive-color-tokens-red-500:#e73d36;--colors-primitive-color-tokens-red-600:#c9221c;--colors-primitive-color-tokens-red-700:#9a1712;--colors-primitive-color-tokens-red-800:#860501;--colors-primitive-color-tokens-teal-50:#edf8ff;--colors-primitive-color-tokens-teal-100:#d6fffb;--colors-primitive-color-tokens-teal-200:#b1f4ed;--colors-primitive-color-tokens-teal-300:#70e5dd;--colors-primitive-color-tokens-teal-400:#4ecfca;--colors-primitive-color-tokens-teal-500:#27bcb7;--colors-primitive-color-tokens-teal-600:#21a49f;--colors-primitive-color-tokens-teal-700:#118082;--colors-primitive-color-tokens-teal-800:#00575c;--colors-primitive-color-tokens-yellow-50:#fffaea;--colors-primitive-color-tokens-yellow-100:#fff4cd;--colors-primitive-color-tokens-yellow-200:#ffeaac;--colors-primitive-color-tokens-yellow-300:#ffda7f;--colors-primitive-color-tokens-yellow-400:#f7c544;--colors-primitive-color-tokens-yellow-500:#f3b51e;--colors-primitive-color-tokens-yellow-600:#d49a05;--colors-primitive-color-tokens-yellow-700:#976e00;--colors-primitive-color-tokens-yellow-800:#7c5300;--colors-buttons-primary-btn-primary-btn-bkg-default:var(--colors-primitive-color-tokens-teal-700);--colors-buttons-primary-btn-primary-btn-bkg-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-400);--colors-buttons-primary-btn-primary-btn-bkg-hover:var(--colors-primitive-color-tokens-teal-800);--colors-buttons-primary-btn-primary-btn-icon-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-primary-btn-primary-btn-icon-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-primary-btn-primary-btn-icon-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-primary-btn-primary-btn-label-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-primary-btn-primary-btn-label-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-primary-btn-primary-btn-label-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-secondary-btn-secondary-btn-bkg-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-secondary-btn-secondary-btn-bkg-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-400);--colors-buttons-secondary-btn-secondary-btn-bkg-hover:var(--colors-primitive-color-tokens-neutrals-bkg-600);--colors-buttons-secondary-btn-secondary-btn-border-default:var(--colors-primitive-color-tokens-teal-700);--colors-buttons-secondary-btn-secondary-btn-border-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-400);--colors-buttons-secondary-btn-secondary-btn-border-hover:var(--colors-primitive-color-tokens-neutrals-bkg-600);--colors-buttons-secondary-btn-secondary-btn-icon-default:var(--colors-primitive-color-tokens-neutrals-bkg-600);--colors-buttons-secondary-btn-secondary-btn-icon-disabled:var(--colors-primitive-color-tokens-teal-50);--colors-buttons-secondary-btn-secondary-btn-icon-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-secondary-btn-secondary-btn-label-default:var(--colors-primitive-color-tokens-neutrals-bkg-700);--colors-buttons-secondary-btn-secondary-btn-label-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-secondary-btn-secondary-btn-label-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-brand-btn-brand-btn-bkg-default:var(--colors-primitive-color-tokens-fuscia-500);--colors-buttons-brand-btn-brand-btn-bkg-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-400);--colors-buttons-brand-btn-brand-btn-bkg-hover:var(--colors-primitive-color-tokens-fuscia-800);--colors-buttons-brand-btn-brand-btn-icon-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-brand-btn-brand-btn-icon-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-brand-btn-brand-btn-icon-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-brand-btn-brand-btn-label-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-brand-btn-brand-btn-label-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-brand-btn-brand-btn-label-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-success-btn-brand-btn-bkg-default:var(--colors-primitive-color-tokens-lime-600);--colors-buttons-success-btn-brand-btn-bkg-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-400);--colors-buttons-success-btn-brand-btn-bkg-hover:var(--colors-primitive-color-tokens-lime-800);--colors-buttons-success-btn-brand-btn-icon-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-success-btn-brand-btn-icon-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-success-btn-brand-btn-icon-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-success-btn-brand-btn-label-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-success-btn-brand-btn-label-disabled:var(--colors-primitive-color-tokens-neutrals-inactive-100);--colors-buttons-success-btn-brand-btn-label-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-buttons-pill-badge-bkg-blue200:var(--colors-primitive-color-tokens-blue-100);--colors-buttons-pill-badge-bkg-fusia200:var(--colors-primitive-color-tokens-fuscia-100);--colors-buttons-pill-badge-bkg-lime200:var(--colors-primitive-color-tokens-lime-200);--colors-buttons-pill-badge-txt-pill-badge-label:var(--colors-primitive-color-tokens-neutrals-bkg-700);--Canvas:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-100);--Fusia:var(--Colors-PrimitiveColorTokens-Fuscia-500);--Plum:var(--Colors-PrimitiveColorTokens-Fuscia-800);--Colors-PrimitiveColorTokens-Neutrals-Bkg-50:#f9f9f6;--Colors-PrimitiveColorTokens-Neutrals-Bkg-100:#f6f6f1;--Colors-PrimitiveColorTokens-Neutrals-Bkg-200:#efeeea;--Colors-PrimitiveColorTokens-Neutrals-Bkg-300:#e5e4dd;--Colors-PrimitiveColorTokens-Neutrals-Bkg-400:#c3c1b5;--Colors-PrimitiveColorTokens-Neutrals-Bkg-500:#959490;--Colors-PrimitiveColorTokens-Neutrals-Bkg-600:#71706c;--Colors-PrimitiveColorTokens-Neutrals-Bkg-700:#4b4b4a;--Colors-PrimitiveColorTokens-Neutrals-Bkg-800:#303030;--Colors-PrimitiveColorTokens-Neutrals-Inactive-50:#f4f8fb;--Colors-PrimitiveColorTokens-Neutrals-Inactive-100:#eef2f6;--Colors-PrimitiveColorTokens-Neutrals-Inactive-200:#d2dce6;--Colors-PrimitiveColorTokens-Neutrals-Inactive-300:#b4c6d6;--Colors-PrimitiveColorTokens-Neutrals-Inactive-400:#8ba1b9;--Colors-PrimitiveColorTokens-Neutrals-Inactive-500:#6a809a;--Colors-PrimitiveColorTokens-Neutrals-Inactive-600:#4b5867;--Colors-PrimitiveColorTokens-Neutrals-Inactive-700:#2c3a4a;--Colors-PrimitiveColorTokens-Neutrals-Inactive-800:#101725;--Colors-PrimitiveColorTokens-Neutrals-StaticWhite:#fff;--Colors-PrimitiveColorTokens-Neutrals-StaticBlack:#000;--Colors-PrimitiveColorTokens-Purple-50:#fcf4fd;--Colors-PrimitiveColorTokens-Purple-100:#f8e6f9;--Colors-PrimitiveColorTokens-Purple-200:#f1c4f3;--Colors-PrimitiveColorTokens-Purple-300:#d795d9;--Colors-PrimitiveColorTokens-Purple-400:#b768b9;--Colors-PrimitiveColorTokens-Purple-500:#922d94;--Colors-PrimitiveColorTokens-Purple-600:#730f76;--Colors-PrimitiveColorTokens-Purple-700:#5c135d;--Colors-PrimitiveColorTokens-Purple-800:#3b053c;--Colors-PrimitiveColorTokens-Fuscia-50:#feecf6;--Colors-PrimitiveColorTokens-Fuscia-100:#ffdaef;--Colors-PrimitiveColorTokens-Fuscia-200:#ffaeda;--Colors-PrimitiveColorTokens-Fuscia-300:#f387c2;--Colors-PrimitiveColorTokens-Fuscia-400:#e65ca7;--Colors-PrimitiveColorTokens-Fuscia-500:#d72d8a;--Colors-PrimitiveColorTokens-Fuscia-600:#ac246e;--Colors-PrimitiveColorTokens-Fuscia-700:#811b53;--Colors-PrimitiveColorTokens-Fuscia-800:#561237;--Colors-PrimitiveColorTokens-Red-50:#ffeae9;--Colors-PrimitiveColorTokens-Red-100:#ffd3d2;--Colors-PrimitiveColorTokens-Red-200:#ffb0ae;--Colors-PrimitiveColorTokens-Red-300:#ff8884;--Colors-PrimitiveColorTokens-Red-400:#f1605b;--Colors-PrimitiveColorTokens-Red-500:#e73d36;--Colors-PrimitiveColorTokens-Red-600:#c9221c;--Colors-PrimitiveColorTokens-Red-700:#9a1712;--Colors-PrimitiveColorTokens-Red-800:#860501;--Colors-PrimitiveColorTokens-Yellow-50:#fffaea;--Colors-PrimitiveColorTokens-Yellow-100:#fff4cd;--Colors-PrimitiveColorTokens-Yellow-200:#ffeaac;--Colors-PrimitiveColorTokens-Yellow-300:#ffda7f;--Colors-PrimitiveColorTokens-Yellow-400:#f7c544;--Colors-PrimitiveColorTokens-Yellow-500:#f3b51e;--Colors-PrimitiveColorTokens-Yellow-600:#d49a05;--Colors-PrimitiveColorTokens-Yellow-700:#976e00;--Colors-PrimitiveColorTokens-Yellow-800:#7c5300;--Colors-PrimitiveColorTokens-Teal-50:#edf8ff;--Colors-PrimitiveColorTokens-Teal-100:#d6fffb;--Colors-PrimitiveColorTokens-Teal-200:#b1f4ed;--Colors-PrimitiveColorTokens-Teal-300:#70e5dd;--Colors-PrimitiveColorTokens-Teal-400:#4ecfca;--Colors-PrimitiveColorTokens-Teal-500:#27bcb7;--Colors-PrimitiveColorTokens-Teal-600:#21a49f;--Colors-PrimitiveColorTokens-Teal-700:#118082;--Colors-PrimitiveColorTokens-Teal-800:#00575c;--Colors-PrimitiveColorTokens-Blue-50:#edf8ff;--Colors-PrimitiveColorTokens-Blue-100:#d2edff;--Colors-PrimitiveColorTokens-Blue-200:#b4e1ff;--Colors-PrimitiveColorTokens-Blue-300:#94d4ff;--Colors-PrimitiveColorTokens-Blue-400:#64b9f2;--Colors-PrimitiveColorTokens-Blue-500:#35a0e7;--Colors-PrimitiveColorTokens-Blue-600:#1a77b4;--Colors-PrimitiveColorTokens-Blue-700:#195f8e;--Colors-PrimitiveColorTokens-Blue-800:#024572;--Colors-PrimitiveColorTokens-Orange-50:#fff3e6;--Colors-PrimitiveColorTokens-Orange-100:#ffe9d3;--Colors-PrimitiveColorTokens-Orange-200:#ffd3b1;--Colors-PrimitiveColorTokens-Orange-300:#ffbe8d;--Colors-PrimitiveColorTokens-Orange-400:#ffa663;--Colors-PrimitiveColorTokens-Orange-500:#f27e25;--Colors-PrimitiveColorTokens-Orange-600:#b4530e;--Colors-PrimitiveColorTokens-Orange-700:#944b1d;--Colors-PrimitiveColorTokens-Orange-800:#6e3000;--Colors-PrimitiveColorTokens-Lime-50:#f0fae2;--Colors-PrimitiveColorTokens-Lime-100:#eeffd6;--Colors-PrimitiveColorTokens-Lime-200:#daf3b9;--Colors-PrimitiveColorTokens-Lime-300:#c5ed91;--Colors-PrimitiveColorTokens-Lime-400:#abdd65;--Colors-PrimitiveColorTokens-Lime-500:#92d03d;--Colors-PrimitiveColorTokens-Lime-600:#5e981d;--Colors-PrimitiveColorTokens-Lime-700:#578421;--Colors-PrimitiveColorTokens-Lime-800:#325b04;--Colors-Buttons-PrimaryBtn-PrimaryBtn_Label_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Label_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Label_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Icon_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Icon_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Icon_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Bkg_Default:var(--Colors-PrimitiveColorTokens-Teal-700);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Bkg_Hover:var(--Colors-PrimitiveColorTokens-Teal-800);--Colors-Buttons-PrimaryBtn-PrimaryBtn_Bkg_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-400);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Label_Default:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-700);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Label_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Label_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Bkg_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Bkg_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-600);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Bkg_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-400);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Border_Default:var(--Colors-PrimitiveColorTokens-Teal-700);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Border_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-600);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Border_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-400);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Icon_Default:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-600);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Icon_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SecondaryBtn-SecondaryBtn_Icon_Disabled:var(--Colors-PrimitiveColorTokens-Teal-50);--Colors-Buttons-BrandBtn-BrandBtn_Label_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-BrandBtn-BrandBtn_Label_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-BrandBtn-BrandBtn_Label_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-BrandBtn-BrandBtn_Icon_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-BrandBtn-BrandBtn_Icon_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-BrandBtn-BrandBtn_Icon_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-BrandBtn-BrandBtn_Bkg_Default:var(--Colors-PrimitiveColorTokens-Fuscia-500);--Colors-Buttons-BrandBtn-BrandBtn_Bkg_Hover:var(--Colors-PrimitiveColorTokens-Fuscia-800);--Colors-Buttons-BrandBtn-BrandBtn_Bkg_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-400);--Colors-Buttons-SuccessBtn-BrandBtn_Label_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SuccessBtn-BrandBtn_Label_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SuccessBtn-BrandBtn_Label_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-SuccessBtn-BrandBtn_Icon_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SuccessBtn-BrandBtn_Icon_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Buttons-SuccessBtn-BrandBtn_Icon_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-100);--Colors-Buttons-SuccessBtn-BrandBtn_Bkg_Default:var(--Colors-PrimitiveColorTokens-Lime-600);--Colors-Buttons-SuccessBtn-BrandBtn_Bkg_Hover:var(--Colors-PrimitiveColorTokens-Lime-800);--Colors-Buttons-SuccessBtn-BrandBtn_Bkg_Disabled:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-400);--Colors-Buttons-Pill-Badge-Txt_Pill-Badge_Label:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-700);--Colors-Buttons-Pill-Badge-Bkg-Blue200:var(--Colors-PrimitiveColorTokens-Blue-100);--Colors-Buttons-Pill-Badge-Bkg-Fusia100:var(--Colors-PrimitiveColorTokens-Fuscia-100);--Colors-Buttons-Pill-Badge-Bkg-Lime200:var(--Colors-PrimitiveColorTokens-Lime-200);--Colors-Navigation-Other-Divider:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-200);--Colors-Navigation-Other-Txt_Sectionheader:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-500);--Colors-Navigation-Other-Txt_MenuLabels:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-700);--Colors-Navigation-Other-Txt_SubMenuLabels:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-600);--Colors-Navigation-Other-Bkg_ActiveCount:var(--Colors-PrimitiveColorTokens-Red-500);--Colors-Navigation-Other-Bkg_Panel:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Navigation-Other-Bkg_Menu_Hover:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-200);--Colors-Navigation-Other-Bkg_Menu_Selection:var(--Colors-PrimitiveColorTokens-Fuscia-50);--Colors-Functional-Border-Border_Default:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-400);--Colors-Functional-Border-Border_Focus:var(--Colors-PrimitiveColorTokens-Teal-600);--Colors-Functional-Bkg-Bkg_Default:var(--Colors-PrimitiveColorTokens-Neutrals-StaticWhite);--Colors-Functional-Txt-Txt_Default:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-800);--Colors-PrimitiveColorTokens-Brand-EVAA-EVAA-Canvas:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-100);--Colors-PrimitiveColorTokens-Brand-EVAA-EVAA-Fusia:var(--Colors-PrimitiveColorTokens-Fuscia-500);--Colors-PrimitiveColorTokens-Brand-EVAA-EVAA-Plum:var(--Colors-PrimitiveColorTokens-Fuscia-800);--Colors-PrimitiveColorTokens-Brand-MaximEyes-EVAA-Canvas:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-100);--Colors-PrimitiveColorTokens-Brand-MaximEyes-EVAA-Lime:#aee930;--Colors-PrimitiveColorTokens-Brand-MaximEyes-EVAA-InnerForest:#002515;--Colors-PrimitiveColorTokens-Brand-MaximEyes-EVAA-Springtime:#008a1e;--Colors-PrimitiveColorTokens-Brand-MaximEyes-EVAA-Goldenrod:#db9c42;--txt-ButtonLabelPrimary:DOWNLOAD;--txt-PrimaryButtonLabel14:DOWNLOAD;--ButtonCurves:25px;--PrimaryButtonDisabled:#a1a5ae;--ActiveStatusBG:#1a77b4;--ActiveStatusBadgeLabel:Active;--InputField-Stroke-Default:#d0cec3;--colors-badge-status-active-bkg:#1a77b4;--colors-badge-status-active-text:#fff;--colors-badge-status-active-icon:#fff;--colors-badge-status-inactive-bkg-light:#959490;--colors-badge-status-inactive-bkg-dark:#e5e4dd;--colors-badge-status-inactive-bkg:var(--colors-badge-status-inactive-bkg-light);--colors-badge-status-inactive-text:#fff;--colors-badge-status-inactive-icon:#fff;--colors-badge-pill-blue-bkg-light:#b4e1ff;--colors-badge-pill-blue-bkg-dark:#35a0e7;--colors-badge-pill-blue-bkg:var(--colors-badge-pill-blue-bkg-light);--colors-badge-pill-fusia-bkg-light:#ffdaef;--colors-badge-pill-fusia-bkg-dark:#811b53;--colors-badge-pill-fusia-bkg:var(--colors-badge-pill-fusia-bkg-light);--colors-badge-pill-lime-bkg-light:#daf3b9;--colors-badge-pill-lime-bkg-dark:#5e981d;--colors-badge-pill-lime-bkg:var(--colors-badge-pill-lime-bkg-light);--colors-badge-pill-text:var(--colors-primitive-color-tokens-neutrals-bkg-700);--colors-admin-nav-logo-brand:var(--colors-primitive-color-tokens-fuscia-500);--colors-admin-nav-dropdown-bkg:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-admin-nav-dropdown-border:var(--border);--colors-admin-nav-dropdown-text:var(--colors-primitive-color-tokens-neutrals-bkg-600);--colors-admin-nav-icon-help:var(--colors-primitive-color-tokens-fuscia-700);--colors-admin-nav-icon-setup:var(--colors-primitive-color-tokens-neutrals-bkg-500);--colors-admin-nav-icon-user:var(--colors-primitive-color-tokens-neutrals-bkg-500);--colors-admin-nav-icon-dropdown-arrow:var(--colors-primitive-color-tokens-neutrals-bkg-600);--colors-admin-nav-alert-warning:var(--colors-primitive-color-tokens-yellow-600);--colors-admin-nav-alert-error:var(--colors-primitive-color-tokens-red-500);--colors-admin-nav-alert-count-text:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-navigation-other-bkg-active-count:var(--colors-primitive-color-tokens-red-500);--colors-navigation-other-divider:var(--colors-primitive-color-tokens-neutrals-inactive-200);--colors-navigation-other-txt-menu-labels:var(--colors-primitive-color-tokens-neutrals-bkg-700);--colors-navigation-other-txt-sectionheader:var(--colors-primitive-color-tokens-neutrals-bkg-500);--colors-navigation-other-txt-sub-menu-labels:var(--colors-primitive-color-tokens-neutrals-bkg-600);--colors-navigation-icons-blue600:var(--colors-primitive-color-tokens-blue-600);--colors-navigation-icons-teal600:var(--colors-primitive-color-tokens-teal-700);--colors-navigation-icons-lime600:var(--colors-primitive-color-tokens-lime-600);--colors-navigation-icons-fusia600:var(--colors-primitive-color-tokens-fuscia-600);--colors-navigation-icons-gray-bkg-700:var(--colors-primitive-color-tokens-neutrals-bkg-700);--colors-navigation-text-primary:#374151;--colors-fusia-50:#fdf2f8;--colors-bkg-200:#f3f4f6;--colors-bkg-300:#e5e7eb;--colors-input-field-border-default:#d1d5db;--colors-input-field-border-hover:var(--colors-primitive-color-tokens-teal-400);--colors-input-field-border-focus:var(--colors-primitive-color-tokens-teal-500);--colors-input-field-border-disabled:#e5e7eb;--colors-input-field-border-readonly:var(--colors-primitive-color-tokens-blue-100);--colors-input-field-bkg-default:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-input-field-bkg-disabled:#f3f4f6;--colors-input-field-bkg-readonly:#edf8ff80;--colors-input-field-bkg-hover:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-input-field-bkg-focus:var(--colors-primitive-color-tokens-neutrals-static-white);--colors-input-field-text-default:#1f2937;--colors-input-field-text-placeholder:#9ca3af;--colors-input-field-text-disabled:#6b7280;--colors-input-field-text-label:#374151;--colors-input-field-text-helper:#9ca3af;--colors-input-field-text-counter:#9ca3af;--colors-input-field-border-error:#fca5a1;--colors-input-field-bkg-error:#fef2f2;--colors-input-field-text-error:#7f1d1d;--colors-input-field-text-helper-error:var(--colors-primitive-color-tokens-red-600);--colors-input-field-icon-error:var(--colors-primitive-color-tokens-red-500);--colors-input-field-prefix-bkg-default:#f9fafb;--colors-input-field-prefix-bkg-error:#fee2e2;--colors-input-field-prefix-border-default:#d1d5db;--colors-input-field-prefix-border-error:#fca5a1;--colors-input-field-prefix-text-default:#4b5563;--colors-input-field-prefix-text-error:var(--colors-primitive-color-tokens-red-500);--colors-input-field-icon-default:#6b7280;--colors-input-field-icon-disabled:#9ca3af;--input-field-height:40px;--input-field-padding-x:12px;--input-field-padding-y:10px;--input-field-prefix-padding-x:16px;--input-field-border-width:1px;--input-field-border-radius:var(--radius-md,8px);--colors-functional-bkg-bkg-active:var(--colors-primitive-color-tokens-teal-600);--colors-functional-bkg-bkg-info500:var(--colors-primitive-color-tokens-blue-500);--colors-functional-bkg-bkg-info100:var(--colors-primitive-color-tokens-blue-100);--colors-functional-bkg-bkg-success600:var(--colors-primitive-color-tokens-lime-600);--colors-functional-bkg-bkg-success100:var(--colors-primitive-color-tokens-lime-100);--colors-functional-bkg-bkg-warning-orange500:var(--colors-primitive-color-tokens-orange-500);--colors-functional-bkg-bkg-warning-orange100:var(--colors-primitive-color-tokens-orange-100);--colors-functional-bkg-bkg-error-red500:var(--colors-primitive-color-tokens-red-500);--colors-functional-bkg-bkg-error-red100:var(--colors-primitive-color-tokens-red-100);--colors-functional-txt-txt-default:var(--colors-primitive-color-tokens-neutrals-bkg-800);--colors-functional-txt-txt-info:var(--colors-primitive-color-tokens-blue-700);--colors-functional-txt-txt-success:var(--colors-primitive-color-tokens-lime-600);--colors-functional-txt-txt-warning-orange600:var(--colors-primitive-color-tokens-orange-600);--colors-functional-txt-txt-error:var(--colors-primitive-color-tokens-red-600);--colors-functional-txt-txt-selected-white:var(--colors-primitive-color-tokens-neutrals-static-white);--button-curves:1.5625rem;--spacing-xs:4px;--spacing-sm:8px;--spacing-md:16px;--spacing-lg:24px;--spacing-xl:32px;--background:#fff;--foreground:#303030;--card:#fff;--card-foreground:#4b4b4a;--popover:#e5e4dd;--popover-foreground:#303030;--primary:#118082;--primary-foreground:#fff;--secondary:#0000;--secondary-foreground:#4b4b4a;--muted:#d2dce6;--muted-foreground:#8ba1b9;--accent:#118082;--accent-foreground:#fff;--destructive:#e73d36;--destructive-foreground:#fff;--border:#c3c1b5;--input:#fff;--input-background:#fff;--ring:#21a49f;--elevation-sm:0px 2px 4px 0px #00000014;--chart-1:#118082;--chart-2:#92d03d;--chart-3:#f27e25;--chart-4:#d72d8a;--chart-5:#35a0e7;--radius:13px;--radius-button:999px;--radius-card:13px;--radius-small:4px;--sidebar:#f6f6f1;--sidebar-foreground:#4b4b4a;--sidebar-primary:#118082;--sidebar-primary-foreground:#fff;--sidebar-accent:#118082;--sidebar-accent-foreground:#fff;--sidebar-border:#c3c1b5;--sidebar-ring:#21a49f}:root,:host{--radius-md:var(--radius)}@layer base{*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}body{background-color:var(--background);color:var(--foreground);font-family:DM Sans,sans-serif}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h1{font-family:DM Sans,sans-serif;font-size:var(--text-h1);font-weight:var(--font-weight-thin);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h2{font-family:DM Sans,sans-serif;font-size:var(--text-h2);font-weight:var(--font-weight-semibold);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h3{font-family:DM Sans,sans-serif;font-size:var(--text-h3);font-weight:var(--font-weight-semibold);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h4{font-family:DM Sans,sans-serif;font-size:var(--text-h4);font-weight:var(--font-weight-semibold);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) p{font-family:DM Sans,sans-serif;font-size:var(--text-base);font-weight:var(--font-weight-normal);color:var(--colors-primitive-color-tokens-neutrals-bkg-800);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) label{font-family:DM Sans,sans-serif;font-size:var(--text-label);font-weight:var(--font-weight-medium);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) button{font-family:DM Sans,sans-serif;font-size:var(--text-button-primary);font-weight:var(--font-weight-extrabold);text-transform:uppercase;line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) input{font-family:DM Sans,sans-serif;font-size:var(--text-base);font-weight:var(--font-weight-normal);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) select{font-family:DM Sans,sans-serif;font-size:var(--text-base);font-weight:var(--font-weight-medium);line-height:1.5}}.large-number{font-family:Roboto,sans-serif;font-size:var(--text-large-number);font-weight:var(--font-weight-normal);line-height:1.5}.txt-display1-thin-80{font-family:DM Sans,sans-serif;font-size:80px;font-weight:var(--font-weight-thin);line-height:1.2}.txt-display2-thin-72{font-family:DM Sans,sans-serif;font-size:72px;font-weight:var(--font-weight-thin);line-height:1.2}.txt-display3-thin-64{font-family:DM Sans,sans-serif;font-size:64px;font-weight:var(--font-weight-thin);line-height:1.2}.txt-display4-thin-58{font-family:DM Sans,sans-serif;font-size:58px;font-weight:var(--font-weight-thin);line-height:1.2}.txt-display5-thin-48{font-family:DM Sans,sans-serif;font-size:48px;font-weight:var(--font-weight-thin);line-height:1.2}.txt-display6-thin-40{font-family:DM Sans,sans-serif;font-size:40px;font-weight:var(--font-weight-thin);line-height:1.2}.txt-h1-heading-Regular-30{font-family:DM Sans,sans-serif;font-size:30px;font-weight:var(--font-weight-normal);line-height:1.5}.txt-h2-heading-SemiBold-28{font-family:DM Sans,sans-serif;font-size:28px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-h3-heading-SemiBold-26{font-family:DM Sans,sans-serif;font-size:26px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-h4-heading-SemiBold-24{font-family:DM Sans,sans-serif;font-size:24px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-h5-heading-SemiBold-22{font-family:DM Sans,sans-serif;font-size:22px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-h6-heading-SemiBold-20{font-family:DM Sans,sans-serif;font-size:20px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-sb1-semibold-18{font-family:DM Sans,sans-serif;font-size:18px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-sb1-Extrabold-18{font-family:DM Sans,sans-serif;font-size:18px;font-weight:var(--font-weight-extrabold);line-height:1.5}.txt-sb2-semibold-16{font-family:DM Sans,sans-serif;font-size:16px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-sb2-Extrabold-16{font-family:DM Sans,sans-serif;font-size:16px;font-weight:var(--font-weight-extrabold);line-height:1.5}.txt-sb2-Medium-16{font-family:DM Sans,sans-serif;font-size:16px;font-weight:var(--font-weight-medium);line-height:1.5}.txt-sb3-black-14{font-family:DM Sans,sans-serif;font-size:14px;font-weight:var(--font-weight-black);line-height:1.5}.txt-sb3-extrabold-14{font-family:DM Sans,sans-serif;font-size:14px;font-weight:var(--font-weight-extrabold);line-height:1.5}.txt-sb3-semibold-14{font-family:DM Sans,sans-serif;font-size:14px;font-weight:var(--font-weight-semibold);line-height:1.5}.txt-sb3-medium-14{font-family:DM Sans,sans-serif;font-size:14px;font-weight:var(--font-weight-medium);line-height:1.5}.txt-sb3-regular-14{font-family:DM Sans,sans-serif;font-size:14px;font-weight:var(--font-weight-normal);line-height:1.5}.txt-fs-sm-medium-12{font-family:DM Sans,sans-serif;font-size:12px;font-weight:var(--font-weight-medium);line-height:1.5}.txt-fs-sm-Regular-12{font-family:DM Sans,sans-serif;font-size:12px;font-weight:var(--font-weight-normal);line-height:1.5}.txt-fs-xm-medium-10{font-family:DM Sans,sans-serif;font-size:10px;font-weight:var(--font-weight-medium);line-height:1.5}.txt-fs-xm-extrabold-10{font-family:DM Sans,sans-serif;font-size:10px;font-weight:var(--font-weight-extrabold);line-height:1.5}.txt-body-regular-14,.txt-paragraph-regular-14{font-family:DM Sans,sans-serif;font-size:14px;font-weight:var(--font-weight-normal);line-height:1.5}html{font-size:var(--font-size)}.base-button{font-family:var(--TypographyTypes-ButtonsTypography-Standard_Button-Family,"DM Sans", sans-serif);font-size:var(--TypographyTypes-ButtonsTypography-Standard_Button-Size,14px);font-weight:var(--TypographyTypes-ButtonsTypography-Standard_Button-Type,800);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;border:none;border-radius:999px;outline:none;justify-content:center;align-items:center;gap:8px;text-decoration:none;transition:all .2s ease-in-out;display:inline-flex}.base-button:disabled{cursor:not-allowed;opacity:.6}.base-button--md{height:48px;font-size:var(--FontSize-Size-16,16px);gap:8px;padding:12px 16px}.base-button--lg{height:72px;font-size:var(--FontSize-Size-18,18px);gap:12px;padding:20px 24px}.base-button--sm{height:35px;font-size:var(--FontSize-Size-14,14px);gap:4px;padding:10px 12px}.base-button--primary{background-color:var(--colors-buttons-primary-btn-primary-btn-bkg-default);color:var(--colors-buttons-primary-btn-primary-btn-label-default,white)}.base-button--primary:hover:not(:disabled){background-color:var(--colors-buttons-primary-btn-primary-btn-bkg-hover);color:var(--colors-buttons-primary-btn-primary-btn-label-hover,white)}.base-button--primary:disabled{background-color:var(--colors-buttons-primary-btn-primary-btn-bkg-disabled);color:var(--colors-buttons-primary-btn-primary-btn-label-disabled)}.base-button--brand{background-color:var(--colors-buttons-brand-btn-brand-btn-bkg-default);color:var(--colors-buttons-brand-btn-brand-btn-label-default,white)}.base-button--brand:hover:not(:disabled){background-color:var(--colors-buttons-brand-btn-brand-btn-bkg-hover);color:var(--colors-buttons-brand-btn-brand-btn-label-hover,white)}.base-button--brand:disabled{background-color:var(--colors-buttons-brand-btn-brand-btn-bkg-disabled);color:var(--colors-buttons-brand-btn-brand-btn-label-disabled)}.base-button--secondary{background-color:var(--colors-buttons-secondary-btn-secondary-btn-bkg-default,white);color:var(--colors-buttons-secondary-btn-secondary-btn-label-default);border:1px solid var(--colors-buttons-secondary-btn-secondary-btn-border-default)}.base-button--secondary:hover:not(:disabled){background-color:var(--colors-buttons-secondary-btn-secondary-btn-bkg-hover);color:var(--colors-buttons-secondary-btn-secondary-btn-label-hover,white);border:1px solid var(--colors-buttons-secondary-btn-secondary-btn-border-hover)}.base-button--secondary:disabled{background-color:var(--colors-buttons-secondary-btn-secondary-btn-bkg-disabled);color:var(--colors-buttons-secondary-btn-secondary-btn-label-disabled);border:1px solid var(--colors-buttons-secondary-btn-secondary-btn-border-disabled)}.base-button--success{background-color:var(--colors-buttons-success-btn-brand-btn-bkg-default);color:var(--colors-buttons-success-btn-brand-btn-label-default,white)}.base-button--success:hover:not(:disabled){background-color:var(--colors-buttons-success-btn-brand-btn-bkg-hover);color:var(--colors-buttons-success-btn-brand-btn-label-hover,white)}.base-button--success:disabled{background-color:var(--colors-buttons-success-btn-brand-btn-bkg-disabled);color:var(--colors-buttons-success-btn-brand-btn-label-disabled)}.base-button svg,.base-button i{flex-shrink:0;justify-content:center;align-items:center;display:flex}.base-button--md svg,.base-button--md i{width:24px;height:24px}.base-button--lg svg,.base-button--lg i{width:32px;height:32px}.base-button--sm svg,.base-button--sm i{width:20px;height:20px}.base-button--loading{pointer-events:none;position:relative;color:#0000!important}.base-button--loading .base-button__icon,.base-button--loading .base-button__label{visibility:hidden}.base-button__spinner{border:2px solid;border-top-color:#0000;border-radius:50%;width:1.5em;height:1.5em;animation:.6s linear infinite base-button-spin;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes base-button-spin{to{transform:translate(-50%,-50%)rotate(360deg)}}.checkbox-container{cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:flex-start;padding:10px;display:inline-flex}.checkbox-row{align-items:center;gap:10px;display:flex}.checkbox-box{box-sizing:border-box;background:var(--colors-primitive-color-tokens-neutrals-static-white,white);outline:1px var(--colors-primitive-color-tokens-neutrals-bkg-400,#c3c1b5) solid;outline-offset:-.5px;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;transition:all .2s ease-in-out;display:flex;position:relative}.checkbox-box--square{border-radius:2px}.checkbox-box--round{border-radius:9999px}.checkbox-box--checked{background:var(--colors-primitive-color-tokens-teal-700,#118082);outline:1px var(--colors-primitive-color-tokens-teal-700,#118082) solid}.checkbox-container:hover .checkbox-box:not(.checkbox-box--disabled):not(.checkbox-box--readonly),.checkbox-container--hover .checkbox-box{outline:1px var(--colors-primitive-color-tokens-neutrals-bkg-500,#959490) solid}.checkbox-box--disabled{background:var(--colors-primitive-color-tokens-neutrals-inactive-200,#d2dce6);outline:1px var(--colors-primitive-color-tokens-neutrals-inactive-300,#b4c6d6) solid;cursor:not-allowed}.checkbox-box--disabled.checkbox-box--checked{background:var(--colors-primitive-color-tokens-neutrals-inactive-400,#8ba1b9)}.checkbox-box--readonly{background:var(--colors-primitive-color-tokens-neutrals-inactive-200,#d2dce6);outline:1px var(--colors-primitive-color-tokens-neutrals-inactive-300,#b4c6d6) solid;cursor:default}.checkbox-box--readonly.checkbox-box--checked{background:var(--colors-primitive-color-tokens-neutrals-inactive-600,#4b5867)}.checkbox-container--focus .checkbox-label{color:var(--colors-primitive-color-tokens-teal-800,#00575c)}.checkbox-icon{width:12px;height:9px;color:var(--colors-primitive-color-tokens-neutrals-static-white,white);justify-content:center;align-items:center;display:flex}.checkbox-icon svg{width:100%;height:100%}.checkbox-label{word-wrap:break-word;color:var(--colors-primitive-color-tokens-neutrals-bkg-700,#4b4b4a);font-family:DM Sans,sans-serif;font-size:14px;font-weight:500;line-height:20.37px;transition:color .2s ease-in-out}.checkbox-label--disabled{color:var(--colors-primitive-color-tokens-neutrals-inactive-500,#6a809a)}.checkbox-label--readonly{color:var(--colors-primitive-color-tokens-neutrals-inactive-600,#4b5867)}.checkbox-subtext{color:var(--colors-primitive-color-tokens-neutrals-bkg-600,#71706c);word-wrap:break-word;margin-top:-2px;padding-left:26px;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400;line-height:20.37px}.datepicker{width:100%;max-width:250px;font-family:var(--FontFamily-Family,"DM Sans", sans-serif);flex-direction:column;gap:4px;display:inline-flex;position:relative}.datepicker__label-row{align-items:center;gap:4px;display:flex}.datepicker__label{color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a);font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-SemiBold,600);line-height:20.37px}.datepicker__required-star{justify-content:center;align-items:center;width:8px;height:8px;display:flex}.datepicker__input-wrapper{background:var(--Colors-Functional-Bkg-Bkg_Default,white);outline:1px var(--Colors-Functional-Border-Border_Default,#c3c1b5) solid;outline-offset:-1px;cursor:pointer;border-radius:13px;justify-content:space-between;align-items:center;gap:8px;min-width:200px;height:36px;padding:0 12px;transition:all .2s ease-in-out;display:flex;position:relative;overflow:hidden}.datepicker__input-wrapper:hover:not(.datepicker__input-wrapper--disabled):not(.datepicker__input-wrapper--readonly){outline:1px var(--colors-primitive-color-tokens-neutrals-bkg-500,#959490) solid}.datepicker__input-wrapper--focus{outline:1px var(--Colors-Functional-Border-Border_Focus,#21a49f) solid!important}.datepicker__input-wrapper--disabled{background:var(--colors-primitive-color-tokens-neutrals-inactive-100,#eef2f6);cursor:not-allowed;opacity:.6;outline:1px var(--colors-primitive-color-tokens-neutrals-inactive-300,#b4c6d6) solid}.datepicker__input-wrapper--readonly{background:var(--colors-primitive-color-tokens-neutrals-bkg-50,#f9f9f6);cursor:default;outline:1px var(--colors-primitive-color-tokens-neutrals-bkg-300,#e5e4dd) solid}.datepicker__placeholder{color:var(--Colors-Functional-Border-Border_Default,#c3c1b5);font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Medium,500);white-space:nowrap;text-overflow:ellipsis;flex:1;line-height:20.37px;overflow:hidden}.datepicker__value{color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a);font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Medium,500);white-space:nowrap;text-overflow:ellipsis;flex:1;line-height:20.37px;overflow:hidden}.datepicker__icon-wrapper{width:16px;height:16px;color:var(--Colors-Functional-Border-Border_Default,#c3c1b5);justify-content:center;align-items:center;display:flex}.datepicker__dropdown{z-index:1000;background:var(--Colors-Functional-Bkg-Bkg_Default,white);outline:1px var(--Colors-Functional-Border-Border_Default,#c3c1b5) solid;outline-offset:-1px;border-radius:13px;flex-direction:column;gap:12px;min-width:280px;padding:12px 10px;display:flex;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 4px 20px #00000014}.datepicker__dropdown--range{min-width:700px}.datepicker__dropdown-main{display:flex}.datepicker__calendar-container{flex:1;display:flex}.datepicker__calendar{flex-direction:column;flex:1;gap:12px;padding:0 12px;display:flex}.datepicker__header{justify-content:center;align-items:center;gap:8px;height:36px;display:flex}.datepicker__header-selectors{flex:1;gap:8px;display:flex}.datepicker__header-select{background:var(--Colors-Functional-Bkg-Bkg_Default,white);outline:1px var(--Colors-Functional-Border-Border_Default,#c3c1b5) solid;outline-offset:-1px;cursor:pointer;height:36px;font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-SemiBold,600);color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a);border-radius:13px;flex:1;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;transition:all .2s;display:flex}.datepicker__header-select:hover{outline:1px var(--Colors-Functional-Border-Border_Focus,#21a49f) solid}.datepicker__header-icon{color:var(--Colors-Functional-Border-Border_Default,#c3c1b5);justify-content:center;align-items:center;display:flex}.datepicker__weekdays{text-align:center;grid-template-columns:repeat(7,1fr);display:grid}.datepicker__weekday{width:36px;height:28px;font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Medium,500);color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a);justify-content:center;align-items:center;line-height:16px;display:flex}.datepicker__days{grid-template-columns:repeat(7,1fr);gap:0;display:grid}.datepicker__day{cursor:pointer;width:36px;height:28px;font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Regular,400);color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a);border-radius:4px;justify-content:center;align-items:center;line-height:20.37px;transition:all .2s;display:flex;position:relative}.datepicker__day:hover:not(.datepicker__day--disabled):not(.datepicker__day--selected){background:var(--Colors-Functional-Bkg-Bkg_Default,#f6f6f3)}.datepicker__day--disabled{cursor:not-allowed;color:var(--Colors-Functional-Label-Txt_Label_Disabled,#6a809a)!important}.datepicker--range .datepicker__day--selected{color:var(--colors-primitive-color-tokens-neutrals-static-white,#fff)!important;background:#21a49f!important}.datepicker--range .datepicker__day--in-range{background:#d6fffb;border-radius:0}.datepicker__day--selected{color:var(--Colors-Functional-Txt-Txt_Selected-White,white)!important;background:#21a49f!important}.datepicker__day--in-range{background:#d6fffb;border-radius:0}.datepicker__day-text{z-index:1}.datepicker__divider{outline:1px var(--Colors-Functional-Border-Border_Default,#c3c1b5) solid;outline-offset:-.3px;align-self:stretch;height:0}.datepicker__footer{flex-direction:column;display:flex}.datepicker__presets{flex-direction:column;gap:8px;min-width:140px;padding-right:8px;display:flex}.datepicker__preset{font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Regular,400);color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a);cursor:pointer;border-radius:4px;padding:5px 20px;line-height:20.37px;transition:all .2s}.datepicker__preset:hover{background:var(--Colors-Functional-Bkg-Bkg_Default,#f6f6f3)}.datepicker--range .datepicker__preset--active{font-weight:var(--FontType-SemiBold,600);color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a)!important;background:#d6fffb!important}.datepicker__preset--active{font-weight:var(--FontType-SemiBold,600);color:var(--Colors-Functional-Label-Txt_Label_Default,#4b4b4a)}.datepicker__vertical-divider{background:var(--Colors-Functional-Border-Border_Default,#c3c1b5);align-self:stretch;width:1px;min-height:100%;margin:-12px 0}.datepicker__vertical-divider--calendar{margin:0}.datepicker__actions{justify-content:flex-end;gap:8px;padding-top:12px;display:flex}.datepicker__button{height:40px;font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-ExtraBold,800);cursor:pointer;text-transform:uppercase;letter-spacing:.02em;border:none;border-radius:999px;justify-content:center;align-items:center;gap:4px;padding:0 16px;line-height:20.37px;transition:all .2s;display:flex}.datepicker__button--cancel{background:var(--Colors-Buttons-SecondaryBtn-SecondaryBtn_Bkg_Default,white);color:var(--Colors-Buttons-SecondaryBtn-SecondaryBtn_Label_Default,#4b4b4a);border:1px var(--Colors-Buttons-SecondaryBtn-SecondaryBtn_Border_Default,#118082) solid}.datepicker__button--cancel:hover{background:var(--Colors-Functional-Bkg-Bkg_Default,#f6f6f3)}.datepicker__button--apply{background:var(--Colors-Buttons-PrimaryBtn-PrimaryBtn_Bkg_Default,#118082);color:var(--Colors-Buttons-PrimaryBtn-PrimaryBtn_Label_Default,white)}.datepicker__button--apply:hover{background:var(--Colors-Buttons-PrimaryBtn-PrimaryBtn_Bkg_Hover,#00575c)}.datepicker__button--apply:disabled{background:var(--Colors-Buttons-PrimaryBtn-PrimaryBtn_Bkg_Disabled,#8ba1b9);cursor:not-allowed}.pill-badge{box-sizing:border-box;color:var(--Colors-Buttons-Pill-Badge-Txt_Pill-Badge_Label,#4b4b4a);border-radius:18px;justify-content:center;align-items:center;width:fit-content;padding:0 9px;font-family:DM Sans,sans-serif;transition:all .2s ease-in-out;display:inline-flex}.pill-badge--stacked{flex-direction:column;padding:5px}.pill-badge--blue{background-color:var(--Colors-Buttons-Pill-Badge-Bkg-Blue200,#d2edff)}.pill-badge--fuchsia{background-color:var(--Colors-Buttons-Pill-Badge-Bkg-Fusia100,#ffdaef)}.pill-badge--lime{background-color:var(--Colors-Buttons-Pill-Badge-Bkg-Lime200,#daf3b9)}.pill-badge--sm{height:24px;font-size:12px;font-weight:500;line-height:17.46px}.pill-badge--md{height:26px;font-size:14px;font-weight:600;line-height:20.37px}.pill-badge__title{text-align:center;flex-direction:column;justify-content:center;display:flex}.pill-badge--stacked .pill-badge__title--md{font-size:14px;font-weight:500;line-height:20.37px}.pill-badge--stacked .pill-badge__title--lg{font-size:16px;font-weight:500;line-height:23.28px}.pill-badge__subtext{text-align:center;flex-direction:column;justify-content:center;font-size:10px;font-weight:500;line-height:14.55px;display:flex}.progressbar{flex-direction:column;gap:4px;width:211px;display:flex}.progressbar--card{background:var(--colors-primitive-color-tokens-neutrals-bkg-200,#efeeea);border:1px solid var(--colors-primitive-color-tokens-neutrals-bkg-400,#c3c1b5);border-radius:10px;width:fit-content;padding:5px 10px}.progressbar--card .progressbar__track,.progressbar--card .progressbar__header,.progressbar--card .progressbar__footer{width:100%}.progressbar__header{justify-content:space-between;align-items:center;width:100%;display:flex}.progressbar__label{color:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-700,#4b4b4a);font-size:var(--FontSize-Size-12,12px);font-weight:var(--FontType-Medium,500);white-space:nowrap;text-overflow:ellipsis;width:131px;line-height:1.45;overflow:hidden}.progressbar__percentage{color:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-700,#4b4b4a);font-size:var(--FontSize-Size-12,12px);font-weight:var(--FontType-Medium,500);line-height:1.45}.progressbar__track{background:var(--Colors-PrimitiveColorTokens-Neutrals-Inactive-200,#d2dce6);border-radius:20px;align-items:center;width:100%;display:flex;position:relative;overflow:hidden}.progressbar__track--sm{height:4px}.progressbar__track--md{height:10px}.progressbar__track--lg{height:16px}.progressbar__fill{border-radius:20px;height:100%;transition:width .3s ease-in-out}.progressbar__fill--default{background:var(--colors-primitive-color-tokens-teal-700,#118082)}.progressbar__fill--high-usage{background:var(--colors-primitive-color-tokens-orange-500,#f27e25)}.progressbar__footer{justify-content:space-between;align-items:center;width:100%;height:17px;display:flex}.progressbar__used{color:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-600,#71706c);font-size:var(--FontSize-Size-12,12px);font-weight:var(--FontType-Medium,500);line-height:1.45}.progressbar__remaining{color:var(--Colors-PrimitiveColorTokens-Neutrals-Bkg-600,#71706c);font-size:var(--FontSize-Size-12,12px);font-weight:var(--FontType-Regular,400);line-height:1.45}.radio-button{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;gap:5px;display:inline-flex;position:relative}.radio-button--disabled,.radio-button--readonly{cursor:default}.radio-button__input{opacity:0;width:0;height:0;margin:0;position:absolute}.radio-button__wrapper{flex-shrink:0;width:16px;height:16px;margin-top:2px;position:relative}.radio-button__visual{width:100%;height:100%;cursor:inherit;display:block}.radio-button__outer-circle{background:var(--colors-primitive-color-tokens-neutrals-static-white,#fff);border:1px solid var(--colors-primitive-color-tokens-neutrals-bkg-400,#c3c1b5);box-sizing:border-box;border-radius:50%;place-items:center;width:16px;height:16px;line-height:0;transition:border-color .2s;display:grid;overflow:hidden}.radio-button:not(.radio-button--disabled):not(.radio-button--readonly):hover .radio-button__outer-circle{border-color:var(--colors-primitive-color-tokens-neutrals-bkg-500,#959490)}.radio-button__inner-circle{background:var(--colors-primitive-color-tokens-teal-700,#118082);border-radius:50%;flex-shrink:0;width:10px;height:10px;display:block}.radio-button__content{flex-direction:column;display:flex}.radio-button__label{color:var(--colors-primitive-color-tokens-neutrals-bkg-700,#4b4b4a);font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Medium,500);cursor:inherit;line-height:20.37px;transition:color .2s}.radio-button:not(.radio-button--disabled):not(.radio-button--readonly):hover .radio-button__label{color:var(--colors-primitive-color-tokens-teal-800,#00575c)}.radio-button__subtext{color:var(--colors-primitive-color-tokens-neutrals-bkg-700,#4b4b4a);font-size:var(--FontSize-Size-10,10px);font-weight:var(--FontType-Medium,500);line-height:14.55px}.radio-button--disabled .radio-button__outer-circle{background:var(--colors-primitive-color-tokens-neutrals-inactive-200,#d2dce6);border-color:var(--colors-primitive-color-tokens-neutrals-inactive-300,#b4c6d6)}.radio-button--disabled .radio-button__inner-circle{background:var(--colors-primitive-color-tokens-neutrals-inactive-400,#8ba1b9)}.radio-button--disabled .radio-button__label,.radio-button--disabled .radio-button__subtext{color:var(--colors-primitive-color-tokens-neutrals-inactive-500,#6a809a)}.radio-button--readonly .radio-button__outer-circle{background:var(--colors-primitive-color-tokens-neutrals-inactive-200,#d2dce6);border-color:var(--colors-primitive-color-tokens-neutrals-inactive-300,#b4c6d6)}.radio-button--readonly .radio-button__inner-circle{background:var(--colors-primitive-color-tokens-neutrals-inactive-600,#4b5867)}.radio-button--readonly .radio-button__label,.radio-button--readonly .radio-button__subtext{color:var(--colors-primitive-color-tokens-neutrals-inactive-600,#4b5867)}.search-box{box-sizing:border-box;align-items:center;transition:all .3s cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative}.search-box__wrapper{background:var(--colors-primitive-color-tokens-neutrals-static-white,#fff);border:1px solid var(--colors-primitive-color-tokens-neutrals-bkg-400,#c3c1b5);cursor:text;border-radius:13px;align-items:center;height:36px;padding:0 10px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.search-box--collapsed .search-box__wrapper{cursor:pointer;justify-content:center;width:36px;padding:0}.search-box--expanded .search-box__wrapper{width:415px;max-width:100%}.search-box:not(.search-box--disabled) .search-box__wrapper:hover{border-color:var(--colors-primitive-color-tokens-neutrals-bkg-500,#959490)}.search-box:not(.search-box--disabled):focus-within .search-box__wrapper{border-color:var(--colors-primitive-color-tokens-teal-600,#21a49f);box-shadow:0 0 0 4px #27bcb740}.search-box__icon-container{width:16px;height:16px;color:var(--colors-primitive-color-tokens-blue-600,#1a77b4);flex-shrink:0;justify-content:center;align-items:center;transition:color .2s;display:flex}.search-box__input{height:100%;font-size:var(--FontSize-Size-14,14px);font-weight:var(--FontType-Medium,500);color:var(--colors-primitive-color-tokens-neutrals-bkg-800,#303030);background:0 0;border:none;outline:none;flex:1;margin-left:8px;line-height:20.37px}.search-box__input::placeholder{color:var(--colors-primitive-color-tokens-neutrals-bkg-600,#71706c)}.search-box--disabled .search-box__wrapper{background:var(--colors-primitive-color-tokens-neutrals-inactive-200,#d2dce6);border-color:var(--colors-primitive-color-tokens-neutrals-inactive-300,#b4c6d6);cursor:default}.search-box--disabled .search-box__icon-container,.search-box--disabled .search-box__input,.search-box--disabled .search-box__input::placeholder{color:var(--colors-primitive-color-tokens-neutrals-inactive-400,#8ba1b9)}.state-badge{box-sizing:border-box;border-radius:24px;justify-content:center;align-items:center;gap:5px;width:fit-content;height:24px;padding:8px;font-family:DM Sans,sans-serif;transition:all .2s ease-in-out;display:inline-flex}.state-badge--active{background-color:var(--Colors-Buttons-Active-Inactive-Bkg_Active,#1a77b4)}.state-badge--inactive{background-color:var(--Colors-Buttons-Active-Inactive-Bkg_Inactive,#959490)}.state-badge__label{color:var(--Colors-Buttons-Active-Inactive-Txt_Label_Active,white);white-space:nowrap;flex-direction:column;justify-content:center;font-size:12px;font-weight:500;line-height:17.46px;display:flex}.state-badge__icon{width:12px;height:12px;color:var(--Colors-Functional-Input-Icons-Icon_White,white);flex-shrink:0;justify-content:center;align-items:center;display:flex}.state-badge__icon-placeholder{background-color:var(--Colors-Functional-Input-Icons-Icon_White,white);width:14px;height:14px;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
|
|
3
|
+
/*$vite$:1*/
|
package/dist/icons.svg
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<symbol id="bluesky-icon" viewBox="0 0 16 17">
|
|
3
|
+
<g clip-path="url(#bluesky-clip)"><path fill="#08060d" d="M7.75 7.735c-.693-1.348-2.58-3.86-4.334-5.097-1.68-1.187-2.32-.981-2.74-.79C.188 2.065.1 2.812.1 3.251s.241 3.602.398 4.13c.52 1.744 2.367 2.333 4.07 2.145-2.495.37-4.71 1.278-1.805 4.512 3.196 3.309 4.38-.71 4.987-2.746.608 2.036 1.307 5.91 4.93 2.746 2.72-2.746.747-4.143-1.747-4.512 1.702.189 3.55-.4 4.07-2.145.156-.528.397-3.691.397-4.13s-.088-1.186-.575-1.406c-.42-.19-1.06-.395-2.741.79-1.755 1.24-3.64 3.752-4.334 5.099"/></g>
|
|
4
|
+
<defs><clipPath id="bluesky-clip"><path fill="#fff" d="M.1.85h15.3v15.3H.1z"/></clipPath></defs>
|
|
5
|
+
</symbol>
|
|
6
|
+
<symbol id="discord-icon" viewBox="0 0 20 19">
|
|
7
|
+
<path fill="#08060d" d="M16.224 3.768a14.5 14.5 0 0 0-3.67-1.153c-.158.286-.343.67-.47.976a13.5 13.5 0 0 0-4.067 0c-.128-.306-.317-.69-.476-.976A14.4 14.4 0 0 0 3.868 3.77C1.546 7.28.916 10.703 1.231 14.077a14.7 14.7 0 0 0 4.5 2.306q.545-.748.965-1.587a9.5 9.5 0 0 1-1.518-.74q.191-.14.372-.293c2.927 1.369 6.107 1.369 8.999 0q.183.152.372.294-.723.437-1.52.74.418.838.963 1.588a14.6 14.6 0 0 0 4.504-2.308c.37-3.911-.63-7.302-2.644-10.309m-9.13 8.234c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.894 0 1.614.82 1.599 1.82.001 1-.705 1.82-1.6 1.82m5.91 0c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.893 0 1.614.82 1.599 1.82 0 1-.706 1.82-1.6 1.82"/>
|
|
8
|
+
</symbol>
|
|
9
|
+
<symbol id="documentation-icon" viewBox="0 0 21 20">
|
|
10
|
+
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="m15.5 13.333 1.533 1.322c.645.555.967.833.967 1.178s-.322.623-.967 1.179L15.5 18.333m-3.333-5-1.534 1.322c-.644.555-.966.833-.966 1.178s.322.623.966 1.179l1.534 1.321"/>
|
|
11
|
+
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M17.167 10.836v-4.32c0-1.41 0-2.117-.224-2.68-.359-.906-1.118-1.621-2.08-1.96-.599-.21-1.349-.21-2.848-.21-2.623 0-3.935 0-4.983.369-1.684.591-3.013 1.842-3.641 3.428C3 6.449 3 7.684 3 10.154v2.122c0 2.558 0 3.838.706 4.726q.306.383.713.671c.76.536 1.79.64 3.581.66"/>
|
|
12
|
+
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M3 10a2.78 2.78 0 0 1 2.778-2.778c.555 0 1.209.097 1.748-.047.48-.129.854-.503.982-.982.145-.54.048-1.194.048-1.749a2.78 2.78 0 0 1 2.777-2.777"/>
|
|
13
|
+
</symbol>
|
|
14
|
+
<symbol id="github-icon" viewBox="0 0 19 19">
|
|
15
|
+
<path fill="#08060d" fill-rule="evenodd" d="M9.356 1.85C5.05 1.85 1.57 5.356 1.57 9.694a7.84 7.84 0 0 0 5.324 7.44c.387.079.528-.168.528-.376 0-.182-.013-.805-.013-1.454-2.165.467-2.616-.935-2.616-.935-.349-.91-.864-1.143-.864-1.143-.71-.48.051-.48.051-.48.787.051 1.2.805 1.2.805.695 1.194 1.817.857 2.268.649.064-.507.27-.857.49-1.052-1.728-.182-3.545-.857-3.545-3.87 0-.857.31-1.558.8-2.104-.078-.195-.349-1 .077-2.078 0 0 .657-.208 2.14.805a7.5 7.5 0 0 1 1.946-.26c.657 0 1.328.092 1.946.26 1.483-1.013 2.14-.805 2.14-.805.426 1.078.155 1.883.078 2.078.502.546.799 1.247.799 2.104 0 3.013-1.818 3.675-3.558 3.87.284.247.528.714.528 1.454 0 1.052-.012 1.896-.012 2.156 0 .208.142.455.528.377a7.84 7.84 0 0 0 5.324-7.441c.013-4.338-3.48-7.844-7.773-7.844" clip-rule="evenodd"/>
|
|
16
|
+
</symbol>
|
|
17
|
+
<symbol id="social-icon" viewBox="0 0 20 20">
|
|
18
|
+
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M12.5 6.667a4.167 4.167 0 1 0-8.334 0 4.167 4.167 0 0 0 8.334 0"/>
|
|
19
|
+
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M2.5 16.667a5.833 5.833 0 0 1 8.75-5.053m3.837.474.513 1.035c.07.144.257.282.414.309l.93.155c.596.1.736.536.307.965l-.723.73a.64.64 0 0 0-.152.531l.207.903c.164.715-.213.991-.84.618l-.872-.52a.63.63 0 0 0-.577 0l-.872.52c-.624.373-1.003.094-.84-.618l.207-.903a.64.64 0 0 0-.152-.532l-.723-.729c-.426-.43-.289-.864.306-.964l.93-.156a.64.64 0 0 0 .412-.31l.513-1.034c.28-.562.735-.562 1.012 0"/>
|
|
20
|
+
</symbol>
|
|
21
|
+
<symbol id="x-icon" viewBox="0 0 19 19">
|
|
22
|
+
<path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
|
|
23
|
+
</symbol>
|
|
24
|
+
</svg>
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`react/jsx-runtime`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`react/jsx-runtime`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.DesignCheckUI={},e.React,e.jsxRuntime))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:r(s(e)),l(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)))(t);var u={fontFamily:`'DM Sans', sans-serif`},d=t.default.forwardRef(({className:e=``,variant:t=`primary`,size:r=`md`,isLoading:i=!1,leftIcon:a,rightIcon:o,children:s,disabled:c,style:l,...d},f)=>{let p=e=>typeof e==`string`&&!e.includes(`+`)?(0,n.jsx)(`i`,{className:`fa-solid fa-${e}`,"aria-hidden":`true`}):e;return(0,n.jsxs)(`button`,{ref:f,className:[`base-button`,`base-button--${t}`,`base-button--${r}`,i?`base-button--loading`:``,e].filter(Boolean).join(` `),disabled:c||i,style:{...u,...l},...d,children:[i&&(0,n.jsx)(`span`,{className:`base-button__spinner`,"aria-hidden":`true`}),a&&!i&&(0,n.jsx)(`span`,{className:`base-button__icon base-button__icon--left`,"aria-hidden":`true`,children:p(a)}),(0,n.jsx)(`span`,{className:`base-button__label`,children:s}),o&&!i&&(0,n.jsx)(`span`,{className:`base-button__icon base-button__icon--right`,"aria-hidden":`true`,children:p(o)})]})});d.displayName=`BaseButton`;var f={fontFamily:`'DM Sans', sans-serif`},p=t.default.forwardRef(({label:e=`Label`,subtext:t,variant:r=`square`,state:i=`default`,checked:a=!1,className:o=``,onChange:s,disabled:c,readOnly:l,...u},d)=>{let p=i===`disabled`||c,m=i===`readonly`||l,h=[`checkbox-container`,i===`focus`?`checkbox-container--focus`:``,i===`hover`?`checkbox-container--hover`:``,o].filter(Boolean).join(` `),g=[`checkbox-box`,`checkbox-box--${r}`,a?`checkbox-box--checked`:``,p?`checkbox-box--disabled`:``,m?`checkbox-box--readonly`:``].filter(Boolean).join(` `),_=[`checkbox-label`,p?`checkbox-label--disabled`:``,m?`checkbox-label--readonly`:``].filter(Boolean).join(` `);return(0,n.jsxs)(`label`,{className:h,style:f,children:[(0,n.jsxs)(`div`,{className:`checkbox-row`,children:[(0,n.jsx)(`input`,{ref:d,type:`checkbox`,checked:a,onChange:e=>{p||m||s&&s(e)},disabled:p,readOnly:m,style:{display:`none`},...u}),(0,n.jsx)(`div`,{className:g,children:a&&(0,n.jsx)(`div`,{className:`checkbox-icon`,children:(0,n.jsx)(`svg`,{width:`12`,height:`9`,viewBox:`0 0 12 9`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`path`,{d:`M1 4.5L4.5 8L11 1`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),(0,n.jsx)(`span`,{className:_,children:e})]}),t&&(0,n.jsx)(`div`,{className:`checkbox-subtext`,children:t})]})});p.displayName=`Checkbox`;var m={fontFamily:`'DM Sans', sans-serif`},h={Calendar:e=>(0,n.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,n.jsx)(`rect`,{x:`2`,y:`3`,width:`12`,height:`11`,rx:`2`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,n.jsx)(`path`,{d:`M2 7H14`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,n.jsx)(`path`,{d:`M5 2V4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`}),(0,n.jsx)(`path`,{d:`M11 2V4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]}),ChevronDown:e=>(0,n.jsx)(`svg`,{width:`10`,height:`6`,viewBox:`0 0 10 6`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,n.jsx)(`path`,{d:`M1 1L5 5L9 1`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Star:e=>(0,n.jsx)(`svg`,{width:`8`,height:`8`,viewBox:`0 0 8 8`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,n.jsx)(`path`,{d:`M4 0L4.8541 3.1459H8L5.44272 5L6.29682 8.1459L4 6.25L1.70318 8.1459L2.55728 5L0 3.1459H3.1459L4 0Z`,fill:`var(--colors-primitive-color-tokens-red-500, #E73D36)`})})},g=t.default.forwardRef(({label:e=`Label`,required:r=!1,placeholder:i=`Select Date`,value:a=``,onChange:o,className:s=``,mode:c=`single`,state:l=`default`,...u},d)=>{let[f,p]=(0,t.useState)(!1),[g,_]=(0,t.useState)(typeof a==`string`?a:``),[v,y]=(0,t.useState)(typeof a==`string`?a:``),[b,x]=(0,t.useState)(Array.isArray(a)?a:[``,``]),[S,C]=(0,t.useState)(Array.isArray(a)?a:[``,``]);(0,t.useEffect)(()=>{if(typeof a==`string`){if(_(a),y(a),a){let e=new Date(a);isNaN(e.getTime())||(T(e.getMonth()),D(e.getFullYear()))}}else if(Array.isArray(a)&&(x(a),C(a),a[0])){let e=new Date(a[0]);isNaN(e.getTime())||(T(e.getMonth()),D(e.getFullYear()))}},[a]);let[w,T]=(0,t.useState)(new Date().getMonth()),[E,D]=(0,t.useState)(new Date().getFullYear()),[O,k]=(0,t.useState)(!1),[A,j]=(0,t.useState)(!1),[M,N]=(0,t.useState)(null),P=(0,t.useRef)(null);t.default.useImperativeHandle(d,()=>P.current);let F=c===`range`,I=l===`disabled`,L=l===`readonly`,R=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],z=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],B=[{label:`Today`,getValue:()=>{let e=new Date().toISOString().split(`T`)[0];return[e,e]}},{label:`Yesterday`,getValue:()=>{let e=new Date;e.setDate(e.getDate()-1);let t=e.toISOString().split(`T`)[0];return[t,t]}},{label:`Last 7 days`,getValue:()=>{let e=new Date,t=new Date;return t.setDate(e.getDate()-6),[t.toISOString().split(`T`)[0],e.toISOString().split(`T`)[0]]}},{label:`Last 14 days`,getValue:()=>{let e=new Date,t=new Date;return t.setDate(e.getDate()-13),[t.toISOString().split(`T`)[0],e.toISOString().split(`T`)[0]]}},{label:`Custom`,getValue:()=>[``,``]}];(0,t.useEffect)(()=>{let e=e=>{P.current&&!P.current.contains(e.target)&&p(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let V=()=>{I||L||(f||(y(g),C(b),k(!1),j(!1)),p(!f))},H=(e,t)=>{if(!t)if(F)if(!S[0]||S[0]&&S[1])C([e,``]),N(null);else{let t=new Date(S[0]);C(new Date(e)<t?[e,S[0]]:[S[0],e]),N(null)}else y(e)},U=e=>{let t=e.getValue();if(C(t),N(null),t[0]){let e=new Date(t[0]);T(e.getMonth()),D(e.getFullYear())}},W=e=>{e.stopPropagation(),F?(x(S),o&&o(S)):(_(v),o&&o(v)),p(!1)},G=e=>{e.stopPropagation(),F?C(b):y(g),p(!1)},K=(e,t,r=!1)=>{let i=new Date(t,e,1).getDay(),a=new Date(t,e+1,0).getDate(),o=new Date(t,e,0).getDate(),s=i===0?6:i-1,c=[];for(let n=s-1;n>=0;n--){let r=o-n,i=e===0?11:e-1,a=e===0?t-1:t;c.push({day:r,month:i,year:a,currentMonth:!1})}for(let n=1;n<=a;n++)c.push({day:n,month:e,year:t,currentMonth:!0});let l=42-c.length;for(let n=1;n<=l;n++){let r=e===11?0:e+1,i=e===11?t+1:t;c.push({day:n,month:r,year:i,currentMonth:!1})}let u=[],d=new Date().getFullYear();for(let e=d-10;e<=d+10;e++)u.push(e);return(0,n.jsxs)(`div`,{className:`datepicker__calendar`,children:[(0,n.jsx)(`div`,{className:`datepicker__header`,children:(0,n.jsxs)(`div`,{className:`datepicker__header-selectors`,children:[(0,n.jsxs)(`div`,{className:`datepicker__header-select`,onClick:e=>{e.stopPropagation(),r||(k(!O),j(!1))},style:{position:`relative`},children:[z[e],(0,n.jsx)(`span`,{className:`datepicker__header-icon`,children:(0,n.jsx)(h.ChevronDown,{})}),!r&&O&&(0,n.jsx)(`div`,{className:`datepicker__select-dropdown`,style:{position:`absolute`,top:`100%`,left:0,width:`100%`,maxHeight:`200px`,overflowY:`auto`,background:`var(--Colors-Functional-Bkg-Bkg_Default, white)`,border:`1px solid var(--Colors-Functional-Border-Border_Default, #C3C1B5)`,borderRadius:`8px`,zIndex:10,boxShadow:`0 4px 12px rgba(0,0,0,0.1)`},children:z.map((t,r)=>(0,n.jsx)(`div`,{className:`datepicker__select-option`,style:{padding:`8px 12px`,cursor:`pointer`,background:e===r?`var(--Colors-Functional-Bkg-Bkg_Default, #F6F6F3)`:`transparent`,fontSize:`14px`},onClick:e=>{e.stopPropagation(),T(r),k(!1)},children:t},t))})]}),(0,n.jsxs)(`div`,{className:`datepicker__header-select`,onClick:e=>{e.stopPropagation(),r||(j(!A),k(!1))},style:{position:`relative`},children:[t,(0,n.jsx)(`span`,{className:`datepicker__header-icon`,children:(0,n.jsx)(h.ChevronDown,{})}),!r&&A&&(0,n.jsx)(`div`,{className:`datepicker__select-dropdown`,style:{position:`absolute`,top:`100%`,left:0,width:`100%`,maxHeight:`200px`,overflowY:`auto`,background:`var(--Colors-Functional-Bkg-Bkg_Default, white)`,border:`1px solid var(--Colors-Functional-Border-Border_Default, #C3C1B5)`,borderRadius:`8px`,zIndex:10,boxShadow:`0 4px 12px rgba(0,0,0,0.1)`},children:u.map(e=>(0,n.jsx)(`div`,{className:`datepicker__select-option`,style:{padding:`8px 12px`,cursor:`pointer`,background:t===e?`var(--Colors-Functional-Bkg-Bkg_Default, #F6F6F3)`:`transparent`,fontSize:`14px`},onClick:t=>{t.stopPropagation(),D(e),j(!1)},children:e},e))})]})]})}),!F&&(0,n.jsx)(`div`,{className:`datepicker__divider`}),(0,n.jsx)(`div`,{className:`datepicker__weekdays`,children:R.map(e=>(0,n.jsx)(`div`,{className:`datepicker__weekday`,children:e},e))}),(0,n.jsx)(`div`,{className:`datepicker__days`,onMouseLeave:()=>N(null),children:c.map((e,t)=>{let r=`${e.year}-${(e.month+1).toString().padStart(2,`0`)}-${e.day.toString().padStart(2,`0`)}`,i=F?S[0]===r||S[1]===r:v===r,a=!1;if(F&&S[0]){let e=new Date(S[0]),t=S[1]?new Date(S[1]):M?new Date(M):null,n=new Date(r);t&&(a=n>(e<t?e:t)&&n<(e<t?t:e))}return(0,n.jsx)(`div`,{className:`datepicker__day ${e.currentMonth?``:`datepicker__day--disabled`} ${i?`datepicker__day--selected`:``} ${a?`datepicker__day--in-range`:``}`,onClick:t=>{t.stopPropagation(),H(r,!e.currentMonth)},onMouseEnter:()=>{F&&S[0]&&!S[1]&&N(r)},children:(0,n.jsx)(`div`,{className:`datepicker__day-text`,children:e.day})},t)})})]})},q=(0,t.useMemo)(()=>F?b[0]&&b[1]?`${b[0]} - ${b[1]}`:b[0]?`${b[0]} - ...`:``:g,[F,b,g]),J=[`datepicker`,F?`datepicker--range`:``,s].filter(Boolean).join(` `),Y=[`datepicker__input-wrapper`,f?`datepicker__input-wrapper--focus`:``,`datepicker__input-wrapper--${l}`,I?`datepicker__input-wrapper--disabled`:``,L?`datepicker__input-wrapper--readonly`:``].filter(Boolean).join(` `);return(0,n.jsxs)(`div`,{className:J,ref:P,style:m,...u,children:[e&&(0,n.jsxs)(`div`,{className:`datepicker__label-row`,children:[(0,n.jsx)(`span`,{className:`datepicker__label`,children:e}),r&&(0,n.jsx)(`span`,{className:`datepicker__required-star`,children:(0,n.jsx)(h.Star,{})})]}),(0,n.jsxs)(`div`,{className:Y,onClick:V,children:[q?(0,n.jsx)(`span`,{className:`datepicker__value`,children:q}):(0,n.jsx)(`span`,{className:`datepicker__placeholder`,children:i}),(0,n.jsx)(`span`,{className:`datepicker__icon-wrapper`,children:(0,n.jsx)(h.Calendar,{})})]}),f&&(0,n.jsx)(`div`,{className:`datepicker__dropdown ${F?`datepicker__dropdown--range`:``}`,onClick:e=>e.stopPropagation(),children:F?(0,n.jsxs)(`div`,{style:{display:`flex`,flex:1},children:[(0,n.jsx)(`div`,{className:`datepicker__presets`,children:B.map(e=>(0,n.jsx)(`div`,{className:`datepicker__preset ${JSON.stringify(S)===JSON.stringify(e.getValue())?`datepicker__preset--active`:``}`,onClick:()=>U(e),children:e.label},e.label))}),(0,n.jsx)(`div`,{className:`datepicker__vertical-divider`}),(0,n.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,flex:1},children:[(0,n.jsxs)(`div`,{className:`datepicker__calendar-container`,children:[K(w,E,!1),(0,n.jsx)(`div`,{className:`datepicker__vertical-divider datepicker__vertical-divider--calendar`}),K(w===11?0:w+1,w===11?E+1:E,!0)]}),(0,n.jsxs)(`div`,{className:`datepicker__footer`,children:[(0,n.jsx)(`div`,{className:`datepicker__divider`}),(0,n.jsxs)(`div`,{className:`datepicker__actions`,children:[(0,n.jsx)(`button`,{className:`datepicker__button datepicker__button--cancel`,onClick:G,children:`CANCEL`}),(0,n.jsx)(`button`,{className:`datepicker__button datepicker__button--apply`,onClick:W,disabled:!S[0]||!S[1],children:`APPLY`})]})]})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:`datepicker__dropdown-main`,children:(0,n.jsx)(`div`,{className:`datepicker__calendar-container`,children:K(w,E,!1)})}),(0,n.jsxs)(`div`,{className:`datepicker__footer`,children:[(0,n.jsx)(`hr`,{}),(0,n.jsxs)(`div`,{className:`datepicker__actions`,children:[(0,n.jsx)(`button`,{className:`datepicker__button datepicker__button--cancel`,onClick:G,children:`CANCEL`}),(0,n.jsx)(`button`,{className:`datepicker__button datepicker__button--apply`,onClick:W,disabled:!v,children:`APPLY`})]})]})]})})]})});g.displayName=`DatePicker`;var _={fontFamily:`'DM Sans', sans-serif`},v=t.default.forwardRef(({className:e=``,variant:t=`blue`,size:r=`md`,stacked:i=!1,subtext:a,children:o,style:s,...c},l)=>{let u=[`pill-badge`,`pill-badge--${t}`,i?`pill-badge--stacked`:`pill-badge--${r===`lg`?`md`:r}`,e].filter(Boolean).join(` `),d=r===`lg`?`pill-badge__title--lg`:`pill-badge__title--md`;return(0,n.jsxs)(`div`,{ref:l,className:u,style:{..._,...s},...c,children:[(0,n.jsx)(`div`,{className:`pill-badge__title ${i?d:``}`,children:o}),i&&a&&(0,n.jsx)(`div`,{className:`pill-badge__subtext`,children:a})]})});v.displayName=`PillBadge`;var y={fontFamily:`'DM Sans', sans-serif`},b=t.default.forwardRef(({label:e,percentage:t=0,usedText:r,remainingText:i,variant:a=`default`,size:o=`sm`,withCard:s=!1,width:c,className:l=``,style:u,...d},f)=>{let p=Math.max(0,Math.min(100,t)),m=[`progressbar`,s?`progressbar--card`:``,l].filter(Boolean).join(` `),h=[`progressbar__track`,`progressbar__track--${o}`].join(` `),g=[`progressbar__fill`,`progressbar__fill--${a}`].join(` `);return(0,n.jsxs)(`div`,{ref:f,className:m,style:{...y,width:c,...u},...d,children:[(e||t!==void 0)&&(0,n.jsxs)(`div`,{className:`progressbar__header`,children:[e&&(0,n.jsx)(`span`,{className:`progressbar__label`,children:e}),t!==void 0&&(0,n.jsxs)(`span`,{className:`progressbar__percentage`,children:[p,`%`]})]}),(0,n.jsx)(`div`,{className:h,children:(0,n.jsx)(`div`,{className:g,style:{width:`${p}%`}})}),(r||i)&&(0,n.jsxs)(`div`,{className:`progressbar__footer`,children:[r&&(0,n.jsx)(`span`,{className:`progressbar__used`,children:r}),i&&(0,n.jsx)(`span`,{className:`progressbar__remaining`,children:i})]})]})});b.displayName=`ProgressBar`;var x={fontFamily:`"DM Sans", sans-serif`},S=t.default.forwardRef(({label:e,subtext:t,checked:r,disabled:i,readOnly:a=!1,className:o=``,id:s,...c},l)=>{let u=s||`radio-${Math.random().toString(36).substring(2,9)}`;return(0,n.jsxs)(`div`,{className:[`radio-button`,r?`radio-button--checked`:``,i?`radio-button--disabled`:``,a?`radio-button--readonly`:``,o].filter(Boolean).join(` `),style:x,children:[(0,n.jsxs)(`div`,{className:`radio-button__wrapper`,children:[(0,n.jsx)(`input`,{ref:l,type:`radio`,id:u,className:`radio-button__input`,checked:r,disabled:i||a,...c}),(0,n.jsx)(`label`,{htmlFor:u,className:`radio-button__visual`,children:(0,n.jsx)(`span`,{className:`radio-button__outer-circle`,children:r&&(0,n.jsx)(`span`,{className:`radio-button__inner-circle`})})})]}),(e||t)&&(0,n.jsxs)(`div`,{className:`radio-button__content`,children:[e&&(0,n.jsx)(`label`,{htmlFor:u,className:`radio-button__label`,children:e}),t&&(0,n.jsx)(`span`,{className:`radio-button__subtext`,children:t})]})]})});S.displayName=`RadioButton`;var C={fontFamily:`"DM Sans", sans-serif`},w=t.default.forwardRef(({collapsible:e=!1,className:r=``,disabled:i,placeholder:a=`Search by whatever thing...`,onSearch:o,...s},c)=>{let[l,u]=(0,t.useState)(!e),[d,f]=(0,t.useState)(``),p=(0,t.useRef)(null);return(0,t.useEffect)(()=>{u(!e)},[e]),(0,t.useEffect)(()=>{if(!e)return;let t=e=>{p.current&&!p.current.contains(e.target)&&d===``&&u(!1)};return document.addEventListener(`mousedown`,t),()=>document.removeEventListener(`mousedown`,t)},[e,d]),(0,n.jsx)(`div`,{className:[`search-box`,e?`search-box--collapsible`:``,l?`search-box--expanded`:`search-box--collapsed`,i?`search-box--disabled`:``,r].filter(Boolean).join(` `),style:C,ref:p,children:(0,n.jsxs)(`div`,{className:`search-box__wrapper`,onClick:()=>{e&&!i&&u(!l)},children:[(0,n.jsx)(`div`,{className:`search-box__icon-container`,children:(0,n.jsxs)(`svg`,{className:`search-box__icon`,width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,n.jsx)(`path`,{d:`M11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5Z`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,n.jsx)(`path`,{d:`M10 10L14 14`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})]})}),l&&(0,n.jsx)(`input`,{ref:c,type:`text`,className:`search-box__input`,placeholder:a,value:d,disabled:i,onChange:e=>{f(e.target.value),s.onChange&&s.onChange(e)},onKeyDown:e=>{e.key===`Enter`&&o&&o(d),s.onKeyDown&&s.onKeyDown(e)},autoFocus:e&&l,...s})]})})});w.displayName=`SearchBox`;var T={fontFamily:`'DM Sans', sans-serif`},E=e=>{switch(e){case`plus`:return(0,n.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`path`,{d:`M7 2.91666V11.0833M2.91666 7H11.0833`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})});case`check`:return(0,n.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`path`,{d:`M11.6667 3.5L5.25 9.91667L2.33333 7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})});case`chevron-down`:return(0,n.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`path`,{d:`M3.5 5.25L7 8.75L10.5 5.25`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})});case`arrow-right`:return(0,n.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`path`,{d:`M2.91666 7H11.0833M11.0833 7L7.58333 3.5M11.0833 7L7.58333 10.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})});default:return null}},D=t.default.forwardRef(({className:e=``,variant:t=`active`,icon:r,children:i,style:a,...o},s)=>{let c=[`state-badge`,`state-badge--${t}`,e].filter(Boolean).join(` `),l=()=>{if(!r)return null;if(typeof r==`string`){let e=E(r);return e?(0,n.jsx)(`span`,{className:`state-badge__icon`,children:e}):null}return(0,n.jsx)(`span`,{className:`state-badge__icon`,children:r})};return(0,n.jsxs)(`div`,{ref:s,className:c,style:{...T,...a},...o,children:[l(),(0,n.jsx)(`div`,{className:`state-badge__label`,children:i})]})});D.displayName=`StateBadge`,e.BaseButton=d,e.Checkbox=p,e.DatePicker=g,e.PillBadge=v,e.ProgressBar=b,e.RadioButton=S,e.SearchBox=w,e.StateBadge=D});
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,842 @@
|
|
|
1
|
+
import e, { useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
|
|
2
|
+
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/BaseButton.tsx
|
|
4
|
+
var c = { fontFamily: "'DM Sans', sans-serif" }, l = e.forwardRef(({ className: e = "", variant: t = "primary", size: n = "md", isLoading: r = !1, leftIcon: i, rightIcon: a, children: l, disabled: u, style: d, ...f }, p) => {
|
|
5
|
+
let m = (e) => typeof e == "string" && !e.includes("+") ? /* @__PURE__ */ o("i", {
|
|
6
|
+
className: `fa-solid fa-${e}`,
|
|
7
|
+
"aria-hidden": "true"
|
|
8
|
+
}) : e;
|
|
9
|
+
return /* @__PURE__ */ s("button", {
|
|
10
|
+
ref: p,
|
|
11
|
+
className: [
|
|
12
|
+
"base-button",
|
|
13
|
+
`base-button--${t}`,
|
|
14
|
+
`base-button--${n}`,
|
|
15
|
+
r ? "base-button--loading" : "",
|
|
16
|
+
e
|
|
17
|
+
].filter(Boolean).join(" "),
|
|
18
|
+
disabled: u || r,
|
|
19
|
+
style: {
|
|
20
|
+
...c,
|
|
21
|
+
...d
|
|
22
|
+
},
|
|
23
|
+
...f,
|
|
24
|
+
children: [
|
|
25
|
+
r && /* @__PURE__ */ o("span", {
|
|
26
|
+
className: "base-button__spinner",
|
|
27
|
+
"aria-hidden": "true"
|
|
28
|
+
}),
|
|
29
|
+
i && !r && /* @__PURE__ */ o("span", {
|
|
30
|
+
className: "base-button__icon base-button__icon--left",
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
children: m(i)
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ o("span", {
|
|
35
|
+
className: "base-button__label",
|
|
36
|
+
children: l
|
|
37
|
+
}),
|
|
38
|
+
a && !r && /* @__PURE__ */ o("span", {
|
|
39
|
+
className: "base-button__icon base-button__icon--right",
|
|
40
|
+
"aria-hidden": "true",
|
|
41
|
+
children: m(a)
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
l.displayName = "BaseButton";
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/Checkbox.tsx
|
|
49
|
+
var u = { fontFamily: "'DM Sans', sans-serif" }, d = e.forwardRef(({ label: e = "Label", subtext: t, variant: n = "square", state: r = "default", checked: i = !1, className: a = "", onChange: c, disabled: l, readOnly: d, ...f }, p) => {
|
|
50
|
+
let m = r === "disabled" || l, h = r === "readonly" || d, g = [
|
|
51
|
+
"checkbox-container",
|
|
52
|
+
r === "focus" ? "checkbox-container--focus" : "",
|
|
53
|
+
r === "hover" ? "checkbox-container--hover" : "",
|
|
54
|
+
a
|
|
55
|
+
].filter(Boolean).join(" "), _ = [
|
|
56
|
+
"checkbox-box",
|
|
57
|
+
`checkbox-box--${n}`,
|
|
58
|
+
i ? "checkbox-box--checked" : "",
|
|
59
|
+
m ? "checkbox-box--disabled" : "",
|
|
60
|
+
h ? "checkbox-box--readonly" : ""
|
|
61
|
+
].filter(Boolean).join(" "), v = [
|
|
62
|
+
"checkbox-label",
|
|
63
|
+
m ? "checkbox-label--disabled" : "",
|
|
64
|
+
h ? "checkbox-label--readonly" : ""
|
|
65
|
+
].filter(Boolean).join(" ");
|
|
66
|
+
return /* @__PURE__ */ s("label", {
|
|
67
|
+
className: g,
|
|
68
|
+
style: u,
|
|
69
|
+
children: [/* @__PURE__ */ s("div", {
|
|
70
|
+
className: "checkbox-row",
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ o("input", {
|
|
73
|
+
ref: p,
|
|
74
|
+
type: "checkbox",
|
|
75
|
+
checked: i,
|
|
76
|
+
onChange: (e) => {
|
|
77
|
+
m || h || c && c(e);
|
|
78
|
+
},
|
|
79
|
+
disabled: m,
|
|
80
|
+
readOnly: h,
|
|
81
|
+
style: { display: "none" },
|
|
82
|
+
...f
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ o("div", {
|
|
85
|
+
className: _,
|
|
86
|
+
children: i && /* @__PURE__ */ o("div", {
|
|
87
|
+
className: "checkbox-icon",
|
|
88
|
+
children: /* @__PURE__ */ o("svg", {
|
|
89
|
+
width: "12",
|
|
90
|
+
height: "9",
|
|
91
|
+
viewBox: "0 0 12 9",
|
|
92
|
+
fill: "none",
|
|
93
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
94
|
+
children: /* @__PURE__ */ o("path", {
|
|
95
|
+
d: "M1 4.5L4.5 8L11 1",
|
|
96
|
+
stroke: "currentColor",
|
|
97
|
+
strokeWidth: "1.5",
|
|
98
|
+
strokeLinecap: "round",
|
|
99
|
+
strokeLinejoin: "round"
|
|
100
|
+
})
|
|
101
|
+
})
|
|
102
|
+
})
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ o("span", {
|
|
105
|
+
className: v,
|
|
106
|
+
children: e
|
|
107
|
+
})
|
|
108
|
+
]
|
|
109
|
+
}), t && /* @__PURE__ */ o("div", {
|
|
110
|
+
className: "checkbox-subtext",
|
|
111
|
+
children: t
|
|
112
|
+
})]
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
d.displayName = "Checkbox";
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/components/DatePicker.tsx
|
|
118
|
+
var f = { fontFamily: "'DM Sans', sans-serif" }, p = {
|
|
119
|
+
Calendar: (e) => /* @__PURE__ */ s("svg", {
|
|
120
|
+
width: "16",
|
|
121
|
+
height: "16",
|
|
122
|
+
viewBox: "0 0 16 16",
|
|
123
|
+
fill: "none",
|
|
124
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
125
|
+
...e,
|
|
126
|
+
children: [
|
|
127
|
+
/* @__PURE__ */ o("rect", {
|
|
128
|
+
x: "2",
|
|
129
|
+
y: "3",
|
|
130
|
+
width: "12",
|
|
131
|
+
height: "11",
|
|
132
|
+
rx: "2",
|
|
133
|
+
stroke: "currentColor",
|
|
134
|
+
strokeWidth: "1.5"
|
|
135
|
+
}),
|
|
136
|
+
/* @__PURE__ */ o("path", {
|
|
137
|
+
d: "M2 7H14",
|
|
138
|
+
stroke: "currentColor",
|
|
139
|
+
strokeWidth: "1.5"
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ o("path", {
|
|
142
|
+
d: "M5 2V4",
|
|
143
|
+
stroke: "currentColor",
|
|
144
|
+
strokeWidth: "1.5",
|
|
145
|
+
strokeLinecap: "round"
|
|
146
|
+
}),
|
|
147
|
+
/* @__PURE__ */ o("path", {
|
|
148
|
+
d: "M11 2V4",
|
|
149
|
+
stroke: "currentColor",
|
|
150
|
+
strokeWidth: "1.5",
|
|
151
|
+
strokeLinecap: "round"
|
|
152
|
+
})
|
|
153
|
+
]
|
|
154
|
+
}),
|
|
155
|
+
ChevronDown: (e) => /* @__PURE__ */ o("svg", {
|
|
156
|
+
width: "10",
|
|
157
|
+
height: "6",
|
|
158
|
+
viewBox: "0 0 10 6",
|
|
159
|
+
fill: "none",
|
|
160
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
161
|
+
...e,
|
|
162
|
+
children: /* @__PURE__ */ o("path", {
|
|
163
|
+
d: "M1 1L5 5L9 1",
|
|
164
|
+
stroke: "currentColor",
|
|
165
|
+
strokeWidth: "1.5",
|
|
166
|
+
strokeLinecap: "round",
|
|
167
|
+
strokeLinejoin: "round"
|
|
168
|
+
})
|
|
169
|
+
}),
|
|
170
|
+
Star: (e) => /* @__PURE__ */ o("svg", {
|
|
171
|
+
width: "8",
|
|
172
|
+
height: "8",
|
|
173
|
+
viewBox: "0 0 8 8",
|
|
174
|
+
fill: "none",
|
|
175
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
176
|
+
...e,
|
|
177
|
+
children: /* @__PURE__ */ o("path", {
|
|
178
|
+
d: "M4 0L4.8541 3.1459H8L5.44272 5L6.29682 8.1459L4 6.25L1.70318 8.1459L2.55728 5L0 3.1459H3.1459L4 0Z",
|
|
179
|
+
fill: "var(--colors-primitive-color-tokens-red-500, #E73D36)"
|
|
180
|
+
})
|
|
181
|
+
})
|
|
182
|
+
}, m = e.forwardRef(({ label: c = "Label", required: l = !1, placeholder: u = "Select Date", value: d = "", onChange: m, className: h = "", mode: g = "single", state: _ = "default", ...v }, y) => {
|
|
183
|
+
let [b, x] = i(!1), [S, C] = i(typeof d == "string" ? d : ""), [w, T] = i(typeof d == "string" ? d : ""), [E, D] = i(Array.isArray(d) ? d : ["", ""]), [O, k] = i(Array.isArray(d) ? d : ["", ""]);
|
|
184
|
+
t(() => {
|
|
185
|
+
if (typeof d == "string") {
|
|
186
|
+
if (C(d), T(d), d) {
|
|
187
|
+
let e = new Date(d);
|
|
188
|
+
isNaN(e.getTime()) || (j(e.getMonth()), N(e.getFullYear()));
|
|
189
|
+
}
|
|
190
|
+
} else if (Array.isArray(d) && (D(d), k(d), d[0])) {
|
|
191
|
+
let e = new Date(d[0]);
|
|
192
|
+
isNaN(e.getTime()) || (j(e.getMonth()), N(e.getFullYear()));
|
|
193
|
+
}
|
|
194
|
+
}, [d]);
|
|
195
|
+
let [A, j] = i((/* @__PURE__ */ new Date()).getMonth()), [M, N] = i((/* @__PURE__ */ new Date()).getFullYear()), [P, F] = i(!1), [I, L] = i(!1), [R, z] = i(null), B = r(null);
|
|
196
|
+
e.useImperativeHandle(y, () => B.current);
|
|
197
|
+
let V = g === "range", H = _ === "disabled", U = _ === "readonly", W = [
|
|
198
|
+
"Mon",
|
|
199
|
+
"Tue",
|
|
200
|
+
"Wed",
|
|
201
|
+
"Thu",
|
|
202
|
+
"Fri",
|
|
203
|
+
"Sat",
|
|
204
|
+
"Sun"
|
|
205
|
+
], G = [
|
|
206
|
+
"Jan",
|
|
207
|
+
"Feb",
|
|
208
|
+
"Mar",
|
|
209
|
+
"Apr",
|
|
210
|
+
"May",
|
|
211
|
+
"Jun",
|
|
212
|
+
"Jul",
|
|
213
|
+
"Aug",
|
|
214
|
+
"Sep",
|
|
215
|
+
"Oct",
|
|
216
|
+
"Nov",
|
|
217
|
+
"Dec"
|
|
218
|
+
], K = [
|
|
219
|
+
{
|
|
220
|
+
label: "Today",
|
|
221
|
+
getValue: () => {
|
|
222
|
+
let e = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
223
|
+
return [e, e];
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
label: "Yesterday",
|
|
228
|
+
getValue: () => {
|
|
229
|
+
let e = /* @__PURE__ */ new Date();
|
|
230
|
+
e.setDate(e.getDate() - 1);
|
|
231
|
+
let t = e.toISOString().split("T")[0];
|
|
232
|
+
return [t, t];
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
label: "Last 7 days",
|
|
237
|
+
getValue: () => {
|
|
238
|
+
let e = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
|
|
239
|
+
return t.setDate(e.getDate() - 6), [t.toISOString().split("T")[0], e.toISOString().split("T")[0]];
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
label: "Last 14 days",
|
|
244
|
+
getValue: () => {
|
|
245
|
+
let e = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
|
|
246
|
+
return t.setDate(e.getDate() - 13), [t.toISOString().split("T")[0], e.toISOString().split("T")[0]];
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
label: "Custom",
|
|
251
|
+
getValue: () => ["", ""]
|
|
252
|
+
}
|
|
253
|
+
];
|
|
254
|
+
t(() => {
|
|
255
|
+
let e = (e) => {
|
|
256
|
+
B.current && !B.current.contains(e.target) && x(!1);
|
|
257
|
+
};
|
|
258
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
259
|
+
}, []);
|
|
260
|
+
let q = () => {
|
|
261
|
+
H || U || (b || (T(S), k(E), F(!1), L(!1)), x(!b));
|
|
262
|
+
}, J = (e, t) => {
|
|
263
|
+
if (!t) if (V) if (!O[0] || O[0] && O[1]) k([e, ""]), z(null);
|
|
264
|
+
else {
|
|
265
|
+
let t = new Date(O[0]);
|
|
266
|
+
k(new Date(e) < t ? [e, O[0]] : [O[0], e]), z(null);
|
|
267
|
+
}
|
|
268
|
+
else T(e);
|
|
269
|
+
}, Y = (e) => {
|
|
270
|
+
let t = e.getValue();
|
|
271
|
+
if (k(t), z(null), t[0]) {
|
|
272
|
+
let e = new Date(t[0]);
|
|
273
|
+
j(e.getMonth()), N(e.getFullYear());
|
|
274
|
+
}
|
|
275
|
+
}, X = (e) => {
|
|
276
|
+
e.stopPropagation(), V ? (D(O), m && m(O)) : (C(w), m && m(w)), x(!1);
|
|
277
|
+
}, Z = (e) => {
|
|
278
|
+
e.stopPropagation(), V ? k(E) : T(S), x(!1);
|
|
279
|
+
}, Q = (e, t, n = !1) => {
|
|
280
|
+
let r = new Date(t, e, 1).getDay(), i = new Date(t, e + 1, 0).getDate(), a = new Date(t, e, 0).getDate(), c = r === 0 ? 6 : r - 1, l = [];
|
|
281
|
+
for (let n = c - 1; n >= 0; n--) {
|
|
282
|
+
let r = a - n, i = e === 0 ? 11 : e - 1, o = e === 0 ? t - 1 : t;
|
|
283
|
+
l.push({
|
|
284
|
+
day: r,
|
|
285
|
+
month: i,
|
|
286
|
+
year: o,
|
|
287
|
+
currentMonth: !1
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
for (let n = 1; n <= i; n++) l.push({
|
|
291
|
+
day: n,
|
|
292
|
+
month: e,
|
|
293
|
+
year: t,
|
|
294
|
+
currentMonth: !0
|
|
295
|
+
});
|
|
296
|
+
let u = 42 - l.length;
|
|
297
|
+
for (let n = 1; n <= u; n++) {
|
|
298
|
+
let r = e === 11 ? 0 : e + 1, i = e === 11 ? t + 1 : t;
|
|
299
|
+
l.push({
|
|
300
|
+
day: n,
|
|
301
|
+
month: r,
|
|
302
|
+
year: i,
|
|
303
|
+
currentMonth: !1
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
let d = [], f = (/* @__PURE__ */ new Date()).getFullYear();
|
|
307
|
+
for (let e = f - 10; e <= f + 10; e++) d.push(e);
|
|
308
|
+
return /* @__PURE__ */ s("div", {
|
|
309
|
+
className: "datepicker__calendar",
|
|
310
|
+
children: [
|
|
311
|
+
/* @__PURE__ */ o("div", {
|
|
312
|
+
className: "datepicker__header",
|
|
313
|
+
children: /* @__PURE__ */ s("div", {
|
|
314
|
+
className: "datepicker__header-selectors",
|
|
315
|
+
children: [/* @__PURE__ */ s("div", {
|
|
316
|
+
className: "datepicker__header-select",
|
|
317
|
+
onClick: (e) => {
|
|
318
|
+
e.stopPropagation(), n || (F(!P), L(!1));
|
|
319
|
+
},
|
|
320
|
+
style: { position: "relative" },
|
|
321
|
+
children: [
|
|
322
|
+
G[e],
|
|
323
|
+
/* @__PURE__ */ o("span", {
|
|
324
|
+
className: "datepicker__header-icon",
|
|
325
|
+
children: /* @__PURE__ */ o(p.ChevronDown, {})
|
|
326
|
+
}),
|
|
327
|
+
!n && P && /* @__PURE__ */ o("div", {
|
|
328
|
+
className: "datepicker__select-dropdown",
|
|
329
|
+
style: {
|
|
330
|
+
position: "absolute",
|
|
331
|
+
top: "100%",
|
|
332
|
+
left: 0,
|
|
333
|
+
width: "100%",
|
|
334
|
+
maxHeight: "200px",
|
|
335
|
+
overflowY: "auto",
|
|
336
|
+
background: "var(--Colors-Functional-Bkg-Bkg_Default, white)",
|
|
337
|
+
border: "1px solid var(--Colors-Functional-Border-Border_Default, #C3C1B5)",
|
|
338
|
+
borderRadius: "8px",
|
|
339
|
+
zIndex: 10,
|
|
340
|
+
boxShadow: "0 4px 12px rgba(0,0,0,0.1)"
|
|
341
|
+
},
|
|
342
|
+
children: G.map((t, n) => /* @__PURE__ */ o("div", {
|
|
343
|
+
className: "datepicker__select-option",
|
|
344
|
+
style: {
|
|
345
|
+
padding: "8px 12px",
|
|
346
|
+
cursor: "pointer",
|
|
347
|
+
background: e === n ? "var(--Colors-Functional-Bkg-Bkg_Default, #F6F6F3)" : "transparent",
|
|
348
|
+
fontSize: "14px"
|
|
349
|
+
},
|
|
350
|
+
onClick: (e) => {
|
|
351
|
+
e.stopPropagation(), j(n), F(!1);
|
|
352
|
+
},
|
|
353
|
+
children: t
|
|
354
|
+
}, t))
|
|
355
|
+
})
|
|
356
|
+
]
|
|
357
|
+
}), /* @__PURE__ */ s("div", {
|
|
358
|
+
className: "datepicker__header-select",
|
|
359
|
+
onClick: (e) => {
|
|
360
|
+
e.stopPropagation(), n || (L(!I), F(!1));
|
|
361
|
+
},
|
|
362
|
+
style: { position: "relative" },
|
|
363
|
+
children: [
|
|
364
|
+
t,
|
|
365
|
+
/* @__PURE__ */ o("span", {
|
|
366
|
+
className: "datepicker__header-icon",
|
|
367
|
+
children: /* @__PURE__ */ o(p.ChevronDown, {})
|
|
368
|
+
}),
|
|
369
|
+
!n && I && /* @__PURE__ */ o("div", {
|
|
370
|
+
className: "datepicker__select-dropdown",
|
|
371
|
+
style: {
|
|
372
|
+
position: "absolute",
|
|
373
|
+
top: "100%",
|
|
374
|
+
left: 0,
|
|
375
|
+
width: "100%",
|
|
376
|
+
maxHeight: "200px",
|
|
377
|
+
overflowY: "auto",
|
|
378
|
+
background: "var(--Colors-Functional-Bkg-Bkg_Default, white)",
|
|
379
|
+
border: "1px solid var(--Colors-Functional-Border-Border_Default, #C3C1B5)",
|
|
380
|
+
borderRadius: "8px",
|
|
381
|
+
zIndex: 10,
|
|
382
|
+
boxShadow: "0 4px 12px rgba(0,0,0,0.1)"
|
|
383
|
+
},
|
|
384
|
+
children: d.map((e) => /* @__PURE__ */ o("div", {
|
|
385
|
+
className: "datepicker__select-option",
|
|
386
|
+
style: {
|
|
387
|
+
padding: "8px 12px",
|
|
388
|
+
cursor: "pointer",
|
|
389
|
+
background: t === e ? "var(--Colors-Functional-Bkg-Bkg_Default, #F6F6F3)" : "transparent",
|
|
390
|
+
fontSize: "14px"
|
|
391
|
+
},
|
|
392
|
+
onClick: (t) => {
|
|
393
|
+
t.stopPropagation(), N(e), L(!1);
|
|
394
|
+
},
|
|
395
|
+
children: e
|
|
396
|
+
}, e))
|
|
397
|
+
})
|
|
398
|
+
]
|
|
399
|
+
})]
|
|
400
|
+
})
|
|
401
|
+
}),
|
|
402
|
+
!V && /* @__PURE__ */ o("div", { className: "datepicker__divider" }),
|
|
403
|
+
/* @__PURE__ */ o("div", {
|
|
404
|
+
className: "datepicker__weekdays",
|
|
405
|
+
children: W.map((e) => /* @__PURE__ */ o("div", {
|
|
406
|
+
className: "datepicker__weekday",
|
|
407
|
+
children: e
|
|
408
|
+
}, e))
|
|
409
|
+
}),
|
|
410
|
+
/* @__PURE__ */ o("div", {
|
|
411
|
+
className: "datepicker__days",
|
|
412
|
+
onMouseLeave: () => z(null),
|
|
413
|
+
children: l.map((e, t) => {
|
|
414
|
+
let n = `${e.year}-${(e.month + 1).toString().padStart(2, "0")}-${e.day.toString().padStart(2, "0")}`, r = V ? O[0] === n || O[1] === n : w === n, i = !1;
|
|
415
|
+
if (V && O[0]) {
|
|
416
|
+
let e = new Date(O[0]), t = O[1] ? new Date(O[1]) : R ? new Date(R) : null, r = new Date(n);
|
|
417
|
+
t && (i = r > (e < t ? e : t) && r < (e < t ? t : e));
|
|
418
|
+
}
|
|
419
|
+
return /* @__PURE__ */ o("div", {
|
|
420
|
+
className: `datepicker__day ${e.currentMonth ? "" : "datepicker__day--disabled"} ${r ? "datepicker__day--selected" : ""} ${i ? "datepicker__day--in-range" : ""}`,
|
|
421
|
+
onClick: (t) => {
|
|
422
|
+
t.stopPropagation(), J(n, !e.currentMonth);
|
|
423
|
+
},
|
|
424
|
+
onMouseEnter: () => {
|
|
425
|
+
V && O[0] && !O[1] && z(n);
|
|
426
|
+
},
|
|
427
|
+
children: /* @__PURE__ */ o("div", {
|
|
428
|
+
className: "datepicker__day-text",
|
|
429
|
+
children: e.day
|
|
430
|
+
})
|
|
431
|
+
}, t);
|
|
432
|
+
})
|
|
433
|
+
})
|
|
434
|
+
]
|
|
435
|
+
});
|
|
436
|
+
}, $ = n(() => V ? E[0] && E[1] ? `${E[0]} - ${E[1]}` : E[0] ? `${E[0]} - ...` : "" : S, [
|
|
437
|
+
V,
|
|
438
|
+
E,
|
|
439
|
+
S
|
|
440
|
+
]), ee = [
|
|
441
|
+
"datepicker",
|
|
442
|
+
V ? "datepicker--range" : "",
|
|
443
|
+
h
|
|
444
|
+
].filter(Boolean).join(" "), te = [
|
|
445
|
+
"datepicker__input-wrapper",
|
|
446
|
+
b ? "datepicker__input-wrapper--focus" : "",
|
|
447
|
+
`datepicker__input-wrapper--${_}`,
|
|
448
|
+
H ? "datepicker__input-wrapper--disabled" : "",
|
|
449
|
+
U ? "datepicker__input-wrapper--readonly" : ""
|
|
450
|
+
].filter(Boolean).join(" ");
|
|
451
|
+
return /* @__PURE__ */ s("div", {
|
|
452
|
+
className: ee,
|
|
453
|
+
ref: B,
|
|
454
|
+
style: f,
|
|
455
|
+
...v,
|
|
456
|
+
children: [
|
|
457
|
+
c && /* @__PURE__ */ s("div", {
|
|
458
|
+
className: "datepicker__label-row",
|
|
459
|
+
children: [/* @__PURE__ */ o("span", {
|
|
460
|
+
className: "datepicker__label",
|
|
461
|
+
children: c
|
|
462
|
+
}), l && /* @__PURE__ */ o("span", {
|
|
463
|
+
className: "datepicker__required-star",
|
|
464
|
+
children: /* @__PURE__ */ o(p.Star, {})
|
|
465
|
+
})]
|
|
466
|
+
}),
|
|
467
|
+
/* @__PURE__ */ s("div", {
|
|
468
|
+
className: te,
|
|
469
|
+
onClick: q,
|
|
470
|
+
children: [$ ? /* @__PURE__ */ o("span", {
|
|
471
|
+
className: "datepicker__value",
|
|
472
|
+
children: $
|
|
473
|
+
}) : /* @__PURE__ */ o("span", {
|
|
474
|
+
className: "datepicker__placeholder",
|
|
475
|
+
children: u
|
|
476
|
+
}), /* @__PURE__ */ o("span", {
|
|
477
|
+
className: "datepicker__icon-wrapper",
|
|
478
|
+
children: /* @__PURE__ */ o(p.Calendar, {})
|
|
479
|
+
})]
|
|
480
|
+
}),
|
|
481
|
+
b && /* @__PURE__ */ o("div", {
|
|
482
|
+
className: `datepicker__dropdown ${V ? "datepicker__dropdown--range" : ""}`,
|
|
483
|
+
onClick: (e) => e.stopPropagation(),
|
|
484
|
+
children: V ? /* @__PURE__ */ s("div", {
|
|
485
|
+
style: {
|
|
486
|
+
display: "flex",
|
|
487
|
+
flex: 1
|
|
488
|
+
},
|
|
489
|
+
children: [
|
|
490
|
+
/* @__PURE__ */ o("div", {
|
|
491
|
+
className: "datepicker__presets",
|
|
492
|
+
children: K.map((e) => /* @__PURE__ */ o("div", {
|
|
493
|
+
className: `datepicker__preset ${JSON.stringify(O) === JSON.stringify(e.getValue()) ? "datepicker__preset--active" : ""}`,
|
|
494
|
+
onClick: () => Y(e),
|
|
495
|
+
children: e.label
|
|
496
|
+
}, e.label))
|
|
497
|
+
}),
|
|
498
|
+
/* @__PURE__ */ o("div", { className: "datepicker__vertical-divider" }),
|
|
499
|
+
/* @__PURE__ */ s("div", {
|
|
500
|
+
style: {
|
|
501
|
+
display: "flex",
|
|
502
|
+
flexDirection: "column",
|
|
503
|
+
flex: 1
|
|
504
|
+
},
|
|
505
|
+
children: [/* @__PURE__ */ s("div", {
|
|
506
|
+
className: "datepicker__calendar-container",
|
|
507
|
+
children: [
|
|
508
|
+
Q(A, M, !1),
|
|
509
|
+
/* @__PURE__ */ o("div", { className: "datepicker__vertical-divider datepicker__vertical-divider--calendar" }),
|
|
510
|
+
Q(A === 11 ? 0 : A + 1, A === 11 ? M + 1 : M, !0)
|
|
511
|
+
]
|
|
512
|
+
}), /* @__PURE__ */ s("div", {
|
|
513
|
+
className: "datepicker__footer",
|
|
514
|
+
children: [/* @__PURE__ */ o("div", { className: "datepicker__divider" }), /* @__PURE__ */ s("div", {
|
|
515
|
+
className: "datepicker__actions",
|
|
516
|
+
children: [/* @__PURE__ */ o("button", {
|
|
517
|
+
className: "datepicker__button datepicker__button--cancel",
|
|
518
|
+
onClick: Z,
|
|
519
|
+
children: "CANCEL"
|
|
520
|
+
}), /* @__PURE__ */ o("button", {
|
|
521
|
+
className: "datepicker__button datepicker__button--apply",
|
|
522
|
+
onClick: X,
|
|
523
|
+
disabled: !O[0] || !O[1],
|
|
524
|
+
children: "APPLY"
|
|
525
|
+
})]
|
|
526
|
+
})]
|
|
527
|
+
})]
|
|
528
|
+
})
|
|
529
|
+
]
|
|
530
|
+
}) : /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o("div", {
|
|
531
|
+
className: "datepicker__dropdown-main",
|
|
532
|
+
children: /* @__PURE__ */ o("div", {
|
|
533
|
+
className: "datepicker__calendar-container",
|
|
534
|
+
children: Q(A, M, !1)
|
|
535
|
+
})
|
|
536
|
+
}), /* @__PURE__ */ s("div", {
|
|
537
|
+
className: "datepicker__footer",
|
|
538
|
+
children: [/* @__PURE__ */ o("hr", {}), /* @__PURE__ */ s("div", {
|
|
539
|
+
className: "datepicker__actions",
|
|
540
|
+
children: [/* @__PURE__ */ o("button", {
|
|
541
|
+
className: "datepicker__button datepicker__button--cancel",
|
|
542
|
+
onClick: Z,
|
|
543
|
+
children: "CANCEL"
|
|
544
|
+
}), /* @__PURE__ */ o("button", {
|
|
545
|
+
className: "datepicker__button datepicker__button--apply",
|
|
546
|
+
onClick: X,
|
|
547
|
+
disabled: !w,
|
|
548
|
+
children: "APPLY"
|
|
549
|
+
})]
|
|
550
|
+
})]
|
|
551
|
+
})] })
|
|
552
|
+
})
|
|
553
|
+
]
|
|
554
|
+
});
|
|
555
|
+
});
|
|
556
|
+
m.displayName = "DatePicker";
|
|
557
|
+
//#endregion
|
|
558
|
+
//#region src/components/PillBadge.tsx
|
|
559
|
+
var h = { fontFamily: "'DM Sans', sans-serif" }, g = e.forwardRef(({ className: e = "", variant: t = "blue", size: n = "md", stacked: r = !1, subtext: i, children: a, style: c, ...l }, u) => {
|
|
560
|
+
let d = [
|
|
561
|
+
"pill-badge",
|
|
562
|
+
`pill-badge--${t}`,
|
|
563
|
+
r ? "pill-badge--stacked" : `pill-badge--${n === "lg" ? "md" : n}`,
|
|
564
|
+
e
|
|
565
|
+
].filter(Boolean).join(" "), f = n === "lg" ? "pill-badge__title--lg" : "pill-badge__title--md";
|
|
566
|
+
return /* @__PURE__ */ s("div", {
|
|
567
|
+
ref: u,
|
|
568
|
+
className: d,
|
|
569
|
+
style: {
|
|
570
|
+
...h,
|
|
571
|
+
...c
|
|
572
|
+
},
|
|
573
|
+
...l,
|
|
574
|
+
children: [/* @__PURE__ */ o("div", {
|
|
575
|
+
className: `pill-badge__title ${r ? f : ""}`,
|
|
576
|
+
children: a
|
|
577
|
+
}), r && i && /* @__PURE__ */ o("div", {
|
|
578
|
+
className: "pill-badge__subtext",
|
|
579
|
+
children: i
|
|
580
|
+
})]
|
|
581
|
+
});
|
|
582
|
+
});
|
|
583
|
+
g.displayName = "PillBadge";
|
|
584
|
+
//#endregion
|
|
585
|
+
//#region src/components/ProgressBar.tsx
|
|
586
|
+
var _ = { fontFamily: "'DM Sans', sans-serif" }, v = e.forwardRef(({ label: e, percentage: t = 0, usedText: n, remainingText: r, variant: i = "default", size: a = "sm", withCard: c = !1, width: l, className: u = "", style: d, ...f }, p) => {
|
|
587
|
+
let m = Math.max(0, Math.min(100, t)), h = [
|
|
588
|
+
"progressbar",
|
|
589
|
+
c ? "progressbar--card" : "",
|
|
590
|
+
u
|
|
591
|
+
].filter(Boolean).join(" "), g = ["progressbar__track", `progressbar__track--${a}`].join(" "), v = ["progressbar__fill", `progressbar__fill--${i}`].join(" ");
|
|
592
|
+
return /* @__PURE__ */ s("div", {
|
|
593
|
+
ref: p,
|
|
594
|
+
className: h,
|
|
595
|
+
style: {
|
|
596
|
+
..._,
|
|
597
|
+
width: l,
|
|
598
|
+
...d
|
|
599
|
+
},
|
|
600
|
+
...f,
|
|
601
|
+
children: [
|
|
602
|
+
(e || t !== void 0) && /* @__PURE__ */ s("div", {
|
|
603
|
+
className: "progressbar__header",
|
|
604
|
+
children: [e && /* @__PURE__ */ o("span", {
|
|
605
|
+
className: "progressbar__label",
|
|
606
|
+
children: e
|
|
607
|
+
}), t !== void 0 && /* @__PURE__ */ s("span", {
|
|
608
|
+
className: "progressbar__percentage",
|
|
609
|
+
children: [m, "%"]
|
|
610
|
+
})]
|
|
611
|
+
}),
|
|
612
|
+
/* @__PURE__ */ o("div", {
|
|
613
|
+
className: g,
|
|
614
|
+
children: /* @__PURE__ */ o("div", {
|
|
615
|
+
className: v,
|
|
616
|
+
style: { width: `${m}%` }
|
|
617
|
+
})
|
|
618
|
+
}),
|
|
619
|
+
(n || r) && /* @__PURE__ */ s("div", {
|
|
620
|
+
className: "progressbar__footer",
|
|
621
|
+
children: [n && /* @__PURE__ */ o("span", {
|
|
622
|
+
className: "progressbar__used",
|
|
623
|
+
children: n
|
|
624
|
+
}), r && /* @__PURE__ */ o("span", {
|
|
625
|
+
className: "progressbar__remaining",
|
|
626
|
+
children: r
|
|
627
|
+
})]
|
|
628
|
+
})
|
|
629
|
+
]
|
|
630
|
+
});
|
|
631
|
+
});
|
|
632
|
+
v.displayName = "ProgressBar";
|
|
633
|
+
//#endregion
|
|
634
|
+
//#region src/components/RadioButton.tsx
|
|
635
|
+
var y = { fontFamily: "\"DM Sans\", sans-serif" }, b = e.forwardRef(({ label: e, subtext: t, checked: n, disabled: r, readOnly: i = !1, className: a = "", id: c, ...l }, u) => {
|
|
636
|
+
let d = c || `radio-${Math.random().toString(36).substring(2, 9)}`;
|
|
637
|
+
return /* @__PURE__ */ s("div", {
|
|
638
|
+
className: [
|
|
639
|
+
"radio-button",
|
|
640
|
+
n ? "radio-button--checked" : "",
|
|
641
|
+
r ? "radio-button--disabled" : "",
|
|
642
|
+
i ? "radio-button--readonly" : "",
|
|
643
|
+
a
|
|
644
|
+
].filter(Boolean).join(" "),
|
|
645
|
+
style: y,
|
|
646
|
+
children: [/* @__PURE__ */ s("div", {
|
|
647
|
+
className: "radio-button__wrapper",
|
|
648
|
+
children: [/* @__PURE__ */ o("input", {
|
|
649
|
+
ref: u,
|
|
650
|
+
type: "radio",
|
|
651
|
+
id: d,
|
|
652
|
+
className: "radio-button__input",
|
|
653
|
+
checked: n,
|
|
654
|
+
disabled: r || i,
|
|
655
|
+
...l
|
|
656
|
+
}), /* @__PURE__ */ o("label", {
|
|
657
|
+
htmlFor: d,
|
|
658
|
+
className: "radio-button__visual",
|
|
659
|
+
children: /* @__PURE__ */ o("span", {
|
|
660
|
+
className: "radio-button__outer-circle",
|
|
661
|
+
children: n && /* @__PURE__ */ o("span", { className: "radio-button__inner-circle" })
|
|
662
|
+
})
|
|
663
|
+
})]
|
|
664
|
+
}), (e || t) && /* @__PURE__ */ s("div", {
|
|
665
|
+
className: "radio-button__content",
|
|
666
|
+
children: [e && /* @__PURE__ */ o("label", {
|
|
667
|
+
htmlFor: d,
|
|
668
|
+
className: "radio-button__label",
|
|
669
|
+
children: e
|
|
670
|
+
}), t && /* @__PURE__ */ o("span", {
|
|
671
|
+
className: "radio-button__subtext",
|
|
672
|
+
children: t
|
|
673
|
+
})]
|
|
674
|
+
})]
|
|
675
|
+
});
|
|
676
|
+
});
|
|
677
|
+
b.displayName = "RadioButton";
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/components/SearchBox.tsx
|
|
680
|
+
var x = { fontFamily: "\"DM Sans\", sans-serif" }, S = e.forwardRef(({ collapsible: e = !1, className: n = "", disabled: a, placeholder: c = "Search by whatever thing...", onSearch: l, ...u }, d) => {
|
|
681
|
+
let [f, p] = i(!e), [m, h] = i(""), g = r(null);
|
|
682
|
+
return t(() => {
|
|
683
|
+
p(!e);
|
|
684
|
+
}, [e]), t(() => {
|
|
685
|
+
if (!e) return;
|
|
686
|
+
let t = (e) => {
|
|
687
|
+
g.current && !g.current.contains(e.target) && m === "" && p(!1);
|
|
688
|
+
};
|
|
689
|
+
return document.addEventListener("mousedown", t), () => document.removeEventListener("mousedown", t);
|
|
690
|
+
}, [e, m]), /* @__PURE__ */ o("div", {
|
|
691
|
+
className: [
|
|
692
|
+
"search-box",
|
|
693
|
+
e ? "search-box--collapsible" : "",
|
|
694
|
+
f ? "search-box--expanded" : "search-box--collapsed",
|
|
695
|
+
a ? "search-box--disabled" : "",
|
|
696
|
+
n
|
|
697
|
+
].filter(Boolean).join(" "),
|
|
698
|
+
style: x,
|
|
699
|
+
ref: g,
|
|
700
|
+
children: /* @__PURE__ */ s("div", {
|
|
701
|
+
className: "search-box__wrapper",
|
|
702
|
+
onClick: () => {
|
|
703
|
+
e && !a && p(!f);
|
|
704
|
+
},
|
|
705
|
+
children: [/* @__PURE__ */ o("div", {
|
|
706
|
+
className: "search-box__icon-container",
|
|
707
|
+
children: /* @__PURE__ */ s("svg", {
|
|
708
|
+
className: "search-box__icon",
|
|
709
|
+
width: "16",
|
|
710
|
+
height: "16",
|
|
711
|
+
viewBox: "0 0 16 16",
|
|
712
|
+
fill: "none",
|
|
713
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
714
|
+
children: [/* @__PURE__ */ o("path", {
|
|
715
|
+
d: "M11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5Z",
|
|
716
|
+
stroke: "currentColor",
|
|
717
|
+
strokeWidth: "1.5"
|
|
718
|
+
}), /* @__PURE__ */ o("path", {
|
|
719
|
+
d: "M10 10L14 14",
|
|
720
|
+
stroke: "currentColor",
|
|
721
|
+
strokeWidth: "1.5",
|
|
722
|
+
strokeLinecap: "round"
|
|
723
|
+
})]
|
|
724
|
+
})
|
|
725
|
+
}), f && /* @__PURE__ */ o("input", {
|
|
726
|
+
ref: d,
|
|
727
|
+
type: "text",
|
|
728
|
+
className: "search-box__input",
|
|
729
|
+
placeholder: c,
|
|
730
|
+
value: m,
|
|
731
|
+
disabled: a,
|
|
732
|
+
onChange: (e) => {
|
|
733
|
+
h(e.target.value), u.onChange && u.onChange(e);
|
|
734
|
+
},
|
|
735
|
+
onKeyDown: (e) => {
|
|
736
|
+
e.key === "Enter" && l && l(m), u.onKeyDown && u.onKeyDown(e);
|
|
737
|
+
},
|
|
738
|
+
autoFocus: e && f,
|
|
739
|
+
...u
|
|
740
|
+
})]
|
|
741
|
+
})
|
|
742
|
+
});
|
|
743
|
+
});
|
|
744
|
+
S.displayName = "SearchBox";
|
|
745
|
+
//#endregion
|
|
746
|
+
//#region src/components/StateBadge.tsx
|
|
747
|
+
var C = { fontFamily: "'DM Sans', sans-serif" }, w = (e) => {
|
|
748
|
+
switch (e) {
|
|
749
|
+
case "plus": return /* @__PURE__ */ o("svg", {
|
|
750
|
+
width: "12",
|
|
751
|
+
height: "12",
|
|
752
|
+
viewBox: "0 0 14 14",
|
|
753
|
+
fill: "none",
|
|
754
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
755
|
+
children: /* @__PURE__ */ o("path", {
|
|
756
|
+
d: "M7 2.91666V11.0833M2.91666 7H11.0833",
|
|
757
|
+
stroke: "currentColor",
|
|
758
|
+
strokeWidth: "1.5",
|
|
759
|
+
strokeLinecap: "round",
|
|
760
|
+
strokeLinejoin: "round"
|
|
761
|
+
})
|
|
762
|
+
});
|
|
763
|
+
case "check": return /* @__PURE__ */ o("svg", {
|
|
764
|
+
width: "12",
|
|
765
|
+
height: "12",
|
|
766
|
+
viewBox: "0 0 14 14",
|
|
767
|
+
fill: "none",
|
|
768
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
769
|
+
children: /* @__PURE__ */ o("path", {
|
|
770
|
+
d: "M11.6667 3.5L5.25 9.91667L2.33333 7",
|
|
771
|
+
stroke: "currentColor",
|
|
772
|
+
strokeWidth: "1.5",
|
|
773
|
+
strokeLinecap: "round",
|
|
774
|
+
strokeLinejoin: "round"
|
|
775
|
+
})
|
|
776
|
+
});
|
|
777
|
+
case "chevron-down": return /* @__PURE__ */ o("svg", {
|
|
778
|
+
width: "12",
|
|
779
|
+
height: "12",
|
|
780
|
+
viewBox: "0 0 14 14",
|
|
781
|
+
fill: "none",
|
|
782
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
783
|
+
children: /* @__PURE__ */ o("path", {
|
|
784
|
+
d: "M3.5 5.25L7 8.75L10.5 5.25",
|
|
785
|
+
stroke: "currentColor",
|
|
786
|
+
strokeWidth: "1.5",
|
|
787
|
+
strokeLinecap: "round",
|
|
788
|
+
strokeLinejoin: "round"
|
|
789
|
+
})
|
|
790
|
+
});
|
|
791
|
+
case "arrow-right": return /* @__PURE__ */ o("svg", {
|
|
792
|
+
width: "12",
|
|
793
|
+
height: "12",
|
|
794
|
+
viewBox: "0 0 14 14",
|
|
795
|
+
fill: "none",
|
|
796
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
797
|
+
children: /* @__PURE__ */ o("path", {
|
|
798
|
+
d: "M2.91666 7H11.0833M11.0833 7L7.58333 3.5M11.0833 7L7.58333 10.5",
|
|
799
|
+
stroke: "currentColor",
|
|
800
|
+
strokeWidth: "1.5",
|
|
801
|
+
strokeLinecap: "round",
|
|
802
|
+
strokeLinejoin: "round"
|
|
803
|
+
})
|
|
804
|
+
});
|
|
805
|
+
default: return null;
|
|
806
|
+
}
|
|
807
|
+
}, T = e.forwardRef(({ className: e = "", variant: t = "active", icon: n, children: r, style: i, ...a }, c) => {
|
|
808
|
+
let l = [
|
|
809
|
+
"state-badge",
|
|
810
|
+
`state-badge--${t}`,
|
|
811
|
+
e
|
|
812
|
+
].filter(Boolean).join(" "), u = () => {
|
|
813
|
+
if (!n) return null;
|
|
814
|
+
if (typeof n == "string") {
|
|
815
|
+
let e = w(n);
|
|
816
|
+
return e ? /* @__PURE__ */ o("span", {
|
|
817
|
+
className: "state-badge__icon",
|
|
818
|
+
children: e
|
|
819
|
+
}) : null;
|
|
820
|
+
}
|
|
821
|
+
return /* @__PURE__ */ o("span", {
|
|
822
|
+
className: "state-badge__icon",
|
|
823
|
+
children: n
|
|
824
|
+
});
|
|
825
|
+
};
|
|
826
|
+
return /* @__PURE__ */ s("div", {
|
|
827
|
+
ref: c,
|
|
828
|
+
className: l,
|
|
829
|
+
style: {
|
|
830
|
+
...C,
|
|
831
|
+
...i
|
|
832
|
+
},
|
|
833
|
+
...a,
|
|
834
|
+
children: [u(), /* @__PURE__ */ o("div", {
|
|
835
|
+
className: "state-badge__label",
|
|
836
|
+
children: r
|
|
837
|
+
})]
|
|
838
|
+
});
|
|
839
|
+
});
|
|
840
|
+
T.displayName = "StateBadge";
|
|
841
|
+
//#endregion
|
|
842
|
+
export { l as BaseButton, d as Checkbox, m as DatePicker, g as PillBadge, v as ProgressBar, b as RadioButton, S as SearchBox, T as StateBadge };
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fic-designsystem-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./theme.css": "./dist/style.css"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "tsc -b && vite build",
|
|
22
|
+
"lint": "eslint .",
|
|
23
|
+
"preview": "vite preview"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
27
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
28
|
+
"class-variance-authority": "^0.7.1",
|
|
29
|
+
"clsx": "^2.1.1",
|
|
30
|
+
"lucide-react": "^0.577.0",
|
|
31
|
+
"react": "^19.2.4",
|
|
32
|
+
"react-dom": "^19.2.4",
|
|
33
|
+
"tailwind-merge": "^3.5.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@eslint/js": "^9.39.4",
|
|
37
|
+
"@types/node": "^24.12.0",
|
|
38
|
+
"@types/react": "^19.2.14",
|
|
39
|
+
"@types/react-dom": "^19.2.3",
|
|
40
|
+
"@vitejs/plugin-react": "^6.0.0",
|
|
41
|
+
"ajv": "^8.18.0",
|
|
42
|
+
"autoprefixer": "^10.4.27",
|
|
43
|
+
"eslint": "^9.39.4",
|
|
44
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
45
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
46
|
+
"glob": "^13.0.6",
|
|
47
|
+
"globals": "^17.4.0",
|
|
48
|
+
"postcss": "^8.5.8",
|
|
49
|
+
"tailwindcss": "^4.2.1",
|
|
50
|
+
"typescript": "~5.9.3",
|
|
51
|
+
"typescript-eslint": "^8.56.1",
|
|
52
|
+
"vite": "^8.0.0",
|
|
53
|
+
"vite-plugin-dts": "^4.5.4"
|
|
54
|
+
}
|
|
55
|
+
}
|