@vuu-ui/vuu-table-types 3.4.1 → 3.5.0-beta.2

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 (2) hide show
  1. package/index.d.ts +20 -0
  2. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -188,12 +188,32 @@ export type RoundingRule = "truncate" | "round";
188
188
  export declare type ColumnTypeFormatting = {
189
189
  alignOnDecimals?: boolean;
190
190
  decimals?: number;
191
+ /**
192
+ * Temporal values only. Number of sub-second digits to display when the
193
+ * pattern includes a time component. Defaults to 0 for millisecond
194
+ * timestamps (3 if the legacy 'hh:mm:ss.ms' pattern is used) and to 9
195
+ * for nanosecond timestamps.
196
+ */
197
+ fractionalSecondDigits?: FractionalSecondDigits;
198
+ /**
199
+ * Temporal values only. Overrides the locale implied by the date pattern.
200
+ * The pattern then determines the style of each field (numeric, short or
201
+ * long month name), the locale determines field order and language.
202
+ */
203
+ locale?: string;
191
204
  roundingRule?: RoundingRule;
192
205
  pattern?: DateTimePattern;
206
+ /**
207
+ * Temporal values only. Time zone used to display (and edit/filter) the
208
+ * value. 'local' (the default) or 'UTC' or any IANA time zone id.
209
+ */
210
+ timeZone?: string;
193
211
  useLocaleString?: boolean;
194
212
  zeroPad?: boolean;
195
213
  };
196
214
 
215
+ export declare type FractionalSecondDigits = 0 | 3 | 6 | 9;
216
+
197
217
  export declare type ColumnTypeValueMap = { [key: string]: string };
198
218
 
199
219
  export declare type ListOption = {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-table-types",
3
- "version": "3.4.1",
3
+ "version": "3.5.0-beta.2",
4
4
  "devDependencies": {
5
- "@vuu-ui/vuu-data-types": "3.4.1",
6
- "@vuu-ui/vuu-filter-types": "3.4.1",
7
- "@vuu-ui/vuu-protocol-types": "3.4.1"
5
+ "@vuu-ui/vuu-data-types": "3.5.0-beta.2",
6
+ "@vuu-ui/vuu-filter-types": "3.5.0-beta.2",
7
+ "@vuu-ui/vuu-protocol-types": "3.5.0-beta.2"
8
8
  },
9
9
  "author": "heswell",
10
10
  "license": "Apache-2.0",