@citruslime/ui 3.0.0-beta.17 → 3.0.0-beta.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import type { DateFormat, NumberFormat } from '../../utils';
1
+ import type { DateFormat, ExtendedNumberFormat, NumberFormat } from '../../utils';
2
2
  import type { QuickDateName } from '../calendar';
3
3
  import type { ComboBoxItem } from '../combo-box';
4
4
  import type { InputValueType } from '../input';
@@ -22,7 +22,7 @@ export interface GridColumn<T = Record<string, unknown>> {
22
22
  slotType?: Exclude<GridColumnType, 'slot'>;
23
23
  listType?: Exclude<GridColumnType, 'list' | 'slot' | 'date' | 'datetime' | 'dateRange' | 'boolean'>;
24
24
  listEntries?: GridColumnListEntry[];
25
- format?: StringFormat | DateFormat | NumberFormat;
25
+ format?: StringFormat | DateFormat | NumberFormat | ExtendedNumberFormat;
26
26
  quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[];
27
27
  maxLength?: number;
28
28
  visible?: boolean;
@@ -17,3 +17,4 @@ export * from './tab';
17
17
  export * from './calendar/quick-dates';
18
18
  export * from './file-uploader';
19
19
  export * from './input-v2';
20
+ export * from './toggle';
@@ -46,3 +46,12 @@ export declare function unformatNumber(value: string, format: ExtendedNumberForm
46
46
  * @returns An appropriate `NumberOptions` object.
47
47
  */
48
48
  export declare function getMergedFormatOptions(format: ExtendedNumberFormat, options?: NumberFormattingOptions): NumberOptions;
49
+ /**
50
+ * Scrubs group separators from the formatted value.
51
+ *
52
+ * @param value - The formatted value.
53
+ * @param options - The number formatting options.
54
+ *
55
+ * @returns - The formatted value with group separators removed.
56
+ */
57
+ export declare function scrubGroupSeparatorsFromFormattedValue(value: string, options?: NumberFormattingOptions): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@citruslime/ui",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.17",
4
+ "version": "3.0.0-beta.19",
5
5
  "author": {
6
6
  "name": "Citrus-Lime Ltd",
7
7
  "url": "https://citruslime.com"