@codezee/sixtify-brahma 0.2.299 → 0.2.300

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.
Files changed (38) hide show
  1. package/package.json +2 -1
  2. package/packages/shared-components/dist/FormFields/DecimalTextField/DecimalTextField.d.ts.map +1 -1
  3. package/packages/shared-components/dist/FormFields/Rating/Rating.d.ts.map +1 -1
  4. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/SmartAutoCompleteField.d.ts +17 -0
  5. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/SmartAutoCompleteField.d.ts.map +1 -0
  6. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionCheckbox.d.ts +10 -0
  7. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionCheckbox.d.ts.map +1 -0
  8. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionItem.d.ts +19 -0
  9. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionItem.d.ts.map +1 -0
  10. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionListBody.d.ts +3 -0
  11. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionListBody.d.ts.map +1 -0
  12. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/SelectedChip.d.ts +12 -0
  13. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/SelectedChip.d.ts.map +1 -0
  14. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/VirtualizedOptionList.d.ts +3 -0
  15. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/VirtualizedOptionList.d.ts.map +1 -0
  16. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/renderOptionItem.d.ts +5 -0
  17. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/renderOptionItem.d.ts.map +1 -0
  18. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/index.d.ts +5 -0
  19. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/index.d.ts.map +1 -0
  20. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/constant.d.ts +5 -0
  21. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/constant.d.ts.map +1 -0
  22. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/helper.d.ts +8 -0
  23. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/helper.d.ts.map +1 -0
  24. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/types.d.ts +16 -0
  25. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/types.d.ts.map +1 -0
  26. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTextFieldV2.d.ts +7 -0
  27. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTextFieldV2.d.ts.map +1 -0
  28. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/index.d.ts +3 -1
  29. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/index.d.ts.map +1 -1
  30. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/smartFieldInputStyles.d.ts +27 -0
  31. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/smartFieldInputStyles.d.ts.map +1 -0
  32. package/packages/shared-components/dist/index.cjs.js +1 -1
  33. package/packages/shared-components/dist/index.cjs.js.map +1 -1
  34. package/packages/shared-components/dist/index.esm.js +1 -1
  35. package/packages/shared-components/dist/index.esm.js.map +1 -1
  36. package/packages/shared-components/dist/utils/hooks/useFormFieldFocus.d.ts.map +1 -1
  37. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutoCompleteField.d.ts +0 -9
  38. package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartAutoCompleteField.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codezee/sixtify-brahma",
3
- "version": "0.2.299",
3
+ "version": "0.2.300",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/hardikranpariya/sixtify-brahma.git"
@@ -68,6 +68,7 @@
68
68
  "react-hook-form": "^7.51.5"
69
69
  },
70
70
  "dependencies": {
71
+ "@base-ui/react": "^1.4.1",
71
72
  "@codezee-org/sixtify-smartgrid": "^0.1.1",
72
73
  "@emotion/react": "^11.11.4",
73
74
  "@emotion/styled": "^11.11.5",
@@ -1 +1 @@
1
- {"version":3,"file":"DecimalTextField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DecimalTextField/DecimalTextField.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAkB,EAChB,KAAK,cAAc,IAAI,iBAAiB,EACzC,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAEL,KAAK,WAAW,EAGhB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAQ7C,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAIV,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,WAAW,IACrD,kBAAkB,CAAC,CAAC,CAAC,GACnB,IAAI,CACF,iBAAiB,EACjB,MAAM,kBAAkB,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CACrE,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAIN,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,WAAW,EAAE,EACtD,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,GAAG,EACH,GAAG,EACH,KAAK,EAAE,SAAS,EAChB,UAAU,EAAE,cAAc,EAC1B,YAAY,EACZ,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAe,EACf,aAAqB,EACrB,WAAgB,EAChB,cAAc,EACd,OAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAa,EACb,KAAK,EACL,IAAI,EACJ,GAAG,SAAS,EACb,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAqe1B"}
1
+ {"version":3,"file":"DecimalTextField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DecimalTextField/DecimalTextField.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAkB,EAChB,KAAK,cAAc,IAAI,iBAAiB,EACzC,MA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AAG,EACH,GAAG,EACH,KAAK,EAAE,SAAS,EAChB,UAAU,EAAE,cAAc,EAC1B,YAAY,EACZ,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAe,EACf,aAAqB,EACrB,WAAgB,EAChB,cAAc,EACd,OAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAa,EACb,KAAK,EACL,IAAI,EACJ,GAAG,SAAS,EACb,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CA8e1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Rating/Rating.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAMlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,wBAAgB,MAAM,CAAC,CAAC,SAAS,WAAW,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAAE,EACrE,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,KAAU,EACV,KAAK,EACL,QAAQ,EACR,OAAe,EACf,SAAoB,EACpB,QAAgB,EAChB,aAAa,EACb,IAAI,EACJ,GAAG,EACH,WAAW,EACX,GAAG,WAAW,EACf,EAAE,WAAW,CAAC,CAAC,CAAC,2CAyDhB"}
1
+ {"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Rating/Rating.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAMlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,wBAAgB,MAAM,CAAC,CAAC,SAAS,WAAW,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,EAAE,EACrE,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,KAAU,EACV,KAAK,EACL,QAAQ,EACR,OAAe,EACf,SAAoB,EACpB,QAAgB,EAChB,aAAa,EACb,IAAI,EACJ,GAAG,EACH,WAAW,EACX,GAAG,WAAW,EACf,EAAE,WAAW,CAAC,CAAC,CAAC,2CA6DhB"}
@@ -0,0 +1,17 @@
1
+ import { type CSSProperties, type SelectHTMLAttributes } from "react";
2
+ import { type SmartFieldSize } from "../smartFieldInputStyles";
3
+ import type { Option } from "../../../../FormFields";
4
+ export declare const SmartAutoCompleteField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
5
+ containerStyle?: CSSProperties;
6
+ errorMessage?: string;
7
+ freeSolo?: boolean;
8
+ isShowCheckbox?: boolean;
9
+ isShowSelectAll?: boolean;
10
+ multiple?: boolean;
11
+ onDropdownOptionSelect: (value: string) => void;
12
+ options: Option[];
13
+ size?: SmartFieldSize;
14
+ } & Omit<SelectHTMLAttributes<HTMLSelectElement>, "value" | "size"> & {
15
+ value?: string | number | readonly string[];
16
+ } & import("react").RefAttributes<HTMLSelectElement>>>;
17
+ //# sourceMappingURL=SmartAutoCompleteField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmartAutoCompleteField.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/SmartAutoCompleteField.tsx"],"names":[],"mappings":"AAGA,OAAO,EASL,KAAK,aAAa,EAIlB,KAAK,oBAAoB,EAC1B,MAAM,OAAO,CAAC;AASf,OAAO,EAQL,KAAK,cAAc,EACpB,MAAM,0BAA0B,CAAC;AAgBlC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAy8BrD,eAAO,MAAM,sBAAsB;qBAr8BhB,aAAa;mBACf,MAAM;eACV,OAAO;qBACD,OAAO;sBACN,OAAO;eACd,OAAO;4BACM,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;aACtC,MAAM,EAAE;WACV,cAAc;;YAEX,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE;sDAo+B9C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { PaletteColorMap } from "../utils/types";
2
+ type OptionCheckboxProps = {
3
+ butterflyBlue: PaletteColorMap;
4
+ checked: boolean;
5
+ indeterminate?: boolean;
6
+ iron: PaletteColorMap;
7
+ };
8
+ export declare const OptionCheckbox: import("react").NamedExoticComponent<OptionCheckboxProps>;
9
+ export {};
10
+ //# sourceMappingURL=OptionCheckbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionCheckbox.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionCheckbox.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,KAAK,mBAAmB,GAAG;IACzB,aAAa,EAAE,eAAe,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,cAAc,2DA4CzB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { Option } from "../../../../../FormFields";
2
+ import type { PaletteColorMap } from "../utils/types";
3
+ import type { CSSProperties } from "react";
4
+ type OptionItemProps = {
5
+ butterflyBlue: PaletteColorMap;
6
+ highlightedIndex: number | null;
7
+ indeterminate: boolean;
8
+ isSelected: boolean;
9
+ iron: PaletteColorMap;
10
+ itemIndex: number;
11
+ onHighlightIndex: (index: number) => void;
12
+ onSelectOption: (option: Option) => void;
13
+ option: Option;
14
+ showCheckbox: boolean;
15
+ style?: CSSProperties;
16
+ };
17
+ export declare const OptionItem: import("react").NamedExoticComponent<OptionItemProps>;
18
+ export {};
19
+ //# sourceMappingURL=OptionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionItem.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,UAAU,uDA0ErB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { OptionListBodyProps } from "../utils/types";
2
+ export declare const OptionListBody: import("react").NamedExoticComponent<OptionListBodyProps>;
3
+ //# sourceMappingURL=OptionListBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionListBody.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/OptionListBody.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,eAAO,MAAM,cAAc,2DAwDzB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type SmartFieldSize } from "../../smartFieldInputStyles";
2
+ import type { OnAction } from "../../../../../utils";
3
+ import type { PaletteColorMap } from "../utils/types";
4
+ type SelectedChipProps = {
5
+ iron: PaletteColorMap;
6
+ label: string;
7
+ onRemove: OnAction;
8
+ size?: SmartFieldSize;
9
+ };
10
+ export declare const SelectedChip: import("react").NamedExoticComponent<SelectedChipProps>;
11
+ export {};
12
+ //# sourceMappingURL=SelectedChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectedChip.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/SelectedChip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,YAAY,yDAqDvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { OptionListBodyProps } from "../utils/types";
2
+ export declare const VirtualizedOptionList: import("react").NamedExoticComponent<Omit<OptionListBodyProps, "virtualized" | "listItems">>;
3
+ //# sourceMappingURL=VirtualizedOptionList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VirtualizedOptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/VirtualizedOptionList.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,eAAO,MAAM,qBAAqB,8FAoFhC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Option } from "../../../../../FormFields";
2
+ import type { OptionListBodyProps } from "../utils/types";
3
+ import type { CSSProperties } from "react";
4
+ export declare const renderOptionItem: (option: Option, index: number, props: Omit<OptionListBodyProps, "virtualized">, style?: CSSProperties) => import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=renderOptionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderOptionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/components/renderOptionItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,OAAO,MAAM,EACb,OAAO,IAAI,CAAC,mBAAmB,EAAE,aAAa,CAAC,EAC/C,QAAQ,aAAa,4CAyCtB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./SmartAutoCompleteField";
2
+ export * from "./utils/constant";
3
+ export * from "./utils/helper";
4
+ export * from "./utils/types";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const OPTION_ROW_HEIGHT = 28;
2
+ export declare const VIRTUALIZE_THRESHOLD = 100;
3
+ export declare const MAX_LIST_HEIGHT = 200;
4
+ export declare const SELECT_ALL_VALUE = "select-all";
5
+ //# sourceMappingURL=constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC,eAAO,MAAM,eAAe,MAAM,CAAC;AAEnC,eAAO,MAAM,gBAAgB,eAAe,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Option } from "../../../../../FormFields";
2
+ export declare const getOptionLabelText: ({ label }: Option) => string;
3
+ export declare const getOptionValueText: ({ value }: Option) => string;
4
+ export declare const isSelectAllOption: (option: Option) => boolean;
5
+ export declare const normalizeToStringArray: (rawValue?: string | number | readonly string[]) => string[];
6
+ export declare const filterOptionsByQuery: (items: Option[], query: string) => Option[];
7
+ export declare const getInitialHighlightIndex: (items: Option[], selectedValues: string[], multiple: boolean) => number | null;
8
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/helper.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAExD,eAAO,MAAM,kBAAkB,GAAI,WAAW,MAAM,KAAG,MAAe,CAAC;AAEvE,eAAO,MAAM,kBAAkB,GAAI,WAAW,MAAM,KAAG,MAAuB,CAAC;AAE/E,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,KAAG,OACF,CAAC;AAElD,eAAO,MAAM,sBAAsB,GACjC,WAAW,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,KAC7C,MAAM,EAUR,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,EAAE,EACf,OAAO,MAAM,KACZ,MAAM,EAUR,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,OAAO,MAAM,EAAE,EACf,gBAAgB,MAAM,EAAE,EACxB,UAAU,OAAO,KAChB,MAAM,GAAG,IA4BX,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { Option } from "../../../../../FormFields";
2
+ export type PaletteColorMap = Record<number, string>;
3
+ export type OptionListBodyProps = {
4
+ butterflyBlue: PaletteColorMap;
5
+ highlightedIndex: number | null;
6
+ iron: PaletteColorMap;
7
+ isAllSelected: boolean;
8
+ isShowSelectAll: boolean;
9
+ isSomeSelected: boolean;
10
+ onHighlightIndex: (index: number) => void;
11
+ onSelectOption: (option: Option) => void;
12
+ selectedValues: string[];
13
+ showCheckbox: boolean;
14
+ virtualized: boolean;
15
+ };
16
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/SmartGrid/Components/EditableFields/SmartAutocompleteField/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type InputHTMLAttributes } from "react";
2
+ import { type SmartFieldSize } from "./smartFieldInputStyles";
3
+ export declare const SmartTextFieldV2: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
4
+ errorMessage?: string;
5
+ size?: SmartFieldSize;
6
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>>>;
7
+ //# sourceMappingURL=SmartTextFieldV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmartTextFieldV2.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/SmartTextFieldV2.tsx"],"names":[],"mappings":"AAGA,OAAO,EAOL,KAAK,mBAAmB,EAEzB,MAAM,OAAO,CAAC;AAIf,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAyLjC,eAAO,MAAM,gBAAgB;mBArLZ,MAAM;WACd,cAAc;2GAuNtB,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export * from "./SmartSelectField";
2
- export * from "./SmartAutoCompleteField";
2
+ export * from "./SmartAutocompleteField";
3
3
  export * from "./SmartTooltip";
4
4
  export * from "./SmartTextField";
5
+ export * from "./SmartTextFieldV2";
6
+ export * from "./smartFieldInputStyles";
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { CSSProperties } from "react";
2
+ export declare const SMART_FIELD_INPUT_CLASS = "smart-grid-field-input";
3
+ export type SmartFieldSize = "sm" | "md" | "lg";
4
+ type IronTextPalette = Record<400 | 800, string>;
5
+ export type SmartFieldSizeConfig = {
6
+ autocompletePadding: string;
7
+ borderRadius: string;
8
+ chipFontSize: string;
9
+ chipPadding: string;
10
+ controlMinHeight: number;
11
+ expandIconSize: number;
12
+ expandMarginLeft: string;
13
+ fontSize: string;
14
+ multipleGap: string;
15
+ padding: string;
16
+ paddingY: number;
17
+ wrapperMinHeight: number;
18
+ };
19
+ export declare const getSmartFieldSizeConfig: (size?: SmartFieldSize) => SmartFieldSizeConfig;
20
+ export declare const getSmartFieldPlaceholderColor: (iron: IronTextPalette) => string;
21
+ export declare const getSmartFieldTextColor: (iron: IronTextPalette, disabled?: boolean) => string;
22
+ export declare const getSmartFieldPlaceholderCss: (placeholderColor: string) => string;
23
+ export declare const getSmartFieldInputStyles: (textColor: string, size?: SmartFieldSize) => CSSProperties;
24
+ type WrapperVariant = "text" | "autocomplete";
25
+ export declare const getSmartFieldWrapperStyles: (size?: SmartFieldSize, variant?: WrapperVariant) => Pick<CSSProperties, "alignItems" | "borderRadius" | "boxSizing" | "minHeight" | "padding">;
26
+ export {};
27
+ //# sourceMappingURL=smartFieldInputStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smartFieldInputStyles.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/EditableFields/smartFieldInputStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAEhE,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,KAAK,eAAe,GAAG,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE,MAAM,CAAC,CAAC;AAEjD,MAAM,MAAM,oBAAoB,GAAG;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAA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