design-zystem 1.0.310 → 1.0.312

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
 
33
- // src/Components/PageContainer/PageContainer.tsx
33
+ // src/ui-legacy/Components/PageContainer/PageContainer.tsx
34
34
  import styled from "styled-components";
35
35
  import { jsx } from "react/jsx-runtime";
36
36
  var shouldForwardProp = (prop) => ![
@@ -94,10 +94,10 @@ var PageContainer = (_a) => {
94
94
  );
95
95
  };
96
96
 
97
- // src/Components/Box/Box.tsx
97
+ // src/ui-legacy/Components/Box/Box.tsx
98
98
  import styled2 from "styled-components";
99
99
 
100
- // src/data/colors.ts
100
+ // src/ui-legacy/data/colors.ts
101
101
  var colors = {
102
102
  primary: "#52bdc4",
103
103
  secondary: "#f8af2d",
@@ -221,7 +221,7 @@ var colors = {
221
221
  light_blue: "#F1F5F9"
222
222
  };
223
223
 
224
- // src/Components/Box/Box.tsx
224
+ // src/ui-legacy/Components/Box/Box.tsx
225
225
  import { jsx as jsx2 } from "react/jsx-runtime";
226
226
  var shouldForwardProp2 = (prop) => ![
227
227
  "fullWidth",
@@ -291,7 +291,7 @@ var Box = (_a) => {
291
291
  return /* @__PURE__ */ jsx2(StyledBox, __spreadProps(__spreadValues({ hasShadow }, rest), { children }));
292
292
  };
293
293
 
294
- // src/Components/Grid/Grid.tsx
294
+ // src/ui-legacy/Components/Grid/Grid.tsx
295
295
  import styled3 from "styled-components";
296
296
  import { jsx as jsx3 } from "react/jsx-runtime";
297
297
  var shouldForwardPropGrid = (prop) => ![
@@ -335,7 +335,7 @@ var Grid = (props) => {
335
335
  );
336
336
  };
337
337
 
338
- // src/Components/Row/Row.tsx
338
+ // src/ui-legacy/Components/Row/Row.tsx
339
339
  import { forwardRef } from "react";
340
340
  import styled4 from "styled-components";
341
341
  import { jsx as jsx4 } from "react/jsx-runtime";
@@ -389,7 +389,7 @@ var Row = forwardRef((props, ref) => {
389
389
  Row.displayName = "Row";
390
390
  var Row_default = Row;
391
391
 
392
- // src/Components/Col/Col.tsx
392
+ // src/ui-legacy/Components/Col/Col.tsx
393
393
  import { forwardRef as forwardRef2 } from "react";
394
394
  import styled5 from "styled-components";
395
395
  import { jsx as jsx5 } from "react/jsx-runtime";
@@ -465,7 +465,7 @@ var Col = forwardRef2((props, ref) => {
465
465
  Col.displayName = "Col";
466
466
  var Col_default = Col;
467
467
 
468
- // src/Components/Text/Text.tsx
468
+ // src/ui-legacy/Components/Text/Text.tsx
469
469
  import { jsx as jsx6 } from "react/jsx-runtime";
470
470
  var textSizes = {
471
471
  xxs: "10px",
@@ -549,7 +549,7 @@ var Text = (props) => {
549
549
  };
550
550
  var Text_default = Text;
551
551
 
552
- // src/Components/Icon/Icon.tsx
552
+ // src/ui-legacy/Components/Icon/Icon.tsx
553
553
  import styled6 from "styled-components";
554
554
  import { jsx as jsx7 } from "react/jsx-runtime";
555
555
  var textSizes2 = {
@@ -622,7 +622,7 @@ var Icon = (props) => {
622
622
  };
623
623
  var Icon_default = Icon;
624
624
 
625
- // src/Components/Divider/Divider.tsx
625
+ // src/ui-legacy/Components/Divider/Divider.tsx
626
626
  import styled7 from "styled-components";
627
627
  import { jsx as jsx8 } from "react/jsx-runtime";
628
628
  var isColorToken = (value) => Object.prototype.hasOwnProperty.call(colors, value);
@@ -672,7 +672,7 @@ var Divider = (_a) => {
672
672
  );
673
673
  };
674
674
 
675
- // src/Components/Bulk/Bulk.tsx
675
+ // src/ui-legacy/Components/Bulk/Bulk.tsx
676
676
  import { jsx as jsx9, jsxs } from "react/jsx-runtime";
677
677
  var Bulk = ({
678
678
  onClose,
@@ -767,7 +767,7 @@ var Bulk = ({
767
767
  );
768
768
  };
769
769
 
770
- // src/Components/Collapse/Collapse.tsx
770
+ // src/ui-legacy/Components/Collapse/Collapse.tsx
771
771
  import { useState, useRef, useEffect, useCallback } from "react";
772
772
  import styled8 from "styled-components";
773
773
  import { jsx as jsx10 } from "react/jsx-runtime";
@@ -801,7 +801,7 @@ var Collapse = ({ open, children, maxHeight }) => {
801
801
  return /* @__PURE__ */ jsx10(Wrapper, { $height: height, children: /* @__PURE__ */ jsx10(Inner, { ref: innerRef, $maxHeight: maxHeight, children }) });
802
802
  };
803
803
 
804
- // src/Components/Button/Button.tsx
804
+ // src/ui-legacy/Components/Button/Button.tsx
805
805
  import { useRef as useRef2 } from "react";
806
806
  import styled9 from "styled-components";
807
807
  import { jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -1025,7 +1025,7 @@ var Button = (_a) => {
1025
1025
  );
1026
1026
  };
1027
1027
 
1028
- // src/Components/Modal/Modal.tsx
1028
+ // src/ui-legacy/Components/Modal/Modal.tsx
1029
1029
  import { useEffect as useEffect2 } from "react";
1030
1030
  import styled10 from "styled-components";
1031
1031
  import { Fragment, jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
@@ -1134,7 +1134,7 @@ var Modal = (props) => {
1134
1134
  ] });
1135
1135
  };
1136
1136
 
1137
- // src/Components/ModalConfirmation/ModalConfirmation.tsx
1137
+ // src/ui-legacy/Components/ModalConfirmation/ModalConfirmation.tsx
1138
1138
  import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
1139
1139
  var ModalConfirmation = (props) => {
1140
1140
  const { isOpen, onConfirm, onCancel, isLoading, width } = props;
@@ -1148,10 +1148,10 @@ var ModalConfirmation = (props) => {
1148
1148
  ] }) });
1149
1149
  };
1150
1150
 
1151
- // src/Components/NewModal/NewModal.tsx
1151
+ // src/ui-legacy/Components/NewModal/NewModal.tsx
1152
1152
  import { useEffect as useEffect3, useRef as useRef3, useState as useState3 } from "react";
1153
1153
 
1154
- // src/Components/Bubble/Bubble.tsx
1154
+ // src/ui-legacy/Components/Bubble/Bubble.tsx
1155
1155
  import styled11, { css, keyframes } from "styled-components";
1156
1156
  import { jsx as jsx14 } from "react/jsx-runtime";
1157
1157
  var textSizes3 = {
@@ -1236,7 +1236,7 @@ var Bubble = (_a) => {
1236
1236
  return /* @__PURE__ */ jsx14(StyledBubble, __spreadProps(__spreadValues({}, otherProps), { children }));
1237
1237
  };
1238
1238
 
1239
- // src/Components/Tooltip/Tooltip.tsx
1239
+ // src/ui-legacy/Components/Tooltip/Tooltip.tsx
1240
1240
  import { useState as useState2 } from "react";
1241
1241
  import styled12 from "styled-components";
1242
1242
  import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
@@ -1367,7 +1367,7 @@ var Tooltip = ({
1367
1367
  );
1368
1368
  };
1369
1369
 
1370
- // src/Components/NewModal/NewModal.tsx
1370
+ // src/ui-legacy/Components/NewModal/NewModal.tsx
1371
1371
  import { Fragment as Fragment2, jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
1372
1372
  var NewModal = ({
1373
1373
  showModal,
@@ -1631,7 +1631,7 @@ var NewModal = ({
1631
1631
  );
1632
1632
  };
1633
1633
 
1634
- // src/Components/Drawer/Drawer.tsx
1634
+ // src/ui-legacy/Components/Drawer/Drawer.tsx
1635
1635
  import { useEffect as useEffect4, useRef as useRef4, useState as useState4 } from "react";
1636
1636
  import styled13 from "styled-components";
1637
1637
  import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
@@ -1762,16 +1762,16 @@ var Drawer = ({
1762
1762
  ) });
1763
1763
  };
1764
1764
 
1765
- // src/Components/Toast/Toaster.tsx
1765
+ // src/ui-legacy/Components/Toast/Toaster.tsx
1766
1766
  import { useSyncExternalStore } from "react";
1767
1767
  import { createPortal } from "react-dom";
1768
1768
  import styled15 from "styled-components";
1769
1769
 
1770
- // src/Components/Toast/ToastCard.tsx
1770
+ // src/ui-legacy/Components/Toast/ToastCard.tsx
1771
1771
  import { useCallback as useCallback2, useEffect as useEffect5, useState as useState5 } from "react";
1772
1772
  import styled14, { keyframes as keyframes2 } from "styled-components";
1773
1773
 
1774
- // src/Components/Toast/toastStore.ts
1774
+ // src/ui-legacy/Components/Toast/toastStore.ts
1775
1775
  var DEFAULT_TIMEOUT_BY_TYPE = {
1776
1776
  success: 2e3,
1777
1777
  info: 2e3,
@@ -1813,7 +1813,7 @@ var dismissToast = (id) => {
1813
1813
  emitChange();
1814
1814
  };
1815
1815
 
1816
- // src/Components/Toast/ToastCard.tsx
1816
+ // src/ui-legacy/Components/Toast/ToastCard.tsx
1817
1817
  import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
1818
1818
  var EXIT_DURATION = 180;
1819
1819
  var ToastCard = ({ toastItem }) => {
@@ -1960,7 +1960,7 @@ var ProgressBar = styled14.div`
1960
1960
  animation-play-state: ${({ $isExiting }) => $isExiting ? "paused" : "running"};
1961
1961
  `;
1962
1962
 
1963
- // src/Components/Toast/Toaster.tsx
1963
+ // src/ui-legacy/Components/Toast/Toaster.tsx
1964
1964
  import { jsx as jsx19 } from "react/jsx-runtime";
1965
1965
  var Toaster = () => {
1966
1966
  const toasts2 = useSyncExternalStore(subscribeToasts, getToastsSnapshot);
@@ -1981,7 +1981,7 @@ var Stack = styled15.div`
1981
1981
  pointer-events: none;
1982
1982
  `;
1983
1983
 
1984
- // src/Components/Toast/toast.ts
1984
+ // src/ui-legacy/Components/Toast/toast.ts
1985
1985
  var toast = {
1986
1986
  success: (message, options) => pushToast("success", message, options),
1987
1987
  error: (message, options) => pushToast("error", message, options),
@@ -1989,7 +1989,7 @@ var toast = {
1989
1989
  info: (message, options) => pushToast("info", message, options)
1990
1990
  };
1991
1991
 
1992
- // src/Components/TagBubble/TagBubble.tsx
1992
+ // src/ui-legacy/Components/TagBubble/TagBubble.tsx
1993
1993
  import styled16 from "styled-components";
1994
1994
  import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
1995
1995
  var sizeToPx = {
@@ -2132,7 +2132,7 @@ var TagBubble = (_a) => {
2132
2132
  );
2133
2133
  };
2134
2134
 
2135
- // src/Components/Link/Link.tsx
2135
+ // src/ui-legacy/Components/Link/Link.tsx
2136
2136
  import styled17 from "styled-components";
2137
2137
  import { jsx as jsx21 } from "react/jsx-runtime";
2138
2138
  var textSizes4 = {
@@ -2199,11 +2199,11 @@ var Link = (_a) => {
2199
2199
  );
2200
2200
  };
2201
2201
 
2202
- // src/Components/Avatar/Avatar.tsx
2202
+ // src/ui-legacy/Components/Avatar/Avatar.tsx
2203
2203
  import { useState as useState6 } from "react";
2204
2204
  import styled19 from "styled-components";
2205
2205
 
2206
- // src/Components/Image/Image.tsx
2206
+ // src/ui-legacy/Components/Image/Image.tsx
2207
2207
  import styled18 from "styled-components";
2208
2208
  import { jsx as jsx22 } from "react/jsx-runtime";
2209
2209
  var StyledImage = styled18.img`
@@ -2249,7 +2249,7 @@ var Image2 = (_a) => {
2249
2249
  );
2250
2250
  };
2251
2251
 
2252
- // src/Components/Avatar/Avatar.tsx
2252
+ // src/ui-legacy/Components/Avatar/Avatar.tsx
2253
2253
  import { jsx as jsx23, jsxs as jsxs10 } from "react/jsx-runtime";
2254
2254
  var Wrapper3 = styled19.div`
2255
2255
  position: relative;
@@ -2391,10 +2391,32 @@ var Avatar = ({
2391
2391
  ] });
2392
2392
  };
2393
2393
 
2394
- // src/Components/Select/Select.tsx
2394
+ // src/ui-legacy/Components/Select/Select.tsx
2395
2395
  import { useState as useState7, useRef as useRef5, useEffect as useEffect6 } from "react";
2396
2396
  import ReactDOM from "react-dom";
2397
2397
  import styled20 from "styled-components";
2398
+
2399
+ // src/ui/lib/autofill.ts
2400
+ var noAutofillProps = {
2401
+ autoComplete: "off",
2402
+ /** 1Password */
2403
+ "data-1p-ignore": true,
2404
+ /** LastPass */
2405
+ "data-lpignore": "true",
2406
+ /** Bitwarden */
2407
+ "data-bwignore": true,
2408
+ /** Dashlane */
2409
+ "data-form-type": "other"
2410
+ };
2411
+ var allowAutofill = (autoComplete) => ({
2412
+ autoComplete,
2413
+ "data-1p-ignore": void 0,
2414
+ "data-lpignore": void 0,
2415
+ "data-bwignore": void 0,
2416
+ "data-form-type": void 0
2417
+ });
2418
+
2419
+ // src/ui-legacy/Components/Select/Select.tsx
2398
2420
  import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
2399
2421
  var StyledContainer = styled20.div.withConfig({
2400
2422
  shouldForwardProp: (prop) => !["width", "noFlex", "label"].includes(prop)
@@ -2630,13 +2652,14 @@ var Select = ({
2630
2652
  children: [
2631
2653
  !hideSearchBar && /* @__PURE__ */ jsx24(
2632
2654
  SearchInput,
2633
- {
2655
+ __spreadProps(__spreadValues({
2634
2656
  ref: searchInputRef,
2635
2657
  type: "text",
2636
- placeholder: "Rechercher...",
2658
+ placeholder: "Rechercher..."
2659
+ }, noAutofillProps), {
2637
2660
  value: searchTerm,
2638
2661
  onChange: handleSearch
2639
- }
2662
+ })
2640
2663
  ),
2641
2664
  /* @__PURE__ */ jsx24(DropdownList, { children: filteredOptions.map((option, index) => /* @__PURE__ */ jsx24(
2642
2665
  Option,
@@ -2658,7 +2681,7 @@ var Select = ({
2658
2681
  ] });
2659
2682
  };
2660
2683
 
2661
- // src/Components/Input/Input.tsx
2684
+ // src/ui-legacy/Components/Input/Input.tsx
2662
2685
  import {
2663
2686
  forwardRef as forwardRef3,
2664
2687
  useEffect as useEffect7,
@@ -3009,12 +3032,12 @@ var Input = forwardRef3((props, ref) => {
3009
3032
  isDate ? /* @__PURE__ */ jsxs12(Fragment3, { children: [
3010
3033
  /* @__PURE__ */ jsx25(
3011
3034
  StyledInput,
3012
- __spreadProps(__spreadValues({
3035
+ __spreadProps(__spreadValues(__spreadProps(__spreadValues({
3013
3036
  id: inputId,
3014
3037
  ref: innerRef,
3015
3038
  type: "text",
3016
- inputMode: "numeric",
3017
- autoComplete: "off",
3039
+ inputMode: "numeric"
3040
+ }, noAutofillProps), {
3018
3041
  value: displayDateValue,
3019
3042
  onChange: handleDateInputChange,
3020
3043
  onPaste: handleDateInputPaste,
@@ -3024,7 +3047,7 @@ var Input = forwardRef3((props, ref) => {
3024
3047
  disabled,
3025
3048
  "aria-required": required || void 0,
3026
3049
  style: computedStyle
3027
- }, forwardProps), {
3050
+ }), forwardProps), {
3028
3051
  name: void 0,
3029
3052
  min: void 0,
3030
3053
  max: void 0,
@@ -3068,7 +3091,7 @@ var Input = forwardRef3((props, ref) => {
3068
3091
  )
3069
3092
  ] }) : /* @__PURE__ */ jsx25(
3070
3093
  Component,
3071
- __spreadValues({
3094
+ __spreadValues(__spreadValues(__spreadValues({
3072
3095
  id: inputId,
3073
3096
  ref: innerRef,
3074
3097
  type: isPassword ? showPassword ? "text" : "password" : type,
@@ -3080,7 +3103,7 @@ var Input = forwardRef3((props, ref) => {
3080
3103
  disabled,
3081
3104
  name: inputName,
3082
3105
  style: computedStyle
3083
- }, forwardProps)
3106
+ }, noAutofillProps), isPassword ? { autoComplete: "new-password" } : {}), forwardProps)
3084
3107
  ),
3085
3108
  isPassword && /* @__PURE__ */ jsx25(
3086
3109
  EyeButton,
@@ -3100,7 +3123,7 @@ var Input = forwardRef3((props, ref) => {
3100
3123
  });
3101
3124
  Input.displayName = "Input";
3102
3125
 
3103
- // src/Components/Checkbox/Checkbox.tsx
3126
+ // src/ui-legacy/Components/Checkbox/Checkbox.tsx
3104
3127
  import { useId } from "react";
3105
3128
  import styled22 from "styled-components";
3106
3129
  import { jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
@@ -3146,7 +3169,7 @@ var Checkbox = ({
3146
3169
  ] });
3147
3170
  };
3148
3171
 
3149
- // src/Components/Radio/Radio.tsx
3172
+ // src/ui-legacy/Components/Radio/Radio.tsx
3150
3173
  import { useId as useId2 } from "react";
3151
3174
  import styled23 from "styled-components";
3152
3175
  import { jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
@@ -3223,7 +3246,7 @@ var Radio = ({
3223
3246
  ] }) });
3224
3247
  };
3225
3248
 
3226
- // src/Components/Accordion/Accordion.tsx
3249
+ // src/ui-legacy/Components/Accordion/Accordion.tsx
3227
3250
  import { useState as useState9, useCallback as useCallback3 } from "react";
3228
3251
  import styled24 from "styled-components";
3229
3252
  import { jsx as jsx28, jsxs as jsxs15 } from "react/jsx-runtime";
@@ -3367,7 +3390,7 @@ var Accordion = ({
3367
3390
  ] });
3368
3391
  };
3369
3392
 
3370
- // src/Components/ColorPicker/ColorPicker.tsx
3393
+ // src/ui-legacy/Components/ColorPicker/ColorPicker.tsx
3371
3394
  import { forwardRef as forwardRef4, useState as useState10, useRef as useRef7, useEffect as useEffect8 } from "react";
3372
3395
  import styled25 from "styled-components";
3373
3396
  import { jsx as jsx29, jsxs as jsxs16 } from "react/jsx-runtime";
@@ -3488,14 +3511,15 @@ var ColorPicker = forwardRef4(
3488
3511
  ) }) }),
3489
3512
  /* @__PURE__ */ jsx29(
3490
3513
  HexInput,
3491
- {
3514
+ __spreadProps(__spreadValues({
3492
3515
  type: "text",
3493
- value: currentColor,
3516
+ value: currentColor
3517
+ }, noAutofillProps), {
3494
3518
  onChange: handleChange,
3495
3519
  disabled,
3496
3520
  $fontSize: dims.fontSize,
3497
3521
  $padding: dims.inputPadding
3498
- }
3522
+ })
3499
3523
  )
3500
3524
  ] })
3501
3525
  ] });
@@ -3503,7 +3527,7 @@ var ColorPicker = forwardRef4(
3503
3527
  );
3504
3528
  ColorPicker.displayName = "ColorPicker";
3505
3529
 
3506
- // src/Components/SliderInput/SliderInput.tsx
3530
+ // src/ui-legacy/Components/SliderInput/SliderInput.tsx
3507
3531
  import { forwardRef as forwardRef5 } from "react";
3508
3532
  import styled26 from "styled-components";
3509
3533
  import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
@@ -3634,7 +3658,7 @@ var SliderInput = forwardRef5(
3634
3658
  );
3635
3659
  SliderInput.displayName = "SliderInput";
3636
3660
 
3637
- // src/Components/List/List.tsx
3661
+ // src/ui-legacy/Components/List/List.tsx
3638
3662
  import styled27 from "styled-components";
3639
3663
  import { jsx as jsx31 } from "react/jsx-runtime";
3640
3664
  var shouldForwardProp9 = (prop) => ![
@@ -3675,7 +3699,7 @@ var List = (props) => {
3675
3699
  );
3676
3700
  };
3677
3701
 
3678
- // src/Components/List/ListItem/ListItem.tsx
3702
+ // src/ui-legacy/Components/List/ListItem/ListItem.tsx
3679
3703
  import styled28 from "styled-components";
3680
3704
  import { jsx as jsx32 } from "react/jsx-runtime";
3681
3705
  var shouldForwardProp10 = (prop) => ![
@@ -3720,7 +3744,7 @@ var ListItem = (props) => {
3720
3744
  );
3721
3745
  };
3722
3746
 
3723
- // src/Components/Table/Table.tsx
3747
+ // src/ui-legacy/Components/Table/Table.tsx
3724
3748
  import { forwardRef as forwardRef6 } from "react";
3725
3749
  import styled29 from "styled-components";
3726
3750
  import { jsx as jsx33 } from "react/jsx-runtime";
@@ -3764,7 +3788,7 @@ var Table = forwardRef6((props, ref) => {
3764
3788
  });
3765
3789
  Table.displayName = "Table";
3766
3790
 
3767
- // src/Components/Table/TableHeader/TableHeader.tsx
3791
+ // src/ui-legacy/Components/Table/TableHeader/TableHeader.tsx
3768
3792
  import styled30 from "styled-components";
3769
3793
  import { jsx as jsx34 } from "react/jsx-runtime";
3770
3794
  var shouldForwardPropTableHeader = (prop) => !["backgroundColor"].includes(prop);
@@ -3786,7 +3810,7 @@ var TableHeader = (props) => {
3786
3810
  return /* @__PURE__ */ jsx34(StyledTableHeader, __spreadProps(__spreadValues({}, otherProps), { children }));
3787
3811
  };
3788
3812
 
3789
- // src/Components/Table/TableBody/TableBody.tsx
3813
+ // src/ui-legacy/Components/Table/TableBody/TableBody.tsx
3790
3814
  import { forwardRef as forwardRef7 } from "react";
3791
3815
  import styled31 from "styled-components";
3792
3816
  import { jsx as jsx35 } from "react/jsx-runtime";
@@ -3815,7 +3839,7 @@ var TableBody = forwardRef7(
3815
3839
  );
3816
3840
  TableBody.displayName = "TableBody";
3817
3841
 
3818
- // src/Components/Table/TableRow/TableRow.tsx
3842
+ // src/ui-legacy/Components/Table/TableRow/TableRow.tsx
3819
3843
  import styled32 from "styled-components";
3820
3844
  import { jsx as jsx36 } from "react/jsx-runtime";
3821
3845
  var shouldForwardPropTableRow = (prop) => ![
@@ -3846,7 +3870,7 @@ var TableRow = (props) => {
3846
3870
  return /* @__PURE__ */ jsx36(StyledTableRow, __spreadProps(__spreadValues({}, otherProps), { children }));
3847
3871
  };
3848
3872
 
3849
- // src/Components/Table/TableCell/TableCell.tsx
3873
+ // src/ui-legacy/Components/Table/TableCell/TableCell.tsx
3850
3874
  import styled33 from "styled-components";
3851
3875
  import { jsx as jsx37 } from "react/jsx-runtime";
3852
3876
  var shouldForwardPropTableCell = (prop) => ![
@@ -3880,7 +3904,7 @@ var TableCell = (props) => {
3880
3904
  return /* @__PURE__ */ jsx37(StyledTableCell, __spreadProps(__spreadValues({}, otherProps), { children: centerContent ? /* @__PURE__ */ jsx37("div", { style: { display: "flex", justifyContent: "center" }, children }) : children }));
3881
3905
  };
3882
3906
 
3883
- // src/Components/Table/TableHeaderCell/TableHeaderCell.tsx
3907
+ // src/ui-legacy/Components/Table/TableHeaderCell/TableHeaderCell.tsx
3884
3908
  import { useState as useState11 } from "react";
3885
3909
  import styled34 from "styled-components";
3886
3910
  import { jsx as jsx38, jsxs as jsxs18 } from "react/jsx-runtime";
@@ -3952,7 +3976,7 @@ var TableHeaderCell = (props) => {
3952
3976
  );
3953
3977
  };
3954
3978
 
3955
- // src/Components/Table/TableHeaderRow/TableHeaderRow.tsx
3979
+ // src/ui-legacy/Components/Table/TableHeaderRow/TableHeaderRow.tsx
3956
3980
  import styled35 from "styled-components";
3957
3981
  import { jsx as jsx39 } from "react/jsx-runtime";
3958
3982
  var shouldForwardPropTableHeaderRow = (prop) => !["backgroundColor"].includes(prop);
@@ -3969,7 +3993,7 @@ var TableHeaderRow = (props) => {
3969
3993
  return /* @__PURE__ */ jsx39(StyledTableHeaderRow, __spreadProps(__spreadValues({}, otherProps), { children }));
3970
3994
  };
3971
3995
 
3972
- // src/Components/Table/TableFooter/TableFooter.tsx
3996
+ // src/ui-legacy/Components/Table/TableFooter/TableFooter.tsx
3973
3997
  import styled36 from "styled-components";
3974
3998
  import { jsx as jsx40 } from "react/jsx-runtime";
3975
3999
  var shouldForwardPropTableFooter = (prop) => !["backgroundColor"].includes(prop);
@@ -3991,7 +4015,7 @@ var TableFooter = (props) => {
3991
4015
  return /* @__PURE__ */ jsx40(StyledTableFooter, __spreadProps(__spreadValues({}, otherProps), { children }));
3992
4016
  };
3993
4017
 
3994
- // src/Components/Table/TableFooterRow/TableFooterRow.tsx
4018
+ // src/ui-legacy/Components/Table/TableFooterRow/TableFooterRow.tsx
3995
4019
  import styled37 from "styled-components";
3996
4020
  import { jsx as jsx41 } from "react/jsx-runtime";
3997
4021
  var shouldForwardPropTableFooterRow = (prop) => !["backgroundColor"].includes(prop);
@@ -4008,7 +4032,7 @@ var TableFooterRow = (props) => {
4008
4032
  return /* @__PURE__ */ jsx41(StyledTableFooterRow, __spreadProps(__spreadValues({}, otherProps), { children }));
4009
4033
  };
4010
4034
 
4011
- // src/Components/Table/TableFooterCell/TableFooterCell.tsx
4035
+ // src/ui-legacy/Components/Table/TableFooterCell/TableFooterCell.tsx
4012
4036
  import styled38 from "styled-components";
4013
4037
  import { jsx as jsx42 } from "react/jsx-runtime";
4014
4038
  var shouldForwardPropTableFooterCell = (prop) => !["useSort", "flexGrow", "flexShrink", "width"].includes(prop);
@@ -4047,7 +4071,7 @@ var TableFooterCell = (props) => {
4047
4071
  );
4048
4072
  };
4049
4073
 
4050
- // src/Components/Table/SkeletonRow/SkeletonRow.tsx
4074
+ // src/ui-legacy/Components/Table/SkeletonRow/SkeletonRow.tsx
4051
4075
  import { Fragment as Fragment4, jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
4052
4076
  var style = `
4053
4077
  .skeleton-loader {
@@ -4072,7 +4096,7 @@ var SkeletonRow = ({ columns = 9 }) => /* @__PURE__ */ jsxs19(Fragment4, { child
4072
4096
  /* @__PURE__ */ jsx43(TableRow, { children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ jsx43(TableCell, { children: /* @__PURE__ */ jsx43("div", { className: "skeleton-loader" }) }, index)) })
4073
4097
  ] });
4074
4098
 
4075
- // src/Components/Switch/Switch.tsx
4099
+ // src/ui-legacy/Components/Switch/Switch.tsx
4076
4100
  import { forwardRef as forwardRef8 } from "react";
4077
4101
  import styled39, { css as css2 } from "styled-components";
4078
4102
  import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
@@ -4196,7 +4220,7 @@ var Switch = forwardRef8(
4196
4220
  );
4197
4221
  Switch.displayName = "Switch";
4198
4222
 
4199
- // src/Components/CardSkeleton/CardSkeleton.tsx
4223
+ // src/ui-legacy/Components/CardSkeleton/CardSkeleton.tsx
4200
4224
  import { jsx as jsx45 } from "react/jsx-runtime";
4201
4225
  var CardSkeleton = () => {
4202
4226
  return /* @__PURE__ */ jsx45(
@@ -4209,7 +4233,7 @@ var CardSkeleton = () => {
4209
4233
  );
4210
4234
  };
4211
4235
 
4212
- // src/Components/Options/Options.tsx
4236
+ // src/ui-legacy/Components/Options/Options.tsx
4213
4237
  import { useState as useState12, useEffect as useEffect9 } from "react";
4214
4238
  import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
4215
4239
  var Options = ({
@@ -4278,7 +4302,7 @@ var Options = ({
4278
4302
  );
4279
4303
  };
4280
4304
 
4281
- // src/Components/Stepper/Stepper.tsx
4305
+ // src/ui-legacy/Components/Stepper/Stepper.tsx
4282
4306
  import { Fragment as Fragment5 } from "react";
4283
4307
  import styled40 from "styled-components";
4284
4308
  import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
@@ -4334,7 +4358,7 @@ var Stepper = ({
4334
4358
  }) });
4335
4359
  };
4336
4360
 
4337
- // src/Components/Tabs/Tabs.tsx
4361
+ // src/ui-legacy/Components/Tabs/Tabs.tsx
4338
4362
  import {
4339
4363
  useCallback as useCallback4,
4340
4364
  useEffect as useEffect10,
@@ -4673,7 +4697,7 @@ var Tabs = (_a) => {
4673
4697
  );
4674
4698
  };
4675
4699
 
4676
- // src/Components/MultiSelect/MultiSelect.tsx
4700
+ // src/ui-legacy/Components/MultiSelect/MultiSelect.tsx
4677
4701
  import { useState as useState14, useRef as useRef9, useEffect as useEffect11 } from "react";
4678
4702
  import styled42 from "styled-components";
4679
4703
  import { jsx as jsx49, jsxs as jsxs24 } from "react/jsx-runtime";
@@ -4769,7 +4793,7 @@ var MultiSelect = ({
4769
4793
  ] });
4770
4794
  };
4771
4795
 
4772
- // src/Components/DatePicker/DatePicker.tsx
4796
+ // src/ui-legacy/Components/DatePicker/DatePicker.tsx
4773
4797
  import { useState as useState15, useRef as useRef10, useEffect as useEffect12 } from "react";
4774
4798
  import { Fragment as Fragment6, jsx as jsx50, jsxs as jsxs25 } from "react/jsx-runtime";
4775
4799
  var LOCALE_MAP = {
@@ -5153,7 +5177,7 @@ var DatePicker = (props) => {
5153
5177
  );
5154
5178
  };
5155
5179
 
5156
- // src/Components/IconTabs/IconTabs.tsx
5180
+ // src/ui-legacy/Components/IconTabs/IconTabs.tsx
5157
5181
  import { useState as useState16, useEffect as useEffect13, useRef as useRef11 } from "react";
5158
5182
  import styled43, { css as css3 } from "styled-components";
5159
5183
  import { jsx as jsx51, jsxs as jsxs26 } from "react/jsx-runtime";
@@ -5269,7 +5293,7 @@ var IconTabs = ({
5269
5293
  ] });
5270
5294
  };
5271
5295
 
5272
- // src/Components/Popover/Popover.tsx
5296
+ // src/ui-legacy/Components/Popover/Popover.tsx
5273
5297
  import {
5274
5298
  useState as useState17,
5275
5299
  useRef as useRef12,
@@ -5402,26 +5426,34 @@ var Popover = ({
5402
5426
  return /* @__PURE__ */ jsxs27(PopoverWrapper, { ref, $fullWidth: fullWidth, children: [
5403
5427
  /* @__PURE__ */ jsx52(PopoverTrigger, { $fullWidth: fullWidth, onClick: () => setOpen((o) => !o), children }),
5404
5428
  open && createPortal2(
5405
- /* @__PURE__ */ jsx52(PopoverMenu, { ref: menuRef, style: menuStyle, $horizontal: isHorizontal, children: items.map((item, idx) => /* @__PURE__ */ jsx52(
5406
- PopoverItem,
5429
+ /* @__PURE__ */ jsx52(
5430
+ PopoverMenu,
5407
5431
  {
5408
- isLast: idx === items.length - 1,
5432
+ ref: menuRef,
5433
+ style: menuStyle,
5409
5434
  $horizontal: isHorizontal,
5410
- onClick: () => {
5411
- setOpen(false);
5412
- item.action();
5413
- },
5414
- onMouseDown: (e) => e.preventDefault(),
5415
- children: item.label
5416
- },
5417
- typeof item.label === "string" ? item.label : idx
5418
- )) }),
5435
+ children: items.map((item, idx) => /* @__PURE__ */ jsx52(
5436
+ PopoverItem,
5437
+ {
5438
+ isLast: idx === items.length - 1,
5439
+ $horizontal: isHorizontal,
5440
+ onClick: () => {
5441
+ setOpen(false);
5442
+ item.action();
5443
+ },
5444
+ onMouseDown: (e) => e.preventDefault(),
5445
+ children: item.label
5446
+ },
5447
+ typeof item.label === "string" ? item.label : idx
5448
+ ))
5449
+ }
5450
+ ),
5419
5451
  document.body
5420
5452
  )
5421
5453
  ] });
5422
5454
  };
5423
5455
 
5424
- // src/Components/MetricCard/MetricCard.tsx
5456
+ // src/ui-legacy/Components/MetricCard/MetricCard.tsx
5425
5457
  import { jsx as jsx53, jsxs as jsxs28 } from "react/jsx-runtime";
5426
5458
  var MetricCard = ({
5427
5459
  icon,
@@ -5480,7 +5512,7 @@ var MetricCard = ({
5480
5512
  );
5481
5513
  };
5482
5514
 
5483
- // src/Components/Card/Card.tsx
5515
+ // src/ui-legacy/Components/Card/Card.tsx
5484
5516
  import styled45 from "styled-components";
5485
5517
  import { jsx as jsx54 } from "react/jsx-runtime";
5486
5518
  var StyledCard = styled45.div`
@@ -5518,7 +5550,7 @@ var Card2 = ({
5518
5550
  }
5519
5551
  );
5520
5552
 
5521
- // src/Components/Banner/Banner.tsx
5553
+ // src/ui-legacy/Components/Banner/Banner.tsx
5522
5554
  import styled46, { css as css4, keyframes as keyframes3 } from "styled-components";
5523
5555
  import { Fragment as Fragment7, jsx as jsx55, jsxs as jsxs29 } from "react/jsx-runtime";
5524
5556
  var PRESET_STYLES = {
@@ -5704,7 +5736,7 @@ var Banner = ({
5704
5736
  );
5705
5737
  };
5706
5738
 
5707
- // src/Components/Pagination/Pagination.tsx
5739
+ // src/ui-legacy/Components/Pagination/Pagination.tsx
5708
5740
  import { useMemo as useMemo2 } from "react";
5709
5741
  import { jsx as jsx56, jsxs as jsxs30 } from "react/jsx-runtime";
5710
5742
  var getPageNumbers = (current, total) => {
@@ -5782,7 +5814,7 @@ var Pagination = ({
5782
5814
  );
5783
5815
  };
5784
5816
 
5785
- // src/Components/FileUploadZone/FileUploadZone.tsx
5817
+ // src/ui-legacy/Components/FileUploadZone/FileUploadZone.tsx
5786
5818
  import { useState as useState18, useRef as useRef13, useCallback as useCallback6 } from "react";
5787
5819
  import styled47 from "styled-components";
5788
5820
  import { jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
@@ -6058,7 +6090,7 @@ var FileUploadZone = ({
6058
6090
  ] });
6059
6091
  };
6060
6092
 
6061
- // src/Components/Spinner/Spinner.tsx
6093
+ // src/ui-legacy/Components/Spinner/Spinner.tsx
6062
6094
  import styled48, { keyframes as keyframes4 } from "styled-components";
6063
6095
  import { jsx as jsx58 } from "react/jsx-runtime";
6064
6096
  var SIZES3 = {
@@ -6094,7 +6126,7 @@ var Spinner = ({ size = "m", color = "primary" }) => {
6094
6126
  );
6095
6127
  };
6096
6128
 
6097
- // src/Components/EmptyState/EmptyState.tsx
6129
+ // src/ui-legacy/Components/EmptyState/EmptyState.tsx
6098
6130
  import { jsx as jsx59, jsxs as jsxs32 } from "react/jsx-runtime";
6099
6131
  var EmptyState = ({
6100
6132
  icon = "inbox",
@@ -6123,7 +6155,7 @@ var EmptyState = ({
6123
6155
  );
6124
6156
  };
6125
6157
 
6126
- // src/Components/FloatingButton/FloatingButton.tsx
6158
+ // src/ui-legacy/Components/FloatingButton/FloatingButton.tsx
6127
6159
  import styled49 from "styled-components";
6128
6160
  import { jsx as jsx60, jsxs as jsxs33 } from "react/jsx-runtime";
6129
6161
  var FloatingButton = ({
@@ -6255,7 +6287,7 @@ var CountBadge = styled49.span`
6255
6287
  font-weight: 700;
6256
6288
  `;
6257
6289
 
6258
- // src/Components/ProgressBar/ProgressBar.tsx
6290
+ // src/ui-legacy/Components/ProgressBar/ProgressBar.tsx
6259
6291
  import styled50 from "styled-components";
6260
6292
  import { jsx as jsx61, jsxs as jsxs34 } from "react/jsx-runtime";
6261
6293
  var clampPercent = (value) => Math.max(0, Math.min(100, value));
@@ -6322,7 +6354,7 @@ var ProgressBar2 = ({
6322
6354
  ] });
6323
6355
  };
6324
6356
 
6325
- // src/Components/Timeline/Timeline.tsx
6357
+ // src/ui-legacy/Components/Timeline/Timeline.tsx
6326
6358
  import styled51 from "styled-components";
6327
6359
  import { jsx as jsx62, jsxs as jsxs35 } from "react/jsx-runtime";
6328
6360
  var List2 = styled51.div`
@@ -6386,7 +6418,7 @@ var Timeline = ({
6386
6418
  }) });
6387
6419
  };
6388
6420
 
6389
- // src/Components/Gantt/Gantt.tsx
6421
+ // src/ui-legacy/Components/Gantt/Gantt.tsx
6390
6422
  import styled52 from "styled-components";
6391
6423
  import { jsx as jsx63, jsxs as jsxs36 } from "react/jsx-runtime";
6392
6424
  var Root = styled52.div`
@@ -6641,7 +6673,7 @@ var GanttSwatch = ({
6641
6673
  filled = true
6642
6674
  }) => /* @__PURE__ */ jsx63(Swatch2, { $color: color, $filled: filled });
6643
6675
 
6644
- // src/data/globalMethods.ts
6676
+ // src/ui-legacy/data/globalMethods.ts
6645
6677
  var formatDate = (dateString, type = "date", language = "en") => {
6646
6678
  if (!dateString) return "";
6647
6679
  const date = new Date(dateString);
@@ -6783,7 +6815,7 @@ var formatName = (person, fallback = "") => {
6783
6815
  return person ? `${(_a = person.firstname) != null ? _a : ""} ${(_b = person.lastname) != null ? _b : ""}`.trim() || fallback : fallback;
6784
6816
  };
6785
6817
 
6786
- // src/services/optimizeImage/optimizeImage.ts
6818
+ // src/ui-legacy/services/optimizeImage/optimizeImage.ts
6787
6819
  var hasDocument = () => typeof document !== "undefined";
6788
6820
  var hasObjectURL = () => typeof URL !== "undefined" && typeof URL.createObjectURL === "function" && typeof URL.revokeObjectURL === "function";
6789
6821
  var readArrayBuffer = (file) => {
@@ -7413,6 +7445,7 @@ export {
7413
7445
  Toaster,
7414
7446
  Tooltip,
7415
7447
  addBusinessDays,
7448
+ allowAutofill,
7416
7449
  appendCacheBuster,
7417
7450
  appendQueryParam,
7418
7451
  capitalizeFirstLetter,
@@ -7451,6 +7484,7 @@ export {
7451
7484
  isHoliday,
7452
7485
  isSameDay,
7453
7486
  isolateCity,
7487
+ noAutofillProps,
7454
7488
  optimizeImage_default as optimizeImage,
7455
7489
  parseAmount,
7456
7490
  parseIsoDate,